So I wrote a script to give the player a pokemon, then some pokeballs, and finally a battle. When I plug it into the game, the script just fadescreens and gets stuck there. Help? (Sorry for the consistent help threads) XDD
Spoiler:
'---------------
#org 0x80024C
lock
checkflag 0x90C
if 0x1 goto 0x880004C
msgbox 0x8800064 MSG_KEEPOPEN '"Hey, [player]! Wait up!"
applymovement MOVE_PLAYER 0x880022E
sound 0x15
waitmovement 0x0
showsprite 0x3
applymovement 0x3 0x8800232
waitmovement 0x0
msgbox 0x8800078 MSG_NORMAL '"[buffer1]: Oh, I'm so glad I caugh..."
giveitem 0x4 0x5 MSG_OBTAIN
givepokemon 0x7 0x5 0xD 0x0 0x2AE000F 0x80
release
end
'---------------
#org 0x80004C
release
end
'---------
' Strings
'---------
#org 0x800064
= Hey, [player]! Wait up!
#org 0x800078
= [buffer1]: Oh, I'm so glad I caught\nup! The reason I was behind was\lbecause I wanted to tell Mom I was\lleaving...something YOU should\lhave done. Oh, and here, the\lProfessor wanted me to give you\lthis.
'-----------
' Movements
'-----------
#org 0x80022E
#raw 0x4 'Face Down (Faster)
#raw 0x65 'Double Exclamation Mark (!!)
#raw 0xFE 'End of Movements
#org 0x800232
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x53 'Jump in Place (Facing Up)
#raw 0x53 'Jump in Place (Facing Up)
#raw 0x53 'Jump in Place (Facing Up)
#raw 0x53 'Jump in Place (Facing Up)
#raw 0xFE 'End of Movements
#org 0x80024C
lock
checkflag 0x90C
if 0x1 goto 0x880004C
msgbox 0x8800064 MSG_KEEPOPEN '"Hey, [player]! Wait up!"
applymovement MOVE_PLAYER 0x880022E
sound 0x15
waitmovement 0x0
showsprite 0x3
applymovement 0x3 0x8800232
waitmovement 0x0
msgbox 0x8800078 MSG_NORMAL '"[buffer1]: Oh, I'm so glad I caugh..."
giveitem 0x4 0x5 MSG_OBTAIN
givepokemon 0x7 0x5 0xD 0x0 0x2AE000F 0x80
release
end
'---------------
#org 0x80004C
release
end
'---------
' Strings
'---------
#org 0x800064
= Hey, [player]! Wait up!
#org 0x800078
= [buffer1]: Oh, I'm so glad I caught\nup! The reason I was behind was\lbecause I wanted to tell Mom I was\lleaving...something YOU should\lhave done. Oh, and here, the\lProfessor wanted me to give you\lthis.
'-----------
' Movements
'-----------
#org 0x80022E
#raw 0x4 'Face Down (Faster)
#raw 0x65 'Double Exclamation Mark (!!)
#raw 0xFE 'End of Movements
#org 0x800232
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x53 'Jump in Place (Facing Up)
#raw 0x53 'Jump in Place (Facing Up)
#raw 0x53 'Jump in Place (Facing Up)
#raw 0x53 'Jump in Place (Facing Up)
#raw 0xFE 'End of Movements