summaryrefslogtreecommitdiff
path: root/engine/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'engine/gfx')
-rw-r--r--engine/gfx/load_pics.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/gfx/load_pics.asm b/engine/gfx/load_pics.asm
index 563c0d8b..34bffdb7 100644
--- a/engine/gfx/load_pics.asm
+++ b/engine/gfx/load_pics.asm
@@ -137,7 +137,8 @@ GetMonBackpic:
call OpenSRAM
; These are assumed to be at the same address in their respective banks.
- ld hl, PokemonPicPointers ; UnownPicPointers
+ assert PokemonPicPointers == UnownPicPointers
+ ld hl, PokemonPicPointers
ld a, [wCurPartySpecies]
ld d, BANK(PokemonPicPointers)
cp UNOWN