tank names for robots #107

This commit is contained in:
2022-07-10 13:17:56 -04:00
parent c28d243719
commit b63b7a3fb1
3 changed files with 9 additions and 5 deletions
+9 -1
View File
@@ -394,8 +394,13 @@ DoNotFinishTheRound
jeq NextPlayerShoots jeq NextPlayerShoots
mva #1 plot4x4color
jsr DisplayTankNameAbove
mva #1 color ;to display flying point mva #1 color ;to display flying point
ldx tankNr
lda TankStatusColoursTable,x lda TankStatusColoursTable,x
sta colpf2s ; set color of status line sta colpf2s ; set color of status line
@@ -407,7 +412,8 @@ RoboTanks
; TankNr still in X ; TankNr still in X
jsr ArtificialIntelligence jsr ArtificialIntelligence
jsr PutTankNameOnScreen jsr PutTankNameOnScreen
jsr DisplayStatus jsr DisplayStatus
pause 30
ldx TankNr ldx TankNr
jsr MoveBarrelToNewPosition jsr MoveBarrelToNewPosition
lda kbcode lda kbcode
@@ -430,6 +436,8 @@ ManualShooting
seq:rts seq:rts
AfterManualShooting AfterManualShooting
mva #0 plot4x4color
jsr DisplayTankNameAbove
; defensive weapons without flight handling ; defensive weapons without flight handling
ldx TankNr ldx TankNr
lda ActiveDefenceWeapon,x lda ActiveDefenceWeapon,x
BIN
View File
Binary file not shown.
-4
View File
@@ -1145,8 +1145,6 @@ ContinueToCheckMaxForce2
wait ; best after drawing a tank wait ; best after drawing a tank
mva #1 plot4x4color
jsr DisplayTankNameAbove
;keyboard reading ;keyboard reading
@@ -1394,8 +1392,6 @@ pressedS
pressedSpace pressedSpace
;================================= ;=================================
;we shoot here!!! ;we shoot here!!!
mva #0 plot4x4color
jsr DisplayTankNameAbove
mva #0 pressTimer ; reset mva #0 pressTimer ; reset
jsr WaitForKeyRelease jsr WaitForKeyRelease