mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
WIP: press I for inventory #26
This commit is contained in:
+9
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user