Bit 7 of wJumptableIndex is often JUMPTABLE_EXIT_F
This commit is contained in:
@@ -47,7 +47,7 @@ Pokedex:
|
||||
.main
|
||||
call JoyTextDelay
|
||||
ld a, [wJumptableIndex]
|
||||
bit 7, a
|
||||
bit JUMPTABLE_EXIT_F, a
|
||||
jr nz, .exit
|
||||
call Pokedex_RunJumptable
|
||||
call DelayFrame
|
||||
@@ -211,7 +211,7 @@ Pokedex_IncrementDexPointer:
|
||||
|
||||
Pokedex_Exit:
|
||||
ld hl, wJumptableIndex
|
||||
set 7, [hl]
|
||||
set JUMPTABLE_EXIT_F, [hl]
|
||||
ret
|
||||
|
||||
Pokedex_InitMainScreen:
|
||||
|
Reference in New Issue
Block a user