aboutsummaryrefslogtreecommitdiffstats
path: root/home/lcdc.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-11-04 20:11:52 -0500
committerGitHub <noreply@github.com>2020-11-04 20:11:52 -0500
commited03fc4f4a3287a01647e528abba27aac1937de0 (patch)
tree32fef70a31af3a0b5ad2b0d34042c312574fb42d /home/lcdc.asm
parentMerge branch 'master' of https://github.com/pret/pokered (diff)
parentStart reorganizing pokeyellow (diff)
downloadpokeyellow-ed03fc4f4a3287a01647e528abba27aac1937de0.tar.gz
pokeyellow-ed03fc4f4a3287a01647e528abba27aac1937de0.tar.xz
pokeyellow-ed03fc4f4a3287a01647e528abba27aac1937de0.zip
Merge pull request #59 from Rangi42/master
Start reorganizing pokeyellow
Diffstat (limited to 'home/lcdc.asm')
-rw-r--r--home/lcdc.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/lcdc.asm b/home/lcdc.asm
index dd3fb2fb..4b350cc2 100644
--- a/home/lcdc.asm
+++ b/home/lcdc.asm
@@ -7,7 +7,7 @@ LCDC::
; [C700 + [rLY]] --> [FF00 + [hLCDCPointer]]
ldh a, [rLY]
ld l, a
- ld h, wLYOverrides / $100
+ ld h, HIGH(wLYOverrides)
ld h, [hl] ; h != not part of pointer
ldh a, [hLCDCPointer]
ld l, a