mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-20 22:34:21 +02:00
Added support for long button press in the main menu (like Tab) and in the activation menu (activation).
This commit is contained in:
+3
-6
@@ -1520,12 +1520,9 @@ pressedSpace
|
||||
;we shoot here!!!
|
||||
lda #0
|
||||
sta ATRACT ; reset atract mode
|
||||
sta pressTimer ; reset
|
||||
jsr WaitForKeyRelease.StillWait
|
||||
lda pressTimer
|
||||
cmp #25 ; 1/2s
|
||||
bcc fire
|
||||
jmp callInventory
|
||||
jsr WaitForLongPress
|
||||
bcc fire ; short press
|
||||
jmp callInventory ; long press
|
||||
fire
|
||||
RTS
|
||||
.endp
|
||||
|
||||
Reference in New Issue
Block a user