aboutsummaryrefslogtreecommitdiffstats
path: root/engine/gfx/palettes.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/gfx/palettes.asm')
-rw-r--r--engine/gfx/palettes.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/gfx/palettes.asm b/engine/gfx/palettes.asm
index d97fbc55..f59b37ea 100644
--- a/engine/gfx/palettes.asm
+++ b/engine/gfx/palettes.asm
@@ -69,7 +69,7 @@ SetPal_StatusScreen:
ld de, wPalPacket
ld bc, $10
call CopyData
- ld a, [wcf91]
+ ld a, [wCurPartySpecies]
cp NUM_POKEMON_INDEXES + 1
jr c, .pokemon
ld a, $1 ; not pokemon
@@ -97,7 +97,7 @@ SetPal_Pokedex:
ld de, wPalPacket
ld bc, $10
call CopyData
- ld a, [wcf91]
+ ld a, [wCurPartySpecies]
call DeterminePaletteIDOutOfBattle
ld hl, wPalPacket + 3
ld [hl], a