Select and Option keys works in game

This commit is contained in:
Pecusx
2022-08-22 21:39:16 +02:00
parent 90eff39dda
commit 701aff0435
5 changed files with 18 additions and 6 deletions
+9 -1
View File
@@ -1182,6 +1182,14 @@ ContinueToCheckMaxForce2
; $f3 - shift+key
notpressed
; Select and Option
lda CONSOL
tay
and #%00000100
beq callActivation ; Option key
tya
and #%00000010
jeq pressedTAB ; Select key
lda SKSTAT
cmp #$ff
jeq checkJoy
@@ -2829,7 +2837,7 @@ GoDown
FloatDown
lda ytankstable,x
cmp FloatingAlt
beq OnGround
bcs OnGround
; first erase old tank position
mva #1 Erase
jsr DrawTankNr