151 "|"..loc("Travel to all the neighbor planets and collect all the pieces"), -amSkip, 0) |
151 "|"..loc("Travel to all the neighbor planets and collect all the pieces"), -amSkip, 0) |
152 |
152 |
153 -- do checkpoint stuff needed after game starts |
153 -- do checkpoint stuff needed after game starts |
154 if checkPointReached == 1 then |
154 if checkPointReached == 1 then |
155 AddAnim(dialog01) |
155 AddAnim(dialog01) |
156 AddAmmo(hero.gear, amRope, 2) |
156 AddAmmo(hero.gear, amRope, 1) |
157 AddAmmo(guard1.gear, amDEagle, 2) |
157 AddAmmo(guard1.gear, amDEagle, 2) |
158 AddAmmo(guard2.gear, amDEagle, 2) |
158 AddAmmo(guard2.gear, amDEagle, 2) |
159 SpawnAmmoCrate(saucerX, saucerY, amJetpack) |
159 SpawnAmmoCrate(saucerX, saucerY, amJetpack) |
160 -- EVENT HANDLERS |
160 -- EVENT HANDLERS |
161 AddEvent(onHeroBeforeTreePosition, {hero.gear}, heroBeforeTreePosition, {hero.gear}, 0) |
161 AddEvent(onHeroBeforeTreePosition, {hero.gear}, heroBeforeTreePosition, {hero.gear}, 0) |