summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/gfx/load_pics.asm5
1 files changed, 4 insertions, 1 deletions
diff --git a/engine/gfx/load_pics.asm b/engine/gfx/load_pics.asm
index 23d75e68..f155e116 100644
--- a/engine/gfx/load_pics.asm
+++ b/engine/gfx/load_pics.asm
@@ -77,7 +77,10 @@ GetFrontpic:
push bc
ld a, BANK(sDecompressBuffer)
call OpenSRAM
- ld hl, PokemonPicPointers ; UnownPicPointers
+
+ ; These are assumed to be at the same address in their respective banks.
+ assert PokemonPicPointers == UnownPicPointers
+ ld hl, PokemonPicPointers
ld a, [wCurPartySpecies]
ld d, BANK(PokemonPicPointers)
cp UNOWN