STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
231380
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2623 · P5246

Site will be offline for a day within the next few days due to hardware work.

<div style="position:absolute;top:-99px;left:-99px;"><img src="https://tools.swfchan.com/stathit.asp?noj=FRM10392149-11DC&rnd=10392149" width="1" height="1"></div>

f-281th2.swf

This is the info page for
Flash #262254

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS1/AS2]
Combined Code
frame 1 { stage.showmenu = false; stage.scaleMode = 'exactFit'; loadMovieNum('http://www.2flashgames.com/flash/f-281a.swf', 1); } movieClip 3 { } frame 2 { stop(); lowlevel = 1; level = 100000; highlevel = 1000000; detail = 2; ai = true; allwaysinvincible = false; infbt = false; armlength = 1; } movieClip 6 { } instance pbar of movieClip 6 { onClipEvent (enterFrame) { _xscale = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); _root.p = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); } } instance sbar of movieClip 6 { onClipEvent (enterFrame) { _root.t = _level1.getBytesTotal(); t = _root.t; if (t > 0) { l = _level1.getBytesLoaded(); _root.sp = Math.round((l / t) * 100); _xscale = _root.sp; tom._visible = false; } else { _xscale = 0; } } } movieClip 11 { } instance of movieClip 11 { onClipEvent (enterFrame) { show = _root.p; _x = _root.pbar._x + _root.pbar._width; } } instance of movieClip 11 { onClipEvent (enterFrame) { show = _root.sp; _x = _root.sbar._x + _root.sbar._width; } } instance gbar of movieClip 6 { onClipEvent (enterFrame) { scale = Math.round(_root.p * 1.8); if (scale > 100) { scale = 100; } _xscale = scale; _root.gp = scale; } } instance of movieClip 11 { onClipEvent (enterFrame) { show = _root.gp; _x = _root.gbar._x + _root.gbar._width; } } movieClip 15 { } instance of movieClip 15 { onClipEvent (enterFrame) { show = _root.tloaded; _x = _root.tbar._x + _root.tbar._width; } } movieClip 16 { } instance tbar of movieClip 16 { 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; } } } movieClip 20 { } instance mmanager of movieClip 20 { onClipEvent (load) { function fade(vol) { vt = vol; } function setvol(vol) { volume = vol; vt = volume; } hasloaded = true; vt = 100; volume = 100; song = 'splitmek'; } onClipEvent (enterFrame) { if (_root.usemusic) { if (Math.abs(volume - vt) < 5) { volume = vt; } else { if (volume > vt) { volume -= 5; } else { if (volume < vt) { volume += 5; } } } } else { volume = 0; } if (_root.songname == 'splitmek') { _root.splitmek1.setVolume(volume); _root.splitmek2.setVolume(volume); _root.splitmek3.setVolume(volume); _root.splitmek4.setVolume(volume); } else { if (_root.songname == 'monks') { _root.monks1.setVolume(volume); _root.monks2.setVolume(volume); _root.monks3.setVolume(volume); _root.monks4.setVolume(volume); _root.monks5.setVolume(volume); _root.monks6.setVolume(volume); } else { if (_root.songname == 'lookdown') { _root.lookdown1.setVolume(volume); _root.lookdown2.setVolume(volume); _root.lookdown3.setVolume(volume); _root.lookdown4.setVolume(volume); _root.lookdown5.setVolume(volume); _root.lookdown6.setVolume(volume); } } } if (_root._currentframe == 3) { ++timer; if (timer == 2) { _root.initmusic(); } } } } frame 3 { function clearstats() { numkilled = 0; shotsfired = 0; enemies_hit = 0; activeguys = 0; activeen = 0; score = 0; totaltime = 0; kstring = 0; maxstring = 0; hmndeaths = 0; gtime = ''; adisp = 0; rating = 0; } function setsong(song_ref, init_loops, mysongname) { csong.stop(); song_ref.start(0, init_loops); csong = song_ref; cloops = init_loops; songname = mysongname; trace('SET SONG ' + mysongname); } function getsong() { csong.start(0, cloops); } function getname(i) { if (i == 16) { kst = 'Shift'; return kst; } if (i == 37) { kst = 'Left'; return kst; } if (i == 38) { kst = 'Up'; return kst; } if (i == 39) { kst = 'Right'; return kst; } if (i == 40) { kst = 'Down'; return kst; } if (i == 13) { kst = 'Enter'; return kst; } if (i == 32) { kst = 'Space'; return kst; } if (i == 33) { kst = 'PageUp'; return kst; } if (i == 34) { kst = 'PageDn'; return kst; } if (i == 35) { kst = 'End'; return kst; } if (i == 36) { kst = 'Home'; return kst; } if (i == 45) { kst = 'Insert'; return kst; } if (i == 46) { kst = 'Delete'; return kst; } if (i == 8) { kst = 'Backspc'; return kst; } if (i == 17) { kst = 'Ctrl'; return kst; } kst = String.fromCharCode(i); return kst; } function eog() { shutter.removeMovieClip(); gotoAndStop(7); } function mtest(type) { return type > 10 && type < 14 || type > 24 && type != 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 + '\n' + 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(5); } 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 -= ud / 25; if (t._x > x) { k = 1; } else { k = -1; } xfc = k * ud / 5; yfc = -ud / 10; if (t.usejetpack) { t.jxv += xfc; 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 += amt * 0.7; obj = btrbar.bar; ct = obj.trans.ra + amt * 10; obj.trans.ba = ct; obj.trans.ga = obj.trans.ba; obj.trans.ra = obj.trans.ba; } 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 -= 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 += 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 += sbuffer; if (ltype == 0) { ++level; duplicateMovieClip(mimg, 'img' + level, level); uim = eval('img' + level); uim._yscale = 0.8 * ubg._yscale; uim._xscale = uim._yscale; uim._x = wx; uim._y = by + sbuffer; 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 += divsize; } ++i; } } function fademenu(id, alpha) { i = 0; while (i < menus[id].length) { el = menus[id][i]; el.alphat = alpha; if (alpha < 100) { el.lock = true; } else { el.lock = false; } ++i; } } function killmenu(id) { i = 0; while (i < menus[id].length) { cm = menus[id][i]; if (cm.immune) { cm._visible = false; } else { cm.unl(); cm.removeMovieClip(); } ++i; } menus.splice(id, 1); } function initmusic() { lookdown1 = _level1.cmusic.lookdown1; lookdown2 = _level1.cmusic.lookdown2; lookdown3 = _level1.cmusic.lookdown3; lookdown4 = _level1.cmusic.lookdown4; lookdown5 = _level1.cmusic.lookdown5; lookdown6 = _level1.cmusic.lookdown6; lookdown1.onSoundComplete = function () { lookdown2.start(0, 3); }; lookdown2.onSoundComplete = function () { lookdown3.start(); }; lookdown3.onSoundComplete = function () { lookdown4.start(0, 2); }; lookdown4.onSoundComplete = function () { lookdown5.start(0, 2); }; lookdown5.onSoundComplete = function () { lookdown6.start(0, 2); }; lookdown6.onSoundComplete = function () { lookdown4.start(0, 2); }; splitmek1 = _level1.cmusic.splitmek1; splitmek2 = _level1.cmusic.splitmek2; splitmek3 = _level1.cmusic.splitmek3; splitmek4 = _level1.cmusic.splitmek4; splitmek1.onSoundComplete = function () { splitmek2.start(0, 2); }; splitmek2.onSoundComplete = function () { splitmek3.start(); }; splitmek3.onSoundComplete = function () { splitmek4.start(0, 10000); }; monks1 = _level1.cmusic.monks1; monks2 = _level1.cmusic.monks2; monks3 = _level1.cmusic.monks3; monks4 = _level1.cmusic.monks4; monks5 = _level1.cmusic.monks5; monks6 = _level1.cmusic.monks6; monks1.onSoundComplete = function () { monks2.start(0, 3); }; monks2.onSoundComplete = function () { monks3.start(); }; monks3.onSoundComplete = function () { monks4.start(0, 2); }; monks4.onSoundComplete = function () { monks5.start(); }; monks5.onSoundComplete = function () { monks6.start(); }; monks6.onSoundComplete = function () { monks1.start(); }; setsong(splitmek1, 4, 'splitmek'); } stop(); text = new Array(1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0); width = 600; height = 400; usemusic = true; bloodlist = new Array(); flashlist = new Array(); image = new Array(); menus = new Array(); } movieClip 22 { } movieClip 25 { frame 10 { stop(); } } instance of movieClip 25 { 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 { yp = 0; xp = 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 += _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); } } } } } } movieClip 27 { } instance of movieClip 27 { onClipEvent (enterFrame) { ++timer; if (timer > 200) { _root.play(); } } onClipEvent (mouseDown) { _root.enditall = true; timer = 198; } } frame 4 { ki = new Array(); ki.right = 0; ki.left = 1; ki.jump = 2; ki.throw = 3; ki.bullettime = 4; ki.pause = 5; ki.quit = 6; ki.switch = 7; ki.use = 8; ki.down = 9; ki.newguy = 10; keys = new Array(68, 65, 87, 70, 81, 80, 13, 69, 16, 83, 32); street = new Array(new Array(1, 3, 4, 5), new Array(1, 1, 2), new Array(1, 2, 3), new Array(1)); old = new Array(new Array(1, 6, 8), new Array(1, 3, 5), new Array(1, 1, 3), new Array(1)); ninja = new Array(new Array(1), new Array(1, 1, 4), new Array(1, 1, 5), new Array(4, 4)); crazy = new Array(new Array(1, 5, 6, 7), new Array(1, 2, 3, 4, 5), new Array(1, 3, 6), new Array(1)); smiths = new Array(new Array(1, 9), new Array(1, 2, 6), new Array(1, 1, 2), new Array(2, 2)); jesusc = new Array(new Array(10, 10), new Array(1), new Array(2, 2), new Array(1)); sheriffc = new Array(new Array(2, 2), new Array(1), new Array(1), new Array(1)); suit = 1; beard = 1; glasses = 1; hat = 1; shatter1 = _level1.shatter1; shatter2 = _level1.shatter2; lowshatter1 = _level1.lowshatter1; lowshatter2 = _level1.lowshatter2; pistol = _level1.pistol; lowpistol = _level1.lowpistol; deagle = _level1.deagle; lowde = _level1.lowde; shotgun = _level1.shotgun; lowshotgun = _level1.lowshotgun; uzi = _level1.uzi; lowuzi = _level1.lowuzi; m = _level1.m; lowm16 = _level1.lowm16; m60 = _level1.m60; lowm60 = _level1.lowm60; mach = _level1.mach; lowmach = _level1.lowmach; c = _level1.cc.c; lowc = _level1.cc.lowc; s = _level1.csmg.s; lowsmg = _level1.csmg.lowsmg; sil = _level1.sil; lowsilenced = _level1.lowsilenced; ak = _level1.cak.ak; siaga = _level1.siaga; lowak = _level1.cak.lowak; lownopump = _level1.lownopump; steyr = _level1.steyr; lowsteyr = _level1.lowsteyr; l85 = _level1.cl85.l85; lowl85 = _level1.cl85.lowl85; ump = _level1.cump.ump; lowump = _level1.cump.lowump; cgs = _level1.cmini.cgs; lowmini = _level1.cmini.lowmini; mag = _level1.cmag.mag; lowmag = _level1.cmag.lowmag; cgse = _level1.cgse; empty = _level1.empty; lowempty = _level1.lowempty; knife = _level1.knife; gl = _level1.gl; lowgl = _level1.lowgl; ex = _level1.ex; lowexp = _level1.lowexp; shell1 = _level1.shell1; lowshell = _level1.lowshell; fall1 = _level1.fall1; fall2 = _level1.fall2; fall3 = _level1.fall3; lowfall1 = _level1.lowfall1; lowfall2 = _level1.lowfall2; lowfall3 = _level1.lowfall3; punch1 = _level1.punch1; punch2 = _level1.punch2; punch3 = _level1.punch3; lowpunch1 = _level1.lowpunch1; lowpunch2 = _level1.lowpunch2; lowpunch3 = _level1.lowpunch3; intobt = _level1.intobt; outofbt = _level1.outofbt; heartbeat = _level1.cheart.heartbeat; oversound = _level1.oversound; oksound = _level1.oksound; rk = _level1.rocket; lowrk = _level1.lowrocket; } frame 5 { maingame = false; lasermode = maingame; tutorial = lasermode; experiment = tutorial; knifing = experiment; zombie = knifing; matrix = zombie; runspeed = 1; invincibility = false; ai = true; clearstats(); Mouse.show(); if (multiload) { stopAllSounds(); setsong(splitmek1, 4, 'splitmek'); } else { multiload = true; } qlist = new Array(new Array('Low', 'LOW'), new Array('Medium', 'MEDIUM'), new Array('High', 'HIGH'), new Array('Best', 'BEST')); dlist = new Array(new Array('Low', 0), new Array('Medium', 1), new Array('High', 2), new Array('Ultra', 3)); hatslist = new Array(new Array('None', 1), new Array('Sheriff hat', 2), new Array('Baseball cap', 3), new Array('Bandana', 4), new Array('Mohawk', 5), new Array('Top hat', 6), new Array('Clown wig', 7), new Array('Pirate', 8), new Array('Smith hair', 9), new Array('Jesus', 10)); glasseslist = new Array(new Array('None', 1), new Array('Sunglasses', 2), new Array('Geeky', 3), new Array('Sam Fisher', 4), new Array('Eyepatch', 5), new Array('Smith shades', 6)); beardslist = new Array(new Array('None', 1), new Array('Goatee', 2), new Array('Santy Clause', 3), new Array('Bonzo', 4), new Array('Ninja', 5), new Array('Gas Mask', 6)); suitslist = new Array(new Array('None', 1), new Array('Businessman', 2), new Array('White suit', 3), new Array('Ninja', 4)); main = new Array(new Array(0, 0, 'New Game', 0), new Array(0, 1, 'Tutorial', 1), new Array(0, 3, 'Challenges', 3), new Array(0, 4, 'Experiment', 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, 'Glasses:', glasseslist, 'glasses'), new Array(2, 0, 'Mask:', beardslist, 'beard'), new Array(2, 0, 'Suit:', suitslist, 'suit'), 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)); infomenu = new Array(new Array(0, 17, 'Credits', 20), new Array(0, 18, 'Flecko.net', 21), new Array(0, 19, 'mModule', 22), new Array(0, 9, 'Liquid Fire', 23), new Array(0, 20, 'Shirts - fund future work!', 24), new Array(0, 8, 'Close', 8)); stop(); newmenu(20, 20, 230, 360, 'Main Menu', main); } movieClip 29 { } instance mline of movieClip 29 { onClipEvent (load) { alphat = 100; } onClipEvent (enterFrame) { _alpha = _alpha + (alphat - _alpha) / 3; } } movieClip 31 { } instance mcorner of movieClip 31 { onClipEvent (load) { alphat = 100; } onClipEvent (enterFrame) { _alpha = _alpha + (alphat - _alpha) / 3; } } movieClip 32 { } instance mend of movieClip 32 { onClipEvent (load) { alphat = 100; } onClipEvent (enterFrame) { _alpha = _alpha + (alphat - _alpha) / 3; } } movieClip 34 { } instance mtbox of movieClip 34 { onClipEvent (load) { alphat = 100; } onClipEvent (enterFrame) { _alpha = _alpha + (alphat - _alpha) / 3; } } movieClip 37 { frame 1 { stop(); } } instance mbg of movieClip 37 { onClipEvent (load) { alphat = 100; } onClipEvent (enterFrame) { if (lock) { gotoAndStop(1); } _alpha = _alpha + (alphat - _alpha) / 3; } } movieClip 39 { } instance mhtext of movieClip 39 { onClipEvent (load) { alphat = 100; } onClipEvent (enterFrame) { _alpha = _alpha + (alphat - _alpha) / 3; } } button 40 { on (rollOver) { if (lock != true) { _root.oversound.start(); bg.gotoAndStop(2); } } on (releaseOutside, rollOut) { bg.gotoAndStop(1); } on (press) { _root.oksound.start(); } on (release) { if (lock != true) { if (ax == 0) { _root.gotoAndStop('intro'); _root.maingame = true; _root.killmenu(0); } else { if (ax == 1) { _root.tutorial = true; _root.killmenu(0); } else { if (ax == 2) { _root.newmenu(175, 50, 250, 300, 'Options', _root.options); _root.fademenu(0, 50); } else { if (ax == 3) { _root.newmenu(175, 75, 250, 250, 'Challenges', _root.challenges); _root.fademenu(0, 50); } else { if (ax == 4) { _root.gotoAndStop('game'); _root.experiment = true; _root.ai = true; _root.invincibility = false; _root.autospawn = false; _root.killmenu(0); } else { if (ax == 5) { _root.newmenu(357, 40, 213, 320, 'Controls', _root.controls); _root.fademenu(0, 25); _root.fademenu(1, 50); } else { if (ax == 6) { _root.newmenu(320, 100, 250, 200, 'Display', _root.display); _root.fademenu(0, 25); _root.fademenu(1, 50); } else { if (ax == 7) { _root.newmenu(280, 100, 300, 200, 'Cheater!', _root.cheater); _root.fademenu(0, 25); _root.fademenu(1, 50); } else { if (ax == 8) { _root.fademenu(0, 100); _root.killmenu(1); } else { if (ax == 9) { _root.fademenu(0, 50); _root.fademenu(1, 100); _root.killmenu(2); } else { if (ax == 10) { _root.newmenu(330, 30, 240, 340, 'Character', _root.character); _root.fademenu(0, 25); _root.fademenu(1, 50); } else { if (ax == 11) { _root.unpause(); Mouse.hide(); _root.killmenu(0); } else { if (ax == 12) { _root.gotoAndStop('game'); _root.ai = true; _root.invincibility = false; _root.matrix = true; _root.killmenu(0); _root.killmenu(0); } else { if (ax == 13) { } else { if (ax == 14) { _root.pause = false; _root.ret(); _root.killmenu(0); } else { if (ax == 15) { _root.gotoAndStop('game'); _root.juggle = true; _root.ai = false; _root.invincibility = false; _root.killmenu(0); _root.killmenu(0); } else { if (ax == 16) { _root.gotoAndStop('game'); _root.zombie = true; _root.ai = true; _root.invincibility = false; _root.killmenu(0); _root.killmenu(0); } else { if (ax == 17) { _root.gotoAndStop('game'); _root.knifing = true; _root.ai = false; _root.invincibility = true; _root.killmenu(0); _root.killmenu(0); } else { if (ax == 18) { _root.gotoAndStop('game'); _root.lasermode = true; _root.ai = false; _root.invincibility = false; _root.killmenu(0); _root.killmenu(0); } else { if (ax == 19) { _root.newmenu(145, 40, 310, 320, 'Info', _root.infomenu); _root.fademenu(0, 50); } else { if (ax == 20) { _root.newmenu(270, 50, 310, 300, 'Credits', _root.creditmenu); _root.fademenu(0, 25); _root.fademenu(1, 50); } else { if (ax == 21) { getURL('http://www.flecko.net/', 'blank'); } else { if (ax == 22) { getURL('http://www.mmodule.com/', 'blank'); } else { if (ax == 23) { getURL('http://www.liquid-fires.com/', 'blank'); } else { if (ax == 24) { getURL('http://www.flecko.net/buyshirts.php', 'blank'); } else { if (ax == 25) { _root.gotoAndStop('scores'); _root.killmenu(0); } else { if (ax == 26) { _root.ischeating = false; _root.armlength = 1; _root.infbt = false; _root.alwaysinvincible = false; _root.highjump = false; _root.laserguide = false; _root.giveminigun = false; _root.arnold = false; _root.gump = false; _root.allrocket = false; _root.infammo = false; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } movieClip 41 { } movieClip 58 { frame 1 { function update() { if (_parent._parent.gen == false) { if (_name == 'one') { ++count; if ((count % 2) / _root.runspeed == 0) { this.duplicateMovieClip('copy' + count, count); } } else { _yscale = _yscale - 15 / _root.runspeed; _xscale = _yscale - 15 / _root.runspeed; if (_xscale <= 0) { this.removeMovieClip(); } _alpha = _alpha - 5 / _root.runspeed; _y = _y - 5 / _root.runspeed; if (Math.random() < 0.5) { _x = _x - Math.random() * 2 / _root.runspeed; } else { _x = _x + Math.random() * 2 / _root.runspeed; } } } } } } movieClip 59 { instance one of movieClip 58 { onClipEvent (enterFrame) { update(); } } } movieClip 60 { instance one of movieClip 58 { onClipEvent (enterFrame) { update(); } } } movieClip 61 { } movieClip 79 { instance flame of movieClip 61 { onClipEvent (load) { gen = false; } } } instance mimg of movieClip 79 { onClipEvent (load) { stop(); alphat = 100; } onClipEvent (enterFrame) { _alpha = _alpha + (alphat - _alpha) / 3; } } button 100 { on (release) { if (keylock != true) { keylock = true; id = 0; k0 = '???'; } } } button 101 { on (release) { if (keylock != true) { keylock = true; id = 1; k1 = '???'; } } } button 102 { on (release) { if (keylock != true) { keylock = true; id = 2; k2 = '???'; } } } button 103 { on (release) { if (keylock != true) { keylock = true; id = 3; k3 = '???'; } } } button 104 { on (release) { if (keylock != true) { keylock = true; id = 4; k4 = '???'; } } } button 105 { on (release) { if (keylock != true) { keylock = true; id = 5; k5 = '???'; } } } button 106 { on (release) { if (keylock != true) { keylock = true; id = 6; k6 = '???'; } } } button 107 { on (release) { if (keylock != true) { keylock = true; id = 7; k7 = '???'; } } } button 108 { on (release) { if (keylock != true) { keylock = true; id = 9; k9 = '???'; } } } button 109 { on (release) { if (keylock != true) { keylock = true; id = 8; k8 = '???'; } } } movieClip 110 { } instance keytest of movieClip 110 { 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; } } } } button 112 { on (release) { if (_root[myvar] == true) { _root[myvar] = false; gotoAndStop(1); } else { _root[myvar] = true; gotoAndStop(2); } } } movieClip 114 { frame 1 { stop(); } } instance mswitch of movieClip 114 { onClipEvent (load) { if (_root[myvar]) { gotoAndStop(2); } else { gotoAndStop(1); } } } button 116 { on (release) { immune = 2; showlist(); } } movieClip 118 { frame 1 { stop(); } } instance selmaster of movieClip 118 { onClipEvent (load) { function getdisp(val) { i = 0; while (i < slist.length) { if (slist[i][1] == val) { return slist[i][0]; break; } ++i; } } 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(); } } } } button 119 { on (rollOver) { if (lock != true) { _root.oversound.start(); bg.gotoAndStop(2); } } on (releaseOutside, rollOut) { bg.gotoAndStop(1); } on (press) { _root.oksound.start(); } on (release) { _root[setvar] = setval; master.showval(); } } movieClip 120 { } movieClip 121 { } instance msline of movieClip 121 { onClipEvent (load) { alphat = 100; } onClipEvent (enterFrame) { _alpha = _alpha + (alphat - _alpha) / 3; } } movieClip 122 { frame 1 { stop(); } } instance selarea of movieClip 122 { onClipEvent (load) { alphat = 100; } onClipEvent (enterFrame) { _alpha = _alpha + (alphat - _alpha) / 3; } } movieClip 127 { frame 1 { stop(); } } movieClip 134 { frame 1 { stop(); } } movieClip 140 { frame 1 { stop(); } } movieClip 150 { frame 1 { stop(); } } movieClip 151 { instance of movieClip 127 { onClipEvent (enterFrame) { gotoAndStop(_root.suit); } } instance of movieClip 134 { onClipEvent (enterFrame) { gotoAndStop(_root.beard); } } instance of movieClip 140 { onClipEvent (enterFrame) { gotoAndStop(_root.glasses); } } instance of movieClip 150 { onClipEvent (enterFrame) { gotoAndStop(_root.hat); } } } movieClip 152 { } movieClip 161 { frame 1 { function testcheat() { trace('test'); if (_root.ischeating) { out = 'Cheater!'; } else { if (_root.matrix && _root.numkilled > 50) { out = 'New cheat: newyorkminute'; } else { if (_root.zombie && _root.numkilled > 75) { out = 'New cheat: willis'; } else { if (_root.knifing && _root.score >= 25) { out = 'New cheat: armstrong'; } else { if (_root.lasermode && _root.timeleft > 2700) { out = 'New cheat: guide'; } else { out = 'No cheats unlocked. Try harder!'; } } } } } } } } movieClip 162 { instance newcheats of movieClip 161 { onClipEvent (enterFrame) { ++timer; if (timer == 2) { testcheat(); } } } } movieClip 166 { instance newcheats of movieClip 161 { onClipEvent (enterFrame) { ++timer; if (timer == 2) { testcheat(); } } } } button 168 { on (release) { ch = mycheat.toLowerCase(); givec = true; if (ch == 'armstrong') { _root.armlength = 2; mycheat = 'Reach doubled!'; } else { if (ch == 'newyorkminute') { _root.infbt = true; mycheat = 'Infinite bullet time!'; } else { if (ch == 'willis') { _root.alwaysinvincible = true; mycheat = 'Unbreakable!'; } else { if (ch == 'hop') { _root.highjump = true; mycheat = 'High jump!'; } else { if (ch == 'guide') { _root.laserguide = true; mycheat = 'Laser guide!'; } else { if (ch == 'minnie') { _root.giveminigun = true; mycheat = 'Minigun power!'; } else { if (ch == 'arnold') { _root.arnold = true; mycheat = 'Pumped up!'; } else { if (ch == 'gump') { _root.gump = true; mycheat = 'Run!'; } else { if (ch == 'apollo') { _root.allrocket = true; mycheat = 'All enemies use explosives!'; } else { if (ch == 'flcl') { _root.infammo = true; mycheat = 'Infinite ammo!'; } else { givec = false; mycheat = 'No dice.'; } } } } } } } } } } if (givec) { _root.ischeating = true; } } } movieClip 171 { } movieClip 175 { instance newcheats of movieClip 161 { onClipEvent (enterFrame) { ++timer; if (timer == 2) { testcheat(); } } } } button 183 { on (release) { getURL('http://www.mmodule.com/', 'blank'); } } movieClip 184 { } movieClip 186 { } frame 6 { stop(); gameframe = _currentframe; pause = false; if (!_root.maingame) { stopAllSounds(); } if (!_root.experiment) { Mouse.hide(); } width = 600; height = 400; ground = 385; min = 0; max = width; maxwall = false; minwall = maxwall; ammo = new Array(0, 11, 4, 15, 20, 30, 7, 30, 30, 10, 0, 0, 0, 20, 10, 20, 20, 50, 100000000000.0, 5, 4, 30, 14, 65, 0, 0, 0, 6); btypes = new Array(0, 0, 1, 3, 2, 4, 2, 5, 4, 2, 1, 0, 0, 0, 4, 3, 4, 4, 2, 0, 7, 6, 0, 5, 0, 0, 0, 0, 8); pickups = new Array(); targets = new Array(); giblets = new Array(); hud = ''; numguns = 25; runspeed = 1; jump = 1; aispeed = 5; humanspeed = 7; bulletspeed = 12; bulletdens = 6; if (alwaysinvincible) { invincibility = true; } isjesus = false; if (matrix) { bulletspeed = 4; bulletdens = 6; enemyguns = new Array(1, 2, 3, 7, 18, 23); } else { if (zombie) { enemyguns = new Array(1, 12, 25); } else { if (knifing) { timeleft = 1800; } else { if (_root.lasermode) { timeleft = 0; } else { enemyguns = 'all'; } } } } if (highjump) { jump *= 1.5; } if (_root.experiment) { _root.newmenu(145, 40, 310, 320, 'Experiment', _root.expinfomenu); pause = true; } clearstats(); } movieClip 188 { } instance main1 of movieClip 188 { onClipEvent (load) { main = new Array(new Array('_root.mmanager', 'fade', 'num:0', 0, 0), new Array('_root.shutter', 'quickclose', '', 1, 30), new Array('_root.shutter', 'open', '', 0, 0), new Array('_root', 'stopAllSounds', '', 0, 0), new Array('_root', 'setsong', 'ref:_root.monks1^num:1^str:monks', 0, 0), new Array('_root.mmanager', 'setvol', 'num:70', 0, 0), new Array('_root', 'setcostume', 'ref:_root.street', 0, 0), new Array('_root', 'setwalls', 'num:0^num:0^num:600^num:0', 0, 0), new Array('_root', 'setceil', 'num:0^num:0', 0, 0), new Array('_root', 'setground', 'num:373', 0, 0), new Array('_root', 'setbg', 'num:2', 1, 10), new Array('_root', 'setai', 'num:1', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:40^num:-5^num:13', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:40^num:-5^num:11', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:480^num:-5^num:12', 1, 3), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:540^num:-5^num:12', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:' + _root.ground + '^num:2', 1, 15), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:' + _root.ground + '^num:11', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:470^num:-5^num:2', 1, 45), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:40^num:-5^num:2', 1, 45), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:540^num:-5^num:12', 1, 45), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:200^num:-5^num:3', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:2', 1, 3), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:550^num:-5^num:4', 1, 60), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:' + _root.ground + '^num:2', 1, 3), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:3', 1, 3), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:200^num:-5^num:2', 2, 0), new Array('', '', '', 1, 60), new Array('_root.shutter', 'close', '', 1, 30), new Array('_root', 'setbg', 'num:3', 0, 0), new Array('_root', 'setwalls', 'num:0^num:0^num:600^num:0', 0, 0), new Array('_root', 'clearpickups', '', 0, 0), new Array('_root.shutter', 'open', '', 1, 30), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:3', 1, 15), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:300^num:2^num:0^num:1', 1, 30), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:40^num:-5^num:2', 0, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:' + _root.ground + '^num:4', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:11', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:540^num:-5^num:12', 1, 3), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:480^num:-5^num:7', 1, 3), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:40^num:-5^num:7', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:' + _root.ground + '^num:4', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:540^num:-5^num:12', 1, 5), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:300^num:3^num:0^num:1', 1, 30), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:200^num:-5^num:3', 1, 35), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:300^num:7^num:0^num:1', 1, 30), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:7', 1, 35), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:550^num:-5^num:4', 1, 35), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:' + _root.ground + '^num:3', 2, 0), new Array('', '', '', 1, 60), new Array('_root.shutter', 'close', '', 1, 30), new Array('_root', 'setbg', 'num:4', 0, 0), new Array('_root', 'setwalls', 'num:0^num:0^num:600^num:0', 0, 0), new Array('_root', 'clearpickups', '', 0, 0), new Array('_root.shutter', 'open', '', 1, 30), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:' + _root.ground + '^num:3', 1, 3), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:540^num:-5^num:2', 1, 3), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:283^num:300^num:3^num:1', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:300^num:7^num:0^num:1', 1, 30), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:200^num:-5^num:11', 1, 35), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:6', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:200^num:-5^num:3', 1, 35), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:4', 1, 5), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:550^num:-5^num:7', 1, 35), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:300^num:7^num:0^num:1', 2, 2), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:' + _root.ground + '^num:7', 1, 35), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:40^num:-5^num:6', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:120^num:3^num:0^num:1', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:180^num:7^num:0^num:1', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:240^num:6^num:0^num:1', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:300^num:4^num:0^num:1', 2, 1), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:' + _root.ground + '^num:4', 1, 5), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:12', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:540^num:-5^num:3', 1, 60), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:480^num:-5^num:2', 1, 20), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:283^num:300^num:3^num:1', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:40^num:-5^num:7', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:' + _root.ground + '^num:6', 0, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:300^num:-5^num:7', 2, 0), new Array('', '', '', 1, 60), new Array('_root.shutter', 'close', '', 1, 30), new Array('_root', 'setbg', 'num:5', 0, 0), new Array('_root', 'setwalls', 'num:0^num:0^num:600^num:0', 0, 0), new Array('_root', 'setcostume', 'ref:_root.old', 0, 0), new Array('_root', 'clearpickups', '', 0, 0), new Array('_root.tgun', 'makegun', 'num:26', 0, 0), new Array('_root.shutter', 'open', '', 1, 60), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:40^num:-5^num:7', 1, 5), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:80^num:-5^num:7', 1, 5), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:540^num:-5^num:3', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:' + _root.ground + '^num:5', 1, 15), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:5', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:470^num:-5^num:3', 1, 5), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:300^num:3^num:0^num:1', 1, 30), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:40^num:-5^num:7', 1, 25), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:540^num:-5^num:4', 1, 25), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:' + _root.ground + '^num:4', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:6', 1, 3), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:540^num:-5^num:5', 1, 15), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:200^num:3^num:0^num:1', 1, 20), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:40^num:-5^num:7', 1, 20), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:' + _root.ground + '^num:4', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:300^num:6^num:0^num:1', 1, 5), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:540^num:-5^num:12', 1, 5), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:300^num:7^num:0^num:1', 1, 20), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:200^num:-5^num:12', 1, 35), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:6', 1, 35), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:300^num:-5^num:4', 1, 35), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:5', 2, 0), new Array('_root.scripter', 'setscript', 'ref:_root.main2.main', 0, 0)); } } instance main2 of movieClip 188 { onClipEvent (load) { main = new Array(new Array('', '', '', 1, 60), new Array('_root.shutter', 'close', '', 1, 30), new Array('_root', 'setground', 'num:373', 0, 0), new Array('_root', 'setwalls', 'num:0^num:0^num:600^num:0', 0, 0), new Array('_root', 'setbg', 'num:6', 0, 0), new Array('_root', 'clearpickups', '', 0, 0), new Array('_root.shutter', 'open', '', 1, 30), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:16', 1, 15), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:' + _root.ground + '^num:5', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:300^num:-5^num:7', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:300^num:3^num:0^num:1', 1, 5), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:350^num:-5^num:7', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:480^num:-5^num:4', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:540^num:-5^num:6', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:' + _root.ground + '^num:5', 1, 45), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:' + _root.ground + '^num:4', 1, 20), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:470^num:-5^num:3', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:100^num:-5^num:12', 1, 15), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:500^num:-5^num:12', 1, 15), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:200^num:-5^num:12', 1, 15), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:400^num:-5^num:12', 1, 15), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:300^num:-5^num:12', 2, 0), new Array('', '', '', 1, 60), new Array('_root.shutter', 'close', '', 1, 30), new Array('_root', 'setbg', 'num:7', 0, 0), new Array('_root', 'setwalls', 'num:0^num:0^num:520^num:1', 0, 0), new Array('_root', 'clearpickups', '', 0, 0), new Array('_root.shutter', 'open', '', 1, 30), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:16', 1, 5), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:17', 1, 15), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:300^num:-5^num:16', 1, 25), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:350^num:-5^num:7', 1, 35), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:487^num:321^num:3^num:1', 2, 1), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:17', 1, 15), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:300^num:-5^num:16', 1, 25), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:487^num:321^num:3^num:12', 1, 35), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:300^num:6^num:0^num:1', 1, 30), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:487^num:321^num:3^num:12', 1, 35), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:17', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:487^num:321^num:7^num:1', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:16', 1, 15), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:300^num:-5^num:7', 1, 15), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:300^num:6^num:0^num:1', 1, 15), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:487^num:321^num:17^num:1', 2, 0), new Array('', '', '', 1, 60), new Array('_root.shutter', 'close', '', 1, 30), new Array('_root', 'setbg', 'num:8', 0, 0), new Array('_root', 'setceil', 'num:30^num:1', 0, 0), new Array('_root', 'setcostume', 'ref:_root.crazy', 0, 0), new Array('_root', 'setground', 'num:366', 0, 0), new Array('_root', 'setwalls', 'num:58^num:1^num:600^num:0', 0, 0), new Array('_root', 'clearpickups', '', 0, 0), new Array('_root.shutter', 'open', '', 1, 30), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:78^num:333^num:7^num:1', 1, 5), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:' + _root.ground + '^num:14', 1, 5), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:78^num:333^num:6^num:5', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:78^num:333^num:7^num:4', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:78^num:333^num:7^num:3', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:' + _root.ground + '^num:14', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:' + _root.ground + '^num:3', 1, 5), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:640^num:' + _root.ground + '^num:2', 1, 5), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:78^num:333^num:6^num:4', 2, 0), new Array('', '', '', 1, 60), new Array('_root.shutter', 'close', '', 1, 30), new Array('_root', 'setbg', 'num:9', 0, 0), new Array('_root', 'setground', 'num:380', 0, 0), new Array('_root', 'setwalls', 'num:0^num:0^num:578^num:1', 0, 0), new Array('_root', 'clearpickups', '', 0, 0), new Array('_root.shutter', 'open', '', 1, 30), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:576^num:376^num:6^num:1', 1, 5), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:17', 1, 5), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:576^num:376^num:14^num:1', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:576^num:376^num:4^num:1', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:576^num:376^num:5^num:1', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:14', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:17', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:-40^num:' + _root.ground + '^num:7', 1, 5), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:576^num:376^num:23^num:1', 2, 0), new Array('', '', '', 1, 60), new Array('_root.mmanager', 'fade', 'num:0', 0, 0), new Array('_root.shutter', 'close', '', 1, 30), new Array('_root', 'setbg', 'num:10', 0, 0), new Array('_root', 'setsong', 'ref:_root.lookdown1^num:1^str:lookdown', 0, 0), new Array('_root.mmanager', 'setvol', 'num:80', 0, 0), new Array('_root', 'setground', 'num:375', 0, 0), new Array('_root', 'setwalls', 'num:30^num:1^num:575^num:1', 0, 0), new Array('_root', 'clearpickups', '', 0, 0), new Array('_root.tgun', 'makegun', 'num:29^num:122.9^num:267^num:75^num:-90', 0, 0), new Array('_root.tgun', 'makegun', 'num:31^num:184.5^num:267^num:75^num:-90', 0, 0), new Array('_root.tgun', 'makegun', 'num:30^num:262.5^num:267^num:75^num:-90', 0, 0), new Array('_root.shutter', 'open', '', 1, 30), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:50^num:375^num:12^num:1', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:560^num:375^num:12^num:1', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:560^num:375^num:25^num:1', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:50^num:375^num:13^num:1', 1, 20), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:50^num:375^num:11^num:1', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:560^num:375^num:12^num:1', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:50^num:375^num:12^num:1', 2, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:560^num:375^num:12^num:1', 1, 20), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:50^num:375^num:12^num:1', 1, 10), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:560^num:375^num:25^num:1', 1, 20), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:560^num:375^num:11^num:1', 1, 20), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:560^num:375^num:13^num:1', 2, 0), new Array('_root.scripter', 'setscript', 'ref:_root.main3.main', 0, 0)); } } instance main3 of movieClip 188 { 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 main4 of movieClip 188 { 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)); } } movieClip 190 { } instance tutor of movieClip 190 { onClipEvent (load) { tutorial = new Array(new Array('_root', 'setai', 'num:0', 0, 0), new Array('_root', 'sethud', 'str:Welcome to the tutorial. This should give you a feel for the controls.', 1, 90), new Array('_root', 'sethud', 'str:Move your hand by swinging the mouse.', 1, 120), new Array('_root', 'sethud', 'str:To move left, press ' + _root.getname(_root.keys[_root.ki.left]) + '. To move right, press ' + _root.getname(_root.keys[_root.ki.right]) + '.', 1, 120), new Array('_root', 'sethud', 'str:To jump, press ' + _root.getname(_root.keys[_root.ki.jump]) + '. Press it again in midair to double-jump.', 1, 120), new Array('_root.tgun', 'makegun', 'num:2', 0, 0), new Array('_root', 'sethud', 'str:Try grabbing this gun Put your hand over it and click it to pick it up.', 1, 180), new Array('_root', 'sethud', 'str:Aim the gun by moving your hand, and click to shoot it.', 1, 210), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:40^num:-5', 0, 0), new Array('_root.gen', 'makeguy', 'num:0^num:0^num:560^num:-5', 0, 0), new Array('_root', 'sethud', 'str:Try attacking these dummies. You can hurt them by shooting them, or by swinging your first at them to punch.', 2, 0), new Array('_root.tgun', 'makegun', 'num:6', 0, 0), new Array('_root', 'sethud', 'str:To holster your gun so you can pick up another, press ' + _root.getname(_root.keys[_root.ki.switch]) + '.', 1, 150), new Array('_root', 'sethud', 'str:Now you can carry a second gun. Press ' + _root.getname(_root.keys[_root.ki.switch]) + ' again to switch between them.', 1, 150), new Array('_root', 'sethud', 'str:You can give yourself an advantage in combat by pressing ' + _root.getname(_root.keys[_root.ki.bullettime]) + ' to toggle bullet time.', 1, 150), new Array('_root', 'sethud', 'str:More time is added to the meter every time you kill an enemy.', 1, 150), new Array('_root', 'sethud', 'str:Also, you can throw guns by swinging your arm and pressing ' + _root.getname(_root.keys[_root.ki.throw]) + '.', 1, 150), new Array('_root', 'sethud', 'str:There\'s one more skill to learn: vests.', 1, 150), new Array('_root.tgun', 'makegun', 'num:26', 0, 0), new Array('_root', 'sethud', 'str:Pick up the jetpack like you would pick up a gun. (Your hand must be empty).', 1, 150), new Array('_root', 'sethud', 'str:Press shift to activate/deactivate it, and your directional keys to move around.', 1, 150), new Array('_root', 'sethud', 'str:You\'re now ready to get started! I recommend you try experiment before the main game. Press ' + _root.getname(_root.keys[_root.ki.quit]) + ' to return to the main menu.', 3, 0)); } } movieClip 236 { frame 1 { stop(); } } movieClip 237 { frame 1 { function scale() { _yscale = _yscale + (_parent.yst - _yscale) / 3; } _yscale = 0; } } movieClip 238 { instance s1 of movieClip 237 { onClipEvent (enterFrame) { scale(); } } instance s2 of movieClip 237 { onClipEvent (enterFrame) { scale(); } } } instance shuttergen of movieClip 238 { onClipEvent (load) { function sd() { ++_root.highlevel; this.swapDepths(_root.highlevel); } function quickclose() { sd(); s2._yscale = 110; s1._yscale = 110; yst = 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(); } } } movieClip 239 { } instance of movieClip 239 { 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); } } } movieClip 265 { frame 1 { stop(); } } instance pgun of movieClip 265 { onClipEvent (load) { if (gen != false) { } else { id = _root.pickups.length; _root.pickups[_root.pickups.length] = eval('_root.' + _name); gotoAndStop(type - 1); } gdist = 15; } } movieClip 269 { } movieClip 292 { frame 1 { stop(); } instance pt0 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt1 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt2 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt2 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt5 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt6 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt5 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt7 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt2 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt2 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt2 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt2 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt5 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt6 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt6 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt5 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt2 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt5 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt5 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt2 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt0 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt1 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt2 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt5 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt5 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } } instance tgun of movieClip 292 { 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._yscale = scale; g._xscale = g._yscale; if (rot) { g._rotation = rot; } } } } function remove() { _root.pickups.splice(id, 1); i = id; while (i < _root.pickups.length) { --_root.pickups[i].id; ++i; } removeMovieClip(this); } gotoAndStop(type - 1); usepoints = new Array(3, 4, 5, 6, 5, 3, 8, 5, 4, 4, 5, 4, 5, 5, 5, 5, 5, 6, 7, 7, 6, 3, 2, 4, 0, 0, 4, 6, 6, 6, 6); if (gen == false) { if (_root.pickups.length > 5 && !_root.pickups[0].nophys) { _root.pickups[0].remove(); } id = _root.pickups.length; _root.pickups[_root.pickups.length] = eval('_root.' + _name); gotoAndStop(type - 1); if (ammo > _root.ammo[type - 1]) { ammo = _root.ammo[type - 1]; } } gdist = 15; } onClipEvent (enterFrame) { if (_root._currentframe != _root.gameframe) { remove(); } if (gen == false && _root.pause != true) { if (!nophys) { oldx = _x; oldy = _y; _x = _x + xv / _root.runspeed; _y = _y + yv / _root.runspeed; txc = oldx - _x; tyc = oldy - _y; if ((type == 12 || type == 25) && _y < _root.ground - 10) { _rotation = Math.atan2(yv, xv) * 180 / Math.PI; } else { _rotation = _rotation + rv / _root.runspeed; } if (xv > 0) { fdir = 1; } else { fdir = -1; } xv *= 1 - 0.01 / _root.runspeed; rv *= 1 - 0.01 / _root.runspeed; yv += 1 / _root.runspeed; if (_y == _root.ground - 10) { thrown = false; _rotation = 0; 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 *= -0.2; rv *= -Math.random(); } } else { if (_y < _root.ceil && _root.isceil) { _y = _root.ceil; 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 *= 1.5; } if (xtc < 0) { dir = -1; } else { dir = 1; } if (thrown) { i = 0; while (i < _root.targets.length) { t = _root.targets[i]; if (t != par && t.pimmunity < 0) { xdt = t._x - _x; ydt = t._y - _y; d = Math.sqrt(xdt * xdt + ydt * ydt); if (d < _parent._height) { n = 0; while (n < usepoints[type - 2]) { pt = eval('pt' + n); if (t.hitTest(pt.x, pt.y, true)) { headshot = pt.y < t._y - t.body._height; mysound = Math.ceil(Math.random() * 3); (eval('_root.punch' + mysound)).start(); if (n == 0 && (_currentframe == 11 || _currentframe == 24)) { if (_currentframe == 11) { sticktype = 1; } else { sticktype = 2; } t.stick(pt.y, fdir, sticktype); remove(); } t.punch(txc / hv, tyc / hv, dir * fdir, hv * 2.5, headshot); xv *= -0.2; break; } ++n; } } } ++i; } } } } } } } movieClip 294 { instance pt0 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt1 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt2 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } } instance grenade of movieClip 294 { 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 *= 1 - 0.01 / _root.runspeed; 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 -= 10; detonate(); } ++n; } } ++i; } } } } movieClip 311 { frame 4 { remove(); } frame 9 { remove(); } frame 14 { remove(); } frame 20 { remove(); } } instance spray of movieClip 311 { 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(); } } } movieClip 314 { frame 3 { removeMovieClip(this); } } instance explosion of movieClip 314 { onClipEvent (load) { if (gen != false) { stop(); } } } movieClip 319 { frame 1 { stop(); } } instance shell of movieClip 319 { onClipEvent (load) { function reverse() { xv *= -0.5; 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 *= 0.99; rv *= 0.99; 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) { rv = 0; xv = 0; yv = 0; } else { if (yv > 10) { if (_root.runspeed == 1) { _root.shell1.start(); } else { _root.lowshell.start(); } } yv *= -(0.2 + Math.random() * 0.2); xv *= 0.3 + Math.random() * 0.4; rv *= -0.5; } } if (_y == _root.ground) { ++timer; if (timer > 30) { removeMovieClip(this); } } } } } movieClip 321 { } instance clip of movieClip 321 { onClipEvent (load) { function unloadgun() { if (_root.ammobar._visible) { _root.ammobar.showbar.xst = 0; _root.ammobar._visible = false; } else { i = 0; while (i < bullets.length) { bullets[i].removeMovieClip(); ++i; } bullets.splice(0, bullets.length); } _xscale = 0; } function loadgun(guntype, myammo) { if (guntype == 22 || guntype == 24) { _xscale = 20; _yscale = 100; _y = by; _root.ammobar._visible = true; _root.ammobar.ammo = myammo; _root.ammobar.fullammo = _root.ammo[guntype - 1]; if (guntype == 22) { _root.ammobar.showbar.gotoAndStop(1); } else { _root.ammobar.showbar.gotoAndStop(2); } } else { if (guntype != 19) { btype = _root.btypes[guntype]; _root.bullet.gotoAndStop(btype); unloadgun(); --guntype; if (myammo) { _xscale = _root.bullet._width * 1.2; _yscale = _root.bullet._height * (_root.ammo[guntype] - 1); if (_yscale > 175 || btype == 8) { _yscale = _yscale / 2; overlap = true; } else { overlap = false; } highturn = true; _y = by + _root.bullet._height; } else { _xscale = 0; } i = 0; while (i < myammo) { if (overlap) { if (highturn) { _root.level += 3; highturn = false; } else { --_root.level; highturn = true; } } else { ++_root.level; } duplicateMovieClip(_root.bullet, 'bullet' + _root.level, _root.level); bullets[i] = eval('_root.bullet' + _root.level); b = bullets[i]; b.id = i; b.gen = false; b.overlap = overlap; b.type = btype; b.gotoAndStop(btype); ++i; } _root.level += 2; } } } function fire() { if (!_root.infammo) { if (_root.ammobar._visible) { --_root.ammobar.ammo; } else { bullets[0].fire = true; bullets.splice(0, 1); i = 0; while (i < bullets.length) { --bullets[i].id; ++i; } } } } ++_root.highlevel; this.swapDepths(_root.highlevel); by = _y; _xscale = 0; bullets = new Array(); } onClipEvent (enterFrame) { _visible = _root._currentFrame == _root.gameframe; } } movieClip 335 { frame 1 { stop(); } } instance bullet of movieClip 335 { onClipEvent (load) { function ypos() { if (overlap) { return _root.clip._y + (_height / 2) * (id - 2); } else { 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; } } } } movieClip 337 { } instance ripple of movieClip 337 { onClipEvent (load) { function update() { tsize -= 0.08; if (tsize < 0 || _root.runspeed == 1) { removeMovieClip(this); } n += 0.2617993877991494; _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(); } } } movieClip 339 { } instance btgraphic of movieClip 339 { onClipEvent (load) { function move() { _x = _x + xd; _y = _y + yd; off -= 0.2617993877991494; } function shoot(xmin, xmax) { closest = null; minyhit = null; mindist = 10000; i = 0; while (i < _root.targets.length) { t = _root.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 * _root.runspeed && t.deadhits < 10) && (t._x >= xmin && t._x <= xmax)) { yhit = m * t._x + b; yhit1 = m * (t._x - t.khw) + b; yhit2 = m * (t._x + t.khw) + b; maxyr = t._y; minyr = t._y - t.kth; misscond = yhit2 < minyr && yhit1 < minyr || yhit2 > maxyr && yhit1 > maxyr; if (!misscond) { if (d < mindist) { mindist = d; minyhit = yhit; closest = t; } } } ++i; } headshot = minyhit < closest._y - 50; if (closest != null) { oxd = ox - closest._x; oyd = oy - yhit; if (Math.sqrt(oxd * oxd + oyd * oyd) < 100 && (guntype == 3 || guntype == 15)) { if (headshot) { if (fdir == 1 && closest.f == 1 || fdir == -1 && closest.f == -1) { bltype = 5; } else { bltype = 4; } } else { if (fdir == 1 && closest.f == 1 || fdir == -1 && closest.f == -1) { bltype = 7; } else { bltype = 6; } } } else { bltype = gunblood[guntype]; } xcut = closest._x; notest = true; closest.blood(headshot, minyhit, bltype, fdir); closest.hit(headshot, fdir, damage, force); } } gunblood = new Array(0, 0, 1, 2, 1, 3, 1, 2, 3, 1, 1, 0, 0, 0, 2, 2, 2, 2, 2, 2, 3); xcut = null; notest = false; dn = _root.bulletdens; rad = (_rotation / 180) * Math.PI; xrd = Math.cos(rad); yrd = Math.sin(rad); if (xd > 0) { dir = 1; } else { dir = -1; } } onClipEvent (enterFrame) { if (gen == false && _root.pause != true) { if (_root._currentframe != _root.gameframe) { removeMovieClip(this); } s = _root.bulletspeed / _root.runspeed; xd = xrd * s; yd = yrd * s; if (_root.runspeed == 1) { if (fdir == 1) { min = _x; max = 600; } else { min = 0; max = _x; } } else { if (fdir == 1) { min = _x; max = _x + dn * xd; } else { min = _x + dn * xd; max = _x; } } if (!notest) { shoot(min, max); } i = 0; while (i < dn) { move(); if (xcut != null && (fdir == 1 && _x > xcut || fdir == -1 && _x < xcut)) { removeMovieClip(this); } ++i; } if (_root.detail == 2 || _root.detail == 1 && i % 2 == 0) { ++_root.level; duplicateMovieClip(_root.bulletpath, 'ripple' + _root.level, _root.level); r = eval('_root.ripple' + _root.level); r._x = _x; r._y = _y; r._rotation = _rotation; r._xscale = s * dn; r.n = off; r.tsize = 1; r.gen = false; } if (_x + _width < 0 || _x - _width > _root.width || _y + _height < 0 || _y - _height > _root.height) { removeMovieClip(this); } if (_root.runspeed == 1) { ++_root.level; duplicateMovieClip(_root.line, 'line' + _root.level, _root.level); ml = eval('_root.line' + _root.level); ml._x = _x + xd * dn; ml._y = _y + yd * dn; ml._rotation = _rotation; ml._xscale = 50 + Math.random() * 50; removeMovieClip(this); } } } } movieClip 345 { frame 6 { removeMovieClip(this); } } instance rail of movieClip 345 { onClipEvent (load) { stop(); if (gen == false) { useframe = 1; } } onClipEvent (enterFrame) { if (gen == false) { useframe += 1 / _root.runspeed; trace(useframe); gotoAndStop(Math.floor(useframe)); } } } movieClip 346 { } movieClip 347 { } movieClip 348 { instance of movieClip 347 { onClipEvent (enterFrame) { _visible = _parent._parent._parent.usejetpack; } } instance pt0 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt1 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } } instance rocket of movieClip 348 { onClipEvent (load) { function detonate() { _root.explode(_x - xd * v / _root.runspeed, _y - yd * v / _root.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 += 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; } } } } movieClip 350 { } instance bulletpath of movieClip 350 { onClipEvent (load) { _alpha = 50; } onClipEvent (enterFrame) { _alpha = _alpha - 15; if (_alpha < 0) { removeMovieClip(this); } } } movieClip 354 { frame 1 { stop(); } } movieClip 355 { instance showbar of movieClip 354 { onClipEvent (load) { _yscale = 0; yst = 0; } onClipEvent (enterFrame) { yst = (_parent.ammo / _parent.fullammo) * 100; _yscale = _yscale + (yst - _yscale) / 3; } } } instance ammobar of movieClip 355 { onClipEvent (load) { ++_root.highlevel; this.swapDepths(_root.highlevel); _visible = false; } } movieClip 359 { frame 30 { shoot(); gotoAndStop(1); } } instance of movieClip 359 { onClipEvent (load) { function shoot() { rail.play(); if (evenside) { if (_root.player._y > _y && _root.player._y - _root.player.kth < _y) { _root.player.health -= 4; sd = -(side - 1); xc = 25 * sd; if (_root.player.usejetpack) { _root.player.jxv += xc; } else { _root.player.force += xc; } if (_root.player.health <= 0) { _root.player.dying = 1; _root.player.rspeed = sd; } } } else { if (Math.abs(_root.player._x - _x) < _root.player.khw) { _root.player.health -= 4; if (_root.player.usejetpack) { _root.player.jyv -= 25 * (side - 2); } if (_root.player.health <= 0) { _root.player.dying = 1; _root.player.rspeed = _root.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._yscale = 50; ex._xscale = 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 *= -1; } else { yd *= -1; } } } } onClipEvent (enterFrame) { if (_root._currentFrame != _root.gameframe) { removeMovieClip(this); } if (_root.lasermode && !_root.pause) { if (gen != false) { timer -= 1 / _root.runspeed; if (timer <= 0) { if (settime > 15) { settime -= 2; } if (settime < 70 && movechance < 1) { 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 -= 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 *= -1; if (_x < minx) { _x = minx; } else { _x = maxx; } } if (_y < miny || _y > maxy) { yd *= -1; if (_y < miny) { _y = miny; } else { _y = maxy; } } rail._x = _x + railxoff; rail._y = _y + railyoff; } } } } } movieClip 365 { frame 1 { stop(); } frame 6 { gotoAndStop(1); } } instance redlaser of movieClip 365 { onClipEvent (enterFrame) { if (_root._currentFrame != _root.gameframe) { removeMovieClip(this); } } } movieClip 367 { } instance shadow of movieClip 367 { onClipEvent (enterFrame) { if (_root._currentframe != _root.gameframe) { removeMovieClip(this); } } } movieClip 372 { frame 1 { stop(); } } instance flash of movieClip 372 { onClipEvent (enterFrame) { if (_name != 'flash' && _root.pause != true) { ++timer; if (timer > 1) { removeMovieClip(this); } } } } movieClip 379 { } instance collider of movieClip 379 { 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(); } } movieClip 382 { } instance scripter of movieClip 382 { onClipEvent (load) { function setscript(scriptname) { script = scriptname; header = 0; mode = 0; timer = 0; } function nextevent() { maxguys = 300; do { error = false; action = script[header]; this[action[0] + '.scriptfunc'] = action[1]; mode = action[3]; if (action[0] == '' || action[1] == '') { trace('NO FUNCTION!'); } else { if (action[2].length == 0) { numargs = 0; trace('NO ARGUMENTS!'); } else { argset = action[2].split('^'); args = new Array(); n = 0; while (n < argset.length) { pair = argset[n].split(':'); type = pair[0]; val = pair[1]; pos = args.length; if (type == 'str') { args[pos] = val; } else { if (type == 'num') { args[pos] = Number(val); } else { if (type == 'ref') { args[pos] = eval(val); } else { error = true; trace('ERROR: Argument type invalid or not specified (' + header + ')'); break; } } } ++n; } numargs = args.length; } if (numargs == 0) { (eval(action[0]))[action[1]](); } else { if (numargs == 1) { (eval(action[0]))[action[1]](args[0]); } else { if (numargs == 2) { (eval(action[0]))[action[1]](args[0], args[1]); } else { if (numargs == 3) { (eval(action[0]))[action[1]](args[0], args[1], args[2]); } else { if (numargs == 4) { (eval(action[0]))[action[1]](args[0], args[1], args[2], args[3]); } else { if (numargs == 5) { (eval(action[0]))[action[1]](args[0], args[1], args[2], args[3], args[4]); } else { if (numargs == 6) { (eval(action[0]))[action[1]](args[0], args[1], args[2], args[3], args[4], args[5]); } else { if (numargs == 7) { (eval(action[0]))[action[1]](args[0], args[1], args[2], args[3], args[4], args[5], args[6]); } else { if (numargs == 8) { (eval(action[0]))[action[1]](args[0], args[1], args[2], args[3], args[4], args[5], args[6], args[7]); } } } } } } } } } } ++header; if (mode == 1) { timer = action[4]; } else { if (mode == 2) { maxguys = action[4]; } } } while (mode == 0); } timer = 0; mode = 0; header = 0; maxguys = 300; if (_root.tutorial) { setscript(_root.tutor.tutorial); } else { if (_root.maingame) { setscript(_root.main1.main); } else { mode = 3; } } } onClipEvent (enterFrame) { --timer; if (timer < 0 && mode != 3 && _root.activeen <= maxguys) { nextevent(); } } } movieClip 384 { } movieClip 395 { frame 1 { stop(); } } movieClip 416 { frame 1 { stop(); } } movieClip 419 { frame 1 { stop(); } } movieClip 420 { instance of movieClip 347 { onClipEvent (load) { _visible = _parent._parent._parent.usejetpack; } onClipEvent (enterFrame) { _visible = _parent._parent._parent.usejetpack; } } } movieClip 422 { } movieClip 427 { frame 1 { stop(); } instance of movieClip 127 { onClipEvent (load) { gotoAndStop(_parent._parent.suit); } } instance blood of movieClip 416 { onClipEvent (load) { if (_name == 'blood') { _visible = false; } if (_y < 0) { _y = 0; } else { if (_y > 53) { _y = 53; } } } } instance stuck of movieClip 419 { onClipEvent (load) { if (_name == 'stuck') { _visible = false; } } } instance of movieClip 420 { onClipEvent (load) { _visible = _parent._parent.isjetpack; } onClipEvent (enterFrame) { _visible = _parent._parent.isjetpack; } } instance of movieClip 422 { onClipEvent (load) { _visible = _parent._parent.issuibomb; } onClipEvent (enterFrame) { _visible = _parent._parent.issuibomb; } } frame 3 { stop(); } frame 6 { stop(); } } movieClip 438 { frame 1 { stop(); } } movieClip 443 { frame 1 { stop(); } instance blood of movieClip 416 { onClipEvent (load) { if (_name == 'blood') { _visible = false; } if (_y > 0) { _y = 0; } else { if (_y < -40) { _y = -40; } } } } instance of movieClip 134 { onClipEvent (load) { gotoAndStop(Number(_parent._parent.beard)); } } instance of movieClip 140 { onClipEvent (load) { gotoAndStop(Number(_parent._parent.glasses)); } } instance of movieClip 150 { onClipEvent (load) { gotoAndStop(Number(_parent._parent.hat)); } } instance stuck of movieClip 419 { onClipEvent (load) { if (_name == 'stuck') { _visible = false; } } } frame 3 { stop(); } frame 6 { stop(); } } movieClip 467 { } movieClip 470 { frame 1 { if (_parent.kout) { gotoAndStop(5); } else { stop(); } } frame 2 { play(); } frame 5 { stop(); _parent.kout = true; } } movieClip 473 { frame 1 { if (_parent.kout) { gotoAndStop(5); } else { stop(); } } frame 2 { play(); } frame 5 { stop(); _parent.kout = true; } } movieClip 489 { } movieClip 493 { } movieClip 508 { } movieClip 523 { frame 1 { stop(); } instance pt0 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt1 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt2 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt2 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt5 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt9 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt6 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt5 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt7 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt2 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt2 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt2 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt2 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt5 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt6 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt6 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt5 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt2 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt5 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt4 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt5 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance of movieClip 508 { onClipEvent (enterFrame) { _visible = _parent.viselec; } } instance pt2 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt0 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt1 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt2 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt3 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt5 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } instance pt5 of movieClip 269 { onClipEvent (load) { point = new Object(); } onClipEvent (enterFrame) { point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; } } } movieClip 525 { } movieClip 526 { frame 1 { stop(); } instance of movieClip 384 { onClipEvent (load) { depth = 54; } onClipEvent (enterFrame) { r = (-_parent.body._rotation / 180) * Math.PI; _x = _parent.body._x + Math.sin(r) * depth; _y = _parent.body._y + Math.cos(r) * depth; _rotation = _parent.body._rotation; } } instance stogun of movieClip 292 { onClipEvent (enterFrame) { _visible = _parent.hand.storetype[_parent.hand.resgun]; if (_visible) { gotoAndStop(_parent.hand.resgun - 1); } } } instance body of movieClip 427 { onClipEvent (load) { bx = _x; by = _y; wk = 40; } onClipEvent (enterFrame) { if (_root.pause == false) { _rotation = br + force; force *= 1 - 0.2 / _root.runspeed; } } } instance head of movieClip 443 { onClipEvent (load) { bx = _x; by = _y; rofft = 0; roff = 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 += (gbt - trans.gb) / 3; c.setTransform(trans); } _rotation = roff + br + force; force *= 1 - 0.2 / _root.runspeed; rofft = (_parent.hand._y - _parent.hand.yoff) / 3 * _root.armlength; 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 *= 1 - 0.2 / _root.runspeed; } } } instance hand of movieClip 523 { 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) { if (cfire) { if (cut) { cfire = false; } _root.c.stop(); _root.lowc.stop(); } if (sfire) { if (cut) { sfire = false; } _root.s.stop(); _root.lows.stop(); } if (akfire) { if (cut) { akfire = false; } _root.ak.stop(); _root.lowak.stop(); } if (lfire) { if (cut) { lfire = false; } _root.l85.stop(); _root.lowl85.stop(); } if (ufire) { if (cut) { ufire = false; } _root.ump.stop(); _root.lowump.stop(); } if (cgfire) { if (cut) { cgfire = false; } _root.cgs.stop(); _root.lowmini.stop(); _root.cgse.start(); } if (flamefire) { if (cut) { flamefire = false; } _root.flame.stop(); _root.lowflame.stop(); } if (autofire) { if (cut) { autofire = false; } _root.mag.stop(); _root.lowmag.stop(); } if (tfire) { if (cut) { viselec = false; tfire = viselec; } _root.zap.stop(); _root.lowzap.stop(); } } function startfire() { if (cfire) { if (_root.runspeed == 1) { _root.c.start(0, 10000); } else { _root.lowc.start(0, 10000); } } if (sfire) { if (_root.runspeed == 1) { _root.s.start(0, 10000); } else { _root.lowsmg.start(0, 10000); } } if (akfire) { if (_root.runspeed == 1) { _root.ak.start(0, 10000); } else { _root.lowak.start(0, 10000); } } if (lfire) { if (_root.runspeed == 1) { _root.l85.start(0, 10000); } else { _root.lowl85.start(0, 10000); } } if (ufire) { if (_root.runspeed == 1) { _root.ump.start(0, 10000); } else { _root.lowump.start(0, 10000); } } if (cgfire) { if (_root.runspeed == 1) { _root.cgs.start(0, 100000); } else { _root.lowmini.start(0, 10000); } } if (flamefire) { if (_root.runspeed == 1) { _root.flame.start(0, 100000); } else { _root.lowflame.start(0, 100000); } } if (autofire) { if (_root.runspeed == 1) { _root.mag.start(0, 100000); } else { _root.lowmag.start(0, 100000); } } if (tfire) { if (_root.runspeed == 1) { _root.zap.start(0, 100000); } else { _root.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.rv = 0; tgun.yv = 0; tgun.xv = 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() { tkang = kang + arad * f; yk = Math.sin(tkang) * gunkick[_parent.guntype] * f; xk = Math.cos(tkang) * gunkick[_parent.guntype] * f; if (_parent.usejetpack) { _parent.jxv += (xk / 12) * f; _parent.jyv += yk / 12; } } function flash(fltype) { px = pt0.x + _parent.d * _parent.speed * 2; py = pt0.y; ++_root.level; duplicateMovieClip(_root.flash, 'flash' + _root.level, _root.level); fl = eval('_root.flash' + _root.level); fl._x = px; fl._y = py; fl._rotation = arot; fl.gotoAndStop(fltype); } function shoot(angle) { shoottime = _root.runspeed; if (_parent.hmn) { ++_root.shotsfired; } kick(); rad = (angle / 180) * Math.PI; m = Math.sin(rad) / Math.cos(rad); b = ay - m * ax; if (_parent.guntype == 21) { ++_root.level; duplicateMovieClip(_root.rocket, 'rocket' + _root.level, _root.level); rk = eval('_root.rocket' + _root.level); rk._x = pt0.x; rk._y = pt0.y; rk._rotation = arot; rk.rad = rad; rk.hmn = _parent.hmn; rk.gen = false; } else { if (_root.runspeed != 1 && _parent.guntype != 20) { ++_root.level; duplicateMovieClip(_root.btgraphic, 'bullet' + _root.level, _root.level); mybullet = eval('_root.bullet' + _root.level); mybullet.ox = pt0.x; mybullet._x = mybullet.ox; mybullet.oy = pt0.y; mybullet._y = mybullet.oy; mybullet._rotation = angle; mybullet.m = m; mybullet.b = b; mybullet.fdir = fdir; mybullet.force = gunforce[_parent.guntype]; mybullet.damage = gundamage[_parent.guntype]; mybullet.guntype = _parent.guntype; mybullet.hmn = _parent.hmn; mybullet.gen = false; } else { ca = new Array(); yh = new Array(); closest = null; minyhit = null; mindist = 10000; i = 0; while (i < _root.targets.length) { t = _root.targets[i]; xd = t._x - pt0.x; yd = t._y - pt0.y; d = Math.sqrt(xd * xd + yd * yd); if (t.hmn != _parent.hmn && (t.dying <= 1 || t.ddelay < 5 && (t.deadhits < 10 || t.zombie == 3)) && (fdir == 1 && t._x + t.khw > pt0.x || fdir == -1 && t._x - t.khw < pt0.x) && t.hasentered) { yhit = m * t._x + b; yhit1 = m * (t._x - t.khw) + b; yhit2 = m * (t._x + t.khw) + b; maxyr = t._y; minyr = t._y - t.kth; misscond = yhit2 < minyr && yhit1 < minyr || yhit2 > maxyr && yhit1 > maxyr; if (!misscond) { ca[ca.length] = t; yh[ca.length - 1] = yhit; if (d < mindist) { mindist = d; minyhit = yhit; closest = t; } } } ++i; } if (_parent.guntype == 20) { n = 0; while (n < ca.length) { closest = ca[n]; yhit = yh[n]; headshot = yhit < closest._y - 50; if (mindist < 100 && (_parent.guntype == 3 || _parent.guntype == 15)) { if (headshot) { if (closest._x > pt0.x && closest.f == 1 || closest._x < pt0.x && closest.f == -1) { bltype = 5; } else { bltype = 4; } } else { if (closest._x > pt0.x && closest.f == 1 || closest._x < pt0.x && closest.f == -1) { bltype = 7; } else { bltype = 6; } } } else { bltype = gunblood[_parent.guntype]; } closest.blood(headshot, yhit, bltype, fdir); closest.hit(headshot, fdir, gundamage[_parent.guntype], gunforce[_parent.guntype]); ++n; } } else { if (closest != null) { headshot = minyhit < closest._y - 50; if (mindist < 100 && (_parent.guntype == 3 || _parent.guntype == 15)) { if (headshot) { if (closest._x > pt0.x && closest.f == 1 || closest._x < pt0.x && closest.f == -1) { bltype = 5; } else { bltype = 4; } } else { if (closest._x > pt0.x && closest.f == 1 || closest._x < pt0.x && closest.f == -1) { bltype = 7; } else { bltype = 6; } } } else { bltype = gunblood[_parent.guntype]; } closest.blood(headshot, minyhit, bltype, fdir); closest.hit(headshot, fdir, gundamage[_parent.guntype], gunforce[_parent.guntype]); } } } } if (_parent.guntype != 21) { flash(flashtype[_parent.guntype]); if (_parent.guntype == 20) { ++_root.level; duplicateMovieClip(_root.rail, 'rail' + _root.level, _root.level); rl = eval('_root.rail' + _root.level); rl._x = px; rl._y = py; rl._rotation = angle; rl._xscale = 800; rl.gen = false; } else { if (_root.runspeed == 1) { ++_root.level; duplicateMovieClip(_root.line, 'line' + _root.level, _root.level); l = eval('_root.line' + _root.level); l._x = px; l._y = py; l._rotation = angle; if (closest != null) { l._xscale = mindist / 2; l._xscale -= l._xscale / 4 + Math.random() * (l._xscale / 2); } else { l._xscale = 75 + Math.random() * 50; } } } if (_root.detail == 2) { if (x == 0 || _parent.guntype != 3 && _parent.guntype != 15) { ++_root.level; duplicateMovieClip(_root.shell, 'shell' + _root.level, _root.level); sh = eval('_root.shell' + _root.level); sh._x = pt1.x; sh._y = pt1.y; sh._rotation = _rotation * f; sh._xscale *= 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) { if (p.type == 26 && !_parent.isjetpack && !_parent.issuibomb) { _parent.isjetpack = true; p.remove(); } else { if (p.type == 27 && !_parent.isjetpack && !_parent.issuibomb) { _parent.issuibomb = true; p.remove(); } else { if (p.type != 26 && p.type != 27) { _parent.guntype = p.type; ammo = p.ammo; _root.clip.loadgun(p.type, p.ammo); gotoAndStop(2 * _parent.guntype - 1 + (f == -1)); if (p.type == 12) { k.gotoAndPlay(2); _root.knife.start(); } if (_root.tutorial) { _root.gotgun = true; } p.remove(); _root.pttrace = usepoints[_parent.guntype - 1]; } } } } function firetest() { if (shoottime < 0) { if (_parent.guntype == 1 && _parent.hmn) { i = 0; while (i < _root.pickups.length) { p = _root.pickups[i]; if (this.hitTest(p)) { getgun(p); break; } ++i; } } else { if (ammo > 0) { if (_parent.guntype == 2) { shoot(arot); if (_root.runspeed == 1) { _root.pistol.start(); } else { _root.lowpistol.start(); } } else { if (_parent.guntype == 3) { if (sgtimer < 0) { sgtimer = 10; x = 0; while (x < 5) { shoot(arot - 10 + Math.random() * 20); ++x; } if (_root.runspeed == 1) { _root.shotgun.start(); } else { _root.lowshotgun.start(); } } } else { if (_parent.guntype == 4 && uzifiring <= 0) { uzifiring = 3; if (_root.runspeed == 1) { _root.uzi.start(); } else { _root.lowuzi.start(); } } else { if (_parent.guntype == 5) { if (_root.runspeed == 1) { _root.m.start(); } else { _root.lowm16.start(); } shoot(arot); } else { if (_parent.guntype == 6) { cfire = true; cftimer = -1; startfire(); } else { if (_parent.guntype == 7) { if (_root.runspeed == 1) { _root.deagle.start(); } else { _root.lowde.start(); } shoot(arot); } else { if (_parent.guntype == 8) { m60fire = 3; m60timer = 0; if (_root.runspeed == 1) { _root.mach.start(); } else { _root.lowmach.start(); } } else { if (_parent.guntype == 9) { sftimer = -1; sfire = true; startfire(); } else { if (_parent.guntype == 10) { shoot(arot); if (_root.runspeed == 1) { _root.sil.start(); } else { _root.lowsilenced.start(); } } else { if (_parent.guntype == 14) { akfire = true; aktimer = 1; startfire(); } else { if (_parent.guntype == 15) { x = 0; while (x < 5) { shoot(arot - 10 + Math.random() * 20); ++x; } if (_root.runspeed == 1) { _root.siaga.start(); } else { _root.lownopump.start(); } } else { if (_parent.guntype == 16) { shoot(arot); if (_root.runspeed == 1) { _root.steyr.start(); } else { _root.lowsteyr.start(); } } else { if (_parent.guntype == 17) { lfire = true; ltimer = -1; startfire(); } else { if (_parent.guntype == 18) { ufire = true; utimer = -1; startfire(); } else { if (_parent.guntype == 19) { cgfire = true; cgtimer = -1; startfire(); } else { if (_parent.guntype == 20) { if (m60timer < 0) { m60timer = 35; if (_root.runspeed == 1) { _root.m60.start(); } else { _root.lowm60.start(); } shoot(arot); } } else { if (_parent.guntype == 21) { if (rktimer < 0) { rktimer = 5 * _root.runspeed; if (_root.runspeed == 1) { _root.rk.start(); } else { _root.lowrk.start(); } shoot(arot); } } else { if (_parent.guntype == 22) { flamefire = true; startfire(); } else { if (_parent.guntype == 23) { autotime = -1; autofire = true; startfire(); } else { if (_parent.guntype == 24) { tfire = true; viselec = true; startfire(); } else { if (_parent.guntype == 28) { grenade(); } } } } } } } } } } } } } } } } } } } } } } else { if (!_root.mtest(_parent.guntype)) { _root.empty.start(); } } } } } s = 1.5; r = 55; if (_parent.hmn) { r *= _root.armlength; } xoff = 10; yoff = -63; aimspeed = 2; kang = Math.PI; steady = 6; point = new Object(); viselec = false; resgun = 1; resammo = 0; if (_root.laserguide && _parent.hmn) { ++_root.level; duplicateMovieClip(_root.redlaser, 'lg' + _root.level, _root.level); lg = eval('_root.lg' + _root.level); lg._xscale = 740; } xplus = 0; yplus = 0; gunkick = new Array(0, 0, 20, 40, 15, 50, 35, 45, 60, 30, 20, 0, 0, 0, 30, 40, 30, 20, 25, 40, 60, 40, 0, 30, 0, 0, 0, 0, 50, 0, 0, 0, 0); gunforce = new Array(0, 0, 10, 25, 10, 18, 8, 15, 30, 18, 10, 0, 0, 0, 18, 25, 10, 10, 12, 25, 30, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0); gundamage = new Array(0, 0, 1, 1, 1, 2, 0.75, 2, 2.5, 0.75, 1, 0, 0, 0, 2, 1, 1.5, 1.25, 1.5, 2, 3, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0); gunblood = new Array(0, 0, 1, 2, 1, 3, 1, 2, 3, 1, 1, 0, 0, 0, 2, 2, 2, 2, 2, 2, 3, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0); shelltype = new Array(0, 0, 1, 3, 1, 2, 1, 1, 2, 1, 1, 0, 0, 0, 2, 3, 2, 2, 1, 1, 7, 0, 0, 1, 0, 0, 0, 0, 8, 0, 0, 0, 0); flashtype = new Array(0, 0, 1, 3, 1, 2, 1, 1, 2, 1, 1, 0, 0, 0, 3, 3, 2, 2, 1, 3, 4, 3, 0, 1, 0, 0, 0, 0, 3, 0, 0, 0, 0); usepoints = new Array(2, 3, 4, 5, 6, 5, 3, 8, 5, 4, 4, 5, 4, 5, 5, 5, 5, 5, 6, 7, 7, 6, 3, 2, 4, 0, 0, 4, 6, 6, 6, 6); storetype = new Array(0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1); gunnames = new Array('Null', 'Hand', 'Pistol', 'Shotgun', 'Uzi', 'M16', 'CQB', 'Desert Eagle', 'M60', 'Silenced MP5', 'Silenced Pistol', 'Baseball Bat', 'Switchblade', 'Nightstick', 'AK-47', 'Saiga', 'Steyr Aug', 'L85', 'UMP-45', 'Minigun', 'Railgun', 'Rocket Launcher', 'Flamethrower', 'Automag', 'Tazer', 'Axe', 'Jetpack', 'Suicide bomb', 'Grenade Launcher', 'Urinal', 'Urinal', 'Urinal', 'Urinal'); vectors = new Array(new Array(new Array(-20, 35, 30), new Array(-10, 40, 3), new Array(30, -30, 3)), new Array(new Array(-40, 20, 60), new Array(-35, 25, 2), new Array(50, 20, 3))); if (_parent.guntype == 12) { unsheath = true; } } onClipEvent (enterFrame) { if (_root.pause) { } else { if (_parent.electro > 0) { _x = xoff + Math.random() * 30 - 15; _y = yoff + Math.random() * 30 - 15; _rotation = Math.atan2(_y - yoff, _x - xoff) * 180 / Math.PI; stopfire(); } else { if (_parent.aflame) { _x = xoff + 5 - Math.random() * 10; _y = yoff - 35 + Math.random() * 10; _rotation = Math.atan2(_y - yoff, _x - xoff) * 180 / Math.PI; stopfire(); } else { --shoottime; --dropguntimer; if (_root.runspeed != ors) { soundswitch(); } ors = _root.runspeed; if (_parent.dying > 10) { yt = 0; xt = 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 += xc * s * f; 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 += 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 / steady; } if (yk != 0) { yk -= yk / steady; } if (ff != 0) { ff -= ff / steady; } bx += (xt - bx) / aimspeed; 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 += _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 *= 1.5; } if (_root.arnold) { 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 *= 2; t.health -= 2; snum = Math.ceil(Math.random() * 2); if (_root.runspeed == 1) { (eval('_root.shatter' + snum)).start(); } else { (eval('_root.lowshatter' + snum)).start(); } if (_root.detail > 0) { trace('d ' + _root.detail); x = 0; while (x < _root.detail * 7) { trace('x ' + x); ++_root.level; duplicateMovieClip(_root.shard, 'shard' + _root.level, _root.level); sh = eval('_root.shard' + _root.level); shpointnum = Math.floor(Math.random() * 3); shpoint = eval('pt' + shpointnum); sh._x = shpoint.x; sh._y = shpoint.y; sh.gen = false; ++x; } } } t.punch(txc / hv, tyc / hv, fdir * dir, hv, headshot); } } mysound = Math.ceil(Math.random() * 3); if (_root.runspeed == 1) { (eval('_root.punch' + mysound)).start(); } else { (eval('_root.lowpunch' + mysound)).start(); } break; } ++n; } } } ++i; } } if (ammo > 0) { --uzitimer; if (uzifiring > 0 && uzitimer < 0) { uzitimer = 2 * _root.runspeed; --uzifiring; shoot(arot); } if (cfire) { --cftimer; if (cftimer < 0) { cftimer = _root.runspeed; shoot(arot); } } if (sfire) { --sftimer; if (sftimer < 0) { sftimer = _root.runspeed; shoot(arot); } } if (akfire) { --aktimer; if (aktimer < 0) { aktimer = 3 * _root.runspeed; shoot(arot); } } if (lfire) { --ltimer; if (ltimer < 0) { ltimer = 2 * _root.runspeed; shoot(arot); } } if (ufire) { --utimer; if (utimer < 0) { utimer = _root.runspeed; shoot(arot); } } if (cgfire) { --cgtimer; if (cgtimer < 0) { cgtimer = _root.runspeed - 1; shoot(arot); } } if (flamefire) { --flametimer; if (flametimer < 0) { flametimer = 2 * _root.runspeed - 1; ++_root.level; duplicateMovieClip(_root.flame, 'flame' + _root.level, _root.level); flame = eval('_root.flame' + _root.level); flame._x = pt0.x; flame._y = pt0.y; userad = arad + 0.05 - Math.random() * 0.1; flame.xv = Math.cos(userad) * 10; flame.yv = Math.sin(userad) * 10; flame.gen = false; flame.hmn = _parent.hmn; if (_parent.hmn) { _root.clip.fire(); } if (!_parent.hmn || !_root.infammo) { --ammo; } } } if (autofire) { --autotimer; if (autotimer < 0) { autotimer = 3 * _root.runspeed; shoot(arot); } } if (tfire) { if (_parent.hmn) { _root.clip.fire(); } if (!_parent.hmn || !_root.infammo) { --ammo; } } if (m60fire > 0) { --m60timer; if (m60timer < 0) { --m60fire; m60timer = 2 * _root.runspeed; shoot(arot); } } } else { if (cfire || sfire || akfire || lfire || ufire || cgfire || flamefire || autofire || tfire || m60fire) { stopfire(true); } } sgtimer -= 1 / _root.runspeed; m60timer -= 1 / _root.runspeed; rktimer -= 1 / _root.runspeed; 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 movieClip 384 { onClipEvent (load) { depth = 54; } onClipEvent (enterFrame) { r = (-_parent.body._rotation / 180) * Math.PI; _x = _parent.body._x + Math.sin(r) * depth; _y = _parent.body._y + Math.cos(r) * depth; _rotation = _parent.body._rotation; } } instance body of movieClip 427 { onClipEvent (load) { wk = 40; } onClipEvent (enterFrame) { if (_root.pause == false) { _rotation = br + force; force *= 0.8; } } } instance head of movieClip 443 { onClipEvent (load) { bx = _x; by = _y; rofft = 0; roff = 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 += (gbt - trans.gb) / 3; c.setTransform(trans); } _rotation = roff + br + force; force *= 1 - 0.2 / _root.runspeed; rofft = (_parent.hand._y - _parent.hand.yoff) / 3 * _root.armlength; 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 *= 1 - 0.2 / _root.runspeed; } } } instance nonhand of movieClip 525 { onClipEvent (load) { by = _y; steady = 6; } onClipEvent (enterFrame) { yt = by + ff; _y = _y + (yt - _y) / 3; if (ff != 0) { ff -= ff / steady; } } } } instance pgen of movieClip 526 { 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) { trace(_name + ': REMOVE!'); _root.targets.splice(id, 1); i = id; while (i < _root.targets.length) { --_root.targets[i].id; ++i; } --_root.activeguys; dead = true; if (hmn) { if (_root.runspeed != 1) { _root.btrbarsrc.bar.endbt(); } if (_root.laserguide) { hand.lg.removeMovieClip(); } } if (jesus) { _root.isjesus = false; } if ((_root.matrix || _root.zombie || _root.lasermode) && hmn) { stopAllSounds(); Mouse.show(); _root.pause = true; _root.accuracy = Math.round((_root.enemies_hit / _root.shotsfired) * 100) + '%'; if (_root.lasermode) { _root.newmenu(150, 50, 300, 300, 'Game Over', _root.endtimechallenge); } else { _root.newmenu(150, 50, 300, 300, 'Game Over', _root.endchallenge); } } if (_root.detail >= 2) { removeMovieClip(shadow); } } function esc() { trace(_name + ': ESCAPE!'); hand.stopfire(); killflames(); if (!hasgiven) { _root.givebtr(15); } if (hmn) { if (_root.kstring > _root.maxstring) { _root.maxstring = _root.kstring; } _root.kstring = 0; _root.regen = 10; if (_root.runspeed != 1) { _root.btrbarsrc.bar.endbt(); } ++_root.hmndeaths; } else { ++_root.numkilled; ++_root.kstring; --_root.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 *= 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 *= 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 *= -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 -= 5; if (health <= 0) { dying = 1; rspeed = k; } } function hit(headshot, fdir, damage, gunforce) { if (!hmn) { ++_root.enemies_hit; } if (headshot) { if (hmn) { health -= damage / zdc; } else { health -= (damage + 2.25) / zdc; } head.force = 60 * fdir * f; force = gunforce * fdir; } else { health -= damage / zdc; head.force = -2.5 * gunforce * fdir * f; body.force = 2.5 * gunforce * fdir * f; force = gunforce * fdir; } if (health <= 0) { dying = 1; rspeed = fdir; } i = 0; while (i < _root.targets.length) { t = _root.targets[i]; if (t != this) { td = Math.abs(t._x - _x); tyd = Math.abs(t._y - _y); if (tyd < 30) { 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) { power /= zdc; if (k * f == 1) { power *= 3; k /= 3; yd /= 3; } if (headshot) { head.force = k * power * f; } else { head.force = -k * power * f; body.force = k * power * f; } force = k * power / 4; pimmunity = 12; trace('local imm:' + pimmunity); health -= 0.5 + power / 50; if (health <= 0) { dying = 1; rspeed = k; force = k * (0.5 + Math.abs(xd) / 2) * power / 1.5; yforce = yd * power / 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; } hasburned = true; aflame = hasburned; d = 1; } } function electrify() { electro += 20; } function knife(xd, yd, k, power, headshot, x, y) { if (k * f == 1) { power *= 3; k /= 3; } force = k * power / 12; pimmunity = 12; health -= 0.5 + power / 20; if (health <= 0) { dying = 1; rspeed = k; } if (headshot) { --health; target = head; head.force = k * power; } else { target = body; body.force = k * power; head.force = -k * power; } kbp = new Object(); kbp.x = x; kbp.y = y; target.globalToLocal(kbp); ++_root.level; duplicateMovieClip(target.blood, 'blood' + _root.level, _root.level); b = eval(target + '.blood' + _root.level); halfsize = target._width / 2 - b._width / 1.7; b._x = kbp * Math.random() * halfsize; b._y = kbp.y; if (0.8 * Math.abs(yd) < Math.abs(xd)) { slash = true; b.gotoAndStop(Math.ceil(Math.random() * 3)); } else { slash = false; b.gotoAndStop(9 + Math.floor(Math.random() * 4)); } bloodspray(x, y, k, slash + 1); } if (gen == false) { deadhits = 0; dying = false; hasentered = false; haslanded = false; usejetpack = false; hasgiven = false; isregistered = false; if (_x < _root.player._x) { f = 1; } else { f = -1; } dvary = Math.random() * 20; btdrag = 1 - hmn / 2; resistance = 0.2; aresistance = 0.001; gravity = 1; acc = 1; kw = 32; kh = 30; kb = 28; khw = 26; kth = 94; bpoint = new Object(); if (hmn) { hat = _root.hat; beard = _root.beard; suit = _root.suit; glasses = _root.glasses; isjetpack = false; issuibomb = false; if (_root.matrix) { health = 40; } else { health = 10; } entertimer = 60; if (_root.lasermode) { isjetpack = true; } smt = _root.humanspeed + 7 * _root.gump; } else { if (_root.matrix) { hat = 9; beard = 1; glasses = 6; suit = 2; } else { if (!_root.maingame) { suit = 1; glasses = 1; beard = 1; hat = 1; } } health = 3; if (zombie == 2) { trace('NEW JEEBUS, INDEED!'); jesus = true; fy = _y; guntype = 6; hand.ammo = 30; if (_root.maingame) { health = 175; } else { health = 25; } hat = 10; beard = 2; _root.isjesus = true; } if (isjetpack) { usejetpack = true; jby = _y; n = 0; } if (!fromdoor) { register(); } smt = _root.aispeed; ++_root.activeen; } } } onClipEvent (enterFrame) { if (_root._currentFrame != _root.gameframe) { removeMovieClip(this); } if (gen == false && _root.pause != true) { if (aflame && !dead) { ++aftimer; if (Math.random() < 0.05) { d *= -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 /= 2; 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; } 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; 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 += 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; 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 { zdc = 1; zsc = 1; } oldf = f; d = right - left; if (d != 0) { f = d; } if (f != oldf) { hand._x *= -1; hand.bx = hand._x; } _xscale = f * 100; if (f == 1) { gotoAndStop(1); } else { gotoAndStop(2); } --usetime; if (usejetpack) { vd = down - up; if (d == 0) { jxv *= 1 - 0.1 / _root.runspeed; } else { jxv += d * acc / _root.runspeed; } if (vd == 0) { jyv *= 1 - 0.1 / _root.runspeed; } else { jyv += vd * acc / _root.runspeed; } if (!_root.experiment && _y - kth < 0) { trace('OLD Y: ' + _y); _y = kth; trace('NEW Y: ' + _y); jyv *= -0.5; } _x = _x + jxv / _root.runspeed; jby += jyv / _root.runspeed; n += 0.2 / _root.runspeed; _y = jby + Math.sin(n) * 4; _rotation = jxv / 3; if (use && usetime < 0) { usetime = 10; usejetpack = false; _rotation = 0; yforce = jyv; force = jxv; } } else { _x = _x + d * smt / (1 + (_root.runspeed - 1) * btdrag) / zsc; } if (use && usetime < 0) { usetime = 10; if (isjetpack && !usejetpack) { usejetpack = true; jyv = -4; jxv = d * smt / (1 + (_root.runspeed - 1) * btdrag) / zsc; jby = _y; n = 0; } else { if (issuibomb) { detonate(); } } } } --utimer; if (up && utimer < 0) { utimer = 5; if (_y == _root.ground) { yforce = -12 * _root.jump; airjump = true; } else { if (airjump && !oldup) { yforce -= 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 *= 1 - aresistance / _root.runspeed; } else { force *= 1 - resistance / _root.runspeed; } yforce += gravity / _root.runspeed; if (_y > _root.ground) { _y = _root.ground; if (usejetpack) { usejetpack = false; _rotation = 0; yforce = jyv; force = jxv; } if (yforce > 5) { nonhand.ff = yforce; hand.ff = nonhand.ff; head.dforce = nonhand.ff; 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 *= -0.2; } if (jyv < 0) { 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 *= 1.3; } else { if (yforce >= 0) { 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 *= -0.2; } } else { if (_x - 10 < _root.min) { _x = _root.min + 10; if (usejetpack) { 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._alpha = 100; shadow._yscale = 100; shadow._xscale = 100; shadow._y = _y + 6; } else { shadow._y = _root.ground + 6; shadow._visible = _root.ground - _y < 200; shadow._alpha = (200 - (_root.ground - _y)) / 2; shadow._yscale = shadow._alpha; shadow._xscale = shadow._alpha; } } } } } movieClip 528 { } instance gen of movieClip 528 { 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; } else { g.guntype = 1; } g._y = _root.ground; if (_root.inv) { g.health = 1000000000; } } else { g.hmn = false; if (isdoor) { g.fromdoor = isdoor; g._alpha = 0; } if (isjetpack) { g.isjetpack = true; } else { g.isjetpack = false; } if (isbomb) { g.issuibomb = true; } else { g.issuibomb = false; } if (_root.maingame) { g.hat = _root.cset[0][Math.floor(Math.random() * _root.cset[0].length)]; g.glasses = _root.cset[1][Math.floor(Math.random() * _root.cset[1].length)]; g.beard = _root.cset[2][Math.floor(Math.random() * _root.cset[2].length)]; g.suit = _root.cset[3][Math.floor(Math.random() * _root.cset[3].length)]; } if (_root.allrocket && _root.maingame) { if (Math.random() < 0.5) { g.guntype = 21; } else { g.guntype = 28; } } else { if (gtype) { g.guntype = gtype; } else { if (_root.enemyguns == 'all') { g.guntype = Math.ceil(Math.random() * _root.numguns); } else { g.guntype = _root.enemyguns[Math.floor(Math.random() * _root.enemyguns.length)]; } } } g.hand.ammo = _root.ammo[g.guntype - 1]; if (g.guntype == 12) { g.hand.k.gotoAndPlay(2); } } g.zombie = z; } function sidex() { if (Math.random() < 0.5) { newx = -30; return -30; } else { newx = _root.width + 30; return newx; } } 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 += 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 -= 10; } if (zdelay > 20) { 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); } } } } } } } } movieClip 530 { } instance line of movieClip 530 { onClipEvent (enterFrame) { if (_name != 'line') { ++timer; if (timer > 1) { removeMovieClip(this); } } } } movieClip 532 { } instance gunkeys of movieClip 532 { onClipEvent (load) { if (_root.survival) { sguns = new Array(2, 11, 12, 13, 24, 25, 29); } } onClipEvent (enterFrame) { if (_root.pause != true) { if (timer < 0) { if (Key.isDown(49)) { timer = 10; _root.tgun.makegun(2); } else { if (Key.isDown(50)) { timer = 10; _root.tgun.makegun(3); } else { if (Key.isDown(51)) { timer = 10; _root.tgun.makegun(4); } else { if (Key.isDown(52)) { timer = 10; _root.tgun.makegun(5); } else { if (Key.isDown(53)) { timer = 10; _root.tgun.makegun(6); } else { if (Key.isDown(54)) { timer = 10; _root.tgun.makegun(7); } else { if (Key.isDown(55)) { timer = 10; _root.tgun.makegun(8); } else { if (Key.isDown(56)) { timer = 10; _root.tgun.makegun(9); } else { if (Key.isDown(57)) { timer = 10; _root.tgun.makegun(10); } else { if (Key.isDown(48)) { timer = 10; _root.tgun.makegun(11); } else { if (Key.isDown(189)) { timer = 10; _root.tgun.makegun(12); } else { if (Key.isDown(187)) { timer = 10; _root.tgun.makegun(13); } else { if (Key.isDown(8)) { timer = 10; _root.tgun.makegun(14); } else { if (Key.isDown(97)) { timer = 10; _root.tgun.makegun(15); } else { if (Key.isDown(98)) { timer = 10; _root.tgun.makegun(16); } else { if (Key.isDown(99)) { timer = 10; _root.tgun.makegun(17); } else { if (Key.isDown(100)) { timer = 10; _root.tgun.makegun(18); } else { if (Key.isDown(101)) { timer = 10; _root.tgun.makegun(19); } else { if (Key.isDown(102)) { timer = 10; _root.tgun.makegun(20); } else { if (Key.isDown(103)) { timer = 10; _root.tgun.makegun(21); } else { if (Key.isDown(104)) { timer = 10; _root.tgun.makegun(22); } else { if (Key.isDown(105)) { timer = 10; _root.tgun.makegun(23); } else { if (Key.isDown(110)) { timer = 10; _root.tgun.makegun(24); } else { if (Key.isDown(96)) { timer = 10; _root.tgun.makegun(25); } else { if (Key.isDown(107)) { timer = 10; _root.tgun.makegun(26); } else { if (Key.isDown(109)) { timer = 10; _root.tgun.makegun(27); } else { if (Key.isDown(111)) { timer = 10; _root.tgun.makegun(28); } else { if (Key.isDown(106)) { timer = 10; _root.tgun.makegun(29); } } } } } } } } } } } } } } } } } } } } } } } } } } } } } if (_root.experiment) { --timer; } if (Key.isDown(_root.keys[_root.ki.quit])) { _root.ret(); } --ptimer; if (ptimer < 0 && Key.isDown(_root.keys[_root.ki.pause])) { ptimer = 10; if (_root.pause != true) { _root.dopause(); stopAllSounds(); Mouse.show(); if (_root.experiment) { _root.newmenu(150, 50, 300, 300, 'Pause', _root.expausemenu); } else { _root.newmenu(200, 150, 200, 100, 'Pause', _root.regpausemenu); } } } if (_root.zombie) { --ztimer; if (ztimer < 0) { ztimer = 200; _root.tgun.makegun(3); } } else { if (_root.lasermode) { --lmtimer; if (lmtimer < 0) { lmtimer = 150; _root.tgun.makegun(2); } } } } } } instance timemaster of movieClip 27 { 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 %= 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; } } } movieClip 534 { } movieClip 535 { instance bar of movieClip 534 { onClipEvent (load) { function startbt() { rstimer = 10; _root.runspeed = 2; ct = 100; _root.intobt.start(); _root.heartbeat.start(0, 1000); } function endbt() { rstimer = 10; _root.runspeed = 1; ct = basetone; _root.outofbt.start(); _root.heartbeat.stop(); } _root.btr = 100; yst = 100; _yscale = 100; basetone = 33; c = new Color(this); trans = new Object(); ct = basetone; trans.ba = ct; trans.ga = trans.ba; trans.ra = trans.ba; 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 += (ct - trans.ra) / 10; trans.ba = trans.ra; trans.ga = trans.ba; 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 -= 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(); } } } } } } instance btrbarsrc of movieClip 535 { onClipEvent (enterFrame) { xt = _root.clip._x - _root.clip._width - 10; _x = _x + (xt - _x) / 3; } } instance flame of movieClip 61 { 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 *= 1 - 0.01 / _root.runspeed; yv *= 1 + 0.01 / _root.runspeed; 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 -= 0.3; if (_root.targets[i].health <= 0) { _root.targets[i].lightup(); } } } ++i; } } } } } movieClip 538 { frame 1 { stop(); } } instance bodygib of movieClip 538 { onClipEvent (load) { function remove() { _root.giblets.splice(id, 1); i = id; while (i < _root.giblets.length) { --_root.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 *= 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 *= 0.98; } else { if (_y > _root.ground) { _y = _root.ground; yv = 0; } else { if (_y == _root.ground) { xv *= 0.5; } } } if (_x < _root.min && _root.minwall) { _x = _root.min; xv *= -0.2; } else { if (_x > _root.max && _root.maxwall) { _x = _root._root.max; xv *= -0.2; } } if (Math.abs(xv) < 0.2) { falling = true; if (xv < 0) { rspeed = -1; } else { rspeed = 1; } } } } } } } movieClip 541 { frame 1 { stop(); } } instance headgib of movieClip 541 { onClipEvent (load) { function remove() { _root.giblets.splice(id, 1); i = id; while (i < _root.giblets.length) { --_root.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 *= 0.98; rv *= 0.98; } else { if (_y > _root.ground) { _y = _root.ground; yv = 0; } else { if (_y == _root.ground) { xv *= 0.5; rv *= 0.5; } } } if (!hashit && (_x + _width / 2 > _root.max && _root.maxwall || _x - _width / 2 < _root.min && _root.minwall)) { xv *= -0.3; rv *= -0.3; hashit = true; } if (Math.abs(xv) < 0.2) { fading = true; } } } } } movieClip 550 { frame 8 { gotoAndPlay(1); } frame 16 { gotoAndPlay(9); } } instance chunk of movieClip 550 { 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 *= 0.99; xv *= 0.99; ++yv; if (_x > _root.max && _root.maxwall) { _x = _root.max; xv *= -0.1; } else { if (_x < _root.min && _root.minwall) { _x = _root.min; xv *= -1; } } if (_y > _root.ground) { _y = _root.ground; if (yv > 12) { yv *= -0.3; } else { fade = true; } } } } } } movieClip 554 { } instance shard of movieClip 554 { 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 += 1 / _root.runspeed; } xv *= 1 - 0.01 / _root.runspeed; 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 *= -0.3; } else { yv = 0; } } else { if (_y == _root.ground) { xv *= 1 - 0.5 / _root.runspeed; rv *= 1 - 0.5 / _root.runspeed; ++dt; if (dt > 10) { removeMovieClip(this); } } } trace(_y + ' | ' + _root.ground); } } } movieClip 556 { } movieClip 559 { } instance killcounter of movieClip 559 { onClipEvent (load) { if (_root.knifing || _root.lasermode) { _visible = false; } } } movieClip 562 { } instance of movieClip 562 { onClipEvent (load) { if (!_root.knifing) { _visible = false; } } } movieClip 565 { } instance of movieClip 565 { onClipEvent (load) { if (!_root.knifing) { _visible = false; } } } movieClip 568 { } instance of movieClip 568 { onClipEvent (load) { if (!_root.lasermode) { _visible = false; } } } movieClip 570 { } instance hud of movieClip 570 { onClipEvent (enterFrame) { if (!_root.pause) { ++timer; if (timer > 60) { _root.hudlist.splice(_root.hudlist.length - 1, 1); } } } } frame 7 { Mouse.show(); stop(); accy = Math.round((enemies_hit / shotsfired) * 10000) / 100; adisp = accy + '%'; if (kstring > maxstring) { maxstring = kstring; } partsecs = Math.round(((totaltime % 30) / 30) * 100); secs = (totaltime - totaltime % 30) / 30; mins = (secs - secs % 60) / 60; secs %= 60; hours = (mins - mins % 60) / 60; 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; } } button 592 { on (release) { gotoAndStop(8); } } movieClip 599 { } instance of movieClip 599 { onClipEvent (load) { if (!_root.ischeating) { c1 = 'apollo'; if (_root.rating >= 16) { c2 += 'hop'; } if (_root.rating >= 33) { c1 += '\ngump'; } if (_root.rating >= 50) { c2 += '\narnold'; } if (_root.rating >= 66) { c1 += '\nminnie'; } if (_root.rating >= 83) { c2 += '\nFLCL'; ismore = 'You have unlocked all of the cheats!'; } else { ismore = 'There are still more cheats left to unlock!'; } } } } frame 8 { hsclip.loadVariables('http://YOUR_URL_HERE?name=' + hsname + '&rating=' + rating + '&deaths=' + hmndeaths + '&gtime=' + gtime + '&accy=' + adisp, 'GET'); } movieClip 668 { } movieClip 669 { } instance hsclip of movieClip 669 { onClipEvent (load) { _visible = false; } onClipEvent (data) { _root.isloading._visible = false; _visible = true; i = 1; while (i < 11) { this['rating' + 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; } } } button 671 { on (release) { gotoAndStop(5); } } button 673 { on (release) { getURL('http://www.flecko.net/buyshirts.php', 'blank'); } } movieClip 676 { } frame 9 { stop(); } movieClip 677 { } movieClip 679 { } movieClip 682 { } movieClip 684 { } movieClip 685 { } movieClip 686 { } movieClip 688 { } movieClip 690 { } movieClip 692 { } movieClip 694 { } movieClip 696 { } movieClip 698 { } movieClip 700 { } movieClip 701 { frame 839 { _root.gotoAndStop('game'); trace('HELLOOOOOO!'); } } button 703 { on (release) { _root.gotoAndStop('game'); } }




https://swfchan.com/53/262254/info.shtml
Created: 10/12 -2025 13:29:44 Last modified: 10/12 -2025 13:29:44 Server time: 11/12 -2025 15:29:45