Frame 1
stop();
urlStart = _url.indexOf("://") + 3;
urlEnd = _url.indexOf("/", urlStart);
domain = _url.substring(urlStart, urlEnd);
LastDot = domain.lastIndexOf(".") - 1;
domEnd = domain.lastIndexOf(".", LastDot) + 1;
domain = domain.substring(domEnd, domain.length);
if (domain != "claxor.com") {
}
var MENU = new ContextMenu();
MENU.hideBuiltInItems();
MENU.builtInItems.quality = true;
_root.menu = MENU;
_root.onEnterFrame = function () {
var _local2 = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
loading.text = _local2;
if (_local2 == 100) {
play();
_root.onEnterFrame = null;
}
};
Frame 2
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3);
par227.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + "j%e%a%n%s");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/", par228, "POST");
}
function dam() {
trace("DAMAMA");
}
function cleanUp() {
game.removeMovieClip();
_root.onEnterFrame = null;
}
function removeRope(pp) {
if (pp == -1) {
return(undefined);
}
if (pp == undefined) {
ropee = false;
var _local1 = firstC;
while (_local1 <= lastC) {
p.enStickConstraint(_local1, false);
_local1++;
}
} else {
p.enStickConstraint(pp, false);
ropebr = true;
ropebrp = pp;
}
}
function reenableRope() {
ropee = true;
ropebr = false;
var _local1 = firstC;
while (_local1 <= lastC) {
p.enStickConstraint(_local1, true);
_local1++;
}
}
function repositionRope() {
var _local3 = 0;
while (_local3 < numP) {
if (_local3 == (numP - 1)) {
this["p" + (_local3 + 1)].xp = p0.xp;
this["p" + (_local3 + 1)].yp = p0.yp + (yo * (_local3 + 1));
} else {
this["p" + (_local3 + 1)].xp = p0.xp;
this["p" + (_local3 + 1)].yp = p0.yp + (yo * (_local3 + 1));
}
var _local2 = this["p" + (_local3 + 1)];
if (_local3 == (numP - 1)) {
ulP.xp = _local2.xp - pw;
ulP.yp = _local2.yp - ph;
urP.xp = _local2.xp + pw;
urP.yp = _local2.yp - ph;
llP.xp = _local2.xp - pw;
llP.yp = _local2.yp + ph;
lrP.xp = _local2.xp + pw;
lrP.yp = _local2.yp + ph;
}
_local3++;
}
_local3 = firstP;
while (_local3 <= lastP) {
var _local4 = p.getParticleN(_local3);
p.setParticleN(_local3, _local4.xp, _local4.yp, true);
_local3++;
}
}
function respawn() {
pBug.dead = false;
pBug._visible = true;
if (lifes == 0) {
cleanUp();
_root.nextFrame();
return(undefined);
}
pBug.gotoAndStop("liv");
p.YMAX = sH;
repositionRope();
reenableRope();
pBug.prot = true;
pBug.cc = 0;
pBug.onEnterFrame = function () {
this.cc++;
if ((this.cc % 10) == 4) {
this._alpha = 30;
} else if ((this.cc % 10) == 9) {
this._alpha = 100;
}
if (this.cc > 70) {
this._alpha = 100;
this.prot = false;
this.onEnterFrame = null;
}
};
}
function die(pp) {
if (pBug.prot) {
return(undefined);
}
pBug.dead = true;
lifes--;
hud["b" + (lifes + 1)].play();
if (pp != 0) {
p.YMAX = 20000000 /* 0x1312D00 */;
}
pBug.prot = true;
removeRope(pp);
pBug.cc = 0;
pBug.onEnterFrame = function () {
this.cc++;
if (this.cc > 70) {
respawn();
}
};
}
function blow(xs, ys) {
die(lastP - 5);
pBug._visible = false;
var _local5 = _root.game.effects.attachMovie("boom2", "boom" + (boom2N + 300), boom2N + 300);
_local5._x = pBug._x;
_local5._y = pBug._y;
var _local6 = p.getParticleN(lastP - 6);
_local6.xp = _local6.xp + (xs * 15);
_local6.yp = _local6.yp + (ys * 70);
var _local4 = 0;
while (_local4 < bodyParts.length) {
var _local3 = _root.game.bullets.attachMovie(bodyParts[_local4], "bp" + _local4, _local4 + 1000);
_local3._x = pBug._x;
_local3._y = pBug._y;
if (bodyParts[_local4] == "bone") {
_local3._xscale = (_local3._yscale = 25 + (Math.random() * 75));
}
_local3.xs = (Math.random() * 30) - 15;
_local3.ys = (Math.random() * 30) - 20;
_local3.rs = (Math.random() * 60) - 30;
_local3.cc = 0;
_local3.ww = (_local3._width * _local3._xscale) / 200;
_local3.onEnterFrame = function () {
this.cc++;
this._x = this._x + this.xs;
this._y = this._y + this.ys;
this._rotation = this._rotation + this.rs;
this.ys = this.ys + 0.9;
if (this.cc < 60) {
if (this._y > (sH - this.ww)) {
this._y = sH - this.ww;
this.ys = this.ys * -0.8;
}
}
if (((((this._x * -1) > 50) || (this._x > (sW + 50))) || ((this._y * -1) > 50)) || (this._y > (sH + 50))) {
this.removeMovieClip();
}
};
_local4++;
}
}
function getDist(x1, y1, x2, y2) {
var _local1 = x1 - x2;
var _local2 = y1 - y2;
return(Math.sqrt((_local1 * _local1) + (_local2 * _local2)));
}
function ropeHitTest(mc) {
var _local1 = firstP;
while (_local1 <= (lastP - 5)) {
var _local2 = p.getParticleN(_local1);
if (getDist(mc._x, mc._y, _local2.xp, _local2.yp) < (mc._width / 2)) {
return(_local1);
}
_local1++;
}
return(-1);
}
function solBehav() {
if (this.rc > 0) {
this.rc--;
} else {
this.rc = 0;
}
this.cc++;
this.xs = 0;
trace("BOSS: " + boss);
if (boss) {
if (this._x < (sW / 2)) {
this.txp = -100;
} else {
this.txp = sW + 100;
}
} else if (this.cc < 30) {
this.txp = 400;
} else if ((((Math.random() < 0.013) || (this._x < 75)) || (this._x > (sW - 75))) && (this.cs == "stand")) {
this.txp = (Math.random() * (sW - 150)) + 75;
}
((pBug._x > this._x) ? ((this.xd = 1)) : ((this.xd = -1)));
this.xs = this.txp - this._x;
((this.xs > 5) ? ((this.xs = 5)) : ((((this.xs * -1) > 5) ? ((this.xs = -5)) : 0)));
((Math.abs(this.xs) < 0.2) ? ((this.xs = 0)) : 0);
if (((((((!boss) && (Math.random() < 0.11)) && (this.rc == 0)) && (!pBug.prot)) && (this._x > 75)) && (this._x < (sW - 75))) && ((this.cs == "stand") || ((this.xs / Math.abs(this.xs)) == this.xd))) {
this.rc = 75;
shoot(this);
}
this._x = this._x + this.xs;
if (this.xs > 0) {
this.txs = 100;
this.gotoAndStop("walk");
this.cs = "walk";
} else if (this.xs < 0) {
this.txs = -100;
this.gotoAndStop("walk");
this.cs = "walk";
} else {
this.gotoAndStop("stand");
this.cs = "stand";
if (this._x < pBug._x) {
this.txs = 100;
} else {
this.txs = -100;
}
}
if (pBug.dead || (boss)) {
this.tr = 0;
} else if ((this.cc % 1) == 0) {
this.tr = Math.atan2(pBug._y - this._y, (pBug._x - this._x) * (this._xscale / 100)) * radToDeg;
if ((this.s.g._rotation - 180) > this.tr) {
this.tr = this.tr + 360;
}
if ((this.s.g._rotation + 180) < this.tr) {
this.tr = this.tr - 360;
}
}
if ((this.tr * -1) > 95) {
this.tr = -95;
}
if (this.tr > 5) {
this.tr = 5;
}
this.s.g._rotation = this.tr + 45;
if (this.txs != this._xscale) {
if (this.txs > this._xscale) {
this._xscale = this._xscale + 25;
if (this._xscale > txs) {
this._xscale = txs;
}
} else {
this._xscale = this._xscale - 25;
if (this._xscale < txs) {
this._xscale = txs;
}
}
}
}
function shoot(sol) {
bulN++;
bulN = bulN % 200;
var _local3 = _root.game.bullets.attachMovie("bullet", "bul" + bulN, bulN);
var _local7 = _root.game.effects.attachMovie("boom", "boom" + bulN, bulN);
var _local5 = Math.sin(sol.tr * (Math.PI/180));
var _local6 = Math.cos(sol.tr * (Math.PI/180));
_local3._x = sol._x + ((solBXO + (70 * _local6)) * (sol._xscale / 100));
_local3._y = (sol._y + solBYO) + (70 * _local5);
_local7._x = _local3._x;
_local7._y = _local3._y;
_local3.xs = (15 * _local6) * (sol._xscale / 100);
_local3.ys = 15 * _local5;
_local3.onEnterFrame = function () {
this._x = this._x + this.xs;
this._y = this._y + this.ys;
if ((this.hitTest(pBug.ha) && (pBug._visible)) && ((!pBug.prot) || (pBug.dead))) {
blow(this.xs, this.ys);
this.removeMovieClip();
}
if (((((this._x * -1) > 50) || (this._x > (sW + 50))) || ((this._y * -1) > 50)) || (this._y > (sH + 50))) {
this.removeMovieClip();
}
};
}
function getSoldier(f, d) {
if (d == "h") {
var _local1 = 0;
while (_local1 < soldierAH.length) {
if (f == soldierAH[_local1]) {
return(true);
}
if ((_local1 == (soldierAH.length - 1)) && (f > soldierAH[_local1])) {
if ((f % 300) == 299) {
return(true);
}
}
_local1++;
}
return(false);
}
}
function getNinja(f, d) {
if (d == "h") {
trace("F: " + f);
var _local1 = 0;
while (_local1 < ninjaAH.length) {
if ((f >= ninjaAH[_local1][0]) && (f <= ninjaAH[_local1][1])) {
if ((f % ninjaAH[_local1][2]) == (ninjaAH[_local1][2] - 1)) {
return([true, (f - ninjaAH[_local1][0]) + 1]);
}
return([false, (f - ninjaAH[_local1][0]) + 1]);
}
_local1++;
}
return([false, 0]);
}
}
function nextLevel(boss) {
if (boss) {
level++;
hud.warning.play();
} else {
level++;
hud.lvl.play();
hud.lvl.lvl.lvl_txt.text = "LEVEL " + level;
}
hud.score.level_txt.text = "LEVEL " + level;
}
trace(ab3.rankz.Armor_Bot_30_En_AS1.Encode);
var initt = false;
var sound = true;
var numP = 10;
var diff = "h";
var yo = 19;
var maxY = 1.8;
var horF = 2;
var pw = 63;
var ph = 43.5;
var pDist = Math.sqrt((pw * pw) + (ph * ph));
var radToDeg = 57.2957795130823;
var lifes = 3;
var ropebrp = 0;
var ropebr = false;
var boom2N = 0;
var soldierUp = 60;
var solBXO = 10;
var solBYO = -5;
var ropee = true;
var f = 0;
var ninjaN = 0;
var ninjaO = 10;
var solN = 0;
var bulN = 0;
var nW = 150;
var nH = 27;
var soX = 170;
var soY = 22;
var minNH = 70;
var maxNH = 420;
var sW = 900;
var sH = 700;
var soldierAH = [40, 500, 1500, 2000, 3300, 3800, 5000];
var ninjaAH = [[1000, 1450, 80], [2500, 3200, 40], [4000, 4800, 20]];
var bodyParts = ["heart", "brain", "eye", "eye", "bone", "bone", "bone", "bone"];
var p = new ParticleSystem(2, 0.98, 3, 0, sW, 0, sH, 6);
var p0 = new Particle(50, 30, 1);
var mn = p.addParticle(p0);
p.lockParticle(p0, true);
if (initt == false) {
var i = 0;
while (i < numP) {
if (i == (numP - 1)) {
this["p" + (i + 1)] = new Particle(p0.xp, p0.yp + (yo * (i + 1)), 1);
} else {
this["p" + (i + 1)] = new Particle(p0.xp, p0.yp + (yo * (i + 1)), 1);
}
var lastP = p.addParticle(this["p" + (i + 1)]);
if (i == 0) {
var firstP = lastP;
}
var ppp = this["p" + (i + 1)];
if (i == 0) {
var firstC = p.addStickConstraint(this["p" + (i + 1)], this["p" + i], 0);
} else {
var lastC = p.addStickConstraint(this["p" + (i + 1)], this["p" + i], yo);
}
if (i == (numP - 1)) {
var ulP = new Particle(ppp.xp - pw, ppp.yp - ph, 0.2);
var urP = new Particle(ppp.xp + pw, ppp.yp - ph, 0.2);
var llP = new Particle(ppp.xp - pw, ppp.yp + ph, 1.4);
var lrP = new Particle(ppp.xp + pw, ppp.yp + ph, 1.4);
p.addParticle(ulP);
p.addParticle(urP);
p.addParticle(llP);
lastP = p.addParticle(lrP);
p.addStickConstraint(ppp, ulP, pDist);
p.addStickConstraint(ppp, urP, pDist);
p.addStickConstraint(ppp, llP, pDist);
p.addStickConstraint(ppp, lrP, pDist);
p.addStickConstraint(lrP, ulP, pDist * 2);
p.addStickConstraint(llP, urP, pDist * 2);
p.addStickConstraint(ulP, urP, pw * 2);
p.addStickConstraint(llP, lrP, pw * 2);
p.addStickConstraint(ulP, llP, ph * 2);
p.addStickConstraint(urP, lrP, ph * 2);
}
i++;
}
initt = true;
}
dam();
trace("BAM");
Frame 3
_root.stop();
Frame 4
stop();
Instance of Symbol 140 MovieClip in Frame 4
onClipEvent (enterFrame) {
this.onPress = function () {
getURL ("http://www.armorgames.com", "_blank");
};
}
Frame 5
_root.stop();
Frame 406
stopAllSounds();
Frame 429
stopAllSounds();
gotoAndStop ("menu");
Frame 430
stop();
reenableRope();
repositionRope();
_root.createEmptyMovieClip("game", 5);
var pBug = _root.game.attachMovie("pBug", "pBug", 2);
pBug.prot = false;
pBug.dead = false;
_root.game.createEmptyMovieClip("rope", 1);
_root.onEnterFrame = function () {
p.stepTime();
p.setParticle(p0, _xmouse, _ymouse);
_root.game.rope.clear();
_root.game.rope.lineStyle(2);
_root.game.rope.moveTo(p0.xp, p0.yp);
var _local4 = 0;
while (_local4 < numP) {
_root.game.rope.lineStyle(2);
var _local5 = p.getParticle(this["p" + (_local4 + 1)]);
var _local3 = p.getParticle(this["p" + _local4]);
var _local6 = _local5.xp - _local3.xp;
var _local7 = _local5.yp - _local3.yp;
if (ropee) {
if ((!ropebr) || (Math.abs(_local4 - ropebrp) > 1)) {
if (_local4 == 0) {
_root.game.rope.lineTo(_local3.xp + (_local6 / 2), _local3.yp + (_local7 / 2));
} else {
_root.game.rope.curveTo(_local3.xp, _local3.yp, _local3.xp + (_local6 / 2), _local3.yp + (_local7 / 2));
}
} else if (ropebrp == (_local4 - 1)) {
_root.game.rope.lineTo(_local3.xp, _local3.yp);
} else if (_local4 == ropebrp) {
_root.game.rope.moveTo(_local5.xp, _local5.yp);
} else {
_root.game.rope.lineTo(_local3.xp + (_local6 / 2), _local3.yp + (_local7 / 2));
}
}
_local4++;
}
var _local14 = ulP.xp;
var _local12 = ulP.yp;
var _local13 = llP.xp;
var _local11 = llP.yp;
var _local10 = Math.atan2(_local11 - _local12, _local13 - _local14) * radToDeg;
pBug._rotation = _local10 - 90;
pBug._x = Math.round(_local5.xp);
pBug._y = Math.round(_local5.yp);
var _local16 = _local5.xp - ox;
var _local8 = _local5.yp - oy;
if (_local10 < 0) {
_local8 = _local8 * -1;
}
if (!pBug.dead) {
if (oy == undefined) {
var _local15 = 1 + horF;
} else if (_local8 < 0) {
var _local15 = ((_local8 < -3) ? 1 : (((_local8 < -1.5) ? 2 : 3)));
} else {
var _local15 = Math.min(pBug.pSprite._totalframes - horF, Math.ceil(_local8 / maxY)) + horF;
}
} else {
var _local15 = Math.min(pBug.pSprite._totalframes, Math.ceil(_local8 / maxY));
}
var _local9 = _local15 - pBug.pSprite._currentframe;
((_local9 > 2) ? (_local9 = 2) : (((_local9 < -2) ? (_local9 = -2) : 0)));
pBug.pSprite.gotoAndStop(pBug.pSprite._currentframe + _local9);
ox = _local5.xp;
oy = _local5.yp;
};
Instance of Symbol 225 MovieClip in Frame 430
onClipEvent (load) {
startDrag ("", true);
Mouse.hide();
}
Instance of Symbol 59 MovieClip in Frame 430
on (release) {
getURL ("http://www.claxor.com/", _blank);
}
Instance of Symbol 241 MovieClip "popMC" in Frame 430
onClipEvent (load) {
this._visible = false;
}
Frame 431
stop();
rankz_t10_send = new LoadVars();
rankz_t10_receive = new LoadVars();
rankz_t10_send.SU0249 = "MjE0OWolZSVhJW4lcw==";
rankz_t10_send.flashkey = "bFRQbVVJRWE=";
rankz_t10_receive.onLoad = function (success) {
if (success) {
hs.nextFrame();
_rankz_ar_ = rankz_t10_receive.top10.split("<u/*/u>");
i = 0;
while (i < _rankz_ar_.length) {
tempv = _rankz_ar_[i].split("</*/>");
hs["rankz_n" + (i + 1)].text = tempv[0];
hs["rankz_v" + (i + 1)].text = tempv[1];
i++;
}
} else {
trace("ERROR");
}
};
rankz_t10_send.sendAndLoad("http://rankz.armorbot.com/get/top10.php", rankz_t10_receive, "POST");
Frame 434
function updateFrameRate() {
if (counter == updateRate) {
var _local2 = getTimer();
var _local3 = (_local2 - startTime) / 1000;
var _local1 = updateRate / _local3;
_local1 = Math.floor(_local1 * precision) / precision;
_level0.fps_txt.text = "FPS: " + _local1;
startTime = _local2;
counter = 1;
} else {
counter++;
}
}
stop();
p.YMAX = sH;
numP = 10;
yo = 19;
maxY = 1.8;
horF = 2;
pw = 63;
ph = 43.5;
pDist = Math.sqrt((pw * pw) + (ph * ph));
radToDeg = 57.2957795130823;
lifes = 3;
b1.gotoAndStop(1);
b2.gotoAndStop(1);
b3.gotoAndStop(1);
ropebrp = 0;
ropebr = false;
boom2N = 0;
soldierUp = 60;
solBXO = 10;
solBYO = -5;
var sliceN = 0;
var boss = false;
var bossL = 0;
var level = 0;
ropee = true;
f = -30;
ninjaN = 0;
ninjaO = 10;
solN = 0;
bulN = 0;
nW = 150;
nH = 27;
soX = 170;
soY = 22;
minNH = 70;
maxNH = 420;
sW = 900;
sH = 700;
reenableRope();
repositionRope();
var counter = 1;
var startTime = getTimer();
var updateRate = 6;
var precision = 1;
precision = Math.pow(10, precision);
_root.createEmptyMovieClip("game", 5);
var pBug = _root.game.attachMovie("pBug", "pBug", 2);
pBug.prot = false;
pBug.dead = false;
_root.game.createEmptyMovieClip("rope", 1);
_root.game.createEmptyMovieClip("ninjas", 4);
_root.game.createEmptyMovieClip("bullets", 3);
_root.game.createEmptyMovieClip("effects", 6);
hud.swapDepths(10);
p.setParticle(p0, _xmouse, _ymouse);
var i = 0;
while (i < 50) {
p.stepTime();
i++;
}
var ox;
var oy;
_root.onEnterFrame = function () {
p.stepTime();
f++;
hud.score.score_txt.text = "SCORE: " + Math.max(f, 0);
solS = getSoldier(f, diff);
var _local13 = getNinja(f, diff);
var _local12 = _local13[1];
var _local21 = _local13[0];
if (_local12 > 0) {
boss = true;
} else {
boss = false;
}
if (_local12 == 2) {
nextLevel(true);
}
trace((f + " - ") + _local12);
if (solS) {
nextLevel(false);
solN++;
var _local8 = _root.game.ninjas.attachMovie("soldierS", "sol" + solN, solN + 600);
_local8._y = sH - soldierUp;
if (Math.random() > 0.5) {
_local8._x = -(_local8._width / 2);
} else {
_local8._x = sW + (_local8._width / 2);
_local8._xscale = _local8._xscale * -1;
}
_local8.cc = 0;
_local8.tr = 0;
_local8.rc = 0;
_local8.onEnterFrame = solBehav;
}
trace("MEBOSS: " + boss);
if ((_local12 > 75) && (_local21)) {
var _local10 = _root.game.ninjas.attachMovie("ninjaS", "ninja" + ninjaN, ninjaN);
var _local9 = _root.game.ninjas.attachMovie("starS", "star" + ninjaN, ninjaN + 200);
_local10._y = Math.min(Math.max(minNH, pBug._y + ((Math.random() * 150) - 75)), maxNH);
if (pBug._x < (sW / 2)) {
_local10._x = sW - ninjaO;
_local10._xscale = _local10._xscale * -1;
_local9._xscale = _local9._xscale * -1;
var dir = -1;
} else {
_local10._x = ninjaO;
var dir = 1;
}
_local9._x = _local10._x + (soX * dir);
_local9._y = _local10._y + soY;
_local9.dir = dir;
_local9.ra = 16;
_local9.xs = 0;
_local9.ys = 0;
_local9.count = 0;
_local9.ninja = _local10;
_local9.onEnterFrame = function () {
this.count++;
this.ns._rotation = this.ns._rotation + this.ra;
this._x = this._x + this.xs;
this._y = this._y + this.ys;
if (this.count == 18) {
this.ninja.play();
this.xs = 20 * this.dir;
((!pBug.prot) ? ((this.ys = (pBug._y - this._y) / ((pBug._x - this._x) / this.xs))) : 0);
this.ra = 35;
}
if ((this._x < -50) || (this._x > (sW + 100))) {
this.removeMovieClip();
}
if ((!pBug.prot) && (this.hitTest(pBug.ha))) {
this.ninja.play();
_root.die(0);
if (this._x > pBug._x) {
pBug.gotoAndStop("deadbh");
} else if (this._y > pBug._y) {
pBug.gotoAndStop("deadb");
} else {
pBug.gotoAndStop("deada");
}
this.removeMovieClip();
}
var _local4 = ropeHitTest(this);
if ((!pBug.prot) && (_local4 != -1)) {
_root.die(_local4);
var _local3 = _root.game.effects.attachMovie("slice", "slice" + sliceN, sliceN + 2500);
sliceN++;
sliceN = sliceN % 50;
_local3._x = this._x;
_local3._y = this._y;
}
};
ninjaN++;
ninjaN = ninjaN % 200;
}
p.setParticle(p0, _xmouse, _ymouse);
_root.game.rope.clear();
_root.game.rope.lineStyle(2);
_root.game.rope.moveTo(p0.xp, p0.yp);
var _local4 = 0;
while (_local4 < numP) {
_root.game.rope.lineStyle(2);
var _local5 = p.getParticle(this["p" + (_local4 + 1)]);
var _local3 = p.getParticle(this["p" + _local4]);
var _local6 = _local5.xp - _local3.xp;
var _local7 = _local5.yp - _local3.yp;
if (ropee) {
if ((!ropebr) || (Math.abs(_local4 - ropebrp) > 1)) {
if (_local4 == 0) {
_root.game.rope.lineTo(_local3.xp + (_local6 / 2), _local3.yp + (_local7 / 2));
} else {
_root.game.rope.curveTo(_local3.xp, _local3.yp, _local3.xp + (_local6 / 2), _local3.yp + (_local7 / 2));
}
} else if (ropebrp == (_local4 - 1)) {
_root.game.rope.lineTo(_local3.xp, _local3.yp);
} else if (_local4 == ropebrp) {
_root.game.rope.moveTo(_local5.xp, _local5.yp);
} else {
_root.game.rope.lineTo(_local3.xp + (_local6 / 2), _local3.yp + (_local7 / 2));
}
}
_local4++;
}
var _local20 = ulP.xp;
var _local18 = ulP.yp;
var _local19 = llP.xp;
var _local17 = llP.yp;
var _local15 = Math.atan2(_local17 - _local18, _local19 - _local20) * radToDeg;
pBug._rotation = _local15 - 90;
pBug._x = Math.round(_local5.xp);
pBug._y = Math.round(_local5.yp);
var xs = (_local5.xp - ox);
var ys = (_local5.yp - oy);
if (_local15 < 0) {
ys = ys * -1;
}
if (!pBug.dead) {
if (oy == undefined) {
var _local22 = 1 + horF;
} else if (ys < 0) {
var _local22 = ((ys < -3) ? 1 : (((ys < -1.5) ? 2 : 3)));
} else {
var _local22 = Math.min(pBug.pSprite._totalframes - horF, Math.ceil(ys / maxY)) + horF;
}
} else {
var _local22 = Math.min(pBug.pSprite._totalframes, Math.ceil(ys / maxY));
}
var _local11 = _local22 - pBug.pSprite._currentframe;
((_local11 > 2) ? (_local11 = 2) : (((_local11 < -2) ? (_local11 = -2) : 0)));
pBug.pSprite.gotoAndStop(pBug.pSprite._currentframe + _local11);
ox = _local5.xp;
oy = _local5.yp;
};
Frame 435
stop();
scoretxt.text = f;
if (myname == undefined) {
var myname = "John Doe";
} else {
name_txt.text = myname;
}
Symbol 3 MovieClip [slice] Frame 15
this.removeMovieClip();
Symbol 20 Button
on (release) {
getURL ("http://www.armorgames.com/", _blank);
}
Symbol 327 MovieClip [__Packages.ParticleSystem] Frame 0
class ParticleSystem
{
function ParticleSystem (g, d, f, xmi, xma, ymi, yma, it) {
GRAVITY = g;
DAMP = d;
FRIC_TRES = f;
XMIN = xmi;
XMAX = xma;
YMIN = ymi;
YMAX = yma;
if (it != undefined) {
NUM_IT = it;
}
}
function cloneO(o) {
var _local2 = new Object();
for (var _local3 in o) {
_local2[_local3] = o[_local3];
}
return(_local2);
}
function setTimeStep(ts) {
if (ts != timeStep) {
timeStepT = ts;
setTS = true;
}
}
function setTimeStepNow(ts) {
setTS = false;
var _local3 = ts / timeStep;
var _local4 = 0;
var _local5 = 0;
var _local2 = 0;
while (_local2 < PARTICLES) {
_local4 = pP[_local2].xp - pOP[_local2].xp;
_local5 = pP[_local2].yp - pOP[_local2].yp;
pOP[_local2].xp = pP[_local2].xp - (_local4 * _local3);
pOP[_local2].yp = pP[_local2].yp - (_local5 * _local3);
_local2++;
}
timeStep = ts;
}
function constrainAngle(p1, p2, p3, a) {
var _local19 = p1.xp;
var _local17 = p1.yp;
var _local8 = p2.xp;
var _local6 = p2.yp;
var _local16 = p3.xp;
var _local24 = p3.yp;
var _local15 = Math.sqrt(((_local19 - _local8) * (_local19 - _local8)) + ((_local17 - _local6) * (_local17 - _local6)));
var _local14 = Math.sqrt(((_local16 - _local8) * (_local16 - _local8)) + ((_local24 - _local6) * (_local24 - _local6)));
var _local20 = findTheta(p1, p2, p3, true);
var _local11 = findTheta(p1, p2, p3);
var _local25 = ((p1.xp + p2.xp) + p3.xp) / 3;
var _local26 = ((p1.yp + p2.yp) + p3.yp) / 3;
var _local13 = 1 / _local15;
var _local12 = 1 / _local14;
if (p1.locked) {
_local13 = 0;
}
if (p3.locked) {
_local12 = 0;
}
var _local18 = a;
_local11 = findTheta(p1, p2, p3);
var _local7 = _local11;
if (Math.abs(angD(_local11, _local18)) > 180) {
}
var _local21 = (_local7 - _local18) / (_local7 * (_local13 + _local12));
var _local28 = (_local13 * _local7) * _local21;
var _local27 = (_local12 * _local7) * _local21;
var _local23 = (_local20.a1 - _local28) * DTR;
var _local22 = (_local20.a2 + _local27) * DTR;
p1.xp = p2.xp + (Math.cos(_local23) * _local15);
p3.xp = p2.xp + (Math.cos(_local22) * _local14);
p1.yp = p2.yp + (Math.sin(_local23) * _local15);
p3.yp = p2.yp + (Math.sin(_local22) * _local14);
var _local30 = ((p1.xp + p2.xp) + p3.xp) / 3;
var _local29 = ((p1.yp + p2.yp) + p3.yp) / 3;
var _local9 = _local30 - _local25;
var _local10 = _local29 - _local26;
var _local5 = 0;
if (p1.locked) {
_local5++;
}
if (p2.locked) {
_local5++;
}
if (p3.locked) {
_local5++;
}
_local9 = _local9 * (3 / (3 - _local5));
_local10 = _local10 * (3 / (3 - _local5));
if (!p1.locked) {
p1.xp = p1.xp - _local9;
p1.yp = p1.yp - _local10;
}
if (!p2.locked) {
p2.xp = p2.xp - _local9;
p2.yp = p2.yp - _local10;
}
if (!p3.locked) {
p3.xp = p3.xp - _local9;
p3.yp = p3.yp - _local10;
}
}
function findTheta(p1, p2, p3, retOb) {
var _local10 = p1.xp;
var _local9 = p1.yp;
var _local7 = p2.xp;
var _local6 = p2.yp;
var _local8 = p3.xp;
var _local17 = p3.yp;
var _local16 = _local10 - _local7;
var _local14 = _local9 - _local6;
var _local15 = _local8 - _local7;
var _local13 = _local17 - _local6;
var _local12 = Math.atan2(_local14, _local16);
var _local11 = Math.atan2(_local13, _local15);
var _local5 = _local12 * RTD;
var _local4 = _local11 * RTD;
var _local2 = Math.abs(angD(_local5, _local4));
if (angD(_local5, _local4) < 0) {
_local2 = 360 - _local2;
}
if (retOb) {
var _local3 = new Object();
_local3.theta = _local2;
_local3.a1 = _local5;
_local3.a2 = _local4;
return(_local3);
}
return(_local2);
}
function angD(a1, a2) {
if ((a1 - a2) > 180) {
a1 = a1 - 360;
} else if ((a1 - a2) < -180) {
a1 = a1 + 360;
}
return(a1 - a2);
}
function addParticle(p) {
pP.push(p);
pOP.push(new Object({xp:p.xp, yp:p.yp}));
pA.push([0, 0]);
PARTICLES++;
p.pNum = pP.length - 1;
p.aCA = [];
return(pP.length - 1);
}
function explode(xp, yp, r) {
var _local4 = new Particle(xp, yp, 0);
var _local5 = 0;
var _local3 = 0;
var _local6 = 0;
var _local2 = 0;
while (_local2 < pP.length) {
_local5 = _local4.getAng(pP[_local2]);
_local3 = _local4.getDist(pP[_local2]);
_local6 = ((1 / (_local3 * _local3)) * 1000000) + _local3;
if (_local3 <= r) {
pP[_local2].xp = _local4.xp + (Math.cos(_local5) * _local6);
pP[_local2].xp = _local4.xp + (Math.cos(_local5) * _local6);
}
_local2++;
}
}
function getParticle(pNum) {
return(pP[pNum.pNum]);
}
function getParticleN(pNum) {
return(pP[pNum]);
}
function setParticle(pNum, xp, yp, setOld) {
pP[pNum.pNum].xp = xp;
pP[pNum.pNum].yp = yp;
if (setOld) {
pOP[pNum.pNum].xp = xp;
pOP[pNum.pNum].yp = yp;
}
}
function setParticleN(pNum, xp, yp, setOld) {
pP[pNum].xp = xp;
pP[pNum].yp = yp;
if (setOld) {
pOP[pNum].xp = xp;
pOP[pNum].yp = yp;
}
}
function setParticleMass(pNum, m) {
pP[pNum.pNum].mass = m;
}
function lockParticle(pNum, lock) {
pP[pNum.pNum].locked = lock;
}
function addStickConstraint(p1, p2, d, d2) {
var _local2 = new Object();
_local2.p1 = pP[p1.pNum];
_local2.p2 = pP[p2.pNum];
_local2.d = d;
_local2.d2 = d2;
_local2.e = true;
stickC.push(_local2);
return(stickC.length - 1);
}
function addAngConstraint(p1, p2, p3, amin, amax, muscleT, str) {
var _local2 = new Object();
_local2.p1 = pP[p3.pNum];
_local2.p2 = pP[p2.pNum];
_local2.p3 = pP[p1.pNum];
_local2.amin = amin;
_local2.amax = amax;
_local2.mT = muscleT;
_local2.mStr = str;
_local2.e = true;
angC.push(_local2);
_local2.p1.aCA.push(angC.length - 1);
_local2.p2.aCA.push(angC.length - 1);
_local2.p3.aCA.push(angC.length - 1);
return(angC.length - 1);
}
function getAngConstraint(num) {
return(angC[num]);
}
function getStickConstraint(num) {
return(stickC[num]);
}
function enStickConstraint(cn, enable) {
stickC[cn].e = enable;
}
function stepTime() {
if (setTS) {
setTimeStepNow(timeStepT);
}
Forces();
Verlet();
RelaxConstraints();
}
function Verlet() {
var _local2 = 0;
while (_local2 < PARTICLES) {
if (!pP[_local2].locked) {
var _local11 = new Object({xp:pP[_local2].xp, yp:pP[_local2].yp});
var _local4 = pP[_local2].xp;
var _local3 = pP[_local2].yp;
var _local5 = pOP[_local2].xp;
var _local6 = pOP[_local2].yp;
var _local9 = pA[_local2][0];
var _local10 = pA[_local2][1];
var _local7 = _local4 - _local5;
var _local8 = _local3 - _local6;
_local5 = _local4 - (_local7 * (1 - ((1 - DAMP) * timeStep)));
_local6 = _local3 - (_local8 * (1 - ((1 - DAMP) * timeStep)));
pP[_local2].xp = ((_local4 * 2) - _local5) + ((_local9 * timeStep) * timeStep);
pP[_local2].yp = ((_local3 * 2) - _local6) + ((_local10 * timeStep) * timeStep);
pOP[_local2].xp = _local4;
pOP[_local2].yp = _local3;
} else {
pOP[_local2].xp = pP[_local2].xp;
pOP[_local2].yp = pP[_local2].yp;
}
_local2++;
}
}
function Forces() {
var _local2 = 0;
while (_local2 < PARTICLES) {
pA[_local2] = [0, GRAVITY * pP[_local2].mass];
_local2++;
}
}
function RelaxConstraints() {
var _local76 = 0;
while (_local76 < NUM_IT) {
var _local4 = 0;
while (_local4 < PARTICLES) {
var _local23 = 0;
var _local25 = 0;
var _local3 = pP[_local4].radius;
if (pP[_local4].xp < (XMIN + _local3)) {
_local23 = (pP[_local4].xp - (XMIN + _local3)) * -1;
pP[_local4].xp = XMIN + _local3;
pP[_local4].outOfBounds("x", -1);
}
if (pP[_local4].xp > (XMAX - _local3)) {
_local23 = pP[_local4].xp - (XMAX - _local3);
pP[_local4].xp = XMAX - _local3;
pP[_local4].outOfBounds("x", 1);
}
if (pP[_local4].yp < (YMIN + _local3)) {
_local25 = (pP[_local4].yp - (YMIN + _local3)) * -1;
pP[_local4].yp = YMIN + _local3;
pP[_local4].outOfBounds("y", -1);
}
if (pP[_local4].yp > (YMAX - _local3)) {
_local25 = pP[_local4].yp - (YMAX - _local3);
pP[_local4].yp = YMAX - _local3;
pP[_local4].outOfBounds("y", 1);
}
var _local13 = pP[_local4].xp - pOP[_local4].xp;
var _local14 = pP[_local4].yp - pOP[_local4].yp;
var _local68 = Math.min(_local25 / FRIC_TRES, 1);
var _local65 = Math.min(_local23 / FRIC_TRES, 1);
pOP[_local4].xp = pOP[_local4].xp + (_local13 * _local68);
pOP[_local4].yp = pOP[_local4].yp + (_local14 * _local65);
_local4++;
}
_local4 = 0;
while (_local4 < stickC.length) {
if (stickC[_local4].e) {
var _local8 = stickC[_local4].p1;
var _local7 = stickC[_local4].p2;
var _local62 = _local8.xp + (Math.random() / 10);
var _local66 = _local8.yp + (Math.random() / 10);
var _local57 = _local7.xp + (Math.random() / 10);
var _local63 = _local7.yp + (Math.random() / 10);
var _local69 = _local8.mass;
var _local67 = _local7.mass;
var _local31 = stickC[_local4].d;
var _local29 = stickC[_local4].d2;
var _local18 = 1 / _local69;
var _local17 = 1 / _local67;
if (_local8.locked) {
_local18 = 0;
}
if (_local7.locked) {
_local17 = 0;
}
var _local13 = _local57 - _local62;
var _local14 = _local63 - _local66;
var _local11 = Math.sqrt((_local13 * _local13) + (_local14 * _local14));
((_local11 == 0) ? (_local11 = 1E-5) : 0);
((_local13 == 0) ? (_local13 = 1E-5) : 0);
((_local14 == 0) ? (_local14 = 1E-5) : 0);
var _local16 = _local11;
if (_local29 == undefined) {
_local16 = _local31;
} else {
if (_local11 < _local31) {
_local16 = _local31;
}
if (_local11 > _local29) {
_local16 = _local29;
}
}
var _local19 = (_local11 - _local16) / (_local11 * (_local18 + _local17));
_local8.xp = _local8.xp + ((_local18 * _local13) * _local19);
_local8.yp = _local8.yp + ((_local18 * _local14) * _local19);
_local7.xp = _local7.xp - ((_local17 * _local13) * _local19);
_local7.yp = _local7.yp - ((_local17 * _local14) * _local19);
}
_local4++;
}
_local4 = 0;
while (_local4 < angC.length) {
if (angC[_local4].e) {
var _local8 = angC[_local4].p1;
var _local7 = angC[_local4].p2;
var _local6 = angC[_local4].p3;
var _local39 = 2.5;
var _local75 = pOP[_local8.pNum];
var _local74 = pOP[_local7.pNum];
var _local73 = pOP[_local6.pNum];
var _local5 = angC[_local4].amin;
var _local9 = angC[_local4].amax;
var _local12 = angC[_local4].mT % 360;
var _local15 = angC[_local4].mStr;
var _local2 = findTheta(_local8, _local7, _local6);
var _local10 = angC[_local4].thetaO;
if (_local10 == undefined) {
_local10 = _local2;
}
var _local62 = pP[_local8.pNum].xp + (Math.random() / 10);
var _local66 = pP[_local8.pNum].yp + (Math.random() / 10);
var _local57 = pP[_local7.pNum].xp + (Math.random() / 10);
var _local63 = pP[_local7.pNum].yp + (Math.random() / 10);
var _local55 = pP[_local6.pNum].xp + (Math.random() / 10);
var _local58 = pP[_local6.pNum].yp + (Math.random() / 10);
var _local41 = pOP[_local8.pNum].xp + (Math.random() / 10);
var _local40 = pOP[_local8.pNum].yp + (Math.random() / 10);
var _local27 = pOP[_local7.pNum].xp + (Math.random() / 10);
var _local26 = pOP[_local7.pNum].yp + (Math.random() / 10);
var _local38 = pOP[_local6.pNum].xp + (Math.random() / 10);
var _local36 = pOP[_local6.pNum].yp + (Math.random() / 10);
var _local50 = (_local62 + _local41) / 2;
var _local46 = (_local66 + _local40) / 2;
var _local47 = (_local57 + _local27) / 2;
var _local44 = (_local63 + _local26) / 2;
var _local45 = (_local55 + _local38) / 2;
var _local71 = (_local58 + _local36) / 2;
var _local33 = new Object();
var _local32 = new Object();
var _local42 = new Object();
_local33.xp = _local50;
_local33.yp = _local46;
_local32.xp = _local47;
_local32.yp = _local44;
_local42.xp = _local45;
_local42.yp = _local71;
var _local48 = _local10 + (angD(_local10, _local2) / 2);
var _local59 = _local27 - _local38;
var _local64 = _local26 - _local36;
var _local56 = _local41 - _local27;
var _local60 = _local40 - _local26;
var _local52 = Math.atan2(_local64, _local59) * RTD;
var _local51 = Math.atan2(_local60, _local56) * RTD;
var _local77 = angD(_local51, _local52);
var _local28 = Math.abs(angD(_local10, _local5));
var _local24 = Math.abs(angD(_local10, _local9));
var _local61 = Math.abs(angD(_local2, _local5));
var _local54 = Math.abs(angD(_local2, _local9));
var _local70 = _local28;
var _local72 = _local24;
var _local34 = (_local5 + _local9) / 2;
var _local43 = 90 - Math.abs(angD(_local34, _local70) / 2);
if (_local43 > 50) {
_local43 = 0;
}
var _local49 = false;
if (_local5 > _local9) {
_local49 = true;
}
var _local21 = _local28 < (_local24 + _local39);
var _local20 = _local54 < (_local61 + _local39);
var _local37 = angD(_local10, _local34);
var _local35 = angD(_local10, _local48);
var _local30 = ((_local37 < 0) && (_local35 < 0)) || ((_local37 > 0) && (_local35 > 0));
_local30 = false;
if (_local20 == _local21) {
}
if ((_local20 == _local21) && (_local30)) {
}
if (((_local2 < _local5) || (_local2 > _local9)) || ((((_local20 == _local21) && (_local30)) && (_local5 != undefined)) && (_local9 != undefined))) {
if (_local28 < _local24) {
if (Math.abs(angD(_local2, _local5)) > 180) {
}
constrainAngle(_local8, _local7, _local6, _local5);
((_local5 == 5) ? (trace("MIN")) : 0);
} else {
if (Math.abs(angD(_local2, _local9)) > 180) {
}
constrainAngle(_local8, _local7, _local6, _local9);
((_local5 == 5) ? (trace("MAX")) : 0);
}
}
if ((_local12 != undefined) && (_local15 != undefined)) {
if (_local12 < 5) {
}
_local15 = _local15 * timeStep;
_local2 = findTheta(_local8, _local7, _local6);
var _local22 = 1;
if (_local2 > _local12) {
_local22 = -1;
}
if (_local5 == undefined) {
_local22 = (angD(_local2, _local12) / Math.abs(angD(_local2, _local12))) * -1;
}
if (_local15 > Math.abs(angD(_local2, _local12))) {
_local15 = Math.abs(angD(_local2, _local12));
}
var _local53 = _local15 * _local22;
constrainAngle(_local8, _local7, _local6, (_local2 + _local53) % 360);
}
_local2 = findTheta(_local8, _local7, _local6);
angC[_local4].thetaO = _local2;
}
_local4++;
}
_local76++;
}
}
var pP = new Array();
var pOP = new Array();
var pA = new Array();
var stickC = new Array();
var angC = new Array();
var RTD = 57.2957795130823;
var DTR = (Math.PI/180);
var GRAVITY = new Number(0.4);
var timeStep = new Number(1);
var PARTICLES = new Number(0);
var NUM_IT = new Number(10);
var DAMP = new Number(0.98);
var FRIC = new Number(0.5);
var XMIN = new Number(0);
var XMAX = new Number(550);
var YMIN = new Number(0);
var YMAX = new Number(400);
var FRIC_TRES = new Number(1E-11);
var timeStepT = 0;
var setTS = false;
}
Symbol 328 MovieClip [__Packages.Particle] Frame 0
class Particle
{
function Particle (uxp, uyp, umass, rad) {
xp = uxp;
yp = uyp;
mass = umass;
if (rad != undefined) {
radius = rad;
}
}
function getDist(p) {
var _local2 = p.xp - xp;
var _local3 = p.yp - yp;
return(Math.sqrt((_local2 * _local2) + (_local3 * _local3)));
}
function getAng(p) {
var _local2 = p.xp - xp;
var _local3 = p.yp - yp;
return(Math.atan2(_local3, _local2));
}
function rotateTo(parent, ang, dist) {
xp = parent.xp + (Math.cos(ang) * dist);
xp = parent.xp + (Math.sin(ang) * dist);
trace("HAHAHAHAHAH");
}
var locked = false;
var stickC = new Array();
var pNum = 0;
var xp = 0;
var yp = 0;
var mass = 0;
var radius = 0;
}
Symbol 329 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 38 MovieClip Frame 9
_parent.play();
Symbol 38 MovieClip Frame 40
_parent.play();
Symbol 43 MovieClip Frame 15
stop();
Symbol 46 MovieClip [ninjaS] Frame 1
stop();
Symbol 46 MovieClip [ninjaS] Frame 2
stop();
Symbol 46 MovieClip [ninjaS] Frame 3
w._xscale = this._xscale;
Symbol 46 MovieClip [ninjaS] Frame 18
stop();
s.gotoAndPlay("gone");
Symbol 46 MovieClip [ninjaS] Frame 19
this.removeMovieClip();
Symbol 90 MovieClip [pBug] Frame 1
stop();
Symbol 90 MovieClip [pBug] Frame 2
stop();
Symbol 90 MovieClip [pBug] Frame 3
stop();
Symbol 90 MovieClip [pBug] Frame 4
stop();
Symbol 104 MovieClip Frame 1
this.onEnterFrame = function () {
t._xscale = _parent._parent._parent._xscale;
};
Symbol 113 MovieClip [soldierS] Frame 1
stop();
Symbol 113 MovieClip [soldierS] Frame 2
stop();
Symbol 115 MovieClip [boom2] Frame 13
this.removeMovieClip();
Symbol 117 MovieClip [boom] Frame 13
this.removeMovieClip();
Symbol 131 Button
on (release) {
play();
}
Symbol 140 MovieClip Frame 126
_root.nextFrame();
Symbol 144 MovieClip Frame 100
stop();
Symbol 146 Button
on (press) {
getURL ("http://www.claxor.com/", "_blank");
}
Symbol 164 MovieClip Frame 55
stop();
Symbol 176 MovieClip Frame 1
_parent.stop();
with (this) {
startTime = getTimer();
thisFPS = 40;
onEnterFrame = function () {
elapsed = getTimer() - startTime;
goFrame = Math.floor(elapsed / thisFPS);
if (goFrame > _totalframes) {
goFrame = _totalframes;
}
gotoAndStop(goFrame);
};
}
Symbol 176 MovieClip Frame 127
_parent.play();
delete this.onEnterFrame;
Symbol 187 MovieClip Frame 104
stop();
Symbol 228 Button
on (release) {
gotoAndPlay ("game");
stopAllSounds();
}
Symbol 231 Button
on (release) {
gotoAndStop ("highscores");
}
Symbol 234 Button
on (release) {
popMC._visible = !popMC._visible;
}
Symbol 237 Button
on (release) {
getURL ("http://www.armorgames.com/", _blank);
}
Symbol 240 Button
on (release) {
getURL ("http://www.claxor.com/", _blank);
}
Symbol 244 MovieClip Frame 1
if (!_root.sound) {
stop();
}
Symbol 244 MovieClip Frame 2
stop();
Symbol 250 Button
on (release) {
if (!_root.sound) {
_root.sound = true;
snd.play();
}
}
Symbol 254 Button
on (release) {
_root.sound = false;
stopAllSounds();
}
Symbol 256 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 22
stop();
Symbol 259 Button
on (press) {
inst.play();
}
Symbol 295 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 2
stop();
Symbol 300 Button
on (release) {
gotoAndStop ("menu");
}
Symbol 302 MovieClip Frame 1
if (!_root.sound) {
stop();
}
Symbol 302 MovieClip Frame 2
stop();
Symbol 305 MovieClip Frame 35
this.stop();
this._visible = false;
Symbol 308 MovieClip Frame 1
stop();
this._visible = false;
Symbol 308 MovieClip Frame 2
this._visible = true;
Symbol 311 MovieClip Frame 1
stop();
Symbol 312 MovieClip Frame 1
stop();
Symbol 312 MovieClip Frame 6
stop();
Instance of Symbol 225 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
startDrag ("", true);
Mouse.hide();
}
Symbol 318 Button
on (release) {
hud.removeMovieClip();
prevFrame();
}
Symbol 319 Button
on (release) {
hud.removeMovieClip();
stopAllSounds();
gotoAndStop ("menu");
}
Symbol 320 Button
on (release) {
getURL ("http://www.armorgames.com/", _blank);
}
Symbol 325 Button
on (release) {
myname = name_txt.text;
hud.removeMovieClip();
stopAllSounds();
my_name = name_txt.text;
((my_name == "") ? ((my_name = "John Doe")) : 0);
bXlnYW1lX25hbWVfdmFyaWFibGU = my_name;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = f;
__rankz_send__("MjE0OWolZSVhJW4lcw==", "bFRQbVVJRWE=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
gotoAndStop ("highscores");
}