summaryrefslogtreecommitdiff
path: root/predef/sgb.asm
diff options
context:
space:
mode:
Diffstat (limited to 'predef/sgb.asm')
-rw-r--r--predef/sgb.asm2
1 files changed, 1 insertions, 1 deletions
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