Frame 1
stop();
_quality = "LOW";
fscommand ("allowscale", "false");
Instance of Symbol 224 MovieClip in Frame 1
onClipEvent (enterFrame) {
loaded = Math.round(_root.getBytesLoaded() / 1024);
total = Math.round(_root.getBytesTotal() / 1024);
loadPercent = Math.round((loaded / total) * 100);
this.gotoAndStop(loadPercent);
if (_root._framesloaded >= _root._totalframes) {
_root.gotoAndStop(5);
}
}
Frame 5
function togglePause() {
if (game == 1) {
game = 3;
showStats();
} else if (game == 3) {
game = 1;
hideStats();
}
}
function changeDif(what) {
dif.setting = what;
if (what == "easy") {
dif.num = 1;
dif.speed = 0.85;
dif.wait = 1;
dif.wander = 0;
dif.adv = 6;
dif.life = 0.66;
dif.wave = -1;
}
if (what == "med") {
dif.num = 2;
dif.speed = 1;
dif.wait = 0;
dif.wander = 0;
dif.adv = 0;
dif.life = 1;
dif.wave = 0;
}
if (what == "hard") {
dif.num = 3;
dif.speed = 1.15;
dif.wait = -1;
dif.wander = -1;
dif.adv = -6;
dif.life = 1.25;
dif.wave = 1;
}
}
function restart() {
final = false;
endBGClip.removeMovieClip();
gameOverClip.removeMovieClip();
audio.playLevel1("introDrone", 100, 0.05, 5);
bgClip.gotoAndStop(1);
star.deleteAll();
bgDeco.clip.removeMovieClip();
hideStats();
var _local7 = chars.slice();
var _local3 = broShots.slice();
var _local6 = enemyShots.slice();
var _local4 = FX.slice();
var _local5 = powerUps.slice();
var _local2 = 0;
var _local8 = _local7.length;
while (_local2 < _local8) {
removeChar(_local7[_local2]);
_local2++;
}
_local2 = 0;
_local8 = _local3.length;
while (_local2 < _local8) {
removeBroShot(_local3[_local2]);
_local2++;
}
_local2 = 0;
_local8 = _local6.length;
while (_local2 < _local8) {
removeEnemyShot(_local6[_local2]);
_local2++;
}
_local2 = 6;
_local8 = _local4.length;
while (_local2 < _local8) {
removeFX(_local4[_local2]);
_local2++;
}
_local2 = 0;
_local8 = _local5.length;
while (_local2 < _local8) {
removePowerUp(_local5[_local2]);
_local2++;
}
c = 0;
c2 = 0;
d = 10000;
game = 0;
level = 1;
subLevelNum = 0;
dirArray = ["L", "R", "U", "D"];
rapidVar = 4;
formID = 0;
advanceDir = "L";
advanceDir1 = "L";
advanceDir2 = "R";
advanceDir3 = "L";
bro1Weapon = "laserA";
bro2Weapon = "laserA";
astC = 0;
astC2 = randRange(10, 300);
posArray = [[1025, 1100, 0, 600], [-200, -125, 0, 600], [0, 1000, 625, 700], [0, 1000, -100, -75]];
posArray2 = [[1025, 1030, 0, 600], [-50, -45, 0, 600], [0, 1000, 605, 610], [0, 1000, -50, -45]];
flashing = false;
currentBoost = "";
laserPower = 8;
shrapID = 10000;
astField = false;
c3 = 0;
advInt = 30 + dif.adv;
bro1ShipLevel = 1;
bro2ShipLevel = 1;
bro1ShipVar = 1;
bro2ShipVar = 1;
bro1Life = 100;
bro2Life = 100;
rescue = false;
boss = false;
goldHeadCreated = false;
sm = 0;
buddy = false;
pep = random(20) + 20;
pCount = 0;
starColors = [1, 5];
coins.num = (coins.numT = 0);
gems.num = (gems.numT = 0);
stats = new Object();
stats.fired = 0;
stats.hit = 0;
stats.created = 0;
stats.destroyed = 0;
stats.score = 0;
stats.coins = 0;
stats.gems = 0;
stats.totalCoins = 0;
stats.totalGems = 0;
char = "broShip1";
char2 = "broShip2";
charID = 0;
broShotID = 0;
enemyShotID = 0;
fxID = 0;
powerUpID = 0;
goldHeadNum = _root.randRange(3, 16);
showIntro();
}
function showIntro() {
intro = new classes.misc.Intro();
addFX("intro");
}
function showStats() {
gemsClip._alpha = 0;
coinsClip._alpha = 0;
attachMovie("stats", "statsClip", 990067);
statsClip._x = 15;
statsClip._y = 468;
statsClip.score = stats.score;
statsClip.accu = Math.round((stats.hit / stats.fired) * 100) + "%";
if (statsClip.accu == NaN) {
statsClip.accu = "-";
}
statsClip.enem = (stats.destroyed + " / ") + _root.stats.created;
statsClip.coins = stats.coins;
statsClip.gems = stats.gems;
statsClip.timer = Math.round(_root.c2 / 30) + " seconds";
statsClip.life.bar._width = _root[char].life;
}
function gameOver() {
var _local6 = chars.slice();
var _local3 = broShots.slice();
var _local5 = enemyShots.slice();
var _local4 = powerUps.slice();
var _local2 = 0;
var _local7 = _local6.length;
while (_local2 < _local7) {
removeChar(_local6[_local2]);
_local2++;
}
_local2 = 0;
_local7 = _local3.length;
while (_local2 < _local7) {
removeBroShot(_local3[_local2]);
_local2++;
}
_local2 = 0;
_local7 = _local5.length;
while (_local2 < _local7) {
removeEnemyShot(_local5[_local2]);
_local2++;
}
_local2 = 0;
_local7 = _local4.length;
while (_local2 < _local7) {
removePowerUp(_local4[_local2]);
_local2++;
}
game = 4;
_root.attachMovie("gameOver", "gameOverClip", 2500);
gameOverClip._x = 410;
gameOverClip._y = 150;
gemsClip._alpha = 0;
coinsClip._alpha = 0;
gameOverClip.score = stats.score;
gameOverClip.accu = Math.round((stats.hit / stats.fired) * 100) + "%";
if (gameOverClip.accu == NaN) {
gameOverClip.accu = "-";
}
gameOverClip.enem = (stats.destroyed + " / ") + _root.stats.created;
gameOverClip.coins = stats.totalCoins;
gameOverClip.gems = stats.totalGems;
gameOverClip.timer = Math.round(_root.c2 / 30) + " seconds";
if (level == 2) {
gameOverClip.pass3._visible = false;
} else if (level == 3) {
gameOverClip.pass2._visible = false;
} else {
gameOverClip.pass3._visible = false;
gameOverClip.pass2._visible = false;
}
}
function hideStats() {
statsClip.removeMovieClip();
}
function levelInit() {
c = 0;
subLevelNum++;
subLevel = (level + "_") + subLevelNum;
waveScript = _root[(("waveScript" + level) + "_") + subLevelNum].slice();
matrixSize = _root[("level" + level) + "MSArray"][subLevelNum - 1];
ep = waveScript[0][0];
matrixNum = 0;
mc = 0;
matrixComplete = false;
advanceDir = _root["advanceDir" + level];
if (rescue) {
var _local2 = ((advanceDir == "L") ? -40 : 1020);
if (broShip2.bg || (broShip1.bg)) {
var _local4 = ((char2 == "broShip1") ? "bro1" : "bro2");
bgWait = new classes.misc.BGWait(_local2, _local4, true);
addFX("bgWait");
} else {
var _local3 = ((advanceDir == "L") ? "R" : "L");
if (char2 == "broShip2") {
broShip2 = new classes.bro.BroShip2(_local2, _root.randRange(200, 400));
addChar("broShip2");
broShip2.tagTeam(_local3);
} else {
broShip1 = new classes.bro.BroShip1(_local2, _root.randRange(200, 400));
addChar("broShip1");
broShip1.tagTeam(_local3);
}
}
}
}
function initLevel2() {
starColors = [7, 11];
d = 10000;
bgClip.gotoAndPlay("shipBossEnd");
level = 2;
subLevelNum = 0;
advInt = 22 + dif.adv;
levelInit();
}
function initLevel3() {
d = 10000;
bgClip.gotoAndPlay("level3Shrap");
level = 3;
subLevelNum = 0;
advInt = 15 + dif.adv;
levelInit();
}
function broBehind() {
advanceDir = ((advanceDir == "L") ? "R" : "L");
var _local2 = 1;
var _local3 = chars.length;
while (_local2 < _local3) {
_root[chars[_local2]].broBehind();
_local2++;
}
}
function powerUp(x, y, num) {
pCount++;
if (powerUpPrefArray.length > 0) {
if (random(100) > 91) {
createPowerUp([x, y, powerUpPrefArray[random(powerUpPrefArray.length)]]);
}
}
if ((random(101) > num) || (pCount >= pep)) {
pCount = 0;
pep = randRange(15, 40);
var _local5 = _root["pUpArray" + subLevel].slice();
var _local4 = _local5[random(_local5.length)];
var _local7 = admitPowerUp(_local4);
if (_local7) {
createPowerUp([x, y, _local4]);
}
} else if ((random(1000) == 999) && (level != 1)) {
createPowerUp([x, y, "superP"]);
}
}
function powerUpB(x, y, num, weap, phase) {
pCount++;
if ((random(101) > num) || (pCount >= pep)) {
pCount = 0;
pep = randRange(15, 40);
var _local2 = _root["pUpArray" + subLevel].slice();
if (_root.deathHead.phase != 6) {
if (weap != "rapidLaser") {
_local2.push(weap);
_local2.push(weap);
} else {
_local2.push("rapidLaser");
_local2.push("bigLaser");
}
} else {
_local2.push("rapidLaser");
_local2.push("bigLaser");
}
var _local3 = _local2[random(_local2.length)];
if (_root.deathHead.phase != 6) {
if (weap != "rapidLaser") {
if (_local3 == weap) {
deathHead.changePhase(phase);
}
} else if ((_local3 == "rapidLaser") || (_local3 == "bigLaser")) {
deathHead.changePhase(phase);
}
}
var _local9 = admitPowerUp(_local3);
if (_local9) {
createPowerUp([x, y, _local3]);
if (_local3 == "rapidLaser") {
createPowerUp([x, y, "bigLaser"]);
}
if (_local3 == "bigLaser") {
createPowerUp([x, y, "rapidLaser"]);
}
}
} else if ((random(1000) >= 995) && (level != 1)) {
createPowerUp([x, y, "superP"]);
}
}
function admitPowerUp(pwhich) {
var _local1 = pwhich;
if ((char == "bro1") || (char == "broShip1")) {
var _local3 = bro1Weapon;
} else {
var _local3 = bro2Weapon;
}
var _local2 = true;
if (_local1 == _local3) {
_local2 = false;
}
if ((_local1 == "doubleLaserA") && (_local3 == "tripleLaserA")) {
_local2 = false;
}
if ((_local1 == "twistLaser") && (_local3 == "tripleTwistLaser")) {
_local2 = false;
}
if ((_local1 == "tripleLaserA") && (_local3 == "twistLaser")) {
_local2 = false;
}
if (((_local1 == "bigLaser") || (_local1 == "rapidLaser")) && (_local3 == "superLaser")) {
_local2 = false;
}
if ((_local1 == "tripleTwistLaser") && ((_local3 == "bigLaser") || (_local3 == "rapidLaser"))) {
_local2 = false;
}
if (((char == "bro1") || (char == "bro2")) && (_local1 == "lifeUp")) {
_local2 = false;
}
return(_local2);
}
function setPowerUpPref(vars) {
powerUpPrefArray = vars;
}
function createCreationFX(vars) {
fxID++;
var _local2 = vars;
_root["creationFX" + fxID] = new classes.fx.CreationFX(_local2[0], _local2[1], _local2[2], _local2[3], _local2[4], _local2[5], _local2[6], _local2[7], fxID);
addFX("creationFX" + fxID);
}
function createWaveCreator(vars) {
fxID++;
var _local2 = vars;
_root["waveCreator" + fxID] = new classes.misc.WaveCreator(_local2[0], _local2[1], _local2[2], _local2[3], _local2[4], _local2[5], _local2[6], _local2[7], fxID);
addFX("waveCreator" + fxID);
}
function createDroidA(vars) {
charID++;
var _local2 = vars;
_root["droidA" + charID] = new classes.enemy.DroidA(_local2[0], _local2[1], _local2[2], _local2[3], _local2[4], charID);
addChar("droidA" + charID);
_root["form" + _local2[4][0]].push("droidA" + charID);
}
function createDroidA2(vars) {
charID++;
var _local2 = vars;
_root["droidA2" + charID] = new classes.enemy.DroidA2(_local2[0], _local2[1], _local2[2], _local2[3], charID);
addChar("droidA2" + charID);
}
function createDroidB(vars) {
charID++;
var _local2 = vars;
_root["droidB" + charID] = new classes.enemy.DroidB(_local2[0], _local2[1], _local2[2], _local2[3], _local2[4], charID);
addChar("droidB" + charID);
_root["form" + _local2[4][0]].push("droidB" + charID);
}
function createDroidC(vars) {
charID++;
var _local2 = vars;
_root["droidC" + charID] = new classes.enemy.DroidC(_local2[0], _local2[1], _local2[2], _local2[3], _local2[4], charID);
addChar("droidC" + charID);
_root["form" + _local2[4][0]].push("droidC" + charID);
}
function createHeadA(vars) {
charID++;
var _local2 = vars;
_root["headA" + charID] = new classes.enemy.HeadA(_local2[0], _local2[1], _local2[2], charID);
addChar("headA" + charID);
}
function createHeadB(vars) {
charID++;
var _local2 = vars;
_root["headB" + charID] = new classes.enemy.HeadB(_local2[0], _local2[1], _local2[2], charID);
addChar("headB" + charID);
}
function createHeadC(vars) {
charID++;
var _local2 = vars;
_root["headC" + charID] = new classes.enemy.HeadC(_local2[0], _local2[1], _local2[2], charID);
addChar("headC" + charID);
}
function createGoldHead() {
charID++;
var _local1 = random(4);
goldHead = new classes.enemy.GoldHead(randRange(posArray2[_local1][0], posArray2[_local1][1]), randRange(posArray2[_local1][2], posArray2[_local1][3]), [dirArray[_local1], 200, "break"]);
addChar("goldHead");
}
function createHeadBoss(vars) {
charID++;
var _local2 = vars;
_root["headBoss" + charID] = new classes.enemy.HeadBoss(_local2[0], _local2[1], _local2[2], charID);
addChar("headBoss" + charID);
}
function createHeadSummon(vars) {
fxID++;
var _local2 = vars;
_root["headSummon" + fxID] = new classes.fx.HeadSummon(_local2[0], _local2[1], fxID);
addFX("headSummon" + fxID);
}
function createBugA(vars) {
charID++;
var _local2 = vars;
_root["bugA" + charID] = new classes.enemy.BugA(_local2[0], _local2[1], _local2[2], _local2[3], _local2[4], charID);
addChar("bugA" + charID);
_root["form" + _local2[4][0]].push("bugA" + charID);
}
function createBugB(vars) {
charID++;
var _local2 = vars;
_root["bugB" + charID] = new classes.enemy.BugB(_local2[0], _local2[1], _local2[2], _local2[3], _local2[4], charID);
addChar("bugB" + charID);
_root["form" + _local2[4][0]].push("bugB" + charID);
}
function createBomberA(vars) {
charID++;
var _local2 = vars;
_root["bomberA" + charID] = new classes.enemy.BomberA(_local2[0], _local2[1], _local2[2], _local2[3], _local2[4], charID);
addChar("bomberA" + charID);
_root["form" + _local2[4][0]].push("bomberA" + charID);
}
function createBomberB(vars) {
charID++;
var _local2 = vars;
_root["bomberB" + charID] = new classes.enemy.BomberB(_local2[0], _local2[1], _local2[2], _local2[3], _local2[4], charID);
addChar("bomberB" + charID);
_root["form" + _local2[4][0]].push("bomberB" + charID);
}
function createBatA(vars) {
charID++;
var _local2 = vars;
_root["batA" + charID] = new classes.enemy.BatA(_local2[0], _local2[1], _local2[2], _local2[3], _local2[4], charID);
addChar("batA" + charID);
_root["form" + _local2[4][0]].push("batA" + charID);
}
function createBatB(vars) {
charID++;
var _local2 = vars;
_root["batB" + charID] = new classes.enemy.BatB(_local2[0], _local2[1], _local2[2], _local2[3], _local2[4], charID);
addChar("batB" + charID);
_root["form" + _local2[4][0]].push("batB" + charID);
}
function createBatC(vars) {
charID++;
var _local2 = vars;
_root["batC" + charID] = new classes.enemy.BatC(_local2[0], _local2[1], _local2[2], _local2[3], _local2[4], charID);
addChar("batC" + charID);
_root["form" + _local2[4][0]].push("batC" + charID);
}
function createSpaceManA(vars) {
charID++;
var _local2 = vars;
_root["spaceManA" + charID] = new classes.enemy.SpaceManA(_local2[0], _local2[1], _local2[2], _local2[3], _local2[4], charID);
addChar("spaceManA" + charID);
_root["form" + _local2[4][0]].push("spaceManA" + charID);
}
function createSpaceManB(vars) {
charID++;
var _local2 = vars;
_root["spaceManB" + charID] = new classes.enemy.SpaceManB(_local2[0], _local2[1], _local2[2], _local2[3], _local2[4], charID);
addChar("spaceManB" + charID);
_root["form" + _local2[4][0]].push("spaceManB" + charID);
}
function createBlasterA(vars) {
charID++;
var _local2 = vars;
_root["blasterA" + charID] = new classes.enemy.BlasterA(_local2[0], _local2[1], _local2[2], _local2[3], charID);
addChar("blasterA" + charID);
}
function createShipBosses() {
_root.shipBossPurple = new classes.enemy.ShipBoss(-50, 280, "Purple", ["R", 2000, "break"]);
addChar("shipBossPurple");
_root.shipBossOrange = new classes.enemy.ShipBoss(1050, 100, "Orange", ["L", 2000, "break"]);
addChar("shipBossOrange");
_root.shipBossGreen = new classes.enemy.ShipBoss(1050, 460, "Green", ["L", 2000, "break"]);
addChar("shipBossGreen");
}
function createShipBoss() {
_root.shipBossRed = new classes.enemy.ShipBoss(1050, 280, "Red", ["L", 2000, "break"]);
addChar("shipBossRed");
}
function createExploA(vars) {
fxID++;
var _local2 = vars;
_root["exploA" + fxID] = new classes.fx.ExploA(_local2[0], _local2[1], _local2[2], _local2[3], _local2[4], fxID);
addFX("exploA" + fxID);
}
function createExploB(vars) {
enemyShotID++;
var _local2 = vars;
_root["exploB" + enemyShotID] = new classes.fx.ExploB(_local2[0], _local2[1], _local2[2], _local2[3], _local2[4], enemyShotID);
addEnemyShot("exploB" + enemyShotID);
}
function createExploD(vars) {
fxID++;
var _local2 = vars;
_root["exploD" + fxID] = new classes.fx.ExploD(_local2[0], _local2[1], _local2[2], _local2[3], fxID);
addFX("exploD" + fxID);
}
function createGunExplo(vars) {
fxID++;
var _local2 = vars;
_root["gunExplo" + fxID] = new classes.fx.GunExplo(_local2[0], _local2[1], _local2[2], fxID);
addFX("gunExplo" + fxID);
}
function createEnemySoul(vars) {
fxID++;
var _local2 = vars;
_root["enemySoul" + fxID] = new classes.fx.EnemySoul(_local2[0], _local2[1], _local2[2], fxID);
addFX("enemySoul" + fxID);
}
function createShrapnel(vars) {
fxID++;
var _local2 = vars;
_root["shrapnel" + fxID] = new classes.fx.Shrapnel(_local2[0], _local2[1], _local2[2], _local2[3], _local2[4], _local2[5], fxID);
addFX("shrapnel" + fxID);
}
function createAsteroid(vars) {
fxID++;
var _local2 = vars;
_root["asteroid" + fxID] = new classes.fx.Asteroid(_local2[0], _local2[1], _local2[2], _local2[3], _local2[4], fxID);
addFX("asteroid" + fxID);
}
function createAsteroidD(vars) {
fxID++;
var _local2 = vars;
_root["asteroidD" + fxID] = new classes.fx.AsteroidD(_local2[0], _local2[1], _local2[2], _local2[3], fxID);
addFX("asteroidD" + fxID);
}
function createPowerUp(vars) {
powerUpID++;
var _local2 = vars;
_root["powerUp" + powerUpID] = new classes.misc.PowerUp(_local2[0], _local2[1], _local2[2], powerUpID);
addPowerUp("powerUp" + powerUpID);
}
function createPowerUpBuddy(vars) {
var _local2 = vars;
_root.powerUpBuddy = new classes.misc.PowerUpBuddy(_local2[0], _local2[1], _local2[2], _local2[3], _local2[4]);
addFX("powerUpBuddy");
}
function createRandoms(vars) {
var _local2 = vars;
_root["randoms" + _local2[0]] = new classes.fx.Randoms(_local2[1], _local2[2], _local2[3]);
addFX("randoms" + _local2[0]);
}
function removeRandoms(vars) {
var _local1 = vars;
removeFX("randoms" + _local1[0]);
}
function createAsteroids() {
_root.asteroids = new classes.fx.Asteroids();
addFX("asteroids");
}
function removeAsteroids() {
if (_root.asteroids.exists) {
removeFX("asteroids");
}
}
function switchAsteroidStage(vars) {
var _local2 = vars;
_root.asteroids.switchStage(_local2[0]);
}
function createShrapStorm() {
_root.shrapStorm = new classes.fx.ShrapStorm();
addFX("shrapStorm");
}
function removeShrapStorm() {
removeFX("shrapStorm");
}
function switchShrapStage(vars) {
var _local2 = vars;
_root.shrapStorm.switchStage(_local2[0]);
}
function completeMatrix() {
matrixComplete = true;
}
function addChar(what) {
chars.push(what);
}
function addBroShot(what) {
broShots.push(what);
}
function addEnemyShot(what) {
enemyShots.push(what);
}
function addFX(what) {
FX.push(what);
}
function addPowerUp(what) {
powerUps.push(what);
}
function removeChar(what) {
removeMovieClip(what + "Clip");
var _local2 = 0;
var _local3 = chars.length;
while (_local2 < _local3) {
if (chars[_local2] == what) {
chars.splice(_local2, 1);
break;
}
_local2++;
}
delete _root[what];
}
function removeBroShot(what) {
removeMovieClip(what + "Clip");
var _local2 = 0;
var _local3 = broShots.length;
while (_local2 < _local3) {
if (broShots[_local2] == what) {
broShots.splice(_local2, 1);
break;
}
_local2++;
}
delete _root[what];
}
function removeEnemyShot(what) {
removeMovieClip(what + "Clip");
var _local2 = 0;
var _local3 = enemyShots.length;
while (_local2 < _local3) {
if (enemyShots[_local2] == what) {
enemyShots.splice(_local2, 1);
break;
}
_local2++;
}
delete _root[what];
}
function removeFX(what) {
removeMovieClip(what + "Clip");
var _local2 = 0;
var _local3 = FX.length;
while (_local2 < _local3) {
if (FX[_local2] == what) {
FX.splice(_local2, 1);
break;
}
_local2++;
}
delete _root[what];
}
function removePowerUp(what) {
removeMovieClip(what + "Clip");
var _local2 = 0;
var _local3 = powerUps.length;
while (_local2 < _local3) {
if (powerUps[_local2] == what) {
powerUps.splice(_local2, 1);
break;
}
_local2++;
}
delete _root[what];
}
function randRange(min, max) {
return(Math.round(Math.random() * (max - min)) + min);
}
function randRange2(min, max) {
return((Math.random() * (max - min)) + min);
}
function radToDeg(rad) {
return(rad * 57.2957795130823);
}
function getDist(x, y) {
var _local3 = _root[char].x + (_root[char].w / 2);
var _local2 = _root[char].y + (_root[char].h / 2);
return(Math.sqrt(((_local3 - x) * (_local3 - x)) + ((_local2 - y) * (_local2 - y))));
}
function getDist2(x, y, x2, y2) {
return(Math.sqrt(((x2 - x) * (x2 - x)) + ((y2 - y) * (y2 - y))));
}
function getAngle(x, y) {
return(_root.radToDeg(Math.atan2((_root[char].y + (_root[char].h / 2)) - y, (_root[char].x + (_root[char].w / 2)) - x)));
}
function getAngle2(x, y, x2, y2) {
return(_root.radToDeg(Math.atan2(y2 - y, x2 - x)));
}
function getAngleRad(x, y) {
return(Math.atan2((_root[char].y + (_root[char].h / 2)) - y, (_root[char].x + (_root[char].w / 2)) - x));
}
function getAngleRad2(x, y, x2, y2) {
return(Math.atan2(y2 - y, x2 - x));
}
function repel(x, y, mass, t) {
var _local2 = getDist(x, y);
if (_local2 < t) {
var _local3 = (100 * mass) / (_local2 * _local2);
xA = xA + (_local3 * (((_root[char].x + (_root[char].w / 2)) - x) / _local2));
yA = yA + (_local3 * (((_root[char].y + (_root[char].h / 2)) - y) / _local2));
}
}
function attract(x, y, mass, t) {
var _local2 = getDist(x, y);
if (_local2 < t) {
var _local3 = (100 * mass) / (_local2 * _local2);
xA = xA - (_local3 * (((_root[char].x + (_root[char].w / 2)) - x) / _local2));
yA = yA - (_local3 * (((_root[char].y + (_root[char].h / 2)) - y) / _local2));
}
}
function getDir(x, y) {
var _local2 = _root.radToDeg(Math.atan2((_root[char].y + (_root[char].h / 2)) - y, (_root[char].x + (_root[char].w / 2)) - x));
if ((_local2 >= -45) && (_local2 < 45)) {
return("R");
}
if ((_local2 >= 45) && (_local2 < 135)) {
return("D");
}
if (((_local2 >= 135) && (_local2 < 180)) || ((_local2 >= -180) && (_local2 < -135))) {
return("L");
}
return("U");
}
function shipBossBG() {
bgClip.gotoAndPlay("shipBossStart");
}
function shipBossBG2() {
bgClip.gotoAndPlay("shipBossEnd");
}
function bgLevel2() {
starColors = [13, 17];
bgClip.gotoAndPlay("level2");
}
function bgLevel3() {
starColors = [19, 23];
bgClip.gotoAndPlay("level3");
}
function headBossBG() {
bgClip.gotoAndPlay("headBossStart");
boss = true;
}
function showBGDeco(vars) {
var _local1 = vars;
bgDeco.showBG(_local1[0], _local1[1]);
}
function toggleAstField() {
if (astField == false) {
astField = true;
} else if (astField == true) {
astField = false;
}
}
function tagTeam(vars) {
var _local2 = vars;
if ((((char == "broShip2") && (broShip2.life <= (bro1Life + 40))) && (char2 == "broShip1")) || ((char == "bro2") && (char2 == "broShip1"))) {
if (((level == 2) && (subLevelNum > 2)) || ((level == 3) && (subLevelNum > 2))) {
bro1ShipLevel = level;
}
_root.broShip1 = new classes.bro.BroShip1(_local2[0], _local2[1]);
_root.addChar("broShip1");
_root.broShip1.tagTeam(_local2[2]);
} else if ((((char == "broShip1") && (broShip1.life <= (bro2Life + 40))) && (char2 == "broShip2")) || ((char == "bro1") && (char2 == "broShip2"))) {
if (((level == 2) && (subLevelNum > 2)) || ((level == 3) && (subLevelNum > 2))) {
bro2ShipLevel = level;
}
_root.broShip2 = new classes.bro.BroShip2(_local2[0], _local2[1]);
_root.addChar("broShip2");
_root.broShip2.tagTeam(_local2[2]);
}
}
function broAction(vars) {
var _local2 = vars;
if (_local2[0] == 5) {
if (char2 == "broShip1") {
_root.broShip1 = new classes.bro.BroShip1(-30, 390);
_root.addChar("broShip1");
_root.broShip1.action5();
} else if (char2 == "broShip2") {
_root.broShip2 = new classes.bro.BroShip2(-30, 390);
_root.addChar("broShip2");
_root.broShip2.action5();
}
} else if (((_local2[0] == 7) && (!_root.broShip2.bg)) && (!_root.broShip1.bg)) {
if (char2 == "broShip1") {
if ((level > 1) && (subLevelNum > 2)) {
bro1ShipLevel = level;
if (bro1ShipLevel == 5) {
bro1ShipLevel = 3;
}
}
if (_root["advanceDir" + level] == "L") {
_root.broShip1 = new classes.bro.BroShip1(1020, 200);
} else {
_root.broShip1 = new classes.bro.BroShip1(-40, 400);
}
_root.addChar("broShip1");
_root.broShip1.action7();
} else if (char2 == "broShip2") {
if ((level > 1) && (subLevelNum > 2)) {
bro2ShipLevel = level;
if (bro2ShipLevel == 5) {
bro2ShipLevel = 3;
}
}
if (_root["advanceDir" + level] == "L") {
_root.broShip2 = new classes.bro.BroShip2(1020, 200);
} else {
_root.broShip2 = new classes.bro.BroShip2(-40, 400);
}
_root.addChar("broShip2");
_root.broShip2.action7();
}
} else {
_root[char2]["action" + _local2[0]]();
}
}
function playSound(vars) {
var _local1 = vars;
audio.playLevel2(_local1[0], _local1[1]);
}
function playBGSound(vars) {
var _local1 = vars;
audio.playLevel1(_local1[0], _local1[1], _local1[2], _local1[3]);
}
function setAdvanceDir(vars) {
var _local1 = vars;
advanceDir = _local1[0];
}
function checkScore() {
if (stats.score < 1500000) {
subLevelNum = 9;
levelInit();
}
}
function showPlanet(vars) {
var _local1 = vars;
star.showPlanet(_local1[0]);
}
function hyperSpace(vars) {
var _local1 = vars;
star.hyperSpace(_local1[0]);
}
function showReanimator(vars) {
if ((char2 == "dead") && (!rean)) {
var _local1 = vars;
reanimator = new classes.misc.Reanimator(_local1[0], _local1[1]);
addFX("reanimator");
} else if ((!buddy) && ((char == "bro1") || (char == "bro2"))) {
createPowerUpBuddy([-50, 350, "R", ["ship3B", 250]]);
buddy = true;
}
}
function ship3B() {
if (!buddy) {
createPowerUpBuddy([1020, 350, "L", ["ship3B", 250]]);
}
buddy = true;
}
function deathHeadBG() {
starColors = [25, 25];
bgClip.gotoAndPlay("deathHead");
}
function createDeathHead() {
deathHead = new classes.enemy.DeathHead();
addChar("deathHead");
}
function endSeq() {
game = 2;
c = 0;
_root[char2].endSeqMove();
starColors = [1, 5];
bgClip.gotoAndPlay("end");
level = 3;
audio.playLevel1("gammaThemeInstr", 25, 0.05, 0.05);
star.endHyper();
}
function warpMusic2() {
if (warp) {
_root.playBGSound(["bugLoop", 15, 2, 5]);
warp = false;
}
}
function initWaveScripts() {
waveScript1_1 = [[9, "playBGSound", ["level1ADrone", 60, 32, 0.05]], [50, "createWaveCreator", [8, 1050, randRange(350, 450), "DroidA", 6, ["L", 1200, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [60, "playSound", ["droidAIntro", 22]], [90, "createWaveCreator", [8, 1050, 100, "DroidA", 6, ["L", 1200, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [95, "broAction", [2]], [200, "broAction", [3]], [240, "createWaveCreator", [8, 300, -50, "DroidA2", 5, ["D", 190, "L", 1000, "break"], [[false], [false], [false], [false], [false]]]], [250, "createWaveCreator", [8, 1050, randRange(450, 500), "DroidA", 6, ["L", 600, "U", 100, "R", 300, "break"], [[8, 3], [8, 4], [8, 5], [8, 6], [8, 7], [8, 8]]]], [300, "broAction", [4]], [410, "createWaveCreator", [8, 1050, 100, "DroidA", 6, ["L", 600, "D", 100, "R", 300, "break"], [[7, 3], [7, 4], [7, 5], [7, 6], [7, 7], [7, 8]]]], [450, "createWaveCreator", [6, -50, 400, "DroidA2", 5, ["R", 300, "D", 1000, "break"], [[true], [true], [true], [true], [true]]]], [505, "broAction", [5]], [590, "createWaveCreator", [8, 1050, 300, "DroidA", 6, ["L", 600, "break"], [["free"], [6, 4], [6, 5], [6, 6], [6, 7], ["free"]]]], [890, "createWaveCreator", [8, 600, 650, "DroidA", 6, ["U", 150, "L", 300, "D", 200, "break"], []]], [990, "createWaveCreator", [8, 600, -50, "DroidA", 6, ["D", 150, "L", 300, "U", 200, "break"], []]], [1300, "completeMatrix", []]];
waveScript1_2 = [[50, "createWaveCreator", [8, 400, 620, "DroidA", 2 + dif.wave, ["U", 700, "break"], [["free"], ["free"], ["free"]]]], [60, "createWaveCreator", [8, 450, 620, "DroidA", 2 + dif.wave, ["U", 700, "break"], [["free"], ["free"], ["free"]]]], [120, "createWaveCreator", [8, 400, -50, "DroidA", 2, ["D", 700, "break"], [["free"], ["free"]]]], [130, "createWaveCreator", [8, 450, -50, "DroidA", 2, ["D", 700, "break"], [["free"], ["free"]]]], [240, "createWaveCreator", [8, randRange(100, 250), 620, "DroidA", 6, ["U", 500, "break"], [[8, 2], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [380, "createWaveCreator", [8, randRange(100, 250), -50, "DroidA", 6, ["D", 500, "break"], [[8, 9], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [550, "createWaveCreator", [8, 600, 620, "DroidA", 6, ["U", 300, "L", 80, "D", 80, "L", 80, "U", 150, "R", 100, "break"], [[7, 3], [7, 4], [7, 5], [6, 4], [6, 5], [5, 5]]]], [700, "createWaveCreator", [8, 600, -50, "DroidA", 6, ["D", 300, "L", 80, "U", 80, "L", 80, "D", 150, "R", 100, "break"], [[7, 6], [7, 7], [7, 8], [6, 6], [6, 7], [5, 6]]]], [1000, "completeMatrix", []]];
waveScript1_3 = [[2, "showBGDeco", ["1A", 0.75]], [10, "createWaveCreator", [8, randRange(350, 500), -50, "DroidA", 8, ["D", 150, "R", 100, "break"], [[4, 2], [5, 3], [6, 4], [7, 5], [8, 6], [8, 7], [8, 8], ["free"]]]], [10, "createWaveCreator", [8, randRange(350, 500), 620, "DroidA", 8, ["U", 150, "R", 100, "break"], [[4, 8], [5, 7], [6, 6], [8, 4], [8, 3], [8, 2], ["free"], ["free"]]]], [200, "createWaveCreator", [8, 200, -50, "DroidA", 5 + (dif.wave * 2), ["D", 100, "R", randRange(100, 150), "D", 200, "L", 300, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [200, "createWaveCreator", [8, 260, 620, "DroidA", 5 + (dif.wave * 2), ["U", 100, "R", randRange(50, 150), "U", 200, "L", 300, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [350, "createWaveCreator", [8, randRange(350, 450), -50, "DroidA", 8, ["D", 100, "R", 300, "break"], [[7, 2], [7, 3], [7, 4], [6, 5], [5, 6], [4, 7], ["free"], ["free"]]]], [350, "createWaveCreator", [8, randRange(300, 500), 620, "DroidA", 8, ["U", 100, "R", 300, "break"], [[7, 8], [7, 7], [7, 6], [5, 4], [4, 3], ["free"], ["free"], ["free"]]]], [600, "createWaveCreator", [7, -50, 275, "DroidB", 6, ["R", randRange(350, 650), "break"], [[4, 5], [3, 4], [3, 5], [3, 6], ["free"], ["free"]]]], [610, "playSound", ["droidBIntro", 23]], [900, "completeMatrix", []]];
waveScript1_4 = [[50, "createWaveCreator", [6, 100, 620, "DroidA", 4 + dif.wave, ["U", 500, "R", 1000, "break"], [["free"], ["free"], ["free"], ["free"], ["free"]]]], [80, "createWaveCreator", [6, 150, 620, "DroidA", 4 + dif.wave, ["U", 450, "R", 1000, "break"], [["free"], ["free"], ["free"], ["free"], ["free"]]]], [110, "createWaveCreator", [6, 200, 620, "DroidA", 4 + dif.wave, ["U", 400, "R", 1000, "break"], [["free"], ["free"], ["free"], ["free"], ["free"]]]], [150, "createWaveCreator", [6, 100, -50, "DroidA", 4 + dif.wave, ["D", 500, "R", 1000, "break"], [["free"], ["free"], ["free"], ["free"], ["free"]]]], [180, "createWaveCreator", [6, 150, -50, "DroidA", 4 + dif.wave, ["D", 450, "R", 1000, "break"], [["free"], ["free"], ["free"], ["free"], ["free"]]]], [210, "createWaveCreator", [6, 200, -50, "DroidA", 4 + dif.wave, ["D", 400, "R", 1000, "break"], [["free"], ["free"], ["free"], ["free"], ["free"]]]], [350, "createWaveCreator", [6, 400, 620, "DroidB", 6, ["U", 520, "R", 500, "D", 400, "L", 400, "U", 200, "break"], [[3, 6], [4, 6], [5, 6], [6, 6], [7, 6], [8, 6]]]], [450, "createWaveCreator", [6, 400, -50, "DroidB", 6, ["D", 520, "R", 500, "U", 400, "L", 400, "D", 200, "break"], [[3, 5], [4, 5], [5, 5], [6, 5], [7, 5], [8, 5]]]], [700, "createWaveCreator", [6, 700, -50, "DroidA", 6, ["D", 50, "break"], [[4, 4], [5, 4], [6, 4], [7, 4], [5, 3], [6, 3]]]], [700, "createWaveCreator", [6, 700, 620, "DroidA", 6, ["U", 50, "break"], [[4, 7], [5, 7], [6, 7], [7, 7], [5, 8], [6, 8]]]], [900, "completeMatrix", []]];
waveScript1_5 = [[50, "createWaveCreator", [7, -50, 260, "DroidA", 2 + dif.wave, ["R", 1200, "break"], [["free"], ["free"], ["free"]]]], [50, "createWaveCreator", [7, -50, 310, "DroidA", 2 + dif.wave, ["R", 1200, "break"], [["free"], ["free"], ["free"]]]], [57, "playSound", ["droidAFly", 22]], [58, "createWaveCreator", [7, -50, 210, "DroidA", 2 + dif.wave, ["R", 1200, "break"], [["free"], ["free"], ["free"]]]], [58, "createWaveCreator", [7, -50, 360, "DroidA", 2 + dif.wave, ["R", 1200, "break"], [["free"], ["free"], ["free"]]]], [66, "createWaveCreator", [7, -50, 160, "DroidA", 2 + dif.wave, ["R", 1200, "break"], [["free"], ["free"], ["free"]]]], [66, "createWaveCreator", [7, -50, 410, "DroidA", 2 + dif.wave, ["R", 1200, "break"], [["free"], ["free"], ["free"]]]], [74, "createWaveCreator", [7, -50, 110, "DroidA", 2 + dif.wave, ["R", 1200, "break"], [["free"], ["free"], ["free"]]]], [74, "createWaveCreator", [7, -50, 460, "DroidA", 2 + dif.wave, ["R", 1200, "break"], [["free"], ["free"], ["free"]]]], [140, "createWaveCreator", [8, 50, 620, "DroidB", 6, ["U", 100, "R", 850, "U", 100, "L", 100, "U", 100, "R", 100, "U", 150, "L", 400, "D", 100, "L", 420, "D", 200, "R", 200, "break"], [["free"], ["free"], [4, 6], [5, 6], [6, 6], [7, 6]]]], [400, "createWaveCreator", [8, 50, -50, "DroidB", 6, ["D", 100, "R", 850, "D", 100, "L", 100, "D", 100, "R", 100, "D", 150, "L", 400, "U", 100, "L", 420, "U", 200, "R", 200, "break"], [["free"], ["free"], [4, 5], [5, 5], [6, 5], [7, 5]]]], [630, "createWaveCreator", [7, 950, 620, "DroidA", 10, ["U", 500, "L", 500, "D", 280, "break"], [[9, 8], [8, 7], [7, 9], [7, 8], [7, 7], [6, 7], [5, 7], [5, 8], [4, 9], ["free"]]]], [760, "createWaveCreator", [7, 950, -50, "DroidA", 10, ["D", 500, "L", 500, "U", 280, "break"], [[9, 3], [8, 4], [7, 2], [7, 3], [7, 4], [6, 4], [5, 4], [5, 3], [4, 2], ["free"]]]], [1060, "completeMatrix", []]];
waveScript1_6 = [[25, "createPowerUpBuddy", [-50, 280, "R", ["doubleLaserA", 25, "lifeUp", 10]]], [50, "createWaveCreator", [5, randRange(700, 900), -50, "DroidB", 6, ["D", 50, "break"], [[10, 1], [9, 2], [8, 3], [7, 3], [6, 4], ["free"]]]], [50, "createWaveCreator", [5, randRange(700, 900), 620, "DroidB", 6, ["U", 50, "break"], [[10, 10], [9, 9], [8, 8], [7, 8], [6, 7], ["free"]]]], [50, "createWaveCreator", [5, 600, -50, "DroidA", 10, ["D", randRange(200, 275), "R", 250, "break"], [[10, 3], [10, 4], [10, 5], [9, 5], [8, 4], [8, 5], [7, 4], [7, 5], [6, 5], ["free"]]]], [50, "createWaveCreator", [5, 600, 620, "DroidA", 10, ["U", randRange(200, 275), "R", 250, "break"], [[10, 8], [10, 7], [10, 6], [9, 6], [8, 7], [8, 6], [7, 7], [7, 6], [6, 6], ["free"]]]], [200, "createWaveCreator", [6, -50, 200, "DroidA", 2 + dif.wave, ["R", 200, "U", 1000, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [200, "createWaveCreator", [6, -50, 250, "DroidA", 3 + dif.wave, ["R", 250, "U", 1000, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [200, "createWaveCreator", [6, -50, 300, "DroidB", 4 + (dif.wave * 2), ["R", 1200, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [200, "createWaveCreator", [6, -50, 350, "DroidA", 3 + dif.wave, ["R", 250, "D", 1000, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [200, "createWaveCreator", [6, -50, 400, "DroidA", 2 + dif.wave, ["R", 200, "D", 1000, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [350, "completeMatrix", []]];
waveScript1_7 = [[2, "showBGDeco", ["1B", 0.75]], [20, "createAsteroids", []], [50, "createWaveCreator", [7, -50, 300, "DroidA", 8, ["R", 50, "break"], [[2, 4], [3, 4], [4, 4], [4, 5], [4, 6], [3, 6], [2, 6], [2, 5]]]], [50, "createWaveCreator", [30, 1050, 300, "DroidB", 2, ["L", 50, "break"], [[3, 5], [7, 5]]]], [200, "createWaveCreator", [7, 750, -50, "DroidB", 8, ["D", 50, "break"], [[6, 2], [7, 2], [8, 2], [8, 3], [8, 4], [7, 4], [6, 4], [6, 3]]]], [200, "createWaveCreator", [20, 650, -50, "DroidA", 4, ["D", 50, "break"], [[5, 3], [7, 3], [9, 3], [7, 1]]]], [350, "createWaveCreator", [7, 750, 620, "DroidB", 8, ["U", 50, "break"], [[6, 8], [6, 7], [6, 6], [7, 6], [8, 6], [8, 7], [8, 8], [7, 8]]]], [350, "createWaveCreator", [20, 650, 620, "DroidA", 4, ["U", 50, "break"], [[5, 7], [7, 7], [9, 7], [7, 9]]]], [650, "completeMatrix", []]];
waveScript1_8 = [[23, "setPowerUpPref", ["weaponBoost1", "speedBoost1"]], [25, "switchAsteroidStage", ["B"]], [30, "createRandoms", [1, 2, 50, ["DroidA", "DroidB"]]], [797, "removeRandoms", [1]], [798, "setPowerUpPref", []], [799, "switchAsteroidStage", ["A"]], [900, "completeMatrix", []]];
waveScript1_9 = [[5, "showPlanet", ["jupiter"]], [9, "playBGSound", ["level1BDrone", 40, 5, 0.05]], [30, "createRandoms", [1, 1, 125, ["DroidA", "BatA"]]], [149, "playSound", ["batAIntro", 40]], [150, "createWaveCreator", [8, 300, 620, "BatA", 6, ["U", randRange(125, 175), "R", randRange(450, 550), "U", 700, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [150, "createWaveCreator", [8, 300, -50, "BatA", 6, ["D", randRange(125, 175), "R", randRange(450, 550), "D", 700, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [240, "broAction", [7]], [280, "createWaveCreator", [7, -50, 270, "DroidB", 8, ["R", randRange(300, 500), "break"], [[9, 3], [9, 4], [9, 5], [8, 4], [8, 5], [7, 5], [6, 5], [5, 5]]]], [280, "createWaveCreator", [7, -50, 330, "DroidB", 8, ["R", randRange(300, 500), "break"], [[9, 8], [9, 7], [9, 6], [8, 7], [8, 6], [7, 6], [6, 6], [5, 6]]]], [350, "createWaveCreator", [7, 1020, randRange(100, 150), "DroidA", 5, ["L", 500, "D", 100, "R", 200, "break"], [[9, 2], [8, 3], [7, 4], [6, 4], [5, 4]]]], [350, "createWaveCreator", [7, 1020, randRange(450, 500), "DroidA", 5, ["L", 500, "U", 100, "R", 200, "break"], [[9, 9], [8, 8], [7, 7], [6, 7], [5, 7]]]], [650, "completeMatrix", []]];
waveScript1_10 = [[10, "removeAsteroids", []], [20, "removeRandoms", [1]], [30, "tagTeam", [-40, 280, "R"]], [80, "createWaveCreator", [10, -50, 260, "DroidB", 2, ["R", 500, "break"], [["free"], [9, 5]]]], [80, "createWaveCreator", [10, -50, 310, "DroidB", 2, ["R", 500, "break"], [["free"], [9, 6]]]], [82, "createWaveCreator", [10, -50, 210, "DroidB", 2, ["R", 500, "break"], [["free"], [9, 4]]]], [82, "createWaveCreator", [10, -50, 360, "DroidB", 2, ["R", 500, "break"], [["free"], [9, 7]]]], [84, "createWaveCreator", [10, -50, 160, "DroidB", 2, ["R", 500, "break"], [["free"], [9, 3]]]], [84, "createWaveCreator", [10, -50, 410, "DroidB", 2, ["R", 500, "break"], [["free"], [9, 8]]]], [90, "playSound", ["droidBFly", 20]], [160, "createWaveCreator", [8, 1020, 150, "BatA", 4, ["L", randRange(250, 350), "D", 300, "L", 75, "U", 260, "R", 150, "break"], [[8, 5], [8, 4], [8, 3], ["free"]]]], [260, "createWaveCreator", [8, 1020, 450, "BatA", 4, ["L", randRange(250, 350), "U", 300, "L", 75, "D", 260, "R", 150, "break"], [[8, 6], [8, 7], [8, 8], ["free"]]]], [380, "createWaveCreator", [8, 300, 620, "BatA", 4, ["U", 100, "R", randRange(200, 300), "U", 75, "R", 200, "break"], [[7, 6], [7, 7], ["free"], ["free"]]]], [410, "createWaveCreator", [8, 200, -50, "BatA", 4, ["D", 100, "R", randRange(200, 300), "D", 75, "R", 300, "break"], [[7, 5], [7, 4], ["free"], ["free"]]]], [480, "createWaveCreator", [8, 100, 620, "BatA", 3, ["U", 200, "R", 250, "U", 100, "R", 200, "break"], [[6, 8], [6, 7], [6, 6]]]], [480, "createWaveCreator", [8, 100, -50, "BatA", 3, ["D", 300, "R", 200, "D", 150, "R", 200, "break"], [[6, 3], [6, 4], [6, 5]]]], [780, "completeMatrix", []]];
waveScript1_11 = [[2, "showBGDeco", ["1C", 1]], [50, "createWaveCreator", [8, 750, -50, "BatA", 4, ["D", 130, "L", 300, "D", 200, "R", 200, "break"], [[5, 4], [4, 4], ["free"], ["free"]]]], [60, "createWaveCreator", [8, 700, -50, "BatA", 4, ["D", 80, "L", 300, "D", 150, "R", 200, "break"], [[5, 5], [4, 5], ["free"], ["free"]]]], [90, "createWaveCreator", [8, 750, 620, "BatA", 4, ["U", 130, "L", 300, "U", 200, "R", 200, "break"], [[5, 6], [4, 6], ["free"], ["free"]]]], [100, "createWaveCreator", [8, 700, 620, "BatA", 4, ["U", 80, "L", 300, "U", 150, "R", 200, "break"], [[5, 7], [4, 7], ["free"], ["free"]]]], [200, "createWaveCreator", [8, 300, 620, "BatA", 4, ["U", 370, "R", 100, "U", 100, "R", 100, "break"], [[8, 1], [7, 2], [6, 3], ["free"]]]], [250, "createWaveCreator", [8, 200, -50, "BatA", 4, ["D", 400, "R", 100, "D", 100, "R", 100, "break"], [[8, 10], [7, 9], [6, 8], ["free"]]]], [300, "createWaveCreator", [8, 900, 620, "DroidA", 4, ["U", randRange(150, 400), "break"], [[7, 6], [8, 6], [7, 7], [8, 7]]]], [300, "createWaveCreator", [8, 900, -50, "DroidB", 4, ["D", randRange(150, 400), "break"], [[7, 5], [8, 5], [7, 4], [8, 4]]]], [600, "completeMatrix", []]];
waveScript1_12 = [[95, "createRandoms", [1, 1, 125, ["DroidA", "DroidB"]]], [100, "createWaveCreator", [15, randRange(300, 800), -50, "BatA", 2, ["D", 100, "break"], [[5, 4], ["free"]]]], [100, "createWaveCreator", [15, randRange(300, 600), -50, "BatA", 1, ["D", 100, "break"], [[7, 10]]]], [100, "createWaveCreator", [15, randRange(500, 800), -50, "BatA", 2, ["D", 100, "break"], [[4, 2], [1, 5]]]], [100, "createWaveCreator", [15, randRange(500, 900), -50, "BatA", 3, ["D", 100, "break"], [[4, 4], [9, 5], [2, 7]]]], [110, "createWaveCreator", [15, randRange(300, 800), 620, "BatA", 2, ["U", 100, "break"], [[2, 5], ["free"]]]], [110, "createWaveCreator", [15, randRange(600, 900), 620, "BatA", 1, ["U", 100, "break"], [[6, 8]]]], [110, "createWaveCreator", [15, randRange(600, 800), 620, "BatA", 2, ["U", 100, "break"], [[5, 2], [9, 4]]]], [110, "playSound", ["batAFly", 30]], [120, "createWaveCreator", [15, 1020, randRange(100, 500), "BatA", 2, ["L", 100, "break"], [[1, 2], ["free"]]]], [120, "createWaveCreator", [15, 1020, randRange(100, 500), "BatA", 1, ["L", 100, "break"], [[10, 8]]]], [120, "createWaveCreator", [15, 1020, randRange(100, 500), "BatA", 2, ["L", 100, "break"], [[6, 2], [3, 9]]]], [120, "createWaveCreator", [15, 1020, randRange(100, 500), "BatA", 3, ["L", 100, "break"], [[2, 1], [8, 3], [2, 8]]]], [420, "completeMatrix", []]];
waveScript1_13 = [[20, "removeRandoms", [1]], [23, "setPowerUpPref", ["weaponBoost1", "speedBoost1"]], [50, "createWaveCreator", [9, -50, 60, "BatA", 6 + (dif.wave * 2), ["R", 1200, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [70, "createWaveCreator", [9, 1020, 500, "BatA", 6 + (dif.wave * 2), ["L", 1200, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [90, "createWaveCreator", [9, -50, 620, "DroidB", 6 + (dif.wave * 2), ["U", 1200, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [110, "createWaveCreator", [9, 1020, -50, "BatA", 6 + (dif.wave * 2), ["D", 1200, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [130, "createWaveCreator", [9, 1020, 60, "BatA", 6 + (dif.wave * 2), ["L", 1200, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [150, "createWaveCreator", [9, 920, 620, "BatA", 6 + (dif.wave * 2), ["U", 1200, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [180, "createWaveCreator", [9, 60, -50, "DroidB", 6 + (dif.wave * 2), ["D", 1200, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [250, "createRandoms", [1, 5, 50, ["BatA", "DroidA"]]], [450, "removeRandoms", [1]], [500, "createWaveCreator", [9, -50, 60, "BatA", 6 + (dif.wave * 2), ["R", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [520, "createWaveCreator", [9, 1020, 500, "BatA", 6 + (dif.wave * 2), ["L", 600, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [540, "createWaveCreator", [9, -50, 620, "DroidB", 6 + (dif.wave * 2), ["U", 300, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [560, "createWaveCreator", [9, 1020, -50, "BatA", 6 + (dif.wave * 2), ["D", 1000, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [590, "createWaveCreator", [9, 1020, 60, "BatA", 6 + (dif.wave * 2), ["L", 400, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [610, "createWaveCreator", [9, 920, 620, "BatA", 6 + (dif.wave * 2), ["U", 700, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [620, "createWaveCreator", [9, 60, -50, "DroidB", 6 + (dif.wave * 2), ["D", 200, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [950, "completeMatrix", []]];
waveScript1_14 = [[2, "showBGDeco", ["1D", 0.75]], [50, "createWaveCreator", [9, -50, randRange(150, 250), "DroidA", 6, ["R", 400, "D", 200, "R", 700, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]], "DroidB"]], [125, "createWaveCreator", [9, 1020, randRange(300, 400), "DroidA", 6, ["L", 300, "D", 100, "L", 300, "U", 700, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]], "DroidB"]], [309, "playSound", ["batBIntro", 30]], [310, "createWaveCreator", [8, 800, 620, "BatA", 6, ["U", 270, "D", 100, "L", 200, "U", 100, "D", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]], "BatB"]], [310, "createWaveCreator", [8, 800, -50, "BatA", 6, ["D", 270, "U", 100, "L", 200, "D", 100, "U", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]], "BatB"]], [550, "createWaveCreator", [7, 1020, 200, "BatA", 12, ["L", 300, "D", 100, "L", 100, "U", 100, "R", 100, "U", 100, "L", 500, "D", 300, "R", 250, "D", 400, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]], "BatB"]], [550, "createWaveCreator", [7, -50, 200, "BatA", 12, ["R", 300, "D", 100, "R", 100, "U", 100, "L", 100, "U", 100, "R", 500, "D", 300, "L", 250, "D", 400, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]], "BatB"]], [890, "createWaveCreator", [7, 700, 620, "BatB", 8, ["U", 500, "L", 100, "D", 100, "L", 100, "U", 400, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]], "BatA"]], [890, "createWaveCreator", [7, 300, -50, "BatB", 8, ["D", 500, "R", 100, "U", 100, "R", 100, "D", 400, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]], "BatA"]], [1000, "setPowerUpPref", []], [1020, "completeMatrix", []]];
waveScript1_15 = [[50, "createWaveCreator", [8, 1050, 500, "BatA", 6, ["L", 600, "U", 100, "R", 300, "break"], [[8, 3], [8, 4], [8, 5], [8, 6], [8, 7], [8, 8]]]], [100, "createWaveCreator", [8, 1050, 100, "BatA", 6, ["L", 600, "D", 100, "R", 300, "break"], [[7, 3], [7, 4], [7, 5], [7, 6], [7, 7], [7, 8]]]], [150, "createWaveCreator", [8, 1050, 285, "BatB", 6, ["L", 600, "break"], [["free"], [6, 4], [6, 5], [6, 6], [6, 7], ["free"]]]], [250, "createWaveCreator", [8, 600, 650, "BatA", 3, ["U", 100, "L", 300, "D", 200, "break"], []]], [250, "createWaveCreator", [8, 600, -50, "BatA", 3, ["D", 100, "L", 300, "U", 200, "break"], []]], [550, "completeMatrix", []]];
waveScript1_16 = [[25, "createPowerUpBuddy", [1020, 280, "L", ["tripleLaserA", 40, "shield", 25, "lifeUp", 10]]], [50, "createWaveCreator", [7, -50, 260, "BatA", 1, ["R", 950, "break"], [["free"]]]], [50, "createWaveCreator", [7, 1020, 260, "BatA", 1, ["L", 950, "break"], [["free"]]]], [50, "createWaveCreator", [7, -50, 310, "BatA", 1, ["R", 950, "break"], [["free"]]]], [50, "createWaveCreator", [7, 1020, 310, "BatA", 1, ["L", 950, "break"], [["free"]]]], [54, "createWaveCreator", [7, -50, 210, "BatB", 1, ["R", 950, "break"], [["free"]]]], [54, "createWaveCreator", [7, 1020, 210, "BatB", 1, ["L", 950, "break"], [["free"]]]], [54, "createWaveCreator", [7, -50, 360, "BatB", 1, ["R", 950, "break"], [["free"]]]], [54, "createWaveCreator", [7, 1020, 360, "BatB", 1, ["L", 950, "break"], [["free"]]]], [58, "createWaveCreator", [7, -50, 160, "BatA", 1, ["R", 950, "break"], [["free"]]]], [58, "createWaveCreator", [7, 1020, 160, "BatA", 1, ["L", 950, "break"], [["free"]]]], [58, "createWaveCreator", [7, -50, 410, "BatA", 1, ["R", 950, "break"], [["free"]]]], [58, "createWaveCreator", [7, 1020, 410, "BatA", 1, ["L", 950, "break"], [["free"]]]], [62, "createWaveCreator", [7, -50, 110, "BatA", 1, ["R", 950, "break"], [["free"]]]], [62, "createWaveCreator", [7, 1020, 110, "BatA", 1, ["L", 950, "break"], [["free"]]]], [62, "createWaveCreator", [7, -50, 460, "BatA", 1, ["R", 950, "break"], [["free"]]]], [62, "createWaveCreator", [7, 1020, 460, "BatA", 1, ["L", 950, "break"], [["free"]]]], [150, "createWaveCreator", [8, -50, 150, "BatB", 5, ["R", 200, "D", 350, "R", 500, "break"], [[8, 5], [9, 5], [9, 4], [9, 3], [9, 2]], "BatA"]], [150, "createWaveCreator", [8, -50, 450, "BatB", 5, ["R", 200, "U", 350, "R", 500, "break"], [[8, 6], [9, 6], [9, 7], [9, 8], [9, 9]], "BatA"]], [350, "createWaveCreator", [8, 500, 620, "BatA", 5, ["U", 150, "R", 70, "D", 70, "R", 70, "U", 200, "break"], [[9, 1], [7, 3], [6, 4], [6, 5], [5, 5]], "DroidB"]], [350, "createWaveCreator", [8, 500, -50, "BatA", 5, ["D", 150, "R", 70, "U", 70, "R", 70, "D", 200, "break"], [[9, 10], [7, 8], [6, 7], [6, 6], [5, 6]], "DroidB"]], [350, "createWaveCreator", [8, 1020, 210, "DroidB", 1, ["L", 50, "break"], [[10, 4]]]], [350, "createWaveCreator", [8, 1020, 260, "DroidB", 1, ["L", 50, "break"], [[10, 5]]]], [350, "createWaveCreator", [8, 1020, 310, "DroidB", 1, ["L", 50, "break"], [[10, 6]]]], [350, "createWaveCreator", [8, 1020, 360, "DroidB", 1, ["L", 50, "break"], [[10, 7]]]], [650, "completeMatrix", []]];
waveScript1_17 = [[9, "playBGSound", ["level1CDrone", 45, 5, 0.05]], [10, "showBGDeco", ["1E", 1]], [70, "createCreationFX", [6, 750, 285, "1A", "HeadA", 5 + (dif.wave * 2), ["R", 50, "break"]]], [70, "createCreationFX", [6, 250, 285, "1A", "HeadA", 5 + (dif.wave * 2), ["L", 50, "break"]]], [250, "createCreationFX", [6, 500, 100, "1A", "HeadA", 5 + (dif.wave * 2), ["D", 50, "break"]]], [250, "createCreationFX", [6, 500, 500, "1A", "HeadA", 5 + (dif.wave * 2), ["U", 50, "break"]]], [400, "completeMatrix", []]];
waveScript1_18 = [[50, "createWaveCreator", [8, -50, randRange(100, 200), "HeadA", 5 + (dif.wave * 2), ["R", 200, "D", 100, "break"], [["free"], ["free"], ["free"], ["free"], ["free"]]]], [50, "createWaveCreator", [8, -50, randRange(400, 500), "HeadA", 5 + (dif.wave * 2), ["R", 200, "U", 100, "break"], [["free"], ["free"], ["free"], ["free"], ["free"]]]], [250, "createWaveCreator", [8, 300, -50, "BatB", 3, ["D", 110, "R", 400, "break"], [[7, 1], [8, 1], ["free"]]]], [250, "createWaveCreator", [8, 250, -50, "BatB", 3, ["D", 160, "R", 450, "break"], [[7, 2], [8, 2], ["free"]]]], [270, "createWaveCreator", [8, 500, -50, "BatB", 3, ["D", 210, "R", 400, "break"], [[3, 3], [4, 3], ["free"]]]], [270, "createWaveCreator", [8, 450, -50, "BatB", 3, ["D", 260, "R", 450, "break"], [[3, 4], [4, 4], ["free"]]]], [290, "createWaveCreator", [8, 300, 620, "BatB", 3, ["U", 310, "R", 400, "break"], [[6, 6], [7, 6], ["free"]]]], [290, "createWaveCreator", [8, 250, 620, "BatB", 3, ["U", 260, "R", 450, "break"], [[6, 7], [7, 7], ["free"]]]], [290, "createWaveCreator", [8, 100, 620, "BatA", 8, ["U", 300, "R", 450, "break"], [[7, 4], [3, 6], [7, 9], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [590, "completeMatrix", []]];
waveScript1_19 = [[50, "createWaveCreator", [10, 1020, 260, "BatB", 2, ["L", 500, "break"], [["free"], [7, 5]]]], [50, "createWaveCreator", [10, 1020, 310, "BatB", 2, ["L", 500, "break"], [["free"], [7, 6]]]], [50, "createWaveCreator", [10, 1020, 210, "BatB", 2, ["L", 500, "break"], [["free"], [7, 4]]]], [50, "createWaveCreator", [10, 1020, 360, "BatB", 2, ["L", 500, "break"], [["free"], [7, 7]]]], [50, "createWaveCreator", [10, 1020, 160, "BatB", 2, ["L", 500, "break"], [["free"], [7, 3]]]], [50, "createWaveCreator", [10, 1020, 410, "BatB", 2, ["L", 500, "break"], [["free"], [7, 8]]]], [60, "playSound", ["batBFly", 30]], [100, "createWaveCreator", [10, 1020, 260, "BatB", 2, ["L", 50, "break"], [[8, 5], [9, 5]]]], [100, "createWaveCreator", [10, 1020, 310, "BatB", 2, ["L", 50, "break"], [[8, 6], [9, 6]]]], [102, "createWaveCreator", [10, 1020, 210, "BatB", 2, ["L", 50, "break"], [[8, 4], [9, 4]]]], [102, "createWaveCreator", [10, 1020, 360, "BatB", 2, ["L", 50, "break"], [[8, 7], [9, 7]]]], [104, "createWaveCreator", [10, 1020, 160, "BatB", 2, ["L", 50, "break"], [[8, 3], [9, 3]]]], [104, "createWaveCreator", [10, 1020, 410, "BatB", 2, ["L", 50, "break"], [[8, 8], [9, 8]]]], [106, "createWaveCreator", [10, 1020, 110, "BatA", 2, ["L", 50, "break"], [[8, 2], [9, 2]]]], [106, "createWaveCreator", [10, 1020, 460, "BatA", 2, ["L", 50, "break"], [[8, 9], [9, 9]]]], [406, "completeMatrix", []]];
waveScript1_20 = [[50, "createRandoms", [1, 4 + dif.wave, 30, ["HeadA", "BatA", "DroidA", "DroidB", "BatB"]]], [550, "removeRandoms", [1]], [560, "completeMatrix", []]];
waveScript1_21 = [[1, "playBGSound", ["shipBossM", 22, 4, 0.05]], [60, "shipBossBG", []], [120, "createShipBosses", []]];
initWaveScripts2();
}
function initWaveScripts2() {
waveScript2_1 = [[2, "playBGSound", ["asteroidStorm", 23, 0.05, 20]], [60, "hyperSpace", [2]], [61, "playSound", ["hyperSpace", 23]], [180, "createAsteroids", []], [205, "toggleAstField", []], [220, "switchAsteroidStage", ["C"]], [600, "switchAsteroidStage", ["D"]], [800, "switchAsteroidStage", ["E"]], [2300, "switchAsteroidStage", ["D"]], [2400, "bgLevel2", []], [2401, "playBGSound", ["bugLoop", 15, 15, 7]], [2500, "switchAsteroidStage", ["C"]], [2700, "switchAsteroidStage", ["A"]], [2715, "toggleAstField", []], [2800, "completeMatrix", []]];
waveScript2_2 = [[2, "showBGDeco", ["2A", 0.75]], [30, "createWaveCreator", [10, 700, -50, "BugA", 1, ["D", 310, "L", 300, "break"], [[7, 5]]]], [40, "playSound", ["bugAIntro", 15]], [45, "warpMusic2", []], [50, "createWaveCreator", [10, 800, -50, "BugA", 1, ["D", 310, "L", 300, "break"], [[6, 5]]]], [70, "createWaveCreator", [10, 1020, randRange(200, 300), "BugA", 1, ["L", randRange(300, 600), "break"], [[5, 5]]]], [90, "createWaveCreator", [10, 800, 620, "BugA", 1, ["U", 360, "L", 300, "break"], [[4, 5]]]], [110, "createWaveCreator", [10, 700, 620, "BugA", 1, ["U", 360, "L", 300, "break"], [[3, 5]]]], [150, "createWaveCreator", [10, randRange(100, 200), -50, "DroidB", 4, ["D", 200, "break"], [[2, 4], [1, 3], [1, 2], [1, 1]]]], [150, "createWaveCreator", [10, randRange(100, 200), 620, "DroidB", 4, ["U", 200, "break"], [[2, 6], [1, 7], [1, 8], [1, 9]]]], [450, "completeMatrix", []]];
waveScript2_3 = [[20, "removeAsteroids", []], [25, "createPowerUpBuddy", [-50, 280, "R", ["ship2", 100]]], [50, "createWaveCreator", [18, -50, 280, "BugA", 4, ["R", 600, "U", 100, "L", 100, "D", 100, "L", 100, "break"], [[4, 4], [4, 5], [5, 5], ["free"]]]], [59, "createWaveCreator", [18, -50, 280, "BugA", 4, ["R", 600, "D", 100, "L", 100, "U", 100, "L", 100, "break"], [[4, 7], [4, 6], [5, 6], ["free"]]]], [200, "createWaveCreator", [10, randRange(600, 900), -50, "BatA", 4, ["D", 200, "L", 600, "break"], [[2, 2], [3, 3], [3, 4], [3, 5]], "BatB"]], [200, "createWaveCreator", [10, randRange(600, 900), 620, "BatA", 4, ["U", 200, "L", 600, "break"], [[2, 9], [3, 8], [3, 7], [3, 6]], "BatB"]], [500, "completeMatrix", []]];
waveScript2_4 = [[70, "createCreationFX", [6, 750, randRange(100, 500), "1A", "HeadA", 3 + dif.wave, ["U", 50, "L", 50, "break"]]], [70, "createCreationFX", [6, 750, randRange(100, 500), "1A", "HeadA", 3 + dif.wave, ["D", 50, "L", 50, "break"]]], [70, "createCreationFX", [6, 250, randRange(100, 500), "1A", "HeadA", 3 + dif.wave, ["U", 50, "R", 50, "break"]]], [70, "createCreationFX", [6, 250, randRange(100, 500), "1A", "HeadA", 3 + dif.wave, ["D", 50, "R", 50, "break"]]], [370, "createCreationFX", [6, randRange(200, 800), 100, "1B", "HeadB", 3 + dif.wave, ["L", 50, "D", 50, "break"]]], [370, "createCreationFX", [6, randRange(200, 800), 100, "1B", "HeadB", 3 + dif.wave, ["R", 50, "D", 50, "break"]]], [370, "createCreationFX", [6, randRange(200, 800), 500, "1B", "HeadB", 3 + dif.wave, ["L", 50, "D", 50, "break"]]], [370, "createCreationFX", [6, randRange(200, 800), 500, "1B", "HeadB", 3 + dif.wave, ["R", 50, "D", 50, "break"]]], [500, "completeMatrix", []]];
waveScript2_5 = [[25, "createPowerUpBuddy", [1020, 350, "L", ["twistLaser", 60, "lifeUp", 15, "shield", 30]]], [50, "createWaveCreator", [8, -50, randRange(100, 300), "BugA", 4, ["R", randRange(200, 600), "D", 100, "break"], [[4, 3], [4, 5], ["free"], ["free"]]]], [80, "createWaveCreator", [8, -50, randRange(300, 500), "BugA", 4, ["R", randRange(200, 600), "U", 100, "break"], [[4, 8], [4, 6], ["free"], ["free"]]]], [200, "createWaveCreator", [8, 100, -50, "BatA", 8, ["D", randRange(100, 300), "break"], [[3, 2], ["free"], [3, 4], ["free"], [3, 7], ["free"], [3, 9], ["free"]]]], [250, "createWaveCreator", [8, 100, 620, "BatA", 8, ["U", randRange(100, 300), "break"], [[2, 8], ["free"], [2, 6], ["free"], [2, 5], ["free"], [2, 3], ["free"]]]], [550, "completeMatrix", []]];
waveScript2_6 = [[2, "showBGDeco", ["2B", 1]], [10, "createWaveCreator", [8, randRange(600, 800), 620, "BugA", 3 + dif.wave, ["U", 300, "L", 100, "D", 100, "L", 100, "U", 300, "R", 200, "D", 250, "L", 400, "break"], [[7, 8], [8, 8], ["free"], ["free"]]]], [110, "createWaveCreator", [8, randRange(100, 300), -50, "BugA", 4 + dif.wave, ["D", 200, "R", 400, "D", 100, "L", 100, "D", 150, "R", 200, "U", 250, "L", 400, "break"], [[7, 3], [8, 3], ["free"], ["free"], ["free"]]]], [180, "createWaveCreator", [8, -50, randRange(200, 300), "BugA", 5 + dif.wave, ["R", 700, "D", 200, "U", 200, "L", 300, "D", 200, "U", 100, "R", 250, "L", 200, "break"], [[7, 4], [8, 4], ["free"], ["free"], ["free"], ["free"]]]], [280, "createWaveCreator", [8, -50, randRange(400, 500), "BugA", 6 + dif.wave, ["R", 200, "U", 200, "R", 100, "D", 200, "R", 250, "U", 200, "R", 250, "D", 150, "L", 200, "break"], [[7, 7], [8, 7], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [360, "createWaveCreator", [8, 1020, 280, "BugA", 8, ["L", randRange(300, 400), "U", 100, "R", 200, "D", 200, "L", 200, "U", 50, "R", 100, "break"], [[8, 5], [9, 5], [8, 6], [9, 6], ["free"], ["free"], ["free"], ["free"]]]], [660, "completeMatrix", []]];
waveScript2_7 = [[23, "setPowerUpPref", ["weaponBoost1", "speedBoost1"]], [50, "createWaveCreator", [8, 1020, 300, "HeadB", 1, ["L", 100, "break"], [["free"]]]], [50, "createWaveCreator", [8, -50, 300, "HeadB", 1, ["R", 100, "break"], [["free"]]]], [52, "createWaveCreator", [8, 1020, 250, "HeadB", 1, ["L", 95, "U", 50, "break"], [["free"]]]], [52, "createWaveCreator", [8, 1020, 350, "HeadB", 1, ["L", 95, "D", 50, "break"], [["free"]]]], [52, "createWaveCreator", [8, -50, 250, "HeadB", 1, ["R", 95, "U", 50, "break"], [["free"]]]], [52, "createWaveCreator", [8, -50, 350, "HeadB", 1, ["R", 95, "D", 50, "break"], [["free"]]]], [54, "createWaveCreator", [8, 1020, 200, "HeadB", 1, ["L", 90, "U", 50, "break"], [["free"]]]], [54, "createWaveCreator", [8, 1020, 400, "HeadB", 1, ["L", 90, "D", 50, "break"], [["free"]]]], [54, "createWaveCreator", [8, -50, 200, "HeadB", 1, ["R", 90, "U", 50, "break"], [["free"]]]], [54, "createWaveCreator", [8, -50, 400, "HeadB", 1, ["R", 90, "D", 50, "break"], [["free"]]]], [56, "createWaveCreator", [8, 1020, 150, "HeadB", 1, ["L", 85, "U", 50, "break"], [["free"]]]], [56, "createWaveCreator", [8, 1020, 450, "HeadB", 1, ["L", 85, "D", 50, "break"], [["free"]]]], [56, "createWaveCreator", [8, -50, 150, "HeadB", 1, ["R", 85, "U", 50, "break"], [["free"]]]], [56, "createWaveCreator", [8, -50, 450, "HeadB", 1, ["R", 85, "D", 50, "break"], [["free"]]]], [90, "completeMatrix", []]];
waveScript2_8 = [[50, "createBlasterA", [1010, 100, "Orange", ["L", 200, "break"]]], [55, "createBlasterA", [1010, 200, "Blue", ["L", 200, "break"]]], [60, "createBlasterA", [1010, 400, "Blue", ["L", 200, "break"]]], [65, "createBlasterA", [1010, 500, "Orange", ["L", 200, "break"]]], [200, "createBlasterA", [-50, 180, "Blue", ["R", 200, "break"]]], [205, "createBlasterA", [-50, 255, "Orange", ["R", 200, "break"]]], [210, "createBlasterA", [-50, 330, "Orange", ["R", 200, "break"]]], [215, "createBlasterA", [-50, 405, "Blue", ["R", 200, "break"]]], [290, "completeMatrix", []]];
waveScript2_9 = [[10, "showBGDeco", [6]], [50, "createWaveCreator", [8, 500, -50, "BugA", 6, ["D", 150, "R", randRange(50, 300), "break"], [[3, 4], [4, 5], [5, 6], [5, 7], [5, 8], ["free"]]]], [50, "createWaveCreator", [8, 500, 620, "BugA", 6, ["U", 150, "R", randRange(50, 300), "break"], [[3, 6], [5, 4], [5, 3], [5, 2], ["free"], ["free"]]]], [100, "createWaveCreator", [8, 200, -50, "DroidB", 5 + dif.wave, ["D", 100, "R", 100, "D", 200, "L", 300, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [100, "createWaveCreator", [8, 260, 620, "DroidB", 5 + dif.wave, ["U", 100, "R", 100, "U", 200, "L", 300, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [200, "createWaveCreator", [8, 400, -50, "DroidC", 8, ["D", 100, "R", 300, "break"], [[4, 2], [4, 3], [4, 4], [3, 5], [2, 6], [3, 7], ["free"], ["free"]]]], [210, "playSound", ["droidCIntro", 35]], [250, "createWaveCreator", [8, 400, 620, "DroidC", 8, ["U", 100, "R", 300, "break"], [[4, 8], [4, 7], [4, 6], [2, 4], [1, 3], ["free"], ["free"], ["free"]]]], [550, "completeMatrix", []]];
waveScript2_10 = [[20, "broAction", [7]], [50, "createBlasterA", [-50, 230, "Blue", ["R", 200, "break"]]], [55, "createBlasterA", [-50, 330, "Blue", ["R", 200, "break"]]], [80, "createWaveCreator", [7, 900, -50, "BatA", 10, ["D", 150, "L", 150, "R", 150, "D", 125, "L", 75, "U", 200, "L", 300, "break"], [["free"], [2, 4], [2, 5], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [80, "createWaveCreator", [7, 900, 620, "BatA", 10, ["U", 150, "L", 150, "R", 150, "U", 125, "L", 75, "D", 200, "L", 300, "break"], [["free"], [2, 6], [2, 7], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [130, "createWaveCreator", [8, 100, 620, "DroidC", 6, ["U", 100, "R", 200, "U", 75, "L", 200, "break"], [[3, 3], [3, 4], [3, 5], [3, 6], [3, 7], [3, 8]]]], [130, "createWaveCreator", [8, 100, -50, "DroidC", 6, ["D", 100, "R", 300, "D", 75, "L", 200, "break"], [[4, 3], [4, 4], [4, 5], [4, 6], [4, 7], [4, 8]]]], [150, "setPowerUpPref", []], [430, "completeMatrix", []]];
waveScript2_11 = [[2, "showBGDeco", ["2C", 0.75]], [40, "tagTeam", [1020, 400, "L"]], [50, "createAsteroids", []], [60, "switchAsteroidStage", ["F"]], [61, "playBGSound", ["bugAnthem", 15, 4, 0.05]], [100, "createWaveCreator", [8, 800, 620, "BugB", 3, ["U", 200, "L", 200, "U", 200, "L", 200, "break"], [["free"], ["free"], ["free"]]]], [110, "playSound", ["bugBIntro", 15]], [150, "createWaveCreator", [8, randRange(100, 300), 620, "BugB", 3, ["U", 200, "R", 200, "U", 200, "R", 200, "break"], [["free"], ["free"], ["free"]]]], [270, "createWaveCreator", [7, randRange(300, 600), -50, "BugB", 6 + dif.wave, ["D", 150, "R", 50, "D", 50, "L", 100, "D", 50, "R", 50, "D", 50, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [440, "createWaveCreator", [8, 1020, 280, "BugA", 3 + dif.wave, ["L", randRange(100, 300), "break"], [["free"], ["free"], ["free"], ["free"]]]], [440, "createWaveCreator", [8, -50, 280, "BugA", 3 + dif.wave, ["R", randRange(100, 300), "break"], [["free"], ["free"], ["free"], ["free"]]]], [570, "createWaveCreator", [8, 480, -50, "BugA", 3 + dif.wave, ["D", randRange(100, 300), "break"], [["free"], ["free"], ["free"], ["free"]]]], [570, "createWaveCreator", [8, 480, 620, "BugA", 3 + dif.wave, ["U", randRange(100, 300), "break"], [["free"], ["free"], ["free"], ["free"]]]], [650, "completeMatrix", []]];
waveScript2_12 = [[50, "createWaveCreator", [8, 1020, 260, "DroidC", 3, ["L", 500, "break"], [[2, 5], [3, 5], ["free"]]]], [50, "createWaveCreator", [8, 1020, 310, "DroidC", 3, ["L", 500, "break"], [[2, 6], [3, 6], ["free"]]]], [52, "createWaveCreator", [8, 1020, 210, "DroidC", 3, ["L", 500, "break"], [[2, 4], [3, 4], ["free"]]]], [52, "createWaveCreator", [8, 1020, 360, "DroidC", 3, ["L", 500, "break"], [[2, 7], [3, 7], ["free"]]]], [54, "createWaveCreator", [8, 1020, 160, "DroidC", 3, ["L", 500, "break"], [[3, 2], [3, 3], ["free"]]]], [54, "createWaveCreator", [8, 1020, 410, "DroidC", 3, ["L", 500, "break"], [[3, 8], [3, 9], ["free"]]]], [60, "playSound", ["droidCFly", 35]], [200, "createWaveCreator", [8, 600, -50, "BugB", 3, ["D", randRange(100, 200), "break"], [[4, 3], [5, 4], [4, 5]]]], [200, "createWaveCreator", [8, 600, 620, "BugB", 3, ["U", randRange(100, 200), "break"], [[4, 8], [5, 7], [4, 6]]]], [500, "completeMatrix", []]];
waveScript2_13 = [[50, "createWaveCreator", [8, -50, 260, "BugB", 3, ["R", 500, "break"], [[2, 5], [3, 5], ["free"]]]], [50, "createWaveCreator", [8, -50, 310, "BugB", 3, ["R", 500, "break"], [[2, 6], [3, 6], ["free"]]]], [52, "createWaveCreator", [8, -50, 210, "BugB", 3, ["R", 500, "break"], [[2, 4], [3, 4], ["free"]]]], [52, "createWaveCreator", [8, -50, 360, "BugB", 3, ["R", 500, "break"], [[2, 7], [3, 7], ["free"]]]], [54, "createWaveCreator", [8, -50, 160, "BugB", 3, ["R", 500, "break"], [[3, 2], [3, 3], ["free"]]]], [54, "createWaveCreator", [8, -50, 410, "BugB", 3, ["R", 500, "break"], [[3, 8], [3, 9], ["free"]]]], [59, "playSound", ["bugFly", 21]], [60, "removeAsteroids", []], [100, "createWaveCreator", [8, 600, -50, "DroidC", 3, ["D", randRange(75, 150), "break"], [[4, 3], [5, 4], [4, 5]]]], [100, "createWaveCreator", [8, 600, 620, "DroidC", 3, ["U", randRange(75, 150), "break"], [[4, 8], [5, 7], [4, 6]]]], [500, "completeMatrix", []]];
waveScript2_14 = [[25, "createPowerUpBuddy", [1020, 280, "L", ["tripleTwistLaser", 90, "shield", 35]]], [50, "createWaveCreator", [8, 250, -50, "BugB", 6, ["D", randRange(75, 200), "break"], [[2, 2], [2, 3], [3, 4], [4, 5], [5, 5], ["free"]]]], [50, "createWaveCreator", [8, 250, 620, "BugB", 6, ["U", randRange(75, 200), "break"], [[2, 9], [2, 8], [3, 7], [4, 6], [5, 6], ["free"]]]], [55, "createWaveCreator", [8, -50, 200, "BugA", 6, ["R", 100, "break"], [[5, 2], [5, 3], [4, 4], [3, 5], [2, 5], ["free"]]]], [55, "createWaveCreator", [8, -50, 380, "BugA", 6, ["R", 100, "break"], [[5, 9], [5, 8], [4, 7], [3, 6], [2, 6], ["free"]]]], [60, "createWaveCreator", [8, 500, -50, "DroidC", 6, ["D", 450, "break"], [[5, 7], [6, 6], [6, 7], [6, 8], [7, 7]]]], [60, "createWaveCreator", [8, 500, 620, "DroidC", 6, ["U", 450, "break"], [[5, 4], [6, 5], [6, 4], [6, 3], [7, 4]]]], [400, "completeMatrix", []]];
waveScript2_15 = [[5, "showPlanet", ["saturn"]], [50, "createWaveCreator", [6, -50, 300, "HeadB", 8 + (dif.wave * 2), ["R", 100, "U", 100, "R", 50, "D", 200, "R", 50, "U", 100, "R", 50, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]], "HeadC"]], [50, "createWaveCreator", [6, 1020, 300, "HeadB", 8 + (dif.wave * 2), ["L", 100, "D", 100, "L", 50, "U", 200, "L", 50, "D", 100, "L", 50, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]], "HeadC"]], [100, "completeMatrix", []]];
waveScript2_16 = [[50, "createWaveCreator", [6, 500, -50, "HeadC", 5, ["D", 100, "L", 200, "D", 50, "break"], [["free"], ["free"], ["free"], ["free"], ["free"]]]], [50, "createWaveCreator", [6, 500, 620, "HeadC", 5, ["U", 100, "R", 200, "U", 50, "break"], [["free"], ["free"], ["free"], ["free"], ["free"]]]], [100, "completeMatrix", []]];
waveScript2_17 = [[50, "createWaveCreator", [6, 500, -50, "DroidB", 6, ["D", 150, "L", 75, "U", 75, "L", 75, "D", 200, "R", 200, "U", 75, "R", 75, "D", 200, "R", 100, "break"], [[6, 5], [5, 5], [4, 4], [3, 3], [2, 2], [1, 1]], "DroidC"]], [50, "createWaveCreator", [6, 500, 620, "DroidB", 6, ["U", 150, "L", 75, "D", 75, "L", 75, "U", 200, "R", 200, "D", 75, "R", 75, "U", 200, "R", 100, "break"], [[6, 6], [5, 6], [4, 7], [3, 8], [2, 9], [1, 10]], "DroidC"]], [300, "createWaveCreator", [6, 1020, 230, "DroidC", 6, ["L", 300, "U", 50, "L", 75, "D", 75, "L", 150, "R", 100, "D", 75, "L", 75, "D", 125, "R", 100, "break"], [[2, 4], [1, 5], [2, 5], [3, 5], ["free"], ["free"]]]], [300, "createWaveCreator", [6, 1020, 310, "DroidC", 6, ["L", 300, "D", 50, "L", 75, "U", 75, "L", 150, "R", 100, "U", 75, "L", 75, "U", 125, "R", 100, "break"], [[2, 7], [1, 6], [2, 6], [3, 6], ["free"], ["free"]]]], [700, "completeMatrix", []]];
waveScript2_18 = [[40, "createCreationFX", [6, _root.randRange(100, 900), _root.randRange(100, 500), "1A", "HeadA", 1, ["D", 10, "break"]]], [45, "createCreationFX", [6, _root.randRange(100, 900), _root.randRange(100, 500), "1A", "HeadA", 1, ["L", 10, "break"]]], [50, "createCreationFX", [6, _root.randRange(100, 900), _root.randRange(100, 500), "1A", "HeadA", 1, ["U", 10, "break"]]], [55, "createCreationFX", [6, _root.randRange(100, 900), _root.randRange(100, 500), "1A", "HeadA", 1, ["R", 10, "break"]]], [60, "createCreationFX", [6, _root.randRange(100, 900), _root.randRange(100, 500), "1A", "HeadA", 1, ["L", 10, "break"]]], [65, "createCreationFX", [6, _root.randRange(100, 900), _root.randRange(100, 500), "1A", "HeadA", 1, ["U", 10, "break"]]], [70, "createCreationFX", [6, _root.randRange(100, 900), _root.randRange(100, 500), "1A", "HeadA", 1, ["L", 10, "break"]]], [75, "createCreationFX", [6, _root.randRange(100, 900), _root.randRange(100, 500), "1A", "HeadA", 1, ["R", 10, "break"]]], [210, "createCreationFX", [6, _root.randRange(100, 900), _root.randRange(100, 500), "1B", "HeadB", 1, ["D", 10, "break"]]], [215, "createCreationFX", [6, _root.randRange(100, 900), _root.randRange(100, 500), "1B", "HeadB", 1, ["L", 10, "break"]]], [220, "createCreationFX", [6, _root.randRange(100, 900), _root.randRange(100, 500), "1B", "HeadB", 1, ["R", 10, "break"]]], [225, "createCreationFX", [6, _root.randRange(100, 900), _root.randRange(100, 500), "1B", "HeadB", 1, ["D", 10, "break"]]], [230, "createCreationFX", [6, _root.randRange(100, 900), _root.randRange(100, 500), "1B", "HeadB", 1, ["L", 10, "break"]]], [235, "createCreationFX", [6, _root.randRange(100, 900), _root.randRange(100, 500), "1B", "HeadB", 1, ["U", 10, "break"]]], [240, "createCreationFX", [6, _root.randRange(100, 900), _root.randRange(100, 500), "1B", "HeadB", 1, ["L", 10, "break"]]], [245, "createCreationFX", [6, _root.randRange(100, 900), _root.randRange(100, 500), "1B", "HeadB", 1, ["D", 10, "break"]]], [400, "createCreationFX", [6, _root.randRange(100, 900), _root.randRange(100, 500), "1C", "HeadC", 1, ["U", 10, "break"]]], [405, "createCreationFX", [6, _root.randRange(100, 900), _root.randRange(100, 500), "1C", "HeadC", 1, ["D", 10, "break"]]], [410, "createCreationFX", [6, _root.randRange(100, 900), _root.randRange(100, 500), "1C", "HeadC", 1, ["L", 10, "break"]]], [415, "createCreationFX", [6, _root.randRange(100, 900), _root.randRange(100, 500), "1C", "HeadC", 1, ["R", 10, "break"]]], [500, "completeMatrix", []]];
waveScript2_19 = [[40, "createBlasterA", [-50, 290, "Green", ["R", 150, "break"]]], [40, "createCreationFX", [6, 150, 100, "1A", "HeadA", 1, ["D", 50, "break"]]], [40, "createCreationFX", [6, 150, 500, "1A", "HeadA", 1, ["U", 50, "break"]]], [43, "createCreationFX", [6, 250, 100, "1A", "HeadA", 1, ["D", 50, "break"]]], [43, "createCreationFX", [6, 250, 500, "1A", "HeadA", 1, ["U", 50, "break"]]], [47, "createCreationFX", [6, 350, 100, "1A", "HeadA", 1, ["D", 50, "break"]]], [47, "createCreationFX", [6, 350, 500, "1A", "HeadA", 1, ["U", 50, "break"]]], [50, "createCreationFX", [6, 450, 100, "1A", "HeadA", 1, ["D", 50, "break"]]], [50, "createCreationFX", [6, 450, 500, "1A", "HeadA", 1, ["U", 50, "break"]]], [53, "createCreationFX", [6, 550, 100, "1A", "HeadA", 1, ["D", 50, "break"]]], [53, "createCreationFX", [6, 550, 500, "1A", "HeadA", 1, ["U", 50, "break"]]], [56, "createCreationFX", [6, 650, 100, "1A", "HeadA", 1, ["D", 50, "break"]]], [56, "createCreationFX", [6, 650, 500, "1A", "HeadA", 1, ["U", 50, "break"]]], [59, "createCreationFX", [6, 750, 100, "1A", "HeadA", 1, ["D", 50, "break"]]], [59, "createCreationFX", [6, 750, 500, "1A", "HeadA", 1, ["U", 50, "break"]]], [62, "createCreationFX", [6, 850, 100, "1A", "HeadA", 1, ["D", 50, "break"]]], [62, "createCreationFX", [6, 850, 500, "1A", "HeadA", 1, ["U", 50, "break"]]], [90, "completeMatrix", []]];
waveScript2_20 = [[40, "createBlasterA", [1020, 50, "Blue", ["L", 150, "break"]]], [40, "createBlasterA", [1020, 530, "Blue", ["L", 150, "break"]]], [40, "createCreationFX", [6, 850, 150, "1B", "HeadB", 1, ["D", 50, "break"]]], [40, "createCreationFX", [6, 850, 450, "1B", "HeadB", 1, ["U", 50, "break"]]], [43, "createCreationFX", [6, 750, 150, "1B", "HeadB", 1, ["D", 50, "break"]]], [43, "createCreationFX", [6, 750, 450, "1B", "HeadB", 1, ["U", 50, "break"]]], [47, "createCreationFX", [6, 650, 150, "1B", "HeadB", 1, ["D", 50, "break"]]], [47, "createCreationFX", [6, 650, 450, "1B", "HeadB", 1, ["U", 50, "break"]]], [50, "createCreationFX", [6, 550, 150, "1B", "HeadB", 1, ["D", 50, "break"]]], [50, "createCreationFX", [6, 550, 450, "1B", "HeadB", 1, ["U", 50, "break"]]], [53, "createCreationFX", [6, 450, 150, "1B", "HeadB", 1, ["D", 50, "break"]]], [53, "createCreationFX", [6, 450, 450, "1B", "HeadB", 1, ["U", 50, "break"]]], [56, "createCreationFX", [6, 350, 150, "1B", "HeadB", 1, ["D", 50, "break"]]], [56, "createCreationFX", [6, 350, 450, "1B", "HeadB", 1, ["U", 50, "break"]]], [59, "createCreationFX", [6, 250, 150, "1B", "HeadB", 1, ["D", 50, "break"]]], [59, "createCreationFX", [6, 250, 450, "1B", "HeadB", 1, ["U", 50, "break"]]], [62, "createCreationFX", [6, 150, 150, "1B", "HeadB", 1, ["D", 50, "break"]]], [62, "createCreationFX", [6, 150, 450, "1B", "HeadB", 1, ["U", 50, "break"]]], [90, "completeMatrix", []]];
waveScript2_21 = [[40, "createBlasterA", [-50, 90, "Orange", ["R", 150, "break"]]], [40, "createBlasterA", [1020, 290, "Orange", ["L", 150, "break"]]], [40, "createBlasterA", [-50, 490, "Orange", ["R", 150, "break"]]], [40, "createCreationFX", [6, 850, 150, "1C", "HeadC", 1, ["D", 50, "break"]]], [40, "createCreationFX", [6, 850, 450, "1C", "HeadC", 1, ["U", 50, "break"]]], [43, "createCreationFX", [6, 150, 150, "1C", "HeadC", 1, ["D", 50, "break"]]], [43, "createCreationFX", [6, 150, 450, "1C", "HeadC", 1, ["U", 50, "break"]]], [47, "createCreationFX", [6, 750, 150, "1C", "HeadC", 1, ["D", 50, "break"]]], [47, "createCreationFX", [6, 750, 450, "1C", "HeadC", 1, ["U", 50, "break"]]], [50, "createCreationFX", [6, 250, 150, "1C", "HeadC", 1, ["D", 50, "break"]]], [50, "createCreationFX", [6, 250, 450, "1C", "HeadC", 1, ["U", 50, "break"]]], [53, "createCreationFX", [6, 650, 150, "1C", "HeadC", 1, ["D", 50, "break"]]], [53, "createCreationFX", [6, 650, 450, "1C", "HeadC", 1, ["U", 50, "break"]]], [56, "createCreationFX", [6, 350, 150, "1C", "HeadC", 1, ["D", 50, "break"]]], [56, "createCreationFX", [6, 350, 450, "1C", "HeadC", 1, ["U", 50, "break"]]], [59, "createCreationFX", [6, 550, 150, "1C", "HeadC", 1, ["D", 50, "break"]]], [59, "createCreationFX", [6, 550, 450, "1C", "HeadC", 1, ["U", 50, "break"]]], [62, "createCreationFX", [6, 450, 150, "1C", "HeadC", 1, ["D", 50, "break"]]], [62, "createCreationFX", [6, 450, 450, "1C", "HeadC", 1, ["U", 50, "break"]]], [90, "completeMatrix", []]];
waveScript2_22 = [[30, "headBossBG", []], [95, "playBGSound", ["crazyHeadLoop", 20, 1, 0.05]], [100, "createCreationFX", [5, 500, 290, "1D", "HeadBoss", 1, ["R", 50, "U", 50, "L", 100, "D", 100, "R", 150, "U", 150, "L", 200, "D", 200, "R", 100, "break"]]]];
initWaveScripts3();
}
function initWaveScripts3() {
waveScript3_1 = [[2, "playBGSound", ["shrapStorm", 30, 0.05, 20]], [60, "hyperSpace", [3]], [61, "playSound", ["hyperSpace", 25]], [250, "createAsteroids", []], [270, "switchAsteroidStage", ["C"]], [578, "switchAsteroidStage", ["H"]], [579, "createShrapStorm", []], [580, "createRandoms", [1, 2, 150, ["HeadA", "HeadB", "HeadC", "BatA", "DroidA", "DroidB", "DroidC", "BatB", "BugB", "BugA"]]], [700, "switchAsteroidStage", ["I"]], [800, "switchShrapStage", ["B"]], [1150, "createBlasterA", [-50, 280, "Blue", ["R", 150, "break"]]], [1650, "createBlasterA", [1020, 200, "Orange", ["L", 150, "break"]]], [1652, "createBlasterA", [1020, 400, "Orange", ["L", 150, "break"]]], [2000, "createWaveCreator", [8, -50, 280, "BugA", 6, ["R", 100, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [2400, "createWaveCreator", [8, 1020, 280, "BugB", 6, ["L", 100, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [2800, "switchShrapStage", ["A"]], [2900, "bgLevel3", []], [2910, "switchAsteroidStage", ["H"]], [3100, "switchAsteroidStage", ["A"]], [3190, "removeRandoms", [1]], [3195, "removeShrapStorm", []], [3200, "removeAsteroids", []], [3201, "completeMatrix", []]];
waveScript3_2 = [[2, "showBGDeco", ["3A", 0.8]], [9, "playBGSound", ["level3FanFare", 16, 6, 0.05]], [10, "createPowerUpBuddy", [1020, 280, "L", ["ship3", 200]]], [25, "createWaveCreator", [20, 1020, _root.randRange(100, 500), "DroidA", 10, ["L", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [50, "createWaveCreator", [12, 1020, _root.randRange(100, 500), "DroidA", 10, ["L", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [75, "createWaveCreator", [16, 1020, _root.randRange(100, 500), "DroidA", 10, ["L", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [100, "createWaveCreator", [10, 1020, _root.randRange(100, 500), "DroidA", 10, ["L", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [250, "createWaveCreator", [20, -50, _root.randRange(100, 500), "DroidA", 10, ["R", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [270, "createWaveCreator", [12, -50, _root.randRange(100, 500), "DroidA", 10, ["R", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [290, "createWaveCreator", [16, -50, _root.randRange(100, 500), "DroidA", 10, ["R", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [310, "createWaveCreator", [10, -50, _root.randRange(100, 500), "DroidA", 10, ["R", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [350, "completeMatrix", []]];
waveScript3_3 = [[50, "createWaveCreator", [7, 450, -50, "DroidB", 2 + dif.wave, ["D", 1200, "break"], [["free"], ["free"], ["free"]]]], [50, "createWaveCreator", [7, 550, -50, "DroidB", 2 + dif.wave, ["D", 1200, "break"], [["free"], ["free"], ["free"]]]], [50, "createWaveCreator", [7, 450, 620, "DroidB", 2 + dif.wave, ["U", 1200, "break"], [["free"], ["free"], ["free"]]]], [50, "createWaveCreator", [7, 550, 620, "DroidB", 2 + dif.wave, ["U", 1200, "break"], [["free"], ["free"], ["free"]]]], [58, "createWaveCreator", [7, 350, -50, "DroidB", 2 + dif.wave, ["D", 1200, "break"], [["free"], ["free"], ["free"]]]], [58, "createWaveCreator", [7, 650, -50, "DroidB", 2 + dif.wave, ["D", 1200, "break"], [["free"], ["free"], ["free"]]]], [58, "createWaveCreator", [7, 350, 620, "DroidB", 2 + dif.wave, ["U", 1200, "break"], [["free"], ["free"], ["free"]]]], [58, "createWaveCreator", [7, 650, 620, "DroidB", 2 + dif.wave, ["U", 1200, "break"], [["free"], ["free"], ["free"]]]], [66, "createWaveCreator", [7, 250, -50, "DroidB", 2 + dif.wave, ["D", 1200, "break"], [["free"], ["free"], ["free"]]]], [66, "createWaveCreator", [7, 750, -50, "DroidB", 2 + dif.wave, ["D", 1200, "break"], [["free"], ["free"], ["free"]]]], [66, "createWaveCreator", [7, 250, 620, "DroidB", 2 + dif.wave, ["U", 1200, "break"], [["free"], ["free"], ["free"]]]], [66, "createWaveCreator", [7, 750, 620, "DroidB", 2 + dif.wave, ["U", 1200, "break"], [["free"], ["free"], ["free"]]]], [74, "createWaveCreator", [7, 150, -50, "DroidB", 2 + dif.wave, ["D", 1200, "break"], [["free"], ["free"], ["free"]]]], [74, "createWaveCreator", [7, 850, -50, "DroidB", 2 + dif.wave, ["D", 1200, "break"], [["free"], ["free"], ["free"]]]], [74, "createWaveCreator", [7, 150, 620, "DroidB", 2 + dif.wave, ["U", 1200, "break"], [["free"], ["free"], ["free"]]]], [74, "createWaveCreator", [7, 850, 620, "DroidB", 2 + dif.wave, ["U", 1200, "break"], [["free"], ["free"], ["free"]]]], [180, "createRandoms", [1, 8, 25, ["DroidB"]]], [500, "removeRandoms", [1]], [510, "completeMatrix", []]];
waveScript3_4 = [[50, "createWaveCreator", [10, -50, 280, "DroidC", 6, ["R", 300, "U", 100, "L", 100, "U", 100, "R", 100, "U", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [55, "createWaveCreator", [10, -50, 280, "DroidC", 6, ["R", 300, "D", 100, "L", 100, "D", 100, "R", 100, "D", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [150, "createWaveCreator", [10, 1020, 280, "DroidC", 6, ["L", 300, "U", 100, "L", 100, "D", 100, "R", 100, "U", 200, "R", 200, "U", 300, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [155, "createWaveCreator", [10, 1020, 280, "DroidC", 6, ["L", 300, "D", 100, "L", 100, "U", 100, "R", 100, "D", 200, "R", 200, "D", 300, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [300, "createWaveCreator", [10, 480, -50, "DroidC", 6, ["D", 300, "L", 300, "U", 100, "R", 100, "U", 100, "L", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [305, "createWaveCreator", [10, 480, -50, "DroidC", 6, ["D", 300, "R", 300, "U", 100, "L", 100, "U", 100, "R", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [450, "createWaveCreator", [10, 480, 620, "DroidC", 6, ["U", 300, "R", 75, "D", 150, "R", 75, "U", 100, "R", 75, "D", 75, "R", 75, "U", 50, "R", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [455, "createWaveCreator", [10, 480, 620, "DroidC", 6, ["U", 300, "L", 75, "D", 150, "L", 75, "U", 100, "L", 75, "D", 75, "L", 75, "U", 50, "L", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [470, "completeMatrix", []]];
waveScript3_5 = [[5, "checkScore", []], [40, "createCreationFX", [6, 700, 160, "2A", "HeadA", 1, ["D", 50, "break"]]], [40, "createCreationFX", [6, 620, 80, "2A", "HeadA", 1, ["D", 50, "break"]]], [41, "createCreationFX", [6, 540, 80, "2A", "HeadA", 1, ["D", 50, "break"]]], [41, "createCreationFX", [6, 460, 80, "2A", "HeadA", 1, ["D", 50, "break"]]], [42, "createCreationFX", [6, 380, 80, "2A", "HeadA", 1, ["D", 50, "break"]]], [42, "createCreationFX", [6, 300, 140, "2A", "HeadA", 1, ["R", 50, "break"]]], [43, "createCreationFX", [6, 300, 220, "2A", "HeadA", 1, ["R", 50, "break"]]], [43, "createCreationFX", [6, 300, 300, "2A", "HeadA", 1, ["R", 50, "break"]]], [44, "createCreationFX", [6, 300, 380, "2A", "HeadA", 1, ["R", 50, "break"]]], [44, "createCreationFX", [6, 300, 460, "2A", "HeadA", 1, ["R", 50, "break"]]], [45, "createCreationFX", [6, 380, 540, "2A", "HeadA", 1, ["U", 50, "break"]]], [45, "createCreationFX", [6, 460, 540, "2A", "HeadA", 1, ["U", 50, "break"]]], [46, "createCreationFX", [6, 540, 540, "2A", "HeadA", 1, ["U", 50, "break"]]], [46, "createCreationFX", [6, 620, 540, "2A", "HeadA", 1, ["U", 50, "break"]]], [47, "createCreationFX", [6, 700, 460, "2A", "HeadA", 1, ["L", 50, "break"]]], [47, "createCreationFX", [6, 700, 380, "2A", "HeadA", 1, ["L", 50, "break"]]], [48, "createCreationFX", [6, 620, 380, "2A", "HeadA", 1, ["L", 50, "break"]]], [48, "createCreationFX", [6, 540, 380, "2A", "HeadA", 1, ["L", 50, "break"]]], [70, "completeMatrix", []]];
waveScript3_6 = [[10, "createCreationFX", [6, 460, 60, "2A", "HeadA", 1, ["D", 50, "break"]]], [10, "createCreationFX", [6, 540, 60, "2A", "HeadA", 1, ["D", 50, "break"]]], [11, "createCreationFX", [6, 380, 140, "2A", "HeadA", 1, ["D", 50, "break"]]], [11, "createCreationFX", [6, 620, 140, "2A", "HeadA", 1, ["D", 50, "break"]]], [12, "createCreationFX", [6, 300, 220, "2A", "HeadA", 1, ["R", 50, "break"]]], [12, "createCreationFX", [6, 700, 220, "2A", "HeadA", 1, ["L", 50, "break"]]], [13, "createCreationFX", [6, 300, 300, "2A", "HeadA", 1, ["R", 50, "break"]]], [13, "createCreationFX", [6, 700, 300, "2A", "HeadA", 1, ["L", 50, "break"]]], [14, "createCreationFX", [6, 300, 380, "2B", "HeadB", 1, ["R", 50, "break"]]], [14, "createCreationFX", [6, 700, 380, "2B", "HeadB", 1, ["L", 50, "break"]]], [15, "createCreationFX", [6, 380, 380, "2B", "HeadB", 1, ["U", 50, "break"]]], [15, "createCreationFX", [6, 300, 460, "2B", "HeadB", 1, ["R", 50, "break"]]], [15, "createCreationFX", [6, 620, 380, "2B", "HeadB", 1, ["U", 50, "break"]]], [15, "createCreationFX", [6, 700, 460, "2B", "HeadB", 1, ["L", 50, "break"]]], [16, "createCreationFX", [6, 460, 380, "2B", "HeadB", 1, ["U", 50, "break"]]], [16, "createCreationFX", [6, 540, 380, "2B", "HeadB", 1, ["U", 50, "break"]]], [16, "createCreationFX", [6, 300, 540, "2B", "HeadB", 1, ["R", 50, "break"]]], [16, "createCreationFX", [6, 700, 540, "2B", "HeadB", 1, ["L", 50, "break"]]], [50, "completeMatrix", []]];
waveScript3_7 = [[10, "createCreationFX", [6, 500, 300, "2B", "HeadB", 1, ["D", 50, "break"]]], [11, "createCreationFX", [6, 420, 220, "2B", "HeadB", 1, ["D", 50, "break"]]], [11, "createCreationFX", [6, 580, 220, "2B", "HeadB", 1, ["D", 50, "break"]]], [12, "createCreationFX", [6, 340, 140, "2B", "HeadB", 1, ["D", 50, "break"]]], [12, "createCreationFX", [6, 660, 140, "2B", "HeadB", 1, ["D", 50, "break"]]], [13, "createCreationFX", [6, 260, 60, "2B", "HeadB", 1, ["R", 50, "break"]]], [13, "createCreationFX", [6, 740, 60, "2B", "HeadB", 1, ["L", 50, "break"]]], [14, "createCreationFX", [6, 260, 140, "2B", "HeadB", 1, ["R", 50, "break"]]], [14, "createCreationFX", [6, 740, 140, "2B", "HeadB", 1, ["L", 50, "break"]]], [15, "createCreationFX", [6, 260, 220, "2B", "HeadB", 1, ["R", 50, "break"]]], [15, "createCreationFX", [6, 740, 220, "2B", "HeadB", 1, ["L", 50, "break"]]], [16, "createCreationFX", [6, 260, 300, "2B", "HeadB", 1, ["R", 50, "break"]]], [16, "createCreationFX", [6, 740, 300, "2B", "HeadB", 1, ["L", 50, "break"]]], [17, "createCreationFX", [6, 260, 380, "2B", "HeadB", 1, ["R", 50, "break"]]], [17, "createCreationFX", [6, 740, 380, "2B", "HeadB", 1, ["L", 50, "break"]]], [18, "createCreationFX", [6, 260, 460, "2B", "HeadB", 1, ["R", 50, "break"]]], [18, "createCreationFX", [6, 740, 460, "2B", "HeadB", 1, ["L", 50, "break"]]], [19, "createCreationFX", [6, 260, 540, "2B", "HeadB", 1, ["R", 50, "break"]]], [19, "createCreationFX", [6, 740, 540, "2B", "HeadB", 1, ["L", 50, "break"]]], [50, "completeMatrix", []]];
waveScript3_8 = [[10, "createCreationFX", [6, 500, 300, "2C", "HeadC", 1, ["D", 50, "break"]]], [11, "createCreationFX", [6, 420, 220, "2C", "HeadC", 1, ["D", 50, "break"]]], [11, "createCreationFX", [6, 580, 220, "2C", "HeadC", 1, ["D", 50, "break"]]], [12, "createCreationFX", [6, 340, 140, "2C", "HeadC", 1, ["D", 50, "break"]]], [12, "createCreationFX", [6, 660, 140, "2C", "HeadC", 1, ["D", 50, "break"]]], [13, "createCreationFX", [6, 260, 60, "2C", "HeadC", 1, ["R", 50, "break"]]], [13, "createCreationFX", [6, 740, 60, "2C", "HeadC", 1, ["L", 50, "break"]]], [14, "createCreationFX", [6, 260, 140, "2C", "HeadC", 1, ["R", 50, "break"]]], [14, "createCreationFX", [6, 740, 140, "2C", "HeadC", 1, ["L", 50, "break"]]], [15, "createCreationFX", [6, 260, 220, "2C", "HeadC", 1, ["R", 50, "break"]]], [15, "createCreationFX", [6, 740, 220, "2C", "HeadC", 1, ["L", 50, "break"]]], [16, "createCreationFX", [6, 260, 300, "2C", "HeadC", 1, ["R", 50, "break"]]], [16, "createCreationFX", [6, 740, 300, "2C", "HeadC", 1, ["L", 50, "break"]]], [17, "createCreationFX", [6, 260, 380, "2C", "HeadC", 1, ["R", 50, "break"]]], [17, "createCreationFX", [6, 740, 380, "2C", "HeadC", 1, ["L", 50, "break"]]], [18, "createCreationFX", [6, 260, 460, "2C", "HeadC", 1, ["R", 50, "break"]]], [18, "createCreationFX", [6, 740, 460, "2C", "HeadC", 1, ["L", 50, "break"]]], [19, "createCreationFX", [6, 260, 540, "2C", "HeadC", 1, ["R", 50, "break"]]], [19, "createCreationFX", [6, 740, 540, "2C", "HeadC", 1, ["L", 50, "break"]]], [50, "completeMatrix", []]];
waveScript3_9 = [[10, "createCreationFX", [6, 460, 60, "2A", "HeadA", 1, ["D", 50, "break"]]], [10, "createCreationFX", [6, 540, 60, "2A", "HeadA", 1, ["D", 50, "break"]]], [11, "createCreationFX", [6, 380, 140, "2A", "HeadA", 1, ["D", 50, "break"]]], [11, "createCreationFX", [6, 620, 140, "2A", "HeadA", 1, ["D", 50, "break"]]], [12, "createCreationFX", [6, 300, 220, "2B", "HeadB", 1, ["R", 50, "break"]]], [12, "createCreationFX", [6, 700, 220, "2B", "HeadB", 1, ["L", 50, "break"]]], [13, "createCreationFX", [6, 300, 300, "2B", "HeadB", 1, ["R", 50, "break"]]], [13, "createCreationFX", [6, 700, 300, "2B", "HeadB", 1, ["L", 50, "break"]]], [14, "createCreationFX", [6, 300, 380, "2B", "HeadB", 1, ["R", 50, "break"]]], [14, "createCreationFX", [6, 700, 380, "2B", "HeadB", 1, ["L", 50, "break"]]], [15, "createCreationFX", [6, 380, 380, "2C", "HeadC", 1, ["U", 50, "break"]]], [15, "createCreationFX", [6, 300, 460, "2C", "HeadC", 1, ["R", 50, "break"]]], [15, "createCreationFX", [6, 620, 380, "2C", "HeadC", 1, ["U", 50, "break"]]], [15, "createCreationFX", [6, 700, 460, "2C", "HeadC", 1, ["L", 50, "break"]]], [16, "createCreationFX", [6, 460, 380, "2C", "HeadC", 1, ["U", 50, "break"]]], [16, "createCreationFX", [6, 540, 380, "2C", "HeadC", 1, ["U", 50, "break"]]], [16, "createCreationFX", [6, 300, 540, "2C", "HeadC", 1, ["R", 50, "break"]]], [16, "createCreationFX", [6, 700, 540, "2C", "HeadC", 1, ["L", 50, "break"]]], [50, "completeMatrix", []]];
waveScript3_10 = [[9, "trace2", []], [10, "createPowerUpBuddy", [-50, 200, "R", ["bigLaser", 150, "rapidLaser", 150]]], [12, "showBGDeco", ["3B", 1]], [50, "createWaveCreator", [10, 150, 620, "BatA", 10, ["U", 100, "R", 200, "U", 400, "L", 200, "U", 300, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [55, "createWaveCreator", [10, 150, 620, "BatA", 10, ["U", 250, "R", 200, "U", 100, "L", 200, "U", 300, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [200, "createWaveCreator", [10, 460, 620, "BatA", 10, ["U", 200, "L", 100, "U", 100, "R", 100, "U", 700, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [200, "createWaveCreator", [10, 520, -50, "BatA", 10, ["D", 200, "R", 100, "D", 100, "L", 100, "D", 700, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [350, "createWaveCreator", [10, 850, -50, "BatA", 10, ["D", 100, "L", 200, "D", 400, "R", 200, "D", 300, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [355, "createWaveCreator", [10, 850, -50, "BatA", 10, ["D", 250, "L", 200, "D", 100, "R", 200, "D", 300, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [375, "completeMatrix", []]];
waveScript3_11 = [[50, "createWaveCreator", [7, -50, 270, "BatB", 6, ["R", 250, "U", 150, "R", 180, "U", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [50, "createWaveCreator", [7, -50, 320, "BatB", 6, ["R", 250, "D", 150, "R", 180, "D", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [50, "createWaveCreator", [7, 1020, 270, "BatB", 6, ["L", 250, "U", 150, "L", 180, "U", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [50, "createWaveCreator", [7, 1020, 320, "BatB", 6, ["L", 250, "D", 150, "L", 180, "D", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [110, "createWaveCreator", [7, -50, 220, "BatB", 6, ["R", 150, "U", 50, "L", 50, "U", 50, "R", 200, "D", 100, "L", 700, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [110, "createWaveCreator", [7, -50, 370, "BatB", 6, ["R", 150, "D", 50, "L", 50, "D", 50, "R", 200, "U", 100, "L", 700, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [150, "createWaveCreator", [7, 1020, 220, "BatB", 6, ["L", 150, "U", 50, "R", 50, "U", 50, "L", 200, "D", 100, "R", 700, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [150, "createWaveCreator", [7, 1020, 370, "BatB", 6, ["L", 150, "D", 50, "R", 50, "D", 50, "L", 200, "U", 100, "R", 700, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [160, "completeMatrix", []]];
waveScript3_12 = [[50, "createWaveCreator", [16, 480, 620, "BatC", 5, ["U", 300, "L", 160, "U", 60, "L", 125, "U", 50, "R", 125, "U", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"]]]], [54, "createWaveCreator", [16, 480, 620, "BatC", 5, ["U", 300, "R", 160, "U", 60, "R", 125, "U", 50, "L", 125, "U", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"]]]], [56, "playSound", ["batCIntro", 35]], [58, "createWaveCreator", [16, 480, 620, "BatC", 5, ["U", 300, "L", 160, "D", 60, "L", 125, "D", 50, "R", 125, "D", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"]]]], [62, "createWaveCreator", [16, 480, 620, "BatC", 5, ["U", 300, "R", 160, "D", 60, "R", 125, "D", 50, "L", 125, "D", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"]]]], [210, "createWaveCreator", [16, -50, 450, "BatC", 5, ["R", 150, "U", 250, "R", 78, "D", 150, "R", 63, "U", 50, "R", 60, "U", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"]]]], [214, "createWaveCreator", [16, -50, 150, "BatC", 5, ["R", 150, "D", 250, "R", 78, "U", 150, "R", 63, "D", 50, "R", 60, "U", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"]]]], [218, "createWaveCreator", [16, 1020, 450, "BatC", 5, ["L", 120, "U", 250, "L", 78, "D", 150, "L", 63, "U", 50, "L", 60, "U", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"]]]], [222, "createWaveCreator", [16, 1020, 150, "BatC", 5, ["L", 120, "D", 250, "L", 78, "U", 150, "L", 63, "D", 50, "L", 60, "U", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"]]]], [240, "completeMatrix", []]];
waveScript3_13 = [[50, "createWaveCreator", [8, -50, 100, "SpaceManA", 1, ["R", 1300, "break"], [["free"]]]], [50, "createWaveCreator", [8, -50, 470, "SpaceManA", 1, ["R", 1300, "break"], [["free"]]]], [58, "playSound", ["spaceManFly", 30]], [60, "createWaveCreator", [8, -50, 280, "BugA", 15, ["R", randRange(75, 150), "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [180, "createWaveCreator", [8, 1020, randRange(150, 250), "BugA", 8, ["L", 100, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [180, "createWaveCreator", [8, 1020, randRange(325, 425), "BugA", 8, ["L", 100, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [350, "completeMatrix", []]];
waveScript3_14 = [[20, "broAction", [7]], [60, "createWaveCreator", [8, randRange(300, 600), -50, "BugB", 15, ["D", randRange(75, 150), "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [200, "createWaveCreator", [8, randRange(300, 600), 620, "BugB", 15, ["U", randRange(75, 150), "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [350, "completeMatrix", []]];
waveScript3_15 = [[2, "showBGDeco", ["3C", 0.75]], [5, "tagTeam", [-50, 280, "R"]], [7, "setPowerUpPref", ["weaponBoost1"]], [9, "playBGSound", ["level3Manji", 9, 2, 0.05]], [12, "showBGDeco", ["3C", 0.7]], [80, "createWaveCreator", [8, 600, 620, "BomberA", 8, ["U", 100, "L", 400, "U", 150, "R", 300, "break"], [[5, 6], [5, 7], [6, 8], [7, 8], [8, 7], [9, 6], [10, 6], ["free"]]]], [200, "createWaveCreator", [8, 600, -50, "BomberA", 8, ["D", 100, "L", 400, "D", 150, "R", 300, "break"], [[5, 5], [5, 4], [6, 3], [7, 3], [8, 4], [9, 5], [10, 5], ["free"]]]], [500, "completeMatrix", []]];
waveScript3_16 = [[80, "createWaveCreator", [6, 900, 620, "BatC", 10, ["U", 200, "L", 100, "D", 100, "L", 100, "U", 100, "L", 100, "D", 50, "L", 100, "U", 100, "break"], [[10, 7], [9, 6], [8, 7], [7, 6], [6, 7], [5, 6], [4, 7], [3, 8], [3, 9], ["free"]]]], [80, "createWaveCreator", [6, 900, -50, "BatC", 10, ["D", 200, "L", 100, "U", 100, "L", 100, "D", 100, "L", 100, "U", 50, "L", 100, "D", 100, "break"], [[10, 4], [9, 5], [8, 4], [7, 5], [6, 4], [5, 5], [4, 4], [3, 3], [3, 2], ["free"]]]], [80, "createWaveCreator", [7, 1020, 280, "BatB", 10, ["L", randRange(100, 400), "break"], [[10, 1], [9, 2], [8, 3], [7, 4], [6, 5], [6, 6], [7, 7], [8, 8], [9, 9], [10, 10]]]], [380, "completeMatrix", []]];
waveScript3_17 = [[10, "setAdvanceDir", ["R"]], [50, "createWaveCreator", [6, -50, 60, "BatC", 1, ["R", 100, "break"], [[4, 1]]]], [50, "createWaveCreator", [6, -50, 110, "BatC", 1, ["R", 100, "break"], [[5, 2]]]], [50, "createWaveCreator", [6, -50, 160, "BatC", 1, ["R", 100, "break"], [[6, 3]]]], [50, "createWaveCreator", [6, -50, 210, "BatC", 1, ["R", 100, "break"], [[7, 4]]]], [50, "createWaveCreator", [6, -50, 260, "BatC", 1, ["R", 100, "break"], [[7, 5]]]], [50, "createWaveCreator", [6, -50, 310, "BatC", 1, ["R", 100, "break"], [[7, 6]]]], [50, "createWaveCreator", [6, -50, 360, "BatC", 1, ["R", 100, "break"], [[7, 7]]]], [50, "createWaveCreator", [6, -50, 410, "BatC", 1, ["R", 100, "break"], [[6, 8]]]], [50, "createWaveCreator", [6, -50, 460, "BatC", 1, ["R", 100, "break"], [[5, 9]]]], [50, "createWaveCreator", [6, -50, 510, "BatC", 1, ["R", 100, "break"], [[4, 10]]]], [54, "createWaveCreator", [6, -50, 60, "BatB", 1, ["R", 100, "break"], [[3, 1]]]], [54, "createWaveCreator", [6, -50, 110, "BatB", 1, ["R", 100, "break"], [[4, 2]]]], [54, "createWaveCreator", [6, -50, 160, "BatB", 1, ["R", 100, "break"], [[5, 3]]]], [54, "createWaveCreator", [6, -50, 210, "BatB", 1, ["R", 100, "break"], [[6, 4]]]], [54, "createWaveCreator", [6, -50, 260, "BatB", 1, ["R", 100, "break"], [[6, 5]]]], [54, "createWaveCreator", [6, -50, 310, "BatB", 1, ["R", 100, "break"], [[6, 6]]]], [54, "createWaveCreator", [6, -50, 360, "BatB", 1, ["R", 100, "break"], [[6, 7]]]], [54, "createWaveCreator", [6, -50, 410, "BatB", 1, ["R", 100, "break"], [[5, 8]]]], [54, "createWaveCreator", [6, -50, 460, "BatB", 1, ["R", 100, "break"], [[4, 9]]]], [54, "createWaveCreator", [6, -50, 510, "BatB", 1, ["R", 100, "break"], [[3, 10]]]], [60, "createWaveCreator", [6, -50, 60, "BatA", 1, ["R", 100, "break"], [[2, 1]]]], [60, "createWaveCreator", [6, -50, 110, "BatA", 1, ["R", 100, "break"], [[3, 2]]]], [60, "createWaveCreator", [6, -50, 160, "BatA", 1, ["R", 100, "break"], [[4, 3]]]], [60, "createWaveCreator", [6, -50, 210, "BatA", 1, ["R", 100, "break"], [[5, 4]]]], [60, "createWaveCreator", [6, -50, 260, "BatA", 1, ["R", 100, "break"], [[5, 5]]]], [60, "createWaveCreator", [6, -50, 310, "BatA", 1, ["R", 100, "break"], [[5, 6]]]], [60, "createWaveCreator", [6, -50, 360, "BatA", 1, ["R", 100, "break"], [[5, 7]]]], [60, "createWaveCreator", [6, -50, 410, "BatA", 1, ["R", 100, "break"], [[4, 8]]]], [60, "createWaveCreator", [6, -50, 460, "BatA", 1, ["R", 100, "break"], [[3, 9]]]], [60, "createWaveCreator", [6, -50, 510, "BatA", 1, ["R", 100, "break"], [[2, 10]]]], [360, "completeMatrix", []]];
waveScript3_18 = [[28, "createPowerUpBuddy", [1020, 280, "L", ["lifeMax", 200, "shield", 50]]], [30, "setAdvanceDir", ["L"]], [50, "createWaveCreator", [7, 100, 620, "BomberA", 10, ["U", 300, "R", 100, "D", 150, "R", 100, "U", 50, "R", 200, "break"], [[6, 6], [6, 10], [7, 7], [7, 9], [8, 8], [9, 2], [9, 4], [10, 10], [10, 6], ["free"]]]], [50, "createWaveCreator", [7, 100, -50, "BomberA", 10, ["D", 300, "R", 100, "U", 150, "R", 100, "D", 50, "R", 200, "break"], [[6, 5], [6, 1], [7, 4], [7, 2], [8, 3], [9, 7], [9, 9], [10, 1], [10, 5], ["free"]]]], [60, "playSound", ["bomberAIntro", 10]], [80, "createWaveCreator", [7, 1020, 220, "DroidC", 8, ["L", 300, "R", 200, "break"], [[7, 1], ["free"], ["free"], [8, 2], ["free"], ["free"], [10, 4], [9, 3]]]], [80, "createWaveCreator", [7, 1020, 300, "DroidC", 8, ["L", 300, "R", 200, "break"], [[7, 10], ["free"], ["free"], [8, 9], ["free"], ["free"], [10, 7], [9, 8]]]], [380, "completeMatrix", []]];
waveScript3_19 = [[30, "createShipBoss", []], [31, "createRandoms", [1, 3, 50, ["DroidA", "DroidB", "DroidC"]]], [100, "completeMatrix", []]];
waveScript3_20 = [[20, "createWaveCreator", [7, 500, 620, "BomberB", 5, ["U", 100, "L", 100, "U", 40, "R", 100, "U", 100, "R", 40, "D", 100, "R", 100, "break"], [[10, 2], [10, 4], [10, 5], [9, 5], ["free"]]]], [20, "createWaveCreator", [7, 500, -50, "BomberB", 5, ["D", 100, "L", 100, "D", 40, "R", 100, "D", 100, "R", 40, "U", 100, "R", 100, "break"], [[10, 9], [10, 7], [10, 6], [9, 6], ["free"]]]], [20, "createWaveCreator", [7, -50, 220, "BomberA", 8, ["R", 100, "U", 100, "R", 40, "D", 100, "R", 100, "U", 100, "R", 100, "break"], [[10, 3], [9, 3], [8, 4], [7, 4], [6, 5], [5, 5], ["free"], ["free"]]]], [20, "createWaveCreator", [7, -50, 300, "BomberA", 8, ["R", 100, "D", 100, "R", 40, "U", 100, "R", 100, "D", 100, "R", 100, "break"], [[10, 8], [9, 8], [8, 7], [7, 7], [6, 6], [5, 6], ["free"], ["free"]]]], [30, "playSound", ["bomberBIntro", 10]], [350, "completeMatrix", []]];
waveScript3_21 = [[35, "showReanimator", [-50, 320]], [42, "showBGDeco", ["3D", 0.5]], [50, "createWaveCreator", [7, 1020, 100, "BomberA", 6, ["L", 500, "D", 100, "R", 40, "break"], [[7, 5], [10, 4], [9, 4], [10, 5], [9, 5], [8, 5]], "SpaceManA"]], [50, "createWaveCreator", [7, 1020, 470, "BomberA", 6, ["L", 500, "U", 100, "R", 40, "break"], [[7, 6], [10, 7], [9, 7], [10, 6], [9, 6], [8, 6]], "SpaceManA"]], [60, "playSound", ["spaceManIntro", 18]], [350, "completeMatrix", []]];
waveScript3_22 = [[10, "showReanimator", [-50, 360]], [20, "createWaveCreator", [7, -50, randRange(100, 250), "SpaceManA", 1, ["R", 100, "break"], [["free"]]]], [20, "createWaveCreator", [7, -50, randRange(350, 500), "SpaceManA", 1, ["R", 100, "break"], [["free"]]]], [20, "createWaveCreator", [20, 1020, randRange(200, 400), "SpaceManA", 1 + dif.wave, ["L", 100, "break"], [["free"], ["free"]]]], [100, "completeMatrix", []]];
waveScript3_23 = [[10, "setAdvanceDir", ["R"]], [15, "showReanimator", [-50, 290]], [20, "createWaveCreator", [7, 1020, randRange(100, 250), "BatC", 4, ["L", randRange(75, 150), "break"], [[1, 1], [1, 2], [4, 3], [5, 5]]]], [20, "createWaveCreator", [7, 1020, randRange(350, 500), "BatC", 4, ["L", randRange(75, 150), "break"], [[1, 10], [2, 10], [4, 8], [5, 6]]]], [30, "createWaveCreator", [7, -50, 200, "SpaceManA", 1, ["R", 100, "break"], [[2, 4]]]], [30, "createWaveCreator", [7, -50, 370, "SpaceManA", 1, ["R", 100, "break"], [[2, 7]]]], [50, "createWaveCreator", [7, 600, -50, "BomberB", 4, ["D", 200, "R", 40, "U", 40, "R", 40, "D", 150, "L", 100, "break"], [[5, 3], [2, 5], [1, 5], [1, 4]]]], [50, "createWaveCreator", [7, 600, 620, "BomberB", 4, ["U", 200, "R", 40, "D", 40, "R", 40, "U", 150, "L", 100, "break"], [[5, 8], [2, 6], [1, 6], [1, 7]]]], [60, "playSound", ["bomberBFly", 10]], [350, "completeMatrix", []]];
waveScript3_24 = [[10, "setAdvanceDir", ["L"]], [30, "showReanimator", [-50, 220]], [40, "createBlasterA", [-50, _root.randRange(60, 520), "Green", ["R", _root.randRange(75, 200), "break"]]], [50, "createBlasterA", [-50, _root.randRange(60, 520), "Green", ["R", _root.randRange(75, 200), "break"]]], [60, "createBlasterA", [-50, _root.randRange(60, 520), "Green", ["R", _root.randRange(75, 200), "break"]]], [70, "createBlasterA", [-50, _root.randRange(60, 520), "Green", ["R", _root.randRange(75, 200), "break"]]], [140, "createBlasterA", [1020, _root.randRange(60, 520), "Blue", ["L", _root.randRange(75, 200), "break"]]], [150, "createBlasterA", [1020, _root.randRange(60, 520), "Blue", ["L", _root.randRange(75, 200), "break"]]], [160, "createBlasterA", [1020, _root.randRange(60, 520), "Blue", ["L", _root.randRange(75, 200), "break"]]], [170, "createBlasterA", [1020, _root.randRange(60, 520), "Blue", ["L", _root.randRange(75, 200), "break"]]], [180, "createBlasterA", [1020, _root.randRange(60, 520), "Blue", ["L", _root.randRange(75, 200), "break"]]], [240, "createBlasterA", [-50, _root.randRange(60, 520), "Orange", ["R", _root.randRange(75, 200), "break"]]], [250, "createBlasterA", [1020, _root.randRange(60, 520), "Orange", ["L", _root.randRange(75, 200), "break"]]], [260, "createBlasterA", [-50, _root.randRange(60, 520), "Orange", ["R", _root.randRange(75, 200), "break"]]], [270, "createBlasterA", [1020, _root.randRange(60, 520), "Orange", ["L", _root.randRange(75, 200), "break"]]], [280, "createBlasterA", [-50, _root.randRange(60, 520), "Orange", ["R", _root.randRange(75, 200), "break"]]], [290, "createBlasterA", [1020, _root.randRange(60, 520), "Orange", ["L", _root.randRange(75, 200), "break"]]], [350, "completeMatrix", []]];
waveScript3_25 = [[30, "showReanimator", [-50, 320]], [50, "createBlasterA", [1020, 80, "Orange", ["L", _root.randRange(75, 100), "break"]]], [50, "createBlasterA", [1020, 150, "Orange", ["L", _root.randRange(75, 100), "break"]]], [50, "createBlasterA", [1020, 220, "Orange", ["L", _root.randRange(75, 100), "break"]]], [50, "createBlasterA", [1020, 500, "Orange", ["L", _root.randRange(75, 100), "break"]]], [50, "createBlasterA", [1020, 430, "Orange", ["L", _root.randRange(75, 100), "break"]]], [50, "createBlasterA", [1020, 360, "Orange", ["L", _root.randRange(75, 100), "break"]]], [60, "createWaveCreator", [8, -50, 280, "SpaceManB", 2, ["R", 800, "break"], [["free"]]]], [120, "createRandoms", [1, 1, 200, ["BomberA", "BatC"]]], [130, "showPlanet", ["mars"]], [160, "completeMatrix", []]];
waveScript3_26 = [[75, "removeRandoms", [1]], [78, "ship3B", []], [80, "showReanimator", [-50, 275]], [90, "createPowerUpBuddy", [-50, 280, "R", ["superLaser", 500]]], [101, "setPowerUpPref", []], [102, "setPowerUpPref", ["weaponBoost1", "lifeUp"]], [103, "createShrapStorm", []], [104, "createRandoms", [1, 5 + dif.wave, 40 - (dif.wave * 5), ["BatA", "DroidA", "DroidB", "DroidC", "BatB", "BugB", "BugA", "BatC", "BomberA", "BomberB"]]], [400, "switchShrapStage", ["B"]], [1600, "switchShrapStage", ["A"]], [1800, "createWaveCreator", [8, 440, 620, "DroidB", 9, ["U", 100, "L", 180, "U", 40, "L", 40, "U", 240, "R", 40, "U", 40, "R", 40, "U", 40, "R", 160, "U", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [1800, "createWaveCreator", [8, 520, 620, "DroidB", 9, ["U", 100, "R", 180, "U", 40, "R", 40, "U", 240, "L", 40, "U", 40, "L", 40, "U", 40, "L", 160, "U", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [1801, "removeRandoms", [1]], [1830, "removeShrapStorm", []], [1840, "setPowerUpPref", []], [1880, "createWaveCreator", [8, 440, 620, "BatB", 9, ["U", 100, "L", 180, "U", 40, "L", 40, "U", 240, "R", 40, "U", 40, "R", 40, "U", 40, "R", 160, "U", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [1880, "createWaveCreator", [8, 520, 620, "BatB", 9, ["U", 100, "R", 180, "U", 40, "R", 40, "U", 240, "L", 40, "U", 40, "L", 40, "U", 40, "L", 160, "U", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [1960, "createWaveCreator", [8, 440, 620, "BugB", 9, ["U", 100, "L", 180, "U", 40, "L", 40, "U", 240, "R", 40, "U", 40, "R", 40, "U", 40, "R", 160, "U", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [1960, "createWaveCreator", [8, 520, 620, "BugB", 9, ["U", 100, "R", 180, "U", 40, "R", 40, "U", 240, "L", 40, "U", 40, "L", 40, "U", 40, "L", 160, "U", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [2040, "createWaveCreator", [8, 440, 620, "BomberB", 9, ["U", 100, "L", 180, "U", 40, "L", 40, "U", 240, "R", 40, "U", 40, "R", 40, "U", 40, "R", 160, "U", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [2040, "createWaveCreator", [8, 520, 620, "BomberB", 9, ["U", 100, "R", 180, "U", 40, "R", 40, "U", 240, "L", 40, "U", 40, "L", 40, "U", 40, "L", 160, "U", 500, "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]], [2300, "completeMatrix", []]];
waveScript3_27 = [[29, "playBGSound", ["deathLoop", 15, 5, 0.05]], [30, "deathHeadBG", []], [160, "createDeathHead", []], [175, "showBGDeco", ["3E", 0.5]]];
}
_quality = "LOW";
fps.swapDepths(567000);
border.swapDepths(1100005);
smartBomb.swapDepths(101);
debug.swapDepths(1100300);
audio = new classes.misc.Audio();
var keyListener = new Object();
keyListener.onKeyUp = function () {
keyPressed = Key.getCode();
if (keyPressed == 32) {
_root.togglePause();
}
};
Key.addListener(keyListener);
moveU = 38;
moveD = 40;
moveL = 37;
moveR = 39;
fireU = 87;
fireD = 83;
fireL = 65;
fireR = 68;
dif = new Object();
dif.setting = "med";
dif.num = 2;
dif.speed = 1;
dif.wait = 0;
dif.wander = 0;
dif.adv = 0;
dif.life = 1;
dif.wave = 0;
changeDif("med");
chars = [];
broShots = [];
enemyShots = [];
FX = [];
powerUps = [];
pUpArray1_1 = [];
pUpArray1_2 = ["speedBoost1", "weaponBoost1"];
pUpArray1_3 = ["speedBoost1", "speedBoost1", "weaponBoost1", "weaponBoost1", "lifeUp", "lifeUp"];
pUpArray1_4 = ["speedBoost1", "speedBoost1", "weaponBoost1", "weaponBoost1", "lifeUp", "lifeUp"];
pUpArray1_5 = ["speedBoost1", "speedBoost1", "weaponBoost1", "weaponBoost1", "lifeUp", "lifeUp"];
pUpArray1_6 = ["speedBoost1", "speedBoost1", "weaponBoost1", "weaponBoost1", "lifeUp", "lifeUp"];
pUpArray1_7 = ["speedBoost1", "speedBoost1", "weaponBoost1", "weaponBoost1", "smartBomb", "lifeUp", "lifeUp"];
pUpArray1_8 = ["speedBoost1", "speedBoost1", "weaponBoost1", "weaponBoost1", "smartBomb", "lifeUp", "lifeUp"];
pUpArray1_9 = ["speedBoost1", "speedBoost1", "weaponBoost1", "weaponBoost1", "smartBomb", "lifeUp", "lifeUp"];
pUpArray1_10 = ["speedBoost1", "speedBoost1", "weaponBoost1", "weaponBoost1", "smartBomb", "lifeUp", "lifeUp", "shield"];
pUpArray1_11 = ["speedBoost1", "speedBoost1", "weaponBoost1", "weaponBoost1", "smartBomb", "lifeUp", "lifeUp", "shield"];
pUpArray1_12 = ["speedBoost1", "speedBoost1", "weaponBoost1", "weaponBoost1", "smartBomb", "lifeUp", "lifeUp", "doubleLaserA", "doubleLaserA", "shield"];
pUpArray1_13 = ["speedBoost1", "speedBoost1", "weaponBoost1", "weaponBoost1", "smartBomb", "lifeUp", "lifeUp", "doubleLaserA", "shield"];
pUpArray1_14 = ["speedBoost1", "speedBoost1", "weaponBoost1", "weaponBoost1", "smartBomb", "lifeUp", "lifeUp", "doubleLaserA", "doubleLaserA", "shield"];
pUpArray1_15 = ["speedBoost1", "speedBoost1", "weaponBoost1", "weaponBoost1", "smartBomb", "lifeUp", "lifeUp", "doubleLaserA", "shield"];
pUpArray1_16 = ["speedBoost1", "speedBoost1", "weaponBoost1", "weaponBoost1", "smartBomb", "lifeUp", "lifeUp", "doubleLaserA", "doubleLaserA", "shield"];
pUpArray1_17 = ["speedBoost1", "speedBoost1", "weaponBoost1", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "doubleLaserA", "shield"];
pUpArray1_18 = ["speedBoost1", "speedBoost1", "weaponBoost2", "weaponBoost1", "smartBomb", "lifeUp", "lifeUp", "doubleLaserA", "shield"];
pUpArray1_19 = ["speedBoost1", "speedBoost1", "weaponBoost1", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "doubleLaserA", "shield"];
pUpArray1_20 = ["speedBoost1", "speedBoost1", "weaponBoost2", "weaponBoost1", "smartBomb", "lifeUp", "lifeUp", "doubleLaserA", "shield"];
pUpArray1_21 = ["speedBoost1", "weaponBoost1", "weaponBoost1", "lifeUp", "lifeUp", "shield", "tripleLaserA"];
pUpArray2_1 = ["speedBoost1", "speedBoost2", "weaponBoost1", "weaponBoost1", "smartBomb", "lifeUp", "lifeUp", "tripleLaserA", "tripleLaserA", "rampage", "shield"];
pUpArray2_2 = ["speedBoost1", "speedBoost2", "weaponBoost1", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "tripleLaserA", "tripleLaserA", "rampage", "shield"];
pUpArray2_3 = ["speedBoost1", "speedBoost2", "weaponBoost2", "weaponBoost1", "smartBomb", "lifeUp", "lifeUp", "tripleLaserA", "tripleLaserA", "rampage", "shield"];
pUpArray2_4 = ["speedBoost1", "speedBoost2", "weaponBoost1", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "tripleLaserA", "tripleLaserA", "rampage", "shield"];
pUpArray2_5 = ["speedBoost1", "speedBoost2", "weaponBoost1", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "tripleLaserA", "tripleLaserA", "rampage", "shield"];
pUpArray2_6 = ["speedBoost1", "speedBoost2", "weaponBoost1", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "tripleLaserA", "tripleLaserA", "rampage", "shield"];
pUpArray2_7 = ["speedBoost1", "speedBoost2", "weaponBoost1", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "tripleLaserA", "twistLaser", "rampage", "shield"];
pUpArray2_8 = ["speedBoost1", "speedBoost2", "weaponBoost1", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "tripleLaserA", "twistLaser", "rampage", "shield"];
pUpArray2_9 = ["speedBoost1", "speedBoost2", "weaponBoost1", "weaponBoost1", "smartBomb", "lifeUp", "lifeUp", "tripleLaserA", "twistLaser", "rampage", "shield"];
pUpArray2_10 = ["speedBoost1", "speedBoost2", "weaponBoost1", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "tripleLaserA", "twistLaser", "rampage", "shield"];
pUpArray2_11 = ["speedBoost2", "speedBoost2", "weaponBoost1", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "tripleLaserA", "twistLaser", "rampage", "shield"];
pUpArray2_12 = ["speedBoost2", "speedBoost2", "weaponBoost2", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "tripleLaserA", "twistLaser", "rampage", "shield"];
pUpArray2_13 = ["speedBoost2", "speedBoost2", "weaponBoost1", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "twistLaser", "rampage", "shield"];
pUpArray2_14 = ["speedBoost1", "speedBoost2", "weaponBoost2", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "twistLaser", "rampage", "shield"];
pUpArray2_15 = ["speedBoost2", "speedBoost1", "weaponBoost1", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "twistLaser", "rampage", "shield"];
pUpArray2_16 = ["speedBoost1", "speedBoost2", "weaponBoost2", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "twistLaser", "rampage", "shield"];
pUpArray2_17 = ["speedBoost2", "speedBoost2", "weaponBoost1", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "twistLaser", "rampage", "shield"];
pUpArray2_18 = ["speedBoost2", "speedBoost2", "weaponBoost2", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "twistLaser", "rampage", "shield"];
pUpArray2_19 = ["speedBoost2", "speedBoost2", "weaponBoost1", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "twistLaser", "rampage", "shield"];
pUpArray2_20 = ["speedBoost2", "speedBoost2", "weaponBoost2", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "twistLaser", "rampage", "shield"];
pUpArray2_21 = ["speedBoost2", "weaponBoost2", "weaponBoost1", "weaponBoost2", "lifeUp", "lifeUp", "twistLaser", "shield"];
pUpArray3_1 = ["speedBoost2", "speedBoost2", "weaponBoost2", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "tripleTwistLaser", "rampage", "shield"];
pUpArray3_2 = ["speedBoost2", "speedBoost2", "weaponBoost2", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "tripleTwistLaser", "shield"];
pUpArray3_3 = ["speedBoost1", "speedBoost2", "weaponBoost2", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "tripleTwistLaser", "rampage", "shield"];
pUpArray3_4 = ["speedBoost2", "speedBoost1", "weaponBoost2", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "tripleTwistLaser", "shield"];
pUpArray3_5 = ["speedBoost3", "speedBoost2", "weaponBoost2", "weaponBoost3", "smartBomb", "lifeUp", "lifeUp", "tripleTwistLaser", "rampage", "shield"];
pUpArray3_6 = ["speedBoost2", "speedBoost2", "weaponBoost1", "weaponBoost3", "smartBomb", "lifeUp", "lifeUp", "tripleTwistLaser", "shield"];
pUpArray3_7 = ["speedBoost2", "speedBoost3", "weaponBoost2", "weaponBoost3", "smartBomb", "lifeUp", "lifeUp", "tripleTwistLaser", "rampage", "shield"];
pUpArray3_8 = ["speedBoost2", "speedBoost2", "weaponBoost2", "weaponBoost3", "smartBomb", "lifeUp", "lifeUp", "tripleTwistLaser", "shield"];
pUpArray3_9 = ["speedBoost2", "speedBoost2", "weaponBoost2", "weaponBoost3", "smartBomb", "lifeUp", "lifeUp", "tripleTwistLaser", "rampage", "shield"];
pUpArray3_10 = ["speedBoost1", "speedBoost2", "weaponBoost3", "weaponBoost3", "smartBomb", "lifeUp", "lifeUp", "tripleTwistLaser", "shield"];
pUpArray3_11 = ["speedBoost2", "speedBoost3", "weaponBoost2", "weaponBoost3", "smartBomb", "lifeUp", "lifeUp", "tripleTwistLaser", "rampage", "shield"];
pUpArray3_12 = ["speedBoost2", "speedBoost2", "weaponBoost3", "weaponBoost3", "smartBomb", "lifeUp", "lifeUp", "tripleTwistLaser", "shield"];
pUpArray3_13 = ["speedBoost3", "speedBoost2", "weaponBoost3", "weaponBoost3", "smartBomb", "lifeUp", "lifeUp", "bigLaser", "bigLaser", "rapidLaser", "rapidLaser", "rampage", "shield"];
pUpArray3_14 = ["speedBoost2", "speedBoost2", "weaponBoost1", "weaponBoost3", "smartBomb", "lifeUp", "lifeUp", "bigLaser", "rapidLaser", "shield"];
pUpArray3_15 = ["speedBoost2", "speedBoost3", "weaponBoost2", "weaponBoost3", "smartBomb", "lifeUp", "lifeUp", "bigLaser", "rapidLaser", "rampage", "shield"];
pUpArray3_16 = ["speedBoost2", "speedBoost3", "weaponBoost1", "weaponBoost2", "smartBomb", "lifeUp", "lifeUp", "bigLaser", "bigLaser", "rapidLaser", "rapidLaser", "shield"];
pUpArray3_17 = ["speedBoost1", "speedBoost2", "weaponBoost1", "weaponBoost3", "smartBomb", "lifeUp", "lifeUp", "bigLaser", "rapidLaser", "rampage", "shield"];
pUpArray3_18 = ["speedBoost3", "speedBoost3", "weaponBoost3", "weaponBoost3", "smartBomb", "lifeUp", "lifeUp", "bigLaser", "rapidLaser", "shield"];
pUpArray3_19 = ["speedBoost2", "speedBoost2", "weaponBoost2", "weaponBoost2", "lifeUp", "lifeUp", "bigLaser", "rapidLaser", "shield"];
pUpArray3_20 = ["speedBoost2", "speedBoost3", "weaponBoost3", "weaponBoost3", "smartBomb", "lifeUp", "lifeUp", "bigLaser", "bigLaser", "rapidLaser", "rapidLaser", "rampage", "shield"];
pUpArray3_21 = ["speedBoost3", "speedBoost2", "weaponBoost2", "weaponBoost2", "lifeUp", "lifeUp", "bigLaser", "rapidLaser", "shield"];
pUpArray3_22 = ["speedBoost2", "speedBoost3", "weaponBoost2", "weaponBoost3", "lifeUp", "lifeUp", "bigLaser", "rapidLaser", "shield"];
pUpArray3_23 = ["speedBoost2", "speedBoost2", "weaponBoost1", "weaponBoost3", "lifeUp", "lifeUp", "bigLaser", "rapidLaser", "shield"];
pUpArray3_24 = ["speedBoost1", "speedBoost3", "weaponBoost2", "weaponBoost3", "smartBomb", "lifeUp", "lifeUp", "bigLaser", "rapidLaser", "rampage", "shield"];
pUpArray3_25 = ["speedBoost3", "speedBoost3", "weaponBoost2", "weaponBoost3", "lifeUp", "lifeUp", "bigLaser", "rapidLaser", "shield"];
pUpArray3_26 = ["speedBoost2", "speedBoost3", "weaponBoost2", "weaponBoost2", "lifeUp", "lifeUp", "bigLaser", "rapidLaser", "shield", "smartBomb", "rampage"];
pUpArray3_27 = ["speedBoost3", "speedBoost3", "weaponBoost2", "weaponBoost3", "lifeUp", "lifeUp", "shield", "smartBomb"];
BroShip1_1Shrap = ["Chunk1", "Chunk1", "Chunk1", "Chunk2", "Chunk2", "Chunk2", "Chunk3", "Chunk4", "Chunk5", "Chunk5", "Chunk5"];
broShip1B_1Shrap = ["dark", "blue2", "grey2", "red", "orange"];
BroShip2_1Shrap = ["Chunk1", "Chunk1", "Chunk1", "Chunk2", "Chunk2", "Chunk2", "Chunk3", "Chunk4", "Chunk5", "Chunk5", "Chunk5"];
broShip2B_1Shrap = ["light", "blue2", "grey2", "red", "yellow"];
BroShip1_2Shrap = ["Chunk1", "Chunk1", "Chunk1", "Chunk2", "Chunk2", "Chunk2", "Chunk3", "Chunk4", "Chunk5", "Chunk5", "Chunk5"];
broShip1B_2Shrap = ["dark", "blue2", "grey2", "red", "orange"];
BroShip2_2Shrap = ["Chunk1", "Chunk1", "Chunk1", "Chunk2", "Chunk2", "Chunk2", "Chunk3", "Chunk4", "Chunk5", "Chunk5", "Chunk5"];
broShip2B_2Shrap = ["light", "blue2", "grey2", "orange", "yellow", "purple", "red"];
BroShip1_3Shrap = ["Chunk1", "Chunk1", "Chunk1", "Chunk2", "Chunk2", "Chunk2", "Chunk3", "Chunk4", "Chunk5", "Chunk5", "Chunk5"];
broShip1B_3Shrap = ["dark", "blue2", "grey2", "red", "orange"];
BroShip2_3Shrap = ["Chunk1", "Chunk1", "Chunk1", "Chunk2", "Chunk2", "Chunk2", "Chunk3", "Chunk4", "Chunk5", "Chunk5", "Chunk5"];
broShip2B_3Shrap = ["light", "blue2", "grey2", "red", "orange", "purple"];
BroShipBlackShrap = ["Chunk1", "Chunk1", "Chunk1", "Chunk2", "Chunk2", "Chunk2", "Chunk3", "Chunk4", "Chunk5", "Chunk5", "Chunk5"];
broShipBlackBShrap = ["dark", "grey1", "grey2", "red", "orange"];
BroShip1_3BShrap = ["Chunk1", "Chunk1", "Chunk1", "Chunk2", "Chunk2", "Chunk2", "Chunk3", "Chunk4", "Chunk5", "Chunk5", "Chunk5"];
broShip1B_3BShrap = ["light", "grey1", "grey2", "yellow", "red"];
BroShip2_3BShrap = ["Chunk1", "Chunk1", "Chunk1", "Chunk2", "Chunk2", "Chunk2", "Chunk3", "Chunk4", "Chunk5", "Chunk5", "Chunk5"];
broShip2B_3BShrap = ["light", "orange", "orange", "red", "yellow"];
droidAShrap = ["light", "Chunk1", "Chunk2", "red", "grey", "blue"];
droidBShrap = ["dark", "Chunk1", "Chunk2", "blue", "grey2", "blue2"];
batAShrap = ["dark", "Chunk1", "Chunk2", "red", "grey2", "yellow"];
batBShrap = ["dark", "Chunk1", "Chunk2", "red", "grey2", "yellow"];
batCShrap = ["dark", "Chunk1", "Chunk2", "red", "purple", "blue"];
headAShrap = ["dark", "Chunk1", "Chunk2", "grey", "grey2", "green"];
headBShrap = ["dark", "Chunk1", "Chunk2", "grey", "grey2", "blue"];
headCShrap = ["dark", "Chunk1", "Chunk2", "grey", "grey2", "red"];
goldHeadShrap = ["light", "Chunk1", "Chunk2", "yellow", "red"];
bugAShrap = ["light", "Chunk1", "Chunk2", "Chunk3", "blue", "purple", "red"];
bugBShrap = ["light", "Chunk1", "Chunk2", "Chunk3", "green", "purple", "blue2"];
blasterAOrangeShrap = ["light", "Chunk1", "Chunk2", "orange", "blue"];
blasterABlueShrap = ["light", "Chunk1", "Chunk2", "blue", "blue"];
blasterAGreenShrap = ["light", "Chunk1", "Chunk2", "green", "blue"];
headBossShrap = ["light", "Chunk1", "Chunk1", "Chunk2", "Chunk2", "Chunk3", "Chunk4", "Chunk5", "red", "orange", "yellow", "red", "orange", "yellow"];
headBossArmAShrap = ["light", "red", "grey1", "grey2"];
headBossArmBShrap = ["light", "Chunk1"];
bomberAShrap = ["dark", "grey2", "blue2", "grey", "blue", "Chunk1", "Chunk1", "Chunk2", "Chunk2", "Chunk3", "Chunk3"];
bomberBShrap = ["dark", "grey2", "blue2", "grey", "purple", "Chunk1", "Chunk1", "Chunk2", "Chunk2", "Chunk3", "Chunk3"];
spaceManAShrap = ["light", "grey2", "blue", "grey", "green", "Chunk1", "Chunk1", "Chunk2", "Chunk2", "Chunk3", "Chunk3"];
spaceManBShrap = ["dark", "red", "grey", "yellow", "Chunk1", "Chunk1", "Chunk2", "Chunk2", "Chunk3", "Chunk3"];
shipBossOrangeShrap = ["dark", "Chunk1", "Chunk2", "Chunk3", "orange"];
shipBossPurpleShrap = ["dark", "Chunk1", "Chunk2", "Chunk3", "purple"];
shipBossGreenShrap = ["dark", "Chunk1", "Chunk2", "Chunk3", "green"];
shipBossMissleOrangeShrap = ["light", "grey", "orange"];
shipBossMisslePurpleShrap = ["light", "grey", "purple"];
shipBossMissleGreenShrap = ["light", "grey", "green"];
restart();
addFX("audio");
coins = new classes.misc.Coins();
addFX("coins");
gems = new classes.misc.Gems();
addFX("gems");
bgDeco = new classes.fx.BGDeco();
addFX("bgDeco");
lifeMeter = new classes.fx.LifeMeter();
addFX("lifeMeter");
onEnterFrame = function () {
if (game == 1) {
c++;
c2++;
var _local12 = chars.slice();
var _local8 = broShots.slice();
var _local11 = enemyShots.slice();
var _local9 = FX.slice();
var _local10 = powerUps.slice();
var _local2 = 0;
var _local13 = _local12.length;
while (_local2 < _local13) {
_root[_local12[_local2]].main();
_local2++;
}
_local2 = 0;
_local13 = _local8.length;
while (_local2 < _local13) {
_root[_local8[_local2]].main();
_local2++;
}
_local2 = 0;
_local13 = _local11.length;
while (_local2 < _local13) {
_root[_local11[_local2]].main();
_local2++;
}
_local2 = 0;
_local13 = _local9.length;
while (_local2 < _local13) {
_root[_local9[_local2]].main();
_local2++;
}
_local2 = 0;
_local13 = _local10.length;
while (_local2 < _local13) {
_root[_local10[_local2]].main();
_local2++;
}
if (c == ep) {
do {
var _local4 = waveScript[0][1];
var _local6 = waveScript[0][2];
_root[_local4](_local6);
ep2 = waveScript[1][0];
waveScript.splice(0, 1);
} while (ep2 == ep);
ep = ep2;
}
if (matrixComplete) {
mc++;
if (mc == 1) {
d++;
attachMovie("feeler", "feelerAdv", d);
feelerAdv._x = ((advanceDir == "L") ? -110 : 1150);
feelerAdv._y = 0;
feelerAdv._width = 40;
feelerAdv._height = 600;
mcp = 2;
}
if (mc == mcp) {
feelerAdv._x = ((advanceDir == "L") ? (feelerAdv._x + 60) : (feelerAdv._x - 60));
if ((feelerAdv._x > 1200) || (feelerAdv._x < -200)) {
removeMovieClip("feelerAdv");
mc = 0;
}
_local2 = 0;
_local13 = chars.length;
var _local7 = false;
while (_local2 < _local13) {
var _local3 = chars[_local2] + "Clip";
if (feelerAdv.hitTest(_root[_local3])) {
var _local5 = chars[_local2];
if (_root[_local5].matrixVar == 2) {
_local7 = true;
_root[_local5].advance();
}
}
_local2++;
}
_local2 = 0;
_local13 = enemyShots.length;
while (_local2 < _local13) {
var _local3 = enemyShots[_local2] + "Clip";
if (feelerAdv.hitTest(_root[_local3])) {
var _local5 = enemyShots[_local2];
_root[_local5].advance();
}
_local2++;
}
if (_local7) {
mcp = mcp + advInt;
} else {
mcp = mcp + 1;
}
}
if ((chars.length < 2) || ((chars.length < 3) && (rescue))) {
if (((subLevelNum == goldHeadNum) && (!goldHeadCreated)) && (level == 2)) {
createGoldHead();
}
levelInit();
}
}
if (!goldHeadCreated) {
if ((subLevelNum == goldHeadNum) && (level == 2)) {
if (random(300) == 299) {
createGoldHead();
goldHeadCreated = true;
}
}
}
} else if (game == 0) {
c++;
var _local2 = 0;
var _local13 = FX.length;
while (_local2 < _local13) {
_root[FX[_local2]].main();
_local2++;
}
_local2 = 0;
_local13 = chars.length;
while (_local2 < _local13) {
_root[chars[_local2]].main();
_local2++;
}
} else if (game == 2) {
c++;
var _local12 = chars.slice();
var _local8 = broShots.slice();
var _local9 = FX.slice();
var _local2 = 0;
var _local13 = _local12.length;
while (_local2 < _local13) {
_root[_local12[_local2]].main();
_local2++;
}
_local2 = 0;
_local13 = _local8.length;
while (_local2 < _local13) {
_root[_local8[_local2]].main();
_local2++;
}
_local2 = 0;
_local13 = _local9.length;
while (_local2 < _local13) {
_root[_local9[_local2]].main();
_local2++;
}
if (c == 200) {
bgDeco.showing = false;
bgDeco.showBG("3G", 1);
}
if (c == 500) {
starColors = [19, 23];
}
if (c == 1000) {
showPlanet(["moon"]);
starColors = [13, 17];
}
if (c == 1500) {
starColors = [1, 5];
}
if (c == 1750) {
_root[char2].endStill();
}
if (c == 1800) {
star.stopIt();
_root[char].endPos();
_root[char2].endPos();
_root.attachMovie("endBG", "endBGClip", 350);
endBGClip._x = 0;
endBGClip._y = 0;
endBGClip.clip.buzzShip._visible = false;
endBGClip.clip.buzzPack._visible = false;
endBGClip.clip.zapShip._visible = false;
endBGClip.clip.zapPack._visible = false;
if (char2 == "dead") {
if ((char == "broShip1") || (char == "bro1")) {
endStatus = "bro1";
endBGClip.clip.buzzWife._visible = false;
endBGClip.clip.buzzCat._visible = false;
} else {
endStatus = "bro2";
endBGClip.clip.zapWife._visible = false;
endBGClip.clip.zapFrog._visible = false;
endBGClip.clip.zapBunny._visible = false;
}
} else {
endStatus = "both";
}
}
if (c < 1800) {
if (random(3) == 0) {
fxID++;
_root["rampageTrail" + fxID] = new classes.fx.RampageTrail(_root[char].x + random(40), _root[char].y + random(40), fxID);
addFX("rampageTrail" + fxID);
}
if (random(3) == 0) {
fxID++;
_root["rampageTrail" + fxID] = new classes.fx.RampageTrail(_root[char2].x + random(40), _root[char2].y + random(40), fxID);
addFX("rampageTrail" + fxID);
}
}
if (c == 1900) {
audio.playLevel1("gammaThemeAcoustic", 30, 0.05, 0.05);
}
if (c == 2300) {
_root[char].endPos2();
_root[char2].endPos2();
}
if (c == 2350) {
_root[char2].clip.body.shipStyles.gear.gotoAndStop(2);
}
if (c == 2375) {
_root[char].clip.body.shipStyles.gear.gotoAndStop(2);
}
if (c == 2800) {
endBGClip.clip.credits.play();
}
} else if (game == 3) {
} else if (game == 4) {
var _local2 = 0;
var _local13 = FX.length;
while (_local2 < _local13) {
_root[FX[_local2]].main();
_local2++;
}
}
};
level1MSArray = [16, 14, 28, 24, 26, 28, 34, 99, 26, 22, 22, 18, 99, 99, 16, 24, 99, 15, 22, 99, 99];
level2MSArray = [99, 13, 14, 99, 12, 12, 99, 99, 20, 16, 99, 18, 18, 30, 99, 99, 20, 99, 99, 99, 99, 99];
level3MSArray = [99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 14, 28, 30, 26, 99, 20, 12, 4, 18, 99, 99, 99, 99];
Symbol 12 MovieClip [fireBallTrail] Frame 1
stop();
Symbol 12 MovieClip [fireBallTrail] Frame 10
play();
Symbol 12 MovieClip [fireBallTrail] Frame 18
gotoAndPlay("shape" + (random(6) + 1));
Symbol 12 MovieClip [fireBallTrail] Frame 26
play();
Symbol 12 MovieClip [fireBallTrail] Frame 34
gotoAndPlay("shape" + (random(6) + 1));
Symbol 12 MovieClip [fireBallTrail] Frame 42
play();
Symbol 12 MovieClip [fireBallTrail] Frame 48
gotoAndPlay("shape" + (random(6) + 1));
Symbol 12 MovieClip [fireBallTrail] Frame 56
play();
Symbol 12 MovieClip [fireBallTrail] Frame 60
gotoAndPlay("shape" + (random(6) + 1));
Symbol 12 MovieClip [fireBallTrail] Frame 67
stop();
Symbol 31 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 2
stop();
Symbol 31 MovieClip Frame 7
_root.audio.playLevel3("smallDoorOpen", 10);
if (_root.game == 2) {
gotoAndPlay ("openEnd");
} else {
play();
}
Symbol 31 MovieClip Frame 13
stop();
Symbol 31 MovieClip Frame 26
play();
_root.audio.playLevel3("smallDoorOpen", 10);
Symbol 31 MovieClip Frame 34
_root.audio.playLevel4("droidHit2", 2);
stop();
Symbol 31 MovieClip Frame 38
play();
Symbol 31 MovieClip Frame 44
stop();
Symbol 43 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 5
play();
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 5
play();
Symbol 48 MovieClip Frame 10
stop();
Symbol 48 MovieClip Frame 15
play();
Symbol 48 MovieClip Frame 23
stop();
Symbol 49 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 2
stop();
Symbol 60 MovieClip Frame 7
play();
_root.audio.playLevel3("smallDoorOpen", 10);
Symbol 60 MovieClip Frame 13
stop();
Symbol 60 MovieClip Frame 26
play();
_root.audio.playLevel3("smallDoorOpen", 10);
Symbol 60 MovieClip Frame 34
_root.audio.playLevel4("droidHit2", 2);
stop();
Symbol 60 MovieClip Frame 39
play();
_root.audio.playLevel3("smallDoorOpen", 10);
Symbol 60 MovieClip Frame 46
stop();
Symbol 70 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 2
stop();
Symbol 70 MovieClip Frame 7
play();
_root.audio.playLevel3("smallDoorOpen", 10);
Symbol 70 MovieClip Frame 13
stop();
Symbol 70 MovieClip Frame 26
play();
_root.audio.playLevel3("smallDoorOpen", 10);
Symbol 70 MovieClip Frame 33
_root.audio.playLevel4("droidHit2", 2);
Symbol 72 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 2
stop();
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 2
stop();
Symbol 79 MovieClip Frame 7
play();
_root.audio.playLevel3("smallDoorOpen", 10);
Symbol 79 MovieClip Frame 13
stop();
Symbol 79 MovieClip Frame 26
play();
_root.audio.playLevel3("smallDoorOpen", 10);
Symbol 79 MovieClip Frame 33
_root.audio.playLevel4("droidHit2", 2);
Symbol 90 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 2
stop();
Symbol 90 MovieClip Frame 7
_root.audio.playLevel3("smallDoorOpen", 10);
if (_root.game == 2) {
gotoAndPlay ("openEnd");
} else {
play();
}
Symbol 90 MovieClip Frame 13
stop();
Symbol 90 MovieClip Frame 26
play();
_root.audio.playLevel3("smallDoorOpen", 10);
Symbol 90 MovieClip Frame 34
_root.audio.playLevel4("droidHit2", 2);
stop();
Symbol 90 MovieClip Frame 39
play();
Symbol 90 MovieClip Frame 45
stop();
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 2
stop();
Symbol 99 MovieClip Frame 7
play();
_root.audio.playLevel3("smallDoorOpen", 10);
Symbol 99 MovieClip Frame 13
stop();
Symbol 99 MovieClip Frame 26
play();
_root.audio.playLevel3("smallDoorOpen", 10);
Symbol 99 MovieClip Frame 33
_root.audio.playLevel4("droidHit2", 2);
Symbol 106 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 2
stop();
Symbol 106 MovieClip Frame 7
play();
_root.audio.playLevel3("smallDoorOpen", 10);
Symbol 106 MovieClip Frame 13
stop();
Symbol 106 MovieClip Frame 26
play();
_root.audio.playLevel3("smallDoorOpen", 10);
Symbol 106 MovieClip Frame 33
_root.audio.playLevel4("droidHit2", 2);
Symbol 117 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 2
stop();
Symbol 117 MovieClip Frame 7
_root.audio.playLevel3("smallDoorOpen", 10);
if (_root.game == 2) {
gotoAndPlay ("openEnd");
} else {
play();
}
Symbol 117 MovieClip Frame 13
stop();
Symbol 117 MovieClip Frame 26
play();
_root.audio.playLevel3("smallDoorOpen", 10);
Symbol 117 MovieClip Frame 34
_root.audio.playLevel4("droidHit2", 2);
stop();
Symbol 117 MovieClip Frame 40
play();
Symbol 117 MovieClip Frame 46
stop();
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 2
stop();
Symbol 128 MovieClip Frame 7
_root.audio.playLevel3("smallDoorOpen", 10);
if (_root.game == 2) {
gotoAndPlay ("openEnd");
} else {
play();
}
Symbol 128 MovieClip Frame 13
stop();
Symbol 128 MovieClip Frame 26
play();
_root.audio.playLevel3("smallDoorOpen", 10);
Symbol 128 MovieClip Frame 34
_root.audio.playLevel4("droidHit2", 2);
stop();
Symbol 128 MovieClip Frame 41
play();
Symbol 128 MovieClip Frame 47
stop();
Symbol 129 MovieClip Frame 1
stop();
Symbol 129 MovieClip Frame 2
stop();
Symbol 129 MovieClip Frame 3
stop();
Symbol 129 MovieClip Frame 4
stop();
Symbol 129 MovieClip Frame 5
stop();
Symbol 129 MovieClip Frame 6
stop();
Symbol 129 MovieClip Frame 7
stop();
Symbol 129 MovieClip Frame 8
stop();
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 2
stop();
Symbol 130 MovieClip Frame 3
stop();
Symbol 130 MovieClip Frame 4
stop();
Symbol 130 MovieClip Frame 5
stop();
Symbol 130 MovieClip Frame 6
stop();
Symbol 130 MovieClip Frame 7
stop();
Symbol 130 MovieClip Frame 8
stop();
Symbol 131 MovieClip [ship3B] Frame 1
stop();
if ((_root.char == "bro2") || (_root.char == "broShip2")) {
gotoAndStop ("bro2");
}
Symbol 131 MovieClip [ship3B] Frame 11
stop();
Symbol 131 MovieClip [ship3B] Frame 21
stop();
Symbol 131 MovieClip [ship3B] Frame 32
stop();
Symbol 134 MovieClip [batCStreak] Frame 30
end = true;
stop();
Symbol 138 Button
on (release) {
getURL ("mailto:pixeljamgames@gmail.com");
}
Symbol 142 MovieClip [ship3] Frame 1
stop();
if ((_root.char == "bro2") || (_root.char == "broShip2")) {
gotoAndStop ("bro2");
}
Symbol 142 MovieClip [ship3] Frame 11
stop();
Symbol 142 MovieClip [ship3] Frame 21
stop();
Symbol 142 MovieClip [ship3] Frame 32
stop();
Symbol 143 MovieClip [ship2] Frame 1
stop();
if ((_root.char == "bro2") || (_root.char == "broShip2")) {
gotoAndStop ("bro2");
}
Symbol 143 MovieClip [ship2] Frame 11
stop();
Symbol 143 MovieClip [ship2] Frame 21
stop();
Symbol 143 MovieClip [ship2] Frame 32
stop();
Symbol 207 MovieClip Frame 16
if (random(10) > 7) {
gotoAndPlay ("go");
} else {
gotoAndPlay (1);
}
Symbol 207 MovieClip Frame 19
play();
Symbol 207 MovieClip Frame 125
if (random(2) > 0) {
gotoAndPlay ("loop1");
}
Symbol 207 MovieClip Frame 149
if (random(2) > 0) {
gotoAndPlay ("leave");
}
Symbol 207 MovieClip Frame 179
if (random(2) > 0) {
gotoAndPlay ("jump");
}
Symbol 213 MovieClip Frame 1
play();
Symbol 213 MovieClip Frame 45
if (random(20) > 16) {
gotoAndPlay ("down");
}
Symbol 213 MovieClip Frame 46
gotoAndPlay (1);
Symbol 213 MovieClip Frame 90
if (random(20) > 16) {
gotoAndPlay (1);
}
Symbol 213 MovieClip Frame 91
gotoAndPlay ("down");
Symbol 216 MovieClip Frame 1
play();
Symbol 216 MovieClip Frame 13
if (random(20) > 18) {
gotoAndPlay ("down");
}
Symbol 216 MovieClip Frame 14
gotoAndPlay (1);
Symbol 216 MovieClip Frame 30
if (random(20) > 18) {
gotoAndPlay (1);
}
Symbol 216 MovieClip Frame 31
gotoAndPlay ("down");
Symbol 219 MovieClip Frame 1
play();
Symbol 219 MovieClip Frame 15
if (random(20) > 18) {
gotoAndPlay ("down");
}
Symbol 219 MovieClip Frame 16
gotoAndPlay (1);
Symbol 219 MovieClip Frame 35
if (random(20) > 18) {
gotoAndPlay (1);
}
Symbol 219 MovieClip Frame 36
gotoAndPlay ("down");
Symbol 222 MovieClip Frame 1
play();
Symbol 222 MovieClip Frame 18
if (random(20) > 18) {
gotoAndPlay ("down");
}
Symbol 222 MovieClip Frame 19
gotoAndPlay (1);
Symbol 222 MovieClip Frame 42
if (random(20) > 18) {
gotoAndPlay (1);
}
Symbol 222 MovieClip Frame 43
gotoAndPlay ("down");
Symbol 224 MovieClip Frame 1
stop();
Symbol 240 MovieClip [bgDeco] Frame 1
stop();
Symbol 240 MovieClip [bgDeco] Frame 6
stop();
Symbol 240 MovieClip [bgDeco] Frame 11
stop();
Symbol 240 MovieClip [bgDeco] Frame 16
stop();
Symbol 240 MovieClip [bgDeco] Frame 21
stop();
Symbol 240 MovieClip [bgDeco] Frame 26
stop();
Symbol 240 MovieClip [bgDeco] Frame 39
stop();
Symbol 240 MovieClip [bgDeco] Frame 44
stop();
Symbol 240 MovieClip [bgDeco] Frame 49
stop();
Symbol 240 MovieClip [bgDeco] Frame 54
stop();
Symbol 240 MovieClip [bgDeco] Frame 59
stop();
Symbol 240 MovieClip [bgDeco] Frame 64
stop();
Symbol 240 MovieClip [bgDeco] Frame 76
stop();
Symbol 240 MovieClip [bgDeco] Frame 81
stop();
Symbol 240 MovieClip [bgDeco] Frame 86
stop();
Symbol 240 MovieClip [bgDeco] Frame 91
stop();
Symbol 240 MovieClip [bgDeco] Frame 96
stop();
Symbol 240 MovieClip [bgDeco] Frame 101
stop();
Symbol 240 MovieClip [bgDeco] Frame 106
stop();
Symbol 245 MovieClip Frame 1
stop();
Symbol 245 MovieClip Frame 5
play();
Symbol 249 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 5
play();
Symbol 250 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 10
stop();
Symbol 261 MovieClip Frame 1
play();
Symbol 261 MovieClip Frame 7
stop();
Symbol 261 MovieClip Frame 16
stop();
Symbol 261 MovieClip Frame 26
stop();
Symbol 261 MovieClip Frame 36
stop();
Symbol 261 MovieClip Frame 46
stop();
Symbol 279 MovieClip Frame 1
play();
Symbol 279 MovieClip Frame 3
play();
Symbol 279 MovieClip Frame 13
gotoAndPlay ("still");
Symbol 279 MovieClip Frame 22
play();
Symbol 279 MovieClip Frame 32
gotoAndPlay ("U");
Symbol 279 MovieClip Frame 42
play();
Symbol 279 MovieClip Frame 52
gotoAndPlay ("F");
Symbol 279 MovieClip Frame 62
play();
Symbol 279 MovieClip Frame 72
gotoAndPlay ("B");
Symbol 279 MovieClip Frame 82
play();
Symbol 279 MovieClip Frame 92
gotoAndPlay ("D");
Symbol 305 MovieClip [bro1] Frame 1
stop();
Symbol 305 MovieClip [bro1] Frame 10
stop();
Symbol 305 MovieClip [bro1] Frame 20
stop();
Symbol 305 MovieClip [bro1] Frame 31
play();
Symbol 305 MovieClip [bro1] Frame 71
gotoAndStop ("faceRfireR");
Symbol 305 MovieClip [bro1] Frame 78
stop();
Symbol 305 MovieClip [bro1] Frame 88
stop();
Symbol 305 MovieClip [bro1] Frame 98
stop();
Symbol 305 MovieClip [bro1] Frame 109
play();
Symbol 305 MovieClip [bro1] Frame 148
gotoAndStop ("faceLfireL");
Symbol 306 MovieClip [bro1Switcher] Frame 1
play();
Symbol 306 MovieClip [bro1Switcher] Frame 51
stop();
Symbol 320 MovieClip Frame 1
play();
Symbol 320 MovieClip Frame 7
stop();
Symbol 320 MovieClip Frame 16
stop();
Symbol 320 MovieClip Frame 26
stop();
Symbol 320 MovieClip Frame 36
stop();
Symbol 320 MovieClip Frame 46
stop();
Symbol 341 MovieClip Frame 1
play();
Symbol 341 MovieClip Frame 3
play();
Symbol 341 MovieClip Frame 13
gotoAndPlay ("still");
Symbol 341 MovieClip Frame 22
play();
Symbol 341 MovieClip Frame 32
gotoAndPlay ("U");
Symbol 341 MovieClip Frame 42
play();
Symbol 341 MovieClip Frame 52
gotoAndPlay ("F");
Symbol 341 MovieClip Frame 62
play();
Symbol 341 MovieClip Frame 72
gotoAndPlay ("B");
Symbol 341 MovieClip Frame 82
play();
Symbol 341 MovieClip Frame 92
gotoAndPlay ("D");
Symbol 375 MovieClip [bro2] Frame 1
stop();
Symbol 375 MovieClip [bro2] Frame 10
stop();
Symbol 375 MovieClip [bro2] Frame 20
stop();
Symbol 375 MovieClip [bro2] Frame 72
gotoAndStop ("faceRfireR");
Symbol 375 MovieClip [bro2] Frame 82
stop();
Symbol 375 MovieClip [bro2] Frame 92
stop();
Symbol 375 MovieClip [bro2] Frame 102
stop();
Symbol 375 MovieClip [bro2] Frame 114
play();
Symbol 375 MovieClip [bro2] Frame 155
gotoAndStop ("faceLfireL");
Symbol 376 MovieClip [bro2Switcher] Frame 1
play();
Symbol 376 MovieClip [bro2Switcher] Frame 51
stop();
Symbol 377 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 9
play();
Symbol 396 MovieClip Frame 1
play();
Symbol 396 MovieClip Frame 2
if (random(5) > 0) {
prevFrame();
}
Symbol 396 MovieClip Frame 3
gotoAndPlay("f" + random(5));
Symbol 396 MovieClip Frame 10
play();
Symbol 396 MovieClip Frame 17
gotoAndPlay (1);
Symbol 396 MovieClip Frame 18
if (random(5) > 0) {
prevFrame();
}
Symbol 396 MovieClip Frame 30
play();
Symbol 396 MovieClip Frame 42
gotoAndPlay (1);
Symbol 396 MovieClip Frame 43
if (random(5) > 0) {
prevFrame();
}
Symbol 396 MovieClip Frame 61
play();
Symbol 396 MovieClip Frame 67
gotoAndPlay (1);
Symbol 396 MovieClip Frame 68
if (random(5) > 0) {
prevFrame();
}
Symbol 396 MovieClip Frame 80
play();
Symbol 396 MovieClip Frame 94
gotoAndPlay (1);
Symbol 396 MovieClip Frame 95
if (random(5) > 0) {
prevFrame();
}
Symbol 396 MovieClip Frame 105
play();
Symbol 396 MovieClip Frame 125
gotoAndPlay (1);
Symbol 396 MovieClip Frame 126
if (random(5) > 0) {
prevFrame();
}
Symbol 425 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 10
stop();
Symbol 425 MovieClip Frame 20
stop();
Symbol 425 MovieClip Frame 34
play();
Symbol 425 MovieClip Frame 60
gotoAndStop ("FU");
Symbol 425 MovieClip Frame 67
play();
Symbol 425 MovieClip Frame 151
gotoAndStop ("FU");
Symbol 425 MovieClip Frame 161
play();
Symbol 425 MovieClip Frame 173
shipStyles.ship.gotoAndPlay("open");
Symbol 425 MovieClip Frame 183
stop();
Symbol 425 MovieClip Frame 195
shipStyles.ship.gotoAndPlay("close");
play();
Symbol 425 MovieClip Frame 217
stop();
if (getOut) {
_root.broShip1.getOut();
}
delete getOut;
Symbol 425 MovieClip Frame 219
play();
Symbol 425 MovieClip Frame 229
shipStyles.ship.gotoAndPlay("open");
Symbol 425 MovieClip Frame 239
stop();
_root.broShip1.finalFunction();
Symbol 425 MovieClip Frame 249
play();
Symbol 425 MovieClip Frame 250
_root.broShip1.explosion();
Symbol 425 MovieClip Frame 251
_root.broShip1.explosion();
_root.broShip1.shipToJetPack();
Symbol 425 MovieClip Frame 253
_root.broShip1.explosion();
Symbol 425 MovieClip Frame 255
_root.broShip1.explosion();
Symbol 425 MovieClip Frame 258
_root.broShip1.explosion();
Symbol 425 MovieClip Frame 262
_root.broShip1.explosion();
_root.broShip1.removeShip();
stop();
Symbol 426 MovieClip [broShip1] Frame 1
stop();
Symbol 426 MovieClip [broShip1] Frame 10
stop();
Symbol 426 MovieClip [broShip1] Frame 20
stop();
Symbol 426 MovieClip [broShip1] Frame 30
stop();
Symbol 426 MovieClip [broShip1] Frame 40
stop();
Symbol 426 MovieClip [broShip1] Frame 50
stop();
Symbol 429 MovieClip [lifeMeter] Frame 1
stop();
Symbol 462 MovieClip Frame 1
stop();
Symbol 462 MovieClip Frame 10
stop();
Symbol 462 MovieClip Frame 20
stop();
Symbol 462 MovieClip Frame 29
play();
Symbol 462 MovieClip Frame 58
gotoAndStop ("FU");
Symbol 462 MovieClip Frame 65
play();
Symbol 462 MovieClip Frame 156
gotoAndStop ("FU");
Symbol 462 MovieClip Frame 165
play();
Symbol 462 MovieClip Frame 179
shipStyles.ship.gotoAndPlay("open");
Symbol 462 MovieClip Frame 187
stop();
Symbol 462 MovieClip Frame 199
shipStyles.ship.gotoAndPlay("close");
play();
Symbol 462 MovieClip Frame 221
stop();
if (getOut) {
_root.broShip2.getOut();
}
delete getOut;
Symbol 462 MovieClip Frame 229
play();
Symbol 462 MovieClip Frame 241
shipStyles.ship.gotoAndPlay("open");
Symbol 462 MovieClip Frame 251
stop();
_root.broShip2.finalFunction();
Symbol 462 MovieClip Frame 259
play();
Symbol 462 MovieClip Frame 260
_root.broShip2.explosion();
Symbol 462 MovieClip Frame 261
_root.broShip2.explosion();
_root.broShip2.shipToJetPack();
Symbol 462 MovieClip Frame 263
_root.broShip2.explosion();
Symbol 462 MovieClip Frame 265
_root.broShip2.explosion();
Symbol 462 MovieClip Frame 268
_root.broShip2.explosion();
Symbol 462 MovieClip Frame 272
_root.broShip2.explosion();
_root.broShip2.removeShip();
stop();
Symbol 463 MovieClip [broShip2] Frame 1
stop();
Symbol 463 MovieClip [broShip2] Frame 10
stop();
Symbol 463 MovieClip [broShip2] Frame 20
stop();
Symbol 463 MovieClip [broShip2] Frame 30
stop();
Symbol 463 MovieClip [broShip2] Frame 40
stop();
Symbol 463 MovieClip [broShip2] Frame 50
stop();
Symbol 466 MovieClip Frame 1
stop();
Symbol 466 MovieClip Frame 2
stop();
Symbol 466 MovieClip Frame 3
stop();
Symbol 466 MovieClip Frame 4
stop();
Symbol 466 MovieClip Frame 5
stop();
Symbol 466 MovieClip Frame 6
stop();
Symbol 466 MovieClip Frame 7
stop();
Symbol 466 MovieClip Frame 8
stop();
Symbol 466 MovieClip Frame 9
stop();
Symbol 466 MovieClip Frame 10
stop();
Symbol 466 MovieClip Frame 11
stop();
Symbol 466 MovieClip Frame 12
stop();
Symbol 466 MovieClip Frame 13
stop();
Symbol 466 MovieClip Frame 14
stop();
Symbol 466 MovieClip Frame 15
stop();
Symbol 466 MovieClip Frame 16
stop();
Symbol 466 MovieClip Frame 17
stop();
Symbol 466 MovieClip Frame 18
stop();
Symbol 466 MovieClip Frame 19
stop();
Symbol 466 MovieClip Frame 20
stop();
Symbol 467 MovieClip Frame 1
play();
Symbol 467 MovieClip Frame 10
stop();
Symbol 468 MovieClip [bigLaser] Frame 1
stop();
Symbol 468 MovieClip [bigLaser] Frame 10
stop();
Symbol 468 MovieClip [bigLaser] Frame 20
stop();
Symbol 468 MovieClip [bigLaser] Frame 30
stop();
Symbol 473 MovieClip Frame 1
if (random(4) == 1) {
gotoAndPlay ("green");
}
Symbol 473 MovieClip Frame 16
gotoAndPlay ("purple");
Symbol 473 MovieClip Frame 21
if (random(2) == 1) {
gotoAndPlay ("blue");
}
Symbol 473 MovieClip Frame 36
gotoAndPlay ("green");
Symbol 473 MovieClip Frame 57
gotoAndPlay ("blue");
Symbol 474 MovieClip [laserA] Frame 1
stop();
Symbol 474 MovieClip [laserA] Frame 10
stop();
Symbol 474 MovieClip [laserA] Frame 20
stop();
Symbol 474 MovieClip [laserA] Frame 30
stop();
Symbol 479 MovieClip Frame 1
play();
Symbol 479 MovieClip Frame 20
stop();
Symbol 479 MovieClip Frame 25
play();
Symbol 479 MovieClip Frame 46
stop();
Symbol 480 MovieClip [rapidLaser] Frame 1
stop();
Symbol 480 MovieClip [rapidLaser] Frame 10
stop();
Symbol 480 MovieClip [rapidLaser] Frame 20
stop();
Symbol 480 MovieClip [rapidLaser] Frame 30
stop();
Symbol 481 MovieClip Frame 1
play();
Symbol 481 MovieClip Frame 20
stop();
Symbol 481 MovieClip Frame 25
play();
Symbol 481 MovieClip Frame 46
stop();
Symbol 482 MovieClip [doubleRapidLaser] Frame 1
stop();
Symbol 482 MovieClip [doubleRapidLaser] Frame 10
stop();
Symbol 482 MovieClip [doubleRapidLaser] Frame 20
stop();
Symbol 482 MovieClip [doubleRapidLaser] Frame 30
stop();
Symbol 483 MovieClip [spreadLaserA] Frame 1
stop();
Symbol 483 MovieClip [spreadLaserA] Frame 10
stop();
Symbol 483 MovieClip [spreadLaserA] Frame 20
stop();
Symbol 483 MovieClip [spreadLaserA] Frame 30
stop();
Symbol 486 MovieClip Frame 1
stop();
Symbol 486 MovieClip Frame 2
stop();
Symbol 486 MovieClip Frame 3
stop();
Symbol 486 MovieClip Frame 4
stop();
Symbol 486 MovieClip Frame 5
stop();
Symbol 486 MovieClip Frame 6
stop();
Symbol 486 MovieClip Frame 7
stop();
Symbol 486 MovieClip Frame 8
stop();
Symbol 486 MovieClip Frame 9
stop();
Symbol 486 MovieClip Frame 10
stop();
Symbol 486 MovieClip Frame 11
stop();
Symbol 486 MovieClip Frame 12
stop();
Symbol 486 MovieClip Frame 13
stop();
Symbol 486 MovieClip Frame 14
stop();
Symbol 486 MovieClip Frame 15
stop();
Symbol 486 MovieClip Frame 16
stop();
Symbol 486 MovieClip Frame 17
stop();
Symbol 486 MovieClip Frame 18
stop();
Symbol 486 MovieClip Frame 19
stop();
Symbol 486 MovieClip Frame 20
stop();
Symbol 486 MovieClip Frame 30
stop();
Symbol 487 MovieClip Frame 1
play();
Symbol 487 MovieClip Frame 10
stop();
Symbol 488 MovieClip [superLaserA] Frame 1
stop();
Symbol 488 MovieClip [superLaserA] Frame 10
stop();
Symbol 488 MovieClip [superLaserA] Frame 20
stop();
Symbol 488 MovieClip [superLaserA] Frame 30
stop();
Symbol 491 MovieClip Frame 1
play();
Symbol 491 MovieClip Frame 20
stop();
Symbol 491 MovieClip Frame 25
play();
Symbol 491 MovieClip Frame 46
stop();
Symbol 492 MovieClip [superLaserB] Frame 1
stop();
Symbol 492 MovieClip [superLaserB] Frame 10
stop();
Symbol 492 MovieClip [superLaserB] Frame 20
stop();
Symbol 492 MovieClip [superLaserB] Frame 30
stop();
Symbol 497 MovieClip [twistLaser] Frame 1
stop();
Symbol 497 MovieClip [twistLaser] Frame 10
stop();
Symbol 497 MovieClip [twistLaser] Frame 20
stop();
Symbol 497 MovieClip [twistLaser] Frame 30
stop();
Symbol 663 MovieClip Frame 10
if (random(3) > 0) {
gotoAndPlay ("further");
}
Symbol 663 MovieClip Frame 27
if (random(10) > 5) {
gotoAndPlay ("walk");
}
Symbol 663 MovieClip Frame 98
if (random(10) > 5) {
gotoAndPlay ("loop1");
}
Symbol 663 MovieClip Frame 205
if (random(10) > 7) {
gotoAndPlay ("loop2");
}
Symbol 663 MovieClip Frame 339
if (random(10) > 5) {
gotoAndPlay ("jump");
}
Symbol 663 MovieClip Frame 429
gotoAndPlay (1);
Symbol 663 MovieClip Frame 435
play();
Symbol 663 MovieClip Frame 552
gotoAndPlay (10);
Symbol 663 MovieClip Frame 564
play();
Symbol 663 MovieClip Frame 636
if (random(10) > 5) {
gotoAndPlay ("walk2");
}
Symbol 663 MovieClip Frame 706
if (random(10) > 5) {
gotoAndPlay ("loop4");
}
Symbol 663 MovieClip Frame 798
if (random(10) > 7) {
gotoAndPlay ("loop5");
}
Symbol 663 MovieClip Frame 1085
if (random(2) == 0) {
gotoAndPlay ("further2");
}
Symbol 663 MovieClip Frame 1106
gotoAndPlay ("sit1");
Symbol 663 MovieClip Frame 1145
gotoAndPlay ("back");
Symbol 712 MovieClip Frame 1
stop();
Symbol 712 MovieClip Frame 74
if (_root.endStatus != "both") {
gotoAndPlay (120);
}
Symbol 712 MovieClip Frame 217
stop();
_parent.buzzWife.play();
Symbol 752 MovieClip Frame 1
stop();
Symbol 752 MovieClip Frame 143
_parent.buzzWife.play();
Symbol 752 MovieClip Frame 144
stop();
Symbol 784 MovieClip Frame 1
stop();
Symbol 784 MovieClip Frame 2
_parent.buzzShip._visible = false;
Symbol 784 MovieClip Frame 156
if (_root.endStatus != "both") {
gotoAndPlay (240);
}
Symbol 784 MovieClip Frame 268
if (random(2) == 0) {
gotoAndPlay ("loop1");
}
Symbol 784 MovieClip Frame 291
if (random(2) == 0) {
gotoAndPlay ("loop3");
}
Symbol 784 MovieClip Frame 302
if (random(10) > 0) {
gotoAndPlay ("loop2");
}
Symbol 784 MovieClip Frame 322
if (random(10) > 0) {
gotoAndPlay ("loop3");
}
Symbol 784 MovieClip Frame 335
if (random(10) > 0) {
gotoAndPlay ("loop4");
}
Symbol 784 MovieClip Frame 449
gotoAndPlay ("loop1");
Symbol 825 MovieClip Frame 1
if (big) {
big = false;
_parent.zapBunny._x = _parent.zapBunny._x + 15;
}
Symbol 825 MovieClip Frame 2
if (random(15) == 0) {
gotoAndPlay ("bigHop1");
}
Symbol 825 MovieClip Frame 3
if (random(3) > 0) {
gotoAndPlay ("hop1");
}
Symbol 825 MovieClip Frame 14
if (random(10) > 5) {
gotoAndPlay (1);
}
Symbol 825 MovieClip Frame 51
if (random(10) > 4) {
var tmpX = (_parent.zapBunny._x - 24);
if (tmpX > 500) {
_parent.zapBunny._x = _parent.zapBunny._x - 24;
gotoAndPlay (1);
}
}
Symbol 825 MovieClip Frame 74
if (random(10) > 5) {
gotoAndPlay ("loop1");
}
Symbol 825 MovieClip Frame 80
gotoAndPlay ("loop3");
Symbol 825 MovieClip Frame 138
if (random(10) > 4) {
var tmpX = (_parent.zapBunny._x - 39);
if (tmpX > 500) {
_parent.zapBunny._x = _parent.zapBunny._x - 39;
gotoAndPlay (1);
}
}
Symbol 825 MovieClip Frame 158
big = true;
Symbol 825 MovieClip Frame 159
if (big) {
big = false;
_parent.zapBunny._x = _parent.zapBunny._x - 15;
}
Symbol 825 MovieClip Frame 160
if (random(15) == 0) {
gotoAndPlay ("bigHop2");
}
Symbol 825 MovieClip Frame 161
if (random(3) > 0) {
gotoAndPlay ("hop2");
}
Symbol 825 MovieClip Frame 172
if (random(10) > 5) {
gotoAndPlay ("loop3");
}
Symbol 825 MovieClip Frame 209
if (random(10) > 4) {
var tmpX = (_parent.zapBunny._x + 24);
if (tmpX < 807) {
_parent.zapBunny._x = _parent.zapBunny._x + 24;
gotoAndPlay ("loop3");
}
}
Symbol 825 MovieClip Frame 232
if (random(10) > 5) {
gotoAndPlay ("loop4");
}
Symbol 825 MovieClip Frame 238
gotoAndPlay (1);
Symbol 825 MovieClip Frame 296
if (random(10) > 4) {
var tmpX = (_parent.zapBunny._x + 39);
if (tmpX < 807) {
_parent.zapBunny._x = _parent.zapBunny._x + 39;
gotoAndPlay ("loop3");
}
}
Symbol 825 MovieClip Frame 312
big = true;
gotoAndPlay (1);
Symbol 877 MovieClip Frame 1
stop();
Symbol 877 MovieClip Frame 15
if (_root.endStatus != "both") {
gotoAndPlay (57);
}
Symbol 877 MovieClip Frame 214
stop();
_parent.zapWife.play();
Symbol 920 MovieClip Frame 1
stop();
Symbol 920 MovieClip Frame 144
_parent.zapWife.play();
Symbol 920 MovieClip Frame 145
stop();
Symbol 969 MovieClip Frame 1
stop();
Symbol 969 MovieClip Frame 2
_parent.zapShip._visible = false;
Symbol 969 MovieClip Frame 255
if (_root.endStatus != "both") {
gotoAndPlay (325);
}
Symbol 969 MovieClip Frame 357
if (random(2) == 0) {
gotoAndPlay ("loop1");
}
Symbol 969 MovieClip Frame 385
if (random(10) > 0) {
gotoAndPlay ("loop2");
}
Symbol 969 MovieClip Frame 388
if (random(2) == 0) {
gotoAndPlay ("loop3");
}
Symbol 969 MovieClip Frame 407
if (random(10) > 0) {
gotoAndPlay ("loop3");
}
Symbol 969 MovieClip Frame 456
if (random(10) > 0) {
gotoAndPlay ("loop4");
}
Symbol 969 MovieClip Frame 561
gotoAndPlay ("loop1");
Symbol 1009 MovieClip Frame 4
if (random(3) == 0) {
gotoAndPlay ("hop1");
}
Symbol 1009 MovieClip Frame 16
if (random(10) > 1) {
gotoAndPlay (1);
}
Symbol 1009 MovieClip Frame 30
if (random(10) == 0) {
gotoAndPlay ("snack");
}
Symbol 1009 MovieClip Frame 52
if (random(10) > 5) {
var tmpX = (_parent.zapFrog._x - 48);
if (tmpX > 300) {
_parent.zapFrog._x = _parent.zapFrog._x - 48;
gotoAndPlay (1);
}
}
Symbol 1009 MovieClip Frame 76
if (random(10) > 5) {
gotoAndPlay ("flip");
}
Symbol 1009 MovieClip Frame 83
if (random(10) > 2) {
gotoAndPlay ("flip");
}
Symbol 1009 MovieClip Frame 121
if (random(3) == 0) {
gotoAndPlay ("hop2");
}
Symbol 1009 MovieClip Frame 137
if (random(10) > 2) {
gotoAndPlay ("loop1");
}
Symbol 1009 MovieClip Frame 169
if (random(10) > 5) {
var tmpX = (_parent.zapFrog._x + 48);
if (tmpX < 876) {
_parent.zapFrog._x = _parent.zapFrog._x + 48;
gotoAndPlay ("loop1");
}
}
Symbol 1009 MovieClip Frame 203
if (random(10) > 5) {
gotoAndPlay (1);
}
Symbol 1009 MovieClip Frame 233
if (random(10) > 5) {
gotoAndPlay ("loop2");
} else {
gotoAndPlay (1);
}
Symbol 1009 MovieClip Frame 235
play();
Symbol 1009 MovieClip Frame 352
gotoAndPlay (1);
Symbol 1080 MovieClip Frame 1
gotoAndPlay((("seq" + (random(4) + 1)) + "Part") + (random(5) + 1));
Symbol 1080 MovieClip Frame 22
gotoAndPlay((("seq" + (random(4) + 1)) + "Part") + (random(5) + 1));
Symbol 1080 MovieClip Frame 51
gotoAndPlay((("seq" + (random(4) + 1)) + "Part") + (random(5) + 1));
Symbol 1080 MovieClip Frame 82
gotoAndPlay((("seq" + (random(4) + 1)) + "Part") + (random(5) + 1));
Symbol 1080 MovieClip Frame 111
gotoAndPlay((("seq" + (random(4) + 1)) + "Part") + (random(5) + 1));
Symbol 1090 MovieClip Frame 1
gotoAndPlay((("seq" + (random(4) + 1)) + "Part") + (random(5) + 1));
Symbol 1090 MovieClip Frame 22
gotoAndPlay("Part" + (random(5) + 1));
Symbol 1092 MovieClip Frame 1
gotoAndPlay((("seq" + (random(4) + 1)) + "Part") + (random(5) + 1));
Symbol 1092 MovieClip Frame 22
gotoAndPlay((("seq" + (random(4) + 1)) + "Part") + (random(5) + 1));
Symbol 1092 MovieClip Frame 51
gotoAndPlay((("seq" + (random(4) + 1)) + "Part") + (random(5) + 1));
Symbol 1092 MovieClip Frame 82
gotoAndPlay((("seq" + (random(4) + 1)) + "Part") + (random(5) + 1));
Symbol 1092 MovieClip Frame 111
gotoAndPlay((("seq" + (random(4) + 1)) + "Part") + (random(5) + 1));
Symbol 1095 MovieClip Frame 1
stop();
Symbol 1095 MovieClip Frame 2
stop();
Symbol 1101 Button
on (release) {
_root.restart();
}
Symbol 1102 Button
on (release) {
getURL ("http://www.pixeljam.com/downloads/gammaThemeVocal.zip");
}
Symbol 1103 Button
on (release) {
getURL ("http://www.pixeljam.com/downloads/gammaThemeAcoustic.zip");
}
Symbol 1116 MovieClip Frame 1
stop();
_root.final = true;
score = _root.stats.score;
accu = Math.round((_root.stats.hit / _root.stats.fired) * 100) + "%";
enem = (_root.stats.destroyed + " / ") + _root.stats.created;
coins = _root.stats.totalCoins;
gems = _root.stats.totalGems;
timer = Math.round(_root.c2 / 30) + " seconds";
Symbol 1117 MovieClip Frame 1
stop();
Symbol 1117 MovieClip Frame 2
play();
Symbol 1117 MovieClip Frame 1484
stop();
Symbol 1118 MovieClip Frame 1
stop();
Symbol 1119 MovieClip [endBG] Frame 1
play();
Symbol 1119 MovieClip [endBG] Frame 501
stop();
Symbol 1126 MovieClip Frame 70
gotoAndPlay ("a");
Symbol 1126 MovieClip Frame 93
gotoAndPlay ("b");
Symbol 1144 MovieClip Frame 1
stop();
Symbol 1144 MovieClip Frame 10
play();
Symbol 1144 MovieClip Frame 16
stop();
tail.gotoAndPlay("b");
Symbol 1144 MovieClip Frame 20
play();
Symbol 1144 MovieClip Frame 37
gotoAndStop ("main");
Symbol 1144 MovieClip Frame 45
play();
Symbol 1145 MovieClip [batA] Frame 1
stop();
Symbol 1145 MovieClip [batA] Frame 10
stop();
Symbol 1145 MovieClip [batA] Frame 20
stop();
Symbol 1145 MovieClip [batA] Frame 30
stop();
Symbol 1145 MovieClip [batA] Frame 40
stop();
Symbol 1151 MovieClip Frame 70
gotoAndPlay ("a");
Symbol 1151 MovieClip Frame 93
gotoAndPlay ("b");
Symbol 1182 MovieClip Frame 1
stop();
Symbol 1182 MovieClip Frame 10
play();
Symbol 1182 MovieClip Frame 16
stop();
tail.gotoAndPlay("b");
Symbol 1182 MovieClip Frame 20
play();
Symbol 1182 MovieClip Frame 37
gotoAndStop ("main");
Symbol 1182 MovieClip Frame 45
play();
Symbol 1182 MovieClip Frame 71
gotoAndStop ("main");
Symbol 1182 MovieClip Frame 75
play();
Symbol 1182 MovieClip Frame 89
stop();
Symbol 1183 MovieClip [batB] Frame 1
stop();
Symbol 1183 MovieClip [batB] Frame 10
stop();
Symbol 1183 MovieClip [batB] Frame 20
stop();
Symbol 1183 MovieClip [batB] Frame 30
stop();
Symbol 1183 MovieClip [batB] Frame 40
stop();
Symbol 1213 MovieClip Frame 1
play();
Symbol 1213 MovieClip Frame 38
gotoAndPlay (30);
Symbol 1214 MovieClip Frame 1
stop();
Symbol 1214 MovieClip Frame 10
play();
Symbol 1214 MovieClip Frame 16
stop();
tail.gotoAndPlay("b");
Symbol 1214 MovieClip Frame 20
play();
Symbol 1214 MovieClip Frame 37
gotoAndStop ("main");
Symbol 1214 MovieClip Frame 45
play();
Symbol 1214 MovieClip Frame 71
gotoAndStop ("main");
Symbol 1214 MovieClip Frame 76
play();
Symbol 1214 MovieClip Frame 130
gotoAndPlay ("loop");
Symbol 1215 MovieClip [batC] Frame 1
stop();
Symbol 1215 MovieClip [batC] Frame 10
stop();
Symbol 1215 MovieClip [batC] Frame 20
stop();
Symbol 1215 MovieClip [batC] Frame 30
stop();
Symbol 1234 MovieClip Frame 1
play();
Symbol 1234 MovieClip Frame 19
gotoAndPlay ("main");
Symbol 1234 MovieClip Frame 27
play();
Symbol 1234 MovieClip Frame 49
gotoAndPlay ("leave");
Symbol 1234 MovieClip Frame 55
play();
Symbol 1234 MovieClip Frame 69
stop();
Symbol 1234 MovieClip Frame 75
play();
Symbol 1234 MovieClip Frame 81
gotoAndPlay ("leave");
Symbol 1234 MovieClip Frame 87
play();
Symbol 1234 MovieClip Frame 93
stop();
Symbol 1249 MovieClip Frame 1
stop();
Symbol 1249 MovieClip Frame 10
stop();
Symbol 1249 MovieClip Frame 20
stop();
Symbol 1265 MovieClip Frame 1
stop();
Symbol 1265 MovieClip Frame 10
play();
Symbol 1265 MovieClip Frame 35
stop();
Symbol 1267 MovieClip [blasterA] Frame 1
stop();
Symbol 1267 MovieClip [blasterA] Frame 10
stop();
Symbol 1289 MovieClip Frame 1
gotoAndPlay("f" + (random(4) + 1));
Symbol 1289 MovieClip Frame 5
play();
Symbol 1289 MovieClip Frame 10
gotoAndPlay("f" + (random(4) + 1));
Symbol 1289 MovieClip Frame 15
play();
Symbol 1289 MovieClip Frame 20
gotoAndPlay("f" + (random(4) + 1));
Symbol 1289 MovieClip Frame 25
play();
Symbol 1289 MovieClip Frame 30
gotoAndPlay("f" + (random(4) + 1));
Symbol 1289 MovieClip Frame 35
play();
Symbol 1289 MovieClip Frame 40
gotoAndPlay("f" + (random(4) + 1));
Symbol 1298 MovieClip Frame 1
stop();
Symbol 1298 MovieClip Frame 10
stop();
Symbol 1298 MovieClip Frame 20
stop();
Symbol 1298 MovieClip Frame 30
stop();
Symbol 1299 MovieClip [blasterALaserSeg] Frame 1
stop();
Symbol 1299 MovieClip [blasterALaserSeg] Frame 10
stop();
Symbol 1299 MovieClip [blasterALaserSeg] Frame 20
stop();
Symbol 1299 MovieClip [blasterALaserSeg] Frame 30
stop();
Symbol 1299 MovieClip [blasterALaserSeg] Frame 40
stop();
Symbol 1299 MovieClip [blasterALaserSeg] Frame 50
stop();
Symbol 1337 MovieClip Frame 1
stop();
Symbol 1337 MovieClip Frame 10
play();
Symbol 1337 MovieClip Frame 30
stop();
Symbol 1337 MovieClip Frame 40
play();
Symbol 1337 MovieClip Frame 60
gotoAndStop ("main");
Symbol 1337 MovieClip Frame 70
play();
Symbol 1337 MovieClip Frame 90
stop();
Symbol 1337 MovieClip Frame 100
play();
Symbol 1337 MovieClip Frame 120
gotoAndStop ("main");
Symbol 1340 MovieClip Frame 1
stop();
Symbol 1340 MovieClip Frame 21
gotoAndStop ("main");
Symbol 1340 MovieClip Frame 25
_parent.laser._visible = false;
Symbol 1340 MovieClip Frame 36
_parent.laser._visible = true;
gotoAndStop ("main");
Symbol 1365 MovieClip Frame 1
stop();
Symbol 1365 MovieClip Frame 16
play();
Symbol 1365 MovieClip Frame 24
stop();
Symbol 1365 MovieClip Frame 40
play();
Symbol 1365 MovieClip Frame 48
stop();
Symbol 1365 MovieClip Frame 60
play();
Symbol 1365 MovieClip Frame 84
gotoAndStop ("R");
Symbol 1365 MovieClip Frame 90
play();
Symbol 1365 MovieClip Frame 114
gotoAndStop ("L");
Symbol 1365 MovieClip Frame 119
play();
Symbol 1365 MovieClip Frame 151
gotoAndPlay ("spin");
Symbol 1373 MovieClip Frame 15
gotoAndPlay ("main");
Symbol 1373 MovieClip Frame 28
gotoAndPlay ("main");
Symbol 1373 MovieClip Frame 62
gotoAndPlay ("main");
Symbol 1374 MovieClip Frame 1
stop();
Symbol 1397 MovieClip [bomberA] Frame 1
stop();
Symbol 1397 MovieClip [bomberA] Frame 20
stop();
Symbol 1397 MovieClip [bomberA] Frame 39
gotoAndStop ("main");
Symbol 1397 MovieClip [bomberA] Frame 60
stop();
Symbol 1397 MovieClip [bomberA] Frame 79
gotoAndStop ("main");
Symbol 1406 MovieClip [bomberALaserSeg] Frame 1
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 2
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 3
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 4
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 5
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 6
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 7
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 8
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 9
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 10
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 11
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 12
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 13
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 14
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 15
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 16
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 17
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 18
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 19
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 20
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 21
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 22
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 23
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 24
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 25
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 26
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 27
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 28
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 29
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 30
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 31
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 32
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 33
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 34
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 35
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 36
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 37
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 38
stop();
Symbol 1406 MovieClip [bomberALaserSeg] Frame 39
stop();
Symbol 1432 MovieClip Frame 1
stop();
Symbol 1432 MovieClip Frame 16
play();
Symbol 1432 MovieClip Frame 24
stop();
Symbol 1432 MovieClip Frame 40
play();
Symbol 1432 MovieClip Frame 48
stop();
Symbol 1432 MovieClip Frame 60
play();
Symbol 1432 MovieClip Frame 84
gotoAndStop ("R");
Symbol 1432 MovieClip Frame 90
play();
Symbol 1432 MovieClip Frame 114
gotoAndStop ("L");
Symbol 1432 MovieClip Frame 119
play();
Symbol 1432 MovieClip Frame 151
gotoAndPlay ("spin");
Symbol 1455 MovieClip [bomberB] Frame 1
stop();
Symbol 1455 MovieClip [bomberB] Frame 20
stop();
Symbol 1455 MovieClip [bomberB] Frame 39
gotoAndStop ("main");
Symbol 1455 MovieClip [bomberB] Frame 60
stop();
Symbol 1455 MovieClip [bomberB] Frame 79
gotoAndStop ("main");
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 1
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 2
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 3
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 4
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 5
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 6
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 7
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 8
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 9
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 10
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 11
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 12
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 13
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 14
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 15
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 16
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 17
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 18
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 19
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 20
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 21
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 22
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 23
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 24
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 25
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 26
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 27
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 28
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 29
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 30
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 31
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 32
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 33
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 34
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 35
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 36
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 37
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 38
stop();
Symbol 1458 MovieClip [bomberBLaserSeg] Frame 39
stop();
Symbol 1476 MovieClip Frame 1
play();
Symbol 1476 MovieClip Frame 19
gotoAndPlay ("main");
Symbol 1476 MovieClip Frame 25
play();
Symbol 1476 MovieClip Frame 41
stop();
Symbol 1476 MovieClip Frame 52
play();
Symbol 1483 MovieClip Frame 1
stop();
Symbol 1483 MovieClip Frame 10
play();
Symbol 1493 MovieClip Frame 86
gotoAndPlay ("main");
Symbol 1505 MovieClip Frame 63
stop();
Symbol 1506 MovieClip Frame 1
stop();
Symbol 1506 MovieClip Frame 10
play();
Symbol 1506 MovieClip Frame 16
stop();
Symbol 1506 MovieClip Frame 19
play();
Symbol 1506 MovieClip Frame 27
stop();
Symbol 1506 MovieClip Frame 35
play();
Symbol 1506 MovieClip Frame 43
stop();
Symbol 1507 MovieClip [bugA] Frame 1
stop();
Symbol 1507 MovieClip [bugA] Frame 10
stop();
Symbol 1507 MovieClip [bugA] Frame 20
stop();
Symbol 1507 MovieClip [bugA] Frame 30
stop();
Symbol 1510 MovieClip [bugAFireA] Frame 1
stop();
Symbol 1510 MovieClip [bugAFireA] Frame 10
stop();
Symbol 1510 MovieClip [bugAFireA] Frame 20
stop();
Symbol 1510 MovieClip [bugAFireA] Frame 30
stop();
Symbol 1515 MovieClip [bugAFireB] Frame 1
stop();
Symbol 1515 MovieClip [bugAFireB] Frame 10
stop();
Symbol 1515 MovieClip [bugAFireB] Frame 20
stop();
Symbol 1515 MovieClip [bugAFireB] Frame 30
stop();
Symbol 1529 MovieClip Frame 41
stop();
Symbol 1530 MovieClip [bugASwitchBlast] Frame 1
stop();
Symbol 1530 MovieClip [bugASwitchBlast] Frame 10
stop();
Symbol 1530 MovieClip [bugASwitchBlast] Frame 20
stop();
Symbol 1530 MovieClip [bugASwitchBlast] Frame 30
stop();
Symbol 1546 MovieClip Frame 1
play();
Symbol 1546 MovieClip Frame 23
gotoAndPlay ("main");
Symbol 1546 MovieClip Frame 29
play();
Symbol 1546 MovieClip Frame 45
stop();
Symbol 1546 MovieClip Frame 56
play();
Symbol 1552 MovieClip Frame 1
stop();
Symbol 1552 MovieClip Frame 10
play();
Symbol 1563 MovieClip Frame 86
gotoAndPlay ("main");
Symbol 1580 MovieClip Frame 63
stop();
Symbol 1581 MovieClip Frame 1
stop();
Symbol 1581 MovieClip Frame 10
play();
Symbol 1581 MovieClip Frame 16
stop();
Symbol 1581 MovieClip Frame 19
play();
Symbol 1581 MovieClip Frame 27
stop();
Symbol 1581 MovieClip Frame 35
play();
Symbol 1581 MovieClip Frame 43
stop();
Symbol 1582 MovieClip [bugB] Frame 1
stop();
Symbol 1582 MovieClip [bugB] Frame 10
stop();
Symbol 1582 MovieClip [bugB] Frame 20
stop();
Symbol 1582 MovieClip [bugB] Frame 30
stop();
Symbol 1585 MovieClip [bugBFireA] Frame 1
stop();
Symbol 1585 MovieClip [bugBFireA] Frame 10
stop();
Symbol 1585 MovieClip [bugBFireA] Frame 20
stop();
Symbol 1585 MovieClip [bugBFireA] Frame 30
stop();
Symbol 1590 MovieClip [bugBFireB] Frame 1
stop();
Symbol 1590 MovieClip [bugBFireB] Frame 10
stop();
Symbol 1590 MovieClip [bugBFireB] Frame 20
stop();
Symbol 1590 MovieClip [bugBFireB] Frame 30
stop();
Symbol 1597 MovieClip [deathDark] Frame 1
stop();
Symbol 1597 MovieClip [deathDark] Frame 2
play();
Symbol 1597 MovieClip [deathDark] Frame 193
play();
Symbol 1597 MovieClip [deathDark] Frame 253
end = true;
stop();
Symbol 1603 MovieClip Frame 1
gotoAndPlay("f" + _root.randRange(1, 3));
Symbol 1603 MovieClip Frame 2
play();
Symbol 1603 MovieClip Frame 3
gotoAndPlay("f" + _root.randRange(1, 3));
Symbol 1603 MovieClip Frame 5
play();
Symbol 1603 MovieClip Frame 6
gotoAndPlay("f" + _root.randRange(1, 3));
Symbol 1603 MovieClip Frame 8
play();
Symbol 1603 MovieClip Frame 9
gotoAndPlay("f" + _root.randRange(1, 3));
Symbol 1610 MovieClip Frame 1
gotoAndPlay("f" + _root.randRange(1, 3));
Symbol 1610 MovieClip Frame 2
play();
Symbol 1610 MovieClip Frame 3
gotoAndPlay("f" + _root.randRange(1, 5));
Symbol 1610 MovieClip Frame 5
play();
Symbol 1610 MovieClip Frame 6
gotoAndPlay("f" + _root.randRange(1, 5));
Symbol 1610 MovieClip Frame 8
play();
Symbol 1610 MovieClip Frame 9
gotoAndPlay("f" + _root.randRange(1, 5));
Symbol 1610 MovieClip Frame 11
play();
Symbol 1610 MovieClip Frame 12
gotoAndPlay("f" + _root.randRange(1, 5));
Symbol 1610 MovieClip Frame 14
play();
Symbol 1610 MovieClip Frame 15
gotoAndPlay("f" + _root.randRange(1, 5));
Symbol 1616 MovieClip Frame 1
Symbol 1616 MovieClip Frame 10
play();
Symbol 1616 MovieClip Frame 19
gotoAndPlay ("go");
Symbol 1622 MovieClip Frame 1
stop();
Symbol 1625 MovieClip Frame 1
if (_root.deathHead.phase != 6) {
stop();
}
Symbol 1639 MovieClip Frame 1
stop();
Symbol 1642 MovieClip Frame 1
if (_root.deathHead.phase != 6) {
stop();
}
Symbol 1675 MovieClip Frame 1
stop();
Symbol 1675 MovieClip Frame 2
stop();
Symbol 1675 MovieClip Frame 3
stop();
Symbol 1675 MovieClip Frame 4
stop();
Symbol 1675 MovieClip Frame 5
stop();
Symbol 1675 MovieClip Frame 6
stop();
Symbol 1675 MovieClip Frame 7
stop();
Symbol 1675 MovieClip Frame 8
stop();
Symbol 1675 MovieClip Frame 9
stop();
Symbol 1675 MovieClip Frame 10
stop();
Symbol 1675 MovieClip Frame 11
stop();
Symbol 1675 MovieClip Frame 12
stop();
Symbol 1675 MovieClip Frame 13
stop();
Symbol 1675 MovieClip Frame 15
stop();
Symbol 1675 MovieClip Frame 16
stop();
Symbol 1675 MovieClip Frame 17
stop();
Symbol 1675 MovieClip Frame 18
stop();
Symbol 1675 MovieClip Frame 19
stop();
Symbol 1675 MovieClip Frame 20
stop();
Symbol 1675 MovieClip Frame 21
stop();
Symbol 1675 MovieClip Frame 22
stop();
Symbol 1675 MovieClip Frame 23
stop();
Symbol 1675 MovieClip Frame 24
stop();
Symbol 1675 MovieClip Frame 25
stop();
Symbol 1675 MovieClip Frame 26
stop();
Symbol 1675 MovieClip Frame 27
stop();
Symbol 1675 MovieClip Frame 30
stop();
Symbol 1675 MovieClip Frame 31
stop();
Symbol 1675 MovieClip Frame 32
stop();
Symbol 1675 MovieClip Frame 33
stop();
Symbol 1675 MovieClip Frame 34
stop();
Symbol 1675 MovieClip Frame 35
stop();
Symbol 1675 MovieClip Frame 36
stop();
Symbol 1675 MovieClip Frame 37
stop();
Symbol 1675 MovieClip Frame 38
stop();
Symbol 1675 MovieClip Frame 39
stop();
Symbol 1675 MovieClip Frame 40
stop();
Symbol 1675 MovieClip Frame 41
stop();
Symbol 1675 MovieClip Frame 42
stop();
Symbol 1675 MovieClip Frame 50
play();
Symbol 1675 MovieClip Frame 89
stop();
Symbol 1675 MovieClip Frame 90
play();
Symbol 1675 MovieClip Frame 129
stop();
Symbol 1675 MovieClip Frame 130
play();
Symbol 1675 MovieClip Frame 169
stop();
Symbol 1678 MovieClip Frame 1
stop();
Symbol 1678 MovieClip Frame 2
stop();
Symbol 1678 MovieClip Frame 3
stop();
Symbol 1678 MovieClip Frame 4
stop();
Symbol 1678 MovieClip Frame 5
stop();
Symbol 1678 MovieClip Frame 6
stop();
Symbol 1678 MovieClip Frame 7
stop();
Symbol 1678 MovieClip Frame 8
stop();
Symbol 1678 MovieClip Frame 9
stop();
Symbol 1678 MovieClip Frame 10
stop();
Symbol 1678 MovieClip Frame 11
stop();
Symbol 1678 MovieClip Frame 20
play();
Symbol 1678 MovieClip Frame 48
gotoAndPlay (20);
Symbol 1678 MovieClip Frame 60
stop();
Symbol 1681 MovieClip Frame 1
stop();
Symbol 1681 MovieClip Frame 2
play();
Symbol 1681 MovieClip Frame 9
gotoAndStop (1);
Symbol 1681 MovieClip Frame 12
play();
Symbol 1681 MovieClip Frame 19
gotoAndStop (1);
Symbol 1681 MovieClip Frame 22
play();
Symbol 1681 MovieClip Frame 29
gotoAndStop (1);
Symbol 1690 MovieClip Frame 1
stop();
Symbol 1690 MovieClip Frame 2
play();
Symbol 1690 MovieClip Frame 9
gotoAndStop (1);
Symbol 1690 MovieClip Frame 12
play();
Symbol 1690 MovieClip Frame 19
gotoAndStop (1);
Symbol 1690 MovieClip Frame 22
play();
Symbol 1690 MovieClip Frame 29
gotoAndStop (1);
Symbol 1690 MovieClip Frame 35
play();
Symbol 1703 MovieClip [deathHead] Frame 1
stop();
Symbol 1703 MovieClip [deathHead] Frame 10
stop();
Symbol 1703 MovieClip [deathHead] Frame 19
stop();
Symbol 1703 MovieClip [deathHead] Frame 30
play();
Symbol 1703 MovieClip [deathHead] Frame 58
gotoAndPlay ("spin");
Symbol 1703 MovieClip [deathHead] Frame 63
play();
Symbol 1710 MovieClip [deathLaser] Frame 1
stop();
Instance of Symbol 1706 MovieClip in Symbol 1710 MovieClip [deathLaser] Frame 1
onClipEvent (load) {
if (_parent.eight) {
this._alpha = random(20) + 80;
} else {
this._alpha = random(20);
}
}
Symbol 1710 MovieClip [deathLaser] Frame 10
stop();
Instance of Symbol 1706 MovieClip in Symbol 1710 MovieClip [deathLaser] Frame 10
onClipEvent (load) {
this._alpha = random(100);
}
Symbol 1710 MovieClip [deathLaser] Frame 20
stop();
Symbol 1710 MovieClip [deathLaser] Frame 30
stop();
Symbol 1719 MovieClip Frame 1
gotoAndStop(random(7) + 2);
Symbol 1719 MovieClip Frame 2
gotoAndStop(random(5) + 2);
Symbol 1719 MovieClip Frame 3
gotoAndStop(random(5) + 2);
Symbol 1719 MovieClip Frame 4
gotoAndStop(random(5) + 2);
Symbol 1719 MovieClip Frame 5
gotoAndStop(random(5) + 2);
Symbol 1719 MovieClip Frame 6
gotoAndStop(random(5) + 2);
Symbol 1719 MovieClip Frame 7
gotoAndStop(random(5) + 2);
Symbol 1719 MovieClip Frame 8
gotoAndStop(random(5) + 2);
Symbol 1720 MovieClip [deathLaserTrail] Frame 1
stop();
Symbol 1720 MovieClip [deathLaserTrail] Frame 10
stop();
Symbol 1720 MovieClip [deathLaserTrail] Frame 20
stop();
Symbol 1720 MovieClip [deathLaserTrail] Frame 30
stop();
Symbol 1729 MovieClip [deathNode] Frame 1
play();
Symbol 1729 MovieClip [deathNode] Frame 19
end = true;
Symbol 1733 MovieClip [deathWallFX] Frame 1
stop();
Symbol 1733 MovieClip [deathWallFX] Frame 2
stop();
Symbol 1751 MovieClip Frame 1
play();
Symbol 1751 MovieClip Frame 21
gotoAndPlay ("main");
Symbol 1751 MovieClip Frame 30
play();
Symbol 1751 MovieClip Frame 52
gotoAndPlay ("attack");
Symbol 1751 MovieClip Frame 58
play();
Symbol 1751 MovieClip Frame 72
stop();
Symbol 1751 MovieClip Frame 78
play();
Symbol 1751 MovieClip Frame 84
gotoAndPlay ("attack");
Symbol 1751 MovieClip Frame 90
play();
Symbol 1751 MovieClip Frame 96
stop();
Symbol 1777 MovieClip Frame 1
play();
Symbol 1777 MovieClip Frame 85
gotoAndPlay ("main");
Symbol 1777 MovieClip Frame 119
gotoAndPlay ("attack");
Symbol 1783 MovieClip Frame 1
stop();
Symbol 1783 MovieClip Frame 10
play();
Symbol 1783 MovieClip Frame 20
stop();
Symbol 1784 MovieClip [droidA] Frame 1
stop();
Symbol 1784 MovieClip [droidA] Frame 10
stop();
Symbol 1784 MovieClip [droidA] Frame 20
stop();
Symbol 1784 MovieClip [droidA] Frame 30
stop();
Symbol 1789 MovieClip Frame 1
stop();
Symbol 1789 MovieClip Frame 5
play();
Symbol 1800 MovieClip Frame 1
play();
Symbol 1800 MovieClip Frame 95
gotoAndPlay ("main");
Symbol 1800 MovieClip Frame 129
gotoAndPlay ("attack");
Symbol 1811 MovieClip Frame 1
stop();
Symbol 1811 MovieClip Frame 3
play();
Symbol 1817 MovieClip Frame 1
stop();
Symbol 1817 MovieClip Frame 10
play();
Symbol 1817 MovieClip Frame 20
stop();
Symbol 1818 MovieClip [droidB] Frame 1
stop();
Symbol 1818 MovieClip [droidB] Frame 10
stop();
Symbol 1818 MovieClip [droidB] Frame 20
stop();
Symbol 1818 MovieClip [droidB] Frame 30
stop();
Symbol 1822 MovieClip [droidBFire] Frame 1
stop();
Symbol 1822 MovieClip [droidBFire] Frame 10
stop();
Symbol 1822 MovieClip [droidBFire] Frame 20
stop();
Symbol 1822 MovieClip [droidBFire] Frame 30
stop();
Symbol 1839 MovieClip Frame 1
play();
Symbol 1839 MovieClip Frame 7
play();
Symbol 1839 MovieClip Frame 21
gotoAndPlay ("main");
Symbol 1839 MovieClip Frame 30
play();
Symbol 1839 MovieClip Frame 36
play();
Symbol 1839 MovieClip Frame 72
gotoAndPlay ("attack");
Symbol 1839 MovieClip Frame 76
play();
Symbol 1839 MovieClip Frame 90
stop();
Symbol 1839 MovieClip Frame 100
gotoAndPlay ("attack");
Symbol 1839 MovieClip Frame 105
play();
Symbol 1839 MovieClip Frame 111
stop();
Symbol 1862 MovieClip Frame 1
play();
Symbol 1862 MovieClip Frame 85
gotoAndPlay ("main");
Symbol 1862 MovieClip Frame 119
gotoAndPlay ("attack");
Symbol 1872 MovieClip Frame 1
stop();
Symbol 1872 MovieClip Frame 10
play();
Symbol 1872 MovieClip Frame 20
stop();
Symbol 1872 MovieClip Frame 25
play();
Symbol 1872 MovieClip Frame 35
stop();
Symbol 1873 MovieClip [droidC] Frame 1
stop();
Symbol 1873 MovieClip [droidC] Frame 10
stop();
Symbol 1873 MovieClip [droidC] Frame 20
stop();
Symbol 1873 MovieClip [droidC] Frame 30
stop();
Symbol 1886 MovieClip Frame 27
gotoAndPlay ("loop");
Symbol 1887 MovieClip Frame 1
stop();
Symbol 1897 MovieClip Frame 25
gotoAndPlay ("loop");
Symbol 1898 MovieClip Frame 1
stop();
Symbol 1899 MovieClip [droidCMissle] Frame 1
stop();
Symbol 1899 MovieClip [droidCMissle] Frame 10
stop();
Symbol 1899 MovieClip [droidCMissle] Frame 20
stop();
Symbol 1899 MovieClip [droidCMissle] Frame 30
stop();
Symbol 1899 MovieClip [droidCMissle] Frame 40
stop();
Symbol 1899 MovieClip [droidCMissle] Frame 49
stop();
Symbol 1899 MovieClip [droidCMissle] Frame 59
stop();
Symbol 1899 MovieClip [droidCMissle] Frame 69
stop();
Symbol 1911 MovieClip Frame 1
stop();
Symbol 1911 MovieClip Frame 10
play();
Symbol 1911 MovieClip Frame 13
gotoAndStop ("main");
Symbol 1911 MovieClip Frame 21
play();
Symbol 1911 MovieClip Frame 60
gotoAndStop ("main");
Symbol 1912 MovieClip Frame 1
stop();
Symbol 1912 MovieClip Frame 16
play();
Symbol 1912 MovieClip Frame 20
stop();
Symbol 1912 MovieClip Frame 36
play();
Symbol 1912 MovieClip Frame 40
stop();
Symbol 1912 MovieClip Frame 52
play();
Symbol 1912 MovieClip Frame 68
gotoAndStop ("R");
Symbol 1912 MovieClip Frame 74
play();
Symbol 1912 MovieClip Frame 90
gotoAndStop ("L");
Symbol 1913 MovieClip Frame 1
stop();
Symbol 1914 MovieClip [goldHead] Frame 1
stop();
Symbol 1929 MovieClip [goldHeadFX] Frame 1
gotoAndPlay("f" + (random(3) + 1));
Symbol 1929 MovieClip [goldHeadFX] Frame 25
end = true;
stop();
Symbol 1929 MovieClip [goldHeadFX] Frame 45
end = true;
stop();
Symbol 1929 MovieClip [goldHeadFX] Frame 90
end = true;
stop();
Symbol 1938 MovieClip Frame 1
stop();
Symbol 1938 MovieClip Frame 10
play();
Symbol 1938 MovieClip Frame 13
gotoAndStop ("main");
Symbol 1938 MovieClip Frame 21
play();
Symbol 1938 MovieClip Frame 60
gotoAndStop ("main");
Symbol 1939 MovieClip Frame 1
stop();
Symbol 1939 MovieClip Frame 16
play();
Symbol 1939 MovieClip Frame 20
stop();
Symbol 1939 MovieClip Frame 36
play();
Symbol 1939 MovieClip Frame 40
stop();
Symbol 1939 MovieClip Frame 52
play();
Symbol 1939 MovieClip Frame 68
gotoAndStop ("R");
Symbol 1939 MovieClip Frame 74
play();
Symbol 1939 MovieClip Frame 90
gotoAndStop ("L");
Symbol 1940 MovieClip Frame 1
stop();
Symbol 1941 MovieClip [headA] Frame 1
stop();
Symbol 1947 MovieClip Frame 1
stop();
Symbol 1947 MovieClip Frame 10
play();
Symbol 1947 MovieClip Frame 13
gotoAndStop ("main");
Symbol 1947 MovieClip Frame 21
play();
Symbol 1947 MovieClip Frame 60
gotoAndStop ("main");
Symbol 1948 MovieClip Frame 1
stop();
Symbol 1948 MovieClip Frame 16
play();
Symbol 1948 MovieClip Frame 20
stop();
Symbol 1948 MovieClip Frame 36
play();
Symbol 1948 MovieClip Frame 40
stop();
Symbol 1948 MovieClip Frame 52
play();
Symbol 1948 MovieClip Frame 68
gotoAndStop ("R");
Symbol 1948 MovieClip Frame 74
play();
Symbol 1948 MovieClip Frame 90
gotoAndStop ("L");
Symbol 1949 MovieClip Frame 1
stop();
Symbol 1950 MovieClip [headB] Frame 1
stop();
Symbol 1963 MovieClip Frame 1
play();
Symbol 1963 MovieClip Frame 21
gotoAndPlay ("main");
Symbol 1963 MovieClip Frame 28
play();
Symbol 1963 MovieClip Frame 36
gotoAndPlay ("main");
Symbol 1964 MovieClip Frame 1
stop();
Symbol 1964 MovieClip Frame 10
stop();
Symbol 1964 MovieClip Frame 19
stop();
Symbol 1964 MovieClip Frame 29
stop();
Symbol 1964 MovieClip Frame 39
stop();
Symbol 1979 MovieClip Frame 1
gotoAndPlay("f" + _root.randRange(1, 6));
Symbol 1979 MovieClip Frame 71
gotoAndPlay("f" + _root.randRange(1, 3));
Symbol 1979 MovieClip Frame 158
gotoAndPlay("f" + _root.randRange(1, 3));
Symbol 1979 MovieClip Frame 220
gotoAndPlay("f" + _root.randRange(4, 6));
Symbol 1979 MovieClip Frame 300
gotoAndPlay("f" + _root.randRange(4, 6));
Symbol 1979 MovieClip Frame 390
gotoAndPlay("f" + _root.randRange(4, 6));
Symbol 1979 MovieClip Frame 447
gotoAndPlay("f" + _root.randRange(1, 3));
Symbol 1983 MovieClip Frame 1
stop();
Symbol 1983 MovieClip Frame 5
play();
Symbol 1991 MovieClip Frame 1
if (random(100) > 80) {
gotoAndPlay ("twitch");
}
Symbol 1991 MovieClip Frame 30
gotoAndPlay (1);
Symbol 1991 MovieClip Frame 48
gotoAndPlay (1);
Symbol 2029 MovieClip Frame 1
stop();
Symbol 2029 MovieClip Frame 10
play();
Symbol 2029 MovieClip Frame 42
gotoAndStop ("main");
Symbol 2029 MovieClip Frame 50
play();
Symbol 2029 MovieClip Frame 51
flying = true;
Symbol 2029 MovieClip Frame 56
stop();
Symbol 2029 MovieClip Frame 63
play();
flying = false;
Symbol 2029 MovieClip Frame 70
gotoAndStop ("main");
Symbol 2029 MovieClip Frame 77
play();
Symbol 2029 MovieClip Frame 128
gotoAndStop ("main");
Symbol 2029 MovieClip Frame 137
play();
Symbol 2029 MovieClip Frame 140
if (random(2) == 1) {
gotoAndPlay ("death");
}
Symbol 2029 MovieClip Frame 147
if (random(2) == 1) {
gotoAndPlay ("deathLoop1");
}
Symbol 2029 MovieClip Frame 163
gotoAndPlay ("death");
Symbol 2029 MovieClip Frame 169
play();
Symbol 2029 MovieClip Frame 179
if (random(2) == 1) {
gotoAndPlay ("deathLoop2");
}
Symbol 2029 MovieClip Frame 181
gotoAndPlay ("death2");
Symbol 2039 MovieClip Frame 1
stop();
Symbol 2039 MovieClip Frame 10
play();
Symbol 2039 MovieClip Frame 13
gotoAndStop ("main");
Symbol 2039 MovieClip Frame 21
play();
Symbol 2039 MovieClip Frame 72
gotoAndStop ("main");
Symbol 2040 MovieClip Frame 1
stop();
Symbol 2040 MovieClip Frame 16
play();
Symbol 2040 MovieClip Frame 20
stop();
Symbol 2040 MovieClip Frame 36
play();
Symbol 2040 MovieClip Frame 40
stop();
Symbol 2040 MovieClip Frame 52
play();
Symbol 2040 MovieClip Frame 68
gotoAndStop ("R");
Symbol 2040 MovieClip Frame 74
play();
Symbol 2040 MovieClip Frame 90
gotoAndStop ("L");
Symbol 2040 MovieClip Frame 98
play();
Symbol 2040 MovieClip Frame 116
if (random(2) == 1) {
gotoAndPlay ("death");
} else {
gotoAndPlay ("death2");
}
Symbol 2040 MovieClip Frame 120
play();
Symbol 2040 MovieClip Frame 138
if (random(2) == 1) {
gotoAndPlay ("death");
} else {
gotoAndPlay ("death2");
}
Symbol 2046 MovieClip Frame 1
gotoAndPlay(random(4) + 1);
Symbol 2046 MovieClip Frame 21
gotoAndPlay (2);
Symbol 2051 MovieClip Frame 2
stop();
Symbol 2051 MovieClip Frame 3
stop();
Symbol 2051 MovieClip Frame 4
stop();
Symbol 2051 MovieClip Frame 5
stop();
Symbol 2052 MovieClip Frame 1
stop();
Symbol 2053 MovieClip [headBoss] Frame 1
stop();
Symbol 2058 MovieClip [headBossBlastA] Frame 1
play();
Symbol 2058 MovieClip [headBossBlastA] Frame 49
stop();
Symbol 2080 MovieClip [fireBall] Frame 15
stop();
Symbol 2082 MovieClip Frame 1
stop();
Symbol 2083 MovieClip [headC] Frame 1
stop();
Symbol 2088 MovieClip Frame 1
stop();
Symbol 2088 MovieClip Frame 2
stop();
Symbol 2088 MovieClip Frame 3
stop();
Symbol 2093 MovieClip Frame 1
stop();
Symbol 2093 MovieClip Frame 13
play();
Symbol 2093 MovieClip Frame 21
stop();
Symbol 2093 MovieClip Frame 25
play();
Symbol 2094 MovieClip Frame 1
stop();
Symbol 2094 MovieClip Frame 10
stop();
Symbol 2094 MovieClip Frame 20
stop();
Symbol 2094 MovieClip Frame 31
stop();
Symbol 2109 MovieClip Frame 1
stop();
Symbol 2109 MovieClip Frame 10
play();
Symbol 2109 MovieClip Frame 16
play();
Symbol 2109 MovieClip Frame 38
gotoAndPlay ("main");
Symbol 2109 MovieClip Frame 45
play();
Symbol 2109 MovieClip Frame 51
gotoAndStop ("still");
Symbol 2113 MovieClip Frame 2
stop();
Symbol 2113 MovieClip Frame 3
stop();
Symbol 2113 MovieClip Frame 4
stop();
Symbol 2113 MovieClip Frame 5
stop();
Symbol 2117 MovieClip Frame 2
stop();
Symbol 2117 MovieClip Frame 3
stop();
Symbol 2117 MovieClip Frame 4
stop();
Symbol 2117 MovieClip Frame 5
stop();
Symbol 2143 MovieClip Frame 1
stop();
Symbol 2143 MovieClip Frame 5
play();
Symbol 2144 MovieClip Frame 1
stop();
Symbol 2144 MovieClip Frame 11
play();
Symbol 2144 MovieClip Frame 19
stop();
Symbol 2144 MovieClip Frame 25
play();
Symbol 2145 MovieClip [shipBoss] Frame 1
stop();
Symbol 2145 MovieClip [shipBoss] Frame 10
stop();
Symbol 2145 MovieClip [shipBoss] Frame 20
stop();
Symbol 2145 MovieClip [shipBoss] Frame 29
stop();
Symbol 2146 MovieClip Frame 1
gotoAndPlay("f" + (random(4) + 1));
Symbol 2146 MovieClip Frame 5
play();
Symbol 2146 MovieClip Frame 10
gotoAndPlay("f" + (random(4) + 1));
Symbol 2146 MovieClip Frame 15
play();
Symbol 2146 MovieClip Frame 20
gotoAndPlay("f" + (random(4) + 1));
Symbol 2146 MovieClip Frame 25
play();
Symbol 2146 MovieClip Frame 30
gotoAndPlay("f" + (random(4) + 1));
Symbol 2146 MovieClip Frame 35
play();
Symbol 2146 MovieClip Frame 40
gotoAndPlay("f" + (random(4) + 1));
Symbol 2147 MovieClip Frame 1
stop();
Symbol 2147 MovieClip Frame 10
stop();
Symbol 2147 MovieClip Frame 20
stop();
Symbol 2147 MovieClip Frame 30
stop();
Symbol 2148 MovieClip [shipBossBlast] Frame 1
stop();
Symbol 2148 MovieClip [shipBossBlast] Frame 10
stop();
Symbol 2148 MovieClip [shipBossBlast] Frame 20
stop();
Symbol 2148 MovieClip [shipBossBlast] Frame 30
stop();
Symbol 2148 MovieClip [shipBossBlast] Frame 40
stop();
Symbol 2148 MovieClip [shipBossBlast] Frame 50
stop();
Symbol 2148 MovieClip [shipBossBlast] Frame 60
stop();
Symbol 2148 MovieClip [shipBossBlast] Frame 70
stop();
Symbol 2151 MovieClip [shipBossLaserA] Frame 1
stop();
Symbol 2151 MovieClip [shipBossLaserA] Frame 10
stop();
Symbol 2151 MovieClip [shipBossLaserA] Frame 19
stop();
Symbol 2151 MovieClip [shipBossLaserA] Frame 28
stop();
Symbol 2154 MovieClip [shipBossLaserB] Frame 1
stop();
Symbol 2154 MovieClip [shipBossLaserB] Frame 10
stop();
Symbol 2154 MovieClip [shipBossLaserB] Frame 19
stop();
Symbol 2154 MovieClip [shipBossLaserB] Frame 29
stop();
Symbol 2154 MovieClip [shipBossLaserB] Frame 40
stop();
Symbol 2154 MovieClip [shipBossLaserB] Frame 49
stop();
Symbol 2154 MovieClip [shipBossLaserB] Frame 58
stop();
Symbol 2154 MovieClip [shipBossLaserB] Frame 66
stop();
Symbol 2154 MovieClip [shipBossLaserB] Frame 75
stop();
Symbol 2154 MovieClip [shipBossLaserB] Frame 84
stop();
Symbol 2154 MovieClip [shipBossLaserB] Frame 93
stop();
Symbol 2154 MovieClip [shipBossLaserB] Frame 101
stop();
Symbol 2154 MovieClip [shipBossLaserB] Frame 110
stop();
Symbol 2154 MovieClip [shipBossLaserB] Frame 119
stop();
Symbol 2154 MovieClip [shipBossLaserB] Frame 128
stop();
Symbol 2154 MovieClip [shipBossLaserB] Frame 136
stop();
Symbol 2158 MovieClip Frame 1
stop();
Symbol 2158 MovieClip Frame 10
stop();
Symbol 2158 MovieClip Frame 19
stop();
Symbol 2158 MovieClip Frame 27
stop();
Symbol 2162 MovieClip Frame 1
stop();
Symbol 2162 MovieClip Frame 9
stop();
Symbol 2162 MovieClip Frame 19
stop();
Symbol 2162 MovieClip Frame 28
stop();
Symbol 2163 MovieClip [ShipBossMissle] Frame 1
stop();
body.gotoAndStop(color);
Symbol 2163 MovieClip [ShipBossMissle] Frame 10
stop();
body.gotoAndStop(color);
Symbol 2163 MovieClip [ShipBossMissle] Frame 20
stop();
body.gotoAndStop(color);
Symbol 2163 MovieClip [ShipBossMissle] Frame 30
stop();
body.gotoAndStop(color);
Symbol 2163 MovieClip [ShipBossMissle] Frame 40
stop();
body.gotoAndStop(color);
Symbol 2163 MovieClip [ShipBossMissle] Frame 49
stop();
body.gotoAndStop(color);
Symbol 2163 MovieClip [ShipBossMissle] Frame 59
stop();
body.gotoAndStop(color);
Symbol 2163 MovieClip [ShipBossMissle] Frame 69
stop();
body.gotoAndStop(color);
Symbol 2221 MovieClip Frame 1
stop();
Symbol 2221 MovieClip Frame 10
play();
Symbol 2221 MovieClip Frame 16
play();
Symbol 2221 MovieClip Frame 38
gotoAndPlay ("fly");
Symbol 2221 MovieClip Frame 45
play();
Symbol 2221 MovieClip Frame 51
gotoAndStop ("wait");
Symbol 2221 MovieClip Frame 59
play();
Symbol 2221 MovieClip Frame 77
gotoAndPlay ("charge");
Symbol 2221 MovieClip Frame 82
play();
Symbol 2221 MovieClip Frame 86
play();
Symbol 2221 MovieClip Frame 104
gotoAndPlay ("down");
Symbol 2221 MovieClip Frame 112
play();
Symbol 2221 MovieClip Frame 116
gotoAndPlay ("fly");
Symbol 2221 MovieClip Frame 126
play();
Symbol 2221 MovieClip Frame 130
play();
Symbol 2221 MovieClip Frame 148
gotoAndPlay ("up");
Symbol 2221 MovieClip Frame 160
play();
Symbol 2221 MovieClip Frame 164
gotoAndPlay ("fly");
Symbol 2221 MovieClip Frame 174
play();
Symbol 2221 MovieClip Frame 190
gotoAndPlay ("up2");
Symbol 2221 MovieClip Frame 197
play();
Symbol 2221 MovieClip Frame 207
gotoAndStop ("wait");
Symbol 2232 MovieClip Frame 1
stop();
Symbol 2232 MovieClip Frame 10
play();
Symbol 2232 MovieClip Frame 13
stop();
Symbol 2232 MovieClip Frame 20
play();
Symbol 2232 MovieClip Frame 23
stop();
Symbol 2232 MovieClip Frame 30
play();
Symbol 2232 MovieClip Frame 33
stop();
Symbol 2232 MovieClip Frame 40
play();
Symbol 2232 MovieClip Frame 44
gotoAndStop ("main");
Symbol 2232 MovieClip Frame 48
play();
Symbol 2232 MovieClip Frame 51
gotoAndStop ("main");
Symbol 2239 MovieClip Frame 1
stop();
Symbol 2239 MovieClip Frame 5
play();
Symbol 2239 MovieClip Frame 10
gotoAndPlay ("glowStart");
Symbol 2239 MovieClip Frame 20
play();
Symbol 2245 MovieClip Frame 1
stop();
Symbol 2245 MovieClip Frame 10
stop();
Symbol 2245 MovieClip Frame 20
stop();
Symbol 2245 MovieClip Frame 30
play();
Symbol 2245 MovieClip Frame 34
gotoAndStop ("back");
Symbol 2245 MovieClip Frame 45
play();
Symbol 2245 MovieClip Frame 49
gotoAndStop ("forward");
Symbol 2245 MovieClip Frame 59
gotoAndPlay("scope" + (random(2) + 1));
Symbol 2245 MovieClip Frame 65
play();
Symbol 2245 MovieClip Frame 92
gotoAndPlay("scope" + (random(2) + 1));
Symbol 2245 MovieClip Frame 101
play();
Symbol 2245 MovieClip Frame 125
gotoAndPlay("scope" + (random(2) + 1));
Symbol 2255 MovieClip Frame 1
stop();
Symbol 2255 MovieClip Frame 10
play();
Symbol 2255 MovieClip Frame 14
stop();
Symbol 2255 MovieClip Frame 20
play();
Symbol 2255 MovieClip Frame 26
gotoAndStop ("hover");
Symbol 2255 MovieClip Frame 33
play();
Symbol 2255 MovieClip Frame 35
stop();
Symbol 2255 MovieClip Frame 45
play();
Symbol 2255 MovieClip Frame 49
gotoAndStop ("fly");
Symbol 2255 MovieClip Frame 64
play();
Symbol 2255 MovieClip Frame 66
stop();
Symbol 2255 MovieClip Frame 75
play();
Symbol 2255 MovieClip Frame 79
stop();
Symbol 2255 MovieClip Frame 90
play();
Symbol 2255 MovieClip Frame 92
stop();
Symbol 2255 MovieClip Frame 100
play();
Symbol 2255 MovieClip Frame 104
gotoAndStop ("fly");
Symbol 2256 MovieClip [spaceManA] Frame 1
stop();
Symbol 2256 MovieClip [spaceManA] Frame 10
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 1
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 2
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 3
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 4
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 5
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 6
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 7
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 8
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 9
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 10
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 11
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 12
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 13
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 14
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 15
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 16
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 17
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 18
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 19
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 20
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 21
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 22
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 23
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 24
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 25
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 26
stop();
Symbol 2259 MovieClip [spaceManALaser] Frame 27
stop();
Symbol 2260 MovieClip Frame 1
stop();
Symbol 2260 MovieClip Frame 10
play();
Symbol 2260 MovieClip Frame 16
play();
Symbol 2260 MovieClip Frame 38
gotoAndPlay ("fly");
Symbol 2260 MovieClip Frame 45
play();
Symbol 2260 MovieClip Frame 51
gotoAndStop ("wait");
Symbol 2260 MovieClip Frame 59
play();
Symbol 2260 MovieClip Frame 77
gotoAndPlay ("charge");
Symbol 2260 MovieClip Frame 82
play();
Symbol 2260 MovieClip Frame 86
play();
Symbol 2260 MovieClip Frame 104
gotoAndPlay ("down");
Symbol 2260 MovieClip Frame 112
play();
Symbol 2260 MovieClip Frame 116
gotoAndPlay ("fly");
Symbol 2260 MovieClip Frame 126
play();
Symbol 2260 MovieClip Frame 130
play();
Symbol 2260 MovieClip Frame 148
gotoAndPlay ("up");
Symbol 2260 MovieClip Frame 160
play();
Symbol 2260 MovieClip Frame 164
gotoAndPlay ("fly");
Symbol 2260 MovieClip Frame 174
play();
Symbol 2260 MovieClip Frame 190
gotoAndPlay ("up2");
Symbol 2260 MovieClip Frame 197
play();
Symbol 2260 MovieClip Frame 207
gotoAndStop ("wait");
Symbol 2268 MovieClip Frame 1
stop();
Symbol 2268 MovieClip Frame 10
play();
Symbol 2268 MovieClip Frame 13
stop();
Symbol 2268 MovieClip Frame 20
play();
Symbol 2268 MovieClip Frame 23
stop();
Symbol 2268 MovieClip Frame 30
play();
Symbol 2268 MovieClip Frame 33
stop();
Symbol 2268 MovieClip Frame 40
play();
Symbol 2268 MovieClip Frame 44
gotoAndStop ("main");
Symbol 2268 MovieClip Frame 48
play();
Symbol 2268 MovieClip Frame 51
gotoAndStop ("main");
Symbol 2272 MovieClip Frame 1
stop();
Symbol 2272 MovieClip Frame 2
stop();
Symbol 2273 MovieClip Frame 1
stop();
Symbol 2273 MovieClip Frame 5
play();
Symbol 2273 MovieClip Frame 10
gotoAndPlay ("glowStart");
Symbol 2273 MovieClip Frame 20
play();
Symbol 2281 MovieClip Frame 1
stop();
Symbol 2281 MovieClip Frame 10
stop();
Symbol 2281 MovieClip Frame 20
stop();
Symbol 2281 MovieClip Frame 30
play();
Symbol 2281 MovieClip Frame 34
gotoAndStop ("back");
Symbol 2281 MovieClip Frame 45
play();
Symbol 2281 MovieClip Frame 49
gotoAndStop ("forward");
Symbol 2281 MovieClip Frame 59
gotoAndPlay("scope" + (random(2) + 1));
Symbol 2281 MovieClip Frame 65
play();
Symbol 2281 MovieClip Frame 93
gotoAndPlay("scope" + (random(2) + 1));
Symbol 2281 MovieClip Frame 102
play();
Symbol 2281 MovieClip Frame 126
gotoAndPlay("scope" + (random(2) + 1));
Symbol 2291 MovieClip Frame 1
stop();
Symbol 2291 MovieClip Frame 10
play();
Symbol 2291 MovieClip Frame 14
stop();
Symbol 2291 MovieClip Frame 20
play();
Symbol 2291 MovieClip Frame 26
gotoAndStop ("hover");
Symbol 2291 MovieClip Frame 33
play();
Symbol 2291 MovieClip Frame 35
stop();
Symbol 2291 MovieClip Frame 45
play();
Symbol 2291 MovieClip Frame 49
gotoAndStop ("fly");
Symbol 2291 MovieClip Frame 64
play();
Symbol 2291 MovieClip Frame 66
stop();
Symbol 2291 MovieClip Frame 75
play();
Symbol 2291 MovieClip Frame 79
stop();
Symbol 2291 MovieClip Frame 90
play();
Symbol 2291 MovieClip Frame 92
stop();
Symbol 2291 MovieClip Frame 100
play();
Symbol 2291 MovieClip Frame 104
gotoAndStop ("fly");
Symbol 2292 MovieClip [spaceManB] Frame 1
stop();
Symbol 2292 MovieClip [spaceManB] Frame 10
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 1
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 2
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 3
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 4
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 5
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 6
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 7
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 8
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 9
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 10
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 11
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 12
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 13
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 14
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 15
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 16
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 17
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 18
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 19
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 20
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 21
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 22
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 23
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 24
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 25
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 26
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 27
stop();
Symbol 2295 MovieClip [spaceManBLaser] Frame 28
stop();
Symbol 2303 MovieClip [planets] Frame 1
stop();
Symbol 2303 MovieClip [planets] Frame 10
stop();
Symbol 2303 MovieClip [planets] Frame 19
stop();
Symbol 2303 MovieClip [planets] Frame 28
stop();
Symbol 2332 MovieClip Frame 1
stop();
Symbol 2332 MovieClip Frame 2
play();
Symbol 2332 MovieClip Frame 3
play();
Symbol 2332 MovieClip Frame 4
play();
Symbol 2332 MovieClip Frame 5
play();
Symbol 2332 MovieClip Frame 6
play();
Symbol 2332 MovieClip Frame 7
play();
Symbol 2332 MovieClip Frame 8
play();
Symbol 2332 MovieClip Frame 9
play();
Symbol 2332 MovieClip Frame 10
play();
Symbol 2332 MovieClip Frame 11
play();
Symbol 2332 MovieClip Frame 12
play();
Symbol 2332 MovieClip Frame 13
play();
Symbol 2332 MovieClip Frame 14
play();
Symbol 2332 MovieClip Frame 15
play();
Symbol 2332 MovieClip Frame 16
play();
Symbol 2332 MovieClip Frame 17
play();
Symbol 2332 MovieClip Frame 18
play();
Symbol 2332 MovieClip Frame 19
play();
Symbol 2332 MovieClip Frame 20
play();
Symbol 2332 MovieClip Frame 21
play();
Symbol 2332 MovieClip Frame 22
play();
Symbol 2332 MovieClip Frame 23
play();
Symbol 2332 MovieClip Frame 24
play();
Symbol 2332 MovieClip Frame 25
play();
Symbol 2332 MovieClip Frame 26
play();
Symbol 2332 MovieClip Frame 27
play();
Symbol 2332 MovieClip Frame 28
play();
Symbol 2332 MovieClip Frame 29
play();
Symbol 2332 MovieClip Frame 30
play();
Symbol 2332 MovieClip Frame 31
play();
Symbol 2332 MovieClip Frame 32
play();
Symbol 2332 MovieClip Frame 33
play();
Symbol 2332 MovieClip Frame 34
play();
Symbol 2332 MovieClip Frame 35
play();
Symbol 2332 MovieClip Frame 36
play();
Symbol 2332 MovieClip Frame 37
play();
Symbol 2332 MovieClip Frame 38
play();
Symbol 2332 MovieClip Frame 39
play();
Symbol 2332 MovieClip Frame 40
play();
Symbol 2332 MovieClip Frame 41
play();
Symbol 2332 MovieClip Frame 42
play();
Symbol 2332 MovieClip Frame 43
play();
Symbol 2332 MovieClip Frame 44
play();
Symbol 2332 MovieClip Frame 45
play();
Symbol 2332 MovieClip Frame 46
play();
Symbol 2332 MovieClip Frame 47
play();
Symbol 2332 MovieClip Frame 48
play();
Symbol 2332 MovieClip Frame 49
play();
Symbol 2332 MovieClip Frame 50
play();
Symbol 2332 MovieClip Frame 51
play();
Symbol 2332 MovieClip Frame 52
play();
Symbol 2332 MovieClip Frame 53
play();
Symbol 2332 MovieClip Frame 54
play();
Symbol 2332 MovieClip Frame 55
play();
Symbol 2332 MovieClip Frame 56
play();
Symbol 2332 MovieClip Frame 57
play();
Symbol 2332 MovieClip Frame 58
play();
Symbol 2332 MovieClip Frame 59
play();
Symbol 2332 MovieClip Frame 60
play();
Symbol 2332 MovieClip Frame 61
play();
Symbol 2332 MovieClip Frame 62
play();
Symbol 2332 MovieClip Frame 63
play();
Symbol 2332 MovieClip Frame 64
play();
Symbol 2332 MovieClip Frame 65
play();
Symbol 2332 MovieClip Frame 66
play();
Symbol 2332 MovieClip Frame 67
play();
Symbol 2332 MovieClip Frame 68
play();
Symbol 2332 MovieClip Frame 69
play();
Symbol 2332 MovieClip Frame 70
play();
Symbol 2332 MovieClip Frame 71
play();
Symbol 2332 MovieClip Frame 72
play();
Symbol 2332 MovieClip Frame 73
play();
Symbol 2332 MovieClip Frame 74
play();
Symbol 2332 MovieClip Frame 75
play();
Symbol 2332 MovieClip Frame 76
play();
Symbol 2332 MovieClip Frame 77
play();
Symbol 2332 MovieClip Frame 78
play();
Symbol 2332 MovieClip Frame 79
play();
Symbol 2332 MovieClip Frame 80
play();
Symbol 2332 MovieClip Frame 81
play();
Symbol 2332 MovieClip Frame 82
play();
Symbol 2332 MovieClip Frame 83
play();
Symbol 2332 MovieClip Frame 84
play();
Symbol 2332 MovieClip Frame 85
play();
Symbol 2332 MovieClip Frame 86
play();
Symbol 2332 MovieClip Frame 87
play();
Symbol 2332 MovieClip Frame 88
play();
Symbol 2332 MovieClip Frame 89
play();
Symbol 2332 MovieClip Frame 90
play();
Symbol 2332 MovieClip Frame 91
play();
Symbol 2332 MovieClip Frame 92
play();
Symbol 2332 MovieClip Frame 93
play();
Symbol 2332 MovieClip Frame 94
play();
Symbol 2332 MovieClip Frame 95
play();
Symbol 2332 MovieClip Frame 96
play();
Symbol 2332 MovieClip Frame 97
play();
Symbol 2332 MovieClip Frame 98
play();
Symbol 2332 MovieClip Frame 99
play();
Symbol 2332 MovieClip Frame 100
play();
Symbol 2332 MovieClip Frame 101
play();
Symbol 2332 MovieClip Frame 102
play();
Symbol 2332 MovieClip Frame 103
play();
Symbol 2332 MovieClip Frame 104
play();
Symbol 2332 MovieClip Frame 105
play();
Symbol 2332 MovieClip Frame 106
play();
Symbol 2332 MovieClip Frame 107
play();
Symbol 2332 MovieClip Frame 108
play();
Symbol 2332 MovieClip Frame 109
play();
Symbol 2332 MovieClip Frame 110
play();
Symbol 2332 MovieClip Frame 111
play();
Symbol 2332 MovieClip Frame 112
play();
Symbol 2332 MovieClip Frame 113
play();
Symbol 2332 MovieClip Frame 114
play();
Symbol 2332 MovieClip Frame 115
play();
Symbol 2332 MovieClip Frame 116
play();
Symbol 2332 MovieClip Frame 117
play();
Symbol 2332 MovieClip Frame 118
stop();
Symbol 2332 MovieClip Frame 119
play();
Symbol 2332 MovieClip Frame 120
play();
Symbol 2332 MovieClip Frame 121
play();
Symbol 2332 MovieClip Frame 122
play();
Symbol 2332 MovieClip Frame 123
play();
Symbol 2332 MovieClip Frame 124
play();
Symbol 2332 MovieClip Frame 125
play();
Symbol 2332 MovieClip Frame 126
play();
Symbol 2332 MovieClip Frame 127
play();
Symbol 2332 MovieClip Frame 128
play();
Symbol 2332 MovieClip Frame 129
play();
Symbol 2332 MovieClip Frame 130
play();
Symbol 2332 MovieClip Frame 131
play();
Symbol 2332 MovieClip Frame 132
play();
Symbol 2332 MovieClip Frame 133
play();
Symbol 2332 MovieClip Frame 134
play();
Symbol 2332 MovieClip Frame 135
play();
Symbol 2332 MovieClip Frame 136
play();
Symbol 2332 MovieClip Frame 137
play();
Symbol 2332 MovieClip Frame 138
play();
Symbol 2332 MovieClip Frame 139
play();
Symbol 2332 MovieClip Frame 140
play();
Symbol 2332 MovieClip Frame 141
play();
Symbol 2332 MovieClip Frame 142
play();
Symbol 2332 MovieClip Frame 143
play();
Symbol 2332 MovieClip Frame 144
play();
Symbol 2332 MovieClip Frame 145
play();
Symbol 2332 MovieClip Frame 146
play();
Symbol 2332 MovieClip Frame 147
play();
Symbol 2332 MovieClip Frame 148
play();
Symbol 2332 MovieClip Frame 149
play();
Symbol 2332 MovieClip Frame 150
play();
Symbol 2332 MovieClip Frame 151
play();
Symbol 2332 MovieClip Frame 152
play();
Symbol 2332 MovieClip Frame 153
play();
Symbol 2332 MovieClip Frame 154
play();
Symbol 2332 MovieClip Frame 155
play();
Symbol 2332 MovieClip Frame 156
play();
Symbol 2332 MovieClip Frame 157
play();
Symbol 2332 MovieClip Frame 158
play();
Symbol 2332 MovieClip Frame 159
play();
Symbol 2332 MovieClip Frame 160
play();
Symbol 2332 MovieClip Frame 161
play();
Symbol 2332 MovieClip Frame 162
play();
Symbol 2332 MovieClip Frame 163
play();
Symbol 2332 MovieClip Frame 164
play();
Symbol 2332 MovieClip Frame 165
play();
Symbol 2332 MovieClip Frame 166
play();
Symbol 2332 MovieClip Frame 167
play();
Symbol 2332 MovieClip Frame 168
play();
Symbol 2332 MovieClip Frame 169
play();
Symbol 2332 MovieClip Frame 170
play();
Symbol 2332 MovieClip Frame 171
play();
Symbol 2332 MovieClip Frame 172
play();
Symbol 2332 MovieClip Frame 173
play();
Symbol 2332 MovieClip Frame 174
play();
Symbol 2332 MovieClip Frame 175
play();
Symbol 2332 MovieClip Frame 176
play();
Symbol 2332 MovieClip Frame 177
play();
Symbol 2332 MovieClip Frame 178
play();
Symbol 2332 MovieClip Frame 179
play();
Symbol 2332 MovieClip Frame 180
play();
Symbol 2332 MovieClip Frame 181
play();
Symbol 2332 MovieClip Frame 182
play();
Symbol 2332 MovieClip Frame 183
play();
Symbol 2332 MovieClip Frame 184
play();
Symbol 2332 MovieClip Frame 185
play();
Symbol 2332 MovieClip Frame 186
play();
Symbol 2332 MovieClip Frame 187
play();
Symbol 2332 MovieClip Frame 188
play();
Symbol 2332 MovieClip Frame 189
play();
Symbol 2332 MovieClip Frame 190
play();
Symbol 2332 MovieClip Frame 191
play();
Symbol 2332 MovieClip Frame 192
play();
Symbol 2332 MovieClip Frame 193
play();
Symbol 2332 MovieClip Frame 194
play();
Symbol 2332 MovieClip Frame 195
play();
Symbol 2332 MovieClip Frame 196
play();
Symbol 2332 MovieClip Frame 197
play();
Symbol 2332 MovieClip Frame 198
play();
Symbol 2332 MovieClip Frame 199
play();
Symbol 2332 MovieClip Frame 200
play();
Symbol 2332 MovieClip Frame 201
play();
Symbol 2332 MovieClip Frame 202
play();
Symbol 2332 MovieClip Frame 203
play();
Symbol 2332 MovieClip Frame 204
play();
Symbol 2332 MovieClip Frame 205
play();
Symbol 2332 MovieClip Frame 206
play();
Symbol 2332 MovieClip Frame 207
play();
Symbol 2332 MovieClip Frame 208
play();
Symbol 2332 MovieClip Frame 209
play();
Symbol 2332 MovieClip Frame 210
play();
Symbol 2332 MovieClip Frame 211
play();
Symbol 2332 MovieClip Frame 212
play();
Symbol 2332 MovieClip Frame 213
play();
Symbol 2332 MovieClip Frame 214
play();
Symbol 2332 MovieClip Frame 215
play();
Symbol 2332 MovieClip Frame 216
play();
Symbol 2332 MovieClip Frame 217
play();
Symbol 2332 MovieClip Frame 218
play();
Symbol 2332 MovieClip Frame 219
play();
Symbol 2332 MovieClip Frame 220
play();
Symbol 2332 MovieClip Frame 221
play();
Symbol 2332 MovieClip Frame 222
play();
Symbol 2332 MovieClip Frame 223
play();
Symbol 2332 MovieClip Frame 224
play();
Symbol 2332 MovieClip Frame 225
play();
Symbol 2332 MovieClip Frame 226
play();
Symbol 2332 MovieClip Frame 227
play();
Symbol 2332 MovieClip Frame 228
play();
Symbol 2332 MovieClip Frame 229
play();
Symbol 2332 MovieClip Frame 230
play();
Symbol 2332 MovieClip Frame 231
play();
Symbol 2332 MovieClip Frame 232
play();
Symbol 2332 MovieClip Frame 233
play();
Symbol 2332 MovieClip Frame 234
play();
Symbol 2332 MovieClip Frame 235
stop();
Symbol 2332 MovieClip Frame 236
play();
Symbol 2332 MovieClip Frame 237
play();
Symbol 2332 MovieClip Frame 238
play();
Symbol 2332 MovieClip Frame 239
play();
Symbol 2332 MovieClip Frame 240
play();
Symbol 2332 MovieClip Frame 241
play();
Symbol 2332 MovieClip Frame 242
play();
Symbol 2332 MovieClip Frame 243
play();
Symbol 2332 MovieClip Frame 244
play();
Symbol 2332 MovieClip Frame 245
play();
Symbol 2332 MovieClip Frame 246
play();
Symbol 2332 MovieClip Frame 247
play();
Symbol 2332 MovieClip Frame 248
play();
Symbol 2332 MovieClip Frame 249
play();
Symbol 2332 MovieClip Frame 250
play();
Symbol 2332 MovieClip Frame 251
play();
Symbol 2332 MovieClip Frame 252
play();
Symbol 2332 MovieClip Frame 253
play();
Symbol 2332 MovieClip Frame 254
play();
Symbol 2332 MovieClip Frame 255
play();
Symbol 2332 MovieClip Frame 256
play();
Symbol 2332 MovieClip Frame 257
play();
Symbol 2332 MovieClip Frame 258
play();
Symbol 2332 MovieClip Frame 259
play();
Symbol 2332 MovieClip Frame 260
play();
Symbol 2332 MovieClip Frame 261
play();
Symbol 2332 MovieClip Frame 262
play();
Symbol 2332 MovieClip Frame 263
play();
Symbol 2332 MovieClip Frame 264
play();
Symbol 2332 MovieClip Frame 265
play();
Symbol 2332 MovieClip Frame 266
play();
Symbol 2332 MovieClip Frame 267
play();
Symbol 2332 MovieClip Frame 268
play();
Symbol 2332 MovieClip Frame 269
play();
Symbol 2332 MovieClip Frame 270
play();
Symbol 2332 MovieClip Frame 271
play();
Symbol 2332 MovieClip Frame 272
play();
Symbol 2332 MovieClip Frame 273
play();
Symbol 2332 MovieClip Frame 274
play();
Symbol 2332 MovieClip Frame 275
play();
Symbol 2332 MovieClip Frame 276
play();
Symbol 2332 MovieClip Frame 277
play();
Symbol 2332 MovieClip Frame 278
play();
Symbol 2332 MovieClip Frame 279
play();
Symbol 2332 MovieClip Frame 280
play();
Symbol 2332 MovieClip Frame 281
play();
Symbol 2332 MovieClip Frame 282
play();
Symbol 2332 MovieClip Frame 283
play();
Symbol 2332 MovieClip Frame 284
play();
Symbol 2332 MovieClip Frame 285
play();
Symbol 2332 MovieClip Frame 286
play();
Symbol 2332 MovieClip Frame 287
play();
Symbol 2332 MovieClip Frame 288
play();
Symbol 2332 MovieClip Frame 289
play();
Symbol 2332 MovieClip Frame 290
play();
Symbol 2332 MovieClip Frame 291
play();
Symbol 2332 MovieClip Frame 292
play();
Symbol 2332 MovieClip Frame 293
play();
Symbol 2332 MovieClip Frame 294
play();
Symbol 2332 MovieClip Frame 295
play();
Symbol 2332 MovieClip Frame 296
play();
Symbol 2332 MovieClip Frame 297
play();
Symbol 2332 MovieClip Frame 298
play();
Symbol 2332 MovieClip Frame 299
play();
Symbol 2332 MovieClip Frame 300
play();
Symbol 2332 MovieClip Frame 301
play();
Symbol 2332 MovieClip Frame 302
play();
Symbol 2332 MovieClip Frame 303
play();
Symbol 2332 MovieClip Frame 304
play();
Symbol 2332 MovieClip Frame 305
play();
Symbol 2332 MovieClip Frame 306
play();
Symbol 2332 MovieClip Frame 307
play();
Symbol 2332 MovieClip Frame 308
play();
Symbol 2332 MovieClip Frame 309
play();
Symbol 2332 MovieClip Frame 310
play();
Symbol 2332 MovieClip Frame 311
play();
Symbol 2332 MovieClip Frame 312
play();
Symbol 2332 MovieClip Frame 313
play();
Symbol 2332 MovieClip Frame 314
play();
Symbol 2332 MovieClip Frame 315
play();
Symbol 2332 MovieClip Frame 316
play();
Symbol 2332 MovieClip Frame 317
play();
Symbol 2332 MovieClip Frame 318
play();
Symbol 2332 MovieClip Frame 319
play();
Symbol 2332 MovieClip Frame 320
play();
Symbol 2332 MovieClip Frame 321
play();
Symbol 2332 MovieClip Frame 322
play();
Symbol 2332 MovieClip Frame 323
play();
Symbol 2332 MovieClip Frame 324
play();
Symbol 2332 MovieClip Frame 325
play();
Symbol 2332 MovieClip Frame 326
play();
Symbol 2332 MovieClip Frame 327
play();
Symbol 2332 MovieClip Frame 328
play();
Symbol 2332 MovieClip Frame 329
play();
Symbol 2332 MovieClip Frame 330
play();
Symbol 2332 MovieClip Frame 331
play();
Symbol 2332 MovieClip Frame 332
play();
Symbol 2332 MovieClip Frame 333
play();
Symbol 2332 MovieClip Frame 334
play();
Symbol 2332 MovieClip Frame 335
play();
Symbol 2332 MovieClip Frame 336
play();
Symbol 2332 MovieClip Frame 337
play();
Symbol 2332 MovieClip Frame 338
play();
Symbol 2332 MovieClip Frame 339
stop();
Symbol 2332 MovieClip Frame 340
play();
Symbol 2332 MovieClip Frame 341
play();
Symbol 2332 MovieClip Frame 342
play();
Symbol 2332 MovieClip Frame 343
play();
Symbol 2332 MovieClip Frame 344
play();
Symbol 2332 MovieClip Frame 345
play();
Symbol 2332 MovieClip Frame 346
play();
Symbol 2332 MovieClip Frame 347
play();
Symbol 2332 MovieClip Frame 348
play();
Symbol 2332 MovieClip Frame 349
play();
Symbol 2332 MovieClip Frame 350
play();
Symbol 2332 MovieClip Frame 351
play();
Symbol 2332 MovieClip Frame 352
play();
Symbol 2332 MovieClip Frame 353
play();
Symbol 2332 MovieClip Frame 354
play();
Symbol 2332 MovieClip Frame 355
play();
Symbol 2332 MovieClip Frame 356
play();
Symbol 2332 MovieClip Frame 357
play();
Symbol 2332 MovieClip Frame 358
play();
Symbol 2332 MovieClip Frame 359
play();
Symbol 2332 MovieClip Frame 360
play();
Symbol 2332 MovieClip Frame 361
play();
Symbol 2332 MovieClip Frame 362
play();
Symbol 2332 MovieClip Frame 363
play();
Symbol 2332 MovieClip Frame 364
play();
Symbol 2332 MovieClip Frame 365
play();
Symbol 2332 MovieClip Frame 366
play();
Symbol 2332 MovieClip Frame 367
play();
Symbol 2332 MovieClip Frame 368
play();
Symbol 2332 MovieClip Frame 369
play();
Symbol 2332 MovieClip Frame 370
play();
Symbol 2332 MovieClip Frame 371
play();
Symbol 2332 MovieClip Frame 372
play();
Symbol 2332 MovieClip Frame 373
play();
Symbol 2332 MovieClip Frame 374
play();
Symbol 2332 MovieClip Frame 375
play();
Symbol 2332 MovieClip Frame 376
play();
Symbol 2332 MovieClip Frame 377
play();
Symbol 2332 MovieClip Frame 378
play();
Symbol 2332 MovieClip Frame 379
play();
Symbol 2332 MovieClip Frame 380
play();
Symbol 2332 MovieClip Frame 381
play();
Symbol 2332 MovieClip Frame 382
play();
Symbol 2332 MovieClip Frame 383
play();
Symbol 2332 MovieClip Frame 384
play();
Symbol 2332 MovieClip Frame 385
play();
Symbol 2332 MovieClip Frame 386
play();
Symbol 2332 MovieClip Frame 387
play();
Symbol 2332 MovieClip Frame 388
play();
Symbol 2332 MovieClip Frame 389
play();
Symbol 2332 MovieClip Frame 390
play();
Symbol 2332 MovieClip Frame 391
play();
Symbol 2332 MovieClip Frame 392
play();
Symbol 2332 MovieClip Frame 393
play();
Symbol 2332 MovieClip Frame 394
play();
Symbol 2332 MovieClip Frame 395
play();
Symbol 2332 MovieClip Frame 396
play();
Symbol 2332 MovieClip Frame 397
play();
Symbol 2332 MovieClip Frame 398
play();
Symbol 2332 MovieClip Frame 399
play();
Symbol 2332 MovieClip Frame 400
play();
Symbol 2332 MovieClip Frame 401
play();
Symbol 2332 MovieClip Frame 402
play();
Symbol 2332 MovieClip Frame 403
play();
Symbol 2332 MovieClip Frame 404
play();
Symbol 2332 MovieClip Frame 405
play();
Symbol 2332 MovieClip Frame 406
play();
Symbol 2332 MovieClip Frame 407
play();
Symbol 2332 MovieClip Frame 408
play();
Symbol 2332 MovieClip Frame 409
play();
Symbol 2332 MovieClip Frame 410
play();
Symbol 2332 MovieClip Frame 411
play();
Symbol 2332 MovieClip Frame 412
play();
Symbol 2332 MovieClip Frame 413
play();
Symbol 2332 MovieClip Frame 414
play();
Symbol 2332 MovieClip Frame 415
play();
Symbol 2332 MovieClip Frame 416
play();
Symbol 2332 MovieClip Frame 417
play();
Symbol 2332 MovieClip Frame 418
play();
Symbol 2332 MovieClip Frame 419
play();
Symbol 2332 MovieClip Frame 420
play();
Symbol 2332 MovieClip Frame 421
play();
Symbol 2332 MovieClip Frame 422
play();
Symbol 2332 MovieClip Frame 423
play();
Symbol 2332 MovieClip Frame 424
play();
Symbol 2332 MovieClip Frame 425
play();
Symbol 2332 MovieClip Frame 426
play();
Symbol 2332 MovieClip Frame 427
play();
Symbol 2332 MovieClip Frame 428
play();
Symbol 2332 MovieClip Frame 429
play();
Symbol 2332 MovieClip Frame 430
play();
Symbol 2332 MovieClip Frame 431
play();
Symbol 2332 MovieClip Frame 432
play();
Symbol 2332 MovieClip Frame 433
play();
Symbol 2332 MovieClip Frame 434
play();
Symbol 2332 MovieClip Frame 435
play();
Symbol 2332 MovieClip Frame 436
play();
Symbol 2332 MovieClip Frame 437
play();
Symbol 2332 MovieClip Frame 438
play();
Symbol 2332 MovieClip Frame 439
play();
Symbol 2332 MovieClip Frame 440
play();
Symbol 2332 MovieClip Frame 441
play();
Symbol 2332 MovieClip Frame 442
play();
Symbol 2332 MovieClip Frame 443
play();
Symbol 2332 MovieClip Frame 444
play();
Symbol 2332 MovieClip Frame 445
play();
Symbol 2332 MovieClip Frame 446
play();
Symbol 2332 MovieClip Frame 447
play();
Symbol 2332 MovieClip Frame 448
play();
Symbol 2332 MovieClip Frame 449
play();
Symbol 2332 MovieClip Frame 450
play();
Symbol 2332 MovieClip Frame 451
play();
Symbol 2332 MovieClip Frame 452
play();
Symbol 2332 MovieClip Frame 453
play();
Symbol 2332 MovieClip Frame 454
play();
Symbol 2332 MovieClip Frame 455
play();
Symbol 2332 MovieClip Frame 456
play();
Symbol 2332 MovieClip Frame 457
play();
Symbol 2332 MovieClip Frame 458
play();
Symbol 2332 MovieClip Frame 459
play();
Symbol 2332 MovieClip Frame 460
play();
Symbol 2332 MovieClip Frame 461
play();
Symbol 2332 MovieClip Frame 462
play();
Symbol 2332 MovieClip Frame 463
play();
Symbol 2332 MovieClip Frame 464
play();
Symbol 2332 MovieClip Frame 465
play();
Symbol 2332 MovieClip Frame 466
play();
Symbol 2332 MovieClip Frame 467
play();
Symbol 2332 MovieClip Frame 468
play();
Symbol 2332 MovieClip Frame 469
play();
Symbol 2332 MovieClip Frame 470
play();
Symbol 2332 MovieClip Frame 471
play();
Symbol 2332 MovieClip Frame 472
play();
Symbol 2332 MovieClip Frame 473
play();
Symbol 2332 MovieClip Frame 474
play();
Symbol 2332 MovieClip Frame 475
play();
Symbol 2332 MovieClip Frame 476
play();
Symbol 2332 MovieClip Frame 477
play();
Symbol 2332 MovieClip Frame 478
play();
Symbol 2332 MovieClip Frame 479
play();
Symbol 2332 MovieClip Frame 480
play();
Symbol 2332 MovieClip Frame 481
play();
Symbol 2332 MovieClip Frame 482
play();
Symbol 2332 MovieClip Frame 483
play();
Symbol 2332 MovieClip Frame 484
play();
Symbol 2332 MovieClip Frame 485
play();
Symbol 2332 MovieClip Frame 486
play();
Symbol 2332 MovieClip Frame 487
play();
Symbol 2332 MovieClip Frame 488
play();
Symbol 2332 MovieClip Frame 489
play();
Symbol 2332 MovieClip Frame 490
play();
Symbol 2332 MovieClip Frame 491
play();
Symbol 2332 MovieClip Frame 492
play();
Symbol 2332 MovieClip Frame 493
play();
Symbol 2332 MovieClip Frame 494
play();
Symbol 2332 MovieClip Frame 495
play();
Symbol 2332 MovieClip Frame 496
play();
Symbol 2332 MovieClip Frame 497
play();
Symbol 2332 MovieClip Frame 498
play();
Symbol 2332 MovieClip Frame 499
play();
Symbol 2332 MovieClip Frame 500
play();
Symbol 2332 MovieClip Frame 501
play();
Symbol 2332 MovieClip Frame 502
play();
Symbol 2332 MovieClip Frame 503
play();
Symbol 2332 MovieClip Frame 504
play();
Symbol 2332 MovieClip Frame 505
play();
Symbol 2332 MovieClip Frame 506
play();
Symbol 2332 MovieClip Frame 507
play();
Symbol 2332 MovieClip Frame 508
play();
Symbol 2332 MovieClip Frame 509
play();
Symbol 2332 MovieClip Frame 510
play();
Symbol 2332 MovieClip Frame 511
play();
Symbol 2332 MovieClip Frame 512
play();
Symbol 2332 MovieClip Frame 513
play();
Symbol 2332 MovieClip Frame 514
play();
Symbol 2332 MovieClip Frame 515
play();
Symbol 2332 MovieClip Frame 516
play();
Symbol 2332 MovieClip Frame 517
play();
Symbol 2332 MovieClip Frame 518
play();
Symbol 2332 MovieClip Frame 519
play();
Symbol 2332 MovieClip Frame 520
play();
Symbol 2332 MovieClip Frame 521
play();
Symbol 2332 MovieClip Frame 522
play();
Symbol 2332 MovieClip Frame 523
play();
Symbol 2332 MovieClip Frame 524
play();
Symbol 2332 MovieClip Frame 525
play();
Symbol 2332 MovieClip Frame 526
play();
Symbol 2332 MovieClip Frame 527
play();
Symbol 2332 MovieClip Frame 528
play();
Symbol 2332 MovieClip Frame 529
play();
Symbol 2332 MovieClip Frame 530
play();
Symbol 2332 MovieClip Frame 531
play();
Symbol 2332 MovieClip Frame 532
play();
Symbol 2332 MovieClip Frame 533
play();
Symbol 2332 MovieClip Frame 534
play();
Symbol 2332 MovieClip Frame 535
play();
Symbol 2332 MovieClip Frame 536
play();
Symbol 2332 MovieClip Frame 537
play();
Symbol 2332 MovieClip Frame 538
play();
Symbol 2332 MovieClip Frame 539
play();
Symbol 2332 MovieClip Frame 540
play();
Symbol 2332 MovieClip Frame 541
play();
Symbol 2332 MovieClip Frame 542
play();
Symbol 2332 MovieClip Frame 543
play();
Symbol 2332 MovieClip Frame 544
play();
Symbol 2332 MovieClip Frame 545
play();
Symbol 2332 MovieClip Frame 546
play();
Symbol 2332 MovieClip Frame 547
play();
Symbol 2332 MovieClip Frame 548
play();
Symbol 2332 MovieClip Frame 549
play();
Symbol 2332 MovieClip Frame 550
play();
Symbol 2332 MovieClip Frame 551
play();
Symbol 2332 MovieClip Frame 552
play();
Symbol 2332 MovieClip Frame 553
play();
Symbol 2332 MovieClip Frame 554
play();
Symbol 2332 MovieClip Frame 555
play();
Symbol 2332 MovieClip Frame 556
play();
Symbol 2332 MovieClip Frame 557
play();
Symbol 2332 MovieClip Frame 558
play();
Symbol 2332 MovieClip Frame 559
play();
Symbol 2332 MovieClip Frame 560
play();
Symbol 2332 MovieClip Frame 561
play();
Symbol 2332 MovieClip Frame 562
play();
Symbol 2332 MovieClip Frame 563
play();
Symbol 2332 MovieClip Frame 564
play();
Symbol 2332 MovieClip Frame 565
play();
Symbol 2332 MovieClip Frame 566
play();
Symbol 2332 MovieClip Frame 567
play();
Symbol 2332 MovieClip Frame 568
play();
Symbol 2332 MovieClip Frame 569
play();
Symbol 2332 MovieClip Frame 570
play();
Symbol 2332 MovieClip Frame 571
play();
Symbol 2332 MovieClip Frame 572
play();
Symbol 2332 MovieClip Frame 573
play();
Symbol 2332 MovieClip Frame 574
play();
Symbol 2332 MovieClip Frame 575
play();
Symbol 2332 MovieClip Frame 576
play();
Symbol 2332 MovieClip Frame 577
play();
Symbol 2332 MovieClip Frame 578
play();
Symbol 2332 MovieClip Frame 579
play();
Symbol 2332 MovieClip Frame 580
play();
Symbol 2332 MovieClip Frame 581
play();
Symbol 2332 MovieClip Frame 582
play();
Symbol 2332 MovieClip Frame 583
play();
Symbol 2332 MovieClip Frame 584
play();
Symbol 2332 MovieClip Frame 585
play();
Symbol 2332 MovieClip Frame 586
play();
Symbol 2332 MovieClip Frame 587
play();
Symbol 2332 MovieClip Frame 588
play();
Symbol 2332 MovieClip Frame 589
play();
Symbol 2332 MovieClip Frame 590
play();
Symbol 2332 MovieClip Frame 591
play();
Symbol 2332 MovieClip Frame 592
play();
Symbol 2332 MovieClip Frame 593
play();
Symbol 2332 MovieClip Frame 594
play();
Symbol 2332 MovieClip Frame 595
play();
Symbol 2332 MovieClip Frame 596
play();
Symbol 2332 MovieClip Frame 597
play();
Symbol 2332 MovieClip Frame 598
play();
Symbol 2332 MovieClip Frame 599
gotoAndStop (1);
Symbol 2332 MovieClip Frame 600
play();
Symbol 2332 MovieClip Frame 601
play();
Symbol 2332 MovieClip Frame 602
play();
Symbol 2332 MovieClip Frame 603
play();
Symbol 2332 MovieClip Frame 604
play();
Symbol 2332 MovieClip Frame 605
play();
Symbol 2332 MovieClip Frame 606
play();
Symbol 2332 MovieClip Frame 607
play();
Symbol 2332 MovieClip Frame 608
play();
Symbol 2332 MovieClip Frame 609
play();
Symbol 2332 MovieClip Frame 610
play();
Symbol 2332 MovieClip Frame 611
play();
Symbol 2332 MovieClip Frame 612
play();
Symbol 2332 MovieClip Frame 613
play();
Symbol 2332 MovieClip Frame 614
play();
Symbol 2332 MovieClip Frame 615
play();
Symbol 2332 MovieClip Frame 616
play();
Symbol 2332 MovieClip Frame 617
play();
Symbol 2332 MovieClip Frame 618
play();
Symbol 2332 MovieClip Frame 619
play();
Symbol 2332 MovieClip Frame 620
play();
Symbol 2332 MovieClip Frame 621
play();
Symbol 2332 MovieClip Frame 622
play();
Symbol 2332 MovieClip Frame 623
play();
Symbol 2332 MovieClip Frame 624
play();
Symbol 2332 MovieClip Frame 625
play();
Symbol 2332 MovieClip Frame 626
play();
Symbol 2332 MovieClip Frame 627
play();
Symbol 2332 MovieClip Frame 628
play();
Symbol 2332 MovieClip Frame 629
play();
Symbol 2332 MovieClip Frame 630
play();
Symbol 2332 MovieClip Frame 631
play();
Symbol 2332 MovieClip Frame 632
play();
Symbol 2332 MovieClip Frame 633
play();
Symbol 2332 MovieClip Frame 634
play();
Symbol 2332 MovieClip Frame 635
play();
Symbol 2332 MovieClip Frame 636
play();
Symbol 2332 MovieClip Frame 637
play();
Symbol 2332 MovieClip Frame 638
play();
Symbol 2332 MovieClip Frame 639
play();
Symbol 2332 MovieClip Frame 640
play();
Symbol 2332 MovieClip Frame 641
play();
Symbol 2332 MovieClip Frame 642
play();
Symbol 2332 MovieClip Frame 643
play();
Symbol 2332 MovieClip Frame 644
play();
Symbol 2332 MovieClip Frame 645
play();
Symbol 2332 MovieClip Frame 646
play();
Symbol 2332 MovieClip Frame 647
play();
Symbol 2332 MovieClip Frame 648
play();
Symbol 2332 MovieClip Frame 649
play();
Symbol 2332 MovieClip Frame 650
play();
Symbol 2332 MovieClip Frame 651
play();
Symbol 2332 MovieClip Frame 652
play();
Symbol 2332 MovieClip Frame 653
play();
Symbol 2332 MovieClip Frame 654
play();
Symbol 2332 MovieClip Frame 655
play();
Symbol 2332 MovieClip Frame 656
play();
Symbol 2332 MovieClip Frame 657
play();
Symbol 2332 MovieClip Frame 658
play();
Symbol 2332 MovieClip Frame 659
play();
Symbol 2332 MovieClip Frame 660
play();
Symbol 2332 MovieClip Frame 661
play();
Symbol 2332 MovieClip Frame 662
play();
Symbol 2332 MovieClip Frame 663
play();
Symbol 2332 MovieClip Frame 664
play();
Symbol 2332 MovieClip Frame 665
play();
Symbol 2332 MovieClip Frame 666
play();
Symbol 2332 MovieClip Frame 667
play();
Symbol 2332 MovieClip Frame 668
play();
Symbol 2332 MovieClip Frame 669
play();
Symbol 2332 MovieClip Frame 670
play();
Symbol 2332 MovieClip Frame 671
play();
Symbol 2332 MovieClip Frame 672
play();
Symbol 2332 MovieClip Frame 673
play();
Symbol 2332 MovieClip Frame 674
play();
Symbol 2332 MovieClip Frame 675
play();
Symbol 2332 MovieClip Frame 676
play();
Symbol 2332 MovieClip Frame 677
play();
Symbol 2332 MovieClip Frame 678
play();
Symbol 2332 MovieClip Frame 679
play();
Symbol 2332 MovieClip Frame 680
play();
Symbol 2332 MovieClip Frame 681
play();
Symbol 2332 MovieClip Frame 682
play();
Symbol 2332 MovieClip Frame 683
play();
Symbol 2332 MovieClip Frame 684
play();
Symbol 2332 MovieClip Frame 685
play();
Symbol 2332 MovieClip Frame 686
play();
Symbol 2332 MovieClip Frame 687
play();
Symbol 2332 MovieClip Frame 688
play();
Symbol 2332 MovieClip Frame 689
play();
Symbol 2332 MovieClip Frame 690
play();
Symbol 2332 MovieClip Frame 691
play();
Symbol 2332 MovieClip Frame 692
play();
Symbol 2332 MovieClip Frame 693
play();
Symbol 2332 MovieClip Frame 694
play();
Symbol 2332 MovieClip Frame 695
play();
Symbol 2332 MovieClip Frame 696
play();
Symbol 2332 MovieClip Frame 697
play();
Symbol 2332 MovieClip Frame 698
play();
Symbol 2332 MovieClip Frame 699
play();
Symbol 2332 MovieClip Frame 700
play();
Symbol 2332 MovieClip Frame 701
play();
Symbol 2332 MovieClip Frame 702
play();
Symbol 2332 MovieClip Frame 703
play();
Symbol 2332 MovieClip Frame 704
play();
Symbol 2332 MovieClip Frame 705
play();
Symbol 2332 MovieClip Frame 706
play();
Symbol 2332 MovieClip Frame 707
play();
Symbol 2332 MovieClip Frame 708
play();
Symbol 2332 MovieClip Frame 709
play();
Symbol 2332 MovieClip Frame 710
play();
Symbol 2332 MovieClip Frame 711
play();
Symbol 2332 MovieClip Frame 712
play();
Symbol 2332 MovieClip Frame 713
play();
Symbol 2332 MovieClip Frame 714
play();
Symbol 2332 MovieClip Frame 715
play();
Symbol 2332 MovieClip Frame 716
play();
Symbol 2332 MovieClip Frame 717
play();
Symbol 2332 MovieClip Frame 718
play();
Symbol 2332 MovieClip Frame 719
play();
Symbol 2332 MovieClip Frame 720
play();
Symbol 2332 MovieClip Frame 721
play();
Symbol 2332 MovieClip Frame 722
play();
Symbol 2332 MovieClip Frame 723
play();
Symbol 2332 MovieClip Frame 724
play();
Symbol 2332 MovieClip Frame 725
play();
Symbol 2332 MovieClip Frame 726
play();
Symbol 2332 MovieClip Frame 727
play();
Symbol 2332 MovieClip Frame 728
play();
Symbol 2332 MovieClip Frame 729
play();
Symbol 2332 MovieClip Frame 730
play();
Symbol 2332 MovieClip Frame 731
play();
Symbol 2332 MovieClip Frame 732
play();
Symbol 2332 MovieClip Frame 733
play();
Symbol 2332 MovieClip Frame 734
play();
Symbol 2332 MovieClip Frame 735
play();
Symbol 2332 MovieClip Frame 736
play();
Symbol 2332 MovieClip Frame 737
play();
Symbol 2332 MovieClip Frame 738
play();
Symbol 2332 MovieClip Frame 739
play();
Symbol 2332 MovieClip Frame 740
play();
Symbol 2332 MovieClip Frame 741
play();
Symbol 2332 MovieClip Frame 742
play();
Symbol 2332 MovieClip Frame 743
play();
Symbol 2332 MovieClip Frame 744
play();
Symbol 2332 MovieClip Frame 745
play();
Symbol 2332 MovieClip Frame 746
play();
Symbol 2332 MovieClip Frame 747
play();
Symbol 2332 MovieClip Frame 748
play();
Symbol 2332 MovieClip Frame 749
play();
Symbol 2332 MovieClip Frame 750
play();
Symbol 2332 MovieClip Frame 751
play();
Symbol 2332 MovieClip Frame 752
play();
Symbol 2332 MovieClip Frame 753
play();
Symbol 2332 MovieClip Frame 754
play();
Symbol 2332 MovieClip Frame 755
play();
Symbol 2332 MovieClip Frame 756
play();
Symbol 2332 MovieClip Frame 757
play();
Symbol 2332 MovieClip Frame 758
play();
Symbol 2332 MovieClip Frame 759
play();
Symbol 2332 MovieClip Frame 760
play();
Symbol 2332 MovieClip Frame 761
play();
Symbol 2332 MovieClip Frame 762
play();
Symbol 2332 MovieClip Frame 763
play();
Symbol 2332 MovieClip Frame 764
play();
Symbol 2332 MovieClip Frame 765
play();
Symbol 2332 MovieClip Frame 766
play();
Symbol 2332 MovieClip Frame 767
play();
Symbol 2332 MovieClip Frame 768
play();
Symbol 2332 MovieClip Frame 769
play();
Symbol 2332 MovieClip Frame 770
play();
Symbol 2332 MovieClip Frame 771
play();
Symbol 2332 MovieClip Frame 772
play();
Symbol 2332 MovieClip Frame 773
play();
Symbol 2332 MovieClip Frame 774
play();
Symbol 2332 MovieClip Frame 775
play();
Symbol 2332 MovieClip Frame 776
play();
Symbol 2332 MovieClip Frame 777
play();
Symbol 2332 MovieClip Frame 778
play();
Symbol 2332 MovieClip Frame 779
play();
Symbol 2332 MovieClip Frame 780
play();
Symbol 2332 MovieClip Frame 781
play();
Symbol 2332 MovieClip Frame 782
play();
Symbol 2332 MovieClip Frame 783
play();
Symbol 2332 MovieClip Frame 784
play();
Symbol 2332 MovieClip Frame 785
play();
Symbol 2332 MovieClip Frame 786
play();
Symbol 2332 MovieClip Frame 787
play();
Symbol 2332 MovieClip Frame 788
play();
Symbol 2332 MovieClip Frame 789
play();
Symbol 2332 MovieClip Frame 790
play();
Symbol 2332 MovieClip Frame 791
play();
Symbol 2332 MovieClip Frame 792
play();
Symbol 2332 MovieClip Frame 793
play();
Symbol 2332 MovieClip Frame 794
play();
Symbol 2332 MovieClip Frame 795
play();
Symbol 2332 MovieClip Frame 796
play();
Symbol 2332 MovieClip Frame 797
play();
Symbol 2332 MovieClip Frame 798
play();
Symbol 2332 MovieClip Frame 799
play();
Symbol 2332 MovieClip Frame 800
play();
Symbol 2332 MovieClip Frame 801
play();
Symbol 2332 MovieClip Frame 802
play();
Symbol 2332 MovieClip Frame 803
play();
Symbol 2332 MovieClip Frame 804
play();
Symbol 2332 MovieClip Frame 805
play();
Symbol 2332 MovieClip Frame 806
play();
Symbol 2332 MovieClip Frame 807
play();
Symbol 2332 MovieClip Frame 808
play();
Symbol 2332 MovieClip Frame 809
play();
Symbol 2332 MovieClip Frame 810
play();
Symbol 2332 MovieClip Frame 811
play();
Symbol 2332 MovieClip Frame 812
play();
Symbol 2332 MovieClip Frame 813
play();
Symbol 2332 MovieClip Frame 814
play();
Symbol 2332 MovieClip Frame 815
play();
Symbol 2332 MovieClip Frame 816
play();
Symbol 2332 MovieClip Frame 817
play();
Symbol 2332 MovieClip Frame 818
play();
Symbol 2332 MovieClip Frame 819
play();
Symbol 2332 MovieClip Frame 820
play();
Symbol 2332 MovieClip Frame 821
play();
Symbol 2332 MovieClip Frame 822
play();
Symbol 2332 MovieClip Frame 823
play();
Symbol 2332 MovieClip Frame 824
play();
Symbol 2332 MovieClip Frame 825
play();
Symbol 2332 MovieClip Frame 826
play();
Symbol 2332 MovieClip Frame 827
play();
Symbol 2332 MovieClip Frame 828
play();
Symbol 2332 MovieClip Frame 829
play();
Symbol 2332 MovieClip Frame 830
play();
Symbol 2332 MovieClip Frame 831
play();
Symbol 2332 MovieClip Frame 832
play();
Symbol 2332 MovieClip Frame 833
play();
Symbol 2332 MovieClip Frame 834
play();
Symbol 2332 MovieClip Frame 835
play();
Symbol 2332 MovieClip Frame 836
play();
Symbol 2332 MovieClip Frame 837
play();
Symbol 2332 MovieClip Frame 838
play();
Symbol 2332 MovieClip Frame 839
play();
Symbol 2332 MovieClip Frame 840
play();
Symbol 2332 MovieClip Frame 841
play();
Symbol 2332 MovieClip Frame 842
play();
Symbol 2332 MovieClip Frame 843
play();
Symbol 2332 MovieClip Frame 844
play();
Symbol 2332 MovieClip Frame 845
play();
Symbol 2332 MovieClip Frame 846
play();
Symbol 2332 MovieClip Frame 847
play();
Symbol 2332 MovieClip Frame 848
play();
Symbol 2332 MovieClip Frame 849
play();
Symbol 2332 MovieClip Frame 850
play();
Symbol 2332 MovieClip Frame 851
play();
Symbol 2332 MovieClip Frame 852
play();
Symbol 2332 MovieClip Frame 853
play();
Symbol 2332 MovieClip Frame 854
play();
Symbol 2332 MovieClip Frame 855
play();
Symbol 2332 MovieClip Frame 856
play();
Symbol 2332 MovieClip Frame 857
play();
Symbol 2332 MovieClip Frame 858
play();
Symbol 2332 MovieClip Frame 859
play();
Symbol 2332 MovieClip Frame 860
play();
Symbol 2332 MovieClip Frame 861
play();
Symbol 2332 MovieClip Frame 862
play();
Symbol 2332 MovieClip Frame 863
play();
Symbol 2332 MovieClip Frame 864
play();
Symbol 2332 MovieClip Frame 865
play();
Symbol 2332 MovieClip Frame 866
play();
Symbol 2332 MovieClip Frame 867
play();
Symbol 2332 MovieClip Frame 868
play();
Symbol 2332 MovieClip Frame 869
play();
Symbol 2332 MovieClip Frame 870
play();
Symbol 2332 MovieClip Frame 871
play();
Symbol 2332 MovieClip Frame 872
play();
Symbol 2332 MovieClip Frame 873
play();
Symbol 2332 MovieClip Frame 874
play();
Symbol 2332 MovieClip Frame 875
play();
Symbol 2332 MovieClip Frame 876
play();
Symbol 2332 MovieClip Frame 877
play();
Symbol 2332 MovieClip Frame 878
play();
Symbol 2332 MovieClip Frame 879
play();
Symbol 2332 MovieClip Frame 880
play();
Symbol 2332 MovieClip Frame 881
play();
Symbol 2332 MovieClip Frame 882
play();
Symbol 2332 MovieClip Frame 883
play();
Symbol 2332 MovieClip Frame 884
play();
Symbol 2332 MovieClip Frame 885
play();
Symbol 2332 MovieClip Frame 886
play();
Symbol 2332 MovieClip Frame 887
play();
Symbol 2332 MovieClip Frame 888
play();
Symbol 2332 MovieClip Frame 889
play();
Symbol 2332 MovieClip Frame 890
play();
Symbol 2332 MovieClip Frame 891
play();
Symbol 2332 MovieClip Frame 892
play();
Symbol 2332 MovieClip Frame 893
play();
Symbol 2332 MovieClip Frame 894
play();
Symbol 2332 MovieClip Frame 895
play();
Symbol 2332 MovieClip Frame 896
play();
Symbol 2332 MovieClip Frame 897
play();
Symbol 2332 MovieClip Frame 898
play();
Symbol 2332 MovieClip Frame 899
play();
Symbol 2332 MovieClip Frame 900
play();
Symbol 2332 MovieClip Frame 901
play();
Symbol 2332 MovieClip Frame 902
play();
Symbol 2332 MovieClip Frame 903
play();
Symbol 2332 MovieClip Frame 904
play();
Symbol 2332 MovieClip Frame 905
play();
Symbol 2332 MovieClip Frame 906
play();
Symbol 2332 MovieClip Frame 907
play();
Symbol 2332 MovieClip Frame 908
play();
Symbol 2332 MovieClip Frame 909
play();
Symbol 2332 MovieClip Frame 910
play();
Symbol 2332 MovieClip Frame 911
play();
Symbol 2332 MovieClip Frame 912
play();
Symbol 2332 MovieClip Frame 913
play();
Symbol 2332 MovieClip Frame 914
play();
Symbol 2332 MovieClip Frame 915
play();
Symbol 2332 MovieClip Frame 916
play();
Symbol 2332 MovieClip Frame 917
play();
Symbol 2332 MovieClip Frame 918
play();
Symbol 2332 MovieClip Frame 919
play();
Symbol 2332 MovieClip Frame 920
play();
Symbol 2332 MovieClip Frame 921
play();
Symbol 2332 MovieClip Frame 922
play();
Symbol 2332 MovieClip Frame 923
play();
Symbol 2332 MovieClip Frame 924
play();
Symbol 2332 MovieClip Frame 925
play();
Symbol 2332 MovieClip Frame 926
play();
Symbol 2332 MovieClip Frame 927
play();
Symbol 2332 MovieClip Frame 928
play();
Symbol 2332 MovieClip Frame 929
play();
Symbol 2332 MovieClip Frame 930
play();
Symbol 2332 MovieClip Frame 931
play();
Symbol 2332 MovieClip Frame 932
play();
Symbol 2332 MovieClip Frame 933
play();
Symbol 2332 MovieClip Frame 934
play();
Symbol 2332 MovieClip Frame 935
play();
Symbol 2332 MovieClip Frame 936
play();
Symbol 2332 MovieClip Frame 937
play();
Symbol 2332 MovieClip Frame 938
play();
Symbol 2332 MovieClip Frame 939
play();
Symbol 2332 MovieClip Frame 940
play();
Symbol 2332 MovieClip Frame 941
play();
Symbol 2332 MovieClip Frame 942
play();
Symbol 2332 MovieClip Frame 943
play();
Symbol 2332 MovieClip Frame 944
play();
Symbol 2332 MovieClip Frame 945
play();
Symbol 2332 MovieClip Frame 946
play();
Symbol 2332 MovieClip Frame 947
play();
Symbol 2332 MovieClip Frame 948
play();
Symbol 2332 MovieClip Frame 949
play();
Symbol 2332 MovieClip Frame 950
play();
Symbol 2332 MovieClip Frame 951
play();
Symbol 2332 MovieClip Frame 952
play();
Symbol 2332 MovieClip Frame 953
play();
Symbol 2332 MovieClip Frame 954
play();
Symbol 2332 MovieClip Frame 955
play();
Symbol 2332 MovieClip Frame 956
play();
Symbol 2332 MovieClip Frame 957
play();
Symbol 2332 MovieClip Frame 958
play();
Symbol 2332 MovieClip Frame 959
play();
Symbol 2332 MovieClip Frame 960
play();
Symbol 2332 MovieClip Frame 961
play();
Symbol 2332 MovieClip Frame 962
play();
Symbol 2332 MovieClip Frame 963
play();
Symbol 2332 MovieClip Frame 964
play();
Symbol 2332 MovieClip Frame 965
play();
Symbol 2332 MovieClip Frame 966
play();
Symbol 2332 MovieClip Frame 967
play();
Symbol 2332 MovieClip Frame 968
play();
Symbol 2332 MovieClip Frame 969
play();
Symbol 2332 MovieClip Frame 970
play();
Symbol 2332 MovieClip Frame 971
play();
Symbol 2332 MovieClip Frame 972
play();
Symbol 2332 MovieClip Frame 973
play();
Symbol 2332 MovieClip Frame 974
play();
Symbol 2332 MovieClip Frame 975
play();
Symbol 2332 MovieClip Frame 976
play();
Symbol 2332 MovieClip Frame 977
play();
Symbol 2332 MovieClip Frame 978
play();
Symbol 2332 MovieClip Frame 979
play();
Symbol 2332 MovieClip Frame 980
play();
Symbol 2332 MovieClip Frame 981
play();
Symbol 2332 MovieClip Frame 982
play();
Symbol 2332 MovieClip Frame 983
play();
Symbol 2332 MovieClip Frame 984
play();
Symbol 2332 MovieClip Frame 985
play();
Symbol 2332 MovieClip Frame 986
play();
Symbol 2332 MovieClip Frame 987
play();
Symbol 2332 MovieClip Frame 988
play();
Symbol 2332 MovieClip Frame 989
play();
Symbol 2332 MovieClip Frame 990
play();
Symbol 2332 MovieClip Frame 991
play();
Symbol 2332 MovieClip Frame 992
play();
Symbol 2332 MovieClip Frame 993
play();
Symbol 2332 MovieClip Frame 994
play();
Symbol 2332 MovieClip Frame 995
play();
Symbol 2332 MovieClip Frame 996
play();
Symbol 2332 MovieClip Frame 997
play();
Symbol 2332 MovieClip Frame 998
play();
Symbol 2332 MovieClip Frame 999
play();
Symbol 2332 MovieClip Frame 1000
play();
Symbol 2332 MovieClip Frame 1001
play();
Symbol 2332 MovieClip Frame 1002
play();
Symbol 2332 MovieClip Frame 1003
play();
Symbol 2332 MovieClip Frame 1004
play();
Symbol 2332 MovieClip Frame 1005
play();
Symbol 2332 MovieClip Frame 1006
play();
Symbol 2332 MovieClip Frame 1007
play();
Symbol 2332 MovieClip Frame 1008
play();
Symbol 2332 MovieClip Frame 1009
play();
Symbol 2332 MovieClip Frame 1010
play();
Symbol 2332 MovieClip Frame 1011
play();
Symbol 2332 MovieClip Frame 1012
play();
Symbol 2332 MovieClip Frame 1013
play();
Symbol 2332 MovieClip Frame 1014
play();
Symbol 2332 MovieClip Frame 1015
play();
Symbol 2332 MovieClip Frame 1016
play();
Symbol 2332 MovieClip Frame 1017
play();
Symbol 2332 MovieClip Frame 1018
play();
Symbol 2332 MovieClip Frame 1019
play();
Symbol 2332 MovieClip Frame 1020
play();
Symbol 2332 MovieClip Frame 1021
play();
Symbol 2332 MovieClip Frame 1022
play();
Symbol 2332 MovieClip Frame 1023
play();
Symbol 2332 MovieClip Frame 1024
play();
Symbol 2332 MovieClip Frame 1025
play();
Symbol 2332 MovieClip Frame 1026
play();
Symbol 2332 MovieClip Frame 1027
play();
Symbol 2332 MovieClip Frame 1028
play();
Symbol 2332 MovieClip Frame 1029
play();
Symbol 2332 MovieClip Frame 1030
play();
Symbol 2332 MovieClip Frame 1031
play();
Symbol 2332 MovieClip Frame 1032
play();
Symbol 2332 MovieClip Frame 1033
play();
Symbol 2332 MovieClip Frame 1034
play();
Symbol 2332 MovieClip Frame 1035
play();
Symbol 2332 MovieClip Frame 1036
play();
Symbol 2332 MovieClip Frame 1037
play();
Symbol 2332 MovieClip Frame 1038
play();
Symbol 2332 MovieClip Frame 1039
play();
Symbol 2332 MovieClip Frame 1040
play();
Symbol 2332 MovieClip Frame 1041
play();
Symbol 2332 MovieClip Frame 1042
play();
Symbol 2332 MovieClip Frame 1043
play();
Symbol 2332 MovieClip Frame 1044
play();
Symbol 2332 MovieClip Frame 1045
play();
Symbol 2332 MovieClip Frame 1046
play();
Symbol 2332 MovieClip Frame 1047
play();
Symbol 2332 MovieClip Frame 1048
play();
Symbol 2332 MovieClip Frame 1049
play();
Symbol 2332 MovieClip Frame 1050
play();
Symbol 2332 MovieClip Frame 1051
play();
Symbol 2332 MovieClip Frame 1052
play();
Symbol 2332 MovieClip Frame 1053
play();
Symbol 2332 MovieClip Frame 1054
play();
Symbol 2332 MovieClip Frame 1055
play();
Symbol 2332 MovieClip Frame 1056
play();
Symbol 2332 MovieClip Frame 1057
play();
Symbol 2332 MovieClip Frame 1058
play();
Symbol 2332 MovieClip Frame 1059
play();
Symbol 2332 MovieClip Frame 1060
play();
Symbol 2332 MovieClip Frame 1061
play();
Symbol 2332 MovieClip Frame 1062
play();
Symbol 2332 MovieClip Frame 1063
play();
Symbol 2332 MovieClip Frame 1064
play();
Symbol 2332 MovieClip Frame 1065
play();
Symbol 2332 MovieClip Frame 1066
play();
Symbol 2332 MovieClip Frame 1067
play();
Symbol 2332 MovieClip Frame 1068
play();
Symbol 2332 MovieClip Frame 1069
play();
Symbol 2332 MovieClip Frame 1070
play();
Symbol 2332 MovieClip Frame 1071
play();
Symbol 2332 MovieClip Frame 1072
play();
Symbol 2332 MovieClip Frame 1073
play();
Symbol 2332 MovieClip Frame 1074
play();
Symbol 2332 MovieClip Frame 1075
play();
Symbol 2332 MovieClip Frame 1076
play();
Symbol 2332 MovieClip Frame 1077
play();
Symbol 2332 MovieClip Frame 1078
play();
Symbol 2332 MovieClip Frame 1079
play();
Symbol 2332 MovieClip Frame 1080
play();
Symbol 2332 MovieClip Frame 1081
play();
Symbol 2332 MovieClip Frame 1082
play();
Symbol 2332 MovieClip Frame 1083
play();
Symbol 2332 MovieClip Frame 1084
play();
Symbol 2332 MovieClip Frame 1085
play();
Symbol 2332 MovieClip Frame 1086
play();
Symbol 2332 MovieClip Frame 1087
play();
Symbol 2332 MovieClip Frame 1088
play();
Symbol 2332 MovieClip Frame 1089
play();
Symbol 2332 MovieClip Frame 1090
play();
Symbol 2332 MovieClip Frame 1091
play();
Symbol 2332 MovieClip Frame 1092
play();
Symbol 2332 MovieClip Frame 1093
play();
Symbol 2332 MovieClip Frame 1094
play();
Symbol 2332 MovieClip Frame 1095
play();
Symbol 2332 MovieClip Frame 1096
play();
Symbol 2332 MovieClip Frame 1097
play();
Symbol 2332 MovieClip Frame 1098
play();
Symbol 2332 MovieClip Frame 1099
play();
Symbol 2332 MovieClip Frame 1100
play();
Symbol 2332 MovieClip Frame 1101
play();
Symbol 2332 MovieClip Frame 1102
play();
Symbol 2332 MovieClip Frame 1103
play();
Symbol 2332 MovieClip Frame 1104
play();
Symbol 2332 MovieClip Frame 1105
play();
Symbol 2332 MovieClip Frame 1106
play();
Symbol 2332 MovieClip Frame 1107
play();
Symbol 2332 MovieClip Frame 1108
play();
Symbol 2332 MovieClip Frame 1109
play();
Symbol 2332 MovieClip Frame 1110
play();
Symbol 2332 MovieClip Frame 1111
play();
Symbol 2332 MovieClip Frame 1112
play();
Symbol 2332 MovieClip Frame 1113
play();
Symbol 2332 MovieClip Frame 1114
play();
Symbol 2332 MovieClip Frame 1115
play();
Symbol 2332 MovieClip Frame 1116
play();
Symbol 2332 MovieClip Frame 1117
play();
Symbol 2332 MovieClip Frame 1118
play();
Symbol 2332 MovieClip Frame 1119
play();
Symbol 2332 MovieClip Frame 1120
play();
Symbol 2332 MovieClip Frame 1121
play();
Symbol 2332 MovieClip Frame 1122
play();
Symbol 2332 MovieClip Frame 1123
play();
Symbol 2332 MovieClip Frame 1124
play();
Symbol 2332 MovieClip Frame 1125
play();
Symbol 2332 MovieClip Frame 1126
play();
Symbol 2332 MovieClip Frame 1127
play();
Symbol 2332 MovieClip Frame 1128
play();
Symbol 2332 MovieClip Frame 1129
play();
Symbol 2332 MovieClip Frame 1130
play();
Symbol 2332 MovieClip Frame 1131
play();
Symbol 2332 MovieClip Frame 1132
play();
Symbol 2332 MovieClip Frame 1133
play();
Symbol 2332 MovieClip Frame 1134
play();
Symbol 2332 MovieClip Frame 1135
play();
Symbol 2332 MovieClip Frame 1136
play();
Symbol 2332 MovieClip Frame 1137
play();
Symbol 2332 MovieClip Frame 1138
play();
Symbol 2332 MovieClip Frame 1139
play();
Symbol 2332 MovieClip Frame 1140
gotoAndStop (1);
Symbol 2332 MovieClip Frame 1141
play();
Symbol 2332 MovieClip Frame 1142
play();
Symbol 2332 MovieClip Frame 1143
play();
Symbol 2332 MovieClip Frame 1144
play();
Symbol 2332 MovieClip Frame 1145
play();
Symbol 2332 MovieClip Frame 1146
play();
Symbol 2332 MovieClip Frame 1147
play();
Symbol 2332 MovieClip Frame 1148
play();
Symbol 2332 MovieClip Frame 1149
play();
Symbol 2332 MovieClip Frame 1150
play();
Symbol 2332 MovieClip Frame 1151
play();
Symbol 2332 MovieClip Frame 1152
play();
Symbol 2332 MovieClip Frame 1153
play();
Symbol 2332 MovieClip Frame 1154
play();
Symbol 2332 MovieClip Frame 1155
play();
Symbol 2332 MovieClip Frame 1156
play();
Symbol 2332 MovieClip Frame 1157
play();
Symbol 2332 MovieClip Frame 1158
play();
Symbol 2332 MovieClip Frame 1159
play();
Symbol 2332 MovieClip Frame 1160
play();
Symbol 2332 MovieClip Frame 1161
play();
Symbol 2332 MovieClip Frame 1162
play();
Symbol 2332 MovieClip Frame 1163
play();
Symbol 2332 MovieClip Frame 1164
play();
Symbol 2332 MovieClip Frame 1165
play();
Symbol 2332 MovieClip Frame 1166
play();
Symbol 2332 MovieClip Frame 1167
play();
Symbol 2332 MovieClip Frame 1168
play();
Symbol 2332 MovieClip Frame 1169
play();
Symbol 2332 MovieClip Frame 1170
play();
Symbol 2332 MovieClip Frame 1171
play();
Symbol 2332 MovieClip Frame 1172
play();
Symbol 2332 MovieClip Frame 1173
play();
Symbol 2332 MovieClip Frame 1174
play();
Symbol 2332 MovieClip Frame 1175
play();
Symbol 2332 MovieClip Frame 1176
play();
Symbol 2332 MovieClip Frame 1177
play();
Symbol 2332 MovieClip Frame 1178
play();
Symbol 2332 MovieClip Frame 1179
play();
Symbol 2332 MovieClip Frame 1180
play();
Symbol 2332 MovieClip Frame 1181
play();
Symbol 2332 MovieClip Frame 1182
play();
Symbol 2332 MovieClip Frame 1183
play();
Symbol 2332 MovieClip Frame 1184
play();
Symbol 2332 MovieClip Frame 1185
play();
Symbol 2332 MovieClip Frame 1186
play();
Symbol 2332 MovieClip Frame 1187
play();
Symbol 2332 MovieClip Frame 1188
play();
Symbol 2332 MovieClip Frame 1189
play();
Symbol 2332 MovieClip Frame 1190
play();
Symbol 2332 MovieClip Frame 1191
play();
Symbol 2332 MovieClip Frame 1192
play();
Symbol 2332 MovieClip Frame 1193
play();
Symbol 2332 MovieClip Frame 1194
play();
Symbol 2332 MovieClip Frame 1195
play();
Symbol 2332 MovieClip Frame 1196
play();
Symbol 2332 MovieClip Frame 1197
play();
Symbol 2332 MovieClip Frame 1198
play();
Symbol 2332 MovieClip Frame 1199
play();
Symbol 2332 MovieClip Frame 1200
play();
Symbol 2332 MovieClip Frame 1201
play();
Symbol 2332 MovieClip Frame 1202
play();
Symbol 2332 MovieClip Frame 1203
play();
Symbol 2332 MovieClip Frame 1204
play();
Symbol 2332 MovieClip Frame 1205
play();
Symbol 2332 MovieClip Frame 1206
play();
Symbol 2332 MovieClip Frame 1207
play();
Symbol 2332 MovieClip Frame 1208
play();
Symbol 2332 MovieClip Frame 1209
play();
Symbol 2332 MovieClip Frame 1210
play();
Symbol 2332 MovieClip Frame 1211
play();
Symbol 2332 MovieClip Frame 1212
play();
Symbol 2332 MovieClip Frame 1213
play();
Symbol 2332 MovieClip Frame 1214
play();
Symbol 2332 MovieClip Frame 1215
play();
Symbol 2332 MovieClip Frame 1216
play();
Symbol 2332 MovieClip Frame 1217
play();
Symbol 2332 MovieClip Frame 1218
play();
Symbol 2332 MovieClip Frame 1219
play();
Symbol 2332 MovieClip Frame 1220
play();
Symbol 2332 MovieClip Frame 1221
play();
Symbol 2332 MovieClip Frame 1222
play();
Symbol 2332 MovieClip Frame 1223
play();
Symbol 2332 MovieClip Frame 1224
play();
Symbol 2332 MovieClip Frame 1225
play();
Symbol 2332 MovieClip Frame 1226
play();
Symbol 2332 MovieClip Frame 1227
play();
Symbol 2332 MovieClip Frame 1228
play();
Symbol 2332 MovieClip Frame 1229
play();
Symbol 2332 MovieClip Frame 1230
play();
Symbol 2332 MovieClip Frame 1231
play();
Symbol 2332 MovieClip Frame 1232
play();
Symbol 2332 MovieClip Frame 1233
play();
Symbol 2332 MovieClip Frame 1234
play();
Symbol 2332 MovieClip Frame 1235
play();
Symbol 2332 MovieClip Frame 1236
play();
Symbol 2332 MovieClip Frame 1237
play();
Symbol 2332 MovieClip Frame 1238
play();
Symbol 2332 MovieClip Frame 1239
play();
Symbol 2332 MovieClip Frame 1240
play();
Symbol 2332 MovieClip Frame 1241
play();
Symbol 2332 MovieClip Frame 1242
play();
Symbol 2332 MovieClip Frame 1243
play();
Symbol 2332 MovieClip Frame 1244
play();
Symbol 2332 MovieClip Frame 1245
play();
Symbol 2332 MovieClip Frame 1246
play();
Symbol 2332 MovieClip Frame 1247
play();
Symbol 2332 MovieClip Frame 1248
play();
Symbol 2332 MovieClip Frame 1249
play();
Symbol 2332 MovieClip Frame 1250
play();
Symbol 2332 MovieClip Frame 1251
play();
Symbol 2332 MovieClip Frame 1252
play();
Symbol 2332 MovieClip Frame 1253
play();
Symbol 2332 MovieClip Frame 1254
play();
Symbol 2332 MovieClip Frame 1255
play();
Symbol 2332 MovieClip Frame 1256
play();
Symbol 2332 MovieClip Frame 1257
play();
Symbol 2332 MovieClip Frame 1258
play();
Symbol 2332 MovieClip Frame 1259
play();
Symbol 2332 MovieClip Frame 1260
play();
Symbol 2332 MovieClip Frame 1261
play();
Symbol 2332 MovieClip Frame 1262
play();
Symbol 2332 MovieClip Frame 1263
play();
Symbol 2332 MovieClip Frame 1264
play();
Symbol 2332 MovieClip Frame 1265
play();
Symbol 2332 MovieClip Frame 1266
play();
Symbol 2332 MovieClip Frame 1267
play();
Symbol 2332 MovieClip Frame 1268
play();
Symbol 2332 MovieClip Frame 1269
play();
Symbol 2332 MovieClip Frame 1270
play();
Symbol 2332 MovieClip Frame 1271
play();
Symbol 2332 MovieClip Frame 1272
play();
Symbol 2332 MovieClip Frame 1273
play();
Symbol 2332 MovieClip Frame 1274
play();
Symbol 2332 MovieClip Frame 1275
play();
Symbol 2332 MovieClip Frame 1276
play();
Symbol 2332 MovieClip Frame 1277
play();
Symbol 2332 MovieClip Frame 1278
play();
Symbol 2332 MovieClip Frame 1279
play();
Symbol 2332 MovieClip Frame 1280
play();
Symbol 2332 MovieClip Frame 1281
play();
Symbol 2332 MovieClip Frame 1282
play();
Symbol 2332 MovieClip Frame 1283
play();
Symbol 2332 MovieClip Frame 1284
play();
Symbol 2332 MovieClip Frame 1285
play();
Symbol 2332 MovieClip Frame 1286
play();
Symbol 2332 MovieClip Frame 1287
play();
Symbol 2332 MovieClip Frame 1288
play();
Symbol 2332 MovieClip Frame 1289
play();
Symbol 2332 MovieClip Frame 1290
play();
Symbol 2332 MovieClip Frame 1291
play();
Symbol 2332 MovieClip Frame 1292
play();
Symbol 2332 MovieClip Frame 1293
play();
Symbol 2332 MovieClip Frame 1294
play();
Symbol 2332 MovieClip Frame 1295
play();
Symbol 2332 MovieClip Frame 1296
play();
Symbol 2332 MovieClip Frame 1297
play();
Symbol 2332 MovieClip Frame 1298
play();
Symbol 2332 MovieClip Frame 1299
play();
Symbol 2332 MovieClip Frame 1300
play();
Symbol 2332 MovieClip Frame 1301
play();
Symbol 2332 MovieClip Frame 1302
play();
Symbol 2332 MovieClip Frame 1303
play();
Symbol 2332 MovieClip Frame 1304
play();
Symbol 2332 MovieClip Frame 1305
play();
Symbol 2332 MovieClip Frame 1306
play();
Symbol 2332 MovieClip Frame 1307
play();
Symbol 2332 MovieClip Frame 1308
play();
Symbol 2332 MovieClip Frame 1309
play();
Symbol 2332 MovieClip Frame 1310
play();
Symbol 2332 MovieClip Frame 1311
play();
Symbol 2332 MovieClip Frame 1312
play();
Symbol 2332 MovieClip Frame 1313
play();
Symbol 2332 MovieClip Frame 1314
play();
Symbol 2332 MovieClip Frame 1315
play();
Symbol 2332 MovieClip Frame 1316
play();
Symbol 2332 MovieClip Frame 1317
play();
Symbol 2332 MovieClip Frame 1318
stop();
Symbol 2332 MovieClip Frame 1400
play();
Symbol 2332 MovieClip Frame 1401
play();
Symbol 2332 MovieClip Frame 1402
play();
Symbol 2332 MovieClip Frame 1403
play();
Symbol 2332 MovieClip Frame 1404
play();
Symbol 2332 MovieClip Frame 1405
play();
Symbol 2332 MovieClip Frame 1406
play();
Symbol 2332 MovieClip Frame 1407
play();
Symbol 2332 MovieClip Frame 1408
play();
Symbol 2332 MovieClip Frame 1409
play();
Symbol 2332 MovieClip Frame 1410
play();
Symbol 2332 MovieClip Frame 1411
play();
Symbol 2332 MovieClip Frame 1412
play();
Symbol 2332 MovieClip Frame 1413
play();
Symbol 2332 MovieClip Frame 1414
play();
Symbol 2332 MovieClip Frame 1415
play();
Symbol 2332 MovieClip Frame 1416
play();
Symbol 2332 MovieClip Frame 1417
play();
Symbol 2332 MovieClip Frame 1418
play();
Symbol 2332 MovieClip Frame 1419
play();
Symbol 2332 MovieClip Frame 1420
play();
Symbol 2332 MovieClip Frame 1421
play();
Symbol 2332 MovieClip Frame 1422
play();
Symbol 2332 MovieClip Frame 1423
play();
Symbol 2332 MovieClip Frame 1424
play();
Symbol 2332 MovieClip Frame 1425
play();
Symbol 2332 MovieClip Frame 1426
play();
Symbol 2332 MovieClip Frame 1427
play();
Symbol 2332 MovieClip Frame 1428
play();
Symbol 2332 MovieClip Frame 1429
play();
Symbol 2332 MovieClip Frame 1430
play();
Symbol 2332 MovieClip Frame 1431
play();
Symbol 2332 MovieClip Frame 1432
play();
Symbol 2332 MovieClip Frame 1433
play();
Symbol 2332 MovieClip Frame 1434
play();
Symbol 2332 MovieClip Frame 1435
play();
Symbol 2332 MovieClip Frame 1436
play();
Symbol 2332 MovieClip Frame 1437
play();
Symbol 2332 MovieClip Frame 1438
play();
Symbol 2332 MovieClip Frame 1439
play();
Symbol 2332 MovieClip Frame 1440
play();
Symbol 2332 MovieClip Frame 1441
play();
Symbol 2332 MovieClip Frame 1442
play();
Symbol 2332 MovieClip Frame 1443
play();
Symbol 2332 MovieClip Frame 1444
play();
Symbol 2332 MovieClip Frame 1445
play();
Symbol 2332 MovieClip Frame 1446
play();
Symbol 2332 MovieClip Frame 1447
play();
Symbol 2332 MovieClip Frame 1448
play();
Symbol 2332 MovieClip Frame 1449
play();
Symbol 2332 MovieClip Frame 1450
play();
Symbol 2332 MovieClip Frame 1451
play();
Symbol 2332 MovieClip Frame 1452
play();
Symbol 2332 MovieClip Frame 1453
play();
Symbol 2332 MovieClip Frame 1454
play();
Symbol 2332 MovieClip Frame 1455
play();
Symbol 2332 MovieClip Frame 1456
play();
Symbol 2332 MovieClip Frame 1457
play();
Symbol 2332 MovieClip Frame 1458
play();
Symbol 2332 MovieClip Frame 1459
play();
Symbol 2332 MovieClip Frame 1460
play();
Symbol 2332 MovieClip Frame 1461
play();
Symbol 2332 MovieClip Frame 1462
play();
Symbol 2332 MovieClip Frame 1463
play();
Symbol 2332 MovieClip Frame 1464
play();
Symbol 2332 MovieClip Frame 1465
play();
Symbol 2332 MovieClip Frame 1466
play();
Symbol 2332 MovieClip Frame 1467
play();
Symbol 2332 MovieClip Frame 1468
play();
Symbol 2332 MovieClip Frame 1469
play();
Symbol 2332 MovieClip Frame 1470
play();
Symbol 2332 MovieClip Frame 1471
play();
Symbol 2332 MovieClip Frame 1472
play();
Symbol 2332 MovieClip Frame 1473
play();
Symbol 2332 MovieClip Frame 1474
play();
Symbol 2332 MovieClip Frame 1475
play();
Symbol 2332 MovieClip Frame 1476
play();
Symbol 2332 MovieClip Frame 1477
play();
Symbol 2332 MovieClip Frame 1478
play();
Symbol 2332 MovieClip Frame 1479
play();
Symbol 2332 MovieClip Frame 1480
play();
Symbol 2332 MovieClip Frame 1481
play();
Symbol 2332 MovieClip Frame 1482
play();
Symbol 2332 MovieClip Frame 1483
play();
Symbol 2332 MovieClip Frame 1484
play();
Symbol 2332 MovieClip Frame 1485
play();
Symbol 2332 MovieClip Frame 1486
play();
Symbol 2332 MovieClip Frame 1487
play();
Symbol 2332 MovieClip Frame 1488
play();
Symbol 2332 MovieClip Frame 1489
play();
Symbol 2332 MovieClip Frame 1490
play();
Symbol 2332 MovieClip Frame 1491
play();
Symbol 2332 MovieClip Frame 1492
play();
Symbol 2332 MovieClip Frame 1493
play();
Symbol 2332 MovieClip Frame 1494
play();
Symbol 2332 MovieClip Frame 1495
play();
Symbol 2332 MovieClip Frame 1496
play();
Symbol 2332 MovieClip Frame 1497
play();
Symbol 2332 MovieClip Frame 1498
play();
Symbol 2332 MovieClip Frame 1499
play();
Symbol 2332 MovieClip Frame 1500
play();
Symbol 2332 MovieClip Frame 1501
play();
Symbol 2332 MovieClip Frame 1502
play();
Symbol 2332 MovieClip Frame 1503
play();
Symbol 2332 MovieClip Frame 1504
play();
Symbol 2332 MovieClip Frame 1505
play();
Symbol 2332 MovieClip Frame 1506
play();
Symbol 2332 MovieClip Frame 1507
play();
Symbol 2332 MovieClip Frame 1508
play();
Symbol 2332 MovieClip Frame 1509
play();
Symbol 2332 MovieClip Frame 1510
play();
Symbol 2332 MovieClip Frame 1511
play();
Symbol 2332 MovieClip Frame 1512
play();
Symbol 2332 MovieClip Frame 1513
play();
Symbol 2332 MovieClip Frame 1514
play();
Symbol 2332 MovieClip Frame 1515
play();
Symbol 2332 MovieClip Frame 1516
play();
Symbol 2332 MovieClip Frame 1517
play();
Symbol 2332 MovieClip Frame 1518
play();
Symbol 2332 MovieClip Frame 1519
play();
Symbol 2332 MovieClip Frame 1520
play();
Symbol 2332 MovieClip Frame 1521
play();
Symbol 2332 MovieClip Frame 1522
play();
Symbol 2332 MovieClip Frame 1523
play();
Symbol 2332 MovieClip Frame 1524
play();
Symbol 2332 MovieClip Frame 1525
play();
Symbol 2332 MovieClip Frame 1526
play();
Symbol 2332 MovieClip Frame 1527
play();
Symbol 2332 MovieClip Frame 1528
play();
Symbol 2332 MovieClip Frame 1529
play();
Symbol 2332 MovieClip Frame 1530
play();
Symbol 2332 MovieClip Frame 1531
play();
Symbol 2332 MovieClip Frame 1532
play();
Symbol 2332 MovieClip Frame 1533
play();
Symbol 2332 MovieClip Frame 1534
play();
Symbol 2332 MovieClip Frame 1535
play();
Symbol 2332 MovieClip Frame 1536
play();
Symbol 2332 MovieClip Frame 1537
play();
Symbol 2332 MovieClip Frame 1538
play();
Symbol 2332 MovieClip Frame 1539
play();
Symbol 2332 MovieClip Frame 1540
play();
Symbol 2332 MovieClip Frame 1541
play();
Symbol 2332 MovieClip Frame 1542
play();
Symbol 2332 MovieClip Frame 1543
play();
Symbol 2332 MovieClip Frame 1544
play();
Symbol 2332 MovieClip Frame 1545
play();
Symbol 2332 MovieClip Frame 1546
play();
Symbol 2332 MovieClip Frame 1547
play();
Symbol 2332 MovieClip Frame 1548
play();
Symbol 2332 MovieClip Frame 1549
play();
Symbol 2332 MovieClip Frame 1550
play();
Symbol 2332 MovieClip Frame 1551
play();
Symbol 2332 MovieClip Frame 1552
play();
Symbol 2332 MovieClip Frame 1553
play();
Symbol 2332 MovieClip Frame 1554
play();
Symbol 2332 MovieClip Frame 1555
play();
Symbol 2332 MovieClip Frame 1556
play();
Symbol 2332 MovieClip Frame 1557
play();
Symbol 2332 MovieClip Frame 1558
play();
Symbol 2332 MovieClip Frame 1559
play();
Symbol 2332 MovieClip Frame 1560
play();
Symbol 2332 MovieClip Frame 1561
play();
Symbol 2332 MovieClip Frame 1562
play();
Symbol 2332 MovieClip Frame 1563
play();
Symbol 2332 MovieClip Frame 1564
play();
Symbol 2332 MovieClip Frame 1565
play();
Symbol 2332 MovieClip Frame 1566
play();
Symbol 2332 MovieClip Frame 1567
play();
Symbol 2332 MovieClip Frame 1568
play();
Symbol 2332 MovieClip Frame 1569
play();
Symbol 2332 MovieClip Frame 1570
play();
Symbol 2332 MovieClip Frame 1571
play();
Symbol 2332 MovieClip Frame 1572
play();
Symbol 2332 MovieClip Frame 1573
play();
Symbol 2332 MovieClip Frame 1574
play();
Symbol 2332 MovieClip Frame 1575
play();
Symbol 2332 MovieClip Frame 1576
play();
Symbol 2332 MovieClip Frame 1577
play();
Symbol 2332 MovieClip Frame 1578
play();
Symbol 2332 MovieClip Frame 1579
play();
Symbol 2332 MovieClip Frame 1580
play();
Symbol 2332 MovieClip Frame 1581
play();
Symbol 2332 MovieClip Frame 1582
play();
Symbol 2332 MovieClip Frame 1583
play();
Symbol 2332 MovieClip Frame 1584
play();
Symbol 2332 MovieClip Frame 1585
play();
Symbol 2332 MovieClip Frame 1586
play();
Symbol 2332 MovieClip Frame 1587
play();
Symbol 2332 MovieClip Frame 1588
play();
Symbol 2332 MovieClip Frame 1589
play();
Symbol 2332 MovieClip Frame 1590
play();
Symbol 2332 MovieClip Frame 1591
play();
Symbol 2332 MovieClip Frame 1592
play();
Symbol 2332 MovieClip Frame 1593
play();
Symbol 2332 MovieClip Frame 1594
play();
Symbol 2332 MovieClip Frame 1595
play();
Symbol 2332 MovieClip Frame 1596
play();
Symbol 2332 MovieClip Frame 1597
play();
Symbol 2332 MovieClip Frame 1598
play();
Symbol 2332 MovieClip Frame 1599
play();
Symbol 2332 MovieClip Frame 1600
play();
Symbol 2332 MovieClip Frame 1601
play();
Symbol 2332 MovieClip Frame 1602
play();
Symbol 2332 MovieClip Frame 1603
play();
Symbol 2332 MovieClip Frame 1604
play();
Symbol 2332 MovieClip Frame 1605
play();
Symbol 2332 MovieClip Frame 1606
play();
Symbol 2332 MovieClip Frame 1607
play();
Symbol 2332 MovieClip Frame 1608
play();
Symbol 2332 MovieClip Frame 1609
play();
Symbol 2332 MovieClip Frame 1610
play();
Symbol 2332 MovieClip Frame 1611
play();
Symbol 2332 MovieClip Frame 1612
play();
Symbol 2332 MovieClip Frame 1613
play();
Symbol 2332 MovieClip Frame 1614
play();
Symbol 2332 MovieClip Frame 1615
play();
Symbol 2332 MovieClip Frame 1616
play();
Symbol 2332 MovieClip Frame 1617
play();
Symbol 2332 MovieClip Frame 1618
play();
Symbol 2332 MovieClip Frame 1619
play();
Symbol 2332 MovieClip Frame 1620
play();
Symbol 2332 MovieClip Frame 1621
play();
Symbol 2332 MovieClip Frame 1622
play();
Symbol 2332 MovieClip Frame 1623
play();
Symbol 2332 MovieClip Frame 1624
play();
Symbol 2332 MovieClip Frame 1625
play();
Symbol 2332 MovieClip Frame 1626
play();
Symbol 2332 MovieClip Frame 1627
play();
Symbol 2332 MovieClip Frame 1628
play();
Symbol 2332 MovieClip Frame 1629
play();
Symbol 2332 MovieClip Frame 1630
play();
Symbol 2332 MovieClip Frame 1631
play();
Symbol 2332 MovieClip Frame 1632
play();
Symbol 2332 MovieClip Frame 1633
play();
Symbol 2332 MovieClip Frame 1634
play();
Symbol 2332 MovieClip Frame 1635
play();
Symbol 2332 MovieClip Frame 1636
play();
Symbol 2332 MovieClip Frame 1637
play();
Symbol 2332 MovieClip Frame 1638
play();
Symbol 2332 MovieClip Frame 1639
play();
Symbol 2332 MovieClip Frame 1640
play();
Symbol 2332 MovieClip Frame 1641
play();
Symbol 2332 MovieClip Frame 1642
play();
Symbol 2332 MovieClip Frame 1643
play();
Symbol 2332 MovieClip Frame 1644
play();
Symbol 2332 MovieClip Frame 1645
play();
Symbol 2332 MovieClip Frame 1646
play();
Symbol 2332 MovieClip Frame 1647
play();
Symbol 2332 MovieClip Frame 1648
play();
Symbol 2332 MovieClip Frame 1649
play();
Symbol 2332 MovieClip Frame 1650
play();
Symbol 2332 MovieClip Frame 1651
play();
Symbol 2332 MovieClip Frame 1652
play();
Symbol 2332 MovieClip Frame 1653
play();
Symbol 2332 MovieClip Frame 1654
play();
Symbol 2332 MovieClip Frame 1655
play();
Symbol 2332 MovieClip Frame 1656
play();
Symbol 2332 MovieClip Frame 1657
play();
Symbol 2332 MovieClip Frame 1658
play();
Symbol 2332 MovieClip Frame 1659
play();
Symbol 2332 MovieClip Frame 1660
play();
Symbol 2332 MovieClip Frame 1661
play();
Symbol 2332 MovieClip Frame 1662
play();
Symbol 2332 MovieClip Frame 1663
play();
Symbol 2332 MovieClip Frame 1664
play();
Symbol 2332 MovieClip Frame 1665
play();
Symbol 2332 MovieClip Frame 1666
play();
Symbol 2332 MovieClip Frame 1667
play();
Symbol 2332 MovieClip Frame 1668
play();
Symbol 2332 MovieClip Frame 1669
play();
Symbol 2332 MovieClip Frame 1670
play();
Symbol 2332 MovieClip Frame 1671
play();
Symbol 2332 MovieClip Frame 1672
play();
Symbol 2332 MovieClip Frame 1673
play();
Symbol 2332 MovieClip Frame 1674
play();
Symbol 2332 MovieClip Frame 1675
play();
Symbol 2332 MovieClip Frame 1676
play();
Symbol 2332 MovieClip Frame 1677
play();
Symbol 2332 MovieClip Frame 1678
play();
Symbol 2332 MovieClip Frame 1679
play();
Symbol 2332 MovieClip Frame 1680
play();
Symbol 2332 MovieClip Frame 1681
play();
Symbol 2332 MovieClip Frame 1682
play();
Symbol 2332 MovieClip Frame 1683
play();
Symbol 2332 MovieClip Frame 1684
play();
Symbol 2332 MovieClip Frame 1685
play();
Symbol 2332 MovieClip Frame 1686
play();
Symbol 2332 MovieClip Frame 1687
play();
Symbol 2332 MovieClip Frame 1688
play();
Symbol 2332 MovieClip Frame 1689
play();
Symbol 2332 MovieClip Frame 1690
play();
Symbol 2332 MovieClip Frame 1691
play();
Symbol 2332 MovieClip Frame 1692
play();
Symbol 2332 MovieClip Frame 1693
play();
Symbol 2332 MovieClip Frame 1694
play();
Symbol 2332 MovieClip Frame 1695
play();
Symbol 2332 MovieClip Frame 1696
play();
Symbol 2332 MovieClip Frame 1697
play();
Symbol 2332 MovieClip Frame 1698
play();
Symbol 2332 MovieClip Frame 1699
play();
Symbol 2332 MovieClip Frame 1700
play();
Symbol 2332 MovieClip Frame 1701
play();
Symbol 2332 MovieClip Frame 1702
play();
Symbol 2332 MovieClip Frame 1703
play();
Symbol 2332 MovieClip Frame 1704
play();
Symbol 2332 MovieClip Frame 1705
play();
Symbol 2332 MovieClip Frame 1706
play();
Symbol 2332 MovieClip Frame 1707
play();
Symbol 2332 MovieClip Frame 1708
play();
Symbol 2332 MovieClip Frame 1709
play();
Symbol 2332 MovieClip Frame 1710
play();
Symbol 2332 MovieClip Frame 1711
play();
Symbol 2332 MovieClip Frame 1712
play();
Symbol 2332 MovieClip Frame 1713
play();
Symbol 2332 MovieClip Frame 1714
play();
Symbol 2332 MovieClip Frame 1715
play();
Symbol 2332 MovieClip Frame 1716
play();
Symbol 2332 MovieClip Frame 1717
play();
Symbol 2332 MovieClip Frame 1718
play();
Symbol 2332 MovieClip Frame 1719
play();
Symbol 2332 MovieClip Frame 1720
play();
Symbol 2332 MovieClip Frame 1721
play();
Symbol 2332 MovieClip Frame 1722
play();
Symbol 2332 MovieClip Frame 1723
play();
Symbol 2332 MovieClip Frame 1724
play();
Symbol 2332 MovieClip Frame 1725
play();
Symbol 2332 MovieClip Frame 1726
play();
Symbol 2332 MovieClip Frame 1727
play();
Symbol 2332 MovieClip Frame 1728
play();
Symbol 2332 MovieClip Frame 1729
play();
Symbol 2332 MovieClip Frame 1730
play();
Symbol 2332 MovieClip Frame 1731
play();
Symbol 2332 MovieClip Frame 1732
play();
Symbol 2332 MovieClip Frame 1733
play();
Symbol 2332 MovieClip Frame 1734
play();
Symbol 2332 MovieClip Frame 1735
play();
Symbol 2332 MovieClip Frame 1736
play();
Symbol 2332 MovieClip Frame 1737
play();
Symbol 2332 MovieClip Frame 1738
play();
Symbol 2332 MovieClip Frame 1739
play();
Symbol 2332 MovieClip Frame 1740
play();
Symbol 2332 MovieClip Frame 1741
play();
Symbol 2332 MovieClip Frame 1742
play();
Symbol 2332 MovieClip Frame 1743
play();
Symbol 2332 MovieClip Frame 1744
play();
Symbol 2332 MovieClip Frame 1745
play();
Symbol 2332 MovieClip Frame 1746
play();
Symbol 2332 MovieClip Frame 1747
play();
Symbol 2332 MovieClip Frame 1748
play();
Symbol 2332 MovieClip Frame 1749
play();
Symbol 2332 MovieClip Frame 1750
play();
Symbol 2332 MovieClip Frame 1751
play();
Symbol 2332 MovieClip Frame 1752
play();
Symbol 2332 MovieClip Frame 1753
play();
Symbol 2332 MovieClip Frame 1754
play();
Symbol 2332 MovieClip Frame 1755
play();
Symbol 2332 MovieClip Frame 1756
play();
Symbol 2332 MovieClip Frame 1757
play();
Symbol 2332 MovieClip Frame 1758
play();
Symbol 2332 MovieClip Frame 1759
play();
Symbol 2332 MovieClip Frame 1760
play();
Symbol 2332 MovieClip Frame 1761
play();
Symbol 2332 MovieClip Frame 1762
play();
Symbol 2332 MovieClip Frame 1763
play();
Symbol 2332 MovieClip Frame 1764
play();
Symbol 2332 MovieClip Frame 1765
play();
Symbol 2332 MovieClip Frame 1766
play();
Symbol 2332 MovieClip Frame 1767
play();
Symbol 2332 MovieClip Frame 1768
play();
Symbol 2332 MovieClip Frame 1769
play();
Symbol 2332 MovieClip Frame 1770
play();
Symbol 2332 MovieClip Frame 1771
play();
Symbol 2332 MovieClip Frame 1772
play();
Symbol 2332 MovieClip Frame 1773
play();
Symbol 2332 MovieClip Frame 1774
play();
Symbol 2332 MovieClip Frame 1775
play();
Symbol 2332 MovieClip Frame 1776
play();
Symbol 2332 MovieClip Frame 1777
play();
Symbol 2332 MovieClip Frame 1778
play();
Symbol 2332 MovieClip Frame 1779
play();
Symbol 2332 MovieClip Frame 1780
play();
Symbol 2332 MovieClip Frame 1781
play();
Symbol 2332 MovieClip Frame 1782
play();
Symbol 2332 MovieClip Frame 1783
play();
Symbol 2332 MovieClip Frame 1784
play();
Symbol 2332 MovieClip Frame 1785
play();
Symbol 2332 MovieClip Frame 1786
play();
Symbol 2332 MovieClip Frame 1787
play();
Symbol 2332 MovieClip Frame 1788
play();
Symbol 2332 MovieClip Frame 1789
play();
Symbol 2332 MovieClip Frame 1790
play();
Symbol 2332 MovieClip Frame 1791
play();
Symbol 2332 MovieClip Frame 1792
play();
Symbol 2332 MovieClip Frame 1793
play();
Symbol 2332 MovieClip Frame 1794
play();
Symbol 2332 MovieClip Frame 1795
play();
Symbol 2332 MovieClip Frame 1796
play();
Symbol 2332 MovieClip Frame 1797
play();
Symbol 2332 MovieClip Frame 1798
play();
Symbol 2332 MovieClip Frame 1799
play();
Symbol 2332 MovieClip Frame 1800
play();
Symbol 2332 MovieClip Frame 1801
play();
Symbol 2332 MovieClip Frame 1802
play();
Symbol 2332 MovieClip Frame 1803
play();
Symbol 2332 MovieClip Frame 1804
play();
Symbol 2332 MovieClip Frame 1805
play();
Symbol 2332 MovieClip Frame 1806
play();
Symbol 2332 MovieClip Frame 1807
play();
Symbol 2332 MovieClip Frame 1808
play();
Symbol 2332 MovieClip Frame 1809
play();
Symbol 2332 MovieClip Frame 1810
play();
Symbol 2332 MovieClip Frame 1811
play();
Symbol 2332 MovieClip Frame 1812
play();
Symbol 2332 MovieClip Frame 1813
play();
Symbol 2332 MovieClip Frame 1814
play();
Symbol 2332 MovieClip Frame 1815
play();
Symbol 2332 MovieClip Frame 1816
play();
Symbol 2332 MovieClip Frame 1817
play();
Symbol 2332 MovieClip Frame 1818
play();
Symbol 2332 MovieClip Frame 1819
play();
Symbol 2332 MovieClip Frame 1820
play();
Symbol 2332 MovieClip Frame 1821
play();
Symbol 2332 MovieClip Frame 1822
play();
Symbol 2332 MovieClip Frame 1823
play();
Symbol 2332 MovieClip Frame 1824
play();
Symbol 2332 MovieClip Frame 1825
play();
Symbol 2332 MovieClip Frame 1826
play();
Symbol 2332 MovieClip Frame 1827
play();
Symbol 2332 MovieClip Frame 1828
play();
Symbol 2332 MovieClip Frame 1829
play();
Symbol 2332 MovieClip Frame 1830
play();
Symbol 2332 MovieClip Frame 1831
play();
Symbol 2332 MovieClip Frame 1832
play();
Symbol 2332 MovieClip Frame 1833
play();
Symbol 2332 MovieClip Frame 1834
play();
Symbol 2332 MovieClip Frame 1835
play();
Symbol 2332 MovieClip Frame 1836
play();
Symbol 2332 MovieClip Frame 1837
play();
Symbol 2332 MovieClip Frame 1838
play();
Symbol 2332 MovieClip Frame 1839
play();
Symbol 2332 MovieClip Frame 1840
play();
Symbol 2332 MovieClip Frame 1841
play();
Symbol 2332 MovieClip Frame 1842
play();
Symbol 2332 MovieClip Frame 1843
play();
Symbol 2332 MovieClip Frame 1844
play();
Symbol 2332 MovieClip Frame 1845
play();
Symbol 2332 MovieClip Frame 1846
play();
Symbol 2332 MovieClip Frame 1847
play();
Symbol 2332 MovieClip Frame 1848
play();
Symbol 2332 MovieClip Frame 1849
play();
Symbol 2332 MovieClip Frame 1850
play();
Symbol 2332 MovieClip Frame 1851
play();
Symbol 2332 MovieClip Frame 1852
play();
Symbol 2332 MovieClip Frame 1853
play();
Symbol 2332 MovieClip Frame 1854
play();
Symbol 2332 MovieClip Frame 1855
play();
Symbol 2332 MovieClip Frame 1856
play();
Symbol 2332 MovieClip Frame 1857
play();
Symbol 2332 MovieClip Frame 1858
play();
Symbol 2332 MovieClip Frame 1859
play();
Symbol 2332 MovieClip Frame 1860
play();
Symbol 2332 MovieClip Frame 1861
play();
Symbol 2332 MovieClip Frame 1862
play();
Symbol 2332 MovieClip Frame 1863
play();
Symbol 2332 MovieClip Frame 1864
play();
Symbol 2332 MovieClip Frame 1865
play();
Symbol 2332 MovieClip Frame 1866
play();
Symbol 2332 MovieClip Frame 1867
play();
Symbol 2332 MovieClip Frame 1868
play();
Symbol 2332 MovieClip Frame 1869
play();
Symbol 2332 MovieClip Frame 1870
play();
Symbol 2332 MovieClip Frame 1871
play();
Symbol 2332 MovieClip Frame 1872
play();
Symbol 2332 MovieClip Frame 1873
play();
Symbol 2332 MovieClip Frame 1874
play();
Symbol 2332 MovieClip Frame 1875
play();
Symbol 2332 MovieClip Frame 1876
play();
Symbol 2332 MovieClip Frame 1877
play();
Symbol 2332 MovieClip Frame 1878
play();
Symbol 2332 MovieClip Frame 1879
play();
Symbol 2332 MovieClip Frame 1880
play();
Symbol 2332 MovieClip Frame 1881
play();
Symbol 2332 MovieClip Frame 1882
play();
Symbol 2332 MovieClip Frame 1883
play();
Symbol 2332 MovieClip Frame 1884
play();
Symbol 2332 MovieClip Frame 1885
play();
Symbol 2332 MovieClip Frame 1886
play();
Symbol 2332 MovieClip Frame 1887
play();
Symbol 2332 MovieClip Frame 1888
play();
Symbol 2332 MovieClip Frame 1889
play();
Symbol 2332 MovieClip Frame 1890
play();
Symbol 2332 MovieClip Frame 1891
play();
Symbol 2332 MovieClip Frame 1892
play();
Symbol 2332 MovieClip Frame 1893
play();
Symbol 2332 MovieClip Frame 1894
play();
Symbol 2332 MovieClip Frame 1895
play();
Symbol 2332 MovieClip Frame 1896
play();
Symbol 2332 MovieClip Frame 1897
play();
Symbol 2332 MovieClip Frame 1898
play();
Symbol 2332 MovieClip Frame 1899
play();
Symbol 2332 MovieClip Frame 1900
play();
Symbol 2332 MovieClip Frame 1901
play();
Symbol 2332 MovieClip Frame 1902
play();
Symbol 2332 MovieClip Frame 1903
play();
Symbol 2332 MovieClip Frame 1904
play();
Symbol 2332 MovieClip Frame 1905
play();
Symbol 2332 MovieClip Frame 1906
play();
Symbol 2332 MovieClip Frame 1907
play();
Symbol 2332 MovieClip Frame 1908
play();
Symbol 2332 MovieClip Frame 1909
play();
Symbol 2332 MovieClip Frame 1910
play();
Symbol 2332 MovieClip Frame 1911
play();
Symbol 2332 MovieClip Frame 1912
play();
Symbol 2332 MovieClip Frame 1913
play();
Symbol 2332 MovieClip Frame 1914
play();
Symbol 2332 MovieClip Frame 1915
play();
Symbol 2332 MovieClip Frame 1916
play();
Symbol 2332 MovieClip Frame 1917
play();
Symbol 2332 MovieClip Frame 1918
play();
Symbol 2332 MovieClip Frame 1919
play();
Symbol 2332 MovieClip Frame 1920
play();
Symbol 2332 MovieClip Frame 1921
play();
Symbol 2332 MovieClip Frame 1922
play();
Symbol 2332 MovieClip Frame 1923
play();
Symbol 2332 MovieClip Frame 1924
play();
Symbol 2332 MovieClip Frame 1925
play();
Symbol 2332 MovieClip Frame 1926
play();
Symbol 2332 MovieClip Frame 1927
play();
Symbol 2332 MovieClip Frame 1928
play();
Symbol 2332 MovieClip Frame 1929
play();
Symbol 2332 MovieClip Frame 1930
play();
Symbol 2332 MovieClip Frame 1931
play();
Symbol 2332 MovieClip Frame 1932
play();
Symbol 2332 MovieClip Frame 1933
play();
Symbol 2332 MovieClip Frame 1934
play();
Symbol 2332 MovieClip Frame 1935
play();
Symbol 2332 MovieClip Frame 1936
play();
Symbol 2332 MovieClip Frame 1937
play();
Symbol 2332 MovieClip Frame 1938
play();
Symbol 2332 MovieClip Frame 1939
play();
Symbol 2332 MovieClip Frame 1940
play();
Symbol 2332 MovieClip Frame 1941
play();
Symbol 2332 MovieClip Frame 1942
play();
Symbol 2332 MovieClip Frame 1943
play();
Symbol 2332 MovieClip Frame 1944
play();
Symbol 2332 MovieClip Frame 1945
play();
Symbol 2332 MovieClip Frame 1946
play();
Symbol 2332 MovieClip Frame 1947
play();
Symbol 2332 MovieClip Frame 1948
play();
Symbol 2332 MovieClip Frame 1949
play();
Symbol 2332 MovieClip Frame 1950
play();
Symbol 2332 MovieClip Frame 1951
play();
Symbol 2332 MovieClip Frame 1952
play();
Symbol 2332 MovieClip Frame 1953
play();
Symbol 2332 MovieClip Frame 1954
play();
Symbol 2332 MovieClip Frame 1955
play();
Symbol 2332 MovieClip Frame 1956
play();
Symbol 2332 MovieClip Frame 1957
play();
Symbol 2332 MovieClip Frame 1958
play();
Symbol 2332 MovieClip Frame 1959
play();
Symbol 2332 MovieClip Frame 1960
play();
Symbol 2332 MovieClip Frame 1961
play();
Symbol 2332 MovieClip Frame 1962
play();
Symbol 2332 MovieClip Frame 1963
play();
Symbol 2332 MovieClip Frame 1964
play();
Symbol 2332 MovieClip Frame 1965
play();
Symbol 2332 MovieClip Frame 1966
play();
Symbol 2332 MovieClip Frame 1967
play();
Symbol 2332 MovieClip Frame 1968
play();
Symbol 2332 MovieClip Frame 1969
play();
Symbol 2332 MovieClip Frame 1970
play();
Symbol 2332 MovieClip Frame 1971
play();
Symbol 2332 MovieClip Frame 1972
play();
Symbol 2332 MovieClip Frame 1973
play();
Symbol 2332 MovieClip Frame 1974
play();
Symbol 2332 MovieClip Frame 1975
play();
Symbol 2332 MovieClip Frame 1976
play();
Symbol 2332 MovieClip Frame 1977
play();
Symbol 2332 MovieClip Frame 1978
play();
Symbol 2332 MovieClip Frame 1979
play();
Symbol 2332 MovieClip Frame 1980
play();
Symbol 2332 MovieClip Frame 1981
play();
Symbol 2332 MovieClip Frame 1982
play();
Symbol 2332 MovieClip Frame 1983
play();
Symbol 2332 MovieClip Frame 1984
play();
Symbol 2332 MovieClip Frame 1985
play();
Symbol 2332 MovieClip Frame 1986
play();
Symbol 2332 MovieClip Frame 1987
play();
Symbol 2332 MovieClip Frame 1988
play();
Symbol 2332 MovieClip Frame 1989
play();
Symbol 2332 MovieClip Frame 1990
play();
Symbol 2332 MovieClip Frame 1991
play();
Symbol 2332 MovieClip Frame 1992
play();
Symbol 2332 MovieClip Frame 1993
play();
Symbol 2332 MovieClip Frame 1994
play();
Symbol 2332 MovieClip Frame 1995
play();
Symbol 2332 MovieClip Frame 1996
play();
Symbol 2332 MovieClip Frame 1997
play();
Symbol 2332 MovieClip Frame 1998
play();
Symbol 2332 MovieClip Frame 1999
play();
Symbol 2332 MovieClip Frame 2000
play();
Symbol 2332 MovieClip Frame 2001
play();
Symbol 2332 MovieClip Frame 2002
play();
Symbol 2332 MovieClip Frame 2003
play();
Symbol 2332 MovieClip Frame 2004
play();
Symbol 2332 MovieClip Frame 2005
play();
Symbol 2332 MovieClip Frame 2006
play();
Symbol 2332 MovieClip Frame 2007
play();
Symbol 2332 MovieClip Frame 2008
play();
Symbol 2332 MovieClip Frame 2009
play();
Symbol 2332 MovieClip Frame 2010
play();
Symbol 2332 MovieClip Frame 2011
play();
Symbol 2332 MovieClip Frame 2012
play();
Symbol 2332 MovieClip Frame 2013
play();
Symbol 2332 MovieClip Frame 2014
play();
Symbol 2332 MovieClip Frame 2015
play();
Symbol 2332 MovieClip Frame 2016
play();
Symbol 2332 MovieClip Frame 2017
play();
Symbol 2332 MovieClip Frame 2018
play();
Symbol 2332 MovieClip Frame 2019
play();
Symbol 2332 MovieClip Frame 2020
play();
Symbol 2332 MovieClip Frame 2021
play();
Symbol 2332 MovieClip Frame 2022
play();
Symbol 2332 MovieClip Frame 2023
play();
Symbol 2332 MovieClip Frame 2024
play();
Symbol 2332 MovieClip Frame 2025
play();
Symbol 2332 MovieClip Frame 2026
play();
Symbol 2332 MovieClip Frame 2027
play();
Symbol 2332 MovieClip Frame 2028
play();
Symbol 2332 MovieClip Frame 2029
play();
Symbol 2332 MovieClip Frame 2030
play();
Symbol 2332 MovieClip Frame 2031
play();
Symbol 2332 MovieClip Frame 2032
play();
Symbol 2332 MovieClip Frame 2033
play();
Symbol 2332 MovieClip Frame 2034
play();
Symbol 2332 MovieClip Frame 2035
play();
Symbol 2332 MovieClip Frame 2036
play();
Symbol 2332 MovieClip Frame 2037
play();
Symbol 2332 MovieClip Frame 2038
play();
Symbol 2332 MovieClip Frame 2039
play();
Symbol 2332 MovieClip Frame 2040
play();
Symbol 2332 MovieClip Frame 2041
play();
Symbol 2332 MovieClip Frame 2042
play();
Symbol 2332 MovieClip Frame 2043
play();
Symbol 2332 MovieClip Frame 2044
play();
Symbol 2332 MovieClip Frame 2045
play();
Symbol 2332 MovieClip Frame 2046
play();
Symbol 2332 MovieClip Frame 2047
play();
Symbol 2332 MovieClip Frame 2048
play();
Symbol 2332 MovieClip Frame 2049
play();
Symbol 2332 MovieClip Frame 2050
play();
Symbol 2332 MovieClip Frame 2051
play();
Symbol 2332 MovieClip Frame 2052
play();
Symbol 2332 MovieClip Frame 2053
play();
Symbol 2332 MovieClip Frame 2054
play();
Symbol 2332 MovieClip Frame 2055
play();
Symbol 2332 MovieClip Frame 2056
play();
Symbol 2332 MovieClip Frame 2057
play();
Symbol 2332 MovieClip Frame 2058
play();
Symbol 2332 MovieClip Frame 2059
play();
Symbol 2332 MovieClip Frame 2060
play();
Symbol 2332 MovieClip Frame 2061
play();
Symbol 2332 MovieClip Frame 2062
play();
Symbol 2332 MovieClip Frame 2063
play();
Symbol 2332 MovieClip Frame 2064
play();
Symbol 2332 MovieClip Frame 2065
play();
Symbol 2332 MovieClip Frame 2066
play();
Symbol 2332 MovieClip Frame 2067
play();
Symbol 2332 MovieClip Frame 2068
play();
Symbol 2332 MovieClip Frame 2069
play();
Symbol 2332 MovieClip Frame 2070
play();
Symbol 2332 MovieClip Frame 2071
play();
Symbol 2332 MovieClip Frame 2072
play();
Symbol 2332 MovieClip Frame 2073
play();
Symbol 2332 MovieClip Frame 2074
play();
Symbol 2332 MovieClip Frame 2075
play();
Symbol 2332 MovieClip Frame 2076
play();
Symbol 2332 MovieClip Frame 2077
play();
Symbol 2332 MovieClip Frame 2078
play();
Symbol 2332 MovieClip Frame 2079
play();
Symbol 2332 MovieClip Frame 2080
play();
Symbol 2332 MovieClip Frame 2081
play();
Symbol 2332 MovieClip Frame 2082
play();
Symbol 2332 MovieClip Frame 2083
play();
Symbol 2332 MovieClip Frame 2084
play();
Symbol 2332 MovieClip Frame 2085
play();
Symbol 2332 MovieClip Frame 2086
play();
Symbol 2332 MovieClip Frame 2087
play();
Symbol 2332 MovieClip Frame 2088
play();
Symbol 2332 MovieClip Frame 2089
play();
Symbol 2332 MovieClip Frame 2090
play();
Symbol 2332 MovieClip Frame 2091
play();
Symbol 2332 MovieClip Frame 2092
play();
Symbol 2332 MovieClip Frame 2093
play();
Symbol 2332 MovieClip Frame 2094
play();
Symbol 2332 MovieClip Frame 2095
play();
Symbol 2332 MovieClip Frame 2096
play();
Symbol 2332 MovieClip Frame 2097
play();
Symbol 2332 MovieClip Frame 2098
play();
Symbol 2332 MovieClip Frame 2099
play();
Symbol 2332 MovieClip Frame 2100
play();
Symbol 2332 MovieClip Frame 2101
play();
Symbol 2332 MovieClip Frame 2102
play();
Symbol 2332 MovieClip Frame 2103
play();
Symbol 2332 MovieClip Frame 2104
play();
Symbol 2332 MovieClip Frame 2105
play();
Symbol 2332 MovieClip Frame 2106
play();
Symbol 2332 MovieClip Frame 2107
play();
Symbol 2332 MovieClip Frame 2108
play();
Symbol 2332 MovieClip Frame 2109
play();
Symbol 2332 MovieClip Frame 2110
play();
Symbol 2332 MovieClip Frame 2111
play();
Symbol 2332 MovieClip Frame 2112
play();
Symbol 2332 MovieClip Frame 2113
play();
Symbol 2332 MovieClip Frame 2114
play();
Symbol 2332 MovieClip Frame 2115
play();
Symbol 2332 MovieClip Frame 2116
play();
Symbol 2332 MovieClip Frame 2117
play();
Symbol 2332 MovieClip Frame 2118
play();
Symbol 2332 MovieClip Frame 2119
play();
Symbol 2332 MovieClip Frame 2120
play();
Symbol 2332 MovieClip Frame 2121
play();
Symbol 2332 MovieClip Frame 2122
play();
Symbol 2332 MovieClip Frame 2123
play();
Symbol 2332 MovieClip Frame 2124
play();
Symbol 2332 MovieClip Frame 2125
play();
Symbol 2332 MovieClip Frame 2126
play();
Symbol 2332 MovieClip Frame 2127
play();
Symbol 2332 MovieClip Frame 2128
play();
Symbol 2332 MovieClip Frame 2129
play();
Symbol 2332 MovieClip Frame 2130
play();
Symbol 2332 MovieClip Frame 2131
play();
Symbol 2332 MovieClip Frame 2132
play();
Symbol 2332 MovieClip Frame 2133
play();
Symbol 2332 MovieClip Frame 2134
play();
Symbol 2332 MovieClip Frame 2135
play();
Symbol 2332 MovieClip Frame 2136
play();
Symbol 2332 MovieClip Frame 2137
play();
Symbol 2332 MovieClip Frame 2138
play();
Symbol 2332 MovieClip Frame 2139
play();
Symbol 2332 MovieClip Frame 2140
play();
Symbol 2332 MovieClip Frame 2141
play();
Symbol 2332 MovieClip Frame 2142
play();
Symbol 2332 MovieClip Frame 2143
play();
Symbol 2332 MovieClip Frame 2144
play();
Symbol 2332 MovieClip Frame 2145
play();
Symbol 2332 MovieClip Frame 2146
play();
Symbol 2332 MovieClip Frame 2147
play();
Symbol 2332 MovieClip Frame 2148
play();
Symbol 2332 MovieClip Frame 2149
play();
Symbol 2332 MovieClip Frame 2150
play();
Symbol 2332 MovieClip Frame 2151
play();
Symbol 2332 MovieClip Frame 2152
play();
Symbol 2332 MovieClip Frame 2153
play();
Symbol 2332 MovieClip Frame 2154
play();
Symbol 2332 MovieClip Frame 2155
play();
Symbol 2332 MovieClip Frame 2156
play();
Symbol 2332 MovieClip Frame 2157
play();
Symbol 2332 MovieClip Frame 2158
play();
Symbol 2332 MovieClip Frame 2159
play();
Symbol 2332 MovieClip Frame 2160
play();
Symbol 2332 MovieClip Frame 2161
play();
Symbol 2332 MovieClip Frame 2162
play();
Symbol 2332 MovieClip Frame 2163
play();
Symbol 2332 MovieClip Frame 2164
play();
Symbol 2332 MovieClip Frame 2165
play();
Symbol 2332 MovieClip Frame 2166
play();
Symbol 2332 MovieClip Frame 2167
play();
Symbol 2332 MovieClip Frame 2168
play();
Symbol 2332 MovieClip Frame 2169
play();
Symbol 2332 MovieClip Frame 2170
play();
Symbol 2332 MovieClip Frame 2171
play();
Symbol 2332 MovieClip Frame 2172
play();
Symbol 2332 MovieClip Frame 2173
play();
Symbol 2332 MovieClip Frame 2174
play();
Symbol 2332 MovieClip Frame 2175
play();
Symbol 2332 MovieClip Frame 2176
play();
Symbol 2332 MovieClip Frame 2177
play();
Symbol 2332 MovieClip Frame 2178
play();
Symbol 2332 MovieClip Frame 2179
play();
Symbol 2332 MovieClip Frame 2180
play();
Symbol 2332 MovieClip Frame 2181
play();
Symbol 2332 MovieClip Frame 2182
play();
Symbol 2332 MovieClip Frame 2183
play();
Symbol 2332 MovieClip Frame 2184
play();
Symbol 2332 MovieClip Frame 2185
play();
Symbol 2332 MovieClip Frame 2186
play();
Symbol 2332 MovieClip Frame 2187
play();
Symbol 2332 MovieClip Frame 2188
play();
Symbol 2332 MovieClip Frame 2189
play();
Symbol 2332 MovieClip Frame 2190
play();
Symbol 2332 MovieClip Frame 2191
play();
Symbol 2332 MovieClip Frame 2192
play();
Symbol 2332 MovieClip Frame 2193
play();
Symbol 2332 MovieClip Frame 2194
play();
Symbol 2332 MovieClip Frame 2195
play();
Symbol 2332 MovieClip Frame 2196
play();
Symbol 2332 MovieClip Frame 2197
play();
Symbol 2332 MovieClip Frame 2198
play();
Symbol 2332 MovieClip Frame 2199
play();
Symbol 2332 MovieClip Frame 2200
play();
Symbol 2332 MovieClip Frame 2201
play();
Symbol 2332 MovieClip Frame 2202
play();
Symbol 2332 MovieClip Frame 2203
play();
Symbol 2332 MovieClip Frame 2204
play();
Symbol 2332 MovieClip Frame 2205
play();
Symbol 2332 MovieClip Frame 2206
play();
Symbol 2332 MovieClip Frame 2207
play();
Symbol 2332 MovieClip Frame 2208
play();
Symbol 2332 MovieClip Frame 2209
play();
Symbol 2332 MovieClip Frame 2210
play();
Symbol 2332 MovieClip Frame 2211
play();
Symbol 2332 MovieClip Frame 2212
play();
Symbol 2332 MovieClip Frame 2213
play();
Symbol 2332 MovieClip Frame 2214
play();
Symbol 2332 MovieClip Frame 2215
play();
Symbol 2332 MovieClip Frame 2216
play();
Symbol 2332 MovieClip Frame 2217
play();
Symbol 2332 MovieClip Frame 2218
play();
Symbol 2332 MovieClip Frame 2219
play();
Symbol 2332 MovieClip Frame 2220
play();
Symbol 2332 MovieClip Frame 2221
play();
Symbol 2332 MovieClip Frame 2222
play();
Symbol 2332 MovieClip Frame 2223
play();
Symbol 2332 MovieClip Frame 2224
play();
Symbol 2332 MovieClip Frame 2225
play();
Symbol 2332 MovieClip Frame 2226
play();
Symbol 2332 MovieClip Frame 2227
play();
Symbol 2332 MovieClip Frame 2228
play();
Symbol 2332 MovieClip Frame 2229
play();
Symbol 2332 MovieClip Frame 2230
play();
Symbol 2332 MovieClip Frame 2231
play();
Symbol 2332 MovieClip Frame 2232
play();
Symbol 2332 MovieClip Frame 2233
play();
Symbol 2332 MovieClip Frame 2234
play();
Symbol 2332 MovieClip Frame 2235
play();
Symbol 2332 MovieClip Frame 2236
play();
Symbol 2332 MovieClip Frame 2237
play();
Symbol 2332 MovieClip Frame 2238
play();
Symbol 2332 MovieClip Frame 2239
play();
Symbol 2332 MovieClip Frame 2240
play();
Symbol 2332 MovieClip Frame 2241
play();
Symbol 2332 MovieClip Frame 2242
play();
Symbol 2332 MovieClip Frame 2243
play();
Symbol 2332 MovieClip Frame 2244
play();
Symbol 2332 MovieClip Frame 2245
play();
Symbol 2332 MovieClip Frame 2246
play();
Symbol 2332 MovieClip Frame 2247
play();
Symbol 2332 MovieClip Frame 2248
play();
Symbol 2332 MovieClip Frame 2249
play();
Symbol 2332 MovieClip Frame 2250
play();
Symbol 2332 MovieClip Frame 2251
play();
Symbol 2332 MovieClip Frame 2252
play();
Symbol 2332 MovieClip Frame 2253
play();
Symbol 2332 MovieClip Frame 2254
play();
Symbol 2332 MovieClip Frame 2255
play();
Symbol 2332 MovieClip Frame 2256
play();
Symbol 2332 MovieClip Frame 2257
play();
Symbol 2332 MovieClip Frame 2258
play();
Symbol 2332 MovieClip Frame 2259
play();
Symbol 2332 MovieClip Frame 2260
play();
Symbol 2332 MovieClip Frame 2261
play();
Symbol 2332 MovieClip Frame 2262
play();
Symbol 2332 MovieClip Frame 2263
play();
Symbol 2332 MovieClip Frame 2264
play();
Symbol 2332 MovieClip Frame 2265
play();
Symbol 2332 MovieClip Frame 2266
play();
Symbol 2332 MovieClip Frame 2267
play();
Symbol 2332 MovieClip Frame 2268
play();
Symbol 2332 MovieClip Frame 2269
play();
Symbol 2332 MovieClip Frame 2270
play();
Symbol 2332 MovieClip Frame 2271
play();
Symbol 2332 MovieClip Frame 2272
play();
Symbol 2332 MovieClip Frame 2273
play();
Symbol 2332 MovieClip Frame 2274
play();
Symbol 2332 MovieClip Frame 2275
play();
Symbol 2332 MovieClip Frame 2276
play();
Symbol 2332 MovieClip Frame 2277
play();
Symbol 2332 MovieClip Frame 2278
play();
Symbol 2332 MovieClip Frame 2279
play();
Symbol 2332 MovieClip Frame 2280
play();
Symbol 2332 MovieClip Frame 2281
play();
Symbol 2332 MovieClip Frame 2282
play();
Symbol 2332 MovieClip Frame 2283
play();
Symbol 2332 MovieClip Frame 2284
play();
Symbol 2332 MovieClip Frame 2285
play();
Symbol 2332 MovieClip Frame 2286
play();
Symbol 2332 MovieClip Frame 2287
play();
Symbol 2332 MovieClip Frame 2288
play();
Symbol 2332 MovieClip Frame 2289
play();
Symbol 2332 MovieClip Frame 2290
play();
Symbol 2332 MovieClip Frame 2291
play();
Symbol 2332 MovieClip Frame 2292
play();
Symbol 2332 MovieClip Frame 2293
play();
Symbol 2332 MovieClip Frame 2294
play();
Symbol 2332 MovieClip Frame 2295
play();
Symbol 2332 MovieClip Frame 2296
play();
Symbol 2332 MovieClip Frame 2297
play();
Symbol 2332 MovieClip Frame 2298
play();
Symbol 2332 MovieClip Frame 2299
play();
Symbol 2332 MovieClip Frame 2300
play();
Symbol 2332 MovieClip Frame 2301
play();
Symbol 2332 MovieClip Frame 2302
play();
Symbol 2332 MovieClip Frame 2303
play();
Symbol 2332 MovieClip Frame 2304
play();
Symbol 2332 MovieClip Frame 2305
play();
Symbol 2332 MovieClip Frame 2306
play();
Symbol 2332 MovieClip Frame 2307
play();
Symbol 2332 MovieClip Frame 2308
play();
Symbol 2332 MovieClip Frame 2309
play();
Symbol 2332 MovieClip Frame 2310
play();
Symbol 2332 MovieClip Frame 2311
play();
Symbol 2332 MovieClip Frame 2312
play();
Symbol 2332 MovieClip Frame 2313
play();
Symbol 2332 MovieClip Frame 2314
play();
Symbol 2332 MovieClip Frame 2315
play();
Symbol 2332 MovieClip Frame 2316
play();
Symbol 2332 MovieClip Frame 2317
play();
Symbol 2332 MovieClip Frame 2318
play();
Symbol 2332 MovieClip Frame 2319
play();
Symbol 2332 MovieClip Frame 2320
play();
Symbol 2332 MovieClip Frame 2321
play();
Symbol 2332 MovieClip Frame 2322
play();
Symbol 2332 MovieClip Frame 2323
play();
Symbol 2332 MovieClip Frame 2324
play();
Symbol 2332 MovieClip Frame 2325
play();
Symbol 2332 MovieClip Frame 2326
play();
Symbol 2332 MovieClip Frame 2327
play();
Symbol 2332 MovieClip Frame 2328
play();
Symbol 2332 MovieClip Frame 2329
play();
Symbol 2332 MovieClip Frame 2330
play();
Symbol 2332 MovieClip Frame 2331
play();
Symbol 2332 MovieClip Frame 2332
play();
Symbol 2332 MovieClip Frame 2333
play();
Symbol 2332 MovieClip Frame 2334
play();
Symbol 2332 MovieClip Frame 2335
play();
Symbol 2332 MovieClip Frame 2336
play();
Symbol 2332 MovieClip Frame 2337
play();
Symbol 2332 MovieClip Frame 2338
play();
Symbol 2332 MovieClip Frame 2339
play();
Symbol 2332 MovieClip Frame 2340
play();
Symbol 2332 MovieClip Frame 2341
play();
Symbol 2332 MovieClip Frame 2342
play();
Symbol 2332 MovieClip Frame 2343
play();
Symbol 2332 MovieClip Frame 2344
play();
Symbol 2332 MovieClip Frame 2345
play();
Symbol 2332 MovieClip Frame 2346
play();
Symbol 2332 MovieClip Frame 2347
play();
Symbol 2332 MovieClip Frame 2348
play();
Symbol 2332 MovieClip Frame 2349
play();
Symbol 2332 MovieClip Frame 2350
play();
Symbol 2332 MovieClip Frame 2351
play();
Symbol 2332 MovieClip Frame 2352
play();
Symbol 2332 MovieClip Frame 2353
play();
Symbol 2332 MovieClip Frame 2354
play();
Symbol 2332 MovieClip Frame 2355
play();
Symbol 2332 MovieClip Frame 2356
play();
Symbol 2332 MovieClip Frame 2357
play();
Symbol 2332 MovieClip Frame 2358
play();
Symbol 2332 MovieClip Frame 2359
play();
Symbol 2332 MovieClip Frame 2360
play();
Symbol 2332 MovieClip Frame 2361
play();
Symbol 2332 MovieClip Frame 2362
play();
Symbol 2332 MovieClip Frame 2363
play();
Symbol 2332 MovieClip Frame 2364
play();
Symbol 2332 MovieClip Frame 2365
play();
Symbol 2332 MovieClip Frame 2366
play();
Symbol 2332 MovieClip Frame 2367
play();
Symbol 2332 MovieClip Frame 2368
play();
Symbol 2332 MovieClip Frame 2369
play();
Symbol 2332 MovieClip Frame 2370
play();
Symbol 2332 MovieClip Frame 2371
play();
Symbol 2332 MovieClip Frame 2372
play();
Symbol 2332 MovieClip Frame 2373
play();
Symbol 2332 MovieClip Frame 2374
play();
Symbol 2332 MovieClip Frame 2375
play();
Symbol 2332 MovieClip Frame 2376
play();
Symbol 2332 MovieClip Frame 2377
play();
Symbol 2332 MovieClip Frame 2378
play();
Symbol 2332 MovieClip Frame 2379
play();
Symbol 2332 MovieClip Frame 2380
play();
Symbol 2332 MovieClip Frame 2381
play();
Symbol 2332 MovieClip Frame 2382
play();
Symbol 2332 MovieClip Frame 2383
play();
Symbol 2332 MovieClip Frame 2384
play();
Symbol 2332 MovieClip Frame 2385
play();
Symbol 2332 MovieClip Frame 2386
play();
Symbol 2332 MovieClip Frame 2387
play();
Symbol 2332 MovieClip Frame 2388
play();
Symbol 2332 MovieClip Frame 2389
play();
Symbol 2332 MovieClip Frame 2390
play();
Symbol 2332 MovieClip Frame 2391
play();
Symbol 2332 MovieClip Frame 2392
play();
Symbol 2332 MovieClip Frame 2393
play();
Symbol 2332 MovieClip Frame 2394
play();
Symbol 2332 MovieClip Frame 2395
play();
Symbol 2332 MovieClip Frame 2396
play();
Symbol 2332 MovieClip Frame 2397
play();
Symbol 2332 MovieClip Frame 2398
play();
Symbol 2332 MovieClip Frame 2399
play();
Symbol 2332 MovieClip Frame 2400
play();
Symbol 2332 MovieClip Frame 2401
play();
Symbol 2332 MovieClip Frame 2402
play();
Symbol 2332 MovieClip Frame 2403
play();
Symbol 2332 MovieClip Frame 2404
play();
Symbol 2332 MovieClip Frame 2405
play();
Symbol 2332 MovieClip Frame 2406
play();
Symbol 2332 MovieClip Frame 2407
play();
Symbol 2332 MovieClip Frame 2408
play();
Symbol 2332 MovieClip Frame 2409
play();
Symbol 2332 MovieClip Frame 2410
play();
Symbol 2332 MovieClip Frame 2411
play();
Symbol 2332 MovieClip Frame 2412
play();
Symbol 2332 MovieClip Frame 2413
play();
Symbol 2332 MovieClip Frame 2414
play();
Symbol 2332 MovieClip Frame 2415
play();
Symbol 2332 MovieClip Frame 2416
play();
Symbol 2332 MovieClip Frame 2417
play();
Symbol 2332 MovieClip Frame 2418
play();
Symbol 2332 MovieClip Frame 2419
play();
Symbol 2332 MovieClip Frame 2420
play();
Symbol 2332 MovieClip Frame 2421
play();
Symbol 2332 MovieClip Frame 2422
play();
Symbol 2332 MovieClip Frame 2423
play();
Symbol 2332 MovieClip Frame 2424
play();
Symbol 2332 MovieClip Frame 2425
play();
Symbol 2332 MovieClip Frame 2426
play();
Symbol 2332 MovieClip Frame 2427
play();
Symbol 2332 MovieClip Frame 2428
play();
Symbol 2332 MovieClip Frame 2429
play();
Symbol 2332 MovieClip Frame 2430
play();
Symbol 2332 MovieClip Frame 2431
play();
Symbol 2332 MovieClip Frame 2432
play();
Symbol 2332 MovieClip Frame 2433
play();
Symbol 2332 MovieClip Frame 2434
play();
Symbol 2332 MovieClip Frame 2435
play();
Symbol 2332 MovieClip Frame 2436
play();
Symbol 2332 MovieClip Frame 2437
play();
Symbol 2332 MovieClip Frame 2438
play();
Symbol 2332 MovieClip Frame 2439
play();
Symbol 2332 MovieClip Frame 2440
play();
Symbol 2332 MovieClip Frame 2441
play();
Symbol 2332 MovieClip Frame 2442
play();
Symbol 2332 MovieClip Frame 2443
play();
Symbol 2332 MovieClip Frame 2444
play();
Symbol 2332 MovieClip Frame 2445
play();
Symbol 2332 MovieClip Frame 2446
play();
Symbol 2332 MovieClip Frame 2447
play();
Symbol 2332 MovieClip Frame 2448
play();
Symbol 2332 MovieClip Frame 2449
play();
Symbol 2332 MovieClip Frame 2450
play();
Symbol 2332 MovieClip Frame 2451
play();
Symbol 2332 MovieClip Frame 2452
play();
Symbol 2332 MovieClip Frame 2453
play();
Symbol 2332 MovieClip Frame 2454
play();
Symbol 2332 MovieClip Frame 2455
play();
Symbol 2332 MovieClip Frame 2456
play();
Symbol 2332 MovieClip Frame 2457
play();
Symbol 2332 MovieClip Frame 2458
play();
Symbol 2332 MovieClip Frame 2459
play();
Symbol 2332 MovieClip Frame 2460
play();
Symbol 2332 MovieClip Frame 2461
play();
Symbol 2332 MovieClip Frame 2462
play();
Symbol 2332 MovieClip Frame 2463
play();
Symbol 2332 MovieClip Frame 2464
play();
Symbol 2332 MovieClip Frame 2465
play();
Symbol 2332 MovieClip Frame 2466
play();
Symbol 2332 MovieClip Frame 2467
play();
Symbol 2332 MovieClip Frame 2468
play();
Symbol 2332 MovieClip Frame 2469
play();
Symbol 2332 MovieClip Frame 2470
play();
Symbol 2332 MovieClip Frame 2471
play();
Symbol 2332 MovieClip Frame 2472
play();
Symbol 2332 MovieClip Frame 2473
play();
Symbol 2332 MovieClip Frame 2474
play();
Symbol 2332 MovieClip Frame 2475
play();
Symbol 2332 MovieClip Frame 2476
play();
Symbol 2332 MovieClip Frame 2477
play();
Symbol 2332 MovieClip Frame 2478
play();
Symbol 2332 MovieClip Frame 2479
play();
Symbol 2332 MovieClip Frame 2480
play();
Symbol 2332 MovieClip Frame 2481
play();
Symbol 2332 MovieClip Frame 2482
play();
Symbol 2332 MovieClip Frame 2483
play();
Symbol 2332 MovieClip Frame 2484
play();
Symbol 2332 MovieClip Frame 2485
play();
Symbol 2332 MovieClip Frame 2486
play();
Symbol 2332 MovieClip Frame 2487
play();
Symbol 2332 MovieClip Frame 2488
play();
Symbol 2332 MovieClip Frame 2489
play();
Symbol 2332 MovieClip Frame 2490
play();
Symbol 2332 MovieClip Frame 2491
play();
Symbol 2332 MovieClip Frame 2492
play();
Symbol 2332 MovieClip Frame 2493
play();
Symbol 2332 MovieClip Frame 2494
play();
Symbol 2332 MovieClip Frame 2495
play();
Symbol 2332 MovieClip Frame 2496
play();
Symbol 2332 MovieClip Frame 2497
play();
Symbol 2332 MovieClip Frame 2498
play();
Symbol 2332 MovieClip Frame 2499
play();
Symbol 2332 MovieClip Frame 2500
play();
Symbol 2332 MovieClip Frame 2501
play();
Symbol 2332 MovieClip Frame 2502
play();
Symbol 2332 MovieClip Frame 2503
play();
Symbol 2332 MovieClip Frame 2504
play();
Symbol 2332 MovieClip Frame 2505
play();
Symbol 2332 MovieClip Frame 2506
play();
Symbol 2332 MovieClip Frame 2507
play();
Symbol 2332 MovieClip Frame 2508
play();
Symbol 2332 MovieClip Frame 2509
play();
Symbol 2332 MovieClip Frame 2510
play();
Symbol 2332 MovieClip Frame 2511
play();
Symbol 2332 MovieClip Frame 2512
play();
Symbol 2332 MovieClip Frame 2513
play();
Symbol 2332 MovieClip Frame 2514
play();
Symbol 2332 MovieClip Frame 2515
play();
Symbol 2332 MovieClip Frame 2516
play();
Symbol 2332 MovieClip Frame 2517
play();
Symbol 2332 MovieClip Frame 2518
play();
Symbol 2332 MovieClip Frame 2519
play();
Symbol 2332 MovieClip Frame 2520
play();
Symbol 2332 MovieClip Frame 2521
play();
Symbol 2332 MovieClip Frame 2522
play();
Symbol 2332 MovieClip Frame 2523
play();
Symbol 2332 MovieClip Frame 2524
play();
Symbol 2332 MovieClip Frame 2525
play();
Symbol 2332 MovieClip Frame 2526
play();
Symbol 2332 MovieClip Frame 2527
play();
Symbol 2332 MovieClip Frame 2528
play();
Symbol 2332 MovieClip Frame 2529
play();
Symbol 2332 MovieClip Frame 2530
play();
Symbol 2332 MovieClip Frame 2531
play();
Symbol 2332 MovieClip Frame 2532
play();
Symbol 2332 MovieClip Frame 2533
play();
Symbol 2332 MovieClip Frame 2534
play();
Symbol 2332 MovieClip Frame 2535
play();
Symbol 2332 MovieClip Frame 2536
play();
Symbol 2332 MovieClip Frame 2537
play();
Symbol 2332 MovieClip Frame 2538
play();
Symbol 2332 MovieClip Frame 2539
play();
Symbol 2332 MovieClip Frame 2540
play();
Symbol 2332 MovieClip Frame 2541
play();
Symbol 2332 MovieClip Frame 2542
play();
Symbol 2332 MovieClip Frame 2543
play();
Symbol 2332 MovieClip Frame 2544
play();
Symbol 2332 MovieClip Frame 2545
play();
Symbol 2332 MovieClip Frame 2546
play();
Symbol 2332 MovieClip Frame 2547
play();
Symbol 2332 MovieClip Frame 2548
play();
Symbol 2332 MovieClip Frame 2549
play();
Symbol 2332 MovieClip Frame 2550
play();
Symbol 2332 MovieClip Frame 2551
play();
Symbol 2332 MovieClip Frame 2552
play();
Symbol 2332 MovieClip Frame 2553
play();
Symbol 2332 MovieClip Frame 2554
play();
Symbol 2332 MovieClip Frame 2555
play();
Symbol 2332 MovieClip Frame 2556
play();
Symbol 2332 MovieClip Frame 2557
play();
Symbol 2332 MovieClip Frame 2558
play();
Symbol 2332 MovieClip Frame 2559
play();
Symbol 2332 MovieClip Frame 2560
play();
Symbol 2332 MovieClip Frame 2561
play();
Symbol 2332 MovieClip Frame 2562
play();
Symbol 2332 MovieClip Frame 2563
play();
Symbol 2332 MovieClip Frame 2564
play();
Symbol 2332 MovieClip Frame 2565
play();
Symbol 2332 MovieClip Frame 2566
play();
Symbol 2332 MovieClip Frame 2567
play();
Symbol 2332 MovieClip Frame 2568
play();
Symbol 2332 MovieClip Frame 2569
play();
Symbol 2332 MovieClip Frame 2570
play();
Symbol 2332 MovieClip Frame 2571
play();
Symbol 2332 MovieClip Frame 2572
play();
Symbol 2332 MovieClip Frame 2573
play();
Symbol 2332 MovieClip Frame 2574
play();
Symbol 2332 MovieClip Frame 2575
play();
Symbol 2332 MovieClip Frame 2576
play();
Symbol 2332 MovieClip Frame 2577
play();
Symbol 2332 MovieClip Frame 2578
play();
Symbol 2332 MovieClip Frame 2579
play();
Symbol 2332 MovieClip Frame 2580
play();
Symbol 2332 MovieClip Frame 2581
play();
Symbol 2332 MovieClip Frame 2582
play();
Symbol 2332 MovieClip Frame 2583
play();
Symbol 2332 MovieClip Frame 2584
play();
Symbol 2332 MovieClip Frame 2585
play();
Symbol 2332 MovieClip Frame 2586
play();
Symbol 2332 MovieClip Frame 2587
play();
Symbol 2332 MovieClip Frame 2588
play();
Symbol 2332 MovieClip Frame 2589
play();
Symbol 2332 MovieClip Frame 2590
play();
Symbol 2332 MovieClip Frame 2591
play();
Symbol 2332 MovieClip Frame 2592
play();
Symbol 2332 MovieClip Frame 2593
play();
Symbol 2332 MovieClip Frame 2594
play();
Symbol 2332 MovieClip Frame 2595
play();
Symbol 2332 MovieClip Frame 2596
play();
Symbol 2332 MovieClip Frame 2597
play();
Symbol 2332 MovieClip Frame 2598
play();
Symbol 2332 MovieClip Frame 2599
play();
Symbol 2332 MovieClip Frame 2600
play();
Symbol 2332 MovieClip Frame 2601
play();
Symbol 2332 MovieClip Frame 2602
play();
Symbol 2332 MovieClip Frame 2603
play();
Symbol 2332 MovieClip Frame 2604
play();
Symbol 2332 MovieClip Frame 2605
play();
Symbol 2332 MovieClip Frame 2606
play();
Symbol 2332 MovieClip Frame 2607
play();
Symbol 2332 MovieClip Frame 2608
play();
Symbol 2332 MovieClip Frame 2609
play();
Symbol 2332 MovieClip Frame 2610
play();
Symbol 2332 MovieClip Frame 2611
play();
Symbol 2332 MovieClip Frame 2612
play();
Symbol 2332 MovieClip Frame 2613
play();
Symbol 2332 MovieClip Frame 2614
play();
Symbol 2332 MovieClip Frame 2615
play();
Symbol 2332 MovieClip Frame 2616
play();
Symbol 2332 MovieClip Frame 2617
play();
Symbol 2332 MovieClip Frame 2618
play();
Symbol 2332 MovieClip Frame 2619
play();
Symbol 2332 MovieClip Frame 2620
play();
Symbol 2332 MovieClip Frame 2621
play();
Symbol 2332 MovieClip Frame 2622
play();
Symbol 2332 MovieClip Frame 2623
play();
Symbol 2332 MovieClip Frame 2624
play();
Symbol 2332 MovieClip Frame 2625
play();
Symbol 2332 MovieClip Frame 2626
play();
Symbol 2332 MovieClip Frame 2627
play();
Symbol 2332 MovieClip Frame 2628
play();
Symbol 2332 MovieClip Frame 2629
play();
Symbol 2332 MovieClip Frame 2630
play();
Symbol 2332 MovieClip Frame 2631
play();
Symbol 2332 MovieClip Frame 2632
play();
Symbol 2332 MovieClip Frame 2633
play();
Symbol 2332 MovieClip Frame 2634
play();
Symbol 2332 MovieClip Frame 2635
play();
Symbol 2332 MovieClip Frame 2636
play();
Symbol 2332 MovieClip Frame 2637
play();
Symbol 2332 MovieClip Frame 2638
play();
Symbol 2332 MovieClip Frame 2639
play();
Symbol 2332 MovieClip Frame 2640
play();
Symbol 2332 MovieClip Frame 2641
play();
Symbol 2332 MovieClip Frame 2642
play();
Symbol 2332 MovieClip Frame 2643
play();
Symbol 2332 MovieClip Frame 2644
play();
Symbol 2332 MovieClip Frame 2645
play();
Symbol 2332 MovieClip Frame 2646
play();
Symbol 2332 MovieClip Frame 2647
play();
Symbol 2332 MovieClip Frame 2648
play();
Symbol 2332 MovieClip Frame 2649
play();
Symbol 2332 MovieClip Frame 2650
play();
Symbol 2332 MovieClip Frame 2651
play();
Symbol 2332 MovieClip Frame 2652
play();
Symbol 2332 MovieClip Frame 2653
play();
Symbol 2332 MovieClip Frame 2654
play();
Symbol 2332 MovieClip Frame 2655
play();
Symbol 2332 MovieClip Frame 2656
play();
Symbol 2332 MovieClip Frame 2657
play();
Symbol 2332 MovieClip Frame 2658
play();
Symbol 2332 MovieClip Frame 2659
play();
Symbol 2332 MovieClip Frame 2660
play();
Symbol 2332 MovieClip Frame 2661
play();
Symbol 2332 MovieClip Frame 2662
play();
Symbol 2332 MovieClip Frame 2663
play();
Symbol 2332 MovieClip Frame 2664
play();
Symbol 2332 MovieClip Frame 2665
play();
Symbol 2332 MovieClip Frame 2666
play();
Symbol 2332 MovieClip Frame 2667
play();
Symbol 2332 MovieClip Frame 2668
play();
Symbol 2332 MovieClip Frame 2669
play();
Symbol 2332 MovieClip Frame 2670
play();
Symbol 2332 MovieClip Frame 2671
play();
Symbol 2332 MovieClip Frame 2672
play();
Symbol 2332 MovieClip Frame 2673
play();
Symbol 2332 MovieClip Frame 2674
play();
Symbol 2332 MovieClip Frame 2675
play();
Symbol 2332 MovieClip Frame 2676
play();
Symbol 2332 MovieClip Frame 2677
play();
Symbol 2332 MovieClip Frame 2678
play();
Symbol 2332 MovieClip Frame 2679
play();
Symbol 2332 MovieClip Frame 2680
play();
Symbol 2332 MovieClip Frame 2681
play();
Symbol 2332 MovieClip Frame 2682
play();
Symbol 2332 MovieClip Frame 2683
play();
Symbol 2332 MovieClip Frame 2684
play();
Symbol 2332 MovieClip Frame 2685
play();
Symbol 2332 MovieClip Frame 2686
play();
Symbol 2332 MovieClip Frame 2687
play();
Symbol 2332 MovieClip Frame 2688
play();
Symbol 2332 MovieClip Frame 2689
play();
Symbol 2332 MovieClip Frame 2690
play();
Symbol 2332 MovieClip Frame 2691
play();
Symbol 2332 MovieClip Frame 2692
play();
Symbol 2332 MovieClip Frame 2693
play();
Symbol 2332 MovieClip Frame 2694
play();
Symbol 2332 MovieClip Frame 2695
play();
Symbol 2332 MovieClip Frame 2696
play();
Symbol 2332 MovieClip Frame 2697
play();
Symbol 2332 MovieClip Frame 2698
play();
Symbol 2332 MovieClip Frame 2699
play();
Symbol 2332 MovieClip Frame 2700
play();
Symbol 2332 MovieClip Frame 2701
play();
Symbol 2332 MovieClip Frame 2702
play();
Symbol 2332 MovieClip Frame 2703
play();
Symbol 2332 MovieClip Frame 2704
play();
Symbol 2332 MovieClip Frame 2705
play();
Symbol 2332 MovieClip Frame 2706
play();
Symbol 2332 MovieClip Frame 2707
play();
Symbol 2332 MovieClip Frame 2708
play();
Symbol 2332 MovieClip Frame 2709
play();
Symbol 2332 MovieClip Frame 2710
play();
Symbol 2332 MovieClip Frame 2711
play();
Symbol 2332 MovieClip Frame 2712
play();
Symbol 2332 MovieClip Frame 2713
play();
Symbol 2332 MovieClip Frame 2714
play();
Symbol 2332 MovieClip Frame 2715
play();
Symbol 2332 MovieClip Frame 2716
play();
Symbol 2332 MovieClip Frame 2717
play();
Symbol 2332 MovieClip Frame 2718
play();
Symbol 2332 MovieClip Frame 2719
play();
Symbol 2332 MovieClip Frame 2720
play();
Symbol 2332 MovieClip Frame 2721
play();
Symbol 2332 MovieClip Frame 2722
play();
Symbol 2332 MovieClip Frame 2723
play();
Symbol 2332 MovieClip Frame 2724
play();
Symbol 2332 MovieClip Frame 2725
play();
Symbol 2332 MovieClip Frame 2726
play();
Symbol 2332 MovieClip Frame 2727
play();
Symbol 2332 MovieClip Frame 2728
play();
Symbol 2332 MovieClip Frame 2729
play();
Symbol 2332 MovieClip Frame 2730
play();
Symbol 2332 MovieClip Frame 2731
play();
Symbol 2332 MovieClip Frame 2732
play();
Symbol 2332 MovieClip Frame 2733
play();
Symbol 2332 MovieClip Frame 2734
play();
Symbol 2332 MovieClip Frame 2735
play();
Symbol 2332 MovieClip Frame 2736
play();
Symbol 2332 MovieClip Frame 2737
play();
Symbol 2332 MovieClip Frame 2738
play();
Symbol 2332 MovieClip Frame 2739
play();
Symbol 2332 MovieClip Frame 2740
play();
Symbol 2332 MovieClip Frame 2741
play();
Symbol 2332 MovieClip Frame 2742
play();
Symbol 2332 MovieClip Frame 2743
play();
Symbol 2332 MovieClip Frame 2744
play();
Symbol 2332 MovieClip Frame 2745
play();
Symbol 2332 MovieClip Frame 2746
play();
Symbol 2332 MovieClip Frame 2747
play();
Symbol 2332 MovieClip Frame 2748
play();
Symbol 2332 MovieClip Frame 2749
play();
Symbol 2332 MovieClip Frame 2750
play();
Symbol 2332 MovieClip Frame 2751
play();
Symbol 2332 MovieClip Frame 2752
play();
Symbol 2332 MovieClip Frame 2753
play();
Symbol 2332 MovieClip Frame 2754
play();
Symbol 2332 MovieClip Frame 2755
play();
Symbol 2332 MovieClip Frame 2756
play();
Symbol 2332 MovieClip Frame 2757
play();
Symbol 2332 MovieClip Frame 2758
play();
Symbol 2332 MovieClip Frame 2759
play();
Symbol 2332 MovieClip Frame 2760
play();
Symbol 2332 MovieClip Frame 2761
play();
Symbol 2332 MovieClip Frame 2762
play();
Symbol 2332 MovieClip Frame 2763
play();
Symbol 2332 MovieClip Frame 2764
play();
Symbol 2332 MovieClip Frame 2765
play();
Symbol 2332 MovieClip Frame 2766
play();
Symbol 2332 MovieClip Frame 2767
play();
Symbol 2332 MovieClip Frame 2768
play();
Symbol 2332 MovieClip Frame 2769
play();
Symbol 2332 MovieClip Frame 2770
play();
Symbol 2332 MovieClip Frame 2771
play();
Symbol 2332 MovieClip Frame 2772
play();
Symbol 2332 MovieClip Frame 2773
play();
Symbol 2332 MovieClip Frame 2774
play();
Symbol 2332 MovieClip Frame 2775
play();
Symbol 2332 MovieClip Frame 2776
play();
Symbol 2332 MovieClip Frame 2777
play();
Symbol 2332 MovieClip Frame 2778
play();
Symbol 2332 MovieClip Frame 2779
play();
Symbol 2332 MovieClip Frame 2780
play();
Symbol 2332 MovieClip Frame 2781
play();
Symbol 2332 MovieClip Frame 2782
play();
Symbol 2332 MovieClip Frame 2783
play();
Symbol 2332 MovieClip Frame 2784
play();
Symbol 2332 MovieClip Frame 2785
play();
Symbol 2332 MovieClip Frame 2786
play();
Symbol 2332 MovieClip Frame 2787
play();
Symbol 2332 MovieClip Frame 2788
play();
Symbol 2332 MovieClip Frame 2789
play();
Symbol 2332 MovieClip Frame 2790
play();
Symbol 2332 MovieClip Frame 2791
play();
Symbol 2332 MovieClip Frame 2792
play();
Symbol 2332 MovieClip Frame 2793
play();
Symbol 2332 MovieClip Frame 2794
play();
Symbol 2332 MovieClip Frame 2795
play();
Symbol 2332 MovieClip Frame 2796
play();
Symbol 2332 MovieClip Frame 2797
play();
Symbol 2332 MovieClip Frame 2798
play();
Symbol 2332 MovieClip Frame 2799
play();
Symbol 2332 MovieClip Frame 2800
play();
Symbol 2332 MovieClip Frame 2801
play();
Symbol 2332 MovieClip Frame 2802
play();
Symbol 2332 MovieClip Frame 2803
play();
Symbol 2332 MovieClip Frame 2804
play();
Symbol 2332 MovieClip Frame 2805
play();
Symbol 2332 MovieClip Frame 2806
play();
Symbol 2332 MovieClip Frame 2807
play();
Symbol 2332 MovieClip Frame 2808
play();
Symbol 2332 MovieClip Frame 2809
play();
Symbol 2332 MovieClip Frame 2810
play();
Symbol 2332 MovieClip Frame 2811
play();
Symbol 2332 MovieClip Frame 2812
play();
Symbol 2332 MovieClip Frame 2813
play();
Symbol 2332 MovieClip Frame 2814
play();
Symbol 2332 MovieClip Frame 2815
play();
Symbol 2332 MovieClip Frame 2816
play();
Symbol 2332 MovieClip Frame 2817
play();
Symbol 2332 MovieClip Frame 2818
play();
Symbol 2332 MovieClip Frame 2819
play();
Symbol 2332 MovieClip Frame 2820
play();
Symbol 2332 MovieClip Frame 2821
play();
Symbol 2332 MovieClip Frame 2822
play();
Symbol 2332 MovieClip Frame 2823
play();
Symbol 2332 MovieClip Frame 2824
play();
Symbol 2332 MovieClip Frame 2825
play();
Symbol 2332 MovieClip Frame 2826
play();
Symbol 2332 MovieClip Frame 2827
play();
Symbol 2332 MovieClip Frame 2828
play();
Symbol 2332 MovieClip Frame 2829
play();
Symbol 2332 MovieClip Frame 2830
play();
Symbol 2332 MovieClip Frame 2831
play();
Symbol 2332 MovieClip Frame 2832
play();
Symbol 2332 MovieClip Frame 2833
play();
Symbol 2332 MovieClip Frame 2834
play();
Symbol 2332 MovieClip Frame 2835
play();
Symbol 2332 MovieClip Frame 2836
play();
Symbol 2332 MovieClip Frame 2837
play();
Symbol 2332 MovieClip Frame 2838
play();
Symbol 2332 MovieClip Frame 2839
play();
Symbol 2332 MovieClip Frame 2840
play();
Symbol 2332 MovieClip Frame 2841
play();
Symbol 2332 MovieClip Frame 2842
play();
Symbol 2332 MovieClip Frame 2843
play();
Symbol 2332 MovieClip Frame 2844
play();
Symbol 2332 MovieClip Frame 2845
play();
Symbol 2332 MovieClip Frame 2846
play();
Symbol 2332 MovieClip Frame 2847
play();
Symbol 2332 MovieClip Frame 2848
play();
Symbol 2332 MovieClip Frame 2849
play();
Symbol 2332 MovieClip Frame 2850
play();
Symbol 2332 MovieClip Frame 2851
play();
Symbol 2332 MovieClip Frame 2852
play();
Symbol 2332 MovieClip Frame 2853
play();
Symbol 2332 MovieClip Frame 2854
play();
Symbol 2332 MovieClip Frame 2855
play();
Symbol 2332 MovieClip Frame 2856
play();
Symbol 2332 MovieClip Frame 2857
play();
Symbol 2332 MovieClip Frame 2858
play();
Symbol 2332 MovieClip Frame 2859
play();
Symbol 2332 MovieClip Frame 2860
play();
Symbol 2332 MovieClip Frame 2861
play();
Symbol 2332 MovieClip Frame 2862
play();
Symbol 2332 MovieClip Frame 2863
play();
Symbol 2332 MovieClip Frame 2864
play();
Symbol 2332 MovieClip Frame 2865
play();
Symbol 2332 MovieClip Frame 2866
play();
Symbol 2332 MovieClip Frame 2867
play();
Symbol 2332 MovieClip Frame 2868
play();
Symbol 2332 MovieClip Frame 2869
play();
Symbol 2332 MovieClip Frame 2870
play();
Symbol 2332 MovieClip Frame 2871
play();
Symbol 2332 MovieClip Frame 2872
play();
Symbol 2332 MovieClip Frame 2873
play();
Symbol 2332 MovieClip Frame 2874
play();
Symbol 2332 MovieClip Frame 2875
play();
Symbol 2332 MovieClip Frame 2876
play();
Symbol 2332 MovieClip Frame 2877
play();
Symbol 2332 MovieClip Frame 2878
play();
Symbol 2332 MovieClip Frame 2879
play();
Symbol 2332 MovieClip Frame 2880
play();
Symbol 2332 MovieClip Frame 2881
play();
Symbol 2332 MovieClip Frame 2882
play();
Symbol 2332 MovieClip Frame 2883
play();
Symbol 2332 MovieClip Frame 2884
play();
Symbol 2332 MovieClip Frame 2885
play();
Symbol 2332 MovieClip Frame 2886
play();
Symbol 2332 MovieClip Frame 2887
play();
Symbol 2332 MovieClip Frame 2888
play();
Symbol 2332 MovieClip Frame 2889
play();
Symbol 2332 MovieClip Frame 2890
play();
Symbol 2332 MovieClip Frame 2891
play();
Symbol 2332 MovieClip Frame 2892
play();
Symbol 2332 MovieClip Frame 2893
play();
Symbol 2332 MovieClip Frame 2894
play();
Symbol 2332 MovieClip Frame 2895
play();
Symbol 2332 MovieClip Frame 2896
play();
Symbol 2332 MovieClip Frame 2897
play();
Symbol 2332 MovieClip Frame 2898
play();
Symbol 2332 MovieClip Frame 2899
play();
Symbol 2332 MovieClip Frame 2900
play();
Symbol 2332 MovieClip Frame 2901
play();
Symbol 2332 MovieClip Frame 2902
play();
Symbol 2332 MovieClip Frame 2903
play();
Symbol 2332 MovieClip Frame 2904
play();
Symbol 2332 MovieClip Frame 2905
play();
Symbol 2332 MovieClip Frame 2906
play();
Symbol 2332 MovieClip Frame 2907
play();
Symbol 2332 MovieClip Frame 2908
play();
Symbol 2332 MovieClip Frame 2909
play();
Symbol 2332 MovieClip Frame 2910
play();
Symbol 2332 MovieClip Frame 2911
play();
Symbol 2332 MovieClip Frame 2912
play();
Symbol 2332 MovieClip Frame 2913
play();
Symbol 2332 MovieClip Frame 2914
play();
Symbol 2332 MovieClip Frame 2915
play();
Symbol 2332 MovieClip Frame 2916
play();
Symbol 2332 MovieClip Frame 2917
play();
Symbol 2332 MovieClip Frame 2918
play();
Symbol 2332 MovieClip Frame 2919
play();
Symbol 2332 MovieClip Frame 2920
play();
Symbol 2332 MovieClip Frame 2921
play();
Symbol 2332 MovieClip Frame 2922
play();
Symbol 2332 MovieClip Frame 2923
play();
Symbol 2332 MovieClip Frame 2924
play();
Symbol 2332 MovieClip Frame 2925
play();
Symbol 2332 MovieClip Frame 2926
play();
Symbol 2332 MovieClip Frame 2927
play();
Symbol 2332 MovieClip Frame 2928
play();
Symbol 2332 MovieClip Frame 2929
play();
Symbol 2332 MovieClip Frame 2930
play();
Symbol 2332 MovieClip Frame 2931
play();
Symbol 2332 MovieClip Frame 2932
play();
Symbol 2332 MovieClip Frame 2933
play();
Symbol 2332 MovieClip Frame 2934
play();
Symbol 2332 MovieClip Frame 2935
play();
Symbol 2332 MovieClip Frame 2936
play();
Symbol 2332 MovieClip Frame 2937
play();
Symbol 2332 MovieClip Frame 2938
play();
Symbol 2332 MovieClip Frame 2939
play();
Symbol 2332 MovieClip Frame 2940
play();
Symbol 2332 MovieClip Frame 2941
play();
Symbol 2332 MovieClip Frame 2942
play();
Symbol 2332 MovieClip Frame 2943
play();
Symbol 2332 MovieClip Frame 2944
play();
Symbol 2332 MovieClip Frame 2945
play();
Symbol 2332 MovieClip Frame 2946
play();
Symbol 2332 MovieClip Frame 2947
play();
Symbol 2332 MovieClip Frame 2948
play();
Symbol 2332 MovieClip Frame 2949
play();
Symbol 2332 MovieClip Frame 2950
play();
Symbol 2332 MovieClip Frame 2951
play();
Symbol 2332 MovieClip Frame 2952
play();
Symbol 2332 MovieClip Frame 2953
play();
Symbol 2332 MovieClip Frame 2954
play();
Symbol 2332 MovieClip Frame 2955
play();
Symbol 2332 MovieClip Frame 2956
play();
Symbol 2332 MovieClip Frame 2957
play();
Symbol 2332 MovieClip Frame 2958
play();
Symbol 2332 MovieClip Frame 2959
play();
Symbol 2332 MovieClip Frame 2960
play();
Symbol 2332 MovieClip Frame 2961
play();
Symbol 2332 MovieClip Frame 2962
play();
Symbol 2332 MovieClip Frame 2963
play();
Symbol 2332 MovieClip Frame 2964
play();
Symbol 2332 MovieClip Frame 2965
play();
Symbol 2332 MovieClip Frame 2966
play();
Symbol 2332 MovieClip Frame 2967
play();
Symbol 2332 MovieClip Frame 2968
play();
Symbol 2332 MovieClip Frame 2969
play();
Symbol 2332 MovieClip Frame 2970
play();
Symbol 2332 MovieClip Frame 2971
play();
Symbol 2332 MovieClip Frame 2972
play();
Symbol 2332 MovieClip Frame 2973
play();
Symbol 2332 MovieClip Frame 2974
play();
Symbol 2332 MovieClip Frame 2975
play();
Symbol 2332 MovieClip Frame 2976
play();
Symbol 2332 MovieClip Frame 2977
play();
Symbol 2332 MovieClip Frame 2978
play();
Symbol 2332 MovieClip Frame 2979
play();
Symbol 2332 MovieClip Frame 2980
play();
Symbol 2332 MovieClip Frame 2981
play();
Symbol 2332 MovieClip Frame 2982
play();
Symbol 2332 MovieClip Frame 2983
play();
Symbol 2332 MovieClip Frame 2984
play();
Symbol 2332 MovieClip Frame 2985
play();
Symbol 2332 MovieClip Frame 2986
play();
Symbol 2332 MovieClip Frame 2987
play();
Symbol 2332 MovieClip Frame 2988
play();
Symbol 2332 MovieClip Frame 2989
play();
Symbol 2332 MovieClip Frame 2990
play();
Symbol 2332 MovieClip Frame 2991
play();
Symbol 2332 MovieClip Frame 2992
play();
Symbol 2332 MovieClip Frame 2993
play();
Symbol 2332 MovieClip Frame 2994
play();
Symbol 2332 MovieClip Frame 2995
play();
Symbol 2332 MovieClip Frame 2996
play();
Symbol 2332 MovieClip Frame 2997
play();
Symbol 2332 MovieClip Frame 2998
play();
Symbol 2332 MovieClip Frame 2999
play();
Symbol 2332 MovieClip Frame 3000
play();
Symbol 2332 MovieClip Frame 3001
play();
Symbol 2332 MovieClip Frame 3002
play();
Symbol 2332 MovieClip Frame 3003
play();
Symbol 2332 MovieClip Frame 3004
play();
Symbol 2332 MovieClip Frame 3005
play();
Symbol 2332 MovieClip Frame 3006
play();
Symbol 2332 MovieClip Frame 3007
play();
Symbol 2332 MovieClip Frame 3008
play();
Symbol 2332 MovieClip Frame 3009
play();
Symbol 2332 MovieClip Frame 3010
play();
Symbol 2332 MovieClip Frame 3011
play();
Symbol 2332 MovieClip Frame 3012
play();
Symbol 2332 MovieClip Frame 3013
play();
Symbol 2332 MovieClip Frame 3014
play();
Symbol 2332 MovieClip Frame 3015
play();
Symbol 2332 MovieClip Frame 3016
play();
Symbol 2332 MovieClip Frame 3017
play();
Symbol 2332 MovieClip Frame 3018
play();
Symbol 2332 MovieClip Frame 3019
play();
Symbol 2332 MovieClip Frame 3020
play();
Symbol 2332 MovieClip Frame 3021
play();
Symbol 2332 MovieClip Frame 3022
play();
Symbol 2332 MovieClip Frame 3023
play();
Symbol 2332 MovieClip Frame 3024
play();
Symbol 2332 MovieClip Frame 3025
play();
Symbol 2332 MovieClip Frame 3026
play();
Symbol 2332 MovieClip Frame 3027
play();
Symbol 2332 MovieClip Frame 3028
play();
Symbol 2332 MovieClip Frame 3029
play();
Symbol 2332 MovieClip Frame 3030
play();
Symbol 2332 MovieClip Frame 3031
play();
Symbol 2332 MovieClip Frame 3032
play();
Symbol 2332 MovieClip Frame 3033
play();
Symbol 2332 MovieClip Frame 3034
play();
Symbol 2332 MovieClip Frame 3035
play();
Symbol 2332 MovieClip Frame 3036
play();
Symbol 2332 MovieClip Frame 3037
play();
Symbol 2332 MovieClip Frame 3038
play();
Symbol 2332 MovieClip Frame 3039
play();
Symbol 2332 MovieClip Frame 3040
play();
Symbol 2332 MovieClip Frame 3041
play();
Symbol 2332 MovieClip Frame 3042
play();
Symbol 2332 MovieClip Frame 3043
play();
Symbol 2332 MovieClip Frame 3044
play();
Symbol 2332 MovieClip Frame 3045
play();
Symbol 2332 MovieClip Frame 3046
play();
Symbol 2332 MovieClip Frame 3047
play();
Symbol 2332 MovieClip Frame 3048
play();
Symbol 2332 MovieClip Frame 3049
play();
Symbol 2332 MovieClip Frame 3050
play();
Symbol 2332 MovieClip Frame 3051
play();
Symbol 2332 MovieClip Frame 3052
play();
Symbol 2332 MovieClip Frame 3053
play();
Symbol 2332 MovieClip Frame 3054
play();
Symbol 2332 MovieClip Frame 3055
play();
Symbol 2332 MovieClip Frame 3056
play();
Symbol 2332 MovieClip Frame 3057
play();
Symbol 2332 MovieClip Frame 3058
play();
Symbol 2332 MovieClip Frame 3059
play();
Symbol 2332 MovieClip Frame 3060
play();
Symbol 2332 MovieClip Frame 3061
play();
Symbol 2332 MovieClip Frame 3062
play();
Symbol 2332 MovieClip Frame 3063
play();
Symbol 2332 MovieClip Frame 3064
play();
Symbol 2332 MovieClip Frame 3065
play();
Symbol 2332 MovieClip Frame 3066
play();
Symbol 2332 MovieClip Frame 3067
play();
Symbol 2332 MovieClip Frame 3068
play();
Symbol 2332 MovieClip Frame 3069
play();
Symbol 2332 MovieClip Frame 3070
play();
Symbol 2332 MovieClip Frame 3071
play();
Symbol 2332 MovieClip Frame 3072
play();
Symbol 2332 MovieClip Frame 3073
play();
Symbol 2332 MovieClip Frame 3074
play();
Symbol 2332 MovieClip Frame 3075
play();
Symbol 2332 MovieClip Frame 3076
play();
Symbol 2332 MovieClip Frame 3077
play();
Symbol 2332 MovieClip Frame 3078
play();
Symbol 2332 MovieClip Frame 3079
play();
Symbol 2332 MovieClip Frame 3080
play();
Symbol 2332 MovieClip Frame 3081
play();
Symbol 2332 MovieClip Frame 3082
play();
Symbol 2332 MovieClip Frame 3083
play();
Symbol 2332 MovieClip Frame 3084
play();
Symbol 2332 MovieClip Frame 3085
play();
Symbol 2332 MovieClip Frame 3086
play();
Symbol 2332 MovieClip Frame 3087
play();
Symbol 2332 MovieClip Frame 3088
play();
Symbol 2332 MovieClip Frame 3089
play();
Symbol 2332 MovieClip Frame 3090
play();
Symbol 2332 MovieClip Frame 3091
play();
Symbol 2332 MovieClip Frame 3092
play();
Symbol 2332 MovieClip Frame 3093
play();
Symbol 2332 MovieClip Frame 3094
play();
Symbol 2332 MovieClip Frame 3095
play();
Symbol 2332 MovieClip Frame 3096
play();
Symbol 2332 MovieClip Frame 3097
play();
Symbol 2332 MovieClip Frame 3098
play();
Symbol 2332 MovieClip Frame 3099
play();
Symbol 2332 MovieClip Frame 3100
play();
Symbol 2332 MovieClip Frame 3101
play();
Symbol 2332 MovieClip Frame 3102
play();
Symbol 2332 MovieClip Frame 3103
play();
Symbol 2332 MovieClip Frame 3104
play();
Symbol 2332 MovieClip Frame 3105
play();
Symbol 2332 MovieClip Frame 3106
play();
Symbol 2332 MovieClip Frame 3107
play();
Symbol 2332 MovieClip Frame 3108
play();
Symbol 2332 MovieClip Frame 3109
play();
Symbol 2332 MovieClip Frame 3110
play();
Symbol 2332 MovieClip Frame 3111
play();
Symbol 2332 MovieClip Frame 3112
play();
Symbol 2332 MovieClip Frame 3113
play();
Symbol 2332 MovieClip Frame 3114
play();
Symbol 2332 MovieClip Frame 3115
play();
Symbol 2332 MovieClip Frame 3116
play();
Symbol 2332 MovieClip Frame 3117
play();
Symbol 2332 MovieClip Frame 3118
play();
Symbol 2332 MovieClip Frame 3119
play();
Symbol 2332 MovieClip Frame 3120
play();
Symbol 2332 MovieClip Frame 3121
play();
Symbol 2332 MovieClip Frame 3122
play();
Symbol 2332 MovieClip Frame 3123
play();
Symbol 2332 MovieClip Frame 3124
play();
Symbol 2332 MovieClip Frame 3125
play();
Symbol 2332 MovieClip Frame 3126
play();
Symbol 2332 MovieClip Frame 3127
play();
Symbol 2332 MovieClip Frame 3128
play();
Symbol 2332 MovieClip Frame 3129
play();
Symbol 2332 MovieClip Frame 3130
play();
Symbol 2332 MovieClip Frame 3131
play();
Symbol 2332 MovieClip Frame 3132
play();
Symbol 2332 MovieClip Frame 3133
play();
Symbol 2332 MovieClip Frame 3134
play();
Symbol 2332 MovieClip Frame 3135
play();
Symbol 2332 MovieClip Frame 3136
play();
Symbol 2332 MovieClip Frame 3137
play();
Symbol 2332 MovieClip Frame 3138
play();
Symbol 2332 MovieClip Frame 3139
play();
Symbol 2332 MovieClip Frame 3140
play();
Symbol 2332 MovieClip Frame 3141
play();
Symbol 2332 MovieClip Frame 3142
play();
Symbol 2332 MovieClip Frame 3143
play();
Symbol 2332 MovieClip Frame 3144
play();
Symbol 2332 MovieClip Frame 3145
play();
Symbol 2332 MovieClip Frame 3146
play();
Symbol 2332 MovieClip Frame 3147
play();
Symbol 2332 MovieClip Frame 3148
play();
Symbol 2332 MovieClip Frame 3149
play();
Symbol 2332 MovieClip Frame 3150
play();
Symbol 2332 MovieClip Frame 3151
play();
Symbol 2332 MovieClip Frame 3152
play();
Symbol 2332 MovieClip Frame 3153
play();
Symbol 2332 MovieClip Frame 3154
play();
Symbol 2332 MovieClip Frame 3155
play();
Symbol 2332 MovieClip Frame 3156
play();
Symbol 2332 MovieClip Frame 3157
play();
Symbol 2332 MovieClip Frame 3158
play();
Symbol 2332 MovieClip Frame 3159
play();
Symbol 2332 MovieClip Frame 3160
play();
Symbol 2332 MovieClip Frame 3161
play();
Symbol 2332 MovieClip Frame 3162
play();
Symbol 2332 MovieClip Frame 3163
play();
Symbol 2332 MovieClip Frame 3164
play();
Symbol 2332 MovieClip Frame 3165
play();
Symbol 2332 MovieClip Frame 3166
play();
Symbol 2332 MovieClip Frame 3167
play();
Symbol 2332 MovieClip Frame 3168
play();
Symbol 2332 MovieClip Frame 3169
play();
Symbol 2332 MovieClip Frame 3170
play();
Symbol 2332 MovieClip Frame 3171
play();
Symbol 2332 MovieClip Frame 3172
play();
Symbol 2332 MovieClip Frame 3173
play();
Symbol 2332 MovieClip Frame 3174
play();
Symbol 2332 MovieClip Frame 3175
play();
Symbol 2332 MovieClip Frame 3176
play();
Symbol 2332 MovieClip Frame 3177
play();
Symbol 2332 MovieClip Frame 3178
play();
Symbol 2332 MovieClip Frame 3179
play();
Symbol 2332 MovieClip Frame 3180
play();
Symbol 2332 MovieClip Frame 3181
play();
Symbol 2332 MovieClip Frame 3182
play();
Symbol 2332 MovieClip Frame 3183
play();
Symbol 2332 MovieClip Frame 3184
play();
Symbol 2332 MovieClip Frame 3185
play();
Symbol 2332 MovieClip Frame 3186
play();
Symbol 2332 MovieClip Frame 3187
play();
Symbol 2332 MovieClip Frame 3188
play();
Symbol 2332 MovieClip Frame 3189
play();
Symbol 2332 MovieClip Frame 3190
play();
Symbol 2332 MovieClip Frame 3191
play();
Symbol 2332 MovieClip Frame 3192
play();
Symbol 2332 MovieClip Frame 3193
play();
Symbol 2332 MovieClip Frame 3194
play();
Symbol 2332 MovieClip Frame 3195
play();
Symbol 2332 MovieClip Frame 3196
play();
Symbol 2332 MovieClip Frame 3197
play();
Symbol 2332 MovieClip Frame 3198
play();
Symbol 2332 MovieClip Frame 3199
play();
Symbol 2332 MovieClip Frame 3200
play();
Symbol 2334 MovieClip [star] Frame 1
stop();
Symbol 2338 MovieClip [starB] Frame 1
stop();
Symbol 2349 MovieClip [creationFX1A] Frame 25
create = true;
Symbol 2349 MovieClip [creationFX1A] Frame 35
stop();
Symbol 2350 MovieClip [creationFX1B] Frame 25
create = true;
Symbol 2350 MovieClip [creationFX1B] Frame 35
stop();
Symbol 2351 MovieClip [creationFX1C] Frame 25
create = true;
Symbol 2351 MovieClip [creationFX1C] Frame 35
stop();
Symbol 2352 MovieClip [creationFX1D] Frame 33
create = true;
Symbol 2352 MovieClip [creationFX1D] Frame 43
stop();
Symbol 2356 MovieClip Frame 45
stop();
Symbol 2357 MovieClip [creationFX2A] Frame 25
create = true;
Symbol 2357 MovieClip [creationFX2A] Frame 35
stop();
Symbol 2362 MovieClip Frame 45
stop();
Symbol 2363 MovieClip [creationFX2B] Frame 25
create = true;
Symbol 2363 MovieClip [creationFX2B] Frame 35
stop();
Symbol 2368 MovieClip Frame 45
stop();
Symbol 2369 MovieClip [creationFX2C] Frame 25
create = true;
Symbol 2369 MovieClip [creationFX2C] Frame 35
stop();
Symbol 2386 MovieClip [enemySoul] Frame 1
play();
Symbol 2386 MovieClip [enemySoul] Frame 32
stop();
end = true;
Symbol 2386 MovieClip [enemySoul] Frame 39
play();
Symbol 2386 MovieClip [enemySoul] Frame 198
stop();
end = true;
Symbol 2386 MovieClip [enemySoul] Frame 205
play();
Symbol 2386 MovieClip [enemySoul] Frame 236
stop();
end = true;
Symbol 2386 MovieClip [enemySoul] Frame 240
play();
Symbol 2386 MovieClip [enemySoul] Frame 420
stop();
end = true;
Symbol 2386 MovieClip [enemySoul] Frame 424
play();
Symbol 2386 MovieClip [enemySoul] Frame 450
stop();
end = true;
Symbol 2386 MovieClip [enemySoul] Frame 454
play();
Symbol 2386 MovieClip [enemySoul] Frame 641
stop();
end = true;
Symbol 2386 MovieClip [enemySoul] Frame 648
play();
Symbol 2386 MovieClip [enemySoul] Frame 676
stop();
end = true;
Symbol 2386 MovieClip [enemySoul] Frame 682
play();
Symbol 2386 MovieClip [enemySoul] Frame 860
stop();
end = true;
Symbol 2387 MovieClip [exploA] Frame 1
gotoAndPlay("explo" + color);
Symbol 2387 MovieClip [exploA] Frame 2
play();
Symbol 2387 MovieClip [exploA] Frame 52
stop();
end = true;
Symbol 2387 MovieClip [exploA] Frame 57
play();
Symbol 2387 MovieClip [exploA] Frame 107
stop();
end = true;
Symbol 2387 MovieClip [exploA] Frame 111
play();
Symbol 2387 MovieClip [exploA] Frame 161
stop();
end = true;
Symbol 2387 MovieClip [exploA] Frame 166
play();
Symbol 2387 MovieClip [exploA] Frame 216
stop();
end = true;
Symbol 2387 MovieClip [exploA] Frame 220
play();
Symbol 2387 MovieClip [exploA] Frame 270
stop();
end = true;
Symbol 2388 MovieClip [exploB] Frame 1
play();
Symbol 2388 MovieClip [exploB] Frame 51
stop();
end = true;
Symbol 2389 MovieClip [exploC] Frame 1
play();
Symbol 2389 MovieClip [exploC] Frame 51
stop();
end = true;
Symbol 2395 MovieClip [exploD] Frame 1
play();
Symbol 2395 MovieClip [exploD] Frame 52
end = true;
stop();
Symbol 2398 MovieClip [gunExplo] Frame 1
gotoAndPlay("f" + _root.randRange(1, 3));
Symbol 2398 MovieClip [gunExplo] Frame 9
stop();
end = true;
Symbol 2398 MovieClip [gunExplo] Frame 20
stop();
end = true;
Symbol 2398 MovieClip [gunExplo] Frame 32
stop();
end = true;
Symbol 2410 MovieClip [headSummon] Frame 1
play();
Symbol 2410 MovieClip [headSummon] Frame 12
end = true;
stop();
Symbol 2430 MovieClip [rampageTrail] Frame 1
stop();
Symbol 2430 MovieClip [rampageTrail] Frame 10
stop();
Symbol 2430 MovieClip [rampageTrail] Frame 20
stop();
Symbol 2430 MovieClip [rampageTrail] Frame 30
stop();
Symbol 2430 MovieClip [rampageTrail] Frame 39
stop();
Symbol 2430 MovieClip [rampageTrail] Frame 50
stop();
Symbol 2462 MovieClip Frame 1
stop();
Symbol 2462 MovieClip Frame 10
play();
_root.intro.wheelDoorOpen = true;
_root.audio.playLevel3("smallDoorOpen", _root.randRange(9, 14));
Symbol 2462 MovieClip Frame 24
stop();
Symbol 2462 MovieClip Frame 34
play();
_root.audio.playLevel3("smallDoorOpen", _root.randRange(9, 14));
Symbol 2462 MovieClip Frame 43
_root.intro.wheelDoorOpen = false;
Symbol 2469 MovieClip Frame 1
stop();
Symbol 2469 MovieClip Frame 10
play();
_root.audio.playLevel3("smallDoorOpen", _root.randRange(8, 14));
Symbol 2469 MovieClip Frame 20
stop();
Symbol 2469 MovieClip Frame 30
play();
_root.audio.playLevel3("smallDoorOpen", _root.randRange(8, 14));
Symbol 2472 MovieClip Frame 1
stop();
Symbol 2472 MovieClip Frame 2
stop();
Symbol 2478 Button
on (release) {
getURL ("http://games.pixeljam.com", "_blank");
}
Symbol 2540 MovieClip Frame 1
stop();
Symbol 2540 MovieClip Frame 10
play();
Symbol 2540 MovieClip Frame 29
stop();
Symbol 2540 MovieClip Frame 35
play();
Symbol 2694 MovieClip Frame 1368
gotoAndPlay (1);
Symbol 2694 MovieClip Frame 1375
play();
Symbol 2711 MovieClip Frame 1
stop();
Symbol 2711 MovieClip Frame 10
play();
Symbol 2711 MovieClip Frame 26
gotoAndPlay ("go");
Symbol 2716 MovieClip Frame 1
stop();
Symbol 2716 MovieClip Frame 7
stop();
Symbol 2716 MovieClip Frame 17
stop();
Symbol 2722 MovieClip Frame 10
if (Math.random() > 0.3) {
gotoAndPlay (1);
}
Symbol 2722 MovieClip Frame 23
if (Math.random() > 0.5) {
gotoAndPlay ("loop");
}
Symbol 2726 MovieClip Frame 10
if (Math.random() > 0.3) {
gotoAndPlay (1);
}
Symbol 2726 MovieClip Frame 21
if (Math.random() > 0.5) {
gotoAndPlay ("loop");
}
Symbol 3046 MovieClip Frame 9
if (Math.random() > 0.5) {
gotoAndPlay (1);
}
Symbol 3046 MovieClip Frame 21
if (Math.random() > 0.5) {
gotoAndPlay ("loop");
}
Symbol 3114 MovieClip Frame 1
play();
Symbol 3114 MovieClip Frame 5
play();
Symbol 3114 MovieClip Frame 7
_root.audio.playLevel5("computer" + (random(7) + 2), _root.randRange(10, 20));
Symbol 3114 MovieClip Frame 24
if (Math.random() > 0.6) {
gotoAndPlay ("break");
} else if (Math.random() > 0.5) {
gotoAndPlay ("c1_1");
}
Symbol 3114 MovieClip Frame 40
play();
_root.audio.playLevel5("computer" + (random(7) + 2), _root.randRange(2, 10));
Symbol 3114 MovieClip Frame 57
if (Math.random() > 0.6) {
gotoAndPlay ("c1_2");
}
Symbol 3114 MovieClip Frame 71
_root.audio.playLevel5("computer" + (random(7) + 2), _root.randRange(10, 20));
Symbol 3114 MovieClip Frame 116
_root.audio.playLevel5("computerBlip" + (random(16) + 1), _root.randRange(10, 20));
Symbol 3114 MovieClip Frame 122
play();
Symbol 3114 MovieClip Frame 128
_root.audio.playLevel5("computerBlip" + (random(16) + 1), _root.randRange(10, 20));
Symbol 3114 MovieClip Frame 135
if (Math.random() > 0.5) {
gotoAndPlay ("c1_3");
}
Symbol 3114 MovieClip Frame 143
if (Math.random() > 0.4) {
gotoAndPlay ("moreComps");
}
Symbol 3114 MovieClip Frame 160
play();
Symbol 3114 MovieClip Frame 173
if (Math.random() > 0.6) {
gotoAndPlay ("c1_4");
}
Symbol 3114 MovieClip Frame 181
if (Math.random() > 0.5) {
gotoAndPlay ("c1_4");
}
Symbol 3114 MovieClip Frame 217
gotoAndPlay ("computing1");
Symbol 3114 MovieClip Frame 224
if (Math.random() > 0.3) {
gotoAndPlay ("loop2");
}
Symbol 3114 MovieClip Frame 230
play();
Symbol 3114 MovieClip Frame 239
play();
Symbol 3114 MovieClip Frame 246
if (Math.random() > 0.3) {
gotoAndPlay ("break2");
} else if (Math.random() > 0.3) {
gotoAndPlay ("break4");
}
Symbol 3114 MovieClip Frame 252
play();
Symbol 3114 MovieClip Frame 263
if (Math.random() > 0.3) {
gotoAndPlay ("break3");
}
Symbol 3114 MovieClip Frame 279
gotoAndPlay ("c1_1");
Symbol 3114 MovieClip Frame 321
_root.audio.playLevel5("computerBlip" + (random(16) + 1), _root.randRange(10, 20));
Symbol 3114 MovieClip Frame 356
_root.audio.playLevel5("computerBlip" + (random(16) + 1), _root.randRange(10, 20));
Symbol 3114 MovieClip Frame 363
if (Math.random() > 0.5) {
gotoAndPlay ("compLoop1");
}
Symbol 3114 MovieClip Frame 375
if (Math.random() > 0.5) {
gotoAndPlay ("nextComp");
}
Symbol 3114 MovieClip Frame 384
_root.audio.playLevel4("bugHit" + (random(4) + 1), _root.randRange(2, 7));
Symbol 3114 MovieClip Frame 390
_root.audio.playLevel4("bugHit" + (random(4) + 1), _root.randRange(2, 7));
Symbol 3114 MovieClip Frame 395
if (Math.random() > 0.5) {
gotoAndPlay ("compLoop2");
}
Symbol 3114 MovieClip Frame 400
_root.audio.playLevel4("bugHit" + (random(4) + 1), _root.randRange(2, 7));
Symbol 3114 MovieClip Frame 404
_root.audio.playLevel5("computer" + (random(8) + 1), _root.randRange(10, 20));
Symbol 3114 MovieClip Frame 410
if (Math.random() > 0.5) {
gotoAndPlay ("noComp2");
}
Symbol 3114 MovieClip Frame 427
_root.audio.playLevel5("computer" + (random(8) + 1), _root.randRange(7, 15));
Symbol 3114 MovieClip Frame 450
if (Math.random() > 0.5) {
gotoAndPlay ("loop8");
}
Symbol 3114 MovieClip Frame 490
gotoAndPlay ("loop1");
Symbol 3114 MovieClip Frame 501
_root.audio.playLevel3("computerShutDown", 10);
Symbol 3114 MovieClip Frame 543
stop();
Symbol 3212 MovieClip Frame 1
play();
Symbol 3212 MovieClip Frame 2
_root.audio.playLevel1("introDrone", 100, 0.05, 5);
Symbol 3212 MovieClip Frame 3
play();
Symbol 3212 MovieClip Frame 24
if (Math.random() > 0.5) {
gotoAndPlay ("lookRight");
} else if (Math.random() > 0.5) {
gotoAndPlay ("back");
}
Symbol 3212 MovieClip Frame 44
if (Math.random() > 0.5) {
gotoAndPlay ("lookRight");
} else if (Math.random() > 0.5) {
gotoAndPlay ("back");
}
Symbol 3212 MovieClip Frame 68
play();
Symbol 3212 MovieClip Frame 78
if (Math.random() > 0.6) {
gotoAndPlay ("computing");
} else if (Math.random() > 0.5) {
gotoAndPlay ("back2");
}
Symbol 3212 MovieClip Frame 99
play();
Symbol 3212 MovieClip Frame 127
if (Math.random() > 0.5) {
gotoAndPlay ("c1");
} else if (Math.random() > 0.6) {
gotoAndPlay ("back");
}
Symbol 3212 MovieClip Frame 150
play();
_root.audio.playLevel5("computerBlip" + (random(16) + 1), _root.randRange(10, 20));
Symbol 3212 MovieClip Frame 163
if (Math.random() > 0.4) {
gotoAndPlay ("loop");
}
Symbol 3212 MovieClip Frame 169
if (Math.random() > 0.4) {
gotoAndPlay ("screen");
}
Symbol 3212 MovieClip Frame 170
_root.audio.playLevel5("computerBlip" + (random(16) + 1), _root.randRange(10, 20));
Symbol 3212 MovieClip Frame 177
if (Math.random() > 0.5) {
gotoAndPlay ("press");
}
Symbol 3212 MovieClip Frame 182
if (Math.random() > 0.6) {
gotoAndPlay ("c2");
}
Symbol 3212 MovieClip Frame 205
_root.audio.playLevel5("computer" + (random(7) + 2), _root.randRange(6, 15));
Symbol 3212 MovieClip Frame 262
if (Math.random() > 0.5) {
gotoAndPlay ("loop4");
}
Symbol 3212 MovieClip Frame 265
if (Math.random() > 0.5) {
gotoAndPlay ("loop5");
}
Symbol 3212 MovieClip Frame 319
_root.audio.playLevel5("computerBlip" + (random(16) + 1), _root.randRange(10, 20));
Symbol 3212 MovieClip Frame 337
_root.audio.playLevel5("computerBlip" + (random(16) + 1), _root.randRange(10, 20));
Symbol 3212 MovieClip Frame 347
_root.audio.playLevel5("computerBlip" + (random(16) + 1), _root.randRange(10, 20));
Symbol 3212 MovieClip Frame 399
gotoAndPlay ("computing");
Symbol 3212 MovieClip Frame 407
stop();
Symbol 3227 MovieClip Frame 1
stop();
Symbol 3227 MovieClip Frame 2
stop();
Symbol 3227 MovieClip Frame 3
stop();
Symbol 3243 Button
on (release) {
getURL ("http://www.rg.org", "_blank");
}
Symbol 3244 Button
on (release) {
getURL ("http://www.markdenardo.com", "_blank");
}
Symbol 3245 Button
on (release) {
getURL ("http://www.webhole.com", "_blank");
}
Symbol 3246 Button
on (release) {
getURL ("http://games.pixeljam.com", "_blank");
}
Symbol 3247 Button
on (release) {
getURL ("http://www.pixeljam.com/donations", "_blank");
}
Symbol 3248 Button
on (release) {
gotoAndStop (2);
}
Symbol 3249 Button
on (release) {
_root.intro.infoExitX();
}
Symbol 3262 MovieClip Frame 1
stop();
Symbol 3262 MovieClip Frame 10
stop();
Symbol 3262 MovieClip Frame 19
stop();
Symbol 3262 MovieClip Frame 29
stop();
Symbol 3262 MovieClip Frame 39
stop();
Symbol 3275 Button
on (release) {
_root.intro.recon("fireU");
}
Symbol 3276 Button
on (release) {
_root.intro.recon("fireL");
}
Symbol 3277 Button
on (release) {
_root.intro.recon("fireD");
}
Symbol 3278 Button
on (release) {
_root.intro.recon("fireR");
}
Symbol 3279 Button
on (release) {
_root.intro.recon("moveU");
}
Symbol 3280 Button
on (release) {
_root.intro.recon("moveL");
}
Symbol 3281 Button
on (release) {
_root.intro.recon("moveD");
}
Symbol 3282 Button
on (release) {
_root.intro.recon("moveR");
}
Symbol 3283 Button
on (release) {
_root.intro.switchRecon();
}
Symbol 3284 Button
on (release) {
if (!_root.intro.reconfig) {
gotoAndStop (1);
}
}
Symbol 3285 Button
on (release) {
gotoAndStop (3);
}
Symbol 3298 MovieClip Frame 1
stop();
Symbol 3298 MovieClip Frame 2
stop();
Symbol 3298 MovieClip Frame 3
stop();
Instance of Symbol 3298 MovieClip "bg" in Symbol 3325 MovieClip Frame 11
onClipEvent (load) {
this.gotoAndStop(_parent.num);
}
Symbol 3325 MovieClip Frame 16
stop();
Instance of Symbol 3298 MovieClip in Symbol 3325 MovieClip Frame 26
onClipEvent (load) {
this.gotoAndStop(_parent.num);
}
Instance of Symbol 3298 MovieClip in Symbol 3325 MovieClip Frame 28
onClipEvent (load) {
this.gotoAndStop(_parent.num);
}
Symbol 3325 MovieClip Frame 58
_parent.end = true;
stop();
Symbol 3333 MovieClip Frame 1
stop();
Symbol 3333 MovieClip Frame 2
stop();
Symbol 3333 MovieClip Frame 3
stop();
Instance of Symbol 3333 MovieClip "bg" in Symbol 3344 MovieClip Frame 11
onClipEvent (load) {
this.gotoAndStop(_parent.num);
}
Symbol 3344 MovieClip Frame 37
gotoAndPlay ("loop");
Instance of Symbol 3333 MovieClip in Symbol 3344 MovieClip Frame 42
onClipEvent (load) {
this.gotoAndStop(_parent.num);
}
Instance of Symbol 3333 MovieClip in Symbol 3344 MovieClip Frame 44
onClipEvent (load) {
this.gotoAndStop(_parent.num);
}
Symbol 3344 MovieClip Frame 74
_parent.end = true;
stop();
Symbol 3366 MovieClip Frame 37
gotoAndPlay ("loop");
Symbol 3366 MovieClip Frame 74
_parent.end = true;
stop();
Symbol 3379 MovieClip Frame 33
gotoAndPlay (3);
Symbol 3386 MovieClip Frame 10
play();
Symbol 3386 MovieClip Frame 31
gotoAndPlay ("loop");
Symbol 3386 MovieClip Frame 68
_parent.end = true;
stop();
Symbol 3402 MovieClip Frame 10
play();
Symbol 3402 MovieClip Frame 29
gotoAndPlay ("loop");
Symbol 3402 MovieClip Frame 65
_parent.end = true;
stop();
Symbol 3422 MovieClip Frame 10
play();
Symbol 3422 MovieClip Frame 31
gotoAndPlay ("loop");
Symbol 3422 MovieClip Frame 68
_parent.end = true;
stop();
Symbol 3441 MovieClip Frame 37
gotoAndPlay ("loop");
Symbol 3441 MovieClip Frame 74
_parent.end = true;
stop();
Symbol 3469 MovieClip Frame 10
play();
Symbol 3469 MovieClip Frame 31
gotoAndPlay ("loop");
Symbol 3469 MovieClip Frame 68
_parent.end = true;
stop();
Symbol 3490 MovieClip Frame 19
gotoAndPlay ("loop");
Symbol 3490 MovieClip Frame 46
_parent.end = true;
Symbol 3500 MovieClip Frame 2
play();
Symbol 3500 MovieClip Frame 6
gotoAndPlay("f" + random(5));
Symbol 3500 MovieClip Frame 10
gotoAndPlay (2);
Symbol 3500 MovieClip Frame 15
play();
Symbol 3500 MovieClip Frame 33
gotoAndPlay (2);
Symbol 3500 MovieClip Frame 40
play();
Symbol 3500 MovieClip Frame 71
gotoAndPlay (2);
Symbol 3500 MovieClip Frame 78
play();
Symbol 3500 MovieClip Frame 120
gotoAndPlay (2);
Symbol 3500 MovieClip Frame 126
play();
Symbol 3500 MovieClip Frame 173
gotoAndPlay (2);
Symbol 3506 MovieClip Frame 24
if (random(2) > 0) {
gotoAndPlay ("loop");
}
Symbol 3512 MovieClip Frame 1
stop();
Symbol 3512 MovieClip Frame 9
play();
Symbol 3512 MovieClip Frame 19
_parent.end = true;
stop();
Symbol 3516 Button
on (release) {
gotoAndStop (4);
}
Symbol 3526 MovieClip Frame 1
play();
Symbol 3526 MovieClip Frame 6
stop();
Symbol 3526 MovieClip Frame 32
play();
Symbol 3526 MovieClip Frame 36
stop();
Symbol 3532 MovieClip Frame 1
play();
Symbol 3532 MovieClip Frame 6
stop();
Symbol 3532 MovieClip Frame 32
play();
Symbol 3532 MovieClip Frame 36
stop();
Symbol 3539 MovieClip Frame 31
gotoAndPlay ("loop");
Symbol 3539 MovieClip Frame 36
mask1.gotoAndPlay("end");
mask2.gotoAndPlay("end");
Symbol 3539 MovieClip Frame 68
_parent.end = true;
stop();
Symbol 3546 MovieClip Frame 31
gotoAndPlay ("loop");
Symbol 3546 MovieClip Frame 36
mask1.gotoAndPlay("end");
mask2.gotoAndPlay("end");
Symbol 3546 MovieClip Frame 68
_parent.end = true;
stop();
Symbol 3549 MovieClip Frame 31
gotoAndPlay ("loop");
Symbol 3549 MovieClip Frame 36
mask1.gotoAndPlay("end");
mask2.gotoAndPlay("end");
Symbol 3549 MovieClip Frame 68
_parent.end = true;
stop();
Symbol 3551 MovieClip Frame 31
gotoAndPlay ("loop");
Symbol 3551 MovieClip Frame 36
mask1.gotoAndPlay("end");
mask2.gotoAndPlay("end");
Symbol 3551 MovieClip Frame 68
_parent.end = true;
stop();
Symbol 3554 MovieClip Frame 31
gotoAndPlay ("loop");
Symbol 3554 MovieClip Frame 36
mask1.gotoAndPlay("end");
mask2.gotoAndPlay("end");
Symbol 3554 MovieClip Frame 68
_parent.end = true;
stop();
Symbol 3556 MovieClip Frame 31
gotoAndPlay ("loop");
Symbol 3556 MovieClip Frame 36
mask1.gotoAndPlay("end");
mask2.gotoAndPlay("end");
Symbol 3556 MovieClip Frame 68
_parent.end = true;
stop();
Symbol 3561 Button
on (release) {
gotoAndStop (5);
}
Instance of Symbol 1941 MovieClip [headA] in Symbol 3578 MovieClip Frame 1
onClipEvent (enterFrame) {
if (random(50) == 0) {
var tmpVar = ((random(2) == 0) ? "L" : "R");
this.body.eyes.gotoAndPlay("spin" + tmpVar);
}
}
Symbol 3580 MovieClip Frame 1
stop();
_root.intro.mainMenu.info.currentFrame = 1;
Symbol 3580 MovieClip Frame 2
stop();
_root.intro.showConfig();
_root.intro.mainMenu.info.currentFrame = 2;
Symbol 3580 MovieClip Frame 3
stop();
_root.intro.mainMenu.info.currentFrame = 3;
Symbol 3580 MovieClip Frame 4
stop();
_root.intro.mainMenu.info.currentFrame = 4;
Symbol 3580 MovieClip Frame 5
stop();
_root.intro.mainMenu.info.currentFrame = 5;
Instance of Symbol 1145 MovieClip [batA] in Symbol 3580 MovieClip Frame 5
onClipEvent (enterFrame) {
if (random(100) == 0) {
this.body.gotoAndPlay("twist");
}
}
Symbol 3582 MovieClip Frame 1
stop();
Symbol 3582 MovieClip Frame 10
stop();
Symbol 3582 MovieClip Frame 18
stop();
Symbol 3590 MovieClip Frame 1
stop();
Symbol 3590 MovieClip Frame 8
stop();
clip.play();
Symbol 3590 MovieClip Frame 15
stop();
clip.gotoAndStop("on");
Symbol 3597 MovieClip Frame 1
stop();
Symbol 3597 MovieClip Frame 8
stop();
clip.play();
Symbol 3597 MovieClip Frame 15
stop();
clip.gotoAndStop("on");
Symbol 3603 MovieClip Frame 1
stop();
Symbol 3603 MovieClip Frame 8
stop();
clip.play();
Symbol 3603 MovieClip Frame 15
stop();
clip.gotoAndStop("on");
Symbol 3607 Button
on (release) {
getURL ("http://www.pixeljam.com/gammabros", "_blank");
}
Symbol 3609 MovieClip [introScreen] Frame 1
stop();
Symbol 3613 MovieClip Frame 1
play();
Symbol 3613 MovieClip Frame 9
gotoAndPlay (1);
Symbol 3613 MovieClip Frame 14
stop();
Symbol 3617 MovieClip Frame 1
stop();
Symbol 3617 MovieClip Frame 6
play();
Symbol 3625 MovieClip Frame 1
stop();
Symbol 3625 MovieClip Frame 8
play();
Symbol 3625 MovieClip Frame 10
stop();
Symbol 3625 MovieClip Frame 18
play();
Symbol 3625 MovieClip Frame 20
stop();
Symbol 3625 MovieClip Frame 25
play();
Symbol 3625 MovieClip Frame 29
stop();
Symbol 3625 MovieClip Frame 35
play();
Symbol 3625 MovieClip Frame 39
gotoAndStop ("R");
Symbol 3625 MovieClip Frame 44
play();
Symbol 3625 MovieClip Frame 48
gotoAndStop ("B");
Symbol 3625 MovieClip Frame 54
play();
Symbol 3625 MovieClip Frame 58
gotoAndStop ("L");
Symbol 3625 MovieClip Frame 64
play();
Symbol 3625 MovieClip Frame 74
gotoAndStop ("R");
Symbol 3625 MovieClip Frame 78
play();
Symbol 3625 MovieClip Frame 88
gotoAndStop ("L");
Symbol 3626 MovieClip Frame 1
stop();
Symbol 3627 MovieClip [wheelBot] Frame 1
stop();
Symbol 3627 MovieClip [wheelBot] Frame 10
stop();
Symbol 3629 MovieClip Frame 1
stop();
Symbol 3629 MovieClip Frame 2
stop();
Symbol 3679 MovieClip Frame 56
gotoAndPlay (1);
Symbol 3679 MovieClip Frame 61
play();
Symbol 3679 MovieClip Frame 79
_root.audio.playLevel5("computerBlip14", 10);
Symbol 3679 MovieClip Frame 87
_root.audio.playLevel3("smallDoorOpen", 10);
Symbol 3679 MovieClip Frame 133
_root.audio.playLevel4("droidHit1", 2);
Symbol 3679 MovieClip Frame 147
_root.audio.playLevel4("droidHit2", 2);
Symbol 3679 MovieClip Frame 149
_parent.mainClip.switch1.play();
Symbol 3679 MovieClip Frame 186
_root.audio.playLevel3("smallDoorOpen", 10);
Symbol 3679 MovieClip Frame 195
_root.intro.bro1EnteredShip();
_root.audio.playLevel4("droidHit2", 2);
Symbol 3681 MovieClip Frame 1
stop();
Symbol 3681 MovieClip Frame 2
stop();
Symbol 3720 MovieClip Frame 52
gotoAndPlay (1);
Symbol 3720 MovieClip Frame 57
play();
Symbol 3720 MovieClip Frame 78
_root.audio.playLevel5("computerBlip14", 10);
Symbol 3720 MovieClip Frame 85
_root.audio.playLevel3("smallDoorOpen", 10);
Symbol 3720 MovieClip Frame 139
_root.audio.playLevel4("droidHit2", 2);
Symbol 3720 MovieClip Frame 142
_root.audio.playLevel4("droidHit3", 2);
Symbol 3720 MovieClip Frame 145
_parent.mainClip.switch2.play();
Symbol 3720 MovieClip Frame 164
_root.audio.playLevel3("smallDoorOpen", 10);
Symbol 3720 MovieClip Frame 173
_root.audio.playLevel4("droidHit1", 2);
Symbol 3720 MovieClip Frame 195
_root.intro.bro2EnteredShip();
Symbol 3730 MovieClip Frame 1
stop();
Symbol 3730 MovieClip Frame 2
stop();
Symbol 3751 MovieClip Frame 1
stop();
Symbol 3751 MovieClip Frame 10
play();
bot.gotoAndStop("R");
bot.eyes.gotoAndStop("R");
Symbol 3751 MovieClip Frame 44
bot.wheel.gotoAndStop("stop");
bot.eyes.gotoAndPlay("RtoB");
Symbol 3751 MovieClip Frame 50
_root.audio.playLevel5("computer6", 23);
Symbol 3785 MovieClip Frame 16
if (random(10) > 8) {
gotoAndPlay ("go");
} else {
gotoAndPlay (1);
}
Symbol 3785 MovieClip Frame 19
play();
Symbol 3785 MovieClip Frame 125
if (random(2) > 0) {
gotoAndPlay ("loop1");
}
Symbol 3785 MovieClip Frame 149
if (random(2) > 0) {
gotoAndPlay ("leave");
}
Symbol 3785 MovieClip Frame 179
if (random(2) > 0) {
gotoAndPlay ("jump");
}
Symbol 3794 MovieClip Frame 1
play();
Symbol 3794 MovieClip Frame 2
if (random(5) == 0) {
play();
} else {
prevFrame();
}
Symbol 3808 MovieClip Frame 1
play();
Symbol 3808 MovieClip Frame 13
gotoAndPlay ("f_easy");
Symbol 3808 MovieClip Frame 19
play();
Symbol 3808 MovieClip Frame 31
gotoAndPlay ("f_med");
Symbol 3808 MovieClip Frame 37
play();
Symbol 3808 MovieClip Frame 49
gotoAndPlay ("f_hard");
Instance of Symbol 3808 MovieClip in Symbol 3809 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay("f_" + _root.dif.setting);
}
Instance of Symbol 3753 MovieClip in Symbol 3810 MovieClip Frame 1
onClipEvent (load) {
flicker = false;
fc = 0;
fcMax = 0;
}
onClipEvent (enterFrame) {
if (random(20) > 18) {
fc = 0;
fcMax = random(10);
flicker = true;
}
if (flicker) {
this._alpha = this._alpha + (random(40) - 20);
fc++;
if (fc >= fcMax) {
this._alpha = 100;
flicker = false;
}
}
if (this._alpha < 50) {
this._alpha = 50;
}
if (this._alpha > 100) {
this._alpha = 100;
}
}
Symbol 3811 MovieClip Frame 1
stop();
Symbol 3811 MovieClip Frame 105
stop();
Symbol 3823 MovieClip Frame 1
stop();
Symbol 3823 MovieClip Frame 10
play();
Symbol 3823 MovieClip Frame 25
stop();
Symbol 3823 MovieClip Frame 34
play();
Symbol 3844 MovieClip Frame 9
gotoAndPlay (1);
Symbol 3844 MovieClip Frame 12
play();
Symbol 3844 MovieClip Frame 29
stop();
Symbol 3844 MovieClip Frame 33
play();
Symbol 3857 MovieClip [hangar] Frame 1
stop();
Symbol 3857 MovieClip [hangar] Frame 10
play();
Symbol 3857 MovieClip [hangar] Frame 70
lights.row1_1.play();
lights.row1_2.play();
Symbol 3857 MovieClip [hangar] Frame 73
lights.row2_1.play();
lights.row2_2.play();
Symbol 3857 MovieClip [hangar] Frame 123
lights.row3_1.play();
lights.row3_2.play();
Symbol 3857 MovieClip [hangar] Frame 126
lights.row4_1.play();
lights.row4_2.play();
Symbol 3857 MovieClip [hangar] Frame 183
lights.row5_1.play();
lights.row5_2.play();
Symbol 3857 MovieClip [hangar] Frame 186
lights.row6_1.play();
lights.row6_2.play();
Symbol 3857 MovieClip [hangar] Frame 248
lights.row7_1.play();
lights.row7_2.play();
Symbol 3857 MovieClip [hangar] Frame 251
lights.row8_1.play();
lights.row8_2.play();
Symbol 3857 MovieClip [hangar] Frame 312
lights.row9_1.play();
lights.row9_2.play();
Symbol 3857 MovieClip [hangar] Frame 315
lights.row10_1.play();
lights.row10_2.play();
Symbol 3857 MovieClip [hangar] Frame 338
mainClip.comp.gotoAndPlay("go");
Symbol 3857 MovieClip [hangar] Frame 362
lights.row11_1.play();
lights.row11_2.play();
lights.row11_3.play();
lights.row11_4.play();
Symbol 3857 MovieClip [hangar] Frame 382
ff1.gotoAndPlay("open");
ff2.gotoAndPlay("open");
Symbol 3857 MovieClip [hangar] Frame 389
lights.row11b_1.play();
lights.row11b_2.play();
lights.row11b_3.play();
lights.row11b_4.play();
Symbol 3857 MovieClip [hangar] Frame 390
lights.row12_1.play();
lights.row12_2.play();
lights.row12_3.play();
lights.row12_4.play();
Symbol 3857 MovieClip [hangar] Frame 395
lights.row13_1.play();
lights.row13_2.play();
lights.row13_3.play();
lights.row13_4.play();
Symbol 3857 MovieClip [hangar] Frame 407
lights.row14_1.play();
lights.row14_2.play();
lights.row14_3.play();
lights.row14_4.play();
Symbol 3857 MovieClip [hangar] Frame 417
ff1.gotoAndPlay("close");
ff2.gotoAndPlay("close");
Symbol 3857 MovieClip [hangar] Frame 418
lights.row15_1.play();
lights.row15_2.play();
lights.row15_3.play();
lights.row15_4.play();
Symbol 3857 MovieClip [hangar] Frame 429
lights.row16_1.play();
lights.row16_2.play();
lights.row16_3.play();
lights.row16_4.play();
Symbol 3857 MovieClip [hangar] Frame 439
lights.row17_1.play();
lights.row17_2.play();
lights.row17_3.play();
lights.row17_4.play();
Symbol 3857 MovieClip [hangar] Frame 443
door1.gotoAndPlay("open");
door2.gotoAndPlay("open");
_root.audio.playLevel2("shipDoorsOpen", 20);
Symbol 3857 MovieClip [hangar] Frame 496
door1.gotoAndPlay("close");
door2.gotoAndPlay("close");
_root.audio.playLevel2("shipDoorsOpen", 10);
Symbol 3857 MovieClip [hangar] Frame 525
_root.intro.controlShip();
Symbol 3857 MovieClip [hangar] Frame 620
_root.intro.startAction();
Symbol 3857 MovieClip [hangar] Frame 664
stop();
Symbol 3881 MovieClip Frame 1
stop();
Symbol 3881 MovieClip Frame 8
play();
Symbol 3881 MovieClip Frame 20
gotoAndPlay ("walk");
Symbol 3881 MovieClip Frame 26
play();
Symbol 3881 MovieClip Frame 32
_root.introScreen.punchBox.gotoAndPlay("bro1");
Symbol 3881 MovieClip Frame 34
_root.audio.playLevel5("computerBlip11", _root.randRange(10, 15));
Symbol 3881 MovieClip Frame 51
_root.introBro1.exit();
stop();
Symbol 3881 MovieClip Frame 63
_root.introScreen.bigDoor.gotoAndPlay("open");
Symbol 3934 MovieClip Frame 252
if (random(2) > 0) {
gotoAndPlay ("dropB");
}
Symbol 3934 MovieClip Frame 301
end = true;
Symbol 3934 MovieClip Frame 330
play();
Symbol 3934 MovieClip Frame 366
gotoAndPlay ("look");
Symbol 3935 MovieClip [introBro1] Frame 1
stop();
Symbol 3935 MovieClip [introBro1] Frame 10
stop();
Symbol 3935 MovieClip [introBro1] Frame 19
stop();
Symbol 3935 MovieClip [introBro1] Frame 29
stop();
Symbol 3939 MovieClip Frame 7
if (Math.random() > 0.3) {
gotoAndPlay (1);
}
Symbol 3939 MovieClip Frame 19
if (Math.random() > 0.3) {
gotoAndPlay ("loop");
}
Symbol 3958 MovieClip Frame 1
stop();
Symbol 3958 MovieClip Frame 10
play();
Symbol 3958 MovieClip Frame 22
gotoAndPlay ("walk");
Symbol 3958 MovieClip Frame 28
play();
Symbol 3958 MovieClip Frame 34
_root.introScreen.punchBox.gotoAndPlay("bro2");
Symbol 3958 MovieClip Frame 36
_root.audio.playLevel5("computerBlip11", _root.randRange(10, 15));
Symbol 3958 MovieClip Frame 69
_root.introScreen.bigDoor.gotoAndPlay("open");
_root.audio.playLevel3("bigDoorOpen", _root.randRange(20, 30));
Symbol 3958 MovieClip Frame 81
_root.introBro2.exit();
stop();
Symbol 4025 MovieClip Frame 1
if (random(2) > 0) {
gotoAndPlay ("B");
}
Symbol 4025 MovieClip Frame 256
if (random(2) > 0) {
gotoAndPlay ("kickB");
}
Symbol 4025 MovieClip Frame 341
end = true;
stop();
Symbol 4025 MovieClip Frame 424
gotoAndPlay ("look");
Symbol 4026 MovieClip [introBro2] Frame 1
stop();
Symbol 4026 MovieClip [introBro2] Frame 10
stop();
Symbol 4026 MovieClip [introBro2] Frame 19
stop();
Symbol 4026 MovieClip [introBro2] Frame 29
stop();
Symbol 4054 MovieClip Frame 1
stop();
Symbol 4054 MovieClip Frame 2
stop();
Symbol 4054 MovieClip Frame 3
stop();
Symbol 4054 MovieClip Frame 4
stop();
Symbol 4054 MovieClip Frame 5
stop();
Symbol 4054 MovieClip Frame 6
stop();
Symbol 4054 MovieClip Frame 7
stop();
Symbol 4054 MovieClip Frame 8
stop();
Symbol 4054 MovieClip Frame 9
stop();
Symbol 4054 MovieClip Frame 10
stop();
Symbol 4054 MovieClip Frame 11
stop();
Symbol 4054 MovieClip Frame 12
stop();
Symbol 4054 MovieClip Frame 13
stop();
Symbol 4054 MovieClip Frame 14
stop();
Symbol 4054 MovieClip Frame 15
stop();
Symbol 4054 MovieClip Frame 16
stop();
Symbol 4054 MovieClip Frame 17
stop();
Symbol 4054 MovieClip Frame 18
stop();
Symbol 4054 MovieClip Frame 19
stop();
Symbol 4054 MovieClip Frame 20
stop();
Symbol 4054 MovieClip Frame 21
stop();
Symbol 4054 MovieClip Frame 22
stop();
Symbol 4054 MovieClip Frame 23
stop();
Symbol 4054 MovieClip Frame 24
stop();
Symbol 4054 MovieClip Frame 25
stop();
Symbol 4054 MovieClip Frame 26
stop();
Symbol 4054 MovieClip Frame 27
stop();
Symbol 4055 MovieClip [asteroid] Frame 1
stop();
Symbol 4055 MovieClip [asteroid] Frame 2
stop();
Symbol 4055 MovieClip [asteroid] Frame 3
stop();
Symbol 4055 MovieClip [asteroid] Frame 4
stop();
Symbol 4055 MovieClip [asteroid] Frame 5
stop();
Symbol 4055 MovieClip [asteroid] Frame 6
stop();
Symbol 4056 MovieClip [asteroidB] Frame 1
stop();
Symbol 4056 MovieClip [asteroidB] Frame 2
stop();
Symbol 4056 MovieClip [asteroidB] Frame 3
stop();
Symbol 4056 MovieClip [asteroidB] Frame 4
stop();
Symbol 4056 MovieClip [asteroidB] Frame 5
stop();
Symbol 4056 MovieClip [asteroidB] Frame 6
stop();
Symbol 4057 MovieClip [asteroidC] Frame 1
stop();
Symbol 4057 MovieClip [asteroidC] Frame 2
stop();
Symbol 4057 MovieClip [asteroidC] Frame 3
stop();
Symbol 4057 MovieClip [asteroidC] Frame 4
stop();
Symbol 4057 MovieClip [asteroidC] Frame 5
stop();
Symbol 4057 MovieClip [asteroidC] Frame 6
stop();
Symbol 4066 MovieClip [coins] Frame 1
stop();
Symbol 4074 MovieClip Frame 24
if (random(2) > 0) {
gotoAndPlay ("loop");
}
Symbol 4077 MovieClip Frame 1
stop();
Symbol 4077 MovieClip Frame 9
play();
Symbol 4077 MovieClip Frame 19
_parent.end = true;
stop();
Symbol 4079 MovieClip [gems] Frame 1
stop();
Symbol 4145 MovieClip Frame 1
stop();
Symbol 4145 MovieClip Frame 7
stop();
Symbol 4145 MovieClip Frame 15
stop();
Symbol 4145 MovieClip Frame 23
stop();
Symbol 4145 MovieClip Frame 31
stop();
Symbol 4145 MovieClip Frame 43
stop();
Symbol 4145 MovieClip Frame 50
stop();
Symbol 4145 MovieClip Frame 57
stop();
Symbol 4145 MovieClip Frame 64
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1
stop();
Symbol 4193 MovieClip [shrapnel] Frame 15
stop();
Symbol 4193 MovieClip [shrapnel] Frame 30
stop();
Symbol 4193 MovieClip [shrapnel] Frame 44
stop();
Symbol 4193 MovieClip [shrapnel] Frame 58
stop();
Symbol 4193 MovieClip [shrapnel] Frame 71
stop();
Symbol 4193 MovieClip [shrapnel] Frame 85
stop();
Symbol 4193 MovieClip [shrapnel] Frame 98
stop();
Symbol 4193 MovieClip [shrapnel] Frame 110
stop();
Symbol 4193 MovieClip [shrapnel] Frame 123
stop();
Symbol 4193 MovieClip [shrapnel] Frame 137
stop();
Symbol 4193 MovieClip [shrapnel] Frame 150
stop();
Symbol 4193 MovieClip [shrapnel] Frame 163
stop();
Symbol 4193 MovieClip [shrapnel] Frame 176
stop();
Symbol 4193 MovieClip [shrapnel] Frame 190
stop();
Symbol 4193 MovieClip [shrapnel] Frame 203
stop();
Symbol 4193 MovieClip [shrapnel] Frame 219
stop();
Symbol 4193 MovieClip [shrapnel] Frame 232
stop();
Symbol 4193 MovieClip [shrapnel] Frame 260
stop();
Symbol 4193 MovieClip [shrapnel] Frame 273
stop();
Symbol 4193 MovieClip [shrapnel] Frame 285
stop();
Symbol 4193 MovieClip [shrapnel] Frame 303
stop();
Symbol 4193 MovieClip [shrapnel] Frame 316
stop();
Symbol 4193 MovieClip [shrapnel] Frame 328
stop();
Symbol 4193 MovieClip [shrapnel] Frame 340
stop();
Symbol 4193 MovieClip [shrapnel] Frame 353
stop();
Symbol 4193 MovieClip [shrapnel] Frame 367
stop();
Symbol 4193 MovieClip [shrapnel] Frame 384
stop();
Symbol 4193 MovieClip [shrapnel] Frame 397
stop();
Symbol 4193 MovieClip [shrapnel] Frame 410
stop();
Symbol 4193 MovieClip [shrapnel] Frame 427
stop();
Symbol 4193 MovieClip [shrapnel] Frame 440
stop();
Symbol 4193 MovieClip [shrapnel] Frame 453
stop();
Symbol 4193 MovieClip [shrapnel] Frame 468
stop();
Symbol 4193 MovieClip [shrapnel] Frame 481
stop();
Symbol 4193 MovieClip [shrapnel] Frame 494
stop();
Symbol 4193 MovieClip [shrapnel] Frame 509
stop();
Symbol 4193 MovieClip [shrapnel] Frame 527
stop();
Symbol 4193 MovieClip [shrapnel] Frame 543
stop();
Symbol 4193 MovieClip [shrapnel] Frame 567
stop();
Symbol 4193 MovieClip [shrapnel] Frame 586
stop();
Symbol 4193 MovieClip [shrapnel] Frame 603
stop();
Symbol 4193 MovieClip [shrapnel] Frame 626
stop();
Symbol 4193 MovieClip [shrapnel] Frame 645
stop();
Symbol 4193 MovieClip [shrapnel] Frame 662
stop();
Symbol 4193 MovieClip [shrapnel] Frame 682
stop();
Symbol 4193 MovieClip [shrapnel] Frame 698
stop();
Symbol 4193 MovieClip [shrapnel] Frame 715
stop();
Symbol 4193 MovieClip [shrapnel] Frame 731
stop();
Symbol 4193 MovieClip [shrapnel] Frame 747
stop();
Symbol 4193 MovieClip [shrapnel] Frame 764
stop();
Symbol 4193 MovieClip [shrapnel] Frame 780
stop();
Symbol 4193 MovieClip [shrapnel] Frame 794
stop();
Symbol 4193 MovieClip [shrapnel] Frame 807
stop();
Symbol 4193 MovieClip [shrapnel] Frame 820
stop();
Symbol 4193 MovieClip [shrapnel] Frame 833
stop();
Symbol 4193 MovieClip [shrapnel] Frame 845
stop();
Symbol 4193 MovieClip [shrapnel] Frame 867
gotoAndStop("f" + _root.randRange(1, 5));
_rotation;
Symbol 4193 MovieClip [shrapnel] Frame 874
colorBit.gotoAndStop(bitColor);
Symbol 4193 MovieClip [shrapnel] Frame 879
colorBit.gotoAndStop(bitColor);
Symbol 4193 MovieClip [shrapnel] Frame 885
colorBit.gotoAndStop(bitColor);
Symbol 4193 MovieClip [shrapnel] Frame 891
colorBit.gotoAndStop(bitColor);
Symbol 4193 MovieClip [shrapnel] Frame 897
colorBit.gotoAndStop(bitColor);
Symbol 4193 MovieClip [shrapnel] Frame 909
gotoAndStop("f" + _root.randRange(6, 10));
Symbol 4193 MovieClip [shrapnel] Frame 916
colorBit.gotoAndStop(bitColor);
Symbol 4193 MovieClip [shrapnel] Frame 921
colorBit.gotoAndStop(bitColor);
Symbol 4193 MovieClip [shrapnel] Frame 927
colorBit.gotoAndStop(bitColor);
Symbol 4193 MovieClip [shrapnel] Frame 933
colorBit.gotoAndStop(bitColor);
Symbol 4193 MovieClip [shrapnel] Frame 939
colorBit.gotoAndStop(bitColor);
Symbol 4193 MovieClip [shrapnel] Frame 954
stop();
Symbol 4193 MovieClip [shrapnel] Frame 970
stop();
Symbol 4193 MovieClip [shrapnel] Frame 983
stop();
Symbol 4193 MovieClip [shrapnel] Frame 997
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1012
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1030
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1046
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1059
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1073
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1088
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1123
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1139
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1152
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1166
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1181
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1199
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1215
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1228
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1242
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1257
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1297
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1313
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1326
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1340
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1355
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1375
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1391
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1404
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1418
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1433
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1480
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1496
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1509
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1523
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1538
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1562
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1578
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1591
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1605
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1620
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1643
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1659
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1672
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1686
stop();
Symbol 4193 MovieClip [shrapnel] Frame 1701
stop();
Symbol 4194 MovieClip [shrapnelB] Frame 1
gotoAndStop(random(50) + 1);
Symbol 4198 MovieClip [sight] Frame 1
stop();
Symbol 4198 MovieClip [sight] Frame 10
stop();
Symbol 4198 MovieClip [sight] Frame 22
stop();
Symbol 4198 MovieClip [sight] Frame 30
stop();
Symbol 4219 MovieClip Frame 1
play();
Symbol 4219 MovieClip Frame 2
if (random(5) > 2) {
prevFrame();
}
Symbol 4220 MovieClip Frame 1
play();
Symbol 4220 MovieClip Frame 2
if (random(5) > 2) {
prevFrame();
}
Instance of Symbol 4222 MovieClip in Symbol 4223 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(4);
}
Instance of Symbol 4222 MovieClip in Symbol 4223 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(1);
}
Instance of Symbol 4222 MovieClip in Symbol 4223 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(7);
}
Instance of Symbol 4222 MovieClip in Symbol 4223 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(10);
}
Instance of Symbol 4222 MovieClip in Symbol 4223 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(13);
}
Instance of Symbol 4222 MovieClip in Symbol 4223 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(16);
}
Instance of Symbol 4222 MovieClip in Symbol 4223 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(19);
}
Instance of Symbol 4222 MovieClip in Symbol 4224 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(22);
}
Instance of Symbol 4222 MovieClip in Symbol 4224 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(25);
}
Instance of Symbol 4222 MovieClip in Symbol 4224 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(28);
}
Instance of Symbol 4222 MovieClip in Symbol 4224 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(31);
}
Instance of Symbol 4222 MovieClip in Symbol 4224 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(34);
}
Instance of Symbol 4222 MovieClip in Symbol 4224 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(37);
}
Instance of Symbol 4222 MovieClip in Symbol 4224 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(4);
}
Instance of Symbol 4222 MovieClip in Symbol 4224 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(1);
}
Instance of Symbol 4222 MovieClip in Symbol 4225 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(7);
}
Instance of Symbol 4222 MovieClip in Symbol 4225 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(10);
}
Instance of Symbol 4222 MovieClip in Symbol 4225 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(13);
}
Instance of Symbol 4222 MovieClip in Symbol 4225 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(16);
}
Instance of Symbol 4222 MovieClip in Symbol 4225 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(22);
}
Instance of Symbol 4222 MovieClip in Symbol 4225 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(19);
}
Instance of Symbol 4222 MovieClip in Symbol 4225 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(25);
}
Instance of Symbol 4222 MovieClip in Symbol 4225 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(28);
}
Symbol 4239 MovieClip Frame 19
gotoAndPlay ("loop");
Symbol 4239 MovieClip Frame 23
play();
Symbol 4239 MovieClip Frame 41
_parent.end = true;
stop();
Symbol 4240 MovieClip [powerUpBuddy] Frame 1
stop();
Symbol 4240 MovieClip [powerUpBuddy] Frame 10
stop();
Symbol 4243 MovieClip Frame 10
play();
Symbol 4243 MovieClip Frame 31
gotoAndPlay ("loop");
Symbol 4243 MovieClip Frame 36
mask1.gotoAndPlay("end");
mask2.gotoAndPlay("end");
Symbol 4243 MovieClip Frame 68
_parent.end = true;
stop();
Symbol 4258 MovieClip Frame 19
gotoAndPlay ("loop");
Symbol 4258 MovieClip Frame 41
_parent.end = true;
Symbol 4270 MovieClip Frame 19
gotoAndPlay ("loop");
Symbol 4270 MovieClip Frame 46
_parent.end = true;
Symbol 4274 MovieClip Frame 24
if (random(2) > 0) {
gotoAndPlay ("loop");
}
Symbol 4277 MovieClip Frame 1
stop();
Symbol 4277 MovieClip Frame 9
play();
Symbol 4277 MovieClip Frame 20
_parent.end = true;
stop();
Symbol 4280 MovieClip Frame 1
stop();
Symbol 4280 MovieClip Frame 9
play();
Symbol 4280 MovieClip Frame 20
_parent.end = true;
stop();
Symbol 4287 MovieClip Frame 25
if (random(2) > 0) {
gotoAndPlay ("loop");
}
Symbol 4290 MovieClip Frame 1
stop();
Symbol 4290 MovieClip Frame 9
play();
Symbol 4290 MovieClip Frame 19
_parent.end = true;
stop();
Symbol 4298 MovieClip Frame 25
if (random(2) > 0) {
gotoAndPlay ("loop");
}
Symbol 4300 MovieClip Frame 1
stop();
Symbol 4300 MovieClip Frame 9
play();
Symbol 4300 MovieClip Frame 19
_parent.end = true;
stop();
Symbol 4301 MovieClip [powerUp] Frame 1
stop();
Symbol 4301 MovieClip [powerUp] Frame 2
stop();
Symbol 4301 MovieClip [powerUp] Frame 13
stop();
Symbol 4301 MovieClip [powerUp] Frame 24
stop();
Symbol 4301 MovieClip [powerUp] Frame 37
stop();
Symbol 4301 MovieClip [powerUp] Frame 55
stop();
Symbol 4301 MovieClip [powerUp] Frame 66
stop();
Symbol 4301 MovieClip [powerUp] Frame 80
stop();
Symbol 4301 MovieClip [powerUp] Frame 97
stop();
Symbol 4301 MovieClip [powerUp] Frame 108
stop();
weaponBoost1.num = 1;
Symbol 4301 MovieClip [powerUp] Frame 120
stop();
weaponBoost2.num = 2;
Symbol 4301 MovieClip [powerUp] Frame 132
stop();
weaponBoost3.num = 3;
Symbol 4301 MovieClip [powerUp] Frame 149
stop();
speeadBoost1.num = 1;
Symbol 4301 MovieClip [powerUp] Frame 159
stop();
speeadBoost2.num = 2;
Symbol 4301 MovieClip [powerUp] Frame 169
stop();
speeadBoost3.num = 3;
Symbol 4301 MovieClip [powerUp] Frame 180
stop();
Symbol 4301 MovieClip [powerUp] Frame 189
stop();
Symbol 4301 MovieClip [powerUp] Frame 202
stop();
Symbol 4301 MovieClip [powerUp] Frame 235
stop();
Symbol 4301 MovieClip [powerUp] Frame 246
stop();
Symbol 4301 MovieClip [powerUp] Frame 257
stop();
Symbol 4301 MovieClip [powerUp] Frame 267
stop();
Symbol 4301 MovieClip [powerUp] Frame 277
stop();
Symbol 4301 MovieClip [powerUp] Frame 287
stop();
Symbol 4301 MovieClip [powerUp] Frame 298
stop();
Symbol 4301 MovieClip [powerUp] Frame 304
stop();
Symbol 4301 MovieClip [powerUp] Frame 310
stop();
Symbol 4301 MovieClip [powerUp] Frame 316
stop();
Symbol 4301 MovieClip [powerUp] Frame 322
stop();
Symbol 4301 MovieClip [powerUp] Frame 328
stop();
Symbol 4301 MovieClip [powerUp] Frame 337
stop();
Symbol 4301 MovieClip [powerUp] Frame 347
stop();
Symbol 4318 MovieClip Frame 1
stop();
Symbol 4318 MovieClip Frame 12
stop();
Symbol 4318 MovieClip Frame 28
stop();
Symbol 4318 MovieClip Frame 39
stop();
Symbol 4318 MovieClip Frame 54
stop();
Symbol 4318 MovieClip Frame 65
stop();
Symbol 4318 MovieClip Frame 82
stop();
Symbol 4318 MovieClip Frame 93
stop();
Symbol 4318 MovieClip Frame 113
stop();
Symbol 4318 MovieClip Frame 124
stop();
Symbol 4318 MovieClip Frame 139
stop();
Symbol 4318 MovieClip Frame 150
stop();
Symbol 4318 MovieClip Frame 166
stop();
Symbol 4318 MovieClip Frame 177
stop();
Symbol 4318 MovieClip Frame 192
stop();
Symbol 4318 MovieClip Frame 203
stop();
Symbol 4318 MovieClip Frame 219
stop();
Symbol 4318 MovieClip Frame 230
stop();
Symbol 4318 MovieClip Frame 252
stop();
Symbol 4318 MovieClip Frame 263
stop();
Symbol 4318 MovieClip Frame 274
stop();
Symbol 4318 MovieClip Frame 285
stop();
Symbol 4327 MovieClip Frame 1
play();
Symbol 4327 MovieClip Frame 13
stop();
Symbol 4327 MovieClip Frame 46
_root.shield.yank();
stop();
Symbol 4328 MovieClip [shield] Frame 1
stop();
Symbol 4375 MovieClip Frame 1
stop();
Symbol 4375 MovieClip Frame 16
play();
Symbol 4379 MovieClip [reanimator] Frame 1
stop();
Symbol 4662 MovieClip [__Packages.classes.fx.Asteroids] Frame 0
class classes.fx.Asteroids
{
var c, c2;
function Asteroids () {
c = 0;
c2 = 10;
}
function switchStage(which) {
c = 0;
c2 = 10;
stage = which;
}
function createTypeA() {
var _local3 = random(4);
_root.fxID++;
if (_root.hyper) {
_root["asteroid" + _root.fxID] = new classes.fx.Asteroid(_root.randRange(50, 950), 620, _root.randRange(1, 2), "U", _root.randRange(1, 6), _root.fxID, true);
c2 = _root.randRange(4, 25);
} else {
_root["asteroid" + _root.fxID] = new classes.fx.Asteroid(_root.randRange(_root.posArray[_local3][0], _root.posArray[_local3][1]), _root.randRange(_root.posArray[_local3][2], _root.posArray[_local3][3]), _root.randRange(1, 2), _root.dirArray[_local3], _root.randRange(1, 6), _root.fxID);
c2 = _root.randRange(10, 300);
}
_root.addFX("asteroid" + _root.fxID);
c = 0;
c2 = c2 * (1 / _root.dif.speed);
}
function createTypeB() {
var _local3 = random(4);
_root.fxID++;
_root["asteroid" + _root.fxID] = new classes.fx.Asteroid(_root.randRange(_root.posArray[_local3][0], _root.posArray[_local3][1]), _root.randRange(_root.posArray[_local3][2], _root.posArray[_local3][3]), _root.randRange(1, 3), _root.dirArray[_local3], _root.randRange(1, 6), _root.fxID);
_root.addFX("asteroid" + _root.fxID);
c = 0;
c2 = _root.randRange(2, 30);
c2 = c2 * (1 / _root.dif.speed);
}
function createTypeC() {
var _local3 = random(4);
_root.fxID++;
if (_root.hyper) {
_root["asteroid" + _root.fxID] = new classes.fx.Asteroid(_root.randRange(50, 950), 620, _root.randRange(2, 4), "U", _root.randRange(1, 6), _root.fxID, true);
c2 = _root.randRange(3, 10);
} else {
_root["asteroid" + _root.fxID] = new classes.fx.Asteroid(_root.randRange(_root.posArray[_local3][0], _root.posArray[_local3][1]), _root.randRange(_root.posArray[_local3][2], _root.posArray[_local3][3]), _root.randRange(1, 2), _root.dirArray[_local3], _root.randRange(1, 6), _root.fxID);
c2 = _root.randRange(5, 25);
}
_root.addFX("asteroid" + _root.fxID);
_local3 = random(4);
_root.fxID++;
_root["asteroidB" + _root.fxID] = new classes.fx.AsteroidB(_root.randRange(_root.posArray[_local3][0], _root.posArray[_local3][1]), _root.randRange(_root.posArray[_local3][2], _root.posArray[_local3][3]), 1, _root.dirArray[_local3], _root.randRange(1, 6), _root.fxID);
_root.addFX("asteroidB" + _root.fxID);
c = 0;
c2 = c2 * (1 / _root.dif.speed);
}
function createTypeD() {
var _local3 = random(4);
_root.fxID++;
_root["asteroid" + _root.fxID] = new classes.fx.Asteroid(_root.randRange(_root.posArray[_local3][0], _root.posArray[_local3][1]), _root.randRange(_root.posArray[_local3][2], _root.posArray[_local3][3]), _root.randRange(1, 4), _root.dirArray[_local3], _root.randRange(1, 6), _root.fxID);
_root.addFX("asteroid" + _root.fxID);
_local3 = random(4);
_root.fxID++;
_root["asteroidB" + _root.fxID] = new classes.fx.AsteroidB(_root.randRange(_root.posArray[_local3][0], _root.posArray[_local3][1]), _root.randRange(_root.posArray[_local3][2], _root.posArray[_local3][3]), _root.randRange(1, 2), _root.dirArray[_local3], _root.randRange(1, 6), _root.fxID);
_root.addFX("asteroidB" + _root.fxID);
c = 0;
c2 = _root.randRange(3, 15);
c2 = c2 * (1 / _root.dif.speed);
}
function createTypeE() {
var _local3 = random(4);
_root.fxID++;
_root["asteroid" + _root.fxID] = new classes.fx.Asteroid(_root.randRange(_root.posArray[_local3][0], _root.posArray[_local3][1]), _root.randRange(_root.posArray[_local3][2], _root.posArray[_local3][3]), _root.randRange(3, 5), _root.dirArray[_local3], _root.randRange(1, 6), _root.fxID);
_root.addFX("asteroid" + _root.fxID);
_local3 = random(4);
_root.fxID++;
_root["asteroidB" + _root.fxID] = new classes.fx.AsteroidB(_root.randRange(_root.posArray[_local3][0], _root.posArray[_local3][1]), _root.randRange(_root.posArray[_local3][2], _root.posArray[_local3][3]), _root.randRange(1, 3), _root.dirArray[_local3], _root.randRange(1, 6), _root.fxID);
_root.addFX("asteroidB" + _root.fxID);
c = 0;
c2 = _root.randRange(2, 8);
c2 = c2 * (1 / _root.dif.speed);
}
function createTypeF() {
var _local3 = random(4);
_root.fxID++;
_root["asteroid" + _root.fxID] = new classes.fx.Asteroid(_root.randRange(_root.posArray[_local3][0], _root.posArray[_local3][1]), _root.randRange(_root.posArray[_local3][2], _root.posArray[_local3][3]), _root.randRange(3, 5), _root.dirArray[_local3], _root.randRange(1, 6), _root.fxID);
_root.addFX("asteroid" + _root.fxID);
c = 0;
c2 = _root.randRange(10, 60);
c2 = c2 * (1 / _root.dif.speed);
}
function createTypeG() {
var _local3 = random(4);
_root.fxID++;
_root["asteroid" + _root.fxID] = new classes.fx.Asteroid(_root.randRange(_root.posArray[_local3][0], _root.posArray[_local3][1]), _root.randRange(_root.posArray[_local3][2], _root.posArray[_local3][3]), _root.randRange(2, 4), _root.dirArray[_local3], _root.randRange(1, 6), _root.fxID);
_root.addFX("asteroid" + _root.fxID);
c = 0;
c2 = _root.randRange(50, 150);
c2 = c2 * (1 / _root.dif.speed);
}
function createTypeH() {
var _local3 = random(4);
_root.fxID++;
if (_root.hyper) {
_root["asteroid" + _root.fxID] = new classes.fx.Asteroid(_root.randRange(50, 950), 620, _root.randRange(1, 4), "U", _root.randRange(1, 6), _root.fxID);
} else {
_root["asteroid" + _root.fxID] = new classes.fx.Asteroid(_root.randRange(_root.posArray[_local3][0], _root.posArray[_local3][1]), _root.randRange(_root.posArray[_local3][2], _root.posArray[_local3][3]), _root.randRange(1, 4), _root.dirArray[_local3], _root.randRange(1, 6), _root.fxID);
}
_root.addFX("asteroid" + _root.fxID);
if (random(2) == 1) {
_local3 = random(4);
_root.fxID++;
_root["asteroidB" + _root.fxID] = new classes.fx.AsteroidB(_root.randRange(_root.posArray[_local3][0], _root.posArray[_local3][1]), _root.randRange(_root.posArray[_local3][2], _root.posArray[_local3][3]), _root.randRange(1, 2), _root.dirArray[_local3], _root.randRange(1, 6), _root.fxID);
_root.addFX("asteroidB" + _root.fxID);
}
c = 0;
c2 = _root.randRange(15, 50);
c2 = c2 * (1 / _root.dif.speed);
}
function createTypeI() {
var _local3 = random(4);
_root.fxID++;
_root["asteroid" + _root.fxID] = new classes.fx.Asteroid(_root.randRange(_root.posArray[_local3][0], _root.posArray[_local3][1]), _root.randRange(_root.posArray[_local3][2], _root.posArray[_local3][3]), _root.randRange(1, 5), _root.dirArray[_local3], _root.randRange(1, 6), _root.fxID);
_root.addFX("asteroid" + _root.fxID);
if (random(2) == 1) {
_local3 = random(4);
_root.fxID++;
_root["asteroidB" + _root.fxID] = new classes.fx.AsteroidB(_root.randRange(_root.posArray[_local3][0], _root.posArray[_local3][1]), _root.randRange(_root.posArray[_local3][2], _root.posArray[_local3][3]), _root.randRange(1, 3), _root.dirArray[_local3], _root.randRange(1, 6), _root.fxID);
_root.addFX("asteroidB" + _root.fxID);
}
c = 0;
c2 = _root.randRange(3, 15);
c2 = c2 * (1 / _root.dif.speed);
}
function main() {
c++;
if (c >= c2) {
this["createType" + stage]();
}
}
var stage = "A";
var exists = true;
var Name = "asteroids";
}
Symbol 4663 MovieClip [__Packages.classes.fx.Asteroid] Frame 0
class classes.fx.Asteroid
{
var size, id, x, y, dir, colorV, power, clip, feeler, xMov, yMov;
function Asteroid (px, py, psize, pdir, pcolorV, pid, pfast) {
size = psize;
id = pid;
x = px;
y = py;
dir = pdir;
colorV = pcolorV;
power = size * 6;
fast = pfast;
_root.d++;
clip = _root.attachMovie("asteroid", ("asteroid" + id) + "Clip", _root.d + 75000);
clip.gotoAndStop(colorV);
clip.body.gotoAndStop(_root.randRange(sizeArray[size - 1][0], sizeArray[size - 1][1]));
if (!_root.astField) {
_root.d++;
feeler = clip.attachMovie("asteroidFeeler", "asteroidFeeler" + id, _root.d + 75000);
feeler._x = -100;
feeler._y = -100;
feeler._width = 50 + clip.body._width;
feeler._height = 50 + clip.body._height;
}
if (dir == "U") {
xMov = _root.randRange2(size - 9, -1 * (size - 9));
yMov = _root.randRange2(size - 9, 0);
} else if (dir == "D") {
xMov = _root.randRange2(size - 9, -1 * (size - 9));
yMov = _root.randRange2(0, -1 * (size - 9));
} else if (dir == "L") {
xMov = _root.randRange2(size - 9, 0);
yMov = _root.randRange2(size - 9, -1 * (size - 9));
} else {
xMov = _root.randRange2(0, -1 * (size - 9));
yMov = _root.randRange2(size - 9, -1 * (size - 9));
}
if (fast) {
xMov = xMov * 0.4;
yMov = yMov * 2.5;
}
xMov = xMov * _root.dif.speed;
yMov = yMov * _root.dif.speed;
clip._x = x;
clip._y = y;
clip._rotation = random(4) * 90;
}
function bombed() {
_root.createExploA([x, y, (size * 20) + 40, _root.randRange(75, 100)]);
yank = true;
}
function main() {
c++;
if (clip.body.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
_root.createExploA([x, y, (size * 20) + 40, _root.randRange(75, 100)]);
var _local7 = (((size == 2) || (size == 4)) ? (size - 1) : (size));
_root.audio.playLevel4((("astX" + _local7) + "_") + (random(2) + 1), _root.randRange(25, 45));
if (size > 2) {
if (size == 5) {
if (random(2) > 0) {
_root.createPowerUp([x, y, "gem" + _root.randRange(1, 6)]);
}
}
size = size - 1;
var _local4 = _root.randRange(1, 2);
var _local3 = 0;
while (_local3 < _local4) {
_root.createAsteroid([x, y, size, tempDir, colorV]);
_local3++;
}
}
yank = true;
}
var _local3 = 0;
var _local8 = _root.broShots.length;
while (_local3 < _local8) {
var _local5 = _root.broShots[_local3] + "Clip";
if (clip.body.hitTest(_root[_local5])) {
_root.createExploA([x, y, (size * 20) + 40, _root.randRange(75, 100)]);
var _local7 = (((size == 2) || (size == 4)) ? (size - 1) : (size));
_root.audio.playLevel4((("astX" + _local7) + "_") + (random(2) + 1), _root.randRange(25, 45));
_root[_root.char].fc = (_root[_root.char].fireFreq - _root.rapidVar) - 1;
var _local6 = _root.broShots[_local3];
_root[_local6].exploX = x + (clip.body._width / 2);
_root[_local6].exploY = y + (clip.body._height / 2);
var tempDir = _root[_local6].dir;
_root[_local6].hit();
if (size > 2) {
if (size == 5) {
if (random(2) > 0) {
_root.createPowerUp([x, y, "gem" + _root.randRange(1, 6)]);
}
}
size = size - 1;
var _local4 = _root.randRange(1, 2);
_local3 = 0;
while (_local3 < _local4) {
_root.createAsteroid([x, y, size, tempDir, colorV]);
_local3++;
}
}
yank = true;
break;
}
_local3++;
}
if (!_root.astField) {
_local3 = 0;
_local8 = _root.enemyShots.length;
while (_local3 < _local8) {
var _local5 = _root.enemyShots[_local3] + "Clip";
if (clip.body.hitTest(_root[_local5])) {
_root.createExploA([x, y, (size * 20) + 40, _root.randRange(75, 100)]);
var _local7 = (((size == 2) || (size == 4)) ? (size - 1) : (size));
_root.audio.playLevel4((("astX" + _local7) + "_") + (random(2) + 1), _root.randRange(25, 45));
var _local6 = _root.enemyShots[_local3];
var tempDir = _root[_local6].dir;
_root[_local6].hit(size);
if (size > 2) {
if (size == 5) {
if (random(2) > 0) {
_root.createPowerUp([x, y, "gem" + _root.randRange(1, 6)]);
}
}
size = size - 1;
_root.createAsteroid([x, y, size, tempDir, colorV]);
}
yank = true;
break;
}
_local3++;
}
if (random(3) == 0) {
_local3 = 0;
_local8 = _root.chars.length;
while (_local3 < _local8) {
var _local5 = _root.chars[_local3] + "Clip";
if (!feelerBreak) {
if (feeler.hitTest(_root[_local5])) {
var _local6 = _root.chars[_local3];
_root[_local6].evade();
feelerCount = 0;
feelerBreak = true;
}
}
if (clip.body.hitTest(_root[_local5])) {
_root.createExploA([x, y, (size * 20) + 40, _root.randRange(75, 100)]);
var _local7 = (((size == 2) || (size == 4)) ? (size - 1) : (size));
_root.audio.playLevel4((("astX" + _local7) + "_") + (random(2) + 1), _root.randRange(25, 45));
var _local6 = _root.chars[_local3];
var tempDir = _root[_local6].dir;
_root[_local6].bombed(power);
if (size > 2) {
if (size == 5) {
if (random(2) > 0) {
_root.createPowerUp([x, y, "gem" + _root.randRange(1, 6)]);
}
}
size = size - 1;
_root.createAsteroid([x, y, size, tempDir, colorV]);
}
yank = true;
break;
}
_local3++;
}
if (feelerBreak) {
feelerCount++;
if (feelerCount == 5) {
feelerBreak = false;
}
}
}
}
if (c > 100) {
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
yank = true;
}
}
if (yank) {
_root.removeFX("asteroid" + id);
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var c = 0;
var sizeArray = [[1, 3], [4, 9], [10, 17], [18, 23], [24, 27]];
var yank = false;
var feelerCount = 0;
var feelerBreak = false;
var fast = false;
}
Symbol 4664 MovieClip [__Packages.classes.fx.AsteroidB] Frame 0
class classes.fx.AsteroidB
{
var size, id, x, y, dir, colorV, clip, xMov, yMov, yank;
function AsteroidB (px, py, psize, pdir, pcolorV, pid) {
size = psize;
id = pid;
x = px;
y = py;
dir = pdir;
colorV = pcolorV;
_root.d++;
if (_root.level == 3) {
clip = _root.attachMovie("asteroidC", ("asteroidB" + id) + "Clip", _root.d - 4000);
} else {
clip = _root.attachMovie("asteroidB", ("asteroidB" + id) + "Clip", _root.d - 4000);
}
clip.gotoAndStop(colorV);
clip.body.gotoAndStop(_root.randRange(sizeArray[size - 1][0], sizeArray[size - 1][1]));
if (dir == "U") {
xMov = _root.randRange2(size - 5, -1 * (size - 5));
yMov = _root.randRange2(size - 5, 0.5);
} else if (dir == "D") {
xMov = _root.randRange2(size - 5, -1 * (size - 5));
yMov = _root.randRange2(0.5, -1 * (size - 9));
} else if (dir == "L") {
xMov = _root.randRange2(size - 5, 0.5);
yMov = _root.randRange2(size - 5, -1 * (size - 5));
} else {
xMov = _root.randRange2(0.5, -1 * (size - 5));
yMov = _root.randRange2(size - 5, -1 * (size - 5));
}
clip._x = x;
clip._y = y;
clip._rotation = random(4) * 90;
}
function main() {
if ((((x > 1150) || (x < -150)) || (y < -150)) || (y > 750)) {
yank = true;
}
if (yank) {
_root.removeFX("asteroidB" + id);
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var sizeArray = [[1, 3], [4, 9], [10, 17], [18, 23], [24, 27]];
var Name = "asteroidB";
}
Symbol 4665 MovieClip [__Packages.classes.enemy.BomberA] Frame 0
class classes.enemy.BomberA
{
var x, y, moveScript, matrixCoords, form, id, clip, colorR, trans, colorTrans, advanceMax, advanceMax2, matrixVar, bomb, laser, dir, axis, xDest, yDest, oldDir;
function BomberA (px, py, pmoveScript, pmatrixCoords, pform, pid) {
x = px;
y = py;
moveScript = pmoveScript.slice();
matrixCoords = pmatrixCoords.slice();
form = pform.slice();
id = pid;
_root.d++;
clip = _root.attachMovie("bomberA", ("bomberA" + id) + "Clip", _root.d + 50000);
clip._x = x;
clip._y = y;
speed = speed * _root.dif.speed;
speedOrig = speed;
life = life * _root.dif.life;
colorR = _root.randRange(10, 30);
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, colorR, colorR, colorR, 0);
trans.colorTransform = colorTrans;
advanceMax = 60 / (speed / 2);
advanceMax2 = 50 / (speed / 2);
if (matrixCoords[0] == "free") {
matrixVar = 0;
} else {
matrixVar = 1;
}
speedVar();
bomb = new Object();
laser = new Object();
parseMoveScript();
_root.stats.created++;
}
function broBehind() {
dir = _root.advanceDir;
}
function bombed(num) {
f2 = "death";
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.9999, 1.0001);
}
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
if (matrixCoords[0] == "free") {
f2 = "wander";
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else {
this[axis + "MovT"] = 0;
xDest = ((_root.advanceDir == "L") ? ((matrixCoords[0] * 60) + 320) : (matrixCoords[0] * 60));
yDest = (matrixCoords[1] * 50) + 10;
axis = ((Math.abs(xDest - x) > Math.abs(yDest - y)) ? "x" : "y");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speedVar();
f2 = "gotoMatrix";
}
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function gotoMatrix() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speed = speedOrig;
}
if ((Math.abs(x - xDest) < (speed + 1)) && (Math.abs(y - yDest) < (speed + 1))) {
x = (clip._x = xDest);
y = (clip._y = yDest);
xMovT = (xMov = 0);
yMovT = (yMov = 0);
matrixVar = 2;
dir = _root.advanceDir;
clip.flame.gotoAndStop("D");
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
_root["formB" + form[0]] = "matrixed";
f2 = "wait";
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function evade() {
if (matrixVar == 2) {
matrixVar = 0;
f2 = "wander";
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else if ((f2 != "laserScoping") || (!laser.firing)) {
newDir();
}
}
function wait() {
if (((random(200) >= (197 + _root.dif.wait)) && (_root.matrixComplete)) && (!laser.firing)) {
dir = findDir();
if (dir == _root.advanceDir) {
if (random(10) > 8) {
matrixVar = 0;
xMovT = ((_root.advanceDir == "L") ? (-1 * speed) : (speed));
if (random(2) > 0) {
clip.flame.gotoAndStop(_root.advanceDir);
f2 = "wander";
} else {
bombRaid();
}
} else if (random(10) > 8) {
laser.dir = _root.advanceDir;
fireLaser(true);
}
} else if ((dir == "U") || (dir == "D")) {
if (random(10) > 8) {
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
matrixVar = 0;
c = 0;
f2 = "leavingMatrix";
} else if (random(2) > 0) {
bomb.dir = dir;
ejectBomb();
dir = _root.advanceDir;
}
} else {
dir = _root.advanceDir;
}
}
}
function leavingMatrix() {
c++;
if (c > advanceMax2) {
c = 0;
dir = findDir();
if (dir == _root.advanceDir) {
yMovT = 0;
xMovT = ((_root.advanceDir == "L") ? (-1 * speed) : (speed));
if (random(2) > 0) {
f2 = "wander";
} else {
bombRaid();
}
}
}
}
function findDir() {
_root.d++;
_root.attachMovie("feeler", "feelerClip", _root.d);
var _local7 = [];
var _local9 = 0;
var _local11 = dirArray.length;
while (_local9 < _local11) {
_root.feelerClip._x = x + feelerInfo[_local9][0];
_root.feelerClip._y = y + feelerInfo[_local9][1];
_root.feelerClip._width = feelerInfo[_local9][2];
_root.feelerClip._height = feelerInfo[_local9][3];
var _local3 = 0;
var _local8 = _root.chars.length;
var _local6 = false;
while (_local3 < _local8) {
var _local5 = _root.chars[_local3] + "Clip";
if (_root.feelerClip.hitTest(_root[_local5])) {
var _local4 = _root.chars[_local3];
if ((_root[_local4].matrixVar == 2) && (_local4 != (Name + id))) {
_local6 = true;
break;
}
}
_local3++;
}
if (!_local6) {
var _local10 = ((_root.advanceDir == "L") ? "R" : "L");
if (dirArray[_local9] != _local10) {
_local7.push(dirArray[_local9]);
}
}
_local9++;
}
_local9 = 0;
_local11 = _local7.length;
if (_local9 < _local11) {
if (_local7[_local9] == _root.advanceDir) {
return(_root.advanceDir);
}
return(_local7[random(_local7.length)]);
}
}
function death() {
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 7500;
_root.powerUp(x, y, 94);
if (matrixVar == 1) {
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
}
var _local3 = 0;
var _local4 = _root["form" + form[0]].length;
while (_local3 < _local4) {
if (_root["form" + form[0]][_local3] == ("bomberA" + id)) {
_root["form" + form[0]].splice(_local3, 1);
if (_root["form" + form[0]].length == 0) {
delete _root["form" + form[0]];
if (_root["formB" + form[0]] == "matrixed") {
_local3 = 0;
_local4 = random(2) + 1;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin10"]);
_local3++;
}
_root.stats.score = _root.stats.score + 7500;
} else {
_local3 = 0;
_local4 = random(2) + 2;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin10"]);
_local3++;
}
_root.stats.score = _root.stats.score + 15000;
}
delete _root["formB" + form[0]];
}
break;
}
_local3++;
}
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(80, 130), _root.randRange(75, 100), "Green"]);
_root.audio.playLevel4("bomberX" + (random(3) + 1), _root.randRange(5, 13));
var _local5 = 0;
var _local6 = random(3);
while (_local5 < _local6) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "bomberA", "Blue"]);
_local5++;
}
_root.createEnemySoul([x + (clip._width / 2), y + (clip._height / 2), "green"]);
_root.removeChar("bomberA" + id);
f2 = "";
}
function advance() {
dir = _root.advanceDir;
xMovT = ((_root.advanceDir == "L") ? (-1 * (speed / 2)) : (1 * (speed / 2)));
clip.flame.gotoAndStop(_root.advanceDir);
clip.flame._alpha = 50;
f2 = "advancing";
}
function advancing() {
c++;
if (c > advanceMax) {
xMovT = 0;
c = 0;
f2 = "wait";
clip.flame.gotoAndStop("D");
clip.flame._alpha = 100;
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("hindSight");
_root.sightClip._x = x;
_root.sightClip._y = y;
if (_root.advanceDir == "L") {
_root.sightClip._rotation = 180;
}
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
_root.broBehind();
}
removeMovieClip(_root.sightClip);
}
}
function newDir() {
if (random(10) > (1 + _root.dif.wander)) {
this[axis + "MovT"] = 0;
dir = _root.getDir(x, y);
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
} else {
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
function wander() {
if (random(100) > (97 + _root.dif.wander)) {
newDir();
} else if (random(200) > 195) {
if ((dir == "L") || (dir == "R")) {
bomb.dir = ((_root[_root.char].y < y) ? "U" : "D");
ejectBomb();
} else {
laserScope();
}
}
}
function bombRaid() {
clip.gotoAndPlay("raid" + dir);
bomb.c = 0;
bomb.cMax = _root.randRange(5, 10);
bomb.cMax = bomb.cMax * (1 / _root.dif.speed);
bomb.dir = ((_root[_root.char].y < y) ? "U" : "D");
f2 = "bombRaiding";
}
function bombRaiding() {
xMovT = xMovT * 1.02;
bomb.c++;
if (bomb.c >= bomb.cMax) {
bomb.c = 0;
bomb.cMax = _root.randRange(12, 20);
bomb.cMax = bomb.cMax * (1 / _root.dif.speed);
ejectBomb();
}
}
function ejectBomb() {
clip.bomb.gotoAndPlay("eject" + bomb.dir);
_root.enemyShotID++;
_root["bomberABomb" + _root.enemyShotID] = new classes.shots.BomberABomb(x + 6, y + 6, xMovT, bomb.dir, _root.enemyShotID);
_root.addEnemyShot("bomberABomb" + _root.enemyShotID);
_root.audio.playLevel4("bomberLaunch" + (random(3) + 1), _root.randRange(9, 14));
}
function laserScope() {
laser.c = 0;
laser.c2 = 0;
laser.c2Max = _root.randRange(2, 4);
f2 = "laserScoping";
speed = speed / 3;
this[axis + "MovT"] = this[axis + "MovT"] / 3;
clip.body.flame._alpha = 50;
clip.eyes.gotoAndPlay("spin");
}
function laserScoping() {
laser.c++;
if (laser.c == 30) {
laser.c2++;
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("bomberALaser");
_root.sightClip._x = x;
_root.sightClip._y = y;
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
laser.dir = "L";
fireLaser(false);
} else {
_root.sightClip._rotation = 180;
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
laser.dir = "R";
fireLaser(false);
}
}
removeMovieClip(_root.sightClip);
laser.c = 0;
}
if (laser.c2 == laser.c2Max) {
speed = speedOrig;
this[axis + "MovT"] = this[axis + "MovT"] * 3;
clip.body.flame._alpha = 100;
f2 = "wander";
}
}
function fireLaser(pmatrixed) {
laser.matrixed = pmatrixed;
f2 = "";
clip.laser.gotoAndPlay("fire" + laser.dir);
clip.eyes.gotoAndStop(laser.dir);
laser.l = _root.randRange(8, 20);
laser.firing = true;
laser.c = 0;
}
function stopLaserFire() {
laser.firing = false;
clip.laser.gotoAndPlay("endFire" + laser.dir);
if (!laser.matrixed) {
speed = speedOrig;
this[axis + "MovT"] = this[axis + "MovT"] * 3;
clip.body.flame._alpha = 100;
f2 = "wander";
}
}
function death2() {
_root.removeChar("bomberA" + id);
f2 = "";
}
function main() {
this[f2]();
if (oldDir != dir) {
if (f2 != "wait") {
clip.flame.gotoAndStop(dir);
}
if ((oldDir == undefined) || (dir == "F")) {
clip.eyes.gotoAndStop(dir);
} else if ((dir == "U") || (dir == "D")) {
clip.eyes.gotoAndStop(oldDir);
} else if (random(3) > 0) {
if (f2 != "wait") {
clip.flame.flame1.gotoAndPlay("start1");
}
if (dir == "R") {
clip.eyes.gotoAndPlay("LtoR");
} else {
clip.eyes.gotoAndPlay("RtoL");
}
} else {
if (f2 != "wait") {
clip.flame.flame1.gotoAndPlay("start2");
}
clip.eyes.gotoAndPlay("spin" + dir);
}
}
oldDir = dir;
if (laser.firing) {
laser.c++;
if (laser.c == 20) {
var _local9 = ((laser.dir == "L") ? -25 : 18);
_root["bomberALaser" + id] = new classes.shots.BomberALaser(x + _local9, y - 3, laser.dir, laser.l, id);
_root.addEnemyShot("bomberALaser" + id);
_root.audio.playLevel3("bomberALaser", _root.randRange(15, 22));
}
}
if (nudging) {
xA = xA * 0.5;
yA = yA * 0.5;
nc++;
var _local8 = 255 - (nc * 17);
colorTrans.redOffset = _local8;
colorTrans.greenOffset = _local8 * 0.75;
trans.colorTransform = colorTrans;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
colorTrans.redOffset = colorR;
colorTrans.greenOffset = colorR;
trans.colorTransform = colorTrans;
}
}
var _local4 = 0;
var _local7 = _root.broShots.length;
while (_local4 < _local7) {
var _local6 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local6])) {
var _local3 = _root.broShots[_local4];
var _local5 = life;
life = life - _root[_local3].power;
if (life < 1) {
f2 = "death";
} else {
nudge(_root[_local3].xMov, _root[_local3].yMov, 5);
_root.audio.playLevel4("bomberHit" + (random(3) + 1), _root.randRange(5, 11));
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local5);
break;
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
f2 = "death";
}
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
delete _root["form" + form[0]];
delete _root["formB" + form[0]];
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - 1;
} else if (xMovT > xMov) {
xMov = xMov + 1;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 1;
} else if (yMovT > yMov) {
yMov = yMov + 1;
} else {
yMov = yMovT;
}
x = x + (xMov + xA);
y = y + ((yMov + yA) + (0.5 * Math.sin((hc = hc + 0.1))));
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 7;
var speed = 7;
var f2 = "";
var xDestMet = false;
var yDestMet = false;
var c = 0;
var feelerInfo = [[-400, 0, 400, 40], [0, 0, 400, 40], [0, -400, 40, 400], [0, 0, 40, 400]];
var dirArray = ["L", "R", "U", "D"];
var life = 40;
var nudging = false;
var nc = 0;
var xA = 0;
var yA = 0;
var power = 35;
var hc = 0;
var Name = "bomberA";
}
Symbol 4666 MovieClip [__Packages.classes.shots.BomberABomb] Frame 0
class classes.shots.BomberABomb
{
var x, y, id, dir, clip, xMov, yMov, cMax, xDiv, yDiv;
function BomberABomb (px, py, pxMov, pdir, pid) {
x = px;
y = py;
id = pid;
dir = pdir;
_root.d++;
clip = _root.attachMovie("bomberABomb", ("bomberABomb" + id) + "Clip", _root.d + 3600);
clip._x = x;
clip._y = y;
xMov = pxMov;
yMov = ((dir == "U") ? -6 : 6);
cMax = _root.randRange(30, 60);
xDiv = _root.randRange2(0.99, 0.97);
yDiv = _root.randRange2(0.99, 0.97);
}
function hit() {
explo();
yank = true;
}
function bombed() {
explo();
yank = true;
}
function explo() {
_root.createExploB([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(90, 120), 100, "B"]);
var _local3 = 0;
var _local4 = random(2) + 3;
while (_local3 < _local4) {
_root.createExploB([(x + (clip._width / 2)) + _root.randRange(-25, 25), (y + (clip._height / 2)) + _root.randRange(-25, 25), _root.randRange(40, 75), _root.randRange(25, 60), "B"]);
_local3++;
}
}
function main() {
c++;
xMov = xMov * xDiv;
yMov = yMov * yDiv;
if (c >= cMax) {
explo();
yank = true;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
explo();
_root[_root.char].hit(xMov, yMov, 100, power);
yank = true;
}
var _local4 = 0;
var _local6 = _root.broShots.length;
while (_local4 < _local6) {
var _local5 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local5])) {
explo();
yank = true;
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
var _local3 = _root.broShots[_local4];
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(20);
}
_local4++;
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
if (yank) {
_root.audio.playLevel4("bomberBombX" + (random(3) + 1), _root.randRange(13, 22));
_root.removeEnemyShot("bomberABomb" + id);
yank = false;
}
}
var c = 0;
var power = 50;
var yank = false;
var Name = "bomberABomb";
}
Symbol 4667 MovieClip [__Packages.classes.shots.BomberALaser] Frame 0
class classes.shots.BomberALaser
{
var id, x, y, dir, l, xInc, clip;
function BomberALaser (px, py, pdir, pl, pid) {
id = pid;
x = px;
y = py;
dir = pdir;
l = pl;
xInc = ((dir == "L") ? -25 : 25);
_root.d++;
clip = _root.createEmptyMovieClip(("bomberALaser" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
_root.d++;
clip.attachMovie("bomberALaserSeg", "bomberALaserSeg1Clip" + id, _root.d);
}
function main() {
c++;
if (((x + ((c - 1) * xInc)) < 1050) && ((x + ((c - 1) * xInc)) > -50)) {
_root.d++;
var _local3 = clip.attachMovie("bomberALaserSeg", (("bomberALaserSeg" + c) + "Clip") + id, _root.d);
_local3._x = (c - 1) * xInc;
_local3.gotoAndStop(c);
} else if (c < l) {
l = c;
}
if (c > l) {
if (!endMessageSent) {
_root["bomberA" + id].stopLaserFire();
endMessageSent = true;
}
removeMovieClip(clip[(("bomberALaserSeg" + (c - l)) + "Clip") + id]);
}
if (_root["bomberA" + id].laser.firing) {
clip._x = ((dir == "L") ? (_root["bomberA" + id].x - 25) : (_root["bomberA" + id].x + 18));
clip._y = _root["bomberA" + id].y - 3;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xInc, 0, 100, power);
}
if (clip._width < 25) {
_root.removeEnemyShot("bomberALaser" + id);
}
}
var power = 40;
var c = 1;
var endMessageSent = false;
var Name = "bomberALaser";
}
Symbol 4668 MovieClip [__Packages.classes.enemy.DroidA] Frame 0
class classes.enemy.DroidA
{
var x, y, moveScript, matrixCoords, id, form, clip, advanceMax, advanceMax2, matrixVar, dir, f2, axis, xDest, yDest, oldDir;
function DroidA (px, py, pmoveScript, pmatrixCoords, pform, pid) {
x = px;
y = py;
moveScript = pmoveScript.slice();
matrixCoords = pmatrixCoords.slice();
id = pid;
form = pform.slice();
_root.d++;
clip = _root.attachMovie("droidA", ("droidA" + id) + "Clip", _root.d + 50000);
clip._x = x;
clip._y = y;
speed = speed * _root.dif.speed;
speedOrig = speed;
advanceMax = 60 / (speed / 2);
advanceMax2 = 50 / (speed / 2);
if (matrixCoords[0] == "free") {
matrixVar = 0;
} else {
matrixVar = 1;
}
speedVar();
var _local3 = _root.randRange(-20, 20);
var _local4 = new flash.geom.Transform(clip);
var _local5 = new flash.geom.ColorTransform(1, 1, 1, 1, _local3, _local3, _local3, 0);
_local4.colorTransform = _local5;
parseMoveScript();
_root.stats.created++;
}
function broBehind() {
matrixVar = 0;
yMovT = 0;
if (random(3) == 1) {
var _local3 = _root.randRange2(1.2, 1.4);
xMovT = ((dir == "L") ? ((-1 * _local3) * speed) : (_local3 * speed));
getDirString();
clip.body.gotoAndPlay("attack");
clip.body.face.gotoAndPlay("attack");
clip.body.flame.gotoAndPlay("start");
f2 = "attacking";
} else {
this[axis + "MovT"] = 0;
axis = ((random(2) > 0) ? "y" : "x");
var _local3 = _root.randRange2(0.9, 1.1);
this[axis + "MovT"] = ((random(2) > 0) ? (_local3 * speed) : ((-1 * _local3) * speed));
getDirString();
clip.body.flame.gotoAndPlay("start");
f2 = "wander";
}
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.9999, 1.0001);
}
}
function bombed(num) {
f2 = "death";
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
this[axis + "MovT"] = 0;
if (matrixCoords[0] == "free") {
f2 = "wander";
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else {
xDest = ((_root.advanceDir == "L") ? ((matrixCoords[0] * 60) + 320) : (matrixCoords[0] * 60));
yDest = (matrixCoords[1] * 50) + 10;
axis = ((Math.abs(xDest - x) > Math.abs(yDest - y)) ? "x" : "y");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speedVar();
f2 = "gotoMatrix";
}
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function gotoMatrix() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speed = speedOrig;
}
if ((Math.abs(x - xDest) < (speed + 1)) && (Math.abs(y - yDest) < (speed + 1))) {
x = (clip._x = xDest);
y = (clip._y = yDest);
xMovT = (xMov = 0);
yMovT = (yMov = 0);
matrixVar = 2;
dir = _root.advanceDir;
clip.body.flame.gotoAndPlay("still");
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
_root["formB" + form[0]] = "matrixed";
f2 = "wait";
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function wait() {
if ((random(1000) >= (998 + _root.dif.wait)) && (_root.matrixComplete)) {
dir = findDir();
if (dir == _root.advanceDir) {
xMovT = ((_root.advanceDir == "L") ? (-1.3 * speed) : (1.3 * speed));
getDirString();
clip.body.gotoAndPlay("attack");
clip.body.face.gotoAndPlay("attack");
clip.body.flame.gotoAndPlay("start");
f2 = "attacking";
matrixVar = 0;
} else if ((dir == "U") || (dir == "D")) {
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
matrixVar = 0;
c = 0;
f2 = "leavingMatrix";
clip.body.flame.gotoAndPlay("start");
} else {
dir = _root.advanceDir;
}
}
}
function leavingMatrix() {
c++;
if (c > advanceMax2) {
c = 0;
dir = findDir();
if (dir == _root.advanceDir) {
yMovT = 0;
xMovT = ((_root.advanceDir == "L") ? (-1.3 * speed) : (1.3 * speed));
getDirString();
clip.body.gotoAndPlay("attack");
clip.body.face.gotoAndPlay("attack");
f2 = "attacking";
}
}
}
function findDir() {
_root.d++;
_root.attachMovie("feeler", "feelerClip", _root.d);
var _local7 = [];
var _local9 = 0;
var _local11 = dirArray.length;
while (_local9 < _local11) {
_root.feelerClip._x = x + feelerInfo[_local9][0];
_root.feelerClip._y = y + feelerInfo[_local9][1];
_root.feelerClip._width = feelerInfo[_local9][2];
_root.feelerClip._height = feelerInfo[_local9][3];
var _local3 = 0;
var _local8 = _root.chars.length;
var _local6 = false;
while (_local3 < _local8) {
var _local5 = _root.chars[_local3] + "Clip";
if (_root.feelerClip.hitTest(_root[_local5])) {
var _local4 = _root.chars[_local3];
if ((_root[_local4].matrixVar == 2) && (_local4 != (Name + id))) {
_local6 = true;
break;
}
}
_local3++;
}
if (!_local6) {
var _local10 = ((_root.advanceDir == "L") ? "R" : "L");
if (dirArray[_local9] != _local10) {
_local7.push(dirArray[_local9]);
}
}
_local9++;
}
_local9 = 0;
_local11 = _local7.length;
if (_local9 < _local11) {
if (_local7[_local9] == _root.advanceDir) {
return(_root.advanceDir);
}
return(_local7[random(_local7.length)]);
}
}
function attacking() {
}
function death() {
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 100;
if (matrixVar == 1) {
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
}
_root.powerUp(x, y, 96);
var _local3 = 0;
var _local4 = _root["form" + form[0]].length;
while (_local3 < _local4) {
if (_root["form" + form[0]][_local3] == ("droidA" + id)) {
_root["form" + form[0]].splice(_local3, 1);
if (_root["form" + form[0]].length == 0) {
delete _root["form" + form[0]];
if (_root["formB" + form[0]] == "matrixed") {
_root.createPowerUp([x, y, "coin1"]);
_root.stats.score = _root.stats.score + 100;
} else {
_root.createPowerUp([x, y, "coin1"]);
_root.stats.score = _root.stats.score + 200;
}
delete _root["formB" + form[0]];
}
break;
}
_local3++;
}
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(80, 130), _root.randRange(75, 100), "Red"]);
_local3 = 0;
_local4 = random(3);
while (_local3 < _local4) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "droidA"]);
_local3++;
}
_root.createEnemySoul([x + (clip._width / 2), y + (clip._height / 2), "red"]);
_root.audio.playLevel4("droidX" + (random(3) + 1), _root.randRange(16, 35));
_root.removeChar("droidA" + id);
f2 = "";
}
function advance() {
dir = _root.advanceDir;
clip.body.flame.gotoAndPlay("advance");
xMovT = ((_root.advanceDir == "L") ? (-1 * (speed / 2)) : (1 * (speed / 2)));
f2 = "advancing";
}
function advancing() {
c++;
if (c > advanceMax) {
xMovT = 0;
c = 0;
f2 = "wait";
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("hindSight");
_root.sightClip._x = x;
_root.sightClip._y = y;
if (_root.advanceDir == "L") {
_root.sightClip._rotation = 180;
}
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
_root.broBehind();
}
removeMovieClip(_root.sightClip);
}
}
function wander() {
if (random(100) > (98 + _root.dif.wander)) {
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
function death2() {
_root.removeChar("droidA" + id);
f2 = "";
}
function main() {
this[f2]();
if (oldDir != dir) {
clip.gotoAndStop("fly" + dir);
}
oldDir = dir;
var _local4 = 0;
var _local6 = _root.broShots.length;
while (_local4 < _local6) {
var _local5 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local5])) {
f2 = "death";
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
var _local3 = _root.broShots[_local4];
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(1);
break;
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
f2 = "death";
}
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
delete _root["form" + form[0]];
delete _root["formB" + form[0]];
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - 1;
} else if (xMovT > xMov) {
xMov = xMov + 1;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 1;
} else if (yMovT > yMov) {
yMov = yMov + 1;
} else {
yMov = yMovT;
}
xmt = xMov;
ymt = yMov;
if (random(10) == 1) {
if (axis == "y") {
xmt = xmt + _root.randRange2(-1, 1);
} else {
ymt = ymt + _root.randRange2(-1, 1);
}
}
x = x + xmt;
y = y + ymt;
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xmt = 0;
var ymt = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 8;
var speed = 8;
var xDestMet = false;
var yDestMet = false;
var c = 0;
var feelerInfo = [[-400, 0, 400, 40], [0, 0, 400, 40], [0, -400, 40, 400], [0, 0, 40, 400]];
var dirArray = ["L", "R", "U", "D"];
var power = 15;
var Name = "droidA";
}
Symbol 4669 MovieClip [__Packages.classes.enemy.SpaceManB] Frame 0
class classes.enemy.SpaceManB
{
var x, y, moveScript, matrixCoords, form, id, clip, colorR, trans, colorTrans, advanceMax, advanceMax2, matrixVar, laser, dir, axis, xDest, yDest, oldDir, cMax;
function SpaceManB (px, py, pmoveScript, pmatrixCoords, pform, pid) {
x = px;
y = py;
moveScript = pmoveScript.slice();
matrixCoords = pmatrixCoords.slice();
form = pform.slice();
id = pid;
_root.d++;
clip = _root.attachMovie("spaceManB", ("spaceManB" + id) + "Clip", _root.d + 50000);
clip._x = x;
clip._y = y;
speed = speed * _root.dif.speed;
speedOrig = speed;
life = life * _root.dif.life;
colorR = _root.randRange(-40, 10);
trans = new flash.geom.Transform(clip.body);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, colorR, colorR, colorR, 0);
trans.colorTransform = colorTrans;
advanceMax = 60 / (speed / 2);
advanceMax2 = 50 / (speed / 2);
if (matrixCoords[0] == "free") {
matrixVar = 0;
} else {
matrixVar = 1;
}
speedVar();
laser = new Object();
parseMoveScript();
_root.stats.created++;
_root.sm++;
if (_root.sm == 2) {
clip.body.head.eyes.clip.gotoAndStop(2);
delete _root.sm;
}
}
function broBehind() {
dir = _root.advanceDir;
}
function bombed(num) {
nudge(_root.randRange(-6, 6), _root.randRange(-6, 6), 100);
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.9999, 1.0001);
}
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
moveScripted = false;
delete moveScript;
if (matrixCoords[0] == "free") {
f2 = "wander";
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else {
this[axis + "MovT"] = 0;
xDest = ((_root.advanceDir == "L") ? ((matrixCoords[0] * 60) + 320) : (matrixCoords[0] * 60));
yDest = (matrixCoords[1] * 50) + 10;
axis = ((Math.abs(xDest - x) > Math.abs(yDest - y)) ? "x" : "y");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speedVar();
f2 = "gotoMatrix";
}
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function gotoMatrix() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speed = speedOrig;
}
if ((Math.abs(x - xDest) < (speed + 1)) && (Math.abs(y - yDest) < (speed + 1))) {
x = (clip._x = xDest);
y = (clip._y = yDest);
xMovT = (xMov = 0);
yMovT = (yMov = 0);
matrixVar = 2;
dir = _root.advanceDir;
clip.body.gotoAndPlay("flyEnd");
clip.flame.gotoAndStop("wait");
clip.gotoAndStop(dir);
oldDir = "matrix";
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
_root["formB" + form[0]] = "matrixed";
f2 = "wait";
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function evade() {
if (matrixVar == 2) {
matrixVar = 0;
clip.flame.gotoAndPlay("flyStart");
clip.body.gotoAndPlay("flyStart");
f2 = "wander";
} else if (f2 == "charging") {
newChargeDir();
} else if ((f2 == "laserScoping") || (laser.firing)) {
stopLaserFire();
}
}
function wait() {
if ((random(1000) >= 998) && (_root.matrixComplete)) {
dir = findDir();
if (dir == _root.advanceDir) {
matrixVar = 0;
xMovT = ((_root.advanceDir == "L") ? (-1 * speed) : (speed));
if (random(2) > 0) {
clip.flame.gotoAndPlay("flyStart");
clip.body.gotoAndPlay("flyStart");
f2 = "wander";
} else {
charge();
}
} else if ((dir == "U") || (dir == "D")) {
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
matrixVar = 0;
c = 0;
f2 = "leavingMatrix";
} else {
dir = _root.advanceDir;
}
}
}
function leavingMatrix() {
c++;
if (c > advanceMax2) {
c = 0;
dir = findDir();
if (dir == _root.advanceDir) {
yMovT = 0;
xMovT = ((_root.advanceDir == "L") ? (-1 * speed) : (speed));
if (random(2) > 0) {
f2 = "wander";
} else {
charge();
}
}
}
}
function findDir() {
_root.d++;
_root.attachMovie("feeler", "feelerClip", _root.d);
var _local7 = [];
var _local9 = 0;
var _local11 = dirArray.length;
while (_local9 < _local11) {
_root.feelerClip._x = x + feelerInfo[_local9][0];
_root.feelerClip._y = y + feelerInfo[_local9][1];
_root.feelerClip._width = feelerInfo[_local9][2];
_root.feelerClip._height = feelerInfo[_local9][3];
var _local3 = 0;
var _local8 = _root.chars.length;
var _local6 = false;
while (_local3 < _local8) {
var _local5 = _root.chars[_local3] + "Clip";
if (_root.feelerClip.hitTest(_root[_local5])) {
var _local4 = _root.chars[_local3];
if ((_root[_local4].matrixVar == 2) && (_local4 != (Name + id))) {
_local6 = true;
break;
}
}
_local3++;
}
if (!_local6) {
var _local10 = ((_root.advanceDir == "L") ? "R" : "L");
if (dirArray[_local9] != _local10) {
_local7.push(dirArray[_local9]);
}
}
_local9++;
}
_local9 = 0;
_local11 = _local7.length;
if (_local9 < _local11) {
if (_local7[_local9] == _root.advanceDir) {
return(_root.advanceDir);
}
return(_local7[random(_local7.length)]);
}
}
function death() {
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 75000;
_root.powerUp(x, y, 1);
if (matrixVar == 1) {
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
}
var _local3 = 0;
var _local4 = _root["form" + form[0]].length;
while (_local3 < _local4) {
if (_root["form" + form[0]][_local3] == ("spaceManB" + id)) {
_root["form" + form[0]].splice(_local3, 1);
if (_root["form" + form[0]].length == 0) {
delete _root["form" + form[0]];
if (_root["formB" + form[0]] == "matrixed") {
_local3 = 0;
_local4 = random(3) + 2;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin25"]);
_local3++;
}
_local3 = 0;
_local4 = random(3) + 2;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin10"]);
_local3++;
}
_local3 = 0;
_local4 = random(3) + 2;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin5"]);
_local3++;
}
_root.stats.score = _root.stats.score + 50000;
} else {
_local3 = 0;
_local4 = random(3) + 2;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin25"]);
_local3++;
}
_local3 = 0;
_local4 = random(5) + 2;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin10"]);
_local3++;
}
_root.stats.score = _root.stats.score + 100000;
}
delete _root["formB" + form[0]];
}
break;
}
_local3++;
}
_root.createExploA([(x + (clip._width / 2)) + _root.randRange(-20, 20), (y + (clip._height / 2)) + _root.randRange(-20, 20), _root.randRange(80, 130), _root.randRange(75, 100), "Red"]);
_root.createExploA([(x + (clip._width / 2)) + _root.randRange(-20, 20), (y + (clip._height / 2)) + _root.randRange(-20, 20), _root.randRange(80, 130), _root.randRange(75, 100), "Green"]);
_root.createExploA([(x + (clip._width / 2)) + _root.randRange(-20, 20), (y + (clip._height / 2)) + _root.randRange(-20, 20), _root.randRange(80, 130), _root.randRange(75, 100), "Blue"]);
_root.audio.playLevel4("spaceManX" + (random(3) + 1), _root.randRange(15, 25));
var _local5 = 0;
var _local6 = random(4) + 3;
while (_local5 < _local6) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "spaceManB", "Yellow"]);
_local5++;
}
_root.createEnemySoul([x + (clip._width / 2), y + (clip._height / 2), "red"]);
_root.removeChar("spaceManB" + id);
}
function advance() {
dir = _root.advanceDir;
xMovT = ((_root.advanceDir == "L") ? (-1 * (speed / 2)) : (1 * (speed / 2)));
clip.flame.gotoAndPlay("advance");
f2 = "advancing";
}
function advancing() {
c++;
if (c > advanceMax) {
xMovT = 0;
c = 0;
f2 = "wait";
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("hindSight");
_root.sightClip._x = x;
_root.sightClip._y = y;
if (_root.advanceDir == "L") {
_root.sightClip._rotation = 180;
}
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
_root.broBehind();
}
removeMovieClip(_root.sightClip);
}
}
function newDir() {
if (random(10) > 1) {
this[axis + "MovT"] = 0;
dir = _root.getDir(x, y);
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
} else {
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
function newChargeDir() {
if (random(10) > 1) {
dir = _root.getDir(x, y);
} else {
dir = dirArray[random(4)];
}
}
function wander() {
if (random(100) > (93 + _root.dif.wander)) {
newDir();
} else if (random(100) > 95) {
if ((dir == "U") || (dir == "D")) {
laserScope();
} else if (random(10) > 6) {
charge();
}
}
}
function charge() {
clip.body.gotoAndPlay("chargeStart");
clip.flame.gotoAndPlay("charge");
speed = speedOrig;
speed = speed * 1.5;
axis = "x";
yMovT = 0;
this[axis + "MovT"] = ((dir == "L") ? (-1 * speed) : (speed));
f2 = "charging";
c = 0;
cMax = _root.randRange(30, 120);
_root.audio.playLevel3("spaceManCharge", _root.randRange(25, 35));
}
function charging() {
if (random(100) > 93) {
newChargeDir();
}
c++;
if (c == cMax) {
clip.body.gotoAndPlay("chargeEnd");
clip.flame.gotoAndPlay("fly");
speed = speedOrig;
this[axis + "MovT"] = ((dir == "L") ? (-1 * speed) : (speed));
f2 = "wander";
}
}
function laserScope() {
laser.c = 0;
laser.c2 = 0;
laser.c2Max = _root.randRange(2, 4);
f2 = "laserScoping";
speed = speed / 3;
this[axis + "MovT"] = this[axis + "MovT"] / 3;
clip.body.head.gotoAndPlay("scope");
clip.body.gotoAndStop("hover");
_root.audio.playLevel2("spaceManWarning" + (random(3) + 1), _root.randRange(43, 50));
}
function laserScoping() {
laser.c++;
if (laser.c == 20) {
laser.c2++;
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("bomberBLaser");
_root.sightClip._x = x;
_root.sightClip._y = y;
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
laser.dir = "L";
fireLaser(false);
} else {
_root.sightClip._rotation = 180;
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
laser.dir = "R";
fireLaser(false);
}
}
removeMovieClip(_root.sightClip);
laser.c = 0;
} else if (laser.c2 >= laser.c2Max) {
speed = speedOrig;
this[axis + "MovT"] = this[axis + "MovT"] * 3;
f2 = "wander";
clip.body.head.gotoAndPlay("front");
}
}
function fireLaser(pmatrixed) {
clip.gotoAndStop(laser.dir);
clip.body.head.gotoAndStop("front");
laser.matrixed = pmatrixed;
f2 = "";
clip.body.head.eyes.gotoAndPlay("glowStart");
clip.body.hover.gotoAndPlay("topStart");
laser.l = _root.randRange(10, 30);
laser.l = laser.l * _root.dif.speed;
laser.firing = true;
laser.top = true;
laser.c = 0;
}
function stopLaserFire() {
laser.firing = false;
clip.body.head.eyes.gotoAndPlay("glowEnd");
if (laser.top) {
clip.body.hover.gotoAndPlay("topEnd");
} else {
clip.body.hover.gotoAndPlay("botEnd");
}
if (!laser.matrixed) {
speed = speedOrig;
this[axis + "MovT"] = this[axis + "MovT"] * 3;
f2 = "wander";
}
}
function death2() {
_root.removeChar("spaceManB" + id);
}
function main() {
this[f2]();
if (oldDir != dir) {
if ((f2 != "charging") && (oldDir != "matrix")) {
clip.gotoAndStop(dir);
if (dir == "U") {
clip.body.gotoAndPlay("flyEnd");
clip.flame.gotoAndPlay("up2");
} else if (dir == "D") {
clip.body.gotoAndPlay("flyEnd");
clip.flame.gotoAndStop("wait");
} else if (f2 != "wait") {
clip.body.gotoAndPlay("flyStart");
clip.flame.gotoAndPlay("fly");
}
} else if (oldDir != "matrix") {
clip.gotoAndStop(dir);
if ((oldDir == "L") || (oldDir == "R")) {
if (dir == "U") {
axis = "y";
yMovT = -1 * speed;
clip.body.gotoAndPlay("upStart");
clip.flame.gotoAndPlay("upStart");
} else if (dir == "D") {
axis = "y";
yMovT = speed;
clip.body.gotoAndPlay("downStart");
clip.flame.gotoAndPlay("downStart");
} else {
axis = "x";
yMovT = 0;
xMovT = ((dir == "L") ? (-1 * speed) : (speed));
clip.body.gotoAndPlay("chargeStart");
clip.flame.gotoAndPlay("charge");
}
} else if (dir == "U") {
axis = "y";
xMovT = 0;
clip.body.gotoAndPlay("hover");
clip.flame.gotoAndPlay("up2");
} else if (dir == "D") {
axis = "y";
xMovT = 0;
clip.body.gotoAndPlay("downStart");
clip.flame.gotoAndPlay("downStart");
} else {
axis = "x";
xMovT = ((dir == "L") ? (-1 * speed) : (speed));
if (oldDir == "U") {
clip.body.gotoAndPlay("upStart");
clip.flame.gotoAndPlay("upStart");
} else {
clip.body.gotoAndPlay("downStart");
clip.flame.gotoAndPlay("downStart");
}
}
}
}
oldDir = dir;
if (laser.firing) {
laser.c++;
if ((laser.c / 4) == Math.round(laser.c / 4)) {
if (laser.top) {
laser.top = false;
clip.body.hover.gotoAndPlay("topToBot");
var _local10 = ((laser.dir == "L") ? -8 : -9);
_root.enemyShotID++;
_root["spaceManBLaser" + _root.enemyShotID] = new classes.shots.SpaceManBLaser(x + _local10, y + 6, laser.c, laser.dir, _root.enemyShotID);
_root.addEnemyShot("spaceManBLaser" + _root.enemyShotID);
} else {
laser.top = true;
clip.body.hover.gotoAndPlay("botToTop");
var _local10 = ((laser.dir == "L") ? -8 : 9);
_root.enemyShotID++;
_root["spaceManBLaser" + _root.enemyShotID] = new classes.shots.SpaceManBLaser(x + _local10, y + 9, laser.c, laser.dir, _root.enemyShotID);
_root.addEnemyShot("spaceManBLaser" + _root.enemyShotID);
}
_root.audio.playLevel3("spaceManFire" + (random(5) + 1), _root.randRange(15, 25));
}
if (laser.c > laser.l) {
stopLaserFire();
}
}
if (nudging) {
xA = xA * 0.5;
yA = yA * 0.5;
nc++;
var _local9 = 255 - (nc * 17);
colorTrans.redOffset = _local9;
colorTrans.greenOffset = _local9;
trans.colorTransform = colorTrans;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
colorTrans.redOffset = colorR;
colorTrans.greenOffset = colorR;
trans.colorTransform = colorTrans;
}
}
var _local4 = 0;
var _local7 = _root.broShots.length;
while (_local4 < _local7) {
var _local6 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local6])) {
var _local3 = _root.broShots[_local4];
var _local5 = life;
life = life - _root[_local3].power;
if ((life < 1) || (life == NaN)) {
f2 = "death";
} else {
nudge(_root[_local3].xMov, _root[_local3].yMov, 5);
if (random(3) == 0) {
_root.audio.playLevel4("spaceManHit" + (random(3) + 1), _root.randRange(23, 32));
} else {
_root.audio.playLevel2("spaceManHit" + (random(2) + 4), _root.randRange(15, 20));
}
if ((f2 == "wait") || (f2 == "advancing")) {
matrixVar = 0;
charge();
} else if ((f2 == "wander") || (f2 == "laserScoping")) {
if (random(2) == 0) {
speed = speedOrig;
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
} else if (random(2) == 0) {
axis = "x";
dir = ((random(2) == 0) ? "L" : "R");
charge();
}
} else if (f2 == "charging") {
newChargeDir();
}
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local5);
break;
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
bombed(20);
}
if (!moveScripted) {
var _local8 = false;
if (x > 950) {
_local8 = true;
dir = "L";
} else if (x < 50) {
_local8 = true;
dir = "R";
} else if (y < 50) {
_local8 = true;
dir = "D";
} else if (y > 550) {
_local8 = true;
dir = "U";
}
if (_local8) {
xMovT = 0;
yMovT = 0;
speed = speedOrig;
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
f2 = "wander";
}
}
if ((((x > 1500) || (x < -500)) || (y < -500)) || (y > 1100)) {
delete _root["form" + form[0]];
delete _root["formB" + form[0]];
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - 0.75;
} else if (xMovT > xMov) {
xMov = xMov + 0.75;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 0.75;
} else if (yMovT > yMov) {
yMov = yMov + 0.75;
} else {
yMov = yMovT;
}
x = x + (xMov + xA);
y = y + ((yMov + yA) + (0.5 * Math.sin((hc = hc + 0.1))));
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 10;
var speed = 10;
var f2 = "";
var xDestMet = false;
var yDestMet = false;
var c = 0;
var moveScripted = true;
var feelerInfo = [[-400, 0, 400, 40], [0, 0, 400, 40], [0, -400, 40, 400], [0, 0, 40, 400]];
var dirArray = ["L", "R", "U", "D"];
var life = 425;
var nudging = false;
var nc = 0;
var xA = 0;
var yA = 0;
var power = 30;
var hc = 0;
var Name = "spaceManB";
}
Symbol 4670 MovieClip [__Packages.classes.shots.SpaceManBLaser] Frame 0
class classes.shots.SpaceManBLaser
{
var x, y, id, dir, frame, clip;
function SpaceManBLaser (px, py, pframe, pdir, pid) {
x = px;
y = py;
id = pid;
dir = pdir;
frame = pframe;
_root.d++;
clip = _root.attachMovie("spaceManBLaser", ("spaceManBLaser" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip.id = id;
yMov = 0;
xMov = ((dir == "L") ? -22 : 22);
clip.gotoAndStop(frame / 4);
xMov = xMov * _root.dif.speed;
yMov = yMov * _root.dif.speed;
}
function hit() {
yank = true;
}
function main() {
xMov = xMov * 1.02;
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
yank = true;
}
if ((((x > 1050) || (x < -50)) || (y > 650)) || (y < -50)) {
yank = true;
}
x = x + xMov;
if (yank) {
_root.removeEnemyShot("spaceManBLaser" + id);
yank = false;
}
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var Name = "spaceManBLaser";
var power = 30;
var yank = false;
}
Symbol 4671 MovieClip [__Packages.classes.enemy.BomberB] Frame 0
class classes.enemy.BomberB
{
var x, y, moveScript, matrixCoords, form, id, clip, colorR, trans, colorTrans, advanceMax, advanceMax2, matrixVar, bomb, laser, dir, axis, xDest, yDest, oldDir;
function BomberB (px, py, pmoveScript, pmatrixCoords, pform, pid) {
x = px;
y = py;
moveScript = pmoveScript.slice();
matrixCoords = pmatrixCoords.slice();
form = pform.slice();
id = pid;
_root.d++;
clip = _root.attachMovie("bomberB", ("bomberB" + id) + "Clip", _root.d + 50000);
clip._x = x;
clip._y = y;
speed = speed * _root.dif.speed;
speedOrig = speed;
life = life * _root.dif.life;
colorR = _root.randRange(20, 40);
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, colorR, colorR / 2, colorR, 0);
trans.colorTransform = colorTrans;
advanceMax = 60 / (speed / 2);
advanceMax2 = 50 / (speed / 2);
if (matrixCoords[0] == "free") {
matrixVar = 0;
} else {
matrixVar = 1;
}
speedVar();
bomb = new Object();
laser = new Object();
parseMoveScript();
_root.stats.created++;
}
function broBehind() {
dir = _root.advanceDir;
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
}
function bombed(num) {
f2 = "death";
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.9999, 1.0001);
}
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
if (matrixCoords[0] == "free") {
f2 = "wander";
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else {
this[axis + "MovT"] = 0;
xDest = ((_root.advanceDir == "L") ? ((matrixCoords[0] * 60) + 320) : (matrixCoords[0] * 60));
yDest = (matrixCoords[1] * 50) + 10;
axis = ((Math.abs(xDest - x) > Math.abs(yDest - y)) ? "x" : "y");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speedVar();
f2 = "gotoMatrix";
}
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function gotoMatrix() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speed = speedOrig;
}
if ((Math.abs(x - xDest) < (speed + 1)) && (Math.abs(y - yDest) < (speed + 1))) {
x = (clip._x = xDest);
y = (clip._y = yDest);
xMovT = (xMov = 0);
yMovT = (yMov = 0);
matrixVar = 2;
dir = _root.advanceDir;
clip.flame.gotoAndStop("D");
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
_root["formB" + form[0]] = "matrixed";
f2 = "wait";
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function evade() {
if (matrixVar == 2) {
matrixVar = 0;
f2 = "wander";
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else if ((f2 != "laserScoping") || (!laser.firing)) {
newDir();
}
}
function wait() {
if (((random(200) >= (197 + _root.dif.wait)) && (_root.matrixComplete)) && (!laser.firing)) {
dir = findDir();
if (dir == _root.advanceDir) {
if (random(10) > 8) {
matrixVar = 0;
xMovT = ((_root.advanceDir == "L") ? (-1 * speed) : (speed));
if (random(2) > 0) {
clip.flame.gotoAndStop(_root.advanceDir);
f2 = "wander";
} else {
bombRaid();
}
} else if (random(10) > 8) {
laser.dir = _root.advanceDir;
fireLaser(true);
}
} else if ((dir == "U") || (dir == "D")) {
if (random(10) > 8) {
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
matrixVar = 0;
c = 0;
f2 = "leavingMatrix";
} else if (random(2) > 0) {
bomb.dir = dir;
ejectBomb();
dir = _root.advanceDir;
}
} else {
dir = _root.advanceDir;
}
}
}
function leavingMatrix() {
c++;
if (c > advanceMax2) {
c = 0;
dir = findDir();
if (dir == _root.advanceDir) {
yMovT = 0;
xMovT = ((_root.advanceDir == "L") ? (-1 * speed) : (speed));
if (random(2) > 0) {
f2 = "wander";
} else {
bombRaid();
}
}
}
}
function findDir() {
_root.d++;
_root.attachMovie("feeler", "feelerClip", _root.d);
var _local7 = [];
var _local9 = 0;
var _local11 = dirArray.length;
while (_local9 < _local11) {
_root.feelerClip._x = x + feelerInfo[_local9][0];
_root.feelerClip._y = y + feelerInfo[_local9][1];
_root.feelerClip._width = feelerInfo[_local9][2];
_root.feelerClip._height = feelerInfo[_local9][3];
var _local3 = 0;
var _local8 = _root.chars.length;
var _local6 = false;
while (_local3 < _local8) {
var _local5 = _root.chars[_local3] + "Clip";
if (_root.feelerClip.hitTest(_root[_local5])) {
var _local4 = _root.chars[_local3];
if ((_root[_local4].matrixVar == 2) && (_local4 != (Name + id))) {
_local6 = true;
break;
}
}
_local3++;
}
if (!_local6) {
var _local10 = ((_root.advanceDir == "L") ? "R" : "L");
if (dirArray[_local9] != _local10) {
_local7.push(dirArray[_local9]);
}
}
_local9++;
}
_local9 = 0;
_local11 = _local7.length;
if (_local9 < _local11) {
if (_local7[_local9] == _root.advanceDir) {
return(_root.advanceDir);
}
return(_local7[random(_local7.length)]);
}
}
function death() {
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 10000;
_root.powerUp(x, y, 93);
if (matrixVar == 1) {
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
}
var _local3 = 0;
var _local4 = _root["form" + form[0]].length;
while (_local3 < _local4) {
if (_root["form" + form[0]][_local3] == ("bomberB" + id)) {
_root["form" + form[0]].splice(_local3, 1);
if (_root["form" + form[0]].length == 0) {
delete _root["form" + form[0]];
if (_root["formB" + form[0]] == "matrixed") {
_local3 = 0;
_local4 = random(2) + 2;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin10"]);
_local3++;
}
_root.stats.score = _root.stats.score + 10000;
} else {
_local3 = 0;
_local4 = random(3) + 3;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin10"]);
_local3++;
}
_root.stats.score = _root.stats.score + 20000;
}
delete _root["formB" + form[0]];
}
break;
}
_local3++;
}
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(80, 130), _root.randRange(75, 100), "Purple"]);
_root.audio.playLevel4("bomberX" + (random(3) + 1), _root.randRange(5, 11));
var _local5 = 0;
var _local6 = random(3);
while (_local5 < _local6) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "bomberB", "Purple"]);
_local5++;
}
_root.createEnemySoul([x + (clip._width / 2), y + (clip._height / 2), "red"]);
_root.removeChar("bomberB" + id);
f2 = "";
}
function advance() {
dir = _root.advanceDir;
xMovT = ((_root.advanceDir == "L") ? (-1 * (speed / 2)) : (1 * (speed / 2)));
clip.flame.gotoAndStop(_root.advanceDir);
clip.flame._alpha = 50;
f2 = "advancing";
}
function advancing() {
c++;
if (c > advanceMax) {
xMovT = 0;
c = 0;
f2 = "wait";
clip.flame.gotoAndStop("D");
clip.flame._alpha = 100;
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("hindSight");
_root.sightClip._x = x;
_root.sightClip._y = y;
if (_root.advanceDir == "L") {
_root.sightClip._rotation = 180;
}
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
_root.broBehind();
}
removeMovieClip(_root.sightClip);
}
}
function newDir() {
if (random(10) > (1 + _root.dif.wander)) {
this[axis + "MovT"] = 0;
dir = _root.getDir(x, y);
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
} else {
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
function wander() {
if (random(100) > (95 + _root.dif.wander)) {
newDir();
} else if (random(100) > 97) {
if ((dir == "L") || (dir == "R")) {
bomb.dir = ((_root[_root.char].y < y) ? "U" : "D");
ejectBomb();
} else {
laserScope();
}
}
}
function bombRaid() {
clip.gotoAndPlay("raid" + dir);
bomb.c = 0;
bomb.cMax = _root.randRange(5, 10);
bomb.cMax = bomb.cMax * (1 / _root.dif.speed);
bomb.dir = ((_root[_root.char].y < y) ? "U" : "D");
f2 = "bombRaiding";
}
function bombRaiding() {
xMovT = xMovT * 1.02;
bomb.c++;
if (bomb.c >= bomb.cMax) {
bomb.c = 0;
bomb.cMax = _root.randRange(8, 15);
bomb.cMax = bomb.cMax * (1 / _root.dif.speed);
ejectBomb();
}
}
function ejectBomb() {
clip.bomb.gotoAndPlay("eject" + bomb.dir);
_root.enemyShotID++;
_root["bomberBBomb" + _root.enemyShotID] = new classes.shots.BomberBBomb(x + 6, y + 6, xMovT, bomb.dir, _root.enemyShotID);
_root.addEnemyShot("bomberBBomb" + _root.enemyShotID);
_root.audio.playLevel4("bomberLaunch" + (random(3) + 1), _root.randRange(9, 14));
}
function laserScope() {
laser.c = 0;
laser.c2 = 0;
laser.c2Max = _root.randRange(2, 4);
f2 = "laserScoping";
speed = speed / 3;
this[axis + "MovT"] = this[axis + "MovT"] / 3;
clip.body.flame._alpha = 50;
clip.eyes.gotoAndPlay("spin");
}
function laserScoping() {
laser.c++;
if (laser.c == 30) {
laser.c2++;
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("bomberBLaser");
_root.sightClip._x = x;
_root.sightClip._y = y;
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
laser.dir = "L";
fireLaser(false);
} else {
_root.sightClip._rotation = 180;
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
laser.dir = "R";
fireLaser(false);
}
}
removeMovieClip(_root.sightClip);
laser.c = 0;
}
if (laser.c2 == laser.c2Max) {
speed = speedOrig;
this[axis + "MovT"] = this[axis + "MovT"] * 3;
clip.body.flame._alpha = 100;
f2 = "wander";
}
}
function fireLaser(pmatrixed) {
laser.matrixed = pmatrixed;
f2 = "";
clip.laser.gotoAndPlay("fire" + laser.dir);
clip.eyes.gotoAndStop(laser.dir);
laser.l = _root.randRange(10, 30);
laser.firing = true;
laser.c = 0;
}
function stopLaserFire() {
laser.firing = false;
clip.laser.gotoAndPlay("endFire" + laser.dir);
if (!laser.matrixed) {
speed = speedOrig;
this[axis + "MovT"] = this[axis + "MovT"] * 3;
clip.body.flame._alpha = 100;
f2 = "wander";
}
}
function death2() {
_root.removeChar("bomberB" + id);
f2 = "";
}
function main() {
this[f2]();
if (oldDir != dir) {
if (f2 != "wait") {
clip.flame.gotoAndStop(dir);
}
if ((oldDir == undefined) || (dir == "F")) {
clip.eyes.gotoAndStop(dir);
} else if ((dir == "U") || (dir == "D")) {
clip.eyes.gotoAndStop(oldDir);
} else if (random(3) > 0) {
if (f2 != "wait") {
clip.flame.flame1.gotoAndPlay("start1");
}
if (dir == "R") {
clip.eyes.gotoAndPlay("LtoR");
} else {
clip.eyes.gotoAndPlay("RtoL");
}
} else {
if (f2 != "wait") {
clip.flame.flame1.gotoAndPlay("start2");
}
clip.eyes.gotoAndPlay("spin" + dir);
}
}
oldDir = dir;
if (laser.firing) {
laser.c++;
if (laser.c == 20) {
var _local9 = ((laser.dir == "L") ? -30 : 18);
_root["bomberBLaser" + id] = new classes.shots.BomberBLaser(x + _local9, y - 3, laser.dir, laser.l, id);
_root.addEnemyShot("bomberBLaser" + id);
_root.audio.playLevel3("bomberALaser", _root.randRange(15, 22));
}
}
if (nudging) {
xA = xA * 0.5;
yA = yA * 0.5;
nc++;
var _local8 = 255 - (nc * 17);
colorTrans.greenOffset = _local8 / 1.5;
colorTrans.blueOffset = _local8;
trans.colorTransform = colorTrans;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
colorTrans.greenOffset = colorR;
colorTrans.blueOffset = colorR;
trans.colorTransform = colorTrans;
}
}
var _local4 = 0;
var _local7 = _root.broShots.length;
while (_local4 < _local7) {
var _local6 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local6])) {
var _local3 = _root.broShots[_local4];
var _local5 = life;
life = life - _root[_local3].power;
if (life < 1) {
f2 = "death";
} else {
nudge(_root[_local3].xMov, _root[_local3].yMov, 5);
_root.audio.playLevel4("bomberHit" + (random(3) + 1), _root.randRange(5, 11));
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local5);
break;
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
f2 = "death";
}
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
delete _root["form" + form[0]];
delete _root["formB" + form[0]];
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - 1;
} else if (xMovT > xMov) {
xMov = xMov + 1;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 1;
} else if (yMovT > yMov) {
yMov = yMov + 1;
} else {
yMov = yMovT;
}
x = x + (xMov + xA);
y = y + ((yMov + yA) + (0.5 * Math.sin((hc = hc + 0.1))));
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 8;
var speed = 8;
var f2 = "";
var xDestMet = false;
var yDestMet = false;
var c = 0;
var feelerInfo = [[-400, 0, 400, 40], [0, 0, 400, 40], [0, -400, 40, 400], [0, 0, 40, 400]];
var dirArray = ["L", "R", "U", "D"];
var life = 60;
var nudging = false;
var nc = 0;
var xA = 0;
var yA = 0;
var power = 35;
var hc = 0;
var Name = "bomberB";
}
Symbol 4672 MovieClip [__Packages.classes.shots.BomberBBomb] Frame 0
class classes.shots.BomberBBomb
{
var x, y, id, dir, clip, xMov, yMov, cMax, xDiv, yDiv;
function BomberBBomb (px, py, pxMov, pdir, pid) {
x = px;
y = py;
id = pid;
dir = pdir;
_root.d++;
clip = _root.attachMovie("bomberBBomb", ("bomberBBomb" + id) + "Clip", _root.d + 3600);
clip._x = x;
clip._y = y;
xMov = pxMov;
yMov = ((dir == "U") ? -7 : 7);
cMax = _root.randRange(30, 60);
xDiv = _root.randRange2(0.99, 0.97);
yDiv = _root.randRange2(0.99, 0.97);
}
function hit() {
explo();
yank = true;
}
function bombed() {
explo();
yank = true;
}
function explo() {
_root.createExploB([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(90, 120), 100, "C"]);
var _local3 = 0;
var _local4 = random(2) + 3;
while (_local3 < _local4) {
_root.createExploB([(x + (clip._width / 2)) + _root.randRange(-25, 25), (y + (clip._height / 2)) + _root.randRange(-25, 25), _root.randRange(40, 75), _root.randRange(26, 60), "C"]);
_local3++;
}
}
function main() {
c++;
xMov = xMov * xDiv;
yMov = yMov * yDiv;
if (c >= cMax) {
explo();
yank = true;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
explo();
_root[_root.char].hit(xMov, yMov, 100, power);
yank = true;
}
var _local4 = 0;
var _local6 = _root.broShots.length;
while (_local4 < _local6) {
var _local5 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local5])) {
explo();
yank = true;
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
var _local3 = _root.broShots[_local4];
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(20);
}
_local4++;
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
if (yank) {
_root.audio.playLevel4("bomberBombX" + (random(3) + 1), _root.randRange(13, 22));
_root.removeEnemyShot("bomberBBomb" + id);
yank = false;
}
}
var c = 0;
var power = 50;
var yank = false;
var Name = "bomberBBomb";
}
Symbol 4673 MovieClip [__Packages.classes.shots.BomberBLaser] Frame 0
class classes.shots.BomberBLaser
{
var id, x, y, dir, l, xInc, clip;
function BomberBLaser (px, py, pdir, pl, pid) {
id = pid;
x = px;
y = py;
dir = pdir;
l = pl;
xInc = ((dir == "L") ? -30 : 30);
_root.d++;
clip = _root.createEmptyMovieClip(("bomberBLaser" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
_root.d++;
clip.attachMovie("bomberBLaserSeg", "bomberBLaserSeg1Clip" + id, _root.d);
}
function main() {
c++;
if (((x + ((c - 1) * xInc)) < 1050) && ((x + ((c - 1) * xInc)) > -50)) {
_root.d++;
var _local3 = clip.attachMovie("bomberBLaserSeg", (("bomberBLaserSeg" + c) + "Clip") + id, _root.d);
_local3._x = (c - 1) * xInc;
_local3.gotoAndStop(c);
} else if (c < l) {
l = c;
}
if (c > l) {
if (!endMessageSent) {
_root["bomberB" + id].stopLaserFire();
endMessageSent = true;
}
removeMovieClip(clip[(("bomberBLaserSeg" + (c - l)) + "Clip") + id]);
}
if (_root["bomberB" + id].laser.firing) {
clip._x = ((dir == "L") ? (_root["bomberB" + id].x - 30) : (_root["bomberB" + id].x + 18));
clip._y = _root["bomberB" + id].y - 3;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xInc, 0, 100, power);
}
if (clip._width < 30) {
_root.removeEnemyShot("bomberBLaser" + id);
}
}
var power = 45;
var c = 1;
var endMessageSent = false;
var Name = "bomberBLaser";
}
Symbol 4674 MovieClip [__Packages.classes.fx.Randoms] Frame 0
class classes.fx.Randoms
{
var num, freq, typeArray, c, c2;
function Randoms (pnum, pfreq, ptypeArray) {
num = pnum;
freq = pfreq;
typeArray = ptypeArray.slice();
c = 0;
c2 = freq + _root.randRange(-1 * freq, freq);
c2 = c2 * (1 / _root.dif.speed);
}
function main() {
c++;
if (c >= c2) {
var _local3 = random(4);
_root.createWaveCreator([10, _root.randRange(_root.posArray2[_local3][0], _root.posArray2[_local3][1]), _root.randRange(_root.posArray2[_local3][2], _root.posArray2[_local3][3]), typeArray[random(typeArray.length)], random(num) + 1, [_root.dirArray[_local3], _root.randRange(100, 500), "break"], [["free"], ["free"], ["free"], ["free"], ["free"], ["free"]]]);
c = 0;
c2 = freq + _root.randRange(-1 * freq, freq);
c2 = c2 * (1 / _root.dif.speed);
}
}
var Name = "randoms";
}
Symbol 4675 MovieClip [__Packages.classes.fx.Shrapnel] Frame 0
class classes.fx.Shrapnel
{
var x, y, type, id, special, color, clip, xMov, yMov, cMax, ce, rotateVar, rotateInt;
function Shrapnel (px, py, ptype, pcolor, pspecial, pblack, pid) {
x = px;
y = py;
type = ptype;
id = pid;
special = pspecial;
color = pcolor;
black = pblack;
if (special == undefined) {
special = false;
}
_root.d++;
clip = _root.attachMovie("shrapnel", ("shrapnel" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
xMov = _root.randRange(-5, 5);
yMov = _root.randRange(-5, 5);
cMax = _root.randRange(50, 100);
if (type.charAt(0) != "B") {
var _local3 = _root[type + "Shrap"].slice();
var _local6 = _local3[0];
var _local7 = _local3[random(_local3.length - 1) + 1];
if ((_local7.charAt(0) == "C") && (random(2) > 0)) {
clip.gotoAndPlay(type + _local7);
smoker = true;
} else {
clip.bitColor = _local7;
if (_local6 == "light") {
clip.gotoAndPlay("generic1");
} else {
clip.gotoAndPlay("generic2");
}
}
} else {
var _local3 = _root[type + "Shrap"].slice();
var _local7 = _local3[random(_local3.length)];
clip.gotoAndPlay(type + _local7);
smoker = true;
}
if (black) {
var _local4 = new flash.geom.Transform(clip);
var _local5 = new flash.geom.ColorTransform(0, 0, 0, 1, -255, -255, -255, 0);
_local4.colorTransform = _local5;
}
ce = _root.randRange(15, 150);
rotateVar = ((random(2) > 0) ? 1 : -1);
rotateInt = _root.randRange(2, 5);
if (smoker) {
rotateInt++;
}
if (special) {
cMax = 1000;
}
}
function main() {
c++;
if ((c / rotateInt) == Math.round(c / rotateInt)) {
clip._rotation = clip._rotation + (90 * rotateVar);
}
if (c >= cMax) {
yank = true;
}
if (smoker) {
if (random(10) > 8) {
_root.shrapID++;
_root["shipSmoke" + _root.shrapID] = new classes.fx.ShipSmoke(x, y, _root.shrapID, black);
_root.addFX("shipSmoke" + _root.shrapID);
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].nudge(xMov * 1.5, yMov * 1.5, clip._alpha * 2);
}
}
if (c == ce) {
if (black && (color == "")) {
if (special) {
_root.createExploD([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(50, 80), 90]);
} else {
_root.createExploD([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(30, 60), 75 - (c * (100 / cMax))]);
}
} else if (special) {
if (black) {
var _local3 = 0;
var _local4 = _root.randRange(1, 3);
while (_local3 < _local4) {
_root.createExploA([(x + (clip._width / 2)) + _root.randRange(-25, 25), (y + (clip._height / 2)) + _root.randRange(-25, 25), _root.randRange(75, 150), 90, color]);
_local3++;
}
} else {
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(50, 80), 90, color]);
}
} else {
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(30, 60), 75 - (c * (100 / cMax)), color]);
}
_root.audio.playLevel4("shrapX" + random(5), _root.randRange(5, 15));
yank = true;
}
if (!special) {
clip._alpha = 110 - (c * (110 / cMax));
}
if (yank) {
_root.removeFX("shrapnel" + id);
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var c = 0;
var smoker = false;
var yank = false;
var black = false;
}
Symbol 4676 MovieClip [__Packages.classes.fx.ShipSmoke] Frame 0
class classes.fx.ShipSmoke
{
var id, x, y, clip, xMov, yMov, c, cMax, alphaStart;
function ShipSmoke (px, py, pid, pblack) {
id = pid;
x = px;
y = py;
black = pblack;
_root.d++;
clip = _root.attachMovie("shipSmoke", ("shipSmoke" + id) + "Clip", _root.d + 499990);
clip._x = x;
clip._y = y;
xMov = _root.randRange2(-2, 2);
yMov = _root.randRange2(-2, 2);
c = 0;
cMax = _root.randRange(15, 30);
alphaStart = _root.randRange(50, 110);
var _local3 = _root.randRange2(0.7, 1.2);
clip._xscale = clip._xscale * _local3;
clip._yscale = clip._yscale * _local3;
if (black) {
var _local4 = new flash.geom.Transform(clip);
var _local5 = new flash.geom.ColorTransform(0, 0, 0, 1, -255, -255, -255, 0);
_local4.colorTransform = _local5;
}
}
function main() {
c++;
if (c == cMax) {
_root.removeFX("shipSmoke" + id);
}
yMov = yMov * 1.03;
clip._alpha = alphaStart - (c * (alphaStart / cMax));
clip._xscale = clip._xscale * 1.04;
clip._yscale = clip._yscale * 1.04;
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var black = false;
var Name = "shipSmoke";
}
Symbol 4677 MovieClip [__Packages.classes.fx.ExploD] Frame 0
class classes.fx.ExploD
{
var id, x, y, scale, a, clip;
function ExploD (px, py, pscale, pa, pid) {
id = pid;
x = px;
y = py;
scale = pscale;
a = pa + 15;
_root.d++;
clip = _root.attachMovie("exploD", ("exploD" + id) + "Clip", _root.d + 83000);
clip._x = x;
clip._y = y;
clip._xscale = scale;
clip._yscale = scale;
clip._alpha = a;
}
function main() {
if (random(5) == 0) {
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].nudge(_root.randRange(-9, 9), _root.randRange(-9, 9), scale - _root.randRange(10, 40));
}
}
if (clip.end) {
_root.removeFX("exploD" + id);
}
}
var Name = "exploD";
}
Symbol 4678 MovieClip [__Packages.classes.enemy.DroidC] Frame 0
class classes.enemy.DroidC
{
var x, y, moveScript, matrixCoords, id, form, clip, advanceMax, advanceMax2, matrixVar, colorR, trans, colorTrans, dir, f2, ac, ep, axis, xDest, yDest, oldDir;
function DroidC (px, py, pmoveScript, pmatrixCoords, pform, pid) {
x = px;
y = py;
moveScript = pmoveScript.slice();
matrixCoords = pmatrixCoords.slice();
id = pid;
form = pform.slice();
_root.d++;
clip = _root.attachMovie("droidC", ("droidC" + id) + "Clip", _root.d + 50000);
clip._x = x;
clip._y = y;
speed = speed * _root.dif.speed;
speedOrig = speed;
life = life * _root.dif.life;
advanceMax = 60 / (speed / 2);
advanceMax2 = 50 / (speed / 2);
if (matrixCoords[0] == "free") {
matrixVar = 0;
} else {
matrixVar = 1;
}
speedVar();
colorR = _root.randRange(-30, 30);
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, colorR, colorR, colorR, 0);
trans.colorTransform = colorTrans;
parseMoveScript();
_root.stats.created++;
}
function broBehind() {
dir = _root.advanceDir;
}
function bombed(num) {
f2 = "death";
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
}
function missleCreep() {
matrixVar = 0;
dummyPlanted = true;
_root.d++;
_root["dummy" + id] = new classes.misc.Dummy(x, y, id);
_root.addEnemyShot("dummy" + id);
clip.body.flame.gotoAndPlay("advance");
ac = 0;
ep = _root.randRange(20, 60);
speed = speed / 2;
yMovT = 0;
xMovT = ((dir == "L") ? (-1 * speed) : (speed));
f2 = "missleSeq";
}
function missleSeq() {
ac++;
if (ac == ep) {
if (dir == "L") {
var _local6 = 6;
var _local10 = 18;
} else if (dir == "R") {
var _local6 = 0;
var _local10 = 18;
} else if (dir == "U") {
var _local6 = 6;
var _local10 = 6;
} else {
var _local6 = 18;
var _local10 = 0;
}
_root.enemyShotID++;
_root["droidCMissle" + _root.enemyShotID] = new classes.shots.DroidCMissle(x + _local6, y + _local10, dir, _root.enemyShotID);
_root.addEnemyShot("droidCMissle" + _root.enemyShotID);
xMovT = 0;
_root.audio.playLevel3("droidCMissle2", _root.randRange(22, 33));
}
if (ac == (ep + 3)) {
clip.body.gotoAndPlay("flip");
}
if (ac == (ep + 11)) {
speed = speedOrig;
dir = ((dir == "L") ? "R" : "L");
axis = "x";
xMovT = ((dir == "L") ? (-1 * speed) : (speed));
clip.body.gotoAndStop("main");
clip.body.flame.gotoAndPlay("startMain");
var _local5 = ((_root.advanceDir == "L") ? "R" : "L");
var _local4 = ((random(2) == 1) ? "U" : "D");
var _local9 = ((_local4 == "U") ? "D" : "U");
var _local7 = _root.randRange(20, 50);
var _local3 = (((y < 150) && (y > 450)) ? (_root.randRange(100, 300)) : (_root.randRange(80, 150)));
var _local8 = (((x < 700) && (x > 300)) ? (_root.randRange(100, 300)) : (_root.randRange(80, 150)));
moveScript = [_local5, _local7, _local4, _local3, _local5, _local8, _local9, _local3, "return"];
parseMoveScript();
}
}
function gotoMatrix2() {
xDest = _root[("dummy" + id) + "Clip"]._x;
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speed = speedOrig;
}
if ((Math.abs(x - xDest) < (speed + 1)) && (Math.abs(y - yDest) < (speed + 1))) {
x = (clip._x = xDest);
y = (clip._y = yDest);
xMovT = (xMov = 0);
yMovT = (yMov = 0);
matrixVar = 2;
if (dummyPlanted) {
_root.removeEnemyShot("dummy" + id);
dummyPlanted = false;
}
dir = _root.advanceDir;
clip.body.flame.gotoAndPlay("still");
f2 = "wait";
}
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.9999, 1.0001);
}
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
this[axis + "MovT"] = 0;
if (matrixCoords[0] == "free") {
f2 = "wander";
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else {
xDest = ((_root.advanceDir == "L") ? ((matrixCoords[0] * 60) + 320) : (matrixCoords[0] * 60));
yDest = (matrixCoords[1] * 50) + 10;
axis = ((Math.abs(xDest - x) > Math.abs(yDest - y)) ? "x" : "y");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speedVar();
f2 = "gotoMatrix";
}
} else if (dir == "return") {
xDest = _root[("dummy" + id) + "Clip"]._x;
yDest = _root[("dummy" + id) + "Clip"]._y;
this[axis + "MovT"] = 0;
axis = ((Math.abs(xDest - x) > Math.abs(yDest - y)) ? "x" : "y");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speedVar();
f2 = "gotoMatrix2";
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function gotoMatrix() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speed = speedOrig;
}
if ((Math.abs(x - xDest) < (speed + 1)) && (Math.abs(y - yDest) < (speed + 1))) {
x = (clip._x = xDest);
y = (clip._y = yDest);
xMovT = (xMov = 0);
yMovT = (yMov = 0);
matrixVar = 2;
dir = _root.advanceDir;
clip.body.flame.gotoAndPlay("still");
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
_root["formB" + form[0]] = "matrixed";
f2 = "wait";
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function evade() {
if (matrixVar == 2) {
missleCreep();
}
}
function wait() {
if ((random(1000) >= (990 + (_root.dif.wait * 2))) && (_root.matrixComplete)) {
dir = findDir();
if (dir == _root.advanceDir) {
if (random(15) > 2) {
missleCreep();
} else {
ep = _root.randRange(20, 80);
ep = ep * (1 / _root.dif.speed);
ac = 0;
xMovT = ((_root.advanceDir == "L") ? (-1.1 * speed) : (1.1 * speed));
clip.body.gotoAndPlay("attack");
clip.body.face.gotoAndPlay("attack");
clip.body.flame.gotoAndPlay("startAttack");
f2 = "attacking";
matrixVar = 0;
}
} else if ((dir == "U") || (dir == "D")) {
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
matrixVar = 0;
c = 0;
f2 = "leavingMatrix";
clip.body.flame.gotoAndPlay("startMain");
} else {
dir = _root.advanceDir;
}
}
}
function leavingMatrix() {
c++;
if (c > advanceMax2) {
c = 0;
dir = findDir();
if (dir == _root.advanceDir) {
if (random(2) == 1) {
missleCreep();
} else {
ep = _root.randRange(20, 80);
ep = ep * (1 / _root.dif.speed);
ac = 0;
yMovT = 0;
xMovT = ((_root.advanceDir == "L") ? (-1.1 * speed) : (1.1 * speed));
clip.body.gotoAndPlay("attack");
clip.body.face.gotoAndPlay("attack");
clip.body.flame.gotoAndPlay("attack");
f2 = "attacking";
}
}
}
}
function findDir() {
_root.d++;
_root.attachMovie("feeler", "feelerClip", _root.d);
var _local7 = [];
var _local9 = 0;
var _local11 = dirArray.length;
while (_local9 < _local11) {
_root.feelerClip._x = x + feelerInfo[_local9][0];
_root.feelerClip._y = y + feelerInfo[_local9][1];
_root.feelerClip._width = feelerInfo[_local9][2];
_root.feelerClip._height = feelerInfo[_local9][3];
var _local3 = 0;
var _local8 = _root.chars.length;
var _local6 = false;
while (_local3 < _local8) {
var _local5 = _root.chars[_local3] + "Clip";
if (_root.feelerClip.hitTest(_root[_local5])) {
var _local4 = _root.chars[_local3];
if ((_root[_local4].matrixVar == 2) && (_local4 != (Name + id))) {
_local6 = true;
break;
}
}
_local3++;
}
if (!_local6) {
var _local10 = ((_root.advanceDir == "L") ? "R" : "L");
if (dirArray[_local9] != _local10) {
_local7.push(dirArray[_local9]);
}
}
_local9++;
}
_local9 = 0;
_local11 = _local7.length;
if (_local9 < _local11) {
if (_local7[_local9] == _root.advanceDir) {
return(_root.advanceDir);
}
return(_local7[random(_local7.length)]);
}
}
function attacking() {
ac++;
xMovT = xMovT * 1.01;
yMovT = yMovT * 1.01;
speed = speed * 1.01;
if (ac == ep) {
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
ac = 0;
ep = _root.randRange(20, 80);
}
}
function death() {
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 5000;
if (matrixVar == 1) {
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
}
_root.powerUp(x, y, 94);
if (dummyPlanted) {
_root.removeEnemyShot("dummy" + id);
dummyPlanted = false;
}
var _local3 = 0;
var _local4 = _root["form" + form[0]].length;
while (_local3 < _local4) {
if (_root["form" + form[0]][_local3] == ("droidC" + id)) {
_root["form" + form[0]].splice(_local3, 1);
if (_root["form" + form[0]].length == 0) {
delete _root["form" + form[0]];
delete _root["formB" + form[0]];
if (_root["formB" + form[0]] == "matrixed") {
_local3 = 0;
_local4 = random(2) + 1;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin5"]);
_local3++;
}
_root.stats.score = _root.stats.score + 5000;
} else {
_local3 = 0;
_local4 = random(2) + 2;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin5"]);
_local3++;
}
_root.stats.score = _root.stats.score + 10000;
}
delete _root["formB" + form[0]];
}
break;
}
_local3++;
}
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(80, 130), _root.randRange(75, 100)], "Yellow");
_local3 = 0;
_local4 = random(3);
while (_local3 < _local4) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "droidC", "Yellow"]);
_local3++;
}
_root.createEnemySoul([x + (clip._width / 2), y + (clip._height / 2), "red"]);
_root.audio.playLevel4("droidX" + (random(3) + 1), _root.randRange(22, 33));
_root.removeChar("droidC" + id);
f2 = "";
}
function advance() {
dir = _root.advanceDir;
clip.body.flame.gotoAndPlay("advance");
xMovT = ((_root.advanceDir == "L") ? (-1 * (speed / 2)) : (1 * (speed / 2)));
f2 = "advancing";
}
function advancing() {
c++;
if (c > advanceMax) {
xMovT = 0;
c = 0;
f2 = "wait";
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("hindSight");
_root.sightClip._x = x;
_root.sightClip._y = y;
_root.sightClip._rotation = 0;
if (_root.advanceDir == "L") {
_root.sightClip._rotation = 180;
}
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
_root.broBehind();
}
removeMovieClip(_root.sightClip);
}
}
function wander() {
if (random(100) > (98 + _root.dif.wander)) {
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
function death2() {
_root.removeChar("droidC" + id);
f2 = "";
}
function main() {
this[f2]();
if (oldDir != dir) {
clip.gotoAndStop("fly" + dir);
}
oldDir = dir;
if (nudging) {
xA = xA * 0.5;
yA = yA * 0.5;
nc++;
var _local8 = 255 - (nc * 17);
colorTrans.blueOffset = _local8;
trans.colorTransform = colorTrans;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
colorTrans.blueOffset = colorR;
trans.colorTransform = colorTrans;
}
}
var _local4 = 0;
var _local7 = _root.broShots.length;
while (_local4 < _local7) {
var _local6 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local6])) {
var _local3 = _root.broShots[_local4];
var _local5 = life;
life = life - _root[_local3].power;
if (life < 1) {
f2 = "death";
} else {
_root.audio.playLevel4("droidHit" + (random(2) + 1), _root.randRange(3, 8));
nudge(_root[_local3].xMov, _root[_local3].yMov, 10);
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local5);
break;
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
f2 = "death";
}
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
delete _root["form" + form[0]];
delete _root["formB" + form[0]];
if (dummyPlanted) {
_root.removeEnemyShot("dummy" + id);
dummyPlanted = false;
}
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - 1.5;
} else if (xMovT > xMov) {
xMov = xMov + 1.5;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 1.5;
} else if (yMovT > yMov) {
yMov = yMov + 1.5;
} else {
yMov = yMovT;
}
x = x + (xMov + xA);
y = y + (yMov + yA);
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xmt = 0;
var ymt = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 9;
var speed = 9;
var xDestMet = false;
var yDestMet = false;
var c = 0;
var feelerInfo = [[-400, 0, 400, 40], [0, 0, 400, 40], [0, -400, 40, 400], [0, 0, 40, 400]];
var dirArray = ["L", "R", "U", "D"];
var life = 10;
var nc = 0;
var xA = 0;
var yA = 0;
var nudging = false;
var dummyPlanted = false;
var power = 20;
var Name = "droidC";
}
Symbol 4679 MovieClip [__Packages.classes.misc.Dummy] Frame 0
class classes.misc.Dummy
{
var x, y, id, clip;
function Dummy (px, py, pid) {
x = px;
y = py;
id = pid;
_root.d++;
clip = _root.attachMovie("dummy", ("dummy" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
}
function advance() {
clip._x = ((_root.advanceDir == "L") ? (clip._x - 60) : (clip._x + 60));
}
var Name = "dummy";
}
Symbol 4680 MovieClip [__Packages.classes.shots.DroidCMissle] Frame 0
class classes.shots.DroidCMissle
{
var x, y, id, dir, clip, axis, speed, ac, ep;
function DroidCMissle (px, py, pdir, pid) {
x = px;
y = py;
id = pid;
dir = pdir;
_root.d++;
clip = _root.attachMovie("droidCMissle", ("droidCMissle" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip.id = id;
xMov = 0;
yMov = 0;
if (dir == "U") {
axis = "y";
yMovT = -8;
xMovT = 0;
} else if (dir == "D") {
axis = "y";
yMovT = 8;
xMovT = 0;
} else if (dir == "R") {
axis = "x";
yMovT = 0;
xMovT = 8;
} else {
axis = "x";
yMovT = 0;
xMovT = -8;
}
speed = 8;
xMov = xMov * _root.dif.speed;
yMov = yMov * _root.dif.speed;
speed = speed * _root.dif.speed;
clip.gotoAndStop("fly" + dir);
xMovT = xMovT * _root.randRange2(0.9, 1.1);
yMovT = yMovT * _root.randRange2(0.9, 1.1);
ac = 0;
ep = _root.randRange(10, 30);
}
function hit() {
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(60, 80), _root.randRange(85, 100), "Purple"]);
_root.audio.playLevel4("missleX" + (random(3) + 1), _root.randRange(25, 30));
var _local3 = 0;
var _local5 = random(3);
var _local4 = ["grey", "red", "grey2"];
while (_local3 < _local5) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), _local4[random(2)]]);
_local3++;
}
yank = true;
}
function bombed() {
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(60, 80), _root.randRange(85, 100), "Purple"]);
_root.audio.playLevel4("missleX" + (random(3) + 1), _root.randRange(25, 30));
var _local3 = 0;
var _local5 = random(3);
var _local4 = ["grey", "red", "grey2"];
while (_local3 < _local5) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), _local4[random(2)]]);
_local3++;
}
yank = true;
}
function main() {
ac++;
if (ac == ep) {
var _local8 = _root.getAngleRad(x, y);
xMovT = speed * Math.round(Math.cos(_local8));
yMovT = speed * Math.round(Math.sin(_local8));
if (xMovT < -1) {
var _local9 = "L";
} else if (xMovT > 1) {
var _local9 = "R";
} else {
var _local9 = "";
}
if (yMovT < -1) {
var _local10 = "U";
} else if (yMovT > 1) {
var _local10 = "D";
} else {
var _local10 = "";
}
clip.gotoAndStop(("fly" + _local9) + _local10);
ac = 0;
ep = _root.randRange(10, 30);
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(60, 80), _root.randRange(85, 100)]);
_root.audio.playLevel4("missleX" + (random(3) + 1), _root.randRange(25, 30));
var _local3 = 0;
var _local6 = random(3);
var _local5 = ["grey", "red", "grey2"];
while (_local3 < _local6) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), _local5[random(2)]]);
_local3++;
}
yank = true;
}
var _local3 = 0;
var _local6 = _root.broShots.length;
while (_local3 < _local6) {
var _local7 = _root.broShots[_local3] + "Clip";
if (clip.hitTest(_root[_local7])) {
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
var _local4 = _root.broShots[_local3];
_root[_local4].exploX = x + (clip._width / 2);
_root[_local4].exploY = y + (clip._height / 2);
_root[_local4].hit(2);
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(60, 80), _root.randRange(85, 100)]);
_root.audio.playLevel4("missleX" + (random(3) + 1), _root.randRange(25, 30));
_local3 = 0;
_local6 = random(3);
var _local5 = ["grey", "red", "grey2"];
while (_local3 < _local6) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), _local5[random(2)]]);
_local3++;
}
yank = true;
}
_local3++;
}
if ((((x > 1050) || (x < -50)) || (y > 650)) || (y < -50)) {
yank = true;
}
if (xMovT < xMov) {
xMov = xMov - 0.5;
} else if (xMovT > xMov) {
xMov = xMov + 0.5;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 0.5;
} else if (yMovT > yMov) {
yMov = yMov + 0.5;
} else {
yMov = yMovT;
}
x = x + xMov;
y = y + yMov;
if (yank) {
yank = false;
_root.removeEnemyShot("droidCMissle" + id);
}
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xMovT = 0;
var yMovT = 0;
var Name = "droidCMissle";
var power = 25;
var yank = false;
}
Symbol 4681 MovieClip [__Packages.classes.misc.Intro] Frame 0
class classes.misc.Intro
{
var clip, clip2, trans, colorTrans, keyListener, reconArray, mainMenu, reconKey, reconIndex, neonVar;
function Intro () {
clip = _root.attachMovie("introScreen", "introScreen", 90000);
clip.mainClip.cacheAsBitmap = true;
clip.bro1._visible = false;
clip.bro2._visible = false;
clip2 = _root.attachMovie("introOverlay", "introOverlay", 110000);
_root.introBro1 = new classes.bro.IntroBro1(735, 468);
_root.addChar("introBro1");
_root.introBro2 = new classes.bro.IntroBro2(480, 462);
_root.addChar("introBro2");
trans = new flash.geom.Transform(clip.title.neon);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0);
trans.colorTransform = colorTrans;
_root.starB = new classes.fx.StarB();
_root.addFX("starB");
keyListener = new Object();
keyListener.onKeyDown = function () {
_root.audio.playLevel5("computerBlip" + (random(16) + 1), _root.randRange(22, 28));
var _local2 = Key.getCode();
if (_root.intro.reconfig) {
_root.intro.sendReconKey(_local2, Key.getAscii());
} else if (_local2 == 39) {
_root.intro.pressRight();
} else if (_local2 == 37) {
_root.intro.pressLeft();
} else if (_local2 == 40) {
_root.intro.pressDown();
} else if (_local2 == 38) {
_root.intro.pressUp();
} else if (_local2 == 13) {
_root.intro.pressEnter();
}
};
Key.addListener(keyListener);
reconArray = [38, 40, 37, 39, 87, 83, 65, 68];
mainMenu = new Object();
mainMenu.array = new Array();
mainMenu.currentIndex = 0;
mainMenu.focus = "mainM";
mainMenu.startIt = new Object();
mainMenu.options = new Object();
mainMenu.info = new Object();
mainMenu.options.array = new Array();
mainMenu.options.dif = new Object();
mainMenu.options.pass = new Object();
mainMenu.options.exit = new Object();
mainMenu.startIt.highlight = "startH";
mainMenu.options.highlight = "optionsH";
mainMenu.info.highlight = "infoH";
mainMenu.startIt.exec = "startGame";
mainMenu.options.exec = "optionsX";
mainMenu.info.exec = "infoX";
mainMenu.options.dif.highlight = "optionsDifH";
mainMenu.options.pass.highlight = "optionsPassH";
mainMenu.options.exit.highlight = "optionsExitH";
mainMenu.options.dif.exec = "optionsDifX";
mainMenu.options.dif.current = _root.dif.num;
mainMenu.options.pass.exec = "optionsPassX";
mainMenu.options.exit.exec = "optionsExitX";
mainMenu.array.push(mainMenu.startIt);
mainMenu.array.push(mainMenu.info);
mainMenu.array.push(mainMenu.options);
mainMenu.options.array.push(mainMenu.options.dif);
mainMenu.options.array.push(mainMenu.options.pass);
mainMenu.options.array.push(mainMenu.options.exit);
startH();
clip.screen._visible = false;
clip.menu.btStart.enabled = true;
clip.menu.btInfo.enabled = true;
clip.menu.btOptions.enabled = true;
clip.menu.btStart.onRollOver = function () {
_root.intro.startH();
};
clip.menu.btStart.onPress = function () {
_root.intro.startGame();
};
clip.menu.btInfo.onRollOver = function () {
_root.intro.infoH();
};
clip.menu.btInfo.onPress = function () {
_root.intro.infoX();
};
clip.menu.btOptions.onRollOver = function () {
_root.intro.optionsH();
};
clip.menu.btOptions.onPress = function () {
_root.intro.optionsX();
};
}
function startH() {
mainMenu.currentIndex = 0;
clip.menu.start.gotoAndStop("over");
clip.menu.options.gotoAndStop("off");
clip.menu.info.gotoAndStop("off");
}
function optionsH() {
mainMenu.currentIndex = 2;
clip.menu.start.gotoAndStop("off");
clip.menu.options.gotoAndStop("over");
clip.menu.info.gotoAndStop("off");
}
function infoH() {
mainMenu.currentIndex = 1;
clip.menu.start.gotoAndStop("off");
clip.menu.options.gotoAndStop("off");
clip.menu.info.gotoAndStop("over");
}
function optionsX() {
clip.menu.options.gotoAndStop("on");
clip.title.gotoAndStop(2);
clip.screen.gotoAndStop("options");
clip.screen._visible = true;
clip.menu.btStart.enabled = false;
clip.menu.btInfo.enabled = false;
clip.menu.btOptions.enabled = false;
clip.screen.options.btDif.onRollOver = function () {
_root.intro.optionsDifH();
};
clip.screen.options.btDif.onPress = function () {
_root.intro.optionsDifX();
};
clip.screen.options.btPass.onRollOver = function () {
_root.intro.optionsPassH();
};
clip.screen.options.btPass.onPress = function () {
_root.intro.passPress();
};
clip.screen.options.btExit.onRollOver = function () {
_root.intro.optionsExitH();
};
clip.screen.options.btExit.onPress = function () {
_root.intro.optionsExitX();
};
mainMenu.focus = "options";
mainMenu.options.currentIndex = 0;
this[mainMenu.options.array[mainMenu.options.currentIndex].highlight]();
}
function passPress() {
Selection.setFocus(clip.screen.options.pass.passBox);
}
function infoX() {
clip.menu.btStart.enabled = false;
clip.menu.btInfo.enabled = false;
clip.menu.btOptions.enabled = false;
clip.menu.info.gotoAndStop("on");
clip.title.gotoAndStop(2);
clip.screen.gotoAndStop("info");
clip.screen._visible = true;
mainMenu.focus = "info";
clip.screen.info.gotoAndStop(mainMenu.info.currentFrame);
}
function optionsDifH() {
mainMenu.options.currentIndex = 0;
mainMenu.options.passHi = false;
clip.screen.options.difficulty._alpha = 100;
clip.screen.options.pass._alpha = 15;
clip.screen.options.exit._alpha = 15;
clip.screen.options.difficulty.choices.gotoAndStop(mainMenu.options.dif.current);
}
function optionsPassH() {
if (!mainMenu.options.passHi) {
mainMenu.options.currentIndex = 1;
mainMenu.options.passHi = true;
clip.screen.options.difficulty._alpha = 15;
clip.screen.options.pass._alpha = 100;
clip.screen.options.exit._alpha = 15;
Selection.setFocus(clip.screen.options.pass.passBox);
clip.screen.options.pass.passBox.html = false;
}
}
function optionsExitH() {
mainMenu.options.currentIndex = 2;
mainMenu.options.passHi = false;
clip.screen.options.difficulty._alpha = 15;
clip.screen.options.pass._alpha = 15;
clip.screen.options.exit._alpha = 100;
}
function optionsDifX() {
var _local3 = clip.screen.options.difficulty.choices;
if (mainMenu.options.dif.current == 1) {
_local3.gotoAndStop(2);
_root.changeDif("med");
mainMenu.options.dif.current = 2;
} else if (mainMenu.options.dif.current == 2) {
_local3.gotoAndStop(3);
_root.changeDif("hard");
mainMenu.options.dif.current = 3;
} else if (mainMenu.options.dif.current == 3) {
_local3.gotoAndStop(1);
_root.changeDif("easy");
mainMenu.options.dif.current = 1;
}
}
function optionsPassX() {
var _local3 = clip.screen.options.pass.passBox.text;
if (_local3 == "super") {
_root.bro1Weapon = "superLaser";
_root.bro2Weapon = "superLaser";
_root.audio.playLevel5("computer6", _root.randRange(31, 37));
_root.audio.playLevel2("tagTeam1", 20);
} else if (_local3 == "golvl2") {
_root.level = 2;
_root.warp = true;
_root.subLevelNum = 1;
_root.bgLevel2();
_root.coins.num = (_root.coins.numT = (_root.stats.coins = (_root.stats.totalCoins = 175)));
_root.gems.num = (_root.gems.numT = (_root.stats.gems = (_root.stats.totalGems = 15)));
_root.bro1Weapon = "tripleLaserA";
_root.bro2Weapon = "tripleLaserA";
_root.audio.playLevel5("computer6", _root.randRange(31, 37));
_root.audio.playLevel2("tagTeam1", 20);
} else if (_local3 == "golvl3") {
_root.level = 3;
_root.warp = true;
_root.bgLevel3();
_root.coins.num = (_root.coins.numT = (_root.stats.coins = (_root.stats.totalCoins = 350)));
_root.gems.num = (_root.gems.numT = (_root.stats.gems = (_root.stats.totalGems = 20)));
_root.subLevelNum = 1;
_root.bro1Weapon = "tripleTwistLaser";
_root.bro2Weapon = "tripleTwistLaser";
_root.audio.playLevel5("computer6", _root.randRange(31, 37));
_root.audio.playLevel2("tagTeam1", 20);
} else if (_local3 == "ship2") {
_root.shipPass = true;
_root.bro1ShipLevel = 2;
_root.bro2ShipLevel = 2;
_root.audio.playLevel5("computer6", _root.randRange(31, 37));
_root.audio.playLevel2("tagTeam1", 20);
} else if (_local3 == "ship3") {
_root.shipPass = true;
_root.bro1ShipLevel = 3;
_root.bro2ShipLevel = 3;
_root.audio.playLevel5("computer6", _root.randRange(31, 37));
_root.audio.playLevel2("tagTeam1", 20);
}
}
function optionsExitX() {
mainMenu.options.passHi = false;
clip.menu.btStart.enabled = true;
clip.menu.btInfo.enabled = true;
clip.menu.btOptions.enabled = true;
mainMenu.focus = "mainM";
this[mainMenu.array[mainMenu.currentIndex].highlight]();
clip.title.gotoAndStop(1);
clip.screen._visible = false;
}
function infoExitX() {
clip.menu.btStart.enabled = true;
clip.menu.btInfo.enabled = true;
clip.menu.btOptions.enabled = true;
mainMenu.focus = "mainM";
this[mainMenu.array[mainMenu.currentIndex].highlight]();
clip.title.gotoAndStop(1);
clip.screen._visible = false;
}
function shiftMainMenu(num) {
mainMenu.currentIndex = mainMenu.currentIndex + num;
if (mainMenu.currentIndex < 0) {
mainMenu.currentIndex = mainMenu.array.length - 1;
}
if (mainMenu.currentIndex == mainMenu.array.length) {
mainMenu.currentIndex = 0;
}
this[mainMenu.array[mainMenu.currentIndex].highlight]();
}
function shiftOptions(num) {
mainMenu.options.currentIndex = mainMenu.options.currentIndex + num;
if (mainMenu.options.currentIndex < 0) {
mainMenu.options.currentIndex = mainMenu.options.array.length - 1;
}
if (mainMenu.options.currentIndex == mainMenu.options.array.length) {
mainMenu.options.currentIndex = 0;
}
this[mainMenu.options.array[mainMenu.options.currentIndex].highlight]();
}
function mainM(what) {
if (what == "up") {
shiftMainMenu(1);
}
if (what == "down") {
shiftMainMenu(-1);
}
if ((what == "enter") || (what == "right")) {
this[mainMenu.array[mainMenu.currentIndex].exec]();
}
}
function options(what) {
if (what == "up") {
shiftOptions(-1);
}
if (what == "down") {
shiftOptions(1);
}
if ((what == "enter") || (what == "right")) {
this[mainMenu.options.array[mainMenu.options.currentIndex].exec]();
}
if (what == "left") {
optionsExitX();
}
}
function info(what) {
if (what == "right") {
if (mainMenu.info.currentFrame != clip.screen.info._totalframes) {
mainMenu.info.currentFrame++;
clip.screen.info.gotoAndStop(mainMenu.info.currentFrame);
}
}
if (what == "left") {
if (mainMenu.info.currentFrame != 1) {
mainMenu.info.currentFrame--;
clip.screen.info.gotoAndStop(mainMenu.info.currentFrame);
} else {
infoExitX();
}
}
}
function showConfig() {
var _local5 = ["moveU", "moveD", "moveL", "moveR", "fireU", "fireD", "fireL", "fireR"];
var _local4 = 0;
while (_local4 < 8) {
var _local3 = _root[_local5[_local4]];
if ((((_local3 == 38) || (_local3 == 37)) || (_local3 == 39)) || (_local3 == 40)) {
clip.screen.info["a" + _local5[_local4]].gotoAndStop("k" + _local3);
clip.screen.info[_local5[_local4]].text = "";
} else {
clip.screen.info["a" + _local5[_local4]].gotoAndStop(1);
clip.screen.info[_local5[_local4]].text = chr(_local3);
}
_local4++;
}
}
function recon(what) {
if (!reconfig) {
clip.screen.info.switchCredits._alpha = 15;
clip.screen.info.b1.enabled = false;
clip.screen.info.b2.enabled = false;
clip.screen.info.b3.enabled = false;
reconKey = what;
reconfig = true;
clip.screen.info["a" + reconKey].gotoAndStop(1);
clip.screen.info[reconKey].text = "?";
var _local3 = 0;
var _local4 = reconArray.length;
while (_local3 < _local4) {
if (reconArray[_local3] == _root[reconKey]) {
reconArray.splice(_local3, 1);
reconIndex = _local3;
break;
}
_local3++;
}
}
}
function sendReconKey(code, ascii) {
if ((((code >= 37) && (code <= 40)) || ((code >= 48) && (code <= 57))) || ((code >= 65) && (code <= 90))) {
reconfig = false;
var _local5 = 0;
var _local7 = reconArray.length;
while (_local5 < _local7) {
if (reconArray[_local5] == code) {
var _local6 = ((_local5 < reconIndex) ? (_local5) : (_local5 + 1));
reconfig = true;
reconArray.splice(reconIndex, 0, code);
var _local4 = ["moveU", "moveD", "moveL", "moveR", "fireU", "fireD", "fireL", "fireR"];
if ((((code == 38) || (code == 37)) || (code == 39)) || (code == 40)) {
clip.screen.info["a" + _local4[reconIndex]].gotoAndStop("k" + code);
clip.screen.info[_local4[reconIndex]].text = "";
} else {
clip.screen.info["a" + _local4[reconIndex]].gotoAndStop(1);
clip.screen.info[_local4[reconIndex]].text = chr(code);
}
_root[reconKey] = code;
reconIndex = _local6;
reconArray.splice(reconIndex, 1);
reconKey = _local4[reconIndex];
clip.screen.info["a" + reconKey].gotoAndStop(1);
clip.screen.info[reconKey].text = "?";
break;
}
_local5++;
}
if (!reconfig) {
if ((((code == 38) || (code == 37)) || (code == 39)) || (code == 40)) {
clip.screen.info["a" + reconKey].gotoAndStop("k" + code);
clip.screen.info[reconKey].text = "";
} else {
clip.screen.info["a" + reconKey].gotoAndStop(1);
clip.screen.info[reconKey].text = chr(code);
}
_root[reconKey] = code;
reconArray.splice(reconIndex, 0, code);
clip.screen.info.switchCredits._alpha = 100;
clip.screen.info.b1.enabled = true;
clip.screen.info.b2.enabled = true;
clip.screen.info.b3.enabled = true;
}
}
}
function switchRecon() {
if (!reconfig) {
var _local3 = _root.fireU;
var _local4 = _root.fireD;
var _local6 = _root.fireL;
var _local5 = _root.fireR;
_root.fireU = _root.moveU;
_root.fireD = _root.moveD;
_root.fireL = _root.moveL;
_root.fireR = _root.moveR;
_root.moveU = _local3;
_root.moveD = _local4;
_root.moveL = _local6;
_root.moveR = _local5;
showConfig();
var _local7 = reconArray.splice(0, 4);
reconArray = reconArray.concat(_local7);
}
}
function pressRight() {
this[mainMenu.focus]("right");
}
function pressLeft() {
this[mainMenu.focus]("left");
}
function pressDown() {
this[mainMenu.focus]("down");
}
function pressUp() {
this[mainMenu.focus]("up");
}
function pressEnter() {
this[mainMenu.focus]("enter");
}
function showHangar() {
_root.aC1.s1.setVolume(75);
clip.removeMovieClip();
clip2.removeMovieClip();
_root.introBro1.x = 1200;
_root.introBro2.x = 1050;
_root.introBroMaskClip.removeMovieClip();
_root.introBro1.xMov = -5;
_root.introBro2.xMov = -5;
_root.introBro1Clip._alpha = 100;
_root.introBro2Clip._alpha = 100;
_root.introBro1Clip.setMask(null);
_root.introBro1.f2 = "";
_root.introBro2.f2 = "";
if (wheelBot) {
_root.removeChar("wheelBot");
wheelBot = false;
}
if (flyBot) {
_root.removeChar("flyBot");
flyBot = false;
}
_root.introBro1.x = 1250;
_root.introBro2.x = 1050;
clip = _root.attachMovie("hangar", "hangar", 90000);
clip.mainClip.bitmap.cacheAsBitmap = true;
mainRoutine = "hangar";
f2 = "waitForShips";
}
function startGame() {
_root.initWaveScripts();
clip.menu.btStart.enabled = false;
clip.menu.btInfo.enabled = false;
clip.menu.btOptions.enabled = false;
clip.menu.start.gotoAndStop("on");
Key.removeListener(keyListener);
gameStarted = true;
_root.introBro1.startGame();
_root.introBro2.startGame();
f2 = "starting1";
}
function startGame2() {
_root.initWaveScripts();
clip.removeMovieClip();
clip2.removeMovieClip();
_root.removeChar("introBro1");
_root.removeChar("introBro2");
_root.introBroMaskClip.removeMovieClip();
if (wheelBot) {
_root.removeChar("wheelBot");
wheelBot = false;
}
if (flyBot) {
_root.removeChar("flyBot");
flyBot = false;
}
if (_root.char == "broShip1") {
_root.broShip1 = new classes.bro.BroShip1(794, 196);
_root.addChar("broShip1");
} else if (_root.char == "broShip2") {
_root.broShip2 = new classes.bro.BroShip2(408, 196);
_root.addChar("broShip2");
} else if (_root.char == "bro1") {
_root.bro1 = new classes.bro.Bro1(408, 196);
_root.addChar("bro1");
} else if (_root.char == "bro2") {
_root.bro2 = new classes.bro.Bro2(408, 196);
_root.addChar("bro2");
}
if (_root.char2 == "broShip1") {
_root.broShip1 = new classes.bro.BroShip1(794, 196);
_root.addChar("broShip1");
} else if (_root.char2 == "broShip2") {
_root.broShip2 = new classes.bro.BroShip2(408, 196);
_root.addChar("broShip2");
} else if (_root.char2 == "bro1") {
_root.bro1 = new classes.bro.Bro1(408, 196);
_root.addChar("bro1");
} else if (_root.char2 == "bro2") {
_root.bro2 = new classes.bro.Bro2(408, 196);
_root.addChar("bro2");
}
if (_root.char == "broShip1") {
_root.broShip2.action1();
} else {
_root.broShip1.action1();
}
_root.game = 1;
_root.levelInit();
_root.removeFX("intro");
_root.starB.stopStars();
_root.star = new classes.fx.Star();
_root.addFX("star");
_root.star.phase2();
}
function starting1() {
if (_root.introBro2.x <= 264) {
_root.introBro2.punchOut();
f2 = "starting2";
}
}
function starting2() {
if (_root.introBro1.x <= 310) {
if (!_root.bro1Punch) {
_root.introBro1.wait();
}
f2 = "starting3";
}
}
function starting3() {
if (_root.introBro1.x <= 264) {
_root.introBro1.punchOut();
delete _root.bro1Punch;
f2 = "starting4";
}
}
function starting4() {
if (_root.introBro1.x < 50) {
showHangar();
}
}
function controlRoom() {
if (((random(1000) > 997) && (!wheelBot)) && (!wheelDoorOpen)) {
wheelBot = true;
_root.wheelBot = new classes.misc.WheelBot(0, 492);
_root.addChar("wheelBot");
}
if ((random(1000) > 997) && (!flyBot)) {
flyBot = true;
_root.flyBot = new classes.misc.FlyBot(24, 399);
_root.addChar("flyBot");
}
if (Key.isDown(32) && (!gameStarted)) {
startGame();
}
if (Key.isDown(16) && (gameStarted)) {
startGame2();
}
neonVar = neonVar + _root.randRange(-35, 35);
if (random(10) > 2) {
neonVar = 0;
}
colorTrans.redOffset = neonVar;
colorTrans.greenOffset = neonVar;
colorTrans.blueOffset = neonVar;
trans.colorTransform = colorTrans;
if (random(100) > 95) {
_root.audio.playLevel5("computerBlip" + (random(16) + 1), _root.randRange(2, 8));
}
if (random(200) == 199) {
_root.audio.playLevel5("computer" + (random(7) + 2), _root.randRange(2, 7));
}
}
function hangar() {
}
function waitForShips() {
if ((_root.introBro1.x <= 612) && (!bro1EnteringShip)) {
bro1EnteringShip = true;
_root.removeChar("introBro1");
_root.hangar.broShip1.gotoAndPlay("getInShip");
}
if ((_root.introBro2.x <= 465) && (!bro2EnteringShip)) {
bro2EnteringShip = true;
_root.removeChar("introBro2");
_root.hangar.broShip2.gotoAndPlay("getInShip");
}
}
function bro1EnteredShip() {
_root.hangar.broShip1.gotoAndStop("main");
_root.hangar.broShip1.clip.gotoAndStop(2);
_root.hangar.broShip1B.gotoAndStop("main");
_root.hangar.broShip1B.clip.gotoAndStop(2);
chooseBro();
}
function bro2EnteredShip() {
_root.hangar.broShip2.gotoAndStop("main");
_root.hangar.broShip2.clip.gotoAndStop(2);
_root.hangar.broShip2B.gotoAndStop("main");
_root.hangar.broShip2B.clip.gotoAndStop(2);
}
function chooseBro() {
f2 = "broChoosing";
_root.attachMovie("selectArrow", "selectArrowClip", 90510);
_root.selectArrowClip._x = 414;
_root.selectArrowClip._y = 372;
_root.hangar.broShip2.clip.body.gotoAndStop("faceF");
}
function broChoosing() {
if (Key.isDown(37)) {
if (currentBro == 1) {
_root.selectArrowClip._x = 414;
currentBro = 2;
_root.audio.playLevel5("buzzSelect", 5);
_root.hangar.broShip2.clip.body.gotoAndStop("faceF");
_root.hangar.broShip1.clip.body.gotoAndStop("FU");
}
}
if (Key.isDown(39)) {
if (currentBro == 2) {
_root.selectArrowClip._x = 561;
currentBro = 1;
_root.audio.playLevel5("zapSelect", 5);
_root.hangar.broShip1.clip.body.gotoAndStop("faceF");
_root.hangar.broShip2.clip.body.gotoAndStop("FU");
}
}
if (Key.isDown(13)) {
_root.selectArrowClip.removeMovieClip();
_root.char = ((currentBro == 1) ? "broShip1" : "broShip2");
_root.char2 = ((currentBro == 1) ? "broShip2" : "broShip1");
_root.hangar.broShip1.clip.body.gotoAndStop("FU");
_root.hangar.broShip2.clip.body.gotoAndStop("FU");
descend();
}
}
function descend() {
_root.audio.playLevel2("floorDrop", 25);
_root.audio.playLevel1("exitTheme", 12, 1, 0.05);
_root.hangar.gotoAndPlay("go");
f2 = "descending";
mainRoutine = "";
_root.star = new classes.fx.Star();
_root.addFX("star");
}
function descending() {
c2++;
if (c2 == 60) {
_root.starB.stopStars();
_root.star.makeStars();
}
}
function controlShip() {
_root.hangar.broShip1._visible = false;
_root.hangar.broShip2._visible = false;
_root.broShip1 = new classes.bro.BroShip1(794, 202);
_root.addChar("broShip1");
_root.broShip2 = new classes.bro.BroShip2(408, 202);
_root.addChar("broShip2");
if (_root.warp) {
_root[_root.char2].warpLeave();
} else {
_root[_root.char2].action1();
}
_root.game = 1;
}
function startAction() {
clip.removeMovieClip();
_root.levelInit();
_root.star.phase2();
_root.removeFX("intro");
}
function main() {
this[f2]();
this[mainRoutine]();
}
var c = 0;
var wheelBot = false;
var flyBot = false;
var wheelDoorOpen = false;
var flyDoorOpen = false;
var gameStarted = false;
var f2 = "";
var mainRoutine = "controlRoom";
var bro1EnteringShip = false;
var bro2EnteringShip = false;
var currentBro = 2;
var c2 = 0;
var reconfig = false;
var Name = "intro";
}
Symbol 4682 MovieClip [__Packages.classes.bro.IntroBro1] Frame 0
class classes.bro.IntroBro1
{
var x, y, clip, dir, oldDir;
function IntroBro1 (px, py) {
x = px;
y = py;
clip = _root.attachMovie("introBro1", "introBro1Clip", 90500);
clip._x = x;
clip._y = y;
clip.gotoAndStop("work");
dir = "work";
}
function working() {
if (random(1000) > 998) {
if (!_root.bro2Cooler) {
_root.bro1Cooler = true;
x = 762 + clip.work.xTracker._x;
_root.introScreen.bro1._visible = true;
_root.introScreen.bro1.gotoAndStop("noBro");
dir = "L";
xMov = -3;
f2 = "goingToCooler";
}
}
}
function startGame() {
if (dir == "work") {
x = 762 + clip.work.xTracker._x;
} else if (dir == "cooler") {
x = 690 + clip.cooler.xTracker._x;
}
f2 = "";
_root.introScreen.bro1._visible = true;
_root.introScreen.bro1.gotoAndPlay("noBro");
dir = "L";
xMov = -5;
}
function goingToCooler() {
if (x <= 690) {
x = 690;
xMov = 0;
dir = "cooler";
f2 = "cooler";
}
}
function cooler() {
if (clip.cooler.end) {
x = 639;
dir = "R";
xMov = 3;
f2 = "gotoWork";
}
}
function gotoWork() {
if (x >= 759) {
_root.bro1Cooler = false;
x = 735;
dir = "work";
xMov = 0;
f2 = "working";
_root.introScreen.bro1._visible = false;
}
}
function wait() {
state = "wait";
dir = "";
xMov = 0;
}
function gotoPunchOut() {
clip.body.gotoAndPlay("walk");
xMov = -4;
}
function punchOut() {
xMov = 0;
clip._x = 264;
clip.body.gotoAndPlay("punchOut");
_root.coins.addTo(7);
_root.audio.playLevel3("coin5", _root.randRange(21, 24));
}
function exit() {
clip.body.gotoAndPlay("walk");
x = 261;
xMov = -5;
f2 = "exiting";
_root.introBro2Clip._alpha = 0;
clip.setMask(_root.introBroMaskClip);
clip._alpha = 150;
}
function exiting() {
clip._alpha = clip._alpha - 3;
}
function main() {
this[f2]();
if (oldDir != dir) {
clip.gotoAndStop(dir);
clip.body.gotoAndPlay(state);
}
oldDir = dir;
x = x + (xMov + xA);
y = y + (yMov + yA);
clip._x = x;
clip._y = y;
}
var c = 0;
var xMov = 0;
var yMov = 0;
var xA = 0;
var yA = 0;
var state = "walk";
var f2 = "working";
}
Symbol 4683 MovieClip [__Packages.classes.bro.IntroBro2] Frame 0
class classes.bro.IntroBro2
{
var x, y, clip, dir, oldDir;
function IntroBro2 (px, py) {
x = px;
y = py;
clip = _root.attachMovie("introBro2", "introBro2Clip", 90600);
clip._x = x;
clip._y = y;
clip.gotoAndStop("work");
dir = "work";
}
function startGame() {
if (dir == "work") {
y = y + 3;
x = 558 + clip.work.xTracker._x;
} else if (dir == "cooler") {
x = 678 + clip.cooler.xTracker._x;
}
f2 = "";
_root.introOverlay.redComp.gotoAndStop(2);
dir = "L";
xMov = -5;
}
function working() {
if (random(2000) > 1998) {
if (!_root.bro1Cooler) {
_root.bro2Cooler = true;
x = 558 + clip.work.xTracker._x;
y = y + 3;
_root.introOverlay.redComp.gotoAndStop(2);
dir = "R";
xMov = 3;
f2 = "goingToCooler";
}
}
}
function goingToCooler() {
if (x >= 678) {
x = 678;
xMov = 0;
dir = "cooler";
f2 = "cooler";
}
}
function cooler() {
if (clip.cooler.end) {
x = 597;
dir = "L";
xMov = -3;
f2 = "gotoWork";
}
}
function gotoWork() {
if (x <= 555) {
y = y - 3;
_root.bro2Cooler = false;
x = 480;
dir = "work";
xMov = 0;
f2 = "working";
}
}
function punchOut() {
xMov = 0;
clip._x = 264;
clip.body.gotoAndPlay("punchOut");
_root.coins.addTo(7);
_root.audio.playLevel3("coin1", _root.randRange(21, 24));
}
function exit() {
_root.introBro1.gotoPunchOut();
_root.bro1Punch = true;
clip.body.gotoAndPlay("walk");
x = 240;
xMov = -5;
f2 = "exiting";
var _local3 = _root.attachMovie("introBroMask", "introBroMaskClip", 90605);
_local3._x = 111;
_local3._y = 471;
clip.setMask(_local3);
clip._alpha = 120;
}
function exiting() {
clip._alpha = clip._alpha - 3;
}
function main() {
this[f2]();
if (oldDir != dir) {
clip.gotoAndStop(dir);
clip.body.gotoAndPlay(state);
}
oldDir = dir;
x = x + (xMov + xA);
y = y + (yMov + yA);
clip._x = x;
clip._y = y;
}
var c = 0;
var xMov = 0;
var yMov = 0;
var xA = 0;
var yA = 0;
var state = "walk";
var f2 = "working";
}
Symbol 4684 MovieClip [__Packages.classes.fx.StarB] Frame 0
class classes.fx.StarB
{
var sA, sO, sI;
function StarB () {
sA = new Array();
sO = new Object();
sI = 0;
var _local4 = 0;
while (_local4 < 40) {
sI++;
sO["star" + sI] = new Object();
var _local3 = sO["star" + sI];
_local3.id = sI;
_local3.depth = random(9) + 1;
_local3.xMov = -0.5 * (_local3.depth / 2);
_root.d++;
_local3.clip = _root.attachMovie("starB", ("starB" + sI) + "Clip", _root.d - 9000);
_local3.clip._x = random(1000);
_local3.clip._y = random(340);
_local3.clip._alpha = _local3.depth * 10;
_local3.clip.gotoAndStop(random(5) + 1);
sA.push(_local3);
_local4++;
}
}
function stopStars() {
var _local3 = 0;
var _local5 = sA.length;
while (_local3 < _local5) {
var _local4 = sA[_local3];
_local4.clip.removeMovieClip();
_local3++;
}
_root.removeFX("starB");
}
function main() {
if ((random(8) == 0) && (!stopIt)) {
sI++;
sO["star" + sI] = new Object();
var _local4 = sO["star" + sI];
_local4.id = sI;
_local4.depth = random(9) + 1;
_local4.xMov = -0.5 * (_local4.depth / 2);
_root.d++;
_local4.clip = _root.attachMovie("starB", ("starB" + sI) + "Clip", _root.d - 9000);
_local4.clip._x = 980;
_local4.clip._y = random(340);
_local4.clip._alpha = _local4.depth * 10;
_local4.clip.gotoAndStop(random(5) + 1);
sA.push(_local4);
}
var _local6 = 0;
var _local7 = sA.length;
while (_local6 < _local7) {
var _local4 = sA[_local6];
_local4.clip._x = _local4.clip._x + _local4.xMov;
if (_local4.clip._x < -5) {
_local4.clip.removeMovieClip();
var _local3 = 0;
var _local5 = sA.length;
while (_local3 < _local5) {
if (_local4 == sA[_local3]) {
sA.splice(_local3, 1);
}
_local3++;
}
delete sO["star" + _local4.id];
}
_local6++;
}
}
var stopIt = false;
var Name = "star";
}
Symbol 4685 MovieClip [__Packages.classes.bro.BroShip1] Frame 0
class classes.bro.BroShip1
{
var tX, x, tY, y, clip, w, h, weapon, trans, colorTrans, colorVars, life, fireDir, shotX, shotY, dirXArray, dirYArray, dirX, dirY, destX, destY, xyMetFunction, handState;
function BroShip1 (px, py) {
tX = (x = px);
tY = (y = py);
clip = _root.attachMovie("broShip1", "broShip1Clip", d);
w = clip._width;
h = clip._height;
clip._x = x;
clip._y = y;
weapon = _root.bro1Weapon;
this[weapon]();
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0);
colorVars = new Object();
life = _root.bro1Life;
if (_root.bro1ShipVar == 1) {
clip.body.shipStyles.gotoAndStop(_root.bro1ShipLevel);
if ((((_root.level == 1) && (_root.shipPass)) && ((_root.bro1ShipLevel == 2) || (_root.bro1ShipLevel == 3))) || ((_root.level == 2) && (_root.bro1ShipLevel == 3))) {
_root.audio.playLevel2("tagTeam1", 20);
colorFlash(255, 255, 255, 30);
_root.shipPass = false;
}
} else {
clip.body.shipStyles.gotoAndStop(_root.bro1ShipVar);
}
var _local3 = ((_root.bro1ShipLevel > 3) ? (1 + ((_root.bro1ShipLevel - 4) * 2)) : (1 + ((_root.bro1ShipLevel - 1) * 2)));
baseSpeed = (speed = 5 + _local3);
}
function colorFlash(r, g, b, cMax) {
colorVars.c = 0;
colorVars.r = r;
colorVars.g = g;
colorVars.b = b;
colorVars.cMax = cMax;
colorVars.flashing = true;
}
function nudge(pxA, pyA, pscale) {
if (((c == 0) || (c > 5)) && (!inv)) {
c = 0;
var _local2 = pscale / 150;
xA = pxA * _local2;
yA = pyA * _local2;
f2 = "nudging";
}
}
function nudging() {
xA = xA * 0.75;
yA = yA * 0.75;
c++;
if (c == 20) {
xA = (yA = 0);
f2 = "";
c = 0;
}
}
function powerUp(type) {
if (type.substr(0, 10) == "speedBoost") {
var _local3 = Number(type.substr(10));
speedBoost(_local3 * 300);
} else if (type.substr(0, 11) == "weaponBoost") {
var _local3 = Number(type.substr(11));
weaponBoost(_local3 * 200);
} else {
this[type]();
}
}
function coin1() {
_root.coins.addTo(1);
colorFlash(200, 200, 200, 10);
}
function coin5() {
_root.coins.addTo(5);
colorFlash(200, 200, 200, 10);
}
function coin10() {
_root.coins.addTo(10);
colorFlash(200, 200, 0, 10);
}
function coin25() {
_root.coins.addTo(25);
colorFlash(200, 200, 0, 10);
}
function stealCoins(num) {
if ((!shieldOn) && (!inv)) {
_root.audio.playLevel2("coinDrain2", 25);
var _local4 = random(num) + 2;
if ((_root.coins.num - _local4) < 0) {
_local4 = _root.coins.num;
}
_root.coins.addTo(-1 * _local4);
var _local3 = 0;
while (_local3 < _local4) {
_root.fxID++;
_root["coinDrain" + _root.fxID] = new classes.fx.CoinDrain(x + 6, y + 6, _root.fxID);
_root.addFX("coinDrain" + _root.fxID);
_local3++;
}
}
}
function gem1() {
_root.gems.addTo(1);
colorFlash(40, 255, 180, 15);
}
function gem2() {
_root.gems.addTo(1);
colorFlash(0, 90, 200, 15);
}
function gem3() {
_root.gems.addTo(1);
colorFlash(255, 50, 0, 15);
}
function gem4() {
_root.gems.addTo(1);
colorFlash(255, 170, 30, 15);
}
function gem5() {
_root.gems.addTo(1);
colorFlash(255, 100, 255, 15);
}
function gem6() {
_root.gems.addTo(1);
colorFlash(0, 255, 180, 15);
}
function smartBomb() {
_root.smartBomb.gotoAndPlay(2);
var _local2 = 1;
var _local3 = _root.chars.length;
var _local4 = _root.chars.slice();
while (_local2 < _local3) {
_root[_local4[_local2]].bombed(20);
_local2++;
}
_local2 = 0;
_local3 = _root.enemyShots.length;
_local4 = _root.enemyShots.slice();
while (_local2 < _local3) {
_root[_local4[_local2]].bombed();
_local2++;
}
_local2 = 0;
_local3 = _root.FX.length;
_local4 = _root.FX.slice();
while (_local2 < _local3) {
_root[_local4[_local2]].bombed();
_local2++;
}
}
function superP() {
weaponBoost(600);
speedBoost(600);
shield();
}
function shield() {
if (!shieldOn) {
_root.shield = new classes.misc.Shield();
_root.addPowerUp("shield");
shieldOn = true;
} else if (_root.shield.out) {
_root.shield.renew();
}
colorFlash(70, 180, 250, 30);
}
function rampage() {
var _local2 = 0;
var _local3 = _root.powerUps.length;
while (_local2 < _local3) {
if (_root.powerUps[_local2] == "rampage") {
_root.removePowerUp("rampage");
break;
}
_local2++;
}
_root.rampage = new classes.misc.Rampage(300);
_root.addPowerUp("rampage");
}
function weaponBoost(num) {
if ((((((weapon == "laserA") || (weapon == "doubleLaserA")) || (weapon == "tripleLaserA")) || (weapon == "bigLaser")) || (weapon == "twistLaser")) || (weapon == "tripleTwistLaser")) {
if (_root.currentBoost == "rapidFire") {
_root.removePowerUp("rapidFire");
}
_root.currentBoost = "rapidFire";
clip.gun[weapon].gotoAndPlay("rapidFire");
if (weapon != "bigLaser") {
_root.rapidFire = new classes.misc.RapidFire(num, false);
} else {
_root.rapidFire = new classes.misc.RapidFire(num, true);
}
_root.addPowerUp("rapidFire");
}
if ((weapon == "rapidLaser") || (weapon == "doubleRapidLaser")) {
if (_root.currentBoost == "laserBoost") {
_root.removePowerUp("laserBoost");
}
_root.currentBoost = "laserBoost";
clip.gun[weapon].gotoAndPlay("rapidFire");
_root.laserBoost = new classes.misc.LaserBoost(num);
_root.addPowerUp("laserBoost");
}
if (weapon == "superLaser") {
if (_root.currentBoost == "superRapidFire") {
_root.removePowerUp("superRapidFire");
}
_root.currentBoost = "superRapidFire";
clip.gun[weapon].gotoAndPlay("rapidFire");
_root.superRapidFire = new classes.misc.SuperRapidFire(num);
_root.addPowerUp("superRapidFire");
}
colorFlash(255, 125, 0, 30);
}
function checkBoost() {
if (_root.currentBoost != "") {
_root.removePowerUp(_root.currentBoost);
_root.currentBoost = "";
_root.laserPower = 8;
}
}
function doubleLaserA() {
checkBoost();
_root.rapidVar = 4;
fireFreq = 11;
fireFreqOrig = 11;
_root.bro1Weapon = (weapon = "doubleLaserA");
colorFlash(200, 200, 0, 30);
}
function twistLaser() {
checkBoost();
_root.rapidVar = 4;
fireFreq = 10;
fireFreqOrig = 10;
_root.bro1Weapon = (weapon = "twistLaser");
colorFlash(255, 160, 0, 30);
}
function tripleTwistLaser() {
checkBoost();
_root.rapidVar = 4;
fireFreq = 10;
fireFreqOrig = 10;
_root.bro1Weapon = (weapon = "tripleTwistLaser");
colorFlash(100, 200, 230, 30);
}
function tripleLaserA() {
checkBoost();
_root.rapidVar = 4;
fireFreq = 11;
fireFreqOrig = 11;
_root.bro1Weapon = (weapon = "tripleLaserA");
colorFlash(0, 200, 230, 30);
}
function rapidLaser() {
checkBoost();
_root.rapidVar = 2;
fireFreq = 4;
fireFreqOrig = 4;
_root.bro1Weapon = (weapon = "rapidLaser");
colorFlash(0, 230, 190, 30);
}
function bigLaser() {
checkBoost();
_root.rapidVar = 4;
fireFreq = 9;
fireFreqOrig = 9;
_root.bro1Weapon = (weapon = "bigLaser");
colorFlash(0, 130, 255, 30);
}
function superLaser() {
checkBoost();
_root.rapidVar = 3;
fireFreq = 5;
fireFreqOrig = 5;
_root.bro1Weapon = (weapon = "superLaser");
colorFlash(255, 255, 255, 30);
}
function lifeUp() {
if ((life + 25) > 100) {
_root.lifeMeter.adjust(life, 100 - life);
life = 100;
} else {
_root.lifeMeter.adjust(life, 25);
life = life + 25;
}
colorFlash(255, 75, 255, 30);
}
function lifeMax() {
_root.lifeMeter.adjust(life, 100 - life);
life = 100;
colorFlash(255, 0, 0, 30);
}
function speedBoost(num) {
var _local3 = 0;
var _local4 = _root.powerUps.length;
while (_local3 < _local4) {
if (_root.powerUps[_local3] == "speedBoost") {
_root.removePowerUp("speedBoost");
break;
}
_local3++;
}
_root.speedBoost = new classes.misc.SpeedBoost(num);
_root.addPowerUp("speedBoost");
colorFlash(0, 255, 0, 60);
}
function hit(pxMov, pyMov, pscale, ppower) {
var _local7 = pxMov;
var _local8 = pyMov;
var _local9 = pscale;
var _local4 = ((_root.bro1ShipLevel > 3) ? (1 - ((_root.bro1ShipLevel - 4) * 0.2)) : (1 - ((_root.bro1ShipLevel - 1) * 0.2)));
if (_root.bro1ShipVar == 3) {
_local4 = 0.5;
}
var _local5 = ppower * _local4;
if (shieldOn && (!inv)) {
_root.shield.hit();
} else if (!inv) {
var _local6 = life;
life = life - _local5;
if (life < 1) {
_root.bro1Life = 0;
_root.audio.playLevel2("broShip1X", _root.randRange(30, 40));
inv = true;
clip.gun._visible = false;
clip.fx._visible = false;
colorTrans.redOffset = 0;
colorTrans.greenOffset = 0;
colorTrans.blueOffset = 0;
trans.colorTransform = colorTrans;
clip.body.gotoAndPlay("explode");
control = false;
facing = "switch";
fireDir = "";
var _local3 = 0;
while (_local3 < 5) {
if (_root.bro1ShipVar == 1) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "BroShip1_" + _root.bro1ShipLevel]);
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "broShip1B_" + _root.bro1ShipLevel]);
} else if (_root.bro1ShipVar == 7) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "BroShipBlack"]);
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "broShipBlackB"]);
} else {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "BroShip1_3B"]);
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "broShip1B_3B"]);
}
_local3++;
}
_root.bro1ShipVar = 1;
} else {
_root.lifeMeter.adjust(_local6, -1 * _local5);
nudge(_local7, _local8, _local9);
inv = true;
colorFlash(255, 0, 0, 20);
_root.audio.playLevel3("broHit" + (random(3) + 1), _root.randRange(7, 14));
}
}
}
function explosion() {
_root.createExploA([(x + (clip._width / 2)) + _root.randRange(-70, 70), (y + (clip._height / 2)) + _root.randRange(-70, 70), _root.randRange(50, 140), _root.randRange(70, 100)]);
}
function shipToJetPack() {
_root.bro1 = new classes.bro.Bro1(x + 6, y + 3);
_root.addChar("bro1");
_root.char = "bro1";
_root.shield = new classes.misc.Shield();
_root.addPowerUp("shield");
_root[_root.char].shieldOn = true;
if (_root.lastBoss && (_root.char2 == "broShip2")) {
var _local3 = ((x < 500) ? 1020 : -50);
var _local4 = ((x < 500) ? "L" : "R");
_root.broShip2 = new classes.bro.BroShip2(_local3, 280);
_root.addChar("broShip2");
_root.broShip2.tagTeam(_local4);
} else if ((_root.char2 == "broShip2") && (!_root.broShip2.tagTeaming)) {
_root.rescue = true;
if ((!_root.boss) && (!_root.broShip2.bg)) {
_root.broAction([7]);
}
}
}
function removeShip() {
_root.removeChar("broShip1");
}
function fire_laserA() {
_root.audio.playLevel5("laserA" + (random(5) + 1), random(4) + 6);
shotID++;
_root["laserA" + shotID] = new classes.bro.LaserA(shotX, shotY, fireDir, shotID);
_root.addBroShot("laserA" + shotID);
clip.gun.blast.gotoAndPlay("go");
}
function fire_doubleLaserA() {
_root.audio.playLevel5("doubleLaserA" + (random(5) + 1), random(10) + 8);
if ((fireDir == "R") || (fireDir == "L")) {
var _local6 = 0;
var _local4 = -6;
var _local5 = 0;
var _local3 = 6;
} else {
var _local6 = -6;
var _local4 = 0;
var _local5 = 6;
var _local3 = 0;
}
shotID++;
_root["laserA" + shotID] = new classes.bro.LaserA(shotX + _local6, shotY + _local4, fireDir, shotID);
_root.addBroShot("laserA" + shotID);
shotID++;
_root["laserA" + shotID] = new classes.bro.LaserA(shotX + _local5, shotY + _local3, fireDir, shotID);
_root.addBroShot("laserA" + shotID);
clip.gun.blast.gotoAndPlay("go");
}
function fire_twistLaser() {
_root.audio.playLevel5("twist" + (random(3) + 1), random(10) + 8);
shotID++;
_root["twistLaser" + shotID] = new classes.bro.TwistLaser(shotX, shotY, fireDir, "top", shotID);
_root.addBroShot("twistLaser" + shotID);
shotID++;
_root["twistLaser" + shotID] = new classes.bro.TwistLaser(shotX, shotY, fireDir, "bot", shotID);
_root.addBroShot("twistLaser" + shotID);
clip.gun.blast.gotoAndPlay("go");
}
function fire_tripleTwistLaser() {
_root.audio.playLevel5("twist" + (random(3) + 1), random(10) + 8);
shotID++;
_root["twistLaserB" + shotID] = new classes.bro.TwistLaserB(shotX, shotY, fireDir, shotID);
_root.addBroShot("twistLaserB" + shotID);
shotID++;
_root["twistLaserC" + shotID] = new classes.bro.TwistLaserC(shotX, shotY, fireDir, "bot", shotID);
_root.addBroShot("twistLaserC" + shotID);
shotID++;
_root["twistLaserC" + shotID] = new classes.bro.TwistLaserC(shotX, shotY, fireDir, "top", shotID);
_root.addBroShot("twistLaserC" + shotID);
clip.gun.blast.gotoAndPlay("go");
}
function fire_tripleLaserA() {
_root.audio.playLevel5("tripleLaserA" + (random(5) + 1), random(10) + 8);
if ((fireDir == "R") || (fireDir == "L")) {
var _local6 = 0;
var _local4 = -3;
var _local5 = 0;
var _local3 = 3;
} else {
var _local6 = -3;
var _local4 = 0;
var _local5 = 3;
var _local3 = 0;
}
shotID++;
_root["spreadLaserA" + shotID] = new classes.bro.SpreadLaserA(shotX + _local6, shotY + _local4, fireDir, 1, shotID);
_root.addBroShot("spreadLaserA" + shotID);
shotID++;
_root["laserA" + shotID] = new classes.bro.LaserA(shotX, shotY, fireDir, shotID);
_root.addBroShot("laserA" + shotID);
shotID++;
_root["spreadLaserA" + shotID] = new classes.bro.SpreadLaserA(shotX + _local5, shotY + _local3, fireDir, 2, shotID);
_root.addBroShot("spreadLaserA" + shotID);
clip.gun.blast.gotoAndPlay("go");
}
function fire_rapidLaser() {
if ((fireDir == "R") || (fireDir == "L")) {
var _local6 = 0;
var _local4 = -6;
var _local5 = 0;
var _local3 = 6;
} else {
var _local6 = -6;
var _local4 = 0;
var _local5 = 6;
var _local3 = 0;
}
_root.audio.playLevel5("rapidLaser" + (random(5) + 1), random(30) + 10);
shotID++;
_root["rapidLaser" + shotID] = new classes.bro.RapidLaser(shotX + _local6, shotY + _local4, fireDir, shotID);
_root.addBroShot("rapidLaser" + shotID);
shotID++;
_root["rapidLaser" + shotID] = new classes.bro.RapidLaser(shotX + _local5, shotY + _local3, fireDir, shotID);
_root.addBroShot("rapidLaser" + shotID);
clip.gun.blast.gotoAndPlay("go");
}
function fire_bigLaser() {
_root.audio.playLevel5("bigLaser" + (random(3) + 1), random(10) + 8);
shotID++;
_root["bigLaser" + shotID] = new classes.bro.BigLaser(shotX, shotY, fireDir, shotID);
_root.addBroShot("bigLaser" + shotID);
clip.gun.blast.gotoAndPlay("go2");
if (fireDir == "U") {
nudge(0, 2, 100);
} else if (fireDir == "D") {
nudge(0, -2, 100);
} else if (fireDir == "L") {
nudge(2, 0, 100);
} else {
nudge(-2, 0, 100);
}
}
function fire_superLaser() {
_root.audio.playLevel5("superLaser" + (random(3) + 1), random(10) + 8);
if (sl == "top") {
sl = "bot";
if ((fireDir == "R") || (fireDir == "L")) {
var _local4 = 0;
var _local3 = 6;
} else {
var _local4 = 6;
var _local3 = 0;
}
} else {
sl = "top";
if ((fireDir == "R") || (fireDir == "L")) {
var _local4 = 0;
var _local3 = -6;
} else {
var _local4 = -6;
var _local3 = 0;
}
}
shotID++;
_root["superLaserA" + shotID] = new classes.bro.SuperLaserA(shotX + _local4, shotY + _local3, fireDir, shotID);
_root.addBroShot("superLaserA" + shotID);
shotID++;
_root["superLaserB" + shotID] = new classes.bro.SuperLaserB(shotX, shotY, fireDir, "top", shotID);
_root.addBroShot("superLaserB" + shotID);
shotID++;
_root["superLaserB" + shotID] = new classes.bro.SuperLaserB(shotX, shotY, fireDir, "bot", shotID);
_root.addBroShot("superLaserB" + shotID);
clip.gun.blast.gotoAndPlay("go2");
if (fireDir == "U") {
nudge(0, 2, 100);
} else if (fireDir == "D") {
nudge(0, -2, 100);
} else if (fireDir == "L") {
nudge(2, 0, 100);
} else {
nudge(-2, 0, 100);
}
}
function action1() {
control = false;
dirXArray = ["L"];
dirYArray = ["", "", "U", "U", "D"];
changeDir();
f2 = "wander";
fireDir = "";
}
function action2() {
gotoXY(0, 80, "action2B");
dirX = "";
}
function action2B() {
fireDir = "R";
}
function action3() {
dirXArray = ["R"];
dirYArray = ["", "U", "D", "D"];
changeDir();
f2 = "wander";
fireDir = "";
}
function action4() {
gotoXY(0, 150, "action4B");
dirX = "L";
clip.gotoAndPlay("faceLfireL");
fireDir = "L";
exit = true;
}
function action4B() {
dirX = "L";
fireDir = "";
}
function action5() {
goBG();
gotoXY(260, 0, "action5B");
}
function goBG() {
clip.swapDepths(9880);
bg = true;
control = false;
exit = true;
speed = speed * 0.8;
colorTrans.redOffset = -60;
colorTrans.greenOffset = -60;
colorTrans.blueOffset = -60;
trans.colorTransform = colorTrans;
clip._xscale = 66;
clip._yscale = 66;
fireDir = "";
}
function action5B() {
gotoXY(0, 800);
}
function action7() {
goBG();
facing = _root["advanceDir" + _root.level];
if (_root["advanceDir" + _root.level] == "L") {
gotoXY(-300, 0);
} else {
gotoXY(1300, 0);
}
}
function action11() {
exit = true;
facing = "L";
gotoXY(-300, 0);
}
function warpLeave() {
control = false;
exit = true;
fireDir = "";
facing = "R";
gotoXY(1300, 0);
}
function endPos() {
xA = (yA = 0);
speed = 2;
control = false;
facing = "R";
fireDir = "";
gotoXY(549, 250);
}
function endPos2() {
xA = (yA = 0);
clip._x = (x = (tX = 549));
gotoXY(0, 435, "endPos3");
}
function endPos3() {
xA = (yA = (speed = 0));
gesture = true;
f2 = "";
clip._x = (x = (tX = 549));
clip._y = (y = (tY = 435));
hover = false;
clip.body.gotoAndPlay("endOpen");
}
function finalFunction() {
_root.endBGClip.clip.zapShip._visible = true;
_root.endBGClip.clip.zapShip.play();
}
function endSeq(pdir) {
tagTeaming = false;
speed = (baseSpeed = 7);
exit = true;
weapon = "rapidLaser";
_root.bro1weapon = weapon;
this[weapon]();
facing = (fireDir = pdir);
control = false;
var _local3 = ((facing == "L") ? 800 : 200);
gotoXY(_local3, 280);
}
function endSeqB() {
gotoXY(0, _root.deathHeadClip._y);
}
function endSeqMove() {
speed = (baseSpeed = 10);
endFire = true;
gotoXY(_root.randRange(100, 900), _root.randRange(100, 500), "endSeqMove");
}
function endStill() {
endFire = false;
dirX = (dirY = (fireDir = ""));
f2 = "";
}
function appear() {
life = life + _root.randRange(35, 50);
if (life > 100) {
life = 100;
}
inv = true;
control = false;
exit = true;
if (x < 0) {
facing = "R";
fireDir = "R";
gotoXY(150, 0, "giveControl");
} else {
facing = "L";
fireDir = "L";
gotoXY(850, 0, "giveControl");
}
}
function giveControl() {
inv = false;
control = true;
exit = false;
}
function tagTeam(pdir) {
speed = speed * 0.8;
var _local3 = pdir;
life = life + _root.randRange(25, 50);
if (life > 100) {
life = 100;
}
inv = true;
control = false;
exit = true;
tagTeaming = true;
facing = _local3;
if (facing == "R") {
gotoXY(1300, 0);
} else {
gotoXY(-300, 0);
}
}
function getOut() {
facing = "L";
fireDir = "";
exit = true;
gotoXY(-300, 0, "", true);
}
function wave() {
gesture = true;
clip.body.gotoAndPlay("wave");
}
function reanimate() {
gesture = true;
clip.body.gotoAndPlay("reanimate");
}
function positionForSwitch(pdestX) {
control = false;
gotoXY(pdestX, 0, "action6B");
fireDir = "";
facing = "R";
}
function action6B() {
gotoXY(0, _root.newShipClip._y);
facing = "switch";
}
function shipUpgrade(shipType) {
control = false;
life = 100;
if (shipType == "ship2") {
speed = (baseSpeed = 8);
_root.bro1ShipLevel = 2;
clip.body.shipStyles.gotoAndStop(2);
clip.body.gotoAndPlay("close");
} else if (shipType == "ship3") {
speed = (baseSpeed = 10);
_root.bro1ShipLevel = 3;
clip.body.shipStyles.gotoAndStop(3);
clip.body.gotoAndPlay("close");
} else {
speed = (baseSpeed = 10);
_root.bro1ShipLevel = 3;
_root.bro1ShipVar = 3;
clip.body.shipStyles.gotoAndStop(8);
clip.body.gotoAndPlay("close");
}
}
function gotoXY(pdestX, pdestY, pmetFunction, pwave) {
destX = pdestX;
destY = pdestY;
xyMetFunction = pmetFunction;
var _local2 = pwave;
if (destX != 0) {
dirX = ((x > destX) ? "L" : "R");
}
if (destY != 0) {
dirY = ((y > destY) ? "U" : "D");
}
f2 = "goingXY";
if (_local2) {
wave();
}
}
function goingXY() {
if ((destX != 0) && (Math.abs(x - destX) < (speed + 1))) {
dirX = "";
var _local2 = true;
}
if (destX == 0) {
var _local2 = true;
}
if ((destY != 0) && (Math.abs(y - destY) < (speed + 1))) {
dirY = "";
var _local3 = true;
}
if (destY == 0) {
var _local3 = true;
}
if (_local2 && (_local3)) {
this[xyMetFunction]();
}
}
function changeDir() {
dirX = dirXArray[random(dirXArray.length)];
dirY = dirYArray[random(dirYArray.length)];
}
function wander() {
if (random(100) > 93) {
changeDir();
}
}
function main() {
this[f2]();
if (endFire) {
if (random(30) == 0) {
var _local4 = ["L", "R", "D", "U", "", "", "", ""];
fireDir = _local4[random(8)];
}
if (random(60) == 0) {
dirX = (dirY = "");
f2 = "";
} else if (random(45) == 0) {
endSeqMove();
}
}
if (control) {
if (Key.isDown(_root.moveU)) {
tY = y - speed;
handState = "FU";
}
if (Key.isDown(_root.moveD)) {
tY = y + speed;
handState = "BD";
}
if (Key.isDown(_root.moveL)) {
tX = x - speed;
handState = ((facing == "R") ? "BD" : "FU");
}
if (Key.isDown(_root.moveR)) {
tX = x + speed;
handState = ((facing == "R") ? "FU" : "BD");
}
if (Key.isDown(_root.fireU)) {
fire = true;
shotY = y - 6;
shotX = ((facing == "R") ? (x + 14) : (x + 18));
fireDir = "U";
} else if (Key.isDown(_root.fireD)) {
fire = true;
shotY = y + 42;
shotX = ((facing == "R") ? (x + 14) : (x + 18));
fireDir = "D";
} else if (Key.isDown(_root.fireL)) {
fire = true;
shotX = x - 6;
shotY = y + 33;
fireDir = (facing = "L");
} else if (Key.isDown(_root.fireR)) {
fire = true;
shotX = x + 39;
shotY = y + 33;
fireDir = (facing = "R");
} else {
fire = false;
fireDir = ((facing == "R") ? "R" : "L");
clip.gotoAndStop((("face" + facing) + "fire") + fireDir);
fc++;
}
if (!gesture) {
clip.body.gotoAndStop(handState);
}
} else {
if (dirY == "U") {
tY = y - speed;
handState = "FU";
}
if (dirY == "D") {
tY = y + speed;
handState = "BD";
}
if (dirX == "L") {
tX = x - speed;
handState = ((facing == "R") ? "BD" : "FU");
}
if (dirX == "R") {
tX = x + speed;
handState = ((facing == "R") ? "FU" : "BD");
}
if (fireDir == "U") {
fire = true;
shotY = y - 6;
shotX = ((facing == "R") ? (x + 14) : (x + 18));
} else if (fireDir == "D") {
fire = true;
shotY = y + 42;
shotX = ((facing == "R") ? (x + 14) : (x + 18));
} else if (fireDir == "L") {
fire = true;
shotX = x - 6;
shotY = y + 33;
facing = "L";
} else if (fireDir == "R") {
fire = true;
shotX = x + 39;
shotY = y + 33;
facing = "R";
} else {
fire = false;
var _local3 = ((facing == "R") ? "R" : "L");
clip.gotoAndStop((("face" + facing) + "fire") + _local3);
fc++;
}
if ((facing != "switch") && (!gesture)) {
clip.body.gotoAndStop(handState);
}
}
if (colorVars.flashing) {
colorVars.c++;
colorTrans.redOffset = colorVars.r - (colorVars.c * (colorVars.r / colorVars.cMax));
colorTrans.greenOffset = colorVars.g - (colorVars.c * (colorVars.g / colorVars.cMax));
colorTrans.blueOffset = colorVars.b - (colorVars.c * (colorVars.b / colorVars.cMax));
if (colorVars.c >= colorVars.cMax) {
colorVars.flashing = false;
colorTrans.redOffset = 0;
colorTrans.greenOffset = 0;
colorTrans.blueOffset = 0;
}
trans.colorTransform = colorTrans;
}
if (!exit) {
if (tX < 35) {
tX = 35;
}
if (tX > (965 - w)) {
tX = 965 - w;
}
if (tY < 35) {
tY = 35;
}
if (tY > (565 - h)) {
tY = 565 - h;
}
} else if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
if (tagTeaming) {
_root.rescue = false;
}
_root.removeChar("broShip1");
_root.bgWait.activateBro();
if ((_root.lastBoss && (!_root.bgWaiting)) && (bg)) {
_root.tagTeam([-50, 280, "R"]);
}
}
if (fire) {
clip.gotoAndStop((("face" + facing) + "fire") + fireDir);
if (fc <= ofc) {
fc = ofc + 1;
} else {
fc++;
}
if (fc > fireFreq) {
fc = 0;
this["fire_" + weapon]();
}
ofc = fc;
}
if (tagTeaming) {
_root.c--;
if (clip.hitTest(_root[_root.char + "Clip"])) {
if (_root[_root.char].f2 != "dying") {
_root.audio.playLevel2("tagTeam1", 20);
speed = baseSpeed;
control = true;
exit = false;
weapon = (_root.bro1Weapon = _root.bro2Weapon);
this[weapon]();
inv = false;
tagTeaming = false;
_root.rescue = false;
_root.char2 = _root.char;
_root.char = "broShip1";
_root.shield.tagTeam();
_root.bro2Life = _root[_root.char2].life;
_root[_root.char2].control = false;
_root[_root.char2].inv = true;
_root[_root.char2].exit = true;
_root[_root.char2].fireDir = "";
if (facing == "R") {
_root[_root.char2].facing = "R";
_root[_root.char2].gotoXY(1300, 0, "", true);
} else {
_root[_root.char2].facing = "L";
_root[_root.char2].gotoXY(-300, 0, "", true);
}
}
}
}
tX = tX + xA;
tY = (hover ? ((tY + yA) + (0.3 * Math.sin((hc = hc + 0.05)))) : (tY + yA));
x = tX;
y = tY;
clip._x = x;
clip._y = y;
}
var baseSpeed = 6;
var speed = 6;
var fire = false;
var d = 999989;
var c = 0;
var fc = 0;
var shotID = 0;
var xA = 0;
var yA = 0;
var f2 = "";
var facing = "R";
var hc = 0;
var fireFreq = 11;
var fireFreqOrig = 11;
var shieldOn = false;
var inv = false;
var control = true;
var exit = false;
var tagTeaming = false;
var bg = false;
var gesture = false;
var sl = "top";
var ofc = 0;
var endFire = false;
var hover = true;
}
Symbol 4686 MovieClip [__Packages.classes.fx.CoinDrain] Frame 0
class classes.fx.CoinDrain
{
var x, y, id, clip, xMov, yMov;
function CoinDrain (px, py, pid) {
x = px;
y = py;
id = pid;
_root.d++;
clip = _root.attachMovie("coinDrain", ("coinDrain" + id) + "Clip", _root.d + 499990);
clip._x = x;
clip._y = y;
clip._alpha = 40;
xMov = _root.randRange2(-3, 3);
yMov = _root.randRange2(-2, -5);
}
function main() {
clip._alpha = clip._alpha - 0.5;
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
_root.removeFX("coinDrain" + id);
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var Name = "coinDrain";
}
Symbol 4687 MovieClip [__Packages.classes.misc.Shield] Frame 0
class classes.misc.Shield
{
var clip, shape, facing, oldFacing;
function Shield () {
clip = _root.attachMovie("shield", "shieldClip", 300070);
var _local3 = "";
if (_root.char == "broShip1") {
var _local4 = ((_root.bro1ShipLevel > 3) ? ("_" + (_root.bro1ShipLevel - 3)) : ("_" + _root.bro1ShipLevel));
if (_root.bro1ShipVar != 1) {
_local3 = ((_root.bro1ShipVar == 7) ? "Black" : "B");
}
} else if (_root.char == "broShip2") {
var _local4 = ((_root.bro2ShipLevel > 3) ? ("_" + (_root.bro2ShipLevel - 3)) : ("_" + _root.bro2ShipLevel));
if (_root.bro2ShipVar != 1) {
_local3 = ((_root.bro2ShipVar == 7) ? "Black" : "B");
}
} else {
var _local4 = "";
}
shape = (_root.char + _local4) + _local3;
if (_local3 == "Black") {
shape = "shipBlack";
}
clip.masks.gotoAndStop(shape + _root[_root.char].facing);
clip._x = _root[_root.char].x;
clip._y = _root[_root.char].y;
}
function hit() {
out = true;
clip.shieldClip.gotoAndPlay("hit");
_root.audio.playLevel3("shieldHit", 28);
}
function renew() {
clip.shieldClip.gotoAndPlay(1);
_root.audio.playLevel3("shield2", _root.randRange(29, 35));
}
function yank() {
_root[_root.char].shieldOn = false;
_root.removePowerUp("shield");
}
function tagTeam() {
var _local3 = "";
if (_root.char == "broShip1") {
var _local4 = ((_root.bro1ShipLevel > 3) ? ("_" + (_root.bro1ShipLevel - 3)) : ("_" + _root.bro1ShipLevel));
if (_root.bro1ShipVar != 1) {
_local3 = ((_root.bro1ShipVar == 7) ? "Black" : "B");
}
} else if (_root.char == "broShip2") {
var _local4 = ((_root.bro2ShipLevel > 3) ? ("_" + (_root.bro2ShipLevel - 3)) : ("_" + _root.bro2ShipLevel));
if (_root.bro2ShipVar != 1) {
_local3 = ((_root.bro2ShipVar == 7) ? "Black" : "B");
}
} else {
var _local4 = "";
}
shape = (_root.char + _local4) + _local3;
if (_local3 == "Black") {
shape = "shipBlack";
}
clip.masks.gotoAndStop(shape + _root[_root.char].facing);
_root[_root.char].shieldOn = true;
}
function main() {
facing = _root[_root.char].facing;
if (facing != oldFacing) {
clip.masks.gotoAndStop(shape + facing);
}
oldFacing = facing;
clip._x = _root[_root.char].x;
clip._y = _root[_root.char].y;
}
var out = false;
var Name = "shield";
}
Symbol 4688 MovieClip [__Packages.classes.misc.Rampage] Frame 0
class classes.misc.Rampage
{
var c2Max, colorTrans, l;
function Rampage (max) {
c2Max = max;
colorTrans = new flash.geom.ColorTransform();
_root[_root.char].inv = true;
l = colorArray.length;
var _local3 = 0;
var _local4 = _root.randRange(20, 30);
while (_local3 < _local4) {
_root.fxID++;
_root["rampageTrail" + _root.fxID] = new classes.fx.RampageTrail(_root[_root.char].x + 20, _root[_root.char].y + 20, _root.fxID);
_root.addFX("rampageTrail" + _root.fxID);
_local3++;
}
_root.audio.playLevel2("rampageTheme", 45);
}
function main() {
_root[_root.char].inv = true;
c++;
c2++;
if (c == l) {
c = 0;
}
colorTrans.redOffset = colorArray[c][0];
colorTrans.greenOffset = colorArray[c][1];
colorTrans.blueOffset = colorArray[c][2];
if (c2 > (c2Max - 100)) {
var _local3 = 100 - (c2 - (c2Max - 100));
if ((((((_local3 < 90) && (_local3 > 80)) || ((_local3 < 70) && (_local3 > 60))) || ((_local3 < 50) && (_local3 > 40))) || ((_local3 < 30) && (_local3 > 20))) || ((_local3 < 10) && (_local3 > 0))) {
colorTrans.redOffset = colorArray[c][0] * (_local3 * 0.01);
colorTrans.greenOffset = colorArray[c][1] * (_local3 * 0.01);
colorTrans.blueOffset = colorArray[c][2] * (_local3 * 0.01);
} else {
colorTrans.redOffset = 0;
colorTrans.greenOffset = 0;
colorTrans.blueOffset = 0;
}
}
_root[_root.char].trans.colorTransform = colorTrans;
_root[_root.char].speed = _root[_root.char].baseSpeed + ((c2Max - c) / 100);
if (random(5 + (c2 / 10)) < 5) {
_root.fxID++;
_root["rampageTrail" + _root.fxID] = new classes.fx.RampageTrail(_root[_root.char].x + random(40), _root[_root.char].y + random(40), _root.fxID);
_root.addFX("rampageTrail" + _root.fxID);
}
if (c2 >= c2Max) {
_root[_root.char].speed = _root[_root.char].baseSpeed;
_root[_root.char].inv = false;
_root.removePowerUp("rampage");
}
}
var c = -1;
var c2 = 0;
var colorArray = [[255, 0, 0], [255, 125, 0], [255, 255, 0], [255, 255, 125], [255, 255, 255], [125, 255, 125], [0, 255, 0], [0, 255, 125], [0, 255, 255], [255, 125, 255], [255, 0, 125]];
var Name = "rampage";
}
Symbol 4689 MovieClip [__Packages.classes.fx.RampageTrail] Frame 0
class classes.fx.RampageTrail
{
var x, y, id, clip, cMax, trans, colorTrans, colorArray, colorL, colorC;
function RampageTrail (px, py, pid) {
x = px;
y = py;
id = pid;
_root.d++;
clip = _root.attachMovie("rampageTrail", ("rampageTrail" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip.gotoAndStop("shape4");
if (random(2) > 0) {
xMov = _root.randRange(-3, 3);
} else {
yMov = _root.randRange(-3, 3);
}
cMax = _root.randRange(20, 50);
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(0, 0, 0, 1, 0, 0, 0, 1);
colorArray = this["colorArray" + _root.randRange(1, 3)].slice();
delete colorArray1;
delete colorArray2;
delete colorArray3;
colorL = colorArray.length;
colorC = -1;
}
function main() {
c++;
if (c >= cMax) {
_root.removeFX("rampageTrail" + id);
}
colorC++;
if (colorC > colorL) {
colorC = 0;
}
colorTrans.redOffset = colorArray[colorC][0];
colorTrans.greenOffset = colorArray[colorC][1];
colorTrans.blueOffset = colorArray[colorC][2];
trans.colorTransform = colorTrans;
clip._alpha = 100 - (c * (100 / cMax));
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var c = 0;
var colorArray1 = [[255, 0, 0], [255, 125, 0], [255, 255, 0], [255, 125, 0], [255, 255, 255], [255, 0, 0], [255, 255, 0], [255, 125, 0], [255, 0, 0]];
var colorArray2 = [[0, 255, 0], [0, 255, 125], [0, 255, 255], [0, 125, 255], [0, 0, 255], [255, 255, 255], [125, 255, 255], [0, 125, 255], [0, 255, 255]];
var colorArray3 = [[0, 125, 255], [255, 0, 125], [255, 0, 255], [255, 255, 255], [255, 0, 125], [0, 255, 255], [125, 255, 255], [0, 125, 255], [0, 255, 0]];
var Name = "rampageTrail";
}
Symbol 4690 MovieClip [__Packages.classes.misc.RapidFire] Frame 0
class classes.misc.RapidFire
{
var cMax, big;
function RapidFire (max, pbig) {
cMax = max;
big = pbig;
if (!big) {
_root.rapidVar = 2;
} else {
_root.rapidVar = 3;
}
}
function main() {
c++;
if (!big) {
_root[_root.char].fireFreq = 3 + Math.round(c / (cMax / 6));
} else {
_root[_root.char].fireFreq = 4 + Math.round(c / (cMax / 6));
}
if (c == cMax) {
_root[_root.char].fireFreq = _root[_root.char].fireFreqOrig;
if (!big) {
_root.rapidVar = 3;
} else {
_root.rapidVar = 4;
}
_root.currentBoost = "";
_root.removePowerUp("rapidFire");
}
if ((c < (cMax / 3)) && (_root[_root.char].fire)) {
c2++;
c2Max = c2Max / 1.04;
if (c2 >= (Math.ceil(c2Max) + 1)) {
_root["gunSmoke" + c] = new classes.fx.GunSmoke(_root[_root.char].shotX, _root[_root.char].shotY, c);
_root.addFX("gunSmoke" + c);
c2 = 0;
}
} else if ((c > (cMax / 3)) && (_root[_root.char].fire)) {
c2++;
c2Max = c2Max * 1.03;
if (c2 >= (Math.ceil(c2Max) + 1)) {
_root["gunSmoke" + c] = new classes.fx.GunSmoke(_root[_root.char].shotX, _root[_root.char].shotY, c);
_root.addFX("gunSmoke" + c);
c2 = 0;
}
}
}
var c = 0;
var c2 = 0;
var c2Max = 20;
var Name = "rapidFire";
}
Symbol 4691 MovieClip [__Packages.classes.fx.GunSmoke] Frame 0
class classes.fx.GunSmoke
{
var id, x, y, clip, xMov, yMov, c, cMax, alphaStart;
function GunSmoke (px, py, pid) {
id = pid;
x = px;
y = py;
_root.d++;
clip = _root.attachMovie("gunSmoke", ("gunSmoke" + id) + "Clip", _root.d + 499990);
clip._x = x;
clip._y = y;
xMov = _root.randRange2(-0.5, 0.5);
yMov = _root.randRange2(-1, -3);
c = 0;
cMax = _root.randRange(15, 30);
alphaStart = _root.randRange(50, 110);
var _local3 = _root.randRange2(0.7, 1.2);
clip._xscale = clip._xscale * _local3;
clip._yscale = clip._yscale * _local3;
}
function main() {
c++;
if (c == cMax) {
_root.removeFX("gunSmoke" + id);
}
yMov = yMov * 1.03;
clip._alpha = alphaStart - (c * (alphaStart / cMax));
clip._xscale = clip._xscale * 1.04;
clip._yscale = clip._yscale * 1.04;
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var Name = "gunSmoke";
}
Symbol 4692 MovieClip [__Packages.classes.misc.LaserBoost] Frame 0
class classes.misc.LaserBoost
{
var cMax;
function LaserBoost (max) {
cMax = max;
_root.laserPower = 16;
}
function main() {
c++;
_root.laserPower = ((random(300) > (c - 50)) ? 16 : 8);
if (c == cMax) {
_root.laserPower = 8;
_root.currentBoost = "";
_root.removePowerUp("laserBoost");
}
if ((c < (cMax / 3)) && (_root[_root.char].fire)) {
c2++;
c2Max = c2Max / 1.04;
if (c2 >= (Math.ceil(c2Max) + 1)) {
_root["gunSmoke" + c] = new classes.fx.GunSmoke(_root[_root.char].shotX, _root[_root.char].shotY, c);
_root.addFX("gunSmoke" + c);
c2 = 0;
}
} else if ((c > (cMax / 3)) && (_root[_root.char].fire)) {
c2++;
c2Max = c2Max * 1.03;
if (c2 >= (Math.ceil(c2Max) + 1)) {
_root["gunSmoke" + c] = new classes.fx.GunSmoke(_root[_root.char].shotX, _root[_root.char].shotY, c);
_root.addFX("gunSmoke" + c);
c2 = 0;
}
}
}
var c = 0;
var c2 = 0;
var c2Max = 20;
var Name = "laserBoost";
}
Symbol 4693 MovieClip [__Packages.classes.misc.SuperRapidFire] Frame 0
class classes.misc.SuperRapidFire
{
var cMax;
function SuperRapidFire (max) {
cMax = max;
_root.superRapid = true;
}
function main() {
c++;
_root[_root.char].fireFreq = 3 + Math.floor(c / 150);
if (c == cMax) {
_root[_root.char].fireFreq = _root[_root.char].fireFreqOrig;
_root.currentBoost = "";
_root.superRapid = false;
_root.removePowerUp("superRapidFire");
}
if ((c < (cMax / 3)) && (_root[_root.char].fire)) {
c2++;
c2Max = c2Max / 1.04;
if (c2 >= (Math.ceil(c2Max) + 1)) {
_root["gunSmoke" + c] = new classes.fx.GunSmoke(_root[_root.char].shotX, _root[_root.char].shotY, c);
_root.addFX("gunSmoke" + c);
c2 = 0;
}
} else if ((c > (cMax / 3)) && (_root[_root.char].fire)) {
c2++;
c2Max = c2Max * 1.03;
if (c2 >= (Math.ceil(c2Max) + 1)) {
_root["gunSmoke" + c] = new classes.fx.GunSmoke(_root[_root.char].shotX, _root[_root.char].shotY, c);
_root.addFX("gunSmoke" + c);
c2 = 0;
}
}
}
var c = 0;
var c2 = 0;
var c2Max = 20;
var Name = "superRapidFire";
}
Symbol 4694 MovieClip [__Packages.classes.misc.SpeedBoost] Frame 0
class classes.misc.SpeedBoost
{
var cMax, baseSpeed;
function SpeedBoost (max) {
cMax = max;
baseSpeed = _root[_root.char].baseSpeed;
}
function main() {
c++;
_root[_root.char].speed = baseSpeed + ((cMax - c) / (cMax / 3));
if (c == cMax) {
_root[_root.char].speed = _root[_root.char].baseSpeed;
_root.removePowerUp("speedBoost");
}
}
var c = 0;
var Name = "speedBoost";
}
Symbol 4695 MovieClip [__Packages.classes.bro.Bro1] Frame 0
class classes.bro.Bro1
{
var tX, x, tY, y, clip, w, h, weapon, trans, colorTrans, colorVars, baseSpeed, speed, fireDir, dc, fireFreq, fireFreqOrig, shotX, shotY, dirX, dirY, destX, destY, xyMetFunction, dirXArray, dirYArray, fire, oldLegState;
function Bro1 (px, py) {
tX = (x = px);
tY = (y = py);
clip = _root.attachMovie("bro1", "bro1Clip", d);
w = clip._width;
h = clip._height;
clip._x = x;
clip._y = y;
weapon = _root.bro1Weapon;
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0);
colorVars = new Object();
_root.rapidVar = 2;
this[weapon]();
var _local3 = ((_root.bro1ShipLevel > 3) ? (_root.bro1ShipLevel - 3) : (_root.bro1ShipLevel));
baseSpeed = (speed = 6 + _local3);
}
function colorFlash(r, g, b, cMax) {
colorVars.c = 0;
colorVars.r = r;
colorVars.g = g;
colorVars.b = b;
colorVars.cMax = cMax;
colorVars.flashing = true;
}
function wave() {
clip.gotoAndPlay("wave" + facing);
fireDir = "";
gesture = true;
}
function hit() {
if ((c2 > 60) && (f2 != "dying")) {
if (shieldOn && (!inv)) {
_root.shield.hit();
} else if (!inv) {
xA = (yA = 0);
control = false;
facing = "death";
fireDir = "";
f2 = "dying";
dc = 0;
_root.rescue = false;
_root.audio.playLevel2("broDeath", 25);
}
}
}
function dying() {
dc++;
colorTrans.redMultiplier = 0;
colorTrans.greenMultiplier = 0;
colorTrans.blueMultiplier = 0;
colorTrans.redOffset = 0;
colorTrans.greenOffset = 0;
colorTrans.blueOffset = 0;
var _local3 = random(4);
if (_local3 == 0) {
colorTrans.redOffset = 255;
colorTrans.redMultiplier = 1;
} else if (_local3 == 1) {
colorTrans.greenOffset = 255;
colorTrans.greenMultiplier = 1;
} else if (_local3 == 2) {
colorTrans.blueOffset = 255;
colorTrans.blueMultiplier = 1;
} else {
colorTrans.redOffset = 255;
colorTrans.greenOffset = 255;
colorTrans.blueOffset = 255;
}
trans.colorTransform = colorTrans;
clip._alpha = 100 - (dc * 1.6);
if (dc == 60) {
if (_root.char2 == "broShip2") {
var _local4 = ((_root["advanceDir" + _root.level] == "L") ? -45 : 1010);
if (_root.broShip2.bg) {
_root.bgWait = new classes.misc.BGWait(_local4, "bro2", false);
_root.addFX("bgWait");
} else if (!_root.broShip2.tagTeaming) {
_root.broShip2 = new classes.bro.BroShip2(_local4, 280);
_root.addChar("broShip2");
_root.broShip2.appear();
_root.char = "broShip2";
_root.char2 = "dead";
} else {
_root.broShip2.tagTeaming = false;
_root.broShip2.giveControl();
_root.char = "broShip2";
_root.char2 = "dead";
}
_root.rescue = false;
_root.createPowerUp([x, y, weapon]);
_root.createPowerUp([x, y, "lifeMax"]);
} else if (_root.char2 == "bro2") {
var _local4 = ((_root["advanceDir" + _root.level] == "L") ? -45 : 1010);
_root.bro2 = new classes.bro.Bro2(_local4, 280);
_root.addChar("bro2");
_root.bro2.appear();
_root.char = "bro2";
_root.char2 = "dead";
_root.createPowerUp([x, y, weapon]);
_root.shield = new classes.misc.Shield();
_root.addPowerUp("shield");
_root[_root.char].shieldOn = true;
} else {
_root.gameOver();
}
_root.removeChar("bro1");
}
}
function nudge(pxA, pyA, pscale) {
if ((((c == 0) || (c > 5)) && (!inv)) && (f2 != "dying")) {
c = 0;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
f2 = "nudging";
}
}
function nudging() {
xA = xA * 0.75;
yA = yA * 0.75;
c++;
if (c == 20) {
xA = (yA = 0);
f2 = "";
c = 0;
}
}
function powerUp(type) {
if (type.substr(0, 10) == "speedBoost") {
var _local3 = Number(type.substr(10));
speedBoost(_local3 * 300);
} else if (type.substr(0, 11) == "weaponBoost") {
var _local3 = Number(type.substr(11));
weaponBoost(_local3 * 200);
} else {
this[type]();
}
}
function coin1() {
_root.coins.addTo(1);
colorFlash(200, 200, 200, 10);
}
function coin5() {
_root.coins.addTo(5);
colorFlash(200, 200, 200, 10);
}
function coin10() {
_root.coins.addTo(10);
colorFlash(200, 200, 0, 10);
}
function coin25() {
_root.coins.addTo(25);
colorFlash(200, 200, 0, 10);
}
function stealCoins(num) {
if ((!shieldOn) && (!inv)) {
_root.audio.playLevel2("coinDrain2", 25);
var _local4 = random(num) + 2;
if ((_root.coins.num - _local4) < 0) {
_local4 = _root.coins.num;
}
_root.coins.addTo(-1 * _local4);
var _local3 = 0;
while (_local3 < _local4) {
_root.fxID++;
_root["coinDrain" + _root.fxID] = new classes.fx.CoinDrain(x + 6, y + 6, _root.fxID);
_root.addFX("coinDrain" + _root.fxID);
_local3++;
}
}
}
function gem1() {
_root.gems.addTo(1);
colorFlash(40, 255, 180, 15);
}
function gem2() {
_root.gems.addTo(1);
colorFlash(0, 90, 200, 15);
}
function gem3() {
_root.gems.addTo(1);
colorFlash(255, 50, 0, 15);
}
function gem4() {
_root.gems.addTo(1);
colorFlash(255, 170, 30, 15);
}
function gem5() {
_root.gems.addTo(1);
colorFlash(255, 100, 255, 15);
}
function gem6() {
_root.gems.addTo(1);
colorFlash(0, 255, 180, 15);
}
function superP() {
weaponBoost(600);
speedBoost(600);
shield();
}
function smartBomb() {
_root.smartBomb.gotoAndPlay(2);
var _local2 = 1;
var _local3 = _root.chars.length;
while (_local2 < _local3) {
_root[_root.chars[_local2]].bombed(20);
_local2++;
}
_local2 = 0;
_local3 = _root.enemyShots.length;
var _local4 = _root.enemyShots.slice();
while (_local2 < _local3) {
_root[_local4[_local2]].bombed();
_local2++;
}
_local2 = 0;
_local3 = _root.FX.length;
_local4 = _root.FX.slice();
while (_local2 < _local3) {
_root[_local4[_local2]].bombed();
_local2++;
}
}
function shield() {
if (!shieldOn) {
_root.shield = new classes.misc.Shield();
_root.addPowerUp("shield");
shieldOn = true;
} else if (_root.shield.out) {
_root.shield.renew();
}
colorFlash(70, 180, 250, 30);
}
function rampage() {
var _local2 = 0;
var _local3 = _root.powerUps.length;
while (_local2 < _local3) {
if (_root.powerUps[_local2] == "rampage") {
_root.removePowerUp("rampage");
break;
}
_local2++;
}
_root.rampage = new classes.misc.Rampage(300);
_root.addPowerUp("rampage");
}
function weaponBoost(num) {
if ((((((weapon == "laserA") || (weapon == "doubleLaserA")) || (weapon == "tripleLaserA")) || (weapon == "bigLaser")) || (weapon == "twistLaser")) || (weapon == "tripleTwistLaser")) {
if (_root.currentBoost == "rapidFire") {
_root.removePowerUp("rapidFire");
}
_root.currentBoost = "rapidFire";
clip.gun[weapon].gotoAndPlay("rapidFire");
if (weapon != "bigLaser") {
_root.rapidFire = new classes.misc.RapidFire(num, false);
} else {
_root.rapidFire = new classes.misc.RapidFire(num, true);
}
_root.addPowerUp("rapidFire");
}
if ((weapon == "rapidLaser") || (weapon == "doubleRapidLaser")) {
if (_root.currentBoost == "laserBoost") {
_root.removePowerUp("laserBoost");
}
_root.currentBoost = "laserBoost";
clip.gun[weapon].gotoAndPlay("rapidFire");
_root.laserBoost = new classes.misc.LaserBoost(num);
_root.addPowerUp("laserBoost");
}
if (weapon == "superLaser") {
if (_root.currentBoost == "superRapidFire") {
_root.removePowerUp("superRapidFire");
}
_root.currentBoost = "superRapidFire";
clip.gun[weapon].gotoAndPlay("rapidFire");
_root.superRapidFire = new classes.misc.SuperRapidFire(num);
_root.addPowerUp("superRapidFire");
}
colorFlash(255, 125, 0, 30);
}
function checkBoost() {
if (_root.currentBoost != "") {
_root.removePowerUp(_root.currentBoost);
_root.currentBoost = "";
_root.laserPower = 8;
}
}
function laserA() {
checkBoost();
_root.rapidVar = 2;
fireFreq = 11;
fireFreqOrig = 11;
clip.gun.gotoAndStop(weapon);
}
function doubleLaserA() {
checkBoost();
_root.rapidVar = 2;
fireFreq = 11;
fireFreqOrig = 11;
_root.bro1Weapon = (weapon = "doubleLaserA");
clip.gun.gotoAndStop(weapon);
colorFlash(200, 200, 0, 30);
}
function tripleLaserA() {
checkBoost();
_root.rapidVar = 2;
fireFreq = 11;
fireFreqOrig = 11;
_root.bro1Weapon = (weapon = "tripleLaserA");
clip.gun.gotoAndStop(weapon);
colorFlash(255, 160, 0, 30);
}
function twistLaser() {
checkBoost();
_root.rapidVar = 2;
fireFreq = 10;
fireFreqOrig = 10;
_root.bro1Weapon = (weapon = "twistLaser");
colorFlash(100, 200, 230, 30);
}
function tripleTwistLaser() {
checkBoost();
_root.rapidVar = 2;
fireFreq = 10;
fireFreqOrig = 10;
_root.bro1Weapon = (weapon = "tripleTwistLaser");
colorFlash(100, 200, 230, 30);
}
function rapidLaser() {
checkBoost();
_root.rapidVar = 2;
fireFreq = 4;
fireFreqOrig = 4;
_root.bro1Weapon = (weapon = "rapidLaser");
clip.gun.gotoAndStop(weapon);
colorFlash(0, 230, 190, 30);
}
function bigLaser() {
checkBoost();
_root.rapidVar = 4;
fireFreq = 9;
fireFreqOrig = 9;
_root.bro1Weapon = (weapon = "bigLaser");
clip.gun.gotoAndStop(weapon);
colorFlash(0, 130, 255, 30);
}
function superLaser() {
checkBoost();
_root.rapidVar = 2;
fireFreq = 5;
fireFreqOrig = 5;
_root.bro1Weapon = (weapon = "superLaser");
colorFlash(255, 255, 255, 30);
}
function speedBoost(num) {
var _local3 = 0;
var _local4 = _root.powerUps.length;
while (_local3 < _local4) {
if (_root.powerUps[_local3] == "speedBoost") {
_root.removePowerUp("speedBoost");
break;
}
_local3++;
}
_root.speedBoost = new classes.misc.SpeedBoost(num);
_root.addPowerUp("speedBoost");
colorFlash(0, 255, 0, 60);
}
function fire_laserA() {
_root.audio.playLevel5("laserA" + (random(5) + 1), random(4) + 6);
shotID++;
_root["laserA" + shotID] = new classes.bro.LaserA(shotX, shotY, fireDir, shotID);
_root.addBroShot("laserA" + shotID);
clip.gun.blast.gotoAndPlay("go");
}
function fire_twistLaser() {
_root.audio.playLevel5("twist" + (random(3) + 1), random(10) + 8);
shotID++;
_root["twistLaser" + shotID] = new classes.bro.TwistLaser(shotX, shotY, fireDir, "top", shotID);
_root.addBroShot("twistLaser" + shotID);
shotID++;
_root["twistLaser" + shotID] = new classes.bro.TwistLaser(shotX, shotY, fireDir, "bot", shotID);
_root.addBroShot("twistLaser" + shotID);
clip.gun.blast.gotoAndPlay("go");
}
function fire_tripleTwistLaser() {
_root.audio.playLevel5("twist" + (random(3) + 1), random(10) + 8);
shotID++;
_root["twistLaserB" + shotID] = new classes.bro.TwistLaserB(shotX, shotY, fireDir, shotID);
_root.addBroShot("twistLaserB" + shotID);
shotID++;
_root["twistLaserC" + shotID] = new classes.bro.TwistLaserC(shotX, shotY, fireDir, "bot", shotID);
_root.addBroShot("twistLaserC" + shotID);
shotID++;
_root["twistLaserC" + shotID] = new classes.bro.TwistLaserC(shotX, shotY, fireDir, "top", shotID);
_root.addBroShot("twistLaserC" + shotID);
clip.gun.blast.gotoAndPlay("go");
}
function fire_doubleLaserA() {
_root.audio.playLevel5("doubleLaserA" + (random(5) + 1), random(10) + 8);
if ((fireDir == "R") || (fireDir == "L")) {
var _local6 = 0;
var _local4 = -3;
var _local5 = 0;
var _local3 = 9;
} else {
var _local6 = -6;
var _local4 = 0;
var _local5 = 6;
var _local3 = 0;
}
shotID++;
_root["laserA" + shotID] = new classes.bro.LaserA(shotX + _local6, shotY + _local4, fireDir, shotID);
_root.addBroShot("laserA" + shotID);
shotID++;
_root["laserA" + shotID] = new classes.bro.LaserA(shotX + _local5, shotY + _local3, fireDir, shotID);
_root.addBroShot("laserA" + shotID);
clip.gun.blast.gotoAndPlay("go");
clip.gun.blast2.gotoAndPlay("go");
}
function fire_tripleLaserA() {
_root.audio.playLevel5("tripleLaserA" + (random(5) + 1), random(10) + 8);
if ((fireDir == "R") || (fireDir == "L")) {
var _local6 = 0;
var _local4 = -3;
var _local5 = 0;
var _local3 = 3;
} else {
var _local6 = -3;
var _local4 = 0;
var _local5 = 3;
var _local3 = 0;
}
shotID++;
_root["spreadLaserA" + shotID] = new classes.bro.SpreadLaserA(shotX + _local6, shotY + _local4, fireDir, 1, shotID);
_root.addBroShot("spreadLaserA" + shotID);
shotID++;
_root["laserA" + shotID] = new classes.bro.LaserA(shotX, shotY, fireDir, shotID);
_root.addBroShot("laserA" + shotID);
shotID++;
_root["spreadLaserA" + shotID] = new classes.bro.SpreadLaserA(shotX + _local5, shotY + _local3, fireDir, 2, shotID);
_root.addBroShot("spreadLaserA" + shotID);
clip.gun.blast.gotoAndPlay("go");
clip.gun.blast2.gotoAndPlay("go");
}
function fire_rapidLaser() {
if ((fireDir == "R") || (fireDir == "L")) {
var _local6 = 0;
var _local4 = -6;
var _local5 = 0;
var _local3 = 6;
} else {
var _local6 = -6;
var _local4 = 0;
var _local5 = 6;
var _local3 = 0;
}
_root.audio.playLevel5("rapidLaser" + (random(5) + 1), random(30) + 10);
shotID++;
_root["rapidLaser" + shotID] = new classes.bro.RapidLaser(shotX + _local6, shotY + _local4, fireDir, shotID);
_root.addBroShot("rapidLaser" + shotID);
shotID++;
_root["rapidLaser" + shotID] = new classes.bro.RapidLaser(shotX + _local5, shotY + _local3, fireDir, shotID);
_root.addBroShot("rapidLaser" + shotID);
clip.gun.blast.gotoAndPlay("go");
}
function fire_bigLaser() {
_root.audio.playLevel5("bigLaser" + (random(3) + 1), random(10) + 8);
shotID++;
_root["bigLaser" + shotID] = new classes.bro.BigLaser(shotX, shotY, fireDir, shotID);
_root.addBroShot("bigLaser" + shotID);
clip.gun.blast.gotoAndPlay("go2");
if (fireDir == "U") {
nudge(0, 4, 100);
} else if (fireDir == "D") {
nudge(0, -4, 100);
} else if (fireDir == "L") {
nudge(4, 0, 100);
} else {
nudge(-4, 0, 100);
}
}
function fire_superLaser() {
_root.audio.playLevel5("superLaser" + (random(3) + 1), random(10) + 8);
if (sl == "top") {
sl = "bot";
if ((fireDir == "R") || (fireDir == "L")) {
var _local4 = 0;
var _local3 = 6;
} else {
var _local4 = 6;
var _local3 = 0;
}
} else {
sl = "top";
if ((fireDir == "R") || (fireDir == "L")) {
var _local4 = 0;
var _local3 = -6;
} else {
var _local4 = -6;
var _local3 = 0;
}
}
shotID++;
_root["superLaserA" + shotID] = new classes.bro.SuperLaserA(shotX + _local4, shotY + _local3, fireDir, shotID);
_root.addBroShot("superLaserA" + shotID);
shotID++;
_root["superLaserB" + shotID] = new classes.bro.SuperLaserB(shotX, shotY, fireDir, "top", shotID);
_root.addBroShot("superLaserB" + shotID);
shotID++;
_root["superLaserB" + shotID] = new classes.bro.SuperLaserB(shotX, shotY, fireDir, "bot", shotID);
_root.addBroShot("superLaserB" + shotID);
clip.gun.blast.gotoAndPlay("go2");
if (fireDir == "U") {
nudge(0, 4, 100);
} else if (fireDir == "D") {
nudge(0, -4, 100);
} else if (fireDir == "L") {
nudge(4, 0, 100);
} else {
nudge(-4, 0, 100);
}
}
function action11() {
speed = 9;
control = false;
exit = true;
facing = "R";
fireDir = "";
gotoXY(1300, 0);
}
function positionForSwitch(pdestY) {
control = false;
gotoXY(0, pdestY, "action6B");
fireDir = "";
facing = "R";
}
function action6B() {
gotoXY(_root.newShipClip._x + 9, 0);
}
function getInShip(pdestY) {
gotoXY(0, pdestY);
}
function getInOldShipA() {
exit = true;
control = false;
fireDir = "";
facing = "R";
gotoXY(_root.newShipClip._x - 94, 0, "getInOldShipB");
}
function getInOldShipB() {
gotoXY(0, _root.newShipClip._y + 3, "getInOldShipC");
}
function getInOldShipC() {
_root.bro1ShipLevel = _root.tempShipLevel;
_root.bro1ShipVar = _root.tempShipVar;
delete _root.tempShipLevel;
delete _root.tempShipVar;
_root.bro1Life = _root.tempLife;
delete _root.tempLife;
_root.broShip1 = new classes.bro.BroShip1(_root.newShipClip._x, _root.newShipClip._y);
_root.addChar("broShip1");
_root.char2 = "broShip1";
_root.newShipClip.removeMovieClip();
_root.broShip1.control = false;
_root.broShip1.facing = "R";
_root.broShip1.fireDir = "";
_root.broShip1.clip.body.getOut = true;
_root.broShip1.clip.body.gotoAndPlay("close");
_root.removeChar("bro1");
}
function endSeq(pdir) {
speed = (baseSpeed = 7);
exit = true;
weapon = "rapidLaser";
_root.bro1weapon = weapon;
this[weapon]();
facing = (fireDir = pdir);
control = false;
var _local3 = ((facing == "L") ? 800 : 200);
gotoXY(_local3, 280);
}
function endSeqB() {
gotoXY(0, _root.deathHeadClip._y);
}
function endSeqMove() {
speed = (baseSpeed = 9);
endFire = true;
gotoXY(_root.randRange(100, 900), _root.randRange(100, 500), "endSeqMove");
}
function endStill() {
endFire = false;
dirX = (dirY = (fireDir = ""));
f2 = "";
}
function endPos() {
xA = (yA = 0);
speed = 2;
control = false;
facing = "R";
fireDir = "";
gotoXY(657, 250);
}
function endPos2() {
xA = (yA = 0);
clip._x = (x = (tX = 657));
gotoXY(0, 471, "endPos3");
}
function endPos3() {
xA = (yA = (speed = 0));
hover = false;
_root.endBGClip.clip.zapPack._visible = true;
_root.endBGClip.clip.zapPack.play();
_root.removeChar("bro1");
}
function appear() {
exit = true;
inv = true;
control = false;
if (x < 0) {
facing = "R";
fireDir = "R";
gotoXY(150, 0, "giveControl");
} else {
facing = "L";
fireDir = "L";
gotoXY(850, 0, "giveControl");
}
}
function giveControl() {
inv = false;
control = true;
exit = false;
}
function gotoXY(pdestX, pdestY, pmetFunction, pwave) {
destX = pdestX;
destY = pdestY;
xyMetFunction = pmetFunction;
var _local2 = pwave;
if (destX != 0) {
dirX = ((x > destX) ? "L" : "R");
}
if (destY != 0) {
dirY = ((y > destY) ? "U" : "D");
}
f2 = "goingXY";
if (_local2) {
wave();
}
}
function goingXY() {
if ((destX != 0) && (Math.abs(x - destX) < (speed + 1))) {
dirX = "";
var _local2 = true;
}
if (destX == 0) {
var _local2 = true;
}
if ((destY != 0) && (Math.abs(y - destY) < (speed + 1))) {
dirY = "";
var _local3 = true;
}
if (destY == 0) {
var _local3 = true;
}
if (_local2 && (_local3)) {
this[xyMetFunction]();
}
}
function changeDir() {
dirX = dirXArray[random(dirXArray.length)];
dirY = dirYArray[random(dirYArray.length)];
}
function wander() {
if (random(100) > 93) {
changeDir();
}
}
function main() {
c2++;
this[f2]();
if (endFire) {
if (random(30) == 0) {
var _local4 = ["L", "R", "D", "U", "", "", "", ""];
fireDir = _local4[random(8)];
}
if (random(60) == 0) {
dirX = (dirY = "");
f2 = "";
} else if (random(45) == 0) {
endSeqMove();
}
}
if (control) {
legState = "still";
if (Key.isDown(_root.moveU)) {
tY = y - speed;
legState = "U";
}
if (Key.isDown(_root.moveD)) {
tY = y + speed;
legState = "D";
}
if (Key.isDown(_root.moveL)) {
tX = x - speed;
legState = ((facing == "L") ? "F" : "B");
}
if (Key.isDown(_root.moveR)) {
tX = x + speed;
legState = ((facing == "R") ? "F" : "B");
}
if (Key.isDown(_root.fireU)) {
fire = true;
shotY = y - 3;
shotX = ((facing == "R") ? (x + 15) : (x + 3));
fireDir = "U";
} else if (Key.isDown(_root.fireD)) {
fire = true;
shotY = y + 39;
shotX = ((facing == "R") ? (x + 15) : (x + 3));
fireDir = "D";
} else if (Key.isDown(_root.fireL)) {
fire = true;
shotX = x - 9;
shotY = y + 21;
fireDir = (facing = "L");
} else if (Key.isDown(_root.fireR)) {
fire = true;
shotX = x + 30;
shotY = y + 21;
fireDir = (facing = "R");
} else {
fire = false;
fireDir = ((facing == "R") ? "R" : "L");
clip.gotoAndStop((("face" + facing) + "fire") + fireDir);
fc++;
}
if (oldLegState != legState) {
clip.legs.gotoAndStop(legState);
clip.flame.gotoAndPlay(legState);
}
oldLegState = legState;
} else {
legState = "still";
if (dirY == "U") {
tY = y - speed;
legState = "U";
}
if (dirY == "D") {
tY = y + speed;
legState = "D";
}
if (dirX == "L") {
tX = x - speed;
legState = ((facing == "L") ? "F" : "B");
}
if (dirX == "R") {
tX = x + speed;
legState = ((facing == "R") ? "F" : "B");
}
if (fireDir == "U") {
fire = true;
shotY = y - 3;
shotX = ((facing == "R") ? (x + 15) : (x + 3));
fireDir = "U";
} else if (fireDir == "D") {
fire = true;
shotY = y + 39;
shotX = ((facing == "R") ? (x + 15) : (x + 3));
fireDir = "D";
} else if (fireDir == "L") {
fire = true;
shotX = x - 9;
shotY = y + 21;
fireDir = (facing = "L");
} else if (fireDir == "R") {
fire = true;
shotX = x + 30;
shotY = y + 21;
fireDir = (facing = "R");
} else {
fire = false;
var _local3 = ((facing == "R") ? "R" : "L");
if ((facing != "death") && (!gesture)) {
clip.gotoAndStop((("face" + facing) + "fire") + _local3);
}
fc++;
}
if (oldLegState != legState) {
clip.legs.gotoAndStop(legState);
clip.flame.gotoAndPlay(legState);
}
oldLegState = legState;
}
if (colorVars.flashing) {
colorVars.c++;
colorTrans.redOffset = colorVars.r - (colorVars.c * (colorVars.r / colorVars.cMax));
colorTrans.greenOffset = colorVars.g - (colorVars.c * (colorVars.g / colorVars.cMax));
colorTrans.blueOffset = colorVars.b - (colorVars.c * (colorVars.b / colorVars.cMax));
if (colorVars.c >= colorVars.cMax) {
colorVars.flashing = false;
colorTrans.redOffset = 0;
colorTrans.greenOffset = 0;
colorTrans.blueOffset = 0;
}
trans.colorTransform = colorTrans;
}
if (!exit) {
if (tX < 35) {
tX = 35;
}
if (tX > (965 - w)) {
tX = 965 - w;
}
if (tY < 35) {
tY = 35;
}
if (tY > (565 - h)) {
tY = 565 - h;
}
} else if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
_root.removeChar("bro1");
}
if (fire) {
clip.gotoAndStop((("face" + facing) + "fire") + fireDir);
if (fc <= ofc) {
fc = ofc + 1;
} else {
fc++;
}
if (fc > fireFreq) {
fc = 0;
this["fire_" + weapon]();
}
ofc = fc;
}
tX = tX + xA;
tY = (hover ? ((tY + yA) + (0.5 * Math.sin((hc = hc + 0.1)))) : (tY + yA));
x = tX;
y = tY;
clip._x = x;
clip._y = y;
}
var d = 999980;
var c = 0;
var c2 = 0;
var fc = 0;
var shotID = 0;
var xA = 0;
var yA = 0;
var f2 = "";
var facing = "R";
var hc = 0;
var legState = "still";
var inv = false;
var shieldOn = false;
var control = true;
var exit = false;
var life = 0;
var gesture = false;
var sl = "top";
var ofc = 0;
var endFire = false;
var hover = true;
}
Symbol 4696 MovieClip [__Packages.classes.misc.BGWait] Frame 0
class classes.misc.BGWait
{
var tmpX, whichBro, tagTeam;
function BGWait (ptmpX, pwhichBro, ptagTeam) {
tmpX = ptmpX;
whichBro = pwhichBro;
tagTeam = ptagTeam;
if (whichBro == "bro1") {
_root.broShip1.speed = _root.broShip1.speed * 2;
} else {
_root.broShip2.speed = _root.broShip2.speed * 2;
}
_root.bgWaiting = true;
}
function activateBro() {
if (whichBro == "bro2") {
_root.broShip2 = new classes.bro.BroShip2(tmpX, 280);
_root.addChar("broShip2");
if (tagTeam) {
var _local3 = ((_root["advanceDir" + _root.level] == "L") ? "R" : "L");
_root.broShip2.tagTeam(_local3);
} else {
_root.broShip2.appear();
_root.char = "broShip2";
_root.char2 = "dead";
_root.addLifeMeter();
}
} else {
_root.broShip1 = new classes.bro.BroShip1(tmpX, 280);
_root.addChar("broShip1");
if (tagTeam) {
var _local3 = ((_root["advanceDir" + _root.level] == "L") ? "R" : "L");
_root.broShip1.tagTeam(_local3);
} else {
_root.broShip1.appear();
_root.char = "broShip1";
_root.char1 = "dead";
_root.addLifeMeter();
}
}
_root.bgWaiting = false;
_root.removeFX("bgWait");
}
function main() {
if (tagTeam) {
_root.c--;
}
}
var Name = "bgWait";
}
Symbol 4697 MovieClip [__Packages.classes.bro.BroShip2] Frame 0
class classes.bro.BroShip2
{
var tX, x, tY, y, clip, w, h, weapon, trans, colorTrans, colorVars, life, fireDir, shotX, shotY, dirXArray, dirYArray, dirX, dirY, destX, destY, xyMetFunction, handState;
function BroShip2 (px, py) {
tX = (x = px);
tY = (y = py);
clip = _root.attachMovie("broShip2", "broShip2Clip", d);
w = clip._width;
h = clip._height;
clip._x = x;
clip._y = y;
weapon = _root.bro2Weapon;
this[weapon]();
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0);
colorVars = new Object();
life = _root.bro2Life;
if (_root.bro2ShipVar == 1) {
clip.body.shipStyles.gotoAndStop(_root.bro2ShipLevel);
if ((((_root.level == 1) && (_root.shipPass)) && ((_root.bro2ShipLevel == 2) || (_root.bro2ShipLevel == 3))) || ((_root.level == 2) && (_root.bro2ShipLevel == 3))) {
_root.audio.playLevel2("tagTeam1", 20);
colorFlash(255, 255, 255, 30);
_root.shipPass = false;
}
} else {
clip.body.shipStyles.gotoAndStop(_root.bro2ShipVar);
}
var _local3 = ((_root.bro2ShipLevel > 3) ? (1 + ((_root.bro2ShipLevel - 4) * 2)) : (1 + ((_root.bro2ShipLevel - 1) * 2)));
baseSpeed = (speed = 5 + _local3);
}
function colorFlash(r, g, b, cMax) {
colorVars.c = 0;
colorVars.r = r;
colorVars.g = g;
colorVars.b = b;
colorVars.cMax = cMax;
colorVars.flashing = true;
}
function nudge(pxA, pyA, pscale) {
if (((c == 0) || (c > 5)) && (!inv)) {
c = 0;
var _local2 = pscale / 150;
xA = pxA * _local2;
yA = pyA * _local2;
f2 = "nudging";
}
}
function nudging() {
xA = xA * 0.75;
yA = yA * 0.75;
c++;
if (c == 20) {
xA = (yA = 0);
f2 = "";
c = 0;
}
}
function powerUp(type) {
if (type.substr(0, 10) == "speedBoost") {
var _local3 = Number(type.substr(10));
speedBoost(_local3 * 300);
} else if (type.substr(0, 11) == "weaponBoost") {
var _local3 = Number(type.substr(11));
weaponBoost(_local3 * 200);
} else {
this[type]();
}
}
function coin1() {
_root.coins.addTo(1);
colorFlash(200, 200, 200, 10);
}
function coin5() {
_root.coins.addTo(5);
colorFlash(200, 200, 200, 10);
}
function coin10() {
_root.coins.addTo(10);
colorFlash(200, 200, 0, 10);
}
function coin25() {
_root.coins.addTo(25);
colorFlash(200, 200, 0, 10);
}
function stealCoins(num) {
if ((!shieldOn) && (!inv)) {
_root.audio.playLevel2("coinDrain2", 25);
var _local4 = random(num) + 2;
if ((_root.coins.num - _local4) < 0) {
_local4 = _root.coins.num;
}
_root.coins.addTo(-1 * _local4);
var _local3 = 0;
while (_local3 < _local4) {
_root.fxID++;
_root["coinDrain" + _root.fxID] = new classes.fx.CoinDrain(x + 6, y + 6, _root.fxID);
_root.addFX("coinDrain" + _root.fxID);
_local3++;
}
}
}
function gem1() {
_root.gems.addTo(1);
colorFlash(40, 255, 180, 15);
}
function gem2() {
_root.gems.addTo(1);
colorFlash(0, 90, 200, 15);
}
function gem3() {
_root.gems.addTo(1);
colorFlash(255, 50, 0, 15);
}
function gem4() {
_root.gems.addTo(1);
colorFlash(255, 170, 30, 15);
}
function gem5() {
_root.gems.addTo(1);
colorFlash(255, 100, 255, 15);
}
function gem6() {
_root.gems.addTo(1);
colorFlash(0, 255, 180, 15);
}
function smartBomb() {
_root.smartBomb.gotoAndPlay(2);
var _local2 = 1;
var _local3 = _root.chars.length;
var _local4 = _root.chars.slice();
while (_local2 < _local3) {
_root[_local4[_local2]].bombed(20);
_local2++;
}
_local2 = 0;
_local3 = _root.enemyShots.length;
_local4 = _root.enemyShots.slice();
while (_local2 < _local3) {
_root[_local4[_local2]].bombed();
_local2++;
}
_local2 = 0;
_local3 = _root.FX.length;
_local4 = _root.FX.slice();
while (_local2 < _local3) {
_root[_local4[_local2]].bombed();
_local2++;
}
}
function superP() {
weaponBoost(600);
speedBoost(600);
shield();
}
function shield() {
if (!shieldOn) {
_root.shield = new classes.misc.Shield();
_root.addPowerUp("shield");
shieldOn = true;
} else if (_root.shield.out) {
_root.shield.renew();
}
colorFlash(70, 180, 250, 30);
}
function rampage() {
var _local2 = 0;
var _local3 = _root.powerUps.length;
while (_local2 < _local3) {
if (_root.powerUps[_local2] == "rampage") {
_root.removePowerUp("rampage");
break;
}
_local2++;
}
_root.rampage = new classes.misc.Rampage(300);
_root.addPowerUp("rampage");
}
function weaponBoost(num) {
if ((((((weapon == "laserA") || (weapon == "doubleLaserA")) || (weapon == "tripleLaserA")) || (weapon == "bigLaser")) || (weapon == "twistLaser")) || (weapon == "tripleTwistLaser")) {
if (_root.currentBoost == "rapidFire") {
_root.removePowerUp("rapidFire");
}
_root.currentBoost = "rapidFire";
clip.gun[weapon].gotoAndPlay("rapidFire");
if (weapon != "bigLaser") {
_root.rapidFire = new classes.misc.RapidFire(num, false);
} else {
_root.rapidFire = new classes.misc.RapidFire(num, true);
}
_root.addPowerUp("rapidFire");
}
if ((weapon == "rapidLaser") || (weapon == "doubleRapidLaser")) {
if (_root.currentBoost == "laserBoost") {
_root.removePowerUp("laserBoost");
}
_root.currentBoost = "laserBoost";
clip.gun[weapon].gotoAndPlay("rapidFire");
_root.laserBoost = new classes.misc.LaserBoost(num);
_root.addPowerUp("laserBoost");
}
if (weapon == "superLaser") {
if (_root.currentBoost == "superRapidFire") {
_root.removePowerUp("superRapidFire");
}
_root.currentBoost = "superRapidFire";
clip.gun[weapon].gotoAndPlay("rapidFire");
_root.superRapidFire = new classes.misc.SuperRapidFire(num);
_root.addPowerUp("superRapidFire");
}
colorFlash(255, 125, 0, 30);
}
function checkBoost() {
if (_root.currentBoost != "") {
_root.removePowerUp(_root.currentBoost);
_root.currentBoost = "";
_root.laserPower = 8;
}
}
function doubleLaserA() {
checkBoost();
_root.rapidVar = 4;
fireFreq = 11;
fireFreqOrig = 11;
_root.bro2Weapon = (weapon = "doubleLaserA");
colorFlash(200, 200, 0, 30);
}
function tripleLaserA() {
checkBoost();
_root.rapidVar = 4;
fireFreq = 11;
fireFreqOrig = 11;
_root.bro2Weapon = (weapon = "tripleLaserA");
colorFlash(255, 160, 0, 30);
}
function rapidLaser() {
checkBoost();
_root.rapidVar = 2;
fireFreq = 4;
fireFreqOrig = 4;
_root.bro2Weapon = (weapon = "rapidLaser");
colorFlash(0, 230, 190, 30);
}
function twistLaser() {
checkBoost();
_root.rapidVar = 4;
fireFreq = 10;
fireFreqOrig = 10;
_root.bro2Weapon = (weapon = "twistLaser");
colorFlash(100, 200, 230, 30);
}
function tripleTwistLaser() {
checkBoost();
_root.rapidVar = 4;
fireFreq = 10;
fireFreqOrig = 10;
_root.bro2Weapon = (weapon = "tripleTwistLaser");
colorFlash(100, 200, 230, 30);
}
function bigLaser() {
checkBoost();
_root.rapidVar = 4;
fireFreq = 9;
fireFreqOrig = 9;
_root.bro2Weapon = (weapon = "bigLaser");
colorFlash(0, 130, 255, 30);
}
function superLaser() {
checkBoost();
_root.rapidVar = 3;
fireFreq = 5;
fireFreqOrig = 5;
_root.bro2Weapon = (weapon = "superLaser");
colorFlash(255, 255, 255, 30);
}
function lifeUp() {
if ((life + 25) > 100) {
_root.lifeMeter.adjust(life, 100 - life);
life = 100;
} else {
_root.lifeMeter.adjust(life, 25);
life = life + 25;
}
colorFlash(255, 75, 255, 30);
}
function lifeMax() {
_root.lifeMeter.adjust(life, 100 - life);
life = 100;
colorFlash(255, 0, 0, 30);
}
function speedBoost(num) {
var _local3 = 0;
var _local4 = _root.powerUps.length;
while (_local3 < _local4) {
if (_root.powerUps[_local3] == "speedBoost") {
_root.removePowerUp("speedBoost");
break;
}
_local3++;
}
_root.speedBoost = new classes.misc.SpeedBoost(num);
_root.addPowerUp("speedBoost");
colorFlash(0, 255, 0, 60);
}
function hit(pxMov, pyMov, pscale, ppower) {
var _local7 = pxMov;
var _local8 = pyMov;
var _local9 = pscale;
var _local4 = ((_root.bro2ShipLevel > 3) ? (1 - ((_root.bro2ShipLevel - 4) * 0.2)) : (1 - ((_root.bro2ShipLevel - 1) * 0.2)));
if (_root.bro2ShipVar == 3) {
_local4 = 0.5;
}
var _local5 = ppower * _local4;
if (shieldOn && (!inv)) {
_root.shield.hit();
} else if (!inv) {
var _local6 = life;
life = life - _local5;
if (life < 1) {
_root.bro2Life = 0;
_root.audio.playLevel2("broShip2X", _root.randRange(30, 40));
inv = true;
clip.gun._visible = false;
clip.fx._visible = false;
colorTrans.redOffset = 0;
colorTrans.greenOffset = 0;
colorTrans.blueOffset = 0;
trans.colorTransform = colorTrans;
clip.body.gotoAndPlay("explode");
control = false;
facing = "switch";
fireDir = "";
var _local3 = 0;
while (_local3 < 5) {
if (_root.bro2ShipVar == 1) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "BroShip2_" + _root.bro2ShipLevel]);
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "broShip2B_" + _root.bro2ShipLevel]);
} else if (_root.bro2ShipVar == 7) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "BroShipBlack"]);
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "broShipBlackB"]);
} else {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "BroShip2_3B"]);
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "broShip2B_3B"]);
}
_local3++;
}
_root.bro2ShipVar = 1;
} else {
_root.lifeMeter.adjust(_local6, -1 * _local5);
nudge(_local7, _local8, _local9);
inv = true;
colorFlash(255, 0, 0, 20);
_root.audio.playLevel3("broHit" + (random(3) + 1), _root.randRange(7, 14));
}
}
}
function explosion() {
_root.createExploA([(x + (clip._width / 2)) + _root.randRange(-70, 70), (y + (clip._height / 2)) + _root.randRange(-70, 70), _root.randRange(50, 140), _root.randRange(70, 100)]);
}
function shipToJetPack() {
_root.bro2 = new classes.bro.Bro2(x + 6, y + 3);
_root.addChar("bro2");
_root.char = "bro2";
_root.shield = new classes.misc.Shield();
_root.addPowerUp("shield");
_root[_root.char].shieldOn = true;
if (_root.lastBoss && (_root.char2 == "broShip1")) {
var _local3 = ((x < 500) ? 1020 : -50);
var _local4 = ((x < 500) ? "L" : "R");
_root.broShip1 = new classes.bro.BroShip1(_local3, 280);
_root.addChar("broShip1");
_root.broShip1.tagTeam(_local4);
} else if ((_root.char2 == "broShip1") && (!_root.broShip1.tagTeaming)) {
_root.rescue = true;
if ((!_root.boss) && (!_root.broShip1.bg)) {
_root.broAction([7]);
}
}
}
function removeShip() {
_root.removeChar("broShip2");
}
function fire_laserA() {
_root.audio.playLevel5("laserA" + (random(5) + 1), random(4) + 6);
shotID++;
_root["laserA" + shotID] = new classes.bro.LaserA(shotX, shotY, fireDir, shotID);
_root.addBroShot("laserA" + shotID);
clip.gun.blast.gotoAndPlay("go");
}
function fire_twistLaser() {
_root.audio.playLevel5("twist" + (random(3) + 1), random(10) + 8);
shotID++;
_root["twistLaser" + shotID] = new classes.bro.TwistLaser(shotX, shotY, fireDir, "top", shotID);
_root.addBroShot("twistLaser" + shotID);
shotID++;
_root["twistLaser" + shotID] = new classes.bro.TwistLaser(shotX, shotY, fireDir, "bot", shotID);
_root.addBroShot("twistLaser" + shotID);
clip.gun.blast.gotoAndPlay("go");
}
function fire_tripleTwistLaser() {
_root.audio.playLevel5("twist" + (random(3) + 1), random(10) + 8);
shotID++;
_root["twistLaserB" + shotID] = new classes.bro.TwistLaserB(shotX, shotY, fireDir, shotID);
_root.addBroShot("twistLaserB" + shotID);
shotID++;
_root["twistLaserC" + shotID] = new classes.bro.TwistLaserC(shotX, shotY, fireDir, "bot", shotID);
_root.addBroShot("twistLaserC" + shotID);
shotID++;
_root["twistLaserC" + shotID] = new classes.bro.TwistLaserC(shotX, shotY, fireDir, "top", shotID);
_root.addBroShot("twistLaserC" + shotID);
clip.gun.blast.gotoAndPlay("go");
}
function fire_doubleLaserA() {
_root.audio.playLevel5("doubleLaserA" + (random(5) + 1), random(10) + 8);
if ((fireDir == "R") || (fireDir == "L")) {
var _local6 = 0;
var _local4 = -6;
var _local5 = 0;
var _local3 = 6;
} else {
var _local6 = -6;
var _local4 = 0;
var _local5 = 6;
var _local3 = 0;
}
shotID++;
_root["laserA" + shotID] = new classes.bro.LaserA(shotX + _local6, shotY + _local4, fireDir, shotID);
_root.addBroShot("laserA" + shotID);
shotID++;
_root["laserA" + shotID] = new classes.bro.LaserA(shotX + _local5, shotY + _local3, fireDir, shotID);
_root.addBroShot("laserA" + shotID);
clip.gun.blast.gotoAndPlay("go");
}
function fire_tripleLaserA() {
_root.audio.playLevel5("tripleLaserA" + (random(5) + 1), random(10) + 8);
if ((fireDir == "R") || (fireDir == "L")) {
var _local6 = 0;
var _local4 = -3;
var _local5 = 0;
var _local3 = 3;
} else {
var _local6 = -3;
var _local4 = 0;
var _local5 = 3;
var _local3 = 0;
}
shotID++;
_root["spreadLaserA" + shotID] = new classes.bro.SpreadLaserA(shotX + _local6, shotY + _local4, fireDir, 1, shotID);
_root.addBroShot("spreadLaserA" + shotID);
shotID++;
_root["laserA" + shotID] = new classes.bro.LaserA(shotX, shotY, fireDir, shotID);
_root.addBroShot("laserA" + shotID);
shotID++;
_root["spreadLaserA" + shotID] = new classes.bro.SpreadLaserA(shotX + _local5, shotY + _local3, fireDir, 2, shotID);
_root.addBroShot("spreadLaserA" + shotID);
clip.gun.blast.gotoAndPlay("go");
}
function fire_rapidLaser() {
if ((fireDir == "R") || (fireDir == "L")) {
var _local6 = 0;
var _local4 = -6;
var _local5 = 0;
var _local3 = 6;
} else {
var _local6 = -6;
var _local4 = 0;
var _local5 = 6;
var _local3 = 0;
}
_root.audio.playLevel5("rapidLaser" + (random(5) + 1), random(30) + 10);
shotID++;
_root["rapidLaser" + shotID] = new classes.bro.RapidLaser(shotX + _local6, shotY + _local4, fireDir, shotID);
_root.addBroShot("rapidLaser" + shotID);
shotID++;
_root["rapidLaser" + shotID] = new classes.bro.RapidLaser(shotX + _local5, shotY + _local3, fireDir, shotID);
_root.addBroShot("rapidLaser" + shotID);
clip.gun.blast.gotoAndPlay("go");
}
function fire_bigLaser() {
_root.audio.playLevel5("bigLaser" + (random(3) + 1), random(10) + 8);
shotID++;
_root["bigLaser" + shotID] = new classes.bro.BigLaser(shotX, shotY, fireDir, shotID);
_root.addBroShot("bigLaser" + shotID);
clip.gun.blast.gotoAndPlay("go2");
if (fireDir == "U") {
nudge(0, 2, 100);
} else if (fireDir == "D") {
nudge(0, -2, 100);
} else if (fireDir == "L") {
nudge(2, 0, 100);
} else {
nudge(-2, 0, 100);
}
}
function fire_superLaser() {
_root.audio.playLevel5("superLaser" + (random(3) + 1), random(10) + 8);
if (sl == "top") {
sl = "bot";
if ((fireDir == "R") || (fireDir == "L")) {
var _local4 = 0;
var _local3 = 6;
} else {
var _local4 = 6;
var _local3 = 0;
}
} else {
sl = "top";
if ((fireDir == "R") || (fireDir == "L")) {
var _local4 = 0;
var _local3 = -6;
} else {
var _local4 = -6;
var _local3 = 0;
}
}
shotID++;
_root["superLaserA" + shotID] = new classes.bro.SuperLaserA(shotX + _local4, shotY + _local3, fireDir, shotID);
_root.addBroShot("superLaserA" + shotID);
shotID++;
_root["superLaserB" + shotID] = new classes.bro.SuperLaserB(shotX, shotY, fireDir, "top", shotID);
_root.addBroShot("superLaserB" + shotID);
shotID++;
_root["superLaserB" + shotID] = new classes.bro.SuperLaserB(shotX, shotY, fireDir, "bot", shotID);
_root.addBroShot("superLaserB" + shotID);
clip.gun.blast.gotoAndPlay("go2");
if (fireDir == "U") {
nudge(0, 2, 100);
} else if (fireDir == "D") {
nudge(0, -2, 100);
} else if (fireDir == "L") {
nudge(2, 0, 100);
} else {
nudge(-2, 0, 100);
}
}
function action1() {
control = false;
dirXArray = ["L"];
dirYArray = ["", "", "U", "U", "D"];
changeDir();
f2 = "wander";
fireDir = "";
}
function action2() {
gotoXY(0, 80, "action2B");
dirX = "";
}
function action2B() {
fireDir = "R";
}
function action3() {
dirXArray = ["R"];
dirYArray = ["", "D", "D"];
changeDir();
f2 = "wander";
fireDir = "";
}
function action4() {
gotoXY(0, 150, "action4B");
clip.gotoAndPlay("faceLfireL");
dirX = "L";
fireDir = "L";
exit = true;
}
function action4B() {
dirX = "L";
fireDir = "";
}
function action5() {
goBG();
gotoXY(260, 0, "action5B");
}
function goBG() {
clip.swapDepths(9885);
bg = true;
control = false;
exit = true;
speed = speed * 0.8;
colorTrans.redOffset = -75;
colorTrans.greenOffset = -75;
colorTrans.blueOffset = -75;
trans.colorTransform = colorTrans;
clip._xscale = 66;
clip._yscale = 66;
fireDir = "";
}
function action5B() {
gotoXY(0, 800);
}
function action7() {
goBG();
facing = _root["advanceDir" + _root.level];
if (_root["advanceDir" + _root.level] == "L") {
gotoXY(-300, 0);
} else {
gotoXY(1300, 0);
}
}
function action11() {
exit = true;
facing = "L";
gotoXY(-300, 0);
}
function warpLeave() {
control = false;
exit = true;
fireDir = "";
facing = "L";
gotoXY(-300, 0);
}
function endPos() {
xA = (yA = 0);
speed = 2;
control = false;
facing = "L";
fireDir = "";
gotoXY(450, 250);
}
function endPos2() {
xA = (yA = 0);
clip._x = (x = (tX = 450));
gotoXY(0, 435, "endPos3");
}
function endPos3() {
xA = (yA = (speed = 0));
gesture = true;
f2 = "";
clip._x = (x = (tX = 450));
clip._y = (y = (tY = 435));
hover = false;
clip.body.gotoAndPlay("endOpen");
}
function finalFunction() {
_root.endBGClip.clip.buzzShip._visible = true;
_root.endBGClip.clip.buzzShip.play();
}
function endSeq(pdir) {
tagTeaming = false;
speed = (baseSpeed = 7);
exit = true;
weapon = "rapidLaser";
_root.bro2weapon = weapon;
this[weapon]();
facing = (fireDir = pdir);
control = false;
var _local3 = ((facing == "L") ? 800 : 200);
gotoXY(_local3, 280);
}
function endSeqB() {
gotoXY(0, _root.deathHeadClip._y);
}
function endSeqMove() {
speed = (baseSpeed = 10);
endFire = true;
gotoXY(_root.randRange(100, 900), _root.randRange(100, 500), "endSeqMove");
}
function endStill() {
endFire = false;
dirX = (dirY = (fireDir = ""));
f2 = "";
}
function appear() {
life = life + _root.randRange(35, 50);
if (life > 100) {
life = 100;
}
exit = true;
inv = true;
control = false;
if (x < 0) {
facing = "R";
fireDir = "R";
gotoXY(150, 0, "giveControl");
} else {
facing = "L";
fireDir = "L";
gotoXY(850, 0, "giveControl");
}
}
function giveControl() {
inv = false;
control = true;
exit = false;
}
function tagTeam(pdir) {
speed = speed * 0.8;
life = life + _root.randRange(25, 50);
if (life > 100) {
life = 100;
}
inv = true;
control = false;
exit = true;
tagTeaming = true;
facing = pdir;
if (pdir == "R") {
gotoXY(1300, 0);
} else {
gotoXY(-300, 0);
}
}
function getOut() {
facing = "L";
fireDir = "";
exit = true;
gotoXY(-300, 0, "", true);
}
function wave() {
gesture = true;
clip.body.gotoAndPlay("wave");
}
function reanimate() {
gesture = true;
clip.body.gotoAndPlay("reanimate");
}
function positionForSwitch(pdestX) {
control = false;
gotoXY(pdestX, 0, "action6B");
fireDir = "";
facing = "R";
}
function action6B() {
gotoXY(0, _root.newShipClip._y);
facing = "switch";
}
function shipUpgrade(shipType) {
control = false;
life = 100;
if (shipType == "ship2") {
speed = (baseSpeed = 8);
_root.bro2ShipLevel = 2;
clip.body.shipStyles.gotoAndStop(2);
clip.body.gotoAndPlay("close");
} else if (shipType == "ship3") {
speed = (baseSpeed = 10);
_root.bro2ShipLevel = 3;
clip.body.shipStyles.gotoAndStop(3);
clip.body.gotoAndPlay("close");
} else {
speed = (baseSpeed = 10);
_root.bro2ShipLevel = 3;
_root.bro2ShipVar = 3;
clip.body.shipStyles.gotoAndStop(8);
clip.body.gotoAndPlay("close");
}
}
function gotoXY(pdestX, pdestY, pmetFunction, pwave) {
destX = pdestX;
destY = pdestY;
xyMetFunction = pmetFunction;
var _local2 = pwave;
if (destX != 0) {
dirX = ((x > destX) ? "L" : "R");
}
if (destY != 0) {
dirY = ((y > destY) ? "U" : "D");
}
f2 = "goingXY";
if (_local2) {
wave();
}
}
function goingXY() {
if ((destX != 0) && (Math.abs(x - destX) < (speed + 1))) {
dirX = "";
var _local2 = true;
}
if (destX == 0) {
var _local2 = true;
}
if ((destY != 0) && (Math.abs(y - destY) < (speed + 1))) {
dirY = "";
var _local3 = true;
}
if (destY == 0) {
var _local3 = true;
}
if (_local2 && (_local3)) {
this[xyMetFunction]();
}
}
function changeDir() {
dirX = dirXArray[random(dirXArray.length)];
dirY = dirYArray[random(dirYArray.length)];
}
function wander() {
if (random(100) > 93) {
changeDir();
}
}
function main() {
this[f2]();
if (endFire) {
if (random(30) == 0) {
var _local4 = ["L", "R", "D", "U", "", "", "", ""];
fireDir = _local4[random(8)];
}
if (random(60) == 0) {
dirX = (dirY = "");
f2 = "";
} else if (random(45) == 0) {
endSeqMove();
}
}
if (control) {
if (Key.isDown(_root.moveU)) {
tY = y - speed;
handState = "FU";
}
if (Key.isDown(_root.moveD)) {
tY = y + speed;
handState = "BD";
}
if (Key.isDown(_root.moveL)) {
tX = x - speed;
handState = ((facing == "R") ? "BD" : "FU");
}
if (Key.isDown(_root.moveR)) {
tX = x + speed;
handState = ((facing == "R") ? "FU" : "BD");
}
if (Key.isDown(_root.fireU)) {
fire = true;
shotY = y - 6;
shotX = ((facing == "R") ? (x + 14) : (x + 18));
fireDir = "U";
} else if (Key.isDown(_root.fireD)) {
fire = true;
shotY = y + 42;
shotX = ((facing == "R") ? (x + 14) : (x + 18));
fireDir = "D";
} else if (Key.isDown(_root.fireL)) {
fire = true;
shotX = x - 6;
shotY = y + 33;
fireDir = (facing = "L");
} else if (Key.isDown(_root.fireR)) {
fire = true;
shotX = x + 39;
shotY = y + 33;
fireDir = (facing = "R");
} else {
fire = false;
fireDir = ((facing == "R") ? "R" : "L");
clip.gotoAndStop((("face" + facing) + "fire") + fireDir);
fc++;
}
if (!gesture) {
clip.body.gotoAndStop(handState);
}
} else {
if (dirY == "U") {
tY = y - speed;
handState = "FU";
}
if (dirY == "D") {
tY = y + speed;
handState = "BD";
}
if (dirX == "L") {
tX = x - speed;
handState = ((facing == "R") ? "BD" : "FU");
}
if (dirX == "R") {
tX = x + speed;
handState = ((facing == "R") ? "FU" : "BD");
}
if (fireDir == "U") {
fire = true;
shotY = y - 6;
shotX = ((facing == "R") ? (x + 14) : (x + 18));
} else if (fireDir == "D") {
fire = true;
shotY = y + 42;
shotX = ((facing == "R") ? (x + 14) : (x + 18));
} else if (fireDir == "L") {
fire = true;
shotX = x - 6;
shotY = y + 33;
facing = "L";
} else if (fireDir == "R") {
fire = true;
shotX = x + 39;
shotY = y + 33;
facing = "R";
} else {
fire = false;
var _local3 = ((facing == "R") ? "R" : "L");
clip.gotoAndStop((("face" + facing) + "fire") + _local3);
fc++;
}
if ((facing != "switch") && (!gesture)) {
clip.body.gotoAndStop(handState);
}
}
if (colorVars.flashing) {
colorVars.c++;
colorTrans.redOffset = colorVars.r - (colorVars.c * (colorVars.r / colorVars.cMax));
colorTrans.greenOffset = colorVars.g - (colorVars.c * (colorVars.g / colorVars.cMax));
colorTrans.blueOffset = colorVars.b - (colorVars.c * (colorVars.b / colorVars.cMax));
if (colorVars.c >= colorVars.cMax) {
colorVars.flashing = false;
colorTrans.redOffset = 0;
colorTrans.greenOffset = 0;
colorTrans.blueOffset = 0;
}
trans.colorTransform = colorTrans;
}
if (!exit) {
if (tX < 35) {
tX = 35;
}
if (tX > (965 - w)) {
tX = 965 - w;
}
if (tY < 35) {
tY = 35;
}
if (tY > (565 - h)) {
tY = 565 - h;
}
} else if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
if (tagTeaming) {
_root.rescue = false;
}
_root.removeChar("broShip2");
_root.bgWait.activateBro();
if ((_root.lastBoss && (!_root.bgWaiting)) && (bg)) {
_root.tagTeam([-50, 280, "R"]);
}
}
if (fire) {
clip.gotoAndStop((("face" + facing) + "fire") + fireDir);
if (fc <= ofc) {
fc = ofc + 1;
} else {
fc++;
}
if (fc > fireFreq) {
fc = 0;
this["fire_" + weapon]();
}
ofc = fc;
}
if (tagTeaming) {
_root.c--;
if (clip.hitTest(_root[_root.char + "Clip"])) {
if (_root[_root.char].f2 != "dying") {
_root.audio.playLevel2("tagTeam1", 20);
speed = baseSpeed;
control = true;
exit = false;
weapon = (_root.bro2Weapon = _root.bro1Weapon);
this[weapon]();
inv = false;
tagTeaming = false;
_root.rescue = false;
_root.char2 = _root.char;
_root.char = "broShip2";
_root.shield.tagTeam();
_root.bro1Life = _root[_root.char2].life;
_root[_root.char2].control = false;
_root[_root.char2].inv = true;
_root[_root.char2].exit = true;
_root[_root.char2].fireDir = "";
if (facing == "R") {
_root[_root.char2].facing = "R";
_root[_root.char2].gotoXY(1300, 0, "", true);
} else {
_root[_root.char2].facing = "L";
_root[_root.char2].gotoXY(-300, 0, "", true);
}
}
}
}
tX = tX + xA;
tY = (hover ? ((tY + yA) + (0.3 * Math.sin((hc = hc + 0.05)))) : (tY + yA));
x = tX;
y = tY;
clip._x = x;
clip._y = y;
}
var baseSpeed = 6;
var speed = 6;
var fire = false;
var d = 999990;
var c = 0;
var fc = 0;
var shotID = 10000;
var xA = 0;
var yA = 0;
var f2 = "";
var facing = "R";
var hc = 0;
var fireFreq = 11;
var fireFreqOrig = 11;
var shieldOn = false;
var inv = false;
var control = true;
var exit = false;
var tagTeaming = false;
var bg = false;
var gesture = false;
var sl = "top";
var ofc = 0;
var endFire = false;
var hover = true;
}
Symbol 4698 MovieClip [__Packages.classes.bro.Bro2] Frame 0
class classes.bro.Bro2
{
var tX, x, tY, y, clip, w, h, weapon, trans, colorTrans, colorVars, baseSpeed, speed, fireDir, dc, fireFreq, fireFreqOrig, shotX, shotY, dirX, dirY, destX, destY, xyMetFunction, dirXArray, dirYArray, fire, oldLegState;
function Bro2 (px, py) {
tX = (x = px);
tY = (y = py);
clip = _root.attachMovie("bro2", "bro2Clip", d);
w = clip._width;
h = clip._height;
clip._x = x;
clip._y = y;
weapon = _root.bro2Weapon;
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0);
colorVars = new Object();
_root.rapidVar = 2;
this[weapon]();
var _local3 = ((_root.bro2ShipLevel > 3) ? (_root.bro2ShipLevel - 3) : (_root.bro2ShipLevel));
baseSpeed = (speed = 6 + _local3);
}
function colorFlash(r, g, b, cMax) {
colorVars.c = 0;
colorVars.r = r;
colorVars.g = g;
colorVars.b = b;
colorVars.cMax = cMax;
colorVars.flashing = true;
}
function wave() {
clip.gotoAndPlay("wave" + facing);
fireDir = "";
gesture = true;
}
function hit() {
if ((c2 > 60) && (f2 != "dying")) {
if (shieldOn && (!inv)) {
_root.shield.hit();
} else if (!inv) {
xA = (yA = 0);
control = false;
facing = "death";
fireDir = "";
f2 = "dying";
dc = 0;
_root.rescue = false;
_root.audio.playLevel2("broDeath", 25);
}
}
}
function dying() {
dc++;
colorTrans.redMultiplier = 0;
colorTrans.greenMultiplier = 0;
colorTrans.blueMultiplier = 0;
colorTrans.redOffset = 0;
colorTrans.greenOffset = 0;
colorTrans.blueOffset = 0;
var _local3 = random(4);
if (_local3 == 0) {
colorTrans.redOffset = 255;
colorTrans.redMultiplier = 1;
} else if (_local3 == 1) {
colorTrans.greenOffset = 255;
colorTrans.greenMultiplier = 1;
} else if (_local3 == 2) {
colorTrans.blueOffset = 255;
colorTrans.blueMultiplier = 1;
} else {
colorTrans.redOffset = 255;
colorTrans.greenOffset = 255;
colorTrans.blueOffset = 255;
}
trans.colorTransform = colorTrans;
clip._alpha = 100 - (dc * 1.6);
if (dc == 60) {
if (_root.char2 == "broShip1") {
var _local4 = ((_root["advanceDir" + _root.level] == "L") ? -45 : 1010);
if (_root.broShip1.bg) {
_root.bgWait = new classes.misc.BGWait(_local4, "bro1", false);
_root.addFX("bgWait");
} else if (!_root.broShip1.tagTeaming) {
_root.broShip1 = new classes.bro.BroShip1(_local4, 280);
_root.addChar("broShip1");
_root.broShip1.appear();
_root.char = "broShip1";
_root.char2 = "dead";
} else {
_root.broShip1.tagTeaming = false;
_root.broShip1.giveControl();
_root.char = "broShip1";
_root.char2 = "dead";
}
_root.rescue = false;
_root.createPowerUp([x, y, weapon]);
_root.createPowerUp([x, y, "lifeMax"]);
} else if (_root.char2 == "bro1") {
var _local4 = ((_root["advanceDir" + _root.level] == "L") ? -45 : 1010);
_root.bro1 = new classes.bro.Bro1(_local4, 280);
_root.addChar("bro1");
_root.bro1.appear();
_root.char = "bro1";
_root.char2 = "dead";
_root.createPowerUp([x, y, weapon]);
_root.shield = new classes.misc.Shield();
_root.addPowerUp("shield");
_root[_root.char].shieldOn = true;
} else {
_root.gameOver();
}
_root.removeChar("bro2");
}
}
function nudge(pxA, pyA, pscale) {
if ((((c == 0) || (c > 5)) && (!inv)) && (f2 != "dying")) {
c = 0;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
f2 = "nudging";
}
}
function nudging() {
xA = xA * 0.75;
yA = yA * 0.75;
c++;
if (c == 20) {
xA = (yA = 0);
f2 = "";
c = 0;
}
}
function powerUp(type) {
if (type.substr(0, 10) == "speedBoost") {
var _local3 = Number(type.substr(10));
speedBoost(_local3 * 300);
} else if (type.substr(0, 11) == "weaponBoost") {
var _local3 = Number(type.substr(11));
weaponBoost(_local3 * 200);
} else {
this[type]();
}
}
function coin1() {
_root.coins.addTo(1);
colorFlash(200, 200, 200, 10);
}
function coin5() {
_root.coins.addTo(5);
colorFlash(200, 200, 200, 10);
}
function coin10() {
_root.coins.addTo(10);
colorFlash(200, 200, 0, 10);
}
function coin25() {
_root.coins.addTo(25);
colorFlash(200, 200, 0, 10);
}
function stealCoins(num) {
if ((!shieldOn) && (!inv)) {
_root.audio.playLevel2("coinDrain2", 25);
var _local4 = random(num) + 2;
if ((_root.coins.num - _local4) < 0) {
_local4 = _root.coins.num;
}
_root.coins.addTo(-1 * _local4);
var _local3 = 0;
while (_local3 < _local4) {
_root.fxID++;
_root["coinDrain" + _root.fxID] = new classes.fx.CoinDrain(x + 6, y + 6, _root.fxID);
_root.addFX("coinDrain" + _root.fxID);
_local3++;
}
}
}
function gem1() {
_root.gems.addTo(1);
colorFlash(40, 255, 180, 15);
}
function gem2() {
_root.gems.addTo(1);
colorFlash(0, 90, 200, 15);
}
function gem3() {
_root.gems.addTo(1);
colorFlash(255, 50, 0, 15);
}
function gem4() {
_root.gems.addTo(1);
colorFlash(255, 170, 30, 15);
}
function gem5() {
_root.gems.addTo(1);
colorFlash(255, 100, 255, 15);
}
function gem6() {
_root.gems.addTo(1);
colorFlash(0, 255, 180, 15);
}
function smartBomb() {
_root.smartBomb.gotoAndPlay(2);
var _local2 = 1;
var _local3 = _root.chars.length;
while (_local2 < _local3) {
_root[_root.chars[_local2]].bombed(20);
_local2++;
}
_local2 = 0;
_local3 = _root.enemyShots.length;
var _local4 = _root.enemyShots.slice();
while (_local2 < _local3) {
_root[_local4[_local2]].bombed();
_local2++;
}
_local2 = 0;
_local3 = _root.FX.length;
_local4 = _root.FX.slice();
while (_local2 < _local3) {
_root[_local4[_local2]].bombed();
_local2++;
}
}
function superP() {
weaponBoost(600);
speedBoost(600);
shield();
}
function shield() {
if (!shieldOn) {
_root.shield = new classes.misc.Shield();
_root.addPowerUp("shield");
shieldOn = true;
} else if (_root.shield.out) {
_root.shield.renew();
}
colorFlash(70, 180, 250, 30);
}
function rampage() {
var _local2 = 0;
var _local3 = _root.powerUps.length;
while (_local2 < _local3) {
if (_root.powerUps[_local2] == "rampage") {
_root.removePowerUp("rampage");
break;
}
_local2++;
}
_root.rampage = new classes.misc.Rampage(300);
_root.addPowerUp("rampage");
}
function weaponBoost(num) {
if ((((((weapon == "laserA") || (weapon == "doubleLaserA")) || (weapon == "tripleLaserA")) || (weapon == "bigLaser")) || (weapon == "twistLaser")) || (weapon == "tripleTwistLaser")) {
if (_root.currentBoost == "rapidFire") {
_root.removePowerUp("rapidFire");
}
_root.currentBoost = "rapidFire";
clip.gun[weapon].gotoAndPlay("rapidFire");
if (weapon != "bigLaser") {
_root.rapidFire = new classes.misc.RapidFire(num, false);
} else {
_root.rapidFire = new classes.misc.RapidFire(num, true);
}
_root.addPowerUp("rapidFire");
}
if ((weapon == "rapidLaser") || (weapon == "doubleRapidLaser")) {
if (_root.currentBoost == "laserBoost") {
_root.removePowerUp("laserBoost");
}
_root.currentBoost = "laserBoost";
clip.gun[weapon].gotoAndPlay("rapidFire");
_root.laserBoost = new classes.misc.LaserBoost(num);
_root.addPowerUp("laserBoost");
}
if (weapon == "superLaser") {
if (_root.currentBoost == "superRapidFire") {
_root.removePowerUp("superRapidFire");
}
_root.currentBoost = "superRapidFire";
clip.gun[weapon].gotoAndPlay("rapidFire");
_root.superRapidFire = new classes.misc.SuperRapidFire(num);
_root.addPowerUp("superRapidFire");
}
colorFlash(255, 125, 0, 30);
}
function checkBoost() {
if (_root.currentBoost != "") {
_root.removePowerUp(_root.currentBoost);
_root.currentBoost = "";
_root.laserPower = 8;
}
}
function laserA() {
checkBoost();
_root.rapidVar = 2;
fireFreq = 11;
fireFreqOrig = 11;
clip.gun.gotoAndStop(weapon);
}
function doubleLaserA() {
checkBoost();
_root.rapidVar = 2;
fireFreq = 11;
fireFreqOrig = 11;
_root.bro2Weapon = (weapon = "doubleLaserA");
clip.gun.gotoAndStop(weapon);
colorFlash(200, 200, 0, 30);
}
function tripleLaserA() {
checkBoost();
_root.rapidVar = 2;
fireFreq = 11;
fireFreqOrig = 11;
_root.bro2Weapon = (weapon = "tripleLaserA");
clip.gun.gotoAndStop(weapon);
colorFlash(255, 160, 0, 30);
}
function twistLaser() {
checkBoost();
_root.rapidVar = 2;
fireFreq = 10;
fireFreqOrig = 10;
_root.bro2Weapon = (weapon = "twistLaser");
colorFlash(100, 200, 230, 30);
}
function tripleTwistLaser() {
checkBoost();
_root.rapidVar = 2;
fireFreq = 10;
fireFreqOrig = 10;
_root.bro2Weapon = (weapon = "tripleTwistLaser");
colorFlash(100, 200, 230, 30);
}
function rapidLaser() {
checkBoost();
_root.rapidVar = 2;
fireFreq = 4;
fireFreqOrig = 4;
_root.bro2Weapon = (weapon = "rapidLaser");
clip.gun.gotoAndStop(weapon);
colorFlash(0, 230, 190, 30);
}
function bigLaser() {
checkBoost();
_root.rapidVar = 4;
fireFreq = 9;
fireFreqOrig = 9;
_root.bro2Weapon = (weapon = "bigLaser");
clip.gun.gotoAndStop(weapon);
colorFlash(0, 130, 255, 30);
}
function superLaser() {
checkBoost();
_root.rapidVar = 2;
fireFreq = 5;
fireFreqOrig = 5;
_root.bro2Weapon = (weapon = "superLaser");
colorFlash(255, 255, 255, 30);
}
function speedBoost(num) {
var _local3 = 0;
var _local4 = _root.powerUps.length;
while (_local3 < _local4) {
if (_root.powerUps[_local3] == "speedBoost") {
_root.removePowerUp("speedBoost");
break;
}
_local3++;
}
_root.speedBoost = new classes.misc.SpeedBoost(num);
_root.addPowerUp("speedBoost");
colorFlash(0, 255, 0, 60);
}
function fire_laserA() {
_root.audio.playLevel5("laserA" + (random(5) + 1), random(4) + 6);
shotID++;
_root["laserA" + shotID] = new classes.bro.LaserA(shotX, shotY, fireDir, shotID);
_root.addBroShot("laserA" + shotID);
clip.gun.blast.gotoAndPlay("go");
}
function fire_twistLaser() {
_root.audio.playLevel5("twist" + (random(3) + 1), random(10) + 8);
shotID++;
_root["twistLaser" + shotID] = new classes.bro.TwistLaser(shotX, shotY, fireDir, "top", shotID);
_root.addBroShot("twistLaser" + shotID);
shotID++;
_root["twistLaser" + shotID] = new classes.bro.TwistLaser(shotX, shotY, fireDir, "bot", shotID);
_root.addBroShot("twistLaser" + shotID);
clip.gun.blast.gotoAndPlay("go");
}
function fire_tripleTwistLaser() {
_root.audio.playLevel5("twist" + (random(3) + 1), random(10) + 8);
shotID++;
_root["twistLaserB" + shotID] = new classes.bro.TwistLaserB(shotX, shotY, fireDir, shotID);
_root.addBroShot("twistLaserB" + shotID);
shotID++;
_root["twistLaserC" + shotID] = new classes.bro.TwistLaserC(shotX, shotY, fireDir, "bot", shotID);
_root.addBroShot("twistLaserC" + shotID);
shotID++;
_root["twistLaserC" + shotID] = new classes.bro.TwistLaserC(shotX, shotY, fireDir, "top", shotID);
_root.addBroShot("twistLaserC" + shotID);
clip.gun.blast.gotoAndPlay("go");
}
function fire_doubleLaserA() {
_root.audio.playLevel5("doubleLaserA" + (random(5) + 1), random(10) + 8);
if ((fireDir == "R") || (fireDir == "L")) {
var _local6 = 0;
var _local4 = -3;
var _local5 = 0;
var _local3 = 9;
} else {
var _local6 = -6;
var _local4 = 0;
var _local5 = 6;
var _local3 = 0;
}
shotID++;
_root["laserA" + shotID] = new classes.bro.LaserA(shotX + _local6, shotY + _local4, fireDir, shotID);
_root.addBroShot("laserA" + shotID);
shotID++;
_root["laserA" + shotID] = new classes.bro.LaserA(shotX + _local5, shotY + _local3, fireDir, shotID);
_root.addBroShot("laserA" + shotID);
clip.gun.blast.gotoAndPlay("go");
clip.gun.blast2.gotoAndPlay("go");
}
function fire_tripleLaserA() {
_root.audio.playLevel5("tripleLaserA" + (random(5) + 1), random(10) + 8);
if ((fireDir == "R") || (fireDir == "L")) {
var _local6 = 0;
var _local4 = -3;
var _local5 = 0;
var _local3 = 3;
} else {
var _local6 = -3;
var _local4 = 0;
var _local5 = 3;
var _local3 = 0;
}
shotID++;
_root["spreadLaserA" + shotID] = new classes.bro.SpreadLaserA(shotX + _local6, shotY + _local4, fireDir, 1, shotID);
_root.addBroShot("spreadLaserA" + shotID);
shotID++;
_root["laserA" + shotID] = new classes.bro.LaserA(shotX, shotY, fireDir, shotID);
_root.addBroShot("laserA" + shotID);
shotID++;
_root["spreadLaserA" + shotID] = new classes.bro.SpreadLaserA(shotX + _local5, shotY + _local3, fireDir, 2, shotID);
_root.addBroShot("spreadLaserA" + shotID);
clip.gun.blast.gotoAndPlay("go");
clip.gun.blast2.gotoAndPlay("go");
}
function fire_rapidLaser() {
if ((fireDir == "R") || (fireDir == "L")) {
var _local6 = 0;
var _local4 = -6;
var _local5 = 0;
var _local3 = 6;
} else {
var _local6 = -6;
var _local4 = 0;
var _local5 = 6;
var _local3 = 0;
}
_root.audio.playLevel5("rapidLaser" + (random(5) + 1), random(30) + 10);
shotID++;
_root["rapidLaser" + shotID] = new classes.bro.RapidLaser(shotX + _local6, shotY + _local4, fireDir, shotID);
_root.addBroShot("rapidLaser" + shotID);
shotID++;
_root["rapidLaser" + shotID] = new classes.bro.RapidLaser(shotX + _local5, shotY + _local3, fireDir, shotID);
_root.addBroShot("rapidLaser" + shotID);
clip.gun.blast.gotoAndPlay("go");
}
function fire_bigLaser() {
_root.audio.playLevel5("bigLaser" + (random(3) + 1), random(10) + 8);
shotID++;
_root["bigLaser" + shotID] = new classes.bro.BigLaser(shotX, shotY, fireDir, shotID);
_root.addBroShot("bigLaser" + shotID);
clip.gun.blast.gotoAndPlay("go2");
if (fireDir == "U") {
nudge(0, 4, 100);
} else if (fireDir == "D") {
nudge(0, -4, 100);
} else if (fireDir == "L") {
nudge(4, 0, 100);
} else {
nudge(-4, 0, 100);
}
}
function fire_superLaser() {
_root.audio.playLevel5("superLaser" + (random(3) + 1), random(10) + 8);
if (sl == "top") {
sl = "bot";
if ((fireDir == "R") || (fireDir == "L")) {
var _local4 = 0;
var _local3 = 6;
} else {
var _local4 = 6;
var _local3 = 0;
}
} else {
sl = "top";
if ((fireDir == "R") || (fireDir == "L")) {
var _local4 = 0;
var _local3 = -6;
} else {
var _local4 = -6;
var _local3 = 0;
}
}
shotID++;
_root["superLaserA" + shotID] = new classes.bro.SuperLaserA(shotX + _local4, shotY + _local3, fireDir, shotID);
_root.addBroShot("superLaserA" + shotID);
shotID++;
_root["superLaserB" + shotID] = new classes.bro.SuperLaserB(shotX, shotY, fireDir, "top", shotID);
_root.addBroShot("superLaserB" + shotID);
shotID++;
_root["superLaserB" + shotID] = new classes.bro.SuperLaserB(shotX, shotY, fireDir, "bot", shotID);
_root.addBroShot("superLaserB" + shotID);
clip.gun.blast.gotoAndPlay("go2");
if (fireDir == "U") {
nudge(0, 4, 100);
} else if (fireDir == "D") {
nudge(0, -4, 100);
} else if (fireDir == "L") {
nudge(4, 0, 100);
} else {
nudge(-4, 0, 100);
}
}
function action11() {
speed = 9;
control = false;
exit = true;
facing = "R";
fireDir = "";
gotoXY(1300, 0);
}
function positionForSwitch(pdestY) {
control = false;
gotoXY(0, pdestY, "action6B");
fireDir = "";
facing = "R";
}
function action6B() {
gotoXY(_root.newShipClip._x + 9, 0);
}
function getInShip(pdestY) {
gotoXY(0, pdestY);
}
function getInOldShipA() {
exit = true;
control = false;
fireDir = "";
facing = "R";
gotoXY(_root.newShipClip._x - 94, 0, "getInOldShipB");
}
function getInOldShipB() {
gotoXY(0, _root.newShipClip._y + 3, "getInOldShipC");
}
function getInOldShipC() {
_root.bro2ShipLevel = _root.tempShipLevel;
_root.bro2ShipVar = _root.tempShipVar;
delete _root.tempShipLevel;
delete _root.tempShipVar;
_root.bro2Life = _root.tempLife;
delete _root.tempLife;
_root.broShip2 = new classes.bro.BroShip2(_root.newShipClip._x, _root.newShipClip._y);
_root.addChar("broShip2");
_root.char2 = "broShip2";
_root.newShipClip.removeMovieClip();
_root.broShip2.control = false;
_root.broShip2.facing = "R";
_root.broShip2.fireDir = "";
_root.broShip2.clip.body.getOut = true;
_root.broShip2.clip.body.gotoAndPlay("close");
_root.removeChar("bro2");
}
function endSeq(pdir) {
speed = (baseSpeed = 7);
exit = true;
weapon = "rapidLaser";
_root.bro2weapon = weapon;
this[weapon]();
facing = (fireDir = pdir);
control = false;
var _local3 = ((facing == "L") ? 800 : 200);
gotoXY(_local3, 280);
}
function endSeqB() {
gotoXY(0, _root.deathHeadClip._y);
}
function endSeqMove() {
speed = (baseSpeed = 9);
endFire = true;
gotoXY(_root.randRange(100, 900), _root.randRange(100, 500), "endSeqMove");
}
function endStill() {
endFire = false;
dirX = (dirY = (fireDir = ""));
f2 = "";
}
function endPos() {
xA = (yA = 0);
speed = 2;
control = false;
facing = "L";
fireDir = "";
gotoXY(357, 250);
}
function endPos2() {
xA = (yA = 0);
clip._x = (x = (tX = 357));
gotoXY(0, 471, "endPos3");
}
function endPos3() {
xA = (yA = (speed = 0));
hover = false;
_root.endBGClip.clip.buzzPack._visible = true;
_root.endBGClip.clip.buzzPack.play();
_root.removeChar("bro2");
}
function appear() {
exit = true;
inv = true;
control = false;
if (x < 0) {
facing = "R";
fireDir = "R";
gotoXY(150, 0, "giveControl");
} else {
facing = "L";
fireDir = "L";
gotoXY(850, 0, "giveControl");
}
}
function giveControl() {
inv = false;
control = true;
exit = false;
}
function gotoXY(pdestX, pdestY, pmetFunction, pwave) {
destX = pdestX;
destY = pdestY;
xyMetFunction = pmetFunction;
var _local2 = pwave;
if (destX != 0) {
dirX = ((x > destX) ? "L" : "R");
}
if (destY != 0) {
dirY = ((y > destY) ? "U" : "D");
}
f2 = "goingXY";
if (_local2) {
wave();
}
}
function goingXY() {
if ((destX != 0) && (Math.abs(x - destX) < (speed + 1))) {
dirX = "";
var _local2 = true;
}
if (destX == 0) {
var _local2 = true;
}
if ((destY != 0) && (Math.abs(y - destY) < (speed + 1))) {
dirY = "";
var _local3 = true;
}
if (destY == 0) {
var _local3 = true;
}
if (_local2 && (_local3)) {
this[xyMetFunction]();
}
}
function changeDir() {
dirX = dirXArray[random(dirXArray.length)];
dirY = dirYArray[random(dirYArray.length)];
}
function wander() {
if (random(100) > 93) {
changeDir();
}
}
function main() {
c2++;
this[f2]();
if (endFire) {
if (random(30) == 0) {
var _local4 = ["L", "R", "D", "U", "", "", "", ""];
fireDir = _local4[random(8)];
}
if (random(60) == 0) {
dirX = (dirY = "");
f2 = "";
} else if (random(45) == 0) {
endSeqMove();
}
}
if (control) {
legState = "still";
if (Key.isDown(_root.moveU)) {
tY = y - speed;
legState = "U";
}
if (Key.isDown(_root.moveD)) {
tY = y + speed;
legState = "D";
}
if (Key.isDown(_root.moveL)) {
tX = x - speed;
legState = ((facing == "L") ? "F" : "B");
}
if (Key.isDown(_root.moveR)) {
tX = x + speed;
legState = ((facing == "R") ? "F" : "B");
}
if (Key.isDown(_root.fireU)) {
fire = true;
shotY = y - 3;
shotX = ((facing == "R") ? (x + 15) : (x + 3));
fireDir = "U";
} else if (Key.isDown(_root.fireD)) {
fire = true;
shotY = y + 39;
shotX = ((facing == "R") ? (x + 15) : (x + 3));
fireDir = "D";
} else if (Key.isDown(_root.fireL)) {
fire = true;
shotX = x - 9;
shotY = y + 21;
fireDir = (facing = "L");
} else if (Key.isDown(_root.fireR)) {
fire = true;
shotX = x + 30;
shotY = y + 21;
fireDir = (facing = "R");
} else {
fire = false;
fireDir = ((facing == "R") ? "R" : "L");
clip.gotoAndStop((("face" + facing) + "fire") + fireDir);
fc++;
}
if (oldLegState != legState) {
clip.legs.gotoAndStop(legState);
clip.flame.gotoAndPlay(legState);
}
oldLegState = legState;
} else {
legState = "still";
if (dirY == "U") {
tY = y - speed;
legState = "U";
}
if (dirY == "D") {
tY = y + speed;
legState = "D";
}
if (dirX == "L") {
tX = x - speed;
legState = ((facing == "L") ? "F" : "B");
}
if (dirX == "R") {
tX = x + speed;
legState = ((facing == "R") ? "F" : "B");
}
if (fireDir == "U") {
fire = true;
shotY = y - 3;
shotX = ((facing == "R") ? (x + 15) : (x + 3));
fireDir = "U";
} else if (fireDir == "D") {
fire = true;
shotY = y + 39;
shotX = ((facing == "R") ? (x + 15) : (x + 3));
fireDir = "D";
} else if (fireDir == "L") {
fire = true;
shotX = x - 9;
shotY = y + 21;
fireDir = (facing = "L");
} else if (fireDir == "R") {
fire = true;
shotX = x + 30;
shotY = y + 21;
fireDir = (facing = "R");
} else {
fire = false;
var _local3 = ((facing == "R") ? "R" : "L");
if ((facing != "death") && (!gesture)) {
clip.gotoAndStop((("face" + facing) + "fire") + _local3);
}
fc++;
}
if (oldLegState != legState) {
clip.legs.gotoAndStop(legState);
clip.flame.gotoAndPlay(legState);
}
oldLegState = legState;
}
if (colorVars.flashing) {
colorVars.c++;
colorTrans.redOffset = colorVars.r - (colorVars.c * (colorVars.r / colorVars.cMax));
colorTrans.greenOffset = colorVars.g - (colorVars.c * (colorVars.g / colorVars.cMax));
colorTrans.blueOffset = colorVars.b - (colorVars.c * (colorVars.b / colorVars.cMax));
if (colorVars.c >= colorVars.cMax) {
colorVars.flashing = false;
colorTrans.redOffset = 0;
colorTrans.greenOffset = 0;
colorTrans.blueOffset = 0;
}
trans.colorTransform = colorTrans;
}
if (!exit) {
if (tX < 35) {
tX = 35;
}
if (tX > (965 - w)) {
tX = 965 - w;
}
if (tY < 35) {
tY = 35;
}
if (tY > (565 - h)) {
tY = 565 - h;
}
} else if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
_root.removeChar("bro2");
}
if (fire) {
clip.gotoAndStop((("face" + facing) + "fire") + fireDir);
if (fc <= ofc) {
fc = ofc + 1;
} else {
fc++;
}
if (fc > fireFreq) {
fc = 0;
this["fire_" + weapon]();
}
ofc = fc;
}
tX = tX + xA;
tY = (hover ? ((tY + yA) + (0.5 * Math.sin((hc = hc + 0.1)))) : (tY + yA));
x = tX;
y = tY;
clip._x = x;
clip._y = y;
}
var d = 999985;
var c = 0;
var c2 = 0;
var fc = 0;
var shotID = 0;
var xA = 0;
var yA = 0;
var f2 = "";
var facing = "R";
var hc = 0;
var legState = "still";
var inv = false;
var shieldOn = false;
var control = true;
var exit = false;
var life = 0;
var gesture = false;
var sl = "top";
var ofc = 0;
var endFire = false;
var hover = true;
}
Symbol 4699 MovieClip [__Packages.classes.bro.LaserA] Frame 0
class classes.bro.LaserA
{
var x, y, id, dir, clip, axis, w, h, exploX, exploY;
function LaserA (px, py, pDir, pid) {
x = px;
y = py;
id = pid;
dir = pDir;
_root.d++;
clip = _root.attachMovie("laserA", ("laserA" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip.id = id;
if (dir == "U") {
axis = "y";
yMov = -20;
xMov = 0;
y = y + 20;
} else if (dir == "D") {
axis = "y";
yMov = 20;
xMov = 0;
y = y - 20;
} else if (dir == "R") {
axis = "x";
yMov = 0;
xMov = 20;
x = x - 20;
} else {
axis = "x";
yMov = 0;
xMov = -20;
x = x + 20;
}
clip.gotoAndStop(dir);
w = clip._width;
h = clip._height;
_root.stats.fired++;
}
function hit() {
_root.stats.hit++;
_root.createGunExplo([exploX, exploY, _root.randRange2(50, 80)]);
_root.removeBroShot("laserA" + id);
}
function main() {
this[axis + "Mov"] = this[axis + "Mov"] * 1.03;
if ((((x > 1075) || (x < -75)) || (y > 675)) || (y < -75)) {
_root.removeBroShot("laserA" + id);
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var power = 1;
}
Symbol 4700 MovieClip [__Packages.classes.bro.TwistLaser] Frame 0
class classes.bro.TwistLaser
{
var x, y, id, dir, pos, clip, axis, w, h, xwcI, ywcI, exploX, exploY;
function TwistLaser (px, py, pDir, pPos, pid) {
x = px;
y = py;
id = pid;
dir = pDir;
pos = pPos;
_root.d++;
clip = _root.attachMovie("twistLaser", ("twistLaser" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip.id = id;
if (dir == "U") {
axis = "y";
yMov = -22;
xMov = 0;
y = y + 22;
} else if (dir == "D") {
axis = "y";
yMov = 22;
xMov = 0;
y = y - 22;
} else if (dir == "R") {
axis = "x";
yMov = 0;
xMov = 22;
x = x - 22;
} else {
axis = "x";
yMov = 0;
xMov = -22;
x = x + 22;
}
clip.gotoAndStop(dir);
w = clip._width;
h = clip._height;
xwcI = (((dir == "L") || (dir == "R")) ? 0 : 0.5);
ywcI = (((dir == "L") || (dir == "R")) ? 0.5 : 0);
_root.stats.fired++;
}
function hit() {
_root.stats.hit++;
_root.createGunExplo([exploX, exploY, _root.randRange2(50, 80)]);
_root.removeBroShot("twistLaser" + id);
}
function main() {
this[axis + "Mov"] = this[axis + "Mov"] * 1.03;
if ((((x > 1075) || (x < -75)) || (y > 675)) || (y < -75)) {
_root.removeBroShot("twistLaser" + id);
}
if (pos == "top") {
x = x + (xMov + (2.5 * Math.sin((xwc = xwc + xwcI))));
y = y + (yMov + (2.5 * Math.sin((ywc = ywc + ywcI))));
} else {
x = x + (xMov + (-2.5 * Math.sin((xwc = xwc + xwcI))));
y = y + (yMov + (-2.5 * Math.sin((ywc = ywc + ywcI))));
}
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var power = 4;
var xwc = 0;
var ywc = 0;
}
Symbol 4701 MovieClip [__Packages.classes.bro.TwistLaserB] Frame 0
class classes.bro.TwistLaserB
{
var x, y, id, dir, clip, axis, w, h, exploX, exploY;
function TwistLaserB (px, py, pDir, pid) {
x = px;
y = py;
id = pid;
dir = pDir;
_root.d++;
clip = _root.attachMovie("twistLaser", ("twistLaserB" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip.id = id;
if (dir == "U") {
axis = "y";
yMov = -22;
xMov = 0;
y = y + 22;
} else if (dir == "D") {
axis = "y";
yMov = 22;
xMov = 0;
y = y - 22;
} else if (dir == "R") {
axis = "x";
yMov = 0;
xMov = 22;
x = x - 22;
} else {
axis = "x";
yMov = 0;
xMov = -22;
x = x + 22;
}
clip.gotoAndStop(dir);
w = clip._width;
h = clip._height;
_root.stats.fired++;
}
function hit() {
_root.stats.hit++;
_root.createGunExplo([exploX, exploY, _root.randRange2(50, 80)]);
_root.removeBroShot("twistLaserB" + id);
}
function main() {
this[axis + "Mov"] = this[axis + "Mov"] * 1.03;
if ((((x > 1075) || (x < -75)) || (y > 675)) || (y < -75)) {
_root.removeBroShot("twistLaserB" + id);
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var power = 4;
}
Symbol 4702 MovieClip [__Packages.classes.bro.TwistLaserC] Frame 0
class classes.bro.TwistLaserC
{
var x, y, id, dir, pos, clip, axis, w, h, xwcI, ywcI, exploX, exploY;
function TwistLaserC (px, py, pDir, pPos, pid) {
x = px;
y = py;
id = pid;
dir = pDir;
pos = pPos;
_root.d++;
clip = _root.attachMovie("twistLaser", ("twistLaserC" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip.id = id;
if (dir == "U") {
axis = "y";
yMov = -22;
xMov = 0;
y = y + 22;
} else if (dir == "D") {
axis = "y";
yMov = 22;
xMov = 0;
y = y - 22;
} else if (dir == "R") {
axis = "x";
yMov = 0;
xMov = 22;
x = x - 22;
} else {
axis = "x";
yMov = 0;
xMov = -22;
x = x + 22;
}
clip.gotoAndStop(dir);
w = clip._width;
h = clip._height;
xwcI = (((dir == "L") || (dir == "R")) ? 0 : 0.4);
ywcI = (((dir == "L") || (dir == "R")) ? 0.4 : 0);
_root.stats.fired++;
}
function hit() {
_root.stats.hit++;
_root.createGunExplo([exploX, exploY, _root.randRange2(50, 80)]);
_root.removeBroShot("twistLaserC" + id);
}
function main() {
this[axis + "Mov"] = this[axis + "Mov"] * 1.03;
if ((((x > 1075) || (x < -75)) || (y > 675)) || (y < -75)) {
_root.removeBroShot("twistLaserC" + id);
}
if (pos == "top") {
x = x + (xMov + (8 * Math.sin((xwc = xwc + xwcI))));
y = y + (yMov + (8 * Math.sin((ywc = ywc + ywcI))));
} else {
x = x + (xMov + (-8 * Math.sin((xwc = xwc + xwcI))));
y = y + (yMov + (-8 * Math.sin((ywc = ywc + ywcI))));
}
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var power = 4;
var xwc = 0;
var ywc = 0;
}
Symbol 4703 MovieClip [__Packages.classes.bro.SpreadLaserA] Frame 0
class classes.bro.SpreadLaserA
{
var x, y, id, dir, num, clip, axis, w, h, exploX, exploY;
function SpreadLaserA (px, py, pDir, pnum, pid) {
x = px;
y = py;
id = pid;
dir = pDir;
num = pnum;
_root.d++;
clip = _root.attachMovie("spreadLaserA", ("spreadLaserA" + id) + "Clip", _root.d + 5000);
clip._x = x;
clip._y = y;
clip.id = id;
if (dir == "U") {
axis = "y";
yMov = -20;
xMov = ((num == 1) ? -3 : 3);
y = y + 20;
} else if (dir == "D") {
axis = "y";
yMov = 20;
xMov = ((num == 1) ? -3 : 3);
y = y - 20;
} else if (dir == "R") {
axis = "x";
yMov = ((num == 1) ? -3 : 3);
xMov = 20;
x = x - 20;
} else {
axis = "x";
yMov = ((num == 1) ? -3 : 3);
xMov = -20;
x = x + 20;
}
clip.gotoAndStop(dir);
w = clip._width;
h = clip._height;
_root.stats.fired++;
}
function hit() {
_root.stats.hit++;
_root.createGunExplo([exploX, exploY, _root.randRange2(50, 80)]);
_root.removeBroShot("spreadLaserA" + id);
}
function main() {
xMov = xMov * 1.03;
yMov = yMov * 1.03;
if ((((x > 1075) || (x < -75)) || (y > 675)) || (y < -75)) {
_root.removeBroShot("spreadLaserA" + id);
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var power = 1;
}
Symbol 4704 MovieClip [__Packages.classes.bro.RapidLaser] Frame 0
class classes.bro.RapidLaser
{
var x, y, id, dir, clip, axis, w, h, power, exploX, exploY;
function RapidLaser (px, py, pDir, pid) {
x = px;
y = py;
id = pid;
dir = pDir;
_root.d++;
clip = _root.attachMovie("rapidLaser", ("rapidLaser" + id) + "Clip", _root.d + 5000);
clip._x = x;
clip._y = y;
clip.id = id;
if (dir == "U") {
axis = "y";
yMov = -25;
xMov = _root.randRange2(-2, 2);
y = y + 25;
} else if (dir == "D") {
axis = "y";
yMov = 25;
xMov = _root.randRange2(-2, 2);
y = y - 25;
} else if (dir == "R") {
axis = "x";
yMov = _root.randRange2(-2, 2);
xMov = 25;
x = x - 25;
} else {
axis = "x";
yMov = _root.randRange2(-2, 2);
xMov = -25;
x = x + 25;
}
clip.gotoAndStop(dir);
w = clip._width;
h = clip._height;
power = _root.laserPower;
if (power > 8) {
clip.body.gotoAndPlay("boosted");
}
_root.stats.fired++;
}
function hit() {
_root.stats.hit++;
_root.createGunExplo([exploX, exploY, _root.randRange2(50, 80)]);
_root.removeBroShot("rapidLaser" + id);
}
function main() {
this[axis + "Mov"] = this[axis + "Mov"] * 1.03;
if ((((x > 1075) || (x < -75)) || (y > 675)) || (y < -75)) {
_root.removeBroShot("rapidLaser" + id);
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
}
Symbol 4705 MovieClip [__Packages.classes.bro.BigLaser] Frame 0
class classes.bro.BigLaser
{
var x, y, id, dir, clip, axis, w, h, exploX, exploY;
function BigLaser (px, py, pDir, pid) {
x = px;
y = py;
id = pid;
dir = pDir;
_root.d++;
clip = _root.attachMovie("bigLaser", ("bigLaser" + id) + "Clip", _root.d + 5000);
clip._x = x;
clip._y = y;
clip.id = id;
if (dir == "U") {
axis = "y";
yMov = -40;
xMov = 0;
y = y + 40;
} else if (dir == "D") {
axis = "y";
yMov = 40;
xMov = 0;
y = y - 40;
} else if (dir == "R") {
axis = "x";
yMov = 0;
xMov = 40;
x = x - 40;
} else {
axis = "x";
yMov = 0;
xMov = -40;
x = x + 40;
}
clip.gotoAndStop(dir);
w = clip._width;
h = clip._height;
_root.stats.fired++;
}
function hit(pnum) {
var _local4 = pnum;
_root.createGunExplo([exploX, exploY, _root.randRange2(50, 80)]);
power = power - _local4;
var _local3 = 20 - power;
if (_local3 < 1) {
_local3 = 1;
}
clip.body.clip.gotoAndStop(_local3);
if (power < 1) {
_root.stats.hit++;
_root.removeBroShot("bigLaser" + id);
}
}
function main() {
this[axis + "Mov"] = this[axis + "Mov"] * 1.03;
if ((((x > 1075) || (x < -75)) || (y > 675)) || (y < -75)) {
_root.removeBroShot("bigLaser" + id);
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var power = 25;
}
Symbol 4706 MovieClip [__Packages.classes.bro.SuperLaserA] Frame 0
class classes.bro.SuperLaserA
{
var x, y, id, dir, clip, axis, w, h, exploX, exploY;
function SuperLaserA (px, py, pDir, pid) {
x = px;
y = py;
id = pid;
dir = pDir;
_root.d++;
clip = _root.attachMovie("superLaserA", ("superLaserA" + id) + "Clip", _root.d + 5000);
clip._x = x;
clip._y = y;
clip.id = id;
if (dir == "U") {
axis = "y";
yMov = -40;
xMov = 0;
y = y + 40;
} else if (dir == "D") {
axis = "y";
yMov = 40;
xMov = 0;
y = y - 40;
} else if (dir == "R") {
axis = "x";
yMov = 0;
xMov = 40;
x = x - 40;
} else {
axis = "x";
yMov = 0;
xMov = -40;
x = x + 40;
}
clip.gotoAndStop(dir);
if (_root.superRapid) {
clip.body.clip.gotoAndStop(30);
}
w = clip._width;
h = clip._height;
_root.stats.fired++;
}
function hit(pnum) {
var _local4 = pnum;
_root.createGunExplo([exploX, exploY, _root.randRange2(50, 80)]);
power = power - _local4;
var _local3 = 20 - power;
if (_local3 < 1) {
_local3 = 1;
}
clip.body.clip.gotoAndStop(_local3);
if (power < 1) {
_root.stats.hit++;
_root.removeBroShot("superLaserA" + id);
}
}
function main() {
this[axis + "Mov"] = this[axis + "Mov"] * 1.03;
if ((((x > 1075) || (x < -75)) || (y > 675)) || (y < -75)) {
_root.removeBroShot("superLaserA" + id);
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var power = 35;
}
Symbol 4707 MovieClip [__Packages.classes.bro.SuperLaserB] Frame 0
class classes.bro.SuperLaserB
{
var x, y, id, dir, pos, clip, axis, w, h, power, exploX, exploY;
function SuperLaserB (px, py, pDir, ppos, pid) {
x = px;
y = py;
id = pid;
dir = pDir;
pos = ppos;
_root.d++;
clip = _root.attachMovie("superLaserB", ("superLaserB" + id) + "Clip", _root.d + 5000);
clip._x = x;
clip._y = y;
clip.id = id;
if (pos == "top") {
if (dir == "U") {
axis = "y";
yMov = -25;
xMov = _root.randRange2(-8, -4);
y = y + 25;
} else if (dir == "D") {
axis = "y";
yMov = 25;
xMov = _root.randRange2(4, 8);
y = y - 25;
} else if (dir == "R") {
axis = "x";
yMov = _root.randRange2(-8, -4);
xMov = 25;
x = x - 25;
} else {
axis = "x";
yMov = _root.randRange2(-8, -4);
xMov = -25;
x = x + 25;
}
} else if (dir == "U") {
axis = "y";
yMov = -25;
xMov = _root.randRange2(4, 8);
y = y + 25;
} else if (dir == "D") {
axis = "y";
yMov = 25;
xMov = _root.randRange2(-8, -4);
y = y - 25;
} else if (dir == "R") {
axis = "x";
yMov = _root.randRange2(4, 8);
xMov = 25;
x = x - 25;
} else {
axis = "x";
yMov = _root.randRange2(4, 8);
xMov = -25;
x = x + 25;
}
clip.gotoAndStop(dir);
if (_root.superRapid) {
clip.body.gotoAndPlay("rapid");
}
w = clip._width;
h = clip._height;
power = _root.laserPower;
if (power > 8) {
clip.body.gotoAndPlay("boosted");
}
_root.stats.fired++;
}
function hit() {
_root.stats.hit++;
_root.createGunExplo([exploX, exploY, _root.randRange2(50, 80)]);
_root.removeBroShot("superLaserB" + id);
}
function main() {
this[axis + "Mov"] = this[axis + "Mov"] * 1.03;
if ((((x > 1075) || (x < -75)) || (y > 675)) || (y < -75)) {
_root.removeBroShot("superLaserB" + id);
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
}
Symbol 4708 MovieClip [__Packages.classes.fx.Star] Frame 0
class classes.fx.Star
{
var sA, sO, sI, hv, hc;
function Star () {
sA = new Array();
sO = new Object();
sI = 0;
}
function deathHead() {
r = 10;
}
function stopIt() {
make = false;
}
function showPlanet(which) {
sO["planet" + sI] = new Object();
var _local3 = sO["planet" + sI];
_local3.id = sI;
_local3.yMov = _root.randRange2(-0.3, -0.5);
if (which == "moon") {
_local3.yMov = -1.2;
}
_root.d++;
_local3.clip = _root.attachMovie("planets", ("planet" + sI) + "Clip", _root.d - 5000);
_local3.clip._x = random(550) + 200;
_local3.clip._y = 755;
_local3.clip.gotoAndStop(which);
_local3.clip.cacheAsBitmap = true;
sA.push(_local3);
sI++;
}
function hyperSpace(plvl) {
var _local4 = plvl;
hv = ((_local4 == 2) ? 1.01 : 1.015);
hyper = (_root.hyper = true);
hc = 0;
var _local3 = 0;
var _local5 = sA.length;
while (_local3 < _local5) {
sA[_local3].clip.starClip.play("level" + _local4);
_local3++;
}
}
function endHyper() {
hv = 1.005;
hyper2 = true;
hc = 0;
var _local2 = 0;
var _local3 = sA.length;
while (_local2 < _local3) {
sA[_local2].clip.starClip.play("end");
_local2++;
}
}
function phase2() {
r = 15;
}
function makeStars() {
var _local4 = 0;
while (_local4 < 40) {
sO["star" + sI] = new Object();
var _local3 = sO["star" + sI];
_local3.id = sI;
_local3.depth = random(9) + 1;
_local3.yMov = (-1 * (_local3.depth / 2)) * (((_root.level - 1) * 0.3) + 1);
_root.d++;
_local3.clip = _root.attachMovie("star", ("star" + sI) + "Clip", _root.d - 9000);
_local3.clip._x = random(1001);
_local3.clip._y = random(603);
_local3.clip._alpha = _local3.depth * 10;
_local3.clip.gotoAndStop(_root.randRange(_root.starColors[0], _root.starColors[1]));
sA.push(_local3);
sI++;
_local4++;
}
}
function deleteAll() {
var _local3 = 0;
var _local5 = sA.length;
while (_local3 < _local5) {
var _local4 = sA[_local3];
_local4.clip.removeMovieClip();
_local3++;
}
_root.removeFX("star");
}
function main() {
if (hyper) {
r = 3;
hc++;
if (hc < 120) {
var _local6 = 0;
var _local7 = sA.length;
while (_local6 < _local7) {
sA[_local6].yMov = sA[_local6].yMov * hv;
_local6++;
}
}
if (hc > 480) {
var _local6 = 0;
var _local7 = sA.length;
while (_local6 < _local7) {
sA[_local6].yMov = sA[_local6].yMov / hv;
_local6++;
}
}
if (hc == 560) {
hyper = (_root.hyper = false);
hc = 0;
r = 15;
}
}
if (hyper2) {
r = 3;
hc++;
if (hc < 240) {
var _local6 = 0;
var _local7 = sA.length;
while (_local6 < _local7) {
sA[_local6].yMov = sA[_local6].yMov * hv;
_local6++;
}
}
if (hc > 1560) {
var _local6 = 0;
var _local7 = sA.length;
while (_local6 < _local7) {
sA[_local6].yMov = sA[_local6].yMov / hv;
_local6++;
}
}
if (hc == 1800) {
hyper2 = false;
hc = 0;
r = 15;
}
}
if ((random(r - (_root.level * 2)) == 0) && (make)) {
sO["star" + sI] = new Object();
var _local4 = sO["star" + sI];
_local4.id = sI;
_local4.depth = random(9) + 1;
_local4.yMov = (-1 * (_local4.depth / 2)) * (((_root.level - 1) * 0.3) + 1);
if (hyper) {
if (hc < 120) {
var _local6 = 0;
do {
_local4.yMov = _local4.yMov * hv;
_local6++;
} while (_local6 < hc);
}
if (hc > 119) {
var _local6 = 0;
do {
_local4.yMov = _local4.yMov * hv;
_local6++;
} while (_local6 < 120);
}
if (hc > 559) {
var _local6 = 0;
do {
_local4.yMov = _local4.yMov / hv;
_local6++;
} while (_local6 < (hc - 560));
}
}
if (hyper2) {
if (hc < 240) {
var _local6 = 0;
do {
_local4.yMov = _local4.yMov * hv;
_local6++;
} while (_local6 < hc);
}
if (hc > 239) {
var _local6 = 0;
do {
_local4.yMov = _local4.yMov * hv;
_local6++;
} while (_local6 < 240);
}
if (hc > 1559) {
var _local6 = 0;
do {
_local4.yMov = _local4.yMov / hv;
_local6++;
} while (_local6 < (hc - 1560));
}
}
_root.d++;
_local4.clip = _root.attachMovie("star", ("star" + sI) + "Clip", _root.d - 9000);
_local4.clip._x = random(1001);
_local4.clip._y = 603;
_local4.clip._alpha = _local4.depth * 10;
_local4.clip.gotoAndStop(_root.randRange(_root.starColors[0], _root.starColors[1]));
if (hyper) {
var _local8 = ((hv == 1.015) ? 600 : 0);
_local4.clip.starClip.gotoAndPlay(hc + _local8);
} else if (hyper2) {
_local4.clip.starClip.gotoAndPlay(hc + 1400);
}
sA.push(_local4);
sI++;
}
var _local6 = 0;
var _local7 = sA.length;
while (_local6 < _local7) {
var _local4 = sA[_local6];
_local4.clip._y = _local4.clip._y + _local4.yMov;
if (_local4.clip._y < -5) {
_local4.clip.removeMovieClip();
var _local3 = 0;
var _local5 = sA.length;
while (_local3 < _local5) {
if (_local4 == sA[_local3]) {
sA.splice(_local3, 1);
}
_local3++;
}
delete sO["star" + _local4.id];
}
_local6++;
}
if (!make) {
if (sA.length < 3) {
_root.removeFX("star");
}
}
if (!make) {
_local6 = 0;
_local7 = sA.length;
while (_local6 < _local7) {
var _local4 = sA[_local6];
_local4.yMov = _local4.yMov + 0.0075;
if (_local4.yMov > 0) {
_local4.yMov = 0;
}
_local6++;
}
}
}
var r = 8;
var hyper = false;
var hyper2 = false;
var make = true;
var Name = "star";
}
Symbol 4709 MovieClip [__Packages.classes.misc.WheelBot] Frame 0
class classes.misc.WheelBot
{
var x, y, clip, dir, doorOpen, oldDir;
function WheelBot (px, py) {
x = px;
y = py;
clip = _root.attachMovie("wheelBot", "wheelBotClip", 90020);
clip._x = x;
clip._y = y;
xMov = (xMovT = 4);
dir = "R";
_root.introScreen.littleDoorBlack._visible = true;
_root.introOverlay.littleDoor.gotoAndPlay("open");
}
function wander() {
if (random(200) > 197) {
dir = ((dir == "L") ? "R" : "L");
xMovT = ((dir == "L") ? -4 : 4);
} else if (random(200) > 197) {
comp1();
} else if (random(200) > 197) {
comp2();
} else if ((comp1D && (comp2D)) && (random(200) > 190)) {
goHome();
}
}
function goHome() {
if (x < 130) {
dir = "R";
xMovT = 4;
f2 = "goingHomePoint";
} else {
dir = "L";
xMovT = -4;
f2 = "goingHome";
}
}
function goingHome() {
if ((x < 130) && (!doorOpen)) {
_root.introOverlay.littleDoor._visible = true;
_root.introScreen.littleDoorBlack._visible = true;
_root.introOverlay.littleDoor.gotoAndPlay("open");
doorOpen = true;
}
if (x < 10) {
_root.introOverlay.littleDoor.gotoAndPlay("close");
_root.intro.wheelBot = false;
_root.removeChar("wheelBot");
}
}
function goingHomePoint() {
if (x > 150) {
dir = "L";
xMovT = -4;
f2 = "goingHome";
}
}
function comp1() {
comp1D = true;
if (Math.abs(402 - x) < 4) {
workComp1();
} else {
dir = ((x < 402) ? "R" : "L");
xMovT = ((dir == "L") ? -4 : 4);
f2 = "gotoComp1";
}
}
function gotoComp1() {
if (Math.abs(402 - x) < 4) {
workComp1();
}
}
function workComp1() {
xMovT = 0;
clip.wheel.gotoAndStop("stop");
f2 = "workingComp1";
c2 = 0;
c2Max = _root.randRange(30, 120);
_root.introScreen.wheelComp1.gotoAndPlay("go");
_root.introScreen.wheelComp1Screen.gotoAndPlay("go");
dir = "B";
}
function workingComp1() {
c2++;
if (c2 == c2Max) {
_root.introScreen.wheelComp1.gotoAndStop("main");
dir = ((random(2) > 0) ? "R" : "L");
xMovT = ((dir == "L") ? -4 : 4);
f2 = "wander";
clip.wheel.gotoAndPlay(1);
}
}
function comp2() {
comp2D = true;
if (Math.abs(951 - x) < 4) {
workComp2();
} else {
dir = ((x < 951) ? "R" : "L");
xMovT = ((dir == "L") ? -4 : 4);
f2 = "gotoComp2";
}
}
function gotoComp2() {
if (Math.abs(951 - x) < 4) {
workComp2();
}
}
function workComp2() {
xMovT = 0;
clip.wheel.gotoAndStop("stop");
f2 = "workingComp2";
c2 = 0;
c2Max = _root.randRange(30, 120);
dir = "B";
}
function workingComp2() {
c2++;
if (c2 == c2Max) {
dir = ((random(2) > 0) ? "R" : "L");
xMovT = ((dir == "L") ? -4 : 4);
f2 = "wander";
clip.wheel.gotoAndPlay(1);
}
}
function main() {
c++;
this[f2]();
if (c == 40) {
f2 = "wander";
_root.introOverlay.littleDoor.gotoAndPlay("close");
}
if (c == 55) {
_root.introScreen.littleDoorBlack._visible = false;
_root.introOverlay.littleDoor._visible = false;
}
if (oldDir != dir) {
clip.gotoAndStop(dir);
if ((oldDir == undefined) || (dir == "F")) {
clip.eyes.gotoAndStop(dir);
} else if (oldDir == "B") {
clip.eyes.gotoAndPlay("Bto" + dir);
} else if (dir == "B") {
clip.eyes.gotoAndPlay(oldDir + "toB");
} else if (random(3) > 0) {
if (dir == "R") {
clip.eyes.gotoAndPlay("LtoR");
} else {
clip.eyes.gotoAndPlay("RtoL");
}
} else {
clip.eyes.gotoAndPlay("spin" + dir);
}
}
oldDir = dir;
if (xMovT < xMov) {
xMov = xMov - 0.5;
} else if (xMovT > xMov) {
xMov = xMov + 0.5;
} else {
xMov = xMovT;
}
if (random(100) > 98) {
clip.eyes.clip.gotoAndPlay("blink");
}
x = x + (xMov + xA);
clip._x = x;
}
var c = 0;
var c2 = 0;
var cMax = 0;
var c2Max = 0;
var xMov = 0;
var xMovT = 0;
var xA = 0;
var yA = 0;
var f2 = "";
var comp1D = false;
var comp2D = false;
var Name = "wheelBot";
}
Symbol 4710 MovieClip [__Packages.classes.misc.FlyBot] Frame 0
class classes.misc.FlyBot
{
var x, y, clip;
function FlyBot (px, py) {
x = px;
y = py;
clip = _root.attachMovie("flyBot", "flyBotClip", 90010);
clip._x = x;
clip._y = y;
xMov = (xMovT = 3);
_root.introScreen.littleDoorBlack._visible = true;
_root.introOverlay.highDoor.gotoAndPlay("open");
}
function main() {
c++;
if (c == 60) {
_root.introOverlay.highDoor.gotoAndPlay("close");
}
if (c == 75) {
_root.introScreen.highDoorBlack._visible = false;
_root.introOverlay.highDoor._visible = false;
}
if (xMovT < xMov) {
xMov = xMov - 0.5;
} else if (xMovT > xMov) {
xMov = xMov + 0.5;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 0.5;
} else if (yMovT > yMov) {
yMov = yMov + 0.5;
} else {
yMov = yMovT;
}
if (random(100) > 98) {
clip.body.eyes.clip.gotoAndPlay("blink");
}
x = x + (xMov + xA);
if (c < 15) {
y = y + (yMov + yA);
} else {
y = y + ((yMov + yA) + (0.3 * Math.sin((hc = hc + 0.1))));
}
clip._x = x;
clip._y = y;
}
var c = 0;
var xMov = 0;
var yMov = 0;
var xMovT = 0;
var yMovT = 0;
var hc = 0;
var xA = 0;
var yA = 0;
var Name = "flyBot";
}
Symbol 4711 MovieClip [__Packages.classes.enemy.DroidB] Frame 0
class classes.enemy.DroidB
{
var x, y, moveScript, matrixCoords, id, form, clip, advanceMax, advanceMax2, matrixVar, colorR, trans, colorTrans, dir, f2, axis, xDest, yDest, oldDir;
function DroidB (px, py, pmoveScript, pmatrixCoords, pform, pid) {
x = px;
y = py;
moveScript = pmoveScript.slice();
matrixCoords = pmatrixCoords.slice();
id = pid;
form = pform.slice();
_root.d++;
clip = _root.attachMovie("droidB", ("droidB" + id) + "Clip", _root.d + 50000);
clip._x = x;
clip._y = y;
speed = speed * _root.dif.speed;
speedOrig = speed;
life = life * _root.dif.life;
advanceMax = 60 / (speed / 2);
advanceMax2 = 50 / (speed / 2);
if (matrixCoords[0] == "free") {
matrixVar = 0;
} else {
matrixVar = 1;
}
speedVar();
colorR = _root.randRange(-30, 30);
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, colorR, colorR, colorR, 0);
trans.colorTransform = colorTrans;
parseMoveScript();
_root.stats.created++;
}
function broBehind() {
matrixVar = 0;
yMovT = 0;
if (random(3) == 1) {
var _local3 = _root.randRange2(1.2, 1.4);
xMovT = ((dir == "L") ? ((-1 * _local3) * speed) : (_local3 * speed));
getDirString();
clip.body.gotoAndPlay("attack");
clip.body.face.gotoAndPlay("attack");
clip.body.flame.gotoAndPlay("start");
f2 = "attacking";
} else {
this[axis + "MovT"] = 0;
axis = ((random(2) > 0) ? "y" : "x");
var _local3 = _root.randRange2(0.9, 1.1);
this[axis + "MovT"] = ((random(2) > 0) ? (_local3 * speed) : ((-1 * _local3) * speed));
getDirString();
clip.body.flame.gotoAndPlay("start");
f2 = "wander";
}
}
function bombed(num) {
f2 = "death";
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.9999, 1.0001);
}
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
this[axis + "MovT"] = 0;
if (matrixCoords[0] == "free") {
f2 = "wander";
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else {
xDest = ((_root.advanceDir == "L") ? ((matrixCoords[0] * 60) + 320) : (matrixCoords[0] * 60));
yDest = (matrixCoords[1] * 50) + 10;
axis = ((Math.abs(xDest - x) > Math.abs(yDest - y)) ? "x" : "y");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speedVar();
f2 = "gotoMatrix";
}
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function gotoMatrix() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speed = speedOrig;
}
if ((Math.abs(x - xDest) < (speed + 1)) && (Math.abs(y - yDest) < (speed + 1))) {
x = (clip._x = xDest);
y = (clip._y = yDest);
xMovT = (xMov = 0);
yMovT = (yMov = 0);
matrixVar = 2;
dir = _root.advanceDir;
clip.body.flame.gotoAndPlay("still");
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
_root["formB" + form[0]] = "matrixed";
f2 = "wait";
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function evade() {
if (matrixVar == 2) {
matrixVar = 0;
this[axis + "MovT"] = 0;
xMovT = ((_root.advanceDir == "L") ? (-1.3 * speed) : (1.3 * speed));
getDirString();
clip.body.gotoAndPlay("attack");
clip.body.face.gotoAndPlay("attack");
clip.body.flame.gotoAndPlay("start");
f2 = "attacking";
}
}
function wait() {
if ((random(1000) >= (998 + _root.dif.wait)) && (_root.matrixComplete)) {
dir = findDir();
if (dir == _root.advanceDir) {
xMovT = ((_root.advanceDir == "L") ? (-1.3 * speed) : (1.3 * speed));
getDirString();
clip.body.gotoAndPlay("attack");
clip.body.face.gotoAndPlay("attack");
clip.body.flame.gotoAndPlay("start");
f2 = "attacking";
matrixVar = 0;
} else if ((dir == "U") || (dir == "D")) {
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
matrixVar = 0;
c = 0;
f2 = "leavingMatrix";
clip.body.flame.gotoAndPlay("start");
} else {
dir = _root.advanceDir;
}
}
}
function leavingMatrix() {
c++;
if (c > advanceMax2) {
c = 0;
dir = findDir();
if (dir == _root.advanceDir) {
yMovT = 0;
xMovT = ((_root.advanceDir == "L") ? (-1.3 * speed) : (1.3 * speed));
getDirString();
clip.body.gotoAndPlay("attack");
clip.body.face.gotoAndPlay("attack");
f2 = "attacking";
}
}
}
function findDir() {
_root.d++;
_root.attachMovie("feeler", "feelerClip", _root.d);
var _local7 = [];
var _local9 = 0;
var _local11 = dirArray.length;
while (_local9 < _local11) {
_root.feelerClip._x = x + feelerInfo[_local9][0];
_root.feelerClip._y = y + feelerInfo[_local9][1];
_root.feelerClip._width = feelerInfo[_local9][2];
_root.feelerClip._height = feelerInfo[_local9][3];
var _local3 = 0;
var _local8 = _root.chars.length;
var _local6 = false;
while (_local3 < _local8) {
var _local5 = _root.chars[_local3] + "Clip";
if (_root.feelerClip.hitTest(_root[_local5])) {
var _local4 = _root.chars[_local3];
if ((_root[_local4].matrixVar == 2) && (_local4 != (Name + id))) {
_local6 = true;
break;
}
}
_local3++;
}
if (!_local6) {
var _local10 = ((_root.advanceDir == "L") ? "R" : "L");
if (dirArray[_local9] != _local10) {
_local7.push(dirArray[_local9]);
}
}
_local9++;
}
_local9 = 0;
_local11 = _local7.length;
if (_local9 < _local11) {
if (_local7[_local9] == _root.advanceDir) {
return(_root.advanceDir);
}
return(_local7[random(_local7.length)]);
}
}
function attacking() {
xMovT = xMovT * 1.02;
yMovT = yMovT * 1.02;
}
function death() {
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 500;
if (matrixVar == 1) {
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
}
_root.powerUp(x, y, 95);
var _local3 = 0;
var _local4 = _root["form" + form[0]].length;
while (_local3 < _local4) {
if (_root["form" + form[0]][_local3] == ("droidB" + id)) {
_root["form" + form[0]].splice(_local3, 1);
if (_root["form" + form[0]].length == 0) {
delete _root["form" + form[0]];
if (_root["formB" + form[0]] == "matrixed") {
_root.createPowerUp([x, y, "coin1"]);
_root.stats.score = _root.stats.score + 500;
} else {
_local3 = 0;
_local4 = random(2) + 2;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin1"]);
_local3++;
}
_root.stats.score = _root.stats.score + 1000;
}
delete _root["formB" + form[0]];
}
break;
}
_local3++;
}
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(80, 130), _root.randRange(75, 100), "Purple"]);
_local3 = 0;
_local4 = random(3);
var _local5 = ["grey", "red"];
while (_local3 < _local4) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "droidB", "Purple"]);
_local3++;
}
_root.createEnemySoul([x + (clip._width / 2), y + (clip._height / 2), "blue"]);
_root.audio.playLevel4("droidX" + (random(3) + 1), _root.randRange(15, 33));
_root.removeChar("droidB" + id);
f2 = "";
}
function advance() {
dir = _root.advanceDir;
clip.body.flame.gotoAndPlay("advance");
xMovT = ((_root.advanceDir == "L") ? (-1 * (speed / 2)) : (1 * (speed / 2)));
f2 = "advancing";
}
function advancing() {
c++;
if (c > advanceMax) {
xMovT = 0;
c = 0;
f2 = "wait";
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("hindSight");
_root.sightClip._x = x;
_root.sightClip._y = y;
if (_root.advanceDir == "L") {
_root.sightClip._rotation = 180;
}
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
_root.broBehind();
}
removeMovieClip(_root.sightClip);
}
}
function wander() {
if (random(100) > (98 + _root.dif.wander)) {
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
function death2() {
_root.removeChar("droidB" + id);
f2 = "";
}
function main() {
this[f2]();
if (oldDir != dir) {
clip.gotoAndStop("fly" + dir);
}
oldDir = dir;
if (random(250) > 247) {
_root.d++;
_root.attachMovie("feeler", "feelerClip", _root.d);
if (dir == "L") {
var _local9 = [-310, 0, 300, 50];
} else if (dir == "R") {
var _local9 = [50, 0, 300, 50];
} else if (dir == "U") {
var _local9 = [0, -310, 50, 300];
} else {
var _local9 = [0, 50, 300, 50];
}
_root.feelerClip._x = x + _local9[0];
_root.feelerClip._y = y + _local9[1];
_root.feelerClip._width = _local9[2];
_root.feelerClip._height = _local9[3];
var _local4 = 0;
var _local8 = _root.chars.length;
var _local7 = false;
while (_local4 < _local8) {
var _local6 = _root.chars[_local4] + "Clip";
if (_root.feelerClip.hitTest(_root[_local6])) {
var _local3 = _root.chars[_local4];
if (_root[_local3].Name.substr(0, 3) != "bro") {
_local7 = true;
}
}
_local4++;
}
removeMovieClip(_root.feelerClip);
if (!_local7) {
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip._x = x;
_root.sightClip._y = y;
if (dir == "U") {
_root.sightClip._rotation = 90;
} else if (dir == "R") {
_root.sightClip._rotation = 180;
} else if (dir == "D") {
_root.sightClip._rotation = -90;
}
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
fc = 0;
firing = true;
clip.body.face.blast.gotoAndPlay("go");
clip.body.blast.gotoAndPlay("go");
_root.audio.playLevel3("droidBFire2", _root.randRange(8, 18));
}
removeMovieClip(_root.sightClip);
}
}
if (firing) {
fc++;
if (fc == 15) {
if (dir == "L") {
var _local10 = x + 0;
var _local12 = y + 0;
} else if (dir == "R") {
var _local10 = x + 3;
var _local12 = y + 0;
} else if (dir == "U") {
var _local10 = x + 0;
var _local12 = y + 0;
} else {
var _local10 = x + 0;
var _local12 = y + 3;
}
_root.enemyShotID++;
_root["droidBFire" + _root.enemyShotID] = new classes.shots.DroidBFire(_local10, _local12, dir, _root.enemyShotID);
_root.addEnemyShot("droidBFire" + _root.enemyShotID);
firing = false;
}
}
if (nudging) {
xA = xA * 0.5;
yA = yA * 0.5;
nc++;
var _local11 = 255 - (nc * 17);
colorTrans.redOffset = _local11;
trans.colorTransform = colorTrans;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
colorTrans.redOffset = colorR;
trans.colorTransform = colorTrans;
}
}
var _local4 = 0;
var _local8 = _root.broShots.length;
while (_local4 < _local8) {
var _local6 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local6])) {
var _local3 = _root.broShots[_local4];
var _local5 = life;
life = life - _root[_local3].power;
if (life < 1) {
f2 = "death";
} else {
_root.audio.playLevel4("droidHit" + (random(2) + 1), _root.randRange(3, 8));
nudge(_root[_local3].xMov, _root[_local3].yMov, 20);
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local5);
break;
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
f2 = "death";
}
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
delete _root["form" + form[0]];
delete _root["formB" + form[0]];
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - 1;
} else if (xMovT > xMov) {
xMov = xMov + 1;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 1;
} else if (yMovT > yMov) {
yMov = yMov + 1;
} else {
yMov = yMovT;
}
xmt = xMov;
ymt = yMov;
if (random(10) == 1) {
if (axis == "y") {
xmt = xmt + _root.randRange2(-1, 1);
} else {
ymt = ymt + _root.randRange2(-1, 1);
}
}
x = x + (xmt + xA);
y = y + (ymt + yA);
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xmt = 0;
var ymt = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 8;
var speed = 8;
var xDestMet = false;
var yDestMet = false;
var c = 0;
var feelerInfo = [[-400, 0, 400, 40], [0, 0, 400, 40], [0, -400, 40, 400], [0, 0, 40, 400]];
var dirArray = ["L", "R", "U", "D"];
var life = 3;
var nc = 0;
var xA = 0;
var yA = 0;
var nudging = false;
var power = 20;
var fc = 0;
var firing = false;
var Name = "droidB";
}
Symbol 4712 MovieClip [__Packages.classes.shots.DroidBFire] Frame 0
class classes.shots.DroidBFire
{
var x, y, id, dir, clip, axis;
function DroidBFire (px, py, pDir, pid) {
x = px;
y = py;
id = pid;
dir = pDir;
_root.d++;
clip = _root.attachMovie("droidBFire", ("droidBFire" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip.id = id;
if (dir == "U") {
axis = "y";
yMov = -11;
xMov = 0;
y = y + 11;
} else if (dir == "D") {
axis = "y";
yMov = 11;
xMov = 0;
y = y - 11;
} else if (dir == "R") {
axis = "x";
yMov = 0;
xMov = 11;
x = x - 11;
} else {
axis = "x";
yMov = 0;
xMov = -11;
x = x + 11;
}
xMov = xMov * _root.dif.speed;
yMov = yMov * _root.dif.speed;
clip.gotoAndStop(dir);
xMov = xMov * _root.randRange2(0.9, 1.1);
yMov = yMov * _root.randRange2(0.9, 1.1);
}
function hit() {
yank = true;
}
function main() {
this[axis + "Mov"] = this[axis + "Mov"] * 1.02;
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
yank = true;
}
if ((((x > 1050) || (x < -50)) || (y > 650)) || (y < -50)) {
yank = true;
}
if (yank) {
_root.removeEnemyShot("droidBFire" + id);
yank = false;
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var Name = "droidBFire";
var power = 10;
var yank = false;
}
Symbol 4713 MovieClip [__Packages.classes.misc.Gems] Frame 0
class classes.misc.Gems
{
var clip;
function Gems () {
clip = _root.attachMovie("gems", "gemsClip", 200110);
clip._x = 218;
clip._y = 566;
clip._alpha = 0;
}
function addTo(pnumT) {
numT = numT + pnumT;
_root.stats.gems = _root.stats.gems + pnumT;
if (pnumT > 0) {
_root.stats.totalGems = _root.stats.totalGems + pnumT;
}
alpha = 130;
}
function main() {
clip._alpha = alpha;
if (num < numT) {
num++;
clip.num = num;
} else if (num > numT) {
num--;
clip.num = num;
}
alpha = alpha - 2;
if (alpha < 0) {
alpha = 0;
}
}
var alpha = 0;
var num = 0;
var numT = 0;
var Name = "gems";
}
Symbol 4714 MovieClip [__Packages.classes.fx.GunExplo] Frame 0
class classes.fx.GunExplo
{
var id, x, y, scale, clip;
function GunExplo (px, py, pscale, pid) {
id = pid;
x = px;
y = py;
scale = pscale;
_root.d++;
clip = _root.attachMovie("gunExplo", ("gunExplo" + id) + "Clip", _root.d + 20000);
clip._x = x;
clip._y = y;
clip._xscale = scale;
clip._yscale = scale;
}
function main() {
if (clip.end) {
_root.removeFX("gunExplo" + id);
}
}
var Name = "gunExplo";
}
Symbol 4715 MovieClip [__Packages.classes.enemy.SpaceManA] Frame 0
class classes.enemy.SpaceManA
{
var x, y, moveScript, matrixCoords, form, id, clip, colorR, trans, colorTrans, advanceMax, advanceMax2, matrixVar, laser, dir, axis, xDest, yDest, oldDir, cMax;
function SpaceManA (px, py, pmoveScript, pmatrixCoords, pform, pid) {
x = px;
y = py;
moveScript = pmoveScript.slice();
matrixCoords = pmatrixCoords.slice();
form = pform.slice();
id = pid;
_root.d++;
clip = _root.attachMovie("spaceManA", ("spaceManA" + id) + "Clip", _root.d + 50000);
clip._x = x;
clip._y = y;
speed = speed * _root.dif.speed;
speedOrig = speed;
life = life * _root.dif.life;
colorR = _root.randRange(-40, 10);
trans = new flash.geom.Transform(clip.body);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, colorR, colorR, colorR, 0);
trans.colorTransform = colorTrans;
advanceMax = 60 / (speed / 2);
advanceMax2 = 50 / (speed / 2);
if (matrixCoords[0] == "free") {
matrixVar = 0;
} else {
matrixVar = 1;
}
speedVar();
laser = new Object();
parseMoveScript();
_root.stats.created++;
}
function broBehind() {
dir = _root.advanceDir;
}
function bombed(num) {
life = life - num;
if (life < 1) {
f2 = "death";
} else {
nudge(_root.randRange(-6, 6), _root.randRange(-6, 6), 100);
}
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.9999, 1.0001);
}
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
moveScripted = false;
delete moveScript;
if (matrixCoords[0] == "free") {
f2 = "wander";
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else {
this[axis + "MovT"] = 0;
xDest = ((_root.advanceDir == "L") ? ((matrixCoords[0] * 60) + 320) : (matrixCoords[0] * 60));
yDest = (matrixCoords[1] * 50) + 10;
axis = ((Math.abs(xDest - x) > Math.abs(yDest - y)) ? "x" : "y");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speedVar();
f2 = "gotoMatrix";
}
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function gotoMatrix() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speed = speedOrig;
}
if ((Math.abs(x - xDest) < (speed + 1)) && (Math.abs(y - yDest) < (speed + 1))) {
x = (clip._x = xDest);
y = (clip._y = yDest);
xMovT = (xMov = 0);
yMovT = (yMov = 0);
matrixVar = 2;
dir = _root.advanceDir;
clip.body.gotoAndPlay("flyEnd");
clip.flame.gotoAndStop("wait");
clip.gotoAndStop(dir);
oldDir = "matrix";
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
_root["formB" + form[0]] = "matrixed";
f2 = "wait";
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function evade() {
if (matrixVar == 2) {
matrixVar = 0;
clip.flame.gotoAndPlay("flyStart");
clip.body.gotoAndPlay("flyStart");
f2 = "wander";
} else if (f2 == "charging") {
newChargeDir();
} else if ((f2 == "laserScoping") || (laser.firing)) {
stopLaserFire();
}
}
function wait() {
if ((random(1000) >= 998) && (_root.matrixComplete)) {
dir = findDir();
if (dir == _root.advanceDir) {
matrixVar = 0;
xMovT = ((_root.advanceDir == "L") ? (-1 * speed) : (speed));
if (random(2) > 0) {
clip.flame.gotoAndPlay("flyStart");
clip.body.gotoAndPlay("flyStart");
f2 = "wander";
} else {
charge();
}
} else if ((dir == "U") || (dir == "D")) {
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
matrixVar = 0;
c = 0;
f2 = "leavingMatrix";
} else {
dir = _root.advanceDir;
}
}
}
function leavingMatrix() {
c++;
if (c > advanceMax2) {
c = 0;
dir = findDir();
if (dir == _root.advanceDir) {
yMovT = 0;
xMovT = ((_root.advanceDir == "L") ? (-1 * speed) : (speed));
if (random(2) > 0) {
f2 = "wander";
} else {
charge();
}
}
}
}
function findDir() {
_root.d++;
_root.attachMovie("feeler", "feelerClip", _root.d);
var _local7 = [];
var _local9 = 0;
var _local11 = dirArray.length;
while (_local9 < _local11) {
_root.feelerClip._x = x + feelerInfo[_local9][0];
_root.feelerClip._y = y + feelerInfo[_local9][1];
_root.feelerClip._width = feelerInfo[_local9][2];
_root.feelerClip._height = feelerInfo[_local9][3];
var _local3 = 0;
var _local8 = _root.chars.length;
var _local6 = false;
while (_local3 < _local8) {
var _local5 = _root.chars[_local3] + "Clip";
if (_root.feelerClip.hitTest(_root[_local5])) {
var _local4 = _root.chars[_local3];
if ((_root[_local4].matrixVar == 2) && (_local4 != (Name + id))) {
_local6 = true;
break;
}
}
_local3++;
}
if (!_local6) {
var _local10 = ((_root.advanceDir == "L") ? "R" : "L");
if (dirArray[_local9] != _local10) {
_local7.push(dirArray[_local9]);
}
}
_local9++;
}
_local9 = 0;
_local11 = _local7.length;
if (_local9 < _local11) {
if (_local7[_local9] == _root.advanceDir) {
return(_root.advanceDir);
}
return(_local7[random(_local7.length)]);
}
}
function death() {
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 50000;
_root.powerUp(x, y, 50);
if (matrixVar == 1) {
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
}
var _local3 = 0;
var _local4 = _root["form" + form[0]].length;
while (_local3 < _local4) {
if (_root["form" + form[0]][_local3] == ("spaceManA" + id)) {
_root["form" + form[0]].splice(_local3, 1);
if (_root["form" + form[0]].length == 0) {
delete _root["form" + form[0]];
if (_root["formB" + form[0]] == "matrixed") {
_local3 = 0;
_local4 = random(2) + 1;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin25"]);
_local3++;
}
_local3 = 0;
_local4 = random(2) + 1;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin10"]);
_local3++;
}
_local3 = 0;
_local4 = random(2) + 2;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin5"]);
_local3++;
}
_root.stats.score = _root.stats.score + 50000;
} else {
_local3 = 0;
_local4 = random(2) + 2;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin25"]);
_local3++;
}
_local3 = 0;
_local4 = random(3) + 2;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin10"]);
_local3++;
}
_root.stats.score = _root.stats.score + 100000;
}
delete _root["formB" + form[0]];
}
break;
}
_local3++;
}
_root.createExploA([(x + (clip._width / 2)) + _root.randRange(-20, 20), (y + (clip._height / 2)) + _root.randRange(-20, 20), _root.randRange(80, 130), _root.randRange(75, 100), "Red"]);
_root.createExploA([(x + (clip._width / 2)) + _root.randRange(-20, 20), (y + (clip._height / 2)) + _root.randRange(-20, 20), _root.randRange(80, 130), _root.randRange(75, 100), "Green"]);
_root.createExploA([(x + (clip._width / 2)) + _root.randRange(-20, 20), (y + (clip._height / 2)) + _root.randRange(-20, 20), _root.randRange(80, 130), _root.randRange(75, 100), "Blue"]);
_root.audio.playLevel4("spaceManX" + (random(3) + 1), _root.randRange(15, 25));
var _local5 = 0;
var _local6 = random(4) + 3;
while (_local5 < _local6) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "spaceManA", "Yellow"]);
_local5++;
}
_root.createEnemySoul([x + (clip._width / 2), y + (clip._height / 2), "yellow"]);
_root.removeChar("spaceManA" + id);
}
function advance() {
dir = _root.advanceDir;
xMovT = ((_root.advanceDir == "L") ? (-1 * (speed / 2)) : (1 * (speed / 2)));
clip.flame.gotoAndPlay("advance");
f2 = "advancing";
}
function advancing() {
c++;
if (c > advanceMax) {
xMovT = 0;
c = 0;
f2 = "wait";
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("hindSight");
_root.sightClip._x = x;
_root.sightClip._y = y;
if (_root.advanceDir == "L") {
_root.sightClip._rotation = 180;
}
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
_root.broBehind();
}
removeMovieClip(_root.sightClip);
}
}
function newDir() {
if (random(10) > 1) {
this[axis + "MovT"] = 0;
dir = _root.getDir(x, y);
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
} else {
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
function newChargeDir() {
if (random(10) > 1) {
dir = _root.getDir(x, y);
} else {
dir = dirArray[random(4)];
}
}
function wander() {
if (random(100) > (95 + _root.dif.wander)) {
newDir();
} else if (random(100) > 97) {
if ((dir == "U") || (dir == "D")) {
laserScope();
} else if (random(10) > 7) {
charge();
}
}
}
function charge() {
clip.body.gotoAndPlay("chargeStart");
clip.flame.gotoAndPlay("charge");
speed = speedOrig;
speed = speed * 1.5;
axis = "x";
yMovT = 0;
this[axis + "MovT"] = ((dir == "L") ? (-1 * speed) : (speed));
f2 = "charging";
c = 0;
cMax = _root.randRange(30, 120);
_root.audio.playLevel3("spaceManCharge", _root.randRange(25, 35));
}
function charging() {
if (random(100) > 95) {
newChargeDir();
}
c++;
if (c == cMax) {
clip.body.gotoAndPlay("chargeEnd");
clip.flame.gotoAndPlay("fly");
speed = speedOrig;
this[axis + "MovT"] = ((dir == "L") ? (-1 * speed) : (speed));
f2 = "wander";
}
}
function laserScope() {
laser.c = 0;
laser.c2 = 0;
laser.c2Max = _root.randRange(2, 4);
f2 = "laserScoping";
speed = speed / 3;
this[axis + "MovT"] = this[axis + "MovT"] / 3;
clip.body.head.gotoAndPlay("scope");
clip.body.gotoAndStop("hover");
_root.audio.playLevel2("spaceManWarning" + (random(3) + 1), _root.randRange(43, 50));
}
function laserScoping() {
laser.c++;
if (laser.c == 20) {
laser.c2++;
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("bomberBLaser");
_root.sightClip._x = x;
_root.sightClip._y = y;
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
laser.dir = "L";
fireLaser(false);
} else {
_root.sightClip._rotation = 180;
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
laser.dir = "R";
fireLaser(false);
}
}
removeMovieClip(_root.sightClip);
laser.c = 0;
} else if (laser.c2 >= laser.c2Max) {
speed = speedOrig;
this[axis + "MovT"] = this[axis + "MovT"] * 3;
f2 = "wander";
clip.body.head.gotoAndPlay("front");
}
}
function fireLaser(pmatrixed) {
clip.gotoAndStop(laser.dir);
clip.body.head.gotoAndStop("front");
laser.matrixed = pmatrixed;
f2 = "";
clip.body.head.eyes.gotoAndPlay("glowStart");
clip.body.hover.gotoAndPlay("topStart");
laser.l = _root.randRange(5, 25);
laser.firing = true;
laser.top = true;
laser.c = 0;
}
function stopLaserFire() {
laser.firing = false;
clip.body.head.eyes.gotoAndPlay("glowEnd");
if (laser.top) {
clip.body.hover.gotoAndPlay("topEnd");
} else {
clip.body.hover.gotoAndPlay("botEnd");
}
if (!laser.matrixed) {
speed = speedOrig;
this[axis + "MovT"] = this[axis + "MovT"] * 3;
f2 = "wander";
}
}
function death2() {
_root.removeChar("spaceManA" + id);
}
function main() {
this[f2]();
if (oldDir != dir) {
if ((f2 != "charging") && (oldDir != "matrix")) {
clip.gotoAndStop(dir);
if (dir == "U") {
clip.body.gotoAndPlay("flyEnd");
clip.flame.gotoAndPlay("up2");
} else if (dir == "D") {
clip.body.gotoAndPlay("flyEnd");
clip.flame.gotoAndStop("wait");
} else if (f2 != "wait") {
clip.body.gotoAndPlay("flyStart");
clip.flame.gotoAndPlay("fly");
}
} else if (oldDir != "matrix") {
clip.gotoAndStop(dir);
if ((oldDir == "L") || (oldDir == "R")) {
if (dir == "U") {
axis = "y";
yMovT = -1 * speed;
clip.body.gotoAndPlay("upStart");
clip.flame.gotoAndPlay("upStart");
} else if (dir == "D") {
axis = "y";
yMovT = speed;
clip.body.gotoAndPlay("downStart");
clip.flame.gotoAndPlay("downStart");
} else {
axis = "x";
yMovT = 0;
xMovT = ((dir == "L") ? (-1 * speed) : (speed));
clip.body.gotoAndPlay("chargeStart");
clip.flame.gotoAndPlay("charge");
}
} else if (dir == "U") {
axis = "y";
xMovT = 0;
clip.body.gotoAndPlay("hover");
clip.flame.gotoAndPlay("up2");
} else if (dir == "D") {
axis = "y";
xMovT = 0;
clip.body.gotoAndPlay("downStart");
clip.flame.gotoAndPlay("downStart");
} else {
axis = "x";
xMovT = ((dir == "L") ? (-1 * speed) : (speed));
if (oldDir == "U") {
clip.body.gotoAndPlay("upStart");
clip.flame.gotoAndPlay("upStart");
} else {
clip.body.gotoAndPlay("downStart");
clip.flame.gotoAndPlay("downStart");
}
}
}
}
oldDir = dir;
if (laser.firing) {
laser.c++;
if ((laser.c / 4) == Math.round(laser.c / 4)) {
if (laser.top) {
laser.top = false;
clip.body.hover.gotoAndPlay("topToBot");
var _local9 = ((laser.dir == "L") ? -8 : -9);
_root.enemyShotID++;
_root["spaceManALaser" + _root.enemyShotID] = new classes.shots.SpaceManALaser(x + _local9, y + 6, laser.c, laser.dir, _root.enemyShotID);
_root.addEnemyShot("spaceManALaser" + _root.enemyShotID);
} else {
laser.top = true;
clip.body.hover.gotoAndPlay("botToTop");
var _local9 = ((laser.dir == "L") ? -8 : 9);
_root.enemyShotID++;
_root["spaceManALaser" + _root.enemyShotID] = new classes.shots.SpaceManALaser(x + _local9, y + 9, laser.c, laser.dir, _root.enemyShotID);
_root.addEnemyShot("spaceManALaser" + _root.enemyShotID);
}
_root.audio.playLevel3("spaceManFire" + (random(5) + 1), _root.randRange(15, 25));
}
if (laser.c > laser.l) {
stopLaserFire();
}
}
if (nudging) {
xA = xA * 0.5;
yA = yA * 0.5;
nc++;
var _local10 = 255 - (nc * 17);
colorTrans.redOffset = _local10;
colorTrans.greenMultiplier = nc / 15;
colorTrans.blueMultiplier = nc / 15;
trans.colorTransform = colorTrans;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
colorTrans.redOffset = colorR;
colorTrans.greenMultiplier = 1;
colorTrans.blueMultiplier = 1;
trans.colorTransform = colorTrans;
}
}
var _local4 = 0;
var _local7 = _root.broShots.length;
while (_local4 < _local7) {
var _local6 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local6])) {
var _local3 = _root.broShots[_local4];
var _local5 = life;
life = life - _root[_local3].power;
_root.power = _root[_local3].power;
_root.life = life;
if ((life < 1) || (life == NaN)) {
f2 = "death";
} else {
nudge(_root[_local3].xMov, _root[_local3].yMov, 5);
if (random(3) == 0) {
_root.audio.playLevel4("spaceManHit" + (random(3) + 1), _root.randRange(23, 32));
} else {
_root.audio.playLevel2("spaceManHit" + (random(2) + 4), _root.randRange(15, 20));
}
if ((f2 == "wait") || (f2 == "advancing")) {
matrixVar = 0;
charge();
} else if ((f2 == "wander") || (f2 == "laserScoping")) {
if (random(2) == 0) {
speed = speedOrig;
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
} else if (random(2) == 0) {
axis = "x";
dir = ((random(2) == 0) ? "L" : "R");
charge();
}
} else if (f2 == "charging") {
newChargeDir();
}
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local5);
break;
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
bombed(20);
}
if (!moveScripted) {
var _local8 = false;
if (x > 950) {
_local8 = true;
dir = "L";
} else if (x < 50) {
_local8 = true;
dir = "R";
} else if (y < 50) {
_local8 = true;
dir = "D";
} else if (y > 550) {
_local8 = true;
dir = "U";
}
if (_local8) {
xMovT = 0;
yMovT = 0;
speed = speedOrig;
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
f2 = "wander";
}
}
if ((((x > 1100) || (x < -100)) || (y < -100)) || (y > 700)) {
delete _root["form" + form[0]];
delete _root["formB" + form[0]];
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - 1;
} else if (xMovT > xMov) {
xMov = xMov + 1;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 1;
} else if (yMovT > yMov) {
yMov = yMov + 1;
} else {
yMov = yMovT;
}
x = x + (xMov + xA);
y = y + ((yMov + yA) + (0.5 * Math.sin((hc = hc + 0.075))));
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 8;
var speed = 8;
var f2 = "";
var xDestMet = false;
var yDestMet = false;
var c = 0;
var c2 = 0;
var moveScripted = true;
var feelerInfo = [[-400, 0, 400, 40], [0, 0, 400, 40], [0, -400, 40, 400], [0, 0, 40, 400]];
var dirArray = ["L", "R", "U", "D"];
var life = 300;
var nudging = false;
var nc = 0;
var xA = 0;
var yA = 0;
var power = 30;
var hc = 0;
var Name = "spaceManA";
}
Symbol 4716 MovieClip [__Packages.classes.shots.SpaceManALaser] Frame 0
class classes.shots.SpaceManALaser
{
var x, y, id, dir, frame, clip;
function SpaceManALaser (px, py, pframe, pdir, pid) {
x = px;
y = py;
id = pid;
dir = pdir;
frame = pframe;
_root.d++;
clip = _root.attachMovie("spaceManALaser", ("spaceManALaser" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip.id = id;
yMov = 0;
xMov = ((dir == "L") ? -18 : 18);
clip.gotoAndStop(frame / 4);
xMov = xMov * _root.dif.speed;
yMov = yMov * _root.dif.speed;
}
function hit() {
yank = true;
}
function main() {
xMov = xMov * 1.02;
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
yank = true;
}
if ((((x > 1050) || (x < -50)) || (y > 650)) || (y < -50)) {
yank = true;
}
x = x + xMov;
if (yank) {
_root.removeEnemyShot("spaceManALaser" + id);
yank = false;
}
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var Name = "spaceManALaser";
var power = 30;
var yank = false;
}
Symbol 4717 MovieClip [__Packages.classes.enemy.BatA] Frame 0
class classes.enemy.BatA
{
var x, y, moveScript, matrixCoords, form, id, clip, colorR, trans, colorTrans, advanceMax, advanceMax2, matrixVar, dir, f2, axis, xDest, yDest, oldDir;
function BatA (px, py, pmoveScript, pmatrixCoords, pform, pid) {
x = px;
y = py;
moveScript = pmoveScript.slice();
matrixCoords = pmatrixCoords.slice();
form = pform.slice();
id = pid;
_root.d++;
clip = _root.attachMovie("batA", ("batA" + id) + "Clip", _root.d + 50000);
clip._x = x;
clip._y = y;
colorR = _root.randRange(-10, 20);
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, colorR, colorR, colorR, 0);
trans.colorTransform = colorTrans;
speed = speed * _root.dif.speed;
speedOrig = speed;
advanceMax = 60 / (speed / 2);
advanceMax2 = 50 / (speed / 2);
if (matrixCoords[0] == "free") {
matrixVar = 0;
} else {
matrixVar = 1;
}
speedVar();
parseMoveScript();
_root.stats.created++;
}
function broBehind() {
matrixVar = 0;
yMovT = 0;
if (random(3) == 1) {
var _local3 = _root.randRange2(1, 1.1);
xMovT = ((dir == "L") ? ((-1 * _local3) * speed) : (_local3 * speed));
clip.body.gotoAndPlay("spread");
f2 = "attacking";
} else {
this[axis + "MovT"] = 0;
axis = ((random(2) > 0) ? "y" : "x");
var _local3 = _root.randRange2(0.9, 1.1);
this[axis + "MovT"] = ((random(2) > 0) ? (_local3 * speed) : ((-1 * _local3) * speed));
getDirString();
f2 = "wander";
}
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.9999, 1.0001);
}
}
function bombed(num) {
f2 = "death";
}
function twist() {
clip.body.gotoAndPlay("twist");
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
this[axis + "MovT"] = 0;
if (matrixCoords[0] == "free") {
f2 = "wander";
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else {
xDest = ((_root.advanceDir == "L") ? ((matrixCoords[0] * 60) + 320) : (matrixCoords[0] * 60));
yDest = (matrixCoords[1] * 50) + 10;
axis = ((Math.abs(xDest - x) > Math.abs(yDest - y)) ? "x" : "y");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speedVar();
f2 = "gotoMatrix";
}
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function gotoMatrix() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speed = speedOrig;
}
if ((Math.abs(x - xDest) < (speed + 1)) && (Math.abs(y - yDest) < (speed + 1))) {
x = (clip._x = xDest);
y = (clip._y = yDest);
xMovT = (xMov = 0);
yMovT = (yMov = 0);
matrixVar = 2;
dir = _root.advanceDir;
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
_root["formB" + form[0]] = "matrixed";
f2 = "wait";
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function wait() {
if ((random(1000) >= (998 + _root.dif.wait)) && (_root.matrixComplete)) {
dir = findDir();
if (dir == _root.advanceDir) {
clip.body.gotoAndPlay("spread");
xMovT = ((_root.advanceDir == "L") ? (-1 * speed) : (speed));
f2 = "attacking";
matrixVar = 0;
} else if ((dir == "U") || (dir == "D")) {
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
matrixVar = 0;
c = 0;
f2 = "leavingMatrix";
}
}
}
function evade() {
if (matrixVar == 2) {
matrixVar = 0;
if (random(2) == 1) {
f2 = "wander";
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else {
clip.body.gotoAndPlay("spread");
xMovT = ((_root.advanceDir == "L") ? (-1 * speed) : (speed));
f2 = "attacking";
}
}
}
function leavingMatrix() {
c++;
if (c > advanceMax2) {
c = 0;
dir = findDir();
if (dir == _root.advanceDir) {
clip.body.gotoAndPlay("spread");
yMovT = 0;
xMovT = ((_root.advanceDir == "L") ? (-1 * speed) : (speed));
f2 = "attacking";
}
}
}
function findDir() {
_root.d++;
_root.attachMovie("feeler", "feelerClip", _root.d);
var _local7 = [];
var _local9 = 0;
var _local11 = dirArray.length;
while (_local9 < _local11) {
_root.feelerClip._x = x + feelerInfo[_local9][0];
_root.feelerClip._y = y + feelerInfo[_local9][1];
_root.feelerClip._width = feelerInfo[_local9][2];
_root.feelerClip._height = feelerInfo[_local9][3];
var _local3 = 0;
var _local8 = _root.chars.length;
var _local6 = false;
while (_local3 < _local8) {
var _local5 = _root.chars[_local3] + "Clip";
if (_root.feelerClip.hitTest(_root[_local5])) {
var _local4 = _root.chars[_local3];
if ((_root[_local4].matrixVar == 2) && (_local4 != (Name + id))) {
_local6 = true;
break;
}
}
_local3++;
}
if (!_local6) {
var _local10 = ((_root.advanceDir == "L") ? "R" : "L");
if (dirArray[_local9] != _local10) {
_local7.push(dirArray[_local9]);
}
}
_local9++;
}
_local9 = 0;
_local11 = _local7.length;
if (_local9 < _local11) {
if (_local7[_local9] == _root.advanceDir) {
return(_root.advanceDir);
}
return(_local7[random(_local7.length)]);
}
}
function attacking() {
xMovT = xMovT * 1.03;
yMovT = yMovT * 1.03;
}
function death() {
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 250;
if (matrixVar == 1) {
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
}
_root.powerUp(x, y, 96);
var _local3 = 0;
var _local4 = _root["form" + form[0]].length;
while (_local3 < _local4) {
if (_root["form" + form[0]][_local3] == ("batA" + id)) {
_root["form" + form[0]].splice(_local3, 1);
if (_root["form" + form[0]].length == 0) {
delete _root["form" + form[0]];
if (_root["formB" + form[0]] == "matrixed") {
_local3 = 0;
_local4 = random(2) + 1;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin1"]);
_local3++;
}
_root.stats.score = _root.stats.score + 250;
} else {
_local3 = 0;
_local4 = random(3) + 1;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin1"]);
_local3++;
}
_root.stats.score = _root.stats.score + 500;
}
delete _root["formB" + form[0]];
}
break;
}
_local3++;
}
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(80, 130), _root.randRange(75, 100), "Yellow"]);
_root.audio.playLevel4("batX" + (random(2) + 1), _root.randRange(8, 15));
var _local5 = 0;
var _local6 = random(3);
while (_local5 < _local6) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "batA", "Yellow"]);
_local5++;
}
_root.createEnemySoul([x + (clip._width / 2), y + (clip._height / 2), "yellow"]);
_root.removeChar("batA" + id);
f2 = "";
}
function advance() {
dir = _root.advanceDir;
clip.body.gotoAndPlay("advance");
xMovT = ((_root.advanceDir == "L") ? (-1 * (speed / 2)) : (1 * (speed / 2)));
f2 = "advancing";
}
function advancing() {
c++;
if (c > advanceMax) {
xMovT = 0;
c = 0;
f2 = "wait";
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("hindSight");
_root.sightClip._x = x;
_root.sightClip._y = y;
if (_root.advanceDir == "L") {
_root.sightClip._rotation = 180;
}
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
_root.broBehind();
}
removeMovieClip(_root.sightClip);
}
}
function wander() {
if (random(100) > (98 + _root.dif.wander)) {
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
function death2() {
_root.removeChar("batA" + id);
f2 = "";
}
function main() {
this[f2]();
if (oldDir != dir) {
clip.gotoAndStop("fly" + dir);
}
oldDir = dir;
if (nudging) {
xA = xA * 0.5;
yA = yA * 0.5;
nc++;
var _local8 = 255 - (nc * 17);
colorTrans.redOffset = _local8;
colorTrans.blueOffset = _local8;
trans.colorTransform = colorTrans;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
colorTrans.redOffset = colorR;
colorTrans.blueOffset = colorR;
trans.colorTransform = colorTrans;
}
}
var _local4 = 0;
var _local7 = _root.broShots.length;
while (_local4 < _local7) {
var _local6 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local6])) {
var _local3 = _root.broShots[_local4];
var _local5 = life;
life = life - _root[_local3].power;
if (life < 1) {
f2 = "death";
} else {
nudge(_root[_local3].xMov, _root[_local3].yMov, 10);
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local5);
break;
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
f2 = "death";
}
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
delete _root["form" + form[0]];
delete _root["formB" + form[0]];
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - 1;
} else if (xMovT > xMov) {
xMov = xMov + 1;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 1;
} else if (yMovT > yMov) {
yMov = yMov + 1;
} else {
yMov = yMovT;
}
xmt = xMov;
ymt = yMov;
if (random(10) == 1) {
if (axis == "y") {
xmt = xmt + _root.randRange2(-1, 1);
} else {
ymt = ymt + _root.randRange2(-1, 1);
}
}
x = x + xmt;
y = y + ymt;
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xmt = 0;
var ymt = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 8;
var speed = 8;
var xDestMet = false;
var yDestMet = false;
var c = 0;
var feelerInfo = [[-400, 0, 400, 40], [0, 0, 400, 40], [0, -400, 40, 400], [0, 0, 40, 400]];
var dirArray = ["L", "R", "U", "D"];
var power = 25;
var life = 1;
var nudging = false;
var nc = 0;
var xA = 0;
var yA = 0;
var Name = "batA";
}
Symbol 4718 MovieClip [__Packages.classes.fx.HeadSummon] Frame 0
class classes.fx.HeadSummon
{
var id, varArray, x, y, type, clip;
function HeadSummon (ptype, pvarArray, pid) {
id = pid;
varArray = pvarArray.slice();
x = varArray[0];
y = varArray[1];
type = ptype;
_root.d++;
clip = _root.attachMovie("headSummon", ("headSummon" + id) + "Clip", _root.d + 60000);
clip._x = x;
clip._y = y;
}
function main() {
c++;
if (c == 6) {
_root["createHead" + type](varArray);
}
if (clip.end) {
_root.removeFX("headSummon" + id);
}
}
var c = 0;
var Name = "headSummon";
}
Symbol 4719 MovieClip [__Packages.classes.enemy.HeadA] Frame 0
class classes.enemy.HeadA
{
var x, y, moveScript, id, clip, colorR, trans, colorTrans, f2, dir, axis, xDest, yDest, ep, oldDir;
function HeadA (px, py, pmoveScript, pid) {
x = px;
y = py;
moveScript = pmoveScript.slice();
id = pid;
_root.d++;
clip = _root.attachMovie("headA", ("headA" + id) + "Clip", _root.d + 50000);
clip._x = x;
clip._y = y;
speed = speed * _root.dif.speed;
speedOrig = speed;
speedVar();
colorR = _root.randRange(-10, 30);
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, colorR, colorR, colorR, 0);
trans.colorTransform = colorTrans;
parseMoveScript();
if (_root.flashing) {
flashing = true;
_root.flashing = false;
}
_root.stats.created++;
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
}
function bombed(num) {
f2 = "death";
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.9998, 1.0002);
}
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
this[axis + "MovT"] = 0;
f2 = "wander";
if (random(10) > 2) {
dir = _root.getDir(x, y);
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
} else {
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function wander() {
if ((random(100) > 85) || ((((x > 950) || (x < 50)) || (y < 50)) || (y > 550))) {
if (random(20) > 18) {
this[axis + "MovT"] = 0;
f2 = "wait";
c = 0;
ep = _root.randRange(30, 120);
} else if (random(10) > 1) {
dir = _root.getDir(x, y);
this[axis + "MovT"] = 0;
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
} else {
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
}
function wait() {
c++;
if (c == ep) {
f2 = "wander";
if (random(10) > (2 + _root.dif.wander)) {
dir = _root.getDir(x, y);
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
} else {
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
if (random(100) > 95) {
var _local3 = ["L", "R", "F"];
dir = _local3[random(_local3.length)];
}
}
function attacking() {
}
function death() {
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 500;
_root.powerUp(x, y, 95);
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(60, 80), _root.randRange(75, 100), "Green"]);
var _local3 = 0;
var _local4 = random(3);
while (_local3 < _local4) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "headA", "Green"]);
_local3++;
}
_root.createEnemySoul([x + (clip._width / 2), y + (clip._height / 2), "green"]);
_root.audio.playLevel4("headX" + (random(3) + 1), _root.randRange(15, 25));
_root.removeChar("headA" + id);
f2 = "";
}
function death2() {
_root.removeChar("headA" + id);
f2 = "";
}
function main() {
if (flashing) {
flashC++;
var _local8 = 275 - (flashC * 10);
colorTrans.greenOffset = _local8;
colorTrans.redOffset = _local8;
colorTrans.blueOffset = _local8;
trans.colorTransform = colorTrans;
if (flashC == 27) {
colorTrans.greenOffset = 0;
colorTrans.redOffset = 0;
colorTrans.blueOffset = 0;
trans.colorTransform = colorTrans;
delete flashing;
delete flashC;
}
}
this[f2]();
if (oldDir != dir) {
if ((oldDir == undefined) || (dir == "F")) {
clip.body.eyes.gotoAndStop(dir);
} else if ((dir == "U") || (dir == "D")) {
clip.body.eyes.gotoAndStop(oldDir);
} else if (random(3) > 0) {
if (dir == "R") {
clip.body.eyes.gotoAndPlay("LtoR");
} else {
clip.body.eyes.gotoAndPlay("RtoL");
}
} else {
clip.body.eyes.gotoAndPlay("spin" + dir);
}
}
oldDir = dir;
if (nudging) {
xA = xA * 0.5;
yA = yA * 0.5;
nc++;
var _local8 = 255 - (nc * 17);
colorTrans.greenOffset = _local8;
colorTrans.redOffset = _local8 / 2;
trans.colorTransform = colorTrans;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
colorTrans.greenOffset = colorR;
colorTrans.redOffset = colorR;
trans.colorTransform = colorTrans;
}
}
var _local4 = 0;
var _local7 = _root.broShots.length;
while (_local4 < _local7) {
var _local6 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local6])) {
var _local3 = _root.broShots[_local4];
var _local5 = life;
life = life - _root[_local3].power;
if (life < 1) {
f2 = "death";
} else {
nudge(_root[_local3].xMov, _root[_local3].yMov, 10);
_root.audio.playLevel4("headHit" + (random(4) + 1), _root.randRange(18, 26));
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local5);
break;
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].stealCoins(5);
_root[_root.char].hit(xMov, yMov, 100, power);
f2 = "death";
}
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - 0.15;
} else if (xMovT > xMov) {
xMov = xMov + 0.15;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 0.15;
} else if (yMovT > yMov) {
yMov = yMov + 0.15;
} else {
yMov = yMovT;
}
if (random(100) > 98) {
clip.body.eyes.clip.gotoAndPlay("blink");
}
x = x + (xMov + xA);
y = y + ((yMov + yA) + (0.5 * Math.sin((hc = hc + 0.1))));
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 6;
var speed = 6;
var xDestMet = false;
var yDestMet = false;
var c = 0;
var life = 3;
var nc = 0;
var xA = 0;
var yA = 0;
var nudging = false;
var power = 10;
var hc = 0;
var flashing = false;
var flashC = 0;
var Name = "headA";
}
Symbol 4720 MovieClip [__Packages.classes.enemy.DeathHead] Frame 0
class classes.enemy.DeathHead
{
var x, y, clip, fire, transL, transR, colorTrans, eyes, f2, dir, moveScript, axis, xDest, yDest, wallDir, wallC, wallEP, ep, enemyType, darkL, oldF, oldDir;
function DeathHead () {
x = 500;
y = 300;
_root.d++;
clip = _root.attachMovie("deathHead", "deathHeadClip", _root.d + 690000);
clip._x = x;
clip._y = y;
clip.gotoAndPlay("intro");
fire = new Object();
speedOrig = speed;
transL = new flash.geom.Transform(clip.eyeClip.eyeL);
transR = new flash.geom.Transform(clip.eyeClip.eyeR);
colorTrans = new flash.geom.ColorTransform(1, 0, 0, 1, 255, 0, 0, 0);
eyes = new Object();
eyes.lO = 0;
eyes.rO = 14;
eyes.c = 0;
eyes.x = 0;
_root.stats.created++;
clip.teeth.gotoAndPlay("go");
f2 = "intro";
_root.lastBoss = true;
}
function intro() {
c++;
if (Math.round(c / 10) == (c / 10)) {
var _local3 = c / 10;
if (_local3 > 13) {
_local3 = 13;
}
clip.eyeClip.eyeL.gotoAndStop(_local3 + eyes.lO);
clip.eyeClip.eyeR.gotoAndStop(_local3 + eyes.rO);
}
if (c == 150) {
_root.audio.playLevel2("deathIntro", _root.randRange(20, 25));
_root.audio.playLevel3("deathDrain", _root.randRange(15, 20));
_root.powerUpDrain = new classes.fx.PowerUpDrain(_root[_root.char].x + 3, _root[_root.char].y + 3);
_root.addFX("powerUpDrain");
_root[_root.char].weapon = (_root.bro1Weapon = (_root.bro2Weapon = "laserA"));
_root[_root.char].fireFreq = 11;
_root[_root.char].fireFreqOrig = 11;
_root.rapidVar = 4;
}
if ((c > 150) && (c < 170)) {
if (Math.round(c / 2) == (c / 2)) {
clip.eyeClip.eyeL.blast.gotoAndStop(2);
clip.eyeClip.eyeR.blast.gotoAndStop(2);
_root[_root.char].colorFlash(255, 255, 255, 2);
} else {
clip.eyeClip.eyeL.blast.gotoAndStop(1);
clip.eyeClip.eyeR.blast.gotoAndStop(1);
}
}
if (c == 170) {
clip.eyeClip.eyeL.blast.gotoAndPlay(2);
clip.eyeClip.eyeR.blast.gotoAndPlay(2);
f2 = "wander";
}
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.9, 1.1);
}
if (speed >= (speedOrig * 1.3)) {
speed = speedOrig;
}
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function wander() {
if ((random(100) > 70) || ((((x > 950) || (x < 50)) || (y < 50)) || (y > 550))) {
if (random(50) > 48) {
wait();
} else if (random(10) > 1) {
dir = _root.getDir(x, y);
this[axis + "MovT"] = 0;
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
} else {
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
if (phase < 6) {
if (random(200) > (197 + _root.dif.wait)) {
if ((random(7) == 0) && (!dark)) {
darkness();
} else if (random(5) > 0) {
fireLaser();
} else if (!dark) {
astroAttack();
}
}
} else if (random(200) > (196 + _root.dif.wait)) {
if ((random(2) > 0) && (_root.chars.length < 4)) {
blackEnemies();
} else if (random(3) > 0) {
deathBallAttack();
} else if (random(2) > 0) {
fireLaser();
} else if ((x > 200) && (x < 800)) {
wall();
}
}
}
function wall() {
permitHit = false;
wallDir = ((random(2) == 0) ? "U" : "D");
xMovT = 0;
yMovT = 0;
f2 = "walling";
c = 0;
wallC = 0;
wallEP = _root.randRange(3, 7);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, 255, 160, 0, 0);
transL.colorTransform = colorTrans;
transR.colorTransform = colorTrans;
clip.eyeClip.eyeL.gotoAndStop(13 + eyes.lO);
clip.eyeClip.eyeR.gotoAndStop(13 + eyes.rO);
_root.audio.playLevel2("deathWall", _root.randRange(15, 20));
}
function walling() {
c++;
if (c < 150) {
var _local5 = ((wallDir == "U") ? -0.5 : 0.5);
} else {
var _local5 = ((wallDir == "U") ? 0.5 : -0.5);
}
yMov = (yMovT = yMovT + _local5);
if (c == 300) {
permitHit = true;
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0);
transL.colorTransform = colorTrans;
transR.colorTransform = colorTrans;
f2 = "wander";
if (y > 650) {
y = -40;
}
if (y < -50) {
y = 620;
}
}
wallC++;
if (wallC >= wallEP) {
var _local3 = ((x > _root[_root.char].x) ? "L" : "R");
var _local6 = ((_local3 == "R") ? 21 : -21);
_root.enemyShotID++;
_root["bugASwitchBlast" + _root.enemyShotID] = new classes.shots.BugASwitchBlast(x + _local6, y + 21, _local3, _root.enemyShotID, true);
_root.addEnemyShot("bugASwitchBlast" + _root.enemyShotID);
_root.audio.playLevel3("deathWallFire" + (random(3) + 1), _root.randRange(12, 16));
wallEP = _root.randRange(3, 7);
wallC = 0;
}
if ((c > 45) && (c < 245)) {
if (random(4) == 0) {
var _local4 = ((x > _root[_root.char].x) ? 1 : 2);
_root.fxID++;
_root["deathWallFX" + _root.fxID] = new classes.fx.DeathWallFX(x, y, wallDir, _local4, _root.fxID);
_root.addFX("deathWallFX" + _root.fxID);
}
}
}
function blackEnemies() {
cc = 0;
ep = _root.randRange(8, 30);
f2 = "creatingEnemies";
enemyType = _root.randRange(1, 4);
_root.audio.playLevel2("deathEnemyLaunch", _root.randRange(20, 25));
}
function creatingEnemies() {
cc++;
xA = _root.randRange2(-3, 3);
yA = _root.randRange2(-3, 3);
var _local3 = ["L", "R", "U", "D"];
if (Math.round(cc / 2) == (cc / 2)) {
this["createEnemy" + enemyType](_local3[random(4)]);
}
if (cc >= ep) {
f2 = "wander";
xA = (yA = 0);
}
}
function deathBallAttack() {
_root.audio.playLevel2("deathBallLaunch", _root.randRange(12, 18));
cc = 0;
ep = _root.randRange(10, 26);
f2 = "deathBallAttacking";
clip.eyeClip.eyeL.gotoAndStop(13 + eyes.lO);
clip.eyeClip.eyeR.gotoAndStop(13 + eyes.rO);
}
function deathBallAttacking() {
cc++;
if (Math.round(cc / 2) == (cc / 2)) {
deathBall();
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, _root.randRange(-150, 150), _root.randRange(-10, 10), _root.randRange(-10, 10), 0);
transL.colorTransform = colorTrans;
transR.colorTransform = colorTrans;
}
if (cc >= ep) {
f2 = "wander";
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0);
transL.colorTransform = colorTrans;
transR.colorTransform = colorTrans;
}
}
function deathBall() {
_root.enemyShotID++;
_root["deathBall" + _root.enemyShotID] = new classes.shots.DeathBall(x, y, xMov * -1, yMov * -1, _root.enemyShotID);
_root.addEnemyShot("deathBall" + _root.enemyShotID);
}
function darkness() {
f2 = "darkening";
dark = true;
c = 0;
_root.attachMovie("deathDark", "deathDarkClip", 25);
_root.deathDarkClip._x = 0;
_root.deathDarkClip._y = 0;
darkL = _root.randRange(150, 240);
speed = speed * 1.5;
_root.audio.playLevel2("deathDark2", _root.randRange(20, 25));
}
function darkening() {
c++;
if ((random(100) > 50) || ((((x > 950) || (x < 50)) || (y < 50)) || (y > 550))) {
if (random(10) > 1) {
dir = _root.getDir(x, y);
this[axis + "MovT"] = 0;
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
} else {
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
if (c < 26) {
if (Math.round(c / 2) == (c / 2)) {
var _local3 = c / 2;
if (_local3 > 13) {
_local3 = 13;
}
clip.eyeClip.eyeL.gotoAndStop(_local3 + eyes.lO);
clip.eyeClip.eyeR.gotoAndStop(_local3 + eyes.rO);
}
clip.cover._alpha = 100 - (c * 4);
}
if (c > 25) {
clip.eyeClip.eyeL.gotoAndStop(13 + eyes.lO);
clip.eyeClip.eyeR.gotoAndStop(13 + eyes.rO);
}
if (c == 30) {
_root.deathDarkClip.play();
clip.cover._alpha = 0;
}
if ((c > 30) && (c < 60)) {
var _local5 = 1 - ((c - 30) / 30);
var _local4 = -((c - 30) * 8.5);
colorTrans = new flash.geom.ColorTransform(_local5, _local5, _local5, 1, _local4, _local4, _local4, 0);
transL.colorTransform = colorTrans;
transR.colorTransform = colorTrans;
}
if ((c > 60) && (c < 90)) {
var _local5 = (c - 60) / 30;
var _local4 = -255 + ((c - 60) * 8.5);
colorTrans = new flash.geom.ColorTransform(_local5, _local5, _local5, 1, _local4, _local4, _local4, 0);
transL.colorTransform = colorTrans;
transR.colorTransform = colorTrans;
}
if (_root.deathDarkClip.end) {
_root.deathDarkClip.removeMovieClip();
clip.cover._alpha = 100;
dark = false;
f2 = "wander";
speed = speedOrig;
}
}
function astroAttack() {
f2 = "astroAttacking";
c = 0;
xMovT = 0;
yMovT = 0;
var _local4 = 0;
var _local5 = _root.randRange(5, 9);
while (_local4 < _local5) {
var _local3 = random(4);
_root.fxID++;
_root["asteroidD" + _root.fxID] = new classes.fx.AsteroidD(_root.randRange(_root.posArray[_local3][0], _root.posArray[_local3][1]), _root.randRange(_root.posArray[_local3][2], _root.posArray[_local3][3]), _root.randRange(4, 5), _root.dirArray[_local3], _root.fxID);
_root.addFX("asteroidD" + _root.fxID);
_local4++;
}
}
function astroAttacking() {
c++;
if (c < 30) {
if (Math.round(c / 2) == (c / 2)) {
var _local5 = c / 2;
if (_local5 > 13) {
_local5 = 13;
}
clip.eyeClip.eyeL.gotoAndStop(_local5 + eyes.lO);
clip.eyeClip.eyeR.gotoAndStop(_local5 + eyes.rO);
}
}
if ((c > 45) && (c < 65)) {
var _local6 = ((c < 55) ? ((c - 45) / 10) : (1 - ((c - 54) / 10)));
xA = _root.randRange2(-6, 6) * _local6;
yA = _root.randRange2(-6, 6) * _local6;
}
if (c == 55) {
_root.audio.playLevel2("deathAstCrush", _root.randRange(40, 50));
var _local3 = 0;
var _local4 = _root.FX.length;
while (_local3 < _local4) {
_root[_root.FX[_local3]].explode();
_local3++;
}
}
if (c == 65) {
xA = (yA = 0);
}
if (c == 68) {
_root.audio.playLevel2("deathAstGuide", _root.randRange(24, 29));
var _local3 = 0;
var _local4 = _root.FX.length;
while (_local3 < _local4) {
_root[_root.FX[_local3]].stopMov();
_local3++;
}
}
if (c == 78) {
var _local3 = 0;
var _local4 = _root.FX.length;
while (_local3 < _local4) {
_root[_root.FX[_local3]].attack();
_local3++;
}
}
if (c == 90) {
clip.eyeClip.eyeL.gotoAndStop(13 + eyes.lO);
clip.eyeClip.eyeR.gotoAndStop(13 + eyes.rO);
oldF = clip.eyeClip.eyeL._currentframe - eyes.lO;
f2 = "wander";
}
}
function wait() {
this[axis + "MovT"] = 0;
f2 = "waiting";
c = 0;
ep = _root.randRange(30, 120);
clip.teeth.gotoAndStop("stop");
}
function waiting() {
c++;
if (c >= ep) {
f2 = "wander";
clip.teeth.gotoAndPlay("go");
if (random(10) > 2) {
dir = _root.getDir(x, y);
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
} else {
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
}
function fireLaser() {
xMovT = 0;
yMovT = 0;
fire.c = 0;
f2 = "firing";
_root.audio.playLevel3("deathLaserFire", _root.randRange(15, 20));
fire.eyesA = 100;
clip.eyeClip.eyeL.gotoAndStop(13 + eyes.lO);
clip.eyeClip.eyeR.gotoAndStop(13 + eyes.rO);
colorTrans = new flash.geom.ColorTransform(0, 0, 0, 1, -255, -255, -255, 0);
transL.colorTransform = colorTrans;
transR.colorTransform = colorTrans;
}
function firing() {
fire.c++;
if (fire.c < 15) {
if (fire.eyesA == 0) {
fire.eyesA = 100;
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0);
} else {
colorTrans = new flash.geom.ColorTransform(0, 0, 0, 1, -255, -255, -255, 0);
fire.eyesA = 0;
}
transL.colorTransform = colorTrans;
transR.colorTransform = colorTrans;
}
if (fire.c == 15) {
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0);
transL.colorTransform = colorTrans;
transR.colorTransform = colorTrans;
clip.eyeClip.eyeL.blast.play();
clip.eyeClip.eyeR.blast.play();
var _local3 = _root.getDir(x, y);
if (_local3 == "L") {
var _local4 = x - 51;
var _local5 = y + 6;
} else if (_local3 == "R") {
var _local4 = x + 21;
var _local5 = y + 6;
} else if (_local3 == "U") {
var _local4 = x + 12;
var _local5 = y - 51;
} else {
var _local4 = x + 12;
var _local5 = y + 15;
}
_root.enemyShotID++;
_root["deathLaser" + _root.enemyShotID] = new classes.shots.DeathLaser(_local4, _local5, _local3, true, _root.enemyShotID);
_root.addEnemyShot("deathLaser" + _root.enemyShotID);
}
if (fire.c == 16) {
f2 = "wander";
if (random(10) > 2) {
dir = _root.getDir(x, y);
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
} else {
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
}
function death() {
phase = 7;
_root.playBGSound(["deathLoop", 0, 6, 0.05]);
_root[_root.char].xA = (_root[_root.char].yA = 0);
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 100000;
var _local3 = 1;
var _local5 = _root.chars.length;
while (_local3 < _local5) {
_root[_root.chars[_local3]].bombed(100);
_local3++;
}
var _local4 = _root.enemyShots.slice();
_local3 = 0;
_local5 = _local4.length;
while (_local3 < _local5) {
_root.removeEnemyShot(_local4[_local3]);
_local3++;
}
f2 = "dying";
c = 0;
speed = (speedOrig = 3);
cv = 1;
clip.eyeClip.gotoAndPlay(20);
clip.gotoAndPlay("spin");
clip.swapDepths(_root.d + 9999);
}
function dying() {
c++;
if (c == 1) {
var _local9 = _root.getAngleRad2(x, y, 500, 300);
var _local10 = _root.getDist2(x, y, 500, 300);
var _local8 = ((_local10 < 100) ? 1 : ((_local10 + 200) / 300));
xMovT = (Math.cos(_local9) * speed) * _local8;
yMovT = (Math.sin(_local9) * speed) * _local8;
}
if (c == 15) {
var _local4 = _root.powerUps.slice();
var _local3 = 0;
var _local5 = _local4.length;
while (_local3 < _local5) {
_root.removePowerUp(_local4[_local3]);
_local3++;
}
var _local9 = _root.getAngleRad2(x, y, 500, 300);
var _local10 = _root.getDist2(x, y, 500, 300);
var _local8 = ((_local10 < 100) ? 1 : ((_local10 + 200) / 300));
xMovT = (Math.cos(_local9) * speed) * _local8;
yMovT = (Math.sin(_local9) * speed) * _local8;
}
if (((((x > 400) && (x < 600)) && ((y > 200) && (y < 400))) && (!centered)) && (c > 15)) {
centered = true;
var _local6 = ((x > _root[_root.char].x) ? "L" : "R");
var _local7 = ((_local6 == "L") ? 1020 : -40);
if (_root[_root.char2].tagTeaming) {
_local6 = ((_root[_root.char2].x < 500) ? "R" : "L");
_root[_root.char2].endSeq(_local6);
} else if (_root.char2 == "bro1") {
_root.bro1 = new classes.bro.Bro1(_local7, 150);
_root.addChar("bro1");
_root.bro1.endSeq(_local6);
} else if (_root.char2 == "bro2") {
_root.bro2 = new classes.bro.Bro2(_local7, 250);
_root.addChar("bro2");
_root.bro2.endSeq(_local6);
} else if (_root.char2 == "broShip1") {
_root.bro1ShipLevel = 3;
_root.broShip1 = new classes.bro.BroShip1(_local7, 350);
_root.addChar("broShip1");
_root.broShip1.endSeq(_local6);
} else if (_root.char2 == "broShip2") {
_root.bro2ShipLevel = 3;
_root.broShip2 = new classes.bro.BroShip2(_local7, 450);
_root.addChar("broShip2");
_root.broShip2.endSeq(_local6);
}
if ((xMov > 10) || (yMov > 10)) {
cv = 5;
} else {
cv = 0.5;
}
xMovT = 0;
yMovT = 0;
}
if (((Math.round(c / 30) == (c / 30)) && (c > 90)) && (c < 300)) {
_root[_root.char2].endSeqB();
}
if (c == 240) {
_root[_root.char2].fireDir = "";
}
if (c == 280) {
clip.gotoAndStop("F");
clip.eyeClip.gotoAndStop(60);
clip.eyeClip._visible = true;
}
if (c == 300) {
_root.createExploA([(x + clip.eyeClip._x) + _root.randRange(0, 40), (y + clip.eyeClip._y) + _root.randRange(-10, 10), _root.randRange(50, 100), _root.randRange(90, 100), "Red"]);
_root.createExploA([(x + clip.eyeClip._x) + _root.randRange(0, 40), (y + clip.eyeClip._y) + _root.randRange(-10, 10), _root.randRange(50, 80), _root.randRange(90, 100), "Yellow"]);
_root.createExploA([(x + clip.eyeClip._x) + _root.randRange(-20, 40), (y + clip.eyeClip._y) + _root.randRange(-10, 10), _root.randRange(40, 80), _root.randRange(50, 80), "Yellow"]);
_root.createExploA([(x + clip.eyeClip._x) + _root.randRange(-20, 40), (y + clip.eyeClip._y) + _root.randRange(-10, 10), _root.randRange(40, 70), _root.randRange(50, 80), "Red"]);
_root.createExploA([(x + clip.eyeClip._x) + _root.randRange(0, 40), (y + clip.eyeClip._y) + _root.randRange(-10, 10), _root.randRange(50, 100), _root.randRange(90, 100), "Red"]);
_root.createExploA([(x + clip.eyeClip._x) + _root.randRange(0, 40), (y + clip.eyeClip._y) + _root.randRange(-10, 10), _root.randRange(50, 80), _root.randRange(90, 100), "Yellow"]);
clip.eyeClip._visible = false;
clip.gotoAndStop("F");
clip.skull._visible = false;
_root.audio.playLevel2("deathEyeX", _root.randRange(15, 25));
}
if (c == 360) {
_root.audio.playLevel2("deathHeadX", 30);
_root.createExploD([x + _root.randRange(-80, 80), (y + (clip._height / 3)) + _root.randRange(-80, 80), _root.randRange(50, 150), _root.randRange(60, 100)]);
_root.createExploD([x + _root.randRange(-80, 80), (y + (clip._height / 3)) + _root.randRange(-80, 80), _root.randRange(50, 150), _root.randRange(60, 100)]);
_root.createExploD([x + _root.randRange(-80, 80), (y + (clip._height / 3)) + _root.randRange(-80, 80), _root.randRange(50, 150), _root.randRange(60, 100)]);
_root.createExploD([x + _root.randRange(-80, 80), (y + (clip._height / 3)) + _root.randRange(-80, 80), _root.randRange(50, 150), _root.randRange(60, 100)]);
_root.createExploD([x + _root.randRange(-80, 80), (y + (clip._height / 3)) + _root.randRange(-80, 80), _root.randRange(50, 150), _root.randRange(60, 100)]);
_root.createExploD([x + _root.randRange(-80, 80), (y + (clip._height / 3)) + _root.randRange(-80, 80), _root.randRange(50, 150), _root.randRange(60, 100)]);
_root.createExploD([x + _root.randRange(-80, 80), (y + (clip._height / 3)) + _root.randRange(-80, 80), _root.randRange(50, 150), _root.randRange(60, 100)]);
_root.createExploD([x + 18, y + 18, _root.randRange(180, 250), _root.randRange(90, 100)]);
var _local3 = 0;
var _local5 = _root.randRange(6, 10);
while (_local3 < _local5) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "bugA", "red", true, true]);
_local3++;
}
_local3 = 0;
_local5 = _root.randRange(6, 10);
while (_local3 < _local5) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "batB", "green", true, true]);
_local3++;
}
_local3 = 0;
_local5 = _root.randRange(6, 10);
while (_local3 < _local5) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "droidA", "blue", true, true]);
_local3++;
}
_root.audio.playLevel4("deathHeadX", _root.randRange(15, 25));
clip.skull._visible = true;
clip.skull.gotoAndPlay("end");
clip.head._visible = false;
clip.teeth._visible = false;
clip.cover._visible = false;
}
if (c > 360) {
_root.bgDecoClip._alpha--;
clip.skull._alpha = clip.skull._alpha - 1;
clip._y = clip._y - 0.5;
}
if ((c > 360) && (c < 420)) {
_root[_root.char].xA = _root.randRange2(-5, 5) * ((420 - c) / 60);
_root[_root.char2].xA = _root.randRange2(-5, 5) * ((420 - c) / 60);
_root[_root.char].yA = _root.randRange2(-5, 5) * ((420 - c) / 60);
_root[_root.char2].yA = _root.randRange2(-5, 5) * ((420 - c) / 60);
}
if (c == 450) {
_root.bgDecoClip.removeMovieClip();
_root.endSeq();
}
if (c == 560) {
_root.removeChar("deathHead");
}
}
function createEnemy1(dir) {
_root.charID++;
_root["droidD" + _root.charID] = new classes.enemy.DroidD(x + 6, y + 6, [dir, 100, "break"], _root.charID);
_root.addChar("droidD" + _root.charID);
}
function createEnemy2(dir) {
_root.charID++;
_root["batD" + _root.charID] = new classes.enemy.BatD(x + 6, y + 6, [dir, 100, "break"], _root.charID);
_root.addChar("batD" + _root.charID);
}
function createEnemy3(dir) {
_root.charID++;
_root["headD" + _root.charID] = new classes.enemy.HeadD(x + 12, y + 12, [dir, 100, "break"], _root.charID);
_root.addChar("headD" + _root.charID);
}
function createEnemy4(dir) {
_root.charID++;
_root["bugD" + _root.charID] = new classes.enemy.BugD(x + 6, y + 6, [dir, 100, "break"], _root.charID);
_root.addChar("bugD" + _root.charID);
}
function changePhase(pphase) {
phase = pphase;
if (phase == 5) {
fury();
}
}
function fury2() {
_root.audio.playLevel2("deathFury" + (random(2) + 2), _root.randRange(30, 35));
f2 = "furious2";
c = 0;
ep = _root.randRange(20, 60);
speed = speedOrig * 4;
colorTrans = new flash.geom.ColorTransform(1, 0, 0, 1, 255, 0, 0, 0);
transL.colorTransform = colorTrans;
transR.colorTransform = colorTrans;
_root.audio.playLevel2("deathFury2", _root.randRange(30, 35));
if (random(2) == 0) {
dir = _root.getDir(x, y);
this[axis + "MovT"] = 0;
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
}
}
function furious2() {
colorTrans = new flash.geom.ColorTransform(1, _root.randRange2(0, 0.2), 0, 1, _root.randRange(150, 255), _root.randRange(0, 30), 0, 0);
transL.colorTransform = colorTrans;
transR.colorTransform = colorTrans;
if (random(25) == 0) {
_root.enemyShotID++;
_root["deathFizzle" + _root.enemyShotID] = new classes.shots.DeathFizzle(x, y, _root.enemyShotID);
_root.addEnemyShot("deathFizzle" + _root.enemyShotID);
_root.audio.playLevel3("deathFizzle" + (random(3) + 1), _root.randRange(10, 18));
}
clip.eyeClip.eyeL.gotoAndStop(13 + eyes.lO);
clip.eyeClip.eyeR.gotoAndStop(13 + eyes.rO);
if (random(5) == 0) {
dir = _root.getDir(x, y);
this[axis + "MovT"] = 0;
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
}
cv = 0.75 + (_root.getDist(x, y) / 750);
c++;
if (c >= ep) {
f2 = "wander";
cv = 0.3;
speed = speedOrig;
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0);
transL.colorTransform = colorTrans;
transR.colorTransform = colorTrans;
}
}
function fury() {
f2 = "furious";
c = 0;
ep = _root.randRange(450, 750);
speed = speedOrig * 4;
colorTrans = new flash.geom.ColorTransform(1, 0, 0, 1, 255, 0, 0, 0);
transL.colorTransform = colorTrans;
transR.colorTransform = colorTrans;
_root.audio.playLevel2("deathFury", _root.randRange(39, 45));
_root.playBGSound(["deathTheme", 50, 3, 0.05]);
}
function furious() {
colorTrans = new flash.geom.ColorTransform(1, _root.randRange2(0, 0.2), 0, 1, _root.randRange(150, 255), _root.randRange(0, 30), 0, 0);
transL.colorTransform = colorTrans;
transR.colorTransform = colorTrans;
if (random(25) == 0) {
_root.enemyShotID++;
_root["deathFizzle" + _root.enemyShotID] = new classes.shots.DeathFizzle(x, y, _root.enemyShotID);
_root.addEnemyShot("deathFizzle" + _root.enemyShotID);
_root.audio.playLevel3("deathFizzle" + (random(3) + 1), _root.randRange(10, 18));
}
clip.eyeClip.eyeL.gotoAndStop(13 + eyes.lO);
clip.eyeClip.eyeR.gotoAndStop(13 + eyes.rO);
if (random(6) == 0) {
dir = _root.getDir(x, y);
this[axis + "MovT"] = 0;
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
}
cv = 0.75 + (_root.getDist(x, y) / 750);
c++;
if (c >= ep) {
permitHit = true;
_root.level = 5;
f2 = "wander";
phase = 6;
cv = 0.3;
speed = speedOrig;
speed = speed + 1;
speedOrig = speed;
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0);
transL.colorTransform = colorTrans;
transR.colorTransform = colorTrans;
}
if (_root.deathDarkClip.end) {
_root.deathDarkClip.removeMovieClip();
clip.cover._alpha = 100;
dark = false;
}
}
function main() {
this[f2]();
if ((oldDir != dir) && (f2 != "intro")) {
clip.gotoAndStop(dir);
}
oldDir = dir;
if (phase == 6) {
var _local12 = _root.getAngleRad(x, y);
_root[_root.char].xA = Math.cos(_local12) * ((-1 * speed) / 8);
_root[_root.char].yA = Math.sin(_local12) * ((-1 * speed) / 8);
}
if (f2 != "dying") {
if ((f2 == "wander") || ((f2 == "waiting") && (phase != 6))) {
var _local11 = _root.getDist(x, y);
var _local8 = 0;
if (_local11 >= 400) {
_local8 = 1;
} else if (_local11 <= 100) {
_local8 = 13;
} else {
_local8 = Math.ceil((400 - _local11) / 23);
if (random(4) == 0) {
_local8 = _local8 + _root.randRange(-1, 1);
}
}
if ((_local8 + 1) < oldF) {
_local8 = oldF - 1;
} else if ((oldF + 1) < _local8) {
_local8 = oldF + 1;
}
clip.eyeClip.eyeL.gotoAndStop(_local8 + eyes.lO);
clip.eyeClip.eyeR.gotoAndStop(_local8 + eyes.rO);
}
if (phase == 6) {
clip.eyeClip.eyeL.gotoAndStop(13 + eyes.lO);
clip.eyeClip.eyeR.gotoAndStop(13 + eyes.rO);
}
oldF = clip.eyeClip.eyeL._currentframe - eyes.lO;
var _local5 = Math.round(((_root[_root.char].x - x) + 100) / 20) + 1;
if (_local5 < 1) {
_local5 = 1;
}
if (_local5 > 11) {
_local5 = 11;
}
eyes.lO = ((_local5 <= 4) ? 0 : 14);
eyes.rO = ((_local5 >= 8) ? 29 : 14);
if (_local5 <= 5) {
dir = "L";
} else if (_local5 >= 7) {
dir = "R";
} else {
dir = "F";
}
if (((f2 == "astroAttacking") && (c > 50)) && (c < 90)) {
if (eyes.lO == 0) {
clip.eyeClip.eyeL.gotoAndStop(c);
} else {
clip.eyeClip.eyeL.gotoAndStop(c + 40);
}
if (eyes.rO == 29) {
clip.eyeClip.eyeR.gotoAndStop(c + 80);
} else {
clip.eyeClip.eyeR.gotoAndStop(c + 40);
}
}
clip.eyeClip.gotoAndStop(_local5);
}
if (nudging) {
xA = xA * 0.5;
yA = yA * 0.5;
nc++;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
}
}
var _local4 = 0;
var _local9 = _root.broShots.length;
while (_local4 < _local9) {
var _local7 = _root.broShots[_local4] + "Clip";
if (clip.head.hitTest(_root[_local7]) && (f2 != "intro")) {
var _local3 = _root.broShots[_local4];
var _local6 = life;
if (f2 != "dying") {
if (permitHit) {
life = life - _root[_local3].power;
if (life < 1) {
f2 = "death";
} else {
nudge(_root[_local3].xMov, _root[_local3].yMov, 10);
_root.audio.playLevel4("deathHit" + (random(3) + 1), _root.randRange(14, 22));
if (((((f2 != "furious") && (f2 != "walling")) && (f2 != "furious2")) && (f2 != "deathBallAttacking")) && (f2 != "creatingEnemies")) {
if (random(10) == 0) {
fury2();
} else {
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? speed : (-1 * speed));
getDirString();
}
}
speed = (speedOrig = 20 - Math.round(life / (lifeOrig / 10)));
cv = 0.25 + ((lifeOrig - life) / 10000);
var _local5 = Math.round(100 * ((lifeOrig - life) / lifeOrig));
clip.eyeClip.eyeL.pulse._alpha = _local5;
clip.eyeClip.eyeR.pulse._alpha = _local5;
clip.skull.gotoAndPlay("f" + (random(3) + 1));
}
} else {
_root.audio.playLevel4("deathHitNull" + (random(3) + 1), _root.randRange(32, 38));
if (_root.chars.length < 20) {
this["createEnemy" + phase](_root[_local3].dir);
}
}
} else {
_root.audio.playLevel4("deathHit" + (random(3) + 1), _root.randRange(14, 22));
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local6);
break;
}
_local4++;
}
if ((clip.head.hitTest(_root[_root.char + "Clip"]) && (f2 != "intro")) && (f2 != "dying")) {
_root[_root.char].hit(xMov, yMov, 100, power);
}
if ((f2 != "walling") && (f2 != "dying")) {
var _local10 = false;
if (x > 950) {
_local10 = true;
dir = "L";
} else if (x < 50) {
_local10 = true;
dir = "R";
} else if (y < 50) {
_local10 = true;
dir = "D";
} else if (y > 550) {
_local10 = true;
dir = "U";
}
if (_local10) {
xMovT = 0;
yMovT = 0;
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
}
} else {
if (y < -50) {
y = 620;
}
if (y > 650) {
y = -40;
}
}
if (xMovT < xMov) {
xMov = xMov - cv;
} else if (xMovT > xMov) {
xMov = xMov + cv;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - cv;
} else if (yMovT > yMov) {
yMov = yMov + cv;
} else {
yMov = yMovT;
}
x = x + (xMov + xA);
y = y + ((yMov + yA) + (1 * Math.sin((hc = hc + 0.05))));
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 6;
var speed = 6;
var xDestMet = false;
var yDestMet = false;
var c = 0;
var life = 3500;
var lifeOrig = 3500;
var nc = 0;
var xA = 0;
var yA = 0;
var nudging = false;
var hc = 0;
var power = 30;
var permitHit = false;
var phase = 1;
var cv = 0.25;
var dark = false;
var centered = false;
var cc = 0;
var Name = "deathHead";
}
Symbol 4721 MovieClip [__Packages.classes.fx.PowerUpDrain] Frame 0
class classes.fx.PowerUpDrain
{
var x, y, clip, xMov, yMov;
function PowerUpDrain (px, py, pid) {
x = px;
y = py;
_root.d++;
clip = _root.attachMovie("powerUpDrain", "powerUpDrainClip", _root.d + 499990);
clip._x = x;
clip._y = y;
xMov = _root.randRange2(-2, 2);
yMov = _root.randRange2(-1, -3);
}
function main() {
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
_root.removeFX("powerUpDrain");
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var Name = "powerUpDrain";
}
Symbol 4722 MovieClip [__Packages.classes.shots.BugASwitchBlast] Frame 0
class classes.shots.BugASwitchBlast
{
var x, y, id, dir, clip, axis;
function BugASwitchBlast (px, py, pDir, pid, pblack) {
x = px;
y = py;
id = pid;
dir = pDir;
black = pblack;
_root.d++;
clip = _root.attachMovie("bugASwitchBlast", ("bugASwitchBlast" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip.id = id;
if (dir == "U") {
axis = "y";
yMov = -15;
xMov = 0;
y = y + 15;
} else if (dir == "D") {
axis = "y";
yMov = 15;
xMov = 0;
y = y - 15;
} else if (dir == "R") {
axis = "x";
yMov = 0;
xMov = 15;
x = x - 15;
} else {
axis = "x";
yMov = 0;
xMov = -15;
x = x + 15;
}
clip.gotoAndStop(dir);
if (black) {
var _local3 = new flash.geom.Transform(clip);
var _local4 = new flash.geom.ColorTransform(0, 0, 0, 1, -255, -255, -255, 0);
_local3.colorTransform = _local4;
}
xMov = xMov * _root.randRange2(0.9, 1.1);
yMov = yMov * _root.randRange2(0.9, 1.1);
}
function hit() {
yank = true;
}
function main() {
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
yank = true;
}
if ((((x > 1050) || (x < -50)) || (y > 650)) || (y < -50)) {
yank = true;
}
x = x + xMov;
y = y + yMov;
if (yank) {
_root.removeEnemyShot("bugASwitchBlast" + id);
yank = false;
}
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var Name = "bugASwitchBlast";
var power = 30;
var yank = false;
var black = false;
}
Symbol 4723 MovieClip [__Packages.classes.fx.DeathWallFX] Frame 0
class classes.fx.DeathWallFX
{
var x, y, id, dir, frame, cMax, clip, a;
function DeathWallFX (px, py, pdir, pframe, pid) {
x = px;
y = py;
id = pid;
dir = pdir;
frame = pframe;
cMax = _root.randRange(10, 30);
_root.d++;
clip = _root.attachMovie("deathWallFX", ("deathWallFX" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
a = _root.randRange(30, 60);
clip._alpha = a;
clip.gotoAndStop(frame);
yMov = ((dir == "U") ? (_root.randRange(-20, -40)) : (_root.randRange(20, 40)));
}
function main() {
c++;
if (c >= cMax) {
_root.removeFX("deathWallFX" + id);
}
clip._alpha = a - (c * (a / cMax));
y = y + yMov;
clip._x = x;
clip._y = y;
}
var yMov = 0;
var c = 0;
var Name = "deathWallFX";
}
Symbol 4724 MovieClip [__Packages.classes.shots.DeathBall] Frame 0
class classes.shots.DeathBall
{
var x, y, id, clip, cv, trans, colorTrans;
function DeathBall (px, py, pxMov, pyMov, pid) {
x = px;
y = py;
id = pid;
xMov = pxMov;
yMov = pyMov;
_root.d++;
clip = _root.attachMovie("deathBall", ("deathBall" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
cv = 0.5;
xMov = xMov * _root.dif.speed;
yMov = yMov * _root.dif.speed;
var _local5 = _root.randRange(-10, 10);
var _local4 = _root.randRange(-75, 75);
var _local3 = _root.randRange(-20, 20);
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, _local5, _local4, _local3, 0);
trans.colorTransform = colorTrans;
}
function main() {
c++;
clip.fizzle1._x = _root.randRange(1, 5) * 3;
clip.fizzle1._y = _root.randRange(1, 5) * 3;
clip.fizzle1._alpha = _root.randRange(5, 40);
clip.fizzle2._x = _root.randRange(1, 5) * 3;
clip.fizzle2._y = _root.randRange(1, 5) * 3;
clip.fizzle2._alpha = _root.randRange(5, 40);
clip.fizzle3._x = _root.randRange(1, 5) * 3;
clip.fizzle3._y = _root.randRange(1, 5) * 3;
clip.fizzle3._alpha = _root.randRange(5, 40);
clip.fizzle4._x = _root.randRange(1, 5) * 3;
clip.fizzle4._y = _root.randRange(1, 5) * 3;
clip.fizzle4._alpha = _root.randRange(5, 40);
clip.fizzle5._x = _root.randRange(1, 5) * 3;
clip.fizzle5._y = _root.randRange(1, 5) * 3;
clip.fizzle5._alpha = _root.randRange(5, 40);
if (c < 30) {
xMovT = xMovT * 0.9;
yMovT = yMovT * 0.9;
} else if (c == 30) {
var _local3 = _root.getAngleRad(x, y);
xMovT = Math.cos(_local3) * _root.randRange2(4, 7);
yMovT = Math.sin(_local3) * _root.randRange2(4, 7);
} else {
xMovT = xMovT * 1.1;
yMovT = yMovT * 1.1;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
}
if ((((x > 1050) || (x < -50)) || (y > 650)) || (y < -50)) {
_root.removeEnemyShot("deathBall" + id);
}
if (xMovT < xMov) {
xMov = xMov - cv;
} else if (xMovT > xMov) {
xMov = xMov + cv;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - cv;
} else if (yMovT > yMov) {
yMov = yMov + cv;
} else {
yMov = yMovT;
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xMovT = 0;
var yMovT = 0;
var c = 0;
var power = 30;
var Name = "deathBall";
}
Symbol 4725 MovieClip [__Packages.classes.fx.AsteroidD] Frame 0
class classes.fx.AsteroidD
{
var size, id, x, y, dir, power, clip, feeler, xMov, xMovT, yMov, yMovT;
function AsteroidD (px, py, psize, pdir, pid) {
size = psize;
id = pid;
x = px;
y = py;
dir = pdir;
power = size * 6;
_root.d++;
clip = _root.attachMovie("asteroid", ("asteroidD" + id) + "Clip", _root.d + 75000);
clip.body.gotoAndStop(_root.randRange(sizeArray[size - 1][0], sizeArray[size - 1][1]));
_root.d++;
feeler = clip.attachMovie("asteroidDFeeler", "asteroidDFeeler" + id, _root.d + 75000);
feeler._x = -100;
feeler._y = -100;
feeler._width = 50 + clip.body._width;
feeler._height = 50 + clip.body._height;
if (dir == "U") {
xMov = (xMovT = _root.randRange2(size - 9, -1 * (size - 9)));
yMov = (yMovT = _root.randRange2(size - 9, 0));
} else if (dir == "D") {
xMov = (xMovT = _root.randRange2(size - 9, -1 * (size - 9)));
yMov = (yMovT = _root.randRange2(0, -1 * (size - 9)));
} else if (dir == "L") {
xMov = (xMovT = _root.randRange2(size - 9, 0));
yMov = (yMovT = _root.randRange2(size - 9, -1 * (size - 9)));
} else {
xMov = (xMovT = _root.randRange2(0, -1 * (size - 9)));
yMov = (yMovT = _root.randRange2(size - 9, -1 * (size - 9)));
}
xMovT = xMovT * _root.dif.speed;
yMovT = yMovT * _root.dif.speed;
clip._x = x;
clip._y = y;
var _local3 = new flash.geom.Transform(clip);
var _local4 = new flash.geom.ColorTransform(0, 0, 0, 1, -255, -255, -255, 0);
_local3.colorTransform = _local4;
clip._rotation = random(4) * 90;
}
function bombed() {
_root.createExploD([x, y, (size * 20) + 40, _root.randRange(75, 100)]);
yank = true;
}
function explode() {
_root.createExploD([x, y, (size * 20) + 40, _root.randRange(75, 100)]);
var _local6 = (((size == 2) || (size == 4)) ? (size - 1) : (size));
_root.audio.playLevel4((("astX" + _local6) + "_") + (random(2) + 1), _root.randRange(25, 45));
size = size - 3;
if (size >= 1) {
var _local5 = ["L", "R", "U", "D"];
var _local4 = _root.randRange(2, 3 + size);
var _local3 = 0;
while (_local3 < _local4) {
_root.createAsteroidD([x, y, size, _local5[random(4)]]);
_local3++;
}
}
yank = true;
}
function stopMov() {
xMovT = 0;
yMovT = 0;
}
function attack() {
var _local3 = _root.getAngleRad2(x, y, _root[_root.char].x + 20, _root[_root.char].y + 20);
xMovT = Math.cos(_local3) * _root.randRange2(7, 10);
yMovT = Math.sin(_local3) * _root.randRange2(7, 10);
xMovT = xMovT * _root.dif.speed;
yMovT = yMovT * _root.dif.speed;
}
function main() {
c++;
if (clip.body.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
_root.createExploD([x, y, (size * 20) + 40, _root.randRange(75, 100)]);
var _local7 = (((size == 2) || (size == 4)) ? (size - 1) : (size));
_root.audio.playLevel4((("astX" + _local7) + "_") + (random(2) + 1), _root.randRange(25, 45));
if (size > 2) {
size = size - 1;
var _local4 = _root.randRange(1, 2);
var _local3 = 0;
while (_local3 < _local4) {
_root.createAsteroidD([x, y, size, tempDir]);
_local3++;
}
}
yank = true;
}
var _local3 = 0;
var _local8 = _root.broShots.length;
while (_local3 < _local8) {
var _local5 = _root.broShots[_local3] + "Clip";
if (clip.body.hitTest(_root[_local5])) {
_root.createExploD([x, y, (size * 20) + 40, _root.randRange(75, 100)]);
var _local7 = (((size == 2) || (size == 4)) ? (size - 1) : (size));
_root.audio.playLevel4((("astX" + _local7) + "_") + (random(2) + 1), _root.randRange(25, 45));
_root[_root.char].fc = (_root[_root.char].fireFreq - _root.rapidVar) - 1;
var _local6 = _root.broShots[_local3];
_root[_local6].exploX = x + (clip.body._width / 2);
_root[_local6].exploY = y + (clip.body._height / 2);
var tempDir = _root[_local6].dir;
_root[_local6].hit();
if (size > 2) {
size = size - 1;
var _local4 = _root.randRange(1, 2);
_local3 = 0;
while (_local3 < _local4) {
_root.createAsteroidD([x, y, size, tempDir]);
_local3++;
}
}
yank = true;
break;
}
_local3++;
}
if (!_root.astField) {
_local3 = 0;
_local8 = _root.enemyShots.length;
while (_local3 < _local8) {
var _local5 = _root.enemyShots[_local3] + "Clip";
if (clip.body.hitTest(_root[_local5])) {
_root.createExploD([x, y, (size * 20) + 40, _root.randRange(75, 100)]);
var _local7 = (((size == 2) || (size == 4)) ? (size - 1) : (size));
_root.audio.playLevel4((("astX" + _local7) + "_") + (random(2) + 1), _root.randRange(25, 45));
var _local6 = _root.enemyShots[_local3];
var tempDir = _root[_local6].dir;
_root[_local6].hit(size);
if (size > 2) {
size = size - 1;
_root.createAsteroidD([x, y, size, tempDir]);
}
yank = true;
break;
}
_local3++;
}
if (random(3) == 0) {
_local3 = 0;
_local8 = _root.chars.length;
while (_local3 < _local8) {
var _local5 = _root.chars[_local3] + "Clip";
if (!feelerBreak) {
if (feeler.hitTest(_root[_local5])) {
var _local6 = _root.chars[_local3];
_root[_local6].evade();
feelerCount = 0;
feelerBreak = true;
}
}
if (clip.body.hitTest(_root[_local5])) {
_root.createExploD([x, y, (size * 20) + 40, _root.randRange(75, 100)]);
var _local7 = (((size == 2) || (size == 4)) ? (size - 1) : (size));
_root.audio.playLevel4((("astX" + _local7) + "_") + (random(2) + 1), _root.randRange(25, 45));
var _local6 = _root.chars[_local3];
var tempDir = _root[_local6].dir;
_root[_local6].bombed(power);
if (size > 2) {
size = size - 1;
_root.createAsteroidD([x, y, size, tempDir]);
}
yank = true;
break;
}
_local3++;
}
if (feelerBreak) {
feelerCount++;
if (feelerCount == 5) {
feelerBreak = false;
}
}
}
}
if (c > 100) {
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
yank = true;
}
}
if (yank) {
_root.removeFX("asteroidD" + id);
}
if (xMovT < xMov) {
xMov = xMov - 0.5;
} else if (xMovT > xMov) {
xMov = xMov + 0.5;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 0.5;
} else if (yMovT > yMov) {
yMov = yMov + 0.5;
} else {
yMov = yMovT;
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var c = 0;
var sizeArray = [[1, 3], [4, 9], [10, 17], [18, 23], [24, 27]];
var yank = false;
var feelerCount = 0;
var feelerBreak = false;
}
Symbol 4726 MovieClip [__Packages.classes.shots.DeathLaser] Frame 0
class classes.shots.DeathLaser
{
var x, y, id, dir, eight, clip, axis, type, ep;
function DeathLaser (px, py, pDir, peight, pid) {
x = px;
y = py;
id = pid;
dir = pDir;
eight = peight;
_root.d++;
clip = _root.attachMovie("deathLaser", ("deathLaser" + id) + "Clip", _root.d + 1000);
clip._x = x;
clip._y = y;
clip.id = id;
if (dir == "U") {
axis = "y";
yMov = -15;
xMov = 0;
y = y + 15;
} else if (dir == "D") {
axis = "y";
yMov = 15;
xMov = 0;
y = y - 15;
} else if (dir == "R") {
axis = "x";
yMov = 0;
xMov = 15;
x = x - 15;
} else {
axis = "x";
yMov = 0;
xMov = -15;
x = x + 15;
}
if (eight) {
type = _root.randRange(1, 3);
} else {
type = _root.randRange(1, 2);
}
if ((type == 2) || (type == 3)) {
ep = _root.randRange(10, 40);
ep = ep * (1 / _root.dif.speed);
} else {
ep = 100;
}
if (type == 3) {
clip.eight = true;
}
xMov = xMov * _root.dif.speed;
yMov = yMov * _root.dif.speed;
clip.gotoAndStop(dir);
xMov = xMov * _root.randRange2(0.95, 1.05);
yMov = yMov * _root.randRange2(0.95, 1.05);
}
function hit() {
yank = true;
}
function main() {
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
yank = true;
}
if ((((x > 1050) || (x < -50)) || (y > 650)) || (y < -50)) {
yank = true;
}
x = x + xMov;
y = y + yMov;
c++;
if (c >= ep) {
yank = true;
if (type == 2) {
_root.audio.playLevel3("deathLaserSplit" + (random(3) + 1), _root.randRange(16, 21));
if (axis == "x") {
_root.enemyShotID++;
_root["deathLaser" + _root.enemyShotID] = new classes.shots.DeathLaser(x, y, "U", false, _root.enemyShotID);
_root.addEnemyShot("deathLaser" + _root.enemyShotID);
_root.enemyShotID++;
_root["deathLaser" + _root.enemyShotID] = new classes.shots.DeathLaser(x, y, "D", false, _root.enemyShotID);
_root.addEnemyShot("deathLaser" + _root.enemyShotID);
_root.enemyShotID++;
_root["deathNode" + _root.enemyShotID] = new classes.shots.DeathNode(x, y, _root.enemyShotID);
_root.addEnemyShot("deathNode" + _root.enemyShotID);
} else {
_root.enemyShotID++;
_root["deathLaser" + _root.enemyShotID] = new classes.shots.DeathLaser(x, y, "R", false, _root.enemyShotID);
_root.addEnemyShot("deathLaser" + _root.enemyShotID);
_root.enemyShotID++;
_root["deathLaser" + _root.enemyShotID] = new classes.shots.DeathLaser(x, y, "L", false, _root.enemyShotID);
_root.addEnemyShot("deathLaser" + _root.enemyShotID);
_root.enemyShotID++;
_root["deathNode" + _root.enemyShotID] = new classes.shots.DeathNode(x, y, _root.enemyShotID);
_root.addEnemyShot("deathNode" + _root.enemyShotID);
}
} else {
_root.enemyShotID++;
_root["deathNode" + _root.enemyShotID] = new classes.shots.DeathNode(x, y, _root.enemyShotID);
_root.addEnemyShot("deathNode" + _root.enemyShotID);
var _local4 = ((random(2) == 0) ? true : false);
if (_local4) {
_root.audio.playLevel3("deathLaser8WayRev", _root.randRange(13, 17));
} else {
_root.audio.playLevel3("deathLaser8Way", _root.randRange(13, 17));
}
var _local3 = 0;
while (_local3 < 8) {
_root.enemyShotID++;
_root["deathBlast" + _root.enemyShotID] = new classes.shots.DeathBlast(x, y, blastDirArray[_local3], _local4, _root.enemyShotID);
_root.addEnemyShot("deathBlast" + _root.enemyShotID);
_local3++;
}
}
}
if (yank) {
_root.removeEnemyShot("deathLaser" + id);
yank = false;
}
if (random(5) == 0) {
_root.fxID++;
_root["deathLaserTrail" + _root.fxID] = new classes.fx.DeathLaserTrail(x, y, dir, _root.fxID);
_root.addFX("deathLaserTrail" + _root.fxID);
}
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var Name = "deathLaser";
var power = 40;
var yank = false;
var c = 0;
var blastDirArray = ["L", "R", "U", "D", "LU", "RU", "RD", "LD"];
}
Symbol 4727 MovieClip [__Packages.classes.shots.DeathNode] Frame 0
class classes.shots.DeathNode
{
var x, y, id, clip;
function DeathNode (px, py, pid) {
x = px;
y = py;
id = pid;
_root.d++;
clip = _root.attachMovie("deathNode", ("deathNode" + id) + "Clip", _root.d + 1000);
clip._x = x;
clip._y = y;
clip.id = id;
}
function main() {
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(random(4), random(4), 100, power);
}
if (clip.end) {
_root.removeEnemyShot("deathNode" + id);
}
}
var power = 20;
}
Symbol 4728 MovieClip [__Packages.classes.shots.DeathBlast] Frame 0
class classes.shots.DeathBlast
{
var x, y, id, rev, dir, clip, xMov, yMov, xInc, yInc;
function DeathBlast (px, py, pdir, prev, pid) {
x = px;
y = py;
id = pid;
rev = prev;
dir = pdir;
_root.d++;
clip = _root.attachMovie("deathBlast", ("deathBlast" + id) + "Clip", _root.d + 1000);
clip._x = x;
clip._y = y;
clip.id = id;
if (dir == "R") {
xMov = 13;
yMov = 0;
xInc = -0.5;
yInc = 0;
} else if (dir == "L") {
xMov = -13;
yMov = 0;
xInc = 0.5;
yInc = 0;
} else if (dir == "U") {
xMov = 0;
yMov = -13;
xInc = 0;
yInc = 0.5;
} else if (dir == "D") {
xMov = 0;
yMov = 13;
xInc = 0;
yInc = -0.5;
} else if (dir == "LU") {
xMov = -10;
yMov = -10;
xInc = 0.4;
yInc = 0.4;
} else if (dir == "RU") {
xMov = 10;
yMov = -10;
xInc = -0.4;
yInc = 0.4;
} else if (dir == "RD") {
xMov = 10;
yMov = 10;
xInc = -0.4;
yInc = -0.4;
} else {
xMov = -10;
yMov = 10;
xInc = 0.4;
yInc = -0.4;
}
xMov = xMov * _root.dif.speed;
yMov = yMov * _root.dif.speed;
}
function hit() {
yank = true;
}
function main() {
if (!rev) {
xMov = xMov * 1.01;
yMov = yMov * 1.01;
} else {
xMov = xMov + xInc;
yMov = yMov + yInc;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
yank = true;
}
if ((((x > 1050) || (x < -50)) || (y > 650)) || (y < -50)) {
yank = true;
}
if (yank) {
_root.removeEnemyShot("deathBlast" + id);
yank = false;
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var Name = "deathBlast";
var power = 30;
var yank = false;
}
Symbol 4729 MovieClip [__Packages.classes.fx.DeathLaserTrail] Frame 0
class classes.fx.DeathLaserTrail
{
var x, y, id, dir, cMax, clip, a, type, axis, rv;
function DeathLaserTrail (px, py, pdir, pid) {
x = px;
y = py;
id = pid;
dir = pdir;
cMax = _root.randRange(15, 45);
_root.d++;
clip = _root.attachMovie("deathLaserTrail", ("deathLaserTrail" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
a = _root.randRange(20, 80);
clip._alpha = a;
type = _root.randRange(1, 4);
if ((dir == "U") || (dir == "D")) {
axis = "y";
} else {
axis = "x";
}
clip.gotoAndStop(dir);
var _local3 = _root.randRange(-10, 10);
if (_local3 == 0) {
_local3 == 1;
}
this[axis + "Mov"] = _local3;
rv = this[axis + "Mov"] * _root.randRange2(-0.1, -0.05);
}
function move1() {
}
function move2() {
this[axis + "Mov"] = this[axis + "Mov"] * 1.05;
}
function move3() {
this[axis + "Mov"] = this[axis + "Mov"] / 1.05;
}
function move4() {
this[axis + "Mov"] = this[axis + "Mov"] + rv;
}
function main() {
this["move" + type]();
c++;
if (c >= cMax) {
_root.removeFX("deathLaserTrail" + id);
}
clip._alpha = a - (c * (a / cMax));
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var c = 0;
var Name = "deathLaserTrail";
}
Symbol 4730 MovieClip [__Packages.classes.enemy.DroidD] Frame 0
class classes.enemy.DroidD
{
var x, y, moveScript, id, clip, f2, dir, axis, xDest, yDest, oldDir;
function DroidD (px, py, pmoveScript, pid) {
x = px;
y = py;
moveScript = pmoveScript.slice();
id = pid;
_root.d++;
clip = _root.attachMovie("droidA", ("droidD" + id) + "Clip", _root.d + 50000);
clip._x = x;
clip._y = y;
speed = speed * _root.dif.speed;
speedOrig = speed;
speedVar();
var _local3 = new flash.geom.Transform(clip);
var _local4 = new flash.geom.ColorTransform(0, 0, 0, 1, -255, -255, -255, 0);
_local3.colorTransform = _local4;
parseMoveScript();
_root.stats.created++;
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.9999, 1.0001);
}
}
function bombed(num) {
f2 = "death";
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
this[axis + "MovT"] = 0;
f2 = "wander";
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function attacking() {
}
function death() {
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 100;
_root.powerUpB(x, y, 80, "doubleLaserA", 2);
_root.createExploD([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(80, 130), _root.randRange(75, 100)]);
var _local3 = 0;
var _local4 = random(3);
while (_local3 < _local4) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "droidA", "", false, true]);
_local3++;
}
_root.audio.playLevel4("droidX" + (random(3) + 1), _root.randRange(16, 35));
_root.removeChar("droidD" + id);
f2 = "";
}
function wander() {
if (random(100) > (96 + _root.dif.wander)) {
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
function death2() {
_root.removeChar("droidD" + id);
f2 = "";
}
function main() {
this[f2]();
if (oldDir != dir) {
clip.gotoAndStop("fly" + dir);
}
oldDir = dir;
var _local4 = 0;
var _local6 = _root.broShots.length;
while (_local4 < _local6) {
var _local5 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local5])) {
f2 = "death";
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
var _local3 = _root.broShots[_local4];
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(1);
break;
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
f2 = "death";
}
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - 1;
} else if (xMovT > xMov) {
xMov = xMov + 1;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 1;
} else if (yMovT > yMov) {
yMov = yMov + 1;
} else {
yMov = yMovT;
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 8;
var speed = 8;
var xDestMet = false;
var yDestMet = false;
var c = 0;
var feelerInfo = [[-400, 0, 400, 40], [0, 0, 400, 40], [0, -400, 40, 400], [0, 0, 40, 400]];
var dirArray = ["L", "R", "U", "D"];
var power = 20;
var Name = "droidD";
}
Symbol 4731 MovieClip [__Packages.classes.enemy.BatD] Frame 0
class classes.enemy.BatD
{
var x, y, moveScript, id, clip, colorR, trans, colorTrans, f2, dir, axis, xDest, yDest, oldDir;
function BatD (px, py, pmoveScript, pid) {
x = px;
y = py;
moveScript = pmoveScript.slice();
id = pid;
_root.d++;
clip = _root.attachMovie("batB", ("batD" + id) + "Clip", _root.d + 50000);
clip._x = x;
clip._y = y;
colorR = -255;
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(0, 0, 0, 1, colorR, colorR, colorR, 0);
trans.colorTransform = colorTrans;
speed = speed * _root.dif.speed;
speedOrig = speed;
life = life * _root.dif.life;
speedVar();
parseMoveScript();
_root.stats.created++;
}
function bombed(num) {
f2 = "death";
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.9999, 1.0001);
}
}
function twist() {
clip.body.gotoAndPlay("twist");
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
this[axis + "MovT"] = 0;
f2 = "wander";
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function evade() {
f2 = "wander";
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
}
function death() {
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 1000;
_root.powerUpB(x, y, 80, "tripleLaserA", 3);
_root.createExploD([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(80, 130), _root.randRange(75, 100)]);
var _local3 = 0;
var _local4 = random(3);
while (_local3 < _local4) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "batB", "", false, true]);
_local3++;
}
_root.audio.playLevel4("batX" + (random(2) + 1), _root.randRange(8, 15));
_root.removeChar("batD" + id);
}
function death2() {
_root.removeChar("batD" + id);
}
function wander() {
if (random(100) > (96 + _root.dif.wander)) {
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
function main() {
this[f2]();
if (oldDir != dir) {
clip.gotoAndStop("fly" + dir);
}
oldDir = dir;
if (nudging) {
xA = xA * 0.5;
yA = yA * 0.5;
nc++;
var _local8 = 255 - (nc * 17);
colorTrans.redOffset = _local8 / 2;
trans.colorTransform = colorTrans;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
colorTrans.redOffset = colorR;
trans.colorTransform = colorTrans;
}
}
var _local4 = 0;
var _local7 = _root.broShots.length;
while (_local4 < _local7) {
var _local6 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local6])) {
var _local3 = _root.broShots[_local4];
var _local5 = life;
life = life - _root[_local3].power;
if (life < 1) {
f2 = "death";
} else {
nudge(_root[_local3].xMov, _root[_local3].yMov, 10);
_root.audio.playLevel4("batHit" + (random(2) + 1), _root.randRange(10, 20));
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local5);
break;
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
f2 = "death";
}
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - 1;
} else if (xMovT > xMov) {
xMov = xMov + 1;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 1;
} else if (yMovT > yMov) {
yMov = yMov + 1;
} else {
yMov = yMovT;
}
x = x + (xMov + xA);
y = y + (yMov + yA);
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 8;
var speed = 8;
var xDestMet = false;
var yDestMet = false;
var c = 0;
var life = 2;
var nudging = false;
var nc = 0;
var xA = 0;
var yA = 0;
var power = 20;
var Name = "batD";
}
Symbol 4732 MovieClip [__Packages.classes.enemy.HeadD] Frame 0
class classes.enemy.HeadD
{
var x, y, moveScript, id, clip, colorR, trans, colorTrans, f2, dir, axis, xDest, yDest, ep, oldDir;
function HeadD (px, py, pmoveScript, pid) {
x = px;
y = py;
moveScript = pmoveScript.slice();
id = pid;
_root.d++;
clip = _root.attachMovie("headB", ("headD" + id) + "Clip", _root.d + 50000);
clip._x = x;
clip._y = y;
speed = speed * _root.dif.speed;
speedOrig = speed;
life = life * _root.dif.life;
speedVar();
colorR = -255;
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(0, 0, 0, 1, colorR, colorR, colorR, 0);
trans.colorTransform = colorTrans;
parseMoveScript();
_root.stats.created++;
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.9998, 1.0002);
}
}
function bombed(num) {
f2 = "death";
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
this[axis + "MovT"] = 0;
f2 = "wander";
if (random(10) > 2) {
dir = _root.getDir(x, y);
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
} else {
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function wander() {
if ((random(100) > 70) || ((((x > 950) || (x < 50)) || (y < 50)) || (y > 550))) {
if (random(20) > 18) {
this[axis + "MovT"] = 0;
f2 = "wait";
c = 0;
ep = _root.randRange(30, 120);
ep = ep * (1 / _root.dif.speed);
} else if (random(10) > 1) {
dir = _root.getDir(x, y);
this[axis + "MovT"] = 0;
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
} else {
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
}
function wait() {
c++;
if (c >= ep) {
f2 = "wander";
if (random(10) > 2) {
dir = _root.getDir(x, y);
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
} else {
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
if (random(100) > 95) {
var _local3 = ["L", "R", "F"];
dir = _local3[random(_local3.length)];
}
}
function attacking() {
}
function death() {
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 750;
_root.powerUpB(x, y, 80, "tripleTwistLaser", 4);
_root.createExploD([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(60, 80), _root.randRange(75, 100)]);
var _local3 = 0;
var _local4 = random(3);
while (_local3 < _local4) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "headB", "", false, true]);
_local3++;
}
_root.audio.playLevel4("headX" + (random(3) + 1), _root.randRange(15, 25));
_root.removeChar("headD" + id);
f2 = "";
}
function death2() {
_root.removeChar("headD" + id);
f2 = "";
}
function main() {
this[f2]();
if (oldDir != dir) {
if ((oldDir == undefined) || (dir == "F")) {
clip.body.eyes.gotoAndStop(dir);
} else if ((dir == "U") || (dir == "D")) {
clip.body.eyes.gotoAndStop(oldDir);
} else if (random(3) > 0) {
if (dir == "R") {
clip.body.eyes.gotoAndPlay("LtoR");
} else {
clip.body.eyes.gotoAndPlay("RtoL");
}
} else {
clip.body.eyes.gotoAndPlay("spin" + dir);
}
}
oldDir = dir;
if (nudging) {
xA = xA * 0.5;
yA = yA * 0.5;
nc++;
var _local8 = 255 - (nc * 17);
colorTrans.redOffset = _local8 / 2;
trans.colorTransform = colorTrans;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
colorTrans.redOffset = colorR;
trans.colorTransform = colorTrans;
}
}
var _local4 = 0;
var _local7 = _root.broShots.length;
while (_local4 < _local7) {
var _local6 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local6])) {
var _local3 = _root.broShots[_local4];
var _local5 = life;
life = life - _root[_local3].power;
if (life < 1) {
f2 = "death";
} else {
nudge(_root[_local3].xMov, _root[_local3].yMov, 10);
_root.audio.playLevel4("headHit" + (random(4) + 1), _root.randRange(18, 28));
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local5);
break;
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
f2 = "death";
}
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - 0.3;
} else if (xMovT > xMov) {
xMov = xMov + 0.3;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 0.3;
} else if (yMovT > yMov) {
yMov = yMov + 0.3;
} else {
yMov = yMovT;
}
if (random(100) > 98) {
clip.body.eyes.clip.gotoAndPlay("blink");
}
x = x + (xMov + xA);
y = y + ((yMov + yA) + (0.5 * Math.sin((hc = hc + 0.1))));
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 8;
var speed = 8;
var xDestMet = false;
var yDestMet = false;
var c = 0;
var life = 3;
var nc = 0;
var xA = 0;
var yA = 0;
var nudging = false;
var hc = 0;
var power = 15;
var Name = "headD";
}
Symbol 4733 MovieClip [__Packages.classes.enemy.BugD] Frame 0
class classes.enemy.BugD
{
var x, y, moveScript, id, clip, colorR, trans, colorTrans, f2, scc, axis, dir, switchDir, sfc, sfMax, xDest, yDest, oldDir, firing, fc;
function BugD (px, py, pmoveScript, pid) {
x = px;
y = py;
moveScript = pmoveScript.slice();
id = pid;
_root.d++;
clip = _root.attachMovie("bugA", ("bugD" + id) + "Clip", _root.d + 50000);
clip._x = x;
clip._y = y;
speed = speed * _root.dif.speed;
speedOrig = speed;
life = life * _root.dif.life;
colorR = -255;
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(0, 0, 0, 1, colorR, colorR, colorR, 0);
trans.colorTransform = colorTrans;
speedVar();
parseMoveScript();
_root.stats.created++;
}
function bombed(num) {
f2 = "death";
}
function switchScope() {
scc = 0;
getDirString();
f2 = "switchScoping";
c = 5;
speed = speed / 2;
this[axis + "MovT"] = this[axis + "MovT"] / 2;
clip.body.flame.gotoAndStop("still");
_root.audio.playLevel2("bugDSwitch", _root.randRange(8, 15));
}
function switchScoping() {
c++;
if (c == 10) {
scc++;
c = 0;
if ((dir == "U") || (dir == "D")) {
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("bugDSwitchFire");
_root.sightClip._x = x;
_root.sightClip._y = y;
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
switchFire("L");
} else {
_root.sightClip._rotation = 180;
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
switchFire("R");
}
}
removeMovieClip(_root.sightClip);
} else {
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("bugDSwitchFire");
_root.sightClip._x = x;
_root.sightClip._y = y;
_root.sightClip._rotation = 90;
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
switchFire("U");
} else {
_root.sightClip._rotation = -90;
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
switchFire("D");
}
}
removeMovieClip(_root.sightClip);
}
if (scc > _root.randRange(9, 12)) {
clip.body.gotoAndStop("main");
speed = speedOrig;
this[axis + "MovT"] = this[axis + "MovT"] * 2;
clip.body.flame.gotoAndPlay("start");
f2 = "wander";
}
}
}
function switchFire(tmpDir) {
clip.gotoAndStop("fly" + tmpDir);
switchDir = tmpDir;
c = 0;
sfc = 0;
f2 = "switchFiring";
sfMax = _root.randRange(1, 2);
}
function switchFireBlast() {
clip.body.gotoAndPlay("switchFire");
if (switchDir == "L") {
var _local3 = x - 24;
var _local4 = ((dir == "U") ? (y + 3) : (y + 21));
} else if (switchDir == "R") {
var _local3 = x + 9;
var _local4 = ((dir == "U") ? (y + 3) : (y + 21));
} else if (switchDir == "U") {
var _local3 = ((dir == "L") ? (x + 3) : (x + 21));
var _local4 = y - 36;
} else {
var _local3 = ((dir == "L") ? (x + 3) : (x + 21));
var _local4 = y + 15;
}
_root.enemyShotID++;
_root["bugASwitchBlast" + _root.enemyShotID] = new classes.shots.BugASwitchBlast(_local3, _local4, switchDir, _root.enemyShotID, true);
_root.addEnemyShot("bugASwitchBlast" + _root.enemyShotID);
_root.audio.playLevel3("bugASwitchBlast" + (random(2) + 1), _root.randRange(15, 25));
}
function switchFiring() {
c++;
if (c == 10) {
clip.body.gotoAndPlay("switch");
}
if (c == 17) {
switchFireBlast();
}
if (c == 24) {
switchFireBlast();
c = 18;
sfc++;
if (sfc == sfMax) {
clip.body.gotoAndPlay("switchRev");
c = 33;
}
}
if (c == 45) {
clip.gotoAndStop("fly" + dir);
clip.body.gotoAndStop("main");
speed = speedOrig;
this[axis + "MovT"] = this[axis + "MovT"] * 2;
clip.body.flame.gotoAndPlay("start");
}
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.99999, 1.00001);
}
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
if (random(2) == 1) {
f2 = "wander";
this[axis + "MovT"] = 0;
axis = ((axis == "y") ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else {
switchScope();
}
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function evade() {
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
f2 = "wander";
}
function attacking() {
xMovT = xMovT * 1.03;
yMovT = yMovT * 1.03;
}
function death() {
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 2500;
_root.powerUpB(x, y, 80, "rapidLaser", 5);
_root.createExploD([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(80, 130), _root.randRange(75, 100)]);
_root.audio.playLevel4("bugX" + (random(4) + 1), _root.randRange(7, 17));
var _local3 = 0;
var _local4 = random(3);
while (_local3 < _local4) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "bugA", "", false, true]);
_local3++;
}
_root.removeChar("bugD" + id);
f2 = "";
}
function wander() {
if (random(100) > (98 + _root.dif.wander)) {
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
if (random(100) > (98 + _root.dif.wander)) {
switchScope();
}
}
function death2() {
_root.removeChar("bugD" + id);
f2 = "";
}
function main() {
this[f2]();
if (oldDir != dir) {
clip.gotoAndStop("fly" + dir);
}
oldDir = dir;
if (random(300) >= (299 + _root.dif.wander)) {
_root.d++;
_root.attachMovie("feeler", "feelerClip", _root.d);
if (dir == "L") {
var _local9 = [-310, 0, 300, 50];
} else if (dir == "R") {
var _local9 = [50, 0, 300, 50];
} else if (dir == "U") {
var _local9 = [0, -310, 50, 300];
} else {
var _local9 = [0, 50, 300, 50];
}
_root.feelerClip._x = x + _local9[0];
_root.feelerClip._y = y + _local9[1];
_root.feelerClip._width = _local9[2];
_root.feelerClip._height = _local9[3];
var _local4 = 0;
var _local8 = _root.chars.length;
var _local7 = false;
while (_local4 < _local8) {
var _local6 = _root.chars[_local4] + "Clip";
if (_root.feelerClip.hitTest(_root[_local6])) {
var _local3 = _root.chars[_local4];
if (_root[_local3].Name.substr(0, 3) != "bro") {
_local7 = true;
}
}
_local4++;
}
removeMovieClip(_root.feelerClip);
if (!_local7) {
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip._x = x;
_root.sightClip._y = y;
if (dir == "U") {
_root.sightClip._rotation = 90;
} else if (dir == "R") {
_root.sightClip._rotation = 180;
} else if (dir == "D") {
_root.sightClip._rotation = -90;
}
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
clip.body.charger.gotoAndPlay("fire");
clip.body.eye1.gotoAndPlay("fire");
clip.body.eye2.gotoAndPlay("fire");
clip.body.eye3.gotoAndPlay("fire");
firing = true;
fc = 0;
}
removeMovieClip(_root.sightClip);
}
}
if (firing) {
fc++;
if (fc == 5) {
if (dir == "L") {
var _local10 = x - 24;
var _local13 = y + 12;
var _local14 = x - 24;
var _local12 = y + 6;
} else if (dir == "R") {
var _local10 = x + 9;
var _local13 = y + 12;
var _local14 = x + 9;
var _local12 = y + 6;
} else if (dir == "U") {
var _local10 = x + 12;
var _local13 = y - 24;
var _local14 = x + 6;
var _local12 = y - 24;
} else {
var _local10 = x + 12;
var _local13 = y + 3;
var _local14 = x + 6;
var _local12 = y + 3;
}
_root.enemyShotID++;
_root["bugAFireA" + _root.enemyShotID] = new classes.shots.BugAFireA(_local10, _local13, dir, _root.enemyShotID, true);
_root.addEnemyShot("bugAFireA" + _root.enemyShotID);
_root.enemyShotID++;
_root["bugAFireB" + _root.enemyShotID] = new classes.shots.BugAFireB(_local14, _local12, dir, _root.enemyShotID, true);
_root.addEnemyShot("bugAFireB" + _root.enemyShotID);
_root.audio.playLevel3("bugAFire", _root.randRange(15, 25));
}
}
if (nudging) {
xA = xA * 0.5;
yA = yA * 0.5;
nc++;
var _local11 = 255 - (nc * 17);
colorTrans.redOffset = _local11;
trans.colorTransform = colorTrans;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
colorTrans.redOffset = colorR;
trans.colorTransform = colorTrans;
}
}
var _local4 = 0;
var _local8 = _root.broShots.length;
while (_local4 < _local8) {
var _local6 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local6])) {
var _local3 = _root.broShots[_local4];
var _local5 = life;
life = life - _root[_local3].power;
if (life < 1) {
f2 = "death";
} else {
nudge(_root[_local3].xMov, _root[_local3].yMov, 5);
_root.audio.playLevel4("bugHit" + (random(4) + 1), _root.randRange(7, 15));
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local5);
break;
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
f2 = "death";
}
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - 1;
} else if (xMovT > xMov) {
xMov = xMov + 1;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 1;
} else if (yMovT > yMov) {
yMov = yMov + 1;
} else {
yMov = yMovT;
}
x = x + (xMov + xA);
y = y + (yMov + yA);
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 9;
var speed = 9;
var xDestMet = false;
var yDestMet = false;
var c = 0;
var life = 6;
var nudging = false;
var nc = 0;
var xA = 0;
var yA = 0;
var power = 25;
var Name = "bugD";
}
Symbol 4734 MovieClip [__Packages.classes.shots.BugAFireA] Frame 0
class classes.shots.BugAFireA
{
var x, y, id, dir, clip, axis;
function BugAFireA (px, py, pDir, pid, pblack) {
x = px;
y = py;
id = pid;
dir = pDir;
black = pblack;
_root.d++;
clip = _root.attachMovie("bugAFireA", ("bugAFireA" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip.id = id;
if (dir == "U") {
axis = "y";
yMov = -13;
xMov = 0;
y = y + 13;
} else if (dir == "D") {
axis = "y";
yMov = 13;
xMov = 0;
y = y - 13;
} else if (dir == "R") {
axis = "x";
yMov = 0;
xMov = 13;
x = x - 13;
} else {
axis = "x";
yMov = 0;
xMov = -13;
x = x + 13;
}
xMov = xMov * _root.dif.speed;
yMov = yMov * _root.dif.speed;
clip.gotoAndStop(dir);
if (black) {
var _local3 = new flash.geom.Transform(clip);
var _local4 = new flash.geom.ColorTransform(0, 0, 0, 1, -255, -255, -255, 0);
_local3.colorTransform = _local4;
}
xMov = xMov * _root.randRange2(0.9, 1.1);
yMov = yMov * _root.randRange2(0.9, 1.1);
}
function hit() {
yank = true;
}
function main() {
this[axis + "Mov"] = this[axis + "Mov"] * 1.02;
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
yank = true;
}
if ((((x > 1050) || (x < -50)) || (y > 650)) || (y < -50)) {
yank = true;
}
if (yank) {
_root.removeEnemyShot("bugAFireA" + id);
yank = false;
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var Name = "bugAFireA";
var power = 20;
var yank = false;
var black = false;
}
Symbol 4735 MovieClip [__Packages.classes.shots.BugAFireB] Frame 0
class classes.shots.BugAFireB
{
var x, y, id, dir, clip, axis;
function BugAFireB (px, py, pDir, pid, pblack) {
x = px;
y = py;
id = pid;
dir = pDir;
black = pblack;
_root.d++;
clip = _root.attachMovie("bugAFireB", ("bugAFireB" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip.id = id;
if (dir == "U") {
axis = "y";
yMov = -11;
xMov = 0;
y = y + 11;
} else if (dir == "D") {
axis = "y";
yMov = 11;
xMov = 0;
y = y - 11;
} else if (dir == "R") {
axis = "x";
yMov = 0;
xMov = 11;
x = x - 11;
} else {
axis = "x";
yMov = 0;
xMov = -11;
x = x + 11;
}
xMov = xMov * _root.dif.speed;
yMov = yMov * _root.dif.speed;
clip.gotoAndStop(dir);
if (black) {
var _local3 = new flash.geom.Transform(clip);
var _local4 = new flash.geom.ColorTransform(0, 0, 0, 1, -255, -255, -255, 0);
_local3.colorTransform = _local4;
}
xMov = xMov * _root.randRange2(0.9, 1.1);
yMov = yMov * _root.randRange2(0.9, 1.1);
}
function hit() {
yank = true;
}
function main() {
this[axis + "Mov"] = this[axis + "Mov"] * 1.02;
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
yank = true;
}
if ((((x > 1050) || (x < -50)) || (y > 650)) || (y < -50)) {
yank = true;
}
x = x + xMov;
y = y + yMov;
if (yank) {
_root.removeEnemyShot("bugAFireB" + id);
yank = false;
}
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var Name = "bugAFireB";
var power = 15;
var yank = false;
var black = false;
}
Symbol 4736 MovieClip [__Packages.classes.shots.DeathFizzle] Frame 0
class classes.shots.DeathFizzle
{
var x, y, id, clip, cMax, cv, speed;
function DeathFizzle (px, py, pid) {
x = px;
y = py;
id = pid;
_root.d++;
clip = _root.attachMovie("deathFizzle", ("deathFizzle" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
cMax = _root.randRange(150, 250);
cv = 1;
speed = 4;
speed = speed * _root.dif.speed;
}
function main() {
c++;
var _local3 = _root.getAngleRad(x, y);
xMovT = Math.cos(_local3) * speed;
yMovT = Math.sin(_local3) * speed;
speed = speed + 0.1;
cv = cv - 0.02;
if (cv < 0.1) {
cv = 0.1;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
}
if ((((x > 1050) || (x < -50)) || (y > 650)) || (y < -50)) {
yank = true;
}
if (xMovT < xMov) {
xMov = xMov - cv;
} else if (xMovT > xMov) {
xMov = xMov + cv;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - cv;
} else if (yMovT > yMov) {
yMov = yMov + cv;
} else {
yMov = yMovT;
}
x = x + xMov;
y = y + yMov;
if (yank) {
_root.removeEnemyShot("deathFizzle" + id);
}
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xMovT = 0;
var yMovT = 0;
var c = 0;
var yank = false;
var power = 15;
var Name = "deathFizzle";
}
Symbol 4737 MovieClip [__Packages.classes.enemy.BatC] Frame 0
class classes.enemy.BatC
{
var x, y, moveScript, matrixCoords, form, id, clip, colorR, trans, colorTrans, advanceMax, advanceMax2, matrixVar, dir, f2, axis, xDest, yDest, oldDir;
function BatC (px, py, pmoveScript, pmatrixCoords, pform, pid) {
x = px;
y = py;
moveScript = pmoveScript.slice();
matrixCoords = pmatrixCoords.slice();
form = pform.slice();
id = pid;
_root.d++;
clip = _root.attachMovie("batC", ("batC" + id) + "Clip", _root.d + 50000);
clip._x = x;
clip._y = y;
speed = speed * _root.dif.speed;
speedOrig = speed;
life = life * _root.dif.life;
colorR = _root.randRange(-30, 30);
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, colorR, colorR, colorR, 0);
trans.colorTransform = colorTrans;
advanceMax = 60 / (speed / 2);
advanceMax2 = 50 / (speed / 2);
if (matrixCoords[0] == "free") {
matrixVar = 0;
} else {
matrixVar = 1;
}
speedVar();
if (random(100) > 92) {
pUp = true;
}
parseMoveScript();
_root.stats.created++;
}
function broBehind() {
dir = _root.advanceDir;
}
function bombed(num) {
f2 = "death";
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.9999, 1.0001);
}
}
function twist() {
clip.body.gotoAndPlay("twist");
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
this[axis + "MovT"] = 0;
if (matrixCoords[0] == "free") {
f2 = "wander";
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else {
xDest = ((_root.advanceDir == "L") ? ((matrixCoords[0] * 60) + 320) : (matrixCoords[0] * 60));
yDest = (matrixCoords[1] * 50) + 10;
axis = ((Math.abs(xDest - x) > Math.abs(yDest - y)) ? "x" : "y");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speedVar();
f2 = "gotoMatrix";
}
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function gotoMatrix() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speed = speedOrig;
}
if ((Math.abs(x - xDest) < (speed + 1)) && (Math.abs(y - yDest) < (speed + 1))) {
x = (clip._x = xDest);
y = (clip._y = yDest);
xMovT = (xMov = 0);
yMovT = (yMov = 0);
matrixVar = 2;
dir = _root.advanceDir;
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
_root["formB" + form[0]] = "matrixed";
f2 = "wait";
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function wait() {
if ((random(1000) >= (998 + _root.dif.wait)) && (_root.matrixComplete)) {
dir = findDir();
if (dir == _root.advanceDir) {
matrixVar = 0;
if (random(2) == 1) {
xMovT = 0;
power = 30;
f2 = "launching";
c = 0;
} else {
clip.body.gotoAndPlay("spread");
xMovT = ((_root.advanceDir == "L") ? (-1 * speed) : (speed));
cv = 2;
f2 = "attacking";
}
} else if ((dir == "U") || (dir == "D")) {
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
matrixVar = 0;
c = 0;
f2 = "leavingMatrix";
}
}
}
function evade() {
if (matrixVar == 2) {
matrixVar = 0;
if (random(2) == 1) {
f2 = "wander";
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else {
clip.body.gotoAndPlay("spread");
xMovT = ((_root.advanceDir == "L") ? (-1 * speed) : (speed));
f2 = "attacking";
}
}
}
function launching() {
c++;
if (c == 1) {
clip.body.gotoAndPlay("launch");
_root.audio.playLevel2("batCLaunch", 30);
}
if (c == 42) {
xMovT = ((_root.advanceDir == "L") ? -2 : 2);
xMov = ((_root.advanceDir == "L") ? -2 : 2);
}
if (c == 43) {
xMovT = ((_root.advanceDir == "L") ? -4 : 4);
xMov = ((_root.advanceDir == "L") ? -4 : 4);
}
if (c == 44) {
xMovT = ((_root.advanceDir == "L") ? -10 : 10);
xMov = ((_root.advanceDir == "L") ? -10 : 10);
}
if (c == 45) {
xMovT = ((_root.advanceDir == "L") ? -25 : 25);
xMov = ((_root.advanceDir == "L") ? -25 : 25);
}
if (c == 46) {
xMovT = ((_root.advanceDir == "L") ? -54 : 54);
xMov = ((_root.advanceDir == "L") ? -54 : 54);
f2 = "attacking2";
}
}
function leavingMatrix() {
c++;
if (c > advanceMax2) {
c = 0;
dir = findDir();
if (dir == _root.advanceDir) {
yMovT = 0;
clip.body.gotoAndPlay("spread");
if (random(2) == 1) {
xMovT = 0;
f2 = "launching";
c = 0;
} else {
xMovT = ((_root.advanceDir == "L") ? (-1 * speed) : (speed));
cv = 2;
f2 = "attacking";
}
}
}
}
function findDir() {
_root.d++;
_root.attachMovie("feeler", "feelerClip", _root.d);
var _local7 = [];
var _local9 = 0;
var _local11 = dirArray.length;
while (_local9 < _local11) {
_root.feelerClip._x = x + feelerInfo[_local9][0];
_root.feelerClip._y = y + feelerInfo[_local9][1];
_root.feelerClip._width = feelerInfo[_local9][2];
_root.feelerClip._height = feelerInfo[_local9][3];
var _local3 = 0;
var _local8 = _root.chars.length;
var _local6 = false;
while (_local3 < _local8) {
var _local5 = _root.chars[_local3] + "Clip";
if (_root.feelerClip.hitTest(_root[_local5])) {
var _local4 = _root.chars[_local3];
if ((_root[_local4].matrixVar == 2) && (_local4 != (Name + id))) {
_local6 = true;
break;
}
}
_local3++;
}
if (!_local6) {
var _local10 = ((_root.advanceDir == "L") ? "R" : "L");
if (dirArray[_local9] != _local10) {
_local7.push(dirArray[_local9]);
}
}
_local9++;
}
_local9 = 0;
_local11 = _local7.length;
if (_local9 < _local11) {
if (_local7[_local9] == _root.advanceDir) {
return(_root.advanceDir);
}
return(_local7[random(_local7.length)]);
}
}
function attacking() {
xMovT = xMovT * 1.02;
yMovT = yMovT * 1.02;
if (random(100) > 93) {
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
function attacking2() {
_root.fxID++;
_root["batCStreak" + _root.fxID] = new classes.fx.BatCStreak(x, y, _root.fxID);
_root.addFX("batCStreak" + _root.fxID);
}
function death() {
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 10000;
_root.powerUp(x, y, 94);
if (matrixVar == 1) {
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
}
var _local3 = 0;
var _local4 = _root["form" + form[0]].length;
while (_local3 < _local4) {
if (_root["form" + form[0]][_local3] == ("batC" + id)) {
_root["form" + form[0]].splice(_local3, 1);
if (_root["form" + form[0]].length == 0) {
delete _root["form" + form[0]];
if (_root["formB" + form[0]] == "matrixed") {
_local3 = 0;
_local4 = random(3) + 1;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin10"]);
_local3++;
}
_root.stats.score = _root.stats.score + 10000;
} else {
_root.createPowerUp([x, y, "coin25"]);
_root.stats.score = _root.stats.score + 20000;
}
delete _root["formB" + form[0]];
}
break;
}
_local3++;
}
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(80, 130), _root.randRange(75, 100), "Purple"]);
_root.audio.playLevel4("batX" + (random(2) + 1), _root.randRange(8, 15));
var _local5 = 0;
var _local6 = random(3);
while (_local5 < _local6) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "batC", "Purple"]);
_local5++;
}
_root.createEnemySoul([x + (clip._width / 2), y + (clip._height / 2), "blue"]);
_root.removeChar("batC" + id);
f2 = "";
}
function death2() {
_root.removeChar("batC" + id);
f2 = "";
}
function advance() {
dir = _root.advanceDir;
clip.body.gotoAndPlay("advance");
xMovT = ((_root.advanceDir == "L") ? (-1 * (speed / 2)) : (1 * (speed / 2)));
f2 = "advancing";
}
function advancing() {
c++;
if (c > advanceMax) {
xMovT = 0;
c = 0;
f2 = "wait";
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("hindSight");
_root.sightClip._x = x;
_root.sightClip._y = y;
if (_root.advanceDir == "L") {
_root.sightClip._rotation = 180;
}
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
_root.broBehind();
}
removeMovieClip(_root.sightClip);
}
}
function wander() {
if (random(100) > (90 + _root.dif.wander)) {
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
function main() {
this[f2]();
if (oldDir != dir) {
clip.gotoAndStop("fly" + dir);
}
oldDir = dir;
if (nudging) {
xA = xA * 0.5;
yA = yA * 0.5;
nc++;
var _local8 = 255 - (nc * 17);
colorTrans.greenOffset = _local8;
colorTrans.blueOffset = _local8 / 2;
trans.colorTransform = colorTrans;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
colorTrans.greenOffset = colorR;
colorTrans.blueOffset = colorR;
trans.colorTransform = colorTrans;
}
}
var _local4 = 0;
var _local7 = _root.broShots.length;
while (_local4 < _local7) {
var _local6 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local6])) {
var _local3 = _root.broShots[_local4];
var _local5 = life;
life = life - _root[_local3].power;
if (life < 1) {
f2 = "death";
} else {
nudge(_root[_local3].xMov, _root[_local3].yMov, 10);
_root.audio.playLevel4("batHit" + (random(2) + 1), _root.randRange(10, 20));
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local5);
break;
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
f2 = "death";
}
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
delete _root["form" + form[0]];
delete _root["formB" + form[0]];
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - cv;
} else if (xMovT > xMov) {
xMov = xMov + cv;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - cv;
} else if (yMovT > yMov) {
yMov = yMov + cv;
} else {
yMov = yMovT;
}
xmt = xMov;
ymt = yMov;
if (random(10) == 1) {
if (axis == "y") {
xmt = xmt + _root.randRange2(-1, 1);
} else {
ymt = ymt + _root.randRange2(-1, 1);
}
}
x = x + (xmt + xA);
y = y + (ymt + yA);
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xmt = 0;
var ymt = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 11;
var speed = 11;
var xDestMet = false;
var yDestMet = false;
var c = 0;
var feelerInfo = [[-400, 0, 400, 40], [0, 0, 400, 40], [0, -400, 40, 400], [0, 0, 40, 400]];
var dirArray = ["L", "R", "U", "D"];
var pUp = false;
var life = 20;
var nudging = false;
var nc = 0;
var xA = 0;
var yA = 0;
var power = 20;
var cv = 1;
var Name = "batC";
}
Symbol 4738 MovieClip [__Packages.classes.fx.BatCStreak] Frame 0
class classes.fx.BatCStreak
{
var x, y, id, clip;
function BatCStreak (px, py, pid) {
x = px;
y = py;
id = pid;
_root.d++;
clip = _root.attachMovie("batCStreak", ("batCStreak" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
}
function main() {
if (clip.end) {
_root.removeFX("batCStreak" + id);
}
}
var Name = "batCStreak";
}
Symbol 4739 MovieClip [__Packages.classes.enemy.HeadC] Frame 0
class classes.enemy.HeadC
{
var x, y, moveScript, id, clip, fire, colorR, trans, colorTrans, f2, dir, axis, xDest, yDest, ep, oldDir;
function HeadC (px, py, pmoveScript, pid) {
x = px;
y = py;
moveScript = pmoveScript.slice();
id = pid;
_root.d++;
clip = _root.attachMovie("headC", ("headC" + id) + "Clip", _root.d + 50000);
clip._x = x;
clip._y = y;
speedVar();
fire = new Object();
speed = speed * _root.dif.speed;
speedOrig = speed;
life = life * _root.dif.life;
colorR = _root.randRange(-10, 30);
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, colorR, colorR, colorR, 0);
trans.colorTransform = colorTrans;
parseMoveScript();
if (_root.flashing) {
flashing = true;
_root.flashing = false;
}
_root.stats.created++;
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.9998, 1.0002);
}
}
function bombed(num) {
f2 = "death";
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
fireBall();
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function wander() {
if ((random(100) > 70) || ((((x > 950) || (x < 50)) || (y < 50)) || (y > 550))) {
if (random(20) > 18) {
this[axis + "MovT"] = 0;
f2 = "wait";
c = 0;
ep = _root.randRange(30, 120);
ep = ep * (1 / _root.dif.speed);
} else if (random(10) > 1) {
dir = _root.getDir(x, y);
this[axis + "MovT"] = 0;
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
} else {
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
if (random(200) > (197 + _root.dif.wait)) {
fireBall();
}
}
function wait() {
c++;
if (c >= ep) {
f2 = "wander";
if (random(10) > 2) {
dir = _root.getDir(x, y);
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
} else {
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
if (random(100) > 95) {
var _local3 = ["L", "R", "F"];
dir = _local3[random(_local3.length)];
}
}
function fireBall() {
dir = "F";
xMovT = 0;
yMovT = 0;
clip.body.eyes.gotoAndStop("F");
clip.body.eyes.clip.gotoAndPlay("glow");
fire.c = 0;
f2 = "firing";
_root.audio.playLevel3("headCFire" + (random(2) + 1), _root.randRange(15, 25));
}
function firing() {
fire.c++;
if (fire.c == 11) {
_root.enemyShotID++;
_root["fireBall" + _root.enemyShotID] = new classes.shots.FireBall(x, y, _root.enemyShotID);
_root.addEnemyShot("fireBall" + _root.enemyShotID);
}
if (fire.c == 25) {
f2 = "wander";
if (random(10) > 2) {
dir = _root.getDir(x, y);
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
} else {
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
}
function death() {
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 2500;
_root.powerUp(x, y, 93);
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(60, 80), _root.randRange(75, 100), "Red"]);
var _local3 = 0;
var _local4 = random(3);
while (_local3 < _local4) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "headC", "Red"]);
_local3++;
}
_root.createEnemySoul([x + (clip._width / 2), y + (clip._height / 2), "red"]);
_root.audio.playLevel4("headX" + (random(3) + 1), _root.randRange(15, 25));
_root.removeChar("headC" + id);
f2 = "";
}
function death2() {
_root.removeChar("headC" + id);
f2 = "";
}
function main() {
if (flashing) {
flashC++;
var _local8 = 275 - (flashC * 10);
colorTrans.greenOffset = _local8;
colorTrans.redOffset = _local8;
colorTrans.blueOffset = _local8;
trans.colorTransform = colorTrans;
if (flashC == 27) {
colorTrans.greenOffset = 0;
colorTrans.redOffset = 0;
colorTrans.blueOffset = 0;
trans.colorTransform = colorTrans;
delete flashing;
delete flashC;
}
}
this[f2]();
if (oldDir != dir) {
if ((oldDir == undefined) || (dir == "F")) {
clip.body.eyes.gotoAndStop(dir);
} else if ((dir == "U") || (dir == "D")) {
clip.body.eyes.gotoAndStop(oldDir);
} else if (random(3) > 0) {
if (dir == "R") {
clip.body.eyes.gotoAndPlay("LtoR");
} else {
clip.body.eyes.gotoAndPlay("RtoL");
}
} else {
clip.body.eyes.gotoAndPlay("spin" + dir);
}
}
oldDir = dir;
if (nudging) {
xA = xA * 0.5;
yA = yA * 0.5;
nc++;
var _local8 = 255 - (nc * 17);
colorTrans.redOffset = _local8;
trans.colorTransform = colorTrans;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
colorTrans.redOffset = colorR;
trans.colorTransform = colorTrans;
}
}
var _local4 = 0;
var _local7 = _root.broShots.length;
while (_local4 < _local7) {
var _local6 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local6])) {
var _local3 = _root.broShots[_local4];
var _local5 = life;
life = life - _root[_local3].power;
if (life < 1) {
f2 = "death";
} else {
nudge(_root[_local3].xMov, _root[_local3].yMov, 10);
_root.audio.playLevel4("headHit" + (random(4) + 1), _root.randRange(18, 28));
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local5);
break;
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].stealCoins(15);
_root[_root.char].hit(xMov, yMov, 100, power);
f2 = "death";
}
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - 0.3;
} else if (xMovT > xMov) {
xMov = xMov + 0.3;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 0.3;
} else if (yMovT > yMov) {
yMov = yMov + 0.3;
} else {
yMov = yMovT;
}
if (random(100) > 98) {
clip.body.eyes.clip.gotoAndPlay("blink");
}
x = x + (xMov + xA);
y = y + ((yMov + yA) + (0.5 * Math.sin((hc = hc + 0.1))));
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 9;
var speed = 9;
var xDestMet = false;
var yDestMet = false;
var c = 0;
var life = 10;
var nc = 0;
var xA = 0;
var yA = 0;
var nudging = false;
var hc = 0;
var power = 15;
var flashing = false;
var flashC = 0;
var Name = "headC";
}
Symbol 4740 MovieClip [__Packages.classes.shots.FireBall] Frame 0
class classes.shots.FireBall
{
var x, y, id, clip, xMov, yMov;
function FireBall (px, py, pid) {
x = px;
y = py;
id = pid;
_root.d++;
clip = _root.attachMovie("fireBall", ("fireBall" + id) + "Clip", _root.d + 60000);
clip._x = x;
clip._y = y;
clip.id = id;
var _local3 = _root.getAngleRad2(x, y, _root[_root.char].x + 20, _root[_root.char].y + 20);
xMov = Math.cos(_local3) * _root.randRange2(6, 8);
yMov = Math.sin(_local3) * _root.randRange2(6, 8);
xMov = xMov * _root.dif.speed;
yMov = yMov * _root.dif.speed;
}
function hit() {
yank = true;
}
function main() {
xMov = xMov * 1.02;
yMov = yMov * 1.02;
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
yank = true;
}
if ((((x > 1050) || (x < -50)) || (y > 650)) || (y < -50)) {
yank = true;
}
x = x + xMov;
y = y + yMov;
if (random(10) > 8) {
_root.fxID++;
_root["fireBallTrail" + _root.fxID] = new classes.fx.FireBallTrail(x + 9, y + 9, _root.fxID);
_root.addFX("fireBallTrail" + _root.fxID);
}
if (yank) {
_root.removeEnemyShot("fireBall" + id);
yank = false;
}
clip._x = x;
clip._y = y;
}
var Name = "fireBall";
var power = 30;
var c = 0;
var yank = false;
}
Symbol 4741 MovieClip [__Packages.classes.fx.FireBallTrail] Frame 0
class classes.fx.FireBallTrail
{
var x, y, id, clip, cMax;
function FireBallTrail (px, py, pid) {
x = px;
y = py;
id = pid;
_root.d++;
clip = _root.attachMovie("fireBallTrail", ("fireBallTrail" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip.gotoAndStop("shape" + _root.randRange(1, 6));
if (random(2) > 0) {
xMov = _root.randRange(-2, 2);
} else {
yMov = _root.randRange(-2, 2);
}
cMax = _root.randRange(8, 20);
}
function main() {
c++;
if (c >= cMax) {
_root.removeFX("fireBallTrail" + id);
}
clip._alpha = (100 - (c * (100 / cMax))) + (random(50) - 25);
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var c = 0;
var Name = "fireBallTrail";
}
Symbol 4742 MovieClip [__Packages.classes.misc.Coins] Frame 0
class classes.misc.Coins
{
var clip;
function Coins () {
clip = _root.attachMovie("coins", "coinsClip", 200100);
clip._x = 18;
clip._y = 566;
clip._alpha = 0;
}
function addTo(pnumT) {
numT = numT + pnumT;
_root.stats.coins = _root.stats.coins + pnumT;
if (pnumT > 0) {
_root.stats.totalCoins = _root.stats.totalCoins + pnumT;
}
alpha = 130;
}
function main() {
clip._alpha = alpha;
if (num < numT) {
num++;
clip.num = num;
alpha = 100;
} else if (num > numT) {
num--;
clip.num = num;
alpha = 100;
}
alpha = alpha - 2;
if (alpha < 0) {
alpha = 0;
}
}
var alpha = 0;
var num = 0;
var numT = 0;
var Name = "coins";
}
Symbol 4743 MovieClip [__Packages.classes.enemy.BatB] Frame 0
class classes.enemy.BatB
{
var x, y, moveScript, matrixCoords, form, id, clip, colorR, trans, colorTrans, advanceMax, advanceMax2, matrixVar, dir, f2, axis, xDest, yDest, oldDir;
function BatB (px, py, pmoveScript, pmatrixCoords, pform, pid) {
x = px;
y = py;
moveScript = pmoveScript.slice();
matrixCoords = pmatrixCoords.slice();
form = pform.slice();
id = pid;
_root.d++;
clip = _root.attachMovie("batB", ("batB" + id) + "Clip", _root.d + 50000);
clip._x = x;
clip._y = y;
colorR = _root.randRange(-30, 30);
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, colorR, colorR, colorR, 0);
trans.colorTransform = colorTrans;
speed = speed * _root.dif.speed;
speedOrig = speed;
life = life * _root.dif.life;
advanceMax = 60 / (speed / 2);
advanceMax2 = 50 / (speed / 2);
if (matrixCoords[0] == "free") {
matrixVar = 0;
} else {
matrixVar = 1;
}
speedVar();
if (random(100) > 92) {
pUp = true;
}
parseMoveScript();
_root.stats.created++;
}
function broBehind() {
dir = _root.advanceDir;
}
function bombed(num) {
f2 = "death";
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.9999, 1.0001);
}
}
function twist() {
clip.body.gotoAndPlay("twist");
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
this[axis + "MovT"] = 0;
if (matrixCoords[0] == "free") {
f2 = "wander";
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else {
xDest = ((_root.advanceDir == "L") ? ((matrixCoords[0] * 60) + 320) : (matrixCoords[0] * 60));
yDest = (matrixCoords[1] * 50) + 10;
axis = ((Math.abs(xDest - x) > Math.abs(yDest - y)) ? "x" : "y");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speedVar();
f2 = "gotoMatrix";
}
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function gotoMatrix() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speed = speedOrig;
}
if ((Math.abs(x - xDest) < (speed + 1)) && (Math.abs(y - yDest) < (speed + 1))) {
x = (clip._x = xDest);
y = (clip._y = yDest);
xMovT = (xMov = 0);
yMovT = (yMov = 0);
matrixVar = 2;
dir = _root.advanceDir;
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
_root["formB" + form[0]] = "matrixed";
f2 = "wait";
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function wait() {
if ((random(1000) >= (998 + _root.dif.wait)) && (_root.matrixComplete)) {
dir = findDir();
if (dir == _root.advanceDir) {
matrixVar = 0;
clip.body.gotoAndPlay("spread");
if (random(2) == 1) {
xMovT = 0;
power = 30;
f2 = "launching";
c = 0;
} else {
xMovT = ((_root.advanceDir == "L") ? (-1 * speed) : (speed));
f2 = "attacking";
}
} else if ((dir == "U") || (dir == "D")) {
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
matrixVar = 0;
c = 0;
f2 = "leavingMatrix";
}
}
}
function evade() {
if (matrixVar == 2) {
matrixVar = 0;
if (random(2) == 1) {
f2 = "wander";
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else {
clip.body.gotoAndPlay("spread");
xMovT = ((_root.advanceDir == "L") ? (-1 * speed) : (speed));
f2 = "attacking";
}
}
}
function launching() {
c++;
if (c == 7) {
clip.body.gotoAndPlay("launch");
_root.audio.playLevel3("batLaunch", _root.randRange(10, 20));
}
if ((c > 7) && (c < 21)) {
x = ((_root.advanceDir == "L") ? (x - launchArray[c - 8]) : (x + launchArray[c - 8]));
}
if (c == 21) {
xMovT = ((_root.advanceDir == "L") ? -25 : 25);
xMov = ((_root.advanceDir == "L") ? -25 : 25);
f2 = "attacking2";
}
}
function leavingMatrix() {
c++;
if (c > advanceMax2) {
c = 0;
dir = findDir();
if (dir == _root.advanceDir) {
yMovT = 0;
clip.body.gotoAndPlay("spread");
if (random(2) == 1) {
xMovT = 0;
f2 = "launching";
c = 0;
} else {
xMovT = ((_root.advanceDir == "L") ? (-1 * speed) : (speed));
f2 = "attacking";
}
}
}
}
function findDir() {
_root.d++;
_root.attachMovie("feeler", "feelerClip", _root.d);
var _local7 = [];
var _local9 = 0;
var _local11 = dirArray.length;
while (_local9 < _local11) {
_root.feelerClip._x = x + feelerInfo[_local9][0];
_root.feelerClip._y = y + feelerInfo[_local9][1];
_root.feelerClip._width = feelerInfo[_local9][2];
_root.feelerClip._height = feelerInfo[_local9][3];
var _local3 = 0;
var _local8 = _root.chars.length;
var _local6 = false;
while (_local3 < _local8) {
var _local5 = _root.chars[_local3] + "Clip";
if (_root.feelerClip.hitTest(_root[_local5])) {
var _local4 = _root.chars[_local3];
if ((_root[_local4].matrixVar == 2) && (_local4 != (Name + id))) {
_local6 = true;
break;
}
}
_local3++;
}
if (!_local6) {
var _local10 = ((_root.advanceDir == "L") ? "R" : "L");
if (dirArray[_local9] != _local10) {
_local7.push(dirArray[_local9]);
}
}
_local9++;
}
_local9 = 0;
_local11 = _local7.length;
if (_local9 < _local11) {
if (_local7[_local9] == _root.advanceDir) {
return(_root.advanceDir);
}
return(_local7[random(_local7.length)]);
}
}
function attacking() {
xMovT = xMovT * 1.03;
yMovT = yMovT * 1.03;
}
function attacking2() {
xMovT = xMovT * 1.015;
yMovT = yMovT * 1.015;
}
function death() {
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 1000;
_root.powerUp(x, y, 95);
if (matrixVar == 1) {
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
}
var _local3 = 0;
var _local4 = _root["form" + form[0]].length;
while (_local3 < _local4) {
if (_root["form" + form[0]][_local3] == ("batB" + id)) {
_root["form" + form[0]].splice(_local3, 1);
if (_root["form" + form[0]].length == 0) {
delete _root["form" + form[0]];
if (_root["formB" + form[0]] == "matrixed") {
_local3 = 0;
_local4 = random(3) + 1;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin1"]);
_local3++;
}
_root.stats.score = _root.stats.score + 1000;
} else {
_root.createPowerUp([x, y, "coin5"]);
_root.stats.score = _root.stats.score + 2000;
}
delete _root["formB" + form[0]];
}
break;
}
_local3++;
}
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(80, 130), _root.randRange(75, 100), "Red"]);
var _local5 = 0;
var _local6 = random(3);
while (_local5 < _local6) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "batB", "Red"]);
_local5++;
}
_root.createEnemySoul([x + (clip._width / 2), y + (clip._height / 2), "red"]);
_root.audio.playLevel4("batX" + (random(2) + 1), _root.randRange(8, 15));
_root.removeChar("batB" + id);
f2 = "";
}
function death2() {
_root.removeChar("batB" + id);
f2 = "";
}
function advance() {
dir = _root.advanceDir;
clip.body.gotoAndPlay("advance");
xMovT = ((_root.advanceDir == "L") ? (-1 * (speed / 2)) : (1 * (speed / 2)));
f2 = "advancing";
}
function advancing() {
c++;
if (c > advanceMax) {
xMovT = 0;
c = 0;
f2 = "wait";
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("hindSight");
_root.sightClip._x = x;
_root.sightClip._y = y;
if (_root.advanceDir == "L") {
_root.sightClip._rotation = 180;
}
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
_root.broBehind();
}
removeMovieClip(_root.sightClip);
}
}
function wander() {
if (random(100) > (96 + _root.dif.wander)) {
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
function main() {
this[f2]();
if (oldDir != dir) {
clip.gotoAndStop("fly" + dir);
}
oldDir = dir;
if (nudging) {
xA = xA * 0.5;
yA = yA * 0.5;
nc++;
var _local8 = 255 - (nc * 17);
colorTrans.redOffset = _local8;
colorTrans.greenOffset = _local8;
colorTrans.blueOffset = _local8;
trans.colorTransform = colorTrans;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
colorTrans.redOffset = colorR;
colorTrans.greenOffset = colorR;
colorTrans.blueOffset = colorR;
trans.colorTransform = colorTrans;
}
}
var _local4 = 0;
var _local7 = _root.broShots.length;
while (_local4 < _local7) {
var _local6 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local6])) {
var _local3 = _root.broShots[_local4];
var _local5 = life;
life = life - _root[_local3].power;
if (life < 1) {
f2 = "death";
} else {
nudge(_root[_local3].xMov, _root[_local3].yMov, 10);
_root.audio.playLevel4("batHit" + (random(2) + 1), _root.randRange(10, 20));
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local5);
break;
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
f2 = "death";
}
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
delete _root["form" + form[0]];
delete _root["formB" + form[0]];
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - 1;
} else if (xMovT > xMov) {
xMov = xMov + 1;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 1;
} else if (yMovT > yMov) {
yMov = yMov + 1;
} else {
yMov = yMovT;
}
xmt = xMov;
ymt = yMov;
if (random(10) == 1) {
if (axis == "y") {
xmt = xmt + _root.randRange2(-1, 1);
} else {
ymt = ymt + _root.randRange2(-1, 1);
}
}
x = x + (xmt + xA);
y = y + (ymt + yA);
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xmt = 0;
var ymt = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 8;
var speed = 8;
var xDestMet = false;
var yDestMet = false;
var c = 0;
var feelerInfo = [[-400, 0, 400, 40], [0, 0, 400, 40], [0, -400, 40, 400], [0, 0, 40, 400]];
var dirArray = ["L", "R", "U", "D"];
var pUp = false;
var life = 4;
var nudging = false;
var nc = 0;
var xA = 0;
var yA = 0;
var power = 20;
var launchArray = [0, 3, 3, 3, 6, 9, 6, 12, 12, 18, 24, 21, 24];
var Name = "batB";
}
Symbol 4744 MovieClip [__Packages.classes.enemy.HeadB] Frame 0
class classes.enemy.HeadB
{
var x, y, moveScript, id, clip, colorR, trans, colorTrans, f2, dir, axis, xDest, yDest, ep, oldDir;
function HeadB (px, py, pmoveScript, pid) {
x = px;
y = py;
moveScript = pmoveScript.slice();
id = pid;
_root.d++;
clip = _root.attachMovie("headB", ("headB" + id) + "Clip", _root.d + 50000);
clip._x = x;
clip._y = y;
speed = speed * _root.dif.speed;
speedOrig = speed;
life = life * _root.dif.life;
speedVar();
colorR = _root.randRange(-10, 30);
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, colorR, colorR, colorR, 0);
trans.colorTransform = colorTrans;
parseMoveScript();
if (_root.flashing) {
flashing = true;
_root.flashing = false;
}
_root.stats.created++;
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.9998, 1.0002);
}
}
function bombed(num) {
f2 = "death";
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
this[axis + "MovT"] = 0;
f2 = "wander";
if (random(10) > 2) {
dir = _root.getDir(x, y);
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
} else {
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function wander() {
if ((random(100) > 70) || ((((x > 950) || (x < 50)) || (y < 50)) || (y > 550))) {
if (random(20) > 18) {
this[axis + "MovT"] = 0;
f2 = "wait";
c = 0;
ep = _root.randRange(30, 120);
ep = ep * (1 / _root.dif.speed);
} else if (random(10) > 1) {
dir = _root.getDir(x, y);
this[axis + "MovT"] = 0;
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
} else {
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
}
function wait() {
c++;
if (c >= ep) {
f2 = "wander";
if (random(10) > 2) {
dir = _root.getDir(x, y);
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
} else {
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
if (random(100) > 95) {
var _local3 = ["L", "R", "F"];
dir = _local3[random(_local3.length)];
}
}
function attacking() {
}
function death() {
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 750;
_root.powerUp(x, y, 94);
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(60, 80), _root.randRange(75, 100), "Blue"]);
var _local3 = 0;
var _local4 = random(3);
while (_local3 < _local4) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "headB", "Blue"]);
_local3++;
}
_root.createEnemySoul([x + (clip._width / 2), y + (clip._height / 2), "blue"]);
_root.audio.playLevel4("headX" + (random(3) + 1), _root.randRange(15, 25));
_root.removeChar("headB" + id);
f2 = "";
}
function death2() {
_root.removeChar("headB" + id);
f2 = "";
}
function main() {
if (flashing) {
flashC++;
var _local8 = 275 - (flashC * 10);
colorTrans.greenOffset = _local8;
colorTrans.redOffset = _local8 / 2;
colorTrans.blueOffset = _local8;
trans.colorTransform = colorTrans;
if (flashC == 27) {
colorTrans.greenOffset = 0;
colorTrans.redOffset = 0;
colorTrans.blueOffset = 0;
trans.colorTransform = colorTrans;
delete flashing;
delete flashC;
}
}
this[f2]();
if (oldDir != dir) {
if ((oldDir == undefined) || (dir == "F")) {
clip.body.eyes.gotoAndStop(dir);
} else if ((dir == "U") || (dir == "D")) {
clip.body.eyes.gotoAndStop(oldDir);
} else if (random(3) > 0) {
if (dir == "R") {
clip.body.eyes.gotoAndPlay("LtoR");
} else {
clip.body.eyes.gotoAndPlay("RtoL");
}
} else {
clip.body.eyes.gotoAndPlay("spin" + dir);
}
}
oldDir = dir;
if (nudging) {
xA = xA * 0.5;
yA = yA * 0.5;
nc++;
var _local8 = 255 - (nc * 17);
colorTrans.blueOffset = _local8;
colorTrans.greenOffset = _local8 / 2;
trans.colorTransform = colorTrans;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
colorTrans.blueOffset = colorR;
colorTrans.greenOffset = colorR;
trans.colorTransform = colorTrans;
}
}
var _local4 = 0;
var _local7 = _root.broShots.length;
while (_local4 < _local7) {
var _local6 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local6])) {
var _local3 = _root.broShots[_local4];
var _local5 = life;
life = life - _root[_local3].power;
if (life < 1) {
f2 = "death";
} else {
nudge(_root[_local3].xMov, _root[_local3].yMov, 10);
_root.audio.playLevel4("headHit" + (random(4) + 1), _root.randRange(18, 28));
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local5);
break;
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].stealCoins(10);
_root[_root.char].hit(xMov, yMov, 100, power);
f2 = "death";
}
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - 0.3;
} else if (xMovT > xMov) {
xMov = xMov + 0.3;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 0.3;
} else if (yMovT > yMov) {
yMov = yMov + 0.3;
} else {
yMov = yMovT;
}
if (random(100) > 98) {
clip.body.eyes.clip.gotoAndPlay("blink");
}
x = x + (xMov + xA);
y = y + ((yMov + yA) + (0.5 * Math.sin((hc = hc + 0.1))));
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 8;
var speed = 8;
var xDestMet = false;
var yDestMet = false;
var c = 0;
var life = 5;
var nc = 0;
var xA = 0;
var yA = 0;
var nudging = false;
var hc = 0;
var power = 15;
var flashing = false;
var flashC = 0;
var Name = "headB";
}
Symbol 4745 MovieClip [__Packages.classes.misc.Reanimator] Frame 0
class classes.misc.Reanimator
{
var x, y, xMov, clip, currentVol, origVol;
function Reanimator (px, py) {
_root.rean = true;
x = px;
y = py;
xMov = 4;
xMovT = 4;
_root.d++;
clip = _root.attachMovie("reanimator", "reanimatorClip", _root.d);
clip._x = x;
clip._y = y;
currentVol = _root.aC1.s1.getVolume();
origVol = currentVol;
}
function main() {
_root.c--;
if (fOut) {
_root.aC1.s1.setVolume((currentVol = currentVol - 0.25));
if (currentVol == 10) {
_root.aC1.s1.setVolume(10);
fOut = false;
}
}
if (fIn) {
_root.aC1.s1.setVolume((currentVol = currentVol + 1));
if (currentVol >= origVol) {
_root.aC1.s1.setVolume(origVol);
fIn = false;
}
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
if ((((_root.gems.num >= 20) && (x > 100)) && (x < 950)) && (!hit)) {
hit = true;
summoning = true;
c = 0;
_root.audio.playLevel3("gem" + (random(3) + 1), _root.randRange(20, 25));
clip.speech._visible = false;
clip.ship.gotoAndPlay("go");
_root.gems.addTo(-20);
xMovT = 0;
} else {
_root.gems.alpha = 120;
}
}
if (summoning) {
c++;
if (c == 65) {
_root.audio.playLevel2("reanimate", 20);
if ((_root.char == "broShip1") || (_root.char == "bro1")) {
_root.bro2ShipLevel = 3;
_root.bro2ShipVar = 7;
_root.char2 = "broShip2";
_root.bro2Life = 100;
_root.broShip2 = new classes.bro.BroShip2(x - 100, y - 10);
_root.addChar("broShip2");
_root.broShip2.control = false;
_root.broShip2.reanimate();
_root.broShip2Clip.gun.gotoAndPlay("appear");
} else {
_root.bro1ShipLevel = 3;
_root.bro1ShipVar = 7;
_root.char2 = "broShip1";
_root.bro1Life = 100;
_root.broShip1 = new classes.bro.BroShip1(x - 100, y - 10);
_root.addChar("broShip1");
_root.broShip1.control = false;
_root.broShip1.reanimate();
_root.broShip1Clip.gun.gotoAndPlay("appear");
}
}
if (c == 160) {
if ((_root.char == "broShip1") || (_root.char == "broShip2")) {
_root[_root.char2].action11();
} else {
var _local4 = _root.char;
_root.char = _root.char2;
_root.char2 = _local4;
_root[_root.char].giveControl();
_root[_root.char].weapon = _root[_root.char2].weapon;
_root.bro1Weapon = (_root.bro2Weapon = _root[_root.char].weapon);
var _local3 = _root[_root.char].weapon;
_root[_root.char][_local3]();
_root[_root.char].life = 100;
_root[_root.char2].action11();
}
xMovT = 7;
fIn = true;
}
}
if ((x > 800) && (x < 805)) {
fIn = true;
}
if ((x > 1020) && (!fIn)) {
_root.removeFX("reanimator");
}
if (xMovT < xMov) {
xMov = xMov - 0.25;
} else if (xMovT > xMov) {
xMov = xMov + 0.25;
} else {
xMov = xMovT;
}
x = x + xMov;
clip.ship._y = clip.ship._y + (0.25 * Math.sin((hc = hc + 0.1)));
clip._x = x;
}
var xMovT = 0;
var c = 0;
var hc = 0;
var summoning = false;
var fOut = true;
var fIn = false;
var hit = false;
}
Symbol 4746 MovieClip [__Packages.classes.fx.CreationFX] Frame 0
class classes.fx.CreationFX
{
var x, y, i, id, waveMax, moveScript, matrixCoords, fxType, enemyType, clip, formID;
function CreationFX (pi, px, py, pfxType, penemyType, pwaveMax, pmoveScript, pmatrixCoords, pid) {
x = px;
y = py;
i = pi;
id = pid;
waveMax = pwaveMax;
moveScript = pmoveScript;
matrixCoords = pmatrixCoords;
fxType = pfxType;
enemyType = penemyType;
_root.d++;
clip = _root.attachMovie("creationFX" + fxType, ("creationFX" + id) + "Clip", _root.d + 200000);
clip._x = x;
clip._y = y;
_root.formID++;
formID = _root.formID;
_root["form" + _root.formID] = [];
if (fxType == "1D") {
waveMax = 5;
waveC = 4;
}
if (((fxType == "2A") || (fxType == "2B")) || (fxType == "2C")) {
waveMax = 3;
waveC = 2;
}
if (fxType == "1D") {
_root.audio.playLevel2("headBossIntro", 30);
} else {
var _local3 = fxType.charAt(1);
_root.audio.playLevel2(("head" + _local3) + "Intro", 30);
}
}
function main() {
if (clip.create) {
c++;
c2++;
if (c == i) {
c = 0;
var _local5 = [formID, waveC + 1];
_root["create" + enemyType]([x - 10, y - 10, moveScript, matrixCoords[waveC], _local5]);
_root.flashing = true;
waveC++;
if (waveC == waveMax) {
endSeq = true;
clip.create = false;
if (fxType == "1D") {
var _local3 = 0;
var _local4 = _root.randRange(30, 45);
while (_local3 < _local4) {
_root.fxID++;
_root["rampageTrailB" + _root.fxID] = new classes.fx.RampageTrailB(x, y, _root.fxID);
_root.addFX("rampageTrailB" + _root.fxID);
_local3++;
}
}
}
}
clip._alpha = 100 - ((c2 * (100 / (i * waveMax))) / 2);
clip._xscale = 100 - ((c2 * (100 / (i * waveMax))) / 2);
clip._yscale = 100 - ((c2 * (100 / (i * waveMax))) / 2);
}
if (endSeq) {
c2++;
clip._alpha = 100 - ((c2 * (100 / (i * waveMax))) / 2);
clip._xscale = 100 - ((c2 * (100 / (i * waveMax))) / 2);
clip._yscale = 100 - ((c2 * (100 / (i * waveMax))) / 2);
if (clip._alpha < 2) {
_root.removeFX("creationFX" + id);
}
}
}
var c = 0;
var c2 = 0;
var waveC = 0;
var endSeq = false;
var Name = "creationFX";
}
Symbol 4747 MovieClip [__Packages.classes.fx.RampageTrailB] Frame 0
class classes.fx.RampageTrailB
{
var x, y, id, clip, cMax, trans, colorTrans, colorArray, colorL, colorC;
function RampageTrailB (px, py, pid) {
x = px;
y = py;
id = pid;
_root.d++;
clip = _root.attachMovie("rampageTrail", ("rampageTrailB" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip.gotoAndStop("shape4");
xMov = _root.randRange(-3, 3);
yMov = _root.randRange(-3, 3);
cMax = _root.randRange(50, 100);
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(0, 0, 0, 1, 0, 0, 0, 1);
colorArray = this["colorArray" + _root.randRange(1, 3)].slice();
delete colorArray1;
delete colorArray2;
delete colorArray3;
colorL = colorArray.length;
colorC = -1;
}
function main() {
c++;
if (c >= cMax) {
_root.removeFX("rampageTrailB" + id);
}
colorC++;
if (colorC > colorL) {
colorC = 0;
}
colorTrans.redOffset = colorArray[colorC][0];
colorTrans.greenOffset = colorArray[colorC][1];
colorTrans.blueOffset = colorArray[colorC][2];
trans.colorTransform = colorTrans;
clip._alpha = 100 - (c * (100 / cMax));
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var c = 0;
var colorArray1 = [[255, 0, 0], [255, 125, 0], [255, 255, 0], [255, 125, 0], [255, 255, 255], [255, 0, 0], [255, 255, 0], [255, 125, 0], [255, 0, 0]];
var colorArray2 = [[0, 255, 0], [0, 255, 125], [0, 255, 255], [0, 125, 255], [0, 0, 255], [255, 255, 255], [125, 255, 255], [0, 125, 255], [0, 255, 255]];
var colorArray3 = [[0, 125, 255], [255, 0, 125], [255, 0, 255], [255, 255, 255], [255, 0, 125], [0, 255, 255], [125, 255, 255], [0, 125, 255], [0, 255, 0]];
var Name = "rampageTrailB";
}
Symbol 4748 MovieClip [__Packages.classes.misc.PowerUp] Frame 0
class classes.misc.PowerUp
{
var x, y, type, id, clip, xMov, yMov;
function PowerUp (px, py, ptype, pid) {
x = px;
y = py;
type = ptype;
id = pid;
_root.d++;
clip = _root.attachMovie("powerUp", ("powerUp" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip.gotoAndStop(type);
var _local3 = _root.getAngleRad2(x, y, 500, 300);
xMov = Math.cos(_local3) * _root.randRange2(0.5, 2.5);
yMov = Math.sin(_local3) * _root.randRange2(0.5, 2.5);
if ((((((type == "doubleLaserA") || (type == "tripleLaserA")) || (type == "twistLaser")) || (type == "tripleTwistLaser")) || (type == "rapidLaser")) || (type == "bigLaser")) {
weapon = true;
}
}
function hit() {
if (weapon) {
_root.audio.playLevel3("weaponUpgrade", 25);
} else if (type.charAt(0) == "g") {
_root.audio.playLevel3("gem" + (random(3) + 1), _root.randRange(20, 30));
} else if (type.substr(0, 10) == "speedBoost") {
_root.audio.playLevel3("speedBoost", _root.randRange(29, 35));
} else if (type.substr(0, 11) == "weaponBoost") {
_root.audio.playLevel3("weaponBoost", _root.randRange(29, 35));
} else if (type.substr(0, 6) == "shield") {
_root.audio.playLevel3("shield2", _root.randRange(29, 35));
} else {
_root.audio.playLevel3(type, _root.randRange(29, 35));
}
clip[type].gotoAndPlay("hit");
f2 = "ending";
}
function ending() {
if (clip.end) {
yank = true;
}
}
function checkHit() {
if (weapon) {
if (clip[type].hitClip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].powerUp(type);
hit();
}
} else if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].powerUp(type);
hit();
}
}
function main() {
c++;
this[f2]();
if ((c > 30) && (type == "smartBomb")) {
var _local4 = 0;
var _local6 = _root.broShots.length;
while (_local4 < _local6) {
var _local5 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local5])) {
var _local3 = _root.broShots[_local4];
xMov = xMov + (_root[_local3].xMov / 20);
yMov = yMov + (_root[_local3].yMov / 20);
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit();
_root[_root.char].powerUp(type);
hit();
}
_local4++;
}
}
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
yank = true;
}
if (yank) {
_root.removePowerUp("powerUp" + id);
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var f2 = "checkHit";
var c = 0;
var yank = false;
var weapon = false;
var Name = "powerUp";
}
Symbol 4749 MovieClip [__Packages.classes.enemy.BugA] Frame 0
class classes.enemy.BugA
{
var x, y, moveScript, matrixCoords, form, id, clip, colorR, trans, colorTrans, advanceMax, advanceMax2, matrixVar, dir, f2, scc, axis, switchDir, sfc, sfMax, xDest, yDest, oldDir, firing, fc;
function BugA (px, py, pmoveScript, pmatrixCoords, pform, pid) {
x = px;
y = py;
moveScript = pmoveScript.slice();
matrixCoords = pmatrixCoords.slice();
form = pform.slice();
id = pid;
_root.d++;
clip = _root.attachMovie("bugA", ("bugA" + id) + "Clip", _root.d + 50000);
clip._x = x;
clip._y = y;
speed = speed * _root.dif.speed;
speedOrig = speed;
life = life * _root.dif.life;
colorR = _root.randRange(-30, 30);
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, colorR, colorR, colorR, 0);
trans.colorTransform = colorTrans;
advanceMax = 60 / (speed / 2);
advanceMax2 = 50 / (speed / 2);
if (matrixCoords[0] == "free") {
matrixVar = 0;
} else {
matrixVar = 1;
}
speedVar();
clip.body.eye2.eye.gotoAndPlay(10);
clip.body.eye3.eye.gotoAndPlay(20);
parseMoveScript();
_root.stats.created++;
}
function broBehind() {
dir = _root.advanceDir;
}
function bombed(num) {
f2 = "death";
}
function switchScope() {
scc = 0;
getDirString();
f2 = "switchScoping";
c = 5;
speed = speed / 2;
this[axis + "MovT"] = this[axis + "MovT"] / 2;
clip.body.flame.gotoAndStop("still");
_root.audio.playLevel2("bugASwitch", _root.randRange(8, 15));
}
function switchScoping() {
c++;
if (c == 10) {
scc++;
c = 0;
if ((dir == "U") || (dir == "D")) {
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("bugASwitchFire");
_root.sightClip._x = x;
_root.sightClip._y = y;
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
switchFire("L");
} else {
_root.sightClip._rotation = 180;
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
switchFire("R");
}
}
removeMovieClip(_root.sightClip);
} else {
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("bugASwitchFire");
_root.sightClip._x = x;
_root.sightClip._y = y;
_root.sightClip._rotation = 90;
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
switchFire("U");
} else {
_root.sightClip._rotation = -90;
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
switchFire("D");
}
}
removeMovieClip(_root.sightClip);
}
if (scc > _root.randRange(9, 12)) {
clip.body.gotoAndStop("main");
speed = speedOrig;
this[axis + "MovT"] = this[axis + "MovT"] * 2;
clip.body.flame.gotoAndPlay("start");
f2 = "wander";
}
}
}
function switchFire(tmpDir) {
clip.gotoAndStop("fly" + tmpDir);
switchDir = tmpDir;
c = 0;
sfc = 0;
f2 = "switchFiring";
sfMax = _root.randRange(1, 4);
}
function switchFireBlast() {
clip.body.gotoAndPlay("switchFire");
if (switchDir == "L") {
var _local3 = x - 24;
var _local4 = ((dir == "U") ? (y + 3) : (y + 21));
} else if (switchDir == "R") {
var _local3 = x + 9;
var _local4 = ((dir == "U") ? (y + 3) : (y + 21));
} else if (switchDir == "U") {
var _local3 = ((dir == "L") ? (x + 3) : (x + 21));
var _local4 = y - 36;
} else {
var _local3 = ((dir == "L") ? (x + 3) : (x + 21));
var _local4 = y + 15;
}
_root.enemyShotID++;
_root["bugASwitchBlast" + _root.enemyShotID] = new classes.shots.BugASwitchBlast(_local3, _local4, switchDir, _root.enemyShotID);
_root.addEnemyShot("bugASwitchBlast" + _root.enemyShotID);
_root.audio.playLevel3("bugASwitchBlast" + (random(2) + 1), _root.randRange(15, 25));
}
function switchFiring() {
c++;
if (c == 10) {
clip.body.gotoAndPlay("switch");
}
if (c == 17) {
switchFireBlast();
}
if (c == 24) {
switchFireBlast();
c = 18;
sfc++;
if (sfc == sfMax) {
clip.body.gotoAndPlay("switchRev");
c = 33;
}
}
if (c == 45) {
clip.gotoAndStop("fly" + dir);
clip.body.gotoAndStop("main");
speed = speedOrig;
this[axis + "MovT"] = this[axis + "MovT"] * 2;
clip.body.flame.gotoAndPlay("start");
}
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.99999, 1.00001);
}
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
if (matrixCoords[0] == "free") {
if (random(2) == 1) {
f2 = "wander";
this[axis + "MovT"] = 0;
axis = ((axis == "y") ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else {
switchScope();
}
} else {
this[axis + "MovT"] = 0;
xDest = ((_root.advanceDir == "L") ? ((matrixCoords[0] * 60) + 320) : (matrixCoords[0] * 60));
yDest = (matrixCoords[1] * 50) + 10;
axis = ((Math.abs(xDest - x) > Math.abs(yDest - y)) ? "x" : "y");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speedVar();
f2 = "gotoMatrix";
}
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function gotoMatrix() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speed = speedOrig;
}
if ((Math.abs(x - xDest) < (speed + 1)) && (Math.abs(y - yDest) < (speed + 1))) {
x = (clip._x = xDest);
y = (clip._y = yDest);
xMovT = (xMov = 0);
yMovT = (yMov = 0);
matrixVar = 2;
dir = _root.advanceDir;
clip.body.flame.gotoAndPlay("still");
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
_root["formB" + form[0]] = "matrixed";
f2 = "wait";
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function evade() {
if (matrixVar == 2) {
matrixVar = 0;
f2 = "wander";
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else if (f2 == "wander") {
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
function wait() {
if ((random(1000) >= (998 + _root.dif.wait)) && (_root.matrixComplete)) {
dir = findDir();
clip.body.flame.gotoAndPlay("start");
if (dir == _root.advanceDir) {
matrixVar = 0;
xMovT = ((_root.advanceDir == "L") ? (-1 * speed) : (speed));
f2 = "attacking";
} else if ((dir == "U") || (dir == "D")) {
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
matrixVar = 0;
c = 0;
f2 = "leavingMatrix";
}
}
}
function leavingMatrix() {
c++;
if (c > advanceMax2) {
c = 0;
dir = findDir();
if (dir == _root.advanceDir) {
yMovT = 0;
xMovT = ((_root.advanceDir == "L") ? (-1 * speed) : (speed));
f2 = "attacking";
}
}
}
function findDir() {
_root.d++;
_root.attachMovie("feeler", "feelerClip", _root.d);
var _local7 = [];
var _local9 = 0;
var _local11 = dirArray.length;
while (_local9 < _local11) {
_root.feelerClip._x = x + feelerInfo[_local9][0];
_root.feelerClip._y = y + feelerInfo[_local9][1];
_root.feelerClip._width = feelerInfo[_local9][2];
_root.feelerClip._height = feelerInfo[_local9][3];
var _local3 = 0;
var _local8 = _root.chars.length;
var _local6 = false;
while (_local3 < _local8) {
var _local5 = _root.chars[_local3] + "Clip";
if (_root.feelerClip.hitTest(_root[_local5])) {
var _local4 = _root.chars[_local3];
if ((_root[_local4].matrixVar == 2) && (_local4 != (Name + id))) {
_local6 = true;
break;
}
}
_local3++;
}
if (!_local6) {
var _local10 = ((_root.advanceDir == "L") ? "R" : "L");
if (dirArray[_local9] != _local10) {
_local7.push(dirArray[_local9]);
}
}
_local9++;
}
_local9 = 0;
_local11 = _local7.length;
if (_local9 < _local11) {
if (_local7[_local9] == _root.advanceDir) {
return(_root.advanceDir);
}
return(_local7[random(_local7.length)]);
}
}
function attacking() {
xMovT = xMovT * 1.03;
yMovT = yMovT * 1.03;
}
function death() {
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 2500;
_root.powerUp(x, y, 95);
if (matrixVar == 1) {
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
}
var _local3 = 0;
var _local4 = _root["form" + form[0]].length;
while (_local3 < _local4) {
if (_root["form" + form[0]][_local3] == ("bugA" + id)) {
_root["form" + form[0]].splice(_local3, 1);
if (_root["form" + form[0]].length == 0) {
delete _root["form" + form[0]];
if (_root["formB" + form[0]] == "matrixed") {
_local3 = 0;
_local4 = random(4) + 2;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin1"]);
_local3++;
}
_root.stats.score = _root.stats.score + 2500;
} else {
_root.createPowerUp([x, y, "coin5"]);
_local3 = 0;
_local4 = random(3) + 1;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin1"]);
_local3++;
}
_root.stats.score = _root.stats.score + 5000;
}
delete _root["formB" + form[0]];
}
break;
}
_local3++;
}
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(80, 130), _root.randRange(75, 100), "Green"]);
_root.audio.playLevel4("bugX" + (random(4) + 1), _root.randRange(7, 17));
var _local5 = 0;
var _local6 = random(3);
while (_local5 < _local6) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "bugA", "Blue"]);
_local5++;
}
_root.createEnemySoul([x + (clip._width / 2), y + (clip._height / 2), "red"]);
_root.removeChar("bugA" + id);
f2 = "";
}
function advance() {
dir = _root.advanceDir;
clip.body.flame.gotoAndPlay("advance");
xMovT = ((_root.advanceDir == "L") ? (-1 * (speed / 2)) : (1 * (speed / 2)));
f2 = "advancing";
}
function advancing() {
c++;
if (c > advanceMax) {
xMovT = 0;
c = 0;
f2 = "wait";
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("hindSight");
_root.sightClip._x = x;
_root.sightClip._y = y;
if (_root.advanceDir == "L") {
_root.sightClip._rotation = 180;
}
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
_root.broBehind();
}
removeMovieClip(_root.sightClip);
}
}
function wander() {
if (random(100) > (98 + _root.dif.wander)) {
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
if (random(100) > (97 + _root.dif.wander)) {
switchScope();
}
}
function death2() {
_root.removeChar("bugA" + id);
f2 = "";
}
function main() {
this[f2]();
if (oldDir != dir) {
clip.gotoAndStop("fly" + dir);
}
oldDir = dir;
if (random(300) >= (299 + _root.dif.wander)) {
_root.d++;
_root.attachMovie("feeler", "feelerClip", _root.d);
if (dir == "L") {
var _local9 = [-310, 0, 300, 50];
} else if (dir == "R") {
var _local9 = [50, 0, 300, 50];
} else if (dir == "U") {
var _local9 = [0, -310, 50, 300];
} else {
var _local9 = [0, 50, 300, 50];
}
_root.feelerClip._x = x + _local9[0];
_root.feelerClip._y = y + _local9[1];
_root.feelerClip._width = _local9[2];
_root.feelerClip._height = _local9[3];
var _local4 = 0;
var _local8 = _root.chars.length;
var _local7 = false;
while (_local4 < _local8) {
var _local6 = _root.chars[_local4] + "Clip";
if (_root.feelerClip.hitTest(_root[_local6])) {
var _local3 = _root.chars[_local4];
if (_root[_local3].Name.substr(0, 3) != "bro") {
_local7 = true;
}
}
_local4++;
}
removeMovieClip(_root.feelerClip);
if (!_local7) {
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip._x = x;
_root.sightClip._y = y;
if (dir == "U") {
_root.sightClip._rotation = 90;
} else if (dir == "R") {
_root.sightClip._rotation = 180;
} else if (dir == "D") {
_root.sightClip._rotation = -90;
}
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
clip.body.charger.gotoAndPlay("fire");
clip.body.eye1.gotoAndPlay("fire");
clip.body.eye2.gotoAndPlay("fire");
clip.body.eye3.gotoAndPlay("fire");
firing = true;
fc = 0;
}
removeMovieClip(_root.sightClip);
}
}
if (firing) {
fc++;
if (fc == 5) {
if (dir == "L") {
var _local11 = x - 24;
var _local13 = y + 12;
var _local14 = x - 24;
var _local12 = y + 6;
} else if (dir == "R") {
var _local11 = x + 9;
var _local13 = y + 12;
var _local14 = x + 9;
var _local12 = y + 6;
} else if (dir == "U") {
var _local11 = x + 12;
var _local13 = y - 24;
var _local14 = x + 6;
var _local12 = y - 24;
} else {
var _local11 = x + 12;
var _local13 = y + 3;
var _local14 = x + 6;
var _local12 = y + 3;
}
_root.enemyShotID++;
_root["bugAFireA" + _root.enemyShotID] = new classes.shots.BugAFireA(_local11, _local13, dir, _root.enemyShotID);
_root.addEnemyShot("bugAFireA" + _root.enemyShotID);
_root.enemyShotID++;
_root["bugAFireB" + _root.enemyShotID] = new classes.shots.BugAFireB(_local14, _local12, dir, _root.enemyShotID);
_root.addEnemyShot("bugAFireB" + _root.enemyShotID);
_root.audio.playLevel3("bugAFire", _root.randRange(15, 25));
}
}
if (nudging) {
xA = xA * 0.5;
yA = yA * 0.5;
nc++;
var _local10 = 255 - (nc * 17);
colorTrans.redOffset = _local10;
colorTrans.greenOffset = _local10;
trans.colorTransform = colorTrans;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
colorTrans.redOffset = colorR;
colorTrans.greenOffset = colorR;
trans.colorTransform = colorTrans;
}
}
var _local4 = 0;
var _local8 = _root.broShots.length;
while (_local4 < _local8) {
var _local6 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local6])) {
var _local3 = _root.broShots[_local4];
var _local5 = life;
life = life - _root[_local3].power;
if (life < 1) {
f2 = "death";
} else {
nudge(_root[_local3].xMov, _root[_local3].yMov, 5);
_root.audio.playLevel4("bugHit" + (random(4) + 1), _root.randRange(7, 15));
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local5);
break;
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
f2 = "death";
}
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
delete _root["form" + form[0]];
delete _root["formB" + form[0]];
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - 1;
} else if (xMovT > xMov) {
xMov = xMov + 1;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 1;
} else if (yMovT > yMov) {
yMov = yMov + 1;
} else {
yMov = yMovT;
}
x = x + (xMov + xA);
y = y + (yMov + yA);
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xmt = 0;
var ymt = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 9;
var speed = 9;
var xDestMet = false;
var yDestMet = false;
var c = 0;
var feelerInfo = [[-400, 0, 400, 40], [0, 0, 400, 40], [0, -400, 40, 400], [0, 0, 40, 400]];
var dirArray = ["L", "R", "U", "D"];
var life = 6;
var nudging = false;
var nc = 0;
var xA = 0;
var yA = 0;
var power = 25;
var Name = "bugA";
}
Symbol 4750 MovieClip [__Packages.classes.fx.BGDeco] Frame 0
class classes.fx.BGDeco
{
var id, showing, speed, clip, yMov, h;
function BGDeco () {
}
function showBG(pid, pspeed) {
id = pid;
if (!showing) {
speed = pspeed;
clip = _root.attachMovie("bgDeco", "bgDecoClip", 1);
clip.cacheAsBitmap = true;
clip._y = 603;
yMov = -1 * speed;
clip.gotoAndStop(id);
h = clip._height;
showing = true;
}
}
function main() {
if (showing) {
if ((clip._y + h) < -5) {
clip.removeMovieClip();
showing = false;
if (id == "3E") {
showBG("3E", 0.5);
}
}
clip._y = clip._y + yMov;
}
}
var Name = "bgDeco";
}
Symbol 4751 MovieClip [__Packages.classes.misc.WaveCreator] Frame 0
class classes.misc.WaveCreator
{
var leader, x, y, id, i, waveMax, moveScript, matrixCoords, type, formID;
function WaveCreator (pi, px, py, ptype, pwaveMax, pmoveScript, pmatrixCoords, pleader, pid) {
leader = pleader;
x = px;
y = py;
id = pid;
i = pi;
waveMax = pwaveMax;
moveScript = pmoveScript;
matrixCoords = pmatrixCoords;
type = ptype;
_root.formID++;
formID = _root.formID;
_root["form" + _root.formID] = [];
if (waveMax < 2) {
_root["formB" + formID] = "matrixed";
}
if (((type == "BatA") || (type == "BatB")) || (type == "BatC")) {
_root["batTwister" + _root.formID] = new classes.misc.BatTwister(waveMax, _root.formID);
_root.addFX("batTwister" + _root.formID);
}
}
function main() {
c++;
if (c == i) {
c = 0;
var _local3 = [formID, waveC + 1];
if ((waveC == 0) && (leader != undefined)) {
_root["create" + leader]([x, y, moveScript, matrixCoords[waveC], _local3]);
} else {
_root["create" + type]([x, y, moveScript, matrixCoords[waveC], _local3]);
}
waveC++;
if (waveC >= waveMax) {
_root.removeFX("waveCreator" + id);
}
}
}
var c = 0;
var waveC = 0;
var Name = "waveCreator";
}
Symbol 4752 MovieClip [__Packages.classes.misc.BatTwister] Frame 0
class classes.misc.BatTwister
{
var id, batNum;
function BatTwister (pbatNum, pid) {
id = pid;
batNum = pbatNum;
}
function main() {
if ((!twisting) && (random(100) > 95)) {
twisting = true;
}
if (twisting) {
c++;
if (c == 8) {
c = 0;
_root[_root["form" + id][i]].twist();
i++;
if (i == batNum) {
twisting = false;
if (random(2) == 1) {
_root.removeFX("batTwister" + id);
} else {
i = 0;
c = 0;
}
}
}
}
}
var c = 0;
var twisting = false;
var i = 0;
var Name = "batTwister";
}
Symbol 4753 MovieClip [__Packages.classes.misc.PowerUpBuddy] Frame 0
class classes.misc.PowerUpBuddy
{
var x, y, typeArray, dir, clip, buddy, powerUpNum, powerUp0, num0, xMov, powerUp1, num1, powerUp2, num2;
function PowerUpBuddy (px, py, pdir, ptypeArray) {
x = px;
y = py;
typeArray = ptypeArray.slice();
if (((typeArray[0] == "ship2") || (typeArray[0] == "ship3")) || (typeArray[0] == "ship3B")) {
ship = true;
}
dir = pdir;
_root.d++;
clip = _root.createEmptyMovieClip("powerUpBuddyClip", _root.d);
clip._x = x;
clip._y = y;
_root.d++;
buddy = clip.attachMovie("powerUpBuddy", "buddyClip", _root.d);
buddy.gotoAndStop(dir);
powerUpNum = typeArray.length / 2;
if (powerUpNum == 1) {
buddy.chain.seg3._visible = false;
buddy.chain.seg2._visible = false;
} else if (powerUpNum == 2) {
buddy.chain.seg3._visible = false;
}
if (!ship) {
var _local3 = 0;
var _local5 = powerUpNum;
while (_local3 < _local5) {
_root.d++;
this["powerUp" + _local3] = clip.attachMovie("powerUp", "powerUp" + _local3, _root.d);
this["powerUp" + _local3]._x = ((dir == "L") ? (93 + (_local3 * 100)) : (-81 - (_local3 * 100)));
this["powerUp" + _local3]._y = -3;
this["powerUp" + _local3].gotoAndStop(typeArray[2 * _local3]);
var _local4 = typeArray[2 * _local3];
if (((((((_local4 == "doubleLaserA") || (_local4 == "tripleLaserA")) || (_local4 == "twistLaser")) || (_local4 == "tripleTwistLaser")) || (_local4 == "rapidLaser")) || (_local4 == "bigLaser")) || (_local4 == "superLaser")) {
this["powerUp" + _local3].weapon = true;
}
if ((_local4 == "lifeUp") || (_local4 == "lifeMax")) {
health = true;
_root.lifeMeterClip._visible = true;
}
_root.d++;
this["num" + _local3] = clip.attachMovie("buddyNum", "buddyNum" + _local3, _root.d);
this["num" + _local3]._x = ((dir == "L") ? (73 + (_local3 * 100)) : (-88 - (_local3 * 100)));
this["num" + _local3]._y = (ship ? -39 : -24);
this["num" + _local3].num = typeArray[1 + (2 * _local3)];
_local3++;
}
} else {
_root.d++;
powerUp0 = _root.attachMovie(typeArray[0], "newShipClip", _root.d + 1000);
powerUp0._x = ((dir == "L") ? (clip._x + 81) : (clip._x - 93));
powerUp0._y = clip._y - 15;
if ((_root.char == "broShip1") || (_root.char == "bro1")) {
powerUp0.gotoAndStop("bro1");
} else {
powerUp0.gotoAndStop("bro2");
}
_root.d++;
num0 = clip.attachMovie("buddyNum", "buddyNum" + _local3, _root.d);
num0._x = ((dir == "L") ? 63 : -88);
num0._y = (ship ? -39 : -24);
num0.num = typeArray[1];
}
xMov = ((dir == "R") ? 4 : -4);
_root.audio.playLevel2("powerUpBuddySlow", 10);
}
function admitPowerup(which) {
var _local2 = true;
if ((which == "lifeUp") && (_root[_root.char].life == 100)) {
_local2 = false;
}
if ((which == "shield") && (_root[_root.char].shieldOn)) {
_local2 = false;
}
return(_local2);
}
function main() {
_root.coins.alpha = 100;
if (health) {
_root.lifeMeter.alpha = 100;
_root.lifeMeterClip._x = _root[_root.char].x + 6;
_root.lifeMeterClip._y = _root[_root.char].y - 12;
}
_root.c--;
c++;
if (!ship) {
var _local3 = 0;
var _local6 = powerUpNum;
while (_local3 < _local6) {
if (this["powerUp" + _local3].weapon == true) {
if (clip["powerUp" + _local3][typeArray[2 * _local3]].hitClip.hitTest(_root[_root.char + "Clip"])) {
if (!clip["powerUp" + _local3].hit) {
if (_root.coins.numT >= typeArray[1 + (2 * _local3)]) {
_root.audio.playLevel3("weaponUpgrade", 25);
_root[_root.char].powerUp(typeArray[2 * _local3]);
clip["powerUp" + _local3][typeArray[2 * _local3]].gotoAndPlay("hit");
clip["powerUp" + _local3].hit = true;
this["num" + _local3].num = "";
_root.coins.addTo(-1 * typeArray[1 + (2 * _local3)]);
hitCount++;
if (hitCount >= powerUpNum) {
xMov = xMov * 2;
_root.audio.playLevel2("powerUpBuddyFast", 10);
}
} else {
_root.coins.alpha = 130;
}
}
}
} else if (clip["powerUp" + _local3].hitTest(_root[_root.char + "Clip"])) {
if (!clip["powerUp" + _local3].hit) {
if (_root.coins.numT >= typeArray[1 + (2 * _local3)]) {
var _local5 = admitPowerup(typeArray[2 * _local3]);
if (_local5) {
var _local4 = typeArray[2 * _local3];
if (((((((_local4 == "doubleLaserA") || (_local4 == "tripleLaserA")) || (_local4 == "twistLaser")) || (_local4 == "tripleTwistLaser")) || (_local4 == "bigLAser")) || (_local4 == "rapidLaser")) || (_local4 == "doubleRapidLaser")) {
_root.audio.playLevel3("weaponUpgrade", 25);
} else {
_root.audio.playLevel3(_local4, 40);
}
_root[_root.char].powerUp(typeArray[2 * _local3]);
clip["powerUp" + _local3][typeArray[2 * _local3]].gotoAndPlay("hit");
clip["powerUp" + _local3].hit = true;
this["num" + _local3].num = "";
_root.coins.addTo(-1 * typeArray[1 + (2 * _local3)]);
hitCount++;
if (hitCount >= powerUpNum) {
xMov = xMov * 2;
_root.audio.playLevel2("powerUpBuddyFast", 10);
}
}
} else {
_root.coins.alpha = 130;
}
}
}
_local3++;
}
} else if (_root.newShipClip.hitTest(_root[_root.char + "Clip"]) && (_root.newShipClip._x > 150)) {
if (!_root.newShipClip.hit) {
if (_root.coins.numT >= typeArray[1]) {
_root.newShipClip.hit = true;
_root.shipSwitcher = new classes.misc.ShipSwitcher(typeArray[0], powerUp0._x, powerUp0._y);
_root.addFX("shipSwitcher");
num0.num = "";
_root.coins.addTo(-1 * typeArray[1]);
xMov = xMov * 2;
} else {
_root.coins.alpha = 130;
}
}
}
if ((x > 1400) || (x < -400)) {
_root.removeFX("powerUpBuddy");
}
x = x + xMov;
if (!_root.newShipClip.hit) {
powerUp0._y = powerUp0._y + (0.3 * Math.sin((hc2 = hc2 + 0.2)));
num0._y = (ship ? ((powerUp0._y - y) - 24) : (powerUp0._y - 21));
}
powerUp1._y = powerUp1._y + (0.3 * Math.sin((hc3 = hc3 + 0.175)));
num1._y = powerUp1._y - 21;
powerUp2._y = powerUp2._y + (0.3 * Math.sin((hc4 = hc4 + 0.15)));
num2._y = powerUp2._y - 21;
buddy._y = buddy._y + (0.35 * Math.sin((hc1 = hc1 + 0.1)));
clip._x = x;
clip._y = y;
if (ship && (!_root.newShipClip.hit)) {
powerUp0._x = powerUp0._x + xMov;
}
}
var c = 0;
var hc1 = 0;
var hc2 = 0;
var hc3 = 0;
var hc4 = 0;
var hitCount = 0;
var ship = false;
var health = false;
var Name = "powerUpBuddy";
}
Symbol 4754 MovieClip [__Packages.classes.misc.ShipSwitcher] Frame 0
class classes.misc.ShipSwitcher
{
var shipType, x, y, routine, whichBro, tempLevel, shrapType1, shrapType2;
function ShipSwitcher (pshipType, px, py) {
shipType = pshipType;
x = px;
y = py;
if ((_root.char == "broShip1") || (_root.char == "broShip2")) {
routine = "shipToShip";
} else {
routine = "jetpackToShip";
}
whichBro = (((_root.char == "broShip1") || (_root.char == "bro1")) ? "bro1" : "bro2");
}
function shipToShip() {
c++;
_root.c--;
if (c == 1) {
_root[_root.char].positionForSwitch(_root.newShipClip._x - 103);
}
if (c == 30) {
_root[_root.char + "Clip"].body.gotoAndPlay("open");
_root.newShipClip.ship.gotoAndPlay("open");
}
if (c == 52) {
_root.d++;
_root.attachMovie(whichBro + "Switcher", "jetPackBro", _root.d++);
_root.jetPackBro._x = _root[_root.char].x + 15;
_root.jetPackBro._y = _root[_root.char].y + 3;
if (_root.char2 == "bro1") {
_root.newShipClip.swapDepths(500050);
_root.bro1 = new classes.bro.Bro1(-40, _root.newShipClip._y - 57);
_root.addChar("bro1");
_root.bro1.getInOldShipA();
shipGift = true;
_root.tempShipLevel = ((_root.bro2ShipLevel > 3) ? (_root.bro2ShipLevel - 3) : (_root.bro2ShipLevel + 3));
_root.tempShipVar = _root.bro2ShipVar;
_root.tempLife = _root.bro2Life;
} else if (_root.char2 == "bro2") {
_root.newShipClip.swapDepths(500050);
_root.bro2 = new classes.bro.Bro2(-40, _root.newShipClip._y - 57);
_root.addChar("bro2");
_root.bro2.getInOldShipA();
shipGift = true;
_root.tempShipLevel = ((_root.bro1ShipLevel > 3) ? (_root.bro1ShipLevel - 3) : (_root.bro1ShipLevel + 3));
_root.tempShipVar = _root.bro1ShipVar;
_root.tempLife = _root.bro1Life;
}
}
if (c == 55) {
var _local8 = _root[_root.char].x;
var _local7 = _root[_root.char].y;
_root[_root.char + "Clip"]._x = (_root[_root.char].x = (_root[_root.char].tX = _root.newShipClip._x));
_root[_root.char + "Clip"]._y = (_root[_root.char].y = (_root[_root.char].tY = _root.newShipClip._y));
_root.newShipClip._x = _local8;
_root.newShipClip._y = _local7;
if ((_root.char == "bro2") || (_root.char == "broShip2")) {
_root.newShipClip.gotoAndStop("oldShip2");
if (_root.bro2ShipVar == 1) {
_root.newShipClip.shipStyles.gotoAndStop(_root.bro2ShipLevel);
if (shipType != "ship3B") {
_root[_root.char + "Clip"].body.shipStyles.gotoAndStop(Number(shipType.charAt(4)));
} else {
_root[_root.char + "Clip"].body.shipStyles.gotoAndStop(8);
}
} else {
_root.newShipClip.shipStyles.gotoAndStop(_root.bro2ShipVar);
_root.tempVar2 = _root.bro2ShipVar;
_root[_root.char + "Clip"].body.shipStyles.gotoAndStop(8);
}
tempLevel = _root.bro2ShipLevel;
} else {
_root.newShipClip.gotoAndStop("oldShip1");
if (_root.bro1ShipVar == 1) {
_root.newShipClip.shipStyles.gotoAndStop(_root.bro1ShipLevel);
if (shipType != "ship3B") {
_root[_root.char + "Clip"].body.shipStyles.gotoAndStop(Number(shipType.charAt(4)));
} else {
_root[_root.char + "Clip"].body.shipStyles.gotoAndStop(8);
}
} else {
_root.newShipClip.shipStyles.gotoAndStop(_root.bro1ShipVar);
_root.tempVar2 = _root.bro1ShipVar;
_root[_root.char + "Clip"].body.shipStyles.gotoAndStop(8);
}
tempLevel = _root.bro1ShipLevel;
}
_root.newShipClip.shipStyles.ship.gotoAndStop("open2");
_root[_root.char + "Clip"].body.shipStyles.ship.gotoAndStop("open2");
}
if (c == 100) {
_root.jetPackBro.removeMovieClip();
if (!shipGift) {
_root.newShipClip.shipStyles.ship.gotoAndPlay("close");
}
_root[_root.char].shipUpgrade(shipType);
}
if (c == 120) {
_root[_root.char].control = true;
}
if (c > 120) {
_root.c++;
if (!shipGift) {
_root.newShipClip._y = _root.newShipClip._y - 2;
var _local3 = false;
var _local5 = 0;
var _local6 = _root.broShots.length;
while (_local5 < _local6) {
var _local4 = _root.broShots[_local5] + "Clip";
if (_root.newShipClip.hitTest(_root[_local4])) {
_root.removeBroShot(_root.broShots[_local5]);
_local3 = true;
}
_local5++;
}
_local5 = 0;
_local6 = _root.enemyShots.length;
while (_local5 < _local6) {
var _local4 = _root.enemyShots[_local5] + "Clip";
if (_root.newShipClip.hitTest(_root[_local4])) {
_local3 = true;
}
_local5++;
}
_local5 = 0;
_local6 = _root.chars.length;
while (_local5 < _local6) {
var _local4 = _root.chars[_local5] + "Clip";
if (_root.newShipClip.hitTest(_root[_local4])) {
_local3 = true;
}
_local5++;
}
if (_local3) {
if (random(2) == 1) {
_root.audio.playLevel2("broShip1X", _root.randRange(23, 32));
} else {
_root.audio.playLevel2("broShip2X", _root.randRange(23, 32));
}
_local5 = 0;
_local6 = _root.randRange(5, 8);
while (_local5 < _local6) {
_root.createExploA([(_root.newShipClip._x + (_root.newShipClip._width / 2)) + _root.randRange(-50, 50), (_root.newShipClip._y + (_root.newShipClip._height / 2)) + _root.randRange(-50, 50), _root.randRange(60, 120), _root.randRange(75, 100)]);
_local5++;
}
if (whichBro == "bro1") {
if (_root.tmpVar2 == 7) {
shrapType1 = "broShipBlack";
shrapType2 = "broShipBlackB";
} else if (tempLevel > 3) {
shrapType1 = "BroShip2_" + (tempLevel - 3);
shrapType2 = "broShip2B_" + (tempLevel - 3);
} else {
shrapType1 = "BroShip1_" + tempLevel;
shrapType2 = "broShip1B_" + tempLevel;
}
} else if (_root.tmpVar2 == 7) {
shrapType1 = "BroShipBlack";
shrapType2 = "broShipBlackB";
} else if (tempLevel > 3) {
shrapType1 = "BroShip1_" + (tempLevel - 3);
shrapType2 = "broShip1B_" + (tempLevel - 3);
} else {
shrapType1 = "BroShip2_" + tempLevel;
shrapType2 = "broShip2B_" + tempLevel;
}
_local5 = 0;
while (_local5 < 5) {
_root.createShrapnel([_root.newShipClip._x + (_root.newShipClip._width / 2), _root.newShipClip._y + (_root.newShipClip._height / 2), shrapType1]);
_root.createShrapnel([_root.newShipClip._x + (_root.newShipClip._width / 2), _root.newShipClip._y + (_root.newShipClip._height / 2), shrapType2]);
_local5++;
}
_root.newShipClip.removeMovieClip();
}
}
}
if (c > 400) {
if (!shipGift) {
_root.newShipClip.removeMovieClip();
}
_root.removeFX("shipSwitcher");
}
}
function jetpackToShip() {
c++;
_root.c--;
if (c == 1) {
_root[_root.char].positionForSwitch(_root.newShipClip._y - 57);
}
if (c == 20) {
_root.newShipClip.swapDepths(500050);
_root.newShipClip.ship.gotoAndPlay("open");
}
if (c == 30) {
_root[_root.char].getInShip(_root.newShipClip._y + 3);
}
if (c == 38) {
if (whichBro == "bro1") {
_root.removeChar("bro1");
_root.broShip1 = new classes.bro.BroShip1(_root.newShipClip._x, _root.newShipClip._y);
_root.addChar("broShip1");
_root.char = "broShip1";
} else {
_root.removeChar("bro2");
_root.broShip2 = new classes.bro.BroShip2(_root.newShipClip._x, _root.newShipClip._y);
_root.addChar("broShip2");
_root.char = "broShip2";
}
_root.newShipClip.removeMovieClip();
_root[_root.char].shipUpgrade(shipType);
_root.shield.tagTeam();
}
if (c == 58) {
_root[_root.char].control = true;
_root.removeFX("shipSwitcher");
}
}
function main() {
this[routine]();
}
var c = 0;
var shipGift = false;
var Name = "shipSwitcher";
}
Symbol 4755 MovieClip [__Packages.classes.fx.EnemySoul] Frame 0
class classes.fx.EnemySoul
{
var id, x, y, color, clip, yMov;
function EnemySoul (px, py, pcolor, pid) {
id = pid;
x = px;
y = py;
color = pcolor;
_root.d++;
clip = _root.attachMovie("enemySoul", ("enemySoul" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
var _local3 = random(2) + 1;
clip.gotoAndPlay(color + _local3);
yMov = (-1 * _root.randRange2(1, 3)) * _local3;
clip._alpha = _root.randRange(35, 65);
}
function main() {
if ((y < -5) || (clip.end)) {
_root.removeFX("enemySoul" + id);
}
y = y + yMov;
clip._y = y;
}
var xMov = 0;
var speed = 4;
var Name = "enemySoul";
}
Symbol 4756 MovieClip [__Packages.classes.enemy.BugB] Frame 0
class classes.enemy.BugB
{
var x, y, moveScript, matrixCoords, form, id, clip, colorR, trans, colorTrans, advanceMax, advanceMax2, matrixVar, dir, f2, scc, axis, switchDir, sfc, sfMax, xDest, yDest, oldDir, firing, fc;
function BugB (px, py, pmoveScript, pmatrixCoords, pform, pid) {
x = px;
y = py;
moveScript = pmoveScript.slice();
matrixCoords = pmatrixCoords.slice();
form = pform.slice();
id = pid;
_root.d++;
clip = _root.attachMovie("bugB", ("bugB" + id) + "Clip", _root.d + 50000);
clip._x = x;
clip._y = y;
speed = speed * _root.dif.speed;
speedOrig = speed;
life = life * _root.dif.life;
colorR = _root.randRange(-30, 30);
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, colorR, colorR, colorR, 0);
trans.colorTransform = colorTrans;
advanceMax = 60 / (speed / 2);
advanceMax2 = 50 / (speed / 2);
if (matrixCoords[0] == "free") {
matrixVar = 0;
} else {
matrixVar = 1;
}
speedVar();
if (random(100) > 92) {
pUp = true;
}
clip.body.eye2.eye.gotoAndPlay(10);
clip.body.eye3.eye.gotoAndPlay(20);
parseMoveScript();
_root.stats.created++;
}
function broBehind() {
dir = _root.advanceDir;
}
function bombed(num) {
f2 = "death";
}
function switchScope() {
scc = 0;
getDirString();
f2 = "switchScoping";
c = 5;
speed = speed / 2;
this[axis + "MovT"] = this[axis + "MovT"] / 2;
clip.body.flame.gotoAndStop("still");
_root.audio.playLevel2("bugBSwitch", _root.randRange(8, 15));
}
function switchScoping() {
c++;
if (c == 10) {
scc++;
c = 0;
if ((dir == "U") || (dir == "D")) {
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("bugASwitchFire");
_root.sightClip._x = x;
_root.sightClip._y = y;
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
switchFire("L");
} else {
_root.sightClip._rotation = 180;
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
switchFire("R");
}
}
removeMovieClip(_root.sightClip);
} else {
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("bugASwitchFire");
_root.sightClip._x = x;
_root.sightClip._y = y;
_root.sightClip._rotation = 90;
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
switchFire("U");
} else {
_root.sightClip._rotation = -90;
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
switchFire("D");
}
}
removeMovieClip(_root.sightClip);
}
if (scc > _root.randRange(9, 12)) {
clip.body.gotoAndStop("main");
speed = speedOrig;
this[axis + "MovT"] = this[axis + "MovT"] * 2;
clip.body.flame.gotoAndPlay("start");
f2 = "wander";
}
}
}
function switchFire(tmpDir) {
clip.gotoAndStop("fly" + tmpDir);
switchDir = tmpDir;
c = 0;
sfc = 0;
f2 = "switchFiring";
sfMax = _root.randRange(1, 4);
}
function switchFireBlast() {
clip.body.gotoAndPlay("switchFire");
if (switchDir == "L") {
var _local3 = x - 24;
var _local4 = ((dir == "U") ? (y + 3) : (y + 21));
} else if (switchDir == "R") {
var _local3 = x + 9;
var _local4 = ((dir == "U") ? (y + 3) : (y + 21));
} else if (switchDir == "U") {
var _local3 = ((dir == "L") ? (x + 3) : (x + 21));
var _local4 = y - 36;
} else {
var _local3 = ((dir == "L") ? (x + 3) : (x + 21));
var _local4 = y + 15;
}
_root.enemyShotID++;
_root["bugASwitchBlast" + _root.enemyShotID] = new classes.shots.BugASwitchBlast(_local3, _local4, switchDir, _root.enemyShotID);
_root.addEnemyShot("bugASwitchBlast" + _root.enemyShotID);
_root.audio.playLevel3("bugBSwitchBlast" + (random(2) + 1), _root.randRange(15, 25));
}
function switchFiring() {
c++;
if (c == 10) {
clip.body.gotoAndPlay("switch");
}
if (c == 17) {
switchFireBlast();
}
if (c == 24) {
switchFireBlast();
c = 18;
sfc++;
if (sfc == sfMax) {
clip.body.gotoAndPlay("switchRev");
c = 33;
}
}
if (c == 45) {
clip.gotoAndStop("fly" + dir);
clip.body.gotoAndStop("main");
speed = speedOrig;
this[axis + "MovT"] = this[axis + "MovT"] * 2;
clip.body.flame.gotoAndPlay("start");
}
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.9999, 1.0001);
}
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
if (matrixCoords[0] == "free") {
if (random(2) == 1) {
f2 = "wander";
this[axis + "MovT"] = 0;
axis = ((axis == "y") ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else {
switchScope();
}
} else {
this[axis + "MovT"] = 0;
xDest = ((_root.advanceDir == "L") ? ((matrixCoords[0] * 60) + 320) : (matrixCoords[0] * 60));
yDest = (matrixCoords[1] * 50) + 10;
axis = ((Math.abs(xDest - x) > Math.abs(yDest - y)) ? "x" : "y");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speedVar();
f2 = "gotoMatrix";
}
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function gotoMatrix() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speed = speedOrig;
}
if ((Math.abs(x - xDest) < (speed + 1)) && (Math.abs(y - yDest) < (speed + 1))) {
x = (clip._x = xDest);
y = (clip._y = yDest);
xMovT = (xMov = 0);
yMovT = (yMov = 0);
matrixVar = 2;
dir = _root.advanceDir;
clip.body.flame.gotoAndPlay("still");
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
_root["formB" + form[0]] = "matrixed";
f2 = "wait";
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function evade() {
if (matrixVar == 2) {
matrixVar = 0;
f2 = "wander";
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else if (f2 == "wander") {
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
function wait() {
if ((random(1000) >= (998 + _root.dif.wait)) && (_root.matrixComplete)) {
dir = findDir();
clip.body.flame.gotoAndPlay("start");
if (dir == _root.advanceDir) {
matrixVar = 0;
xMovT = ((_root.advanceDir == "L") ? (-1 * speed) : (speed));
f2 = "attacking";
} else if ((dir == "U") || (dir == "D")) {
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
matrixVar = 0;
c = 0;
f2 = "leavingMatrix";
}
}
}
function leavingMatrix() {
c++;
if (c > advanceMax2) {
c = 0;
dir = findDir();
if (dir == _root.advanceDir) {
yMovT = 0;
xMovT = ((_root.advanceDir == "L") ? (-1 * speed) : (speed));
f2 = "attacking";
}
}
}
function findDir() {
_root.d++;
_root.attachMovie("feeler", "feelerClip", _root.d);
var _local7 = [];
var _local9 = 0;
var _local11 = dirArray.length;
while (_local9 < _local11) {
_root.feelerClip._x = x + feelerInfo[_local9][0];
_root.feelerClip._y = y + feelerInfo[_local9][1];
_root.feelerClip._width = feelerInfo[_local9][2];
_root.feelerClip._height = feelerInfo[_local9][3];
var _local3 = 0;
var _local8 = _root.chars.length;
var _local6 = false;
while (_local3 < _local8) {
var _local5 = _root.chars[_local3] + "Clip";
if (_root.feelerClip.hitTest(_root[_local5])) {
var _local4 = _root.chars[_local3];
if ((_root[_local4].matrixVar == 2) && (_local4 != (Name + id))) {
_local6 = true;
break;
}
}
_local3++;
}
if (!_local6) {
var _local10 = ((_root.advanceDir == "L") ? "R" : "L");
if (dirArray[_local9] != _local10) {
_local7.push(dirArray[_local9]);
}
}
_local9++;
}
_local9 = 0;
_local11 = _local7.length;
if (_local9 < _local11) {
if (_local7[_local9] == _root.advanceDir) {
return(_root.advanceDir);
}
return(_local7[random(_local7.length)]);
}
}
function attacking() {
xMovT = xMovT * 1.03;
yMovT = yMovT * 1.03;
}
function death() {
_root.stats.score = _root.stats.score + 3500;
_root.stats.destroyed++;
_root.powerUp(x, y, 95);
if (matrixVar == 1) {
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
}
var _local3 = 0;
var _local4 = _root["form" + form[0]].length;
while (_local3 < _local4) {
if (_root["form" + form[0]][_local3] == ("bugB" + id)) {
_root["form" + form[0]].splice(_local3, 1);
if (_root["form" + form[0]].length == 0) {
delete _root["form" + form[0]];
if (_root["formB" + form[0]] == "matrixed") {
_root.createPowerUp([x, y, "coin5"]);
_local3 = 0;
_local4 = random(3) + 1;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin5"]);
_local3++;
}
_root.stats.score = _root.stats.score + 3500;
} else {
_local3 = 0;
_local4 = random(3) + 1;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin5"]);
_local3++;
}
_root.stats.score = _root.stats.score + 7000;
}
delete _root["formB" + form[0]];
}
break;
}
_local3++;
}
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(80, 130), _root.randRange(75, 100), "Blue"]);
_root.audio.playLevel4("bugX" + (random(4) + 1), _root.randRange(7, 17));
var _local5 = 0;
var _local6 = random(3);
while (_local5 < _local6) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "bugB", "Blue"]);
_local5++;
}
_root.createEnemySoul([x + (clip._width / 2), y + (clip._height / 2), "blue"]);
_root.removeChar("bugB" + id);
f2 = "";
}
function advance() {
dir = _root.advanceDir;
clip.body.flame.gotoAndPlay("advance");
xMovT = ((_root.advanceDir == "L") ? (-1 * (speed / 2)) : (1 * (speed / 2)));
f2 = "advancing";
}
function advancing() {
c++;
if (c > advanceMax) {
xMovT = 0;
c = 0;
f2 = "wait";
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("hindSight");
_root.sightClip._x = x;
_root.sightClip._y = y;
if (_root.advanceDir == "L") {
_root.sightClip._rotation = 180;
}
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
_root.broBehind();
}
removeMovieClip(_root.sightClip);
}
}
function wander() {
if (random(100) > (98 + _root.dif.wander)) {
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
if (random(100) > (97 + _root.dif.wander)) {
switchScope();
}
}
function death2() {
_root.removeChar("bugB" + id);
f2 = "";
}
function main() {
this[f2]();
if (oldDir != dir) {
clip.gotoAndStop("fly" + dir);
}
oldDir = dir;
if (random(200) >= (199 + _root.dif.wander)) {
_root.d++;
_root.attachMovie("feeler", "feelerClip", _root.d);
if (dir == "L") {
var _local9 = [-310, 0, 300, 50];
} else if (dir == "R") {
var _local9 = [50, 0, 300, 50];
} else if (dir == "U") {
var _local9 = [0, -310, 50, 300];
} else {
var _local9 = [0, 50, 300, 50];
}
_root.feelerClip._x = x + _local9[0];
_root.feelerClip._y = y + _local9[1];
_root.feelerClip._width = _local9[2];
_root.feelerClip._height = _local9[3];
var _local4 = 0;
var _local8 = _root.chars.length;
var _local7 = false;
while (_local4 < _local8) {
var _local6 = _root.chars[_local4] + "Clip";
if (_root.feelerClip.hitTest(_root[_local6])) {
var _local3 = _root.chars[_local4];
if (_root[_local3].Name.substr(0, 3) != "bro") {
_local7 = true;
}
}
_local4++;
}
removeMovieClip(_root.feelerClip);
if (!_local7) {
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip._x = x;
_root.sightClip._y = y;
if (dir == "U") {
_root.sightClip._rotation = 90;
} else if (dir == "R") {
_root.sightClip._rotation = 180;
} else if (dir == "D") {
_root.sightClip._rotation = -90;
}
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
clip.body.charger.gotoAndPlay("fire");
clip.body.eye1.gotoAndPlay("fire");
clip.body.eye2.gotoAndPlay("fire");
clip.body.eye3.gotoAndPlay("fire");
firing = true;
fc = 0;
}
removeMovieClip(_root.sightClip);
}
}
if (firing) {
fc++;
if (fc == 5) {
if (dir == "L") {
var _local11 = x - 24;
var _local13 = y + 12;
var _local14 = x - 24;
var _local12 = y + 6;
} else if (dir == "R") {
var _local11 = x + 9;
var _local13 = y + 12;
var _local14 = x + 9;
var _local12 = y + 6;
} else if (dir == "U") {
var _local11 = x + 12;
var _local13 = y - 24;
var _local14 = x + 6;
var _local12 = y - 24;
} else {
var _local11 = x + 12;
var _local13 = y + 3;
var _local14 = x + 6;
var _local12 = y + 3;
}
_root.enemyShotID++;
_root["bugBFireA" + _root.enemyShotID] = new classes.shots.BugBFireA(_local11, _local13, dir, _root.enemyShotID);
_root.addEnemyShot("bugBFireA" + _root.enemyShotID);
_root.enemyShotID++;
_root["bugBFireB" + _root.enemyShotID] = new classes.shots.BugBFireB(_local14, _local12, dir, _root.enemyShotID);
_root.addEnemyShot("bugBFireB" + _root.enemyShotID);
_root.audio.playLevel3("bugBFire", _root.randRange(15, 25));
}
}
if (nudging) {
xA = xA * 0.5;
yA = yA * 0.5;
nc++;
var _local10 = 255 - (nc * 17);
colorTrans.redOffset = _local10;
colorTrans.greenOffset = _local10;
trans.colorTransform = colorTrans;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
colorTrans.redOffset = colorR;
colorTrans.greenOffset = colorR;
trans.colorTransform = colorTrans;
}
}
var _local4 = 0;
var _local8 = _root.broShots.length;
while (_local4 < _local8) {
var _local6 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local6])) {
var _local3 = _root.broShots[_local4];
var _local5 = life;
life = life - _root[_local3].power;
if (life < 1) {
f2 = "death";
} else {
nudge(_root[_local3].xMov, _root[_local3].yMov, 5);
_root.audio.playLevel4("bugHit" + (random(4) + 1), _root.randRange(7, 15));
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local5);
break;
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
f2 = "death";
}
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
delete _root["form" + form[0]];
delete _root["formB" + form[0]];
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - 1;
} else if (xMovT > xMov) {
xMov = xMov + 1;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 1;
} else if (yMovT > yMov) {
yMov = yMov + 1;
} else {
yMov = yMovT;
}
x = x + (xMov + xA);
y = y + (yMov + yA);
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xmt = 0;
var ymt = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 9;
var speed = 9;
var xDestMet = false;
var yDestMet = false;
var c = 0;
var feelerInfo = [[-400, 0, 400, 40], [0, 0, 400, 40], [0, -400, 40, 400], [0, 0, 40, 400]];
var dirArray = ["L", "R", "U", "D"];
var pUp = false;
var life = 12;
var nudging = false;
var nc = 0;
var xA = 0;
var yA = 0;
var power = 30;
var Name = "bugB";
}
Symbol 4757 MovieClip [__Packages.classes.shots.BugBFireA] Frame 0
class classes.shots.BugBFireA
{
var x, y, id, dir, clip, axis;
function BugBFireA (px, py, pDir, pid) {
x = px;
y = py;
id = pid;
dir = pDir;
_root.d++;
clip = _root.attachMovie("bugBFireA", ("bugBFireA" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip.id = id;
if (dir == "U") {
axis = "y";
yMov = -15;
xMov = 0;
y = y + 15;
} else if (dir == "D") {
axis = "y";
yMov = 15;
xMov = 0;
y = y - 15;
} else if (dir == "R") {
axis = "x";
yMov = 0;
xMov = 15;
x = x - 15;
} else {
axis = "x";
yMov = 0;
xMov = -15;
x = x + 15;
}
xMov = xMov * _root.dif.speed;
yMov = yMov * _root.dif.speed;
clip.gotoAndStop(dir);
xMov = xMov * _root.randRange2(0.9, 1.1);
yMov = yMov * _root.randRange2(0.9, 1.1);
}
function hit() {
yank = true;
}
function main() {
this[axis + "Mov"] = this[axis + "Mov"] * 1.02;
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
yank = true;
}
if ((((x > 1050) || (x < -50)) || (y > 650)) || (y < -50)) {
yank = true;
}
x = x + xMov;
y = y + yMov;
if (yank) {
_root.removeEnemyShot("bugBFireA" + id);
yank = false;
}
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var Name = "bugBFireA";
var power = 20;
var yank = false;
}
Symbol 4758 MovieClip [__Packages.classes.shots.BugBFireB] Frame 0
class classes.shots.BugBFireB
{
var x, y, id, dir, clip, axis;
function BugBFireB (px, py, pDir, pid) {
x = px;
y = py;
id = pid;
dir = pDir;
_root.d++;
clip = _root.attachMovie("bugBFireB", ("bugBFireB" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip.id = id;
if (dir == "U") {
axis = "y";
yMov = -13;
xMov = 0;
y = y + 13;
} else if (dir == "D") {
axis = "y";
yMov = 13;
xMov = 0;
y = y - 13;
} else if (dir == "R") {
axis = "x";
yMov = 0;
xMov = 13;
x = x - 13;
} else {
axis = "x";
yMov = 0;
xMov = -13;
x = x + 13;
}
xMov = xMov * _root.dif.speed;
yMov = yMov * _root.dif.speed;
clip.gotoAndStop(dir);
xMov = xMov * _root.randRange2(0.9, 1.1);
yMov = yMov * _root.randRange2(0.9, 1.1);
}
function hit() {
yank = true;
}
function main() {
this[axis + "Mov"] = this[axis + "Mov"] * 1.02;
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
yank = true;
}
if ((((x > 1050) || (x < -50)) || (y > 650)) || (y < -50)) {
yank = true;
}
x = x + xMov;
y = y + yMov;
if (yank) {
_root.removeEnemyShot("bugBFireB" + id);
yank = false;
}
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var Name = "bugBFireB";
var power = 13;
var yank = false;
}
Symbol 4759 MovieClip [__Packages.classes.enemy.DroidA2] Frame 0
class classes.enemy.DroidA2
{
var x, y, moveScript, id, clip, matrixVar, dir, f2, axis, matrixCoords, xDest, yDest, form, advanceMax2, advanceMax, oldDir;
function DroidA2 (px, py, pmoveScript, pbg, pid) {
x = px;
y = py;
moveScript = pmoveScript.slice();
var _local6 = pbg.slice();
bg = _local6[0];
id = pid;
_root.d++;
clip = _root.attachMovie("droidA", ("droidA2" + id) + "Clip", _root.d + 50000);
clip._x = x;
clip._y = y;
speedVar();
var _local4 = new flash.geom.Transform(clip);
if (!bg) {
var _local3 = _root.randRange(-20, 20);
var _local5 = new flash.geom.ColorTransform(1, 1, 1, 1, _local3, _local3, _local3, 0);
_local4.colorTransform = _local5;
} else {
var _local5 = new flash.geom.ColorTransform(1, 1, 1, 1, -80, -80, -60, 0);
_local4.colorTransform = _local5;
clip._xscale = 66;
clip._yscale = 66;
speed = speed * 0.66;
}
parseMoveScript();
}
function broBehind() {
matrixVar = 0;
yMovT = 0;
if (random(3) == 1) {
var _local3 = _root.randRange2(1.2, 1.4);
xMovT = ((dir == "L") ? ((-1 * _local3) * speed) : (_local3 * speed));
clip.body.gotoAndPlay("attack");
clip.body.face.gotoAndPlay("attack");
clip.body.flame.gotoAndPlay("start");
f2 = "attacking";
} else {
this[axis + "MovT"] = 0;
axis = ((random(2) > 0) ? "y" : "x");
var _local3 = _root.randRange2(0.9, 1.1);
this[axis + "MovT"] = ((random(2) > 0) ? (_local3 * speed) : ((-1 * _local3) * speed));
getDirString();
clip.body.flame.gotoAndPlay("start");
f2 = "wander";
}
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.9999, 1.0001);
}
}
function bombed(num) {
f2 = "death";
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
this[axis + "MovT"] = 0;
if (matrixCoords[0] == "free") {
f2 = "wander";
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
speedVar();
getDirString();
} else {
xDest = ((_root.advanceDir == "L") ? ((matrixCoords[0] * 60) + 320) : (matrixCoords[0] * 60));
yDest = (matrixCoords[1] * 50) + 10;
axis = ((Math.abs(xDest - x) > Math.abs(yDest - y)) ? "x" : "y");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speedVar();
f2 = "gotoMatrix";
}
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function gotoMatrix() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((this[axis + "Dest"] > this[axis]) ? (speed) : (-1 * speed));
getDirString();
speed = speedOrig;
}
if ((Math.abs(x - xDest) < (speed + 1)) && (Math.abs(y - yDest) < (speed + 1))) {
x = (clip._x = xDest);
y = (clip._y = yDest);
xMovT = (xMov = 0);
yMovT = (yMov = 0);
matrixVar = 2;
dir = _root.advanceDir;
clip.body.flame.gotoAndPlay("still");
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
_root["formB" + form[0]] = "matrixed";
f2 = "wait";
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function wait() {
if ((random(1000) >= 998) && (_root.matrixComplete)) {
dir = findDir();
if (dir == _root.advanceDir) {
xMovT = ((_root.advanceDir == "L") ? (-1.3 * speed) : (1.3 * speed));
clip.body.gotoAndPlay("attack");
clip.body.face.gotoAndPlay("attack");
clip.body.flame.gotoAndPlay("start");
f2 = "attacking";
matrixVar = 0;
} else if ((dir == "U") || (dir == "D")) {
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
matrixVar = 0;
c = 0;
f2 = "leavingMatrix";
clip.body.flame.gotoAndPlay("start");
} else {
dir = _root.advanceDir;
}
}
}
function leavingMatrix() {
c++;
if (c > advanceMax2) {
c = 0;
dir = findDir();
if (dir == _root.advanceDir) {
yMovT = 0;
xMovT = ((_root.advanceDir == "L") ? (-1.3 * speed) : (1.3 * speed));
clip.body.gotoAndPlay("attack");
clip.body.face.gotoAndPlay("attack");
f2 = "attacking";
}
}
}
function findDir() {
_root.d++;
_root.attachMovie("feeler", "feelerClip", _root.d);
var _local7 = [];
var _local9 = 0;
var _local11 = dirArray.length;
while (_local9 < _local11) {
_root.feelerClip._x = x + feelerInfo[_local9][0];
_root.feelerClip._y = y + feelerInfo[_local9][1];
_root.feelerClip._width = feelerInfo[_local9][2];
_root.feelerClip._height = feelerInfo[_local9][3];
var _local3 = 0;
var _local8 = _root.chars.length;
var _local6 = false;
while (_local3 < _local8) {
var _local5 = _root.chars[_local3] + "Clip";
if (_root.feelerClip.hitTest(_root[_local5])) {
var _local4 = _root.chars[_local3];
if ((_root[_local4].matrixVar == 2) && (_local4 != (Name + id))) {
_local6 = true;
break;
}
}
_local3++;
}
if (!_local6) {
var _local10 = ((_root.advanceDir == "L") ? "R" : "L");
if (dirArray[_local9] != _local10) {
_local7.push(dirArray[_local9]);
}
}
_local9++;
}
_local9 = 0;
_local11 = _local7.length;
if (_local9 < _local11) {
if (_local7[_local9] == _root.advanceDir) {
return(_root.advanceDir);
}
return(_local7[random(_local7.length)]);
}
}
function attacking() {
}
function death() {
if (matrixVar == 1) {
_root.matrixNum++;
if (_root.matrixNum >= _root.matrixSize) {
_root.matrixComplete = true;
}
}
_root.powerUp(x, y, 96);
var _local3 = 0;
var _local4 = _root["form" + form[0]].length;
while (_local3 < _local4) {
if (_root["form" + form[0]][_local3] == ("droidA2" + id)) {
_root["form" + form[0]].splice(_local3, 1);
if (_root["form" + form[0]].length == 0) {
delete _root["form" + form[0]];
if (_root["formB" + form[0]] == "matrixed") {
_root.createPowerUp([x, y, "coin1"]);
} else {
_root.createPowerUp([x, y, "coin1"]);
}
delete _root["formB" + form[0]];
}
break;
}
_local3++;
}
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(80, 130), _root.randRange(75, 100)]);
_local3 = 0;
_local4 = random(3);
while (_local3 < _local4) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "droidA2"]);
_local3++;
}
_root.createDroidA2Soul([x + (clip._width / 2), y + (clip._height / 2)]);
_root.removeChar("droidA2" + id);
f2 = "";
}
function advance() {
dir = _root.advanceDir;
clip.body.flame.gotoAndPlay("advance");
xMovT = ((_root.advanceDir == "L") ? (-1 * (speed / 2)) : (1 * (speed / 2)));
f2 = "advancing";
}
function advancing() {
c++;
if (c > advanceMax) {
xMovT = 0;
c = 0;
f2 = "wait";
_root.d++;
_root.attachMovie("sight", "sightClip", _root.d);
_root.sightClip.gotoAndStop("hindSight");
_root.sightClip._x = x;
_root.sightClip._y = y;
if (_root.advanceDir == "L") {
_root.sightClip._rotation = 180;
}
if (_root.sightClip.hitTest(_root[_root.char].x, _root[_root.char].y, true)) {
_root.broBehind();
}
removeMovieClip(_root.sightClip);
}
}
function wander() {
if (random(100) > 98) {
this[axis + "MovT"] = 0;
axis = ((axis == "x") ? "y" : "x");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
function death2() {
_root.removeChar("droidA2" + id);
f2 = "";
}
function main() {
this[f2]();
if (oldDir != dir) {
clip.gotoAndStop("fly" + dir);
}
oldDir = dir;
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
delete _root["form" + form[0]];
delete _root["formB" + form[0]];
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - 1;
} else if (xMovT > xMov) {
xMov = xMov + 1;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 1;
} else if (yMovT > yMov) {
yMov = yMov + 1;
} else {
yMov = yMovT;
}
xmt = xMov;
ymt = yMov;
if (random(10) == 1) {
if (axis == "y") {
xmt = xmt + _root.randRange2(-1, 1);
} else {
ymt = ymt + _root.randRange2(-1, 1);
}
}
x = x + xmt;
y = y + ymt;
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xmt = 0;
var ymt = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 8;
var speed = 8;
var xDestMet = false;
var yDestMet = false;
var c = 0;
var feelerInfo = [[-400, 0, 400, 40], [0, 0, 400, 40], [0, -400, 40, 400], [0, 0, 40, 400]];
var dirArray = ["L", "R", "U", "D"];
var power = 15;
var bg = false;
var Name = "droidA2";
}
Symbol 4760 MovieClip [__Packages.classes.misc.Audio] Frame 0
class classes.misc.Audio
{
var which1, targetVol, fadeOutSecs, fadeInSecs, currentVol;
function Audio () {
}
function playLevel5(pwhich, pvol) {
var _local2 = pwhich;
var _local3 = pvol * 3;
_root.aC5.s5.stop();
_root.aC5.s5.attachSound(_local2);
_root.aC5.s5.setVolume(_local3);
_root.aC5.s5.start();
}
function playLevel4(pwhich, pvol) {
var _local2 = pwhich;
var _local3 = pvol * 3;
_root.aC5.s5.stop();
_root.aC4.s4.stop();
_root.aC4.s4.attachSound(_local2);
_root.aC4.s4.setVolume(_local3);
_root.aC4.s4.start();
}
function playLevel3(pwhich, pvol) {
var _local2 = pwhich;
var _local3 = pvol * 3;
_root.aC4.s4.stop();
_root.aC5.s5.stop();
_root.aC3.s3.stop();
_root.aC3.s3.attachSound(_local2);
_root.aC3.s3.setVolume(_local3);
_root.aC3.s3.start();
}
function playLevel2(pwhich, pvol) {
var _local2 = pwhich;
var _local3 = pvol * 3;
_root.aC2.s2.stop();
_root.aC2.s2.attachSound(_local2);
_root.aC2.s2.setVolume(_local3);
_root.aC2.s2.start();
}
function playLevel1(pwhich, pvol, pfadeOutSecs, pfadeInSecs) {
which1 = pwhich;
targetVol = pvol * 3;
fadeOutSecs = pfadeOutSecs;
fadeInSecs = pfadeInSecs;
currentVol = _root.aC1.s1.getVolume();
if (currentVol == 0) {
currentVol = 1;
}
level1FadeOut = true;
c = 0;
}
function main() {
if (level1FadeOut) {
c++;
var _local3 = currentVol - (c * (currentVol / (fadeOutSecs * 30)));
_root.aC1.s1.setVolume(_local3);
if (_local3 < 0) {
_root.aC1.s1.stop();
_root.aC1.s1.attachSound(which1);
_root.aC1.s1.setVolume(0);
var _local4 = (((which1 == "gammaThemeInstr") || (which1 == "gammaThemeAcoustic")) ? 0 : 999);
_root.aC1.s1.start(0, _local4);
level1FadeOut = false;
level1FadeIn = true;
c = 0;
}
}
if (level1FadeIn) {
c++;
var _local3 = c * (targetVol / (fadeInSecs * 30));
_root.aC1.s1.setVolume(_local3);
if (_local3 >= targetVol) {
_root.aC1.s1.setVolume(targetVol);
level1FadeIn = false;
}
}
}
var level1FadeOut = false;
var level1FadeIn = false;
var c = 0;
var Name = "audio";
}
Symbol 4761 MovieClip [__Packages.classes.fx.ExploB] Frame 0
class classes.fx.ExploB
{
var id, x, y, scale, a, typeVar, dir, clip;
function ExploB (px, py, pscale, pa, ptypeVar, pid) {
id = pid;
x = px;
y = py;
scale = pscale;
a = pa;
typeVar = ptypeVar;
var _local3 = ["L", "R", "U", "D"];
dir = _local3[random(4)];
_root.d++;
clip = _root.attachMovie("explo" + typeVar, ("exploB" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip._xscale = scale;
clip._yscale = scale;
clip._alpha = a;
}
function main() {
c++;
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(_root.randRange(-9, 9), _root.randRange(-9, 9), scale - c, power - (c / 3));
}
if (clip.end) {
_root.removeEnemyShot("exploB" + id);
}
}
var c = 0;
var power = 50;
var Name = "exploB";
}
Symbol 4762 MovieClip [__Packages.classes.enemy.ShipBoss] Frame 0
class classes.enemy.ShipBoss
{
var x, y, color, moveScript, d, clip, lifeOrig, trans, colorTrans, dir, f2, axis, xDest, yDest, ep, laserCount, laserMax, oldDir, colorR;
function ShipBoss (px, py, pcolor, pmoveScript) {
x = px;
y = py;
color = pcolor;
moveScript = pmoveScript.slice();
_root.d++;
d = _root.d + 190000;
clip = _root.attachMovie("shipBoss", ("shipBoss" + color) + "Clip", d);
clip._x = x;
clip._y = y;
speed = speed * _root.dif.speed;
speedOrig = speed;
life = life * _root.dif.life;
lifeOrig = life;
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0);
clip.body.colors.gotoAndStop(color);
clip.body.flame1.gotoAndPlay("main");
clip.body.flame2.gotoAndPlay("main");
clip.swapDepths(this["d" + color]);
foreground = false;
smoke = false;
colorTrans.blueOffset = -255;
colorTrans.redOffset = -255;
colorTrans.greenOffset = -255;
trans.colorTransform = colorTrans;
clip._xscale = 66;
clip._yscale = 66;
speed = speed * 0.66;
parseMoveScript();
_root.shipBossCount = 3;
_root.boss = true;
if (color == "Green") {
clip.body.windShield.gotoAndStop(2);
}
if (color == "Red") {
clip.body.windShield.gotoAndStop(3);
life = 1000;
speed = 18;
speedOrig = 18;
speed = speed * _root.dif.speed;
speedOrig = speed;
life = life * _root.dif.life;
}
_root.stats.created++;
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 600;
xA = pxA * _local2;
yA = pyA * _local2;
}
function bombed(num) {
}
function parseMoveScript() {
var _local2 = dir;
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
f2 = "flying";
dir = _local2;
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function leaving() {
xMovT * 1.04;
}
function blast(flameVar) {
if (flameVar) {
clip.body.flame1.gotoAndPlay("end");
clip.body.flame2.gotoAndPlay("end");
}
xMovT = 0;
yMovT = 0;
smoke = false;
clip.body.gotoAndPlay("fireStart");
clip.body.colors.clip.gotoAndPlay("fireStart");
f2 = "blasting";
c = 0;
_root.audio.playLevel2("shipBossBlast2", _root.randRange(45, 65));
}
function blasting() {
c++;
if (c == 6) {
clip.body.charge.gotoAndPlay("go");
}
if (c == 30) {
var _local3 = ((dir == "L") ? 9 : 39);
_root["shipBossBlast" + color] = new classes.shots.ShipBossBlast(x + _local3, y + 12, color, dir, color);
_root.addEnemyShot("shipBossBlast" + color);
var _local4 = ((dir == "L") ? 50 : -50);
nudge(_local4, 0, 100);
}
}
function closeTurrets() {
clip.body.gotoAndPlay("fireEnd");
clip.body.colors.clip.gotoAndPlay("fireEnd");
}
function endBlast() {
actionCount++;
if (actionCount == 1) {
fly(true);
} else if (random(2) > 0) {
strafe(false);
} else {
fly(true);
}
}
function fly(fly2) {
if (fly2) {
f2 = "flying2";
} else {
f2 = "flying";
}
smoke = true;
clip.body.flame1.gotoAndPlay("start");
clip.body.flame2.gotoAndPlay("start");
this[axis + "MovT"] = ((dir == "R") ? (speed) : (-1 * speed));
}
function missleRun() {
c = 0;
ep = _root.randRange(2, 20);
f2 = "missleRunning";
}
function missleRunning() {
c++;
if (c == ep) {
if (dir == "U") {
var _local3 = 3;
var _local5 = 24;
var _local6 = 30;
var _local4 = 24;
} else {
var _local3 = 3;
var _local5 = 3;
var _local6 = 30;
var _local4 = 3;
}
_root.enemyShotID++;
_root["shipBossMissle" + _root.enemyShotID] = new classes.shots.ShipBossMissle(x + _local3, y + _local5, color, dir, speed, _root.enemyShotID);
_root.addEnemyShot("shipBossMissle" + _root.enemyShotID);
_root.enemyShotID++;
_root["shipBossMissle" + _root.enemyShotID] = new classes.shots.ShipBossMissle(x + _local6, y + _local4, color, dir, speed, _root.enemyShotID);
_root.addEnemyShot("shipBossMissle" + _root.enemyShotID);
if (speed > 12) {
c = 0;
ep = _root.randRange(7, 20);
}
_root.audio.playLevel3("shipBossMissle2", _root.randRange(10, 20));
}
}
function strafe(flameVar) {
if (flameVar) {
clip.body.flame1.gotoAndPlay("end");
clip.body.flame2.gotoAndPlay("end");
}
xMovT = 0;
c = 0;
ep = _root.randRange(30, 300);
smoke = false;
yMovT = ((random(2) > 0) ? (speed * 0.215) : (speed * -0.215));
f2 = "strafing";
}
function strafing() {
c++;
if (random(200) > 198) {
blast(false);
} else if (random(100) > 97) {
fireLaser();
}
if (y < 120) {
yMovT = speed * 0.215;
}
if (y > 430) {
yMovT = speed * -0.215;
}
if (c == ep) {
yMovT = 0;
fly(true);
}
}
function fireLaser() {
clip.body.gotoAndPlay("fireStart");
clip.body.colors.clip.gotoAndPlay("fireStart");
f2 = "firingLaser";
laserCount = 0;
laserMax = ((speed == 12) ? (_root.randRange(1, 3)) : (_root.randRange(2, 5)));
c = 0;
}
function firingLaser() {
c++;
if (c == 15) {
if (dir == "L") {
var _local3 = -24;
var _local9 = -3;
var _local10 = -24;
var _local8 = 30;
var _local7 = -24;
var _local5 = -12;
var _local6 = -24;
var _local4 = 30;
} else {
var _local3 = 45;
var _local9 = -3;
var _local10 = 45;
var _local8 = 30;
var _local7 = 45;
var _local5 = -12;
var _local6 = 45;
var _local4 = 30;
}
_root.enemyShotID++;
_root["shipBossLaserA" + _root.enemyShotID] = new classes.shots.ShipBossLaserA(x + _local3, y + _local9, color, dir, speed, _root.enemyShotID);
_root.addEnemyShot("shipBossLaserA" + _root.enemyShotID);
_root.enemyShotID++;
_root["shipBossLaserA" + _root.enemyShotID] = new classes.shots.ShipBossLaserA(x + _local10, y + _local8, color, dir, speed, _root.enemyShotID);
_root.addEnemyShot("shipBossLaserA" + _root.enemyShotID);
_root.enemyShotID++;
_root["shipBossLaserB" + _root.enemyShotID] = new classes.shots.ShipBossLaserB(x + _local7, y + _local5, color, "U" + dir, speed, _root.enemyShotID);
_root.addEnemyShot("shipBossLaserB" + _root.enemyShotID);
_root.enemyShotID++;
_root["shipBossLaserB" + _root.enemyShotID] = new classes.shots.ShipBossLaserB(x + _local6, y + _local4, color, "D" + dir, speed, _root.enemyShotID);
_root.addEnemyShot("shipBossLaserB" + _root.enemyShotID);
_root.audio.playLevel3("shipBossLaser", _root.randRange(25, 40));
c = 0;
laserCount++;
if (laserCount == laserMax) {
yMovT = 0;
closeTurrets();
c = 100;
}
}
if (c == 108) {
yMovT = 0;
fly(true);
}
if (y < 120) {
yMovT = speed * 0.215;
}
if (y > 430) {
yMovT = speed * -0.215;
}
}
function flying() {
if (foreground) {
if (((x < 850) && (x > 100)) && (actionCount == 0)) {
blast(true);
} else if (((((x < 870) && (x > 80)) && (y > 80)) && (y < 470)) && (actionCount > 3)) {
if (axis == "x") {
var _local2 = random(3);
if (_local2 == 0) {
blast(true);
} else if (_local2 == 1) {
strafe(true);
} else {
f2 = "";
}
} else {
missleRun();
}
}
} else if (((x < 1000) && (x > 0)) && (actionCount == 2)) {
actionCount++;
moveScript = this["moveScript1" + color];
parseMoveScript();
} else if (random(100) > 96) {
if ((((axis == "y") && (y > 100)) && (y < 450)) && (actionCount > 3)) {
yMovT = 0;
axis = "x";
xMovT = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
} else if (random(100) > 98) {
if (((axis == "x") && (x < 850)) && (x > 100)) {
xMovT = 0;
axis = "y";
yMovT = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
}
function goBackground() {
clip.swapDepths(this["d" + color]);
foreground = false;
smoke = false;
colorTrans.blueOffset = -255;
colorTrans.redOffset = -255;
colorTrans.greenOffset = -255;
trans.colorTransform = colorTrans;
clip._xscale = 66;
clip._yscale = 66;
speed = speed * 0.66;
xMovT = xMovT * 0.66;
yMovT = yMovT * 0.66;
reverseDir();
f2 = "flying";
actionCount++;
}
function goForeground() {
clip.swapDepths(d);
foreground = true;
smoke = true;
colorTrans.blueOffset = 0;
colorTrans.redOffset = 0;
colorTrans.greenOffset = 0;
trans.colorTransform = colorTrans;
clip._xscale = 100;
clip._yscale = 100;
speed = speedOrig;
xMovT = xMovT / 0.66;
yMovT = yMovT / 0.66;
reverseDir();
delete moveScript;
f2 = "flying";
}
function death() {
_root.audio.playLevel2("shipBossX" + (random(3) + 1), _root.randRange(30, 40));
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 10000;
var _local3 = color;
if (_local3 == "Orange") {
_local3 = "Red";
}
var _local4 = 0;
var _local5 = _root.randRange(5, 8);
while (_local4 < _local5) {
_root.createExploA([(x + (clip._width / 2)) + _root.randRange(-50, 50), (y + (clip._height / 2)) + _root.randRange(-50, 50), _root.randRange(80, 150), _root.randRange(75, 100), _local3]);
_local4++;
}
_local4 = 0;
_local5 = _root.randRange(6, 10);
while (_local4 < _local5) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "shipBoss" + color, _local3, true]);
_local4++;
}
if (color != "Red") {
_root.createPowerUp([x, y, "coin10"]);
_root.createPowerUp([x, y, "coin10"]);
_root.createPowerUp([x, y, "coin10"]);
} else {
_root.createPowerUp([x, y, "coin25"]);
_root.createPowerUp([x, y, "coin25"]);
_root.createPowerUp([x, y, "coin25"]);
}
if (color == "Orange") {
_root.createPowerUp([x, y, "weaponBoost"]);
} else if (color == "Green") {
_root.createPowerUp([x, y, "speedBoost"]);
} else if (color == "Purple") {
_root.createPowerUp([x, y, "lifeUp"]);
_root.createPowerUp([x, y, "lifeUp"]);
} else {
_root.createPowerUp([x, y, "lifeUp"]);
_root.createPowerUp([x, y, "lifeUp"]);
_root.createPowerUp([x, y, "shield"]);
}
_root.shipBossOrange.speed = _root.shipBossOrange.speed + 3;
_root.shipBossGreen.speed = _root.shipBossGreen.speed + 3;
_root.shipBossPurple.speed = _root.shipBossPurple.speed + 3;
_root.shipBossOrange.speedOrig = _root.shipBossOrange.speedOrig + 3;
_root.shipBossGreen.speedOrig = _root.shipBossGreen.speedOrig + 3;
_root.shipBossPurple.speedOrig = _root.shipBossPurple.speedOrig + 3;
_root.shipBossCount--;
if (_root.shipBossCount == 0) {
delete _root.shipBossCount;
_root.boss = false;
_root.initLevel2();
}
if (color == "Red") {
_root.removeRandoms([1]);
_root.boss = false;
}
_root.removeChar("shipBoss" + color);
}
function death2() {
_root.removeChar("shipBoss" + color);
}
function reverseDir() {
if (dir == "L") {
dir = "R";
xMovT = speed;
yMovT = 0;
x = x + 150;
} else if (dir == "R") {
dir = "L";
xMovT = -1 * speed;
yMovT = 0;
x = x - 150;
} else if (dir == "U") {
dir = "D";
xMovT = 0;
yMovT = speed;
y = y + 150;
} else if (dir == "D") {
dir = "U";
xMovT = 0;
yMovT = -1 * speed;
y = y - 150;
}
}
function main() {
this[f2]();
if (oldDir != dir) {
clip.gotoAndStop(dir);
}
oldDir = dir;
if (foreground) {
if (nudging) {
xA = xA * 0.7;
yA = yA * 0.7;
nc++;
var _local8 = 255 - (nc * 17);
colorTrans.redOffset = _local8;
trans.colorTransform = colorTrans;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
colorTrans.blueOffset = colorR;
colorTrans.greenOffset = colorR;
colorTrans.redOffset = colorR;
trans.colorTransform = colorTrans;
}
}
var _local4 = 0;
var _local7 = _root.broShots.length;
while (_local4 < _local7) {
var _local6 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local6])) {
if ((((x < 950) && (x > 0)) && (y > 0)) && (y < 550)) {
var _local3 = _root.broShots[_local4];
var _local5 = life;
life = life - _root[_local3].power;
clip.body.d1.gotoAndStop(Math.ceil((100 - ((life / lifeOrig) * 100)) / 20));
clip.body.d2.gotoAndStop(Math.ceil((100 - ((life / lifeOrig) * 100)) / 20));
clip.body.d3.gotoAndStop(Math.ceil((100 - ((life / lifeOrig) * 100)) / 20));
if (life < 1) {
f2 = "death";
} else {
nudge(_root[_local3].xMov, _root[_local3].yMov, 10);
_root.audio.playLevel4("shipBossHit" + (random(3) + 1), _root.randRange(15, 25));
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local5);
}
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
nudge(_root.randRange(-6, 6), _root.randRange(-6, 6), 100);
}
}
if (smoke) {
if (random(10) > 6) {
if (dir == "L") {
var _local10 = x + 51;
var _local9 = y + _root.randRange(12, 27);
} else if (dir == "R") {
var _local10 = x + -6;
var _local9 = y + _root.randRange(12, 27);
} else if (dir == "U") {
var _local10 = x + _root.randRange(12, 27);
var _local9 = y + 48;
} else {
var _local10 = x + _root.randRange(12, 27);
var _local9 = y + -6;
}
_root.shrapID++;
_root["shipSmoke" + _root.shrapID] = new classes.fx.ShipSmoke(_local10, _local9, _root.shrapID);
_root.addFX("shipSmoke" + _root.shrapID);
}
}
if ((((x > 1200) || (x < -200)) || (y < -200)) || (y > 800)) {
if (foreground) {
goBackground();
} else {
goForeground();
}
}
if (xMovT < xMov) {
xMov = xMov - 2;
} else if (xMovT > xMov) {
xMov = xMov + 2;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 2;
} else if (yMovT > yMov) {
yMov = yMov + 2;
} else {
yMov = yMovT;
}
x = x + (xMov + xA);
y = y + (yMov + yA);
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 12;
var speed = 12;
var xDestMet = false;
var yDestMet = false;
var c = 0;
var life = 100;
var nc = 0;
var xA = 0;
var yA = 0;
var nudging = false;
var power = 25;
var foreground = true;
var smoke = true;
var actionCount = 0;
var dOrange = 20;
var dPurple = 21;
var dGreen = 22;
var dRed = 23;
var moveScript1Orange = ["L", 820, "U", 1000, "break"];
var moveScript1Purple = ["R", 450, "D", 1000, "break"];
var moveScript1Green = ["L", 190, "U", 1000, "break"];
var moveScript1Red = ["L", 190, "break"];
var Name = "shipBoss";
}
Symbol 4763 MovieClip [__Packages.classes.shots.ShipBossBlast] Frame 0
class classes.shots.ShipBossBlast
{
var id, x, y, dir, color, xInc, l, clip, startClip, endClip;
function ShipBossBlast (px, py, pcolor, pdir, pid) {
id = pid;
x = px;
y = py;
dir = pdir;
color = pcolor;
xInc = ((dir == "L") ? -15 : 15);
l = _root.randRange(3, 6);
_root.d++;
clip = _root.createEmptyMovieClip(("shipBossBlast" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
_root.d++;
startClip = clip.attachMovie("shipBossBlast", "shipBossBlastSegBlastClip" + id, _root.d);
startClip.gotoAndStop(color + dir);
startClip.segment.gotoAndStop("blast");
x2 = x2 + xInc;
_root.d++;
endClip = clip.attachMovie("shipBossBlast", "shipBossBlastSegEndCapClip" + id, _root.d);
endClip._x = x2;
endClip.gotoAndStop(color + dir);
endClip.segment.gotoAndStop("startCap");
}
function main() {
c++;
if (((x + ((c - 1) * xInc)) < 1150) && ((x + ((c - 1) * xInc)) > -150)) {
_root.d++;
var _local3 = clip.attachMovie("shipBossBlast", (("shipBossBlastSeg" + c) + "Clip") + id, _root.d);
_local3.gotoAndStop(color + dir);
_local3.segment.gotoAndStop("mid");
_local3._x = x2;
xInc = ((dir == "L") ? -50 : 50);
x2 = x2 + xInc;
endClip._x = endClip._x + xInc;
}
if (c > l) {
if (!endMessageSent) {
_root["shipBoss" + id].closeTurrets();
endMessageSent = true;
startClip.segment.gotoAndStop("endCap");
}
removeMovieClip(clip[(("shipBossBlastSeg" + (c - l)) + "Clip") + id]);
startClip._x = startClip._x + xInc;
}
if (_root["shipBoss" + id].f2 == "blasting") {
clip._x = ((dir == "L") ? (_root["shipBoss" + id].x + 9) : (_root["shipBoss" + id].x + 39));
clip._y = _root["shipBoss" + id].y + 18;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xInc, 0, 100, power);
}
if ((c > 3) && (Math.abs(endClip._x - startClip._x) < 100)) {
_root["shipBoss" + id].endBlast();
_root.removeEnemyShot("shipBossBlast" + id);
}
}
var power = 50;
var c = 1;
var endMessageSent = false;
var x2 = 0;
var Name = "shipBossBlast";
}
Symbol 4764 MovieClip [__Packages.classes.shots.ShipBossMissle] Frame 0
class classes.shots.ShipBossMissle
{
var x, y, id, dir, speed, color, clip, axis, ac, ep, cv;
function ShipBossMissle (px, py, pcolor, pdir, pspeed, pid) {
x = px;
y = py;
id = pid;
dir = pdir;
speed = pspeed * 0.66;
color = pcolor;
_root.d++;
clip = _root.attachMovie("shipBossMissle", ("shipBossMissle" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip.id = id;
xMov = 0;
yMov = 0;
if (dir == "U") {
axis = "y";
yMovT = -1 * speed;
xMovT = 0;
} else if (dir == "D") {
axis = "y";
yMovT = speed;
xMovT = 0;
} else if (dir == "R") {
axis = "x";
yMovT = 0;
xMovT = speed;
} else {
axis = "x";
yMovT = 0;
xMovT = -1 * speed;
}
clip.color = color;
clip.gotoAndStop("fly" + dir);
xMovT = xMovT * _root.randRange2(0.9, 1.1);
yMovT = yMovT * _root.randRange2(0.9, 1.1);
ac = 0;
ep = _root.randRange(10, 30);
if (speed == 12) {
cv = 0.5;
} else if (speed == 15) {
cv = 0.75;
} else {
cv = 1;
}
}
function hit() {
var _local5 = color;
if (_local5 == "Orange") {
_local5 = "Red";
}
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(60, 80), _root.randRange(85, 100), _local5]);
var _local3 = 0;
var _local4 = random(3);
while (_local3 < _local4) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "shipBossMissle" + color]);
_local3++;
}
_root.powerUp(x, y, 90);
yank = true;
}
function bombed() {
var _local5 = color;
if (_local5 == "Orange") {
_local5 = "Red";
}
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(60, 80), _root.randRange(85, 100), _local5]);
var _local3 = 0;
var _local4 = random(3);
while (_local3 < _local4) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "shipBossMissle" + color]);
_local3++;
}
_root.powerUp(x, y, 90);
yank = true;
}
function main() {
ac++;
if (ac == ep) {
var _local7 = _root.getAngleRad(x, y);
xMovT = speed * Math.round(Math.cos(_local7));
yMovT = speed * Math.round(Math.sin(_local7));
if (xMovT < -1) {
var _local8 = "L";
} else if (xMovT > 1) {
var _local8 = "R";
} else {
var _local8 = "";
}
if (yMovT < -1) {
var _local9 = "U";
} else if (yMovT > 1) {
var _local9 = "D";
} else {
var _local9 = "";
}
clip.gotoAndStop(("fly" + _local8) + _local9);
ac = 0;
ep = _root.randRange(10, 30);
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(60, 80), _root.randRange(85, 100)]);
_root.audio.playLevel4("missleX" + (random(3) + 1), _root.randRange(15, 25));
var _local3 = 0;
var _local5 = random(3);
while (_local3 < _local5) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "shipBossMissle" + color]);
_local3++;
}
yank = true;
}
var _local3 = 0;
var _local5 = _root.broShots.length;
while (_local3 < _local5) {
var _local6 = _root.broShots[_local3] + "Clip";
if (clip.hitTest(_root[_local6])) {
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
var _local4 = _root.broShots[_local3];
_root[_local4].exploX = x + (clip._width / 2);
_root[_local4].exploY = y + (clip._height / 2);
_root[_local4].hit(2);
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(60, 80), _root.randRange(85, 100)]);
_root.audio.playLevel4("missleX" + (random(3) + 1), _root.randRange(25, 30));
_local3 = 0;
_local5 = random(3);
while (_local3 < _local5) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "shipBossMissle" + color]);
_local3++;
}
_root.powerUp(x, y, 89);
yank = true;
}
_local3++;
}
if ((((x > 1050) || (x < -50)) || (y > 650)) || (y < -50)) {
yank = true;
}
if (xMovT < xMov) {
xMov = xMov - cv;
} else if (xMovT > xMov) {
xMov = xMov + cv;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - cv;
} else if (yMovT > yMov) {
yMov = yMov + cv;
} else {
yMov = yMovT;
}
x = x + xMov;
y = y + yMov;
if (yank) {
_root.removeEnemyShot("shipBossMissle" + id);
yank = false;
}
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xMovT = 0;
var yMovT = 0;
var Name = "shipBossMissle";
var power = 25;
var yank = false;
}
Symbol 4765 MovieClip [__Packages.classes.shots.ShipBossLaserA] Frame 0
class classes.shots.ShipBossLaserA
{
var x, y, id, dir, speed, color, clip;
function ShipBossLaserA (px, py, pcolor, pDir, pspeed, pid) {
x = px;
y = py;
id = pid;
dir = pDir;
speed = pspeed;
color = pcolor;
_root.d++;
clip = _root.attachMovie("shipBossLaserA", ("shipBossLaserA" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip.id = id;
if (dir == "L") {
xMov = -1 * speed;
yMov = 0;
x = x + speed;
} else {
xMov = speed;
yMov = 0;
x = x - speed;
}
clip.gotoAndStop(color);
}
function hit() {
yank = true;
}
function main() {
xMov = xMov * 1.02;
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
yank = true;
}
if ((((x > 1050) || (x < -50)) || (y > 650)) || (y < -50)) {
yank = true;
}
if (yank) {
_root.removeEnemyShot("shipBossLaserA" + id);
yank = false;
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var Name = "shipBossLaserA";
var power = 20;
var yank = false;
}
Symbol 4766 MovieClip [__Packages.classes.shots.ShipBossLaserB] Frame 0
class classes.shots.ShipBossLaserB
{
var x, y, id, dir, speed, color, clip;
function ShipBossLaserB (px, py, pcolor, pDir, pspeed, pid) {
x = px;
y = py;
id = pid;
dir = pDir;
speed = pspeed;
color = pcolor;
_root.d++;
clip = _root.attachMovie("shipBossLaserB", ("shipBossLaserB" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip.id = id;
if (dir == "UL") {
xMov = -1 * speed;
yMov = -0.66 * speed;
x = x + speed;
y = y + (0.66 * speed);
} else if (dir == "DL") {
xMov = -1 * speed;
yMov = 0.66 * speed;
x = x + speed;
y = y - (0.66 * speed);
} else if (dir == "UR") {
xMov = speed;
yMov = -0.66 * speed;
x = x - speed;
y = y + (0.66 * speed);
} else if (dir == "DR") {
xMov = speed;
yMov = 0.66 * speed;
x = x - speed;
y = y - (0.66 * speed);
}
clip.gotoAndStop(color + dir);
}
function hit() {
yank = true;
}
function main() {
xMov = xMov * 1.02;
yMov = yMov * 1.02;
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
yank = true;
}
if ((((x > 1050) || (x < -50)) || (y > 650)) || (y < -50)) {
yank = true;
}
if (yank) {
_root.removeEnemyShot("shipBossLaserB" + id);
yank = false;
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var Name = "shipBossLaserB";
var power = 20;
var yank = false;
}
Symbol 4767 MovieClip [__Packages.classes.enemy.BlasterA] Frame 0
class classes.enemy.BlasterA
{
var x, y, color, moveScript, id, clip, colorR, trans, colorTrans, f2, dir, axis, xDest, yDest, oldDir;
function BlasterA (px, py, pcolor, pmoveScript, pid) {
x = px;
y = py;
color = pcolor;
moveScript = pmoveScript.slice();
id = pid;
_root.d++;
clip = _root.attachMovie("blasterA", ("blasterA" + id) + "Clip", _root.d + 50000);
clip._x = x;
clip._y = y;
speed = speed * _root.dif.speed;
speedOrig = speed;
life = life * _root.dif.life;
colorR = _root.randRange(-10, 30);
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, colorR, colorR, colorR, 0);
trans.colorTransform = colorTrans;
clip.front.gotoAndStop(color);
parseMoveScript();
_root.stats.created++;
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 400;
xA = pxA * _local2;
yA = pyA * _local2;
}
function bombed(num) {
if (_root.subLevel != "3_1") {
f2 = "death";
}
}
function parseMoveScript() {
var _local2 = dir;
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
f2 = "";
dir = _local2;
blast();
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function leaving() {
xMovT * 1.04;
}
function blast() {
xMovT = 0;
yMovT = 0;
clip.blaster.gotoAndPlay("go");
clip.flame.gotoAndPlay("still");
f2 = "blasting";
c = 0;
_root.audio.playLevel2("blaster" + (random(3) + 1), _root.randRange(35, 45));
}
function blasting() {
c++;
if (c == 16) {
var _local3 = ((dir == "L") ? 0 : 39);
_root["blasterALaser" + id] = new classes.shots.BlasterALaser(x + _local3, y, color, dir, id);
_root.addEnemyShot("blasterALaser" + id);
var _local4 = ((dir == "L") ? 100 : -100);
nudge(_local4, 0, 100);
}
}
function stopBlast() {
xMovT = ((dir == "L") ? -15 : 15);
f2 = "leaving";
clip.flame.gotoAndPlay("start");
}
function death() {
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 25000;
_root.powerUp(x, y, 90);
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(90, 140), _root.randRange(80, 100), "Red"]);
_root.createExploA([(x + (clip._width / 2)) + _root.randRange(-30, 30), (y + (clip._height / 2)) + _root.randRange(-30, 30), _root.randRange(40, 80), _root.randRange(70, 100), "Purple"]);
_root.createExploA([(x + (clip._width / 2)) + _root.randRange(-30, 30), (y + (clip._height / 2)) + _root.randRange(-30, 30), _root.randRange(50, 80), _root.randRange(50, 100), "Red"]);
_root.createPowerUp([x, y, "coin25"]);
_root.audio.playLevel4("blasterX" + (random(3) + 1), _root.randRange(25, 35));
var _local3 = 0;
var _local4 = random(4) + 2;
while (_local3 < _local4) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "blasterA" + color, "Purple"]);
_local3++;
}
_root.createEnemySoul([x + (clip._width / 2), y + (clip._height / 2), "blue"]);
_root.audio.playLevel4("blasterX", _root.randRange(25, 35));
_root.removeChar("blasterA" + id);
f2 = "";
}
function death2() {
_root.removeChar("blasterA" + id);
f2 = "";
}
function main() {
this[f2]();
if (oldDir != dir) {
clip.gotoAndStop(dir);
}
oldDir = dir;
if (nudging) {
xA = xA * 0.7;
yA = yA * 0.7;
nc++;
var _local8 = 255 - (nc * 17);
if (color == "Orange") {
colorTrans.redOffset = _local8;
colorTrans.greenOffset = _local8 / 2;
} else if (color == "Blue") {
colorTrans.blueOffset = _local8;
colorTrans.greenOffset = _local8 / 2;
} else {
colorTrans.greenOffset = _local8;
}
trans.colorTransform = colorTrans;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
colorTrans.blueOffset = colorR;
colorTrans.greenOffset = colorR;
colorTrans.redOffset = colorR;
trans.colorTransform = colorTrans;
}
}
var _local4 = 0;
var _local7 = _root.broShots.length;
while (_local4 < _local7) {
var _local6 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local6])) {
var _local3 = _root.broShots[_local4];
var _local5 = life;
life = life - _root[_local3].power;
if (life < 1) {
f2 = "death";
} else {
nudge(_root[_local3].xMov, _root[_local3].yMov, 10);
_root.audio.playLevel4("batHit" + (random(2) + 1), _root.randRange(20, 35));
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local5);
break;
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
f2 = "death";
}
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - 0.3;
} else if (xMovT > xMov) {
xMov = xMov + 0.3;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 0.3;
} else if (yMovT > yMov) {
yMov = yMov + 0.3;
} else {
yMov = yMovT;
}
x = x + (xMov + xA);
y = y + ((yMov + yA) + (0.5 * Math.sin((hc = hc + 0.05))));
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 6;
var speed = 6;
var xDestMet = false;
var yDestMet = false;
var c = 0;
var life = 75;
var nc = 0;
var xA = 0;
var yA = 0;
var nudging = false;
var power = 20;
var hc = 0;
var Name = "blasterA";
}
Symbol 4768 MovieClip [__Packages.classes.shots.BlasterALaser] Frame 0
class classes.shots.BlasterALaser
{
var id, x, y, dir, color, xInc, l, clip, startClip, endClip;
function BlasterALaser (px, py, pcolor, pdir, pid) {
id = pid;
x = px;
y = py;
dir = pdir;
color = pcolor;
xInc = ((dir == "L") ? -15 : 15);
l = _root.randRange(20, 40);
_root.d++;
clip = _root.createEmptyMovieClip(("blasterALaser" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
_root.d++;
startClip = clip.attachMovie("blasterALaserSeg", "blasterALaserSegBlastClip" + id, _root.d);
startClip.gotoAndStop(color + dir);
startClip.segment.gotoAndStop("blast");
x2 = x2 + xInc;
_root.d++;
endClip = clip.attachMovie("blasterALaserSeg", "blasterALaserSegEndCapClip" + id, _root.d);
endClip._x = x2;
endClip.gotoAndStop(color + dir);
endClip.segment.gotoAndStop("startCap");
}
function main() {
c++;
if (((x + ((c - 1) * xInc)) < 1150) && ((x + ((c - 1) * xInc)) > -150)) {
_root.d++;
var _local3 = clip.attachMovie("blasterALaserSeg", (("blasterALaserSeg" + c) + "Clip") + id, _root.d);
_local3.gotoAndStop(color + dir);
_local3.segment.gotoAndStop("mid");
_local3._x = x2;
xInc = ((dir == "L") ? -100 : 100);
x2 = x2 + xInc;
endClip._x = endClip._x + xInc;
}
if (c > l) {
if (!endMessageSent) {
_root["blasterA" + id].stopBlast();
endMessageSent = true;
startClip.segment.gotoAndStop("endCap");
}
removeMovieClip(clip[(("blasterALaserSeg" + (c - l)) + "Clip") + id]);
startClip._x = startClip._x + xInc;
}
if (_root["blasterA" + id].f2 == "blasting") {
clip._x = ((dir == "L") ? (_root["blasterA" + id].x) : (_root["blasterA" + id].x + 39));
clip._y = _root["blasterA" + id].y;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xInc / 2, 0, 100, power);
}
if ((c > 3) && (Math.abs(endClip._x - startClip._x) < 100)) {
_root.removeEnemyShot("blasterALaser" + id);
}
}
var power = 40;
var c = 1;
var endMessageSent = false;
var x2 = 0;
var Name = "blasterALaser";
}
Symbol 4769 MovieClip [__Packages.classes.enemy.HeadBoss] Frame 0
class classes.enemy.HeadBoss
{
var x, y, moveScript, id, lifeOrig, clip, trans, colorTrans, dir, flying, axis, xDest, yDest, ep, edge, dc, fireDir, oldDir;
function HeadBoss (px, py, pmoveScript, pid) {
x = px;
y = py;
moveScript = pmoveScript.slice();
id = pid;
speed = speed * _root.dif.speed;
speedOrig = speed;
life = life * _root.dif.life;
lifeOrig = life;
_root.d++;
clip = _root.attachMovie("headBoss", ("headBoss" + id) + "Clip", _root.d + 10000);
clip._x = x;
clip._y = y;
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0);
_root.stats.created++;
fly();
parseMoveScript();
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
}
function parseMoveScript() {
var _local2 = dir;
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
moveScripting = false;
if (flying) {
if ((_local2 == "L") || (_local2 == "R")) {
clip.body["arm" + _local2].gotoAndPlay("flyStop");
}
clip.body.flame.gotoAndStop("still");
speed = speed / 2;
flying = false;
cv = 0.4;
f2 = "wander";
intro = false;
}
this[axis + "MovT"] = 0;
f2 = "wander";
newDir();
} else if (dir == "summon") {
delete moveScript;
moveScripting = false;
xMovT = 0;
yMovT = 0;
c = 0;
f2 = "summoning";
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = Math.round(this[axis] - moveScript[1]);
} else {
this[axis + "Dest"] = Math.round(this[axis] + moveScript[1]);
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function fly() {
wc = 0;
flying = true;
speed = speedOrig * 2;
if (f2 == "wait") {
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
getDirString();
f2 = "wander";
}
clip.body["arm" + dir].gotoAndPlay("flyStart");
clip.body.flame.gotoAndStop("fly" + dir);
clip.body.flame.clip.gotoAndPlay("start");
c = 0;
ep = _root.randRange(10, 60);
ep = ep * _root.dif.speed;
cv = 1 * _root.dif.speed;
}
function flyStop() {
if (clip.body.armL.flying) {
clip.body.armL.gotoAndPlay("flyStop");
}
if (clip.body.armR.flying) {
clip.body.armR.gotoAndPlay("flyStop");
}
clip.body.flame.gotoAndStop("still");
speed = speed / 2;
flying = false;
cv = 0.5;
f2 = "wander";
}
function newDir() {
if (random(10) > 1) {
this[axis + "MovT"] = 0;
dir = _root.getDir(x, y);
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
} else {
this[axis + "MovT"] = 0;
axis = ((axis == "y") ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
function wander() {
if (flying) {
wc++;
if (wc > (5 + (_root.dif.wait * 2))) {
if ((random(100) > (95 + (_root.dif.wait * 2))) && (!edge)) {
newDir();
wc = 0;
}
}
} else if ((random(100) > (91 + (_root.dif.wait * 2))) && (!edge)) {
if (random(100) > 95) {
xMovT = 0;
yMovT = 0;
f2 = "wait";
c = 0;
ep = _root.randRange(20, 90);
ep = ep * (1 / _root.dif.speed);
} else {
newDir();
}
}
}
function wait() {
c++;
if (c >= ep) {
f2 = "wander";
newDir();
}
if (random(100) > 95) {
var _local2 = ["L", "R", "F"];
dir = _local2[random(_local2.length)];
}
}
function death() {
dc++;
xA = _root.randRange2((-1 * dc) / 40, (1 * dc) / 40);
yA = _root.randRange2((-1 * dc) / 40, (1 * dc) / 40);
colorTrans.redOffset = _root.randRange(0, dc * 3);
var _local6 = _root.randRange(0, dc * 2.5);
colorTrans.greenOffset = _root.randRange(0, _local6);
colorTrans.blueOffset = _root.randRange(0, _local6);
trans.colorTransform = colorTrans;
if (random(3) == 1) {
var _local5 = ["red", "blue"];
var _local8 = ((x - 20) + (clip._width / 2)) + _root.randRange(-1 * (dc / 4), dc / 4);
var _local7 = (y + (clip._height / 2)) + _root.randRange(-1 * (dc / 4), dc / 4);
if (random(2) == 1) {
_root.createExploA([_local8, _local7, _root.randRange(dc / 4, dc * 1), _root.randRange(0, 50), "Red"]);
}
_root["gunSmoke" + dc] = new classes.fx.GunSmoke(_local8, _local7, dc);
_root.addFX("gunSmoke" + dc);
}
if (dc == 1) {
_root.aC1.s1.stop();
_root.audio.playLevel2("headBossEnd", 35);
var _local3 = 1;
var _local4 = _root.chars.length;
var _local5 = _root.chars.slice();
while (_local3 < _local4) {
_root[_local5[_local3]].bombed(20);
_local3++;
}
_local3 = 0;
_local4 = _root.enemyShots.length;
_local5 = _root.enemyShots.slice();
while (_local3 < _local4) {
_root[_local5[_local3]].bombed();
_local3++;
}
xMovT = 0;
yMovT = 0;
clip.body.armL.gotoAndPlay("death");
clip.body.armR.gotoAndPlay("death");
clip.body.eyes.gotoAndPlay("death");
clip.body.flame.gotoAndStop("still");
}
if (dc == 100) {
clip.body.armL.gotoAndPlay("death2");
clip.body.armR.gotoAndPlay("death2");
}
if (dc == 150) {
_root.audio.playLevel2("headBossX", 40);
var _local3 = 0;
var _local4 = _root.randRange(5, 8);
while (_local3 < _local4) {
_root.createExploA([(x + (clip._width / 2)) + _root.randRange(-50, 50), (y + (clip._height / 2)) + _root.randRange(-50, 50), _root.randRange(80, 150), _root.randRange(75, 100), "Blue"]);
_local3++;
}
_local3 = 0;
_local4 = _root.randRange(8, 12);
while (_local3 < _local4) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "headBoss", "Blue", true]);
_local3++;
}
_root.createPowerUp([x, y, "coin5"]);
_root.createPowerUp([x, y, "coin5"]);
_root.createPowerUp([x, y, "coin10"]);
_root.createPowerUp([x, y, "coin10"]);
_local3 = 0;
while (_local3 < 2) {
_root.createPowerUp([x, y, "coin25"]);
_local3++;
}
_root.createPowerUp([x, y, "lifeMax"]);
_root.createPowerUp([x, y, "shield"]);
_root.boss = false;
_root.initLevel3();
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 250000;
_root.removeChar("headBoss" + id);
f2 = "";
}
}
function fire() {
f2 = "firing";
xMovT = 0;
yMovT = 0;
c = 0;
}
function firing() {
c++;
if (c == 2) {
fireDir = ((x > _root[_root.char].x) ? "L" : "R");
if (fireDir == armOff) {
f2 = "wander";
newDir();
} else {
_root.audio.playLevel2("headBossFire", 30);
}
}
if (c == 15) {
clip.body["arm" + fireDir].gotoAndPlay("fire");
}
if (c == 33) {
var _local5 = Math.ceil(Math.abs((y - _root[_root.char].y) / 100));
var _local3 = 0;
var _local6 = ((fireDir == "L") ? (x - 33) : (x + 21));
var _local8 = y + 9;
var _local7 = ((fireDir == "L") ? -6 : 6);
while (_local3 < 5) {
var _local4 = ((_local5 * -2) + (_local5 * _local3)) * 1.5;
_root.enemyShotID++;
_root["headBossBlastA" + _root.enemyShotID] = new classes.shots.HeadBossBlastA(_local6, _local8, _local7, _local4, _root.enemyShotID);
_root.addEnemyShot("headBossBlastA" + _root.enemyShotID);
_local3++;
}
}
if (c == 45) {
f2 = "wander";
newDir();
}
}
function summon() {
moveScripting = true;
moveScript = [];
if ((y - 300) >= 0) {
moveScript.push("U");
} else {
moveScript.push("D");
}
moveScript.push(Math.round(Math.abs(y - 300)));
if ((x - 500) >= 0) {
moveScript.push("L");
} else {
moveScript.push("R");
}
moveScript.push(Math.round(Math.abs(x - 500)));
moveScript.push("summon");
parseMoveScript();
}
function summoning() {
c++;
if (c == 10) {
clip.body.armL.gotoAndPlay("summon");
clip.body.armR.gotoAndPlay("summon");
clip.body.eyes.gotoAndStop("F");
clip.body.eyes.clip.gotoAndPlay("glow");
clip.body.brain.gotoAndPlay("glow");
_root.audio.playLevel2("headBossSummon", 30);
}
if (c == 20) {
var _local3 = random(6);
if (_local3 == 0) {
_root.createHeadSummon(["A", [x - 75, y + 10, ["break"]]]);
_root.createHeadSummon(["A", [x + 95, y + 10, ["break"]]]);
_root.createHeadSummon(["A", [x, y - 75, ["break"]]]);
_root.createHeadSummon(["A", [x, y + 100, ["break"]]]);
} else if (_local3 == 1) {
_root.createHeadSummon(["A", [x - 75, y + 10, ["break"]]]);
_root.createHeadSummon(["A", [x + 95, y + 10, ["break"]]]);
_root.createHeadSummon(["A", [x, y - 75, ["break"]]]);
_root.createHeadSummon(["A", [x, y + 100, ["break"]]]);
_root.createHeadSummon(["A", [x - 60, y - 60, ["break"]]]);
_root.createHeadSummon(["A", [x + 80, y - 60, ["break"]]]);
_root.createHeadSummon(["A", [x + 80, y + 80, ["break"]]]);
_root.createHeadSummon(["A", [x - 60, y + 80, ["break"]]]);
} else if (_local3 == 2) {
_root.createHeadSummon(["B", [x - 75, y + 10, ["break"]]]);
_root.createHeadSummon(["B", [x + 95, y + 10, ["break"]]]);
_root.createHeadSummon(["B", [x, y - 75, ["break"]]]);
_root.createHeadSummon(["B", [x, y + 100, ["break"]]]);
} else if (_local3 == 3) {
_root.createHeadSummon(["B", [x - 75, y + 10, ["break"]]]);
_root.createHeadSummon(["B", [x + 95, y + 10, ["break"]]]);
_root.createHeadSummon(["B", [x, y - 75, ["break"]]]);
_root.createHeadSummon(["B", [x, y + 100, ["break"]]]);
_root.createHeadSummon(["B", [x - 60, y - 60, ["break"]]]);
_root.createHeadSummon(["B", [x + 80, y - 60, ["break"]]]);
_root.createHeadSummon(["B", [x + 80, y + 80, ["break"]]]);
_root.createHeadSummon(["B", [x - 60, y + 80, ["break"]]]);
} else if (_local3 == 4) {
_root.createHeadSummon(["C", [x - 75, y + 10, ["break"]]]);
_root.createHeadSummon(["C", [x + 95, y + 10, ["break"]]]);
_root.createHeadSummon(["C", [x, y - 75, ["break"]]]);
_root.createHeadSummon(["C", [x, y + 100, ["break"]]]);
} else {
_root.createHeadSummon(["C", [x - 75, y + 10, ["break"]]]);
_root.createHeadSummon(["C", [x + 95, y + 10, ["break"]]]);
_root.createHeadSummon(["C", [x, y - 75, ["break"]]]);
_root.createHeadSummon(["C", [x, y + 100, ["break"]]]);
_root.createHeadSummon(["C", [x - 60, y - 60, ["break"]]]);
_root.createHeadSummon(["C", [x + 80, y - 60, ["break"]]]);
_root.createHeadSummon(["C", [x + 80, y + 80, ["break"]]]);
_root.createHeadSummon(["C", [x - 60, y + 80, ["break"]]]);
}
}
if (c == 45) {
f2 = "wander";
newDir();
}
}
function main() {
_root.f2 = f2;
_root.flying = flying;
this[f2]();
if (flying) {
if (!moveScripting) {
c++;
if (c >= ep) {
flyStop();
}
}
}
if (oldDir != dir) {
_root.oldDir = oldDir;
_root.dir = dir;
if ((oldDir == undefined) || (dir == "F")) {
clip.body.eyes.gotoAndStop(dir);
} else if ((dir == "U") || (dir == "D")) {
clip.body.eyes.gotoAndStop(oldDir);
} else if (random(3) > 0) {
if (dir == "R") {
clip.body.eyes.gotoAndPlay("LtoR");
} else {
clip.body.eyes.gotoAndPlay("RtoL");
}
} else {
clip.body.eyes.gotoAndPlay("spin" + dir);
}
if (flying) {
clip.body.flame.gotoAndStop("fly" + dir);
if ((oldDir == "U") || (oldDir == "D")) {
if ((dir == "L") || (dir == "R")) {
clip.body["arm" + dir].gotoAndPlay("flyStart");
}
} else if ((dir == "U") || (dir == "D")) {
clip.body["arm" + oldDir].gotoAndPlay("flyStop");
} else {
clip.body["arm" + oldDir].gotoAndPlay("flyStop");
clip.body["arm" + dir].gotoAndPlay("flyStart");
}
}
}
oldDir = dir;
if ((random(100) > (96 + _root.dif.wait)) && (f2 != "death")) {
if (((((!moveScripting) && (!flying)) && (f2 != "summoning")) && (f2 != "firing")) && (!edge)) {
var _local9 = random(10);
if (_local9 < 3) {
fly();
} else if ((_local9 >= 3) && (_local9 < 6)) {
if (_root.chars.length < 12) {
summon();
}
} else {
fire();
}
}
}
if (nudging) {
xA = xA * 0.5;
yA = yA * 0.5;
nc++;
var _local10 = 255 - (nc * 17);
colorTrans.redOffset = _local10;
trans.colorTransform = colorTrans;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
colorTrans.redOffset = 0;
trans.colorTransform = colorTrans;
}
}
var _local4 = 0;
var _local5 = _root.broShots.length;
while (_local4 < _local5) {
var _local7 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local7])) {
if (((((x < 950) && (x > 0)) && (y > 0)) && (y < 550)) && (f2 != "death")) {
var _local3 = _root.broShots[_local4];
var _local6 = life;
life = life - _root[_local3].power;
clip.body.d1.gotoAndStop(Math.ceil((100 - ((life / lifeOrig) * 100)) / 20));
if ((clip.body.d1._currentframe == 5) && (armOff == "")) {
armOff = ((random(2) == 0) ? "L" : "R");
clip.body["arm" + armOff]._visible = false;
_root.audio.playLevel2("headBossX", 20);
_local4 = 0;
_local5 = _root.randRange(3, 5);
while (_local4 < _local5) {
_root.createExploA([(x + (clip._width / 2)) + _root.randRange(-25, 25), (y + (clip._height / 2)) + _root.randRange(-25, 25), _root.randRange(50, 80), _root.randRange(75, 100), "Red"]);
_local4++;
}
_local4 = 0;
_local5 = _root.randRange(2, 4);
while (_local4 < _local5) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "headBossArmA"]);
_local4++;
}
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "headBossArmB"]);
}
if (life < 1) {
f2 = "death";
dc = 0;
} else {
nudge(_root[_local3].xMov, _root[_local3].yMov, 10);
_root.audio.playLevel4("headHit" + (random(4) + 1), _root.randRange(10, 25));
if (random(10) > 7) {
var _local12 = ((x - 20) + (clip._width / 2)) + _root.randRange(-20, 20);
var _local11 = (y + (clip._height / 2)) + _root.randRange(-20, 20);
_root.fxID++;
_root["gunSmoke" + _root.fxID] = new classes.fx.GunSmoke(_local12, _local11, _root.fxID);
_root.addFX("gunSmoke" + _root.fxID);
}
if (((!moveScripting) && (f2 != "summoning")) && (f2 != "firing")) {
this[axis + "MovT"] = 0;
axis = ((axis == "y") ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
if (random(10) > 8) {
fly();
}
}
}
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local6);
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
}
if (!intro) {
edge = false;
if (x > 800) {
edge = true;
dir = "L";
} else if (x < 200) {
edge = true;
dir = "R";
} else if (y < 150) {
edge = true;
dir = "D";
} else if (y > 450) {
edge = true;
dir = "U";
}
if (edge) {
this[axis + "MovT"] = 0;
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
getDirString();
}
}
if (xMovT < xMov) {
xMov = xMov - cv;
} else if (xMovT > xMov) {
xMov = xMov + cv;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - cv;
} else if (yMovT > yMov) {
yMov = yMov + cv;
} else {
yMov = yMovT;
}
if (random(100) > 98) {
if (f2 != "summoning") {
clip.body.eyes.clip.gotoAndPlay("blink");
}
}
var _local8 = life - 500;
if (_local8 < 0) {
_local8 = 8;
}
if (_local8 < -250) {
_local8 = 3;
}
if (_local8 < -400) {
_local8 = 1;
}
if (random(_local8) == 0) {
var _local12 = ((x - 20) + (clip._width / 2)) + _root.randRange(-20, 20);
var _local11 = (y + (clip._height / 2)) + _root.randRange(-20, 20);
_root.fxID++;
_root["gunSmoke" + _root.fxID] = new classes.fx.GunSmoke(_local12, _local11, _root.fxID);
_root.addFX("gunSmoke" + _root.fxID);
}
x = x + (xMov + xA);
y = y + ((yMov + yA) + (0.5 * Math.sin((hc = hc + 0.08))));
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 8;
var speed = 8;
var f2 = "flying";
var xDestMet = false;
var yDestMet = false;
var c = 0;
var life = 900;
var nc = 0;
var xA = 0;
var yA = 0;
var nudging = false;
var hc = 0;
var cv = 0.3;
var intro = true;
var moveScripting = true;
var power = 25;
var wc = 0;
var armOff = "";
var Name = "headBoss";
}
Symbol 4770 MovieClip [__Packages.classes.shots.HeadBossBlastA] Frame 0
class classes.shots.HeadBossBlastA
{
var x, y, id, xMov, yMov, clip;
function HeadBossBlastA (px, py, pxMov, pyMov, pid) {
x = px;
y = py;
id = pid;
xMov = pxMov;
yMov = pyMov;
_root.d++;
clip = _root.attachMovie("headBossBlastA", ("headBossBlastA" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
clip.id = id;
xMov = xMov * _root.dif.speed;
yMov = yMov * _root.dif.speed;
}
function hit() {
yank = true;
}
function main() {
xMov = xMov * 1.02;
yMov = yMov * 1.02;
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
yank = true;
}
if ((((x > 1050) || (x < -50)) || (y > 650)) || (y < -50)) {
yank = true;
}
if (yank) {
_root.removeEnemyShot("headBossBlastA" + id);
yank = false;
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var Name = "headBossBlastA";
var power = 45;
var yank = false;
}
Symbol 4771 MovieClip [__Packages.classes.enemy.GoldHead] Frame 0
class classes.enemy.GoldHead
{
var x, y, moveScript, clip, colorR, trans, colorTrans, f2, dir, axis, xDest, yDest, ep, oldDir;
function GoldHead (px, py, pmoveScript) {
x = px;
y = py;
moveScript = pmoveScript.slice();
_root.d++;
clip = _root.attachMovie("goldHead", "goldHeadClip", _root.d + 50000);
clip._x = x;
clip._y = y;
speedVar();
colorR = _root.randRange(-10, 10);
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, colorR, colorR, colorR, 0);
trans.colorTransform = colorTrans;
parseMoveScript();
if (_root.flashing) {
flashing = true;
_root.flashing = false;
}
_root.stats.created++;
}
function nudge(pxA, pyA, pscale) {
nc = 0;
nudging = true;
var _local2 = pscale / 100;
xA = pxA * _local2;
yA = pyA * _local2;
}
function speedVar() {
if (random(3) == 1) {
speed = speed * _root.randRange2(0.9998, 1.0002);
}
}
function bombed(num) {
f2 = "death";
}
function parseMoveScript() {
dir = moveScript[0];
if (dir == "break") {
delete moveScript;
this[axis + "MovT"] = 0;
f2 = "wander";
dir = _root.getDir(x, y);
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
} else {
this[axis + "MovT"] = 0;
f2 = "gotoXYDest";
axis = (((dir == "L") || (dir == "R")) ? "x" : "y");
this[axis + "MovT"] = (((dir == "L") || (dir == "U")) ? (-1 * speed) : (speed));
speedVar();
if ((dir == "L") || (dir == "U")) {
this[axis + "Dest"] = this[axis] - moveScript[1];
} else {
this[axis + "Dest"] = this[axis] + moveScript[1];
}
moveScript.splice(0, 2);
}
}
function gotoXYDest() {
if (Math.abs(this[axis + "Dest"] - this[axis]) < (speed + 1)) {
if (axis == "x") {
x = xDest;
} else {
y = yDest;
}
parseMoveScript();
}
}
function getDirString() {
if (xMovT < -1) {
dir = "L";
} else if (xMovT > 1) {
dir = "R";
} else if (yMovT > 1) {
dir = "D";
} else if (yMovT < -1) {
dir = "U";
}
}
function wander() {
if (random(100) > 96) {
if (random(20) > 18) {
this[axis + "MovT"] = 0;
f2 = "wait";
c = 0;
ep = _root.randRange(5, 15);
} else {
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
}
}
function wait() {
c++;
if (c == ep) {
f2 = "wander";
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
if (random(100) > 95) {
var _local2 = ["L", "R", "F"];
dir = _local2[random(_local2.length)];
}
}
function attacking() {
}
function death() {
_root.stats.destroyed++;
_root.stats.score = _root.stats.score + 50000;
var _local3 = 0;
var _local4 = random(2) + 1;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin25"]);
_local3++;
}
_local3 = 0;
_local4 = random(5) + 5;
while (_local3 < _local4) {
_root.createPowerUp([x, y, "coin10"]);
_local3++;
}
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(60, 80), _root.randRange(75, 100), "Yellow"]);
_local3 = 0;
_local4 = random(3);
while (_local3 < _local4) {
_root.createShrapnel([x + (clip._width / 2), y + (clip._height / 2), "goldHead", "Red"]);
_local3++;
}
_root.createEnemySoul([x + (clip._width / 2), y + (clip._height / 2), "yellow"]);
_root.createEnemySoul([x + (clip._width / 2), y + (clip._height / 2), "yellow"]);
_root.createEnemySoul([x + (clip._width / 2), y + (clip._height / 2), "yellow"]);
_root.audio.playLevel2("goldHeadX", _root.randRange(30, 40));
_root.removeChar("goldHead");
}
function death2() {
_root.removeChar("goldHead");
}
function main() {
if (flashing) {
flashC++;
var _local8 = 275 - (flashC * 10);
colorTrans.greenOffset = _local8;
colorTrans.redOffset = _local8;
colorTrans.blueOffset = _local8;
trans.colorTransform = colorTrans;
if (flashC == 27) {
colorTrans.greenOffset = 0;
colorTrans.redOffset = 0;
colorTrans.blueOffset = 0;
trans.colorTransform = colorTrans;
delete flashing;
delete flashC;
}
}
this[f2]();
if (oldDir != dir) {
if ((oldDir == undefined) || (dir == "F")) {
clip.body.eyes.gotoAndStop(dir);
} else if ((dir == "U") || (dir == "D")) {
clip.body.eyes.gotoAndStop(oldDir);
} else if (random(3) > 0) {
if (dir == "R") {
clip.body.eyes.gotoAndPlay("LtoR");
} else {
clip.body.eyes.gotoAndPlay("RtoL");
}
} else {
clip.body.eyes.gotoAndPlay("spin" + dir);
}
}
oldDir = dir;
if (nudging) {
xA = xA * 0.5;
yA = yA * 0.5;
nc++;
var _local8 = 255 - (nc * 17);
colorTrans.blueOffset = _local8;
colorTrans.greenOffset = _local8 / 2;
trans.colorTransform = colorTrans;
if (nc == 15) {
xA = (yA = 0);
nudging = false;
colorTrans.blueOffset = colorR;
colorTrans.greenOffset = colorR;
trans.colorTransform = colorTrans;
}
}
var _local4 = 0;
var _local7 = _root.broShots.length;
while (_local4 < _local7) {
var _local6 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local6])) {
var _local3 = _root.broShots[_local4];
var _local5 = life;
life = life - _root[_local3].power;
if (life < 1) {
f2 = "death";
} else {
nudge(_root[_local3].xMov, _root[_local3].yMov, 10);
_root.audio.playLevel4("goldHeadHit" + (random(2) + 1), _root.randRange(7, 15));
this[axis + "MovT"] = 0;
axis = ((random(10) > 4) ? "x" : "y");
this[axis + "MovT"] = ((random(2) > 0) ? (speed) : (-1 * speed));
getDirString();
}
_root[_root.char].fc = _root[_root.char].fireFreq - _root.rapidVar;
_root[_local3].exploX = x + (clip._width / 2);
_root[_local3].exploY = y + (clip._height / 2);
_root[_local3].hit(_local5);
break;
}
_local4++;
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].hit(xMov, yMov, 100, power);
f2 = "death";
}
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
f2 = "death2";
}
if (xMovT < xMov) {
xMov = xMov - 0.2;
} else if (xMovT > xMov) {
xMov = xMov + 0.2;
} else {
xMov = xMovT;
}
if (yMovT < yMov) {
yMov = yMov - 0.2;
} else if (yMovT > yMov) {
yMov = yMov + 0.2;
} else {
yMov = yMovT;
}
if (random(100) > 98) {
clip.body.eyes.clip.gotoAndPlay("blink");
}
if (random(10) == 9) {
_root.fxID++;
_root["goldHeadFX" + _root.fxID] = new classes.fx.GoldHeadFX(x, y, _root.fxID);
_root.addFX("goldHeadFX" + _root.fxID);
}
x = x + (xMov + xA);
y = y + ((yMov + yA) + (0.5 * Math.sin((hc = hc + 0.2))));
clip._x = x;
clip._y = y;
}
var xMov = 0;
var yMov = 0;
var xMovT = 0;
var yMovT = 0;
var speedOrig = 10;
var speed = 10;
var xDestMet = false;
var yDestMet = false;
var c = 0;
var pUp = false;
var life = 10;
var nc = 0;
var xA = 0;
var yA = 0;
var nudging = false;
var hc = 0;
var power = 35;
var flashing = false;
var flashC = 0;
var Name = "goldHead";
}
Symbol 4772 MovieClip [__Packages.classes.fx.GoldHeadFX] Frame 0
class classes.fx.GoldHeadFX
{
var x, y, id, clip;
function GoldHeadFX (px, py, pid) {
x = px;
y = py;
id = pid;
_root.d++;
clip = _root.attachMovie("goldHeadFX", ("goldHeadFX" + id) + "Clip", _root.d);
clip._x = x;
clip._y = y;
}
function main() {
if (clip.end) {
_root.removeFX("goldHeadFX" + id);
}
}
var Name = "goldHeadFX";
}
Symbol 4773 MovieClip [__Packages.classes.fx.ShrapStorm] Frame 0
class classes.fx.ShrapStorm
{
var c, c2;
function ShrapStorm () {
c = 0;
c2 = 10;
}
function switchStage(which) {
c = 0;
c2 = 10;
stage = which;
}
function createTypeA() {
var _local3 = random(4);
_root.fxID++;
_root["shrapnelB" + _root.fxID] = new classes.fx.ShrapnelB(_root.randRange(_root.posArray[_local3][0], _root.posArray[_local3][1]), _root.randRange(_root.posArray[_local3][2], _root.posArray[_local3][3]), _root.dirArray[_local3], _root.fxID);
_root.addFX("shrapnelB" + _root.fxID);
c = 0;
c2 = _root.randRange(10, 50);
c2 = c2 * (1 / _root.dif.speed);
}
function createTypeB() {
var _local3 = random(4);
_root.fxID++;
_root["shrapnelB" + _root.fxID] = new classes.fx.ShrapnelB(_root.randRange(_root.posArray[_local3][0], _root.posArray[_local3][1]), _root.randRange(_root.posArray[_local3][2], _root.posArray[_local3][3]), _root.dirArray[_local3], _root.fxID);
_root.addFX("shrapnelB" + _root.fxID);
c = 0;
c2 = _root.randRange(5, 20);
c2 = c2 * (1 / _root.dif.speed);
}
function main() {
c++;
if (c >= c2) {
this["createType" + stage]();
}
}
var stage = "A";
var Name = "shrapStorm";
}
Symbol 4774 MovieClip [__Packages.classes.fx.ShrapnelB] Frame 0
class classes.fx.ShrapnelB
{
var x, y, dir, id, clip, xMov, yMov, rotateVar, rotateInt, yank;
function ShrapnelB (px, py, pdir, pid) {
x = px;
y = py;
dir = pdir;
id = pid;
_root.d++;
clip = _root.attachMovie("shrapnelB", ("shrapnelB" + id) + "Clip", _root.d + 75000);
clip._x = x;
clip._y = y;
if (dir == "U") {
xMov = _root.randRange2(-6, 6);
yMov = _root.randRange2(-6, 0);
} else if (dir == "D") {
xMov = _root.randRange2(-6, 6);
yMov = _root.randRange2(0, 6);
} else if (dir == "L") {
xMov = _root.randRange2(-6, 0);
yMov = _root.randRange2(-6, 6);
} else {
xMov = _root.randRange2(0, 6);
yMov = _root.randRange2(-6, 6);
}
rotateVar = ((random(2) > 0) ? 1 : -1);
rotateInt = _root.randRange(3, 7);
}
function main() {
c++;
if ((c / rotateInt) == Math.round(c / rotateInt)) {
clip._rotation = clip._rotation + (90 * rotateVar);
}
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root.createExploA([x + (clip._width / 2), y + (clip._height / 2), _root.randRange(30, 60), _root.randRange(70, 100)]);
_root[_root.char].hit(xMov, yMov, 100, 15);
yank = true;
}
var _local4 = 0;
var _local6 = _root.broShots.length;
while (_local4 < _local6) {
var _local5 = _root.broShots[_local4] + "Clip";
if (clip.hitTest(_root[_local5])) {
_root.createExploA([x, y, _root.randRange(30, 70), _root.randRange(75, 100)]);
_root[_root.char].fc = (_root[_root.char].fireFreq - _root.rapidVar) - 1;
var _local3 = _root.broShots[_local4];
_root[_local3].exploX = x + (clip.body._width / 2);
_root[_local3].exploY = y + (clip.body._height / 2);
_root[_local3].hit();
yank = true;
break;
}
_local4++;
}
if (c > 100) {
if ((((x > 1050) || (x < -50)) || (y < -50)) || (y > 650)) {
yank = true;
}
}
if (yank) {
_root.removeFX("shrapnelB" + id);
}
x = x + xMov;
y = y + yMov;
clip._x = x;
clip._y = y;
}
var c = 0;
var Name = "shrapnelB";
}
Symbol 4775 MovieClip [__Packages.classes.fx.ExploA] Frame 0
class classes.fx.ExploA
{
var id, x, y, scale, a, color, clip, trans, colorTrans;
function ExploA (px, py, pscale, pa, pcolor, pid) {
id = pid;
x = px;
y = py;
scale = pscale;
a = pa + 15;
color = pcolor;
_root.d++;
clip = _root.attachMovie("exploA", ("exploA" + id) + "Clip", _root.d + 83000);
clip._x = x;
clip._y = y;
clip._xscale = scale;
clip._yscale = scale;
clip.color = color;
var _local5 = _root.randRange(-75, 75);
var _local4 = _root.randRange(-75, 75);
var _local3 = _root.randRange(-75, 75);
trans = new flash.geom.Transform(clip);
colorTrans = new flash.geom.ColorTransform(1, 1, 1, 1, _local5, _local4, _local3, 0);
trans.colorTransform = colorTrans;
clip._alpha = a;
}
function main() {
if (random(5) == 0) {
if (clip.hitTest(_root[_root.char + "Clip"])) {
_root[_root.char].nudge(_root.randRange(-9, 9), _root.randRange(-9, 9), scale - _root.randRange(10, 40));
}
}
if (clip.end) {
_root.removeFX("exploA" + id);
}
}
var Name = "exploA";
}
Symbol 4776 MovieClip [__Packages.classes.fx.LifeMeter] Frame 0
class classes.fx.LifeMeter
{
var clip, lifeOrig, num, c, lifeTarget;
function LifeMeter () {
clip = _root.attachMovie("lifeMeter", "lifeMeterClip", 817880);
clip._x = _root[_root.char].x + 6;
clip._y = _root[_root.char].y - 12;
}
function adjust(plifeOrig, pnum) {
lifeOrig = plifeOrig;
num = pnum;
adjusting = true;
clip._x = _root[_root.char].x + 6;
clip._y = _root[_root.char].y - 12;
clip._alpha = 120;
c = 0;
alpha = 100;
lifeTarget = ((lifeOrig + num) / 100) * 24;
}
function main() {
clip._alpha = alpha;
alpha = alpha - 2;
if (alpha < 0) {
alpha = 0;
} else {
clip._x = _root[_root.char].x + 6;
clip._y = _root[_root.char].y - 12;
}
if (adjusting) {
c++;
clip._x = _root[_root.char].x + 6;
clip._y = _root[_root.char].y - 12;
alpha = 100;
if (num < 0) {
clip.bar._width = clip.bar._width - 1;
if (clip.bar._width <= lifeTarget) {
clip.bar._width = lifeTarget;
}
} else {
clip.bar._width = clip.bar._width + 1;
if (clip.bar._width >= lifeTarget) {
clip.bar._width = lifeTarget;
}
}
if (c == 45) {
_root[_root.char].inv = false;
}
if (c == 60) {
adjusting = false;
}
}
}
var adjusting = false;
var alpha = 0;
var Name = "lifeMeter";
}
Symbol 4648 MovieClip Frame 1
stop();
Symbol 4651 MovieClip Frame 1
stop();
Symbol 4651 MovieClip Frame 31
play();
Symbol 4651 MovieClip Frame 91
stop();
Symbol 4651 MovieClip Frame 96
play();
Symbol 4651 MovieClip Frame 464
stop();
Symbol 4651 MovieClip Frame 469
play();
Symbol 4651 MovieClip Frame 748
stop();
Symbol 4651 MovieClip Frame 755
play();
Symbol 4651 MovieClip Frame 815
stop();
Symbol 4651 MovieClip Frame 829
play();
Symbol 4651 MovieClip Frame 1084
stop();
Symbol 4651 MovieClip Frame 1098
play();
Symbol 4651 MovieClip Frame 1312
stop();
Symbol 4651 MovieClip Frame 1322
play();
Symbol 4651 MovieClip Frame 1449
stop();
Symbol 4651 MovieClip Frame 1473
play();
Symbol 4651 MovieClip Frame 2175
stop();
Symbol 4653 MovieClip Frame 1
stop();
Symbol 4653 MovieClip Frame 2
play();
Symbol 4657 MovieClip Frame 1
stop();
s1 = new Sound(this);
Symbol 4658 MovieClip Frame 1
s2 = new Sound(this);
Symbol 4659 MovieClip Frame 1
s3 = new Sound(this);
Symbol 4660 MovieClip Frame 1
s4 = new Sound(this);
Symbol 4661 MovieClip Frame 1
s5 = new Sound(this);