ascension7 Posted August 29, 2011 Share Posted August 29, 2011 Hi everyone. I've been working on a HGSS hack, and I'm inserting a few fake Pokemon. I've figured out how to edit everything else, the overworld, battle sprites, data, etc. One thing still eludes me: how to change a Pokemon's icon in the menus and Pokedex. Now, I know how to change the icon itself, but I do not know how to change which palette it uses. I'm aware that each icon in the game has only three palettes to choose from, just as it was in gen 3. The data for which palette to use does not appear to be in the icon file itself, because I put Bulbasaur's icon in place of others that use a different palette, and Bulbasaur would change gold or blue, indicating the palette is set by some other means. I've tried searching through the hex, but admittedly, I'm a beginner, and I'm not quite sure what to search for. If anyone has any information on this, I would greatly appreciate it! Link to comment Share on other sites More sharing options...
Poryhack Posted August 29, 2011 Share Posted August 29, 2011 If you figure it out please let us know. I haven't heard or anyone pulling this off. Could very well be hard-coded in ARM9. Link to comment Share on other sites More sharing options...
ascension7 Posted August 31, 2011 Author Share Posted August 31, 2011 I figured it out. Thanks to you! Ok, what you do is decompress the ARM9 file with crystaltile. See, I had a theory that the palettes were programmed like mostly every other data set in the rom. Just in order of use. I opened the extracted ARM9 bin with a hex editor, and searched for 01 01 01 00 00 00 00 02 02. This is the palettes used for Bulbasaur-Blastoise, respectively. 00 refers to the first palette, and so on. It found one matching data string (this is when I got excited). Then I replaced the first three numbers with 00 01 02, just to test it out. Sure enough, when I put it back into the rom, Bulbasaur was yellow, and Venusaur was blue. I haven't tested it further. I literally just did this a few seconds ago. So if need be, I can elaborate. But it most definitely works! Link to comment Share on other sites More sharing options...
Andibad Posted August 31, 2011 Share Posted August 31, 2011 In game is just have 2 pallete for every pokemon (normal and shiny, so 1 is for normal, and 2 is for shiny ? o.oa) Link to comment Share on other sites More sharing options...
Poryhack Posted August 31, 2011 Share Posted August 31, 2011 I figured it out. Thanks to you!Ok, what you do is decompress the ARM9 file with crystaltile. See, I had a theory that the palettes were programmed like mostly every other data set in the rom. Just in order of use. I opened the extracted ARM9 bin with a hex editor, and searched for 01 01 01 00 00 00 00 02 02. This is the palettes used for Bulbasaur-Blastoise, respectively. 00 refers to the first palette, and so on. It found one matching data string (this is when I got excited). Then I replaced the first three numbers with 00 01 02, just to test it out. Sure enough, when I put it back into the rom, Bulbasaur was yellow, and Venusaur was blue. I haven't tested it further. I literally just did this a few seconds ago. So if need be, I can elaborate. But it most definitely works! Hey nice work! Really good to know. Didn't think my comment would actually be helpful to anyone. In game is just have 2 pallete for every pokemon (normal and shiny, so 1 is for normal, and 2 is for shiny ? o.oa) He's not talking about the full-size sprites, he's talking about the tiny icons that show up in boxes and your party, etc. They're unusual because every single pokemon icon uses one of only 3 available palettes. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now