mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-26 04:33:10 +00:00
shave literally 1 byte
This commit is contained in:
parent
308fdea6d0
commit
bc79a08074
@ -9,7 +9,7 @@
|
|||||||
; D000..E4E9 - persistent data structures (gGlobalPrefsStore, gGamesListStore)
|
; D000..E4E9 - persistent data structures (gGlobalPrefsStore, gGamesListStore)
|
||||||
; ...end of data and start of code are approximate, in between is unused...
|
; ...end of data and start of code are approximate, in between is unused...
|
||||||
; ...if they ever overlap, things will go boom...
|
; ...if they ever overlap, things will go boom...
|
||||||
; E9C9..FFF9 - main program code
|
; E9CA..FFF9 - main program code
|
||||||
; FFFA..FFFF - NMI, reset, IRQ vectors
|
; FFFA..FFFF - NMI, reset, IRQ vectors
|
||||||
;
|
;
|
||||||
; LC RAM BANK 2
|
; LC RAM BANK 2
|
||||||
|
@ -391,6 +391,7 @@ IsSearchKey
|
|||||||
rts
|
rts
|
||||||
@goodkey
|
@goodkey
|
||||||
ldx #0
|
ldx #0
|
||||||
|
ConvenientlyPlacedRTS
|
||||||
rts
|
rts
|
||||||
|
|
||||||
; /!\ keep this last in the file to ensure it doesn't cross a page boundary /!\
|
; /!\ keep this last in the file to ensure it doesn't cross a page boundary /!\
|
||||||
@ -410,7 +411,7 @@ WaitForKeyFor30Seconds
|
|||||||
sta Timeout+2
|
sta Timeout+2
|
||||||
@loop
|
@loop
|
||||||
lda KBD
|
lda KBD
|
||||||
bmi @gotKey
|
bmi ConvenientlyPlacedRTS
|
||||||
|
|
||||||
inc RNDSEED+1 ; these are only ever incremented, never
|
inc RNDSEED+1 ; these are only ever incremented, never
|
||||||
bne + ; reset (may be used as a pseudorandom
|
bne + ; reset (may be used as a pseudorandom
|
||||||
@ -424,6 +425,5 @@ WaitForKeyFor30Seconds
|
|||||||
bne @loop
|
bne @loop
|
||||||
jsr CoverFade ; no input for ~30 seconds, switch to
|
jsr CoverFade ; no input for ~30 seconds, switch to
|
||||||
jmp MegaAttractMode ; mega-attract mode
|
jmp MegaAttractMode ; mega-attract mode
|
||||||
@gotKey rts
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user