The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Script Is there a program allowing you to "dynamize" a script with just a click? (https://www.pokecommunity.com/showthread.php?t=431411)

McPaul February 23rd, 2020 9:52 AM

Is there a program allowing you to "dynamize" a script with just a click?
 
I want to edit an already existing script in Fire Red, but it is long as hell and I quickly lose track of all the gotos, calls and msgboxes there are in this one script. Is there a quick or easy method allowing me to dynamize all the offsets without losing my mind?

Actually what I want to do is to edit the Professor Oak's script deleting everything about the National Dex (giving the national dex, checking the national dex's progress, etc.) and add a part where he gives the player an item at the same time as the Pokédex.

But hell this script has so many lines and so many lines that I don't really understand.

If someone could give me a hint it would be really cool! Thanks a lot!

Dr. Seuss February 23rd, 2020 10:29 AM

You can just change the XSE setting. got to Options -> Decompile Options -> Check "Refactoring" and then decompile once again the script and then the entire script has been labeled with dynamic offsets

McPaul February 23rd, 2020 10:43 AM

Wow it really worked! I can't believe I got saved from so much hard work! Thanks a lot you're amazing!


All times are GMT -8. The time now is 9:14 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.