Brodensson
Broden
- 6
- Posts
- 12
- Years
- Seen Dec 22, 2017
I'm not sure whether this will sound confusing, but here it goes:
I have an indexed image (4bit), that I have inserted into my rom (firered) at 0x800000
Directly below this at offset 0x802000, I have also Inserted an image.
These images are for the type icons (as seen in the pokedex, pokemon data and move data) such as the normal icon, fire icon, etc. My second image has four extra colours. Now, by stacking the two images directly on top of each other, I can access data from both images simultaneously.
My problem is with the palettes.
I can only make these two images access one palette at a time, so when one images colouring looks normal, the other one will look odd. What I was wondering is if I could make the palette pointer point to a script, which would then check a byte of data (which in this case, would be what determines whether I use the first or second stacked image) and then repoint to the respective palette for that image. It would say something like:
if 0x00 goto 0x[palette1]
if 0x01 goto 0x[palette2]
I hope that this makes sense. If any screenshots are needed, please let me know. All help is appreciated!
I have an indexed image (4bit), that I have inserted into my rom (firered) at 0x800000
Directly below this at offset 0x802000, I have also Inserted an image.
These images are for the type icons (as seen in the pokedex, pokemon data and move data) such as the normal icon, fire icon, etc. My second image has four extra colours. Now, by stacking the two images directly on top of each other, I can access data from both images simultaneously.
My problem is with the palettes.
I can only make these two images access one palette at a time, so when one images colouring looks normal, the other one will look odd. What I was wondering is if I could make the palette pointer point to a script, which would then check a byte of data (which in this case, would be what determines whether I use the first or second stacked image) and then repoint to the respective palette for that image. It would say something like:
if 0x00 goto 0x[palette1]
if 0x01 goto 0x[palette2]
I hope that this makes sense. If any screenshots are needed, please let me know. All help is appreciated!