Sawakita
Youngster
aka Noodles
Posts: 41
|
Post by Sawakita on Aug 15, 2010 10:25:40 GMT -5
I was trying to edit the color palette in pokemon blue and couldn't find out where is the routine that loads the color for a sprite. I know where color palettes are stored but i was planning to add more color palette and i couldn't find out any pointer to that data. For example how does the program know that bulbasaur's sprite is green and kakuna's is yellow?
Also, you know, there are two registers, $FF48 (OBP0) and $FF49 (OBP1), that contain palette data in grey scale (normal GB feature); but where in the RAM are stored color palette information?
|
|
|
Post by Luigi-San on Aug 15, 2010 16:57:35 GMT -5
|
|
Sawakita
Youngster
aka Noodles
Posts: 41
|
Post by Sawakita on Aug 15, 2010 17:06:17 GMT -5
No. You didn't understand. I know very well how to edit palettes. What I don't know is where the pointers to the palettes are. I'm not english-native-speaker, but I thought I explained well enough...
|
|
|
Post by iimarckus on Aug 15, 2010 20:41:07 GMT -5
For example how does the program know that bulbasaur's sprite is green and kakuna's is yellow? 0x725c8, one byte per Pokémon, Pokédex order. Valid palettes can be any of the overworld route palettes or Pokémon palettes, so palette 03 is Viridian City, …, 16 is Bulbasaur/Ivysaur/Venusaur, etc.
|
|
Sawakita
Youngster
aka Noodles
Posts: 41
|
Post by Sawakita on Aug 16, 2010 8:38:38 GMT -5
For example how does the program know that bulbasaur's sprite is green and kakuna's is yellow? 0x725c8, one byte per Pokémon, Pokédex order. Valid palettes can be any of the overworld route palettes or Pokémon palettes, so palette 03 is Viridian City, …, 16 is Bulbasaur/Ivysaur/Venusaur, etc. Wow. You left me stunned once again. Thank you. I must find a way to repay sooner or later
|
|