Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("c1d146d6", this, 10301, true);
Instance of Symbol 11 MovieClip in Frame 1
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
framesLoaded = Math.ceil((loaded / total) * 100);
gotoAndStop(framesLoaded);
status.text = framesLoaded + " % completed";
}
Frame 2
stop();
Mouse.show();
for (obj in _root) {
trace("Type:" + typeof(_root[obj]));
if (typeof(_root[obj]) == "movieclip") {
trace("Name:" + _root[obj]._name);
_root[obj].removeMovieClip();
}
}
Frame 3
_root.guiVis = 0;
Mouse.show();
counter = 0;
goal = 5;
k = 0;
onMouseMove = function () {
counter++;
if (counter == 5) {
counter = 0;
tap = Math.round(Math.random() * 16777215);
tap2 = Math.round(Math.random() * 16777215);
tap3 = Math.round(Math.random() * 16777215);
pos1 = random(500);
pos2 = random(500);
g = 0;
while (g < 15) {
ee = _root.attachMovie("lineline0", "a" + _root.k, _root.k++);
ee.player._x = _xmouse;
ee.player._y = _ymouse;
var _local2 = new Color(ee.player);
_local2.setRGB(tap);
ff = _root.attachMovie("lineline1", "a" + _root.k, _root.k++);
ff.player._x = _xmouse;
ff.player._y = _ymouse;
_local2 = new Color(ff.player);
_local2.setRGB(tap2);
ff = _root.attachMovie("lineline2", "a" + _root.k, _root.k++);
ff.player._x = _xmouse;
ff.player._y = _ymouse;
_local2 = new Color(ff.player);
_local2.setRGB(tap3);
g++;
}
}
};
stop();
Instance of Symbol 216 MovieClip in Frame 3
onClipEvent (enterFrame) {
if ((_root.guiVis == 1) && (_root.gui._alpha < 85)) {
_root.gui._alpha = _root.gui._alpha + 5;
} else if ((_root.guiVis == 0) && (_root.gui._alpha > 0)) {
_root.gui._alpha = _root.gui._alpha - 5;
}
if ((_root.guiVis == 0) && (_root.logoBut._alpha < 100)) {
_root.logoBut._alpha = _root.logoBut._alpha + 5;
} else if ((_root.guiVis == 1) && (_root.logoBut._alpha > 0)) {
_root.logoBut._alpha = _root.logoBut._alpha - 5;
}
}
Frame 4
function movement() {
if (keyWasPressed && (killCycle == 0)) {
fs = _root.attachMovie("flood", "d" + k, k++);
fs._x = player._x;
fs._y = player._y;
fs._rotation = player._rotation;
fs._xscale = random(50) + 10;
fs._yscale = fs._xscale;
fs = _root.attachMovie("flood", "d" + k, k++);
fs._x = player._x;
fs._y = player._y;
fs._rotation = player._rotation;
fs._xscale = random(50) + 10;
fs._yscale = fs._xscale;
tap = Math.round(Math.random() * 16777215);
var _local2 = new Color(fs);
_local2.setRGB(tap);
}
if (player._x > 495) {
tspeedX = tspeedX * -1;
player._x--;
}
if (player._x < 5) {
tspeedX = tspeedX * -1;
player._x++;
}
if (player._y > 495) {
tspeedY = tspeedY * -1;
player._y--;
}
if (player._y < 5) {
tspeedY = tspeedY * -1;
player._y++;
}
player._x = player._x + tspeedX;
player._y = player._y + tspeedY;
tspeedX = tspeedX * accDec;
tspeedY = tspeedY * accDec;
circx = player._x;
circy = player._y;
prevx = _root._xmouse;
prevy = _root._ymouse;
if ((circx < prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
player._rotation = degrees + 90;
} else if ((circx < prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
player._rotation = 90 - degrees;
} else if ((circx > prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circx - prevx) / Math.abs(circy - prevy));
degrees = (angle * 180) / 3.141593;
player._rotation = -(180 - degrees);
} else if ((circx > prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
player._rotation = -(90 - degrees);
}
}
function posNeg() {
t = random(2);
if (t == 0) {
return(-1);
}
return(1);
}
function shoot() {
if (shooting && (killCycle != 2)) {
liner.removeMovieClip();
shootCount++;
screenReset();
if (bulletType == 4) {
var _local4 = new Sound();
_local4.attachSound("slaser");
_local4.start(0, 1);
smallestVal = 40000;
targetVal = 10000;
i = 0;
while (i < enemyList.length) {
val1x = _root["e" + enemyList[i]].player._x;
val1y = _root["e" + enemyList[i]].player._y;
val2x = player._x;
val2y = player._y;
temp1 = Math.pow(val2x - val1x, 2);
temp2 = Math.pow(val2y - val1y, 2);
valDist = Math.sqrt(temp1 + temp2);
if (valDist < smallestVal) {
smallestVal = valDist;
targetVal = i;
}
i++;
}
closestX = _root["e" + enemyList[targetVal]].player._x;
closestY = _root["e" + enemyList[targetVal]].player._y;
liner.removeMovieClip();
g = createEmptyMovieClip("liner", _root.k++);
randomCurve = random(50) - 25;
randomColor = Math.round(Math.random() * 16777215);
screenShake();
g.lineStyle(10, randomColor, 100);
g.moveTo(player._x, player._y);
g.curveTo(player._x + randomCurve, player._y + randomCurve, closestX, closestY);
g.lineStyle(4, randomColor * 2, 100);
g.moveTo(player._x, player._y);
g.curveTo(player._x + randomCurve, player._y + randomCurve, closestX, closestY);
g.lineStyle(2, 16777215, 50);
g.moveTo(player._x, player._y);
g.curveTo(player._x + (posNeg() * random(smallestVal / 2)), player._y + (posNeg() * random(smallestVal)), closestX, closestY);
g.lineStyle(1, 16777215, 50);
g.moveTo(player._x, player._y);
g.curveTo(player._x + (posNeg() * random(smallestVal / 2)), player._y + (posNeg() * random(smallestVal)), closestX, closestY);
if (shootCount > 10) {
shootCount = 0;
g = 0;
while (g < 10) {
ee = _root.attachMovie(types(1), "a" + _root.k, _root.k++);
ee.player._x = _root["e" + enemyList[targetVal]].player._x;
ee.player._y = _root["e" + enemyList[targetVal]].player._y;
var _local2 = new Color(ee.player);
_local2.setRGB(randomColor);
ff = _root.attachMovie(types(2), "a" + _root.k, _root.k++);
ff.player._x = _root["e" + enemyList[targetVal]].player._x;
ff.player._y = _root["e" + enemyList[targetVal]].player._y;
_local2 = new Color(ff.player);
_local2.setRGB(randomColor * 2);
g++;
}
ae = attachMovie("timerExplosion", "adf" + _root.k, _root.k++);
ae._x = _root["e" + enemyList[targetVal]].player._x;
ae._y = _root["e" + enemyList[targetVal]].player._y;
ae.timerValue = 20;
fe = _root.attachMovie("scoreLaunch", "scoreMe" + _root.k, _root.k++);
fe._x = _root["e" + enemyList[targetVal]].player._x;
fe._y = _root["e" + enemyList[targetVal]].player._y;
fe.scoreMC.scoreBox.text = _root["e" + enemyList[targetVal]].points * multiplier;
_root.scoreMe(_root["e" + enemyList[targetVal]].points * multiplier);
awesome = awesome + 5;
removeEnemy(_root["e" + enemyList[targetVal]]);
}
} else if (shootCount >= shootLevel) {
shootCount = 0;
if (bulletType == 1) {
var _local5 = new Sound();
_local5.attachSound("sshoot");
_local5.start(0, 1);
shootLevel = (_root.level / 2) + 1;
e = _root.attachMovie("bullet", sorter(), k++);
e.player._rotation = player._rotation - 90;
} else if (bulletType == 2) {
var _local3 = new Sound();
_local3.attachSound("strishot");
_local3.start(0, 1);
shootLevel = 5;
e = _root.attachMovie("bullet", sorter(), k++);
e.player._rotation = player._rotation - 90;
f = _root.attachMovie("bullet", sorter(), k++);
f.player._rotation = player._rotation - 105;
g = _root.attachMovie("bullet", sorter(), k++);
g.player._rotation = player._rotation - 75;
} else if (bulletType == 3) {
shootLevel = 10;
i = 0;
while (i < 30) {
e = _root.attachMovie("bullet", sorter(), k++);
e.player._rotation = random(360);
i++;
}
bulletType = 1;
} else if (bulletType == 5) {
var _local6 = new Sound();
_local6.attachSound("sbiggun");
_local6.start(0, 1);
shootLevel = 5;
e = _root.attachMovie("bullet", sorter(), k++);
e.player._rotation = player._rotation - 90;
e.player._xscale = 300;
e.player._yscale = 300;
}
}
}
}
function sorter() {
bulletChoose = 0;
bulletNumber = 0;
bulletList.sort();
j = 0;
while (j <= bulletList.length) {
if (bulletList[j] == bulletChoose) {
bulletChoose++;
j = 0;
}
j++;
}
bulletList.push(bulletChoose);
bulletNumber = bulletChoose;
return(bulletNumber);
}
function removeBullet(which) {
i = 0;
while (i <= bulletList.length) {
if (which._name == bulletList[i]) {
which.removeMovieClip();
_root.bulletList.splice(i, 1);
}
i++;
}
}
function killPlayer() {
if (killCycle == 0) {
i = 0;
while (i <= enemyList.length) {
if (dynamicHitTest(player, _root["e" + enemyList[i]]) && (_root["e" + enemyList[i]].startCode == true)) {
killCycle = 1;
}
i++;
}
}
if (killCycle == 1) {
killCounter = 0;
tempX = player._x;
tempY = player._y;
player._visible = false;
lives--;
stats.lifeBar.gotoAndStop(lives - 1);
if (lives == 0) {
cstatus = false;
onEnterFrame = null;
ee = _root.attachMovie("loser", "los", k++);
ee._x = 250;
ee._y = 250;
stopAllSounds();
var _local3 = new Sound();
_local3.attachSound("sdead");
_local3.start(0, 1);
} else {
var _local3 = new Sound();
_local3.attachSound("sdead");
_local3.start(0, 1);
}
killCycle = 2;
}
if (killCycle == 2) {
killCounter++;
if (killCounter == 30) {
killCycle = 3;
killCounter = 0;
}
awesome = awesome - 3;
g = 0;
while (g < 5) {
ee = _root.attachMovie(types(2), "a" + _root.k, _root.k++);
ee.player._x = tempX;
ee.player._y = tempY;
tap = Math.round(Math.random() * 16777215);
var _local2 = new Color(ee);
_local2.setRGB(tap);
ff = _root.attachMovie(types(2), "a" + _root.k, _root.k++);
ff.player._x = tempX;
ff.player._y = tempY;
tap = Math.round(Math.random() * 16777215);
_local2 = new Color(ff);
_local2.setRGB(tap);
g++;
}
}
if (killCycle == 3) {
killCounter++;
player._visible = true;
player.play();
if (killCounter == 100) {
killCounter = 0;
killCycle = 0;
}
}
}
function moveMe(mc, type) {
if (cstatus) {
if (type == 1) {
mc.youSpeed = Math.min(mc.youMaxSpeed, mc.youSpeed + mc.youAcc);
mc.xC = Math.cos((mc.player._rotation * 3.141593) / 180) * mc.youSpeed;
mc.yC = Math.sin((mc.player._rotation * 3.141593) / 180) * mc.youSpeed;
mc.player._x = mc.player._x + mc.xC;
mc.player._y = mc.player._y + mc.yC;
mc.oldX = mc.player._x;
mc.oldY = mc.player._y;
}
if (type == 2) {
circx = mc.player._x;
circy = mc.player._y;
prevx = player._x;
prevy = player._y;
if ((circx < prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
mc.player._rotation = degrees + 90;
} else if ((circx < prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
mc.player._rotation = 90 - degrees;
} else if ((circx > prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circx - prevx) / Math.abs(circy - prevy));
degrees = (angle * 180) / 3.141593;
mc.player._rotation = -(180 - degrees);
} else if ((circx > prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
mc.player._rotation = -(90 - degrees);
}
mc.player._x = mc.player._x - (mc.driftSpeed * ((mc.player._x - _root.player._x) / 2));
mc.player._y = mc.player._y - (mc.driftSpeed * ((mc.player._y - _root.player._y) / 2));
}
if (type == 3) {
circx = mc.player._x;
circy = mc.player._y;
prevx = player._x;
prevy = player._y;
if ((circx < prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
mc.player._rotation = degrees + 90;
} else if ((circx < prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
mc.player._rotation = 90 - degrees;
} else if ((circx > prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circx - prevx) / Math.abs(circy - prevy));
degrees = (angle * 180) / 3.141593;
mc.player._rotation = -(180 - degrees);
} else if ((circx > prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
mc.player._rotation = -(90 - degrees);
}
mc.player._x = mc.player._x - (mc.driftSpeed * ((mc.player._x - _root.player._x) / 2));
mc.player._y = mc.player._y - (mc.driftSpeed * ((mc.player._y - _root.player._y) / 2));
}
if (type == 4) {
mc.suck.removeMovieClip();
mc.createEmptyMovieClip("suck", _root.k++);
mc.suck.lineStyle(1, Math.round(Math.random() * 16777215), 100);
mc.suck.moveTo(mc.player._x, mc.player._y);
i = 0;
while (i < enemyList.length) {
if (_root["e" + _root.enemyList[i]].typeCast == 3) {
mc.suck.moveTo(mc.player._x, mc.player._y);
aal1x = _root["e" + enemyList[i]].player._x;
aal1y = _root["e" + enemyList[i]].player._y;
mc.suck.lineTo(aal1x, aal1y);
}
i++;
}
mc.youSpeed = Math.min(mc.youMaxSpeed, mc.youSpeed + mc.youAcc);
mc.xC = Math.cos((mc.player._rotation * 3.141593) / 180) * mc.youSpeed;
mc.yC = Math.sin((mc.player._rotation * 3.141593) / 180) * mc.youSpeed;
mc.player._x = mc.player._x + mc.xC;
mc.player._y = mc.player._y + mc.yC;
mc.oldX = mc.player._x;
mc.oldY = mc.player._y;
}
if (type == 5) {
circx = mc.player._x;
circy = mc.player._y;
prevx = player._x;
prevy = player._y;
if ((circx < prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
mc.player._rotation = degrees + 90;
} else if ((circx < prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
mc.player._rotation = 90 - degrees;
} else if ((circx > prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circx - prevx) / Math.abs(circy - prevy));
degrees = (angle * 180) / 3.141593;
mc.player._rotation = -(180 - degrees);
} else if ((circx > prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
mc.player._rotation = -(90 - degrees);
}
mc.player._x = mc.player._x - (mc.driftSpeed * ((mc.player._x - _root.player._x) / 2));
mc.player._y = mc.player._y - (mc.driftSpeed * ((mc.player._y - _root.player._y) / 2));
}
if (type == 6) {
val1x = mc.player._x;
val1y = mc.player._y;
val2x = player._x;
val2y = player._y;
temp1 = Math.pow(val2x - val1x, 2);
temp2 = Math.pow(val2y - val1y, 2);
valDist = Math.sqrt(temp1 + temp2);
if (valDist > 100) {
mc.player._x = mc.player._x - ((mc.driftSpeed * 20) * ((mc.player._x - _root.player._x) / 2));
mc.player._y = mc.player._y - ((mc.driftSpeed * 20) * ((mc.player._y - _root.player._y) / 2));
}
}
if (type == 7) {
mc.suck.removeMovieClip();
mc.createEmptyMovieClip("suck", _root.k++);
mc.suck.lineStyle(4, Math.round(Math.random() * 16777215), 100);
mc.suck.moveTo(mc.player._x, mc.player._y);
mc.suck.curveTo(player._y, player._x, mc.holdX, mc.holdY);
mc.youSpeed = Math.min(mc.youMaxSpeed, mc.youSpeed + mc.youAcc);
mc.xC = Math.cos((mc.player._rotation * 3.141593) / 180) * mc.youSpeed;
mc.yC = Math.sin((mc.player._rotation * 3.141593) / 180) * mc.youSpeed;
mc.player._x = mc.player._x + mc.xC;
mc.player._y = mc.player._y + mc.yC;
mc.oldX = mc.player._x;
mc.oldY = mc.player._y;
}
}
}
function limits(mc) {
if (mc.player._rotation >= 360) {
mc.player._rotation = mc.player._rotation - 360;
}
if (mc.player._rotation < 0) {
mc.player._rotation = mc.player._rotation + 360;
}
if (mc.player._x >= 475) {
if ((mc.player._rotation >= 0) && (mc.player._rotation < 90)) {
mc.player._rotation = 180 - mc.player._rotation;
}
if ((mc.player._rotation < 0) && (mc.player._rotation > -90)) {
mc.player._rotation = 180 - mc.player._rotation;
}
}
if (mc.player._x <= 25) {
if ((mc.player._rotation <= 180) && (mc.player._rotation > 90)) {
mc.player._rotation = 180 - mc.player._rotation;
}
if ((mc.player._rotation > -180) && (mc.player._rotation < -90)) {
mc.player._rotation = 180 - mc.player._rotation;
}
}
if (mc.player._y <= 25) {
if ((mc.player._rotation >= -180) && (mc.player._rotation <= -90)) {
mc.player._rotation = -mc.player._rotation;
}
if ((mc.player._rotation >= -90) && (mc.player._rotation <= 0)) {
mc.player._rotation = -mc.player._rotation;
}
}
if (mc.player._y >= 475) {
if ((mc.player._rotation >= 90) && (mc.player._rotation <= 180)) {
mc.player._rotation = -mc.player._rotation;
}
if ((mc.player._rotation <= 90) && (mc.player._rotation >= 0)) {
mc.player._rotation = -mc.player._rotation;
}
}
}
function shotDown(mc, flavor, type1, type1Color, type2, type2Color, type3, type3Color) {
i = 0;
while (i <= _root.bulletList.length) {
if (mc.player.hitTest(_root[_root.bulletList[i]])) {
var _local4 = new Sound();
_local4.attachSound("shitenemy");
_local4.start(0, 1);
if (flavor == 1) {
_root.removeBullet(_root[_root.bulletList[i]]);
} else if (flavor == 2) {
d = 0;
while (d < 5) {
e = attachMovie("enemy2.5", esorter(), k++);
e._x = 0;
e._y = 0;
e.player._xscale = random(100) + 100;
e.player._yscale = e.player._xscale;
e.player._x = (mc.player._x + random(16)) - 8;
e.player._y = (mc.player._y + random(16)) - 8;
d++;
}
_root.removeBullet(_root[_root.bulletList[i]]);
}
g = 0;
while (g < 10) {
mc.ee = _root.attachMovie(types(type1), "a" + _root.k, _root.k++);
mc.ee.player._x = mc.player._x;
mc.ee.player._y = mc.player._y;
mc.tap = type1Color;
var _local3 = new Color(mc.ee.player);
_local3.setRGB(mc.tap);
mc.ff = _root.attachMovie(types(type2), "a" + _root.k, _root.k++);
mc.ff.player._x = mc.player._x;
mc.ff.player._y = mc.player._y;
mc.tap = type2Color;
_local3 = new Color(mc.ff.player);
_local3.setRGB(mc.tap);
g++;
}
g = 0;
while (g < 5) {
mc.gg = _root.attachMovie(types(type3), "a" + _root.k, _root.k++);
mc.gg.player._x = mc.player._x;
mc.gg.player._y = mc.player._y;
mc.tap = type3Color;
var _local3 = new Color(mc.gg.player);
_local3.setRGB(mc.tap);
g++;
}
mc.fe = _root.attachMovie("scoreLaunch", "scoreMe" + _root.k, _root.k++);
mc.fe._x = mc.player._x;
mc.fe._y = mc.player._y;
mc.fe.scoreMC.scoreBox.text = mc.points * multiplier;
_root.scoreMe(mc.points * multiplier);
awesome = awesome + 5;
removeEnemy(mc);
break;
}
i++;
}
}
function types(nu) {
if (nu == 1) {
return("lineline0");
}
if (nu == 2) {
return("lineline1");
}
if (nu == 3) {
return("lineline2");
}
if (nu == 4) {
return("lineline3");
}
if (nu == 5) {
return("lineline4");
}
if (nu == 6) {
return("lineline5");
}
if (nu == 7) {
return("lineline6");
}
}
function esorter() {
enemyChoose = 0;
enemyName = "pops";
enemyList.sort();
j = 0;
while (j <= enemyList.length) {
if (enemyList[j] == enemyChoose) {
enemyChoose++;
j = 0;
}
j++;
}
enemyList.push(enemyChoose);
enemyName = "e" + enemyChoose;
return(enemyName);
}
function spawn(style, total) {
spawnPointX = random(475) + 10;
spawnPointY = random(475) + 10;
i = 0;
while (i < total) {
e = attachMovie("enemy" + style, esorter(), k++);
e._x = 0;
e._y = 0;
if ((style == 3) || (style == 10)) {
e.player._x = spawnPointX;
e.player._y = spawnPointY;
}
i++;
}
}
function removeEnemy(mc) {
i = 0;
while (i <= enemyList.length) {
if (mc._name == ("e" + enemyList[i])) {
enemyList.splice(i, 1);
}
i++;
}
mc.removeMovieClip();
}
function statsBar() {
if (awesome <= 100) {
multiplier = 1;
stats.awesomeBar._xscale = awesome;
awesome = awesome - decSpeed1;
tap = 16777215 /* 0xFFFFFF */;
var _local2 = new Color(stats.awesomeBar);
_local2.setRGB(tap);
stats.underBar._visible = false;
} else if ((awesome > 100) && (awesome <= 200)) {
stats.underBar._visible = true;
multiplier = 2;
stats.awesomeBar._xscale = (awesome - 100) - 10;
awesome = awesome - decSpeed2;
tap = 16750848 /* 0xFF9900 */;
var _local2 = new Color(stats.awesomeBar);
_local2.setRGB(tap);
tap2 = 16777215 /* 0xFFFFFF */;
_local2 = new Color(stats.underBar);
_local2.setRGB(tap2);
} else if ((awesome > 200) && (awesome <= 300)) {
multiplier = 4;
stats.awesomeBar._xscale = (awesome - 200) - 10;
awesome = awesome - decSpeed3;
tap = 255;
var _local2 = new Color(stats.awesomeBar);
_local2.setRGB(tap);
tap2 = 16750848 /* 0xFF9900 */;
_local2 = new Color(stats.underBar);
_local2.setRGB(tap2);
} else if ((awesome > 300) && (awesome <= 400)) {
multiplier = 8;
stats.awesomeBar._xscale = (awesome - 300) - 10;
awesome = awesome - decSpeed4;
tap = 6684672 /* 0x660000 */;
var _local2 = new Color(stats.awesomeBar);
_local2.setRGB(tap);
tap2 = 255;
_local2 = new Color(stats.underBar);
_local2.setRGB(tap2);
} else if ((awesome > 400) && (awesome < 499)) {
multiplier = 16;
stats.awesomeBar._xscale = (awesome - 400) - 10;
awesome = awesome - decSpeed5;
tap = Math.round(Math.random() * 16777215);
var _local2 = new Color(stats.awesomeBar);
_local2.setRGB(tap);
tap2 = 6684672 /* 0x660000 */;
_local2 = new Color(stats.underBar);
_local2.setRGB(tap2);
} else if (awesome > 500) {
awesome = 500;
}
if (awesome > 0) {
i = 0;
while (i < 3) {
fre = _root.stats.clippy.attachMovie("dot", "dot" + k, k++);
fre._x = stats.awesomeBar._width;
fre._y = random(stats.awesomeBar._height);
fre._xscale = random(200) + 50;
fre._yscale = random(200) + 50;
var _local2 = new Color(fre);
_local2.setRGB(tap);
i++;
}
fre = _root.stats.clippy.attachMovie("dot", "dot" + k, k++);
fre._x = stats.awesomeBar._width;
fre._y = 0;
var _local2 = new Color(fre);
_local2.setRGB(tap);
fre = _root.stats.clippy.attachMovie("dot", "dot" + k, k++);
fre._x = stats.awesomeBar._width;
fre._y = stats.awesomeBar._height;
_local2 = new Color(fre);
_local2.setRGB(tap);
}
if (awesome < 0) {
awesome = 0;
}
stats.livesBox.text = lives;
stats.scoreBox.scoreBox.scoreBox.text = score;
if (multiplier == 1) {
stats.mult.mult.text = "";
} else {
stats.mult.mult.text = "x" + multiplier;
}
}
function scoreMe(amt) {
score = score + amt;
stats.scoreBox.gotoAndPlay(2);
score_new = score_new + amt;
}
function inc() {
fps = "Frames per Second: " + aad;
nmbr = aad;
aad = 0;
}
function powerUp(num) {
if ((num <= 4) && (num >= 0)) {
t = num;
} else {
t = random(5);
}
ff = _root.attachMovie("powerUp" + t, "pu" + k, k++);
ff._x = random(490);
ff._y = random(490);
}
function powering() {
if (resetPowerBar) {
resetPowerBar = false;
step = 0;
powerUpBar.gotoAndPlay(11);
}
if (poweredUp) {
step = 0;
}
if (step == 0) {
if (poweredUp) {
step = 1;
poweredUp = false;
powerUpBar.gotoAndPlay(2);
powerUpBar.powerUpBar.poweredUp._xscale = 100;
}
}
if (step == 1) {
if (bulletType == 2) {
powerBarSpeed = 0.4;
powerUpBar.tgom.gotoAndStop(1);
}
if (bulletType == 4) {
powerBarSpeed = 0.5;
powerUpBar.tgom.gotoAndStop(2);
}
if (bulletType == 5) {
powerBarSpeed = 0.4;
powerUpBar.tgom.gotoAndStop(3);
}
powerUpBar.powerUpBar.poweredUp._xscale = powerUpBar.powerUpBar.poweredUp._xscale - powerBarSpeed;
if (powerUpBar.powerUpBar.poweredUp._xscale < 0) {
powerUpBar.powerUpBar.poweredUp._xscale = 0;
bulletType = 1;
resetPowerBar = true;
}
}
}
function dynamicHitTest(mover, station) {
with (mover) {
if (((station.hitTest(getBounds(_root).xMax, mover._y, true) || (station.hitTest(getBounds(_root).xMin, mover._y, true))) || (station.hitTest(mover._x, getBounds(_root).yMax, true))) || (station.hitTest(mover._x, getBounds(_root).yMin, true))) {
return(true);
}
return(false);
}
}
function screenShake() {
_root._xscale = random(4) + 98;
_root._yscale = random(4) + 98;
_root._x = random(4) - 2;
_root._y = random(4) - 2;
}
function screenReset() {
_root._xscale = 100;
_root._yscale = 100;
_root._x = 0;
_root._y = 0;
}
function togglePause() {
if (Key.isDown(80)) {
trace("te");
cstatus = false;
screenReset();
ter = _root.attachMovie("pauseScreen", "pauseScream", k++);
ter._x = 250;
ter._y = 250;
Mouse.show();
marker._visible = false;
}
}
function changeLevel() {
if (enemyList.length < 1) {
if (level > 29) {
cstatus = false;
onEnterFrame = null;
de = attachMovie("ending", "end", k++);
de._x = 250;
de._y = de._x;
} else {
r = 0;
while (r < 11) {
type = _root["level" + level][r];
trace(type);
spawn(r, type);
r++;
}
changeBackground();
level++;
fd = _root.attachMovie("static", "sta", k++);
levelBump.gotoAndPlay(2);
}
}
}
var level0 = new Array(2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
var level1 = new Array(6, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0);
var level2 = new Array(2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0);
var level3 = new Array(4, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0);
var level4 = new Array(6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0);
var level5 = new Array(3, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0);
var level6 = new Array(12, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0);
var level7 = new Array(5, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0);
var level8 = new Array(0, 1, 6, 0, 0, 0, 0, 0, 0, 0, 0);
var level9 = new Array(4, 3, 4, 0, 0, 0, 0, 0, 0, 0, 0);
var level10 = new Array(0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0);
var level11 = new Array(0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0);
var level12 = new Array(8, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0);
var level13 = new Array(4, 2, 2, 5, 0, 0, 0, 0, 0, 0, 0);
var level14 = new Array(0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0);
var level15 = new Array(0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0);
var level16 = new Array(10, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0);
var level17 = new Array(2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0);
var level18 = new Array(0, 0, 0, 8, 1, 0, 0, 0, 0, 0, 0);
var level19 = new Array(4, 4, 4, 0, 3, 0, 0, 0, 0, 0, 0);
var level20 = new Array(0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0);
var level21 = new Array(0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0);
var level22 = new Array(4, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0);
var level23 = new Array(0, 0, 4, 4, 0, 4, 0, 0, 0, 0, 0);
var level24 = new Array(0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0);
var level25 = new Array(15, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0);
var level26 = new Array(0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0);
var level27 = new Array(0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0);
var level28 = new Array(0, 4, 0, 4, 4, 4, 4, 0, 0, 0, 0);
var level29 = new Array(5, 5, 5, 5, 2, 2, 10, 0, 0, 0, 0);
Mouse.hide();
marker.startDrag(true);
var awesome = 0.1;
var decSpeed1 = 0.05;
var decSpeed2 = 0.1;
var decSpeed3 = 0.2;
var decSpeed4 = 0.3;
var decSpeed5 = 0.5;
var lives = 3;
var score = 0;
var level = 0;
var fffffffffffffffffScore = _root.score;
var myFinalName = "aurora";
var bulletType = 1;
var cstatus = true;
var tspeedX = 0;
var tspeedY = 0;
var accDec = 0.9;
var accInc = 0.86;
var k = 1;
var shootCount = 0;
var shooting = false;
var bulletNumber = 0;
var bulletList = new Array();
var shootLevel = 5;
var enemyChoose;
var enemyName;
var enemyList = new Array();
stats.comma1._visible = false;
stats.comma2._visible = false;
stats.comma3._visible = false;
stats.comma4._visible = false;
var particles = 0;
var particleThresh = 100;
var particleDrop = 1;
var fpsThresh = 25;
var globalDrop = 1;
var multiplier = 1;
var nmbr = 0;
var fps = "Loading";
var aad = 0;
setInterval(inc, 1000);
var poweredUp = false;
var step = 0;
var resetPowerBar = false;
var powerBarSpeed;
var powerCounter = 0;
var powerSense = 700;
var powerGoal = random(powerSense);
var spawnPointX = (random(475) + 10);
var spawnPointY = (random(475) + 10);
changeBackground();
onEnterFrame = function () {
if (cstatus) {
movement();
statsBar();
shoot();
changeLevel();
powering();
killPlayer();
spawnPowerUps();
togglePause();
aad++;
}
};
onMouseDown = function () {
if (cstatus) {
shooting = true;
}
};
onMouseUp = function () {
liner.removeMovieClip();
if (cstatus) {
shooting = false;
shootCount = shootLevel - 1;
}
};
var closestX;
var closestY;
var val1x;
var val1y;
var val2x;
var val2y;
var valDist;
var killCycle = 0;
var killCounter = 0;
stop();
Instance of Symbol 248 MovieClip "player" in Frame 4
onClipEvent (enterFrame) {
_root.percentfire = Math.round(((-((_root.level / 2) - 16)) / 16) * 100);
}
Frame 5
for (obj in _root) {
trace("Type:" + typeof(_root[obj]));
if (typeof(_root[obj]) == "movieclip") {
trace("Name:" + _root[obj]._name);
_root[obj].removeMovieClip();
}
}
Symbol 3 MovieClip [bulletX] Frame 1
function moveMe() {
youSpeed = Math.min(youMaxSpeed, youSpeed + youAcc);
xC = Math.cos((player._rotation * 3.141593) / 180) * youSpeed;
yC = Math.sin((player._rotation * 3.141593) / 180) * youSpeed;
player._x = player._x + xC;
player._y = player._y + yC;
oldX = player._x;
oldY = player._y;
}
life = 1;
youAcc = 0.2;
youDec = 0.2;
youSpeed = 5;
youMaxSpeed = 7;
if (!_root.cstatus) {
player._x = 0;
player._y = 0;
} else {
player._x = _root.player._x;
player._y = _root.player._y;
}
life = life * 50;
onEnterFrame = function () {
if (_root.cstatus) {
life--;
if (life < 10) {
player._alpha = life * 10;
}
if (life <= 0) {
this.removeMovieClip();
}
moveMe();
if (player._rotation >= 360) {
player._rotation = player._rotation - 360;
}
if (player._rotation < 0) {
player._rotation = player._rotation + 360;
}
if (player._x >= 500) {
if ((player._rotation >= 0) && (player._rotation < 90)) {
player._rotation = 180 - player._rotation;
moveMe();
}
if ((player._rotation < 0) && (player._rotation > -90)) {
player._rotation = 180 - player._rotation;
moveMe();
}
}
if (player._x <= 0) {
if ((player._rotation <= 180) && (player._rotation > 90)) {
player._rotation = 180 - player._rotation;
moveMe();
}
if ((player._rotation > -180) && (player._rotation < -90)) {
player._rotation = 180 - player._rotation;
moveMe();
}
}
if (player._y <= 0) {
if ((player._rotation >= -180) && (player._rotation <= -90)) {
player._rotation = -player._rotation;
moveMe();
}
if ((player._rotation >= -90) && (player._rotation <= 0)) {
player._rotation = -player._rotation;
moveMe();
}
}
if (player._y >= 500) {
if ((player._rotation >= 90) && (player._rotation <= 180)) {
player._rotation = -player._rotation;
moveMe();
}
if ((player._rotation <= 90) && (player._rotation >= 0)) {
player._rotation = -player._rotation;
moveMe();
}
}
tracer = player._rotation;
}
};
Symbol 11 MovieClip Frame 100
_root.onEnterFrame = null;
_root.nextFrame();
Symbol 14 Button
on (press) {
getURL ("http://rednblu.com");
}
Symbol 20 Button
on (press) {
getURL ("http://rednblu.com");
}
Symbol 255 MovieClip [__Packages.ab3.rankz.Armor_Bot_30_En_AS1] Frame 0
class ab3.rankz.Armor_Bot_30_En_AS1 extends Object
{
static var _CharsReverseLookup;
var _Armor_Bot_30_En_AS1Str, _Armor_Bot_30_En_AS1Count;
function Armor_Bot_30_En_AS1 () {
super();
}
static function Encode(str) {
var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return(_local1.encodeArmor_Bot_30_En_AS1(str));
}
static function Decode(str) {
var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return(_local1.decodeArmor_Bot_30_En_AS1(str));
}
static function StringReplaceAll(source, find, replacement) {
return(source.split(find).join(replacement));
}
static function InitReverseChars() {
_CharsReverseLookup = new Array();
var _local1 = 0;
while (_local1 < _Chars.length) {
_CharsReverseLookup[_Chars[_local1]] = _local1;
_local1++;
}
return(true);
}
static function UrlDecode(str) {
str = StringReplaceAll(str, "\\", " ");
str = unescape(str);
return(str);
}
static function UrlEncode(str) {
str = escape(str);
str = StringReplaceAll(str, "\\", "%2B");
str = StringReplaceAll(str, "%20", "+");
return(str);
}
function setArmor_Bot_30_En_AS1Str(str) {
_Armor_Bot_30_En_AS1Str = str;
_Armor_Bot_30_En_AS1Count = 0;
}
function readArmor_Bot_30_En_AS1() {
if (!_Armor_Bot_30_En_AS1Str) {
return(_EndOfInput);
}
if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) {
return(_EndOfInput);
}
var _local2 = _Armor_Bot_30_En_AS1Str.charCodeAt(_Armor_Bot_30_En_AS1Count) & 255;
_Armor_Bot_30_En_AS1Count++;
return(_local2);
}
function encodeArmor_Bot_30_En_AS1(str) {
setArmor_Bot_30_En_AS1Str(str);
var _local3 = "";
var _local2 = new Array(3);
var _local5 = 0;
var _local4 = false;
while ((!_local4) && (((_local2[0] = readArmor_Bot_30_En_AS1())) != _EndOfInput)) {
_local2[1] = readArmor_Bot_30_En_AS1();
_local2[2] = readArmor_Bot_30_En_AS1();
_local3 = _local3 + _Chars[_local2[0] >> 2];
if (_local2[1] != _EndOfInput) {
_local3 = _local3 + _Chars[((_local2[0] << 4) & 48) | (_local2[1] >> 4)];
if (_local2[2] != _EndOfInput) {
_local3 = _local3 + _Chars[((_local2[1] << 2) & 60) | (_local2[2] >> 6)];
_local3 = _local3 + _Chars[_local2[2] & 63];
} else {
_local3 = _local3 + _Chars[(_local2[1] << 2) & 60];
_local3 = _local3 + "=";
_local4 = true;
}
} else {
_local3 = _local3 + _Chars[(_local2[0] << 4) & 48];
_local3 = _local3 + "=";
_local3 = _local3 + "=";
_local4 = true;
}
_local5 = _local5 + 4;
if (_local5 >= 76) {
_local3 = _local3 + newline;
_local5 = 0;
}
}
return(_local3);
}
function readReverseArmor_Bot_30_En_AS1() {
if (!_Armor_Bot_30_En_AS1Str) {
return(_EndOfInput);
}
while (true) {
if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) {
return(_EndOfInput);
}
var _local2 = _Armor_Bot_30_En_AS1Str.charAt(_Armor_Bot_30_En_AS1Count);
_Armor_Bot_30_En_AS1Count++;
if (_CharsReverseLookup[_local2]) {
return(_CharsReverseLookup[_local2]);
}
if (_local2 == "A") {
return(0);
}
}
}
function ntos(n) {
var _local1 = n.toString(16);
if (_local1.length == 1) {
_local1 = "0" + _local1;
}
_local1 = "%" + _local1;
return(unescape(_local1));
}
function decodeArmor_Bot_30_En_AS1(str) {
setArmor_Bot_30_En_AS1Str(str);
var _local3 = "";
var _local2 = new Array(4);
var _local4 = false;
while (((!_local4) && (((_local2[0] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) && (((_local2[1] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) {
_local2[2] = readReverseArmor_Bot_30_En_AS1();
_local2[3] = readReverseArmor_Bot_30_En_AS1();
_local3 = _local3 + ntos(((_local2[0] << 2) & 255) | (_local2[1] >> 4));
if (_local2[2] != _EndOfInput) {
_local3 = _local3 + ntos(((_local2[1] << 4) & 255) | (_local2[2] >> 2));
if (_local2[3] != _EndOfInput) {
_local3 = _local3 + ntos(((_local2[2] << 6) & 255) | _local2[3]);
} else {
_local4 = true;
}
} else {
_local4 = true;
}
}
return(_local3);
}
function toHex(n) {
var _local4 = "";
var _local3 = true;
var _local1 = 32;
while (_local1 > 0) {
_local1 = _local1 - 4;
var _local2 = (n >> _local1) & 15;
if ((!_local3) || (_local2 != 0)) {
_local3 = false;
_local4 = _local4 + _Digits[_local2];
}
}
return(((_local4 == "") ? "0" : (_local4)));
}
function pad(str, len, pad) {
var _local2 = str;
var _local1 = str.length;
while (_local1 < len) {
_local2 = pad + _local2;
_local1++;
}
return(_local2);
}
function encodeHex(str) {
var _local4 = "";
var _local2 = 0;
while (_local2 < str.length) {
_local4 = _local4 + pad(toHex(str.charCodeAt(_local2) & 255), 2, "0");
_local2++;
}
return(_local4);
}
function decodeHex(str) {
var _local5 = "";
var _local3 = "";
var _local2 = 0;
while (_local2 < str.length) {
_local3 = _local3 + str.charAt(_local2);
if (_local3.length == 2) {
_local5 = _local5 + ntos(parseInt("0x" + _local3));
_local3 = "";
}
_local2++;
}
return(_local5);
}
static var _EndOfInput = -1;
static var _Chars = new Array("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "+", "/");
static var _CharsReverseLookupInited = InitReverseChars();
static var _Digits = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f");
}
Symbol 24 Button
on (press) {
getURL ("http://rednblu.com");
}
Symbol 33 MovieClip Frame 147
_parent.nextFrame();
Symbol 34 MovieClip Frame 1
_root.play();
Symbol 35 MovieClip Frame 1
stop();
Instance of Symbol 34 MovieClip in Symbol 35 MovieClip Frame 2
onClipEvent (enterFrame) {
this.onPress = function () {
getURL ("http://www.armorgames.com", "_blank");
};
}
Symbol 43 MovieClip [timerExplosion] Frame 1
counter = 0;
onEnterFrame = function () {
counter++;
if (counter == timerValue) {
this.removeMovieClip();
} else {
ee = _root.attachMovie("explosion", "ads" + _root.k, _root.k++);
ee._x = (this._x + random(20)) - 10;
ee._y = (this._y + random(20)) - 10;
ee._xscale = random(100) + 50;
ee._yscale = ee._xscale;
ee._rotation = random(360);
}
};
Symbol 45 MovieClip [static] Frame 8
this.removeMovieClip();
Symbol 49 MovieClip [scoreLaunch] Frame 20
this.removeMovieClip();
Symbol 55 MovieClip [buddy] Frame 1
youAcc = 4;
youDec = 0.2;
youSpeed = 0;
youMaxSpeed = 3;
player._x = random(450) + 25;
player._y = random(450) + 25;
i = 0;
while (i <= _root.enemyList.length) {
if (Math.abs(player._x - _root["e" + _root.enemyList[i]]._x) < 100) {
player._x = random(450) + 25;
i = 0;
}
i++;
}
i = 0;
while (i <= _root.enemyList.length) {
if (Math.abs(player._y - _root["e" + _root.enemyList[i]]._y) < 100) {
player._y = random(450) + 25;
i = 0;
}
i++;
}
player._rotation = random(360);
var val1x;
var val1y;
var val2x;
var val2y;
var temp1;
var valDist;
var temp2;
var targetVal = 400000;
var smallestVal = 40000;
var shootRate = 40;
var counter = 0;
var killCycle = 0;
var killCounter = 0;
var tempX = 0;
var tempY = 0;
var buddyNames0 = new Array("mx781", "Punisher", "ViewtifulBob1138", "Deamond606", "RaceBandit", "Flamedude", "Admiral N", "daperson", "TastyLamp", "Shadowfox2988", "Niki", "asdf1248", "jmtb02", "Merkage", "Jeppo", "Kriken Lord", "zara", "ArisingFlame", "LEXMARKZ2", "FikreesProjects", "Froggy618157725", "Dogod", "Dicko", "Nethac DIU", "Gamergull01", "ATSK04", "Kronos", "???", "NitroX72", "Angel of Death", "xplodes", "spartan117", "stevo", "penguin", "innesthesniper", "pwhk", "bubbleboy36", "master-chief", "crazygoatemonky", "Sylicas", "GolemdX");
var buddyNames1 = new Array("greg", "tom", "luis", "aaron", "bob", "nick", "casey", "john", "carlie", "jessica", "lauren", "alexis");
namer.nameBox.text = buddyNames0[random(buddyNames0.length)];
onEnterFrame = function () {
counter++;
namer._x = player._x;
namer._y = player._y;
if (counter >= shootRate) {
counter = 0;
e = _root.attachMovie("bullet2", _root.sorter(), _root.k++);
e.player._rotation = player._rotation - 90;
e.player._x = player._x;
e.player._y = player._y;
}
var _local5 = 400000 /* 0x061A80 */;
var _local4 = 40000;
i = 0;
while (i < _root.enemyList.length) {
val1x = _root["e" + _root.enemyList[i]].player._x;
val1y = _root["e" + _root.enemyList[i]].player._y;
val2x = player._x;
val2y = player._y;
temp1 = Math.pow(val2x - val1x, 2);
temp2 = Math.pow(val2y - val1y, 2);
valDist = Math.sqrt(temp1 + temp2);
if (valDist < _local4) {
_local4 = valDist;
_local5 = i;
}
i++;
}
closestX = _root["e" + _root.enemyList[_local5]].player._x;
closestY = _root["e" + _root.enemyList[_local5]].player._y;
prevx = closestX;
prevy = closestY;
circx = player._x;
circy = player._y;
if ((circx < prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
player._rotation = degrees + 90;
} else if ((circx < prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
player._rotation = 90 - degrees;
} else if ((circx > prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circx - prevx) / Math.abs(circy - prevy));
degrees = (angle * 180) / 3.141593;
player._rotation = -(180 - degrees);
} else if ((circx > prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
player._rotation = -(90 - degrees);
}
driftSpeed = 0.02;
if (_local4 > 100) {
player._x = player._x - (driftSpeed * ((player._x - closestX) / 2));
player._y = player._y - (driftSpeed * ((player._y - closestY) / 2));
} else {
player._x = player._x + (driftSpeed * ((player._x - closestX) / 2));
player._y = player._y + (driftSpeed * ((player._y - closestY) / 2));
}
if (killCycle == 0) {
i = 0;
while (i <= _root.enemyList.length) {
if (_root.dynamicHitTest(player, _root["e" + _root.enemyList[i]]) && (_root["e" + _root.enemyList[i]].startCode == true)) {
killCycle = 1;
}
i++;
}
}
if (killCycle == 1) {
killCounter = 0;
tempX = player._x;
tempY = player._y;
player._visible = false;
namer._visible = false;
killCycle = 2;
}
if (killCycle == 2) {
killCounter++;
if (killCounter == 30) {
killCycle = 3;
killCounter = 0;
}
g = 0;
while (g < 5) {
ee = _root.attachMovie(_root.types(4), "a" + _root.k, _root.k++);
ee.player._x = player._x;
ee.player._y = player._y;
tap = Math.round(Math.random() * 16777215);
var _local3 = new Color(ee);
_local3.setRGB(tap);
ff = _root.attachMovie(_root.types(4), "a" + _root.k, _root.k++);
ff.player._x = tempX;
ff.player._y = tempY;
tap = Math.round(Math.random() * 16777215);
_local3 = new Color(ff);
_local3.setRGB(tap);
g++;
}
}
if (killCycle == 3) {
this.removeMovieClip();
}
};
Symbol 56 MovieClip [bullet] Frame 1
function moveMe() {
youSpeed = Math.min(youMaxSpeed, youSpeed + youAcc);
xC = Math.cos((player._rotation * 3.141593) / 180) * youSpeed;
yC = Math.sin((player._rotation * 3.141593) / 180) * youSpeed;
player._x = player._x + xC;
player._y = player._y + yC;
oldX = player._x;
oldY = player._y;
}
life = 1;
youAcc = 0.2;
youDec = 0.2;
youSpeed = 5;
youMaxSpeed = 7;
if (!_root.cstatus) {
player._x = 0;
player._y = 0;
} else {
player._x = _root.player._x;
player._y = _root.player._y;
}
life = life * 50;
onEnterFrame = function () {
if (_root.cstatus) {
life--;
if (life < 10) {
player._alpha = life * 10;
}
if (life <= 0) {
_root.removeBullet(this);
}
moveMe();
if (player._rotation >= 360) {
player._rotation = player._rotation - 360;
}
if (player._rotation < 0) {
player._rotation = player._rotation + 360;
}
if (player._x >= 500) {
if ((player._rotation >= 0) && (player._rotation < 90)) {
player._rotation = 180 - player._rotation;
moveMe();
}
if ((player._rotation < 0) && (player._rotation > -90)) {
player._rotation = 180 - player._rotation;
moveMe();
}
}
if (player._x <= 0) {
if ((player._rotation <= 180) && (player._rotation > 90)) {
player._rotation = 180 - player._rotation;
moveMe();
}
if ((player._rotation > -180) && (player._rotation < -90)) {
player._rotation = 180 - player._rotation;
moveMe();
}
}
if (player._y <= 0) {
if ((player._rotation >= -180) && (player._rotation <= -90)) {
player._rotation = -player._rotation;
moveMe();
}
if ((player._rotation >= -90) && (player._rotation <= 0)) {
player._rotation = -player._rotation;
moveMe();
}
}
if (player._y >= 500) {
if ((player._rotation >= 90) && (player._rotation <= 180)) {
player._rotation = -player._rotation;
moveMe();
}
if ((player._rotation <= 90) && (player._rotation >= 0)) {
player._rotation = -player._rotation;
moveMe();
}
}
tracer = player._rotation;
}
};
Symbol 57 MovieClip [bullet2] Frame 1
function moveMe() {
youSpeed = Math.min(youMaxSpeed, youSpeed + youAcc);
xC = Math.cos((player._rotation * 3.141593) / 180) * youSpeed;
yC = Math.sin((player._rotation * 3.141593) / 180) * youSpeed;
player._x = player._x + xC;
player._y = player._y + yC;
oldX = player._x;
oldY = player._y;
}
life = 1;
youAcc = 0.2;
youDec = 0.2;
youSpeed = 5;
youMaxSpeed = 7;
if (!_root.cstatus) {
player._x = 0;
player._y = 0;
}
life = life * 50;
onEnterFrame = function () {
life--;
if (_root.nmbr <= _root.fpsThresh) {
life = life - _root.globalDrop;
}
if (life < 10) {
player._alpha = life * 10;
}
if (life <= 0) {
_root.removeBullet(this);
}
moveMe();
if (player._rotation >= 360) {
player._rotation = player._rotation - 360;
}
if (player._rotation < 0) {
player._rotation = player._rotation + 360;
}
if (player._x >= 500) {
if ((player._rotation >= 0) && (player._rotation < 90)) {
player._rotation = 180 - player._rotation;
moveMe();
}
if ((player._rotation < 0) && (player._rotation > -90)) {
player._rotation = 180 - player._rotation;
moveMe();
}
}
if (player._x <= 0) {
if ((player._rotation <= 180) && (player._rotation > 90)) {
player._rotation = 180 - player._rotation;
moveMe();
}
if ((player._rotation > -180) && (player._rotation < -90)) {
player._rotation = 180 - player._rotation;
moveMe();
}
}
if (player._y <= 0) {
if ((player._rotation >= -180) && (player._rotation <= -90)) {
player._rotation = -player._rotation;
moveMe();
}
if ((player._rotation >= -90) && (player._rotation <= 0)) {
player._rotation = -player._rotation;
moveMe();
}
}
if (player._y >= 500) {
if ((player._rotation >= 90) && (player._rotation <= 180)) {
player._rotation = -player._rotation;
moveMe();
}
if ((player._rotation <= 90) && (player._rotation >= 0)) {
player._rotation = -player._rotation;
moveMe();
}
}
tracer = player._rotation;
};
Symbol 60 MovieClip [dot] Frame 10
this.removeMovieClip();
Symbol 71 MovieClip [ending] Frame 176
onEnterFrame = null;
Symbol 71 MovieClip [ending] Frame 348
_root.gotoAndStop("gameOver");
Symbol 74 MovieClip Frame 30
stop();
_parent.startCode = true;
Symbol 75 MovieClip [enemy0] Frame 1
points = 75;
youAcc = 4;
youDec = 0.2;
youSpeed = 0;
youMaxSpeed = 3;
player._x = random(450) + 25;
player._y = random(450) + 25;
while (Math.abs(player._x - _root.player._x) < 25) {
player._x = random(450) + 25;
}
while (Math.abs(player._y - _root.player._y) < 25) {
player._y = random(450) + 25;
}
player._rotation = random(360);
onEnterFrame = function () {
if (startCode == true) {
_root.moveMe(this, 1);
_root.shotDown(this, 1, 1, 65280, 2, 39168, 3, 16777215);
_root.limits(this);
}
};
Symbol 78 MovieClip Frame 30
stop();
_parent.startCode = true;
Symbol 79 MovieClip [enemy1] Frame 1
points = 125;
youAcc = 4;
youDec = 0.2;
youSpeed = 0;
youMaxSpeed = 3;
driftSpeed = 0.001 * (random(50) + 1);
driftSpeed2 = driftSpeed / 4;
player._x = random(450) + 25;
player._y = random(450) + 25;
while (Math.abs(player._x - _root.player._x) < 25) {
player._x = random(450) + 25;
}
while (Math.abs(player._y - _root.player._y) < 25) {
player._y = random(450) + 25;
}
player._rotation = random(360);
onEnterFrame = function () {
if (startCode == true) {
_root.moveMe(this, 2);
_root.shotDown(this, 1, 1, 12567786, 2, 3950771, 3, 16777215);
_root.limits(this);
} else {
player._x = player._x - (driftSpeed2 * ((player._x - _root.player._x) / 2));
player._y = player._y - (driftSpeed2 * ((player._y - _root.player._y) / 2));
circx = player._x;
circy = player._y;
prevx = _root.player._x;
prevy = _root.player._y;
if ((circx < prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
player._rotation = degrees + 90;
} else if ((circx < prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
player._rotation = 90 - degrees;
} else if ((circx > prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circx - prevx) / Math.abs(circy - prevy));
degrees = (angle * 180) / 3.141593;
player._rotation = -(180 - degrees);
} else if ((circx > prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
player._rotation = -(90 - degrees);
}
}
};
Symbol 82 MovieClip Frame 30
stop();
_parent.startCode = true;
Symbol 83 MovieClip [enemy2] Frame 1
points = 125;
youAcc = 4;
youDec = 0.2;
youSpeed = 0;
youMaxSpeed = 3;
driftSpeed = 0.005;
player._x = random(450) + 25;
player._y = random(450) + 25;
while (Math.abs(player._x - _root.player._x) < 25) {
player._x = random(450) + 25;
}
while (Math.abs(player._y - _root.player._y) < 25) {
player._y = random(450) + 25;
}
player._rotation = random(360);
onEnterFrame = function () {
if (startCode == true) {
_root.moveMe(this, 3);
_root.shotDown(this, 2, 1, 10027008, 2, 13369344, 3, 16777215);
_root.limits(this);
} else {
player._x = player._x - (driftSpeed * ((player._x - _root.player._x) / 2));
player._y = player._y - (driftSpeed * ((player._y - _root.player._y) / 2));
circx = player._x;
circy = player._y;
prevx = _root.player._x;
prevy = _root.player._y;
if ((circx < prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
player._rotation = degrees + 90;
} else if ((circx < prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
player._rotation = 90 - degrees;
} else if ((circx > prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circx - prevx) / Math.abs(circy - prevy));
degrees = (angle * 180) / 3.141593;
player._rotation = -(180 - degrees);
} else if ((circx > prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
player._rotation = -(90 - degrees);
}
}
};
Symbol 86 MovieClip Frame 15
stop();
_parent.startCode = true;
Symbol 87 MovieClip [enemy2.5] Frame 1
points = 25;
youAcc = 4;
youDec = 0.2;
youSpeed = 0;
youMaxSpeed = 3;
driftSpeed = 0.001 * (random(40) + 1);
onEnterFrame = function () {
if (startCode == true) {
_root.moveMe(this, 2);
_root.shotDown(this, 1, 1, 10027008, 2, 13369344, 3, 16777215);
_root.limits(this);
} else {
player._x = player._x - (driftSpeed * ((player._x - _root.player._x) / 2));
player._y = player._y - (driftSpeed * ((player._y - _root.player._y) / 2));
circx = player._x;
circy = player._y;
prevx = _root.player._x;
prevy = _root.player._y;
if ((circx < prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
player._rotation = degrees + 90;
} else if ((circx < prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
player._rotation = 90 - degrees;
} else if ((circx > prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circx - prevx) / Math.abs(circy - prevy));
degrees = (angle * 180) / 3.141593;
player._rotation = -(180 - degrees);
} else if ((circx > prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
player._rotation = -(90 - degrees);
}
}
};
Symbol 90 MovieClip Frame 30
stop();
_parent.startCode = true;
Symbol 91 MovieClip [enemy3] Frame 1
points = 150;
youAcc = 4;
youDec = 0.2;
youSpeed = 0;
youMaxSpeed = 3;
driftSpeed = 0.01;
holdX = player._x;
holdY = player._y;
typeCast = 3;
player._rotation = random(360);
onEnterFrame = function () {
if (startCode == true) {
_root.moveMe(this, 4);
_root.shotDown(this, 1, 1, 16763904, 2, 16750848, 3, 16777215);
_root.limits(this);
}
};
Symbol 94 MovieClip Frame 30
stop();
_parent.startCode = true;
Symbol 95 MovieClip [enemy4] Frame 1
points = 200;
youAcc = 4;
youDec = 0.2;
youSpeed = 0;
youMaxSpeed = 3;
driftSpeed = 0.01;
holdX = player._x;
holdY = player._y;
limit = 40;
counter = random(limit) - 5;
player._x = random(450) + 25;
player._y = random(450) + 25;
while (Math.abs(player._x - _root.player._x) < 25) {
player._x = random(450) + 25;
}
while (Math.abs(player._y - _root.player._y) < 25) {
player._y = random(450) + 25;
}
player._rotation = random(360);
player._rotation = random(360);
onEnterFrame = function () {
if (startCode == true) {
_root.moveMe(this, 5);
_root.shotDown(this, 1, 1, 6684825, 2, 6710988, 3, 16777215);
_root.limits(this);
counter++;
if (counter == limit) {
counter = 0;
de = _root.attachMovie("enemy4.5", _root.esorter(), _root.k++);
de.player._x = player._x;
de.player._y = player._y;
de.player._rotation = player._rotation;
}
}
};
Symbol 98 MovieClip [enemy4.5] Frame 1
points = 5;
youAcc = 4;
youDec = 0.2;
youSpeed = 0;
youMaxSpeed = 3;
startCode = true;
onEnterFrame = function () {
if (startCode == true) {
_root.moveMe(this, 1);
_root.shotDown(this, 1, 1, 16777215, 2, 15132390, 3, 16777215);
_root.limits(this);
}
};
Symbol 101 MovieClip Frame 1
onEnterFrame = function () {
if (_root.cstatus) {
play();
} else {
stop();
}
};
Symbol 102 MovieClip Frame 30
stop();
_parent.startCode = true;
Symbol 103 MovieClip [enemy5] Frame 1
points = 225;
youAcc = 4;
youDec = 0.2;
youSpeed = 0;
youMaxSpeed = 1;
driftSpeed = 0.005;
player._x = random(450) + 25;
player._y = random(450) + 25;
while (Math.abs(player._x - _root.player._x) < 25) {
player._x = random(450) + 25;
}
while (Math.abs(player._y - _root.player._y) < 25) {
player._y = random(450) + 25;
}
player._rotation = random(360);
onEnterFrame = function () {
if (startCode == true) {
_root.moveMe(this, 3);
_root.shotDown(this, 1, 1, 4620678, 2, 39321, 3, 16777215);
_root.limits(this);
} else {
player._x = player._x - (driftSpeed * ((player._x - _root.player._x) / 2));
player._y = player._y - (driftSpeed * ((player._y - _root.player._y) / 2));
circx = player._x;
circy = player._y;
prevx = _root.player._x;
prevy = _root.player._y;
if ((circx < prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
player._rotation = degrees + 90;
} else if ((circx < prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
player._rotation = 90 - degrees;
} else if ((circx > prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circx - prevx) / Math.abs(circy - prevy));
degrees = (angle * 180) / 3.141593;
player._rotation = -(180 - degrees);
} else if ((circx > prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
player._rotation = -(90 - degrees);
}
}
};
Symbol 106 MovieClip Frame 30
stop();
_parent.startCode = true;
Symbol 107 MovieClip [enemy6] Frame 1
points = 125;
youAcc = 4;
youDec = 0.2;
youSpeed = 0;
youMaxSpeed = 3;
driftSpeed = 0.001 * (random(50) + 1);
driftSpeed2 = driftSpeed / 4;
player._x = random(450) + 25;
player._y = random(450) + 25;
while (Math.abs(player._x - _root.player._x) < 25) {
player._x = random(450) + 25;
}
while (Math.abs(player._y - _root.player._y) < 25) {
player._y = random(450) + 25;
}
onEnterFrame = function () {
if (startCode == true) {
_root.moveMe(this, 6);
_root.shotDown(this, 1, 1, 12288213, 2, 13421823, 3, 16777215);
_root.limits(this.player);
} else {
player._x = player._x - (driftSpeed2 * ((player._x - _root.player._x) / 2));
player._y = player._y - (driftSpeed2 * ((player._y - _root.player._y) / 2));
}
};
Symbol 110 MovieClip Frame 30
stop();
_parent.startCode = true;
Symbol 111 MovieClip [enemy7] Frame 1
points = 250;
youAcc = 4;
youDec = 0.2;
youSpeed = 0;
youMaxSpeed = 3;
player._x = random(450) + 25;
player._y = random(450) + 25;
while (Math.abs(player._x - _root.player._x) < 25) {
player._x = random(450) + 25;
}
while (Math.abs(player._y - _root.player._y) < 25) {
player._y = random(450) + 25;
}
onEnterFrame = function () {
if (startCode == true) {
if (_root.cstatus) {
_root.moveMe(this, 1);
_root.shotDown(this, 1, 1, 15367701, 2, 16039562, 3, 16777215);
_root.limits(this);
player._xscale = player._xscale + 10;
player._yscale = player._yscale + 10;
}
}
};
Symbol 114 MovieClip Frame 30
stop();
_parent.startCode = true;
Symbol 115 MovieClip [enemy8] Frame 1
points = 500;
youAcc = 4;
youDec = 0.2;
youSpeed = 0;
youMaxSpeed = 3;
driftSpeed = 0.05 + (random(10) * 0.01);
player._x = random(450) + 25;
player._y = random(450) + 25;
while (Math.abs(player._x - _root.player._x) < 25) {
player._x = random(450) + 25;
}
while (Math.abs(player._y - _root.player._y) < 25) {
player._y = random(450) + 25;
}
player._rotation = random(360);
onEnterFrame = function () {
if (startCode == true) {
_root.moveMe(this, 3);
_root.shotDown(this, 1, 1, 10027008, 2, 13369344, 3, 16777215);
_root.limits(this);
} else {
player._x = player._x - (driftSpeed * ((player._x - _root.player._x) / 2));
player._y = player._y - (driftSpeed * ((player._y - _root.player._y) / 2));
circx = player._x;
circy = player._y;
prevx = _root.player._x;
prevy = _root.player._y;
if ((circx < prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
player._rotation = degrees + 90;
} else if ((circx < prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
player._rotation = 90 - degrees;
} else if ((circx > prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circx - prevx) / Math.abs(circy - prevy));
degrees = (angle * 180) / 3.141593;
player._rotation = -(180 - degrees);
} else if ((circx > prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / 3.141593;
player._rotation = -(90 - degrees);
}
}
};
Symbol 118 MovieClip Frame 30
stop();
_parent.startCode = true;
Symbol 119 MovieClip [enemy9] Frame 1
points = 550;
youAcc = 4;
youDec = 0.2;
youSpeed = 0;
youMaxSpeed = 7;
player._x = random(450) + 25;
player._y = random(450) + 25;
while (Math.abs(player._x - _root.player._x) < 25) {
player._x = random(450) + 25;
}
while (Math.abs(player._y - _root.player._y) < 25) {
player._y = random(450) + 25;
}
player._rotation = random(360);
onEnterFrame = function () {
if (startCode == true) {
_root.moveMe(this, 1);
_root.shotDown(this, 1, 1, 3038921, 1, 12241903, 3, 16777215);
_root.limits(this);
}
};
Symbol 122 MovieClip Frame 30
stop();
_parent.startCode = true;
Symbol 123 MovieClip [enemy10] Frame 1
points = 150;
youAcc = 4;
youDec = 0.2;
youSpeed = 0;
youMaxSpeed = 3;
driftSpeed = 0.01;
holdX = player._x;
holdY = player._y;
player._rotation = random(360);
onEnterFrame = function () {
if (startCode == true) {
_root.moveMe(this, 7);
_root.shotDown(this, 1, 1, 9223490, 1, 13755572, 1, 16777215);
_root.limits(this);
}
};
Symbol 125 MovieClip [explosion] Frame 15
this.removeMovieClip();
Symbol 128 MovieClip [flood] Frame 10
this.removeMovieClip();
Symbol 132 Button
on (release) {
Mouse.show();
stopAllSounds();
_root.gotoAndPlay("game");
}
Symbol 135 Button
on (release) {
_root.gotoAndStop(3);
}
Symbol 138 Button
on (press) {
if (_root.posted == 0) {
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.name;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.score;
__rankz_send__("MjEwMGolZSVhJW4lcw==", "WGdzZGNlbW0=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
_root.posted = 1;
} else {
_root.statusmessage = "You have already submitted your score!";
}
}
Symbol 141 Button
on (press) {
getURL ("http://rankz.armorbot.com/RednBlu/", "_blank");
}
Symbol 151 MovieClip [gameOver] Frame 1
_root.stop();
stop();
Mouse.show();
if (_root.level < 10) {
sender = 1;
code = 59000;
} else if (_root.level < 20) {
sender = 2;
code = 59042;
} else if (_root.level < 30) {
sender = 3;
code = 59075;
} else if (_root.level < 40) {
sender = 4;
code = 59152;
} else if (_root.level < 50) {
sender = 5;
code = 59157;
} else if (_root.level < 60) {
sender = 6;
code = 59239;
}
gradeBox.gotoAndStop(sender);
var dispCode1 = (("<a href=\"http://www.armorgames.com/\"><img src=\"http://www.jmtb02.com/banners/" + code) + ".gif\" width=\"100\" height=\"100\" border=\"0\" /></a>");
var dispCode2 = (("[url=http://www.armorgames.com][img]http://www.jmtb02.com/banners/" + code) + ".gif[/img][/url]");
_root.name = "<<<enter name>>>";
_root.posted = 0;
Symbol 154 MovieClip [loser] Frame 180
_root.gotoAndStop("gameOver");
Symbol 165 Button
on (release) {
play();
}
Symbol 167 MovieClip [pauseScreen] Frame 10
stop();
Symbol 167 MovieClip [pauseScreen] Frame 11
_root.marker._visible = true;
Mouse.hide();
_root.shooting = false;
Symbol 167 MovieClip [pauseScreen] Frame 20
_root.cstatus = true;
this.removeMovieClip();
Symbol 176 MovieClip [powerUp0] Frame 5
stop();
onEnterFrame = function () {
if (this.hitTest(_root.player)) {
this.play();
_root.bulletType = 2;
_root.shootCount = 0;
_root.poweredUp = true;
}
counter++;
if (counter == 400) {
this.removeMovieClip();
}
};
counter = 0;
Symbol 176 MovieClip [powerUp0] Frame 6
onEnterFrame = null;
Symbol 176 MovieClip [powerUp0] Frame 34
this.removeMovieClip();
Symbol 177 MovieClip Frame 1
stop();
Symbol 181 Button
on (release) {
stopAllSounds();
onMouseMove = null;
nextFrame();
}
Symbol 185 Button
on (press) {
trace(gui._alpha);
if (_root.guiVis == 0) {
_root.guiVis = 1;
} else {
_root.guiVis = 0;
}
}
Symbol 228 MovieClip Frame 1
onEnterFrame = function () {
if (_root.lives == 0) {
gotoAndStop (1);
} else if ((_root.lives > 0) && (_root.lives < 11)) {
gotoAndStop(_root.lives + 1);
} else if (_root.lives >= 11) {
gotoAndStop (11);
}
};
stop();
Symbol 231 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 10
stop();
Symbol 248 MovieClip Frame 1
stop();