aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/core.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/battle/core.asm
parentRemove comment about addresses (diff)
downloadpokeyellow-cc46b0e510e07f2e7a0d14732c02a2f416eac9e1.tar.gz
pokeyellow-cc46b0e510e07f2e7a0d14732c02a2f416eac9e1.tar.xz
pokeyellow-cc46b0e510e07f2e7a0d14732c02a2f416eac9e1.zip
wOAMBuffer -> wShadowOAM (#370)
Diffstat (limited to 'engine/battle/core.asm')
-rw-r--r--engine/battle/core.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index c746e52b..580a9899 100644
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -105,7 +105,7 @@ SlidePlayerAndEnemySilhouettesOnScreen:
; instead, the enemy pic is part of the background and uses the scroll register, while the player's head is a sprite and is slid by changing its X coordinates in a loop
SlidePlayerHeadLeft:
push bc
- ld hl, wOAMBuffer + $01
+ ld hl, wShadowOAMSprite00XCoord
ld c, $15 ; number of OAM entries
ld de, $4 ; size of OAM entry
.loop
@@ -6327,7 +6327,7 @@ LoadPlayerBackPic:
ASSERT BANK(RedPicBack) == BANK(OldManPicBack)
call UncompressSpriteFromDE
predef ScaleSpriteByTwo
- ld hl, wOAMBuffer
+ ld hl, wShadowOAM
xor a
ldh [hOAMTile], a ; initial tile number
ld b, $7 ; 7 columns