share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/united.lua
changeset 12560 d51ea6ac1ca1
parent 12559 194b00c4ba07
child 12799 bca911f8e804
equal deleted inserted replaced
12559:194b00c4ba07 12560:d51ea6ac1ca1
    78   end
    78   end
    79   AnimSwitchHog(cannibals[5])
    79   AnimSwitchHog(cannibals[5])
    80 end
    80 end
    81 
    81 
    82 function AfterWave2Anim()
    82 function AfterWave2Anim()
    83   TurnTimeLeft = 0
    83   EndTurn(true)
    84 end
    84 end
    85 
    85 
    86 function AfterFinalAnim()
    86 function AfterFinalAnim()
    87   if leaksDead == true then
    87   if leaksDead == true then
    88     SaveCampaignVar("M4LeaksDead", "1")
    88     SaveCampaignVar("M4LeaksDead", "1")
   111   end
   111   end
   112   if progress and progress<4 then
   112   if progress and progress<4 then
   113     SaveCampaignVar("Progress", "4")
   113     SaveCampaignVar("Progress", "4")
   114   end
   114   end
   115   DismissTeam(loc("011101001"))
   115   DismissTeam(loc("011101001"))
   116   TurnTimeLeft = 0
   116   EndTurn(true)
   117 end
   117 end
   118 -----------------------------Animations--------------------------------
   118 -----------------------------Animations--------------------------------
   119 function Wave2Reaction()
   119 function Wave2Reaction()
   120   local i = 1
   120   local i = 1
   121   local gearr = nil
   121   local gearr = nil