aboutsummaryrefslogtreecommitdiffstats
path: root/engine
diff options
context:
space:
mode:
authorSylvie <35663410+Rangi42@users.noreply.github.com>2024-09-24 10:48:10 -0400
committerGitHub <noreply@github.com>2024-09-24 10:48:10 -0400
commit6ae63a8ceac9c191ad89a1e9382ce3c87e6b2481 (patch)
tree7cdbc055c2bb6c949946a4fd931a4451b0adff97 /engine
parentIdentify more bit flags (#465) (diff)
downloadpokeyellow-6ae63a8ceac9c191ad89a1e9382ce3c87e6b2481.tar.gz
pokeyellow-6ae63a8ceac9c191ad89a1e9382ce3c87e6b2481.tar.xz
pokeyellow-6ae63a8ceac9c191ad89a1e9382ce3c87e6b2481.zip
Identify hardware register bits (#469)
Diffstat (limited to 'engine')
-rw-r--r--engine/movie/hall_of_fame.asm4
-rw-r--r--engine/movie/intro.asm4
2 files changed, 4 insertions, 4 deletions
diff --git a/engine/movie/hall_of_fame.asm b/engine/movie/hall_of_fame.asm
index a43ec5da..aebe65f0 100644
--- a/engine/movie/hall_of_fame.asm
+++ b/engine/movie/hall_of_fame.asm
@@ -12,7 +12,7 @@ AnimateHallOfFame:
call FillMemory
call EnableLCD
ld hl, rLCDC
- set 3, [hl]
+ set rLCDC_BG_TILEMAP, [hl]
xor a
ld hl, wHallOfFame
ld bc, HOF_TEAM
@@ -88,7 +88,7 @@ AnimateHallOfFame:
xor a
ldh [hWY], a
ld hl, rLCDC
- res 3, [hl]
+ res rLCDC_BG_TILEMAP, [hl]
ret
HallOfFameText:
diff --git a/engine/movie/intro.asm b/engine/movie/intro.asm
index f489c60b..552b1358 100644
--- a/engine/movie/intro.asm
+++ b/engine/movie/intro.asm
@@ -319,8 +319,8 @@ PlayShootingStar:
call LoadIntroGraphics
call EnableLCD
ld hl, rLCDC
- res 5, [hl]
- set 3, [hl]
+ res rLCDC_WINDOW_ENABLE, [hl]
+ set rLCDC_BG_TILEMAP, [hl]
ld c, 64
call DelayFrames
farcall AnimateShootingStar