aboutsummaryrefslogtreecommitdiffstats
path: root/engine/gfx/mon_icons.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/gfx/mon_icons.asm')
-rwxr-xr-xengine/gfx/mon_icons.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/gfx/mon_icons.asm b/engine/gfx/mon_icons.asm
index 19008c05..253fca35 100755
--- a/engine/gfx/mon_icons.asm
+++ b/engine/gfx/mon_icons.asm
@@ -236,7 +236,7 @@ WriteMonPartySpriteOAM:
; make a copy at wMonPartySpritesSavedOAM.
push af
ld c, $10
- ld h, wOAMBuffer / $100
+ ld h, HIGH(wOAMBuffer)
ldh a, [hPartyMonIndex]
swap a
ld l, a