The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Help with Movement Script

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 August 8th, 2017 (2:56 PM).
Pokeeng Pokeeng is offline
 
Join Date: Nov 2015
Gender: Male
Posts: 73
So I need a bit of help. I created a basic movement script and everything works fine. The NPC moves accordingly to the script and in the correct order. However, when the NPC enters a house I have him pathed to, the game goes black. Anyone able to help? Here's the script:

'---------------
#org 0x800A00
msgbox 0x8800A36 MSG_NORMAL '"Wait! I'm coming!"
applymovement 0x6 0x8800A4A
waitmovement 0x6
msgbox 0x8800A54 MSG_NORMAL '"I'm Professor Miso! Nice to meet\n..."
applymovement MOVE_PLAYER 0x8800AAE
waitmovement 0xFF
applymovement 0x6 0x8800AB2
waitmovement 0x6
setvar 0x6000 0x1
setflag 0x1200
release
end


'---------
' Strings
'---------
#org 0x800A36
= Wait! I'm coming!

#org 0x800A54
= I'm Professor Miso! Nice to meet\nyou! Come with me. I may still\lhave a Pokemon for you.


'-----------
' Movements
'-----------
#org 0x800A4A
#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 0x12 'Step Left (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x800AAE
#raw 0x1F 'Step Left (Fast)
#raw 0x7 'Face Right (Faster)
#raw 0xFE 'End of Movements

#org 0x800AB2
#raw 0x11 'Step Up (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements
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:16 AM.