Frame 2
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
lasersound = new Sound();
lasersound.attachSound("lasersound");
spermlasersound = new Sound();
spermlasersound.attachSound("spermlasersound");
blast = new Sound();
blast.attachSound("blastsound");
explosionstewie = new Sound();
explosionstewie.attachSound("explosionstewie");
explosionsperm = new Sound();
explosionsperm.attachSound("explosionsperm");
bazing = new Sound();
bazing.attachSound("bazingsound");
this.stop();
Frame 3
_root.stop();
stop();
_root.shipspeedx = 700;
_root.shipspeedy = 700;
_root.slowfactor = 3;
_root.moviewidth = 640;
_root.movieheight = 480;
_root.landheight = 150;
_root.speed = 150;
_root.landheight = 200;
_root.maxtime = 120000 /* 0x01D4C0 */;
_root.endtimebuffer = 3000;
_root.spermspeedx = 200;
_root.spermspeedy = 3000;
_root.laserspeed = 500;
_root.baselaserinterval = 250;
_root.scorecollision = 20;
_root.shiplandhit = 10;
_root.shipspermhit = 15;
_root.maxammo = 50;
_root.textpopupfade = 2;
_root.laserinterval = _root.baselaserinterval;
_root.invincible = false;
_root.depth = 1;
_root.endtime = 0;
_root.spermkilled = 0;
_root.control = true;
_root.pause = false;
_root.score = 0;
_root.time = 0;
_root.addsperm = 0;
_root.ammo = 50;
_root.shotshit = 0;
_root.shotsfired = 0;
_root.sheilds = 100;
Instance of Symbol 95 MovieClip in Frame 3
onClipEvent (enterFrame) {
}
Frame 4
_root.accuracy = "%" + Math.round((100 * _root.shotshit) / _root.shotsfired);
Instance of Symbol 5 MovieClip in Symbol 10 MovieClip Frame 1
onClipEvent (enterFrame) {
if (0 > ((this._x = ((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) - 100))) {
_root.gotoAndStop(1);
} else {
_root.play();
}
}
onClipEvent (load) {
this._x = -100;
}
Symbol 18 Button
on (release, keyPress "<Enter>") {
if ((_root.username.length > 1) && (_root.username != "Enter Your Name Here")) {
_root.nextFrame();
}
}
Symbol 22 Button
on (release) {
getURL ("http://www.mikenomn.com", "_blank");
}
Symbol 26 Button
on (release) {
getURL ("http://www.planet-familyguy.com", "_blank");
}
Symbol 29 Button
on (release) {
getURL ("http://www.damnyouall.net", "_blank");
}
Instance of Symbol 23 MovieClip in Symbol 30 MovieClip Frame 1
onClipEvent (load) {
dir = 1;
}
onClipEvent (enterFrame) {
_parent.stop();
if ((_parent._alpha <= 0) or (_parent._alpha >= 100)) {
if (dir <= 0) {
_parent.play();
}
dir = dir * -1;
}
_parent._alpha = _parent._alpha + dir;
}
Symbol 45 MovieClip [explosion] Frame 27
if (!random(15)) {
this.gotoAndStop("sheild");
} else if (!random(7)) {
this.gotoAndStop("ammo");
} else if (!random(40)) {
this.gotoAndStop("invincibility");
} else if (!random(40)) {
this.gotoAndStop("rapidfire");
} else {
this.removeMovieClip();
}
Instance of Symbol 23 MovieClip in Symbol 45 MovieClip [explosion] Frame 28
onClipEvent (enterFrame) {
if (!_root.pause) {
_parent._x = _parent._x - (_root.speed * _root.timeratio);
if (_parent._parent.ship.hitTest(_parent._x, _parent._y, 1)) {
_root.ammo = _root.ammo + 25;
_parent._parent.attachMovie("textpowerupammo", "text" + (++_root.depth), _root.depth);
_parent._parent["text" + _root.depth]._x = _root.moviewidth / 2;
_parent._parent["text" + _root.depth]._y = _root.movieheight / 2;
_parent.removeMovieClip();
}
if (_parent._x < 0) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 23 MovieClip in Symbol 45 MovieClip [explosion] Frame 29
onClipEvent (enterFrame) {
if (!_root.pause) {
_parent._x = _parent._x - (_root.speed * _root.timeratio);
if (_parent._parent.ship.hitTest(_parent._x, _parent._y, 1)) {
_root.sheilds = _root.sheilds + 25;
_parent._parent.attachMovie("textpowerupsheilds", "text" + (++_root.depth), _root.depth);
_parent._parent["text" + _root.depth]._x = _root.moviewidth / 2;
_parent._parent["text" + _root.depth]._y = _root.movieheight / 2;
_parent.removeMovieClip();
}
if (_parent._x < 0) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 23 MovieClip in Symbol 45 MovieClip [explosion] Frame 30
onClipEvent (enterFrame) {
if (!_root.pause) {
_parent._x = _parent._x - (_root.speed * _root.timeratio);
if (_parent._parent.ship.hitTest(_parent._x, _parent._y, 1)) {
_parent._parent.ship.invincible.removeMovieClip();
_parent._parent.ship.attachMovie("invincible", "invincible", 1);
_parent._parent.attachMovie("textpowerupinvincible", "text" + (++_root.depth), _root.depth);
_parent._parent["text" + _root.depth]._x = _root.moviewidth / 2;
_parent._parent["text" + _root.depth]._y = _root.movieheight / 2;
_parent.removeMovieClip();
}
if (_parent._x < 0) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 23 MovieClip in Symbol 45 MovieClip [explosion] Frame 31
onClipEvent (enterFrame) {
if (!_root.pause) {
_parent._x = _parent._x - (_root.speed * _root.timeratio);
if (_parent._parent.ship.hitTest(_parent._x, _parent._y, 1)) {
_parent._parent.ship.rapidfire.removemovieclip();
_parent._parent.ship.attachmovie("rapidfire", "rapidfire", 2);
_parent._parent.attachmovie("textpoweruprapidfire", "text" + (++_root.depth), _root.depth);
_parent._parent["text" + _root.depth]._x = _root.moviewidth / 2;
_parent._parent["text" + _root.depth]._y = _root.movieheight / 2;
_parent.removeMovieClip();
}
if (_parent._x < 0) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 23 MovieClip in Symbol 47 MovieClip [laser] Frame 1
onClipEvent (enterFrame) {
if (!_root.pause) {
_parent._x = _parent._x + (_parent.vx * _root.timeratio);
_parent._y = _parent._y + (_parent.vy * _root.timeratio);
if (_parent._x > _root.moviewidth) {
_parent.removeMovieClip();
}
if (_parent._parent.allsperm.hitTest(_parent._x, _parent._y, 1)) {
_root.shotshit = _root.shotshit + _parent._parent.allsperm.killsperm(_parent._x, _parent._y);
_parent.removeMovieClip();
}
if (_parent._parent.land.hitTest(_parent._x, _parent._y, 1)) {
laserhit = laserhit + 1;
_parent._parent.attachMovie("laserhit", "laserhit" + laserhit, 4000 + random(1000));
_parent._parent["laserhit" + laserhit]._x = _parent._x;
_parent._parent["laserhit" + laserhit]._y = _parent._y;
_parent.removeMovieClip();
}
}
}
Instance of Symbol 23 MovieClip in Symbol 51 MovieClip [laserhit] Frame 1
onClipEvent (enterFrame) {
_parent._x = _parent._x - (_root.speed * _root.timeratio);
}
Symbol 51 MovieClip [laserhit] Frame 8
this.removeMovieClip();
Instance of Symbol 23 MovieClip in Symbol 53 MovieClip [smoke] Frame 1
onClipEvent (enterFrame) {
if (!_root.pause) {
_parent._x = _parent._x - ((_root.speed * 5) * _root.timeratio);
_parent._xscale = _parent._xscale - 5;
_parent._yscale = _parent._yscale - 5;
_parent._alpha = _parent._alpha - 5;
_parent._rotation = random(360);
if (_parent._yscale <= 0) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 23 MovieClip in Symbol 59 MovieClip [sperm] Frame 1
onClipEvent (load) {
lastshot = getTimer();
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_parent._x = _parent._x - (_root.spermspeedx * _root.timeratio);
if (_parent._x < -10) {
_parent.removeMovieClip();
}
if (_parent._x < (_root.moviewidth + 200)) {
_parent.ay = random(_root.spermspeedy) - (_root.spermspeedy / 2);
_parent.vy = _parent.vy + (_parent.ay * _root.timeratio);
if (Math.abs(_parent.vy) > (_root.spermspeedy / 20)) {
_parent.vy = _parent.vy * 0.5;
}
_parent._y = _parent._y + (_parent.vy * _root.timeratio);
_parent._rotation = _parent.vy / -10;
if (getTimer() > _parent.nextshot) {
_parent.nextshot = getTimer() + 1000;
if (!random(3)) {
_parent._parent._parent.attachMovie("spermlaser", "spermlaser" + (++_root.depth), _root.depth);
_root.spermlasersound.start();
_parent._parent._parent["spermlaser" + _root.depth]._x = _parent._x;
_parent._parent._parent["spermlaser" + _root.depth]._y = _parent._y;
_parent._parent._parent["spermlaser" + _root.depth].vy = 2 * _parent.vy;
_parent._parent._parent["spermlaser" + _root.depth].vx = _root.laserspeed + _parent.vx;
lastshot = getTimer();
}
}
if (_parent._parent._parent.land.hitTest(_parent._x, _parent._y - 15, 1)) {
_parent.vy = _parent.vy * -1;
_parent._y = _parent._y + (_parent.vy * _root.timeratio);
while (_parent._parent._parent.land.hitTest(_parent._x, _parent._y - 15, 1)) {
_parent._y = _parent._y + 1;
}
} else if (_parent._parent._parent.land.hitTest(_parent._x, _parent._y + 15, 1)) {
_parent.vy = _parent.vy * -1;
_parent._y = _parent._y + (_parent.vy * _root.timeratio);
while (_parent._parent._parent.land.hitTest(_parent._x, _parent._y + 15, 1)) {
_parent._y = _parent._y - 1;
}
}
}
}
}
Instance of Symbol 23 MovieClip in Symbol 61 MovieClip [spermlaser] Frame 1
onClipEvent (enterFrame) {
if (!_root.pause) {
_parent._x = _parent._x - ((_root.spermspeed + _root.laserspeed) * _root.timeratio);
if (_parent._x < 0) {
_parent.removeMovieClip();
}
if ((_parent._parent.ship.hitTest(_parent._x - 10, _parent._y, 1) && (_root.control)) && (_root.sheilds > 0)) {
if (!_root.invincible) {
_root.sheilds = _root.sheilds - 10;
}
if (random(2)) {
_root.blast.start();
}
_parent.removeMovieClip();
}
if (_parent._parent.land.hitTest(_parent._x - 10, _parent._y, 1)) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 23 MovieClip in Symbol 64 MovieClip [textpowerupammo] Frame 1
onClipEvent (enterFrame) {
_parent._alpha = _parent._alpha - ((100 / _root.textpopupfade) * _root.timeratio);
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 23 MovieClip in Symbol 66 MovieClip [textpowerupsheilds] Frame 1
onClipEvent (enterFrame) {
_parent._alpha = _parent._alpha - ((100 / _root.textpopupfade) * _root.timeratio);
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 23 MovieClip in Symbol 68 MovieClip [textpowerupinvincible] Frame 1
onClipEvent (enterFrame) {
_parent._alpha = _parent._alpha - ((100 / _root.textpopupfade) * _root.timeratio);
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 23 MovieClip in Symbol 70 MovieClip [invincible] Frame 1
onClipEvent (load) {
killtime = _root.time + 10000;
}
onClipEvent (enterFrame) {
_root.invincible = true;
if (_root.time > killtime) {
_root.invincible = false;
_parent.removeMovieClip();
}
}
Instance of Symbol 23 MovieClip in Symbol 72 MovieClip [rapidfire] Frame 1
onClipEvent (load) {
killtime = _root.time + 10000;
}
onClipEvent (enterFrame) {
_root.laserinterval = _root.baselaserinterval / 2;
_root.ammo = _root.maxammo;
if ((_root.time > killtime) || (_root.sheilds <= 0)) {
_root.laserinterval = _root.baselaserinterval;
_parent.removeMovieClip();
}
}
Instance of Symbol 23 MovieClip in Symbol 74 MovieClip [textpoweruprapidfire] Frame 1
onClipEvent (enterFrame) {
_parent._alpha = _parent._alpha - ((100 / _root.textpopupfade) * _root.timeratio);
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
Symbol 81 MovieClip Frame 1
this.stop();
Instance of Symbol 23 MovieClip in Symbol 85 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pause) {
_parent._x = _parent._x - ((_root.speed / 2) * _root.timeratio);
if (_parent._x <= -640) {
_parent._x = _parent._x + 640;
}
}
}
Symbol 92 MovieClip Frame 1
this.stop();
Instance of Symbol 23 MovieClip in Symbol 92 MovieClip Frame 1
onClipEvent (load) {
_parent.x = _parent._x;
_parent.y = _parent._y;
_parent.nextshot = getTimer();
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_parent.ax = 0;
_parent.ay = 0;
if (_root.control) {
if (Key.isDown(37)) {
_parent.ax = _parent.ax - _root.shipspeedx;
}
if (Key.isDown(39)) {
_parent.ax = _parent.ax + _root.shipspeedx;
}
if (Key.isDown(38)) {
_parent.ay = _parent.ay - _root.shipspeedy;
}
if (Key.isDown(40)) {
_parent.ay = _parent.ay + _root.shipspeedy;
}
}
_parent.vx = _parent.vx + (_parent.ax * _root.timeratio);
_parent.vy = _parent.vy + (_parent.ay * _root.timeratio);
_parent._rotation = _parent.vy / 6;
_parent.x = _parent.x + (_parent.vx * _root.timeratio);
_parent.y = _parent.y + (_parent.vy * _root.timeratio);
if (_parent.x < 50) {
_parent.x = 50;
_parent.vx = 0;
} else if (_parent.x > (_root.moviewidth - 50)) {
_parent.x = _root.moviewidth - 50;
_parent.vx = 0;
}
if ((_parent.y > (_root.movieheight / 2)) && (_parent._parent.land.hitTest(_parent.x, _parent.y + 15, 1))) {
while (_parent._parent.land.hitTest(Math.round(_parent.x), Math.round(_parent.y) + 15, 1)) {
_parent.y = _parent.y - 1;
}
_parent.vy = _parent.vy - 150;
if (!_root.invincible) {
_root.sheilds = _root.sheilds - _root.shiplandhit;
}
}
if ((_parent.y < (_root.movieheight / 2)) && (_parent._parent.land.hitTest(Math.round(_parent.x), Math.round(_parent.y) - 15, 1))) {
while (_parent._parent.land.hitTest(Math.round(_parent.x), Math.round(_parent.y) - 15, 1)) {
_parent.y = _parent.y + 1;
}
_parent.vy = _parent.vy + 150;
if (!_root.invincible) {
_root.sheilds = _root.sheilds - _root.shiplandhit;
}
}
_parent._x = _parent.x;
_parent._y = _parent.y;
if (_parent._parent.allsperm.hitTest(Math.round(_parent.x) + 20, Math.round(_parent.y) + 10, 1)) {
_root.shotshit = _root.shotshit + _parent._parent.allsperm.killsperm(_parent.x + 20, _parent.y + 10);
if (!_root.invincible) {
_root.sheilds = _root.sheilds - _root.shipspermhit;
}
} else if (_parent._parent.allsperm.hitTest(Math.round(_parent.x) + 20, Math.round(_parent.y) - 10, 1)) {
_root.shotshit = _root.shotshit + _parent._parent.allsperm.killsperm(_parent.x + 20, _parent.y - 10);
if (!_root.invincible) {
_root.sheilds = _root.sheilds - _root.shipspermhit;
}
}
if ((Key.isDown(32) && (getTimer() > _parent.nextshot)) && (_root.ammo >= 1)) {
_parent.nextshot = getTimer() + _root.laserinterval;
i = i + 1;
_parent._parent.attachMovie("laser", "laser" + i, _root.depth++);
_root.lasersound.start();
_root.shotsfired++;
_root.ammo--;
_parent._parent["laser" + i]._x = _parent.x;
_parent._parent["laser" + i]._y = (_parent.y - 5) + (10 * Math.ceil((i / 2) - Math.floor(i / 2)));
_parent._parent["laser" + i].vy = 2 * _parent.vy;
_parent._parent["laser" + i].vx = _root.laserspeed + _parent.vx;
_parent._parent["laser" + i]._rotation = _parent._rotation;
lastshot = getTimer();
}
if (_root.sheilds < 20) {
_parent._parent.attachMovie("smoke", "smoke" + (++smoke), _root.depth++);
_parent._parent["smoke" + smoke]._x = _parent.x;
_parent._parent["smoke" + smoke]._y = _parent.y;
if (_root.sheilds <= 0) {
_root.control = 0;
_parent.play();
}
}
_parent.vx = _parent.vx - ((_parent.vx * _root.slowfactor) * _root.timeratio);
_parent.vy = _parent.vy - ((_parent.vy * _root.slowfactor) * _root.timeratio);
}
}
Instance of Symbol 23 MovieClip in Symbol 92 MovieClip Frame 2
onClipEvent (load) {
_parent.x = _parent._x;
_parent.y = _parent._y;
_parent.nextshot = getTimer();
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_parent.ax = 0;
_parent.ay = 0;
if (_root.control) {
if (Key.isDown(37)) {
_parent.ax = _parent.ax - _root.shipspeedx;
}
if (Key.isDown(39)) {
_parent.ax = _parent.ax + _root.shipspeedx;
}
if (Key.isDown(38)) {
_parent.ay = _parent.ay - _root.shipspeedy;
}
if (Key.isDown(40)) {
_parent.ay = _parent.ay + _root.shipspeedy;
}
}
_parent.vx = _parent.vx + (_parent.ax * _root.timeratio);
_parent.vy = _parent.vy + (_parent.ay * _root.timeratio);
_parent._rotation = _parent.vy / 6;
_parent.x = _parent.x + (_parent.vx * _root.timeratio);
_parent.y = _parent.y + (_parent.vy * _root.timeratio);
if (_parent.x < 50) {
_parent.x = 50;
_parent.vx = 0;
} else if (_parent.x > (_root.moviewidth - 50)) {
_parent.x = _root.moviewidth - 50;
_parent.vx = 0;
}
if ((_parent.y > (_root.movieheight / 2)) && (_parent._parent.land.hitTest(_parent.x, _parent.y + 15, 1))) {
while (_parent._parent.land.hitTest(Math.round(_parent.x), Math.round(_parent.y) + 15, 1)) {
_parent.y = _parent.y - 1;
}
_parent.vy = _parent.vy - 150;
_root.sheilds = _root.sheilds - _root.shiplandhit;
}
if ((_parent.y < (_root.movieheight / 2)) && (_parent._parent.land.hitTest(Math.round(_parent.x), Math.round(_parent.y) - 15, 1))) {
while (_parent._parent.land.hitTest(Math.round(_parent.x), Math.round(_parent.y) - 15, 1)) {
_parent.y = _parent.y + 1;
}
_parent.vy = _parent.vy + 150;
_root.sheilds = _root.sheilds - _root.shiplandhit;
}
_parent._x = _parent.x;
_parent._y = _parent.y;
if (_parent._parent.allsperm.hitTest(Math.round(_parent.x) + 20, Math.round(_parent.y) + 10, 1)) {
_root.shotshit = _root.shotshit + _parent._parent.allsperm.killsperm(_parent.x + 20, _parent.y + 10);
_root.sheilds = _root.sheilds - _root.shipspermhit;
} else if (_parent._parent.allsperm.hitTest(Math.round(_parent.x) + 20, Math.round(_parent.y) - 10, 1)) {
_root.shotshit = _root.shotshit + _parent._parent.allsperm.killsperm(_parent.x + 20, _parent.y - 10);
_root.sheilds = _root.sheilds - _root.shipspermhit;
}
if ((Key.isDown(32) && (getTimer() > _parent.nextshot)) && (_root.ammo)) {
_parent.nextshot = getTimer() + _root.laserinterval;
i = i + 1;
_parent._parent.attachMovie("laser", "laser" + i, 500 + i);
_root.lasersound.start();
_root.shotsfired++;
_root.ammo--;
_parent._parent["laser" + i]._x = _parent.x;
_parent._parent["laser" + i]._y = (_parent.y - 5) + (10 * Math.ceil((i / 2) - Math.floor(i / 2)));
_parent._parent["laser" + i].vy = 2 * _parent.vy;
_parent._parent["laser" + i].vx = _root.laserspeed + _parent.vx;
_parent._parent["laser" + i]._rotation = _parent._rotation;
lastshot = getTimer();
}
_parent.vx = _parent.vx - ((_parent.vx * _root.slowfactor) * _root.timeratio);
_parent.vy = _parent.vy - ((_parent.vy * _root.slowfactor) * _root.timeratio);
}
}
Symbol 92 MovieClip Frame 13
this.stop();
Symbol 93 MovieClip Frame 1
function killsperm(x, y) {
findhit = 0;
while (findhit <= this.code.sperm) {
if (this["sperm" + findhit].hitTest(x, y, 1)) {
explosion = explosion + 1;
_parent.attachMovie("explosion", "explosion" + explosion, _root.depth++);
_parent["explosion" + explosion]._x = this["sperm" + findhit]._x;
_parent["explosion" + explosion]._y = this["sperm" + findhit]._y;
this["sperm" + findhit].removeMovieClip();
_root.explosionsperm.start();
_root.spermkilled++;
if (!random(5)) {
_root.bazing.start();
}
return(1);
}
findhit++;
}
}
Instance of Symbol 23 MovieClip "code" in Symbol 93 MovieClip Frame 1
onClipEvent (load) {
_parent.nextsperm = time + 4000;
sperm = 1;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if ((_parent.nextsperm < _root.time) && ((_root.time + _root.endtimebuffer) < _root.maxtime)) {
_root.sperminterval = 1000 * ((_root.maxtime - _root.time) / _root.maxtime);
_parent.attachMovie("sperm", "sperm" + sperm, _root.depth++);
_parent["sperm" + sperm]._x = ((-_parent._x) + _root.moviewidth) + 20;
_parent["sperm" + sperm]._y = _root.landheight + random(_root.movieheight - (2 * _root.landheight));
sperm++;
_parent.nextsperm = (_root.time + _root.sperminterval) + random(500);
}
}
}
Instance of Symbol 94 MovieClip "land" in Symbol 95 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(300000000);
this._x = 0;
start = (random(_root.landheight) + _root.movieheight) - _root.landheight;
end = (random(_root.landheight) + _root.movieheight) - _root.landheight;
while (Math.abs(end - start) < 60) {
end = (random(_root.landheight) + _root.movieheight) - _root.landheight;
}
j = 0;
while (j <= 7) {
this.attachMovie("ground", "ground" + j, _root.depth++);
this.attachMovie("ground", "ground2" + j, _root.depth++);
this["ground" + j]._x = this["ground" + (j - 1)]._x + 100;
this["ground2" + j]._x = this["ground2" + (j - 1)]._x + 100;
if (start > end) {
this["ground" + j]._y = start;
this["ground" + j]._yscale = start - end;
this["ground2" + j]._y = _root.movieheight - start;
this["ground2" + j]._yscale = -(start - end);
} else {
this["ground" + j]._y = end;
this["ground" + j]._xscale = -100;
this["ground" + j]._yscale = end - start;
this["ground2" + j]._y = _root.movieheight - end;
this["ground2" + j]._xscale = -100;
this["ground2" + j]._yscale = -(end - start);
}
start = end;
end = (random(_root.landheight) + _root.movieheight) - _root.landheight;
while ((Math.abs(end - start) < 20) || (Math.abs(end - start) > 60)) {
end = (random(_root.landheight) + _root.movieheight) - _root.landheight;
}
j++;
}
}
onClipEvent (enterFrame) {
if (!_root.pause) {
this._x = this._x - (_root.speed * _root.timeratio);
if (this._x < ((-((j - 7) * 100)) - 50)) {
this["ground" + (j - 8)].removeMovieClip();
this["ground2" + (j - 8)].removeMovieClip();
this.attachMovie("ground", "ground" + j, _root.depth++);
this.attachMovie("ground", "ground2" + j, _root.depth++);
this["ground" + j]._x = this["ground" + (j - 1)]._x + 100;
this["ground2" + j]._x = this["ground2" + (j - 1)]._x + 100;
if (start > end) {
this["ground" + j]._y = start;
this["ground" + j]._yscale = start - end;
this["ground2" + j]._y = _root.movieheight - start;
this["ground2" + j]._yscale = -(start - end);
} else {
this["ground" + j]._y = end;
this["ground" + j]._xscale = -100;
this["ground" + j]._yscale = end - start;
this["ground2" + j]._y = _root.movieheight - end;
this["ground2" + j]._xscale = -100;
this["ground2" + j]._yscale = -(end - start);
}
start = end;
end = (random(_root.landheight) + _root.movieheight) - _root.landheight;
while ((Math.abs(end - start) < 20) || (Math.abs(end - start) > 60)) {
end = (random(_root.landheight) + _root.movieheight) - _root.landheight;
}
j++;
}
}
}
Instance of Symbol 23 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) {
lasttime = getTimer();
}
onClipEvent (enterFrame) {
if ((_root.sheilds <= 0) && (!_root.endtime)) {
_root.endtime = _root.time + _root.endtimebuffer;
}
if ((_root.endtime && (_root.time > _root.endtime)) || (_root.time > _root.maxtime)) {
_root.nextFrame();
}
if (!_root.endtime) {
_root.score = (_root.spermkilled * 20) + Math.round(_root.time / 1000);
}
_root.timeratio = (getTimer() - lasttime) / 1000;
_parent.fps = 1 / _root.timeratio;
lasttime = getTimer();
if (!_root.pause) {
_root.time = _root.time + (_root.timeratio * 1000);
}
if (_root.time >= _root.maxtime) {
_root.addsperm = false;
_root.control = false;
_root.invincible = true;
}
_root._quality = "LOW";
}
Symbol 102 Button
on (release, keyPress "x") {
gotoAndStop (2);
}
Symbol 104 Button
on (release, keyPress "p") {
_root.pause = (_root.pause - 1) * -1;
}
Instance of Symbol 107 MovieClip in Symbol 110 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.sheilds > 100) {
_root.sheilds = 100;
}
this._x = -100 + _root.sheilds;
}
Instance of Symbol 107 MovieClip in Symbol 114 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.ammo = _root.ammo + (0.25 * _root.timeratio);
if (_root.ammo > _root.maxammo) {
_root.ammo = _root.maxammo;
}
this._x = -100 + (100 * (_root.ammo / _root.maxammo));
}
}
Symbol 130 Button
on (release) {
getURL ("http://www.fett101.com", "_blank");
}
Symbol 133 Button
on (release) {
getURL ("http://www.briansbar.com", "_blank");
}