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)
-   -   Other Having one part of a script take you to somewhere else in the ROM if there's space issues (https://www.pokecommunity.com/showthread.php?t=355261)

wolfboyft September 7th, 2015 9:38 AM

Having one part of a script take you to somewhere else in the ROM if there's space issues
 
Hi!

I'm currently steaming on with my hack. As a newbie, the next thing I'd like to know would be how I can point the 'script reader' (?) from one part of a script to the next part, located elsewhere in the ROM because of space issues... possible? Pointers? If? So? How?

Thanks!!

Squeetz September 7th, 2015 9:06 PM

What do you mean exactly?
Using 'goto' or 'call' commands?

wolfboyft September 8th, 2015 3:18 AM

Quote:

Originally Posted by Squeetz (Post 8919964)
What do you mean exactly?
Using 'goto' or 'call' commands?

Most likely a goto, like in C++.

chrunch September 8th, 2015 4:11 AM

Just use goto 0x(offset) and the script will continue from where it left off, if that's what you're asking.

wolfboyft September 8th, 2015 4:13 AM

Quote:

Originally Posted by chrunch (Post 8920176)
Just use goto 0x(offset) and the script will continue from where it left off, if that's what you're asking.

Aye, I thank thee kindly.


All times are GMT -8. The time now is 2:30 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.