View Single Post
Old April 17th, 2009 (7:58 PM).
ElusionM ElusionM is offline
Join Date: Jul 2007
Nature: Adamant
Posts: 41
Ok, guys. I've got a problem.
I've made a script so that if I don't have a certain pokemon(for this example, Pikachu), the guy will not move aside for me. I've used a checkpokemon script. However, if I don't have a Pikachu, the "Not allowed" message comes fine. However, when I DO have the Pikachu, he doesn't follow the applymovement, and top of that, the GAME FREEZES!

Here is the Code, please proof-read it for me; the last time I did anything related to hacking was 2007 and only for like a month; I've forgotten everything I knew and now have to relearn everything to also match with the new tools and the updates everyone is releasing:
#org 0x71AC40
setvar 0x8004 0x19
special2 LASTRESULT 0x17C
compare LASTRESULT 0x1
if 0x1 goto 0x871AD70
msgbox 0x871AD90 MSG_NORMAL '"Sorry, you're not allowed."

#org 0x71AD70
applymovement 0x5 0x871ADA0

' Strings
#org 0x71AD90
= Sorry, you're not allowed.

' Movements
#org 0x71ADA0
#raw 0xE8 'movE8
#raw 0x0 'Face Down
#raw 0xD5 'movD5
#raw 0xE0 'movE0
#raw 0xE0 'movE0
#raw 0xE3 'movE3
#raw 0xEB 'movEB
#raw 0xD9 'movD9
#raw 0xD8 'movD8
#raw 0xAD 'movAD
Reply With Quote