The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Applymovement on Player by 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 July 16th, 2017 (4:01 AM).
Brain_Face Brain_Face is offline
 
Join Date: Jun 2017
Posts: 3
I have a Question,
I am new to Romhacking and I use XSE for Scripting.
I want to move the Player, when he steps on a certain tile, using a Script. The applymovement 0xFF ... command works fine when executed by a signpost or a sprite but exactly the same script wont move the player when executed by a script .

Thanks for Replies
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old July 16th, 2017 (4:31 AM).
Pleasure's Avatar
Pleasure Pleasure is offline
 
Join Date: Apr 2015
Gender: Male
Nature: Timid
Posts: 113
Post the script please.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old July 16th, 2017 (4:58 AM).
Brain_Face Brain_Face is offline
 
Join Date: Jun 2017
Posts: 3
Heres the script:

#dynamic 0x800000

#org @start
applymovement MOVE_PLAYER @move
waitmovement 0x0

end

#org @move
#raw 0x11
#raw 0xFE 'End of Movements
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old July 16th, 2017 (5:00 AM).
Bladecraft's Avatar
Bladecraft Bladecraft is offline
It's written "Bladecraft" on my forehead.
 
Join Date: Feb 2017
Gender: Male
Nature: Calm
Posts: 83
Quote:
Originally Posted by Brain_Face View Post
Heres the script:

#dynamic 0x800000

#org @start
applymovement MOVE_PLAYER @move
waitmovement 0x0

end

#org @move
#raw 0x11
#raw 0xFE 'End of Movements
For a tile script to work you need to give it a var and a var number (value). Find safe to use vars in your rom and put them on the script tile in a-map.
__________________
Rule #0: Always Make a Backup




Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old July 16th, 2017 (5:17 AM).
Brain_Face Brain_Face is offline
 
Join Date: Jun 2017
Posts: 3
Thanks
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:18 AM.