Thank ya! I need to check this out on my weekend.
(Btw do the Pokemon share the same palette as the trainer sprite, you know the one in my avatar, red/orange? I would like to change this the mos, for example making him green... as the POKEMON palette data starts at 0xad45.
...
confusing my brother with a different shiny Gyarados or something will be fun!
(Btw do the Pokemon share the same palette as the trainer sprite, you know the one in my avatar, red/orange? I would like to change this the mos, for example making him green... as the POKEMON palette data starts at 0xad45.
...
confusing my brother with a different shiny Gyarados or something will be fun!
Pokemon are ordered by pokedex number, so to find data for any pokemon you take 0xad45 + (PokedexNo. - 0x01) * 0x08.
Color palettes are not stored in RBG format, but in a format that follows the pattern GGGRRRRR 0BBBBBGG (in binary) where G is green, R is red, and B is blue. You can convert yourself from RBG to this format by dividing the hexadecimal rgb value by 0x08 and write the resulting five bits where it corresponds.
Or if you prefer, you can use this little tool that converts RBG to GBC and vice versa format: http://twilight-hacking.darkbb.com/t50-toolgbc-color-picker.