598 AddAmmo(speakerHog, amSwitch, 100) |
598 AddAmmo(speakerHog, amSwitch, 100) |
599 SetGearMessage(speakerHog, 0) |
599 SetGearMessage(speakerHog, 0) |
600 SetState(speakerHog, 0) |
600 SetState(speakerHog, 0) |
601 SetTurnTimeLeft(MAX_TURN_TIME) |
601 SetTurnTimeLeft(MAX_TURN_TIME) |
602 ShowMission(loc("Backstab"), loc("The food bites back"), loc("Defeat the cannibals!"), 1, 4000) |
602 ShowMission(loc("Backstab"), loc("The food bites back"), loc("Defeat the cannibals!"), 1, 4000) |
|
603 SetAmmoDelay(amBlowTorch, 0) |
|
604 SetAmmoDelay(amGirder, 0) |
|
605 SetAmmoDelay(amLandGun, 0) |
|
606 SetAmmoDelay(amRope, 0) |
|
607 SetAmmoDelay(amParachute, 0) |
603 SpawnCrates() |
608 SpawnCrates() |
604 end |
609 end |
605 |
610 |
606 function SkipAfterChoiceAnim() |
611 function SkipAfterChoiceAnim() |
607 SetGearMessage(CurrentHedgehog, 0) |
612 SetGearMessage(CurrentHedgehog, 0) |
1040 SetupAmmo() |
1045 SetupAmmo() |
1041 SetupPlace() |
1046 SetupPlace() |
1042 AnimationSetup() |
1047 AnimationSetup() |
1043 AddAnim(startAnim) |
1048 AddAnim(startAnim) |
1044 AddFunction({func = AfterStartAnim, args = {}}) |
1049 AddFunction({func = AfterStartAnim, args = {}}) |
|
1050 SetAmmoDelay(amBlowTorch, 9999) |
|
1051 SetAmmoDelay(amGirder, 9999) |
|
1052 SetAmmoDelay(amLandGun, 9999) |
|
1053 SetAmmoDelay(amRope, 9999) |
|
1054 SetAmmoDelay(amParachute, 9999) |
1045 end |
1055 end |
1046 |
1056 |
1047 function onGameTick() |
1057 function onGameTick() |
1048 AnimUnWait() |
1058 AnimUnWait() |
1049 if ShowAnimation() == false then |
1059 if ShowAnimation() == false then |