share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/backstab.lua
changeset 14592 32cf7472da06
parent 14500 dbf704b00762
child 14612 bd15c8551318
equal deleted inserted replaced
14591:b4089fa16b34 14592:32cf7472da06
   374   vCircs[3] = AddVisualGear(0,0,vgtCircle,0,true)
   374   vCircs[3] = AddVisualGear(0,0,vgtCircle,0,true)
   375   SetVisualGearValues(vCircs[1], cannibalPos[7][1], cannibalPos[7][2], 100, 255, 1, 10, 0, 120, 3, 0xff00ffff)
   375   SetVisualGearValues(vCircs[1], cannibalPos[7][1], cannibalPos[7][2], 100, 255, 1, 10, 0, 120, 3, 0xff00ffff)
   376   SetVisualGearValues(vCircs[2], cannibalPos[8][1], cannibalPos[8][2], 100, 255, 1, 10, 0, 120, 3, 0xff00ffff)
   376   SetVisualGearValues(vCircs[2], cannibalPos[8][1], cannibalPos[8][2], 100, 255, 1, 10, 0, 120, 3, 0xff00ffff)
   377   SetVisualGearValues(vCircs[3], cannibalPos[9][1], cannibalPos[9][2], 100, 255, 1, 10, 0, 120, 3, 0xff00ffff)
   377   SetVisualGearValues(vCircs[3], cannibalPos[9][1], cannibalPos[9][2], 100, 255, 1, 10, 0, 120, 3, 0xff00ffff)
   378   circlesPut = true
   378   circlesPut = true
       
   379 end
       
   380 
       
   381 function DeleteCircles()
       
   382   for i=1, #vCircs do
       
   383     DeleteVisualGear(vCircs[i])
       
   384   end
   379 end
   385 end
   380 
   386 
   381 function SetupWave2DeadAnim()
   387 function SetupWave2DeadAnim()
   382   for i = 7, 1, -1 do
   388   for i = 7, 1, -1 do
   383     if nativeDead[i] ~= true then
   389     if nativeDead[i] ~= true then
   640 end
   646 end
   641 
   647 
   642 function DoTurnsOver()
   648 function DoTurnsOver()
   643   stage = wave3Stage
   649   stage = wave3Stage
   644   RestoreWave(3)
   650   RestoreWave(3)
       
   651   DeleteCircles()
   645 end
   652 end
   646 
   653 
   647 function SkipWave2Anim()
   654 function SkipWave2Anim()
   648   AnimSwitchHog(speakerHog)
   655   AnimSwitchHog(speakerHog)
   649 end
   656 end