Frame 2
loadedbytes = getBytesLoaded();
totalbytes = getBytesTotal();
loadedkbytes = Math.ceil(loadedbytes / 1000);
totalkbytes = Math.ceil(totalbytes / 1000);
if (loadedbytes >= totalbytes) {
gotoAndPlay (4);
}
percent = int(loadedbytes / (totalbytes / 100));
_root.version = getVersion();
if ((_root.version = true)) {
_root.flashdetector.gotoAndStop(2);
}
Frame 3
gotoAndPlay (2);
Frame 6
function reGame() {
_root.shipstat = "alive";
_root.read = 0;
_root.score = 0;
_root.i = 1000;
_root.m = 10000;
_root.php = 10;
_root.ammo = 100;
_root.mobicon = 0;
_root.shipspeed = 4;
_root.shippow = 1;
_root.bc = "off";
_root.bg.gotoAndStop(1);
}
function reStage() {
stopAllSounds();
_root.PS("es");
_root.i = 1000;
_root.m = 10000;
_root.mobicon = 0;
_root.read = 0;
}
function dupFire() {
if (_root.shipstat == "alive") {
if (0 < _root.ammo) {
_root.ammo = _root.ammo - 1;
duplicateMovieClip ("fire", "fire" + i, i);
i = i + 1;
} else {
_root.shipstat == "dead";
_root.gotoAndPlay("gameover");
}
}
}
function mobfire() {
if (_root.shipstat == "alive") {
duplicateMovieClip ("mfire", "mfire" + m, m);
s = random(_root.nons) + 1;
_root["mfire" + m]._x = _root["ns" + s]._x;
_root["mfire" + m]._y = _root["ns" + s]._y;
m = m + 1;
}
}
function shiphit() {
if (_root.shipstat == "alive") {
_root.php = _root.php - 1;
_root.PS("sh");
_root.ship.ship.gotoAndPlay("hurt");
if (0 >= _root.php) {
_root.bc = "off";
_root.gotoAndStop("gameover");
_root.shipstat = "dead";
}
}
}
function shipeat(bon) {
if (_root.shipstat == "alive") {
_root.PS("eb");
_root.score = _root.score + 800;
_root.ss.gotoAndPlay("eight");
if (bon == 1) {
_root.ammo = _root.ammo + 10;
if (_root.ammo >= 100) {
_root.ammo = 100;
}
}
if (bon == 2) {
_root.php = _root.php + 1;
if (_root.php >= 10) {
_root.php = 10;
}
}
if (bon == 3) {
_root.shipspeed = _root.shipspeed + 4;
if (_root.shipspeed >= 20) {
_root.shipspeed = 20;
}
}
if (bon == 4) {
_root.shippow = _root.shippow + 1;
if (_root.shippow >= 5) {
_root.shippow = 5;
}
}
}
}
function hitmob(mc, sc) {
if (_root.shipstat == "alive") {
if (_root["ns" + mc].stat == "alive") {
_root.PS("hm");
_root["ns" + mc].hp = _root["ns" + mc].hp - _root.shippow;
_root.score = _root.score + (_root.shippow * (sc * 12));
_root["ns" + mc].hurt.play();
if (0 >= _root["ns" + mc].hp) {
_root["ns" + mc].stat = "dead";
_root["ns" + mc].gotoAndPlay("dead");
_root.deadmob();
}
}
}
}
function deadmob() {
_root.PS("dm");
_root.mobicon = _root.mobicon - 1;
_root.score = _root.score + 1000;
_root.ss.gotoAndPlay("kk");
if (0 >= _root.mobicon) {
_root.bc = "off";
_root.nextFrame();
}
}
function PS(opt) {
if (_root.sset == "on") {
s = new Sound();
if ((((opt == "bg1") or (opt == "bg2")) or (opt == "bg3")) or (opt == "mm")) {
if (opt == "bg1") {
s.attachSound("BGMusic1");
}
if (opt == "bg2") {
s.attachSound("BGMusic2");
}
if (opt == "bg3") {
s.attachSound("BGMusic3");
}
if (opt == "mm") {
s.attachSound("MenuMusic");
}
s.start(0, 99);
} else {
if (opt == "eb") {
s.attachSound("EatBonus");
}
if (opt == "dm") {
s.attachSound("DeadMob");
}
if (opt == "es") {
s.attachSound("EnterStage");
}
if (opt == "go") {
s.attachSound("GameOver");
}
if (opt == "gs") {
s.attachSound("GameStart");
}
if (opt == "sh") {
s.attachSound("ShipHurt");
}
if (opt == "hm") {
xsx = random(5);
if (xsx == 1) {
s.attachSound("HitMob1");
}
if (xsx == 2) {
s.attachSound("HitMob2");
}
if (xsx == 3) {
s.attachSound("HitMob3");
}
if (xsx == 4) {
s.attachSound("HitMob4");
}
}
s.start();
}
}
}
loadMovieNum ("skycursor.swf", 1);
_root.sset = "on";
_root.fire._visible = false;
_root.b1._visible = false;
_root.b2._visible = false;
_root.b3._visible = false;
_root.b4._visible = false;
Instance of Symbol 68 MovieClip "fire" in Frame 6
onClipEvent (load) {
this.gotoAndStop(1);
this._xscale = 120;
this._yscale = 120;
this._x = _root.ship._x;
this._y = _root.ship._y;
miss = random(4);
if (miss == 0) {
targetx = (_root._xmouse + random(20)) - 10;
targety = (_root._ymouse + random(20)) - 10;
}
if (miss != 0) {
targetx = (_root._xmouse + random(8)) - 4;
targety = (_root._ymouse + random(8)) - 4;
}
long = 50;
missornot = 0;
moving = 1;
ang1 = _root.angle;
_root.angle = _root.angle + 5;
scale = 1;
speed = random(10) + 5;
randang = random(10);
firespeed = 2;
}
onClipEvent (enterFrame) {
if (moving == 1) {
rrx = (targetx - this._x) / speed;
rry = (targety - this._y) / speed;
if (rrx >= firespeed) {
rangex = firespeed;
}
if ((-firespeed) >= rrx) {
rangex = -firespeed;
}
if (rry >= firespeed) {
rangex = firespeed;
}
if ((-firespeed) >= rry) {
rangex = -firespeed;
}
rangex = this._x + rrx;
rangey = this._y + rry;
ang1 = ang1 + randang;
long = long - (long / 10);
if (0 >= long) {
long = 0;
}
x = long * Math.sin((ang1 * Math.PI) / 180);
y = long * Math.cos((ang1 * Math.PI) / 180);
this._x = rangex + x;
this._y = rangey + y;
if (scale == 1) {
this._xscale = this._xscale - 3;
this._yscale = this._yscale - 3;
}
if (20 >= this._xscale) {
scale = 0;
}
var degree;
var dx;
var dy;
var center_x;
var center_y;
center_x = this._x;
center_y = this._y;
mx = targetx;
my = targety;
dx = mx - center_x;
dy = center_y - my;
if (dy == 0) {
if (0 < dx) {
degree = 90;
} else {
degree = 270;
}
} else if (0 < dy) {
degree = (Math.atan(dx / dy) * 180) / 3.14159;
} else {
degree = ((Math.atan(dx / dy) * 180) / 3.14159) + 180;
}
this._rotation = degree;
difx = this._x - targetx;
dify = this._y - targety;
if ((((difx < 10) and (-10 < difx)) and (dify < 10)) and (-10 < dify)) {
this._x = targetx;
this._y = targety;
moving = 0;
this.gotoAndPlay("exp");
zz = 1;
while (zz < (_root.nons + 1)) {
checkx = Math.abs(this._x - _root["ns" + zz]._x);
checky = Math.abs(this._y - _root["ns" + zz]._y);
checkz = _root.spider._width / 2;
if ((checkx < checkz) and (checky < checkz)) {
tempscore = int(((checkz - checkx) + (checkz - checky)) / 2);
missornot = 1;
_root.hitmob(zz, tempscore);
break;
}
zz = zz + 1;
}
newscale = random(30) + 5;
this._xscale = newscale;
this._yscale = newscale;
}
}
}
Instance of Symbol 143 MovieClip "ship" in Frame 6
onClipEvent (load) {
this._x = 250;
speed = 5;
speedLimit = _root.shipspeed;
this.gotoAndStop(15);
}
onClipEvent (enterFrame) {
xTarget = _root._xmouse;
fraction = 0.1;
speedLimit = _root.shipspeed;
xspeed = (xTarget - _x) * fraction;
if (xspeed >= speedLimit) {
xspeed = speedLimit;
} else if ((-speedLimit) >= xspeed) {
xspeed = (-speedLimit) + 0.01;
}
_x = (_x + xspeed);
if (this._x >= 490) {
this._x = 490;
}
if (10 >= this._x) {
this._x = 10;
}
speedLimitRatio = (xspeed + speedLimit) / (2 * speedLimit);
this.gotoAndStop(Math.ceil(this._totalframes * SpeedLimitRatio));
}
Instance of Symbol 173 MovieClip in Frame 6
onClipEvent (mouseDown) {
if (_root.bc == "on") {
_root.dupFire();
}
}
Instance of Symbol 175 MovieClip in Frame 6
onClipEvent (load) {
z = 100000 /* 0x0186A0 */;
tm = 0;
p_time = 0;
}
onClipEvent (enterFrame) {
if (_root.bc == "on") {
tm = int(getTimer() / 1000);
if (p_time < tm) {
tt = random(10);
if (tt == 1) {
bb = random(5);
if (bb == 0) {
duplicateMovieClip (_root.b1, "bb" + z, z);
}
if (bb == 1) {
duplicateMovieClip (_root.b2, "bb" + z, z);
}
if (bb == 2) {
duplicateMovieClip (_root.b3, "bb" + z, z);
}
if (bb == 3) {
duplicateMovieClip (_root.b4, "bb" + z, z);
}
if (bb == 4) {
duplicateMovieClip (_root.b1, "bb" + z, z);
}
z = z + 1;
}
p_time = tm;
}
}
}
Instance of Symbol 183 MovieClip "b1" in Frame 6
onClipEvent (load) {
this._x = random(300) + 100;
this._y = 30;
g = 100;
oldx = this._x - (random(3) - 2);
oldy = this._y - (random(11) - 6);
x = this._x;
y = this._y;
vx = (x - oldx) * 10;
vy = (y - oldy) * 10;
}
onClipEvent (enterFrame) {
vy = Number(vy) + Number(g / 10);
x = Number(x) + Number(vx / 10);
yadd = Number(vy / 10);
if (5 < yadd) {
yadd = 5;
}
y = y + yadd;
this._x = x;
this._y = y;
if ((this._y >= 335) and (370 >= this._y)) {
dd = Math.abs(this._x - _root.ship._x);
if (15 >= dd) {
_root.shipeat(1);
removeMovieClip(this);
}
}
if (this._y >= 400) {
removeMovieClip(this);
}
}
Instance of Symbol 186 MovieClip "b2" in Frame 6
onClipEvent (load) {
this._x = random(300) + 100;
this._y = 30;
g = 100;
oldx = this._x - (random(3) - 2);
oldy = this._y - (random(11) - 6);
x = this._x;
y = this._y;
vx = (x - oldx) * 10;
vy = (y - oldy) * 10;
}
onClipEvent (enterFrame) {
vy = Number(vy) + Number(g / 10);
x = Number(x) + Number(vx / 10);
yadd = Number(vy / 10);
if (5 < yadd) {
yadd = 5;
}
y = y + yadd;
this._x = x;
this._y = y;
if ((this._y >= 335) and (370 >= this._y)) {
dd = Math.abs(this._x - _root.ship._x);
if (15 >= dd) {
_root.shipeat(2);
removeMovieClip(this);
}
}
if (this._y >= 400) {
removeMovieClip(this);
}
}
Instance of Symbol 189 MovieClip "b3" in Frame 6
onClipEvent (load) {
this._x = random(300) + 100;
this._y = 30;
g = 100;
oldx = this._x - (random(3) - 2);
oldy = this._y - (random(11) - 6);
x = this._x;
y = this._y;
vx = (x - oldx) * 10;
vy = (y - oldy) * 10;
}
onClipEvent (enterFrame) {
vy = Number(vy) + Number(g / 10);
x = Number(x) + Number(vx / 10);
yadd = Number(vy / 10);
if (5 < yadd) {
yadd = 5;
}
y = y + yadd;
this._x = x;
this._y = y;
if ((this._y >= 335) and (370 >= this._y)) {
dd = Math.abs(this._x - _root.ship._x);
if (15 >= dd) {
_root.shipeat(3);
removeMovieClip(this);
}
}
if (this._y >= 400) {
removeMovieClip(this);
}
}
Instance of Symbol 191 MovieClip in Frame 6
onClipEvent (load) {
this._width = 100;
}
onClipEvent (enterFrame) {
this._width = _root.php * 10;
}
Instance of Symbol 192 MovieClip in Frame 6
onClipEvent (load) {
this._width = 100;
}
onClipEvent (enterFrame) {
this._width = _root.ammo;
}
Instance of Symbol 198 MovieClip in Frame 6
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.shippow);
}
Instance of Symbol 199 MovieClip in Frame 6
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
x = _root.shipspeed / 4;
this.gotoAndStop(x);
}
Instance of Symbol 202 MovieClip "b4" in Frame 6
onClipEvent (load) {
this._x = random(300) + 100;
this._y = 30;
g = 100;
oldx = this._x - (random(2) - 1);
oldy = this._y - (random(11) - 6);
x = this._x;
y = this._y;
vx = (x - oldx) * 10;
vy = (y - oldy) * 10;
}
onClipEvent (enterFrame) {
vy = Number(vy) + Number(g / 10);
x = Number(x) + Number(vx / 10);
yadd = Number(vy / 10);
if (5 < yadd) {
yadd = 5;
}
y = y + yadd;
this._x = x;
this._y = y;
if ((this._y >= 335) and (370 >= this._y)) {
dd = Math.abs(this._x - _root.ship._x);
if (15 >= dd) {
_root.shipeat(4);
removeMovieClip(this);
}
}
if (this._y >= 400) {
removeMovieClip(this);
}
}
Instance of Symbol 213 MovieClip "ss" in Frame 6
onClipEvent (enterFrame) {
this._x = _root.ship._x;
}
Instance of Symbol 218 MovieClip in Frame 6
onClipEvent (keyDown) {
keycode = Key.getCode();
if (keycode == Key.HOME) {
_root.nextFrame();
}
if (keycode == Key.INSERT) {
_root.prevFrame();
}
}
Frame 8
loadVariablesNum ("highscore.asp", 0, "POST");
_root.PS("mm");
_root.reGame();
stop();
Instance of Symbol 228 MovieClip "spider" in Frame 8
onClipEvent (load) {
this.hp = 100;
this._x = random(480) + 10;
this._y = random(160) + 30;
stat = "alive";
ramx = random(480) + 10;
ramy = random(160) + 30;
}
onClipEvent (enterFrame) {
if (stat == "alive") {
movex = (ramx - _x) / 20;
movey = (ramy - _y) / 20;
if (5 < movex) {
movex = 5;
}
if (movex < -5) {
movex = -5;
}
if (5 < movey) {
movey = 5;
}
if (movey < -5) {
movey = -5;
}
this._x = this._x + movex;
this._y = this._y + movey;
if ((((movex < 2) and (-2 < movex)) and (movey < 2)) and (-2 < movey)) {
ramx = random(480) + 10;
ramy = random(160) + 30;
}
}
}
Instance of Symbol 244 MovieClip in Frame 8
onClipEvent (load) {
tm = 0;
p_time = 0;
}
onClipEvent (enterFrame) {
tm = int(getTimer() / 1000);
if ((p_time + 5) < tm) {
loadVariablesNum ("highscore.asp", 0, "POST");
p_time = tm;
}
}
Frame 12
_root.stage.gotoAndPlay("start");
stopAllSounds();
stop();
Frame 13
if (_root.read == 0) {
_root.spider._visible = false;
_root.mfire._visible = false;
_root.ammo = 100;
_root.PS("bg1");
s = 1;
nons = 5;
mobicon = nons;
_root.bc = "on";
_root.read = 1;
while (nons >= s) {
duplicateMovieClip (spider, "ns" + s, s);
_root["ns" + s].id = s;
s = s + 1;
}
}
stop();
Instance of Symbol 265 MovieClip "spider" in Frame 13
onClipEvent (load) {
this.hp = 10;
this._x = random(480) + 10;
this._y = random(160) + 30;
stat = "alive";
}
onClipEvent (enterFrame) {
if (stat == "alive") {
xx = random(100);
if (xx == 1) {
_root.mobfire();
}
}
}
Instance of Symbol 268 MovieClip "mfire" in Frame 13
onClipEvent (load) {
xtarget = random(500);
ytarget = 500;
this._xscale = 100;
this._yscale = 100;
}
onClipEvent (enterFrame) {
xmove = (xtarget - this._x) / 20;
ymove = (ytarget - this._y) / 20;
if (2 < xmove) {
xmove = 2;
}
if (xmove < -2) {
xmove = -2;
}
if (ymove >= 2) {
ymove = 2;
}
this._x = this._x + xmove;
this._y = this._y + ymove;
if ((this._y >= 335) and (370 >= this._y)) {
dd = Math.abs(this._x - _root.ship._x);
if (15 >= dd) {
_root.shiphit();
removeMovieClip(this);
}
}
if (this._y >= 400) {
removeMovieClip(this);
}
}
Frame 14
s = 1;
while (nons >= s) {
removeMovieClip(_root["ns" + s]);
s = s + 1;
}
stopAllSounds();
_root.reStage();
_root.stage.gotoAndPlay("nextstage");
_root.ship.ship.gotoAndPlay("win");
stop();
Frame 15
if (_root.read == 0) {
_root.spider._visible = false;
_root.mfire._visible = false;
_root.PS("bg1");
s = 1;
nons = 8;
mobicon = nons;
_root.bc = "on";
_root.read = 1;
while (nons >= s) {
duplicateMovieClip (spider, "ns" + s, s);
_root["ns" + s].id = s;
s = s + 1;
}
}
stop();
Instance of Symbol 269 MovieClip "mfire" in Frame 15
onClipEvent (load) {
xtarget = random(500);
ytarget = 500;
this._xscale = 100;
this._yscale = 100;
}
onClipEvent (enterFrame) {
xmove = (xtarget - this._x) / 20;
ymove = (ytarget - this._y) / 20;
if (2 < xmove) {
xmove = 2;
}
if (xmove < -2) {
xmove = -2;
}
if (ymove >= 2) {
ymove = 2;
}
this._x = this._x + xmove;
this._y = this._y + ymove;
if ((this._y >= 335) and (370 >= this._y)) {
dd = Math.abs(this._x - _root.ship._x);
if (15 >= dd) {
_root.shiphit();
removeMovieClip(this);
}
}
if (this._y >= 400) {
removeMovieClip(this);
}
}
Instance of Symbol 281 MovieClip "spider" in Frame 15
onClipEvent (load) {
this.hp = 5;
this._x = random(480) + 10;
this._y = random(160) + 30;
stat = "alive";
}
onClipEvent (enterFrame) {
if (stat == "alive") {
xx = random(120);
if (xx == 1) {
_root.mobfire();
}
}
}
Frame 16
s = 1;
while (nons >= s) {
removeMovieClip(_root["ns" + s]);
s = s + 1;
}
_root.reStage();
_root.stage.gotoAndPlay("nextstage");
_root.ship.ship.gotoAndPlay("win");
stop();
Frame 17
if (_root.read == 0) {
_root.spider._visible = false;
_root.mfire._visible = false;
_root.PS("bg1");
s = 1;
nons = 5;
mobicon = nons;
_root.bc = "on";
_root.read = 1;
while (nons >= s) {
duplicateMovieClip (spider, "ns" + s, s);
_root["ns" + s].id = s;
s = s + 1;
}
}
stop();
Instance of Symbol 282 MovieClip "mfire" in Frame 17
onClipEvent (load) {
xtarget = random(500);
ytarget = 500;
this._xscale = 100;
this._yscale = 100;
}
onClipEvent (enterFrame) {
xmove = (xtarget - this._x) / 20;
ymove = (ytarget - this._y) / 20;
if (2.5 < xmove) {
xmove = 2.5;
}
if (xmove < -2.5) {
xmove = -2.5;
}
if (ymove >= 2.5) {
ymove = 2.5;
}
this._x = this._x + xmove;
this._y = this._y + ymove;
if ((this._y >= 335) and (370 >= this._y)) {
dd = Math.abs(this._x - _root.ship._x);
if (15 >= dd) {
_root.shiphit();
removeMovieClip(this);
}
}
if (this._y >= 400) {
removeMovieClip(this);
}
}
Instance of Symbol 290 MovieClip "spider" in Frame 17
onClipEvent (load) {
this.hp = 13;
this._x = random(480) + 10;
this._y = random(160) + 30;
stat = "alive";
ramx = random(480) + 10;
}
onClipEvent (enterFrame) {
if (stat == "alive") {
movex = (ramx - _x) / 10;
if (1 < movex) {
movex = 1;
}
if (movex < -1) {
movex = -1;
}
this._x = this._x + movex;
if ((movex < 1) and (-1 < movex)) {
ramx = random(480) + 10;
}
xx = random(100);
if (xx == 1) {
_root.mobfire();
}
}
}
Frame 18
s = 1;
while (nons >= s) {
removeMovieClip(_root["ns" + s]);
s = s + 1;
}
_root.reStage();
_root.stage.gotoAndPlay("nextstage");
_root.ship.ship.gotoAndPlay("win");
stop();
Frame 19
if (_root.read == 0) {
_root.spider._visible = false;
_root.mfire._visible = false;
_root.PS("bg1");
s = 1;
nons = 13;
mobicon = nons;
_root.bc = "on";
_root.read = 1;
while (nons >= s) {
duplicateMovieClip (spider, "ns" + s, s);
_root["ns" + s].id = s;
s = s + 1;
}
}
stop();
Instance of Symbol 305 MovieClip "spider" in Frame 19
onClipEvent (load) {
stat = "alive";
this.hp = 6;
this._x = random(480) + 10;
this._y = random(160) + 30;
}
onClipEvent (enterFrame) {
if (stat == "alive") {
mm = random(5);
if (mm == 1) {
this._x = this._x + 1;
}
if (mm == 2) {
this._x = this._x - 1;
}
if (mm == 3) {
this._y = this._y + 1;
}
if (mm == 4) {
this._y = this._y - 1;
}
if (this._x >= 490) {
this._x = 490;
}
if (10 >= this._x) {
this._x = 10;
}
if (this._y >= 200) {
this._y = 200;
}
if (30 >= this._y) {
this._y = 30;
}
xx = random(120);
if (xx == 1) {
_root.mobfire();
}
}
}
Instance of Symbol 307 MovieClip "mfire" in Frame 19
onClipEvent (load) {
xtarget = (_root.ship._x - this._x) / 2;
xtarget = xtarget + _root.ship._x;
ytarget = 500;
this._xscale = 100;
this._yscale = 100;
}
onClipEvent (enterFrame) {
xmove = (xtarget - this._x) / 20;
ymove = (ytarget - this._y) / 20;
if (4 < xmove) {
xmove = 4;
}
if (xmove < -4) {
xmove = -4;
}
if (ymove >= 4) {
ymove = 4;
}
this._x = this._x + xmove;
this._y = this._y + ymove;
if ((this._y >= 335) and (370 >= this._y)) {
dd = Math.abs(this._x - _root.ship._x);
if (15 >= dd) {
_root.shiphit();
removeMovieClip(this);
}
}
if (this._y >= 400) {
removeMovieClip(this);
}
}
Frame 20
s = 1;
while (nons >= s) {
removeMovieClip(_root["ns" + s]);
s = s + 1;
}
_root.reStage();
_root.stage.gotoAndPlay("nextstage");
_root.ship.ship.gotoAndPlay("win");
stop();
Frame 21
if (_root.read == 0) {
_root.spider._visible = false;
_root.mfire._visible = false;
_root.PS("bg2");
s = 1;
nons = 8;
mobicon = nons;
_root.bc = "on";
_root.read = 1;
while (nons >= s) {
duplicateMovieClip (spider, "ns" + s, s);
_root["ns" + s].id = s;
s = s + 1;
}
}
stop();
Instance of Symbol 316 MovieClip "spider" in Frame 21
onClipEvent (load) {
this.hp = 20;
stat = "alive";
this._x = random(480) + 10;
this._y = random(160) + 30;
stt = 1;
mmx = random(2);
if (mmx == 1) {
mm = 1;
} else {
mm = -1;
}
tm = 0;
p_time = 0;
tt = random(6) + 3;
}
onClipEvent (enterFrame) {
if (stat == "alive") {
xx = random(80);
if (xx == 1) {
_root.mobfire();
}
if (stt == 1) {
this._x = this._x + mm;
tm = int(getTimer() / 1000);
if ((p_time + tt) < tm) {
p_time = tm;
this.play();
}
}
if (stt == 2) {
this._x = random(480) + 10;
this._y = random(160) + 30;
mmx = random(2);
if (mmx == 1) {
mm = 1;
} else {
mm = -1;
}
tt = random(6) + 3;
stt = 1;
}
}
}
Instance of Symbol 318 MovieClip "mfire" in Frame 21
onClipEvent (load) {
g = 100;
oldx = this._x - (random(11) - 6);
oldy = this._y - (random(11) - 6);
x = this._x;
y = this._y;
vx = (x - oldx) * 10;
vy = (y - oldy) * 10;
}
onClipEvent (enterFrame) {
vy = Number(vy) + Number(g / 10);
addx = Number(vx / 10);
addy = Number(vy / 10);
if (1 < addx) {
addx = 1;
}
if (5 < addy) {
addy = 5;
}
y = y + addy;
x = x + addx;
this._x = x;
this._y = y;
if ((this._y >= 335) and (370 >= this._y)) {
dd = Math.abs(this._x - _root.ship._x);
if (15 >= dd) {
_root.shiphit();
removeMovieClip(this);
}
}
if (this._y >= 400) {
removeMovieClip(this);
}
}
Frame 22
s = 1;
while (nons >= s) {
removeMovieClip(_root["ns" + s]);
s = s + 1;
}
_root.reStage();
_root.stage.gotoAndPlay("nextstage");
_root.ship.ship.gotoAndPlay("win");
stop();
Frame 23
if (_root.read == 0) {
_root.spider._visible = false;
_root.mfire._visible = false;
_root.PS("bg3");
s = 1;
nons = 1;
mobicon = nons;
_root.bc = "on";
_root.read = 1;
while (nons >= s) {
duplicateMovieClip (spider, "ns" + s, s);
_root["ns" + s].id = s;
s = s + 1;
}
}
stop();
Instance of Symbol 327 MovieClip "spider" in Frame 23
onClipEvent (load) {
this.hp = 50;
this._x = random(480) + 10;
this._y = random(160) + 30;
stat = "alive";
ramx = random(480) + 10;
ramy = random(160) + 30;
}
onClipEvent (enterFrame) {
if (stat == "alive") {
movex = (ramx - _x) / 20;
movey = (ramy - _y) / 20;
if (4 < movex) {
movex = 4;
}
if (movex < -4) {
movex = -4;
}
if (4 < movey) {
movey = 4;
}
if (movey < -4) {
movey = -4;
}
this._x = this._x + movex;
this._y = this._y + movey;
if ((((movex < 1) and (-1 < movex)) and (movey < 1)) and (-1 < movey)) {
ramx = random(480) + 10;
ramy = random(160) + 30;
}
xx = random(40);
if (xx == 1) {
_root.mobfire();
}
}
}
Instance of Symbol 330 MovieClip "mfire" in Frame 23
onClipEvent (load) {
xtarget = random(500);
ytarget = 500;
rf = (this._width / 2) + 15;
this._xscale = 100;
this._yscale = 100;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
xmove = (xtarget - this._x) / 20;
ymove = (ytarget - this._y) / 20;
if (4 < xmove) {
xmove = 4;
}
if (xmove < -4) {
xmove = -4;
}
if (ymove >= 4) {
ymove = 4;
}
this._x = this._x + xmove;
this._y = this._y + ymove;
if ((this._y >= 335) and (370 >= this._y)) {
dd = Math.abs(this._x - _root.ship._x);
if (rf >= dd) {
_root.shiphit();
_root.shiphit();
removeMovieClip(this);
}
}
if (this._y >= 400) {
removeMovieClip(this);
}
}
Frame 24
s = 1;
while (nons >= s) {
removeMovieClip(_root["ns" + s]);
s = s + 1;
}
_root.ss.gotoAndPlay("fivek");
_root.score = _root.score + 5000;
_root.reStage();
_root.stage.gotoAndPlay("nextstage");
_root.ship.ship.gotoAndPlay("win");
stop();
Frame 25
if (_root.read == 0) {
_root.spider._visible = false;
_root.spider2._visible = false;
_root.mfire._visible = false;
_root.PS("bg2");
s = 1;
nons = 9;
mobicon = nons;
duplicateMovieClip (spider, "ns" + s, s);
_root["ns" + s].id = s;
s = s + 1;
while (nons >= s) {
duplicateMovieClip (spider2, "ns" + s, s);
_root["ns" + s].id = s;
s = s + 1;
}
_root.bc = "on";
_root.read = 1;
}
stop();
Instance of Symbol 331 MovieClip "mfire" in Frame 25
onClipEvent (load) {
g = 100;
oldx = this._x - (random(11) - 6);
oldy = this._y - (random(11) - 6);
x = this._x;
y = this._y;
vx = (x - oldx) * 10;
vy = (y - oldy) * 10;
}
onClipEvent (enterFrame) {
vy = Number(vy) + Number(g / 10);
addx = Number(vx / 10);
addy = Number(vy / 10);
if (1 < addx) {
addx = 1;
}
if (4 < addy) {
addy = 4;
}
y = y + addy;
x = x + addx;
this._x = x;
this._y = y;
if ((this._y >= 335) and (370 >= this._y)) {
dd = Math.abs(this._x - _root.ship._x);
if (15 >= dd) {
_root.shiphit();
removeMovieClip(this);
}
}
if (this._y >= 400) {
removeMovieClip(this);
}
}
Instance of Symbol 340 MovieClip "spider" in Frame 25
onClipEvent (load) {
this.hp = 20;
this._x = random(480) + 10;
this._y = random(160) + 30;
stat = "alive";
ramx = random(480) + 10;
ramy = random(160) + 30;
}
onClipEvent (enterFrame) {
if (stat == "alive") {
movex = (ramx - _x) / 20;
movey = (ramy - _y) / 20;
if (3 < movex) {
movex = 3;
}
if (movex < -3) {
movex = -3;
}
if (3 < movey) {
movey = 3;
}
if (movey < -3) {
movey = -3;
}
this._x = this._x + movex;
this._y = this._y + movey;
if ((((movex < 1) and (-1 < movex)) and (movey < 1)) and (-1 < movey)) {
ramx = random(480) + 10;
ramy = random(160) + 30;
}
xx = random(80);
if (xx == 1) {
_root.mobfire();
}
}
}
Instance of Symbol 341 MovieClip "spider2" in Frame 25
onClipEvent (load) {
this.hp = 10;
stat = "alive";
}
onClipEvent (enterFrame) {
if (stat == "alive") {
xx = random(120);
if (xx == 1) {
_root.mobfire();
}
}
xTarget = eval ("_root.ns" + (this.id - 1))._x;
yTarget = eval ("_root.ns" + (this.id - 1))._y;
fraction = 0.1;
_y = (_y + ((yTarget - _y) * fraction));
_x = (_x + ((xTarget - _x) * fraction));
}
Frame 26
s = 1;
while (nons >= s) {
removeMovieClip(_root["ns" + s]);
s = s + 1;
}
_root.reStage();
_root.ss.gotoAndPlay("twok");
_root.score = _root.score + 2000;
_root.stage.gotoAndPlay("nextstage");
_root.ship.ship.gotoAndPlay("win");
stop();
Frame 27
if (_root.read == 0) {
_root.spider._visible = false;
_root.mfire._visible = false;
_root.PS("bg2");
s = 1;
nons = 12;
mobicon = nons;
_root.bc = "on";
_root.read = 1;
while (nons >= s) {
duplicateMovieClip (spider, "ns" + s, s);
_root["ns" + s].id = s;
s = s + 1;
}
}
stop();
Instance of Symbol 342 MovieClip "mfire" in Frame 27
onClipEvent (load) {
xtarget = (_root.ship._x - this._x) / 10;
xtarget = xtarget + _root.ship._x;
ytarget = 500;
this._xscale = 100;
this._yscale = 100;
}
onClipEvent (enterFrame) {
xmove = (xtarget - this._x) / 20;
ymove = (ytarget - this._y) / 20;
if (5 < xmove) {
xmove = 5;
}
if (xmove < -5) {
xmove = -5;
}
if (ymove >= 5) {
ymove = 5;
}
this._x = this._x + xmove;
this._y = this._y + ymove;
if ((this._y >= 335) and (370 >= this._y)) {
dd = Math.abs(this._x - _root.ship._x);
if (15 >= dd) {
_root.shiphit();
removeMovieClip(this);
}
}
if (this._y >= 400) {
removeMovieClip(this);
}
}
Instance of Symbol 353 MovieClip "spider" in Frame 27
onClipEvent (load) {
this.hp = 20;
stat = "alive";
this._x = random(490) + 10;
this._y = random(160) + 30;
stt = 1;
mov = random(5) + 1;
mmx = random(2);
if (mmx == 1) {
mm = 1;
} else {
mm = -1;
}
if (mm == 1) {
mov = mov;
} else {
mov = -mov;
}
}
onClipEvent (enterFrame) {
if (stat == "alive") {
xx = random(70);
if (xx == 1) {
_root.mobfire();
}
if (stt == 1) {
this._x = this._x + mm;
if ((this._x >= 500) or (0 >= this._x)) {
stt = 2;
}
}
if (stt == 2) {
mmx = random(2);
mov = random(5) + 1;
if (mmx == 1) {
mm = 1;
} else {
mm = -1;
}
if (mm == 1) {
this._x = 1;
mov = mov;
} else {
this._x = 499;
mov = -mov;
}
stt = 1;
}
}
}
Frame 28
s = 1;
while (nons >= s) {
removeMovieClip(_root["ns" + s]);
s = s + 1;
}
_root.reStage();
_root.ss.gotoAndPlay("twok");
_root.score = _root.score + 2000;
_root.stage.gotoAndPlay("nextstage");
_root.ship.ship.gotoAndPlay("win");
stop();
Frame 29
if (_root.read == 0) {
_root.spider._visible = false;
_root.mfire._visible = false;
_root.PS("bg3");
s = 1;
nons = 3;
mobicon = nons;
_root.bc = "on";
_root.read = 1;
while (nons >= s) {
duplicateMovieClip (spider, "ns" + s, s);
_root["ns" + s].id = s;
s = s + 1;
}
}
stop();
Instance of Symbol 361 MovieClip "spider" in Frame 29
onClipEvent (load) {
this.hp = 30;
this._x = random(480) + 10;
this._y = random(160) + 30;
stat = "alive";
ramx = random(480) + 10;
ramy = random(160) + 30;
this._xscale = 200;
this._yscale = 200;
}
onClipEvent (enterFrame) {
if (stat == "alive") {
movex = (ramx - _x) / 20;
movey = (ramy - _y) / 20;
if (3 < movex) {
movex = 3;
}
if (movex < -3) {
movex = -3;
}
if (3 < movey) {
movey = 3;
}
if (movey < -3) {
movey = -3;
}
this._x = this._x + movex;
this._y = this._y + movey;
if ((((movex < 1) and (-1 < movex)) and (movey < 1)) and (-1 < movey)) {
ramx = random(480) + 10;
ramy = random(160) + 30;
}
xx = random(40);
if (xx == 1) {
_root.mobfire();
}
}
}
Instance of Symbol 363 MovieClip "mfire" in Frame 29
onClipEvent (load) {
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
if ((this._y >= 315) and (370 >= this._y)) {
dd = Math.abs(this._x - _root.ship._x);
if (15 >= dd) {
_root.shiphit();
_root.shiphit();
removeMovieClip(this);
}
}
if (this._y >= 430) {
removeMovieClip(this);
}
}
Frame 30
s = 1;
while (nons >= s) {
removeMovieClip(_root["ns" + s]);
s = s + 1;
}
_root.reStage();
_root.ss.gotoAndPlay("twok");
_root.score = _root.score + 2000;
_root.stage.gotoAndPlay("nextstage");
_root.ship.ship.gotoAndPlay("win");
stop();
Frame 31
if (_root.read == 0) {
_root.spider._visible = false;
_root.spider2._visible = false;
_root.mfire._visible = false;
_root.PS("bg3");
s = 1;
nons = 12;
mobicon = nons;
duplicateMovieClip (spider, "ns" + s, s);
_root["ns" + s].id = s;
s = s + 1;
while (nons >= s) {
duplicateMovieClip (spider2, "ns" + s, s);
_root["ns" + s].id = s;
s = s + 1;
}
_root.bc = "on";
_root.read = 1;
}
stop();
Instance of Symbol 364 MovieClip "spider" in Frame 31
onClipEvent (load) {
this.hp = 100;
this._x = random(480) + 10;
this._y = random(160) + 30;
stat = "alive";
ramx = random(480) + 10;
ramy = random(160) + 30;
}
onClipEvent (enterFrame) {
if (stat == "alive") {
movex = (ramx - _x) / 20;
movey = (ramy - _y) / 20;
if (5 < movex) {
movex = 5;
}
if (movex < -5) {
movex = -5;
}
if (5 < movey) {
movey = 5;
}
if (movey < -5) {
movey = -5;
}
this._x = this._x + movex;
this._y = this._y + movey;
if ((((movex < 2) and (-2 < movex)) and (movey < 2)) and (-2 < movey)) {
ramx = random(480) + 10;
ramy = random(160) + 30;
}
xx = random(40);
if (xx == 1) {
_root.mobfire();
}
}
}
Instance of Symbol 372 MovieClip "spider2" in Frame 31
onClipEvent (load) {
this.hp = 20;
stat = "alive";
}
onClipEvent (enterFrame) {
if (stat == "alive") {
xx = random(80);
if (xx == 1) {
_root.mobfire();
}
}
xTarget = eval ("_root.ns" + (this.id - 1))._x;
yTarget = eval ("_root.ns" + (this.id - 1))._y;
fraction = 0.1;
_y = (_y + ((yTarget - _y) * fraction));
_x = (_x + ((xTarget - _x) * fraction));
}
Instance of Symbol 376 MovieClip "mfire" in Frame 31
onClipEvent (load) {
xtarget = (_root.ship._x - this._x) / 10;
xtarget = xtarget + _root.ship._x;
ytarget = 500;
this._xscale = 100;
this._yscale = 100;
}
onClipEvent (enterFrame) {
xmove = (xtarget - this._x) / 20;
ymove = (ytarget - this._y) / 20;
if (10 < xmove) {
xmove = 10;
}
if (xmove < -10) {
xmove = -10;
}
if (ymove >= 10) {
ymove = 10;
}
this._x = this._x + xmove;
this._y = this._y + ymove;
if ((this._y >= 335) and (380 >= this._y)) {
dd = Math.abs(this._x - _root.ship._x);
if (16 >= dd) {
_root.shiphit();
removeMovieClip(this);
}
}
if (this._y >= 400) {
removeMovieClip(this);
}
}
Frame 32
s = 1;
while (nons >= s) {
removeMovieClip(_root["ns" + s]);
s = s + 1;
}
_root.reStage();
_root.ss.gotoAndPlay("tenk");
_root.score = _root.score + 10000;
_root.stage.gotoAndPlay("victory");
_root.ship.ship.gotoAndPlay("win");
stop();
Frame 34
s = 1;
while (nons >= s) {
removeMovieClip(_root["ns" + s]);
s = s + 1;
}
stopAllSounds();
_root.PS("go");
_root.bg.gotoAndStop(2);
_root.ship.ship.gotoAndPlay("loss");
_root.stage.gotoAndPlay("gameover");
stop();
Symbol 34 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 1
stop();
Symbol 45 Button
on (release) {
getURL ("http://www.dannyspace.com", "_blink");
}
Symbol 53 Button
on (release) {
stopAllSounds();
_root.sset = "off";
this.nextFrame();
}
Symbol 57 Button
on (release) {
_root.sset = "on";
this.prevFrame();
}
Symbol 58 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 1
stop();
Instance of Symbol 64 MovieClip in Symbol 68 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.shippow);
}
Symbol 68 MovieClip Frame 83
removeMovieClip(this);
stop();
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 7
stop();
Symbol 142 MovieClip Frame 93
gotoAndStop (1);
Symbol 142 MovieClip Frame 104
stop();
Symbol 154 MovieClip Frame 28
stop();
Symbol 156 Button
on (release) {
_root.reGame();
this.gotoAndStop(1);
_root.nextFrame();
_root.ship.ship.gotoAndStop(1);
}
Symbol 159 Button
on (release) {
this.gotoAndStop(1);
_root.nextFrame();
_root.ship.ship.gotoAndStop(1);
}
Symbol 162 Button
on (release) {
loadVariablesNum ((("highscore.asp?score=" + _root.score) + "&player=") + pname, 0, "POST");
this.gotoAndStop(1);
_root.gotoAndStop("menu");
_root.ship.ship.gotoAndStop(1);
}
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 16
stop();
Symbol 166 MovieClip Frame 30
stop();
Symbol 166 MovieClip Frame 49
stop();
Symbol 166 MovieClip Frame 65
stop();
Symbol 170 Button
on (release) {
_root.nextFrame();
}
Symbol 171 Button
on (release) {
_root.PS("bg2");
}
Instance of Symbol 177 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Instance of Symbol 177 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Instance of Symbol 177 MovieClip in Symbol 189 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Instance of Symbol 177 MovieClip in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Symbol 213 MovieClip Frame 1
stop();
Symbol 213 MovieClip Frame 33
gotoAndStop (1);
Symbol 213 MovieClip Frame 65
gotoAndStop (1);
Symbol 213 MovieClip Frame 97
gotoAndStop (1);
Symbol 213 MovieClip Frame 144
gotoAndStop (1);
Symbol 213 MovieClip Frame 179
gotoAndStop (1);
Symbol 216 Button
on (release) {
_root.PS("bg1");
}
Symbol 226 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 33
stop();
Symbol 228 MovieClip Frame 90
removeMovieClip(this);
stop();
Symbol 237 Button
on (release) {
play();
}
Symbol 256 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 9
stop();
Symbol 265 MovieClip Frame 44
removeMovieClip(this);
stop();
Symbol 280 MovieClip Frame 1
stop();
Symbol 281 MovieClip Frame 10
stop();
Symbol 281 MovieClip Frame 30
removeMovieClip(this);
stop();
Symbol 289 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 10
stop();
Symbol 290 MovieClip Frame 39
removeMovieClip(this);
stop();
Symbol 305 MovieClip Frame 10
stop();
Symbol 305 MovieClip Frame 38
removeMovieClip(this);
stop();
Symbol 314 MovieClip Frame 1
stop();
Symbol 316 MovieClip Frame 10
stop();
Symbol 316 MovieClip Frame 26
stt = 2;
Symbol 316 MovieClip Frame 43
stt = 1;
gotoAndStop (10);
Symbol 316 MovieClip Frame 93
removeMovieClip(this);
stop();
Symbol 326 MovieClip Frame 1
stop();
Symbol 327 MovieClip Frame 31
stop();
Symbol 327 MovieClip Frame 72
removeMovieClip(this);
stop();
Symbol 338 MovieClip Frame 1
stop();
Symbol 340 MovieClip Frame 10
stop();
Symbol 340 MovieClip Frame 25
stop();
Symbol 341 MovieClip Frame 10
stop();
Symbol 341 MovieClip Frame 25
stop();
Symbol 350 MovieClip Frame 1
stop();
Symbol 353 MovieClip Frame 10
stop();
Symbol 353 MovieClip Frame 37
removeMovieClip(this);
stop();
Symbol 358 MovieClip Frame 1
stop();
Symbol 361 MovieClip Frame 10
stop();
Symbol 361 MovieClip Frame 38
removeMovieClip(this);
stop();
Symbol 364 MovieClip Frame 33
stop();
Symbol 364 MovieClip Frame 90
removeMovieClip(this);
stop();
Symbol 371 MovieClip Frame 1
stop();
Symbol 372 MovieClip Frame 10
stop();
Symbol 372 MovieClip Frame 33
stop();