itman
Back to ROM hacking. :D
- 98
- Posts
- 17
- Years
- Seen Feb 5, 2014
#dynamic 0x800000
#org @start
applymovement 0x04 @move
waitmovement 0x0
checkflag 0x828
if 0x1 goto @done
msgbox @1 0x5
compare LASTRESULT 0x1
if 0x1 goto @take
msgbox @2 0x6
checkflag 0x828
if 0x1 goto @start
release
end
#org @take
givepokemon 0x84 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @3 0x4
waitfanfare
closeonkeypress
setflag 0x828
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @5 0x6
setflag 0x829
msgbox @6 0x6
msgbox @7 0x6
fadescreen 0x1
hidesprite 0x800F
fadescreen 0x0
setflag 0x8A0
release
end
#org @name
call 0x1A74EB
return
#org @done
release
end
#org @move
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0xFE
#org @1
= Hello.\nI am Proffessor Riley.\nyour pokemon was transfere from\nKanto..\pSo I am here to give it to you\nWill you take it?
#org @2
= You don't want you pokemon?
#org @3
= [black_fr]You received a DITTO!
#org @4
= [black_fr]Would you like to give a\nnickname to DITTO?
#org @5
= I also have a pokedex for you.
#org @6
= [black_fr]You received the Pokedex.
#org @7
= Your brother had sent a\npackage for you, although\lit appears to have ended up in\nResno town.\pYou may want to go fetch it.
I compile it and insert it, as i walk on the script nothing happens. did i miss something?
In A-map, click the script tile itself. Try changing the properties to this:
Unknown: 0003
Var number: 4052