New weapon (I promise - last one :) ) - Spy Hard!

This commit is contained in:
Pecusx
2022-11-11 13:27:20 +01:00
parent ac1c501fa4
commit 50cc7f16df
9 changed files with 76 additions and 10 deletions
+5 -4
View File
@@ -328,6 +328,7 @@ MainGameLoop
jsr SetStandardBarrels
jsr CallPurchaseForEveryTank
mva #0 SpyHardFlag
; issue #72 (glitches when switches)
jsr MakeDarkScreen
@@ -1681,7 +1682,7 @@ SetRandomWalls
and #$3f ;CTRL and SHIFT ellimination
cmp #@kbcode._esc ; 28 ; ESC
bne getkeyend
mvx #$80 escFlag
mvy #$80 escFlag
bne getkeyend
checkJoyGetKey
@@ -1703,9 +1704,9 @@ notpressedJoyGetKey
lda #@kbcode._ret ;Return key
getkeyend
ldx #0
stx ATRACT ; reset atract mode
mvx #sfx_keyclick sfx_effect
ldy #0
sty ATRACT ; reset atract mode
mvy #sfx_keyclick sfx_effect
rts
.endp