632 SetGearMessage(CurrentHedgehog, 0) |
632 SetGearMessage(CurrentHedgehog, 0) |
633 AddEvent(CheckTurnsOver, {}, DoTurnsOver, {3}, 0) |
633 AddEvent(CheckTurnsOver, {}, DoTurnsOver, {3}, 0) |
634 AddEvent(CheckWaveDead, {3}, DoWaveDead, {3}, 0) |
634 AddEvent(CheckWaveDead, {3}, DoWaveDead, {3}, 0) |
635 AddEvent(CheckDeployedDead, {}, DoDeployedDead, {}, 0) |
635 AddEvent(CheckDeployedDead, {}, DoDeployedDead, {}, 0) |
636 EndTurn(true) |
636 EndTurn(true) |
637 ShowMission(loc("Backstab"), loc("Drills"), loc("You have 7 turns until the next wave arrives.|Make sure the arriving cannibals are greeted appropriately!|If the hog dies, the cause is lost.|Hint: you might want to use some mines..."), 1, 12000) |
637 ShowMission(loc("Backstab"), loc("Drills"), loc("You have 7 turns until the next wave arrives.|Make sure the arriving cannibals are greeted appropriately!|If the hog dies, the cause is lost.|Hint: You might want to use some mines ..."), 1, 12000) |
638 end |
638 end |
639 |
639 |
640 function DoTurnsOver() |
640 function DoTurnsOver() |
641 stage = wave3Stage |
641 stage = wave3Stage |
642 RestoreWave(3) |
642 RestoreWave(3) |