ATRACT mode fixed.
This commit is contained in:
@@ -1617,6 +1617,8 @@ notpressedJoyGetKey
|
|||||||
lda #@kbcode._ret ;Return key
|
lda #@kbcode._ret ;Return key
|
||||||
|
|
||||||
getkeyend
|
getkeyend
|
||||||
|
ldx #0
|
||||||
|
stx ATRACT ; reset atract mode
|
||||||
mvx #sfx_keyclick sfx_effect
|
mvx #sfx_keyclick sfx_effect
|
||||||
rts
|
rts
|
||||||
.endp
|
.endp
|
||||||
|
|||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+5
-3
@@ -1206,7 +1206,8 @@ checkJoy
|
|||||||
and #$0f
|
and #$0f
|
||||||
cmp #$0f
|
cmp #$0f
|
||||||
beq notpressedJoy
|
beq notpressedJoy
|
||||||
tay
|
tay
|
||||||
|
mva #0 ATRACT ; reset atract mode
|
||||||
lda joyToKeyTable,y
|
lda joyToKeyTable,y
|
||||||
jmp jumpFromStick
|
jmp jumpFromStick
|
||||||
notpressedJoy
|
notpressedJoy
|
||||||
@@ -1415,8 +1416,9 @@ pressedS
|
|||||||
pressedSpace
|
pressedSpace
|
||||||
;=================================
|
;=================================
|
||||||
;we shoot here!!!
|
;we shoot here!!!
|
||||||
|
lda #0
|
||||||
mva #0 pressTimer ; reset
|
sta ATRACT ; reset atract mode
|
||||||
|
sta pressTimer ; reset
|
||||||
jsr WaitForKeyRelease
|
jsr WaitForKeyRelease
|
||||||
lda pressTimer
|
lda pressTimer
|
||||||
cmp #25 ; 1/2s
|
cmp #25 ; 1/2s
|
||||||
|
|||||||
Reference in New Issue
Block a user