Better display of robo-tanks names

This commit is contained in:
Pecusx
2022-07-05 14:30:40 +02:00
parent 5933b00153
commit a353e3bdb9
3 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -402,11 +402,12 @@ DoNotFinishTheRound
beq ManualShooting beq ManualShooting
RoboTanks RoboTanks
; robotanks shoot here ; robotanks shoot here
jsr ArtificialIntelligence jsr ArtificialIntelligence
jsr MoveBarrelToNewPosition
jsr DisplayStatus ;all digital values like force, angle, wind, etc.
jsr PutTankNameOnScreen jsr PutTankNameOnScreen
ldx TankNr
jsr MoveBarrelToNewPosition
;jsr DisplayStatus ;all digital values like force, angle, wind, etc. (but it is done in MoveBarrelToNewPosition proc)
lda kbcode lda kbcode
cmp #28 ; ESC cmp #28 ; ESC
bne @+ bne @+
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1980,7 +1980,7 @@ DisplayWindValue
.endp .endp
;------------------------------------------------- ;-------------------------------------------------
.proc PutTankNameOnScreen .proc PutTankNameOnScreen
; puts name of the tan on the screen ; puts name of the tank on the screen
ldy #$00 ldy #$00
lda tanknr lda tanknr
asl asl