Frame 1
stage.showmenu = false;
stage.scaleMode = "exactFit";
loadMovieNum ("mrsound.swf", 1);
Frame 2
stop();
lowlevel = 1;
level = 100000 /* 0x0186A0 */;
highlevel = 1000000 /* 0x0F4240 */;
detail = 2;
ai = true;
allwaysinvincible = false;
infbt = false;
armlength = 1;
Instance of Symbol 41 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 41 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 46 MovieClip in Frame 2
onClipEvent (enterFrame) {
show = _root.p;
_x = (_root.pbar._x + _root.pbar._width);
}
Instance of Symbol 46 MovieClip in Frame 2
onClipEvent (enterFrame) {
show = _root.sp;
_x = (_root.sbar._x + _root.sbar._width);
}
Instance of Symbol 41 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 46 MovieClip in Frame 2
onClipEvent (enterFrame) {
show = _root.gp;
_x = (_root.gbar._x + _root.gbar._width);
}
Instance of Symbol 50 MovieClip in Frame 2
onClipEvent (enterFrame) {
show = _root.tloaded;
_x = (_root.tbar._x + _root.tbar._width);
}
Instance of Symbol 51 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 55 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);
} else if (_root.songname == "search") {
_root.search.setVolume(volume);
_root.search.setVolume(volume);
_root.search.setVolume(volume);
} else if (_root.songname == "funk") {
_root.funk.setVolume(volume);
_root.funk.setVolume(volume);
_root.funk.setVolume(volume);
} else if (_root.songname == "dramatic") {
_root.dramatic.setVolume(volume);
_root.dramatic.setVolume(volume);
_root.dramatic.setVolume(volume);
}
if (_root._currentframe == 3) {
timer++;
if (timer == 2) {
_root.initmusic();
}
}
}
Frame 3
function makeBox(x, y) {
_root.level++;
duplicateMovieClip (touchBox, "touchBox" + _root.level, _root.level);
tb = eval ("_root.touchbox" + _root.level);
tb._x = x;
tb._y = y;
tb.gen = false;
}
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);
};
search.onSoundComplete = function () {
search.start(0, 10);
};
funk.onSoundComplete = function () {
funk.start(0, 11);
};
dramatic.onSoundComplete = function () {
dramatic.start(0, 12);
};
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, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0);
width = 600;
height = 400;
usemusic = true;
bloodlist = new Array();
flashlist = new Array();
image = new Array();
menus = new Array();
Instance of Symbol 60 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 62 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, 2, 3), new Array(1, 2, 3), new Array(1, 2, 6), new Array(1, 6, 7, 8));
old = new Array(new Array(1, 2, 6), new Array(1, 3), new Array(1, 2, 6), new Array(1, 5, 6, 7, 8));
ninja = new Array(new Array(1), new Array(1, 2, 3, 6), new Array(1, 2, 6), new Array(1, 7, 8));
crazy = new Array(new Array(1, 6, 8, 9), new Array(1, 2, 3, 6), new Array(1, 4, 6), new Array(1, 6, 8));
smiths = new Array(new Array(7, 7), new Array(1), new Array(1), new Array(3, 3));
jesusc = new Array(new Array(3, 3), new Array(1), new Array(5, 5), new Array(4, 4));
sheriffc = new Array(new Array(2, 2), new Array(3, 3), new Array(1), new Array(2, 2));
hat = (glasses = (beard = (suit = 1)));
search = new Sound();
search.attachSound("search");
funk = new Sound();
funk.attachSound("funk");
dramatic = new Sound();
dramatic.attachSound("dramatic");
kimber = new Sound();
kimber.attachSound("kimber");
kimbers = new Sound();
kimbers.attachSound("kimbers");
BENELLI = new Sound();
BENELLI.attachSound("BENELLI");
BENELLIS = new Sound();
BENELLIS.attachSound("BENELLIS");
AUTOM4 = new Sound();
AUTOM4.attachSound("AUTOM4");
remi = new Sound();
remi.attachSound("remi");
remis = new Sound();
remis.attachSound("remis");
glock = new Sound();
glock.attachSound("Glock");
glocks = new Sound();
glocks.attachSound("Glocks");
Beretta = new Sound();
Beretta.attachSound("Beretta");
Berettas = new Sound();
Berettas.attachSound("Berettas");
WA2000 = new Sound();
WA2000.attachSound("WA2000");
WA2000s = new Sound();
WA2000s.attachSound("WA2000S");
AUG = new Sound();
AUG.attachSound("STAUG");
AUGS = new Sound();
AUGS.attachSound("STAUGS");
DEAGLE2 = new Sound();
DEAGLE2.attachSound("DEAGLE");
Anaconda = new Sound();
Anaconda.attachSound("Anaconda");
Anacondas = new Sound();
Anacondas.attachSound("Anacondas");
SW = new Sound();
SW.attachSound("SW");
SWS = new Sound();
SWS.attachSound("SWS");
FN = new Sound();
FN.attachSound("FN");
MP = new Sound();
MP.attachSound("MP");
tommy = new Sound();
tommy.attachSound("tommy");
glockec = new Sound();
glockec.attachSound("glockec");
nmmsmg = new Sound();
nmmsmg.attachSound("nmmsmg");
mpseven = new Sound();
mpseven.attachSound("mpseven");
mpfive = new Sound();
mpfive.attachSound("mpfive");
scorp = new Sound();
scorp.attachSound("scorp");
m4autom = new Sound();
m4autom.attachSound("m4autom");
m249 = new Sound();
m249.attachSound("m249");
reminopump = new Sound();
reminopump.attachSound("reminopump");
reminopumps = new Sound();
reminopumps.attachSound("reminopumps");
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(dramatic, 20, "dramatic");
} else {
multiload = true;
stopAllSounds();
setsong(dramatic, 20, "dramatic");
}
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("Military Cap", 2), new Array("Mario Hat", 3), new Array("Alyx Hair", 5), new Array("Top hat", 6), new Array("Combine Mask", 7), new Array("Pirate", 8), new Array("Smith hair", 9));
suitslist = new Array(new Array("None", 1), new Array("Military Outfit", 2), new Array("Combine Uniform", 3), new Array("Mario Suit", 4), new Array("Alyx Suit", 5), new Array("Citizen Uniform", 6), new Array("Codename 47", 7), new Array("Bloody Zombie", 8));
beardslist = new Array(new Array("None", 1), new Array("47's Barcode", 2), new Array("Blasted", 3), new Array("Bonzo", 4), new Array("Mario Beard", 5), new Array("Bloody Zombie", 6));
glasseslist = new Array(new Array("None", 1), new Array("Sunglasses", 2), new Array("Geeky", 3), new Array("Smith shades", 6));
main = new Array(new Array(0, 0, "Main Game", 0), new Array(0, 1, "Tutorial", 1), new Array(0, 3, "Challenges", 3), new Array(0, 4, "Weapons Testing", 4), new Array(0, 2, "Options", 2), new Array(0, 17, "Info + links", 19), new Array(0, 21, "High scores", 25));
options = new Array(new Array(0, 5, "Controls", 5), new Array(0, 6, "Display/Sound", 6), new Array(0, 10, "Character", 10), new Array(0, 7, "Cheats", 7), new Array(0, 8, "Close", 8));
controls = new Array(new Array(3, 0, 0, _root.keytest), new Array(0, 8, "Close", 9));
display = new Array(new Array(2, 0, "Quality:", qlist, "_quality"), new Array(2, 0, "Detail:", dlist, "detail"), new Array(1, 0, "Toggle music", "usemusic"), new Array(0, 8, "Close", 9));
character = new Array(new Array(3, 0, 0, _root.costumeblock), new Array(2, 0, "Hat:", hatslist, "hat"), new Array(2, 0, "Suit:", suitslist, "suit"), new Array(2, 0, "Mask:", beardslist, "beard"), new Array(2, 0, "Glasses:", glasseslist, "glasses"), new Array(0, 8, "Close", 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, "Matrix", 12), new Array(0, 15, "Zombies", 16), new Array(0, 10, "Knifing Around", 17), new Array(0, 16, "Lasers", 18), new Array(0, 8, "Close", 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));
ginfo = new Array(new Array(3, 0, 0, _root.ginfo), new Array(0, 8, "Close", 9));
infomenu = new Array(new Array(0, 17, "Credits", 20), new Array(0, 2, "Weaponry", 27), new Array(0, 18, "Flecko.net", 21), new Array(0, 19, "mModule", 22), new Array(0, 9, "Liquid Fire", 23), new Array(0, 20, "Shirts - fund future work!", 24), new Array(0, 8, "Close", 8));
stop();
newmenu(20, 20, 230, 360, "Main Menu", main);
Instance of Symbol 104 MovieClip "mline" in Frame 5
onClipEvent (load) {
alphat = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha + ((alphat - _alpha) / 3));
}
Instance of Symbol 106 MovieClip "mcorner" in Frame 5
onClipEvent (load) {
alphat = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha + ((alphat - _alpha) / 3));
}
Instance of Symbol 107 MovieClip "mend" in Frame 5
onClipEvent (load) {
alphat = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha + ((alphat - _alpha) / 3));
}
Instance of Symbol 109 MovieClip "mtbox" in Frame 5
onClipEvent (load) {
alphat = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha + ((alphat - _alpha) / 3));
}
Instance of Symbol 112 MovieClip "mbg" in Frame 5
onClipEvent (load) {
alphat = 100;
}
onClipEvent (enterFrame) {
if (lock) {
gotoAndStop (1);
}
_alpha = (_alpha + ((alphat - _alpha) / 3));
}
Instance of Symbol 114 MovieClip "mhtext" in Frame 5
onClipEvent (load) {
alphat = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha + ((alphat - _alpha) / 3));
}
Instance of Symbol 182 MovieClip "mimg" in Frame 5
onClipEvent (load) {
stop();
alphat = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha + ((alphat - _alpha) / 3));
}
Instance of Symbol 213 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 217 MovieClip "mswitch" in Frame 5
onClipEvent (load) {
if (_root[myvar]) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 221 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 224 MovieClip "msline" in Frame 5
onClipEvent (load) {
alphat = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha + ((alphat - _alpha) / 3));
}
Instance of Symbol 225 MovieClip "selarea" in Frame 5
onClipEvent (load) {
alphat = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha + ((alphat - _alpha) / 3));
}
Frame 6
fscommand ("Mouse.Lock");
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, 18, 8, 15, 30, 30, 6, 30, 50, 15, 0, 0, 0, 30, 8, 30, 30, 50, 100, 8, 2, 20, 8, 100, 0, 0, 0, 5, 0, 0, 0, 0, 6, 5, 30, 32, 60, 10);
btypes = new Array(0, 0, 1, 3, 2, 4, 2, 5, 4, 2, 1, 0, 0, 0, 4, 3, 4, 1, 2, 0, 4, 6, 4, 5, 0, 0, 0, 0, 8, 0, 0, 0, 0, 5, 5, 1, 1, 2, 5);
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 (slowmo) {
bulletspeed = 2;
}
if (nomo) {
bulletspeed = 0;
}
if (alwaysinvincible) {
invincibility = true;
}
isjesus = false;
if (matrix) {
bulletspeed = 4;
bulletdens = 6;
enemyguns = new Array(1, 3, 6, 9, 10, 16, 20, 22, 33, 35, 36, 37);
} else if (zombie) {
enemyguns = new Array(1);
} 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 407 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.search^num:10^str:search", 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 407 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("_root", "setsong", "ref:_root.funk^num:1^str:funk", 0, 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", "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", "setsong", "ref:_root.dramatic^num:10^str:dramatic", 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 407 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 407 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 409 MovieClip "tutor" in Frame 6
onClipEvent (load) {
_visible = false;
tutorial = new Array(new Array("_root", "setai", "num:0", 0, 0), new Array("_root", "sethud", "str:Welcome to the tutorial. You will now learn all of the controls.", 1, 90), 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", "makeBox", "num:40^num:350", 0, 0), new Array("_root", "makeBox", "num:560^num:350", 0, 0), new Array("_root", "sethud", "str:Touch the boxes to continue.", 4, 2), 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", "makeBox", "num:300^num:100", 0, 0), new Array("_root", "sethud", "str:Touch the box to continue.", 4, 1), new Array("_root.tgun", "makegun", "num:2", 0, 0), new Array("_root", "sethud", "str:Try grabbing this gun. Put your hand over it with the mouse and click 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^num:1", 0, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:560^num:-5^num:1", 0, 0), new Array("_root", "sethud", "str:Try attacking these dummies. You can hurt them by shooting them, or by swinging your fist 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.gen", "makeguy", "num:0^num:0^num:40^num:-5^num:1", 0, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:560^num:-5^num:1", 0, 0), new Array("_root", "sethud", "str:Now with your new MP9, you can shoot the dummies, punch the dummies, or throw the gun at the dummies.", 2, 0), new Array("_root", "sethud", ("str:Now, try throwing your gun away by swinging your arm and pressing " + _root.getname(_root.keys[_root.ki.throw])) + ".", 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.tgun", "makegun", "num:14", 0, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:40^num:-5^num:1", 0, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:560^num:-5^num:1", 0, 0), new Array("_root", "sethud", "str:Try killing these dummies in bullettime.", 1, 150), new Array("_root.tgun", "makegun", "num:12", 0, 0), new Array("_root", "sethud", "str:This is a knife,it makes you cut people when you punch, and if you throw it you can stick it into people.", 1, 150), new Array("_root.gen", "makeguy", "num:0^num:0^num:40^num:-5^num:1", 0, 0), new Array("_root.gen", "makeguy", "num:0^num:0^num:560^num:-5^num:1", 0, 0), new Array("_root", "sethud", "str:Try that on these dummies.", 1, 150), new Array("_root.tgun", "makegun", "num:27", 0, 0), new Array("_root", "sethud", "str:Pick up the bomb like you would pick up a gun. (Your hand must be empty).", 1, 150), new Array("_root", "sethud", "str:Now, by pressing shift you can make it explode.", 1, 150), new Array("_root.gen", "makeguy", "num:0^num:0^num:560^num:-5^num:1", 0, 0), new Array("_root", "sethud", "str:Kill this dummy with the bomb. (Or smack him if you've already blown up)", 1, 150), new Array("_root.tgun", "makegun", "num:26", 0, 0), new Array("_root", "sethud", "str:Now, 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 569 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 570 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 602 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 649 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, 3);
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;
}
if (_currentframe == 24) {
sticktype = 2;
}
if (_currentframe == 5) {
sticktype = 3;
}
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 651 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 668 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 478 MovieClip "explosion" in Frame 6
onClipEvent (load) {
if (gen != false) {
stop();
}
}
Instance of Symbol 673 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 675 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 == 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) {
if (_root._currentframe != 6) {
_root.clip.unloadgun();
}
}
Instance of Symbol 691 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 693 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 695 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, 3, 3, 1, 1, 3, 3, 0, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 1, 1, 1, 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 701 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 703 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 710 MovieClip "bulletpath" in Frame 6
onClipEvent (load) {
_alpha = 50;
}
onClipEvent (enterFrame) {
_alpha = (_alpha - 15);
if (_alpha < 0) {
removeMovieClip(this);
}
}
Instance of Symbol 715 MovieClip "ammobar" in Frame 6
onClipEvent (load) {
_root.highlevel++;
this.swapDepths(_root.highlevel);
_visible = false;
}
Instance of Symbol 719 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 725 MovieClip "redlaser" in Frame 6
onClipEvent (enterFrame) {
if (_root._currentFrame != _root.gameframe) {
removeMovieClip(this);
}
}
Instance of Symbol 727 MovieClip "shadow" in Frame 6
onClipEvent (enterFrame) {
if (_root._currentframe != _root.gameframe) {
removeMovieClip(this);
}
}
Instance of Symbol 732 MovieClip "flash" in Frame 6
onClipEvent (enterFrame) {
if ((_name != "flash") && (_root.pause != true)) {
timer++;
if (timer > 1) {
removeMovieClip(this);
}
}
}
Instance of Symbol 739 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 742 MovieClip "scripter" in Frame 6
onClipEvent (load) {
function setscript(scriptname) {
script = scriptname;
header = 0;
mode = 0;
timer = 0;
}
function touchBox() {
boxes--;
}
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];
} else if (mode == 4) {
boxes = 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)) && (boxes <= 0)) {
nextevent();
}
}
Instance of Symbol 934 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 = 50;
} else {
health = 20;
}
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 = 37;
hand.ammo = 30;
if (_root.maingame) {
health = 150;
} else {
health = 25;
}
hat = 3;
beard = 5;
suit = 4;
_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--;
gtimer--;
if (up && (utimer < 0)) {
utimer = 5;
gtimer = 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 936 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 if (_root.givep90) {
g.guntype = 9;
g.hand.ammo = 10000000 /* 0x989680 */;
} else if (_root.giveak) {
g.guntype = 14;
g.hand.ammo = 10000000 /* 0x989680 */;
} else if (_root.giveanaconda) {
g.guntype = 7;
g.hand.ammo = 10000000 /* 0x989680 */;
} else if (_root.youknife) {
if (Math.random() < 0.5) {
g.guntype = 12;
} else {
g.guntype = 25;
}
} 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 (_root.allknife && (_root.maingame)) {
if (Math.random() < 0.5) {
g.guntype = 12;
} else {
g.guntype = 25;
}
} else if (_root.unarmed && (_root.maingame)) {
g.guntype = 1;
} 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 938 MovieClip "line" in Frame 6
onClipEvent (enterFrame) {
if (_name != "line") {
timer++;
if (timer > 1) {
removeMovieClip(this);
}
}
}
Instance of Symbol 940 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);
} else if (Key.isDown(45)) {
timer = 10;
_root.tgun.makegun(33);
} else if (Key.isDown(33)) {
timer = 10;
_root.tgun.makegun(34);
} else if (Key.isDown(34)) {
timer = 10;
_root.tgun.makegun(35);
} else if (Key.isDown(35)) {
timer = 10;
_root.tgun.makegun(36);
} else if (Key.isDown(36)) {
timer = 10;
_root.tgun.makegun(38);
} else if (Key.isDown(46)) {
timer = 10;
_root.tgun.makegun(37);
}
}
if (_root.experiment or _root.supplyguns) {
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 62 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 944 MovieClip "btrbarsrc" in Frame 6
onClipEvent (enterFrame) {
xt = (_root.clip._x - _root.clip._width) - 10;
_x = (_x + ((xt - _x) / 3));
}
Instance of Symbol 162 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++;
}
}
if (_root._currentframe != 6) {
removeMovieClip(this);
}
}
Instance of Symbol 947 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 950 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 959 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 963 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 967 MovieClip "touchBox" in Frame 6
onClipEvent (load) {
if (gen != false) {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (gen == false) {
if (this.hitTest(_root.player)) {
_root.scripter.touchBox();
removeMovieClip(this);
}
}
}
Instance of Symbol 970 MovieClip "killcounter" in Frame 6
onClipEvent (load) {
if (_root.knifing || (_root.lasermode)) {
_visible = false;
}
}
Instance of Symbol 973 MovieClip in Frame 6
onClipEvent (load) {
if (!_root.knifing) {
_visible = false;
}
}
Instance of Symbol 976 MovieClip in Frame 6
onClipEvent (load) {
if (!_root.knifing) {
_visible = false;
}
}
Instance of Symbol 978 MovieClip "hud" in Frame 6
onClipEvent (enterFrame) {
if (!_root.pause) {
timer++;
if (timer > 60) {
_root.hudlist.splice(_root.hudlist.length - 1, 1);
}
}
}
Instance of Symbol 981 MovieClip in Frame 6
onClipEvent (load) {
if (!_root.lasermode) {
_visible = false;
}
}
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 1010 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!";
}
}
}
Instance of Symbol 1080 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 60 MovieClip Frame 10
stop();
Symbol 76 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 1
stop();
Instance of Symbol 76 MovieClip in Symbol 99 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.suit);
}
Instance of Symbol 83 MovieClip in Symbol 99 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.beard);
}
Instance of Symbol 89 MovieClip in Symbol 99 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.glasses);
}
Instance of Symbol 97 MovieClip in Symbol 99 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.hat);
}
Symbol 112 MovieClip Frame 1
stop();
Symbol 115 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.gotoAndStop("game");
_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, 25, 250, 350, "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.giveP90 = false;
_root.giveak = false;
_root.giveanaconda = false;
_root.allknife = false;
_root.unarmed = false;
_root.youknife = false;
_root.arnold = false;
_root.gump = false;
_root.allrocket = false;
_root.infammo = false;
_root.supplyguns = false;
_root.slowmo = false;
_root.nomo = false;
} else if (ax == 27) {
_root.newmenu(270, 50, 310, 300, "Gun Information", _root.ginfo);
_root.fademenu(0, 25);
_root.fademenu(1, 50);
}
}
}
Symbol 159 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 159 MovieClip "one" in Symbol 160 MovieClip Frame 1
onClipEvent (enterFrame) {
update();
}
Instance of Symbol 159 MovieClip "one" in Symbol 161 MovieClip Frame 1
onClipEvent (enterFrame) {
update();
}
Instance of Symbol 76 MovieClip in Symbol 182 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.suit);
}
Instance of Symbol 83 MovieClip in Symbol 182 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.beard);
}
Instance of Symbol 89 MovieClip in Symbol 182 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.glasses);
}
Instance of Symbol 97 MovieClip in Symbol 182 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.hat);
}
Instance of Symbol 76 MovieClip in Symbol 182 MovieClip Frame 4
onClipEvent (enterFrame) {
gotoAndStop(_root.suit);
}
Instance of Symbol 83 MovieClip in Symbol 182 MovieClip Frame 4
onClipEvent (enterFrame) {
gotoAndStop(_root.beard);
}
Instance of Symbol 89 MovieClip in Symbol 182 MovieClip Frame 4
onClipEvent (enterFrame) {
gotoAndStop(_root.glasses);
}
Instance of Symbol 97 MovieClip in Symbol 182 MovieClip Frame 4
onClipEvent (enterFrame) {
gotoAndStop(_root.hat);
}
Instance of Symbol 162 MovieClip "flame" in Symbol 182 MovieClip Frame 10
onClipEvent (load) {
gen = false;
}
Instance of Symbol 76 MovieClip in Symbol 182 MovieClip Frame 11
onClipEvent (enterFrame) {
gotoAndStop(_root.suit);
}
Instance of Symbol 83 MovieClip in Symbol 182 MovieClip Frame 11
onClipEvent (enterFrame) {
gotoAndStop(_root.beard);
}
Instance of Symbol 89 MovieClip in Symbol 182 MovieClip Frame 11
onClipEvent (enterFrame) {
gotoAndStop(_root.glasses);
}
Instance of Symbol 97 MovieClip in Symbol 182 MovieClip Frame 11
onClipEvent (enterFrame) {
gotoAndStop(_root.hat);
}
Symbol 203 Button
on (release) {
if (keylock != true) {
keylock = true;
id = 0;
k0 = "???";
}
}
Symbol 204 Button
on (release) {
if (keylock != true) {
keylock = true;
id = 1;
k1 = "???";
}
}
Symbol 205 Button
on (release) {
if (keylock != true) {
keylock = true;
id = 2;
k2 = "???";
}
}
Symbol 206 Button
on (release) {
if (keylock != true) {
keylock = true;
id = 3;
k3 = "???";
}
}
Symbol 207 Button
on (release) {
if (keylock != true) {
keylock = true;
id = 4;
k4 = "???";
}
}
Symbol 208 Button
on (release) {
if (keylock != true) {
keylock = true;
id = 5;
k5 = "???";
}
}
Symbol 209 Button
on (release) {
if (keylock != true) {
keylock = true;
id = 6;
k6 = "???";
}
}
Symbol 210 Button
on (release) {
if (keylock != true) {
keylock = true;
id = 7;
k7 = "???";
}
}
Symbol 211 Button
on (release) {
if (keylock != true) {
keylock = true;
id = 9;
k9 = "???";
}
}
Symbol 212 Button
on (release) {
if (keylock != true) {
keylock = true;
id = 8;
k8 = "???";
}
}
Symbol 215 Button
on (release) {
if (_root[myvar] == true) {
_root[myvar] = false;
gotoAndStop (1);
} else {
_root[myvar] = true;
gotoAndStop (2);
}
}
Symbol 217 MovieClip Frame 1
stop();
Symbol 219 Button
on (release) {
immune = 2;
showlist();
}
Symbol 221 MovieClip Frame 1
stop();
Symbol 222 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 225 MovieClip Frame 1
stop();
Instance of Symbol 76 MovieClip in Symbol 228 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.suit);
}
Instance of Symbol 83 MovieClip in Symbol 228 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.beard);
}
Instance of Symbol 89 MovieClip in Symbol 228 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.glasses);
}
Instance of Symbol 97 MovieClip in Symbol 228 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.hat);
}
Symbol 238 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 238 MovieClip "newcheats" in Symbol 239 MovieClip Frame 1
onClipEvent (enterFrame) {
timer++;
if (timer == 2) {
testcheat();
}
}
Instance of Symbol 238 MovieClip "newcheats" in Symbol 243 MovieClip Frame 1
onClipEvent (enterFrame) {
timer++;
if (timer == 2) {
testcheat();
}
}
Symbol 245 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 = "Godmode";
} else if (ch == "hop") {
_root.highjump = true;
mycheat = "High jump!";
} else if (ch == "guide") {
_root.laserguide = true;
mycheat = "Laser Addition";
} else if (ch == "colt") {
_root.givep90 = false;
_root.giveak = false;
_root.giveanaconda = false;
_root.youknife = false;
_root.giveminigun = true;
mycheat = "Asskickery!";
} else if (ch == "kalashnikov") {
_root.givep90 = false;
_root.giveminigun = false;
_root.giveanaconda = false;
_root.youknife = false;
_root.giveak = true;
mycheat = "Russian Technology!";
} else if (ch == "mugger") {
_root.givep90 = false;
_root.giveminigun = false;
_root.giveanaconda = false;
_root.giveak = false;
_root.youknife = true;
mycheat = "It's you vs. the world!";
} else if (ch == "arnold") {
_root.arnold = true;
mycheat = "Pumped up!";
} else if (ch == "gump") {
_root.gump = true;
mycheat = "Run!";
} else if (ch == "fn") {
_root.giveminigun = false;
_root.giveak = false;
_root.giveanaconda = false;
_root.youknife = false;
_root.givep90 = true;
mycheat = "Bottomless P90!";
} else if (ch == "anaconda") {
_root.giveminigun = false;
_root.giveak = false;
_root.givep90 = false;
_root.youknife = false;
_root.giveanaconda = true;
mycheat = "Colt Perfection.";
} else if (ch == "apollo") {
_root.allknife = false;
_root.unarmed = false;
_root.youknife = false;
_root.allrocket = true;
mycheat = "All enemies use explosives!";
} else if (ch == "blade") {
_root.allrocket = false;
_root.giveminigun = false;
_root.giveak = false;
_root.giveanaconda = false;
_root.givep90 = false;
_root.allknife = true;
_root.youknife = true;
mycheat = "Knife Fight!";
} else if (ch == "boxing") {
_root.allrocket = false;
_root.giveminigun = false;
_root.giveak = false;
_root.giveanaconda = false;
_root.givep90 = false;
_root.allknife = false;
_root.youknife = false;
_root.unarmed = true;
mycheat = "Fight Club!";
} else if (ch == "flcl") {
_root.infammo = true;
mycheat = "Infinite ammo!";
} else if (ch == "supplies") {
_root.supplyguns = true;
mycheat = "In-Game Gun Spawn!";
} else if (ch == "hax") {
_root.infammo = true;
_root.infbt = true;
_root.supplyguns = true;
mycheat = "Asskickery = Go";
} else if (ch == "slowmo") {
_root.nomo = false;
_root.slowmo = true;
mycheat = "Slowed Bullet Time.";
} else if (ch == "no-mo") {
_root.slowmo = false;
_root.nomo = true;
mycheat = "Bullets Don't Move in Bulletime.";
} else {
givec = false;
mycheat = "You fail at hax.";
}
if (givec) {
_root.ischeating = true;
}
}
Symbol 248 MovieClip Frame 1
Instance of Symbol 238 MovieClip "newcheats" in Symbol 252 MovieClip Frame 1
onClipEvent (enterFrame) {
timer++;
if (timer == 2) {
testcheat();
}
}
Symbol 264 Button
on (release) {
this.nextFrame();
}
Symbol 294 MovieClip Frame 1
function kick() {
_x = bx;
backforce = sbf;
frontforce = sff;
}
function clear() {
frontforce = 0;
backforce = 0;
}
function frameAction() {
var _local1 = _parent;
_x = (_x - (backforce / _root.runspeed));
backforce = backforce - (frontforce / _root.runspeed);
if ((backforce < 0) && (_local1.ammo <= 0)) {
clear();
locked = true;
}
if (locked && (_local1.ammo > 0)) {
clear();
locked = false;
_x = bx;
} else if ((!locked) && (_local1.ammo <= 0)) {
clear();
locked = true;
if (sType != 9999) {
_x = (bx - maxback);
} else {
_x = bx;
}
}
if (_x < (bx - maxback)) {
_x = (bx - maxback);
if (_local1.ammo <= 0) {
clear();
locked = true;
} else {
backforce = -2;
}
} else if (_x > bx) {
_x = bx;
clear();
}
}
gotoAndStop(sType);
backforce = 0;
frontforce = 0;
bx = _x;
Symbol 295 Button
on (release) {
this.prevFrame();
}
Symbol 404 MovieClip Frame 1
stop();
Instance of Symbol 294 MovieClip "slide" in Symbol 404 MovieClip Frame 1
onClipEvent (load) {
sType = 1;
}
Instance of Symbol 294 MovieClip "slide" in Symbol 404 MovieClip Frame 1
onClipEvent (load) {
sType = 2;
}
Instance of Symbol 294 MovieClip "slide" in Symbol 404 MovieClip Frame 2
onClipEvent (load) {
sType = 10;
}
Instance of Symbol 294 MovieClip "slide" in Symbol 404 MovieClip Frame 2
onClipEvent (load) {
sType = 8;
}
Instance of Symbol 294 MovieClip "slide" in Symbol 404 MovieClip Frame 2
onClipEvent (load) {
sType = 9;
}
Instance of Symbol 294 MovieClip "slide" in Symbol 404 MovieClip Frame 4
onClipEvent (load) {
sType = 12;
}
Instance of Symbol 294 MovieClip "slide" in Symbol 404 MovieClip Frame 5
onClipEvent (load) {
sType = 13;
}
Instance of Symbol 294 MovieClip "slide" in Symbol 404 MovieClip Frame 5
onClipEvent (load) {
sType = 16;
}
Instance of Symbol 294 MovieClip "slide" in Symbol 404 MovieClip Frame 9
onClipEvent (load) {
sType = 3;
}
Instance of Symbol 294 MovieClip "slide" in Symbol 404 MovieClip Frame 9
onClipEvent (load) {
sType = 3;
}
Instance of Symbol 294 MovieClip "slide" in Symbol 404 MovieClip Frame 14
onClipEvent (load) {
sType = 15;
}
Instance of Symbol 294 MovieClip "slide" in Symbol 404 MovieClip Frame 18
onClipEvent (load) {
sType = 12;
}
Instance of Symbol 294 MovieClip "slide" in Symbol 404 MovieClip Frame 22
onClipEvent (load) {
sType = 5;
}
Instance of Symbol 294 MovieClip "slide" in Symbol 404 MovieClip Frame 22
onClipEvent (load) {
sType = 4;
}
Instance of Symbol 294 MovieClip "slide" in Symbol 404 MovieClip Frame 27
onClipEvent (load) {
sType = 6;
}
Instance of Symbol 294 MovieClip "slide" in Symbol 404 MovieClip Frame 27
onClipEvent (load) {
sType = 6;
}
Instance of Symbol 294 MovieClip "slide" in Symbol 404 MovieClip Frame 31
onClipEvent (load) {
sType = 1;
}
Instance of Symbol 294 MovieClip "slide" in Symbol 404 MovieClip Frame 31
onClipEvent (load) {
sType = 7;
}
Instance of Symbol 294 MovieClip "slide" in Symbol 404 MovieClip Frame 32
onClipEvent (load) {
sType = 14;
}
Instance of Symbol 404 MovieClip "tgun" in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("frame of gun");
}
Instance of Symbol 423 MovieClip in Symbol 426 MovieClip Frame 175
onClipEvent (enterFrame) {
_visible = _parent._parent._parent.usejetpack;
}
Symbol 426 MovieClip Frame 185
stop();
Symbol 442 MovieClip Frame 181
stop();
Symbol 462 MovieClip Frame 131
stop();
Symbol 478 MovieClip Frame 3
removeMovieClip(this);
Instance of Symbol 478 MovieClip "explosion" in Symbol 505 MovieClip Frame 180
onClipEvent (load) {
if (gen != false) {
stop();
}
}
Symbol 505 MovieClip Frame 226
stop();
Symbol 514 MovieClip Frame 241
stop();
Symbol 546 MovieClip Frame 31
stop();
Symbol 564 MovieClip Frame 1
stop();
Symbol 566 MovieClip Frame 1
function scale() {
_yscale = (_yscale + ((_parent.yst - _yscale) / 3));
}
_yscale = 0;
Instance of Symbol 83 MovieClip in Symbol 566 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.beard);
}
Instance of Symbol 89 MovieClip in Symbol 566 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.glasses);
}
Instance of Symbol 97 MovieClip in Symbol 566 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.hat);
}
Symbol 568 MovieClip Frame 1
function scale() {
_yscale = (_yscale + ((_parent.yst - _yscale) / 3));
}
_yscale = 0;
Instance of Symbol 83 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.beard);
}
Instance of Symbol 89 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.glasses);
}
Instance of Symbol 97 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.hat);
}
Instance of Symbol 566 MovieClip "s1" in Symbol 569 MovieClip Frame 1
onClipEvent (enterFrame) {
scale();
}
Instance of Symbol 568 MovieClip "s2" in Symbol 569 MovieClip Frame 1
onClipEvent (enterFrame) {
scale();
}
Symbol 602 MovieClip Frame 1
stop();
Symbol 649 MovieClip Frame 1
stop();
Instance of Symbol 294 MovieClip "slide" in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
sType = 1;
sbf = 5;
sff = 3;
maxback = 6;
frameAction();
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 606 MovieClip "pt0" in Symbol 649 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 606 MovieClip "pt1" in Symbol 649 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 606 MovieClip "pt2" in Symbol 649 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 294 MovieClip "slide" in Symbol 649 MovieClip Frame 2
onClipEvent (load) {
sType = 10;
sbf = 1;
sff = 0.7;
maxback = 8.5;
frameAction();
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 294 MovieClip "slide" in Symbol 649 MovieClip Frame 2
onClipEvent (load) {
sType = 11;
sbf = 1;
sff = 0.3;
maxback = 8.5;
frameAction();
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 606 MovieClip "pt3" in Symbol 649 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 606 MovieClip "pt1" in Symbol 649 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 606 MovieClip "pt3" in Symbol 649 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 294 MovieClip "slide" in Symbol 649 MovieClip Frame 4
onClipEvent (load) {
sType = 12;
sbf = 5;
sff = 3;
maxback = 12;
frameAction();
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 606 MovieClip "pt0" in Symbol 649 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 606 MovieClip "pt2" in Symbol 649 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 606 MovieClip "pt5" in Symbol 649 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 606 MovieClip "pt4" in Symbol 649 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 294 MovieClip "slide" in Symbol 649 MovieClip Frame 5
onClipEvent (load) {
sType = 13;
sbf = 5;
sff = 3;
maxback = 8;
frameAction();
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 606 MovieClip "pt3" in Symbol 649 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 606 MovieClip "pt4" in Symbol 649 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 606 MovieClip "pt4" in Symbol 649 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 606 MovieClip "pt6" in Symbol 649 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 606 MovieClip "pt3" in Symbol 649 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 606 MovieClip "pt5" in Symbol 649 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 606 MovieClip "pt7" in Symbol 649 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 294 MovieClip "slide" in Symbol 649 MovieClip Frame 9
onClipEvent (load) {
sType = 3;
sbf = 5;
sff = 3;
maxback = 6;
frameAction();
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 606 MovieClip "pt2" in Symbol 649 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 606 MovieClip "pt3" in Symbol 649 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 606 MovieClip "pt4" in Symbol 649 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 606 MovieClip "pt3" in Symbol 649 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 606 MovieClip "pt2" in Symbol 649 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 606 MovieClip "pt4" in Symbol 649 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 294 MovieClip "slide" in Symbol 649 MovieClip Frame 14
onClipEvent (load) {
sType = 15;
sbf = 5;
sff = 3;
maxback = 9;
frameAction();
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 606 MovieClip "pt1" in Symbol 649 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 606 MovieClip "pt3" in Symbol 649 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 606 MovieClip "pt4" in Symbol 649 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 606 MovieClip "pt2" in Symbol 649 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 606 MovieClip "pt4" in Symbol 649 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 606 MovieClip "pt3" in Symbol 649 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 606 MovieClip "pt4" in Symbol 649 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 294 MovieClip "slide" in Symbol 649 MovieClip Frame 18
onClipEvent (load) {
sType = 12;
sbf = 5;
sff = 3;
maxback = 12;
frameAction();
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 606 MovieClip "pt2" in Symbol 649 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 606 MovieClip "pt4" in Symbol 649 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 606 MovieClip "pt5" in Symbol 649 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 606 MovieClip "pt6" in Symbol 649 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 606 MovieClip "pt4" in Symbol 649 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 606 MovieClip "pt5" in Symbol 649 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 606 MovieClip "pt6" in Symbol 649 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 606 MovieClip "pt4" in Symbol 649 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 606 MovieClip "pt5" in Symbol 649 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 606 MovieClip "pt3" in Symbol 649 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 294 MovieClip "slide" in Symbol 649 MovieClip Frame 22
onClipEvent (load) {
sType = 4;
sbf = 5;
sff = 3;
maxback = 9;
frameAction();
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 606 MovieClip "pt2" in Symbol 649 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 606 MovieClip "pt3" in Symbol 649 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 606 MovieClip "pt0" in Symbol 649 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 606 MovieClip "pt1" in Symbol 649 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 606 MovieClip "pt2" in Symbol 649 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 606 MovieClip "pt3" in Symbol 649 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 606 MovieClip "pt5" in Symbol 649 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 606 MovieClip "pt5" in Symbol 649 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 294 MovieClip "slide" in Symbol 649 MovieClip Frame 32
onClipEvent (load) {
sType = 6;
sbf = 5;
sff = 3;
maxback = 8;
frameAction();
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 294 MovieClip "slide" in Symbol 649 MovieClip Frame 34
onClipEvent (load) {
sType = 14;
sbf = 5;
sff = 3;
maxback = 12;
frameAction();
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 606 MovieClip "pt3" in Symbol 649 MovieClip Frame 34
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 606 MovieClip "pt4" in Symbol 649 MovieClip Frame 34
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 294 MovieClip "slide" in Symbol 649 MovieClip Frame 35
onClipEvent (load) {
sType = 1;
sbf = 5;
sff = 3;
maxback = 6;
frameAction();
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 606 MovieClip "pt3" in Symbol 649 MovieClip Frame 36
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 606 MovieClip "pt4" in Symbol 649 MovieClip Frame 36
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 606 MovieClip "pt0" in Symbol 651 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 606 MovieClip "pt1" in Symbol 651 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 606 MovieClip "pt2" in Symbol 651 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 606 MovieClip "pt3" in Symbol 651 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 668 MovieClip Frame 4
remove();
Symbol 668 MovieClip Frame 9
remove();
Symbol 668 MovieClip Frame 14
remove();
Symbol 668 MovieClip Frame 20
remove();
Symbol 673 MovieClip Frame 1
stop();
Symbol 691 MovieClip Frame 1
stop();
Symbol 701 MovieClip Frame 6
removeMovieClip(this);
Instance of Symbol 423 MovieClip in Symbol 703 MovieClip Frame 1
onClipEvent (enterFrame) {
_visible = _parent._parent._parent.usejetpack;
}
Instance of Symbol 606 MovieClip "pt0" in Symbol 703 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 606 MovieClip "pt1" in Symbol 703 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 714 MovieClip Frame 1
stop();
Instance of Symbol 714 MovieClip "showbar" in Symbol 715 MovieClip Frame 1
onClipEvent (load) {
_yscale = 0;
yst = 0;
}
onClipEvent (enterFrame) {
yst = (_parent.ammo / _parent.fullammo) * 100;
_yscale = (_yscale + ((yst - _yscale) / 3));
}
Symbol 719 MovieClip Frame 30
shoot();
gotoAndStop (1);
Symbol 725 MovieClip Frame 1
stop();
Symbol 725 MovieClip Frame 6
gotoAndStop (1);
Symbol 732 MovieClip Frame 1
stop();
Symbol 761 MovieClip Frame 18
gotoAndPlay (2);
Symbol 769 MovieClip Frame 8
gotoAndPlay (1);
gotoAndPlay (1);
Symbol 781 MovieClip Frame 1
stop();
Symbol 802 MovieClip Frame 1
stop();
Symbol 807 MovieClip Frame 1
stop();
Instance of Symbol 423 MovieClip in Symbol 809 MovieClip Frame 1
onClipEvent (load) {
_visible = _parent._parent._parent.usejetpack;
}
onClipEvent (enterFrame) {
_visible = _parent._parent._parent.usejetpack;
}
Symbol 828 MovieClip Frame 1
stop();
Instance of Symbol 76 MovieClip in Symbol 828 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent.suit);
}
Instance of Symbol 802 MovieClip "blood" in Symbol 828 MovieClip Frame 1
onClipEvent (load) {
if (_name == "blood") {
_visible = false;
}
if (_y < 0) {
_y = 0;
} else if (_y > 53) {
_y = 53;
}
}
Instance of Symbol 807 MovieClip "stuck" in Symbol 828 MovieClip Frame 1
onClipEvent (load) {
if (_name == "stuck") {
_visible = false;
}
}
Instance of Symbol 809 MovieClip in Symbol 828 MovieClip Frame 1
onClipEvent (load) {
_visible = _parent._parent.isjetpack;
}
onClipEvent (enterFrame) {
_visible = _parent._parent.isjetpack;
}
Instance of Symbol 811 MovieClip in Symbol 828 MovieClip Frame 1
onClipEvent (load) {
_visible = _parent._parent.issuibomb;
}
onClipEvent (enterFrame) {
_visible = _parent._parent.issuibomb;
}
Symbol 828 MovieClip Frame 3
stop();
Symbol 828 MovieClip Frame 6
stop();
Symbol 840 MovieClip Frame 1
stop();
Symbol 858 MovieClip Frame 1
stop();
Instance of Symbol 802 MovieClip "blood" in Symbol 858 MovieClip Frame 1
onClipEvent (load) {
if (_name == "blood") {
_visible = false;
}
if (_y > 0) {
_y = 0;
} else if (_y < -40) {
_y = -40;
}
}
Instance of Symbol 802 MovieClip "blood" in Symbol 858 MovieClip Frame 1
onClipEvent (load) {
if (_name == "blood") {
_visible = false;
}
if (_y > 0) {
_y = 0;
} else if (_y < -40) {
_y = -40;
}
}
Instance of Symbol 83 MovieClip in Symbol 858 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(Number(_parent._parent.beard));
}
Instance of Symbol 89 MovieClip in Symbol 858 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(Number(_parent._parent.glasses));
}
Instance of Symbol 97 MovieClip in Symbol 858 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(Number(_parent._parent.hat));
}
Instance of Symbol 807 MovieClip "stuck" in Symbol 858 MovieClip Frame 1
onClipEvent (load) {
if (_name == "stuck") {
_visible = false;
}
}
Symbol 858 MovieClip Frame 3
stop();
Symbol 858 MovieClip Frame 6
stop();
Symbol 932 MovieClip Frame 1
stop();
Instance of Symbol 606 MovieClip "pt0" in Symbol 932 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 606 MovieClip "pt1" in Symbol 932 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 294 MovieClip "slide" in Symbol 932 MovieClip Frame 3
onClipEvent (load) {
sType = 1;
sbf = 5;
sff = 3;
maxback = 6;
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 606 MovieClip "pt2" in Symbol 932 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 294 MovieClip "slide" in Symbol 932 MovieClip Frame 4
onClipEvent (load) {
sType = 2;
sbf = 5;
sff = 3;
maxback = 6;
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 294 MovieClip "slide" in Symbol 932 MovieClip Frame 5
onClipEvent (load) {
sType = 10;
sbf = 1;
sff = 0.7;
maxback = 8.5;
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 294 MovieClip "slide" in Symbol 932 MovieClip Frame 5
onClipEvent (load) {
sType = 8;
sbf = 1;
sff = 0.3;
maxback = 8.5;
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 606 MovieClip "pt3" in Symbol 932 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 294 MovieClip "slide" in Symbol 932 MovieClip Frame 6
onClipEvent (load) {
sType = 9;
sbf = 1;
sff = 0.3;
maxback = 8.5;
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 606 MovieClip "pt3" in Symbol 932 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 294 MovieClip "slide" in Symbol 932 MovieClip Frame 9
onClipEvent (load) {
sType = 12;
sbf = 5;
sff = 3;
maxback = 12;
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 606 MovieClip "pt2" in Symbol 932 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 606 MovieClip "pt5" in Symbol 932 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 606 MovieClip "pt4" in Symbol 932 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 294 MovieClip "slide" in Symbol 932 MovieClip Frame 11
onClipEvent (load) {
sType = 13;
sbf = 5;
sff = 3;
maxback = 8;
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 606 MovieClip "pt3" in Symbol 932 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 606 MovieClip "pt4" in Symbol 932 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 606 MovieClip "pt9" in Symbol 932 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 294 MovieClip "slide" in Symbol 932 MovieClip Frame 12
onClipEvent (load) {
sType = 16;
sbf = 5;
sff = 3;
maxback = 8;
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 606 MovieClip "pt4" in Symbol 932 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 606 MovieClip "pt6" in Symbol 932 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 606 MovieClip "pt3" in Symbol 932 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 606 MovieClip "pt5" in Symbol 932 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 606 MovieClip "pt7" in Symbol 932 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 294 MovieClip "slide" in Symbol 932 MovieClip Frame 19
onClipEvent (load) {
sType = 3;
sbf = 5;
sff = 3;
maxback = 6;
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 606 MovieClip "pt2" in Symbol 932 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 606 MovieClip "pt3" in Symbol 932 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 606 MovieClip "pt4" in Symbol 932 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 606 MovieClip "pt3" in Symbol 932 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 606 MovieClip "pt2" in Symbol 932 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 606 MovieClip "pt4" in Symbol 932 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 294 MovieClip "slide" in Symbol 932 MovieClip Frame 29
onClipEvent (load) {
sType = 15;
sbf = 5;
sff = 3;
maxback = 9;
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 606 MovieClip "pt3" in Symbol 932 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 606 MovieClip "pt4" in Symbol 932 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 606 MovieClip "pt2" in Symbol 932 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 606 MovieClip "pt4" in Symbol 932 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 606 MovieClip "pt3" in Symbol 932 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 606 MovieClip "pt4" in Symbol 932 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 294 MovieClip "slide" in Symbol 932 MovieClip Frame 37
onClipEvent (load) {
sType = 12;
sbf = 5;
sff = 3;
maxback = 12;
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 606 MovieClip "pt2" in Symbol 932 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 606 MovieClip "pt4" in Symbol 932 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 606 MovieClip "pt5" in Symbol 932 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 606 MovieClip "pt6" in Symbol 932 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 606 MovieClip "pt2" in Symbol 932 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 606 MovieClip "pt5" in Symbol 932 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 606 MovieClip "pt6" in Symbol 932 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 606 MovieClip "pt4" in Symbol 932 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 606 MovieClip "pt5" in Symbol 932 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 606 MovieClip "pt3" in Symbol 932 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 294 MovieClip "slide" in Symbol 932 MovieClip Frame 45
onClipEvent (load) {
sType = 4;
sbf = 5;
sff = 3;
maxback = 9;
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 294 MovieClip "slide" in Symbol 932 MovieClip Frame 46
onClipEvent (load) {
sType = 5;
sbf = 5;
sff = 3;
maxback = 9;
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 373 MovieClip in Symbol 932 MovieClip Frame 47
onClipEvent (enterFrame) {
_visible = _parent.viselec;
}
Instance of Symbol 373 MovieClip in Symbol 932 MovieClip Frame 47
onClipEvent (enterFrame) {
_visible = _parent.viselec;
}
Instance of Symbol 606 MovieClip "pt2" in Symbol 932 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 606 MovieClip "pt3" in Symbol 932 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 606 MovieClip "pt0" in Symbol 932 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 606 MovieClip "pt1" in Symbol 932 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 606 MovieClip "pt2" in Symbol 932 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 606 MovieClip "pt3" in Symbol 932 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 606 MovieClip "pt5" in Symbol 932 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 606 MovieClip "pt5" in Symbol 932 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 294 MovieClip "slide" in Symbol 932 MovieClip Frame 65
onClipEvent (load) {
sType = 6;
sbf = 5;
sff = 3;
maxback = 6;
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 294 MovieClip "slide" in Symbol 932 MovieClip Frame 69
onClipEvent (load) {
sType = 14;
sbf = 5;
sff = 3;
maxback = 12;
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 606 MovieClip "pt3" in Symbol 932 MovieClip Frame 69
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 606 MovieClip "pt4" in Symbol 932 MovieClip Frame 69
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 294 MovieClip "slide" in Symbol 932 MovieClip Frame 71
onClipEvent (load) {
sType = 1;
sbf = 5;
sff = 3;
maxback = 6;
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 294 MovieClip "slide" in Symbol 932 MovieClip Frame 72
onClipEvent (load) {
sType = 7;
sbf = 5;
sff = 3;
maxback = 6;
}
onClipEvent (enterFrame) {
frameAction();
}
Instance of Symbol 606 MovieClip "pt3" in Symbol 932 MovieClip Frame 73
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 606 MovieClip "pt4" in Symbol 932 MovieClip Frame 73
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 606 MovieClip "pt9" in Symbol 932 MovieClip Frame 73
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 606 MovieClip "pt0b" in Symbol 932 MovieClip Frame 73
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 606 MovieClip "pt1b" in Symbol 932 MovieClip Frame 73
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 606 MovieClip "pt1" in Symbol 932 MovieClip Frame 75
onClipEvent (load) {
point = new Object();
}
onClipEvent (enterFrame) {
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
x = point.x;
y = point.y;
}
Symbol 934 MovieClip Frame 1
stop();
Instance of Symbol 761 MovieClip in Symbol 934 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;
if (((_parent.right || (_parent.left)) && (!_parent.usejetpack)) && ((_parent.right - _parent.left) != 0)) {
play();
} else {
gotoAndStop (1);
}
if (_root.runspeed == 2) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 769 MovieClip in Symbol 934 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;
if (((_parent.right || (_parent.left)) && (!_parent.usejetpack)) && ((_parent.left - _parent.right) != 0)) {
play();
} else {
gotoAndStop (1);
}
if (_root.runspeed == 2) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 649 MovieClip "stogun" in Symbol 934 MovieClip Frame 1
onClipEvent (enterFrame) {
_visible = _parent.hand.storetype[_parent.hand.resgun];
if (_visible) {
gotoAndStop(_parent.hand.resgun - 1);
}
}
Instance of Symbol 828 MovieClip "body" in Symbol 934 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 858 MovieClip "head" in Symbol 934 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 932 MovieClip "hand" in Symbol 934 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.MP.stop();
_local1.lowc.stop();
}
if (scfire) {
if (_local2) {
scfire = false;
}
_local1.scorp.stop();
_local1.lowc.stop();
}
if (sfire) {
if (_local2) {
sfire = false;
}
_local1.s.stop();
_local1.lows.stop();
}
if (akfire) {
if (_local2) {
akfire = false;
}
_local1.FN.stop();
_local1.lowak.stop();
}
if (lfire) {
if (_local2) {
lfire = false;
}
_local1.tommy.stop();
_local1.lowl85.stop();
}
if (ufire) {
if (_local2) {
ufire = false;
}
_local1.nmmsmg.stop();
_local1.lowump.stop();
}
if (mpsfire) {
if (_local2) {
mpsfire = false;
}
_local1.mpseven.stop();
_local1.lowump.stop();
}
if (mpfire) {
if (_local2) {
mpfire = false;
}
_local1.mpfive.stop();
_local1.lowump.stop();
}
if (gfire) {
if (_local2) {
gfire = false;
}
_local1.glockec.stop();
_local1.lowump.stop();
}
if (cgfire) {
if (_local2) {
cgfire = false;
}
_local1.m4autom.stop();
_local1.lowmini.stop();
}
if (m249fire) {
if (_local2) {
m249fire = false;
}
_local1.m249.stop();
_local1.lowmini.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.MP.start(0, 10000);
} else {
_local1.lowc.start(0, 10000);
}
}
if (scfire) {
if (_local1.runspeed == 1) {
_local1.scorp.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.FN.start(0, 10000);
} else {
_local1.lowak.start(0, 10000);
}
}
if (lfire) {
if (_local1.runspeed == 1) {
_local1.tommy.start(0, 10000);
} else {
_local1.lowl85.start(0, 10000);
}
}
if (ufire) {
if (_local1.runspeed == 1) {
_local1.nmmsmg.start(0, 10000);
} else {
_local1.lowump.start(0, 10000);
}
}
if (mpfire) {
if (_local1.runspeed == 1) {
_local1.mpfive.start(0, 10000);
} else {
_local1.lowump.start(0, 10000);
}
}
if (mpsfire) {
if (_local1.runspeed == 1) {
_local1.mpseven.start(0, 10000);
} else {
_local1.lowump.start(0, 10000);
}
}
if (gfire) {
if (_local1.runspeed == 1) {
_local1.glockec.start(0, 10000);
} else {
_local1.lowump.start(0, 10000);
}
}
if (cgfire) {
if (_local1.runspeed == 1) {
_local1.m4autom.start(0, 100000);
} else {
_local1.lowmini.start(0, 10000);
}
}
if (m249fire) {
if (_local1.runspeed == 1) {
_local1.m249.start(0, 100000);
} else {
_local1.lowmini.start(0, 10000);
}
}
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);
}
slide.kick(3, 2, 5);
}
function flash(fltype) {
if ((_parent.guntype == 37) or (_parent.guntype == 38)) {
if (dualswitch == 1) {
px = pt0.x + ((_parent.d * _parent.speed) * 2);
py = pt0.y;
dualswitch = 2;
} else if (dualswitch == 2) {
px = pt0b.x + ((_parent.d * _parent.speed) * 2);
py = pt0b.y;
dualswitch = 1;
}
} else {
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, inaccuracy, times) {
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 != 26)) {
_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;
if ((_parent.guntype != 37) && (_parent.guntype != 38)) {
mybullet._x = (mybullet.ox = pt0.x);
mybullet._y = (mybullet.oy = pt0.y);
mybullet._rotation = angle;
} else if ((_parent.guntype == 37) or (_parent.guntype == 38)) {
if (dualswitch == 1) {
mybullet._x = (mybullet.ox = pt0.x);
mybullet._y = (mybullet.oy = pt0.y);
mybullet._rotation = angle;
} else if (dualswitch == 2) {
mybullet._x = (mybullet.ox = pt0b.x);
mybullet._y = (mybullet.oy = pt0b.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];
if ((_parent.guntype == 37) or (_parent.guntype == 38)) {
if (dualswitch == 1) {
xd = t._x - pt0.x;
yd = t._y - pt0.y;
} else if (dualswitch == 2) {
xd = t._x - pt0b.x;
yd = t._y - pt0b.y;
}
} else {
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 < 1000000) && ((t.deadhits < 10000000) || (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 (_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) or 3) {
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);
if (_parent.guntype == 37) {
if (dualswitch == 1) {
sh._x = pt1.x;
sh._y = pt1.y;
} else if (dualswitch == 2) {
sh._x = pt1b.x;
sh._y = pt1b.y;
} else {
sh._x = pt1.x;
sh._y = pt1.y;
}
} else {
sh._x = pt1.x;
sh._y = pt1.y;
}
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.glock.start();
} else {
_local1.glocks.start();
}
} else if (_local2.guntype == 3) {
if (sgtimer < 0) {
sgtimer = 10;
x = 0;
while (x < 5) {
shoot((arot - 10) + (Math.random() * 20));
x++;
}
if (ammo != 0) {
if (_local1.runspeed == 1) {
_local1.remi.start();
} else {
_local1.remis.start();
}
} else if (_local1.runspeed == 1) {
_local1.reminopump.start();
} else {
_local1.reminopumps.start();
}
}
} else if (_local2.guntype == 4) {
scfire = true;
scftimer = 2;
startfire();
} else if (_local2.guntype == 5) {
if (_local1.runspeed == 1) {
_local1.AUTOM4.start();
} else {
_local1.lowm16.start();
}
shoot(arot);
} else if (_local2.guntype == 6) {
cfire = true;
cftimer = 2;
startfire();
} else if (_local2.guntype == 7) {
if (_local1.runspeed == 1) {
_local1.Anaconda.start();
} else {
_local1.Anacondas.start();
}
shoot(arot);
} else if (_local2.guntype == 8) {
m249fire = true;
m249timer = 1;
startfire();
} else if (_local2.guntype == 9) {
sftimer = -1;
sfire = true;
startfire();
} else if (_local2.guntype == 10) {
shoot(arot);
if (_local1.runspeed == 1) {
_local1.Beretta.start();
} else {
_local1.Berettas.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.BENELLI.start();
} else {
_local1.BENELLIS.start();
}
} else if (_local2.guntype == 16) {
shoot(arot);
if (_local1.runspeed == 1) {
_local1.AUG.start();
} else {
_local1.AUGS.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) {
shoot(arot);
if (_local1.runspeed == 1) {
_local1.WA2000.start();
} else {
_local1.WA2000S.start();
}
} 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) {
akfire = true;
aktimer = -2;
startfire();
} else if (_local2.guntype == 23) {
if (_local1.runspeed == 1) {
_local1.kimber.start();
} else {
_local1.kimbers.start();
}
shoot(arot);
} else if (_local2.guntype == 24) {
tfire = true;
viselec = true;
startfire();
} else if (_local2.guntype == 33) {
if (_local1.runspeed == 1) {
_local1.DEAGLE2.start();
} else {
_local1.lowde.start();
}
shoot(arot);
} else if (_local2.guntype == 34) {
if (_local1.runspeed == 1) {
_local1.SW.start();
} else {
_local1.SWS.start();
}
shoot(arot);
} else if (_local2.guntype == 35) {
mpfire = true;
mptimer = -5;
startfire();
} else if (_local2.guntype == 36) {
gfire = true;
gtimer = -6;
startfire();
} else if (_local2.guntype == 37) {
mpsfire = true;
mpsftimer = -2;
startfire();
} else if (_local2.guntype == 38) {
if (_local1.runspeed == 1) {
_local1.SW.start();
} else {
_local1.SWS.start();
}
shoot(arot);
} 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;
dualswitch = 1;
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, 30, 35, 75, 35, 15, 20, 0, 0, 0, 30, 40, 30, 15, 25, 40, 20, 40, 20, 30, 0, 0, 0, 0, 50, 0, 0, 0, 0, 30, 80, 15, 20, 40, 40);
gunforce = new Array(0, 0, 10, 25, 10, 18, 8, 15, 30, 18, 10, 0, 0, 0, 18, 25, 20, 10, 12, 25, 30, 0, 30, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 35, 5, 10, 10, 20, 50);
gundamage = new Array(0, 0, 1, 0.75, 1.5, 2.5, 0.75, 3.5, 2.5, 0.75, 1, 0, 0, 0, 2, 1, 1.5, 1, 1.25, 2, 4, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.5, 10, 1, 1, 1, 10);
gunblood = new Array(0, 0, 1, 1, 1, 3, 1, 2, 3, 1, 1, 0, 0, 0, 3, 1, 3, 1, 1, 3, 3, 0, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 1, 1, 1, 3);
shelltype = new Array(0, 0, 1, 3, 1, 2, 1, 5, 2, 1, 1, 0, 0, 0, 2, 3, 2, 1, 1, 2, 2, 0, 2, 1, 0, 0, 0, 0, 8, 0, 0, 0, 0, 1, 5, 1, 1, 1, 5);
flashtype = new Array(0, 0, 1, 3, 1, 2, 1, 1, 2, 1, 1, 0, 0, 0, 3, 3, 2, 1, 1, 2, 3, 3, 3, 1, 0, 0, 0, 0, 3, 0, 0, 0, 0, 2, 3, 1, 1, 1, 3);
usepoints = new Array(2, 3, 4, 5, 6, 5, 3, 8, 5, 4, 4, 5, 4, 5, 5, 5, 5, 5, 6, 7, 6, 6, 3, 2, 4, 0, 0, 4, 6, 6, 6, 6, 3, 3, 5, 3, 8, 5);
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, 0, 1, 1, 0, 0, 0);
gunnames = new Array("Null", "Hand", "Glock17", "Shotgun", "Scorpion", "M4", "MP9", "Anaconda", "M249", "Silenced P90", "Silenced Beretta", "Baseball Bat", "Switchblade", "Nightstick", "AK-47", "BenelliM4", "Steyr Aug", "Tommy", "Beretta M12", "Minigun", "WA2000", "Rocket Launcher", "F2000", "Kimber1911", "Tazer", "Axe", "Jetpack", "Suicide bomb", "Grenade Launcher", "Urinal", "Urinal", "Urinal", "Urinal", "Deagle", "S&W460", "MP5K", "Glock18C", "DualMP7s", "Dual460s");
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) {
if (cfire) {
cftimer--;
if (cftimer < 0) {
cftimer = _root.runspeed;
shoot(arot);
}
}
if (scfire) {
scftimer--;
if (scftimer < 0) {
scftimer = _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) - 0.4;
shoot(arot);
}
}
if (lfire) {
ltimer--;
if (ltimer < 0) {
ltimer = (2 * _root.runspeed) - 0.4;
shoot(arot);
}
}
if (ufire) {
utimer--;
if (utimer < 0) {
utimer = _root.runspeed;
shoot(arot);
}
}
if (mpfire) {
mptimer--;
if (mptimer < 0) {
mptimer = _root.runspeed;
shoot(arot);
}
}
if (mpsfire) {
mpstimer--;
if (mpstimer < 0) {
mpstimer = _root.runspeed;
shoot(arot);
}
}
if (gfire) {
gtimer--;
if (gtimer < 0) {
gtimer = _root.runspeed;
shoot(arot);
}
}
if (cgfire) {
cgtimer--;
if (cgtimer < 0) {
cgtimer = _root.runspeed + 1.5;
shoot(arot);
}
}
if (m249fire) {
m249timer--;
if (m249timer < 0) {
m249timer = _root.runspeed;
shoot(arot);
}
}
if (tfire) {
if (_parent.hmn) {
_root.clip.fire();
}
if ((!_parent.hmn) || (!_root.infammo)) {
ammo--;
}
}
} else if ((((((((((cfire || (m249fire)) || (scfire)) || (mpsfire)) || (mpfire)) || (gfire)) || (akfire)) || (lfire)) || (ufire)) || (cgfire)) || (tfire)) {
stopfire(true);
}
sgtimer = sgtimer - (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 761 MovieClip in Symbol 934 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;
if (((_parent.right || (_parent.left)) && (!_parent.usejetpack)) && ((_parent.right - _parent.left) != 0)) {
play();
} else {
gotoAndStop (1);
}
if (_root.runspeed == 2) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 769 MovieClip in Symbol 934 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;
if (((_parent.right || (_parent.left)) && (!_parent.usejetpack)) && ((_parent.left - _parent.right) != 0)) {
play();
} else {
gotoAndStop (1);
}
if (_root.runspeed == 2) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 828 MovieClip "body" in Symbol 934 MovieClip Frame 2
onClipEvent (load) {
wk = 40;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_rotation = (br + force);
force = force * 0.8;
}
}
Instance of Symbol 858 MovieClip "head" in Symbol 934 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 933 MovieClip "nonhand" in Symbol 934 MovieClip Frame 2
onClipEvent (load) {
by = _y;
steady = 6;
}
onClipEvent (enterFrame) {
yt = by + ff;
_y = (_y + ((yt - _y) / 3));
if (ff != 0) {
ff = ff - (ff / steady);
}
}
Instance of Symbol 943 MovieClip "bar" in Symbol 944 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 947 MovieClip Frame 1
stop();
Symbol 950 MovieClip Frame 1
stop();
Symbol 959 MovieClip Frame 8
gotoAndPlay (1);
Symbol 959 MovieClip Frame 16
gotoAndPlay (9);
Symbol 1003 Button
on (release) {
gotoAndStop ("scores");
}
Symbol 1082 Button
on (release) {
gotoAndStop ("menu");
}
Symbol 1084 Button
on (release) {
getURL ("http://www.flecko.net/buyshirts.php", "blank");
}
Symbol 1112 MovieClip Frame 839
_root.gotoAndStop("game");
trace("HELLOOOOOO!");
Symbol 1114 Button
on (release) {
_root.gotoAndStop("game");
}