WIP: press I for inventory #26

This commit is contained in:
2022-06-11 05:51:13 -04:00
parent eb7f6369de
commit c1aa177767
8 changed files with 49 additions and 39 deletions
+9 -2
View File
@@ -1040,9 +1040,9 @@ notpressed
beq notpressed
lda SKSTAT
cmp #$ff
beq checkJoy
jeq checkJoy
cmp #$f7 ; SHIFT
beq checkJoy
jeq checkJoy
lda kbcode
and #%10111111 ; SHIFT elimination
@@ -1055,6 +1055,13 @@ notpressed
;---esc pressed-quit game---
rts
@
cmp #$0d ; I
bne @+
jsr Purchase
mva #0 escFlag
jsr SetMainScreen
jsr DrawTanks
@
cmp #$8e
jeq CTRLPressedUp