mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
AI uses White Flag
This commit is contained in:
@@ -170,6 +170,13 @@ loop
|
|||||||
lda #99
|
lda #99
|
||||||
sta Energy,x
|
sta Energy,x
|
||||||
NoBatteries
|
NoBatteries
|
||||||
|
; if very low energy and no battery then use White Flag
|
||||||
|
lda Energy,x
|
||||||
|
cmp #5
|
||||||
|
bcs EnoughEnergy
|
||||||
|
; lower than 5 units - white flag
|
||||||
|
lda #ind_White_Flag_____
|
||||||
|
sta ActiveDefenceWeapon,x
|
||||||
EnoughEnergy
|
EnoughEnergy
|
||||||
; use best defensive :)
|
; use best defensive :)
|
||||||
; but not allways
|
; but not allways
|
||||||
|
|||||||
BIN
Binary file not shown.
Reference in New Issue
Block a user