Frame 1
function timeout() {
if (!lv_lv.loaded) {
vc_lv.onLoad = null;
delete vc_lv;
trace("loadvars cancelled");
play();
}
clearInterval(tOIntId);
delete tOIntId;
}
stop();
noBlendModes = true;
startTime = getTimer();
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
this.menu = my_cm;
_global.root = this;
_global.master_domain = "http://swarm2.killerviral.com/";
_global.assets_path = _global.master_domain + "tooncrisis/";
var isJavascriptEnabled = (_root.jsEnabled != undefined);
var isMaster = (_root._url.indexOf(_global.master_domain) >= 0);
var domain = ((_root._url.split("/")[0].indexOf("http") == -1) ? "Local" : (_root._url.split("/")[2].split("?")[0]));
var playerVersion = Number(getVersion().substr(getVersion().indexOf(" ") + 1).split(",")[0]);
var movieVersion = (_root.getSWFVersion ? (_root.getSWFVersion()) : 8);
var ori_dom = (_root.ori_dom ? (_root.ori_dom) : (domain));
var game_version = 1;
if (movieVersion >= 8) {
if (playerVersion < 7) {
trace("player version too old - load error swf");
loadMovie (_global.assets_path + "error.swf", _root);
} else if (playerVersion == 7) {
trace("flash player 7 - load flash 7 version");
loadMovie ((_global.assets_path + "game7.swf") + (isMaster ? ((isJavascriptEnabled ? "?jsEnabled=true" : "")) : ("?ori_dom=" + ori_dom)), _root);
} else if (isMaster) {
trace("is master - skip version checking");
play();
} else {
trace("check version...");
var vc_lv = new LoadVars();
vc_lv.onLoad = function (success) {
clearInterval(tOIntId);
delete tOIntId;
if (success) {
if (Number(vc_lv.v) > game_version) {
trace("version checking succeeded - not the latest version");
loadMovie ((_global.assets_path + "game.swf?ori_dom=") + ori_dom, _root);
} else {
trace("version checking succeeded - latest version");
play();
}
} else {
trace("version checking failed");
play();
}
delete vc_lv;
};
tOIntId = setInterval(timeout, 2000);
vc_lv.load(_global.assets_path + "v.php");
}
} else {
trace("movie version 7");
play();
}
_global.root.isMaster = true;
System.security.allowDomain(_global.assets_path, _global.master_domain);
Frame 2
_global.slowConnection = 60000;
stop();
preloader.width = preloader.bar._width;
loading_text_mc.stop();
preloader.onEnterFrame = function () {
var _local3 = _root.getBytesLoaded() / _root.getBytesTotal();
if (_local3 == 1) {
_root.kvBandWidth = _root.getBytesTotal() / ((getTimer() - _root.startTime) / 1000);
trace("bandwidth: " + _root.kvBandWidth);
play();
} else {
this.bar._width = this.width * _local3;
this._parent.loading_text_mc.gotoAndStop(Math.ceil(_local3 * this._parent.loading_text_mc._totalframes));
}
};
Frame 4
stop();
Frame 5
function openWindow(url, popup, options) {
if (popup) {
if (ExternalInterface.call("eval", "true")) {
ExternalInterface.call("open", url, "popup", options);
} else if (_global.root.isMaster && (_global.root.isJavascriptEnabled)) {
getURL (((("javascript:void window.open( \"" + url) + "\", \"\" , \"") + options) + "\");");
} else {
getURL (url, "_blank");
}
} else {
getURL (url, "_blank");
}
}
function startGame() {
if (_global.root.isLoading) {
delete _global.root.isLoading;
} else {
delete score;
delete lvl;
}
gotoAndStop ("game");
}
function playerDied() {
Mouse.show();
trace("player died");
gotoAndStop ("died");
new Sound().setVolume(100);
}
function completedGame() {
Mouse.show();
trace("game completed");
gotoAndStop ("completed");
new Sound().setVolume(100);
}
function tracer(t, v) {
trace((t._name + ">>") + v);
}
stop();
Instance of Symbol 377 MovieClip "start_page_mc" in Frame 5
onClipEvent (load) {
_root._quality = "HIGH";
}
Frame 6
stop();
Instance of Symbol 1138 MovieClip "world" in Frame 6
onClipEvent (load) {
startY = _y;
}
onClipEvent (enterFrame) {
checkPlayerDamaged();
checkWorldShake();
}
Instance of Symbol 1141 MovieClip "crosshair" in Frame 6
onClipEvent (load) {
startDrag (this, true);
Mouse.hide();
}
Symbol 1217 MovieClip [__Packages.FrameRateCounter] Frame 0
class FrameRateCounter extends MovieClip
{
var aFrmTms, fps_txt;
function FrameRateCounter () {
super();
aFrmTms = new Arr();
nLFT = getTimer();
}
function onEnterFrame() {
var _local2 = getTimer();
aFrmTms.push(_local2 - nLFT);
if (aFrmTms.length > nFA) {
aFrmTms.shift();
}
nLFT = _local2;
fps_txt.text = Misc.round(1 / (aFrmTms.mean() / 1000), dp) + " fps";
}
var nFA = 25;
var nLFT = 0;
var dp = 0;
}
Symbol 1218 MovieClip [__Packages.Arr] Frame 0
class Arr extends Array
{
var splice, length;
function Arr () {
super();
splice.apply(this, [0, 0].concat(arguments));
}
function randInd() {
return(Math.floor(Math.random() * length));
}
function rand() {
return(this[Math.floor(Math.random() * length)]);
}
function mean() {
var _local3 = 0;
var _local4 = 0;
var _local2 = 0;
while (_local2 < length) {
if (!isNaN(Number(this[_local2]))) {
_local3++;
_local4 = _local4 + Number(this[_local2]);
}
_local2++;
}
if (_local3 > 0) {
return(_local4 / _local3);
}
return(0);
}
function copy() {
var _local2 = new Arr();
for (var _local3 in this) {
_local2[_local3] = this[_local3];
}
return(_local2);
}
function current() {
return(this[iap]);
}
function next() {
if ((iap + 1) < length) {
iap++;
return(this[iap]);
}
return(false);
}
function prev() {
if (iap > 0) {
iap--;
return(this[iap]);
}
return(false);
}
function reset() {
if (length > 0) {
iap = 0;
return(this[iap]);
}
return(false);
}
function end() {
if (length > 0) {
iap = length - 1;
return(this[iap]);
}
return(false);
}
var iap = 0;
}
Symbol 1219 MovieClip [__Packages.Misc] Frame 0
class Misc
{
function Misc () {
}
static function lcm(a, b) {
if ((!a) && (!b)) {
return(0);
}
return((a * b) / gcd(a, b));
}
static function gcd(a, b) {
var _local2 = 0;
while (b != 0) {
_local2 = b;
b = a % b;
a = _local2;
}
return(a);
}
static function rand(min, max, p) {
min = ((min === undefined) ? 0 : (min));
max = ((max === undefined) ? 1 : (max));
var _local1 = (Math.random() * (max - min)) + min;
if (p != undefined) {
p = 1 / Math.pow(10, p);
_local1 = _local1 - (_local1 % p);
}
return(_local1);
}
static function round(n, p) {
p = ((p == undefined) ? 1 : (1 / Math.pow(10, p)));
var _local3 = n % p;
return(((_local3 > (p / 2)) ? ((n - (n % p)) + p) : (n - (n % p))));
}
static function ceil(n, p) {
p = ((p == undefined) ? 1 : (1 / Math.pow(10, p)));
var _local3 = n % p;
return(((_local3 > 0) ? ((n - (n % p)) + p) : (n - (n % p))));
}
static function floor(n, p) {
p = ((p == undefined) ? 1 : (1 / Math.pow(10, p)));
return(n - (n % p));
}
}
Symbol 1220 MovieClip [__Packages.Rand] Frame 0
class Rand
{
function Rand () {
}
static function midBias(min, max, i, p) {
min = (isNaN(min) ? 0 : (min));
max = (isNaN(max) ? 1 : (max));
i = (isNaN(i) ? 2 : (i + 1));
var _local3 = 0;
var _local1 = 0;
while (_local1 < i) {
_local3 = _local3 + ((Math.random() * (max - min)) + min);
_local1++;
}
_local3 = _local3 / i;
if (p != undefined) {
p = 1 / Math.pow(10, p);
var _local7 = _local3 % p;
if (_local7 <= (p / 2)) {
_local3 = _local3 - _local7;
} else {
_local3 = _local3 + (p - _local7);
}
}
return(_local3);
}
static function minBias(min, max, i, p) {
min = (isNaN(min) ? 0 : (min));
max = (isNaN(max) ? 1 : (max));
i = (isNaN(i) ? 1 : (i));
var _local1 = ((1 - Math.pow(Math.random(), 1 / (i + 1))) * (max - min)) + min;
if (p != undefined) {
p = 1 / Math.pow(10, p);
var _local3 = _local1 % p;
if (_local3 <= (p / 2)) {
_local1 = _local1 - _local3;
} else {
_local1 = _local1 + (p - _local3);
}
}
return(_local1);
}
static function maxBias(min, max, i, p) {
min = (isNaN(min) ? 0 : (min));
max = (isNaN(max) ? 1 : (max));
i = (isNaN(i) ? 1 : (i));
var _local1 = (Math.pow(Math.random(), 1 / (i + 1)) * (max - min)) + min;
if (p != undefined) {
p = 1 / Math.pow(10, p);
var _local3 = _local1 % p;
if (_local3 <= (p / 2)) {
_local1 = _local1 - _local3;
} else {
_local1 = _local1 + (p - _local3);
}
}
return(_local1);
}
static function value() {
if (arguments.length > 0) {
var _local2 = Math.random() * arguments.length;
_local2 = _local2 - (_local2 % 1);
return(arguments[_local2]);
}
}
static function get number() {
return(Math.random());
}
static function random(min, max, p) {
min = (isNaN(min) ? 0 : (min));
max = (isNaN(max) ? 1 : (max));
if (!isNaN(p)) {
p = 1 / Math.pow(10, p);
max = max + p;
} else {
}
var _local3 = (Math.random() * (max - min)) + min;
if (p) {
_local3 = _local3 - (_local3 % p);
}
return(_local3);
}
static function prop(obj) {
var _local1 = new Array();
for (var _local3 in obj) {
_local1.push(_local3);
}
if (_local1.length) {
return(_local1[Math.floor(Math.random() * _local1.length)]);
}
return("");
}
}
Symbol 1221 MovieClip [__Packages.PerformanceController] Frame 0
class PerformanceController extends MovieClip
{
var aFrmTms;
function PerformanceController () {
super();
trace("frc 2");
aFrmTms = new Arr();
nLFT = getTimer();
cdl = (((_root._quality == "HIGH") || (_root._quality == "BEST")) ? 3 : (((_root._quality == "MEDIUM") ? 2 : 1)));
}
function onEnterFrame() {
var _local2 = getTimer();
aFrmTms.push(_local2 - nLFT);
if (aFrmTms.length > nFA) {
var _local3 = 1 / (aFrmTms.mean() / 1000);
if (_local3 > uf) {
if (cdl < mdl) {
setDetailLvl(cdl + 1);
}
} else if (_local3 < lf) {
if (cdl > 1) {
setDetailLvl(cdl - 1);
}
}
aFrmTms = new Arr();
}
nLFT = _local2;
}
function setDetailLvl(l) {
switch (l) {
case 1 :
_root.crosshair.gotoAndStop("noAnim");
_root._quality = "LOW";
break;
case 2 :
if (cdl == 1) {
_root.crosshair.gotoAndStop("noAnim");
}
_root._quality = "MEDIUM";
break;
case 3 :
_root._quality = "HIGH";
}
cdl = l;
}
static var nFA = 10;
var nLFT = 0;
var cdl = 3;
static var lf = 19;
static var uf = 24;
static var mdl = 3;
}
Symbol 16 MovieClip Frame 1
this._visible = false;
kv_v = {c:12, td:"census.killerviral.com"};
System.security.allowDomain(kv_v.td);
kv_v.c_so = SharedObject.getLocal(kv_v.c, "/");
kv_v.d = (_root.ori_dom ? (_root.ori_dom) : (((_root._url.split("/")[0].indexOf("http") == -1) ? "Local" : (_root._url.split("/")[2].split("?")[0]))));
kv_v.fpv = getVersion().split(" ")[1].split(",")[0];
kv_v.lurl = ((((((((((("http://" + kv_v.td) + "/tracker.php") + "?c=") + kv_v.c) + "&r=") + Math.floor(Math.random() * 10000000000)) + "&d=") + kv_v.d) + "&u=") + (kv_v.c_so.data.u ? "1" : "")) + "&p=") + kv_v.fpv;
kv_v.c_so.data.u = true;
kv_v.c_so.flush();
kv_v.t_mc = this.createEmptyMovieClip("kv_tracker", 0);
kv_v.l_mcl = new MovieClipLoader();
if (kv_v.l_mcl.loadClip) {
kv_v.l_mcl.loadClip(kv_v.lurl, kv_v.t_mc);
} else {
loadMovie (kv_v.lurl, kv_v.t_mc);
}
Symbol 22 MovieClip Frame 171
_parent.play();
Symbol 28 MovieClip [bang_mc] Frame 4
this.removeMovieClip();
Symbol 30 MovieClip Frame 2
this._visible = false;
stop();
Symbol 39 MovieClip [smg_bonus] Frame 1
hit._visible = false;
bonus_type = _global.world.smg;
Symbol 39 MovieClip [smg_bonus] Frame 19
hit._visible = true;
stop();
Symbol 39 MovieClip [smg_bonus] Frame 38
stop();
_global.world.bonusKilled(this);
Symbol 48 MovieClip [health_bonus] Frame 1
hit._visible = false;
bonus_type = "health";
Instance of Symbol 47 MovieClip in Symbol 48 MovieClip [health_bonus] Frame 25
onClipEvent (enterFrame) {
if (_parent._parent.playerHealth < _parent.worth) {
_parent.gotoAndStop("hit");
} else {
_parent.gotoAndStop("on");
}
}
Symbol 48 MovieClip [health_bonus] Frame 28
stop();
hit._visible = true;
Symbol 48 MovieClip [health_bonus] Frame 37
stop();
_global.world.bonusKilled(this);
Symbol 52 MovieClip [autoShot_bonus] Frame 1
hit._visible = false;
bonus_type = _global.world.autoShot;
Symbol 52 MovieClip [autoShot_bonus] Frame 20
hit._visible = true;
stop();
Symbol 52 MovieClip [autoShot_bonus] Frame 48
stop();
_global.world.bonusKilled(this);
Symbol 59 MovieClip [duck] Frame 1
stop();
Symbol 59 MovieClip [duck] Frame 2
play();
var snd = new Sound(this);
snd.setVolume(600);
Symbol 59 MovieClip [duck] Frame 122
stop();
this.removeMovieClip();
Symbol 72 MovieClip Frame 5
stop();
Symbol 73 MovieClip Frame 1
_parent._parent.stop();
Symbol 73 MovieClip Frame 6
_parent._parent._parent.enemyKilled(_parent._parent);
stop();
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 6
stop();
_global.world.spawnPoints(_parent, 20);
Symbol 76 MovieClip [batBall] Frame 1
_global.world.newEnemy(this, "batBall", this.sprite.hitBtn);
Symbol 76 MovieClip [batBall] Frame 80
_global.world.enemyExpired(this);
stop();
Symbol 76 MovieClip [batBall] Frame 81
stop();
Symbol 81 MovieClip Frame 3
advance = true;
Symbol 81 MovieClip Frame 9
advance = false;
Symbol 93 MovieClip Frame 1
_parent._parent.stop();
Symbol 93 MovieClip Frame 12
_global.world.enemyKilled(_parent._parent);
stop();
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 6
_global.world.hurtPlayer(this);
stop();
Instance of Symbol 93 MovieClip "hitBtn" in Symbol 95 MovieClip Frame 6
onClipEvent (load) {
_y = _parent.myY;
notKilled = true;
}
Symbol 95 MovieClip Frame 12
stop();
Symbol 96 MovieClip [doomSpring] Frame 1
_global.world.newEnemy(this, "doomSpring", this.sprite.hitBtn);
Instance of Symbol 95 MovieClip "sprite" in Symbol 96 MovieClip [doomSpring] Frame 1
onClipEvent (load) {
addX = (_parent.xRange * Math.random()) - (_parent.xRange * _parent.xBias);
_parent.startY = _y;
_y = (_y+1);
}
onClipEvent (enterFrame) {
if (anim.advance) {
_y = (_y + (_parent.ySpeed * (_xscale * 0.01)));
_x = (_x + (addX * (_xscale * 0.01)));
_xscale = (_xscale * _parent.scaleSpeed);
_yscale = (_xscale * _parent.scaleSpeed);
var b = _parent.getBounds(_global.world).yMax;
trace(b);
if (b > 500) {
gotoAndStop ("boom");
}
}
}
Symbol 96 MovieClip [doomSpring] Frame 4
stop();
Symbol 96 MovieClip [doomSpring] Frame 8
removeMovieClip(this);
Symbol 98 MovieClip [frameRateCounter] Frame 1
#initclip 6
Object.registerClass("frameRateCounter", FrameRateCounter);
#endinitclip
Symbol 113 MovieClip Frame 7
_global.world.shotKilled(_parent);
Symbol 114 MovieClip [badPodShot] Frame 1
_parent.newShot(this, "badPodShot", this.hitBtn);
stop();
Instance of Symbol 106 MovieClip in Symbol 114 MovieClip [badPodShot] Frame 1
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
xVel = (Math.random() * _global.world.badPodShot1Dir) - (_global.world.badPodShot1Dir / 2);
yVel = (Math.random() * _global.world.badPodShot1Dir) - (_global.world.badPodShot1Dir / 2);
speed = _global.world.badPodShot1Speed;
damp = _global.world.badPodShot1Damp;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 50);
_parent._xscale = (_parent._yscale = _parent._yscale * speed);
xVel = xVel * damp;
yVel = yVel * damp;
_parent._x = _parent._x + xVel;
_parent._y = _parent._y + yVel;
if (_parent._xscale > 650) {
_global.world.hurtPlayer(this);
_parent.gotoAndPlay("die");
}
}
Symbol 114 MovieClip [badPodShot] Frame 8
stop();
Symbol 120 MovieClip Frame 15
gotoAndPlay (1);
Instance of Symbol 120 MovieClip "sprite" in Symbol 121 MovieClip [eyeBossShot] Frame 1
onClipEvent (load) {
xVel = (Math.random() * _parent._parent.eyeBossShotDir) - (_parent._parent.eyeBossShotDir / 2);
yVel = (Math.random() * _parent._parent.eyeBossShotDir) / 2;
speed = _parent._parent.eyeBossShotSpeed;
damp = _parent._parent.eyeBossShotDamp;
}
onClipEvent (enterFrame) {
_parent._xscale = (_parent._yscale = _parent._yscale * speed);
xVel = xVel * damp;
yVel = yVel * damp;
_parent._x = _parent._x + xVel;
_parent._y = _parent._y + yVel;
if (_parent._x < 10) {
_parent._x = 10;
} else if (_parent._x > 630) {
_parent._x = 630;
}
if (_parent._y < 10) {
_parent._y = 10;
} else if (_parent._y > 350) {
_parent._y = 350;
}
if (_parent._xscale > 650) {
_parent._parent.hurtPlayer(this);
_parent._parent.shotKilled(_parent);
}
}
Symbol 121 MovieClip [eyeBossShot] Frame 4
_parent.newShot(this, "", this.sprite.eye.hitBtn);
stop();
Symbol 121 MovieClip [eyeBossShot] Frame 8
stop();
Symbol 129 MovieClip Frame 11
_global.world.shotKilled(_parent);
Symbol 130 MovieClip [mudShot] Frame 1
_parent.newShot(this, "mudShot", this.hitBtn);
stop();
Instance of Symbol 124 MovieClip in Symbol 130 MovieClip [mudShot] Frame 1
onClipEvent (load) {
_rotation = (Math.random() * 360);
xVel = -11.5 - (Math.random() * 3);
yVel = (Math.random() * _global.world.badPodShot1Dir) - (_global.world.badPodShot1Dir / 2);
speed = 1.02;
damp = _global.world.badPodShot1Damp;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_parent._xscale = (_parent._yscale = _parent._yscale * speed);
xVel = xVel + 0.3;
yVel = yVel * damp;
_parent._x = _parent._x + xVel;
_parent._y = _parent._y + yVel;
if (_parent._xscale > 650) {
_global.world.hurtPlayer(this);
_parent.gotoAndPlay("die");
}
}
Symbol 130 MovieClip [mudShot] Frame 6
stop();
Symbol 133 MovieClip Frame 1
rot = 25;
Instance of Symbol 132 MovieClip in Symbol 133 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + _parent.rot);
}
Instance of Symbol 132 MovieClip in Symbol 133 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + _parent.rot);
}
Instance of Symbol 132 MovieClip in Symbol 133 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + _parent.rot);
}
Instance of Symbol 132 MovieClip in Symbol 133 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + _parent.rot);
}
Symbol 139 MovieClip [punchaShot] Frame 1
_parent.newShot(this, "wormShot", this.hitBtn);
stop();
Instance of Symbol 133 MovieClip in Symbol 139 MovieClip [punchaShot] Frame 1
onClipEvent (load) {
xVel = (Math.random() * _parent._parent.wormShotDir) - (_parent._parent.wormShotDir / 2);
yVel = -20;
speed = 1.08;
damp = _parent._parent.wormShotDamp;
}
onClipEvent (enterFrame) {
_parent._xscale = (_parent._yscale = _parent._yscale * speed);
xVel = xVel * damp;
yVel = yVel + 0.9;
_parent._x = _parent._x + xVel;
_parent._y = _parent._y + yVel;
if (_parent._x < 10) {
_parent._x = 10;
} else if (_parent._x > 630) {
_parent._x = 630;
}
if (_parent._y < 10) {
_parent._y = 10;
} else if (_parent._y > 350) {
_parent._y = 350;
}
if (_parent._xscale > 650) {
_global.world.hurtPlayer(this);
_parent.gotoAndPlay("die");
}
}
Symbol 139 MovieClip [punchaShot] Frame 14
_global.world.shotKilled(this);
stop();
Instance of Symbol 149 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Symbol 150 MovieClip Frame 10
_global.world.shotKilled(_parent);
Symbol 152 MovieClip [wormShot] Frame 1
_parent.newShot(this, "wormShot", this.hitBtn);
stop();
Instance of Symbol 142 MovieClip in Symbol 152 MovieClip [wormShot] Frame 1
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
xVel = (Math.random() * _parent._parent.wormShotDir) - (_parent._parent.wormShotDir / 2);
yVel = (Math.random() * _parent._parent.wormShotDir) - (_parent._parent.wormShotDir / 2);
speed = _parent._parent.wormShotSpeed;
damp = _parent._parent.wormShotDamp;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 50);
_parent._xscale = (_parent._yscale = _parent._yscale * speed);
xVel = xVel * damp;
yVel = yVel * damp;
_parent._x = _parent._x + xVel;
_parent._y = _parent._y + yVel;
if (_parent._x < 10) {
_parent._x = 10;
} else if (_parent._x > 630) {
_parent._x = 630;
}
if (_parent._y < 10) {
_parent._y = 10;
} else if (_parent._y > 350) {
_parent._y = 350;
}
if (_parent._xscale > 650) {
_global.world.hurtPlayer(this);
_parent.gotoAndPlay("die");
}
}
Symbol 152 MovieClip [wormShot] Frame 8
stop();
Instance of Symbol 155 MovieClip "line" in Symbol 156 MovieClip [shotLine] Frame 1
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Symbol 156 MovieClip [shotLine] Frame 3
this.removeMovieClip();
Symbol 170 MovieClip Frame 13
gotoAndPlay ("loop");
Symbol 174 MovieClip Frame 27
if (_parent._parent.dead) {
_global.world.enemyKilled(_parent, "screwFist");
}
stop();
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 5
stop();
Instance of Symbol 170 MovieClip in Symbol 175 MovieClip Frame 5
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Symbol 175 MovieClip Frame 10
stop();
Symbol 175 MovieClip Frame 16
stop();
Instance of Symbol 174 MovieClip in Symbol 175 MovieClip Frame 16
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Symbol 175 MovieClip Frame 21
_global.world.level.boss.fistDead++;
_global.world.spawnPoints(_parent, 200);
stop();
Instance of Symbol 174 MovieClip in Symbol 175 MovieClip Frame 21
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Symbol 176 MovieClip [screwFist] Frame 1
function beenShotSpecial() {
sprite.speed = (sprite.speed * 0.99) - 0.001;
sprite.gotoAndStop("hit");
_global.world.enemyBeenShot(_global.world.level.boss);
}
_global.world.newEnemy(this, "screwFist", this.sprite.hitBtn);
stop();
Instance of Symbol 175 MovieClip "sprite" in Symbol 176 MovieClip [screwFist] Frame 1
onClipEvent (load) {
_global.world.attackHandSetup(this);
}
onClipEvent (enterFrame) {
_global.world.attackHandControl(this);
}
Symbol 184 MovieClip [bonusFiddy] Frame 38
this.removeMovieClip();
stop();
Symbol 207 MovieClip [waveBonus] Frame 38
this.removeMovieClip();
stop();
Symbol 208 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 5
stop();
Instance of Symbol 170 MovieClip in Symbol 208 MovieClip Frame 5
onClipEvent (load) {
this.blendMode = "add";
}
Symbol 208 MovieClip Frame 10
stop();
Symbol 208 MovieClip Frame 16
stop();
Instance of Symbol 174 MovieClip in Symbol 208 MovieClip Frame 16
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Symbol 208 MovieClip Frame 21
_global.world.level.boss.fistDead++;
_global.world.spawnPoints(_parent, 200);
stop();
Instance of Symbol 174 MovieClip in Symbol 208 MovieClip Frame 21
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Symbol 209 MovieClip [screwFist2] Frame 1
function beenShotSpecial() {
sprite.speed = (sprite.speed * 0.99) - 0.001;
sprite.gotoAndStop("hit");
_global.world.enemyBeenShot(_global.world.level.boss);
}
_global.world.newEnemy(this, "screwFist", this.sprite.hitBtn);
stop();
Instance of Symbol 208 MovieClip "sprite" in Symbol 209 MovieClip [screwFist2] Frame 1
onClipEvent (load) {
_global.world.attackHandSetup(this);
}
onClipEvent (enterFrame) {
_global.world.attackHandControl(this);
}
Symbol 210 MovieClip [shotgun_bonus] Frame 1
hit._visible = false;
bonus_type = _global.world.shotgun;
Symbol 210 MovieClip [shotgun_bonus] Frame 21
hit._visible = true;
stop();
Symbol 210 MovieClip [shotgun_bonus] Frame 28
stop();
_global.world.bonusKilled(this);
Symbol 213 MovieClip [point20] Frame 24
this.removeMovieClip();
Symbol 216 MovieClip [point100] Frame 23
this.removeMovieClip();
Symbol 219 MovieClip [point200] Frame 24
this.removeMovieClip();
Symbol 222 MovieClip [point500] Frame 24
this.removeMovieClip();
Symbol 225 MovieClip [point1000] Frame 38
this.removeMovieClip();
Symbol 226 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 1
stop();
Instance of Symbol 242 MovieClip "eye" in Symbol 243 MovieClip Frame 1
onClipEvent (enterFrame) {
eyeRad = 6;
damp = 10;
xPos = ((Math.abs(_parent._xmouse) < eyeRad) ? (Math.abs(_parent._xmouse)) : (eyeRad));
yPos = ((Math.abs(_parent._ymouse) < eyeRad) ? (Math.abs(_parent._ymouse)) : (eyeRad));
ang = Math.atan2(_parent._ymouse, _parent._xmouse);
tgtX = Math.cos(ang) * xPos;
tgtY = Math.sin(ang) * yPos;
xDist = tgtX - this._x;
yDist = tgtY - this._y;
this._x = ((Math.abs(xDist) > 0.2) ? (this._x + (xDist / damp)) : (tgtX));
this._y = ((Math.abs(yDist) > 0.2) ? (this._y + (yDist / damp)) : (tgtY));
cXDist = Math.pow(_parent._xmouse - this._x, 2);
cYDist = Math.pow(_parent._ymouse - this._y, 2);
cDist = Math.sqrt(cXDist + cYDist);
maxCDist = 200;
pctDist = (((cDist / maxCDist) < 1) ? (cDist / maxCDist) : 1);
this._xscale = 100 + (100 * pctDist);
this._yscale = 100 + (100 * pctDist);
if (_parent._parent.blink == 1) {
this.play();
}
}
Instance of Symbol 244 MovieClip in Symbol 254 MovieClip Frame 32
onClipEvent (enterFrame) {
this.blink = (((100 * Math.random()) > 98) ? 1 : 0);
}
Symbol 254 MovieClip Frame 40
Symbol 254 MovieClip Frame 51
stop();
Symbol 254 MovieClip Frame 62
stop();
Symbol 259 Button
on (release) {
_global.root.openWindow("http://census.killerviral.com/redir.php?urlId=158");
}
Symbol 294 Button
on (release) {
_global.root.openWindow("http://census.killerviral.com/redir.php?urlId=154");
}
Symbol 298 Button
on (release) {
_global.root.openWindow("http://census.killerviral.com/redir.php?urlId=155");
}
Symbol 299 Button
on (release) {
_global.root.openWindow("http://census.killerviral.com/redir.php?urlId=156");
}
Symbol 300 Button
on (release) {
_global.root.openWindow("http://census.killerviral.com/redir.php?urlId=157");
}
Symbol 303 Button
on (release) {
_global.root.openWindow("http://census.killerviral.com/redir.php?urlId=159");
}
Symbol 307 Button
on (release) {
_global.root.openWindow("http://census.killerviral.com/redir.php?urlId=165");
}
Symbol 314 Button
on (release) {
_parent._parent.play();
}
Symbol 320 Button
on (release) {
_parent.whichgal = "controls";
_parent.play();
}
Symbol 325 Button
on (release) {
_global.root.openWindow("http://census.killerviral.com/redir.php?urlId=160", true, "width=640,height=500,scrollbars=yes");
}
Symbol 330 Button
on (release) {
_global.root.openWindow("http://census.killerviral.com/redir.php?urlId=164", true, "width=500,height=500,scrollbars=yes");
}
Symbol 334 Button
on (release) {
_global.root.openWindow("http://census.killerviral.com/redir.php?urlId=161", true, "width=500,height=500,scrollbars=yes");
}
Symbol 340 Button
on (release) {
_parent.whichgal = "load";
_parent.play();
}
Symbol 354 Button
on (release) {
_parent.play();
}
Symbol 357 MovieClip Frame 1
stop();
Symbol 357 MovieClip Frame 2
stop();
Symbol 357 MovieClip Frame 3
stop();
Symbol 358 MovieClip Frame 1
function onload(success) {
if (success) {
if (this.status == "ok") {
trace((("game loaded: " + this.level) + ", ") + this.score);
_global.root.lvl = Number(this.level);
_global.root.score = Number(this.score);
_global.root.isLoading = true;
_global.root.start_page_mc.play();
} else {
feedback_mc.gotoAndStop("notfound");
}
} else {
feedback_mc.gotoAndStop("network");
}
}
load_btn.onRelease = function () {
var _local1 = new LoadVars();
var _local2 = new LoadVars();
_local1.email = email_txt.text;
_local2.onLoad = onload;
_local1.sendAndLoad("http://highscores.killerviral.com/tooncrisis/load.php?var=" + Math.random(), _local2);
};
Symbol 364 MovieClip Frame 1
stop();
Symbol 364 MovieClip Frame 6
gotoAndPlay(whichgal);
Symbol 364 MovieClip Frame 12
stop();
Symbol 364 MovieClip Frame 17
gotoAndPlay ("main");
Symbol 364 MovieClip Frame 23
stop();
Symbol 364 MovieClip Frame 28
gotoAndPlay ("main");
Symbol 365 Button
on (release) {
_global.root.openWindow("http://census.killerviral.com/redir.php?urlId=159");
}
Symbol 371 Button
on (release) {
gotoAndPlay ("useVideo");
_global.root.skipVideos = false;
}
Symbol 373 Button
on (release) {
gotoAndPlay ("skipVideo");
_global.root.skipVideos = true;
}
Symbol 376 MovieClip Frame 1
stop();
Symbol 376 MovieClip Frame 7
stop();
Symbol 376 MovieClip Frame 173
gotoAndStop ("off");
Symbol 376 MovieClip Frame 242
gotoAndStop ("off");
Symbol 376 MovieClip Frame 243
_parent.play();
Symbol 376 MovieClip Frame 246
stop();
Symbol 377 MovieClip Frame 48
_root._quality = "HIGH";
Instance of Symbol 244 MovieClip in Symbol 377 MovieClip Frame 87
onClipEvent (enterFrame) {
this.blink = (((100 * Math.random()) > 98) ? 1 : 0);
}
Instance of Symbol 244 MovieClip in Symbol 377 MovieClip Frame 88
onClipEvent (enterFrame) {
this.blink = (((100 * Math.random()) > 98) ? 1 : 0);
}
Symbol 377 MovieClip Frame 123
stop();
Instance of Symbol 244 MovieClip in Symbol 377 MovieClip Frame 127
onClipEvent (enterFrame) {
this.blink = (((100 * Math.random()) > 98) ? 1 : 0);
}
Symbol 377 MovieClip Frame 182
if (_root.kvBandWidth <= _global.slowConnection) {
info.gotoAndStop("disable");
stop();
}
Symbol 377 MovieClip Frame 184
_global.root.startGame();
Symbol 381 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 32
_global.root.completedGame();
Symbol 381 MovieClip Frame 46
gotoAndStop ("off");
Symbol 382 MovieClip Frame 1
stop();
Symbol 382 MovieClip Frame 43
_global.root.playerDied();
Symbol 382 MovieClip Frame 52
gotoAndStop ("off");
Symbol 388 MovieClip Frame 1
onEnterFrame = function () {
if (this.ready) {
gotoAndPlay ("fadeout");
delete this.ready;
this.onEnterFrame = null;
}
};
Instance of Symbol 244 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (enterFrame) {
this.blink = (((100 * Math.random()) > 98) ? 1 : 0);
}
Symbol 388 MovieClip Frame 9
stop();
Symbol 388 MovieClip Frame 10
_parent.world.wlogo.play();
play();
Symbol 388 MovieClip Frame 30
trace("end first run");
_global.world.firstRun();
stop();
Symbol 404 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 29
_parent.level._visible = false;
Symbol 404 MovieClip Frame 50
_parent.level.play();
Symbol 411 MovieClip Frame 1
stop();
Symbol 411 MovieClip Frame 2
stop();
Symbol 411 MovieClip Frame 3
stop();
Symbol 412 MovieClip Frame 1
nextAnim = "idle";
Symbol 412 MovieClip Frame 14
gotoAndPlay(nextAnim);
Symbol 412 MovieClip Frame 17
Symbol 412 MovieClip Frame 18
_parent.playFFSound();
Symbol 412 MovieClip Frame 22
stop();
Symbol 412 MovieClip Frame 23
gotoAndPlay(nextAnim);
Symbol 412 MovieClip Frame 27
_parent.playMusic(_parent.track_order[_parent.lvl - 1]);
nextAnim = "idle";
Symbol 412 MovieClip Frame 32
gotoAndPlay(nextAnim);
Symbol 412 MovieClip Frame 40
gotoAndPlay(nextAnim);
Symbol 412 MovieClip Frame 57
nextAnim = "idle";
gotoAndPlay(nextAnim);
Symbol 412 MovieClip Frame 74
gotoAndPlay(nextAnim);
Symbol 448 MovieClip Frame 1
stop();
Symbol 448 MovieClip Frame 2
stop();
Symbol 448 MovieClip Frame 3
gotoAndPlay("shoot" + _global.world.weapon.hand);
Symbol 448 MovieClip Frame 4
play();
Symbol 448 MovieClip Frame 8
gotoAndStop (1);
Symbol 448 MovieClip Frame 10
play();
Symbol 448 MovieClip Frame 14
gotoAndStop (1);
Symbol 448 MovieClip Frame 15
play();
Symbol 448 MovieClip Frame 19
gotoAndStop (1);
Symbol 448 MovieClip Frame 20
play();
Symbol 448 MovieClip Frame 24
gotoAndStop (1);
Symbol 457 MovieClip Frame 1
stop();
Instance of Symbol 448 MovieClip "bang4" in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Instance of Symbol 448 MovieClip "bang3" in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Instance of Symbol 448 MovieClip "bang2" in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Instance of Symbol 448 MovieClip "bang1" in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Symbol 457 MovieClip Frame 5
gotoAndPlay ("pistol");
Symbol 457 MovieClip Frame 6
stop();
Instance of Symbol 448 MovieClip "bang3" in Symbol 457 MovieClip Frame 6
onClipEvent (load) {
this.blendMode = "add";
}
Instance of Symbol 448 MovieClip "bang2" in Symbol 457 MovieClip Frame 6
onClipEvent (load) {
this.blendMode = "add";
}
Instance of Symbol 448 MovieClip "bang1" in Symbol 457 MovieClip Frame 6
onClipEvent (load) {
this.blendMode = "add";
}
Symbol 457 MovieClip Frame 7
gotoAndPlay ("smg");
Symbol 457 MovieClip Frame 11
stop();
Instance of Symbol 448 MovieClip "bang2" in Symbol 457 MovieClip Frame 11
onClipEvent (load) {
}
Instance of Symbol 448 MovieClip "bang1" in Symbol 457 MovieClip Frame 11
onClipEvent (load) {
}
Symbol 457 MovieClip Frame 16
gotoAndPlay ("shotgun");
Symbol 457 MovieClip Frame 18
stop();
Instance of Symbol 448 MovieClip "bang2" in Symbol 457 MovieClip Frame 18
onClipEvent (load) {
this.blendMode = "add";
}
Instance of Symbol 448 MovieClip "bang1" in Symbol 457 MovieClip Frame 18
onClipEvent (load) {
this.blendMode = "add";
}
Symbol 457 MovieClip Frame 21
gotoAndPlay ("autoShot");
Symbol 458 MovieClip Frame 1
stop();
Symbol 458 MovieClip Frame 8
hand.gotoAndStop(_parent.weapon.hand);
_parent.changeWeapon();
gotoAndStop ("ready");
Symbol 458 MovieClip Frame 18
hand.gotoAndStop(_parent.weapon.hand);
_parent.changeWeapon();
gotoAndStop ("ready");
Symbol 461 MovieClip Frame 1
stop();
Symbol 464 MovieClip Frame 1
stop();
Symbol 467 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 12
Symbol 473 MovieClip Frame 26
this.removeMovieClip();
Symbol 483 MovieClip Frame 1
function updateMask(cur) {
var _local5 = (Math.PI*2);
var _local3 = 0.628318530717959;
var _local4 = cur / originalAmmo;
_local4 = _local4 * _local5;
this.clear();
this.beginFill(16711680, 100);
this.moveTo(this.rad, this.rad);
this.lineTo(this.rad, -this.rad);
var _local2 = 0;
while ((_local2 - _local3) < _local4) {
this.lineTo(this.rad + ((this.rad * 2) * Math.cos(_local2 - (Math.PI/2))), this.rad + ((this.rad * 2) * Math.sin(_local2 - (Math.PI/2))));
_local2 = _local2 + _local3;
}
this.lineTo(this.rad + ((this.rad * 2) * Math.cos(_local4 - (Math.PI/2))), this.rad + ((this.rad * 2) * Math.sin(_local4 - (Math.PI/2))));
this.lineTo(this.rad, this.rad);
this.endFill();
}
stop();
mask_mc.removeMovieClip();
Symbol 483 MovieClip Frame 6
stop();
if (!mask_mc) {
this.createEmptyMovieClip("mask_mc", 103);
mask_mc._x = orb_mc._x;
mask_mc._y = orb_mc._y;
mask_mc.rad = orb_mc._width / 2;
mask_mc.updateMask = updateMask;
}
orb_mc.setMask(mask_mc);
mask_mc.clear();
with (mask_mc) {
beginFill(16711680, 100);
moveTo(-rad, -rad);
lineTo(rad * 2, -rad);
lineTo(rad * 2, rad * 2);
lineTo(-rad, rad * 2);
lineTo(-rad, -rad);
endFill();
}
Symbol 483 MovieClip Frame 11
stop();
if (!mask_mc) {
this.createEmptyMovieClip("mask_mc", 103);
mask_mc._x = orb_mc._x;
mask_mc._y = orb_mc._y;
mask_mc.rad = orb_mc._width / 2;
mask_mc.updateMask = updateMask;
}
orb_mc.setMask(mask_mc);
mask_mc.clear();
with (mask_mc) {
beginFill(16711680, 100);
moveTo(-rad, -rad);
lineTo(rad * 2, -rad);
lineTo(rad * 2, rad * 2);
lineTo(-rad, rad * 2);
lineTo(-rad, -rad);
endFill();
}
Symbol 483 MovieClip Frame 18
stop();
if (!mask_mc) {
this.createEmptyMovieClip("mask_mc", 103);
mask_mc._x = orb_mc._x;
mask_mc._y = orb_mc._y;
mask_mc.rad = orb_mc._width / 2;
mask_mc.updateMask = updateMask;
}
orb_mc.setMask(mask_mc);
mask_mc.clear();
with (mask_mc) {
beginFill(16711680, 100);
moveTo(-rad, -rad);
lineTo(rad * 2, -rad);
lineTo(rad * 2, rad * 2);
lineTo(-rad, rad * 2);
lineTo(-rad, -rad);
endFill();
}
Symbol 492 MovieClip Frame 13
_parent.gotoAndStop("off");
Symbol 493 MovieClip Frame 14
_parent.gotoAndStop("on");
Symbol 494 MovieClip Frame 1
stop();
Instance of Symbol 47 MovieClip in Symbol 494 MovieClip Frame 1
/* no clip actions */
Symbol 494 MovieClip Frame 8
stop();
Instance of Symbol 492 MovieClip in Symbol 494 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_parent.playerHealth < 3) {
_visible = false;
}
}
Symbol 494 MovieClip Frame 11
stop();
Instance of Symbol 493 MovieClip in Symbol 494 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_parent.playerHealth < 3) {
_visible = false;
}
}
Symbol 494 MovieClip Frame 15
stop();
Symbol 497 MovieClip Frame 1
stop();
Symbol 497 MovieClip Frame 12
Symbol 497 MovieClip Frame 26
this.removeMovieClip();
Symbol 498 MovieClip Frame 1
_parent.score_mc._visible = false;
stop();
Symbol 498 MovieClip Frame 2
_parent.score_mc._visible = true;
Symbol 498 MovieClip Frame 5
stop();
opened();
Symbol 498 MovieClip Frame 9
_parent.score_mc._visible = false;
stop();
closed();
Symbol 499 MovieClip Frame 1
stop();
Symbol 499 MovieClip Frame 23
stop();
Symbol 523 MovieClip Frame 1
stop();
Symbol 523 MovieClip Frame 6
stop();
Symbol 523 MovieClip Frame 10
stop();
Symbol 523 MovieClip Frame 15
stop();
Symbol 523 MovieClip Frame 20
stop();
Symbol 528 MovieClip Frame 1
stop();
_title = "- - - -";
var _snd = new Sound(this);
_snd.stop();
Symbol 528 MovieClip Frame 2
stop();
Symbol 530 MovieClip Frame 1
function onKeyDown() {
var _local1 = Key.getCode();
if ((_local1 == MUSIC) && (!isMusicKeyDown)) {
isMusicKeyDown = true;
muteMusic();
} else if ((_local1 == SOUND) && (!isSoundKeyDown)) {
isSoundKeyDown = true;
muteSound();
}
}
function onKeyUp() {
var _local1 = Key.getCode();
if (_local1 == MUSIC) {
delete isMusicKeyDown;
} else if (_local1 == SOUND) {
delete isSoundKeyDown;
}
}
function onEnterFrame() {
if (!_global.world.isGameStarting) {
var _local2 = _snd.getVolume();
if (_local2 != tgtVol) {
if (_local2 < tgtVol) {
if ((_local2 + deltaVol) > tgtVol) {
_snd.setVolume(tgtVol);
} else {
_snd.setVolume(_local2 + deltaVol);
}
} else if ((_local2 - deltaVol) < tgtVol) {
_snd.setVolume(tgtVol);
} else {
_snd.setVolume(_local2 - deltaVol);
}
}
_local2 = _global.world.currentSound._snd.getVolume();
if (_local2 != tgtVolMusic) {
if (_local2 < tgtVolMusic) {
if ((_local2 + deltaVol) > tgtVolMusic) {
_global.world.currentSound._snd.setVolume(tgtVolMusic);
} else {
_global.world.currentSound._snd.setVolume(_local2 + deltaVol);
}
} else if ((_local2 - deltaVol) < tgtVolMusic) {
_global.world.currentSound._snd.setVolume(tgtVolMusic);
} else {
_global.world.currentSound._snd.setVolume(_local2 - deltaVol);
}
}
}
}
function muteSound(t) {
t = ((t == undefined) ? (!isSoundMuted) : (t));
if (t) {
tgtVol = 0;
} else {
tgtVol = 100;
}
broadcastMessage("toggleSounds", t);
isSoundMuted = t;
}
function muteMusic(t) {
t = ((t == undefined) ? (!isMusicMuted) : (t));
if (t) {
tgtVolMusic = 0;
} else {
tgtVolMusic = 100;
}
broadcastMessage("toggleMusic", t);
isMusicMuted = t;
}
stop();
_global.snd_control = this;
var _snd = new Sound();
var isSoundMuted = false;
var isMusicMuted = false;
var tgtVol = 100;
var tgtVolMusic = 100;
var deltaVol = 8;
var MUSIC = 77;
var SOUND = 65;
Key.addListener(this);
AsBroadcaster.initialize(this);
addListener(_global.world.options_menu_mc);
Symbol 533 MovieClip [performanceController] Frame 1
#initclip 7
Object.registerClass("performanceController", PerformanceController);
#endinitclip
Symbol 541 MovieClip Frame 1
stop();
Symbol 541 MovieClip Frame 2
stop();
Symbol 545 MovieClip Frame 1
stop();
Symbol 545 MovieClip Frame 2
stop();
Symbol 549 MovieClip Frame 1
stop();
Symbol 549 MovieClip Frame 2
stop();
Symbol 551 MovieClip Frame 1
function toggleMusic(t) {
music_mc.gotoAndStop((t ? "off" : "on"));
}
function toggleSounds(t) {
sounds_mc.gotoAndStop((t ? "off" : "on"));
}
function onKeyDown() {
var _local2 = ((!_global.world.isBitmapCached) || (!_global.world.isSoundCached)) || (!_global.world.isVideoCached);
if (((Key.getCode() == 67) && (!isKeyDown)) && (!_local2)) {
isKeyDown = true;
_global.world.skipVideos = !_global.world.skipVideos;
cutscenes_mc.gotoAndStop((_global.world.skipVideos ? "off" : "on"));
if (!_global.world.isGunEnabled) {
_global.world.skipVideo();
} else if (!_global.world.skipVideos) {
_global.world.cacheVideo(_global.world.lvl);
}
}
}
function onKeyUp() {
if (Key.getCode() == 67) {
delete isKeyDown;
}
}
_global.options = this;
if (_global.root.skipVideos) {
cutscenes_mc.gotoAndStop("off");
}
Key.addListener(this);
Symbol 560 MovieClip Frame 1
stop();
Symbol 600 MovieClip Frame 1
_visible = false;
stop();
Symbol 600 MovieClip Frame 6
stop();
Symbol 600 MovieClip Frame 11
stop();
Symbol 600 MovieClip Frame 18
stop();
Symbol 600 MovieClip Frame 25
stop();
Symbol 600 MovieClip Frame 31
stop();
Symbol 600 MovieClip Frame 39
stop();
Symbol 600 MovieClip Frame 47
stop();
Symbol 600 MovieClip Frame 55
stop();
Symbol 600 MovieClip Frame 62
stop();
Symbol 600 MovieClip Frame 71
stop();
Symbol 600 MovieClip Frame 78
stop();
Symbol 600 MovieClip Frame 86
stop();
Symbol 600 MovieClip Frame 93
stop();
Symbol 600 MovieClip Frame 100
stop();
Symbol 600 MovieClip Frame 106
stop();
Symbol 600 MovieClip Frame 113
stop();
Symbol 600 MovieClip Frame 121
stop();
Symbol 600 MovieClip Frame 129
stop();
Symbol 600 MovieClip Frame 137
stop();
Symbol 600 MovieClip Frame 146
stop();
Symbol 600 MovieClip Frame 153
stop();
Symbol 600 MovieClip Frame 159
stop();
Symbol 600 MovieClip Frame 171
stop();
Symbol 600 MovieClip Frame 179
stop();
Symbol 600 MovieClip Frame 194
stop();
Symbol 600 MovieClip Frame 204
stop();
Symbol 600 MovieClip Frame 212
stop();
Symbol 600 MovieClip Frame 224
stop();
Symbol 600 MovieClip Frame 234
stop();
Symbol 600 MovieClip Frame 243
stop();
Symbol 602 MovieClip Frame 9
gotoAndPlay (1);
Symbol 607 MovieClip Frame 15
gotoAndPlay (1);
Symbol 608 MovieClip Frame 1
gotoAndPlay (1);
Symbol 613 MovieClip Frame 10
_global.world.hurtPlayer(this);
Symbol 613 MovieClip Frame 14
_global.world.hurtPlayer(this);
Symbol 613 MovieClip Frame 17
stop();
Symbol 618 MovieClip Frame 1
_global.world.kidHit(_parent._parent, "down");
Symbol 618 MovieClip Frame 19
_global.world.kidHit(_parent._parent, "up");
_parent._parent.spriteAnim = _parent._parent.oldSpriteAnim;
_parent.gotoAndStop(_parent._parent.oldSpriteAnim);
Symbol 636 MovieClip Frame 1
_global.world.kidHit(_parent._parent, "down");
Symbol 636 MovieClip Frame 23
_global.world.enemyKilled(_parent._parent);
stop();
_parent._parent.gotoAndStop("dead");
Symbol 638 MovieClip Frame 1
stop();
Symbol 638 MovieClip Frame 6
stop();
Symbol 638 MovieClip Frame 13
stop();
Symbol 638 MovieClip Frame 19
stop();
Symbol 638 MovieClip Frame 24
_global.world.spawnPoints(_parent, 200);
stop();
Symbol 642 MovieClip Frame 1
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.chooseMask(this, "doorway");
_global.world.setSpriteAnim(this, "run");
Symbol 642 MovieClip Frame 38
_global.world.chooseMask(this, "off");
Symbol 642 MovieClip Frame 46
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 642 MovieClip Frame 69
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 642 MovieClip Frame 83
gotoAndPlay ("loop");
Symbol 643 MovieClip Frame 1
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.chooseMask(this, "doorway");
_global.world.setSpriteAnim(this, "run");
Symbol 643 MovieClip Frame 41
_global.world.chooseMask(this, "off");
Symbol 643 MovieClip Frame 49
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 643 MovieClip Frame 74
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 643 MovieClip Frame 88
gotoAndPlay ("loop");
Symbol 644 MovieClip Frame 1
function setSpriteAnim(f) {
spriteAnim = f;
sprite.gotoAndStop(f);
}
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.setSpriteAnim(this, "run");
Symbol 644 MovieClip Frame 63
_global.world.chooseMask(this, "off");
Symbol 644 MovieClip Frame 76
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 644 MovieClip Frame 102
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 644 MovieClip Frame 116
gotoAndPlay ("loop");
Symbol 645 MovieClip Frame 1
count = 0;
_global.world.newEnemy(this);
if (!quantity) {
quantity = 4;
}
layerDepth = _parent.getNextHighestDepth() + quantity;
startScale = _xscale;
Instance of Symbol 80 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 645 MovieClip Frame 2
if (!xRange) {
xRange = _global.world.doomSpringX;
}
if (!xBias) {
xBias = _global.world.doomSpringXBias;
}
if (!ySpeed) {
ySpeed = _global.world.doomSpringY;
}
if (!scaleSpeed) {
scaleSpeed = _global.world.doomSpringScale;
}
mc = _parent.attachMovie("doomSpring", "doomSpring" + count, layerDepth - count, {attached:true, scaleSpeed:scaleSpeed, xBias:xBias, xRange:xRange, ySpeed:ySpeed, count:count, quantity:quantity, _x:_x, _y:_y, _xscale:startScale, _yscale:startScale});
trace(mc.xRange);
_parent["doomSpring" + count].quantity = quantity;
count++;
if (count > quantity) {
_global.world.enemyKilled(this);
stop();
}
Symbol 645 MovieClip Frame 21
gotoAndPlay ("loop");
Symbol 646 MovieClip Frame 1
function setSpriteAnim(f) {
spriteAnim = f;
sprite.gotoAndStop(f);
}
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.setSpriteAnim(this, "run");
Symbol 646 MovieClip Frame 68
_global.world.chooseMask(this, "off");
Symbol 646 MovieClip Frame 81
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 646 MovieClip Frame 106
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 646 MovieClip Frame 120
gotoAndPlay ("loop");
Symbol 647 MovieClip Frame 1
_global.world.newEnemy(this);
quantity = ((!quantity) ? 4 : (quantity));
dir = ((!dir) ? 100 : (dir));
layerDepth = _global.world.getNextHighestDepth() + quantity;
io = {count:0, quantity:quantity, _x:_x, _y:_y, _xscale:dir};
Instance of Symbol 62 MovieClip in Symbol 647 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 647 MovieClip Frame 9
mc = _global.world.attachMovie("batBall", "batBall" + (layerDepth - io.count), layerDepth - (io.count++), io);
if (io.count < io.quantity) {
gotoAndPlay ("loop");
} else {
_global.world.enemyKilled(this);
stop();
}
Symbol 648 MovieClip Frame 1
_global.world.levelStart(this);
Symbol 648 MovieClip Frame 7
_global.world.waitForWave(this);
Instance of Symbol 645 MovieClip in Symbol 648 MovieClip Frame 82
onClipEvent (load) {
scaleSpeed = 1.0175;
ySpeed = 1.65;
}
Symbol 648 MovieClip Frame 118
_global.world.waitForWave(this);
Symbol 648 MovieClip Frame 121
_global.world.waitForWave(this);
Symbol 648 MovieClip Frame 122
_global.world.levelEnd(this);
Symbol 656 MovieClip Frame 12
_parent.gotoAndPlay("attack");
Symbol 661 MovieClip Frame 23
if (Math.random() < _global.world.wormShootRate) {
_parent.gotoAndPlay("attack");
} else {
gotoAndPlay (1);
}
Instance of Symbol 667 MovieClip in Symbol 668 MovieClip Frame 6
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Instance of Symbol 149 MovieClip in Symbol 668 MovieClip Frame 21
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Symbol 668 MovieClip Frame 29
_global.world.enemyShoot(this, "worm");
_parent.gotoAndStop("idle");
Symbol 677 MovieClip Frame 10
_global.world.enemyKilled(this);
Symbol 679 MovieClip Frame 1
stop();
Symbol 679 MovieClip Frame 9
stop();
Symbol 679 MovieClip Frame 17
stop();
Symbol 679 MovieClip Frame 26
stop();
Symbol 679 MovieClip Frame 35
_global.world.spawnPoints(_parent, 100);
stop();
Symbol 680 MovieClip Frame 1
_global.world.newEnemy(this, "worm", this.sprite.hitBtn);
Symbol 680 MovieClip Frame 4
stop();
Symbol 683 MovieClip Frame 1
function setSpriteAnim(f) {
spriteAnim = f;
sprite.gotoAndStop(f);
}
function beenShot() {
health--;
if (health <= 0) {
setSpriteAnim("die");
}
}
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.chooseMask(this, "off");
setSpriteAnim("run");
Symbol 683 MovieClip Frame 48
_global.world.chooseMask(this, "off");
Symbol 683 MovieClip Frame 56
jumping = true;
_global.world.setSpriteAnim(this, "attack");
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 683 MovieClip Frame 82
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 683 MovieClip Frame 92
gotoAndPlay ("loop");
Symbol 684 MovieClip Frame 1
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.chooseMask(this, "scene2Far");
_global.world.setSpriteAnim(this, "run");
Symbol 684 MovieClip Frame 31
_global.world.chooseMask(this, "scene2Mid");
Symbol 684 MovieClip Frame 102
_global.world.chooseMask(this, "off");
Symbol 684 MovieClip Frame 103
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 684 MovieClip Frame 137
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 684 MovieClip Frame 150
gotoAndPlay ("loop");
Symbol 685 MovieClip Frame 1
_global.world.levelStart(this);
Symbol 685 MovieClip Frame 12
_global.world.waitForWave(this);
Symbol 685 MovieClip Frame 19
_global.world.waitForWave(this);
Symbol 685 MovieClip Frame 21
_global.world.levelEnd(this);
Symbol 685 MovieClip Frame 40
_global.world.waitForWave(this);
Symbol 693 MovieClip Frame 1
_parent._parent.stop();
Symbol 693 MovieClip Frame 12
_global.world.enemyExpired(_parent._parent);
stop();
Instance of Symbol 386 MovieClip "anim" in Symbol 694 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.myY = _y;
}
Symbol 694 MovieClip Frame 2
stop();
Symbol 694 MovieClip Frame 7
stop();
Instance of Symbol 692 MovieClip "anim" in Symbol 694 MovieClip Frame 7
onClipEvent (load) {
_y = _parent.myY;
}
Symbol 694 MovieClip Frame 12
_global.world.hurtPlayer(this);
stop();
Instance of Symbol 693 MovieClip "hitBtn" in Symbol 694 MovieClip Frame 12
onClipEvent (load) {
_y = _parent.myY;
notKilled = true;
}
Symbol 694 MovieClip Frame 22
_global.world.spawnPoints(_parent, 100);
stop();
Instance of Symbol 93 MovieClip "hitBtn" in Symbol 694 MovieClip Frame 22
onClipEvent (load) {
_y = _parent.myY;
}
Symbol 695 MovieClip Frame 1
if (!dropDist) {
dropDist = 100;
}
_global.world.newEnemy(this, "badMitt", this.sprite.hitBtn);
Instance of Symbol 694 MovieClip "sprite" in Symbol 695 MovieClip Frame 1
onClipEvent (load) {
topThrust = 10;
rot = 0;
thrust = topThrust;
count = 0;
animStartY = anim._y;
}
onClipEvent (enterFrame) {
if (!_parent.dead) {
depth = _xscale * (_parent._xscale * 0.01);
if (depth > 650) {
gotoAndPlay ("boom");
} else if (depth > 450) {
if (_parent.spriteAnim != "die") {
gotoAndStop ("attack");
}
}
_parent._y = _parent._y + ((_parent.dropDist - _parent._y) / 10);
count++;
if (count > 12) {
thrust = Math.round(20 * Math.random()) + 5;
count = 0;
}
rot = rot + ((thrust - rot) / 10);
_rotation = (_rotation + rot);
_yscale = (_yscale * 1.01);
_xscale = (_yscale * 1.01);
_x = (_x + (thrust / 50));
_y = (_y + (thrust / 100));
targetAnimY = animStartY - (thrust - (topThrust / 2));
anim._y = (anim._y + ((targetAnimY - (anim._y * 2)) / 10)) + 3;
hitBtn._y = anim._y;
}
}
Symbol 695 MovieClip Frame 4
stop();
Symbol 696 MovieClip Frame 1
_global.world.levelStart(this);
_global.world.waitForWave();
Instance of Symbol 695 MovieClip in Symbol 696 MovieClip Frame 5
onClipEvent (load) {
dropDist = 100;
}
Instance of Symbol 695 MovieClip in Symbol 696 MovieClip Frame 9
onClipEvent (load) {
dropDist = 100;
}
Instance of Symbol 695 MovieClip in Symbol 696 MovieClip Frame 13
onClipEvent (load) {
dropDist = 100;
}
Instance of Symbol 647 MovieClip in Symbol 696 MovieClip Frame 16
onClipEvent (load) {
quantity = 10;
}
Symbol 696 MovieClip Frame 19
_global.world.waitForWave(this);
Symbol 696 MovieClip Frame 25
_global.world.levelEnd(this);
Symbol 697 MovieClip Frame 1
function setSpriteAnim(f) {
spriteAnim = f;
sprite.gotoAndStop(f);
}
function beenShot() {
health--;
if (health <= 0) {
setSpriteAnim("die");
}
}
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.chooseMask(this, "off");
setSpriteAnim("run");
Symbol 697 MovieClip Frame 60
_global.world.chooseMask(this, "off");
Symbol 697 MovieClip Frame 68
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 697 MovieClip Frame 102
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 697 MovieClip Frame 116
gotoAndPlay ("loop");
Symbol 698 MovieClip Frame 1
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.setSpriteAnim(this, "run");
_global.world.chooseMask(this, "off");
if (skipAnim) {
gotoAndPlay(skipAnim);
}
Symbol 698 MovieClip Frame 56
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 698 MovieClip Frame 83
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 698 MovieClip Frame 97
gotoAndPlay ("loop");
Symbol 715 MovieClip Frame 19
gotoAndPlay (1);
Symbol 721 MovieClip Frame 1
_parent._parent.stop();
Symbol 721 MovieClip Frame 2
_parent._parent.play();
Symbol 721 MovieClip Frame 3
_parent._parent.stop();
Symbol 721 MovieClip Frame 4
_parent._parent.play();
Symbol 721 MovieClip Frame 5
_parent._parent.stop();
Symbol 721 MovieClip Frame 6
_parent._parent.play();
Symbol 721 MovieClip Frame 7
_parent._parent.stop();
Symbol 721 MovieClip Frame 8
_parent._parent.play();
Symbol 721 MovieClip Frame 9
_parent._parent.stop();
Symbol 721 MovieClip Frame 10
_parent._parent.play();
Symbol 721 MovieClip Frame 11
_parent._parent.stop();
Symbol 721 MovieClip Frame 12
_parent._parent.play();
Symbol 721 MovieClip Frame 13
_parent._parent.stop();
Symbol 721 MovieClip Frame 14
_parent._parent.play();
Symbol 721 MovieClip Frame 15
_parent._parent.stop();
Symbol 721 MovieClip Frame 16
_parent._parent.play();
Symbol 721 MovieClip Frame 17
_parent._parent.stop();
Symbol 721 MovieClip Frame 18
_parent._parent.play();
if (!_parent._parent.dead) {
_parent.gotoAndStop("walk");
} else {
_parent.gotoAndStop("die");
}
Symbol 723 MovieClip Frame 1
stop();
Symbol 723 MovieClip Frame 7
stop();
Symbol 723 MovieClip Frame 13
stop();
_global.world.spawnPoints(_parent, 100);
Symbol 724 MovieClip Frame 1
_global.world.chooseMask(this, "alleyway1");
_global.world.newEnemy(this, "skuffle", this.sprite.hitBtn);
_global.world.setSpriteAnim(this, "walk");
Symbol 724 MovieClip Frame 171
_global.world.enemyExpired(this);
stop();
Symbol 735 MovieClip [crate] Frame 1
_visible = false;
if (!type) {
type = "smg";
}
if (!ammo) {
ammo = 50;
}
bonus = {type:type, qty:ammo};
_global.world.newCrate(this, hitBtn);
stop();
Instance of Symbol 727 MovieClip "sprite" in Symbol 735 MovieClip [crate] Frame 1
onClipEvent (load) {
startY = _parent._y;
_parent._y = (-_parent._height) + 5;
_parent._visible = true;
fallRate = 1.3;
yVel = 1;
}
onClipEvent (enterFrame) {
if (!onFloor) {
_parent.hitBtn._visible = false;
if ((_parent._y + yVel) > startY) {
_parent._y = startY;
onFloor = true;
_parent.hitBtn._visible = true;
_parent.gotoAndPlay("hitFloor");
} else {
_parent._y = _parent._y + yVel;
yVel = yVel * fallRate;
}
}
}
Instance of Symbol 30 MovieClip "hitBtn" in Symbol 735 MovieClip [crate] Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 735 MovieClip [crate] Frame 6
stop();
Symbol 735 MovieClip [crate] Frame 14
_global.world.spawnBonus(this, bonus);
Symbol 735 MovieClip [crate] Frame 45
_global.world.crateKilled(this);
stop();
Symbol 744 MovieClip Frame 8
if (Math.random() < 0.25) {
gotoAndPlay ("on");
}
Symbol 744 MovieClip Frame 21
gotoAndPlay ("on");
Symbol 751 MovieClip Frame 1
gotoAndPlay ("skip");
Symbol 751 MovieClip Frame 2
_global.world.enemyShoot(this, "badPod1");
Symbol 751 MovieClip Frame 12
if (Math.random() < 0.25) {
gotoAndPlay ("on");
}
Symbol 751 MovieClip Frame 24
gotoAndPlay ("on");
Symbol 751 MovieClip Frame 67
gotoAndPlay ("on");
Instance of Symbol 747 MovieClip "eye" in Symbol 752 MovieClip Frame 1
onClipEvent (load) {
startY = _y;
startX = _x;
angle = 0;
}
onClipEvent (enterFrame) {
angle = angle + 0.15;
_y = (startY + (Math.sin(angle) * 5));
_x = (startX + (Math.cos(angle) * 8));
}
Symbol 774 MovieClip Frame 1
stop();
Instance of Symbol 771 MovieClip in Symbol 774 MovieClip Frame 48
onClipEvent (load) {
gotoAndPlay (5);
}
Instance of Symbol 774 MovieClip "body" in Symbol 778 MovieClip Frame 1
onClipEvent (load) {
_parent._parent._parent.beenShotSpecial();
}
Instance of Symbol 747 MovieClip in Symbol 778 MovieClip Frame 1
onClipEvent (load) {
startY = _y;
startX = _x;
angle = 0;
}
onClipEvent (enterFrame) {
angle = angle + 0.15;
_y = (startY + (Math.sin(angle) * 5));
_x = (startX + (Math.cos(angle) * 8));
}
Symbol 778 MovieClip Frame 6
_parent._parent.spriteAnim = _parent._parent.oldSpriteAnim;
_parent.gotoAndStop(_parent._parent.oldSpriteAnim);
Symbol 780 MovieClip Frame 23
stop();
Symbol 781 MovieClip Frame 38
gotoAndPlay (1);
Symbol 781 MovieClip Frame 39
_parent._parent.stop();
_parent._parent.spriteShadow._visible = false;
Symbol 781 MovieClip Frame 52
_global.world.enemyKilled(_parent._parent);
Symbol 782 MovieClip Frame 1
stop();
Instance of Symbol 752 MovieClip "pod" in Symbol 782 MovieClip Frame 1
onClipEvent (load) {
startY = _y;
startX = _x;
angle = 0;
}
onClipEvent (enterFrame) {
angle = angle + 0.15;
_y = (startY + (Math.sin(angle) * 10));
_x = (startX + (Math.cos(angle) * 3));
}
Symbol 782 MovieClip Frame 4
stop();
Instance of Symbol 778 MovieClip "pod" in Symbol 782 MovieClip Frame 4
onClipEvent (load) {
startY = _y;
startX = _x;
angle = 0;
}
onClipEvent (enterFrame) {
angle = angle + 0.15;
_y = (startY + (Math.sin(angle) * 10));
_x = (startX + (Math.cos(angle) * 3));
}
Symbol 782 MovieClip Frame 10
stop();
_global.world.spawnPoints(_parent, 1000);
Instance of Symbol 781 MovieClip "pod" in Symbol 782 MovieClip Frame 10
onClipEvent (load) {
startY = _y;
startX = _x;
angle = 0;
}
onClipEvent (enterFrame) {
angle = angle + 0.15;
_y = (startY + (Math.sin(angle) * 10));
_x = (startX + (Math.cos(angle) * 3));
}
Symbol 783 MovieClip Frame 1
_global.world.newEnemy(this, "badPod", this.sprite.pod.eye);
_global.world.setSpriteAnim(this, "attack1");
Instance of Symbol 117 MovieClip "spriteShadow" in Symbol 783 MovieClip Frame 35
/* no clip actions */
Symbol 783 MovieClip Frame 127
if (!dead) {
gotoAndPlay ("loop");
}
Symbol 783 MovieClip Frame 189
_global.world.enemyKilled(this);
stop();
Instance of Symbol 790 MovieClip "bar" in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
f = 100;
}
onClipEvent (enterFrame) {
gotoAndStop(Math.round((_parent._parent.boss.health / _parent._parent.boss.topHealth) * 100) + 1);
}
Symbol 793 MovieClip Frame 1
_global.world.levelStart(this);
Symbol 793 MovieClip Frame 11
_global.world.waitForWave(this, 2);
Instance of Symbol 735 MovieClip [crate] in Symbol 793 MovieClip Frame 29
onClipEvent (load) {
bonus = {type:"health"};
}
Symbol 793 MovieClip Frame 34
_global.world.waitForWave(this);
Symbol 793 MovieClip Frame 47
_global.world.waitForWave(this);
Symbol 793 MovieClip Frame 56
_global.world.levelEnd(this);
Symbol 795 MovieClip Frame 1
function setSpriteAnim(f) {
spriteAnim = f;
sprite.gotoAndStop(f);
}
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.chooseMask(this, "bullRun");
_global.world.setSpriteAnim(this, "run");
Symbol 795 MovieClip Frame 95
function setSpriteAnim(f) {
spriteAnim = f;
sprite.gotoAndStop(f);
}
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 795 MovieClip Frame 122
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 795 MovieClip Frame 136
gotoAndPlay ("loop");
Symbol 796 MovieClip Frame 1
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.chooseMask(this, "scene2Far");
_global.world.setSpriteAnim(this, "run");
Symbol 796 MovieClip Frame 31
_global.world.chooseMask(this, "scene2Mid");
Symbol 796 MovieClip Frame 102
_global.world.chooseMask(this, "off");
Symbol 796 MovieClip Frame 103
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 796 MovieClip Frame 137
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 796 MovieClip Frame 151
gotoAndPlay ("loop");
Symbol 797 MovieClip Frame 1
function setSpriteAnim(f) {
spriteAnim = f;
sprite.gotoAndStop(f);
}
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.setSpriteAnim(this, "run");
_global.world.chooseMask(this, "lampPost1");
Symbol 797 MovieClip Frame 81
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 797 MovieClip Frame 107
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 797 MovieClip Frame 121
gotoAndPlay ("loop");
Symbol 798 MovieClip Frame 1
function setSpriteAnim(f) {
spriteAnim = f;
sprite.gotoAndStop(f);
}
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.setSpriteAnim(this, "run");
_global.world.chooseMask(this, "lampPost1");
Symbol 798 MovieClip Frame 79
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 798 MovieClip Frame 106
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 798 MovieClip Frame 120
gotoAndPlay ("loop");
Symbol 799 MovieClip Frame 1
_global.world.levelStart(this);
_global.world.waitForWave();
Instance of Symbol 735 MovieClip [crate] in Symbol 799 MovieClip Frame 4
onClipEvent (load) {
type = "smg";
ammo = "50";
}
Instance of Symbol 645 MovieClip "springs1" in Symbol 799 MovieClip Frame 7
onClipEvent (load) {
xRange = 1;
xBias = 0.4;
scaleSpeed = 1.018;
quantity = 10;
ySpeed = 1.1;
}
Symbol 799 MovieClip Frame 18
_global.world.waitForWave(this);
Instance of Symbol 645 MovieClip "springs1" in Symbol 799 MovieClip Frame 29
onClipEvent (load) {
xRange = 1;
xBias = 0.4;
scaleSpeed = 1.018;
quantity = 6;
ySpeed = 1.1;
}
Symbol 799 MovieClip Frame 118
_global.world.waitForWave(this);
Symbol 799 MovieClip Frame 119
_global.world.levelEnd(this);
Symbol 806 MovieClip Frame 12
_parent.gotoAndPlay("attack");
Symbol 811 MovieClip Frame 31
if (Math.random() < _global.world.wormShootRate) {
_parent.gotoAndPlay("attack");
} else {
gotoAndPlay (1);
}
Instance of Symbol 667 MovieClip in Symbol 812 MovieClip Frame 6
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Instance of Symbol 149 MovieClip in Symbol 812 MovieClip Frame 21
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Symbol 812 MovieClip Frame 29
_global.world.enemyShoot(this, "worm");
_parent.gotoAndStop("idle");
Instance of Symbol 149 MovieClip in Symbol 812 MovieClip Frame 29
onClipEvent (load) {
if (!_global.root.noBlendModes) {
this.blendMode = "add";
}
}
Symbol 813 MovieClip Frame 1
stop();
Symbol 813 MovieClip Frame 9
stop();
Symbol 813 MovieClip Frame 17
stop();
Symbol 813 MovieClip Frame 26
stop();
Symbol 813 MovieClip Frame 35
_global.world.spawnPoints(_parent, 200);
stop();
Symbol 814 MovieClip Frame 1
_global.world.newEnemy(this, "wormTough", this.sprite.hitBtn);
Symbol 814 MovieClip Frame 4
stop();
Symbol 839 MovieClip Frame 28
gotoAndPlay (1);
Symbol 840 MovieClip Frame 1
count = 0;
Symbol 840 MovieClip Frame 12
count++;
if (count < (2 + Math.floor(Math.random() * 4))) {
gotoAndPlay (2);
} else {
_parent.gotoAndStop("attack");
}
Symbol 848 MovieClip Frame 1
if (!_parent._parent.jumping) {
_parent._parent.stop();
}
Symbol 848 MovieClip Frame 9
_global.world.worldShake();
Symbol 848 MovieClip Frame 11
_global.world.enemyShoot(_parent, "puncha");
Symbol 848 MovieClip Frame 22
_parent._parent.play();
_parent.gotoAndStop("idle");
Symbol 851 MovieClip Frame 1
_parent._parent.stop();
Symbol 851 MovieClip Frame 24
_global.world.enemyKilled(this);
Symbol 852 MovieClip Frame 1
stop();
Symbol 852 MovieClip Frame 4
stop();
Instance of Symbol 850 MovieClip "shot" in Symbol 852 MovieClip Frame 4
onClipEvent (load) {
_visible = false;
}
Symbol 852 MovieClip Frame 8
_global.world.spawnPoints(_parent, 500);
stop();
Symbol 853 MovieClip Frame 1
function beenShotSpecial() {
sprite.anim.head.gotoAndPlay("ouch");
}
_global.world.newEnemy(this, "puncha", this.sprite.hitBtn);
Symbol 853 MovieClip Frame 28
_global.world.setSpriteAnim(this, "attack");
Symbol 853 MovieClip Frame 161
gotoAndPlay ("walkLoop");
Symbol 853 MovieClip Frame 165
stop();
Symbol 854 MovieClip Frame 1
_global.world.waitForWave();
_global.world.levelStart(this);
Symbol 854 MovieClip Frame 35
_global.world.waitForWave(this);
Symbol 854 MovieClip Frame 45
_global.world.waitForWave(this);
Symbol 854 MovieClip Frame 53
_global.world.waitForWave(this);
Symbol 854 MovieClip Frame 57
_global.world.levelEnd(this);
Symbol 855 MovieClip Frame 1
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.chooseMask(this, "level7Wall");
_global.world.setSpriteAnim(this, "run");
Symbol 855 MovieClip Frame 46
_global.world.chooseMask(this, "off");
Symbol 855 MovieClip Frame 48
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 855 MovieClip Frame 74
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 855 MovieClip Frame 84
gotoAndPlay ("loop");
Symbol 873 MovieClip Frame 25
_parent.gotoAndStop("idle");
Symbol 874 MovieClip Frame 1
stop();
Symbol 876 MovieClip Frame 14
if (Math.random() < 0.5) {
_parent.gotoAndStop("attack");
} else {
_parent.gotoAndStop("attack2");
}
Symbol 877 MovieClip Frame 1
stop();
Symbol 877 MovieClip Frame 2
stop();
Symbol 877 MovieClip Frame 3
stop();
Symbol 877 MovieClip Frame 4
stop();
Symbol 886 MovieClip Frame 9
_global.world.enemyShoot(_parent, "binBoss");
Symbol 886 MovieClip Frame 14
_parent.gotoAndStop("idle");
Symbol 889 MovieClip Frame 9
_global.world.enemyShoot(_parent, "binBoss");
Symbol 889 MovieClip Frame 14
_parent.gotoAndStop("idle");
Symbol 890 MovieClip Frame 2
stop();
Symbol 890 MovieClip Frame 5
stop();
Instance of Symbol 877 MovieClip in Symbol 890 MovieClip Frame 5
onClipEvent (load) {
oldHealth = _parent._parent.health;
sweatIndex = 1;
}
onClipEvent (enterFrame) {
if (oldHealth != _parent._parent.health) {
play();
sweatIndex++;
if (sweatIndex == 4) {
sweatIndex = 1;
}
_parent["sweat" + sweatIndex].play();
}
oldHealth = _parent._parent.health;
}
Symbol 890 MovieClip Frame 11
stop();
Instance of Symbol 850 MovieClip "shot" in Symbol 890 MovieClip Frame 11
onClipEvent (load) {
_visible = false;
}
Symbol 890 MovieClip Frame 17
stop();
Symbol 890 MovieClip Frame 23
stop();
_global.world.spawnPoints(_parent, 1000);
Symbol 891 MovieClip Frame 1
_global.world.newEnemy(this, "binBoss", this.sprite.hitBtn);
Symbol 891 MovieClip Frame 14
stop();
Symbol 892 MovieClip Frame 1
_global.world.levelStart(this);
Symbol 892 MovieClip Frame 33
_global.world.waitForWave(this, 1);
Symbol 892 MovieClip Frame 56
_global.world.waitForWave(this, 1);
Symbol 892 MovieClip Frame 78
_global.world.waitForWave(this);
Symbol 892 MovieClip Frame 88
_global.world.levelExplode();
_global.world.showAltImage();
Symbol 892 MovieClip Frame 92
_global.world.waitForWave(this);
Symbol 892 MovieClip Frame 102
_global.world.waitForWave(this);
Symbol 892 MovieClip Frame 103
_global.world.levelEnd(this);
Symbol 893 MovieClip Frame 1
function setSpriteAnim(f) {
spriteAnim = f;
sprite.gotoAndStop(f);
}
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.chooseMask(this, "level8BinsAndWall");
_global.world.setSpriteAnim(this, "run");
Symbol 893 MovieClip Frame 73
_global.world.chooseMask(this, "off");
Symbol 893 MovieClip Frame 80
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 893 MovieClip Frame 105
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 893 MovieClip Frame 118
gotoAndPlay ("loop");
Symbol 895 MovieClip Frame 1
function setSpriteAnim(f) {
spriteAnim = f;
sprite.gotoAndStop(f);
}
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.chooseMask(this, "level8BinsAndWall");
_global.world.setSpriteAnim(this, "run");
Symbol 895 MovieClip Frame 29
_global.world.chooseMask(this, "level8Bins");
Symbol 895 MovieClip Frame 59
_global.world.chooseMask(this, "off");
Symbol 895 MovieClip Frame 60
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 895 MovieClip Frame 83
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 895 MovieClip Frame 96
gotoAndPlay ("loop");
Symbol 896 MovieClip Frame 1
function setSpriteAnim(f) {
spriteAnim = f;
sprite.gotoAndStop(f);
}
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.chooseMask(this, "level8BinsAndWall");
_global.world.setSpriteAnim(this, "run");
Symbol 896 MovieClip Frame 74
_global.world.chooseMask(this, "off");
Symbol 896 MovieClip Frame 88
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 896 MovieClip Frame 113
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 896 MovieClip Frame 126
gotoAndPlay ("loop");
Symbol 898 MovieClip Frame 25
_parent.gotoAndPlay("idle");
Symbol 903 MovieClip Frame 14
if (Math.random() < 0.5) {
_parent.gotoAndStop("attack");
} else {
_parent.gotoAndStop("attack2");
}
Symbol 906 MovieClip Frame 9
_global.world.enemyShoot(_parent, "binBoss");
Symbol 906 MovieClip Frame 14
_parent.gotoAndStop("idle");
Symbol 908 MovieClip Frame 9
_global.world.enemyShoot(_parent, "binBoss");
Symbol 908 MovieClip Frame 14
_parent.gotoAndStop("idle");
Instance of Symbol 877 MovieClip in Symbol 909 MovieClip Frame 1
onClipEvent (load) {
oldHealth = _parent._parent.health;
sweatIndex = 1;
}
onClipEvent (enterFrame) {
if (oldHealth != _parent._parent.health) {
play();
sweatIndex++;
if (sweatIndex == 4) {
sweatIndex = 1;
}
_parent["sweat" + sweatIndex].play();
}
oldHealth = _parent._parent.health;
}
Symbol 909 MovieClip Frame 6
stop();
Symbol 909 MovieClip Frame 7
stop();
Symbol 909 MovieClip Frame 12
stop();
Instance of Symbol 850 MovieClip "shot" in Symbol 909 MovieClip Frame 12
onClipEvent (load) {
_visible = false;
}
Symbol 909 MovieClip Frame 18
stop();
Symbol 909 MovieClip Frame 24
_global.world.spawnPoints(_parent, 1000);
stop();
Symbol 910 MovieClip Frame 1
function beenShotSpecial() {
if (health <= 0) {
_global.world.level.bin.stop();
_global.world.level.bin.properDead = true;
_global.world.setSpriteAnim(_global.world.level.bin, "die");
}
}
_global.world.newEnemy(this, "binBoss", this.sprite.hitBtn);
Symbol 910 MovieClip Frame 14
stop();
Symbol 915 MovieClip Frame 8
stop();
Symbol 916 MovieClip Frame 8
stop();
Symbol 917 MovieClip Frame 1
_parent._parent.stop();
Symbol 917 MovieClip Frame 24
if (_parent._parent.properDead) {
_global.world.enemyExpired(_parent._parent);
_parent._parent.gotoAndStop("properDead");
} else if (_parent._parent._parent.boss.health <= 0) {
_global.world.enemyExpired(_parent._parent);
_parent._parent.gotoAndStop("properDead");
} else {
_parent._parent.play();
}
gotoAndPlay(this._currentframe - 1);
Symbol 918 MovieClip Frame 1
stop();
Symbol 918 MovieClip Frame 6
stop();
Symbol 918 MovieClip Frame 13
stop();
Symbol 921 MovieClip Frame 1
stop();
Symbol 922 MovieClip Frame 1
function beenShotSpecial() {
dead = true;
sprite.gotoAndStop("die");
}
_global.world.newEnemy(this, "binFuel", this.sprite.hitBtn);
Instance of Symbol 918 MovieClip "sprite" in Symbol 922 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 850 MovieClip in Symbol 922 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 922 MovieClip Frame 2
sprite._visible = true;
dead = false;
if (!dead) {
_global.world.setSpriteAnim(this, "jump");
}
_global.world.chooseMask(this, "binBossWall");
Symbol 922 MovieClip Frame 14
if (!dead) {
_global.world.setSpriteAnim(this, "land");
}
Symbol 922 MovieClip Frame 22
if (!dead) {
_global.world.setSpriteAnim(this, "jump");
}
Symbol 922 MovieClip Frame 31
_global.world.chooseMask(this, "binBoss");
Symbol 922 MovieClip Frame 43
if (!dead) {
_global.world.bossRegen();
displayer.play();
}
Symbol 922 MovieClip Frame 44
Symbol 922 MovieClip Frame 79
if (!_parent.boss.dead) {
gotoAndPlay ("start");
} else {
}
Symbol 922 MovieClip Frame 81
stop();
Symbol 923 MovieClip Frame 1
_global.world.levelStart(this);
Symbol 923 MovieClip Frame 27
_global.world.waitForWave(this, 1);
Symbol 923 MovieClip Frame 36
_global.world.waitForWave(this, 1);
Symbol 923 MovieClip Frame 55
_global.world.waitForWave(this, 1);
Symbol 923 MovieClip Frame 85
_global.world.waitForWave(this);
Symbol 923 MovieClip Frame 89
_global.world.levelExplode();
_global.world.showAltImage();
Instance of Symbol 922 MovieClip "bin" in Symbol 923 MovieClip Frame 90
/* no clip actions */
Symbol 923 MovieClip Frame 100
_global.world.waitForWave(this);
Symbol 923 MovieClip Frame 111
_global.world.levelEnd(this);
Symbol 925 MovieClip Frame 1
function beenShotSpecial() {
sprite.anim.head.gotoAndPlay("ouch");
}
_global.world.newEnemy(this, "puncha", this.sprite.hitBtn);
Symbol 925 MovieClip Frame 14
_global.world.setSpriteAnim(this, "attack");
Symbol 925 MovieClip Frame 83
gotoAndPlay ("walkLoop");
Symbol 925 MovieClip Frame 86
stop();
Symbol 926 MovieClip Frame 1
function setSpriteAnim(f) {
spriteAnim = f;
sprite.gotoAndStop(f);
}
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.chooseMask(this, "level9Grate");
_global.world.setSpriteAnim(this, "run");
Symbol 926 MovieClip Frame 67
_global.world.chooseMask(this, "off");
Symbol 926 MovieClip Frame 76
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 926 MovieClip Frame 102
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 926 MovieClip Frame 116
gotoAndPlay ("loop");
Symbol 927 MovieClip Frame 1
function setSpriteAnim(f) {
spriteAnim = f;
sprite.gotoAndStop(f);
}
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.chooseMask(this, "level9Grate");
_global.world.setSpriteAnim(this, "run");
Symbol 927 MovieClip Frame 63
_global.world.chooseMask(this, "off");
Symbol 927 MovieClip Frame 72
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 927 MovieClip Frame 90
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 927 MovieClip Frame 100
gotoAndPlay ("loop");
Symbol 928 MovieClip Frame 1
function setSpriteAnim(f) {
spriteAnim = f;
sprite.gotoAndStop(f);
}
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.chooseMask(this, "level9Grate");
_global.world.setSpriteAnim(this, "run");
Symbol 928 MovieClip Frame 74
_global.world.chooseMask(this, "off");
Symbol 928 MovieClip Frame 75
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 928 MovieClip Frame 101
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 928 MovieClip Frame 115
gotoAndPlay ("loop");
Symbol 929 MovieClip Frame 1
_global.world.levelStart(this);
waitForWave();
Instance of Symbol 735 MovieClip [crate] in Symbol 929 MovieClip Frame 4
onClipEvent (load) {
type = "autoShot";
ammo = 40;
}
Instance of Symbol 680 MovieClip "w3" in Symbol 929 MovieClip Frame 9
onClipEvent (load) {
_global.world.chooseMask(this, "level9Grate");
}
Symbol 929 MovieClip Frame 11
_global.world.waitForWave(this, 1);
Instance of Symbol 814 MovieClip in Symbol 929 MovieClip Frame 13
onClipEvent (load) {
_global.world.chooseMask(this, "level9Grate");
}
Instance of Symbol 680 MovieClip "w9" in Symbol 929 MovieClip Frame 13
onClipEvent (load) {
_global.world.chooseMask(this, "level9Grate");
}
Instance of Symbol 680 MovieClip in Symbol 929 MovieClip Frame 13
onClipEvent (load) {
_global.world.chooseMask(this, "level9Grate");
}
Symbol 929 MovieClip Frame 15
_global.world.waitForWave(this, 1);
Instance of Symbol 680 MovieClip in Symbol 929 MovieClip Frame 16
onClipEvent (load) {
_global.world.chooseMask(this, "level9Grate");
}
Instance of Symbol 680 MovieClip in Symbol 929 MovieClip Frame 16
onClipEvent (load) {
_global.world.chooseMask(this, "level9Grate");
}
Instance of Symbol 680 MovieClip in Symbol 929 MovieClip Frame 16
onClipEvent (load) {
_global.world.chooseMask(this, "level9Grate");
}
Symbol 929 MovieClip Frame 18
_global.world.waitForWave(this, 1);
Instance of Symbol 680 MovieClip in Symbol 929 MovieClip Frame 20
onClipEvent (load) {
_global.world.chooseMask(this, "level9Grate");
}
Instance of Symbol 680 MovieClip in Symbol 929 MovieClip Frame 20
onClipEvent (load) {
_global.world.chooseMask(this, "level9Grate");
}
Instance of Symbol 814 MovieClip in Symbol 929 MovieClip Frame 20
onClipEvent (load) {
_global.world.chooseMask(this, "level9Grate");
}
Instance of Symbol 814 MovieClip in Symbol 929 MovieClip Frame 20
onClipEvent (load) {
_global.world.chooseMask(this, "level9Grate");
}
Symbol 929 MovieClip Frame 22
_global.world.waitForWave(this, 1);
Instance of Symbol 735 MovieClip [crate] in Symbol 929 MovieClip Frame 58
onClipEvent (load) {
type = "shotgun";
ammo = 20;
}
Instance of Symbol 680 MovieClip "w2" in Symbol 929 MovieClip Frame 58
onClipEvent (load) {
_global.world.chooseMask(this, "level9Grate");
}
Symbol 929 MovieClip Frame 61
_global.world.waitForWave(this, 1);
Symbol 929 MovieClip Frame 84
_global.world.waitForWave(this);
Symbol 929 MovieClip Frame 94
_global.world.levelEnd(this);
Symbol 931 MovieClip Frame 1
function setSpriteAnim(f) {
spriteAnim = f;
sprite.gotoAndStop(f);
}
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.chooseMask(this, "bullRun");
_global.world.setSpriteAnim(this, "run");
Symbol 931 MovieClip Frame 98
function setSpriteAnim(f) {
spriteAnim = f;
sprite.gotoAndStop(f);
}
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 931 MovieClip Frame 125
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 931 MovieClip Frame 139
gotoAndPlay ("loop");
Symbol 932 MovieClip Frame 1
function setSpriteAnim(f) {
spriteAnim = f;
sprite.gotoAndStop(f);
}
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.chooseMask(this, "bullRun");
_global.world.setSpriteAnim(this, "run");
Symbol 932 MovieClip Frame 96
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 932 MovieClip Frame 124
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 932 MovieClip Frame 138
gotoAndPlay ("loop");
Symbol 933 MovieClip Frame 1
_global.world.waitForWave();
_global.world.levelStart(this);
waitForWave();
Symbol 933 MovieClip Frame 326
_global.world.waitForWave();
_global.world.waitForWave(this);
Symbol 933 MovieClip Frame 335
_global.world.levelEnd(this);
Symbol 949 MovieClip Frame 1
stop();
Symbol 950 MovieClip Frame 20
_parent.gotoAndPlay("attack");
Symbol 951 MovieClip Frame 1
count = 0;
Symbol 951 MovieClip Frame 17
count++;
if (count < 3) {
gotoAndPlay (2);
} else {
_parent.gotoAndPlay("attack");
}
Symbol 959 MovieClip Frame 1
count = 0;
Symbol 959 MovieClip Frame 7
_global.world.enemyShoot(_parent, "mudBoss");
Symbol 959 MovieClip Frame 11
count++;
if (count < (_parent._parent.minimumMud + ((_parent._parent.topHealth - _parent._parent.health) / 4))) {
gotoAndPlay (3);
} else {
_parent.gotoAndStop("idle");
}
Symbol 963 MovieClip Frame 74
_global.world.enemyKilled(this);
Symbol 964 MovieClip Frame 3
stop();
Symbol 964 MovieClip Frame 5
stop();
Symbol 964 MovieClip Frame 10
stop();
Symbol 964 MovieClip Frame 14
stop();
_global.world.spawnPoints(_parent, 1000);
Symbol 965 MovieClip Frame 1
function beenShotSpecial() {
sprite.anim.head.play();
}
_global.world.newEnemy(this, "workman", this.sprite.hitBtn);
minimumMud = 4;
Symbol 965 MovieClip Frame 9
stop();
Symbol 966 MovieClip Frame 1
_global.world.waitForWave();
_global.world.levelStart(this);
Symbol 966 MovieClip Frame 12
_global.world.waitForWave(this);
Symbol 966 MovieClip Frame 21
_global.world.levelEnd(this);
Symbol 968 MovieClip Frame 1
_global.world.chooseMask(this, "level12Skuffle");
_global.world.newEnemy(this, "skuffle", this.sprite.hitBtn);
_global.world.setSpriteAnim(this, "walk");
Symbol 968 MovieClip Frame 127
_global.world.enemyExpired(this);
stop();
Symbol 976 MovieClip Frame 2
stop();
Symbol 979 MovieClip Frame 1
count = 0;
Instance of Symbol 976 MovieClip "head" in Symbol 979 MovieClip Frame 1
onClipEvent (load) {
_parent._parent._parent.beenShotSpecial();
}
Symbol 979 MovieClip Frame 10
if (count < 3) {
count++;
gotoAndPlay (2);
} else {
_parent.gotoAndStop("attack");
}
Symbol 990 MovieClip Frame 1
_parent._parent.stop();
Instance of Symbol 976 MovieClip "head" in Symbol 990 MovieClip Frame 1
onClipEvent (load) {
_parent._parent._parent.beenShotSpecial();
}
Symbol 990 MovieClip Frame 10
_global.world.enemyShoot(this, "cowboy2");
Symbol 990 MovieClip Frame 21
_global.world.enemyShoot(this, "cowboy1");
Symbol 990 MovieClip Frame 26
_parent._parent.play();
_parent.gotoAndStop("idle");
Symbol 991 MovieClip Frame 1
_parent._parent.stop();
Symbol 991 MovieClip Frame 7
if (_parent._parent.cueNextLevelImage) {
_global.world.levelExplode();
_global.world.showAltImage();
}
Symbol 991 MovieClip Frame 15
_global.world.enemyKilled(this);
stop();
Symbol 992 MovieClip Frame 7
stop();
Instance of Symbol 850 MovieClip "shot2" in Symbol 992 MovieClip Frame 8
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 850 MovieClip "shot1" in Symbol 992 MovieClip Frame 8
onClipEvent (load) {
_visible = false;
}
Symbol 992 MovieClip Frame 13
stop();
Symbol 992 MovieClip Frame 14
_global.world.spawnPoints(_parent, 200);
Symbol 992 MovieClip Frame 19
stop();
Symbol 993 MovieClip Frame 1
function beenShotSpecial() {
bodyTF = sprite.anim.head._totalframes;
sprite.anim.head.gotoAndStop(Math.round(bodyTF - (bodyTF * (health / topHealth))));
}
_global.world.newEnemy(this, "spaceCowboy", sprite.hitBtn);
_global.world.chooseMask(this, "level12Door");
Symbol 993 MovieClip Frame 17
sprite.gotoAndStop("attack");
_global.world.chooseMask(this, "off");
Symbol 993 MovieClip Frame 122
stop();
Symbol 993 MovieClip Frame 124
stop();
Symbol 994 MovieClip Frame 1
_global.world.levelStart(this);
_global.world.waitForWave();
waitForWave();
Instance of Symbol 735 MovieClip [crate] in Symbol 994 MovieClip Frame 1
onClipEvent (load) {
type = "shotgun";
ammo = "20";
}
Symbol 994 MovieClip Frame 18
_global.world.waitForWave(this);
Symbol 994 MovieClip Frame 43
_global.world.waitForWave(this);
Symbol 994 MovieClip Frame 93
_global.world.waitForWave(this);
Instance of Symbol 814 MovieClip "worm1" in Symbol 994 MovieClip Frame 138
onClipEvent (load) {
_global.world.chooseMask(this, "level12");
}
Instance of Symbol 680 MovieClip "worm2" in Symbol 994 MovieClip Frame 157
onClipEvent (load) {
_global.world.chooseMask(this, "level12");
}
Symbol 994 MovieClip Frame 164
_global.world.waitForWave(this);
Instance of Symbol 814 MovieClip "worm3" in Symbol 994 MovieClip Frame 181
onClipEvent (load) {
_global.world.chooseMask(this, "level12");
}
Symbol 994 MovieClip Frame 236
_global.world.waitForWave(this);
Instance of Symbol 735 MovieClip [crate] in Symbol 994 MovieClip Frame 238
onClipEvent (load) {
type = "health";
}
Symbol 994 MovieClip Frame 299
_global.world.waitForWave(this);
Instance of Symbol 993 MovieClip "cb1" in Symbol 994 MovieClip Frame 306
onClipEvent (load) {
cueNextLevelImage = true;
}
Symbol 994 MovieClip Frame 309
_global.world.waitForWave(this);
Symbol 994 MovieClip Frame 316
_global.world.levelEnd(this);
Symbol 1000 MovieClip Frame 2
_parent.gotoAndStop("idle");
Symbol 1008 MovieClip Frame 3
if (Math.random() > 0.2) {
gotoAndPlay (1);
}
Instance of Symbol 1008 MovieClip in Symbol 1009 MovieClip Frame 1
onClipEvent (load) {
_rotation = (Math.random() * 180);
}
Instance of Symbol 1008 MovieClip in Symbol 1010 MovieClip Frame 1
onClipEvent (load) {
_rotation = (Math.random() * 180);
}
Symbol 1010 MovieClip Frame 7
_parent.gotoAndPlay("idle");
Symbol 1012 MovieClip Frame 13
_global.world.enemyBeenShot(_global.world.level.boss);
_global.world.enemyExpired(this);
stop();
Symbol 1013 MovieClip Frame 1
anim.gotoAndPlay(Math.floor(Math.random() * anim._totalframes) + 1);
Symbol 1013 MovieClip Frame 2
stop();
Symbol 1013 MovieClip Frame 6
stop();
Symbol 1013 MovieClip Frame 11
_global.world.spawnPoints(_parent, 100);
Symbol 1013 MovieClip Frame 13
stop();
Symbol 1013 MovieClip Frame 14
stop();
Symbol 1014 MovieClip Frame 1
attached = true;
_global.world.newEnemy(this, "eyeBossTarget", this.sprite.hitBtn);
Symbol 1014 MovieClip Frame 2
stop();
Symbol 1014 MovieClip Frame 4
stop();
Symbol 1028 MovieClip Frame 1
_parent._parent.stop();
Symbol 1028 MovieClip Frame 44
_global.world.enemyKilled(this);
stop();
Symbol 1029 MovieClip Frame 2
stop();
Instance of Symbol 1000 MovieClip "anim" in Symbol 1029 MovieClip Frame 6
onClipEvent (enterFrame) {
targetFrame = (101 - Math.round((_parent._parent.health / _parent._parent.topHealth) * 100)) + 15;
if (_parent._parent._currentframe < targetFrame) {
_parent._parent.play();
} else {
_parent._parent.stop();
}
if (Math.random() < _global.world.eyeBossShootRate) {
_global.world.enemyShoot(_parent, "eyeBoss");
}
}
Instance of Symbol 850 MovieClip "shot1" in Symbol 1029 MovieClip Frame 6
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 850 MovieClip "shot4" in Symbol 1029 MovieClip Frame 6
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 850 MovieClip "shot2" in Symbol 1029 MovieClip Frame 6
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 850 MovieClip "shot3" in Symbol 1029 MovieClip Frame 6
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 850 MovieClip "shot5" in Symbol 1029 MovieClip Frame 6
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 850 MovieClip "shot6" in Symbol 1029 MovieClip Frame 6
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 850 MovieClip "shot7" in Symbol 1029 MovieClip Frame 6
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 850 MovieClip "shot8" in Symbol 1029 MovieClip Frame 6
onClipEvent (load) {
_visible = false;
}
Symbol 1029 MovieClip Frame 7
stop();
Symbol 1029 MovieClip Frame 11
gotoAndStop ("idle");
stop();
Instance of Symbol 1000 MovieClip in Symbol 1029 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < targetFrame) {
_parent._parent.play();
} else {
_parent._parent.stop();
}
if (Math.random() < _parent._parent._parent.eyeBossShootRate) {
_parent._parent._parent.enemyShoot(_parent, "eyeBoss");
}
}
Symbol 1029 MovieClip Frame 16
_global.world.spawnPoints(_parent, 1000);
stop();
Symbol 1030 MovieClip Frame 1
_global.world.newEnemy(this, "eyeBoss", this.sprite.hitBtn);
_global.world.setSpriteAnim(this, "intro");
Symbol 1030 MovieClip Frame 16
_global.world.setSpriteAnim(this, "idle");
Symbol 1030 MovieClip Frame 115
stop();
Instance of Symbol 1029 MovieClip "sprite" in Symbol 1030 MovieClip Frame 115
onClipEvent (enterFrame) {
if (_parent._currentframe > (100 - _parent.bossBar.bar._currentframe)) {
_parent.stop();
} else {
play();
}
}
Symbol 1030 MovieClip Frame 117
stop();
Symbol 1031 MovieClip Frame 1
_global.world.levelStart(this);
Symbol 1031 MovieClip Frame 17
_global.world.waitForWave(this);
Symbol 1031 MovieClip Frame 32
_global.world.levelEnd(this);
Symbol 1038 MovieClip Frame 1
_visible = false;
if (!type) {
type = "smg";
}
if (!ammo) {
ammo = 50;
}
bonus = {type:type, qty:ammo};
_global.world.newCrate(this, sprite);
stop();
Instance of Symbol 1035 MovieClip "sprite" in Symbol 1038 MovieClip Frame 1
onClipEvent (load) {
startY = _parent._y;
_parent._y = (-_parent._height) + 5;
_parent._visible = true;
fallRate = 1.3;
yVel = 1;
}
onClipEvent (enterFrame) {
if (!onFloor) {
_parent.hitBtn._visible = false;
if ((_parent._y + yVel) > startY) {
_parent._y = startY;
onFloor = true;
_parent.hitBtn._visible = true;
_parent.gotoAndPlay("hitFloor");
} else {
_parent._y = _parent._y + yVel;
yVel = yVel * fallRate;
}
}
}
Instance of Symbol 30 MovieClip "hitBtn" in Symbol 1038 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1038 MovieClip Frame 6
stop();
Symbol 1038 MovieClip Frame 14
_global.world.spawnBonus(this, bonus);
Symbol 1038 MovieClip Frame 45
_global.world.crateKilled(this);
stop();
Symbol 1039 MovieClip Frame 1
_global.world.levelStart(this);
Instance of Symbol 1038 MovieClip in Symbol 1039 MovieClip Frame 9
onClipEvent (load) {
type = "blah!";
}
Instance of Symbol 1038 MovieClip in Symbol 1039 MovieClip Frame 48
onClipEvent (load) {
type = "blah!";
}
Instance of Symbol 1038 MovieClip in Symbol 1039 MovieClip Frame 50
onClipEvent (load) {
type = "blah!";
}
Instance of Symbol 1038 MovieClip in Symbol 1039 MovieClip Frame 51
onClipEvent (load) {
type = "blah!";
}
Instance of Symbol 1038 MovieClip in Symbol 1039 MovieClip Frame 52
onClipEvent (load) {
type = "blah!";
}
Instance of Symbol 1038 MovieClip in Symbol 1039 MovieClip Frame 53
onClipEvent (load) {
type = "blah!";
}
Instance of Symbol 1038 MovieClip in Symbol 1039 MovieClip Frame 54
onClipEvent (load) {
type = "blah!";
}
Instance of Symbol 1038 MovieClip in Symbol 1039 MovieClip Frame 55
onClipEvent (load) {
type = "smg";
ammo = 50;
}
Instance of Symbol 1038 MovieClip in Symbol 1039 MovieClip Frame 55
onClipEvent (load) {
type = "blah!";
}
Instance of Symbol 1038 MovieClip in Symbol 1039 MovieClip Frame 56
onClipEvent (load) {
type = "blah!";
}
Instance of Symbol 1038 MovieClip in Symbol 1039 MovieClip Frame 57
onClipEvent (load) {
type = "blah!";
}
Instance of Symbol 1038 MovieClip in Symbol 1039 MovieClip Frame 58
onClipEvent (load) {
type = "blah!";
}
Instance of Symbol 1038 MovieClip in Symbol 1039 MovieClip Frame 59
onClipEvent (load) {
type = "health";
}
Instance of Symbol 1038 MovieClip in Symbol 1039 MovieClip Frame 60
onClipEvent (load) {
type = "blah!";
}
Instance of Symbol 1038 MovieClip in Symbol 1039 MovieClip Frame 61
onClipEvent (load) {
type = "blah!";
}
Instance of Symbol 1038 MovieClip in Symbol 1039 MovieClip Frame 62
onClipEvent (load) {
type = "blah!";
}
Instance of Symbol 1038 MovieClip in Symbol 1039 MovieClip Frame 63
onClipEvent (load) {
type = "blah!";
}
Instance of Symbol 1038 MovieClip in Symbol 1039 MovieClip Frame 64
onClipEvent (load) {
type = "blah!";
}
Symbol 1039 MovieClip Frame 172
_global.world.burnLevel(this);
Symbol 1039 MovieClip Frame 173
_global.world.levelEnd(this);
Symbol 1041 MovieClip Frame 1
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.chooseMask(this, "scene2Far");
_global.world.setSpriteAnim(this, "fly");
jumping = true;
Symbol 1041 MovieClip Frame 17
_global.world.chooseMask(this, "scene2Mid");
Symbol 1041 MovieClip Frame 52
_global.world.chooseMask(this, "off");
Symbol 1041 MovieClip Frame 66
if (dead) {
stop();
}
Symbol 1041 MovieClip Frame 67
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 1041 MovieClip Frame 96
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 1041 MovieClip Frame 109
gotoAndPlay ("loop");
Symbol 1042 MovieClip Frame 1
_global.world.levelStart(this);
Instance of Symbol 695 MovieClip in Symbol 1042 MovieClip Frame 6
onClipEvent (load) {
dropDist = 150;
}
Instance of Symbol 695 MovieClip in Symbol 1042 MovieClip Frame 8
onClipEvent (load) {
dropDist = 110;
}
Instance of Symbol 695 MovieClip in Symbol 1042 MovieClip Frame 11
onClipEvent (load) {
dropDist = 120;
}
Instance of Symbol 695 MovieClip in Symbol 1042 MovieClip Frame 14
onClipEvent (load) {
dropDist = 150;
}
Instance of Symbol 695 MovieClip in Symbol 1042 MovieClip Frame 17
onClipEvent (load) {
dropDist = 110;
}
Instance of Symbol 695 MovieClip in Symbol 1042 MovieClip Frame 20
onClipEvent (load) {
dropDist = 120;
}
Instance of Symbol 695 MovieClip in Symbol 1042 MovieClip Frame 22
onClipEvent (load) {
dropDist = 100;
}
Symbol 1042 MovieClip Frame 24
_global.world.waitForWave(this, 5);
Instance of Symbol 695 MovieClip in Symbol 1042 MovieClip Frame 25
onClipEvent (load) {
dropDist = 110;
}
Instance of Symbol 695 MovieClip in Symbol 1042 MovieClip Frame 28
onClipEvent (load) {
dropDist = 120;
}
Symbol 1042 MovieClip Frame 30
_global.world.waitForWave(this, 5);
Instance of Symbol 695 MovieClip in Symbol 1042 MovieClip Frame 33
onClipEvent (load) {
dropDist = 120;
}
Symbol 1042 MovieClip Frame 35
_global.world.waitForWave(this);
Symbol 1042 MovieClip Frame 41
_global.world.waitForWave(this);
Symbol 1042 MovieClip Frame 76
_global.world.levelEnd(this);
Symbol 1044 MovieClip Frame 6
gotoAndPlay (1);
Symbol 1059 MovieClip Frame 2
stop();
Symbol 1059 MovieClip Frame 6
stop();
Symbol 1062 MovieClip Frame 69
gotoAndPlay (1);
Symbol 1063 MovieClip Frame 9
_global.world.worldShake();
_parent._parent.stop();
Symbol 1063 MovieClip Frame 15
_parent._parent.play();
Symbol 1063 MovieClip Frame 29
_global.world.worldShake();
_parent._parent.stop();
Symbol 1063 MovieClip Frame 35
_parent._parent.play();
Symbol 1063 MovieClip Frame 41
gotoAndPlay (1);
Instance of Symbol 1064 MovieClip "head" in Symbol 1065 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.world.screwFist1.sprite.active) {
if (_global.world.screwFist2.sprite.active) {
if (_global.world.screwFist1.sprite.active == "hurt") {
}
if (_global.world.screwFist2.sprite.active == "hurt") {
} else {
play();
}
}
} else {
gotoAndStop (1);
}
}
Symbol 1072 MovieClip Frame 7
stop();
Symbol 1082 MovieClip Frame 1
count = 0;
Instance of Symbol 1064 MovieClip "head" in Symbol 1082 MovieClip Frame 1
onClipEvent (load) {
headFace.gotoAndStop("hurt");
}
Symbol 1082 MovieClip Frame 66
_parent._parent.gotoAndPlay("attack2");
Symbol 1082 MovieClip Frame 69
gotoAndPlay ("stompLoop");
Symbol 1083 MovieClip Frame 9
_parent._parent._parent.stop();
Symbol 1083 MovieClip Frame 15
_parent._parent._parent.play();
Symbol 1083 MovieClip Frame 29
_parent._parent._parent.stop();
Symbol 1083 MovieClip Frame 35
_parent._parent._parent.play();
Symbol 1083 MovieClip Frame 41
gotoAndPlay (1);
Symbol 1084 MovieClip Frame 9
_global.world.worldShake();
Symbol 1084 MovieClip Frame 29
_global.world.worldShake();
Symbol 1084 MovieClip Frame 41
gotoAndPlay (1);
Symbol 1085 MovieClip Frame 2
stop();
Symbol 1085 MovieClip Frame 10
stop();
Instance of Symbol 1065 MovieClip "anim" in Symbol 1085 MovieClip Frame 10
onClipEvent (load) {
_global.world.enemySpawnChild(_parent, "screwFist", _parent._parent);
}
onClipEvent (enterFrame) {
if (_parent._parent.fistDead == 2) {
_parent.gotoAndStop("attack1to2");
}
}
Instance of Symbol 850 MovieClip "shot" in Symbol 1085 MovieClip Frame 10
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 850 MovieClip "shot2" in Symbol 1085 MovieClip Frame 10
onClipEvent (load) {
_visible = false;
}
Symbol 1085 MovieClip Frame 17
_parent.play();
stop();
Symbol 1085 MovieClip Frame 25
stop();
Instance of Symbol 1082 MovieClip "anim" in Symbol 1085 MovieClip Frame 25
onClipEvent (load) {
gotoAndPlay ("stompLoop");
count = 0;
}
onClipEvent (enterFrame) {
count++;
if (count == 15) {
_global.world.enemyShoot(_parent, "screwAttack2");
count = 0;
}
}
Instance of Symbol 850 MovieClip "shot4" in Symbol 1085 MovieClip Frame 25
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 850 MovieClip "shot1" in Symbol 1085 MovieClip Frame 25
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 850 MovieClip "shot2" in Symbol 1085 MovieClip Frame 25
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 850 MovieClip "shot3" in Symbol 1085 MovieClip Frame 25
onClipEvent (load) {
_visible = false;
}
Symbol 1085 MovieClip Frame 32
stop();
Instance of Symbol 1064 MovieClip "head" in Symbol 1085 MovieClip Frame 32
onClipEvent (enterFrame) {
if (_global.world.screwFist1.sprite.active) {
if (_global.world.screwFist2.sprite.active) {
if (_global.world.screwFist1.sprite.active == "hurt") {
}
if (_global.world.screwFist2.sprite.active == "hurt") {
} else {
play();
}
}
} else {
gotoAndStop (1);
}
}
Symbol 1085 MovieClip Frame 37
stop();
Symbol 1088 MovieClip Frame 1
fistDead = 0;
_global.world.newEnemy(this, "stayScrewed", this.sprite.hitBtn);
Symbol 1088 MovieClip Frame 7
_global.world.worldShake();
Symbol 1088 MovieClip Frame 130
_global.world.setSpriteAnim(this, "attack");
stop();
Symbol 1088 MovieClip Frame 139
stop();
Symbol 1088 MovieClip Frame 140
_global.world.setSpriteAnim(this, "attack2");
Symbol 1088 MovieClip Frame 168
if (dead) {
gotoAndPlay ("die");
}
Symbol 1088 MovieClip Frame 203
if (!dead) {
gotoAndPlay ("attack2loop");
}
Symbol 1088 MovieClip Frame 204
_global.world.spawnPoints(this, 1000);
sprite.gotoAndStop("die");
Symbol 1088 MovieClip Frame 277
_global.world.enemyKilled(this);
stop();
Symbol 1089 MovieClip Frame 1
_global.world.levelStart(this);
Symbol 1089 MovieClip Frame 20
_global.world.waitForWave(this);
Symbol 1089 MovieClip Frame 33
_global.world.levelEnd(this);
Symbol 1105 MovieClip Frame 1
_global.world.worldShake();
Instance of Symbol 1091 MovieClip in Symbol 1105 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (4);
}
Instance of Symbol 1104 MovieClip in Symbol 1105 MovieClip Frame 1
onClipEvent (load) {
startX = _x;
this.blendMode = "add";
}
onClipEvent (enterFrame) {
_x = (startX + ((Math.random() * 20) - 10));
}
Instance of Symbol 1104 MovieClip in Symbol 1105 MovieClip Frame 1
onClipEvent (load) {
startX = _x;
this.blendMode = "add";
}
onClipEvent (enterFrame) {
_x = (startX + ((Math.random() * 20) - 10));
}
Instance of Symbol 1104 MovieClip in Symbol 1105 MovieClip Frame 1
onClipEvent (load) {
startX = _x;
this.blendMode = "add";
}
onClipEvent (enterFrame) {
_x = (startX + ((Math.random() * 20) - 10));
}
Instance of Symbol 1104 MovieClip in Symbol 1105 MovieClip Frame 1
onClipEvent (load) {
startX = _x;
this.blendMode = "add";
}
onClipEvent (enterFrame) {
_x = (startX + ((Math.random() * 20) - 10));
}
Symbol 1105 MovieClip Frame 7
_global.world.worldShake();
Symbol 1107 MovieClip Frame 1
_global.world.enemyShoot(_parent, "beenScrewed");
Symbol 1107 MovieClip Frame 2
_global.world.enemyShoot(_parent, "beenScrewed");
Symbol 1108 MovieClip Frame 1
_parent._parent.stop();
Instance of Symbol 1091 MovieClip in Symbol 1108 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (4);
}
Symbol 1108 MovieClip Frame 5
_global.world.worldShake();
Symbol 1108 MovieClip Frame 13
_global.world.worldShake();
Symbol 1108 MovieClip Frame 20
_global.world.worldShake();
Symbol 1108 MovieClip Frame 22
_global.world.worldShake();
Symbol 1108 MovieClip Frame 24
_global.world.worldShake();
Symbol 1108 MovieClip Frame 65
_global.world.enemyKilled(this);
Symbol 1108 MovieClip Frame 66
stop();
Symbol 1109 MovieClip Frame 3
stop();
Instance of Symbol 1107 MovieClip in Symbol 1109 MovieClip Frame 8
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 850 MovieClip "shot2" in Symbol 1109 MovieClip Frame 8
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 850 MovieClip "shot1" in Symbol 1109 MovieClip Frame 8
onClipEvent (load) {
_visible = false;
}
Symbol 1109 MovieClip Frame 9
stop();
Symbol 1109 MovieClip Frame 18
_global.world.spawnPoints(_parent, 1000);
Symbol 1109 MovieClip Frame 19
stop();
Symbol 1110 MovieClip Frame 1
_global.world.newEnemy(this, "beenScrewed", this.sprite.hitBtn);
_global.world.chooseMask(this, "beenScrewed");
Symbol 1110 MovieClip Frame 62
_global.world.chooseMask(this, "off");
Symbol 1110 MovieClip Frame 84
sprite.gotoAndStop("attack");
Symbol 1110 MovieClip Frame 149
gotoAndPlay ("attackLoop");
Symbol 1110 MovieClip Frame 151
stop();
Symbol 1110 MovieClip Frame 153
stop();
Symbol 1111 MovieClip Frame 1
_global.world.levelStart(this);
waitForWave();
Symbol 1111 MovieClip Frame 15
_global.world.waitForWave(this);
Symbol 1111 MovieClip Frame 32
_global.world.levelEnd(this);
Symbol 1113 MovieClip Frame 1
function setSpriteAnim(f) {
spriteAnim = f;
sprite.gotoAndStop(f);
}
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.chooseMask(this, "bullRun");
_global.world.setSpriteAnim(this, "fly");
jumping = true;
Symbol 1113 MovieClip Frame 63
_global.world.setSpriteAnim(this, "run");
if (dead) {
stop();
}
jumping = false;
Symbol 1113 MovieClip Frame 105
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 1113 MovieClip Frame 132
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 1113 MovieClip Frame 146
gotoAndPlay ("loop");
Symbol 1114 MovieClip Frame 1
function setSpriteAnim(f) {
spriteAnim = f;
sprite.gotoAndStop(f);
}
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.chooseMask(this, "bullRun");
_global.world.setSpriteAnim(this, "fly");
jumping = true;
Symbol 1114 MovieClip Frame 58
_global.world.setSpriteAnim(this, "run");
if (dead) {
stop();
}
jumping = false;
Symbol 1114 MovieClip Frame 99
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 1114 MovieClip Frame 127
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 1114 MovieClip Frame 141
gotoAndPlay ("loop");
Symbol 1116 MovieClip Frame 1
function beenShotSpecial() {
sprite.anim.head.gotoAndPlay("ouch");
}
_global.world.newEnemy(this, "puncha", this.sprite.hitBtn);
Symbol 1116 MovieClip Frame 23
_global.world.setSpriteAnim(this, "attack");
Symbol 1116 MovieClip Frame 125
gotoAndPlay ("walkLoop");
Symbol 1116 MovieClip Frame 129
stop();
Symbol 1117 MovieClip Frame 1
function beenShotSpecial() {
bodyTF = sprite.anim.head._totalframes;
sprite.anim.head.gotoAndStop(Math.round(bodyTF - (bodyTF * (health / topHealth))));
}
_global.world.newEnemy(this, "spaceCowboy", sprite.hitBtn);
_global.world.chooseMask(this, "level12Door");
Symbol 1117 MovieClip Frame 12
sprite.gotoAndStop("attack");
_global.world.chooseMask(this, "off");
Symbol 1117 MovieClip Frame 44
gotoAndPlay ("loop");
Symbol 1117 MovieClip Frame 46
stop();
Symbol 1118 MovieClip Frame 1
_global.world.waitForWave();
_global.world.levelStart(this);
waitForWave();
Instance of Symbol 735 MovieClip [crate] in Symbol 1118 MovieClip Frame 121
onClipEvent (load) {
type = "smg";
ammo = "50";
}
Instance of Symbol 735 MovieClip [crate] in Symbol 1118 MovieClip Frame 243
onClipEvent (load) {
type = "health";
}
Instance of Symbol 735 MovieClip [crate] in Symbol 1118 MovieClip Frame 574
onClipEvent (load) {
type = "health";
}
Symbol 1118 MovieClip Frame 592
_global.world.waitForWave(this);
Symbol 1118 MovieClip Frame 608
_global.world.waitForWave(this);
Symbol 1118 MovieClip Frame 613
_global.world.levelEnd(this);
Symbol 1123 MovieClip Frame 1
function setSpriteAnim(f) {
spriteAnim = f;
sprite.gotoAndStop(f);
}
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.chooseMask(this, "bullRun");
_global.world.setSpriteAnim(this, "fly");
jumping = true;
Instance of Symbol 638 MovieClip "sprite" in Symbol 1123 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1123 MovieClip Frame 35
_global.world.setSpriteAnim(this, "run");
jumping = false;
Symbol 1123 MovieClip Frame 64
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 1123 MovieClip Frame 91
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 1123 MovieClip Frame 104
gotoAndPlay ("loop");
Symbol 1124 MovieClip Frame 1
function setSpriteAnim(f) {
spriteAnim = f;
sprite.gotoAndStop(f);
}
_global.world.newEnemy(this, "devilKid", this.sprite.hitBtn);
_global.world.chooseMask(this, "bullRun");
_global.world.setSpriteAnim(this, "fly");
jumping = true;
Instance of Symbol 638 MovieClip "sprite" in Symbol 1124 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1124 MovieClip Frame 36
_global.world.setSpriteAnim(this, "run");
jumping = false;
Symbol 1124 MovieClip Frame 65
jumping = true;
_global.world.setSpriteAnim(this, "attack");
Symbol 1124 MovieClip Frame 92
if (kidStop) {
gotoAndPlay(_currentframe - 1);
} else {
sprite.anim.gotoAndPlay(1);
}
Symbol 1124 MovieClip Frame 105
gotoAndPlay ("loop");
Symbol 1125 MovieClip Frame 1
function beenShotSpecial() {
sprite.anim.head.gotoAndPlay("ouch");
}
_global.world.newEnemy(this, "puncha", this.sprite.hitBtn);
jumping = true;
Symbol 1125 MovieClip Frame 14
_global.world.setSpriteAnim(this, "attack");
Symbol 1125 MovieClip Frame 22
_global.world.worldShake();
Symbol 1125 MovieClip Frame 25
jumping = false;
Symbol 1125 MovieClip Frame 83
gotoAndPlay ("walkLoop");
Symbol 1125 MovieClip Frame 86
stop();
Symbol 1126 MovieClip Frame 1
_global.world.levelStart(this);
waitForWave();
Instance of Symbol 735 MovieClip [crate] in Symbol 1126 MovieClip Frame 5
onClipEvent (load) {
type = "health";
}
Symbol 1126 MovieClip Frame 29
_global.world.waitForWave(this, 2);
Symbol 1126 MovieClip Frame 49
_global.world.waitForWave(this, 2);
Instance of Symbol 735 MovieClip [crate] in Symbol 1126 MovieClip Frame 68
onClipEvent (load) {
type = "autoShot";
ammo = 50;
}
Symbol 1126 MovieClip Frame 81
_global.world.waitForWave(this, 4);
Symbol 1126 MovieClip Frame 87
_global.world.waitForWave(this);
Symbol 1126 MovieClip Frame 148
_global.world.waitForWave(this);
Symbol 1126 MovieClip Frame 156
_global.world.levelEnd(this);
Instance of Symbol 774 MovieClip "body" in Symbol 1128 MovieClip Frame 1
onClipEvent (load) {
_parent._parent._parent.beenShotSpecial();
}
Symbol 1129 MovieClip Frame 1
_global.world.enemyShoot(this, "badPod1");
Symbol 1129 MovieClip Frame 2
_global.world.enemyShoot(this, "badPod1");
Symbol 1129 MovieClip Frame 3
_global.world.enemyShoot(this, "badPod1");
Symbol 1129 MovieClip Frame 4
_global.world.enemyShoot(this, "badPod1");
Symbol 1129 MovieClip Frame 5
_global.world.enemyShoot(this, "badPod1");
Symbol 1129 MovieClip Frame 23
gotoAndPlay ("on");
Symbol 1129 MovieClip Frame 66
gotoAndPlay ("on");
Instance of Symbol 774 MovieClip "body" in Symbol 1130 MovieClip Frame 1
onClipEvent (load) {
_parent._parent._parent.beenShotSpecial();
}
Instance of Symbol 747 MovieClip "eye" in Symbol 1130 MovieClip Frame 1
onClipEvent (load) {
startY = _y;
startX = _x;
angle = 0;
}
onClipEvent (enterFrame) {
angle = angle + 0.15;
_y = (startY + (Math.sin(angle) * 5));
_x = (startX + (Math.cos(angle) * 8));
}
Symbol 1131 MovieClip Frame 1
count = 0;
Instance of Symbol 774 MovieClip "body" in Symbol 1131 MovieClip Frame 1
onClipEvent (load) {
_parent._parent._parent.beenShotSpecial();
}
Symbol 1131 MovieClip Frame 3
_global.world.worldShake();
Symbol 1131 MovieClip Frame 15
_global.world.worldShake();
Symbol 1131 MovieClip Frame 24
_global.world.worldShake();
Symbol 1131 MovieClip Frame 38
if (count < 3) {
gotoAndPlay (2);
}
count++;
Symbol 1131 MovieClip Frame 39
spin = 2;
Symbol 1131 MovieClip Frame 44
_global.world.worldShake();
Symbol 1131 MovieClip Frame 46
_global.world.worldShake();
Symbol 1131 MovieClip Frame 48
_global.world.worldShake();
Symbol 1131 MovieClip Frame 49
if (count < 12) {
gotoAndPlay ("death");
spin = spin * 1.5;
}
count++;
Symbol 1131 MovieClip Frame 50
_global.world.spawnPoints(_parent, 1000);
_global.world.worldShake();
Symbol 1131 MovieClip Frame 52
_global.world.worldShake();
Symbol 1131 MovieClip Frame 54
_global.world.spawnPoints(_parent, 1000);
_global.world.worldShake();
Symbol 1131 MovieClip Frame 58
_global.world.spawnPoints(_parent, 1000);
Symbol 1131 MovieClip Frame 63
_global.world.gameComplete();
Symbol 1131 MovieClip Frame 69
stop();
Symbol 1132 MovieClip Frame 1
stop();
Instance of Symbol 1128 MovieClip "pod" in Symbol 1132 MovieClip Frame 1
onClipEvent (load) {
startY = _y;
startX = _x;
angle = 0;
}
onClipEvent (enterFrame) {
angle = angle + 0.15;
_y = (startY + (Math.sin(angle) * 10));
_x = (startX + (Math.cos(angle) * 3));
}
Symbol 1132 MovieClip Frame 6
stop();
Instance of Symbol 1130 MovieClip "pod" in Symbol 1132 MovieClip Frame 6
onClipEvent (load) {
startY = _y;
startX = _x;
angle = 0;
}
onClipEvent (enterFrame) {
angle = angle + 0.15;
_y = (startY + (Math.sin(angle) * 10));
_x = (startX + (Math.cos(angle) * 3));
}
Symbol 1132 MovieClip Frame 14
stop();
Instance of Symbol 778 MovieClip "pod" in Symbol 1132 MovieClip Frame 14
onClipEvent (load) {
startY = _y;
startX = _x;
angle = 0;
}
onClipEvent (enterFrame) {
angle = angle + 0.15;
_y = (startY + (Math.sin(angle) * 10));
_x = (startX + (Math.cos(angle) * 3));
}
Symbol 1132 MovieClip Frame 20
stop();
Instance of Symbol 1131 MovieClip "pod" in Symbol 1132 MovieClip Frame 20
onClipEvent (load) {
startY = _y;
startX = _x;
angle = 0;
spin = 0;
}
onClipEvent (enterFrame) {
angle = angle + 0.15;
_y = (startY + (Math.sin(angle) * 10));
_x = (startX + (Math.cos(angle) * 3));
_rotation = (_rotation + spin);
}
Symbol 1133 MovieClip Frame 1
function beenShotSpecial() {
bodyTF = sprite.pod.body._totalframes;
sprite.pod.body.gotoAndStop(Math.round(bodyTF - (bodyTF * (health / topHealth))));
}
function checkHealth() {
if (health < (topHealth * 0.5)) {
_global.world.chooseMask(this, "off");
gotoAndPlay ("attack2");
}
}
_global.world.newEnemy(this, "badderPod", this.sprite.pod.eye.hitBtn);
Instance of Symbol 117 MovieClip "spriteShadow" in Symbol 1133 MovieClip Frame 35
/* no clip actions */
Symbol 1133 MovieClip Frame 58
_global.world.chooseMask(this, "badder4");
Symbol 1133 MovieClip Frame 90
_global.world.setSpriteAnim(this, "attack1");
Symbol 1133 MovieClip Frame 92
_global.world.setSpriteAnim(this, "idle");
Symbol 1133 MovieClip Frame 120
_global.world.setSpriteAnim(this, "attack1");
Symbol 1133 MovieClip Frame 123
_global.world.setSpriteAnim(this, "idle");
Symbol 1133 MovieClip Frame 142
checkHealth();
Symbol 1133 MovieClip Frame 143
_global.world.chooseMask(this, "off");
Symbol 1133 MovieClip Frame 156
_global.world.chooseMask(this, "badder1");
Symbol 1133 MovieClip Frame 181
checkHealth();
Symbol 1133 MovieClip Frame 188
_global.world.chooseMask(this, "badder8");
Symbol 1133 MovieClip Frame 200
_global.world.setSpriteAnim(this, "attack1");
Symbol 1133 MovieClip Frame 202
_global.world.setSpriteAnim(this, "idle");
Symbol 1133 MovieClip Frame 256
_global.world.setSpriteAnim(this, "attack1");
Symbol 1133 MovieClip Frame 258
_global.world.setSpriteAnim(this, "idle");
Symbol 1133 MovieClip Frame 273
checkHealth();
Symbol 1133 MovieClip Frame 274
_global.world.chooseMask(this, "badder7");
Symbol 1133 MovieClip Frame 329
_global.world.chooseMask(this, "badder3");
Symbol 1133 MovieClip Frame 356
_global.world.chooseMask(this, "badder1");
Symbol 1133 MovieClip Frame 435
_global.world.chooseMask(this, "badder7");
checkHealth();
Symbol 1133 MovieClip Frame 442
_global.world.chooseMask(this, "badder4");
Symbol 1133 MovieClip Frame 448
_parent.nextPowerup = true;
gotoAndPlay ("attack1Loop");
Symbol 1133 MovieClip Frame 493
if (!dead) {
_global.world.setSpriteAnim(this, "attack1");
}
Symbol 1133 MovieClip Frame 494
if (!dead) {
_global.world.setSpriteAnim(this, "idle");
}
Symbol 1133 MovieClip Frame 524
if (!dead) {
_global.world.setSpriteAnim(this, "attack1");
}
Symbol 1133 MovieClip Frame 525
if (!dead) {
_global.world.setSpriteAnim(this, "idle");
}
Symbol 1133 MovieClip Frame 540
gotoAndPlay ("attack2Loop");
Symbol 1133 MovieClip Frame 554
stop();
Symbol 1133 MovieClip Frame 577
_global.world.enemyKilled(this);
stop();
Symbol 1134 MovieClip Frame 1
_global.world.levelStart(this);
count = 0;
Symbol 1134 MovieClip Frame 2
_global.world.showAltImage();
Instance of Symbol 735 MovieClip [crate] in Symbol 1134 MovieClip Frame 169
onClipEvent (load) {
type = "autoShot";
ammo = 40;
}
Symbol 1134 MovieClip Frame 175
if (_parent.activeEnemies) {
if (!nextPowerup) {
gotoAndPlay(this._currentframe - 1);
} else {
nextPowerup = false;
}
} else {
gotoAndPlay ("end");
}
Instance of Symbol 735 MovieClip [crate] in Symbol 1134 MovieClip Frame 187
onClipEvent (load) {
type = "shotgun";
ammo = 20;
}
Symbol 1134 MovieClip Frame 195
if (_parent.activeEnemies) {
if (!nextPowerup) {
gotoAndPlay(this._currentframe - 1);
} else {
nextPowerup = false;
}
} else {
gotoAndPlay ("end");
}
Instance of Symbol 735 MovieClip [crate] in Symbol 1134 MovieClip Frame 203
onClipEvent (load) {
type = "autoShot";
ammo = 40;
}
Symbol 1134 MovieClip Frame 212
if (_parent.activeEnemies) {
if (!nextPowerup) {
gotoAndPlay(this._currentframe - 1);
} else {
nextPowerup = false;
}
} else {
gotoAndPlay ("end");
}
Instance of Symbol 735 MovieClip [crate] in Symbol 1134 MovieClip Frame 221
onClipEvent (load) {
type = "autoShot";
ammo = 40;
}
Symbol 1134 MovieClip Frame 230
_global.world.waitForWave(this);
Symbol 1134 MovieClip Frame 238
_global.world.levelExplode();
Symbol 1134 MovieClip Frame 239
_global.world.levelEnd(this);
Symbol 1137 MovieClip Frame 1
_global.world.waitForWave();
_global.world.levelStart(this);
Symbol 1137 MovieClip Frame 9
_global.world.levelEnd(this);
Symbol 1138 MovieClip Frame 1
function beginGame(l, s) {
l = (isNaN(l) ? 1 : (l));
score_txt.text = (playerPoints = (isNaN(s) ? 0 : (s)));
isGameStarting = true;
skip_mc.onRelease = skipVideo;
skip_mc._visible = false;
cacheVideo(l - 1);
cacheSound(track_order[l - 1]);
cacheBitmap(l - 1, isImageSwf[l - 1]);
preloader.onEnterFrame = waitForLoading;
initLevel = l;
_parent.crosshair._visible = false;
}
function endLevel() {
_global.world.bars.gotoAndPlay("close");
_global.world.bars.closed = _global.world.checkIsCached;
}
function checkpoint(lvl, score) {
if (_global.root.lvl != lvl) {
trace((("checkpoint reached! level: " + lvl) + ", score: ") + score);
_global.world.stage_cleared_mc.play();
_global.root.lvl = lvl;
_global.root.score = score;
}
}
function playVideo(n) {
bmp_mcl.unloadClip(this["bmp" + (n - 1)]);
if (skipVideos) {
videoEnded(stream.n);
} else {
isGunEnabled = false;
video._visible = true;
preloader._visible = false;
stream.pause(false);
stream.onStatus = onVideoComplete;
skip_mc._visible = true;
}
}
function onVideoComplete(info) {
if (info.code == "NetStream.Play.Stop") {
videoEnded(stream.n);
}
}
function videoEnded(n) {
isGunEnabled = true;
this["bmp" + n]._visible = true;
trace("-->" + this["bmp" + n]._currentframe);
this["bmp" + n].gotoAndStop(2);
trace("-->" + this["bmp" + n]._currentframe);
bars.gotoAndPlay("open");
skip_mc._visible = false;
nextFrame();
}
function skipVideo() {
delete video_cont_mc.ffstart;
delete video_cont_mc.ffstop;
walkmanHand.gotoAndStop("idle");
preloader.onEnterFrame = (video_cont_mc.onEnterFrame = (stream.onStatus = null));
videoEnded(stream.n);
stream.stop();
stream.close();
}
function fastForward(s) {
if (!skipVideos) {
video_cont_mc.ffstart = ffstart[s];
video_cont_mc.ffstop = ffstop[s];
video_cont_mc.onEnterFrame = fastForwardMonitor;
}
}
function fastForwardMonitor() {
var _local3 = stream.time;
if (this.ffstart) {
if (_local3 > this.ffstart) {
_global.world.walkmanHand.nextAnim = "fast";
_global.world.walkmanHand.gotoAndPlay("fast");
delete this.ffstart;
}
} else if (_local3 > this.ffstop) {
_global.world.walkmanHand.gotoAndPlay("play");
delete this.ffstop;
this.onEnterFrame = null;
}
}
var isGunEnabled = false;
function killed(t, v) {
t._parent[t._name + "Mask"]._visible = false;
activeEnemies--;
delete currentEnemies[t._name];
}
function spawnPoints(t, v) {
var _local3 = t.getBounds(this);
var _local5 = {_x:Math.round(_local3.xMin + ((_local3.xMax - _local3.xMin) / 2)), _y:Math.round(_local3.yMin + ((_local3.yMax - _local3.yMin) / 2))};
var _local4 = sortDepth(_global.world, 200000);
_global.world.attachMovie("point" + v, ("point" + v) + _local4, _local4, _local5);
}
function enemyKilled(t, v) {
killed(t, v);
if (v == "screwFist") {
}
if (v == "batBall") {
batShot++;
batCount++;
if (batShot == t._parent._parent.quantity) {
attachMovie("waveBonus", "bonus", this.getNextHighestDepth(), {_x:t._parent._parent._x + t._parent._x, _y:t._parent._parent._y + t._parent._y});
playerPoints = playerPoints + (t._parent._parent.points * t._parent._parent.quantity);
}
if (batCount > t._parent._parent.quantity) {
batShot = 0;
batCount = 0;
}
}
t.stop();
t._parent._parent.gotoAndStop("dead");
this[t._name + "Mask"]._visible = false;
t.removeMovieClip();
}
function enemyTempDead(t) {
t._parent[t._name + "Mask"]._visible = false;
activeEnemies--;
}
function enemyTempAlive(t) {
t._parent[t._name + "Mask"]._visible = true;
activeEnemies++;
}
function enemyExpired(t, v) {
if (v == "batBall") {
batCount++;
}
killed(t, v);
t.stop();
t.dead = true;
t._parent._parent.gotoAndStop("dead");
}
function shotBeenShot(t) {
t.gotoAndPlay("die");
}
function crateBeenShot(t) {
t.gotoAndPlay("shot");
}
function shotKilled(t) {
killed(t, v);
t.stop();
removeMovieClip(t);
}
function crateKilled(t) {
delete currentEnemies[t._name];
t.removeMovieClip();
}
function bonusKilled(t) {
delete currentEnemies[t._name];
t.removeMovieClip();
}
function attackHandSetup(t) {
t.fireRate = 0.05;
t.thrust = 0.0005;
t.startSpeed = (t.speed = 1);
t.damp = 0.95;
t.startRot = t._rotation;
t._xscale = 105;
t.startScale = Math.floor(t._xscale);
t.startX = t._x;
t.startY = t._y;
t.returnSpeed = 20;
if (!t.nameOfHand) {
t.nameOfHand = 1;
} else {
t.nameOfHand = 2;
}
}
function attackHandControl(t) {
if (!t._parent.dead) {
t.relativeScale = t._xscale;
if (!t.active) {
if (Math.random() < t.fireRate) {
t.active = "attack";
t.speed = 1;
t.xDrift = (Math.random() * 3) - 1.5;
t.yDrift = (Math.random() * 3) - 1.5;
t.thrust = (Math.random() * 0.0015) + 0.0005;
}
}
if (t.active) {
if (t.speed >= 1) {
t.gotoAndStop("attack");
t.speed = t.speed + t.thrust;
t._rotation = t._rotation - (t.speed * 2);
t._xscale = (t._yscale = t._yscale * t.speed);
t.yVel = Math.sin(t._rotation) + t.yDrift;
t.xVel = Math.cos(t._rotation) + t.xDrift;
t._x = t._x + t.xVel;
t._y = t._y + t.yVel;
if (t.relativeScale > 650) {
_global.world.hurtPlayer(t);
t.active = "reload";
t.speed = 0.9;
}
} else {
if (active != "reload") {
t.active = "hurt";
t.gotoAndStop("hit");
} else {
t.gotoAndStop("retreat");
}
t._x = t._x + ((t.startX - t._x) / t.returnSpeed);
t._y = t._y + ((t.startY - t._y) / t.returnSpeed);
t._yscale = (t._xscale = t._xscale + ((t.startScale - t._xscale) / t.returnSpeed));
t._rotation = t._rotation + ((t.startRot - t._rotation) / t.returnSpeed);
if (Math.floor(t._xscale) < (t.startScale + 1)) {
t.active = false;
}
}
}
}
}
function bossRegen() {
if (!level.boss.dead) {
if (level.boss.health < level.boss.topHealth) {
level.boss.health = level.boss.health + level.boss.regen;
if (level.boss.health > level.boss.topHealth) {
level.boss.health = level.boss.topHealth;
}
}
}
}
function kidHit(t, s) {
if (!t.jumping) {
if (s == "down") {
t.stop();
}
if (s == "up") {
t.play();
}
}
if (t.jumping) {
if (s == "down") {
t.kidStop = true;
}
if (s == "up") {
t.kidStop = false;
}
}
}
function setVars() {
_global.world = this;
_root.tracer(this, "SET VARS");
if (!varInit) {
currentEnemies = new Object();
hand = rightHand;
weapons = [pistol, shotgun, smg, mg, autoShot];
setWeapon(weapons[0]);
track_order = ["60rev", "60rev", "60rev", "60rev", "neverYoungAgain", "neverYoungAgain", "ohNo", "notACrime", "60rev", "neverYoungAgain", "ohNo", "ohNo", "notACrime", "60rev", "60rev", "neverYoungAgain", "neverYoungAgain", "ohNo", "ohNo", "notACrime", "60rev"];
ffstart = [0, 0, 0, 0, 2.4, 0, 2.6, 2.3, 3.2, 1.8, 0.1, 0, 2.2, 3.1, 0, 2.25, 0, 5.3, 0, 3, 6, 1];
ffstop = [0, 0, 0, 0, 7.25, 0, 10.1, 10, 15, 5.1, 3, 0, 9.2, 7.1, 0, 4.3, 0, 10.5, 0, 11.4, 12.8, 9.5];
isImageSwf = [false, false, false, false, false, false, true, true, false, false, false, true, false, false, false, false, false, false, false, true];
beenHit = 0;
oldBeenHit = 0;
targetScale = 0;
maxHealth = 5;
playerHealth = 4;
playerShieldStart = 0;
playerShieldDuration = 500;
score_txt = score_mc.score_mc.score_txt;
scoreShad_txt = score_mc.scoreShad_mc.score_txt;
scoreShad1_txt = score_mc.scoreShad1_mc.score_txt;
scoreShad2_txt = score_mc.scoreShad2_mc.score_txt;
scoreShad3_txt = score_mc.scoreShad3_mc.score_txt;
scoreShad4_txt = score_mc.scoreShad4_mc.score_txt;
scoreShad5_txt = score_mc.scoreShad5_mc.score_txt;
scoreShad6_txt = score_mc.scoreShad6_mc.score_txt;
scoreShad7_txt = score_mc.scoreShad7_mc.score_txt;
scoreShad8_txt = score_mc.scoreShad8_mc.score_txt;
playerPoints = 0;
badMittHealth = 2;
badMittPoints = 100;
devilKidHealth = 2;
devilKidPoints = 200;
batBallHealth = 1;
batBallPoints = 20;
batShot = 0;
batTotal = 0;
batBallWavePoints = 200;
badPodHealth = 5;
badPodPoints = 1000;
badPodShot1Dir = 10;
badPodShot1Damp = 0.95;
badPodShot1Speed = 1.015;
doomSpringX = 1;
doomSpringXBias = 0.8;
doomSpringY = 0.5;
doomSpringScale = 1.02;
doomSpringHealth = 3;
doomSpringPoints = 100;
gooberHealth = 1;
gooberPoints = 20;
wormShotDir = 10;
wormShotDamp = 0.95;
wormShotSpeed = 1.018;
wormHealth = 1;
wormPoints = 100;
wormToughHealth = 3;
wormToughPoints = 200;
wormShootRate = 0.25;
binBossHealth = 25;
binBossPoints = 1500;
binBossRegen = 4;
skuffleHealth = 3;
skufflePoints = 100;
binFuelHealth = 2;
binFuelPoints = 10;
eyeBossHealth = 9;
eyeBossPoints = 1000;
eyeBossTotalShooters = 7;
eyeBossShootRate = 0.03;
eyeBossShotDir = 5;
eyeBossShotDamp = 0.98;
eyeBossShotSpeed = 1.02;
stayScrewedHealth = 40;
stayScrewedPoints = 1000;
screwAttackShooter = 0;
screwFistHealth = 10;
screwFistPoints = 200;
screwFistMotherDamage = 5;
eyeBossTargetHealth = 5;
eyeBossTargetPoints = 100;
punchaHealth = 15;
punchaPoints = 500;
beenScrewedHealth = 30;
beenScrewedPoints = 1000;
badderPodHealth = 50;
badderPodPoints = 3000;
spaceCowboyHealth = 10;
spaceCowboyPoints = 200;
workmanHealth = 30;
workmanPoints = 2000;
activeEnemies = 0;
totalKills = 0;
varInit = true;
shotIndex = 0;
handIndex = 0;
i = 1;
while (i < 6) {
if (playerHealth >= i) {
this["h" + i].gotoAndStop("on");
} else {
this["h" + i].gotoAndStop("off");
}
i++;
}
onEnterFrame = gameLoop;
}
}
function newEnemy(t, v, h) {
if (t.attached) {
currentEnemies[t._name] = {enemy:t, hit:h, v:v, isEnemy:true};
activeEnemies++;
t.health = this[v + "Health"];
t.topHealth = this[v + "Health"];
t.points = this[v + "Points"];
t.regen = this[v + "Regen"];
} else {
var _local5 = t._name;
var _local7 = {_x:t._x, _y:t._y, _xscale:t._xscale, _yscale:t._yscale, attached:true};
var _local4 = t.duplicateMovieClip("temp", t._parent.getNextHighestDepth());
t.swapDepths(t._parent.getNextHighestDepth());
t.removeMovieClip();
var _local6 = _local4.duplicateMovieClip(_local5, _local4._parent.getNextHighestDepth(), _local7);
_local4.removeMovieClip();
_local6.setMask(this[_local5 + "Mask"]);
}
}
function newShot(t, v, h) {
currentEnemies[t._name] = {enemy:t, hit:h, v:v, isShot:true};
activeEnemies++;
}
function newCrate(t, h) {
if (t.attached) {
currentEnemies[t._name] = {enemy:t, hit:h, isCrate:true};
} else {
var _local3 = t._name;
var _local4 = {bonus:t.bonus, _x:t._x, _y:t._y, _xscale:t._xscale, _yscale:t._yscale, attached:true};
var _local2 = t.duplicateMovieClip("temp", t._parent.getNextHighestDepth());
t.swapDepths(t._parent.getNextHighestDepth());
t.removeMovieClip();
var _local7 = _local2.duplicateMovieClip(_local3, _local2._parent.getNextHighestDepth(), _local4);
_local2.removeMovieClip();
}
}
function newBonus(t, h) {
currentEnemies[t._name] = {enemy:t, hit:h, isBonus:true};
}
function enemySpawnChild(t, type, mother) {
shotIndex++;
if (type == "screwFist") {
if (!firedFists) {
attachMovie("screwFist", "screwFist1", this.getNextHighestDepth(), {_x:(t._x + (t.shot2._x * (t._xscale * 0.01))) + (t._parent._x * (t._parent._xscale * 0.01)), _y:(t._y + (t.shot2._y * (t._yscale * 0.01))) + (t._parent._y * (t._parent._xscale * 0.01)), _xscale:((t._parent._xscale * 0.01) * (t._xscale * 0.01)) * t._parent._parent._xscale, _yscale:((t._parent._yscale * 0.01) * (t._yscale * 0.01)) * t._parent._parent._yscale, attached:true, mother:mother});
attachMovie("screwFist2", "screwFist2", this.getNextHighestDepth(), {_x:(t._x + (t.shot._x * (t._xscale * 0.01))) + (t._parent._x * (t._parent._xscale * 0.01)), _y:(t._y + (t.shot._y * (t._yscale * 0.01))) + (t._parent._y * (t._parent._xscale * 0.01)), _xscale:((t._parent._xscale * 0.01) * (t._xscale * 0.01)) * t._parent._parent._xscale, _yscale:((t._parent._yscale * 0.01) * (t._yscale * 0.01)) * t._parent._parent._yscale, attached:true, mother:mother});
firedFists = true;
}
}
}
function enemyShoot(t, type) {
shotIndex++;
if (type == "badPod1") {
attachMovie("badPodShot", "shot" + shotIndex, this.getNextHighestDepth(), {_x:t._parent._parent._x + t._parent._parent._parent._x, _y:t._parent._parent._y + t._parent._parent._parent._y, _xscale:(t._parent._parent._parent._xscale * 0.01) * t._parent._parent._xscale, _yscale:(t._parent._parent._parent._yscale * 0.01) * t._parent._parent._yscale});
}
if (type == "binBoss") {
attachMovie("badPodShot", "shot" + shotIndex, this.getNextHighestDepth(), {_x:(t._x + t.shot._x) + t._parent._x, _y:(t._y + t.shot._y) + t._parent._y, _xscale:(t._parent._parent._xscale * 0.01) * t._parent._xscale, _yscale:(t._parent._parent._yscale * 0.01) * t._parent._yscale});
}
if (type == "cowboy1") {
var _local4 = {x:0, y:0};
t._parent.shot1.localToGlobal(_local4);
attachMovie("wormShot", "shot" + shotIndex, this.getNextHighestDepth(), {_x:_local4.x, _y:_local4.y, _xscale:(t._parent._parent._xscale * 0.01) * t._parent._xscale, _yscale:(t._parent._parent._yscale * 0.01) * t._parent._yscale});
}
if (type == "cowboy2") {
var _local4 = {x:0, y:0};
t._parent.shot2.localToGlobal(_local4);
attachMovie("wormShot", "shot" + shotIndex, this.getNextHighestDepth(), {_x:_local4.x, _y:_local4.y, _xscale:(t._parent._parent._xscale * 0.01) * t._parent._xscale, _yscale:(t._parent._parent._yscale * 0.01) * t._parent._yscale});
}
if (type == "beenScrewed") {
var _local6 = {x:0, y:0};
var _local5 = {x:0, y:0};
t.shot1.localToGlobal(_local6);
t.shot2.localToGlobal(_local5);
attachMovie("badPodShot", "shot" + shotIndex, this.getNextHighestDepth(), {_x:_local6.x, _y:_local6.y, _xscale:(t._parent._parent._xscale * 0.01) * t._parent._xscale, _yscale:(t._parent._parent._yscale * 0.01) * t._parent._yscale});
attachMovie("badPodShot", "shotB" + shotIndex, this.getNextHighestDepth(), {_x:_local5.x, _y:_local5.y, _xscale:(t._parent._parent._xscale * 0.01) * t._parent._xscale, _yscale:(t._parent._parent._yscale * 0.01) * t._parent._yscale});
}
if (type == "puncha") {
var _local4 = {x:0, y:0};
t.shot.localToGlobal(_local4);
attachMovie("punchaShot", "shot" + shotIndex, this.getNextHighestDepth(), {_x:_local4.x, _y:_local4.y, _xscale:(t._parent._parent._xscale * 0.01) * t._parent._xscale, _yscale:(t._parent._parent._yscale * 0.01) * t._parent._yscale});
}
if (type == "mudBoss") {
attachMovie("mudShot", "shot" + shotIndex, this.getNextHighestDepth(), {_x:(t._x + t.shot._x) + t._parent._x, _y:(t._y + t.shot._y) + t._parent._y, _xscale:(t._parent._parent._xscale * 0.01) * t._parent._xscale, _yscale:(t._parent._parent._yscale * 0.01) * t._parent._yscale});
}
if (type == "screwAttack2") {
screwAttackShooter++;
if (screwAttackShooter > 4) {
screwAttackShooter = 1;
}
attachMovie("badPodShot", "shot" + shotIndex, this.getNextHighestDepth(), {_x:(t._x + t["shot" + screwAttackShooter]._x) + t._parent._x, _y:(t._y + t["shot" + screwAttackShooter]._y) + t._parent._y, _xscale:(t._parent._parent._xscale * 0.01) * t._parent._xscale, _yscale:(t._parent._parent._yscale * 0.01) * t._parent._yscale});
}
if (type == "eyeBoss") {
if (t.spriteAnim != "intro") {
shooter = Math.round(Math.random() * eyeBossTotalShooters) + 1;
attachMovie("eyeBossShot", "shot" + shotIndex, this.getNextHighestDepth(), {_x:(t._x + (t["shot" + shooter]._x * (t._xscale * 0.01))) + (t._parent._x * (t._parent._xscale * 0.01)), _y:(t._y + (t["shot" + shooter]._y * (t._yscale * 0.01))) + (t._parent._y * (t._parent._xscale * 0.01)), _xscale:((t._parent._xscale * 0.01) * (t._xscale * 0.01)) * t._parent._parent._xscale, _yscale:((t._parent._yscale * 0.01) * (t._yscale * 0.01)) * t._parent._parent._yscale});
}
}
if (type == "worm") {
wormShotYOffset = 30;
attachMovie("wormShot", "shot" + shotIndex, this.getNextHighestDepth(), {_x:t._parent._x + t._parent._parent._x, _y:(t._parent._y + t._parent._parent._y) - (wormShotYOffset * (t._parent._yscale * 0.01)), _xscale:(t._parent._parent._xscale * 0.01) * t._parent._xscale, _yscale:(t._parent._parent._yscale * 0.01) * t._parent._yscale});
}
}
function spawnBonus(t, type) {
shotIndex++;
if (type == "skuffle") {
playerPoints = playerPoints + skufflePoints;
attachMovie("bonusFiddy", "shot" + shotIndex, this.getNextHighestDepth(), {_x:t._x + (t.sprite._x * (t._xscale * 0.01)), _y:t._y + t._parent._y});
}
}
function gameLoop() {
orderDepths();
score_txt.text = (scoreShad_txt.text = (scoreShad1_txt.text = (scoreShad2_txt.text = (scoreShad3_txt.text = (scoreShad4_txt.text = (scoreShad5_txt.text = (scoreShad6_txt.text = (scoreShad7_txt.text = (scoreShad8_txt.text = playerPoints)))))))));
ammo_txt.text = "ammo " + ((weapon.ammo > 0) ? (weapon.ammo) : "inf");
if (playerHealth < oldHealth) {
this["h" + (playerHealth + 1)].gotoAndStop("hit");
} else if (playerHealth > oldHealth) {
this["h" + playerHealth].gotoAndStop("new");
}
oldHealth = playerHealth;
if (perf_cont_mc.cdl > 1) {
if (_parent.crosshair.inner.rot < 15) {
_parent.crosshair.inner.rot = _parent.crosshair.inner.rot + 0.75;
}
_parent.crosshair.inner._rotation = _parent.crosshair.inner._rotation + _parent.crosshair.inner.rot;
}
}
function fireHand(hand, shake, shake2) {
rightHand.hand.gotoAndPlay(weapon.hand);
if (shake) {
rightHand.shake = shake2;
}
}
function makeHandShoot(b) {
ammo_mc.mask_mc.updateMask(weapon.ammo);
handIndex++;
if (perf_cont_mc.cdl > 1) {
_parent.crosshair.gotoAndPlay("bang");
}
if (handIndex == 5) {
handIndex = 1;
}
var _local5 = rightHand.hand["bang" + handIndex];
_local5.gotoAndPlay("shoot");
var _local3 = {x:0, y:0};
_local5.localToGlobal(_local3);
var _local8 = Math.atan2(b._y - _local3.y, b._x - _local3.x) * 57.2957795130823;
var _local6 = Math.sqrt(Math.pow(b._y - _local3.y, 2) + Math.pow(b._x - _local3.x, 2));
var _local4 = b._parent.getNextHighestDepth();
var _local7 = b._parent.attachMovie("shotLine", "shotLine" + _local4, _local4, {_x:b._x, _y:b._y, _rotation:_local8});
_local7.line._width = _local6;
}
function setWeapon(w, ow) {
weapon = w;
if (ow.int) {
clearInterval(ow.int);
}
if (ow.ammo > 0) {
ow.ammo = 0;
}
ammo_mc.gotoAndStop(w.hand);
_global.world[w.hand + "_mc"].play();
_parent.crosshair.onMouseDown = null;
_parent.crosshair.onMouseUp = null;
changeWeapon();
}
function changeWeapon() {
_parent.crosshair.onMouseDown = weapon.onMouseDown;
_parent.crosshair.onMouseUp = weapon.onMouseUp;
}
function addAmmo(w, qty) {
w.ammo = w.ammo + qty;
w.ammo = ((w.ammo > w.maxAmmo) ? (w.maxAmmo) : (w.ammo));
ammo_mc.originalAmmo = w.ammo;
ammo_mc.mask_mc.updateMask(w.ammo);
}
function pistolStartShoot() {
pistol.burstLength = 0;
autoShoot(pistol);
if (pistol.int) {
clearInterval(pistol.int);
delete pistol.int;
}
if (pistol == weapon) {
pistol.int = setInterval(autoShoot, 1000 / pistol.rof, pistol);
}
}
function pistolStopShoot() {
clearInterval(pistol.int);
}
function shotShoot() {
if (isGunEnabled) {
if (shotgun.ammo > 0) {
var _local8;
var _local7;
var _local5;
var _local6;
var _local12 = orderEnemies();
fireHand("shotgun");
var _local4 = 0;
while (_local4 < shotgun.shot) {
_local5 = Rand.random(-3.14159265358979, Math.PI);
_local6 = Rand.minBias(0, shotgun.scatter);
_local8 = _root._xmouse + (_local6 * Math.cos(_local5));
_local7 = _root._ymouse + (_local6 * Math.sin(_local5));
var _local3 = _parent.flashContainer_mc.getNextHighestDepth();
var _local9 = _parent.flashContainer_mc.attachMovie("bang_mc", "bang" + _local3, _local3, {_x:_local8, _y:_local7});
makeHandShoot(_local9);
checkHit(_local12, _local8, _local7);
_local4++;
}
shotgun.ammo--;
} else {
setWeapon(weapons[0], shotgun);
}
}
}
function autoShoot(w) {
if (isGunEnabled) {
if (w.ammo != 0) {
var _local5 = Rand.random(-3.14159265358979, Math.PI);
var _local4 = Math.random() * (w.spread * w.burstLength);
var _local7 = _root._xmouse + (_local4 * Math.cos(_local5));
var _local6 = _root._ymouse + (_local4 * Math.sin(_local5));
fireHand("smg", _local4, w.spread * w.burstLength);
_local4 = _parent.flashContainer_mc.getNextHighestDepth();
var _local8 = _parent.flashContainer_mc.attachMovie("bang_mc", "bang" + _local4, _local4, {_x:_local7, _y:_local6});
makeHandShoot(_local8);
checkHit(orderEnemies(), _local7, _local6);
w.burstLength = w.burstLength + ((w.burstLength > w.maxSpread) ? 0 : 1);
w.ammo--;
} else {
setWeapon(weapons[0], w);
}
}
}
function autoShotShoot(w) {
if (isGunEnabled) {
if (w.ammo != 0) {
var _local8;
var _local7;
var _local6 = Rand.random(-3.14159265358979, Math.PI);
var _local5 = Math.random() * (w.spread * w.burstLength);
var _local15 = _root._xmouse + (_local5 * Math.cos(_local6));
var _local14 = _root._ymouse + (_local5 * Math.sin(_local6));
var _local13 = orderEnemies();
fireHand("autoShot", _local5);
var _local4 = 0;
while (_local4 < w.shot) {
_local6 = Rand.random(-3.14159265358979, Math.PI);
_local5 = Rand.minBias(0, w.scatter);
_local8 = _local15 + (_local5 * Math.cos(_local6));
_local7 = _local14 + (_local5 * Math.sin(_local6));
var _local3 = _parent.flashContainer_mc.getNextHighestDepth();
var _local9 = _parent.flashContainer_mc.attachMovie("bang_mc", "bang" + _local3, _local3, {_x:_local8, _y:_local7});
makeHandShoot(_local9);
checkHit(_local13, _local8, _local7);
_local4++;
}
w.ammo--;
} else {
setWeapon(weapons[0], w);
}
}
}
function autoShotStartShoot() {
autoShot.burstLength = 0;
autoShotShoot(autoShot);
if (autoShot.int) {
clearInterval(autoShot.int);
delete autoShot.int;
}
if (autoShot == weapon) {
autoShot.int = setInterval(autoShotShoot, 1000 / autoShot.rof, autoShot);
}
}
function autoShotStopShoot() {
clearInterval(autoShot.int);
delete autoShot.int;
}
function mgStartShoot() {
mg.burstLength = 0;
autoShoot(mg);
if (mg.int) {
clearInterval(mg.int);
delete mg.int;
}
if (mg == weapon) {
mg.int = setInterval(autoShoot, 1000 / mg.rof, mg);
}
}
function mgStopShoot() {
clearInterval(mg.int);
}
function smgStartShoot() {
smg.burstLength = 0;
autoShoot(smg);
if (smg.int) {
clearInterval(smg.int);
delete smg.int;
}
if (smg == weapon) {
smg.int = setInterval(autoShoot, 1000 / smg.rof, smg);
}
}
function smgStopShoot() {
clearInterval(smg.int);
}
function testStartShoot() {
test.burstLength = 0;
autoShoot(test);
if (test == weapon) {
test.int = setInterval(autoShoot, 1000 / smg.rof, test);
}
}
function testStopShoot() {
clearInterval(test.int);
}
onMouseDown = Mouse.hide;
test = {hand:"smg", rof:500, burstLength:0, maxSpread:20, spread:4, maxSpread:1, ammo:1000000, maxAmmo:200, onMouseDown:testStartShoot, onMouseUp:testStopShoot};
pistol = {hand:"pistol", rof:4, burstLength:0, spread:0, maxSpread:0, ammo:-1, maxAmmo:-1, onMouseDown:pistolStartShoot, onMouseUp:pistolStopShoot};
shotgun = {hand:"shotgun", shot:5, scatter:50, ammo:0, maxAmmo:10000, onMouseDown:shotShoot, onMouseUp:null};
smg = {hand:"smg", rof:10, burstLength:0, spread:7, maxSpread:10, ammo:0, maxAmmo:200, onMouseDown:smgStartShoot, onMouseUp:smgStopShoot};
mg = {hand:"mg", rof:15, burstLength:0, spread:5, maxSpread:20, ammo:0, maxAmmo:200, onMouseDown:mgStartShoot, onMouseUp:mgStopShoot};
autoShot = {hand:"autoShot", rof:12, shot:2, scatter:70, burstLength:0, spread:5, maxSpread:20, ammo:-1, maxAmmo:20000, onMouseDown:autoShotStartShoot, onMouseUp:autoShotStopShoot};
function chooseMask(t, f) {
t.setMask(t._parent[t._name + "Mask"]);
if (f == "off") {
t._parent[t._name + "Mask"]._visible = false;
} else {
t._parent[t._name + "Mask"]._visible = true;
}
t._parent[t._name + "Mask"].gotoAndStop(f);
}
function setSpriteAnim(t, f) {
if (!t.dead) {
t.oldSpriteAnim = t.spriteAnim;
t.spriteAnim = f;
t.sprite.gotoAndStop(f);
}
}
function enemyBeenShot(t, v) {
if (!gameIsOver) {
t.health--;
t.beenShotSpecial();
if (t.health <= 0) {
if (t.health == 0) {
playerPoints = playerPoints + t.points;
totalKills++;
}
setSpriteAnim(t, "die");
t.dead = true;
} else {
setSpriteAnim(t, "hit");
}
}
}
function hurtPlayer(t) {
if (getTimer() > (playerShieldStart + playerShieldDuration)) {
playerShieldStart = getTimer();
playerHealth--;
}
beenHit++;
if (playerHealth == 0) {
gameOver();
}
}
function orderDepths() {
for (var _local3 in currentEnemies) {
var _local2 = currentEnemies[_local3].enemy._xscale * (currentEnemies[_local3].enemy.sprite ? (currentEnemies[_local3].enemy.sprite._xscale) : 100);
if (!isNaN(_local2)) {
currentEnemies[_local3].enemy.swapDepths(sortDepth(this, _local2));
}
}
}
function sortDepth(mc, tgtDepth) {
if (!isNaN(tgtDepth)) {
var _local1 = 0;
tgtDepth = Math.round(tgtDepth);
while (mc.getInstanceAtDepth(tgtDepth + _local1) != undefined) {
_local1 = _local1 * -1;
if (_local1 >= 0) {
_local1++;
}
}
return(tgtDepth + _local1);
}
return(1);
}
function levelStart(t) {
_parent.crosshair._visible = true;
stop();
}
function levelEnd(t) {
level.stop();
_parent.crosshair._visible = false;
endLevel();
}
function burnLevel(t) {
t.stop();
burnLevelMC.play();
}
function levelExplode() {
bossExplode.play();
}
function showAltImage() {
trace("showAltImage()>>>" + this["bmp" + (lvl - 1)]);
this["bmp" + (lvl - 1)].play();
}
function gameComplete() {
clearInterval(weapon.int);
delete weapon.int;
_parent.crosshair._visible = false;
_global.root.fadeToBlack_mc.gotoAndPlay("fadeOut");
_root._quality = "HIGH";
_global.root.gameOverScore = playerPoints;
_global.root.lvl = 20;
_global.root.score = playerPoints;
}
function gameOver() {
stop();
gameIsOver = true;
_parent.crosshair.onMouseUp();
clearInterval(weapon.int);
delete weapon.int;
_parent.fadeToRed_mc.gotoAndPlay("fadeOut");
trace("died: " + sound_control_mc);
sound_control_mc.tgtVol = 0;
_parent.crosshair._visible = false;
_root._quality = "HIGH";
_global.root.gameOverScore = playerPoints;
}
function worldShake() {
shake = -2;
shakeCount = 5;
}
function checkWorldShake() {
if (shakeCount) {
shakeCount--;
shake = shake * -0.8;
if (shakeCount) {
_y = (startY + shake);
} else {
_y = startY;
}
}
}
function waitForWave(t, w) {
if (!t) {
trace("NO waitForWave() TARGET!!!!");
}
if (!w) {
w = 0;
}
if (activeEnemies > w) {
batShot = 0;
batCount = 0;
t.gotoAndPlay(t._currentframe - 1);
}
}
function orderEnemies() {
var _local2 = new Array();
for (var _local3 in currentEnemies) {
_local2[_local2.length] = currentEnemies[_local3];
}
var _local5 = _local2.length;
var _local4;
var _local3 = _local5;
while (_local3 > 0) {
var _local1 = 1;
while (_local1 <= _local3) {
if (_local2[_local1 - 1].enemy.getDepth() < _local2[_local1].enemy.getDepth()) {
_local4 = _local2[_local1 - 1];
_local2[_local1 - 1] = _local2[_local1];
_local2[_local1] = _local4;
}
_local1++;
}
_local3--;
}
return(_local2);
}
function checkHit(e, x, y) {
var _local1 = 0;
while (_local1 < e.length) {
if (e[_local1].hit.hitTest(x, y)) {
if (e[_local1].isEnemy) {
enemyBeenShot(e[_local1].enemy);
} else if (e[_local1].isShot) {
shotBeenShot(e[_local1].enemy);
} else if (e[_local1].isCrate) {
crateBeenShot(e[_local1].enemy);
} else {
bonusBeenShot(e[_local1].enemy);
}
break;
}
_local1++;
}
}
function spawnBonus(t, bonus) {
var _local4 = _global.world.sortDepth(_global.world.level, t._xscale * 100);
var _local6 = {_x:t._x, _y:t._y, _xscale:t._xscale, _yscale:t._yscale, qty:bonus.qty};
var _local3 = _global.world.level.attachMovie(bonus.type + "_bonus", (bonus.type + "_bonus") + _local4, _local4, _local6);
_global.world.newBonus(_local3, _local3.hit);
}
function bonusBeenShot(t) {
if (t.bonus_type == "health") {
playerHealth = playerHealth + ((playerHealth < maxHealth) ? 1 : 0);
} else {
_global.world.setWeapon(t.bonus_type, _global.world.weapon);
_global.world.addAmmo(t.bonus_type, t.qty);
_global.world.rightHand.hand.gotoAndStop(_global.world.weapon.hand);
}
t.gotoAndPlay("die");
}
function checkPlayerDamaged() {
if (oldBeenHit != beenHit) {
if (playerHealth > 0) {
playerHit.play();
}
}
targetScale = Math.floor(targetScale * 0.49);
_xscale = (targetScale + 100);
_yscale = (targetScale + 100);
oldBeenHit = beenHit;
}
function checkIsCached() {
if ((isBitmapCached && (isSoundCached)) && (isVideoCached)) {
if (!isGameStarting) {
nextFrame();
} else {
new Sound().setVolume(0);
stopAllSounds();
_global.root.init_animation_mc.gotoAndPlay("fadeout");
}
} else {
preloader._visible = true;
preloader.bar._width = 0;
preloader.onEnterFrame = waitForLoading;
}
}
function firstRun() {
trace("first run");
isGameStarting = false;
gotoAndStop("level" + initLevel);
playNextMusic();
}
function waitForLoading() {
if ((isBitmapCached && (isSoundCached)) && (isVideoCached)) {
this._visible = false;
this.onEnterFrame = null;
if (isGameStarting) {
delete this.prevVol;
new Sound().setVolume(0);
stopAllSounds();
_global.root.init_animation_mc.ready = true;
_global.root.init_animation_mc.gotoAndPlay("fadeout");
} else {
nextFrame();
}
} else {
var _local6 = ((stream.bytesTotal > 0) ? (stream.bytesTotal) : 0);
var _local3 = ((bmp_mcl.getProgress(bmp_loading).bytesTotal > 0) ? (bmp_mcl.getProgress(bmp_loading).bytesTotal) : 0);
var _local5 = ((snd_mcl.getProgress(snd_loading).bytesTotal > 0) ? (snd_mcl.getProgress(snd_loading).bytesTotal) : 0);
var _local10 = (isVideoCached ? (_local6) : (stream.bytesLoaded));
var _local8 = (isBitmapCached ? (_local3) : (bmp_mcl.getProgress(bmp_loading).bytesLoaded));
var _local7 = (isSoundCached ? (_local5) : (snd_mcl.getProgress(snd_loading).bytesLoaded));
if (!skipVideos) {
var _local9 = ((((_local6 > 0) && (_local3 > 0)) && (_local5 > 0)) ? (((_local10 + _local8) + _local7) / ((_local6 + _local3) + _local5)) : 0);
} else {
var _local9 = (((_local3 > 0) && (_local5 > 0)) ? ((_local8 + _local7) / (_local3 + _local5)) : 0);
}
if (isGameStarting) {
var _local4 = (1 - _local9) * 100;
_local4 = (((_local4 < this.prevVol) || (this.prevVol == undefined)) ? (_local4) : (this.prevVol));
new Sound().setVolume(_local4);
this.prevVol = _local4;
}
this.bar._width = this.bar.width * _local9;
}
}
function cacheVideo(n) {
video._visible = false;
stream.close();
stream = new NetStream(connection);
stream.n = n;
if (skipVideos) {
isVideoCached = true;
} else {
isVideoCaching = true;
isVideoCached = false;
video_cont_mc.onEnterFrame = monitorLoading;
video.attachVideo(stream);
stream.onStatus = videoLoadErrorMonitor;
stream.play(((video_path + n) + ".flv") + (isCacheDisabled ? ("?var=" + Math.random()) : ""));
}
}
function videoLoadErrorMonitor(info) {
if (info.code == "NetStream.Play.StreamNotFound") {
trace("video loading error - retrying: " + info.target);
stream.play(((video_path + stream.n) + ".flv") + (isCacheDisabled ? ("?var=" + Math.random()) : ""));
}
}
function monitorLoading() {
var _local2 = stream.bytesLoaded / stream.bytesTotal;
if (_local2 == 1) {
stream.seek(0);
if (_root.getSWFVersion() > 7) {
stream.onStatus = onSeekComplete;
} else {
videoCached();
}
video_cont_mc.onEnterFrame = null;
}
}
function onSeekComplete(info) {
if (info.code == "NetStream.Seek.Notify") {
videoCached();
}
}
function videoCached() {
stream.onStatus = null;
stream.pause(true);
isVideoCached = true;
isVideoCaching = false;
}
function cacheBitmap(n, isMovieClip) {
var _local4 = (isMovieClip ? "swf" : "jpg");
trace("extension: " + _local4);
var _local3 = (bmp_loading = this["bmp" + n]);
bmp_list.n = n;
_local3._visible = false;
isBitmapCached = false;
bmp_mcl.path = ((((_global.assets_path + "jpg/") + n) + ".") + _local4) + (isCacheDisabled ? ("?var=" + Math.random()) : "");
trace("cache bitmap: " + bmp_mcl.path);
bmp_mcl.loadClip(bmp_mcl.path, _local3);
}
function bitmapCachedError(t_mc, error_code, http) {
trace(((((("bitmap load error - retrying: " + t_mc._name) + " (error: \"") + error_code) + "\", http status code:") + http) + ")");
bmp_mcl.loadClip(bmp_mcl.path, bmp_loading);
}
function bitmapCached(t_mc) {
trace("bitmap cached: " + t_mc);
t_mc._visible = false;
trace(">->->" + t_mc._currentframe);
t_mc.gotoAndStop(2);
trace(">->->" + t_mc._currentframe);
isBitmapCached = true;
delete bmp_mcl.path;
}
function cacheSound(n) {
if (!sounds[n]) {
isSoundCached = false;
sounds[n] = this.createEmptyMovieClip(n + "_snd_mc", this.getNextHighestDepth());
snd_mcl.loadClip((((_global.assets_path + "music/") + n) + ".swf") + (isCacheDisabled ? ("?var=" + Math.random()) : ""), sounds[n]);
} else {
isSoundCached = true;
}
snd_list.n = n;
snd_loading = sounds[n];
}
function soundCachedError(t_mc, error_code, http) {
trace(((((("sound load error - retrying: " + t_mc._name) + " (error: \"") + error_code) + "\", http status code:") + http) + ")");
snd_mcl.loadClip((((_global.assets_path + "music/") + this.n) + ".swf") + (isCacheDisabled ? ("?var=" + Math.random()) : ""), snd_loading);
}
function soundCached(t_mc) {
trace("sound cached");
isSoundCached = true;
}
function playMusic(n) {
if (sounds[n] != currentSound) {
currentSound.gotoAndStop("stop");
currentSound = sounds[n];
currentSound.gotoAndStop("play");
currentSound._snd.setVolume(sound_control_mc.tgtVolMusic);
nowPlaying_mc.gotoAndStop(n);
nowPlayingShad_mc.gotoAndStop(n);
}
}
function playFFSound() {
currentSound.gotoAndStop("stop");
currentSound = sounds.ff;
currentSound.gotoAndStop("play");
currentSound._snd.setVolume(sound_control_mc.tgtVolMusic);
nowPlaying_mc.gotoAndStop("fastForward");
nowPlayingShad_mc.gotoAndStop("fastForward");
}
var isCacheDisabled = false;
var skipVideos = ((_global.root.skipVideos === true) ? true : false);
preloader.bar.width = preloader.bar._width;
var video_path = (((_global.assets_path + "video/") + ((_root.getSWFVersion() >= 8) ? "vp6" : "spark")) + "/");
var video;
var stream;
var connection = new NetConnection();
connection.connect(null);
this.createEmptyMovieClip("video_cont_mc", this.getNextHighestDepth());
var isVideoCached;
var videoTotalBytes = 0;
var bmp_mcl = new MovieClipLoader();
var bmp_list = {game:this, onLoadInit:bitmapCached, onLoadError:bitmapCachedError};
bmp_mcl.addListener(bmp_list);
var bmp_loading;
var isBitmapCached;
var bitmapTotalBytes = 0;
var snd_mcl = new MovieClipLoader();
var snd_list = {game:this, onLoadInit:soundCached, onLoadError:soundCachedError};
snd_mcl.addListener(snd_list);
var snd_loading;
var isSoundCached;
var soundTotalBytes = 0;
var sounds = {ff:ff_snd_mc};
var currentSound;
var nextSound;
setVars();
beginGame(_global.root.lvl, _global.root.score);
stop();
Instance of Symbol 395 MovieClip in Symbol 1138 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 412 MovieClip "walkmanHand" in Symbol 1138 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.frameDisplay.text = "world._currentframe = " + _parent._currentframe;
}
Instance of Symbol 458 MovieClip "rightHand" in Symbol 1138 MovieClip Frame 1
onClipEvent (load) {
shake = 0;
}
onClipEvent (enterFrame) {
shake = shake * 0.75;
applyShake = shake * 0.4;
var hv = {x:0, y:0};
hand.localToGlobal(hv);
var cv = {x:0, y:0};
_parent._parent.crosshair.localToGlobal(cv);
hand._rotation = ((Math.atan2(cv.y - hv.y, cv.x - hv.x) * 57.2957795130823) + 136) + ((applyShake * applyShake) * 0.01);
targetX = ((_parent._parent.crosshair._x * 0.5) + 280) + applyShake;
_x = (_x + ((targetX - _x) / 3));
}
Instance of Symbol 494 MovieClip "h5" in Symbol 1138 MovieClip Frame 1
onClipEvent (load) {
worth = 5;
i = 1;
while (i < 6) {
if (_parent.playerHealth >= i) {
_parent["h" + i].gotoAndStop("on");
} else {
_parent["h" + i].gotoAndStop("off");
}
i++;
}
}
onClipEvent (enterFrame) {
if (_parent.playerHealth < oldHealth) {
_parent["h" + (_parent.playerHealth + 1)].gotoAndStop("hit");
} else if (_parent.playerHealth > oldHealth) {
_parent["h" + _parent.playerHealth].gotoAndStop("new");
}
oldHealth = _parent.playerHealth;
}
Instance of Symbol 494 MovieClip "h4" in Symbol 1138 MovieClip Frame 1
onClipEvent (load) {
worth = 4;
}
Instance of Symbol 494 MovieClip "h3" in Symbol 1138 MovieClip Frame 1
onClipEvent (load) {
worth = 3;
}
Instance of Symbol 494 MovieClip "h2" in Symbol 1138 MovieClip Frame 1
onClipEvent (load) {
worth = 2;
if (worth > _parent.playerHealth) {
gotoAndStop ("off");
}
}
Instance of Symbol 494 MovieClip "h1" in Symbol 1138 MovieClip Frame 1
onClipEvent (load) {
worth = 1;
if (worth > _parent.playerHealth) {
gotoAndStop ("off");
}
}
Instance of Symbol 528 MovieClip "ff_snd_mc" in Symbol 1138 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 530 MovieClip "sound_control_mc" in Symbol 1138 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 57 MovieClip in Symbol 1138 MovieClip Frame 1
onClipEvent (load) {
function onKeyDown() {
if (((Key.getCode() == 32) && (!_parent.duck)) && (_parent.level)) {
var _local4 = _parent.sortDepth(_parent, 10101);
var _local3 = _parent.attachMovie("duck", "duck", _local4);
_local3.gotoAndPlay("fly");
_global.world.duck_activated_mc.play();
}
}
_visible = false;
Key.addListener(this);
stop();
}
Instance of Symbol 533 MovieClip [performanceController] "perf_cont_mc" in Symbol 1138 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 553 MovieClip "preloader" in Symbol 1138 MovieClip Frame 1
/* no clip actions */
Symbol 1138 MovieClip Frame 2
lvl = 1;
playMusic(track_order[lvl - 1]);
playVideo(lvl - 1);
cacheSound(track_order[lvl]);
cacheBitmap(lvl);
stop();
walkmanHand.nextAnim = "walk";
Symbol 1138 MovieClip Frame 3
cacheVideo(lvl);
playMusic(track_order[lvl - 1]);
stop();
walkmanHand.nextAnim = "idle";
Symbol 1138 MovieClip Frame 4
lvl = 2;
playVideo(lvl - 1);
cacheSound(track_order[lvl]);
cacheBitmap(lvl);
stop();
walkmanHand.nextAnim = "walk";
Symbol 1138 MovieClip Frame 5
cacheVideo(lvl);
playMusic(track_order[lvl - 1]);
stop();
walkmanHand.nextAnim = "idle";
Symbol 1138 MovieClip Frame 6
lvl = 3;
playVideo(lvl - 1);
cacheSound(track_order[lvl]);
cacheBitmap(lvl);
stop();
walkmanHand.nextAnim = "walk";
Symbol 1138 MovieClip Frame 7
cacheVideo(lvl);
playMusic(track_order[lvl - 1]);
stop();
walkmanHand.nextAnim = "idle";
Symbol 1138 MovieClip Frame 8
lvl = 4;
checkpoint(lvl, playerPoints);
playVideo(lvl - 1);
cacheSound(track_order[lvl]);
cacheBitmap(lvl);
stop();
walkmanHand.nextAnim = "walk";
Symbol 1138 MovieClip Frame 9
cacheVideo(lvl);
playMusic(track_order[lvl - 1]);
stop();
walkmanHand.nextAnim = "idle";
Symbol 1138 MovieClip Frame 10
lvl = 5;
playVideo(lvl - 1);
cacheSound(track_order[lvl]);
cacheBitmap(lvl);
fastForward(lvl - 1);
stop();
walkmanHand.nextAnim = "walk";
Symbol 1138 MovieClip Frame 11
cacheVideo(lvl);
playMusic(track_order[lvl - 1]);
stop();
walkmanHand.nextAnim = "idle";
Symbol 1138 MovieClip Frame 12
lvl = 6;
playVideo(lvl - 1);
cacheSound(track_order[lvl]);
cacheBitmap(lvl, true);
stop();
walkmanHand.nextAnim = "walk";
Symbol 1138 MovieClip Frame 13
cacheVideo(lvl);
playMusic(track_order[lvl - 1]);
stop();
walkmanHand.nextAnim = "idle";
Symbol 1138 MovieClip Frame 14
lvl = 7;
checkpoint(lvl, playerPoints);
playVideo(lvl - 1);
cacheSound(track_order[lvl]);
cacheBitmap(lvl, true);
fastForward(lvl - 1);
stop();
walkmanHand.nextAnim = "walk";
Symbol 1138 MovieClip Frame 15
cacheVideo(lvl);
playMusic(track_order[lvl - 1]);
stop();
walkmanHand.nextAnim = "idle";
Symbol 1138 MovieClip Frame 16
lvl = 8;
playVideo(lvl - 1);
cacheSound(track_order[lvl]);
cacheBitmap(lvl);
fastForward(lvl - 1);
stop();
walkmanHand.nextAnim = "walk";
Symbol 1138 MovieClip Frame 17
cacheVideo(lvl);
playMusic(track_order[lvl - 1]);
stop();
walkmanHand.nextAnim = "idle";
Symbol 1138 MovieClip Frame 18
lvl = 9;
checkpoint(lvl, playerPoints);
playVideo(lvl - 1);
cacheSound(track_order[lvl]);
cacheBitmap(lvl);
fastForward(lvl - 1);
stop();
walkmanHand.nextAnim = "walk";
Symbol 1138 MovieClip Frame 19
cacheVideo(lvl);
playMusic(track_order[lvl - 1]);
stop();
walkmanHand.nextAnim = "idle";
Symbol 1138 MovieClip Frame 20
lvl = 10;
playVideo(lvl - 1);
cacheSound(track_order[lvl]);
cacheBitmap(lvl);
fastForward(lvl - 1);
stop();
walkmanHand.nextAnim = "walk";
Symbol 1138 MovieClip Frame 21
cacheVideo(lvl);
playMusic(track_order[lvl - 1]);
stop();
walkmanHand.nextAnim = "idle";
Symbol 1138 MovieClip Frame 22
lvl = 11;
playVideo(lvl - 1);
cacheSound(track_order[lvl]);
cacheBitmap(lvl, true);
fastForward(lvl - 1);
stop();
walkmanHand.nextAnim = "walk";
Symbol 1138 MovieClip Frame 23
cacheVideo(lvl);
playMusic(track_order[lvl - 1]);
stop();
walkmanHand.nextAnim = "idle";
Symbol 1138 MovieClip Frame 24
lvl = 12;
checkpoint(lvl, playerPoints);
playVideo(lvl - 1);
cacheSound(track_order[lvl]);
cacheBitmap(lvl);
stop();
walkmanHand.nextAnim = "walk";
Symbol 1138 MovieClip Frame 25
cacheVideo(lvl);
playMusic(track_order[lvl - 1]);
stop();
walkmanHand.nextAnim = "idle";
Symbol 1138 MovieClip Frame 26
lvl = 13;
playVideo(lvl - 1);
cacheSound(track_order[lvl]);
cacheBitmap(lvl);
fastForward(lvl - 1);
stop();
walkmanHand.nextAnim = "walk";
Symbol 1138 MovieClip Frame 27
cacheVideo(lvl);
playMusic(track_order[lvl - 1]);
stop();
walkmanHand.nextAnim = "idle";
Symbol 1138 MovieClip Frame 28
lvl = 14;
checkpoint(lvl, playerPoints);
playVideo(lvl - 1);
cacheSound(track_order[lvl]);
cacheBitmap(lvl);
fastForward(lvl - 1);
stop();
walkmanHand.nextAnim = "walk";
Symbol 1138 MovieClip Frame 29
cacheVideo(lvl);
playMusic(track_order[lvl - 1]);
stop();
walkmanHand.nextAnim = "idle";
Symbol 1138 MovieClip Frame 30
lvl = 15;
playVideo(lvl - 1);
cacheSound(track_order[lvl]);
cacheBitmap(lvl);
stop();
walkmanHand.nextAnim = "walk";
Symbol 1138 MovieClip Frame 31
cacheVideo(lvl);
playMusic(track_order[lvl - 1]);
stop();
walkmanHand.nextAnim = "idle";
Symbol 1138 MovieClip Frame 32
lvl = 16;
checkpoint(lvl, playerPoints);
playVideo(lvl - 1);
cacheSound(track_order[lvl]);
cacheBitmap(lvl);
fastForward(lvl - 1);
stop();
walkmanHand.nextAnim = "walk";
Symbol 1138 MovieClip Frame 33
cacheVideo(lvl);
playMusic(track_order[lvl - 1]);
stop();
walkmanHand.nextAnim = "idle";
Symbol 1138 MovieClip Frame 34
lvl = 17;
playVideo(lvl - 1);
cacheSound(track_order[lvl]);
cacheBitmap(lvl);
stop();
walkmanHand.nextAnim = "walk";
Symbol 1138 MovieClip Frame 35
cacheVideo(lvl);
playMusic(track_order[lvl - 1]);
stop();
walkmanHand.nextAnim = "idle";
Symbol 1138 MovieClip Frame 36
lvl = 18;
checkpoint(lvl, playerPoints);
playVideo(lvl - 1);
cacheSound(track_order[lvl]);
cacheBitmap(lvl);
fastForward(lvl - 1);
stop();
walkmanHand.nextAnim = "walk";
Symbol 1138 MovieClip Frame 37
cacheVideo(lvl);
playMusic(track_order[lvl - 1]);
stop();
walkmanHand.nextAnim = "idle";
Symbol 1138 MovieClip Frame 38
lvl = 19;
playVideo(lvl - 1);
cacheSound(track_order[lvl]);
cacheBitmap(lvl, true);
stop();
walkmanHand.nextAnim = "walk";
Symbol 1138 MovieClip Frame 39
cacheVideo(lvl);
playMusic(track_order[lvl - 1]);
stop();
walkmanHand.nextAnim = "idle";
Symbol 1138 MovieClip Frame 40
lvl = 20;
playVideo(lvl - 1);
cacheSound(track_order[lvl]);
fastForward(lvl - 1);
stop();
walkmanHand.nextAnim = "walk";
Symbol 1138 MovieClip Frame 41
cacheVideo(lvl);
playMusic(track_order[lvl - 1]);
stop();
walkmanHand.nextAnim = "idle";
Symbol 1138 MovieClip Frame 42
lvl = 21;
playVideo(lvl - 1);
cacheBitmap(lvl);
fastForward(lvl - 1);
stop();
walkmanHand.nextAnim = "walk";
Symbol 1138 MovieClip Frame 43
cacheVideo(lvl);
playMusic(track_order[lvl - 1]);
stop();
Symbol 1141 MovieClip Frame 1
stop();
this.cacheAsBitmap = false;
onMouseMove = updateAfterEvent;
Instance of Symbol 1140 MovieClip "inner" in Symbol 1141 MovieClip Frame 1
onClipEvent (load) {
rot = 0;
}
Symbol 1141 MovieClip Frame 2
play();
Instance of Symbol 1140 MovieClip in Symbol 1141 MovieClip Frame 6
onClipEvent (load) {
rot = 0;
}
onClipEvent (enterFrame) {
if (rot < 15) {
rot++;
}
_rotation = (_rotation + rot);
}
Symbol 1141 MovieClip Frame 7
gotoAndStop (1);
Symbol 1141 MovieClip Frame 8
this.cacheAsBitmap = true;
Symbol 1141 MovieClip Frame 12
stop();
Symbol 1153 Button
on (release) {
_parent._parent.cont = true;
_parent._parent.gotoAndPlay("close");
}
Symbol 1156 Button
on (release) {
_global.root.openWindow("http://census.killerviral.com/redir.php?urlId=160", true, "width=640,height=500,scrollbars=yes");
}
Symbol 1158 Button
on (release) {
_global.root.openWindow("http://census.killerviral.com/redir.php?urlId=161", true, "width=500,height=500,scrollbars=yes");
}
Symbol 1160 Button
on (release) {
_parent.whichgal = "save";
_parent.play();
}
Symbol 1163 Button
on (release) {
_global.root.openWindow("http://census.killerviral.com/redir.php?urlId=168", true, "width=500,height=500,scrollbars=yes");
}
Symbol 1164 MovieClip Frame 1
displayScore = _global.root.gameOverScore + "!";
stop();
Symbol 1169 Button
on (release) {
_parent.gotoAndPlay("close");
}
Symbol 1183 MovieClip Frame 1
function onRelease() {
play();
_value = !_value;
}
stop();
Symbol 1183 MovieClip Frame 2
stop();
Symbol 1189 MovieClip Frame 1
function onhttpstatus(httpStatus) {
var _local1;
if (httpStatus < 100) {
_local1 = "flashError";
} else if (httpStatus < 200) {
_local1 = "informational";
} else if (httpStatus < 300) {
_local1 = "successful";
} else if (httpStatus < 400) {
_local1 = "redirection";
} else if (httpStatus < 500) {
_local1 = "clientError";
} else if (httpStatus < 600) {
_local1 = "serverError";
}
trace((("HTTP stauts code: " + httpStatus) + ", type: ") + _local1);
}
function onload(success) {
if (success) {
if (this.status == "saved") {
trace("game saved");
_parent._parent.whichgal = "saved";
_parent._parent.play();
} else {
feedback_txt.text = this.feedback;
}
} else {
trace("save game failed");
feedback_txt.text = "unable to save game - please check your internet connection";
}
}
save_btn.onRelease = function () {
var _local2 = new LoadVars();
var _local3 = new LoadVars();
_local2.score = (isNaN(_global.root.score) ? 0 : (_global.root.score));
_local2.level = (isNaN(_global.root.lvl) ? 1 : (_global.root.lvl));
_local2.email = email_txt.text;
_local2.username = username_txt.text;
_local2.optIn1st = (optIn1st_mc._value ? true : false);
_local2.optInKV = (optInKV_mc._value ? true : false);
_local3.onLoad = onload;
_local3.onHTTPStatus = onhttpstatus;
_local2.sendAndLoad("http://highscores.killerviral.com/tooncrisis/save.php?var=" + Math.random(), _local3);
};
Symbol 1197 Button
on (release) {
_global.root.openWindow("http://census.killerviral.com/redir.php?urlId=166");
}
Symbol 1199 Button
on (release) {
_parent.play();
}
Symbol 1203 Button
on (release) {
_global.root.openWindow("http://census.killerviral.com/redir.php?urlId=164", true, "width=500,height=500,scrollbars=yes");
}
Symbol 1204 MovieClip Frame 1
displayScore = _global.root.gameOverScore + "!";
stop();
Symbol 1212 MovieClip Frame 1
function onhttpstatus(httpStatus) {
var _local1;
if (httpStatus < 100) {
_local1 = "flashError";
} else if (httpStatus < 200) {
_local1 = "informational";
} else if (httpStatus < 300) {
_local1 = "successful";
} else if (httpStatus < 400) {
_local1 = "redirection";
} else if (httpStatus < 500) {
_local1 = "clientError";
} else if (httpStatus < 600) {
_local1 = "serverError";
}
trace((("HTTP stauts code: " + httpStatus) + ", type: ") + _local1);
}
function onload(success) {
if (success) {
if (this.status == "saved") {
trace("game saved");
_parent._parent.whichgal = "saved";
_parent._parent.play();
} else {
feedback_txt.text = this.feedback;
}
} else {
trace("save game failed");
feedback_txt.text = "unable to save game - please check your internet connection";
}
}
save_btn.onRelease = function () {
var _local2 = new LoadVars();
var _local3 = new LoadVars();
_local2.score = (isNaN(_global.root.score) ? 0 : (_global.root.score));
_local2.level = (isNaN(_global.root.lvl) ? 1 : (_global.root.lvl));
_local2.email = email_txt.text;
_local2.username = username_txt.text;
_local2.optIn1st = (optIn1st_mc._value ? true : false);
_local2.optInKV = (optInKV_mc._value ? true : false);
_local3.onLoad = onload;
_local3.onHTTPStatus = onhttpstatus;
_local2.sendAndLoad("http://highscores.killerviral.com/tooncrisis/save.php?var=" + Math.random(), _local3);
};
Symbol 1214 MovieClip Frame 10
stop();
Symbol 1214 MovieClip Frame 30
stop();
Symbol 1214 MovieClip Frame 50
stop();
Symbol 1214 MovieClip Frame 60
gotoAndPlay (1);
Symbol 1214 MovieClip Frame 71
stop();
Symbol 1214 MovieClip Frame 93
stop();
Symbol 1214 MovieClip Frame 103
gotoAndPlay ("completed");
Instance of Symbol 244 MovieClip in Symbol 1215 MovieClip Frame 72
onClipEvent (enterFrame) {
this.blink = (((100 * Math.random()) > 98) ? 1 : 0);
}
Symbol 1215 MovieClip Frame 83
stop();
Symbol 1215 MovieClip Frame 95
if (cont) {
delete cont;
_parent.gotoAndStop("game");
} else {
_parent.gotoAndPlay("startpage");
}
Instance of Symbol 244 MovieClip in Symbol 1216 MovieClip Frame 72
onClipEvent (enterFrame) {
this.blink = (((100 * Math.random()) > 98) ? 1 : 0);
}
Symbol 1216 MovieClip Frame 83
stop();
Instance of Symbol 1214 MovieClip in Symbol 1216 MovieClip Frame 83
onClipEvent (load) {
gotoAndPlay ("completed");
}
Symbol 1216 MovieClip Frame 95
if (cont) {
delete cont;
_parent.gotoAndStop("game");
} else {
_parent.gotoAndPlay("startpage");
}