Use "- $ff00" instead of "& $ff" when dealing with hram.

This commit is contained in:
yenatch
2014-12-29 08:47:47 -08:00
parent 1a2784d414
commit 133e2fb7a7
3 changed files with 14 additions and 9 deletions

View File

@@ -3,7 +3,7 @@
Function547:: ; 547
ld a, [hLCDStatCustom]
cp rSCX & $ff
cp rSCX - $ff00
ret nz
ld c, a
ld a, [LYOverrides]