From 5a142e3fee043ad950c361bdd0e5d7e9e9f1e467 Mon Sep 17 00:00:00 2001 From: Rangi42 Date: Wed, 2 Jul 2025 23:39:15 -0400 Subject: Use hardware.inc constants in places unique to Yellow --- engine/movie/intro_yellow.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engine/movie') 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 -- cgit v1.3.1-sl0p