Pokemon Gold/Silver: Editing Moves/Evo Data
I just wanted to write up a quick tutorial for those of you interested in fooling around with gen II ROMs. I recently started Silver again on my phone, and ran into a shiny Graveler, but was disappointed that I couldn't evolve him! So instead of downloading some tool to trade him over to another game, I did what any responsible gamer would do... I changed the game! Here's what I've learned:
You will need:
Now... open up the ROM in your hex editor, and jump to the offset 0x000429B3. From here until 0x00043E56 (an area 5,284 bytes long) is where every Pokemon's move and evolution data is located. It seems like a lot, but it follows a very simple and easy-to-understand pattern. Let's start at the beginning, with Bulbasaur:
If that was a little confusing, don't worry- moves are much easier to understand. The next bytes up until the final 00 (signifying the end of the moves and the end of that Pokemon's move/evo data) should be looked at 2 at a time. The first byte represents the level the Pokemon learns a move, and the second byte represents what move will be learned. So, for the four bytes after the evo data, we see that Bulbasaur learns move number 21, which is tackle, at level 01, and move number 2D, Growl, at level 04! The ellipsis just represents the remainder of Bulbasaur's moves, following the same format, until the 00 at the end of its data.
The Pokemon go in order from here until the end of this section, but it should be noted that they are NOT designated by their index number before their data. You kind of have to figure out based on move and evo data where each Pokemon starts and ends (or use the pointers in the section before).
Standard evolution is designated by the byte 01, so let's see the other evolution codes:
There are several examples of each code in the ROM except condition number 05, which applies only to Tyrogue. The 00 code is most common, as it signifies there is no evolution data, thus the movelist begins immediately thereafter. Let's look at one more example:
Exeggcute and Exeggutor's Evo Data and Moves:
0 x 0004322F , 0 x 00043252
02 22 67 00 01 8C 01 5F 07 73 0D 49 13 5D 19 4E 1F 4D 25 4F 2B 4C 00 00 01 8C 01 5F 01 5D 13 17 1F 79 00
The red is the evolutionary data, and the blue is the move data. As we can see, Exeggcute evolves via item evolution (02), using a leaf stone (item 22), into Exeggutor (species 67). As for its moves, at level 1 (01), Exeggcute learns Barrage (8C) and Hypnosis (5F). At level 7 (07) it learns Reflect (73), level 14 (0D) Leech Seed (49) and so on... The move data signifies its end with an empty byte (00), and preps the game for the next Pokemon's data. Exeggutor is a final form pokemon, and as such, it's doesn't evolve. The 00 byte simply signals the end of the evo data and the start of the move data, which we can see is similar to Exeggcute's.
I hope that everyone learned something from this, and thanks for reading! Even if you're not planning on doing a full-scale ROM hack, it's nice and interesting to know how the game works. Who knows, it may even come in handy one day when you catch a shiny Onix, but want a shiny Steelix :)
* Thanks to Coolboyman's Gold ROM map for locations!
Tutorials such as this have been created already but this one seems the most beginner-friendly by far. Well done!
You might want to add in the end that there is a pointer table which "evo/moves" data is followed with and originally, the pointer table points to them in an order that Bulbasaur is the first in the list, immediately followed by Ivysaur, then Venusaur, ..., until Celebi's data is reached and blank space in that rom bank begins.
Basically, the datas wouldn't have to be that way but are located in a simple way indeed.
Very nice tutorial.
It is very beginner-friendly, and easy to understand.
Too bad nobody will really care about it, though.
Thanks for the support, guys.
@misky: Good idea. I hope it doesn't make it confusing, but I'll certainly draft up a little endnote to put in there.
nice tutorial i do this few monts ago ,GREAT MAN
|All times are GMT -8. The time now is 7:57 PM.|
© 2002 - 2015 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 - 2014 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.
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2015.