summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/home.asm b/home.asm
index 62594b43..3e465cdf 100644
--- a/home.asm
+++ b/home.asm
@@ -1242,7 +1242,7 @@ StringCmp::
; c = X coordinate of upper left corner of sprite
; de = base address of 4 tile number and attribute pairs
WriteOAMBlock::
- ld h, wOAMBuffer / $100
+ ld h, HIGH(wOAMBuffer)
swap a ; multiply by 16
ld l, a
call .writeOneEntry ; upper left