summaryrefslogtreecommitdiff
path: root/home/lcd.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-12-26 21:59:03 -0500
committerPikalaxALT <PikalaxALT@gmail.com>2015-12-26 21:59:03 -0500
commitf030315b1fd797aa6765ac8cd8c35c0cd9b600a0 (patch)
treeda461ae6040d2a2f0e0b3a95e837a6c5e99e2fd6 /home/lcd.asm
parent2bd45ca574aab251b91c24837b102c9c2a5e76a0 (diff)
jumptable macro repurposed
Diffstat (limited to 'home/lcd.asm')
-rw-r--r--home/lcd.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/home/lcd.asm b/home/lcd.asm
index ad95b3c66..875043bc0 100644
--- a/home/lcd.asm
+++ b/home/lcd.asm
@@ -3,7 +3,7 @@
Function547:: ; 547
; Unreferenced
- ld a, [hLCDStatCustom]
+ ld a, [hFFC6]
cp rSCX - $ff00
ret nz
ld c, a
@@ -15,7 +15,7 @@ Function547:: ; 547
LCD:: ; 552
push af
- ld a, [hLCDStatCustom]
+ ld a, [hFFC6]
and a
jr z, .done
@@ -26,7 +26,7 @@ LCD:: ; 552
ld b, LYOverrides >> 8
ld a, [bc]
ld b, a
- ld a, [hLCDStatCustom]
+ ld a, [hFFC6]
ld c, a
ld a, b
ld [$ff00+c], a