summaryrefslogtreecommitdiff
path: root/engine/menus/intro_menu.asm
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2020-08-03 23:00:41 +0200
committermid-kid <esteve.varela@gmail.com>2020-08-05 16:02:23 +0200
commit6b2a0b288966a7c25d953545b9bb085d8dc3de58 (patch)
tree536d638629e0e7dbd492921282b16e277eb06cc8 /engine/menus/intro_menu.asm
parent908b2565faadc7efbfce7d9afb2bbb89188ae2df (diff)
Document wTitleScreenSelectedOption variable
Diffstat (limited to 'engine/menus/intro_menu.asm')
-rw-r--r--engine/menus/intro_menu.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/menus/intro_menu.asm b/engine/menus/intro_menu.asm
index 3fdc42cd..0708d9b1 100644
--- a/engine/menus/intro_menu.asm
+++ b/engine/menus/intro_menu.asm
@@ -864,8 +864,8 @@ StartTitleScreen:
ld b, SCGB_DIPLOMA
call GetSGBLayout
call UpdateTimePals
- ld a, [wIntroSceneFrameCounter]
- cp $5
+ ld a, [wTitleScreenSelectedOption]
+ cp 5
jr c, .ok
xor a
.ok
@@ -1002,7 +1002,7 @@ TitleScreenMain:
ld a, 1
.done
- ld [wIntroSceneFrameCounter], a
+ ld [wTitleScreenSelectedOption], a
; Return to the intro sequence.
ld hl, wJumptableIndex
@@ -1027,7 +1027,7 @@ TitleScreenMain:
.clock_reset
ld a, 4
- ld [wIntroSceneFrameCounter], a
+ ld [wTitleScreenSelectedOption], a
; Return to the intro sequence.
ld hl, wJumptableIndex
@@ -1045,7 +1045,7 @@ TitleScreenEnd:
ret nz
ld a, 2
- ld [wIntroSceneFrameCounter], a
+ ld [wTitleScreenSelectedOption], a
; Back to the intro.
ld hl, wJumptableIndex