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 Change Zigzagoon battle at start of Emerald to a different Pokemon (https://www.pokecommunity.com/showthread.php?t=464308)

rhythmmk January 17th, 2022 12:38 PM

Change Zigzagoon battle at start of Emerald to a different Pokemon
 
Hi there, complete noob here. I had a search and found this post;

Quote:

To change the Zigzagoon you fight in Emerald immediately after picking your starter to a different mon, change the 0x90 at x32706 to half the index number of the mon you want. If you want a mon who index number isn't a multiple of two, simply put its (single-byte) index number there and replace the x49 at x32708 with an x00.
However - what does 'x32706' mean? Where do I see this? I've opened all of the scripts on Route 101 through AdvanceMap/XSE, and I can't find it anywhere.

On a possibly similar note, are there some scripts missing from AdvanceMap? I've gone through every scripting event in Littleroot Town, and can't find anywhere where your mom talks about dad being on TV.

Cheers

Asith January 17th, 2022 12:58 PM

0x32708 is an offset. You can go to that offset in a hex editor such as HexManiacAdvance or HxD

Scripts are not missing from advance map. Some scripts are level scripts, which you can find in the header tab. If you don't know what level scripts are, look them up. Most scripting tutorials should cover them at some point

rhythmmk January 17th, 2022 3:22 PM

Quote:

Originally Posted by Asith (Post 10458163)
0x32708 is an offset. You can go to that offset in a hex editor such as HexManiacAdvance or HxD

Scripts are not missing from advance map. Some scripts are level scripts, which you can find in the header tab. If you don't know what level scripts are, look them up. Most scripting tutorials should cover them at some point

Amazing. Perfect response, thanks so much.

rhythmmk January 17th, 2022 3:58 PM

Quote:

Originally Posted by Asith (Post 10458163)
0x32708 is an offset. You can go to that offset in a hex editor such as HexManiacAdvance or HxD

Scripts are not missing from advance map. Some scripts are level scripts, which you can find in the header tab. If you don't know what level scripts are, look them up. Most scripting tutorials should cover them at some point


Out of curiosity, would you happen to know where the offsets of the other fixed wild battles are? e.g. legendaries/regis/Wally's Ralts?

Is there a list somewhere, or an easy way to find the offset locations?

THanks!

Asith January 18th, 2022 10:13 AM

Quote:

Originally Posted by rhythmmk (Post 10458219)
Out of curiosity, would you happen to know where the offsets of the other fixed wild battles are? e.g. legendaries/regis/Wally's Ralts?

Is there a list somewhere, or an easy way to find the offset locations?

THanks!

People don't usually go looking for a single species offset, they would rather try to find the entire script for those wild battles through advance map, which is much easier. Navigate to the map those battles take place on. The script is definitely somewhere there, if not on script tiles then in the level scripts I mentioned before.
It's also easy to check through the pokeemerald decomp, though:
https://github.com/pret/pokeemerald/tree/master/data/maps


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