equal
deleted
inserted
replaced
152 elseif checkPointReached == 4 then |
152 elseif checkPointReached == 4 then |
153 -- Hero visited moon for fuels |
153 -- Hero visited moon for fuels |
154 startSequence = true |
154 startSequence = true |
155 AnimSetGearPosition(hero.gear, 1110, 850) |
155 AnimSetGearPosition(hero.gear, 1110, 850) |
156 elseif checkPointReached == 5 then |
156 elseif checkPointReached == 5 then |
157 startSequence = false |
157 startSequence = status.death01 and not status.final |
158 -- Hero has visited a planet, he has plenty of fuels and can change planet |
158 -- Hero has visited a planet, he has plenty of fuels and can change planet |
159 if GetCampaignVar("Planet") == "moon" then |
159 if GetCampaignVar("Planet") == "moon" then |
160 AnimSetGearPosition(hero.gear, 1110, 850) |
160 AnimSetGearPosition(hero.gear, 1110, 850) |
161 elseif GetCampaignVar("Planet") == "desertPlanet" then |
161 elseif GetCampaignVar("Planet") == "desertPlanet" then |
162 AnimSetGearPosition(hero.gear, 3670, 270) |
162 AnimSetGearPosition(hero.gear, 3670, 270) |
189 if GetCampaignVar("Mission1Won") == "true" then |
189 if GetCampaignVar("Mission1Won") == "true" then |
190 ShowMission(unpack(goals["free"])) |
190 ShowMission(unpack(goals["free"])) |
191 else |
191 else |
192 ShowMission(unpack(goals["open_side_missions"])) |
192 ShowMission(unpack(goals["open_side_missions"])) |
193 end |
193 end |
|
194 elseif status.death01 and not status.final then |
|
195 HideMission() |
194 else |
196 else |
195 ShowMission(unpack(goals["init"])) |
197 ShowMission(unpack(goals["init"])) |
196 end |
198 end |
197 |
199 |
198 -- do checkpoint stuff needed after game starts |
200 -- do checkpoint stuff needed after game starts |