share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/first_blood.lua
changeset 15067 d59da429d22c
parent 15029 09c63d4bcf53
child 15068 6f51c75994a4
equal deleted inserted replaced
15066:d75ce53d811e 15067:d59da429d22c
   428   if INTERFACE == "touch" then
   428   if INTERFACE == "touch" then
   429      msg = msg .. loc("Backwards jump: Tap the [Curvy Arrow] twice")
   429      msg = msg .. loc("Backwards jump: Tap the [Curvy Arrow] twice")
   430   else
   430   else
   431      msg = msg .. loc("Backwards jump: Press [Backspace] twice")
   431      msg = msg .. loc("Backwards jump: Press [Backspace] twice")
   432   end
   432   end
   433   ShowMission(loc("First Blood"), loc("Step By Step"), msg, -amSkip, 10000)
   433   ShowMission(loc("First Blood"), loc("Step By Step"), msg, 10, 10000)
   434   AddEvent(CheckOnShroom, {}, DoOnShroom, {}, 0)
   434   AddEvent(CheckOnShroom, {}, DoOnShroom, {}, 0)
   435 end
   435 end
   436 
   436 
   437 function CheckOnShroom()
   437 function CheckOnShroom()
   438   return GetHealth(youngh) and GetX(youngh) >= 2461 and StoppedGear(youngh)
   438   return GetHealth(youngh) and GetX(youngh) >= 2461 and StoppedGear(youngh)
   786     -- FIXME: Precise key is not available in Touch
   786     -- FIXME: Precise key is not available in Touch
   787     msgSkip = ""
   787     msgSkip = ""
   788   else
   788   else
   789     msgSkip = "|" .. loc("Hint: Cinematics can be skipped with the [Precise] key.")
   789     msgSkip = "|" .. loc("Hint: Cinematics can be skipped with the [Precise] key.")
   790   end
   790   end
   791   ShowMission(loc("A Classic Fairytale"), loc("First Blood"), loc("Finish your training.") .. msgSkip, -amSkip, 0)
   791   ShowMission(loc("A Classic Fairytale"), loc("First Blood"), loc("Finish your training.") .. msgSkip, 10, 0)
   792   HideHog(cannibal)
   792   HideHog(cannibal)
   793 
   793 
   794   AddAnim(startDialogue)
   794   AddAnim(startDialogue)
   795   princessFace = "Right"
   795   princessFace = "Right"
   796   AddEvent(CheckNeedToTurn, {princess}, DoNeedToTurn, {princess}, 1)
   796   AddEvent(CheckNeedToTurn, {princess}, DoNeedToTurn, {princess}, 1)