Bit 7 of wJumptableIndex is often JUMPTABLE_EXIT_F
This commit is contained in:
@@ -1033,7 +1033,7 @@ StartTitleScreen:
|
||||
|
||||
RunTitleScreen:
|
||||
ld a, [wJumptableIndex]
|
||||
bit 7, a
|
||||
bit JUMPTABLE_EXIT_F, a
|
||||
jr nz, .done_title
|
||||
call TitleScreenScene
|
||||
farcall SuicuneFrameIterator
|
||||
@@ -1211,7 +1211,7 @@ TitleScreenMain:
|
||||
|
||||
; Return to the intro sequence.
|
||||
ld hl, wJumptableIndex
|
||||
set 7, [hl]
|
||||
set JUMPTABLE_EXIT_F, [hl]
|
||||
ret
|
||||
|
||||
.end
|
||||
@@ -1236,7 +1236,7 @@ TitleScreenMain:
|
||||
|
||||
; Return to the intro sequence.
|
||||
ld hl, wJumptableIndex
|
||||
set 7, [hl]
|
||||
set JUMPTABLE_EXIT_F, [hl]
|
||||
ret
|
||||
|
||||
TitleScreenEnd:
|
||||
@@ -1254,7 +1254,7 @@ TitleScreenEnd:
|
||||
|
||||
; Back to the intro.
|
||||
ld hl, wJumptableIndex
|
||||
set 7, [hl]
|
||||
set JUMPTABLE_EXIT_F, [hl]
|
||||
ret
|
||||
|
||||
DeleteSaveData:
|
||||
|
Reference in New Issue
Block a user