- 25
- Posts
- 20
- Years
- Seen Nov 8, 2015
Basically that, yeah. A givepokemon script that at the end SHOULD have the giver walk away nort offscreen. The give goes off without a hitch. The rest...doesn't. :P
Note: I realize I forgot lock and faceplayer. I herped when I should have derped. But that didn't stop the script from running, soooooo yeah.
'---------------
#org 0x800000
checkflag 0x828
if 0x1 goto 0x880012A
msgbox 0x8800064 MSG_KEEPOPEN '"Hey-hey, are you travelling alone?..."
goto 0x8800019
'---------------
#org 0x80012A
checkobedience 0xD9DC
'---------------
#org 0x800019
givepokemon 0xEC 0x3 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox 0x88000D9 MSG_KEEPOPEN '"[black_fr]You've been given a Tyro..."
waitfanfare
closeonkeypress
setflag 0x828
msgbox 0x88000FB MSG_YESNO '"[black_fr]Do you want to give a Ty..."
compare LASTRESULT 0x1
if 0x1 call 0x880005D
msgbox 0x880012A MSG_NORMAL '"There, you'll be a lot safer if yo..."
applymovement 0x1 0x88001C3
release
end
'---------------
#org 0x80005D
call 0x81A74EB
return
'---------------
#org 0x1A74EB
fadescreen 0x1
special 0x9E
waitstate
return
'---------
' Strings
'---------
#org 0x800064
= Hey-hey, are you travelling alone?\nOutside town, it's really not safe\lto be without a Pokémon. Here, use\lthis one.
#org 0x8000D9
= [black_fr]You've been given a Tyrogue!
#org 0x8000FB
= [black_fr]Do you want to give a Tyrogue a nickname?
#org 0x80012A
= There, you'll be a lot safer if you\nhave that little guy by your side.\lAnyway, 'gotta jet. It was nice to\lmeet you! Oh, my name's Kenneth, by\lthe way.
'-----------
' Movements
'-----------
#org 0x8001C3
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x60 'Hide
Note: I realize I forgot lock and faceplayer. I herped when I should have derped. But that didn't stop the script from running, soooooo yeah.
'---------------
#org 0x800000
checkflag 0x828
if 0x1 goto 0x880012A
msgbox 0x8800064 MSG_KEEPOPEN '"Hey-hey, are you travelling alone?..."
goto 0x8800019
'---------------
#org 0x80012A
checkobedience 0xD9DC
'---------------
#org 0x800019
givepokemon 0xEC 0x3 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox 0x88000D9 MSG_KEEPOPEN '"[black_fr]You've been given a Tyro..."
waitfanfare
closeonkeypress
setflag 0x828
msgbox 0x88000FB MSG_YESNO '"[black_fr]Do you want to give a Ty..."
compare LASTRESULT 0x1
if 0x1 call 0x880005D
msgbox 0x880012A MSG_NORMAL '"There, you'll be a lot safer if yo..."
applymovement 0x1 0x88001C3
release
end
'---------------
#org 0x80005D
call 0x81A74EB
return
'---------------
#org 0x1A74EB
fadescreen 0x1
special 0x9E
waitstate
return
'---------
' Strings
'---------
#org 0x800064
= Hey-hey, are you travelling alone?\nOutside town, it's really not safe\lto be without a Pokémon. Here, use\lthis one.
#org 0x8000D9
= [black_fr]You've been given a Tyrogue!
#org 0x8000FB
= [black_fr]Do you want to give a Tyrogue a nickname?
#org 0x80012A
= There, you'll be a lot safer if you\nhave that little guy by your side.\lAnyway, 'gotta jet. It was nice to\lmeet you! Oh, my name's Kenneth, by\lthe way.
'-----------
' Movements
'-----------
#org 0x8001C3
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x60 'Hide