mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 06:39:40 +02:00
Press A to defensives activate
This commit is contained in:
BIN
Binary file not shown.
+12
-1
@@ -1207,8 +1207,18 @@ notpressed
|
|||||||
bpl notpressed
|
bpl notpressed
|
||||||
;---esc pressed-quit game---
|
;---esc pressed-quit game---
|
||||||
rts
|
rts
|
||||||
|
|
||||||
@
|
@
|
||||||
|
cmp #$3f ; A
|
||||||
|
bne @+
|
||||||
|
callActivation
|
||||||
|
; Hide all tanks - after inventory they may have other shapes
|
||||||
|
mva #1 Erase
|
||||||
|
jsr DrawTanks
|
||||||
|
mva #0 Erase
|
||||||
|
jsr DefensivesActivate
|
||||||
|
jmp afterInventory
|
||||||
|
|
||||||
|
@
|
||||||
cmp #$0d ; I
|
cmp #$0d ; I
|
||||||
bne @+
|
bne @+
|
||||||
callInventory
|
callInventory
|
||||||
@@ -1219,6 +1229,7 @@ callInventory
|
|||||||
;
|
;
|
||||||
mva #$ff isInventory
|
mva #$ff isInventory
|
||||||
jsr Purchase
|
jsr Purchase
|
||||||
|
afterInventory
|
||||||
mva #0 dmactls ; dark screen
|
mva #0 dmactls ; dark screen
|
||||||
jsr WaitOneFrame
|
jsr WaitOneFrame
|
||||||
lda #song_ingame
|
lda #song_ingame
|
||||||
|
|||||||
Reference in New Issue
Block a user