Frame 1
mochi.as2.MochiServices.connect("d441de4f98766f89");
var NoMenu = new ContextMenu();
NoMenu.hideBuiltInItems();
this.menu = NoMenu;
_quality = "medium";
var _mochiads_game_id = "5627d67201d1acde";
onLoad = function () {
mac = false;
shc = false;
bckc = false;
nrc = false;
imc = false;
maco = false;
shco = false;
bckco = false;
bckcc = 1;
nrco = false;
imco = false;
mua = 1;
pau = false;
qua = 2;
};
mochi.as2.MochiAd.showPreGameAd({id:"d441de4f98766f89", res:"600x450"});
Frame 2
_root.pau = false;
onLoad = function () {
mua = 1;
pau = false;
qua = 2;
t = 0;
wade = 1;
pnts = 0;
hcu = 0;
hsu = 0;
hfu = 0;
ssu = 0;
sfu = 0;
mcu = 0;
msu = 0;
hhu = 0;
hth = 100;
hc = 9;
hd = 1;
hs = 16;
pshs = 21;
sd = 2;
mc = 25;
md = 0.2;
shotgun = false;
machinegun = false;
};
stop();
Mouse.hide();
onEnterFrame = function () {
if ((Key.isDown(77) and Key.isDown(74)) and Key.isDown(82)) {
_root.cheat.gotoAndStop("2");
mac = true;
shc = true;
bckc = true;
nrc = true;
imc = true;
}
if ((Key.isDown(68) and Key.isDown(72)) and Key.isDown(77)) {
_root.dhm = true;
_root.cheat.gotoAndStop("3");
}
if ((Key.isDown(80) and Key.isDown(79)) and Key.isDown(84)) {
_root.pot = true;
_root.cheat.gotoAndStop("4");
}
};
Instance of Symbol 1029 MovieClip "mw" in Frame 2
onClipEvent (enterFrame) {
if (_root.mua == 1) {
this.gotoAndStop("1");
} else {
this.gotoAndStop("2");
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
o = true;
} else {
o = false;
}
}
onClipEvent (mouseDown) {
if (o == true) {
if (this._currentframe == 1) {
this.gotoAndStop("2");
_root.mua = 2;
} else {
this.gotoAndStop("1");
_root.mua = 1;
}
}
}
Instance of Symbol 1130 MovieClip "aimer" in Frame 2
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = (_root._ymouse + _parent._y);
Mouse.hide;
}
Instance of Symbol 1166 MovieClip "faderq" in Frame 2
onClipEvent (load) {
s = 10;
}
onClipEvent (enterFrame) {
if (this._currentframe != 1) {
s = s + 1;
_parent._x = (Math.random() * s) + (_root.b.a._x / 8);
_parent._y = (Math.random() * s) + (_root.b.a._y / 8);
} else {
s = 10;
_parent._x = _root.b.a._x / 5;
_parent._y = _root.b.a._y / 5;
}
}
Instance of Symbol 1200 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_root.logg == true) {
this.gotoAndStop("175");
}
}
on (press) {
getURL ("http://www.pixelrobots.com");
mochi.as2.MochiServices.addLinkEvent("http://x.mochiads.com/link/5bf3fd45b386e24e", "pixelrobots.com", YOUR_BUTTON_REFERENCE);
}
Frame 3
Mouse.hide();
_root._x = 0;
_root._y = 0;
onEnterFrame = function () {
if (Key.isDown(80)) {
if (_root.px._currentframe == 1) {
if (_root.pau == false) {
_root.px.play();
_root.pau = true;
}
}
}
if (_root.mm.c.ll) {
sss = -4;
} else {
sss = 14.5;
}
if (_root.pau == false) {
if (Key.isDown(83) or Key.isDown(40)) {
if (_root.revolver.d._currentframe < 40) {
if (((_root.revolver._currentframe == 1) and (_root.revolver.d.v._x > 100)) or ((_root.revolver._currentframe > 2) and (_root.revolver.d._currentframe > 1))) {
_root.mm.c.a.f.t.g.gotoAndPlay("12");
if (_root.revolver._currentframe == 1) {
_root.revolver.d.gotoAndPlay("40");
} else {
_root.revolver.d.gotoAndPlay("41");
}
}
}
}
}
if ((_root.mm.c.a.f.t.g._currentframe == 2) or (_root.mm.c.a.f.t.g._currentframe == 12)) {
if (_root.revolver._currentframe == 1) {
if (_root.revolver.d._currentframe == 40) {
_root.revolver.d.play();
}
if (_root.revolver.d.v._x > (300 - (200 / (_root.mc - 2)))) {
_root.revolver.d.gotoAndStop("40");
_root.revolver.d.v._x = -100;
}
if (_root.revolver.d._currentframe < 40) {
this.revolver.d.v._x = this.revolver.d.v._x + (200 / _root.mc);
}
} else {
_root.revolver.d.play();
}
if (_root.mm.c.a.f.t.g._currentframe == 2) {
ss = true;
j = 3;
sh = true;
p = 0.05;
this.am--;
}
}
if (j == 0) {
sh = false;
var _local3 = 0;
while (_local3 < 13) {
nm = "b" + _local3;
_root[nm]._x = -2000;
_local3++;
}
}
if (sh) {
j--;
if (ss) {
if (_root.mm.c.ll) {
myAngle = _root.mm.c.a.f.t.g._rotation;
}
if (_root.mm.c.rr) {
myAngle = (_root.mm.c.a.f.t.g._rotation * -1) - 180;
}
xchange = Math.cos((Math.PI/180) * myAngle) * 23;
ychange = Math.sin((Math.PI/180) * myAngle) * 23;
ss = false;
}
var _local3 = 0;
while (_local3 < 13) {
nm = "b" + _local3;
_root.attachMovie("ht", nm, _local3);
_root[nm]._x = ((((xchange * ((_local3 + 2) + p)) + _root.mm.c._x) - sss) - _root.mm.bn._x) + 295;
_root[nm]._y = (((ychange * ((_local3 + 2) + p)) + _root.mm.c._y) - _root.mm.bn._y) + 345;
p = p - 0.021;
_local3++;
}
}
t = t + 0.3;
if (t < 0) {
t = 0;
}
_root.wer.timee = int(t);
};
onLoad = function () {
p = two;
t = 0;
};
Instance of Symbol 1205 MovieClip in Frame 3
onClipEvent (load) {
b = _root.bckcc;
this.gotoAndStop(b);
}
Instance of Symbol 1214 MovieClip "bar" in Frame 3
onClipEvent (load) {
this._width = _parent.hth;
_root.baro._width = _parent.hth * 1.03;
}
onClipEvent (enterFrame) {
trace(this._width);
if (this._width < 2) {
_root.mm.c.gotoAndStop("2");
}
}
Instance of Symbol 1262 MovieClip "revolver" in Frame 3
onClipEvent (load) {
f = _parent.hc - 6;
}
onClipEvent (enterFrame) {
if (_root.nrco == true) {
this.gotoAndStop("9");
} else {
if (_root.mm.c.a.f.t._currentframe == 1) {
this.gotoAndStop(f);
}
if (_root.mm.c.a.f.t._currentframe == 2) {
this.gotoAndStop("1");
}
if (_root.mm.c.a.f.t._currentframe == 3) {
this.gotoAndStop("2");
}
}
}
Instance of Symbol 1408 MovieClip "mq" in Frame 3
onClipEvent (load) {
if (_root.mua == 1) {
this.gotoAndStop("1");
} else {
this.gotoAndStop("2");
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
o = true;
} else {
o = false;
}
}
onClipEvent (mouseDown) {
if (o == true) {
if (this._currentframe == 1) {
this.gotoAndStop("2");
_root.mua = 2;
} else {
this.gotoAndStop("1");
_root.mua = 1;
}
}
}
Instance of Symbol 1261 MovieClip "ia" in Frame 3
onClipEvent (enterFrame) {
trace(_root.pnts._x);
if (_root.imco == true) {
this._visible = true;
_root.pnts._visible = false;
} else {
this._visible = false;
_root.pnts._visible = true;
}
}
Instance of Symbol 1515 MovieClip in Frame 3
onClipEvent (load) {
t = 0;
this.min = 0;
c = false;
}
onClipEvent (enterFrame) {
if (_root.pau == false) {
if ((this.min > 2) and (c == false)) {
if ((_root.wade == 16) and (_root.bckc == false)) {
_root.px.play();
_root.bckc = true;
_root.nch.gotoAndStop("2");
_root.pau = true;
}
if ((_root.wade == 17) and (_root.shc == false)) {
_root.pau = true;
_root.px.play();
_root.shc = true;
_root.nch.gotoAndStop("3");
}
if ((_root.wade == 18) and (_root.mac == false)) {
_root.pau = true;
_root.px.play();
_root.mac = true;
_root.nch.gotoAndStop("4");
}
c = true;
}
if (_root.wade > 15) {
this._visible = true;
if (this._parent.mm.c._currentframe == 1) {
t++;
}
this.sec = Math.round(t / 25);
if (sec > 59) {
t = 0;
min = min + 1;
}
_root.tscor = Math.round((min * 60) + sec);
trace(_root.tscor + "kjhghjk");
} else {
this._visible = false;
}
}
}
Instance of Symbol 1130 MovieClip "aimer" in Frame 3
onClipEvent (mouseMove) {
_x = _root._xmouse;
_y = _root._ymouse;
Mouse.hide;
}
Instance of Symbol 1588 MovieClip "js" in Frame 3
onClipEvent (enterFrame) {
if (_root.mm.c.a.f.t.g._currentframe == 2) {
this.gotoAndPlay("1");
c = true;
}
if (c == true) {
if (_root.mm.c.a.f.t._currentframe == 1) {
s = 2.5;
}
if (_root.mm.c.a.f.t._currentframe == 2) {
s = 4;
}
if (_root.mm.c.a.f.t._currentframe == 3) {
s = 1.5;
}
if (this._currentframe == 5) {
c = false;
}
_root._x = this.b._x / s;
_root._y = this.b._y / s;
}
}
Frame 4
_root.pau = false;
onEnterFrame = function () {
if (_root.imco == true) {
this.pnts = 200000 /* 0x030D40 */;
} else {
this.pnts = _root.pnts;
}
this.hcn = hc;
this.hsn = hd;
this.hfn = hs - 1;
this.ssn = sd;
this.sfn = pshs - 1;
this.mcn = mc;
this.msn = md;
this.hhcn = hth;
};
Instance of Symbol 1643 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this._parent.hhu == 0) {
c = 20;
}
if (this._parent.hhu == 1) {
c = 30;
}
if (this._parent.hhu == 2) {
c = 45;
}
if (this._parent.hhu == 3) {
c = 60;
}
if (this._parent.hhu == 4) {
c = 70;
}
if (this._parent.hhu == 5) {
c = 85;
}
if (this._parent.hhu == 6) {
c = 100;
}
if (this._parent.hhu == 7) {
c = 130;
}
if (this._parent.hhu == 8) {
c = 145;
}
if (this._parent.hhu == 9) {
c = 160;
}
if (this._parent.hhu > 9) {
this._visible = false;
o = false;
} else if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
o = true;
this.gotoAndStop("2");
this._parent.hhm.b = true;
} else {
this._parent.hhm.b = false;
o = false;
this.gotoAndStop("1");
}
}
onClipEvent (mouseDown) {
if (o == true) {
if ((_root.pnts > c) or (_root.pnts == c)) {
this._parent.hhu++;
this._parent.pnts = this._parent.pnts - c;
this._parent.hth = this._parent.hth + 10;
}
}
}
Instance of Symbol 1644 MovieClip in Frame 4
onClipEvent (enterFrame) {
_root.hc = _parent.hc;
_root.hd = _parent.hd;
_root.hs = _parent.hs;
_root.hth = _parent.hth;
}
Instance of Symbol 1654 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this._parent.hsu == 0) {
c = 30;
}
if (this._parent.hsu == 1) {
c = 55;
}
if (this._parent.hsu == 2) {
c = 80;
}
if (this._parent.hsu == 3) {
c = 120;
}
if (this._parent.hsu == 4) {
c = 170;
}
if (this._parent.hsu > 4) {
this._visible = false;
o = false;
} else if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
o = true;
this.gotoAndStop("2");
this._parent.hsm.b = true;
} else {
this._parent.hsm.b = false;
o = false;
this.gotoAndStop("1");
}
}
onClipEvent (mouseDown) {
if (o == true) {
if ((_root.pnts > c) or (_root.pnts == c)) {
this._parent.hsu++;
this._parent.pnts = this._parent.pnts - c;
this._parent.hd = this._parent.hd + 0.2;
}
}
}
Instance of Symbol 1673 MovieClip "hhm" in Frame 4
onClipEvent (load) {
c = 0;
}
onClipEvent (enterFrame) {
if (b == true) {
c++;
if (c == 7) {
this.gotoAndStop(this._parent.hhu + 2);
}
if (c == 14) {
this.gotoAndStop(this._parent.hhu + 1);
c = 0;
}
} else {
c = 4;
this.gotoAndStop(this._parent.hhu + 1);
}
}
Instance of Symbol 1680 MovieClip "hsm" in Frame 4
onClipEvent (load) {
c = 0;
}
onClipEvent (enterFrame) {
if (b == true) {
c++;
if (c == 7) {
this.gotoAndStop(this._parent.hsu + 2);
}
if (c == 14) {
this.gotoAndStop(this._parent.hsu + 1);
c = 0;
}
} else {
c = 4;
this.gotoAndStop(this._parent.hsu + 1);
}
}
Instance of Symbol 1681 MovieClip "hcm" in Frame 4
onClipEvent (load) {
c = 0;
}
onClipEvent (enterFrame) {
if (b == true) {
c++;
if (c == 7) {
this.gotoAndStop(this._parent.hcu + 2);
}
if (c == 14) {
this.gotoAndStop(this._parent.hcu + 1);
c = 0;
}
} else {
c = 4;
this.gotoAndStop(this._parent.hcu + 1);
}
}
Instance of Symbol 1682 MovieClip "hfm" in Frame 4
onClipEvent (load) {
c = 0;
}
onClipEvent (enterFrame) {
if (b == true) {
c++;
if (c == 7) {
this.gotoAndStop(this._parent.hfu + 2);
}
if (c == 14) {
this.gotoAndStop(this._parent.hfu + 1);
c = 0;
}
} else {
c = 4;
this.gotoAndStop(this._parent.hfu + 1);
}
}
Instance of Symbol 1683 MovieClip "ssm" in Frame 4
onClipEvent (load) {
c = 0;
}
onClipEvent (enterFrame) {
if (b == true) {
c++;
if (c == 7) {
this.gotoAndStop(this._parent.ssu + 2);
}
if (c == 14) {
this.gotoAndStop(this._parent.ssu + 1);
c = 0;
}
} else {
c = 4;
this.gotoAndStop(this._parent.ssu + 1);
}
}
Instance of Symbol 1684 MovieClip "sfm" in Frame 4
onClipEvent (load) {
c = 0;
}
onClipEvent (enterFrame) {
if (b == true) {
c++;
if (c == 7) {
this.gotoAndStop(this._parent.sfu + 2);
}
if (c == 14) {
this.gotoAndStop(this._parent.sfu + 1);
c = 0;
}
} else {
c = 4;
this.gotoAndStop(this._parent.sfu + 1);
}
}
Instance of Symbol 1685 MovieClip "mcm" in Frame 4
onClipEvent (load) {
c = 0;
}
onClipEvent (enterFrame) {
if (b == true) {
c++;
if (c == 7) {
this.gotoAndStop(this._parent.mcu + 2);
}
if (c == 14) {
this.gotoAndStop(this._parent.mcu + 1);
c = 0;
}
} else {
c = 4;
this.gotoAndStop(this._parent.mcu + 1);
}
}
Instance of Symbol 1686 MovieClip "msm" in Frame 4
onClipEvent (load) {
c = 0;
}
onClipEvent (enterFrame) {
if (b == true) {
c++;
if (c == 7) {
this.gotoAndStop(this._parent.msu + 2);
}
if (c == 14) {
this.gotoAndStop(this._parent.msu + 1);
c = 0;
}
} else {
c = 4;
this.gotoAndStop(this._parent.msu + 1);
}
}
Instance of Symbol 1688 MovieClip "ssh" in Frame 4
onClipEvent (load) {
c = 0;
}
onClipEvent (enterFrame) {
if (this._parent.shotgun == true) {
_visible = false;
} else if (b == true) {
c++;
if (c == 7) {
this._visible = false;
}
if (c == 14) {
this._visible = true;
c = 0;
}
} else {
c = 4;
this._visible = true;
}
}
Instance of Symbol 1688 MovieClip "msh" in Frame 4
onClipEvent (load) {
c = 0;
}
onClipEvent (enterFrame) {
if (this._parent.machinegun == true) {
_visible = false;
} else if (b == true) {
c++;
if (c == 7) {
this._visible = false;
}
if (c == 14) {
this._visible = true;
c = 0;
}
} else {
c = 4;
this._visible = true;
}
}
Instance of Symbol 1654 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this._parent.hfu == 0) {
c = 30;
}
if (this._parent.hfu == 1) {
c = 60;
}
if (this._parent.hfu == 2) {
c = 80;
}
if (this._parent.hfu == 3) {
c = 120;
}
if (this._parent.hfu == 4) {
c = 170;
}
if (this._parent.hfu > 4) {
this._visible = false;
o = false;
} else if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
o = true;
this.gotoAndStop("2");
this._parent.hfm.b = true;
} else {
this._parent.hfm.b = false;
o = false;
this.gotoAndStop("1");
}
}
onClipEvent (mouseDown) {
if (o == true) {
if ((_root.pnts > c) or (_root.pnts == c)) {
this._parent.hfu++;
this._parent.pnts = this._parent.pnts - c;
this._parent.hs = this._parent.hs - 3;
}
}
}
Instance of Symbol 1654 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this._parent.hcu == 0) {
c = 30;
}
if (this._parent.hcu == 1) {
c = 50;
}
if (this._parent.hcu == 2) {
c = 75;
}
if (this._parent.hcu == 3) {
c = 110;
}
if (this._parent.hcu == 4) {
c = 150;
}
if (this._parent.hcu > 4) {
this._visible = false;
o = false;
} else if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
o = true;
this.gotoAndStop("2");
this._parent.hcm.b = true;
} else {
this._parent.hcm.b = false;
o = false;
this.gotoAndStop("1");
}
}
onClipEvent (mouseDown) {
if (o == true) {
if ((_root.pnts > c) or (_root.pnts == c)) {
this._parent.hcu++;
this._parent.pnts = this._parent.pnts - c;
this._parent.hc++;
}
}
}
Instance of Symbol 1693 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this._parent.machinegun == true) {
_visible = false;
o = false;
} else {
_visible = true;
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
o = true;
this.gotoAndStop("2");
this._parent.msh.b = true;
} else {
this._parent.msh.b = false;
o = false;
this.gotoAndStop("1");
}
}
}
onClipEvent (mouseDown) {
if (o == true) {
if ((_root.pnts > 200) or (_root.pnts == 200)) {
this._parent.pnts = this._parent.pnts - 200;
this._parent.machinegun = true;
}
}
}
Instance of Symbol 1654 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this._parent.shotgun == true) {
_visible = true;
} else {
_visible = false;
}
if (this._parent.ssu == 0) {
c = 30;
}
if (this._parent.ssu == 1) {
c = 50;
}
if (this._parent.ssu == 2) {
c = 80;
}
if (this._parent.ssu == 3) {
c = 120;
}
if (this._parent.ssu == 4) {
c = 160;
}
if (this._parent.ssu > 4) {
this._visible = false;
o = false;
} else if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (this._parent.shotgun == true) {
o = true;
this.gotoAndStop("2");
this._parent.ssm.b = true;
}
} else {
this._parent.ssm.b = false;
o = false;
this.gotoAndStop("1");
}
}
onClipEvent (mouseDown) {
if (o == true) {
if ((_root.pnts > c) or (_root.pnts == c)) {
this._parent.ssu++;
this._parent.pnts = this._parent.pnts - c;
this._parent.sd = this._parent.sd + 0.5;
}
}
}
Instance of Symbol 1654 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this._parent.shotgun == true) {
_visible = true;
} else {
_visible = false;
}
if (this._parent.sfu == 0) {
c = 30;
}
if (this._parent.sfu == 1) {
c = 50;
}
if (this._parent.sfu == 2) {
c = 80;
}
if (this._parent.sfu == 3) {
c = 120;
}
if (this._parent.sfu == 4) {
c = 160;
}
if (this._parent.sfu > 4) {
this._visible = false;
o = false;
} else if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (this._parent.shotgun == true) {
o = true;
this.gotoAndStop("2");
this._parent.sfm.b = true;
}
} else {
this._parent.sfm.b = false;
o = false;
this.gotoAndStop("1");
}
}
onClipEvent (mouseDown) {
if (o == true) {
if ((_root.pnts > c) or (_root.pnts == c)) {
this._parent.sfu++;
this._parent.pnts = this._parent.pnts - c;
this._parent.pshs = this._parent.pshs - 4;
}
}
}
Instance of Symbol 1654 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this._parent.machinegun == true) {
_visible = true;
} else {
_visible = false;
}
if (this._parent.msu == 0) {
c = 30;
}
if (this._parent.msu == 1) {
c = 50;
}
if (this._parent.msu == 2) {
c = 80;
}
if (this._parent.msu == 3) {
c = 120;
}
if (this._parent.msu == 4) {
c = 160;
}
if (this._parent.msu > 4) {
this._visible = false;
o = false;
} else if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (this._parent.machinegun == true) {
o = true;
this.gotoAndStop("2");
this._parent.msm.b = true;
}
} else {
this._parent.msm.b = false;
o = false;
this.gotoAndStop("1");
}
}
onClipEvent (mouseDown) {
if (o == true) {
if ((_root.pnts > c) or (_root.pnts == c)) {
this._parent.msu++;
this._parent.pnts = this._parent.pnts - c;
this._parent.md = this._parent.md + 0.1;
}
}
}
Instance of Symbol 1654 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this._parent.machinegun == true) {
_visible = true;
} else {
_visible = false;
}
if (this._parent.mcu == 0) {
c = 30;
}
if (this._parent.mcu == 1) {
c = 50;
}
if (this._parent.mcu == 2) {
c = 80;
}
if (this._parent.mcu == 3) {
c = 120;
}
if (this._parent.mcu == 4) {
c = 160;
}
if (this._parent.mcu > 4) {
this._visible = false;
o = false;
} else if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (this._parent.machinegun == true) {
o = true;
this.gotoAndStop("2");
this._parent.mcm.b = true;
}
} else {
this._parent.mcm.b = false;
o = false;
this.gotoAndStop("1");
}
}
onClipEvent (mouseDown) {
if (o == true) {
if ((_root.pnts > c) or (_root.pnts == c)) {
this._parent.mcu++;
this._parent.pnts = this._parent.pnts - c;
this._parent.mc = this._parent.mc + 5;
}
}
}
Instance of Symbol 1693 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this._parent.shotgun == true) {
_visible = false;
o = false;
} else {
_visible = true;
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
o = true;
this.gotoAndStop("2");
this._parent.ssh.b = true;
} else {
this._parent.ssh.b = false;
o = false;
this.gotoAndStop("1");
}
}
}
onClipEvent (mouseDown) {
if (o == true) {
if ((_root.pnts > 200) or (_root.pnts == 200)) {
this._parent.pnts = this._parent.pnts - 200;
this._parent.shotgun = true;
}
}
}
Instance of Symbol 1721 MovieClip in Frame 4
onClipEvent (enterFrame) {
w = _root.wade - 1;
this.gotoAndStop(w);
}
Instance of Symbol 1130 MovieClip "aimer" in Frame 4
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = (_root._ymouse + _parent._y);
Mouse.hide;
}
Instance of Symbol 1723 MovieClip in Frame 4
onClipEvent (enterFrame) {
trace(_root.pnts._x);
if (_root.imco == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1731 MovieClip in Frame 5
onClipEvent (enterFrame) {
_root.nrc = true;
_root.imc = true;
if (_root.wade == 15) {
this.gotoAndStop("2");
}
if (_root.wade == 16) {
this.gotoAndStop("3");
}
if (_root.wade == 17) {
this.gotoAndStop("4");
}
if (_root.wade == 18) {
this.gotoAndStop("5");
}
}
Instance of Symbol 1130 MovieClip "aimer" in Frame 5
onClipEvent (mouseMove) {
_x = _root._xmouse;
_y = _root._ymouse;
Mouse.hide;
}
Frame 6
_root.n = "enter name here";
Instance of Symbol 1747 MovieClip in Frame 6
on (press) {
_root.gotoAndStop("2");
}
Instance of Symbol 1750 MovieClip in Frame 6
on (press) {
_root.namp = _root.p.text;
trace(_root.p.text);
_root.gotoAndStop("9");
}
Instance of Symbol 1752 MovieClip in Frame 6
onClipEvent (enterFrame) {
this._parent.t = Math.ceil(_root.tscor) - 0.3;
}
Instance of Symbol 1130 MovieClip "aimer" in Frame 6
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = (_root._ymouse + _parent._y);
Mouse.hide;
}
Frame 7
_root.n = "enter name here";
Instance of Symbol 1750 MovieClip in Frame 7
on (press) {
_root.namp = _root.p.text;
trace(_root.p.text);
_root.gotoAndStop("11");
}
Instance of Symbol 1752 MovieClip in Frame 7
onClipEvent (enterFrame) {
this._parent.t = Math.round(_root.tscor) - 0.3;
}
Frame 8
_root.n = "enter name here";
Instance of Symbol 1750 MovieClip in Frame 8
on (press) {
_root.namp = _root.p.text;
trace(_root.p.text);
_root.gotoAndStop("13");
}
Instance of Symbol 1752 MovieClip in Frame 8
onClipEvent (enterFrame) {
this._parent.t = Math.ceil(_root.tscor) - 0.3;
}
Frame 9
var o = {n:[6, 6, 10, 8, 5, 11, 8, 3, 6, 13, 7, 1, 4, 7, 9, 13], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID, score:_root.tscor, name:_root.namp});
Frame 10
_root.gotoAndStop("2");
Frame 11
var o = {n:[15, 14, 1, 2, 1, 12, 6, 1, 5, 10, 2, 15, 13, 0, 6, 14], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID, score:_root.tscor, name:_root.namp});
Frame 12
_root.gotoAndStop("2");
Frame 13
var o = {n:[1, 13, 10, 2, 7, 2, 6, 0, 12, 13, 10, 12, 1, 12, 2, 4], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID, score:_root.tscor, name:_root.namp});
Frame 14
_root.gotoAndStop("2");
Symbol 13 MovieClip Frame 1
stop();
Symbol 13 MovieClip Frame 2
play();
Symbol 56 MovieClip Frame 12
_root.och.play();
if (_root.bar._width < 6) {
_root.bar._width = 0;
}
_root.bar._width = _root.bar._width - 5;
Symbol 56 MovieClip Frame 13
if (_root.bar._width < 6) {
_root.bar._width = 0;
}
_root.bar._width = _root.bar._width - 5;
Symbol 56 MovieClip Frame 38
_parent.gotoAndStop("1");
Symbol 63 MovieClip Frame 73
_parent.gotoAndStop("1");
Symbol 81 MovieClip Frame 40
stop();
Instance of Symbol 77 MovieClip in Symbol 81 MovieClip Frame 40
onClipEvent (enterFrame) {
if ((Math.random() * 10) < 1) {
this._parent.play();
}
}
Symbol 81 MovieClip Frame 43
if (this._parent.fg.h < 2) {
this.gotoAndPlay("150");
}
Symbol 81 MovieClip Frame 136
_parent.gotoAndStop("1");
Symbol 81 MovieClip Frame 167
_parent.gotoAndStop("11");
Symbol 86 MovieClip Frame 46
stop();
Instance of Symbol 77 MovieClip in Symbol 86 MovieClip Frame 46
onClipEvent (enterFrame) {
if ((Math.random() * 10) < 1) {
this._parent.play();
}
}
Symbol 86 MovieClip Frame 144
_parent.gotoAndStop("1");
Symbol 88 MovieClip Frame 43
if (this._parent.fg.h < 2) {
this.gotoAndPlay("145");
}
Symbol 88 MovieClip Frame 44
stop();
Instance of Symbol 77 MovieClip in Symbol 88 MovieClip Frame 44
onClipEvent (enterFrame) {
if ((Math.random() * 10) < 1) {
this._parent.play();
}
}
Symbol 88 MovieClip Frame 142
_parent.gotoAndStop("1");
Symbol 88 MovieClip Frame 165
_parent.gotoAndStop("11");
Symbol 91 MovieClip Frame 68
_parent.gotoAndStop("11");
Symbol 94 MovieClip Frame 55
_parent.gotoAndStop("11");
Symbol 118 MovieClip Frame 86
_parent.gotoAndStop("11");
Symbol 133 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 2
play();
Symbol 143 MovieClip Frame 75
_parent.gotoAndStop("1");
Symbol 144 MovieClip [wal] Frame 1
stop();
Instance of Symbol 41 MovieClip "fg" in Symbol 144 MovieClip [wal] Frame 1
onClipEvent (load) {
h = 4 + (Math.random() * 3);
sj = true;
dead = false;
deadd = false;
zz = 1;
}
onClipEvent (enterFrame) {
if (this._parent._currentframe == 2) {
if (_root.pau == true) {
this._parent.a.stop;
} else {
this._parent.a.play();
}
}
if (_root.pau == false) {
if (deadd == false) {
if (Math.floor(h) < 1) {
dead = true;
}
if (this._parent._currentframe == 11) {
deadd = true;
_root.pnts = _root.pnts + 12;
this._parent._parent.ec.c--;
this._parent.gotoAndStop("12");
}
if (rev == true) {
if ((this._parent._currentframe == 6) and (this._parent.a._currentframe == 46)) {
this._parent.a.gotoAndPlay("145");
}
if ((this._parent._currentframe == 4) and (this._parent.a._currentframe == 45)) {
this._parent.a.gotoAndPlay("140");
}
if (((this._parent._currentframe == 4) and (this._parent.a._currentframe < 100)) or ((this._parent._currentframe == 6) and (this._parent.a._currentframe < 100))) {
this._parent.a.prevFrame();
this._parent.a.prevFrame();
}
}
if ((Math.abs(this._parent._x - this._parent._parent.c._x) < 50) and (h > 1)) {
if ((Math.floor(h) > 0) and (hh == true)) {
if (this._parent._currentframe == 1) {
_parent.gotoAndStop("2");
}
}
}
if ((this._parent._currentframe == 1) or (this._parent._currentframe == 2)) {
if (this._parent._x > (this._parent._parent.c._x + 10)) {
if (this._parent._currentframe == 1) {
this._parent._x = this._parent._x - 0.5;
}
if (drc == false) {
drc = true;
this._parent._xscale = this._parent._xscale * -1;
}
} else if (this._parent._x < (this._parent._parent.c._x - 10)) {
if (this._parent._currentframe == 1) {
this._parent._x = this._parent._x + 0.5;
}
if (drc == true) {
drc = false;
this._parent._xscale = this._parent._xscale * -1;
}
}
}
if (this._parent._parent.c.a.f.t.g._currentframe == 2) {
s = true;
cc = 3;
}
if (s == true) {
cc = cc - 1;
if (cc == 0) {
sj = true;
hit = false;
s = false;
}
} else {
hh = true;
}
if (s == true) {
if (_root.mm.c.a.f.t._currentframe == 3) {
zz = 3;
} else {
zz = 1;
}
var i = 0;
while (i < 17) {
nm = "b" + i;
if (hh == true) {
if (this._parent.a.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true) or this._parent.n.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true)) {
hit = true;
}
}
if (sj == true) {
if (hh == true) {
if (this._parent.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true)) {
if (hh == true) {
if (this._parent.a.q.h.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true) or this._parent.n.q.h.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true)) {
if (Math.floor(h) > 1) {
if (this._parent._currentframe == 3) {
if ((Math.random() * (12 / zz)) > 1) {
this._parent.gotoAndStop("4");
} else {
this._parent.gotoAndStop("9");
}
}
if (this._parent._currentframe == 1) {
if ((Math.random() * (12 / zz)) > 1) {
if ((Math.random() * (4 * zz)) > 1) {
this._parent.gotoAndStop("3");
} else if ((this._parent.n.q.h.blood._currentframe > 7) or (this._parent.n.q.h.blood._currentframe == 1)) {
this._parent.n.q.h.blood.gotoAndPlay("1");
}
} else {
this._parent.gotoAndStop("9");
}
}
if (this._parent._currentframe == 2) {
if ((Math.random() * 12) > 1) {
if ((Math.random() * 4) > 1) {
this._parent.gotoAndStop("3");
} else if ((this._parent.n.q.h.blood._currentframe > 7) or (this._parent.n.q.h.blood._currentframe == 1)) {
this._parent.n.q.h.blood.gotoAndPlay("1");
}
} else {
this._parent.gotoAndStop("9");
}
}
if (this._parent._currentframe == 5) {
if (this._parent.a._currentframe < 100) {
this._parent.gotoAndStop("6");
} else if ((this._parent.a.q.blood._currentframe > 7) or (this._parent.a.q.blood._currentframe == 1)) {
this._parent.a.q.blood.gotoAndPlay("1");
}
}
}
if ((Math.floor(h) < 2) and ((((this._parent._currentframe == 1) or (this._parent._currentframe == 2)) or (this._parent._currentframe == 3)) or (this._parent._currentframe == 5))) {
if ((this._parent._currentframe == 5) and (this._parent.a._currentframe < 100)) {
this._parent.gotoAndStop("6");
}
if ((this._parent._currentframe == 5) and (this._parent.a._currentframe > 100)) {
this._parent.gotoAndStop("7");
}
if (((Math.random() * 4) > 1) and (this._parent._currentframe < 4)) {
this._parent.gotoAndStop("4");
} else {
this._parent.gotoAndStop("9");
}
}
hh = false;
h = h - _root.mm.c.zx;
hit = true;
}
}
if (this._parent.chest.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true)) {
if (Math.floor(h) > 1) {
if (this._parent._currentframe == 5) {
if (this._parent.a._currentframe < 100) {
this._parent.gotoAndStop("6");
} else if ((_parent.a.blood._currentframe > 7) or (_parent.a.blood._currentframe == 1)) {
this._parent.a.blood.gotoAndPlay("2");
}
}
if (this._parent._currentframe != 5) {
if ((_parent.a.blood._currentframe > 7) or (_parent.a.blood._currentframe == 1)) {
this._parent.a.blood.gotoAndPlay("2");
}
if ((this._parent.n.blood._currentframe > 7) or (_parent.n.blood._currentframe == 1)) {
this._parent.n.blood.gotoAndPlay("2");
}
}
}
if (Math.floor(h) < 2) {
if (this._parent._currentframe < 4) {
this._parent.gotoAndStop("7");
}
}
hh = false;
h = h - _root.mm.c.zx;
hit = true;
}
}
if (hh == true) {
if (this._parent.leg.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true)) {
if ((Math.floor(h) > 1) and (this._parent._currentframe < 4)) {
if ((Math.random() * 4) > 1) {
this._parent.gotoAndStop("5");
} else if ((this._parent.n.q.l.blood._currentframe > 7) or (this._parent.n.q.l.blood._currentframe == 1)) {
this._parent.n.q.l.blood.gotoAndPlay("1");
}
}
if ((Math.floor(h) < 2) and (this._parent._currentframe < 4)) {
this._parent.gotoAndStop("8");
}
hh = false;
h = h - _root.mm.c.zx;
hit = true;
}
}
if (hh == true) {
if (this._parent.a.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true)) {
if (Math.floor(h) > 1) {
if ((((this._parent._currentframe == 3) or (this._parent._currentframe == 4)) or (this._parent._currentframe == 6)) or (this._parent._currentframe == 10)) {
if ((_parent.a.blood._currentframe > 7) or (_parent.a.blood._currentframe == 1)) {
this._parent.a.blood.gotoAndPlay("2");
}
}
if (this._parent._currentframe == 5) {
if (this._parent.a._currentframe < 100) {
if ((_parent.a.blood._currentframe > 7) or (_parent.a.blood._currentframe == 1)) {
this._parent.a.blood.gotoAndPlay("2");
}
} else if ((_parent.a.l.blood._currentframe > 7) or (_parent.a.l.blood._currentframe == 1)) {
this._parent.a.l.blood.gotoAndPlay("2");
}
}
}
if (Math.floor(h) < 2) {
if ((this._parent._currentframe == 5) and (this._parent.a._currentframe < 100)) {
this._parent.gotoAndStop("6");
}
if ((this._parent._currentframe == 5) and (this._parent.a._currentframe > 100)) {
this._parent.gotoAndStop("7");
}
if (this._parent._currentframe == 4) {
if ((_parent.a.blood._currentframe > 7) or (_parent.a.blood._currentframe == 1)) {
this._parent.a.blood.gotoAndPlay("2");
}
if (this._parent.a._currentframe > 43) {
if (this._parent.a._currentframe < 90) {
if (this._parent.a._currentframe > 55) {
this._parent.a.gotoAndStop("55");
}
rev = true;
}
if ((this._parent.a._currentframe > 90) and (this._parent.a._currentframe < 137)) {
this._parent.gotoAndStop("7");
}
}
}
if (this._parent._currentframe == 6) {
if (this._parent.a._currentframe > 43) {
if (this._parent.a._currentframe < 96) {
if (this._parent.a._currentframe > 61) {
this._parent.a.gotoAndStop("61");
}
rev = true;
if ((_parent.a.blood._currentframe > 7) or (_parent.a.blood._currentframe == 1)) {
this._parent.a.blood.gotoAndPlay("2");
}
}
if ((this._parent.a._currentframe > 96) and (this._parent.a._currentframe < 145)) {
this._parent.gotoAndStop("7");
}
}
}
}
hh = false;
h = h - _root.mm.c.zx;
hit = true;
}
}
}
}
i++;
}
}
}
}
}
Symbol 158 MovieClip Frame 42
stop();
Instance of Symbol 153 MovieClip in Symbol 158 MovieClip Frame 42
onClipEvent (enterFrame) {
if ((Math.random() * 50) < 1) {
_parent.play();
}
}
Symbol 158 MovieClip Frame 120
stop();
Instance of Symbol 154 MovieClip in Symbol 158 MovieClip Frame 120
onClipEvent (enterFrame) {
if ((Math.random() * 50) < 1) {
_parent.play();
}
}
Symbol 158 MovieClip Frame 149
this.gotoAndPlay("45");
Symbol 158 MovieClip Frame 192
this.gotoAndPlay("45");
Symbol 158 MovieClip Frame 392
this.gotoAndPlay("45");
Symbol 173 MovieClip Frame 30
stop();
Instance of Symbol 172 MovieClip in Symbol 173 MovieClip Frame 30
onClipEvent (enterFrame) {
if ((Math.random() * 50) < 1) {
_parent.play();
}
}
Symbol 173 MovieClip Frame 87
stop();
Instance of Symbol 172 MovieClip in Symbol 173 MovieClip Frame 87
onClipEvent (enterFrame) {
if ((Math.random() * 50) < 1) {
_parent.play();
}
}
Symbol 173 MovieClip Frame 162
stop();
Instance of Symbol 172 MovieClip in Symbol 173 MovieClip Frame 162
onClipEvent (enterFrame) {
if ((Math.random() * 50) < 1) {
_parent.play();
}
}
Symbol 173 MovieClip Frame 215
stop();
Instance of Symbol 172 MovieClip in Symbol 173 MovieClip Frame 215
onClipEvent (enterFrame) {
if ((Math.random() * 50) < 1) {
_parent.play();
}
}
Symbol 173 MovieClip Frame 228
this.gotoAndPlay("7");
Symbol 199 MovieClip Frame 79
stop();
Symbol 200 MovieClip Frame 45
stop();
Symbol 201 MovieClip Frame 107
stop();
Symbol 201 MovieClip Frame 108
this._parent.tt._visible = false;
Instance of Symbol 201 MovieClip "t" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.t.gotoAndPlay("194");
}
if (Math.abs(this._parent._parent._x - this._parent._parent._parent.c._x) < 125) {
if (this.t._currentframe < 150) {
this.t.gotoAndPlay("150");
}
}
if (Key.isDown(40)) {
this.gotoAndStop("108");
}
}
Symbol 203 MovieClip Frame 1
stop();
Instance of Symbol 202 MovieClip in Symbol 204 MovieClip [tent] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.t.gotoAndPlay("178");
}
}
onClipEvent (load) {
h = 5;
x = 0;
}
onClipEvent (enterFrame) {
if (this.t.t._currentframe == 261) {
this._parent.tt.play();
this._parent.tt._x = this._parent._parent.c._x + 100;
}
if ((Math.random() * 240) < 1) {
this.t.t.gotoAndPlay(194);
}
if (this.t.t._currentframe == 175) {
if (Math.abs(this._parent._x - this._parent._parent.c._x) < 125) {
_root.och.play();
_root.bar._width = _root.bar._width - 8;
}
}
if (Math.abs(this._parent._x - this._parent._parent.c._x) < 125) {
if (this.t.t._currentframe < 150) {
this.t.t.gotoAndPlay("150");
}
}
if (_parent._parent.c.a.f.t.g._currentframe == 2) {
s = true;
cc = 3;
}
if (this._parent._parent.c.a.f.t.g._currentframe == 2) {
s = true;
cc = 3;
}
if (s == true) {
cc = cc - 1;
if (cc == 0) {
s = false;
}
} else {
hh = true;
}
if (s == true) {
var i = 0;
while (i < 17) {
nm = "b" + i;
if (hh == true) {
if (this._parent.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true)) {
if (Math.floor(h) > 1) {
if ((this._parent.blood._currentframe > 7) or (this._parent.blood._currentframe == 1)) {
this._parent.blood.gotoAndPlay("2");
}
}
if (Math.floor(h) < 2) {
this.t.gotoAndStop("108");
}
hh = false;
h--;
}
}
i++;
}
}
}
Symbol 225 MovieClip Frame 53
_parent.gotoAndStop("1");
Instance of Symbol 237 MovieClip in Symbol 238 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.bar._width < 11) {
_root.bar._width = 0;
}
}
Symbol 238 MovieClip Frame 12
_parent._parent._parent.och.play();
_parent._parent._parent.bar._width = _parent._parent._parent.bar._width - 10;
_parent._parent.gotoAndStop("5");
Symbol 249 MovieClip Frame 65
_parent.gotoAndStop("5");
Symbol 250 MovieClip [spider] Frame 1
stop();
Instance of Symbol 222 MovieClip "k" in Symbol 250 MovieClip [spider] Frame 1
onClipEvent (load) {
this._parent.dd._x = 25 * this._parent.t.drc;
}
Instance of Symbol 223 MovieClip "t" in Symbol 250 MovieClip [spider] Frame 1
onClipEvent (enterFrame) {
if (_root.pau == false) {
if (h == 1) {
if (Math.abs((this._parent._x + 15) - this._parent._parent.c._x) < 120) {
if (b == true) {
this._parent.gotoAndStop("2");
b = false;
}
}
if (this._parent._currentframe == 1) {
if (drc == 1) {
this._parent._x = this._parent._x + 1.7;
}
if (drc == -1) {
this._parent._x = this._parent._x - 1.7;
}
}
}
}
}
onClipEvent (load) {
b = true;
h = 1;
x = 0;
}
onClipEvent (enterFrame) {
if (_root.pau == false) {
if (h == 1) {
if (_parent._parent.c.a.f.t.g._currentframe == 2) {
s = true;
cc = 3;
}
if (this._parent._parent.c.a.f.t.g._currentframe == 2) {
s = true;
cc = 3;
}
if (s == true) {
cc = cc - 1;
if (cc == 0) {
s = false;
}
} else {
hh = true;
}
if (s == true) {
var i = 0;
while (i < 17) {
nm = "b" + i;
if ((hh == true) and this._parent.k.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true)) {
if ((this._parent._currentframe == 2) and (this._parent.k._currentframe > 14)) {
this._parent.gotoAndStop("3");
this._parent.k._x = (this._parent.dd._x * drc) * -1;
_root.pnts = _root.pnts + 2;
} else {
_root.pnts = _root.pnts + 5;
this._parent._parent.ec.c--;
this._parent.gotoAndStop("4");
}
hh = false;
h = h - 1;
}
i++;
}
}
}
}
}
Instance of Symbol 225 MovieClip "k" in Symbol 250 MovieClip [spider] Frame 2
onClipEvent (enterFrame) {
}
Instance of Symbol 226 MovieClip "dd" in Symbol 250 MovieClip [spider] Frame 2
onClipEvent (enterFrame) {
if (_root.pau == true) {
this._parent.k.stop();
} else {
this._parent.k.play();
}
this._x = this._parent.k.b._x * this._parent.t.drc;
this._y = this._parent.k.b._y;
if (Math.abs((this._x + this._parent._x) - this._parent._parent.c._x) < 10) {
this._parent.gotoAndStop("3");
_root.och.play();
_root.bar._width = _root.bar._width - 5;
this._parent._x = this._parent._parent.c._x - (10 * this._parent.t.drc);
}
}
Instance of Symbol 239 MovieClip "k" in Symbol 250 MovieClip [spider] Frame 3
onClipEvent (load) {
this._y = this._parent.dd._y;
}
Symbol 381 MovieClip Frame 106
_parent.gotoAndStop("12");
Symbol 382 MovieClip [run] Frame 1
stop();
Instance of Symbol 41 MovieClip "fg" in Symbol 382 MovieClip [run] Frame 1
onClipEvent (load) {
sj = true;
dead = false;
deadd = false;
zz = 1;
sp = 3;
h = 9;
}
onClipEvent (enterFrame) {
if (ha == true) {
haa++;
_root.och.play();
_root.bar._width = _root.bar._width - 4;
if (haa > 3) {
ha = false;
}
}
if (this._parent._currentframe == 2) {
if (this._parent.n._currentframe == 51) {
if (Math.abs(this._parent._x - this._parent._parent.c._x) < 90) {
ha = true;
haa = 0;
}
}
}
if (ha == true) {
haa++;
_root.och.play();
_root.bar._width = _root.bar._width - 4;
if (haa > 3) {
ha = false;
}
}
if (sp < 1.5) {
sp = 1.5;
}
if (sp < 3) {
sp = sp + 0.05;
}
if (sp > 3) {
sp = 3;
}
if (_root.pau == false) {
if (deadd == false) {
if (Math.floor(h) < 1) {
dead = true;
}
if (this._parent._currentframe == 11) {
deadd = true;
_root.pnts = _root.pnts + 20;
this._parent._parent.ec.c--;
this._parent.gotoAndStop("12");
}
if (rev == true) {
if ((this._parent._currentframe == 6) and (this._parent.a._currentframe == 46)) {
this._parent.a.gotoAndPlay("145");
}
if ((this._parent._currentframe == 4) and (this._parent.a._currentframe == 45)) {
this._parent.a.gotoAndPlay("140");
}
if (((this._parent._currentframe == 4) and (this._parent.a._currentframe < 100)) or ((this._parent._currentframe == 6) and (this._parent.a._currentframe < 100))) {
this._parent.a.prevFrame();
this._parent.a.prevFrame();
}
}
if ((Math.abs(this._parent._x - this._parent._parent.c._x) < 50) and (Math.floor(h) > 0)) {
if ((Math.floor(h) > 0) and (hh == true)) {
if (this._parent._currentframe == 1) {
_parent.gotoAndStop("2");
}
}
}
if ((this._parent._currentframe == 1) or (this._parent._currentframe == 2)) {
if (this._parent._x > (this._parent._parent.c._x + 10)) {
if (this._parent._currentframe == 1) {
this._parent._x = this._parent._x - sp;
}
if (drc == false) {
drc = true;
this._parent._xscale = this._parent._xscale * -1;
}
} else if (this._parent._x < (this._parent._parent.c._x - 10)) {
if (this._parent._currentframe == 1) {
this._parent._x = this._parent._x + sp;
}
if (drc == true) {
drc = false;
this._parent._xscale = this._parent._xscale * -1;
}
}
}
if (this._parent._parent.c.a.f.t.g._currentframe == 2) {
s = true;
cc = 3;
}
if (s == true) {
cc = cc - 1;
if (cc == 0) {
sj = true;
hit = false;
s = false;
}
} else {
hh = true;
}
if (s == true) {
if (_root.mm.c.a.f.t._currentframe == 3) {
zz = 2.4;
} else {
zz = 1;
}
var i = 0;
while (i < 17) {
nm = "b" + i;
if (hh == true) {
if (this._parent.a.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true) or this._parent.n.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true)) {
hit = true;
}
}
if (sj == true) {
if (hh == true) {
if (this._parent.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true)) {
sp = sp - 1;
if (hh == true) {
if (this._parent.a.q.h.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true) or this._parent.n.q.h.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true)) {
if (Math.floor(h) > 1) {
if (this._parent._currentframe == 1) {
if ((Math.random() * (14 / zz)) > 1) {
if ((this._parent.n.q.h.blood._currentframe > 7) or (this._parent.n.q.h.blood._currentframe == 1)) {
this._parent.n.q.h.blood.gotoAndPlay("1");
}
} else {
this._parent.gotoAndStop("9");
}
}
}
if (Math.floor(h) < 2) {
if ((Math.random() * (4 * zz)) > 1) {
this._parent.gotoAndStop("4");
} else {
this._parent.gotoAndStop("9");
}
}
hh = false;
h = h - _root.mm.c.zx;
hit = true;
}
}
if (this._parent.chest.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true)) {
if (Math.floor(h) > 1) {
if ((_parent.n.blood._currentframe > 7) or (_parent.n.blood._currentframe == 1)) {
this._parent.n.blood.gotoAndPlay("2");
}
}
if (Math.floor(h) < 2) {
this._parent.gotoAndStop("7");
}
hh = false;
h = h - _root.mm.c.zx;
hit = true;
}
}
if (hh == true) {
if (this._parent.leg.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true)) {
if (Math.floor(h) > 1) {
if ((this._parent.n.q.l.blood._currentframe > 7) or (this._parent.n.q.l.blood._currentframe == 1)) {
this._parent.n.q.l.blood.gotoAndPlay("1");
}
}
if (Math.floor(h) < 2) {
this._parent.gotoAndStop("8");
}
hh = false;
h = h - _root.mm.c.zx;
hit = true;
}
}
if (hh == true) {
if (this._parent.a.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true)) {
if (Math.floor(h) > 1) {
if ((_parent.n.blood._currentframe > 7) or (_parent.n.blood._currentframe == 1)) {
this._parent.n.blood.gotoAndPlay("2");
}
}
if (Math.floor(h) < 2) {
if ((this._parent._currentframe == 5) and (this._parent.a._currentframe > 100)) {
this._parent.gotoAndStop("7");
}
}
hh = false;
h = h - _root.mm.c.zx;
hit = true;
}
}
}
}
i++;
}
}
}
}
}
Symbol 397 MovieClip Frame 1
stop();
Symbol 397 MovieClip Frame 2
play();
Symbol 420 MovieClip Frame 28
this.gotoAndPlay("1");
Symbol 420 MovieClip Frame 30
_root.och.play();
if (_root.bar._width < 6) {
_root.bar._width = 0;
}
_root.bar._width = _root.bar._width - 5;
Symbol 420 MovieClip Frame 38
stop();
Symbol 421 MovieClip Frame 20
_parent.gotoAndStop("1");
Symbol 438 MovieClip Frame 38
stop();
Symbol 452 MovieClip Frame 49
_parent.spit.sh = true;
Symbol 452 MovieClip Frame 68
_parent.gotoAndStop("1");
Symbol 453 MovieClip [fly] Frame 1
stop();
Instance of Symbol 41 MovieClip "nj" in Symbol 453 MovieClip [fly] Frame 1
onClipEvent (load) {
dead = false;
h = 5;
x = 0;
}
onClipEvent (enterFrame) {
if (this._parent._currentframe == 4) {
if (_root.pau == true) {
this._parent.n.stop();
} else {
this._parent.n.play();
}
}
if (_root.pau == false) {
if (dead == false) {
if ((this._parent._currentframe == 3) and (this._parent.n._currentframe == 38)) {
dead = true;
_root.pnts = _root.pnts + 10;
this._parent._parent.ec.c--;
this._parent.gotoAndStop("5");
}
if (this._parent._currentframe == 3) {
x = x / 1.06;
}
if (_parent._parent.c.a.f.t.g._currentframe == 2) {
s = true;
cc = 3;
}
if (((((drc == 1) and (this._parent._x > (this._parent._parent.c._x + 40))) or ((drc == -1) and (this._parent._x < (this._parent._parent.c._x - 40)))) and (this._parent._x < (this._parent._parent.c._x + 200))) and (this._parent._x > (this._parent._parent.c._x - 180))) {
if ((this._parent._currentframe == 1) and (this._parent.n._currentframe == 1)) {
this._parent.gotoAndStop("4");
}
}
this._parent._x = this._parent._x + x;
if (this._parent._x > (this._parent._parent.c._x + 110)) {
if (x > -0.8) {
x = x - 0.01;
}
} else if (this._parent._x < (this._parent._parent.c._x - 110)) {
if (x < 0.8) {
x = x + 0.01;
}
} else if (((drc == 1) and (this._parent._x < (this._parent._parent.c._x + 80))) and (x < 1)) {
x = x + 0.013;
} else if (((drc == -1) and (this._parent._x > (this._parent._parent.c._x - 80))) and (x > -1)) {
x = x - 0.013;
} else {
if (x < 0) {
x = x + 0.013;
}
if (x > 0) {
x = x - 0.013;
}
if (Math.round(x) == 0) {
x = 0;
}
}
if (this._parent._parent.c.a.f.t.g._currentframe == 2) {
s = true;
cc = 3;
}
if (s == true) {
cc = cc - 1;
if (cc == 0) {
s = false;
}
} else {
hh = true;
}
if (s == true) {
var i = 0;
while (i < 17) {
nm = "b" + i;
if ((hh == true) and this._parent.nj.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true)) {
if (Math.floor(h) > 1) {
if ((this._parent.n.blood._currentframe > 7) or (this._parent.n.blood._currentframe == 1)) {
this._parent.n.blood.gotoAndPlay("2");
}
}
if (Math.floor(h) < 2) {
this._parent.gotoAndStop("3");
}
hh = false;
h = h - _root.mm.c.zx;
}
i++;
}
}
}
}
}
Instance of Symbol 420 MovieClip "spit" in Symbol 453 MovieClip [fly] Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._parent.nj.dead == false) {
if (sh == true) {
this.gotoAndPlay("1");
if (_root.pau == false) {
this._rotation = 12.5;
this._x = -23;
this._y = 29;
y = 3;
x = 2.3;
shh = true;
sh = false;
this._visible = true;
qw = true;
}
}
if (shh == true) {
if (_root.pau == false) {
if ((this._y + this._parent._y) > (this._parent._parent.c._y + 40)) {
shh = false;
this._visible = false;
}
if (((((((qw == true) and (this._parent._parent.c.ll == true)) and ((this._y + this._parent._y) > (this._parent._parent.c._y - 40))) and ((this._y + this._parent._y) < (this._parent._parent.c._y + 40))) and ((((this._x * rt) + ru) + this._parent._x) < (this._parent._parent.c._x + 27))) and ((((this._x * rt) + ru) + this._parent._x) > (this._parent._parent.c._x - 4))) or ((((((qw == true) and (this._parent._parent.c.rr == true)) and ((this._y + this._parent._y) > (this._parent._parent.c._y - 40))) and ((this._y + this._parent._y) < (this._parent._parent.c._y + 40))) and ((((this._x * rt) + ru) + this._parent._x) < (this._parent._parent.c._x + 18))) and ((((this._x * rt) + ru) + this._parent._x) > (this._parent._parent.c._x - 16)))) {
this.gotoAndPlay("30");
qw = false;
}
xx = (Math.abs(this._parent._x - this._parent._parent.c._x) - 80) / 2;
if (xx > 22) {
xx = 22;
}
if (xx < 0) {
xx = 0;
}
y = y + 0.1;
x = x - 0.03;
this._rotation = this._rotation - 0.2;
if (this._currentframe < 30) {
this._x = this._x - (x + (xx / 26));
this._y = this._y + y;
}
}
}
}
}
Symbol 797 MovieClip Frame 37
stop();
Symbol 814 MovieClip Frame 146
_parent.gotoAndStop("4");
Symbol 815 MovieClip [leg] Frame 1
stop();
Instance of Symbol 41 MovieClip "klq" in Symbol 815 MovieClip [leg] Frame 1
onClipEvent (load) {
h = 13;
x = 0;
}
onClipEvent (enterFrame) {
if (_root.pau == false) {
if (Math.abs(this._parent._x - this._parent._parent.c._x) < 100) {
if (drc == false) {
_root.mm.c.wrp = false;
} else {
_root.mm.c.wlp = false;
}
}
if (((bla == true) and (attack == false)) and (this._parent.k._currentframe == 1)) {
this._parent.gotoAndStop("1");
this._parent.k.m._currentframe = this._parent.arm._currentframe;
this._parent.k._currentframe = this._parent.arm._currentframe;
bla = false;
}
if ((attack == true) and (this._parent._currentframe == 2)) {
if (Math.abs(this._parent._x - this._parent._parent.c._x) > 195) {
attack = false;
this._parent.arm.play();
this._parent.arm.m.play();
bla = true;
} else if (_root.pau == false) {
_parent.k.play();
if ((this._parent.k._currentframe > 50) and (this._parent.k._currentframe < 117)) {
_root.och.gotoAndPlay("3");
_root.bar._width = _root.bar._width - 0.5;
}
} else {
_parent.k.stop();
}
}
if (Math.abs(this._parent._x - this._parent._parent.c._x) < 195) {
this._parent.gotoAndStop("2");
attack = true;
if ((this._parent.arm._currentframe == 1) or (this._parent.arm._currentframe == 60)) {
this._parent.arm.stop();
this._parent.arm.m.stop();
}
}
if (_parent._parent.c.a.f.t.g._currentframe == 2) {
s = true;
cc = 3;
}
if ((this._parent.arm._currentframe != 1) and (this._parent.arm._currentframe != 60)) {
if (this._parent._x > (this._parent._parent.c._x + 40)) {
this._parent._x = this._parent._x - 0.7;
} else if (this._parent._x < (this._parent._parent.c._x - 40)) {
this._parent._x = this._parent._x + 0.7;
}
}
if (this._parent._parent.c.a.f.t.g._currentframe == 2) {
s = true;
cc = 3;
}
if (s == true) {
cc = cc - 1;
if (cc == 0) {
s = false;
}
} else {
hh = true;
}
if (s == true) {
var i = 0;
while (i < 17) {
nm = "b" + i;
if ((hh == true) and this._parent.b.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true)) {
if (Math.floor(h) > 1) {
if ((this._parent.k.bblood._currentframe > 7) or (this._parent.k.tblood._currentframe == 1)) {
this._parent.k.bblood.gotoAndPlay("2");
}
}
if (Math.floor(h) < 2) {
this._parent.gotoAndStop("3");
}
hh = false;
h = h - _root.mm.c.zx;
} else if ((hh == true) and this._parent.m.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true)) {
if (Math.floor(h) > 1) {
if ((this._parent.k.mblood._currentframe > 7) or (this._parent.k.tblood._currentframe == 1)) {
this._parent.k.mblood.gotoAndPlay("2");
}
}
if (Math.floor(h) < 2) {
this._parent.gotoAndStop("3");
}
hh = false;
h = h - _root.mm.c.zx;
} else if ((hh == true) and this._parent.t.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true)) {
if (Math.floor(h) > 1) {
if ((this._parent.k.tblood._currentframe > 7) or (this._parent.k.tblood._currentframe == 1)) {
this._parent.k.tblood.gotoAndPlay("2");
}
}
if (Math.floor(h) < 2) {
this._parent.gotoAndStop("3");
}
hh = false;
h = h - _root.mm.c.zx;
}
i++;
}
}
}
}
Instance of Symbol 41 MovieClip "klq" in Symbol 815 MovieClip [leg] Frame 4
onClipEvent (enterFrame) {
_root.pnts = _root.pnts + 20;
this._parent._parent.ec.c--;
this._parent.gotoAndStop("5");
}
Symbol 838 MovieClip Frame 1
stop();
Symbol 849 MovieClip Frame 13
stop();
Symbol 870 MovieClip Frame 124
_parent.gotoAndStop("4");
Symbol 881 MovieClip Frame 29
_parent._parent._parent.och.play();
if (_root.bar._width < 11) {
_root.bar._width = 0;
}
_parent._parent._parent.bar._width = _parent._parent._parent.bar._width - 10;
Symbol 882 MovieClip [nolegs] Frame 1
stop();
Instance of Symbol 841 MovieClip "fg" in Symbol 882 MovieClip [nolegs] Frame 1
onClipEvent (load) {
h = 6;
x = 0;
}
onClipEvent (enterFrame) {
if (this._parent._currentframe == 3) {
if (_root.pau == true) {
this._parent.k.stop();
} else {
this._parent.k.play();
}
}
if (_root.pau == false) {
if ((this._parent._currentframe == 1) or (this._parent._currentframe == 2)) {
if (this._parent._x > (this._parent._parent.c._x + 22)) {
if (this._parent._currentframe == 1) {
this._parent._x = this._parent._x - 0.7;
}
if (drc == false) {
drc = true;
this._parent._xscale = this._parent._xscale * -1;
}
} else if (this._parent._x < (this._parent._parent.c._x - 22)) {
if (this._parent._currentframe == 1) {
this._parent._x = this._parent._x + 0.7;
}
if (drc == true) {
drc = false;
this._parent._xscale = this._parent._xscale * -1;
}
}
}
if ((((attack == true) and (this._parent._currentframe == 3)) and (this._parent.k._currentframe == 1)) and (Math.abs(this._parent._x - this._parent._parent.c._x) > 40)) {
attack = false;
this._parent.gotoAndStop("1");
}
if ((Math.floor(h) > -1) and (Math.abs(this._parent._x - this._parent._parent.c._x) < 40)) {
this._parent.gotoAndStop("3");
attack = true;
}
if (_parent._parent.c.a.f.t.g._currentframe == 2) {
s = true;
cc = 3;
}
if (this._parent._parent.c.a.f.t.g._currentframe == 2) {
s = true;
cc = 3;
}
if (s == true) {
cc = cc - 1;
if (cc == 0) {
s = false;
}
} else {
hh = true;
}
if (s == true) {
var i = 0;
while (i < 17) {
nm = "b" + i;
if (hh == true) {
if (this._parent.hitTest(_parent._parent._parent[nm]._x, _parent._parent._parent[nm]._y, true)) {
if (Math.floor(h) > 1) {
if ((this._parent.k.tblood._currentframe > 7) or (this._parent.k.tblood._currentframe == 1)) {
this._parent.k.tblood.gotoAndPlay("2");
this._parent.k.yy.hh.play();
}
}
if (Math.floor(h) < 2) {
_root.pnts = _root.pnts + 10;
this._parent._parent.ec.c--;
this._parent.gotoAndStop("2");
}
hh = false;
h = h - _root.mm.c.zx;
}
}
i++;
}
}
}
}
Symbol 882 MovieClip [nolegs] Frame 2
stop();
Symbol 882 MovieClip [nolegs] Frame 3
stop();
Symbol 891 MovieClip Frame 7
stop();
Symbol 894 MovieClip Frame 7
stop();
Symbol 895 MovieClip Frame 1
stop();
Symbol 900 MovieClip Frame 7
stop();
Symbol 903 MovieClip Frame 7
stop();
Symbol 904 MovieClip Frame 1
stop();
Symbol 909 MovieClip Frame 8
stop();
Symbol 912 MovieClip Frame 6
stop();
Symbol 913 MovieClip Frame 1
stop();
Symbol 924 MovieClip Frame 7
stop();
Symbol 926 MovieClip Frame 7
stop();
Symbol 927 MovieClip Frame 1
stop();
Symbol 937 MovieClip Frame 1
stop();
Symbol 941 MovieClip Frame 1
stop();
Symbol 945 MovieClip Frame 1
stop();
Symbol 949 Button
on (press) {
this._parent.play();
}
Instance of Symbol 937 MovieClip in Symbol 950 MovieClip Frame 1
on (press) {
if (this._parent._parent._parent.c._currentframe == 1) {
if (this._parent._parent._parent._parent._parent._currentframe == 26) {
_root.wade = 16;
_root.hth = 120;
_root.hc = 14;
_root.hd = 2;
_root.hs = 1;
_root.pshs = 1;
_root.sd = 4.5;
_root.mc = 50;
_root.md = 0.5;
if (_root.shco == true) {
_root.shotgun = true;
}
if (_root.maco == true) {
_root.machinegun = true;
}
this._parent._parent._parent._parent._parent.play();
_root.faderq.play();
}
}
}
on (rollOver) {
this.gotoAndStop("2");
}
on (rollOut) {
this.gotoAndStop("1");
}
Instance of Symbol 941 MovieClip in Symbol 950 MovieClip Frame 1
on (press) {
if (this._parent._parent._parent.c._currentframe == 1) {
if (this._parent._parent._parent._parent._parent._currentframe == 26) {
_root.wade = 17;
_root.hth = 120;
_root.hc = 14;
_root.hd = 1.5;
_root.hs = 1;
_root.pshs = 1;
_root.sd = 4;
_root.mc = 50;
_root.md = 0.4;
if (_root.shco == true) {
_root.shotgun = true;
}
if (_root.maco == true) {
_root.machinegun = true;
}
this._parent._parent._parent._parent._parent.play();
_root.faderq.play();
}
}
}
on (rollOver) {
this.gotoAndStop("2");
}
on (rollOut) {
this.gotoAndStop("1");
}
Instance of Symbol 945 MovieClip in Symbol 950 MovieClip Frame 1
on (press) {
if (this._parent._parent._parent.c._currentframe == 1) {
if (this._parent._parent._parent._parent._parent._currentframe == 26) {
_root.wade = 18;
_root.hth = 120;
_root.hc = 14;
_root.hd = 1.3;
_root.hs = 1;
_root.pshs = 1;
_root.sd = 3.5;
_root.mc = 50;
_root.md = 0.3;
if (_root.shco == true) {
_root.shotgun = true;
}
if (_root.maco == true) {
_root.machinegun = true;
}
this._parent._parent._parent._parent._parent.play();
_root.faderq.play();
}
}
}
on (rollOver) {
this.gotoAndStop("2");
}
on (rollOut) {
this.gotoAndStop("1");
}
Symbol 956 MovieClip Frame 1
stop();
Symbol 956 MovieClip Frame 30
stop();
Symbol 964 MovieClip Frame 6
stop();
Symbol 967 MovieClip Frame 4
stop();
Symbol 972 MovieClip Frame 1
stop();
Symbol 975 Button
on (press) {
_root.ffad.gotoAndPlay("2");
this.play();
}
Symbol 980 MovieClip Frame 1
stop();
Symbol 983 MovieClip Frame 1
stop();
Symbol 986 MovieClip Frame 1
stop();
Instance of Symbol 995 MovieClip in Symbol 1014 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.bckcc == 1) {
this.gotoAndStop("2");
} else {
this.gotoAndStop("1");
}
}
on (press) {
_root.bckcc = 1;
}
Instance of Symbol 998 MovieClip in Symbol 1014 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.bckcc == 2) {
this.gotoAndStop("2");
} else {
this.gotoAndStop("1");
}
}
on (press) {
_root.bckcc = 2;
}
Instance of Symbol 1001 MovieClip in Symbol 1014 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.bckcc == 3) {
this.gotoAndStop("2");
} else {
this.gotoAndStop("1");
}
}
on (press) {
_root.bckcc = 3;
}
Instance of Symbol 1004 MovieClip in Symbol 1014 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.bckcc == 4) {
this.gotoAndStop("2");
} else {
this.gotoAndStop("1");
}
}
on (press) {
_root.bckcc = 4;
}
Instance of Symbol 1007 MovieClip in Symbol 1014 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.bckcc == 5) {
this.gotoAndStop("2");
} else {
this.gotoAndStop("1");
}
}
on (press) {
_root.bckcc = 5;
}
Instance of Symbol 1010 MovieClip in Symbol 1014 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.bckcc == 6) {
this.gotoAndStop("2");
} else {
this.gotoAndStop("1");
}
}
on (press) {
_root.bckcc = 6;
}
Instance of Symbol 1013 MovieClip in Symbol 1014 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.bckcc == 7) {
this.gotoAndStop("2");
} else {
this.gotoAndStop("1");
}
}
on (press) {
_root.bckcc = 7;
}
Symbol 1017 MovieClip Frame 1
stop();
Instance of Symbol 972 MovieClip "y" in Symbol 1017 MovieClip Frame 11
onClipEvent (enterFrame) {
if (this._parent.aw._currentframe == 2) {
this.gotoAndStop("2");
} else if (this._parent.sw._currentframe == 2) {
this.gotoAndStop("3");
} else if (this._parent.dw._currentframe == 2) {
this.gotoAndStop("4");
} else if (this._parent.fw._currentframe == 2) {
this.gotoAndStop("5");
} else if (this._parent.gw._currentframe == 2) {
this.gotoAndStop("6");
} else {
this.gotoAndStop("1");
}
}
Instance of Symbol 980 MovieClip "aw" in Symbol 1017 MovieClip Frame 11
onClipEvent (load) {
m = false;
}
onClipEvent (enterFrame) {
if (m == false) {
if (_root.imco == true) {
this.gotoAndStop("3");
} else {
this.gotoAndStop("1");
}
} else {
this._parent.y.gotoAndStop("2");
}
}
on (rollOver) {
m = true;
this.gotoAndStop("2");
}
on (rollOut) {
m = false;
if (_root.imco == true) {
this.gotoAndStop("3");
} else {
this.gotoAndStop("1");
}
this._parent.t.gotoAndStop("1");
}
on (press) {
if (_root.imc == true) {
if (_root.imco == false) {
this.gotoAndStop("3");
_root.imco = true;
} else {
this.gotoAndStop("1");
_root.imco = false;
}
}
}
Instance of Symbol 983 MovieClip "sw" in Symbol 1017 MovieClip Frame 11
onClipEvent (load) {
m = false;
}
onClipEvent (enterFrame) {
if (m == false) {
if (_root.nrco == true) {
this.gotoAndStop("3");
} else {
this.gotoAndStop("1");
}
} else {
this._parent.t.gotoAndStop("3");
}
}
on (rollOver) {
m = true;
this.gotoAndStop("2");
}
on (rollOut) {
m = false;
if (_root.nrco == true) {
this.gotoAndStop("3");
} else {
this.gotoAndStop("1");
}
this._parent.t.gotoAndStop("1");
}
on (press) {
if (_root.nrc == true) {
if (_root.nrco == false) {
this.gotoAndStop("3");
_root.nrco = true;
} else {
this.gotoAndStop("1");
_root.nrco = false;
}
}
}
Instance of Symbol 986 MovieClip "dw" in Symbol 1017 MovieClip Frame 11
onClipEvent (load) {
m = false;
}
onClipEvent (enterFrame) {
if (m == false) {
if (_root.shco == true) {
this.gotoAndStop("3");
} else {
this.gotoAndStop("1");
}
}
}
on (rollOver) {
m = true;
this.gotoAndStop("2");
this._parent.t.gotoAndStop("4");
}
on (rollOut) {
m = false;
if (_root.shco == true) {
this.gotoAndStop("3");
} else {
this.gotoAndStop("1");
}
this._parent.t.gotoAndStop("1");
}
on (press) {
if (_root.shc == true) {
if (_root.shco == false) {
this.gotoAndStop("3");
_root.shco = true;
} else {
this.gotoAndStop("1");
_root.shco = false;
}
}
}
Instance of Symbol 989 MovieClip "fw" in Symbol 1017 MovieClip Frame 11
onClipEvent (load) {
m = false;
}
onClipEvent (enterFrame) {
if (m == false) {
if (_root.maco == true) {
this.gotoAndStop("3");
} else {
this.gotoAndStop("1");
}
}
}
on (rollOver) {
m = true;
this.gotoAndStop("2");
this.t.gotoAndStop("5");
this._parent.t.gotoAndStop("5");
this._parent._parent.t.gotoAndStop("5");
}
on (rollOut) {
m = false;
if (_root.maco == true) {
this.gotoAndStop("3");
} else {
this.gotoAndStop("1");
}
this._parent.t.gotoAndStop("1");
}
on (press) {
if (_root.mac == true) {
if (_root.maco == false) {
this.gotoAndStop("3");
_root.maco = true;
} else {
this.gotoAndStop("1");
_root.maco = false;
}
}
}
Instance of Symbol 992 MovieClip "gw" in Symbol 1017 MovieClip Frame 11
onClipEvent (load) {
m = false;
}
onClipEvent (enterFrame) {
if (m == false) {
if (_root.bckco == true) {
this.gotoAndStop("3");
} else {
this.gotoAndStop("1");
}
}
}
on (rollOver) {
m = true;
this.gotoAndStop("2");
this._parent.t.gotoAndStop("2");
}
on (rollOut) {
m = false;
if (_root.bckco == true) {
this.gotoAndStop("3");
} else {
this.gotoAndStop("1");
}
this._parent.t.gotoAndStop("1");
}
on (press) {
if (_root.bckc == true) {
if (_root.bckco == false) {
this.gotoAndStop("3");
_root.bckco = true;
} else {
this.gotoAndStop("1");
_root.bckco = false;
}
}
}
Instance of Symbol 1014 MovieClip in Symbol 1017 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.bckco == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 1017 MovieClip Frame 20
stop();
Symbol 1018 MovieClip Frame 1
stop();
Instance of Symbol 895 MovieClip in Symbol 1018 MovieClip Frame 1
on (press) {
if ((this._parent.c._currentframe == 1) and (this._parent.hm._currentframe == 1)) {
if (this._parent._parent._parent._currentframe == 26) {
this._parent.hm.play();
}
}
}
on (rollOver) {
this.gotoAndStop("2");
this._parent.t.m = 2;
}
on (rollOut) {
this.gotoAndStop("1");
this._parent.t.m = 0;
}
Instance of Symbol 904 MovieClip in Symbol 1018 MovieClip Frame 1
on (press) {
if ((this._parent.c._currentframe == 1) and (this._parent.hm._currentframe == 1)) {
this._parent.c.play();
_root.ffad.gotoAndPlay("2");
}
}
on (rollOver) {
this.gotoAndStop("2");
this._parent.t.m = 1;
}
on (rollOut) {
this.gotoAndStop("1");
this._parent.t.m = 0;
}
Instance of Symbol 913 MovieClip in Symbol 1018 MovieClip Frame 1
on (press) {
if ((this._parent.c._currentframe == 1) and (this._parent.hm._currentframe == 1)) {
if (this._parent._parent._parent._currentframe == 26) {
_root.wade = 1;
_root.pnts = 0;
_root.hcu = 0;
_root.hsu = 0;
_root.hfu = 0;
_root.ssu = 0;
_root.sfu = 0;
_root.mcu = 0;
_root.msu = 0;
_root.hhu = 0;
_root.hth = 100;
_root.hc = 9;
_root.hd = 1;
_root.hs = 16;
_root.pshs = 21;
_root.sd = 2;
_root.mc = 25;
_root.md = 0.3;
_root.shotgun = false;
_root.machinegun = false;
this._parent._parent._parent.play();
_root.faderq.play();
}
}
}
on (rollOver) {
this.gotoAndStop("2");
this._parent.t.m = 3;
}
on (rollOut) {
this.gotoAndStop("1");
this._parent.t.m = 0;
}
Instance of Symbol 919 MovieClip "t" in Symbol 1018 MovieClip Frame 1
onClipEvent (enterFrame) {
if (m == 1) {
this.gotoAndStop("2");
} else if (m == 2) {
this.gotoAndStop("3");
} else if (m == 3) {
this.gotoAndStop("4");
} else {
this.gotoAndStop("1");
}
}
Instance of Symbol 927 MovieClip in Symbol 1018 MovieClip Frame 1
on (rollOver) {
this.gotoAndStop("2");
}
on (rollOut) {
this.gotoAndStop("1");
}
on (press) {
h = true;
_root.ffad.gotoAndPlay("2");
}
onClipEvent (enterFrame) {
if (h == true) {
this._parent._parent._parent.play();
if (this._parent._parent._parent._currentframe == 37) {
h = false;
this._parent._parent._parent.gotoAndStop("1");
}
}
}
Symbol 1019 MovieClip Frame 1
stop();
Symbol 1022 MovieClip [wone] Frame 1
stop();
Symbol 1022 MovieClip [wone] Frame 4
_root.ffad.gotoAndPlay("1");
Symbol 1022 MovieClip [wone] Frame 26
stop();
Symbol 1022 MovieClip [wone] Frame 41
_parent.gotoAndStop("3");
Symbol 1763 MovieClip [__Packages.mochi.as2.MochiSync] Frame 0
class mochi.as2.MochiSync
{
var _syncContainer;
function MochiSync () {
_syncContainer = {};
}
function getProp(name) {
return(_syncContainer[name]);
}
function setProp(name, value) {
if (_syncContainer[name] == value) {
return(undefined);
}
_syncContainer[name] = value;
mochi.as2.MochiServices.send("sync_propUpdate", {name:name, value:value});
}
function triggerEvent(eventType, args) {
switch (eventType) {
case SYNC_REQUEST :
mochi.as2.MochiServices.send("sync_syncronize", _syncContainer);
break;
case SYNC_PROPERTY :
_syncContainer[args.name] = args.value;
}
}
static var SYNC_REQUEST = "SyncRequest";
static var SYNC_PROPERTY = "UpdateProperty";
}
Symbol 1764 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.3 as2");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local6 = "_mochiservices_com_" + id;
var _local5 = new MovieClipLoader();
var _local3 = {};
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servURL) {
_servURL = urlOptions().servURL;
}
var _local4 = _servURL + _services;
if (urlOptions().servicesURL) {
_local4 = urlOptions().servicesURL;
}
allowDomains(_local4);
_clip = clip.createEmptyMovieClip(_local6, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
if (_local3.waitInterval != null) {
clearInterval(_local3.waitInterval);
}
_local3.onLoadError = loadError;
_local3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_local3.startTime = getTimer();
_local3.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_local3.waitInterval = setInterval(_local3, "wait", 1000);
_local5.addListener(_local3);
_local5.loadClip((((((_local4 + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options)) + "&api_version=") + getVersion(), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function loadError(target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
disconnect();
onError.apply(null, [errorCode]);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case "events" :
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case "coins" :
mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args);
break;
case "sync" :
mochi.as2.MochiServices.servicesSync.triggerEvent(pkg.event, pkg.args);
}
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
trace("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + methodName);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
var _local6;
if (_root._url.indexOf("mochiad_options") != -1) {
var _local2 = (_root._url.indexOf("mochiad_options") + "mochiad_options".length) + 1;
_local6 = _root._url.substr(_local2, _root._url.length);
} else if (_root.mochiad_options) {
_local6 = _root.mochiad_options;
}
if (_local6) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://x.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static function setContainer(clip) {
}
static function stayOnTop(clip) {
}
static var _servURL = "http://www.mochiads.com/static/lib/services/";
static var _services = "services.swf";
static var _mochiLC = "MochiLC.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
static var servicesSync = new mochi.as2.MochiSync();
}
Symbol 1765 MovieClip [__Packages.mochi.as2.MochiEventDispatcher] Frame 0
class mochi.as2.MochiEventDispatcher
{
var eventTable;
function MochiEventDispatcher () {
eventTable = {};
}
function buildDelegate(thisObject, thatObject) {
var _local2 = {thisObject:thisObject, thatObject:thatObject};
if (thatObject != undefined) {
var funct = ((typeof(thatObject) == "string") ? (thisObject[thatObject]) : (thatObject));
_local2.delegate = function (args) {
funct.call(thisObject, args);
};
} else {
_local2.delegate = thisObject;
}
return(_local2);
}
function compareDelegate(d_A, d_B) {
if ((d_A.thisObject != d_B.thisObject) || (d_A.thatObject != d_B.thatObject)) {
return(false);
}
return(true);
}
function addEventListener(event, thisObject, thatObject) {
removeEventListener(event, thisObject, thatObject);
eventTable[event].push(buildDelegate(thisObject, thatObject));
}
function removeEventListener(event, thisObject, thatObject) {
var _local3 = buildDelegate(thisObject, thatObject);
if (eventTable[event] == undefined) {
eventTable[event] = [];
return(undefined);
}
for (var _local4 in eventTable[event]) {
if (!compareDelegate(eventTable[event][_local4], _local3)) {
continue;
}
eventTable[event].splice(Number(_local4), 1);
}
}
function triggerEvent(event, args) {
if (eventTable[event] == undefined) {
return(undefined);
}
for (var _local4 in eventTable[event]) {
eventTable[event][_local4].delegate(args);
}
}
}
Symbol 1766 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0
class mochi.as2.MochiEvents
{
static var gameStart, levelStart;
function MochiEvents () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function startSession(achievementID) {
mochi.as2.MochiServices.send("events_beginSession", {achievementID:achievementID}, null, null);
}
static function trigger(kind, obj) {
if (obj == undefined) {
obj = {};
} else if (obj.kind != undefined) {
trace("WARNING: optional arguements package contains key 'id', it will be overwritten");
obj.kind = kind;
}
mochi.as2.MochiServices.send("events_triggerEvent", {eventObject:obj}, null, null);
}
static function setNotifications(clip, style) {
var _local2 = {};
for (var _local3 in style) {
_local2[_local3] = style[_local3];
}
_local2.clip = clip;
mochi.as2.MochiServices.send("events_setNotifications", _local2, null, null);
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static function startGame() {
gameStart = new Date().getTime();
trigger("start_game");
}
static function endGame() {
var _local1 = new Date().getTime() - gameStart;
trigger("end_game", {time:_local1});
}
static function startLevel() {
levelStart = new Date().getTime();
trigger("start_level");
}
static function endLevel() {
var _local1 = new Date().getTime() - levelStart;
trigger("end_level", {time:_local1});
}
static var ACHIEVEMENT_RECEIVED = "AchievementReceived";
static var ALIGN_TOP_LEFT = "ALIGN_TL";
static var ALIGN_TOP = "ALIGN_T";
static var ALIGN_TOP_RIGHT = "ALIGN_TR";
static var ALIGN_LEFT = "ALIGN_L";
static var ALIGN_CENTER = "ALIGN_C";
static var ALIGN_RIGHT = "ALIGN_R";
static var ALIGN_BOTTOM_LEFT = "ALIGN_BL";
static var ALIGN_BOTTOM = "ALIGN_B";
static var ALIGN_BOTTOM_RIGHT = "ALIGN_BR";
static var FORMAT_SHORT = "ShortForm";
static var FORMAT_LONG = "LongForm";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 1767 MovieClip [__Packages.mochi.as2.MochiCoins] Frame 0
class mochi.as2.MochiCoins
{
function MochiCoins () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showStore(options) {
mochi.as2.MochiServices.send("coins_showStore", {options:options}, null, null);
}
static function showItem(options) {
if ((options == undefined) || (typeof(options.item) != "string")) {
trace("ERROR: showItem call must pass an Object with an item key");
return(undefined);
}
mochi.as2.MochiServices.send("coins_showItem", {options:options}, null, null);
}
static function showVideo(options) {
if ((options == undefined) || (typeof(options.item) != "string")) {
trace("ERROR: showVideo call must pass an Object with an item key");
return(undefined);
}
mochi.as2.MochiServices.send("coins_showVideo", {options:options}, null, null);
}
static function showLoginWidget(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("coins_showLoginWidget", {options:options});
}
static function hideLoginWidget() {
mochi.as2.MochiServices.send("coins_hideLoginWidget");
}
static function getStoreItems() {
mochi.as2.MochiServices.send("coins_getStoreItems");
}
static function getUserInfo() {
mochi.as2.MochiServices.send("coins_getUserInfo");
}
static function saveUserProperties(properties) {
mochi.as2.MochiServices.send("coins_saveUserProperties", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var LOGGED_IN = "LoggedIn";
static var LOGGED_OUT = "LoggedOut";
static var LOGIN_SHOW = "LoginShow";
static var LOGIN_HIDE = "LoginHide";
static var STORE_SHOW = "StoreShow";
static var STORE_HIDE = "StoreHide";
static var PROFILE_SHOW = "ProfileShow";
static var PROFILE_HIDE = "ProfileHide";
static var PROPERTIES_SAVED = "PropertySaved";
static var WIDGET_LOADED = "WidgetLoaded";
static var ITEM_OWNED = "ItemOwned";
static var ITEM_NEW = "ItemNew";
static var STORE_ITEMS = "StoreItems";
static var USER_INFO = "UserInfo";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var PROPERTIES_SIZE = "PropertiesSize";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 1768 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
mochi.as2.MochiAd.containerNotify(clip, {id:"hostLoadPcnt", pcnt:_local2}, clip._mochiad._containerLCName);
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local7 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local7._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local7._mochiad_loaded = true;
if (_local7._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new Object();
var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local9;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local9);
_local6.lc = _local5;
_local4.lc = _local9;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
containerNotify(clip, {id:"unload"}, clip._mochiad._containerLCName);
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
containerRpcResult(clip, callbackID, _local4, clip._mochiad._containerLCName);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
containerRpcResult(clip, callbackID, _local3, clip._mochiad._containerLCName);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
static function containerNotify(clip, args, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.notify) {
_local1.notify(args);
} else {
new LocalConnection().send(lcName, "notify", args);
}
}
static function containerRpcResult(clip, callbackID, val, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.rpcResult) {
_local1.rpcResult(callbackID, val);
} else {
new LocalConnection().send(lcName, "rpcResult", callbackID, val);
}
}
}
Symbol 1769 MovieClip [__Packages.mochi.as2.MochiScores] Frame 0
class mochi.as2.MochiScores
{
static var boardID, onClose, onError;
function MochiScores () {
}
static function setBoardID(boardID) {
mochi.as2.MochiServices.warnID(boardID, true);
mochi.as2.MochiScores.boardID = boardID;
mochi.as2.MochiServices.send("scores_setBoardID", {boardID:boardID});
}
static function showLeaderboard(options) {
options.clip = mochi.as2.MochiServices.clip;
if ((options.clip != mochi.as2.MochiServices.__get__clip()) || (mochi.as2.MochiServices.__get__childClip()._target == undefined)) {
mochi.as2.MochiServices.disconnect();
trace("WARNING! This application is attempting to connect to MochiServices inside a showLeaderboard call!");
trace("make sure MochiServices.connect is called as early in the application runtime as possible.");
mochi.as2.MochiServices.connect(mochi.as2.MochiServices.__get__id(), options.clip);
}
delete options.clip;
if (options.name != null) {
if (typeof(options.name) == "object") {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (options.score instanceof TextField) {
if (options.score.text != undefined) {
options.score = options.score.text;
}
} else if (options.score instanceof mochi.as2.MochiDigits) {
options.score = options.score.value;
}
var _local1 = Number(options.score);
if (isNaN(_local1)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is 'Not a Number'");
} else if ((_local1 == Number.NEGATIVE_INFINITY) || (_local1 == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(_local1) != _local1) {
trace(("WARNING: Submitted score '" + options.score) + "' will be truncated");
}
options.score = _local1;
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
mochi.as2.MochiServices.__get__clip().stop();
}
if (options.onClose != null) {
onClose = options.onClose;
} else {
onClose = function () {
mochi.as2.MochiServices.__get__clip().play();
};
}
if (options.onError != null) {
onError = options.onError;
} else {
onError = onClose;
}
if (options.boardID == null) {
if (boardID != null) {
options.boardID = boardID;
}
}
mochi.as2.MochiServices.warnID(options.boardID, true);
trace("[MochiScores] NOTE: Security Sandbox Violation errors below are normal");
mochi.as2.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose);
}
static function closeLeaderboard() {
mochi.as2.MochiServices.send("scores_closeLeaderboard");
}
static function getPlayerInfo(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod);
}
static function submit(score, name, callbackObj, callbackMethod) {
score = Number(score);
if (isNaN(score)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is 'Not a Number'");
} else if ((score == Number.NEGATIVE_INFINITY) || (score == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(score) != score) {
trace(("WARNING: Submitted score '" + String(score)) + "' will be truncated");
}
score = Number(score);
}
mochi.as2.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod);
}
static function requestList(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod);
}
static function scoresArrayToObjects(scores) {
var _local5 = {};
var _local1;
var _local4;
var _local2;
var _local6;
for (var _local8 in scores) {
if (typeof(scores[_local8]) == "object") {
if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) {
_local5[_local8] = [];
_local2 = scores[_local8];
_local4 = 0;
while (_local4 < _local2.rows.length) {
_local6 = {};
_local1 = 0;
while (_local1 < _local2.cols.length) {
_local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1];
_local1++;
}
_local5[_local8].push(_local6);
_local4++;
}
} else {
_local5[_local8] = {};
for (var _local7 in scores[_local8]) {
_local5[_local8][_local7] = scores[_local8][_local7];
}
}
} else {
_local5[_local8] = scores[_local8];
}
}
return(_local5);
}
static function doClose(args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = "IOError";
}
onError.apply(null, [args.errorCode]);
} else {
onClose.apply();
}
}
}
Symbol 1770 MovieClip [__Packages.mochi.as2.MochiDigits] Frame 0
class mochi.as2.MochiDigits
{
var Encoder, Fragment, Sibling;
function MochiDigits (digit, index) {
Encoder = 0;
setValue(digit, index);
}
function get value() {
return(Number(toString()));
}
function set value(v) {
setValue(v);
//return(value);
}
function addValue(v) {
value = value + v;
}
function setValue(digit, index) {
var _local3 = digit.toString();
if ((index == undefined) || (isNaN(index))) {
index = 0;
}
Fragment = _local3.charCodeAt(index++) ^ Encoder;
if (index < _local3.length) {
Sibling = new mochi.as2.MochiDigits(digit, index);
} else {
Sibling = null;
}
reencode();
}
function reencode() {
var _local2 = int(2147483647 * Math.random());
Fragment = Fragment ^ (_local2 ^ Encoder);
Encoder = _local2;
}
function toString() {
var _local2 = String.fromCharCode(Fragment ^ Encoder);
return(((Sibling != null) ? (_local2.concat(Sibling.toString())) : (_local2)));
}
}
Symbol 1032 MovieClip Frame 7
stop();
Symbol 1034 MovieClip Frame 15
stop();
Symbol 1037 MovieClip Frame 7
stop();
Symbol 1038 MovieClip Frame 15
stop();
Symbol 1040 Button
on (rollOver) {
if ((!_root.faderq._currentframe) == 1) {
this.gotoAndStop("1");
}
}
on (press) {
getURL ("http://www.pixelrobots.com");
mochi.as2.MochiServices.addLinkEvent("http://x.mochiads.com/link/5bf3fd45b386e24e", "pixelrobots.com", YOUR_BUTTON_REFERENCE);
}
Symbol 1041 Button
on (rollOver) {
if ((!_root.faderq._currentframe) == 1) {
this.gotoAndStop("1");
}
}
on (press) {
if (_root.ins._currentframe == 1) {
_root.ins.play();
}
if (_root.ins.d._currentframe == 3) {
_root.ins.play();
}
_root.ins.d.gotoAndStop("3");
}
Symbol 1042 Button
on (rollOver) {
if ((!_root.faderq._currentframe) == 1) {
this.gotoAndStop("1");
}
}
on (press) {
if (_root.ins._currentframe == 1) {
_root.ins.play();
}
if (_root.ins.d._currentframe == 2) {
_root.ins.play();
}
_root.ins.d.gotoAndStop("2");
}
Symbol 1043 Button
on (rollOver) {
if ((!_root.faderq._currentframe) == 1) {
this.gotoAndStop("1");
}
}
on (press) {
if (_root.ins._currentframe == 1) {
_root.ins.play();
}
if (_root.ins.d._currentframe == 1) {
_root.ins.play();
}
_root.ins.d.gotoAndStop("1");
}
Symbol 1044 Button
on (rollOver) {
if ((!_root.faderq._currentframe) == 1) {
this.gotoAndStop("1");
}
}
on (press) {
_root.ffad.gotoAndPlay("1");
}
Symbol 1052 MovieClip Frame 55
_parent.gotoAndStop("1");
Symbol 1055 MovieClip Frame 45
_parent.gotoAndStop("1");
Symbol 1058 MovieClip Frame 50
_parent.gotoAndStop("1");
Symbol 1059 MovieClip Frame 1
stop();
Symbol 1068 Button
on (press) {
this._parent.play();
}
Symbol 1094 Button
on (press) {
_quality = "high";
this.qs.gotoAndStop("1");
_root.qua = 1;
}
Symbol 1099 Button
on (press) {
_quality = "medium";
this.qs.gotoAndStop("2");
_root.qua = 2;
}
Symbol 1104 Button
on (press) {
_quality = "low";
this.qs.gotoAndStop("3");
_root.qua = 3;
}
Symbol 1109 Button
on (press) {
this.ms.gotoAndStop("1");
_root.mua = 1;
_root.mw.gotoAndStop("1");
}
Symbol 1114 Button
on (press) {
this.ms.gotoAndStop("2");
_root.mua = 2;
_root.mw.gotoAndStop("2");
}
Symbol 1118 MovieClip Frame 2
stop();
Symbol 1125 MovieClip Frame 1
stop();
Symbol 1125 MovieClip Frame 2
onEnterFrame = function () {
qe = _root.qua;
this.qs.gotoAndStop(qe);
me = _root.mua;
this.ms.gotoAndStop(me);
};
Symbol 1128 MovieClip Frame 1
stop();
Symbol 1128 MovieClip Frame 22
stop();
Symbol 1135 MovieClip Frame 59
stop();
Symbol 1166 MovieClip Frame 1
stop();
Symbol 1166 MovieClip Frame 48
_root.gotoAndStop("3");
Symbol 1172 MovieClip Frame 1
stop();
Symbol 1172 MovieClip Frame 12
if (_root.wone._currentframe < 15) {
_root.wone.gotoAndPlay("10");
}
Symbol 1172 MovieClip Frame 22
stop();
Symbol 1172 MovieClip Frame 33
_root.gotoAndStop("3");
Symbol 1200 MovieClip Frame 175
_root.logg = true;
Symbol 1200 MovieClip Frame 176
_root.gotoAndStop("2");
stop();
Symbol 1205 MovieClip Frame 1
if (_root.pot == true) {
play();
}
Symbol 1222 MovieClip Frame 1
stop();
Symbol 1229 MovieClip Frame 1
stop();
Symbol 1233 MovieClip Frame 1
stop();
Symbol 1233 MovieClip Frame 5
stop();
Symbol 1233 MovieClip Frame 10
stop();
Symbol 1233 MovieClip Frame 14
stop();
Symbol 1233 MovieClip Frame 19
stop();
Symbol 1233 MovieClip Frame 23
stop();
Symbol 1233 MovieClip Frame 28
stop();
Symbol 1233 MovieClip Frame 32
stop();
Symbol 1233 MovieClip Frame 36
stop();
Symbol 1233 MovieClip Frame 40
stop();
Symbol 1239 MovieClip Frame 1
stop();
Symbol 1239 MovieClip Frame 4
stop();
Symbol 1239 MovieClip Frame 8
stop();
Symbol 1239 MovieClip Frame 12
stop();
Symbol 1239 MovieClip Frame 17
stop();
Symbol 1239 MovieClip Frame 20
stop();
Symbol 1239 MovieClip Frame 24
stop();
Symbol 1239 MovieClip Frame 28
stop();
Symbol 1239 MovieClip Frame 32
stop();
Symbol 1239 MovieClip Frame 36
stop();
Symbol 1239 MovieClip Frame 40
stop();
Symbol 1244 MovieClip Frame 1
stop();
Symbol 1244 MovieClip Frame 4
stop();
Symbol 1244 MovieClip Frame 8
stop();
Symbol 1244 MovieClip Frame 12
stop();
Symbol 1244 MovieClip Frame 15
stop();
Symbol 1244 MovieClip Frame 19
stop();
Symbol 1244 MovieClip Frame 23
stop();
Symbol 1244 MovieClip Frame 26
stop();
Symbol 1244 MovieClip Frame 30
stop();
Symbol 1244 MovieClip Frame 34
stop();
Symbol 1244 MovieClip Frame 37
stop();
Symbol 1244 MovieClip Frame 40
stop();
Symbol 1249 MovieClip Frame 1
stop();
Symbol 1249 MovieClip Frame 4
stop();
Symbol 1249 MovieClip Frame 7
stop();
Symbol 1249 MovieClip Frame 10
stop();
Symbol 1249 MovieClip Frame 13
stop();
Symbol 1249 MovieClip Frame 17
stop();
Symbol 1249 MovieClip Frame 20
stop();
Symbol 1249 MovieClip Frame 23
stop();
Symbol 1249 MovieClip Frame 27
stop();
Symbol 1249 MovieClip Frame 31
stop();
Symbol 1249 MovieClip Frame 34
stop();
Symbol 1249 MovieClip Frame 37
stop();
Symbol 1249 MovieClip Frame 40
stop();
Symbol 1254 MovieClip Frame 1
stop();
Symbol 1254 MovieClip Frame 4
stop();
Symbol 1254 MovieClip Frame 7
stop();
Symbol 1254 MovieClip Frame 10
stop();
Symbol 1254 MovieClip Frame 13
stop();
Symbol 1254 MovieClip Frame 16
stop();
Symbol 1254 MovieClip Frame 19
stop();
Symbol 1254 MovieClip Frame 22
stop();
Symbol 1254 MovieClip Frame 25
stop();
Symbol 1254 MovieClip Frame 28
stop();
Symbol 1254 MovieClip Frame 31
stop();
Symbol 1254 MovieClip Frame 34
stop();
Symbol 1254 MovieClip Frame 37
stop();
Symbol 1254 MovieClip Frame 40
stop();
Symbol 1259 MovieClip Frame 1
stop();
Symbol 1259 MovieClip Frame 3
stop();
Symbol 1259 MovieClip Frame 6
stop();
Symbol 1259 MovieClip Frame 9
stop();
Symbol 1259 MovieClip Frame 12
stop();
Symbol 1259 MovieClip Frame 14
stop();
Symbol 1259 MovieClip Frame 17
stop();
Symbol 1259 MovieClip Frame 19
stop();
Symbol 1259 MovieClip Frame 22
stop();
Symbol 1259 MovieClip Frame 25
stop();
Symbol 1259 MovieClip Frame 28
stop();
Symbol 1259 MovieClip Frame 31
stop();
Symbol 1259 MovieClip Frame 34
stop();
Symbol 1259 MovieClip Frame 37
stop();
Symbol 1259 MovieClip Frame 40
stop();
Symbol 1262 MovieClip Frame 1
stop();
Symbol 1262 MovieClip Frame 3
stop();
Symbol 1268 MovieClip Frame 1
stop();
this._parent.c.onLoad = function () {
gogo = true;
};
onEnterFrame = function () {
if (gogo == true) {
_root.wwo.wv.gotoAndStop("1");
_root.wwo.wvv.gotoAndStop("1");
this._parent.ec.c = 10;
w = 1;
ccc = 165;
gogo = false;
}
if (_root.pau == false) {
ccc++;
if (ccc > 170) {
alwd = true;
ccc = 0;
}
if (alwd) {
if ((Math.random() * 2) > 1) {
nw = 1;
} else {
nw = -1;
}
rw = (Math.random() * 200) * nw;
wspawn = true;
w++;
if (w == 50) {
w = 1;
}
}
if (wspawn == true) {
wfm = "w" + w;
this._parent.attachMovie("wal", wfm, w + 50);
if (this._parent[wfm]._visible == true) {
this._parent[wfm]._height = 100 + Math.abs(rw / 9);
this._parent[wfm]._width = 70 + Math.abs(rw / 20);
this._parent[wfm]._x = this._parent.c._x + ((100 + (Math.random() * 300)) * nw);
this._parent[wfm]._y = 413;
this._parent[wfm]._xscale = this._parent[wfm]._xscale * nw;
this._parent[wfm].gotoAndStop("10");
if (nw == -1) {
this._parent[wfm].fg.drc = false;
}
if (nw == 1) {
this._parent[wfm].fg.drc = true;
}
}
wspawn = false;
alwd = false;
}
}
};
Symbol 1268 MovieClip Frame 2
stop();
onEnterFrame = function () {
if (gogo == true) {
_root.wwo.wv.gotoAndStop("2");
_root.wwo.wvv.gotoAndStop("2");
this._parent.ec.c = 12;
w = 1;
i = 1;
ccc = 120;
gogo = false;
}
if (_root.pau == false) {
ccc++;
if (ccc > 120) {
alwd = true;
ccc = 0;
}
if (alwd) {
spwt = Math.ceil(Math.random() * 3);
trace(spwt + "spawn number");
if (spwt == 1) {
if ((Math.random() * 2) > 1) {
nw = 1;
} else {
nw = -1;
}
rw = (Math.random() * 200) * nw;
wspawn = true;
w++;
if (w == 50) {
w = 1;
}
}
if (wspawn == true) {
wfm = "w" + w;
this._parent.attachMovie("wal", wfm, w + 50);
if (this._parent[wfm]._visible == true) {
this._parent[wfm]._height = 100 + Math.abs(rw / 9);
this._parent[wfm]._width = 70 + Math.abs(rw / 20);
this._parent[wfm]._x = this._parent.c._x + (350 * nw);
this._parent[wfm]._y = 413;
this._parent[wfm]._xscale = this._parent[wfm]._xscale * nw;
if (nw == -1) {
this._parent[wfm].fg.drc = false;
}
if (nw == 1) {
this._parent[wfm].fg.drc = true;
}
}
wspawn = false;
alwd = false;
}
if (spwt > 1) {
if ((Math.random() * 2) > 1) {
ni = -1;
} else {
ni = 1;
}
ri = Math.random() * 50;
ispawn = true;
i++;
if (i == 50) {
i = 1;
}
}
if (ispawn == true) {
ifm = "e" + i;
this._parent.attachMovie("fly", ifm, i + 100);
if (this._parent[ifm]._visible == true) {
this._parent[ifm]._x = (this._parent.c._x + (350 * ni)) + ri;
this._parent[ifm]._y = 150 + ri;
this._parent[ifm]._xscale = this._parent[ifm]._xscale * ni;
this._parent[ifm].spit.rt = ni;
if (ni == -1) {
this._parent[ifm].spit.ru = 12;
} else {
this._parent[ifm].spit.ru = 0;
}
this._parent[ifm].nj.drc = ni;
}
ispawn = false;
alwd = false;
}
}
}
};
Symbol 1268 MovieClip Frame 3
stop();
onEnterFrame = function () {
if (gogo == true) {
_root.wwo.wv.gotoAndStop("3");
_root.wwo.wvv.gotoAndStop("3");
this._parent.ec.c = 14;
w = 1;
i = 1;
ccc = 135;
gogo = false;
}
if (_root.pau == false) {
ccc++;
if (ccc > 90) {
alwd = true;
ccc = 0;
}
if (alwd) {
spwt = Math.ceil(Math.random() * 3);
trace(spwt + "spawn number");
if (spwt == 1) {
if ((Math.random() * 2) > 1) {
nw = 1;
} else {
nw = -1;
}
rw = (Math.random() * 200) * nw;
wspawn = true;
w++;
if (w == 50) {
w = 1;
}
}
if (wspawn == true) {
wfm = "w" + w;
this._parent.attachMovie("wal", wfm, w + 50);
if (this._parent[wfm]._visible == true) {
this._parent[wfm]._height = 100 + Math.abs(rw / 9);
this._parent[wfm]._width = 70 + Math.abs(rw / 20);
this._parent[wfm]._x = this._parent.c._x + ((100 + (Math.random() * 300)) * nw);
this._parent[wfm]._y = 413;
this._parent[wfm]._xscale = this._parent[wfm]._xscale * nw;
this._parent[wfm].gotoAndStop("10");
if (nw == -1) {
this._parent[wfm].fg.drc = false;
}
if (nw == 1) {
this._parent[wfm].fg.drc = true;
}
}
wspawn = false;
alwd = false;
}
if (spwt > 1) {
if ((Math.random() * 2) > 1) {
ni = -1;
} else {
ni = 1;
}
ri = Math.random() * 50;
ispawn = true;
i++;
if (i == 50) {
i = 1;
}
}
if (ispawn == true) {
ifm = "e" + i;
this._parent.attachMovie("fly", ifm, i + 100);
if (this._parent[ifm]._visible == true) {
this._parent[ifm]._x = (this._parent.c._x + (350 * ni)) + ri;
this._parent[ifm]._y = 150 + ri;
this._parent[ifm]._xscale = this._parent[ifm]._xscale * ni;
this._parent[ifm].spit.rt = ni;
if (ni == -1) {
this._parent[ifm].spit.ru = 12;
} else {
this._parent[ifm].spit.ru = 0;
}
this._parent[ifm].nj.drc = ni;
}
ispawn = false;
alwd = false;
}
}
}
};
Symbol 1268 MovieClip Frame 4
stop();
onEnterFrame = function () {
if (gogo == true) {
_root.wwo.wv.gotoAndStop("4");
_root.wwo.wvv.gotoAndStop("4");
this._parent.ec.c = 16;
w = 1;
i = 1;
o = 1;
ccc = 125;
gogo = false;
}
if (_root.pau == false) {
ccc++;
if (ccc > 100) {
alwd = true;
ccc = 0;
}
if (alwd) {
spwt = Math.ceil(Math.random() * 2);
trace(spwt + "spawn number");
if (spwt == 1) {
if ((Math.random() * 2) > 1) {
ni = -1;
} else {
ni = 1;
}
ri = Math.random() * 50;
ispawn = true;
i++;
if (i == 50) {
i = 1;
}
}
if (ispawn == true) {
ifm = "e" + i;
this._parent.attachMovie("fly", ifm, i + 100);
if (this._parent[ifm]._visible == true) {
this._parent[ifm]._x = (this._parent.c._x + (350 * ni)) + ri;
this._parent[ifm]._y = 150 + ri;
this._parent[ifm]._xscale = this._parent[ifm]._xscale * ni;
this._parent[ifm].spit.rt = ni;
if (ni == -1) {
this._parent[ifm].spit.ru = 12;
} else {
this._parent[ifm].spit.ru = 0;
}
this._parent[ifm].nj.drc = ni;
}
ispawn = false;
alwd = false;
}
if (spwt == 2) {
if ((Math.random() * 2) > 1) {
no = -1;
} else {
no = 1;
}
ro = (Math.random() * 200) * no;
ospawn = true;
o++;
if (o == 50) {
o = 1;
}
}
if (ospawn == true) {
ofm = "o" + o;
this._parent.attachMovie("nolegs", ofm, o);
if (this._parent[ofm]._visible == true) {
this._parent[ofm]._x = (this._parent.c._x + (350 * no)) + ro;
this._parent[ofm]._y = 413;
this._parent[ofm]._xscale = this._parent[ofm]._xscale * no;
if (no == 1) {
this._parent[ofm].fg.drc = true;
}
if (no == -1) {
this._parent[ofm].fg.drc = false;
}
}
ospawn = false;
alwd = false;
}
}
}
};
Symbol 1268 MovieClip Frame 5
stop();
onEnterFrame = function () {
if (gogo == true) {
_root.wwo.wv.gotoAndStop("5");
_root.wwo.wvv.gotoAndStop("5");
this._parent.ec.c = 15;
w = 1;
i = 1;
o = 1;
ccc = 135;
gogo = false;
}
if (_root.pau == false) {
ccc++;
if (ccc > 80) {
alwd = true;
ccc = 0;
}
if (alwd) {
spwt = Math.ceil(Math.random() * 3);
trace(spwt + "spawn number");
if (spwt == 1) {
if ((Math.random() * 2) > 1) {
ni = -1;
} else {
ni = 1;
}
ri = Math.random() * 50;
ispawn = true;
i++;
if (i == 50) {
i = 1;
}
}
if (ispawn == true) {
ifm = "e" + i;
this._parent.attachMovie("fly", ifm, i + 100);
if (this._parent[ifm]._visible == true) {
this._parent[ifm]._x = (this._parent.c._x + (350 * ni)) + ri;
this._parent[ifm]._y = 150 + ri;
this._parent[ifm]._xscale = this._parent[ifm]._xscale * ni;
this._parent[ifm].spit.rt = ni;
if (ni == -1) {
this._parent[ifm].spit.ru = 12;
} else {
this._parent[ifm].spit.ru = 0;
}
this._parent[ifm].nj.drc = ni;
}
ispawn = false;
alwd = false;
}
if (spwt == 2) {
if ((Math.random() * 2) > 1) {
nw = 1;
} else {
nw = -1;
}
rw = (Math.random() * 200) * nw;
wspawn = true;
w++;
if (w == 50) {
w = 1;
}
}
if (wspawn == true) {
wfm = "w" + w;
this._parent.attachMovie("wal", wfm, w + 50);
if (this._parent[wfm]._visible == true) {
this._parent[wfm]._height = 100 + Math.abs(rw / 9);
this._parent[wfm]._width = 70 + Math.abs(rw / 20);
this._parent[wfm]._x = this._parent.c._x + ((100 + (Math.random() * 300)) * nw);
this._parent[wfm]._y = 413;
this._parent[wfm]._xscale = this._parent[wfm]._xscale * nw;
this._parent[wfm].gotoAndStop("10");
if (nw == -1) {
this._parent[wfm].fg.drc = false;
}
if (nw == 1) {
this._parent[wfm].fg.drc = true;
}
}
wspawn = false;
alwd = false;
}
if (spwt == 3) {
if ((Math.random() * 2) > 1) {
no = -1;
} else {
no = 1;
}
ro = (Math.random() * 200) * no;
ospawn = true;
o++;
if (o == 50) {
o = 1;
}
}
if (ospawn == true) {
ofm = "o" + o;
this._parent.attachMovie("nolegs", ofm, o);
if (this._parent[ofm]._visible == true) {
this._parent[ofm]._x = (this._parent.c._x + (350 * no)) + ro;
this._parent[ofm]._y = 413;
this._parent[ofm]._xscale = this._parent[ofm]._xscale * no;
if (no == 1) {
this._parent[ofm].fg.drc = true;
}
if (no == -1) {
this._parent[ofm].fg.drc = false;
}
}
ospawn = false;
alwd = false;
}
}
}
};
Symbol 1268 MovieClip Frame 6
stop();
onEnterFrame = function () {
if (gogo == true) {
_root.wwo.wv.gotoAndStop("6");
_root.wwo.wvv.gotoAndStop("6");
this._parent.ec.c = 40;
w = 1;
i = 1;
o = 1;
s = 1;
ccc = 40;
gogo = false;
}
if (_root.pau == false) {
ccc++;
if (ccc > 50) {
alwd = true;
ccc = 0;
}
if (alwd) {
spwt = Math.ceil(Math.random() * 8);
trace(spwt + "spawn number");
if (spwt == 1) {
if ((Math.random() * 2) > 1) {
ni = -1;
} else {
ni = 1;
}
ri = Math.random() * 50;
ispawn = true;
i++;
if (i == 50) {
i = 1;
}
}
if (ispawn == true) {
ifm = "e" + i;
this._parent.attachMovie("fly", ifm, i + 100);
if (this._parent[ifm]._visible == true) {
this._parent[ifm]._x = (this._parent.c._x + (350 * ni)) + ri;
this._parent[ifm]._y = 150 + ri;
this._parent[ifm]._xscale = this._parent[ifm]._xscale * ni;
this._parent[ifm].spit.rt = ni;
if (ni == -1) {
this._parent[ifm].spit.ru = 12;
} else {
this._parent[ifm].spit.ru = 0;
}
this._parent[ifm].nj.drc = ni;
}
ispawn = false;
alwd = false;
}
if (spwt == 2) {
if ((Math.random() * 2) > 1) {
no = -1;
} else {
no = 1;
}
ro = (Math.random() * 200) * no;
ospawn = true;
o++;
if (o == 50) {
o = 1;
}
}
if (ospawn == true) {
ofm = "o" + o;
this._parent.attachMovie("nolegs", ofm, o);
if (this._parent[ofm]._visible == true) {
this._parent[ofm]._x = (this._parent.c._x + (350 * no)) + ro;
this._parent[ofm]._y = 413;
this._parent[ofm]._xscale = this._parent[ofm]._xscale * no;
if (no == 1) {
this._parent[ofm].fg.drc = true;
}
if (no == -1) {
this._parent[ofm].fg.drc = false;
}
}
ospawn = false;
alwd = false;
}
if (spwt > 2) {
if ((Math.random() * 2) > 1) {
ns = -1;
} else {
ns = 1;
}
rs = (Math.random() * 200) * ns;
sspawn = true;
s++;
if (s == 50) {
s = 1;
}
}
if (sspawn == true) {
sfm = "s" + s;
this._parent.attachMovie("spider", sfm, s + 150);
if (this._parent[sfm]._visible == true) {
this._parent[sfm]._x = (this._parent.c._x + (350 * ns)) + rs;
this._parent[sfm]._y = 413;
this._parent[sfm]._xscale = this._parent[sfm]._xscale * ns;
this._parent[sfm].t.drc = ns * -1;
}
sspawn = false;
alwd = false;
}
}
}
};
Symbol 1268 MovieClip Frame 7
stop();
onEnterFrame = function () {
if (gogo == true) {
_root.wwo.wv.gotoAndStop("7");
_root.wwo.wvv.gotoAndStop("7");
this._parent.ec.c = 35;
w = 1;
i = 1;
o = 1;
s = 1;
ccc = 55;
gogo = false;
}
if (_root.pau == false) {
ccc++;
if (ccc > 40) {
alwd = true;
ccc = 0;
}
if (alwd) {
spwt = Math.ceil(Math.random() * 10);
trace(spwt + "spawn number");
if (spwt == 1) {
if ((Math.random() * 2) > 1) {
nw = 1;
} else {
nw = -1;
}
rw = (Math.random() * 200) * nw;
wspawn = true;
w++;
if (w == 50) {
w = 1;
}
}
if (wspawn == true) {
wfm = "w" + w;
this._parent.attachMovie("wal", wfm, w + 50);
if (this._parent[wfm]._visible == true) {
this._parent[wfm]._height = 100 + Math.abs(rw / 9);
this._parent[wfm]._width = 70 + Math.abs(rw / 20);
this._parent[wfm]._x = this._parent.c._x + (350 * nw);
this._parent[wfm]._y = 413;
this._parent[wfm]._xscale = this._parent[wfm]._xscale * nw;
if (nw == -1) {
this._parent[wfm].fg.drc = false;
}
if (nw == 1) {
this._parent[wfm].fg.drc = true;
}
}
wspawn = false;
alwd = false;
}
if (spwt == 2) {
if ((Math.random() * 2) > 1) {
ni = -1;
} else {
ni = 1;
}
ri = Math.random() * 50;
ispawn = true;
i++;
if (i == 50) {
i = 1;
}
}
if (ispawn == true) {
ifm = "e" + i;
this._parent.attachMovie("fly", ifm, i + 100);
if (this._parent[ifm]._visible == true) {
this._parent[ifm]._x = (this._parent.c._x + (350 * ni)) + ri;
this._parent[ifm]._y = 150 + ri;
this._parent[ifm]._xscale = this._parent[ifm]._xscale * ni;
this._parent[ifm].spit.rt = ni;
if (ni == -1) {
this._parent[ifm].spit.ru = 12;
} else {
this._parent[ifm].spit.ru = 0;
}
this._parent[ifm].nj.drc = ni;
}
ispawn = false;
alwd = false;
}
if (spwt == 3) {
if ((Math.random() * 2) > 1) {
no = -1;
} else {
no = 1;
}
ro = (Math.random() * 200) * no;
ospawn = true;
o++;
if (o == 50) {
o = 1;
}
}
if (ospawn == true) {
ofm = "o" + o;
this._parent.attachMovie("nolegs", ofm, o);
if (this._parent[ofm]._visible == true) {
this._parent[ofm]._x = (this._parent.c._x + (350 * no)) + ro;
this._parent[ofm]._y = 413;
this._parent[ofm]._xscale = this._parent[ofm]._xscale * no;
if (no == 1) {
this._parent[ofm].fg.drc = true;
}
if (no == -1) {
this._parent[ofm].fg.drc = false;
}
}
ospawn = false;
alwd = false;
}
if (spwt > 3) {
if ((Math.random() * 2) > 1) {
ns = -1;
} else {
ns = 1;
}
rs = (Math.random() * 200) * ns;
sspawn = true;
s++;
if (s == 50) {
s = 1;
}
}
if (sspawn == true) {
sfm = "s" + s;
this._parent.attachMovie("spider", sfm, s + 150);
if (this._parent[sfm]._visible == true) {
this._parent[sfm]._x = (this._parent.c._x + (350 * ns)) + rs;
this._parent[sfm]._y = 413;
this._parent[sfm]._xscale = this._parent[sfm]._xscale * ns;
this._parent[sfm].t.drc = ns * -1;
}
sspawn = false;
alwd = false;
}
}
}
};
Symbol 1268 MovieClip Frame 8
stop();
onEnterFrame = function () {
if (gogo == true) {
_root.wwo.wv.gotoAndStop("8");
_root.wwo.wvv.gotoAndStop("8");
this._parent.ec.c = 18;
b = 1;
i = 1;
w = 1;
ccc = 140;
cccc = 1000;
gogo = false;
}
if (_root.pau == false) {
cccc++;
if (cccc > 1100) {
alwdd = true;
cccc = 0;
}
ccc++;
if (ccc > 100) {
alwd = true;
ccc = 0;
}
if (alwd) {
spwt = Math.ceil(Math.random() * 2);
trace(spwt + "spawn number");
if (spwt == 1) {
if ((Math.random() * 2) > 1) {
nw = 1;
} else {
nw = -1;
}
rw = (Math.random() * 200) * nw;
wspawn = true;
w++;
if (w == 50) {
w = 1;
}
}
if (wspawn == true) {
wfm = "w" + w;
this._parent.attachMovie("wal", wfm, w + 50);
if (this._parent[wfm]._visible == true) {
this._parent[wfm]._height = 100 + Math.abs(rw / 9);
this._parent[wfm]._width = 70 + Math.abs(rw / 20);
this._parent[wfm]._x = this._parent.c._x + (350 * nw);
this._parent[wfm]._y = 413;
this._parent[wfm]._xscale = this._parent[wfm]._xscale * nw;
if (nw == -1) {
this._parent[wfm].fg.drc = false;
}
if (nw == 1) {
this._parent[wfm].fg.drc = true;
}
}
wspawn = false;
alwd = false;
}
if (spwt == 2) {
if ((Math.random() * 2) > 1) {
ni = -1;
} else {
ni = 1;
}
ri = Math.random() * 50;
ispawn = true;
i++;
if (i == 50) {
i = 1;
}
}
if (ispawn == true) {
ifm = "e" + i;
this._parent.attachMovie("fly", ifm, i + 100);
if (this._parent[ifm]._visible == true) {
this._parent[ifm]._x = (this._parent.c._x + (350 * ni)) + ri;
this._parent[ifm]._y = 150 + ri;
this._parent[ifm]._xscale = this._parent[ifm]._xscale * ni;
this._parent[ifm].spit.rt = ni;
if (ni == -1) {
this._parent[ifm].spit.ru = 12;
} else {
this._parent[ifm].spit.ru = 0;
}
this._parent[ifm].nj.drc = ni;
}
ispawn = false;
alwd = false;
}
}
if (alwdd == true) {
if ((Math.random() * 2) > 1) {
nb = -1;
} else {
nb = 1;
}
bspawn = true;
b++;
if (b == 50) {
b = 1;
}
}
if (bspawn == true) {
bfm = "b" + b;
this._parent.attachMovie("leg", bfm, b + 200);
if (this._parent[bfm]._visible == true) {
this._parent[bfm]._x = (this._parent.c._x + 500) * nb;
this._parent[bfm]._y = 413;
this._parent[bfm]._xscale = this._parent[bfm]._xscale * nb;
if (nb == -1) {
this._parent[bfm].klq.drc = true;
}
if (nb == 1) {
this._parent[bfm].klq.drc = false;
}
}
bspawn = false;
alwdd = false;
}
}
};
Symbol 1268 MovieClip Frame 9
stop();
onEnterFrame = function () {
if (gogo == true) {
_root.wwo.wv.gotoAndStop("9");
_root.wwo.wvv.gotoAndStop("9");
this._parent.ec.c = 42;
b = 1;
s = 1;
o = 1;
i = 1;
ccc = 50;
cccc = 1000;
gogo = false;
}
if (_root.pau == false) {
cccc++;
if (cccc > 1200) {
alwdd = true;
cccc = 0;
}
ccc++;
if (ccc > 40) {
alwd = true;
ccc = 0;
}
if (alwd) {
spwt = Math.ceil(Math.random() * 8);
trace(spwt + "spawn number");
if (spwt == 1) {
if ((Math.random() * 2) > 1) {
ni = -1;
} else {
ni = 1;
}
ri = Math.random() * 50;
ispawn = true;
i++;
if (i == 50) {
i = 1;
}
}
if (ispawn == true) {
ifm = "e" + i;
this._parent.attachMovie("fly", ifm, i + 100);
if (this._parent[ifm]._visible == true) {
this._parent[ifm]._x = (this._parent.c._x + (350 * ni)) + ri;
this._parent[ifm]._y = 150 + ri;
this._parent[ifm]._xscale = this._parent[ifm]._xscale * ni;
this._parent[ifm].spit.rt = ni;
if (ni == -1) {
this._parent[ifm].spit.ru = 12;
} else {
this._parent[ifm].spit.ru = 0;
}
this._parent[ifm].nj.drc = ni;
}
ispawn = false;
alwd = false;
}
if (spwt == 2) {
if ((Math.random() * 2) > 1) {
no = -1;
} else {
no = 1;
}
ro = (Math.random() * 200) * no;
ospawn = true;
o++;
if (o == 50) {
o = 1;
}
}
if (ospawn == true) {
ofm = "o" + o;
this._parent.attachMovie("nolegs", ofm, o);
if (this._parent[ofm]._visible == true) {
this._parent[ofm]._x = (this._parent.c._x + (350 * no)) + ro;
this._parent[ofm]._y = 413;
this._parent[ofm]._xscale = this._parent[ofm]._xscale * no;
if (no == 1) {
this._parent[ofm].fg.drc = true;
}
if (no == -1) {
this._parent[ofm].fg.drc = false;
}
}
ospawn = false;
alwd = false;
}
if (spwt > 2) {
if ((Math.random() * 2) > 1) {
ns = -1;
} else {
ns = 1;
}
rs = (Math.random() * 200) * ns;
sspawn = true;
s++;
if (s == 50) {
s = 1;
}
}
if (sspawn == true) {
sfm = "s" + s;
this._parent.attachMovie("spider", sfm, s + 150);
if (this._parent[sfm]._visible == true) {
this._parent[sfm]._x = (this._parent.c._x + (350 * ns)) + rs;
this._parent[sfm]._y = 413;
this._parent[sfm]._xscale = this._parent[sfm]._xscale * ns;
this._parent[sfm].t.drc = ns * -1;
}
sspawn = false;
alwd = false;
}
}
if (alwdd == true) {
if ((Math.random() * 2) > 1) {
nb = -1;
} else {
nb = 1;
}
bspawn = true;
b++;
if (b == 50) {
b = 1;
}
}
if (bspawn == true) {
bfm = "b" + b;
this._parent.attachMovie("leg", bfm, b + 200);
if (this._parent[bfm]._visible == true) {
this._parent[bfm]._x = (this._parent.c._x + 500) * nb;
this._parent[bfm]._y = 413;
this._parent[bfm]._xscale = this._parent[bfm]._xscale * nb;
if (nb == -1) {
this._parent[bfm].klq.drc = true;
}
if (nb == 1) {
this._parent[bfm].klq.drc = false;
}
}
bspawn = false;
alwdd = false;
}
}
};
Symbol 1268 MovieClip Frame 10
onEnterFrame = function () {
if (gogo == true) {
_root.wwo.wv.gotoAndStop("10");
_root.wwo.wvv.gotoAndStop("10");
this._parent.ec.c = 40;
w = 1;
i = 1;
o = 1;
s = 1;
ccc = 55;
gogo = false;
}
if (_root.pau == false) {
ccc++;
if (ccc > 40) {
alwd = true;
ccc = 0;
}
if (alwd) {
spwt = Math.ceil(Math.random() * 10);
trace(spwt + "spawn number");
if (spwt == 1) {
if ((Math.random() * 2) > 1) {
nw = 1;
} else {
nw = -1;
}
rw = (Math.random() * 200) * nw;
wspawn = true;
w++;
if (w == 50) {
w = 1;
}
}
if (wspawn == true) {
wfm = "w" + w;
this._parent.attachMovie("wal", wfm, w + 50);
if (this._parent[wfm]._visible == true) {
this._parent[wfm]._height = 100 + Math.abs(rw / 9);
this._parent[wfm]._width = 70 + Math.abs(rw / 20);
this._parent[wfm]._x = this._parent.c._x + (350 * nw);
this._parent[wfm]._y = 413;
this._parent[wfm]._xscale = this._parent[wfm]._xscale * nw;
if (nw == -1) {
this._parent[wfm].fg.drc = false;
}
if (nw == 1) {
this._parent[wfm].fg.drc = true;
}
}
wspawn = false;
alwd = false;
}
if (spwt == 2) {
if ((Math.random() * 2) > 1) {
ni = -1;
} else {
ni = 1;
}
ri = Math.random() * 50;
ispawn = true;
i++;
if (i == 50) {
i = 1;
}
}
if (ispawn == true) {
ifm = "e" + i;
this._parent.attachMovie("fly", ifm, i + 100);
if (this._parent[ifm]._visible == true) {
this._parent[ifm]._x = (this._parent.c._x + (350 * ni)) + ri;
this._parent[ifm]._y = 150 + ri;
this._parent[ifm]._xscale = this._parent[ifm]._xscale * ni;
this._parent[ifm].spit.rt = ni;
if (ni == -1) {
this._parent[ifm].spit.ru = 12;
} else {
this._parent[ifm].spit.ru = 0;
}
this._parent[ifm].nj.drc = ni;
}
ispawn = false;
alwd = false;
}
if (spwt == 3) {
if ((Math.random() * 2) > 1) {
no = -1;
} else {
no = 1;
}
ro = (Math.random() * 200) * no;
ospawn = true;
o++;
if (o == 50) {
o = 1;
}
}
if (ospawn == true) {
ofm = "o" + o;
this._parent.attachMovie("nolegs", ofm, o);
if (this._parent[ofm]._visible == true) {
this._parent[ofm]._x = (this._parent.c._x + (350 * no)) + ro;
this._parent[ofm]._y = 413;
this._parent[ofm]._xscale = this._parent[ofm]._xscale * no;
if (no == 1) {
this._parent[ofm].fg.drc = true;
}
if (no == -1) {
this._parent[ofm].fg.drc = false;
}
}
ospawn = false;
alwd = false;
}
if (spwt > 3) {
if ((Math.random() * 2) > 1) {
ns = -1;
} else {
ns = 1;
}
rs = (Math.random() * 200) * ns;
sspawn = true;
s++;
if (s == 50) {
s = 1;
}
}
if (sspawn == true) {
sfm = "s" + s;
this._parent.attachMovie("spider", sfm, s + 150);
if (this._parent[sfm]._visible == true) {
this._parent[sfm]._x = (this._parent.c._x + (350 * ns)) + rs;
this._parent[sfm]._y = 413;
this._parent[sfm]._xscale = this._parent[sfm]._xscale * ns;
this._parent[sfm].t.drc = ns * -1;
}
sspawn = false;
alwd = false;
}
}
}
};
Symbol 1268 MovieClip Frame 11
stop();
onEnterFrame = function () {
if (gogo == true) {
_root.wwo.wv.gotoAndStop("11");
_root.wwo.wvv.gotoAndStop("11");
this._parent.ec.c = 18;
k = 1;
i = 1;
o = 1;
ccc = 125;
gogo = false;
}
if (_root.pau == false) {
ccc++;
if (ccc > 80) {
alwd = true;
ccc = 0;
}
if (alwd) {
spwt = Math.ceil(Math.random() * 3);
trace(spwt + "spawn number");
if (spwt == 1) {
if ((Math.random() * 2) > 1) {
ni = -1;
} else {
ni = 1;
}
ri = Math.random() * 50;
ispawn = true;
i++;
if (i == 50) {
i = 1;
}
}
if (ispawn == true) {
ifm = "e" + i;
this._parent.attachMovie("fly", ifm, i + 100);
if (this._parent[ifm]._visible == true) {
this._parent[ifm]._x = (this._parent.c._x + (350 * ni)) + ri;
this._parent[ifm]._y = 150 + ri;
this._parent[ifm]._xscale = this._parent[ifm]._xscale * ni;
this._parent[ifm].spit.rt = ni;
if (ni == -1) {
this._parent[ifm].spit.ru = 12;
} else {
this._parent[ifm].spit.ru = 0;
}
this._parent[ifm].nj.drc = ni;
}
ispawn = false;
alwd = false;
}
if (spwt == 2) {
if ((Math.random() * 2) > 1) {
no = -1;
} else {
no = 1;
}
ro = (Math.random() * 200) * no;
ospawn = true;
o++;
if (o == 50) {
o = 1;
}
}
if (ospawn == true) {
ofm = "o" + o;
this._parent.attachMovie("nolegs", ofm, o);
if (this._parent[ofm]._visible == true) {
this._parent[ofm]._x = (this._parent.c._x + (350 * no)) + ro;
this._parent[ofm]._y = 413;
this._parent[ofm]._xscale = this._parent[ofm]._xscale * no;
if (no == 1) {
this._parent[ofm].fg.drc = true;
}
if (no == -1) {
this._parent[ofm].fg.drc = false;
}
}
ospawn = false;
alwd = false;
}
if (spwt == 3) {
if ((Math.random() * 2) > 1) {
nk = 1;
} else {
nk = -1;
}
rk = (Math.random() * 200) * nk;
kspawn = true;
k++;
if (k == 50) {
k = 1;
}
}
if (kspawn == true) {
kfm = "k" + k;
this._parent.attachMovie("run", kfm, k + 50);
if (this._parent[kfm]._visible == true) {
this._parent[kfm]._height = 100 + Math.abs(rk / 9);
this._parent[kfm]._width = 70 + Math.abs(rk / 20);
this._parent[kfm]._x = this._parent.c._x + (350 * nk);
this._parent[kfm]._y = 413;
this._parent[kfm]._xscale = this._parent[kfm]._xscale * nk;
if (nk == -1) {
this._parent[kfm].fg.drc = false;
}
if (nk == 1) {
this._parent[kfm].fg.drc = true;
}
}
kspawn = false;
alwd = false;
}
}
}
};
Symbol 1268 MovieClip Frame 12
stop();
onEnterFrame = function () {
if (gogo == true) {
_root.wwo.wv.gotoAndStop("12");
_root.wwo.wvv.gotoAndStop("12");
this._parent.ec.c = 38;
k = 1;
s = 1;
i = 1;
ccc = 110;
gogo = false;
}
if (_root.pau == false) {
ccc++;
if (ccc > 50) {
alwd = true;
ccc = 0;
}
if (alwd) {
spwt = Math.ceil(Math.random() * 9);
if (spwt == 2) {
if ((Math.random() * 2) > 1) {
ni = -1;
} else {
ni = 1;
}
ri = Math.random() * 50;
ispawn = true;
i++;
if (i == 50) {
i = 1;
}
}
if (ispawn == true) {
ifm = "e" + i;
this._parent.attachMovie("fly", ifm, i + 100);
if (this._parent[ifm]._visible == true) {
this._parent[ifm]._x = (this._parent.c._x + (350 * ni)) + ri;
this._parent[ifm]._y = 150 + ri;
this._parent[ifm]._xscale = this._parent[ifm]._xscale * ni;
this._parent[ifm].spit.rt = ni;
if (ni == -1) {
this._parent[ifm].spit.ru = 12;
} else {
this._parent[ifm].spit.ru = 0;
}
this._parent[ifm].nj.drc = ni;
}
ispawn = false;
alwd = false;
}
if (spwt < 3) {
if ((Math.random() * 2) > 1) {
nk = 1;
} else {
nk = -1;
}
rk = (Math.random() * 200) * nk;
kspawn = true;
k++;
if (k == 50) {
k = 1;
}
}
if (kspawn == true) {
kfm = "k" + k;
this._parent.attachMovie("run", kfm, k + 50);
if (this._parent[kfm]._visible == true) {
this._parent[kfm]._height = 100 + Math.abs(rk / 9);
this._parent[kfm]._width = 70 + Math.abs(rk / 20);
this._parent[kfm]._x = this._parent.c._x + (350 * nk);
this._parent[kfm]._y = 413;
this._parent[kfm]._xscale = this._parent[kfm]._xscale * nk;
if (nk == -1) {
this._parent[kfm].fg.drc = false;
}
if (nk == 1) {
this._parent[kfm].fg.drc = true;
}
}
kspawn = false;
alwd = false;
}
if (spwt > 3) {
if ((Math.random() * 2) > 1) {
ns = -1;
} else {
ns = 1;
}
rs = (Math.random() * 200) * ns;
sspawn = true;
s++;
if (s == 50) {
s = 1;
}
}
if (sspawn == true) {
sfm = "s" + s;
this._parent.attachMovie("spider", sfm, s + 150);
if (this._parent[sfm]._visible == true) {
this._parent[sfm]._x = (this._parent.c._x + (350 * ns)) + rs;
this._parent[sfm]._y = 413;
this._parent[sfm]._xscale = this._parent[sfm]._xscale * ns;
this._parent[sfm].t.drc = ns * -1;
}
sspawn = false;
alwd = false;
}
}
}
};
Symbol 1268 MovieClip Frame 13
stop();
onEnterFrame = function () {
if (gogo == true) {
_root.wwo.wv.gotoAndStop("13");
_root.wwo.wvv.gotoAndStop("13");
this._parent.ec.c = 35;
k = 1;
i = 1;
o = 1;
s = 1;
ccc = 100;
gogo = false;
}
if (_root.pau == false) {
ccc++;
if (ccc > 60) {
alwd = true;
ccc = 0;
}
if (alwd) {
spwt = Math.ceil(Math.random() * 10);
trace(spwt + "spawn number");
if (spwt == 3) {
if ((Math.random() * 2) > 1) {
nk = 1;
} else {
nk = -1;
}
rk = (Math.random() * 200) * nk;
kspawn = true;
k++;
if (k == 50) {
k = 1;
}
}
if (kspawn == true) {
kfm = "k" + k;
this._parent.attachMovie("run", kfm, k + 50);
if (this._parent[kfm]._visible == true) {
this._parent[kfm]._height = 100 + Math.abs(rk / 9);
this._parent[kfm]._width = 70 + Math.abs(rk / 20);
this._parent[kfm]._x = this._parent.c._x + (350 * nk);
this._parent[kfm]._y = 413;
this._parent[kfm]._xscale = this._parent[kfm]._xscale * nk;
if (nk == -1) {
this._parent[kfm].fg.drc = false;
}
if (nk == 1) {
this._parent[kfm].fg.drc = true;
}
}
kspawn = false;
alwd = false;
}
if (spwt == 2) {
if ((Math.random() * 2) > 1) {
ni = -1;
} else {
ni = 1;
}
ri = Math.random() * 50;
ispawn = true;
i++;
if (i == 50) {
i = 1;
}
}
if (ispawn == true) {
ifm = "e" + i;
this._parent.attachMovie("fly", ifm, i + 100);
if (this._parent[ifm]._visible == true) {
this._parent[ifm]._x = (this._parent.c._x + (350 * ni)) + ri;
this._parent[ifm]._y = 150 + ri;
this._parent[ifm]._xscale = this._parent[ifm]._xscale * ni;
this._parent[ifm].spit.rt = ni;
if (ni == -1) {
this._parent[ifm].spit.ru = 12;
} else {
this._parent[ifm].spit.ru = 0;
}
this._parent[ifm].nj.drc = ni;
}
ispawn = false;
alwd = false;
}
if (spwt == 1) {
if ((Math.random() * 2) > 1) {
no = -1;
} else {
no = 1;
}
ro = (Math.random() * 200) * no;
ospawn = true;
o++;
if (o == 50) {
o = 1;
}
}
if (ospawn == true) {
ofm = "o" + o;
this._parent.attachMovie("nolegs", ofm, o);
if (this._parent[ofm]._visible == true) {
this._parent[ofm]._x = (this._parent.c._x + (350 * no)) + ro;
this._parent[ofm]._y = 413;
this._parent[ofm]._xscale = this._parent[ofm]._xscale * no;
if (no == 1) {
this._parent[ofm].fg.drc = true;
}
if (no == -1) {
this._parent[ofm].fg.drc = false;
}
}
ospawn = false;
alwd = false;
}
if (spwt > 3) {
if ((Math.random() * 2) > 1) {
ns = -1;
} else {
ns = 1;
}
rs = (Math.random() * 200) * ns;
sspawn = true;
s++;
if (s == 50) {
s = 1;
}
}
if (sspawn == true) {
sfm = "s" + s;
this._parent.attachMovie("spider", sfm, s + 150);
if (this._parent[sfm]._visible == true) {
this._parent[sfm]._x = (this._parent.c._x + (350 * ns)) + rs;
this._parent[sfm]._y = 413;
this._parent[sfm]._xscale = this._parent[sfm]._xscale * ns;
this._parent[sfm].t.drc = ns * -1;
}
sspawn = false;
alwd = false;
}
}
}
};
Symbol 1268 MovieClip Frame 14
stop();
onEnterFrame = function () {
if (gogo == true) {
_root.wwo.wv.gotoAndStop("14");
_root.wwo.wvv.gotoAndStop("14");
this._parent.ec.c = 20;
k = 1;
i = 1;
o = 1;
b = 1;
ccc = 90;
cccc = 1000;
gogo = false;
}
if (_root.pau == false) {
cccc++;
if (cccc > 1000) {
alwdd = true;
cccc = 0;
}
ccc++;
if (ccc > 90) {
alwd = true;
ccc = 0;
}
if (alwd) {
spwt = Math.ceil(Math.random() * 3);
trace(spwt + "spawn number");
if (spwt == 3) {
if ((Math.random() * 2) > 1) {
nk = 1;
} else {
nk = -1;
}
rk = (Math.random() * 200) * nk;
kspawn = true;
k++;
if (k == 50) {
k = 1;
}
}
if (kspawn == true) {
kfm = "k" + k;
this._parent.attachMovie("run", kfm, k + 50);
if (this._parent[kfm]._visible == true) {
this._parent[kfm]._height = 100 + Math.abs(rk / 9);
this._parent[kfm]._width = 70 + Math.abs(rk / 20);
this._parent[kfm]._x = this._parent.c._x + (350 * nk);
this._parent[kfm]._y = 413;
this._parent[kfm]._xscale = this._parent[kfm]._xscale * nk;
if (nk == -1) {
this._parent[kfm].fg.drc = false;
}
if (nk == 1) {
this._parent[kfm].fg.drc = true;
}
}
kspawn = false;
alwd = false;
}
if (spwt == 2) {
if ((Math.random() * 2) > 1) {
ni = -1;
} else {
ni = 1;
}
ri = Math.random() * 50;
ispawn = true;
i++;
if (i == 50) {
i = 1;
}
}
if (ispawn == true) {
ifm = "e" + i;
this._parent.attachMovie("fly", ifm, i + 100);
if (this._parent[ifm]._visible == true) {
this._parent[ifm]._x = (this._parent.c._x + (350 * ni)) + ri;
this._parent[ifm]._y = 150 + ri;
this._parent[ifm]._xscale = this._parent[ifm]._xscale * ni;
this._parent[ifm].spit.rt = ni;
if (ni == -1) {
this._parent[ifm].spit.ru = 12;
} else {
this._parent[ifm].spit.ru = 0;
}
this._parent[ifm].nj.drc = ni;
}
ispawn = false;
alwd = false;
}
if (spwt == 1) {
if ((Math.random() * 2) > 1) {
no = -1;
} else {
no = 1;
}
ro = (Math.random() * 200) * no;
ospawn = true;
o++;
if (o == 50) {
o = 1;
}
}
if (ospawn == true) {
ofm = "o" + o;
this._parent.attachMovie("nolegs", ofm, o);
if (this._parent[ofm]._visible == true) {
this._parent[ofm]._x = (this._parent.c._x + (350 * no)) + ro;
this._parent[ofm]._y = 413;
this._parent[ofm]._xscale = this._parent[ofm]._xscale * no;
if (no == 1) {
this._parent[ofm].fg.drc = true;
}
if (no == -1) {
this._parent[ofm].fg.drc = false;
}
}
ospawn = false;
alwd = false;
}
}
if (alwdd == true) {
if ((Math.random() * 2) > 1) {
nb = -1;
} else {
nb = 1;
}
bspawn = true;
b++;
if (b == 50) {
b = 1;
}
}
if (bspawn == true) {
bfm = "b" + b;
this._parent.attachMovie("leg", bfm, b + 200);
if (this._parent[bfm]._visible == true) {
this._parent[bfm]._x = (this._parent.c._x + 500) * nb;
this._parent[bfm]._y = 413;
this._parent[bfm]._xscale = this._parent[bfm]._xscale * nb;
if (nb == -1) {
this._parent[bfm].klq.drc = true;
}
if (nb == 1) {
this._parent[bfm].klq.drc = false;
}
}
bspawn = false;
alwdd = false;
}
}
};
Symbol 1268 MovieClip Frame 15
stop();
onEnterFrame = function () {
if (gogo == true) {
_root.wwo.wv.gotoAndStop("15");
_root.wwo.wvv.gotoAndStop("15");
this._parent.ec.c = 50;
w = 1;
i = 1;
o = 1;
b = 1;
s = 1;
ccc = 50;
cccc = 1000;
gogo = false;
}
if (_root.pau == false) {
cccc++;
if (cccc > 1100) {
alwdd = true;
cccc = 0;
}
ccc++;
if (ccc > 45) {
alwd = true;
ccc = 0;
}
if (alwd) {
spwt = Math.ceil(Math.random() * 10);
trace(spwt + "spawn number");
if (spwt == 1) {
if ((Math.random() * 2) > 1) {
nw = 1;
} else {
nw = -1;
}
rw = (Math.random() * 200) * nw;
wspawn = true;
w++;
if (w == 50) {
w = 1;
}
}
if (wspawn == true) {
wfm = "w" + w;
this._parent.attachMovie("wal", wfm, w + 50);
if (this._parent[wfm]._visible == true) {
this._parent[wfm]._height = 100 + Math.abs(rw / 9);
this._parent[wfm]._width = 70 + Math.abs(rw / 20);
this._parent[wfm]._x = this._parent.c._x + (350 * nw);
this._parent[wfm]._y = 413;
this._parent[wfm]._xscale = this._parent[wfm]._xscale * nw;
if (nw == -1) {
this._parent[wfm].fg.drc = false;
}
if (nw == 1) {
this._parent[wfm].fg.drc = true;
}
}
wspawn = false;
alwd = false;
}
if (spwt == 2) {
if ((Math.random() * 2) > 1) {
ni = -1;
} else {
ni = 1;
}
ri = Math.random() * 50;
ispawn = true;
i++;
if (i == 50) {
i = 1;
}
}
if (ispawn == true) {
ifm = "e" + i;
this._parent.attachMovie("fly", ifm, i + 100);
if (this._parent[ifm]._visible == true) {
this._parent[ifm]._x = (this._parent.c._x + (350 * ni)) + ri;
this._parent[ifm]._y = 150 + ri;
this._parent[ifm]._xscale = this._parent[ifm]._xscale * ni;
this._parent[ifm].spit.rt = ni;
if (ni == -1) {
this._parent[ifm].spit.ru = 12;
} else {
this._parent[ifm].spit.ru = 0;
}
this._parent[ifm].nj.drc = ni;
}
ispawn = false;
alwd = false;
}
if (spwt == 3) {
if ((Math.random() * 2) > 1) {
no = -1;
} else {
no = 1;
}
ro = (Math.random() * 200) * no;
ospawn = true;
o++;
if (o == 50) {
o = 1;
}
}
if (ospawn == true) {
ofm = "o" + o;
this._parent.attachMovie("nolegs", ofm, o);
if (this._parent[ofm]._visible == true) {
this._parent[ofm]._x = (this._parent.c._x + (350 * no)) + ro;
this._parent[ofm]._y = 413;
this._parent[ofm]._xscale = this._parent[ofm]._xscale * no;
if (no == 1) {
this._parent[ofm].fg.drc = true;
}
if (no == -1) {
this._parent[ofm].fg.drc = false;
}
}
ospawn = false;
alwd = false;
}
if (spwt > 3) {
if ((Math.random() * 2) > 1) {
ns = -1;
} else {
ns = 1;
}
rs = (Math.random() * 200) * ns;
sspawn = true;
s++;
if (s == 50) {
s = 1;
}
}
if (sspawn == true) {
sfm = "s" + s;
this._parent.attachMovie("spider", sfm, s + 150);
if (this._parent[sfm]._visible == true) {
this._parent[sfm]._x = (this._parent.c._x + (350 * ns)) + rs;
this._parent[sfm]._y = 413;
this._parent[sfm]._xscale = this._parent[sfm]._xscale * ns;
this._parent[sfm].t.drc = ns * -1;
}
sspawn = false;
alwd = false;
}
}
if (alwdd == true) {
if ((Math.random() * 2) > 1) {
nb = -1;
} else {
nb = 1;
}
bspawn = true;
b++;
if (b == 50) {
b = 1;
}
}
if (bspawn == true) {
bfm = "b" + b;
this._parent.attachMovie("leg", bfm, b + 200);
if (this._parent[bfm]._visible == true) {
this._parent[bfm]._x = (this._parent.c._x + 500) * nb;
this._parent[bfm]._y = 413;
this._parent[bfm]._xscale = this._parent[bfm]._xscale * nb;
if (nb == -1) {
this._parent[bfm].klq.drc = true;
}
if (nb == 1) {
this._parent[bfm].klq.drc = false;
}
}
bspawn = false;
alwdd = false;
}
}
};
Symbol 1268 MovieClip Frame 16
stop();
onEnterFrame = function () {
trace(this._parent.ec.c + "enemies");
if (gogo == true) {
_root.wwo.wv.gotoAndStop("16");
_root.wwo.wvv.gotoAndStop("16");
this._parent.ec.c = 20000;
w = 1;
i = 1;
o = 1;
b = 1;
s = 1;
ccc = 50;
cccc = 1000;
gogo = false;
}
if (_root.pau == false) {
cccc++;
if (cccc > 1400) {
alwdd = true;
cccc = 0;
}
ccc++;
if (ccc > 90) {
alwd = true;
ccc = 0;
}
if (alwd) {
spwt = Math.ceil(Math.random() * 7);
trace(spwt + "spawn number");
if (spwt == 1) {
if ((Math.random() * 2) > 1) {
nw = 1;
} else {
nw = -1;
}
rw = (Math.random() * 200) * nw;
wspawn = true;
w++;
if (w == 50) {
w = 1;
}
}
if (wspawn == true) {
wfm = "w" + w;
this._parent.attachMovie("wal", wfm, w + 50);
if (this._parent[wfm]._visible == true) {
this._parent[wfm]._height = 100 + Math.abs(rw / 9);
this._parent[wfm]._width = 70 + Math.abs(rw / 20);
this._parent[wfm]._x = this._parent.c._x + (350 * nw);
this._parent[wfm]._y = 413;
this._parent[wfm]._xscale = this._parent[wfm]._xscale * nw;
if (nw == -1) {
this._parent[wfm].fg.drc = false;
}
if (nw == 1) {
this._parent[wfm].fg.drc = true;
}
}
wspawn = false;
alwd = false;
}
if (spwt == 2) {
if ((Math.random() * 2) > 1) {
ni = -1;
} else {
ni = 1;
}
ri = Math.random() * 50;
ispawn = true;
i++;
if (i == 50) {
i = 1;
}
}
if (ispawn == true) {
ifm = "e" + i;
this._parent.attachMovie("fly", ifm, i + 100);
if (this._parent[ifm]._visible == true) {
this._parent[ifm]._x = (this._parent.c._x + (350 * ni)) + ri;
this._parent[ifm]._y = 150 + ri;
this._parent[ifm]._xscale = this._parent[ifm]._xscale * ni;
this._parent[ifm].spit.rt = ni;
if (ni == -1) {
this._parent[ifm].spit.ru = 12;
} else {
this._parent[ifm].spit.ru = 0;
}
this._parent[ifm].nj.drc = ni;
}
ispawn = false;
alwd = false;
}
if (spwt == 3) {
if ((Math.random() * 2) > 1) {
no = -1;
} else {
no = 1;
}
ro = (Math.random() * 200) * no;
ospawn = true;
o++;
if (o == 50) {
o = 1;
}
}
if (ospawn == true) {
ofm = "o" + o;
this._parent.attachMovie("nolegs", ofm, o);
if (this._parent[ofm]._visible == true) {
this._parent[ofm]._x = (this._parent.c._x + (350 * no)) + ro;
this._parent[ofm]._y = 413;
this._parent[ofm]._xscale = this._parent[ofm]._xscale * no;
if (no == 1) {
this._parent[ofm].fg.drc = true;
}
if (no == -1) {
this._parent[ofm].fg.drc = false;
}
}
ospawn = false;
alwd = false;
}
if (spwt > 3) {
if ((Math.random() * 2) > 1) {
ns = -1;
} else {
ns = 1;
}
rs = (Math.random() * 200) * ns;
sspawn = true;
s++;
if (s == 50) {
s = 1;
}
}
if (sspawn == true) {
sfm = "s" + s;
this._parent.attachMovie("spider", sfm, s + 150);
if (this._parent[sfm]._visible == true) {
this._parent[sfm]._x = (this._parent.c._x + (350 * ns)) + rs;
this._parent[sfm]._y = 413;
this._parent[sfm]._xscale = this._parent[sfm]._xscale * ns;
this._parent[sfm].t.drc = ns * -1;
}
sspawn = false;
alwd = false;
}
}
if (alwdd == true) {
if ((Math.random() * 2) > 1) {
nb = -1;
} else {
nb = 1;
}
bspawn = true;
b++;
if (b == 50) {
b = 1;
}
}
if (bspawn == true) {
bfm = "b" + b;
this._parent.attachMovie("leg", bfm, b + 200);
if (this._parent[bfm]._visible == true) {
this._parent[bfm]._x = (this._parent.c._x + 500) * nb;
this._parent[bfm]._y = 413;
this._parent[bfm]._xscale = this._parent[bfm]._xscale * nb;
if (nb == -1) {
this._parent[bfm].klq.drc = true;
}
if (nb == 1) {
this._parent[bfm].klq.drc = false;
}
}
bspawn = false;
alwdd = false;
}
}
};
Instance of Symbol 1267 MovieClip in Symbol 1268 MovieClip Frame 16
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this._parent.nextFrame();
}
}
Symbol 1268 MovieClip Frame 17
stop();
onEnterFrame = function () {
trace(this._parent.ec.c + "enemies");
if (gogo == true) {
_root.wwo.wv.gotoAndStop("16");
_root.wwo.wvv.gotoAndStop("16");
this._parent.ec.c = 20000;
w = 1;
i = 1;
o = 1;
b = 1;
s = 1;
ccc = 50;
cccc = 1000;
gogo = false;
}
if (_root.pau == false) {
cccc++;
if (cccc > 1200) {
alwdd = true;
cccc = 0;
}
ccc++;
if (ccc > 50) {
alwd = true;
ccc = 0;
}
if (alwd) {
spwt = Math.ceil(Math.random() * 11);
trace(spwt + "spawn number");
if (spwt == 1) {
if ((Math.random() * 2) > 1) {
nw = 1;
} else {
nw = -1;
}
rw = (Math.random() * 200) * nw;
wspawn = true;
w++;
if (w == 50) {
w = 1;
}
}
if (wspawn == true) {
wfm = "w" + w;
this._parent.attachMovie("wal", wfm, w + 50);
if (this._parent[wfm]._visible == true) {
this._parent[wfm]._height = 100 + Math.abs(rw / 9);
this._parent[wfm]._width = 70 + Math.abs(rw / 20);
this._parent[wfm]._x = this._parent.c._x + (350 * nw);
this._parent[wfm]._y = 413;
this._parent[wfm]._xscale = this._parent[wfm]._xscale * nw;
if (nw == -1) {
this._parent[wfm].fg.drc = false;
}
if (nw == 1) {
this._parent[wfm].fg.drc = true;
}
}
wspawn = false;
alwd = false;
}
if (spwt == 2) {
if ((Math.random() * 2) > 1) {
ni = -1;
} else {
ni = 1;
}
ri = Math.random() * 50;
ispawn = true;
i++;
if (i == 50) {
i = 1;
}
}
if (ispawn == true) {
ifm = "e" + i;
this._parent.attachMovie("fly", ifm, i + 100);
if (this._parent[ifm]._visible == true) {
this._parent[ifm]._x = (this._parent.c._x + (350 * ni)) + ri;
this._parent[ifm]._y = 150 + ri;
this._parent[ifm]._xscale = this._parent[ifm]._xscale * ni;
this._parent[ifm].spit.rt = ni;
if (ni == -1) {
this._parent[ifm].spit.ru = 12;
} else {
this._parent[ifm].spit.ru = 0;
}
this._parent[ifm].nj.drc = ni;
}
ispawn = false;
alwd = false;
}
if (spwt == 3) {
if ((Math.random() * 2) > 1) {
no = -1;
} else {
no = 1;
}
ro = (Math.random() * 200) * no;
ospawn = true;
o++;
if (o == 50) {
o = 1;
}
}
if (ospawn == true) {
ofm = "o" + o;
this._parent.attachMovie("nolegs", ofm, o);
if (this._parent[ofm]._visible == true) {
this._parent[ofm]._x = (this._parent.c._x + (350 * no)) + ro;
this._parent[ofm]._y = 413;
this._parent[ofm]._xscale = this._parent[ofm]._xscale * no;
if (no == 1) {
this._parent[ofm].fg.drc = true;
}
if (no == -1) {
this._parent[ofm].fg.drc = false;
}
}
ospawn = false;
alwd = false;
}
if (spwt > 3) {
if ((Math.random() * 2) > 1) {
ns = -1;
} else {
ns = 1;
}
rs = (Math.random() * 200) * ns;
sspawn = true;
s++;
if (s == 50) {
s = 1;
}
}
if (sspawn == true) {
sfm = "s" + s;
this._parent.attachMovie("spider", sfm, s + 150);
if (this._parent[sfm]._visible == true) {
this._parent[sfm]._x = (this._parent.c._x + (350 * ns)) + rs;
this._parent[sfm]._y = 413;
this._parent[sfm]._xscale = this._parent[sfm]._xscale * ns;
this._parent[sfm].t.drc = ns * -1;
}
sspawn = false;
alwd = false;
}
}
if (alwdd == true) {
if ((Math.random() * 2) > 1) {
nb = -1;
} else {
nb = 1;
}
bspawn = true;
b++;
if (b == 50) {
b = 1;
}
}
if (bspawn == true) {
bfm = "b" + b;
this._parent.attachMovie("leg", bfm, b + 200);
if (this._parent[bfm]._visible == true) {
this._parent[bfm]._x = (this._parent.c._x + 500) * nb;
this._parent[bfm]._y = 413;
this._parent[bfm]._xscale = this._parent[bfm]._xscale * nb;
if (nb == -1) {
this._parent[bfm].klq.drc = true;
}
if (nb == 1) {
this._parent[bfm].klq.drc = false;
}
}
bspawn = false;
alwdd = false;
}
}
};
Symbol 1268 MovieClip Frame 18
stop();
onEnterFrame = function () {
trace(this._parent.ec.c + "enemies");
if (gogo == true) {
_root.wwo.wv.gotoAndStop("16");
_root.wwo.wvv.gotoAndStop("16");
this._parent.ec.c = 20000;
w = 1;
i = 1;
o = 1;
b = 1;
s = 1;
ccc = 50;
cccc = 1000;
gogo = false;
}
if (_root.pau == false) {
cccc++;
if (cccc > 1400) {
alwdd = true;
cccc = 0;
}
ccc++;
if (ccc > 30) {
alwd = true;
ccc = 0;
}
if (alwd) {
spwt = Math.ceil(Math.random() * 9);
trace(spwt + "spawn number");
if (spwt == 1) {
if ((Math.random() * 2) > 1) {
nw = 1;
} else {
nw = -1;
}
rw = (Math.random() * 200) * nw;
wspawn = true;
w++;
if (w == 50) {
w = 1;
}
}
if (wspawn == true) {
wfm = "w" + w;
this._parent.attachMovie("wal", wfm, w + 50);
if (this._parent[wfm]._visible == true) {
this._parent[wfm]._height = 100 + Math.abs(rw / 9);
this._parent[wfm]._width = 70 + Math.abs(rw / 20);
this._parent[wfm]._x = this._parent.c._x + (350 * nw);
this._parent[wfm]._y = 413;
this._parent[wfm]._xscale = this._parent[wfm]._xscale * nw;
if (nw == -1) {
this._parent[wfm].fg.drc = false;
}
if (nw == 1) {
this._parent[wfm].fg.drc = true;
}
}
wspawn = false;
alwd = false;
}
if (spwt == 2) {
if ((Math.random() * 2) > 1) {
ni = -1;
} else {
ni = 1;
}
ri = Math.random() * 50;
ispawn = true;
i++;
if (i == 50) {
i = 1;
}
}
if (ispawn == true) {
ifm = "e" + i;
this._parent.attachMovie("fly", ifm, i + 100);
if (this._parent[ifm]._visible == true) {
this._parent[ifm]._x = (this._parent.c._x + (350 * ni)) + ri;
this._parent[ifm]._y = 150 + ri;
this._parent[ifm]._xscale = this._parent[ifm]._xscale * ni;
this._parent[ifm].spit.rt = ni;
if (ni == -1) {
this._parent[ifm].spit.ru = 12;
} else {
this._parent[ifm].spit.ru = 0;
}
this._parent[ifm].nj.drc = ni;
}
ispawn = false;
alwd = false;
}
if (spwt == 3) {
if ((Math.random() * 2) > 1) {
no = -1;
} else {
no = 1;
}
ro = (Math.random() * 200) * no;
ospawn = true;
o++;
if (o == 50) {
o = 1;
}
}
if (ospawn == true) {
ofm = "o" + o;
this._parent.attachMovie("nolegs", ofm, o);
if (this._parent[ofm]._visible == true) {
this._parent[ofm]._x = (this._parent.c._x + (350 * no)) + ro;
this._parent[ofm]._y = 413;
this._parent[ofm]._xscale = this._parent[ofm]._xscale * no;
if (no == 1) {
this._parent[ofm].fg.drc = true;
}
if (no == -1) {
this._parent[ofm].fg.drc = false;
}
}
ospawn = false;
alwd = false;
}
if (spwt > 3) {
if ((Math.random() * 2) > 1) {
ns = -1;
} else {
ns = 1;
}
rs = (Math.random() * 200) * ns;
sspawn = true;
s++;
if (s == 50) {
s = 1;
}
}
if (sspawn == true) {
sfm = "s" + s;
this._parent.attachMovie("spider", sfm, s + 150);
if (this._parent[sfm]._visible == true) {
this._parent[sfm]._x = (this._parent.c._x + (350 * ns)) + rs;
this._parent[sfm]._y = 413;
this._parent[sfm]._xscale = this._parent[sfm]._xscale * ns;
this._parent[sfm].t.drc = ns * -1;
}
sspawn = false;
alwd = false;
}
}
if (alwdd == true) {
if ((Math.random() * 2) > 1) {
nb = -1;
} else {
nb = 1;
}
bspawn = true;
b++;
if (b == 50) {
b = 1;
}
}
if (bspawn == true) {
bfm = "b" + b;
this._parent.attachMovie("leg", bfm, b + 200);
if (this._parent[bfm]._visible == true) {
this._parent[bfm]._x = (this._parent.c._x + 500) * nb;
this._parent[bfm]._y = 413;
this._parent[bfm]._xscale = this._parent[bfm]._xscale * nb;
if (nb == -1) {
this._parent[bfm].klq.drc = true;
}
if (nb == 1) {
this._parent[bfm].klq.drc = false;
}
}
bspawn = false;
alwdd = false;
}
}
};
Symbol 1291 MovieClip Frame 1
stop();
Symbol 1303 MovieClip Frame 1
stop();
Symbol 1303 MovieClip Frame 8
stop();
Instance of Symbol 1297 MovieClip in Symbol 1303 MovieClip Frame 8
onClipEvent (load) {
c = 0;
}
onClipEvent (enterFrame) {
c++;
if (c == _root.hs) {
_parent.play();
}
}
Symbol 1303 MovieClip Frame 11
this.gotoAndStop("1");
Symbol 1314 MovieClip Frame 1
stop();
Symbol 1314 MovieClip Frame 4
this.gotoAndStop("1");
Symbol 1334 MovieClip Frame 1
stop();
Symbol 1334 MovieClip Frame 7
stop();
Instance of Symbol 1329 MovieClip in Symbol 1334 MovieClip Frame 7
onClipEvent (load) {
poc = 0;
}
onClipEvent (enterFrame) {
if (_root.nrco == true) {
poc++;
if (poc > 15) {
_parent.gotoAndStop("1");
}
} else {
poc++;
if (poc > _root.pshs) {
_parent.play();
}
}
}
Symbol 1334 MovieClip Frame 8
this.gotoAndPlay("23");
Symbol 1334 MovieClip Frame 21
this.gotoAndPlay("74");
Symbol 1334 MovieClip Frame 44
this.gotoAndPlay("60");
Symbol 1335 MovieClip Frame 1
stop();
Instance of Symbol 1291 MovieClip "h" in Symbol 1335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.dhm == true) {
this.gotoAndStop("2");
}
}
Symbol 1335 MovieClip Frame 2
stop();
Symbol 1335 MovieClip Frame 3
stop();
Symbol 1371 MovieClip Frame 37
_root.dead.play();
Symbol 1371 MovieClip Frame 68
stop();
Symbol 1395 MovieClip Frame 1
stop();
Instance of Symbol 1268 MovieClip in Symbol 1401 MovieClip Frame 1
onClipEvent (load) {
wq = _root.wade;
this.gotoAndStop(wq);
}
Instance of Symbol 1269 MovieClip "ec" in Symbol 1401 MovieClip Frame 1
onClipEvent (enterFrame) {
if (c < 1) {
if (_root.wade < 15) {
_root.enfd.play();
} else {
_root.fini.play();
}
}
}
Instance of Symbol 1395 MovieClip "c" in Symbol 1401 MovieClip Frame 1
onClipEvent (load) {
ra = false;
r = true;
l = false;
ll = true;
rr = false;
rrr = 1.5;
wrp = true;
wlp = true;
cz = 0;
rrrr = 10;
stb = true;
stbb = true;
}
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
zx = _root.hd;
}
if (this.a.f.t._currentframe == 2) {
zx = _root.md;
}
if (this.a.f.t._currentframe == 3) {
zx = _root.sd;
}
if (scw == true) {
rloo = true;
cz++;
if (cz < 9) {
if (stbb == true) {
if (this.a.f.t._currentframe == 1) {
if (_root.machinegun == true) {
this.a.f.t.gotoAndStop("2");
} else {
this.a.f.t.gotoAndStop("3");
}
} else if (this.a.f.t._currentframe == 2) {
if (_root.shotgun == true) {
this.a.f.t.gotoAndStop("3");
} else {
this.a.f.t.gotoAndStop("1");
}
} else {
this.a.f.t.play();
}
stbb = false;
rrtt = 2;
}
rrtt = rrtt - 0.2;
rrrr = rrrr - rrtt;
if (angle < -265) {
this.a.f.t.g._rotation = (((angle + 360) - 100) / rrrr) + 100;
} else {
this.a.f.t.g._rotation = ((angle - 100) / rrrr) + 100;
}
if ((((rh - 100) / rrrr) + 100) > 90) {
this.a.f.t.g._rotation = 90;
}
} else {
scw = false;
}
} else {
rrrr = 10;
rloo = false;
cz = 0;
stb = true;
stbb = true;
}
if (_root.pau == false) {
if (Key.isDown(87) or Key.isDown(38)) {
if ((_root.shotgun == true) or (_root.machinegun == true)) {
if (sc) {
scw = true;
sc = false;
}
}
} else {
sc = true;
}
}
this.a.f.t.h._rotation = (this.a.f.t.g._rotation - 10) / 3;
if (angle < -90) {
angle = angle + 360;
}
if (angle > 250) {
angle = -90;
}
if (this.a.f.t.g._currentframe > 15) {
rlo = true;
if (this.a.f.t.g._currentframe < 40) {
rrr = rrr + 0.17;
this.a.f.t.g._rotation = angle / rrr;
}
if (this.a.f.t.g._currentframe > 60) {
rrr = rrr - 0.15;
this.a.f.t.g._rotation = angle / rrr;
}
} else {
rrr = 1;
rlo = false;
}
if (_root._xmouse > ((_x + 3) + _parent._x)) {
if (rr) {
_xscale = (_xscale * -1);
rr = false;
ll = true;
}
} else if (ll) {
_xscale = (_xscale * -1);
ll = false;
rr = true;
}
if (s) {
if (_root.revolver.d._currentframe != 40) {
if (this.a.f.t.g._currentframe < 3) {
this.a.f.t.g.play();
}
} else {
this.a.f.t.g.gotoAndPlay("12");
}
}
if (rr) {
adjside = ((_x - 9.5) - _root.aimer._x) + _parent._x;
oppside = -1 * (((_y - 15) - _root.aimer._y) + _parent._y);
angle = Math.atan2(oppside, adjside);
angle = int((angle / Math.PI) * 180);
}
if (ll) {
adjside = ((_x + 9.5) - _root.aimer._x) + _parent._x;
oppside = -1 * (((_y - 15) - _root.aimer._y) + _parent._y);
angle = Math.atan2(oppside, adjside);
angle = (int((angle / Math.PI) * 180) * -1) - 180;
if (angle > 260) {
angle = -90;
}
}
if ((!rlo) and (!rloo)) {
this.a.f.t.g._rotation = angle;
}
if (this._x > 490) {
wrp = false;
} else {
wrp = true;
}
if (this._x > 195) {
this._parent.rg._visible = true;
} else {
this._parent.rg._visible = false;
}
if (this._x < 120) {
this._parent.lg._visible = true;
} else {
this._parent.lg._visible = false;
}
if (this._x > -139) {
wlp = true;
} else {
wlp = false;
}
if (_root.pau == false) {
if ((wrp == true) and (Key.isDown(39) or Key.isDown(68))) {
l = false;
r = true;
} else if ((wlp == true) and (Key.isDown(37) or Key.isDown(65))) {
r = false;
l = true;
} else if ((this.a._currentframe == 7) or (this.a._currentframe == 22)) {
r = false;
l = false;
}
}
if (this._currentframe == 1) {
if (rr) {
if (_root.pau == false) {
if (l) {
_x = (_x - 1.5);
this.a.nextFrame();
this.a.f.nextFrame();
if (this.a.f._currentframe == 30) {
this.a.f.gotoAndStop("1");
}
if (this.a._currentframe == 30) {
this.a.gotoAndStop("1");
}
}
if (r) {
_x = (_x + 1.5);
this.a.prevFrame();
this.a.f.prevFrame();
if (this.a.f._currentframe == 1) {
this.a.f.gotoAndStop("30");
}
if (this.a._currentframe == 1) {
this.a.gotoAndStop("30");
}
}
}
}
if (ll) {
if (_root.pau == false) {
if (r) {
_x = (_x + 1.5);
this.a.nextFrame();
this.a.f.nextFrame();
if (this.a.f._currentframe == 30) {
this.a.f.gotoAndStop("1");
}
if (this.a._currentframe == 30) {
this.a.gotoAndStop("1");
}
}
if (l) {
_x = (_x - 1.5);
this.a.prevFrame();
this.a.f.prevFrame();
if (this.a.f._currentframe == 1) {
this.a.f.gotoAndStop("30");
}
if (this.a._currentframe == 1) {
this.a.gotoAndStop("30");
}
}
}
}
}
if (wlp == false) {
wlc++;
if (wlc > 2) {
wlp = true;
}
} else {
wlc = 0;
}
if (wrp == false) {
wrc++;
if (wrc > 2) {
wrp = true;
}
} else {
wrc = 0;
}
}
onClipEvent (mouseDown) {
if (!_root.pas.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.pau == false) {
s = true;
}
}
}
onClipEvent (mouseUp) {
s = false;
}
Instance of Symbol 1396 MovieClip "bn" in Symbol 1401 MovieClip Frame 1
onClipEvent (load) {
x = 0;
}
onClipEvent (enterFrame) {
x = x - ((_x - this._parent.c._x) / 15);
x = x / 1.2;
xx = int(x) / 4;
_x = (_x + xx);
_parent._x = _parent._x - xx;
}
Symbol 1415 Button
on (press) {
if (_root.px._currentframe == 1) {
if (_root.pau == false) {
_root.px.play();
_root.pau = true;
}
}
}
Symbol 1424 Button
on (press) {
if (((this.i._currentframe == 1) and (this.o._currentframe == 1)) and (this.qq._currentframe == 1)) {
this.i.play();
}
}
Symbol 1429 Button
on (press) {
if (((this.i._currentframe == 1) and (this.o._currentframe == 1)) and (this.qq._currentframe == 1)) {
this.o.play();
}
}
Symbol 1434 Button
on (press) {
this.play();
}
Symbol 1441 Button
on (press) {
if (((this.i._currentframe == 1) and (this.o._currentframe == 1)) and (this.qq._currentframe == 1)) {
this.qq.play();
}
}
Symbol 1447 MovieClip Frame 1
stop();
Symbol 1455 Button
on (press) {
this.play();
}
Symbol 1468 MovieClip Frame 1
stop();
Symbol 1468 MovieClip Frame 25
stop();
Symbol 1480 Button
on (press) {
this.ms.gotoAndStop("1");
_root.mua = 1;
_root.mq.gotoAndStop("1");
}
Symbol 1481 Button
on (press) {
this.ms.gotoAndStop("2");
_root.mua = 2;
_root.mq.gotoAndStop("2");
}
Symbol 1486 MovieClip Frame 1
stop();
Symbol 1486 MovieClip Frame 14
onEnterFrame = function () {
qe = _root.qua;
this.qs.gotoAndStop(qe);
me = _root.mua;
this.ms.gotoAndStop(me);
};
Symbol 1486 MovieClip Frame 25
stop();
onEnterFrame = function () {
qe = _root.qua;
this.qs.gotoAndStop(qe);
me = _root.mua;
this.ms.gotoAndStop(me);
};
Symbol 1494 MovieClip Frame 1
stop();
Symbol 1499 MovieClip Frame 1
stop();
Symbol 1501 Button
on (press) {
_root.gotoAndStop("2");
}
Symbol 1502 Button
on (press) {
this.play();
}
Symbol 1505 MovieClip Frame 1
stop();
Symbol 1505 MovieClip Frame 25
stop();
onEnterFrame = function () {
qe = _root.qua;
this.qs.gotoAndStop(qe);
me = _root.mua;
this.ms.gotoAndStop(me);
};
Symbol 1509 MovieClip Frame 1
stop();
Symbol 1509 MovieClip Frame 2
_root.pau = true;
Symbol 1509 MovieClip Frame 10
onEnterFrame = function () {
this.wc = _root.wade;
};
Instance of Symbol 1444 MovieClip in Symbol 1509 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_root.wade > 15) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1447 MovieClip in Symbol 1509 MovieClip Frame 10
on (press) {
getURL ("http://www.pixelrobots.com");
mochi.as2.MochiServices.addLinkEvent("http://x.mochiads.com/link/5bf3fd45b386e24e", "pixelrobots.com", YOUR_BUTTON_REFERENCE);
}
on (rollOver) {
this.gotoAndStop("2");
}
on (rollOut) {
this.gotoAndStop("1");
}
Symbol 1509 MovieClip Frame 17
_root.pau = true;
stop();
Instance of Symbol 1505 MovieClip "qq" in Symbol 1509 MovieClip Frame 17
onClipEvent (enterFrame) {
if (Key.isDown(80)) {
this._parent.play();
}
}
Symbol 1509 MovieClip Frame 34
_root.pau = false;
Symbol 1518 MovieClip Frame 1
stop();
Symbol 1549 MovieClip Frame 1
stop();
Symbol 1580 MovieClip Frame 1
stop();
Symbol 1585 MovieClip Frame 145
stop();
Symbol 1588 MovieClip Frame 5
stop();
Symbol 1595 MovieClip Frame 1
stop();
Symbol 1595 MovieClip Frame 82
_root.wade = _root.wade + 1;
Symbol 1595 MovieClip Frame 83
_parent.gotoAndStop("4");
Symbol 1612 MovieClip Frame 1
stop();
Symbol 1612 MovieClip Frame 161
if (_root.wade == 16) {
_root.gotoAndStop("6");
}
if (_root.wade == 17) {
_root.gotoAndStop("7");
}
if (_root.wade == 18) {
_root.gotoAndStop("8");
}
Symbol 1612 MovieClip Frame 162
_parent.gotoAndStop("2");
Symbol 1615 MovieClip Frame 1
stop();
Symbol 1615 MovieClip Frame 13
_root.gotoAndStop("5");
Symbol 1630 MovieClip Frame 1
stop();
Symbol 1630 MovieClip Frame 2
stop();
Instance of Symbol 1625 MovieClip in Symbol 1630 MovieClip Frame 2
on (press) {
this._parent.gotoAndStop("1");
}
Instance of Symbol 1130 MovieClip "aimer" in Symbol 1630 MovieClip Frame 2
onClipEvent (mouseMove) {
_x = (_root._xmouse + 605);
_y = (_root._ymouse + 306);
Mouse.hide;
}
Symbol 1643 MovieClip Frame 1
stop();
onEnterFrame = function () {
this.cc = c;
};
Symbol 1643 MovieClip Frame 2
onEnterFrame = function () {
this.cc = c;
};
Symbol 1654 MovieClip Frame 1
stop();
onEnterFrame = function () {
this.cc = c;
};
Symbol 1654 MovieClip Frame 2
onEnterFrame = function () {
this.cc = c;
};
Symbol 1661 Button
on (press) {
_root.gotoAndStop("3");
}
Symbol 1673 MovieClip Frame 1
stop();
Symbol 1680 MovieClip Frame 1
stop();
Symbol 1681 MovieClip Frame 1
stop();
Symbol 1682 MovieClip Frame 1
stop();
Symbol 1683 MovieClip Frame 1
stop();
Symbol 1684 MovieClip Frame 1
stop();
Symbol 1685 MovieClip Frame 1
stop();
Symbol 1686 MovieClip Frame 1
stop();
Symbol 1693 MovieClip Frame 1
stop();
Symbol 1735 Button
on (press) {
_root.gotoAndStop("2");
}
Symbol 1739 MovieClip Frame 1
play();
Symbol 1739 MovieClip Frame 29
stop();