tank names on gfx screen when aiming #107

This commit is contained in:
2022-07-09 21:42:30 -04:00
parent 48bfd3824d
commit 541a7566cb
6 changed files with 199 additions and 194 deletions
+6 -1
View File
@@ -1111,7 +1111,6 @@ ToHighFill
jne RepeatFill
rts
.endp
;--------------------------------------------------
.proc BeforeFire ;TankNr (byte)
;--------------------------------------------------
@@ -1146,6 +1145,9 @@ ContinueToCheckMaxForce2
wait ; best after drawing a tank
mva #1 plot4x4color
jsr DisplayTankNameAbove
;keyboard reading
; KBCODE keeps code of last keybi
@@ -1392,6 +1394,9 @@ pressedS
pressedSpace
;=================================
;we shoot here!!!
mva #0 plot4x4color
jsr DisplayTankNameAbove
mva #0 pressTimer ; reset
jsr WaitForKeyRelease
lda pressTimer