Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("fd2a7525", this, 10301, true);
function menuqualitysettinglowfunction() {
_quality = "LOW";
}
function menuqualitysettingmediumfunction() {
_quality = "MEDIUM";
}
function menuqualitysettinghighfunction() {
_quality = "HIGH";
}
function sitelock(urls_allowed) {
lock = true;
domain_parts = _url.split("://");
real_domain = domain_parts[1].split("/");
domain.text = real_domain[0];
for (x in urls_allowed) {
if (urls_allowed[x] == real_domain[0]) {
lock = false;
}
}
if (lock) {
_root._visible = false;
}
}
var l = 0;
var k = 0;
var u = 0;
var t = 0;
var z = 0;
var w = 0;
var e = 0;
var o = 0;
var g;
var i;
var h;
var f;
var s;
var q;
var r;
var b;
var j;
var thisasteroidx;
var thisasteroidy;
var points;
var shipacceleration = 0.3;
var shipaccelerationnormal = 0.3;
var ship2acceleration = 0.3;
var ship2accelerationnormal = 0.3;
var shipbreakspeed = 0.05;
var shipbreakspeednormal = 0.05;
var ship2breakspeed = 0.15;
var ship2breakspeednormal = 0.15;
var totalpoints = 0;
var ship2health = 0;
var newpoints = 0;
var health = 0;
var originaltexty = 297;
var speedupgrade = 0;
var brakesupgrade = 0;
var healthupgrade = 0;
var extralaserupgrade = 0;
var fasterlaserupgrade = 0;
var fasterreloadingupgrade = 0;
var numberoflasersounds = 0;
var mission = 0;
var howtoplaylinkedfrom = 0;
var numofasteroidsounds = 0;
var asteroidspeed = 1;
var speed = 0.06;
var controlltype = 0;
var asteroid = new Array();
var asteroidxvel = new Array();
var asteroidyvel = new Array();
var asteroidexplosion = new Array();
var asteroidtype = new Array();
var laser = new Array();
var powerup = new Array();
var ship2hitpowerup = new Array();
var ship2hitlaserline = new Array();
var upgrade1 = new Array();
var upgrade2 = new Array();
var upgrade3 = new Array();
var upgrade4 = new Array();
var upgrade5 = new Array();
var asteroidsound = new Array();
var powerupsound = new Array();
var computershipnearasteroid = false;
var ship2hittinglasers = true;
var ship2hittinglasers2 = true;
var ship2hittingpowerup = true;
var lasergameover = false;
var mutesounds = false;
var sdown = false;
var mdown = false;
var edown = false;
var ndown = false;
var gdown = false;
var ldown = false;
var e2down = false;
var rdown = false;
var firstmission = true;
var playinggame = false;
var gamepaused = false;
var howtoplay = false;
var gameover = false;
var mission1start = false;
var ship2startshooting = false;
var reachedmissionfive = false;
var nearasteroidtruefalse = false;
var nearestasteroid;
var shipcolorex = new Color();
var shipcolor = 16711680;
var boxcolor = new Color();
var shipcolorwingleft = new Color();
var shipcolorwingright = new Color();
var shipcolorshipmiddle = new Color();
var keyListener = new Object();
var lasersound = new Sound(_root);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
menuqualitysettinglow = new ContextMenuItem("Quality - Low", menuqualitysettinglowfunction);
menuqualitysettingmedium = new ContextMenuItem("Quality - Medium", menuqualitysettingmediumfunction);
menuqualitysettinghigh = new ContextMenuItem("Quality - High", menuqualitysettinghighfunction);
MENU.customItems.push(menuqualitysettinglow, menuqualitysettingmedium, menuqualitysettinghigh);
_root.menu = MENU;
player = SharedObject.getLocal("alien_game_player");
moveship = function (ship) {
if (ship.powerup == 2) {
shipacceleration = (shipaccelerationnormal * 4) + speedupgrade;
shipbreakspeed = (shipbreakspeednormal * 10) + brakesupgrade;
} else {
shipacceleration = shipaccelerationnormal + speedupgrade;
shipbreakspeed = (shipbreakspeednormal * 3) + brakesupgrade;
}
ship.tspaceship = (ship._rotation * Math.PI) / 180;
ship.shipaccelx = (shipacceleration + speedupgrade) * Math.cos(ship.tspaceship);
ship.shipaccely = (shipacceleration + speedupgrade) * Math.sin(ship.tspaceship);
if (ship.shipspeedx > 12) {
ship.shipspeedx = 12;
}
if (ship.shipspeedx < -12) {
ship.shipspeedx = -12;
}
if (ship.shipspeedy > 12) {
ship.shipspeedy = 12;
}
if (ship.shipspeedy < -12) {
ship.shipspeedy = -12;
}
if (controlltype == 1) {
if (Key.isDown(37) || (Key.isDown(65))) {
ship._rotation = ship._rotation - 9;
} else if (Key.isDown(39) || (Key.isDown(68))) {
ship._rotation = ship._rotation + 9;
} else {
ship.wholeship_mc.gotoAndPlay("none");
ship.wholeship_mc.currentframelabel = "none";
}
} else if (controlltype == 0) {
ship.adjside2 = _xmouse - ship._x;
ship.oppside2 = -1 * (_ymouse - ship._y);
ship.angle2 = Math.atan2(ship.oppside2, ship.adjside2);
ship.angle2 = Math.round((ship.angle2 / Math.PI) * 180);
ship._rotation = -1 * ship.angle2;
} else {
if (Key.isDown(37) || (Key.isDown(65))) {
ship.shipaccelx = 1;
ship.shipspeedx = ship.shipspeedx + (-ship.shipaccelx);
ship.flame_mc.play();
} else if (Key.isDown(39) || (Key.isDown(68))) {
ship.shipaccelx = 1;
ship.shipspeedx = ship.shipspeedx + ship.shipaccelx;
ship.flame_mc.play();
} else {
if (ship.shipspeedx > 0) {
if ((ship.shipspeedx - (shipbreakspeed * 3)) > 0) {
ship.shipspeedx = ship.shipspeedx - (shipbreakspeed * 3);
} else {
ship.shipspeedx = 0;
}
}
if (ship.shipspeedx < 0) {
if ((ship.shipspeedx + (shipbreakspeed * 3)) < 0) {
ship.shipspeedx = ship.shipspeedx + (shipbreakspeed * 3);
} else {
ship.shipspeedx = 0;
}
}
}
if (Key.isDown(38) || (Key.isDown(87))) {
ship.shipaccely = 1;
ship.shipspeedy = ship.shipspeedy + (-ship.shipaccely);
ship.flame_mc.play();
} else if (Key.isDown(40) || (Key.isDown(83))) {
ship.shipaccely = 1;
ship.shipspeedy = ship.shipspeedy + ship.shipaccely;
ship.flame_mc.play();
} else {
if (ship.shipspeedy > 0) {
if ((ship.shipspeedy - (shipbreakspeed * 4)) > 0) {
ship.shipspeedy = ship.shipspeedy - (shipbreakspeed * 4);
} else {
ship.shipspeedy = 0;
}
}
if (ship.shipspeedy < 0) {
if ((ship.shipspeedy + (shipbreakspeed * 4)) < 0) {
ship.shipspeedy = ship.shipspeedy + (shipbreakspeed * 4);
} else {
ship.shipspeedy = 0;
}
}
}
if ((ship.shipspeedy == 0) && (ship.shipspeedx == 0)) {
ship.flame_mc.gotoAndStop(3);
}
ship.adjside2 = _xmouse - ship._x;
ship.oppside2 = -1 * (_ymouse - ship._y);
ship.angle2 = Math.atan2(ship.oppside2, ship.adjside2);
ship.angle2 = Math.round((ship.angle2 / Math.PI) * 180);
ship._rotation = -1 * ship.angle2;
}
if (controlltype != 2) {
if (Key.isDown(38) || (Key.isDown(87))) {
ship.shipspeedx = ship.shipspeedx + ship.shipaccelx;
ship.shipspeedy = ship.shipspeedy + ship.shipaccely;
ship.flame_mc.play();
} else if (Key.isDown(40) || (Key.isDown(83))) {
ship.shipspeedx = ship.shipspeedx - ship.shipaccelx;
ship.shipspeedy = ship.shipspeedy - ship.shipaccely;
ship.flame_mc.play();
} else {
if (ship.shipspeedx > 0) {
ship.shipspeedx = ship.shipspeedx - shipbreakspeed;
}
if (ship.shipspeedx < 0) {
if ((ship.shipspeedx + shipbreakspeed) > 0) {
ship.shipspeedx = 0;
} else {
ship.shipspeedx = ship.shipspeedx + shipbreakspeed;
}
}
if (ship.shipspeedy > 0) {
ship.shipspeedy = ship.shipspeedy - shipbreakspeed;
}
if (ship.shipspeedy < 0) {
if ((ship.shipspeedy + shipbreakspeed) > 0) {
ship.shipspeedy = 0;
} else {
ship.shipspeedy = ship.shipspeedy + shipbreakspeed;
}
}
ship.flame_mc.gotoAndStop(3);
}
}
ship._x = ship._x + ship.shipspeedx;
ship._y = ship._y + ship.shipspeedy;
if (ship._x <= -10) {
ship._x = Stage.width + 10;
}
if (ship._x > (Stage.width + 10)) {
ship._x = -9;
}
if (ship._y <= -10) {
ship._y = Stage.height + 10;
}
if (ship._y >= (Stage.height + 11)) {
ship._y = -10;
}
};
movecomputership = function (ship, ship2) {
if (ship.powerup == 2) {
ship2acceleration = ship2accelerationnormal * 4;
ship2breakspeed = ship2breakspeednormal * 7;
} else {
ship2acceleration = ship2accelerationnormal;
ship2breakspeed = ship2breakspeednormal;
}
if (w > t) {
w = t - 2;
}
if (computershipnearasteroid == true) {
ship.adjside2 = -1 * (nearestasteroid._x - ship._x);
ship.oppside2 = -1 * (nearestasteroid._y - ship._y);
ship.angle2 = Math.atan2(ship.oppside2, ship.adjside2);
ship.angle2 = Math.round((ship.angle2 / Math.PI) * 180);
ship._rotation = ship.angle2;
ship.shipspeedx = ship.shipspeedx + ship.shipaccelx;
ship.shipspeedy = ship.shipspeedy + ship.shipaccely;
ship.flame_mc.play();
} else {
r = w;
while (r <= t) {
if (ship2hitlaserline[r] == true) {
ship.adjside = -1 * (laser[r]._x - ship._x);
ship.oppside = laser[r]._y - ship._y;
ship.angle = Math.atan2(ship.oppside, ship.adjside);
ship.angle = Math.round((ship.angle / Math.PI) * 180);
ship._rotation = (-1 * ship.angle) + 90;
ship.shipspeedx = ship.shipspeedx + ship.shipaccelx;
ship.shipspeedy = ship.shipspeedy + ship.shipaccely;
ship.flame_mc.play();
r = t + 1;
} else {
f = 0;
while (f <= z) {
if (ship2hitpowerup[f] == true) {
ship.adjside = powerup[f]._x - ship._x;
ship.oppside = -1 * (powerup[f]._y - ship._y);
ship.angle = Math.atan2(ship.oppside, ship.adjside);
ship.angle = Math.round((ship.angle / Math.PI) * 180);
ship._rotation = -1 * ship.angle;
ship.shipspeedx = ship.shipspeedx + ship.shipaccelx;
ship.shipspeedy = ship.shipspeedy + ship.shipaccely;
ship.flame_mc.play();
f = z + 1;
} else if (_root.edge_mc.hitTest(ship._x, ship._y, true)) {
ship.adjside = (Stage.width / 2) - ship._x;
ship.oppside = -1 * ((Stage.height / 2) - ship._y);
ship.angle = Math.atan2(ship.oppside, ship.adjside);
ship.angle = Math.round((ship.angle / Math.PI) * 180);
ship._rotation = -1 * ship.angle;
ship.shipspeedx = ship.shipspeedx + ship.shipaccelx;
ship.shipspeedy = ship.shipspeedy + ship.shipaccely;
ship.flame_mc.play();
} else {
ship.adjside = ship2._x - ship._x;
ship.oppside = -1 * (ship2._y - ship._y);
ship.angle = Math.atan2(ship.oppside, ship.adjside);
ship.angle = Math.round((ship.angle / Math.PI) * 180);
ship.angle = ship.angle * -1;
if (ship._rotation <= 0) {
if (ship.angle < ship._rotation) {
ship._rotation = ship._rotation + ((ship.angle - ship._rotation) * speed);
} else if (ship.angle > ship._rotation) {
if (ship.angle > (ship._rotation + 180)) {
ship._rotation = ship._rotation - (((360 + (-1 * ship.angle)) - (-1 * ship._rotation)) * speed);
} else {
ship._rotation = ship._rotation + ((ship.angle - ship._rotation) * speed);
}
}
} else if (ship._rotation > 0) {
if (ship.angle < ship._rotation) {
ship._rotation = ship._rotation + ((ship.angle - ship._rotation) * speed);
} else if (ship.angle > ship._rotation) {
if (ship.angle > (ship._rotation + 180)) {
ship._rotation = ship._rotation - (((360 + (-1 * ship.angle)) - (-1 * ship._rotation)) * speed);
} else {
ship._rotation = ship._rotation + ((ship.angle - ship._rotation) * speed);
}
}
}
ship.flame_mc.flame = false;
ship.flame_mc.gotoAndStop(3);
if (mission > 1) {
if (ship2startshooting == false) {
_root.mission1starttimer_mc.play();
} else {
_root.shootship2timer_mc.play();
}
} else if (ship2startshooting == true) {
_root.shootship2timer_mc.play();
}
}
f++;
}
}
r++;
}
}
if (ship.shipspeedx > 7) {
ship.shipspeedx = 7;
}
if (ship.shipspeedx < -7) {
ship.shipspeedx = -7;
}
if (ship.shipspeedy > 7) {
ship.shipspeedy = 7;
}
if (ship.shipspeedy < -7) {
ship.shipspeedy = -7;
}
ship._x = ship._x + ship.shipspeedx;
ship._y = ship._y + ship.shipspeedy;
ship.tspaceship = (ship._rotation * Math.PI) / 180;
ship.shipaccelx = (ship2acceleration + speedupgrade) * Math.cos(ship.tspaceship);
ship.shipaccely = (ship2acceleration + speedupgrade) * Math.sin(ship.tspaceship);
if (ship.shipspeedx >= 0) {
ship.shipspeedx = ship.shipspeedx - ship2breakspeed;
}
if (ship.shipspeedx <= 0) {
if ((ship.shipspeedx + ship2breakspeed) > 0) {
ship.shipspeedx = 0;
} else {
ship.shipspeedx = ship.shipspeedx + ship2breakspeed;
}
}
if (ship.shipspeedy >= 0) {
ship.shipspeedy = ship.shipspeedy - ship2breakspeed;
}
if (ship.shipspeedy <= 0) {
if ((ship.shipspeedy + ship2breakspeed) > 0) {
ship.shipspeedy = 0;
} else {
ship.shipspeedy = ship.shipspeedy + ship2breakspeed;
}
}
if (ship._x <= -10) {
ship._x = Stage.width + 10;
}
if (ship._x > (Stage.width + 10)) {
ship._x = -9;
}
if (ship._y <= -10) {
ship._y = Stage.height + 10;
}
if (ship._y >= (Stage.height + 11)) {
ship._y = -10;
}
};
newasteroid = function (asteroidsize, offscreen, randomxy) {
asteroid[l] = _root.asteroidholder_mc.attachMovie(asteroidsize, asteroidsize + l, l);
if (offscreen == true) {
asteroid[l]._x = Math.floor(Math.random() * (Stage.width + asteroid[l]._width)) - (asteroid[l]._width / 2);
asteroid[l]._y = (-1 * asteroid[l]._height) / 2;
} else {
asteroid[l]._x = thisasteroidx;
asteroid[l]._y = thisasteroidy;
}
if (randomxy == true) {
asteroid[l]._x = Math.floor(Math.random() * Stage.width);
asteroid[l]._y = Math.floor(Math.random() * Stage.height);
}
asteroid[l].cacheAsBitmap;
asteroid[l]._rotation = Math.floor(Math.random() * 360);
asteroidxvel[l] = Math.floor(Math.random() * 5) - 2;
asteroidyvel[l] = Math.floor(Math.random() * 5) - 2;
asteroidtype[l] = asteroidsize;
if (asteroidxvel[l - 1] == asteroidxvel[l]) {
asteroidxvel[l] = asteroidxvel[l] + 2;
}
if (asteroidyvel[l - 1] == asteroidyvel[l]) {
asteroidyvel[l] = asteroidyvel[l] + 2;
}
if (asteroidxvel[l] == 0) {
asteroidxvel[l] = 1;
}
if (asteroidyvel[l] == 0) {
asteroidyvel[l] = 1;
}
asteroid[l].rotationspeed = Math.floor(Math.random() * 4) - 2;
l++;
};
moveasteroid = function (asteroidnumber) {
if (asteroid[asteroidnumber]._x < ((-1 * asteroid[asteroidnumber]._width) / 2)) {
asteroid[asteroidnumber]._x = (Stage.width + (asteroid[asteroidnumber]._width / 2)) - 2;
}
if (asteroid[asteroidnumber]._x > (Stage.width + (asteroid[asteroidnumber]._width / 2))) {
asteroid[asteroidnumber]._x = ((-1 * asteroid[asteroidnumber]._width) / 2) + 2;
}
if (asteroid[asteroidnumber]._y < ((-1 * asteroid[asteroidnumber]._height) / 2)) {
asteroid[asteroidnumber]._y = (Stage.height + (asteroid[asteroidnumber]._height / 2)) - 2;
}
if (asteroid[asteroidnumber]._y > (Stage.height + (asteroid[asteroidnumber]._height / 2))) {
asteroid[asteroidnumber]._y = ((-1 * asteroid[asteroidnumber]._height) / 2) + 2;
}
asteroid[asteroidnumber]._x = asteroid[asteroidnumber]._x + (asteroidxvel[asteroidnumber] * asteroidspeed);
asteroid[asteroidnumber]._y = asteroid[asteroidnumber]._y + (asteroidyvel[asteroidnumber] * asteroidspeed);
asteroid[asteroidnumber]._rotation = asteroid[asteroidnumber]._rotation + asteroid[asteroidnumber].rotationspeed;
};
removeasteroid = function (asteroidnumber, ship, endofgame, dontplaysounds) {
if (dontplaysounds != true) {
if (mutesounds == false) {
if (numofasteroidsounds < 4) {
asteroidsound[e] = new Sound(_root);
asteroidsound[e].attachSound("explosion");
asteroidsound[e].start();
asteroidsound[e].onSoundComplete = function () {
numofasteroidsounds--;
};
numofasteroidsounds++;
e++;
}
}
}
ship.shieldasteroidhitx = _root.asteroid[asteroidnumber]._x - ship._x;
ship.shieldasteroidhity = _root.asteroid[asteroidnumber]._y - ship._y;
thisasteroidx = asteroid[asteroidnumber]._x;
thisasteroidy = asteroid[asteroidnumber]._y;
if (endofgame != true) {
asteroidexplosion[u] = _root.asteroidexplosionholder_mc.attachMovie("asteroid_hit2", "asteroid_hit2" + u, u);
asteroidexplosion[u]._rotation = Math.floor(Math.random() * 360);
asteroidexplosion[u]._x = asteroid[asteroidnumber]._x;
asteroidexplosion[u]._y = asteroid[asteroidnumber]._y;
if (asteroidtype[asteroidnumber] == "al") {
newasteroid("am", false);
newasteroid("am", false);
}
if (asteroidtype[asteroidnumber] == "am") {
newasteroid("as", false);
newasteroid("as", false);
}
if (asteroidtype[asteroidnumber] == "as") {
var _local4 = Math.floor(Math.random() * 5);
if (_local4 == 4) {
newasteroid("al", true);
} else if (_local4 == 3) {
newasteroid("am", true);
} else {
newasteroid("as", true);
}
}
}
removeMovieClip(asteroid[asteroidnumber]);
asteroid[asteroidnumber] = 1;
u++;
h = k;
while (h < l) {
if (asteroid[h] == 1) {
k++;
} else {
h = l;
}
h++;
}
if (ship == _root.ship_mc) {
if (healthbar_mc.healthbarinside_mc._xscale > 0) {
ship.shield_mc.play();
ship.shieldadjside = ship.shieldasteroidhitx - ship.shield_mc._x;
ship.shieldoppside = -1 * (ship.shieldasteroidhity - ship.shield_mc._y);
ship.shieldangle = Math.atan2(ship.shieldoppside, ship.shieldadjside);
ship.shieldangle = Math.round((ship.shieldangle / Math.PI) * 180);
ship.shield_mc._rotation = -1 * (ship._rotation + ship.shieldangle);
if (healthupgrade == 0) {
if (healthbar_mc.healthbarinside_mc._xscale >= 10) {
healthbar_mc.healthbarinside_mc._xscale = healthbar_mc.healthbarinside_mc._xscale - 10;
healthbar_mc.healthtext_txt = Math.floor(healthbar_mc.healthbarinside_mc._xscale) + "%";
} else {
healthbar_mc.healthbarinside_mc._xscale = 0;
healthbar_mc.healthtext_txt = Math.floor(healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (healthupgrade == 1) {
if (healthbar_mc.healthbarinside_mc._xscale >= 9) {
healthbar_mc.healthbarinside_mc._xscale = healthbar_mc.healthbarinside_mc._xscale - 9;
healthbar_mc.healthtext_txt = Math.floor(healthbar_mc.healthbarinside_mc._xscale * 1.2) + "%";
} else {
healthbar_mc.healthbarinside_mc._xscale = 0;
healthbar_mc.healthtext_txt = Math.floor(healthbar_mc.healthbarinside_mc._xscale * 1.2) + "%";
}
}
if (healthupgrade == 2) {
if (healthbar_mc.healthbarinside_mc._xscale >= 8) {
healthbar_mc.healthbarinside_mc._xscale = healthbar_mc.healthbarinside_mc._xscale - 8;
healthbar_mc.healthtext_txt = Math.floor(healthbar_mc.healthbarinside_mc._xscale * 1.4) + "%";
} else {
healthbar_mc.healthbarinside_mc._xscale = 0;
healthbar_mc.healthtext_txt = Math.floor(healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (healthupgrade == 3) {
if (healthbar_mc.healthbarinside_mc._xscale >= 7) {
healthbar_mc.healthbarinside_mc._xscale = healthbar_mc.healthbarinside_mc._xscale - 7;
healthbar_mc.healthtext_txt = Math.floor(healthbar_mc.healthbarinside_mc._xscale * 1.6) + "%";
} else {
healthbar_mc.healthbarinside_mc._xscale = 0;
healthbar_mc.healthtext_txt = Math.floor(healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (healthupgrade == 4) {
if (healthbar_mc.healthbarinside_mc._xscale >= 6) {
healthbar_mc.healthbarinside_mc._xscale = healthbar_mc.healthbarinside_mc._xscale - 6;
healthbar_mc.healthtext_txt = Math.floor(healthbar_mc.healthbarinside_mc._xscale * 1.8) + "%";
} else {
healthbar_mc.healthbarinside_mc._xscale = 0;
healthbar_mc.healthtext_txt = Math.floor(healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (healthupgrade == 5) {
if (healthbar_mc.healthbarinside_mc._xscale >= 5) {
healthbar_mc.healthbarinside_mc._xscale = healthbar_mc.healthbarinside_mc._xscale - 5;
healthbar_mc.healthtext_txt = Math.floor(healthbar_mc.healthbarinside_mc._xscale * 2) + "%";
} else {
healthbar_mc.healthbarinside_mc._xscale = 0;
healthbar_mc.healthtext_txt = Math.floor(healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
}
if (healthbar_mc.healthbarinside_mc._xscale == 0) {
ship.play();
ship.shipx = ship._x;
ship.shipy = ship._y;
ship.shiprotation = ship._rotation;
}
} else if (ship == _root.ship2holder_mc.ship2_mc) {
if (ship2health == 0) {
if (healthbar2_mc.healthbarinside_mc._xscale > 0) {
ship.shieldasteroidhitx = _root.asteroid[asteroidnumber]._x - ship._x;
ship.shieldasteroidhity = _root.asteroid[asteroidnumber]._y - ship._y;
ship.shield_mc.play();
ship.shieldadjside = ship.shieldasteroidhitx - ship.shield_mc._x;
ship.shieldoppside = -1 * (ship.shieldasteroidhity - ship.shield_mc._y);
ship.shieldangle = Math.atan2(ship.shieldoppside, ship.shieldadjside);
ship.shieldangle = Math.round((ship.shieldangle / Math.PI) * 180);
ship.shield_mc._rotation = -1 * (ship._rotation + ship.shieldangle);
if (healthbar2_mc.healthbarinside_mc._xscale >= 20) {
healthbar2_mc.healthbarinside_mc._xscale = healthbar2_mc.healthbarinside_mc._xscale - 20;
healthbar2_mc.healthtext_txt = Math.floor(healthbar2_mc.healthbarinside_mc._xscale) + "%";
} else {
healthbar2_mc.healthbarinside_mc._xscale = 0;
healthbar2_mc.healthtext_txt = Math.floor(healthbar2_mc.healthbarinside_mc._xscale) + "%";
}
}
} else if (ship2health == 1) {
if (healthbar2_mc.healthbarinside_mc._xscale > 0) {
ship.shieldasteroidhitx = _root.asteroid[asteroidnumber]._x - ship._x;
ship.shieldasteroidhity = _root.asteroid[asteroidnumber]._y - ship._y;
ship.shield_mc.play();
ship.shieldadjside = ship.shieldasteroidhitx - ship.shield_mc._x;
ship.shieldoppside = -1 * (ship.shieldasteroidhity - ship.shield_mc._y);
ship.shieldangle = Math.atan2(ship.shieldoppside, ship.shieldadjside);
ship.shieldangle = Math.round((ship.shieldangle / Math.PI) * 180);
ship.shield_mc._rotation = -1 * (ship._rotation + ship.shieldangle);
if (healthbar2_mc.healthbarinside_mc._xscale >= 15) {
healthbar2_mc.healthbarinside_mc._xscale = healthbar2_mc.healthbarinside_mc._xscale - 15;
healthbar2_mc.healthtext_txt = Math.floor(healthbar2_mc.healthbarinside_mc._xscale * 1.5) + "%";
} else {
healthbar2_mc.healthbarinside_mc._xscale = 0;
healthbar2_mc.healthtext_txt = Math.floor(healthbar2_mc.healthbarinside_mc._xscale * 1.5) + "%";
}
}
} else if (ship2health == 2) {
if (healthbar2_mc.healthbarinside_mc._xscale > 0) {
ship.shieldasteroidhitx = _root.asteroid[asteroidnumber]._x - ship._x;
ship.shieldasteroidhity = _root.asteroid[asteroidnumber]._y - ship._y;
ship.shield_mc.play();
ship.shieldadjside = ship.shieldasteroidhitx - ship.shield_mc._x;
ship.shieldoppside = -1 * (ship.shieldasteroidhity - ship.shield_mc._y);
ship.shieldangle = Math.atan2(ship.shieldoppside, ship.shieldadjside);
ship.shieldangle = Math.round((ship.shieldangle / Math.PI) * 180);
ship.shield_mc._rotation = -1 * (ship._rotation + ship.shieldangle);
if (healthbar2_mc.healthbarinside_mc._xscale >= 10) {
healthbar2_mc.healthbarinside_mc._xscale = healthbar2_mc.healthbarinside_mc._xscale - 10;
healthbar2_mc.healthtext_txt = Math.floor(healthbar2_mc.healthbarinside_mc._xscale * 2) + "%";
} else {
healthbar2_mc.healthbarinside_mc._xscale = 0;
healthbar2_mc.healthtext_txt = Math.floor(healthbar2_mc.healthbarinside_mc._xscale * 2) + "%";
}
}
}
if (healthbar2_mc.healthbarinside_mc._xscale == 0) {
ship.play();
ship.shipx = ship._x;
ship.shipy = ship._y;
ship.shiprotation = ship._rotation;
}
}
};
shipshoot = function (ship, ship2, fast) {
if (_root.lasergameover == false) {
if (ship.powerup == 0) {
if (ship == _root.ship_mc) {
if (fasterlaserupgrade == 1) {
laser[t] = _root.laserholder_mc.attachMovie("laser2", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
} else if (fasterlaserupgrade == 2) {
laser[t] = _root.laserholder_mc.attachMovie("laser3", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
} else {
laser[t] = _root.laserholder_mc.attachMovie("laser", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
}
} else if (fast == true) {
laser[t] = _root.laserholder_mc.attachMovie("laser2", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
} else {
laser[t] = _root.laserholder_mc.attachMovie("laser", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
}
} else if (ship.powerup == 1) {
if (mutesounds == false) {
lasersound = new Sound(_root);
lasersound.attachSound("laser_sound");
lasersound.start();
}
if (ship == _root.ship_mc) {
if (fasterlaserupgrade == 1) {
laser[t] = _root.laserholder_mc.attachMovie("laser2", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
laser[t] = _root.laserholder_mc.attachMovie("laser2", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation + 10;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
laser[t] = _root.laserholder_mc.attachMovie("laser2", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation - 10;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
} else if (fasterlaserupgrade == 2) {
laser[t] = _root.laserholder_mc.attachMovie("laser3", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
laser[t] = _root.laserholder_mc.attachMovie("laser3", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation + 10;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
laser[t] = _root.laserholder_mc.attachMovie("laser3", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation - 10;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
} else {
laser[t] = _root.laserholder_mc.attachMovie("laser", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
laser[t] = _root.laserholder_mc.attachMovie("laser", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation + 10;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
laser[t] = _root.laserholder_mc.attachMovie("laser", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation - 10;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
}
} else if (fast == true) {
laser[t] = _root.laserholder_mc.attachMovie("laser2", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
laser[t] = _root.laserholder_mc.attachMovie("laser2", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation + 10;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
laser[t] = _root.laserholder_mc.attachMovie("laser2", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation - 10;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
} else {
laser[t] = _root.laserholder_mc.attachMovie("laser", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
laser[t] = _root.laserholder_mc.attachMovie("laser", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation + 10;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
laser[t] = _root.laserholder_mc.attachMovie("laser", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation - 10;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
}
if (ship == _root.ship_mc) {
if (_root.powerupbar1_mc._currentframe != 272) {
_root.powerupbar1_mc.gotoAndStop(_root.powerupbar1_mc._currentframe + (_root.powerupbar1_mc._totalframes / 10));
} else {
_root.powerupbar1_mc.gotoAndPlay(300);
}
} else if (ship == _root.ship2holder_mc.ship2_mc) {
if (_root.powerupbar2_mc._currentframe != 272) {
_root.powerupbar2_mc.gotoAndStop(_root.powerupbar2_mc._currentframe + (_root.powerupbar2_mc._totalframes / 10));
} else {
_root.powerupbar2_mc.gotoAndPlay(300);
}
}
} else if (ship.powerup == 4) {
laser[t] = _root.laserholder_mc.attachMovie("laser4", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
if (ship == _root.ship_mc) {
if (_root.powerupbar1_mc._currentframe <= 200) {
_root.powerupbar1_mc.gotoAndStop(_root.powerupbar1_mc._currentframe + (_root.powerupbar1_mc._totalframes / 3));
} else {
_root.powerupbar1_mc.gotoAndPlay(300);
}
} else if (ship == _root.ship2holder_mc.ship2_mc) {
if (_root.powerupbar2_mc._currentframe <= 200) {
_root.powerupbar2_mc.gotoAndStop(_root.powerupbar2_mc._currentframe + (_root.powerupbar2_mc._totalframes / 3));
} else {
_root.powerupbar2_mc.gotoAndPlay(300);
}
}
} else {
laser[t] = _root.laserholder_mc.attachMovie("laser", "laser" + t, t);
laser[t]._x = ship._x;
laser[t]._y = ship._y;
laser[t]._rotation = ship._rotation;
laser[t].xspeed = ship.shipspeedx;
laser[t].yspeed = ship.shipspeedy;
laser[t].shipshooting = ship;
laser[t].cacheAsBitmap;
t++;
}
}
};
checkkeys = function () {
if (Key.isDown(77)) {
mdown = true;
}
if (Key.isDown(71)) {
gdown = true;
}
if (Key.isDown(78)) {
ndown = true;
}
if (Key.isDown(83)) {
sdown = true;
}
if (Key.isDown(82)) {
rdown = true;
}
if (Key.isDown(76)) {
ldown = true;
}
if (Key.isDown(69)) {
e2down = true;
}
if (Key.isDown(69)) {
edown = true;
}
if (((((((mdown && (ldown)) && (rdown)) && (ndown)) && (sdown)) && (gdown)) && (e2down)) && (edown)) {
bgholder_mc.lineStyle(2, 16777215, 100);
bgholder_mc.moveTo(25, 10);
bgholder_mc.curveTo(15, 15, 20, 20);
bgholder_mc.curveTo(30, 25, 20, 30);
bgholder_mc.moveTo(30, 10);
bgholder_mc.lineTo(40, 10);
bgholder_mc.moveTo(35, 10);
bgholder_mc.lineTo(35, 30);
bgholder_mc.moveTo(45, 10);
bgholder_mc.lineTo(45, 30);
bgholder_mc.moveTo(45, 10);
bgholder_mc.lineTo(55, 10);
bgholder_mc.moveTo(45, 20);
bgholder_mc.lineTo(50, 20);
bgholder_mc.moveTo(45, 30);
bgholder_mc.lineTo(55, 30);
bgholder_mc.moveTo(60, 10);
bgholder_mc.lineTo(65, 30);
bgholder_mc.lineTo(70, 10);
bgholder_mc.moveTo(75, 10);
bgholder_mc.lineTo(75, 30);
bgholder_mc.moveTo(75, 10);
bgholder_mc.lineTo(85, 10);
bgholder_mc.moveTo(75, 20);
bgholder_mc.lineTo(80, 20);
bgholder_mc.moveTo(75, 30);
bgholder_mc.lineTo(85, 30);
bgholder_mc.moveTo(90, 30);
bgholder_mc.lineTo(90, 10);
bgholder_mc.lineTo(100, 30);
bgholder_mc.lineTo(100, 10);
bgholder_mc.moveTo(70, 40);
bgholder_mc.lineTo(60, 40);
bgholder_mc.lineTo(60, 60);
bgholder_mc.lineTo(70, 60);
bgholder_mc.moveTo(60, 50);
bgholder_mc.lineTo(65, 50);
bgholder_mc.moveTo(75, 60);
bgholder_mc.lineTo(75, 40);
bgholder_mc.lineTo(85, 60);
bgholder_mc.lineTo(85, 40);
bgholder_mc.moveTo(100, 40);
bgholder_mc.curveTo(85, 50, 95, 60);
bgholder_mc.curveTo(100, 60, 100, 51);
bgholder_mc.lineTo(95, 51);
bgholder_mc.moveTo(105, 40);
bgholder_mc.lineTo(105, 60);
bgholder_mc.lineTo(115, 60);
bgholder_mc.moveTo(130, 40);
bgholder_mc.lineTo(120, 40);
bgholder_mc.lineTo(120, 60);
bgholder_mc.lineTo(130, 60);
bgholder_mc.moveTo(120, 50);
bgholder_mc.lineTo(125, 50);
bgholder_mc.moveTo(135, 60);
bgholder_mc.lineTo(135, 40);
bgholder_mc.curveTo(150, 45, 135, 50);
bgholder_mc.lineTo(145, 60);
}
};
newpowerup = function (custompowerup, poweruptype) {
if (custompowerup == true) {
powerup[z] = _root.powerupholder_mc.attachMovie(poweruptype, "powerup" + z, z);
} else {
powerup[z] = _root.powerupholder_mc.attachMovie("powerup" + (Math.floor(Math.random() * 4) + 1), "powerup" + z, z);
}
powerup[z]._x = Math.floor(Math.random() * (Stage.width - powerup[z]._width)) + (powerup[z]._width / 2);
powerup[z]._y = Math.floor(Math.random() * (Stage.height - powerup[z]._height)) + (powerup[z]._height / 2);
powerup[z]._xscale = (powerup[z]._yscale = 105);
z++;
};
newgame = function () {
mission++;
gameover = false;
lasergameover = false;
playinggame = true;
gotoAndStop ("game");
newasteroid("al", true);
newasteroid("am", true);
newasteroid("am", true);
newasteroid("as", true);
newasteroid("al", true);
newasteroid("am", true);
gamepaused_mc._visible = false;
shipcolorex = new Color(_root.ship_mc.wholeship_mc.wings_mc);
shipcolorex.setRGB(shipcolor);
};
endgame = function (ship) {
health = healthbar_mc.healthbarinside_mc._xscale;
playinggame = false;
play();
};
prevmissionfunc = function () {
mission--;
newgame();
};
nextmissionfunc = function () {
newgame();
};
pausegame = function () {
gamepaused = true;
gamepaused_mc._visible = true;
addpoweruptimer_mc.stop();
ship_mc.flame_mc.stop();
ship2holder_mc.ship2_mc.flame_mc.stop();
powerupbar1_mc.stop();
powerupbar2_mc.stop();
_root.stop();
};
unpausegame = function () {
gamepaused = false;
gamepaused_mc._visible = false;
addpoweruptimer_mc.play();
if (ship_mc.powerup == 2) {
powerupbar1_mc.play();
}
if (ship2holder_mc.ship2_mc.powerup == 2) {
powerupbar2_mc.play();
}
if (lasergameover == true) {
_root.play();
}
};
continuegame = function () {
mission = player.data.game;
totalpoints = player.data.points;
speedupgrade = player.data.speedupgrade;
brakesupgrade = player.data.brakesupgrade;
healthupgrade = player.data.healthupgrade;
extralaserupgrade = player.data.extralaserupgrade;
fasterlaserupgrade = player.data.fasterlaserupgrade;
fasterreloadingupgrade = player.data.fasterreloadingupgrade;
reachedmissionfive = player.data.reachedmissionfive;
shipcolor = player.data.shipcolor;
controlltype = player.data.controlltype;
continuinggame = true;
_root.gotoAndStop("upgrademenu_frm");
if (speedupgrade == 0.8) {
upgrade1[1] = 1;
} else if (speedupgrade == 1.6) {
upgrade1[1] = 2;
upgrade1[2] = 1;
} else if (speedupgrade == 2.4) {
upgrade1[1] = 2;
upgrade1[2] = 2;
upgrade1[3] = 1;
} else if (speedupgrade == 3.2) {
upgrade1[1] = 2;
upgrade1[2] = 2;
upgrade1[3] = 2;
upgrade1[4] = 1;
} else if (speedupgrade == 4) {
upgrade1[1] = 2;
upgrade1[2] = 2;
upgrade1[3] = 2;
upgrade1[4] = 2;
upgrade1[5] = 1;
}
if (brakesupgrade == 0.8) {
upgrade2[1] = 1;
} else if (brakesupgrade == 1.6) {
upgrade2[1] = 2;
upgrade2[2] = 1;
} else if (brakesupgrade == 2.4) {
upgrade2[1] = 2;
upgrade2[2] = 2;
upgrade2[3] = 1;
} else if (brakesupgrade == 3.2) {
upgrade2[1] = 2;
upgrade2[2] = 2;
upgrade2[3] = 2;
upgrade2[4] = 1;
} else if (brakesupgrade == 4) {
upgrade2[1] = 2;
upgrade2[2] = 2;
upgrade2[3] = 2;
upgrade2[4] = 2;
upgrade2[5] = 1;
}
if (healthupgrade == 1) {
upgrade3[1] = 1;
} else if (healthupgrade == 2) {
upgrade3[1] = 2;
upgrade3[2] = 1;
} else if (healthupgrade == 3) {
upgrade3[1] = 2;
upgrade3[2] = 2;
upgrade3[3] = 1;
} else if (healthupgrade == 4) {
upgrade3[1] = 2;
upgrade3[2] = 2;
upgrade3[3] = 2;
upgrade3[4] = 1;
} else if (healthupgrade == 5) {
upgrade3[1] = 2;
upgrade3[2] = 2;
upgrade3[3] = 2;
upgrade3[4] = 2;
upgrade3[5] = 1;
}
if (fasterlaserupgrade == 1) {
upgrade4[1] = 1;
} else if (fasterlaserupgrade == 2) {
upgrade4[1] = 2;
upgrade4[2] = 1;
}
if (extralaserupgrade == 1) {
upgrade4[3] = 1;
} else if (extralaserupgrade == 2) {
upgrade4[3] = 2;
upgrade4[4] = 1;
}
if (fasterreloadingupgrade == 1) {
upgrade4[5] = 1;
}
};
powerupsoundfunc = function () {
if (mutesounds == false) {
powerupsound[o] = new Sound(_root);
powerupsound[o].attachSound("powerup_sound");
powerupsound[o].start();
o++;
}
};
stop();
Frame 2
mission = 0;
shipcolor = 16711680 /* 0xFF0000 */;
nearasteroidtruefalse = false;
gamepaused = false;
speed = 0.06;
btn1_mc.stop();
btn2_mc.stop();
btn3_mc.stop();
controllselect_mc._visible = false;
_root.title_mc._visible = false;
_root.ag_logo._visible = false;
if (atMainMenu == true) {
ad_mc._visible = false;
ad_mc.stop();
_root.title_mc._visible = true;
_root.ag_logo._visible = true;
_root.newasteroid("al", undefined, true);
_root.newasteroid("al", undefined, true);
_root.newasteroid("am", undefined, true);
_root.newasteroid("as", undefined, true);
_root.newasteroid("as", undefined, true);
_root.newasteroid("as", undefined, true);
_root.newasteroid("am", undefined, true);
_root.newasteroid("am", undefined, true);
_root.newasteroid("am", undefined, true);
_root.newasteroid("am", undefined, true);
_root.newasteroid("as", undefined, true);
_root.newasteroid("as", undefined, true);
_root.newasteroid("al", undefined, true);
_root.newasteroid("al", undefined, true);
_root.newasteroid("as", undefined, true);
_root.newasteroid("am", undefined, true);
_root.newasteroid("al", undefined, true);
_root.btn1_mc.play();
if (_root.player.data.game == undefined) {
_root.btn2_mc.gotoAndPlay("unavailable");
} else {
_root.btn2_mc.play();
}
_root.btn3_mc.play();
}
atMainMenu = true;
upgrade1[1] = 0;
upgrade1[2] = 0;
upgrade1[3] = 0;
upgrade1[4] = 0;
upgrade1[5] = 0;
upgrade2[1] = 0;
upgrade2[2] = 0;
upgrade2[3] = 0;
upgrade2[4] = 0;
upgrade2[5] = 0;
upgrade3[1] = 0;
upgrade3[2] = 0;
upgrade3[3] = 0;
upgrade3[4] = 0;
upgrade3[5] = 0;
upgrade4[1] = 0;
upgrade4[2] = 0;
upgrade4[3] = 0;
upgrade4[4] = 0;
upgrade4[5] = 0;
speedupgrade = 0;
brakesupgrade = 0;
healthupgrade = 0;
asteroidspeed = 1;
extralaserupgrade = 0;
fasterlaserupgrade = 0;
fasterreloadingupgrade = 0;
numberoflasersounds = 0;
totalpoints = 0;
numberoflasersounds = 0;
reachedmissionfive = false;
keyListener.onKeyDown = function () {
if (Key.isDown(81)) {
if (_quality == "LOW") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "HIGH";
} else if (_quality == "HIGH") {
_quality = "LOW";
}
}
checkkeys();
};
Key.addListener(keyListener);
this.onEnterFrame = function () {
j = k;
while (j < l) {
moveasteroid(j);
j++;
}
};
stop();
Instance of Symbol 42 MovieClip in Frame 2
onClipEvent (load) {
if (_root.mutesounds == true) {
this.gotoAndStop(2);
} else if (_root.mutesounds == false) {
this.gotoAndStop(1);
}
}
on (release) {
if (_root.mutesounds == true) {
_root.mutesounds = false;
this.gotoAndStop(1);
} else if (_root.mutesounds == false) {
_root.mutesounds = true;
this.gotoAndStop(2);
}
}
Frame 3
if (controlltype == 0) {
controlls.text = "\n Press the up and down arrow keys (or W and S) to move, \n Up/W - Accelerate \n Mouse - Rotate \n Down/S - Backwards";
shootingcontrolls.text = "Hold the mouse down to fire!";
rightkey_mc._visible = false;
leftkey_mc._visible = false;
spacekey_mc._visible = false;
mouse_mc._x = 63.4;
controlls._y = 105.1;
} else if (controlltype == 1) {
controlls.text = "\n Press the arrow keys \n (or W,A,S,D) to move, \n Up/W - Accelerate \n Right/Left/D/A - Rotate \n Down/S - Backwards";
shootingcontrolls.text = "Hold the SPACE bar (or ENTER) to shoot";
mouse_mc._visible = false;
mouse2_mc._visible = false;
mouse_mc._x = 63.4;
controlls._y = 105.1;
} else {
controlls.text = "Press the arrow keys \n (or W,A,S,D) to move, \n Up/W - Up \n Right/D - Right \n Left/A - Left \n Down/S - Down";
shootingcontrolls.text = "Hold the mouse down to fire!";
mouse_mc._visible = true;
mouse2_mc._visible = true;
spacekey_mc._visible = false;
mouse_mc._x = 53.4;
controlls._y = 112.1;
}
if (_root.howtoplaylinkedfrom < 3) {
mouse_btn._visible = false;
keys_btn._visible = false;
mouseandkeys_btn._visible = false;
}
stop();
Instance of Symbol 281 MovieClip in Frame 3
on (release) {
if (_root.howtoplaylinkedfrom == 1) {
_root.mainmenusound_mc.gotoAndStop(3);
_root.newgame();
} else if (_root.howtoplaylinkedfrom == 2) {
_root.continuegame();
} else if (_root.howtoplaylinkedfrom == 3) {
_root.gotoAndStop("mainmenu");
}
}
Frame 4
_root.ship2holder_mc.attachMovie("ship" + (mission + 1), "ship2_mc", 1);
_root.ship2holder_mc.ship2_mc._x = Math.floor((Math.random() * (Stage.width - 170)) + 85);
_root.ship2holder_mc.ship2_mc._y = Math.floor((Math.random() * (Stage.height - 170)) + 85);
_root.ship2holder_mc.ship2_mc._xscale = (_root.ship2holder_mc.ship2_mc._yscale = 80);
_root.ship2holder_mc.ship2_mc.shipspeedx = 0;
_root.ship2holder_mc.ship2_mc.shipspeedy = 0;
_root.ship2holder_mc.ship2_mc.shipaccelx = 0;
_root.ship2holder_mc.ship2_mc.shipaccely = 0;
_root.ship2holder_mc.ship2_mc.tspaceship = 0;
_root.ship2holder_mc.ship2_mc.powerup = 0;
_root.ship_mc._x = Math.floor((Math.random() * (Stage.width - 170)) + 85);
_root.ship_mc._y = Math.floor((Math.random() * (Stage.height - 170)) + 85);
_root.ship_mc._rotation = Math.floor(Math.random() * 360);
if (mission == 1) {
ship2accelerationnormal = 0.5;
ship2breakspeednormal = 0.3;
ship2health = 0;
asteroidspeed = 0.7;
speed = 0.06;
ship2startshooting = false;
mission1start = true;
} else if (mission == 2) {
ship2accelerationnormal = 0.6;
ship2breakspeednormal = 0.32;
ship2health = 0;
asteroidspeed = 1;
speed = 0.07;
ship2startshooting = false;
mission1start = false;
} else if (mission == 3) {
ship2accelerationnormal = 0.7;
ship2breakspeednormal = 0.35;
ship2health = 0;
asteroidspeed = 1;
speed = 0.09;
ship2startshooting = false;
mission1start = false;
} else if (mission == 4) {
ship2accelerationnormal = 0.9;
ship2breakspeednormal = 0.45;
ship2health = 1;
asteroidspeed = 1.1;
speed = 0.14;
ship2startshooting = false;
mission1start = false;
} else if (mission == 5) {
ship2accelerationnormal = 1.2;
ship2breakspeednormal = 0.6;
ship2health = 2;
asteroidspeed = 1.3;
speed = 0.3;
ship2startshooting = false;
mission1start = false;
}
if (healthupgrade == 0) {
healthbar_mc.healthtext_txt = "100%";
}
if (healthupgrade == 1) {
healthbar_mc.healthtext_txt = "120%";
}
if (healthupgrade == 2) {
healthbar_mc.healthtext_txt = "140%";
}
if (healthupgrade == 3) {
healthbar_mc.healthtext_txt = "160%";
}
if (healthupgrade == 4) {
healthbar_mc.healthtext_txt = "180%";
}
if (healthupgrade == 5) {
healthbar_mc.healthtext_txt = "200%";
}
if (ship2health == 0) {
healthbar2_mc.healthtext_txt = "100%";
}
if (ship2health == 1) {
healthbar2_mc.healthtext_txt = "150%";
}
if (ship2health == 2) {
healthbar2_mc.healthtext_txt = "200%";
}
if (mission1start == true) {
_root.attachMovie("mission1startinfobox", "mission1startinfobox_mc", 1);
mission1startinfobox_mc._x = Stage.width / 2;
mission1startinfobox_mc._y = Stage.height / 2;
addpoweruptimer_mc.stop();
ship_mc.flame_mc.stop();
ship2holder_mc.ship2_mc.flame_mc.stop();
}
this.onEnterFrame = function () {
if (gamepaused == false) {
if (mission1start == false) {
movecomputership(_root.ship2holder_mc.ship2_mc, _root.ship_mc);
moveship(_root.ship_mc);
i = k;
while (i < l) {
moveasteroid(i);
i++;
}
if (controlltype == 1) {
if (Key.isDown(32) || (Key.isDown(13))) {
ship2startshooting = true;
_root.shootship1timer_mc.play();
}
} else if (mousedown == true) {
ship2startshooting = true;
_root.shootship1timer_mc.play();
}
} else if (Key.isDown(38) || (Key.isDown(87))) {
_root.mission1start = false;
_root.addpoweruptimer_mc.play();
removeMovieClip(mission1startinfobox_mc);
}
}
};
if ((controlltype == 0) || (controlltype == 2)) {
onMouseDown = function () {
mousedown = true;
};
onMouseUp = function () {
mousedown = false;
};
}
keyListener.onKeyDown = function () {
if (Key.isDown(80)) {
if (howtoplay == false) {
if (gamepaused == false) {
pausegame();
} else if (gamepaused == true) {
unpausegame();
}
}
}
if (Key.isDown(81)) {
if (_quality == "LOW") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "HIGH";
} else if (_quality == "HIGH") {
_quality = "LOW";
}
}
};
Key.addListener(keyListener);
stop();
Instance of Symbol 342 MovieClip "ship_mc" in Frame 4
onClipEvent (load) {
this.shipspeedx = 0;
this.shipspeedy = 0;
this.shipaccelx = 0;
this.shipaccely = 0;
this.tspaceship = 0;
this.powerup = 0;
}
Instance of Symbol 355 MovieClip "healthbar_mc" in Frame 4
onClipEvent (load) {
this.healthcolor = "green";
}
Instance of Symbol 355 MovieClip "healthbar2_mc" in Frame 4
onClipEvent (load) {
this.healthcolor = "red";
}
Frame 41
gameover = true;
Frame 43
b = k;
while (b <= l) {
removeasteroid(b, undefined, true, true);
b++;
}
Frame 44
if (mission == 1) {
_root.upgrade1[3] = 2;
_root.upgrade1[4] = 2;
_root.upgrade1[5] = 2;
_root.upgrade2[3] = 2;
_root.upgrade2[4] = 2;
_root.upgrade2[5] = 2;
_root.upgrade3[3] = 2;
_root.upgrade3[4] = 2;
_root.upgrade3[5] = 2;
_root.upgrade4[3] = 2;
_root.upgrade4[4] = 2;
_root.upgrade4[5] = 2;
} else if (mission == 2) {
if (_root.upgrade1[3] == 2) {
_root.upgrade1[3] = 0;
}
if (_root.upgrade2[3] == 2) {
_root.upgrade2[3] = 0;
}
if (_root.upgrade3[3] == 2) {
_root.upgrade3[3] = 0;
}
if (_root.upgrade4[3] == 2) {
_root.upgrade4[3] = 0;
}
_root.upgrade1[4] = 2;
_root.upgrade1[5] = 2;
_root.upgrade2[4] = 2;
_root.upgrade2[5] = 2;
_root.upgrade3[4] = 2;
_root.upgrade3[5] = 2;
_root.upgrade4[4] = 2;
_root.upgrade4[5] = 2;
} else if (mission == 3) {
if (_root.upgrade1[4] == 2) {
_root.upgrade1[4] = 0;
}
if (_root.upgrade2[4] == 2) {
_root.upgrade2[4] = 0;
}
if (_root.upgrade3[4] == 2) {
_root.upgrade3[4] = 0;
}
if (_root.upgrade4[4] == 2) {
_root.upgrade4[4] = 0;
}
_root.upgrade1[5] = 2;
_root.upgrade2[5] = 2;
_root.upgrade3[5] = 2;
_root.upgrade4[5] = 2;
} else if (mission == 4) {
if (_root.upgrade1[5] == 2) {
_root.upgrade1[5] = 0;
}
if (_root.upgrade2[5] == 2) {
_root.upgrade2[5] = 0;
}
if (_root.upgrade3[5] == 2) {
_root.upgrade3[5] = 0;
}
if (_root.upgrade4[5] == 2) {
_root.upgrade4[5] = 0;
}
} else if (mission == 5) {
reachedmissionfive = true;
if (_root.health > 0) {
gotoAndStop ("endgame");
} else {
mission--;
}
}
newpoints = health;
totalpoints = totalpoints + Math.round(newpoints / 10);
points = totalpoints + " points";
gamepaused = false;
wholeship_mc.wholeship2_mc.gotoAndStop(2);
shipcolorex = new Color(wholeship_mc.wholeship2_mc.wings_mc);
shipcolorex.setRGB(shipcolor);
computershipnearasteroid = false;
ship2hittingpowerup = false;
missionnumber = ("mission " + mission) + "/5";
numberoflasersounds = 0;
_root.player.data.game = _root.mission;
_root.player.data.points = _root.totalpoints;
_root.player.data.speedupgrade = _root.speedupgrade;
_root.player.data.brakesupgrade = _root.brakesupgrade;
_root.player.data.healthupgrade = _root.healthupgrade;
_root.player.data.extralaserupgrade = _root.extralaserupgrade;
_root.player.data.fasterlaserupgrade = _root.fasterlaserupgrade;
_root.player.data.fasterreloadingupgrade = _root.fasterreloadingupgrade;
_root.player.data.shipcolor = _root.shipcolor;
_root.player.data.reachedmissionfive = _root.reachedmissionfive;
_root.player.data.controlltype = _root.controlltype;
uparrow_mc.onRelease = function () {
if (losehelpboxon != true) {
textmovingdown = false;
textmovingup = true;
textlocation = text_mc._y;
}
};
downarrow_mc.onRelease = function () {
if (losehelpboxon != true) {
textmovingup = false;
textmovingdown = true;
textlocation = text_mc._y;
}
};
if (newpoints == 0) {
if (continuinggame != true) {
_root.attachMovie("losehelpbox", "losehelpbox", 1);
losehelpbox._x = Stage.width / 2;
losehelpbox._y = Stage.height / 2;
myrandomvar = Math.floor((Math.random() * 2) + 1);
if (myrandomvar == 1) {
losehelpbox.infobox_mc.titletext_txt.text = "Having trouble beating a level?";
losehelpbox.infobox_mc.helptext_txt.text = "Try replaying the level you just beat to \n gain more points so you can buy upgrades. \n Even a small upgrade can drastically \n improve your performance!";
} else {
losehelpbox.infobox_mc.titletext_txt.text = "Don't forget about powerups!";
losehelpbox.infobox_mc.helptext_txt.text = "You might not think powerups help you \n that much, but they can really help \n decide who wins and who loses each mission.";
}
losehelpboxon = true;
} else {
continuinggame = false;
}
}
this.onEnterFrame = function () {
points = totalpoints + " points";
speed_mc.inside_mc._xscale = speedupgrade * 25;
brakes_mc.inside_mc._xscale = brakesupgrade * 25;
health_mc.inside_mc._xscale = healthupgrade * 20;
shooting_mc.inside_mc._xscale = ((extralaserupgrade + fasterlaserupgrade) + fasterreloadingupgrade) * 20;
if (textmovingdown == true) {
text_mc._y = text_mc._y - ((text_mc._y - (textlocation - 39.9)) * 0.5);
if (text_mc._y == (textlocation - 39.9)) {
textmovingdown = false;
}
}
if (textmovingup == true) {
text_mc._y = text_mc._y + (((textlocation + 39.9) - text_mc._y) * 0.5);
if (text_mc._y == (textlocation + 39.9)) {
textmovingup = false;
}
}
if (arrow_mc.hitTest(text_mc.upgrade1_mc)) {
uparrow_mc._visible = false;
downarrow_mc._visible = true;
upgrades_mc.gotoAndStop(1);
text_mc.upgrade1_mc.gotoAndStop(2);
text_mc.upgrade2_mc.gotoAndStop(1);
text_mc.upgrade3_mc.gotoAndStop(1);
text_mc.upgrade4_mc.gotoAndStop(1);
text_mc.upgrade5_mc.gotoAndStop(1);
} else if (arrow_mc.hitTest(text_mc.upgrade2_mc)) {
uparrow_mc._visible = true;
downarrow_mc._visible = true;
upgrades_mc.gotoAndStop(2);
text_mc.upgrade1_mc.gotoAndStop(1);
text_mc.upgrade2_mc.gotoAndStop(2);
text_mc.upgrade3_mc.gotoAndStop(1);
text_mc.upgrade4_mc.gotoAndStop(1);
text_mc.upgrade5_mc.gotoAndStop(1);
} else if (arrow_mc.hitTest(text_mc.upgrade3_mc)) {
uparrow_mc._visible = true;
downarrow_mc._visible = true;
upgrades_mc.gotoAndStop(3);
text_mc.upgrade1_mc.gotoAndStop(1);
text_mc.upgrade2_mc.gotoAndStop(1);
text_mc.upgrade3_mc.gotoAndStop(2);
text_mc.upgrade4_mc.gotoAndStop(1);
text_mc.upgrade5_mc.gotoAndStop(1);
} else if (arrow_mc.hitTest(text_mc.upgrade4_mc)) {
uparrow_mc._visible = true;
downarrow_mc._visible = true;
upgrades_mc.gotoAndStop(4);
text_mc.upgrade1_mc.gotoAndStop(1);
text_mc.upgrade2_mc.gotoAndStop(1);
text_mc.upgrade3_mc.gotoAndStop(1);
text_mc.upgrade4_mc.gotoAndStop(2);
text_mc.upgrade5_mc.gotoAndStop(1);
} else if (arrow_mc.hitTest(text_mc.upgrade5_mc)) {
uparrow_mc._visible = true;
downarrow_mc._visible = false;
upgrades_mc.gotoAndStop(5);
text_mc.upgrade1_mc.gotoAndStop(1);
text_mc.upgrade2_mc.gotoAndStop(1);
text_mc.upgrade3_mc.gotoAndStop(1);
text_mc.upgrade4_mc.gotoAndStop(1);
text_mc.upgrade5_mc.gotoAndStop(2);
}
};
keyListener.onKeyDown = function () {
if (losehelpboxon == true) {
if (Key.isDown(38) || (Key.isDown(87))) {
removeMovieClip(_root.losehelpbox);
_root.losehelpboxon = false;
}
}
if (Key.isDown(81)) {
if (_quality == "LOW") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "HIGH";
} else if (_quality == "HIGH") {
_quality = "LOW";
}
}
if (Key.isDown(37) || (Key.isDown(65))) {
_root.mission--;
_root.player.data.game = _root.mission + 1;
_root.player.data.points = _root.totalpoints;
_root.player.data.speedupgrade = _root.speedupgrade;
_root.player.data.brakesupgrade = _root.brakesupgrade;
_root.player.data.healthupgrade = _root.healthupgrade;
_root.player.data.extralaserupgrade = _root.extralaserupgrade;
_root.player.data.fasterlaserupgrade = _root.fasterlaserupgrade;
_root.player.data.fasterreloadingupgrade = _root.fasterreloadingupgrade;
_root.player.data.shipcolor = _root.shipcolor;
_root.player.data.reachedmissionfive = _root.reachedmissionfive;
_root.newgame();
}
if (Key.isDown(39) || (Key.isDown(68))) {
if (_root.newpoints != 0) {
_root.player.data.game = _root.mission;
_root.player.data.points = _root.totalpoints;
_root.player.data.speedupgrade = _root.speedupgrade;
_root.player.data.brakesupgrade = _root.brakesupgrade;
_root.player.data.healthupgrade = _root.healthupgrade;
_root.player.data.extralaserupgrade = _root.extralaserupgrade;
_root.player.data.fasterlaserupgrade = _root.fasterlaserupgrade;
_root.player.data.fasterreloadingupgrade = _root.fasterreloadingupgrade;
_root.player.data.shipcolor = _root.shipcolor;
_root.player.data.reachedmissionfive = _root.reachedmissionfive;
_root.newgame();
} else if (_root.reachedmissionfive == true) {
_root.player.data.game = _root.mission;
_root.player.data.points = _root.totalpoints;
_root.player.data.speedupgrade = _root.speedupgrade;
_root.player.data.brakesupgrade = _root.brakesupgrade;
_root.player.data.healthupgrade = _root.healthupgrade;
_root.player.data.extralaserupgrade = _root.extralaserupgrade;
_root.player.data.fasterlaserupgrade = _root.fasterlaserupgrade;
_root.player.data.fasterreloadingupgrade = _root.fasterreloadingupgrade;
_root.player.data.shipcolor = _root.shipcolor;
_root.player.data.reachedmissionfive = _root.reachedmissionfive;
_root.newgame();
}
}
};
Key.addListener(keyListener);
stop();
Instance of Symbol 42 MovieClip in Frame 44
onClipEvent (load) {
if (_root.mutesounds == true) {
this.gotoAndStop(2);
} else if (_root.mutesounds == false) {
this.gotoAndStop(1);
}
}
on (release) {
if (_root.mutesounds == true) {
_root.mutesounds = false;
this.gotoAndStop(1);
} else if (_root.mutesounds == false) {
_root.mutesounds = true;
this.gotoAndStop(2);
}
}
Frame 45
Key.removeListener(keyListener);
Instance of Symbol 281 MovieClip in Frame 45
on (release) {
_root.gotoAndStop("mainmenu");
}
Symbol 8 MovieClip Frame 21
stop();
Symbol 11 MovieClip [laser4] Frame 1
thislasernumber = _root.t - 1;
if (_root.mutesounds == false) {
if (shipshooting.powerup != 1) {
if (_root.numberoflasersounds < 4) {
_root.numberoflasersounds++;
addedlaser = true;
lasersound_mc.play();
} else {
lasersound_mc.stop();
addedlaser = false;
}
} else {
lasersound_mc.stop();
addedlaser = false;
}
} else {
lasersound_mc.stop();
addedlaser = false;
}
this.onEnterFrame = function () {
if (_root.gamepaused == true) {
this.stop();
} else if (_root.gamepaused == false) {
this.play();
this._x = this._x + xspeed;
this._y = this._y + yspeed;
}
if (this.laserobj_mc.hitTest(_root.ship_mc.shiphittest_mc)) {
if (_root.healthbar_mc.healthbarinside_mc._xscale > 0) {
if (_root.healthupgrade == 0) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 20) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 20;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 1) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 18) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 18;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.2) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.2) + "%";
}
}
if (_root.healthupgrade == 2) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 16) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 16;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.4) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 3) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 14) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 14;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.6) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 4) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 12) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 12;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.8) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 5) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 10) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 10;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 2) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
}
if (_root.healthbar_mc.healthbarinside_mc._xscale == 0) {
_root.ship_mc.play();
_root.ship_mc.shipx = _root.ship_mc._x;
_root.ship_mc.shipy = _root.ship_mc._y;
_root.ship_mc.shiprotation = _root.ship_mc._rotation;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield1_mc)) {
_root.ship_mc.shield_mc._rotation = 22;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield2_mc)) {
_root.ship_mc.shield_mc._rotation = 67;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield3_mc)) {
_root.ship_mc.shield_mc._rotation = 112;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield4_mc)) {
_root.ship_mc.shield_mc._rotation = 157;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield5_mc)) {
_root.ship_mc.shield_mc._rotation = 202;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield6_mc)) {
_root.ship_mc.shield_mc._rotation = 247;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield7_mc)) {
_root.ship_mc.shield_mc._rotation = 292;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield8_mc)) {
_root.ship_mc.shield_mc._rotation = -22;
}
_root.ship_mc.shield_mc.play();
_root.ship2hitlaserline[thislasernumber] = false;
_root.w++;
if (addedlaser == true) {
_root.numberoflasersounds--;
}
delete this.onEnterFrame;
removeMovieClip(this);
}
if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
if (_root.ship2health == 0) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale > 0) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale >= 20) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale - 20;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 0;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale) + "%";
}
}
} else if (_root.ship2health == 1) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale > 0) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale >= 15) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale - 15;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 1.5) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 0;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 1.5) + "%";
}
}
} else if (_root.ship2health == 2) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale > 0) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale >= 10) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale - 10;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 2) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 0;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 2) + "%";
}
}
}
if (_root.healthbar2_mc.healthbarinside_mc._xscale == 0) {
_root.ship2holder_mc.ship2_mc.play();
_root.ship2holder_mc.ship2_mc.shipx = _root.ship2holder_mc.ship2_mc._x;
_root.ship2holder_mc.ship2_mc.shipy = _root.ship2holder_mc.ship2_mc._y;
_root.ship2holder_mc.ship2_mc.shiprotation = _root.ship2holder_mc.ship2_mc._rotation;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield1_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 22;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield2_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 67;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield3_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 112;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield4_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 157;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield5_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 202;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield6_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 247;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield7_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 292;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield8_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = -22;
}
_root.ship2holder_mc.ship2_mc.shield_mc.play();
_root.ship2hitlaserline[thislasernumber] = false;
_root.w++;
if (addedlaser == true) {
_root.numberoflasersounds--;
}
delete this.onEnterFrame;
removeMovieClip(this);
}
s = _root.k;
while (s < _root.l) {
if (this.laserobj_mc.hitTest((((_root.asteroid[s].box1_mc || (_root.asteroid[s].box2_mc)) || (_root.asteroid[s].box3_mc)) || (_root.asteroid[s].box4_mc)) || (_root.asteroid[s].box5_mc))) {
_root.removeasteroid(s);
}
s++;
}
if (this.laserlinehittest_mc.hitTest(_root.ship2holder_mc.ship2_mc._x, _root.ship2holder_mc.ship2_mc._y, true)) {
_root.ship2hitlaserline[thislasernumber] = true;
} else {
_root.ship2hitlaserline[thislasernumber] = false;
}
if (_root.gameover == true) {
_root.ship2hitlaserline[thislasernumber] = false;
_root.w++;
if (addedlaser == true) {
_root.numberoflasersounds--;
}
removeMovieClip(this);
}
};
Symbol 11 MovieClip [laser4] Frame 41
_root.w++;
delete this.onEnterFrame;
if (addedlaser == true) {
_root.numberoflasersounds--;
}
_root.ship2hitlaserline[thislasernumber] = false;
removeMovieClip(this);
Symbol 12 MovieClip Frame 20
stop();
Symbol 15 MovieClip [laser3] Frame 1
thislasernumber = _root.t - 1;
if (_root.mutesounds == false) {
if (shipshooting.powerup != 1) {
if (_root.numberoflasersounds < 4) {
_root.numberoflasersounds++;
addedlaser = true;
lasersound_mc.play();
} else {
lasersound_mc.stop();
addedlaser = false;
}
} else {
lasersound_mc.stop();
addedlaser = false;
}
} else {
lasersound_mc.stop();
addedlaser = false;
}
this.onEnterFrame = function () {
if (_root.gamepaused == true) {
this.stop();
} else if (_root.gamepaused == false) {
this.play();
this._x = this._x + xspeed;
this._y = this._y + yspeed;
}
if (this.laserobj_mc.hitTest(_root.ship_mc.shiphittest_mc)) {
if (_root.healthbar_mc.healthbarinside_mc._xscale > 0) {
if (_root.healthupgrade == 0) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 5) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 5;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 1) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 5) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 5;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.2) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.2) + "%";
}
}
if (_root.healthupgrade == 2) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 4) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 4;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.4) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 3) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 4) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 4;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.6) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 4) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 3) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 3;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.8) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 5) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 2) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 2;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 2) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
}
if (_root.healthbar_mc.healthbarinside_mc._xscale == 0) {
_root.ship_mc.play();
_root.ship_mc.shipx = _root.ship_mc._x;
_root.ship_mc.shipy = _root.ship_mc._y;
_root.ship_mc.shiprotation = _root.ship_mc._rotation;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield1_mc)) {
_root.ship_mc.shield_mc._rotation = 22;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield2_mc)) {
_root.ship_mc.shield_mc._rotation = 67;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield3_mc)) {
_root.ship_mc.shield_mc._rotation = 112;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield4_mc)) {
_root.ship_mc.shield_mc._rotation = 157;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield5_mc)) {
_root.ship_mc.shield_mc._rotation = 202;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield6_mc)) {
_root.ship_mc.shield_mc._rotation = 247;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield7_mc)) {
_root.ship_mc.shield_mc._rotation = 292;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield8_mc)) {
_root.ship_mc.shield_mc._rotation = -22;
}
_root.ship_mc.shield_mc.play();
_root.ship2hitlaserline[thislasernumber] = false;
_root.w++;
if (addedlaser == true) {
_root.numberoflasersounds--;
}
delete this.onEnterFrame;
removeMovieClip(this);
}
if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
if (_root.ship2health == 0) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale > 0) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale >= 5) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale - 5;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 0;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale) + "%";
}
}
} else if (_root.ship2health == 1) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale > 0) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale >= 4) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale - 4;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 1.5) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 0;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 1.5) + "%";
}
}
} else if (_root.ship2health == 2) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale > 0) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale >= 2) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale - 2;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 2) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 0;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 2) + "%";
}
}
}
if (_root.healthbar2_mc.healthbarinside_mc._xscale == 0) {
_root.ship2holder_mc.ship2_mc.play();
_root.ship2holder_mc.ship2_mc.shipx = _root.ship2holder_mc.ship2_mc._x;
_root.ship2holder_mc.ship2_mc.shipy = _root.ship2holder_mc.ship2_mc._y;
_root.ship2holder_mc.ship2_mc.shiprotation = _root.ship2holder_mc.ship2_mc._rotation;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield1_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 22;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield2_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 67;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield3_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 112;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield4_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 157;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield5_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 202;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield6_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 247;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield7_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 292;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield8_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = -22;
}
_root.ship2holder_mc.ship2_mc.shield_mc.play();
_root.ship2hitlaserline[thislasernumber] = false;
_root.w++;
if (addedlaser == true) {
_root.numberoflasersounds--;
}
delete this.onEnterFrame;
removeMovieClip(this);
}
s = _root.k;
while (s < _root.l) {
if (this.laserobj_mc.hitTest((((_root.asteroid[s].box1_mc || (_root.asteroid[s].box2_mc)) || (_root.asteroid[s].box3_mc)) || (_root.asteroid[s].box4_mc)) || (_root.asteroid[s].box5_mc))) {
_root.removeasteroid(s);
_root.ship2hitlaserline[thislasernumber] = false;
_root.w++;
if (addedlaser == true) {
_root.numberoflasersounds--;
}
if (_root.lasergameover == false) {
if (shipshooting == _root.ship_mc) {
if (_root.healthupgrade == 0) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 98) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 2;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 1) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 98) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 2;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.2) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 2) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 98) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 2;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.4) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 1;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.4) + "%";
}
}
if (_root.healthupgrade == 3) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 99) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 1;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.6) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.6) + "%";
}
}
if (_root.healthupgrade == 4) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 99) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 1;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.8) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.8) + "%";
}
}
if (_root.healthupgrade == 5) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 99) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 1;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 2) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 2) + "%";
}
}
}
if (shipshooting == _root.ship2holder_mc.ship2_mc) {
if (_root.ship2health == 0) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale <= 98) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale + 2;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 100;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale) + "%";
}
} else if (_root.ship2health == 1) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale <= 98) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale + 2;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 1.5) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 100;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 1.5) + "%";
}
} else if (_root.ship2health == 2) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale <= 99) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale + 1;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 2) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 100;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 2) + "%";
}
}
}
}
delete this.onEnterFrame;
removeMovieClip(this);
}
s++;
}
if (this.laserlinehittest_mc.hitTest(_root.ship2holder_mc.ship2_mc._x, _root.ship2holder_mc.ship2_mc._y, true)) {
_root.ship2hitlaserline[thislasernumber] = true;
} else {
_root.ship2hitlaserline[thislasernumber] = false;
}
if (_root.gameover == true) {
_root.ship2hitlaserline[thislasernumber] = false;
_root.w++;
if (addedlaser == true) {
_root.numberoflasersounds--;
}
removeMovieClip(this);
}
};
Symbol 15 MovieClip [laser3] Frame 14
_root.w++;
delete this.onEnterFrame;
if (addedlaser == true) {
_root.numberoflasersounds--;
}
_root.ship2hitlaserline[thislasernumber] = false;
removeMovieClip(this);
Symbol 16 MovieClip [laser2] Frame 1
thislasernumber = _root.t - 1;
if (_root.mutesounds == false) {
if (shipshooting.powerup != 1) {
if (_root.numberoflasersounds < 4) {
_root.numberoflasersounds++;
addedlaser = true;
lasersound_mc.play();
} else {
lasersound_mc.stop();
addedlaser = false;
}
} else {
lasersound_mc.stop();
addedlaser = false;
}
} else {
lasersound_mc.stop();
addedlaser = false;
}
this.onEnterFrame = function () {
if (_root.gamepaused == true) {
this.stop();
} else if (_root.gamepaused == false) {
this.play();
this._x = this._x + xspeed;
this._y = this._y + yspeed;
}
if (this.laserobj_mc.hitTest(_root.ship_mc.shiphittest_mc)) {
if (_root.healthbar_mc.healthbarinside_mc._xscale > 0) {
if (_root.healthupgrade == 0) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 5) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 5;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 1) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 5) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 5;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.2) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.2) + "%";
}
}
if (_root.healthupgrade == 2) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 4) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 4;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.4) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 3) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 4) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 4;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.6) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 4) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 3) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 3;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.8) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 5) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 2) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 2;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 2) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
}
if (_root.healthbar_mc.healthbarinside_mc._xscale == 0) {
_root.ship_mc.play();
_root.ship_mc.shipx = _root.ship_mc._x;
_root.ship_mc.shipy = _root.ship_mc._y;
_root.ship_mc.shiprotation = _root.ship_mc._rotation;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield1_mc)) {
_root.ship_mc.shield_mc._rotation = 22;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield2_mc)) {
_root.ship_mc.shield_mc._rotation = 67;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield3_mc)) {
_root.ship_mc.shield_mc._rotation = 112;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield4_mc)) {
_root.ship_mc.shield_mc._rotation = 157;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield5_mc)) {
_root.ship_mc.shield_mc._rotation = 202;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield6_mc)) {
_root.ship_mc.shield_mc._rotation = 247;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield7_mc)) {
_root.ship_mc.shield_mc._rotation = 292;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield8_mc)) {
_root.ship_mc.shield_mc._rotation = -22;
}
_root.ship_mc.shield_mc.play();
_root.ship2hitlaserline[thislasernumber] = false;
_root.w++;
if (addedlaser == true) {
_root.numberoflasersounds--;
}
delete this.onEnterFrame;
removeMovieClip(this);
}
if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
if (_root.ship2health == 0) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale > 0) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale >= 5) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale - 5;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 0;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale) + "%";
}
}
} else if (_root.ship2health == 1) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale > 0) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale >= 4) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale - 4;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 1.5) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 0;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 1.5) + "%";
}
}
} else if (_root.ship2health == 2) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale > 0) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale >= 2) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale - 2;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 2) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 0;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 2) + "%";
}
}
}
if (_root.healthbar2_mc.healthbarinside_mc._xscale == 0) {
_root.ship2holder_mc.ship2_mc.play();
_root.ship2holder_mc.ship2_mc.shipx = _root.ship2holder_mc.ship2_mc._x;
_root.ship2holder_mc.ship2_mc.shipy = _root.ship2holder_mc.ship2_mc._y;
_root.ship2holder_mc.ship2_mc.shiprotation = _root.ship2holder_mc.ship2_mc._rotation;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield1_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 22;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield2_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 67;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield3_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 112;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield4_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 157;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield5_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 202;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield6_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 247;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield7_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 292;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield8_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = -22;
}
_root.ship2holder_mc.ship2_mc.shield_mc.play();
_root.ship2hitlaserline[thislasernumber] = false;
_root.w++;
if (addedlaser == true) {
_root.numberoflasersounds--;
}
delete this.onEnterFrame;
removeMovieClip(this);
}
s = _root.k;
while (s < _root.l) {
if (this.laserobj_mc.hitTest((((_root.asteroid[s].box1_mc || (_root.asteroid[s].box2_mc)) || (_root.asteroid[s].box3_mc)) || (_root.asteroid[s].box4_mc)) || (_root.asteroid[s].box5_mc))) {
_root.removeasteroid(s);
_root.ship2hitlaserline[thislasernumber] = false;
_root.w++;
if (addedlaser == true) {
_root.numberoflasersounds--;
}
if (_root.lasergameover == false) {
if (shipshooting == _root.ship_mc) {
if (_root.healthupgrade == 0) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 98) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 2;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 1) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 98) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 2;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.2) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 2) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 98) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 2;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.4) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 1;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.4) + "%";
}
}
if (_root.healthupgrade == 3) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 99) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 1;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.6) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.6) + "%";
}
}
if (_root.healthupgrade == 4) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 99) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 1;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.8) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.8) + "%";
}
}
if (_root.healthupgrade == 5) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 99) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 1;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 2) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 2) + "%";
}
}
}
if (shipshooting == _root.ship2holder_mc.ship2_mc) {
if (_root.ship2health == 0) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale <= 98) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale + 2;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 100;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale) + "%";
}
} else if (_root.ship2health == 1) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale <= 98) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale + 2;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 1.5) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 100;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 1.5) + "%";
}
} else if (_root.ship2health == 2) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale <= 99) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale + 1;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 2) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 100;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 2) + "%";
}
}
}
}
delete this.onEnterFrame;
removeMovieClip(this);
}
s++;
}
if (this.laserlinehittest_mc.hitTest(_root.ship2holder_mc.ship2_mc._x, _root.ship2holder_mc.ship2_mc._y, true)) {
_root.ship2hitlaserline[thislasernumber] = true;
} else {
_root.ship2hitlaserline[thislasernumber] = false;
}
if (_root.gameover == true) {
_root.ship2hitlaserline[thislasernumber] = false;
_root.w++;
if (addedlaser == true) {
_root.numberoflasersounds--;
}
removeMovieClip(this);
}
};
Symbol 16 MovieClip [laser2] Frame 23
_root.w++;
delete this.onEnterFrame;
if (addedlaser == true) {
_root.numberoflasersounds--;
}
_root.ship2hitlaserline[thislasernumber] = false;
removeMovieClip(this);
Symbol 17 MovieClip [laser] Frame 1
thislasernumber = _root.t - 1;
if (_root.mutesounds == false) {
if (shipshooting.powerup != 1) {
if (_root.numberoflasersounds < 4) {
_root.numberoflasersounds++;
addedlaser = true;
lasersound_mc.play();
} else {
lasersound_mc.stop();
addedlaser = false;
}
} else {
lasersound_mc.stop();
addedlaser = false;
}
} else {
lasersound_mc.stop();
addedlaser = false;
}
this.onEnterFrame = function () {
if (_root.gamepaused == true) {
this.stop();
} else if (_root.gamepaused == false) {
this.play();
this._x = this._x + xspeed;
this._y = this._y + yspeed;
}
if (this.laserobj_mc.hitTest(_root.ship_mc.shiphittest_mc)) {
if (_root.healthbar_mc.healthbarinside_mc._xscale > 0) {
if (_root.healthupgrade == 0) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 5) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 5;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 1) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 5) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 5;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.2) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.2) + "%";
}
}
if (_root.healthupgrade == 2) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 4) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 4;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.4) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 3) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 4) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 4;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.6) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 4) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 3) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 3;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.8) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 5) {
if (_root.healthbar_mc.healthbarinside_mc._xscale >= 2) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale - 2;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 2) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 0;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
}
if (_root.healthbar_mc.healthbarinside_mc._xscale == 0) {
_root.ship_mc.play();
_root.ship_mc.shipx = _root.ship_mc._x;
_root.ship_mc.shipy = _root.ship_mc._y;
_root.ship_mc.shiprotation = _root.ship_mc._rotation;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield1_mc)) {
_root.ship_mc.shield_mc._rotation = 22;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield2_mc)) {
_root.ship_mc.shield_mc._rotation = 67;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield3_mc)) {
_root.ship_mc.shield_mc._rotation = 112;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield4_mc)) {
_root.ship_mc.shield_mc._rotation = 157;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield5_mc)) {
_root.ship_mc.shield_mc._rotation = 202;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield6_mc)) {
_root.ship_mc.shield_mc._rotation = 247;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield7_mc)) {
_root.ship_mc.shield_mc._rotation = 292;
} else if (this.laserobj_mc.hitTest(_root.ship_mc.shield8_mc)) {
_root.ship_mc.shield_mc._rotation = -22;
}
_root.ship_mc.shield_mc.play();
_root.ship2hitlaserline[thislasernumber] = false;
_root.w++;
if (addedlaser == true) {
_root.numberoflasersounds--;
}
delete this.onEnterFrame;
removeMovieClip(this);
}
if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
if (_root.ship2health == 0) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale > 0) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale >= 5) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale - 5;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 0;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale) + "%";
}
}
} else if (_root.ship2health == 1) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale > 0) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale >= 4) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale - 4;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 1.5) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 0;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 1.5) + "%";
}
}
} else if (_root.ship2health == 2) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale > 0) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale >= 2) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale - 2;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 2) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 0;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 2) + "%";
}
}
}
if (_root.healthbar2_mc.healthbarinside_mc._xscale == 0) {
_root.ship2holder_mc.ship2_mc.play();
_root.ship2holder_mc.ship2_mc.shipx = _root.ship2holder_mc.ship2_mc._x;
_root.ship2holder_mc.ship2_mc.shipy = _root.ship2holder_mc.ship2_mc._y;
_root.ship2holder_mc.ship2_mc.shiprotation = _root.ship2holder_mc.ship2_mc._rotation;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield1_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 22;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield2_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 67;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield3_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 112;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield4_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 157;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield5_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 202;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield6_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 247;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield7_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = 292;
} else if (this.laserobj_mc.hitTest(_root.ship2holder_mc.ship2_mc.shield8_mc)) {
_root.ship2holder_mc.ship2_mc.shield_mc._rotation = -22;
}
_root.ship2holder_mc.ship2_mc.shield_mc.play();
_root.ship2hitlaserline[thislasernumber] = false;
_root.w++;
if (addedlaser == true) {
_root.numberoflasersounds--;
}
delete this.onEnterFrame;
removeMovieClip(this);
}
s = _root.k;
while (s < _root.l) {
if (this.laserobj_mc.hitTest((((_root.asteroid[s].box1_mc || (_root.asteroid[s].box2_mc)) || (_root.asteroid[s].box3_mc)) || (_root.asteroid[s].box4_mc)) || (_root.asteroid[s].box5_mc))) {
_root.removeasteroid(s);
_root.ship2hitlaserline[thislasernumber] = false;
_root.w++;
if (addedlaser == true) {
_root.numberoflasersounds--;
}
if (_root.lasergameover == false) {
if (shipshooting == _root.ship_mc) {
if (_root.healthupgrade == 0) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 98) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 2;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 1) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 98) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 2;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.2) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 2) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 98) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 2;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.4) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 1;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.4) + "%";
}
}
if (_root.healthupgrade == 3) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 99) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 1;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.6) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.6) + "%";
}
}
if (_root.healthupgrade == 4) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 99) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 1;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.8) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.8) + "%";
}
}
if (_root.healthupgrade == 5) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 99) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 1;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 2) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 2) + "%";
}
}
}
if (shipshooting == _root.ship2holder_mc.ship2_mc) {
if (_root.ship2health == 0) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale <= 98) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale + 2;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 100;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale) + "%";
}
} else if (_root.ship2health == 1) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale <= 98) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale + 2;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 1.5) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 100;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 1.5) + "%";
}
} else if (_root.ship2health == 2) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale <= 99) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale + 1;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 2) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 100;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 2) + "%";
}
}
}
}
delete this.onEnterFrame;
removeMovieClip(this);
}
s++;
}
if (this.laserlinehittest_mc.hitTest(_root.ship2holder_mc.ship2_mc._x, _root.ship2holder_mc.ship2_mc._y, true)) {
_root.ship2hitlaserline[thislasernumber] = true;
} else {
_root.ship2hitlaserline[thislasernumber] = false;
}
if (_root.gameover == true) {
_root.ship2hitlaserline[thislasernumber] = false;
_root.w++;
if (addedlaser == true) {
_root.numberoflasersounds--;
}
removeMovieClip(this);
}
};
Symbol 17 MovieClip [laser] Frame 37
_root.w++;
delete this.onEnterFrame;
if (addedlaser == true) {
_root.numberoflasersounds--;
}
_root.ship2hitlaserline[thislasernumber] = false;
removeMovieClip(this);
Symbol 31 MovieClip Frame 1
if (_root.securityfail == true) {
this._visible = false;
this.gotoAndStop(3);
this.stop();
} else {
var amountLoaded = (_root.getBytesLoaded() / _root.getBytesTotal());
barloader_mc.inside_mc._xscale = amountLoaded * 100;
loadText_txt.text = Math.round(amountLoaded * 100) + "%";
}
Symbol 31 MovieClip Frame 2
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
_root.play();
this.stop();
} else {
this.gotoAndPlay(1);
}
Symbol 38 MovieClip Frame 1
if (_root.mutesounds == true) {
this.gotoAndStop(3);
}
Symbol 38 MovieClip Frame 2
this.onEnterFrame = function () {
if (_root.mutesounds == true) {
this.gotoAndStop(3);
} else if ((((_root._currentframe != 3) && (_root._currentframe != 2)) && (_root._currentframe != 44)) && (_root._currentframe != 45)) {
this.gotoAndStop(3);
}
};
stop();
Symbol 38 MovieClip Frame 3
this.onEnterFrame = function () {
if (_root.mutesounds == false) {
if (((_root._currentframe < 4) || (_root._currentframe == 44)) || (_root._currentframe == 45)) {
this.gotoAndStop(2);
}
}
};
stop();
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 2
stop();
Symbol 53 MovieClip [asteroid_hit2] Frame 11
removeMovieClip(this);
Symbol 56 MovieClip [ball] Frame 85
removeMovieClip(this);
Symbol 65 Button
on (release) {
_root.losehelpboxon = false;
removeMovieClip(_parent);
}
Symbol 71 MovieClip [losehelpbox] Frame 12
stop();
Symbol 72 Button
on (release) {
_root.mission1start = false;
_root.addpoweruptimer_mc.play();
removeMovieClip(_parent);
}
Symbol 75 MovieClip [mission1startinfobox] Frame 12
stop();
Symbol 86 MovieClip [powerup1] Frame 1
thisnumber = _root.z - 1;
Symbol 86 MovieClip [powerup1] Frame 2
if (this.hitTest(_root.ship_mc.shiphittest_mc)) {
this._x = Math.floor(Math.random() * (Stage.width - this._width)) + (this._width / 2);
this._y = Math.floor(Math.random() * (Stage.height - this._height)) + (this._height / 2);
this.gotoAndPlay(1);
}
if (this.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
this._x = Math.floor(Math.random() * (Stage.width - this._width)) + (this._width / 2);
this._y = Math.floor(Math.random() * (Stage.height - this._height)) + (this._height / 2);
this.gotoAndPlay(1);
}
Symbol 86 MovieClip [powerup1] Frame 3
this.onEnterFrame = function () {
if (this.bg_mc.hitTest(_root.ship_mc.shiphittest_mc)) {
_root.powerupsoundfunc();
_root.powerupbar1_mc.gotoAndStop(2);
_root.ship2hitpowerup[thisnumber] = false;
_root.ship_mc.powerup = 1;
removeMovieClip(this);
}
if (this.bg_mc.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
_root.powerupsoundfunc();
_root.powerupbar2_mc.gotoAndStop(2);
_root.ship2holder_mc.ship2_mc.powerup = 1;
_root.ship2hitpowerup[thisnumber] = false;
removeMovieClip(this);
}
if (this.poweruphittest_mc.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
_root.ship2hitpowerup[thisnumber] = true;
} else {
_root.ship2hitpowerup[thisnumber] = false;
}
if (_root.gameover == true) {
_root.ship2hitpowerup[thisnumber] = false;
removeMovieClip(this);
}
};
Symbol 86 MovieClip [powerup1] Frame 6
this.onEnterFrame = function () {
if (this.bg_mc.hitTest(_root.ship_mc.shiphittest_mc)) {
_root.powerupsoundfunc();
_root.powerupbar1_mc.gotoAndStop(2);
_root.ship2hitpowerup[thisnumber] = false;
_root.ship_mc.powerup = 1;
removeMovieClip(this);
}
if (this.bg_mc.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
_root.powerupsoundfunc();
_root.powerupbar2_mc.gotoAndStop(2);
_root.ship2holder_mc.ship2_mc.powerup = 1;
_root.ship2hitpowerup[thisnumber] = false;
removeMovieClip(this);
}
if (this.poweruphittest_mc.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
_root.ship2hitpowerup[thisnumber] = true;
} else {
_root.ship2hitpowerup[thisnumber] = false;
}
if (_root.gameover == true) {
_root.ship2hitpowerup[thisnumber] = false;
removeMovieClip(this);
}
};
stop();
Symbol 91 MovieClip [powerup2] Frame 1
thisnumber = _root.z - 1;
Symbol 91 MovieClip [powerup2] Frame 2
if (this.hitTest(_root.ship_mc.shiphittest_mc)) {
this._x = Math.floor(Math.random() * (Stage.width - this._width)) + (this._width / 2);
this._y = Math.floor(Math.random() * (Stage.height - this._height)) + (this._height / 2);
this.gotoAndPlay(1);
}
if (this.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
this._x = Math.floor(Math.random() * (Stage.width - this._width)) + (this._width / 2);
this._y = Math.floor(Math.random() * (Stage.height - this._height)) + (this._height / 2);
this.gotoAndPlay(1);
}
Symbol 91 MovieClip [powerup2] Frame 3
this.onEnterFrame = function () {
if (this.bg_mc.hitTest(_root.ship_mc.shiphittest_mc)) {
_root.powerupsoundfunc();
_root.ship_mc.powerup = 2;
_root.powerupbar1_mc.gotoAndPlay(2);
_root.ship2hitpowerup[thisnumber] = false;
removeMovieClip(this);
}
if (this.bg_mc.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
_root.powerupsoundfunc();
_root.ship2holder_mc.ship2_mc.powerup = 2;
_root.powerupbar2_mc.gotoAndPlay(2);
_root.ship2hitpowerup[thisnumber] = false;
removeMovieClip(this);
}
if (this.poweruphittest_mc.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
_root.ship2hitpowerup[thisnumber] = true;
} else {
_root.ship2hitpowerup[thisnumber] = false;
}
if (_root.gameover == true) {
_root.ship2hitpowerup[thisnumber] = false;
removeMovieClip(this);
}
};
Symbol 91 MovieClip [powerup2] Frame 6
this.onEnterFrame = function () {
if (this.bg_mc.hitTest(_root.ship_mc.shiphittest_mc)) {
_root.powerupsoundfunc();
_root.ship_mc.powerup = 2;
_root.powerupbar1_mc.gotoAndPlay(2);
_root.ship2hitpowerup[thisnumber] = false;
removeMovieClip(this);
}
if (this.bg_mc.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
_root.powerupsoundfunc();
_root.ship2holder_mc.ship2_mc.powerup = 2;
_root.powerupbar2_mc.gotoAndPlay(2);
_root.ship2hitpowerup[thisnumber] = false;
removeMovieClip(this);
}
if (this.poweruphittest_mc.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
_root.ship2hitpowerup[thisnumber] = true;
} else {
_root.ship2hitpowerup[thisnumber] = false;
}
if (_root.gameover == true) {
_root.ship2hitpowerup[thisnumber] = false;
removeMovieClip(this);
}
};
stop();
Symbol 96 MovieClip [powerup3] Frame 1
thisnumber = _root.z - 1;
Symbol 96 MovieClip [powerup3] Frame 2
if (this.hitTest(_root.ship_mc.shiphittest_mc)) {
this._x = Math.floor(Math.random() * (Stage.width - this._width)) + (this._width / 2);
this._y = Math.floor(Math.random() * (Stage.height - this._height)) + (this._height / 2);
this.gotoAndPlay(1);
}
if (this.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
this._x = Math.floor(Math.random() * (Stage.width - this._width)) + (this._width / 2);
this._y = Math.floor(Math.random() * (Stage.height - this._height)) + (this._height / 2);
this.gotoAndPlay(1);
}
Symbol 96 MovieClip [powerup3] Frame 3
this.onEnterFrame = function () {
if (this.bg_mc.hitTest(_root.ship_mc.shiphittest_mc)) {
_root.powerupsoundfunc();
if (_root.healthupgrade == 0) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 80) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 20;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 1) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 82) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 18;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.2) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 2) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 84) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 16;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.4) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.4) + "%";
}
}
if (_root.healthupgrade == 3) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 86) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 14;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.6) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.6) + "%";
}
}
if (_root.healthupgrade == 4) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 88) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 12;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.8) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.8) + "%";
}
}
if (_root.healthupgrade == 5) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 90) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 10;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 2) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 2) + "%";
}
}
_root.ship_mc.healthshinehitx = this._x - _root.ship_mc._x;
_root.ship_mc.healthshinehity = this._y - _root.ship_mc._y;
_root.ship_mc.healthshineadjside = _root.ship_mc.healthshinehitx - _root.ship_mc.healthshine_mc._x;
_root.ship_mc.healthshineoppside = -1 * (_root.ship_mc.healthshinehity - _root.ship_mc.healthshine_mc._y);
_root.ship_mc.healthshineangle = Math.atan2(_root.ship_mc.healthshineoppside, _root.ship_mc.healthshineadjside);
_root.ship_mc.healthshineangle = Math.round((_root.ship_mc.healthshineangle / Math.PI) * 180);
_root.ship_mc.healthshine_mc._rotation = -1 * (_root.ship_mc._rotation + _root.ship_mc.healthshineangle);
_root.ship_mc.healthshine_mc.play();
_root.ship2hitpowerup[thisnumber] = false;
removeMovieClip(this);
}
if (this.bg_mc.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
_root.powerupsoundfunc();
if (_root.ship2health == 0) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale <= 80) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale + 20;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 100;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale) + "%";
}
} else if (_root.ship2health == 1) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale <= 85) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale + 15;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 1.5) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 100;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 1.5) + "%";
}
} else if (_root.ship2health == 2) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale <= 90) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale + 10;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 2) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 100;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 2) + "%";
}
}
_root.ship2holder_mc.ship2_mc.healthshinehitx = this._x - _root.ship2holder_mc.ship2_mc._x;
_root.ship2holder_mc.ship2_mc.healthshinehity = this._y - _root.ship2holder_mc.ship2_mc._y;
_root.ship2holder_mc.ship2_mc.healthshineadjside = _root.ship2holder_mc.ship2_mc.healthshinehitx - _root.ship2holder_mc.ship2_mc.healthshine_mc._x;
_root.ship2holder_mc.ship2_mc.healthshineoppside = -1 * (_root.ship2holder_mc.ship2_mc.healthshinehity - _root.ship2holder_mc.ship2_mc.healthshine_mc._y);
_root.ship2holder_mc.ship2_mc.healthshineangle = Math.atan2(_root.ship2holder_mc.ship2_mc.healthshineoppside, _root.ship2holder_mc.ship2_mc.healthshineadjside);
_root.ship2holder_mc.ship2_mc.healthshineangle = Math.round((_root.ship2holder_mc.ship2_mc.healthshineangle / Math.PI) * 180);
_root.ship2holder_mc.ship2_mc.healthshine_mc._rotation = -1 * (_root.ship2holder_mc.ship2_mc._rotation + _root.ship2holder_mc.ship2_mc.healthshineangle);
_root.ship2holder_mc.ship2_mc.healthshine_mc.play();
_root.ship2hitpowerup[thisnumber] = false;
removeMovieClip(this);
}
if (this.poweruphittest_mc.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
_root.ship2hitpowerup[thisnumber] = true;
} else {
_root.ship2hitpowerup[thisnumber] = false;
}
if (_root.gameover == true) {
_root.ship2hitpowerup[thisnumber] = false;
removeMovieClip(this);
}
};
Symbol 96 MovieClip [powerup3] Frame 6
this.onEnterFrame = function () {
if (this.bg_mc.hitTest(_root.ship_mc.shiphittest_mc)) {
_root.powerupsoundfunc();
if (_root.healthupgrade == 0) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 80) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 20;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 1) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 82) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 18;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.2) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale) + "%";
}
}
if (_root.healthupgrade == 2) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 84) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 16;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.4) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.4) + "%";
}
}
if (_root.healthupgrade == 3) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 86) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 14;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.6) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.6) + "%";
}
}
if (_root.healthupgrade == 4) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 88) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 12;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.8) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 1.8) + "%";
}
}
if (_root.healthupgrade == 5) {
if (_root.healthbar_mc.healthbarinside_mc._xscale <= 90) {
_root.healthbar_mc.healthbarinside_mc._xscale = _root.healthbar_mc.healthbarinside_mc._xscale + 10;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 2) + "%";
} else {
_root.healthbar_mc.healthbarinside_mc._xscale = 100;
_root.healthbar_mc.healthtext_txt = Math.floor(_root.healthbar_mc.healthbarinside_mc._xscale * 2) + "%";
}
}
_root.ship_mc.healthshinehitx = this._x - _root.ship_mc._x;
_root.ship_mc.healthshinehity = this._y - _root.ship_mc._y;
_root.ship_mc.healthshineadjside = _root.ship_mc.healthshinehitx - _root.ship_mc.healthshine_mc._x;
_root.ship_mc.healthshineoppside = -1 * (_root.ship_mc.healthshinehity - _root.ship_mc.healthshine_mc._y);
_root.ship_mc.healthshineangle = Math.atan2(_root.ship_mc.healthshineoppside, _root.ship_mc.healthshineadjside);
_root.ship_mc.healthshineangle = Math.round((_root.ship_mc.healthshineangle / Math.PI) * 180);
_root.ship_mc.healthshine_mc._rotation = -1 * (_root.ship_mc._rotation + _root.ship_mc.healthshineangle);
_root.ship_mc.healthshine_mc.play();
_root.ship2hitpowerup[thisnumber] = false;
removeMovieClip(this);
}
if (this.bg_mc.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
_root.powerupsoundfunc();
if (_root.ship2health == 0) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale <= 80) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale + 20;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 100;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale) + "%";
}
} else if (_root.ship2health == 1) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale <= 85) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale + 15;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 1.5) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 100;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 1.5) + "%";
}
} else if (_root.ship2health == 2) {
if (_root.healthbar2_mc.healthbarinside_mc._xscale <= 90) {
_root.healthbar2_mc.healthbarinside_mc._xscale = _root.healthbar2_mc.healthbarinside_mc._xscale + 10;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 2) + "%";
} else {
_root.healthbar2_mc.healthbarinside_mc._xscale = 100;
_root.healthbar2_mc.healthtext_txt = Math.floor(_root.healthbar2_mc.healthbarinside_mc._xscale * 2) + "%";
}
}
_root.ship2holder_mc.ship2_mc.healthshinehitx = this._x - _root.ship2holder_mc.ship2_mc._x;
_root.ship2holder_mc.ship2_mc.healthshinehity = this._y - _root.ship2holder_mc.ship2_mc._y;
_root.ship2holder_mc.ship2_mc.healthshineadjside = _root.ship2holder_mc.ship2_mc.healthshinehitx - _root.ship2holder_mc.ship2_mc.healthshine_mc._x;
_root.ship2holder_mc.ship2_mc.healthshineoppside = -1 * (_root.ship2holder_mc.ship2_mc.healthshinehity - _root.ship2holder_mc.ship2_mc.healthshine_mc._y);
_root.ship2holder_mc.ship2_mc.healthshineangle = Math.atan2(_root.ship2holder_mc.ship2_mc.healthshineoppside, _root.ship2holder_mc.ship2_mc.healthshineadjside);
_root.ship2holder_mc.ship2_mc.healthshineangle = Math.round((_root.ship2holder_mc.ship2_mc.healthshineangle / Math.PI) * 180);
_root.ship2holder_mc.ship2_mc.healthshine_mc._rotation = -1 * (_root.ship2holder_mc.ship2_mc._rotation + _root.ship2holder_mc.ship2_mc.healthshineangle);
_root.ship2holder_mc.ship2_mc.healthshine_mc.play();
_root.ship2hitpowerup[thisnumber] = false;
removeMovieClip(this);
}
if (this.poweruphittest_mc.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
_root.ship2hitpowerup[thisnumber] = true;
} else {
_root.ship2hitpowerup[thisnumber] = false;
}
if (_root.gameover == true) {
_root.ship2hitpowerup[thisnumber] = false;
removeMovieClip(this);
}
};
stop();
Symbol 101 MovieClip [powerup4] Frame 1
thisnumber = _root.z - 1;
Symbol 101 MovieClip [powerup4] Frame 2
if (this.hitTest(_root.ship_mc.shiphittest_mc)) {
this._x = Math.floor(Math.random() * (Stage.width - this._width)) + (this._width / 2);
this._y = Math.floor(Math.random() * (Stage.height - this._height)) + (this._height / 2);
this.gotoAndPlay(1);
}
if (this.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
this._x = Math.floor(Math.random() * (Stage.width - this._width)) + (this._width / 2);
this._y = Math.floor(Math.random() * (Stage.height - this._height)) + (this._height / 2);
this.gotoAndPlay(1);
}
Symbol 101 MovieClip [powerup4] Frame 3
this.onEnterFrame = function () {
if (this.bg_mc.hitTest(_root.ship_mc.shiphittest_mc)) {
_root.powerupsoundfunc();
_root.powerupbar1_mc.gotoAndStop(2);
_root.ship2hitpowerup[thisnumber] = false;
_root.ship_mc.powerup = 4;
removeMovieClip(this);
}
if (this.bg_mc.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
_root.powerupsoundfunc();
_root.powerupbar2_mc.gotoAndStop(2);
_root.ship2holder_mc.ship2_mc.powerup = 4;
_root.ship2hitpowerup[thisnumber] = false;
removeMovieClip(this);
}
if (this.poweruphittest_mc.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
_root.ship2hitpowerup[thisnumber] = true;
} else {
_root.ship2hitpowerup[thisnumber] = false;
}
if (_root.gameover == true) {
_root.ship2hitpowerup[thisnumber] = false;
removeMovieClip(this);
}
};
Symbol 101 MovieClip [powerup4] Frame 6
this.onEnterFrame = function () {
if (this.bg_mc.hitTest(_root.ship_mc.shiphittest_mc)) {
_root.powerupsoundfunc();
_root.powerupbar1_mc.gotoAndStop(2);
_root.ship2hitpowerup[thisnumber] = false;
_root.ship_mc.powerup = 4;
removeMovieClip(this);
}
if (this.bg_mc.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
_root.powerupsoundfunc();
_root.powerupbar2_mc.gotoAndStop(2);
_root.ship2holder_mc.ship2_mc.powerup = 4;
_root.ship2hitpowerup[thisnumber] = false;
removeMovieClip(this);
}
if (this.poweruphittest_mc.hitTest(_root.ship2holder_mc.ship2_mc.shiphittest_mc)) {
_root.ship2hitpowerup[thisnumber] = true;
} else {
_root.ship2hitpowerup[thisnumber] = false;
}
if (_root.gameover == true) {
_root.ship2hitpowerup[thisnumber] = false;
removeMovieClip(this);
}
};
stop();
Symbol 107 MovieClip Frame 1
flame = true;
Symbol 107 MovieClip Frame 2
flame = true;
Symbol 107 MovieClip Frame 3
if (flame == true) {
gotoAndPlay (1);
}
Symbol 125 MovieClip Frame 1
stop();
Symbol 128 MovieClip [ship2] Frame 1
this.onEnterFrame = function () {
o = _root.k;
while (o < _root.l) {
if (this.shiphittest_mc.hitTest((((_root.asteroid[o].box1_mc || (_root.asteroid[o].box2_mc)) || (_root.asteroid[o].box3_mc)) || (_root.asteroid[o].box4_mc)) || (_root.asteroid[o].box5_mc))) {
if (_root.lasergameover == false) {
if ((this.shipspeedx < 1) && (this.shipspeedx > -1)) {
this.shipspeedx = _root.asteroidxvel[o];
} else {
this.shipspeedx = this.shipspeedx * -0.5;
}
if ((this.shipspeedy < 1) && (this.shipspeedy > -1)) {
this.shipspeedy = _root.asteroidyvel[o];
} else {
this.shipspeedy = this.shipspeedy * -0.5;
}
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
if (this.shiphittest_mc.hitTest(_root.asteroid[o])) {
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
}
if (this.shiphittest_mc.hitTest(_root.asteroid[o])) {
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
}
if (this.shiphittest_mc.hitTest(_root.asteroid[o])) {
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
}
_root.removeasteroid(o, this);
}
}
o++;
}
_root.nearasteroidtruefalse = false;
a = _root.k;
while (a < _root.l) {
if (this == _root.ship2holder_mc.ship2_mc) {
if (this.shiphittestasteroidcircle_mc.hitTest(_root.asteroid[a]._x, _root.asteroid[a]._y, true)) {
_root.computershipnearasteroid = true;
_root.nearestasteroid = _root.asteroid[a];
_root.nearasteroidtruefalse = true;
} else if (a == (_root.l - 1)) {
if (_root.nearasteroidtruefalse == false) {
_root.computershipnearasteroid = false;
}
}
}
a++;
}
};
stop();
Symbol 128 MovieClip [ship2] Frame 2
if (_root.mutesounds == false) {
shipexplosionsound = new Sound(_root);
shipexplosionsound.attachSound("shipexplosion_sound");
shipexplosionsound.start();
}
this.onEnterFrame = function () {
this._x = this.shipx;
this._y = this.shipy;
this._rotation = this.shiprotation;
};
_root.lasergameover = true;
Symbol 128 MovieClip [ship2] Frame 19
_root.endgame(this);
this.stop();
Symbol 131 MovieClip Frame 1
flame = true;
Symbol 131 MovieClip Frame 2
flame = true;
Symbol 131 MovieClip Frame 3
if (flame == true) {
gotoAndPlay (1);
}
Symbol 139 MovieClip [ship3] Frame 1
this.onEnterFrame = function () {
o = _root.k;
while (o < _root.l) {
if (this.shiphittest_mc.hitTest((((_root.asteroid[o].box1_mc || (_root.asteroid[o].box2_mc)) || (_root.asteroid[o].box3_mc)) || (_root.asteroid[o].box4_mc)) || (_root.asteroid[o].box5_mc))) {
if (_root.lasergameover == false) {
if ((this.shipspeedx < 1) && (this.shipspeedx > -1)) {
this.shipspeedx = _root.asteroidxvel[o];
} else {
this.shipspeedx = this.shipspeedx * -0.5;
}
if ((this.shipspeedy < 1) && (this.shipspeedy > -1)) {
this.shipspeedy = _root.asteroidyvel[o];
} else {
this.shipspeedy = this.shipspeedy * -0.5;
}
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
if (this.shiphittest_mc.hitTest(_root.asteroid[o])) {
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
}
if (this.shiphittest_mc.hitTest(_root.asteroid[o])) {
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
}
if (this.shiphittest_mc.hitTest(_root.asteroid[o])) {
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
}
_root.removeasteroid(o, this);
}
}
o++;
}
_root.nearasteroidtruefalse = false;
a = _root.k;
while (a < _root.l) {
if (this == _root.ship2holder_mc.ship2_mc) {
if (this.shiphittestasteroidcircle_mc.hitTest(_root.asteroid[a]._x, _root.asteroid[a]._y, true)) {
_root.computershipnearasteroid = true;
_root.nearestasteroid = _root.asteroid[a];
_root.nearasteroidtruefalse = true;
} else if (a == (_root.l - 1)) {
if (_root.nearasteroidtruefalse == false) {
_root.computershipnearasteroid = false;
}
}
}
a++;
}
};
stop();
Symbol 139 MovieClip [ship3] Frame 2
if (_root.mutesounds == false) {
shipexplosionsound = new Sound(_root);
shipexplosionsound.attachSound("shipexplosion_sound");
shipexplosionsound.start();
}
this.onEnterFrame = function () {
this._x = this.shipx;
this._y = this.shipy;
this._rotation = this.shiprotation;
};
_root.lasergameover = true;
Symbol 139 MovieClip [ship3] Frame 19
_root.endgame(this);
this.stop();
Symbol 142 MovieClip Frame 1
flame = true;
Symbol 142 MovieClip Frame 2
flame = true;
Symbol 142 MovieClip Frame 3
if (flame == true) {
gotoAndPlay (1);
}
Symbol 150 MovieClip [ship4] Frame 1
this.onEnterFrame = function () {
o = _root.k;
while (o < _root.l) {
if (this.shiphittest_mc.hitTest((((_root.asteroid[o].box1_mc || (_root.asteroid[o].box2_mc)) || (_root.asteroid[o].box3_mc)) || (_root.asteroid[o].box4_mc)) || (_root.asteroid[o].box5_mc))) {
if (_root.lasergameover == false) {
if ((this.shipspeedx < 1) && (this.shipspeedx > -1)) {
this.shipspeedx = _root.asteroidxvel[o];
} else {
this.shipspeedx = this.shipspeedx * -0.5;
}
if ((this.shipspeedy < 1) && (this.shipspeedy > -1)) {
this.shipspeedy = _root.asteroidyvel[o];
} else {
this.shipspeedy = this.shipspeedy * -0.5;
}
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
if (this.shiphittest_mc.hitTest(_root.asteroid[o])) {
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
}
if (this.shiphittest_mc.hitTest(_root.asteroid[o])) {
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
}
if (this.shiphittest_mc.hitTest(_root.asteroid[o])) {
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
}
_root.removeasteroid(o, this);
}
}
o++;
}
_root.nearasteroidtruefalse = false;
a = _root.k;
while (a < _root.l) {
if (this == _root.ship2holder_mc.ship2_mc) {
if (this.shiphittestasteroidcircle_mc.hitTest(_root.asteroid[a]._x, _root.asteroid[a]._y, true)) {
_root.computershipnearasteroid = true;
_root.nearestasteroid = _root.asteroid[a];
_root.nearasteroidtruefalse = true;
} else if (a == (_root.l - 1)) {
if (_root.nearasteroidtruefalse == false) {
_root.computershipnearasteroid = false;
}
}
}
a++;
}
};
stop();
Symbol 150 MovieClip [ship4] Frame 2
if (_root.mutesounds == false) {
shipexplosionsound = new Sound(_root);
shipexplosionsound.attachSound("shipexplosion_sound");
shipexplosionsound.start();
}
this.onEnterFrame = function () {
this._x = this.shipx;
this._y = this.shipy;
this._rotation = this.shiprotation;
};
_root.lasergameover = true;
Symbol 150 MovieClip [ship4] Frame 19
_root.endgame(this);
this.stop();
Symbol 153 MovieClip Frame 1
flame = true;
Symbol 153 MovieClip Frame 2
flame = true;
Symbol 153 MovieClip Frame 3
if (flame == true) {
gotoAndPlay (1);
}
Symbol 161 MovieClip [ship5] Frame 1
this.onEnterFrame = function () {
o = _root.k;
while (o < _root.l) {
if (this.shiphittest_mc.hitTest((((_root.asteroid[o].box1_mc || (_root.asteroid[o].box2_mc)) || (_root.asteroid[o].box3_mc)) || (_root.asteroid[o].box4_mc)) || (_root.asteroid[o].box5_mc))) {
if (_root.lasergameover == false) {
if ((this.shipspeedx < 1) && (this.shipspeedx > -1)) {
this.shipspeedx = _root.asteroidxvel[o];
} else {
this.shipspeedx = this.shipspeedx * -0.5;
}
if ((this.shipspeedy < 1) && (this.shipspeedy > -1)) {
this.shipspeedy = _root.asteroidyvel[o];
} else {
this.shipspeedy = this.shipspeedy * -0.5;
}
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
if (this.shiphittest_mc.hitTest(_root.asteroid[o])) {
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
}
if (this.shiphittest_mc.hitTest(_root.asteroid[o])) {
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
}
if (this.shiphittest_mc.hitTest(_root.asteroid[o])) {
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
}
_root.removeasteroid(o, this);
}
}
o++;
}
_root.nearasteroidtruefalse = false;
a = _root.k;
while (a < _root.l) {
if (this == _root.ship2holder_mc.ship2_mc) {
if (this.shiphittestasteroidcircle_mc.hitTest(_root.asteroid[a]._x, _root.asteroid[a]._y, true)) {
_root.computershipnearasteroid = true;
_root.nearestasteroid = _root.asteroid[a];
_root.nearasteroidtruefalse = true;
} else if (a == (_root.l - 1)) {
if (_root.nearasteroidtruefalse == false) {
_root.computershipnearasteroid = false;
}
}
}
a++;
}
};
stop();
Symbol 161 MovieClip [ship5] Frame 2
if (_root.mutesounds == false) {
shipexplosionsound = new Sound(_root);
shipexplosionsound.attachSound("shipexplosion_sound");
shipexplosionsound.start();
}
this.onEnterFrame = function () {
this._x = this.shipx;
this._y = this.shipy;
this._rotation = this.shiprotation;
};
_root.lasergameover = true;
Symbol 161 MovieClip [ship5] Frame 19
_root.endgame(this);
this.stop();
Symbol 163 MovieClip Frame 1
flame = true;
Symbol 163 MovieClip Frame 2
flame = true;
Symbol 163 MovieClip Frame 3
if (flame == true) {
gotoAndPlay (1);
}
Symbol 171 MovieClip [ship6] Frame 1
this.onEnterFrame = function () {
o = _root.k;
while (o < _root.l) {
if (this.shiphittest_mc.hitTest((((_root.asteroid[o].box1_mc || (_root.asteroid[o].box2_mc)) || (_root.asteroid[o].box3_mc)) || (_root.asteroid[o].box4_mc)) || (_root.asteroid[o].box5_mc))) {
if (_root.lasergameover == false) {
if ((this.shipspeedx < 1) && (this.shipspeedx > -1)) {
this.shipspeedx = _root.asteroidxvel[o];
} else {
this.shipspeedx = this.shipspeedx * -0.5;
}
if ((this.shipspeedy < 1) && (this.shipspeedy > -1)) {
this.shipspeedy = _root.asteroidyvel[o];
} else {
this.shipspeedy = this.shipspeedy * -0.5;
}
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
if (this.shiphittest_mc.hitTest(_root.asteroid[o])) {
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
}
if (this.shiphittest_mc.hitTest(_root.asteroid[o])) {
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
}
if (this.shiphittest_mc.hitTest(_root.asteroid[o])) {
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
}
_root.removeasteroid(o, this);
}
}
o++;
}
_root.nearasteroidtruefalse = false;
a = _root.k;
while (a < _root.l) {
if (this == _root.ship2holder_mc.ship2_mc) {
if (this.shiphittestasteroidcircle_mc.hitTest(_root.asteroid[a]._x, _root.asteroid[a]._y, true)) {
_root.computershipnearasteroid = true;
_root.nearestasteroid = _root.asteroid[a];
_root.nearasteroidtruefalse = true;
} else if (a == (_root.l - 1)) {
if (_root.nearasteroidtruefalse == false) {
_root.computershipnearasteroid = false;
}
}
}
a++;
}
};
stop();
Symbol 171 MovieClip [ship6] Frame 2
if (_root.mutesounds == false) {
shipexplosionsound = new Sound(_root);
shipexplosionsound.attachSound("shipexplosion_sound");
shipexplosionsound.start();
}
this.onEnterFrame = function () {
this._x = this.shipx;
this._y = this.shipy;
this._rotation = this.shiprotation;
};
_root.lasergameover = true;
Symbol 171 MovieClip [ship6] Frame 19
this.stop();
_root.endgame(this);
Symbol 186 Button
on (press) {
getURL ("http://www.addictinggames.com", blank);
}
Symbol 194 MovieClip Frame 1
this.onRelease = function () {
_root.controllselect_mc._visible = true;
gotoAndStop (1);
_root.btn2_mc.gotoAndStop(1);
_root.btn3_mc.gotoAndStop(1);
};
Symbol 194 MovieClip Frame 26
this.onRollOver = function () {
play();
};
stop();
Symbol 194 MovieClip Frame 35
gotoAndPlay ("startshine_frm");
Symbol 198 MovieClip Frame 1
this.onRelease = function () {
b = _root.k;
while (b <= _root.k) {
_root.removeasteroid(b, undefined, true, true);
b++;
}
_root.controlltype = _root.player.data.controlltype;
if (_root.firstmission == true) {
_root.firstmission = false;
_root.howtoplaylinkedfrom = 2;
_root.gotoAndPlay("howtoplay_frm");
} else {
_root.continuegame();
}
};
Symbol 198 MovieClip Frame 35
this.onRollOver = function () {
play();
};
stop();
Symbol 198 MovieClip Frame 44
gotoAndPlay ("startshine_frm");
Symbol 198 MovieClip Frame 79
stop();
Symbol 200 MovieClip Frame 1
this.onRelease = function () {
b = _root.k;
while (b <= _root.k) {
_root.removeasteroid(b, undefined, true, true);
b++;
}
_root.howtoplaylinkedfrom = 3;
_root.gotoAndStop("howtoplay_frm");
};
Symbol 200 MovieClip Frame 48
this.onRollOver = function () {
play();
};
stop();
Symbol 200 MovieClip Frame 57
gotoAndPlay ("startshine_frm");
Symbol 211 MovieClip Frame 1
if (this != _root.mouse2_mc) {
stop();
}
Symbol 222 Button
on (release) {
_root.controlltype = 0;
b = _root.k;
while (b <= _root.k) {
_root.removeasteroid(b, undefined, true, true);
b++;
}
if (_root.firstmission == true) {
_root.firstmission = false;
_root.howtoplaylinkedfrom = 1;
_root.gotoAndPlay("howtoplay_frm");
} else {
_root.mainmenusound_mc.gotoAndStop(3);
_root.newgame();
}
}
Symbol 233 Button
on (release) {
_root.controlltype = 2;
b = _root.k;
while (b <= _root.k) {
_root.removeasteroid(b, undefined, true, true);
b++;
}
if (_root.firstmission == true) {
_root.firstmission = false;
_root.howtoplaylinkedfrom = 1;
_root.gotoAndPlay("howtoplay_frm");
} else {
_root.mainmenusound_mc.gotoAndStop(3);
_root.newgame();
}
}
Symbol 238 Button
on (release) {
_root.controlltype = 1;
b = _root.k;
while (b <= _root.k) {
_root.removeasteroid(b, undefined, true, true);
b++;
}
if (_root.firstmission == true) {
_root.firstmission = false;
_root.howtoplaylinkedfrom = 1;
_root.gotoAndPlay("howtoplay_frm");
} else {
_root.mainmenusound_mc.gotoAndStop(3);
_root.newgame();
}
}
Symbol 252 MovieClip Frame 401
gotoAndPlay (1);
Symbol 254 Button
on (release) {
getURL ("http://www.addictinggames.com", "_blank");
}
Symbol 276 MovieClip Frame 20
stop();
Instance of Symbol 252 MovieClip in Symbol 278 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
this.gotoAndPlay(random(700));
}
onClipEvent (enterFrame) {
if (_parent._currentframe < 11) {
this._alpha = this._alpha + 10;
}
this.gotoAndPlay(_currentframe + 2);
if (_parent._currentframe > 75) {
this._alpha = this._alpha - 5;
}
}
Symbol 278 MovieClip Frame 25
ag_explode = new Sound();
ag_explode.attachSound("ag_explode");
ag_explode.start();
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 276 MovieClip in Symbol 278 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Symbol 278 MovieClip Frame 95
stop();
this._visible = false;
_root.title_mc._visible = true;
_root.ag_logo._visible = true;
_root.newasteroid("al", undefined, true);
_root.newasteroid("al", undefined, true);
_root.newasteroid("am", undefined, true);
_root.newasteroid("as", undefined, true);
_root.newasteroid("as", undefined, true);
_root.newasteroid("as", undefined, true);
_root.newasteroid("am", undefined, true);
_root.newasteroid("am", undefined, true);
_root.newasteroid("am", undefined, true);
_root.newasteroid("am", undefined, true);
_root.newasteroid("as", undefined, true);
_root.newasteroid("as", undefined, true);
_root.newasteroid("al", undefined, true);
_root.newasteroid("al", undefined, true);
_root.newasteroid("as", undefined, true);
_root.newasteroid("am", undefined, true);
_root.newasteroid("al", undefined, true);
_root.btn1_mc.play();
if (_root.player.data.game == undefined) {
_root.btn2_mc.gotoAndPlay("unavailable");
} else {
_root.btn2_mc.play();
}
_root.btn3_mc.play();
Symbol 303 MovieClip Frame 1
stop();
this.onRelease = function () {
_root.controlls.text = "\n Press the arrow keys \n (or W,A,S,D) to move, \n Up/W - Accelerate \n Right/Left/D/A - Rotate \n Down/S - Backwards";
_root.shootingcontrolls.text = "Hold the SPACE bar (or ENTER) to shoot";
_root.mouse_mc._visible = false;
_root.mouse2_mc._visible = false;
_root.rightkey_mc._visible = true;
_root.leftkey_mc._visible = true;
_root.spacekey_mc._visible = true;
_root.mouse_mc._x = 63.4;
gotoAndStop (4);
_root.mouse_btn.gotoAndStop(1);
_root.mouseandkeys_btn.gotoAndStop(1);
_root.controlls._y = 105.1;
};
this.onRollOver = function () {
if (this._currentframe != 4) {
gotoAndStop (2);
}
};
this.onRollOut = function () {
if (this._currentframe != 4) {
gotoAndStop (1);
}
};
this.onDragOut = function () {
if (this._currentframe != 4) {
gotoAndStop (1);
}
};
this.onMouseDown = function () {
if (this._currentframe != 4) {
gotoAndStop (3);
}
};
Symbol 308 MovieClip Frame 1
stop();
this.onRelease = function () {
_root.controlls.text = "\n Press the up and down arrow keys (or W and S) to move, \n Up/W - Accelerate \n Mouse - Rotate \n Down/S - Backwards";
_root.shootingcontrolls.text = "Hold the mouse down to fire!";
_root.rightkey_mc._visible = false;
_root.leftkey_mc._visible = false;
_root.spacekey_mc._visible = false;
_root.mouse_mc._visible = true;
_root.mouse2_mc._visible = true;
_root.mouse_mc._x = 63.4;
gotoAndStop (4);
_root.mouseandkeys_btn.gotoAndStop(1);
_root.keys_btn.gotoAndStop(1);
_root.controlls._y = 105.1;
};
this.onRollOver = function () {
if (this._currentframe != 4) {
gotoAndStop (2);
}
};
this.onRollOut = function () {
if (this._currentframe != 4) {
gotoAndStop (1);
}
};
this.onDragOut = function () {
if (this._currentframe != 4) {
gotoAndStop (1);
}
};
this.onMouseDown = function () {
if (this._currentframe != 4) {
gotoAndStop (3);
}
};
Symbol 313 MovieClip Frame 1
stop();
this.onRelease = function () {
_root.controlls.text = "Press the arrow keys \n (or W,A,S,D) to move, \n Up/W - Up \n Right/D - Right \n Left/A - Left \n Down/S - Down";
_root.shootingcontrolls.text = "Hold the mouse down to fire!";
_root.rightkey_mc._visible = true;
_root.leftkey_mc._visible = true;
_root.spacekey_mc._visible = false;
_root.mouse_mc._visible = true;
_root.mouse_mc._x = 53.4;
_root.mouse2_mc._visible = true;
gotoAndStop (4);
_root.mouse_btn.gotoAndStop(1);
_root.keys_btn.gotoAndStop(1);
_root.controlls._y = 112.1;
};
this.onRollOver = function () {
if (this._currentframe != 4) {
gotoAndStop (2);
}
};
this.onRollOut = function () {
if (this._currentframe != 4) {
gotoAndStop (1);
}
};
this.onDragOut = function () {
if (this._currentframe != 4) {
gotoAndStop (1);
}
};
this.onMouseDown = function () {
if (this._currentframe != 4) {
gotoAndStop (3);
}
};
Symbol 342 MovieClip Frame 1
this.onEnterFrame = function () {
o = _root.k;
while (o < _root.l) {
if (this.shiphittest_mc.hitTest((((_root.asteroid[o].box1_mc || (_root.asteroid[o].box2_mc)) || (_root.asteroid[o].box3_mc)) || (_root.asteroid[o].box4_mc)) || (_root.asteroid[o].box5_mc))) {
if (_root.lasergameover == false) {
if ((this.shipspeedx < 1) && (this.shipspeedx > -1)) {
this.shipspeedx = _root.asteroidxvel[o];
} else {
this.shipspeedx = this.shipspeedx * -0.5;
}
if ((this.shipspeedy < 1) && (this.shipspeedy > -1)) {
this.shipspeedy = _root.asteroidyvel[o];
} else {
this.shipspeedy = this.shipspeedy * -0.5;
}
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
if (this.shiphittest_mc.hitTest(_root.asteroid[o])) {
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
}
if (this.shiphittest_mc.hitTest(_root.asteroid[o])) {
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
}
if (this.shiphittest_mc.hitTest(_root.asteroid[o])) {
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
}
if (this.shiphittest_mc.hitTest(_root.asteroid[o])) {
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
_x = (_x + shipspeedx);
_y = (_y + shipspeedy);
}
_root.removeasteroid(o, this);
}
}
o++;
}
_root.nearasteroidtruefalse = false;
if (this == _root.ship2holder_mc.ship2_mc) {
a = _root.k;
while (a < _root.l) {
if (this.shiphittestasteroidcircle_mc.hitTest(_root.asteroid[a]._x, _root.asteroid[a]._y, true)) {
_root.computershipnearasteroid = true;
_root.nearestasteroid = _root.asteroid[a];
_root.nearasteroidtruefalse = true;
} else if (a == (_root.l - 1)) {
if (_root.nearasteroidtruefalse == false) {
_root.computershipnearasteroid = false;
}
}
a++;
}
}
};
stop();
Symbol 342 MovieClip Frame 2
if (this == _root.ship_mc) {
_root.shipcolorwingleft = new Color(_root.ship_mc.left_mc.leftwing_mc);
_root.shipcolorwingleft.setRGB(_root.shipcolor);
_root.shipcolorwingright = new Color(_root.ship_mc.right_mc.rightwing_mc);
_root.shipcolorwingright.setRGB(_root.shipcolor);
_root.shipcolorshipmiddle = new Color(_root.ship_mc.shipmiddle_mc.middle_mc);
_root.shipcolorshipmiddle.setRGB(_root.shipcolor);
}
if (_root.mutesounds == false) {
shipexplosionsound = new Sound(_root);
shipexplosionsound.attachSound("shipexplosion_sound");
shipexplosionsound.start();
}
this.onEnterFrame = function () {
this._x = this.shipx;
this._y = this.shipy;
this._rotation = this.shiprotation;
};
_root.lasergameover = true;
Symbol 342 MovieClip Frame 19
_root.endgame(this);
this.stop();
Symbol 346 MovieClip Frame 1
stop();
Symbol 346 MovieClip Frame 300
if (this == _root.powerupbar1_mc) {
_root.ship_mc.powerup = 0;
} else if (this == _root.powerupbar2_mc) {
_root.ship2holder_mc.ship2_mc.powerup = 0;
}
Symbol 355 MovieClip Frame 1
if (this.healthcolor == "green") {
this.gotoAndStop(2);
} else if (this.healthcolor == "red") {
this.gotoAndStop(3);
}
Symbol 369 MovieClip Frame 1
if (_root.controlltype == 0) {
controlls.text = "\n Press the up and down arrow keys (or W and S) to move, \n Up/W - Accelerate \n Mouse - Rotate \n Down/S - Backwards";
shootingcontrolls.text = "Hold the mouse down to fire!";
rightkey_mc._visible = false;
leftkey_mc._visible = false;
spacekey_mc._visible = false;
mouse_mc._x = 2.6;
} else if (_root.controlltype == 1) {
controlls.text = "\n Press the arrow keys \n (or W,A,S,D) to move, \n Up/W - Accelerate \n Right/Left/D/A - Rotate \n Down/S - Backwards";
shootingcontrolls.text = "Hold the SPACE bar (or ENTER) to shoot";
mouse_mc._visible = false;
mouse2_mc._visible = false;
mouse_mc._x = 2.6;
} else {
controlls.text = "Press the arrow keys \n (or W,A,S,D) to move, \n Up/W - Up \n Right/D - Right \n Left/A - Left \n Down/S - Down";
shootingcontrolls.text = "Hold the mouse down to fire!";
spacekey_mc._visible = false;
mouse_mc._x = -8.6;
}
Instance of Symbol 281 MovieClip in Symbol 369 MovieClip Frame 1
on (release) {
_root.howtoplay = false;
_parent._parent.gotoAndStop(1);
}
Symbol 370 MovieClip Frame 1
stop();
Instance of Symbol 358 MovieClip in Symbol 370 MovieClip Frame 1
on (release) {
_root.unpausegame();
_root.gotoAndPlay("mainmenu");
}
Instance of Symbol 360 MovieClip in Symbol 370 MovieClip Frame 1
on (release) {
_root.howtoplay = true;
_parent.gotoAndStop(2);
}
Instance of Symbol 42 MovieClip in Symbol 370 MovieClip Frame 1
onClipEvent (load) {
if (_root.mutesounds == true) {
this.gotoAndStop(2);
} else if (_root.mutesounds == false) {
this.gotoAndStop(1);
}
}
on (release) {
if (_root.mutesounds == true) {
_root.mutesounds = false;
this.gotoAndStop(1);
} else if (_root.mutesounds == false) {
_root.mutesounds = true;
this.gotoAndStop(2);
}
}
Symbol 370 MovieClip Frame 2
stop();
Symbol 373 MovieClip Frame 1
stop();
Symbol 373 MovieClip Frame 2
_root.shipshoot(_root.ship_mc, _root.ship2holder_mc.ship2_mc);
Symbol 373 MovieClip Frame 5
if ((_root.extralaserupgrade == 1) || ((_root.extralaserupgrade == 2) && (_root.ship_mc.powerup != 4))) {
_root.shipshoot(_root.ship_mc, _root.ship2holder_mc.ship2_mc);
}
Symbol 373 MovieClip Frame 8
if ((_root.extralaserupgrade == 2) && (_root.ship_mc.powerup != 4)) {
_root.shipshoot(_root.ship_mc, _root.ship2holder_mc.ship2_mc);
}
Symbol 373 MovieClip Frame 10
if (_root.fasterreloadingupgrade == 1) {
gotoAndPlay (1);
}
Symbol 374 MovieClip Frame 1
stop();
Symbol 374 MovieClip Frame 2
if (_root.mission == 5) {
_root.shipshoot(_root.ship2holder_mc.ship2_mc, _root.ship_mc, true);
} else {
_root.shipshoot(_root.ship2holder_mc.ship2_mc, _root.ship_mc);
}
Symbol 374 MovieClip Frame 5
if ((_root.mission == 3) || ((_root.mission == 4) && (_root.ship2holder_mc.ship2_mc.powerup != 4))) {
_root.shipshoot(_root.ship2holder_mc.ship2_mc, _root.ship_mc);
} else if ((_root.mission == 5) && (_root.ship2holder_mc.ship2_mc.powerup != 4)) {
_root.shipshoot(_root.ship2holder_mc.ship2_mc, _root.ship_mc, true);
}
Symbol 374 MovieClip Frame 7
if ((_root.mission == 5) && (_root.ship2holder_mc.ship2_mc.powerup != 4)) {
_root.shipshoot(_root.ship2holder_mc.ship2_mc, _root.ship_mc, true);
}
Symbol 374 MovieClip Frame 14
if (_root.mission == 5) {
this.gotoAndStop(1);
}
Symbol 374 MovieClip Frame 20
if (_root.mission == 4) {
this.gotoAndStop(1);
}
Symbol 374 MovieClip Frame 24
if (_root.mission == 3) {
this.gotoAndStop(1);
}
Symbol 374 MovieClip Frame 28
if (_root.mission == 2) {
this.gotoAndStop(1);
}
Symbol 375 MovieClip Frame 205
_root.newpowerup(false);
this.gotoAndPlay(Math.floor(Math.random() * 60) + 1);
Symbol 376 MovieClip Frame 1
stop();
Symbol 376 MovieClip Frame 52
_root.ship2startshooting = true;
Symbol 385 MovieClip Frame 1
stop();
Symbol 388 MovieClip Frame 1
stop();
Symbol 391 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 1
stop();
Symbol 397 MovieClip Frame 1
stop();
Symbol 412 MovieClip Frame 1
if (_root.upgrade1[1] == undefined) {
_root.upgrade1[1] = 0;
} else if (_root.upgrade1[1] == 1) {
this.useHandCursor = false;
this.gotoAndStop(4);
}
this.onEnterFrame = function () {
if (_root.upgrade1[1] == 2) {
this.useHandCursor = false;
this.gotoAndStop(5);
}
};
this.onRollOver = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(3);
}
};
this.onRollOut = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(2);
}
};
this.onRelease = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
if (_root.totalpoints >= 2) {
_root.totalpoints = _root.totalpoints - 2;
_root.upgrade1[1] = 1;
_root.speedupgrade = 0.8;
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
};
Symbol 412 MovieClip Frame 2
stop();
Symbol 417 MovieClip Frame 1
if (_root.upgrade1[2] == undefined) {
_root.upgrade1[2] = 0;
} else if (_root.upgrade1[2] == 1) {
this.useHandCursor = false;
this.gotoAndStop(4);
}
this.onEnterFrame = function () {
if (_root.upgrade1[2] == 2) {
this.useHandCursor = false;
this.gotoAndStop(5);
}
};
this.onRollOver = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(3);
}
};
this.onRollOut = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(2);
}
};
this.onRelease = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
if (_root.totalpoints >= 4) {
_root.totalpoints = _root.totalpoints - 4;
_root.upgrade1[1] = 2;
_root.upgrade1[2] = 1;
_root.speedupgrade = 1.6;
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
};
Symbol 417 MovieClip Frame 2
stop();
Symbol 422 MovieClip Frame 1
if (_root.upgrade1[3] == undefined) {
_root.upgrade1[3] = 0;
} else if (_root.upgrade1[3] == 1) {
this.useHandCursor = false;
this.gotoAndStop(4);
}
this.onEnterFrame = function () {
if (_root.upgrade1[3] == 2) {
this.useHandCursor = false;
this.gotoAndStop(5);
}
};
this.onRollOver = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(3);
}
};
this.onRollOut = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(2);
}
};
this.onRelease = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
if (_root.totalpoints >= 6) {
_root.totalpoints = _root.totalpoints - 6;
_root.upgrade1[1] = 2;
_root.upgrade1[2] = 2;
_root.upgrade1[3] = 1;
_root.speedupgrade = 2.4;
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
};
Symbol 422 MovieClip Frame 2
stop();
Symbol 427 MovieClip Frame 1
if (_root.upgrade1[4] == undefined) {
_root.upgrade1[4] = 0;
} else if (_root.upgrade1[4] == 1) {
this.useHandCursor = false;
this.gotoAndStop(4);
}
this.onEnterFrame = function () {
if (_root.upgrade1[4] == 2) {
this.useHandCursor = false;
this.gotoAndStop(5);
}
};
this.onRollOver = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(3);
}
};
this.onRollOut = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(2);
}
};
this.onRelease = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
if (_root.totalpoints >= 8) {
_root.totalpoints = _root.totalpoints - 8;
_root.upgrade1[1] = 2;
_root.upgrade1[2] = 2;
_root.upgrade1[3] = 2;
_root.upgrade1[4] = 1;
_root.speedupgrade = 3.2;
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
};
Symbol 427 MovieClip Frame 2
stop();
Symbol 432 MovieClip Frame 1
if (_root.upgrade1[5] == undefined) {
_root.upgrade1[5] = 0;
} else if (_root.upgrade1[5] == 1) {
this.useHandCursor = false;
this.gotoAndStop(4);
}
this.onEnterFrame = function () {
if (_root.upgrade1[5] == 2) {
this.useHandCursor = false;
this.gotoAndStop(5);
}
};
this.onRollOver = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(3);
}
};
this.onRollOut = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(2);
}
};
this.onRelease = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
if (_root.totalpoints >= 11) {
_root.totalpoints = _root.totalpoints - 11;
_root.upgrade1[1] = 2;
_root.upgrade1[2] = 2;
_root.upgrade1[3] = 2;
_root.upgrade1[4] = 2;
_root.upgrade1[5] = 1;
_root.speedupgrade = 4;
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
};
Symbol 432 MovieClip Frame 2
stop();
Symbol 437 MovieClip Frame 1
if (_root.upgrade2[1] == undefined) {
_root.upgrade2[1] = 0;
} else if (_root.upgrade2[1] == 1) {
this.useHandCursor = false;
this.gotoAndStop(4);
}
this.onEnterFrame = function () {
if (_root.upgrade2[1] == 2) {
this.useHandCursor = false;
this.gotoAndStop(5);
}
};
this.onRollOver = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(3);
}
};
this.onRollOut = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(2);
}
};
this.onRelease = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
if (_root.totalpoints >= 2) {
_root.totalpoints = _root.totalpoints - 2;
_root.upgrade2[1] = 1;
_root.brakesupgrade = 0.8;
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
};
Symbol 437 MovieClip Frame 2
stop();
Symbol 442 MovieClip Frame 1
if (_root.upgrade2[2] == undefined) {
_root.upgrade2[2] = 0;
} else if (_root.upgrade2[2] == 1) {
this.useHandCursor = false;
this.gotoAndStop(4);
}
this.onEnterFrame = function () {
if (_root.upgrade2[2] == 2) {
this.useHandCursor = false;
this.gotoAndStop(5);
}
};
this.onRollOver = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(3);
}
};
this.onRollOut = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(2);
}
};
this.onRelease = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
if (_root.totalpoints >= 4) {
_root.totalpoints = _root.totalpoints - 4;
_root.upgrade2[1] = 2;
_root.upgrade2[2] = 1;
_root.brakesupgrade = 1.6;
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
};
Symbol 442 MovieClip Frame 2
stop();
Symbol 447 MovieClip Frame 1
if (_root.upgrade2[3] == undefined) {
_root.upgrade2[3] = 0;
} else if (_root.upgrade2[3] == 1) {
this.useHandCursor = false;
this.gotoAndStop(4);
}
this.onEnterFrame = function () {
if (_root.upgrade2[3] == 2) {
this.useHandCursor = false;
this.gotoAndStop(5);
}
};
this.onRollOver = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(3);
}
};
this.onRollOut = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(2);
}
};
this.onRelease = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
if (_root.totalpoints >= 6) {
_root.totalpoints = _root.totalpoints - 6;
_root.upgrade2[1] = 2;
_root.upgrade2[2] = 2;
_root.upgrade2[3] = 1;
_root.brakesupgrade = 2.4;
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
};
Symbol 447 MovieClip Frame 2
stop();
Symbol 452 MovieClip Frame 1
if (_root.upgrade2[4] == undefined) {
_root.upgrade2[4] = 0;
} else if (_root.upgrade2[4] == 1) {
this.useHandCursor = false;
this.gotoAndStop(4);
}
this.onEnterFrame = function () {
if (_root.upgrade2[4] == 2) {
this.useHandCursor = false;
this.gotoAndStop(5);
}
};
this.onRollOver = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(3);
}
};
this.onRollOut = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(2);
}
};
this.onRelease = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
if (_root.totalpoints >= 8) {
_root.totalpoints = _root.totalpoints - 8;
_root.upgrade2[1] = 2;
_root.upgrade2[2] = 2;
_root.upgrade2[3] = 2;
_root.upgrade2[4] = 1;
_root.brakesupgrade = 3.2;
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
};
Symbol 452 MovieClip Frame 2
stop();
Symbol 457 MovieClip Frame 1
if (_root.upgrade2[5] == undefined) {
_root.upgrade2[5] = 0;
} else if (_root.upgrade2[5] == 1) {
this.gotoAndStop(4);
this.useHandCursor = false;
}
this.onEnterFrame = function () {
if (_root.upgrade2[5] == 2) {
this.gotoAndStop(5);
this.useHandCursor = false;
}
};
this.onRollOver = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.gotoAndStop(3);
this.useHandCursor = true;
}
};
this.onRollOut = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(2);
}
};
this.onRelease = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
if (_root.totalpoints >= 11) {
_root.totalpoints = _root.totalpoints - 11;
_root.upgrade2[1] = 2;
_root.upgrade2[2] = 2;
_root.upgrade2[3] = 2;
_root.upgrade2[4] = 2;
_root.upgrade2[5] = 1;
_root.brakesupgrade = 4;
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
};
Symbol 457 MovieClip Frame 2
stop();
Symbol 462 MovieClip Frame 1
if (_root.upgrade3[1] == undefined) {
_root.upgrade3[1] = 0;
} else if (_root.upgrade3[1] == 1) {
this.useHandCursor = false;
this.gotoAndStop(4);
}
this.onEnterFrame = function () {
if (_root.upgrade3[1] == 2) {
this.useHandCursor = false;
this.gotoAndStop(5);
}
};
this.onRollOver = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(3);
}
};
this.onRollOut = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(2);
}
};
this.onRelease = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
if (_root.totalpoints >= 5) {
if (_root.losehelpboxon != true) {
_root.totalpoints = _root.totalpoints - 5;
_root.upgrade3[1] = 1;
_root.healthupgrade = 1;
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
}
};
Symbol 462 MovieClip Frame 2
stop();
Symbol 467 MovieClip Frame 1
if (_root.upgrade3[2] == undefined) {
_root.upgrade3[2] = 0;
} else if (_root.upgrade3[2] == 1) {
this.useHandCursor = false;
this.gotoAndStop(4);
}
this.onEnterFrame = function () {
if (_root.upgrade3[2] == 2) {
this.useHandCursor = false;
this.gotoAndStop(5);
}
};
this.onRollOver = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(3);
}
};
this.onRollOut = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(2);
}
};
this.onRelease = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
if (_root.totalpoints >= 7) {
if (_root.losehelpboxon != true) {
_root.totalpoints = _root.totalpoints - 7;
_root.upgrade3[1] = 2;
_root.upgrade3[2] = 1;
_root.healthupgrade = 2;
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
}
};
Symbol 467 MovieClip Frame 2
stop();
Symbol 472 MovieClip Frame 1
if (_root.upgrade3[3] == undefined) {
_root.upgrade3[3] = 0;
} else if (_root.upgrade3[3] == 1) {
this.useHandCursor = false;
this.gotoAndStop(4);
}
this.onEnterFrame = function () {
if (_root.upgrade3[3] == 2) {
this.useHandCursor = false;
this.gotoAndStop(5);
}
};
this.onRollOver = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(3);
}
};
this.onRollOut = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(2);
}
};
this.onRelease = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
if (_root.totalpoints >= 9) {
if (_root.losehelpboxon != true) {
_root.totalpoints = _root.totalpoints - 9;
_root.upgrade3[1] = 2;
_root.upgrade3[2] = 2;
_root.upgrade3[3] = 1;
_root.healthupgrade = 3;
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
}
};
Symbol 472 MovieClip Frame 2
stop();
Symbol 477 MovieClip Frame 1
if (_root.upgrade3[4] == undefined) {
_root.upgrade3[4] = 0;
} else if (_root.upgrade3[4] == 1) {
this.useHandCursor = false;
this.gotoAndStop(4);
}
this.onEnterFrame = function () {
if (_root.upgrade3[4] == 2) {
this.useHandCursor = false;
this.gotoAndStop(5);
}
};
this.onRollOver = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(3);
}
};
this.onRollOut = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(2);
}
};
this.onRelease = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
if (_root.totalpoints >= 11) {
if (_root.losehelpboxon != true) {
_root.totalpoints = _root.totalpoints - 11;
_root.upgrade3[1] = 2;
_root.upgrade3[2] = 2;
_root.upgrade3[3] = 2;
_root.upgrade3[4] = 1;
_root.healthupgrade = 4;
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
}
};
Symbol 477 MovieClip Frame 2
stop();
Symbol 482 MovieClip Frame 1
if (_root.upgrade3[5] == undefined) {
_root.upgrade3[5] = 0;
} else if (_root.upgrade3[5] == 1) {
this.useHandCursor = false;
this.gotoAndStop(4);
}
this.onEnterFrame = function () {
if (_root.upgrade3[5] == 2) {
this.useHandCursor = false;
this.gotoAndStop(5);
}
};
this.onRollOver = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(3);
}
};
this.onRollOut = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(2);
}
};
this.onRelease = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
if (_root.totalpoints >= 15) {
if (_root.losehelpboxon != true) {
_root.totalpoints = _root.totalpoints - 15;
_root.upgrade3[1] = 2;
_root.upgrade3[2] = 2;
_root.upgrade3[3] = 2;
_root.upgrade3[4] = 2;
_root.upgrade3[5] = 1;
_root.healthupgrade = 5;
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
}
};
Symbol 482 MovieClip Frame 2
stop();
Symbol 487 MovieClip Frame 1
if (_root.upgrade4[1] == undefined) {
_root.upgrade4[1] = 0;
} else if (_root.upgrade4[1] == 1) {
this.useHandCursor = false;
this.gotoAndStop(4);
}
this.onEnterFrame = function () {
if (_root.upgrade4[1] == 2) {
this.useHandCursor = false;
this.gotoAndStop(5);
}
};
this.onRollOver = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(3);
}
};
this.onRollOut = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(2);
}
};
this.onRelease = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
if (_root.totalpoints >= 5) {
_root.totalpoints = _root.totalpoints - 5;
_root.upgrade4[1] = 1;
_root.fasterlaserupgrade = 1;
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
};
Symbol 487 MovieClip Frame 2
stop();
Symbol 492 MovieClip Frame 1
if (_root.upgrade4[2] == undefined) {
_root.upgrade4[2] = 0;
} else if (_root.upgrade4[2] == 1) {
this.useHandCursor = false;
this.gotoAndStop(4);
}
this.onEnterFrame = function () {
if (_root.upgrade4[2] == 2) {
this.useHandCursor = false;
this.gotoAndStop(5);
}
};
this.onRollOver = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(3);
}
};
this.onRollOut = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(2);
}
};
this.onRelease = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
if (_root.totalpoints >= 7) {
_root.totalpoints = _root.totalpoints - 7;
_root.upgrade4[1] = 2;
_root.upgrade4[2] = 1;
_root.fasterlaserupgrade = 2;
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
};
Symbol 492 MovieClip Frame 2
stop();
Symbol 497 MovieClip Frame 1
if (_root.upgrade4[3] == undefined) {
_root.upgrade4[3] = 0;
} else if (_root.upgrade4[3] == 1) {
this.useHandCursor = false;
this.gotoAndStop(4);
}
this.onEnterFrame = function () {
if (_root.upgrade4[3] == 2) {
this.useHandCursor = false;
this.gotoAndStop(5);
}
};
this.onRollOver = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(3);
}
};
this.onRollOut = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(2);
}
};
this.onRelease = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
if (_root.totalpoints >= 9) {
_root.totalpoints = _root.totalpoints - 9;
_root.upgrade4[3] = 1;
_root.extralaserupgrade = 1;
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
};
Symbol 497 MovieClip Frame 2
stop();
Symbol 502 MovieClip Frame 1
if (_root.upgrade4[4] == undefined) {
_root.upgrade4[4] = 0;
} else if (_root.upgrade4[4] == 1) {
this.gotoAndStop(4);
this.useHandCursor = false;
}
this.onEnterFrame = function () {
if (_root.upgrade4[4] == 2) {
this.gotoAndStop(5);
this.useHandCursor = false;
}
};
this.onRollOver = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(3);
}
};
this.onRollOut = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(2);
}
};
this.onRelease = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
if (_root.totalpoints >= 11) {
_root.totalpoints = _root.totalpoints - 11;
_root.upgrade4[3] = 2;
_root.upgrade4[4] = 1;
_root.extralaserupgrade = 2;
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
};
Symbol 502 MovieClip Frame 2
stop();
Symbol 507 MovieClip Frame 1
if (_root.upgrade4[5] == undefined) {
_root.upgrade4[5] = 0;
} else if (_root.upgrade4[5] == 1) {
this.useHandCursor = false;
this.gotoAndStop(4);
}
this.onEnterFrame = function () {
if (_root.upgrade4[5] == 2) {
this.useHandCursor = false;
this.gotoAndStop(5);
}
};
this.onRollOver = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(3);
}
};
this.onRollOut = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
this.useHandCursor = true;
this.gotoAndStop(2);
}
};
this.onRelease = function () {
if ((this._currentframe != 4) && (this._currentframe != 5)) {
if (_root.totalpoints >= 15) {
_root.totalpoints = _root.totalpoints - 15;
_root.upgrade4[5] = 1;
_root.fasterreloadingupgrade = 1;
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
};
Symbol 507 MovieClip Frame 2
stop();
Symbol 513 MovieClip Frame 1
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
if (_root.totalpoints >= 1) {
_root.totalpoints = _root.totalpoints - 1;
_root.shipcolor = _root.boxcolor.getRGB();
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(_root.shipcolor);
this.gotoAndStop(3);
}
};
stop();
Symbol 515 MovieClip Frame 1
stop();
Instance of Symbol 509 MovieClip in Symbol 515 MovieClip Frame 5
on (rollOver) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(16711680);
}
on (rollOut) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(_root.shipcolor);
}
on (release) {
_root.boxcolor = new Color(_root.upgrades_mc.colorbox_mc);
_root.boxcolor.setRGB(16711680);
}
Instance of Symbol 509 MovieClip in Symbol 515 MovieClip Frame 5
on (rollOver) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(255);
}
on (rollOut) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(_root.shipcolor);
}
on (release) {
_root.boxcolor = new Color(_root.upgrades_mc.colorbox_mc);
_root.boxcolor.setRGB(255);
}
Instance of Symbol 509 MovieClip in Symbol 515 MovieClip Frame 5
on (rollOver) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(65280);
}
on (rollOut) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(_root.shipcolor);
}
on (release) {
_root.boxcolor = new Color(_root.upgrades_mc.colorbox_mc);
_root.boxcolor.setRGB(65280);
}
Instance of Symbol 509 MovieClip in Symbol 515 MovieClip Frame 5
on (rollOver) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(16711935);
}
on (rollOut) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(_root.shipcolor);
}
on (release) {
_root.boxcolor = new Color(_root.upgrades_mc.colorbox_mc);
_root.boxcolor.setRGB(16711935);
}
Instance of Symbol 509 MovieClip in Symbol 515 MovieClip Frame 5
on (rollOver) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(16777215);
}
on (rollOut) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(_root.shipcolor);
}
on (release) {
_root.boxcolor = new Color(_root.upgrades_mc.colorbox_mc);
_root.boxcolor.setRGB(16777215);
}
Instance of Symbol 509 MovieClip in Symbol 515 MovieClip Frame 5
on (rollOver) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(13382400);
}
on (rollOut) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(_root.shipcolor);
}
on (release) {
_root.boxcolor = new Color(_root.upgrades_mc.colorbox_mc);
_root.boxcolor.setRGB(13382400);
}
Instance of Symbol 509 MovieClip in Symbol 515 MovieClip Frame 5
on (rollOver) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(26367);
}
on (rollOut) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(_root.shipcolor);
}
on (release) {
_root.boxcolor = new Color(_root.upgrades_mc.colorbox_mc);
_root.boxcolor.setRGB(26367);
}
Instance of Symbol 509 MovieClip in Symbol 515 MovieClip Frame 5
on (rollOver) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(6749952);
}
on (rollOut) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(_root.shipcolor);
}
on (release) {
_root.boxcolor = new Color(_root.upgrades_mc.colorbox_mc);
_root.boxcolor.setRGB(6749952);
}
Instance of Symbol 509 MovieClip in Symbol 515 MovieClip Frame 5
on (rollOver) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(16744703);
}
on (rollOut) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(_root.shipcolor);
}
on (release) {
_root.boxcolor = new Color(_root.upgrades_mc.colorbox_mc);
_root.boxcolor.setRGB(16744703);
}
Instance of Symbol 509 MovieClip in Symbol 515 MovieClip Frame 5
on (rollOver) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(16776960);
}
on (rollOut) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(_root.shipcolor);
}
on (release) {
_root.boxcolor = new Color(_root.upgrades_mc.colorbox_mc);
_root.boxcolor.setRGB(16776960);
}
Instance of Symbol 509 MovieClip in Symbol 515 MovieClip Frame 5
on (rollOver) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(16750848);
}
on (rollOut) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(_root.shipcolor);
}
on (release) {
_root.boxcolor = new Color(_root.upgrades_mc.colorbox_mc);
_root.boxcolor.setRGB(16750848);
}
Instance of Symbol 509 MovieClip in Symbol 515 MovieClip Frame 5
on (rollOver) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(52479);
}
on (rollOut) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(_root.shipcolor);
}
on (release) {
_root.boxcolor = new Color(_root.upgrades_mc.colorbox_mc);
_root.boxcolor.setRGB(52479);
}
Instance of Symbol 509 MovieClip in Symbol 515 MovieClip Frame 5
on (rollOver) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(10813286);
}
on (rollOut) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(_root.shipcolor);
}
on (release) {
_root.boxcolor = new Color(_root.upgrades_mc.colorbox_mc);
_root.boxcolor.setRGB(10813286);
}
Instance of Symbol 509 MovieClip in Symbol 515 MovieClip Frame 5
on (rollOver) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(16744640);
}
on (rollOut) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(_root.shipcolor);
}
on (release) {
_root.boxcolor = new Color(_root.upgrades_mc.colorbox_mc);
_root.boxcolor.setRGB(16744640);
}
Instance of Symbol 509 MovieClip in Symbol 515 MovieClip Frame 5
on (rollOver) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(10027263);
}
on (rollOut) {
_root.shipcolorex = new Color(_root.wholeship_mc.wholeship2_mc.wings_mc);
_root.shipcolorex.setRGB(_root.shipcolor);
}
on (release) {
_root.boxcolor = new Color(_root.upgrades_mc.colorbox_mc);
_root.boxcolor.setRGB(10027263);
}
Symbol 520 MovieClip Frame 1
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
if (this._currentframe != 3) {
if (_root.losehelpboxon != true) {
_root.mission--;
_root.player.data.game = _root.mission + 1;
_root.player.data.points = _root.totalpoints;
_root.player.data.speedupgrade = _root.speedupgrade;
_root.player.data.brakesupgrade = _root.brakesupgrade;
_root.player.data.healthupgrade = _root.healthupgrade;
_root.player.data.extralaserupgrade = _root.extralaserupgrade;
_root.player.data.fasterlaserupgrade = _root.fasterlaserupgrade;
_root.player.data.fasterreloadingupgrade = _root.fasterreloadingupgrade;
_root.player.data.shipcolor = _root.shipcolor;
_root.player.data.reachedmissionfive = _root.reachedmissionfive;
_root.newgame();
}
}
};
stop();
Symbol 526 MovieClip Frame 1
if (_root.newpoints == 0) {
if (_root.reachedmissionfive == true) {
} else {
this.gotoAndStop(4);
}
}
this.onRollOver = function () {
if ((this._currentframe != 3) && (this._currentframe != 4)) {
this.gotoAndStop(2);
}
};
this.onRollOut = function () {
if ((this._currentframe != 3) && (this._currentframe != 4)) {
this.gotoAndStop(1);
}
};
this.onRelease = function () {
if ((this._currentframe != 3) && (this._currentframe != 4)) {
if (_root.losehelpboxon != true) {
this.gotoAndStop(3);
_root.player.data.game = _root.mission;
_root.player.data.points = _root.totalpoints;
_root.player.data.speedupgrade = _root.speedupgrade;
_root.player.data.brakesupgrade = _root.brakesupgrade;
_root.player.data.healthupgrade = _root.healthupgrade;
_root.player.data.extralaserupgrade = _root.extralaserupgrade;
_root.player.data.fasterlaserupgrade = _root.fasterlaserupgrade;
_root.player.data.fasterreloadingupgrade = _root.fasterreloadingupgrade;
_root.player.data.shipcolor = _root.shipcolor;
_root.player.data.reachedmissionfive = _root.reachedmissionfive;
_root.newgame();
}
}
};
stop();
Symbol 545 MovieClip Frame 18
_parent.firework();
Symbol 546 MovieClip Frame 1
var tspeed = new Array();
var hspeed = new Array();
var ballexplosion = new Array();
var ball = new Array();
var ballcolor = new Array();
var firstballcolor = new Array();
var ballcolorstring = new Array();
var numofballs = 25;
var iii = 2;
var ggg = 2;
var ddd = 1;
var fff = 1;
var zzz = 2;
var hhh = 1;
var kkk = 1;
var firstball = new Array();
firework = function () {
firstball[fff] = this.firstballholder_mc.attachMovie("ball", ("ball" + fff) + "_mc", fff);
firstball[fff]._xscale = (firstball[fff]._yscale = Math.floor(Math.random() * 20) + 30);
firstball[fff]._alpha = Math.floor(Math.random() * 20) + 70;
firstball[fff]._x = Math.floor(Math.random() * Stage.width);
firstball[fff]._y = Stage.height + 4;
firstballcolor[fff] = new Color(firstball[fff]);
ballcolorstring[fff] = Math.floor(Math.random() * 7);
if (ballcolorstring[fff] == 0) {
ballcolorstring[fff] = "0xFF0000";
} else if (ballcolorstring[fff] == 1) {
ballcolorstring[fff] = "0x00FF00";
} else if (ballcolorstring[fff] == 2) {
ballcolorstring[fff] = "0x0000FF";
} else if (ballcolorstring[fff] == 3) {
ballcolorstring[fff] = "0x00FFFF";
} else if (ballcolorstring[fff] == 4) {
ballcolorstring[fff] = "0xFF9900";
} else if (ballcolorstring[fff] == 5) {
ballcolorstring[fff] = "0xFF00FF";
} else if (ballcolorstring[fff] == 6) {
ballcolorstring[fff] = "0xFFFF00";
}
firstballcolor[fff].setRGB(ballcolorstring[fff]);
fff++;
};
this.onEnterFrame = function () {
ddd = 1;
while (ddd < fff) {
if (tspeed[ddd] == undefined) {
tspeed[ddd] = Math.floor(Math.random() * 3) + 16;
}
if (hspeed[ddd] == undefined) {
hspeed[ddd] = Math.floor(Math.random() * 6) - 3;
}
if (ballexplosion[ddd] == true) {
ggg = (ddd * numofballs) - numofballs;
while (ggg <= numofballs) {
ball[ggg]._x = ball[ggg]._x + ball[ggg].xspeed;
ball[ggg]._y = ball[ggg]._y + ball[ggg].yspeed;
ball[ggg]._alpha = ball[ggg]._alpha - (Math.floor(Math.random() * 3) + 6);
if (ball[ggg]._alpha <= 30) {
removeMovieClip(ball[ggg]);
}
ggg++;
}
} else if (tspeed[ddd] <= -9) {
ballexplosion[ddd] = true;
iii = 2;
while (iii <= numofballs) {
ball[iii] = this.attachMovie("ball", ("ball" + zzz) + "_mc", zzz);
ball[iii]._x = firstball[ddd]._x;
ball[iii]._y = firstball[ddd]._y;
ballcolor[zzz] = new Color(ball[iii]);
ballcolor[zzz].setRGB(ballcolorstring[ddd]);
ball[iii]._xscale = (ball[iii]._yscale = firstball[ddd]._xscale);
ball[iii].xspeed = Math.floor(Math.random() * 20) - 10;
ball[iii].yspeed = Math.floor(Math.random() * 20) - 10;
zzz++;
iii++;
}
removeMovieClip(firstball[ddd]);
} else {
firstball[ddd]._x = firstball[ddd]._x + hspeed[ddd];
firstball[ddd]._y = firstball[ddd]._y - tspeed[ddd];
tspeed[ddd] = tspeed[ddd] - 0.4;
}
ddd++;
}
};