Frame 1
function gotoMenu() {
gotoAndStop (2);
}
stop();
fscommand ("allowscale", "false");
_root.kongregateServices.connect();
if ((_root._url.indexOf("maxgames.com") < 0) || (_root._url.indexOf("local") < 0)) {
_root.nLoader.removeMovieClip();
mochi.as2.MochiAd.showPreGameAd({id:"9835164cd4b96b41", res:"640x480", background:197378, color:11337728, outline:15773954, no_bg:true, ad_finished:function () {
gotoMenu();
}});
} else {
_root.attachMovie("nloader", "loadern", _root.getNextHighestDepth(), {_x:-10, _y:259});
}
Frame 2
stop();
Frame 4
stop();
gridSize = 100;
cellSize = 32;
sndVolume = 50;
Frame 5
stop();
Symbol 17 MovieClip [nloader] Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndPlay ("loaded");
}
Symbol 17 MovieClip [nloader] Frame 2
gotoAndPlay (1);
Symbol 17 MovieClip [nloader] Frame 40
_root.gotoAndStop(2);
this.removeMovieClip();
Symbol 26 MovieClip [beamEFX] Frame 1
function onEnterFrame() {
if (this._alpha > 0) {
this._alpha = this._alpha * 0.6;
}
}
Symbol 26 MovieClip [beamEFX] Frame 8
function onEnterFrame() {
if (this._alpha > 0) {
this._alpha = this._alpha * 0.6;
}
}
Symbol 29 MovieClip [bullet] Frame 1
#initclip 126
Object.registerClass("bullet", Bullet1);
#endinitclip
Symbol 34 MovieClip [rocket] Frame 1
#initclip 103
Object.registerClass("rocket", Rocket);
#endinitclip
Symbol 35 MovieClip [basicShot] Frame 1
#initclip 104
Object.registerClass("basicShot", Pulse);
#endinitclip
Symbol 38 MovieClip [bioShot] Frame 1
#initclip 105
Object.registerClass("bioShot", BioShot);
#endinitclip
Symbol 39 MovieClip [iceShot] Frame 1
#initclip 106
Object.registerClass("iceShot", IceShot);
#endinitclip
Symbol 47 MovieClip [electroBall] Frame 1
#initclip 107
Object.registerClass("electroBall", electro_ball);
#endinitclip
Symbol 50 MovieClip [lazPart] Frame 1
#initclip 108
Object.registerClass("lazPart", particle);
#endinitclip
Symbol 51 MovieClip [bioPart] Frame 1
#initclip 109
Object.registerClass("bioPart", particle);
#endinitclip
Symbol 52 MovieClip [smokePart] Frame 1
#initclip 110
Object.registerClass("smokePart", particle);
#endinitclip
Symbol 53 MovieClip [darkPart] Frame 1
#initclip 111
Object.registerClass("darkPart", particle);
#endinitclip
Symbol 54 MovieClip [pulsePart] Frame 1
#initclip 112
Object.registerClass("pulsePart", particle);
#endinitclip
Symbol 55 MovieClip [lecPart] Frame 1
#initclip 113
Object.registerClass("lecPart", particle);
#endinitclip
Symbol 58 MovieClip [exploring] Frame 1
#initclip 114
Object.registerClass("exploring", exring);
#endinitclip
Symbol 62 MovieClip [bioFX] Frame 1
#initclip 115
Object.registerClass("bioFX", Bio);
#endinitclip
Symbol 67 MovieClip [fireFX] Frame 1
#initclip 116
Object.registerClass("fireFX", Fire);
#endinitclip
Symbol 70 MovieClip [iceFX] Frame 1
#initclip 117
Object.registerClass("iceFX", Ice);
#endinitclip
Symbol 73 MovieClip [AngelPart] Frame 36
this.removeMovieClip(this);
Symbol 89 MovieClip [Muzzlef2] Frame 3
this.removeMovieClip(this);
Symbol 90 MovieClip [Muzzlef] Frame 6
this.removeMovieClip(this);
Symbol 94 MovieClip [scorchPart] Frame 1
function onEnterFrame() {
this.counter++;
if (this.counter > 500) {
this._alpha--;
}
if (this._alpha <= 0) {
this.removeMovieClip(this);
}
}
this.counter = 0;
Symbol 97 MovieClip [bloodPart] Frame 1
function onEnterFrame() {
this.counter++;
if (this.counter > 500) {
this._alpha--;
}
if (this._alpha <= 0) {
this.removeMovieClip(this);
}
}
this.counter = 0;
Symbol 117 MovieClip [flameExplode] Frame 10
this.removeMovieClip(this);
Symbol 154 MovieClip Frame 47
this._parent.removeMovieClip(this._parent);
Symbol 155 MovieClip [fireShot] Frame 1
#initclip 118
Object.registerClass("fireShot", FireShot);
#endinitclip
Symbol 160 MovieClip [insTab] Frame 1
#initclip 119
Object.registerClass("insTab", inTab);
#endinitclip
Symbol 179 MovieClip [enTab] Frame 1
#initclip 120
Object.registerClass("enTab", inTab);
#endinitclip
Symbol 199 MovieClip [enTab2] Frame 1
#initclip 121
Object.registerClass("enTab2", inTab);
#endinitclip
Symbol 203 MovieClip [towTab] Frame 1
#initclip 122
Object.registerClass("towTab", inTab);
#endinitclip
Symbol 207 MovieClip [miscTab] Frame 1
#initclip 123
Object.registerClass("miscTab", inTab);
#endinitclip
Symbol 210 MovieClip [buttonHit] Frame 1
#initclip 124
Object.registerClass("buttonHit", hit_Area);
#endinitclip
Symbol 212 MovieClip [clickBlock] Frame 1
function onRelease() {
}
Symbol 218 MovieClip Frame 1
this.stop();
Symbol 221 MovieClip Frame 1
this.stop();
Symbol 224 MovieClip Frame 1
this.stop();
Symbol 228 MovieClip Frame 1
this.stop();
Symbol 229 MovieClip [playSelect] Frame 1
function onEnterFrame() {
if (bActive) {
this._x = -32;
} else {
this._x = 640;
}
}
this.bActive = false;
this.sLevel = 0;
this.eButton.onRollOver = function () {
this.gotoAndStop(2);
};
this.eButton.onRollOut = function () {
this.gotoAndStop(1);
};
this.eButton.onRelease = function () {
if (!this.bClicked) {
this.bClicked = true;
_root.Msc.m1.stop();
_root.diff = 1;
_root.Msc.m2.start();
_root.game.initLevel(this._parent.sLevel + 14);
}
};
this.mButton.onRollOver = function () {
this.gotoAndStop(2);
};
this.mButton.onRollOut = function () {
this.gotoAndStop(1);
};
this.mButton.onRelease = function () {
if (!this.bClicked) {
this.bClicked = true;
_root.Msc.m1.stop();
_root.diff = 1.2;
_root.Msc.m2.start();
_root.game.initLevel(this._parent.sLevel + 14);
}
};
this.hButton.onRollOver = function () {
this.gotoAndStop(2);
};
this.hButton.onRollOut = function () {
this.gotoAndStop(1);
};
this.hButton.onRelease = function () {
if (!this.bClicked) {
this.bClicked = true;
_root.Msc.m1.stop();
_root.diff = 1.4;
_root.Msc.m2.start();
_root.game.initLevel(this._parent.sLevel + 14);
}
};
this.cButton.onRollOver = function () {
this.gotoAndStop(2);
};
this.cButton.onRollOut = function () {
this.gotoAndStop(1);
};
this.cButton.onRelease = function () {
this._parent.bActive = false;
};
Symbol 231 MovieClip [eHandle] Frame 1
#initclip 125
Object.registerClass("eHandle", enemyHandle);
#endinitclip
Symbol 233 MovieClip [mgButton] Frame 1
function onRelease() {
_root.getURL("http://www.maxgames.com", "_blank");
}
Symbol 2548 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("3.0 as2");
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2});
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
showPreGameAd(options);
}
static function showTimedAd(options) {
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local7 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local7._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local7._mochiad_loaded = true;
if (_local7._url.indexOf("http") != 0) {
}
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local9;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local9);
_local6.lc = _local5;
_local4.lc = _local9;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
if (clip._mochiad._containerLCName != undefined) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"});
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
}
Symbol 2549 MovieClip [__Packages.engine.gameObject] Frame 0
class engine.gameObject extends MovieClip
{
var game, gotoAndStop, gx, _x, gy, _y, bNoDepth, swapDepths;
function gameObject () {
super();
game = _root.game;
gotoAndStop(1);
updateGrid();
}
function updateGrid() {
gx = Math.floor(_x / 32);
gy = Math.floor(_y / 32);
}
function setDepth() {
if (!bNoDepth) {
swapDepths(Math.round((-6000 + (_y * 10)) + gx));
}
}
function destroy() {
game.removeMC(this);
}
}
Symbol 2550 MovieClip [__Packages.engine.actor] Frame 0
class engine.actor extends engine.gameObject
{
var setDepth, _x, game, vx, _y, vy, updateGrid, gx, gy, radius;
function actor () {
super();
setDepth();
}
function Move(bX, bY) {
if (!_root.bPaused) {
if (bX) {
_x = _x + (vx * game.gameSpeed);
}
if (bY) {
_y = _y + (vy * game.gameSpeed);
}
}
}
function testHit(actorB) {
var _local3 = false;
updateGrid();
if ((gx >= (actorB.gx - 1)) && (gx <= (actorB.gx + 1))) {
if ((gy >= (actorB.gy - 1)) && (gy <= (actorB.gy + 1))) {
_local3 = checkRadialCollision(actorB, false);
}
}
return(_local3);
}
function checkRadialCollision(Other, bVal) {
var _local2 = engine.gameMath.getDistance(this, Other);
var _local3 = 0;
var _local4 = false;
if (_local2 < ((radius * game.gameSpeed) + Other.radius)) {
_local3 = (radius + Other.radius) - _local2;
_local4 = true;
}
if (bVal) {
return(_local3);
}
return(_local4);
}
}
Symbol 2551 MovieClip [__Packages.engine.gameMath] Frame 0
class engine.gameMath
{
function gameMath () {
}
static function getDistance(actor, other) {
var _local2 = actor._x - other._x;
var _local1 = actor._y - other._y;
var _local3 = Math.sqrt((_local2 * _local2) + (_local1 * _local1));
return(_local3);
}
static function updateVector(v) {
v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy));
if (v.len > 0) {
v.dx = v.vx / v.len;
v.dy = v.vy / v.len;
} else {
v.dx = 0;
v.dy = 0;
}
v.rx = -v.dy;
v.ry = v.dx;
v.lx = v.dy;
v.ly = -v.dx;
return(v);
}
static function closestAngle(sta, fin) {
var _local1 = fin - sta;
_local1 = _local1 % 360;
_local1 = _local1 + 540;
_local1 = _local1 % 360;
_local1 = _local1 - 180;
return(_local1);
}
}
Symbol 2552 MovieClip [__Packages.engine.projectile] Frame 0
class engine.projectile extends engine.actor
{
var Move, life, destroy, Target, _x, _y, vx, speed, vy, _rotation, testHit, damage, special, dameffect, bSplash, game, particleType, _parent;
function projectile () {
super();
}
function onEnterFrame() {
testTick++;
Move(true, true);
lifeCount++;
if (lifeCount > life) {
destroy();
}
if ((!bHit) && (Target.health != undefined)) {
if (testTick >= 2) {
testTick = 0;
var _local5 = Target._x - _x;
var _local4 = (Target._y - 8) - _y;
var _local2 = Math.atan2(_local4, _local5);
vx = Math.cos(_local2) * speed;
vy = Math.sin(_local2) * speed;
_rotation = (_local2 * 180) / 3.142;
}
var _local3 = testHit(Target);
if (_local3) {
hit(Target);
}
} else {
destroy();
}
}
function hit(Actor) {
createFX();
bHit = true;
Actor.takeDamage(damage, special);
if (dameffect != undefined) {
DamageEffect(Actor);
}
if (bSplash) {
splashDamage(Actor);
}
destroy();
}
function DamageEffect(Actor) {
if (Math.random() <= (0.1 + (game.sci * 0.05))) {
if (Actor.dEffect != undefined) {
Actor.dEffect.destroyed();
}
var _local2 = Actor.attachMovie(dameffect, "fct" + Math.random(), Actor.getNextHighestDepth(), {_x:0, _y:0});
_local2.lifeSpan = damage * 20;
_local2.swapDepths(-10);
_local2.dType = special;
}
}
function createFX() {
if (particleType != undefined) {
var _local3 = 0;
while (_local3 < 2) {
var _local2 = _parent.attachMovie(particleType, "part" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {_x:_x, _y:_y});
_local2.lifeSpan = 20 + (Math.random() * 20);
_local2.vx = -3 + (Math.random() * 6);
_local2.vy = -4 + (Math.random() * 8);
_local3++;
}
}
}
function splashDamage(Actor) {
var _local5 = game.enemies.length;
var _local3 = 0;
while (_local3 < _local5) {
var _local2 = game.enemies[_local3];
var _local4 = engine.gameMath.getDistance(this, _local2);
if ((_local2 != Actor) && (_local4 < 48)) {
_local2.takeDamage(Math.floor(damage * 0.5), special);
DamageEffect(_local2);
}
_local3++;
}
}
var lifeCount = 0;
var radius = 1;
var testTick = 0;
var bHit = false;
}
Symbol 2553 MovieClip [__Packages.Rocket] Frame 0
class Rocket extends engine.projectile
{
var particleType, special, game, bSplash, testTick, Move, lifeCount, splashDamage, createFX, destroy, bHit, Target, _x, _y, vx, speed, vy, _rotation, testHit, damage, dameffect, DamageEffect, _parent;
function Rocket () {
super();
particleType = "lazPart";
special = "explode";
game.soundControl.shot5.start();
bSplash = true;
}
function onEnterFrame() {
testTick++;
Move(true, true);
lifeCount++;
if (lifeCount > 500) {
if (bSplash) {
splashDamage(undefined);
}
createFX();
explosion();
destroy();
}
if ((!bHit) && (Target.health != undefined)) {
if (testTick >= 2) {
testTick = 0;
var _local5 = Target._x - _x;
var _local4 = (Target._y - 8) - _y;
var _local2 = Math.atan2(_local4, _local5);
vx = Math.cos(_local2) * speed;
vy = Math.sin(_local2) * speed;
_rotation = (_local2 * 180) / 3.142;
}
var _local3 = testHit(Target);
if (_local3) {
hit(Target);
}
} else if (Target.health == undefined) {
Target = getEnemy();
} else {
if (bSplash) {
splashDamage(undefined);
}
createFX();
explosion();
destroy();
}
}
function getEnemy() {
var _local7 = _root.game.enemies;
var _local8;
var _local5 = 0;
var _local9 = _local7.length;
var _local4 = 0;
while (_local4 < _local9) {
var _local3 = _local7[_local4];
var _local6 = engine.gameMath.getDistance(this, _local3);
if (_local3.traveled > _local5) {
_local8 = _local3;
_local5 = _local3.traveled;
}
_local4++;
}
return(_local8);
}
function hit(Actor) {
bHit = true;
Actor.takeDamage(damage, special);
if (dameffect != undefined) {
DamageEffect(Actor);
}
if (bSplash) {
splashDamage(Actor);
}
createFX();
explosion();
destroy();
}
function explosion() {
game.soundControl.hit51.start();
var _local4 = _parent.attachMovie("flameExplode", "part" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {_x:_x, _y:_y});
}
}
Symbol 2554 MovieClip [__Packages.Pulse] Frame 0
class Pulse extends engine.projectile
{
var particleType, special, game, bHit, damage, dameffect, DamageEffect, bSplash, splashDamage, createFX, destroy;
function Pulse () {
super();
particleType = "pulsePart";
special = "energy";
game.soundControl.shot1.start();
}
function hit(Actor) {
bHit = true;
Actor.takeDamage(damage, special);
if (dameffect != undefined) {
DamageEffect(Actor);
}
if (bSplash) {
splashDamage(Actor);
}
createFX();
game.soundControl.hit1.start();
destroy();
}
}
Symbol 2555 MovieClip [__Packages.BioShot] Frame 0
class BioShot extends engine.projectile
{
var particleType, special, dameffect, game, bHit, damage, DamageEffect, bSplash, splashDamage, createFX, destroy;
function BioShot () {
super();
particleType = "bioPart";
special = "bio";
dameffect = "bioFX";
game.soundControl.shot7.start();
}
function hit(Actor) {
bHit = true;
Actor.takeDamage(damage, special);
if (dameffect != undefined) {
DamageEffect(Actor);
}
if (bSplash) {
splashDamage(Actor);
}
createFX();
game.soundControl.hit5.start();
destroy();
}
}
Symbol 2556 MovieClip [__Packages.IceShot] Frame 0
class IceShot extends engine.projectile
{
var particleType, special, dameffect, game;
function IceShot () {
super();
particleType = "lecPart";
special = "ice";
dameffect = "iceFX";
game.soundControl.shot7.start();
}
}
Symbol 2557 MovieClip [__Packages.electro_ball] Frame 0
class electro_ball extends engine.projectile
{
var particleType, special;
function electro_ball () {
super();
particleType = "lecPart";
special = "electro";
}
}
Symbol 2558 MovieClip [__Packages.particle] Frame 0
class particle extends MovieClip
{
var _rotation, _xscale, _yscale, lifeSpan, _alpha, Mod, vx, _x, _y, vy, removeMovieClip;
function particle () {
super();
_rotation = Math.random() * 360;
_xscale = 20 + (Math.random() * 50);
_yscale = 20 + (Math.random() * 50);
}
function onEnterFrame() {
counter++;
if (counter < lifeSpan) {
step = Math.floor(((lifeSpan - counter) / lifeSpan) * 100);
_alpha = step;
if (Mod != undefined) {
vx = vx + Mod;
}
_x = _x + vx;
_y = _y + vy;
} else {
removeMovieClip(this);
}
}
var counter = 0;
var step = 0;
}
Symbol 2559 MovieClip [__Packages.exring] Frame 0
class exring extends engine.gameObject
{
var _xscale, _yscale, lifeSpan, game, _alpha, removeMovieClip, _x, vx, _y, vy;
function exring () {
super();
_xscale = Math.random() * 80;
_yscale = _xscale;
}
function onEnterFrame() {
counter++;
game.World._x = (-(lifeSpan * 0.2)) + (Math.random() * (lifeSpan * 0.2));
game.World._y = (-(lifeSpan * 0.2)) + (Math.random() * (lifeSpan * 0.2));
if (counter < lifeSpan) {
step = Math.floor(((lifeSpan - counter) / lifeSpan) * 100);
_alpha = step;
_xscale = _xscale * 1.05;
_yscale = _yscale * 1.05;
} else {
game.World._x = 0;
game.World._y = 0;
removeMovieClip(this);
}
if (_x > 1022) {
_x = 1019;
vx = vx * -1;
} else if (_y > 1022) {
_y = 1020;
vy = vy * -1;
} else if (_x < 2) {
_x = 4;
vx = vx * -1;
} else if (_y < 2) {
_y = 4;
vy = vy * -1;
}
}
var counter = 0;
var step = 0;
}
Symbol 2560 MovieClip [__Packages.damageEffect] Frame 0
class damageEffect extends MovieClip
{
var _parent, lifeSpan, damage, dType, _alpha, removeMovieClip;
function damageEffect () {
super();
_parent.dEffect = this;
}
function onEnterFrame() {
counter = counter + (1 * _root.game.gameSpeed);
if (counter < lifeSpan) {
_parent.takeDamage(damage * _root.game.gameSpeed, dType);
step = Math.floor(((lifeSpan - counter) / lifeSpan) * 100);
_alpha = step;
} else {
_parent.dEffect = undefined;
removeMovieClip(this);
}
}
function destroyed() {
removeMovieClip(this);
}
var counter = 0;
var step = 0;
}
Symbol 2561 MovieClip [__Packages.Bio] Frame 0
class Bio extends damageEffect
{
var damage, speedMod;
function Bio () {
super();
damage = 0.2;
speedMod = 0.5;
}
}
Symbol 2562 MovieClip [__Packages.Fire] Frame 0
class Fire extends damageEffect
{
var damage, speedMod;
function Fire () {
super();
damage = 0.5;
speedMod = 1.5;
}
}
Symbol 2563 MovieClip [__Packages.Ice] Frame 0
class Ice extends damageEffect
{
var damage, speedMod;
function Ice () {
super();
damage = 0.05;
speedMod = 0.2;
}
}
Symbol 2564 MovieClip [__Packages.FireShot] Frame 0
class FireShot extends engine.projectile
{
var particleType, special, dameffect, game, bSplash, bHit, damage, DamageEffect, splashDamage, createFX, destroy;
function FireShot () {
super();
particleType = "firePart";
special = "flame";
dameffect = "fireFX";
game.soundControl.shot5.start();
bSplash = true;
}
function hit(Actor) {
bHit = true;
Actor.takeDamage(damage, special);
if (dameffect != undefined) {
DamageEffect(Actor);
}
if (bSplash) {
splashDamage(Actor);
}
createFX();
destroy();
}
}
Symbol 2565 MovieClip [__Packages.inTab] Frame 0
class inTab extends MovieClip
{
var swapDepths;
function inTab () {
super();
}
function onPress() {
swapDepths(100);
}
}
Symbol 2566 MovieClip [__Packages.hit_Area] Frame 0
class hit_Area extends MovieClip
{
var gotoAndStop, _parent;
function hit_Area () {
super();
gotoAndStop(1);
}
function onRelease() {
_parent.Clicked();
}
function onRollOver() {
_parent._parent.bTarget = _parent;
gotoAndStop(2);
}
function onRollOut() {
_parent._parent.bTarget = undefined;
gotoAndStop(1);
}
}
Symbol 2567 MovieClip [__Packages.enemyHandle] Frame 0
class enemyHandle extends MovieClip
{
var _parent;
function enemyHandle () {
super();
}
function onPress() {
_root.game.selectedEnemy = _parent;
}
}
Symbol 2568 MovieClip [__Packages.Bullet1] Frame 0
class Bullet1 extends engine.projectile
{
var particleType, special, game, bHit, damage, dameffect, DamageEffect, bSplash, splashDamage, createFX, destroy;
function Bullet1 () {
super();
particleType = "pulsePart";
special = "impact";
game.soundControl.shot3.start();
}
function hit(Actor) {
bHit = true;
Actor.takeDamage(damage, special);
if (dameffect != undefined) {
DamageEffect(Actor);
}
if (bSplash) {
splashDamage(Actor);
}
createFX();
game.soundControl.hit1.start();
destroy();
}
}
Symbol 2569 MovieClip [__Packages.support_tower] Frame 0
class support_tower extends engine.actor
{
var myTowers, ox, gx, oy, gy, game, Stars, powerCost, cost, range, _x, _y, updateGrid, _alpha, RangeRing, bCanFire, setDepth, consumption, swapDepths, reloadRate, power, rangeM, destroy;
function support_tower () {
super();
myTowers = new Array();
ox = gx;
oy = gy;
game.snapNearest(this);
game.Towers.push(this);
checkTowers();
Stars.gotoAndStop(1);
}
function upgrade() {
upgrades = upgrades + 1;
game.money = game.money - powerCost;
cost = cost + powerCost;
range = range + 10;
checkTowers();
Stars.gotoAndStop(upgrades + 1);
}
function sell() {
if (State != "held") {
for (var _local4 in game.Towers) {
if (game.Towers[_local4] == this) {
game.Towers.splice(_local4, 1);
var _local3 = Math.floor(_x / 32);
var _local2 = Math.floor(_y / 32);
game.updateArray(_local3, _local2, 0);
}
}
game.money = game.money + (cost * 0.5);
Destroy();
}
}
function onEnterFrame() {
if (State == "held") {
_x = _root._xmouse;
_y = _root._ymouse;
game.Selected = this;
game.snapNearest(this);
updateGrid();
if (game.getArray(gx, gy) == 1) {
_alpha = 50;
} else {
_alpha = 100;
}
}
if (game.Selected == this) {
if (RangeRing._xscale < (range * 2)) {
RangeRing._xscale = range * 2;
RangeRing._yscale = range * 2;
}
RangeRing._alpha = 50;
} else {
RangeRing._xscale = 1;
RangeRing._yscale = 1;
RangeRing._alpha = 0;
}
if (State != "held") {
nextShot = nextShot + 1;
updateCount++;
if (nextShot >= 100) {
nextShot = 100;
bCanFire = true;
}
if (bCanFire) {
nextShot = 0;
bCanFire = false;
}
}
}
function released() {
if (checkDrop()) {
game.money = game.money - cost;
game.bHolding = false;
game.snapNearest(this);
updateGrid();
setDepth();
game.usedPower = game.usedPower + consumption;
ox = gx;
oy = gy;
State = "normal";
}
}
function pressed() {
if (State == "held") {
game.select(this);
game.bHolding = true;
swapDepths(4000);
_x = _root._xmouse;
_y = _root._ymouse;
}
if ((State == "normal") && (!game.bHolding)) {
game.select(this);
setDepth();
}
}
function checkDrop() {
var _local4 = false;
var _local3 = Math.floor(_x / 32);
var _local2 = Math.floor(_y / 32);
if (game.getArray(_local3, _local2) == 0) {
_local4 = true;
game.updateArray(_local3, _local2, 1);
game.RefreshTowers();
}
return(_local4);
}
function checkTowers() {
var _local6 = _root.game.Towers;
var _local7 = _local6.length;
var _local4 = 0;
while (_local4 < _local7) {
var _local3 = _local6[_local4];
var _local5 = engine.gameMath.getDistance(this, _local3);
if ((_local5 < range) && (_local3.State != "held")) {
updateTowers(_local3);
}
_local4++;
}
}
function updateTowers(TowerName) {
var _local5 = myTowers;
var _local7 = _local5.length;
var _local6 = true;
var _local2 = 0;
while (_local2 < _local7) {
var _local3 = _local5[_local2];
if (_local3 == TowerName) {
_local6 = false;
return(false);
}
_local2++;
}
if (_local6) {
myTowers.push(TowerName);
TowerName.reloadMod = TowerName.reloadMod + reloadRate;
TowerName.powerMod = TowerName.powerMod + power;
TowerName.rangeMod = TowerName.rangeMod + rangeM;
}
}
function Destroy() {
for (var _local3 in myTowers) {
var _local2 = myTowers[_local3];
_local2.reloadMod = _local2.reloadMod - reloadRate;
_local2.powerMod = _local2.powerMod - power;
_local2.rangeMod = _local2.rangeMod - rangeM;
myTowers.splice(_local3, 1);
}
destroy();
}
function getEnemy() {
var _local7 = _root.game.enemies;
var _local8;
var _local6 = 100000000 /* 0x5F5E100 */;
var _local9 = _local7.length;
var _local3 = 0;
while (_local3 < _local9) {
var _local4 = _local7[_local3];
var _local5 = engine.gameMath.getDistance(this, _local4);
if (_local5 < _local6) {
_local8 = _local4;
_local6 = _local5;
}
_local3++;
}
if (_local6 <= range) {
return(_local8);
}
return(undefined);
}
function checkRange(tEnemy) {
if (tEnemy.health == undefined) {
return(false);
}
if (engine.gameMath.getDistance(this, tEnemy) < range) {
return(true);
}
return(false);
}
var updateCount = 0;
var nextShot = 100;
var powerMod = 0;
var rangeMod = 0;
var reloadMod = 0;
var State = "normal";
var Type = "SupportTower";
var upgrades = 0;
}
Symbol 2570 MovieClip [__Packages.support_tower_1] Frame 0
class support_tower_1 extends support_tower
{
var consumption, yPoint, powerCost, rangeCost, reloadCost, speed, power, range, rangeM, reloadRate, Name, Description, shotType, ox, gx, oy, gy, game;
function support_tower_1 () {
super();
consumption = 25;
yPoint = 8;
powerCost = 50;
rangeCost = 50;
reloadCost = 50;
speed = 1;
power = 0;
range = 50;
rangeM = 20;
reloadRate = 0;
Name = "Radar Tower";
Description = "Radar Tower - Supports Weapon Towers with an increased field of view";
shotType = "none";
ox = gx;
oy = gy;
game.snapNearest(this);
}
}
Symbol 2571 MovieClip [__Packages.support_tower_2] Frame 0
class support_tower_2 extends support_tower
{
var yPoint, consumption, powerCost, rangeCost, reloadCost, speed, power, range, rangeM, reloadRate, Name, Description, shotType, ox, gx, oy, gy, game;
function support_tower_2 () {
super();
yPoint = 8;
consumption = 50;
powerCost = 50;
rangeCost = 50;
reloadCost = 50;
speed = 1;
power = 5;
range = 50;
rangeM = 0;
reloadRate = 0;
Name = "Energy Generator";
Description = "High Energy Generator - Supports Weapons By Increasing Weapons Damage Potential";
shotType = "none";
ox = gx;
oy = gy;
game.snapNearest(this);
}
}
Symbol 2572 MovieClip [__Packages.tower] Frame 0
class tower extends engine.actor
{
var ox, gx, oy, gy, game, turret, Stars, origPower, power, origRange, range, powerCost, cost, _x, _y, reloadBar, updateGrid, _alpha, powerMod, reloadMod, rangeMod, RangeRing, reloadRate, bCanFire, enemy, setDepth, consumption, swapDepths, speed, angle, shotType, yPoint, destroy;
function tower () {
super();
ox = gx;
oy = gy;
game.snapNearest(this);
game.Towers.push(this);
turret.gotoAndStop(1);
Stars.gotoAndStop(1);
}
function upgrade() {
upgrades = upgrades + 1;
if (origPower == undefined) {
origPower = power;
origRange = range;
}
game.money = game.money - powerCost;
cost = cost + powerCost;
power = power + (origPower * 0.25);
range = range + (origRange * 0.1);
Stars.gotoAndStop(upgrades + 1);
}
function sell() {
if (State != "held") {
for (var _local4 in game.Towers) {
if (game.Towers[_local4] == this) {
game.Towers.splice(_local4, 1);
game.money = game.money + (cost * 0.5);
var _local3 = Math.floor(_x / 32);
var _local2 = Math.floor(_y / 32);
game.updateArray(_local3, _local2, 0);
Destroy();
}
}
}
}
function onEnterFrame() {
if (State == "held") {
reloadBar._xscale = nextShot;
_x = _root._xmouse;
_y = _root._ymouse;
game.Selected = this;
game.snapNearest(this);
updateGrid();
if (game.getArray(gx, gy) == 0) {
_alpha = 100;
} else {
_alpha = 35;
}
if (powerMod == undefined) {
powerMod = 0;
}
if (reloadMod == undefined) {
reloadMod = 0;
}
if (rangeMod == undefined) {
rangeMod = 0;
}
}
if (game.Selected == this) {
if (RangeRing._xscale < ((range + rangeMod) * 2)) {
RangeRing._xscale = (range + rangeMod) * 2;
RangeRing._yscale = (range + rangeMod) * 2;
}
RangeRing._alpha = 25;
reloadBar._alpha = 50;
} else {
RangeRing._xscale = 1;
RangeRing._yscale = 1;
RangeRing._alpha = 0;
reloadBar._alpha = 0;
}
if (State != "held") {
nextShot = nextShot + (reloadRate * game.gameSpeed);
if (nextShot >= 100) {
nextShot = 100;
bCanFire = true;
}
reloadBar._xscale = nextShot;
if (bCanFire) {
if (checkRange(enemy)) {
nextShot = 0;
bCanFire = false;
fire();
} else {
enemy = getEnemy();
}
}
}
uCount++;
if (uCount >= 0) {
uCount = 0;
updateTurret();
}
}
function released() {
if (checkDrop()) {
game.money = game.money - cost;
game.bHolding = false;
game.snapNearest(this);
updateGrid();
setDepth();
ox = gx;
oy = gy;
State = "normal";
game.usedPower = game.usedPower + consumption;
game.RefreshTowers();
}
}
function pressed() {
if (State == "held") {
game.select(this);
game.bHolding = true;
swapDepths(4000);
_x = _root._xmouse;
_y = _root._ymouse;
}
if ((State == "normal") && (!game.bHolding)) {
game.select(this);
setDepth();
}
}
function checkDrop() {
var _local4 = false;
var _local3 = Math.floor(_x / 32);
var _local2 = Math.floor(_y / 32);
if (game.getArray(_local3, _local2) == 0) {
_local4 = true;
game.updateArray(_local3, _local2, 1);
game.RefreshTowers();
}
return(_local4);
}
function fire() {
updateTurret();
var _local4 = Math.cos((angle / 180) * Math.PI) * speed;
var _local3 = Math.sin((angle / 180) * Math.PI) * speed;
var _local2 = game.attachMovie(shotType, "shot" + game.getNextHighestDepth(), game.getNextHighestDepth(), {_x:_x + (_local4 * 6), _y:(_y - yPoint) + (_local3 * 4)});
_local2._rotation = angle;
_local2.damage = power + powerMod;
_local2.Target = enemy;
_local2.speed = speed;
_local2.vx = _local4;
_local2.vy = _local3;
_local2.life = ((range + rangeMod) * 2) / speed;
}
function updateTurret() {
if (enemy.health != undefined) {
var _local3 = enemy._x - _x;
var _local2 = enemy._y - (_y - yPoint);
angle = (Math.atan2(_local2, _local3) * 180) / Math.PI;
turret.gotoAndStop(Math.round((angle + 180) / 5));
}
}
function getEnemy() {
var _local7 = _root.game.enemies;
var _local8;
var _local6 = 0;
var _local9 = _local7.length;
var _local4 = 0;
while (_local4 < _local9) {
var _local3 = _local7[_local4];
var _local5 = engine.gameMath.getDistance(this, _local3);
if ((_local5 < (range + rangeMod)) && (_local3.traveled > _local6)) {
if (_local3.gy >= 0) {
_local8 = _local3;
_local6 = _local3.traveled;
}
}
_local4++;
}
return(_local8);
}
function Destroy() {
destroy();
}
function checkRange(tEnemy) {
if (tEnemy.health == undefined) {
return(false);
}
if (engine.gameMath.getDistance(this, tEnemy) < (range + rangeMod)) {
return(true);
}
return(false);
}
var nextShot = 0;
var uCount = 0;
var updateCount = 0;
var upgrades = 0;
var State = "normal";
var Type = "Tower";
}
Symbol 2573 MovieClip [__Packages.tower_2] Frame 0
class tower_2 extends tower
{
var consumption, shot2, yPoint, powerCost, rangeCost, reloadCost, speed, power, range, reloadRate, Name, shotType, Description, ox, gx, oy, gy, game, gotoAndStop, ray, _parent, _y, _x, enemy, angle, destroy;
function tower_2 () {
super();
consumption = 200;
shot2 = new Sound(this);
shot2.attachSound("shot2");
shot2.onSoundComplete = function () {
this.start();
};
shot2.start();
shot2.setVolume(0);
yPoint = 28;
powerCost = 10;
rangeCost = 10;
reloadCost = 10;
speed = 5;
power = 5;
range = 70;
reloadRate = 10;
Name = "Electro Tower";
shotType = "electroBall";
Description = "Electro Tower - Releases a high voltage charge towards nearby enemys";
ox = gx;
oy = gy;
game.snapNearest(this);
gotoAndStop(Math.floor(range / 40));
ray = _parent.attachMovie("bolt", "beam" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {_x:_x, _y:_y - 28});
}
function updateTurret() {
ray._x = _x;
ray._y = _y - 28;
if (enemy.health != undefined) {
if (alphaMod < 90) {
alphaMod = alphaMod + 5;
}
if (!_root.bMute) {
shot2.setVolume(alphaMod * (_root.sndVolume * 0.01));
}
ray._alpha = alphaMod;
var _local4 = enemy._x - _x;
var _local3 = enemy._y - (_y - yPoint);
ray._xscale = Math.sqrt((_local4 * _local4) + (_local3 * _local3));
angle = (Math.atan2(_local3, _local4) * 180) / Math.PI;
ray._rotation = angle;
} else {
if (alphaMod > 0) {
alphaMod = alphaMod - 5;
} else {
alphaMod = 0;
}
if (!_root.bMute) {
shot2.setVolume(alphaMod * (_root.sndVolume * 0.01));
} else {
shot2.setVolume(0);
}
ray._alpha = alphaMod;
}
}
function fire() {
createFX();
enemy.takeDamage(power, "electro");
}
function Destroy() {
ray.removeMovieClip(ray);
destroy();
}
function createFX() {
var _local2 = _parent.attachMovie("lecPart", "part" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {_x:enemy._x, _y:enemy._y});
_local2.lifeSpan = 20 + (Math.random() * 20);
_local2.vx = -3 + (Math.random() * 6);
_local2.vy = -4 + (Math.random() * 8);
}
function onUnload() {
delete shot2;
}
var alphaMod = 0;
}
Symbol 2574 MovieClip [__Packages.tower_3] Frame 0
class tower_3 extends tower
{
var yPoint, consumption, powerCost, rangeCost, reloadCost, speed, power, range, powerMod, reloadRate, Name, shotType, ox, gx, oy, gy, Description, game, gotoAndStop, updateTurret, angle, _y, _x, enemy, _parent;
function tower_3 () {
super();
yPoint = 6;
consumption = 250;
powerCost = 50;
rangeCost = 50;
reloadCost = 20;
speed = 10;
power = 18;
range = 100;
powerMod = 0;
reloadRate = 6;
Name = "Sniper Tower";
shotType = "bullet";
ox = gx;
oy = gy;
Description = "Machine Gun Turret - Fires burst's of high caliber rounds";
game.snapNearest(this);
gotoAndStop(Math.floor(range / 40));
}
function fire() {
createFX();
updateTurret();
var _local4 = Math.cos((angle / 180) * Math.PI) * speed;
var _local3 = Math.sin((angle / 180) * Math.PI) * speed;
var _local2 = game.attachMovie("Muzzlef", "shot" + game.getNextHighestDepth(), game.getNextHighestDepth(), {_x:_x + (_local4 * 2.5), _y:(_y - yPoint) + (_local3 * 1.8)});
_local2._rotation = angle;
game.soundControl.shot3.start();
enemy.takeDamage(power + powerMod, "bullet");
}
function createFX() {
var _local2 = _parent.attachMovie("pulsePart", "part" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {_x:enemy._x, _y:enemy._y});
_local2.lifeSpan = 20 + (Math.random() * 20);
_local2.vx = -3 + (Math.random() * 6);
_local2.vy = -4 + (Math.random() * 8);
}
}
Symbol 2575 MovieClip [__Packages.tower_4] Frame 0
class tower_4 extends tower
{
var consumption, yPoint, powerCost, rangeCost, reloadCost, speed, power, range, reloadRate, Name, shotType, Description, ox, gx, oy, gy, game, gotoAndStop, updateTurret, angle, _y, _x, enemy, powerMod;
function tower_4 () {
super();
consumption = 400;
yPoint = 8;
powerCost = 10;
rangeCost = 10;
reloadCost = 10;
speed = 6;
power = 10;
range = 70;
reloadRate = 10;
Name = "Ice Tower";
shotType = "iceShot";
Description = "Ice Tower - Fires shards of solid hydrogen - Has good chance of freezing the enemy!";
ox = gx;
oy = gy;
game.snapNearest(this);
gotoAndStop(Math.floor(range / 40));
}
function fire() {
updateTurret();
var _local4 = Math.cos((angle / 180) * Math.PI) * speed;
var _local3 = Math.sin((angle / 180) * Math.PI) * speed;
var _local2 = game.attachMovie(shotType, "ishot_" + game.getNextHighestDepth(), game.getNextHighestDepth(), {_x:_x + (_local4 * 4), _y:(_y - yPoint) + (_local3 * 4)});
_local2._rotation = angle;
_local2.Target = enemy;
_local2.damage = power + powerMod;
_local2.speed = speed;
_local2.vx = _local4;
_local2.vy = _local3;
_local2.life = (range * 2) / speed;
}
}
Symbol 2576 MovieClip [__Packages.tower_5] Frame 0
class tower_5 extends tower
{
var consumption, yPoint, powerCost, rangeCost, reloadCost, speed, power, range, reloadRate, Name, shotType, Description, ox, gx, oy, gy, game, gotoAndStop, updateTurret, angle, _y, _x, enemy, powerMod;
function tower_5 () {
super();
consumption = 500;
yPoint = 8;
powerCost = 10;
rangeCost = 10;
reloadCost = 10;
speed = 5;
power = 10;
range = 100;
reloadRate = 8;
Name = "Bio Tower";
shotType = "bioShot";
Description = "Bio Chemical Tower - Medium Range. Has good chance of poisoning the enemy.";
ox = gx;
oy = gy;
game.snapNearest(this);
gotoAndStop(Math.floor(range / 40));
}
function fire() {
updateTurret();
var _local4 = Math.cos((angle / 180) * Math.PI) * speed;
var _local3 = Math.sin((angle / 180) * Math.PI) * speed;
var _local2 = game.attachMovie(shotType, "bshot_" + game.getNextHighestDepth(), game.getNextHighestDepth(), {_x:_x + (_local4 * 4), _y:(_y - yPoint) + (_local3 * 4)});
_local2._rotation = angle;
_local2.Target = enemy;
_local2.damage = power + powerMod;
_local2.speed = speed;
_local2.vx = _local4;
_local2.vy = _local3;
_local2.life = (range * 3) / speed;
}
}
Symbol 2577 MovieClip [__Packages.tower_7] Frame 0
class tower_7 extends tower
{
var yPoint, consumption, powerCost, rangeCost, reloadCost, speed, power, range, powerMod, reloadRate, Name, shotType, ox, gx, oy, gy, Description, game, gotoAndStop, updateTurret, angle, _y, _x, enemy, _parent;
function tower_7 () {
super();
yPoint = 14;
consumption = 250;
powerCost = 20;
rangeCost = 20;
reloadCost = 20;
speed = 12;
power = 12;
range = 70;
powerMod = 0;
reloadRate = 4;
Name = "Rifle Tower";
shotType = "bullet";
ox = gx;
oy = gy;
Description = "Rifleman Turret - Small tower manned by a single soldier equipped with a standard 35mm rifle";
game.snapNearest(this);
gotoAndStop(Math.floor(range / 40));
}
function fire() {
createFX();
updateTurret();
var _local4 = Math.cos((angle / 180) * Math.PI) * speed;
var _local3 = Math.sin((angle / 180) * Math.PI) * speed;
var _local2 = game.attachMovie("Muzzlef2", "shot" + game.getNextHighestDepth(), game.getNextHighestDepth(), {_x:_x + (_local4 * 2.5), _y:(_y - yPoint) + (_local3 * 1.8)});
_local2._rotation = angle;
game.soundControl.shot1.start();
enemy.takeDamage(power + powerMod, "bullet");
}
function createFX() {
var _local2 = _parent.attachMovie("pulsePart", "part" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {_x:enemy._x, _y:enemy._y});
_local2.lifeSpan = 20 + (Math.random() * 20);
_local2.vx = -3 + (Math.random() * 6);
_local2.vy = -4 + (Math.random() * 8);
}
}
Symbol 2578 MovieClip [__Packages.tower_8] Frame 0
class tower_8 extends tower
{
var yPoint, consumption, powerCost, rangeCost, reloadCost, speed, power, range, powerMod, reloadRate, Name, shotType, ox, gx, oy, gy, Description, game, gotoAndStop, updateTurret, angle, _y, _x, enemy, _parent;
function tower_8 () {
super();
yPoint = 29;
consumption = 250;
powerCost = 50;
rangeCost = 50;
reloadCost = 20;
speed = 12;
power = 25;
range = 150;
powerMod = 0;
reloadRate = 2;
Name = "Sniper Tower";
shotType = "bullet";
ox = gx;
oy = gy;
Description = "Sniper Tower - This towers higher point view offers greater visibility. Manned by a single soldier armed with a 50mm sniper rifle";
game.snapNearest(this);
gotoAndStop(Math.floor(range / 40));
}
function fire() {
updateTurret();
createFX();
var _local4 = Math.cos((angle / 180) * Math.PI) * speed;
var _local3 = Math.sin((angle / 180) * Math.PI) * speed;
var _local2 = game.attachMovie("Muzzlef2", "shot" + game.getNextHighestDepth(), game.getNextHighestDepth(), {_x:_x + (_local4 * 2.5), _y:(_y - yPoint) + (_local3 * 1.8)});
_local2._rotation = angle;
game.soundControl.shot8.start();
enemy.takeDamage(power + powerMod, "bullet");
}
function createFX() {
var _local2 = _parent.attachMovie("pulsePart", "part" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {_x:enemy._x, _y:enemy._y});
_local2.lifeSpan = 20 + (Math.random() * 20);
_local2.vx = -3 + (Math.random() * 6);
_local2.vy = -4 + (Math.random() * 8);
}
}
Symbol 2579 MovieClip [__Packages.tower_9] Frame 0
class tower_9 extends tower
{
var consumption, shot2, yPoint, powerCost, rangeCost, reloadCost, speed, power, range, reloadRate, Name, shotType, Description, ox, gx, oy, gy, game, gotoAndStop, ray, _parent, _y, _x, destroy, upgrades, origPower, origRange, cost, Stars, enemy, angle;
function tower_9 () {
super();
consumption = 200;
shot2 = new Sound(this);
shot2.attachSound("shot2");
shot2.onSoundComplete = function () {
this.start();
};
shot2.start();
shot2.setVolume(0);
yPoint = 28;
powerCost = 10;
rangeCost = 10;
reloadCost = 10;
speed = 5;
power = 50;
range = 120;
reloadRate = 1;
Name = "Electro Tower";
shotType = "electroBall";
Description = "Heat Ray Tower - This experimental defence tower can cook enemies from a great distance";
ox = gx;
oy = gy;
game.snapNearest(this);
gotoAndStop(Math.floor(range / 40));
ray = _parent.attachMovie("beamEFX", "beam" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {_x:_x, _y:_y - 28});
}
function Destroy() {
ray.removeMovieClip(ray);
destroy();
}
function upgrade() {
upgrades = upgrades + 1;
if (origPower == undefined) {
origPower = reloadRate;
origRange = range;
}
game.money = game.money - powerCost;
cost = cost + powerCost;
reloadRate = reloadRate + 0.5;
range = range + (origRange * 0.1);
Stars.gotoAndStop(upgrades + 1);
}
function updateTurret() {
ray._x = _x;
ray._y = _y - 28;
if (enemy.health != undefined) {
var _local4 = enemy._x - _x;
var _local3 = enemy._y - (_y - yPoint);
ray._xscale = Math.sqrt((_local4 * _local4) + (_local3 * _local3));
ray._yscale = power * 0.5;
angle = (Math.atan2(_local3, _local4) * 180) / Math.PI;
if (!_root.bMute) {
shot2.setVolume(alphaMod * (_root.sndVolume * 0.01));
}
ray._alpha = alphaMod;
ray._rotation = angle;
}
if (alphaMod > 0) {
alphaMod = alphaMod - 5;
} else {
alphaMod = 0;
}
if (!_root.bMute) {
shot2.setVolume(alphaMod * (_root.sndVolume * 0.01));
} else {
shot2.setVolume(0);
}
ray._alpha = alphaMod;
}
function fire() {
alphaMod = 100;
createFX();
enemy.takeDamage(power, "flame");
DamageEffect(enemy);
}
function DamageEffect(Actor) {
if (Math.random() <= (0.1 + (game.sci * 0.05))) {
if (Actor.dEffect == undefined) {
var _local3 = Actor.attachMovie("fireFX", "fct" + Math.random(), Actor.getNextHighestDepth(), {_x:0, _y:0});
_local3.lifeSpan = power * 20;
_local3.swapDepths(-10);
} else {
Actor.dEffect.lifeSpan = Actor.dEffect.lifeSpan + (power * 20);
}
}
}
function createFX() {
var _local2 = _parent.attachMovie("lazPart", "part" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {_x:enemy._x, _y:enemy._y});
_local2.lifeSpan = 20 + (Math.random() * 20);
_local2.vx = -3 + (Math.random() * 6);
_local2.vy = -4 + (Math.random() * 8);
}
function onUnload() {
shot2.stop();
}
var alphaMod = 0;
}
Symbol 2580 MovieClip [__Packages.tower_10] Frame 0
class tower_10 extends tower
{
var yPoint, consumption, powerCost, rangeCost, reloadCost, speed, power, range, powerMod, reloadRate, Name, shotType, ox, gx, oy, gy, Description, game, gotoAndStop, updateTurret, angle, _y, _x, enemy, _parent;
function tower_10 () {
super();
yPoint = 14;
consumption = 250;
powerCost = 50;
rangeCost = 50;
reloadCost = 20;
speed = 12;
power = 35;
range = 70;
powerMod = 0;
reloadRate = 2;
Name = "Shotgun Tower";
shotType = "bullet";
ox = gx;
oy = gy;
Description = "Shotgun Turret - Small tower manned by a single soldier equipped with a 12 gauge shotgun";
game.snapNearest(this);
gotoAndStop(Math.floor(range / 40));
}
function fire() {
updateTurret();
var _local4 = Math.cos((angle / 180) * Math.PI) * speed;
var _local3 = Math.sin((angle / 180) * Math.PI) * speed;
var _local2 = game.attachMovie("Muzzlef2", "shot" + game.getNextHighestDepth(), game.getNextHighestDepth(), {_x:_x + (_local4 * 2.5), _y:(_y - yPoint) + (_local3 * 1.8)});
_local2._rotation = angle;
game.soundControl.shot6.start();
createFX();
enemy.takeDamage(power + powerMod, "bullet");
}
function createFX() {
var _local2 = _parent.attachMovie("pulsePart", "part" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {_x:enemy._x, _y:enemy._y});
_local2.lifeSpan = 20 + (Math.random() * 20);
_local2.vx = -3 + (Math.random() * 6);
_local2.vy = -4 + (Math.random() * 8);
}
}
Symbol 2581 MovieClip [__Packages.tower_11] Frame 0
class tower_11 extends tower
{
var consumption, yPoint, powerCost, rangeCost, reloadCost, speed, power, range, reloadRate, Name, shotType, Description, ox, gx, oy, gy, game, gotoAndStop, updateTurret, angle, _y, _x, enemy, powerMod, upgrades, origPower, origRange, cost, Stars;
function tower_11 () {
super();
consumption = 500;
yPoint = 7;
powerCost = 20;
rangeCost = 10;
reloadCost = 10;
speed = 4;
power = 5;
range = 60;
reloadRate = 15;
Name = "Rocket Tower";
shotType = "rocket";
Description = "Short Range Flame Thrower - Has high chance of setting enemies on fire!";
ox = gx;
oy = gy;
game.snapNearest(this);
gotoAndStop(Math.floor(range / 40));
}
function fire() {
updateTurret();
var _local4 = Math.cos((angle / 180) * Math.PI) * speed;
var _local3 = Math.sin((angle / 180) * Math.PI) * speed;
var _local2 = game.attachMovie(shotType, "bshot_" + game.getNextHighestDepth(), game.getNextHighestDepth(), {_x:_x + (_local4 * 7), _y:(_y - yPoint) + (_local3 * 8)});
_local2._rotation = angle;
_local2.Target = enemy;
_local2.damage = power + powerMod;
_local2.speed = speed;
_local2.vx = _local4;
_local2.vy = _local3;
_local2.life = (range * 3) / speed;
}
function upgrade() {
upgrades = upgrades + 1;
if (origPower == undefined) {
origPower = reloadRate;
origRange = range;
}
game.money = game.money - powerCost;
cost = cost + powerCost;
reloadRate = reloadRate + 0.25;
range = range + (origRange * 0.1);
Stars.gotoAndStop(upgrades + 1);
}
}
Symbol 2582 MovieClip [__Packages.tower_12] Frame 0
class tower_12 extends tower
{
var consumption, yPoint, powerCost, rangeCost, reloadCost, speed, power, range, reloadRate, Name, shotType, Description, ox, gx, oy, gy, game, gotoAndStop, updateTurret, angle, _y, _x, enemy, powerMod;
function tower_12 () {
super();
consumption = 500;
yPoint = 7;
powerCost = 20;
rangeCost = 10;
reloadCost = 10;
speed = 2.5;
power = 5;
range = 60;
reloadRate = 15;
Name = "Flame Tower";
shotType = "fireShot";
Description = "Short Range Flame Thrower - Has high chance of setting enemies on fire!";
ox = gx;
oy = gy;
game.snapNearest(this);
gotoAndStop(Math.floor(range / 40));
}
function fire() {
updateTurret();
var _local4 = Math.cos((angle / 180) * Math.PI) * speed;
var _local3 = Math.sin((angle / 180) * Math.PI) * speed;
var _local2 = game.attachMovie(shotType, "bshot_" + game.getNextHighestDepth(), game.getNextHighestDepth(), {_x:_x + (_local4 * 7), _y:(_y - yPoint) + (_local3 * 8)});
_local2._rotation = angle;
_local2.Target = enemy;
_local2.damage = power + powerMod;
_local2.speed = speed;
_local2.vx = _local4;
_local2.vy = _local3;
_local2.life = (range * 3) / speed;
}
}
Symbol 2583 MovieClip [__Packages.tower_1] Frame 0
class tower_1 extends tower
{
var consumption, yPoint, powerCost, rangeCost, reloadCost, speed, power, range, reloadRate, Name, shotType, Description, ox, gx, oy, gy, game, gotoAndStop;
function tower_1 () {
super();
consumption = 100;
yPoint = 5;
powerCost = 20;
rangeCost = 20;
reloadCost = 20;
speed = 15;
power = 10;
range = 150;
reloadRate = 10;
Name = "Plasma Cannon";
shotType = "basicShot";
Description = "Rifleman Turret - Small tower manned by a single soldier";
ox = gx;
oy = gy;
game.snapNearest(this);
gotoAndStop(Math.floor(range / 40));
}
}
Symbol 2584 MovieClip [__Packages.sndControl] Frame 0
class sndControl extends MovieClip
{
var shot1, shot2, shot3, shot4, shot5, shot6, shot7, shot8, hit1, hit2, hit3, hit4, hit5, hit51, door1, explode, death;
function sndControl () {
super();
shot1 = new Sound(this);
shot2 = new Sound(this);
shot3 = new Sound(this);
shot4 = new Sound(this);
shot5 = new Sound(this);
shot6 = new Sound(this);
shot7 = new Sound(this);
shot8 = new Sound(this);
hit1 = new Sound(this);
hit2 = new Sound(this);
hit3 = new Sound(this);
hit4 = new Sound(this);
hit5 = new Sound(this);
hit51 = new Sound(this);
door1 = new Sound(this);
explode = new Sound(this);
death = new Sound(this);
shot1.attachSound("shot1");
shot3.attachSound("shot3");
shot4.attachSound("shot4");
shot5.attachSound("shot5");
shot6.attachSound("shot6");
shot7.attachSound("shot7");
shot8.attachSound("shot8");
hit1.attachSound("hit1");
hit2.attachSound("hit2");
hit3.attachSound("hit3");
hit4.attachSound("hit4");
hit5.attachSound("hit5");
hit51.attachSound("hit51");
door1.attachSound("door1");
explode.attachSound("explo1");
death.attachSound("death2");
if (!_root.bMute) {
hit1.setVolume(_root.sndVolume);
} else {
hit1.setVolume(0);
}
}
function onEnterFrame() {
if (!_root.bMute) {
hit1.setVolume(_root.sndVolume);
} else {
hit1.setVolume(0);
}
}
}
Symbol 2585 MovieClip [__Packages.musicControl] Frame 0
class musicControl extends MovieClip
{
var m1, m2;
function musicControl () {
super();
m1 = new Sound(this);
m2 = new Sound(this);
m1.attachSound("March");
m2.attachSound("lvl");
m1.onSoundComplete = function () {
this.start();
};
m2.onSoundComplete = function () {
this.start();
};
if (!_root.bMute) {
m1.setVolume(_root.sndVolume);
} else {
m1.setVolume(0);
}
m1.start();
}
function onEnterFrame() {
if (!_root.bMute) {
m1.setVolume(_root.sndVolume);
} else {
m1.setVolume(0);
}
}
}
Symbol 2586 MovieClip [__Packages.game_char] Frame 0
class game_char extends engine.gameObject
{
var game, ogx, gx, ogy, gy, updateGrid, lx, _x, rx, ty, _y, by, swapDepths, tHealth, health, hText, gotoAndStop, cType, hType, healthBar, Value, sValue, metal, destroy, _parent, dEffect;
function game_char () {
super();
game.snapNearest(this);
}
function update_points() {
ogx = gx;
ogy = gy;
updateGrid();
lx = _x - 15;
rx = _x + 15;
ty = _y - 15;
by = _y + 15;
if ((ogx != gx) || (ogy != gy)) {
updateDepth();
}
}
function updateDepth() {
bumped = false;
swapDepths(Math.round((-6000 + (_y * 10)) + gx));
}
function onEnterFrame() {
dTick++;
if (dTick >= 4) {
swapDepths(Math.round((-6000 + (_y * 10)) + gx));
}
if (tHealth == undefined) {
tHealth = health;
hText.text = Math.floor(health);
}
if (vx > 0) {
gotoAndStop(3);
} else if (vx < 0) {
gotoAndStop(2);
} else if (vy > 0) {
gotoAndStop(1);
} else {
gotoAndStop(4);
}
Move();
update_points();
if (traveled > 500) {
if ((((gx > 25) || (gx < -10)) || (gy > 25)) || (gy < -10)) {
game.removeAlien(this);
}
}
}
function takeDamage(amount, type) {
if (traveled == undefined) {
traveled = 0;
}
if (traveled > 10) {
if (type == cType) {
health = health - (amount * 0.5);
} else if (type == hType) {
health = health - (amount * 1.5);
} else {
health = health - amount;
}
hText.text = Math.floor(health);
healthBar._xscale = (health / tHealth) * 100;
if ((health <= 0) && (!bDead)) {
bDead = true;
if (game.merc > 0) {
Value = Value * (1 + (game.merc * 0.05));
}
game.levelScore = game.levelScore + Math.round(sValue);
game.Kills = game.Kills + 1;
if (!metal) {
game.createDeathFX(this);
} else {
game.createDeathm(this);
}
game.money = game.money + Math.round(Value);
game.removeAlien(this);
destroy();
}
}
}
function explode() {
createFX();
bDead = true;
if (!metal) {
game.createDeathFX(this);
} else {
game.createDeathm(this);
}
game.removeAlien(this);
destroy();
}
function createFX() {
var _local6 = _parent.attachMovie("exploring", "part" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {_x:_x, _y:_y});
_local6.lifeSpan = 8 + (Math.random() * 10);
var _local3 = 0;
while (_local3 < 4) {
var _local2 = _parent.attachMovie("pulsePart", "part" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {_x:_x, _y:_y});
_local2.lifeSpan = 20 + (Math.random() * 20);
_local2.vx = -3 + (Math.random() * 6);
_local2.vy = -4 + (Math.random() * 8);
_local3++;
}
}
function Move() {
if (dEffect.step == undefined) {
_x = _x + (vx * game.gameSpeed);
_y = _y + (vy * game.gameSpeed);
traveled = traveled + (Math.abs(vx * game.gameSpeed) + Math.abs(vy * game.gameSpeed));
} else {
if ((dEffect.speedMod == 1.5) && (metal)) {
dEffect.speedMod = 1;
}
_x = _x + ((vx * dEffect.speedMod) * game.gameSpeed);
_y = _y + ((vy * dEffect.speedMod) * game.gameSpeed);
traveled = traveled + ((Math.abs(vx * dEffect.speedMod) + Math.abs(vy * dEffect.speedMod)) * game.gameSpeed);
}
}
function getTempGrid(num) {
return(Math.floor(num / 32));
}
var dTick = 0;
var bDead = false;
var traveled = 0;
var vx = 0;
var vy = 1;
var radius = 10;
var bumped = false;
}
Symbol 2587 MovieClip [__Packages.enemy_char1] Frame 0
class enemy_char1 extends game_char
{
var cType, hType, Value, sValue, speed, health, game, update_points, gotoAndStop, descript;
function enemy_char1 () {
super();
cType = "ice";
hType = "electro";
Value = 15;
sValue = 50;
speed = 1.5;
health = 50;
game.enemies.push(this);
update_points();
gotoAndStop(3);
descript = "Basic Soldier\nSurprisingly resilient to Ice.\nThey are however very weak againsts bullets and electro";
}
}
Symbol 2588 MovieClip [__Packages.enemy_char2] Frame 0
class enemy_char2 extends game_char
{
var cType, hType, Value, sValue, speed, health, game, update_points, gotoAndStop, descript;
function enemy_char2 () {
super();
cType = "electro";
hType = "bullet";
Value = 30;
sValue = 60;
speed = 2;
health = 60;
game.enemies.push(this);
update_points();
gotoAndStop(3);
descript = "Marine Soldier\nThese soldiers are strong against electro towers.\nThey are however weak againsts bullet type weapons";
}
}
Symbol 2589 MovieClip [__Packages.enemy_char3] Frame 0
class enemy_char3 extends game_char
{
var cType, hType, Value, sValue, speed, health, game, update_points, gotoAndStop, descript;
function enemy_char3 () {
super();
cType = "flame";
hType = "bullet";
Value = 20;
sValue = 120;
speed = 1.5;
health = 50;
game.enemies.push(this);
update_points();
gotoAndStop(3);
descript = "Pyro Soldier\nAlmost fire proof.\nThey are however weak againsts bullet type weapons";
}
}
Symbol 2590 MovieClip [__Packages.enemy_char4] Frame 0
class enemy_char4 extends game_char
{
var cType, hType, Value, sValue, speed, health, game, update_points, gotoAndStop, descript;
function enemy_char4 () {
super();
cType = "bullet";
hType = "electro";
Value = 10;
sValue = 100;
speed = 2;
health = 35;
game.enemies.push(this);
update_points();
gotoAndStop(3);
descript = "Elite Soldier\nThese soldiers wear kevlar armour giving them some resilience to bullets.\nThey are however weak againsts Electro Towers";
}
}
Symbol 2591 MovieClip [__Packages.enemy_char5] Frame 0
class enemy_char5 extends game_char
{
var cType, hType, Value, sValue, speed, health, game, update_points, gotoAndStop, descript;
function enemy_char5 () {
super();
cType = "bio";
hType = "flame";
Value = 50;
sValue = 75;
speed = 1.5;
health = 150;
game.enemies.push(this);
update_points();
gotoAndStop(3);
descript = "Hazzard\nThese soldiers wear bio suits giving them some protection against bio towers.\nThey are however weak againsts flame type weapons";
}
}
Symbol 2592 MovieClip [__Packages.enemy_char6] Frame 0
class enemy_char6 extends game_char
{
var cType, hType, Value, sValue, speed, health, game, update_points, gotoAndStop;
function enemy_char6 () {
super();
cType = "electro";
hType = "bullet";
Value = 40;
sValue = 75;
speed = 1;
health = 150;
game.enemies.push(this);
update_points();
gotoAndStop(3);
}
}
Symbol 2593 MovieClip [__Packages.enemy_char7] Frame 0
class enemy_char7 extends game_char
{
var cType, hType, Value, sValue, speed, health, game, update_points, gotoAndStop;
function enemy_char7 () {
super();
cType = "bio";
hType = "ice";
Value = 60;
sValue = 120;
speed = 2.5;
health = 100;
game.enemies.push(this);
update_points();
gotoAndStop(3);
}
}
Symbol 2594 MovieClip [__Packages.enemy_char8] Frame 0
class enemy_char8 extends game_char
{
var cType, hType, Value, sValue, speed, health, game, update_points, gotoAndStop;
function enemy_char8 () {
super();
cType = "bullet";
hType = "electro";
Value = 50;
sValue = 100;
speed = 1.5;
health = 200;
game.enemies.push(this);
update_points();
gotoAndStop(3);
}
}
Symbol 2595 MovieClip [__Packages.enemy_char9] Frame 0
class enemy_char9 extends game_char
{
var metal, cType, hType, Value, sValue, speed, health, game, update_points, gotoAndStop, descript;
function enemy_char9 () {
super();
metal = true;
cType = "bullet";
hType = "ice";
Value = 50;
sValue = 150;
speed = 2.5;
health = 150;
game.enemies.push(this);
update_points();
gotoAndStop(3);
descript = "Runner Type A\nThese robitic soldiers are almost bullet proof/nThis model has a weakness to ice attacks";
}
}
Symbol 2596 MovieClip [__Packages.enemy_char10] Frame 0
class enemy_char10 extends game_char
{
var metal, cType, hType, Value, sValue, speed, health, game, update_points, gotoAndStop, descript;
function enemy_char10 () {
super();
metal = true;
cType = "bullet";
hType = "flame";
Value = 100;
sValue = 175;
speed = 2.5;
health = 200;
game.enemies.push(this);
update_points();
gotoAndStop(3);
descript = "Runner Type B\nThese robitic soldiers are almost bullet proof/nThis model has a weakness to Fire";
}
}
Symbol 2597 MovieClip [__Packages.enemy_char11] Frame 0
class enemy_char11 extends game_char
{
var metal, cType, hType, Value, sValue, speed, health, game, update_points, gotoAndStop, descript;
function enemy_char11 () {
super();
metal = true;
cType = "bullet";
hType = "explode";
Value = 100;
sValue = 175;
speed = 2.5;
health = 250;
game.enemies.push(this);
update_points();
gotoAndStop(3);
descript = "Runner Type C\nThese robitic soldiers are almost bullet proof/nThis model has a weakness to explosives";
}
}
Symbol 2598 MovieClip [__Packages.enemy_char12] Frame 0
class enemy_char12 extends game_char
{
var metal, cType, hType, Value, sValue, speed, health, game, update_points, gotoAndStop, descript;
function enemy_char12 () {
super();
metal = true;
cType = "bullet";
hType = "none";
Value = 100;
sValue = 175;
speed = 1.3;
health = 2000;
game.enemies.push(this);
update_points();
gotoAndStop(3);
descript = "Mech Type A\nThese Assault Mechs are almost bullet proof/nNo known weakness";
}
}
Symbol 2599 MovieClip [__Packages.enemy_char13] Frame 0
class enemy_char13 extends game_char
{
var metal, cType, hType, Value, sValue, speed, health, game, update_points, gotoAndStop, descript;
function enemy_char13 () {
super();
metal = true;
cType = "bullet";
hType = "none";
Value = 100;
sValue = 175;
speed = 1.2;
health = 2500;
game.enemies.push(this);
update_points();
gotoAndStop(3);
descript = "Mech Type B\nThese Assault Mechs are almost bullet proof/nNo known weakness";
}
}
Symbol 2600 MovieClip [__Packages.game_vehicle] Frame 0
class game_vehicle extends engine.gameObject
{
var game, ogx, gx, ogy, gy, updateGrid, lx, _x, rx, ty, _y, by, swapDepths, tHealth, health, hText, gfx, cType, hType, healthBar, Value, sValue, numsoldiers, _parent, destroy, dEffect;
function game_vehicle () {
super();
game.snapNearest(this);
}
function update_points() {
ogx = gx;
ogy = gy;
updateGrid();
lx = _x - 15;
rx = _x + 15;
ty = _y - 15;
by = _y + 15;
if ((ogx != gx) || (ogy != gy)) {
updateDepth();
}
}
function updateDepth() {
bumped = false;
swapDepths(Math.round((-6000 + (_y * 10)) + gx));
}
function onEnterFrame() {
if (tHealth == undefined) {
tHealth = health;
hText.text = Math.floor(health);
}
dAngle = (Math.atan2(vy, vx) * 180) / Math.PI;
var _local2 = closestAngle(aAngle, dAngle) * 0.2;
aAngle = aAngle + _local2;
if (aAngle > 360) {
aAngle = aAngle - 360;
}
gfx.gotoAndStop(Math.round((aAngle + 180) / 10));
Move();
update_points();
if (traveled > 500) {
if ((((gx > 25) || (gx < -10)) || (gy > 25)) || (gy < -10)) {
game.removeAlien(this);
}
}
}
function closestAngle(sta, fin) {
var _local1 = fin - sta;
_local1 = _local1 % 360;
_local1 = _local1 + 540;
_local1 = _local1 % 360;
_local1 = _local1 - 180;
return(_local1);
}
function takeDamage(amount, type) {
if (type == cType) {
health = health - (amount * 0.25);
} else if (type == hType) {
health = health - (amount * 1.5);
} else {
health = health - amount;
}
hText.text = Math.floor(health);
healthBar._xscale = (health / tHealth) * 100;
if ((health <= 0) && (!bDead)) {
bDead = true;
if (game.merc > 0) {
Value = Value * (1 + (game.merc * 0.05));
}
game.levelScore = game.levelScore + Math.round(sValue);
game.Kills = game.Kills + 1;
var _local4 = 0;
while (_local4 < numsoldiers) {
var _local2 = _parent.attachMovie("Enemy2", "enemy_" + Math.floor(Math.random() * 1000000), _parent.getNextHighestDepth() + _local4, {_x:_x, _y:_y});
_local2.health = _local2.health + (game.currentLevel * 10);
_local2.sValue = 10 + Math.floor((_local2.health * 0.15) * (_local2.speed * 0.5));
_local2.Value = 10 + (_local2.sValue * 0.2);
var _local5 = 0.2 + Math.random();
_local2.vx = vx * _local5;
_local2.vy = vy * _local5;
var _local3 = _local2.attachMovie("fireFX", "fct" + Math.random(), _local2.getNextHighestDepth(), {_x:0, _y:0});
_local3.lifeSpan = 1000;
_local3.swapDepths(-10);
_local3.dType = "flame";
_local4++;
}
if (!metal) {
game.createDeathFX(this);
} else {
game.createDeathm(this);
}
game.money = game.money + Math.round(Value);
game.removeAlien(this);
destroy();
}
}
function explode() {
createFX();
bDead = true;
if (!metal) {
game.createDeathFX(this);
} else {
game.createDeathm(this);
}
game.removeAlien(this);
destroy();
}
function createFX() {
var _local6 = _parent.attachMovie("exploring", "part" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {_x:_x, _y:_y});
_local6.lifeSpan = 8 + (Math.random() * 10);
var _local3 = 0;
while (_local3 < 4) {
var _local2 = _parent.attachMovie("pulsePart", "part" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {_x:_x, _y:_y});
_local2.lifeSpan = 20 + (Math.random() * 20);
_local2.vx = -3 + (Math.random() * 6);
_local2.vy = -4 + (Math.random() * 8);
_local3++;
}
}
function Move() {
if (dEffect.step == undefined) {
_x = _x + (vx * game.gameSpeed);
_y = _y + (vy * game.gameSpeed);
traveled = traveled + (Math.abs(vx * game.gameSpeed) + Math.abs(vy * game.gameSpeed));
} else {
_x = _x + ((vx * dEffect.speedMod) * game.gameSpeed);
_y = _y + ((vy * dEffect.speedMod) * game.gameSpeed);
traveled = traveled + ((Math.abs(vx * dEffect.speedMod) + Math.abs(vy * dEffect.speedMod)) * game.gameSpeed);
}
}
function getTempGrid(num) {
return(Math.floor(num / 32));
}
var metal = true;
var dAngle = 0;
var aAngle = 0;
var bDead = false;
var traveled = 0;
var vx = 0;
var vy = 1;
var radius = 10;
var bumped = false;
}
Symbol 2601 MovieClip [__Packages.enemy_v1] Frame 0
class enemy_v1 extends game_vehicle
{
var cType, hType, Value, sValue, speed, health, game, update_points, gotoAndStop, numsoldiers, descript;
function enemy_v1 () {
super();
cType = "bullet";
hType = "explode";
Value = 15;
sValue = 50;
speed = 1.5;
health = 2500;
game.enemies.push(this);
update_points();
gotoAndStop(1);
numsoldiers = 2;
descript = "Assault Tank\nVirtualy Bullet Proof.\nThey are however weak againsts explosive type weapons";
}
}
Symbol 2602 MovieClip [__Packages.enemy_v2] Frame 0
class enemy_v2 extends game_vehicle
{
var cType, hType, Value, sValue, speed, health, game, update_points, gotoAndStop, numsoldiers, descript;
function enemy_v2 () {
super();
cType = "bullet";
hType = "explode";
Value = 15;
sValue = 50;
speed = 1.5;
health = 3000;
game.enemies.push(this);
update_points();
gotoAndStop(1);
numsoldiers = 2;
descript = "Assault Tank\nVirtualy Bullet Proof.\nThey are however weak againsts explosive type weapons";
}
}
Symbol 2603 MovieClip [__Packages.enemy_v3] Frame 0
class enemy_v3 extends game_vehicle
{
var cType, hType, Value, sValue, speed, health, game, update_points, gotoAndStop, numsoldiers, descript, tHealth, hText, dAngle, vy, vx, closestAngle, aAngle, gfx, Move;
function enemy_v3 () {
super();
cType = "electro";
hType = "bullet";
Value = 15;
sValue = 50;
speed = 3;
health = 200;
game.enemies.push(this);
update_points();
gotoAndStop(1);
numsoldiers = 1;
descript = "Biker Soldier\nStrong against electro attacks.\nThey are however weak againsts bullet type weapons";
}
function onEnterFrame() {
if (tHealth == undefined) {
tHealth = health;
hText.text = Math.floor(health);
}
dAngle = (Math.atan2(vy, vx) * 180) / Math.PI;
var _local2 = closestAngle(aAngle, dAngle) * 0.2;
aAngle = aAngle + _local2;
if (aAngle > 360) {
aAngle = aAngle - 360;
}
gfx.gotoAndStop(Math.round((aAngle + 180) / 10) + 1);
Move();
update_points();
}
}
Symbol 2604 MovieClip [__Packages.enemy_v4] Frame 0
class enemy_v4 extends game_vehicle
{
var cType, hType, Value, sValue, speed, health, game, update_points, gotoAndStop, numsoldiers, descript, tHealth, hText, dAngle, vy, vx, closestAngle, aAngle, gfx, Move;
function enemy_v4 () {
super();
cType = "electro";
hType = "bullet";
Value = 15;
sValue = 50;
speed = 3;
health = 250;
game.enemies.push(this);
update_points();
gotoAndStop(1);
numsoldiers = 1;
descript = "Jeep\nStrong against electro attacks.\nThey are however weak againsts bullets";
}
function onEnterFrame() {
if (tHealth == undefined) {
tHealth = health;
hText.text = Math.floor(health);
}
dAngle = (Math.atan2(vy, vx) * 180) / Math.PI;
var _local2 = closestAngle(aAngle, dAngle) * 0.2;
aAngle = aAngle + _local2;
if (aAngle > 360) {
aAngle = aAngle - 360;
}
gfx.gotoAndStop(Math.round((aAngle + 180) / 10) + 1);
Move();
update_points();
}
}
Symbol 2605 MovieClip [__Packages.enemy_v5] Frame 0
class enemy_v5 extends game_vehicle
{
var cType, hType, Value, sValue, speed, health, game, update_points, gotoAndStop, numsoldiers, descript, tHealth, hText, dAngle, vy, vx, closestAngle, aAngle, gfx, Move;
function enemy_v5 () {
super();
cType = "electro";
hType = "bullet";
Value = 15;
sValue = 50;
speed = 3;
health = 220;
game.enemies.push(this);
update_points();
gotoAndStop(1);
numsoldiers = 1;
descript = "Quad Biker\nStrong against electro attacks.\nThey are however weak againsts bullets";
}
function onEnterFrame() {
if (tHealth == undefined) {
tHealth = health;
hText.text = Math.floor(health);
}
dAngle = (Math.atan2(vy, vx) * 180) / Math.PI;
var _local2 = closestAngle(aAngle, dAngle) * 0.2;
aAngle = aAngle + _local2;
if (aAngle > 360) {
aAngle = aAngle - 360;
}
gfx.gotoAndStop(Math.round((aAngle + 180) / 10) + 1);
Move();
update_points();
}
}
Symbol 2606 MovieClip [__Packages.handle] Frame 0
class handle extends MovieClip
{
var _parent;
function handle () {
super();
}
function onPress() {
if ((!_root.game.bHolding) || (_root.game.Selected == _parent)) {
_parent.pressed();
}
}
function onRelease() {
if ((!_root.game.bHolding) || (_root.game.Selected == _parent)) {
_parent.released();
}
}
}
Symbol 2607 MovieClip [__Packages.lvlRunDown] Frame 0
class lvlRunDown extends engine.gameObject
{
var game, lvlScore, nPerfect, Kills, cashLeft, Life, total, perfect;
function lvlRunDown () {
super();
}
function onEnterFrame() {
lvlScore.text = game.levelScore - Math.round(((game.Kills * 5) + game.money) + game.health);
if (nKills < (game.Kills * 5)) {
nKills = nKills + 50;
} else if (nCash < game.money) {
nKills = game.Kills * 5;
nCash = nCash + 50;
} else if (nLife < game.health) {
nLife = nLife + 100;
nCash = Math.round(game.money);
} else if (nPerfect == undefined) {
nLife = Math.round(game.health);
if (game.health == 1000) {
nPerfect = 1000;
} else {
nPerfect = 0;
}
} else if (nTotal < game.levelScore) {
nTotal = nTotal + 500;
} else {
nTotal = game.levelScore;
}
Kills.text = nKills;
cashLeft.text = nCash;
Life.text = nLife;
total.text = nTotal;
if (nPerfect != undefined) {
perfect.text = nPerfect;
} else {
perfect.text = "0";
}
}
var nKills = 0;
var nLife = 0;
var nTowers = 0;
var nCash = 0;
var nTotal = 0;
}
Symbol 2608 MovieClip [__Packages.hit_Area2] Frame 0
class hit_Area2 extends MovieClip
{
var gotoAndStop, _parent;
function hit_Area2 () {
super();
gotoAndStop(1);
}
function onRelease() {
_parent.Clicked();
}
}
Symbol 2609 MovieClip [__Packages.engButton] Frame 0
class engButton extends MovieClip
{
var _alpha;
function engButton () {
super();
}
function Clicked() {
if ((_root.game.skillPoints > 0) && (_root.game.eng < 10)) {
_root.game.skillPoints = _root.game.skillPoints - 1;
_root.game.eng = _root.game.eng + 1;
}
}
function onEnterFrame() {
if ((_root.game.skillPoints > 0) && (_root.game.eng < 10)) {
_alpha = 100;
} else {
_alpha = 0;
}
}
}
Symbol 2610 MovieClip [__Packages.grenButton] Frame 0
class grenButton extends MovieClip
{
var _alpha;
function grenButton () {
super();
}
function Clicked() {
if ((_root.game.skillPoints > 0) && (_root.game.gren < 10)) {
_root.game.skillPoints = _root.game.skillPoints - 1;
_root.game.gren = _root.game.gren + 1;
}
}
function onEnterFrame() {
if ((_root.game.skillPoints > 0) && (_root.game.gren < 10)) {
_alpha = 100;
} else {
_alpha = 0;
}
}
}
Symbol 2611 MovieClip [__Packages.markButton] Frame 0
class markButton extends MovieClip
{
var _alpha;
function markButton () {
super();
}
function Clicked() {
if ((_root.game.skillPoints > 0) && (_root.game.mark < 10)) {
_root.game.skillPoints = _root.game.skillPoints - 1;
_root.game.mark = _root.game.mark + 1;
}
}
function onEnterFrame() {
if ((_root.game.skillPoints > 0) && (_root.game.mark < 10)) {
_alpha = 100;
} else {
_alpha = 0;
}
}
}
Symbol 2612 MovieClip [__Packages.sciButton] Frame 0
class sciButton extends MovieClip
{
var _alpha;
function sciButton () {
super();
}
function Clicked() {
if ((_root.game.skillPoints > 0) && (_root.game.sci < 10)) {
_root.game.skillPoints = _root.game.skillPoints - 1;
_root.game.sci = _root.game.sci + 1;
}
}
function onEnterFrame() {
if ((_root.game.skillPoints > 0) && (_root.game.sci < 10)) {
_alpha = 100;
} else {
_alpha = 0;
}
}
}
Symbol 2613 MovieClip [__Packages.mercButton] Frame 0
class mercButton extends MovieClip
{
var _alpha;
function mercButton () {
super();
}
function Clicked() {
if ((_root.game.skillPoints > 0) && (_root.game.merc < 10)) {
_root.game.skillPoints = _root.game.skillPoints - 1;
_root.game.merc = _root.game.merc + 1;
}
}
function onEnterFrame() {
if ((_root.game.skillPoints > 0) && (_root.game.merc < 10)) {
_alpha = 100;
} else {
_alpha = 0;
}
}
}
Symbol 2614 MovieClip [__Packages.skillShop] Frame 0
class skillShop extends engine.gameObject
{
var merc, game, gren, sci, mark, eng, points;
function skillShop () {
super();
}
function onEnterFrame() {
merc.gotoAndStop(game.merc + 1);
gren.gotoAndStop(game.gren + 1);
sci.gotoAndStop(game.sci + 1);
mark.gotoAndStop(game.mark + 1);
eng.gotoAndStop(game.eng + 1);
points.text = game.skillPoints;
}
function resetPoints() {
game.skillPoints = game.skillPoints + ((((game.merc + game.sci) + game.mark) + game.eng) + game.gren);
game.gren = 0;
game.sci = 0;
game.merc = 0;
game.eng = 0;
game.mark = 0;
}
}
Symbol 2615 MovieClip [__Packages.pathTile] Frame 0
class pathTile extends engine.gameObject
{
var _alpha, updateGrid, game, gx, gy, removeMovieClip;
function pathTile () {
super();
_alpha = 0;
updateGrid();
game.snapNearest(this);
game.updateArray(gx, gy, 1);
removeMovieClip(this);
}
}
Symbol 2616 MovieClip [__Packages.dir_tile] Frame 0
class dir_tile extends engine.gameObject
{
var _alpha, updateGrid, game, gx, gy, _x, _y;
function dir_tile () {
super();
_alpha = 0;
updateGrid();
game.tiles.push(this);
game.snapNearest(this);
}
function onEnterFrame() {
var _local4 = game.enemies.length;
var _local3 = 0;
while (_local3 < _local4) {
var _local2 = game.enemies[_local3];
if (!_local2.bumped) {
if ((_local2.gx == gx) && (_local2.gy == gy)) {
if (Math.abs(_x - _local2._x) <= (6 * game.gameSpeed)) {
if (Math.abs(_y - _local2._y) <= (6 * game.gameSpeed)) {
game.snapNearest(_local2);
_local2.bumped = true;
_local2.vx = dx * _local2.speed;
_local2.vy = dy * _local2.speed;
}
}
}
}
_local3++;
}
}
var dx = 0;
var dy = 0;
}
Symbol 2617 MovieClip [__Packages.d_tile] Frame 0
class d_tile extends dir_tile
{
function d_tile () {
super();
}
var dx = 0;
var dy = 1;
}
Symbol 2618 MovieClip [__Packages.l_tile] Frame 0
class l_tile extends dir_tile
{
function l_tile () {
super();
}
var dx = -1;
var dy = 0;
}
Symbol 2619 MovieClip [__Packages.r_tile] Frame 0
class r_tile extends dir_tile
{
function r_tile () {
super();
}
var dx = 1;
var dy = 0;
}
Symbol 2620 MovieClip [__Packages.u_tile] Frame 0
class u_tile extends dir_tile
{
function u_tile () {
super();
}
var dx = 0;
var dy = -1;
}
Symbol 2621 MovieClip [__Packages.spawncontroller] Frame 0
class spawncontroller extends engine.gameObject
{
var _alpha, numWaves, waves, game, _parent, _y, _x, timer;
function spawncontroller () {
super();
_alpha = 0;
_root.game.Hud._alpha = 100;
}
function init() {
numWaves = waves.length;
game.SpawnController = this;
game.NumWaves = numWaves;
}
function onEnterFrame() {
Counter = Counter + game.gameSpeed;
game.Wave = wave;
if ((bSpawn && (Counter >= sTime)) && (!bFailed)) {
Counter = 0;
spawnCreature();
}
if (waves[wave] == undefined) {
if (bAllout == false) {
bAllout = true;
}
}
if (bAllout && (!bFailed)) {
game.LevelCheck(this);
}
}
function spawnCreature() {
if (waves[wave] == undefined) {
if (bAllout == false) {
bAllout = true;
}
}
var _local4 = waves[wave][spawnCount];
if (_local4 != undefined) {
var _local3 = _parent.attachMovie(_local4, "enemy_" + Math.floor(Math.random() * 1000000), _parent.getNextHighestDepth(), {_x:_x, _y:_y});
spawnCount++;
sTime = 10 + (_local3.health * 0.1);
if (sTime > 100) {
sTime = 100;
}
_local3.health = (_local3.health + (game.currentLevel * 15)) + (wave * 20);
_local3.sValue = 10 + Math.floor((_local3.health * 0.2) * (_local3.speed * 0.5));
_local3.Value = 10 + Math.floor(_local3.sValue * 0.25);
if (_root.diff != undefined) {
_local3.health = _local3.health * _root.diff;
_local3.speed = _local3.speed * _root.diff;
_local3.sValue = _local3.sValue * _root.diff;
}
} else {
bSpawn = false;
spawnCount = 0;
wave = wave + 1;
}
}
function Clicked() {
if (!bSpawn) {
bSpawn = true;
spawnCount = 0;
clearInterval(timer);
}
}
function timeup(Actor) {
Actor.bSpawn = true;
clearInterval(Actor.timer);
}
var Counter = 0;
var wave = 0;
var spawnCount = 0;
var bSpawn = false;
var bAllout = false;
var bFailed = false;
var sTime = 15;
}
Symbol 2622 MovieClip [__Packages.final_tile] Frame 0
class final_tile extends engine.gameObject
{
var _alpha, health, updateGrid, game, gx, gy, _x, _y;
function final_tile () {
super();
_alpha = 0;
health = 1000;
updateGrid();
game.tiles.push(this);
game.snapNearest(this);
}
function takeDamage(amount) {
game.health = game.health - amount;
if ((game.health <= 0) && (!bFailed)) {
bFailed = true;
game.SpawnController.bFailed = true;
game.failed();
}
}
function onEnterFrame() {
var _local4 = game.enemies.length;
var _local3 = 0;
while (_local3 < _local4) {
var _local2 = game.enemies[_local3];
if (!_local2.bumped) {
if ((_local2.gx == gx) && (_local2.gy == gy)) {
if (Math.abs(_x - _local2._x) <= 2) {
if (Math.abs(_y - _local2._y) <= 2) {
game.snapNearest(_local2);
_local2.bumped = true;
takeDamage(_local2.health);
_local2.explode();
}
}
}
}
_local3++;
}
}
var dx = 0;
var dy = 0;
var bFailed = false;
}
Symbol 2623 MovieClip [__Packages.tower_Button] Frame 0
class tower_Button extends MovieClip
{
var cost, tower_type, power, range, rate, keyIndex, bReady, costText, consumption, _alpha;
function tower_Button () {
super();
}
function Clicked() {
if (_root.game.bHolding) {
_root.game.cancelTower();
}
if (!_root.game.bHolding) {
if (_root.game.money >= cost) {
var _local3 = _root.game.World.Level.attachMovie(tower_type, "tower_" + Math.floor(Math.random() * 1000000), _root.game.World.Level.getNextHighestDepth());
_local3.State = "held";
_local3.power = power * (1 + (_root.game.gren * 0.05));
_local3.range = range * (1 + (_root.game.mark * 0.05));
_local3.reloadRate = rate * (1 + (_root.game.eng * 0.05));
_local3.powerCost = Math.floor(cost * 0.2);
_local3.cost = cost;
_local3.pressed();
}
}
}
function onEnterFrame() {
if (Key.isDown(keyIndex)) {
bReady = true;
}
if (Key.isDown(67)) {
if (_root.game.bHolding) {
_root.game.cancelTower();
}
}
if ((bReady == true) && (!Key.isDown(keyIndex))) {
bReady = false;
Clicked();
}
costText.text = "$" + cost;
if ((_root.game.money < cost) || ((_root.game.playerPower - _root.game.usedPower) < consumption)) {
_alpha = 20;
} else {
_alpha = 100;
}
}
var bSet = false;
}
Symbol 2624 MovieClip [__Packages.t2button] Frame 0
class t2button extends tower_Button
{
var keyIndex, consumption, tower_type, cost, power, range, rate, Description;
function t2button () {
super();
keyIndex = 53;
consumption = 200;
tower_type = "tower2";
cost = 200;
power = 12;
range = 85;
rate = 8;
Description = "Electro Tower \n\nReleases a high voltage charge towards nearby enemys \nHas no special abilities";
}
}
Symbol 2625 MovieClip [__Packages.t3button] Frame 0
class t3button extends tower_Button
{
var keyIndex, consumption, tower_type, cost, power, range, rate, Description;
function t3button () {
super();
keyIndex = 51;
consumption = 250;
tower_type = "tower3";
cost = 400;
power = 25;
range = 100;
rate = 6;
Description = "Machine Gun Turret \n\nFires burst's of high caliber rounds. \nHas no special abilities";
}
}
Symbol 2626 MovieClip [__Packages.st_button1] Frame 0
class st_button1 extends tower_Button
{
var keyIndex, consumption, tower_type, cost, power, range, Description, rate;
function st_button1 () {
super();
keyIndex = 189;
consumption = 25;
tower_type = "Stower1";
cost = 150;
power = 0;
range = 50;
Description = "Radar Tower\n\nGives a 20 point range boost to all units within range";
rate = 0;
}
}
Symbol 2627 MovieClip [__Packages.t4button] Frame 0
class t4button extends tower_Button
{
var keyIndex, consumption, tower_type, cost, power, range, rate, Description;
function t4button () {
super();
keyIndex = 56;
consumption = 400;
tower_type = "tower4";
cost = 700;
power = 30;
range = 70;
rate = 6;
Description = "Ice Tower \n\nFires shards of solid hydrogen - Possible chance of freezing the enemy!\nFrozen enemies will move very slowly";
}
}
Symbol 2628 MovieClip [__Packages.t5button] Frame 0
class t5button extends tower_Button
{
var keyIndex, consumption, tower_type, cost, power, range, rate, Description;
function t5button () {
super();
keyIndex = 55;
consumption = 500;
tower_type = "tower5";
cost = 600;
power = 20;
range = 70;
rate = 5;
Description = "Bio Chemical Tower \n\nPossible chance of poisoning the enemy.\nPoisened enemies will run slower";
}
}
Symbol 2629 MovieClip [__Packages.st_button2] Frame 0
class st_button2 extends tower_Button
{
var keyIndex, consumption, tower_type, cost, power, range, Description, rate;
function st_button2 () {
super();
keyIndex = 187;
consumption = 50;
tower_type = "Stower2";
cost = 150;
power = 0;
range = 50;
Description = "Power Amplifier\n\n Gives a 5 point damage bonus to all units within range.";
rate = 0;
}
}
Symbol 2630 MovieClip [__Packages.t8button] Frame 0
class t8button extends tower_Button
{
var keyIndex, consumption, tower_type, cost, power, range, Description, rate;
function t8button () {
super();
keyIndex = 52;
consumption = 200;
tower_type = "tower8";
cost = 500;
power = 50;
range = 150;
Description = "Sniper Tower \n\nThis towers higher point view offers greater visibility. Manned by a single soldier armed with a sniper rifle";
rate = 3;
}
}
Symbol 2631 MovieClip [__Packages.t7button] Frame 0
class t7button extends tower_Button
{
var keyIndex, consumption, tower_type, cost, power, range, rate, Description;
function t7button () {
super();
keyIndex = 49;
consumption = 200;
tower_type = "tower7";
cost = 100;
power = 15;
range = 70;
rate = 4;
Description = "Rifleman Turret \n\nSmall tower manned by a single soldier equipped with a standard issue rifle";
}
}
Symbol 2632 MovieClip [__Packages.t9button] Frame 0
class t9button extends tower_Button
{
var keyIndex, consumption, tower_type, cost, power, range, rate, Description;
function t9button () {
super();
keyIndex = 54;
consumption = 200;
tower_type = "tower9";
cost = 800;
power = 100;
range = 100;
rate = 2;
Description = "Heat Ray Tower \n\nThis experimental defence tower can cook enemies from a great distance";
}
}
Symbol 2633 MovieClip [__Packages.t10button] Frame 0
class t10button extends tower_Button
{
var keyIndex, consumption, tower_type, cost, power, range, rate, Description;
function t10button () {
super();
keyIndex = 50;
consumption = 200;
tower_type = "tower10";
cost = 200;
power = 30;
range = 70;
rate = 3;
Description = "Shotgun Turret \n\nSmall tower manned by a single soldier equipped with a 12 gauge shotgun";
}
}
Symbol 2634 MovieClip [__Packages.t12button] Frame 0
class t12button extends tower_Button
{
var keyIndex, consumption, tower_type, cost, power, range, rate, Description;
function t12button () {
super();
keyIndex = 57;
consumption = 200;
tower_type = "tower12";
cost = 1000;
power = 6;
range = 55;
rate = 10;
Description = "Flame Thrower \n\nPossibe chance of setting enemies on fire!\nWarning enemies on fire will run faster!";
}
}
Symbol 2635 MovieClip [__Packages.upbutton] Frame 0
class upbutton extends MovieClip
{
var _alpha, costText;
function upbutton () {
super();
}
function Clicked() {
if (!_root.game.bHolding) {
if (_alpha > 50) {
_root.game.Selected.upgrade();
}
}
}
function onEnterFrame() {
if (_root.game.Selected.powerCost != undefined) {
costText.text = "$" + _root.game.Selected.powerCost;
} else {
costText.text = "$";
}
if ((_root.game.money < _root.game.Selected.powerCost) || (_root.game.Selected.upgrades >= 4)) {
_alpha = 20;
} else {
_alpha = 100;
}
}
}
Symbol 2636 MovieClip [__Packages.autoWaveButton] Frame 0
class autoWaveButton extends MovieClip
{
var gotoAndStop;
function autoWaveButton () {
super();
}
function onRelease() {
if (bOn) {
bOn = false;
} else {
bOn = true;
}
}
function onEnterFrame() {
if (_root.game.SpawnController.bAllout || (_root.game.Towers.length <= 0)) {
bOn = false;
}
if (bOn) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
checkCount++;
if (bOn && (!_root.game.SpawnController.bSpawn)) {
if (checkCount >= 10) {
checkCount = 0;
if (_root.game.enemyCount() <= 0) {
_root.game.SpawnController.Clicked();
}
}
}
}
var checkCount = 0;
var bOn = false;
}
Symbol 2637 MovieClip [__Packages.t11button] Frame 0
class t11button extends tower_Button
{
var keyIndex, consumption, tower_type, cost, power, range, rate, Description;
function t11button () {
super();
keyIndex = 48;
consumption = 200;
tower_type = "tower11";
cost = 1500;
power = 150;
range = 120;
rate = 2;
Description = "Rocket Turret \n\nSlow but powerful - Fires homing rockets that pack a punch - Great for slower stronger enemies";
}
}
Symbol 2638 MovieClip [__Packages.nwButton] Frame 0
class nwButton extends MovieClip
{
var gotoAndStop, bSpawn;
function nwButton () {
super();
gotoAndStop(1);
}
function onRelease() {
if (bSpawn) {
_root.game.levelScore = _root.game.levelScore + (_root.game.enemyCount() * 100);
_root.game.SpawnController.Clicked();
}
}
function onEnterFrame() {
if ((_root.game.SpawnController.bSpawn == true) || (_root.game.SpawnController.bAllout == true)) {
gotoAndStop(2);
bSpawn = false;
}
if (_root.game.Towers.length > 0) {
if (!_root.game.SpawnController.bAllout) {
checkCount++;
if (checkCount >= 10) {
checkCount = 0;
if (_root.game.enemyCount() <= 5) {
if (_root.game.SpawnController.bSpawn == false) {
gotoAndStop(1);
bSpawn = true;
} else {
gotoAndStop(2);
bSpawn = false;
}
}
}
}
}
}
var checkCount = 0;
}
Symbol 2639 MovieClip [__Packages.toolInfo] Frame 0
class toolInfo extends MovieClip
{
var _parent, _x, _y, power, range, reload, descript;
function toolInfo () {
super();
}
function onEnterFrame() {
if (_parent.bTarget != undefined) {
_x = _parent.bTarget._x;
_y = _parent.bTarget._y;
if ((_parent.bTarget.power * (1 + (_root.game.gren * 0.05))) <= 100) {
power._xscale = _parent.bTarget.power * (1 + (_root.game.gren * 0.05));
} else {
power._xscale = 100;
}
range._xscale = (_parent.bTarget.range * (1 + (_root.game.mark * 0.05))) * 0.25;
reload._xscale = (_parent.bTarget.rate * (1 + (_root.game.eng * 0.05))) * 4;
descript.text = _parent.bTarget.Description;
} else {
_x = 900;
power._xscale = 1;
range._xscale = 1;
reload._xscale = 1;
descript.text = "";
}
}
}
Symbol 2640 MovieClip [__Packages.hud] Frame 0
class hud extends engine.gameObject
{
var bNoDepth, game, power, range, reload, costText, gHealth, healthTxt, pScore, waves, money;
function hud () {
super();
bNoDepth = true;
game.hud = this;
}
function updateStats() {
}
function onEnterFrame() {
if (game.Selected.power != undefined) {
if (game.Selected.power <= 100) {
power._xscale = game.Selected.power + game.Selected.powerMod;
} else {
power._xscale = 100;
}
range._xscale = (game.Selected.range + game.Selected.rangeMod) * 0.25;
reload._xscale = (game.Selected.reloadRate + game.Selected.reloadMod) * 4;
costText.text = "$" + (game.Selected.cost * 0.5);
} else {
power._xscale = 1;
range._xscale = 1;
reload._xscale = 1;
}
if (game.health >= 0) {
gHealth._xscale = game.health * 0.2;
healthTxt.text = Math.ceil(game.health);
} else {
gHealth._xscale = 0.1;
healthTxt.text = "0";
}
pScore.text = game.levelScore;
waves.text = (game.Wave + "/") + game.NumWaves;
money.text = "$ " + game.money;
}
}
Symbol 2641 MovieClip [__Packages.multi_dir_tile] Frame 0
class multi_dir_tile extends engine.gameObject
{
var _alpha, updateGrid, game, gx, gy, _x, _y;
function multi_dir_tile () {
super();
_alpha = 0;
updateGrid();
game.tiles.push(this);
game.snapNearest(this);
}
function onEnterFrame() {
var _local4 = game.enemies.length;
var _local3 = 0;
while (_local3 < _local4) {
var _local2 = game.enemies[_local3];
if (!_local2.bumped) {
if ((_local2.gx == gx) && (_local2.gy == gy)) {
if (Math.abs(_x - _local2._x) <= (6 * game.gameSpeed)) {
if (Math.abs(_y - _local2._y) <= (6 * game.gameSpeed)) {
game.snapNearest(_local2);
_local2.bumped = true;
if (Math.random() > 0.5) {
_local2.vx = dx * _local2.speed;
_local2.vy = dy * _local2.speed;
} else {
_local2.vx = ox * _local2.speed;
_local2.vy = oy * _local2.speed;
}
}
}
}
}
_local3++;
}
}
var dx = 0;
var dy = 0;
var ox = 0;
var oy = 0;
}
Symbol 2642 MovieClip [__Packages.dl_tile] Frame 0
class dl_tile extends multi_dir_tile
{
function dl_tile () {
super();
}
var dx = 0;
var dy = 1;
var ox = -1;
var oy = 0;
}
Symbol 2643 MovieClip [__Packages.h_tile] Frame 0
class h_tile extends multi_dir_tile
{
function h_tile () {
super();
}
var dx = 1;
var dy = 0;
var ox = -1;
var oy = 0;
}
Symbol 2644 MovieClip [__Packages.dr_tile] Frame 0
class dr_tile extends multi_dir_tile
{
function dr_tile () {
super();
}
var dx = 0;
var dy = 1;
var ox = 1;
var oy = 0;
}
Symbol 2645 MovieClip [__Packages.v_tile] Frame 0
class v_tile extends multi_dir_tile
{
function v_tile () {
super();
}
var dx = 0;
var dy = 1;
var ox = 0;
var oy = -1;
}
Symbol 2646 MovieClip [__Packages.Cover] Frame 0
class Cover extends engine.gameObject
{
var bNoDepth, swapDepths, bMove, _x, Target;
function Cover () {
super();
bNoDepth = true;
swapDepths(4005);
}
function onEnterFrame() {
if (bMove) {
var _local2 = Target - _x;
if (Math.abs(_local2) > 2) {
_x = _x + (_local2 * 0.1);
} else {
bMove = false;
_x = Target;
}
}
}
function onRelease() {
}
}
Symbol 2647 MovieClip [__Packages.cover2] Frame 0
class cover2 extends engine.gameObject
{
var bNoDepth, swapDepths, bMove, _x, Target;
function cover2 () {
super();
bNoDepth = true;
swapDepths(4000);
}
function onEnterFrame() {
if (bMove) {
var _local2 = Target - _x;
if (Math.abs(_local2) > 2) {
_x = _x + (_local2 * 0.1);
} else {
bMove = false;
_x = Target;
}
}
}
function onRelease() {
}
}
Symbol 2648 MovieClip [__Packages.Game] Frame 0
class Game extends MovieClip
{
var gameSpeed, levelReached, money, playerLevel, Kills, playerPower, health, usedPower, playerScore, levelScore, levelUpTarget, Hud, endTimer, soundControl, Lid, Lid2, oT, Selected, World, levelScores, currentLevel, currentWave, lvlArray, waves, _parent, _y, _x, userData, merc, sci, eng, gren, mark;
function Game () {
super();
_root.kongregateServices.connect();
gameSpeed = 1;
levelReached = 1;
loadSaveGame();
money = 0;
playerLevel = 1;
Kills = 0;
playerPower = 1000;
health = 1000;
usedPower = 0;
playerScore = 0;
levelScore = 0;
levelUpTarget = 50;
initLevel(1);
}
function removeAlien(Actor) {
var _local4 = enemies.length;
var _local2 = 0;
while (_local2 < _local4) {
var _local3 = enemies[_local2];
if (_local3 == Actor) {
if ((_local3.health <= 0) || (_local3.health == undefined)) {
enemies.splice(_local2, 1);
}
}
_local2++;
}
}
function levelUp(num) {
if (num >= 8000) {
playerLevel = 10;
levelUpTarget = 200000 /* 0x030D40 */;
playerPower = 20000;
} else if (num >= 3000) {
playerLevel = 9;
levelUpTarget = 8000;
playerPower = 15000;
} else if (num >= 1800) {
playerLevel = 8;
levelUpTarget = 3000;
playerPower = 10000;
} else if (num >= 1200) {
playerLevel = 7;
levelUpTarget = 1800;
playerPower = 8000;
} else if (num >= 800) {
playerLevel = 6;
levelUpTarget = 1200;
playerPower = 6000;
} else if (num >= 400) {
playerLevel = 5;
levelUpTarget = 800;
playerPower = 4000;
} else if (num >= 200) {
playerLevel = 4;
levelUpTarget = 400;
playerPower = 3000;
} else if (num >= 100) {
playerLevel = 3;
levelUpTarget = 200;
playerPower = 2000;
} else if (num >= 50) {
playerLevel = 2;
levelUpTarget = 100;
playerPower = 1500;
}
}
function RefreshTowers() {
for (var _local2 in Towers) {
Towers[_local2].checkTowers();
}
Hud.updateStats();
}
function LevelCheck(Actor) {
var _local2 = 0;
for (var _local3 in enemies) {
if (enemies[_local3].health != undefined) {
_local2++;
}
}
if (_local2 <= 0) {
removeMC(Actor);
if (!bEnded) {
bEnded = true;
endTimer = setInterval(endTime, 2000, this);
}
}
}
function failed() {
if (!bEnded) {
bEnded = true;
endTimer = setInterval(failedTime, 800, this);
}
}
function failedTime(Actor) {
clearInterval(Actor.endTimer);
Actor.failedLevel();
}
function endTime(Actor) {
clearInterval(Actor.endTimer);
Actor.endLevel();
}
function enemyCount() {
var _local2 = 0;
for (var _local3 in enemies) {
if (enemies[_local3].health != undefined) {
_local2++;
}
}
return(_local2);
}
function failedLevel() {
bEnded = false;
levelScore = 0;
Kills = 0;
soundControl.door1.start();
Lid.Target = 0;
Lid.bMove = true;
Lid2.Target = 480;
Lid2.bMove = true;
oT = setInterval(oTimer, 1800, this, "failed");
}
function cancelTower() {
if (Selected != undefined) {
for (var _local2 in Towers) {
if (Towers[_local2] == Selected) {
Selected.Destroy();
Towers.splice(_local2, 1);
bHolding = false;
}
}
}
}
function endLevel() {
bEnded = false;
levelScore = Math.round(levelScore);
levelScore = levelScore + Math.round(((Kills * 5) + money) + health);
_root.kongregateStats.submit("TotalKills", Kills);
if (health == 1000) {
levelScore = levelScore + 5000;
_root.kongregateStats.submit("perfectLevel", 1);
if (levelScores[World._currentframe - 14] <= 0) {
skillPoints = skillPoints + 1;
}
}
if (levelScores[World._currentframe - 14] <= 0) {
skillPoints = skillPoints + 2;
}
if (levelScore > levelScores[World._currentframe - 14]) {
levelScores[World._currentframe - 14] = levelScore;
saveScores();
}
if (levelReached <= (World._currentframe - 14)) {
levelReached = levelReached + 1;
}
bHolding = false;
soundControl.door1.start();
Lid.Target = 0;
Lid.bMove = true;
Lid2.Target = 480;
Lid2.bMove = true;
oT = setInterval(oTimer, 1800, this, "rundown");
}
function toMap() {
soundControl.door1.start();
Lid.Target = 0;
Lid.bMove = true;
Lid2.Target = 480;
Lid2.bMove = true;
oT = setInterval(oTimer, 1800, this, "map");
}
function toSkillShop() {
soundControl.door1.start();
Lid.Target = 0;
Lid.bMove = true;
Lid2.Target = 480;
Lid2.bMove = true;
oT = setInterval(oTimer, 1800, this, "shop");
}
function Rundown() {
soundControl.door1.start();
Lid.Target = 0;
Lid.bMove = true;
Lid2.Target = 480;
Lid2.bMove = true;
oT = setInterval(oTimer, 1800, "rundown");
}
function initLevel(lvl) {
currentLevel = lvl - 14;
gameSpeed = 1;
playerPower = 200000 /* 0x030D40 */;
soundControl.door1.start();
Lid.Target = 0;
Lid.bMove = true;
Lid2.Target = 480;
Lid2.bMove = true;
health = 1000;
Kills = 0;
money = 500;
usedPower = 0;
currentWave = 0;
levelScore = 0;
delete lvlArray;
delete waves;
delete Towers;
Towers = new Array();
lvlArray = new Array();
waves = new Array();
var _local3 = 0;
while (_local3 < 15) {
lvlArray[_local3] = new Array();
var _local2 = 0;
while (_local2 < 15) {
lvlArray[_local3].push(0);
_local2++;
}
_local3++;
}
_local3 = 0;
while (_local3 < 32) {
waves[_local3] = new Array();
_local3++;
}
oT = setInterval(oTimer, 1800, this, lvl);
}
function oTimer(Actor, lvl) {
clearInterval(Actor.oT);
Actor.Open(lvl);
}
function Open(lvl) {
World.gotoAndStop(lvl);
soundControl.door1.start();
Lid.Target = -500;
Lid.bMove = true;
Lid2.Target = 650;
Lid2.bMove = true;
}
function createDeathFX(Actor) {
soundControl.death.start();
var _local9 = Actor._x;
var _local8 = Actor._y;
var _local2;
var _local10 = World.Level.bCanvas.attachMovie("bloodPart", "part" + World.Level.bCanvas.getNextHighestDepth(), World.Level.bCanvas.getNextHighestDepth(), {_x:_local9, _y:_local8});
_local10._rotation = Math.random() * 360;
var _local11 = 50 + (Math.random() * 50);
_local10._xscale = _local11;
_local10._yscale = _local11;
var _local13 = World.Level.attachMovie("AngelPart", "part" + World.Level.getNextHighestDepth(), World.Level.getNextHighestDepth(), {_x:_local9, _y:_local8});
var _local4 = 0;
var _local5 = 0;
var _local3 = 0;
while (_local3 < 8) {
_local4 = (-8 + (Math.random() * 16)) + _local9;
_local5 = (-8 + (Math.random() * 16)) + _local8;
_local2 = World.Level.attachMovie("darkPart", "part" + World.Level.getNextHighestDepth(), World.Level.getNextHighestDepth(), {_x:_local4, _y:_local5});
_local2.lifeSpan = 20 + (Math.random() * 20);
_local2.vx = 0;
_local2.vy = Math.random() * -4;
_local2.Mod = 0.1;
_local3++;
}
}
function createDeathm(Actor) {
soundControl.explode.start();
var _local9 = Actor._x;
var _local8 = Actor._y;
var _local2;
var _local10 = World.Level.bCanvas.attachMovie("scorchPart", "part" + World.Level.bCanvas.getNextHighestDepth(), World.Level.bCanvas.getNextHighestDepth(), {_x:_local9, _y:_local8});
var _local11 = 50 + (Math.random() * 50);
_local10._xscale = _local11;
_local10._yscale = _local11;
var _local12 = _parent.attachMovie("exploring", "part" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {_x:_x, _y:_y});
_local12.lifeSpan = 8 + (Math.random() * 10);
var _local4 = 0;
var _local5 = 0;
var _local3 = 0;
while (_local3 < 8) {
_local4 = (-8 + (Math.random() * 16)) + _local9;
_local5 = (-8 + (Math.random() * 16)) + _local8;
_local2 = World.Level.attachMovie("smokePart", "part" + World.Level.getNextHighestDepth(), World.Level.getNextHighestDepth(), {_x:_local4, _y:_local5});
_local2.lifeSpan = 20 + (Math.random() * 20);
_local2.vx = 0;
_local2.vy = Math.random() * -4;
_local2.Mod = 0.1;
_local3++;
}
}
function updateArray(i, j, val) {
lvlArray[i][j] = val;
}
function getArray(i, j) {
return(lvlArray[i][j]);
}
function removeMC(mc) {
var _local3 = mc._parent;
var _local1 = _local3.getInstanceAtDepth(0);
mc.swapDepths(0);
mc.removeMovieClip();
if (_local1 != undefined) {
_local1.swapDepths(0);
}
}
function select(Actor) {
Selected = Actor;
updateHud();
}
function updateHud() {
Hud.updateStats();
}
function snapNearest(ball) {
var _local1 = 32;
if (Math.abs(Math.floor(ball._x / _local1) - (ball._x / _local1)) < Math.abs(Math.ceil(ball._x / _local1) - (ball._x / _local1))) {
ball._x = (Math.floor(ball._x / _local1) * _local1) + 16;
} else {
ball._x = (Math.ceil(ball._x / _local1) * _local1) - 16;
}
if (Math.abs(Math.floor(ball._y / _local1) - (ball._y / _local1)) < Math.abs(Math.ceil(ball._y / _local1) - (ball._y / _local1))) {
ball._y = (Math.floor(ball._y / _local1) * _local1) + 14;
} else {
ball._y = (Math.ceil(ball._y / _local1) * _local1) - 18;
}
}
function loadSaveGame() {
levelScores = new Array();
userData = SharedObject.getLocal("defenset1");
if (userData.data.bPlayed != undefined) {
levelScores[0] = "scores";
levelScores[1] = userData.data.lvl_1;
levelScores[2] = userData.data.lvl_2;
levelScores[3] = userData.data.lvl_3;
levelScores[4] = userData.data.lvl_4;
levelScores[5] = userData.data.lvl_5;
levelScores[6] = userData.data.lvl_6;
levelScores[7] = userData.data.lvl_7;
levelScores[8] = userData.data.lvl_8;
levelScores[9] = userData.data.lvl_9;
levelScores[10] = userData.data.lvl_10;
levelScores[11] = userData.data.lvl_11;
levelScores[12] = userData.data.lvl_12;
levelScores[13] = userData.data.lvl_13;
levelScores[14] = userData.data.lvl_14;
levelScores[15] = userData.data.lvl_15;
levelScores[16] = userData.data.lvl_16;
levelScores[17] = userData.data.lvl_17;
levelScores[18] = userData.data.lvl_18;
levelScores[19] = userData.data.lvl_19;
levelScores[20] = userData.data.lvl_20;
levelScores[21] = userData.data.lvl_21;
levelScores[22] = userData.data.lvl_22;
levelScores[23] = userData.data.lvl_23;
merc = userData.data.merc;
sci = userData.data.sci;
eng = userData.data.eng;
gren = userData.data.gren;
mark = userData.data.mark;
skillPoints = userData.data.skill;
} else {
userData.data.bPlayed = true;
userData.data.merc = 0;
userData.data.sci = 0;
userData.data.eng = 0;
userData.data.gren = 0;
userData.data.mark = 0;
userData.data.skill = 3;
userData.data.lvl_1 = 0;
userData.data.lvl_2 = 0;
userData.data.lvl_3 = 0;
userData.data.lvl_4 = 0;
userData.data.lvl_5 = 0;
userData.data.lvl_6 = 0;
userData.data.lvl_7 = 0;
userData.data.lvl_8 = 0;
userData.data.lvl_9 = 0;
userData.data.lvl_10 = 0;
userData.data.lvl_11 = 0;
userData.data.lvl_12 = 0;
userData.data.lvl_13 = 0;
userData.data.lvl_14 = 0;
userData.data.lvl_15 = 0;
userData.data.lvl_16 = 0;
userData.data.lvl_17 = 0;
userData.data.lvl_18 = 0;
userData.data.lvl_19 = 0;
userData.data.lvl_20 = 0;
userData.data.lvl_21 = 0;
userData.data.lvl_22 = 0;
userData.data.lvl_23 = 0;
merc = 0;
sci = 0;
eng = 0;
gren = 0;
mark = 0;
skillPoints = 3;
levelScores[1] = 0;
levelScores[2] = 0;
levelScores[3] = 0;
levelScores[4] = 0;
levelScores[5] = 0;
levelScores[6] = 0;
levelScores[7] = 0;
levelScores[8] = 0;
levelScores[9] = 0;
levelScores[10] = 0;
levelScores[11] = 0;
levelScores[12] = 0;
levelScores[13] = 0;
levelScores[14] = 0;
levelScores[15] = 0;
levelScores[16] = 0;
levelScores[17] = 0;
levelScores[18] = 0;
levelScores[19] = 0;
levelScores[20] = 0;
levelScores[21] = 0;
levelScores[22] = 0;
levelScores[23] = 0;
}
}
function saveScores() {
userData.data.lvl_1 = levelScores[1];
userData.data.lvl_2 = levelScores[2];
userData.data.lvl_3 = levelScores[3];
userData.data.lvl_4 = levelScores[4];
userData.data.lvl_5 = levelScores[5];
userData.data.lvl_6 = levelScores[6];
userData.data.lvl_7 = levelScores[7];
userData.data.lvl_8 = levelScores[8];
userData.data.lvl_9 = levelScores[9];
userData.data.lvl_10 = levelScores[10];
userData.data.lvl_11 = levelScores[11];
userData.data.lvl_12 = levelScores[12];
userData.data.lvl_13 = levelScores[13];
userData.data.lvl_14 = levelScores[14];
userData.data.lvl_15 = levelScores[15];
userData.data.lvl_16 = levelScores[16];
userData.data.lvl_17 = levelScores[17];
userData.data.lvl_18 = levelScores[18];
userData.data.lvl_19 = levelScores[19];
userData.data.lvl_20 = levelScores[20];
userData.data.lvl_21 = levelScores[21];
userData.data.lvl_22 = levelScores[22];
userData.data.lvl_23 = levelScores[23];
var _local5 = 0;
var _local4 = 0;
var _local3 = 1;
while (_local3 < 21) {
_local5 = _local5 + levelScores[_local3];
if (Number(levelScores[_local3]) > 0) {
_local4 = _local4 + 1;
}
_local3++;
}
_root.kongregateScores.submit(_local5);
_root.kongregateStats.submit("levels_completed", _local4);
if (_local4 >= 20) {
_root.kongregateStats.submit("game_Completed", 1);
}
saveSkills();
}
function saveSkills() {
userData.data.merc = merc;
_root.kongregateStats.submit("Mercenary", merc);
userData.data.sci = sci;
_root.kongregateStats.submit("Scientist", sci);
userData.data.eng = eng;
_root.kongregateStats.submit("Engineer", eng);
userData.data.gren = gren;
_root.kongregateStats.submit("Grenadier", gren);
userData.data.mark = mark;
_root.kongregateStats.submit("Marksman", mark);
var _local3 = (((mark + sci) + eng) + gren) + merc;
if (_local3 >= 50) {
_root.kongregateStats.submit("Skills_maxed", 1);
}
userData.data.skill = skillPoints;
}
function resetSaveGame() {
userData.data.bPlayed = true;
userData.data.merc = 0;
userData.data.sci = 0;
userData.data.eng = 0;
userData.data.gren = 0;
userData.data.mark = 0;
userData.data.skill = 3;
userData.data.lvl_1 = 0;
userData.data.lvl_2 = 0;
userData.data.lvl_3 = 0;
userData.data.lvl_4 = 0;
userData.data.lvl_5 = 0;
userData.data.lvl_6 = 0;
userData.data.lvl_7 = 0;
userData.data.lvl_8 = 0;
userData.data.lvl_9 = 0;
userData.data.lvl_10 = 0;
userData.data.lvl_11 = 0;
userData.data.lvl_12 = 0;
userData.data.lvl_13 = 0;
userData.data.lvl_14 = 0;
userData.data.lvl_15 = 0;
userData.data.lvl_16 = 0;
userData.data.lvl_17 = 0;
userData.data.lvl_18 = 0;
userData.data.lvl_19 = 0;
userData.data.lvl_20 = 0;
userData.data.lvl_21 = 0;
userData.data.lvl_22 = 0;
userData.data.lvl_23 = 0;
merc = 0;
sci = 0;
eng = 0;
gren = 0;
mark = 0;
skillPoints = 3;
levelScores[1] = 0;
levelScores[2] = 0;
levelScores[3] = 0;
levelScores[4] = 0;
levelScores[5] = 0;
levelScores[6] = 0;
levelScores[7] = 0;
levelScores[8] = 0;
levelScores[9] = 0;
levelScores[10] = 0;
levelScores[11] = 0;
levelScores[12] = 0;
levelScores[13] = 0;
levelScores[14] = 0;
levelScores[15] = 0;
levelScores[16] = 0;
levelScores[17] = 0;
levelScores[18] = 0;
levelScores[19] = 0;
levelScores[20] = 0;
levelScores[21] = 0;
levelScores[22] = 0;
levelScores[23] = 0;
}
var enemies = new Array();
var Towers = new Array();
var Wave = 0;
var NumWaves = 0;
var bHolding = false;
var skillPoints = 0;
var bquit = false;
var skillCost = 5000;
var bEnded = false;
}
Symbol 2649 MovieClip [__Packages.levelButton] Frame 0
class levelButton extends engine.gameObject
{
var Marker, _alpha, LevelNum, _parent, game, best, gotoAndStop, lvlText, bsText;
function levelButton () {
super();
Marker._alpha = 0;
}
function onRelease() {
if (_alpha == 100) {
_parent.lSelect.sLevel = LevelNum;
_parent.lSelect.bActive = true;
}
}
function onRollOver() {
Marker._alpha = 90;
}
function onRollOut() {
Marker._alpha = 0;
}
function onEnterFrame() {
if (game.levelScores[LevelNum] > 0) {
best = game.levelScores[LevelNum];
gotoAndStop(2);
_alpha = 100;
} else if ((game.levelScores[LevelNum - 1] > 0) || (LevelNum == 1)) {
gotoAndStop(1);
_alpha = 100;
best = 0;
} else {
_alpha = 0;
}
lvlText.text = "Area " + LevelNum;
bsText.text = "Best: " + best;
delete onEnterFrame;
}
var bClicked = false;
}
Symbol 260 Button
on (release) {
getURL ("http://www.maxgames.com", "_blank");
}
Symbol 263 MovieClip Frame 60
stop();
Symbol 277 MovieClip Frame 14
stop();
Symbol 279 MovieClip Frame 1
function onRelease() {
_root.getURL("http://www.maxgames.com", "_blank");
}
Symbol 279 MovieClip Frame 280
_root.gotoAndStop("mainMenu");
Symbol 313 MovieClip [Handle] Frame 1
#initclip 160
Object.registerClass("Handle", handle);
#endinitclip
Symbol 351 MovieClip [Stower1] Frame 1
#initclip 127
Object.registerClass("Stower1", support_tower_1);
#endinitclip
Symbol 354 MovieClip [Stower2] Frame 1
#initclip 128
Object.registerClass("Stower2", support_tower_2);
#endinitclip
Symbol 360 MovieClip [tower2] Frame 1
#initclip 129
Object.registerClass("tower2", tower_2);
#endinitclip
Symbol 506 MovieClip [tower3] Frame 1
#initclip 130
Object.registerClass("tower3", tower_3);
#endinitclip
Symbol 652 MovieClip [tower4] Frame 1
#initclip 131
Object.registerClass("tower4", tower_4);
#endinitclip
Symbol 653 MovieClip [tower5] Frame 1
#initclip 132
Object.registerClass("tower5", tower_5);
#endinitclip
Symbol 799 MovieClip [tower7] Frame 1
#initclip 133
Object.registerClass("tower7", tower_7);
#endinitclip
Symbol 945 MovieClip [tower8] Frame 1
#initclip 134
Object.registerClass("tower8", tower_8);
#endinitclip
Symbol 946 MovieClip [tower9] Frame 1
#initclip 135
Object.registerClass("tower9", tower_9);
#endinitclip
Symbol 947 MovieClip [tower10] Frame 1
#initclip 136
Object.registerClass("tower10", tower_10);
#endinitclip
Symbol 1093 MovieClip [tower11] Frame 1
#initclip 137
Object.registerClass("tower11", tower_11);
#endinitclip
Symbol 1239 MovieClip [tower12] Frame 1
#initclip 138
Object.registerClass("tower12", tower_12);
#endinitclip
Symbol 1381 MovieClip [towerTest] Frame 1
#initclip 139
Object.registerClass("towerTest", tower_1);
#endinitclip
Symbol 1383 MovieClip [SndControl] Frame 1
#initclip 140
Object.registerClass("SndControl", sndControl);
#endinitclip
Symbol 1384 MovieClip [msc] Frame 1
#initclip 141
Object.registerClass("msc", musicControl);
#endinitclip
Symbol 1386 MovieClip Frame 1
delete this.onEnterFrame;
Symbol 1420 MovieClip [Enemy1] Frame 1
#initclip 142
Object.registerClass("Enemy1", enemy_char1);
#endinitclip
Symbol 1455 MovieClip [Enemy2] Frame 1
#initclip 143
Object.registerClass("Enemy2", enemy_char2);
#endinitclip
Symbol 1457 MovieClip [Enemy3] Frame 1
#initclip 144
Object.registerClass("Enemy3", enemy_char3);
#endinitclip
Symbol 1481 MovieClip [Enemy4] Frame 1
#initclip 145
Object.registerClass("Enemy4", enemy_char4);
#endinitclip
Symbol 1483 MovieClip [Enemy5] Frame 1
#initclip 146
Object.registerClass("Enemy5", enemy_char5);
#endinitclip
Symbol 1614 MovieClip [Enemy6] Frame 1
#initclip 147
Object.registerClass("Enemy6", enemy_char6);
#endinitclip
Symbol 1616 MovieClip [Enemy7] Frame 1
#initclip 148
Object.registerClass("Enemy7", enemy_char7);
#endinitclip
Symbol 1618 MovieClip [Enemy8] Frame 1
#initclip 149
Object.registerClass("Enemy8", enemy_char8);
#endinitclip
Symbol 1741 MovieClip [Enemy9] Frame 1
#initclip 150
Object.registerClass("Enemy9", enemy_char9);
#endinitclip
Symbol 1743 MovieClip [Enemy10] Frame 1
#initclip 151
Object.registerClass("Enemy10", enemy_char10);
#endinitclip
Symbol 1745 MovieClip [Enemy11] Frame 1
#initclip 152
Object.registerClass("Enemy11", enemy_char11);
#endinitclip
Symbol 1868 MovieClip [Enemy12] Frame 1
#initclip 153
Object.registerClass("Enemy12", enemy_char12);
#endinitclip
Symbol 1870 MovieClip [Enemy13] Frame 1
#initclip 154
Object.registerClass("Enemy13", enemy_char13);
#endinitclip
Symbol 1941 MovieClip [Enemy14] Frame 1
#initclip 155
Object.registerClass("Enemy14", enemy_v1);
#endinitclip
Symbol 1943 MovieClip [Enemy15] Frame 1
#initclip 156
Object.registerClass("Enemy15", enemy_v2);
#endinitclip
Symbol 2019 MovieClip [Enemy16] Frame 1
#initclip 157
Object.registerClass("Enemy16", enemy_v3);
#endinitclip
Symbol 2097 MovieClip [Enemy17] Frame 1
#initclip 158
Object.registerClass("Enemy17", enemy_v4);
#endinitclip
Symbol 2175 MovieClip [Enemy18] Frame 1
#initclip 159
Object.registerClass("Enemy18", enemy_v5);
#endinitclip
Symbol 2178 MovieClip Frame 1
function onPress() {
_root.game.Selected = undefined;
_root.game.selectedEnemy = undefined;
_root.game.Hud.updateStats();
}
function onRollOver() {
_root.game.hud.bTarget = undefined;
}
Symbol 2186 MovieClip Frame 1
function onRelease() {
if (!this.bClicked) {
this.bClicked = true;
_root.blOut.tFrame = "gameFrame";
_root.blOut.goBlack = true;
}
}
function onRollOver() {
this.gotoAndStop(2);
}
function onRollOut() {
this.gotoAndStop(1);
}
this.gotoAndStop(1);
Symbol 2192 MovieClip [pmore] Frame 1
function onRelease() {
_root.getURL("http://www.maxgames.com", "_blank");
}
Symbol 2195 MovieClip [lvlmcCTRL] Frame 1
function onRelease() {
if (!_root.bMute) {
_root.bMute = true;
} else {
_root.bMute = false;
}
}
function onEnterFrame() {
if (!_root.bMute) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Symbol 2196 MovieClip Frame 1
function onEnterFrame() {
if (!this.goBlack) {
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
} else {
this._alpha = 0;
}
}
if (this.goBlack == true) {
if (this._alpha < 95) {
this._alpha = this._alpha + 5;
} else {
if (tFrame != undefined) {
_root.gotoAndStop(this.tFrame);
}
this.goBlack = false;
}
}
}
Symbol 2210 MovieClip [targetRotator] Frame 1
function onEnterFrame() {
this._rotation = this._rotation + 3;
}
Symbol 2218 MovieClip [lvlButton] Frame 1
#initclip 200
Object.registerClass("lvlButton", levelButton);
#endinitclip
Symbol 2221 MovieClip Frame 1
function onRelease() {
if (!this.bClicked) {
this.bClicked = true;
_root.game.toSkillShop();
}
}
Symbol 2224 MovieClip Frame 1
function onRelease() {
if (!this.bClicked) {
this.bClicked = true;
_root.blOut.tFrame = "mainMenu";
_root.blOut.goBlack = true;
}
}
Symbol 2231 MovieClip Frame 1
function onRelease() {
this._parent.Close();
}
Symbol 2232 MovieClip [ins1] Frame 1
function Close() {
this._y = 600;
this.visible = false;
}
if (_root.game.levelScores[1] > 0) {
this._y = 600;
this.visible = false;
}
Symbol 2249 MovieClip [tmButton] Frame 1
function onRelease() {
if (!this.bClicked) {
this.bClicked = true;
if (this._alpha > 50) {
if (_root.game.skillPoints > 0) {
_root.game.toSkillShop();
} else {
_root.game.toMap();
}
}
}
}
Symbol 2253 MovieClip [rDown] Frame 1
#initclip 161
Object.registerClass("rDown", lvlRunDown);
#endinitclip
Symbol 2262 MovieClip Frame 1
function onRelease() {
if (!this.bClicked) {
this.bClicked = true;
_root.game.saveSkills();
_root.game.toMap();
}
}
Symbol 2264 MovieClip [upClicker] Frame 1
#initclip 162
Object.registerClass("upClicker", hit_Area2);
#endinitclip
Symbol 2266 MovieClip [engbutton] Frame 1
#initclip 163
Object.registerClass("engbutton", engButton);
#endinitclip
Symbol 2267 MovieClip [grenbutton] Frame 1
#initclip 164
Object.registerClass("grenbutton", grenButton);
#endinitclip
Symbol 2268 MovieClip [markbutton] Frame 1
#initclip 165
Object.registerClass("markbutton", markButton);
#endinitclip
Symbol 2269 MovieClip [scibutton] Frame 1
#initclip 166
Object.registerClass("scibutton", sciButton);
#endinitclip
Symbol 2270 MovieClip [mercbutton] Frame 1
#initclip 167
Object.registerClass("mercbutton", mercButton);
#endinitclip
Symbol 2292 MovieClip Frame 1
function onRelease() {
this._parent.resetPoints();
}
Symbol 2293 MovieClip [skillup] Frame 1
#initclip 168
Object.registerClass("skillup", skillShop);
#endinitclip
Symbol 2310 MovieClip [hPath] Frame 1
#initclip 169
Object.registerClass("hPath", pathTile);
#endinitclip
Symbol 2312 MovieClip [down_tile] Frame 1
#initclip 170
Object.registerClass("down_tile", d_tile);
#endinitclip
Symbol 2314 MovieClip [left_tile] Frame 1
#initclip 171
Object.registerClass("left_tile", l_tile);
#endinitclip
Symbol 2316 MovieClip [right_tile] Frame 1
#initclip 172
Object.registerClass("right_tile", r_tile);
#endinitclip
Symbol 2318 MovieClip [up_tile] Frame 1
#initclip 173
Object.registerClass("up_tile", u_tile);
#endinitclip
Symbol 2320 MovieClip [spawnControl] Frame 1
#initclip 174
Object.registerClass("spawnControl", spawncontroller);
#endinitclip
Symbol 2322 MovieClip [FinalTile] Frame 1
#initclip 175
Object.registerClass("FinalTile", final_tile);
#endinitclip
Symbol 2325 MovieClip Frame 1
stop();
Instance of Symbol 2320 MovieClip [spawnControl] in Symbol 2325 MovieClip Frame 1
onClipEvent (load) {
this.waves = new Array(new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy5", "Enemy5", "Enemy5", "Enemy5", "Enemy5", "Enemy5", "Enemy5"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy12", "Enemy12"));
this.init();
}
Symbol 2338 MovieClip [ins2] Frame 1
function Close() {
this._y = 600;
this.visible = false;
}
function onEnterFrame() {
if (_root.game.SpawnController.bSpawn) {
this.gotoAndStop("Blank");
if (this.bAllShown) {
this.Close();
}
} else if ((_root.game.Kills > 8) && (!_root.game.SpawnController.bSpawn)) {
this.gotoAndStop("t5");
this.bAllShown = true;
} else if (_root.game.Kills > 0) {
this.gotoAndStop("t3");
} else if ((_root.game.Towers.length > 0) && (_root.game.Selected.State != "held")) {
this.gotoAndStop("t2");
} else if ((_root.game.Towers.length > 0) && (_root.game.Selected == undefined)) {
this.gotoAndStop("t4");
} else if ((_root.game.Towers.length > 0) && (_root.game.Selected.State == "held")) {
this.gotoAndStop("t1");
}
}
this.stop();
Symbol 2353 MovieClip [t2Button] Frame 1
#initclip 176
Object.registerClass("t2Button", t2button);
#endinitclip
Symbol 2357 MovieClip [t3Button] Frame 1
#initclip 177
Object.registerClass("t3Button", t3button);
#endinitclip
Symbol 2360 MovieClip [StowerButton1] Frame 1
#initclip 178
Object.registerClass("StowerButton1", st_button1);
#endinitclip
Symbol 2364 MovieClip [t4Button] Frame 1
#initclip 179
Object.registerClass("t4Button", t4button);
#endinitclip
Symbol 2366 MovieClip [t5Button] Frame 1
#initclip 180
Object.registerClass("t5Button", t5button);
#endinitclip
Symbol 2370 MovieClip [StowerButton2] Frame 1
#initclip 181
Object.registerClass("StowerButton2", st_button2);
#endinitclip
Symbol 2380 MovieClip [t8Button] Frame 1
#initclip 182
Object.registerClass("t8Button", t8button);
#endinitclip
Symbol 2383 MovieClip [t7Button] Frame 1
#initclip 183
Object.registerClass("t7Button", t7button);
#endinitclip
Symbol 2387 MovieClip [t9Button] Frame 1
#initclip 184
Object.registerClass("t9Button", t9button);
#endinitclip
Symbol 2391 MovieClip [t10Button] Frame 1
#initclip 185
Object.registerClass("t10Button", t10button);
#endinitclip
Symbol 2393 MovieClip [t12Button] Frame 1
#initclip 186
Object.registerClass("t12Button", t12button);
#endinitclip
Symbol 2397 MovieClip [upButton] Frame 1
#initclip 187
Object.registerClass("upButton", upbutton);
#endinitclip
Symbol 2400 MovieClip Frame 1
function onRelease() {
_root.game.Selected.sell();
}
Symbol 2408 MovieClip [autoButton] Frame 1
#initclip 188
Object.registerClass("autoButton", autoWaveButton);
#endinitclip
Symbol 2410 MovieClip [t11Button] Frame 1
#initclip 189
Object.registerClass("t11Button", t11button);
#endinitclip
Symbol 2414 MovieClip Frame 1
function onRelease() {
this._parent.Close();
}
this.swapDepths(110);
Symbol 2415 MovieClip Frame 1
function Open() {
this._y = 256;
this.visible = true;
}
function Close() {
this._y = 900;
this.visible = false;
}
function onEnterFrame() {
if (this._y == 256) {
_root.game.gameSpeed = 0;
}
}
Symbol 2423 MovieClip [nwbutton] Frame 1
#initclip 190
Object.registerClass("nwbutton", nwButton);
#endinitclip
Symbol 2426 MovieClip [ToolInfo] Frame 1
#initclip 191
Object.registerClass("ToolInfo", toolInfo);
#endinitclip
Symbol 2430 MovieClip Frame 1
function onRelease() {
_root.game.gameSpeed = 0;
}
function onEnterFrame() {
if (_root.game.gameSpeed == 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 2433 MovieClip Frame 1
function onRelease() {
_root.game.gameSpeed = 2;
}
function onEnterFrame() {
if (_root.game.gameSpeed == 2) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 2436 MovieClip Frame 1
function onRelease() {
_root.game.gameSpeed = 1;
}
function onEnterFrame() {
if (_root.game.gameSpeed == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 2442 MovieClip Frame 1
function onRelease() {
if (!this.bClicked) {
this.bClicked = true;
_root.game.bquit = false;
_root.game.gameSpeed = 1;
_root.game.failed();
}
}
function onRollOver() {
this.gotoAndStop(2);
}
function onRollOut() {
this.gotoAndStop(1);
}
this.gotoAndStop(1);
Symbol 2445 MovieClip Frame 1
function onRelease() {
_root.game.bquit = false;
}
function onRollOver() {
this.gotoAndStop(2);
}
function onRollOut() {
this.gotoAndStop(1);
}
this.gotoAndStop(1);
Symbol 2446 MovieClip Frame 1
function onEnterFrame() {
if (_root.game.bquit) {
_root.game.gameSpeed = 0;
this._x = 192;
} else {
this._x = 700;
}
}
Symbol 2448 MovieClip Frame 1
function onRelease() {
if (!_root.game.bquit) {
_root.game.bquit = true;
} else {
_root.game.bquit = false;
}
}
Symbol 2450 MovieClip Frame 1
function onRelease() {
this._parent.gameIns.Open();
}
Symbol 2453 MovieClip Frame 1
function onEnterFrame() {
if (_root.game.selectedEnemy.descript != undefined) {
this.descript.text = _root.game.selectedEnemy.descript;
this._alpha = 100;
} else {
this.descript.text = "";
this._alpha = 0;
}
}
Symbol 2454 MovieClip [Hud] Frame 1
#initclip 192
Object.registerClass("Hud", hud);
#endinitclip
this.reloadButton.onRelease = function () {
if (_root.game.money >= _root.game.Selected.reloadCost) {
_root.game.Selected.reloadRate = _root.game.Selected.reloadRate + 0.5;
_root.game.money = _root.game.money - _root.game.Selected.reloadCost;
_root.game.Selected.reloadCost = _root.game.Selected.reloadCost * 2;
this._parent.updateStats();
}
};
this.rangeButton.onRelease = function () {
if (_root.game.money >= _root.game.Selected.rangeCost) {
_root.game.Selected.range = _root.game.Selected.range + 5;
_root.game.money = _root.game.money - _root.game.Selected.rangeCost;
_root.game.Selected.rangeCost = _root.game.Selected.rangeCost * 2;
this._parent.updateStats();
}
};
this.damageButton.onRelease = function () {
if (_root.game.money >= _root.game.Selected.powerCost) {
_root.game.Selected.power = _root.game.Selected.power + 5;
_root.game.money = _root.game.money - _root.game.Selected.powerCost;
_root.game.Selected.powerCost = _root.game.Selected.powerCost * 2;
this._parent.updateStats();
}
};
Instance of Symbol 2320 MovieClip [spawnControl] in Symbol 2456 MovieClip Frame 1
onClipEvent (load) {
this.waves = new Array(new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy12", "Enemy12", "Enemy12"));
this.init();
}
Instance of Symbol 2320 MovieClip [spawnControl] in Symbol 2460 MovieClip Frame 1
onClipEvent (load) {
this.waves = new Array(new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy9", "Enemy9", "Enemy9", "Enemy3", "Enemy9", "Enemy9", "Enemy9", "Enemy9"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy14", "Enemy14", "Enemy14"));
this.init();
}
Symbol 2463 MovieClip [DL_tile] Frame 1
#initclip 193
Object.registerClass("DL_tile", dl_tile);
#endinitclip
Instance of Symbol 2320 MovieClip [spawnControl] in Symbol 2464 MovieClip Frame 1
onClipEvent (load) {
this.waves = new Array(new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy9", "Enemy9", "Enemy9", "Enemy3", "Enemy9", "Enemy9", "Enemy9", "Enemy9"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy12", "Enemy12"), new Array("Enemy13", "Enemy13", "Enemy13"));
this.init();
}
Symbol 2467 MovieClip [H_tile] Frame 1
#initclip 194
Object.registerClass("H_tile", h_tile);
#endinitclip
Instance of Symbol 2320 MovieClip [spawnControl] in Symbol 2468 MovieClip Frame 1
onClipEvent (load) {
this.waves = new Array(new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy9", "Enemy9", "Enemy9", "Enemy3", "Enemy9", "Enemy9", "Enemy9", "Enemy9"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"));
this.init();
}
Instance of Symbol 2320 MovieClip [spawnControl] in Symbol 2474 MovieClip Frame 1
onClipEvent (load) {
this.waves = new Array(new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy9", "Enemy9", "Enemy9", "Enemy3", "Enemy9", "Enemy9", "Enemy9", "Enemy9"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"));
this.init();
}
Instance of Symbol 2320 MovieClip [spawnControl] in Symbol 2479 MovieClip Frame 1
onClipEvent (load) {
this.waves = new Array(new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy9", "Enemy9", "Enemy9", "Enemy3", "Enemy9", "Enemy9", "Enemy9", "Enemy9"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy14", "Enemy14", "Enemy14", "Enemy14"), new Array("Enemy15", "Enemy15", "Enemy15", "Enemy15"));
this.init();
}
Instance of Symbol 2320 MovieClip [spawnControl] in Symbol 2484 MovieClip Frame 1
onClipEvent (load) {
this.waves = new Array(new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy9", "Enemy9", "Enemy9", "Enemy3", "Enemy9", "Enemy9", "Enemy9", "Enemy9"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy14", "Enemy14", "Enemy14", "Enemy12"), new Array("Enemy15", "Enemy15", "Enemy15", "Enemy12"));
this.init();
}
Instance of Symbol 2320 MovieClip [spawnControl] in Symbol 2489 MovieClip Frame 1
onClipEvent (load) {
this.waves = new Array(new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy9", "Enemy9", "Enemy9", "Enemy3", "Enemy9", "Enemy9", "Enemy9", "Enemy9"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"));
this.init();
}
Instance of Symbol 2320 MovieClip [spawnControl] in Symbol 2492 MovieClip Frame 1
onClipEvent (load) {
this.waves = new Array(new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy9", "Enemy9", "Enemy9", "Enemy3", "Enemy9", "Enemy9", "Enemy9", "Enemy9"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy12", "Enemy12", "Enemy12", "Enemy12"), new Array("Enemy13", "Enemy13", "Enemy13", "Enemy13"));
this.init();
}
Symbol 2496 MovieClip [Dr_tile] Frame 1
#initclip 195
Object.registerClass("Dr_tile", dr_tile);
#endinitclip
Instance of Symbol 2320 MovieClip [spawnControl] in Symbol 2497 MovieClip Frame 1
onClipEvent (load) {
this.waves = new Array(new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy9", "Enemy9", "Enemy9", "Enemy3", "Enemy9", "Enemy9", "Enemy9", "Enemy9"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy12", "Enemy12", "Enemy12", "Enemy12"), new Array("Enemy13", "Enemy13", "Enemy13", "Enemy13"));
this.init();
}
Instance of Symbol 2320 MovieClip [spawnControl] in Symbol 2501 MovieClip Frame 1
onClipEvent (load) {
this.waves = new Array(new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy9", "Enemy9", "Enemy9", "Enemy3", "Enemy9", "Enemy9", "Enemy9", "Enemy9"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy12", "Enemy12", "Enemy12", "Enemy12"), new Array("Enemy13", "Enemy13", "Enemy13", "Enemy13"));
this.init();
}
Symbol 2507 MovieClip [V_tile] Frame 1
#initclip 196
Object.registerClass("V_tile", v_tile);
#endinitclip
Instance of Symbol 2320 MovieClip [spawnControl] in Symbol 2508 MovieClip Frame 1
onClipEvent (load) {
this.waves = new Array(new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy9", "Enemy9", "Enemy9", "Enemy3", "Enemy9", "Enemy9", "Enemy9", "Enemy9"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"));
this.init();
}
Instance of Symbol 2320 MovieClip [spawnControl] in Symbol 2513 MovieClip Frame 1
onClipEvent (load) {
this.waves = new Array(new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy9", "Enemy9", "Enemy9", "Enemy3", "Enemy9", "Enemy9", "Enemy9", "Enemy9"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"));
this.init();
}
Instance of Symbol 2320 MovieClip [spawnControl] in Symbol 2518 MovieClip Frame 1
onClipEvent (load) {
this.waves = new Array(new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy9", "Enemy9", "Enemy9", "Enemy3", "Enemy9", "Enemy9", "Enemy9", "Enemy9"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"));
this.init();
}
Instance of Symbol 2320 MovieClip [spawnControl] in Symbol 2521 MovieClip Frame 1
onClipEvent (load) {
this.waves = new Array(new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy9", "Enemy9", "Enemy9", "Enemy3", "Enemy9", "Enemy9", "Enemy9", "Enemy9"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy12", "Enemy12", "Enemy12", "Enemy12"), new Array("Enemy13", "Enemy13", "Enemy13", "Enemy13"), new Array("Enemy14", "Enemy14", "Enemy14", "Enemy14"), new Array("Enemy15", "Enemy15", "Enemy15", "Enemy15"));
this.init();
}
Instance of Symbol 2320 MovieClip [spawnControl] in Symbol 2524 MovieClip Frame 1
onClipEvent (load) {
this.waves = new Array(new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy9", "Enemy9", "Enemy9", "Enemy3", "Enemy9", "Enemy9", "Enemy9", "Enemy9"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy14", "Enemy14", "Enemy14", "Enemy14"), new Array("Enemy15", "Enemy15", "Enemy15", "Enemy15"));
this.init();
}
Instance of Symbol 2320 MovieClip [spawnControl] in Symbol 2534 MovieClip Frame 1
onClipEvent (load) {
this.waves = new Array(new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy9", "Enemy9", "Enemy9", "Enemy3", "Enemy9", "Enemy9", "Enemy9", "Enemy9"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy12", "Enemy12", "Enemy12", "Enemy12"), new Array("Enemy13", "Enemy13", "Enemy13", "Enemy13"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy12", "Enemy12", "Enemy12", "Enemy12"), new Array("Enemy13", "Enemy13", "Enemy13", "Enemy13"), new Array("Enemy14", "Enemy14", "Enemy14", "Enemy14"), new Array("Enemy15", "Enemy15", "Enemy15", "Enemy15"));
this.init();
}
Instance of Symbol 2320 MovieClip [spawnControl] in Symbol 2538 MovieClip Frame 1
onClipEvent (load) {
this.waves = new Array(new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy9", "Enemy9", "Enemy9", "Enemy3", "Enemy9", "Enemy9", "Enemy9", "Enemy9"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy12", "Enemy12", "Enemy12", "Enemy12"), new Array("Enemy13", "Enemy13", "Enemy13", "Enemy13"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy12", "Enemy12", "Enemy12", "Enemy12", "Enemy12", "Enemy12"), new Array("Enemy13", "Enemy13", "Enemy13", "Enemy13"), new Array("Enemy14", "Enemy14", "Enemy14", "Enemy14"), new Array("Enemy15", "Enemy15", "Enemy15", "Enemy15", "Enemy15", "Enemy15", "Enemy15"));
this.init();
}
Instance of Symbol 2320 MovieClip [spawnControl] in Symbol 2542 MovieClip Frame 1
onClipEvent (load) {
this.waves = new Array(new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3", "Enemy3"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1", "Enemy1"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy9", "Enemy9", "Enemy9", "Enemy3", "Enemy9", "Enemy9", "Enemy9", "Enemy9"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy12", "Enemy12", "Enemy12", "Enemy12"), new Array("Enemy13", "Enemy13", "Enemy13", "Enemy13"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17", "Enemy17"), new Array("Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18", "Enemy18"), new Array("Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16", "Enemy16"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy12", "Enemy12", "Enemy12", "Enemy12"), new Array("Enemy13", "Enemy13", "Enemy13", "Enemy13"), new Array("Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10", "Enemy10"), new Array("Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11", "Enemy11"), new Array("Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2", "Enemy1", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2", "Enemy2"), new Array("Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5", "Enemy4", "Enemy5"), new Array("Enemy12", "Enemy12", "Enemy12", "Enemy12", "Enemy12", "Enemy12", "Enemy13", "Enemy13", "Enemy13"), new Array("Enemy13", "Enemy13", "Enemy13", "Enemy13", "Enemy13", "Enemy13", "Enemy13"), new Array("Enemy14", "Enemy14", "Enemy14", "Enemy14", "Enemy13", "Enemy13", "Enemy13"), new Array("Enemy15", "Enemy15", "Enemy15", "Enemy15", "Enemy15", "Enemy15", "Enemy15", "Enemy13", "Enemy13", "Enemy13"));
this.init();
}
Symbol 2543 MovieClip Frame 1
_root.game.Hud._alpha = 0;
_root.game.Hud.aButton.bOn = false;
_root.game.Hud.gameIns.Close();
_root.game.bquit = false;
_root.game.bHolding = false;
this.stop();
this.points.text = _root.game.skillPoints;
Instance of Symbol 2218 MovieClip [lvlButton] in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
bNoDepth = true;
this.LevelNum = 9;
}
Instance of Symbol 2218 MovieClip [lvlButton] in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
bNoDepth = true;
this.LevelNum = 1;
}
Instance of Symbol 2218 MovieClip [lvlButton] in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
bNoDepth = true;
this.LevelNum = 2;
}
Instance of Symbol 2218 MovieClip [lvlButton] in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
bNoDepth = true;
this.LevelNum = 3;
}
Instance of Symbol 2218 MovieClip [lvlButton] in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
bNoDepth = true;
this.LevelNum = 4;
}
Instance of Symbol 2218 MovieClip [lvlButton] in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
bNoDepth = true;
this.LevelNum = 5;
}
Instance of Symbol 2218 MovieClip [lvlButton] in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
bNoDepth = true;
this.LevelNum = 7;
}
Instance of Symbol 2218 MovieClip [lvlButton] in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
bNoDepth = true;
this.LevelNum = 6;
}
Instance of Symbol 2218 MovieClip [lvlButton] in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
bNoDepth = true;
this.LevelNum = 8;
}
Instance of Symbol 2218 MovieClip [lvlButton] in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
bNoDepth = true;
this.LevelNum = 10;
}
Instance of Symbol 2218 MovieClip [lvlButton] in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
bNoDepth = true;
this.LevelNum = 11;
}
Instance of Symbol 2218 MovieClip [lvlButton] in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
bNoDepth = true;
this.LevelNum = 12;
}
Instance of Symbol 2218 MovieClip [lvlButton] in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
bNoDepth = true;
this.LevelNum = 13;
}
Instance of Symbol 2218 MovieClip [lvlButton] in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
bNoDepth = true;
this.LevelNum = 14;
}
Instance of Symbol 2218 MovieClip [lvlButton] in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
bNoDepth = true;
this.LevelNum = 16;
}
Instance of Symbol 2218 MovieClip [lvlButton] in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
bNoDepth = true;
this.LevelNum = 15;
}
Instance of Symbol 2218 MovieClip [lvlButton] in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
bNoDepth = true;
this.LevelNum = 17;
}
Instance of Symbol 2218 MovieClip [lvlButton] in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
bNoDepth = true;
this.LevelNum = 18;
}
Instance of Symbol 2218 MovieClip [lvlButton] in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
bNoDepth = true;
this.LevelNum = 19;
}
Instance of Symbol 2218 MovieClip [lvlButton] in Symbol 2543 MovieClip Frame 1
onClipEvent (load) {
bNoDepth = true;
this.LevelNum = 20;
}
Symbol 2543 MovieClip Frame 2
_root.game.Hud._alpha = 0;
_root.game.Hud.gameIns.Close();
_root.Msc.m2.stop();
_root.Msc.m1.start();
Symbol 2543 MovieClip Frame 3
_root.game.Hud._alpha = 0;
_root.game.Hud.gameIns.Close();
_root.Msc.m2.stop();
_root.Msc.m1.start();
Symbol 2543 MovieClip Frame 4
_root.game.Hud._alpha = 0;
_root.game.Hud.gameIns.Close();
_root.Msc.m2.stop();
_root.Msc.m1.start();
Symbol 2543 MovieClip Frame 5
_root.game.Hud.gameIns.Close();
Symbol 2543 MovieClip Frame 15
this.stop();
Symbol 2545 MovieClip [cover] Frame 1
#initclip 197
Object.registerClass("cover", Cover);
#endinitclip
Symbol 2546 MovieClip [Cover2] Frame 1
#initclip 198
Object.registerClass("Cover2", cover2);
#endinitclip
Symbol 2547 MovieClip [game] Frame 1
#initclip 199
Object.registerClass("game", Game);
#endinitclip