Combined Code
movieClip 2 NormalWalk {
frame 1 {
stop();
}
frame 57 {
gotoAndPlay(20);
}
}
frame 1 {
MochiAd.showPreGameAd({'id': '58de76c7e6d6b370', 'res': '700x450'});
}
movieClip 2752 __Packages.MochiAd {
#initclip
if (!_global.MochiAd) {
var v1 = function () {};
_global.MochiAd = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return '2.5';
};
v1.showPreGameAd = function (options) {
var v26 = {'clip': _root, 'ad_timeout': 3000, 'fadeout_time': 250, 'regpt': 'o', 'method': 'showPreloaderAd', 'color': 16747008, 'background': 16777161, 'outline': 13994812, 'no_progress_bar': false, 'ad_started': function () {
this.clip.stop();
}, 'ad_finished': function () {
this.clip.play();
}, 'ad_failed': function () {
trace('[MochiAd] Couldn\'t load an ad, make sure that your game\'s local security sandbox is configured for Access Network Only and that you are not using ad blocking software');
}, 'ad_loaded': function (width, height) {}, 'ad_skipped': function () {}, 'ad_progress': function (percent) {}};
options = MochiAd._parseOptions(options, v26);
if ('c862232051e0a94e1c3609b3916ddb17'.substr(0) == 'dfeada81ac97cde83665f81c12da7def') {
options.ad_started();
options.ad_finished();
return undefined;
}
var clip = options.clip;
var v22 = 11000;
var v25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return undefined;
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var v14 = MochiAd._getRes(options);
var v4 = v14[0];
var v13 = v14[1];
mc._x = v4 * 0.5;
mc._y = v13 * 0.5;
var chk = mc.createEmptyMovieClip('_mochiad_wait', 3);
chk._x = v4 * -0.5;
chk._y = v13 * -0.5;
var v6 = chk.createEmptyMovieClip('_mochiad_bar', 4);
if (options.no_progress_bar) {
v6._visible = false;
delete options.no_progress_bar;
} else {
v6._x = 10;
v6._y = v13 - 20;
}
var v21 = options.color;
delete options.color;
var v19 = options.background;
delete options.background;
var v23 = options.outline;
delete options.outline;
var v5 = v6.createEmptyMovieClip('_outline', 1);
v5.beginFill(v19);
v5.moveTo(0, 0);
v5.lineTo(v4 - 20, 0);
v5.lineTo(v4 - 20, 10);
v5.lineTo(0, 10);
v5.lineTo(0, 0);
v5.endFill();
var v3 = v6.createEmptyMovieClip('_inside', 2);
v3.beginFill(v21);
v3.moveTo(0, 0);
v3.lineTo(v4 - 20, 0);
v3.lineTo(v4 - 20, 10);
v3.lineTo(0, 10);
v3.lineTo(0, 0);
v3.endFill();
v3._xscale = 0;
var v7 = v6.createEmptyMovieClip('_outline', 3);
v7.lineStyle(0, v23, 100);
v7.moveTo(0, 0);
v7.lineTo(v4 - 20, 0);
v7.lineTo(v4 - 20, 10);
v7.lineTo(0, 10);
v7.lineTo(0, 0);
chk.ad_msec = v22;
chk.ad_timeout = v25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var v2 = 100 * (1 - (getTimer() - this.fadeout_start) / this.fadeout_time);
if (v2 > 0) {
this._parent._alpha = v2;
} else {
var v3 = this._parent._parent;
MochiAd.unload(v3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var v2 = this.mc._mochiad_wait;
v2.server_control = true;
v2.started = getTimer();
v2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace('[MOCHIAD rpcTestFn] ' + s);
return s;
};
chk.onEnterFrame = function () {
var v6 = this._parent._parent;
var v11 = this._parent._mochiad_ctr;
var v5 = getTimer() - this.started;
var v3 = false;
var v4 = v6.getBytesTotal();
var v8 = v6.getBytesLoaded();
var v2 = 100 * v8 / v4;
var v10 = 100 * v5 / chk.ad_msec;
var v9 = this._mochiad_bar._inside;
var v13 = Math.min(100, Math.min(v2 || 0, v10));
v13 = Math.max(this.last_pcnt, v13);
this.last_pcnt = v13;
v9._xscale = v13;
options.ad_progress(v13);
if (sendHostProgress) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, 'notify', {'id': 'hostLoadPcnt', 'pcnt': v2});
if (v2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var v7 = v11.getBytesTotal();
if (v7 > 0 || typeof v7 == 'undefined') {
chk.showing = true;
chk.started = getTimer();
} else {
if (v5 > chk.ad_timeout && v2 == 100) {
options.ad_failed();
v3 = true;
}
}
}
if (v5 > chk.ad_msec) {
v3 = true;
}
if (v4 > 0 && v8 >= v4 && v3) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
};
v1.showClickAwayAd = function (options) {
var v9 = {'clip': _root, 'ad_timeout': 2000, 'fadeout_time': 250, 'regpt': 'o', 'method': 'showClickAwayAd', 'res': '300x250', 'no_bg': true, 'ad_started': function () {}, 'ad_finished': function () {}, 'ad_loaded': function (width, height) {}, 'ad_failed': function () {
trace('[MochiAd] Couldn\'t load an ad, make sure that your game\'s local security sandbox is configured for Access Network Only and that you are not using ad blocking software');
}, 'ad_skipped': function () {}};
options = MochiAd._parseOptions(options, v9);
var clip = options.clip;
var v8 = options.ad_timeout;
delete options.ad_timeout;
if (!MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return undefined;
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var v4 = MochiAd._getRes(options);
var v10 = v4[0];
var v7 = v4[1];
mc._x = v10 * 0.5;
mc._y = v7 * 0.5;
var chk = mc.createEmptyMovieClip('_mochiad_wait', 3);
chk.ad_timeout = v8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace('[MOCHIAD rpcTestFn] ' + s);
return s;
};
var v20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var v5 = this._parent._mochiad_ctr;
var v4 = getTimer() - this.started;
var v2 = false;
if (!chk.showing) {
var v3 = v5.getBytesTotal();
if (v3 > 0 || typeof v3 == 'undefined') {
v2 = true;
chk.showing = true;
chk.started = getTimer();
} else {
if (v4 > chk.ad_timeout) {
options.ad_failed();
v2 = true;
}
}
}
if (v2) {
delete this.onEnterFrame;
}
};
};
v1.showInterLevelAd = function (options) {
var v13 = {'clip': _root, 'ad_timeout': 2000, 'fadeout_time': 250, 'regpt': 'o', 'method': 'showTimedAd', 'ad_started': function () {
this.clip.stop();
}, 'ad_finished': function () {
this.clip.play();
}, 'ad_failed': function () {
trace('[MochiAd] Couldn\'t load an ad, make sure that your game\'s local security sandbox is configured for Access Network Only and that you are not using ad blocking software');
}, 'ad_loaded': function (width, height) {}, 'ad_skipped': function () {}};
options = MochiAd._parseOptions(options, v13);
var clip = options.clip;
var v10 = 11000;
var v12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return undefined;
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var v5 = MochiAd._getRes(options);
var v14 = v5[0];
var v11 = v5[1];
mc._x = v14 * 0.5;
mc._y = v11 * 0.5;
var chk = mc.createEmptyMovieClip('_mochiad_wait', 3);
chk.ad_msec = v10;
chk.ad_timeout = v12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var v2 = 100 * (1 - (getTimer() - this.fadeout_start) / this.fadeout_time);
if (v2 > 0) {
this._parent._alpha = v2;
} else {
var v3 = this._parent._parent;
MochiAd.unload(v3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var v2 = this.mc._mochiad_wait;
v2.server_control = true;
v2.started = getTimer();
v2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace('[MOCHIAD rpcTestFn] ' + s);
return s;
};
chk.onEnterFrame = function () {
var v5 = this._parent._mochiad_ctr;
var v4 = getTimer() - this.started;
var v2 = false;
if (!chk.showing) {
var v3 = v5.getBytesTotal();
if (v3 > 0 || typeof v3 == 'undefined') {
chk.showing = true;
chk.started = getTimer();
} else {
if (v4 > chk.ad_timeout) {
options.ad_failed();
v2 = true;
}
}
}
if (v4 > chk.ad_msec) {
v2 = true;
}
if (v2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
};
v1.showPreloaderAd = function (options) {
trace('[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0');
MochiAd.showPreGameAd(options);
};
v1.showTimedAd = function (options) {
trace('[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0');
MochiAd.showInterLevelAd(options);
};
v1._allowDomains = function (server) {
var v1 = ((server.split('/'))[2].split(':'))[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain('*');
System.security.allowDomain(v1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain('*');
System.security.allowInsecureDomain(v1);
}
}
return v1;
};
v1.load = function (options) {
var v13 = {'clip': _root, 'server': 'http://x.mochiads.com/srv/1/', 'method': 'load', 'depth': 10333, 'id': '_UNKNOWN_'};
options = MochiAd._parseOptions(options, v13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = MochiAd.getVersion();
var v9 = options.clip;
if (!MochiAd._isNetworkAvailable()) {
return null;
}
if (v9._mochiad_loaded) {
return null;
}
var v12 = options.depth;
delete options.depth;
var v6 = v9.createEmptyMovieClip('_mochiad', v12);
var v11 = MochiAd._getRes(options);
options.res = v11[0] + 'x' + v11[1];
options.server += options.id;
delete options.id;
v9._mochiad_loaded = true;
var v4 = v6.createEmptyMovieClip('_mochiad_ctr', 1);
for (var v7 in options) {
v4[v7] = options[v7];
}
var v10 = v4.server;
delete v4.server;
var v14 = MochiAd._allowDomains(v10);
v6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var v5 = new LocalConnection();
var v8 = ['', Math.floor((new Date()).getTime()), random(999999)].join('_');
v5.mc = v6;
v5.name = v8;
v5.hostname = v14;
v5.allowDomain = function (d) {
return true;
};
v5.allowInsecureDomain = v5.allowDomain;
v5.connect(v8);
v6.lc = v5;
v4.lc = v8;
v4.st = getTimer();
v4.loadMovie(v10 + '.swf', 'POST');
return v6;
};
v1.unload = function (clip) {
if (typeof clip == 'undefined') {
clip = _root;
}
if (clip.clip && clip.clip._mochiad) {
clip = clip.clip;
}
if (!clip._mochiad) {
return false;
}
if (clip._mochiad._containerLCName != undefined) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, 'notify', {'id': 'unload'});
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return true;
};
v1._isNetworkAvailable = function () {
if (System.security) {
var v1 = System.security;
if (v1.sandboxType == 'localWithFile') {
return false;
}
}
return true;
};
v1._getRes = function (options) {
var v3 = options.clip.getBounds();
var v2 = 0;
var v1 = 0;
if (typeof options.res != 'undefined') {
var v4 = options.res.split('x');
v2 = parseFloat(v4[0]);
v1 = parseFloat(v4[1]);
} else {
v2 = v3.xMax - v3.xMin;
v1 = v3.yMax - v3.yMin;
}
if (v2 == 0 || v1 == 0) {
v2 = Stage.width;
v1 = Stage.height;
}
return [v2, v1];
};
v1._parseOptions = function (options, defaults) {
var v4 = {};
for (var v8 in defaults) {
v4[v8] = defaults[v8];
}
if (options) {
for (v8 in options) {
v4[v8] = options[v8];
}
}
if (_root.mochiad_options) {
var v5 = _root.mochiad_options.split('&');
var v2 = 0;
while (v2 < v5.length) {
var v3 = v5[v2].split('=');
v4[unescape(v3[0])] = unescape(v3[1]);
++v2;
}
}
if (v4.id == 'test') {
trace('[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!');
}
return v4;
};
v1.rpc = function (clip, callbackID, arg) {
switch (arg.id) {
case 'setValue':
MochiAd.setValue(clip, arg.objectName, arg.value);
break;
case 'getValue':
var v4 = MochiAd.getValue(clip, arg.objectName);
clip._mochiad.lc.send(clip._mochiad._containerLCName, 'rpcResult', callbackID, v4);
break;
case 'runMethod':
var v3 = MochiAd.runMethod(clip, arg.method, arg.args);
clip._mochiad.lc.send(clip._mochiad._containerLCName, 'rpcResult', callbackID, v3);
break;
default:
trace('[mochiads rpc] unknown rpc id: ' + arg.id);
}
};
v1.setValue = function (base, objectName, value) {
var v2 = objectName.split('.');
var v1;
v1 = 0;
while (v1 < v2.length - 1) {
if (base[v2[v1]] == undefined || base[v2[v1]] == null) {
return undefined;
}
base = base[v2[v1]];
++v1;
}
base[v2[v1]] = value;
};
v1.getValue = function (base, objectName) {
var v2 = objectName.split('.');
var v1;
v1 = 0;
while (v1 < v2.length - 1) {
if (base[v2[v1]] == undefined || base[v2[v1]] == null) {
return undefined;
}
base = base[v2[v1]];
++v1;
}
return base[v2[v1]];
};
v1.runMethod = function (base, methodName, argsArray) {
var v2 = methodName.split('.');
var v1;
v1 = 0;
while (v1 < v2.length - 1) {
if (base[v2[v1]] == undefined || base[v2[v1]] == null) {
return undefined;
}
base = base[v2[v1]];
++v1;
}
if (typeof base[v2[v1]] == 'function') {
return base[v2[v1]].apply(base, argsArray);
} else {
return undefined;
}
};
ASSetPropFlags(_global.MochiAd.prototype, null, 1);
}
#endinitclip
}
frame 2 {
stop();
stopAllSounds();
}
// unknown tag 88 length 76
movieClip 5 {
}
movieClip 6 {
frame 1 {
stop();
}
frame 31 {
stop();
}
frame 32 {
stop();
}
}
movieClip 8 {
}
movieClip 9 {
}
instance preloader_mc of movieClip 9 {
onClipEvent (enterFrame) {
this._parent.stop();
_root.PreGame.Start_btn._visible = false;
if (_global.Instructions == 'Playing') {
_root.PreGame.Instructions_btn._visible = false;
}
mctotal = this._parent.getBytesTotal();
mcloaded = this._parent.getBytesLoaded();
percent = Math.round((mcloaded / mctotal) * 100);
load = percent + '%';
progress_mc1._xscale = percent;
if (percent == 100 && _global.Instructions != 'Playing') {
nextFrame();
} else {
if (percent == 100 && _global.Instructions == 'Playing') {
this._parent.PreGame.Start_btn._visible = true;
this._visible = false;
this._parent.preloader_mc._visible = false;
this._parent.refreshMessage._visible = false;
} else {
null;
}
}
}
}
movieClip 11 {
}
movieClip 13 {
}
instance preloadMessage_mc of movieClip 13 {
onClipEvent (enterFrame) {
_parent.loaded = _parent.getBytesLoaded();
_parent.total = _parent.getBytesTotal();
if (_parent.getBytesLoaded() == _parent.getBytesTotal() && _global.Instructions != 'Playing') {
_parent.nextFrame();
} else {
if (_parent.getBytesLoaded() == _parent.getBytesTotal() && _global.Instructions == 'Playing') {
this._parent.PreGame.Start_btn._visible = true;
this._visible = false;
this._parent.preloader_mc = false;
this._parent.refreshMessage = false;
} else {
null;
}
}
}
}
movieClip 17 {
}
movieClip 18 {
}
frame 3 {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
function CheckZombieSideScroll() {
if (_global.HeroDirection != 'Right' && _global.HeroDirection != 'Left' || _global.DefenseState == 'Active' || _global.ReloadState == 'Active' || _global.HeroMoveState == 'Dead' || _global.GameplayState == 'Searching' || _global.GameplayState == 'Paused') {
null;
}
if (_global.HeroDirection == 'Right' || _global.HeroDirection == 'Right' && _global.DefenseState != 'Active' || _global.HeroDirection == 'Right' && _global.ReloadState != 'Active' || _global.HeroDirection == 'Right' && _global.HeroMoveState != 'Dead' || _global.HeroDirection == 'Right' && _global.GameplayState != 'Searching' || _global.HeroDirection == 'Right' && _global.GameplayState != 'Paused') {
if (_global.Zombie1MoveState != 'NotReady' && _global.Zombie1MoveState != 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie1MoveRate = 5;
} else {
if (_global.Zombie1MoveState != 'NotReady' && _global.Zombie1MoveState == 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie1MoveRate = 12;
} else {
if (_global.Zombie1MoveState == 'NotReady' && _global.Zombie1MoveState != 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie1MoveRate = 5;
}
}
}
if (_global.Zombie2MoveState != 'NotReady' && _global.Zombie2MoveState != 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie2MoveRate = 5;
} else {
if (_global.Zombie2MoveState != 'NotReady' && _global.Zombie2MoveState == 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie2MoveRate = 12;
} else {
if (_global.Zombie2MoveState == 'NotReady' && _global.Zombie2MoveState != 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie2MoveRate = 5;
}
}
}
if (_global.Zombie3MoveState != 'NotReady' && _global.Zombie3MoveState != 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie3MoveRate = 5;
} else {
if (_global.Zombie3MoveState != 'NotReady' && _global.Zombie3MoveState == 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie3MoveRate = 12;
} else {
if (_global.Zombie3MoveState == 'NotReady' && _global.Zombie3MoveState != 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie3MoveRate = 5;
}
}
}
if (_global.Zombie4MoveState != 'NotReady' && _global.Zombie4MoveState != 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie4MoveRate = 5;
} else {
if (_global.Zombie4MoveState != 'NotReady' && _global.Zombie4MoveState == 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie4MoveRate = 12;
} else {
if (_global.Zombie4MoveState == 'NotReady' && _global.Zombie4MoveState != 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie4MoveRate = 5;
}
}
}
} else {
if (_global.HeroDirection == 'Left' || _global.HeroDirection == 'Left' && _global.DefenseState != 'Active' || _global.HeroDirection == 'Left' && _global.ReloadState != 'Active' || _global.HeroDirection == 'Left' && _global.HeroMoveState != 'Dead' || _global.HeroDirection == 'Left' && _global.GameplayState != 'Searching' || _global.HeroDirection == 'Left' && _global.GameplayState != 'Paused') {
if (_global.Zombie1MoveState != 'NotReady' && _global.Zombie1MoveState != 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie1MoveRate = -5;
} else {
if (_global.Zombie1MoveState != 'NotReady' && _global.Zombie1MoveState == 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie1MoveRate = 2;
} else {
if (_global.Zombie1MoveState == 'NotReady' && _global.Zombie1MoveState != 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie1MoveRate = -5;
}
}
}
if (_global.Zombie2MoveState != 'NotReady' && _global.Zombie2MoveState != 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie2MoveRate = -5;
} else {
if (_global.Zombie2MoveState != 'NotReady' && _global.Zombie2MoveState == 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie2MoveRate = 2;
} else {
if (_global.Zombie2MoveState == 'NotReady' && _global.Zombie2MoveState != 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie2MoveRate = -5;
}
}
}
if (_global.Zombie3MoveState != 'NotReady' && _global.Zombie3MoveState != 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie3MoveRate = -5;
} else {
if (_global.Zombie3MoveState != 'NotReady' && _global.Zombie3MoveState == 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie3MoveRate = 2;
} else {
if (_global.Zombie3MoveState == 'NotReady' && _global.Zombie3MoveState != 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie3MoveRate = -5;
}
}
}
if (_global.Zombie4MoveState != 'NotReady' && _global.Zombie4MoveState != 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie4MoveRate = -5;
} else {
if (_global.Zombie4MoveState != 'NotReady' && _global.Zombie4MoveState == 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie4MoveRate = 2;
} else {
if (_global.Zombie4MoveState == 'NotReady' && _global.Zombie4MoveState != 'Lunge' && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead') {
_global.Zombie4MoveRate = -5;
}
}
}
}
}
}
function StaminaChecking() {
if (_global.GameplayState != 'Paused' && _global.HeroMoveState != 'Dead') {
if (_global.StaminaState != 'Exhausted' && _global.DefenseState != 'Active') {
if (_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale <= 99) {
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale += 0.5;
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale = _root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale;
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._x = 0;
_root.StaminaHolder._visible = false;
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.gotoAndStop(1);
_root.StaminaHolder.gotoAndStop(1);
}
if (_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale <= 9) {
_global.StaminaState = 'Exhausted';
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.gotoAndStop(2);
if (_global.GameplayState != 'Paused') {
_root.StaminaHolder.gotoAndStop(2);
_root.StaminaHolder.StaminaBar._xscale = 0;
_root.StaminaHolder._visible = true;
} else {
if (_global.GameplayState == 'Paused') {
_root.StaminaHolder._visible = false;
}
}
}
}
if (_global.StaminaState != 'Exhausted' && _global.DefenseState == 'Active') {
if (_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale <= 110) {
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale -= 1.2;
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale = _root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale;
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._x = 0;
if (_global.GameplayState != 'Paused') {
_root.StaminaHolder._visible = true;
_root.StaminaHolder.StaminaBar._xscale = _root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale;
} else {
if (_global.GameplayState == 'Paused') {
_root.StaminaHolder._visible = false;
}
}
}
if (_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale <= 9) {
_global.StaminaState = 'Exhausted';
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.gotoAndStop(2);
if (_global.GameplayState != 'Paused') {
_root.StaminaHolder.gotoAndStop(2);
_root.StaminaHolder.StaminaBar._xscale = 0;
_root.StaminaHolder._visible = true;
} else {
if (_global.GameplayState == 'Paused') {
_root.StaminaHolder._visible = false;
}
}
}
}
if (_global.StaminaState == 'Exhausted' && _global.DefenseState != 'Active') {
if (_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale <= 100) {
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale += 1;
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale = _root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale;
_global.StaminaState = 'Exhausted';
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.gotoAndStop(2);
if (_global.GameplayState != 'Paused') {
_root.StaminaHolder.gotoAndStop(2);
_root.StaminaHolder.StaminaBar._xscale = _root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale;
_root.StaminaHolder.StaminaBar._x = 0;
if (_root.StaminaHolder.StaminaBar._xscale <= 99) {
_root.StaminaHolder._visible = true;
} else {
if (_root.StaminaHolder.StaminaBar._xscale >= 100) {
_root.StaminaHolder._visible = false;
}
}
} else {
if (_global.GameplayState == 'Paused') {
_root.StaminaHolder._visible = false;
}
}
} else {
if (_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale >= 100) {
_global.StaminaState = null;
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.gotoAndStop(1);
_root.StaminaHolder.gotoAndStop(1);
_root.StaminaHolder._visible = false;
}
}
}
if (_global.StaminaState == 'Exhausted' && _global.DefenseState == 'Active') {
if (_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale <= 110) {
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale -= 0.7;
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale = _root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale;
if (_global.GameplayState != 'Paused') {
_root.StaminaHolder._visible = true;
_root.StaminaHolder.StaminaBar._xscale = _root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale;
_root.StaminaHolder.StaminaBar._x = 0;
} else {
if (_global.GameplayState == 'Paused') {
_root.StaminaHolder._visible = false;
}
}
}
}
if (_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale <= 0 && _global.DefenseState == 'Active') {
HeroDie();
}
} else {
null;
}
}
function Blockade() {
if (_global.ReloadState == 'Active') {
_root.Hero.gotoAndPlay('Swap-Finish');
_root.Reloading.ReloadBar._xscale = 100;
ReloadWeapon();
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
if (_global.GameplayState == 'Searching') {
_root.Searching._visible = false;
_root.Searching.SearchBar._xscale = 5;
_global.GameplayState = null;
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
if (_global.BloodlustState == 'Active') {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = 0;
_global.BloodlustState = null;
_root.Bloodlust.gotoAndStop(1);
}
_root.FadeOut.play();
_root.BackPack.gotoAndStop(1);
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
_root.GameMessages.gotoAndStop('Blockade');
if (_global.Level == 1) {
_root.GameMessages.Blockade.BlockadeDirections.BlockadeLabel.gotoAndStop(1);
_root.GameMessages.Blockade.gotoAndStop(1);
}
if (_global.Level == 2) {
_root.GameMessages.Blockade.BlockadeDirections.BlockadeLabel.gotoAndStop(2);
_root.GameMessages.Blockade.gotoAndStop(2);
}
if (_global.Level == 3) {
_root.GameMessages.Blockade.BlockadeDirections.BlockadeLabel.gotoAndStop(3);
_root.GameMessages.Blockade.gotoAndStop(3);
}
if (_global.Level == 4) {
_root.GameMessages.Blockade.BlockadeDirections.BlockadeLabel.gotoAndStop(4);
_root.GameMessages.Blockade.gotoAndStop(4);
}
_root.GameMessages.Blockade.Dialog._visible = false;
_root.GameMessages.Blockade.BlockadeMessage.gotoAndStop(2);
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale = 0;
delete onEnterFrame;
PauseGameplay();
_root.FadeOut.gotoAndPlay('FadeIn');
_root.ShiftBtn._visible = true;
_root.ShiftBtn.gotoAndStop('Continue');
_global.BlockadeOutCome = null;
}
};
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale += _global.BlockadeBonus;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale = _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale;
}
function ClearBlockade() {
delete onEnterFrame;
_root.BackPack._visible = false;
_root.GameMessages.Blockade.Dialog._visible = true;
_root.GameMessages.Blockade.BlockadeMessage.gotoAndStop(2);
_root.GameMessages.LevelStartText.gotoAndStop(1);
_root.GameMessages.Blockade.Satisfaction._visible = false;
if (_global.Level == 1) {
_global.Level = 2;
if (_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale <= 50) {
_root.GameMessages.Blockade.Dialog.gotoAndPlay('Pass3');
_global.BlockadeOutCome = 'Pass3';
}
if (_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale >= 51 && _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale <= 110) {
_root.GameMessages.Blockade.Dialog.gotoAndPlay('Pass2');
_global.BlockadeOutCome = 'Pass2';
}
if (_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale >= 111) {
_root.GameMessages.Blockade.Dialog.gotoAndPlay('Pass1');
_global.BlockadeOutCome = 'Pass1';
}
} else {
if (_global.Level == 2) {
if (_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale <= 50) {
_global.Level = 2;
_root.GameMessages.Blockade.Dialog.gotoAndPlay('Pass3');
_global.BlockadeOutCome = 'Pass3';
}
if (_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale >= 51 && _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale <= 110) {
_global.Level = 3;
_root.GameMessages.Blockade.Dialog.gotoAndPlay('Pass2');
_global.BlockadeOutCome = 'Pass2';
}
if (_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale >= 111) {
_global.Level = 3;
_root.GameMessages.Blockade.Dialog.gotoAndPlay('Pass1');
_global.BlockadeOutCome = 'Pass1';
}
} else {
if (_global.Level == 3) {
if (_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale <= 50) {
_global.Level = 3;
_root.GameMessages.Blockade.Dialog.gotoAndPlay('Pass3');
_global.BlockadeOutCome = 'Pass3';
}
if (_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale >= 51 && _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale <= 110) {
_global.Level = 4;
_root.GameMessages.Blockade.Dialog.gotoAndPlay('Pass2');
_global.BlockadeOutCome = 'Pass2';
}
if (_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale >= 111) {
_global.Level = 4;
_root.GameMessages.Blockade.Dialog.gotoAndPlay('Pass1');
_global.BlockadeOutCome = 'Pass1';
}
} else {
if (_global.Level == 4) {
if (_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale <= 50) {
_global.Level = 4;
_root.GameMessages.Blockade.Dialog.gotoAndPlay('Pass3');
}
if (_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale >= 51 && _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale <= 110) {
_global.Level = 5;
_root.GameMessages.Blockade.Dialog.gotoAndPlay('Pass2');
}
if (_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale >= 111) {
_global.Level = 5;
_root.GameMessages.Blockade.Dialog.gotoAndPlay('Pass1');
}
}
}
}
}
_global.LevelState = 'PostBlockade';
}
function PauseGameplay() {
_global.GameplayState = 'Paused';
_root.Hero.stop();
_root.Hero.Legs.stop();
_root.Zombie1.stop();
_root.Zombie2.stop();
_root.Zombie3.stop();
_root.Zombie4.stop();
_root.StaminaHolder._visible = false;
_root.Reloading._visible = false;
_root.Searching._visible = false;
}
function UnPauseGameplay() {
_root.Discovery.gotoAndStop(1);
_global.GameplayState = null;
_global.HeroMoveState = null;
_global.InventoryState = null;
_global.DiscoveryState = null;
_root.Hero.play();
_root.Zombie1.play();
_root.Zombie2.play();
_root.Zombie3.play();
_root.Zombie4.play();
_root.FadeOut.gotoAndStop(1);
}
function DamageHitTest() {
if (_global.HeroMoveState != 'Dead') {
if (_root.Hero.Fist.hitTest(_root.Zombie1.HitZone) && _global.BloodlustState != 'Active' && _global.Zombie1MoveState != 'NotReady') {
if (Zombie1HealthTotal <= 0) {
if (_global.CurrentWeapon == 'Fist') {
_root.Zombie1.gotoAndPlay('PistolDeath');
_global.Zombie1HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
_global.KillCount += 1;
_global.KillCount = _global.KillCount;
} else {
if (Zombie1HealthTotal > 0) {
if (_global.HeroMoveState != 'Defending') {
_global.WeaponImpact = 15;
_root.Zombie1.gotoAndPlay('LightHit');
_root.Zombie1._x += _global.WeaponImpact;
_global.Zombie1HealthTotal -= 1;
_global.Zombie1HealthTotal = _global.Zombie1HealthTotal;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 0.5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
} else {
if (_global.HeroMoveState == 'Defending') {
if (_global.Zombie1MoveState == 'Attacking') {
_root.Zombie1.gotoAndPlay('WalkNudge');
}
if (_global.Zombie2MoveState == 'Attacking') {
_root.Zombie2.gotoAndPlay('WalkNudge');
}
if (_global.Zombie3MoveState == 'Attacking') {
_root.Zombie3.gotoAndPlay('WalkNudge');
}
if (_global.Zombie4MoveState == 'Attacking') {
_root.Zombie4.gotoAndPlay('WalkNudge');
}
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 0.5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
}
NudgeHitTest();
}
}
}
if (_root.Hero.Fist.hitTest(_root.Zombie1.HitZone) && _global.BloodlustState == 'Active') {
_root.Zombie1.gotoAndPlay('PistolDeath');
_global.Zombie1HealthTotal = 3;
}
if (_root.Hero.Fist.hitTest(_root.Zombie2.HitZone) && _global.BloodlustState != 'Active' && _global.Zombie1MoveState != 'NotReady') {
if (Zombie2HealthTotal <= 0) {
_global.KillCount += 1;
_global.KillCount = _global.KillCount;
if (_global.CurrentWeapon == 'Fist') {
_root.Zombie2.gotoAndPlay('PistolDeath');
_global.Zombie2HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
} else {
if (Zombie2HealthTotal > 0) {
if (_global.HeroMoveState != 'Defending') {
_global.WeaponImpact = 15;
_root.Zombie2.gotoAndPlay('LightHit');
_root.Zombie2._x += _global.WeaponImpact;
_global.Zombie2HealthTotal -= 1;
_global.Zombie2HealthTotal = _global.Zombie2HealthTotal;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 0.5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
} else {
if (_global.HeroMoveState == 'Defending') {
if (_global.Zombie1MoveState == 'Attacking') {
_root.Zombie2.gotoAndPlay('WalkNudge');
}
if (_global.Zombie2MoveState == 'Attacking') {
_root.Zombie2.gotoAndPlay('WalkNudge');
}
if (_global.Zombie3MoveState == 'Attacking') {
_root.Zombie3.gotoAndPlay('WalkNudge');
}
if (_global.Zombie4MoveState == 'Attacking') {
_root.Zombie4.gotoAndPlay('WalkNudge');
}
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 0.5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
}
NudgeHitTest();
}
}
}
if (_root.Hero.Fist.hitTest(_root.Zombie2.HitZone) && _global.BloodlustState == 'Active') {
_root.Zombie2.gotoAndPlay('PistolDeath');
_global.Zombie2HealthTotal = 3;
}
if (_root.Hero.Fist.hitTest(_root.Zombie3.HitZone) && _global.BloodlustState != 'Active' && _global.Zombie1MoveState != 'NotReady') {
if (Zombie3HealthTotal <= 0) {
_global.KillCount += 1;
_global.KillCount = _global.KillCount;
if (_global.CurrentWeapon == 'Fist') {
_root.Zombie3.gotoAndPlay('PistolDeath');
_global.Zombie3HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
} else {
if (Zombie3HealthTotal > 0) {
if (_global.HeroMoveState != 'Defending') {
_global.WeaponImpact = 15;
_root.Zombie3.gotoAndPlay('LightHit');
_root.Zombie3._x += _global.WeaponImpact;
_global.Zombie3HealthTotal -= 1;
_global.Zombie3HealthTotal = _global.Zombie3HealthTotal;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 0.5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
} else {
if (_global.HeroMoveState == 'Defending') {
if (_global.Zombie1MoveState == 'Attacking') {
_root.Zombie3.gotoAndPlay('WalkNudge');
}
if (_global.Zombie2MoveState == 'Attacking') {
_root.Zombie3.gotoAndPlay('WalkNudge');
}
if (_global.Zombie3MoveState == 'Attacking') {
_root.Zombie3.gotoAndPlay('WalkNudge');
}
if (_global.Zombie4MoveState == 'Attacking') {
_root.Zombie4.gotoAndPlay('WalkNudge');
}
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 0.5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
}
NudgeHitTest();
}
}
}
if (_root.Hero.Fist.hitTest(_root.Zombie3.HitZone) && _global.BloodlustState == 'Active') {
_root.Zombie3.gotoAndPlay('PistolDeath');
_global.Zombie3HealthTotal = 3;
}
if (_root.Hero.Fist.hitTest(_root.Zombie4.HitZone) && _global.BloodlustState != 'Active' && _global.Zombie1MoveState != 'NotReady') {
if (Zombie4HealthTotal <= 0) {
_global.KillCount += 1;
_global.KillCount = _global.KillCount;
if (_global.CurrentWeapon == 'Fist') {
_root.Zombie4.gotoAndPlay('PistolDeath');
_global.Zombie4HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
} else {
if (Zombie4HealthTotal > 0) {
if (_global.HeroMoveState != 'Defending') {
_global.WeaponImpact = 15;
_root.Zombie4.gotoAndPlay('LightHit');
_root.Zombie4._x += _global.WeaponImpact;
_global.Zombie4HealthTotal -= 1;
_global.Zombie4HealthTotal = _global.Zombie4HealthTotal;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 0.5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
} else {
if (_global.HeroMoveState == 'Defending') {
if (_global.Zombie1MoveState == 'Attacking') {
_root.Zombie4.gotoAndPlay('WalkNudge');
}
if (_global.Zombie2MoveState == 'Attacking') {
_root.Zombie4.gotoAndPlay('WalkNudge');
}
if (_global.Zombie3MoveState == 'Attacking') {
_root.Zombie4.gotoAndPlay('WalkNudge');
}
if (_global.Zombie4MoveState == 'Attacking') {
_root.Zombie4.gotoAndPlay('WalkNudge');
}
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 0.5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
}
NudgeHitTest();
}
}
}
if (_root.Hero.Fist.hitTest(_root.Zombie4.HitZone) && _global.BloodlustState == 'Active') {
_root.Zombie4.gotoAndPlay('PistolDeath');
_global.Zombie4HealthTotal = 3;
}
if (_root.Projectiles.Bullet.hitTest(_root.Zombie1.HitZone) && _global.Zombie1MoveState != 'NotReady' && _global.DefenseState != 'Active' || _root.Hero.Stick.HotSpot.hitTest(_root.Zombie1.HitZone) && _global.Zombie1MoveState != 'NotReady' && _global.DefenseState != 'Active') {
if (Zombie1HealthTotal <= 0) {
_global.KillCount += 1;
_global.KillCount = _global.KillCount;
if (_global.CurrentWeapon == 'LightPistol') {
_root.Zombie1.gotoAndPlay('PistolDeath');
_global.Zombie1HealthTotal = 3;
}
if (_global.CurrentWeapon == 'HeavyPistol') {
_root.Zombie1.gotoAndPlay('PistolDeath');
_global.Zombie1HealthTotal = 3;
}
if (_global.CurrentWeapon == 'LightShotgun') {
_root.Zombie1.gotoAndPlay('ShotgunDeath');
_global.Zombie1HealthTotal = 3;
}
if (_global.CurrentWeapon == 'HeavyShotgun') {
_root.Zombie1.gotoAndPlay('ShotgunDeath');
_global.Zombie1HealthTotal = 3;
}
if (_global.CurrentWeapon == 'LightMachinegun') {
_root.Zombie1.gotoAndPlay('MachinegunDeath');
_global.Zombie1HealthTotal = 3;
}
if (_global.CurrentWeapon == 'HeavyMachinegun') {
_root.Zombie1.gotoAndPlay('MachinegunDeath');
_global.Zombie1HealthTotal = 3;
}
if (_global.CurrentWeapon == 'Bass') {
_root.Zombie1.gotoAndPlay('PistolDeath');
_global.Zombie1HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'BattleAxe') {
_root.Zombie1.gotoAndPlay('PistolDeath');
_global.Zombie1HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Cleaver') {
_root.Zombie1.gotoAndPlay('PistolDeath');
_global.Zombie1HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Crowbar') {
_root.Zombie1.gotoAndPlay('PistolDeath');
_global.Zombie1HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'FireAxe') {
_root.Zombie1.gotoAndPlay('PistolDeath');
_global.Zombie1HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Hammer') {
_root.Zombie1.gotoAndPlay('PistolDeath');
_global.Zombie1HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Knife') {
_root.Zombie1.gotoAndPlay('PistolDeath');
_global.Zombie1HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
} else {
if (Zombie1HealthTotal > 0) {
if (_global.CurrentWeapon == 'LightPistol') {
SetLightPistolVariables();
_root.Zombie1.gotoAndPlay('LightHit');
_root.Zombie1.Blood.nextFrame();
_root.Projectiles.gotoAndStop(1);
}
if (_global.CurrentWeapon == 'HeavyPistol') {
SetHeavyPistolVariables();
_root.Zombie1.gotoAndPlay('HeavyHit-Special');
_root.Zombie1.Blood.nextFrame();
_root.Projectiles.gotoAndStop(1);
}
if (_global.CurrentWeapon == 'LightShotgun') {
SetLightShotgunVariables();
_root.Zombie1.gotoAndPlay('HeavyHit');
_root.Zombie1.Blood.nextFrame();
}
if (_global.CurrentWeapon == 'HeavyShotgun') {
SetHeavyShotgunVariables();
_root.Zombie1.gotoAndPlay('HeavyHit-Special');
_root.Zombie1.Blood.nextFrame();
}
if (_global.CurrentWeapon == 'LightMachinegun') {
SetLightMachinegunVariables();
_root.Zombie1.gotoAndPlay('MultiHit');
_root.Zombie1.Blood.nextFrame();
}
if (_global.CurrentWeapon == 'HeavyMachinegun') {
SetHeavyMachinegunVariables();
_root.Zombie1.gotoAndPlay('MultiHit');
_root.Zombie1.Blood.nextFrame();
}
if (_global.CurrentWeapon == 'Bass' && _global.BloodlustState != 'Active') {
_root.Zombie1.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Bass' && _global.BloodlustState == 'Active') {
_root.Zombie1.gotoAndPlay('ShotgunDeath');
}
if (_global.CurrentWeapon == 'BattleAxe' && _global.BloodlustState != 'Active') {
_root.Zombie1.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'BattleAxe' && _global.BloodlustState == 'Active') {
_root.Zombie1.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'Cleaver' && _global.BloodlustState != 'Active') {
_root.Zombie1.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Cleaver' && _global.BloodlustState == 'Active') {
_root.Zombie1.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'Crowbar' && _global.BloodlustState != 'Active') {
_root.Zombie1.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Crowbar' && _global.BloodlustState == 'Active') {
_root.Zombie1.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'FireAxe' && _global.BloodlustState != 'Active') {
_root.Zombie1.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'FireAxe' && _global.BloodlustState == 'Active') {
_root.Zombie1.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'Hammer' && _global.BloodlustState != 'Active') {
_root.Zombie1.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Hammer' && _global.BloodlustState == 'Active') {
_root.Zombie1.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'Knife' && _global.BloodlustState != 'Active') {
_root.Zombie1.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Knife' && _global.BloodlustState == 'Active') {
_root.Zombie1.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
_root.Zombie1._x += _global.WeaponImpact;
_global.Zombie1HealthTotal -= _global.WeaponDamage;
_global.Zombie1HealthTotal = _global.Zombie1HealthTotal;
}
}
}
if (_root.Projectiles.Bullet.hitTest(_root.Zombie2.HitZone) && _global.Zombie2MoveState != 'NotReady' && _global.DefenseState != 'Active' || _root.Hero.Stick.HotSpot.hitTest(_root.Zombie2.HitZone) && _global.Zombie2MoveState != 'NotReady' && _global.DefenseState != 'Active') {
if (Zombie2HealthTotal <= 0) {
_global.KillCount += 1;
_global.KillCount = _global.KillCount;
if (_global.CurrentWeapon == 'LightPistol') {
_root.Zombie2.gotoAndPlay('PistolDeath');
_global.Zombie2HealthTotal = 3;
}
if (_global.CurrentWeapon == 'HeavyPistol') {
_root.Zombie2.gotoAndPlay('PistolDeath');
_global.Zombie2HealthTotal = 3;
}
if (_global.CurrentWeapon == 'LightShotgun') {
_root.Zombie2.gotoAndPlay('ShotgunDeath');
_global.Zombie2HealthTotal = 3;
}
if (_global.CurrentWeapon == 'HeavyShotgun') {
_root.Zombie2.gotoAndPlay('ShotgunDeath');
_global.Zombie2HealthTotal = 3;
}
if (_global.CurrentWeapon == 'LightMachinegun') {
_root.Zombie2.gotoAndPlay('MachinegunDeath');
_global.Zombie2HealthTotal = 3;
}
if (_global.CurrentWeapon == 'HeavyMachinegun') {
_root.Zombie2.gotoAndPlay('MachinegunDeath');
_global.Zombie2HealthTotal = 3;
}
if (_global.CurrentWeapon == 'Bass') {
_root.Zombie2.gotoAndPlay('PistolDeath');
_global.Zombie2HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'BattleAxe') {
_root.Zombie2.gotoAndPlay('PistolDeath');
_global.Zombie2HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Cleaver') {
_root.Zombie2.gotoAndPlay('PistolDeath');
_global.Zombie2HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Crowbar') {
_root.Zombie2.gotoAndPlay('PistolDeath');
_global.Zombie2HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'FireAxe') {
_root.Zombie2.gotoAndPlay('PistolDeath');
_global.Zombie2HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Hammer') {
_root.Zombie2.gotoAndPlay('PistolDeath');
_global.Zombie2HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Knife') {
_root.Zombie2.gotoAndPlay('PistolDeath');
_global.Zombie2HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
} else {
if (Zombie2HealthTotal > 0) {
if (_global.CurrentWeapon == 'LightPistol') {
SetLightPistolVariables();
_root.Zombie2.gotoAndPlay('LightHit');
_root.Zombie2.Blood.nextFrame();
_root.Projectiles.gotoAndStop(1);
}
if (_global.CurrentWeapon == 'HeavyPistol') {
SetHeavyPistolVariables();
_root.Zombie2.gotoAndPlay('HeavyHit');
_root.Zombie2.Blood.nextFrame();
_root.Projectiles.gotoAndStop(1);
}
if (_global.CurrentWeapon == 'LightShotgun') {
SetLightShotgunVariables();
_root.Zombie2.gotoAndPlay('HeavyHit');
_root.Zombie2.Blood.nextFrame();
}
if (_global.CurrentWeapon == 'HeavyShotgun') {
SetHeavyShotgunVariables();
_root.Zombie2.gotoAndPlay('HeavyHit-Special');
_root.Zombie2.Blood.nextFrame();
}
if (_global.CurrentWeapon == 'LightMachinegun') {
SetLightMachinegunVariables();
_root.Zombie2.gotoAndPlay('MultiHit');
_root.Zombie2.Blood.nextFrame();
}
if (_global.CurrentWeapon == 'HeavyMachinegun') {
SetHeavyMachinegunVariables();
_root.Zombie2.gotoAndPlay('MultiHit');
_root.Zombie2.Blood.nextFrame();
}
if (_global.CurrentWeapon == 'Bass' && _global.BloodlustState != 'Active') {
_root.Zombie2.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Bass' && _global.BloodlustState == 'Active') {
_root.Zombie2.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'BattleAxe' && _global.BloodlustState != 'Active') {
_root.Zombie2.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'BattleAxe' && _global.BloodlustState == 'Active') {
_root.Zombie2.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'Cleaver' && _global.BloodlustState != 'Active') {
_root.Zombie2.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Cleaver' && _global.BloodlustState == 'Active') {
_root.Zombie2.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'Crowbar' && _global.BloodlustState != 'Active') {
_root.Zombie2.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Crowbar' && _global.BloodlustState == 'Active') {
_root.Zombie2.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'FireAxe' && _global.BloodlustState != 'Active') {
_root.Zombie2.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'FireAxe' && _global.BloodlustState == 'Active') {
_root.Zombie2.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'Hammer' && _global.BloodlustState != 'Active') {
_root.Zombie2.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Hammer' && _global.BloodlustState == 'Active') {
_root.Zombie2.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'Knife' && _global.BloodlustState != 'Active') {
_root.Zombie2.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Knife' && _global.BloodlustState == 'Active') {
_root.Zombie2.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
_root.Zombie2._x += _global.WeaponImpact;
_global.Zombie2HealthTotal -= _global.WeaponDamage;
_global.Zombie2HealthTotal = _global.Zombie2HealthTotal;
}
}
}
if (_root.Projectiles.Bullet.hitTest(_root.Zombie3.HitZone) && _global.Zombie3MoveState != 'NotReady' && _global.DefenseState != 'Active' || _root.Hero.Stick.HotSpot.hitTest(_root.Zombie3.HitZone) && _global.Zombie3MoveState != 'NotReady' && _global.DefenseState != 'Active') {
if (Zombie3HealthTotal <= 0) {
_global.KillCount += 1;
_global.KillCount = _global.KillCount;
if (_global.CurrentWeapon == 'LightPistol') {
_root.Zombie3.gotoAndPlay('PistolDeath');
_global.Zombie3HealthTotal = 3;
}
if (_global.CurrentWeapon == 'HeavyPistol') {
_root.Zombie3.gotoAndPlay('PistolDeath');
_global.Zombie3HealthTotal = 3;
}
if (_global.CurrentWeapon == 'LightShotgun') {
_root.Zombie3.gotoAndPlay('ShotgunDeath');
_global.Zombie3HealthTotal = 3;
}
if (_global.CurrentWeapon == 'HeavyShotgun') {
_root.Zombie3.gotoAndPlay('ShotgunDeath');
_global.Zombie3HealthTotal = 3;
}
if (_global.CurrentWeapon == 'LightMachinegun') {
_root.Zombie3.gotoAndPlay('MachinegunDeath');
_global.Zombie3HealthTotal = 3;
}
if (_global.CurrentWeapon == 'HeavyMachinegun') {
_root.Zombie3.gotoAndPlay('MachinegunDeath');
_global.Zombie3HealthTotal = 3;
}
if (_global.CurrentWeapon == 'Bass') {
_root.Zombie3.gotoAndPlay('PistolDeath');
_global.Zombie3HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'BattleAxe') {
_root.Zombie3.gotoAndPlay('PistolDeath');
_global.Zombie3HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Cleaver') {
_root.Zombie3.gotoAndPlay('PistolDeath');
_global.Zombie3HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Crowbar') {
_root.Zombie3.gotoAndPlay('PistolDeath');
_global.Zombie3HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'FireAxe') {
_root.Zombie3.gotoAndPlay('PistolDeath');
_global.Zombie3HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Hammer') {
_root.Zombie3.gotoAndPlay('PistolDeath');
_global.Zombie3HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Knife') {
_root.Zombie3.gotoAndPlay('PistolDeath');
_global.Zombie3HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
} else {
if (Zombie3HealthTotal > 0) {
if (_global.CurrentWeapon == 'LightPistol') {
SetLightPistolVariables();
_root.Zombie3.gotoAndPlay('LightHit');
_root.Zombie3.Blood.nextFrame();
_root.Projectiles.gotoAndStop(1);
}
if (_global.CurrentWeapon == 'HeavyPistol') {
SetHeavyPistolVariables();
_root.Zombie3.gotoAndPlay('HeavyHit');
_root.Zombie3.Blood.nextFrame();
_root.Projectiles.gotoAndStop(1);
}
if (_global.CurrentWeapon == 'LightShotgun') {
SetLightShotgunVariables();
_root.Zombie3.gotoAndPlay('HeavyHit');
_root.Zombie3.Blood.nextFrame();
}
if (_global.CurrentWeapon == 'HeavyShotgun') {
SetHeavyShotgunVariables();
_root.Zombie3.gotoAndPlay('HeavyHit-Special');
_root.Zombie3.Blood.nextFrame();
}
if (_global.CurrentWeapon == 'LightMachinegun') {
SetLightMachinegunVariables();
_root.Zombie3.gotoAndPlay('MultiHit');
_root.Zombie3.Blood.nextFrame();
}
if (_global.CurrentWeapon == 'HeavyMachinegun') {
SetHeavyMachinegunVariables();
_root.Zombie3.gotoAndPlay('MultiHit');
_root.Zombie3.Blood.nextFrame();
}
if (_global.CurrentWeapon == 'Bass' && _global.BloodlustState != 'Active') {
_root.Zombie3.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Bass' && _global.BloodlustState == 'Active') {
_root.Zombie3.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'BattleAxe' && _global.BloodlustState != 'Active') {
_root.Zombie3.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'BattleAxe' && _global.BloodlustState == 'Active') {
_root.Zombie3.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'Cleaver' && _global.BloodlustState != 'Active') {
_root.Zombie3.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Cleaver' && _global.BloodlustState == 'Active') {
_root.Zombie3.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'Crowbar' && _global.BloodlustState != 'Active') {
_root.Zombie3.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Crowbar' && _global.BloodlustState == 'Active') {
_root.Zombie3.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'FireAxe' && _global.BloodlustState != 'Active') {
_root.Zombie3.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'FireAxe' && _global.BloodlustState == 'Active') {
_root.Zombie3.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'Hammer' && _global.BloodlustState != 'Active') {
_root.Zombie3.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Hammer' && _global.BloodlustState == 'Active') {
_root.Zombie3.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'Knife' && _global.BloodlustState != 'Active') {
_root.Zombie3.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Knife' && _global.BloodlustState == 'Active') {
_root.Zombie3.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
_root.Zombie3._x += _global.WeaponImpact;
_global.Zombie3HealthTotal -= _global.WeaponDamage;
_global.Zombie3HealthTotal = _global.Zombie3HealthTotal;
}
}
}
if (_root.Projectiles.Bullet.hitTest(_root.Zombie4.HitZone) && _global.Zombie4MoveState != 'NotReady' && _global.DefenseState != 'Active' || _root.Hero.Stick.HotSpot.hitTest(_root.Zombie4.HitZone) && _global.Zombie4MoveState != 'NotReady' && _global.DefenseState != 'Active') {
if (Zombie4HealthTotal <= 0) {
_global.KillCount += 1;
_global.KillCount = _global.KillCount;
if (_global.CurrentWeapon == 'LightPistol') {
_root.Zombie4.gotoAndPlay('PistolDeath');
_global.Zombie4HealthTotal = 3;
}
if (_global.CurrentWeapon == 'HeavyPistol') {
_root.Zombie4.gotoAndPlay('PistolDeath');
_global.Zombie4HealthTotal = 3;
}
if (_global.CurrentWeapon == 'LightShotgun') {
_root.Zombie4.gotoAndPlay('ShotgunDeath');
_global.Zombie4HealthTotal = 3;
}
if (_global.CurrentWeapon == 'HeavyShotgun') {
_root.Zombie4.gotoAndPlay('ShotgunDeath');
_global.Zombie4HealthTotal = 3;
}
if (_global.CurrentWeapon == 'LightMachinegun') {
_root.Zombie4.gotoAndPlay('MachinegunDeath');
_global.Zombie4HealthTotal = 3;
}
if (_global.CurrentWeapon == 'HeavyMachinegun') {
_root.Zombie4.gotoAndPlay('MachinegunDeath');
_global.Zombie4HealthTotal = 3;
}
if (_global.CurrentWeapon == 'Bass') {
_root.Zombie4.gotoAndPlay('PistolDeath');
_global.Zombie4HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'BattleAxe') {
_root.Zombie4.gotoAndPlay('PistolDeath');
_global.Zombie4HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Cleaver') {
_root.Zombie4.gotoAndPlay('PistolDeath');
_global.Zombie4HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Crowbar') {
_root.Zombie4.gotoAndPlay('PistolDeath');
_global.Zombie4HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'FireAxe') {
_root.Zombie4.gotoAndPlay('PistolDeath');
_global.Zombie4HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Hammer') {
_root.Zombie4.gotoAndPlay('PistolDeath');
_global.Zombie4HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Knife') {
_root.Zombie4.gotoAndPlay('PistolDeath');
_global.Zombie4HealthTotal = 3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 5;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
} else {
if (Zombie4HealthTotal > 0) {
if (_global.CurrentWeapon == 'LightPistol') {
SetLightPistolVariables();
_root.Zombie4.gotoAndPlay('LightHit');
_root.Zombie4.Blood.nextFrame();
_root.Projectiles.gotoAndStop(1);
}
if (_global.CurrentWeapon == 'HeavyPistol') {
SetHeavyPistolVariables();
_root.Zombie4.gotoAndPlay('HeavyHit');
_root.Zombie4.Blood.nextFrame();
_root.Projectiles.gotoAndStop(1);
}
if (_global.CurrentWeapon == 'LightShotgun') {
SetLightShotgunVariables();
_root.Zombie4.gotoAndPlay('HeavyHit');
_root.Zombie4.Blood.nextFrame();
}
if (_global.CurrentWeapon == 'HeavyShotgun') {
SetHeavyShotgunVariables();
_root.Zombie4.gotoAndPlay('HeavyHit-Special');
_root.Zombie4.Blood.nextFrame();
}
if (_global.CurrentWeapon == 'LightMachinegun') {
SetLightMachinegunVariables();
_root.Zombie4.gotoAndPlay('MultiHit');
_root.Zombie4.Blood.nextFrame();
}
if (_global.CurrentWeapon == 'HeavyMachinegun') {
SetHeavyMachinegunVariables();
_root.Zombie4.gotoAndPlay('MultiHit');
_root.Zombie4.Blood.nextFrame();
}
if (_global.CurrentWeapon == 'Bass' && _global.BloodlustState != 'Active') {
_root.Zombie4.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Bass' && _global.BloodlustState == 'Active') {
_root.Zombie4.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'BattleAxe' && _global.BloodlustState != 'Active') {
_root.Zombie4.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'BattleAxe' && _global.BloodlustState == 'Active') {
_root.Zombie4.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'Cleaver' && _global.BloodlustState != 'Active') {
_root.Zombie4.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Cleaver' && _global.BloodlustState == 'Active') {
_root.Zombie4.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'Crowbar' && _global.BloodlustState != 'Active') {
_root.Zombie4.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Crowbar' && _global.BloodlustState == 'Active') {
_root.Zombie4.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'FireAxe' && _global.BloodlustState != 'Active') {
_root.Zombie4.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'FireAxe' && _global.BloodlustState == 'Active') {
_root.Zombie4.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'Hammer' && _global.BloodlustState != 'Active') {
_root.Zombie4.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Hammer' && _global.BloodlustState == 'Active') {
_root.Zombie4.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
if (_global.CurrentWeapon == 'Knife' && _global.BloodlustState != 'Active') {
_root.Zombie4.gotoAndPlay('LightHit');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
if (_global.CurrentWeapon == 'Knife' && _global.BloodlustState == 'Active') {
_root.Zombie4.gotoAndPlay('ShotgunDeath');
_root.Bloodlust.Spatter.nextFrame();
}
_root.Zombie4._x += _global.WeaponImpact;
_global.Zombie4HealthTotal -= _global.WeaponDamage;
_global.Zombie4HealthTotal = _global.Zombie4HealthTotal;
}
}
}
if (_root.Projectiles.Bullet.hitTest(_root.BG.Emitter1.HitZone) || _root.Hero.Stick.HotSpot.hitTest(_root.BG.Emitter1.HitZone)) {
_root.Projectiles.gotoAndStop(1);
_root.BG.Emitter1.Smash.gotoAndPlay(1);
_root.BG.Emitter1.Damage.nextFrame();
if (_global.Emitter1HealthTotal <= 0) {
_root.BG.Emitter1.gotoAndStop(2);
_root.Zombie1.gotoAndPlay('ShotgunDeath');
_root.Zombie2.gotoAndPlay('ShotgunDeath');
_root.Zombie3.gotoAndPlay('ShotgunDeath');
_root.Zombie4.gotoAndPlay('ShotgunDeath');
} else {
if (_global.Emitter1HealthTotal > 0) {
if (_global.CurrentWeapon == 'LightPistol') {
SetLightPistolVariables();
_root.Projectiles.gotoAndStop(1);
}
if (_global.CurrentWeapon == 'HeavyPistol') {
SetHeavyPistolVariables();
_root.Projectiles.gotoAndStop(1);
}
if (_global.CurrentWeapon == 'LightShotgun') {
SetLightShotgunVariables();
}
if (_global.CurrentWeapon == 'HeavyShotgun') {
SetHeavyShotgunVariables();
}
if (_global.CurrentWeapon == 'LightMachinegun') {
SetLightMachinegunVariables();
}
if (_global.CurrentWeapon == 'HeavyMachinegun') {
SetHeavyMachinegunVariables();
}
if (_global.CurrentWeapon == 'Bass' && _global.BloodlustState != 'Active') {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
_global.Emitter1HealthTotal -= _global.WeaponDamage;
_global.Emitter1HealthTotal = _global.Emitter1HealthTotal;
}
}
}
if (_root.Projectiles.Bullet.hitTest(_root.BG.Emitter2.HitZone) || _root.Hero.Stick.HotSpot.hitTest(_root.BG.Emitter2.HitZone)) {
_root.Projectiles.gotoAndStop(1);
_root.BG.Emitter2.Smash.gotoAndPlay(1);
_root.BG.Emitter2.Damage.nextFrame();
if (_global.Emitter2HealthTotal <= 0) {
_root.BG.Emitter2.gotoAndStop(2);
_root.Zombie1.gotoAndPlay('ShotgunDeath');
_root.Zombie2.gotoAndPlay('ShotgunDeath');
_root.Zombie3.gotoAndPlay('ShotgunDeath');
_root.Zombie4.gotoAndPlay('ShotgunDeath');
} else {
if (_global.Emitter2HealthTotal > 0) {
if (_global.CurrentWeapon == 'LightPistol') {
SetLightPistolVariables();
_root.Projectiles.gotoAndStop(1);
}
if (_global.CurrentWeapon == 'HeavyPistol') {
SetHeavyPistolVariables();
_root.Projectiles.gotoAndStop(1);
}
if (_global.CurrentWeapon == 'LightShotgun') {
SetLightShotgunVariables();
}
if (_global.CurrentWeapon == 'HeavyShotgun') {
SetHeavyShotgunVariables();
}
if (_global.CurrentWeapon == 'LightMachinegun') {
SetLightMachinegunVariables();
}
if (_global.CurrentWeapon == 'HeavyMachinegun') {
SetHeavyMachinegunVariables();
}
if (_global.CurrentWeapon == 'Bass' && _global.BloodlustState != 'Active') {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
_global.Emitter2HealthTotal -= _global.WeaponDamage;
_global.Emitter2HealthTotal = _global.Emitter2HealthTotal;
}
}
}
if (_root.Projectiles.Bullet.hitTest(_root.BG.Emitter3.HitZone) || _root.Hero.Stick.HotSpot.hitTest(_root.BG.Emitter3.HitZone)) {
_root.Projectiles.gotoAndStop(1);
_root.BG.Emitter3.Smash.gotoAndPlay(1);
_root.BG.Emitter3.Damage.nextFrame();
if (_global.Emitter3HealthTotal <= 0) {
_root.BG.Emitter3.gotoAndStop(2);
_root.Zombie1.gotoAndPlay('ShotgunDeath');
_root.Zombie2.gotoAndPlay('ShotgunDeath');
_root.Zombie3.gotoAndPlay('ShotgunDeath');
_root.Zombie4.gotoAndPlay('ShotgunDeath');
} else {
if (_global.Emitter3HealthTotal > 0) {
if (_global.CurrentWeapon == 'LightPistol') {
SetLightPistolVariables();
_root.Projectiles.gotoAndStop(1);
}
if (_global.CurrentWeapon == 'HeavyPistol') {
SetHeavyPistolVariables();
_root.Projectiles.gotoAndStop(1);
}
if (_global.CurrentWeapon == 'LightShotgun') {
SetLightShotgunVariables();
}
if (_global.CurrentWeapon == 'HeavyShotgun') {
SetHeavyShotgunVariables();
}
if (_global.CurrentWeapon == 'LightMachinegun') {
SetLightMachinegunVariables();
}
if (_global.CurrentWeapon == 'HeavyMachinegun') {
SetHeavyMachinegunVariables();
}
if (_global.CurrentWeapon == 'Bass' && _global.BloodlustState != 'Active') {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
_global.Emitter3HealthTotal -= _global.WeaponDamage;
_global.Emitter3HealthTotal = _global.Emitter3HealthTotal;
}
}
}
if (_root.Projectiles.Bullet.hitTest(_root.FG.Drone1.DamageHitZone) || _root.Hero.Stick.HotSpot.hitTest(_root.FG.Drone1.DamageHitZone)) {
_root.Projectiles.gotoAndStop(1);
_root.FG.Drone1.gotoAndPlay('Damage');
if (_global.Drone1HealthTotal <= 0) {
_root.FG.Drone1.gotoAndPlay('Death');
} else {
if (_global.Drone1HealthTotal > 0) {
if (_global.CurrentWeapon == 'LightPistol') {
SetLightPistolVariables();
}
if (_global.CurrentWeapon == 'HeavyPistol') {
SetHeavyPistolVariables();
}
if (_global.CurrentWeapon == 'LightShotgun') {
SetLightShotgunVariables();
}
if (_global.CurrentWeapon == 'HeavyShotgun') {
SetHeavyShotgunVariables();
}
if (_global.CurrentWeapon == 'LightMachinegun') {
SetLightMachinegunVariables();
}
if (_global.CurrentWeapon == 'HeavyMachinegun') {
SetHeavyMachinegunVariables();
}
if (_global.CurrentWeapon == 'Bass' && _global.BloodlustState != 'Active') {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
_global.Drone1HealthTotal -= _global.WeaponDamage;
_global.Drone1HealthTotal = _global.Drone1HealthTotal;
}
}
}
if (_root.Projectiles.Bullet.hitTest(_root.FG.Drone2.DamageHitZone) || _root.Hero.Stick.HotSpot.hitTest(_root.FG.Drone2.DamageHitZone)) {
_root.Projectiles.gotoAndStop(1);
_root.FG.Drone2.gotoAndPlay('Damage');
if (_global.Drone2HealthTotal <= 0) {
_root.FG.Drone2.gotoAndPlay('Death');
} else {
if (_global.Drone2HealthTotal > 0) {
if (_global.CurrentWeapon == 'LightPistol') {
SetLightPistolVariables();
}
if (_global.CurrentWeapon == 'HeavyPistol') {
SetHeavyPistolVariables();
}
if (_global.CurrentWeapon == 'LightShotgun') {
SetLightShotgunVariables();
}
if (_global.CurrentWeapon == 'HeavyShotgun') {
SetHeavyShotgunVariables();
}
if (_global.CurrentWeapon == 'LightMachinegun') {
SetLightMachinegunVariables();
}
if (_global.CurrentWeapon == 'HeavyMachinegun') {
SetHeavyMachinegunVariables();
}
if (_global.CurrentWeapon == 'Bass' && _global.BloodlustState != 'Active') {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
_global.Drone2HealthTotal -= _global.WeaponDamage;
_global.Drone2HealthTotal = _global.Drone2HealthTotal;
}
}
}
if (_root.Projectiles.Bullet.hitTest(_root.FG.Drone3.DamageHitZone) || _root.Hero.Stick.HotSpot.hitTest(_root.FG.Drone3.DamageHitZone)) {
_root.Projectiles.gotoAndStop(1);
_root.FG.Drone3.gotoAndPlay('Damage');
if (_global.Drone3HealthTotal <= 0) {
_root.FG.Drone3.gotoAndPlay('Death');
} else {
if (_global.Drone3HealthTotal > 0) {
if (_global.CurrentWeapon == 'LightPistol') {
SetLightPistolVariables();
}
if (_global.CurrentWeapon == 'HeavyPistol') {
SetHeavyPistolVariables();
}
if (_global.CurrentWeapon == 'LightShotgun') {
SetLightShotgunVariables();
}
if (_global.CurrentWeapon == 'HeavyShotgun') {
SetHeavyShotgunVariables();
}
if (_global.CurrentWeapon == 'LightMachinegun') {
SetLightMachinegunVariables();
}
if (_global.CurrentWeapon == 'HeavyMachinegun') {
SetHeavyMachinegunVariables();
}
if (_global.CurrentWeapon == 'Bass' && _global.BloodlustState != 'Active') {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
_global.Drone3HealthTotal -= _global.WeaponDamage;
_global.Drone3HealthTotal = _global.Drone3HealthTotal;
}
}
}
if (_root.Projectiles.Bullet.hitTest(_root.FG.Drone4.DamageHitZone) || _root.Hero.Stick.HotSpot.hitTest(_root.FG.Drone4.DamageHitZone)) {
_root.Projectiles.gotoAndStop(1);
_root.FG.Drone4.gotoAndPlay('Damage');
if (_global.Drone4HealthTotal <= 0) {
_root.FG.Drone4.gotoAndPlay('Death');
} else {
if (_global.Drone4HealthTotal > 0) {
if (_global.CurrentWeapon == 'LightPistol') {
SetLightPistolVariables();
}
if (_global.CurrentWeapon == 'HeavyPistol') {
SetHeavyPistolVariables();
}
if (_global.CurrentWeapon == 'LightShotgun') {
SetLightShotgunVariables();
}
if (_global.CurrentWeapon == 'HeavyShotgun') {
SetHeavyShotgunVariables();
}
if (_global.CurrentWeapon == 'LightMachinegun') {
SetLightMachinegunVariables();
}
if (_global.CurrentWeapon == 'HeavyMachinegun') {
SetHeavyMachinegunVariables();
}
if (_global.CurrentWeapon == 'Bass' && _global.BloodlustState != 'Active') {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale += 8;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
}
_global.Drone4HealthTotal -= _global.WeaponDamage;
_global.Drone4HealthTotal = _global.Drone4HealthTotal;
}
}
}
} else {
null;
}
}
function Challenge() {
if (_global.NeedleDirection == 'Right' && _global.Level == 1 || _global.NeedleDirection == 'Right' && _global.Level == 2) {
_root.Challenges.Needle._x += 20;
_root.Challenges.Needle._x = _root.Challenges.Needle._x;
if (_root.Challenges.Needle._x >= 230) {
_global.NeedleDirection = 'Left';
}
}
if (_global.NeedleDirection == 'Left' && _global.Level == 1 || _global.NeedleDirection == 'Left' && _global.Level == 2) {
_root.Challenges.Needle._x -= 20;
_root.Challenges.Needle._x = _root.Challenges.Needle._x;
if (_root.Challenges.Needle._x <= -230) {
_global.NeedleDirection = 'Right';
}
}
if (_global.NeedleDirection == 'Right' && _global.Level == 3 || _global.NeedleDirection == 'Right' && _global.Level == 4) {
_root.Challenges.Needle._x += 20;
_root.Challenges.Needle._x = _root.Challenges.Needle._x;
if (_root.Challenges.Needle._x >= 230) {
_global.NeedleDirection = 'Left';
}
}
if (_global.NeedleDirection == 'Left' && _global.Level == 3 || _global.NeedleDirection == 'Left' && _global.Level == 4) {
_root.Challenges.Needle._x -= 20;
_root.Challenges.Needle._x = _root.Challenges.Needle._x;
if (_root.Challenges.Needle._x <= -230) {
_global.NeedleDirection = 'Right';
}
}
if (_global.NeedleDirection == 'Right' && _global.Level == 5) {
_root.Challenges.Needle._x += 20;
_root.Challenges.Needle._x = _root.Challenges.Needle._x;
if (_root.Challenges.Needle._x >= 230) {
_global.NeedleDirection = 'Left';
}
}
if (_global.NeedleDirection == 'Left' && _global.Level == 5) {
_root.Challenges.Needle._x -= 20;
_root.Challenges.Needle._x = _root.Challenges.Needle._x;
if (_root.Challenges.Needle._x <= -230) {
_global.NeedleDirection = 'Right';
}
}
}
function DiscoveryRandomizer() {
if (_global.SearchNumber == 1 && _global.Level == 1) {
DiscoveryNumber = Math.ceil(Math.random() * 13);
if (DiscoveryNumber == 1) {
_global.PocketItem = 'Batteries';
_global.DiscoveryDisplay = 'Batteries';
}
if (DiscoveryNumber == 2) {
_global.PocketItem = 'Booze';
_global.DiscoveryDisplay = 'Booze';
}
if (DiscoveryNumber == 3) {
_global.PocketItem = 'Chess';
_global.DiscoveryDisplay = 'Chess';
}
if (DiscoveryNumber == 4) {
_global.PocketItem = 'Condom';
_global.DiscoveryDisplay = 'Condom';
}
if (DiscoveryNumber == 5) {
_global.PocketItem = 'Crack';
_global.DiscoveryDisplay = 'Crack';
}
if (DiscoveryNumber == 6) {
_global.PocketItem = 'Declaration';
_global.DiscoveryDisplay = 'Declaration';
}
if (DiscoveryNumber == 7) {
_global.PocketItem = 'FanHat';
_global.DiscoveryDisplay = 'FanHat';
}
if (DiscoveryNumber == 8) {
_global.PocketItem = 'Food';
_global.DiscoveryDisplay = 'Food';
}
if (DiscoveryNumber == 9) {
_global.PocketItem = 'Lighter';
_global.DiscoveryDisplay = 'Lighter';
}
if (DiscoveryNumber == 10) {
_global.PocketItem = 'Santa';
_global.DiscoveryDisplay = 'Santa';
}
if (DiscoveryNumber == 11) {
_global.PocketItem = 'ToiletPaper';
_global.DiscoveryDisplay = 'ToiletPaper';
}
if (DiscoveryNumber == 12) {
_global.PocketItem = 'Bible';
_global.DiscoveryDisplay = 'Bible';
}
if (DiscoveryNumber == 13) {
SpecialDiscoveryNumber = Math.ceil(Math.random() * 8);
if (SpecialDiscoveryNumber == 1) {
_global.DiscoveredWeapon = 'BattleAxe';
_global.DiscoveryDisplay = 'BattleAxe';
}
if (SpecialDiscoveryNumber == 2) {
_global.DiscoveredWeapon = 'FireAxe';
_global.DiscoveryDisplay = 'FireAxe';
}
if (SpecialDiscoveryNumber == 3) {
_global.DiscoveredWeapon = 'Knife';
_global.DiscoveryDisplay = 'Knife';
}
if (SpecialDiscoveryNumber == 4) {
_global.DiscoveredWeapon = 'Cleaver';
_global.DiscoveryDisplay = 'Cleaver';
}
if (SpecialDiscoveryNumber == 5) {
_global.DiscoveredWeapon = 'Crowbar';
_global.DiscoveryDisplay = 'Crowbar';
}
if (SpecialDiscoveryNumber == 6) {
_global.DiscoveredWeapon = 'Hammer';
_global.DiscoveryDisplay = 'Hammer';
}
if (SpecialDiscoveryNumber == 7) {
_global.DiscoveredWeapon = 'HeavyMachinegun';
_global.DiscoveryDisplay = 'HeavyMachinegun';
}
if (SpecialDiscoveryNumber == 8) {
_global.DiscoveredWeapon = 'HeavyShotgun';
_global.DiscoveryDisplay = 'HeavyShotgun';
}
}
_global.Search1State == null;
}
if (_global.SearchNumber == 1 && _global.Level == 2) {
DiscoveryNumber = Math.ceil(Math.random() * 13);
if (DiscoveryNumber == 1) {
_global.PocketItem = 'Batteries';
_global.DiscoveryDisplay = 'Batteries';
}
if (DiscoveryNumber == 2) {
_global.PocketItem = 'Booze';
_global.DiscoveryDisplay = 'Booze';
}
if (DiscoveryNumber == 3) {
_global.PocketItem = 'Chess';
_global.DiscoveryDisplay = 'Chess';
}
if (DiscoveryNumber == 4) {
_global.PocketItem = 'Condom';
_global.DiscoveryDisplay = 'Condom';
}
if (DiscoveryNumber == 5) {
_global.PocketItem = 'Crack';
_global.DiscoveryDisplay = 'Crack';
}
if (DiscoveryNumber == 6) {
_global.PocketItem = 'Declaration';
_global.DiscoveryDisplay = 'Declaration';
}
if (DiscoveryNumber == 7) {
_global.PocketItem = 'FanHat';
_global.DiscoveryDisplay = 'FanHat';
}
if (DiscoveryNumber == 8) {
_global.PocketItem = 'Food';
_global.DiscoveryDisplay = 'Food';
}
if (DiscoveryNumber == 9) {
_global.PocketItem = 'Lighter';
_global.DiscoveryDisplay = 'Lighter';
}
if (DiscoveryNumber == 10) {
_global.PocketItem = 'Santa';
_global.DiscoveryDisplay = 'Santa';
}
if (DiscoveryNumber == 11) {
_global.PocketItem = 'ToiletPaper';
_global.DiscoveryDisplay = 'ToiletPaper';
}
if (DiscoveryNumber == 12) {
_global.PocketItem = 'Bible';
_global.DiscoveryDisplay = 'Bible';
}
if (DiscoveryNumber == 13) {
SpecialDiscoveryNumber = Math.ceil(Math.random() * 8);
if (SpecialDiscoveryNumber == 1) {
_global.DiscoveredWeapon = 'BattleAxe';
_global.DiscoveryDisplay = 'BattleAxe';
}
if (SpecialDiscoveryNumber == 2) {
_global.DiscoveredWeapon = 'FireAxe';
_global.DiscoveryDisplay = 'FireAxe';
}
if (SpecialDiscoveryNumber == 3) {
_global.DiscoveredWeapon = 'Knife';
_global.DiscoveryDisplay = 'Knife';
}
if (SpecialDiscoveryNumber == 4) {
_global.DiscoveredWeapon = 'Cleaver';
_global.DiscoveryDisplay = 'Cleaver';
}
if (SpecialDiscoveryNumber == 5) {
_global.DiscoveredWeapon = 'Crowbar';
_global.DiscoveryDisplay = 'Crowbar';
}
if (SpecialDiscoveryNumber == 6) {
_global.DiscoveredWeapon = 'Hammer';
_global.DiscoveryDisplay = 'Hammer';
}
if (SpecialDiscoveryNumber == 7) {
_global.DiscoveredWeapon = 'HeavyMachinegun';
_global.DiscoveryDisplay = 'HeavyMachinegun';
}
if (SpecialDiscoveryNumber == 8) {
_global.DiscoveredWeapon = 'HeavyShotgun';
_global.DiscoveryDisplay = 'HeavyShotgun';
}
}
_global.Search1State == null;
}
if (_global.SearchNumber == 1 && _global.Level == 3) {
DiscoveryNumber = Math.ceil(Math.random() * 13);
if (DiscoveryNumber == 1) {
_global.PocketItem = 'Batteries';
_global.DiscoveryDisplay = 'Batteries';
}
if (DiscoveryNumber == 2) {
_global.PocketItem = 'Booze';
_global.DiscoveryDisplay = 'Booze';
}
if (DiscoveryNumber == 3) {
_global.PocketItem = 'Chess';
_global.DiscoveryDisplay = 'Chess';
}
if (DiscoveryNumber == 4) {
_global.PocketItem = 'Condom';
_global.DiscoveryDisplay = 'Condom';
}
if (DiscoveryNumber == 5) {
_global.PocketItem = 'Crack';
_global.DiscoveryDisplay = 'Crack';
}
if (DiscoveryNumber == 6) {
_global.PocketItem = 'Declaration';
_global.DiscoveryDisplay = 'Declaration';
}
if (DiscoveryNumber == 7) {
_global.PocketItem = 'FanHat';
_global.DiscoveryDisplay = 'FanHat';
}
if (DiscoveryNumber == 8) {
_global.PocketItem = 'Food';
_global.DiscoveryDisplay = 'Food';
}
if (DiscoveryNumber == 9) {
_global.PocketItem = 'Lighter';
_global.DiscoveryDisplay = 'Lighter';
}
if (DiscoveryNumber == 10) {
_global.PocketItem = 'Santa';
_global.DiscoveryDisplay = 'Santa';
}
if (DiscoveryNumber == 11) {
_global.PocketItem = 'ToiletPaper';
_global.DiscoveryDisplay = 'ToiletPaper';
}
if (DiscoveryNumber == 12) {
_global.PocketItem = 'Bible';
_global.DiscoveryDisplay = 'Bible';
}
if (DiscoveryNumber == 13) {
_global.DiscoveredWeapon = 'FireAxe';
_global.DiscoveryDisplay = 'FireAxe';
}
_global.Search1State == null;
}
if (_global.SearchNumber == 1 && _global.Level == 4) {
if (_global.InventoryStick != 'BattleAxe') {
_global.DiscoveredWeapon = 'BattleAxe';
_global.DiscoveryDisplay = 'BattleAxe';
} else {
_global.DiscoveredWeapon = 'FireAxe';
_global.DiscoveryDisplay = 'FireAxe';
}
_global.Search1State == null;
}
if (_global.SearchNumber == 2 && _global.Level == 1) {
if (_global.InventoryHandGun != 'LightPistol') {
_global.DiscoveredWeapon = 'LightPistol';
_global.DiscoveryDisplay = 'LightPistol';
} else {
_global.DiscoveredWeapon = 'LightShotgun';
_global.DiscoveryDisplay = 'LightShotgun';
}
_global.Search1State == null;
}
if (_global.SearchNumber == 2 && _global.Level == 2) {
DiscoveryNumber = Math.ceil(Math.random() * 12);
if (DiscoveryNumber == 1) {
_global.PocketItem = 'Batteries';
_global.DiscoveryDisplay = 'Batteries';
}
if (DiscoveryNumber == 2) {
_global.PocketItem = 'Booze';
_global.DiscoveryDisplay = 'Booze';
}
if (DiscoveryNumber == 3) {
_global.PocketItem = 'Chess';
_global.DiscoveryDisplay = 'Chess';
}
if (DiscoveryNumber == 4) {
_global.PocketItem = 'Condom';
_global.DiscoveryDisplay = 'Condom';
}
if (DiscoveryNumber == 5) {
_global.PocketItem = 'Crack';
_global.DiscoveryDisplay = 'Crack';
}
if (DiscoveryNumber == 6) {
_global.PocketItem = 'Declaration';
_global.DiscoveryDisplay = 'Declaration';
}
if (DiscoveryNumber == 7) {
_global.PocketItem = 'FanHat';
_global.DiscoveryDisplay = 'FanHat';
}
if (DiscoveryNumber == 8) {
_global.PocketItem = 'Food';
_global.DiscoveryDisplay = 'Food';
}
if (DiscoveryNumber == 9) {
_global.PocketItem = 'Lighter';
_global.DiscoveryDisplay = 'Lighter';
}
if (DiscoveryNumber == 10) {
_global.PocketItem = 'Santa';
_global.DiscoveryDisplay = 'Santa';
}
if (DiscoveryNumber == 11) {
_global.PocketItem = 'ToiletPaper';
_global.DiscoveryDisplay = 'ToiletPaper';
}
if (DiscoveryNumber == 12) {
_global.PocketItem = 'Bible';
_global.DiscoveryDisplay = 'Bible';
}
_global.Search2State == null;
}
if (_global.SearchNumber == 2 && _global.Level == 3) {
SpecialDiscoveryNumber = Math.ceil(Math.random() * 2);
if (SpecialDiscoveryNumber == 1) {
_global.DiscoveredWeapon = 'HeavyMachinegun';
_global.DiscoveryDisplay = 'HeavyMachinegun';
}
if (SpecialDiscoveryNumber == 2) {
_global.DiscoveredWeapon = 'HeavyShotgun';
_global.DiscoveryDisplay = 'HeavyShotgun';
}
_global.Search2State == null;
}
if (_global.SearchNumber == 2 && _global.Level == 4) {
DiscoveryNumber = Math.ceil(Math.random() * 12);
if (DiscoveryNumber == 1) {
_global.PocketItem = 'Batteries';
_global.DiscoveryDisplay = 'Batteries';
}
if (DiscoveryNumber == 2) {
_global.PocketItem = 'Booze';
_global.DiscoveryDisplay = 'Booze';
}
if (DiscoveryNumber == 3) {
_global.PocketItem = 'Chess';
_global.DiscoveryDisplay = 'Chess';
}
if (DiscoveryNumber == 4) {
_global.PocketItem = 'Condom';
_global.DiscoveryDisplay = 'Condom';
}
if (DiscoveryNumber == 5) {
_global.PocketItem = 'Crack';
_global.DiscoveryDisplay = 'Crack';
}
if (DiscoveryNumber == 6) {
_global.PocketItem = 'Declaration';
_global.DiscoveryDisplay = 'Declaration';
}
if (DiscoveryNumber == 7) {
_global.PocketItem = 'FanHat';
_global.DiscoveryDisplay = 'FanHat';
}
if (DiscoveryNumber == 8) {
_global.PocketItem = 'Food';
_global.DiscoveryDisplay = 'Food';
}
if (DiscoveryNumber == 9) {
_global.PocketItem = 'Lighter';
_global.DiscoveryDisplay = 'Lighter';
}
if (DiscoveryNumber == 10) {
_global.PocketItem = 'Santa';
_global.DiscoveryDisplay = 'Santa';
}
if (DiscoveryNumber == 11) {
_global.PocketItem = 'ToiletPaper';
_global.DiscoveryDisplay = 'ToiletPaper';
}
if (DiscoveryNumber == 12) {
_global.PocketItem = 'Bible';
_global.DiscoveryDisplay = 'Bible';
}
_global.Search2State == null;
}
if (_global.SearchNumber == 3) {
DiscoveryNumber = Math.ceil(Math.random() * 12);
if (DiscoveryNumber == 1) {
_global.PocketItem = 'Batteries';
_global.DiscoveryDisplay = 'Batteries';
}
if (DiscoveryNumber == 2) {
_global.PocketItem = 'Booze';
_global.DiscoveryDisplay = 'Booze';
}
if (DiscoveryNumber == 3) {
_global.PocketItem = 'Chess';
_global.DiscoveryDisplay = 'Chess';
}
if (DiscoveryNumber == 4) {
_global.PocketItem = 'Condom';
_global.DiscoveryDisplay = 'Condom';
}
if (DiscoveryNumber == 5) {
_global.PocketItem = 'Crack';
_global.DiscoveryDisplay = 'Crack';
}
if (DiscoveryNumber == 6) {
_global.PocketItem = 'Declaration';
_global.DiscoveryDisplay = 'Declaration';
}
if (DiscoveryNumber == 7) {
_global.PocketItem = 'FanHat';
_global.DiscoveryDisplay = 'FanHat';
}
if (DiscoveryNumber == 8) {
_global.PocketItem = 'Food';
_global.DiscoveryDisplay = 'Food';
}
if (DiscoveryNumber == 9) {
_global.PocketItem = 'Lighter';
_global.DiscoveryDisplay = 'Lighter';
}
if (DiscoveryNumber == 10) {
_global.PocketItem = 'Santa';
_global.DiscoveryDisplay = 'Santa';
}
if (DiscoveryNumber == 11) {
_global.PocketItem = 'ToiletPaper';
_global.DiscoveryDisplay = 'ToiletPaper';
}
if (DiscoveryNumber == 12) {
_global.PocketItem = 'Bible';
_global.DiscoveryDisplay = 'ToiletPaper';
}
_global.Search3State == null;
}
if (_global.SearchNumber == 4) {
DiscoveryNumber = Math.ceil(Math.random() * 12);
if (DiscoveryNumber == 1) {
_global.PocketItem = 'Batteries';
_global.DiscoveryDisplay = 'Batteries';
}
if (DiscoveryNumber == 2) {
_global.PocketItem = 'Booze';
_global.DiscoveryDisplay = 'Booze';
}
if (DiscoveryNumber == 3) {
_global.PocketItem = 'Chess';
_global.DiscoveryDisplay = 'Chess';
}
if (DiscoveryNumber == 4) {
_global.PocketItem = 'Condom';
_global.DiscoveryDisplay = 'Condom';
}
if (DiscoveryNumber == 5) {
_global.PocketItem = 'Crack';
_global.DiscoveryDisplay = 'Crack';
}
if (DiscoveryNumber == 6) {
_global.PocketItem = 'Declaration';
_global.DiscoveryDisplay = 'Declaration';
}
if (DiscoveryNumber == 7) {
_global.PocketItem = 'FanHat';
_global.DiscoveryDisplay = 'FanHat';
}
if (DiscoveryNumber == 8) {
_global.PocketItem = 'Food';
_global.DiscoveryDisplay = 'Food';
}
if (DiscoveryNumber == 9) {
_global.PocketItem = 'Lighter';
_global.DiscoveryDisplay = 'Lighter';
}
if (DiscoveryNumber == 10) {
_global.PocketItem = 'Santa';
_global.DiscoveryDisplay = 'Santa';
}
if (DiscoveryNumber == 11) {
_global.PocketItem = 'ToiletPaper';
_global.DiscoveryDisplay = 'ToiletPaper';
}
if (DiscoveryNumber == 12) {
_global.PocketItem = 'Bible';
_global.DiscoveryDisplay = 'Bible';
}
_global.Search4State == null;
}
if (_global.SearchNumber == 5) {
DiscoveryNumber = Math.ceil(Math.random() * 12);
if (DiscoveryNumber == 1) {
_global.PocketItem = 'Batteries';
_global.DiscoveryDisplay = 'Batteries';
}
if (DiscoveryNumber == 2) {
_global.PocketItem = 'Booze';
_global.DiscoveryDisplay = 'Booze';
}
if (DiscoveryNumber == 3) {
_global.PocketItem = 'Chess';
_global.DiscoveryDisplay = 'Chess';
}
if (DiscoveryNumber == 4) {
_global.PocketItem = 'Condom';
_global.DiscoveryDisplay = 'Condom';
}
if (DiscoveryNumber == 5) {
_global.PocketItem = 'Crack';
_global.DiscoveryDisplay = 'Crack';
}
if (DiscoveryNumber == 6) {
_global.PocketItem = 'Declaration';
_global.DiscoveryDisplay = 'Declaration';
}
if (DiscoveryNumber == 7) {
_global.PocketItem = 'FanHat';
_global.DiscoveryDisplay = 'FanHat';
}
if (DiscoveryNumber == 8) {
_global.PocketItem = 'Food';
_global.DiscoveryDisplay = 'Food';
}
if (DiscoveryNumber == 9) {
_global.PocketItem = 'Lighter';
_global.DiscoveryDisplay = 'Lighter';
}
if (DiscoveryNumber == 10) {
_global.PocketItem = 'Santa';
_global.DiscoveryDisplay = 'Santa';
}
if (DiscoveryNumber == 11) {
_global.PocketItem = 'ToiletPaper';
_global.DiscoveryDisplay = 'ToiletPaper';
}
if (DiscoveryNumber == 12) {
_global.PocketItem = 'Bible';
_global.DiscoveryDisplay = 'Bible';
}
_global.Search5State == null;
}
}
function HeroDie() {
_global.LevelState = 'PrePlay';
_root.Hero.gotoAndPlay('Death');
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale = 0;
_root.Discovery.gotoAndStop(1);
_root.StaminaHolder._visible = false;
if (_global.ReloadState == 'Active') {
_root.Hero.gotoAndPlay('Swap-Finish');
_root.Reloading.ReloadBar._xscale = 100;
ReloadWeapon();
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
if (_global.GameplayState == 'Searching') {
_root.Searching._visible = false;
_root.Searching.SearchBar._xscale = 5;
_global.GameplayState = null;
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
if (_global.BloodlustState == 'Active') {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = 0;
_global.BloodlustState = null;
_root.Bloodlust.gotoAndStop(1);
}
_root.ChallengeResult.Bar._xscale = 0;
_root.ChallengeResult.gotoAndStop(1);
_global.ChallengeResult = null;
if (_global.Zombie1MoveState == 'Attacking') {
_root.Zombie1._x = 280;
_root.Zombie1.gotoAndPlay('StruggleFeed');
_global.Zombie1MoveState = 'Feeding';
_global.Zombie1MoveRate = 0;
}
if (_global.Zombie2MoveState == 'Attacking') {
_root.Zombie2._x = 280;
_root.Zombie2.gotoAndPlay('StruggleFeed');
_global.Zombie2MoveState = 'Feeding';
_global.Zombie2MoveRate = 0;
}
if (_global.Zombie3MoveState == 'Attacking') {
_root.Zombie3._x = 280;
_root.Zombie3.gotoAndPlay('StruggleFeed');
_global.Zombie3MoveState = 'Feeding';
_global.Zombie3MoveRate = 0;
}
if (_global.Zombie4MoveState == 'Attacking') {
_root.Zombie4._x = 280;
_root.Zombie4.gotoAndPlay('StruggleFeed');
_global.Zombie4MoveState = 'Feeding';
_global.Zombie4MoveRate = 0;
}
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.gotoAndStop(3);
_root.GameMessages.gotoAndPlay('Death');
}
function ReloadWeapon() {
if (_global.GameplayState != 'Paused') {
if (_root.Reloading.ReloadBar._xscale < 100 && _global.ReloadState == 'Active') {
_root.Reloading.gotoAndStop(1);
_root.Reloading._visible = true;
_root.Reloading.ReloadBar._xscale += _global.ReloadRate;
_root.Reloading.ReloadBar._xscale = _root.Reloading.ReloadBar._xscale;
_root.Reloading.ReloadBar._x = 0;
}
if (_root.Reloading.ReloadBar._xscale >= 100 && _global.ReloadState == 'Active') {
if (_global.CurrentWeapon == 'LightPistol') {
_root.Hero.gotoAndPlay('Swap-Finish');
SetLightPistolVariables();
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.gotoAndStop('LightPistol');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightPistol.gotoAndStop(1);
} else {
if (_global.CurrentWeapon == 'HeavyPistol') {
_root.Hero.gotoAndPlay('Swap-Finish');
SetHeavyPistolVariables();
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.gotoAndStop('HeavyPistol');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyPistol.gotoAndStop(1);
} else {
if (_global.CurrentWeapon == 'LightShotgun') {
_root.Hero.gotoAndPlay('Swap-Finish');
SetLightShotgunVariables();
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.gotoAndStop('LightShotgun');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightShotgun.gotoAndStop(1);
} else {
if (_global.CurrentWeapon == 'HeavyShotgun') {
_root.Hero.gotoAndPlay('Swap-Finish');
SetHeavyShotgunVariables();
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.gotoAndStop('HeavyShotgun');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyShotgun.gotoAndStop(1);
} else {
if (_global.CurrentWeapon == 'LightMachinegun') {
_root.Hero.gotoAndPlay('Swap-Finish');
SetLightMachinegunVariables();
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.gotoAndStop('LightMachinegun');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightMachinegun.gotoAndStop(1);
} else {
if (_global.CurrentWeapon == 'HeavyMachinegun') {
_root.Hero.gotoAndPlay('Swap-Finish');
SetHeavyMachinegunVariables();
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.gotoAndStop('HeavyMachinegun');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.gotoAndStop(1);
}
}
}
}
}
}
_root.Reloading.ReloadBar._xscale = 5;
_root.Reloading.ReloadBar._x = 0;
_global.HeroMoveState = null;
_global.ReloadState = null;
_root.Reloading._visible = false;
}
} else {
null;
}
}
function Search() {
if (_global.Pocket1 != 'None' && _global.Pocket2 != 'None' && _global.Pocket3 != 'None' && _global.Pocket4 != 'None') {
_root.Discovery.gotoAndStop(1);
_root.Discovery.gotoAndPlay('InventoryFull');
_global.DiscoveryDisplay = null;
_global.HeroMoveState = null;
_global.GameplayState = null;
_global.DiscoveryState = null;
} else {
if (_root.Searching.SearchBar._xscale < 100) {
_root.Searching._visible = true;
_root.Discovery.gotoAndStop(1);
_root.Searching.SearchBar._xscale += _global.SearchRate;
_root.Searching.SearchBar._xscale = _root.Searching.SearchBar._xscale;
_root.Searching.SearchBar._x = 0;
} else {
if (_root.Searching.SearchBar._xscale >= 100) {
if (_global.DiscoveryDisplay == 'None') {
_root.Discovery.gotoAndStop(1);
_root.Discovery.FoundNothing.play();
_root.Searching._visible = false;
_root.Searching.SearchBar._xscale = 5;
_global.HeroMoveState = null;
_global.GameplayState = null;
_global.DiscoveryState = null;
} else {
if (_global.DiscoveryDisplay != 'None') {
DiscoveryRandomizer();
_root.Searching._visible = false;
_root.Searching.SearchBar._xscale = 5;
PauseGameplay();
_root.GameMessages.gotoAndStop('BetweenPlay');
_root.GameMessages.BetweenPlayHolder.gotoAndStop('Discover');
_global.DiscoveryState = 'Active';
_root.Discovery.gotoAndStop(_global.DiscoveryDisplay);
}
}
}
}
}
}
function MoveZombie1() {
if (_global.GameplayState != 'Paused') {
if (_global.HeroMoveState != 'Dead' && _global.HideState != 'Active') {
if (_root.Zombie1._x <= 295 && _root.Zombie1._x >= 280 && _global.Zombie1MoveState != 'Attacking' && _global.Zombie1MoveState != 'NotReady' && _global.Zombie1MoveState != 'Feeding' && _global.Zombie1Level4 != 'Active') {
if (_global.ReloadState == 'Active') {
_root.Hero.gotoAndPlay('Swap-Finish');
_root.Reloading.ReloadBar._xscale = 100;
ReloadWeapon();
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
if (_global.GameplayState == 'Searching') {
_root.Searching._visible = false;
_root.Searching.SearchBar._xscale = 5;
_global.GameplayState = null;
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
_root.Hero.gotoAndPlay('Defense-Struggle');
_global.DefenseState = 'Active';
_global.HeroDirection = null;
_root.Zombie1._x = 300;
_root.Zombie1.gotoAndPlay('GrabStruggle');
_global.Zombie1MoveState = 'Attacking';
_global.Zombie1MoveRate = 0;
_global.HeroDirection = null;
}
if (_root.Zombie1._x <= 500 && _root.Zombie1._x >= 490 && _global.Zombie1MoveState != 'NotReady' && _global.Zombie1MoveState != 'Lunge') {
_global.Zombie1MoveState = 'Lunge';
_global.Zombie1MoveRate = 5;
_root.Zombie1.gotoAndPlay('Lunge');
}
if (_global.HeroDirection != 'Right' && _global.HeroDirection != 'Left' && _global.Zombie1MoveState == 'Lunge') {
_global.Zombie1MoveRate = 5;
}
}
if (_global.HeroMoveState == 'Dead') {
if (_root.Zombie1._x <= 285 && _root.Zombie1._x >= 280 && _global.Zombie1MoveState != 'Feeding') {
_root.Zombie1._x = 280;
_root.Zombie1.gotoAndPlay('StruggleFeed');
_global.Zombie1MoveState = 'Feeding';
} else {
if (_root.Zombie1._x <= 285 && _root.Zombie1._x >= 280 && _global.Zombie1MoveState == 'Feeding') {
_root.Zombie1._x = 280;
}
}
}
if (_global.HeroDirection != 'Right' && _global.HeroDirection != 'Left') {
if (_global.Zombie1MoveState != 'Attacking' && _global.Zombie1MoveState != 'NotReady' && _global.Zombie1MoveState != 'Lunge') {
_global.Zombie1MoveRate = 0.8;
} else {
if (_global.Zombie1MoveState != 'Attacking' && _global.Zombie1MoveState != 'NotReady' && _global.Zombie1MoveState == 'Lunge') {
_global.Zombie1MoveRate = 4.8;
}
}
if (_global.Zombie1MoveState == 'NotReady' || _global.Zombie1MoveState == 'Attacking') {
_global.Zombie1MoveRate = 0;
}
if (_root.Zombie1._x == 200) {
_root.Zombie1._x = 190;
}
}
if (_root.Zombie1._x <= 280 && _global.Zombie1Level4 != 'Active' && _global.Level != 4) {
_root.Zombie1._x = 290;
}
_root.Zombie1._x -= _global.Zombie1MoveRate;
_root.Zombie1._x = _root.Zombie1._x;
}
if (_global.GameplayState == 'Paused') {
null;
}
}
function MoveZombie2() {
if (_global.GameplayState != 'Paused') {
if (_global.HeroMoveState != 'Dead' && _global.HideState != 'Active') {
if (_root.Zombie2._x <= 295 && _root.Zombie2._x >= 280 && _global.Zombie2MoveState != 'Attacking' && _global.Zombie2MoveState != 'NotReady' && _global.Zombie2MoveState != 'Feeding' && _global.Zombie2Level4 != 'Active') {
if (_global.ReloadState == 'Active') {
_root.Hero.gotoAndPlay('Swap-Finish');
_root.Reloading.ReloadBar._xscale = 100;
ReloadWeapon();
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
if (_global.GameplayState == 'Searching') {
_root.Searching._visible = false;
_root.Searching.SearchBar._xscale = 5;
_global.GameplayState = null;
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
_root.Hero.gotoAndPlay('Defense-Struggle');
_global.DefenseState = 'Active';
_global.HeroDirection = null;
_root.Zombie2._x = 300;
_root.Zombie2.gotoAndPlay('GrabStruggle');
_global.Zombie2MoveState = 'Attacking';
_global.Zombie2MoveRate = 0;
_global.HeroDirection = null;
}
if (_root.Zombie2._x <= 500 && _root.Zombie2._x >= 490 && _global.Zombie2MoveState != 'NotReady' && _global.Zombie2MoveState != 'Lunge') {
_global.Zombie2MoveState = 'Lunge';
_global.Zombie2MoveRate = 5;
_root.Zombie2.gotoAndPlay('Lunge');
}
if (_global.HeroDirection != 'Right' && _global.HeroDirection != 'Left' && _global.Zombie2MoveState == 'Lunge') {
_global.Zombie2MoveRate = 5;
}
}
if (_global.HeroMoveState == 'Dead') {
if (_root.Zombie2._x <= 285 && _root.Zombie2._x >= 280 && _global.Zombie2MoveState != 'Feeding') {
_root.Zombie2._x = 280;
_root.Zombie2.gotoAndPlay('StruggleFeed');
_global.Zombie2MoveState = 'Feeding';
} else {
if (_root.Zombie2._x <= 285 && _root.Zombie2._x >= 280 && _global.Zombie2MoveState == 'Feeding') {
_root.Zombie2._x = 280;
}
}
}
if (_global.HeroDirection != 'Right' && _global.HeroDirection != 'Left') {
if (_global.Zombie2MoveState != 'Attacking' && _global.Zombie2MoveState != 'NotReady' && _global.Zombie2MoveState != 'Lunge') {
_global.Zombie2MoveRate = 0.8;
} else {
if (_global.Zombie2MoveState != 'Attacking' && _global.Zombie2MoveState != 'NotReady' && _global.Zombie2MoveState == 'Lunge') {
_global.Zombie2MoveRate = 4.8;
}
}
if (_global.Zombie2MoveState == 'NotReady' || _global.Zombie2MoveState == 'Attacking') {
_global.Zombie2MoveRate = 0;
}
if (_root.Zombie2._x == 200) {
_root.Zombie2._x = 190;
}
}
if (_root.Zombie2._x <= 280 && _global.Zombie2Level4 != 'Active' && _global.Level != 4) {
_root.Zombie2._x = 290;
}
_root.Zombie2._x -= _global.Zombie2MoveRate;
_root.Zombie2._x = _root.Zombie2._x;
}
if (_global.GameplayState == 'Paused') {
null;
}
}
function MoveZombie3() {
if (_global.GameplayState != 'Paused') {
if (_global.HeroMoveState != 'Dead' && _global.HideState != 'Active') {
if (_root.Zombie3._x <= 295 && _root.Zombie1._x >= 280 && _global.Zombie3MoveState != 'Attacking' && _global.Zombie3MoveState != 'NotReady' && _global.Zombie3MoveState != 'Feeding' && _global.Zombie3Level4 != 'Active') {
if (_global.ReloadState == 'Active') {
_root.Hero.gotoAndPlay('Swap-Finish');
_root.Reloading.ReloadBar._xscale = 100;
ReloadWeapon();
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
if (_global.GameplayState == 'Searching') {
_root.Searching._visible = false;
_root.Searching.SearchBar._xscale = 5;
_global.GameplayState = null;
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
_root.Hero.gotoAndPlay('Defense-Struggle');
_global.DefenseState = 'Active';
_global.HeroDirection = null;
_root.Zombie3._x = 300;
_root.Zombie3.gotoAndPlay('GrabStruggle');
_global.Zombie3MoveState = 'Attacking';
_global.Zombie3MoveRate = 0;
_global.HeroDirection = null;
}
if (_root.Zombie3._x <= 600 && _root.Zombie3._x >= 590 && _global.Zombie3MoveState != 'NotReady' && _global.Zombie3MoveState != 'Lunge') {
_global.Zombie3MoveState = 'Lunge';
_global.Zombie3MoveRate = 5;
_root.Zombie3.gotoAndPlay('Lunge');
}
if (_global.HeroDirection != 'Right' && _global.HeroDirection != 'Left' && _global.Zombie3MoveState == 'Lunge') {
_global.Zombie3MoveRate = 5;
}
}
if (_global.HeroMoveState == 'Dead') {
if (_root.Zombie3._x <= 285 && _root.Zombie3._x >= 280 && _global.Zombie3MoveState != 'Feeding') {
_root.Zombie3._x = 280;
_root.Zombie3.gotoAndPlay('StruggleFeed');
_global.Zombie3MoveState = 'Feeding';
} else {
if (_root.Zombie3._x <= 280 && _global.Zombie3MoveState == 'Feeding') {
_root.Zombie3._x = 280;
}
}
}
if (_global.HeroDirection != 'Right' && _global.HeroDirection != 'Left') {
if (_global.Zombie3MoveState != 'Attacking' && _global.Zombie3MoveState != 'NotReady' && _global.Zombie3MoveState != 'Lunge') {
_global.Zombie3MoveRate = 0.5;
} else {
if (_global.Zombie3MoveState != 'Attacking' && _global.Zombie3MoveState != 'NotReady' && _global.Zombie3MoveState == 'Lunge') {
_global.Zombie3MoveRate = 4.3;
}
}
if (_global.Zombie3MoveState == 'NotReady' || _global.Zombie3MoveState == 'Attacking') {
_global.Zombie3MoveRate = 0;
}
if (_root.Zombie3._x == 200) {
_root.Zombie3._x = 190;
}
}
if (_root.Zombie3._x <= 280 && _global.Zombie3Level4 != 'Active' && _global.Level != 4) {
_root.Zombie3._x = 290;
}
_root.Zombie3._x -= _global.Zombie3MoveRate;
_root.Zombie3._x = _root.Zombie3._x;
}
if (_global.GameplayState == 'Paused') {
null;
}
}
function MoveZombie4() {
if (_global.GameplayState != 'Paused') {
if (_global.HeroMoveState != 'Dead' && _global.HideState != 'Active') {
if (_root.Zombie4._x <= 295 && _root.Zombie1._x >= 280 && _global.Zombie4MoveState != 'Attacking' && _global.Zombie4MoveState != 'NotReady' && _global.Zombie4MoveState != 'Feeding' && _global.Zombie4Level4 != 'Active') {
if (_global.ReloadState == 'Active') {
_root.Hero.gotoAndPlay('Swap-Finish');
_root.Reloading.ReloadBar._xscale = 100;
ReloadWeapon();
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
if (_global.GameplayState == 'Searching') {
_root.Searching._visible = false;
_root.Searching.SearchBar._xscale = 5;
_global.GameplayState = null;
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
_root.Hero.gotoAndPlay('Defense-Struggle');
_global.DefenseState = 'Active';
_global.HeroDirection = null;
_root.Zombie4._x = 300;
_root.Zombie4.gotoAndPlay('GrabStruggle');
_global.Zombie4MoveState = 'Attacking';
_global.Zombie4MoveRate = 0;
_global.HeroDirection = null;
}
if (_root.Zombie4._x <= 400 && _root.Zombie4._x >= 390 && _global.Zombie4MoveState != 'NotReady' && _global.Zombie4MoveState != 'Lunge') {
_global.Zombie4MoveState = 'Lunge';
_global.Zombie4MoveRate = 5;
_root.Zombie4.gotoAndPlay('Lunge');
}
if (_global.HeroDirection != 'Right' && _global.HeroDirection != 'Left' && _global.Zombie4MoveState == 'Lunge') {
_global.Zombie4MoveRate = 5;
}
}
if (_global.HeroMoveState == 'Dead') {
if (_root.Zombie4._x <= 285 && _root.Zombie4._x >= 280 && _global.Zombie4MoveState != 'Feeding') {
_root.Zombie4._x = 280;
_root.Zombie4.gotoAndPlay('StruggleFeed');
_global.Zombie4MoveState = 'Feeding';
} else {
if (_root.Zombie4._x <= 280 && _global.Zombie4MoveState == 'Feeding') {
_root.Zombie4._x = 280;
}
}
}
if (_global.HeroDirection != 'Right' && _global.HeroDirection != 'Left') {
if (_global.Zombie4MoveState != 'Attacking' && _global.Zombie4MoveState != 'NotReady' && _global.Zombie4MoveState != 'Lunge') {
_global.Zombie4MoveRate = 1.3;
} else {
if (_global.Zombie4MoveState != 'Attacking' && _global.Zombie4MoveState != 'NotReady' && _global.Zombie4MoveState == 'Lunge') {
_global.Zombie4MoveRate = 5.3;
}
}
if (_global.Zombie4MoveState == 'NotReady' || _global.Zombie4MoveState == 'Attacking') {
_global.Zombie4MoveRate = 0;
}
if (_root.Zombie4._x == 200) {
_root.Zombie4._x = 190;
}
}
if (_root.Zombie4._x <= 280 && _global.Zombie4Level4 != 'Active' && _global.Level != 4) {
_root.Zombie4._x = 290;
}
_root.Zombie4._x -= _global.Zombie4MoveRate;
_root.Zombie4._x = _root.Zombie4._x;
}
if (_global.GameplayState == 'Paused') {
null;
}
}
function NudgeHitTest() {
if (_root.Zombie1.HitZone.hitTest(_root.Zombie2.HitZone) && Zombie1MoveState == 'NotReady' || _root.Zombie1.hitTest(_root.Zombie2.HitZone) && Zombie1MoveState == 'Attacking' && Zombie2MoveState == 'Attacking') {
_root.Zombie2.gotoAndPlay('WalkNudge');
}
if (_root.Zombie1.HitZone.hitTest(_root.Zombie3.HitZone) && Zombie1MoveState == 'NotReady' || _root.Zombie1.hitTest(_root.Zombie3.HitZone) && Zombie1MoveState == 'Attacking' && Zombie3MoveState == 'Attacking') {
_root.Zombie3.gotoAndPlay('WalkNudge');
}
if (_root.Zombie2.HitZone.hitTest(_root.Zombie1.HitZone) && Zombie2MoveState == 'NotReady' || _root.Zombie2.hitTest(_root.Zombie1.HitZone) && Zombie2MoveState == 'Attacking' && Zombie1MoveState == 'Attacking') {
_root.Zombie1.gotoAndPlay('WalkNudge');
}
if (_root.Zombie2.HitZone.hitTest(_root.Zombie1.HitZone) && Zombie2MoveState == 'NotReady' || _root.Zombie2.hitTest(_root.Zombie3.HitZone) && Zombie2MoveState == 'Attacking' && Zombie3MoveState == 'Attacking') {
_root.Zombie3.gotoAndPlay('WalkNudge');
}
if (_root.Zombie3.HitZone.hitTest(_root.Zombie1.HitZone) && Zombie3MoveState == 'NotReady' || _root.Zombie3.hitTest(_root.Zombie3.HitZone) && Zombie3MoveState == 'Attacking' && Zombie1MoveState == 'Attacking') {
_root.Zombie1.gotoAndPlay('WalkNudge');
}
if (_root.Zombie3.HitZone.hitTest(_root.Zombie2.HitZone) && Zombie3MoveState == 'NotReady' || _root.Zombie3.hitTest(_root.Zombie2.HitZone) && Zombie3MoveState == 'Attacking' && Zombie2MoveState == 'Attacking') {
_root.Zombie2.gotoAndPlay('WalkNudge');
}
}
function AmmoChecking() {
if (_global.CurrentWeapon == 'Fist') {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.gotoAndStop('CloseCombat');
_root.BackPack.HubbHolder.TopHubb.CurrentWeapon.gotoAndStop('Fist');
}
if (_global.CurrentWeapon == 'Bass') {
_root.BackPack.HubbHolder.TopHubb.CurrentWeapon.gotoAndStop('Bass');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.gotoAndStop('CloseCombat');
}
if (_global.CurrentWeapon == 'BattleAxe') {
_root.BackPack.HubbHolder.TopHubb.CurrentWeapon.gotoAndStop('BattleAxe');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.gotoAndStop('CloseCombat');
}
if (_global.CurrentWeapon == 'Cleaver') {
_root.BackPack.HubbHolder.TopHubb.CurrentWeapon.gotoAndStop('Cleaver');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.gotoAndStop('CloseCombat');
}
if (_global.CurrentWeapon == 'Crowbar') {
_root.BackPack.HubbHolder.TopHubb.CurrentWeapon.gotoAndStop('Crowbar');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.gotoAndStop('CloseCombat');
}
if (_global.CurrentWeapon == 'FireAxe') {
_root.BackPack.HubbHolder.TopHubb.CurrentWeapon.gotoAndStop('FireAxe');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.gotoAndStop('CloseCombat');
}
if (_global.CurrentWeapon == 'Hammer') {
_root.BackPack.HubbHolder.TopHubb.CurrentWeapon.gotoAndStop('Hammer');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.gotoAndStop('CloseCombat');
}
if (_global.CurrentWeapon == 'Knife') {
_root.BackPack.HubbHolder.TopHubb.CurrentWeapon.gotoAndStop('Knife');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.gotoAndStop('CloseCombat');
}
if (_global.CurrentWeapon == 'LightPistol') {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.gotoAndStop('LightPistol');
_root.BackPack.HubbHolder.TopHubb.CurrentWeapon.gotoAndStop('LightPistol');
if (_global.LightPistolAmmo == 10) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightPistol.gotoAndStop(1);
} else {
if (_global.LightPistolAmmo == 9) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightPistol.gotoAndStop(2);
} else {
if (_global.LightPistolAmmo == 8) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightPistol.gotoAndStop(3);
} else {
if (_global.LightPistolAmmo == 7) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightPistol.gotoAndStop(4);
} else {
if (_global.LightPistolAmmo == 6) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightPistol.gotoAndStop(5);
} else {
if (_global.LightPistolAmmo == 5) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightPistol.gotoAndStop(6);
} else {
if (_global.LightPistolAmmo == 4) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightPistol.gotoAndStop(7);
} else {
if (_global.LightPistolAmmo == 3) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightPistol.gotoAndStop(8);
} else {
if (_global.LightPistolAmmo == 2) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightPistol.gotoAndStop(9);
} else {
if (_global.LightPistolAmmo == 1) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightPistol.gotoAndStop(10);
} else {
if (_global.LightPistolAmmo == 0) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightPistol.gotoAndStop(11);
}
}
}
}
}
}
}
}
}
}
}
}
if (_global.CurrentWeapon == 'HeavyPistol') {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.gotoAndStop('HeavyPistol');
_root.BackPack.HubbHolder.TopHubb.CurrentWeapon.gotoAndStop('HeavyPistol');
if (_global.HeavyPistolAmmo == 6) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyPistol.gotoAndStop(1);
} else {
if (_global.HeavyPistolAmmo == 5) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyPistol.gotoAndStop(2);
} else {
if (_global.HeavyPistolAmmo == 4) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyPistol.gotoAndStop(3);
} else {
if (_global.HeavyPistolAmmo == 3) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyPistol.gotoAndStop(4);
} else {
if (_global.HeavyPistolAmmo == 2) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyPistol.gotoAndStop(5);
} else {
if (_global.HeavyPistolAmmo == 1) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyPistol.gotoAndStop(6);
} else {
if (_global.HeavyPistolAmmo == 0) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyPistol.gotoAndStop(7);
}
}
}
}
}
}
}
}
if (_global.CurrentWeapon == 'LightShotgun') {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.gotoAndStop('LightShotgun');
_root.BackPack.HubbHolder.TopHubb.CurrentWeapon.gotoAndStop('LightShotgun');
if (_global.LightShotgunAmmo == 6) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightShotgun.gotoAndStop(1);
} else {
if (_global.LightShotgunAmmo == 5) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightShotgun.gotoAndStop(2);
} else {
if (_global.LightShotgunAmmo == 4) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightShotgun.gotoAndStop(3);
} else {
if (_global.LightShotgunAmmo == 3) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightShotgun.gotoAndStop(4);
} else {
if (_global.LightShotgunAmmo == 2) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightShotgun.gotoAndStop(5);
} else {
if (_global.LightShotgunAmmo == 1) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightShotgun.gotoAndStop(6);
} else {
if (_global.LightShotgunAmmo == 0) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightShotgun.gotoAndStop(7);
}
}
}
}
}
}
}
}
if (_global.CurrentWeapon == 'HeavyShotgun') {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.gotoAndStop('HeavyShotgun');
_root.BackPack.HubbHolder.TopHubb.CurrentWeapon.gotoAndStop('HeavyShotgun');
if (_global.HeavyShotgunAmmo == 10) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyShotgun.gotoAndStop(1);
} else {
if (_global.HeavyShotgunAmmo == 9) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyShotgun.gotoAndStop(2);
} else {
if (_global.HeavyShotgunAmmo == 8) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightShotgun.gotoAndStop(3);
} else {
if (_global.HeavyShotgunAmmo == 7) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyShotgun.gotoAndStop(4);
} else {
if (_global.HeavyShotgunAmmo == 6) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyShotgun.gotoAndStop(5);
} else {
if (_global.HeavyShotgunAmmo == 5) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyShotgun.gotoAndStop(6);
} else {
if (_global.HeavyShotgunAmmo == 4) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyShotgun.gotoAndStop(7);
} else {
if (_global.HeavyShotgunAmmo == 3) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyShotgun.gotoAndStop(8);
} else {
if (_global.HeavyShotgunAmmo == 2) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyShotgun.gotoAndStop(9);
} else {
if (_global.HeavyShotgunAmmo == 1) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyShotgun.gotoAndStop(10);
} else {
if (_global.HeavyShotgunAmmo == 0) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyShotgun.gotoAndStop(11);
}
}
}
}
}
}
}
}
}
}
}
}
if (_global.CurrentWeapon == 'LightMachinegun') {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.gotoAndStop('LightMachinegun');
_root.BackPack.HubbHolder.TopHubb.CurrentWeapon.gotoAndStop('LightMachinegun');
if (_global.LightMachinegunAmmo == 15) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightMachinegun.gotoAndStop(1);
} else {
if (_global.LightMachinegunAmmo == 14) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightMachinegun.gotoAndStop(2);
} else {
if (_global.LightMachinegunAmmo == 13) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightShotgun.gotoAndStop(3);
} else {
if (_global.LightMachinegunAmmo == 12) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightMachinegun.gotoAndStop(4);
} else {
if (_global.LightMachinegunAmmo == 11) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightMachinegun.gotoAndStop(5);
} else {
if (_global.LightMachinegunAmmo == 10) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightMachinegun.gotoAndStop(6);
} else {
if (_global.LightMachinegunAmmo == 9) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightMachinegun.gotoAndStop(7);
} else {
if (_global.LightMachinegunAmmo == 8) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightMachinegun.gotoAndStop(8);
} else {
if (_global.LightMachinegunAmmo == 7) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightMachinegun.gotoAndStop(9);
} else {
if (_global.LightMachinegunAmmo == 6) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightMachinegun.gotoAndStop(10);
} else {
if (_global.LightMachinegunAmmo == 5) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightMachinegun.gotoAndStop(11);
} else {
if (_global.LightMachinegunAmmo == 4) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightMachinegun.gotoAndStop(12);
} else {
if (_global.LightMachinegunAmmo == 3) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightMachinegun.gotoAndStop(13);
} else {
if (_global.LightMachinegunAmmo == 2) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightMachinegun.gotoAndStop(14);
} else {
if (_global.LightMachinegunAmmo == 1) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightMachinegun.gotoAndStop(15);
} else {
if (_global.LightMachinegunAmmo == 0) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightMachinegun.gotoAndStop(16);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_global.CurrentWeapon == 'HeavyMachinegun') {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.gotoAndStop('HeavyMachinegun');
_root.BackPack.HubbHolder.TopHubb.CurrentWeapon.gotoAndStop('HeavyMachinegun');
if (_global.HeavyMachinegunAmmo == 20) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.gotoAndStop(1);
} else {
if (_global.HeavyMachinegunAmmo == 19) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.gotoAndStop(2);
} else {
if (_global.HeavyMachinegunAmmo == 18) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.gotoAndStop(3);
} else {
if (_global.HeavyMachinegunAmmo == 17) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.gotoAndStop(4);
} else {
if (_global.HeavyMachinegunAmmo == 16) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.gotoAndStop(5);
} else {
if (_global.HeavyMachinegunAmmo == 15) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.gotoAndStop(6);
} else {
if (_global.HeavyMachinegunAmmo == 14) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.gotoAndStop(7);
} else {
if (_global.HeavyMachinegunAmmo == 13) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightShotgun.gotoAndStop(8);
} else {
if (_global.HeavyMachinegunAmmo == 12) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.gotoAndStop(9);
} else {
if (_global.HeavyMachinegunAmmo == 11) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.gotoAndStop(10);
} else {
if (_global.HeavyMachinegunAmmo == 10) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.gotoAndStop(11);
} else {
if (_global.HeavyMachinegunAmmo == 9) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.gotoAndStop(12);
} else {
if (_global.HeavyMachinegunAmmo == 8) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.gotoAndStop(13);
} else {
if (_global.HeavyMachinegunAmmo == 7) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.gotoAndStop(14);
} else {
if (_global.HeavyMachinegunAmmo == 6) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.gotoAndStop(15);
} else {
if (_global.HeavyMachinegunAmmo == 5) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.gotoAndStop(16);
} else {
if (_global.HeavyMachinegunAmmo == 4) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.gotoAndStop(17);
} else {
if (_global.HeavyMachinegunAmmo == 3) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.gotoAndStop(18);
} else {
if (_global.HeavyMachinegunAmmo == 2) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.gotoAndStop(19);
} else {
if (_global.HeavyMachinegunAmmo == 1) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.gotoAndStop(20);
} else {
if (_global.HeavyMachinegunAmmo == 0) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.gotoAndStop(21);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
function LightPistol() {
_root.Hero.gotoAndPlay('Pistol-Shoot');
_root.BGLight.gotoAndPlay('LightPistol');
_root.Zombie1.Shadow.gotoAndPlay('Pistol');
_root.Zombie2.Shadow.gotoAndPlay('Pistol');
_root.Zombie3.Shadow.gotoAndPlay('Pistol');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightPistol.nextFrame();
_root.Projectiles.play();
_global.LightPistolAmmo -= 1;
_global.LightPistolAmmo = _global.LightPistolAmmo;
}
function SetLightPistolVariables() {
_global.WeaponDamage = 3.1;
_global.WeaponImpact = 25;
_global.ReloadRate = 3;
_global.InventoryHandGun = 'LightPistol';
}
function HeavyPistol() {
_root.Hero.gotoAndPlay('Pistol-Shoot');
_root.BGLight.gotoAndPlay('HeavyPistol');
_root.Zombie1.Shadow.gotoAndPlay('Pistol');
_root.Zombie2.Shadow.gotoAndPlay('Pistol');
_root.Zombie3.Shadow.gotoAndPlay('Pistol');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyPistol.nextFrame();
_root.Projectiles.play();
_global.HeavyPistolAmmo -= 1;
_global.HeavyPistolAmmo = _global.HeavyPistolAmmo;
}
function SetHeavyPistolVariables() {
_global.WeaponDamage = 7.5;
_global.WeaponImpact = 85;
_global.ReloadRate = 1.5;
_global.InventoryHandGun = 'HeavyPistol';
}
function LightShotgun() {
_root.Hero.gotoAndPlay('Shotgun-Shoot');
_root.BGLight.gotoAndPlay('LightShotgun');
_root.Zombie1.Shadow.gotoAndPlay('Shotgun');
_root.Zombie2.Shadow.gotoAndPlay('Pistol');
_root.Zombie3.Shadow.gotoAndPlay('Pistol');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightShotgun.nextFrame();
_root.Projectiles.play();
_global.LightShotgunAmmo -= 1;
_global.LightShotgunAmmo = _global.LightShotgunAmmo;
}
function SetLightShotgunVariables() {
_global.WeaponDamage = 2.5;
_global.WeaponImpact = 65;
_global.ReloadRate = 2;
_global.InventoryLongGun = 'LightShotgun';
}
function HeavyShotgun() {
_root.Hero.gotoAndPlay('Shotgun-Shoot');
_root.BGLight.gotoAndPlay('HeavyShotgun');
_root.Zombie1.Shadow.gotoAndPlay('Shotgun');
_root.Zombie2.Shadow.gotoAndPlay('Pistol');
_root.Zombie3.Shadow.gotoAndPlay('Pistol');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyShotgun.nextFrame();
_root.Projectiles.play();
_global.HeavyShotgunAmmo -= 1;
_global.HeavyShotgunAmmo = _global.HeavyShotgunAmmo;
}
function SetHeavyShotgunVariables() {
_global.WeaponDamage = 7;
_global.WeaponImpact = 65;
_global.ReloadRate = 1;
_global.InventoryLongGun = 'HeavyShotgun';
}
function LightMachinegun() {
_global.HeroMoveState = 'Attacking';
_global.AttackState = 'Active';
_global.DefenseState = null;
_root.Hero.gotoAndPlay('Machinegun-Shoot');
_root.BGLight.gotoAndPlay('Machinegun');
_root.Zombie1.Shadow.gotoAndPlay('Machinegun');
_root.Zombie2.Shadow.gotoAndPlay('Pistol');
_root.Zombie3.Shadow.gotoAndPlay('Pistol');
_root.Zombie4.Shadow.gotoAndPlay('Pistol');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.LightMachinegun.play();
_root.Projectiles.play();
_global.LightMachinegunAmmo -= 5;
_global.LightMachinegunAmmo = _global.LightMachinegunAmmo;
}
function SetLightMachinegunVariables() {
_global.WeaponDamage = 3;
_global.WeaponImpact = 35;
_global.ReloadRate = 2;
_global.InventoryLongGun = 'LightMachinegun';
}
function HeavyMachinegun() {
_global.HeroMoveState = 'Attacking';
_global.AttackState = 'Active';
_global.DefenseState = null;
_root.Hero.gotoAndPlay('Machinegun-Shoot');
_root.BGLight.gotoAndPlay('Machinegun');
_root.Zombie1.Shadow.gotoAndPlay('Machinegun');
_root.Zombie2.Shadow.gotoAndPlay('Pistol');
_root.Zombie3.Shadow.gotoAndPlay('Pistol');
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.HeavyMachinegun.play();
_root.Projectiles.play();
_global.HeavyMachinegunAmmo -= 5;
_global.HeavyMachinegunAmmo = _global.HeavyMachinegunAmmo;
}
function SetHeavyMachinegunVariables() {
_global.WeaponDamage = 8;
_global.WeaponImpact = 75;
_global.ReloadRate = 2;
_global.InventoryLongGun = 'HeavyMachinegun';
}
function Fist() {
if (_global.StaminaState != 'Exhausted') {
_global.HeroMoveState = 'Attacking';
_root.Hero.gotoAndPlay('FistFight-Punch');
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale -= StaminaDrain;
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale = _root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale;
} else {
if (_global.HeroMoveState == 'Exhausted') {
null;
}
}
}
function SetFistVariables() {
_global.WeaponDamage = 1;
_global.WeaponImpact = 45;
_global.StaminaDrain = 5;
_global.InventoryStick = 'Fist';
}
function StickAttack() {
if (_global.StaminaState != 'Exhausted') {
_global.HeroMoveState = 'Attacking';
_root.Hero.gotoAndPlay('StickFight-Swing');
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale -= StaminaDrain;
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale = _root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale;
} else {
if (_global.StaminaState == 'Exhausted') {
null;
}
}
}
function SetBassVariables() {
_global.WeaponDamage = 4;
_global.WeaponImpact = 75;
_global.StaminaDrain = 20;
_global.InventoryStick = 'Bass';
}
function SetBattleAxeVariables() {
_global.WeaponDamage = 10;
_global.WeaponImpact = 75;
_global.StaminaDrain = 10;
_global.InventoryStick = 'BattleAxe';
}
function SetCleaverVariables() {
_global.WeaponDamage = 5;
_global.WeaponImpact = 35;
_global.StaminaDrain = 3;
_global.InventoryStick = 'Cleaver';
}
function SetCrowbarVariables() {
_global.WeaponDamage = 3;
_global.WeaponImpact = 55;
_global.StaminaDrain = 5;
_global.InventoryStick = 'Crowbar';
}
function SetFireAxeVariables() {
_global.WeaponDamage = 7;
_global.WeaponImpact = 60;
_global.StaminaDrain = 8;
_global.InventoryStick = 'FireAxe';
}
function SetHammerVariables() {
_global.WeaponDamage = 2;
_global.WeaponImpact = 55;
_global.StaminaDrain = 3;
_global.InventoryStick = 'Hammer';
}
function SetKnifeVariables() {
_global.WeaponDamage = 4;
_global.WeaponImpact = 35;
_global.StaminaDrain = 2;
_global.InventoryStick = 'Knife';
}
function MainLoop() {
if (_global.HeroMoveState != 'Dead') {
onEnterFrame = function () {
if (_global.Level == 3 || _global.Level == 5) {
if (_root.Hero.hitTest(_root.FG.Drone1.HitZone) && _global.GameplayState != 'Paused') {
_root.FG.Drone1.AlienBullet.play();
}
if (_root.Hero.hitTest(_root.FG.Drone2.HitZone) && _global.GameplayState != 'Paused') {
_root.FG.Drone2.AlienBullet.play();
}
if (_root.Hero.hitTest(_root.FG.Drone3.HitZone) && _global.GameplayState != 'Paused') {
_root.FG.Drone3.AlienBullet.play();
}
if (_root.Hero.hitTest(_root.FG.Drone4.HitZone) && _global.GameplayState != 'Paused') {
_root.FG.Drone4.AlienBullet.play();
}
if (_root.FG.Drone1.AlienBullet.projectile.hitTest(_root.Hero.SearchZone) && _global.GooState != 'Active') {
if (_global.ReloadState == 'Active') {
_root.Hero.gotoAndPlay('Swap-Finish');
_root.Reloading.ReloadBar._xscale = 100;
ReloadWeapon();
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
if (_global.GameplayState == 'Searching') {
_root.Searching._visible = false;
_root.Searching.SearchBar._xscale = 5;
_global.GameplayState = null;
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale = 99;
_root.Hero.gotoAndPlay('Defense-Struggle');
_global.HeroMoveState == 'Defending';
_global.DefenseState = 'Active';
_global.GooState = 'Active';
_global.HeroDirection = null;
}
if (_root.FG.Drone2.AlienBullet.projectile.hitTest(_root.Hero.SearchZone) && _global.GooState != 'Active') {
if (_global.ReloadState == 'Active') {
_root.Hero.gotoAndPlay('Swap-Finish');
_root.Reloading.ReloadBar._xscale = 100;
ReloadWeapon();
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
if (_global.GameplayState == 'Searching') {
_root.Searching._visible = false;
_root.Searching.SearchBar._xscale = 5;
_global.GameplayState = null;
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale = 99;
_root.Hero.gotoAndPlay('Defense-Struggle');
_global.HeroMoveState == 'Defending';
_global.DefenseState = 'Active';
_global.GooState = 'Active';
_global.HeroDirection = null;
}
if (_root.FG.Drone3.AlienBullet.projectile.hitTest(_root.Hero.SearchZone) && _global.GooState != 'Active') {
if (_global.ReloadState == 'Active') {
_root.Hero.gotoAndPlay('Swap-Finish');
_root.Reloading.ReloadBar._xscale = 100;
ReloadWeapon();
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
if (_global.GameplayState == 'Searching') {
_root.Searching._visible = false;
_root.Searching.SearchBar._xscale = 5;
_global.GameplayState = null;
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale = 99;
_root.Hero.gotoAndPlay('Defense-Struggle');
_global.HeroMoveState == 'Defending';
_global.DefenseState = 'Active';
_global.GooState = 'Active';
_global.HeroDirection = null;
}
if (_root.FG.Drone4.AlienBullet.projectile.hitTest(_root.Hero.SearchZone) && _global.GooState != 'Active') {
if (_global.ReloadState == 'Active') {
_root.Hero.gotoAndPlay('Swap-Finish');
_root.Reloading.ReloadBar._xscale = 100;
ReloadWeapon();
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
if (_global.GameplayState == 'Searching') {
_root.Searching._visible = false;
_root.Searching.SearchBar._xscale = 5;
_global.GameplayState = null;
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale = 99;
_root.Hero.gotoAndPlay('Defense-Struggle');
_global.HeroMoveState == 'Defending';
_global.DefenseState = 'Active';
_global.GooState = 'Active';
_global.HeroDirection = null;
}
}
if (_global.Level == 4 && _global.HideState == 'Active') {
if (_global.Zombie1MoveState != 'Lunge') {
_global.Zombie1MoveState = 'Lunge';
_global.Zombie1MoveRate = 6;
_root.Zombie1.gotoAndPlay('Lunge');
}
if (_global.Zombie3MoveState != 'Lunge') {
_global.Zombie3MoveState = 'Lunge';
_global.Zombie3MoveRate = 5.5;
_root.Zombie3.gotoAndPlay('Lunge');
}
}
if (_global.GooState == 'Active') {
_root.Hero.Goo._visible = true;
} else {
if (_global.GooState != 'Active') {
_root.Hero.Goo._visible = false;
}
}
if (Key.isDown(39) && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead' && _global.GameplayState != 'Searching' && _global.GameplayState != 'Paused' && _global.HeroMoveState != 'Shoving' && _global.ChallengeResult != 'Hopeless' && _global.ChallengeResult != 'Terrified') {
if (_root.BG._x != -5000) {
_global.HeroDirection = 'Right';
_root.BG._x += -5;
_root.FG._x += -6;
_root.Hero.Legs.nextFrame();
} else {
if (_root.BG._x <= -5000) {
null;
_global.HeroDirection = null;
}
}
CheckZombieSideScroll();
} else {
if (Key.isDown(37) && _global.DefenseState != 'Active' && _global.ReloadState != 'Active' && _global.HeroMoveState != 'Dead' && _global.GameplayState != 'Searching' && _global.GameplayState != 'Paused' && _global.HeroMoveState != 'Shoving' && _global.ChallengeResult != 'Hopeless' && _global.ChallengeResult != 'Terrified') {
if (_root.BG._x != -66) {
_global.HeroDirection = 'Left';
_root.BG._x += 5;
_root.FG._x += 6;
_root.Hero.Legs.prevFrame();
} else {
if (_root.BG._x <= -66) {
null;
}
}
CheckZombieSideScroll();
}
}
if (_global.DefenseState != 'Active' && _global.Zombie1MoveState == 'Attacking') {
_global.Zombie1MoveState = null;
_root.Zombie1.gotoAndPlay('WalkNudge');
}
if (_global.DefenseState != 'Active' && _global.Zombie2MoveState == 'Attacking') {
_global.Zombie2MoveState = null;
_root.Zombie2.gotoAndPlay('WalkNudge');
}
if (_global.DefenseState != 'Active' && _global.Zombie3MoveState == 'Attacking') {
_global.Zombie3MoveState = null;
_root.Zombie3.gotoAndPlay('WalkNudge');
}
if (_global.DefenseState != 'Active' && _global.Zombie4MoveState == 'Attacking') {
_global.Zombie4MoveState = null;
_root.Zombie4.gotoAndPlay('WalkNudge');
}
if (_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._x < 100) {
StaminaChecking();
}
if (_global.ReloadState == 'Active') {
_global.HeroDirection = null;
_global.DefenseState = null;
_global.AttackState = null;
_global.BloodlustState = null;
_root.Bloodlust.gotoAndStop(1);
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = 0;
ReloadWeapon();
if (_global.Zombie1MoveState != 'NotReady' && _global.Zombie1MoveState != 'Lunge') {
_global.Zombie1MoveState = 'Lunge';
_global.Zombie1MoveRate = 5;
_root.Zombie1.gotoAndPlay('Lunge');
}
if (_global.GooState == 'Active') {
if (_global.ReloadState == 'Active') {
_root.Hero.gotoAndPlay('Swap-Finish');
_root.Reloading.ReloadBar._xscale = 100;
ReloadWeapon();
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
}
}
if (_global.GameplayState == 'Searching') {
_global.HeroDirection = null;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale -= 1;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
if (_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale <= 0) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = 0;
}
Search();
if (_global.Zombie3MoveState != 'NotReady' && _global.Zombie3MoveState != 'Lunge') {
_global.Zombie3MoveState = 'Lunge';
_global.Zombie3MoveRate = 5;
_root.Zombie3.gotoAndPlay('Lunge');
}
}
if (_global.AttackState == 'Active' || _global.DefenseState == 'Active') {
DamageHitTest();
}
if (_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale >= 100) {
if (_global.BloodlustState != 'Active' && _global.BloodlustLock != 'Active') {
_global.BloodlustState = 'Active';
_root.Bloodlust.gotoAndPlay(1);
}
if (_global.BloodlustLock == 'Active') {
PauseGameplay();
_root.Unlock.gotoAndStop('Bloodlust');
}
}
if (_global.BloodlustState == 'Active') {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale -= 0.3;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = _root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale;
if (_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale <= 0) {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = 0;
_global.BloodlustState = null;
_root.Bloodlust.gotoAndStop(1);
}
}
if (_root.Hero.SearchZone.hitTest(_root.BG.StoryTrigger)) {
if (_global.StoryArc != 'Done') {
if (_global.Level == 1) {
_root.StoryArcs.gotoAndStop(2);
}
if (_global.Level == 2) {
_root.StoryArcs.gotoAndStop(3);
}
if (_global.Level == 3) {
_root.StoryArcs.gotoAndStop(4);
}
if (_global.Level == 4) {
_root.StoryArcs.gotoAndStop(5);
}
if (_global.BloodlustState == 'Active') {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = 0;
_global.BloodlustState = null;
_root.Bloodlust.gotoAndStop(1);
}
PauseGameplay();
}
if (_global.StoryArc == 'Done') {
_root.BG.StoryTrigger._y = 600;
_root.StoryArcs.gotoAndStop(1);
UnPauseGameplay();
}
}
if (_root.Hero.SearchZone.hitTest(_root.BG.ChallengeTrigger)) {
_global.ChallengeState = 'Active';
PauseGameplay();
if (_global.Level == 1 || _global.Level == 3) {
_root.Challenges.gotoAndStop('Terror');
}
if (_global.Level == 2 || _global.Level == 4) {
_root.Challenges.gotoAndStop('Apathy');
}
if (_global.Level == 5) {
_root.Challenges.gotoAndStop('MindControl');
}
if (_global.ReloadState == 'Active') {
_root.Hero.gotoAndPlay('Swap-Finish');
_root.Reloading.ReloadBar._xscale = 100;
ReloadWeapon();
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
if (_global.GameplayState == 'Searching') {
_root.Searching._visible = false;
_root.Searching.SearchBar._xscale = 5;
_global.GameplayState = null;
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
if (_global.BloodlustState == 'Active') {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = 0;
_global.BloodlustState = null;
_root.Bloodlust.gotoAndStop(1);
}
Challenge();
}
if (_global.ChallengeResult == 'Terrified') {
_global.HeroDirection = 'Left';
_root.BG._x += 7;
_root.FG._x += 8;
_root.Hero.Legs.prevFrame();
CheckZombieSideScroll();
_root.ChallengeResult.gotoAndStop('Terrified');
_root.ChallengeResult.Bar._xscale -= 0.4;
_root.ChallengeResult.Bar._xscale = _root.ChallengeResult.Bar._xscale;
if (_root.ChallengeResult.Bar._xscale <= 0) {
_root.ChallengeResult.Bar._xscale = 0;
_root.ChallengeResult.gotoAndStop(1);
_global.ChallengeResult = null;
}
if (_root.BG._x > -100) {
_root.ChallengeResult.Bar._xscale = 0;
_root.ChallengeResult.gotoAndStop(1);
_global.ChallengeResult = null;
}
}
if (_global.ChallengeResult == 'Hopeless') {
_root.ChallengeResult.gotoAndStop('Hopeless');
_root.ChallengeResult.Bar._xscale -= 0.4;
_root.ChallengeResult.Bar._xscale = _root.ChallengeResult.Bar._xscale;
if (_root.ChallengeResult.Bar._xscale <= 0) {
_root.ChallengeResult.Bar._xscale = 0;
_root.ChallengeResult.gotoAndStop(1);
_global.ChallengeResult = null;
}
}
MoveZombie1();
MoveZombie2();
MoveZombie3();
MoveZombie4();
if (_root.Hero.SearchZone.hitTest(_root.BG.Search1.SearchEnable) && _global.Search1State == 'Active') {
_global.DiscoveryDisplay = null;
_global.SearchNumber = 1;
_global.SearchRate = 3;
}
if (_root.Hero.SearchZone.hitTest(_root.BG.Search1.SearchDisable)) {
_global.SearchRate = 2;
_global.DiscoveryDisplay = 'None';
}
if (_root.Hero.SearchZone.hitTest(_root.BG.Search2.SearchEnable) && _global.Search2State == 'Active') {
_global.DiscoveryDisplay = null;
_global.SearchNumber = 2;
_global.SearchRate = 2;
}
if (_root.Hero.SearchZone.hitTest(_root.BG.Search2.SearchDisable)) {
_global.SearchRate = 2;
_global.DiscoveryDisplay = 'None';
}
if (_root.Hero.SearchZone.hitTest(_root.BG.Search3.SearchEnable) && _global.Search3State == 'Active') {
_global.DiscoveryDisplay = null;
_global.SearchNumber = 3;
_global.SearchRate = 2;
}
if (_root.Hero.SearchZone.hitTest(_root.BG.Search3.SearchDisable)) {
_global.SearchRate = 2;
_global.DiscoveryDisplay = 'None';
}
if (_root.Hero.SearchZone.hitTest(_root.BG.Search4.SearchEnable) && _global.Search4State == 'Active') {
_global.DiscoveryDisplay = null;
_global.SearchNumber = 4;
_global.SearchRate = 2;
}
if (_root.Hero.SearchZone.hitTest(_root.BG.Search4.SearchDisable)) {
_global.SearchRate = 2;
_global.DiscoveryDisplay = 'None';
}
if (_root.Hero.SearchZone.hitTest(_root.BG.Search5.SearchEnable) && _global.Search5State == 'Active') {
_global.DiscoveryDisplay = null;
_global.SearchNumber = 5;
_global.SearchRate = 2;
}
if (_root.Hero.SearchZone.hitTest(_root.BG.Search5.SearchDisable)) {
_global.SearchRate = 2;
_global.DiscoveryDisplay = 'None';
}
if (_global.InventoryState == 'Active') {
_root.BackPack.Inventory.CloseCombat.gotoAndStop(_global.InventoryStick);
_root.BackPack.Inventory.HandGun.gotoAndStop(_global.InventoryHandGun);
_root.BackPack.Inventory.LongGun.gotoAndStop(_global.InventoryLongGun);
_root.BackPack.Inventory.Pocket1.gotoAndStop(_global.Pocket1);
_root.BackPack.Inventory.Pocket2.gotoAndStop(_global.Pocket2);
_root.BackPack.Inventory.Pocket3.gotoAndStop(_global.Pocket3);
_root.BackPack.Inventory.Pocket4.gotoAndStop(_global.Pocket4);
_root.BackPack.Inventory.Highlight.CloseCombatDisplay.gotoAndStop(_global.InventoryStick);
_root.BackPack.Inventory.Highlight.HandGunDisplay.gotoAndStop(_global.InventoryHandGun);
_root.BackPack.Inventory.Highlight.LongGunDisplay.gotoAndStop(_global.InventoryLongGun);
_root.BackPack.Inventory.Highlight.Pocket1Display.gotoAndStop(_global.Pocket1);
_root.BackPack.Inventory.Highlight.Pocket2Display.gotoAndStop(_global.Pocket2);
_root.BackPack.Inventory.Highlight.Pocket3Display.gotoAndStop(_global.Pocket3);
_root.BackPack.Inventory.Highlight.Pocket4Display.gotoAndStop(_global.Pocket4);
}
WeaponVisibility();
if (_root.BG._x <= -4800) {
if (_root.Zombie1._x >= 750) {
_root.Zombie1._visible = false;
_root.Zombie1._x = 800;
_root.Zombie1.stop();
_global.Zombie1MoveState = 'NotReady';
}
if (_root.Zombie2._x >= 750) {
_root.Zombie2._visible = false;
_root.Zombie2._x = 800;
_root.Zombie2.stop();
_global.Zombie2MoveState == 'NotReady';
}
if (_root.Zombie3._x >= 750) {
_root.Zombie3._visible = false;
_root.Zombie3._x = 800;
_root.Zombie3.stop();
_global.Zombie3MoveState == 'NotReady';
}
if (_root.Zombie4._x >= 750) {
_root.Zombie4._visible = false;
_root.Zombie4._x = 800;
_root.Zombie4.stop();
_global.Zombie4MoveState == 'NotReady';
}
}
if (_root.BG._x <= -5000 && _global.LevelState != 'Blockade') {
if (_global.Level != 5) {
Blockade();
} else {
if (_global.ReloadState == 'Active') {
_root.Hero.gotoAndPlay('Swap-Finish');
_root.Reloading.ReloadBar._xscale = 100;
ReloadWeapon();
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
if (_global.GameplayState == 'Searching') {
_root.Searching._visible = false;
_root.Searching.SearchBar._xscale = 5;
_global.GameplayState = null;
_global.DefenseState = 'Active';
_global.HeroDirection = null;
}
if (_global.BloodlustState == 'Active') {
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = 0;
_global.BloodlustState = null;
_root.Bloodlust.gotoAndStop(1);
}
_root.BackPack.gotoAndStop(1);
delete eval(MainLoop());
_root.ShiftBtn._visible = false;
_root.StoryArcs.gotoAndStop(6);
}
}
if (_root.Zombie1._x <= 250 && _root.Zombie1._x >= -160 && _global.Level == 4) {
_global.Zombie1Level4 = 'Active';
}
if (_root.Zombie2._x <= 250 && _root.Zombie2._x >= -160 && _global.Level == 4) {
_global.Zombie2Level4 = 'Active';
}
if (_root.Zombie3._x <= 250 && _root.Zombie3._x >= -160 && _global.Level == 4) {
_global.Zombie3Level4 = 'Active';
}
if (_root.Zombie4._x <= 250 && _root.Zombie4._x >= -160 && _global.Level == 4) {
_global.Zombie4Level4 = 'Active';
}
if (_root.Zombie1._x < -160) {
_global.Zombie1MoveState = null;
_global.Zombie1Level4 = null;
_root.Zombie1.Torso.PistolInjuries.gotoAndStop(1);
_root.Zombie1.Torso.ShotgunInjuries.gotoAndStop(1);
_root.Zombie1.Torso.MachinegunInjuries.gotoAndStop(1);
_root.Zombie1.Hips.nextFrame();
_root.Zombie1.Torso.nextFrame();
_root.Zombie1.LeftBicep.nextFrame();
_root.Zombie1.LeftForearm.nextFrame();
_root.Zombie1.LeftHand.nextFrame();
_root.Zombie1.RightBicep.nextFrame();
_root.Zombie1.RightForearm.nextFrame();
_root.Zombie1.RightHand.nextFrame();
_root.Zombie1.LeftThigh.nextFrame();
_root.Zombie1.LeftCalf.nextFrame();
_root.Zombie1.LeftFoot.nextFrame();
_root.Zombie1.RightThigh.nextFrame();
_root.Zombie1.RightCalf.nextFrame();
_root.Zombie1.RightFoot.nextFrame();
_root.Zombie1.gotoAndPlay('Walk');
_root.Zombie1._x = 800;
_root.Zombie1.Head.nextFrame();
_root.Zombie1.Head.HeadHole.prevFrame();
}
if (_root.Zombie2._x < -160) {
_global.Zombie2MoveState = null;
_global.Zombie2Level4 = null;
_root.Zombie2.Torso.PistolInjuries.gotoAndStop(1);
_root.Zombie2.Torso.ShotgunInjuries.gotoAndStop(1);
_root.Zombie2.Torso.MachinegunInjuries.gotoAndStop(1);
_root.Zombie2.Hips.nextFrame();
_root.Zombie2.Torso.nextFrame();
_root.Zombie2.LeftBicep.nextFrame();
_root.Zombie2.LeftForearm.nextFrame();
_root.Zombie2.LeftHand.nextFrame();
_root.Zombie2.RightBicep.nextFrame();
_root.Zombie2.RightForearm.nextFrame();
_root.Zombie2.RightHand.nextFrame();
_root.Zombie2.LeftThigh.nextFrame();
_root.Zombie2.LeftCalf.nextFrame();
_root.Zombie2.LeftFoot.nextFrame();
_root.Zombie2.RightThigh.nextFrame();
_root.Zombie2.RightCalf.nextFrame();
_root.Zombie2.RightFoot.nextFrame();
_root.Zombie2.gotoAndPlay('Walk');
_root.Zombie2._x = 900;
_root.Zombie2.Head.nextFrame();
_root.Zombie2.Head.HeadHole.prevFrame();
}
if (_root.Zombie3._x < -160) {
_global.Zombie3MoveState = null;
_global.Zombie3Level4 = null;
_root.Zombie3.Torso.PistolInjuries.gotoAndStop(1);
_root.Zombie3.Torso.ShotgunInjuries.gotoAndStop(1);
_root.Zombie3.Torso.MachinegunInjuries.gotoAndStop(1);
_root.Zombie3.Hips.nextFrame();
_root.Zombie3.Torso.nextFrame();
_root.Zombie3.LeftBicep.nextFrame();
_root.Zombie3.LeftForearm.nextFrame();
_root.Zombie3.LeftHand.nextFrame();
_root.Zombie3.RightBicep.nextFrame();
_root.Zombie3.RightForearm.nextFrame();
_root.Zombie3.RightHand.nextFrame();
_root.Zombie3.LeftThigh.nextFrame();
_root.Zombie3.LeftCalf.nextFrame();
_root.Zombie3.LeftFoot.nextFrame();
_root.Zombie3.RightThigh.nextFrame();
_root.Zombie3.RightCalf.nextFrame();
_root.Zombie3.RightFoot.nextFrame();
_root.Zombie3.gotoAndPlay('Walk');
_root.Zombie3._x = 1000;
_root.Zombie3.Head.nextFrame();
_root.Zombie3.Head.HeadHole.prevFrame();
}
if (_root.Zombie4._x < -160) {
_global.Zombie4MoveState = null;
_global.Zombie4Level4 = null;
_root.Zombie4.Torso.PistolInjuries.gotoAndStop(1);
_root.Zombie4.Torso.ShotgunInjuries.gotoAndStop(1);
_root.Zombie4.Torso.MachinegunInjuries.gotoAndStop(1);
_root.Zombie4.Hips.nextFrame();
_root.Zombie4.Torso.nextFrame();
_root.Zombie4.LeftBicep.nextFrame();
_root.Zombie4.LeftForearm.nextFrame();
_root.Zombie4.LeftHand.nextFrame();
_root.Zombie4.RightBicep.nextFrame();
_root.Zombie4.RightForearm.nextFrame();
_root.Zombie4.RightHand.nextFrame();
_root.Zombie4.LeftThigh.nextFrame();
_root.Zombie4.LeftCalf.nextFrame();
_root.Zombie4.LeftFoot.nextFrame();
_root.Zombie4.RightThigh.nextFrame();
_root.Zombie4.RightCalf.nextFrame();
_root.Zombie4.RightFoot.nextFrame();
_root.Zombie4.gotoAndPlay('Walk');
_root.Zombie4._x = 1100;
_root.Zombie4.Head.nextFrame();
_root.Zombie4.Head.HeadHole.prevFrame();
}
};
}
if (_global.HeroMoveState == 'Dead') {
delete onEnterFrame;
onEnterFrame = function () {
if (_root.Zombie1._x <= 280 && _global.Zombie1MoveState != 'Feeding') {
_root.Zombie1._x = 280;
_root.Zombie1.gotoAndPlay('StruggleFeed');
_global.Zombie1MoveState = 'Feeding';
_global.Zombie1MoveRate = 0;
} else {
if (_root.Zombie1._x <= 280 && _global.Zombie1MoveState == 'Feeding') {
_global.Zombie1MoveRate = 0;
_root.Zombie1._x = 280;
} else {
if (_root.Zombie1._x >= 281) {
_root.Zombie1._x -= _global.Zombie1MoveRate;
_root.Zombie1._x = _root.Zombie1._x;
}
}
}
if (_root.Zombie2._x <= 280 && _global.Zombie2MoveState != 'Feeding') {
_root.Zombie2._x = 280;
_root.Zombie2.gotoAndPlay('StruggleFeed');
_global.Zombie2MoveState = 'Feeding';
_global.Zombie2MoveRate = 0;
} else {
if (_root.Zombie2._x <= 280 && _global.Zombie2MoveState == 'Feeding') {
_global.Zombie2MoveRate = 0;
_root.Zombie2._x = 280;
} else {
if (_root.Zombie2._x >= 281) {
_root.Zombie2._x -= _global.Zombie2MoveRate;
_root.Zombie2._x = _root.Zombie2._x;
}
}
}
if (_root.Zombie3._x <= 280 && _global.Zombie3MoveState != 'Feeding') {
_root.Zombie3._x = 280;
_root.Zombie3.gotoAndPlay('StruggleFeed');
_global.Zombie3MoveState = 'Feeding';
_global.Zombie3MoveRate = 0;
} else {
if (_root.Zombie3._x <= 280 && _global.Zombie3MoveState == 'Feeding') {
_global.Zombie3MoveRate = 0;
_root.Zombie3._x = 280;
} else {
if (_root.Zombie3._x >= 281) {
_root.Zombie3._x -= _global.Zombie3MoveRate;
_root.Zombie3._x = _root.Zombie3._x;
}
}
}
if (_root.Zombie4._x <= 280 && _global.Zombie4MoveState != 'Feeding') {
_root.Zombie4._x = 280;
_root.Zombie4.gotoAndPlay('StruggleFeed');
_global.Zombie4MoveState = 'Feeding';
_global.Zombie4MoveRate = 0;
} else {
if (_root.Zombie4._x <= 280 && _global.Zombie4MoveState == 'Feeding') {
_global.Zombie4MoveRate = 0;
_root.Zombie4._x = 280;
} else {
if (_root.Zombie4._x >= 281) {
_root.Zombie4._x -= _global.Zombie4MoveRate;
_root.Zombie4._x = _root.Zombie4._x;
}
}
}
};
}
}
_global.GameplayState;
_global.HubbMessageState;
_global.LevelState;
_global.Level;
_global.Sewer;
_global.KillCount;
_global.NeedleDirection;
_global.ChallengeState;
_global.StoryArc;
_global.GooState;
_global.GunFlash;
_global.BlockadeOutCome;
_global.BlockadeBonus;
_global.HideState;
_global.HighLightState;
_global.ControlVisibility;
_global.InventoryState;
_global.InventoryStick;
_global.InventoryHandGun;
_global.InventoryLongGun;
_global.Pocket1();
_global.Pocket2();
_global.Pocket3();
_global.Pocket4();
_global.SearchNumber;
_global.Search1State;
_global.Search2State;
_global.Search3State;
_global.Search4State;
_global.Search5State;
_global.DiscoveredWeapon;
_global.PocketItem;
_global.HeroMoveState;
_global.StaminaState;
_global.ReloadState;
_global.HeroDirection;
_global.DefenseState;
_global.AttackState;
_global.BloodlustState;
_global.BloodlustLock;
_global.CurrentWeapon;
_global.CurrentStick;
_global.NextWeapon;
_global.NextStick;
_global.WeaponState;
_global.WeaponImpact;
_global.WeaponDamage;
_global.StaminaDrain;
_global.StaminaRefresh;
_global.LongGunAmmoAmount;
_global.HandGunAmmoAmount;
_global.ReloadRate;
_global.LightPistol();
_global.LightPistolAmmo();
_global.HeavyPistol();
_global.HeavyPistolAmmo();
_global.LightShotgun();
_global.LightShotgunAmmo();
_global.HeavyShotgun();
_global.HeavyShotgunAmmo();
_global.LightMachinegun();
_global.LightMachinegunAmmo();
_global.HeavyMachinegun();
_global.HeavyMachinegunAmmo();
_global.Fist();
_global.Bass();
_global.BattleAxe();
_global.Cleaver();
_global.Crowbar();
_global.FireAxe();
_global.Hammer();
_global.Knife();
_global.Zombie1MoveRate;
_global.Zombie1HealthTotal;
_global.Zombie1MoveState;
_global.Zombie1Level4;
_global.Zombie2MoveRate;
_global.Zombie2HealthTotal;
_global.Zombie2MoveState;
_global.Zombie2Level4;
_global.Zombie3MoveRate;
_global.Zombie3HealthTotal;
_global.Zombie3MoveState;
_global.Zombie3Level4;
_global.Zombie4MoveRate;
_global.Zombie4HealthTotal;
_global.Zombie4MoveState;
_global.Zombie4Level4;
_global.Emitter1HealthTotal;
_global.Emitter2HealthTotal;
_global.Emitter3HealthTotal;
_global.Drone1HealthTotal;
_global.Drone2HealthTotal;
_global.Drone3HealthTotal;
_global.Drone4HealthTotal;
_global.InitializeLevel = function () {
_root.Exclusive.gotoAndStop(1);
_root.GameMessages.LevelStartText.gotoAndStop(1);
_root.BackPack.HubbHolder.gotoAndStop('HubbMessage');
_root.BackPack.gotoAndStop('Closed');
if (_global.Level == 1) {
_root.BackPack.HubbHolder.HubbMessages.gotoAndStop(1);
_global.InventoryStick = 'Fist';
_global.InventoryHandGun = 'None';
_global.InventoryLongGun = 'None';
_global.CurrentWeapon = 'None';
_global.NextWeapon = null;
_global.InventoryStick = 'Bass';
_global.InventoryHandGun = 'None';
_global.InventoryLongGun = 'None';
_global.CurrentWeapon = 'Bass';
SetBassVariables();
_root.BG.gotoAndStop(1);
_root.FG.gotoAndStop(1);
_global.BloodlustLock = 'Active';
}
if (_global.Level == 2) {
_global.InventoryStick = 'Fist';
_global.InventoryHandGun = 'None';
_global.InventoryLongGun = 'None';
_global.CurrentWeapon = 'None';
_global.NextWeapon = null;
_root.BackPack.HubbHolder.HubbMessages.gotoAndStop(2);
if (_global.BlockadeOutCome == 'Pass1') {
_global.InventoryStick = 'Fist';
_global.InventoryHandGun = 'None';
_global.InventoryLongGun = 'LightShotgun';
_global.CurrentWeapon = 'LightShotgun';
SetLightShotgunVariables();
}
if (_global.BlockadeOutCome == 'Pass2') {
_global.InventoryStick = 'Fist';
_global.InventoryLongGun = 'None';
_global.InventoryHandGun = 'LightPistol';
_global.CurrentWeapon = 'LightPistol';
SetLightPistolVariables();
}
if (_global.BlockadeOutCome == 'Pass3') {
_global.InventoryStick = 'FireAxe';
_global.InventoryHandGun = 'None';
_global.InventoryLongGun = 'None';
_global.CurrentWeapon = 'FireAxe';
SetFireAxeVariables();
}
_root.BG.gotoAndStop(2);
_root.FG.gotoAndStop(2);
_global.Emitter1HealthTotal = 15;
_global.Emitter2HealthTotal = 15;
_global.Emitter3HealthTotal = 15;
_root.BG.Emitter1.gotoAndStop(1);
_root.BG.Emitter2.gotoAndStop(1);
_root.BG.Emitter3.gotoAndStop(1);
_root.BG.StoryTrigger._x = 1228;
}
if (_global.Level == 3) {
_global.InventoryStick = 'Fist';
_global.InventoryHandGun = 'None';
_global.InventoryLongGun = 'None';
_global.CurrentWeapon = 'None';
_global.NextWeapon = null;
_root.BackPack.HubbHolder.HubbMessages.gotoAndStop(3);
if (_global.BlockadeOutCome == 'Pass1') {
_global.InventoryStick = 'Fist';
_global.InventoryHandGun = 'None';
_global.InventoryLongGun = 'LightMachinegun';
_global.CurrentWeapon = 'LightMachinegun';
SetLightMachinegunVariables();
}
if (_global.BlockadeOutCome == 'Pass2') {
_global.InventoryStick = 'Fist';
_global.InventoryLongGun = 'None';
_global.InventoryHandGun = 'HeavyPistol';
_global.CurrentWeapon = 'HeavyPistol';
SetHeavyPistolVariables();
}
if (_global.BlockadeOutCome == 'Pass3') {
_global.InventoryStick = 'HeavyShotgun';
_global.InventoryHandGun = 'None';
_global.InventoryLongGun = 'None';
_global.CurrentWeapon = 'HeavyShotgun';
SetHeavyShotgunVariables();
}
_root.BG.gotoAndStop(3);
_root.FG.gotoAndStop(3);
_global.Emitter1HealthTotal = 4;
_global.Emitter2HealthTotal = 4;
_global.Emitter3HealthTotal = 4;
_root.BG.Emitter1.gotoAndStop(1);
_root.BG.Emitter2.gotoAndStop(1);
_root.BG.Emitter3.gotoAndStop(1);
_global.Drone1HealthTotal = 4;
_global.Drone2HealthTotal = 4;
_global.Drone3HealthTotal = 4;
_root.FG.Drone1.gotoAndPlay(1);
_root.FG.Drone2.gotoAndPlay(1);
_root.FG.Drone3.gotoAndPlay(1);
_root.FG.Drone1._y = 45;
_root.FG.Drone2._y = 45;
_root.FG.Drone3._y = 45;
_root.BG.StoryTrigger._x = 1814;
}
if (_global.Level == 4) {
_global.InventoryStick = 'Fist';
_global.InventoryHandGun = 'None';
_global.InventoryLongGun = 'None';
_global.CurrentWeapon = 'None';
_global.NextWeapon = null;
_root.Zombie1Level4 = null;
_root.Zombie2Level4 = null;
_root.Zombie3Level4 = null;
_root.Zombie4Level4 = null;
_root.BackPack.HubbHolder.HubbMessages.gotoAndStop(4);
if (_global.BlockadeOutCome == 'Pass1') {
_global.InventoryStick = 'Crowbar';
_global.InventoryHandGun = 'None';
_global.InventoryLongGun = 'None';
_global.CurrentWeapon = 'Crowbar';
SetCrowbarVariables();
}
if (_global.BlockadeOutCome == 'Pass2') {
_global.InventoryStick = 'Fist';
_global.InventoryLongGun = 'None';
_global.InventoryHandGun = 'None';
_global.CurrentWeapon = 'Fist';
SetFistVariables();
}
if (_global.BlockadeOutCome == 'Pass3') {
_global.InventoryStick = 'Fist';
_global.InventoryHandGun = 'None';
_global.InventoryLongGun = 'HeavyShotgun';
_global.CurrentWeapon = 'HeavyShotgun';
SetHeavyShotgunVariables();
}
_root.BGLight._visible = false;
_root.Hero.Shadow._visible = false;
_root.Zombie1.Shadow._visible = false;
_root.Zombie2.Shadow._visible = false;
_root.Zombie3.Shadow._visible = false;
_root.Zombie4.Shadow._visible = false;
CurrentRed = null;
CurrentBlue = null;
CurrentGreen = null;
var v8 = new flash.geom.Transform(_root.Hero);
var v7 = v8.colorTransform;
v7.redMultiplier = CurrentRed;
v7.blueMultiplier = CurrentBlue;
v7.greenMultiplier = CurrentGreen;
v8.colorTransform = v7;
var v12 = new flash.geom.Transform(_root.Zombie1);
var v4 = v12.colorTransform;
v4.redMultiplier = CurrentRed;
v4.blueMultiplier = CurrentBlue;
v4.greenMultiplier = CurrentGreen;
v12.colorTransform = v4;
var v10 = new flash.geom.Transform(_root.Zombie2);
var v6 = v10.colorTransform;
v6.redMultiplier = CurrentRed;
v6.blueMultiplier = CurrentBlue;
v6.greenMultiplier = CurrentGreen;
v10.colorTransform = v6;
var v11 = new flash.geom.Transform(_root.Zombie3);
var v5 = v11.colorTransform;
v5.redMultiplier = CurrentRed;
v5.blueMultiplier = CurrentBlue;
v5.greenMultiplier = CurrentGreen;
v11.colorTransform = v5;
var v9 = new flash.geom.Transform(_root.Zombie4);
var v3 = v9.colorTransform;
v3.redMultiplier = CurrentRed;
v3.blueMultiplier = CurrentBlue;
v3.greenMultiplier = CurrentGreen;
v9.colorTransform = v3;
_root.BG.gotoAndStop(4);
_root.FG.gotoAndStop(4);
}
if (_global.Level == 5) {
_global.InventoryStick = 'Fist';
_global.InventoryHandGun = 'None';
_global.InventoryLongGun = 'None';
_global.CurrentWeapon = 'None';
_global.NextWeapon = null;
_root.BackPack.HubbHolder.HubbMessages.gotoAndStop(5);
if (_global.BlockadeOutCome == 'Pass1') {
_global.InventoryStick = 'Fist';
_global.InventoryHandGun = 'None';
_global.InventoryLongGun = 'HeavyMachinegun';
_global.CurrentWeapon = 'HeavyMachinegun';
SetHeavyMachinegunVariables();
}
if (_global.BlockadeOutCome == 'Pass2') {
_global.InventoryStick = 'Fist';
_global.InventoryLongGun = 'HeavyShotgun';
_global.InventoryHandGun = 'None';
_global.CurrentWeapon = 'HeavyShotgun';
SetHeavyShotgunVariables();
}
if (_global.BlockadeOutCome == 'Pass3') {
_global.InventoryStick = 'Knife';
_global.InventoryHandGun = 'None';
_global.InventoryLongGun = 'None';
_global.CurrentWeapon = 'Knife';
SetKnifeVariables();
}
_root.BGLight._visible = false;
_root.Hero.Shadow._visible = false;
_root.Zombie1.Shadow._visible = false;
_root.Zombie2.Shadow._visible = false;
_root.Zombie3.Shadow._visible = false;
_root.Zombie4.Shadow._visible = false;
_root.FG.Drone1.Shadow._visible = false;
_root.FG.Drone2.Shadow._visible = false;
_root.FG.Drone3.Shadow._visible = false;
_root.FG.Drone4.Shadow._visible = false;
CurrentRed = 0.5;
CurrentBlue = 0.5;
CurrentGreen = 0.5;
v8 = new flash.geom.Transform(_root.Hero);
v7 = v8.colorTransform;
v7.redMultiplier = CurrentRed;
v7.blueMultiplier = CurrentBlue;
v7.greenMultiplier = CurrentGreen;
v8.colorTransform = v7;
v12 = new flash.geom.Transform(_root.Zombie1);
v4 = v12.colorTransform;
v4.redMultiplier = CurrentRed;
v4.blueMultiplier = CurrentBlue;
v4.greenMultiplier = CurrentGreen;
v12.colorTransform = v4;
v10 = new flash.geom.Transform(_root.Zombie2);
v6 = v10.colorTransform;
v6.redMultiplier = CurrentRed;
v6.blueMultiplier = CurrentBlue;
v6.greenMultiplier = CurrentGreen;
v10.colorTransform = v6;
v11 = new flash.geom.Transform(_root.Zombie3);
v5 = v11.colorTransform;
v5.redMultiplier = CurrentRed;
v5.blueMultiplier = CurrentBlue;
v5.greenMultiplier = CurrentGreen;
v11.colorTransform = v5;
v9 = new flash.geom.Transform(_root.Zombie4);
v3 = v9.colorTransform;
v3.redMultiplier = CurrentRed;
v3.blueMultiplier = CurrentBlue;
v3.greenMultiplier = CurrentGreen;
v9.colorTransform = v3;
_global.Drone1HealthTotal = 8;
_global.Drone2HealthTotal = 8;
_global.Drone3HealthTotal = 8;
_global.Drone4HealthTotal = 8;
_root.FG.Drone1.gotoAndPlay(1);
_root.FG.Drone2.gotoAndPlay(1);
_root.FG.Drone3.gotoAndPlay(1);
_root.FG.Drone4.gotoAndPlay(1);
_root.FG.Drone1._y = 45;
_root.FG.Drone2._y = 45;
_root.FG.Drone3._y = 45;
_root.FG.Drone4._y = 45;
_root.BG.gotoAndStop(5);
_root.FG.gotoAndStop(5);
}
_root.Discovery.gotoAndStop(1);
_root.Bloodlust.gotoAndStop(1);
_root.StaminaHolder._visible = false;
_root.Searching._visible = false;
_root.BackPack.HubbHolder.TopHubb.AmmoHolder.Bloodlust.BloodlustBar._xscale = 0;
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale = 100;
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._visible = true;
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._x = 0;
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.gotoAndStop(1);
_root.BackPack.TopHubb._visible = true;
_root.BG.Search1.gotoAndPlay(1);
_root.BG.Search2.gotoAndPlay(1);
_root.BG.Search3.gotoAndPlay(1);
_root.BG.Search4.gotoAndPlay(1);
_root.BG.Search5.gotoAndPlay(1);
_global.Search1State = 'Active';
_global.Search2State = 'Active';
_global.Search3State = 'Active';
_global.Search4State = 'Active';
_global.Search5State = 'Active';
_global.Zombie1MoveRate = 1;
_global.Zombie2MoveRate = 1.8;
_global.Zombie3MoveRate = 3;
_global.Zombie4MoveRate = 2;
_global.Zombie1MoveState = null;
_global.Zombie2MoveState = null;
_global.Zombie3MoveState = null;
_global.Zombie4MoveState = null;
_global.Zombie1Level4 = null;
_global.Zombie2Level4 = null;
_global.Zombie3Level4 = null;
_global.Zombie4Level4 = null;
_global.Zombie1HealthTotal = 3;
_global.Zombie2HealthTotal = 3;
_global.Zombie3HealthTotal = 3;
_global.Zombie4HealthTotal = 3;
_root.Zombie1._visible = true;
_root.Zombie2._visible = true;
_root.Zombie3._visible = true;
_root.Zombie4._visible = true;
_root.Zombie1._x = 870;
_root.Zombie2._x = 970;
_root.Zombie3._x = 1070;
_root.Zombie4._x = 1170;
_root.BG.ChallengeTrigger._y = 160;
_root.BG.StoryTrigger._y = 160;
_root.Zombie1.gotoAndPlay(1);
_root.Zombie2.gotoAndPlay(1);
_root.Zombie3.gotoAndPlay(1);
_root.Zombie4.gotoAndPlay(1);
_global.GameplayState = null;
_global.HeroMoveState = null;
_global.HeroDirection = null;
_global.StaminaState = null;
_global.DefenseState = null;
_global.BloodlustState = null;
_global.BlockadeBonus = 0;
_global.GooState = null;
_global.StoryArc = null;
_global.HideState = null;
_root.Hero.Goo._visible = false;
_global.Pocket1 = 'None';
_global.Pocket2 = 'None';
_global.Pocket3 = 'None';
_global.Pocket4 = 'None';
_global.ControlVisibility = null;
_global.ChallengeState = null;
_global.ChallengeResult = null;
_global.DiscoveryDisplay = 'None';
_global.LevelState = 'PrePlay';
_root.Reloading._visible = false;
_global.SearchRate = 2;
_global.KillCount = 0;
_global.NeedleDirection = 'Right';
_root.Hero.gotoAndPlay(1);
_root.Hero.Legs.stop();
_root.BG._x = -66;
_root.FG._x = 3200;
_root.BG.ChallengeTrigger._y = 175;
WeaponSwapFinishCheck();
WeaponVisibility();
AmmoChecking();
MainLoop();
PauseGameplay();
_root.FadeOut.gotoAndPlay('FadeIn');
Key.addListener(ActiveListener);
Key.addListener(PassiveListener);
_quality = 'LOW';
};
_global.InventoryVisibility = function () {
_root.BackPack.Inventory.CloseCombat.gotoAndStop(_global.InventoryStick);
_root.BackPack.Inventory.HandGun.gotoAndStop(_global.InventoryHandGun);
_root.BackPack.Inventory.LongGun.gotoAndStop(_global.InventoryLongGun);
_root.BackPack.Inventory.Pocket1.gotoAndStop(_global.Pocket1);
_root.BackPack.Inventory.Pocket2.gotoAndStop(_global.Pocket2);
_root.BackPack.Inventory.Pocket3.gotoAndStop(_global.Pocket3);
_root.BackPack.Inventory.Pocket4.gotoAndStop(_global.Pocket4);
_root.BackPack.Inventory.Highlight.CloseCombatDisplay.gotoAndStop(_global.InventoryStick);
_root.BackPack.Inventory.Highlight.HandGunDisplay.gotoAndStop(_global.InventoryHandGun);
_root.BackPack.Inventory.Highlight.LongGunDisplay.gotoAndStop(_global.InventoryLongGun);
_root.BackPack.Inventory.Highlight.Pocket1Display.gotoAndStop(_global.Pocket1);
_root.BackPack.Inventory.Highlight.Pocket2Display.gotoAndStop(_global.Pocket2);
_root.BackPack.Inventory.Highlight.Pocket3Display.gotoAndStop(_global.Pocket3);
_root.BackPack.Inventory.Highlight.Pocket4Display.gotoAndStop(_global.Pocket4);
};
_global.InventorySettings = function () {
if (_global.HighLightState == 'CloseCombat') {
if (_global.InventoryStick == 'Bass') {
_global.NextWeapon = 'Bass';
_global.CurrentWeapon = 'Bass';
}
if (_global.InventoryStick == 'BattleAxe') {
_global.NextWeapon = 'BattleAxe';
_global.CurrentWeapon = 'BattleAve';
}
if (_global.InventoryStick == 'Crowbar') {
_global.NextWeapon = 'Crowbar';
_global.CurrentWeapon = 'Crowbar';
}
if (_global.InventoryStick == 'FireAxe') {
_global.NextWeapon = 'FireAxe';
_global.CurrentWeapon = 'FireAxe';
}
if (_global.InventoryStick == 'Hammer') {
_global.NextWeapon = 'Hammer';
_global.CurrentWeapon = 'Hammer';
}
if (_global.InventoryStick == 'Knife') {
_global.NextWeapon = 'Knife';
_global.CurrentWeapon = 'Knife';
}
if (_global.InventoryStick == 'Fist') {
_global.NextWeapon = 'Fist';
_global.CurrentWeapon = 'Fist';
}
}
if (_global.HighLightState == 'HandGun') {
if (_global.InventoryHandGun == 'LightPistol') {
_global.NextWeapon = 'LightPistol';
_global.CurrentWeapon = 'LightPistol';
}
if (_global.InventoryHandGun == 'HeavyPistol') {
_global.NextWeapon = 'HeavyPistol';
_global.CurrentWeapon = 'HeavyPistol';
}
if (_global.InventoryHandGun == 'None') {
null;
}
}
if (_global.HighLightState == 'LongGun') {
if (_global.InventoryLongGun == 'LightShotgun') {
_global.NextWeapon = 'LightShotgun';
_global.CurrentWeapon = 'LightShotgun';
}
if (_global.InventoryLongGun == 'HeavyShotgun') {
_global.NextWeapon = 'HeavyShotgun';
_global.CurrentWeapon = 'HeavyShotgun';
}
if (_global.InventoryLongGun == 'LightMachinegun') {
_global.NextWeapon = 'LightMachinegun';
_global.CurrentWeapon = 'LightMachinegun';
}
if (_global.InventoryLongGun == 'HeavyMachinegun') {
_global.NextWeapon = 'HeavyMachinegun';
_global.CurrentWeapon = 'HeavyMachinegun';
}
if (_global.InventoryLongGun == 'None') {
null;
}
}
};
function () {
if (_global.CurrentWeapon != 'Fist') break;
_root.Hero.Stick._visible = false;
_root.Hero.LightMachinegun._visible = false;
_root.Hero.HeavyMachinegun._visible = false;
_root.Hero.LightPistol._visible = false;
_root.Hero.HeavyPistol._visible = false;
_root.Hero.LightShotgun._visible = false;
_root.Hero.HeavyShotgun._visible = false;
if (_global.CurrentWeapon != 'Bass') break;
_root.Hero.Stick._visible = true;
_root.Hero.Stick.gotoAndStop('Bass');
_root.Hero.LightMachinegun._visible = false;
_root.Hero.HeavyMachinegun._visible = false;
_root.Hero.LightPistol._visible = false;
_root.Hero.HeavyPistol._visible = false;
_root.Hero.LightShotgun._visible = false;
_root.Hero.HeavyShotgun._visible = false;
_root.Hero.Stick._visible = true;
_root.Hero.Stick.gotoAndStop('BattleAxe');
_root.Hero.LightMachinegun._visible = false;
_root.Hero.HeavyMachinegun._visible = false;
_root.Hero.LightPistol._visible = false;
_root.Hero.HeavyPistol._visible = false;
_root.Hero.LightShotgun._visible = false;
_root.Hero.HeavyShotgun._visible = false;
do {
do {
_root.Hero.Stick._visible = true;
_root.Hero.Stick.gotoAndStop('Cleaver');
_root.Hero.LightMachinegun._visible = false;
_root.Hero.HeavyMachinegun._visible = false;
_root.Hero.LightPistol._visible = false;
_root.Hero.HeavyPistol._visible = false;
_root.Hero.LightShotgun._visible = false;
_root.Hero.HeavyShotgun._visible = false;
_root.Hero.Stick._visible = true;
_root.Hero.Stick.gotoAndStop('Crowbar');
_root.Hero.LightMachinegun._visible = false;
_root.Hero.HeavyMachinegun._visible = false;
_root.Hero.LightPistol._visible = false;
_root.Hero.HeavyPistol._visible = false;
_root.Hero.LightShotgun._visible = false;
_root.Hero.HeavyShotgun._visible = false;
_root.Hero.Stick._visible = true;
_root.Hero.Stick.gotoAndStop('FireAxe');
_root.Hero.LightMachinegun._visible = false;
_root.Hero.HeavyMachinegun._visible = false;
_root.Hero.LightPistol._visible = false;
_root.Hero.HeavyPistol._visible = false;
_root.Hero.LightShotgun._visible = false;
_root.Hero.HeavyShotgun._visible = false;
_root.Hero.Stick._visible = true;
_root.Hero.Stick.gotoAndStop('Hammer');
_root.Hero.LightMachinegun._visible = false;
_root.Hero.HeavyMachinegun._visible = false;
_root.Hero.LightPistol._visible = false;
_root.Hero.HeavyPistol._visible = false;
_root.Hero.LightShotgun._visible = false;
_root.Hero.HeavyShotgun._visible = false;
_root.Hero.Stick._visible = true;
_root.Hero.Stick.gotoAndStop('Knife');
_root.Hero.LightMachinegun._visible = false;
_root.Hero.HeavyMachinegun._visible = false;
_root.Hero.LightPistol._visible = false;
_root.Hero.HeavyPistol._visible = false;
_root.Hero.LightShotgun._visible = false;
_root.Hero.HeavyShotgun._visible = false;
_root.Hero.Stick._visible = false;
_root.Hero.LightMachinegun._visible = false;
_root.Hero.HeavyMachinegun._visible = false;
_root.Hero.LightPistol._visible = true;
_root.Hero.HeavyPistol._visible = false;
_root.Hero.LightShotgun._visible = false;
_root.Hero.HeavyShotgun._visible = false;
_root.Hero.Stick._visible = false;
_root.Hero.LightMachinegun._visible = false;
_root.Hero.HeavyMachinegun._visible = false;
_root.Hero.LightPistol._visible = false;
_root.Hero.HeavyPistol._visible = true;
_root.Hero.LightShotgun._visible = false;
_root.Hero.HeavyShotgun._visible = false;
_root.Hero.Stick._visible = false;
_root.Hero.LightMachinegun._visible = false;
_root.Hero.HeavyMachinegun._visible = false;
_root.Hero.LightPistol._visible = false;
_root.Hero.HeavyPistol._visible = false;
_root.Hero.LightShotgun._visible = true;
_root.Hero.HeavyShotgun._visible = false;
_root.Hero.Stick._visible = false;
_root.Hero.LightMachinegun._visible = false;
_root.Hero.HeavyMachinegun._visible = false;
_root.Hero.LightPistol._visible = false;
_root.Hero.HeavyPistol._visible = false;
_root.Hero.LightShotgun._visible = false;
_root.Hero.HeavyShotgun._visible = true;
_root.Hero.Stick._visible = false;
_root.Hero.LightMachinegun._visible = true;
_root.Hero.HeavyMachinegun._visible = false;
_root.Hero.LightPistol._visible = false;
_root.Hero.HeavyPistol._visible = false;
_root.Hero.LightShotgun._visible = false;
_root.Hero.HeavyShotgun._visible = false;
_root.Hero.Stick._visible = false;
_root.Hero.LightMachinegun._visible = false;
_root.Hero.HeavyMachinegun._visible = true;
_root.Hero.LightPistol._visible = false;
_root.Hero.HeavyPistol._visible = false;
_root.Hero.LightShotgun._visible = false;
_root.Hero.HeavyShotgun._visible = false;
// An attempt to read a value from empty stack
// An attempt to read a value from empty stack
undefined[undefined] = _global.CurrentWeapon != 'BattleAxe';
SetFistVariables();
_global.LevelState == 'Death';
_global.LevelState == 'Title';
_global.FadeState != null;
_global.ChallengeState == 'Active';
InitializeLevel();
_root.GameMessages.LevelStartText.gotoAndPlay(1);
_root.BackPack.ControlMessages.gotoAndStop('None');
_root.BackPack.HubbHolder.play();
UnPauseGameplay();
_root.ShiftBtn._visible = false;
!Key.isDown(16);
_global.HeroMoveState != 'Dead';
_global.HeroMoveState == 'Dead';
_global.GameplayState != 'Paused';
_global.BloodlustLock != 'Active';
_global.BlockadeBonus = 75;
_root.ChallengeResult.gotoAndPlay(4);
_root.ChallengeResult.gotoAndStop(1);
_root.Challenges.gotoAndStop(1);
_global.ChallengeState = null;
UnPauseGameplay();
_root.BG.ChallengeTrigger._y = 575;
_root.Challenges.gotoAndStop(1);
_global.ChallengeState = null;
UnPauseGameplay();
_global.Level == 1;
_global.Level != 3;
_global.DiscoveryDisplay = 'None';
UnPauseGameplay();
_root.GameMessages.LevelStartText.gotoAndStop(30);
!Key.isDown(39);
_root.BG.Search1.gotoAndStop('Disable');
_global.Search1State = null;
_global.Pocket1 = 'Batteries';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket2 = 'Batteries';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket3 = 'Batteries';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket4 = 'Batteries';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket1 = 'Bible';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket2 = 'Bible';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket3 = 'Bible';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket4 = 'Bible';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket1 = 'Booze';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket2 = 'Booze';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket3 = 'Booze';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket4 = 'Booze';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket1 = 'Chess';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket2 = 'Chess';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket3 = 'Chess';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket4 = 'Chess';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket1 = 'Condom';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket2 = 'Condom';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket3 = 'Condom';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket4 = 'Condom';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket1 = 'Crack';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket2 = 'Crack';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket3 = 'Crack';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket4 = 'Crack';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket1 = 'Declaration';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket2 = 'Declaration';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket3 = 'Declaration';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket4 = 'Declaration';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket1 = 'FanHat';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket2 = 'FanHat';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket3 = 'FanHat';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket4 = 'FanHat';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket1 = 'Food';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket2 = 'Food';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket3 = 'Food';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket4 = 'Food';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket1 = 'Lighter';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket2 = 'Lighter';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket3 = 'Lighter';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket4 = 'Lighter';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket1 = 'Santa';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket2 = 'Santa';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket3 = 'Santa';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket4 = 'Santa';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket1 = 'ToiletPaper';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket2 = 'ToiletPaper';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket3 = 'ToiletPaper';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.Pocket4 = 'ToiletPaper';
_global.DiscoveryDisplay = null;
_global.PocketItem = null;
_global.DiscoveryState = null;
_root.Discovery.gotoAndStop(1);
_global.DiscoveryDisplay = 'None';
_global.DiscoveredWeapon = null;
_global.PocketItem = null;
UnPauseGameplay();
_root.GameMessages.gotoAndStop('GamePlay');
_root.GameMessages.LevelStartText.gotoAndStop('Hidden');
_root.BG.Search1.gotoAndStop('Disable');
_global.Search1State = null;
_global.SearchNumber != 2;
_global.HeroMoveState == 'Dead';
_global.GameplayState != 'Paused';
} while (_global.InventoryState == 'Active');
} while (_global.GameplayState == 'Paused');
};
function () {
_root.GameMessages.Blockade.Dialog.gotoAndStop('Positive');
_root.GameMessages.Blockade.Dialog.PositiveMessage.nextFrame();
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale += 50;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale = _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._x = 0;
};
function () {
_root.GameMessages.Blockade.Dialog.gotoAndStop('Positive');
_root.GameMessages.Blockade.Dialog.PositiveMessage.nextFrame();
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale += 55;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale = _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._x = 0;
};
function () {
_root.GameMessages.Blockade.Dialog.gotoAndStop('Positive');
_root.GameMessages.Blockade.Dialog.PositiveMessage.nextFrame();
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale += 65;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale = _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._x = 0;
};
function () {
_root.GameMessages.Blockade.Dialog.gotoAndStop('Positive');
_root.GameMessages.Blockade.Dialog.PositiveMessage.nextFrame();
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale += 15;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale = _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._x = 0;
};
function () {
_root.GameMessages.Blockade.Dialog.gotoAndStop('Positive');
_root.GameMessages.Blockade.Dialog.PositiveMessage.nextFrame();
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale += 15;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale = _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._x = 0;
};
function () {
_root.GameMessages.Blockade.Dialog.gotoAndStop('Positive');
_root.GameMessages.Blockade.Dialog.PositiveMessage.nextFrame();
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale += 15;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale = _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._x = 0;
};
function () {
_root.GameMessages.Blockade.Dialog.gotoAndStop('Positive');
_root.GameMessages.Blockade.Dialog.PositiveMessage.nextFrame();
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale += 15;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale = _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._x = 0;
};
function () {
_root.GameMessages.Blockade.Dialog.gotoAndStop('Positive');
_root.GameMessages.Blockade.Dialog.PositiveMessage.nextFrame();
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale += 15;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale = _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._x = 0;
};
function () {
_root.GameMessages.Blockade.Dialog.gotoAndStop('Positive');
_root.GameMessages.Blockade.Dialog.PositiveMessage.nextFrame();
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale += 15;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale = _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._x = 0;
};
function () {
_root.GameMessages.Blockade.Dialog.gotoAndStop('Positive');
_root.GameMessages.Blockade.Dialog.PositiveMessage.nextFrame();
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale += 15;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale = _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._x = 0;
};
function () {
_root.GameMessages.Blockade.Dialog.gotoAndStop('Positive');
_root.GameMessages.Blockade.Dialog.PositiveMessage.nextFrame();
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale += 15;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale = _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._x = 0;
};
function () {
_root.GameMessages.Blockade.Dialog.gotoAndStop('Positive');
_root.GameMessages.Blockade.Dialog.PositiveMessage.nextFrame();
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale += 15;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale = _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._x = 0;
};
function () {
_root.GameMessages.Blockade.Dialog.gotoAndStop('Positive');
_root.GameMessages.Blockade.Dialog.PositiveMessage.nextFrame();
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale += 15;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale = _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._x = 0;
};
function () {
_root.GameMessages.Blockade.Dialog.gotoAndStop('Positive');
_root.GameMessages.Blockade.Dialog.PositiveMessage.nextFrame();
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale += 15;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale = _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._x = 0;
};
function () {
_root.GameMessages.Blockade.Dialog.gotoAndStop('Positive');
_root.GameMessages.Blockade.Dialog.PositiveMessage.nextFrame();
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale += 15;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale = _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._x = 0;
};
function () {
_root.GameMessages.Blockade.Dialog.gotoAndStop('Positive');
_root.GameMessages.Blockade.Dialog.PositiveMessage.nextFrame();
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale += 15;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale = _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._x = 0;
};
function () {
_root.GameMessages.Blockade.Dialog.gotoAndStop('Positive');
_root.GameMessages.Blockade.Dialog.PositiveMessage.nextFrame();
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale += 15;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale = _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._x = 0;
};
function () {
_root.GameMessages.Blockade.Dialog.gotoAndStop('Positive');
_root.GameMessages.Blockade.Dialog.PositiveMessage.nextFrame();
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale += 15;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale = _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._x = 0;
};
function () {
_root.GameMessages.Blockade.Dialog.gotoAndStop('Positive');
_root.GameMessages.Blockade.Dialog.PositiveMessage.nextFrame();
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale += 15;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale = _root.GameMessages.Blockade.Satisfaction.SatisfactionBar._xscale;
_root.GameMessages.Blockade.Satisfaction.SatisfactionBar._x = 0;
};
storedv1.HeroMoveState == 'Dead';
storedv1.GameplayState != 'Paused';
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
_global;
'WeaponVisibility';
storedv2.InventoryStick == 'Fist';
storedv2.InventoryHandGun == 'None';
storedv2.InventoryLongGun == 'None';
storedv2.Level == 1;
storedv2.Level != 1;
storedv2.Level == 2;
storedv2.Level != 2;
storedv2.Level == 3;
storedv2.Level != 3;
storedv2.Level == 4;
storedv2.Level != 4;
storedv2.Level == 1;
storedv2.Level != 1;
storedv2.Level == 2;
storedv2.Level != 2;
storedv2.Level == 3;
storedv2.Level != 3;
storedv2.Level == 4;
storedv2.Level != 4;
storedv2.Level == 1;
storedv2.Level != 1;
storedv2.Level == 2;
storedv2.Level != 2;
storedv2.Level == 3;
storedv2.Level != 3;
storedv2.Level == 4;
storedv2.Level != 4;
storedv2.Level == 1;
storedv2.Level != 1;
storedv2.Level == 2;
storedv2.Level != 2;
storedv2.Level == 3;
storedv2.Level != 3;
storedv2.Level == 4;
storedv2.Level != 4;
storedv2.InventoryHandGun == 'None';
storedv2.InventoryHandGun != 'None';
storedv1.HeroMoveState != 'Dead';
storedv1.GameplayState == 'Paused';
storedv1.InventoryHandGun == 'None';
storedv1.InventoryHandGun != 'None';
function () {
_global.HideState = null;
_global.HeroMoveState == 'Dead';
_global.GameplayState == 'Paused';
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale -= 20;
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale = _root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale;
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale -= 10;
_root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale = _root.BackPack.HubbHolder.TopHubb.StaminaHolder.StaminaBar._xscale;
!Key.isDown(32);
Fist();
StickAttack();
StickAttack();
StickAttack();
StickAttack();
StickAttack();
StickAttack();
StickAttack();
LightPistol();
HeavyPistol();
LightShotgun();
HeavyShotgun();
LightMachinegun();
HeavyMachinegun();
_global.HideState = null;
!Key.isDown(38);
_global.CurrentWeapon == 'LightPistol';
_root.BackPack.Inventory.Highlight.gotoAndStop('CloseCombat');
null;
null;
(_global.CurrentWeapon != 'HeavyPistol')[_global.CurrentWeapon != 'None'] = !Key.isDown(13);
};
function () {
_global.HeroDirection = null;
_root.Hero.SearchZone.hitTest(_root.BG.Hide1);
};
}
frame 3 {
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;
}
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__('4241aa47', this, 10301, true);
__com_mochibot__('254aa208', this, 10301, true);
}
movieClip 21 {
}
movieClip 28 {
}
movieClip 31 {
}
movieClip 36 {
}
movieClip 39 {
}
movieClip 41 {
}
movieClip 44 {
}
movieClip 46 {
}
movieClip 47 {
}
movieClip 49 {
}
movieClip 50 {
frame 30 {
gotoAndPlay(1);
}
frame 31 {
stop();
}
}
movieClip 51 {
}
movieClip 56 {
}
movieClip 58 {
}
movieClip 59 {
}
movieClip 186 {
frame 61 {
gotoAndStop(1);
}
}
movieClip 191 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
prevFrame();
}
}
movieClip 193 {
frame 61 {
gotoAndStop(1);
}
}
movieClip 195 {
}
movieClip 316 {
}
movieClip 317 {
frame 10 {
stop();
}
}
movieClip 319 {
}
movieClip 321 {
}
movieClip 322 {
frame 11 {
stop();
}
}
movieClip 323 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 325 {
}
movieClip 326 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 455 {
}
movieClip 456 {
}
movieClip 459 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
_root.BGLight._visible = false;
_root.Hero.Shadow._visible = false;
_root.Zombie1.Shadow._visible = false;
_root.Zombie2.Shadow._visible = false;
_root.Zombie3.Shadow._visible = false;
_root.Zombie4.Shadow._visible = false;
}
frame 5 {
stop();
_root.BGLight._visible = false;
_root.Hero.Shadow._visible = false;
_root.Zombie1.Shadow._visible = false;
_root.Zombie2.Shadow._visible = false;
_root.Zombie3.Shadow._visible = false;
_root.Zombie4.Shadow._visible = false;
_root.FG.Drone1.Shadow._visible = false;
_root.FG.Drone2.Shadow._visible = false;
_root.FG.Drone3.Shadow._visible = false;
_root.FG.Drone4.Shadow._visible = false;
}
}
movieClip 470 {
frame 1 {
stop();
}
frame 4 {
gotoAndStop('Dim');
}
frame 7 {
gotoAndStop('Dim');
}
frame 10 {
gotoAndStop('Dim');
}
frame 13 {
gotoAndStop('Dim');
}
frame 19 {
gotoAndStop('Dim');
}
}
movieClip 472 {
}
movieClip 473 {
frame 1 {
stop();
}
frame 2 {
stop();
_global.AttackState = 'Active';
play();
}
frame 10 {
stop();
_global.AttackState = null;
gotoAndStop(1);
}
}
movieClip 475 {
}
movieClip 477 {
}
movieClip 479 {
}
movieClip 481 {
}
movieClip 484 {
}
movieClip 487 {
}
movieClip 488 {
}
movieClip 491 {
}
movieClip 494 {
}
movieClip 495 {
frame 1 {
stop();
if (_global.HeroDirection == 'Left') {
gotoAndStop(40);
} else {
nextFrame();
}
}
frame 40 {
stop();
if (_global.HeroDirection == 'Right') {
gotoAndStop(1);
} else {
prevFrame();
}
}
}
movieClip 501 {
}
movieClip 504 {
}
movieClip 507 {
frame 1 {
stop();
_global.CurrentGun = 'HeavyShotgun';
_global.WeaponDamage = 7;
_global.WeaponImpact = 75;
}
}
movieClip 510 {
frame 1 {
stop();
_global.CurrentGun = 'LightShotgun';
_global.WeaponDamage = 5;
_global.WeaponImpact = 65;
}
}
movieClip 514 {
}
movieClip 527 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
}
movieClip 530 {
}
movieClip 534 {
frame 1 {
stop();
}
}
movieClip 537 {
}
movieClip 771 {
}
movieClip 773 {
}
movieClip 775 {
}
movieClip 778 {
}
movieClip 780 {
}
movieClip 902 {
}
movieClip 1277 {
frame 1 {
_global.HeroMoveState = null;
_global.AttackState = null;
_global.DefenseState = null;
_global.WeaponVisibility();
}
frame 52 {
gotoAndPlay('Breath');
}
frame 53 {
_global.WeaponVisibility();
}
frame 66 {
stop();
_global.WeaponVisibility();
if (_global.ReloadState != 'Active') {
WeaponSwapFinishCheck();
_global.HeroMoveState = 'NotReady';
} else {
null;
}
}
frame 76 {
gotoAndPlay('Breath');
}
frame 77 {
_global.HeroMoveState = 'Attacking';
_global.AttackState = 'Active';
_global.WeaponVisibility();
}
frame 92 {
gotoAndPlay('Breath');
}
frame 93 {
_global.WeaponVisibility();
_global.AttackState = 'Active';
_global.HeroMoveState = 'Attacking';
}
frame 115 {
gotoAndPlay('Breath');
}
frame 116 {
_global.WeaponVisibility();
_global.HeroMoveState = 'Attacking';
_global.AttackState = 'Active';
}
frame 117 {
_root.Darkness.gotoAndStop(2);
}
frame 119 {
_root.Darkness.gotoAndStop(1);
}
frame 132 {
gotoAndPlay('Breath');
}
frame 133 {
_global.WeaponVisibility();
_global.HeroMoveState = 'Attacking';
_global.AttackState = 'Active';
}
frame 169 {
gotoAndPlay('Breath');
}
frame 170 {
_global.WeaponVisibility();
_global.HeroMoveState = 'Attacking';
_global.AttackState = 'Active';
}
frame 190 {
gotoAndPlay('Breath');
}
frame 191 {
_global.WeaponVisibility();
_global.HeroMoveState = 'Defending';
_global.DefenseState = 'Active';
}
frame 247 {
gotoAndPlay(202);
}
frame 248 {
_global.HeroMoveState = 'Shoving';
_global.WeaponVisibility();
}
frame 275 {
gotoAndPlay('Breath');
_global.GooState = null;
_root.Hero.Goo._visible = false;
}
frame 276 {
_global.HeroMoveState = 'Dead';
_global.WeaponVisibility();
}
frame 377 {
stop();
}
}
movieClip 1279 {
}
movieClip 1280 {
frame 1 {
stop();
}
frame 3 {
gotoAndStop(1);
}
frame 5 {
gotoAndStop(1);
}
frame 11 {
gotoAndStop(1);
}
}
movieClip 1282 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
gotoAndStop(1);
}
}
movieClip 1297 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
gotoAndStop(1);
}
frame 10 {
gotoAndStop(1);
}
}
movieClip 1311 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
gotoAndStop(1);
}
}
movieClip 1324 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
gotoAndStop(1);
}
}
movieClip 1326 {
}
movieClip 1339 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
gotoAndStop(1);
}
}
movieClip 1352 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
gotoAndStop(1);
}
}
movieClip 1354 {
}
movieClip 1364 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
gotoAndStop(1);
}
}
movieClip 1375 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
gotoAndStop(1);
}
}
movieClip 1379 {
}
movieClip 1380 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
prevFrame();
}
}
movieClip 1381 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
prevFrame();
}
}
movieClip 1382 {
frame 1 {
stop();
}
frame 7 {
stop();
}
frame 13 {
stop();
}
frame 20 {
prevFrame();
}
}
movieClip 1395 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
gotoAndStop(1);
}
}
movieClip 1398 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1411 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
gotoAndStop(1);
}
}
movieClip 1415 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1426 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
gotoAndStop(1);
}
}
movieClip 1428 {
frame 1 {
stop();
}
}
movieClip 1439 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
gotoAndStop(1);
}
}
movieClip 1446 {
frame 12 {
stop();
}
}
movieClip 1449 {
frame 1 {
_global.Zombie1MoveState = null;
}
frame 50 {
gotoAndPlay('Walk');
}
frame 51 {
_global.Zombie1MoveState = 'NotReady';
}
frame 109 {
gotoAndPlay('Walk');
}
frame 110 {
_global.Zombie1MoveState = 'Lunge';
}
frame 156 {
gotoAndPlay('LungeRush');
}
frame 157 {
_global.Zombie1MoveState = 'Attacking';
}
frame 180 {
gotoAndPlay('GrabStruggle');
}
frame 181 {
_global.Zombie1MoveState = 'NotReady';
}
frame 205 {
gotoAndPlay('Walk');
}
frame 206 {
_global.Zombie1MoveState = 'Feeding';
}
frame 303 {
gotoAndPlay('Feeding');
}
frame 304 {
_global.Zombie1MoveState = 'NotReady';
this.Torso.PistolInjuries.nextFrame();
}
frame 328 {
gotoAndPlay('Walk');
}
frame 329 {
_global.Zombie1MoveState = 'NotReady';
this.Torso.ShotgunInjuries.nextFrame();
}
frame 347 {
gotoAndPlay('Walk');
}
frame 348 {
_global.Zombie1MoveState = 'NotReady';
this.Torso.ShotgunInjuries.nextFrame();
this.LeftBicep.StumpMeat.nextFrame();
}
frame 376 {
gotoAndPlay('Walk');
this.LeftForearm._visible = false;
this.LeftHand._visible = false;
}
frame 377 {
_global.Zombie1MoveState = 'NotReady';
this.Torso.MachinegunInjuries.play();
}
frame 403 {
gotoAndPlay('Walk');
}
frame 404 {
_global.Zombie1MoveState = 'NotReady';
this.Head.HeadHole.nextFrame();
}
frame 450 {
_global.Zombie1MoveState = null;
this.Torso.PistolInjuries.gotoAndStop(1);
this.Torso.ShotgunInjuries.gotoAndStop(1);
this.Torso.MachinegunInjuries.gotoAndStop(1);
this.Hips.nextFrame();
this.Torso.nextFrame();
this.LeftBicep.nextFrame();
this.LeftForearm.nextFrame();
this.LeftHand.nextFrame();
this.RightBicep.nextFrame();
this.RightForearm.nextFrame();
this.RightHand.nextFrame();
this.LeftThigh.nextFrame();
this.LeftCalf.nextFrame();
this.LeftFoot.nextFrame();
this.RightThigh.nextFrame();
this.RightCalf.nextFrame();
this.RightFoot.nextFrame();
gotoAndPlay('Walk');
this._x = 800;
this.Head.nextFrame();
this.Head.HeadHole.prevFrame();
this.LeftBicep.StumpMeat.prevFrame();
this.LeftForearm._visible = true;
this.LeftHand._visible = true;
}
frame 451 {
_global.Zombie1MoveState = 'NotReady';
}
frame 476 {
_global.Zombie1MoveState = null;
this.Torso.PistolInjuries.gotoAndStop(1);
this.Torso.ShotgunInjuries.gotoAndStop(1);
this.Torso.MachinegunInjuries.gotoAndStop(1);
this.Hips.nextFrame();
this.Torso.nextFrame();
this.LeftBicep.nextFrame();
this.LeftForearm.nextFrame();
this.LeftHand.nextFrame();
this.RightBicep.nextFrame();
this.RightForearm.nextFrame();
this.RightHand.nextFrame();
this.LeftThigh.nextFrame();
this.LeftCalf.nextFrame();
this.LeftFoot.nextFrame();
this.RightThigh.nextFrame();
this.RightCalf.nextFrame();
this.RightFoot.nextFrame();
gotoAndPlay('Walk');
this._x = 800;
this.Head.nextFrame();
this.Head.HeadHole.prevFrame();
this.LeftBicep.StumpMeat.prevFrame();
this.LeftForearm._visible = true;
this.LeftHand._visible = true;
}
frame 477 {
_global.Zombie1MoveState = 'NotReady';
}
frame 502 {
_global.Zombie1MoveState = null;
this.Torso.PistolInjuries.gotoAndStop(1);
this.Torso.ShotgunInjuries.gotoAndStop(1);
this.Torso.MachinegunInjuries.gotoAndStop(1);
this.Hips.nextFrame();
this.Torso.nextFrame();
this.LeftBicep.nextFrame();
this.LeftForearm.nextFrame();
this.LeftHand.nextFrame();
this.RightBicep.nextFrame();
this.RightForearm.nextFrame();
this.RightHand.nextFrame();
this.LeftThigh.nextFrame();
this.LeftCalf.nextFrame();
this.LeftFoot.nextFrame();
this.RightThigh.nextFrame();
this.RightCalf.nextFrame();
this.RightFoot.nextFrame();
gotoAndPlay('Walk');
this._x = 800;
this.Head.nextFrame();
this.Head.HeadHole.prevFrame();
this.LeftBicep.StumpMeat.prevFrame();
this.LeftForearm._visible = true;
this.LeftHand._visible = true;
}
}
movieClip 1460 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
gotoAndStop(1);
}
}
movieClip 1471 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
gotoAndStop(1);
}
}
movieClip 1473 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
gotoAndStop(1);
}
}
movieClip 1476 {
}
movieClip 1487 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
gotoAndStop(1);
}
}
movieClip 1496 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
gotoAndStop(1);
}
}
movieClip 1505 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
gotoAndStop(1);
}
}
movieClip 1508 {
}
movieClip 1518 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
gotoAndStop(1);
}
}
movieClip 1527 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
gotoAndStop(1);
}
}
movieClip 1538 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
gotoAndStop(1);
}
}
movieClip 1541 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1550 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
gotoAndStop(1);
}
}
movieClip 1557 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
gotoAndStop(1);
}
}
movieClip 1566 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
gotoAndStop(1);
}
}
movieClip 1568 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
gotoAndStop(1);
}
}
movieClip 1570 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
gotoAndStop(1);
}
}
movieClip 1573 {
frame 1 {
_global.Zombie2MoveState = null;
}
frame 68 {
gotoAndPlay('Walk');
}
frame 69 {
_global.Zombie2MoveState = 'NotReady';
}
frame 113 {
gotoAndPlay('Walk');
}
frame 114 {
_global.Zombie2MoveState = 'Lunge';
}
frame 145 {
gotoAndPlay('LungeRush');
}
frame 146 {
_global.Zombie2MoveState = 'Attacking';
}
frame 165 {
gotoAndPlay('GrabStruggle');
}
frame 166 {
_global.Zombie2MoveState = 'NotReady';
}
frame 192 {
gotoAndPlay('Walk');
}
frame 193 {
_global.Zombie2MoveState = 'Feeding';
}
frame 213 {
gotoAndPlay('Feeding');
}
frame 214 {
_global.Zombie2MoveState = 'NotReady';
this.Torso.PistolInjuries.nextFrame();
}
frame 241 {
gotoAndPlay('Walk');
}
frame 242 {
_global.Zombie2MoveState = 'NotReady';
this.Torso.ShotgunInjuries.nextFrame();
}
frame 263 {
gotoAndPlay('Walk');
}
frame 264 {
_global.Zombie2MoveState = 'NotReady';
this.Torso.MachinegunInjuries.play();
}
frame 286 {
gotoAndPlay('Walk');
}
frame 287 {
_global.Zombie2MoveState = 'NotReady';
}
frame 310 {
_global.Zombie2MoveState = null;
this.Torso.PistolInjuries.gotoAndStop(1);
this.Torso.ShotgunInjuries.gotoAndStop(1);
this.Torso.MachinegunInjuries.gotoAndStop(1);
this.Hips.nextFrame();
this.Torso.nextFrame();
this.LeftBicep.nextFrame();
this.LeftForearm.nextFrame();
this.LeftHand.nextFrame();
this.RightBicep.nextFrame();
this.RightForearm.nextFrame();
this.RightHand.nextFrame();
this.LeftThigh.nextFrame();
this.LeftCalf.nextFrame();
this.LeftFoot.nextFrame();
this.RightThigh.nextFrame();
this.RightCalf.nextFrame();
this.RightFoot.nextFrame();
gotoAndPlay('Walk');
this._x = 800;
this.Head.nextFrame();
this.Head.HeadHole.prevFrame();
}
frame 311 {
_global.Zombie2MoveState = 'NotReady';
}
frame 325 {
_global.Zombie2MoveState = null;
this.Torso.PistolInjuries.gotoAndStop(1);
this.Torso.ShotgunInjuries.gotoAndStop(1);
this.Torso.MachinegunInjuries.gotoAndStop(1);
this.Hips.nextFrame();
this.Torso.nextFrame();
this.LeftBicep.nextFrame();
this.LeftForearm.nextFrame();
this.LeftHand.nextFrame();
this.RightBicep.nextFrame();
this.RightForearm.nextFrame();
this.RightHand.nextFrame();
this.LeftThigh.nextFrame();
this.LeftCalf.nextFrame();
this.LeftFoot.nextFrame();
this.RightThigh.nextFrame();
this.RightCalf.nextFrame();
this.RightFoot.nextFrame();
gotoAndPlay('Walk');
this._x = 800;
this.Head.nextFrame();
this.Head.HeadHole.prevFrame();
}
frame 326 {
_global.Zombie2MoveState = 'NotReady';
this.Torso.MachinegunInjuries.play();
}
frame 354 {
_global.Zombie2MoveState = null;
this.Torso.PistolInjuries.gotoAndStop(1);
this.Torso.ShotgunInjuries.gotoAndStop(1);
this.Torso.MachinegunInjuries.gotoAndStop(1);
this.Hips.nextFrame();
this.Torso.nextFrame();
this.LeftBicep.nextFrame();
this.LeftForearm.nextFrame();
this.LeftHand.nextFrame();
this.RightBicep.nextFrame();
this.RightForearm.nextFrame();
this.RightHand.nextFrame();
this.LeftThigh.nextFrame();
this.LeftCalf.nextFrame();
this.LeftFoot.nextFrame();
this.RightThigh.nextFrame();
this.RightCalf.nextFrame();
this.RightFoot.nextFrame();
gotoAndPlay('Walk');
this._x = 800;
this.Head.nextFrame();
this.Head.HeadHole.prevFrame();
}
}
movieClip 1586 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1599 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1601 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1613 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1624 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1636 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1645 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1656 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1669 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1681 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1685 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1695 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1699 {
frame 1 {
_global.Zombie3MoveState = null;
}
frame 39 {
gotoAndPlay('Walk');
}
frame 40 {
_global.Zombie3MoveState = 'NotReady';
}
frame 85 {
gotoAndPlay('Walk');
}
frame 86 {
_global.Zombie3MoveState = 'Lunge';
}
frame 120 {
gotoAndPlay('LungeRush');
}
frame 121 {
_global.Zombie3MoveState = 'Attacking';
}
frame 144 {
gotoAndPlay('GrabStruggle');
}
frame 145 {
_global.Zombie3MoveState = 'NotReady';
}
frame 170 {
gotoAndPlay('Walk');
}
frame 171 {
_global.Zombie3MoveState = 'Feeding';
}
frame 191 {
gotoAndPlay('Feeding');
}
frame 192 {
_global.Zombie3MoveState = 'NotReady';
this.Torso.PistolInjuries.nextFrame();
}
frame 216 {
gotoAndPlay('Walk');
}
frame 217 {
_global.Zombie3MoveState = 'NotReady';
this.Torso.ShotgunInjuries.nextFrame();
}
frame 235 {
gotoAndPlay('Walk');
}
frame 236 {
_global.Zombie3MoveState = 'NotReady';
this.Torso.MachinegunInjuries.play();
}
frame 257 {
gotoAndPlay('Walk');
}
frame 258 {
_global.Zombie3MoveState = 'NotReady';
this.Head.HeadHole.nextFrame();
}
frame 290 {
_global.Zombie3MoveState = null;
this.Torso.PistolInjuries.gotoAndStop(1);
this.Torso.ShotgunInjuries.gotoAndStop(1);
this.Torso.MachinegunInjuries.gotoAndStop(1);
this.LeftBicep.StumpMeat.prevFrame();
this.Hips.nextFrame();
this.Torso.nextFrame();
this.LeftBicep.nextFrame();
this.LeftForearm.nextFrame();
this.LeftHand.nextFrame();
this.RightBicep.nextFrame();
this.RightForearm.nextFrame();
this.RightHand.nextFrame();
this.LeftThigh.nextFrame();
this.LeftCalf.nextFrame();
this.LeftFoot.nextFrame();
this.RightThigh.nextFrame();
this.RightCalf.nextFrame();
this.RightFoot.nextFrame();
gotoAndPlay('Walk');
this._x = 800;
this.Head.nextFrame();
this.Head.HeadHole.prevFrame();
}
frame 291 {
_global.Zombie3MoveState = 'NotReady';
}
frame 334 {
_global.Zombie3MoveState = null;
this.Torso.PistolInjuries.gotoAndStop(1);
this.Torso.ShotgunInjuries.gotoAndStop(1);
this.Torso.MachinegunInjuries.gotoAndStop(1);
this.LeftBicep.StumpMeat.prevFrame();
this.Hips.nextFrame();
this.Torso.nextFrame();
this.LeftBicep.nextFrame();
this.LeftForearm.nextFrame();
this.LeftHand.nextFrame();
this.RightBicep.nextFrame();
this.RightForearm.nextFrame();
this.RightHand.nextFrame();
this.LeftThigh.nextFrame();
this.LeftCalf.nextFrame();
this.LeftFoot.nextFrame();
this.RightThigh.nextFrame();
this.RightCalf.nextFrame();
this.RightFoot.nextFrame();
gotoAndPlay('Walk');
this._x = 800;
this.Head.nextFrame();
this.Head.HeadHole.prevFrame();
}
frame 335 {
_global.Zombie3MoveState = 'NotReady';
}
frame 363 {
_global.Zombie3MoveState = null;
this.Torso.PistolInjuries.gotoAndStop(1);
this.Torso.ShotgunInjuries.gotoAndStop(1);
this.Torso.MachinegunInjuries.gotoAndStop(1);
this.LeftBicep.StumpMeat.prevFrame();
this.Hips.nextFrame();
this.Torso.nextFrame();
this.LeftBicep.nextFrame();
this.LeftForearm.nextFrame();
this.LeftHand.nextFrame();
this.RightBicep.nextFrame();
this.RightForearm.nextFrame();
this.RightHand.nextFrame();
this.LeftThigh.nextFrame();
this.LeftCalf.nextFrame();
this.LeftFoot.nextFrame();
this.RightThigh.nextFrame();
this.RightCalf.nextFrame();
this.RightFoot.nextFrame();
gotoAndPlay('Walk');
this._x = 800;
this.Head.nextFrame();
this.Head.HeadHole.prevFrame();
}
}
movieClip 1709 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1719 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1721 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1723 {
}
movieClip 1732 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1740 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1745 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1746 {
}
movieClip 1752 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1758 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1769 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1780 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1782 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1788 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1792 {
frame 12 {
stop();
}
}
movieClip 1795 {
frame 1 {
_global.Zombie4MoveState = null;
}
frame 41 {
gotoAndPlay('Walk');
}
frame 42 {
_global.Zombie4MoveState = 'NotReady';
}
frame 94 {
gotoAndPlay('Walk');
}
frame 95 {
_global.Zombie4MoveState = 'Lunge';
}
frame 155 {
gotoAndPlay('LungeRush');
}
frame 156 {
_global.Zombie4MoveState = 'Attacking';
}
frame 177 {
gotoAndPlay('GrabStruggle');
}
frame 178 {
_global.Zombie4MoveState = 'NotReady';
}
frame 196 {
gotoAndPlay('Walk');
}
frame 217 {
gotoAndPlay('Feeding');
}
frame 218 {
_global.Zombie4MoveState = 'NotReady';
this.Torso.PistolInjuries.nextFrame();
}
frame 242 {
gotoAndPlay('Walk');
}
frame 243 {
_global.Zombie4MoveState = 'NotReady';
this.Torso.ShotgunInjuries.nextFrame();
}
frame 261 {
gotoAndPlay('Walk');
}
frame 262 {
_global.Zombie4MoveState = 'NotReady';
this.Torso.MachinegunInjuries.play();
}
frame 288 {
gotoAndPlay('Walk');
}
frame 289 {
_global.Zombie4MoveState = 'NotReady';
this.Head.HeadHole.nextFrame();
}
frame 320 {
_global.Zombie4MoveState = null;
this.Torso.PistolInjuries.gotoAndStop(1);
this.Torso.ShotgunInjuries.gotoAndStop(1);
this.Torso.MachinegunInjuries.gotoAndStop(1);
this.Hips.nextFrame();
this.Torso.nextFrame();
this.LeftBicep.nextFrame();
this.LeftForearm.nextFrame();
this.LeftHand.nextFrame();
this.RightBicep.nextFrame();
this.RightForearm.nextFrame();
this.RightHand.nextFrame();
this.LeftThigh.nextFrame();
this.LeftCalf.nextFrame();
this.LeftFoot.nextFrame();
this.RightThigh.nextFrame();
this.RightCalf.nextFrame();
this.RightFoot.nextFrame();
gotoAndPlay('Walk');
this._x = 800;
this.Head.nextFrame();
this.Head.HeadHole.prevFrame();
}
frame 321 {
_global.Zombie4MoveState = 'NotReady';
}
frame 356 {
_global.Zombie4MoveState = null;
this.Torso.PistolInjuries.gotoAndStop(1);
this.Torso.ShotgunInjuries.gotoAndStop(1);
this.Torso.MachinegunInjuries.gotoAndStop(1);
this.Hips.nextFrame();
this.Torso.nextFrame();
this.LeftBicep.nextFrame();
this.LeftForearm.nextFrame();
this.LeftHand.nextFrame();
this.RightBicep.nextFrame();
this.RightForearm.nextFrame();
this.RightHand.nextFrame();
this.LeftThigh.nextFrame();
this.LeftCalf.nextFrame();
this.LeftFoot.nextFrame();
this.RightThigh.nextFrame();
this.RightCalf.nextFrame();
this.RightFoot.nextFrame();
gotoAndPlay('Walk');
this._x = 800;
this.Head.nextFrame();
this.Head.HeadHole.prevFrame();
}
frame 357 {
_global.Zombie4MoveState = 'NotReady';
}
frame 398 {
_global.Zombie4MoveState = null;
this.Torso.PistolInjuries.gotoAndStop(1);
this.Torso.ShotgunInjuries.gotoAndStop(1);
this.Torso.MachinegunInjuries.gotoAndStop(1);
this.Hips.nextFrame();
this.Torso.nextFrame();
this.LeftBicep.nextFrame();
this.LeftForearm.nextFrame();
this.LeftHand.nextFrame();
this.RightBicep.nextFrame();
this.RightForearm.nextFrame();
this.RightHand.nextFrame();
this.LeftThigh.nextFrame();
this.LeftCalf.nextFrame();
this.LeftFoot.nextFrame();
this.RightThigh.nextFrame();
this.RightCalf.nextFrame();
this.RightFoot.nextFrame();
gotoAndPlay('Walk');
this._x = 800;
this.Head.nextFrame();
this.Head.HeadHole.prevFrame();
}
}
movieClip 1859 {
}
movieClip 1866 {
}
movieClip 1929 {
}
movieClip 1932 {
}
movieClip 1933 {
frame 1 {
stop();
}
frame 90 {
gotoAndStop(1);
}
}
movieClip 1934 {
frame 51 {
gotoAndPlay('Hover');
}
frame 65 {
gotoAndPlay('Hover');
}
frame 90 {
stop();
this._y = 345;
}
}
movieClip 1941 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 1946 {
}
movieClip 1950 {
frame 1 {
_root.FadeOut.gotoAndPlay('FadeIn');
}
frame 135 {
stop();
_global.StoryArc = 'Done';
_root.StoryArcs.gotoAndStop(1);
}
}
movieClip 1957 {
frame 1 {
_root.FadeOut.gotoAndPlay('FadeIn');
}
frame 190 {
stop();
_global.StoryArc = 'Done';
_root.StoryArcs.gotoAndStop(1);
}
}
movieClip 1961 {
frame 1 {
_root.FadeOut.gotoAndPlay('FadeIn');
}
frame 94 {
_root.StoryArcs.Arc3.StoryDrone.AlienBullet.play();
}
frame 171 {
stop();
_global.StoryArc = 'Done';
_root.StoryArcs.gotoAndStop(1);
}
}
movieClip 1968 {
}
movieClip 1974 {
}
movieClip 1976 {
frame 1 {
_root.FadeOut.gotoAndPlay('FadeIn');
}
frame 299 {
stop();
_global.StoryArc = 'Done';
_root.StoryArcs.gotoAndStop(1);
}
}
movieClip 1981 {
}
movieClip 1990 {
}
movieClip 1993 {
}
movieClip 1996 {
}
movieClip 2001 {
}
movieClip 2004 {
}
movieClip 2018 {
frame 1 {
_root.FadeOut.gotoAndPlay('FadeIn');
}
frame 249 {
stop();
_root.FadeOut.gotoAndPlay('FadeOut');
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
_root.FadeOut.gotoAndPlay('FadeIn');
delete onEnterFrame;
play();
}
};
}
frame 403 {
stop();
_root.FadeOut.gotoAndPlay('FadeOut');
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
_root.FadeOut.gotoAndPlay('FadeIn');
delete onEnterFrame;
play();
}
};
}
frame 810 {
_root.Exclusive.play();
}
frame 1472 {
stop();
_root.FadeOut.gotoAndPlay('FadeOut');
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
_root.FadeOut.gotoAndPlay('FadeIn');
delete onEnterFrame;
_root.gotoAndPlay(1);
}
};
}
}
movieClip 2019 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
_root.BackPack.HubbHolder.gotoAndStop(1);
}
}
movieClip 2020 {
}
movieClip 2022 {
}
movieClip 2025 {
}
// unknown tag 88 length 144
movieClip 2044 {
}
movieClip 2045 {
}
movieClip 2046 {
}
movieClip 2050 {
}
movieClip 2051 {
}
movieClip 2054 {
frame 179 {
_root.Exclusive.gotoAndStop(2);
}
instance Start_btn of movieClip 2051 {
onClipEvent (release) {
_root.FadeOut.gotoAndPlay('FadeOut');
}
}
frame 200 {
_root.Exclusive.gotoAndPlay(2);
}
frame 370 {
stop();
}
}
movieClip 2064 {
}
movieClip 2065 {
}
movieClip 2200 {
frame 1 {
play();
}
frame 63 {
gotoAndPlay(1);
}
}
movieClip 2211 {
}
movieClip 2215 {
}
movieClip 2216 {
frame 1 {
_root.FadeOut.gotoAndStop(1);
play();
}
frame 222 {
stop();
_root.FadeOut.gotoAndPlay('FadeOut');
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
_root.FadeOut.gotoAndPlay('FadeIn');
delete onEnterFrame;
play();
}
};
}
frame 340 {
stop();
_root.FadeOut.gotoAndPlay('FadeOut');
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
_root.FadeOut.gotoAndPlay('FadeIn');
delete onEnterFrame;
play();
}
};
}
frame 753 {
stop();
_root.FadeOut.gotoAndPlay('FadeOut');
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
_root.FadeOut.gotoAndPlay('FadeIn');
delete onEnterFrame;
play();
}
};
}
frame 1759 {
stop();
_root.FadeOut.gotoAndPlay('FadeOut');
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
_root.FadeOut.gotoAndPlay('FadeIn');
delete onEnterFrame;
play();
}
};
}
frame 2252 {
stop();
_root.FadeOut.gotoAndPlay('FadeOut');
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
_root.FadeOut.gotoAndPlay('FadeIn');
delete onEnterFrame;
play();
}
};
}
frame 2419 {
stop();
_root.FadeOut.gotoAndPlay('FadeOut');
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
delete onEnterFrame;
_root.FadeOut.gotoAndPlay('FadeIn');
InitializeLevel();
_root.GameMessages.gotoAndStop('GamePlay');
_root.GameMessages.LevelStartText.gotoAndStop(1);
_root.BackPack.HubbHolder.gotoAndStop('HubbMessage');
_root.FadeOut.gotoAndPlay('FadeIn');
_root.ShiftBtn.gotoAndStop('Begin');
_global.LevelState = 'GamePlay';
}
};
}
}
movieClip 2218 {
}
movieClip 2226 {
frame 90 {
stop();
_root.BackPack.ControlMessages.gotoAndStop('PressShift');
}
}
movieClip 2227 {
}
movieClip 2229 {
frame 1 {
stop();
}
}
movieClip 2234 {
}
movieClip 2235 {
}
movieClip 2241 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
gotoAndStop(1);
}
}
movieClip 2246 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
gotoAndStop(1);
}
}
movieClip 2251 {
frame 277 {
stop();
_root.BackPack._visible = true;
_root.BackPack.gotoAndStop('Close');
_root.BackPack.Inventory.LongGun.gotoAndStop('LightShotgun');
_root.BackPack.Inventory.Highlight.gotoAndStop('LongGun');
_root.BackPack.Inventory.Highlight.LongGunDisplay.gotoAndStop('LightShotgun');
_global.BlockadeOutCome = 'Pass1';
play();
}
frame 384 {
stop();
_root.FadeOut.gotoAndPlay('FadeOut');
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
_root.FadeOut.gotoAndPlay('FadeIn');
delete onEnterFrame;
nextFrame();
}
};
}
frame 385 {
stop();
_root.BackPack.gotoAndStop(1);
_root.GameMessages.Blockade.Sewer.play();
_root.Discovery.gotoAndStop('None');
}
}
movieClip 2256 {
frame 246 {
stop();
_root.BackPack._visible = true;
_root.BackPack.gotoAndStop('Close');
_root.BackPack.Inventory.HandGun.gotoAndStop('LightPistol');
_root.BackPack.Inventory.Highlight.gotoAndStop('HandGun');
_root.BackPack.Inventory.Highlight.HandGunDisplay.gotoAndStop('LightPistol');
_global.BlockadeOutCome = 'Pass2';
play();
}
frame 301 {
stop();
_root.FadeOut.gotoAndPlay('FadeOut');
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
_root.FadeOut.gotoAndPlay('FadeIn');
delete onEnterFrame;
nextFrame();
}
};
}
frame 302 {
stop();
_root.BackPack.gotoAndStop(1);
_root.GameMessages.Blockade.Sewer.play();
_root.Discovery.gotoAndStop('None');
}
}
movieClip 2259 {
frame 331 {
stop();
_root.BackPack._visible = true;
_root.BackPack.gotoAndStop('Close');
_root.BackPack.Inventory.Highlight.gotoAndStop('CloseCombat');
_root.BackPack.Inventory.CloseCombat.gotoAndStop('FireAxe');
_root.BackPack.Inventory.Highlight.CloseCombatDisplay.gotoAndStop('FireAxe');
_global.BlockadeOutCome = 'Pass3';
play();
}
frame 413 {
stop();
_root.FadeOut.gotoAndPlay('FadeOut');
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
_root.FadeOut.gotoAndPlay('FadeIn');
delete onEnterFrame;
nextFrame();
}
};
}
frame 414 {
stop();
_root.BackPack.gotoAndStop(1);
_root.GameMessages.Blockade.Sewer.play();
_root.Discovery.gotoAndStop('None');
}
}
movieClip 2260 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
_global.BlockadeOutCome = 'Pass1';
}
frame 5 {
stop();
_global.BlockadeOutCome = 'Pass2';
}
frame 6 {
stop();
_global.BlockadeOutCome = 'Pass3';
}
}
movieClip 2265 {
}
movieClip 2266 {
frame 1 {
stop();
}
frame 2 {
stop();
_global.Sewer = 'Active';
play();
}
frame 80 {
stop();
_global.Sewer = null;
InitializeLevel();
_root.GameMessages.gotoAndStop('GamePlay');
}
}
movieClip 2273 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 2278 {
}
movieClip 2284 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 2285 {
frame 1 {
stop();
}
frame 30 {
stop();
_root.BackPack.gotoAndStop('Close');
_root.GameMessages.Blockade.BlockadeMessage.gotoAndStop(1);
}
}
movieClip 2292 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
gotoAndStop(1);
}
}
movieClip 2297 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
gotoAndStop(1);
}
}
movieClip 2302 {
frame 342 {
stop();
_root.BackPack._visible = true;
_root.BackPack.gotoAndStop('Close');
_root.BackPack.Inventory.LongGun.gotoAndStop('LightMachinegun');
_root.BackPack.Inventory.Highlight.gotoAndStop('LongGun');
_root.BackPack.Inventory.Highlight.LongGunDisplay.gotoAndStop('LightMachinegun');
_global.BlockadeOutCome = 'Pass1';
play();
}
frame 474 {
stop();
_root.FadeOut.gotoAndPlay('FadeOut');
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
_root.FadeOut.gotoAndPlay('FadeIn');
delete onEnterFrame;
nextFrame();
}
};
}
frame 475 {
stop();
_root.BackPack.gotoAndStop(1);
_root.GameMessages.Blockade.Sewer.play();
_root.Discovery.gotoAndStop('None');
}
}
movieClip 2306 {
frame 318 {
stop();
_root.BackPack._visible = true;
_root.BackPack.gotoAndStop('Close');
_root.BackPack.Inventory.HandGun.gotoAndStop('HeavyPistol');
_root.BackPack.Inventory.Highlight.gotoAndStop('HandGun');
_root.BackPack.Inventory.Highlight.HandGunDisplay.gotoAndStop('HeavyPistol');
_global.BlockadeOutCome = 'Pass2';
play();
}
frame 417 {
stop();
_root.FadeOut.gotoAndPlay('FadeOut');
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
_root.FadeOut.gotoAndPlay('FadeIn');
delete onEnterFrame;
nextFrame();
}
};
}
frame 418 {
stop();
_root.BackPack.gotoAndStop(1);
_root.GameMessages.Blockade.Sewer.play();
_root.Discovery.gotoAndStop('None');
}
}
movieClip 2310 {
frame 239 {
stop();
_root.BackPack._visible = true;
_root.BackPack.gotoAndStop('Close');
_root.BackPack.Inventory.CloseCombat.gotoAndStop('Cleaver');
_root.BackPack.Inventory.Highlight.gotoAndStop('CloseCombat');
_root.BackPack.Inventory.Highlight.CloseCombatDisplay.gotoAndStop('Cleaver');
_global.BlockadeOutCome = 'Pass3';
play();
}
frame 321 {
stop();
_root.FadeOut.gotoAndPlay('FadeOut');
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
InitializeLevel();
UnPauseGameplay();
_root.BackPack._visible = true;
_root.BackPack.HubbHolder.play();
_root.GameMessages.LevelStartText.gotoAndStop('Hidden');
_root.GameMessages.gotoAndStop('Gameplay');
_root.BackPack.ControlMessages.gotoAndStop('None');
_root.FadeOut.gotoAndPlay('FadeIn');
}
};
}
}
movieClip 2311 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
_global.BlockadeOutCome = 'Pass1';
}
frame 5 {
stop();
_global.BlockadeOutCome = 'Pass2';
}
frame 6 {
stop();
_global.BlockadeOutCome = 'Pass3';
}
}
movieClip 2318 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
gotoAndStop(1);
}
}
movieClip 2322 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
gotoAndStop(1);
}
}
movieClip 2327 {
frame 395 {
stop();
_root.BackPack._visible = true;
_root.BackPack.gotoAndStop('Close');
_root.BackPack.Inventory.CloseCombat.gotoAndStop('Crowbar');
_root.BackPack.Inventory.Highlight.gotoAndStop('CloseCombat');
_root.BackPack.Inventory.Highlight.CloseCombatDisplay.gotoAndStop('Crowbar');
_global.BlockadeOutCome = 'Pass1';
play();
}
frame 477 {
stop();
_root.FadeOut.gotoAndPlay('FadeOut');
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
_root.FadeOut.gotoAndPlay('FadeIn');
delete onEnterFrame;
nextFrame();
}
};
}
frame 478 {
stop();
_root.BackPack.gotoAndStop(1);
_root.GameMessages.Blockade.Sewer.play();
_root.Discovery.gotoAndStop('None');
}
}
movieClip 2330 {
frame 467 {
stop();
_root.BackPack._visible = true;
_root.BackPack.gotoAndStop('Close');
_root.BackPack.Inventory.CloseCombat.gotoAndStop('Fist');
_root.BackPack.Inventory.Highlight.gotoAndStop('CloseCombat');
_global.BlockadeOutCome = 'Pass2';
play();
}
frame 563 {
stop();
_root.FadeOut.gotoAndPlay('FadeOut');
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
_root.FadeOut.gotoAndPlay('FadeIn');
delete onEnterFrame;
nextFrame();
}
};
}
frame 564 {
stop();
_root.BackPack.gotoAndStop(1);
_root.GameMessages.Blockade.Sewer.play();
_root.Discovery.gotoAndStop('None');
}
}
movieClip 2333 {
frame 138 {
stop();
_root.BackPack._visible = true;
_root.BackPack.gotoAndStop('Close');
_root.BackPack.Inventory.LongGun.gotoAndStop('HeavyShotgun');
_root.BackPack.Inventory.Highlight.gotoAndStop('LongGun');
_root.BackPack.Inventory.Highlight.LongGunDisplay.gotoAndStop('HeavyShotgun');
_global.BlockadeOutCome = 'Pass3';
play();
}
frame 220 {
stop();
_root.FadeOut.gotoAndPlay('FadeOut');
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
InitializeLevel();
UnPauseGameplay();
_root.BackPack._visible = true;
_root.BackPack.HubbHolder.play();
_root.GameMessages.LevelStartText.gotoAndStop('Hidden');
_root.GameMessages.gotoAndStop('Gameplay');
_root.BackPack.ControlMessages.gotoAndStop('None');
_root.FadeOut.gotoAndPlay('FadeIn');
}
};
}
}
movieClip 2334 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
_global.BlockadeOutCome = 'Pass1';
}
frame 5 {
stop();
_global.BlockadeOutCome = 'Pass2';
}
frame 6 {
stop();
_global.BlockadeOutCome = 'Pass3';
}
}
movieClip 2341 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
gotoAndStop(1);
}
}
movieClip 2345 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
gotoAndStop(1);
}
}
movieClip 2348 {
frame 202 {
stop();
_root.BackPack._visible = true;
_root.BackPack.gotoAndStop('Close');
_root.BackPack.Inventory.LongGun.gotoAndStop('HeavyMachinegun');
_root.BackPack.Inventory.Highlight.gotoAndStop('LongGun');
_root.BackPack.Inventory.Highlight.LongGunDisplay.gotoAndStop('HeavyMachinegun');
_global.BlockadeOutCome = 'Pass1';
play();
}
frame 302 {
stop();
_root.FadeOut.gotoAndPlay('FadeOut');
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
_root.FadeOut.gotoAndPlay('FadeIn');
delete onEnterFrame;
nextFrame();
}
};
}
frame 303 {
stop();
_root.BackPack.gotoAndStop(1);
_root.GameMessages.Blockade.Sewer.play();
_root.Discovery.gotoAndStop('None');
}
}
movieClip 2351 {
frame 300 {
stop();
_root.BackPack._visible = true;
_root.BackPack.gotoAndStop('Close');
_root.BackPack.Inventory.LongGun.gotoAndStop('HeavyShotgun');
_root.BackPack.Inventory.Highlight.gotoAndStop('LongGun');
_root.BackPack.Inventory.Highlight.LongGunDisplay.gotoAndStop('HeavyShotgun');
_global.BlockadeOutCome = 'Pass2';
play();
}
frame 409 {
stop();
_root.FadeOut.gotoAndPlay('FadeOut');
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
_root.FadeOut.gotoAndPlay('FadeIn');
delete onEnterFrame;
nextFrame();
}
};
}
frame 410 {
stop();
_root.BackPack.gotoAndStop(1);
_root.GameMessages.Blockade.Sewer.play();
_root.Discovery.gotoAndStop('None');
}
}
movieClip 2354 {
frame 138 {
stop();
_root.BackPack._visible = true;
_root.BackPack.gotoAndStop('Close');
_root.BackPack.Inventory.LongGun.gotoAndStop('Knife');
_root.BackPack.Inventory.Highlight.gotoAndStop('CloseCombat');
_root.BackPack.Inventory.Highlight.CloseCombatDisplay.gotoAndStop('Knife');
_global.BlockadeOutCome = 'Pass3';
play();
}
frame 237 {
stop();
_root.FadeOut.gotoAndPlay('FadeOut');
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
InitializeLevel();
UnPauseGameplay();
_root.BackPack._visible = true;
_root.BackPack.HubbHolder.play();
_root.GameMessages.LevelStartText.gotoAndStop('Hidden');
_root.GameMessages.gotoAndStop('Gameplay');
_root.BackPack.ControlMessages.gotoAndStop('None');
_root.FadeOut.gotoAndPlay('FadeIn');
}
};
}
}
movieClip 2355 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
}
movieClip 2356 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 2363 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 2370 {
}
movieClip 2371 {
frame 1 {
stop();
_root.ShiftBtn._visible = true;
_root._root.ShiftBtn.gotoAndStop('Begin');
_global.LevelState = 'PrePlay';
}
frame 2 {
stop();
_root.ShiftBtn._visible = false;
play();
}
frame 30 {
stop();
_root.ShiftBtn._visible = false;
_global.LevelState = 'GamePlay';
}
}
movieClip 2372 {
frame 1 {
stop();
_global.LevelState = 'Title';
_root.Discovery.gotoAndStop(1);
_root.StaminaHolder._visible = false;
_root.Searching._visible = false;
_root.Reloading._visible = false;
_root.BackPack.HubbHolder._visible = false;
_root.Zombie1.stop();
_root.Zombie2.stop();
_root.Zombie3.stop();
_root.Zombie4.stop();
onEnterFrame = function () {
if (_global.FadeState == 'OutEnd') {
_root.GameMessages.gotoAndStop('Story');
delete onEnterFrame;
}
};
}
frame 2 {
stop();
_global.LevelState = 'Story';
_root.Exclusive.gotoAndStop(1);
_root.Discovery.gotoAndStop(1);
_root.StaminaHolder._visible = false;
_root.Searching._visible = false;
_root.Reloading._visible = false;
_root.BackPack.HubbHolder._visible = false;
_root.ShiftBtn._visible = true;
_root.ShiftBtn.gotoAndStop('Skip');
}
frame 3 {
stop();
_global.LevelState = 'Death';
_root.Exclusive.play();
_root.ShiftBtn._visible = true;
_root.ShiftBtn.gotoAndStop('Continue');
}
frame 4 {
stop();
_global.LevelState = 'Blockade';
_root.Exclusive.gotoAndStop(1);
_root.BackPack.HubbHolder.gotoAndStop(1);
_root.Bloodlust.gotoAndStop(1);
_root.ShiftBtn._visible = true;
_root.ShiftBtn.gotoAndStop('Continue');
}
frame 5 {
stop();
_root.Exclusive.gotoAndStop(1);
_root.BackPack._visible = true;
_root.BackPack.HubbHolder._visible = true;
}
}
movieClip 2398 {
frame 1 {
stop();
_global.Pocket1 = 'None';
}
frame 2 {
stop();
_global.Pocket1 = 'Condom';
}
frame 3 {
stop();
_global.Pocket1 = 'Booze';
}
frame 4 {
stop();
_global.Pocket1 = 'Food';
}
frame 5 {
stop();
_global.Pocket1 = 'Declaration';
}
frame 6 {
stop();
_global.Pocket1 = 'Santa';
}
frame 7 {
stop();
_global.Pocket1 = 'Batteries';
}
frame 8 {
stop();
_global.Pocket1 = 'Crack';
}
frame 9 {
stop();
_global.Pocket1 = 'Bible';
}
frame 10 {
stop();
_global.Pocket1 = 'FanHat';
}
frame 11 {
stop();
_global.Pocket1 = 'Chess';
}
frame 12 {
stop();
_global.Pocket1 = 'Lighter';
}
frame 13 {
stop();
_global.Pocket1 = 'ToiletPaper';
}
}
movieClip 2399 {
frame 1 {
stop();
_global.Pocket2 = 'None';
}
frame 2 {
stop();
_global.Pocket2 = 'Condom';
}
frame 3 {
stop();
_global.Pocket2 = 'Booze';
}
frame 4 {
stop();
_global.Pocket2 = 'Food';
}
frame 5 {
stop();
_global.Pocket2 = 'Declaration';
}
frame 6 {
stop();
_global.Pocket2 = 'Santa';
}
frame 7 {
stop();
_global.Pocket2 = 'Batteries';
}
frame 8 {
stop();
_global.Pocket2 = 'Crack';
}
frame 9 {
stop();
_global.Pocket2 = 'Bible';
}
frame 10 {
stop();
_global.Pocket2 = 'FanHat';
}
frame 11 {
stop();
_global.Pocket2 = 'Chess';
}
frame 12 {
stop();
_global.Pocket2 = 'Lighter';
}
frame 13 {
stop();
_global.Pocket2 = 'ToiletPaper';
}
}
movieClip 2400 {
frame 1 {
stop();
_global.Pocket3 = 'None';
}
frame 2 {
stop();
_global.Pocket3 = 'Condom';
}
frame 3 {
stop();
_global.Pocket3 = 'Booze';
}
frame 4 {
stop();
_global.Pocket3 = 'Food';
}
frame 5 {
stop();
_global.Pocket3 = 'Declaration';
}
frame 6 {
stop();
_global.Pocket3 = 'Santa';
}
frame 7 {
stop();
_global.Pocket3 = 'Batteries';
}
frame 8 {
stop();
_global.Pocket3 = 'Crack';
}
frame 9 {
stop();
_global.Pocket3 = 'Bible';
}
frame 10 {
stop();
_global.Pocket3 = 'FanHat';
}
frame 11 {
stop();
_global.Pocket3 = 'Chess';
}
frame 12 {
stop();
_global.Pocket3 = 'Lighter';
}
frame 13 {
stop();
_global.Pocket3 = 'ToiletPaper';
}
}
movieClip 2401 {
frame 1 {
stop();
_global.Pocket4 = 'None';
}
frame 2 {
stop();
_global.Pocket4 = 'Condom';
}
frame 3 {
stop();
_global.Pocket4 = 'Booze';
}
frame 4 {
stop();
_global.Pocket4 = 'Food';
}
frame 5 {
stop();
_global.Pocket4 = 'Declaration';
}
frame 6 {
stop();
_global.Pocket4 = 'Santa';
}
frame 7 {
stop();
_global.Pocket4 = 'Batteries';
}
frame 8 {
stop();
_global.Pocket4 = 'Crack';
}
frame 9 {
stop();
_global.Pocket4 = 'Bible';
}
frame 10 {
stop();
_global.Pocket4 = 'FanHat';
}
frame 11 {
stop();
_global.Pocket4 = 'Chess';
}
frame 12 {
stop();
_global.Pocket4 = 'Lighter';
}
frame 13 {
stop();
_global.Pocket4 = 'ToiletPaper';
}
}
movieClip 2403 {
}
movieClip 2405 {
}
movieClip 2407 {
}
movieClip 2409 {
}
movieClip 2411 {
}
movieClip 2413 {
}
movieClip 2415 {
}
movieClip 2418 {
frame 1 {
stop();
_global.InventoryStick = 'Bass';
}
frame 2 {
stop();
_global.InventoryStick = 'BattleAxe';
}
frame 3 {
stop();
_global.InventoryStick = 'Cleaver';
}
frame 4 {
stop();
_global.InventoryStick = 'Crowbar';
}
frame 5 {
stop();
_global.InventoryStick = 'FireAxe';
}
frame 6 {
stop();
_global.InventoryStick = 'Knife';
}
frame 7 {
stop();
_global.InventoryStick = 'Hammer';
}
frame 8 {
stop();
_global.InventoryStick = 'Fist';
}
}
movieClip 2420 {
}
movieClip 2422 {
}
movieClip 2424 {
}
movieClip 2425 {
frame 1 {
stop();
_global.InventoryHandGun = 'None';
}
frame 2 {
stop();
_global.InventoryHandGun = 'HeavyPistol';
}
frame 3 {
stop();
_global.InventoryHandGun = 'LightPistol';
}
}
movieClip 2428 {
}
movieClip 2430 {
}
movieClip 2432 {
}
movieClip 2434 {
}
movieClip 2435 {
frame 1 {
stop();
_global.InventoryLongGun = 'None';
}
frame 2 {
stop();
_global.InventoryLongGun = 'HeavyMachinegun';
}
frame 3 {
stop();
_global.InventoryLongGun = 'HeavyShotgun';
}
frame 4 {
stop();
_global.InventoryLongGun = 'LightMachinegun';
}
frame 5 {
stop();
_global.InventoryLongGun = 'LightShotgun';
}
}
movieClip 2437 {
}
// unknown tag 88 length 112
movieClip 2442 {
}
// unknown tag 88 length 118
movieClip 2447 {
}
// unknown tag 88 length 89
movieClip 2452 {
}
// unknown tag 88 length 126
movieClip 2456 {
}
// unknown tag 88 length 154
movieClip 2460 {
}
// unknown tag 88 length 146
movieClip 2465 {
}
// unknown tag 88 length 104
movieClip 2469 {
}
movieClip 2470 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
}
// unknown tag 88 length 82
// unknown tag 88 length 153
movieClip 2480 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
// unknown tag 88 length 140
// unknown tag 88 length 120
movieClip 2495 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 2497 {
}
// unknown tag 88 length 98
movieClip 2502 {
}
// unknown tag 88 length 214
movieClip 2507 {
}
movieClip 2511 {
}
// unknown tag 88 length 213
movieClip 2515 {
}
// unknown tag 88 length 212
movieClip 2520 {
}
// unknown tag 88 length 105
movieClip 2525 {
}
// unknown tag 88 length 211
movieClip 2529 {
}
// unknown tag 88 length 93
movieClip 2532 {
}
// unknown tag 88 length 61
movieClip 2537 {
}
movieClip 2540 {
}
// unknown tag 88 length 89
movieClip 2544 {
}
movieClip 2547 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 13 {
stop();
}
}
movieClip 2548 {
frame 1 {
stop();
_global.HighLightState = 'CloseCombat';
_root.BackPack.Inventory.Highlight.CloseCombatDisplay.gotoAndStop(_global.InventoryStick);
_root.BackPack.Inventory.Highlight.HandGunDisplay.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.LongGunDisplay.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket1.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket2.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket3.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket4.gotoAndStop('None');
if (_global.InventoryStick == 'Bass') {
_global.NextWeapon = 'Bass';
_global.CurrentWeapon = _global.NextWeapon;
}
if (_global.InventoryStick == 'BattleAxe') {
_global.NextWeapon = 'BattleAxe';
_global.CurrentWeapon = _global.NextWeapon;
}
if (_global.InventoryStick == 'Cleaver') {
_global.NextWeapon = 'Cleaver';
_global.CurrentWeapon = _global.NextWeapon;
}
if (_global.InventoryStick == 'Crowbar') {
_global.NextWeapon = 'Crowbar';
_global.CurrentWeapon = _global.NextWeapon;
}
if (_global.InventoryStick == 'FireAxe') {
_global.NextWeapon = 'FireAxe';
_global.CurrentWeapon = _global.NextWeapon;
}
if (_global.InventoryStick == 'Hammer') {
_global.NextWeapon = 'Hammer';
_global.CurrentWeapon = _global.NextWeapon;
}
if (_global.InventoryStick == 'Knife') {
_global.NextWeapon = 'Knife';
_global.CurrentWeapon = _global.NextWeapon;
}
if (_global.InventoryStick == 'Fist') {
_global.NextWeapon = 'Fist';
_global.CurrentWeapon = _global.NextWeapon;
}
_root.Hero.gotoAndPlay('Swap-Start');
}
frame 2 {
stop();
_global.HighLightState = 'HandGun';
_root.BackPack.Inventory.Highlight.CloseCombatDisplay.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.HandGunDisplay.gotoAndStop(_global.InventoryHandGun);
_root.BackPack.Inventory.Highlight.LongGunDisplay.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket1.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket2.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket3.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket4.gotoAndStop('None');
if (_global.InventoryHandGun == 'LightPistol') {
_global.NextWeapon = 'LightPistol';
_global.CurrentWeapon = _global.NextWeapon;
}
if (_global.InventoryHandGun == 'HeavyPistol') {
_global.NextWeapon = 'HeavyPistol';
_global.CurrentWeapon = _global.NextWeapon;
}
_root.Hero.gotoAndPlay('Swap-Start');
}
frame 3 {
stop();
_global.HighLightState = 'LongGun';
_root.BackPack.Inventory.Highlight.CloseCombatDisplay.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.HandGunDisplay.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.LongGunDisplay.gotoAndStop(_global.InventoryLongGun);
_root.BackPack.Inventory.Highlight.Pocket1.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket2.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket3.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket4.gotoAndStop('None');
if (_global.InventoryLongGun == 'LightShotgun') {
_global.NextWeapon = 'LightShotgun';
_global.CurrentWeapon = _global.NextWeapon;
}
if (_global.InventoryLongGun == 'HeavyShotgun') {
_global.NextWeapon = 'HeavyShotgun';
_global.CurrentWeapon = _global.NextWeapon;
}
if (_global.InventoryLongGun == 'LightMachinegun') {
_global.NextWeapon = 'LightMachinegun';
_global.CurrentWeapon = _global.NextWeapon;
}
if (_global.InventoryLongGun == 'HeavyMachinegun') {
_global.NextWeapon = 'HeavyMachinegun';
_global.CurrentWeapon = _global.NextWeapon;
}
_root.Hero.gotoAndPlay('Swap-Start');
}
frame 4 {
stop();
_global.HighLightState = 'Pocket1';
_root.BackPack.Inventory.Highlight.CloseCombatDisplay.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.HandGunDisplay.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.LongGunDisplay.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket1.gotoAndStop(_global.Pocket1);
_root.BackPack.Inventory.Highlight.Pocket2.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket3.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket4.gotoAndStop('None');
}
frame 5 {
stop();
_global.HighLightState = 'Pocket2';
_root.BackPack.Inventory.Highlight.CloseCombatDisplay.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.HandGunDisplay.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.LongGunDisplay.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket1.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket2.gotoAndStop(_global.Pocket2);
_root.BackPack.Inventory.Highlight.Pocket3.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket4.gotoAndStop('None');
}
frame 6 {
stop();
_global.HighLightState = 'Pocket3';
_root.BackPack.Inventory.Highlight.CloseCombatDisplay.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.HandGunDisplay.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.LongGunDisplay.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket1.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket2.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket3.gotoAndStop(_global.Pocket3);
_root.BackPack.Inventory.Highlight.Pocket4.gotoAndStop('None');
}
frame 7 {
stop();
_global.HighLightState = 'Pocket4';
_root.BackPack.Inventory.Highlight.CloseCombatDisplay.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.HandGunDisplay.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.LongGunDisplay.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket1.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket2.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket3.gotoAndStop('None');
_root.BackPack.Inventory.Highlight.Pocket4.gotoAndStop(_global.Pocket4);
}
}
movieClip 2556 {
}
movieClip 2557 {
frame 1 {
stop();
}
}
movieClip 2560 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 2575 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
}
movieClip 2587 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
_global.LightPistolAmmo = 10;
_global.ReloadState = 'Active';
_root.Hero.gotoAndPlay('Swap-Start');
}
}
movieClip 2589 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
_global.HeavyPistolAmmo = 6;
_global.ReloadState = 'Active';
_root.Hero.gotoAndPlay('Swap-Start');
}
}
movieClip 2596 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
_global.LightShotgunAmmo = 6;
_global.ReloadState = 'Active';
_root.Hero.gotoAndPlay('Swap-Start');
}
}
movieClip 2601 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
_global.HeavyShotgunAmmo = 10;
_global.ReloadState = 'Active';
_root.Hero.gotoAndPlay('Swap-Start');
}
}
movieClip 2616 {
frame 1 {
stop();
}
frame 6 {
stop();
}
frame 11 {
stop();
}
frame 16 {
stop();
_global.LightMachinegunAmmo = 15;
_global.ReloadState = 'Active';
_root.Hero.gotoAndPlay('Swap-Start');
}
}
movieClip 2637 {
frame 1 {
stop();
}
frame 6 {
stop();
}
frame 11 {
stop();
}
frame 16 {
stop();
}
frame 21 {
stop();
_global.HeavyMachinegunAmmo = 20;
_global.ReloadState = 'Active';
_root.Hero.gotoAndPlay('Swap-Start');
}
}
movieClip 2639 {
}
movieClip 2641 {
}
movieClip 2642 {
frame 1 {
stop();
_root.HubbHolder.TopHubb.AmmoLabel.gotoAndStop('AmmoVisible');
}
frame 2 {
stop();
_root.HubbHolder.TopHubb.AmmoLabel.gotoAndStop('AmmoVisible');
}
frame 3 {
stop();
_root.HubbHolder.TopHubb.AmmoLabel.gotoAndStop('AmmoVisible');
}
frame 4 {
stop();
_root.HubbHolder.TopHubb.AmmoLabel.gotoAndStop('AmmoVisible');
}
frame 5 {
stop();
_root.HubbHolder.TopHubb.AmmoLabel.gotoAndStop('AmmoVisible');
}
frame 6 {
stop();
_root.HubbHolder.TopHubb.AmmoLabel.gotoAndStop('AmmoVisible');
}
frame 7 {
stop();
_root.HubbHolder.TopHubb.AmmoLabel.gotoAndStop('AmmoInvisible');
}
}
movieClip 2643 {
frame 1 {
stop();
}
}
movieClip 2649 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 2650 {
frame 1 {
stop();
}
frame 2 {
stop();
_global.HubbMessageState = 'Active';
}
frame 3 {
stop();
_global.HubbMessageState = null;
play();
}
frame 15 {
stop();
}
}
movieClip 2653 {
}
movieClip 2654 {
frame 1 {
stop();
_global.InventoryState = null;
}
frame 2 {
stop();
_global.InventoryState = 'Active';
play();
}
frame 15 {
stop();
if (_global.LevelState == 'Blockade') {
_root.BackPack.InventoryBackDrop._visible = false;
_root.BackPack.BtnDisplay._visible = false;
} else {
_root.BackPack.InventoryBackDrop._visible = true;
_root.BackPack.BtnDisplay._visible = true;
}
}
frame 30 {
gotoAndStop(1);
}
}
movieClip 2657 {
}
movieClip 2659 {
frame 1 {
stop();
}
}
movieClip 2662 {
frame 1 {
stop();
}
}
movieClip 2665 {
}
movieClip 2666 {
frame 1 {
stop();
}
}
movieClip 2667 {
}
movieClip 2668 {
frame 5 {
stop();
}
}
movieClip 2669 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 2676 {
}
movieClip 2682 {
}
movieClip 2684 {
}
movieClip 2685 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 111 {
gotoAndStop(1);
}
}
movieClip 2687 {
}
movieClip 2693 {
}
movieClip 2709 {
frame 1 {
stop();
}
frame 2 {
stop();
_global.ChallengeState = 'Terror';
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 2710 {
frame 1 {
stop();
_global.FadeState = null;
}
frame 2 {
stop();
_global.FadeState = 'OutBegin';
play();
}
frame 13 {
stop();
_global.FadeState = 'OutBegin';
play();
}
frame 14 {
stop();
_global.FadeState = 'OutEnd';
}
frame 15 {
stop();
_global.FadeState = 'InBegin';
play();
}
frame 28 {
stop();
_global.FadeState = 'InEnd';
gotoAndStop(1);
}
}
movieClip 2712 {
}
movieClip 2714 {
}
movieClip 2716 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
}
movieClip 2717 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
movieClip 2726 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 2727 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 2729 {
}
movieClip 2730 {
frame 1 {
stop();
}
frame 40 {
gotoAndStop(1);
}
}
movieClip 2732 {
}
movieClip 2733 {
frame 60 {
stop();
}
}
movieClip 2751 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
_global.DiscoveryDisplay = 'HeavyMachinegun';
}
frame 4 {
stop();
_global.DiscoveryDisplay = 'HeavyPistol';
}
frame 5 {
stop();
_global.DiscoveryDisplay = 'HeavyShotgun';
}
frame 6 {
stop();
_global.DiscoveryDisplay = 'LightMachinegun';
}
frame 7 {
stop();
_global.DiscoveryDisplay = 'LightPistol';
}
frame 8 {
stop();
_global.DiscoveryDisplay = 'LightShotgun';
}
frame 9 {
stop();
_global.DiscoveryDisplay = 'Bass';
}
frame 10 {
stop();
_global.DiscoveryDisplay = 'BattleAxe';
}
frame 11 {
stop();
_global.DiscoveryDisplay = 'Cleaver';
}
frame 12 {
stop();
_global.DiscoveryDisplay = 'Crowbar';
}
frame 13 {
stop();
_global.DiscoveryDisplay = 'FireAxe';
}
frame 14 {
stop();
_global.DiscoveryDisplay = 'Knife';
}
frame 15 {
stop();
_global.DiscoveryDisplay = 'Hammer';
}
frame 16 {
stop();
_global.DiscoveryDisplay = 'Condom';
}
frame 17 {
stop();
_global.DiscoveryDisplay = 'Booze';
}
frame 18 {
stop();
_global.DiscoveryDisplay = 'Food';
}
frame 19 {
stop();
_global.DiscoveryDisplay = 'Declaration';
}
frame 20 {
stop();
_global.DiscoveryDisplay = 'Santa';
}
frame 21 {
stop();
_global.DiscoveryDisplay = 'Batteries';
}
frame 22 {
stop();
_global.DiscoveryDisplay = 'Crack';
}
frame 23 {
stop();
_global.DiscoveryDisplay = 'Bible';
}
frame 24 {
stop();
_global.DiscoveryDisplay = 'FanHat';
}
frame 25 {
stop();
_global.DiscoveryDisplay = 'Chess';
}
frame 26 {
stop();
_global.DiscoveryDisplay = 'Lighter';
}
frame 27 {
stop();
_global.DiscoveryDisplay = 'ToiletPaper';
}
}