From bc79a08074ab5d1d25805fcde53aa4e38ad22188 Mon Sep 17 00:00:00 2001 From: 4am Date: Tue, 10 Sep 2019 00:22:28 -0400 Subject: [PATCH] shave literally 1 byte --- src/constants.a | 2 +- src/ui.common.a | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/constants.a b/src/constants.a index 2b9b008d8..2245bee22 100644 --- a/src/constants.a +++ b/src/constants.a @@ -9,7 +9,7 @@ ; D000..E4E9 - persistent data structures (gGlobalPrefsStore, gGamesListStore) ; ...end of data and start of code are approximate, in between is unused... ; ...if they ever overlap, things will go boom... -; E9C9..FFF9 - main program code +; E9CA..FFF9 - main program code ; FFFA..FFFF - NMI, reset, IRQ vectors ; ; LC RAM BANK 2 diff --git a/src/ui.common.a b/src/ui.common.a index b207640d5..7ed660aa4 100644 --- a/src/ui.common.a +++ b/src/ui.common.a @@ -391,6 +391,7 @@ IsSearchKey rts @goodkey ldx #0 +ConvenientlyPlacedRTS rts ; /!\ keep this last in the file to ensure it doesn't cross a page boundary /!\ @@ -410,7 +411,7 @@ WaitForKeyFor30Seconds sta Timeout+2 @loop lda KBD - bmi @gotKey + bmi ConvenientlyPlacedRTS inc RNDSEED+1 ; these are only ever incremented, never bne + ; reset (may be used as a pseudorandom @@ -424,6 +425,5 @@ WaitForKeyFor30Seconds bne @loop jsr CoverFade ; no input for ~30 seconds, switch to jmp MegaAttractMode ; mega-attract mode -@gotKey rts }