share/hedgewars/Data/Missions/Campaign/A Classic Fairytale/united.lua
changeset 7253 86814ed9feab
parent 7251 cba4960b426f
child 7448 d0521a3a4358
equal deleted inserted replaced
7251:cba4960b426f 7253:86814ed9feab
   381   end
   381   end
   382   return true
   382   return true
   383 end
   383 end
   384 
   384 
   385 function DoWaveDead(index)
   385 function DoWaveDead(index)
       
   386   SetGearMessage(CurrentHedgehog, 0)
       
   387   SetState(CurrentHedgehog, 0)
   386   if index == 1 then
   388   if index == 1 then
   387     AddAnim(wave2Anim)
   389     AddAnim(wave2Anim)
   388     AddFunction({func = AfterWave2Anim, args = {}})
   390     AddFunction({func = AfterWave2Anim, args = {}})
   389   elseif index == 2 then
   391   elseif index == 2 then
   390     SetupFinalAnim()
   392     SetupFinalAnim()