aboutsummaryrefslogtreecommitdiffstats
path: root/home/lcdc.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-11-04 15:16:20 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-11-04 19:44:31 -0500
commitaae999f72bd81a3156c7e00da4ebf499f52da5a6 (patch)
tree32fef70a31af3a0b5ad2b0d34042c312574fb42d /home/lcdc.asm
parentMerge branch 'master' of https://github.com/pret/pokered (diff)
downloadpokeyellow-aae999f72bd81a3156c7e00da4ebf499f52da5a6.tar.gz
pokeyellow-aae999f72bd81a3156c7e00da4ebf499f52da5a6.tar.xz
pokeyellow-aae999f72bd81a3156c7e00da4ebf499f52da5a6.zip
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