The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script [FRLG] Double 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 1st, 2021 (1:40 PM).
Gustavs36's Avatar
Gustavs36 Gustavs36 is offline
Gohusty
 
Join Date: Aug 2019
Location: Brazil
Gender: Male
Posts: 6
So, basically, i need to edit the first script of the game where prof Oak calls you and gets you to his lab and all, but because of the layout of the map, the scripted path is now wrong.

But when i try to change it, this happens:

https://www.pokecommunity.com/attachment.php?attachmentid=98033&stc=1&d=1627853863

And i've noticed that, the script is doubled, so after the original part plays, it repeats itself, does anyone know why this is happening?

Thanks :)
Attached Files
File Type: mp4 2021-08-01 18-28-46.mp4‎ (3.57 MB, 23 views) (Save to Dropbox)
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old August 1st, 2021 (11:55 PM).
Asith's Avatar
Asith Asith is offline
Uwao
 
Join Date: Nov 2020
Posts: 204
By "try to change it" do you mean just add more #raw commands to the movement data block that was originally there? You can't do that with editing rom scripts. They already take up a set amount of space, and randomly extending them will overwrite other data causing bugs like your double applymovement.
You need to create new movement data in new free space using xse's dynamic offsets and point to that. If you don't know what that means, it's time to look up a scripting tutorial.
If that's not your problem, then try posting your script here so we can dissect it
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old August 2nd, 2021 (7:15 AM).
Gustavs36's Avatar
Gustavs36 Gustavs36 is offline
Gohusty
 
Join Date: Aug 2019
Location: Brazil
Gender: Male
Posts: 6
Ohh, i see it, that's exactly what i was doing, i'm going to try fix it now.

Thanks for the help! :D
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
Thread Tools

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:15 AM.