fix timeout to attract mode

This commit is contained in:
4am 2019-06-23 14:26:43 -04:00
parent 971e7a6606
commit 81162b1784
2 changed files with 2 additions and 4 deletions

View File

@ -80,7 +80,6 @@ RestoreStackNextTime
!source "src/parse.games.a" !source "src/parse.games.a"
!source "src/ui.sound.a" !source "src/ui.sound.a"
!source "src/ui.font.a" !source "src/ui.font.a"
Mode !byte $00
gGlobalPrefsStore gGlobalPrefsStore
!word $D000 ; address of first okvs store !word $D000 ; address of first okvs store
!word Reenter ; NMI vector ($FFFA-B) !word Reenter ; NMI vector ($FFFA-B)

View File

@ -48,9 +48,8 @@ _SearchModeInputLoop
bne - ; on every keypress (whether or not bne - ; on every keypress (whether or not
dec $52 ; the key leads to an action) dec $52 ; the key leads to an action)
bne - bne -
lda #kAttractMode ; no input for ~30 seconds jsr _CoverFade
sta Mode ; switch to attract mode jmp MegaAttractMode
jmp _CoverFade
@gotKey @gotKey
jsr _ResetInputTimeout jsr _ResetInputTimeout