summaryrefslogtreecommitdiff
path: root/predef
diff options
context:
space:
mode:
Diffstat (limited to 'predef')
-rw-r--r--predef/cgb.asm2
-rw-r--r--predef/sgb.asm2
2 files changed, 2 insertions, 2 deletions
diff --git a/predef/cgb.asm b/predef/cgb.asm
index 5ac243963..af762221e 100644
--- a/predef/cgb.asm
+++ b/predef/cgb.asm
@@ -204,7 +204,7 @@ _CGB_PokegearPals: ; 8eb9
_CGB_StatsScreenHPPals: ; 8edb
ld de, UnknBGPals
- ld a, [wcda1]
+ ld a, [wCurHPPal]
ld l, a
ld h, $0
add hl, hl
diff --git a/predef/sgb.asm b/predef/sgb.asm
index 1d8184cc2..545a8d4e8 100644
--- a/predef/sgb.asm
+++ b/predef/sgb.asm
@@ -168,7 +168,7 @@ Predef_LoadSGBLayout: ; 864c
ld de, wSGBPals
ld bc, $10
call CopyBytes
- ld a, [wcda1]
+ ld a, [wCurHPPal]
ld l, a
ld h, 0
add hl, hl