aboutsummaryrefslogtreecommitdiffstats
path: root/engine/gfx/sprite_oam.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/sprite_oam.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/sprite_oam.asm')
-rw-r--r--engine/gfx/sprite_oam.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/gfx/sprite_oam.asm b/engine/gfx/sprite_oam.asm
index b3c07ecd..69956a31 100644
--- a/engine/gfx/sprite_oam.asm
+++ b/engine/gfx/sprite_oam.asm
@@ -1,6 +1,6 @@
PrepareOAMData::
; Determine OAM data for currently visible
-; sprites and write it to wOAMBuffer.
+; sprites and write it to wShadowOAM.
ld a, [wUpdateSpritesEnabled]
dec a
@@ -79,7 +79,7 @@ PrepareOAMData::
ldh a, [hOAMBufferOffset]
ld e, a
- ld d, HIGH(wOAMBuffer)
+ ld d, HIGH(wShadowOAM)
.tileLoop
ldh a, [hSpriteScreenY] ; temp for sprite Y position
@@ -147,7 +147,7 @@ PrepareOAMData::
; Clear unused OAM.
ldh a, [hOAMBufferOffset]
ld l, a
- ld h, HIGH(wOAMBuffer)
+ ld h, HIGH(wShadowOAM)
ld de, $4
ld b, $a0
ld a, [wd736]