summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-07 11:10:29 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-07 11:10:29 -0400
commit45ed05decf330faab4503fe8fecadc54698c9724 (patch)
treeadd3eeda2d09334209abe4e55341b674e64dd117 /home.asm
parentbbc257476f9aac8d04d75a8036d412caa8f7d515 (diff)
Use HIGH() and LOW()
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