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 How do you change the Pokemon Prizes you get, for Hoenn Dex Completion in Emerald? (https://www.pokecommunity.com/showthread.php?t=350457)

LegendChu June 11th, 2015 11:17 PM

How do you change the Pokemon Prizes you get, for Hoenn Dex Completion in Emerald?
 
In Emerald, when you complete the Hoenn Pokedex (seen & caught all 202 Pokemon), Prof. Birch offers you a Johto Starter (Chikorita/Cyndaquil/Totodile), as a reward.

Now suppose I want him to offer a Kanto Starter (Bulbasaur/Charmander/Squirtle) instead, or just any other three random Pokemon, where exactly is the Script I need to change for that?

Pika Pika :chu:

PurpleOrange June 12th, 2015 12:34 AM

Quote:

Originally Posted by LegendChu (Post 8794419)
In Emerald, when you complete the Hoenn Pokedex (seen & caught all 202 Pokemon), Prof. Birch offers you a Johto Starter (Chikorita/Cyndaquil/Totodile), as a reward.

Now suppose I want him to offer a Kanto Starter (Bulbasaur/Charmander/Squirtle) instead, or just any other three random Pokemon, where exactly is the Script I need to change for that?

Pika Pika :chu:

0x1F9FBB for Cyndaquil: To change replace all occurrences of 0x9B in a hex editor with the index number of your desired pokemon

0x1FA023 for Chikorita: To change replace all occurrences of 0x98 in a hex editor with the index number of your desired pokemon

0x1F9FEF for Totodile: To change replace all occurrences of 0x9E in a hex editor with the index number of your desired pokemon

LegendChu June 12th, 2015 9:27 PM

Quote:

Originally Posted by PurpleOrange (Post 8794450)
0x1F9FBB for Cyndaquil: To change replace all occurrences of 0x9B in a hex editor with the index number of your desired pokemon

0x1FA023 for Chikorita: To change replace all occurrences of 0x98 in a hex editor with the index number of your desired pokemon

0x1F9FEF for Totodile: To change replace all occurrences of 0x9E in a hex editor with the index number of your desired pokemon


Firstly PurpleOrange, thnx a lot, I had been looking for an answer to that for a while.

Just a little problem though, it only works for Pokemon with Hex values below 100.

For e.g., I tried replacing Cyndaquil/Totodile/Chikorita (they are in this order) with Plusle/Minun/Electrike, whose Index Numbers are 161, 162 & 151 respectively. Now to enter them into a Hex Editor, the values I have to input should be 61 01 for Plusle (instead of 9B 00 for Cyndaquil), 62 01 for Minun (instead of 9E 00 for Totodile) & 51 01 for Electrike (instead of 98 00 for Chikorita), right? But when I did change the values, nothing happens. Birch still offers me the Johto Starters. I tried more Pokemon with Index Numbers greater than 100 & still same problem. Can someone tell me what I'm doing wrong?

Pika Pika :chu:

PurpleOrange June 13th, 2015 1:08 AM

Quote:

Originally Posted by LegendChu (Post 8795686)
Firstly PurpleOrange, thnx a lot, I had been looking for an answer to that for a while.

Just a little problem though, it only works for Pokemon with Hex values below 100.

For e.g., I tried replacing Cyndaquil/Totodile/Chikorita (they are in this order) with Plusle/Minun/Electrike, whose Index Numbers are 161, 162 & 151 respectively. Now to enter them into a Hex Editor, the values I have to input should be 61 01 for Plusle (instead of 9B 00 for Cyndaquil), 62 01 for Minun (instead of 9E 00 for Totodile) & 51 01 for Electrike (instead of 98 00 for Chikorita), right? But when I did change the values, nothing happens. Birch still offers me the Johto Starters. I tried more Pokemon with Index Numbers greater than 100 & still same problem. Can someone tell me what I'm doing wrong?

Pika Pika :chu:

you may be overwriting the wrong bytes, so i'll tell you the bytes you're supposed to change

for cyndaquil, the bytes are at offsets 0x1F9FD2, 0x1FA06E, 0x1FA073, 0x1FA076

for chikorita, the bytes are at offsets 0x1FA03A, 0x1FA1B0, 0x1FA1B5, 0x1FA1B8

for totodile, the bytes are at offsets 0x1FA006, 0x1FA10F, 0x1FA114, 0x1FA117

change those bytes to your desired pokemon index number
you will also have to hex edit the text, otherwise he will still ask if you want the johto starter, despite the fact that he will give you the pokemon you changed it to

LegendChu June 14th, 2015 9:34 AM

Quote:

Originally Posted by PurpleOrange (Post 8795816)
you may be overwriting the wrong bytes, so i'll tell you the bytes you're supposed to change

for cyndaquil, the bytes are at offsets 0x1F9FD2, 0x1FA06E, 0x1FA073, 0x1FA076

for chikorita, the bytes are at offsets 0x1FA03A, 0x1FA1B0, 0x1FA1B5, 0x1FA1B8

for totodile, the bytes are at offsets 0x1FA006, 0x1FA10F, 0x1FA114, 0x1FA117

change those bytes to your desired pokemon index number
you will also have to hex edit the text, otherwise he will still ask if you want the johto starter, despite the fact that he will give you the pokemon you changed it to

Hey PurpleOrange, I found out what the problem was, I was actually only changing one offset (1F9FD2 for Cyndaquil, 1FA006 for Totodile, 1FA03A for Chikorita). But I now changed all offsets suggested by you & I got it working for all Pokemon, even ones with Index Values above 100. Thnx buddy!

And ya, I know I need to Hex Edit the Text, I'll use A-Text for that.

Pika Pika :chu:

C me June 15th, 2015 1:57 AM

Quote:

Originally Posted by LegendChu (Post 8797660)

And ya, I know I need to Hex Edit the Text, I'll use A-Text for that.

Pika Pika :chu:

It would be better to use XSE for changing the text.


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.