aboutsummaryrefslogtreecommitdiffstats
path: root/engine/gfx/mon_icons.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/gfx/mon_icons.asm')
-rw-r--r--engine/gfx/mon_icons.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/gfx/mon_icons.asm b/engine/gfx/mon_icons.asm
index cb5534d0..dce62c9a 100644
--- a/engine/gfx/mon_icons.asm
+++ b/engine/gfx/mon_icons.asm
@@ -43,7 +43,7 @@ GetAnimationSpeed:
.resetSprites
push bc
ld hl, wMonPartySpritesSavedOAM
- ld de, wOAMBuffer
+ ld de, wShadowOAM
ld bc, $60
call CopyData
pop bc
@@ -51,7 +51,7 @@ GetAnimationSpeed:
jr .incTimer
.animateSprite
push bc
- ld hl, wOAMBuffer + $02 ; OAM tile id
+ ld hl, wShadowOAMSprite00TileID
ld bc, $10
ld a, [wCurrentMenuItem]
call AddNTimes
@@ -186,7 +186,7 @@ WriteMonPartySpriteOAMByPartyIndex:
ret
.asm_7191f
- ld hl, wOAMBuffer
+ ld hl, wShadowOAM
ld de, wMonPartySpritesSavedOAM
ld bc, $60
call CopyData
@@ -248,7 +248,7 @@ WriteMonPartySpriteOAM:
; make a copy at wMonPartySpritesSavedOAM.
push af
ld c, $10
- ld h, HIGH(wOAMBuffer)
+ ld h, HIGH(wShadowOAM)
ldh a, [hPartyMonIndex]
swap a
ld l, a
@@ -264,7 +264,7 @@ WriteMonPartySpriteOAM:
; Make a copy of the OAM buffer with the first animation frame written so that
; we can flip back to it from the second frame by copying it back.
.makeCopy
- ld hl, wOAMBuffer
+ ld hl, wShadowOAM
ld de, wMonPartySpritesSavedOAM
ld bc, $60
jp CopyData