151 SetInputMask(0xFFFFFFFF) |
151 SetInputMask(0xFFFFFFFF) |
152 end |
152 end |
153 |
153 |
154 function AfterStronglingsAnim() |
154 function AfterStronglingsAnim() |
155 stage = cyborgStage |
155 stage = cyborgStage |
156 TurnTimeLeft = 0 |
|
157 ShowMission(loc("The Shadow Falls"), loc("The Dilemma"), loc("Choose your side! If you want to join the strange man, walk up to him.|Otherwise, walk away from him. If you decide to att...nevermind..."), 1, 8000) |
156 ShowMission(loc("The Shadow Falls"), loc("The Dilemma"), loc("Choose your side! If you want to join the strange man, walk up to him.|Otherwise, walk away from him. If you decide to att...nevermind..."), 1, 8000) |
158 AddEvent(CheckChoice, {}, DoChoice, {}, 0) |
157 AddEvent(CheckChoice, {}, DoChoice, {}, 0) |
159 AddEvent(CheckRefuse, {}, DoRefuse, {}, 0) |
158 AddEvent(CheckRefuse, {}, DoRefuse, {}, 0) |
160 AddEvent(CheckAccept, {}, DoAccept, {}, 0) |
159 AddEvent(CheckAccept, {}, DoAccept, {}, 0) |
161 AddEvent(CheckConfront, {}, DoConfront, {}, 0) |
160 AddEvent(CheckConfront, {}, DoConfront, {}, 0) |
162 AddAmmo(dense, amSwitch, 0) |
161 AddAmmo(dense, amSwitch, 0) |
163 AddAmmo(dense, amSkip, 0) |
162 AddAmmo(dense, amSkip, 0) |
164 SetHealth(SpawnHealthCrate(2557, 1030), 50) |
163 SetHealth(SpawnHealthCrate(2557, 1030), 50) |
165 SetHealth(SpawnHealthCrate(3599, 1009), 50) |
164 SetHealth(SpawnHealthCrate(3599, 1009), 50) |
|
165 TurnTimeLeft = 0 |
166 end |
166 end |
167 |
167 |
168 function SkipStronglingsAnim() |
168 function SkipStronglingsAnim() |
169 for i = 6, 9 do |
169 for i = 6, 9 do |
170 if isHidden[cannibals[i]] == true then |
170 if isHidden[cannibals[i]] == true then |
637 end |
637 end |
638 return true |
638 return true |
639 end |
639 end |
640 |
640 |
641 function DoWeaklingsKilled() |
641 function DoWeaklingsKilled() |
642 TurnTimeLeft = 0 |
|
643 SetGearMessage(CurrentHedgehog, 0) |
642 SetGearMessage(CurrentHedgehog, 0) |
644 AddAnim(stronglingsAnim) |
643 AddAnim(stronglingsAnim) |
645 AddFunction({func = AfterStronglingsAnim, args = {}}) |
644 AddFunction({func = AfterStronglingsAnim, args = {}}) |
646 stage = interWeakStage |
645 stage = interWeakStage |
647 ParseCommand("teamgone " .. loc("Weaklings")) |
646 ParseCommand("teamgone " .. loc("Weaklings")) |