- 1
- Posts
- 6
- Years
- Seen Apr 29, 2018
So, I'm hacking Pokemon Firered and I am really new at this. Specifically been hacking for about 3 days now. And while trying to write a script in XSE and then playing it, I can add it to the rom just fine, however, it acts like it just skips my applymovement for the person I'm trying to bring in off-screen. It's is probably just a beginner mistake, but any help would be greatly appreciated.
Code:
'---------------
#org 0x80097A
msgbox 0x88009BD MSG_NORMAL '"Hey wait! Please do not move\nanot..."
playsong 0x11A 0x0
applymovement 0x5 0x88009EA
waitmovement 0x5
applymovement MOVE_PLAYER 0x88009FE
waitmovement 0xFF
msgbox 0x8800A03 MSG_NORMAL '"This is just a test!\pGoodbye!"
applymovement 0x5 0x8800A23
waitmovement 0x5
hidesprite 0x5
setvar 0x6000 0x1
setflag 0x1202
fadesong 0x12C
release
end
'---------
' Strings
'---------
#org 0x8009BD
= Hey wait! Please do not move\nanother inch!
#org 0x800A03
= This is just a test!\pGoodbye!
'-----------
' Movements
'-----------
#org 0x8009EA
#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 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (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 0xFE 'End of Movements
#org 0x8009FE
#raw 0x0 'Face Down
#raw 0x52 'Jump in Place (Facing Down)
#raw 0x62 'Exclamation Mark (!)
#raw 0xFE 'End of Movements
#org 0x800A23
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0xFE 'End of Movements
Code:
'---------------
#org 0x80097A
msgbox 0x88009BD MSG_NORMAL '"Hey wait! Please do not move\nanot..."
playsong 0x11A 0x0
applymovement 0x5 0x88009EA
waitmovement 0x5
applymovement MOVE_PLAYER 0x88009FE
waitmovement 0xFF
msgbox 0x8800A03 MSG_NORMAL '"This is just a test!\pGoodbye!"
applymovement 0x5 0x8800A23
waitmovement 0x5
hidesprite 0x5
setvar 0x6000 0x1
setflag 0x1202
fadesong 0x12C
release
end
'---------
' Strings
'---------
#org 0x8009BD
= Hey wait! Please do not move\nanother inch!
#org 0x800A03
= This is just a test!\pGoodbye!
'-----------
' Movements
'-----------
#org 0x8009EA
#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 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (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 0xFE 'End of Movements
#org 0x8009FE
#raw 0x0 'Face Down
#raw 0x52 'Jump in Place (Facing Down)
#raw 0x62 'Exclamation Mark (!)
#raw 0xFE 'End of Movements
#org 0x800A23
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0xFE 'End of Movements