Attilas
Anime-paradise.info Owner.
- 19
- Posts
- 16
- Years
- Seen Jun 1, 2011
First of all i would like to say hi.This is my debut to rom hacking :) i've been watching tutorials today about scripting and i know this is kinda advanced for me >< oh well i tried to figure out some things and ended up here. any help would be accepted and appreciated.
well that's the code and i am trying to put a text on #org 0x800432
i type it compile but when i finish compiling and close the editor and save the rom and reopen the editor and the script there is no text there. :/
P.S. maybe the script is wrong somewhere.
Code:
'-----------------------
#org 0x800315
lock
faceplayer
checkflag 0x258
if 0x1 goto 0x880032A
msgbox 0x880038E '"[player], Oak is looking for you."
callstd 0x6
release
end
'-----------------------
#org 0x80032A
checkflag 0x3200
if 0x1 goto 0x8800384
msgbox 0x88003AB '"I see you got your first pokemon.\n..."
callstd 0x5
compare LASTRESULT 0x1
if 0x1 goto 0x8800350
msgbox 0x88003E9 '"Alright then, see ya later!"
callstd 0x6
release
end
'-----------------------
#org 0x800384
msgbox 0x8800432 '""
callstd 0x6
release
end
'-----------------------
#org 0x800350
msgbox 0x8800405 '"Alright here you go!"
callstd 0x6
copyvar 0x8004 LASTRESULT
givepokemon 0x9B 0x5 0x8B 0x0 0x0 0x7D
msgbox 0x880041A '"[player] received a Cyndaquil!"
callstd 0x6
setflag 0x3200
release
end
'---------
' Strings
'---------
#org 0x80038E
= [player], Oak is looking for you.
#org 0x8003AB
= I see you got your first pokemon.\nWould you like another one?
#org 0x8003E9
= Alright then, see ya later!
#org 0x800432
=
#org 0x800405
= Alright here you go!
#org 0x80041A
= [player] received a Cyndaquil!
i type it compile but when i finish compiling and close the editor and save the rom and reopen the editor and the script there is no text there. :/
P.S. maybe the script is wrong somewhere.