diff options
| author | Rangi42 <sylvie.oukaour+rangi42@gmail.com> | 2025-07-02 23:39:15 -0400 |
|---|---|---|
| committer | Rangi42 <sylvie.oukaour+rangi42@gmail.com> | 2025-07-02 23:39:15 -0400 |
| commit | 5a142e3fee043ad950c361bdd0e5d7e9e9f1e467 (patch) | |
| tree | af8573a5f2683de5467cf5ffb0a4cdc7cd0a7d4c /engine/movie | |
| parent | Merge branch 'master' of https://github.com/pret/pokered (diff) | |
| download | pokeyellow-5a142e3fee043ad950c361bdd0e5d7e9e9f1e467.tar.gz pokeyellow-5a142e3fee043ad950c361bdd0e5d7e9e9f1e467.tar.xz pokeyellow-5a142e3fee043ad950c361bdd0e5d7e9e9f1e467.zip | |
Use hardware.inc constants in places unique to Yellow
Diffstat (limited to 'engine/movie')
| -rw-r--r-- | engine/movie/intro_yellow.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/movie/intro_yellow.asm b/engine/movie/intro_yellow.asm index 47203580..37eee6f8 100644 --- a/engine/movie/intro_yellow.asm +++ b/engine/movie/intro_yellow.asm @@ -43,7 +43,7 @@ PlayIntroScene: ldh [hWY], a call ClearObjectAnimationBuffers ld hl, wTileMap - ld bc, SCREEN_WIDTH * SCREEN_HEIGHT + ld bc, SCREEN_AREA xor a call Bank3E_FillMemory call YellowIntro_BlankOAMBuffer @@ -823,7 +823,7 @@ InitYellowIntroGFXAndMusic: ldh [hAutoBGTransferDest + 1], a call YellowIntro_BlankTileMap ld hl, wTileMap - ld bc, SCREEN_WIDTH * SCREEN_HEIGHT + ld bc, SCREEN_AREA ld a, $1 call Bank3E_FillMemory hlcoord 0, 4 @@ -881,7 +881,7 @@ LoadYellowIntroObjectAnimationDataPointers: YellowIntro_BlankTileMap: ld hl, wTileMap - ld bc, SCREEN_WIDTH * SCREEN_HEIGHT + ld bc, SCREEN_AREA ld a, $7f call Bank3E_FillMemory ret |
