share/hedgewars/Data/Missions/Campaign/A Classic Fairytale/first_blood.lua
changeset 8943 63ecf5320439
parent 8043 da083f8d95e6
child 8944 ed2509832311
equal deleted inserted replaced
8942:5a587c7169f2 8943:63ecf5320439
   218 
   218 
   219   table.insert(cannKilledEarlyAnim, {func = AnimSay, args = {elderh, loc("What?! A cannibal? Here? There is no time to waste! Come, you are prepared."), SAY_SHOUT, 4000}})
   219   table.insert(cannKilledEarlyAnim, {func = AnimSay, args = {elderh, loc("What?! A cannibal? Here? There is no time to waste! Come, you are prepared."), SAY_SHOUT, 4000}})
   220 end
   220 end
   221 -----------------------------Events------------------------------------
   221 -----------------------------Events------------------------------------
   222 function CheckNeedToTurn(gear)
   222 function CheckNeedToTurn(gear)
       
   223   if youngKilled then
       
   224     return false
       
   225   end
   223   if gear == princess then
   226   if gear == princess then
   224     if princessKilled ~= true then
   227     if princessKilled ~= true then
   225       if (GetX(princess) > GetX(youngh) and princessFace == "Right")
   228       if (GetX(princess) > GetX(youngh) and princessFace == "Right")
   226         or (GetX(princess) < GetX(youngh) and princessFace == "Left") then
   229         or (GetX(princess) < GetX(youngh) and princessFace == "Left") then
   227       --if (GetX(princess) > GetX(youngh))
   230       --if (GetX(princess) > GetX(youngh))