--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua Mon Aug 05 20:02:16 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua Tue Aug 06 23:34:24 2013 +0300
@@ -241,7 +241,6 @@
elseif CurrentHedgehog == ally.gear then
TurnTimeLeft = 0
end
- WriteLnToConsole("CURRENT HEDGEHOG IS "..CurrentHedgehog)
end
function onGameTick()
@@ -442,11 +441,16 @@
table.insert(dialog01, {func = AnimSay, args = {ally.gear, loc("There is the tunnel entrance"), SAY_SAY, 3000}})
table.insert(dialog01, {func = AnimSay, args = {ally.gear, loc("Good luck!"), SAY_SAY, 3000}})
table.insert(dialog01, {func = AnimWait, args = {hero.gear, 500}})
- table.insert(dialog01, {func = AnimSwitchHog, args = {hero.gear}})
+ table.insert(dialog01, {func = startMission, args = {hero.gear}})
end
--------------- OTHER FUNCTIONS ------------------
+function startMission()
+ AnimSwitchHog(bandit1.gear)
+ TurnTimeLeft = 0
+end
+
function secondBattle()
-- second battle
heroIsInBattle = true