Better display of robo-tanks names
This commit is contained in:
+4
-3
@@ -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
Binary file not shown.
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user