summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/gfx/load_pics.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/gfx/load_pics.asm b/engine/gfx/load_pics.asm
index 23b0f606d..4e42db48d 100644
--- a/engine/gfx/load_pics.asm
+++ b/engine/gfx/load_pics.asm
@@ -109,13 +109,13 @@ GetFrontpicPointer:
ld a, [wCurPartySpecies]
ld d, BANK(PokemonPicPointers)
jr .ok
-
.unown
ld a, [wUnownLetter]
ld d, BANK(UnownPicPointers)
-
.ok
- ld hl, PokemonPicPointers ; UnownPicPointers
+ ; These are assumed to be at the same address in their respective banks.
+ assert PokemonPicPointers == UnownPicPointers
+ ld hl, PokemonPicPointers
dec a
ld bc, 6
call AddNTimes