share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/journey.lua
changeset 15050 09c63d4bcf53
parent 15023 3ed1cbd31754
child 15069 d131ec7be850
equal deleted inserted replaced
15049:20c80919d97d 15050:09c63d4bcf53
   989   AddFunction({func = AddAnim, args = {endAnim}})
   989   AddFunction({func = AddAnim, args = {endAnim}})
   990   AddFunction({func = AddFunction, args = {{func = AfterEndAnimAlone, args = {}}}})
   990   AddFunction({func = AddFunction, args = {{func = AfterEndAnimAlone, args = {}}}})
   991 end
   991 end
   992 
   992 
   993 function CheckTookSniper2()
   993 function CheckTookSniper2()
   994   return sniperTaken and StoppedGear(leaks) and StoppedGear(dense)
   994   return sniperTaken and leaksDead == false and StoppedGear(leaks) and denseDead == false and StoppedGear(dense)
   995 end
   995 end
   996 
   996 
   997 function DoTookSniper2()
   997 function DoTookSniper2()
   998   EndTurn(true)
   998   EndTurn(true)
   999   RestoreHedge(cyborg)
   999   RestoreHedge(cyborg)