The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Applymovement problem, help plz..

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
  #26   Link to this post, but load the entire thread.  
Old March 2nd, 2016 (5:38 PM).
leyn09's Avatar
leyn09 leyn09 is offline
Truant Trainer
 
Join Date: May 2011
Location: Philippines
Gender: Male
Nature: Careful
Posts: 84
How about you try putting waitmovement 0x0 after every applymovement command unless you want a simultaneous movement of 2 or more sprites. Make sure you put it before a msgbox script. Maybe the timing wasn't right. waitmovement 0x0 makes an accurate pause for applymovement execution iirc.

for example at this part of thr script:

#org 0x8001D7
applymovement 0x1 0x880027E
msgbox 0x88002DF MSG_FACE '"[orange_fr]MOM - Oh! [player], com..."
applymovement MOVE_PLAYER 0x8800283
msgbox 0x8800303 MSG_FACE '"[red_fr][player] - Umm...why did y..."
applymovement MOVE_PLAYER 0x880028B
msgbox 0x880039E MSG_FACE '"[green_fr]DAD - ...And we have dec..."
applymovement MOVE_PLAYER 0x880028E
fadedefault
sound 0x0
msgbox 0x88003E6 MSG_FACE '"[red_fr][player] - B..BU..BUT WHY ..."

you should have put waitmovement every after applymovement commands if you don't want them to have a simultaneous excecution. Second, you didn't even put pause or waitmovement. I speculate that it won't even execute those movments ingame before the msgbox script.

I hope that helps.
Reply With Quote
  #27   Link to this post, but load the entire thread.  
Old March 5th, 2016 (12:02 AM).
omeha's Avatar
omeha omeha is offline
 
Join Date: Aug 2014
Gender: Male
Nature: Adamant
Posts: 40
Hello, and sorry for late reply [internet prob.]...Here's the report for all of our endeavours !!!

Spoiler:

1)
Well...after Lightning X examined my so-called hack via a patch given by me....he pointed out that my rom was corrupted, which made perfectly sense to me beacause I had such a peculiar problem....So, after scrapping the (squirrel)'s vers. of rom I moved on to (independent)'s vers., but their too the prob. persisted.....back to square one...


2)
Quote:
Originally Posted by destinedjagold View Post
I tried your script and it worked fine for me in a clean FireRed ROM.

But I think I figure out your problem.

Code:
#org 0x8007CB
= [red_fr][player] - Hmmm...why don't I\nuse 'it' ?..heh..heh..Ô ÓÑ\h80ËÌÁÁ
That right there tells me that you are editing your script after you opened the offset on XSE. You should know that if you edit or add more stuff to an already-inserted script in the ROM, it'll overwrite the other parts of your script.

You should always edit your uncompiled script for any changes that you make, clear the offset and then compile your script again.

Now it's getting late and I need my sleep. Good luck!
Quote:
Originally Posted by Deokishisu View Post
As an aside, I put waitmovement 0x0 (I think that's the command) after every applymovement cluster that I want to occur at the same time and that has eliminated any problems I had with movements not executing. You may want to try throwing waitmovements after your applymovements and see if that solves your issue. I had pretty much the same problem when I started scripting all those years ago, and that fixed it.
Quote:
Originally Posted by leyn09 View Post
How about you try putting waitmovement 0x0 after every applymovement command unless you want a simultaneous movement of 2 or more sprites. Make sure you put it before a msgbox script. Maybe the timing wasn't right. waitmovement 0x0 makes an accurate pause for applymovement execution iirc.

for example at this part of thr script:

#org 0x8001D7
applymovement 0x1 0x880027E
msgbox 0x88002DF MSG_FACE '"[orange_fr]MOM - Oh! [player], com..."
applymovement MOVE_PLAYER 0x8800283
msgbox 0x8800303 MSG_FACE '"[red_fr][player] - Umm...why did y..."
applymovement MOVE_PLAYER 0x880028B
msgbox 0x880039E MSG_FACE '"[green_fr]DAD - ...And we have dec..."
applymovement MOVE_PLAYER 0x880028E
fadedefault
sound 0x0
msgbox 0x88003E6 MSG_FACE '"[red_fr][player] - B..BU..BUT WHY ..."

you should have put waitmovement every after applymovement commands if you don't want them to have a simultaneous excecution. Second, you didn't even put pause or waitmovement. I speculate that it won't even execute those movments ingame before the msgbox script.

I hope that helps.
This is what destinedjagold, Deokishisu and leyn09 told me after examining my script...so following their cue re-wrote the script the script from scratch in a 'new clean' firered rom (independent's dump, just to be sure) and you know what ? the script worked perfectly !!!!......THANK YOU GUYS FOR HELPING THIS N00B OUT !!!!
:){XD}^^


Long spoiler in short... - the script is working perfectly......kudos to everyone for helping this n00b out !!
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:08 AM.