diff --git a/ai.asm b/ai.asm index ca248b2..c47413f 100644 --- a/ai.asm +++ b/ai.asm @@ -170,6 +170,13 @@ loop lda #99 sta Energy,x 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 ; use best defensive :) ; but not allways diff --git a/scorch.xex b/scorch.xex index 3b7d42a..0dd6352 100644 Binary files a/scorch.xex and b/scorch.xex differ