The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script applymovements won't work after msgbox

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 November 25th, 2018 (11:01 AM).
galaga galaga is offline
 
Join Date: May 2018
Posts: 3
Hello, I'm new and I'm trying to create a small cutscene where a textbox appears and then use applymovement to move the player.
The problem is that the applymovement will only work if it's before the msgbox, but I want it to move after the msgbox.
Here is the script:
MOVE_PLAYER won't work:
https://gyazo.com/2c4cc9d21bff0e70e9100a3d507ab784
MOVE_PLAYER will work:
https://gyazo.com/e2307bec9884ee3ec963cbcdfc64ee51
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old November 25th, 2018 (5:30 PM).
DrFuji's Avatar
DrFuji DrFuji is offline
Heiki Hecchara‌‌
 
Join Date: Sep 2009
Location: Aussie
Age: 30
Gender: Male
Nature: Jolly
Posts: 1,693
You need to include the command 'waitmovement 0x0' after you move the player for the second time. It works in the second screenshot because the game needs to load the textbox/ text, giving the script time to implement the movements, whereas in the first one it instantly ends before any movements can be carried out.
__________________
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old November 25th, 2018 (7:26 PM).
galaga galaga is offline
 
Join Date: May 2018
Posts: 3
Quote:
Originally Posted by DrFuji View Post
You need to include the command 'waitmovement 0x0' after you move the player for the second time. It works in the second screenshot because the game needs to load the textbox/ text, giving the script time to implement the movements, whereas in the first one it instantly ends before any movements can be carried out.
Awesome, thanks for the help!
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.