29 == Linear events == |
29 == Linear events == |
30 This is the expected course of events in chronological order. |
30 This is the expected course of events in chronological order. |
31 |
31 |
32 - Introduction; movement (left/right/jump) instructions |
32 - Introduction; movement (left/right/jump) instructions |
33 - Player moves to mushroom |
33 - Player moves to mushroom |
34 - Double jump instructions, move to flower |
34 - Backjump instructions, move to flower |
35 - Collect first crate (rope) |
35 - Collect first crate (rope) |
36 - Rope instructions |
36 - Rope instructions |
37 - Parachute crate appears in the right pit |
37 - Parachute crate appears in the right pit |
38 - Player collects parachute |
38 - Player collects parachute |
39 - Instruct player to move to mole head |
39 - Instruct player to move to mole head |
420 function CheckMovedUntilJump() |
420 function CheckMovedUntilJump() |
421 return GetX(youngh) >= 2343 |
421 return GetX(youngh) >= 2343 |
422 end |
422 end |
423 |
423 |
424 function DoMovedUntilJump() |
424 function DoMovedUntilJump() |
425 local msg |
425 local msg = loc("Look to the left and do a backwards jump towards the mushroom.") .. "| |" |
426 if INTERFACE == "touch" then |
426 if INTERFACE == "touch" then |
427 msg = loc("Hint: Double Jump - Tap the [Curvy Arrow] twice") |
427 msg = msg .. loc("Backwards jump: Tap the [Curvy Arrow] twice") |
428 else |
428 else |
429 msg = loc("Hint: Double Jump - Press [Backspace] twice") |
429 msg = msg .. loc("Backwards jump: Press [Backspace] twice") |
430 end |
430 end |
431 ShowMission(loc("First Blood"), loc("Step By Step"), msg, -amSkip, 0) |
431 ShowMission(loc("First Blood"), loc("Step By Step"), msg, -amSkip, 10000) |
432 AddEvent(CheckOnShroom, {}, DoOnShroom, {}, 0) |
432 AddEvent(CheckOnShroom, {}, DoOnShroom, {}, 0) |
433 end |
433 end |
434 |
434 |
435 function CheckOnShroom() |
435 function CheckOnShroom() |
436 return GetX(youngh) >= 2461 and StoppedGear(youngh) |
436 return GetX(youngh) >= 2461 and StoppedGear(youngh) |