• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Hack Tutorials: Scripting

Status
Not open for further replies.
Ok, I've tried to put the givepokemon script to ROM. I used the example:

#org $Startscript
lock
faceplayer
checkflag 0x200
if 1 goto $GotIt
message $AskMe
$AskMe 1 = Would you like a free pokemon?
boxset 5
compare LASTRESULT 1
if 1 goto $Giveit
message $Forget
$Forget 1 = Oh.. Ok, forget it!
boxset 6
release
end

#org $Gotit
message $Howis
$Howis 1 = So, How's the pokemon?
boxset 6
release
end

#org $Giveit
message $Whatisit
$Whatisit 1= You Recieved a BulbaSaur!
boxset 6
givepokemon 0x1 5 0
release
setflag 0x200
end


So it must be good.
I encoded it with pokescript, then it opened in bufrite. And I did it:
[PokeCommunity.com] Hack Tutorials: Scripting

And then:
[PokeCommunity.com] Hack Tutorials: Scripting

And when i talk to this man, game freezes - what's wrong?

I see you have put the script on the advance map, but have you included to put the flag "200" in the people I.D in advance map..?

I have a problem like this once, and when I reviewed everything, I forgot to include the flag in the script I made.

Hope I helped.
 
Last edited:
wats

can u tell me wats wrong with this script because wen the professor's aid is going to give me the premierballs the whole screen turns red and it freezes up
p.s. im using a firered rom

Spoiler:
 
can u tell me wats wrong with this script because wen the professor's aid is going to give me the premierballs the whole screen turns red and it freezes up
p.s. im using a firered rom

Spoiler:

Spoiler:
 
Spoiler:

wat do i do with that?
sorry im new at this
 
Spoiler:

I found another little mistake.
 
I dont really know why must insert the var value?
 
Thanks, Although this has to be a joke, Why would nintendo program this into a kids game

#define ITEM_SHOALSALT 0x2E
#define ITEM_SHOALSHELL 0x2F
#define ITEM_REDSHARD 0x30
#define ITEM_BLUESHARD 0x31
#define ITEM_YELLOWSHARD 0x32
#define ITEM_GREENSHARD 0x33
#define ITEM_HENTAIMAG 0x34
#define ITEM_NAMETAG 0x35
#define ITEM_HPUP 0x3F
 
Um, the script in the first post just made the aid at the begining not talk to me. When I load the script to compress it it says "File not found or user cancel"
 
i hate the long list to find 1 word :(
 
How do you put your script into your ROM hack anyways?

And again, Someone please tell me that this is a joke
ITEM_HENTAIMAG 0x34
Or is that just something like this
[PokeCommunity.com] Hack Tutorials: Scripting

That can't be used (And if it is Nintendo should have givin it another name)
 
How do you put your script into your ROM hack anyways?

And again, Someone please tell me that this is a joke

Or is that just something like this
[PokeCommunity.com] Hack Tutorials: Scripting

That can't be used (And if it is Nintendo should have givin it another name)

Okay on how to look at insert a script look at Irish Witch's tutorial. It's in Part 1. About the Hentaimag, I'm sick of seeing this question. It isn't in the game. To set things straight here is a full item list(No Hentaimag)
Spoiler:
 
My script doesn't work. The character walks straight past it. It may be because it's ontop of a warp though...

#org $PokeCheck
checkflag 0x001
if 0x0 goto $NoPoke
end

#org $NoPoke
message $WhatNoPoke
$WhatNoPoke 1 = NURSE: You can't go out without\pa POKEMON. Wild ones will attack\pyou!
boxset 6
applymovement 0xff $GetHere
$GetHere 1 ; #Binary 0x62 0x01 0x09 0xfe
pausemove 0
end

I don't see anything wrong with it, do you? It just doesn't exaccute when I walk on it.
 
My script doesn't work. The character walks straight past it. It may be because it's ontop of a warp though...



I don't see anything wrong with it, do you? It just doesn't exaccute when I walk on it.

Try using a different flag. Try starting at around the 0x200 point. 0x001 could have been set at the start of the game.
 
Status
Not open for further replies.
Back
Top