aboutsummaryrefslogtreecommitdiffstats
path: root/engine/movie
diff options
context:
space:
mode:
authorRangi42 <sylvie.oukaour+rangi42@gmail.com>2025-07-02 23:39:15 -0400
committerRangi42 <sylvie.oukaour+rangi42@gmail.com>2025-07-02 23:39:15 -0400
commit5a142e3fee043ad950c361bdd0e5d7e9e9f1e467 (patch)
treeaf8573a5f2683de5467cf5ffb0a4cdc7cd0a7d4c /engine/movie
parentMerge branch 'master' of https://github.com/pret/pokered (diff)
downloadpokeyellow-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.asm6
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