Frame 1
stage.showmenu = false;
stage.scaleMode = "exactFit";
loadMovieNum ("mrsound.swf", 1);
fscommand ("fullscreen", "true");
Frame 2
stop();
lowlevel = 1;
level = 100000 /* 0x0186A0 */;
highlevel = 1000000 /* 0x0F4240 */;
detail = 2;
ai = true;
allwaysinvincible = false;
infbt = false;
armlength = 1;
Instance of Symbol 6 MovieClip "pbar" in Frame 2
onClipEvent (enterFrame) {
_xscale = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
_root.p = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
}
Instance of Symbol 6 MovieClip "sbar" in Frame 2
onClipEvent (enterFrame) {
t = (_root.t = _level1.getBytesTotal());
if (t > 0) {
l = _level1.getBytesLoaded();
_xscale = ((_root.sp = Math.round((l / t) * 100)));
tom._visible = false;
} else {
_xscale = 0;
}
}
Instance of Symbol 11 MovieClip in Frame 2
onClipEvent (enterFrame) {
show = _root.p;
_x = (_root.pbar._x + _root.pbar._width);
}
Instance of Symbol 11 MovieClip in Frame 2
onClipEvent (enterFrame) {
show = _root.sp;
_x = (_root.sbar._x + _root.sbar._width);
}
Instance of Symbol 6 MovieClip "gbar" in Frame 2
onClipEvent (enterFrame) {
scale = Math.round(_root.p * 1.8);
if (scale > 100) {
scale = 100;
}
_xscale = scale;
_root.gp = scale;
}
Instance of Symbol 11 MovieClip in Frame 2
onClipEvent (enterFrame) {
show = _root.gp;
_x = (_root.gbar._x + _root.gbar._width);
}
Instance of Symbol 15 MovieClip in Frame 2
onClipEvent (enterFrame) {
show = _root.tloaded;
_x = (_root.tbar._x + _root.tbar._width);
}
Instance of Symbol 16 MovieClip "tbar" in Frame 2
onClipEvent (enterFrame) {
if (_root.t > 0) {
if (!hasinit) {
hasinit = true;
r = _root.getBytesTotal();
t = _root.t;
tsize = r + t;
_root.showsize = ("[" + Math.round(tsize / 1000)) + "k]";
l0 = r / tsize;
l1 = t / tsize;
}
_xscale = Math.round((_root.sp * l1) + (_root.p * l0));
_root.tloaded = Math.round((_root.sp * l1) + (_root.p * l0));
if (_root.tloaded == 100) {
_root.loadok = true;
timer++;
if (timer == 2) {
_root.gotoAndStop("flecko");
}
}
} else {
_xscale = 0;
}
}
Instance of Symbol 20 MovieClip "mmanager" in Frame 2
onClipEvent (load) {
function fade(vol) {
vt = vol;
}
function setvol(vol) {
vt = (volume = vol);
}
hasloaded = true;
volume = (vt = 100);
song = "splitmek";
}
onClipEvent (enterFrame) {
if (_root.usemusic) {
if (Math.abs(volume - vt) < 5) {
volume = vt;
} else if (volume > vt) {
volume = volume - 5;
} else if (volume < vt) {
volume = volume + 5;
}
} else {
volume = 0;
}
if (_root.songname == "splitmek") {
_root.splitmek1.setVolume(volume);
_root.splitmek2.setVolume(volume);
_root.splitmek3.setVolume(volume);
_root.splitmek4.setVolume(volume);
} else if (_root.songname == "monks") {
_root.monks1.setVolume(volume);
_root.monks2.setVolume(volume);
_root.monks3.setVolume(volume);
_root.monks4.setVolume(volume);
_root.monks5.setVolume(volume);
_root.monks6.setVolume(volume);
} else if (_root.songname == "lookdown") {
_root.lookdown1.setVolume(volume);
_root.lookdown2.setVolume(volume);
_root.lookdown3.setVolume(volume);
_root.lookdown4.setVolume(volume);
_root.lookdown5.setVolume(volume);
_root.lookdown6.setVolume(volume);
}
if (_root._currentframe == 3) {
timer++;
if (timer == 2) {
_root.initmusic();
}
}
}
Frame 3
function clearstats() {
numkilled = 0;
shotsfired = 0;
enemies_hit = 0;
activeguys = 0;
activeen = 0;
score = 0;
totaltime = 0;
kstring = 0;
maxstring = 0;
hmndeaths = 0;
gtime = "";
adisp = 0;
rating = 0;
}
function setsong(song_ref, init_loops, mysongname) {
csong.stop();
song_ref.start(0, init_loops);
csong = song_ref;
cloops = init_loops;
songname = mysongname;
trace("SET SONG " + mysongname);
}
function getsong() {
csong.start(0, cloops);
}
function getname(i) {
var _local1 = i;
if (_local1 == 16) {
kst = "Shift";
} else if (_local1 == 37) {
kst = "Left";
} else if (_local1 == 38) {
kst = "Up";
} else if (_local1 == 39) {
kst = "Right";
} else if (_local1 == 40) {
kst = "Down";
} else if (_local1 == 13) {
kst = "Enter";
} else if (_local1 == 32) {
kst = "Space";
} else if (_local1 == 33) {
kst = "PageUp";
} else if (_local1 == 34) {
kst = "PageDn";
} else if (_local1 == 35) {
kst = "End";
} else if (_local1 == 36) {
kst = "Home";
} else if (_local1 == 45) {
kst = "Insert";
} else if (_local1 == 46) {
kst = "Delete";
} else if (_local1 == 8) {
kst = "Backspc";
} else if (_local1 == 17) {
kst = "Ctrl";
} else {
kst = String.fromCharCode(_local1);
}
return(kst);
}
function eog() {
shutter.removeMovieClip();
gotoAndStop ("stats");
}
function mtest(type) {
var _local1 = type;
return(((_local1 > 10) && (_local1 < 14)) || ((_local1 > 24) && (_local1 != 28)));
}
function makecollider(x, y, type) {
level++;
duplicateMovieClip (collider, "col" + level, level);
col = eval ("col" + level);
col._x = x;
col._y = y;
col.type = type;
col.gen = false;
}
function setcostume(setname) {
_root.cset = setname;
}
function setceil(iceil, iisceil) {
ceil = iceil;
isceil = iisceil;
}
function setwalls(imin, iminwall, imax, imaxwall) {
min = imin;
minwall = iminwall;
max = imax;
maxwall = imaxwall;
player._x = minwall + 30;
player.f = 1;
}
function clearpickups() {
trace("CLEAR PICKUPS");
i = pickups.length - 1;
while (i >= 0) {
trace(" CP " + i);
pickups[i].remove();
i--;
}
}
function sethud(message) {
hud = (("-" + message) + newline) + hud;
hud = hud.substr(0, 400);
}
function setai(aiswitch) {
ai = aiswitch;
}
function setbg(bgnum) {
bg.gotoAndStop(bgnum);
}
function setground(groundpos) {
ground = groundpos;
}
function dopause() {
pause = true;
}
function unpause(sc) {
pause = false;
if (!sc) {
getsong();
}
}
function ret() {
gotoAndStop ("menu");
}
function bloodspray(x, y) {
z = 0;
while (z < (_root.detail * 4)) {
level++;
duplicateMovieClip (spray, "spray" + level, level);
sp = eval ("spray" + level);
sp._x = (x - 10) + (Math.random() * 20);
sp._y = (y - 10) + (Math.random() * 20);
sp._rotation = Math.random() * 360;
if (Math.random() < 0.5) {
sp.gotoAndPlay("m1");
} else {
sp.gotoAndPlay("m2");
}
z++;
}
}
function explode(x, y) {
trace("caller " + _name);
trace((("call ex " + x) + ",") + y);
trace("ex source=" + explosion._name);
level++;
duplicateMovieClip (explosion, "ex" + level, level);
exp = eval ("ex" + level);
trace("ex dup=" + exp._name);
exp._x = x;
exp._y = y;
exp.gen = false;
if (runspeed == 1) {
ex.start();
} else {
lowexp.start();
}
didgib = false;
i = 0;
while (i < targets.length) {
t = targets[i];
if (!t.nonplayer) {
xd = t._x - x;
yd = t._y - y;
d = Math.sqrt((xd * xd) + (yd * yd));
if (d < 200) {
ud = 200 - d;
t.health = t.health - (ud / 25);
if (t._x > x) {
k = 1;
} else {
k = -1;
}
xfc = (k * ud) / 5;
yfc = (-ud) / 10;
if (t.usejetpack) {
t.jxv = t.jxv + xfc;
t.jyv = t.jyv + yfc;
}
t.force = xfc;
t.yforce = yfc;
t.head.force = (((-k) * t.f) * ud) / 5;
t.body.force = ((k * t.f) * ud) / 5;
if (t.health < 0) {
t.dying = 1;
t.rspeed = k;
if (d < 150) {
didgib = true;
if (xd > 0) {
xv = (150 - xd) / 6;
} else {
xv = (-150 - xd) / 6;
}
_root.level++;
duplicateMovieClip (_root.bodygib, "gib" + _root.level, _root.level);
gib = eval ("_root.gib" + _root.level);
gib.gen = false;
gib._x = t._x;
gib._y = t._y;
gib._xscale = t._xscale;
gib.xv = xv;
if (((t.f == -1) && (x > t._x)) || ((t.f == 1) && (x < t._x))) {
gib.gotoAndStop(2);
}
gib.id = giblets.length;
giblets[giblets.length] = gib;
_root.level++;
duplicateMovieClip (_root.headgib, "gib" + _root.level, _root.level);
gib = eval ("_root.gib" + _root.level);
gib._x = t._x;
gib._y = t._y - 55;
gib._xscale = t._xscale;
gib._rotation = 0;
gib.xv = xv;
gib.yv = (-(150 - yd)) / 12;
gib.rv = ((Math.random() * 2) * gib.yv) - gib.yv;
gib.gen = false;
if (((t.f == -1) && (x > t._x)) || ((t.f == 1) && (x < t._x))) {
gib.gotoAndStop(2);
}
gib.id = giblets.length;
giblets[giblets.length] = gib;
n = 0;
while (n < (_root.detail * 3)) {
_root.level++;
duplicateMovieClip (_root.chunk, "chunk" + _root.level, _root.level);
ch = eval ("_root.chunk" + _root.level);
ch._x = (t._x - 10) + (Math.random() * 20);
ch._y = (t._y - 10) - (Math.random() * 60);
ch.xv = -10 + (Math.random() * 10);
ch.yv = (-Math.random()) * 10;
ch.rv = (Math.random() * 14) - 7;
ch.gen = false;
n++;
}
bloodspray(t._x, t._y - 40);
t.hand.txc = xv * t.hand.fdir;
t.hand.tyc = (yd - 40) / 4;
t.hand.hv = d / 4;
if (t.guntype > 1) {
t.hand.dropgun();
}
t.remove();
t.esc();
i--;
}
}
}
}
i++;
}
i = 0;
while (i < giblets.length) {
g = giblets[i];
xd = g._x - x;
yd = g._y - y;
d = Math.sqrt((xd * xd) + (yd * yd));
if (d < 100) {
n = 0;
while (n < (_root.detail * 3)) {
_root.level++;
duplicateMovieClip (_root.chunk, "chunk" + _root.level, _root.level);
ch = eval ("_root.chunk" + _root.level);
ch._x = (g._x - 10) + (Math.random() * 20);
ch._y = (g._y - 10) - (Math.random() * 60);
ch.xv = -10 + (Math.random() * 10);
ch.yv = (-Math.random()) * 10;
ch.rv = (Math.random() * 14) - 7;
ch.gen = false;
n++;
}
bloodspray(g._x, g._y - 40);
g.remove();
}
i++;
}
}
function givebtr(amt) {
btr = btr + (amt * 0.7);
obj = btrbar.bar;
ct = obj.trans.ra + (amt * 10);
obj.trans.ra = (obj.trans.ga = (obj.trans.ba = ct));
}
function newmenu(x, y, w, h, headertext, list) {
mid = menus.length;
menus[mid] = new Array();
sto = menus[mid];
by = y + 20;
divheight = h - 40;
divlist = 0;
i = 0;
while (i < list.length) {
if (list[i][0] == 3) {
divheight = divheight - list[i][3]._height;
} else {
divlist++;
}
i++;
}
divsize = divheight / divlist;
sbuffer = divsize * 0.1;
sscale = divsize * 0.8;
ux = x + 10;
uy = y + 10;
uw = w - 20;
uh = h - 20;
tw = headertext.length * 8.5;
pxs = new Array(ux, ux + uw, ux + uw, ux);
pys = new Array(uy, uy, uy + uh, uy + uh);
i = 0;
while (i < 4) {
level++;
duplicateMovieClip (mcorner, "corner" + level, level);
uc = eval ("_root.corner" + level);
uc._x = pxs[i];
uc._y = pys[i];
uc._rotation = i * 90;
sto[sto.length] = uc;
if (i > 0) {
level++;
duplicateMovieClip (mline, "line" + level, level);
ul = eval ("line" + level);
ul._x = pxs[i];
ul._y = pys[i];
ul._rotation = i * 90;
if (i == 2) {
ul._xscale = uw;
} else {
ul._xscale = uh;
}
sto[sto.length] = ul;
}
i++;
}
i = 0;
while (i < 2) {
level++;
duplicateMovieClip (mend, "mend" + level, level);
ue = eval ("mend" + level);
ue._y = uy;
if (i == 0) {
ue._x = ux + 10;
} else {
ue._x = (ux + tw) + 22;
}
sto[sto.length] = ue;
level++;
duplicateMovieClip (mline, "mline" + level, level);
uhl = eval ("mline" + level);
uhl._y = uy;
if (i == 0) {
uhl._x = ux;
uhl._xscale = 10;
} else {
uhl._x = (ux + tw) + 24;
uhl._xscale = (uw - 24) - tw;
}
sto[sto.length] = uhl;
i++;
}
level++;
duplicateMovieClip (mtbox, "tb" + level, level);
tb = eval ("tb" + level);
tb._x = ux + 12;
tb._y = uy;
tb._xscale = tw + 10;
sto[sto.length] = tb;
level++;
duplicateMovieClip (mhtext, "text" + level, level);
uht = eval ("text" + level);
uht._x = ux + 17;
uht._y = uy;
uht.disp = headertext;
sto[sto.length] = uht;
level++;
duplicateMovieClip (mfill, "fill" + level, level);
uf = eval ("fill" + level);
uf._xscale = uw - 20;
uf._yscale = uh - 20;
uf._x = ux + 10;
uf._y = uy + 10;
sto[sto.length] = uf;
i = 0;
while (i < list.length) {
ltype = list[i][0];
if (ltype == 3) {
topspace = 10 * (i != 0);
botspace = 10 * (i != (list.length - 1));
level++;
duplicateMovieClip (list[i][3], "mobj" + level, level);
mo = eval ("mobj" + level);
mo._x = ux + 10;
mo._y = by + topspace;
by = by + ((mo._height + botspace) + topspace);
sto[sto.length] = mo;
} else {
wx = ux + 10;
level++;
duplicateMovieClip (mbg, "bg" + level, level);
ubg = eval ("bg" + level);
ubg._xscale = uw - 20;
ubg._yscale = divsize;
ubg._x = wx;
ubg._y = by;
sto[sto.length] = ubg;
if (ltype == 2) {
level++;
duplicateMovieClip (selmaster, "sel" + level, level);
sm = eval ("sel" + level);
sm._x = ((wx + uw) - (2 * sm._width)) - sbuffer;
sm.slist = list[i][3];
sm.setvar = list[i][4];
sm.areawidth = (uw - 40) - (2 * sbuffer);
level++;
duplicateMovieClip (mhtext, "txt" + level, level);
tx = eval ("txt" + level);
tx._x = wx + sbuffer;
tx.disp = list[i][2];
tx._y = (by + tx._height) + ((divsize - (tx._height + sm._height)) / 2);
sm._y = tx._y;
sto[sto.length] = sm;
sto[sto.length] = tx;
}
if (ltype == 1) {
level++;
duplicateMovieClip (mswitch, "switch" + level, level);
sw = eval ("switch" + level);
sw._x = ((wx + uw) - (2 * sw._width)) - sbuffer;
sw._y = by + (divsize / 2);
sw.myvar = list[i][3];
sto[sto.length] = sw;
}
wx = wx + sbuffer;
if (ltype == 0) {
level++;
duplicateMovieClip (mimg, "img" + level, level);
uim = eval ("img" + level);
uim._xscale = (uim._yscale = 0.8 * ubg._yscale);
uim._x = wx;
uim._y = by + sbuffer;
wx = wx + (sbuffer + sscale);
uim.gotoAndStop(list[i][1] + 1);
sto[sto.length] = uim;
}
if (ltype < 2) {
level++;
duplicateMovieClip (mhtext, "text" + level, level);
utx = eval ("text" + level);
utx._x = wx;
utx._y = by + ((divsize + utx._height) / 2);
utx.disp = list[i][2];
sto[sto.length] = utx;
}
if (ltype == 0) {
level++;
duplicateMovieClip (mbu, "bu" + level, level);
ubu = eval ("bu" + level);
ubu._xscale = uw - 20;
ubu._yscale = divsize;
ubu._x = ux + 10;
ubu._y = by;
ubu.bg = eval ("_root." + ubg._name);
ubu.ax = list[i][3];
sto[sto.length] = ubu;
}
by = by + divsize;
}
i++;
}
}
function fademenu(id, alpha) {
var _local1 = id;
var _local2 = alpha;
i = 0;
while (i < menus[_local1].length) {
el = menus[_local1][i];
el.alphat = _local2;
if (_local2 < 100) {
el.lock = true;
} else {
el.lock = false;
}
i++;
}
}
function killmenu(id) {
var _local1 = id;
i = 0;
while (i < menus[_local1].length) {
cm = menus[_local1][i];
if (cm.immune) {
cm._visible = false;
} else {
cm.unl();
cm.removeMovieClip();
}
i++;
}
menus.splice(_local1, 1);
}
function initmusic() {
lookdown1 = _level1.cmusic.lookdown1;
lookdown2 = _level1.cmusic.lookdown2;
lookdown3 = _level1.cmusic.lookdown3;
lookdown4 = _level1.cmusic.lookdown4;
lookdown5 = _level1.cmusic.lookdown5;
lookdown6 = _level1.cmusic.lookdown6;
lookdown1.onSoundComplete = function () {
lookdown2.start(0, 3);
};
lookdown2.onSoundComplete = function () {
lookdown3.start();
};
lookdown3.onSoundComplete = function () {
lookdown4.start(0, 2);
};
lookdown4.onSoundComplete = function () {
lookdown5.start(0, 2);
};
lookdown5.onSoundComplete = function () {
lookdown6.start(0, 2);
};
lookdown6.onSoundComplete = function () {
lookdown4.start(0, 2);
};
splitmek1 = _level1.cmusic.splitmek1;
splitmek2 = _level1.cmusic.splitmek2;
splitmek3 = _level1.cmusic.splitmek3;
splitmek4 = _level1.cmusic.splitmek4;
splitmek1.onSoundComplete = function () {
splitmek2.start(0, 2);
};
splitmek2.onSoundComplete = function () {
splitmek3.start();
};
splitmek3.onSoundComplete = function () {
splitmek4.start(0, 10000);
};
monks1 = _level1.cmusic.monks1;
monks2 = _level1.cmusic.monks2;
monks3 = _level1.cmusic.monks3;
monks4 = _level1.cmusic.monks4;
monks5 = _level1.cmusic.monks5;
monks6 = _level1.cmusic.monks6;
monks1.onSoundComplete = function () {
monks2.start(0, 3);
};
monks2.onSoundComplete = function () {
monks3.start();
};
monks3.onSoundComplete = function () {
monks4.start(0, 2);
};
monks4.onSoundComplete = function () {
monks5.start();
};
monks5.onSoundComplete = function () {
monks6.start();
};
monks6.onSoundComplete = function () {
monks1.start();
};
setsong(splitmek1, 4, "splitmek");
}
stop();
text = new Array(1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0);
width = 600;
height = 400;
usemusic = true;
bloodlist = new Array();
flashlist = new Array();
image = new Array();
menus = new Array();
Instance of Symbol 25 MovieClip in Frame 3
onClipEvent (load) {
width = 38;
height = 5;
buffer = 2;
xoffset = (_root.width - (width * (_width + buffer))) / 2;
yoffset = (_root.height - (height * (_height + buffer))) / 2;
ytime = height * (_width + buffer);
timer = 100;
if (gen != false) {
i = 0;
while (i < width) {
_root.level++;
duplicateMovieClip (this, "px" + _root.level, _root.level);
p = eval ("_root.px" + _root.level);
p.bx = xoffset + (i * (_width + buffer));
p.by = -p._width;
p.col = i;
p.gen = false;
p.drop = true;
p.delay = Math.random() * 30;
i++;
}
} else if (!drop) {
show = _root.text[(row * width) + col];
if (Math.random() < 0.5) {
yd = 0;
xd = -1 + (Math.round(Math.random()) * 2);
} else {
xd = 0;
yd = -1 + (Math.round(Math.random()) * 2);
}
}
}
onClipEvent (enterFrame) {
if (_root.enditall) {
removeMovieClip(this);
}
xd = _root._xmouse - bx;
yd = _root._ymouse - by;
d = Math.sqrt((xd * xd) + (yd * yd));
if (d < 50) {
xp = (((-xd) / d) * Math.sqrt(50 - d)) * 2;
yp = (((-yd) / d) * Math.sqrt(50 - d)) * 2;
} else {
xp = (yp = 0);
}
xt = bx + xp;
yt = by + yp;
_x = (_x + ((xt - _x) / 3));
_y = (_y + ((yt - _y) / 3));
delay--;
if ((!gen) && (delay < 0)) {
if (drop) {
by = by + (_height + buffer);
if (by < yoffset) {
_alpha = ((100 + by) - yoffset);
} else if (by > (yoffset + ytime)) {
_alpha = (100 - Math.abs((by - yoffset) + ytime));
if (Math.abs(_alpha) < 1) {
removeMovieClip(this);
}
} else {
row++;
_root.level++;
duplicateMovieClip (this, "px" + _root.level, _root.level);
p = eval ("_root.px" + _root.level);
p.row = row - 1;
p.col = col;
p.gen = false;
p.bx = bx;
p.by = by;
}
_y = by;
} else if (show) {
timer--;
if (timer < 0) {
prevFrame();
_alpha = (_alpha - 10);
if (_alpha < 0) {
removeMovieClip(this);
}
}
} else {
_alpha = (_alpha - 10);
if (_alpha < 0) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 27 MovieClip in Frame 3
onClipEvent (enterFrame) {
timer++;
if (timer > 200) {
_root.play();
}
}
onClipEvent (mouseDown) {
_root.enditall = true;
timer = 198;
}
Frame 4
ki = new Array();
ki.right = 0;
ki.left = 1;
ki.jump = 2;
ki.throw = 3;
ki.bullettime = 4;
ki.pause = 5;
ki.quit = 6;
ki.switch = 7;
ki.use = 8;
ki.down = 9;
ki.newguy = 10;
keys = new Array(68, 65, 87, 70, 81, 80, 13, 69, 16, 83, 32);
street = new Array(new Array(1, 3, 4, 5), new Array(1, 1, 2), new Array(1, 2, 3), new Array(1));
old = new Array(new Array(1, 6, 8), new Array(1, 3, 5), new Array(1, 1, 3), new Array(1));
ninja = new Array(new Array(1), new Array(1, 1, 4), new Array(1, 1, 5), new Array(4, 4));
crazy = new Array(new Array(1, 5, 6, 7), new Array(1, 2, 3, 4, 5), new Array(1, 3, 6), new Array(1));
smiths = new Array(new Array(1, 9), new Array(1, 2, 6), new Array(1, 1, 2), new Array(2, 2));
jesusc = new Array(new Array(10, 10), new Array(1), new Array(2, 2), new Array(1));
sheriffc = new Array(new Array(2, 2), new Array(1), new Array(1), new Array(1));
hat = (glasses = (beard = (suit = 1)));
shatter1 = _level1.shatter1;
shatter2 = _level1.shatter2;
lowshatter1 = _level1.lowshatter1;
lowshatter2 = _level1.lowshatter2;
pistol = _level1.pistol;
lowpistol = _level1.lowpistol;
deagle = _level1.deagle;
lowde = _level1.lowde;
shotgun = _level1.shotgun;
lowshotgun = _level1.lowshotgun;
uzi = _level1.uzi;
lowuzi = _level1.lowuzi;
m = _level1.m;
lowm16 = _level1.lowm16;
m60 = _level1.m60;
lowm60 = _level1.lowm60;
mach = _level1.mach;
lowmach = _level1.lowmach;
c = _level1.cc.c;
lowc = _level1.cc.lowc;
s = _level1.csmg.s;
lowsmg = _level1.csmg.lowsmg;
sil = _level1.sil;
lowsilenced = _level1.lowsilenced;
ak = _level1.cak.ak;
siaga = _level1.siaga;
lowak = _level1.cak.lowak;
lownopump = _level1.lownopump;
steyr = _level1.steyr;
lowsteyr = _level1.lowsteyr;
l85 = _level1.cl85.l85;
lowl85 = _level1.cl85.lowl85;
ump = _level1.cump.ump;
lowump = _level1.cump.lowump;
cgs = _level1.cmini.cgs;
lowmini = _level1.cmini.lowmini;
mag = _level1.cmag.mag;
lowmag = _level1.cmag.lowmag;
cgse = _level1.cgse;
empty = _level1.empty;
lowempty = _level1.lowempty;
knife = _level1.knife;
gl = _level1.gl;
lowgl = _level1.lowgl;
ex = _level1.ex;
lowexp = _level1.lowexp;
shell1 = _level1.shell1;
lowshell = _level1.lowshell;
fall1 = _level1.fall1;
fall2 = _level1.fall2;
fall3 = _level1.fall3;
lowfall1 = _level1.lowfall1;
lowfall2 = _level1.lowfall2;
lowfall3 = _level1.lowfall3;
punch1 = _level1.punch1;
punch2 = _level1.punch2;
punch3 = _level1.punch3;
lowpunch1 = _level1.lowpunch1;
lowpunch2 = _level1.lowpunch2;
lowpunch3 = _level1.lowpunch3;
intobt = _level1.intobt;
outofbt = _level1.outofbt;
heartbeat = _level1.cheart.heartbeat;
oversound = _level1.oversound;
oksound = _level1.oksound;
rk = _level1.rocket;
lowrk = _level1.lowrocket;
Frame 5
matrix = (zombie = (knifing = (experiment = (tutorial = (lasermode = (maingame = false))))));
runspeed = 1;
invincibility = false;
ai = true;
clearstats();
Mouse.show();
if (multiload) {
stopAllSounds();
setsong(splitmek1, 4, "splitmek");
} else {
multiload = true;
}
qlist = new Array(new Array("Low", "LOW"), new Array("Medium", "MEDIUM"), new Array("High", "HIGH"), new Array("Best", "BEST"));
dlist = new Array(new Array("Low", 0), new Array("Medium", 1), new Array("High", 2), new Array("Ultra", 3));
hatslist = new Array(new Array("None", 1), new Array("Sheriff Hat", 2), new Array("Swat Army", 3), new Array("Leather Helmet", 4), new Array("Atsumori Hair", 5), new Array("Valdor Hair", 6), new Array("Tricky Hair", 7), new Array("Captain's Hat", 8), new Array("Agent Smith", 9), new Array("Apotheosis Jebus", 10), new Array("Hank's Bandages", 11), new Array("Enigma's Hair", 12));
glasseslist = new Array(new Array("None", 1), new Array("Sun Glasses", 2), new Array("Geek Glasses", 3), new Array("Night Vision", 4), new Array("Captain Eyepatch", 5), new Array("Agent Smith", 6), new Array("Pimp Shades", 7), new Array("Jebus Shades", 8), new Array("Intelligent Glasses", 9), new Array("Grandma's Glasses", 10));
beardslist = new Array(new Array("None", 1), new Array("Jebus's Goatee", 2), new Array("Santy Clause", 3), new Array("Clown Makeup", 4), new Array("Zombiefied", 5), new Array("Gas Mask", 6), new Array("Fire Mask", 7), new Array("Hockey Mask", 8));
suitslist = new Array(new Array("None", 1), new Array("Agent Smith", 2), new Array("Swat Army Camo", 3), new Array("Trench Coat", 4), new Array("Hank's Bandages", 5), new Array("Zombiefied", 6));
main = new Array(new Array(0, 0, "Story Mode", 0), new Array(0, 1, "Secret Shutdown", 1), new Array(0, 3, "Tourament Mode", 3), new Array(0, 4, "Experiment Mode", 4), new Array(0, 2, "Options Mode", 2), new Array(0, 17, "Credits Mode", 19), new Array(0, 21, "High scores", 25));
options = new Array(new Array(0, 5, "Control Station", 5), new Array(0, 6, "Game Settings", 6), new Array(0, 10, "Characters", 10), new Array(0, 7, "Hacking/Coding", 7), new Array(0, 8, "Exit to Menu", 8));
controls = new Array(new Array(3, 0, 0, _root.keytest), new Array(0, 8, "Exit to Menu", 9));
display = new Array(new Array(2, 0, "Quality:", qlist, "_quality"), new Array(2, 0, "Vision:", dlist, "detail"), new Array(1, 0, "Music", "usemusic"), new Array(0, 8, "Exit to Menu", 9));
character = new Array(new Array(3, 0, 0, _root.costumeblock), new Array(2, 0, "Head Protection:", hatslist, "hat"), new Array(2, 0, "Eye Protection:", glasseslist, "glasses"), new Array(2, 0, "Face Protection:", beardslist, "beard"), new Array(2, 0, "Body Protection:", suitslist, "suit"), new Array(0, 8, "Exit to Menu", 9));
cheater = new Array(new Array(3, 0, 0, _root.cheatmenu), new Array(0, 12, "Reset all cheats", 26), new Array(0, 8, "Close", 9));
challenges = new Array(new Array(0, 11, "The Matrix Mode", 12), new Array(0, 15, "The Zombies Mode", 16), new Array(0, 10, "The Blading Mode", 17), new Array(0, 16, "The Lasers Mode", 18), new Array(0, 8, "Exit to Menu", 8));
expausemenu = new Array(new Array(1, 0, "Enemy AI", "ai"), new Array(1, 0, "Autospawn", "autospawn"), new Array(1, 0, "Invincibility", "invincibility"), new Array(0, 8, "Resume", 11));
regpausemenu = new Array(new Array(0, 8, "Resume", 11));
endchallenge = new Array(new Array(3, 0, 0, _root.statwin), new Array(0, 13, "Back", 14));
endchallengescore = new Array(new Array(3, 0, 0, _root.scorestatwin), new Array(0, 13, "Back", 14));
endtimechallenge = new Array(new Array(3, 0, 0, _root.endtimewin), new Array(0, 13, "Back", 14));
expinfomenu = new Array(new Array(3, 0, 0, _root.expinfo), new Array(0, 8, "Close", 11));
creditmenu = new Array(new Array(3, 0, 0, _root.credits), new Array(0, 8, "Close", 9));
infomenu = new Array(new Array(0, 17, "Credits", 20), new Array(0, 18, "Flecko.net", 21), new Array(0, 19, "mModule", 22), new Array(0, 9, "Liquid Fire", 23), new Array(0, 20, "Buy T-Shirts", 24), new Array(0, 8, "Exit to Menu", 8));
stop();
newmenu(20, 20, 230, 360, "Main Menu", main);
Instance of Symbol 50 MovieClip "mline" in Frame 5
onClipEvent (load) {
alphat = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha + ((alphat - _alpha) / 3));
}
Instance of Symbol 52 MovieClip "mcorner" in Frame 5
onClipEvent (load) {
alphat = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha + ((alphat - _alpha) / 3));
}
Instance of Symbol 53 MovieClip "mend" in Frame 5
onClipEvent (load) {
alphat = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha + ((alphat - _alpha) / 3));
}
Instance of Symbol 55 MovieClip "mtbox" in Frame 5
onClipEvent (load) {
alphat = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha + ((alphat - _alpha) / 3));
}
Instance of Symbol 57 MovieClip "mbg" in Frame 5
onClipEvent (load) {
alphat = 100;
}
onClipEvent (enterFrame) {
if (lock) {
gotoAndStop (1);
}
_alpha = (_alpha + ((alphat - _alpha) / 3));
}
Instance of Symbol 59 MovieClip "mhtext" in Frame 5
onClipEvent (load) {
alphat = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha + ((alphat - _alpha) / 3));
}
Instance of Symbol 99 MovieClip "mimg" in Frame 5
onClipEvent (load) {
stop();
alphat = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha + ((alphat - _alpha) / 3));
}
Instance of Symbol 130 MovieClip "keytest" in Frame 5
onClipEvent (load) {
immune = true;
n = 0;
while (n < 10) {
this["k" + n] = _root.getname(_root.keys[n]);
n++;
}
}
onClipEvent (enterFrame) {
if (keylock) {
x = 2;
while (x < 128) {
if (Key.isDown(x)) {
_root.keys[id] = x;
this["k" + id] = _root.getname(x);
keylock = false;
break;
}
x++;
}
}
}
Instance of Symbol 134 MovieClip "mswitch" in Frame 5
onClipEvent (load) {
if (_root[myvar]) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 138 MovieClip "selmaster" in Frame 5
onClipEvent (load) {
function getdisp(val) {
var _local1 = val;
i = 0;
while (i < slist.length) {
if (slist[i][1] == _local1) {
return(slist[i][0]);
}
i++;
}
return(undefined);
}
function showval() {
collapse();
i = 0;
while (i < 2) {
_root.level++;
duplicateMovieClip (_root.msline, "line" + _root.level, _root.level);
cl = eval ("_root.line" + _root.level);
cl._xscale = areawidth;
cl._x = (_x - cl._width) + 2;
cl._y = _y + (i * (_height - 2));
elements[elements.length] = cl;
i++;
}
_root.level++;
duplicateMovieClip (_root.msline, "line" + _root.level, _root.level);
sl = eval ("_root.line" + _root.level);
sl._xscale = _height;
sl._x = _x - (areawidth - 4);
sl._y = _y;
sl._rotation = 90;
elements[elements.length] = sl;
_root.level++;
duplicateMovieClip (_root.selarea, "area" + _root.level, _root.level);
ca = eval ("_root.area" + _root.level);
ca._xscale = areawidth - 4;
ca._yscale = _height - 4;
ca._x = _x - ca._width;
ca._y = _y + 2;
elements[elements.length] = ca;
_root.level++;
duplicateMovieClip (_root.mhtext, "mht" + _root.level, _root.level);
ct = eval ("_root.mht" + _root.level);
ct._x = (_x - areawidth) + 4;
ct._y = (_y + ct._height) + ((_height - ct._height) / 2);
ct.disp = getdisp(_root[setvar]);
elements[elements.length] = ct;
gotoAndStop (1);
}
function showlist() {
collapse();
i = 0;
while (i < 2) {
_root.level++;
duplicateMovieClip (_root.msline, "line" + _root.level, _root.level);
l = eval ("_root.line" + _root.level);
l._x = (_x + 2) - (i * (areawidth - 2));
l._y = _y;
l._xscale = ((_height - 2) * slist.length) + 2;
l._rotation = 90;
elements[elements.length] = l;
i++;
}
bx = (_x - areawidth) + 2;
bsc = areawidth - 4;
i = 0;
while (i < (slist.length + 1)) {
by = _y + (i * (_height - 2));
_root.level++;
duplicateMovieClip (_root.msline, "line" + _root.level, _root.level);
ml = eval ("_root.line" + _root.level);
ml._xscale = bsc;
ml._x = bx + 2;
ml._y = by;
elements[elements.length] = ml;
if (i != slist.length) {
_root.level++;
duplicateMovieClip (_root.selarea, "area" + _root.level, _root.level);
sa = eval ("_root.area" + _root.level);
sa._xscale = areawidth - 4;
sa._yscale = _height - 4;
sa._x = _x - sa._width;
sa._y = by + 2;
elements[elements.length] = sa;
_root.level++;
duplicateMovieClip (_root.mhtext, "mht" + _root.level, _root.level);
mh = eval ("_root.mht" + _root.level);
mh._x = bx + 2;
mh._y = (by + mh._height) + ((_height - mh._height) / 2);
mh.disp = slist[i][0];
mh.istext = true;
elements[elements.length] = mh;
_root.level++;
duplicateMovieClip (_root.sbu, "sbu" + _root.level, _root.level);
sb = eval ("_root.sbu" + _root.level);
sb._xscale = bsc;
sb._yscale = _height - 2;
sb._x = bx;
sb._y = by + 2;
sb.bg = sa;
sb.setvar = setvar;
sb.setval = slist[i][1];
sb.master = this;
elements[elements.length] = sb;
}
i++;
}
gotoAndStop (2);
}
function collapse() {
i = 0;
while (i < elements.length) {
elements[i].removeMovieClip();
i++;
}
elements.splice(0, elements.length);
}
function unl() {
collapse();
}
alphat = 100;
elements = new Array();
showval();
}
onClipEvent (enterFrame) {
if (rebuild) {
rebuild = false;
showval();
}
immune = false;
_alpha = (_alpha + ((alphat - _alpha) / 3));
}
onClipEvent (mouseDown) {
if (_currentframe == 2) {
hit = false;
i = 0;
while (i < elements.length) {
el = elements[i];
if ((el.istext != true) && (el.hitTest(_root._xmouse, _root._ymouse, true))) {
hit = true;
}
i++;
}
if (hit == false) {
showval();
}
}
}
Instance of Symbol 141 MovieClip "msline" in Frame 5
onClipEvent (load) {
alphat = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha + ((alphat - _alpha) / 3));
}
Instance of Symbol 143 MovieClip "selarea" in Frame 5
onClipEvent (load) {
alphat = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha + ((alphat - _alpha) / 3));
}
Frame 6
stop();
gameframe = _currentframe;
pause = false;
if (!_root.maingame) {
stopAllSounds();
}
if (!_root.experiment) {
Mouse.hide();
}
width = 600;
height = 400;
ground = 385;
min = 0;
max = width;
minwall = (maxwall = false);
ammo = new Array(0, 20, 8, 45, 30, 40, 12, 40, 60, 20, 0, 0, 0, 35, 24, 40, 35, 35, 1000, 7, 7, 200, 25, 520, 0, 0, 0, 8);
btypes = new Array(0, 0, 1, 3, 2, 4, 2, 5, 4, 2, 1, 0, 0, 0, 4, 3, 4, 4, 2, 0, 7, 6, 0, 5, 0, 0, 0, 0, 8);
pickups = new Array();
targets = new Array();
giblets = new Array();
hud = "";
numguns = 25;
runspeed = 1;
jump = 1;
aispeed = 5;
humanspeed = 7;
bulletspeed = 12;
bulletdens = 6;
if (alwaysinvincible) {
invincibility = true;
}
isjesus = false;
if (matrix) {
bulletspeed = 4;
bulletdens = 6;
enemyguns = new Array(1, 2, 3, 7, 18, 23);
} else if (zombie) {
enemyguns = new Array(1, 12, 25);
} else if (knifing) {
timeleft = 1800;
} else if (_root.lasermode) {
timeleft = 0;
} else {
enemyguns = "all";
}
if (highjump) {
jump = jump * 1.5;
}
if (_root.experiment) {
_root.newmenu(145, 40, 310, 320, "Experiment", _root.expinfomenu);
pause = true;
}
clearstats();
Instance of Symbol 274 MovieClip "main1" in Frame 6
onClipEvent (load) {
main = new Array(new Array("_root.mmanager", "fade", "num:0", 0, 0), new Array("_root.shutter", "quickclose", "", 1, 30), new Array("_root.shutter", "open", "", 0, 0), new Array("_root", "stopAllSounds", "", 0, 0), new Array("_root", "setsong", "ref:_root.monks1^num:1^str:monks", 0, 0), new Array("_root.mmanager", "setvol", "num:70", 0, 0), new Array("_root", "setcostume", "ref:_root.street", 0, 0), new Array("_root", "setwalls", "num:0^num:0^num:600^num:0", 0, 0), new Array("_root", "setceil", "num:0^num:0", 0, 0), new Array("_root", "setground", "num:373", 0, 0), new Array("_root", "setbg", "num:2", 1, 10), new Array("_root", "setai", "num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:40^num:-5^num:13", 2, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:40^num:-5^num:11", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:480^num:-5^num:12", 1, 3), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:-5^num:12", 2, 0), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:2", 1, 15), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:11", 2, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:470^num:-5^num:2", 1, 45), new Array("_root.gen", "makeguy", "num:0^num:0^num:40^num:-5^num:2", 1, 45), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:-5^num:12", 1, 45), new Array("_root.gen", "makeguy", "num:0^num:0^num:200^num:-5^num:3", 2, 0), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:2", 1, 3), new Array("_root.gen", "makeguy", "num:0^num:0^num:550^num:-5^num:4", 1, 60), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:2", 1, 3), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:3", 1, 3), new Array("_root.gen", "makeguy", "num:0^num:0^num:200^num:-5^num:2", 2, 0), new Array("", "", "", 1, 60), new Array("_root.shutter", "close", "", 1, 30), new Array("_root", "setbg", "num:3", 0, 0), new Array("_root", "setwalls", "num:0^num:0^num:600^num:0", 0, 0), new Array("_root", "clearpickups", "", 0, 0), new Array("_root.shutter", "open", "", 1, 30), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:3", 1, 15), new Array("_root.gen", "makeguy", "num:0^num:0^num:640^num:300^num:2^num:0^num:1", 1, 30), new Array("_root.gen", "makeguy", "num:0^num:0^num:40^num:-5^num:2", 0, 0), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:4", 2, 0), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:11", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:-5^num:12", 1, 3), new Array("_root.gen", "makeguy", "num:0^num:0^num:480^num:-5^num:7", 1, 3), new Array("_root.gen", "makeguy", "num:0^num:0^num:40^num:-5^num:7", 1, 10), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:4", 2, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:-5^num:12", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:-40^num:300^num:3^num:0^num:1", 1, 30), new Array("_root.gen", "makeguy", "num:0^num:0^num:200^num:-5^num:3", 1, 35), new Array("_root.gen", "makeguy", "num:0^num:0^num:640^num:300^num:7^num:0^num:1", 1, 30), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:7", 1, 35), new Array("_root.gen", "makeguy", "num:0^num:0^num:550^num:-5^num:4", 1, 35), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:3", 2, 0), new Array("", "", "", 1, 60), new Array("_root.shutter", "close", "", 1, 30), new Array("_root", "setbg", "num:4", 0, 0), new Array("_root", "setwalls", "num:0^num:0^num:600^num:0", 0, 0), new Array("_root", "clearpickups", "", 0, 0), new Array("_root.shutter", "open", "", 1, 30), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:3", 1, 3), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:-5^num:2", 1, 3), new Array("_root.gen", "makeguy", "num:0^num:0^num:283^num:300^num:3^num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:640^num:300^num:7^num:0^num:1", 1, 30), new Array("_root.gen", "makeguy", "num:0^num:0^num:200^num:-5^num:11", 1, 35), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:6", 2, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:200^num:-5^num:3", 1, 35), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:4", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:550^num:-5^num:7", 1, 35), new Array("_root.gen", "makeguy", "num:0^num:0^num:-40^num:300^num:7^num:0^num:1", 2, 2), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:7", 1, 35), new Array("_root.gen", "makeguy", "num:0^num:0^num:40^num:-5^num:6", 2, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:640^num:120^num:3^num:0^num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:-40^num:180^num:7^num:0^num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:640^num:240^num:6^num:0^num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:-40^num:300^num:4^num:0^num:1", 2, 1), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:4", 1, 5), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:12", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:-5^num:3", 1, 60), new Array("_root.gen", "makeguy", "num:0^num:0^num:480^num:-5^num:2", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:283^num:300^num:3^num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:40^num:-5^num:7", 2, 0), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:6", 0, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:300^num:-5^num:7", 2, 0), new Array("", "", "", 1, 60), new Array("_root.shutter", "close", "", 1, 30), new Array("_root", "setbg", "num:5", 0, 0), new Array("_root", "setwalls", "num:0^num:0^num:600^num:0", 0, 0), new Array("_root", "setcostume", "ref:_root.old", 0, 0), new Array("_root", "clearpickups", "", 0, 0), new Array("_root.tgun", "makegun", "num:26", 0, 0), new Array("_root.shutter", "open", "", 1, 60), new Array("_root.gen", "makeguy", "num:0^num:0^num:40^num:-5^num:7", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:80^num:-5^num:7", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:-5^num:3", 2, 0), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:5", 1, 15), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:5", 2, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:470^num:-5^num:3", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:-40^num:300^num:3^num:0^num:1", 1, 30), new Array("_root.gen", "makeguy", "num:0^num:0^num:40^num:-5^num:7", 1, 25), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:-5^num:4", 1, 25), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:4", 2, 0), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:6", 1, 3), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:-5^num:5", 1, 15), new Array("_root.gen", "makeguy", "num:0^num:0^num:640^num:200^num:3^num:0^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:40^num:-5^num:7", 1, 20), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:4", 2, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:-40^num:300^num:6^num:0^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:-5^num:12", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:640^num:300^num:7^num:0^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:200^num:-5^num:12", 1, 35), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:6", 1, 35), new Array("_root.gen", "makeguy", "num:0^num:0^num:300^num:-5^num:4", 1, 35), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:5", 2, 0), new Array("_root.scripter", "setscript", "ref:_root.main2.main", 0, 0));
}
Instance of Symbol 274 MovieClip "main2" in Frame 6
onClipEvent (load) {
main = new Array(new Array("", "", "", 1, 60), new Array("_root.shutter", "close", "", 1, 30), new Array("_root", "setground", "num:373", 0, 0), new Array("_root", "setwalls", "num:0^num:0^num:600^num:0", 0, 0), new Array("_root", "setbg", "num:6", 0, 0), new Array("_root", "clearpickups", "", 0, 0), new Array("_root.shutter", "open", "", 1, 30), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:16", 1, 15), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:5", 2, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:300^num:-5^num:7", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:-40^num:300^num:3^num:0^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:350^num:-5^num:7", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:480^num:-5^num:4", 2, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:-5^num:6", 1, 10), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:5", 1, 45), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:4", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:470^num:-5^num:3", 2, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:100^num:-5^num:12", 1, 15), new Array("_root.gen", "makeguy", "num:0^num:0^num:500^num:-5^num:12", 1, 15), new Array("_root.gen", "makeguy", "num:0^num:0^num:200^num:-5^num:12", 1, 15), new Array("_root.gen", "makeguy", "num:0^num:0^num:400^num:-5^num:12", 1, 15), new Array("_root.gen", "makeguy", "num:0^num:0^num:300^num:-5^num:12", 2, 0), new Array("", "", "", 1, 60), new Array("_root.shutter", "close", "", 1, 30), new Array("_root", "setbg", "num:7", 0, 0), new Array("_root", "setwalls", "num:0^num:0^num:520^num:1", 0, 0), new Array("_root", "clearpickups", "", 0, 0), new Array("_root.shutter", "open", "", 1, 30), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:16", 1, 5), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:17", 1, 15), new Array("_root.gen", "makeguy", "num:0^num:0^num:300^num:-5^num:16", 1, 25), new Array("_root.gen", "makeguy", "num:0^num:0^num:350^num:-5^num:7", 1, 35), new Array("_root.gen", "makeguy", "num:0^num:0^num:487^num:321^num:3^num:1", 2, 1), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:17", 1, 15), new Array("_root.gen", "makeguy", "num:0^num:0^num:300^num:-5^num:16", 1, 25), new Array("_root.gen", "makeguy", "num:0^num:0^num:487^num:321^num:3^num:12", 1, 35), new Array("_root.gen", "makeguy", "num:0^num:0^num:-40^num:300^num:6^num:0^num:1", 1, 30), new Array("_root.gen", "makeguy", "num:0^num:0^num:487^num:321^num:3^num:12", 1, 35), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:17", 2, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:487^num:321^num:7^num:1", 1, 10), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:16", 1, 15), new Array("_root.gen", "makeguy", "num:0^num:0^num:300^num:-5^num:7", 1, 15), new Array("_root.gen", "makeguy", "num:0^num:0^num:-40^num:300^num:6^num:0^num:1", 1, 15), new Array("_root.gen", "makeguy", "num:0^num:0^num:487^num:321^num:17^num:1", 2, 0), new Array("", "", "", 1, 60), new Array("_root.shutter", "close", "", 1, 30), new Array("_root", "setbg", "num:8", 0, 0), new Array("_root", "setceil", "num:30^num:1", 0, 0), new Array("_root", "setcostume", "ref:_root.crazy", 0, 0), new Array("_root", "setground", "num:366", 0, 0), new Array("_root", "setwalls", "num:58^num:1^num:600^num:0", 0, 0), new Array("_root", "clearpickups", "", 0, 0), new Array("_root.shutter", "open", "", 1, 30), new Array("_root.gen", "makeguy", "num:0^num:0^num:78^num:333^num:7^num:1", 1, 5), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:14", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:78^num:333^num:6^num:5", 2, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:78^num:333^num:7^num:4", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:78^num:333^num:7^num:3", 1, 10), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:14", 2, 0), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:3", 1, 5), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:2", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:78^num:333^num:6^num:4", 2, 0), new Array("", "", "", 1, 60), new Array("_root.shutter", "close", "", 1, 30), new Array("_root", "setbg", "num:9", 0, 0), new Array("_root", "setground", "num:380", 0, 0), new Array("_root", "setwalls", "num:0^num:0^num:578^num:1", 0, 0), new Array("_root", "clearpickups", "", 0, 0), new Array("_root.shutter", "open", "", 1, 30), new Array("_root.gen", "makeguy", "num:0^num:0^num:576^num:376^num:6^num:1", 1, 5), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:17", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:576^num:376^num:14^num:1", 2, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:576^num:376^num:4^num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:576^num:376^num:5^num:1", 1, 10), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:14", 1, 10), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:17", 1, 10), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:7", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:576^num:376^num:23^num:1", 2, 0), new Array("", "", "", 1, 60), new Array("_root.mmanager", "fade", "num:0", 0, 0), new Array("_root.shutter", "close", "", 1, 30), new Array("_root", "setbg", "num:10", 0, 0), new Array("_root", "setsong", "ref:_root.lookdown1^num:1^str:lookdown", 0, 0), new Array("_root.mmanager", "setvol", "num:80", 0, 0), new Array("_root", "setground", "num:375", 0, 0), new Array("_root", "setwalls", "num:30^num:1^num:575^num:1", 0, 0), new Array("_root", "clearpickups", "", 0, 0), new Array("_root.tgun", "makegun", "num:29^num:122.9^num:267^num:75^num:-90", 0, 0), new Array("_root.tgun", "makegun", "num:31^num:184.5^num:267^num:75^num:-90", 0, 0), new Array("_root.tgun", "makegun", "num:30^num:262.5^num:267^num:75^num:-90", 0, 0), new Array("_root.shutter", "open", "", 1, 30), new Array("_root.gen", "makeguy", "num:0^num:0^num:50^num:375^num:12^num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:560^num:375^num:12^num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:560^num:375^num:25^num:1", 2, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:50^num:375^num:13^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:50^num:375^num:11^num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:560^num:375^num:12^num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:50^num:375^num:12^num:1", 2, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:560^num:375^num:12^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:50^num:375^num:12^num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:560^num:375^num:25^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:560^num:375^num:11^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:560^num:375^num:13^num:1", 2, 0), new Array("_root.scripter", "setscript", "ref:_root.main3.main", 0, 0));
}
Instance of Symbol 274 MovieClip "main3" in Frame 6
onClipEvent (load) {
main = new Array(new Array("", "", "", 1, 60), new Array("_root.shutter", "close", "", 1, 30), new Array("_root", "setbg", "num:11", 0, 0), new Array("_root", "setceil", "num:0^num:0", 0, 0), new Array("_root", "setcostume", "ref:_root.ninja", 0, 0), new Array("_root", "setground", "num:380", 0, 0), new Array("_root", "setwalls", "num:96^num:1^num:600^num:0", 0, 0), new Array("_root", "clearpickups", "", 0, 0), new Array("_root.shutter", "open", "", 1, 30), new Array("_root.gen", "makeguy", "num:0^num:0^num:110^num:321^num:2^num:1", 1, 10), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:3", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:500^num:-5^num:4", 2, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:450^num:-5^num:3", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:510^num:-5^num:7", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:640^num:300^num:6^num:0^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:110^num:321^num:28^num:1", 2, 0), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:7", 1, 10), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:6", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:150^num:-5^num:2", 1, 3), new Array("_root.gen", "makeguy", "num:0^num:0^num:640^num:300^num:6^num:0^num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:110^num:321^num:28^num:16", 1, 10), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:25", 2, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:640^num:200^num:3^num:0^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:110^num:321^num:28^num:1", 0, 0), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:28", 0, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:510^num:-5^num:28", 1, 60), new Array("_root.gen", "makeguy", "num:0^num:0^num:510^num:-5^num:3", 1, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:510^num:-5^num:7", 2, 0), new Array("", "", "", 1, 60), new Array("_root.shutter", "close", "", 1, 30), new Array("_root", "setbg", "num:12", 0, 0), new Array("_root", "setground", "num:370", 0, 0), new Array("_root", "setwalls", "num:0^num:0^num:600^num:0", 0, 0), new Array("_root", "clearpickups", "", 0, 0), new Array("_root.tgun", "makegun", "num:26", 0, 0), new Array("_root.shutter", "open", "", 1, 60), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:2", 1, 2), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:7", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:100^num:-5^num:2", 1, 30), new Array("_root.gen", "makeguy", "num:0^num:0^num:640^num:250^num:6^num:0^num:3", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:50^num:-5^num:23", 2, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:-40^num:300^num:7^num:0^num:1", 1, 5), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:3", 1, 3), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:4", 1, 3), new Array("_root.gen", "makeguy", "num:0^num:0^num:262^num:306^num:3^num:1", 1, 30), new Array("_root.gen", "makeguy", "num:0^num:0^num:-40^num:300^num:23^num:0^num:1", 1, 5), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:1^num:0^num:0^num:1", 1, 30), new Array("_root.gen", "makeguy", "num:0^num:0^num:550^num:-5^num:6", 2, 0), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:1^num:0^num:0^num:1", 1, 3), new Array("_root.gen", "makeguy", "num:0^num:0^num:262^num:306^num:3^num:1", 1, 3), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:4", 1, 45), new Array("_root.gen", "makeguy", "num:0^num:0^num:550^num:-5^num:6", 1, 45), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:4", 1, 45), new Array("_root.gen", "makeguy", "num:0^num:0^num:262^num:306^num:3^num:1", 1, 45), new Array("_root.gen", "makeguy", "num:0^num:0^num:-40^num:250^num:2^num:0^num:7", 1, 5), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:3", 2, 0), new Array("", "", "", 1, 60), new Array("_root.shutter", "close", "", 1, 30), new Array("_root", "setbg", "num:13", 0, 0), new Array("_root", "setwalls", "num:0^num:0^num:600^num:0", 0, 0), new Array("_root", "clearpickups", "", 0, 0), new Array("_root.shutter", "open", "", 1, 30), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:22", 1, 2), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:7", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:100^num:-5^num:3", 1, 30), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:1^num:0^num:0^num:1", 1, 30), new Array("_root.gen", "makeguy", "num:0^num:0^num:640^num:300^num:28^num:0^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:50^num:-5^num:23", 2, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:100^num:-5^num:3", 0, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:640^num:100^num:17^num:0^num:1", 1, 5), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:1^num:0^num:0^num:1", 1, 30), new Array("_root.gen", "makeguy", "num:0^num:0^num:500^num:-5^num:6", 1, 20), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:17", 0, 0), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:5", 2, 1), new Array("_root.gen", "makeguy", "num:0^num:0^num:550^num:-5^num:6", 1, 10), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:22", 1, 30), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:23", 1, 30), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:1^num:0^num:0^num:1", 1, 30), new Array("_root.gen", "makeguy", "num:0^num:0^num:150^num:-5^num:28", 1, 45), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:2", 1, 45), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:3", 2, 2), new Array("_root.gen", "makeguy", "num:0^num:0^num:-40^num:200^num:3^num:0^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:300^num:-5^num:6", 1, 45), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:3", 1, 45), new Array("_root.gen", "makeguy", ("num:0^num:0^num:640^num:" + _root.ground) + "^num:7", 2, 0), new Array("", "", "", 1, 60), new Array("_root.shutter", "close", "", 1, 30), new Array("_root", "setbg", "num:14", 0, 0), new Array("_root", "setwalls", "num:0^num:0^num:530^num:1", 0, 0), new Array("_root", "clearpickups", "", 0, 0), new Array("_root.shutter", "open", "", 1, 30), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:4", 1, 2), new Array("_root.gen", "makeguy", "num:0^num:0^num:480^num:-5^num:6", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:-40^num:300^num:7^num:0^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:510^num:325^num:2^num:1", 1, 20), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:2", 2, 2), new Array("_root.gen", "makeguy", "num:0^num:0^num:145^num:305^num:3^num:1", 1, 10), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:1^num:0^num:0^num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:-40^num:200^num:5^num:0^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:510^num:325^num:2^num:1", 2, 1), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:15", 1, 2), new Array("_root.gen", "makeguy", "num:0^num:0^num:450^num:-5^num:5", 1, 10), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:17", 1, 2), new Array("_root.gen", "makeguy", "num:0^num:0^num:145^num:305^num:6^num:1", 2, 0), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:1^num:0^num:0^num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:-40^num:250^num:3^num:0^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:510^num:325^num:15^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:75^num:-5^num:7", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:475^num:-5^num:7", 2, 2), new Array("_root.gen", "makeguy", ("num:0^num:0^num:-40^num:" + _root.ground) + "^num:23", 1, 2), new Array("_root.gen", "makeguy", "num:0^num:0^num:450^num:-5^num:15", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:-40^num:300^num:6^num:0^num:1", 1, 15), new Array("_root.gen", "makeguy", "num:0^num:0^num:475^num:-5^num:16", 2, 0), new Array("_root.scripter", "setscript", "ref:_root.main4.main", 0, 0));
}
Instance of Symbol 274 MovieClip "main4" in Frame 6
onClipEvent (load) {
main = new Array(new Array("", "", "", 1, 60), new Array("_root.shutter", "close", "", 1, 30), new Array("_root", "setbg", "num:15", 0, 0), new Array("_root", "setcostume", "ref:_root.smiths", 0, 0), new Array("_root", "setwalls", "num:40^num:1^num:560^num:1", 0, 0), new Array("_root", "clearpickups", "", 0, 0), new Array("_root", "setground", "num:330", 0, 0), new Array("_root", "setceil", "num:60^num:1", 0, 0), new Array("_root.shutter", "open", "", 1, 30), new Array("_root.gen", "makeguy", "num:0^num:0^num:60^num:300^num:2^num:1", 1, 3), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:300^num:7^num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:60^num:300^num:12^num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:60^num:300^num:11^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:300^num:23^num:1", 2, 2), new Array("_root.gen", "makeguy", "num:0^num:0^num:60^num:300^num:20^num:1", 1, 45), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:300^num:2^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:300^num:3^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:300^num:7^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:60^num:300^num:15^num:1", 2, 1), new Array("_root.gen", "makeguy", "num:0^num:0^num:60^num:300^num:12^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:300^num:4^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:60^num:300^num:2^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:60^num:300^num:6^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:300^num:23^num:1", 2, 0), new Array("", "", "", 1, 60), new Array("_root.shutter", "close", "", 1, 30), new Array("_root", "setbg", "num:16", 0, 0), new Array("_root", "clearpickups", "", 0, 0), new Array("_root", "setwalls", "num:40^num:1^num:560^num:1", 0, 0), new Array("_root", "setceil", "num:60^num:1", 0, 0), new Array("_root.shutter", "open", "", 1, 30), new Array("_root.gen", "makeguy", "num:0^num:0^num:60^num:304^num:20^num:1", 1, 45), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:304^num:2^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:304^num:6^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:304^num:21^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:60^num:304^num:7^num:1", 2, 1), new Array("_root.gen", "makeguy", "num:0^num:0^num:60^num:304^num:2^num:1", 1, 3), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:304^num:7^num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:60^num:304^num:16^num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:60^num:304^num:21^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:304^num:23^num:1", 2, 2), new Array("_root.gen", "makeguy", "num:0^num:0^num:60^num:304^num:4^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:304^num:17^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:60^num:304^num:2^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:60^num:304^num:6^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:304^num:23^num:1", 2, 0), new Array("", "", "", 1, 60), new Array("_root.shutter", "close", "", 1, 30), new Array("_root", "setbg", "num:17", 0, 0), new Array("_root", "setwalls", "num:25^num:1^num:578^num:1", 0, 0), new Array("_root", "clearpickups", "", 0, 0), new Array("_root", "setground", "num:375", 0, 0), new Array("_root", "setceil", "num:50^num:1", 0, 0), new Array("_root.tgun", "makegun", "num:26", 0, 0), new Array("_root.shutter", "open", "", 1, 60), new Array("_root.gen", "makeguy", "num:0^num:0^num:60^num:375^num:7^num:1", 1, 3), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:375^num:23^num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:0^num:60^num:375^num:17^num:1", 2, 0), new Array("_root", "setcostume", "ref:_root.jesusc", 0, 0), new Array("_root.gen", "makeguy", "num:0^num:2^num:300^num:150^num:19^num:1", 0, 0), new Array("_root", "setcostume", "ref:_root.smiths", 1, 30), new Array("_root.gen", "makeguy", "num:0^num:0^num:60^num:375^num:21^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:375^num:9^num:1", 2, 3), new Array("_root.gen", "makeguy", "num:0^num:0^num:60^num:375^num:7^num:1", 1, 45), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:375^num:6^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:375^num:23^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:0^num:540^num:375^num:15^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:1^num:60^num:375^num:14^num:1", 2, 2), new Array("_root.gen", "makeguy", "num:0^num:1^num:60^num:375^num:9^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:1^num:540^num:375^num:10^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:1^num:60^num:375^num:9^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:1^num:60^num:375^num:10^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:1^num:540^num:375^num:10^num:1", 2, 2), new Array("_root.gen", "makeguy", "num:0^num:1^num:60^num:375^num:15^num:1", 1, 45), new Array("_root.gen", "makeguy", "num:0^num:1^num:540^num:375^num:8^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:1^num:540^num:375^num:23^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:1^num:540^num:375^num:7^num:1", 1, 5), new Array("_root.gen", "makeguy", "num:0^num:1^num:60^num:375^num:21^num:1", 2, 2), new Array("_root.gen", "makeguy", "num:0^num:1^num:60^num:375^num:18^num:1", 1, 3), new Array("_root.gen", "makeguy", "num:0^num:1^num:540^num:375^num:21^num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:1^num:60^num:375^num:23^num:1", 1, 10), new Array("_root.gen", "makeguy", "num:0^num:1^num:60^num:375^num:21^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:1^num:540^num:375^num:18^num:1", 2, 3), new Array("_root.gen", "makeguy", "num:0^num:1^num:60^num:375^num:8^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:1^num:540^num:375^num:17^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:1^num:60^num:375^num:14^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:1^num:60^num:375^num:15^num:1", 1, 20), new Array("_root.gen", "makeguy", "num:0^num:1^num:540^num:375^num:18^num:1", 2, 0), new Array("_root.shutter", "close", "", 1, 30), new Array("_root", "setbg", "num:18", 0, 0), new Array("_root", "setwalls", "num:20^num:1^num:450^num:1", 0, 0), new Array("_root", "clearpickups", "", 0, 0), new Array("_root", "setground", "num:320", 0, 0), new Array("_root", "setceil", "num:50^num:1", 0, 0), new Array("_root", "setai", "num:0", 0, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:260^num:338^num:9", 0, 0), new Array("_root", "setcostume", "ref:_root.sheriffc", 0, 0), new Array("_root.gen", "makeguy", "num:0^num:3^num:420^num:338^num:2", 0, 0), new Array("_root.shutter", "open", "", 1, 10), new Array("_root", "setai", "num:1", 2, 0), new Array("", "", "", 1, 60), new Array("_root.shutter", "close", "", 1, 30), new Array("_root", "eog", "", 0, 0), new Array("_root.shutter", "open", "", 3, 0));
}
Instance of Symbol 276 MovieClip "tutor" in Frame 6
onClipEvent (load) {
tutorial = new Array(new Array("_root", "setai", "num:0", 0, 0), new Array("_root", "sethud", "str:Welcome to the tutorial. This should give you a feel for the controls.", 1, 90), new Array("_root", "sethud", "str:Move your hand by swinging the mouse.", 1, 120), new Array("_root", "sethud", ((("str:To move left, press " + _root.getname(_root.keys[_root.ki.left])) + ". To move right, press ") + _root.getname(_root.keys[_root.ki.right])) + ".", 1, 120), new Array("_root", "sethud", ("str:To jump, press " + _root.getname(_root.keys[_root.ki.jump])) + ". Press it again in midair to double-jump.", 1, 120), new Array("_root.tgun", "makegun", "num:2", 0, 0), new Array("_root", "sethud", "str:Try grabbing this gun Put your hand over it and click it to pick it up.", 1, 180), new Array("_root", "sethud", "str:Aim the gun by moving your hand, and click to shoot it.", 1, 210), new Array("_root.gen", "makeguy", "num:0^num:0^num:40^num:-5", 0, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:560^num:-5", 0, 0), new Array("_root", "sethud", "str:Try attacking these dummies. You can hurt them by shooting them, or by swinging your first at them to punch.", 2, 0), new Array("_root.tgun", "makegun", "num:6", 0, 0), new Array("_root", "sethud", ("str:To holster your gun so you can pick up another, press " + _root.getname(_root.keys[_root.ki.switch])) + ".", 1, 150), new Array("_root", "sethud", ("str:Now you can carry a second gun. Press " + _root.getname(_root.keys[_root.ki.switch])) + " again to switch between them.", 1, 150), new Array("_root", "sethud", ("str:You can give yourself an advantage in combat by pressing " + _root.getname(_root.keys[_root.ki.bullettime])) + " to toggle bullet time.", 1, 150), new Array("_root", "sethud", "str:More time is added to the meter every time you kill an enemy.", 1, 150), new Array("_root", "sethud", ("str:Also, you can throw guns by swinging your arm and pressing " + _root.getname(_root.keys[_root.ki.throw])) + ".", 1, 150), new Array("_root", "sethud", "str:There's one more skill to learn: vests.", 1, 150), new Array("_root.tgun", "makegun", "num:26", 0, 0), new Array("_root", "sethud", "str:Pick up the jetpack like you would pick up a gun. (Your hand must be empty).", 1, 150), new Array("_root", "sethud", "str:Press shift to activate/deactivate it, and your directional keys to move around.", 1, 150), new Array("_root", "sethud", ("str:You're now ready to get started! I recommend you try experiment before the main game. Press " + _root.getname(_root.keys[_root.ki.quit])) + " to return to the main menu.", 3, 0));
}
Instance of Symbol 396 MovieClip "shuttergen" in Frame 6
onClipEvent (load) {
function sd() {
_root.highlevel++;
this.swapDepths(_root.highlevel);
}
function quickclose() {
sd();
yst = (s1._yscale = (s2._yscale = 110));
_root.scenechange = true;
}
function close() {
trace("CLOSE SHUTTER");
sd();
yst = 110;
_root.scenechange = true;
}
function open() {
sd();
yst = 0;
_root.scenechange = false;
}
if (gen != false) {
_root.highlevel++;
duplicateMovieClip (this, "shutter" + _root.highlevel, _root.highlevel);
_root.shutter = eval ("_root.shutter" + _root.highlevel);
_root.shutter.gen = false;
trace("LOAD SHUTTER");
} else {
yst = 0;
}
}
onClipEvent (enterFrame) {
if (_root._currentFrame != _root.gameframe) {
trace("GET RID OF: " + _name);
trace(" gen=" + gen);
this.removeMovieClip();
}
}
Instance of Symbol 397 MovieClip in Frame 6
onClipEvent (load) {
if (gen != false) {
_visible = false;
_root.highlevel++;
duplicateMovieClip (this, "curtain" + _root.highlevel, _root.highlevel);
ct = eval ("_root.curtain" + _root.highlevel);
ct.gen = false;
} else if (_root.maingame) {
timer = 2;
} else {
removeMovieClip(this);
}
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
removeMovieClip(this);
}
}
Instance of Symbol 424 MovieClip "pgun" in Frame 6
onClipEvent (load) {
if (gen != false) {
} else {
id = _root.pickups.length;
_root.pickups[_root.pickups.length] = eval ("_root." + _name);
gotoAndStop(type - 1);
}
gdist = 15;
}
Instance of Symbol 464 MovieClip "tgun" in Frame 6
onClipEvent (load) {
function makegun(t, gx, gy, scale, rot) {
_root.level++;
duplicateMovieClip (this, "gun" + _root.level, _root.level);
g = eval ("_root.gun" + _root.level);
g._x = 75 + (Math.random() * (_root.width - 150));
g._y = _root.ground - 20;
g.type = t;
g.ammo = _root.ammo[g.type - 1];
g.gen = false;
if (gx && (gy)) {
g._x = gx;
g._y = gy;
g.nophys = true;
_root.lowlevel++;
g.swapDepths(_root.lowlevel);
if (scale) {
g._xscale = (g._yscale = scale);
if (rot) {
g._rotation = rot;
}
}
}
}
function remove() {
var _local1 = _root;
_local1.pickups.splice(id, 1);
i = id;
while (i < _local1.pickups.length) {
_local1.pickups[i].id--;
i++;
}
removeMovieClip(this);
}
gotoAndStop(type - 1);
usepoints = new Array(3, 4, 5, 6, 5, 3, 8, 5, 4, 4, 5, 4, 5, 5, 5, 5, 5, 6, 7, 7, 6, 3, 2, 4, 0, 0, 4, 6, 6, 6, 6);
if (gen == false) {
if ((_root.pickups.length > 5) && (!_root.pickups[0].nophys)) {
_root.pickups[0].remove();
}
id = _root.pickups.length;
_root.pickups[_root.pickups.length] = eval ("_root." + _name);
gotoAndStop(type - 1);
if (ammo > _root.ammo[type - 1]) {
ammo = _root.ammo[type - 1];
}
}
gdist = 15;
}
onClipEvent (enterFrame) {
if (_root._currentframe != _root.gameframe) {
remove();
}
if ((gen == false) && (_root.pause != true)) {
if (!nophys) {
oldx = _x;
oldy = _y;
_x = (_x + (xv / _root.runspeed));
_y = (_y + (yv / _root.runspeed));
txc = oldx - _x;
tyc = oldy - _y;
if (((type == 12) || (type == 25)) && (_y < (_root.ground - 10))) {
_rotation = ((Math.atan2(yv, xv) * 180) / Math.PI);
} else {
_rotation = (_rotation + (rv / _root.runspeed));
}
if (xv > 0) {
fdir = 1;
} else {
fdir = -1;
}
xv = xv * (1 - (0.01 / _root.runspeed));
rv = rv * (1 - (0.01 / _root.runspeed));
yv = yv + (1 / _root.runspeed);
if (_y == (_root.ground - 10)) {
thrown = false;
_rotation = 0;
xv = xv * (1 - (0.4 / _root.runspeed));
if (Math.abs(xv) < 0.1) {
xv = 0;
deadtimer++;
if (((deadtimer > 100) || (_root.knifing)) || ((ammo == 0) && (!_root.mtest(type)))) {
remove();
}
}
} else if (_y > (_root.ground - 10)) {
_y = (_root.ground - 10);
if (yv < 8) {
if (_root.knifing && (!hasscored)) {
_root.score--;
hasscored = true;
}
yv = 0;
rv = 0;
} else {
yv = yv * -0.2;
rv = rv * (-Math.random());
}
} else if ((_y < _root.ceil) && (_root.isceil)) {
_y = _root.ceil;
yv = yv * -0.1;
}
if ((_x < _root.min) && (_root.minwall)) {
_x = _root.min;
reverse();
} else if ((_x > _root.max) && (_root.maxwall)) {
_x = _root.max;
reverse();
}
if (((_x + _width) < 0) || ((_x - _width) > _root.width)) {
remove();
}
if (_y < (_root.ground - 10)) {
hv = Math.abs(txc + tyc);
if (hv > 50) {
hv = 50;
}
if (_parent.guntype >= 2) {
hv = hv * 1.5;
}
if (xtc < 0) {
dir = -1;
} else {
dir = 1;
}
if (thrown) {
i = 0;
while (i < _root.targets.length) {
t = _root.targets[i];
if ((t != par) && (t.pimmunity < 0)) {
xdt = t._x - _x;
ydt = t._y - _y;
d = Math.sqrt((xdt * xdt) + (ydt * ydt));
if (d < _parent._height) {
n = 0;
while (n < usepoints[type - 2]) {
pt = eval ("pt" + n);
if (t.hitTest(pt.x, pt.y, true)) {
headshot = pt.y < (t._y - t.body._height);
mysound = Math.ceil(Math.random() * 3);
eval ("_root.punch" + mysound).start();
if ((n == 0) && ((_currentframe == 11) || (_currentframe == 24))) {
if (_currentframe == 11) {
sticktype = 1;
} else {
sticktype = 2;
}
t.stick(pt.y, fdir, sticktype);
remove();
}
t.punch(txc / hv, tyc / hv, dir * fdir, hv * 2.5, headshot);
xv = xv * -0.2;
break;
}
n++;
}
}
}
i++;
}
}
}
}
}
}
Instance of Symbol 466 MovieClip "grenade" in Frame 6
onClipEvent (load) {
function detonate() {
_root.explode(_x - xv, _y - yv);
removeMovieClip(this);
}
}
onClipEvent (enterFrame) {
if ((gen == false) && (_root.pause != true)) {
if (_root._currentframe != _root.gameframe) {
removeMovieClip(this);
}
_x = (_x + (xv / _root.runspeed));
_y = (_y + (yv / _root.runspeed));
_rotation = ((Math.atan2(yv, xv) * 180) / Math.PI);
xv = xv * (1 - (0.01 / _root.runspeed));
yv = yv + (1.5 / _root.runspeed);
if ((((_y >= _root.ground) || ((_y < _root.ceil) && (_root.isceil))) || ((_x < _root.min) && (_root.minwall))) || ((_x > _root.max) && (_root.maxwall))) {
detonate();
}
i = 0;
while (i < _root.targets.length) {
t = _root.targets[i];
if (t.hmn != hmn) {
n = 0;
while (n < 2) {
pt = eval ("pt" + n);
if (t.body.hitTest(pt.x, pt.y, true) || (t.head.hitTest(pt.x, pt.y, true))) {
t.health = t.health - 10;
detonate();
}
n++;
}
}
i++;
}
}
}
Instance of Symbol 483 MovieClip "spray" in Frame 6
onClipEvent (load) {
function remove() {
removeMovieClip(this);
}
if (_name == "spray") {
stop();
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x + (_xscale / 30));
play();
} else {
stop();
}
}
Instance of Symbol 486 MovieClip "explosion" in Frame 6
onClipEvent (load) {
if (gen != false) {
stop();
}
}
Instance of Symbol 491 MovieClip "shell" in Frame 6
onClipEvent (load) {
function reverse() {
xv = xv * -0.5;
rv = rv * -0.5;
}
rad = ((_rotation - 90) / 180) * Math.PI;
yv = Math.sin(rad) * 5;
xv = Math.cos(rad) * 10;
if (_rotation < 0) {
rv = (-Math.random()) * 10;
} else {
rv = Math.random() * 10;
}
}
onClipEvent (enterFrame) {
if ((gen == false) && (_root.pause != true)) {
if (_root._currentframe != _root.gameframe) {
removeMovieClip(this);
}
_x = (_x + (xv / _root.runspeed));
_y = (_y + (yv / _root.runspeed));
_rotation = (_rotation + (rv / _root.runspeed));
xv = xv * 0.99;
rv = rv * 0.99;
yv = yv + 1;
if (((_x < _root.min) && (_root.minwall)) && (xv < 0)) {
_x = _root.min;
reverse();
} else if (((_x > _root.max) && (_root.maxwall)) && (xv > 0)) {
_x = _root.max;
reverse();
}
if (_y > _root.ground) {
_y = _root.ground;
if (yv < 5) {
yv = (xv = (rv = 0));
} else {
if (yv > 10) {
if (_root.runspeed == 1) {
_root.shell1.start();
} else {
_root.lowshell.start();
}
}
yv = yv * (-(0.2 + (Math.random() * 0.2)));
xv = xv * (0.3 + (Math.random() * 0.4));
rv = rv * -0.5;
}
}
if (_y == _root.ground) {
timer++;
if (timer > 30) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 493 MovieClip "clip" in Frame 6
onClipEvent (load) {
function unloadgun() {
var _local1 = _root;
if (_local1.ammobar._visible) {
_local1.ammobar.showbar.xst = 0;
_local1.ammobar._visible = false;
} else {
i = 0;
while (i < bullets.length) {
bullets[i].removeMovieClip();
i++;
}
bullets.splice(0, bullets.length);
}
_xscale = 0;
}
function loadgun(guntype, myammo) {
if ((guntype == 22) || (guntype == 24)) {
_xscale = 20;
_yscale = 100;
_y = by;
_root.ammobar._visible = true;
_root.ammobar.ammo = myammo;
_root.ammobar.fullammo = _root.ammo[guntype - 1];
if (guntype == 22) {
_root.ammobar.showbar.gotoAndStop(1);
} else {
_root.ammobar.showbar.gotoAndStop(2);
}
} else if (guntype != 19) {
btype = _root.btypes[guntype];
_root.bullet.gotoAndStop(btype);
unloadgun();
guntype--;
if (myammo) {
_xscale = (_root.bullet._width * 1.2);
_yscale = (_root.bullet._height * (_root.ammo[guntype] - 1));
if ((_yscale > 175) || (btype == 8)) {
_yscale = (_yscale / 2);
overlap = true;
} else {
overlap = false;
}
highturn = true;
_y = (by + _root.bullet._height);
} else {
_xscale = 0;
}
i = 0;
while (i < myammo) {
if (overlap) {
if (highturn) {
_root.level = _root.level + 3;
highturn = false;
} else {
_root.level--;
highturn = true;
}
} else {
_root.level++;
}
duplicateMovieClip (_root.bullet, "bullet" + _root.level, _root.level);
b = (bullets[i] = eval ("_root.bullet" + _root.level));
b.id = i;
b.gen = false;
b.overlap = overlap;
b.type = btype;
b.gotoAndStop(btype);
i++;
}
_root.level = _root.level + 2;
}
}
function fire() {
var _local1 = _root;
if (!_local1.infammo) {
if (_local1.ammobar._visible) {
_local1.ammobar.ammo--;
} else {
bullets[0].fire = true;
bullets.splice(0, 1);
i = 0;
while (i < bullets.length) {
bullets[i].id--;
i++;
}
}
}
}
_root.highlevel++;
this.swapDepths(_root.highlevel);
by = _y;
_xscale = 0;
bullets = new Array();
}
onClipEvent (enterFrame) {
_visible = (_root._currentFrame == _root.gameframe);
}
Instance of Symbol 508 MovieClip "bullet" in Frame 6
onClipEvent (load) {
function ypos() {
if (overlap) {
return(_root.clip._y + ((_height / 2) * (id - 2)));
}
return(_root.clip._y + (_height * (id - 1)));
}
if (gen == false) {
_x = ((_root.clip._x - _root.clip._width) + ((_width / 5) * (id == 0)));
_y = ypos();
}
}
onClipEvent (enterFrame) {
if ((gen == false) && (_root.pause != true)) {
if (_root._currentframe != _root.gameframe) {
removeMovieClip(this);
}
if (fire) {
if (_currentframe < 9) {
gotoAndStop(_currentframe + 8);
}
if (type == 8) {
_x = (_x + (24 / _root.runspeed));
if (_x > _root.width) {
removeMovieClip(this);
}
} else {
_x = (_x - (12 / _root.runspeed));
_y = (_y - (10 / _root.runspeed));
_rotation = (_rotation - 3);
if ((_y + _height) < 0) {
removeMovieClip(this);
}
}
} else {
xt = (_root.clip._x - _root.clip._width) + ((_width / 5) * (id == 0));
yt = ypos();
_x = (_x + ((xt - _x) / (2 * _root.runspeed)));
_y = (_y + ((yt - _y) / (2 * _root.runspeed)));
}
}
}
Instance of Symbol 510 MovieClip "ripple" in Frame 6
onClipEvent (load) {
function update() {
tsize = tsize - 0.08;
if ((tsize < 0) || (_root.runspeed == 1)) {
removeMovieClip(this);
}
n = n + 0.261799387799149;
_yscale = (tsize * (75 + (Math.cos(n + Math.PI) * 25)));
_xscale = (tsize * (75 + (Math.cos(n + Math.PI) * 25)));
}
update();
}
onClipEvent (enterFrame) {
if ((gen == false) && (_root.pause != true)) {
if (_root._currentframe != _root.gameframe) {
removeMovieClip(this);
}
update();
}
}
Instance of Symbol 512 MovieClip "btgraphic" in Frame 6
onClipEvent (load) {
function move() {
_x = (_x + xd);
_y = (_y + yd);
off = off - 0.261799387799149;
}
function shoot(xmin, xmax) {
var _local1 = _root;
var _local2 = xmax;
var _local3 = xmin;
closest = null;
minyhit = null;
mindist = 10000;
i = 0;
while (i < _local1.targets.length) {
t = _local1.targets[i];
xdist = t._x - _x;
ydist = t._y - _y;
d = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (((t.hmn != hmn) && ((t.dying <= 1) || ((t.ddelay < (5 * _local1.runspeed)) && (t.deadhits < 10)))) && ((t._x >= _local3) && (t._x <= _local2))) {
yhit = (m * t._x) + b;
yhit1 = (m * (t._x - t.khw)) + b;
yhit2 = (m * (t._x + t.khw)) + b;
maxyr = t._y;
minyr = t._y - t.kth;
misscond = ((yhit2 < minyr) && (yhit1 < minyr)) || ((yhit2 > maxyr) && (yhit1 > maxyr));
if (!misscond) {
if (d < mindist) {
mindist = d;
minyhit = yhit;
closest = t;
}
}
}
i++;
}
headshot = minyhit < (closest._y - 50);
if (closest != null) {
oxd = ox - closest._x;
oyd = oy - yhit;
if ((Math.sqrt((oxd * oxd) + (oyd * oyd)) < 100) && ((guntype == 3) || (guntype == 15))) {
if (headshot) {
if (((fdir == 1) && (closest.f == 1)) || ((fdir == -1) && (closest.f == -1))) {
bltype = 5;
} else {
bltype = 4;
}
} else if (((fdir == 1) && (closest.f == 1)) || ((fdir == -1) && (closest.f == -1))) {
bltype = 7;
} else {
bltype = 6;
}
} else {
bltype = gunblood[guntype];
}
xcut = closest._x;
notest = true;
closest.blood(headshot, minyhit, bltype, fdir);
closest.hit(headshot, fdir, damage, force);
}
}
gunblood = new Array(0, 0, 1, 2, 1, 3, 1, 2, 3, 1, 1, 0, 0, 0, 2, 2, 2, 2, 2, 2, 3);
xcut = null;
notest = false;
dn = _root.bulletdens;
rad = (_rotation / 180) * Math.PI;
xrd = Math.cos(rad);
yrd = Math.sin(rad);
if (xd > 0) {
dir = 1;
} else {
dir = -1;
}
}
onClipEvent (enterFrame) {
if ((gen == false) && (_root.pause != true)) {
if (_root._currentframe != _root.gameframe) {
removeMovieClip(this);
}
s = _root.bulletspeed / _root.runspeed;
xd = xrd * s;
yd = yrd * s;
if (_root.runspeed == 1) {
if (fdir == 1) {
min = _x;
max = 600;
} else {
min = 0;
max = _x;
}
} else if (fdir == 1) {
min = _x;
max = _x + (dn * xd);
} else {
min = _x + (dn * xd);
max = _x;
}
if (!notest) {
shoot(min, max);
}
i = 0;
while (i < dn) {
move();
if ((xcut != null) && (((fdir == 1) && (_x > xcut)) || ((fdir == -1) && (_x < xcut)))) {
removeMovieClip(this);
}
i++;
}
if ((_root.detail == 2) || ((_root.detail == 1) && ((i % 2) == 0))) {
_root.level++;
duplicateMovieClip (_root.bulletpath, "ripple" + _root.level, _root.level);
r = eval ("_root.ripple" + _root.level);
r._x = _x;
r._y = _y;
r._rotation = _rotation;
r._xscale = s * dn;
r.n = off;
r.tsize = 1;
r.gen = false;
}
if (((((_x + _width) < 0) || ((_x - _width) > _root.width)) || ((_y + _height) < 0)) || ((_y - _height) > _root.height)) {
removeMovieClip(this);
}
if (_root.runspeed == 1) {
_root.level++;
duplicateMovieClip (_root.line, "line" + _root.level, _root.level);
ml = eval ("_root.line" + _root.level);
ml._x = _x + (xd * dn);
ml._y = _y + (yd * dn);
ml._rotation = _rotation;
ml._xscale = 50 + (Math.random() * 50);
removeMovieClip(this);
}
}
}
Instance of Symbol 518 MovieClip "rail" in Frame 6
onClipEvent (load) {
stop();
if (gen == false) {
useframe = 1;
}
}
onClipEvent (enterFrame) {
if (gen == false) {
useframe = useframe + (1 / _root.runspeed);
trace(useframe);
gotoAndStop(Math.floor(useframe));
}
}
Instance of Symbol 521 MovieClip "rocket" in Frame 6
onClipEvent (load) {
function detonate() {
var _local1 = _root;
_local1.explode(_x - ((xd * v) / _local1.runspeed), _y - ((yd * v) / _local1.runspeed));
removeMovieClip(this);
}
var xd = Math.cos(rad);
var yd = Math.sin(rad);
var v = 3;
}
onClipEvent (enterFrame) {
if (_root._currentframe != _root.gameframe) {
removeMovieClip(this);
}
if ((gen == false) && (_root.pause != true)) {
v = v + (2 / _root.runspeed);
_x = (_x + ((xd * v) / _root.runspeed));
_y = (_y + ((yd * v) / _root.runspeed));
if ((((_root.minwall && (_x < _root.min)) || (_root.maxwall && (_x > _root.max))) || (_y > _root.ground)) || ((_y < _root.ceil) && (_root.isceil))) {
detonate();
} else if ((((_x - _width) > _root.max) || ((_x + _width) < _root.min)) || ((_y + _height) < 0)) {
removeMovieClip(this);
}
i = 0;
while (i < _root.targets.length) {
t = _root.targets[i];
if (t.hmn != hmn) {
n = 0;
while (n < 2) {
pt = eval ("pt" + n);
if (t.body.hitTest(pt.x, pt.y, true) || (t.head.hitTest(pt.x, pt.y, true))) {
detonate();
}
n++;
}
}
i++;
}
}
}
Instance of Symbol 524 MovieClip "bulletpath" in Frame 6
onClipEvent (load) {
_alpha = 50;
}
onClipEvent (enterFrame) {
_alpha = (_alpha - 15);
if (_alpha < 0) {
removeMovieClip(this);
}
}
Instance of Symbol 529 MovieClip "ammobar" in Frame 6
onClipEvent (load) {
_root.highlevel++;
this.swapDepths(_root.highlevel);
_visible = false;
}
Instance of Symbol 533 MovieClip in Frame 6
onClipEvent (load) {
function shoot() {
var _local1 = _root;
rail.play();
if (evenside) {
if ((_local1.player._y > _y) && ((_local1.player._y - _local1.player.kth) < _y)) {
_local1.player.health = _local1.player.health - 4;
sd = -(side - 1);
xc = 25 * sd;
if (_local1.player.usejetpack) {
_local1.player.jxv = _local1.player.jxv + xc;
} else {
_local1.player.force = _local1.player.force + xc;
}
if (_local1.player.health <= 0) {
_local1.player.dying = 1;
_local1.player.rspeed = sd;
}
}
} else if (Math.abs(_local1.player._x - _x) < _local1.player.khw) {
_local1.player.health = _local1.player.health - 4;
if (_local1.player.usejetpack) {
_local1.player.jyv = _local1.player.jyv - (25 * (side - 2));
}
if (_local1.player.health <= 0) {
_local1.player.dying = 1;
_local1.player.rspeed = _local1.player.f;
}
}
isfiring = false;
timer = 30;
}
function hit() {
_root.level++;
duplicateMovieClip (_root.explosion, "ex" + _root.level, _root.level);
ex = eval ("_root.ex" + _root.level);
ex._x = _x;
ex._y = _y;
ex._xscale = (ex._yscale = 50);
ex._rotation = _rotation;
ex.gen = false;
_root.givebtr(8);
removeMovieClip(rail);
_root.targets.splice(id, 1);
i = id;
while (i < _root.targets.length) {
_root.targets[i].id--;
i++;
}
removeMovieClip(this);
}
stop();
if (gen != false) {
var settime = 100;
var movechance = 0;
} else {
var timer = 30;
var isfiring = false;
var kth = _height;
var khw = 15;
id = _root.targets.length;
_root.targets[id] = eval ("_root." + _name);
dying = 0;
hasentered = true;
hmn = false;
side = Math.floor(Math.random() * 4);
evenside = (side == 0) || (side == 2);
if (evenside) {
_x = ((side / 2) * _root.width);
_y = (15 + (Math.random() * (_root.height - 30)));
} else {
_x = (15 + (Math.random() * (_root.width - 30)));
_y = (Math.floor(side / 2) * _root.height);
}
_rotation = (side * 90);
rad = (_rotation / 180) * Math.PI;
sinrad = Math.sin(rad);
cosrad = Math.cos(rad);
railxoff = cosrad * 13;
railyoff = sinrad * 13;
_root.level++;
duplicateMovieClip (_root.redlaser, "rail" + _root.level, _root.level);
rail = eval ("_root.rail" + _root.level);
rail.gen = false;
rail._x = _x + railxoff;
rail._y = _y + railyoff;
rail._rotation = _rotation;
if (evenside) {
rail._xscale = _root.width;
} else {
rail._xscale = _root.height;
}
if (move) {
xd = Math.abs(sinrad) * 3;
yd = Math.abs(cosrad) * 3;
xdc = xd * 20;
ydc = yd * 20;
minx = _x - xdc;
maxx = _x + xdc;
miny = _y - ydc;
maxy = _y + ydc;
if (Math.random() < 0.5) {
xd = xd * -1;
} else {
yd = yd * -1;
}
}
}
}
onClipEvent (enterFrame) {
if (_root._currentFrame != _root.gameframe) {
removeMovieClip(this);
}
if (_root.lasermode && (!_root.pause)) {
if (gen != false) {
timer = timer - (1 / _root.runspeed);
if (timer <= 0) {
if (settime > 15) {
settime = settime - 2;
}
if ((settime < 70) && (movechance < 1)) {
movechance = movechance + 0.05;
}
_root.level++;
duplicateMovieClip (this, "laserbox" + _root.level, _root.level);
lb = eval ("_root.laserbox" + _root.level);
lb.gen = false;
lb.move = Math.random() < movechance;
timer = settime;
}
} else {
timer = timer - (1 / _root.runspeed);
if ((timer < 0) && (!isfiring)) {
isfiring = true;
play();
}
if (move) {
_x = (_x + (xd / _root.runspeed));
_y = (_y + (yd / _root.runspeed));
if ((_x < minx) || (_x > maxx)) {
xd = xd * -1;
if (_x < minx) {
_x = minx;
} else {
_x = maxx;
}
}
if ((_y < miny) || (_y > maxy)) {
yd = yd * -1;
if (_y < miny) {
_y = miny;
} else {
_y = maxy;
}
}
rail._x = _x + railxoff;
rail._y = _y + railyoff;
}
}
}
}
Instance of Symbol 539 MovieClip "redlaser" in Frame 6
onClipEvent (enterFrame) {
if (_root._currentFrame != _root.gameframe) {
removeMovieClip(this);
}
}
Instance of Symbol 541 MovieClip "shadow" in Frame 6
onClipEvent (enterFrame) {
if (_root._currentframe != _root.gameframe) {
removeMovieClip(this);
}
}
Instance of Symbol 546 MovieClip "flash" in Frame 6
onClipEvent (enterFrame) {
if ((_name != "flash") && (_root.pause != true)) {
timer++;
if (timer > 1) {
removeMovieClip(this);
}
}
}
Instance of Symbol 553 MovieClip "collider" in Frame 6
onClipEvent (load) {
if (gen == false) {
gotoAndStop(type);
_root.highlevel++;
this.swapDepths(_root.highlevel);
if (_root.scenechange) {
timer++;
}
if ((timer > 20) || (_root._currentFrame != _root.gameframe)) {
removeMovieClip(this);
}
}
stop();
}
Instance of Symbol 556 MovieClip "scripter" in Frame 6
onClipEvent (load) {
function setscript(scriptname) {
script = scriptname;
header = 0;
mode = 0;
timer = 0;
}
function nextevent() {
maxguys = 300;
do {
error = false;
action = script[header];
this[action[0] + ".scriptfunc"] = action[1];
mode = action[3];
if ((action[0] == "") || (action[1] == "")) {
trace("NO FUNCTION!");
} else {
if (action[2].length == 0) {
numargs = 0;
trace("NO ARGUMENTS!");
} else {
argset = action[2].split("^");
args = new Array();
n = 0;
while (n < argset.length) {
pair = argset[n].split(":");
type = pair[0];
val = pair[1];
pos = args.length;
if (type == "str") {
args[pos] = val;
} else if (type == "num") {
args[pos] = Number(val);
} else if (type == "ref") {
args[pos] = eval (val);
} else {
error = true;
trace(("ERROR: Argument type invalid or not specified (" + header) + ")");
break;
}
n++;
}
numargs = args.length;
}
if (numargs == 0) {
eval (action[0])[action[1]]();
} else if (numargs == 1) {
eval (action[0])[action[1]](args[0]);
} else if (numargs == 2) {
eval (action[0])[action[1]](args[0], args[1]);
} else if (numargs == 3) {
eval (action[0])[action[1]](args[0], args[1], args[2]);
} else if (numargs == 4) {
eval (action[0])[action[1]](args[0], args[1], args[2], args[3]);
} else if (numargs == 5) {
eval (action[0])[action[1]](args[0], args[1], args[2], args[3], args[4]);
} else if (numargs == 6) {
eval (action[0])[action[1]](args[0], args[1], args[2], args[3], args[4], args[5]);
} else if (numargs == 7) {
eval (action[0])[action[1]](args[0], args[1], args[2], args[3], args[4], args[5], args[6]);
} else if (numargs == 8) {
eval (action[0])[action[1]](args[0], args[1], args[2], args[3], args[4], args[5], args[6], args[7]);
}
}
header++;
if (mode == 1) {
timer = action[4];
} else if (mode == 2) {
maxguys = action[4];
}
} while (mode == 0);
}
timer = 0;
mode = 0;
header = 0;
maxguys = 300;
if (_root.tutorial) {
setscript(_root.tutor.tutorial);
} else if (_root.maingame) {
setscript(_root.main1.main);
} else {
mode = 3;
}
}
onClipEvent (enterFrame) {
timer--;
if (((timer < 0) && (mode != 3)) && (_root.activeen <= maxguys)) {
nextevent();
}
}
Instance of Symbol 682 MovieClip "pgen" in Frame 6
onClipEvent (load) {
function follow() {
if (_x > _root.player._x) {
left = true;
} else {
right = true;
}
}
function register() {
id = _root.targets.length;
_root.targets[id] = eval ("_root." + _name);
isregistered = true;
_root.level++;
this.swapDepths(_root.level);
}
function detonate() {
health = 0;
_root.explode(_x, _y - (_height / 2));
}
function remove(now) {
var _local1 = _root;
trace(_name + ": REMOVE!");
_local1.targets.splice(id, 1);
i = id;
while (i < _local1.targets.length) {
_local1.targets[i].id--;
i++;
}
_local1.activeguys--;
dead = true;
if (hmn) {
if (_local1.runspeed != 1) {
_local1.btrbarsrc.bar.endbt();
}
if (_local1.laserguide) {
hand.lg.removeMovieClip();
}
}
if (jesus) {
_local1.isjesus = false;
}
if (((_local1.matrix || (_local1.zombie)) || (_local1.lasermode)) && (hmn)) {
stopAllSounds();
Mouse.show();
_local1.pause = true;
_local1.accuracy = Math.round((_local1.enemies_hit / _local1.shotsfired) * 100) + "%";
if (_local1.lasermode) {
_local1.newmenu(150, 50, 300, 300, "Game Over", _local1.endtimechallenge);
} else {
_local1.newmenu(150, 50, 300, 300, "Game Over", _local1.endchallenge);
}
}
if (_local1.detail >= 2) {
removeMovieClip(shadow);
}
}
function esc() {
var _local1 = _root;
trace(_name + ": ESCAPE!");
hand.stopfire();
killflames();
if (!hasgiven) {
_local1.givebtr(15);
}
if (hmn) {
if (_local1.kstring > _local1.maxstring) {
_local1.maxstring = _local1.kstring;
}
_local1.kstring = 0;
_local1.regen = 10;
if (_local1.runspeed != 1) {
_local1.btrbarsrc.bar.endbt();
}
_local1.hmndeaths++;
} else {
_local1.numkilled++;
_local1.kstring++;
_local1.activeen--;
}
removeMovieClip(shadow);
removeMovieClip(this);
}
function blood(headshot, bly, bltype, fdir) {
if (_root.detail > 0) {
if (headshot) {
target = head;
} else {
target = body;
}
if (head._currentFrame == 1) {
if (bltype == 4) {
head.play();
} else if (bltype == 5) {
head.gotoAndPlay(4);
}
}
if (body._currentFrame == 1) {
if (bltype == 6) {
body.play();
} else if (bltype == 7) {
body.gotoAndPlay(4);
}
}
if (bltype < 4) {
_root.level++;
duplicateMovieClip (target.blood, "blood" + _root.level, _root.level);
b = eval ((target + ".blood") + _root.level);
if (bltype == 1) {
b.gotoAndStop(Math.ceil(Math.random() * 3));
} else if (bltype == 2) {
b.gotoAndStop(3 + Math.ceil(Math.random() * 3));
} else {
b.gotoAndStop(6 + Math.ceil(Math.random() * 2));
}
bpoint.y = bly;
bpoint.x = _x;
target.globalToLocal(bpoint);
halfsize = (target.wk / 2) - (b._width / 1.5);
k = (-fdir) * f;
b._x = (k * Math.random()) * halfsize;
b._y = bpoint.y;
}
if (target._name == "head") {
fdir = fdir * 1.5;
}
bloodspray(_x + ((kw / 1.7) * fdir), bly, -fdir, bltype);
}
}
function bloodspray(bsx, bsy, bsd, bltype) {
if (_root.detail == 2) {
_root.level++;
duplicateMovieClip (_root.spray, "spray" + _root.level, _root.level);
s = eval ("_root.spray" + _root.level);
s._x = bsx;
s._y = bsy;
s._xscale = s._xscale * bsd;
if (bltype == 1) {
if (Math.random() < 0.5) {
s.gotoAndPlay("l1");
} else {
s.gotoAndPlay("l2");
}
} else if (Math.random() < 0.5) {
s.gotoAndPlay("m1");
} else {
s.gotoAndPlay("m2");
}
}
}
function stick(sty, fdir, sticktype) {
trace(fdir);
if (_root.knifing) {
_root.score++;
}
if (sty < (_y - body._height)) {
target = head;
saverot = head._rotation;
head._rotation = 0;
head.force = (fdir * f) * 8;
} else {
target = body;
head.force = ((-fdir) * f) * 6;
body.force = (fdir * f) * 6;
}
if (((fdir == -1) && (f == 1)) || ((fdir == 1) && (f == -1))) {
k = 1;
} else {
k = -1;
}
_root.level++;
duplicateMovieClip (target.stuck, "stuck" + _root.level, _root.level);
st = eval ("target.stuck" + _root.level);
stp = new Object();
stp.x = target._x;
stp.y = sty;
target.globalToLocal(stp);
usex = ((k * Math.random()) * kw) / 3;
st._x = usex;
st._y = stp.y;
st._xscale = st._xscale * (-k);
st._rotation = -10 + (Math.random() * 20);
st.gotoAndStop(sticktype);
stp.x = usex;
target.localToGlobal(stp);
bloodspray(stp.x, stp.y, -k, 1);
if (target._name == "head") {
target._rotation = saverot;
}
health = health - 5;
if (health <= 0) {
dying = 1;
rspeed = k;
}
}
function hit(headshot, fdir, damage, gunforce) {
var _local1 = _root;
var _local2 = fdir;
var _local3 = this;
if (!hmn) {
_local1.enemies_hit++;
}
if (headshot) {
if (hmn) {
health = health - (damage / zdc);
} else {
health = health - ((damage + 2.25) / zdc);
}
head.force = (60 * _local2) * f;
force = gunforce * _local2;
} else {
health = health - (damage / zdc);
head.force = ((-2.5 * gunforce) * _local2) * f;
body.force = ((2.5 * gunforce) * _local2) * f;
force = gunforce * _local2;
}
if (health <= 0) {
dying = 1;
rspeed = _local2;
}
i = 0;
while (i < _local1.targets.length) {
t = _local1.targets[i];
if (t != _local3) {
td = Math.abs(t._x - _x);
tyd = Math.abs(t._y - _y);
if (tyd < 30) {
t.spl = t.spl + ((td < 100) + (td < 50));
t.hspl = t.spl;
if (t.spl > 5) {
t.spl = 5;
t.hspl = 5;
}
}
}
i++;
}
ddelay = 0;
deadhits++;
}
function punch(xd, yd, k, power, headshot) {
var _local1 = power;
var _local2 = k;
_local1 = _local1 / zdc;
if ((_local2 * f) == 1) {
_local1 = _local1 * 3;
_local2 = _local2 / 3;
yd = yd / 3;
}
if (headshot) {
head.force = (_local2 * _local1) * f;
} else {
head.force = ((-_local2) * _local1) * f;
body.force = (_local2 * _local1) * f;
}
force = (_local2 * _local1) / 4;
pimmunity = 12;
trace("local imm:" + pimmunity);
health = health - (0.5 + (_local1 / 50));
if (health <= 0) {
dying = 1;
rspeed = _local2;
force = ((_local2 * (0.5 + (Math.abs(xd) / 2))) * _local1) / 1.5;
yforce = (yd * _local1) / 1.5;
}
}
function killflames() {
i = 0;
while (i < myflames.length) {
myflames[i][0].die();
i++;
}
aflame = false;
}
function updateflames() {
i = 0;
while (i < myflames.length) {
myflames[i][0]._x = _x + myflames[i][1];
myflames[i][0]._y = _y + myflames[i][2];
i++;
}
}
function lightup() {
if (dying == 0) {
myflames = new Array();
i = 0;
while (i < 3) {
_root.level++;
duplicateMovieClip (_root.flame, "flame" + _root.level, _root.level);
flame = eval ("_root.flame" + _root.level);
flame.move = false;
flame.gen = false;
flame.hmn = 1;
myflames[i] = new Array();
myflames[i][0] = flame;
myflames[i][1] = (Math.random() * body._width) - (body._width / 2);
myflames[i][2] = (-Math.random()) * body._height;
i++;
}
aflame = (hasburned = true);
d = 1;
}
}
function electrify() {
electro = electro + 20;
}
function knife(xd, yd, k, power, headshot, x, y) {
if ((k * f) == 1) {
power = power * 3;
k = k / 3;
}
force = (k * power) / 12;
pimmunity = 12;
health = health - (0.5 + (power / 20));
if (health <= 0) {
dying = 1;
rspeed = k;
}
if (headshot) {
health--;
target = head;
head.force = k * power;
} else {
target = body;
body.force = k * power;
head.force = (-k) * power;
}
kbp = new Object();
kbp.x = x;
kbp.y = y;
target.globalToLocal(kbp);
_root.level++;
duplicateMovieClip (target.blood, "blood" + _root.level, _root.level);
b = eval ((target + ".blood") + _root.level);
halfsize = (target._width / 2) - (b._width / 1.7);
b._x = (kbp * Math.random()) * halfsize;
b._y = kbp.y;
if ((0.8 * Math.abs(yd)) < Math.abs(xd)) {
slash = true;
b.gotoAndStop(Math.ceil(Math.random() * 3));
} else {
slash = false;
b.gotoAndStop(9 + Math.floor(Math.random() * 4));
}
bloodspray(x, y, k, slash + 1);
}
if (gen == false) {
deadhits = 0;
dying = false;
hasentered = false;
haslanded = false;
usejetpack = false;
hasgiven = false;
isregistered = false;
if (_x < _root.player._x) {
f = 1;
} else {
f = -1;
}
dvary = Math.random() * 20;
btdrag = 1 - (hmn / 2);
resistance = 0.2;
aresistance = 0.001;
gravity = 1;
acc = 1;
kw = 32;
kh = 30;
kb = 28;
khw = 26;
kth = 94;
bpoint = new Object();
if (hmn) {
hat = _root.hat;
beard = _root.beard;
suit = _root.suit;
glasses = _root.glasses;
isjetpack = false;
issuibomb = false;
if (_root.matrix) {
health = 40;
} else {
health = 10;
}
entertimer = 60;
if (_root.lasermode) {
isjetpack = true;
}
smt = _root.humanspeed + (7 * _root.gump);
} else {
if (_root.matrix) {
hat = 9;
beard = 1;
glasses = 6;
suit = 2;
} else if (!_root.maingame) {
hat = (beard = (glasses = (suit = 1)));
}
health = 3;
if (zombie == 2) {
trace("NEW JEEBUS, INDEED!");
jesus = true;
fy = _y;
guntype = 6;
hand.ammo = 30;
if (_root.maingame) {
health = 175;
} else {
health = 25;
}
hat = 10;
beard = 2;
_root.isjesus = true;
}
if (isjetpack) {
usejetpack = true;
jby = _y;
n = 0;
}
if (!fromdoor) {
register();
}
smt = _root.aispeed;
_root.activeen++;
}
}
}
onClipEvent (enterFrame) {
if (_root._currentFrame != _root.gameframe) {
removeMovieClip(this);
}
if ((gen == false) && (_root.pause != true)) {
if (aflame && (!dead)) {
aftimer++;
if (Math.random() < 0.05) {
d = d * -1;
}
_x = (_x + ((d * 14) / _root.runspeed));
_xscale = (100 * d);
updateflames();
if (aftimer > 100) {
killflames();
aflame = false;
dying = true;
rspeed = d;
}
} else if (dead) {
head._rotation = head._rotation / 2;
body._rotation = body._rotation / 2;
deadtime++;
if (deadtime > 30) {
esc();
}
} else {
right = 0;
left = 0;
del = 0;
if (hmn) {
if (!dying) {
right = Key.isDown(_root.keys[_root.ki.right]);
left = Key.isDown(_root.keys[_root.ki.left]);
up = Key.isDown(_root.keys[_root.ki.jump]);
down = Key.isDown(_root.keys[_root.ki.down]);
use = Key.isDown(_root.keys[_root.ki.use]);
}
entertimer--;
if (entertimer == 0) {
register();
}
if (_root.invincibility || (entertimer > 0)) {
health = 10000000 /* 0x989680 */;
} else if (health > 100000) {
health = 10;
}
if (entertimer > 0) {
if ((entertimer % 2) == 0) {
if ((_visible == false) || (entertimer < 3)) {
_visible = true;
} else {
_visible = false;
}
}
}
} else if (_root.ai) {
if (_root.survival) {
health = 1000000 /* 0x0F4240 */;
hand.ammo = 10000;
}
if (!dying) {
if (fromdoor) {
if (_alpha < 100) {
_alpha = (_alpha + 20);
} else if ((_y < _root.ground) && (!jesus)) {
_y = (_y + 5);
} else {
register();
fromdoor = false;
}
} else if (jesus) {
jmtimer--;
if (jmtimer < 0) {
jmtimer = 50;
xt = _root.min + (Math.random() * (_root.max - _root.min));
}
_x = (_x + ((xt - _x) / (4 * _root.runspeed)));
jtheta = jtheta + 0.3;
_y = (fy + (Math.sin(jtheta) * 12));
if (_x < _root.player._x) {
f = 1;
} else {
f = -1;
}
} else if ((_y >= _root.ground) || (usejetpack)) {
if (issuibomb) {
tdist = 0;
} else if ((guntype == 1) || (pdist < 110)) {
tdist = 40 + (dvary / 2);
} else if (((guntype > 10) && (guntype != 14)) || (hand.ammo == 0)) {
tdist = 65 + (dvary / 2);
} else {
tdist = 225 + dvary;
}
if (hasentered) {
pdist = Math.abs(_root.player._x - _x);
if (issuibomb) {
follow();
if ((pdist < 40) && (Math.abs(_root.player._y - _y) < 20)) {
detonate();
}
} else if (pdist < 20) {
right = true;
} else if ((pdist > tdist) && (force == 0)) {
follow();
} else if (pdist > 25) {
if ((_x > _root.player._x) && (f == 1)) {
left = true;
} else if ((_x < _root.player._x) && (f == -1)) {
right = true;
}
}
} else if (_x < 300) {
right = true;
} else {
left = true;
}
}
}
}
if (_root.knifing && (!hmn)) {
health = 1000000000 /* 0x3B9ACA00 */;
guntype = 0;
f = -1;
_x = 550;
}
if (electro > 0) {
if (electro > 60) {
electro = 60;
}
electro--;
if ((electro % 2) == 0) {
eforce = 1;
} else {
eforce = -1;
}
head.force = 10 * eforce;
body.force = -10 * eforce;
} else {
if ((zombie == 1) && (_root.isjesus)) {
zsc = 2;
zdc = 4;
} else {
zsc = (zdc = 1);
}
oldf = f;
d = right - left;
if (d != 0) {
f = d;
}
if (f != oldf) {
hand.bx = (hand._x = hand._x * -1);
}
_xscale = (f * 100);
if (f == 1) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
usetime--;
if (usejetpack) {
vd = down - up;
if (d == 0) {
jxv = jxv * (1 - (0.1 / _root.runspeed));
} else {
jxv = jxv + ((d * acc) / _root.runspeed);
}
if (vd == 0) {
jyv = jyv * (1 - (0.1 / _root.runspeed));
} else {
jyv = jyv + ((vd * acc) / _root.runspeed);
}
if ((!_root.experiment) && ((_y - kth) < 0)) {
trace("OLD Y: " + _y);
_y = kth;
trace("NEW Y: " + _y);
jyv = jyv * -0.5;
}
_x = (_x + (jxv / _root.runspeed));
jby = jby + (jyv / _root.runspeed);
n = n + (0.2 / _root.runspeed);
_y = (jby + (Math.sin(n) * 4));
_rotation = (jxv / 3);
if (use && (usetime < 0)) {
usetime = 10;
usejetpack = false;
_rotation = 0;
yforce = jyv;
force = jxv;
}
} else {
_x = (_x + (((d * smt) / (1 + ((_root.runspeed - 1) * btdrag))) / zsc));
}
if (use && (usetime < 0)) {
usetime = 10;
if (isjetpack && (!usejetpack)) {
usejetpack = true;
jyv = -4;
jxv = ((d * smt) / (1 + ((_root.runspeed - 1) * btdrag))) / zsc;
jby = _y;
n = 0;
} else if (issuibomb) {
detonate();
}
}
}
utimer--;
if (up && (utimer < 0)) {
utimer = 5;
if (_y == _root.ground) {
yforce = -12 * _root.jump;
airjump = true;
} else if (airjump && (!oldup)) {
yforce = yforce - (13 * _root.jump);
airjump = false;
if (_root.tutorial) {
_root.hasdoublejumped = true;
}
}
}
}
if (!dead) {
oldup = up;
hand.gotoAndStop(((2 * guntype) - 1) + (f == -1));
if (_root.reload && (del)) {
hand.ammo = _root.ammo[guntype - 1];
}
pimmunity--;
head.splat.gotoAndStop(hspl + 1);
body.splat.gotoAndStop(spl + 1);
spltimer++;
if (((spltimer % 300) == 1) && (hspl > 0)) {
hspl--;
spl--;
}
if (((!jesus) && (!fromdoor)) || (dying > 0)) {
_x = (_x + (force / _root.runspeed));
if (!usejetpack) {
_y = (_y + (yforce / _root.runspeed));
}
if (_y < 0) {
force = force * (1 - (aresistance / _root.runspeed));
} else {
force = force * (1 - (resistance / _root.runspeed));
}
yforce = yforce + (gravity / _root.runspeed);
if (_y > _root.ground) {
_y = _root.ground;
if (usejetpack) {
usejetpack = false;
_rotation = 0;
yforce = jyv;
force = jxv;
}
if (yforce > 5) {
head.dforce = (hand.ff = (nonhand.ff = yforce));
if (yforce > ((30 + (10 * hmn)) * _root.jump)) {
_root.bloodspray(_x, _y + head._y);
health = 0;
dying = 1;
rspeed = 1;
}
}
yforce = 0;
} else if (((_y - kth) < _root.ceil) && (_root.isceil)) {
_y == (_root.ceil + kth);
if (yforce < 0) {
yforce = yforce * -0.2;
}
if (jyv < 0) {
jyv = jyv * -0.1;
}
}
}
if (Math.abs(force) < 0.1) {
force = 0;
}
if (dying > 0) {
if (aflame) {
killflames();
}
if (usejetpack) {
usejetpack = false;
yforce = jyv;
force = jxv;
}
if (issuibomb && (!hmn)) {
detonate();
}
ddelay++;
dying++;
if (ddelay > (4 * _root.runspeed)) {
if (_y == _root.ground) {
rspeed = rspeed * 1.3;
} else if (yforce >= 0) {
rspeed = rspeed * 1.1;
}
if ((_x < (_root.min + 25)) && (rspeed < 0)) {
rspeed = 1;
} else if ((_x > (_root.max - 25)) && (rspeed > 0)) {
rspeed = -1;
}
_rotation = (_rotation + (rspeed / _root.runspeed));
if (Math.abs(_rotation) > 90) {
if (_rotation < 0) {
_rotation = -90;
} else if (_rotation > 0) {
_rotation = 90;
}
rspeed = 0;
} else if ((Math.abs(_rotation) == 90) && (_y == _root.ground)) {
mysound = Math.ceil(Math.random() * 3);
if (_root.runspeed == 1) {
eval ("_root.fall" + mysound).start();
} else {
eval ("_root.lowfall" + mysound).start();
}
remove();
}
}
}
}
if ((_root.knifing && (hmn)) && (_x > 100)) {
_x = 100;
}
if (hasentered) {
if ((_x + 10) > _root.max) {
_x = (_root.max - 10);
if (usejetpack) {
jxv = jxv * -0.2;
}
} else if ((_x - 10) < _root.min) {
_x = (_root.min + 10);
if (usejetpack) {
jxv = jxv * -0.2;
}
}
} else if (((_x + 10) < _root.max) && ((_x - 10) > _root.min)) {
hasentered = true;
}
if (_root.detail >= 2) {
shadow._x = _x;
if (fromdoor) {
shadow._xscale = (shadow._yscale = (shadow._alpha = 100));
shadow._y = _y + 6;
} else {
shadow._y = _root.ground + 6;
shadow._visible = (_root.ground - _y) < 200;
shadow._xscale = (shadow._yscale = (shadow._alpha = (200 - (_root.ground - _y)) / 2));
}
}
}
}
Instance of Symbol 684 MovieClip "gen" in Frame 6
onClipEvent (load) {
function makeguy(h, z, x, y, gtype, isdoor, isjetpack, isbomb) {
_root.activeguys++;
if (_root.detail >= 2) {
_root.lowlevel++;
duplicateMovieClip (_root.shadow, "shadow" + _root.lowlevel, _root.lowlevel);
shadow = eval ("_root.shadow" + _root.lowlevel);
}
_root.lowlevel++;
duplicateMovieClip (_root.pgen, "guy" + _root.lowlevel, _root.lowlevel);
g = eval ("_root.guy" + _root.lowlevel);
g.gen = false;
g._x = x;
g._y = y;
if (_root.detail >= 2) {
g.shadow = shadow;
}
if (h) {
g.hmn = true;
_root.player = g;
if (_root.giveminigun) {
g.guntype = 19;
g.hand.ammo = 10000000 /* 0x989680 */;
} else {
g.guntype = 1;
}
g._y = _root.ground;
if (_root.inv) {
g.health = 1000000000 /* 0x3B9ACA00 */;
}
} else {
g.hmn = false;
if (isdoor) {
g.fromdoor = isdoor;
g._alpha = 0;
}
if (isjetpack) {
g.isjetpack = true;
} else {
g.isjetpack = false;
}
if (isbomb) {
g.issuibomb = true;
} else {
g.issuibomb = false;
}
if (_root.maingame) {
g.hat = _root.cset[0][Math.floor(Math.random() * _root.cset[0].length)];
g.glasses = _root.cset[1][Math.floor(Math.random() * _root.cset[1].length)];
g.beard = _root.cset[2][Math.floor(Math.random() * _root.cset[2].length)];
g.suit = _root.cset[3][Math.floor(Math.random() * _root.cset[3].length)];
}
if (_root.allrocket && (_root.maingame)) {
if (Math.random() < 0.5) {
g.guntype = 21;
} else {
g.guntype = 28;
}
} else if (gtype) {
g.guntype = gtype;
} else if (_root.enemyguns == "all") {
g.guntype = Math.ceil(Math.random() * _root.numguns);
} else {
g.guntype = _root.enemyguns[Math.floor(Math.random() * _root.enemyguns.length)];
}
g.hand.ammo = _root.ammo[g.guntype - 1];
if (g.guntype == 12) {
g.hand.k.gotoAndPlay(2);
}
}
g.zombie = z;
}
function sidex() {
if (Math.random() < 0.5) {
return((newx = -30));
}
return((newx = _root.width + 30));
}
makeguy(true, 0, 300, _root.ground);
if (_root.knifing) {
makeguy(false, false, 550, _root.ground);
} else if (_root.matrix) {
maxtimer = 60;
} else if (_root.zombie) {
ztimer = 0;
zdelay = 80;
jesustimer = 0;
jesusdelay = 500;
}
}
onClipEvent (enterFrame) {
if (_root.pause != true) {
if (_root.matrix) {
timer = timer + (1 / _root.runspeed);
if (_root.runspeed == 1) {
timer = Math.floor(timer);
}
if ((timer % maxtimer) == 0) {
timer = 0;
if (maxtimer > 5) {
maxtimer--;
}
makeguy(false, 0, sidex(), _root.ground);
}
} else if (_root.zombie) {
ztimer++;
jesustimer++;
if ((ztimer % zdelay) == 0) {
makeguy(false, 1, sidex(), _root.ground);
}
if ((jesustimer > jesusdelay) && (!_root.isjesus)) {
jesustimer = 0;
makeguy(false, 2, sidex(), 100);
if (jesusdelay > 100) {
jesusdelay = jesusdelay - 10;
}
if (zdelay > 20) {
zdelay = zdelay - 10;
}
}
} else if (_root.experiment) {
if (_root.ai) {
usex = sidex();
usey = _root.ground;
} else {
usex = 11 + (Math.random() * (_root.width - 22));
usey = 0;
}
timer++;
if (Key.isDown(_root.keys[_root.ki.newguy]) && (timer > 10)) {
timer = 0;
makeguy(false, 0, usex, usey);
}
if (_root.autospawn && (_root.targets.length < 4)) {
atimer++;
if ((atimer % 60) == 0) {
makeguy(false, 0, usex, usey);
}
}
}
}
}
Instance of Symbol 686 MovieClip "line" in Frame 6
onClipEvent (enterFrame) {
if (_name != "line") {
timer++;
if (timer > 1) {
removeMovieClip(this);
}
}
}
Instance of Symbol 688 MovieClip "gunkeys" in Frame 6
onClipEvent (load) {
if (_root.survival) {
sguns = new Array(2, 11, 12, 13, 24, 25, 29);
}
}
onClipEvent (enterFrame) {
if (_root.pause != true) {
if (timer < 0) {
if (Key.isDown(49)) {
timer = 10;
_root.tgun.makegun(2);
} else if (Key.isDown(50)) {
timer = 10;
_root.tgun.makegun(3);
} else if (Key.isDown(51)) {
timer = 10;
_root.tgun.makegun(4);
} else if (Key.isDown(52)) {
timer = 10;
_root.tgun.makegun(5);
} else if (Key.isDown(53)) {
timer = 10;
_root.tgun.makegun(6);
} else if (Key.isDown(54)) {
timer = 10;
_root.tgun.makegun(7);
} else if (Key.isDown(55)) {
timer = 10;
_root.tgun.makegun(8);
} else if (Key.isDown(56)) {
timer = 10;
_root.tgun.makegun(9);
} else if (Key.isDown(57)) {
timer = 10;
_root.tgun.makegun(10);
} else if (Key.isDown(48)) {
timer = 10;
_root.tgun.makegun(11);
} else if (Key.isDown(189)) {
timer = 10;
_root.tgun.makegun(12);
} else if (Key.isDown(187)) {
timer = 10;
_root.tgun.makegun(13);
} else if (Key.isDown(8)) {
timer = 10;
_root.tgun.makegun(14);
} else if (Key.isDown(97)) {
timer = 10;
_root.tgun.makegun(15);
} else if (Key.isDown(98)) {
timer = 10;
_root.tgun.makegun(16);
} else if (Key.isDown(99)) {
timer = 10;
_root.tgun.makegun(17);
} else if (Key.isDown(100)) {
timer = 10;
_root.tgun.makegun(18);
} else if (Key.isDown(101)) {
timer = 10;
_root.tgun.makegun(19);
} else if (Key.isDown(102)) {
timer = 10;
_root.tgun.makegun(20);
} else if (Key.isDown(103)) {
timer = 10;
_root.tgun.makegun(21);
} else if (Key.isDown(104)) {
timer = 10;
_root.tgun.makegun(22);
} else if (Key.isDown(105)) {
timer = 10;
_root.tgun.makegun(23);
} else if (Key.isDown(110)) {
timer = 10;
_root.tgun.makegun(24);
} else if (Key.isDown(96)) {
timer = 10;
_root.tgun.makegun(25);
} else if (Key.isDown(107)) {
timer = 10;
_root.tgun.makegun(26);
} else if (Key.isDown(109)) {
timer = 10;
_root.tgun.makegun(27);
} else if (Key.isDown(111)) {
timer = 10;
_root.tgun.makegun(28);
} else if (Key.isDown(106)) {
timer = 10;
_root.tgun.makegun(29);
}
}
if (_root.experiment) {
timer--;
}
if (Key.isDown(_root.keys[_root.ki.quit])) {
_root.ret();
}
ptimer--;
if ((ptimer < 0) && (Key.isDown(_root.keys[_root.ki.pause]))) {
ptimer = 10;
if (_root.pause != true) {
_root.dopause();
stopAllSounds();
Mouse.show();
if (_root.experiment) {
_root.newmenu(150, 50, 300, 300, "Pause", _root.expausemenu);
} else {
_root.newmenu(200, 150, 200, 100, "Pause", _root.regpausemenu);
}
}
}
if (_root.zombie) {
ztimer--;
if (ztimer < 0) {
ztimer = 200;
_root.tgun.makegun(3);
}
} else if (_root.lasermode) {
lmtimer--;
if (lmtimer < 0) {
lmtimer = 150;
_root.tgun.makegun(2);
}
}
}
}
Instance of Symbol 27 MovieClip "timemaster" in Frame 6
onClipEvent (load) {
function rtl() {
totaltime = _root.timeleft;
partsecs = Math.round(((totaltime % 30) / 30) * 100);
secs = (totaltime - (totaltime % 30)) / 30;
mins = (secs - (secs % 60)) / 60;
secs = secs % 60;
if (partsecs < 10) {
partsecs = "0" + partsecs;
}
if (secs < 10) {
secs = "0" + secs;
}
_root.showtimeleft = (((mins + ":") + secs) + ".") + partsecs;
}
_root.regen = -1;
}
onClipEvent (enterFrame) {
if (_root.pause != true) {
if (_root.regen > 0) {
_root.regen--;
if (_root.regen == 0) {
_root.gen.makeguy(true, false, 300, 0);
}
}
if (_root.knifing) {
_root.timeleft--;
rtl();
if (_root.timeleft <= 0) {
stopAllSounds();
Mouse.show();
_root.pause = true;
_root.accuracy = Math.round((_root.enemies_hit / _root.shotsfired) * 100) + "%";
_root.newmenu(150, 100, 300, 200, "Game Over", _root.endchallengescore);
}
} else if (_root.lasermode) {
_root.timeleft++;
rtl();
}
_root.totaltime++;
}
}
Instance of Symbol 691 MovieClip "btrbarsrc" in Frame 6
onClipEvent (enterFrame) {
xt = (_root.clip._x - _root.clip._width) - 10;
_x = (_x + ((xt - _x) / 3));
}
Instance of Symbol 694 MovieClip "bodygib" in Frame 6
onClipEvent (load) {
function remove() {
var _local1 = _root;
_local1.giblets.splice(id, 1);
i = id;
while (i < _local1.giblets.length) {
_local1.giblets[i].id--;
i++;
}
removeMovieClip(this);
}
yv = 0;
}
onClipEvent (enterFrame) {
if (_root.scenechange) {
rtimer++;
if (rtimer > 20) {
remove();
}
}
if ((rtimer > 20) || (_root._currentframe != _root.gameframe)) {
remove();
}
if ((gen == false) && (!_root.pause)) {
if (fading) {
timer++;
if (timer > 10) {
remove();
}
} else if (falling) {
_rotation = (_rotation + (rspeed / _root.runspeed));
rspeed = rspeed * 1.2;
if (Math.abs(_rotation) > 90) {
if (_rotation > 0) {
_rotation = 90;
} else {
_rotation = -90;
}
fading = true;
}
} else {
_rotation = 0;
_x = (_x + (xv / _root.runspeed));
_y = (_y + (yv / _root.runspeed));
if (_y < _root.ground) {
yv++;
xv = xv * 0.98;
} else if (_y > _root.ground) {
_y = _root.ground;
yv = 0;
} else if (_y == _root.ground) {
xv = xv * 0.5;
}
if ((_x < _root.min) && (_root.minwall)) {
_x = _root.min;
xv = xv * -0.2;
} else if ((_x > _root.max) && (_root.maxwall)) {
_x = _root._root.max;
xv = xv * -0.2;
}
if (Math.abs(xv) < 0.2) {
falling = true;
if (xv < 0) {
rspeed = -1;
} else {
rspeed = 1;
}
}
}
}
}
Instance of Symbol 697 MovieClip "headgib" in Frame 6
onClipEvent (load) {
function remove() {
var _local1 = _root;
_local1.giblets.splice(id, 1);
i = id;
while (i < _local1.giblets.length) {
_local1.giblets[i].id--;
i++;
}
removeMovieClip(this);
}
circumference = Math.PI * _width;
}
onClipEvent (enterFrame) {
if (_root.scenechange) {
rtimer++;
}
if ((rtimer > 20) || (_root._currentframe != _root.gameframe)) {
remove();
}
if ((gen == false) && (!_root.pause)) {
if (fading) {
timer++;
if (timer > 10) {
remove();
}
} else {
_rotation = (_rotation + rv);
_x = (_x + (xv / _root.runspeed));
_y = (_y + (yv / _root.runspeed));
if (_y < _root.ground) {
yv++;
xv = xv * 0.98;
rv = rv * 0.98;
} else if (_y > _root.ground) {
_y = _root.ground;
yv = 0;
} else if (_y == _root.ground) {
xv = xv * 0.5;
rv = rv * 0.5;
}
if ((!hashit) && ((((_x + (_width / 2)) > _root.max) && (_root.maxwall)) || (((_x - (_width / 2)) < _root.min) && (_root.minwall)))) {
xv = xv * -0.3;
rv = rv * -0.3;
hashit = true;
}
if (Math.abs(xv) < 0.2) {
fading = true;
}
}
}
}
Instance of Symbol 706 MovieClip "chunk" in Frame 6
onClipEvent (load) {
animsize = 8;
gotoAndStop((Math.floor((Math.random() * _totalframes) / animsize) * animsize) + 1);
_rotation = (Math.random() * 360);
}
onClipEvent (enterFrame) {
if (_root.scenechange) {
rtimer++;
}
if ((rtimer > 20) || (_root._currentframe != _root.gameframe)) {
removeMovieClip(this);
}
if ((gen == false) && (!_root.pause)) {
if (fade) {
timer++;
if (timer > 10) {
removeMovieClip(this);
}
} else {
_x = (_x + (xv / _root.runspeed));
_y = (_y + (yv / _root.runspeed));
_rotation = (_rotation + rv);
rv = rv * 0.99;
xv = xv * 0.99;
yv++;
if ((_x > _root.max) && (_root.maxwall)) {
_x = _root.max;
xv = xv * -0.1;
} else if ((_x < _root.min) && (_root.minwall)) {
_x = _root.min;
xv = xv * -1;
}
if (_y > _root.ground) {
_y = _root.ground;
if (yv > 12) {
yv = yv * -0.3;
} else {
fade = true;
}
}
}
}
}
Instance of Symbol 710 MovieClip "shard" in Frame 6
onClipEvent (load) {
var dt = 0;
var xv = ((Math.random() * 10) - 5);
var yv = ((Math.random() * 5) - 10);
var rv = ((Math.random() * 10) - 5);
_x = (_x + ((Math.random() * 4) - 2));
_y = (_y + ((Math.random() * 4) - 2));
gotoAndStop(Math.ceil(Math.random() * _totalframes));
}
onClipEvent (enterFrame) {
if ((gen == false) && (!_root.pause)) {
if (yv != 0) {
yv = yv + (1 / _root.runspeed);
}
xv = xv * (1 - (0.01 / _root.runspeed));
rv = rv * (1 - (0.001 / _root.runspeed));
_x = (_x + (xv / _root.runspeed));
_y = (_y + (yv / _root.runspeed));
_rotation = (_rotation + (rv / _root.runspeed));
if (_y > _root.ground) {
_y = _root.ground;
if (yv > 7) {
yv = yv * -0.3;
} else {
yv = 0;
}
} else if (_y == _root.ground) {
xv = xv * (1 - (0.5 / _root.runspeed));
rv = rv * (1 - (0.5 / _root.runspeed));
dt++;
if (dt > 10) {
removeMovieClip(this);
}
}
trace((_y + " | ") + _root.ground);
}
}
Instance of Symbol 81 MovieClip "flame" in Frame 6
onClipEvent (load) {
function die() {
dead = true;
}
}
onClipEvent (enterFrame) {
if (dead) {
_alpha = (_alpha - (10 / _root.runspeed));
if (_alpha < 0) {
removeMovieClip(this);
}
} else if (gen == false) {
if (move != false) {
_x = (_x + (xv / _root.runspeed));
_y = (_y + (yv / _root.runspeed));
if (((_x - _width) > _root.width) || ((_x + _width) < 0)) {
removeMovieClip(this);
}
xv = xv * (1 - (0.01 / _root.runspeed));
yv = yv * (1 + (0.01 / _root.runspeed));
f = f + (1 / _root.runspeed);
if (f > 6) {
_alpha = (_alpha - (10 / _root.runspeed));
if (_alpha <= 0) {
removeMovieClip(this);
}
}
}
i = 0;
while (i < _root.targets.length) {
if ((_root.targets[i].hmn != hmn) && (_root.targets[i].hasburned != true)) {
if (_root.targets[i].hitTest(_x, _y, true)) {
_root.targets[i].health = _root.targets[i].health - 0.3;
if (_root.targets[i].health <= 0) {
_root.targets[i].lightup();
}
}
}
i++;
}
}
}
Instance of Symbol 715 MovieClip "killcounter" in Frame 6
onClipEvent (load) {
if (_root.knifing || (_root.lasermode)) {
_visible = false;
}
}
Instance of Symbol 718 MovieClip in Frame 6
onClipEvent (load) {
if (!_root.knifing) {
_visible = false;
}
}
Instance of Symbol 721 MovieClip in Frame 6
onClipEvent (load) {
if (!_root.knifing) {
_visible = false;
}
}
Instance of Symbol 724 MovieClip in Frame 6
onClipEvent (load) {
if (!_root.lasermode) {
_visible = false;
}
}
Instance of Symbol 726 MovieClip "hud" in Frame 6
onClipEvent (enterFrame) {
if (!_root.pause) {
timer++;
if (timer > 60) {
_root.hudlist.splice(_root.hudlist.length - 1, 1);
}
}
}
Frame 7
Mouse.show();
stop();
accy = Math.round((enemies_hit / shotsfired) * 10000) / 100;
adisp = accy + "%";
if (kstring > maxstring) {
maxstring = kstring;
}
partsecs = Math.round(((totaltime % 30) / 30) * 100);
secs = (totaltime - (totaltime % 30)) / 30;
mins = (secs - (secs % 60)) / 60;
secs = secs % 60;
hours = (mins - (mins % 60)) / 60;
mins = mins % 60;
if (partsecs < 10) {
partsecs = "0" + partsecs;
}
if (secs < 10) {
secs = "0" + secs;
}
if (mins < 10) {
mins = "0" + mins;
}
gtime = (((((hours + ":") + mins) + ":") + secs) + ".") + partsecs;
if (ischeating) {
cemessage = "You get nothing, because you cheated!";
rating = 0;
} else {
apart = accy / 100;
if (totaltime > 18000) {
tpart = 0;
} else if (totaltime < 5400) {
tpart = 1;
} else {
tpart = 1 - ((totaltime - 5400) / 12600);
}
if (hmndeaths > 50) {
dpart = 0;
} else {
dpart = 1 - (hmndeaths / 50);
}
rating = Math.round(10000 * (((0.2 * apart) + (0.3 * tpart)) + (0.5 * dpart))) / 100;
}
Instance of Symbol 755 MovieClip in Frame 7
onClipEvent (load) {
if (!_root.ischeating) {
c1 = "apollo";
if (_root.rating >= 16) {
c2 = c2 + "hop";
}
if (_root.rating >= 33) {
c1 = c1 + "\ngump";
}
if (_root.rating >= 50) {
c2 = c2 + "\narnold";
}
if (_root.rating >= 66) {
c1 = c1 + "\nminnie";
}
if (_root.rating >= 83) {
c2 = c2 + "\nFLCL";
ismore = "You have unlocked all of the cheats!";
} else {
ismore = "There are still more cheats left to unlock!";
}
}
}
Frame 8
hsclip.loadVariables((((((((("http://YOUR_URL_HERE?name=" + hsname) + "&rating=") + rating) + "&deaths=") + hmndeaths) + ">ime=") + gtime) + "&accy=") + adisp, "GET");
Instance of Symbol 825 MovieClip "hsclip" in Frame 8
onClipEvent (load) {
_visible = false;
}
onClipEvent (data) {
_root.isloading._visible = false;
_visible = true;
i = 1;
while (i < 11) {
this["rating" + i] = this["rating" + i] + "%";
this["accy" + i] = this["accy" + i] + "%";
i++;
}
r = Number(user_rank);
if (r == 0) {
arrow._visible = false;
} else {
arrow._visible = true;
arrow._y = 28.1 + ((r - 1) * 26.3);
}
}
Frame 9
stop();
Symbol 25 MovieClip Frame 10
stop();
Symbol 57 MovieClip Frame 1
stop();
Symbol 60 Button
on (rollOver) {
if (lock != true) {
_root.oversound.start();
bg.gotoAndStop(2);
}
}
on (rollOut, releaseOutside) {
bg.gotoAndStop(1);
}
on (press) {
_root.oksound.start();
}
on (release) {
if (lock != true) {
if (ax == 0) {
_root.gotoAndStop("intro");
_root.maingame = true;
_root.killmenu(0);
} else if (ax == 1) {
_root.tutorial = true;
_root.killmenu(0);
} else if (ax == 2) {
_root.newmenu(175, 50, 250, 300, "Options", _root.options);
_root.fademenu(0, 50);
} else if (ax == 3) {
_root.newmenu(175, 75, 250, 250, "Challenges", _root.challenges);
_root.fademenu(0, 50);
} else if (ax == 4) {
_root.gotoAndStop("game");
_root.experiment = true;
_root.ai = true;
_root.invincibility = false;
_root.autospawn = false;
_root.killmenu(0);
} else if (ax == 5) {
_root.newmenu(357, 40, 213, 320, "Controls", _root.controls);
_root.fademenu(0, 25);
_root.fademenu(1, 50);
} else if (ax == 6) {
_root.newmenu(320, 100, 250, 200, "Display", _root.display);
_root.fademenu(0, 25);
_root.fademenu(1, 50);
} else if (ax == 7) {
_root.newmenu(280, 100, 300, 200, "Cheater!", _root.cheater);
_root.fademenu(0, 25);
_root.fademenu(1, 50);
} else if (ax == 8) {
_root.fademenu(0, 100);
_root.killmenu(1);
} else if (ax == 9) {
_root.fademenu(0, 50);
_root.fademenu(1, 100);
_root.killmenu(2);
} else if (ax == 10) {
_root.newmenu(330, 30, 240, 340, "Character", _root.character);
_root.fademenu(0, 25);
_root.fademenu(1, 50);
} else if (ax == 11) {
_root.unpause();
Mouse.hide();
_root.killmenu(0);
} else if (ax == 12) {
_root.gotoAndStop("game");
_root.ai = true;
_root.invincibility = false;
_root.matrix = true;
_root.killmenu(0);
_root.killmenu(0);
} else if (ax == 13) {
} else if (ax == 14) {
_root.pause = false;
_root.ret();
_root.killmenu(0);
} else if (ax == 15) {
_root.gotoAndStop("game");
_root.juggle = true;
_root.ai = false;
_root.invincibility = false;
_root.killmenu(0);
_root.killmenu(0);
} else if (ax == 16) {
_root.gotoAndStop("game");
_root.zombie = true;
_root.ai = true;
_root.invincibility = false;
_root.killmenu(0);
_root.killmenu(0);
} else if (ax == 17) {
_root.gotoAndStop("game");
_root.knifing = true;
_root.ai = false;
_root.invincibility = true;
_root.killmenu(0);
_root.killmenu(0);
} else if (ax == 18) {
_root.gotoAndStop("game");
_root.lasermode = true;
_root.ai = false;
_root.invincibility = false;
_root.killmenu(0);
_root.killmenu(0);
} else if (ax == 19) {
_root.newmenu(145, 40, 310, 320, "Info", _root.infomenu);
_root.fademenu(0, 50);
} else if (ax == 20) {
_root.newmenu(270, 50, 310, 300, "Credits", _root.creditmenu);
_root.fademenu(0, 25);
_root.fademenu(1, 50);
} else if (ax == 21) {
getURL ("http://www.flecko.net/", "blank");
} else if (ax == 22) {
getURL ("http://www.mmodule.com/", "blank");
} else if (ax == 23) {
getURL ("http://www.liquid-fires.com/", "blank");
} else if (ax == 24) {
getURL ("http://www.flecko.net/buyshirts.php", "blank");
} else if (ax == 25) {
_root.gotoAndStop("scores");
_root.killmenu(0);
} else if (ax == 26) {
_root.ischeating = false;
_root.armlength = 1;
_root.infbt = false;
_root.alwaysinvincible = false;
_root.highjump = false;
_root.laserguide = false;
_root.giveminigun = false;
_root.arnold = false;
_root.gump = false;
_root.allrocket = false;
_root.infammo = false;
}
}
}
Symbol 78 MovieClip Frame 1
function update() {
var _local1 = _root;
if (_parent._parent.gen == false) {
if (_name == "one") {
count++;
if (((count % 2) / _local1.runspeed) == 0) {
this.duplicateMovieClip("copy" + count, count);
}
} else {
_yscale = (_yscale - (15 / _local1.runspeed));
_xscale = (_yscale - (15 / _local1.runspeed));
if (_xscale <= 0) {
this.removeMovieClip();
}
_alpha = (_alpha - (5 / _local1.runspeed));
_y = (_y - (5 / _local1.runspeed));
if (Math.random() < 0.5) {
_x = (_x - ((Math.random() * 2) / _local1.runspeed));
} else {
_x = (_x + ((Math.random() * 2) / _local1.runspeed));
}
}
}
}
Instance of Symbol 78 MovieClip "one" in Symbol 79 MovieClip Frame 1
onClipEvent (enterFrame) {
update();
}
Instance of Symbol 78 MovieClip "one" in Symbol 80 MovieClip Frame 1
onClipEvent (enterFrame) {
update();
}
Instance of Symbol 81 MovieClip "flame" in Symbol 99 MovieClip Frame 10
onClipEvent (load) {
gen = false;
}
Symbol 120 Button
on (release) {
if (keylock != true) {
keylock = true;
id = 0;
k0 = "???";
}
}
Symbol 121 Button
on (release) {
if (keylock != true) {
keylock = true;
id = 1;
k1 = "???";
}
}
Symbol 122 Button
on (release) {
if (keylock != true) {
keylock = true;
id = 2;
k2 = "???";
}
}
Symbol 123 Button
on (release) {
if (keylock != true) {
keylock = true;
id = 3;
k3 = "???";
}
}
Symbol 124 Button
on (release) {
if (keylock != true) {
keylock = true;
id = 4;
k4 = "???";
}
}
Symbol 125 Button
on (release) {
if (keylock != true) {
keylock = true;
id = 5;
k5 = "???";
}
}
Symbol 126 Button
on (release) {
if (keylock != true) {
keylock = true;
id = 6;
k6 = "???";
}
}
Symbol 127 Button
on (release) {
if (keylock != true) {
keylock = true;
id = 7;
k7 = "???";
}
}
Symbol 128 Button
on (release) {
if (keylock != true) {
keylock = true;
id = 9;
k9 = "???";
}
}
Symbol 129 Button
on (release) {
if (keylock != true) {
keylock = true;
id = 8;
k8 = "???";
}
}
Symbol 132 Button
on (release) {
if (_root[myvar] == true) {
_root[myvar] = false;
gotoAndStop (1);
} else {
_root[myvar] = true;
gotoAndStop (2);
}
}
Symbol 134 MovieClip Frame 1
stop();
Symbol 136 Button
on (release) {
immune = 2;
showlist();
}
Symbol 138 MovieClip Frame 1
stop();
Symbol 139 Button
on (rollOver) {
if (lock != true) {
_root.oversound.start();
bg.gotoAndStop(2);
}
}
on (rollOut, releaseOutside) {
bg.gotoAndStop(1);
}
on (press) {
_root.oksound.start();
}
on (release) {
_root[setvar] = setval;
master.showval();
}
Symbol 143 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 1
stop();
Symbol 207 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 1
stop();
Instance of Symbol 150 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.suit);
}
Instance of Symbol 162 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.beard);
}
Instance of Symbol 207 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.glasses);
}
Instance of Symbol 219 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.hat);
}
Symbol 247 MovieClip Frame 1
function testcheat() {
var _local1 = _root;
trace("test");
if (_local1.ischeating) {
out = "Cheater!";
} else if (_local1.matrix && (_local1.numkilled > 50)) {
out = "New cheat: newyorkminute";
} else if (_local1.zombie && (_local1.numkilled > 75)) {
out = "New cheat: willis";
} else if (_local1.knifing && (_local1.score >= 25)) {
out = "New cheat: armstrong";
} else if (_local1.lasermode && (_local1.timeleft > 2700)) {
out = "New cheat: guide";
} else {
out = "No cheats unlocked. Try harder!";
}
}
Instance of Symbol 247 MovieClip "newcheats" in Symbol 248 MovieClip Frame 1
onClipEvent (enterFrame) {
timer++;
if (timer == 2) {
testcheat();
}
}
Instance of Symbol 247 MovieClip "newcheats" in Symbol 252 MovieClip Frame 1
onClipEvent (enterFrame) {
timer++;
if (timer == 2) {
testcheat();
}
}
Symbol 254 Button
on (release) {
ch = mycheat.toLowerCase();
givec = true;
if (ch == "armstrong") {
_root.armlength = 2;
mycheat = "Reach doubled!";
} else if (ch == "newyorkminute") {
_root.infbt = true;
mycheat = "Infinite bullet time!";
} else if (ch == "willis") {
_root.alwaysinvincible = true;
mycheat = "Unbreakable!";
} else if (ch == "hop") {
_root.highjump = true;
mycheat = "High jump!";
} else if (ch == "guide") {
_root.laserguide = true;
mycheat = "Laser guide!";
} else if (ch == "minnie") {
_root.giveminigun = true;
mycheat = "Minigun power!";
} else if (ch == "arnold") {
_root.arnold = true;
mycheat = "Pumped up!";
} else if (ch == "gump") {
_root.gump = true;
mycheat = "Run!";
} else if (ch == "apollo") {
_root.allrocket = true;
mycheat = "All enemies use explosives!";
} else if (ch == "flcl") {
_root.infammo = true;
mycheat = "Infinite ammo!";
} else {
givec = false;
mycheat = "No dice.";
}
if (givec) {
_root.ischeating = true;
}
}
Instance of Symbol 247 MovieClip "newcheats" in Symbol 261 MovieClip Frame 1
onClipEvent (enterFrame) {
timer++;
if (timer == 2) {
testcheat();
}
}
Symbol 269 Button
on (release) {
getURL ("http://www.mmodule.com/", "blank");
}
Symbol 394 MovieClip Frame 1
stop();
Instance of Symbol 162 MovieClip in Symbol 394 MovieClip Frame 9
onClipEvent (enterFrame) {
gotoAndStop(_root.beard);
}
Instance of Symbol 207 MovieClip in Symbol 394 MovieClip Frame 9
onClipEvent (enterFrame) {
gotoAndStop(_root.glasses);
}
Instance of Symbol 219 MovieClip in Symbol 394 MovieClip Frame 9
onClipEvent (enterFrame) {
gotoAndStop(_root.hat);
}
Symbol 395 MovieClip Frame 1
function scale() {
_yscale = (_yscale + ((_parent.yst - _yscale) / 3));
}
_yscale = 0;
Instance of Symbol 395 MovieClip "s1" in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
scale();
}
Instance of Symbol 395 MovieClip "s2" in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
scale();
}
Symbol 424 MovieClip Frame 1
stop();
Symbol 464 MovieClip Frame 1
stop();
Instance of Symbol 428 MovieClip "pt0" in Symbol 464 MovieClip Frame 1
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt1" in Symbol 464 MovieClip Frame 1
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt2" in Symbol 464 MovieClip Frame 1
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 464 MovieClip Frame 2
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 464 MovieClip Frame 3
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt2" in Symbol 464 MovieClip Frame 4
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt5" in Symbol 464 MovieClip Frame 4
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 464 MovieClip Frame 4
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 464 MovieClip Frame 5
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 464 MovieClip Frame 5
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 464 MovieClip Frame 7
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt6" in Symbol 464 MovieClip Frame 7
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 464 MovieClip Frame 7
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt5" in Symbol 464 MovieClip Frame 7
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt7" in Symbol 464 MovieClip Frame 7
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt2" in Symbol 464 MovieClip Frame 9
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 464 MovieClip Frame 10
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 464 MovieClip Frame 11
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 464 MovieClip Frame 12
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt2" in Symbol 464 MovieClip Frame 13
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 464 MovieClip Frame 13
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 464 MovieClip Frame 14
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 464 MovieClip Frame 14
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt2" in Symbol 464 MovieClip Frame 15
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 464 MovieClip Frame 15
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 464 MovieClip Frame 16
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 464 MovieClip Frame 16
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt2" in Symbol 464 MovieClip Frame 18
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 464 MovieClip Frame 18
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt5" in Symbol 464 MovieClip Frame 18
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt6" in Symbol 464 MovieClip Frame 18
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt6" in Symbol 464 MovieClip Frame 19
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt5" in Symbol 464 MovieClip Frame 19
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 464 MovieClip Frame 19
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 464 MovieClip Frame 19
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt2" in Symbol 464 MovieClip Frame 20
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 464 MovieClip Frame 20
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt5" in Symbol 464 MovieClip Frame 20
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 464 MovieClip Frame 21
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt5" in Symbol 464 MovieClip Frame 21
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 464 MovieClip Frame 21
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt2" in Symbol 464 MovieClip Frame 24
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 464 MovieClip Frame 24
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt0" in Symbol 464 MovieClip Frame 24
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt0" in Symbol 464 MovieClip Frame 24
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt0" in Symbol 464 MovieClip Frame 27
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt1" in Symbol 464 MovieClip Frame 27
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt2" in Symbol 464 MovieClip Frame 27
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 464 MovieClip Frame 27
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt5" in Symbol 464 MovieClip Frame 28
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt5" in Symbol 464 MovieClip Frame 28
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt0" in Symbol 466 MovieClip Frame 1
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt1" in Symbol 466 MovieClip Frame 1
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt2" in Symbol 466 MovieClip Frame 1
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 466 MovieClip Frame 1
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Symbol 483 MovieClip Frame 4
remove();
Symbol 483 MovieClip Frame 9
remove();
Symbol 483 MovieClip Frame 14
remove();
Symbol 483 MovieClip Frame 20
remove();
Symbol 486 MovieClip Frame 3
removeMovieClip(this);
Symbol 491 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 1
stop();
Symbol 518 MovieClip Frame 6
removeMovieClip(this);
Instance of Symbol 520 MovieClip in Symbol 521 MovieClip Frame 1
onClipEvent (enterFrame) {
_visible = _parent._parent._parent.usejetpack;
}
Instance of Symbol 428 MovieClip "pt0" in Symbol 521 MovieClip Frame 1
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt1" in Symbol 521 MovieClip Frame 1
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Symbol 528 MovieClip Frame 1
stop();
Instance of Symbol 528 MovieClip "showbar" in Symbol 529 MovieClip Frame 1
onClipEvent (load) {
_yscale = 0;
yst = 0;
}
onClipEvent (enterFrame) {
yst = (_parent.ammo / _parent.fullammo) * 100;
_yscale = (_yscale + ((yst - _yscale) / 3));
}
Symbol 533 MovieClip Frame 30
shoot();
gotoAndStop (1);
Symbol 539 MovieClip Frame 1
stop();
Symbol 539 MovieClip Frame 6
gotoAndStop (1);
Symbol 546 MovieClip Frame 1
stop();
Symbol 569 MovieClip Frame 1
stop();
Symbol 590 MovieClip Frame 1
stop();
Symbol 593 MovieClip Frame 1
stop();
Instance of Symbol 520 MovieClip in Symbol 595 MovieClip Frame 1
onClipEvent (load) {
_visible = _parent._parent._parent.usejetpack;
}
onClipEvent (enterFrame) {
_visible = _parent._parent._parent.usejetpack;
}
Symbol 602 MovieClip Frame 1
stop();
Instance of Symbol 150 MovieClip in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent.suit);
}
Instance of Symbol 590 MovieClip "blood" in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
if (_name == "blood") {
_visible = false;
}
if (_y < 0) {
_y = 0;
} else if (_y > 53) {
_y = 53;
}
}
Instance of Symbol 593 MovieClip "stuck" in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
if (_name == "stuck") {
_visible = false;
}
}
Instance of Symbol 595 MovieClip in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
_visible = _parent._parent.isjetpack;
}
onClipEvent (enterFrame) {
_visible = _parent._parent.isjetpack;
}
Instance of Symbol 597 MovieClip in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
_visible = _parent._parent.issuibomb;
}
onClipEvent (enterFrame) {
_visible = _parent._parent.issuibomb;
}
Symbol 602 MovieClip Frame 3
stop();
Symbol 602 MovieClip Frame 6
stop();
Symbol 613 MovieClip Frame 1
stop();
Symbol 618 MovieClip Frame 1
stop();
Instance of Symbol 590 MovieClip "blood" in Symbol 618 MovieClip Frame 1
onClipEvent (load) {
if (_name == "blood") {
_visible = false;
}
if (_y > 0) {
_y = 0;
} else if (_y < -40) {
_y = -40;
}
}
Instance of Symbol 162 MovieClip in Symbol 618 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(Number(_parent._parent.beard));
}
Instance of Symbol 207 MovieClip in Symbol 618 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(Number(_parent._parent.glasses));
}
Instance of Symbol 219 MovieClip in Symbol 618 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(Number(_parent._parent.hat));
}
Instance of Symbol 593 MovieClip "stuck" in Symbol 618 MovieClip Frame 1
onClipEvent (load) {
if (_name == "stuck") {
_visible = false;
}
}
Symbol 618 MovieClip Frame 3
stop();
Symbol 618 MovieClip Frame 6
stop();
Symbol 681 MovieClip Frame 1
stop();
Instance of Symbol 428 MovieClip "pt0" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt1" in Symbol 681 MovieClip Frame 1
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt2" in Symbol 681 MovieClip Frame 3
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 681 MovieClip Frame 5
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 681 MovieClip Frame 7
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt2" in Symbol 681 MovieClip Frame 9
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt5" in Symbol 681 MovieClip Frame 9
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 681 MovieClip Frame 9
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 681 MovieClip Frame 11
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 681 MovieClip Frame 11
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt9" in Symbol 681 MovieClip Frame 11
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 681 MovieClip Frame 15
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt6" in Symbol 681 MovieClip Frame 15
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 681 MovieClip Frame 15
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt5" in Symbol 681 MovieClip Frame 15
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt7" in Symbol 681 MovieClip Frame 15
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt2" in Symbol 681 MovieClip Frame 19
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 681 MovieClip Frame 21
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 681 MovieClip Frame 23
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 681 MovieClip Frame 25
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt2" in Symbol 681 MovieClip Frame 27
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 681 MovieClip Frame 27
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 681 MovieClip Frame 29
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 681 MovieClip Frame 29
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt2" in Symbol 681 MovieClip Frame 31
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 681 MovieClip Frame 31
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 681 MovieClip Frame 33
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 681 MovieClip Frame 33
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt2" in Symbol 681 MovieClip Frame 37
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 681 MovieClip Frame 37
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt5" in Symbol 681 MovieClip Frame 37
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt6" in Symbol 681 MovieClip Frame 37
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt6" in Symbol 681 MovieClip Frame 39
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt5" in Symbol 681 MovieClip Frame 39
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 681 MovieClip Frame 39
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 681 MovieClip Frame 39
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt2" in Symbol 681 MovieClip Frame 41
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 681 MovieClip Frame 41
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt5" in Symbol 681 MovieClip Frame 41
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt4" in Symbol 681 MovieClip Frame 43
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt5" in Symbol 681 MovieClip Frame 43
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 681 MovieClip Frame 43
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt2" in Symbol 681 MovieClip Frame 49
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 681 MovieClip Frame 49
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt1" in Symbol 681 MovieClip Frame 49
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt1" in Symbol 681 MovieClip Frame 49
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt0" in Symbol 681 MovieClip Frame 55
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt1" in Symbol 681 MovieClip Frame 55
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt2" in Symbol 681 MovieClip Frame 55
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt3" in Symbol 681 MovieClip Frame 55
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt5" in Symbol 681 MovieClip Frame 57
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Instance of Symbol 428 MovieClip "pt5" in Symbol 681 MovieClip Frame 57
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Symbol 682 MovieClip Frame 1
stop();
Instance of Symbol 558 MovieClip in Symbol 682 MovieClip Frame 1
onClipEvent (load) {
depth = 54;
}
onClipEvent (enterFrame) {
r = ((-_parent.body._rotation) / 180) * Math.PI;
_x = (_parent.body._x + (Math.sin(r) * depth));
_y = (_parent.body._y + (Math.cos(r) * depth));
_rotation = _parent.body._rotation;
}
Instance of Symbol 464 MovieClip "stogun" in Symbol 682 MovieClip Frame 1
onClipEvent (enterFrame) {
_visible = _parent.hand.storetype[_parent.hand.resgun];
if (_visible) {
gotoAndStop(_parent.hand.resgun - 1);
}
}
Instance of Symbol 602 MovieClip "body" in Symbol 682 MovieClip Frame 1
onClipEvent (load) {
bx = _x;
by = _y;
wk = 40;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_rotation = (br + force);
force = force * (1 - (0.2 / _root.runspeed));
}
}
Instance of Symbol 618 MovieClip "head" in Symbol 682 MovieClip Frame 1
onClipEvent (load) {
bx = _x;
by = _y;
roff = (rofft = 0);
if (_parent.zombie == 1) {
c = new Color(this);
trans = new Object();
trans.gb = 0;
}
wk = 34;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (_parent.zombie == 1) {
if (_root.isjesus) {
gbt = 100;
} else {
gbt = 0;
}
trans.gb = trans.gb + ((gbt - trans.gb) / 3);
c.setTransform(trans);
}
_rotation = ((roff + br) + force);
force = force * (1 - (0.2 / _root.runspeed));
rofft = (_parent.hand._y - _parent.hand.yoff) / (3 * _root.armlength);
roff = roff + ((rofft - roff) / 8);
xt = bx + ((_parent.hand._x - _parent.hand.xoff) / (8 * _root.armlength));
if (xt < bx) {
xt = bx;
}
yt = by + dforce;
_x = (_x + ((xt - _x) / 8));
_y = (_y + ((yt - _y) / 3));
dforce = dforce * (1 - (0.2 / _root.runspeed));
}
}
Instance of Symbol 681 MovieClip "hand" in Symbol 682 MovieClip Frame 1
onClipEvent (load) {
function grenade() {
if (grtimer < 0) {
grtimer = 15;
_root.level++;
duplicateMovieClip (_root.grenade, "grenade" + _root.level, _root.level);
g = eval ("_root.grenade" + _root.level);
g._x = pt0.x;
g._y = pt0.y;
g._rotation = _rotation;
ur = (arot / 180) * Math.PI;
g.yv = Math.sin(ur) * 30;
g.xv = Math.cos(ur) * 30;
g.gen = false;
kick();
flash(3);
if (_root.runspeed == 1) {
_root.gl.start();
} else {
_root.lowgl.start();
}
if ((!_parent.hmn) || (!_root.infammo)) {
ammo--;
}
if (_parent.hmn) {
_root.clip.fire();
}
}
}
function stopfire(cut) {
var _local1 = _root;
var _local2 = cut;
if (cfire) {
if (_local2) {
cfire = false;
}
_local1.c.stop();
_local1.lowc.stop();
}
if (sfire) {
if (_local2) {
sfire = false;
}
_local1.s.stop();
_local1.lows.stop();
}
if (akfire) {
if (_local2) {
akfire = false;
}
_local1.ak.stop();
_local1.lowak.stop();
}
if (lfire) {
if (_local2) {
lfire = false;
}
_local1.l85.stop();
_local1.lowl85.stop();
}
if (ufire) {
if (_local2) {
ufire = false;
}
_local1.ump.stop();
_local1.lowump.stop();
}
if (cgfire) {
if (_local2) {
cgfire = false;
}
_local1.cgs.stop();
_local1.lowmini.stop();
_local1.cgse.start();
}
if (flamefire) {
if (_local2) {
flamefire = false;
}
_local1.flame.stop();
_local1.lowflame.stop();
}
if (autofire) {
if (_local2) {
autofire = false;
}
_local1.mag.stop();
_local1.lowmag.stop();
}
if (tfire) {
if (_local2) {
tfire = (viselec = false);
}
_local1.zap.stop();
_local1.lowzap.stop();
}
}
function startfire() {
var _local1 = _root;
if (cfire) {
if (_local1.runspeed == 1) {
_local1.c.start(0, 10000);
} else {
_local1.lowc.start(0, 10000);
}
}
if (sfire) {
if (_local1.runspeed == 1) {
_local1.s.start(0, 10000);
} else {
_local1.lowsmg.start(0, 10000);
}
}
if (akfire) {
if (_local1.runspeed == 1) {
_local1.ak.start(0, 10000);
} else {
_local1.lowak.start(0, 10000);
}
}
if (lfire) {
if (_local1.runspeed == 1) {
_local1.l85.start(0, 10000);
} else {
_local1.lowl85.start(0, 10000);
}
}
if (ufire) {
if (_local1.runspeed == 1) {
_local1.ump.start(0, 10000);
} else {
_local1.lowump.start(0, 10000);
}
}
if (cgfire) {
if (_local1.runspeed == 1) {
_local1.cgs.start(0, 100000);
} else {
_local1.lowmini.start(0, 10000);
}
}
if (flamefire) {
if (_local1.runspeed == 1) {
_local1.flame.start(0, 100000);
} else {
_local1.lowflame.start(0, 100000);
}
}
if (autofire) {
if (_local1.runspeed == 1) {
_local1.mag.start(0, 100000);
} else {
_local1.lowmag.start(0, 100000);
}
}
if (tfire) {
if (_local1.runspeed == 1) {
_local1.zap.start(0, 100000);
} else {
_local1.lowzap.start(0, 100000);
}
}
}
function soundswitch() {
stopfire(false);
startfire();
}
function dropgun() {
dropguntimer = 10;
_root.level++;
duplicateMovieClip (_root.tgun, "tgun" + _root.level, _root.level);
tgun = eval ("_root.tgun" + _root.level);
tgun.type = _parent.guntype;
if ((_parent.guntype == 8) || (_parent.guntype == 5)) {
tgun.xv = (tgun.yv = (tgun.rv = 0));
} else {
tgun.xv = txc * f;
tgun.yv = tyc;
tgun.rv = (hv / 10) * fdir;
}
tgun.fdir = fdir;
tgun.par = _parent;
tgun.gen = false;
tgun.thrown = true;
tgun.ammo = ammo;
tgun._x = ax;
tgun._y = ay;
tgun._rotation = arot;
if (_parent.f == -1) {
tgun._yscale = -100;
}
_parent.guntype = 1;
gotoAndStop (1);
kout = false;
ammo = 0;
if (_parent.hmn) {
_root.clip.unloadgun();
}
if (_root.tutorial && (_parent.hmn)) {
_root.hasthrown = true;
}
}
function kick() {
var _local1 = _parent;
tkang = kang + (arad * f);
yk = (Math.sin(tkang) * gunkick[_local1.guntype]) * f;
xk = (Math.cos(tkang) * gunkick[_local1.guntype]) * f;
if (_local1.usejetpack) {
_local1.jxv = _local1.jxv + ((xk / 12) * f);
_local1.jyv = _local1.jyv + (yk / 12);
}
}
function flash(fltype) {
px = pt0.x + ((_parent.d * _parent.speed) * 2);
py = pt0.y;
_root.level++;
duplicateMovieClip (_root.flash, "flash" + _root.level, _root.level);
fl = eval ("_root.flash" + _root.level);
fl._x = px;
fl._y = py;
fl._rotation = arot;
fl.gotoAndStop(fltype);
}
function shoot(angle) {
shoottime = _root.runspeed;
if (_parent.hmn) {
_root.shotsfired++;
}
kick();
rad = (angle / 180) * Math.PI;
m = Math.sin(rad) / Math.cos(rad);
b = ay - (m * ax);
if (_parent.guntype == 21) {
_root.level++;
duplicateMovieClip (_root.rocket, "rocket" + _root.level, _root.level);
rk = eval ("_root.rocket" + _root.level);
rk._x = pt0.x;
rk._y = pt0.y;
rk._rotation = arot;
rk.rad = rad;
rk.hmn = _parent.hmn;
rk.gen = false;
} else if ((_root.runspeed != 1) && (_parent.guntype != 20)) {
_root.level++;
duplicateMovieClip (_root.btgraphic, "bullet" + _root.level, _root.level);
mybullet = eval ("_root.bullet" + _root.level);
mybullet._x = (mybullet.ox = pt0.x);
mybullet._y = (mybullet.oy = pt0.y);
mybullet._rotation = angle;
mybullet.m = m;
mybullet.b = b;
mybullet.fdir = fdir;
mybullet.force = gunforce[_parent.guntype];
mybullet.damage = gundamage[_parent.guntype];
mybullet.guntype = _parent.guntype;
mybullet.hmn = _parent.hmn;
mybullet.gen = false;
} else {
ca = new Array();
yh = new Array();
closest = null;
minyhit = null;
mindist = 10000;
i = 0;
while (i < _root.targets.length) {
t = _root.targets[i];
xd = t._x - pt0.x;
yd = t._y - pt0.y;
d = Math.sqrt((xd * xd) + (yd * yd));
if ((((t.hmn != _parent.hmn) && ((t.dying <= 1) || ((t.ddelay < 5) && ((t.deadhits < 10) || (t.zombie == 3))))) && (((fdir == 1) && ((t._x + t.khw) > pt0.x)) || ((fdir == -1) && ((t._x - t.khw) < pt0.x)))) && (t.hasentered)) {
yhit = (m * t._x) + b;
yhit1 = (m * (t._x - t.khw)) + b;
yhit2 = (m * (t._x + t.khw)) + b;
maxyr = t._y;
minyr = t._y - t.kth;
misscond = ((yhit2 < minyr) && (yhit1 < minyr)) || ((yhit2 > maxyr) && (yhit1 > maxyr));
if (!misscond) {
ca[ca.length] = t;
yh[ca.length - 1] = yhit;
if (d < mindist) {
mindist = d;
minyhit = yhit;
closest = t;
}
}
}
i++;
}
if (_parent.guntype == 20) {
n = 0;
while (n < ca.length) {
closest = ca[n];
yhit = yh[n];
headshot = yhit < (closest._y - 50);
if ((mindist < 100) && ((_parent.guntype == 3) || (_parent.guntype == 15))) {
if (headshot) {
if (((closest._x > pt0.x) && (closest.f == 1)) || ((closest._x < pt0.x) && (closest.f == -1))) {
bltype = 5;
} else {
bltype = 4;
}
} else if (((closest._x > pt0.x) && (closest.f == 1)) || ((closest._x < pt0.x) && (closest.f == -1))) {
bltype = 7;
} else {
bltype = 6;
}
} else {
bltype = gunblood[_parent.guntype];
}
closest.blood(headshot, yhit, bltype, fdir);
closest.hit(headshot, fdir, gundamage[_parent.guntype], gunforce[_parent.guntype]);
n++;
}
} else if (closest != null) {
headshot = minyhit < (closest._y - 50);
if ((mindist < 100) && ((_parent.guntype == 3) || (_parent.guntype == 15))) {
if (headshot) {
if (((closest._x > pt0.x) && (closest.f == 1)) || ((closest._x < pt0.x) && (closest.f == -1))) {
bltype = 5;
} else {
bltype = 4;
}
} else if (((closest._x > pt0.x) && (closest.f == 1)) || ((closest._x < pt0.x) && (closest.f == -1))) {
bltype = 7;
} else {
bltype = 6;
}
} else {
bltype = gunblood[_parent.guntype];
}
closest.blood(headshot, minyhit, bltype, fdir);
closest.hit(headshot, fdir, gundamage[_parent.guntype], gunforce[_parent.guntype]);
}
}
if (_parent.guntype != 21) {
flash(flashtype[_parent.guntype]);
if (_parent.guntype == 20) {
_root.level++;
duplicateMovieClip (_root.rail, "rail" + _root.level, _root.level);
rl = eval ("_root.rail" + _root.level);
rl._x = px;
rl._y = py;
rl._rotation = angle;
rl._xscale = 800;
rl.gen = false;
} else if (_root.runspeed == 1) {
_root.level++;
duplicateMovieClip (_root.line, "line" + _root.level, _root.level);
l = eval ("_root.line" + _root.level);
l._x = px;
l._y = py;
l._rotation = angle;
if (closest != null) {
l._xscale = mindist / 2;
l._xscale = l._xscale - ((l._xscale / 4) + (Math.random() * (l._xscale / 2)));
} else {
l._xscale = 75 + (Math.random() * 50);
}
}
if (_root.detail == 2) {
if ((x == 0) || ((_parent.guntype != 3) && (_parent.guntype != 15))) {
_root.level++;
duplicateMovieClip (_root.shell, "shell" + _root.level, _root.level);
sh = eval ("_root.shell" + _root.level);
sh._x = pt1.x;
sh._y = pt1.y;
sh._rotation = _rotation * f;
sh._xscale = sh._xscale * f;
sh.gen = false;
sh.gotoAndStop(shelltype[_parent.guntype]);
}
}
}
if ((x == 0) || ((_parent.guntype != 3) && (_parent.guntype != 15))) {
if (_parent.hmn) {
_root.clip.fire();
}
if ((!_parent.hmn) || (!_root.infammo)) {
ammo--;
}
}
}
function getgun(p) {
var _local1 = p;
var _local2 = _parent;
var _local3 = _root;
if (((_local1.type == 26) && (!_local2.isjetpack)) && (!_local2.issuibomb)) {
_local2.isjetpack = true;
_local1.remove();
} else if (((_local1.type == 27) && (!_local2.isjetpack)) && (!_local2.issuibomb)) {
_local2.issuibomb = true;
_local1.remove();
} else if ((_local1.type != 26) && (_local1.type != 27)) {
_local2.guntype = _local1.type;
ammo = _local1.ammo;
_local3.clip.loadgun(_local1.type, _local1.ammo);
gotoAndStop(((2 * _local2.guntype) - 1) + (f == -1));
if (_local1.type == 12) {
k.gotoAndPlay(2);
_local3.knife.start();
}
if (_local3.tutorial) {
_local3.gotgun = true;
}
_local1.remove();
_local3.pttrace = usepoints[_local2.guntype - 1];
}
}
function firetest() {
var _local1 = _root;
var _local2 = _parent;
var _local3 = this;
if (shoottime < 0) {
if ((_local2.guntype == 1) && (_local2.hmn)) {
i = 0;
while (i < _local1.pickups.length) {
p = _local1.pickups[i];
if (_local3.hitTest(p)) {
getgun(p);
break;
}
i++;
}
} else if (ammo > 0) {
if (_local2.guntype == 2) {
shoot(arot);
if (_local1.runspeed == 1) {
_local1.pistol.start();
} else {
_local1.lowpistol.start();
}
} else if (_local2.guntype == 3) {
if (sgtimer < 0) {
sgtimer = 10;
x = 0;
while (x < 5) {
shoot((arot - 10) + (Math.random() * 20));
x++;
}
if (_local1.runspeed == 1) {
_local1.shotgun.start();
} else {
_local1.lowshotgun.start();
}
}
} else if ((_local2.guntype == 4) && (uzifiring <= 0)) {
uzifiring = 3;
if (_local1.runspeed == 1) {
_local1.uzi.start();
} else {
_local1.lowuzi.start();
}
} else if (_local2.guntype == 5) {
if (_local1.runspeed == 1) {
_local1.m.start();
} else {
_local1.lowm16.start();
}
shoot(arot);
} else if (_local2.guntype == 6) {
cfire = true;
cftimer = -1;
startfire();
} else if (_local2.guntype == 7) {
if (_local1.runspeed == 1) {
_local1.deagle.start();
} else {
_local1.lowde.start();
}
shoot(arot);
} else if (_local2.guntype == 8) {
m60fire = 3;
m60timer = 0;
if (_local1.runspeed == 1) {
_local1.mach.start();
} else {
_local1.lowmach.start();
}
} else if (_local2.guntype == 9) {
sftimer = -1;
sfire = true;
startfire();
} else if (_local2.guntype == 10) {
shoot(arot);
if (_local1.runspeed == 1) {
_local1.sil.start();
} else {
_local1.lowsilenced.start();
}
} else if (_local2.guntype == 14) {
akfire = true;
aktimer = 1;
startfire();
} else if (_local2.guntype == 15) {
x = 0;
while (x < 5) {
shoot((arot - 10) + (Math.random() * 20));
x++;
}
if (_local1.runspeed == 1) {
_local1.siaga.start();
} else {
_local1.lownopump.start();
}
} else if (_local2.guntype == 16) {
shoot(arot);
if (_local1.runspeed == 1) {
_local1.steyr.start();
} else {
_local1.lowsteyr.start();
}
} else if (_local2.guntype == 17) {
lfire = true;
ltimer = -1;
startfire();
} else if (_local2.guntype == 18) {
ufire = true;
utimer = -1;
startfire();
} else if (_local2.guntype == 19) {
cgfire = true;
cgtimer = -1;
startfire();
} else if (_local2.guntype == 20) {
if (m60timer < 0) {
m60timer = 35;
if (_local1.runspeed == 1) {
_local1.m60.start();
} else {
_local1.lowm60.start();
}
shoot(arot);
}
} else if (_local2.guntype == 21) {
if (rktimer < 0) {
rktimer = 5 * _local1.runspeed;
if (_local1.runspeed == 1) {
_local1.rk.start();
} else {
_local1.lowrk.start();
}
shoot(arot);
}
} else if (_local2.guntype == 22) {
flamefire = true;
startfire();
} else if (_local2.guntype == 23) {
autotime = -1;
autofire = true;
startfire();
} else if (_local2.guntype == 24) {
tfire = true;
viselec = true;
startfire();
} else if (_local2.guntype == 28) {
grenade();
}
} else if (!_local1.mtest(_local2.guntype)) {
_local1.empty.start();
}
}
}
s = 1.5;
r = 55;
if (_parent.hmn) {
r = r * _root.armlength;
}
xoff = 10;
yoff = -63;
aimspeed = 2;
kang = Math.PI;
steady = 6;
point = new Object();
viselec = false;
resgun = 1;
resammo = 0;
if (_root.laserguide && (_parent.hmn)) {
_root.level++;
duplicateMovieClip (_root.redlaser, "lg" + _root.level, _root.level);
lg = eval ("_root.lg" + _root.level);
lg._xscale = 740;
}
xplus = 0;
yplus = 0;
gunkick = new Array(0, 0, 20, 40, 15, 50, 35, 45, 60, 30, 20, 0, 0, 0, 30, 40, 30, 20, 25, 40, 60, 40, 0, 30, 0, 0, 0, 0, 50, 0, 0, 0, 0);
gunforce = new Array(0, 0, 10, 25, 10, 18, 8, 15, 30, 18, 10, 0, 0, 0, 18, 25, 10, 10, 12, 25, 30, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0);
gundamage = new Array(0, 0, 1, 1, 1, 2, 0.75, 2, 2.5, 0.75, 1, 0, 0, 0, 2, 1, 1.5, 1.25, 1.5, 2, 3, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0);
gunblood = new Array(0, 0, 1, 2, 1, 3, 1, 2, 3, 1, 1, 0, 0, 0, 2, 2, 2, 2, 2, 2, 3, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0);
shelltype = new Array(0, 0, 1, 3, 1, 2, 1, 1, 2, 1, 1, 0, 0, 0, 2, 3, 2, 2, 1, 1, 7, 0, 0, 1, 0, 0, 0, 0, 8, 0, 0, 0, 0);
flashtype = new Array(0, 0, 1, 3, 1, 2, 1, 1, 2, 1, 1, 0, 0, 0, 3, 3, 2, 2, 1, 3, 4, 3, 0, 1, 0, 0, 0, 0, 3, 0, 0, 0, 0);
usepoints = new Array(2, 3, 4, 5, 6, 5, 3, 8, 5, 4, 4, 5, 4, 5, 5, 5, 5, 5, 6, 7, 7, 6, 3, 2, 4, 0, 0, 4, 6, 6, 6, 6);
storetype = new Array(0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1);
gunnames = new Array("Null", "Hand", "Pistol", "Shotgun", "Uzi", "M16", "CQB", "Desert Eagle", "M60", "Silenced MP5", "Silenced Pistol", "Baseball Bat", "Switchblade", "Nightstick", "AK-47", "Saiga", "Steyr Aug", "L85", "UMP-45", "Minigun", "Railgun", "Rocket Launcher", "Flamethrower", "Automag", "Tazer", "Axe", "Jetpack", "Suicide bomb", "Grenade Launcher", "Urinal", "Urinal", "Urinal", "Urinal");
vectors = new Array(new Array(new Array(-20, 35, 30), new Array(-10, 40, 3), new Array(30, -30, 3)), new Array(new Array(-40, 20, 60), new Array(-35, 25, 2), new Array(50, 20, 3)));
if (_parent.guntype == 12) {
unsheath = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
} else if (_parent.electro > 0) {
_x = ((xoff + (Math.random() * 30)) - 15);
_y = ((yoff + (Math.random() * 30)) - 15);
_rotation = ((Math.atan2(_y - yoff, _x - xoff) * 180) / Math.PI);
stopfire();
} else if (_parent.aflame) {
_x = ((xoff + 5) - (Math.random() * 10));
_y = ((yoff - 35) + (Math.random() * 10));
_rotation = ((Math.atan2(_y - yoff, _x - xoff) * 180) / Math.PI);
stopfire();
} else {
shoottime--;
dropguntimer--;
if (_root.runspeed != ors) {
soundswitch();
}
ors = _root.runspeed;
if (_parent.dying > 10) {
xt = (yt = 0);
if ((_parent.guntype > 1) && (_parent.dead)) {
dropgun();
}
} else if (_parent.hmn) {
if (_root.knifing) {
_parent.guntype = 12;
if (k._currentframe == 1) {
k.gotoAndPlay(2);
_root.knife.start();
}
}
_root.useammo = ammo;
_root.usegun = _parent.guntype;
xc = _root._xmouse - oxm;
yc = _root._ymouse - oym;
txc = _x - oldx;
tyc = _y - oldy;
oldx = _x;
oldy = _y;
xt = xt + ((xc * s) * f);
yt = yt + (yc * s);
oxm = _root._xmouse;
oym = _root._ymouse;
if ((Key.isDown(_root.keys[_root.ki.throw]) && (_parent.guntype != 1)) && (dropguntimer < 0)) {
dropgun();
}
switchtimer--;
if (Key.isDown(_root.keys[_root.ki.switch]) && (switchtimer < 0)) {
switchtimer = 5;
tempgun = _parent.guntype;
tempammo = ammo;
_parent.guntype = resgun;
ammo = resammo;
resgun = tempgun;
resammo = tempammo;
_root.clip.unloadgun();
_root.clip.loadgun(_parent.guntype, ammo);
stopfire(true);
_x = -25;
bx = -25;
_y = -40;
by = -40;
if (_parent.guntype == 12) {
k.gotoAndPlay(2);
_root.knife.start();
}
}
} else if (_root.ai && (_parent.hasentered)) {
if (_root.runspeed == 2) {
aimspeed = 12;
} else {
aimspeed = 2;
}
if (unsheath) {
unstimer++;
if (unstimer > 1) {
k.gotoAndPlay(2);
_root.knife.start();
unsheath = false;
}
}
sptimer--;
if (punching) {
ptimer--;
if (ptimer < 0) {
vp++;
if (vp >= vectors[vs].length) {
punching = false;
xt = 0;
yt = 60;
sptimer = 30;
}
cvp = vectors[vs][vp];
xt = xoff + cvp[0];
yt = cvp[1];
ptimer = cvp[2];
}
} else if ((_parent.pdist <= 100) && (sptimer < 0)) {
vp = 0;
vs = Math.floor(Math.random() * vectors.length);
punching = true;
ptimer = 0;
} else if (((_parent.guntype > 1) && (_parent.guntype < 11)) || (_parent.guntype >= 14)) {
stimer = stimer + (1 / _root.runspeed);
cycle = stimer % 30;
if (cycle == 10) {
stopfire(true);
} else if (cycle == 0) {
if ((_parent.dying < 10) && (_parent.health > -3)) {
firetest();
}
} else if (cycle > 5) {
xd = (_root.player._x - (_parent._x + xoff)) * f;
yd = (_root.player._y - 30) - (_parent._y + yoff);
d = Math.sqrt((xd * xd) + (yd * yd));
xt = (xd / d) * 40;
yt = (yd / d) * 40;
}
}
} else {
xt = 0;
yt = 40;
}
f = _parent.f;
d = Math.sqrt((xt * xt) + (yt * yt));
if (Math.abs(d) > r) {
xt = (xt / d) * r;
yt = (yt / d) * r;
}
if (xk != 0) {
xk = xk - (xk / steady);
}
if (yk != 0) {
yk = yk - (yk / steady);
}
if (ff != 0) {
ff = ff - (ff / steady);
}
bx = bx + ((xt - bx) / aimspeed);
by = by + ((yt - by) / aimspeed);
_x = ((bx + xoff) + xk);
_y = (((by + yoff) + yk) + ff);
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
ax = point.x;
ay = point.y;
pt0.point.x = pt0._x;
pt0.point.y = pt0._y;
this.localToGlobal(pt0.point);
pt0.x = pt0.point.x;
pt0.y = pt0.point.y;
_rotation = ((Math.atan2(_y - (yoff + yk), _x - (xoff + xk)) * 180) / Math.PI);
if (_parent.f == 1) {
arot = _rotation;
} else if (_rotation > 0) {
arot = 180 - _rotation;
} else {
arot = -180 - _rotation;
}
arot = arot + _parent._rotation;
arad = (arot / 180) * Math.PI;
trc = oldr - _rotation;
oldr = _rotation;
if ((arot < 90) && (arot > -90)) {
fdir = 1;
} else {
fdir = -1;
}
if (_root.laserguide && (_parent.hmn)) {
lg._x = pt0.x;
lg._y = pt0.y;
lg._rotation = arot;
lg._visible = ammo > 0;
}
if (_parent.hmn || (punching)) {
hv = (Math.abs(txc) + Math.abs(tyc)) + (Math.abs(trc) / 3);
} else {
hv = 0;
}
if ((hv > 20) || (tfire)) {
if (hv > 50) {
hv = 50;
}
if (_parent.guntype >= 2) {
hv = hv * 1.5;
}
if (_root.arnold) {
hv = hv * 4;
}
if (xtc < 0) {
dir = -1;
} else {
dir = 1;
}
i = 0;
while (i < _root.targets.length) {
t = _root.targets[i];
if (((t != _parent) && (t.pimmunity < 0)) && (t.hmn != _parent.hmn)) {
xdt = t._x - ax;
ydt = t._y - ay;
d = Math.sqrt((xdt * xdt) + (ydt * ydt));
if (d < _parent._height) {
n = 0;
while (n < usepoints[_parent.guntype - 1]) {
pt = eval ("pt" + n);
if (t.hitTest(pt.x, pt.y, true)) {
headshot = pt.y < (t._y - 50);
if (((_parent.guntype == 12) || (_parent.guntype == 25)) && (n < 3)) {
t.knife(txc / hv, tyc / hv, fdir * dir, hv, headshot, pt.x, pt.y);
} else if (tfire && (n == 0)) {
t.electrify();
} else {
if ((_parent.guntype > 28) && (_parent.guntype < 32)) {
_parent.guntype++;
hv = hv * 2;
t.health = t.health - 2;
snum = Math.ceil(Math.random() * 2);
if (_root.runspeed == 1) {
eval ("_root.shatter" + snum).start();
} else {
eval ("_root.lowshatter" + snum).start();
}
if (_root.detail > 0) {
trace("d " + _root.detail);
x = 0;
while (x < (_root.detail * 7)) {
trace("x " + x);
_root.level++;
duplicateMovieClip (_root.shard, "shard" + _root.level, _root.level);
sh = eval ("_root.shard" + _root.level);
shpointnum = Math.floor(Math.random() * 3);
shpoint = eval ("pt" + shpointnum);
sh._x = shpoint.x;
sh._y = shpoint.y;
sh.gen = false;
x++;
}
}
}
t.punch(txc / hv, tyc / hv, fdir * dir, hv, headshot);
}
mysound = Math.ceil(Math.random() * 3);
if (_root.runspeed == 1) {
eval ("_root.punch" + mysound).start();
} else {
eval ("_root.lowpunch" + mysound).start();
}
break;
}
n++;
}
}
}
i++;
}
}
if (ammo > 0) {
uzitimer--;
if ((uzifiring > 0) && (uzitimer < 0)) {
uzitimer = 2 * _root.runspeed;
uzifiring--;
shoot(arot);
}
if (cfire) {
cftimer--;
if (cftimer < 0) {
cftimer = _root.runspeed;
shoot(arot);
}
}
if (sfire) {
sftimer--;
if (sftimer < 0) {
sftimer = _root.runspeed;
shoot(arot);
}
}
if (akfire) {
aktimer--;
if (aktimer < 0) {
aktimer = 3 * _root.runspeed;
shoot(arot);
}
}
if (lfire) {
ltimer--;
if (ltimer < 0) {
ltimer = 2 * _root.runspeed;
shoot(arot);
}
}
if (ufire) {
utimer--;
if (utimer < 0) {
utimer = _root.runspeed;
shoot(arot);
}
}
if (cgfire) {
cgtimer--;
if (cgtimer < 0) {
cgtimer = _root.runspeed - 1;
shoot(arot);
}
}
if (flamefire) {
flametimer--;
if (flametimer < 0) {
flametimer = (2 * _root.runspeed) - 1;
_root.level++;
duplicateMovieClip (_root.flame, "flame" + _root.level, _root.level);
flame = eval ("_root.flame" + _root.level);
flame._x = pt0.x;
flame._y = pt0.y;
userad = (arad + 0.05) - (Math.random() * 0.1);
flame.xv = Math.cos(userad) * 10;
flame.yv = Math.sin(userad) * 10;
flame.gen = false;
flame.hmn = _parent.hmn;
if (_parent.hmn) {
_root.clip.fire();
}
if ((!_parent.hmn) || (!_root.infammo)) {
ammo--;
}
}
}
if (autofire) {
autotimer--;
if (autotimer < 0) {
autotimer = 3 * _root.runspeed;
shoot(arot);
}
}
if (tfire) {
if (_parent.hmn) {
_root.clip.fire();
}
if ((!_parent.hmn) || (!_root.infammo)) {
ammo--;
}
}
if (m60fire > 0) {
m60timer--;
if (m60timer < 0) {
m60fire--;
m60timer = 2 * _root.runspeed;
shoot(arot);
}
}
} else if (((((((((cfire || (sfire)) || (akfire)) || (lfire)) || (ufire)) || (cgfire)) || (flamefire)) || (autofire)) || (tfire)) || (m60fire)) {
stopfire(true);
}
sgtimer = sgtimer - (1 / _root.runspeed);
m60timer = m60timer - (1 / _root.runspeed);
rktimer = rktimer - (1 / _root.runspeed);
grtimer = grtimer - (1 / _root.runspeed);
}
}
onClipEvent (mouseDown) {
if (_parent.hmn && (_root.pause != true)) {
firetest();
}
}
onClipEvent (mouseUp) {
if (_parent.hmn && (_root.pause != true)) {
stopfire(true);
}
}
Instance of Symbol 558 MovieClip in Symbol 682 MovieClip Frame 2
onClipEvent (load) {
depth = 54;
}
onClipEvent (enterFrame) {
r = ((-_parent.body._rotation) / 180) * Math.PI;
_x = (_parent.body._x + (Math.sin(r) * depth));
_y = (_parent.body._y + (Math.cos(r) * depth));
_rotation = _parent.body._rotation;
}
Instance of Symbol 602 MovieClip "body" in Symbol 682 MovieClip Frame 2
onClipEvent (load) {
wk = 40;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_rotation = (br + force);
force = force * 0.8;
}
}
Instance of Symbol 618 MovieClip "head" in Symbol 682 MovieClip Frame 2
onClipEvent (load) {
bx = _x;
by = _y;
roff = (rofft = 0);
if (_parent.zombie == 1) {
c = new Color(this);
trans = new Object();
trans.gb = 0;
}
wk = 34;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (_parent.zombie == 1) {
if (_root.isjesus) {
gbt = 100;
} else {
gbt = 0;
}
trans.gb = trans.gb + ((gbt - trans.gb) / 3);
c.setTransform(trans);
}
_rotation = ((roff + br) + force);
force = force * (1 - (0.2 / _root.runspeed));
rofft = (_parent.hand._y - _parent.hand.yoff) / (3 * _root.armlength);
roff = roff + ((rofft - roff) / 8);
xt = bx + ((_parent.hand._x - _parent.hand.xoff) / (8 * _root.armlength));
if (xt < bx) {
xt = bx;
}
yt = by + dforce;
_x = (_x + ((xt - _x) / 8));
_y = (_y + ((yt - _y) / 3));
dforce = dforce * (1 - (0.2 / _root.runspeed));
}
}
Instance of Symbol 690 MovieClip "bar" in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
function startbt() {
var _local1 = _root;
rstimer = 10;
_local1.runspeed = 2;
ct = 100;
_local1.intobt.start();
_local1.heartbeat.start(0, 1000);
}
function endbt() {
var _local1 = _root;
rstimer = 10;
_local1.runspeed = 1;
ct = basetone;
_local1.outofbt.start();
_local1.heartbeat.stop();
}
_yscale = ((yst = (_root.btr = 100)));
basetone = 33;
c = new Color(this);
trans = new Object();
trans.ra = (trans.ga = (trans.ba = (ct = basetone)));
c.setTransform(trans);
}
onClipEvent (enterFrame) {
if (_root.pause != true) {
if (_root.btr < 0) {
_root.btr = 0;
} else if (_root.btr > 100) {
_root.btr = 100;
}
rstimer--;
yst = _root.btr;
_yscale = (_yscale + ((yst - _yscale) / 6));
trans.ra = trans.ra + ((ct - trans.ra) / 10);
trans.ga = (trans.ba = trans.ra);
if (Math.abs(ct - trans.ra) < 0.1) {
trans.ra = ct;
} else {
c.setTransform(trans);
}
if (_root.runspeed != 1) {
if ((!_root.infbt) && (!_root.survival)) {
_root.btr = _root.btr - 0.7;
}
if ((_root.btr <= 0) || ((rstimer < 0) && (Key.isDown(_root.keys[_root.ki.bullettime])))) {
endbt();
}
} else if (((rstimer < 0) && (_root.btr >= 3)) && (Key.isDown(_root.keys[_root.ki.bullettime]))) {
startbt();
}
}
}
Symbol 694 MovieClip Frame 1
stop();
Symbol 697 MovieClip Frame 1
stop();
Symbol 706 MovieClip Frame 8
gotoAndPlay (1);
Symbol 706 MovieClip Frame 16
gotoAndPlay (9);
Symbol 748 Button
on (release) {
gotoAndStop ("scores");
}
Symbol 827 Button
on (release) {
gotoAndStop ("menu");
}
Symbol 829 Button
on (release) {
getURL ("http://www.flecko.net/buyshirts.php", "blank");
}
Symbol 858 MovieClip Frame 839
_root.gotoAndStop("game");
trace("HELLOOOOOO!");
Symbol 860 Button
on (release) {
_root.gotoAndStop("game");
}