aboutsummaryrefslogtreecommitdiffstats
path: root/engine/movie/splash.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/movie/splash.asm
parentRemove comment about addresses (diff)
downloadpokeyellow-cc46b0e510e07f2e7a0d14732c02a2f416eac9e1.tar.gz
pokeyellow-cc46b0e510e07f2e7a0d14732c02a2f416eac9e1.tar.xz
pokeyellow-cc46b0e510e07f2e7a0d14732c02a2f416eac9e1.zip
wOAMBuffer -> wShadowOAM (#370)
Diffstat (limited to 'engine/movie/splash.asm')
-rw-r--r--engine/movie/splash.asm18
1 files changed, 9 insertions, 9 deletions
diff --git a/engine/movie/splash.asm b/engine/movie/splash.asm
index eede8ccb..2373a0f9 100644
--- a/engine/movie/splash.asm
+++ b/engine/movie/splash.asm
@@ -16,11 +16,11 @@ LoadShootingStarGraphics:
lb bc, BANK(FallingStar), (FallingStarEnd - FallingStar) / $10
call CopyVideoData
ld hl, GameFreakLogoOAMData
- ld de, wOAMBuffer + $60
+ ld de, wShadowOAMSprite24
ld bc, GameFreakLogoOAMDataEnd - GameFreakLogoOAMData
call CopyData
ld hl, GameFreakShootingStarOAMData
- ld de, wOAMBuffer
+ ld de, wShadowOAM
ld bc, GameFreakShootingStarOAMDataEnd - GameFreakShootingStarOAMData
jp CopyData
@@ -30,7 +30,7 @@ AnimateShootingStar:
call PlaySound
; Move the big star down and left across the screen.
- ld hl, wOAMBuffer
+ ld hl, wShadowOAM
lb bc, $a0, $4
.bigStarLoop
push hl
@@ -60,7 +60,7 @@ AnimateShootingStar:
jr nz, .bigStarLoop
; Clear big star OAM.
- ld hl, wOAMBuffer
+ ld hl, wShadowOAM
ld c, 4
ld de, 4
.clearOAMLoop
@@ -83,7 +83,7 @@ AnimateShootingStar:
; Copy 24 instances of the small stars OAM data.
; Note that their coordinates put them off-screen.
- ld de, wOAMBuffer
+ ld de, wShadowOAM
ld a, 24
.initSmallStarsOAMLoop
push af
@@ -106,7 +106,7 @@ AnimateShootingStar:
ld d, a
push bc
push hl
- ld hl, wOAMBuffer + $50
+ ld hl, wShadowOAMSprite20
ld c, 4
.smallStarsInnerLoop ; introduce new wave of 4 small stars OAM entries
ld a, [de]
@@ -131,8 +131,8 @@ AnimateShootingStar:
push af
; shift the existing OAM entries down to make room for the next wave
- ld hl, wOAMBuffer + $10
- ld de, wOAMBuffer
+ ld hl, wShadowOAMSprite04
+ ld de, wShadowOAM
ld bc, $50
call CopyData
@@ -186,7 +186,7 @@ SmallStarsEmptyWave:
MoveDownSmallStars:
ld b, 8
.loop
- ld hl, wOAMBuffer + $5c
+ ld hl, wShadowOAMSprite23
ld a, [wMoveDownSmallStarsOAMCount]
ld de, -4
ld c, a