share/hedgewars/Data/Missions/Campaign/A Classic Fairytale/journey.lua
changeset 7261 158f8fb74ded
parent 7245 53f73f4ae203
child 7448 d0521a3a4358
equal deleted inserted replaced
7259:b630df7ac843 7261:158f8fb74ded
   662   AddEvent(CheckTookLowGravity, {}, DoTookLowGravity, {}, 0)
   662   AddEvent(CheckTookLowGravity, {}, DoTookLowGravity, {}, 0)
   663   AddEvent(CheckOnBridge, {}, DoOnBridge, {}, 0)
   663   AddEvent(CheckOnBridge, {}, DoOnBridge, {}, 0)
   664 end
   664 end
   665 
   665 
   666 function StartMission()
   666 function StartMission()
   667   HideHog(cyborg)
       
   668   HideHog(princess)
       
   669   cyborgHidden = true
       
   670   princessHidden = true
       
   671   for i = 5, 8 do
       
   672     HideHog(cannibals[i])
       
   673   end
       
   674 
       
   675   if m2DenseDead == 1 then
   667   if m2DenseDead == 1 then
   676     DeleteGear(dense)
   668     DeleteGear(dense)
   677     if m2Choice == choiceAccepted then
   669     if m2Choice == choiceAccepted then
   678       SetupAnimAcceptedDied()
   670       SetupAnimAcceptedDied()
   679     elseif m2Choice == choiceRefused then
   671     elseif m2Choice == choiceRefused then
   694     SetupPlaceDuo()
   686     SetupPlaceDuo()
   695     SetupEventsDuo()
   687     SetupEventsDuo()
   696     AddAnim(startAnim)
   688     AddAnim(startAnim)
   697     AddFunction({func = AfterStartAnim, args = {}})
   689     AddFunction({func = AfterStartAnim, args = {}})
   698   end
   690   end
       
   691   HideHog(cyborg)
       
   692   HideHog(princess)
       
   693   cyborgHidden = true
       
   694   princessHidden = true
       
   695   for i = 5, 8 do
       
   696     HideHog(cannibals[i])
       
   697   end
       
   698 
   699 end
   699 end
   700   
   700   
   701 function SetupCourse()
   701 function SetupCourse()
   702 
   702 
   703   ------ GIRDER LIST ------
   703   ------ GIRDER LIST ------