The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script My script skips my applymovement steps

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old April 27th, 2018 (8:49 PM).
TheManInBlackXD TheManInBlackXD is offline
 
Join Date: Apr 2018
Posts: 1
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
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old April 28th, 2018 (1:17 PM).
Mana's Avatar
Mana Mana is offline
 
Join Date: Jan 2009
Location: UK
Age: 31
Gender: Male
Posts: 10,075
iirc there's a limit to how far away from the screen applymovement works. Perhaps try putting a movesprite command to move them one-tile out of view and then walk them in.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old April 28th, 2018 (10:02 PM). Edited April 28th, 2018 by Skeli.
Skeli's Avatar
Skeli Skeli is offline
Lord of the Rings
 
Join Date: Apr 2014
Location: Canada
Age: 24
Gender: Male
Nature: Adamant
Posts: 300
Change all of your waitmovements to:
Code:
waitmovement 0x0
__________________
Pokemon Unbound

Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:17 AM.