Frame 1
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
_root.menu = myMenu;
stop();
Instance of Symbol 28 MovieClip in Frame 1
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Frame 41
stop();
Instance of Symbol 28 MovieClip in Frame 41
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Frame 42
stop();
Instance of Symbol 28 MovieClip in Frame 42
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Instance of Symbol 76 MovieClip in Frame 42
on (release) {
_root.play();
}
Instance of Symbol 78 MovieClip in Frame 42
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (mouseMove) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (mouseDown) {
this.gotoAndStop("on");
}
onClipEvent (mouseUp) {
this.gotoAndStop("off");
}
onClipEvent (enterFrame) {
if (this._y < 250) {
Mouse.show();
if (_alpha > 0) {
this._alpha = this._alpha - 20;
}
} else {
Mouse.hide();
if (_alpha < 100) {
this._alpha = this._alpha + 20;
}
}
this._rotation = (this._x - 200) / 2;
}
Frame 72
stop();
Instance of Symbol 103 MovieClip in Frame 72
onClipEvent (load) {
this.gotoAndStop(random(7) + 1);
}
Instance of Symbol 103 MovieClip in Frame 72
onClipEvent (load) {
this.gotoAndStop(random(7) + 1);
}
Instance of Symbol 103 MovieClip in Frame 72
onClipEvent (load) {
this.gotoAndStop(random(7) + 1);
}
Instance of Symbol 103 MovieClip in Frame 72
onClipEvent (load) {
this.gotoAndStop(random(7) + 1);
}
Instance of Symbol 143 MovieClip in Frame 72
on (release) {
getURL ("http://www.newgrounds.com", "blank");
}
Instance of Symbol 100 MovieClip "fader" in Frame 72
onClipEvent (load) {
fadein = false;
}
onClipEvent (enterFrame) {
if ((fadein == false) and (_alpha > 0)) {
_alpha = (_alpha - 4);
} else {
fadein = true;
}
}
Instance of Symbol 21 MovieClip "facia" in Frame 72
onClipEvent (load) {
Mouse.show();
dt = new Date();
ch = dt.getHours();
}
onClipEvent (enterFrame) {
dt = new Date();
_root.bgsky.gotoAndStop(dt.getHours() + 1);
}
Instance of Symbol 78 MovieClip in Frame 72
onClipEvent (load) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (mouseMove) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (mouseDown) {
this.gotoAndStop("on");
}
onClipEvent (mouseUp) {
this.gotoAndStop("off");
}
onClipEvent (enterFrame) {
if (this._y < 250) {
Mouse.show();
if (_alpha > 0) {
this._alpha = this._alpha - 20;
}
} else {
Mouse.hide();
if (_alpha < 100) {
this._alpha = this._alpha + 20;
}
}
this._rotation = (this._x - 200) / 2;
}
Instance of Symbol 83 MovieClip in Frame 74
onClipEvent (load) {
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 83 MovieClip in Frame 74
onClipEvent (load) {
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 83 MovieClip in Frame 74
onClipEvent (load) {
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 83 MovieClip in Frame 74
onClipEvent (load) {
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 83 MovieClip in Frame 74
onClipEvent (load) {
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 83 MovieClip in Frame 74
onClipEvent (load) {
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 83 MovieClip in Frame 74
onClipEvent (load) {
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 83 MovieClip in Frame 74
onClipEvent (load) {
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 78 MovieClip in Frame 74
onClipEvent (load) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (mouseMove) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (mouseDown) {
this.gotoAndStop("on");
}
onClipEvent (mouseUp) {
this.gotoAndStop("off");
}
onClipEvent (enterFrame) {
if (this._y < 250) {
Mouse.show();
if (_alpha > 0) {
this._alpha = this._alpha - 20;
}
} else {
Mouse.hide();
if (_alpha < 100) {
this._alpha = this._alpha + 20;
}
}
this._rotation = (this._x - 200) / 2;
}
Instance of Symbol 78 MovieClip in Frame 75
onClipEvent (load) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (mouseMove) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (mouseDown) {
this.gotoAndStop("on");
}
onClipEvent (mouseUp) {
this.gotoAndStop("off");
}
onClipEvent (enterFrame) {
if (this._y < 250) {
Mouse.show();
if (_alpha > 0) {
this._alpha = this._alpha - 20;
}
} else {
Mouse.hide();
if (_alpha < 100) {
this._alpha = this._alpha + 20;
}
}
this._rotation = (this._x - 200) / 2;
}
Instance of Symbol 199 MovieClip in Frame 76
onClipEvent (load) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (mouseMove) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Instance of Symbol 78 MovieClip in Frame 77
onClipEvent (load) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (mouseMove) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (mouseDown) {
this.gotoAndStop("on");
}
onClipEvent (mouseUp) {
this.gotoAndStop("off");
}
onClipEvent (enterFrame) {
if (this._y < 250) {
Mouse.show();
if (_alpha > 0) {
this._alpha = this._alpha - 20;
}
} else {
Mouse.hide();
if (_alpha < 100) {
this._alpha = this._alpha + 20;
}
}
this._rotation = (this._x - 200) / 2;
}
Instance of Symbol 78 MovieClip in Frame 78
onClipEvent (load) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (mouseMove) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (mouseDown) {
this.gotoAndStop("on");
}
onClipEvent (mouseUp) {
this.gotoAndStop("off");
}
onClipEvent (enterFrame) {
if (this._y < 250) {
Mouse.show();
if (_alpha > 0) {
this._alpha = this._alpha - 20;
}
} else {
Mouse.hide();
if (_alpha < 100) {
this._alpha = this._alpha + 20;
}
}
this._rotation = (this._x - 200) / 2;
}
Instance of Symbol 78 MovieClip in Frame 79
onClipEvent (load) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (mouseMove) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (mouseDown) {
this.gotoAndStop("on");
}
onClipEvent (mouseUp) {
this.gotoAndStop("off");
}
onClipEvent (enterFrame) {
if (this._y < 250) {
Mouse.show();
if (_alpha > 0) {
this._alpha = this._alpha - 20;
}
} else {
Mouse.hide();
if (_alpha < 100) {
this._alpha = this._alpha + 20;
}
}
this._rotation = (this._x - 200) / 2;
}
Frame 81
_quality = "medium";
stop();
Instance of Symbol 221 MovieClip in Frame 81
onClipEvent (load) {
origpos = this._x;
}
onClipEvent (enterFrame) {
if (this._x > (origpos - 390)) {
this._x = this._x - (_root.speed / 5);
if (this._x <= (origpos - 390)) {
this._x = origpos;
}
}
}
Instance of Symbol 258 MovieClip "level" in Frame 81
onClipEvent (load) {
_root.xmove = 0;
_root.speed = 0;
_root.score = 0;
addon = 1;
}
onClipEvent (enterFrame) {
if (_root.speed > 0) {
_root.xmove = _root.xmove - _root.speed;
this._x = this._x - _root.speed;
addon = addon + (_root.speed / 20);
_root.score = Math.floor(addon);
if (_root.speed < 0) {
_root.speed = 0;
}
}
}
Instance of Symbol 293 MovieClip "man" in Frame 81
onClipEvent (load) {
falltime = 10;
drop = 0;
maxdrop = 5;
spin = 0;
maxspin = 20;
dead = false;
bullethit = false;
deadtimer = 250;
}
onClipEvent (enterFrame) {
if (dead == false) {
if (drop < maxdrop) {
drop = drop + 0.5;
}
this._y = this._y + drop;
if (_root.level.hitTest(_x - 5, _y, true) or _root.level.hitTest(_x + 5, _y, true)) {
while (_root.level.hitTest(_x - 5, _y, true) or _root.level.hitTest(_x + 5, _y, true)) {
this._y--;
}
this._y++;
spin = 0;
drop = 0;
body._rotation = 180;
falltime = 10;
_root.speed = 1;
} else {
if (falltime > 0) {
falltime--;
}
if (_root.speed > 0) {
_root.speed = _root.speed - 0.05;
}
}
if (_root.level.hitTest(_x + 10, _y - 15, true) or _root.level.hitTest(_x + 10, _y - 20, true)) {
_root.speed = 0;
}
if (falltime == 0) {
this.gotoAndStop("fall");
} else if (_root.speed == 0) {
this.gotoAndStop("stop");
} else {
this.gotoAndStop("walk");
}
if ((this._y > 600) and (dead == false)) {
_root.sound.gotoAndStop("falling");
_root.sound.gotoAndStop("blank");
dead = true;
_root.speed = 0;
}
} else {
if ((deadtimer > 0) and (_root.fader._alpha == 0)) {
deadtimer--;
} else if (_root.fader._alpha < 100) {
_root.fader._alpha++;
deadtimer = 100;
} else if (deadtimer > 0) {
deadtimer--;
} else {
_root.gotoAndStop("gameover");
}
if (bullethit == true) {
if (_root.level.ground.hitTest(_x - 5, _y, true) == false) {
this._y = this._y + 5;
}
}
}
}
Instance of Symbol 100 MovieClip "fader" in Frame 81
onClipEvent (load) {
fadein = false;
}
onClipEvent (enterFrame) {
if ((fadein == false) and (_alpha > 0)) {
_alpha = (_alpha - 2);
} else {
fadein = true;
}
}
Instance of Symbol 199 MovieClip in Frame 81
onClipEvent (mouseMove) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (enterFrame) {
if (this._y > 250) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 21 MovieClip "facia" in Frame 81
onClipEvent (load) {
dt = new Date();
ch = dt.getHours();
}
onClipEvent (enterFrame) {
dt = new Date();
_root.bgsky.gotoAndStop(dt.getHours() + 1);
}
Instance of Symbol 78 MovieClip in Frame 81
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (mouseMove) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (mouseDown) {
this.gotoAndStop("on");
}
onClipEvent (mouseUp) {
this.gotoAndStop("off");
}
onClipEvent (enterFrame) {
if (this._y < 250) {
if (_alpha > 0) {
this._alpha = this._alpha - 20;
}
} else if (_alpha < 100) {
this._alpha = this._alpha + 20;
}
this._rotation = (this._x - 200) / 2;
}
Frame 82
_root.Mouse.show();
Instance of Symbol 78 MovieClip in Frame 82
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (mouseMove) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (mouseDown) {
this.gotoAndStop("on");
}
onClipEvent (mouseUp) {
this.gotoAndStop("off");
}
onClipEvent (enterFrame) {
this._rotation = (this._x - 200) / 2;
}
Symbol 5 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
_root.play();
}
Symbol 5 MovieClip Frame 2
gotoAndPlay (1);
Symbol 16 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 18 Button
on (release) {
getURL ("http://www.the-exp.com", "blank");
}
Symbol 319 MovieClip [__Packages.ab20] Frame 0
class ab20
{
function ab20 () {
}
static function fr(str, find, replace, limit) {
var _local2 = str;
var _local3;
var _local4;
var _local9;
if (!(typeof(find) === "string")) {
if (replace === undefined) {
replace = [""];
} else if (typeof(replace) === "string") {
replace = [replace];
}
} else {
find = [find];
replace = [replace];
}
_local9 = find.length;
var _local1 = 0;
var _local5 = 0;
while (_local1 < _local9) {
while (_local4 = _local2.indexOf(find[_local1]) , !(_local4 === -1)) {
if ((!(limit === undefined)) && (_local5 >= limit)) {
break;
}
_local3 = new Array(_local2.substring(0, _local4), _local2.substr(_local4, find[_local1].length), _local2.substr(_local4 + find[_local1].length));
_local3[1] = ((replace[_local1] === undefined) ? "" : (replace[_local1]));
_local2 = (_local3[0] + _local3[1]) + _local3[2];
_local5++;
}
_local1++;
_local5 = 0;
}
return(_local2);
}
static function encodeNum(num) {
var _local11 = getTimer();
var _local6 = ["aZ", "Zy", "Zx"];
var _local7 = ["zH", "jY", "uH"];
var _local4 = ["Ah", "Xh", "hO"];
var _local5 = ["Ub", "Bu", "Cb"];
var _local8 = ["Qc", "Pc", "Pe"];
var _local9 = ["Ei", "Ie", "Ef"];
var _local3 = ["Fk", "kG", "Kg"];
var _local13 = ["Jl", "Lm", "Mn"];
var _local12 = ["No", "Np", "Qp"];
var _local2 = ["Rs", "St", "Sw"];
var _local14 = random(3);
num = String(num);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
if (_local14 == 1) {
num = fr(num, "5", _local8[0]);
} else {
num = fr(num, "5", _local8[random(3)]);
}
num = fr(num, "4", _local9[random(3)]);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "2", _local13[random(3)]);
num = fr(num, "1", _local12[random(3)]);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
var _local10 = getTimer() - _local11;
num = (num + "Dd") + _local10;
return(num);
}
static function encodeStr8bytes(str) {
var _local1 = 0;
var _local4 = str.length;
var _local3 = "%";
var _local2 = ["%", "$", "#", "@"];
while (_local1 < _local4) {
_local3 = _local3 + (str.charCodeAt(_local1) + _local2[random(_local2.length)]);
_local1++;
}
return(_local3);
}
static function decodeStr8bytes(str) {
str = ("PIE" + str) + "PIE";
str = fr(str, "%", "D");
str = fr(str, "$", "D");
str = fr(str, "#", "D");
str = fr(str, "@", "D");
str = fr(str, "PIED", "");
str = fr(str, "DPIE", "");
var _local3 = str.split("D");
var _local4 = "";
var _local1 = 0;
var _local5 = _local3.length;
while (_local1 < _local5) {
_local4 = _local4 + String(String.fromCharCode(_local3[_local1]));
_local1++;
}
return(_local4);
}
static function decodeNum(str) {
var _local2 = ["aZ", "Zy", "Zx", "zH", "jY", "uH", "Ah", "Xh", "hO", "Ub", "Bu", "Cb", "Qc", "Pc", "Pe", "Ei", "Ie", "Ef", "Fk", "kG", "Kg", "Jl", "Lm", "Mn", "No", "Np", "Qp", "Rs", "St", "Sw"];
str = String(str);
str = str.split("Dd");
str = str[0];
str = fr(str, _local2[0], "9");
str = fr(str, _local2[1], "9");
str = fr(str, _local2[2], "9");
str = fr(str, _local2[3], "8");
str = fr(str, _local2[4], "8");
str = fr(str, _local2[5], "8");
str = fr(str, _local2[6], "7");
str = fr(str, _local2[7], "7");
str = fr(str, _local2[8], "7");
str = fr(str, _local2[9], "6");
str = fr(str, _local2[10], "6");
str = fr(str, _local2[11], "6");
str = fr(str, _local2[12], "5");
str = fr(str, _local2[13], "5");
str = fr(str, _local2[14], "5");
str = fr(str, _local2[15], "4");
str = fr(str, _local2[16], "4");
str = fr(str, _local2[17], "4");
str = fr(str, _local2[18], "3");
str = fr(str, _local2[19], "3");
str = fr(str, _local2[20], "3");
str = fr(str, _local2[21], "2");
str = fr(str, _local2[22], "2");
str = fr(str, _local2[23], "2");
str = fr(str, _local2[24], "1");
str = fr(str, _local2[25], "1");
str = fr(str, _local2[26], "1");
str = fr(str, _local2[27], "0");
str = fr(str, _local2[28], "0");
str = fr(str, _local2[29], "0");
var _local3 = Number(str);
return(_local3);
}
}
Symbol 33 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 40 MovieClip Frame 81
_root.play();
_root.play();
Symbol 75 MovieClip Frame 57
stop();
Instance of Symbol 75 MovieClip in Symbol 76 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
}
Symbol 78 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 1
stop();
Instance of Symbol 83 MovieClip in Symbol 103 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 83 MovieClip in Symbol 103 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 83 MovieClip in Symbol 103 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 83 MovieClip in Symbol 103 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 83 MovieClip in Symbol 103 MovieClip Frame 6
onClipEvent (load) {
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 83 MovieClip in Symbol 103 MovieClip Frame 6
onClipEvent (load) {
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 95 MovieClip in Symbol 103 MovieClip Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.man) and (_root.man.dead == false)) {
_root.sound.gotoAndStop("electric");
_root.sound.gotoAndStop("blank");
_root.man.dead = true;
_root.man.gotoAndStop("electric");
_root.speed = 0;
}
}
Instance of Symbol 101 MovieClip in Symbol 103 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.man)) {
if (_root.man.dead == false) {
_root.sound.gotoAndStop("splooge");
_root.sound.gotoAndStop("blank");
_root.man._y = _root.man._y - 15;
_root.man.dead = true;
_root.man.gotoAndStop("spike");
}
_root.speed = 0;
}
}
Symbol 108 Button
on (release) {
_root.gotoAndStop("story");
}
Symbol 109 Button
on (release) {
getURL ("http://www.armorbot.com/mytable/?id=484", "blank");
}
Symbol 110 Button
on (release) {
_root.gotoAndStop("inst1");
}
Symbol 115 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 145 Button
on (release) {
_root.gotoAndStop("prizes");
}
Symbol 148 Button
on (release) {
getURL ("http://www.the-exp.com", "blank");
}
Symbol 162 Button
on (release) {
_root.nextFrame();
}
Symbol 164 Button
on (release) {
_root.prevFrame();
}
Instance of Symbol 194 MovieClip in Symbol 195 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 20;
}
Symbol 197 MovieClip Frame 1
stop();
Instance of Symbol 195 MovieClip in Symbol 197 MovieClip Frame 2
/* no clip actions */
Symbol 203 Button
on (release) {
_root.gotoAndStop("title");
}
Symbol 209 Button
on (release) {
getURL ("http://www.amazon.com/21st-Century-Game-Design-Development/dp/1584504293/sr=8-1/qid=1161804255/ref=pd_bbs_sr_1/002-7866626-1750415?ie=UTF8&s=books", "blank");
}
Symbol 214 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("game");
}
Instance of Symbol 103 MovieClip "terrain" in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.bgsky) == false) and (_name != "terrain")) {
this.swapDepths(10);
this.removeMovieClip();
}
}
Instance of Symbol 224 MovieClip "cloud" in Symbol 225 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name != "cloud") {
this._rotation = this._rotation + spin;
if (timer > 0) {
if (Key.isDown(32) or (_root.man.dead == true)) {
timer = 1;
}
timer--;
} else if ((_alpha > 0) and (_xscale > 0)) {
_alpha = (_alpha - 5);
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 224 MovieClip "cloud_control" in Symbol 225 MovieClip Frame 1
onClipEvent (load) {
currentx = 0;
currenty = 0;
clonedistance = 1;
_root.ii = 0;
ii = 0;
mousedown = false;
}
onClipEvent (mouseDown) {
mousedown = true;
}
onClipEvent (mouseUp) {
mousedown = false;
}
onClipEvent (mouseMove) {
if (((((((_root.man.dead == false) and (mousedown == true)) and (_root._ymouse > 275)) and (_root._ymouse < 475)) and (_root._xmouse > 15)) and (_root._xmouse < 385)) and (((_root._xmouse > (currentx + clonedistance)) or (_root._xmouse < (currentx - clonedistance))) or ((_root._ymouse > (currenty + clonedistance)) or (_root._ymouse < (currenty - clonedistance))))) {
currentx = _root._xmouse;
currenty = _root._ymouse;
ii++;
_parent.cloud.duplicateMovieClip("clone" + ii, ii, ii);
_parent["clone" + ii]._x = _parent._xmouse;
_parent["clone" + ii]._y = _parent._ymouse;
cloudscale = random(40);
_parent["clone" + ii]._xscale = 60 + cloudscale;
_parent["clone" + ii]._yscale = 60 + cloudscale;
_parent["clone" + ii]._rotation = random(360);
_parent["clone" + ii].timer = 300 - (cloudscale / 4);
_parent["clone" + ii].spin = random(5) + 1;
}
}
Symbol 235 MovieClip Frame 30
stop();
Instance of Symbol 239 MovieClip "spinner" in Symbol 240 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 40);
}
Symbol 254 MovieClip Frame 17
stop();
Symbol 255 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 1
stop();
Instance of Symbol 197 MovieClip "helicopter" in Symbol 257 MovieClip Frame 1
onClipEvent (load) {
if (_name != "helicopter") {
_root.sound.gotoAndStop("ocean");
_root.sound.gotoAndStop("blank");
speed = 8 + random(4);
ymove = random(4) - 2;
bombdrop = true;
bombtimer = 80 + random(20);
this._rotation = -10;
if (dir == 1) {
this._rotation = 10;
this._xscale = -this._xscale;
}
movedir = false;
dead = false;
}
}
onClipEvent (enterFrame) {
if (_name != "helicopter") {
if (this.hitTest(_root.facia) == false) {
this.swapDepths(10);
this.removeMovieClip();
}
if (dead == false) {
if (dir == 0) {
this._x = this._x - speed;
this._rotation = this._rotation - (speed / 10);
} else {
this._x = this._x + speed;
this._rotation = this._rotation + (speed / 10);
}
if (movedir == false) {
speed = speed - 0.15;
} else {
speed = speed + 0.15;
}
if (bombtimer > 0) {
bombtimer--;
} else if (bombdrop == true) {
_root.sound.gotoAndStop("thunk");
_root.sound.gotoAndStop("blank");
movedir = true;
bombdrop = false;
_parent.control.ii++;
_parent.bomb.duplicateMovieClip("clone" + _parent.control.ii, _parent.control.ii, _parent.control.ii);
_parent["clone" + _parent.control.ii]._x = this._x;
_parent["clone" + _parent.control.ii]._y = this._y + 30;
}
this._y = this._y + (ymove / 5);
} else {
if (dir == 0) {
this._x = this._x + speed;
this._rotation = this._rotation + 5;
} else {
this._x = this._x - speed;
this._rotation = this._rotation - 5;
}
this._y = this._y + 2;
speed = speed + 0.3;
_parent.control.ii++;
_parent.smoke.duplicateMovieClip("clone" + _parent.control.ii, _parent.control.ii * -1, _parent.control.ii * -1);
_parent["clone" + _parent.control.ii]._x = this._x;
_parent["clone" + _parent.control.ii]._y = this._y;
}
}
}
on (press) {
if (dead == false) {
speed = 0;
this.gotoAndStop("dead");
_parent.control.ii++;
_parent.explosion.duplicateMovieClip("clone" + _parent.control.ii, _parent.control.ii, _parent.control.ii);
_parent["clone" + _parent.control.ii]._x = _parent._xmouse;
_parent["clone" + _parent.control.ii]._y = _parent._ymouse;
dead = true;
}
}
Instance of Symbol 229 MovieClip "bomb" in Symbol 257 MovieClip Frame 1
onClipEvent (load) {
drop = -2;
parachute._visible = false;
}
onClipEvent (enterFrame) {
if (_name != "bomb") {
if (this.hit.hitTest(_root.man) and (_root.man.dead == false)) {
_root.man.dead = true;
_root.man.gotoAndStop("explode");
_root.speed = 0;
_root.sound.gotoAndStop("explosion");
_root.sound.gotoAndStop("blank");
this.removeMovieClip();
}
if (this.hitTest(_root.facia) == false) {
this.swapDepths(10);
this.removeMovieClip();
}
if ((drop > 5) and (parachute._visible == false)) {
drop = 0;
parachute._visible = true;
}
this._y = this._y + drop;
drop = drop + 0.2;
if (_root.level.ground.hitTest(_x + _root.xmove, _y + 10, true) or _root.level.clouds.hitTest(_x + _root.xmove, _y + 10, true)) {
parachute.swapDepths(10);
parachute.removeMovieClip();
if (drop > 4) {
drop = (-drop) / 2;
} else {
drop = 0;
}
while (_root.level.ground.hitTest(_x + _root.xmove, _y + 10, true) or _root.level.clouds.hitTest(_x + _root.xmove, _y + 10, true)) {
this._y = this._y - 1;
}
this._y = this._y + 1;
}
}
}
Instance of Symbol 100 MovieClip "control" in Symbol 257 MovieClip Frame 1
onClipEvent (load) {
ii = 0;
maxtimer = 600;
_root.score = 1;
basetimer = 300;
timer = basetimer + maxtimer;
clones = 1;
decreaser = 1.25;
cloneincrease = 0.2;
choice = random(2);
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
} else {
i = 0;
while (i < clones) {
choice = random(2);
if (choice == 0) {
ii++;
_parent.helicoptervert.duplicateMovieClip("clone" + ii, ii, ii);
_parent["clone" + ii]._x = (random(150) + 250) - _root.xmove;
_parent["clone" + ii]._y = -20;
} else {
dir = random(2);
ii++;
_parent.helicopter.duplicateMovieClip("clone" + ii, ii, ii);
if (dir == 0) {
_parent["clone" + ii]._x = (random(100) + 400) - _root.xmove;
} else {
_parent["clone" + ii]._x = (random(100) - 100) - _root.xmove;
}
_parent["clone" + ii].dir = dir;
_parent["clone" + ii]._y = random(150) + 50;
}
i++;
}
timer = basetimer + maxtimer;
maxtimer = maxtimer / decreaser;
clones = clones + cloneincrease;
}
}
Instance of Symbol 231 MovieClip "explosion" in Symbol 257 MovieClip Frame 1
onClipEvent (load) {
if (_name != "explosion") {
_root.sound.gotoAndStop("cannon");
_root.sound.gotoAndStop("blank");
}
}
onClipEvent (enterFrame) {
if (_name != "explosion") {
this._xscale = this._xscale + 40;
this._yscale = this._yscale + 40;
this._alpha = this._alpha - 10;
if (_xscale > 300) {
this.removeMovieClip();
}
}
}
Instance of Symbol 235 MovieClip "smoke" in Symbol 257 MovieClip Frame 1
onClipEvent (load) {
xmove = random(6) - 3;
yspeed = 0;
}
onClipEvent (enterFrame) {
if (_name != "smoke") {
this._xscale = this._xscale + 1;
this._yscale = this._yscale + 1;
this._y = this._y - yspeed;
yspeed++;
this._x = this._x - xmove;
if (this._xscale > 200) {
this.swapDepths(10);
this.removeMovieClip();
}
}
}
Instance of Symbol 197 MovieClip "helicoptervert" in Symbol 257 MovieClip Frame 1
onClipEvent (load) {
if (_name != "helicoptervert") {
_root.sound.gotoAndStop("ocean");
_root.sound.gotoAndStop("blank");
speed = 4 + random(4);
hovertime = 75;
dir = random(2);
bombdrop = true;
bombtimer = 70 + random(20);
this._rotation = -10;
if (dir == 1) {
this._rotation = 10;
this._xscale = -this._xscale;
}
movedir = false;
dead = false;
}
}
onClipEvent (enterFrame) {
if (_name != "helicoptervert") {
if (this.hitTest(_root.facia) == false) {
this.swapDepths(10);
this.removeMovieClip();
}
if (dead == false) {
if ((speed > 0) and (hovertime > 0)) {
this._y = this._y + speed;
speed = speed - 0.15;
} else if (hovertime > 0) {
if (hovertime == 50) {
_parent.control.ii++;
_parent.army.duplicateMovieClip("clone" + _parent.control.ii, _parent.control.ii, _parent.control.ii);
_parent["clone" + _parent.control.ii]._x = this._x;
_parent["clone" + _parent.control.ii]._y = this._y + 30;
}
hovertime--;
} else {
this._y = this._y + speed;
speed = speed - 0.3;
}
} else {
if (dir == 0) {
this._x = this._x + speed;
this._rotation = this._rotation + 5;
} else {
this._x = this._x - speed;
this._rotation = this._rotation - 5;
}
this._y = this._y + 2;
speed = speed + 0.3;
_parent.control.ii++;
_parent.smoke.duplicateMovieClip("clone" + _parent.control.ii, _parent.control.ii * -1, _parent.control.ii * -1);
_parent["clone" + _parent.control.ii]._x = this._x;
_parent["clone" + _parent.control.ii]._y = this._y;
}
}
}
on (press) {
if (dead == false) {
speed = 0;
this.gotoAndStop("dead");
_parent.control.ii++;
_parent.explosion.duplicateMovieClip("clone" + _parent.control.ii, _parent.control.ii, _parent.control.ii);
_parent["clone" + _parent.control.ii]._x = _parent._xmouse;
_parent["clone" + _parent.control.ii]._y = _parent._ymouse;
dead = true;
}
}
Instance of Symbol 256 MovieClip "army" in Symbol 257 MovieClip Frame 1
onClipEvent (load) {
timer = 50;
type = 0;
drop = 0;
dead = false;
}
onClipEvent (enterFrame) {
if (_name != "army") {
if (this.hitTest(_root.facia) == false) {
this.swapDepths(10);
this.removeMovieClip();
}
if (type == 0) {
if (timer > 0) {
timer--;
} else {
this._y = this._y + drop;
drop = drop + 0.5;
rope.swapDepths(10);
rope.removeMovieClip();
}
this._y = this._y + 5;
rope.cord._height = rope.cord._height + 7.66;
rope.spinner._y = rope.spinner._y - 7.66;
rope.blade._y = rope.blade._y - 7.66;
if (_root.level.ground.hitTest(_x + _root.xmove, _y, true)) {
while (_root.level.ground.hitTest(_x + _root.xmove, _y, true)) {
this._y--;
}
this._y++;
type = 1;
this.gotoAndStop(2);
}
} else if (type == 1) {
gunpoint = {x:gun._x, y:gun._y};
localToGlobal(gunpoint);
gun._rotation = 1 * (Math.round((Math.atan2(-1 * ((_root.man._y - 20) - gunpoint.y), _root.man._x - gunpoint.x) / Math.PI) * 180) + 180);
if (((gunpoint.x < 175) and (dead == false)) and (_root.man.dead == false)) {
_root.speed = 0;
_root.sound.gotoAndStop("gun");
_root.sound.gotoAndStop("blank");
_root.man.dead = true;
_root.man.gotoAndStop("bullet");
_root.man.bullethit = true;
gun.gotoAndStop("fire");
}
if ((((_root.level.clouds.hitTest(_x + _root.xmove, _y - 20, true) and _root.level.clouds.hitTest(_x + _root.xmove, (_y - 10) - 20, true)) and _root.level.clouds.hitTest((_x + _root.xmove) + 10, _y - 20, true)) and _root.level.clouds.hitTest((_x + _root.xmove) - 10, _y - 20, true)) or (dead == true)) {
if (dead == false) {
_root.sound.gotoAndStop("falling");
_root.sound.gotoAndStop("blank");
}
dead = true;
this.gotoAndStop("dead");
if (body._xscale > 0) {
body._xscale = body._xscale - 5;
body._yscale = body._yscale - 5;
body._rotation = body._rotation + 20;
} else {
this.swapDepths(10);
this.removeMovieClip();
}
}
}
}
}
Instance of Symbol 222 MovieClip "ground" in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
ii = 0;
ii--;
terrain.duplicateMovieClip("clone" + ii, ii, ii);
this["clone" + ii]._x = -200;
this["clone" + ii]._y = 400;
}
onClipEvent (enterFrame) {
if (timer > 0) {
if (_root.xmove != xmovestore) {
timer--;
xmovestore = _root.xmove;
}
} else {
timer = random(100) + 100;
blocktype = random(11) + 1;
ii--;
terrain.duplicateMovieClip("clone" + ii, ii, ii);
this["clone" + ii].gotoAndStop(blocktype);
this["clone" + ii].val = ii;
this["clone" + ii]._x = 135 - _root.xmove;
this["clone" + ii]._y = 425 - random(75);
if (blocktype >= 9) {
this["clone" + ii].swapDepths(ii + 100);
}
}
}
Symbol 281 MovieClip Frame 61
stop();
Symbol 284 MovieClip Frame 25
stop();
Instance of Symbol 231 MovieClip in Symbol 285 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name != "explosion") {
this._xscale = this._xscale + 80;
this._yscale = this._yscale + 80;
this._alpha = this._alpha - 10;
if (_xscale > 600) {
this.swapDepths(10);
this.removeMovieClip();
}
}
}
Instance of Symbol 231 MovieClip in Symbol 285 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name != "explosion") {
this._xscale = this._xscale + 40;
this._yscale = this._yscale + 40;
this._alpha = this._alpha - 5;
if (_xscale > 600) {
this.swapDepths(10);
this.removeMovieClip();
}
}
}
Symbol 285 MovieClip Frame 22
stop();
Symbol 292 MovieClip Frame 12
stop();
Symbol 293 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 1
stop();
Symbol 313 Button
on (release) {
if (_root.username.text == "") {
_root.username.text = "Unknown Demon";
}
if (_root.email.text == "") {
_root.email.text = "Email Not Supplied";
}
mynamevar = (_root.username.text + " || ") + _root.email.text;
ab20_09 = new LoadVars();
ab20_09.z = mynamevar;
ab20_09.x = ab20.encodeNum(_root.score);
ab20_09.c = 484;
ab20_09.v = "OGBVMT";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
stopAllSounds();
_root.gotoAndStop("title");
}
Symbol 317 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("title");
}