equal
deleted
inserted
replaced
219 if endTimer == 1 then |
219 if endTimer == 1 then |
220 GenericEnd() |
220 GenericEnd() |
221 end |
221 end |
222 |
222 |
223 if missionWon == true then |
223 if missionWon == true then |
224 AddCaption(loc("Victory!"), 0xFFFFFFFF,capgrpGameState) |
224 AddCaption(loc("Victory!"), capcolDefault, capgrpGameState) |
225 else |
225 else |
226 AddCaption(loc("Challenge over!"), 0xFFFFFFFF,capgrpGameState) |
226 AddCaption(loc("Challenge over!"), capcolDefault, capgrpGameState) |
227 end |
227 end |
228 |
228 |
229 end |
229 end |
230 |
230 |
231 end |
231 end |
239 if gear ~= hhs[0] and GetGearType(gear) == gtHedgehog and missionWon == nil and ouchies == false then |
239 if gear ~= hhs[0] and GetGearType(gear) == gtHedgehog and missionWon == nil and ouchies == false then |
240 |
240 |
241 AddVisualGear(GetX(gear), GetY(gear), vgtBigExplosion, 0, false) |
241 AddVisualGear(GetX(gear), GetY(gear), vgtBigExplosion, 0, false) |
242 DeleteGear(gear) |
242 DeleteGear(gear) |
243 PlaySound(sndExplosion) |
243 PlaySound(sndExplosion) |
244 AddCaption(string.format(knockTaunt(), GetHogName(gear)), 0xFFFFFFFF, capgrpMessage) |
244 AddCaption(string.format(knockTaunt(), GetHogName(gear)), capcolDefault, capgrpMessage) |
245 |
245 |
246 hogsKilled = hogsKilled +1 |
246 hogsKilled = hogsKilled +1 |
247 SetTeamLabel(playerTeamName, tostring(GetKillScore())) |
247 SetTeamLabel(playerTeamName, tostring(GetKillScore())) |
248 |
248 |
249 if hogsKilled == 15 then |
249 if hogsKilled == 15 then |