mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-20 22:34:21 +02:00
Improvements in "AutoDefense" - now works great!
This commit is contained in:
+3
-2
@@ -617,14 +617,15 @@ DoNotFinishTheRound
|
||||
ldx NumberOfPlayers
|
||||
dex
|
||||
CheckNextTankAD
|
||||
lda Energy,x
|
||||
lda Energy,x ; only active players
|
||||
beq @+
|
||||
lda AutoDefenseFlag,x
|
||||
lda AutoDefenseFlag,x ; with Auto Defence activated
|
||||
beq @+
|
||||
; run auto defense for tank in X
|
||||
jsr AutoDefense
|
||||
@ dex
|
||||
bpl CheckNextTankAD
|
||||
jsr DrawTanks ; redraw tanks witch new defences
|
||||
;
|
||||
ldx TankSequencePointer
|
||||
lda TankSequence,x
|
||||
|
||||
Reference in New Issue
Block a user