share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua
changeset 13742 2bb7141496a9
parent 13736 c6154fcb9420
child 13752 110d6c1e817f
equal deleted inserted replaced
13741:b3b55b03d499 13742:2bb7141496a9
   211 	end
   211 	end
   212 
   212 
   213 	if CurrentHedgehog ~= hero.gear and not heroIsInBattle then
   213 	if CurrentHedgehog ~= hero.gear and not heroIsInBattle then
   214 		AnimSwitchHog(hero.gear)
   214 		AnimSwitchHog(hero.gear)
   215 		getReady(hero.gear)
   215 		getReady(hero.gear)
   216 		TurnTimeLeft = -1
   216 		SetTurnTimeLeft(cMaxTurnTime)
   217 	elseif CurrentHedgehog == hero.gear and not heroIsInBattle then
   217 	elseif CurrentHedgehog == hero.gear and not heroIsInBattle then
   218 		TurnTimeLeft = -1
   218 		SetTurnTimeLeft(cMaxTurnTime)
   219 	elseif (CurrentHedgehog == smuggler2.gear or CurrentHedgehog == smuggler3.gear) and ongoingBattle == 1 then
   219 	elseif (CurrentHedgehog == smuggler2.gear or CurrentHedgehog == smuggler3.gear) and ongoingBattle == 1 then
   220 		AnimSwitchHog(smuggler1.gear)
   220 		AnimSwitchHog(smuggler1.gear)
   221 		getReady(smuggler1.gear)
   221 		getReady(smuggler1.gear)
   222 	elseif (CurrentHedgehog == smuggler1.gear or CurrentHedgehog == smuggler3.gear) and ongoingBattle == 2 then
   222 	elseif (CurrentHedgehog == smuggler1.gear or CurrentHedgehog == smuggler3.gear) and ongoingBattle == 2 then
   223 		AnimSwitchHog(smuggler2.gear)
   223 		AnimSwitchHog(smuggler2.gear)