# Limit Bully Rebuild To Nearest Town

Grammar — Sets limits on bullies to only be rebuilt in the nearest town for player player to be enable|Enabled\Disabled.
FlagsNative | Action

When enabled for a player, this makes it so that bullies for that player can only be replaced by unit producing structures in the town those bullies are closest to.

# Arguments

Returns — void

native void AINearestTownBullyRebuild(
	int player,
	bool enable,
);

Category: AI / Bullies / Actions

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2896

    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(30)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(36)));
    AINearestTownBullyRebuild(gv_pLAYER_03_INFESTED_REFUGEES, true);
    AISetDifficulty(gv_pLAYER_03_INFESTED_REFUGEES, c_diffPressForward, true);
    AISetDifficulty(gv_pLAYER_04_INFESTEDREFUGEES, c_diffPressForward, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:4270

    AICampaignStart(gv_pLAYER_03_DOMINION);
    AICampaignStart(gv_pLAYER_04_DOMINION);
    AINearestTownBullyRebuild(gv_pLAYER_03_DOMINION, true);
    TriggerExecute(gt_DominionAttackWaves, true, false);
    TriggerExecute(gt_DominionAttackWavesFromDom2, true, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:3383

    AICampaignStart(gv_p02_ORLAN_ENEMY);
    AICampaignStart(gv_p03_MIRA_HAN);
    AINearestTownBullyRebuild(gv_p02_ORLAN_ENEMY, true);
    TriggerExecute(gt_OrlanP02AttackWaves, true, false);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:4083

    AIAttackWaveSetGatherPoint(gv_p05_DOMINION_RAIDER, PointFromId(1069));
    libNtve_gf_DeclareNextTown(gv_p02_DOMINION_INFANTRY, UnitGetPosition(UnitFromId(570)));
    AINearestTownBullyRebuild(gv_p02_DOMINION_INFANTRY, true);
    AINearestTownLimitWaveGather(gv_p02_DOMINION_INFANTRY, true);
    TriggerExecute(gt_P03AttackWavesSiege, true, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:4743

    UnitIssueOrder(UnitFromId(429), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(1235)), c_orderQueueReplace);
    AICampaignStart(gv_p05_ZERG_BASE);
    AINearestTownBullyRebuild(gv_p05_ZERG_BASE, true);
    TriggerExecute(gt_ZergP05AttackWavesBase, true, false);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1657

    AICampaignStart(gv_pLAYER04_PROTOSS);
    libNtve_gf_DeclareNextTown(gv_pLAYER02_PROTOSS, PointFromId(354));
    AINearestTownBullyRebuild(gv_pLAYER02_PROTOSS, true);
    AINearestTownLimitWaveGather(gv_pLAYER02_PROTOSS, true);
    AIToggleBulliesInRegion(gv_pLAYER03_PROTOSS, RegionFromId(2), true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:4215

    AICampaignStart(gv_pLAYER_P10_LEVIATHAN);
    AIClearAllBullies(gv_pLAYER_P06_ZERG_TR);
    AINearestTownBullyRebuild(gv_pLAYER_P07_ZERG_EXP, true);
    AIAttackWaveSetTargetPlayer(gv_pLAYER_P03_ZERG_BR, PlayerGroupSingle(gv_pLAYER_P01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_P04_ZERG_BL, PlayerGroupSingle(gv_pLAYER_P01_USER));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:1763

    libNtve_gf_DeclareNextTown(gv_p02_ZERG_LOW_GROUND_AI, PointFromId(296));
    libNtve_gf_DeclareNextTown(gv_p02_ZERG_LOW_GROUND_AI, PointFromId(693));
    AINearestTownBullyRebuild(gv_p02_ZERG_LOW_GROUND_AI, true);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2mapMapScript.galaxy:2896

    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(30)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(36)));
    AINearestTownBullyRebuild(gv_pLAYER_03_INFESTED_REFUGEES, true);
    AISetDifficulty(gv_pLAYER_03_INFESTED_REFUGEES, c_diffPressForward, true);
    AISetDifficulty(gv_pLAYER_04_INFESTEDREFUGEES, c_diffPressForward, true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner01.sc2mapMapScript.galaxy:4270

    AICampaignStart(gv_pLAYER_03_DOMINION);
    AICampaignStart(gv_pLAYER_04_DOMINION);
    AINearestTownBullyRebuild(gv_pLAYER_03_DOMINION, true);
    TriggerExecute(gt_DominionAttackWaves, true, false);
    TriggerExecute(gt_DominionAttackWavesFromDom2, true, false);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:3383

    AICampaignStart(gv_p02_ORLAN_ENEMY);
    AICampaignStart(gv_p03_MIRA_HAN);
    AINearestTownBullyRebuild(gv_p02_ORLAN_ENEMY, true);
    TriggerExecute(gt_OrlanP02AttackWaves, true, false);
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2mapMapScript.galaxy:4083

    AIAttackWaveSetGatherPoint(gv_p05_DOMINION_RAIDER, PointFromId(1069));
    libNtve_gf_DeclareNextTown(gv_p02_DOMINION_INFANTRY, UnitGetPosition(UnitFromId(570)));
    AINearestTownBullyRebuild(gv_p02_DOMINION_INFANTRY, true);
    AINearestTownLimitWaveGather(gv_p02_DOMINION_INFANTRY, true);
    TriggerExecute(gt_P03AttackWavesSiege, true, false);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus03.sc2mapMapScript.galaxy:4743

    UnitIssueOrder(UnitFromId(429), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(1235)), c_orderQueueReplace);
    AICampaignStart(gv_p05_ZERG_BASE);
    AINearestTownBullyRebuild(gv_p05_ZERG_BASE, true);
    TriggerExecute(gt_ZergP05AttackWavesBase, true, false);
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus04.sc2mapMapScript.galaxy:1657

    AICampaignStart(gv_pLAYER04_PROTOSS);
    libNtve_gf_DeclareNextTown(gv_pLAYER02_PROTOSS, PointFromId(354));
    AINearestTownBullyRebuild(gv_pLAYER02_PROTOSS, true);
    AINearestTownLimitWaveGather(gv_pLAYER02_PROTOSS, true);
    AIToggleBulliesInRegion(gv_pLAYER03_PROTOSS, RegionFromId(2), true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2mapMapScript.galaxy:4215

    AICampaignStart(gv_pLAYER_P10_LEVIATHAN);
    AIClearAllBullies(gv_pLAYER_P06_ZERG_TR);
    AINearestTownBullyRebuild(gv_pLAYER_P07_ZERG_EXP, true);
    AIAttackWaveSetTargetPlayer(gv_pLAYER_P03_ZERG_BR, PlayerGroupSingle(gv_pLAYER_P01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_P04_ZERG_BL, PlayerGroupSingle(gv_pLAYER_P01_USER));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2mapMapScript.galaxy:1763

    libNtve_gf_DeclareNextTown(gv_p02_ZERG_LOW_GROUND_AI, PointFromId(296));
    libNtve_gf_DeclareNextTown(gv_p02_ZERG_LOW_GROUND_AI, PointFromId(693));
    AINearestTownBullyRebuild(gv_p02_ZERG_LOW_GROUND_AI, true);
    return true;
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:3834

    }

    AINearestTownBullyRebuild(gv_pLAYER_02_SHUTTLE_BLUE, true);
    AINearestTownBullyRebuild(gv_pLAYER_03_PROTOSS_GREEN, true);
    AINearestTownBullyRebuild(gv_pLAYER_04_PROTOSS_RED, true);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:3835


    AINearestTownBullyRebuild(gv_pLAYER_02_SHUTTLE_BLUE, true);
    AINearestTownBullyRebuild(gv_pLAYER_03_PROTOSS_GREEN, true);
    AINearestTownBullyRebuild(gv_pLAYER_04_PROTOSS_RED, true);
    cai_startall();

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:3836

    AINearestTownBullyRebuild(gv_pLAYER_02_SHUTTLE_BLUE, true);
    AINearestTownBullyRebuild(gv_pLAYER_03_PROTOSS_GREEN, true);
    AINearestTownBullyRebuild(gv_pLAYER_04_PROTOSS_RED, true);
    cai_startall();
    cai_runall();

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:3990

    AIToggleBulliesInRegion(gv_p02_DOMINION_RED, RegionFromId(11), true);
    AIToggleBulliesInRegion(gv_p02_DOMINION_RED, RegionFromId(12), true);
    AINearestTownBullyRebuild(gv_p02_DOMINION_RED, true);
    AINearestTownBullyRebuild(gv_p03_DOMINION_YELLOW, true);
    AINearestTownBullyRebuild(gv_p04_DOMINION_GREEN, true);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:3991

    AIToggleBulliesInRegion(gv_p02_DOMINION_RED, RegionFromId(12), true);
    AINearestTownBullyRebuild(gv_p02_DOMINION_RED, true);
    AINearestTownBullyRebuild(gv_p03_DOMINION_YELLOW, true);
    AINearestTownBullyRebuild(gv_p04_DOMINION_GREEN, true);
    cai_startall();

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:3992

    AINearestTownBullyRebuild(gv_p02_DOMINION_RED, true);
    AINearestTownBullyRebuild(gv_p03_DOMINION_YELLOW, true);
    AINearestTownBullyRebuild(gv_p04_DOMINION_GREEN, true);
    cai_startall();
    cai_runall();

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal01.sc2map/MapScript.galaxy:4102

    AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION3, RegionFromId(15), true);
    AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION3, RegionFromId(14), true);
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION2, true);
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION3, true);
    cai_waves_run(gv_pLAYER_02_DOMINION, PlayerGroupSingle(gv_pLAYER_01_USER));

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal01.sc2map/MapScript.galaxy:4103

    AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION3, RegionFromId(14), true);
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION2, true);
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION3, true);
    cai_waves_run(gv_pLAYER_02_DOMINION, PlayerGroupSingle(gv_pLAYER_01_USER));
    cai_waves_run(gv_pLAYER_02_DOMINION2, PlayerGroupSingle(gv_pLAYER_01_USER));

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal03.sc2map/MapScript.galaxy:4542

    AIAttackWaveSetGatherPoint(gv_PLAYER_03_DOMINION_BLUE, PointFromId(792));
    AIAttackWaveSetGatherPoint(gv_PLAYER_04_DOMINION_PURPLE, PointFromId(794));
    AINearestTownBullyRebuild(gv_PLAYER_02_DOMINION_RED, true);
    libNtve_gf_SetTacticalAIThink(gv_PLAYER_02_DOMINION_RED, "MengskDiamondback", "AIDiamondback", false);
    libNtve_gf_SetTacticalAIThink(gv_PLAYER_03_DOMINION_BLUE, "MengskDiamondback", "AIDiamondback", false);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus01.sc2map/MapScript.galaxy:5000

    cai_startall();
    cai_runall();
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION2, true);
    if ((libHots_gf_DifficultyValueInt2(1, 1, 0) == 1)) {
        TriggerExecute(gt_StartUpgradesNormal, true, false);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition02.sc2mapMapScript.galaxy:3834

    }

    AINearestTownBullyRebuild(gv_pLAYER_02_SHUTTLE_BLUE, true);
    AINearestTownBullyRebuild(gv_pLAYER_03_PROTOSS_GREEN, true);
    AINearestTownBullyRebuild(gv_pLAYER_04_PROTOSS_RED, true);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition02.sc2mapMapScript.galaxy:3835


    AINearestTownBullyRebuild(gv_pLAYER_02_SHUTTLE_BLUE, true);
    AINearestTownBullyRebuild(gv_pLAYER_03_PROTOSS_GREEN, true);
    AINearestTownBullyRebuild(gv_pLAYER_04_PROTOSS_RED, true);
    cai_startall();

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition02.sc2mapMapScript.galaxy:3836

    AINearestTownBullyRebuild(gv_pLAYER_02_SHUTTLE_BLUE, true);
    AINearestTownBullyRebuild(gv_pLAYER_03_PROTOSS_GREEN, true);
    AINearestTownBullyRebuild(gv_pLAYER_04_PROTOSS_RED, true);
    cai_startall();
    cai_runall();

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid02.sc2mapMapScript.galaxy:3990

    AIToggleBulliesInRegion(gv_p02_DOMINION_RED, RegionFromId(11), true);
    AIToggleBulliesInRegion(gv_p02_DOMINION_RED, RegionFromId(12), true);
    AINearestTownBullyRebuild(gv_p02_DOMINION_RED, true);
    AINearestTownBullyRebuild(gv_p03_DOMINION_YELLOW, true);
    AINearestTownBullyRebuild(gv_p04_DOMINION_GREEN, true);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid02.sc2mapMapScript.galaxy:3991

    AIToggleBulliesInRegion(gv_p02_DOMINION_RED, RegionFromId(12), true);
    AINearestTownBullyRebuild(gv_p02_DOMINION_RED, true);
    AINearestTownBullyRebuild(gv_p03_DOMINION_YELLOW, true);
    AINearestTownBullyRebuild(gv_p04_DOMINION_GREEN, true);
    cai_startall();

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid02.sc2mapMapScript.galaxy:3992

    AINearestTownBullyRebuild(gv_p02_DOMINION_RED, true);
    AINearestTownBullyRebuild(gv_p03_DOMINION_YELLOW, true);
    AINearestTownBullyRebuild(gv_p04_DOMINION_GREEN, true);
    cai_startall();
    cai_runall();

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal01.sc2mapMapScript.galaxy:4102

    AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION3, RegionFromId(15), true);
    AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION3, RegionFromId(14), true);
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION2, true);
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION3, true);
    cai_waves_run(gv_pLAYER_02_DOMINION, PlayerGroupSingle(gv_pLAYER_01_USER));

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal01.sc2mapMapScript.galaxy:4103

    AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION3, RegionFromId(14), true);
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION2, true);
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION3, true);
    cai_waves_run(gv_pLAYER_02_DOMINION, PlayerGroupSingle(gv_pLAYER_01_USER));
    cai_waves_run(gv_pLAYER_02_DOMINION2, PlayerGroupSingle(gv_pLAYER_01_USER));

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal03.sc2mapMapScript.galaxy:4542

    AIAttackWaveSetGatherPoint(gv_PLAYER_03_DOMINION_BLUE, PointFromId(792));
    AIAttackWaveSetGatherPoint(gv_PLAYER_04_DOMINION_PURPLE, PointFromId(794));
    AINearestTownBullyRebuild(gv_PLAYER_02_DOMINION_RED, true);
    libNtve_gf_SetTacticalAIThink(gv_PLAYER_02_DOMINION_RED, "MengskDiamondback", "AIDiamondback", false);
    libNtve_gf_SetTacticalAIThink(gv_PLAYER_03_DOMINION_BLUE, "MengskDiamondback", "AIDiamondback", false);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus01.sc2mapMapScript.galaxy:5000

    cai_startall();
    cai_runall();
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION2, true);
    if ((libHots_gf_DifficultyValueInt2(1, 1, 0) == 1)) {
        TriggerExecute(gt_StartUpgradesNormal, true, false);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:3250

    libVCMI_gf_EnableVoidCampaignAIBehaviorForAllPlayers();
    cai_runall();
    AINearestTownBullyRebuild(gv_pLAYER_02_PROTOSS_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_03_ZERG_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_04_INFESTED_BULLIES, true);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:3251

    cai_runall();
    AINearestTownBullyRebuild(gv_pLAYER_02_PROTOSS_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_03_ZERG_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_04_INFESTED_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_05_VOIDFORCES, true);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:3252

    AINearestTownBullyRebuild(gv_pLAYER_02_PROTOSS_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_03_ZERG_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_04_INFESTED_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_05_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_06_VOIDFORCES, true);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:3253

    AINearestTownBullyRebuild(gv_pLAYER_03_ZERG_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_04_INFESTED_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_05_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_06_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_07_VOIDFORCES, true);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:3254

    AINearestTownBullyRebuild(gv_pLAYER_04_INFESTED_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_05_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_06_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_07_VOIDFORCES, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(942));

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:3255

    AINearestTownBullyRebuild(gv_pLAYER_05_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_06_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_07_VOIDFORCES, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(942));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(947));

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:4535

        TriggerExecute(gt_AIUpgradesCasualNormal, true, false);
    }
    AINearestTownBullyRebuild(gv_pLAYER_05_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_06_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_07_VOIDFORCES, true);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:4536

    }
    AINearestTownBullyRebuild(gv_pLAYER_05_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_06_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_07_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_08_RAYNOREXPANSIONS, true);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:4537

    AINearestTownBullyRebuild(gv_pLAYER_05_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_06_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_07_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_08_RAYNOREXPANSIONS, true);
    AINearestTownLimitWaveGather(gv_pLAYER_08_RAYNOREXPANSIONS, true);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:4538

    AINearestTownBullyRebuild(gv_pLAYER_06_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_07_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_08_RAYNOREXPANSIONS, true);
    AINearestTownLimitWaveGather(gv_pLAYER_08_RAYNOREXPANSIONS, true);
    AINearestTownBullyRebuild(gv_pLAYER_09_KERRIGANEXPANSIONS, true);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:4540

    AINearestTownBullyRebuild(gv_pLAYER_08_RAYNOREXPANSIONS, true);
    AINearestTownLimitWaveGather(gv_pLAYER_08_RAYNOREXPANSIONS, true);
    AINearestTownBullyRebuild(gv_pLAYER_09_KERRIGANEXPANSIONS, true);
    AINearestTownLimitWaveGather(gv_pLAYER_09_KERRIGANEXPANSIONS, true);
    autoA50712A6_g = UnitGroup("VoidRift", gv_pLAYER_05_VOIDFORCES, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:3250

    libVCMI_gf_EnableVoidCampaignAIBehaviorForAllPlayers();
    cai_runall();
    AINearestTownBullyRebuild(gv_pLAYER_02_PROTOSS_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_03_ZERG_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_04_INFESTED_BULLIES, true);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:3251

    cai_runall();
    AINearestTownBullyRebuild(gv_pLAYER_02_PROTOSS_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_03_ZERG_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_04_INFESTED_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_05_VOIDFORCES, true);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:3252

    AINearestTownBullyRebuild(gv_pLAYER_02_PROTOSS_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_03_ZERG_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_04_INFESTED_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_05_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_06_VOIDFORCES, true);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:3253

    AINearestTownBullyRebuild(gv_pLAYER_03_ZERG_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_04_INFESTED_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_05_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_06_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_07_VOIDFORCES, true);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:3254

    AINearestTownBullyRebuild(gv_pLAYER_04_INFESTED_BULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_05_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_06_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_07_VOIDFORCES, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(942));

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:3255

    AINearestTownBullyRebuild(gv_pLAYER_05_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_06_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_07_VOIDFORCES, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(942));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(947));

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2mapMapScript.galaxy:4535

        TriggerExecute(gt_AIUpgradesCasualNormal, true, false);
    }
    AINearestTownBullyRebuild(gv_pLAYER_05_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_06_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_07_VOIDFORCES, true);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2mapMapScript.galaxy:4536

    }
    AINearestTownBullyRebuild(gv_pLAYER_05_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_06_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_07_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_08_RAYNOREXPANSIONS, true);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2mapMapScript.galaxy:4537

    AINearestTownBullyRebuild(gv_pLAYER_05_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_06_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_07_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_08_RAYNOREXPANSIONS, true);
    AINearestTownLimitWaveGather(gv_pLAYER_08_RAYNOREXPANSIONS, true);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2mapMapScript.galaxy:4538

    AINearestTownBullyRebuild(gv_pLAYER_06_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_07_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_08_RAYNOREXPANSIONS, true);
    AINearestTownLimitWaveGather(gv_pLAYER_08_RAYNOREXPANSIONS, true);
    AINearestTownBullyRebuild(gv_pLAYER_09_KERRIGANEXPANSIONS, true);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2mapMapScript.galaxy:4540

    AINearestTownBullyRebuild(gv_pLAYER_08_RAYNOREXPANSIONS, true);
    AINearestTownLimitWaveGather(gv_pLAYER_08_RAYNOREXPANSIONS, true);
    AINearestTownBullyRebuild(gv_pLAYER_09_KERRIGANEXPANSIONS, true);
    AINearestTownLimitWaveGather(gv_pLAYER_09_KERRIGANEXPANSIONS, true);
    autoA50712A6_g = UnitGroup("VoidRift", gv_pLAYER_05_VOIDFORCES, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:8033

    libNCMI_gf_EnableNovaCampaignAIBehaviorForAllPlayers();
    cai_runall();
    AINearestTownBullyRebuild(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_05_FERALZERG_LEFTBULLIES, true);

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:8034

    cai_runall();
    AINearestTownBullyRebuild(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_05_FERALZERG_LEFTBULLIES, true);
    AISetDifficulty(gv_pLAYER_06_DEFENDERSOFMAN, c_diffAutoLoadBunkers, true);

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:8035

    AINearestTownBullyRebuild(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_05_FERALZERG_LEFTBULLIES, true);
    AISetDifficulty(gv_pLAYER_06_DEFENDERSOFMAN, c_diffAutoLoadBunkers, true);
    AISetDifficulty(gv_pLAYER_06_DEFENDERSOFMAN, c_diffRepairDamage, true);

mods/novastoryassets.sc2modbase2.sc2maps/maps/campaign/nova/nova04.sc2map/MapScript.galaxy:5061

    libNtve_gf_SetTacticalAIThink(gv_pLAYER_07_ZERG, "Ravager", "AIRavager", false);
    libNtve_gf_SetTacticalAIThink(gv_pLAYER_07_ZERG, "SporeCrawlerUprooted", "AISporeCrawler", false);
    AINearestTownBullyRebuild(gv_pLAYER_05_TALDARIM, true);
    AISetBullyRebuildDelay(libLotv_gf_DifficultyValueFixed2(30.0, 30.0, 15.0, 5.0), libLotv_gf_DifficultyValueFixed2(40.0, 40.0, 20.0, 10.0), gv_pLAYER_06_ZERG);
    AISetBullyRebuildDelay(libLotv_gf_DifficultyValueFixed2(30.0, 30.0, 15.0, 5.0), libLotv_gf_DifficultyValueFixed2(40.0, 40.0, 20.0, 10.0), gv_pLAYER_07_ZERG);

mods/novastoryassets.sc2modbase2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:8218

    libNtve_gf_SetTacticalAIThink(gv_pLAYER_04_PROTOSS_WAVES, "Oracle", "AIOracle", false);
    AISetBullyRebuildDelay(5.0, 10.0, gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS);
    AINearestTownBullyRebuild(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, true);
    gf_AIMonitorBullyRebuildRegion(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, RegionFromId(87));
    gf_AIMonitorBullyRebuildRegion(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, RegionFromId(88));

mods/novastoryassets.sc2modbase2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:8228

    gf_AIMonitorBullyRebuildRegion(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, RegionFromId(109));
    AISetBullyRebuildDelay(5.0, 10.0, gv_pLAYER_05_INFESTED_FIGHTPROTOSS);
    AINearestTownBullyRebuild(gv_pLAYER_05_INFESTED_FIGHTPROTOSS, true);
    gf_AIMonitorBullyRebuildRegion(gv_pLAYER_05_INFESTED_FIGHTPROTOSS, RegionFromId(107));
    gf_AIMonitorBullyRebuildRegion(gv_pLAYER_05_INFESTED_FIGHTPROTOSS, RegionFromId(108));

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova08.sc2map/MapScript.galaxy:3568


    Wait(1.0, c_timeAI);
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(3)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(4)));

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova08.sc2map/MapScript.galaxy:3572

    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(4)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(5)));
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION2, true);
    AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION2, RegionFromId(72), true);
    AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION2, RegionFromId(73), true);

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova08.sc2map/MapScript.galaxy:3579

    libNtve_gf_CreateUnitsWithDefaultFacing(3, "SCV", 0, gv_pLAYER_02_DOMINION4, PointFromId(1855620408));
    libNtve_gf_CreateUnitsWithDefaultFacing(3, "SCV", 0, gv_pLAYER_02_DOMINION5, PointFromId(6083815));
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION4, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION4, RegionGetCenter(RegionFromId(1)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION4, RegionGetCenter(RegionFromId(2)));

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova08.sc2map/MapScript.galaxy:3582

    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION4, RegionGetCenter(RegionFromId(1)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION4, RegionGetCenter(RegionFromId(2)));
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION5, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION5, RegionGetCenter(RegionFromId(6)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION5, RegionGetCenter(RegionFromId(7)));

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:4680

        auto8953B216_var = PlayerGroupNextPlayer(auto8953B216_g, auto8953B216_var);
        if (auto8953B216_var < 0) { break; }
        AINearestTownBullyRebuild(auto8953B216_var, true);
    }
    cai_runall();

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2mapMapScript.galaxy:8033

    libNCMI_gf_EnableNovaCampaignAIBehaviorForAllPlayers();
    cai_runall();
    AINearestTownBullyRebuild(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_05_FERALZERG_LEFTBULLIES, true);

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2mapMapScript.galaxy:8034

    cai_runall();
    AINearestTownBullyRebuild(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_05_FERALZERG_LEFTBULLIES, true);
    AISetDifficulty(gv_pLAYER_06_DEFENDERSOFMAN, c_diffAutoLoadBunkers, true);

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2mapMapScript.galaxy:8035

    AINearestTownBullyRebuild(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, true);
    AINearestTownBullyRebuild(gv_pLAYER_05_FERALZERG_LEFTBULLIES, true);
    AISetDifficulty(gv_pLAYER_06_DEFENDERSOFMAN, c_diffAutoLoadBunkers, true);
    AISetDifficulty(gv_pLAYER_06_DEFENDERSOFMAN, c_diffRepairDamage, true);

mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova04.sc2mapMapScript.galaxy:5061

    libNtve_gf_SetTacticalAIThink(gv_pLAYER_07_ZERG, "Ravager", "AIRavager", false);
    libNtve_gf_SetTacticalAIThink(gv_pLAYER_07_ZERG, "SporeCrawlerUprooted", "AISporeCrawler", false);
    AINearestTownBullyRebuild(gv_pLAYER_05_TALDARIM, true);
    AISetBullyRebuildDelay(libLotv_gf_DifficultyValueFixed2(30.0, 30.0, 15.0, 5.0), libLotv_gf_DifficultyValueFixed2(40.0, 40.0, 20.0, 10.0), gv_pLAYER_06_ZERG);
    AISetBullyRebuildDelay(libLotv_gf_DifficultyValueFixed2(30.0, 30.0, 15.0, 5.0), libLotv_gf_DifficultyValueFixed2(40.0, 40.0, 20.0, 10.0), gv_pLAYER_07_ZERG);

mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2mapMapScript.galaxy:8218

    libNtve_gf_SetTacticalAIThink(gv_pLAYER_04_PROTOSS_WAVES, "Oracle", "AIOracle", false);
    AISetBullyRebuildDelay(5.0, 10.0, gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS);
    AINearestTownBullyRebuild(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, true);
    gf_AIMonitorBullyRebuildRegion(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, RegionFromId(87));
    gf_AIMonitorBullyRebuildRegion(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, RegionFromId(88));

mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2mapMapScript.galaxy:8228

    gf_AIMonitorBullyRebuildRegion(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, RegionFromId(109));
    AISetBullyRebuildDelay(5.0, 10.0, gv_pLAYER_05_INFESTED_FIGHTPROTOSS);
    AINearestTownBullyRebuild(gv_pLAYER_05_INFESTED_FIGHTPROTOSS, true);
    gf_AIMonitorBullyRebuildRegion(gv_pLAYER_05_INFESTED_FIGHTPROTOSS, RegionFromId(107));
    gf_AIMonitorBullyRebuildRegion(gv_pLAYER_05_INFESTED_FIGHTPROTOSS, RegionFromId(108));

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova08.sc2mapMapScript.galaxy:3568


    Wait(1.0, c_timeAI);
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(3)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(4)));

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova08.sc2mapMapScript.galaxy:3572

    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(4)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(5)));
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION2, true);
    AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION2, RegionFromId(72), true);
    AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION2, RegionFromId(73), true);

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova08.sc2mapMapScript.galaxy:3579

    libNtve_gf_CreateUnitsWithDefaultFacing(3, "SCV", 0, gv_pLAYER_02_DOMINION4, PointFromId(1855620408));
    libNtve_gf_CreateUnitsWithDefaultFacing(3, "SCV", 0, gv_pLAYER_02_DOMINION5, PointFromId(6083815));
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION4, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION4, RegionGetCenter(RegionFromId(1)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION4, RegionGetCenter(RegionFromId(2)));

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova08.sc2mapMapScript.galaxy:3582

    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION4, RegionGetCenter(RegionFromId(1)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION4, RegionGetCenter(RegionFromId(2)));
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION5, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION5, RegionGetCenter(RegionFromId(6)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION5, RegionGetCenter(RegionFromId(7)));

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2mapMapScript.galaxy:4680

        auto8953B216_var = PlayerGroupNextPlayer(auto8953B216_g, auto8953B216_var);
        if (auto8953B216_var < 0) { break; }
        AINearestTownBullyRebuild(auto8953B216_var, true);
    }
    cai_runall();