mirror of
https://github.com/Pecusx/dino-game.git
synced 2026-05-20 22:33:23 +02:00
wait for key release on the beginning
This commit is contained in:
+8
-2
@@ -21,6 +21,7 @@
|
|||||||
mva #0 COLOR2
|
mva #0 COLOR2
|
||||||
sta COLBAK
|
sta COLBAK
|
||||||
mva #15 COLOR1
|
mva #15 COLOR1
|
||||||
|
jsr wait_for_releasing_keyz
|
||||||
|
|
||||||
leet_anim
|
leet_anim
|
||||||
; test for going further
|
; test for going further
|
||||||
@@ -71,7 +72,11 @@ next_letter
|
|||||||
jmp @-
|
jmp @-
|
||||||
|
|
||||||
leet_end
|
leet_end
|
||||||
; wait for releasing keyz
|
jsr wait_for_releasing_keyz
|
||||||
|
rts
|
||||||
|
|
||||||
|
|
||||||
|
.proc wait_for_releasing_keyz
|
||||||
@ lda CONSOL
|
@ lda CONSOL
|
||||||
cmp #7
|
cmp #7
|
||||||
bne @-
|
bne @-
|
||||||
@@ -83,8 +88,9 @@ leet_end
|
|||||||
bne @-
|
bne @-
|
||||||
@ lda TRIG0
|
@ lda TRIG0
|
||||||
beq @-
|
beq @-
|
||||||
|
|
||||||
rts
|
rts
|
||||||
|
.endp
|
||||||
|
|
||||||
DL_pre
|
DL_pre
|
||||||
:8 .by SKIP8
|
:8 .by SKIP8
|
||||||
.by LMS+MODE2
|
.by LMS+MODE2
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user