equal
deleted
inserted
replaced
139 SwitchHog(leaks) |
139 SwitchHog(leaks) |
140 SetGearMessage(leaks, 0) |
140 SetGearMessage(leaks, 0) |
141 TurnTimeLeft = -1 |
141 TurnTimeLeft = -1 |
142 ShowMission(loc("The Journey Back"), loc("Collateral Damage II"), loc("Save Fell From Heaven!"), 1, 4000) |
142 ShowMission(loc("The Journey Back"), loc("Collateral Damage II"), loc("Save Fell From Heaven!"), 1, 4000) |
143 AddEvent(CheckLost, {}, DoLost, {}, 0) |
143 AddEvent(CheckLost, {}, DoLost, {}, 0) |
144 AddEvent(CheckWon, {}, DoWon, 0) |
144 AddEvent(CheckWon, {}, DoWon, {}, 0) |
145 RemoveEventFunc(CheckFailedCourse) |
145 RemoveEventFunc(CheckFailedCourse) |
146 end |
146 end |
147 |
147 |
148 function AfterEndAnimDuo() |
148 function AfterEndAnimDuo() |
149 stage = endStage |
149 stage = endStage |
632 SetTimer(AddGear(2239, 1295, gtMine, 0, 0, 0, 0), 3000) |
632 SetTimer(AddGear(2239, 1295, gtMine, 0, 0, 0, 0), 3000) |
633 |
633 |
634 SetGearPosition(leaks, 3781, 1583) |
634 SetGearPosition(leaks, 3781, 1583) |
635 --SetGearPosition(leaks, 1650, 1583) |
635 --SetGearPosition(leaks, 1650, 1583) |
636 AddAmmo(cannibals[1], amShotgun, 100) |
636 AddAmmo(cannibals[1], amShotgun, 100) |
|
637 AddAmmo(leaks, amSwitch, 0) |
637 end |
638 end |
638 |
639 |
639 function SetupPlaceDuo() |
640 function SetupPlaceDuo() |
640 PlaceCratesDuo() |
641 PlaceCratesDuo() |
641 SetGearPosition(leaks, unpack(startLeaksPosDuo)) |
642 SetGearPosition(leaks, unpack(startLeaksPosDuo)) |
960 function onGameStart() |
961 function onGameStart() |
961 m2Choice = tonumber(GetCampaignVar("M2Choice")) |
962 m2Choice = tonumber(GetCampaignVar("M2Choice")) |
962 m2DenseDead = tonumber(GetCampaignVar("M2DenseDead")) |
963 m2DenseDead = tonumber(GetCampaignVar("M2DenseDead")) |
963 m2RamonDead = tonumber(GetCampaignVar("M2RamonDead")) |
964 m2RamonDead = tonumber(GetCampaignVar("M2RamonDead")) |
964 m2SpikyDead = tonumber(GetCampaignVar("M2SpikyDead")) |
965 m2SpikyDead = tonumber(GetCampaignVar("M2SpikyDead")) |
|
966 m2Choice = choiceAttacked |
|
967 m2DenseDead = 1 |
965 StartMission() |
968 StartMission() |
966 end |
969 end |
967 |
970 |
968 function onGameTick() |
971 function onGameTick() |
969 AnimUnWait() |
972 AnimUnWait() |