diff options
| author | Colton G. Rushton <colton51919@gmail.com> | 2022-07-09 18:18:20 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-09 17:18:20 -0400 |
| commit | c0085ea1b21a171ef9f4c73ad28a5306558f2cc3 (patch) | |
| tree | 311a4a64f13395e2f711b46f8b13bbc1b5ff849e /engine/movie/splash.asm | |
| parent | Fix typo: HeatButt -> HeadButt (diff) | |
| download | pokeyellow-c0085ea1b21a171ef9f4c73ad28a5306558f2cc3.tar.gz pokeyellow-c0085ea1b21a171ef9f4c73ad28a5306558f2cc3.tar.xz pokeyellow-c0085ea1b21a171ef9f4c73ad28a5306558f2cc3.zip | |
wOAMBuffer -> wShadowOAM (#95)
Diffstat (limited to 'engine/movie/splash.asm')
| -rw-r--r-- | engine/movie/splash.asm | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/engine/movie/splash.asm b/engine/movie/splash.asm index 0b14dcaa..13f80bb1 100644 --- a/engine/movie/splash.asm +++ b/engine/movie/splash.asm @@ -18,11 +18,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 @@ -32,7 +32,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 @@ -62,7 +62,7 @@ AnimateShootingStar: jr nz, .bigStarLoop ; Clear big star OAM. - ld hl, wOAMBuffer + ld hl, wShadowOAM ld c, 4 ld de, 4 .clearOAMLoop @@ -86,7 +86,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 @@ -109,7 +109,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] @@ -143,8 +143,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 @@ -206,7 +206,7 @@ SmallStarsEmptyWave: MoveDownSmallStars: ld b, 8 .loop - ld hl, wOAMBuffer + $5c + ld hl, wShadowOAMSprite23 ld a, [wMoveDownSmallStarsOAMCount] ld de, -4 ld c, a |
