Frame 1
if (false) {
}
xLoc = load2_mc.progressBar._x;
load2_mc.onEnterFrame = function () {
fractionloaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
var _local2 = Math.round(fractionloaded * 14.3);
percent_txt.text = _local2 + " %";
load2_mc.progressBar._x = xLoc + (_local2 * 3);
if (fractionloaded >= 7) {
delete fractionloaded;
load2_mc.onEnterFrame = null;
gotoAndStop (2);
}
};
stop();
Frame 2
if (false) {
}
function loadNoLoadBtns(bu, al, vari) {
bu.enabled = vari;
bu._alpha = al;
}
function lnbn(a, c) {
loadNoLoadBtns(h2_btn, a, c);
loadNoLoadBtns(m2_btn, a, c);
loadNoLoadBtns(l2_btn, a, c);
}
function pBQ(but, qual, qNum) {
but.onRollOver = function () {
QPoints = qNum;
_quality = qual;
};
but.onPress = function () {
QPoints = qNum;
_quality = qual;
goTut_btn.enabled = false;
load_mc.onEnterFrame = null;
transitionMc("sign_in");
};
}
function onAutoLoad() {
OnslaughtData = SharedObject.getLocal("OnslaughtSave");
var _local1 = OnslaughtData.data.theArray;
if (_local1[15] == true) {
OnslaughtSave = _local1;
resetLoadedNumbers();
loadedVars = (qualityGo = true);
_quality = OnslaughtSave[16];
transitionMc("opening_screen");
} else {
warn_mc._alpha = (low_mc._alpha = 100);
loadedVars = false;
}
}
function resetLoadedNumbers() {
var _local5 = OnslaughtSave[10];
var _local4 = OnslaughtSave[11];
var _local3 = OnslaughtSave[14];
var _local2 = OnslaughtSave[15];
var _local1 = OnslaughtSave[16];
OnslaughtSave = new Array();
OnslaughtSave[0] = (OnslaughtSave[1] = (OnslaughtSave[2] = (OnslaughtSave[3] = (OnslaughtSave[4] = (OnslaughtSave[5] = (OnslaughtSave[6] = (OnslaughtSave[7] = (OnslaughtSave[8] = (OnslaughtSave[9] = 0)))))))));
OnslaughtSave[10] = _local5;
OnslaughtSave[11] = _local4;
OnslaughtSave[12] = (OnslaughtSave[13] = "none");
OnslaughtSave[14] = _local3;
OnslaughtSave[15] = _local2;
OnslaughtSave[16] = _local1;
nameIn_txt.text = OnslaughtSave[10];
}
function transitionMc(place) {
musicFade = 100;
fade_mc.gotoAndPlay(2);
fade_mc.onEnterFrame = function () {
musicFade = musicFade - musicFadeAmount;
if (musicPlaying == true) {
soundOwn.music.setVolume(musicFade);
}
if (fade_mc._currentframe >= musicMcFadeAm) {
fade_mc.onEnterFrame = null;
musicFade = 0;
soundOwn.music.setVolume(0);
soundOwn.music.stop();
stopAllSounds();
soundOwn.music = new Sound(fade_mc);
switch (place) {
case "playerNum" :
gotoAndStop (773);
soundOwn.music.attachSound("USE_open.wav");
break;
case "controls" :
gotoAndStop (770);
soundOwn.music.attachSound("USE_open.wav");
break;
case "playerSettings" :
gotoAndStop (772);
soundOwn.music.attachSound("USE_Magic_7");
break;
case "learn" :
gotoAndStop (4);
soundOwn.music.attachSound("USE_tut_3");
break;
case "personalHigh" :
gotoAndStop (774);
soundOwn.music.attachSound("USE_options_4");
break;
case "credits" :
gotoAndStop (769);
soundOwn.music.attachSound("Use_drums2");
break;
case "codeScreen" :
gotoAndStop (771);
soundOwn.music.attachSound("USE_options_4");
break;
case "sign_in" :
gotoAndStop (767);
soundOwn.music.attachSound("USE_options_4");
break;
case "loseGame" :
gotoAndStop ("loseGame");
soundOwn.music.attachSound("USE_Magic_7");
break;
case "nextLevel" :
gotoAndStop ("nextLevel");
soundOwn.music.attachSound("USE_win_4");
break;
case "wingame" :
gotoAndStop ("wingame");
soundOwn.music.attachSound("USE_win_4");
break;
case "game" :
gotoAndStop (776);
soundOwn.music.attachSound("Use_battle_2");
break;
case "highRank" :
gotoAndStop (775);
soundOwn.music.attachSound("USE_choir.wav");
break;
case "opening_screen" :
gotoAndStop (768);
soundOwn.music.attachSound("USE_choir.wav");
}
soundOwn.music.setVolume(0);
soundOwn.music.start(0, 65535);
fade_mc.gotoAndPlay(musicMcFadeAm + 1);
fade_mc.onEnterFrame = function () {
musicFade = musicFade + musicFadeAmount;
if (musicPlaying == true) {
soundOwn.music.setVolume(musicFade);
}
if (fade_mc._currentframe >= madeTotalF) {
fade_mc.onEnterFrame = null;
if (musicPlaying == true) {
soundOwn.music.setVolume(100);
}
}
};
}
};
}
function qualityControl(point) {
switch (point) {
case 1 :
_quality = "LOW";
break;
case 2 :
_quality = "MEDIUM";
break;
case 3 :
_quality = "HIGH";
}
}
function pauseScreenButtonsQual2(but, qual, qNum) {
but.onPress = function () {
QPoints = qNum;
_quality = qual;
};
}
function muteSound() {
if (musicPlaying == true) {
onOff_mc._alpha = 100;
soundOwn.music.setVolume(0);
musicPlaying = false;
} else {
onOff_mc._alpha = 0;
soundOwn.music.setVolume(100);
musicPlaying = true;
}
}
function soundQualButtons() {
qualityGo = false;
pauseScreenButtonsQual2(l2_btn, "LOW", 1);
pauseScreenButtonsQual2(m2_btn, "MEDIUM", 2);
pauseScreenButtonsQual2(h2_btn, "HIGH", 3);
if (musicPlaying == false) {
onOff_mc._alpha = 100;
}
musicT_btn.onPress = function () {
muteSound();
};
}
function iN() {
}
function ik1() {
getURL ("http://www.trueweaksauce.com", "_blank");
}
function ik2() {
getURL ("mailto:zachmack1@comcast.com?subject=Cool graphics!!&body=I love the animation, are you pro?");
}
function ik3() {
getURL ("aim:GoIM?ScreenName=TrueWeaksauce");
}
function iw1() {
getURL ("http://faythiel.evilpumpkin.com/~mwells/", "_blank");
}
function iw2() {
getURL ("mailto:zeldamog@gmail.com?subject=Cool game!&body=This game rocks in the most rockin'-ist of ways.");
}
function iw3() {
getURL ("aim:GoIM?ScreenName=Dancinninja");
}
xLoc = load_mc.progressBar._x;
QPoints = 1;
tutSceneTF = 450;
nameRestrictText = "^`~@#$%\\^&*(){}[];:+=?<>,.!";
load_mc.onEnterFrame = function () {
fractionloaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
load_mc.progressBar._x = xLoc + (fractionloaded * 3);
var _local2 = Math.floor(fractionloaded);
percent_txt.text = _local2 + " %";
guyLoad_mc.gotoAndStop(_local2);
if (fractionloaded >= 97) {
load_mc.onEnterFrame = null;
onAutoLoad();
lnbn(100, true);
}
if (_root._framesloaded > tutSceneTF) {
loadNoLoadBtns(goTut_btn, 100, true);
}
};
warn_mc._alpha = 0;
low_mc._alpha = 10;
lnbn(10, false);
loadNoLoadBtns(goTut_btn, 20, false);
goTut_btn.onPress = function () {
gameTutPractice = (goTut_btn.enabled = false);
onc_mc.onEnterFrame = null;
transitionMc("learn");
};
pBQ(l2_btn, "LOW", 1);
pBQ(m2_btn, "MEDIUM", 2);
pBQ(h2_btn, "HIGH", 3);
loadedVars = false;
qualityGo = (musicPlaying = true);
OkSubmit = (secretBlitz = (AlreadyCode2 = (AlreadyCode1 = (shadOk = (magOk = false)))));
soundOwn = this;
oncOwner = _root;
soundOwn.music = new Sound(fade_mc);
musicMcFadeAm = 12;
musicFadeAmount = 10;
madeTotalF = fade_mc._totalframes;
musicFade = 100;
QPoints = 2;
_quality = "MEDIUM";
Qistener = new Object();
Qistener.onKeyDown = function () {
var _local1 = Key.getCode();
if (_local1 == 81) {
if (qualityGo == true) {
QPoints++;
if (QPoints > 3) {
QPoints = 1;
}
qualityControl(QPoints);
}
} else if (_local1 == 77) {
if (qualityGo == true) {
muteSound();
}
}
};
Key.addListener(Qistener);
c_btn.useHandCursor = false;
r_cm = new ContextMenu();
r_cm.hideBuiltInItems();
var k_n = new ContextMenuItem("Graphic Artist-Mckenzie Kerman", iN);
var k_w = new ContextMenuItem("MK - Website", ik1);
var k_e = new ContextMenuItem("MK - Email", ik2);
var k_a = new ContextMenuItem("MK - AIM", ik3);
var w_n = new ContextMenuItem("Programmer-Michael Wells", iN);
var w_w = new ContextMenuItem("MW - Website", iw1);
var w_e = new ContextMenuItem("MW - Email", iw2);
var w_a = new ContextMenuItem("MW - AIM", iw3);
w_na.separatorBefore = true;
w_w.separatorBefore = true;
k_w.separatorBefore = true;
r_cm.customItems.push(k_n, k_w, k_e, k_a, w_n, w_w, w_e, w_a);
this.menu = r_cm;
stop();
Frame 4
if (false) {
}
function keyTutFade(keyHit) {
keyHit._alpha = 100;
keyHit.onEnterFrame = function () {
keyHit._alpha = keyHit._alpha - 10;
if (keyHit._alpha <= 0) {
keyHit.onEnterFrame = null;
}
};
}
targetOwner = this;
skip2_btn.onPress = function () {
if (_root._framesloaded >= 762) {
turret.onEnterFrame = null;
targetOwner.onMouseDown = null;
p2_target.onEnterFrame = null;
Key.removeListener(hitQListener);
Mouse.show();
gotoAndPlay ("skippedTo");
}
};
tutGame.onPress = function () {
turret.onEnterFrame = null;
targetOwner.onMouseDown = null;
p2_target.onEnterFrame = null;
Key.removeListener(hitQListener);
level = "tutorial";
buttonPressed = "easy";
gameType = "normal";
difficulty = 1;
playerNumber = 1;
playerVar == "one";
stop();
transitionMc("game");
};
if (gameTutPractice == false) {
tutGame.enabled = false;
tutGame._alpha = 0;
}
Mouse.show();
gotoAndPlay (5);
Frame 5
if (false) {
}
Frame 6
if (false) {
}
Frame 7
if (false) {
}
Frame 8
if (false) {
}
Frame 9
if (false) {
}
Frame 10
if (false) {
}
Frame 11
if (false) {
}
Frame 12
if (false) {
}
Frame 13
if (false) {
}
Frame 14
if (false) {
}
Frame 15
if (false) {
}
Frame 16
if (false) {
}
Frame 17
if (false) {
}
Frame 18
if (false) {
}
Frame 19
if (false) {
}
Frame 20
if (false) {
}
Frame 21
if (false) {
}
Frame 22
if (false) {
}
Frame 23
if (false) {
}
Frame 24
if (false) {
}
Frame 25
if (false) {
}
Frame 26
if (false) {
}
Frame 27
if (false) {
}
Frame 28
if (false) {
}
Frame 29
if (false) {
}
Frame 30
if (false) {
}
Frame 31
if (false) {
}
Frame 32
if (false) {
}
Frame 33
if (false) {
}
Frame 34
if (false) {
}
Frame 35
if (false) {
}
Frame 36
if (false) {
}
Frame 37
if (false) {
}
Frame 38
if (false) {
}
Frame 39
if (false) {
}
Frame 40
if (false) {
}
Frame 41
if (false) {
}
Frame 42
if (false) {
}
Frame 43
if (false) {
}
Frame 44
if (false) {
}
Frame 45
if (false) {
}
Frame 46
if (false) {
}
Frame 47
if (false) {
}
Frame 48
if (false) {
}
Frame 49
if (false) {
}
Frame 50
if (false) {
}
Frame 51
if (false) {
}
Frame 52
if (false) {
}
Frame 53
if (false) {
}
Frame 54
if (false) {
}
Frame 55
if (false) {
}
Frame 56
if (false) {
}
Frame 57
if (false) {
}
Frame 58
if (false) {
}
Frame 59
if (false) {
}
Frame 60
if (false) {
}
Frame 61
if (false) {
}
Frame 62
if (false) {
}
Frame 63
if (false) {
}
Frame 64
if (false) {
}
Frame 65
if (false) {
}
Frame 66
if (false) {
}
next_btn.onPress = function () {
turret.onEnterFrame = null;
gotoAndPlay ("spaceAnim");
};
turretSpeed = 6;
right_light._alpha = 0;
left_light._alpha = 0;
next_btn.enabled = false;
next_btn._alpha = 0;
alreadyKey = false;
turret.onEnterFrame = function () {
if (Key.isDown(39)) {
if (alreadyKey == false) {
alreadyKey = true;
next_btn.enabled = true;
next_btn._alpha = 100;
}
if (turret._rotation <= 90) {
keyTutFade(right_light);
blast._rotation = blast._rotation + turretSpeed;
turret._rotation = turret._rotation + turretSpeed;
}
} else if (Key.isDown(37)) {
if (alreadyKey == false) {
alreadyKey = true;
next_btn.enabled = true;
next_btn._alpha = 100;
}
if (turret._rotation >= -90) {
keyTutFade(left_light);
blast._rotation = blast._rotation - turretSpeed;
turret._rotation = turret._rotation - turretSpeed;
}
}
};
stop();
Frame 67
if (false) {
}
Frame 68
if (false) {
}
Frame 69
if (false) {
}
Frame 70
if (false) {
}
Frame 71
if (false) {
}
Frame 72
if (false) {
}
Frame 73
if (false) {
}
Frame 74
if (false) {
}
Frame 75
if (false) {
}
Frame 76
if (false) {
}
Frame 77
if (false) {
}
Frame 78
if (false) {
}
Frame 79
if (false) {
}
Frame 80
if (false) {
}
Frame 81
if (false) {
}
Frame 82
if (false) {
}
Frame 83
if (false) {
}
Frame 84
if (false) {
}
Frame 85
if (false) {
}
Frame 86
if (false) {
}
Frame 87
if (false) {
}
Frame 88
if (false) {
}
Frame 89
if (false) {
}
Frame 90
if (false) {
}
Frame 91
if (false) {
}
Frame 92
if (false) {
}
Frame 93
if (false) {
}
Frame 94
if (false) {
}
Frame 95
if (false) {
}
Frame 96
if (false) {
}
Frame 97
if (false) {
}
Frame 98
if (false) {
}
function returnNormRot() {
var _local1 = Math.abs(turret._rotation / 5);
if (turret._rotation > 0) {
turret._rotation = turret._rotation - _local1;
} else if (turret._rotation < 0) {
turret._rotation = turret._rotation + _local1;
}
if (Math.abs(turret._rotation) < 0.2) {
turret.onEnterFrame = null;
}
}
next_btn.onPress = function () {
turret.onEnterFrame = function () {
returnNormRot();
};
gotoAndPlay ("tutPlay");
};
next_btn.enabled = false;
next_btn._alpha = 0;
alreadyKey = false;
space_Light._alpha = 0;
up_Light._alpha = 0;
turret.onEnterFrame = function () {
if (Key.isDown(32)) {
if (alreadyKey == false) {
alreadyKey = true;
next_btn.enabled = true;
next_btn._alpha = 100;
}
blast.gotoAndPlay(2);
turret.play();
arrowsound.play();
keyTutFade(space_Light);
} else if (Key.isDown(38)) {
if (alreadyKey == false) {
alreadyKey = true;
next_btn.enabled = true;
next_btn._alpha = 100;
}
blast.gotoAndPlay(2);
turret.play();
arrowsound.play();
keyTutFade(up_Light);
}
};
stop();
Frame 99
if (false) {
}
Frame 105
if (false) {
}
Frame 140
if (false) {
}
Frame 148
if (false) {
}
Frame 151
if (false) {
}
Frame 152
if (false) {
}
Frame 153
if (false) {
}
Frame 154
if (false) {
}
Frame 155
if (false) {
}
Frame 156
if (false) {
}
Frame 157
if (false) {
}
Frame 158
if (false) {
}
Frame 159
if (false) {
}
Frame 160
if (false) {
}
Frame 161
if (false) {
}
Frame 162
if (false) {
}
Frame 163
if (false) {
}
Frame 164
if (false) {
}
Frame 165
if (false) {
}
Frame 166
if (false) {
}
Frame 167
if (false) {
}
Frame 168
if (false) {
}
Frame 169
if (false) {
}
Frame 171
if (false) {
}
Frame 172
if (false) {
}
Frame 173
if (false) {
}
Frame 174
if (false) {
}
Frame 175
if (false) {
}
Frame 176
if (false) {
}
Frame 177
if (false) {
}
Frame 178
if (false) {
}
Frame 179
if (false) {
}
Frame 180
if (false) {
}
Frame 181
if (false) {
}
Frame 182
if (false) {
}
Frame 183
if (false) {
}
Frame 184
if (false) {
}
Frame 185
if (false) {
}
Frame 186
if (false) {
}
Frame 187
if (false) {
}
Frame 188
if (false) {
}
Frame 189
if (false) {
}
Frame 190
if (false) {
}
Frame 191
if (false) {
}
Frame 192
if (false) {
}
Frame 193
if (false) {
}
Frame 194
if (false) {
}
Frame 195
if (false) {
}
Frame 197
if (false) {
}
Frame 198
if (false) {
}
Frame 199
if (false) {
}
Frame 200
if (false) {
}
Frame 201
if (false) {
}
Frame 202
if (false) {
}
Frame 203
if (false) {
}
Frame 204
if (false) {
}
Frame 205
if (false) {
}
Frame 206
if (false) {
}
Frame 207
if (false) {
}
Frame 208
if (false) {
}
Frame 209
if (false) {
}
Frame 210
if (false) {
}
Frame 211
if (false) {
}
Frame 212
if (false) {
}
Frame 213
if (false) {
}
Frame 214
if (false) {
}
Frame 215
if (false) {
}
Frame 216
if (false) {
}
Frame 217
if (false) {
}
Frame 218
if (false) {
}
Frame 219
if (false) {
}
Frame 222
if (false) {
}
Frame 223
if (false) {
}
Frame 224
if (false) {
}
Frame 227
if (false) {
}
Frame 228
if (false) {
}
Frame 232
if (false) {
}
Frame 233
if (false) {
}
Frame 234
if (false) {
}
Frame 235
if (false) {
}
Frame 236
if (false) {
}
Frame 237
if (false) {
}
Frame 241
if (false) {
}
Frame 242
if (false) {
}
Frame 243
if (false) {
}
Frame 244
if (false) {
}
Frame 245
if (false) {
}
Frame 246
if (false) {
}
Frame 247
if (false) {
}
Frame 248
if (false) {
}
Frame 249
if (false) {
}
Frame 250
if (false) {
}
Frame 251
if (false) {
}
Frame 252
if (false) {
}
Frame 253
if (false) {
}
Frame 254
if (false) {
}
Frame 255
if (false) {
}
Frame 256
if (false) {
}
Frame 257
if (false) {
}
Frame 258
if (false) {
}
Frame 259
if (false) {
}
Frame 260
if (false) {
}
Frame 261
if (false) {
}
Frame 262
if (false) {
}
Frame 263
if (false) {
}
Frame 264
if (false) {
}
Frame 265
if (false) {
}
Frame 266
if (false) {
}
Frame 267
if (false) {
}
Frame 268
if (false) {
}
Frame 269
if (false) {
}
Frame 270
if (false) {
}
Frame 271
if (false) {
}
Frame 272
if (false) {
}
Frame 273
if (false) {
}
Frame 274
if (false) {
}
Frame 275
if (false) {
}
Frame 276
if (false) {
}
Frame 277
if (false) {
}
Frame 278
if (false) {
}
Frame 279
if (false) {
}
Frame 280
if (false) {
}
Frame 281
if (false) {
}
Frame 282
if (false) {
}
Frame 283
if (false) {
}
Frame 284
if (false) {
}
Frame 285
if (false) {
}
Frame 286
if (false) {
}
Frame 287
if (false) {
}
Frame 288
if (false) {
}
Frame 289
if (false) {
}
Frame 290
if (false) {
}
Frame 291
if (false) {
}
Frame 292
if (false) {
}
Frame 293
if (false) {
}
Frame 294
if (false) {
}
Frame 295
if (false) {
}
Frame 296
if (false) {
}
Frame 297
if (false) {
}
Frame 298
if (false) {
}
Frame 299
if (false) {
}
Frame 300
if (false) {
}
Frame 301
if (false) {
}
Frame 302
if (false) {
}
Frame 303
if (false) {
}
Frame 304
if (false) {
}
Frame 305
if (false) {
}
Frame 306
if (false) {
}
Frame 307
if (false) {
}
Frame 314
if (false) {
}
Frame 315
if (false) {
}
Frame 316
if (false) {
}
Frame 317
if (false) {
}
Frame 318
if (false) {
}
Frame 319
if (false) {
}
Frame 320
if (false) {
}
Frame 323
if (false) {
}
Frame 324
if (false) {
}
Frame 325
if (false) {
}
Frame 326
if (false) {
}
Frame 332
if (false) {
}
Frame 335
if (false) {
}
Frame 336
if (false) {
}
Frame 340
if (false) {
}
Frame 341
if (false) {
}
Frame 342
if (false) {
}
Frame 345
if (false) {
}
Frame 346
if (false) {
}
Frame 350
if (false) {
}
Frame 351
if (false) {
}
Frame 352
if (false) {
}
Frame 355
if (false) {
}
Frame 356
if (false) {
}
Frame 357
if (false) {
}
Frame 358
if (false) {
}
Frame 359
if (false) {
}
Frame 360
if (false) {
}
Frame 361
if (false) {
}
Frame 362
if (false) {
}
Frame 363
if (false) {
}
Frame 364
if (false) {
}
Frame 365
if (false) {
}
Frame 366
if (false) {
}
Frame 367
if (false) {
}
Frame 368
if (false) {
}
Frame 369
if (false) {
}
Frame 370
if (false) {
}
Frame 371
if (false) {
}
Frame 372
if (false) {
}
Frame 376
if (false) {
}
Frame 377
if (false) {
}
Frame 378
if (false) {
}
Frame 381
if (false) {
}
Frame 382
if (false) {
}
Frame 386
if (false) {
}
Frame 387
if (false) {
}
Frame 388
if (false) {
}
Frame 391
if (false) {
}
Frame 392
if (false) {
}
Frame 393
if (false) {
}
Frame 394
if (false) {
}
Frame 395
if (false) {
}
Frame 396
if (false) {
}
Frame 397
if (false) {
}
Frame 398
if (false) {
}
Frame 399
if (false) {
}
Frame 400
if (false) {
}
Frame 401
if (false) {
}
Frame 402
if (false) {
}
Frame 403
if (false) {
}
Frame 404
if (false) {
}
Frame 405
if (false) {
}
Frame 406
if (false) {
}
Frame 407
if (false) {
}
Frame 411
if (false) {
}
Frame 412
if (false) {
}
Frame 413
if (false) {
}
Frame 416
if (false) {
}
Frame 417
if (false) {
}
Frame 421
if (false) {
}
Frame 422
if (false) {
}
Frame 423
if (false) {
}
Frame 426
if (false) {
}
Frame 427
if (false) {
}
Frame 428
if (false) {
}
Frame 429
if (false) {
}
Frame 430
if (false) {
}
Frame 431
if (false) {
}
Frame 432
if (false) {
}
Frame 433
if (false) {
}
Frame 434
if (false) {
}
Frame 435
if (false) {
}
Frame 436
if (false) {
}
Frame 437
if (false) {
}
Frame 438
if (false) {
}
Frame 439
if (false) {
}
Frame 440
if (false) {
}
Frame 441
if (false) {
}
Frame 445
if (false) {
}
Frame 446
if (false) {
}
Frame 447
if (false) {
}
Frame 448
if (false) {
}
Frame 449
if (false) {
}
Frame 450
if (false) {
}
Frame 451
if (false) {
}
Frame 452
if (false) {
}
Frame 453
if (false) {
}
Frame 458
if (false) {
}
Frame 459
if (false) {
}
Frame 460
if (false) {
}
Frame 461
if (false) {
}
Frame 462
if (false) {
}
Frame 482
if (false) {
}
Frame 485
if (false) {
}
Frame 486
if (false) {
}
Frame 490
if (false) {
}
Frame 491
if (false) {
}
Frame 492
if (false) {
}
Frame 495
if (false) {
}
Frame 496
if (false) {
}
Frame 500
if (false) {
}
Frame 501
if (false) {
}
Frame 502
if (false) {
}
Frame 505
if (false) {
}
Frame 506
if (false) {
}
Frame 507
if (false) {
}
Frame 508
if (false) {
}
Frame 509
if (false) {
}
Frame 510
if (false) {
}
Frame 511
if (false) {
}
Frame 512
if (false) {
}
Frame 513
if (false) {
}
Frame 514
if (false) {
}
Frame 515
if (false) {
}
Frame 516
if (false) {
}
Frame 517
if (false) {
}
Frame 518
if (false) {
}
Frame 519
if (false) {
}
Frame 520
if (false) {
}
Frame 523
if (false) {
}
Frame 524
if (false) {
}
Frame 525
if (false) {
}
Frame 528
if (false) {
}
Frame 529
if (false) {
}
Frame 533
if (false) {
}
Frame 534
if (false) {
}
Frame 535
if (false) {
}
Frame 538
if (false) {
}
Frame 539
if (false) {
}
Frame 540
if (false) {
}
Frame 541
if (false) {
}
Frame 542
if (false) {
}
Frame 543
if (false) {
}
Frame 544
if (false) {
}
Frame 545
if (false) {
}
Frame 546
if (false) {
}
Frame 547
if (false) {
}
Frame 548
if (false) {
}
Frame 549
if (false) {
}
Frame 550
if (false) {
}
Frame 551
if (false) {
}
Frame 552
if (false) {
}
Frame 553
if (false) {
}
Frame 554
if (false) {
}
Frame 555
if (false) {
}
Frame 556
if (false) {
}
Frame 557
if (false) {
}
Frame 558
if (false) {
}
Frame 559
if (false) {
}
Frame 561
if (false) {
}
Frame 562
if (false) {
}
Frame 566
if (false) {
}
Frame 567
if (false) {
}
Frame 568
if (false) {
}
Frame 571
if (false) {
}
Frame 572
if (false) {
}
Frame 573
if (false) {
}
Frame 574
if (false) {
}
Frame 575
if (false) {
}
Frame 576
if (false) {
}
Frame 577
if (false) {
}
Frame 578
if (false) {
}
Frame 579
if (false) {
}
Frame 581
if (false) {
}
function vollyFire2() {
if (alreadyKey == false) {
backO.onEnterFrame = function () {
backO._alpha = backO._alpha + 20;
if (backO._alpha >= 100) {
backO.onEnterFrame = null;
}
};
alreadyKey = true;
next_btn.enabled = true;
next_btn._alpha = 100;
}
readyToFire2 = false;
superArrow.gotoAndPlay(2);
var superArMax = superArrow._totalframes;
superArrow.onEnterFrame = function () {
if (superArrow._currentframe >= superArMax) {
superArrow.onEnterFrame = null;
readyToFire2 = true;
}
};
}
next_btn.onPress = function () {
turret.onEnterFrame = null;
powerMask_mc.onEnterFrame = null;
Key.removeListener(hitQListener);
gotoAndPlay ("restPlay");
};
next_btn.enabled = false;
next_btn._alpha = 0;
readyToFire2 = true;
alreadyKey = false;
space_Light._alpha = 0;
up_Light._alpha = 0;
powerMask_mc.onEnterFrame = function () {
if (Key.isDown(40) && (readyToFire2 == true)) {
vollyFire2();
keyTutFade(up_Light);
}
};
hitQListener = new Object();
hitQListener.onKeyDown = function () {
var _local1 = Key.getCode();
if ((_local1 == 90) && (readyToFire2 == true)) {
vollyFire2();
keyTutFade(space_Light);
}
};
Key.addListener(hitQListener);
stop();
Frame 582
if (false) {
}
Frame 583
if (false) {
}
Frame 584
if (false) {
}
Frame 585
if (false) {
}
Frame 586
if (false) {
}
Frame 587
if (false) {
}
Frame 588
if (false) {
}
Frame 589
if (false) {
}
Frame 590
if (false) {
}
Frame 591
if (false) {
}
Frame 592
if (false) {
}
Frame 593
if (false) {
}
Frame 594
if (false) {
}
Frame 595
if (false) {
}
Frame 596
if (false) {
}
Frame 597
if (false) {
}
Frame 598
if (false) {
}
Frame 599
if (false) {
}
Frame 601
if (false) {
}
Frame 602
if (false) {
}
Frame 606
if (false) {
}
Frame 607
if (false) {
}
Frame 608
if (false) {
}
Frame 611
if (false) {
}
Frame 612
if (false) {
}
Frame 616
if (false) {
}
Frame 617
if (false) {
}
Frame 618
if (false) {
}
Frame 619
if (false) {
}
Frame 620
if (false) {
}
Frame 621
if (false) {
}
Frame 622
if (false) {
}
Frame 623
if (false) {
}
Frame 624
if (false) {
}
Frame 625
if (false) {
}
Frame 626
if (false) {
}
Frame 627
if (false) {
}
Frame 628
if (false) {
}
Frame 629
if (false) {
}
Frame 630
if (false) {
}
Frame 631
if (false) {
}
Frame 632
if (false) {
}
Frame 633
if (false) {
}
Frame 636
if (false) {
}
Frame 637
if (false) {
}
Frame 638
if (false) {
}
Frame 641
if (false) {
}
Frame 642
if (false) {
}
Frame 643
if (false) {
}
Frame 644
if (false) {
}
Frame 645
if (false) {
}
Frame 646
if (false) {
}
Frame 647
if (false) {
}
Frame 648
if (false) {
}
Frame 649
if (false) {
}
Frame 650
if (false) {
}
Frame 651
if (false) {
}
Frame 652
if (false) {
}
Frame 653
if (false) {
}
Frame 654
if (false) {
}
Frame 655
if (false) {
}
Frame 656
if (false) {
}
Frame 658
if (false) {
}
next_btn.onPress = function () {
Mouse.show();
targetOwner.onMouseDown = null;
p2_target.onEnterFrame = null;
gotoAndPlay ("arrowPlay");
};
next_btn.onRollOver = function () {
p2_circle._alpha = 0;
flash_target._alpha = 0;
p2_target._alpha = 0;
Mouse.show();
};
next_btn.onRollOut = function () {
p2_circle._alpha = 100;
flash_target._alpha = 100;
p2_target._alpha = 100;
Mouse.hide();
};
initFireX = 350;
initFireY = 620;
fireTotal = fireHitter._totalframes;
fireTotalD = fireTotal - 2;
fireHitter._x = initFireX;
fireHitter._y = initFireY;
targetLoadMax = -5;
targetLoadInit = -125;
p2_target.loader.barIN._x = targetLoadMax;
targetLoadSpeed = 4;
p2Follow = 4;
p2rota = 2;
initPowerBarX = stats.powerbar.powerMask_mc._x;
readyToFire = false;
fireHitterTotalFrames = fireHitter._totalframes;
blastTotal = blast._totalframes;
target_fire = false;
next_btn.enabled = false;
next_btn._alpha = 0;
alreadyKey = false;
pausedGame = false;
fireHitter._x = initFireX;
fireHitter._y = initFireY;
p2_target.onEnterFrame = function () {
flash_target._y = _ymouse;
flash_target._x = _xmouse;
p2_target._x = _xmouse;
p2_target._y = _ymouse;
var _local1 = p2_target._x;
p2_circle._x = p2_circle._x + ((_local1 - p2_circle._x) / p2Follow);
p2_circle._y = p2_circle._y + ((p2_target._y - p2_circle._y) / p2Follow);
var _local2 = (_local1 - p2_circle._x) / p2rota;
p2_circle._rotation = _local2;
flash_target._rotation = _local2;
};
targetOwner.onMouseDown = function () {
if (alreadyKey == false) {
alreadyKey = true;
next_btn.enabled = true;
next_btn._alpha = 100;
}
if (!flash_target.hitTest(next_btn)) {
if (target_fire == false) {
totalBombs++;
target_fire = true;
var tarx = p2_circle._x;
var tary = p2_circle._y;
fireHitter.gotoAndPlay("fire");
fireHitter.onEnterFrame = function () {
fireHitter._x = fireHitter._x + ((tarx - initFireX) / fireTotalD);
fireHitter._y = fireHitter._y + ((tary - initFireY) / fireTotalD);
if (fireHitter._currentframe >= fireTotal) {
fireHitter.onEnterFrame = null;
fireHitter.stop();
var Fire_explodeTotal = fireHitter.explode._totalframes;
fireHitter.explode.onEnterFrame = function () {
if (fireHitter.explode._currentframe >= Fire_explodeTotal) {
fireHitter.explode.onEnterFrame = null;
fireHitter.smoke.gotoAndPlay(2);
var Fire_smokeTotal = fireHitter.smoke._totalframes;
fireHitter.smoke.onEnterFrame = function () {
if (fireHitter.smoke._currentframe >= Fire_smokeTotal) {
fireHitter.smoke.onEnterFrame = null;
fireHitter.gotoAndStop(1);
fireHitter._x = initFireX;
fireHitter._y = initFireY;
}
};
}
};
}
};
flash_target.gotoAndPlay(2);
p2_target.loader.barIN._x = targetLoadInit;
p2_target.loader.onEnterFrame = function () {
p2_target.loader.barIN._x = p2_target.loader.barIN._x + targetLoadSpeed;
if (p2_target.loader.barIN._x > targetLoadMax) {
p2_target.loader.barIN._x = targetLoadMax;
if (fireHitter._currentframe == 1) {
p2_target.loader.onEnterFrame = null;
target_fire = false;
}
}
};
}
}
};
Mouse.hide();
stop();
Frame 661
if (false) {
}
Frame 662
if (false) {
}
Frame 663
if (false) {
}
Frame 664
if (false) {
}
Frame 665
if (false) {
}
Frame 666
if (false) {
}
Frame 667
if (false) {
}
Frame 669
if (false) {
}
Frame 670
if (false) {
}
Frame 671
if (false) {
}
Frame 672
if (false) {
}
Frame 673
if (false) {
}
Frame 674
if (false) {
}
Frame 675
if (false) {
}
Frame 676
if (false) {
}
Frame 679
if (false) {
}
stop();
next_btn.onPress = function () {
gotoAndPlay ("modePlay");
};
Frame 682
if (false) {
}
Frame 683
if (false) {
}
Frame 684
if (false) {
}
Frame 685
if (false) {
}
Frame 686
if (false) {
}
Frame 687
if (false) {
}
Frame 688
if (false) {
}
Frame 689
if (false) {
}
Frame 690
if (false) {
}
Frame 691
if (false) {
}
Frame 710
if (false) {
}
Frame 711
if (false) {
}
Frame 712
if (false) {
}
Frame 713
if (false) {
}
Frame 714
if (false) {
}
Frame 715
if (false) {
}
next_btn.onPress = function () {
gotoAndPlay ("final");
};
stop();
Frame 716
if (false) {
}
Frame 717
if (false) {
}
Frame 718
if (false) {
}
Frame 719
if (false) {
}
Frame 720
if (false) {
}
Frame 721
if (false) {
}
Frame 722
if (false) {
}
Frame 723
if (false) {
}
Frame 724
if (false) {
}
Frame 726
if (false) {
}
Frame 765
if (false) {
}
if (gameTutPractice == false) {
var loaded = _root.getBytesLoaded();
var total = (_root.getBytesTotal() - 10);
if (loaded >= total) {
transitionMc("sign_in");
} else {
transitionMc("loading screen");
}
} else {
transitionMc("opening_screen");
}
stop();
Frame 767
if (false) {
}
function loadingOnc() {
nameIn_txt.text = OnslaughtSaveTemp[10];
if (OnslaughtSaveTemp[10] != null) {
OnslaughtSave = OnslaughtSaveTemp;
nameIn_txt.text = OnslaughtSave[10];
loadedVars = true;
saveLoad_mc.gotoAndPlay("load");
} else {
if (OnslaughtSave[10] != null) {
nameIn_txt.text = OnslaughtSave[10];
}
saveLoad_mc.gotoAndPlay("error");
}
OnslaughtSaveTemp = null;
}
function rename() {
if (newN_mc._currentframe < namey) {
loadNoLoadBtns(load_btn, 50, false);
loadNoLoadBtns(next_btn, 50, false);
newN_mc.gotoAndPlay(2);
newN_mc.onEnterFrame = function () {
if (newN_mc._currentframe >= namey) {
newN_mc.onEnterFrame = null;
newN_mc.gotoAndStop(namey);
if (OnslaughtSave[15] == true) {
loadNoLoadBtns(newN_mc.load_btn, 10, false);
loadNoLoadBtns(newN_mc.noload_btn, 100, true);
} else if (OnslaughtSave[15] == false) {
loadNoLoadBtns(newN_mc.load_btn, 100, true);
loadNoLoadBtns(newN_mc.noload_btn, 10, false);
} else {
loadNoLoadBtns(newN_mc.load_btn, 100, true);
loadNoLoadBtns(newN_mc.noload_btn, 10, false);
}
newN_mc.load_btn.onPress = function () {
OnslaughtSave[15] = true;
loadNoLoadBtns(newN_mc.load_btn, 10, false);
loadNoLoadBtns(newN_mc.noload_btn, 100, true);
};
newN_mc.noload_btn.onPress = function () {
OnslaughtSave[15] = false;
loadNoLoadBtns(newN_mc.load_btn, 100, true);
loadNoLoadBtns(newN_mc.noload_btn, 10, false);
};
newN_mc.yesHave_btn.onPress = function () {
var _local1 = new Array();
_local1 = OnslaughtData.data.theArray;
var _local2 = OnslaughtSave[15];
_local1[10] = (OnslaughtSave[10] = nameIn_txt.text);
_local1[15] = (OnslaughtSave[15] = _local2);
OnslaughtData.data.theArray = _local1;
cursor3.onEnterFrame = null;
resetLoadedNumbers();
qualityGo = true;
signInNoButtons();
transitionMc("opening_screen");
};
newN_mc.noHave_btn.onPress = function () {
newN_mc.gotoAndPlay(namey + 1);
nameIn_txt.text = OnslaughtSave[10];
loadNoLoadBtns(load_btn, 100, true);
loadNoLoadBtns(next_btn, 100, true);
};
newN_mc.newName_btn.onPress = function () {
newN_mc.gotoAndPlay(namey + 1);
askButtonGo();
};
}
};
}
}
function askButtonGo() {
if (ask_mc._currentframe < asky) {
loadNoLoadBtns(load_btn, 50, false);
loadNoLoadBtns(next_btn, 50, false);
ask_mc.gotoAndPlay(2);
ask_mc.onEnterFrame = function () {
if (ask_mc._currentframe >= asky) {
ask_mc.onEnterFrame = null;
ask_mc.gotoAndStop(asky);
ask_mc.yesHave_btn.onPress = function () {
cursor3.onEnterFrame = null;
resetNumbers();
qualityGo = true;
signInNoButtons();
transitionMc("opening_screen");
};
ask_mc.noHave_btn.onPress = function () {
ask_mc.gotoAndStop(asky + 1);
ask_mc.yes_btn.onPress = function () {
cursor3.onEnterFrame = null;
resetNumbers();
qualityGo = true;
signInNoButtons();
transitionMc("learn");
};
ask_mc.no_btn.onPress = function () {
cursor3.onEnterFrame = null;
resetNumbers();
qualityGo = true;
signInNoButtons();
transitionMc("opening_screen");
};
};
}
};
}
}
function resetNumbers() {
OnslaughtSave = new Array();
OnslaughtSave[0] = (OnslaughtSave[1] = (OnslaughtSave[2] = (OnslaughtSave[3] = (OnslaughtSave[4] = (OnslaughtSave[5] = (OnslaughtSave[6] = (OnslaughtSave[7] = (OnslaughtSave[8] = (OnslaughtSave[9] = 0)))))))));
OnslaughtSave[10] = nameIn_txt.text;
OnslaughtSave[11] = new Array();
var _local2 = 8;
var _local1 = 0;
while (_local1 < _local2) {
OnslaughtSave[11][_local1] = false;
_local1++;
}
OnslaughtSave[12] = (OnslaughtSave[13] = "none");
OnslaughtSave[14] = new Array();
OnslaughtSave[14][0] = 32;
OnslaughtSave[14][1] = 38;
OnslaughtSave[14][2] = 37;
OnslaughtSave[14][3] = 39;
OnslaughtSave[14][4] = 90;
OnslaughtSave[14][5] = 40;
OnslaughtSave[15] = false;
OnslaughtSave[16] = "MEDIUM";
}
function loadNoLoadBtns(but, alph, variable) {
but.enabled = variable;
but._alpha = alph;
}
function signInNoButtons() {
var _local1 = Array(ask_mc.no_btn, ask_mc.noHave_btn, ask_mc.yesHave_btn, newN_mc.newName_btn, newN_mc.yesHave_btn, next_btn, load_btn, musicT_btn);
loadNoButtonsFalse(_local1);
}
function loadNoButtonsFalse(tempArray) {
var _local2 = tempArray.length;
var _local1 = 0;
while (_local1 < _local2) {
tempArray[_local1].enabled = false;
_local1++;
}
tempArray = null;
}
soundQualButtons();
nameIn_txt.restrict = nameRestrictText;
if (loadedVars == true) {
OnslaughtSaveTemp = OnslaughtSave;
loadingOnc();
resetLoadedNumbers();
} else {
nameIn_txt.text = "";
resetNumbers();
}
owner = this;
load_btn.onPress = function () {
OnslaughtSaveTemp = OnslaughtData.data.theArray;
loadingOnc();
};
next_btn.onPress = function () {
if (nameIn_txt.text == "") {
enter_mc.gotoAndPlay("flash");
} else if (nameIn_txt.text != OnslaughtSave[10]) {
if (loadedVars == true) {
rename();
} else {
askButtonGo();
}
} else if (nameIn_txt.text == OnslaughtSave[10]) {
resetLoadedNumbers();
qualityGo = true;
signInNoButtons();
transitionMc("opening_screen");
}
};
namey = 10;
asky = ask_mc._totalframes - 1;
cursor3._y = _ymouse;
cursor3._x = _xmouse;
cursor3.onMouseMove = function () {
cursor3._y = _ymouse;
cursor3._x = _xmouse;
};
cursor3.onMouseDown = function () {
cursor3.gotoAndPlay("click");
};
okSaveHD = (OkSubmit = false);
Mouse.hide();
Frame 768
if (false) {
}
function mainLoadButtons() {
var _local1 = Array(controls_btn, signIn_btn, codes, cred, high, tute, playy, shad_btn);
loadNoButtonsFalse(_local1);
}
function shadows(shad, orig, divGo) {
var _local1 = orig._y;
var _local2 = orig._x;
shad._y = ((_local1 - _ymouse) * divGo) + _local1;
shad._x = ((_local2 - _xmouse) * divGo) + _local2;
}
function cloudGo(cloudNum) {
var _local1 = curRoot.back["Cloud_" + cloudNum];
point = new Object();
point.x = _local1._x;
point.y = _local1._y;
curRoot.back.localToGlobal(point);
_local1._x = _local1._x + (((_xmouse - point.x) + (offsetX * cloudNum)) / (factorFollow * cloudNum));
_local1._y = _local1._y + (((_ymouse - point.y) + (offsetY * cloudNum)) / (factorFollow * cloudNum));
_local1._alpha = point.y / 4;
_local1._xscale = point.y / cloudNum;
_local1._yscale = point.y / cloudNum;
}
function winScreen() {
totalkills = totalkills + (totalkillsTemp - totalkills);
totalshots = totalshots + (totalshotsTemp - totalshots);
otherShots = otherShots + (otherShotsTemp - otherShots);
arrowHits = arrowHits + (arrowHitsTemp - arrowHits);
totalBombs = totalBombs + (totalBombsTemp - totalBombs);
bombKills = bombKills + (bombKillsTemp - bombKills);
score = score + (scoreTempAll - score);
bombScore = bombScore + (bombScoreTemp - bombScore);
var _local6 = 200;
var _local4 = 100 / maxLevel;
var _local5 = 0;
var _local1 = 1;
while (_local1 <= maxLevel) {
oncelotOwner.scoreCounter_mc.attachMovie("onc_score_shield", "shield_" + _local1, _local1);
var _local3 = oncelotOwner.scoreCounter_mc["shield_" + _local1];
_local3._y = _local5;
_local3._x = ((_local6 / maxLevel) * _local1) - _local4;
_local3._alpha = 40;
_local3.gotoAndStop(1);
_local1++;
}
var _local2 = 1;
while (_local2 <= level) {
var _local3 = oncelotOwner.scoreCounter_mc["shield_" + _local2];
_local3._alpha = 100;
_local3.gotoAndPlay(_local2);
_local2++;
}
loseScreen();
}
function loseScreen() {
numOfCodes = 0;
var _local2 = OnslaughtSave[11].length;
var _local1 = 0;
while (_local1 < _local2) {
if (OnslaughtSave[11][_local1] == true) {
numOfCodes++;
}
_local1++;
}
accuracyFixA = totalshots + arrowHits;
if (accuracyFixA == 0) {
accuracyFixA = 1;
}
accuracyA = ((totalkills - otherShots) / accuracyFixA) * 100;
accuracyFixB = totalBombs;
if (accuracyFixB == 0) {
accuracyFixB = 1;
}
accuracyB = (bombKills / accuracyFixB) * 100;
adjScoreCombine = Math.round(score + bombScore);
oncelotOwner.points.text = score;
oncelotOwner.kills.text = totalkills;
oncelotOwner.shots.text = totalshots;
oncelotOwner.accuracy.text = Math.round(accuracyA) + "%";
oncelotOwner.combo2.text = highestcombo;
oncelotOwner.pointsB.text = bombScore;
oncelotOwner.killsB.text = bombKills;
oncelotOwner.shotsB.text = totalBombs;
oncelotOwner.accuracyB.text = Math.round(accuracyB) + "%";
oncelotOwner.adScoreCom.text = adjScoreCombine;
oncelotOwner.player1_txt.text = OnslaughtSave[10];
if (playerLives == 1) {
oncelotOwner.livesIn_txt.text = playerLives;
oncelotOwner.lifes_mc.gotoAndStop(2);
} else if (playerLives < 1) {
oncelotOwner.lifes_mc._alpha = 0;
oncelotOwner.livesIn_txt.text = "";
oncelotOwner.afterD_btn.enabled = false;
oncelotOwner.afterD_btn._alpha = 10;
} else {
oncelotOwner.lifes_mc.gotoAndStop(1);
oncelotOwner.livesIn_txt.text = playerLives;
}
oncelotOwner.codesNum.text = numOfCodes + "/8";
}
function curVars() {
var _local5 = OnslaughtSave[10];
var _local4 = OnslaughtSave[11];
var _local3 = OnslaughtSave[12];
var _local2 = OnslaughtSave[13];
var _local1 = OnslaughtSave[14];
OnslaughtSave = new Array();
OnslaughtSave[0] = score;
OnslaughtSave[1] = totalkills;
OnslaughtSave[2] = totalshots;
OnslaughtSave[3] = Math.ceil(accuracyA);
OnslaughtSave[4] = highestcombo;
OnslaughtSave[5] = bombScore;
OnslaughtSave[6] = bombKills;
OnslaughtSave[7] = totalBombs;
OnslaughtSave[8] = Math.ceil(accuracyB);
OnslaughtSave[9] = adjScoreCombine;
OnslaughtSave[10] = _local5;
OnslaughtSave[11] = _local4;
OnslaughtSave[12] = _local3;
OnslaughtSave[13] = _local2;
OnslaughtSave[14] = _local1;
OkSubmit = true;
saveDiff();
}
function saveDiff() {
if (buttonPressed == "hard") {
OnslaughtSave[12] = "Hard";
} else if (buttonPressed == "easy") {
OnslaughtSave[12] = "Easy";
}
if (gameType == "normal") {
OnslaughtSave[13] = "Level";
} else if (gameType == "marathon") {
OnslaughtSave[13] = "Endurance";
}
okSaveHD = true;
}
level = 1;
totalkills = (totalshots = (otherShots = (arrowHits = (totalBombs = (bombKills = (score = (bombScore = 0)))))));
playerVar = "two";
scoreTemp = score;
highestcombo = 1;
playy.onPress = function () {
onc_mc.onEnterFrame = null;
mainLoadButtons();
transitionMc("playerSettings");
};
tute.onPress = function () {
gameTutPractice = true;
onc_mc.onEnterFrame = null;
mainLoadButtons();
transitionMc("learn");
};
high.onPress = function () {
onc_mc.onEnterFrame = null;
mainLoadButtons();
transitionMc("personalHigh");
};
cred.onPress = function () {
onc_mc.onEnterFrame = null;
mainLoadButtons();
transitionMc("credits");
};
codes.onPress = function () {
onc_mc.onEnterFrame = null;
mainLoadButtons();
transitionMc("codeScreen");
};
signIn_btn.onPress = function () {
onc_mc.onEnterFrame = null;
loadedVars = true;
mainLoadButtons();
transitionMc("sign_in");
};
controls_btn.onPress = function () {
onc_mc.onEnterFrame = null;
mainLoadButtons();
transitionMc("controls");
};
Mouse.hide();
if (shadOk == false) {
onc_mc.gotoAndStop(1);
sheet_shadow.gotoAndStop(1);
shadow_mc.gotoAndStop(1);
}
onc_orig.onMouseMove = function () {
cursor._y = _ymouse;
cursor._x = _xmouse;
if (shadOk == true) {
shadows(onc_mc, onc_orig, 0.3);
shadows(sheet_shadow, sheet, 0.6);
shadows(shadow_mc, name_mc, 0.05);
}
};
onc_orig.onMouseDown = function () {
cursor.gotoAndPlay("click");
};
shad_btn.onPress = function () {
if (shadOk == false) {
shadOk = true;
name_mc.onNameBack_mc.gotoAndPlay(2);
onc_mc.gotoAndPlay(2);
sheet_shadow.gotoAndPlay(2);
shadow_mc.gotoAndPlay(2);
} else if (shadOk == true) {
shadOk = false;
name_mc.onNameBack_mc.gotoAndStop(1);
onc_mc.gotoAndStop(1);
sheet_shadow.gotoAndStop(1);
shadow_mc.gotoAndStop(1);
}
};
factorFollow = 200;
offsetY = 30;
offsetX = 20;
curRoot = this;
OkSubmit = false;
stop();
Frame 769
if (false) {
}
function credGo(flame, way) {
flame.onEnterFrame = function () {
flame._alpha = flame._alpha + (credA * way);
if (flame._alpha >= 100) {
flame.onEnterFrame = null;
} else if (flame._alpha < 0) {
flame.onEnterFrame = null;
}
};
}
cir_1.onPress = function () {
cir_1.onEnterFrame = function () {
cir_1._x = (cir_2._x = _xmouse);
cir_1._y = (cir_2._y = _ymouse);
};
};
thanks_mc._alpha = 0;
credA = 10;
thanks_btn.onRollOver = function () {
credGo(thanks_mc, 1);
};
thanks_btn.onRollOut = function () {
credGo(thanks_mc, -1);
};
special_btn.onPress = function () {
if (secretBlitz == true) {
spe_mc.gotoAndPlay("off");
secretBlitz = false;
} else if (secretBlitz == false) {
spe_mc.gotoAndPlay("on");
secretBlitz = true;
}
};
cir_1.onRelease = function () {
cir_1.onEnterFrame = null;
};
Mouse.show();
stop();
main_btn.onPress = function () {
var _local1 = Array(special_btn, K_web, K_mail, M_web, M_mail, main_btn);
loadNoButtonsFalse(_local1);
transitionMc("opening_screen");
};
OkSubmit = false;
K_web.onPress = function () {
ik1();
};
K_mail.onPress = function () {
ik2();
};
w_aim.onPress = function () {
ik3();
};
M_web.onPress = function () {
iw1();
};
M_mail.onPress = function () {
iw2();
};
m_aim.onPress = function () {
iw3();
};
w_btn.useHandCursor = (m_btn.useHandCursor = false);
Frame 770
if (false) {
}
function keyPlacer(butName, action) {
specialKeysIn(OnslaughtSave[14][action], butName);
var _local1 = own[butName + "_btn"];
_local1.onPress = function () {
var _local1 = own[butName + "_txt"];
_local1.text = "";
allButtonsEnable(false, 50);
keys = new Object();
keys.onKeyDown = function () {
var _local1 = Key.getCode();
specialKeys(_local1, butName, action);
};
Key.addListener(keys);
};
}
function specialKeys(hitKey, butName, action) {
specialKeysIn(hitKey, butName);
var _local1 = 0;
while (_local1 < keyArLen) {
if (_local1 != action) {
if (hitKey == OnslaughtSave[14][_local1]) {
allButtonsEnable(false, 50);
okGo = false;
thiss = "";
chooseAgain_mc.gotoAndPlay(2);
var _local2 = own[butName + "_txt"];
_local2.text = thiss;
}
}
_local1++;
}
if (okGo == true) {
allButtonsEnable(true, 100);
OnslaughtSave[14][action] = hitKey;
Key.removeListener(keys);
thiss = null;
}
}
function specialKeysIn(hitKey, butName) {
thiss = "";
okGo = true;
if (((hitKey == 80) || (hitKey == 81)) || (hitKey == 77)) {
okGo = false;
thiss = "";
chooseAgain_mc.gotoAndPlay("pqm");
} else if (((((((((((((hitKey == 17) || (hitKey == 220)) || (hitKey == 20)) || (hitKey == 192)) || (hitKey == 189)) || (hitKey == 187)) || (hitKey == 92)) || (hitKey == 93)) || (hitKey == 45)) || (hitKey == 35)) || (hitKey == 34)) || (hitKey == 33)) || (hitKey == 36)) {
okGo = false;
thiss = "";
chooseAgain_mc.gotoAndPlay(2);
} else {
switch (hitKey) {
case 39 :
thiss = "right";
break;
case 37 :
thiss = "left";
break;
case 38 :
thiss = "up";
break;
case 40 :
thiss = "down";
break;
case 32 :
thiss = "space";
break;
case 16 :
thiss = "shift";
break;
default :
var _local3 = String.fromCharCode(hitKey);
thiss = _local3.toLowerCase();
}
}
var _local2 = own[butName + "_txt"];
_local2.text = thiss;
}
function allButtonsEnable(variable, alph) {
var _local2 = Array(arrow_btn, arrowAlt_btn, L_btn, R_btn, volly_btn, vollyAlt_btn, resetKeys_btn);
var _local3 = _local2.length;
var _local1 = 0;
while (_local1 < _local3) {
_local2[_local1].enabled = variable;
_local2[_local1]._alpha = alph;
_local1++;
}
back2_btn.enabled = variable;
}
own = _root;
okGo = true;
back2_btn.onPress = function () {
cursor3.onMouseMove = null;
Key.addListener(Qistener);
var _local1 = Array(arrow_btn, arrowAlt_btn, L_btn, R_btn, volly_btn, vollyAlt_btn, back2_btn, resetKeys_btn, musicT_btn);
loadNoButtonsFalse(_local1);
transitionMc("opening_screen");
};
soundQualButtons();
keyArLen = OnslaughtSave[14].length;
keyPlacer("arrow", 0);
keyPlacer("arrowAlt", 1);
keyPlacer("L", 2);
keyPlacer("R", 3);
keyPlacer("volly", 4);
keyPlacer("vollyAlt", 5);
resetKeys_btn.onPress = function () {
OnslaughtSave[14] = new Array();
OnslaughtSave[14][0] = 32;
OnslaughtSave[14][1] = 38;
OnslaughtSave[14][2] = 37;
OnslaughtSave[14][3] = 39;
OnslaughtSave[14][4] = 90;
OnslaughtSave[14][5] = 40;
specialKeysIn(32, "arrow");
specialKeysIn(38, "arrowAlt");
specialKeysIn(37, "L");
specialKeysIn(39, "R");
specialKeysIn(90, "volly");
specialKeysIn(40, "vollyAlt");
};
cursor3._y = _ymouse;
cursor3._x = _xmouse;
cursor3.onMouseMove = function () {
cursor3._y = _ymouse;
cursor3._x = _xmouse;
};
cursor3.onMouseDown = function () {
cursor3.gotoAndPlay("click");
};
Frame 771
if (false) {
}
function buttonCodes(cNum, tName, theCode, codeInit) {
var theBtn = magOwn[tName + "_btn"];
var theText = magOwn[tName + "Txt"];
var _local1 = OnslaughtSave[11][cNum];
var theGuy = magOwn["guy_" + codeInit];
var fire = magOwn[("fire" + codeInit) + "_mc"];
loadNoLoadBtns(theBtn, 0, false);
if (_local1 == true) {
info_txt.text = "";
magOwn["butArray" + codeInit].push(theBtn);
loadNoLoadBtns(theBtn, 100, true);
}
theBtn.onPress = function () {
tarX = tarX + tarXMouseDown;
go_btn._x = goBiX;
loadNoLoadBtns(reset_btn, 100, true);
buttonsReset(codeInit, theBtn);
if (magOwn["AlreadyCode" + codeInit] == false) {
theGuy.gotoAndPlay(2);
fire.play();
fire.onEnterFrame = function () {
fire._alpha = fire._alpha + 10;
if (fire._alpha >= 100) {
fire._alpha = 100;
fire.onEnterFrame = null;
}
};
}
magOwn["AlreadyCode" + codeInit] = true;
magOwn["secret_code_" + codeInit] = theCode;
theBtn.gotoAndPlay("glow");
};
theBtn.onRollOver = function () {
if (magOwn["secret_code_" + codeInit] != theCode) {
theBtn.gotoAndStop("over");
}
info_txt.text = theText;
};
theBtn.onRollOut = function () {
if (magOwn["secret_code_" + codeInit] != theCode) {
info_txt.text = "";
theBtn.gotoAndStop(1);
}
};
}
function sparkGen() {
if (magOk == true) {
if (wandLayer > wandLayerMax) {
wandLayer = 1;
}
wandCount = wandCountInit;
magOwn.attachMovie("code_magic_star_all", "wand_" + wandLayer, wandLayer);
var wand = magOwn["wand_" + wandLayer];
wand._x = wand_mc._x;
wand._y = wand_mc._y;
wand._rotation = random(360) + 1;
wand.onEnterFrame = function () {
if (wand._currentframe >= wandTotalFrames) {
wand.onEnterFrame = null;
removeMovieClip(wand);
}
};
wandLayer++;
}
}
function buttonsReset(t, buttonPressed) {
if (buttonPressed == hard_btn) {
secret_code_2 = "";
var _local4 = butArray2.length;
var _local2 = 0;
while (_local2 < _local4) {
loadNoLoadBtns(butArray2[_local2], 70, false);
butArray2[_local2].gotoAndStop(1);
_local2++;
}
} else {
var _local4 = butArray2.length;
var _local2 = 0;
while (_local2 < _local4) {
loadNoLoadBtns(butArray2[_local2], 100, true);
_local2++;
}
}
var _local3 = magOwn["butArray" + t];
var _local5 = _local3.length;
var _local1 = 0;
while (_local1 < _local5) {
if (_local3[_local1]._currentframe > 1) {
_local3[_local1].gotoAndStop(1);
}
_local1++;
}
}
function backC(num) {
magOwn["AlreadyCode" + num] = false;
magOwn["secret_code_" + num] = "";
var _local1 = magOwn[("fire" + num) + "_mc"];
_local1._alpha = 0;
_local1.gotoAndStop(1);
}
function codeStart(num) {
magOwn["guy_" + num].gotoAndPlay("back");
backC(num);
magOwn["butArray" + num] = new Array();
buttonsReset(num);
}
function resetBk(num) {
if (magOwn["AlreadyCode" + num] == true) {
magOwn["guy_" + num].gotoAndPlay("back");
}
backC(num);
var _local2 = magOwn["butArray" + num];
var _local3 = _local2.length;
var _local1 = 0;
while (_local1 < _local3) {
_local2[_local1].gotoAndStop(1);
_local1++;
}
}
magOwn = this;
snipTxt = "Demon Sight: An unearthly red beam aids you in the aiming of your bow";
mineTxt = "Replication: This magic will double the amount of mines on the field per level";
slowTxt = "Time Warp: This spell affects the very fabric of time itself, slowing all approaching enemies";
armorTxt = "Enchanted Masonry: A spell of protection increases your castles resistance to all attacks";
speedTxt = "Angelic Assist: spirits aid your archers to help them ready a volley in half the time";
hardTxt = "True Onslaught: Only for ultimate players";
boostBTxt = "Furious Haste: This magic shortens the time it takes reload for the bomber (player 2)";
quickBTxt = "Supernatural Reflex: Improves the accuracy of the bomber (player 2)";
codeStart(1);
codeStart(2);
tarX = wand_mc._x;
info_txt.text = "You currently have no magics, play level mode with various settings to unlock them";
if_btn.onRollOver = function () {
info_txt.text = "";
};
loadNoLoadBtns(reset_btn, 0, false);
goBiX = go_btn._x;
go_btn._x = 1000;
reset_btn.onPress = function () {
resetBk(1);
resetBk(2);
loadNoLoadBtns(reset_btn, 0, false);
};
buttonCodes(0, "snip", "glow", 1);
buttonCodes(1, "mine", "mine", 1);
buttonCodes(2, "slow", "slow", 1);
buttonCodes(3, "armor", "armor", 1);
buttonCodes(4, "speed", "powerInc", 1);
buttonCodes(5, "hard", "hard", 1);
buttonCodes(6, "boostB", "boostB", 2);
buttonCodes(7, "quickB", "quickB", 2);
wandCountInit = (wandCount = 6);
wandTotalFrames = 22;
wandLayer = 1;
wandLayerMax = (tarXMouseDown = 30);
wand_mc.onMouseDown = function () {
if (magOk == true) {
sparkGen();
sparkGen();
sparkGen();
sparkGen();
sparkGen();
}
wand_mc.gotoAndPlay("magic");
tarX = tarX + tarXMouseDown;
};
togMag_btn.onPress = function () {
if (magOk == false) {
magOk = true;
} else if (magOk == true) {
magOk = false;
}
};
wand_mc._y = _ymouse;
wand_mc._x = _xmouse;
wand_mc.onMouseMove = function () {
wand_mc._y = _ymouse;
wand_mc._x = _xmouse;
};
wand_mc.onEnterFrame = function () {
wandCount--;
if (wandCount <= 0) {
sparkGen();
}
var _local1 = wand_mc._x - tarX;
tarX = tarX + (_local1 / 3);
wand_mc._rotation = _local1 / 5;
};
OkSubmit = false;
main_btn.onPress = (go_btn.onPress = function () {
var _local1 = Array(snip_btn, mine_btn, slow_btn, armor_btn, speed_btn, hard_btn, boostB_btn, quickB_btn, reset_btn, main_btn);
loadNoButtonsFalse(_local1);
wand_mc.onEnterFrame = null;
transitionMc("opening_screen");
});
Mouse.hide();
stop();
Frame 772
if (false) {
}
function pSetButClick(butIn, type, fi) {
var _local1 = fireOwn[butIn + "_btn"];
var fireMc = fireOwn[("fire" + fi) + "2_mc"];
var _local3 = fireOwn[("fire" + fi) + "_mc"];
var _local2 = fireOwn[butIn + "i_btn"];
_local3._alpha = (fireMc._alpha = 0);
_local1.onPress = function () {
gameType = type;
var _local1 = Array(main2_btn, easy_btn, hard_btn);
loadNoButtonsFalse(_local1);
transitionMc("playerNum");
};
_local1.onRollOver = function () {
chooseSound_mc.gotoAndPlay(2);
fireMc.gotoAndStop("go");
flame2(fi, 1);
};
_local1.onRollOut = function () {
flame2(fi, -1);
};
_local2.onRollOver = function () {
flame2(fi + "I", 1);
};
_local2.onRollOut = function () {
flame2(fi + "I", -1);
};
}
function flame2(fl, way, playi) {
var flame = fireOwn[("fire" + fl) + "_mc"];
var flame2 = fireOwn[("fire" + fl) + "2_mc"];
flame.onEnterFrame = function () {
flame._alpha = flame._alpha + (flameAmount * way);
flame2._alpha = flame2._alpha + ((flameAmount + 2) * way);
if (flame._alpha >= 100) {
flame._alpha = 100;
flame.onEnterFrame = null;
} else if (flame._alpha <= 0) {
flame._alpha = (flame2._alpha = 0);
flame2.gotoAndStop(1);
flame.onEnterFrame = null;
}
};
}
main2_btn.onPress = function () {
var _local1 = Array(main2_btn, easy_btn, hard_btn);
loadNoButtonsFalse(_local1);
transitionMc("opening_screen");
};
flameAmount = 8;
fireOwn = this;
gameType = "normal";
fireMI_mc._alpha = (fireSI_mc._alpha = (ma_ex_mc._alpha = (lv_ex_mc._alpha = 0)));
pSetButClick("easy", "normal", "S");
pSetButClick("hard", "marathon", "M");
cursor._x = _xmouse;
cursor._y = _ymouse;
cursor.onMouseMove = function () {
cursor._x = _xmouse;
cursor._y = _ymouse;
};
cursor.onMouseDown = function () {
cursor.gotoAndPlay("click");
};
Mouse.hide();
stop();
OkSubmit = false;
Frame 773
if (false) {
}
function rolloverOut(button, mc, othermc, goto, num) {
button.onPress = function () {
playerNumber = num;
if (secret_code_1 != "hard") {
loadNoLoadBtns(easy_btn, 100, true);
}
loadNoLoadBtns(hard_btn, 100, true);
lifer_mc._alpha = 100;
if (gameType == "marathon") {
playerLives = endurLives;
endur_mc._alpha = 100;
tLife_txt.text = playerLives;
endur_mc.gotoAndPlay(2);
}
playerChosen = button + "_true";
flameGo(mc, 1);
flameGo(othermc, -1);
mcChosen = mc;
playerVar = goto;
};
button.onRollOver = function () {
chooseSound_mc.gotoAndPlay(2);
if (playerChosen != (button + "_true")) {
flameGo(fire_mc, 1);
flameGo(mc, 1);
}
};
button.onRollOut = function () {
if (playerChosen != (button + "_true")) {
flameGo(fire_mc, -1);
flameGo(mc, -1);
}
};
}
function difficultySetter(butP, otherP, diff) {
var _local1 = fireOwn[butP + "_btn"];
var livesNum = fireOwn[butP + "Lives"];
_local1.onPress = function () {
if (buttonPressed == otherP) {
glow_back_mc.gotoAndPlay(butP);
}
buttonPressed = butP;
difficulty = diff;
if (gameType == "normal") {
playerLives = livesNum;
tLife_txt.text = playerLives;
}
gameGo();
};
_local1.onRollOver = function () {
if (gameType == "normal") {
tLife_txt.text = livesNum;
}
chooseSound_mc.gotoAndPlay(2);
if (buttonPressed == "") {
glow_back_mc.gotoAndPlay(butP);
}
};
_local1.onRollOut = function () {
if (gameType == "normal") {
tLife_txt.text = "";
}
if (buttonPressed == "") {
var _local1 = butP + "_back";
glow_back_mc.gotoAndPlay(_local1);
}
};
}
function flameGo(flame, way) {
flame.onEnterFrame = function () {
flame._alpha = flame._alpha + (flameAmount * way);
if (flame._alpha > 100) {
flame._alpha = 100;
flame.onEnterFrame = null;
} else if (flame._alpha < 0) {
flame._alpha = 0;
flame.onEnterFrame = null;
}
};
}
function gameGo() {
var _local1 = Array(main2_btn, easy_btn, hard_btn, two_btn, tur_btn);
loadNoButtonsFalse(_local1);
transitionMc("game");
}
main_btn.onPress = function () {
var _local1 = Array(main2_btn, easy_btn, hard_btn, two_btn, tur_btn);
loadNoButtonsFalse(_local1);
transitionMc("playerSettings");
};
playerLives = 3;
flameAmount = 10;
playerNumber = 1;
difficulty = 1;
playerChosen = "";
vollyNum = 0;
buttonPressed = "";
eas_har_btnAlph = 10;
one_mc._alpha = (two_mc._alpha = (fire_mc._alpha = (endur_mc._alpha = 0)));
loadNoLoadBtns(easy_btn, eas_har_btnAlph, false);
loadNoLoadBtns(hard_btn, eas_har_btnAlph, false);
endur_mc.gotoAndStop(1);
tLife_txt.text = "";
lifer_mc._alpha = eas_har_btnAlph;
easyLives = 3;
hardLives = 2;
endurLives = 1;
fireOwn = this;
rolloverOut(tur_btn, one_mc, two_mc, "turret", 1);
rolloverOut(two_btn, two_mc, one_mc, "two", 2);
difficultySetter("easy", "hard", 1);
difficultySetter("hard", "easy", 1.5);
cursor._x = _xmouse;
cursor._y = _ymouse;
cursor.onMouseMove = function () {
cursor._x = _xmouse;
cursor._y = _ymouse;
};
cursor.onMouseDown = function () {
cursor.gotoAndPlay("click");
};
Mouse.hide();
stop();
OkSubmit = false;
Frame 774
if (false) {
}
function displayScores() {
var _local2 = oncelotOwner;
var _local3 = new Array(_local2.points, _local2.kills, _local2.shots, _local2.accuracy, _local2.combo2, _local2.pointsB, _local2.killsB, _local2.shotsB, _local2.accuracyB, _local2.adScoreCom, name1_txt, _local2, _local2.diff_txt, _local2.mode_txt);
var _local1 = 0;
while (_local1 < 14) {
if ((_local1 == 3) || (_local1 == 8)) {
OncArrays(_local3, OnslaughtSave, _local1, "%");
} else if (_local1 != 11) {
OncArrays(_local3, OnslaughtSave, _local1, "");
}
_local1++;
}
var _local4 = 0;
var _local5 = OnslaughtSave[11].length;
_local1 = 0;
while (_local1 < _local5) {
if (OnslaughtSave[11][_local1] == true) {
_local4++;
}
_local1++;
}
oncelotOwner.magic_txt.text = _local4 + "/8";
}
function displayOld() {
var _local2 = oncelotOwner;
var _local3 = new Array(_local2.Lpoints, _local2.Lkills, _local2.Lshots, _local2.Laccuracy, _local2.Lcombo2, _local2.LpointsB, _local2.LkillsB, _local2.LshotsB, _local2.LaccuracyB, _local2.LadScoreCom, Lname1_txt, _local2, _local2.Ldiff_txt, _local2.Lmode_txt);
var _local1 = 0;
while (_local1 < 14) {
if ((_local1 == 3) || (_local1 == 8)) {
OncArrays(_local3, OnslaughtSaveOld, _local1, "%");
} else if (_local1 != 11) {
OncArrays(_local3, OnslaughtSaveOld, _local1, "");
}
_local1++;
}
var _local5 = 0;
var _local4 = OnslaughtSaveOld[11].length;
_local1 = 0;
while (_local1 < _local4) {
if (OnslaughtSaveOld[11][_local1] == true) {
numOfCodes++;
}
_local1++;
}
oncelotOwner.Lmagic_txt.text = _local5 + "/8";
}
function OncArrays(arr, arrBig, num, extra) {
if (arrBig[num] == null) {
arr[num].text = "";
} else {
arr[num].text = arrBig[num] + extra;
}
}
function textScroll(but, way) {
but.onPress = function () {
scrollEF();
back_mc.onEnterFrame = function () {
target = target + (targetMove * way);
if (target > scrollMax) {
target = scrollMax;
loadNoLoadBtns(up_btn, 60, false);
} else if (target < scrollMin) {
target = scrollMin;
loadNoLoadBtns(down_btn, 60, false);
} else {
loadNoLoadBtns(down_btn, 100, true);
loadNoLoadBtns(up_btn, 100, true);
}
};
};
but.onRelease = (but.onReleaseOutside = function () {
back_mc.onEnterFrame = null;
});
}
function scrollEF() {
scroll_mc.onEnterFrame = function () {
var _local2 = scroll_mc._y;
var _local1 = target - _local2;
scroll_mc._y = scroll_mc._y + (_local1 / movieMove);
if (Math.abs(_local1) < scrollMinY) {
scroll_mc.onEnterFrame = null;
}
};
}
name1_txt.restrict = nameRestrictText;
if (OkSubmit == true) {
loadNoLoadBtns(submit_btn, 100, true);
} else {
loadNoLoadBtns(submit_btn, 0, false);
}
if (okSaveHD == true) {
loadNoLoadBtns(save_btn, 100, true);
} else {
loadNoLoadBtns(save_btn, 20, true);
}
qualityGo = false;
pauseScreenButtonsQual2(l2_btn, "LOW", 1);
pauseScreenButtonsQual2(m2_btn, "MEDIUM", 2);
pauseScreenButtonsQual2(h2_btn, "HIGH", 3);
musicT_btn.onPress = function () {
muteSound();
};
if (musicPlaying == false) {
onOff_mc._alpha = 100;
}
owner = _root;
oncelotOwner = scroll_mc;
scrollMinY = 0.5;
var onHolder = OnslaughtSave;
OnslaughtSave = new Array();
OnslaughtSave = onHolder;
OnslaughtSaveOld = new Array();
OnslaughtData = SharedObject.getLocal("OnslaughtSave");
OnslaughtSaveOld = OnslaughtData.data.theArray;
displayOld();
displayScores();
scrollMin = -320;
scrollMax = 150;
scroll_mc._y = scrollMax;
target = scrollMax;
movieMove = 10;
targetMove = 30;
textScroll(down_btn, -1);
textScroll(up_btn, 1);
loadNoLoadBtns(up_btn, 60, false);
view_btn.onPress = function () {
getURL ("http://www.trueweaksauce.com/scores/scoreChart.html", "_blank");
};
name1_txt.onChanged = function () {
OnslaughtSave[10] = name1_txt.text;
};
scoreQStopF = 12;
scoreQTot = scoreQ_mc._totalframes;
save_btn.onPress = function () {
save_btn._alpha = 30;
var _local1 = Array(submit_btn, main_btn, save_btn);
loadNoButtonsFalse(_local1);
scoreQ_mc.gotoAndPlay(2);
scoreQ_mc.onEnterFrame = function () {
if (scoreQ_mc._currentframe >= scoreQStopF) {
scoreQ_mc.gotoAndStop(scoreQStopF);
scoreQ_mc.onEnterFrame = null;
if (OnslaughtSave[15] == true) {
loadNoLoadBtns(scoreQ_mc.load_btn, 10, false);
loadNoLoadBtns(scoreQ_mc.noload_btn, 100, true);
} else if (OnslaughtSave[15] == false) {
loadNoLoadBtns(scoreQ_mc.load_btn, 100, true);
loadNoLoadBtns(scoreQ_mc.noload_btn, 10, false);
} else {
loadNoLoadBtns(scoreQ_mc.load_btn, 100, true);
loadNoLoadBtns(scoreQ_mc.noload_btn, 10, false);
}
scoreQ_mc.load_btn.onPress = function () {
OnslaughtSave[15] = true;
loadNoLoadBtns(scoreQ_mc.load_btn, 10, false);
loadNoLoadBtns(scoreQ_mc.noload_btn, 100, true);
};
scoreQ_mc.noload_btn.onPress = function () {
OnslaughtSave[15] = false;
loadNoLoadBtns(scoreQ_mc.load_btn, 100, true);
loadNoLoadBtns(scoreQ_mc.noload_btn, 10, false);
};
scoreQ_mc.do_btn.onPress = function () {
scoreQ_mc.gotoAndPlay(scoreQStopF + 1);
scoreQ_mc.onEnterFrame = function () {
if (scoreQ_mc._currentframe >= scoreQTot) {
OnslaughtSave[16] = _quality;
OnslaughtData.data.theArray = OnslaughtSave;
OnslaughtSaveOld = OnslaughtSave;
displayOld();
saveLoad_mc.gotoAndPlay("save");
okSaveHD = false;
loadNoLoadBtns(save_btn, 30, false);
submit_btn.enabled = (main_btn.enabled = true);
scoreQ_mc.gotoAndStop(1);
scoreQ_mc.onEnterFrame = null;
}
};
};
scoreQ_mc.not_btn.onPress = function () {
scoreQ_mc.gotoAndPlay(scoreQStopF + 1);
scoreQ_mc.onEnterFrame = function () {
if (scoreQ_mc._currentframe >= scoreQTot) {
loadNoLoadBtns(save_btn, 100, true);
submit_btn.enabled = (main_btn.enabled = true);
scoreQ_mc.gotoAndStop(1);
scoreQ_mc.onEnterFrame = null;
}
};
};
}
};
};
enable_btn.onPress = function () {
System.showSettings(1);
};
main_btn.onPress = function () {
qualityGo = true;
var _local1 = submit_btn._alpha;
var _local2 = Array(musicT_btn, view_btn, submit_btn, main_btn);
loadNoButtonsFalse(_local2);
submit_btn._alpha = _local1;
transitionMc("opening_screen");
};
submit_btn.onPress = function () {
if (OkSubmit == true) {
OkSubmit = false;
var _local1 = Array(musicT_btn, view_btn, submit_btn, main_btn);
loadNoButtonsFalse(_local1);
transitionMc("highRank");
}
};
cursor3._y = _ymouse;
cursor3._x = _xmouse;
cursor3.onMouseMove = function () {
cursor3._y = _ymouse;
cursor3._x = _xmouse;
};
cursor3.onMouseDown = function () {
cursor3.gotoAndPlay("click");
};
stop();
Mouse.hide();
Frame 775
if (false) {
}
function warnMcFade(way) {
warn_mc.onEnterFrame = function () {
warn_mc._alpha = warn_mc._alpha + (10 * way);
if ((warn_mc._alpha <= 0) || (warn_mc._alpha >= 100)) {
warn_mc.onEnterFrame = null;
}
};
}
function CompileScore(scoreHigh) {
scoreHigh = scoreHigh.toString();
var _local3 = "";
var _local2 = new Array();
_local2[0] = "jupwRV";
_local2[1] = "pWlYVT";
_local2[2] = "YQWdfR";
_local2[3] = "MVCSGH";
_local2[4] = "UIFVNB";
_local2[5] = "LLKLWM";
_local2[6] = "WEREEW";
_local2[7] = "tyuNGH";
_local2[8] = "aEaWTF";
_local2[9] = "HGHJFQ";
var _local5 = scoreHigh.length;
var _local1 = 0;
while (_local1 < _local5) {
_local3 = _local3 + _local2[scoreHigh.substr(_local1, 1)];
_local1++;
}
return(_local3);
}
function DoGoodName(the_name) {
var _local4 = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z");
var _local8 = new Array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
var _local3 = 0;
var _local1 = "";
var _local2 = 0;
var _local10 = the_name.length;
var _local5 = 0;
while (_local5 < _local10) {
_local1 = the_name.substr(_local5, 1);
_local3 = 0;
var _local6 = _local4.length;
_local2 = 0;
while (_local2 < _local6) {
if ((_local1 == _local4[_local2]) || (_local1 == _local4[_local2].toUpperCase())) {
_local3 = 1;
}
_local2++;
}
var _local7 = _local8.length;
_local2 = 0;
while (_local2 < _local7) {
if (_local1 == _local8[_local2]) {
_local3 = 1;
}
_local2++;
}
if (((_local1 == "-") || (_local1 == "_")) || (_local1 == " ")) {
_local3 = 1;
}
if (_local3 == 0) {
return(false);
}
_local5++;
}
if ((the_name.length < 2) || (the_name.length > 21)) {
return(false);
}
return(true);
}
function languageFilter(theText) {
var _local8 = swearArray.length;
var _local4 = 0;
while (_local4 < _local8) {
var _local6 = swearArray[_local4];
var _local3 = theText.text.toLowerCase().indexOf(_local6);
var _local2 = _local6.length;
if (_local3 > -1) {
var _local5 = "";
var _local1 = 0;
while (_local1 < _local2) {
_local5 = _local5 + ".";
_local1++;
}
theText.replaceText(_local3, _local3 + _local2, _local5);
languageFilter(theText);
}
_local4++;
}
}
function phpChartMaker(sVar, nVar, goP, cheater) {
acu = 1;
holas = highScore;
grenfos = sVar;
scoreName = nVar;
getURL ((goP + cheater) + ".php", "_blank", "POST");
}
okTransmit = true;
our_name.restrict = nameRestrictText;
claim = false;
warn_mc._alpha = 0;
scoreHigh = (scoreIn_txt.text = (ScoreC_txt.text = OnslaughtSave[9]));
our_name.text = (nameC_txt.text = OnslaughtSave[10]);
if (gameType == "normal") {
gameFix = "level";
} else {
gameFix = "endurance";
}
back_btn.onPress = function () {
var _local1 = Array(back_btn, musicT_btn, disclaim_btn, go_btn);
loadNoButtonsFalse(_local1);
transitionMc("personalHigh");
delete swearArray;
};
swearArray = new Array("crap", "shit", "bitch", "fuck", "ass", "cunt", "pussy", "cock", "tit", "biggot", "whore", "vagina", "penis", "fag", "piss", "masturbat", "urine", " nigger", "niglet", "poop", "bastard", "homo");
soundQualButtons();
our_name.onChanged = function () {
nameC_txt.text = our_name.text;
};
disclaim_btn.onPress = function () {
if (claim == false) {
claim = true;
warnMcFade(1);
} else if (claim == true) {
claim = false;
warnMcFade(-1);
}
};
scoreHigh = CompileScore(scoreHigh);
go_btn.onPress = function () {
languageFilter(our_name);
if (our_name.text == "") {
namemc.gotoAndPlay("noname");
} else if (!DoGoodName(our_name.text)) {
namemc.gotoAndPlay("invalid_characters");
} else {
var _local2 = our_name.text;
OnslaughtSave[10] = our_name.text;
score = 0;
var _local3 = "http://www.trueweaksauce.com/scores/";
var _local1 = ((_local3 + gameFix) + playerNumber) + buttonPressed;
if ((AlreadyCode1 == false) && (AlreadyCode2 == false)) {
phpChartMaker(scoreHigh, _local2, _local1, "no");
} else if ((AlreadyCode1 == true) || (AlreadyCode2 == true)) {
phpChartMaker(scoreHigh, _local2, _local1, "yes");
}
scoreHigh = 0;
delete highScore;
score = OnslaughtSave[0];
var _local4 = Array(back_btn, musicT_btn, disclaim_btn, go_btn);
loadNoButtonsFalse(_local4);
go_btn._alpha = 50;
OkSubmit = false;
transitionMc("personalHigh");
}
};
Mouse.show();
Frame 776
if (false) {
}
function difficultySettingsMult(numberFix) {
numberFix = Math.floor((numberFix * difficulty) * playerNumber);
}
function difficultySettingsDiv(numberFix) {
numberFix = Math.ceil((numberFix / difficulty) / playerNumber);
}
function OncLvls(levels) {
switch (levels) {
case 1 :
maxMines = 8;
levelMineColor = "0x000000";
levelMineAlpha = 0;
maxMonsters = 12;
countDownInit = 42;
monsterNameArray = [grunt, zombie];
gain = 15;
scoreIncrement = 250;
scoreExtraLife = 3000;
nextLvlCount = 1250;
maxCombo = 50;
levelHealth = 25;
BackGround.gotoAndStop(1);
powerScoreMax = 5;
wall1.wall_in.gotoAndStop(1);
break;
case 2 :
maxMines = 6;
levelMineColor = "0x4D5C27";
levelMineAlpha = 10;
maxMonsters = 12;
monsterNameArray = [spear, militia];
monsterNameArray[0].speed = monsterNameArray[0].speed - 1;
countDownInit = 35;
gain = 15;
scoreIncrement = 250;
scoreExtraLife = 4000;
nextLvlCount = 1350;
maxCombo = 45;
levelHealth = 20;
BackGround.gotoAndStop(2);
powerScoreMax = 12;
wall1.wall_in.gotoAndStop(2);
break;
case 3 :
maxMines = 5;
levelMineColor = "0x494D2D";
levelMineAlpha = 20;
maxMonsters = 17;
monsterNameArray = [beast, militia];
countDownInit = 27;
gain = 15;
scoreIncrement = 250;
scoreExtraLife = 5000;
nextLvlCount = 1650;
maxCombo = 40;
BackGround.gotoAndStop(3);
levelHealth = 15;
powerScoreMax = 15;
wall1.wall_in.gotoAndStop(3);
break;
case 4 :
maxMines = 3;
levelMineColor = "0x494D2D";
maxMonsters = 21;
monsterNameArray = [beast, militia, blitzer, spear];
countDownInit = 24;
gain = 15;
scoreIncrement = 200;
scoreExtraLife = 6000;
nextLvlCount = 1950;
maxCombo = 40;
BackGround.gotoAndStop(3);
levelHealth = 15;
powerScoreMax = 15;
wall1.wall_in.gotoAndStop(3);
maxVollys = 2;
break;
case 5 :
maxMines = 5;
levelMineColor = "0x000000";
levelMineAlpha = 50;
maxMonsters = 19;
monsterNameArray = [ninja, grunt];
countDownInit = 21;
gain = 15;
scoreIncrement = 250;
scoreExtraLife = 6000;
nextLvlCount = 2250;
maxCombo = 40;
BackGround.gotoAndStop(4);
snow_mc.gotoAndStop(2);
snow_mc.swapDepths(126);
levelHealth = 15;
powerScoreMax = 17;
wall1.wall_in.gotoAndStop(4);
break;
case "tutorial" :
maxMines = 9;
levelMineColor = "0x000000";
levelMineAlpha = 0;
maxMonsters = 19;
countDownInit = 40;
monsterNameArray = [grunt];
monsterNameArray[0].speed = monsterNameArray[0].speed - 1;
gain = 0;
scoreIncrement = 0;
scoreExtraLife = 1000;
nextLvlCount = 450;
maxCombo = 50;
levelHealth = 25;
BackGround.gotoAndStop(1);
powerScoreMax = 10;
wall1.wall_in.gotoAndStop(1);
}
}
function Monsters(namei, livesi, speedi, speedDecreasei, damagei, counti, feetClipi, ihei, bombi) {
this.name = namei;
this.lives = livesi;
this.speed = speedi;
this.speedDecrease = speedDecreasei;
this.damage = damagei;
this.feetCountInit = counti;
this.feetCount = counti;
this.feetClip = feetClipi;
this.feetWay = "left";
this.height = ihei;
this.bomb = bombi;
}
function health(whichDam, damage, monst) {
var _local1 = damage * whichDam;
stats.hp.health._x = stats.hp.health._x + _local1;
currentHealth = currentHealth + _local1;
wallHurt();
if (stats.hp.health._x >= healthInitX) {
stats.hp.health._x = healthInitX;
}
if (currentHealth <= 0) {
removeMovieClip(monst);
losegame();
}
}
function losegame() {
stopGame();
stats.onEnterFrame = null;
Key.removeListener(hitListener);
removeMovieClip(turret);
removeMovieClip(wall1);
removeMovieClip(cas_shadow);
explode.gotoAndPlay(2);
var explodeTotal = explode._totalframes;
var tot10 = (explodeTotal - 10);
explode.onEnterFrame = function () {
if (explode._currentframe == tot10) {
Key.removeListener(hitListener);
transitionMc("loseGame");
} else if (explode._currentframe >= explodeTotal) {
explode.gotoAndStop(explodeTotal);
explode.onEnterFrame = null;
clearGame();
}
};
}
function winGame(winPlace) {
stopGame();
stats.onEnterFrame = null;
Key.removeListener(hitListener);
var winMCTotalFS = (winMCTotalF - 10);
turret.gotoAndStop(1);
winGame_mc.gotoAndPlay("winner");
winGame_mc.onEnterFrame = function () {
if (winGame_mc._currentframe >= winMCTotalFS) {
if (level == "tutorial") {
transitionMc("learn");
} else if (winPlace == "nextLevel") {
transitionMc("nextLevel");
} else if (winPlace == "wingame") {
transitionMc("wingame");
}
winGame_mc.onEnterFrame = function () {
if (winGame_mc._currentframe >= winMCTotalF) {
clearGame();
winGame_mc.onEnterFrame = null;
}
};
}
};
}
function clearGame() {
pausedGame = false;
var _local5 = monsterArray.length;
var _local3 = 0;
while (_local3 < _local5) {
removeMovieClip(monsterArray[_local3]);
_local3++;
}
var _local4 = mineArray.length;
var _local2 = 0;
while (_local2 < _local4) {
removeMovieClip(mineArray[_local2]);
_local2++;
}
_root["crator" + cratorDepth]._alpha = 1;
removeMovieClip(turret);
removeMovieClip(wall1);
removeMovieClip(cas_shadow);
removeMovieClip(stats);
removeMovieClip(snow_mc);
removeMovieClip(fireHitter);
removeMovieClip(p2_target);
removeMovieClip(p2_circle);
removeMovieClip(pauseScreen);
removeMovieClip(countDown_mc);
removeMovieClip(winGame_mc);
removeMovieClip(explode);
removeMovieClip(vollyNum_mc);
}
function stopGame() {
smStop();
turret.onEnterFrame = (countDown_mc.onEnterFrame = (targetOwner.onMouseDown = (p2_target.onEnterFrame = null)));
var _local2 = monsterArray.length;
var _local1 = 0;
while (_local1 < _local2) {
monsterArray[_local1].zombie.weapon.gotoAndStop(1);
monsterArray[_local1].zombie.kill.stop();
monsterArray[_local1].zombie.die.stop();
monsterArray[_local1].zombie.jump.stop();
monsterArray[_local1].onEnterFrame = null;
_local1++;
}
}
function wallHurt() {
if (currentHealth > 100) {
wall1.wall_in.wall_3.gotoAndStop(1);
cas_shadow.gotoAndStop(1);
} else if ((currentHealth <= 100) && (currentHealth > 50)) {
wall1.wall_in.wall_3.gotoAndStop(2);
cas_shadow.gotoAndStop(2);
} else if (currentHealth < 50) {
wall1.wall_in.wall_3.gotoAndStop(3);
cas_shadow.gotoAndStop(3);
}
cas_shadow.fl2.gotoAndPlay(20);
}
function scoreKeeper() {
if (gameType == "normal") {
if (scoreTemp >= scoreExtraLife) {
scoreTemp = 0;
health(1, levelHealth);
healthBonus_mc.gotoAndPlay(2);
}
}
stats.points.text = scoreTempAll;
}
function marathon() {
nextLvlCount = marLvlCDInit;
marLvlCDInit = marLvlCDInit - marCDSub;
if (secretBlitz == false) {
countDownInit--;
if (countDown < countDownMin) {
countDownInit = countDownMin;
}
}
BackGround._alpha = BackGround._alpha - (bgAlphaGo * bgAlphaGoWay);
if (BackGround._alpha < 30) {
BackGround._alpha = 30;
bgAlphaGoWay = bgAlphaGoWay * -1;
var _local8 = BackGround._currentframe;
var _local6 = _local8 + 1;
var _local7 = BackGround._totalframes;
if (_local6 > _local7) {
_local6 = 1;
}
BackGround.gotoAndStop(_local6);
switch (_local6) {
case 1 :
levelMineColor = "0x000000";
levelMineAlpha = 0;
break;
case 2 :
levelMineColor = "0x4D5C27";
levelMineAlpha = 10;
break;
case 3 :
levelMineColor = "0x494D2D";
levelMineAlpha = 20;
break;
case 4 :
levelMineColor = "0xFFFFFF";
levelMineAlpha = 30;
break;
case 5 :
levelMineColor = "0x000000";
levelMineAlpha = 50;
break;
default :
levelMineColor = "0x000000";
levelMineAlpha = 0;
}
var _local4 = mineArray.length;
var _local1 = 0;
while (_local1 < _local4) {
var _local3 = new Color(mineArray[_local1].mineCov_mc);
_local3.setRGB(levelMineColor);
mineArray[_local1].mineCov_mc._alpha = levelMineAlpha;
_local1++;
}
} else if (BackGround._alpha >= 100) {
bgAlphaGoWay = bgAlphaGoWay * -1;
}
if (secret_code_1 != "hard") {
marathonModeMonsters();
}
marathonModeCounter++;
var _local5 = monsterNameArray.length;
var _local2 = 0;
while (_local2 < _local5) {
marathonAddSpeed(monsterNameArray[_local2], "speed", eIncSpeed);
_local2++;
}
marathon_mc.gotoAndPlay(2);
}
function marathonAddSpeed(mon, prop, amount) {
mon[prop] = mon[prop + "_init"];
var _local1 = amount * marathonModeCounter;
var _local4 = Math.abs(_local1);
var _local5 = Math.abs(mon[prop + "_max"]);
if (_local4 > _local5) {
_local1 = 0;
}
mon[prop] = mon[prop] + _local1;
}
function levelCountDown() {
nextLvlCount = nextLvlCount - oncCountDownSpd;
if (nextLvlCount <= 0) {
if (level >= maxLevel) {
if (gameType == "marathon") {
marathon();
} else {
winGame("wingame");
}
} else if (gameType == "marathon") {
marathon();
} else {
winGame("nextLevel");
}
}
if (nextLvlCount < countMaxRedTime) {
stats.nextLvl.htmlText = ("<font color='#990000'>" + nextLvlCount) + "</font>\n";
} else {
stats.nextLvl.htmlText = ("<font color='#000000'>" + nextLvlCount) + "</font>\n";
}
}
function monsterDieAnim(monster, killFrame) {
var dieTotal = monster.zombie.die._totalframes;
monster.zombie.die.onEnterFrame = function () {
monster.dead = true;
if (monster.zombie.die._currentframe >= dieTotal) {
if (monster.lives <= 0) {
monster.dead = true;
monster.zombie.die.stop();
removeMovieClip(monster);
monster.zombie.die.onEnterFrame = null;
} else {
monster.speed = monster.speed - monster.speedDecrease;
monster.dieing = (monster.dead = false);
if (monster.killing == true) {
monster.killing = false;
monster.zombie.gotoAndStop(1);
monster.zombie.kill.gotoAndPlay(killFrame);
} else {
monster.zombie.gotoAndStop("atk");
}
}
}
};
}
function randomMonster() {
var _local6 = random(monsterNameArray.length);
var _local8 = monsterNameArray[_local6].name;
attachMovie(_local8, "monster" + monsterDepth, 100 - monsterDepth);
var monster = _root["monster" + monsterDepth];
monster._x = random(510) + 10;
monster._y = enemyStartY;
var _local4 = monsterNameArray[_local6];
monster.lives = _local4.lives;
monster.speed = _local4.speed;
monster.speedDecrease = _local4.speedDecrease;
monster.damage = _local4.damage;
monster.feetCountInit = _local4.feetCountInit;
monster.feetCount = _local4.feetCount;
monster.feetClip = _local4.feetClip;
monster.feetWay = _local4.feetWay;
monster.killing = false;
monster.height = _local4.height;
monster.bomb = monsterNameArray[_local6].bomb;
monster.dead = (monster.dieing = (monster.killing = false));
if (monster.bomb == true) {
_root[monster + "_bomb"] = new Sound(monster);
_root[monster + "_bomb"].attachSound("fuse.wav");
_root[monster + "_bomb"].start(0, 50);
}
var _local7 = monsterDepth;
monsterArray[_local7 - 1] = monster;
monster.onEnterFrame = function () {
if (pausedGame == false) {
if (monster._y >= monsterLastY) {
monster.dead = true;
removeMovieClip(monster);
}
if ((wall2.wallpart1.hitTest(monster.zombie) || (wall2.wallpart2.hitTest(monster.zombie))) && (!monster.killing)) {
monster.killing = true;
monster.zombie.kill.gotoAndPlay("killer");
var killTotal = monster.zombie.kill._totalframes;
monster.zombie.kill.onEnterFrame = function () {
if ((monster.zombie.kill._currentframe >= killTotal) && (monster.dead == false)) {
if (monster.bomb == true) {
monsterBomber(monster);
}
monster.zombie.gotoAndStop(2);
wall1.play();
monster.dead = true;
health(-1, monster.damage, monster);
var jumpTotal = monster.zombie.jump._totalframes;
monster.zombie.jump.onEnterFrame = function () {
if (monster.zombie.jump._currentframe >= jumpTotal) {
removeMovieClip(monster);
}
};
}
};
}
if (monster.dead == false) {
monsterFeet(monster);
if (monster.dieing == false) {
monster._y = monster._y + monster.speed;
}
var _local3 = mineArray.length;
var _local1 = 0;
while (_local1 < _local3) {
if (mineArray[_local1].mine.hitTest(monster.zombie.kill)) {
monsterInstaDeath(monster);
mineArray[_local1].gotoAndPlay("boom");
mineArray[_local1].mineCov_mc.gotoAndStop(2);
var _local2 = new Color(mineArray[_local1].mineCov_mc);
_local2.setRGB(levelMineColor);
mineArray[_local1].mineCov_mc._alpha = levelMineAlpha;
monsterRegenAtDeath();
}
_local1++;
}
if (blast._currentframe >= 2) {
if (blast.Arrow.hitTest(monster.zombie.kill)) {
if (monster.bomb == true) {
monsterBomber(monster);
}
monster.lives--;
loading = true;
blasting = false;
if (monster.lives <= 0) {
totalkillsTemp++;
stats.kills.text = totalkillsTemp;
monsterRegenAtDeath();
} else {
arrowHitsTemp++;
}
blast.gotoAndStop(1);
if (vollyNum < maxVollys) {
powerPar(1);
}
scoreTempAll = scoreTempAll + (gain * combo);
scoreTemp = scoreTemp + (gain * combo);
scoreKeeper();
monster.stop();
var _local4 = monster.zombie.kill._currentframe;
monster.zombie.gotoAndStop(3);
monster.zombie.die.gotoAndPlay(1);
monster.zombie.die.killscore.addedpoints.text = combo * gain;
stats.combo2.text = combo;
monsterDieAnim(monster, _local4);
combo++;
if (combo > maxCombo) {
combo = maxCombo;
}
if (combo > highestcombo) {
highestcombo = combo;
}
}
}
if (fireHitter._currentframe == fireTotal) {
if (fireHitter.explode.hitTest(monster.zombie.kill) || (fireHitter.explode.hitTest(monster.zombie.die))) {
if (monster.bomb == true) {
monsterBomber(monster);
}
monster.lives = monster.lives - 10;
bombKillsTemp++;
stats.killsB.text = bombKillsTemp;
monsterRegenAtDeath();
monster.stop();
monster.zombie.gotoAndStop(3);
monster.zombie.die.gotoAndPlay(1);
monster.zombie.die.killscore.addedpoints.text = scoreIncrement;
bombScoreTemp = bombScoreTemp + scoreIncrement;
stats.pointsB.text = bombScoreTemp;
monsterDieAnim(monster);
}
}
if (superArrow._currentframe >= 2) {
if (superArrow.hitTest(monster.zombie.kill) || (superArrow.hitTest(monster.zombie.die))) {
monsterInstaDeath(monster);
}
}
}
}
};
monsterDepth++;
if (monsterDepth > maxMonsters) {
monsterDepth = monsterDepthInit;
}
}
function monsterInstaDeath(monster) {
if (monster.bomb == true) {
monsterBomber(monster);
}
monster.lives = monster.lives - 10;
otherShotsTemp++;
totalkillsTemp++;
stats.kills.text = totalkillsTemp;
monster.stop();
monster.zombie.gotoAndStop(3);
monster.zombie.die.gotoAndPlay(1);
monster.zombie.die.killscore.addedpoints.text = scoreIncrement;
scoreTempAll = scoreTempAll + scoreIncrement;
scoreTemp = scoreTemp + scoreIncrement;
scoreKeeper();
monsterDieAnim(monster);
}
function monsterBomber(monster) {
attachMovie("_explosion", "explosion" + explodeDepth, explodeDepth + 100);
var boom = _root["explosion" + explodeDepth];
_root[monster + "_bomb"].stop();
_root[monster + "_bomb"] = null;
boom._y = monster._y;
boom._x = monster._x;
boom.gotoAndPlay(1);
boom.onEnterFrame = function () {
var _local3 = monsterArray.length;
var _local1 = 0;
while (_local1 < _local3) {
var _local2 = monsterArray[_local1];
if (_local2.zombie.kill.hitTest(boom.explo) || (_local2.zombie.die.hitTest(boom.explo) && (monster.bomb == false))) {
monsterInstaDeath(_local2);
}
_local1++;
}
if (boom._currentframe >= KamakazTotF) {
boom.onEnterFrame = null;
removeMovieClip(boom);
}
};
explodeDepth++;
if (explodeDepth > explodeBoomMax) {
explodeDepth = 1;
}
}
function monsterRegenAtDeath() {
switch (monRegenCounter) {
case 1 :
randomMonster();
break;
case 2 :
countDown = 1;
}
monRegenCounter++;
if (monRegenCounter > monRegenCounterMax) {
monRegenCounter = 1;
}
}
function MinePlacement() {
mineArray = new Array();
var _local4 = 0;
while (_local4 < maxMines) {
attachMovie(whichLandMine, "mine" + _local4, _local4);
mineArray[_local4] = _root["mine" + _local4];
var _local2 = mineArray[_local4];
_local2.mineCov_mc.gotoAndStop(1);
mineColor = new Color(_local2.mineCov_mc);
mineColor.setRGB(levelMineColor);
_local2.mineCov_mc._alpha = levelMineAlpha;
_local2._x = random(500) + 10;
_local2._y = random(100) + 300;
var _local5 = mineArray.length;
var _local3 = 0;
while (_local3 < _local5) {
if (_local2.hitTest(mineArray[_local3])) {
_local2._x = random(500) + 10;
_local2._y = random(100) + 300;
}
_local3++;
}
_local4++;
}
}
function monsterFeet(monster) {
monster.feetCount--;
if (monster.feetCount <= 0) {
if (monster.feetWay == "right") {
var _local2 = monster.feetClip + "_right";
feetDuplicate(_local2, monster);
monster.feetWay = "left";
} else if (monster.feetWay == "left") {
var _local2 = monster.feetClip + "_left";
feetDuplicate(_local2, monster);
monster.feetWay = "right";
}
monster.feetCount = monster.feetCountInit;
}
}
function feetDuplicate(whichWay, monster) {
attachMovie(whichWay, (("feet_" + whichWay) + "_") + footDepth, footDepth);
var feetPlacement = _root[(("feet_" + whichWay) + "_") + footDepth];
feetPlacement._x = monster._x;
feetPlacement._y = monster._y + (monster.height / 2);
var fTo = feetPlacement._totalframes;
feetPlacement.onEnterFrame = function () {
if (feetPlacement._currentframe >= fTo) {
removeMovieClip(feetPlacement);
}
};
footDepth++;
if (footDepth >= footDepthTotal) {
footDepth = footDepthInit;
}
}
function powerPar(whichWay) {
if (vollyNum < maxVollys) {
var _local1 = powerIncrement * whichWay;
powerScore = powerScore + _local1;
stats.powerbar.powerMask_mc._x = stats.powerbar.powerMask_mc._x + ((powerBarMult / powerScoreMax) * _local1);
}
if (powerScore >= powerScoreMax) {
vollyNum++;
vollyAquire();
} else if (powerScore <= 0) {
powerScore = 0;
stats.powerbar.powerMask_mc._x = initPowerBarX;
}
}
function vollyAquire() {
vollyNum_mc.gotoAndStop(vollyNum + 1);
stats.powerbar["powerColor" + vollyNum]._alpha = vollyAlpha;
powerScore = powerScoreInit;
stats.powerbar.powerMask_mc._x = initPowerBarX;
stats.powerbar.powerColor.gotoAndPlay(2);
}
function unPauseCode() {
if (pausedGoing == false) {
if (musicPlaying == true) {
soundOwn.music.setVolume(100);
}
_root[monster + "_bomb"].setVolume(100);
pausedGoing = true;
pauseScreen.gotoAndPlay("down");
pauseScreen.onEnterFrame = function () {
if (pauseScreen._currentframe >= pauseScreenTotF) {
pauseInvisoMonsters(100);
smPlay(turret);
smPlay(blast);
smPlay(superArrow);
smPlay(fireHitter);
pauseScreen.onEnterFrame = null;
qualityGo = true;
pausedGame = (pausedGoing = false);
}
};
if (fireHitter._currentframe > 1) {
fireHitter.play();
}
fireHitter._alpha = 100;
Mouse.hide();
}
}
function controls() {
var p = pauseScreen;
p.control_btn.onPress = function () {
if (p.controls_mc._currentframe == 1) {
pauseButtonsEnab(false);
p.control_btn.enabled = true;
p.controls_mc.gotoAndPlay("up");
controlsPauseText("arrow", SKey);
controlsPauseText("arrowAlt", UKey);
controlsPauseText("L", LKey);
controlsPauseText("R", RKey);
controlsPauseText("volly", key_fire);
controlsPauseText("vollyAlt", DKey);
p.controls_mc.onEnterFrame = function () {
if (p.controls_mc._currentframe >= pauseScreenMid) {
p.controls_mc.onEnterFrame = null;
p.controls_mc.gotoAndStop(pauseScreenMid);
}
};
} else if (p.controls_mc._currentframe == pauseScreenMid) {
p.controls_mc.gotoAndPlay("down");
p.controls_mc.onEnterFrame = function () {
if (p.controls_mc._currentframe >= pauseScreenTotF) {
pauseButtonsEnab(true);
}
};
}
};
}
function controlsPauseText(but, onKit) {
var _local1 = "";
switch (onKit) {
case 39 :
_local1 = "right";
break;
case 37 :
_local1 = "left";
break;
case 38 :
_local1 = "up";
break;
case 40 :
_local1 = "down";
break;
case 32 :
_local1 = "space";
break;
case 16 :
_local1 = "shift";
break;
default :
var _local2 = String.fromCharCode(onKit);
_local1 = _local2.toLowerCase();
}
var _local3 = pauseScreen.controls_mc.pauseInGo_mc.contIn_mc[but + "_txt"];
_local3.text = _local1;
}
function turretTurn(way) {
turret.onEnterFrame = function () {
if (blasting == false) {
blast._rotation = blast._rotation + (turretSpeed * way);
}
turret._rotation = turret._rotation + (turretSpeed * way);
if (turret._rotation > 90) {
blast._rotation = (turret._rotation = 90);
} else if (turret._rotation < -90) {
blast._rotation = (turret._rotation = -90);
}
};
}
function smStop() {
superArrow.stop();
turret.stop();
blast.stop();
fireHitter.stop();
}
function smPlay(tN) {
if (tN._currentframe > 1) {
tN.play();
}
}
function pauseButtonsEnab(varia) {
var _local1 = pauseScreen;
_local1.l_btn.enabled = (_local1.m_btn.enabled = (_local1.h_btn.enabled = (_local1.quit_btn.enabled = (_local1.cont_btn.enabled = (_local1.controls_mc.enabled = varia)))));
}
function turretShoot() {
stats.onEnterFrame = function () {
if ((blasting == false) && (loading == false)) {
blast.gotoAndPlay(2);
turret.gotoAndPlay(2);
blasting = (loading = true);
totalshotsTemp++;
}
};
}
function fireArrows() {
if (readyToFire == true) {
readyToFire = false;
stats.powerbar["powerColor" + vollyNum]._alpha = 0;
vollyNum--;
if (vollyNum <= 0) {
var _local1 = 1;
while (_local1 <= 5) {
stats.powerbar["powerColor" + _local1]._alpha = 0;
_local1++;
}
vollyNum = 0;
stats.powerbar.powerColor.gotoAndStop(1);
}
vollyNum_mc.gotoAndStop(vollyNum + 1);
superArrow.gotoAndPlay(2);
superArrow.onEnterFrame = function () {
if (superArrow._currentframe >= supperArTot) {
superArrow.gotoAndStop(1);
superArrow.onEnterFrame = null;
readyToFire = true;
}
};
}
}
function pauseInvisoMonsters(alpha) {
var _local2 = monsterArray.length;
var _local1 = 0;
while (_local1 < _local2) {
monsterArray[_local1]._alpha = alpha;
_local1++;
}
}
function marathonModeMonsters() {
monsterNameArray = new Array();
var _local3 = monsterMarArray.length;
var _local1 = 0;
while (_local1 < _local3) {
var _local2 = monsterMarArray[random(_local3)];
monsterNameArray[_local1] = _local2;
_local1++;
}
}
function secrets() {
turret.glow._alpha = 0;
powerIncrement = 1;
hardChanger = 1.5;
if (level != "tutorial") {
switch (secret_code_1) {
case "glow" :
secretTeller = "Demon Sight";
turret.glow._alpha = 100;
break;
case "mine" :
secretTeller = "Replication";
maxMines = maxMines * 2;
break;
case "slow" :
secretTeller = "Time Warp";
var _local4 = monsterNameArray.length;
var _local2 = 0;
while (_local2 < _local4) {
monsterNameArray[_local2].speed = Math.floor(monsterNameArray[_local2].speed / 2);
_local2++;
}
break;
case "armor" :
secretTeller = "Enchanted Masonry";
_local4 = monsterNameArray.length;
_local2 = 0;
while (_local2 < _local4) {
monsterNameArray[_local2].damage = Math.floor(monsterNameArray[_local2].damage / 2);
_local2++;
}
break;
case "powerInc" :
wall1.wall_in.gotoAndStop("angel");
secretTeller = "Angelic Assist";
powerIncrement = 2;
break;
case "hard" :
secretTeller = "True Onslaught";
countDownInit = countDownInit / 1.2;
monsterNameArray = [beast, militia, ninja, spear, zombie];
_local4 = monsterNameArray.length;
_local2 = 0;
while (_local2 < _local4) {
var _local3 = monsterNameArray[_local2];
monsterNameArray[_local2].speed = Math.floor(_local3.speed * hardChanger);
monsterNameArray[_local2].damage = Math.floor(_local3.damage * hardChanger);
monsterNameArray[_local2].lives++;
_local2++;
}
break;
default :
secretTeller = "None";
}
if (gameType == "marathon") {
if (secret_code_1 == "hard") {
maxMonsters = 40;
monsterMarArray = [beast, militia, ninja, spear, zombie];
} else {
maxMonsters = 25;
monsterMarArray = [beast, militia, spear, zombie, grunt, blitzer];
}
monsterMarTotal = monsterMarArray.length;
var _local1 = 0;
while (_local1 < monsterMarTotal) {
monsterMarArray[_local1].speed_max = monsterMarArray[_local1].speed * eMaxSpeed;
monsterMarArray[_local1].speedDecrease_max = monsterMarArray[_local1].speedDecrease * eMaxSpeedDec;
monsterMarArray[_local1].damage_max = monsterMarArray[_local1].damage * eMaxDam;
monsterMarArray[_local1].speed_init = monsterMarArray[_local1].speed;
monsterMarArray[_local1].speedDecrease_init = monsterMarArray[_local1].speedDecrease;
monsterMarArray[_local1].damage_init = monsterMarArray[_local1].damage;
_local1++;
}
marathonModeMonsters();
}
if (secretBlitz == true) {
secretTeller = "Dynamite Paradise";
monsterNameArray = [blitzer];
monsterMarArray = [blitzer];
scoreIncrement = 5;
countDownInit = 20 - level;
maxMonsters = 25 + level;
}
}
}
function secrets2() {
secretTeller2 = "None";
if (secret_code_2 == "quickB") {
secretTeller2 = "Furious Haste";
p2Follow = 1;
} else if (secret_code_2 == "quickB") {
secretTeller2 = "Supernatural Reflex";
targetLoadSpeed = 6;
}
}
oncCountDownSpd = 1;
totalkillsTemp = totalkills;
totalshotsTemp = totalshots;
otherShotsTemp = otherShots;
arrowHitsTemp = arrowHits;
totalBombsTemp = totalBombs;
bombKillsTemp = bombKills;
scoreTempAll = score;
bombScoreTemp = bombScore;
scoreTemp = 0;
pausedGame = true;
pausedGoing = false;
grunt = new Monsters("_ENEMY_grunt_All", 1, 4, 1, 10, 12, "_feet_zom", 51, false);
zombie = new Monsters("_ENEMY_zombie_All", 1, 8, 2, 15, 5, "_feet_zom", 73, false);
spear = new Monsters("_ENEMY_spear_All", 1, 6, 1, 20, 12, "_feet_spear", 51, false);
militia = new Monsters("_ENEMY_militia_All", 2, 3, 1, 25, 11, "_feet_militia", 67, false);
beast = new Monsters("_ENEMY_beast_All", 3, 2, 0, 40, 22, "_feet_beast", 99, false);
ninja = new Monsters("_ENEMY_ninja_All", 1, 4, -1, 10, 5, "_feet_spear", 73, false);
blitzer = new Monsters("_ENEMY_goblin_All", 1, 6, 1, 50, 10, "_feet_zom", 73, true);
maxLevel = 5;
explode.swapDepths(137);
winGame_mc.swapDepths(136);
countDown_mc.swapDepths(135);
fireHitter.swapDepths(134);
pauseScreen.swapDepths(133);
turret.swapDepths(132);
wall1.swapDepths(131);
cas_shadow.swapDepths(130);
stats.swapDepths(129);
p2_target.swapDepths(128);
p2_circle.swapDepths(127);
target_fire = false;
stats.gotoAndStop(1);
if (playerVar == "two") {
stats.gotoAndStop(2);
}
enemyStartY = -30;
turretSpeed = 6;
whichLandMine = "land_mine";
pauseScreenTotF = pauseScreen._totalframes;
targetOwner = this;
Mouse.hide();
footDepthInit = 40;
footDepth = footDepthInit;
footDepthTotal = 69;
cratorFade = 3;
cratorDepth = 5;
eMaxSpeed = 1.5;
eMaxSpeedDec = 1.2;
eMaxDam = 2.5;
eIncSpeed = 0.15;
eIncSpeedDec = 0.1;
enIncDam = 3;
marathonModeCounter = 1;
countDownMin = 12;
stats.nextLvl.html = true;
stats.nextLvl.htmlText = nextLvlCount;
powerBarMult = 268;
powerScoreInit = 0;
powerScore = powerScoreInit;
vollyNum_mc.gotoAndStop(vollyNum + 1);
vollyAlpha = 50;
var c = 1;
while (c <= 5) {
stats.powerbar["powerColor" + c]._alpha = 0;
c++;
}
vollyAquire();
supperArTot = superArrow._totalframes;
readyToFire = true;
initPowerBarX = stats.powerbar.powerMask_mc._x;
monRegenCounter = 1;
monRegenCounterMax = 3;
superArrow.gotoAndStop(1);
blastTotal = blast._totalframes;
turretTotal = turret._totalframes;
initFireX = 350;
initFireY = 620;
fireTotal = fireHitter._totalframes;
fireTotalD = fireTotal - 2;
winMCTotalF = winGame_mc._totalframes;
fireHitter._x = initFireX;
fireHitter._y = initFireY;
targetLoadMax = -5;
targetLoadInit = -125;
p2_target.loader.barIN._x = targetLoadMax;
targetLoadSpeed = 4;
p2Follow = 4;
p2rota = 2;
KamakazTotF = 5;
explodeDepth = 1;
explodeBoomMax = 6;
cas_shadow.fl2.gotoAndPlay(20);
wall1.wall_in.gotoAndStop(1);
pauseScreenMid = 17;
countDown = (combo = 1);
healthInitX = stats.hp.health._x;
healthFull = 150;
currentHealth = healthFull;
countMaxRedTime = 300;
monsterArray = new Array();
blastInitY = blast._y;
blastInitX = blast._x;
blasting = (loading = false);
monsterDepthInit = 1;
monsterDepth = monsterDepthInit;
monsterLastY = 615;
bgAlphaGo = 10;
bgAlphaGoWay = 1;
marCDSub = 10;
marLvlCDInit = 1000;
healthBonus_mc.gotoAndStop(1);
maxVollys = 3;
OncLvls(level);
difficultySettingsDiv(maxMines);
difficultySettingsDiv(countDownInit);
difficultySettingsDiv(gain);
difficultySettingsDiv(scoreIncrement);
difficultySettingsDiv(maxCombo);
difficultySettingsDiv(maxVollys);
difficultySettingsMult(levelHealth);
difficultySettingsMult(powerScoreMax);
difficultySettingsMult(scoreExtraLife);
difficultySettingsMult(nextLvlCount);
nextLxlCountMax = nextLvlCount;
scoreTemp = 0;
if (buttonPressed == "hard") {
stats.diff_mc.gotoAndStop("hard");
} else if (buttonPressed == "easy") {
stats.diff_mc.gotoAndStop("easy");
}
if (gameType == "normal") {
stats.mode_mc.gotoAndStop("level");
} else if (gameType == "marathon") {
stats.mode_mc.gotoAndStop("endurance");
}
highestcombo = 1;
stats.points.text = scoreTempAll;
stats.nextLvl.text = nextLvlCount;
stats.kills.text = totalkillsTemp;
stats.combo2.text = combo;
stats.pointsB.text = bombScoreTemp;
stats.killsB.text = bombKillsTemp;
stats.tLife_txt.text = playerLives;
countDownFrame = countDown_mc._totalframes;
secrets();
MinePlacement();
blast.onEnterFrame = function () {
if ((turret._currentframe >= turretTotal) && (loading == true)) {
blasting = false;
blast.gotoAndStop(1);
blast._y = blastInitY;
blast._x = blastInitX;
blast._rotation = turret._rotation;
turret.gotoAndStop(1);
loading = false;
}
if (blast._currentframe >= blastTotal) {
blasting = false;
combo = 1;
stats.combo2.text = combo;
powerPar(-1);
}
};
countDown_mc.gotoAndPlay(2);
countDown_mc.onEnterFrame = function () {
if (countDown_mc._currentframe >= countDownFrame) {
pausedGame = false;
Key.addListener(hitListener);
countDown_mc.gotoAndStop(countDownFrame);
countDown_mc.onEnterFrame = function () {
if (pausedGame == false) {
countDown--;
if (countDown <= 0) {
randomMonster();
countDown = countDownInit;
}
levelCountDown();
}
};
}
};
SKey = OnslaughtSave[14][0];
UKey = OnslaughtSave[14][1];
LKey = OnslaughtSave[14][2];
RKey = OnslaughtSave[14][3];
key_fire = OnslaughtSave[14][4];
DKey = OnslaughtSave[14][5];
key_pause = 80;
pauseSound = 40;
sureStop = 12;
hitListener = new Object();
hitListener.onKeyDown = function () {
var _local2 = Key.getCode();
if (pausedGame == false) {
if (_local2 == LKey) {
turretTurn(-1);
} else if (_local2 == RKey) {
turretTurn(1);
}
if ((_local2 == SKey) || (_local2 == UKey)) {
turretShoot();
}
if (((_local2 == DKey) || (_local2 == key_fire)) && (vollyNum > 0)) {
fireArrows();
}
}
if (((_local2 == key_pause) && (pausedGame == false)) && (pausedGoing == false)) {
smStop();
pausedGame = (pausedGoing = true);
fireHitter._alpha = 0;
pauseInvisoMonsters(0);
pauseScreen.gotoAndPlay("up");
qualityGo = false;
pauseScreen.onEnterFrame = function () {
Mouse.show();
if (pauseScreen._currentframe >= pauseScreenMid) {
pauseScreen.onOff_mc._alpha = 100;
if (musicPlaying == true) {
soundOwn.music.setVolume(pauseSound);
pauseScreen.onOff_mc._alpha = 0;
}
_root[monster + "_bomb"].setVolume(10);
pausedGoing = false;
pauseScreen.onEnterFrame = null;
pauseScreen.gotoAndStop(pauseScreenMid);
pauseScreenButtonsQual2(pauseScreen.l_btn, "LOW", 1);
pauseScreenButtonsQual2(pauseScreen.m_btn, "MEDIUM", 2);
pauseScreenButtonsQual2(pauseScreen.h_btn, "HIGH", 3);
pauseScreen.sp1_txt.text = secretTeller;
pauseScreen.sp2_txt.text = secretTeller2;
controls();
pauseScreen.soundOnOff_btn.onPress = function () {
if (musicPlaying == true) {
pauseScreen.onOff_mc._alpha = 100;
soundOwn.music.setVolume(0);
musicPlaying = false;
} else {
pauseScreen.onOff_mc._alpha = 0;
soundOwn.music.setVolume(pauseSound);
musicPlaying = true;
}
};
pauseScreen.quit_btn.onPress = function () {
pauseScreen.youSure_mc.gotoAndPlay("up");
var _local3 = youSure_mc._totalframes;
pauseScreen.youSure_mc.onEnterFrame = function () {
pauseButtonsEnab(false);
if (pauseScreen.youSure_mc._currentframe >= sureStop) {
pauseScreen.youSure_mc.onEnterFrame = null;
pauseScreen.youSure_mc.gotoAndStop(sureStop);
pauseScreen.youSure_mc.game_btn.onPress = function () {
pauseScreen.youSure_mc.gotoAndPlay("back");
pauseButtonsEnab(true);
};
pauseScreen.youSure_mc.yes_btn.onPress = function () {
if (level == "tutorial") {
transitionMc("learn");
} else {
Mouse.hide();
if (musicPlaying == true) {
soundOwn.music.setVolume(100);
}
_root[monster + "_bomb"].setVolume(100);
var _local2 = Array(pauseScreen.youSure_mc.yes_btn, pauseScreen.youSure_mc.game_btn);
loadNoButtonsFalse(_local2);
losegame();
qualityGo = true;
pauseScreen.onEnterFrame = function () {
pauseScreen._alpha = pauseScreen._alpha - 20;
if (pauseScreen._alpha < 10) {
pauseScreen._alpha = 0;
pauseScreen.onEnterFrame = null;
}
};
}
};
}
};
};
pauseScreen.cont_btn.onPress = function () {
unPauseCode();
};
}
};
} else if ((_local2 == key_pause) && (pausedGame == true)) {
unPauseCode();
}
};
hitListener.onKeyUp = function () {
var _local1 = Key.getCode();
if ((_local1 == SKey) || (_local1 == UKey)) {
stats.onEnterFrame = null;
}
if (_local1 == RKey) {
if (!Key.isDown(LKey)) {
turret.onEnterFrame = null;
} else if (Key.isDown(LKey)) {
turretTurn(-1);
}
}
if (_local1 == LKey) {
if (!Key.isDown(RKey)) {
turret.onEnterFrame = null;
} else if (Key.isDown(RKey)) {
turretTurn(-1);
}
}
};
if (playerVar == "two") {
p2_target.onMouseMove = function () {
if (pausedGame == false) {
flash_target._y = (p2_target._y = _ymouse);
flash_target._x = (p2_target._x = _xmouse);
updateAfterEvent();
}
p2_target.onEnterFrame = function () {
if (pausedGame == false) {
var _local2 = p2_target._x;
var _local3 = p2_target._y;
var _local1 = p2_circle._x;
var _local4 = p2_circle._y;
p2_circle._y = p2_circle._y + ((_local3 - _local4) / p2Follow);
p2_circle._x = p2_circle._x + ((_local2 - _local1) / p2Follow);
p2_circle._rotation = (flash_target._rotation = (_local2 - _local1) / p2rota);
}
};
};
targetOwner.onMouseDown = function () {
if (pausedGame == false) {
if ((target_fire == false) && ((wall2.wallpart1.hitTest(p2_circle) == false) || (wall2.wallpart2.hitTest(p2_circle) == false))) {
totalBombsTemp++;
target_fire = true;
var tarx = ((p2_circle._x - initFireX) / fireTotalD);
var tary = ((p2_circle._y - initFireY) / fireTotalD);
fireHitter.gotoAndPlay("fire");
fireHitter.onEnterFrame = function () {
if (pausedGame == false) {
fireHitter._x = fireHitter._x + tarx;
fireHitter._y = fireHitter._y + tary;
if (fireHitter._currentframe >= fireTotal) {
fireHitter.onEnterFrame = null;
fireHitter.stop();
attachMovie("loader_crator", "crator" + cratorDepth, cratorDepth);
var crator = _root["crator" + cratorDepth];
crator._x = fireHitter._x;
crator._y = fireHitter._y;
var _local2 = new Color(crator.cratorCov_mc);
_local2.setRGB(levelMineColor);
crator.cratorCov_mc._alpha = levelMineAlpha;
crator.onEnterFrame = function () {
crator._alpha = crator._alpha - cratorFade;
if (crator._alpha <= 1) {
crator.onEnterFrame = null;
removeMovieClip(crator);
}
};
var Fire_explodeTotal = fireHitter.explode._totalframes;
fireHitter.explode.onEnterFrame = function () {
if (fireHitter.explode._currentframe >= Fire_explodeTotal) {
fireHitter.explode.onEnterFrame = null;
fireHitter.smoke.gotoAndPlay(2);
var Fire_smokeTotal = fireHitter.smoke._totalframes;
fireHitter.smoke.onEnterFrame = function () {
if (fireHitter.smoke._currentframe >= Fire_smokeTotal) {
fireHitter.smoke.onEnterFrame = null;
fireHitter.gotoAndStop(1);
fireHitter._x = initFireX;
fireHitter._y = initFireY;
}
};
}
};
}
}
};
flash_target.gotoAndPlay(2);
p2_target.loader.barIN._x = targetLoadInit;
p2_target.loader.onEnterFrame = function () {
if (pausedGame == false) {
p2_target.loader.barIN._x = p2_target.loader.barIN._x + targetLoadSpeed;
if (p2_target.loader.barIN._x > targetLoadMax) {
p2_target.loader.barIN._x = targetLoadMax;
if (fireHitter._currentframe == 1) {
p2_target.loader.onEnterFrame = null;
target_fire = false;
}
}
}
};
}
}
};
}
stop();
Frame 777
if (false) {
}
oncelotOwner = textScreen;
if (playerVar == "two") {
textScreen.gotoAndStop(2);
}
playerLives--;
loseScreen();
oncelotOwner.kills.text = totalkills + totalkillsTemp;
oncelotOwner.killsB.text = bombKills + bombKillsTemp;
textScreen.main2_btn.onPress = function () {
totalkills = totalkills + (totalkillsTemp - totalkills);
totalshots = totalshots + (totalshotsTemp - totalshots);
otherShots = otherShots + (otherShotsTemp - otherShots);
arrowHits = arrowHits + (arrowHitsTemp - arrowHits);
totalBombs = totalBombs + (totalBombsTemp - totalBombs);
bombKills = bombKills + (bombKillsTemp - bombKills);
score = score + (scoreTempAll - score);
bombScore = bombScore + (bombScoreTemp - bombScore);
loseScreen();
curVars();
var _local1 = Array(textScreen.main2_btn, textScreen.afterD_btn);
loadNoButtonsFalse(_local1);
transitionMc("personalHigh");
};
textScreen.afterD_btn.onPress = function () {
var _local1 = Array(textScreen.main2_btn, textScreen.afterD_btn);
loadNoButtonsFalse(_local1);
transitionMc("game");
};
Mouse.show();
stop();
Frame 778
if (false) {
}
oncelotOwner = allScore_mc.scorePanel;
if (playerVar == "two") {
allScore_mc.scorePanel.gotoAndStop(2);
}
switch (level) {
case 1 :
allScore_mc.gotoAndStop(1);
if (playerVar != "two") {
if (OnslaughtSave[11][0] == false) {
magNew_mc.gotoAndPlay(2);
OnslaughtSave[11][0] = true;
}
}
break;
case 2 :
allScore_mc.gotoAndStop(2);
if (playerVar == "two") {
if (OnslaughtSave[11][6] == false) {
magNew_mc.gotoAndPlay(2);
OnslaughtSave[11][6] = true;
}
} else if (OnslaughtSave[11][1] == false) {
magNew_mc.gotoAndPlay(2);
OnslaughtSave[11][1] = true;
}
break;
case 3 :
allScore_mc.gotoAndStop(3);
if (buttonPressed == "hard") {
if (OnslaughtSave[11][3] == false) {
magNew_mc.gotoAndPlay(2);
OnslaughtSave[11][3] = true;
}
}
break;
case 4 :
allScore_mc.gotoAndStop(4);
if (playerVar == "two") {
if (OnslaughtSave[11][7] == false) {
magNew_mc.gotoAndPlay(2);
OnslaughtSave[11][7] = true;
}
} else if (buttonPressed == "hard") {
if (OnslaughtSave[11][4] == false) {
magNew_mc.gotoAndPlay(2);
OnslaughtSave[11][4] = true;
}
} else if (OnslaughtSave[11][2] == false) {
magNew_mc.gotoAndPlay(2);
OnslaughtSave[11][2] = true;
}
break;
case 5 :
allScore_mc.gotoAndStop(4);
break;
default :
allScore_mc.gotoAndStop(1);
}
winScreen();
allScore_mc.winBtn.onPress = function () {
var _local1 = Array(allScore_mc.winBtn, allScore_mc.rank_btn, winQ_mc.game_btn, winQ_mc.rank_btn);
loadNoButtonsFalse(_local1);
level++;
transitionMc("game");
};
winQStopF = 12;
allScore_mc.rank_btn.onPress = function () {
winQ_mc.gotoAndPlay(2);
allScore_mc.rank_btn.enabled = (allScore_mc.winBtn.enabled = false);
winQ_mc.onEnterFrame = function () {
if (winQ_mc._currentframe >= winQStopF) {
winQ_mc.gotoAndStop(winQStopF);
winQ_mc.onEnterFrame = null;
allScore_mc.rank_btn.enabled = false;
winQ_mc.game_btn.onPress = function () {
winQ_mc.gotoAndPlay(winQStopF + 1);
allScore_mc.rank_btn.enabled = (allScore_mc.winBtn.enabled = true);
};
winQ_mc.rank_btn.onPress = function () {
allScore_mc.rank_btn.enabled = true;
curVars();
var _local1 = Array(allScore_mc.winBtn, allScore_mc.rank_btn, winQ_mc.game_btn, winQ_mc.rank_btn);
loadNoButtonsFalse(_local1);
transitionMc("personalHigh");
};
}
};
};
Mouse.show();
stop();
allScore_mc.back.Cloud_1.onEnterFrame = function () {
cloudGo(1);
cloudGo(2);
cloudGo(3);
};
Frame 779
if (false) {
}
oncelotOwner = textScreen;
trueO_mc.gotoAndStop(1);
if (playerVar == "two") {
textScreen.gotoAndStop(2);
}
if (secretBlitz != true) {
if (buttonPressed == "hard") {
trueO_mc.gotoAndPlay(2);
OnslaughtSave[11][5] = true;
}
}
winScreen();
textScreen.rank_btn.onPress = function () {
curVars();
loadNoLoadBtns(textScreen.rank_btn, 100, false);
transitionMc("personalHigh");
};
Mouse.show();
stop();
textScreen.back.Cloud_1.onEnterFrame = function () {
cloudGo(1);
cloudGo(2);
cloudGo(3);
};
Symbol 90 MovieClip Frame 1
if (false) {
}
stop();
Symbol 90 MovieClip Frame 13
if (false) {
}
play();
Symbol 90 MovieClip Frame 24
if (false) {
}
gotoAndStop (1);
Symbol 92 MovieClip Frame 1
if (false) {
}
stop();
Symbol 115 MovieClip Frame 1
if (false) {
}
stop();
Symbol 115 MovieClip Frame 2
if (false) {
}
stop();
Symbol 115 MovieClip Frame 3
if (false) {
}
stop();
Symbol 116 MovieClip Frame 1
if (false) {
}
stop();
Symbol 116 MovieClip Frame 2
if (false) {
}
stop();
Symbol 116 MovieClip Frame 3
if (false) {
}
stop();
Symbol 116 MovieClip Frame 4
if (false) {
}
stop();
Symbol 116 MovieClip Frame 5
if (false) {
}
stop();
Symbol 140 MovieClip Frame 1
if (false) {
}
stop();
Symbol 140 MovieClip Frame 2
if (false) {
}
Symbol 208 MovieClip Frame 1
if (false) {
}
stop();
Symbol 208 MovieClip Frame 34
if (false) {
}
gotoAndPlay (2);
Symbol 210 MovieClip Frame 1
if (false) {
}
stop();
Symbol 213 MovieClip Frame 1
if (false) {
}
stop();
Symbol 213 MovieClip Frame 17
if (false) {
}
gotoAndStop (1);
Symbol 230 MovieClip Frame 1
if (false) {
}
stop();
Symbol 230 MovieClip Frame 4
if (false) {
}
stop();
Symbol 231 MovieClip Frame 4
if (false) {
}
stop();
Symbol 233 MovieClip Frame 1
if (false) {
}
stop();
Symbol 233 MovieClip Frame 21
if (false) {
}
stop();
Symbol 238 MovieClip Frame 1
if (false) {
}
stop();
Symbol 238 MovieClip Frame 15
if (false) {
}
gotoAndStop (1);
Symbol 246 MovieClip Frame 1
if (false) {
}
stop();
Symbol 267 MovieClip Frame 45
if (false) {
}
gotoAndPlay (1);
Symbol 269 MovieClip Frame 4
if (false) {
}
stop();
Symbol 285 MovieClip Frame 45
if (false) {
}
gotoAndPlay (1);
Symbol 286 MovieClip Frame 1
if (false) {
}
stop();
Symbol 286 MovieClip Frame 2
if (false) {
}
stop();
Symbol 286 MovieClip Frame 3
if (false) {
}
stop();
Symbol 286 MovieClip Frame 4
if (false) {
}
stop();
Symbol 288 MovieClip Frame 23
if (false) {
}
gotoAndPlay (1);
Symbol 290 MovieClip Frame 5
if (false) {
}
stop();
Symbol 298 MovieClip Frame 23
if (false) {
}
gotoAndPlay (1);
Symbol 299 MovieClip Frame 1
if (false) {
}
stop();
Symbol 299 MovieClip Frame 2
if (false) {
}
stop();
Symbol 299 MovieClip Frame 3
if (false) {
}
stop();
Symbol 299 MovieClip Frame 4
if (false) {
}
stop();
Symbol 314 MovieClip Frame 13
if (false) {
}
gotoAndPlay (1);
Symbol 317 MovieClip Frame 6
if (false) {
}
stop();
Symbol 320 MovieClip Frame 10
if (false) {
}
stop();
Symbol 321 MovieClip Frame 1
if (false) {
}
stop();
Symbol 321 MovieClip Frame 2
if (false) {
}
stop();
Symbol 321 MovieClip Frame 3
if (false) {
}
stop();
Symbol 321 MovieClip Frame 4
if (false) {
}
stop();
Symbol 323 MovieClip Frame 11
if (false) {
}
gotoAndPlay (1);
Symbol 326 MovieClip Frame 6
if (false) {
}
stop();
Symbol 328 MovieClip Frame 10
if (false) {
}
stop();
Symbol 333 MovieClip Frame 11
if (false) {
}
gotoAndPlay (1);
Symbol 334 MovieClip Frame 1
if (false) {
}
stop();
Symbol 334 MovieClip Frame 2
if (false) {
}
stop();
Symbol 334 MovieClip Frame 3
if (false) {
}
stop();
Symbol 334 MovieClip Frame 4
if (false) {
}
stop();
Symbol 364 MovieClip Frame 25
if (false) {
}
gotoAndPlay (1);
Symbol 374 MovieClip Frame 25
if (false) {
}
gotoAndPlay (1);
Symbol 374 MovieClip Frame 26
if (false) {
}
_parent.weapon.gotoAndStop("killer");
Symbol 375 MovieClip Frame 5
if (false) {
}
stop();
Symbol 379 MovieClip Frame 25
if (false) {
}
gotoAndPlay (1);
Symbol 379 MovieClip Frame 26
if (false) {
}
_parent.weapon.gotoAndStop("killer");
Symbol 380 MovieClip Frame 1
if (false) {
}
stop();
Symbol 380 MovieClip Frame 2
if (false) {
}
stop();
Symbol 380 MovieClip Frame 3
if (false) {
}
stop();
Symbol 380 MovieClip Frame 4
if (false) {
}
stop();
Symbol 382 MovieClip Frame 1
if (false) {
}
stop();
Symbol 382 MovieClip Frame 2
if (false) {
}
stop();
Symbol 382 MovieClip Frame 3
if (false) {
}
stop();
Symbol 382 MovieClip Frame 4
if (false) {
}
stop();
Symbol 415 MovieClip Frame 1
if (false) {
}
stop();
Symbol 415 MovieClip Frame 2
if (false) {
}
stop();
Symbol 418 MovieClip Frame 3
if (false) {
}
stop();
Symbol 419 MovieClip [land_mine] Frame 1
if (false) {
}
stop();
Symbol 419 MovieClip [land_mine] Frame 5
if (false) {
}
stop();
Symbol 466 MovieClip Frame 7
if (false) {
}
stop();
Symbol 469 MovieClip Frame 1
if (false) {
}
stop();
Symbol 469 MovieClip Frame 2
if (false) {
}
stop();
Symbol 469 MovieClip Frame 3
if (false) {
}
stop();
Symbol 469 MovieClip Frame 4
if (false) {
}
stop();
Symbol 509 MovieClip Frame 25
if (false) {
}
gotoAndPlay (1);
Symbol 510 MovieClip Frame 6
if (false) {
}
stop();
Symbol 512 MovieClip Frame 10
if (false) {
}
stop();
Symbol 513 MovieClip Frame 1
if (false) {
}
stop();
Symbol 513 MovieClip Frame 2
if (false) {
}
stop();
Symbol 513 MovieClip Frame 3
if (false) {
}
stop();
Symbol 513 MovieClip Frame 4
if (false) {
}
stop();
Symbol 523 MovieClip Frame 1
if (false) {
}
stop();
Symbol 529 MovieClip Frame 31
if (false) {
}
stop();
Symbol 529 MovieClip Frame 42
if (false) {
}
gotoAndStop (31);
Symbol 542 MovieClip Frame 1
if (false) {
}
stop();
Symbol 542 MovieClip Frame 20
if (false) {
}
gotoAndStop (1);
Symbol 542 MovieClip Frame 29
if (false) {
}
play();
Symbol 542 MovieClip Frame 47
if (false) {
}
gotoAndStop (1);
Symbol 542 MovieClip Frame 57
if (false) {
}
play();
Symbol 542 MovieClip Frame 77
if (false) {
}
gotoAndStop (1);
Symbol 546 MovieClip Frame 30
if (false) {
}
stop();
Symbol 574 MovieClip Frame 1
if (false) {
}
stop();
Symbol 574 MovieClip Frame 10
if (false) {
}
stop();
Symbol 574 MovieClip Frame 11
if (false) {
}
stop();
Symbol 587 MovieClip Frame 1
if (false) {
}
stop();
Symbol 587 MovieClip Frame 10
if (false) {
}
stop();
Symbol 587 MovieClip Frame 20
if (false) {
}
gotoAndStop (1);
Symbol 593 MovieClip Frame 1
if (false) {
}
stop();
Symbol 593 MovieClip Frame 7
if (false) {
}
gotoAndStop (1);
Symbol 612 MovieClip Frame 1
if (false) {
}
stop();
Symbol 612 MovieClip Frame 13
if (false) {
}
gotoAndPlay (2);
Symbol 706 MovieClip Frame 1
if (false) {
}
stop();
Symbol 706 MovieClip Frame 10
if (false) {
}
gotoAndStop (1);
Symbol 706 MovieClip Frame 19
if (false) {
}
gotoAndStop (1);
Symbol 728 MovieClip Frame 1
if (false) {
}
stop();
Symbol 728 MovieClip Frame 21
if (false) {
}
gotoAndStop (1);
Symbol 728 MovieClip Frame 41
if (false) {
}
gotoAndStop (1);
Symbol 767 MovieClip Frame 1
if (false) {
}
stop();
Symbol 767 MovieClip Frame 34
if (false) {
}
stop();
Symbol 767 MovieClip Frame 35
if (false) {
}
play();
Symbol 767 MovieClip Frame 68
if (false) {
}
gotoAndStop (1);
Symbol 781 MovieClip Frame 1
if (false) {
}
stop();
Symbol 781 MovieClip Frame 3
if (false) {
}
stop();
Symbol 781 MovieClip Frame 5
if (false) {
}
play();
Symbol 781 MovieClip Frame 39
if (false) {
}
gotoAndPlay ("glow");
Symbol 784 MovieClip Frame 1
if (false) {
}
stop();
Symbol 784 MovieClip Frame 3
if (false) {
}
stop();
Symbol 784 MovieClip Frame 5
if (false) {
}
play();
Symbol 784 MovieClip Frame 39
if (false) {
}
gotoAndPlay ("glow");
Symbol 791 MovieClip Frame 1
if (false) {
}
stop();
Symbol 791 MovieClip Frame 3
if (false) {
}
stop();
Symbol 791 MovieClip Frame 5
if (false) {
}
play();
Symbol 791 MovieClip Frame 39
if (false) {
}
gotoAndPlay ("glow");
Symbol 794 MovieClip Frame 1
if (false) {
}
stop();
Symbol 794 MovieClip Frame 3
if (false) {
}
stop();
Symbol 794 MovieClip Frame 5
if (false) {
}
play();
Symbol 794 MovieClip Frame 39
if (false) {
}
gotoAndPlay ("glow");
Symbol 797 MovieClip Frame 1
if (false) {
}
stop();
Symbol 797 MovieClip Frame 3
if (false) {
}
stop();
Symbol 797 MovieClip Frame 5
if (false) {
}
play();
Symbol 797 MovieClip Frame 39
if (false) {
}
gotoAndPlay ("glow");
Symbol 800 MovieClip Frame 1
if (false) {
}
stop();
Symbol 800 MovieClip Frame 3
if (false) {
}
stop();
Symbol 800 MovieClip Frame 5
if (false) {
}
play();
Symbol 800 MovieClip Frame 39
if (false) {
}
gotoAndPlay ("glow");
Symbol 803 MovieClip Frame 1
if (false) {
}
stop();
Symbol 803 MovieClip Frame 3
if (false) {
}
stop();
Symbol 803 MovieClip Frame 5
if (false) {
}
play();
Symbol 803 MovieClip Frame 39
if (false) {
}
gotoAndPlay ("glow");
Symbol 806 MovieClip Frame 1
if (false) {
}
stop();
Symbol 806 MovieClip Frame 3
if (false) {
}
stop();
Symbol 806 MovieClip Frame 5
if (false) {
}
play();
Symbol 806 MovieClip Frame 39
if (false) {
}
gotoAndPlay ("glow");
Symbol 825 MovieClip Frame 1
if (false) {
}
stop();
Symbol 828 MovieClip Frame 1
if (false) {
}
stop();
Symbol 844 MovieClip Frame 1
if (false) {
}
stop();
Symbol 846 MovieClip Frame 1
if (false) {
}
stop();
Symbol 871 MovieClip Frame 1
if (false) {
}
stop();
Symbol 871 MovieClip Frame 11
if (false) {
}
stop();
Symbol 871 MovieClip Frame 20
if (false) {
}
gotoAndStop (1);
Symbol 871 MovieClip Frame 42
if (false) {
}
stop();
Symbol 871 MovieClip Frame 50
if (false) {
}
gotoAndStop (1);
Symbol 876 MovieClip Frame 51
if (false) {
}
gotoAndPlay (10);
Symbol 969 MovieClip Frame 1
if (false) {
}
stop();
Symbol 969 MovieClip Frame 12
if (false) {
}
stop();
Symbol 969 MovieClip Frame 23
if (false) {
}
gotoAndStop (1);
Symbol 992 MovieClip Frame 1
if (false) {
}
stop();
Symbol 992 MovieClip Frame 60
if (false) {
}
gotoAndStop (1);
Symbol 992 MovieClip Frame 131
if (false) {
}
gotoAndStop (1);
Symbol 1016 MovieClip Frame 1
if (false) {
}
stop();
Symbol 1016 MovieClip Frame 2
if (false) {
}
Symbol 1021 MovieClip Frame 1
if (false) {
}
stop();
Symbol 1021 MovieClip Frame 27
if (false) {
}
gotoAndStop (1);
Symbol 1100 MovieClip Frame 1
if (false) {
}
stop();
Symbol 1100 MovieClip Frame 2
if (false) {
}
stop();
Symbol 1100 MovieClip Frame 3
if (false) {
}
stop();
Symbol 1109 MovieClip Frame 1
if (false) {
}
stop();
Symbol 1119 MovieClip Frame 1
if (false) {
}
stop();
Symbol 1119 MovieClip Frame 25
if (false) {
}
stop();
Symbol 1120 MovieClip Frame 15
if (false) {
}
stop();
Symbol 1121 MovieClip Frame 1
if (false) {
}
stop();
Symbol 1121 MovieClip Frame 2
if (false) {
}
stop();
Symbol 1121 MovieClip Frame 3
if (false) {
}
stop();
Symbol 1121 MovieClip Frame 4
if (false) {
}
stop();
Symbol 1121 MovieClip Frame 5
if (false) {
}
stop();
Symbol 1121 MovieClip Frame 6
if (false) {
}
stop();
Symbol 1129 MovieClip Frame 1
if (false) {
}
stop();
Symbol 1129 MovieClip Frame 2
if (false) {
}
stop();
Symbol 1134 MovieClip Frame 1
if (false) {
}
stop();
Symbol 1134 MovieClip Frame 2
if (false) {
}
stop();
Symbol 1162 MovieClip Frame 1
if (false) {
}
stop();
Symbol 1162 MovieClip Frame 2
if (false) {
}
stop();
Symbol 1194 MovieClip Frame 1
if (false) {
}
stop();
Symbol 1194 MovieClip Frame 17
if (false) {
}
stop();
Symbol 1194 MovieClip Frame 34
if (false) {
}
gotoAndStop (1);
Symbol 1206 MovieClip Frame 1
if (false) {
}
stop();
Symbol 1206 MovieClip Frame 12
if (false) {
}
stop();
Symbol 1206 MovieClip Frame 23
if (false) {
}
gotoAndStop (1);
Symbol 1208 MovieClip Frame 1
if (false) {
}
stop();
Symbol 1208 MovieClip Frame 17
if (false) {
}
stop();
Symbol 1208 MovieClip Frame 34
if (false) {
}
gotoAndStop (1);
Symbol 1212 MovieClip Frame 122
if (false) {
}
stop();
Symbol 1215 MovieClip Frame 1
if (false) {
}
stop();
Symbol 1219 MovieClip Frame 1
if (false) {
}
stop();
Symbol 1255 MovieClip Frame 1
if (false) {
}
stop();
Symbol 1255 MovieClip Frame 2
if (false) {
}
stop();
Symbol 1265 MovieClip Frame 1
if (false) {
}
stop();
Symbol 1265 MovieClip Frame 2
if (false) {
}
stop();
Symbol 1284 MovieClip Frame 1
if (false) {
}
stop();
Symbol 1284 MovieClip Frame 30
if (false) {
}
gotoAndPlay (2);
Symbol 1314 MovieClip Frame 1
if (false) {
}
stop();
Symbol 1314 MovieClip Frame 2
if (false) {
}
stop();
Symbol 1328 MovieClip Frame 1
if (false) {
}
stop();
Symbol 1328 MovieClip Frame 2
if (false) {
}
stop();
Symbol 1328 MovieClip Frame 3
if (false) {
}
stop();
Symbol 1328 MovieClip Frame 4
if (false) {
}
stop();
Symbol 1335 MovieClip Frame 1
if (false) {
}
stop();
Symbol 1335 MovieClip Frame 12
if (false) {
}
stop();
Symbol 1335 MovieClip Frame 23
if (false) {
}
gotoAndStop (1);
Symbol 1367 MovieClip Frame 1
if (false) {
}
stop();
Symbol 1367 MovieClip Frame 2
if (false) {
}
stop();