author | Wuzzy <almikes@aol.com> |
Sun, 16 Apr 2017 02:02:07 +0200 | |
changeset 12269 | 41542ed28fe4 |
parent 12229 | d62d6f8ebef1 |
child 12369 | 5857936921ec |
permissions | -rw-r--r-- |
8043 | 1 |
HedgewarsScriptLoad("/Scripts/Locale.lua") |
2 |
HedgewarsScriptLoad("/Scripts/Animate.lua") |
|
7481 | 3 |
|
4 |
-----------------------------Constants--------------------------------- |
|
5 |
leaksNum = 1 |
|
6 |
denseNum = 2 |
|
7 |
waterNum = 3 |
|
8 |
buffaloNum = 4 |
|
9 |
chiefNum = 5 |
|
10 |
girlNum = 6 |
|
11 |
wiseNum = 7 |
|
12 |
ramonNum = 8 |
|
13 |
spikyNum = 9 |
|
14 |
princessNum = 10 |
|
15 |
||
16 |
denseScene = 1 |
|
17 |
princessScene = 2 |
|
18 |
waterScene = 3 |
|
19 |
cyborgScene = 4 |
|
20 |
||
21 |
nativeNames = {loc("Leaks A Lot"), loc("Dense Cloud"), loc("Fiery Water"), |
|
22 |
loc("Raging Buffalo"), loc("Righteous Beard"), loc("Fell From Grace"), |
|
23 |
loc("Wise Oak"), loc("Ramon"), loc("Spiky Cheese"), |
|
24 |
loc("Fell From Heaven") |
|
25 |
} |
|
26 |
nativeHats = {"Rambo", "RobinHood", "pirate_jack", "zoo_Bunny", "IndianChief", |
|
27 |
"tiara", "AkuAku", "rasta", "hair_yellow", "tiara"} |
|
28 |
||
29 |
nativePosCyborg = {{1900, 508}, {480, 1321}, {2927, 873}, |
|
30 |
{1325, 905}, {3190, 1424}, {1442, 857}, |
|
31 |
{1134, 1278}, {2881, 853}, {2974, 897}, |
|
32 |
{2033, 511}} |
|
33 |
nativeDirCyborg = {"Right", "Right", "Left", "Right", "Right", "Left", "Right", "Right", "Left", "Left"} |
|
34 |
||
35 |
nativePosPrincess = {{1930, 508}, {480, 1321}, {2927, 873}, |
|
36 |
{1325, 905}, {3190, 1424}, {2033, 511}, |
|
37 |
{1134, 1278}, {2881, 853}, {2974, 897}, |
|
38 |
{1900, 508}} |
|
39 |
nativeDirPrincess = {"Right", "Right", "Left", "Right", "Right", "Left", "Right", "Right", "Left", "Right"} |
|
40 |
||
41 |
nativePosDense = {{1930, 508}, {2285, 772}, {2927, 873}, |
|
42 |
{1325, 905}, {3190, 1424}, {1442, 857}, |
|
43 |
{1134, 1278}, {480, 1321}, {2974, 897}, |
|
44 |
{2033, 511}} |
|
45 |
nativeDirDense = {"Right", "Left", "Left", "Right", "Right", "Left", "Right", "Right", "Left", "Left"} |
|
46 |
||
47 |
nativePosWater = {{1900, 508}, {2033, 511}, {2285, 772}, |
|
48 |
{1325, 905}, {3190, 1424}, {1442, 857}, |
|
49 |
{1134, 1278}, {480, 1321}, {2974, 897}, |
|
50 |
{1980, 511}} |
|
51 |
nativeDirWater = {"Right", "Left", "Left", "Right", "Right", "Left", "Right", "Right", "Left", "Left"} |
|
52 |
||
53 |
prisonPos = {2285, 772} |
|
54 |
||
55 |
brainNum = 1 |
|
56 |
corpseNum = 2 |
|
57 |
brutalNum = 3 |
|
58 |
earNum = 4 |
|
59 |
hanniNum = 5 |
|
60 |
||
61 |
cannibalNames = {loc("Brainiac"), loc("Corpse Thrower"), loc("Brutal Lily"), loc("Ear Sniffer"), loc("Hannibal")} |
|
62 |
cannibalHats = {"Zombi", "AkuAku", "Zombi", "Zombi", "IndianChief"} |
|
63 |
cannibalPos = {{533, 1304}, {1184, 1282}, {1386, 883}, {2854, 834}, {3243, 1415}} |
|
64 |
cannibalDir = {"Left", "Left", "Left", "Right", "Left"} |
|
65 |
-----------------------------Variables--------------------------------- |
|
66 |
natives = {} |
|
67 |
cannibals = {} |
|
68 |
traitor = nil |
|
69 |
crate = nil |
|
70 |
||
71 |
startAnim = {} |
|
72 |
||
73 |
gearDead = {} |
|
74 |
--------------------------Anim skip functions-------------------------- |
|
75 |
function SkipStartAnim() |
|
76 |
SetGearMessage(CurrentHedgehog, 0) |
|
77 |
AnimSwitchHog(natives[1]) |
|
78 |
end |
|
79 |
||
80 |
function AfterStartAnim() |
|
81 |
crate = SpawnHealthCrate(0, 0) |
|
82 |
SetGearMessage(CurrentHedgehog, 0) |
|
83 |
AddNewEvent(CheckCrateTaken, {}, DoCrateTaken, {}, 1) |
|
84 |
TurnTimeLeft = 0 |
|
12269
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
85 |
ShowMission(loc("Epilogue"), loc("That's all, folks!"), |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
86 |
loc("You have successfully finished the campaign!").."|".. |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
87 |
loc("If you wish to replay, there are other possible endings, too!").."|".. |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
88 |
loc("You can practice moving around and using utilities in this mission.|However, it will never end!"), 1, 0) |
11960
d72a177dbaea
Update campaign drop-down list after campaign victory
Wuzzy <almikes@aol.com>
parents:
11959
diff
changeset
|
89 |
SaveCampaignVar("Progress", "10") |
11959
62be63822a96
Fix final mission of Progress-based campaigns (like ACF) not being recognized as finished
Wuzzy <almikes@aol.com>
parents:
11038
diff
changeset
|
90 |
SaveCampaignVar("Won", "true") |
7481 | 91 |
end |
92 |
||
93 |
---------------------------Events------------------------------------- |
|
94 |
function CheckCrateTaken() |
|
95 |
return gearDead[crate] |
|
96 |
end |
|
97 |
||
98 |
function DoCrateTaken() |
|
99 |
crate = SpawnHealthCrate(0, 0) |
|
100 |
end |
|
101 |
-----------------------------Animations-------------------------------- |
|
102 |
function AnimationSetup() |
|
103 |
if m8Scene == cyborgScene then |
|
104 |
SetupAnimCyborg() |
|
105 |
elseif m8Scene == princessScene then |
|
106 |
SetupAnimPrincess() |
|
107 |
elseif m8Scene == waterScene then |
|
108 |
SetupAnimWater() |
|
109 |
else |
|
110 |
SetupAnimDense() |
|
111 |
end |
|
112 |
AddSkipFunction(startAnim, SkipStartAnim, {}) |
|
113 |
end |
|
114 |
||
115 |
function SetupAnimWater() |
|
116 |
startAnim = { |
|
117 |
{func = AnimWait, args = {natives[1], 3000}}, |
|
12269
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
118 |
{func = AnimCaption, args = {natives[ramonNum], loc("Back in the village, the two tribes finally started to live in harmony."), 5000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
119 |
{func = AnimSay, args = {natives[ramonNum], loc("You got a killer mask there, amigo!"), SAY_SAY, 5500}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
120 |
{func = AnimSay, args = {cannibals[brainNum], loc("Thanks, man! It really means a lot to me."), SAY_SAY, 6000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
121 |
{func = AnimSay, args = {natives[wiseNum], loc("So, uhmm, how did you manage to teleport them so far?"), SAY_SAY, 8000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
122 |
{func = AnimSay, args = {cannibals[corpseNum], loc("It's all about the right carrots, you know."), SAY_SAY, 7000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
123 |
{func = AnimSay, args = {natives[wiseNum], loc("Of course! It's all obvious now!"), SAY_SAY, 4500}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
124 |
{func = AnimSay, args = {natives[chiefNum], loc("I can't believe how blind we were."), SAY_SAY, 4500}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
125 |
{func = AnimSay, args = {natives[chiefNum], loc("Fighting instead of cultivating a beautiful friendship."), SAY_SAY, 8500}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
126 |
{func = AnimSay, args = {cannibals[hanniNum], loc("One shall not judge one by one's appearance!"), SAY_SAY, 7000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
127 |
{func = AnimSay, args = {natives[chiefNum], loc("You speak great truth, Hannibal. Here, take a sip!"), SAY_SAY, 7500}}, |
7481 | 128 |
{func = AnimVisualGear, args = {cannibals[hanniNum], cannibalPos[hanniNum][1], cannibalPos[hanniNum][2], vgtSmoke, 0, true}}, |
129 |
{func = AnimWait, args = {natives[1], 1000}}, |
|
130 |
{func = AnimVisualGear, args = {cannibals[hanniNum], cannibalPos[hanniNum][1], cannibalPos[hanniNum][2], vgtSmoke, 0, true}}, |
|
131 |
{func = AnimWait, args = {natives[1], 1000}}, |
|
132 |
{func = AnimVisualGear, args = {cannibals[hanniNum], cannibalPos[hanniNum][1], cannibalPos[hanniNum][2], vgtSmoke, 0, true}}, |
|
133 |
{func = AnimWait, args = {natives[1], 1000}}, |
|
12269
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
134 |
{func = AnimSay, args = {natives[leaksNum], loc("It's amazing how quickly our lives can change."), SAY_SAY, 7000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
135 |
{func = AnimSay, args = {natives[waterNum], loc("Aye! Fellow! Let me exit this chamber of doom!"), SAY_SAY, 7000}}, |
7481 | 136 |
{func = AnimTurn, args = {natives[princessNum], "Right"}}, |
12269
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
137 |
{func = AnimSay, args = {natives[princessNum], loc("It's your fault you're there!"), SAY_SAY, 5000}}, |
7481 | 138 |
{func = AnimTurn, args = {natives[princessNum], "Left"}}, |
12269
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
139 |
{func = AnimSay, args = {natives[leaksNum], loc("I always suspected him!"), SAY_SAY, 3000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
140 |
{func = AnimSay, args = {natives[leaksNum], loc("Nobody takes walks every day!"), SAY_SAY, 4000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
141 |
{func = AnimSay, args = {natives[princessNum], loc("I don't know who I can trust anymore."), SAY_SAY, 6000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
142 |
{func = AnimSay, args = {natives[princessNum], loc("Everywhere I look, I see hogs walking around …"), SAY_SAY, 7000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
143 |
{func = AnimSay, args = {natives[princessNum], loc("… and I think they are up to something. Something bad!"), SAY_SAY, 8000}}, |
7481 | 144 |
{func = AnimMove, args = {natives[leaksNum], "Right", nativePosWater[princessNum][1] - 30, nativePosWater[princessNum][2]}}, |
12269
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
145 |
{func = AnimSay, args = {natives[leaksNum], loc("You can always trust me! I love you!"), SAY_SAY, 6000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
146 |
{func = AnimSay, args = {natives[princessNum], loc("I know and I'm terribly sorry!"), SAY_SAY, 5000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
147 |
{func = AnimSay, args = {natives[princessNum], loc("I love Dense Cloud now!"), SAY_SAY, 4000}}, |
7481 | 148 |
{func = AnimTurn, args = {natives[princessNum], "Right"}}, |
149 |
{func = AnimMove, args = {natives[denseNum], "Left", nativePosWater[princessNum][1] + 20, nativePosWater[princessNum][2]}}, |
|
12269
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
150 |
{func = AnimSay, args = {natives[denseNum], loc("Problems, dude? Chillax!"), SAY_SAY, 4000}}, |
7481 | 151 |
{func = AnimTurn, args = {natives[leaksNum], "Left"}}, |
12269
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
152 |
{func = AnimSay, args = {natives[leaksNum], loc("Sigh."), SAY_SAY, 6000}}, |
7481 | 153 |
{func = AnimSwitchHog, args = {natives[leaksNum]}}, |
154 |
} |
|
155 |
end |
|
156 |
||
157 |
function SetupAnimDense() |
|
158 |
startAnim = { |
|
159 |
{func = AnimWait, args = {natives[1], 3000}}, |
|
12269
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
160 |
{func = AnimCaption, args = {natives[ramonNum], loc("Back in the village, the two tribes finally started to live in harmony."), 5000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
161 |
{func = AnimSay, args = {natives[ramonNum], loc("You got a killer mask there, amigo!"), SAY_SAY, 5500}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
162 |
{func = AnimSay, args = {cannibals[brainNum], loc("Thanks, man! It really means a lot to me."), SAY_SAY, 6000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
163 |
{func = AnimSay, args = {natives[wiseNum], loc("So, uhmm, how did you manage to teleport them so far?"), SAY_SAY, 8000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
164 |
{func = AnimSay, args = {cannibals[corpseNum], loc("It's all about the right carrots, you know."), SAY_SAY, 7000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
165 |
{func = AnimSay, args = {natives[wiseNum], loc("Of course! It's all obvious now!"), SAY_SAY, 4500}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
166 |
{func = AnimSay, args = {natives[chiefNum], loc("I can't believe how blind we were."), SAY_SAY, 4500}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
167 |
{func = AnimSay, args = {natives[chiefNum], loc("Fighting instead of cultivating a beautiful friendship."), SAY_SAY, 8500}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
168 |
{func = AnimSay, args = {cannibals[hanniNum], loc("One shall not judge one by one's appearance!"), SAY_SAY, 7000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
169 |
{func = AnimSay, args = {natives[chiefNum], loc("You speak great truth, Hannibal. Here, take a sip!"), SAY_SAY, 7500}}, |
7481 | 170 |
{func = AnimVisualGear, args = {cannibals[hanniNum], cannibalPos[hanniNum][1], cannibalPos[hanniNum][2], vgtSmoke, 0, true}}, |
171 |
{func = AnimWait, args = {natives[1], 1000}}, |
|
172 |
{func = AnimVisualGear, args = {cannibals[hanniNum], cannibalPos[hanniNum][1], cannibalPos[hanniNum][2], vgtSmoke, 0, true}}, |
|
173 |
{func = AnimWait, args = {natives[1], 1000}}, |
|
174 |
{func = AnimVisualGear, args = {cannibals[hanniNum], cannibalPos[hanniNum][1], cannibalPos[hanniNum][2], vgtSmoke, 0, true}}, |
|
175 |
{func = AnimWait, args = {natives[1], 1000}}, |
|
12269
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
176 |
{func = AnimSay, args = {natives[waterNum], loc("… and then I took a stroll …"), SAY_SAY, 4000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
177 |
{func = AnimSay, args = {natives[leaksNum], loc("It's amazing how quickly our lives can change."), SAY_SAY, 7000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
178 |
{func = AnimSay, args = {natives[denseNum], loc("Dude, let me out!"), SAY_SAY, 3000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
179 |
{func = AnimSay, args = {natives[denseNum], loc("I already said I'm sorry!"), SAY_SAY, 4000}}, |
7481 | 180 |
{func = AnimTurn, args = {natives[princessNum], "Right"}}, |
12269
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
181 |
{func = AnimSay, args = {natives[princessNum], loc("Traitors don't get to shout around here!"), SAY_SAY, 7000}}, |
7481 | 182 |
{func = AnimTurn, args = {natives[princessNum], "Left"}}, |
12269
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
183 |
{func = AnimSay, args = {natives[leaksNum], loc("I still can't believe he sold us out like that."), SAY_SAY, 8000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
184 |
{func = AnimSay, args = {natives[princessNum], loc("I don't know who I can trust anymore."), SAY_SAY, 6000}}, |
7481 | 185 |
{func = AnimMove, args = {natives[leaksNum], "Right", nativePosDense[princessNum][1] - 30, nativePosDense[princessNum][2]}}, |
12269
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
186 |
{func = AnimSay, args = {natives[leaksNum], loc("You can always trust me!"), SAY_SAY, 4000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
187 |
{func = AnimSay, args = {natives[princessNum], loc("I know, my hero!"), SAY_SAY, 3000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
188 |
{func = AnimSay, args = {natives[princessNum], loc("I love you."), SAY_SAY, 2000}}, |
7481 | 189 |
{func = AnimSwitchHog, args = {natives[leaksNum]}}, |
190 |
} |
|
191 |
end |
|
192 |
||
193 |
function SetupAnimCyborg() |
|
194 |
startAnim = { |
|
195 |
{func = AnimWait, args = {natives[1], 3000}}, |
|
12269
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
196 |
{func = AnimCaption, args = {natives[denseNum], loc("Back in the village, the two tribes finally started to live in harmony."), 5000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
197 |
{func = AnimSay, args = {natives[denseNum], loc("Dude, that outfit is so cool!"), SAY_SAY, 4500}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
198 |
{func = AnimSay, args = {cannibals[brainNum], loc("Thanks, dude! It really means a lot to me."), SAY_SAY, 6000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
199 |
{func = AnimSay, args = {natives[wiseNum], loc("So, uhmm, how did you manage to teleport them so far?"), SAY_SAY, 8000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
200 |
{func = AnimSay, args = {cannibals[corpseNum], loc("It's all about the right carrots, you know."), SAY_SAY, 7000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
201 |
{func = AnimSay, args = {natives[wiseNum], loc("Of course! It's all obvious now!"), SAY_SAY, 4500}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
202 |
{func = AnimSay, args = {natives[chiefNum], loc("I can't believe how blind we were."), SAY_SAY, 4500}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
203 |
{func = AnimSay, args = {natives[chiefNum], loc("Fighting instead of cultivating a beautiful friendship."), SAY_SAY, 8500}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
204 |
{func = AnimSay, args = {cannibals[hanniNum], loc("One shall not judge one by one's appearance!"), SAY_SAY, 7000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
205 |
{func = AnimSay, args = {natives[chiefNum], loc("You speak great truth, Hannibal. Here, take a sip!"), SAY_SAY, 7500}}, |
7481 | 206 |
{func = AnimVisualGear, args = {cannibals[hanniNum], cannibalPos[hanniNum][1], cannibalPos[hanniNum][2], vgtSmoke, 0, true}}, |
207 |
{func = AnimWait, args = {natives[1], 1000}}, |
|
208 |
{func = AnimVisualGear, args = {cannibals[hanniNum], cannibalPos[hanniNum][1], cannibalPos[hanniNum][2], vgtSmoke, 0, true}}, |
|
209 |
{func = AnimWait, args = {natives[1], 1000}}, |
|
210 |
{func = AnimVisualGear, args = {cannibals[hanniNum], cannibalPos[hanniNum][1], cannibalPos[hanniNum][2], vgtSmoke, 0, true}}, |
|
211 |
{func = AnimWait, args = {natives[1], 1000}}, |
|
12269
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
212 |
{func = AnimSay, args = {natives[waterNum], loc("… and then I took a stroll …"), SAY_SAY, 4000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
213 |
{func = AnimSay, args = {natives[leaksNum], loc("I'm glad this is over!"), SAY_SAY, 4000}}, |
7481 | 214 |
{func = AnimMove, args = {natives[princessNum], "Right", nativePosCyborg[princessNum][1] + 30, nativePosCyborg[princessNum][2]}}, |
12269
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
215 |
{func = AnimSay, args = {natives[princessNum], loc("I was so scared."), SAY_SAY, 2500}}, |
7481 | 216 |
{func = AnimMove, args = {natives[leaksNum], "Right", nativePosCyborg[princessNum][1], nativePosCyborg[princessNum][2]}}, |
12269
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
217 |
{func = AnimSay, args = {natives[leaksNum], loc("You have nothing to be afraid of now."), SAY_SAY, 6000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
218 |
{func = AnimSay, args = {natives[leaksNum], loc("I'll protect you!"), SAY_SAY, 3000}}, |
7481 | 219 |
{func = AnimTurn, args = {natives[princessNum], "Left"}}, |
12269
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
220 |
{func = AnimSay, args = {natives[princessNum], loc("You're so brave! I feel safe with you."), SAY_SAY, 6500}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
221 |
{func = AnimSay, args = {natives[princessNum], loc("I think I love you!"), SAY_SAY, 3500}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
222 |
{func = AnimSay, args = {natives[leaksNum], loc("I … like being with you, too."), SAY_SAY, 4500}}, |
7481 | 223 |
} |
224 |
end |
|
225 |
||
226 |
function SetupAnimPrincess() |
|
227 |
startAnim = { |
|
228 |
{func = AnimWait, args = {natives[1], 3000}}, |
|
12269
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
229 |
{func = AnimCaption, args = {natives[denseNum], loc("Back in the village, the two tribes finally started to live in harmony."), 5000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
230 |
{func = AnimSay, args = {natives[denseNum], loc("Dude, that outfit is so cool!"), SAY_SAY, 4500}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
231 |
{func = AnimSay, args = {cannibals[brainNum], loc("Thanks, dude! It really means a lot to me."), SAY_SAY, 6000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
232 |
{func = AnimSay, args = {natives[wiseNum], loc("So, uhmm, how did you manage to teleport them so far?"), SAY_SAY, 8000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
233 |
{func = AnimSay, args = {cannibals[corpseNum], loc("It's all about the right carrots, you know."), SAY_SAY, 7000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
234 |
{func = AnimSay, args = {natives[wiseNum], loc("Of course! It's all obvious now!"), SAY_SAY, 4500}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
235 |
{func = AnimSay, args = {natives[chiefNum], loc("I can't believe how blind we were."), SAY_SAY, 4500}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
236 |
{func = AnimSay, args = {natives[chiefNum], loc("Fighting instead of cultivating a beautiful friendship."), SAY_SAY, 8500}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
237 |
{func = AnimSay, args = {cannibals[hanniNum], loc("One shall not judge one by one's appearance!"), SAY_SAY, 7000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
238 |
{func = AnimSay, args = {natives[chiefNum], loc("You speak great truth, Hannibal. Here, take a sip!"), SAY_SAY, 7500}}, |
7481 | 239 |
{func = AnimVisualGear, args = {cannibals[hanniNum], cannibalPos[hanniNum][1], cannibalPos[hanniNum][2], vgtSmoke, 0, true}}, |
240 |
{func = AnimWait, args = {natives[1], 1000}}, |
|
241 |
{func = AnimVisualGear, args = {cannibals[hanniNum], cannibalPos[hanniNum][1], cannibalPos[hanniNum][2], vgtSmoke, 0, true}}, |
|
242 |
{func = AnimWait, args = {natives[1], 1000}}, |
|
243 |
{func = AnimVisualGear, args = {cannibals[hanniNum], cannibalPos[hanniNum][1], cannibalPos[hanniNum][2], vgtSmoke, 0, true}}, |
|
244 |
{func = AnimWait, args = {natives[1], 1000}}, |
|
12269
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
245 |
{func = AnimSay, args = {natives[buffaloNum], loc("So I shook my fist in the air!"), SAY_SAY, 5000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
246 |
{func = AnimSay, args = {cannibals[brutalNum], loc("Well that was an unnecessary act of violence."), SAY_SAY, 7000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
247 |
{func = AnimSay, args = {natives[waterNum], loc("… and then I took a stroll …"), SAY_SAY, 4000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
248 |
{func = AnimSay, args = {natives[leaksNum], loc("I'm glad this is over!"), SAY_SAY, 4000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
249 |
{func = AnimSay, args = {natives[girlNum], loc("I still can't believe you forgave her!"), SAY_SAY, 6000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
250 |
{func = AnimSay, args = {natives[girlNum], loc("She endangered the whole tribe!"), SAY_SAY, 5000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
251 |
{func = AnimSay, args = {natives[leaksNum], loc("It wasn't her fault!"), SAY_SAY, 4000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
252 |
{func = AnimSay, args = {natives[leaksNum], loc("We oppressed her, the only woman in the tribe!"), SAY_SAY, 7000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
253 |
{func = AnimSay, args = {natives[girlNum], loc("The only woman, huh?"), SAY_SAY, 4000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
254 |
{func = AnimSay, args = {natives[girlNum], loc("Then what am I?"), SAY_SAY, 4000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
255 |
{func = AnimSay, args = {natives[leaksNum], loc("Of course, but you're … special."), SAY_SAY, 5000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
256 |
{func = AnimSay, args = {natives[girlNum], loc("Sure!"), SAY_SAY, 2000}}, |
7481 | 257 |
{func = AnimTurn, args = {natives[leaksNum], "Left"}}, |
12269
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
258 |
{func = AnimSay, args = {natives[leaksNum], loc("We're terribly sorry!"), SAY_SAY, 4000}}, |
41542ed28fe4
Allow the diaogues in ACF missions 8 and 10 to be translated
Wuzzy <almikes@aol.com>
parents:
12229
diff
changeset
|
259 |
{func = AnimSay, args = {natives[princessNum], loc("I don't know if I can forget what you've done!"), SAY_SAY, 7000}}, |
7481 | 260 |
{func = AnimTurn, args = {natives[princessNum], "Left"}}, |
261 |
{func = AnimMove, args = {natives[princessNum], "Left", nativePosPrincess[princessNum][1] - 10, nativePosPrincess[princessNum][2]}}, |
|
262 |
{func = AnimSwitchHog, args = {natives[leaksNum]}} |
|
263 |
} |
|
264 |
end |
|
265 |
-----------------------------Misc-------------------------------------- |
|
266 |
function GetVariables() |
|
267 |
m8Scene = tonumber(GetCampaignVar("M8Scene")) |
|
268 |
end |
|
269 |
||
270 |
function AddHogs() |
|
271 |
AddTeam(loc("Natives"), 29439, "Bone", "Island", "HillBilly", "cm_birdy") |
|
272 |
for i = 1, 5 do |
|
273 |
natives[i] = AddHog(nativeNames[i], 0, 100, nativeHats[i]) |
|
274 |
end |
|
275 |
||
276 |
AddTeam(loc("More Natives"), 29439, "Bone", "Island", "HillBilly", "cm_birdy") |
|
277 |
for i = 6, 10 do |
|
278 |
natives[i] = AddHog(nativeNames[i], 0, 100, nativeHats[i]) |
|
279 |
end |
|
280 |
||
281 |
AddTeam(loc("Cannibals"), 29439, "Bone", "Island", "HillBilly", "cm_birdy") |
|
282 |
for i = 1, 5 do |
|
283 |
cannibals[i] = AddHog(cannibalNames[i], 0, 100, cannibalHats[i]) |
|
284 |
end |
|
285 |
||
286 |
if m8Scene == denseScene or m8Scene == waterScene then |
|
12054
030464f34d47
Tweak flags used in all missions to fit more to the theme
Wuzzy <almikes@aol.com>
parents:
11960
diff
changeset
|
287 |
AddTeam(loc("Traitors"), 29439, "Bone", "Island", "HillBilly", "cm_bloodyblade") |
7481 | 288 |
if m8Scene == denseScene then |
289 |
DeleteGear(natives[2]) |
|
290 |
natives[2] = AddHog(nativeNames[2], 0, 100, nativeHats[2]) |
|
291 |
else |
|
292 |
DeleteGear(natives[3]) |
|
293 |
natives[3] = AddHog(nativeNames[3], 0, 100, nativeHats[3]) |
|
294 |
end |
|
295 |
end |
|
296 |
||
297 |
SetGearPositions() |
|
298 |
end |
|
299 |
||
300 |
function SetGearPositions() |
|
301 |
if m8Scene == cyborgScene then |
|
302 |
for i = 1, 10 do |
|
303 |
AnimSetGearPosition(natives[i], unpack(nativePosCyborg[i])) |
|
304 |
AnimTurn(natives[i], nativeDirCyborg[i]) |
|
305 |
end |
|
306 |
elseif m8Scene == waterScene then |
|
307 |
for i = 1, 10 do |
|
308 |
AnimSetGearPosition(natives[i], unpack(nativePosWater[i])) |
|
309 |
AnimTurn(natives[i], nativeDirWater[i]) |
|
310 |
end |
|
311 |
elseif m8Scene == denseScene then |
|
312 |
for i = 1, 10 do |
|
313 |
AnimSetGearPosition(natives[i], unpack(nativePosDense[i])) |
|
314 |
AnimTurn(natives[i], nativeDirDense[i]) |
|
315 |
end |
|
316 |
else |
|
317 |
for i = 1, 10 do |
|
318 |
AnimSetGearPosition(natives[i], unpack(nativePosPrincess[i])) |
|
319 |
AnimTurn(natives[i], nativeDirPrincess[i]) |
|
320 |
end |
|
321 |
end |
|
322 |
||
323 |
for i = 1, 5 do |
|
324 |
AnimSetGearPosition(cannibals[i], unpack(cannibalPos[i])) |
|
325 |
AnimTurn(cannibals[i], cannibalDir[i]) |
|
326 |
end |
|
327 |
end |
|
328 |
||
329 |
function SetupPlace() |
|
330 |
if m8Scene == denseScene or m8Scene == waterScene then |
|
331 |
PlaceGirder(2296, 798, 4) |
|
332 |
PlaceGirder(2296, 700, 4) |
|
333 |
PlaceGirder(2225, 750, 2) |
|
334 |
PlaceGirder(2245, 750, 2) |
|
335 |
PlaceGirder(2265, 750, 2) |
|
336 |
PlaceGirder(2305, 750, 2) |
|
337 |
PlaceGirder(2345, 750, 2) |
|
338 |
PlaceGirder(2365, 750, 2) |
|
339 |
end |
|
340 |
if m8Scene == denseScene then |
|
341 |
traitor = natives[denseNum] |
|
342 |
elseif m8Scene == waterScene then |
|
343 |
traitor = natives[waterNum] |
|
344 |
end |
|
345 |
end |
|
346 |
-----------------------------Main Functions---------------------------- |
|
347 |
function onGameInit() |
|
348 |
Seed = 1 |
|
349 |
GameFlags = gfOneClanMode |
|
350 |
TurnTime = 60000 |
|
351 |
CaseFreq = 0 |
|
352 |
MinesNum = 0 |
|
353 |
MinesTime = 3000 |
|
354 |
Explosives = 0 |
|
355 |
Delay = 10 |
|
356 |
Map = "Hogville" |
|
357 |
Theme = "Nature" |
|
12229
d62d6f8ebef1
Disable Sudden Death consistently in all missions which don't require it
Wuzzy <almikes@aol.com>
parents:
12054
diff
changeset
|
358 |
-- Disable Sudden Death |
d62d6f8ebef1
Disable Sudden Death consistently in all missions which don't require it
Wuzzy <almikes@aol.com>
parents:
12054
diff
changeset
|
359 |
HealthDecrease = 0 |
d62d6f8ebef1
Disable Sudden Death consistently in all missions which don't require it
Wuzzy <almikes@aol.com>
parents:
12054
diff
changeset
|
360 |
WaterRise = 0 |
7481 | 361 |
|
362 |
GetVariables() |
|
363 |
AddHogs() |
|
364 |
AnimInit() |
|
365 |
end |
|
366 |
||
367 |
function onGameStart() |
|
368 |
SetupPlace() |
|
369 |
AnimationSetup() |
|
370 |
AddAnim(startAnim) |
|
371 |
AddFunction({func = AfterStartAnim, args = {}}) |
|
372 |
end |
|
373 |
||
374 |
function onGameTick() |
|
375 |
AnimUnWait() |
|
376 |
if ShowAnimation() == false then |
|
377 |
return |
|
378 |
end |
|
379 |
ExecuteAfterAnimations() |
|
380 |
CheckEvents() |
|
381 |
end |
|
382 |
||
383 |
function onGearDelete(gear) |
|
384 |
gearDead[gear] = true |
|
385 |
end |
|
386 |
||
387 |
function onAmmoStoreInit() |
|
11038 | 388 |
SetAmmo(amAirAttack, 9, 0, 0, 0) |
7481 | 389 |
SetAmmo(amBaseballBat, 9, 0, 0, 0) |
390 |
SetAmmo(amBazooka, 9, 0, 0, 0) |
|
391 |
SetAmmo(amBlowTorch, 9, 0, 0, 0) |
|
392 |
SetAmmo(amClusterBomb,9, 0, 0, 0) |
|
393 |
SetAmmo(amDEagle, 9, 0, 0, 0) |
|
394 |
SetAmmo(amDrill, 9, 0, 0, 4) |
|
395 |
SetAmmo(amDynamite, 9, 0, 0, 3) |
|
396 |
SetAmmo(amFirePunch, 9, 0, 0, 0) |
|
397 |
SetAmmo(amFlamethrower, 9, 0, 0, 3) |
|
398 |
SetAmmo(amGirder, 9, 0, 0, 0) |
|
399 |
SetAmmo(amGrenade, 9, 0, 0, 0) |
|
400 |
SetAmmo(amHammer, 9, 0, 0, 0) |
|
401 |
SetAmmo(amJetpack, 9, 0, 0, 0) |
|
402 |
SetAmmo(amLandGun, 9, 0, 0, 0) |
|
403 |
SetAmmo(amLowGravity, 9, 0, 0, 2) |
|
404 |
SetAmmo(amMine, 9, 0, 0, 2) |
|
405 |
SetAmmo(amMolotov, 9, 0, 0, 3) |
|
406 |
SetAmmo(amMortar, 9, 0, 0, 4) |
|
407 |
SetAmmo(amNapalm, 9, 0, 0, 4) |
|
408 |
SetAmmo(amParachute, 9, 0, 0, 0) |
|
409 |
SetAmmo(amPickHammer, 9, 0, 0, 0) |
|
410 |
SetAmmo(amPortalGun, 9, 0, 0, 0) |
|
411 |
SetAmmo(amRope, 9, 0, 0, 0) |
|
412 |
SetAmmo(amRCPlane, 9, 0, 0, 0) |
|
413 |
SetAmmo(amSkip, 9, 0, 0, 0) |
|
414 |
SetAmmo(amShotgun, 9, 0, 0, 0) |
|
415 |
SetAmmo(amSMine, 9, 0, 0, 2) |
|
416 |
SetAmmo(amSniperRifle, 9, 0, 0, 0) |
|
417 |
SetAmmo(amSnowball, 9, 0, 0, 0) |
|
418 |
SetAmmo(amSwitch, 9, 0, 0, 0) |
|
419 |
SetAmmo(amTeleport, 9, 0, 0, 0) |
|
420 |
SetAmmo(amWatermelon, 9, 0, 0, 0) |
|
421 |
SetAmmo(amWhip, 9, 0, 0, 0) |
|
422 |
end |
|
423 |
||
424 |
function onNewTurn() |
|
425 |
if AnimInProgress() then |
|
426 |
TurnTimeLeft = -1 |
|
427 |
return |
|
428 |
end |
|
429 |
if CurrentHedgehog == traitor then |
|
430 |
TurnTimeLeft = 0 |
|
431 |
else |
|
432 |
TurnTimeLeft = -1 |
|
433 |
end |
|
434 |
end |
|
435 |
||
436 |
function onPrecise() |
|
437 |
if GameTime > 2500 then |
|
438 |
SetAnimSkip(true) |
|
439 |
end |
|
440 |
end |