101 |
102 |
102 function onGameStart() |
103 function onGameStart() |
103 AnimWait(hero.gear, 3000) |
104 AnimWait(hero.gear, 3000) |
104 FollowGear(hero.gear) |
105 FollowGear(hero.gear) |
105 ShowMission(unpack(goals["init"])) |
106 ShowMission(unpack(goals["init"])) |
|
107 HideMission() |
106 |
108 |
107 AddEvent(onHeroDeath, {hero.gear}, heroDeath, {hero.gear}, 0) |
109 AddEvent(onHeroDeath, {hero.gear}, heroDeath, {hero.gear}, 0) |
108 |
110 |
109 AddAmmo(hero.gear, amJetpack, 3) |
111 AddAmmo(hero.gear, amJetpack, 3) |
110 |
112 |
214 table.insert(dialog01, {func = AnimWait, args = {hero.gear, 3000}}) |
217 table.insert(dialog01, {func = AnimWait, args = {hero.gear, 3000}}) |
215 table.insert(dialog01, {func = AnimCaption, args = {hero.gear, loc("In the Ice Planet Flying Saucer Stadium ..."), 5000}}) |
218 table.insert(dialog01, {func = AnimCaption, args = {hero.gear, loc("In the Ice Planet Flying Saucer Stadium ..."), 5000}}) |
216 table.insert(dialog01, {func = AnimSay, args = {ally.gear, loc("This is the Olympic stadium of saucer flying."), SAY_SAY, 4000}}) |
219 table.insert(dialog01, {func = AnimSay, args = {ally.gear, loc("This is the Olympic stadium of saucer flying."), SAY_SAY, 4000}}) |
217 table.insert(dialog01, {func = AnimSay, args = {ally.gear, loc("All the saucer pilots dream to come here one day in order to compete with the best!"), SAY_SAY, 5000}}) |
220 table.insert(dialog01, {func = AnimSay, args = {ally.gear, loc("All the saucer pilots dream to come here one day in order to compete with the best!"), SAY_SAY, 5000}}) |
218 table.insert(dialog01, {func = AnimSay, args = {ally.gear, loc("Now you have the chance to try and claim the place that you deserve among the best."), SAY_SAY, 6000}}) |
221 table.insert(dialog01, {func = AnimSay, args = {ally.gear, loc("Now you have the chance to try and claim the place that you deserve among the best."), SAY_SAY, 6000}}) |
219 table.insert(dialog01, {func = AnimCaption, args = {hero.gear, loc("Use the saucer and pass through the rings."), 5000}}) |
|
220 table.insert(dialog01, {func = AnimCaption, args = {hero.gear, loc("Pause the game by pressing the pause key (default \"P\") for more details"), 5000}}) |
|
221 table.insert(dialog01, {func = AnimSay, args = {ally.gear, loc("Can you do it?"), SAY_SAY, 2000}}) |
222 table.insert(dialog01, {func = AnimSay, args = {ally.gear, loc("Can you do it?"), SAY_SAY, 2000}}) |
222 table.insert(dialog01, {func = AnimWait, args = {hero.gear, 500}}) |
223 table.insert(dialog01, {func = AnimWait, args = {hero.gear, 500}}) |
|
224 table.insert(dialog01, {func = ShowMission, args = goals["init"]}) |
223 table.insert(dialog01, {func = startFlying, args = {hero.gear}}) |
225 table.insert(dialog01, {func = startFlying, args = {hero.gear}}) |
224 end |
226 end |
225 |
227 |
226 ------------------ Other Functions ------------------- |
228 ------------------ Other Functions ------------------- |
227 |
229 |