Frame 1
_root.totalBytes = "yo";
_root.totalBytes = Math.floor(_root.getBytesTotal() / 1024);
_root.loadedBytes = Math.floor(_root.getBytesLoaded() / 1024);
_root.percentDone = Math.ceil((_root.loadedBytes / _root.totalBytes) * 100);
_root.bar.gotoAndStop(_root.percentDone);
_root.percentFormat = _root.percentDone add "%";
_root.bytesFormat = "hey";
_root.bytesFormat = ((_root.loadedBytes add "K / ") add _root.totalBytes) add "K";
if (_root.percentDone == 100) {
_root.gotoAndPlay("imock");
}
_root.screamed = false;
Frame 2
gotoAndPlay (1);
Instance of Symbol 24 MovieClip in Frame 2
onClipEvent (enterFrame) {
_root.totalBytes = Math.floor(getBytesTotal() / 1024);
_root.loadedBytes = Math.floor(getBytesLoaded() / 1024);
_root.percentDone = Math.floor((loadedBytes / totalBytes) * 100);
this.gotoAndStop(_root.percentDone);
this.mask.gotoAndStop(_root.percentDone);
_root.percentFormat = _root.percentDone + "%";
if (_root.percentDone == 100) {
_root.gotoAndPlay("imock");
}
}
Frame 5
CS = new Sound();
CS.attachSound("credits");
InS = new Sound();
InS.attachSound("intro");
IS = new Sound();
IS.attachSound("invaders");
AS = new Sound();
AS.attachSound("asteroids");
scream = new Sound();
scream.attachSound("scream");
scream2 = new Sound();
scream2.attachSound("scream");
explode = new Sound();
explode.attachSound("explode");
lasersound = new Sound();
lasersound.attachSound("lasersound");
hum = new Sound();
hum.attachSound("hum");
humfast = new Sound();
humfast.attachSound("humfast");
bombexplode = new Sound();
bombexplode.attachSound("explode2");
instr = new Sound();
instr.attachSound("other");
pops = new Sound();
pops.attachSound("pops");
chirp = new Sound();
chirp.attachSound("chirp");
CS.stop();
IS.stop();
AS.stop();
if (!_root.screamed) {
scream.start(0, 0);
} else {
Ins.start(0, 1000);
}
Frame 6
scream.onSoundComplete = function () {
_root.screamed = true;
Ins.start(0, 1000);
};
InS.onSoundComplete = function () {
InS.start(0, 1000000);
};
Frame 7
gotoAndPlay(_currentframe - 1);
Frame 9
stop();
InS.stop();
instr.start(0, 100000);
Instance of Symbol 98 MovieClip "bullet" in Frame 9
onClipEvent (load) {
movement = 0;
speed = 20;
movementmax = 300;
}
onClipEvent (enterFrame) {
if (this._name != "bullet") {
if (movement <= movementmax) {
_x = (_x + (Math.cos(_rotation * (Math.PI/180)) * speed));
_y = (_y + (Math.sin(_rotation * (Math.PI/180)) * speed));
movement = movement + speed;
} else {
_alpha = 0;
removeMovieClip(this);
}
if (_x > _root.SCREENRIGHT) {
_x = _root.SCREENLEFT;
}
if (_x < _root.SCREENLEFT) {
_x = _root.SCREENRIGHT;
}
if (_y < _root.SCREENTOP) {
_y = _root.SCREENBOTTOM;
}
if (_y > _root.SCREENBOTTOM) {
_y = _root.SCREENTOP;
}
}
}
Instance of Symbol 120 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (Key.isDown(81) and (qisup == true)) {
qisup = false;
this.play();
}
if (!Key.isDown(81)) {
qisup = true;
}
}
Frame 10
instr.stop();
AS.start(0, 100000);
function AddEnemy(i) {
k = 0;
while (k < i) {
if (random(2) == 1) {
en = "chick";
} else {
en = "bunny";
}
_root.enemycount++;
duplicateMovieClip (eval ("_root." + en), "enemy" + _root.enemycount, _root.enemycount + 1005000);
eval ("_root.enemy" + _root.enemycount)._x = random(200) + 200;
eval ("_root.enemy" + _root.enemycount)._y = random(200) + 200;
k++;
}
}
function AddTurret(i) {
k = 0;
while (k < i) {
_root.turrets++;
duplicateMovieClip (_root.turret, "turret" + _root.turrets, _root.turrets + 1006000);
eval ("_root.turret" + _root.turrets).turretnum = _root.turrets;
k++;
}
}
function LevelReset() {
i = 0;
while (i <= _root.enemycount) {
removeMovieClip(eval ("_root.enemy" + i));
i++;
}
_root.enemycount = 0;
i = 0;
while (i <= _root.ship.bulletcount) {
removeMovieClip(eval ("_root.bullet" + i));
i++;
}
_root.ship.bulletcount = 0;
ResetShipPosition();
}
function ResetShipPosition() {
_root.ship._alpha = 50;
_root.ship._x = 350;
_root.ship._y = 237;
_root.ship._rotation = 0;
_root.ship.rx = 0;
_root.ship.ry = -1;
_root.ready.gotoAndPlay(2);
}
function LevelUp() {
_root.level++;
LevelReset();
_root.NumberOfEnemies = _root.level + 1;
if (_root.NumberOfEnemies > 8) {
_root.NumberOfEnemies = 8;
}
AddEnemy(_root.NumberOfEnemies);
_root.totalpeeps = _root.NumberOfEnemies;
}
function Die() {
if (_root.lives > 0) {
_root.lives--;
} else {
_root.gameover = true;
_root.GOdisplay.play();
}
i = 0;
while (i <= _root.turrets) {
removeMovieClip(eval ("_root.turret" + i));
i++;
}
_root.turrets = 0;
_root.ship._alpha = 99;
_root.ship.gotoAndPlay(4);
}
function SubmitName() {
_root.Ascoretable.filename = "scores/score.sco";
_root.Ascoretable.scoresize = 10;
_root.Ascoretable.action = "INSERT";
_root.Ascoretable.viewtype = "FLASH";
_root.Ascoretable.winname = _root.playername;
_root.Ascoretable.winscore = _root.Encrypt(_root.score);
_root.Ascoretable.address = "http://216.22.26.163/bane04/Ascores.php";
_root.Ascoretable.loadVariables(_root.Ascoretable.address, "GET");
}
function Encrypt(i) {
la = Math.floor(_root.score / 1000);
lb = Math.floor(_root.score / 100);
lc = Math.floor(_root.score / 10);
ld = Math.floor(_root.score);
ld = ld - (lc * 10);
lc = lc - (lb * 10);
lb = lb - (la * 10);
if (_root.score < 20) {
a = 6;
g = random(10);
b = 0;
c = 0;
d = 0;
e = lc;
f = ld;
return(((((((a * 1000000) + (b * 100000)) + (c * 10000)) + (d * 1000)) + (e * 100)) + (f * 10)) + g);
}
do {
a = random(10);
} while (a == 6);
if (a == 9) {
d = -6;
b = la - 3;
e = lb - 7;
f = lc - 2;
c = ld - 7;
if (b < 0) {
b = b + 10;
}
if (e < 0) {
e = e + 10;
}
if (f < 0) {
f = f + 10;
}
if (c < 0) {
c = c + 10;
}
if (d < 0) {
d = d + 10;
}
do {
g = random(10);
} while ((((g == 1) or (g == 2)) or (g == 7)) or (g == 9));
return(((((((a * 1000000) + (b * 100000)) + (c * 10000)) + (d * 1000)) + (e * 100)) + (f * 10)) + g);
}
if (a == 8) {
d = la - 6;
b = -9;
f = lb - 6;
c = lc - 4;
e = ld - 8;
if (b < 0) {
b = b + 10;
}
if (e < 0) {
e = e + 10;
}
if (f < 0) {
f = f + 10;
}
if (c < 0) {
c = c + 10;
}
if (d < 0) {
d = d + 10;
}
do {
g = random(10);
} while ((((g == 3) or (g == 5)) or (g == 6)) or (g == 8));
return(((((((a * 1000000) + (b * 100000)) + (c * 10000)) + (d * 1000)) + (e * 100)) + (f * 10)) + g);
}
if (a == 7) {
e = -9;
b = la - 2;
f = lb - 7;
c = lc - 5;
d = ld - 5;
if (b < 0) {
b = b + 10;
}
if (e < 0) {
e = e + 10;
}
if (f < 0) {
f = f + 10;
}
if (c < 0) {
c = c + 10;
}
if (d < 0) {
d = d + 10;
}
do {
g = random(10);
} while (g < 8);
return(((((((a * 1000000) + (b * 100000)) + (c * 10000)) + (d * 1000)) + (e * 100)) + (f * 10)) + g);
}
if (a == 5) {
c = -8;
b = la - 1;
d = lb - 5;
f = lc - 6;
e = ld - 2;
if (b < 0) {
b = b + 10;
}
if (e < 0) {
e = e + 10;
}
if (f < 0) {
f = f + 10;
}
if (c < 0) {
c = c + 10;
}
if (d < 0) {
d = d + 10;
}
do {
g = random(10);
} while (g > 3);
return(((((((a * 1000000) + (b * 100000)) + (c * 10000)) + (d * 1000)) + (e * 100)) + (f * 10)) + g);
}
if (a == 4) {
d = -7;
f = la - 1;
c = lb - 6;
e = lc - 5;
b = ld - 2;
if (b < 0) {
b = b + 10;
}
if (e < 0) {
e = e + 10;
}
if (f < 0) {
f = f + 10;
}
if (c < 0) {
c = c + 10;
}
if (d < 0) {
d = d + 10;
}
do {
g = random(10);
} while (g > 6);
return(((((((a * 1000000) + (b * 100000)) + (c * 10000)) + (d * 1000)) + (e * 100)) + (f * 10)) + g);
}
if (a == 3) {
f = -2;
c = la - 2;
b = lb - 1;
d = lc - 5;
e = ld - 7;
if (b < 0) {
b = b + 10;
}
if (e < 0) {
e = e + 10;
}
if (f < 0) {
f = f + 10;
}
if (c < 0) {
c = c + 10;
}
if (d < 0) {
d = d + 10;
}
do {
g = random(10);
} while ((((g == 4) or (g == 5)) or (g == 0)) or (g == 8));
return(((((((a * 1000000) + (b * 100000)) + (c * 10000)) + (d * 1000)) + (e * 100)) + (f * 10)) + g);
}
if (a == 2) {
c = -3;
d = la - 4;
f = lb - 7;
e = lc - 9;
b = ld - 3;
if (b < 0) {
b = b + 10;
}
if (e < 0) {
e = e + 10;
}
if (f < 0) {
f = f + 10;
}
if (c < 0) {
c = c + 10;
}
if (d < 0) {
d = d + 10;
}
do {
g = random(10);
} while ((((g == 3) or (g == 4)) or (g == 5)) or (g == 6));
return(((((((a * 1000000) + (b * 100000)) + (c * 10000)) + (d * 1000)) + (e * 100)) + (f * 10)) + g);
}
if (a == 1) {
c = -6;
e = la - 9;
d = lb - 4;
f = lc - 2;
b = ld - 2;
if (b < 0) {
b = b + 10;
}
if (e < 0) {
e = e + 10;
}
if (f < 0) {
f = f + 10;
}
if (c < 0) {
c = c + 10;
}
if (d < 0) {
d = d + 10;
}
do {
g = random(10);
} while ((((g == 1) or (g == 2)) or (g == 0)) or (g == 8));
return(((((((a * 1000000) + (b * 100000)) + (c * 10000)) + (d * 1000)) + (e * 100)) + (f * 10)) + g);
}
if (a == 0) {
b = -9;
c = la - 3;
e = lb - 4;
d = lc - 3;
f = ld - 9;
if (b < 0) {
b = b + 10;
}
if (e < 0) {
e = e + 10;
}
if (f < 0) {
f = f + 10;
}
if (c < 0) {
c = c + 10;
}
if (d < 0) {
d = d + 10;
}
do {
g = random(10);
} while ((((g == 4) or (g == 5)) or (g == 7)) or (g == 8));
return(((((((a * 1000000) + (b * 100000)) + (c * 10000)) + (d * 1000)) + (e * 100)) + (f * 10)) + g);
}
}
function RandomEgg() {
i = random(500) + 1;
if (i == 1) {
_root.enemycount++;
k = random(4) + 1;
duplicateMovieClip (_root.egg, "enemy" + _root.enemycount, _root.enemycount + 1009000);
eval ("_root.enemy" + _root.enemycount).angle = random(360);
eval ("_root.enemy" + _root.enemycount).speed = random(5) + 3;
if (k == 1) {
eval ("_root.enemy" + _root.enemycount)._x = 0;
eval ("_root.enemy" + _root.enemycount)._y = random(_root.SCREENBOTTOM / 2) + (_root.SCREENBOTTOM / 2);
} else if (k == 2) {
eval ("_root.enemy" + _root.enemycount)._x = _root.SCREENRIGHT;
eval ("_root.enemy" + _root.enemycount)._y = random(_root.SCREENBOTTOM / 2) + (_root.SCREENBOTTOM / 2);
} else if (k == 3) {
eval ("_root.enemy" + _root.enemycount)._y = 0;
eval ("_root.enemy" + _root.enemycount)._x = random(_root.SCREENRIGHT / 2) + (_root.SCREENRIGHT / 2);
} else if (k == 4) {
eval ("_root.enemy" + _root.enemycount)._y = _root.SCREENBOTTOM;
eval ("_root.enemy" + _root.enemycount)._x = random(_root.SCREENRIGHT / 2) + (_root.SCREENRIGHT / 2);
}
}
}
function Parallax(x, y) {
_root.stars._x = _root.stars._x - (x / 5);
if (_root.stars._x > 999.3) {
_root.stars._x = 329.3;
}
if (_root.stars._x < -319.8) {
_root.stars._x = 374.2;
}
_root.stars._y = _root.stars._y - (y / 5);
if (_root.stars._y > 690) {
_root.stars._y = 224;
}
if (_root.stars._y < -212) {
_root.stars._y = 254;
}
_root.meteors._x = _root.meteors._x - (x / 3);
if (_root.meteors._x > 1077.2) {
_root.meteors._x = 371.2;
}
if (_root.meteors._x < -333.8) {
_root.meteors._x = 371.2;
}
_root.meteors._y = _root.meteors._y - (y / 3);
if (_root.meteors._y > 689.5) {
_root.meteors._y = 210.4;
}
if (_root.meteors._y < -268.6) {
_root.meteors._y = 210.4;
}
_root.planet._x = _root.planet._x - (x / 4);
_root.planet._y = _root.planet._y - (y / 4);
}
_root.readym.duplicateMovieClip("ready", 56000003);
_root.ready._x = 339.2;
_root.ready._y = 253.6;
_root.GOdisplaym.duplicateMovieClip("GOdisplay", 56000004);
_root.GOdisplay._x = 348.3;
_root.GOdisplay._y = 227.2;
_root.HSDm.duplicateMovieClip("HSD", 56000010);
_root.HSD._x = 224.2;
_root.HSD._y = 15.4;
_root.gameover = false;
_root.level = 0;
_root.lives = 2;
_root.score = 0;
LevelUp();
Instance of Symbol 127 MovieClip "bunny" in Frame 10
onClipEvent (load) {
if (this._name != "bunny") {
speed = random(2) + 2;
angle = random(360);
this.alive = true;
speedup = 1;
}
}
onClipEvent (enterFrame) {
if (this._name != "bunny") {
_x = (_x + (Math.cos(angle * (Math.PI/180)) * speed));
_y = (_y + (Math.sin(angle * (Math.PI/180)) * speed));
if (_x > _root.SCREENRIGHT) {
_x = _root.SCREENLEFT;
}
if (_x < _root.SCREENLEFT) {
_x = _root.SCREENRIGHT;
}
if (_y < _root.SCREENTOP) {
_y = _root.SCREENBOTTOM;
}
if (_y > _root.SCREENBOTTOM) {
_y = _root.SCREENTOP;
}
if ((this.hitTest(_root.ship.hitbox) and (_root.ship._alpha == 100)) and (this.alive == true)) {
_root.Die();
}
if (this.alive == true) {
i = 0;
while (i <= _root.ship.bulletcount) {
if ((this.hitTest(eval ("_root.bullet" + i)) and (eval ("_root.bullet" + i)._alpha > 0)) and (this.alive == true)) {
_root.RandomEgg();
this.alive = false;
_root.score++;
this.play();
eval ("_root.bullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.bullet" + i));
if (this._xscale < 15) {
_root.totalpeeps--;
_root.pops.start(0, 0);
} else {
_root.chirp.start(0, 0);
_root.totalpeeps++;
i = 0;
while (i < 2) {
_root.enemycount++;
duplicateMovieClip (_root.bunny, "enemy" + _root.enemycount, _root.enemycount + 1002000);
eval ("_root.enemy" + _root.enemycount).angle = random(360);
eval ("_root.enemy" + _root.enemycount).speed = random(4) + 3;
eval ("_root.enemy" + _root.enemycount)._xscale = _xscale / 2;
eval ("_root.enemy" + _root.enemycount)._yscale = _yscale / 2;
eval ("_root.enemy" + _root.enemycount)._x = _x;
eval ("_root.enemy" + _root.enemycount)._y = _y;
i++;
}
}
}
i++;
}
}
}
}
Instance of Symbol 132 MovieClip "chick" in Frame 10
onClipEvent (load) {
if (this._name != "chick") {
speed = random(2) + 2;
angle = random(360);
this.alive = true;
speedup = 1;
}
}
onClipEvent (enterFrame) {
if (this._name != "chick") {
_x = (_x + (Math.cos(angle * (Math.PI/180)) * speed));
_y = (_y + (Math.sin(angle * (Math.PI/180)) * speed));
if (_x > _root.SCREENRIGHT) {
_x = _root.SCREENLEFT;
}
if (_x < _root.SCREENLEFT) {
_x = _root.SCREENRIGHT;
}
if (_y < _root.SCREENTOP) {
_y = _root.SCREENBOTTOM;
}
if (_y > _root.SCREENBOTTOM) {
_y = _root.SCREENTOP;
}
if ((this.hitTest(_root.ship.hitbox) and (_root.ship._alpha == 100)) and (this.alive == true)) {
_root.Die();
}
if (this.alive == true) {
i = 0;
while (i <= _root.ship.bulletcount) {
if ((this.hitTest(eval ("_root.bullet" + i)) and (eval ("_root.bullet" + i)._alpha > 0)) and (this.alive == true)) {
_root.RandomEgg();
this.alive = false;
_root.score++;
this.play();
eval ("_root.bullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.bullet" + i));
if (this._xscale < 15) {
_root.totalpeeps--;
_root.pops.start(0, 0);
} else {
_root.chirp.start(0, 0);
_root.totalpeeps++;
i = 0;
while (i < 2) {
_root.enemycount++;
duplicateMovieClip (_root.chick, "enemy" + _root.enemycount, _root.enemycount + 1002000);
eval ("_root.enemy" + _root.enemycount).angle = random(360);
eval ("_root.enemy" + _root.enemycount).speed = random(4) + 3;
eval ("_root.enemy" + _root.enemycount)._xscale = _xscale / 2;
eval ("_root.enemy" + _root.enemycount)._yscale = _yscale / 2;
eval ("_root.enemy" + _root.enemycount)._x = _x;
eval ("_root.enemy" + _root.enemycount)._y = _y;
i++;
}
}
}
i++;
}
}
}
}
Instance of Symbol 148 MovieClip "egg" in Frame 10
onClipEvent (load) {
timer = 200;
alive = true;
}
onClipEvent (enterFrame) {
if (this._name != "egg") {
_rotation = (_rotation + 5);
_x = (_x + (Math.cos(angle * (Math.PI/180)) * speed));
_y = (_y + (Math.sin(angle * (Math.PI/180)) * speed));
if (timer > 0) {
timer--;
}
if (_x > _root.SCREENRIGHT) {
if (timer > 0) {
_x = _root.SCREENLEFT;
} else {
removeMovieClip(this);
}
}
if (_x < _root.SCREENLEFT) {
if (timer > 0) {
_x = _root.SCREENRIGHT;
} else {
removeMovieClip(this);
}
}
if (_y < _root.SCREENTOP) {
if (timer > 0) {
_y = _root.SCREENBOTTOM;
} else {
removeMovieClip(this);
}
}
if (_y > _root.SCREENBOTTOM) {
if (timer > 0) {
_y = _root.SCREENTOP;
} else {
removeMovieClip(this);
}
}
if ((this.hitTest(_root.ship.hitbox) and (_root.ship._alpha == 100)) and (this.alive == true)) {
_root.Die();
}
i = 0;
while (i <= _root.ship.bulletcount) {
if (this.hitTest(eval ("_root.bullet" + i)) and (eval ("_root.bullet" + i)._alpha > 0)) {
alive = false;
this.play();
eval ("_root.bullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.bullet" + i));
}
i++;
}
}
}
Instance of Symbol 176 MovieClip "ship" in Frame 10
onClipEvent (load) {
masterspeed = 4;
angle = -90;
rx = 0;
ry = -1;
_root.SCREENRIGHT = 700;
_root.SCREENLEFT = 0;
_root.SCREENTOP = 0;
_root.SCREENBOTTOM = 475;
_root.MAXBULLETS = 50;
}
onClipEvent (enterFrame) {
if (_alpha == 100) {
if (Key.isDown(32) and allowfire) {
_root.lasersound.start(0, 0);
allowfire = false;
if (bulletcount < 10) {
bulletcount++;
} else {
bulletcount = 0;
}
duplicateMovieClip (_root.bullet, "bullet" + bulletcount, bulletcount + 10030000);
eval ("_root.bullet" + bulletcount)._x = _x + (Math.cos((_rotation - 90) * (Math.PI/180)) * 50);
eval ("_root.bullet" + bulletcount)._y = _y + (Math.sin((_rotation - 90) * (Math.PI/180)) * 50);
eval ("_root.bullet" + bulletcount)._rotation = _rotation - 90;
eval ("_root.bullet" + bulletcount).gotoAndStop(_root.bullettype);
if (_root.turrets > 0) {
i = 0;
while (i < _root.turrets) {
if (bulletcount < _root.MAXBULLETS) {
bulletcount++;
} else {
bulletcount = 0;
}
duplicateMovieClip (_root.bullet, "bullet" + bulletcount, bulletcount + 10030000);
eval ("_root.bullet" + bulletcount)._x = eval ("_root.turret" + (i + 1))._x;
eval ("_root.bullet" + bulletcount)._y = eval ("_root.turret" + (i + 1))._y;
eval ("_root.bullet" + bulletcount)._rotation = _rotation - 90;
eval ("_root.bullet" + bulletcount).gotoAndStop(_root.bullettype);
eval ("_root.turret" + (i + 1)).gotoAndPlay(2);
i++;
}
}
} else if (!Key.isDown(32)) {
allowfire = true;
}
if (Key.isDown(40)) {
speed = speed * 0.95;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 10);
_root.shipsound.play();
this.gotoAndStop(2);
this._xscale = 20;
}
if (Key.isDown(39)) {
_rotation = (_rotation + 10);
_root.shipsound.play();
this.gotoAndStop(2);
this._xscale = -20;
}
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
if (!Key.isDown(38)) {
_root.shipsound.gotoAndStop(1);
}
this.gotoAndStop(1);
}
if (Key.isDown(38)) {
_root.shipsound.play();
oldangle = Math.atan2(ry, rx);
oldx = speed * Math.cos(oldangle);
oldy = speed * Math.sin(oldangle);
angle = _rotation - 90;
newx = Math.cos(angle * (Math.PI/180));
newy = Math.sin(angle * (Math.PI/180));
rx = oldx + newx;
ry = oldy + newy;
oldangle = oldangle / (Math.PI/180);
if (Math.abs(Math.abs(oldangle) - Math.abs(angle)) < 5) {
if (speed < (masterspeed * 0.75)) {
_root.burstcount++;
duplicateMovieClip (_root.burst, "burst" + _root.burstcount, _root.burstcount + 100000000);
eval ("_root.burst" + _root.burstcount).gotoAndPlay(2);
eval ("_root.burst" + _root.burstcount)._x = _x;
eval ("_root.burst" + _root.burstcount)._y = _y;
eval ("_root.burst" + _root.burstcount)._rotation = _rotation;
}
speed = masterspeed;
} else {
speed = (Math.sqrt((rx * rx) + (ry * ry)) + 2) / 2;
}
}
speed = speed * 0.95;
_x = (_x + (rx * speed));
_y = (_y + (ry * speed));
rxs = rx * speed;
rys = ry * speed;
_root.Parallax(rxs, rys);
if (_x > _root.SCREENRIGHT) {
_x = _root.SCREENLEFT;
rx = Math.abs(rx);
}
if (_x < _root.SCREENLEFT) {
_x = _root.SCREENRIGHT;
rx = -Math.abs(rx);
}
if (_y < _root.SCREENTOP) {
_y = _root.SCREENBOTTOM;
ry = -Math.abs(ry);
}
if (_y > _root.SCREENBOTTOM) {
_y = _root.SCREENTOP;
ry = Math.abs(ry);
}
}
}
Instance of Symbol 143 MovieClip "turret" in Frame 10
onClipEvent (load) {
_root.turretdist = 75;
_root.turretrot = 0;
}
onClipEvent (enterFrame) {
if (this._name != "turret") {
this._x = _root.ship._x + (Math.cos(_root.turretrot + ((turretnum * (360 / _root.turrets)) * (Math.PI/180))) * _root.turretdist);
this._y = _root.ship._y + (Math.sin(_root.turretrot + ((turretnum * (360 / _root.turrets)) * (Math.PI/180))) * _root.turretdist);
} else if (_root.turretrot < 360) {
_root.turretrot = _root.turretrot + 0.1;
} else {
_root.turretrot = 0;
}
}
Instance of Symbol 185 MovieClip "readym" in Frame 10
onClipEvent (enterFrame) {
_root.levelFormat = "LEVEL " + _root.level;
_root.levelFormat2 = "PRESS SPACE TO START " + _root.levelFormat;
if (this._currentframe > 1) {
this.play();
if (Key.isDown(32) and (delay == true)) {
delay = false;
_root.ship.allowfire = false;
this.gotoAndStop(1);
_root.ship._alpha = 100;
}
}
}
Frame 11
if (_root.totalpeeps == 0) {
LevelUp();
}
AS.onSoundComplete = function () {
AS.start(0, 1000000);
};
Frame 12
gotoAndPlay(_currentframe - 1);
Frame 14
InS.stop();
instr.start(0, 100000);
stop();
Frame 15
instr.stop();
IS.start(0, 100000);
function I_Initialize() {
if (_root.lives == 2) {
_root.LL.gotoAndPlay("2lives");
} else if (_root.lives == 1) {
_root.LL.gotoAndPlay("1lives");
} else {
_root.LL.gotoAndPlay("0lives");
}
_root.I_ShiftPlace();
_root.I_CleanLasers();
_root.I_CleanBullets();
_root.I_ResetEgg();
_root.ship.alive = true;
_root.allowlazer = true;
_root.lazermax = _root.masterlazermax;
_root.lazers = 0;
_root.masterinterval = 175;
_root.interval = _root.masterinterval;
}
function I_ResetEgg() {
_root.egg._alpha = 100;
_root.egg._x = -20;
_root.egg.active = true;
_root.egg.go = false;
}
function I_SubmitName() {
_root.Iscoretable.filename = "scores/Iscore.sco";
_root.Iscoretable.scoresize = 10;
_root.Iscoretable.action = "INSERT";
_root.Iscoretable.viewtype = "FLASH";
_root.Iscoretable.winname = _root.playername;
_root.Iscoretable.winscore = _root.I_Encrypt(_root.score);
_root.Iscoretable.address = "http://216.22.26.163/bane04/Ascores.php";
_root.Iscoretable.loadVariables(_root.Iscoretable.address, "GET");
}
function I_Encrypt(i) {
la = Math.floor(i / 1000);
lb = Math.floor(i / 100);
lc = Math.floor(i / 10);
ld = Math.floor(i);
ld = ld - (lc * 10);
lc = lc - (lb * 10);
lb = lb - (la * 10);
if (i < 20) {
a = 6;
g = random(10);
b = 0;
c = 0;
d = 0;
e = lc;
f = ld;
return(((((((a * 1000000) + (b * 100000)) + (c * 10000)) + (d * 1000)) + (e * 100)) + (f * 10)) + g);
}
do {
a = random(10);
} while (a == 6);
if (a == 9) {
d = -6;
b = la - 3;
e = lb - 7;
f = lc - 2;
c = ld - 7;
if (b < 0) {
b = b + 10;
}
if (e < 0) {
e = e + 10;
}
if (f < 0) {
f = f + 10;
}
if (c < 0) {
c = c + 10;
}
if (d < 0) {
d = d + 10;
}
do {
g = random(10);
} while ((((g == 1) or (g == 2)) or (g == 7)) or (g == 9));
return(((((((a * 1000000) + (b * 100000)) + (c * 10000)) + (d * 1000)) + (e * 100)) + (f * 10)) + g);
}
if (a == 8) {
d = la - 6;
b = -9;
f = lb - 6;
c = lc - 4;
e = ld - 8;
if (b < 0) {
b = b + 10;
}
if (e < 0) {
e = e + 10;
}
if (f < 0) {
f = f + 10;
}
if (c < 0) {
c = c + 10;
}
if (d < 0) {
d = d + 10;
}
do {
g = random(10);
} while ((((g == 3) or (g == 5)) or (g == 6)) or (g == 8));
return(((((((a * 1000000) + (b * 100000)) + (c * 10000)) + (d * 1000)) + (e * 100)) + (f * 10)) + g);
}
if (a == 7) {
e = -9;
b = la - 2;
f = lb - 7;
c = lc - 5;
d = ld - 5;
if (b < 0) {
b = b + 10;
}
if (e < 0) {
e = e + 10;
}
if (f < 0) {
f = f + 10;
}
if (c < 0) {
c = c + 10;
}
if (d < 0) {
d = d + 10;
}
do {
g = random(10);
} while (g < 8);
return(((((((a * 1000000) + (b * 100000)) + (c * 10000)) + (d * 1000)) + (e * 100)) + (f * 10)) + g);
}
if (a == 5) {
c = -8;
b = la - 1;
d = lb - 5;
f = lc - 6;
e = ld - 2;
if (b < 0) {
b = b + 10;
}
if (e < 0) {
e = e + 10;
}
if (f < 0) {
f = f + 10;
}
if (c < 0) {
c = c + 10;
}
if (d < 0) {
d = d + 10;
}
do {
g = random(10);
} while (g > 3);
return(((((((a * 1000000) + (b * 100000)) + (c * 10000)) + (d * 1000)) + (e * 100)) + (f * 10)) + g);
}
if (a == 4) {
d = -7;
f = la - 1;
c = lb - 6;
e = lc - 5;
b = ld - 2;
if (b < 0) {
b = b + 10;
}
if (e < 0) {
e = e + 10;
}
if (f < 0) {
f = f + 10;
}
if (c < 0) {
c = c + 10;
}
if (d < 0) {
d = d + 10;
}
do {
g = random(10);
} while (g > 6);
return(((((((a * 1000000) + (b * 100000)) + (c * 10000)) + (d * 1000)) + (e * 100)) + (f * 10)) + g);
}
if (a == 3) {
f = -2;
c = la - 2;
b = lb - 1;
d = lc - 5;
e = ld - 7;
if (b < 0) {
b = b + 10;
}
if (e < 0) {
e = e + 10;
}
if (f < 0) {
f = f + 10;
}
if (c < 0) {
c = c + 10;
}
if (d < 0) {
d = d + 10;
}
do {
g = random(10);
} while ((((g == 4) or (g == 5)) or (g == 0)) or (g == 8));
return(((((((a * 1000000) + (b * 100000)) + (c * 10000)) + (d * 1000)) + (e * 100)) + (f * 10)) + g);
}
if (a == 2) {
c = -3;
d = la - 4;
f = lb - 7;
e = lc - 9;
b = ld - 3;
if (b < 0) {
b = b + 10;
}
if (e < 0) {
e = e + 10;
}
if (f < 0) {
f = f + 10;
}
if (c < 0) {
c = c + 10;
}
if (d < 0) {
d = d + 10;
}
do {
g = random(10);
} while ((((g == 3) or (g == 4)) or (g == 5)) or (g == 6));
return(((((((a * 1000000) + (b * 100000)) + (c * 10000)) + (d * 1000)) + (e * 100)) + (f * 10)) + g);
}
if (a == 1) {
c = -6;
e = la - 9;
d = lb - 4;
f = lc - 2;
b = ld - 2;
if (b < 0) {
b = b + 10;
}
if (e < 0) {
e = e + 10;
}
if (f < 0) {
f = f + 10;
}
if (c < 0) {
c = c + 10;
}
if (d < 0) {
d = d + 10;
}
do {
g = random(10);
} while ((((g == 1) or (g == 2)) or (g == 0)) or (g == 8));
return(((((((a * 1000000) + (b * 100000)) + (c * 10000)) + (d * 1000)) + (e * 100)) + (f * 10)) + g);
}
if (a == 0) {
b = -9;
c = la - 3;
e = lb - 4;
d = lc - 3;
f = ld - 9;
if (b < 0) {
b = b + 10;
}
if (e < 0) {
e = e + 10;
}
if (f < 0) {
f = f + 10;
}
if (c < 0) {
c = c + 10;
}
if (d < 0) {
d = d + 10;
}
do {
g = random(10);
} while ((((g == 4) or (g == 5)) or (g == 7)) or (g == 8));
return(((((((a * 1000000) + (b * 100000)) + (c * 10000)) + (d * 1000)) + (e * 100)) + (f * 10)) + g);
}
}
function I_AddPeeps(row, col) {
_root.I_CleanPeeps();
_root.peepsonscreen = 0;
_root.firstpeep = 0;
_root.furthestleft = 1;
_root.furthestright = 1;
_root.furthestup = 1;
_root.furthestdown = 1;
_root.spawn = "peep";
i = 1;
while (i <= row) {
c = 1;
while (c <= col) {
_root.peepcount++;
if (_root.PA[_root.peepcount] == 1) {
if (_root.firstpeep == 0) {
_root.firstpeep = _root.peepcount;
}
_root.peepsonscreen++;
duplicateMovieClip (eval ("_root." + _root.spawn), "peep" + _root.peepcount, _root.peepcount + 10000);
eval ("_root.peep" + _root.peepcount)._x = ((c - 1) * 66) + 100;
eval ("_root.peep" + _root.peepcount)._y = ((i - 1) * 68) + 30;
eval ("_root.peep" + _root.peepcount).active = true;
eval ("_root.peep" + _root.peepcount).num = _root.peepcount;
eval ("_root.peep" + _root.peepcount).r = i;
eval ("_root.peep" + _root.peepcount).c = c;
if (eval ("_root.peep" + _root.peepcount)._x < eval ("_root.peep" + _root.furthestleft)._x) {
_root.furthestleft = _root.peepcount;
}
if (eval ("_root.peep" + _root.peepcount)._x > eval ("_root.peep" + _root.furthestright)._x) {
_root.furthestright = _root.peepcount;
}
if (eval ("_root.peep" + _root.peepcount)._y < eval ("_root.peep" + _root.furthestup)._y) {
_root.furthestup = _root.peepcount;
}
if (eval ("_root.peep" + _root.peepcount)._y > eval ("_root.peep" + _root.furthestdown)._y) {
_root.furthestdown = _root.peepcount;
}
}
c++;
}
if (_root.spawn == "peep") {
_root.spawn = "bunny";
} else {
_root.spawn = "peep";
}
i++;
}
_root.place1._y = eval ("_root.peep" + _root.furthestup)._y;
_root.place1._x = eval ("_root.peep" + _root.furthestleft)._x;
_root.place2._x = eval ("_root.peep" + _root.furthestright)._x;
_root.place2._y = eval ("_root.peep" + _root.furthestdown)._y;
_root.peeps = _root.peepsonscreen;
}
function I_CleanPeeps() {
i = 0;
while (i <= _root.peepcount) {
removeMovieClip("_root.peep" + i);
i++;
}
_root.peepcount = 0;
}
function I_CleanLasers() {
i = 0;
while (i < _root.lazercount) {
removeMovieClip("_root.lazer" + i);
i++;
}
_root.lazercount = 0;
}
function I_LevelUp() {
_root.level++;
_root.masterspeed = _root.masterspeed * 1.1;
_root.speed = _root.masterspeed;
delete _root.PA;
_root.PA = new array((_root.peeprow * _root.peepcolumn) + 1);
i = 1;
while (i <= ((_root.peeprow * _root.peepcolumn) + 1)) {
_root.PA[i] = 1;
i++;
}
if (_root.peepfiredelay > 90) {
_root.peepfiredelay = _root.peepfiredelay - 10;
}
if (_root.peepfire < 6) {
_root.peepfire++;
}
I_Initialize();
I_AddPeeps(_root.peeprow, _root.peepcolumn);
}
function I_RPA() {
c = 0;
delete _root.peeparray;
_root.peeparray = new Array();
i = 0;
while (i <= _root.peepcount) {
if (eval ("_root.peep" + i).active == true) {
_root.peeparray[c++] = i;
}
i++;
}
i = 0;
while (i < c) {
nextel = random(c) + 1;
temp = _root.peeparray[i];
_root.peeparray[i] = _root.peeparray[nextel];
_root.peeparray[nextel] = temp;
i++;
}
return(c);
}
function CreateEnemyBullet(x, y) {
_root.enemybulletcount++;
duplicateMovieClip (_root.Ebullet, "enemybullet" + (_root.enemybulletcount - 1), _root.enemybulletcount + 20008000);
eval ("_root.enemybullet" + (_root.enemybulletcount - 1))._x = x;
eval ("_root.enemybullet" + (_root.enemybulletcount - 1))._y = y;
}
function I_Die() {
_root.ship.gotoAndPlay(12);
_root.ship._alpha = 99;
if (_root.lives > 0) {
_root.lives--;
} else {
_root.gameover = true;
_root.GO.play();
}
}
function I_LevelReset() {
_root.speed = _root.masterspeed;
I_Initialize();
I_AddPeeps(_root.peeprow, _root.peepcolumn);
}
function I_RandomEgg() {
i = random(40) + 1;
if (i == 1) {
_root.egg.go = true;
}
}
function I_CleanBullets() {
i = 0;
while (i <= 15) {
removeMovieClip(eval ("_root.enemybullet" + i));
eval ("_root.enemybullet" + i)._alpha = 0;
i++;
}
_root.enemybulletcount = 0;
}
function I_ShiftPlace() {
fc = 1;
fr = 1;
cc = _root.peepcolumn;
cr = _root.peeprow;
i = _root.peepcount;
while (i > 0) {
if (_root.PA[i] == 1) {
if (eval ("_root.peep" + i).c > fc) {
fc = eval ("_root.peep" + i).c;
_root.furthestright = i;
}
}
i--;
}
i = _root.peepcount;
while (i > 0) {
if (_root.PA[i] == 1) {
if (eval ("_root.peep" + i).r >= fr) {
fr = eval ("_root.peep" + i).r;
_root.furthestdown = i;
}
}
i--;
}
i = 1;
while (i <= _root.peepcount) {
if (_root.PA[i] == 1) {
if (eval ("_root.peep" + i).c < cc) {
cc = eval ("_root.peep" + i).c;
_root.furthestleft = i;
}
}
i++;
}
i = 1;
while (i <= _root.peepcount) {
if (_root.PA[i] == 1) {
if (eval ("_root.peep" + i).r < cr) {
cr = eval ("_root.peep" + i).r;
_root.furthestup = i;
}
}
i++;
}
_root.place1._y = eval ("_root.peep" + _root.furthestup)._y;
_root.place1._x = eval ("_root.peep" + _root.furthestleft)._x;
_root.place2._x = eval ("_root.peep" + _root.furthestright)._x;
_root.place2._y = eval ("_root.peep" + _root.furthestdown)._y;
}
_root.masterlazermax = 3;
_root.peepfire = 2;
_root.peepfiredelay = 300;
_root.peeprow = 3;
_root.peepcolumn = 6;
_root.masterspeed = 1;
_root.level = 0;
_root.lives = 2;
_root.score = 0;
_root.gameover = false;
_root.ship.gotoAndPlay(1);
_root.ship._alpha = 100;
_root.LLm.duplicateMovieClip("LL", 56000000);
_root.LL._x = 362.6;
_root.LL._y = 230.6;
_root.SCm.duplicateMovieClip("SC", 560000001);
_root.SC._x = 364;
_root.SC._y = 223.2;
_root.GOm.duplicateMovieClip("GO", 56000002);
_root.GO._x = 333.9;
_root.GO._y = 213;
_root.HSDm.duplicateMovieClip("HSD", 56000010);
_root.HSD._x = 310.1;
_root.HSD._y = 15.1;
I_LevelUp();
Instance of Symbol 265 MovieClip "ship" in Frame 15
onClipEvent (enterFrame) {
if (_alpha == 100) {
if (Key.isDown(37) && (_x > 85)) {
_x = (_x - 5);
} else if (Key.isDown(39) && (_x < 605)) {
_x = (_x + 5);
}
if (_root.lazers < 0) {
_root.lazers = 0;
}
if (Key.isDown(32)) {
if (_root.allowlazer) {
_root.lasersound.start(0, 0);
_root.lazers++;
_root.allowlazer = false;
_root.lazercount++;
duplicateMovieClip (_root.lazer, "lazer" + _root.lazercount, _root.lazercount);
eval ("_root.lazer" + _root.lazercount)._x = _root.ship._x;
eval ("_root.lazer" + _root.lazercount)._y = _root.ship._y - 10;
}
} else if (_root.lazers < _root.lazermax) {
_root.allowlazer = true;
}
}
}
Instance of Symbol 280 MovieClip "peep" in Frame 15
onClipEvent (load) {
_alpha = 100;
active = true;
}
onClipEvent (enterFrame) {
if (this._name != "peep") {
if (!active) {
_root.PA[this.num] = 0;
_y = (_y + 2);
_alpha = (_alpha - 4);
}
if (_alpha < 1) {
_root.score++;
_root.I_ShiftPlace();
removeMovieClip(this);
}
}
}
Instance of Symbol 281 MovieClip "control" in Frame 15
onClipEvent (load) {
l = 0;
}
onClipEvent (enterFrame) {
if ((_root.ship._alpha == 100) and (_root.peeps > 0)) {
if (l > (_root.peepfiredelay / _root.peepfire)) {
_root.I_RandomEgg();
if (_root.enemybulletcount > 15) {
_root.enemybulletcount = 0;
}
c = _root.I_RPA();
l = random(c);
if (_root.peeparray[l] > 0) {
w = eval ("_root.peep" + _root.peeparray[l]);
x = w._x;
y = w._y;
_root.CreateEnemyBullet(x, y);
}
l = 0;
} else {
l++;
}
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 296 MovieClip "bunny" in Frame 15
onClipEvent (load) {
_alpha = 100;
active = true;
}
onClipEvent (enterFrame) {
if (this._name != "bunny") {
if (!active) {
_root.PA[this.num] = 0;
_y = (_y + 2);
_alpha = (_alpha - 4);
}
if (_alpha < 1) {
_root.score++;
_root.I_ShiftPlace();
removeMovieClip(this);
}
}
}
Instance of Symbol 302 MovieClip "Ebullet" in Frame 15
onClipEvent (load) {
died = false;
}
onClipEvent (enterFrame) {
if (this._name != "Ebullet") {
if ((_alpha == 100) and (_y < 500)) {
_y = (_y + 7);
if ((this.hitTest(_root.ship.hitbox) and (_root.ship._alpha == 100)) and (_alpha == 100)) {
_alpha = 0;
_root.I_Die();
}
} else {
if (!died) {
_root.bombexplode.start(0, 0);
died = true;
}
removeMovieClip(this);
}
}
}
Instance of Symbol 313 MovieClip "egg" in Frame 15
onClipEvent (load) {
active = true;
go = false;
}
onClipEvent (enterFrame) {
if (((this._currentframe == 1) and active) and go) {
_alpha = 100;
if (_x < 750) {
_x = (_x + 3);
} else {
_root.I_ResetEgg();
}
}
}
Instance of Symbol 316 MovieClip "lazer" in Frame 15
onClipEvent (enterFrame) {
if (_name != "lazer") {
_y = (_y - 12);
if (_y < -5) {
removeMovieClip(this);
}
i = 0;
while (i <= _root.peepcount) {
if (this.hitTest(eval ("_root.peep" + i)) and eval ("_root.peep" + i).active) {
eval ("_root.peep" + i).play();
removeMovieClip(this);
}
i++;
}
if (hitTest(_root.egg) and _root.egg.active) {
_root.egg.play();
_root.egg.active = false;
}
}
}
onClipEvent (unload) {
if (_root.lazers > 0) {
_root.lazers--;
}
this._alpha = 0;
}
Frame 17
if (_root.peeps == 0) {
if (_root.SC._currentframe < 2) {
_root.SC.play();
_root.I_CleanLasers();
}
} else if ((_root.place2._y > 410) and (_root.ship._currentframe < 12)) {
_root.I_DIE();
}
IS.onSoundComplete = function () {
IS.start(0, 1000000);
};
Frame 18
gotoAndPlay(_currentframe - 1);
Frame 23
IS.stop();
CS.start(0, 1000);
stop();
Frame 24
AS.stop();
CS.start(0, 1000);
stop();
Frame 115
_root.gotoAndPlay("MainMenu");
Symbol 34 Button
on (release) {
_root.gotoAndPlay("Invaders");
}
Symbol 35 Button
on (release) {
_root.gotoAndPlay("Asteroids");
}
Symbol 40 Button
on (release) {
_root.nohiscore.gotoAndStop(2);
}
on (rollOver) {
scream2.start(0, 0);
}
Symbol 85 Button
on (release) {
gotoAndStop (1);
}
Symbol 86 Button
on (release) {
getURL ("http://www.i-mockery.com/minimocks/peep-game/", "_blank");
}
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 2
stop();
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 2
stop();
Symbol 98 MovieClip Frame 3
stop();
Symbol 112 Button
on (release, keyPress "<Space>") {
_root.play();
}
Symbol 118 Button
on (release) {
play();
}
Symbol 120 MovieClip Frame 1
_root._highquality = 2;
stop();
Symbol 120 MovieClip Frame 2
_root._highquality = 0;
stop();
Symbol 127 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 11
removeMovieClip(this);
this._alpha = 0;
stop();
Symbol 132 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 9
removeMovieClip(this);
this._alpha = 0;
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 16
if (_root.turrets < 6) {
_root.AddTurret(1);
}
stop();
removeMovieClip(this);
Symbol 176 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 2
stop();
Symbol 176 MovieClip Frame 3
stop();
Symbol 176 MovieClip Frame 58
if (!_root.gameover) {
_root.ResetShipPosition();
gotoAndStop (1);
} else {
stop();
}
Symbol 179 MovieClip Frame 9
stop();
removeMovieClip(this);
Symbol 185 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 2
play();
Symbol 185 MovieClip Frame 31
gotoAndPlay (2);
delay = true;
Symbol 198 Button
on (release, keyPress "<Enter>") {
if (_root.playername != "") {
_root.SubmitName();
play();
}
}
Symbol 205 Button
on (release) {
_root.LevelReset();
_root.readym.duplicateMovieClip("rt", 56000003);
_root.gotoAndPlay("Asteroids");
gotoAndStop (1);
}
Symbol 209 Button
on (release) {
_root.LevelReset();
_root.readym.duplicateMovieClip("rt", 56000003);
_root.HSD._y = -500;
_root.removeMovieClip(_root.GOdisplay);
_root.gotoAndPlay("ACredits");
gotoAndStop (1);
}
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 74
gotoAndPlay (100);
Symbol 210 MovieClip Frame 75
stop();
Symbol 210 MovieClip Frame 100
stop();
Instance of Symbol 120 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(81) and (qisup == true)) {
qisup = false;
this.play();
}
if (!Key.isDown(81)) {
qisup = true;
}
}
Symbol 265 MovieClip Frame 1
if (_root.gameover or (_alpha < 100)) {
gotoAndPlay (12);
}
Symbol 265 MovieClip Frame 3
if (_root.gameover or (_alpha < 100)) {
gotoAndPlay (12);
}
Symbol 265 MovieClip Frame 5
if (_root.gameover or (_alpha < 100)) {
gotoAndPlay (12);
}
Symbol 265 MovieClip Frame 7
if (_root.gameover or (_alpha < 100)) {
gotoAndPlay (12);
}
Symbol 265 MovieClip Frame 9
if (_root.gameover or (_alpha < 100)) {
gotoAndPlay (12);
}
Symbol 265 MovieClip Frame 11
if (_root.gameover or (_alpha < 100)) {
gotoAndPlay (12);
}
gotoAndPlay (1);
Symbol 265 MovieClip Frame 12
play();
Symbol 265 MovieClip Frame 45
if (!_root.gameover) {
_root.I_LevelReset();
_alpha = 100;
gotoAndPlay (1);
} else {
stop();
}
Symbol 280 MovieClip Frame 1
stop();
Symbol 280 MovieClip Frame 2
stop();
Symbol 280 MovieClip Frame 3
stop();
Symbol 280 MovieClip Frame 4
stop();
Symbol 280 MovieClip Frame 5
stop();
Symbol 280 MovieClip Frame 6
stop();
Symbol 280 MovieClip Frame 7
this.active = false;
_root.peeps--;
play();
Symbol 280 MovieClip Frame 14
stop();
Symbol 281 MovieClip Frame 2
if ((_root.ship._alpha == 100) and (_root.peeps > 0)) {
_root.speedoffset = (_root.peepcount - _root.peeps) / 5;
if (_root.speed < 0) {
_root.speedoffset = -_root.speedoffset;
}
if (((_root.place1._x < ((_root.peep._width / 2) + 60)) or (_root.place2._x > 640)) and _root.drop) {
_root.drop = false;
_root.speed = _root.speed * -1.05;
i = 0;
while (i <= _root.peepcount) {
if (eval ("_root.peep" + i).active) {
eval ("_root.peep" + i)._y = eval ("_root.peep" + i)._y + 10;
}
i++;
}
_root.place1._y = _root.place1._y + 10;
_root.place2._y = _root.place2._y + 10;
} else {
_root.drop = true;
i = 0;
while (i <= _root.peepcount) {
if (eval ("_root.peep" + i).active) {
eval ("_root.peep" + i)._x = eval ("_root.peep" + i)._x + (_root.speed + _root.speedoffset);
}
i++;
}
_root.place1._x = _root.place1._x + (_root.speed + _root.speedoffset);
_root.place2._x = _root.place2._x + (_root.speed + _root.speedoffset);
}
}
gotoAndPlay (1);
Symbol 296 MovieClip Frame 1
stop();
Symbol 296 MovieClip Frame 2
stop();
Symbol 296 MovieClip Frame 3
stop();
Symbol 296 MovieClip Frame 4
stop();
Symbol 296 MovieClip Frame 5
stop();
Symbol 296 MovieClip Frame 6
stop();
Symbol 296 MovieClip Frame 7
this.active = false;
_root.peeps--;
play();
Symbol 296 MovieClip Frame 14
stop();
Symbol 313 MovieClip Frame 1
stop();
Symbol 313 MovieClip Frame 16
if (_root.masterlazermax < 10) {
_root.masterlazermax++;
}
gotoAndStop (1);
_root.I_ResetEgg();
stop();
Symbol 342 MovieClip Frame 1
timer = 0;
stop();
Symbol 342 MovieClip Frame 39
lpo = _root.level + 1;
Symbol 342 MovieClip Frame 43
if (timer < 60) {
if (Key.isDown(32)) {
gotoAndStop (1);
_root.I_LevelUp();
_root.allowlazer = false;
}
} else {
timer++;
}
Symbol 342 MovieClip Frame 44
gotoAndPlay(_currentframe - 1);
Symbol 344 Button
on (release, keyPress "<Enter>") {
if (_root.playername != "") {
_root.I_SubmitName();
play();
}
}
Symbol 346 Button
on (release) {
_root.I_CleanLasers();
_root.I_CleanPeeps();
_root.I_CleanBullets();
_root.gotoAndPlay("Invaders");
gotoAndStop (1);
}
Symbol 347 Button
on (release) {
_root.I_CleanLasers();
_root.I_CleanPeeps();
_root.I_CleanBullets();
_root.HSD._y = -500;
_root.removeMovieClip(_root.LL);
_root.removeMovieClip(_root.SC);
_root.gotoAndPlay("ICredits");
_root.removeMovieClip(_root.GO);
gotoAndStop (1);
}
Symbol 348 MovieClip Frame 1
stop();
Symbol 348 MovieClip Frame 74
gotoAndPlay (100);
Symbol 348 MovieClip Frame 75
stop();
Symbol 348 MovieClip Frame 100
stop();
Symbol 352 MovieClip Frame 1
stop();
Symbol 352 MovieClip Frame 2
play();
Symbol 352 MovieClip Frame 60
gotoAndStop (1);
Symbol 352 MovieClip Frame 61
play();
Symbol 352 MovieClip Frame 119
gotoAndStop (1);
Symbol 352 MovieClip Frame 120
play();
Symbol 352 MovieClip Frame 178
gotoAndStop (1);
Instance of Symbol 355 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 357 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 359 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 361 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 363 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 365 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 367 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 369 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 371 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 373 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 375 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 377 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 379 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 381 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 383 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 385 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 387 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 389 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 391 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 393 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 395 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 397 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 399 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 401 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 403 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 405 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 407 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 409 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 411 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 413 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 415 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 417 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 419 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 424 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 426 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 428 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 430 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 432 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 434 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 436 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 438 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 440 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 442 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 444 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 446 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 448 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 450 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 452 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 454 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 456 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this.hit = true;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.hit) {
i = 0;
while (i < _root.enemybulletcount) {
if (this.hitTest(eval ("_root.enemybullet" + i))) {
eval ("_root.enemybullet" + i)._alpha = 0;
removeMovieClip(eval ("_root.enemybullet" + i));
this._alpha = 0;
this.hit = false;
}
i++;
}
i = _root.lazercount - _root.lazermax;
while (i <= _root.lazercount) {
if (this.hitTest(eval ("_root.lazer" + i))) {
removeMovieClip(eval ("_root.lazer" + i));
_root.allowlazer = true;
this._alpha = 0;
this.hit = false;
}
i++;
}
} else {
removeMovieClip(this);
}
}
Symbol 465 Button
on (release) {
getURL ("http://www.i-mockery.com/minimocks/peeps", "_blank");
}
Symbol 469 Button
on (release) {
getURL ("http://www.i-mockery.com", "_blank");
}
Symbol 473 Button
on (release) {
getURL ("http://www.marshmallowpeeps.com", "_blank");
}
Symbol 475 Button
on (release) {
_root.gotoAndPlay("MainMenu");
}