aboutsummaryrefslogtreecommitdiffstats
path: root/engine/gfx/mon_icons.asm
diff options
context:
space:
mode:
authorColton G. Rushton <colton51919@gmail.com>2022-07-09 18:18:18 -0300
committerGitHub <noreply@github.com>2022-07-09 17:18:18 -0400
commitcc46b0e510e07f2e7a0d14732c02a2f416eac9e1 (patch)
tree2c3123876e48b8888b940aa239139c64e1eade82 /engine/gfx/mon_icons.asm
parentRemove comment about addresses (diff)
downloadpokeyellow-cc46b0e510e07f2e7a0d14732c02a2f416eac9e1.tar.gz
pokeyellow-cc46b0e510e07f2e7a0d14732c02a2f416eac9e1.tar.xz
pokeyellow-cc46b0e510e07f2e7a0d14732c02a2f416eac9e1.zip
wOAMBuffer -> wShadowOAM (#370)
Diffstat (limited to 'engine/gfx/mon_icons.asm')
-rw-r--r--engine/gfx/mon_icons.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/gfx/mon_icons.asm b/engine/gfx/mon_icons.asm
index 6f6b88c7..73b1632f 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
@@ -236,7 +236,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
@@ -252,7 +252,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