mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
tank names for robots #107
This commit is contained in:
+9
-1
@@ -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
Binary file not shown.
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user