Combined Code
movieClip 6 {
}
movieClip 9 {
}
movieClip 18 gexplosion {
frame 9 {
this.removeMovieClip();
stop();
}
}
movieClip 19 automatic {
frame 3 {
this.removeMovieClip();
}
}
movieClip 22 {
}
movieClip 32 {
}
movieClip 41 {
frame 16 {
if (!_root.pause) {
_root.healthleft -= 4;
}
}
frame 32 {
gotoAndPlay(4);
}
}
movieClip 75 {
frame 1 {
stop();
if (this._parent.head == true) {
gotoAndPlay(31);
} else {
if (this._parent.head == false) {
if (Math.random() * 4 <= 2) {
gotoAndPlay(2);
} else {
gotoAndPlay(59);
}
}
}
}
frame 7 {
_root.money += 55 + _root.more * _root.goldfind;
++_root.kills;
}
frame 27 {
rn = Math.random() * 2 + 1;
gotoAndStop(27 + Math.round(rn));
}
frame 28 {
stop();
}
frame 28 {
onEnterFrame = function () {
this._alpha -= 3;
if (this._alpha <= 0) {
_root.no_one_coming = true;
this._parent.removeMovieClip();
}
};
}
frame 29 {
stop();
}
frame 29 {
onEnterFrame = function () {
this._alpha -= 3;
if (this._alpha <= 0) {
_root.no_one_coming = true;
this._parent.removeMovieClip();
}
};
}
frame 30 {
stop();
}
frame 30 {
onEnterFrame = function () {
this._alpha -= 3;
if (this._alpha <= 0) {
_root.no_one_coming = true;
this._parent.removeMovieClip();
}
};
}
frame 32 {
_root.money += 60 + _root.more * _root.goldfind;
++_root.kills;
}
frame 58 {
stop();
onEnterFrame = function () {
this._alpha -= 3;
if (this._alpha <= 0) {
_root.no_one_coming = true;
this._parent.removeMovieClip();
}
};
}
frame 65 {
_root.money += 55 + _root.more * _root.goldfind;
++_root.kills;
}
frame 89 {
stop();
onEnterFrame = function () {
this._alpha -= 3;
if (this._alpha <= 0) {
_root.no_one_coming = true;
this._parent.removeMovieClip();
}
};
}
}
movieClip 76 2stick {
frame 2 {
stop();
}
}
movieClip 82 bexplosion {
frame 6 {
this.removeMovieClip();
}
}
movieClip 84 pacman {
frame 2 {
stop();
}
frame 3 {
stop();
this.removeMovieClip();
}
}
button 93 {
on (release) {
_root.pause = false;
u = 0;
while (u <= _root.pvar) {
_root['pud' + u].removeMovieClip();
++u;
}
++_root.pvar;
}
}
movieClip 94 pscreen {
}
movieClip 96 {
}
movieClip 98 laser {
frame 4 {
stop();
}
frame 5 {
stop();
onEnterFrame = function () {
_alpha = _alpha - 5;
if (_alpha <= 0) {
this.removeMovieClip();
}
};
}
}
movieClip 109 {
}
movieClip 112 {
}
movieClip 126 {
frame 13 {
if (!_root.pause) {
_root.healthleft -= 2;
}
}
}
movieClip 168 {
frame 1 {
stop();
if (this._parent.head == true) {
gotoAndPlay(30);
} else {
if (this._parent.head == false) {
if (Math.random() * 4 <= 2) {
gotoAndPlay(2);
} else {
gotoAndPlay(58);
}
}
}
}
frame 7 {
_root.money += 40 + _root.more * _root.goldfind;
++_root.kills;
}
frame 26 {
rn = Math.random() * 2 + 1;
gotoAndStop(26 + Math.round(rn));
}
frame 27 {
stop();
}
frame 27 {
onEnterFrame = function () {
this._alpha -= 3;
if (this._alpha <= 0) {
_root.no_one_coming = true;
this._parent.removeMovieClip();
}
};
}
frame 28 {
stop();
}
frame 28 {
onEnterFrame = function () {
this._alpha -= 3;
if (this._alpha <= 0) {
_root.no_one_coming = true;
this._parent.removeMovieClip();
}
};
}
frame 29 {
stop();
}
frame 29 {
onEnterFrame = function () {
this._alpha -= 3;
if (this._alpha <= 0) {
_root.no_one_coming = true;
this._parent.removeMovieClip();
}
};
}
frame 31 {
_root.money += 45 + _root.more * _root.goldfind;
++_root.kills;
}
frame 57 {
stop();
onEnterFrame = function () {
this._alpha -= 3;
if (this._alpha <= 0) {
_root.no_one_coming = true;
this._parent.removeMovieClip();
}
};
}
frame 64 {
_root.money += 40 + _root.more * _root.goldfind;
++_root.kills;
}
frame 88 {
stop();
onEnterFrame = function () {
this._alpha -= 3;
if (this._alpha <= 0) {
_root.no_one_coming = true;
this._parent.removeMovieClip();
}
};
}
}
movieClip 172 {
}
movieClip 185 {
frame 13 {
if (!_root.pause) {
_root.healthleft -= 10;
}
}
}
movieClip 194 {
frame 3 {
_root.money += 80 + _root.more * _root.goldfind;
++_root.kills;
}
frame 13 {
stop();
}
frame 13 {
stop();
onEnterFrame = function () {
this._parent._alpha -= 5;
if (this._parent._alpha <= 0) {
_root.no_one_coming = true;
this._parent.removeMovieClip();
}
};
}
}
movieClip 198 {
}
movieClip 200 {
}
movieClip 213 {
frame 8 {
if (!_root.pause) {
_root.healthleft -= 1;
}
}
frame 13 {
if (!_root.pause) {
_root.healthleft -= 1;
}
}
frame 20 {
if (!_root.pause) {
_root.healthleft -= 1;
}
}
frame 24 {
if (!_root.pause) {
_root.healthleft -= 1;
}
}
}
movieClip 226 {
frame 3 {
_root.money += 70 + _root.more * _root.goldfind;
++_root.kills;
}
frame 11 {
stop();
onEnterFrame = function () {
this._alpha -= 3;
if (this._alpha <= 0) {
_root.no_one_coming = true;
this._parent.removeMovieClip();
}
};
}
}
movieClip 231 {
}
movieClip 237 {
frame 5 {
if (!_root.pause) {
_root.healthleft -= 1;
}
}
}
movieClip 245 {
frame 3 {
_root.money += 100 + _root.more * _root.goldfind;
++_root.kills;
}
frame 10 {
stop();
onEnterFrame = function () {
this._alpha -= 3;
if (this._alpha <= 0) {
_root.no_one_coming = true;
this._parent.removeMovieClip();
}
};
}
}
movieClip 246 1stick {
frame 1 {
stop();
}
instance header of movieClip 112 {
onClipEvent (enterFrame) {
if (!_root.auto) {
if (this.hitTest(_root.mousecircleb)) {
if (_root.shooting == true) {
if (_root.ammoleft > 0) {
_parent.head = true;
_parent.health = 0;
_root.wt.gun.play();
_root.shooting = false;
}
}
}
}
if (_root.auto) {
if (_root.shooting == true) {
if (!_root.cfiring) {
if (this.hitTest(_root.mousecircleb)) {
if (_root.ammoleft > 0) {
_parent.head = false;
if (_root.current_gun != 7) {
if (_root.current_gun != 6) {
_parent.health = 0;
}
}
}
}
}
}
}
}
}
instance header of movieClip 112 {
onClipEvent (enterFrame) {
if (!_root.auto) {
if (this.hitTest(_root.mousecircleb)) {
if (_root.shooting == true) {
if (_root.ammoleft > 0) {
_parent.head = true;
_parent.health = 0;
_root.wt.gun.play();
_root.shooting = false;
}
}
}
}
if (_root.auto) {
if (_root.shooting == true) {
if (!_root.cfiring) {
if (this.hitTest(_root.mousecircleb)) {
if (_root.ammoleft > 0) {
_parent.head = false;
if (_root.current_gun != 7) {
if (_root.current_gun != 6) {
_parent.health = 0;
}
}
}
}
}
}
}
}
}
instance of movieClip 194 {
}
}
frame 1 {
function gotoMySite() {
getURL('http://www.hiddenninjagames.com', '_top');
}
function gotosSite() {
getURL('http://www.hiddenninjagames.com', '_top');
}
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = '__mochibot__';
mbc = 'mochibot.com';
g = _global ? _global : _level0._root;
if (g[mb + swfid]) {
return g[mb + swfid];
}
s = System.security;
x = mc._root.getSWFVersion;
fv = x ? mc.getSWFVersion() : (_global ? 6 : 5);
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == 'localWithFile') {
return null;
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = 'http://' + mbc + '/my/core.swf?mv=7&fv=' + fv + '&v=' + escape(/:$version) + '&swfid=' + escape(swfid) + '&l=' + lv + '&f=' + mc + (sb ? '&sb=' + sb : '') + (trk ? '&t=1' : '');
lv = fv > 6 ? mc.getNextHighestDepth() : (g[mb + 'level'] ? g[mb + 'level'] + 1 : lv);
g[mb + 'level'] = lv;
if (fv == 5) {
res = '_level' + lv;
if (!eval(res)) {
loadMovieNum(u, lv);
}
return res;
}
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
return res;
}
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = '__mochibot__';
mbc = 'mochibot.com';
g = _global ? _global : _level0._root;
if (g[mb + swfid]) {
return g[mb + swfid];
}
s = System.security;
x = mc._root.getSWFVersion;
fv = x ? mc.getSWFVersion() : (_global ? 6 : 5);
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == 'localWithFile') {
return null;
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = (fv == 5) ? /:$version : System.capabilities.version;
u = 'http://' + mbc + '/my/core.swf?mv=8&fv=' + fv + '&v=' + escape(pv) + '&swfid=' + escape(swfid) + '&l=' + lv + '&f=' + mc + (sb ? '&sb=' + sb : '') + (trk ? '&t=1' : '');
lv = fv > 6 ? mc.getNextHighestDepth() : (g[mb + 'level'] ? g[mb + 'level'] + 1 : lv);
g[mb + 'level'] = lv;
if (fv == 5) {
res = '_level' + lv;
if (!eval(res)) {
loadMovieNum(u, lv);
}
return res;
}
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
return res;
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var mySiteLink = new ContextMenuItem('Play all my games', gotoMySite);
var slink = new ContextMenuItem('My Sponor\'s Site', gotosSite);
myMenu.customItems.push(mySiteLink, slink);
__com_mochibot__('66969c6f', this, 10301, true);
__com_mochibot__('8f5189c5', this, 10301, true);
_root.menu = myMenu;
_root.kongregateServices.connect();
}
frame 1 {
stop();
}
frame 1 {
stop();
}
movieClip 250 {
}
movieClip 251 {
instance of movieClip 250 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.top)) {
_root.gotoAndStop('upgrade');
}
}
}
}
instance sky of movieClip 251 {
onClipEvent (enterFrame) {
this._y += 0.75;
}
}
movieClip 253 {
}
movieClip 263 {
}
movieClip 266 {
}
movieClip 272 {
}
movieClip 274 {
}
movieClip 276 {
}
movieClip 277 {
}
movieClip 278 {
frame 50 {
_root.nextFrame();
}
}
movieClip 279 {
frame 1 {
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndPlay('loaded');
}
}
frame 2 {
gotoAndPlay(1);
}
frame 80 {
stop();
}
instance of movieClip 278 {
onClipEvent (release) {
getURL('http://www.hiddenninjagames.com', _blank);
}
}
}
frame 2 {
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = '__mochibot__';
mbc = 'mochibot.com';
g = _global ? _global : _level0._root;
if (g[mb + swfid]) {
return g[mb + swfid];
}
s = System.security;
x = mc._root.getSWFVersion;
fv = x ? mc.getSWFVersion() : (_global ? 6 : 5);
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == 'localWithFile') {
return null;
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = (fv == 5) ? /:$version : System.capabilities.version;
u = 'http://' + mbc + '/my/core.swf?mv=8&fv=' + fv + '&v=' + escape(pv) + '&swfid=' + escape(swfid) + '&l=' + lv + '&f=' + mc + (sb ? '&sb=' + sb : '') + (trk ? '&t=1' : '');
lv = fv > 6 ? mc.getNextHighestDepth() : (g[mb + 'level'] ? g[mb + 'level'] + 1 : lv);
g[mb + 'level'] = lv;
if (fv == 5) {
res = '_level' + lv;
if (!eval(res)) {
loadMovieNum(u, lv);
}
return res;
}
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
return res;
}
__com_mochibot__('8f5189c5', this, 10301, true);
}
frame 2 {
stop();
onEnterFrame = function () {
if (_root.isLinkPressed == true) {
if (getTimer() - _root.linkPressedTimer > 4000) {
_root.getURL('http://www.dragongamez.com/', '_blank');
_root.isLinkPressed = false;
}
}
};
}
movieClip 283 {
}
movieClip 296 {
}
button 297 {
on (release) {
_root.getURL('http://www.dragongamez.com/', '_self');
_root.isLinkPressed = true;
_root.linkPressedTimer = getTimer();
}
}
button 298 {
on (release) {
_root.gotoAndStop('controls');
}
}
button 299 {
on (release) {
_root.gotoAndPlay('ready');
}
}
movieClip 300 {
frame 76 {
stop();
}
}
frame 3 {
_root.spacing = 80;
_root.difficulty = 50;
_root.more = 15;
_root.difficultyb = 15;
_root.sticknum = 1;
_root.steadiness = 4;
_root.goldfind = 1;
_root.reloadskill = 0;
_root.ga = 8;
_root.money = 500;
_root.pause = false;
_root.auto = false;
_root.healthtotal = 100;
_root.healthleft = _root.healthtotal;
_root.rn = 50;
_root.day = 0;
_root.kills = 0;
_root.team_members = 0;
_root.steadinessp = 200;
_root.reload_skillp = 200;
_root.grenade_accuracyp = 200;
_root.gold_findp = 200;
_root.stframe = 1;
_root.reframe = 1;
_root.gaframe = 1;
_root.goframe = 1;
_root.ammototalvar = 10;
_root.current_gun = 1;
_root.has_shotgun = false;
_root.has_sniper = false;
_root.has_ak = false;
_root.has_powerblaster = false;
_root.has_pacman = false;
_root.has_lg = false;
_root.jay = false;
_root.jayreload = 160;
_root.jaysteadiness = 2;
_root.jaygoldfind = 1;
_root.frank = false;
_root.frankreload = 140;
_root.franksteadiness = 2.5;
_root.frankgoldfind = 1;
_root.tom = false;
_root.tomreload = 200;
_root.tomsteadiness = 0;
_root.tomgoldfind = 1.6;
_root.greg = false;
_root.gregreload = 50;
_root.gregsteadiness = 2.5;
_root.greggoldfind = 1;
stop();
}
button 304 {
on (release) {
_root.difficulty = 50;
_root.difficultyb = 18;
_root.more = 20;
_root.ammototalvar = 14;
_root.ammototal = _root.ammototalvar;
ammoleft = ammototal;
_root.gotoAndStop('upgrade');
}
}
button 307 {
on (release) {
_root.difficulty = 63;
_root.difficultyb = 23;
_root.more = 7;
_root.ammototalvar = 12;
_root.ammototal = _root.ammototalvar;
ammoleft = ammototal;
_root.gotoAndStop('upgrade');
}
}
button 310 {
on (release) {
_root.difficulty = 70;
_root.difficultyb = 25;
_root.more = 0;
_root.ammototalvar = 10;
_root.ammototal = _root.ammototalvar;
ammoleft = ammototal;
_root.gotoAndStop('upgrade');
}
}
frame 4 {
function make1stick(healthvar, hit, rnd, type, frame, spd) {
var v3 = _root.attachMovie('1stick', '1stick' + sticknum, getNextHighestDepth());
v3.pframe = frame;
v3.num = _root.sticknum;
++sticknum;
v3.health = healthvar;
v3._x = Math.random() * 10 - 40;
v3._y = Math.random() * 160 + 250;
v3.swapDepths(v3.num * v3._y);
v3.head = false;
v3.spd = Math.random() * spd + 2.2;
v3._xscale = 140;
v3._yscale = v3._xscale;
v3.stopplace = Math.random() * rnd + hit;
v3.onEnterFrame = function () {
if (!_root.pause) {
no_one_coming = false;
if (this.health <= 0) {
this.gotoAndStop(3 + this.pframe);
if (this.num == _root.lastdead) {
++_root.lastdead;
}
}
if (this._x <= this.stopplace) {
if (this._currentframe != 3 + this.pframe) {
this._x += this.spd;
this.gotoAndStop(1 + this.pframe);
}
} else {
if (this._currentframe != 3 + this.pframe) {
this.gotoAndStop(2 + this.pframe);
}
}
if (!_root.auto) {
if (this.hitTest(_root.mousecircleb)) {
if (!this.header.hitTest(_root.mousecircleb)) {
if (shooting == true) {
this.head = false;
if (_root.ammoleft > -1) {
this.health -= _root.wt.damage;
_root.wt.gun.play();
shooting = false;
}
}
}
}
}
if (_root.gg.hit.hitTest(this)) {
this.health = 0;
}
h = 0;
while (h <= euro) {
if (_root['pacman' + h].hitTest(this)) {
this.health -= 1;
}
++h;
}
z = 0;
while (z <= eurod) {
if (_root['laser' + z].hitTest(this)) {
this.health -= 0.3;
}
++z;
}
if (_root.auto) {
if (_root.shooting == true) {
if (!_root.cfiring) {
if (this.hitTest(_root.mousecircleb)) {
if (!this.header.hitTest(_root.mousecircleb)) {
if (_root.ammoleft > -1) {
this.head = false;
if (_root.current_gun != 7) {
if (_root.current_gun != 6) {
this.health -= _root.wt.damage;
}
}
}
}
}
}
}
}
}
};
}
Mouse.hide();
_root.sticknum = 1;
euro = 0;
eurod = 0;
eura = 0;
gtimer = 100;
btimer = 100;
ttimer = 100;
mtimer = 100;
metimer = 100;
thisframe = 4;
++_root.day;
var gnades = 0;
var no_one_coming = true;
var grenades_left = 3;
if (_root.day < 4) {
_root.spacing = _root.day + 3 * _root.difficultyb;
} else {
if (_root.day >= 5) {
_root.spacing = _root.difficulty + Math.round((_root.day + 3) / 2);
}
}
stop();
_root.ammototal = _root.ammototalvar;
ammoleft = ammototal;
_root.wt.gotoAndStop(_root.current_gun);
_root.lastdead = 1;
cfiring = false;
zudo = 0;
shooting = false;
pvar = 0;
gshot = true;
_root.onEnterFrame = function () {
if (_root.kills == 200) {
if (_root.more == 20) {
_root.kongregateStats.submit('200 Kills Easy', 200);
} else {
if (_root.more == 7) {
_root.kongregateStats.submit('200 Kills Medium', 200);
} else {
if (_root.more == 0) {
_root.kongregateStats.submit('200 Kills Hard', 200);
}
}
}
}
if (Key.isDown(71)) {
if (gshot) {
if (grenades_left > 0) {
if (_root._ymouse > 225) {
_root.gmenu.nextFrame();
grenades_left -= 1;
_root.wt.gotoAndStop(8);
_root.wt.gun.play();
_root.gg = _root.attachMovie('gexplosion', 'gexplosion' + gnades++, getNextHighestDepth());
_root.gg._x = _root.mousecircleb._x + Math.random() * (_root.ga * 20) - _root.ga * 10;
_root.gg._y = _root.mousecircleb._y + Math.random() * (_root.ga * 20) - _root.ga * 10;
_root.gg._xscale = 700;
_root.gg._yscale = 700;
gshot = false;
}
}
}
} else {
gshot = true;
}
if (Key.isDown(49)) {
if (_root.has_shotgun) {
_root.current_gun = 2;
_root.wt.gotoAndStop(2);
}
}
if (Key.isDown(50)) {
if (_root.has_sniper) {
_root.current_gun = 3;
_root.wt.gotoAndStop(3);
}
}
if (Key.isDown(51)) {
if (_root.has_ak) {
_root.current_gun = 4;
_root.wt.gotoAndStop(4);
}
}
if (Key.isDown(52)) {
if (_root.has_powerblaster) {
_root.current_gun = 5;
_root.wt.gotoAndStop(5);
}
}
if (Key.isDown(53)) {
if (_root.has_pacman) {
_root.current_gun = 6;
_root.wt.gotoAndStop(6);
}
}
if (Key.isDown(54)) {
if (_root.has_lg) {
_root.current_gun = 7;
_root.wt.gotoAndStop(7);
}
}
if (!_root.pause) {
if (Key.isDown(32)) {
_root.ammoleft = 0;
}
if (Key.isDown(80)) {
var v10 = _root.attachMovie('pscreen', 'pud' + pvar, getNextHighestDepth());
v10._x = 0;
_root.pause = true;
}
if (_root.healthleft <= 0) {
_root.gotoAndStop('death');
}
if (_root.auto) {
if (_root.shooting == true) {
if (_root.ammoleft > -1) {
if (_root.current_gun == 7) {
if (eurod >= 100) {
eurod = 0;
}
if (eura >= 10) {
_root.ammoleft -= 1;
eura = 0;
}
var lman = _root.attachMovie('laser', 'laser' + eurod, getNextHighestDepth());
++eurod;
++eura;
lman.num = eurod - 1;
lman._x = 598;
lman._y = 278;
lman.spd = 35;
lman.tobex = _root._xmouse;
lman.tobey = _root._ymouse;
var v14 = lman._x - _xmouse;
var v15 = lman._y - _ymouse;
var v9 = 180 * Math.atan2(v15, v14) / Math.PI;
lman._rotation = 90 + v9;
lman.onEnterFrame = function () {
this._x += this.spd * Math.sin((this._rotation + 180) * Math.PI / 180);
this._y += -this.spd * Math.cos((this._rotation + 180) * Math.PI / 180);
var v2 = lman._x - this.tobex;
var v3 = lman._y - this.tobey;
currb = Math.round(Math.sqrt(v2 * v2 + v3 * v3));
if (currb <= 20) {
this.spd = 0;
this.gotoAndPlay(5);
}
};
}
}
if (!_root.cfiring) {
if (_root.ammoleft > -1) {
var v6 = _root.attachMovie('automatic', 'automatic' + getNextHighestDepth(), getNextHighestDepth());
v6._x = _root.mousecircleb._x + Math.random() * 20 - 10;
v6._y = _root.mousecircleb._y + Math.random() * 20 - 10;
_root.wt.gun.play();
if (_root.current_gun != 7) {
_root.ammoleft -= 1;
}
if (_root.current_gun == 6) {
if (euro >= 100) {
euro = 0;
}
var pman = _root.attachMovie('pacman', 'pacman' + euro, getNextHighestDepth());
++euro;
pman.num = euro - 1;
pman._x = 598;
pman._y = 278;
pman.spd = 30;
pman.tobex = _root._xmouse;
pman.tobey = _root._ymouse;
var v12 = pman._x - _xmouse;
var v11 = pman._y - _ymouse;
var v13 = 180 * Math.atan2(v11, v12) / Math.PI;
pman._rotation = 90 + v13;
pman.onEnterFrame = function () {
this._x += this.spd * Math.sin((this._rotation + 180) * Math.PI / 180);
this._y += -this.spd * Math.cos((this._rotation + 180) * Math.PI / 180);
var v3 = pman._x - this.tobex;
var v2 = pman._y - this.tobey;
currd = Math.round(Math.sqrt(v3 * v3 + v2 * v2));
if (currd <= 20) {
this.gotoAndStop(3);
}
};
}
}
_root.cfiring = true;
}
}
}
if (cfiring) {
++zudo;
}
if (zudo > 3) {
cfiring = false;
zudo = 0;
}
_root.mousecircle._x = _xmouse;
_root.mousecircle._y = _ymouse;
if (_root.day >= 16) {
metimer -= 0.1;
}
if (_root.day >= 11) {
ttimer -= 0.13;
}
if (_root.day >= 5) {
mtimer -= 0.2;
}
btimer -= 0.5;
if (_root.day >= 3) {
gtimer -= 0.3;
}
if (_currentframe == thisframe) {
if (btimer <= 4) {
if (_root.day >= 12) {
make1stick(2, 474, 0, btimer, 0, 0.5);
} else {
make1stick(1, 474, 0, btimer, 0, 0.5);
}
btimer = 100 - _root.spacing;
}
if (ttimer <= 4) {
make1stick(20, 100, 280, ttimer, 6, 0);
ttimer = 120 - _root.spacing;
}
if (mtimer <= 4) {
make1stick(10, 120, 300, mtimer, 9, 0.2);
mtimer = 105 - _root.spacing;
}
if (gtimer <= 4) {
if (_root.day >= 12) {
make1stick(4, 150, 330, gtimer, 3, 0.5);
} else {
make1stick(2, 150, 330, gtimer, 3, 0.5);
}
gtimer = 100 - _root.spacing;
}
if (metimer <= 4) {
make1stick(15, 150, 330, metimer, 12, -0.5);
metimer = 120 - _root.spacing;
}
}
}
_root.onMouseDown = function () {
shooting = true;
if (!Key.isDown(32)) {
if (_root.ammoleft > -1) {
_root.wt.gun.play();
ammoleft -= 1;
if (_root.current_gun == 5) {
var v2 = _root.attachMovie('bexplosion', 'bur' + getNextHighestDepth(), getNextHighestDepth());
v2._x = _root.mousecircleb._x;
v2._y = _root.mousecircleb._y;
}
}
}
};
};
_root.onMouseUp = function () {
shooting = false;
};
_root.soundbox.onRelease = function () {
_root.soundbox.nextFrame();
};
}
movieClip 315 {
instance sky of movieClip 251 {
onClipEvent (enterFrame) {
if (!_root.pause) {
this._y += 0.6;
} else {
this._y += 0;
}
}
}
}
movieClip 317 {
}
instance of movieClip 317 {
onClipEvent (enterFrame) {
_x = _x - 0.5;
}
}
movieClip 324 {
}
movieClip 330 {
frame 1 {
stop();
}
frame 2 {
shots = new Sound(this);
shots.attachSound('shoot');
shots.start(0, 1);
}
frame 2 {
var yays = new Sound();
yays.attachSound('sg');
yay.start(0, 1);
}
}
movieClip 339 {
frame 1 {
stop();
}
}
movieClip 344 {
}
movieClip 348 {
frame 1 {
stop();
}
}
movieClip 354 {
frame 1 {
stop();
}
}
movieClip 362 {
frame 1 {
stop();
}
}
movieClip 367 {
frame 1 {
stop();
}
}
movieClip 375 {
frame 1 {
stop();
}
}
movieClip 383 {
frame 1 {
stop();
}
frame 6 {
_root.wt.gotoAndStop(_root.current_gun);
}
}
movieClip 385 {
frame 1 {
var gun_type = 'pistol';
var damage = 1;
var reload = 3;
}
instance gun of movieClip 330 {
onClipEvent (enterFrame) {
this._rotation = (Math.atan2(_root._ymouse - (_root.wt._y + this._y), _root._xmouse - (_root.wt._x + this._x)) / Math.PI) * 180;
}
}
frame 2 {
var gun_type = 'shotgun';
var damage = 4;
var reload = 2;
}
instance gun of movieClip 339 {
onClipEvent (enterFrame) {
this._rotation = (Math.atan2(_root._ymouse - (_root.wt._y + this._y), _root._xmouse - (_root.wt._x + this._x)) / Math.PI) * 180;
}
}
frame 3 {
var gun_type = 'sniper';
var damage = 2;
var reload = 2;
}
instance gun of movieClip 348 {
onClipEvent (enterFrame) {
this._rotation = (Math.atan2(_root._ymouse - (_root.wt._y + this._y), _root._xmouse - (_root.wt._x + this._x)) / Math.PI) * 180;
}
}
frame 4 {
var gun_type = 'ak';
var damage = 1;
var reload = 4;
}
instance gun of movieClip 354 {
onClipEvent (enterFrame) {
this._rotation = (Math.atan2(_root._ymouse - (_root.wt._y + this._y), _root._xmouse - (_root.wt._x + this._x)) / Math.PI) * 180;
}
}
frame 5 {
var gun_type = 'powerblaster';
var damage = 7;
var reload = 2;
}
instance gun of movieClip 362 {
onClipEvent (enterFrame) {
this._rotation = (Math.atan2(_root._ymouse - (_root.wt._y + this._y), _root._xmouse - (_root.wt._x + this._x)) / Math.PI) * 180;
}
}
frame 6 {
var gun_type = 'pacman';
var damage = 7;
var reload = 2;
}
instance gun of movieClip 367 {
onClipEvent (enterFrame) {
this._rotation = (Math.atan2(_root._ymouse - (_root.wt._y + this._y), _root._xmouse - (_root.wt._x + this._x)) / Math.PI) * 180;
}
}
frame 7 {
var gun_type = 'lg';
var damage = 7;
var reload = 2;
}
instance gun of movieClip 375 {
onClipEvent (enterFrame) {
this._rotation = (Math.atan2(_root._ymouse - (_root.wt._y + this._y), _root._xmouse - (_root.wt._x + this._x)) / Math.PI) * 180;
}
}
frame 8 {
var gun_type = 'ak';
var damage = 3;
var reload = 4;
}
instance gun of movieClip 383 {
onClipEvent (enterFrame) {
this._rotation = (Math.atan2(_root._ymouse - (_root.wt._y + this._y), _root._xmouse - (_root.wt._x + this._x)) / Math.PI) * 180;
}
}
}
movieClip 387 {
frame 1 {
stop();
}
}
movieClip 389 {
}
instance of movieClip 389 {
onClipEvent (load) {
owidth = this._width;
rt = owidth / 100;
reloading = false;
fluf = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!reloading) {
var rs = owidth * _root.ammoleft;
this._width = rs / _root.ammototal;
}
if (_root.ammoleft <= 0) {
++fluf;
if (fluf == 4) {
reloading = true;
reloads = new Sound(this);
reloads.attachSound('reload');
reloads.start(0, 1);
_root.ammoleft = 'Reloading';
}
}
if (_width >= owidth) {
fluf = 0;
reloading = false;
_root.ammoleft = _root.ammototal;
}
if (reloading) {
this._width += (_root.wt.reload + _root.reloadskill) / 2;
}
}
}
}
movieClip 393 {
}
movieClip 399 {
}
instance jayman of movieClip 399 {
onClipEvent (load) {
var reload = _root.jayreload / 2;
var reload2 = reload;
if (_root.jay) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.jay) {
if (_root.no_one_coming == false) {
--reload;
if (reload <= 0) {
this.gun.play();
reload = reload2;
if (random(_root.jaysteadiness) == 0) {
_root['1stick' + _root.lastdead].health -= 1.5;
}
}
}
}
}
}
}
movieClip 409 {
}
instance frankman of movieClip 409 {
onClipEvent (load) {
var reload = _root.frankreload / 2;
var reload2 = reload;
if (_root.frank) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.frank) {
if (_root.no_one_coming <= false) {
--reload;
if (reload <= 0) {
trace(_root.franksteadiness);
this.gun.play();
reload = reload2;
if (random(_root.franksteadiness) == 0) {
_root['1stick' + _root.lastdead].health -= 2;
}
}
}
}
}
}
}
movieClip 413 {
frame 1 {
stop();
}
}
movieClip 415 {
}
instance tom of movieClip 415 {
onClipEvent (load) {
var reload = _root.tomreload / 2;
var reload2 = reload;
if (_root.tom) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.tom) {
if (_root.no_one_coming == false) {
--reload;
if (reload <= 0) {
this.gun.play();
reload = reload2;
if (random(_root.tomsteadiness) == 0) {
_root['1stick' + _root.lastdead].health -= 4;
}
}
}
}
}
}
}
movieClip 417 {
}
instance of movieClip 417 {
onClipEvent (load) {
var reload = _root.gregreload / 2;
var reload2 = reload;
if (_root.greg) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.greg) {
if (_root.no_one_coming == false) {
--reload;
if (reload <= 0) {
this.gun.play();
reload = reload2;
if (random(_root.gregsteadiness) == 0) {
_root['1stick' + _root.lastdead].health -= 1;
}
}
}
}
}
}
}
movieClip 419 {
}
instance mousecircleb of movieClip 419 {
onClipEvent (enterFrame) {
this.swapDepths(_root.getNextHighestDepth());
if (_root.wt._currentframe == 2) {
this._y += _ymouse / _root.steadiness + 1;
this._x += _xmouse / _root.steadiness + 1;
} else {
if (_root.wt._currentframe == 3) {
this._y += _ymouse / 1;
this._x += _xmouse / 1;
} else {
if (_root.wt._currentframe == 4) {
this._y += _ymouse / _root.steadiness / 2;
this._x += _xmouse / _root.steadiness / 2;
} else {
this._y += _ymouse / _root.steadiness;
this._x += _xmouse / _root.steadiness;
}
}
}
}
}
movieClip 424 {
frame 1 {
stop();
}
frame 2 {
stopAllSounds();
}
frame 3 {
kSound = new Sound(this);
kSound.attachSound('sound');
kSound.start(0, 99);
gotoAndStop(1);
}
}
button 426 {
on (release) {
_root.gotoAndStop('death');
}
}
movieClip 431 {
}
movieClip 434 {
frame 1 {
if (_root.day != 1) {
gotoAndPlay('secondpart');
}
}
frame 350 {
stop();
}
frame 351 {
stop();
whatday = _root.day;
onEnterFrame = function () {
if (_root.tut._x > -800) {
_root.tut._x -= 10;
}
};
}
}
frame 5 {
stop();
Mouse.show();
i = 0;
while (i <= _root.sticknum) {
removeMovieClip(_root['1stick' + i]);
removeMovieClip(_root['2stick' + i]);
++i;
}
removeMovieClip(_root.mousecircleb);
_root.onEnterFrame = function () {
if (_root.day == 25) {
_root.vmovie.play();
_root.lvlc.stop();
}
};
}
button 444 {
on (release) {
gotoAndStop(1);
}
}
button 447 {
on (release) {
gotoAndStop(2);
}
}
button 450 {
on (release) {
gotoAndStop(3);
}
}
button 453 {
on (release) {
gotoAndStop(4);
}
}
movieClip 460 {
}
button 461 {
on (release) {
if (_root.money >= 200) {
_root.ammototalvar += 1;
_root.money -= 200;
}
}
}
movieClip 465 {
}
button 466 {
on (release) {
var perc = _root.healthtotal * 0.25;
if (_root.money >= 400) {
if (_root.healthleft < _root.healthtotal) {
_root.healthleft += perc;
_root.money -= 400;
}
}
if (_root.healthleft >= _root.healthtotal) {
_root.healthleft = _root.healthtotal;
}
}
}
movieClip 471 {
}
button 472 {
on (release) {
if (_root.money >= 1000) {
_root.healthtotal += 100;
_root.healthleft += 100;
_root.money -= 1000;
}
}
}
movieClip 475 {
}
movieClip 476 {
frame 1 {
stop();
}
}
movieClip 484 {
}
movieClip 485 {
frame 1 {
stop();
}
}
movieClip 489 {
}
movieClip 490 {
frame 1 {
stop();
}
}
movieClip 494 {
}
movieClip 495 {
frame 1 {
stop();
}
}
movieClip 517 {
frame 1 {
stop();
}
}
movieClip 518 {
frame 1 {
stop();
}
}
movieClip 520 {
}
movieClip 521 {
frame 1 {
stop();
}
}
button 537 {
on (release) {
if (_root.money >= steadinessp) {
if (st._currentframe != 7) {
st.nextFrame();
_root.money -= steadinessp;
_root.steadiness -= 0.4;
_root.steadinessp *= 1.5;
steadinessp *= 1.5;
++_root.stframe;
}
}
}
}
button 538 {
on (release) {
if (_root.money >= reload_skillp) {
if (re._currentframe != 6) {
re.nextFrame();
_root.money -= reload_skillp;
++_root.reload_skill;
_root.reload_skillp *= 1.5;
reload_skillp *= 1.5;
++_root.reframe;
}
}
}
}
button 539 {
on (release) {
if (_root.money >= grenade_accuracyp) {
if (gr._currentframe != 8) {
gr.nextFrame();
_root.money -= Math.round(grenade_accuracyp);
--_root.ga;
_root.grenade_accuracyp *= 1.5;
grenade_accuracyp *= 1.5;
++_root.gaframe;
}
}
}
}
button 540 {
on (release) {
if (_root.money >= gold_findp) {
if (go._currentframe != 5) {
go.nextFrame();
_root.money -= gold_findp;
_root.goldfind += 0.2;
_root.gold_findp *= 1.5;
gold_findp *= 1.5;
++_root.goframe;
}
}
}
}
movieClip 548 {
frame 1 {
stop();
}
frame 7 {
_root.steadiness = 1;
}
}
movieClip 550 {
frame 1 {
stop();
}
}
movieClip 552 {
frame 1 {
stop();
}
}
movieClip 553 {
frame 1 {
stop();
}
}
button 568 {
on (release) {
if (_root.money >= 1800) {
if (_root.jay == false) {
_root.team_members += 1;
_root.jay = true;
_root.money -= 1800;
_root.jaysteadinesslvl = 2;
_root.jayreloadlvl = 1;
_root.jaygoldfindlvl = 1;
jay._visible = false;
}
}
}
}
button 573 {
on (release) {
if (_root.money >= 2500) {
if (_root.frank == false) {
_root.team_members += 1;
_root.frank = true;
_root.money -= 2500;
_root.franksteadinesslvl = 1;
_root.frankreloadlvl = 2;
_root.frankgoldfindlvl = 1;
frank._visible = false;
}
}
}
}
button 577 {
on (release) {
if (_root.money >= 4000) {
if (_root.tom == false) {
_root.team_members += 1;
_root.tom = true;
_root.money -= 4000;
_root.tomsteadinesslvl = 1;
_root.tomreloadlvl = 1;
_root.tomgoldfindlvl = 6;
tom._visible = false;
}
}
}
}
button 582 {
on (release) {
if (_root.money >= 3000) {
if (_root.greg == false) {
_root.team_members += 1;
_root.greg = true;
_root.money -= 3000;
_root.gregsteadinesslvl = 1;
_root.gregreloadlvl = 6;
_root.greggoldfindlvl = 1;
greg._visible = false;
}
}
}
}
button 591 {
on (release) {
if (_root.money >= 700) {
if (steadinesslvl < 5) {
++_root.jaysteadinesslvl;
++steadinesslvl;
_root.jaysteadiness -= 0.5;
_root.money -= 700;
} else {
steadinesslvl = 'max';
_root.jaysteadinesslvl = 'max';
}
}
}
}
button 592 {
on (release) {
if (_root.money >= 1000) {
if (reloadlvl < 5) {
++_root.jayreloadlvl;
++reloadlvl;
var subtractor = _root.jayreload / 4;
_root.jayreload -= Math.round(subtractor);
_root.money -= 1000;
} else {
reloadlvl = 'max';
_root.jayreloadlvl = 'max';
}
}
}
}
button 593 {
on (release) {
if (_root.money >= 700) {
if (goldfindlvl < 5) {
++_root.jaygoldfindlvl;
++goldfindlvl;
_root.jaygoldfind += 0.1;
_root.money -= 700;
} else {
goldfindlvl = 'max';
_root.jaygoldfindlvl = 'max';
}
}
}
}
movieClip 597 {
frame 1 {
steadinesslvl = _root.jaysteadinesslvl;
reloadlvl = _root.jayreloadlvl;
goldfindlvl = _root.jaygoldfindlvl;
}
}
button 604 {
on (release) {
if (_root.money >= 700) {
if (steadinesslvl < 5) {
++_root.franksteadinesslvl;
++steadinesslvl;
_root.franksteadiness -= 0.5;
_root.money -= 700;
} else {
steadinesslvl = 'max';
_root.franksteadinesslvl = 'max';
}
}
}
}
button 605 {
on (release) {
if (_root.money >= 900) {
if (reloadlvl < 5) {
++_root.frankreloadlvl;
++reloadlvl;
_root.frankreload -= 15;
_root.money -= 900;
} else {
reloadlvl = 'max';
_root.frankreloadlvl = 'max';
}
}
}
}
button 606 {
on (release) {
if (_root.money >= 700) {
if (goldfindlvl < 5) {
++_root.frankgoldfindlvl;
++goldfindlvl;
_root.frankgoldfind += 0.1;
_root.money -= 700;
} else {
goldfindlvl = 'max';
_root.frankgoldfindlvl = 'max';
}
}
}
}
movieClip 608 {
frame 1 {
steadinesslvl = _root.franksteadinesslvl;
reloadlvl = _root.frankreloadlvl;
goldfindlvl = _root.frankgoldfindlvl;
}
}
button 613 {
on (release) {
if (_root.money >= 900) {
if (steadinesslvl < 5) {
++_root.tomsteadinesslvl;
++steadinesslvl;
_root.tomsteadiness -= 0.5;
_root.money -= 900;
} else {
steadinesslvl = 'max';
_root.tomsteadinesslvl = 'max';
}
}
}
}
button 614 {
on (release) {
if (_root.money >= 1200) {
if (reloadlvl < 5) {
++_root.tomreloadlvl;
++reloadlvl;
var subtractor = _root.tomreload / 4;
_root.tomreload -= Math.round(subtractor);
_root.money -= 1200;
} else {
reloadlvl = 'max';
_root.tomreloadlvl = 'max';
}
}
}
}
button 615 {
on (release) {
if (_root.money >= 700) {
if (goldfindlvl < 5) {
++_root.tomgoldfindlvl;
++goldfindlvl;
_root.tomgoldfind += 0.1;
_root.money -= 700;
} else {
goldfindlvl = 'max';
_root.tomgoldfindlvl = 'max';
}
}
}
}
movieClip 618 {
frame 1 {
steadinesslvl = _root.tomsteadinesslvl;
reloadlvl = _root.tomreloadlvl;
goldfindlvl = 'max';
}
}
movieClip 621 {
}
button 626 {
on (release) {
if (_root.money >= 900) {
if (steadinesslvl < 5) {
++_root.gregsteadinesslvl;
++steadinesslvl;
_root.gregsteadiness -= 0.5;
_root.money -= 900;
} else {
steadinesslvl = 'max';
_root.gregsteadinesslvl = 'max';
}
}
}
}
button 627 {
on (release) {
if (_root.money >= 1200) {
if (reloadlvl < 5) {
++_root.gregreloadlvl;
++reloadlvl;
var subtractor = _root.gregreload / 4;
_root.gregreload -= Math.round(subtractor);
_root.money -= 1200;
} else {
reloadlvl = 'max';
_root.gregreloadlvl = 'max';
}
}
}
}
button 628 {
on (release) {
if (_root.money >= 700) {
if (goldfindlvl < 5) {
++_root.greggoldfindlvl;
++goldfindlvl;
_root.greggoldfind += 0.1;
_root.money -= 700;
} else {
goldfindlvl = 'max';
_root.greggoldfindlvl = 'max';
}
}
}
}
movieClip 630 {
frame 1 {
steadinesslvl = _root.gregsteadinesslvl;
reloadlvl = 'max';
goldfindlvl = _root.greggoldfindlvl;
}
}
button 634 {
on (release) {
gotoAndStop(5);
}
}
button 636 {
on (rollOver) {
desc.gotoAndStop(2);
}
on (rollOut) {
desc.gotoAndStop(1);
}
}
movieClip 645 {
frame 1 {
stop();
}
}
movieClip 647 {
frame 1 {
stop();
}
frame 1 {
function makegreen(cg, gun, hasit, automuch) {
if (_root.current_gun == cg) {
gun.gotoAndStop(2);
_root.auto = automuch;
} else {
if (_root.current_gun != cg) {
if (hasit) {
gun.gotoAndStop(3);
} else {
gun.gotoAndStop(4);
}
}
}
}
function buygun(gun, cost, cg, haswhat) {
gun.onRollOver = function () {
gun_desc._visible = true;
gun_desc.gotoAndStop(cg);
};
gun.onRollOut = function () {
gun_desc._visible = false;
};
gun.onRelease = function () {
if (_root.money >= cost) {
if (!haswhat) {
_root.money -= cost;
_root.current_gun = cg;
gun.gotoAndStop(2);
if (cg == 2) {
_root.has_shotgun = true;
} else {
if (cg == 3) {
_root.has_sniper = true;
} else {
if (cg == 4) {
_root.has_ak = true;
} else {
if (cg == 5) {
_root.has_powerblaster = true;
} else {
if (cg == 6) {
_root.has_pacman = true;
} else {
if (cg == 7) {
_root.has_lg = true;
}
}
}
}
}
}
}
}
if (haswhat) {
_root.current_gun = cg;
}
};
}
gun_desc._visible = false;
onEnterFrame = function () {
buygun(shotgun, 1200, 2, _root.has_shotgun);
makegreen(2, shotgun, _root.has_shotgun, false);
buygun(sniper, 1500, 3, _root.has_sniper);
makegreen(3, sniper, _root.has_sniper, false);
buygun(ak, 3000, 4, _root.has_ak);
makegreen(4, ak, _root.has_ak, true);
buygun(pb, 6000, 5, _root.has_powerblaster);
makegreen(5, pb, _root.has_powerblaster, false);
buygun(pm, 12000, 6, _root.has_pacman);
makegreen(6, pm, _root.has_pacman, true);
buygun(lg, 18000, 7, _root.has_lg);
makegreen(7, lg, _root.has_lg, true);
if (_root.more == 20) {
_root.kongregateStats.submit('Buy Uber Laser Gun Easy', 1);
} else {
if (_root.more == 7) {
_root.kongregateStats.submit('Buy Uber Laser Gun Medium', 1);
} else {
if (_root.more == 0) {
_root.kongregateStats.submit('Buy Uber Laser Gun Hard', 1);
}
}
}
};
}
frame 2 {
kills = _root.kills;
day = _root.day;
team_members = _root.team_members;
steadinessp = _root.steadinessp;
reload_skillp = _root.reload_skillp;
grenade_accuracyp = _root.grenade_accuracyp;
gold_findp = _root.gold_findp;
st.gotoAndStop(_root.stframe);
re.gotoAndStop(_root.reframe);
gr.gotoAndStop(_root.gaframe);
go.gotoAndStop(_root.goframe);
}
frame 3 {
if (_root.jay) {
jay._visible = false;
}
if (_root.frank) {
frank._visible = false;
}
if (_root.tom) {
tom._visible = false;
}
if (_root.greg) {
greg._visible = false;
}
}
frame 4 {
if (_root.jay) {
jay._visible = true;
} else {
jay._visible = false;
}
if (_root.frank) {
frank._visible = true;
} else {
frank._visible = false;
}
if (_root.tom) {
tom._visible = true;
} else {
tom._visible = false;
}
if (_root.greg) {
greg._visible = true;
} else {
greg._visible = false;
}
if (!_root.jay) {
if (!_root.tom) {
if (!_root.frank) {
if (!_root.greg) {
nohire._visible = true;
} else {
nohire._visible = false;
}
} else {
nohire._visible = false;
}
} else {
nohire._visible = false;
}
} else {
nohire._visible = false;
}
if (_root.jay) {
if (_root.tom) {
if (_root.frank) {
if (_root.greg) {
if (_root.more == 20) {
_root.kongregateStats.submit('All Applicants Hired Easy', 1);
} else {
if (_root.more == 7) {
_root.kongregateStats.submit('All Applicants Hired Medium', 1);
} else {
if (_root.more == 0) {
_root.kongregateStats.submit('All Applicants Hired Hard', 1);
}
}
}
}
}
}
}
}
}
button 653 {
on (release) {
_root.gotoAndStop('game');
}
}
button 660 {
on (release) {
_quality = 'high';
}
}
button 663 {
on (release) {
_quality = 'medium';
}
}
button 666 {
on (release) {
_quality = 'low';
}
}
movieClip 668 {
frame 1 {
stop();
}
frame 47 {
_root.gotoAndStop('beat');
}
}
movieClip 671 {
frame 1 {
if (_root.day == 0) {
stop();
}
}
frame 43 {
stop();
}
}
frame 6 {
stop();
Mouse.show();
i = 0;
while (i <= _root.sticknum) {
removeMovieClip(_root['1stick' + i]);
removeMovieClip(_root['2stick' + i]);
++i;
}
delete _root.onEnterFrame;
_root.isLinkPressed = false;
onEnterFrame = function () {
if (_root.isLinkPressed == true) {
if (getTimer() - _root.linkPressedTimer > 4000) {
_root.getURL('http://www.dragongamez.com/', '_blank');
_root.isLinkPressed = false;
}
}
};
}
movieClip 673 {
}
movieClip 680 {
frame 26 {
stop();
}
}
movieClip 686 {
frame 39 {
stop();
}
}
button 688 {
on (release) {
gotoAndStop('main_menu');
}
}
button 690 {
on (release) {
_root.getURL('http://www.dragongamez.com/', '_self');
_root.isLinkPressed = true;
_root.linkPressedTimer = getTimer();
}
}
frame 7 {
stop();
}
button 695 {
on (release) {
_root.gotoAndStop('main_menu');
}
}
frame 8 {
stop();
if (_root.more == 20) {
_root.kongregateStats.submit('Game Completed Easy', 1);
} else {
if (_root.more == 7) {
_root.kongregateStats.submit('Game Completed Medium', 1);
} else {
if (_root.more == 0) {
_root.kongregateStats.submit('Game Completed Hard', 1);
}
}
}
}
button 699 {
on (release) {
++_root.day;
_root.gotoAndStop('upgrade');
}
}