mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-20 22:34:21 +02:00
Energy updates on status bar after AI uses battery
This commit is contained in:
@@ -1900,6 +1900,7 @@ ActiveDefence
|
||||
sta statusBuffer+80+39
|
||||
NoDefenceName
|
||||
|
||||
DisplayEnergy
|
||||
;=========================
|
||||
;displaying the energy of a tank
|
||||
;=========================
|
||||
|
||||
@@ -335,6 +335,7 @@ displayloop1
|
||||
;-------------------------------------------------
|
||||
.proc DisplayStatus
|
||||
;-------------------------------------------------
|
||||
DisplayEnergy
|
||||
DisplayAngle
|
||||
ldx TankNr
|
||||
rts
|
||||
|
||||
@@ -247,9 +247,9 @@ LowBatteries
|
||||
lda #ind_White_Flag
|
||||
sta ActiveDefenceWeapon,x
|
||||
jsr PutTankNr ; and draw tank witch Flag
|
||||
clc
|
||||
EnoughEnergy
|
||||
rts ; Carry = 0 - White Flag , Carry = 1 - We don't give up :)
|
||||
jsr DisplayStatus.DisplayEnergy
|
||||
rts
|
||||
.endp
|
||||
;
|
||||
.proc UseBattery
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user