Combined Code
movieClip 2 {
}
movieClip 4 {
}
movieClip 6 {
}
movieClip 8 {
}
movieClip 10 {
}
movieClip 12 {
}
movieClip 14 {
}
movieClip 16 {
}
movieClip 18 {
}
movieClip 20 {
}
movieClip 22 {
}
movieClip 24 {
}
movieClip 25 {
frame 1 {
r = random(13) + 2;
gotoAndStop(r);
}
}
movieClip 26 {
frame 1 {
origy = this._y;
}
frame 3 {
thisspeed = 0;
if (random(40) != 1) {
gotoAndPlay(2);
} else {
thisspeed = random(10) + 3;
this._alpha = random(50) + 20;
}
}
frame 8 {
y = this._y;
y += thisspeed;
if (y < 600) {
this._y = y;
gotoAndPlay(_currentframe - 1);
} else {
this._y = origy;
}
}
}
movieClip 27 {
frame 1 {
origy = this._y;
}
frame 3 {
thisspeed = 0;
if (random(40) != 1) {
gotoAndPlay(2);
} else {
thisspeed = random(10) + 3;
this._alpha = random(50) + 20;
}
}
frame 8 {
y = this._y;
y -= thisspeed;
if (y > -200) {
this._y = y;
gotoAndPlay(_currentframe - 1);
} else {
this._y = origy;
}
}
}
movieClip 28 {
}
movieClip 30 {
}
movieClip 32 {
}
movieClip 33 {
}
movieClip 34 {
}
movieClip 36 {
}
movieClip 38 {
}
movieClip 40 {
}
movieClip 41 {
}
movieClip 42 {
}
movieClip 43 {
}
movieClip 44 {
}
movieClip 46 {
}
movieClip 48 {
frame 1 {
stop();
}
}
movieClip 49 {
}
movieClip 51 {
}
movieClip 52 {
}
movieClip 54 {
}
frame 4 {
l = this.getBytesLoaded();
t = this.getBytesTotal();
if (l < t) {
gotoAndPlay(_currentframe - 1);
}
gLevel = 1;
}
frame 5 {
this.createEmptyMovieClip('track_game', 15000);
track_game._x = -2000;
track_game.loadMovie('http://www.tweetermobile.com/track_goboom.jpg');
}
movieClip 62 {
}
movieClip 64 {
}
movieClip 66 {
}
movieClip 69 {
}
movieClip 71 {
frame 1 {
this._visible = false;
}
frame 3 {
if (_root.purchased[6] > 0) {
this._visible = true;
} else {
this._visible = false;
}
if (_root.radar != true || _root.purchased[6] < 1) {
gotoAndPlay(_currentframe - 1);
}
}
frame 4 {
_root.radar = false;
}
frame 19 {
gotoAndPlay(2);
}
}
movieClip 80 {
}
movieClip 81 {
}
movieClip 82 {
frame 1 {
this._visible = false;
}
frame 3 {
if (_root.purchased[8] > 0) {
this._visible = true;
} else {
this._visible = false;
}
gotoAndPlay(_currentframe - 1);
}
}
movieClip 84 {
}
movieClip 85 {
frame 1 {
this._visible = false;
}
frame 3 {
if (_root.purchased[9] > 0) {
this._visible = true;
} else {
this._visible = false;
}
gotoAndPlay(2);
}
}
movieClip 87 {
}
movieClip 88 {
frame 1 {
this._visible = false;
}
frame 3 {
if (_root.purchased[10] > 0) {
this._visible = true;
} else {
this._visible = false;
}
gotoAndPlay(2);
}
}
movieClip 90 {
}
movieClip 91 {
}
movieClip 92 {
frame 1 {
this._visible = false;
}
frame 3 {
if (_root.shields == true) {
this._visible = true;
} else {
this._visible = false;
}
gotoAndPlay(_currentframe - 1);
}
}
movieClip 93 {
}
movieClip 94 {
frame 1 {
stop();
}
}
movieClip 95 {
}
movieClip 97 {
}
movieClip 99 {
}
movieClip 101 {
}
movieClip 103 {
}
button 111 {
on (press) {
getURL('http://www.tweetermobile.com', 'linkwin');
}
}
button 117 {
on (press) {
newGame();
}
}
button 122 {
on (press) {
_root.gotoAndPlay('Instructions');
}
}
button 127 {
on (press) {
_root.gotoAndPlay('SendFriend');
}
}
movieClip 131 {
}
movieClip 133 {
}
movieClip 137 {
}
movieClip 139 {
frame 1 {
r = random(50) + 3;
gotoAndPlay(r);
}
frame 62 {
gotoAndPlay(2);
}
}
movieClip 140 {
}
movieClip 146 {
frame 1 {
r = random(50) + 3;
gotoAndPlay(r);
}
frame 62 {
gotoAndPlay(2);
}
}
movieClip 150 {
}
movieClip 151 {
}
movieClip 153 {
}
frame 7 {
gMoney_display = '$0';
gMoney = 0;
gLevel = 0;
gLivesLeft = 2;
gShields = 0;
purchased = Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
costs = Array(250, 500, 1000, 500, 1000, 1500, 1000, 1500, 2000, 500, 500, 1000);
stopAllSounds();
}
frame 16 {
function newGame() {
gMoney = 0;
gMoney_display = '$' + gMoney;
gLevel = 0;
gLivesLeft = 2;
gShields = 0;
purchased = Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
gotoAndPlay('LevelUp');
}
stop();
}
frame 22 {
function showStoreItem(i) {
MC_preview.gotoAndStop(i + 2);
activeitem = i;
activecost = costs[i - 1];
}
function buyItem() {
if (activeitem > 0 && activecost > 0 && activecost <= gMoney) {
gMoney -= activecost;
gMoney_display = '$' + gMoney;
purchased[activeitem - 1] = 1;
if (activeitem == 12) {
++gLivesLeft;
}
if (activeitem == 8) {
gShields = 500;
}
}
}
stopAllSounds();
activeitem = 0;
activecost = 99999;
shields = false;
gMoney_display = '$' + gMoney;
}
movieClip 158 {
}
movieClip 160 {
frame 1 {
this._visible = false;
}
}
movieClip 168 {
frame 1 {
stop();
}
}
movieClip 169 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 20 {
if (_root.purchased[5] > 0) {
MC_beam.gotoAndPlay(2);
_root.smartBomb();
}
}
frame 30 {
gotoAndStop(1);
}
frame 37 {
play();
}
frame 67 {
if (_root.purchased[5] > 0) {
MC_beam.gotoAndPlay(2);
_root.smartBomb();
}
}
frame 76 {
gotoAndStop(1);
}
}
movieClip 173 {
}
movieClip 176 {
}
button 178 {
on (press) {
_root.showStoreItem(thisnum);
}
}
movieClip 183 {
frame 1 {
this._visible = false;
}
frame 3 {
canbuy = false;
thisnum = _parent.thisnum;
thiscost = _parent.thiscost;
if (_root.purchased[thisnum - 1] > 0 || _root.gMoney < thiscost) {
canbuy = true;
}
this._visible = canbuy;
gotoAndPlay(_currentframe - 1);
}
}
movieClip 185 {
}
movieClip 187 {
}
movieClip 189 {
}
movieClip 191 {
}
movieClip 193 {
}
movieClip 195 {
}
movieClip 197 {
}
movieClip 200 {
}
movieClip 201 {
frame 1 {
thisname = '' + this;
oset = thisname.lastIndexOf('MC_item');
thisnum = parseInt(thisname.substring(oset + 7, thisname.length));
fr = thisnum + 2;
cost_display = '$' + _root.costs[thisnum - 1];
thiscost = _root.costs[thisnum - 1];
gotoAndStop(fr);
}
}
movieClip 206 {
}
movieClip 209 {
}
movieClip 211 {
frame 2 {
thisname = '' + this;
oset = thisname.lastIndexOf('MC_bought');
thisnum = parseInt(thisname.substring(oset + 9, thisname.length));
fr = thisnum + 2;
if (_root.purchased[thisnum - 1] > 0) {
gotoAndStop(fr);
} else {
gotoAndPlay(_currentframe - 1);
}
}
}
movieClip 217 {
}
movieClip 219 {
}
movieClip 221 {
}
movieClip 222 {
}
button 224 {
on (press) {
_root.buyItem();
gotoAndPlay('Buy');
}
}
movieClip 226 {
}
movieClip 228 {
frame 1 {
this._visible = false;
}
frame 3 {
if (_root.activecost > 0) {
if (_root.activecost <= _root.gMoney && _root.purchased[_root.activeitem - 1] < 1) {
this._visible = true;
} else {
if (_root.activeitem == 12 && _root.activecost <= _root.gMoney) {
this._visible = true;
} else {
this._visible = false;
}
}
}
gotoAndPlay(2);
}
}
movieClip 243 {
frame 1 {
stop();
}
}
frame 91 {
stop();
}
button 249 {
on (press) {
play();
}
}
movieClip 252 {
}
frame 100 {
gotoAndPlay('LevelUp');
}
frame 109 {
function killMonster(m) {
tmpval = gLevel * 20;
gMoney += tmpval;
gMoney_display = '$' + gMoney;
if (_root.purchased[8] > 0) {
smartBomb();
}
}
function smartBomb() {
a = 1;
while (a <= 15) {
tmpactive = (eval('MC_monsters.MC_monsters.MC_monster' + a)).isactive;
if (tmpactive == true) {
tmphps = (eval('MC_monsters.MC_monsters.MC_monster' + a)).hps;
if ((eval('MC_monsters.MC_monsters.MC_monster' + a)).hps) {
(eval('MC_monsters.MC_monsters.MC_monster' + a)).hps = tmphps - gPower;
(eval('MC_monsters.MC_monsters.MC_monster' + a)).MC_char.play();
}
if (!(eval('MC_monsters.MC_monsters.MC_monster' + a)).hps || tmphps < 1) {
(eval('MC_monsters.MC_monsters.MC_monster' + a)).gotoAndPlay('Explode');
gMoney += 15;
gMoney_display = '$' + gMoney;
}
}
++a;
}
}
shields = false;
++gLevel;
debug = true;
debug = false;
if (debug == true) {
gLevel = gLevel < 4 ? 4 : 5;
a = 0;
while (a < purchased.length) {
purchased[a] = 1;
++a;
}
gShields = 300;
}
gPower = 1;
if (purchased[0] > 0) {
++gPower;
}
if (purchased[1] > 0) {
gPower += 5;
}
if (purchased[2] > 0) {
gPower += 10;
}
waveArray = Array(15, 20, 25, 30, 35);
gWaves = waveArray[gLevel - 1];
}
movieClip 254 {
}
movieClip 257 {
}
movieClip 258 {
frame 2 {
if (random(40) != 1) {
gotoAndPlay(_currentframe - 1);
}
}
}
movieClip 263 {
frame 1 {
r = random(55) + 3;
gotoAndPlay(r);
}
frame 85 {
gotoAndPlay(2);
}
}
movieClip 264 {
}
movieClip 266 {
}
movieClip 268 {
}
movieClip 269 {
}
movieClip 270 {
}
movieClip 272 {
}
movieClip 274 {
}
movieClip 277 {
}
movieClip 279 {
}
movieClip 281 {
}
movieClip 282 {
}
movieClip 307 {
frame 1 {
r = random(50) + 3;
gotoAndPlay(r);
}
frame 60 {
gotoAndPlay(2);
}
frame 80 {
stop();
}
}
movieClip 309 {
}
movieClip 310 {
}
movieClip 311 {
frame 2 {
if (random(60) != 1) {
gotoAndPlay(_currentframe - 1);
}
}
}
movieClip 312 {
}
movieClip 313 {
}
movieClip 315 {
}
movieClip 317 {
}
movieClip 319 {
}
movieClip 321 {
}
movieClip 323 {
}
movieClip 324 {
}
movieClip 325 {
}
movieClip 326 {
}
movieClip 328 {
}
movieClip 330 {
}
movieClip 332 {
}
movieClip 334 {
}
movieClip 338 {
frame 1 {
r = random(50) + 3;
gotoAndPlay(r);
}
frame 62 {
gotoAndPlay(2);
}
}
movieClip 340 {
frame 1 {
isactive = true;
r = random(50) + 3;
gotoAndPlay(r);
}
frame 60 {
gotoAndPlay(2);
}
frame 61 {
isactive = false;
}
frame 80 {
stop();
}
}
movieClip 341 {
}
movieClip 343 {
}
movieClip 345 {
}
movieClip 346 {
frame 2 {
if (random(30) != 1) {
gotoAndPlay(_currentframe - 1);
}
}
}
movieClip 348 {
}
movieClip 349 {
frame 1 {
r = random(100) + 3;
gotoAndPlay(r);
}
frame 211 {
gotoAndPlay(2);
}
}
movieClip 351 {
}
movieClip 352 {
frame 1 {
r = random(100) + 3;
gotoAndPlay(r);
}
frame 210 {
gotoAndPlay(2);
}
}
movieClip 354 {
}
movieClip 355 {
frame 1 {
r = random(100) + 3;
gotoAndPlay(r);
}
frame 165 {
gotoAndPlay(2);
}
}
movieClip 357 {
}
movieClip 358 {
frame 1 {
r = random(70) + 3;
gotoAndPlay(r);
}
frame 80 {
gotoAndPlay(2);
}
}
movieClip 359 {
}
movieClip 361 {
}
movieClip 363 {
}
movieClip 365 {
}
movieClip 367 {
frame 1 {
isactive = true;
stop();
}
frame 5 {
isactive = false;
}
frame 24 {
stop();
}
}
movieClip 369 {
}
movieClip 370 {
}
movieClip 372 {
}
movieClip 373 {
}
movieClip 375 {
}
movieClip 376 {
}
movieClip 378 {
}
movieClip 379 {
}
movieClip 380 {
}
movieClip 382 {
}
movieClip 384 {
}
movieClip 386 {
}
movieClip 388 {
}
movieClip 390 {
}
movieClip 394 {
}
movieClip 395 {
frame 1 {
r = random(25) + 3;
gotoAndPlay(r);
}
}
movieClip 399 {
frame 1 {
r = random(50) + 3;
gotoAndPlay(r);
}
frame 62 {
gotoAndPlay(2);
}
}
movieClip 400 {
}
movieClip 401 {
frame 1 {
stop();
}
}
movieClip 402 {
frame 1 {
isactive = true;
hps = 10;
stop();
}
frame 14 {
gotoAndPlay(2);
}
frame 15 {
isactive = false;
}
frame 34 {
stop();
}
}
movieClip 404 {
}
movieClip 406 {
}
movieClip 409 {
frame 1 {
r = random(50) + 3;
gotoAndPlay(r);
}
frame 62 {
gotoAndPlay(2);
}
}
movieClip 410 {
}
movieClip 411 {
frame 1 {
stop();
}
}
movieClip 412 {
frame 3 {
if (random(110) != 1) {
gotoAndPlay(_currentframe - 1);
}
}
}
movieClip 413 {
}
movieClip 415 {
}
movieClip 417 {
}
movieClip 418 {
}
movieClip 419 {
}
movieClip 421 {
}
movieClip 422 {
}
movieClip 424 {
}
movieClip 425 {
}
movieClip 426 {
}
movieClip 427 {
}
movieClip 429 {
frame 1 {
r = random(50) + 3;
gotoAndPlay(r);
}
frame 62 {
gotoAndPlay(2);
}
}
movieClip 430 {
}
movieClip 431 {
frame 1 {
stop();
}
}
movieClip 432 {
}
movieClip 433 {
}
movieClip 435 {
}
movieClip 437 {
}
movieClip 439 {
}
movieClip 441 {
}
movieClip 444 {
}
movieClip 447 {
}
movieClip 460 {
}
movieClip 461 {
frame 1 {
stop();
}
frame 60 {
gotoAndPlay(2);
}
frame 61 {
isactive = false;
}
frame 80 {
stop();
}
}
movieClip 462 {
frame 1 {
fr = 'Intro' + parseInt(_root.gLevel);
gotoAndPlay(fr);
}
frame 33 {
stop();
}
frame 57 {
_parent.gotoAndPlay('PlayGame');
stop();
}
frame 91 {
stop();
}
frame 119 {
_parent.gotoAndPlay('PlayGame');
stop();
}
frame 155 {
stop();
}
frame 183 {
_parent.gotoAndPlay('PlayGame');
stop();
}
frame 221 {
stop();
}
frame 247 {
_parent.gotoAndPlay('PlayGame');
stop();
}
frame 287 {
stop();
}
frame 313 {
_parent.gotoAndPlay('PlayGame');
stop();
}
}
frame 110 {
stopAllSounds();
gHealth = 200;
gWave = 0;
radar = false;
shields = false;
shieldcharge = 0;
shieldcounter = 0;
gamewon = false;
hitpause = 0;
}
frame 118 {
stop();
}
movieClip 466 {
}
movieClip 467 {
}
movieClip 469 {
}
movieClip 470 {
}
movieClip 472 {
}
movieClip 473 {
}
movieClip 474 {
frame 1 {
f = parseInt(_root.gLevel) + 1;
gotoAndStop(f);
}
}
movieClip 476 {
}
movieClip 477 {
frame 1 {
r = random(200) + 3;
gotoAndPlay(r);
}
frame 327 {
gotoAndPlay(2);
}
}
movieClip 478 {
frame 1 {
r = random(200) + 3;
gotoAndPlay(r);
}
frame 472 {
gotoAndPlay(2);
}
}
movieClip 479 {
}
movieClip 480 {
}
movieClip 483 {
}
movieClip 484 {
}
movieClip 485 {
}
movieClip 487 {
}
movieClip 488 {
}
movieClip 489 {
}
movieClip 491 {
}
movieClip 492 {
}
movieClip 493 {
}
movieClip 494 {
}
movieClip 495 {
}
movieClip 496 {
}
movieClip 498 {
}
movieClip 499 {
}
movieClip 501 {
}
movieClip 502 {
}
movieClip 503 {
frame 2 {
if (random(20) != 1) {
gotoAndPlay(_currentframe - 1);
}
}
}
movieClip 505 {
}
movieClip 506 {
}
movieClip 508 {
}
movieClip 509 {
}
movieClip 514 {
frame 1 {
r = random(6) + 2;
gotoAndStop(r);
}
}
movieClip 515 {
frame 1 {
r = random(100) + 3;
gotoAndPlay(r);
}
frame 105 {
gotoAndPlay(2);
}
}
movieClip 516 {
}
movieClip 519 {
}
movieClip 520 {
}
movieClip 521 {
}
movieClip 522 {
}
movieClip 524 {
}
movieClip 525 {
}
movieClip 526 {
}
movieClip 527 {
}
movieClip 528 {
}
movieClip 529 {
}
movieClip 531 {
}
movieClip 532 {
}
movieClip 533 {
}
movieClip 534 {
}
movieClip 535 {
}
movieClip 536 {
}
movieClip 537 {
frame 1 {
f = parseInt(_root.gLevel) + 1;
gotoAndStop(f);
}
}
movieClip 539 {
}
movieClip 540 {
}
movieClip 543 {
frame 1 {
this._visible = false;
stop();
}
}
button 544 {
on (press) {
_root.killMonster(1);
gotoAndPlay('Explode');
}
}
movieClip 545 {
frame 1 {
isactive = true;
r = random(50) + 3;
gotoAndPlay(r);
}
frame 60 {
gotoAndPlay(2);
}
frame 61 {
isactive = false;
}
frame 80 {
stop();
}
}
movieClip 549 {
}
movieClip 551 {
}
movieClip 553 {
}
movieClip 555 {
}
movieClip 557 {
}
movieClip 560 {
}
movieClip 564 {
}
button 566 {
on (press) {
_root.killMonster(2);
gotoAndPlay('Explode');
}
}
movieClip 589 {
frame 1 {
isactive = true;
}
frame 12 {
gotoAndPlay(2);
}
frame 13 {
isactive = false;
}
frame 50 {
stop();
}
}
movieClip 591 {
}
movieClip 592 {
frame 1 {
r = random(20) + 2;
gotoAndPlay(r);
}
frame 30 {
gotoAndPlay(2);
}
}
movieClip 595 {
}
movieClip 596 {
}
movieClip 597 {
frame 1 {
r = random(20) + 3;
gotoAndPlay(r);
}
frame 30 {
gotoAndPlay(2);
}
}
movieClip 600 {
frame 1 {
r = random(50) + 3;
gotoAndPlay(r);
}
frame 62 {
gotoAndPlay(2);
}
}
movieClip 601 {
}
button 602 {
on (press) {
_root.killMonster(3);
gotoAndPlay('Explode');
}
}
movieClip 614 {
frame 1 {
isactive = true;
}
frame 40 {
gotoAndPlay(2);
}
frame 41 {
isactive = false;
}
frame 62 {
stop();
}
}
movieClip 616 {
frame 3 {
++_root.gWave;
if (_root.gWave < _root.gWaves) {
r = random(9) + 1;
f = 'Pattern' + r;
_root.radar = true;
gotoAndPlay(f);
} else {
_root.gotoAndPlay('EndLevel');
stop();
}
}
frame 147 {
gotoAndPlay(2);
}
frame 321 {
gotoAndPlay(2);
}
frame 407 {
gotoAndPlay(2);
}
frame 519 {
gotoAndPlay(2);
}
frame 593 {
gotoAndPlay(2);
}
frame 721 {
gotoAndPlay(2);
}
frame 891 {
gotoAndPlay(2);
}
frame 1002 {
gotoAndPlay(2);
}
frame 1096 {
gotoAndPlay(2);
}
}
movieClip 618 {
}
movieClip 620 {
}
movieClip 622 {
}
movieClip 626 {
frame 1 {
r = random(50) + 3;
gotoAndPlay(r);
}
frame 62 {
gotoAndPlay(2);
}
}
movieClip 628 {
}
button 629 {
on (press) {
_root.killMonster(1);
gotoAndPlay('Explode');
}
}
movieClip 630 {
frame 1 {
isactive = true;
r = random(20) + 3;
gotoAndPlay(r);
}
frame 22 {
gotoAndPlay(2);
}
frame 43 {
isactive = false;
}
frame 62 {
stop();
}
}
button 632 {
on (press) {
_root.killMonster(1);
gotoAndPlay('Explode');
}
}
movieClip 635 {
frame 1 {
isactive = true;
r = random(50) + 3;
gotoAndPlay(r);
}
frame 60 {
gotoAndPlay(2);
}
frame 61 {
isactive = false;
}
frame 80 {
stop();
}
}
movieClip 637 {
}
movieClip 639 {
}
movieClip 643 {
frame 1 {
r = random(50) + 3;
gotoAndPlay(r);
}
frame 62 {
gotoAndPlay(2);
}
}
button 645 {
on (press) {
_root.killMonster(1);
gotoAndPlay('Explode');
}
}
movieClip 646 {
frame 1 {
isactive = true;
r = random(7) + 3;
gotoAndPlay(r);
}
frame 11 {
gotoAndPlay(2);
}
frame 12 {
isactive = false;
}
frame 31 {
stop();
}
}
movieClip 648 {
}
movieClip 651 {
}
movieClip 652 {
}
movieClip 655 {
frame 1 {
r = random(50) + 3;
gotoAndPlay(r);
}
frame 62 {
gotoAndPlay(2);
}
}
movieClip 657 {
}
button 658 {
on (press) {
_root.killMonster(1);
gotoAndPlay('Explode');
}
}
movieClip 659 {
frame 1 {
isactive = true;
r = random(15) + 3;
gotoAndPlay(r);
}
frame 20 {
gotoAndPlay(2);
}
frame 22 {
isactive = false;
}
frame 41 {
stop();
}
}
movieClip 660 {
frame 3 {
++_root.gWave;
if (_root.gWave < _root.gWaves) {
r = random(10) + 1;
f = 'Pattern' + r;
_root.radar = true;
gotoAndPlay(f);
} else {
_root.gotoAndPlay('EndLevel');
stop();
}
}
frame 54 {
gotoAndPlay(2);
}
frame 151 {
gotoAndPlay(2);
}
frame 223 {
gotoAndPlay(2);
}
frame 311 {
gotoAndPlay(2);
}
frame 360 {
gotoAndPlay(2);
}
frame 424 {
gotoAndPlay(2);
}
frame 498 {
gotoAndPlay(2);
}
frame 534 {
gotoAndPlay(2);
}
frame 638 {
gotoAndPlay(2);
}
frame 676 {
gotoAndPlay(2);
}
}
button 661 {
on (press) {
_root.killMonster(3);
gotoAndPlay('Explode');
}
}
movieClip 662 {
frame 1 {
isactive = true;
stop();
}
frame 5 {
isactive = false;
}
frame 24 {
stop();
}
}
movieClip 664 {
}
movieClip 666 {
}
movieClip 668 {
}
movieClip 672 {
frame 1 {
r = random(50) + 3;
gotoAndPlay(r);
}
frame 62 {
gotoAndPlay(2);
}
}
movieClip 675 {
}
movieClip 676 {
frame 1 {
stop();
}
}
button 677 {
on (press) {
hps -= _root.gPower;
MC_char.play();
if (hps < 1) {
_root.killMonster(5);
gotoAndPlay('Explode');
}
}
}
movieClip 678 {
frame 1 {
isactive = true;
stop();
hps = 2;
}
frame 15 {
gotoAndPlay(2);
}
frame 16 {
isactive = false;
}
frame 35 {
stop();
}
}
movieClip 679 {
frame 1 {
stop();
}
}
button 680 {
on (press) {
hps -= _root.gPower;
MC_char.play();
if (hps < 1) {
_root.killMonster(5);
gotoAndPlay('Explode');
}
}
}
movieClip 681 {
frame 1 {
hps = 2;
isactive = true;
stop();
}
frame 18 {
gotoAndPlay(2);
}
frame 19 {
isactive = false;
}
frame 38 {
stop();
}
}
movieClip 682 {
frame 3 {
++_root.gWave;
if (_root.gWave < _root.gWaves) {
r = random(9) + 1;
f = 'Pattern' + r;
_root.radar = true;
gotoAndPlay(f);
} else {
_root.gotoAndPlay('EndLevel');
stop();
}
}
frame 69 {
gotoAndPlay(2);
}
frame 119 {
gotoAndPlay(2);
}
frame 180 {
gotoAndPlay(2);
}
frame 235 {
gotoAndPlay(2);
}
frame 333 {
gotoAndPlay(2);
}
frame 367 {
gotoAndPlay(2);
}
frame 426 {
gotoAndPlay(2);
}
frame 481 {
gotoAndPlay(2);
}
}
movieClip 684 {
}
button 685 {
on (press) {
_root.killMonster(1);
gotoAndPlay('Explode');
}
}
movieClip 686 {
frame 1 {
isactive = true;
stop();
}
frame 11 {
isactive = false;
}
frame 30 {
stop();
}
}
button 687 {
on (press) {
hps -= _root.gPower;
MC_char.play();
if (hps < 1) {
_root.killMonster(5);
gotoAndPlay('Explode');
}
}
}
movieClip 688 {
frame 1 {
hps = 2;
isactive = true;
stop();
}
frame 38 {
isactive = false;
}
frame 57 {
stop();
}
}
button 689 {
on (press) {
hps -= _root.gPower;
MC_char.play();
if (hps < 1) {
_root.killMonster(10);
gotoAndPlay('Explode');
}
}
}
movieClip 690 {
frame 1 {
isactive = true;
hps = 10;
stop();
}
frame 15 {
isactive = false;
}
frame 34 {
stop();
}
}
movieClip 691 {
}
movieClip 693 {
}
movieClip 695 {
}
movieClip 697 {
}
movieClip 701 {
frame 1 {
r = random(50) + 3;
gotoAndPlay(r);
}
frame 62 {
gotoAndPlay(2);
}
}
movieClip 702 {
}
movieClip 703 {
frame 1 {
stop();
}
}
button 704 {
on (press) {
hps -= _root.gPower;
MC_char.play();
if (hps < 1) {
_root.killMonster(10);
gotoAndPlay('Explode');
}
}
}
movieClip 705 {
frame 1 {
isactive = true;
hps = 10;
stop();
}
frame 24 {
gotoAndPlay(2);
}
frame 25 {
isactive = false;
}
frame 44 {
stop();
}
}
movieClip 706 {
frame 3 {
++_root.gWave;
if (_root.gWave < _root.gWaves) {
r = random(10) + 1;
f = 'Pattern' + r;
_root.radar = true;
gotoAndPlay(f);
} else {
_root.gotoAndPlay('EndLevel');
stop();
}
}
frame 111 {
gotoAndPlay(2);
}
frame 303 {
gotoAndPlay(2);
}
frame 342 {
gotoAndPlay(2);
}
frame 402 {
gotoAndPlay(2);
}
frame 500 {
gotoAndPlay(2);
}
frame 593 {
gotoAndPlay(2);
}
frame 708 {
gotoAndPlay(2);
}
frame 824 {
gotoAndPlay(2);
}
frame 961 {
gotoAndPlay(2);
}
frame 1079 {
gotoAndPlay(1);
}
frame 1144 {
gotoAndPlay(2);
}
}
movieClip 709 {
}
movieClip 712 {
frame 1 {
r = random(50) + 3;
gotoAndPlay(r);
}
frame 62 {
gotoAndPlay(2);
}
}
movieClip 713 {
}
button 714 {
on (press) {
_root.killMonster(1);
gotoAndPlay('Explode');
}
}
movieClip 715 {
frame 1 {
isactive = true;
stop();
}
frame 3 {
isactive = false;
}
frame 22 {
stop();
}
}
movieClip 717 {
}
movieClip 719 {
}
movieClip 721 {
}
movieClip 722 {
}
movieClip 723 {
}
movieClip 724 {
}
movieClip 725 {
frame 1 {
stop();
}
}
button 726 {
on (press) {
MC_char.play();
hps -= _root.gPower;
if (hps < 1) {
_root.killMonster(10);
gotoAndPlay('Explode');
}
}
}
movieClip 727 {
frame 1 {
hps = 50;
isactive = true;
stop();
}
frame 3 {
isactive = false;
}
frame 22 {
stop();
}
}
movieClip 729 {
}
movieClip 731 {
}
movieClip 735 {
frame 1 {
r = random(50) + 3;
gotoAndPlay(r);
}
frame 62 {
gotoAndPlay(2);
}
}
movieClip 736 {
}
button 737 {
on (press) {
_root.killMonster(1);
gotoAndPlay('Explode');
}
}
movieClip 738 {
frame 1 {
isactive = true;
stop();
}
frame 5 {
gotoAndPlay(2);
}
frame 6 {
isactive = false;
}
frame 25 {
stop();
}
}
button 739 {
on (press) {
MC_char.play();
hps -= _root.gPower;
if (hps < 1) {
_root.killMonster(1);
gotoAndPlay('Explode');
}
}
}
movieClip 740 {
frame 1 {
hps = 20;
isactive = true;
stop();
}
frame 60 {
gotoAndPlay(2);
}
frame 61 {
isactive = false;
}
frame 80 {
stop();
}
}
movieClip 741 {
frame 3 {
++_root.gWave;
if (_root.gWave < _root.gWaves) {
r = random(10) + 1;
f = 'Pattern' + r;
_root.radar = true;
gotoAndPlay(f);
} else {
_root.gotoAndPlay('EndLevel');
stop();
}
}
frame 124 {
gotoAndPlay(2);
}
frame 172 {
gotoAndPlay(2);
}
frame 315 {
gotoAndPlay(2);
}
frame 371 {
gotoAndPlay(2);
}
frame 445 {
gotoAndPlay(2);
}
frame 480 {
gotoAndPlay(2);
}
frame 553 {
gotoAndPlay(2);
}
frame 627 {
gotoAndPlay(2);
}
frame 682 {
gotoAndPlay(2);
}
frame 809 {
gotoAndPlay(2);
}
}
movieClip 742 {
frame 1 {
f = parseInt(_root.gLevel) + 1;
gotoAndStop(f);
}
}
movieClip 749 {
frame 3 {
fr = 'Music' + _root.gLevel;
gotoAndPlay(fr);
}
frame 21 {
stop();
}
frame 40 {
stop();
}
frame 54 {
stop();
}
frame 66 {
stop();
}
frame 82 {
stop();
}
}
movieClip 750 {
}
movieClip 751 {
}
movieClip 753 {
}
movieClip 754 {
}
movieClip 755 {
}
movieClip 756 {
}
movieClip 757 {
}
movieClip 758 {
frame 1 {
f = parseInt(_root.gLevel) + 1;
gotoAndStop(f);
}
}
movieClip 764 {
}
movieClip 766 {
}
movieClip 769 {
}
movieClip 771 {
}
movieClip 773 {
}
movieClip 775 {
}
movieClip 777 {
}
movieClip 779 {
}
movieClip 781 {
}
movieClip 782 {
frame 1 {
r = random(7) + 2;
fr = parseInt(_root.gLevel) * 10 + r;
gotoAndStop(fr);
}
}
movieClip 783 {
frame 2 {
if (random(16) != 1) {
gotoAndPlay(_currentframe - 1);
}
}
}
movieClip 784 {
}
movieClip 802 {
frame 1 {
notes = 6;
if (_root.purchased[0] > 0) {
notes += 2;
}
if (_root.purchased[1] > 0) {
notes += 2;
}
if (_root.purchased[2] > 0) {
notes += 4;
}
r = random(notes) + 2;
gotoAndStop(r);
}
}
movieClip 803 {
}
movieClip 804 {
frame 1 {
thisname = '' + this;
oset = thisname.lastIndexOf('MC_note');
rndspeed = random(9) + 10;
this._rotation = random(90);
msx = int(_root._xmouse);
msy = int(_root._ymouse);
thisnum = thisname.substring(oset + 7, thisname.length);
if (isNAN(thisnum) || thisnum < 100) {
this._visible = false;
stop();
}
}
frame 3 {
x = int(this._x);
y = int(this._y);
aok = true;
a = 1;
while (a < rndspeed) {
if (x < msx) {
++x;
aok = false;
}
if (x > msx) {
--x;
aok = false;
}
if (y < msy) {
++y;
aok = false;
}
if (y > msy) {
--y;
aok = false;
}
++a;
}
this._x = x;
this._y = y;
if (this.hitTest(msx, msy, false)) {
}
if (aok == false) {
gotoAndPlay(_currentframe - 1);
} else {
this.removeMovieClip();
}
}
}
movieClip 805 {
frame 1 {
note = 100;
}
frame 11 {
note += 1;
duplicateMovieClip('MC_note0', 'MC_note' + note, note);
(eval('MC_note' + note))._x = 150;
(eval('MC_note' + note))._y = 250;
fr = 2;
if (_root.purchased[0] > 0) {
fr += 1;
}
if (_root.purchased[1] > 0) {
fr += 1;
}
if (_root.purchased[2] > 0) {
fr += 1;
}
gotoAndPlay(fr);
}
}
movieClip 808 {
}
movieClip 811 {
}
movieClip 813 {
}
movieClip 814 {
}
movieClip 815 {
}
movieClip 817 {
}
movieClip 819 {
}
movieClip 821 {
}
movieClip 822 {
frame 152 {
stop();
}
}
movieClip 824 {
frame 1 {
stop();
}
frame 2 {
stopAllSounds();
_root.paused = true;
_root.MC_monsters.MC_monsters.stop();
}
frame 149 {
stopAllSounds();
}
frame 150 {
_root.paused = false;
_root.MC_monsters.MC_monsters.play();
_root.MC_music.gotoAndPlay(2);
}
}
movieClip 826 {
}
movieClip 827 {
}
movieClip 828 {
frame 3 {
this._x = _root._xmouse;
this._y = _root._ymouse;
gotoAndPlay(2);
}
}
frame 139 {
hitpause = hitpause > 0 ? hitpause - 1 : 0;
a = 1;
while (a < 12) {
tmphit = (eval('MC_monsters.MC_monsters.MC_monster' + a + '.MC_collission')).hitTest(MC_player.MC_collission);
if (tmphit == true && shields == false) {
if (purchased[10] > 0 && hitpause < 1) {
purchased[10] = 0;
hitpause = 20;
smartBomb();
} else {
if (purchased[9] > 0 && hitpause < 1) {
purchased[9] = 0;
hitpause = 20;
MC_timer.gotoAndPlay(2);
} else {
if (MC_timer._currentframe == 1) {
_root.purchased[8] = 0;
gHealth -= 1.5;
MC_player.MC_car.play();
}
}
}
}
++a;
}
purchased[7] = 1;
shields = false;
if (Key.isDown(16) && gShields > 0 && purchased[7] > 0) {
--gShields;
shields = true;
}
if (gShields < 1) {
purchased[7] = 0;
gShields = 0;
}
f = MC_player._currentframe;
if (Key.isDown(32) && MC_player._currentframe == 1) {
if (purchased[4] > 0) {
MC_player.gotoAndPlay(37);
} else {
if (purchased[3] > 0) {
MC_player.gotoAndPlay(2);
}
}
}
MC_health.gotoAndStop(201 - gHealth);
if (gHealth > 0) {
gotoAndPlay(_currentframe - 1);
} else {
gotoAnPlay('LoseLife');
}
}
frame 145 {
stopAllSounds();
}
movieClip 830 {
}
movieClip 838 {
frame 31 {
stop();
}
}
movieClip 841 {
}
movieClip 843 {
}
movieClip 845 {
}
movieClip 847 {
}
movieClip 849 {
}
frame 215 {
--gLivesLeft;
if (gLivesLeft > 0) {
gotoAndPlay('StartLevel');
} else {
gotoAndPlay('GameOver');
}
}
frame 265 {
if (_root.gLevel < 5) {
gotoAndPlay('MusicStore');
} else {
gamewon = true;
gotoAndPlay('GameOver');
}
}
movieClip 853 {
}
movieClip 854 {
}
movieClip 856 {
}
movieClip 857 {
}
button 866 {
on (press) {
_parent.addInitial('A');
}
}
button 867 {
on (press) {
_parent.addInitial('B');
}
}
button 868 {
on (press) {
_parent.addInitial('C');
}
}
button 869 {
on (press) {
_parent.addInitial('D');
}
}
button 870 {
on (press) {
_parent.addInitial('E');
}
}
button 871 {
on (press) {
_parent.addInitial('F');
}
}
button 872 {
on (press) {
_parent.addInitial('G');
}
}
button 873 {
on (press) {
_parent.addInitial('H');
}
}
button 874 {
on (press) {
_parent.addInitial('I');
}
}
button 875 {
on (press) {
_parent.addInitial('J');
}
}
button 876 {
on (press) {
_parent.addInitial('K');
}
}
button 877 {
on (press) {
_parent.addInitial('L');
}
}
button 878 {
on (press) {
_parent.addInitial('M');
}
}
button 879 {
on (press) {
_parent.addInitial('N');
}
}
button 880 {
on (press) {
_parent.addInitial('O');
}
}
button 881 {
on (press) {
_parent.addInitial('P');
}
}
button 882 {
on (press) {
_parent.addInitial('Q');
}
}
button 883 {
on (press) {
_parent.addInitial('R');
}
}
button 884 {
on (press) {
_parent.addInitial('S');
}
}
button 885 {
on (press) {
_parent.addInitial('T');
}
}
button 886 {
on (press) {
_parent.addInitial('U');
}
}
button 887 {
on (press) {
_parent.addInitial('V');
}
}
button 888 {
on (press) {
_parent.addInitial('W');
}
}
button 889 {
on (press) {
_parent.addInitial('X');
}
}
button 890 {
on (press) {
_parent.addInitial('Y');
}
}
button 891 {
on (press) {
_parent.addInitial('Z');
}
}
button 892 {
on (press) {
_parent.deleteInitial();
}
}
movieClip 894 {
}
movieClip 898 {
frame 1 {
if (_root.gamewon == true) {
gotoAndStop(3);
} else {
gotoAndStop(2);
}
}
}
movieClip 899 {
}
button 900 {
on (press) {
_root.newGame();
}
}
movieClip 902 {
}
movieClip 928 {
}
movieClip 929 {
frame 1 {
function addInitial(l) {
initials += l;
if (initials.length > 2) {
gotoAndPlay('HighScores');
}
}
function deleteInitial() {
cutlength = initials.length - 1;
if (cutlength < 1) {
initials = '';
} else {
initials = initials.substring(0, cutlength);
}
}
initials = '';
ichar = 0;
gScore = _root.gMoney;
if (_root.enterscore != true) {
gotoAndPlay('HighScores');
}
}
frame 10 {
stop();
}
frame 13 {
eof = 0;
loadVariables('highscores.asp', this, 'POST');
}
frame 30 {
if (eof == 0) {
gotoAndPlay(_currentframe - 1);
}
}
frame 63 {
stop();
}
}
frame 292 {
stop();
}
frame 297 {
slidenum = 1;
slidegoal = 1;
}
movieClip 931 {
}
movieClip 938 {
}
movieClip 942 {
}
movieClip 949 {
}
movieClip 950 {
}
movieClip 958 {
}
movieClip 959 {
}
movieClip 960 {
frame 1 {
stop();
}
}
movieClip 962 {
}
button 968 {
on (press) {
slidenum = slidenum < 8 ? slidenum + 1 : 8;
}
}
button 971 {
on (press) {
slidenum = slidenum > 1 ? slidenum - 1 : 1;
}
}
frame 307 {
framegoal = slidenum * 10;
fr = MC_cards._currentframe;
if (fr < framegoal) {
++fr;
}
if (fr > framegoal) {
--fr;
}
MC_cards.gotoAndStop(fr);
gotoAndPlay(_currentframe - 1);
}
movieClip 973 {
}
movieClip 985 {
}
button 988 {
on (press) {
if (checkSendForm() == true) {
gotoAndPlay('Sending');
}
}
}
button 994 {
on (press) {
_parent.gotoAndPlay('Title');
}
}
movieClip 997 {
}
button 999 {
on (press) {
gotoAndPlay(1);
}
}
movieClip 1001 {
}
movieClip 1003 {
frame 1 {
function capString(str) {
wordlist = str.split(' ');
res = '';
a = 0;
while (a < wordlist.length) {
spacer = a < wordlist.length - 1 ? ' ' : '';
res = res + capWord(wordlist[a]) + spacer;
++a;
}
return res;
}
function capWord(w) {
w = w.toLowerCase();
startword = (w.substr(0, 1)).toUpperCase();
endword = w.substr(1, length(w));
return startword + endword;
}
function sumbitsendToFriend(sender, senderemail, fname, email) {
thisURL = 'sendmessage.asp';
var v7 = sender;
var v1 = email;
var v3 = sender;
var v4 = senderemail;
var v5 = 1;
var v6 = 8;
trace('sendEmail: ' + v1);
trace('userName: ' + sender);
sendDoc = new XML();
sendSource = '<message><version>' + v5 + '</version><projectID>' + v6 + '</projectID><senderEmail>' + v4 + '</senderEmail><senderFullName>' + v3 + '</senderFullName><recipientEmail>' + v1 + '</recipientEmail></message>';
sendDoc.parseXML(sendSource);
confirmDoc = new XML();
confirmDoc.ignoreWhite = true;
confirmDoc.onLoad = function (success) {
trace('recieved: ' + success);
trace(confirmDoc.toString());
gotoAndPlay('sent');
};
sendDoc.sendAndLoad(thisURL, confirmDoc);
}
}
frame 2 {
function isValidEmail(e) {
l = e.indexOf('@');
d = e.indexOf('.', l);
if (l > 1 && d > 1 && e.length > 5) {
return true;
} else {
return false;
}
}
function checkSendForm() {
out = '';
if (isValidEmail(friendemail) == false) {
out = 'Please Enter Friend\'s E-Mail';
}
if (friendname.length < 1) {
out = 'Please Enter Friend\'s Name';
}
if (isValidEmail(youremail) == false) {
out = 'Please Enter Your E-Mail Address';
}
if (yourname.length < 1) {
out = 'Please Enter Your Name';
}
if (out == '') {
return true;
} else {
return false;
}
}
}
frame 18 {
stop();
}
frame 23 {
eof = 0;
yourname = capString(yourname);
friendname = capString(friendname);
loadVariables('sendmessage.asp', this, 'POST');
}
frame 77 {
if (eof == 0) {
gotoAndPlay(_currentframe - 1);
}
}
frame 88 {
stop();
}
}
frame 325 {
stop();
}