You are not logged in.
I know, that palettes for objects like menu icons are stored at wram 0xD040. The problem is that all pokemons have the same palette. I want to make 7 palettes for menu icons:
I've an idea of asm code which simply assign correct palette for specified pkmn:
ld a, $DCD8 ( current pkmn nr )
ld hl, table
add hl, de
ld a, hl
table: 251 bytes, each is palette assign:
I tried to do that, but the result was, that all pokemons in menu had palette assigned to the first pokemon in party.
I was looking for answer in mini sprites loading routine, which is stored around 0x8e8df ( crystal ), but I've found nothing interesting.
Can someone help me?