From ac48d654987ef1df3a7ca6e5a40d8e6eab477d7f Mon Sep 17 00:00:00 2001 From: mid-kid Date: Mon, 3 Aug 2020 23:00:41 +0200 Subject: Document wTitleScreenSelectedOption variable --- engine/menus/intro_menu.asm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'engine/menus/intro_menu.asm') diff --git a/engine/menus/intro_menu.asm b/engine/menus/intro_menu.asm index be0e3a188..6126cb1b9 100644 --- a/engine/menus/intro_menu.asm +++ b/engine/menus/intro_menu.asm @@ -999,8 +999,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 @@ -1200,7 +1200,7 @@ TitleScreenMain: ld a, 1 .done - ld [wIntroSceneFrameCounter], a + ld [wTitleScreenSelectedOption], a ; Return to the intro sequence. ld hl, wJumptableIndex @@ -1225,7 +1225,7 @@ TitleScreenMain: .clock_reset ld a, 4 - ld [wIntroSceneFrameCounter], a + ld [wTitleScreenSelectedOption], a ; Return to the intro sequence. ld hl, wJumptableIndex @@ -1243,7 +1243,7 @@ TitleScreenEnd: ret nz ld a, 2 - ld [wIntroSceneFrameCounter], a + ld [wTitleScreenSelectedOption], a ; Back to the intro. ld hl, wJumptableIndex -- cgit v1.2.3