- 9
- Posts
- 13
- Years
- UK
- Seen Mar 16, 2018
Hey, I am currently playing around trying to make a Pokémon Hack and I have the code working for a trainer to give you a pokemon and then walk away. The issue I have is that I have wrote the hide sprite applymovement code but it still wont work. Here is my code if you could take a look and let me know what the issue is it would be greatly appreciated. Thanks in advanced!
'---------------
#org 0x71D112
checkflag 0x828
if 0x1 goto 0x871CBC6
msgbox 0x871CBD1 MSG_KEEPOPEN '"[black_fr]Stranger:[blue_fr]HEY! B..."
givepokemon 0x85 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox 0x871CCA1 MSG_KEEPOPEN '"[black_fr]You've been given a Eeve..."
waitfanfare
closeonkeypress
setflag 0x828
msgbox 0x871CCC1 MSG_YESNO '"[black_fr]Do you want to give Eeve..."
compare LASTRESULT 0x1
if 0x1 call 0x871CBC9
msgbox 0x871CCEC MSG_NORMAL '"[black_fr]Stranger:[blue_fr]I'm su..."
applymovement 0x05 0x871CDFC
waitmovement 0x0
setflag 0x1202
release
end
'---------------
#org 0x71CBC6
release
end
'---------------
#org 0x71CBC9
fadescreen 0x1
special 0x9E
waitstate
return
'---------
' Strings
'---------
#org 0x71CBD1
= [black_fr]Stranger:[blue_fr]HEY! Bad people\nare after this Eevee and I need\lsomeone who won't stand out to\llook after it.\pYou look old enough to be a\nPokémon trainer. Will you take\lit?\p[black_fr][player]:[blue_fr]Sure... but who\nare you?
#org 0x71CCA1
= [black_fr]You've been given a Eevee!
#org 0x71CCC1
= [black_fr]Do you want to give Eevee a\nnickname?
#org 0x71CCEC
= [black_fr]Stranger:[blue_fr]I'm sure it will\nbe alot safer with you, just keep\la look out for people who say\ltheir with Team Dusk and dont get\linvolved with them. The names\lRocket and im sure we will meet\lagain.\p[black_fr][player]:[blue_fr]Rocket?\p[black_fr]Rocket:[blue_fr]Yeah, I better get\ngoing! See ya around!
'-----------
' Movements
'-----------
#org 0x71CDFC
#raw 0x4A 'Face Player
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x60 'Hide
#raw 0xFE 'End of Movements
'---------------
#org 0x71D112
checkflag 0x828
if 0x1 goto 0x871CBC6
msgbox 0x871CBD1 MSG_KEEPOPEN '"[black_fr]Stranger:[blue_fr]HEY! B..."
givepokemon 0x85 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox 0x871CCA1 MSG_KEEPOPEN '"[black_fr]You've been given a Eeve..."
waitfanfare
closeonkeypress
setflag 0x828
msgbox 0x871CCC1 MSG_YESNO '"[black_fr]Do you want to give Eeve..."
compare LASTRESULT 0x1
if 0x1 call 0x871CBC9
msgbox 0x871CCEC MSG_NORMAL '"[black_fr]Stranger:[blue_fr]I'm su..."
applymovement 0x05 0x871CDFC
waitmovement 0x0
setflag 0x1202
release
end
'---------------
#org 0x71CBC6
release
end
'---------------
#org 0x71CBC9
fadescreen 0x1
special 0x9E
waitstate
return
'---------
' Strings
'---------
#org 0x71CBD1
= [black_fr]Stranger:[blue_fr]HEY! Bad people\nare after this Eevee and I need\lsomeone who won't stand out to\llook after it.\pYou look old enough to be a\nPokémon trainer. Will you take\lit?\p[black_fr][player]:[blue_fr]Sure... but who\nare you?
#org 0x71CCA1
= [black_fr]You've been given a Eevee!
#org 0x71CCC1
= [black_fr]Do you want to give Eevee a\nnickname?
#org 0x71CCEC
= [black_fr]Stranger:[blue_fr]I'm sure it will\nbe alot safer with you, just keep\la look out for people who say\ltheir with Team Dusk and dont get\linvolved with them. The names\lRocket and im sure we will meet\lagain.\p[black_fr][player]:[blue_fr]Rocket?\p[black_fr]Rocket:[blue_fr]Yeah, I better get\ngoing! See ya around!
'-----------
' Movements
'-----------
#org 0x71CDFC
#raw 0x4A 'Face Player
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x60 'Hide
#raw 0xFE 'End of Movements
Last edited: