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);
}
_quality = "medium";
stopAllSounds();
_root.bytesLoaded = _root.getBytesLoaded();
_root.bytesTotal = _root.getBytesTotal();
_root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal));
_root.percentLoadedText = _root.percentLoaded + "%";
_root.bar.gotoAndStop(percentLoaded);
__com_mochibot__("ab399461", this, 10301, true);
function func_cam() {
if (_root.timeup == 1) {
_root.hero.gotoAndStop("win");
}
if (_root.combo > _root.cmax) {
_root.cmax = _root.combo;
}
if (_root.mid > 200) {
mid = 0;
}
_root.combotime = _root.combotime - 1;
if (_root.combo < 0) {
_root.combo = 0;
}
if (_root.combotime <= 0) {
_root.combotime = 0;
_root.combo = 0;
}
_root.hero._y = _root.hero._y + 20;
if (_root.lw.hitTest("_root.hero.zone")) {
_root.hero._x = _root.hero._x + _root.walkspeed;
}
if (_root.rw.hitTest("_root.hero.zone")) {
_root.hero._x = _root.hero._x - _root.walkspeed;
}
if (_root.lwz.hitTest("_root.hero") || (_root.rwz.hitTest("_root.hero"))) {
_root.cam.focus = _root.cam.focus + 0;
} else {
_root.cam.focus = "main";
}
if (_root.cam.focus == "main") {
_root.cam._x = _root.hero._x;
_root.cam._y = _root.hero._y - _root.cm;
}
}
function func_tiles() {
m = 0;
while (m < 200) {
if ((_root.timeup == 1) && (_root["mu" + m].vvc != 1)) {
_root["mu" + m].gotoAndStop("sp2");
}
if (_root["mu" + m].hitTest("_root.cam")) {
_root["mu" + m]._visible = true;
} else {
_root["mu" + m]._visible = false;
}
if (_root["mu" + m]._y > 310) {
_root["mu" + m].land = 1;
_root["mu" + m]._y = 310;
}
m++;
}
t = 0;
while (t < 20) {
if (_root.hero._y > 300) {
_root.hero._y = _root["gr" + t]._y + 115;
}
if (_root["gr" + t].bl.hitTest("_root.hero.fzone")) {
_root.hero._y = _root["gr" + t]._y + 115;
_root.hero.ft = 2;
_root.hero.fall = 0;
_root.land = 1;
}
t++;
}
}
function func_munch() {
if ((_root.vicon < _root.viconmax) && (_root.timeup != 1)) {
xr = Math.random() * 1500;
_root.vicon = _root.vicon + 1;
mid++;
_root.attachMovie("spl", "sp" + mid, _root.getNextHighestDepth(), {_x:xr - 800, _y:200});
_root.attachMovie("victom", "mu" + mid, _root.getNextHighestDepth(), {_x:xr - 800, _y:200});
}
}
removeMovieClip("_root.hero");
spid = 0;
land = 0;
score = 0;
_root.spacep = 0;
viconmax = 5;
vicon = 0;
mid = 0;
combotime = 0;
cm = 20;
bid = 0;
timeup = 0;
combo = 0;
kills = 0;
cmax = 0;
Frame 2
if (_root.percentLoaded == 100) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Frame 3
if (_root.replay == 1) {
_root.replay = 0;
gotoAndPlay ("g");
}
stop();
Frame 4
stop();
Frame 5
stop();
Frame 6
play();
Frame 7
_root.hero.onEnterFrame = function () {
func_tiles();
func_cam();
func_munch();
};
Instance of Symbol 176 MovieClip "bb" in Frame 7
onClipEvent (enterFrame) {
this._x = _root.cam._x;
this._y = _root.cam._y;
}
Instance of Symbol 178 MovieClip in Frame 7
onClipEvent (enterFrame) {
this._x = _root.cam._x / 2;
this._y = _root.cam._y / 2;
}
Instance of Symbol 180 MovieClip in Frame 7
onClipEvent (enterFrame) {
this._x = _root.cam._x / 4;
this._y = _root.cam._y / 4;
}
Instance of Symbol 195 MovieClip "shadow" in Frame 7
onClipEvent (enterFrame) {
this._x = _root.hero._x;
}
Instance of Symbol 148 MovieClip "cam" in Frame 7
//component parameters
onClipEvent (construct) {
varName = "defaultValue";
}
onClipEvent (load) {
focus = "main";
}
Instance of Symbol 224 MovieClip in Frame 7
onClipEvent (enterFrame) {
qqq = _quality;
this.yy = _root.hero._y;
this.xx = _root.hero._x;
this._x = _root.cam._x;
this._y = _root.cam._y;
}
Frame 8
stop();
Frame 9
prevFrame();
Frame 10
removeMovieClip("_root.hero");
stop();
Frame 11
prevFrame();
Frame 12
removeMovieClip("_root.hero");
stop();
Frame 13
prevFrame();
Symbol 4 MovieClip Frame 22
stop();
Symbol 6 MovieClip [colk] Frame 3
stop();
Instance of Symbol 8 MovieClip in Symbol 9 MovieClip [DB] Frame 1
onClipEvent (load) {
_parent.xxd = 0;
}
Symbol 24 MovieClip Frame 1
this._visible = false;
Symbol 40 MovieClip Frame 7
_root.combo = _root.combo - 1;
Symbol 40 MovieClip Frame 44
_root.vicon = _root.vicon - 1;
removeMovieClip(_parent);
stop();
Symbol 42 MovieClip Frame 2
stop();
Symbol 44 MovieClip [victom] Frame 1
stop();
Instance of Symbol 22 MovieClip in Symbol 44 MovieClip [victom] Frame 1
onClipEvent (load) {
_parent.fall = 1;
_parent.swapDepths(_root.hero);
_parent.swapDepths(_root.shad);
}
onClipEvent (enterFrame) {
if (_parent.land != 1) {
_parent._y = _parent._y + 10;
} else {
_parent.gotoAndStop("stand");
}
}
Instance of Symbol 22 MovieClip in Symbol 44 MovieClip [victom] Frame 2
onClipEvent (load) {
ttm = 20 + Math.round(Math.random() * 20);
tt = 0;
}
onClipEvent (enterFrame) {
_parent.land = 0;
tt++;
if (tt == ttm) {
_parent.gotoAndStop("walk");
}
if (this.hitTest("_root.hero.v.hit")) {
_parent.gotoAndStop("splat");
}
if (this.hitTest("_root.hero.v2.hit")) {
_parent.gotoAndStop("hit");
}
if (this.hitTest("_root.hero.v.sc") || (this.hitTest("_root.hero.v2.sc"))) {
_parent.bb = Math.round(Math.random() * 20);
_parent.gotoAndStop("run");
}
}
Instance of Symbol 25 MovieClip in Symbol 44 MovieClip [victom] Frame 3
onClipEvent (load) {
bb = Math.round(Math.random() * 20);
ttm = 30 + Math.round(Math.random() * 30);
tt = 0;
if (bb > 10) {
_parent._xscale = 100;
di = "r";
}
if (bb < 11) {
_parent._xscale = -100;
di = "l";
}
}
onClipEvent (enterFrame) {
if (this.hitTest("_root.rw")) {
_parent._xscale = -100;
di = "l";
}
if (this.hitTest("_root.hero.v.sc") || (this.hitTest("_root.hero.v2.sc"))) {
_parent.bb = Math.round(Math.random() * 20);
_parent.gotoAndStop("run");
}
if (this.hitTest("_root.lw")) {
_parent._xscale = 100;
di = "r";
}
if (di == "r") {
_parent._x = _parent._x + 5;
}
if (di == "l") {
_parent._x = _parent._x - 5;
}
tt++;
if (tt == ttm) {
_parent.gotoAndStop("stand");
}
if (this.hitTest("_root.hero.v.hit")) {
_parent.gotoAndStop("splat");
}
if (this.hitTest("_root.hero.v2.hit")) {
_parent.gotoAndStop("hit");
}
}
Instance of Symbol 26 MovieClip in Symbol 44 MovieClip [victom] Frame 4
onClipEvent (load) {
st = 50;
spr = Math.round(Math.random() * 5);
if (_parent._x > _root.hero._x) {
_parent._xscale = 100;
_parent.di = "r";
}
if (_parent._x < _root.hero._x) {
_parent._xscale = -100;
_parent.di = "l";
}
}
onClipEvent (enterFrame) {
st = st - 1;
if ((_parent.di == "l") && (_parent._x > _root.hero._x)) {
if (this.hitTest("_root.hero.szone") && (st <= 0)) {
_parent.gotoAndStop("stop");
}
} else if ((_parent.di == "r") && (_parent._x < _root.hero._x)) {
if (this.hitTest("_root.hero.szone") && (st <= 0)) {
_parent.gotoAndStop("sk");
}
}
if (this.hitTest("_root.rw")) {
_parent._xscale = -100;
_parent.di = "l";
}
if (this.hitTest("_root.lw")) {
_parent._xscale = 100;
_parent.di = "r";
}
if (_parent.di == "r") {
_parent._x = _parent._x + (8 + spr);
}
if (_parent.di == "l") {
_parent._x = _parent._x - (8 + spr);
}
if (this.hitTest("_root.hero.v.hit")) {
_parent.gotoAndStop("splat");
}
if (this.hitTest("_root.hero.v2.hit")) {
_parent.gotoAndStop("hit");
}
}
Instance of Symbol 40 MovieClip in Symbol 44 MovieClip [victom] Frame 5
onClipEvent (load) {
_root.combo = _root.combo + 1;
_root.combotime = 50;
_root.score = _root.score + (100 * _root.combo);
_root.kills = _root.kills + 1;
_root.spid = _root.spid + 1;
_root.attachMovie("sp1", "sp" + _root.spid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
_root.spid = _root.spid + 1;
_root.attachMovie("sp1", "sp" + _root.spid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
_root.spid = _root.spid + 1;
_root.attachMovie("sp1", "sp" + _root.spid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
_root.spid = _root.spid + 1;
_root.attachMovie("sp1", "sp" + _root.spid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
_root.spid = _root.spid + 1;
_root.attachMovie("ma", "sp" + _root.spid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
_root.spid = _root.spid + 1;
_root.attachMovie("mh", "sp" + _root.spid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
_root.attachMovie("spray", "spr" + _root.spid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
}
Instance of Symbol 42 MovieClip in Symbol 44 MovieClip [victom] Frame 6
onClipEvent (load) {
spt = 15;
_parent.vvc = 1;
_root.combo = _root.combo + 1;
_root.combotime = 50;
_root.kills = _root.kills + 1;
_root.score = _root.score + (100 * _root.combo);
_root.spid = _root.spid + 1;
_root.attachMovie("sp1", "sp" + _root.spid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
_root.spid = _root.spid + 1;
_root.attachMovie("sp1", "sp" + _root.spid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
_root.spid = _root.spid + 1;
_root.attachMovie("sp1", "sp" + _root.spid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
_root.spid = _root.spid + 1;
_root.attachMovie("sp1", "sp" + _root.spid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
_root.attachMovie("spray", "spr" + _root.spid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
_root.hid = _root.hid + 1;
if (_root.particals == "on") {
_root.attachMovie("hitfx", (hfx = hfx + _root.hid), 300 + _root.hid(), {_x:_parent._x, _y:_parent._y});
}
_parent.hitpowery = 20 + (Math.random() * 10);
_parent.hitpower = 5 + (Math.random() * 3);
if (_root.hero._x < _parent._x) {
_parent.v = "r";
}
if (_root.hero._x > _parent._x) {
_parent.v = "l";
}
}
onClipEvent (enterFrame) {
spt = spt - 1;
if (spt <= 0) {
spt = 15;
_root.spid = _root.spid + 1;
_root.attachMovie("sp1", "sp" + _root.spid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
}
_parent.hitpowery = _parent.hitpowery - 1;
if (_parent._x >= _root.rw._x) {
_parent.v = "l";
}
if (_parent._x <= _root.lw._x) {
_parent.v = "r";
}
_parent._y = _parent._y - _parent.hitpowery;
if (_parent.v == "r") {
_parent._x = _parent._x + _parent.hitpower;
_parent._rotation = _parent._rotation + 10;
}
if (_parent.v == "l") {
_parent._x = _parent._x - _parent.hitpower;
_parent._rotation = _parent._rotation - 10;
}
if (_parent.land == 1) {
_parent._rotation = 0;
_parent.gotoAndStop("sp2");
}
if (_parent._y > 600) {
removeMovieClip("_parent");
}
}
Instance of Symbol 40 MovieClip in Symbol 44 MovieClip [victom] Frame 7
onClipEvent (load) {
_root.spid = _root.spid + 1;
_root.attachMovie("sp1", "sp" + _root.spid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
_root.spid = _root.spid + 1;
_root.attachMovie("sp1", "sp" + _root.spid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
_root.spid = _root.spid + 1;
_root.attachMovie("sp1", "sp" + _root.spid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
_root.spid = _root.spid + 1;
_root.attachMovie("sp1", "sp" + _root.spid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
_root.spid = _root.spid + 1;
_root.attachMovie("ma", "sp" + _root.spid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
_root.spid = _root.spid + 1;
_root.attachMovie("mh", "sp" + _root.spid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
}
Instance of Symbol 43 MovieClip in Symbol 44 MovieClip [victom] Frame 8
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
speed = speed - 0.5;
if (this.hitTest("_root.rw")) {
_parent._xscale = -100;
_parent.di = "l";
}
if (this.hitTest("_root.lw")) {
_parent._xscale = 100;
_parent.di = "r";
}
if (_parent.di == "r") {
_parent._x = _parent._x + speed;
}
if (_parent.di == "l") {
_parent._x = _parent._x - speed;
}
if (sp <= 0) {
_parent.gotoAndStop("run");
}
if (this.hitTest("_root.hero.v.hit")) {
_parent.gotoAndStop("splat");
}
if (this.hitTest("_root.hero.v2.hit")) {
_parent.gotoAndStop("hit");
}
}
Symbol 49 MovieClip Frame 1
v = Math.round(Math.random() * 4);
gotoAndStop(v + 1);
Instance of Symbol 49 MovieClip in Symbol 50 MovieClip [sp2] Frame 1
onClipEvent (load) {
this._visible = false;
s = 0;
while (s < 5) {
_root.hid = _root.hid + 1;
_parent["s" + s].hitpowery = 5 + (Math.random() * 20);
_parent["s" + s].hitpower = 5 + (Math.random() * 5);
_parent["s" + s].zz = Math.round(Math.random() * 20);
if (_parent["s" + s].zz < 10) {
_parent["s" + s].v = "r";
} else {
_parent["s" + s].v = "l";
}
s++;
}
}
onClipEvent (enterFrame) {
s = 0;
while (s < 5) {
_parent["s" + s].hitpowery = _parent["s" + s].hitpowery - 2;
_parent["s" + s]._y = _parent["s" + s]._y - _parent["s" + s].hitpowery;
if (_parent["s" + s].v == "r") {
_parent["s" + s]._x = _parent["s" + s]._x + _parent["s" + s].hitpower;
_parent["s" + s]._rotation = _parent["s" + s]._rotation + 10;
}
if (_parent["s" + s].v == "l") {
_parent["s" + s]._x = _parent["s" + s]._x - _parent["s" + s].hitpower;
_parent["s" + s]._rotation = _parent["s" + s]._rotation - 10;
}
if (_parent["s" + s].land == 1) {
_parent["s" + s].land = 0;
}
if (_parent._y > 600) {
removeMovieClip("_parent");
}
s++;
}
}
Instance of Symbol 49 MovieClip in Symbol 51 MovieClip [sp1] Frame 1
onClipEvent (load) {
_root.hid = _root.hid + 1;
pp = 0;
_parent.hitpowery = 5 + (Math.random() * 20);
_parent.hitpower = 5 + (Math.random() * 5);
_parent.zz = Math.round(Math.random() * 20);
if (_parent.zz < 10) {
_parent.v = "r";
_parent._xscale = 100;
} else {
_parent.v = "l";
_parent._xscale = -100;
}
}
onClipEvent (enterFrame) {
pp = pp + 1;
if (pp >= 5) {
pp = 0;
_root.bid = _root.bid + 1;
_root.attachMovie("bl", "bl" + _root.bid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
}
_parent.hitpowery = _parent.hitpowery - 2;
_parent._y = _parent._y - _parent.hitpowery;
if (_parent.v == "r") {
_parent._x = _parent._x + _parent.hitpower;
_parent._rotation = _parent._rotation + 10;
}
if (_parent.v == "l") {
_parent._x = _parent._x - _parent.hitpower;
_parent._rotation = _parent._rotation - 10;
}
if (_parent.land == 1) {
_parent.land = 0;
}
if (_parent._rotation > 130) {
_parent._rotation = 130;
}
if ((_parent._rotation < -130) && (_parent._xscale == -100)) {
_parent._rotation = -130;
}
if (_parent._y > 600) {
removeMovieClip("_parent");
}
}
Instance of Symbol 53 MovieClip in Symbol 54 MovieClip [mh] Frame 1
onClipEvent (load) {
pp = 0;
_root.hid = _root.hid + 1;
_parent.hitpowery = 5 + (Math.random() * 20);
_parent.hitpower = 5 + (Math.random() * 5);
_parent.zz = Math.round(Math.random() * 20);
if (_parent.zz < 10) {
_parent.v = "r";
_parent._xscale = 100;
} else {
_parent.v = "l";
_parent._xscale = -100;
}
}
onClipEvent (enterFrame) {
pp = pp + 1;
if (pp >= 5) {
pp = 0;
_root.bid = _root.bid + 1;
_root.attachMovie("bl", "bl" + _root.bid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
}
_parent.hitpowery = _parent.hitpowery - 2;
_parent._y = _parent._y - _parent.hitpowery;
if (_parent.v == "r") {
_parent._x = _parent._x + _parent.hitpower;
_parent._rotation = _parent._rotation + 10;
}
if (_parent.v == "l") {
_parent._x = _parent._x - _parent.hitpower;
_parent._rotation = _parent._rotation - 10;
}
if (_parent.land == 1) {
_parent.land = 0;
}
if (_parent._rotation > 130) {
_parent._rotation = 130;
}
if (_parent._y > 600) {
removeMovieClip("_parent");
}
}
Instance of Symbol 56 MovieClip in Symbol 57 MovieClip [ma] Frame 1
onClipEvent (load) {
pp = 0;
_root.hid = _root.hid + 1;
_parent.hitpowery = 5 + (Math.random() * 20);
_parent.hitpower = 5 + (Math.random() * 5);
_parent.zz = Math.round(Math.random() * 20);
if (_parent.zz < 10) {
_parent.v = "r";
_parent._xscale = 100;
} else {
_parent.v = "l";
_parent._xscale = -100;
}
}
onClipEvent (enterFrame) {
pp = pp + 1;
if (pp >= 5) {
pp = 0;
_root.bid = _root.bid + 1;
_root.attachMovie("bl", "bl" + _root.bid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
}
_parent.hitpowery = _parent.hitpowery - 2;
_parent._y = _parent._y - _parent.hitpowery;
if (_parent.v == "r") {
_parent._x = _parent._x + _parent.hitpower;
_parent._rotation = _parent._rotation + 10;
}
if (_parent.v == "l") {
_parent._x = _parent._x - _parent.hitpower;
_parent._rotation = _parent._rotation - 10;
}
if (_parent.land == 1) {
_parent.land = 0;
}
if (_parent._rotation > 130) {
_parent._rotation = 130;
}
if (_parent._y > 600) {
removeMovieClip("_parent");
}
}
Instance of Symbol 59 MovieClip in Symbol 60 MovieClip [bl] Frame 1
onClipEvent (load) {
pp = Math.random() * 10;
}
onClipEvent (enterFrame) {
_parent._y = _parent._y + (10 + pp);
if (_parent._y > 500) {
removeMovieClip(_parent);
}
}
Symbol 63 MovieClip [spl] Frame 16
removeMovieClip(this);
Symbol 71 MovieClip [spray] Frame 7
removeMovieClip(this);
Instance of Symbol 73 MovieClip in Symbol 74 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
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 117 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 137 MovieClip Frame 143
_root.play();
Symbol 148 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Instance of Symbol 148 MovieClip in Symbol 149 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
varName = "defaultValue";
}
Instance of Symbol 148 MovieClip "cam" in Symbol 149 MovieClip Frame 21
//component parameters
onClipEvent (construct) {
varName = "defaultValue";
}
onClipEvent (load) {
focus = "main";
}
Instance of Symbol 148 MovieClip in Symbol 149 MovieClip Frame 45
//component parameters
onClipEvent (construct) {
varName = "defaultValue";
}
Symbol 149 MovieClip Frame 65
_root.play();
Symbol 164 Button
on (release) {
_root.gotoAndPlay("g");
}
Symbol 167 Button
on (release) {
getURL ("http://www.armorgames.com", "BLANK");
}
Symbol 170 Button
on (release) {
getURL ("http://rankz.armorbot.com/munshkin/", "BLANK");
}
Symbol 173 MovieClip Frame 33
stop();
Symbol 190 MovieClip Frame 1
this._visible = false;
Symbol 193 MovieClip Frame 1
this._visible = false;
Symbol 202 MovieClip Frame 20
ready = 1;
Symbol 203 MovieClip Frame 21
ready = 1;
Symbol 204 MovieClip Frame 10
ready = 1;
Symbol 205 MovieClip Frame 30
stop();
Symbol 206 MovieClip Frame 1
stop();
Instance of Symbol 196 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.land == 1) {
_parent.gotoAndStop("land");
}
}
Symbol 206 MovieClip Frame 2
stop();
Instance of Symbol 124 MovieClip in Symbol 206 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.timeup != 1) {
if (Key.isDown(39)) {
_parent.di = "R";
_parent._xscale = 100;
_root.walkspeed = 12;
_parent.gotoAndStop("walk");
}
if (Key.isDown(37)) {
_parent.di = "L";
_parent._xscale = -100;
_root.walkspeed = 12;
_parent.gotoAndStop("walk");
}
if (Key.isDown(32) && (Key.isDown(38))) {
_root.spacep = _root.spacep + 1;
_parent.gotoAndStop("attack2");
}
if (Key.isDown(32)) {
_root.spacep = _root.spacep + 1;
_parent.gotoAndStop("attack1");
}
}
}
Instance of Symbol 115 MovieClip in Symbol 206 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.timeup != 1) {
if (Key.isDown(39)) {
_parent._x = _parent._x + _root.walkspeed;
_parent.di = "R";
_parent._xscale = 100;
} else if (Key.isDown(37)) {
_parent._x = _parent._x - _root.walkspeed;
_parent.di = "L";
_parent._xscale = -100;
} else {
_parent.gotoAndStop("stand");
}
if (Key.isDown(32) && (Key.isDown(38))) {
_root.spacep = _root.spacep + 1;
_parent.gotoAndStop("attack2");
}
if (Key.isDown(32)) {
_root.spacep = _root.spacep + 1;
_parent.gotoAndStop("attack1");
}
} else {
_parent.gotoAndStop("stand");
}
}
Instance of Symbol 202 MovieClip "v" in Symbol 206 MovieClip Frame 4
onClipEvent (enterFrame) {
if (ready == 1) {
_parent.gotoAndStop("stand");
}
}
Instance of Symbol 203 MovieClip "v2" in Symbol 206 MovieClip Frame 5
onClipEvent (enterFrame) {
if (ready == 1) {
_parent.gotoAndStop("stand");
}
}
Instance of Symbol 204 MovieClip in Symbol 206 MovieClip Frame 6
onClipEvent (enterFrame) {
if (ready == 1) {
_parent.gotoAndStop("stand");
}
}
Symbol 211 MovieClip Frame 231
_root.viconmax = 10;
Symbol 211 MovieClip Frame 662
_root.viconmax = 15;
Symbol 211 MovieClip Frame 839
_root.viconmax = 20;
Symbol 211 MovieClip Frame 1042
_root.viconmax = 25;
Symbol 211 MovieClip Frame 1260
_root.viconmax = 30;
Symbol 211 MovieClip Frame 1498
_root.timeup = 1;
stop();
Symbol 218 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 2
_root.spid = _root.spid + 1;
_root.attachMovie("spray", "spr" + _root.spid, _root.getNextHighestDepth(), {_x:_parent._x, _y:_parent._y});
Symbol 223 MovieClip Frame 55
_root.gotoAndStop("scoreb");
Instance of Symbol 218 MovieClip "inkeys" in Symbol 224 MovieClip Frame 1
onClipEvent (load) {
ff = 1;
tt = 0;
qq = "m";
}
onClipEvent (enterFrame) {
if ((Key.isDown(81) && (qq == "m")) && (tt == 0)) {
tt = 10;
qq = "l";
_quality = "low";
}
if ((Key.isDown(81) && (qq == "h")) && (tt == 0)) {
tt = 10;
qq = "m";
_quality = "medium";
}
if ((Key.isDown(81) && (qq == "l")) && (tt == 0)) {
tt = 10;
qq = "h";
_quality = "high";
}
if ((Key.isDown(72) && (ff == 1)) && (tt == 0)) {
tt = 10;
ff = 2;
nextFrame();
}
tt--;
if (tt < 0) {
tt = 0;
}
if ((Key.isDown(72) && (ff == 2)) && (tt == 0)) {
ff = 1;
tt = 10;
prevFrame();
}
}
Instance of Symbol 223 MovieClip in Symbol 224 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.timeup == 1) {
play();
}
}
Symbol 232 Button
on (release) {
_root.replay = 1;
_root.gotoAndPlay("end");
}
Symbol 235 Button
on (release) {
nextFrame();
}
Symbol 238 MovieClip Frame 1
stop();
Symbol 238 MovieClip 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");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.pname;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.score;
__rankz_send__("MjM1NGolZSVhJW4lcw==", "Y0FQVU9IbHg=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
getURL ("http://rankz.armorbot.com/munshkin/", "BLANK");
stop();
Symbol 241 Button
on (release) {
_root.gotoAndPlay("stats");
}
Symbol 242 MovieClip Frame 1
stop();