Frame 1
var MochiAd = {showPreloaderAd:function (options) {
var _local1 = this;
var _local2 = options;
var DEFAULTS = {clip:_root, ad_msec:11000, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812};
_local2 = MochiAd._parseOptions(_local2, DEFAULTS);
var clip = _local2.clip;
var ad_msec = _local2.ad_msec;
delete _local2.ad_msec;
var ad_timeout = _local2.ad_timeout;
delete _local2.ad_timeout;
var fadeout_time = _local2.fadeout_time;
delete _local2.fadeout_time;
if (!MochiAd.load(_local2)) {
return(null);
}
clip.stop();
var mc = clip._mochiad;
mc.onUnload = function () {
this._parent.play();
};
var wh = MochiAd._getRes(_local2);
var w = wh[0];
var h = wh[1];
mc._x = w * 0.5;
mc._y = h * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = w * -0.5;
chk._y = h * -0.5;
var bar = chk.createEmptyMovieClip("_mochiad_bar", 4);
bar._x = 10;
bar._y = h - 20;
var bar_color = _local2.color;
delete _local2.color;
var bar_background = _local2.background;
delete _local2.background;
var bar_outline = _local2.outline;
delete _local2.outline;
var backing = bar.createEmptyMovieClip("_outline", 1);
backing.beginFill(bar_background);
backing.moveTo(0, 0);
backing.lineTo(w - 20, 0);
backing.lineTo(w - 20, 10);
backing.lineTo(0, 10);
backing.lineTo(0, 0);
backing.endFill();
var _local3 = bar.createEmptyMovieClip("_inside", 2);
_local3.beginFill(bar_color);
_local3.moveTo(0, 0);
_local3.lineTo(w - 20, 0);
_local3.lineTo(w - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var outline = bar.createEmptyMovieClip("_outline", 3);
outline.lineStyle(0, bar_outline, 100);
outline.moveTo(0, 0);
outline.lineTo(w - 20, 0);
outline.lineTo(w - 20, 10);
outline.lineTo(0, 10);
outline.lineTo(0, 0);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local1 = this;
var _local2 = 100 * (1 - ((getTimer() - _local1.fadeout_start) / _local1.fadeout_time));
if (_local2 > 0) {
_local1._parent._alpha = _local2;
} else {
var _local3 = _local1._parent._parent;
MochiAd.unload(_local3);
delete _local1.onEnterFrame;
}
};
mc.lc.adjustProgress = function (msec) {
var _local1 = this.mc._mochiad_wait;
_local1.server_control = true;
_local1.started = getTimer();
_local1.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local1 = this;
var _clip = _local1._parent._parent;
var ad_clip = _local1._parent._mochiad_ctr;
var elapsed = (getTimer() - _local1.started);
var _local3 = false;
var clip_total = _clip.getBytesTotal();
var clip_loaded = _clip.getBytesLoaded();
var clip_pcnt = ((100 * clip_loaded) / clip_total);
var ad_pcnt = ((100 * elapsed) / chk.ad_msec);
var _inside = _local1._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(clip_pcnt || 0, ad_pcnt));
_local2 = Math.max(_local1.last_pcnt, _local2);
_local1.last_pcnt = _local2;
_inside._xscale = _local2;
if (!chk.showing) {
var total = ad_clip.getBytesTotal();
if ((total > 0) || (typeof(total) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (elapsed > chk.ad_timeout) {
_local3 = true;
}
}
if (elapsed > chk.ad_msec) {
_local3 = true;
}
if (((clip_total > 0) && (clip_loaded >= clip_total)) && (_local3)) {
if (_local1.server_control) {
delete _local1.onEnterFrame;
} else {
_local1.fadeout_start = getTimer();
_local1.onEnterFrame = chk.fadeFunction;
}
}
};
return(undefined);
}, showTimedAd:function (options) {
var _local1 = this;
var _local2 = options;
var DEFAULTS = {clip:_root, ad_msec:11000, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd"};
_local2 = MochiAd._parseOptions(_local2, DEFAULTS);
var clip = _local2.clip;
var ad_msec = _local2.ad_msec;
delete _local2.ad_msec;
var ad_timeout = _local2.ad_timeout;
delete _local2.ad_timeout;
var fadeout_time = _local2.fadeout_time;
delete _local2.fadeout_time;
if (!MochiAd.load(_local2)) {
return(null);
}
clip.stop();
var mc = clip._mochiad;
mc.onUnload = function () {
this._parent.play();
};
var wh = MochiAd._getRes(_local2);
var w = wh[0];
var h = wh[1];
mc._x = w * 0.5;
mc._y = h * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local1 = this;
var _local2 = 100 * (1 - ((getTimer() - _local1.fadeout_start) / _local1.fadeout_time));
if (_local2 > 0) {
_local1._parent._alpha = _local2;
} else {
var _local3 = _local1._parent._parent;
MochiAd.unload(_local3);
delete _local1.onEnterFrame;
}
};
mc.lc.adjustProgress = function (msec) {
var _local1 = this.mc._mochiad_wait;
_local1.server_control = true;
_local1.started = getTimer();
_local1.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var _local1 = this;
var ad_clip = _local1._parent._mochiad_ctr;
var elapsed = (getTimer() - _local1.started);
var _local2 = false;
if (!chk.showing) {
var _local3 = ad_clip.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (elapsed > chk.ad_timeout) {
_local2 = true;
}
}
if (elapsed > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (_local1.server_control) {
delete _local1.onEnterFrame;
} else {
_local1.fadeout_start = getTimer();
_local1.onEnterFrame = _local1.fadeFunction;
}
}
};
return(undefined);
}, load:function (options) {
var _local1 = options;
var DEFAULTS = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
_local1 = MochiAd._parseOptions(_local1, DEFAULTS);
_local1.swfv = _local1.clip.getSWFVersion() || 6;
_local1.mav = "1.3";
var clip = _local1.clip;
if (!MochiAd._isNetworkAvailable()) {
return(false);
}
if (clip._mochiad_loaded) {
return(false);
}
var depth = _local1.depth;
delete _local1.depth;
var mc = clip.createEmptyMovieClip("_mochiad", depth);
var wh = MochiAd._getRes(_local1);
_local1.res = (wh[0] + "x") + wh[1];
_local1.server = _local1.server + _local1.id;
delete _local1.id;
clip._mochiad_loaded = true;
var _local2 = mc.createEmptyMovieClip("_mochiad_ctr", 1);
for (var k in _local1) {
_local2[k] = _local1[k];
}
if (clip._url.indexOf("http") != 0) {
_local1.no_page = true;
}
var server = _local2.server;
delete _local2.server;
var hostname = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(hostname);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(hostname);
}
}
mc.onEnterFrame = function () {
var _local1 = this;
if (_local1._mochiad_ctr._url != _local1._url) {
_local1.onEnterFrame = function () {
var _local1 = this;
if (!_local1._mochiad_ctr) {
delete _local1.onEnterFrame;
MochiAd.unload(_local1._parent);
}
};
}
};
var _local3 = new LocalConnection();
var name = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local3.mc = mc;
_local3.name = name;
_local3.hostname = hostname;
_local3.allowDomain = function (d) {
return(true);
};
_local3.allowInsecureDomain = _local3.allowDomain;
_local3.connect(name);
mc.lc = _local3;
_local2.lc = name;
_local2.st = getTimer();
_local2.loadMovie(server + ".swf", "POST");
return(mc);
}, unload:function (clip) {
var _local1 = clip;
if (typeof(_local1) == "undefined") {
_local1 = _root;
}
if (_local1.clip && (_local1.clip._mochiad)) {
_local1 = _local1.clip;
}
if (!_local1._mochiad) {
return(false);
}
_local1._mochiad.removeMovieClip();
delete _local1._mochiad_loaded;
delete _local1._mochiad;
return(true);
}, _isNetworkAvailable:function () {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}, _getRes:function (options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var xy = options.res.split("x");
_local2 = parseFloat(xy[0]);
_local1 = parseFloat(xy[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]);
}, _parseOptions:function (options, defaults) {
var _local3 = {};
for (var k in defaults) {
_local3[k] = defaults[k];
}
if (options) {
for (var k in options) {
_local3[k] = options[k];
}
}
if (_root.mochiad_options) {
var pairs = _root.mochiad_options.split("&");
var _local1 = 0;
while (_local1 < pairs.length) {
var _local2 = pairs[_local1].split("=");
_local3[unescape(_local2[0])] = unescape(_local2[1]);
_local1++;
}
}
return(_local3);
}};
MochiAd.showPreloaderAd({id:"5dd1b7ff19d80c97", res:"560x420"});
Frame 3
_root.tile = "1";
MovieClip.prototype.pole0 = function () {
var _local1 = this;
_local1.x = Math.floor(_local1._x / 40);
_local1.y = Math.floor(_local1._y / 40);
/:pole[_local1.x][_local1.y] = 0;
};
MovieClip.prototype.pole1 = function () {
var _local1 = this;
_local1.x = Math.floor(_local1._x / 40);
_local1.y = Math.floor(_local1._y / 40);
/:pole[_local1.x][_local1.y] = 1;
};
gotoAndPlay (5);
Frame 4
level = 1;
locdatnam = SharedObject.getLocal("warpforest");
lv1.level = locdatnam.data.level1;
lv2.level = locdatnam.data.level2;
lv3.level = locdatnam.data.level3;
lv4.level = locdatnam.data.level4;
lv5.level = locdatnam.data.level5;
stop();
Instance of Symbol 14 MovieClip in Frame 4
onClipEvent (keyDown) {
if (Key.getCode() == 13) {
_root.gotoAndPlay(18);
}
}
Frame 5
map = new Array([], [], [], [], [], [], [], [], [], [], [], [], [], [], []);
y1 = 0;
while (y1 <= 10) {
x1 = 0;
while (x1 <= 14) {
map[x1][y1] = "1";
x1++;
}
y1++;
}
level1 = [["e", "e", "e", "e", "e", "e", "e", "e", "e", "e"], ["e", "e", "1", "1", "1", "e", "e", "e", "e", "e"], ["e", "1", "e", "1", "1", "1", "1", "1", "e", "e"], ["1", "e", "1", "1", "1", "1", "1", "1", "e", "e"], ["1", "1", "1", "1", "2", "1", "1", "1", "1", "1"], ["1", "1", "1", "1", "1", "1", "1", "r", "1", "1"], ["e", "z", "e", "1", "1", "1", "1", "1", "1", "e"], ["1", "1", "e", "e", "1", "1", "1", "1", "1", "e"], ["1", "1", "1", "e", "e", "z", "e", "1", "e", "e"], ["1", "1", "1", "1", "e", "1", "1", "e", "e", "1"], ["1", "r", "1", "d", "e", "1", "1", "1", "e", "e"], ["1", "1", "1", "e", "1", "1", "d", "1", "e", "e"], ["e", "e", "e", "e", "1", "1", "1", "1", "e", "e"], ["1", "e", "e", "e", "e", "e", "1", "e", "e", "e"]];
level2 = [["e", "1", "e", "1", "1", "e", "e", "r", "r", "e"], ["e", "e", "1", "d", "1", "e", "1", "1", "1", "e"], ["e", "1", "1", "1", "1", "e", "1", "1", "1", "1"], ["e", "e", "1", "1", "e", "1", "e", "b", "e", "e"], ["1", "e", "e", "s", "e", "e", "x", "1", "1", "1"], ["e", "e", "1", "1", "1", "1", "1", "e", "1", "1"], ["e", "1", "1", "1", "1", "1", "1", "e", "e", "e"], ["e", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["e", "e", "1", "1", "2", "1", "1", "1", "e", "1"], ["1", "1", "z", "1", "1", "1", "r", "1", "1", "e"], ["1", "d", "1", "e", "1", "e", "1", "1", "e", "e"], ["1", "r", "f", "1", "e", "e", "e", "e", "1", "e"], ["e", "1", "1", "e", "e", "e", "e", "e", "e", "e"], ["1", "e", "1", "e", "e", "e", "e", "e", "e", "e"]];
level3 = [["1", "1", "e", "1", "e", "1", "1", "1", "d", "1"], ["1", "f", "e", "1", "n", "1", "1", "1", "1", "1"], ["1", "1", "e", "x", "e", "e", "1", "1", "1", "1"], ["1", "1", "1", "1", "1", "1", "e", "e", "e", "e"], ["1", "1", "r", "1", "1", "t", "1", "e", "e", "e"], ["1", "1", "1", "1", "1", "1", "1", "1", "e", "e"], ["1", "1", "1", "1", "1", "1", "1", "1", "e", "e"], ["1", "1", "1", "1", "1", "1", "1", "e", "e", "e"], ["e", "1", "1", "2", "1", "1", "e", "e", "e", "e"], ["e", "e", "1", "1", "e", "1", "r", "1", "1", "1"], ["e", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "1", "e", "e", "e", "a", "e", "e"], ["e", "1", "1", "1", "e", "r", "1", "1", "1", "1"], ["e", "e", "1", "1", "e", "1", "d", "1", "1", "1"]];
level4 = [["1", "1", "1", "1", "1", "r", "1", "e", "1", "1"], ["1", "r", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "1", "z", "e", "1", "a", "e", "e"], ["1", "d", "1", "e", "1", "1", "e", "1", "d", "1"], ["1", "1", "e", "e", "h", "h", "e", "e", "1", "1"], ["1", "1", "e", "e", "e", "e", "e", "1", "x", "e"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "e", "2", "1", "1", "1", "1", "1", "1"], ["1", "1", "e", "1", "1", "1", "1", "1", "1", "1"], ["e", "1", "e", "1", "1", "t", "1", "1", "e", "1"], ["1", "q", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "d", "1", "e", "1", "1", "d", "1", "1"], ["1", "1", "1", "1", "1", "e", "1", "e", "e", "1"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"]];
level5 = [["1", "1", "1", "e", "1", "1", "r", "e", "e", "w"], ["1", "1", "1", "x", "1", "e", "e", "e", "1", "1"], ["1", "e", "e", "1", "1", "e", "e", "1", "1", "1"], ["1", "f", "e", "1", "1", "e", "1", "1", "1", "1"], ["1", "1", "e", "1", "1", "1", "1", "1", "e", "f"], ["1", "1", "n", "1", "1", "1", "1", "1", "1", "1"], ["1", "e", "e", "1", "1", "1", "1", "1", "e", "e"], ["1", "1", "1", "1", "1", "1", "1", "r", "1", "e"], ["1", "2", "1", "q", "e", "c", "e", "1", "1", "1"], ["1", "1", "1", "e", "1", "1", "1", "1", "e", "1"], ["1", "1", "e", "e", "1", "1", "d", "1", "1", "e"], ["e", "e", "e", "e", "1", "1", "1", "1", "e", "e"], ["e", "e", "e", "1", "1", "1", "e", "e", "e", "e"], ["1", "1", "1", "1", "1", "1", "e", "e", "e", "e"]];
level6 = [["e", "e", "e", "e", "e", "e", "e", "e", "e", "e"], ["e", "1", "1", "e", "1", "1", "1", "1", "e", "e"], ["1", "1", "1", "1", "1", "1", "1", "1", "e", "d"], ["1", "1", "1", "e", "r", "r", "r", "e", "e", "1"], ["1", "1", "1", "1", "x", "x", "x", "1", "e", "s"], ["1", "2", "1", "e", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "e", "1", "1", "1", "1", "1", "1"], ["e", "e", "b", "e", "1", "1", "1", "1", "1", "1"], ["1", "d", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["r", "r", "1", "1", "t", "t", "t", "e", "1", "1"], ["1", "1", "e", "e", "e", "1", "e", "1", "1", "1"], ["f", "d", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"]];
level7 = [["e", "e", "1", "1", "e", "e", "e", "e", "e", "e"], ["e", "e", "e", "e", "e", "1", "1", "1", "e", "e"], ["1", "e", "e", "e", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "e", "e", "e", "2", "1", "1", "e"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "e"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "e", "e", "1", "e", "e", "e", "1", "e"], ["1", "1", "e", "1", "1", "1", "1", "e", "e", "e"], ["1", "1", "1", "1", "1", "1", "d", "r", "e", "1"], ["1", "1", "1", "d", "1", "y", "d", "r", "e", "e"], ["1", "1", "e", "e", "1", "1", "d", "e", "e", "e"], ["1", "1", "e", "e", "e", "e", "e", "e", "1", "e"], ["1", "1", "1", "e", "e", "e", "1", "1", "1", "e"]];
level8 = [["e", "e", "1", "1", "e", "e", "1", "e", "d", "1"], ["1", "1", "1", "1", "1", "1", "1", "e", "1", "1"], ["e", "1", "1", "1", "1", "1", "1", "1", "s", "e"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "e", "e", "e", "e", "e", "1", "1", "1"], ["1", "1", "e", "1", "d", "d", "e", "1", "1", "1"], ["1", "1", "e", "1", "1", "1", "e", "2", "1", "1"], ["1", "1", "e", "1", "1", "1", "e", "1", "1", "h"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "h"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "h"], ["1", "1", "1", "q", "q", "q", "1", "e", "e", "e"], ["e", "e", "e", "1", "e", "e", "e", "e", "e", "e"], ["e", "1", "1", "1", "1", "1", "1", "r", "e", "e"], ["e", "1", "1", "1", "1", "1", "1", "r", "e", "e"]];
level9 = [["e", "e", "e", "1", "1", "1", "1", "e", "e", "e"], ["e", "1", "1", "1", "1", "1", "1", "1", "e", "e"], ["1", "1", "f", "1", "1", "1", "1", "1", "1", "e"], ["1", "1", "1", "1", "1", "1", "1", "h", "1", "1"], ["1", "1", "1", "1", "1", "1", "1", "1", "y", "1"], ["e", "e", "e", "1", "1", "1", "1", "h", "1", "1"], ["e", "e", "e", "e", "1", "1", "e", "e", "1", "1"], ["e", "1", "1", "e", "1", "1", "1", "e", "e", "1"], ["e", "d", "1", "1", "e", "1", "1", "1", "e", "e"], ["1", "1", "1", "1", "e", "e", "1", "1", "1", "1"], ["t", "1", "1", "1", "1", "v", "1", "1", "1", "1"], ["1", "1", "1", "1", "1", "e", "e", "1", "2", "1"], ["e", "d", "1", "1", "r", "e", "e", "e", "1", "1"], ["e", "e", "e", "e", "e", "e", "e", "e", "1", "1"]];
level10 = [["e", "e", "e", "e", "1", "t", "1", "e", "e", "e"], ["e", "e", "d", "e", "1", "1", "1", "e", "1", "1"], ["e", "1", "1", "e", "1", "1", "1", "n", "1", "d"], ["1", "1", "1", "e", "1", "1", "1", "e", "1", "1"], ["1", "e", "x", "e", "1", "1", "1", "1", "e", "e"], ["e", "e", "1", "1", "1", "1", "1", "1", "1", "1"], ["e", "e", "1", "1", "1", "1", "1", "1", "1", "1"], ["e", "e", "1", "1", "1", "1", "1", "1", "1", "1"], ["e", "e", "e", "c", "e", "1", "1", "e", "1", "1"], ["e", "e", "1", "1", "e", "t", "1", "r", "1", "1"], ["e", "1", "1", "1", "e", "1", "1", "e", "1", "1"], ["e", "1", "d", "f", "1", "s", "1", "e", "2", "1"], ["e", "1", "1", "1", "a", "1", "1", "1", "1", "1"], ["e", "e", "e", "e", "1", "1", "1", "e", "1", "1"]];
level11 = [["1", "1", "1", "1", "e", "1", "1", "e", "e", "e"], ["1", "1", "r", "1", "e", "1", "f", "1", "e", "e"], ["1", "1", "1", "1", "e", "1", "1", "1", "e", "e"], ["1", "1", "1", "1", "v", "1", "e", "e", "e", "e"], ["c", "e", "e", "w", "e", "1", "e", "e", "e", "e"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "1", "1", "1", "1", "2", "1", "1"], ["1", "1", "1", "1", "e", "1", "1", "1", "1", "1"], ["1", "1", "e", "d", "e", "1", "1", "1", "1", "1"], ["1", "e", "e", "c", "e", "e", "1", "e", "h", "1"], ["e", "e", "h", "1", "e", "e", "1", "e", "z", "e"], ["e", "e", "1", "1", "e", "e", "1", "e", "1", "1"], ["e", "e", "1", "1", "1", "z", "1", "e", "d", "1"], ["1", "e", "1", "e", "e", "e", "e", "e", "1", "1"]];
level12 = [["e", "e", "1", "1", "e", "1", "1", "e", "e", "e"], ["e", "1", "1", "1", "1", "1", "1", "e", "e", "e"], ["1", "1", "1", "1", "1", "1", "1", "1", "e", "e"], ["1", "1", "1", "1", "1", "1", "1", "1", "e", "e"], ["1", "1", "1", "1", "e", "e", "y", "1", "1", "e"], ["1", "2", "1", "1", "1", "e", "e", "g", "1", "e"], ["1", "1", "e", "1", "1", "d", "e", "g", "1", "e"], ["1", "1", "e", "1", "f", "d", "e", "1", "e", "e"], ["1", "1", "e", "q", "q", "e", "e", "e", "e", "e"], ["1", "1", "1", "e", "b", "e", "1", "e", "e", "e"], ["1", "1", "1", "1", "1", "1", "e", "e", "e", "e"], ["e", "1", "1", "1", "1", "e", "1", "1", "e", "e"], ["e", "e", "1", "1", "1", "1", "1", "e", "e", "e"], ["e", "e", "e", "e", "e", "1", "1", "e", "e", "e"]];
level13 = [["e", "e", "e", "e", "e", "1", "f", "1", "e", "e"], ["e", "e", "e", "h", "e", "1", "1", "e", "e", "1"], ["e", "e", "1", "h", "e", "e", "x", "e", "e", "e"], ["e", "1", "1", "1", "1", "1", "1", "1", "e", "1"], ["e", "1", "1", "1", "1", "1", "1", "1", "e", "1"], ["e", "1", "1", "2", "1", "e", "1", "1", "e", "e"], ["e", "e", "e", "1", "1", "e", "e", "e", "e", "e"], ["e", "e", "1", "1", "1", "1", "e", "e", "e", "1"], ["e", "e", "c", "e", "1", "1", "1", "e", "e", "1"], ["e", "e", "1", "e", "r", "1", "1", "1", "e", "1"], ["e", "d", "1", "1", "e", "1", "1", "1", "1", "e"], ["1", "y", "1", "1", "n", "1", "1", "1", "1", "1"], ["1", "e", "1", "1", "e", "1", "1", "1", "1", "1"], ["1", "1", "r", "r", "e", "q", "q", "q", "1", "1"]];
level14 = [["e", "e", "e", "e", "e", "e", "g", "e", "e", "e"], ["e", "e", "e", "e", "e", "e", "1", "1", "e", "e"], ["e", "e", "1", "1", "e", "1", "1", "1", "1", "e"], ["e", "e", "1", "1", "1", "1", "1", "1", "1", "e"], ["e", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["e", "2", "1", "1", "1", "r", "1", "1", "1", "1"], ["1", "1", "h", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "1", "1", "r", "1", "1", "1", "1"], ["1", "1", "1", "1", "t", "d", "t", "e", "1", "1"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "1", "x", "e", "e", "1", "1", "1"], ["1", "1", "h", "1", "x", "1", "1", "1", "1", "e"], ["e", "1", "1", "1", "1", "1", "1", "1", "e", "e"], ["e", "e", "e", "1", "r", "1", "e", "e", "e", "e"]];
level15 = [["e", "e", "e", "d", "e", "e", "w", "1", "e", "e"], ["e", "e", "1", "y", "1", "e", "1", "1", "e", "e"], ["e", "1", "1", "1", "1", "1", "1", "1", "1", "e"], ["1", "1", "1", "1", "e", "e", "1", "1", "1", "1"], ["1", "1", "1", "1", "e", "r", "f", "1", "1", "1"], ["1", "1", "1", "e", "e", "e", "e", "c", "e", "z"], ["1", "1", "1", "1", "e", "1", "1", "1", "e", "1"], ["e", "1", "1", "1", "v", "1", "2", "1", "1", "1"], ["e", "1", "1", "1", "e", "1", "1", "1", "e", "1"], ["e", "e", "1", "1", "e", "e", "c", "e", "e", "x"], ["e", "e", "1", "1", "1", "1", "1", "1", "1", "1"], ["e", "e", "e", "1", "1", "1", "1", "1", "1", "e"], ["e", "e", "e", "e", "1", "1", "1", "1", "e", "e"], ["e", "e", "e", "e", "e", "e", "e", "e", "e", "e"]];
level16 = [["1", "1", "1", "1", "1", "1", "1", "1", "1", "e"], ["1", "1", "1", "e", "e", "1", "e", "1", "1", "1"], ["1", "1", "1", "e", "e", "d", "e", "1", "f", "1"], ["1", "1", "1", "1", "1", "1", "e", "1", "1", "1"], ["1", "1", "1", "1", "1", "y", "e", "e", "g", "e"], ["1", "2", "1", "e", "1", "1", "e", "e", "h", "e"], ["1", "1", "1", "e", "1", "1", "1", "e", "h", "e"], ["e", "1", "1", "e", "1", "y", "1", "1", "1", "1"], ["e", "1", "1", "e", "1", "1", "1", "1", "y", "1"], ["e", "b", "e", "e", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "1", "1", "t", "e", "1", "1", "1"], ["1", "1", "g", "1", "1", "1", "e", "e", "z", "e"], ["1", "1", "h", "1", "1", "d", "r", "1", "d", "1"], ["1", "1", "1", "1", "1", "1", "e", "1", "1", "1"]];
level17 = [["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "e", "e", "e", "e", "d", "e", "1", "1"], ["1", "1", "e", "h", "h", "e", "1", "e", "1", "1"], ["1", "1", "e", "h", "1", "v", "1", "e", "1", "1"], ["1", "1", "e", "e", "e", "e", "1", "e", "1", "1"], ["1", "1", "e", "2", "1", "1", "1", "e", "1", "1"], ["1", "1", "e", "1", "1", "e", "z", "e", "1", "1"], ["1", "1", "e", "e", "e", "e", "z", "e", "1", "1"], ["1", "1", "1", "1", "1", "e", "z", "e", "1", "1"], ["1", "1", "e", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "e", "e", "1", "1", "1", "1", "1", "1"], ["1", "1", "e", "e", "e", "1", "t", "1", "1", "1"], ["1", "1", "e", "e", "e", "1", "1", "1", "1", "1"], ["1", "1", "f", "1", "1", "1", "1", "y", "1", "1"]];
level18 = [["e", "e", "e", "1", "d", "1", "e", "e", "e", "e"], ["e", "e", "e", "1", "y", "1", "e", "e", "e", "e"], ["e", "e", "e", "1", "1", "1", "e", "e", "e", "e"], ["e", "e", "e", "e", "1", "e", "e", "e", "e", "e"], ["1", "1", "1", "1", "1", "1", "1", "e", "1", "1"], ["1", "1", "2", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "e", "1", "1", "1", "e", "1", "d"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "y"], ["1", "1", "e", "1", "1", "1", "1", "e", "1", "1"], ["1", "1", "1", "1", "1", "1", "1", "e", "1", "1"], ["1", "1", "1", "e", "e", "1", "e", "e", "e", "e"], ["1", "1", "1", "e", "1", "y", "1", "e", "e", "e"], ["1", "1", "1", "1", "1", "1", "1", "e", "e", "e"], ["1", "1", "1", "e", "1", "d", "1", "e", "e", "e"]];
level19 = [["1", "e", "e", "1", "1", "e", "e", "1", "e", "e"], ["e", "e", "e", "1", "1", "e", "r", "1", "r", "e"], ["e", "e", "e", "1", "1", "e", "e", "b", "e", "e"], ["e", "1", "v", "1", "f", "v", "1", "1", "e", "e"], ["1", "1", "e", "1", "1", "e", "e", "1", "1", "e"], ["e", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["e", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "1", "1", "e", "e", "1", "1", "2"], ["1", "1", "e", "1", "1", "e", "e", "1", "1", "1"], ["e", "1", "e", "1", "1", "e", "1", "1", "1", "1"], ["e", "1", "e", "t", "t", "1", "1", "1", "1", "h"], ["e", "1", "1", "1", "e", "e", "1", "1", "1", "1"], ["1", "1", "1", "1", "e", "h", "1", "d", "1", "e"], ["1", "1", "1", "d", "e", "e", "e", "1", "e", "e"]];
level20 = [["e", "e", "1", "1", "1", "1", "1", "e", "e", "e"], ["e", "e", "e", "1", "2", "1", "e", "e", "e", "e"], ["e", "e", "e", "e", "1", "e", "e", "e", "e", "e"], ["e", "e", "1", "1", "1", "1", "e", "e", "e", "e"], ["e", "1", "1", "1", "1", "1", "e", "1", "1", "e"], ["e", "1", "1", "1", "1", "1", "t", "1", "1", "1"], ["e", "1", "1", "1", "1", "1", "1", "1", "d", "1"], ["e", "1", "1", "e", "1", "1", "t", "1", "d", "1"], ["e", "1", "1", "1", "1", "1", "1", "1", "d", "1"], ["e", "1", "q", "1", "1", "1", "t", "1", "1", "1"], ["e", "1", "1", "1", "1", "1", "e", "1", "1", "e"], ["e", "1", "1", "1", "r", "y", "e", "e", "e", "e"], ["e", "e", "e", "h", "h", "h", "e", "e", "e", "e"], ["e", "e", "e", "h", "h", "h", "e", "e", "e", "e"]];
level21 = [["1", "1", "1", "1", "1", "1", "1", "e", "h", "h"], ["1", "1", "1", "1", "1", "d", "1", "e", "h", "1"], ["1", "1", "1", "1", "e", "e", "e", "e", "f", "1"], ["1", "1", "1", "1", "w", "w", "w", "e", "x", "e"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["e", "e", "e", "r", "r", "e", "b", "e", "1", "1"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "t", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "1", "1", "1", "t", "e", "1", "2"], ["1", "1", "h", "1", "1", "1", "e", "e", "1", "1"], ["1", "1", "h", "h", "1", "1", "1", "1", "1", "1"]];
level22 = [["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "r", "r", "e", "e", "e", "1", "1", "e", "e"], ["h", "h", "h", "1", "e", "e", "1", "1", "e", "e"], ["1", "1", "1", "1", "e", "e", "1", "1", "e", "e"], ["1", "1", "1", "1", "e", "e", "1", "1", "e", "e"], ["1", "1", "1", "1", "e", "e", "1", "1", "e", "e"], ["1", "1", "1", "1", "e", "1", "1", "1", "e", "e"], ["1", "1", "1", "1", "e", "1", "1", "1", "e", "e"], ["1", "1", "1", "1", "e", "1", "1", "1", "e", "e"], ["1", "1", "1", "1", "e", "2", "1", "1", "e", "e"], ["q", "q", "q", "q", "e", "1", "1", "e", "e", "e"], ["q", "q", "q", "q", "e", "e", "e", "e", "e", "e"], ["q", "q", "q", "q", "e", "1", "1", "e", "e", "e"], ["t", "q", "q", "q", "1", "1", "d", "e", "e", "e"]];
level23 = [["e", "1", "e", "e", "e", "w", "1", "1", "e", "e"], ["1", "d", "v", "1", "e", "1", "1", "1", "e", "e"], ["e", "c", "e", "1", "1", "1", "1", "1", "h", "e"], ["e", "1", "1", "1", "1", "1", "1", "1", "1", "x"], ["1", "1", "e", "e", "e", "c", "e", "1", "2", "w"], ["1", "1", "e", "1", "h", "1", "e", "1", "1", "1"], ["1", "1", "e", "1", "1", "1", "e", "1", "1", "1"], ["1", "t", "v", "1", "d", "1", "e", "c", "e", "1"], ["1", "1", "e", "e", "c", "e", "e", "1", "1", "1"], ["1", "1", "e", "e", "1", "1", "e", "1", "1", "e"], ["1", "1", "e", "1", "1", "1", "1", "1", "1", "e"], ["e", "e", "e", "1", "1", "1", "1", "1", "e", "e"], ["e", "e", "e", "1", "1", "d", "1", "1", "e", "e"], ["e", "e", "e", "1", "1", "1", "1", "1", "e", "e"]];
level24 = [["e", "e", "e", "1", "1", "1", "1", "1", "1", "1"], ["e", "e", "e", "1", "1", "1", "1", "r", "1", "e"], ["1", "2", "1", "1", "1", "1", "1", "r", "1", "e"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "e"], ["1", "1", "1", "e", "y", "1", "1", "1", "1", "e"], ["1", "1", "e", "e", "1", "1", "1", "e", "c", "e"], ["1", "1", "1", "1", "1", "1", "1", "e", "1", "e"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "1", "1", "1", "1", "r", "1", "1"], ["1", "h", "1", "1", "1", "1", "t", "1", "1", "1"], ["1", "z", "1", "1", "1", "t", "1", "t", "1", "1"], ["1", "h", "1", "1", "1", "1", "t", "e", "1", "h"], ["1", "1", "1", "1", "1", "e", "1", "1", "d", "1"], ["1", "1", "1", "1", "1", "e", "1", "h", "1", "1"]];
level25 = [["e", "e", "1", "1", "r", "y", "r", "e", "e", "e"], ["e", "e", "e", "1", "1", "1", "1", "1", "e", "e"], ["1", "e", "y", "1", "1", "d", "1", "1", "1", "1"], ["1", "e", "d", "e", "d", "e", "d", "e", "1", "1"], ["1", "1", "1", "e", "1", "d", "1", "e", "1", "1"], ["1", "1", "e", "e", "1", "e", "1", "e", "1", "e"], ["1", "1", "e", "e", "1", "e", "1", "e", "1", "1"], ["1", "1", "1", "e", "y", "e", "y", "e", "r", "1"], ["1", "2", "1", "e", "1", "e", "1", "e", "r", "1"], ["1", "1", "1", "e", "1", "e", "1", "e", "1", "1"], ["1", "1", "1", "e", "1", "e", "1", "e", "1", "1"], ["e", "1", "1", "1", "1", "1", "1", "1", "1", "e"], ["1", "e", "e", "1", "1", "1", "e", "e", "e", "e"], ["e", "1", "e", "e", "1", "1", "e", "e", "e", "e"]];
level26 = [["e", "1", "d", "1", "1", "t", "e", "e", "e", "e"], ["1", "1", "1", "e", "e", "e", "e", "e", "e", "e"], ["1", "1", "1", "e", "1", "1", "1", "1", "1", "e"], ["1", "1", "1", "e", "1", "1", "1", "d", "1", "e"], ["y", "1", "1", "1", "y", "1", "1", "1", "1", "e"], ["1", "1", "e", "1", "e", "r", "r", "e", "1", "1"], ["1", "1", "1", "1", "e", "h", "h", "e", "1", "1"], ["1", "1", "1", "1", "e", "1", "1", "1", "1", "1"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "1", "1", "1", "1", "1", "2", "1"], ["e", "q", "q", "q", "e", "1", "1", "1", "1", "1"], ["1", "1", "1", "e", "e", "1", "1", "1", "1", "1"], ["1", "1", "d", "1", "e", "1", "1", "1", "1", "1"]];
level27 = [["e", "1", "1", "1", "1", "1", "1", "1", "e", "e"], ["e", "1", "1", "1", "1", "d", "1", "1", "e", "e"], ["e", "c", "e", "1", "1", "1", "1", "t", "e", "e"], ["1", "1", "1", "1", "e", "1", "1", "e", "e", "1"], ["1", "1", "1", "e", "e", "e", "e", "e", "1", "1"], ["1", "1", "e", "y", "y", "y", "e", "1", "1", "1"], ["e", "1", "1", "w", "w", "w", "1", "f", "1", "1"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "2"], ["1", "e", "1", "1", "1", "1", "1", "e", "1", "1"], ["1", "e", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["e", "1", "1", "1", "1", "1", "e", "b", "e", "e"], ["e", "e", "1", "q", "q", "q", "e", "y", "h", "e"], ["e", "e", "1", "e", "e", "e", "e", "h", "h", "e"]];
level28 = [["e", "e", "e", "e", "e", "e", "e", "e", "e", "e"], ["e", "e", "e", "e", "e", "e", "r", "r", "e", "e"], ["1", "1", "1", "f", "1", "1", "1", "1", "1", "e"], ["1", "1", "1", "1", "1", "1", "1", "2", "1", "e"], ["1", "1", "1", "1", "e", "1", "1", "1", "h", "e"], ["1", "1", "1", "1", "e", "1", "1", "1", "e", "e"], ["1", "1", "1", "1", "1", "a", "a", "a", "e", "e"], ["1", "1", "1", "1", "1", "1", "1", "1", "e", "e"], ["1", "1", "1", "1", "1", "1", "1", "1", "e", "e"], ["1", "e", "t", "1", "1", "1", "1", "y", "e", "e"], ["1", "e", "e", "1", "e", "d", "d", "d", "e", "e"], ["1", "e", "e", "1", "e", "e", "b", "e", "e", "e"], ["1", "1", "1", "1", "e", "e", "d", "e", "e", "e"], ["1", "1", "1", "1", "e", "e", "q", "e", "e", "e"]];
level29 = [["e", "f", "f", "e", "1", "1", "1", "1", "e", "e"], ["e", "1", "d", "e", "1", "1", "1", "1", "1", "e"], ["e", "1", "w", "e", "c", "e", "e", "1", "1", "1"], ["e", "e", "1", "e", "1", "1", "h", "y", "1", "1"], ["1", "1", "1", "1", "2", "1", "e", "1", "1", "e"], ["1", "1", "1", "1", "1", "1", "e", "e", "1", "1"], ["e", "e", "c", "e", "1", "1", "v", "1", "1", "1"], ["1", "1", "1", "e", "c", "e", "e", "1", "1", "1"], ["1", "1", "1", "1", "1", "1", "v", "1", "1", "1"], ["1", "1", "1", "1", "1", "1", "e", "e", "e", "e"], ["1", "h", "d", "d", "1", "1", "1", "1", "1", "t"], ["1", "g", "d", "d", "1", "1", "1", "1", "1", "t"], ["1", "1", "d", "d", "1", "1", "1", "1", "1", "t"], ["1", "1", "d", "d", "1", "1", "1", "1", "1", "t"]];
level30 = [["e", "e", "e", "e", "e", "e", "e", "e", "e", "e"], ["e", "e", "e", "e", "e", "e", "e", "e", "e", "e"], ["e", "e", "e", "t", "e", "e", "e", "e", "e", "e"], ["e", "e", "d", "d", "d", "d", "t", "e", "e", "e"], ["e", "t", "1", "h", "h", "h", "1", "1", "1", "1"], ["e", "d", "h", "h", "h", "h", "h", "1", "1", "1"], ["e", "d", "h", "h", "d", "h", "h", "1", "1", "2"], ["t", "d", "h", "d", "d", "d", "h", "h", "1", "1"], ["e", "d", "h", "h", "d", "h", "h", "h", "1", "1"], ["e", "d", "1", "h", "h", "h", "h", "1", "1", "e"], ["e", "e", "t", "1", "h", "h", "1", "1", "1", "e"], ["e", "e", "e", "d", "d", "d", "d", "t", "e", "e"], ["e", "e", "e", "e", "t", "e", "e", "e", "e", "e"], ["e", "e", "e", "e", "e", "e", "e", "e", "e", "e"]];
blonus3 = [["f", "x", "1", "1", "w", "w", "e", "d", "d", "e"], ["g", "1", "1", "1", "1", "1", "e", "1", "d", "e"], ["1", "1", "e", "1", "1", "1", "e", "b", "e", "e"], ["e", "q", "e", "1", "e", "1", "1", "1", "1", "1"], ["e", "1", "e", "1", "e", "f", "1", "1", "1", "1"], ["1", "1", "e", "1", "e", "e", "e", "e", "1", "1"], ["g", "1", "e", "1", "1", "1", "1", "e", "1", "2"], ["g", "1", "n", "1", "1", "e", "1", "1", "1", "1"], ["1", "1", "e", "1", "h", "e", "c", "e", "1", "1"], ["e", "w", "e", "1", "h", "e", "1", "e", "e", "1"], ["1", "1", "1", "1", "1", "1", "1", "e", "e", "b"], ["d", "1", "e", "t", "1", "1", "1", "d", "d", "1"], ["d", "1", "e", "e", "1", "1", "y", "d", "d", "1"], ["1", "1", "1", "1", "1", "e", "t", "e", "f", "1"]];
blonus1 = [["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "2", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "e", "e", "1", "e", "e", "e", "e", "c"], ["1", "1", "1", "1", "1", "1", "f", "1", "1", "1"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "h"], ["1", "1", "e", "e", "1", "e", "1", "1", "1", "h"], ["1", "1", "e", "r", "y", "e", "q", "q", "e", "e"], ["1", "1", "1", "1", "1", "t", "d", "1", "1", "1"], ["1", "1", "e", "r", "y", "e", "e", "b", "e", "e"], ["1", "1", "e", "e", "1", "e", "1", "1", "1", "e"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "e"], ["1", "1", "e", "e", "c", "e", "e", "e", "e", "e"], ["1", "f", "e", "1", "1", "z", "1", "d", "e", "e"], ["1", "1", "e", "1", "1", "x", "1", "1", "e", "e"]];
blonus2 = [["e", "e", "e", "e", "e", "e", "e", "e", "e", "e"], ["e", "e", "1", "g", "g", "n", "1", "1", "e", "e"], ["e", "h", "f", "e", "e", "e", "1", "1", "2", "e"], ["1", "1", "1", "r", "r", "1", "1", "1", "h", "e"], ["1", "1", "1", "1", "1", "1", "1", "1", "h", "e"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "e"], ["1", "1", "1", "t", "y", "t", "1", "1", "1", "1"], ["1", "1", "1", "y", "d", "y", "1", "1", "1", "1"], ["1", "1", "1", "t", "y", "t", "1", "1", "1", "1"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "1", "1", "1", "1", "1", "1", "1", "1", "r"], ["f", "h", "1", "1", "1", "1", "1", "h", "h", "e"], ["e", "h", "1", "1", "1", "1", "1", "e", "b", "e"], ["e", "e", "1", "1", "1", "1", "1", "e", "g", "r"]];
gotoAndStop (6);
Frame 6
stopAllSounds();
gamemode = "";
if (sfx == undefined) {
sfx = 1;
}
if (mfx == undefined) {
mfx = 1;
}
_quality = "best";
level = 1;
speciallevel = "";
stop();
Instance of Symbol 14 MovieClip in Frame 6
onClipEvent (keyDown) {
if (Key.getCode() == 13) {
_root.ent = 1;
}
}
onClipEvent (enterFrame) {
if (_root.ent == 1) {
_root.ent = 3;
if (_parent.speciallevel == "editor") {
_root.gamemode = "editor";
_root.sfx = 1;
_root.mfx = 2;
_parent.gotoAndPlay(23);
} else if (_parent.speciallevel.length > 0) {
_root.gamemode = "addon";
ld = 0;
adl = 0;
goodname = 0;
_root.addlevelcredit = "";
i = 1;
while (i <= 160) {
if (_parent.speciallevel.charAt(ld) != "=") {
if (_parent.speciallevel.charAt(ld) == "_") {
_root.addlevelcredit = _root.addlevelcredit + " ";
} else {
_root.addlevelcredit = _root.addlevelcredit + _parent.speciallevel.charAt(ld);
}
ld++;
} else {
goodname = 1;
ld = i;
break;
}
i++;
}
if (goodname != 1) {
toolong.gotoAndPlay(5);
} else {
while (ld <= (_parent.speciallevel.length - 1)) {
adl++;
_root["addlevel" + adl] = new Array([], [], [], [], [], [], [], [], [], [], [], [], [], [], []);
x2 = 0;
y2 = 0;
x1 = 0;
while (x1 <= 13) {
y1 = 0;
while (y1 <= 9) {
ld1 = _parent.speciallevel.charAt(ld);
ld++;
if ((((((((((((((((((((((ld1 == "z") or (_parent.speciallevel.length < ld)) or (ld1 == "z")) or (ld1 == "x")) or (ld1 == "1")) or (ld1 == "2")) or (ld1 == "b")) or (ld1 == "n")) or (ld1 == "a")) or (ld1 == "s")) or (ld1 == "g")) or (ld1 == "h")) or (ld1 == "q")) or (ld1 == "w")) or (ld1 == "e")) or (ld1 == "r")) or (ld1 == "t")) or (ld1 == "f")) or (ld1 == "d")) or (ld1 == "y")) or (ld1 == "c")) or (ld1 == "v")) {
_root["addlevel" + adl][x1][y1] = ld1;
} else {
y1 = y2;
x1 = x2;
}
x2 = x1;
y2 = y1;
y1++;
}
x1++;
}
}
_root.maxaddlevel = adl;
_parent.gotoAndPlay(7);
}
}
if (_parent.speciallevel == "") {
_root.gamemode = "normal";
_parent.gotoAndPlay(4);
}
_root.gotoAndPlay(4);
}
}
Frame 7
level = 1;
stop();
Instance of Symbol 14 MovieClip in Frame 7
onClipEvent (keyDown) {
if (Key.getCode() == 13) {
_root.gotoAndPlay(18);
}
}
Frame 8
stop();
Instance of Symbol 159 MovieClip in Frame 8
onClipEvent (keyDown) {
if (Key.getCode() == 13) {
_root.ent = 1;
}
}
onClipEvent (enterFrame) {
if (_root.ent == 1) {
_root.ent = 3;
_root.gotoAndPlay(4);
}
}
Frame 10
stop();
Instance of Symbol 14 MovieClip in Frame 10
onClipEvent (keyDown) {
if (Key.getCode() == 13) {
_root.ent = 1;
}
}
onClipEvent (enterFrame) {
if (_root.ent == 1) {
_root.ent = 3;
_root.gotoAndPlay(4);
}
}
Frame 11
stopAllSounds();
if (_root.level > 30) {
_root.stop();
} else {
_root.ent = 0;
_root.gotoAndPlay(5);
}
Instance of Symbol 178 MovieClip in Frame 11
onClipEvent (load) {
ck = 0;
dp = 0;
}
onClipEvent (enterFrame) {
ck++;
if ((ck > 0) and (dp < 35)) {
ck = -5;
dp++;
_root.attachMovie("flask", "flask" + dp, dp);
}
if (ck > 40) {
_root.play();
}
}
Instance of Symbol 202 MovieClip [flask] "aaae" in Frame 11
onClipEvent (load) {
unloadMovie (this);
}
Frame 12
stopAllSounds();
Instance of Symbol 262 MovieClip "music" in Frame 16
onClipEvent (load) {
if (_root.mfx == 2) {
gotoAndPlay (25);
}
}
Instance of Symbol 282 MovieClip in Frame 16
onClipEvent (load) {
if (_root.sfx == 1) {
_name = "snd";
}
if (_root.sfx == 2) {
_name = "snd1";
}
}
Instance of Symbol 178 MovieClip in Frame 16
onClipEvent (keyDown) {
if (Key.getCode() == 13) {
_root.ent = 1;
}
}
Instance of Symbol 178 MovieClip in Frame 16
onClipEvent (load) {
if (_root.sfx == 1) {
_name = "snd2";
}
if (_root.sfx == 2) {
_name = "snd";
}
}
Instance of Symbol 283 MovieClip "click" in Frame 16
onClipEvent (load) {
_visible = false;
}
Frame 18
pole = new Array([], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []);
y1 = 0;
while (y1 <= 9) {
x1 = 0;
while (x1 <= 14) {
pole[x1][y1] = 0;
x1++;
}
y1++;
}
stop();
Instance of Symbol 419 MovieClip "star" in Frame 18
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 178 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.ent == 1) {
if (_root.gamemode == "editor") {
_root.ent = 3;
_root.gotoAndPlay(23);
} else {
_root.ent = 3;
_root.gotoAndPlay(17);
}
}
}
Frame 20
locdatnam = SharedObject.getLocal("warpforest");
i = 1;
while (i <= 5) {
this["lv" + i].level = locdatnam.data["level" + i];
if (_root.gamemode != "normal") {
unloadMovie (this["lv" + i]);
}
i++;
}
if (_root.gamemode != "normal") {
unloadMovie (savegamesign);
}
if (gamemode == "editor") {
gotoAndPlay (23);
} else {
if (gamemode == "addon") {
if (level > maxaddlevel) {
stopAllSounds();
gotoAndPlay (24);
}
} else if (level > 30) {
stopAllSounds();
gotoAndPlay (11);
}
levgfx = "Level " + level;
stop();
}
Instance of Symbol 480 MovieClip in Frame 20
onClipEvent (load) {
if (_root.gamemode != "normal") {
unloadMovie (this);
}
}
Instance of Symbol 14 MovieClip in Frame 20
onClipEvent (load) {
_root.snd.gotoAndPlay(53);
}
onClipEvent (enterFrame) {
if (_root.ent == 1) {
_root.ent = 3;
_root.gotoAndPlay(18);
}
}
Instance of Symbol 498 MovieClip "mess" in Frame 20
onClipEvent (load) {
gotoAndStop (2);
}
Frame 22
gotoAndPlay (5);
Frame 23
if (gamemode != "editor") {
_root.ent = 0;
gotoAndPlay (5);
}
level = 0;
drw = 1;
drw1 = 1;
stop();
Instance of Symbol 554 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.ent == 1) {
_root.ent = 3;
_root.gotoAndPlay(18);
}
x1 = Math.floor(_root._xmouse / 40);
y1 = Math.floor(_root._ymouse / 40);
if ((((x1 >= 0) and (x1 < 14)) and (y1 >= 0)) and (y1 < 10)) {
if (((_root.dwn > 0) and (_root.drw == 1)) and (_root.drw1 == 1)) {
duplicateMovieClip (_root.editor[_root.tile + "stat"], (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
_root.editor[(("st" + x1) + "a") + y1]._x = (x1 * 40) + 20;
_root.editor[(("st" + x1) + "a") + y1]._y = (y1 * 40) + 20;
_root.map[x1][y1] = _root.tile;
}
}
}
Instance of Symbol 559 MovieClip "map2" in Frame 23
onClipEvent (load) {
_x = 180;
_y = 140;
}
Frame 24
if (gamemode != "addon") {
_root.ent = 0;
gotoAndPlay (5);
}
if (addlevelcredit.length < 1) {
addlevelcredit = "unknown";
}
stop();
Instance of Symbol 178 MovieClip in Frame 24
onClipEvent (load) {
ck = 0;
}
onClipEvent (keyDown) {
if (Key.getCode() == 13) {
_root.ent = 1;
}
}
Instance of Symbol 14 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (_root.ent == 1) {
_root.ent = 3;
stopAllSounds();
_root.gotoAndPlay(5);
}
}
Symbol 23 Button
on (release) {
if (locdatnam.data.level3 > 0) {
level = locdatnam.data.level3;
gotoAndPlay (18);
}
}
Symbol 24 Button
on (release) {
if (locdatnam.data.level2 > 0) {
level = locdatnam.data.level2;
gotoAndPlay (18);
}
}
Symbol 25 Button
on (release) {
if (locdatnam.data.level4 > 0) {
level = locdatnam.data.level4;
gotoAndPlay (18);
}
}
Symbol 26 Button
on (release) {
if (locdatnam.data.level1 > 0) {
level = locdatnam.data.level1;
gotoAndPlay (18);
}
}
Symbol 27 Button
on (release) {
if (locdatnam.data.level5 > 0) {
level = locdatnam.data.level5;
gotoAndPlay (18);
}
}
Symbol 39 Button
on (press) {
_parent.gotoAndPlay(18);
}
Symbol 43 Button
on (press) {
gotoAndPlay (8);
}
Symbol 46 Button
on (press) {
gotoAndPlay (10);
}
Symbol 48 MovieClip Frame 1
this.loadMovie("http://www.gamebalance.com/bannernetwork/bannernetwork.swf");
Symbol 49 MovieClip Frame 1
linecolor = 2;
topcolor = 8218686 /* 0x7D683E */;
maincolor = 4475733 /* 0x444B55 */;
moregamescolor = 16767631 /* 0xFFDA8F */;
moregamesshadow = 0;
titlecolor = 16777215 /* 0xFFFFFF */;
descriptioncolor = 13029600 /* 0xC6D0E0 */;
hostname = "gamebalance.com";
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(hostname);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(hostname);
}
Symbol 51 Button
on (press) {
_root.ent = 1;
}
Symbol 54 Button
on (release) {
getURL ("http://www.gamebalance.com/downloadgames/", "_blank");
}
Symbol 71 Button
on (release) {
getURL ("http://www.gamebalance.com", "_blank");
}
Symbol 109 MovieClip Frame 1
brr = 1;
stop();
Symbol 109 MovieClip Frame 2
/:menu.keyc++;
this.swapDepths(this.getDepth() - 1);
_name = (_name + "A");
/:snd.gotoAndPlay(27);
Symbol 109 MovieClip Frame 17
removeMovieClip(this);
Symbol 131 MovieClip Frame 1
brr = 1;
if (_name != "keys") {
/:menu.keyl++;
}
stop();
Symbol 131 MovieClip Frame 2
/:menu.keyl--;
this.swapDepths(this.getDepth() - 1);
_name = (_name + "A");
if (/:menu.keyl < 1) {
../:exit.gotoAndPlay(2);
}
/:snd.gotoAndPlay(11);
Symbol 131 MovieClip Frame 20
removeMovieClip(this);
Symbol 142 MovieClip Frame 1
ale1.ale._rotation = ale1.ale._rotation + 15;
Symbol 142 MovieClip Frame 2
gotoAndPlay (1);
Symbol 144 MovieClip Frame 1
_visible = 0;
Symbol 151 MovieClip Frame 35
stop();
Symbol 153 MovieClip Frame 1
if (_name != "star") {
gotoAndPlay (2);
} else {
stop();
}
Symbol 153 MovieClip Frame 2
_y = (_y - 5);
ck++;
if (ck > 10) {
_alpha = (_alpha - 20);
}
if (ck > 15) {
removeMovieClip(this);
}
Symbol 153 MovieClip Frame 3
gotoAndPlay (2);
Symbol 157 MovieClip Frame 9
stop();
Symbol 157 MovieClip Frame 18
stop();
Symbol 158 MovieClip [teleport] Frame 1
ck++;
if ((ck > 3) and (ck < 9)) {
st++;
duplicateMovieClip (star, "str" + st, st);
}
if (ck > 7) {
ttt.play();
}
if (ck > 8) {
gotoAndPlay (7);
}
Symbol 158 MovieClip [teleport] Frame 6
gotoAndPlay (1);
Symbol 158 MovieClip [teleport] Frame 24
stop();
Symbol 159 MovieClip Frame 1
x = Math.floor(_x / 40);
y = Math.floor(_y / 40);
stop();
Symbol 159 MovieClip Frame 3
if (this.obl.hitTest(../:tank.obl) == true) {
gotoAndPlay (4);
} else {
gotoAndPlay (2);
}
Symbol 159 MovieClip Frame 4
../:tank.gotoAndPlay(7);
this.swapDepths(999);
gotoAndPlay (5);
Symbol 159 MovieClip Frame 5
_parent[(("bl" + x) + "a") + y].hit = 1;
_parent[(("bl" + x) + "a") + y].play();
_parent[(("bl" + x) + "a") + y].life--;
Symbol 159 MovieClip Frame 6
gotoAndPlay (5);
Symbol 159 MovieClip Frame 16
ix = 0;
while (ix <= 2) {
iy = 0;
while (iy <= 2) {
x1 = (x + ix) - 1;
y1 = (y + iy) - 1;
_parent[(("bl" + x1) + "a") + y1].hit = 1;
_parent[(("bl" + x1) + "a") + y1].play();
_parent[(("bl" + x1) + "a") + y1].life--;
iy++;
}
ix++;
}
Symbol 173 MovieClip Frame 1
_visible = false;
Symbol 176 MovieClip Frame 15
stop();
Symbol 179 MovieClip [tank] Frame 1
function dvig() {
if (straigen == 1) {
rot = Math.floor((rot + 22.5) / 45) * 45;
}
if (firesimp == 1) {
fire++;
} else {
fire = 0;
}
if (firespec == 1) {
fire1++;
} else {
fire1 = 0;
}
}
if (_name == "tank1") {
gotoAndStop (15);
}
if (_name == "tank2") {
t6._visible = 0;
stop();
}
bdp = 1;
Instance of Symbol 173 MovieClip in Symbol 179 MovieClip [tank] Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == 39) {
_parent.rh++;
}
if (Key.getCode() == 37) {
_parent.lf++;
}
if (Key.getCode() == 38) {
_parent.up++;
}
if (Key.getCode() == 40) {
_parent.dn++;
}
if (Key.getCode() == 68) {
_parent.straigen = 1;
}
if (Key.getCode() == 65) {
_parent.firesimp = 1;
}
if (Key.getCode() == 83) {
_parent.firespec = 1;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 39) {
_parent.rh = 0;
}
if (Key.getCode() == 37) {
_parent.lf = 0;
}
if (Key.getCode() == 38) {
_parent.up = 0;
}
if (Key.getCode() == 40) {
_parent.dn = 0;
}
if (Key.getCode() == 68) {
_parent.straigen = 0;
}
if (Key.getCode() == 65) {
_parent.firesimp = 0;
}
if (Key.getCode() == 83) {
_parent.firespec = 0;
}
}
Symbol 179 MovieClip [tank] Frame 2
function upor(x1, y1, xs1, ys1) {
var _local1 = y1;
var _local2 = x1;
var _local3 = xs1;
x = Math.floor((_x + _local2) / 40);
y = Math.floor((_y + _local1) / 40);
while (/:pole[x][y] == 1) {
x = Math.floor((_x + _local2) / 40);
y = Math.floor((_y + _local1) / 40);
_x = (_x + _local3);
_y = (_y + ys1);
}
}
Symbol 179 MovieClip [tank] Frame 5
dvig();
x = Math.floor(_x / 40);
y = Math.floor(_y / 40);
this.swapDepths(((y * 80) - (x * 4)) + 81);
_parent[(("bl" + x) + "a") + y].play();
xsp = 1 * Math.sin((rot + 90) * (Math.PI/180));
ysp = -1 * Math.cos((rot + 90) * (Math.PI/180));
x = Math.floor((_x + (xsp * 30)) / 40);
y = Math.floor((_y + (ysp * 30)) / 40);
if (_parent[(("bl" + x) + "a") + y].opn == 1) {
_parent[(("bl" + x) + "a") + y].play();
}
_y = (_y + (ysp * spd));
_x = (_x + (xsp * spd));
m = 0;
if (up > 0) {
if (spd < 0) {
spd = 0;
}
spd = spd + 2;
m = 1;
}
if (dn > 0) {
if (spd > 0) {
spd = 0;
}
spd = spd - 2;
m = 1;
}
if (spd > 6) {
spd = 6;
}
if (spd < -5) {
spd = -5;
}
if (m == 0) {
spd = 0;
if (enm == 1) {
_root.snd.gotoAndPlay(57);
enm = 0;
}
}
if (spd != 0) {
_root.snd.gotoAndPlay(37);
enm = 1;
}
if (_x > 540) {
_x = 540;
}
if (_x < 20) {
_x = 20;
}
if (_y > 380) {
_y = 380;
}
if (_y < 20) {
_y = 20;
}
upor(15, -15, -1, 1);
upor(15, 15, -1, -1);
upor(-15, -15, 1, 1);
upor(-15, 15, 1, -1);
upor(20, 10, -1, 0);
upor(20, -10, -1, 0);
upor(10, 20, 0, -1);
upor(-10, 20, 0, -1);
upor(-20, 10, 1, 0);
upor(-20, -10, 1, 0);
upor(10, -20, 0, 1);
upor(-10, -20, 0, 1);
rrs = 0;
if (lf > 0) {
rs = rs - 2;
rrs = 1;
}
if (rh > 0) {
rs = rs + 2;
rrs = 1;
}
if (rs > 10) {
rs = 10;
}
if (rs < -10) {
rs = -10;
}
if (rrs == 0) {
rs = 0;
}
rot = rot + rs;
i = 1;
while (i < 7) {
this["t" + i]._rotation = rot;
i++;
}
if ((fire == 1) or (fire1 == 1)) {
if (bdp > 3) {
bdp = 1;
}
i = 1;
while (i < 4) {
if (_root.fon["bul" + bdp]._visible == 1) {
bl = 0;
bdp++;
if (_root.fon.bdp > 3) {
bdp = 1;
}
} else {
bl = 1;
}
i++;
}
if (bl == 1) {
if (fire == 1) {
duplicateMovieClip (_root.fon.bulet, "bul" + bdp, bdp + 1000);
fsp = 10;
}
if (fire1 == 1) {
if (/:menu.bl1 > 0) {
duplicateMovieClip (_root.fon.bulet1, "bul" + bdp, bdp + 1000);
fsp = 20;
/:menu.bl1--;
}
}
/:fon["bul" + bdp]._x = _x + (xsp * fsp);
/:fon["bul" + bdp]._y = (_y + (ysp * fsp)) - 2;
/:fon["bul" + bdp]._rotation = t1._rotation + 90;
}
}
Symbol 179 MovieClip [tank] Frame 6
gotoAndPlay (5);
Symbol 179 MovieClip [tank] Frame 7
col = new Color(this);
pal = new Object();
_root.music.gsound.setVolume(0);
_root.snd.gotoAndPlay(35);
_root.snd.gotoAndPlay(57);
/:fon.bubble._x = -200;
/:fon.bubble._y = -120;
/:fon.bubble.gotoAndStop(1);
Symbol 179 MovieClip [tank] Frame 8
i = 1;
while (i < 7) {
this["t" + i]._rotation = this["t" + i]._rotation + 15;
i++;
}
clr = clr + 10;
pal = {ra:"100", rb:clr, ga:"100", gb:clr, ba:"100", bb:clr, aa:"100", ab:"0"};
col.setTransform(pal);
cke++;
if (cke > 15) {
gotoAndPlay (16);
ske = 0;
}
Symbol 179 MovieClip [tank] Frame 9
gotoAndPlay (8);
Symbol 179 MovieClip [tank] Frame 11
i = 1;
while (i < 7) {
this["t" + i]._rotation = this["t" + i]._rotation - 25;
this["t" + i]._xscale = this["t" + i]._xscale - 4;
this["t" + i]._yscale = this["t" + i]._yscale - 4;
i++;
}
_xscale = (_xscale - 3);
_yscale = (_yscale - 3);
_alpha = (_alpha - 10);
_root.snd.gotoAndPlay(45);
if (cke > 15) {
gotoAndPlay (13);
}
cke++;
if (cke == 1) {
col = new Color(this);
pal = new Object();
_root.snd.gotoAndPlay(41);
_root.snd.gotoAndPlay(57);
}
clr = clr + 10;
pal = {ra:"100", rb:100 + clr, ga:"100", gb:100, ba:"100", bb:100, aa:100 - (clr / 2), ab:"0"};
col.setTransform(pal);
Instance of Symbol 178 MovieClip in Symbol 179 MovieClip [tank] Frame 11
onClipEvent (load) {
_root.music.gsound.setVolume(30);
unloadMovie (this);
}
Symbol 179 MovieClip [tank] Frame 12
gotoAndPlay (11);
Symbol 179 MovieClip [tank] Frame 13
/:gotoAndPlay(20);
Symbol 179 MovieClip [tank] Frame 16
pal = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
col.setTransform(pal);
rr = 100;
gg = 100;
bb = 100;
ccc = 1;
xst = _x;
_root.star.star.play();
_root.star.star1.play();
_root.star._x = _x;
_root.star._y = _y;
_root.star._visible = 1;
_parent.gotoAndStop(2);
col1 = new Color(_parent);
yss = 20;
Symbol 179 MovieClip [tank] Frame 17
_root.star._y = _root.star._y - ys;
if (ys < 9) {
ys++;
}
cks++;
if (cks > 19) {
if (yss > 0) {
yss--;
_root.star._y = _root.star._y + yss;
}
_parent._xscale = _parent._xscale - ((_parent._xscale / 12) + 0.4);
_parent._yscale = _parent._xscale;
}
if (_parent._xscale < 0.1) {
cks = 0;
pal = {ra:"0", rb:"0", ga:"0", gb:"0", ba:"0", bb:"0", aa:"100", ab:"0"};
col1.setTransform(pal);
gotoAndPlay (19);
}
_parent._x = (100 - _parent._xscale) * (_x / 100);
_parent._y = (100 - _parent._xscale) * (_y / 100);
if (cks > 35) {
ccc++;
_root.star._y = _root.star._y - (ccc / 2.5);
rr = rr - 2;
gg = gg - 2;
bb = bb - 2;
rr1 = Math.round(rr);
bb1 = Math.round(bb);
gg1 = Math.round(gg);
pal = {ra:rr1, rb:"0", ga:gg1, gb:"0", ba:bb1, bb:"0", aa:"100", ab:"0"};
col1.setTransform(pal);
}
Symbol 179 MovieClip [tank] Frame 18
gotoAndPlay (17);
Symbol 179 MovieClip [tank] Frame 19
_root.star._y = _root.star._y - (ccc / 2.5);
cks++;
if (cks > 10) {
if ((_root.gamemode == "normal") or (_root.gamemode == "addon")) {
_root.level++;
}
_root.gotoAndPlay(20);
}
Symbol 179 MovieClip [tank] Frame 20
gotoAndPlay (19);
Symbol 188 Button
on (press) {
gotoAndPlay (4);
}
Symbol 193 MovieClip Frame 31
removeMovieClip(_parent._parent);
Symbol 198 MovieClip Frame 15
stop();
Symbol 199 MovieClip Frame 1
_yscale = 10;
_alpha = 50;
stt = 1;
gotoAndPlay (2);
Symbol 199 MovieClip Frame 2
if (stt == 1) {
_yscale = (_yscale + 20);
_alpha = (_alpha + 10);
if (_yscale > 100) {
stt = 2;
}
}
if (stt == 2) {
_yscale = (_yscale - (_yscale / 10));
_alpha = (_alpha - 8);
if (_alpha < 0) {
unloadMovie (this);
}
}
Symbol 199 MovieClip Frame 3
gotoAndPlay (2);
Symbol 202 MovieClip [flask] Frame 1
if ((_root._currentframe == 11) and (_name != "aaae")) {
if ((_root.sfx == 1) or (_root.mfx == 1)) {
gotoAndPlay (3);
} else {
gotoAndPlay (2);
}
} else {
stop();
}
Symbol 202 MovieClip [flask] Frame 2
cik._x = (random(25) * 20) + 30;
cik._y = (random(19) * 20) + 20;
st2._x = cik._x;
st1._y = cik._y;
col1 = new Color(this);
pal = new Object();
gg1 = 0;
rr1 = 0;
bb1 = 0;
i = 1;
while (i <= 2) {
pc1 = random(3) + 1;
if (pc1 == 1) {
rr1 = random(100) + 150;
}
if (pc1 == 2) {
gg1 = random(100) + 150;
}
if (pc1 == 3) {
bb1 = random(100) + 150;
}
i++;
}
pal = {ra:"100", rb:rr1, ga:"100", gb:gg1, ba:"100", bb:bb1, aa:"100", ab:"0"};
col1.setTransform(pal);
stop();
Symbol 202 MovieClip [flask] Frame 3
cik._x = (random(25) * 20) + 30;
cik._y = (random(19) * 20) + 20;
st2._x = cik._x;
st1._y = cik._y;
col1 = new Color(this);
pal = new Object();
gg1 = 0;
rr1 = 0;
bb1 = 0;
i = 1;
while (i <= 2) {
pc1 = random(3) + 1;
if (pc1 == 1) {
rr1 = random(100) + 150;
}
if (pc1 == 2) {
gg1 = random(100) + 150;
}
if (pc1 == 3) {
bb1 = random(100) + 150;
}
i++;
}
pal = {ra:"100", rb:rr1, ga:"100", gb:gg1, ba:"100", bb:bb1, aa:"100", ab:"0"};
col1.setTransform(pal);
stop();
Symbol 215 MovieClip Frame 26
removeMovieClip(_parent);
Symbol 216 MovieClip Frame 26
removeMovieClip(_parent);
Symbol 228 MovieClip Frame 1
gotoAndPlay (2);
xs = 90;
yc = 32.3;
Instance of Symbol 211 MovieClip in Symbol 228 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - 0.1);
}
Instance of Symbol 211 MovieClip in Symbol 228 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - 0.2);
}
Instance of Symbol 211 MovieClip in Symbol 228 MovieClip Frame 1
onClipEvent (load) {
x = _x;
}
onClipEvent (enterFrame) {
x = x - 0.03;
_x = x;
}
Instance of Symbol 211 MovieClip in Symbol 228 MovieClip Frame 1
onClipEvent (load) {
x = _x;
}
onClipEvent (enterFrame) {
x = x - 0.03;
_x = x;
}
Instance of Symbol 211 MovieClip in Symbol 228 MovieClip Frame 1
onClipEvent (load) {
x = _x;
}
onClipEvent (enterFrame) {
x = x - 0.07;
_x = x;
}
Instance of Symbol 211 MovieClip in Symbol 228 MovieClip Frame 1
onClipEvent (load) {
x = _x;
}
onClipEvent (enterFrame) {
x = x - 0.24;
_x = x;
}
Instance of Symbol 211 MovieClip in Symbol 228 MovieClip Frame 1
onClipEvent (load) {
x = _x;
}
onClipEvent (enterFrame) {
x = x - 0.03;
_x = x;
}
Instance of Symbol 211 MovieClip in Symbol 228 MovieClip Frame 1
onClipEvent (load) {
x = _x;
}
onClipEvent (enterFrame) {
x = x - 0.24;
_x = x;
}
Symbol 228 MovieClip Frame 2
ck++;
xs = xs + 0.1;
if (car._xscale < 140) {
car._xscale = xs;
car._yscale = xs;
car._y = yc;
yc = yc - 0.02;
}
if (ck > 6) {
dp++;
ck = 0;
this.pt.attachMovie("treeride", "tr" + dp, dp);
}
Symbol 228 MovieClip Frame 3
gotoAndPlay (2);
Symbol 237 MovieClip Frame 1
sc = sc + 0.1;
abr2._xscale = 105 + (Math.sin(sc) * 10);
abr2._yscale = abr2._xscale;
_xscale = (100 + (Math.sin(sc) * 5));
_yscale = _xscale;
_rotation = (_rotation + 2);
abr1._rotation = abr1._rotation + 1;
if (_alpha < 50) {
aph = aph + 0.5;
_alpha = aph;
}
Symbol 237 MovieClip Frame 2
gotoAndPlay (1);
Symbol 237 MovieClip Frame 3
sc = sc + 0.1;
abr2._xscale = 105 + (Math.sin(sc) * 10);
abr2._yscale = abr2._xscale;
_xscale = (100 + (Math.sin(sc) * 5));
_yscale = _xscale;
_rotation = (_rotation + 2);
abr1._rotation = abr1._rotation + 1;
if (_alpha > 0) {
aph = aph - 1.5;
_alpha = aph;
}
Symbol 237 MovieClip Frame 4
gotoAndPlay (3);
Symbol 238 MovieClip Frame 50
ck++;
if (ck > 400) {
ck = 0;
gotoAndPlay (52);
}
Symbol 238 MovieClip Frame 51
gotoAndPlay (50);
Symbol 238 MovieClip Frame 121
ck++;
if (ck > 350) {
trin.gotoAndPlay(3);
ck = 0;
gotoAndPlay (122);
} else {
gotoAndPlay (120);
}
Symbol 243 MovieClip Frame 1
if (_root.level > 30) {
_root.level = 1;
_root.stop();
} else {
_root.gotoAndPlay(1);
}
Symbol 244 MovieClip Frame 1
function resetsound() {
loop1.onSoundComplete = function () {
};
loop2.onSoundComplete = function () {
};
}
this.attachMovie("soundsp", "loop1", 1);
this.attachMovie("soundsp", "loop2", 2);
loop1._visible = 0;
loop2._visible = 0;
gsound = new Sound(this);
loop1 = new Sound(loop1.snd);
loop1.attachSound("loop1");
loop1.setVolume(45);
loop2 = new Sound(loop2.snd);
loop2.attachSound("loop2");
loop2.setVolume(55);
kmp = 0;
fdo = 0;
if ((_root.sfx == 2) and (_root.mfx == 2)) {
stop();
}
Instance of Symbol 178 MovieClip in Symbol 244 MovieClip Frame 1
onClipEvent (load) {
ck = 0;
}
onClipEvent (enterFrame) {
if (_parent.fdo > 4) {
ck++;
}
if ((ck > 0) and (ck < 402)) {
_parent.gsound.setVolume(100 - (ck / 4));
}
if (ck > 401) {
_parent.stop();
_parent.kmp = 1;
}
}
Symbol 244 MovieClip Frame 2
loop1.start(0, 2);
resetsound();
if (kmp != 1) {
fdo++;
loop1.onSoundComplete = function () {
gotoAndPlay (4);
};
}
Symbol 244 MovieClip Frame 3
stop();
Symbol 244 MovieClip Frame 4
loop2.start(0, 2);
resetsound();
if (kmp != 1) {
fdo++;
loop2.onSoundComplete = function () {
gotoAndPlay (2);
};
}
Symbol 244 MovieClip Frame 5
stop();
Symbol 248 Button
on (press) {
_root.ent = 0;
stopAllSounds();
gotoAndPlay (5);
}
Symbol 260 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 1
function resetsound() {
music1.onSoundComplete = function () {
};
music2.onSoundComplete = function () {
};
music3.onSoundComplete = function () {
};
music4.onSoundComplete = function () {
};
music5.onSoundComplete = function () {
};
loop1.onSoundComplete = function () {
};
loop2.onSoundComplete = function () {
};
}
this.attachMovie("soundsp", "loop1", 1);
this.attachMovie("soundsp", "loop2", 2);
this.attachMovie("soundsp", "loop3", 3);
this.attachMovie("soundsp", "music1", 13);
this.attachMovie("soundsp", "music2", 14);
this.attachMovie("soundsp", "music3", 15);
this.attachMovie("soundsp", "music4", 16);
gsound = new Sound(this);
loop1 = new Sound(loop1.snd);
loop1.attachSound("loop1");
loop1.setVolume(45);
loop2 = new Sound(loop2.snd);
loop2.attachSound("loop2");
loop2.setVolume(55);
music1 = new Sound(music1.snd);
music1.attachSound("music1");
music1.setVolume(70);
music2 = new Sound(music2.snd);
music2.attachSound("music2");
music2.setVolume(70);
music3 = new Sound(music3.snd);
music3.attachSound("music3");
music3.setVolume(70);
music4 = new Sound(music4.snd);
music4.attachSound("music4");
music4.setVolume(70);
Symbol 262 MovieClip Frame 2
music1.start();
resetsound();
music1.onSoundComplete = function () {
gotoAndPlay (4);
};
Symbol 262 MovieClip Frame 3
stop();
Symbol 262 MovieClip Frame 4
music1.start();
loop1.start(0, 8);
resetsound();
music1.onSoundComplete = function () {
gotoAndPlay (6);
};
Symbol 262 MovieClip Frame 5
stop();
Symbol 262 MovieClip Frame 6
music1.start();
loop2.start(0, 8);
resetsound();
music1.onSoundComplete = function () {
gotoAndPlay (8);
};
Symbol 262 MovieClip Frame 7
stop();
Symbol 262 MovieClip Frame 8
music4.start(0, 4);
loop1.start(0, 4);
resetsound();
music4.onSoundComplete = function () {
gotoAndPlay (10);
};
Symbol 262 MovieClip Frame 9
stop();
Symbol 262 MovieClip Frame 10
music3.start(0, 4);
loop1.start(0, 4);
resetsound();
music3.onSoundComplete = function () {
gotoAndPlay (12);
};
Symbol 262 MovieClip Frame 11
stop();
Symbol 262 MovieClip Frame 12
music4.start(0, 4);
resetsound();
music4.onSoundComplete = function () {
gotoAndPlay (14);
};
Symbol 262 MovieClip Frame 13
stop();
Symbol 262 MovieClip Frame 14
music3.start(0, 4);
resetsound();
music3.onSoundComplete = function () {
gotoAndPlay (16);
};
Symbol 262 MovieClip Frame 15
stop();
Symbol 262 MovieClip Frame 16
music2.start();
resetsound();
music2.onSoundComplete = function () {
gotoAndPlay (18);
};
Symbol 262 MovieClip Frame 17
stop();
Symbol 262 MovieClip Frame 18
music2.start();
loop1.start(0, 8);
resetsound();
music2.onSoundComplete = function () {
gotoAndPlay (20);
};
Symbol 262 MovieClip Frame 19
stop();
Symbol 262 MovieClip Frame 20
music3.start(0, 8);
resetsound();
music3.onSoundComplete = function () {
gotoAndPlay (2);
};
Symbol 262 MovieClip Frame 21
stop();
Symbol 262 MovieClip Frame 25
stopAllSounds();
resetsound();
stop();
Symbol 282 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 4
stop();
Symbol 282 MovieClip Frame 6
stop();
Symbol 282 MovieClip Frame 8
stop();
Symbol 282 MovieClip Frame 10
stop();
Symbol 282 MovieClip Frame 12
stop();
Symbol 282 MovieClip Frame 14
stop();
Symbol 282 MovieClip Frame 16
stop();
Symbol 282 MovieClip Frame 18
stop();
Symbol 282 MovieClip Frame 20
stop();
Symbol 282 MovieClip Frame 22
stop();
Symbol 282 MovieClip Frame 24
stop();
Symbol 282 MovieClip Frame 26
stop();
Symbol 282 MovieClip Frame 28
stop();
Symbol 282 MovieClip Frame 30
stop();
Symbol 282 MovieClip Frame 32
stop();
Symbol 282 MovieClip Frame 34
stop();
Symbol 282 MovieClip Frame 36
stop();
Symbol 282 MovieClip Frame 38
stop();
Symbol 282 MovieClip Frame 40
stop();
Symbol 282 MovieClip Frame 42
stop();
Symbol 282 MovieClip Frame 46
stop();
Symbol 282 MovieClip Frame 48
stop();
Symbol 282 MovieClip Frame 50
stop();
Symbol 282 MovieClip Frame 52
stop();
Symbol 282 MovieClip Frame 54
stop();
Symbol 282 MovieClip Frame 58
stop();
Symbol 283 MovieClip Frame 1
_root.dwn = 0;
ddd = 0;
_root.clc = 0;
Symbol 283 MovieClip Frame 2
this.onMouseDown = function () {
ddd = 1;
};
this.onMouseUp = function () {
_root.clc++;
};
Symbol 283 MovieClip Frame 3
if (ddd == 1) {
_root.dwn++;
}
if (_root.clc == 0) {
gotoAndPlay (2);
}
Symbol 287 MovieClip Frame 1
_visible = 0;
Symbol 291 MovieClip Frame 1
defik = 1;
stop();
Symbol 291 MovieClip Frame 10
gotoAndStop (1);
Symbol 293 MovieClip Frame 1
l1.gotoAndPlay(3);
l2.gotoAndPlay(1);
l3.gotoAndPlay(6);
l4.gotoAndPlay(9);
l5.gotoAndPlay(5);
l6.gotoAndPlay(7);
Symbol 305 MovieClip Frame 1
/:snd.gotoAndPlay(51);
Symbol 305 MovieClip Frame 19
unloadMovie (this);
Symbol 306 MovieClip Frame 1
ck++;
Symbol 306 MovieClip Frame 2
if (ck < 19) {
gotoAndPlay (1);
}
Symbol 306 MovieClip Frame 3
removeMovieClip(_parent);
Symbol 309 MovieClip Frame 1
if (_name == "blood") {
gotoAndStop (5);
} else {
gotoAndPlay (2);
}
Symbol 309 MovieClip Frame 2
_y = (_y - 2);
ck++;
if (ck > 10) {
_alpha = (_alpha - 20);
}
if (ck > 15) {
removeMovieClip(this);
}
Symbol 309 MovieClip Frame 3
gotoAndPlay (2);
Symbol 311 MovieClip Frame 1
unloadMovie (this);
Symbol 312 MovieClip Frame 1
if (../:hit == 1) {
Set("../:hit", 0);
../:gotoAndPlay(2);
}
Symbol 312 MovieClip Frame 2
gotoAndPlay (1);
Instance of Symbol 312 MovieClip in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
/:snd.gotoAndPlay(45);
/:snd.gotoAndPlay(21);
/:snd.gotoAndPlay(19);
../:dp++;
Set("../../:lf1", ../../:life);
}
Symbol 314 MovieClip Frame 9
stop();
Symbol 315 MovieClip Frame 1
function bulla() {
var _local1 = this;
brr = 1;
vi = 1;
while (vi <= 4) {
xa = /:fon["bul" + vi]._x;
ya = /:fon["bul" + vi]._y;
if (_local1.anim.hitTest(xa, ya, 1) == true) {
if (/:fon["bul" + vi].dmg == 1) {
hit = 1;
life--;
}
/:fon["bul" + vi].gotoAndPlay(4);
}
vi++;
}
}
function name() {
var _local1 = _parent;
var _local2 = this;
x = Math.floor(_x / 40);
y = Math.floor(_y / 40);
name1 = nam;
nam = (("bl" + x) + "a") + y;
if ((obl.hitTest(../:tank._x, ../:tank._y, 1) == true) and (../:tank.obl.hitTest(_local2) == true)) {
../:tank.gotoAndPlay(11);
} else if (name1 != nam) {
if (_local1[(("bl" + x) + "a") + y].hitTest(_local2) == true) {
if (_local1[(("bl" + x) + "a") + y].drr != 1) {
removeMovieClip(_local1[(("bl" + x) + "a") + y]);
}
}
_name = ((("bl" + x) + "a") + y);
}
_local2.swapDepths(((y * 80) - (x * 4)) + 80);
}
defik = 1;
ck = -1;
spds = 1;
life = 2;
lf1 = 2;
if (_name == "spider") {
stop();
} else {
x = Math.floor(_x / 40);
y = Math.floor(_y / 40);
x1 = x;
y1 = y;
gotoAndPlay (2);
}
nam = (("bl" + x) + "a") + y;
Symbol 315 MovieClip Frame 2
brr = 0;
if (hit == 1) {
if (life != lf1) {
gotoAndPlay (17);
fr = 2;
}
anim.gotoAndPlay(2);
hit = 0;
ck = 1;
}
stp = 0;
if ((_x > (../:tank._x - 30)) and (_x < (../:tank._x + 30))) {
if (../:tank._y < _y) {
i = 1;
while (i <= 20) {
yd = y - i;
if ((yd * 40) < 0) {
i = 21;
}
if (((/:pole[x][yd] == 1) or (_parent[(("bl" + x) + "a") + yd].spds == 1)) and ((yd * 40) > ../:tank._y)) {
stp = 1;
i = 21;
}
i++;
}
if (stp != 1) {
anim.gotoAndStop(14);
ck = 0;
fr = 9;
gotoAndPlay (9);
}
}
if (../:tank._y > _y) {
i = 1;
while (i <= 20) {
yd = y + i;
if ((yd * 40) > 400) {
i = 21;
}
if (((/:pole[x][yd] == 1) or (_parent[(("bl" + x) + "a") + yd].spds == 1)) and ((yd * 40) < ../:tank._y)) {
stp = 1;
i = 21;
}
i++;
}
if (stp != 1) {
anim.gotoAndStop(14);
ck = 0;
fr = 11;
gotoAndPlay (11);
}
}
}
if ((_y > (../:tank._y - 30)) and (_y < (../:tank._y + 30))) {
if (../:tank._x < _x) {
i = 1;
while (i <= 20) {
xd = x - i;
if ((xd * 40) < 0) {
i = 21;
}
if (((/:pole[xd][y] == 1) or (_parent[(("bl" + xd) + "a") + y].spds == 1)) and ((xd * 40) > ../:tank._x)) {
stp = 1;
i = 21;
}
i++;
}
if (stp != 1) {
anim.gotoAndStop(14);
ck = 0;
fr = 5;
gotoAndPlay (5);
}
}
if (../:tank._x > _x) {
i = 1;
while (i <= 20) {
xd = x + i;
if ((xd * 40) > 550) {
i = 21;
}
if (((/:pole[xd][y] == 1) or (_parent[(("bl" + xd) + "a") + y].spds == 1)) and ((xd * 40) < ../:tank._x)) {
stp = 1;
i = 21;
}
i++;
}
if (stp != 1) {
anim.gotoAndStop(14);
ck = 0;
fr = 7;
gotoAndPlay (7);
}
}
}
if ((ck < 0) or (ck > 11)) {
anim.gotoAndStop(1);
} else {
ck++;
}
Symbol 315 MovieClip Frame 3
gotoAndPlay (2);
Symbol 315 MovieClip Frame 5
ck++;
bulla();
if (life != lf1) {
ckf = 0;
gotoAndPlay (17);
} else if (ck > 11) {
gotoAndPlay (2);
} else {
name();
_x = (_x - 4);
}
Instance of Symbol 178 MovieClip in Symbol 315 MovieClip Frame 5
onClipEvent (load) {
_visible = 0;
}
onClipEvent (unload) {
_root.snd.gotoAndPlay(53);
}
onClipEvent (enterFrame) {
_root.snd.gotoAndPlay(33);
}
Symbol 315 MovieClip Frame 6
gotoAndPlay (5);
Symbol 315 MovieClip Frame 7
ck++;
bulla();
if (life != lf1) {
ckf = 0;
gotoAndPlay (17);
} else if (ck > 11) {
gotoAndPlay (2);
} else {
name();
_x = (_x + 4);
}
Symbol 315 MovieClip Frame 8
gotoAndPlay (7);
Symbol 315 MovieClip Frame 9
ck++;
bulla();
if (life != lf1) {
ckf = 0;
gotoAndPlay (17);
} else if (ck > 11) {
gotoAndPlay (2);
} else {
name();
_y = (_y - 4);
}
Symbol 315 MovieClip Frame 10
gotoAndPlay (9);
Symbol 315 MovieClip Frame 11
ck++;
bulla();
if (life != lf1) {
ckf = 0;
gotoAndPlay (17);
} else if (ck > 11) {
gotoAndPlay (2);
} else {
name();
_y = (_y + 4);
}
Symbol 315 MovieClip Frame 12
gotoAndPlay (11);
Symbol 315 MovieClip Frame 15
ck3++;
if (ck3 == 1) {
/:snd.gotoAndPlay(45);
/:snd.gotoAndPlay(17);
pole0();
_name = (_name + "x");
}
Symbol 315 MovieClip Frame 16
gotoAndPlay (15);
Symbol 315 MovieClip Frame 17
ckf++;
bulla();
if (life < 1) {
gotoAndPlay (15);
} else if (ckf > 14) {
ckf = 0;
gotoAndPlay(fr);
}
Symbol 315 MovieClip Frame 18
gotoAndPlay (17);
Symbol 319 MovieClip Frame 1
if (_name == "blood") {
gotoAndStop (5);
} else {
gotoAndPlay (2);
}
Symbol 319 MovieClip Frame 2
_y = (_y - 2);
ck++;
if (ck > 10) {
_alpha = (_alpha - 20);
}
if (ck > 15) {
removeMovieClip(this);
}
Symbol 319 MovieClip Frame 3
gotoAndPlay (2);
Symbol 321 MovieClip Frame 1
defik = 1;
if (sets != 1) {
sets = 1;
Set("../:life", 3);
Set("../:lf1", 3);
}
if (../:life < 1) {
gotoAndPlay (11);
} else {
stop();
}
Instance of Symbol 312 MovieClip in Symbol 321 MovieClip Frame 2
onClipEvent (enterFrame) {
if (../../:life < 1) {
../:gotoAndPlay(11);
}
if (../../:life != ../../:lf1) {
/:snd.gotoAndPlay(45);
/:snd.gotoAndPlay(21);
/:snd.gotoAndPlay(19);
../:dp++;
duplicateMovieClip (../:blood, "bld" + ../:dp, ../:dp);
}
Set("../../:lf1", ../../:life);
}
Symbol 321 MovieClip Frame 10
if (../:life > 0) {
gotoAndStop (1);
}
Symbol 321 MovieClip Frame 11
ck++;
if (ck == 1) {
removeMovieClip("bld" + dp);
../:gotoAndPlay(4);
}
Symbol 321 MovieClip Frame 12
if (ck < 19) {
gotoAndPlay (11);
}
Symbol 321 MovieClip Frame 13
removeMovieClip(_parent);
Symbol 322 MovieClip Frame 1
defik = 1;
if (_name == "deye") {
stop();
} else {
x = Math.floor(_x / 40);
y = Math.floor(_y / 40);
gotoAndPlay (2);
}
Symbol 322 MovieClip Frame 2
if (hit == 1) {
anim.gotoAndPlay(2);
hit = 0;
}
if ((_x > (../:tank._x - 30)) and (_x < (../:tank._x + 30))) {
if (../:tank._y < _y) {
fire = 1;
r = 0;
xs = 0;
ys = -20;
firex = 0;
i = 1;
while (i <= 20) {
yd = y - i;
if ((yd * 40) < 0) {
i = 21;
}
if ((_parent[(("bl" + x) + "a") + yd].defik == 1) and ((yd * 40) > ../:tank._y)) {
fire = 0;
}
i++;
}
}
if (../:tank._y > _y) {
fire = 1;
r = 2;
xs = 0;
ys = 20;
firex = 0;
i = 1;
while (i <= 20) {
yd = y + i;
if ((yd * 40) > 400) {
i = 21;
}
if ((_parent[(("bl" + x) + "a") + yd].defik == 1) and ((yd * 40) < ../:tank._y)) {
fire = 0;
}
i++;
}
}
}
if ((_y > (../:tank._y - 30)) and (_y < (../:tank._y + 30))) {
if (../:tank._x < _x) {
fire = 1;
r = 3;
ys = 0;
xs = -20;
firex = 1;
i = 1;
while (i <= 20) {
xd = x - i;
if ((xd * 40) < 0) {
i = 21;
}
if ((_parent[(("bl" + xd) + "a") + y].defik == 1) and ((xd * 40) > ../:tank._x)) {
fire = 0;
}
i++;
}
}
if (../:tank._x > _x) {
fire = 1;
r = 1;
ys = 0;
xs = 20;
firex = 1;
i = 1;
while (i <= 20) {
xd = x + i;
if ((xd * 40) > 550) {
i = 21;
}
if ((_parent[(("bl" + xd) + "a") + y].defik == 1) and ((xd * 40) < ../:tank._x)) {
fire = 0;
}
i++;
}
}
}
if (fire == 1) {
fire = 0;
if (_root.hitTest(_parent["bulm" + _name]) != true) {
_root.snd.gotoAndPlay(5);
anim.gotoAndPlay(3);
duplicateMovieClip (../:buletm, "bulm" + _name, getDepth(this) + 1);
_parent["bulm" + _name]._x = _x + xs;
_parent["bulm" + _name]._y = _y + ys;
_parent["bulm" + _name].firex = firex;
_parent["bulm" + _name]._rotation = r * 90;
}
}
Symbol 322 MovieClip Frame 3
gotoAndPlay (2);
Symbol 322 MovieClip Frame 4
ck++;
if (ck == 1) {
/:snd.gotoAndPlay(45);
/:snd.gotoAndPlay(47);
/:snd.gotoAndPlay(23);
/:snd.gotoAndPlay(17);
_name = (_name + "x");
pole0();
}
Symbol 322 MovieClip Frame 5
gotoAndPlay (4);
Symbol 327 MovieClip Frame 1
defik = 1;
stop();
Symbol 331 MovieClip Frame 1
if (sets != 1) {
life = 1;
sets = 1;
}
if (life < 1) {
gotoAndPlay (13);
} else {
stop();
}
Instance of Symbol 312 MovieClip in Symbol 331 MovieClip Frame 2
onClipEvent (enterFrame) {
if (../:life < 1) {
../:gotoAndPlay(13);
}
}
Symbol 331 MovieClip Frame 12
if (life > 0) {
gotoAndStop (1);
}
Symbol 331 MovieClip Frame 13
ck++;
if (ck == 1) {
/:snd.gotoAndPlay(45);
/:snd.gotoAndPlay(17);
_name = (_name + "x");
pole0();
}
Symbol 331 MovieClip Frame 14
if (ck < 19) {
gotoAndPlay (13);
}
Symbol 331 MovieClip Frame 15
removeMovieClip(this);
Symbol 332 MovieClip Frame 1
stop();
Symbol 332 MovieClip Frame 2
play();
Symbol 334 MovieClip Frame 1
if (../:bbn == 1) {
gotoAndStop (16);
}
Set("../:bbn", 1);
Symbol 334 MovieClip Frame 16
stop();
Symbol 335 MovieClip Frame 1
if (../:bbn1 == 1) {
gotoAndStop (16);
} else {
/:snd.gotoAndPlay(9);
}
Set("../:bbn1", 1);
Symbol 335 MovieClip Frame 16
stop();
Symbol 337 MovieClip Frame 1
if (hit == 1) {
hit = 0;
anim1.gotoAndPlay(2);
}
stop();
Symbol 337 MovieClip Frame 2
if (bonus < 1) {
if (tnk == 1) {
delta_x = _x - _parent.tank._x;
delta_y = _y - _parent.tank._y;
rt = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
y1 = -40 * Math.cos(rt * (Math.PI/180));
x1 = 40 * Math.sin(rt * (Math.PI/180));
} else {
y1 = 40 * Math.cos(rt * (Math.PI/180));
x1 = -40 * Math.sin(rt * (Math.PI/180));
}
x = Math.floor((_x + x1) / 40);
y = Math.floor((_y + y1) / 40);
if (_root.hitTest(_parent[(("bl" + x) + "a") + y]) == false) {
duplicateMovieClip (../:bulbon, (("bl" + x) + "a") + y, ((y * 80) - (x * 4)) + 80);
_parent[(("bl" + x) + "a") + y]._x = (x * 40) + 20;
_parent[(("bl" + x) + "a") + y]._y = (y * 40) + 20;
bonus++;
defik = 1;
} else {
gotoAndStop (1);
hit = 1;
}
}
Symbol 337 MovieClip Frame 11
gotoAndStop (2);
Symbol 341 MovieClip Frame 24
ck++;
gotoAndPlay (23);
if (ck > 120) {
ck = 0;
gotoAndPlay (25);
}
Symbol 341 MovieClip Frame 29
if (ck < 10) {
gotoAndPlay (25);
} else {
removeMovieClip(_parent);
}
ck++;
Symbol 342 MovieClip Frame 1
brr = 1;
if (_name == "bulbon") {
bon.stop();
stop();
} else {
gotoAndPlay (2);
}
Symbol 342 MovieClip Frame 16
stop();
Symbol 342 MovieClip Frame 17
/:menu.bl1++;
/:snd.gotoAndPlay(13);
removeMovieClip(this);
Symbol 348 MovieClip Frame 1
defik = 1;
drr = 1;
opn = 1;
stop();
Symbol 348 MovieClip Frame 2
if (/:menu.keyc > 0) {
/:menu.keyc--;
gotoAndPlay (3);
/:snd.gotoAndPlay(15);
} else {
gotoAndStop (1);
}
Symbol 348 MovieClip Frame 12
pole0();
brr = 1;
defik = 0;
Symbol 348 MovieClip Frame 16
gotoAndStop (15);
Symbol 352 MovieClip Frame 1
_rotation = ../:rt;
Symbol 353 MovieClip Frame 1
if (_name == "bulet1") {
stop();
} else {
dmg = 1;
rt = _rotation;
bb._rotation = rt;
shd._rotation = rt;
_rotation = 0;
gotoAndPlay (2);
/:snd.gotoAndPlay(5);
}
Symbol 353 MovieClip Frame 2
_y = (_y - (10 * Math.cos(rt * (Math.PI/180))));
_x = (_x + (10 * Math.sin(rt * (Math.PI/180))));
xp = _parent._x;
yp = _parent._y;
if (((((_x + xp) > 550) or ((_x + xp) < 0)) or ((_y + yp) > 400)) or ((_y + yp) < 0)) {
removeMovieClip(this);
}
x = Math.floor(_x / 40);
y = Math.floor(_y / 40);
if (_parent[(("bl" + x) + "a") + y].brr != 1) {
if (_parent[(("bl" + x) + "a") + y].hitTest(_root) == true) {
_parent[(("bl" + x) + "a") + y].hit = 1;
_parent[(("bl" + x) + "a") + y].rt = rt;
_parent[(("bl" + x) + "a") + y].tnk = 1;
if (_parent[(("bl" + x) + "a") + y].drr != 1) {
_parent[(("bl" + x) + "a") + y].play();
}
_parent[(("bl" + x) + "a") + y].life--;
gotoAndPlay (4);
}
}
Symbol 353 MovieClip Frame 3
gotoAndPlay (2);
Symbol 353 MovieClip Frame 4
../:ppd++;
if (../:ppd > 20) {
Set("../:ppd", 1);
}
duplicateMovieClip (../:podc, "podb" + ../:ppd, 1025 + ../:ppd);
_parent["podb" + ../:ppd]._x = _x;
_parent["podb" + ../:ppd]._y = _y;
_parent["podb" + ../:ppd]._rotation = rt;
removeMovieClip(this);
Symbol 357 MovieClip Frame 1
if (_name == "bulet") {
stop();
} else {
/:snd.gotoAndPlay(3);
gotoAndPlay (2);
}
Symbol 357 MovieClip Frame 2
_y = (_y - (10 * Math.cos(_rotation * (Math.PI/180))));
_x = (_x + (10 * Math.sin(_rotation * (Math.PI/180))));
xp = _parent._x;
yp = _parent._y;
if (((((_x + xp) > 550) or ((_x + xp) < 0)) or ((_y + yp) > 400)) or ((_y + yp) < 0)) {
removeMovieClip(this);
}
x = Math.floor(_x / 40);
y = Math.floor(_y / 40);
if (_parent[(("bl" + x) + "a") + y].brr != 1) {
if (_parent[(("bl" + x) + "a") + y].hitTest(_root) == true) {
_parent[(("bl" + x) + "a") + y].hit = 1;
_parent[(("bl" + x) + "a") + y].rt = _rotation;
_parent[(("bl" + x) + "a") + y].tnk = 1;
if (_parent[(("bl" + x) + "a") + y].drr != 1) {
_parent[(("bl" + x) + "a") + y].play();
}
gotoAndPlay (4);
}
}
Symbol 357 MovieClip Frame 3
gotoAndPlay (2);
Symbol 357 MovieClip Frame 4
../:ppd++;
if (../:ppd > 20) {
Set("../:ppd", 1);
}
duplicateMovieClip (../:podb, "podb" + ../:ppd, 1025 + ../:ppd);
_parent["podb" + ../:ppd]._x = _x;
_parent["podb" + ../:ppd]._y = _y;
_parent["podb" + ../:ppd]._rotation = _rotation;
/:snd.gotoAndPlay(49);
/:snd.gotoAndPlay(7);
removeMovieClip(this);
Symbol 360 MovieClip Frame 1
_rotation = ../:rt;
Symbol 365 MovieClip Frame 1
_rotation = ../:rt;
Symbol 367 MovieClip Frame 1
if (_name == "buletm") {
stop();
obl._visible = 0;
} else {
firerefx = function () {
var _local1 = _parent;
../:ppd++;
if (../:ppd > 20) {
Set("../:ppd", 1);
}
duplicateMovieClip (../:pode, "podb" + ../:ppd, 1025 + ../:ppd);
_local1["podb" + ../:ppd]._x = _x;
_local1["podb" + ../:ppd]._y = _y - 10;
_local1["podb" + ../:ppd]._rotation = rt;
};
rt = _rotation;
_rotation = 0;
obl._rotation = rt;
obl._visible = 0;
gotoAndPlay (2);
}
Symbol 367 MovieClip Frame 2
_y = (_y - (15 * Math.cos(rt * (Math.PI/180))));
_x = (_x + (15 * Math.sin(rt * (Math.PI/180))));
if ((this.obl.hitTest(../:tank.obl) == true) and (tkc != 1)) {
if ((/:menu.bub < 1) and (bk != 1)) {
../:tank.gotoAndPlay(11);
firerefx();
gotoAndPlay (4);
}
if (/:menu.bub > 0) {
/:menu.bub--;
_root.snd.gotoAndPlay(45);
_root.snd.gotoAndPlay(29);
if (firex == 0) {
rt = 180 - rt;
} else {
rt = -rt;
}
tkc = 1;
bb._rotation = rt;
obl._rotation = rt;
shd._rotation = rt;
}
}
xp = _parent._x;
yp = _parent._y;
if (((((_x + xp) > 550) or ((_x + xp) < 0)) or ((_y + yp) > 400)) or ((_y + yp) < 0)) {
removeMovieClip(this);
}
x = Math.floor(_x / 40);
y = Math.floor(_y / 40);
if ((_parent[(("bl" + x) + "a") + y].brr != 1) or (_parent[(("bl" + x) + "a") + y].spds == 1)) {
if (_parent[(("bl" + x) + "a") + y].hitTest(this) == true) {
_parent[(("bl" + x) + "a") + y].hit = 1;
_parent[(("bl" + x) + "a") + y].rt = rt;
if (_parent[(("bl" + x) + "a") + y].drr != 1) {
_parent[(("bl" + x) + "a") + y].play();
}
_parent[(("bl" + x) + "a") + y].life--;
firerefx();
gotoAndPlay (4);
}
}
Symbol 367 MovieClip Frame 3
gotoAndPlay (2);
Symbol 367 MovieClip Frame 4
firerefx();
_root.snd.gotoAndPlay(31);
Symbol 367 MovieClip Frame 6
removeMovieClip(this);
Symbol 377 MovieClip Frame 9
removeMovieClip(_parent);
stop();
Symbol 380 MovieClip Frame 1
if (sets != 1) {
life = 2;
sets = 1;
lf1 = 2;
}
if (life < 1) {
gotoAndPlay (13);
} else {
stop();
}
Instance of Symbol 312 MovieClip in Symbol 380 MovieClip Frame 2
onClipEvent (enterFrame) {
if (../:life < 1) {
../:gotoAndPlay(13);
}
if (../:life != ../:lf1) {
/:snd.gotoAndPlay(45);
/:snd.gotoAndPlay(21);
/:snd.gotoAndPlay(19);
../:dp++;
duplicateMovieClip (../:blood, "bld" + ../:dp, ../:dp);
}
Set("../:lf1", ../:life);
}
Symbol 380 MovieClip Frame 12
if (life > 0) {
gotoAndStop (1);
}
Symbol 380 MovieClip Frame 13
ck++;
if (ck == 1) {
/:snd.gotoAndPlay(45);
/:snd.gotoAndPlay(17);
removeMovieClip("bld" + dp);
_name = (_name + "x");
pole0();
}
Symbol 380 MovieClip Frame 14
if (ck < 19) {
gotoAndPlay (13);
}
Symbol 380 MovieClip Frame 15
removeMovieClip(this);
Symbol 385 MovieClip Frame 1
defik = 0;
brr = 1;
drr = 1;
opn = 0;
stop();
Symbol 385 MovieClip Frame 2
if (this.obl.hitTest(../:tank.obl) != true) {
gotoAndPlay (4);
/:snd.gotoAndPlay(15);
}
Symbol 385 MovieClip Frame 3
gotoAndPlay (2);
Symbol 385 MovieClip Frame 10
if ((../:tank._x > _x) and (../:tank._x < (_x + 40))) {
../:tank._x = _x + 40;
}
if ((../:tank._x < _x) and (../:tank._x > (_x - 40))) {
../:tank._x = _x - 40;
}
brr = 0;
pole1();
Symbol 385 MovieClip Frame 17
gotoAndStop (18);
Symbol 385 MovieClip Frame 18
opn = 1;
defik = 1;
stop();
Symbol 385 MovieClip Frame 19
if (/:menu.keyc > 0) {
/:menu.keyc--;
gotoAndPlay (20);
/:snd.gotoAndPlay(15);
} else {
gotoAndStop (18);
}
Symbol 385 MovieClip Frame 29
brr = 1;
pole0();
Symbol 385 MovieClip Frame 33
gotoAndStop (1);
Symbol 389 MovieClip Frame 1
defik = 1;
drr = 1;
opn = 1;
stop();
Symbol 389 MovieClip Frame 2
if (/:menu.keyc > 0) {
/:menu.keyc--;
gotoAndPlay (3);
/:snd.gotoAndPlay(15);
} else {
gotoAndStop (1);
}
Symbol 389 MovieClip Frame 12
pole0();
brr = 1;
defik = 0;
Symbol 389 MovieClip Frame 16
gotoAndStop (15);
Symbol 394 MovieClip Frame 1
defik = 0;
brr = 1;
drr = 1;
opn = 0;
stop();
Symbol 394 MovieClip Frame 2
if (this.obl.hitTest(../:tank.obl) != true) {
gotoAndPlay (4);
/:snd.gotoAndPlay(15);
}
Symbol 394 MovieClip Frame 3
gotoAndPlay (2);
Symbol 394 MovieClip Frame 10
if ((../:tank._y > _y) and (../:tank._y < (_y + 40))) {
../:tank._y = _y + 40;
}
if ((../:tank._y < _y) and (../:tank._y > (_y - 40))) {
../:tank._y = _y - 40;
}
brr = 0;
pole1();
Symbol 394 MovieClip Frame 17
gotoAndStop (18);
Symbol 394 MovieClip Frame 18
opn = 1;
defik = 1;
stop();
Symbol 394 MovieClip Frame 19
if (/:menu.keyc > 0) {
/:menu.keyc--;
gotoAndPlay (20);
/:snd.gotoAndPlay(15);
} else {
gotoAndStop (18);
}
Symbol 394 MovieClip Frame 29
brr = 1;
pole0();
Symbol 394 MovieClip Frame 33
gotoAndStop (1);
Symbol 396 MovieClip Frame 1
if (sets != 1) {
sets = 1;
Set("../:life", 2);
Set("../:lf1", 2);
}
if (../:life < 1) {
gotoAndPlay (11);
} else {
stop();
}
Instance of Symbol 312 MovieClip in Symbol 396 MovieClip Frame 2
onClipEvent (enterFrame) {
if (../../:life < 1) {
../:gotoAndPlay(11);
}
if (../../:life != ../../:lf1) {
Set("../../:hit1", 1);
/:snd.gotoAndPlay(45);
/:snd.gotoAndPlay(21);
/:snd.gotoAndPlay(19);
../:dp++;
duplicateMovieClip (../:blood, "bld" + ../:dp, ../:dp);
}
Set("../../:lf1", ../../:life);
}
Symbol 396 MovieClip Frame 10
if (../:life > 0) {
gotoAndStop (1);
}
Symbol 396 MovieClip Frame 11
ck++;
if (ck == 1) {
removeMovieClip("bld" + dp);
../:gotoAndPlay(4);
}
Symbol 396 MovieClip Frame 12
if (ck < 19) {
gotoAndPlay (11);
}
Symbol 396 MovieClip Frame 13
removeMovieClip(_parent);
Instance of Symbol 312 MovieClip in Symbol 396 MovieClip Frame 14
onClipEvent (enterFrame) {
if (../../:life < 1) {
../:gotoAndPlay(11);
}
if (../../:life != ../../:lf1) {
Set("../../:hit1", 1);
../:dp++;
duplicateMovieClip (../:blood, "bld" + ../:dp, ../:dp);
}
Set("../../:lf1", ../../:life);
}
Symbol 396 MovieClip Frame 20
gotoAndStop (1);
Symbol 397 MovieClip Frame 1
if (_name == "mnr3") {
stop();
} else {
x = Math.floor(_x / 40);
y = Math.floor(_y / 40);
gotoAndPlay (2);
}
Symbol 397 MovieClip Frame 2
if (hit == 1) {
anim.gotoAndPlay(2);
hit = 0;
}
if ((_y > (../:tank._y - 30)) and (_y < (../:tank._y + 30))) {
if (dr != 1) {
if (../:tank._x < _x) {
fire = 1;
r = 3;
ys = 0;
xs = -20;
i = 1;
while (i <= 20) {
xd = x - i;
if ((xd * 40) < 0) {
i = 21;
}
if ((_parent[(("bl" + xd) + "a") + y].defik == 1) and ((xd * 40) > ../:tank._x)) {
fire = 0;
}
i++;
}
}
}
if (dr == 1) {
if (../:tank._x > _x) {
fire = 1;
r = 1;
ys = 0;
xs = 20;
i = 1;
while (i <= 20) {
xd = x + i;
if ((xd * 40) > 550) {
i = 21;
}
if ((_parent[(("bl" + xd) + "a") + y].defik == 1) and ((xd * 40) < ../:tank._x)) {
fire = 0;
}
i++;
}
}
}
}
if (fire == 1) {
fire = 0;
if (_root.hitTest(_parent["bulm" + _name]) != true) {
_root.snd.gotoAndPlay(5);
duplicateMovieClip (../:buletr, "bulm" + _name, getDepth(this) + 1);
anim.gotoAndPlay(15);
_parent["bulm" + _name]._x = _x + xs;
_parent["bulm" + _name]._y = _y + ys;
_parent["bulm" + _name]._rotation = r * 90;
}
}
Symbol 397 MovieClip Frame 3
gotoAndPlay (2);
Symbol 397 MovieClip Frame 4
ck++;
if (ck == 1) {
/:snd.gotoAndPlay(45);
/:snd.gotoAndPlay(17);
_name = (_name + "x");
pole0();
}
Symbol 397 MovieClip Frame 5
gotoAndPlay (4);
Symbol 398 MovieClip Frame 1
if (_name == "buletr") {
stop();
obl._visible = 0;
} else {
firerefx = function () {
var _local1 = _parent;
../:ppd++;
if (../:ppd > 20) {
Set("../:ppd", 1);
}
duplicateMovieClip (../:pode, "podb" + ../:ppd, 1025 + ../:ppd);
_local1["podb" + ../:ppd]._x = _x;
_local1["podb" + ../:ppd]._y = _y - 10;
_local1["podb" + ../:ppd]._rotation = rt;
};
rt = _rotation;
_rotation = 0;
obl._rotation = rt;
obl._visible = 0;
gotoAndPlay (2);
}
Symbol 398 MovieClip Frame 2
_y = (_y - (9 * Math.cos(rt * (Math.PI/180))));
_x = (_x + (9 * Math.sin(rt * (Math.PI/180))));
if ((this.obl.hitTest(../:tank.obl) == true) and (tkc != 1)) {
if (/:menu.bub < 1) {
../:tank.gotoAndPlay(11);
firerefx();
gotoAndPlay (4);
}
if (/:menu.bub > 0) {
_root.snd.gotoAndPlay(45);
_root.snd.gotoAndPlay(29);
/:menu.bub--;
tkc = 1;
if (firex == 0) {
rt = 180 - rt;
} else {
rt = -rt;
}
bb._rotation = rt;
obl._rotation = rt;
shd._rotation = rt;
}
}
xp = _parent._x;
yp = _parent._y;
if (((((_x + xp) > 550) or ((_x + xp) < 0)) or ((_y + yp) > 400)) or ((_y + yp) < 0)) {
removeMovieClip(this);
}
x = Math.floor(_x / 40);
y = Math.floor(_y / 40);
if ((_parent[(("bl" + x) + "a") + y].brr != 1) or (_parent[(("bl" + x) + "a") + y].spds == 1)) {
if (_parent[(("bl" + x) + "a") + y].hitTest(this) == true) {
_parent[(("bl" + x) + "a") + y].hit = 1;
_parent[(("bl" + x) + "a") + y].rt = rt;
if (_parent[(("bl" + x) + "a") + y].drr != 1) {
_parent[(("bl" + x) + "a") + y].play();
}
_parent[(("bl" + x) + "a") + y].life--;
firerefx();
gotoAndPlay (4);
}
}
Symbol 398 MovieClip Frame 3
gotoAndPlay (2);
Symbol 398 MovieClip Frame 4
firerefx();
_root.snd.gotoAndPlay(31);
Symbol 398 MovieClip Frame 6
removeMovieClip(this);
Symbol 402 MovieClip Frame 1
_rotation = random(360);
Symbol 403 MovieClip Frame 1
_x = (_x + (5 - sx));
sx = sx + 0.3;
ck++;
if (ck > 20) {
unloadMovie (_parent);
}
_alpha = (_alpha - 5);
Symbol 403 MovieClip Frame 2
gotoAndPlay (1);
Symbol 406 MovieClip Frame 1
stop();
Symbol 406 MovieClip Frame 2
pole0();
x = Math.floor(_x / 40);
y = Math.floor(_y / 40);
this.swapDepths((80 - (x * 4)) + 79);
_name = (_name + "z");
if (bnt < 1) {
duplicateMovieClip (../:bulbon, (("bl" + x) + "a") + y, ((y * 80) - (x * 4)) + 80);
}
if (bnt == 1) {
duplicateMovieClip (../:shield, (("bl" + x) + "a") + y, ((y * 80) - (x * 4)) + 80);
}
_parent[(("bl" + x) + "a") + y]._x = (x * 40) + 20;
_parent[(("bl" + x) + "a") + y]._y = (y * 40) + 20;
Symbol 406 MovieClip Frame 3
ck++;
if (ck > 18) {
removeMovieClip(this);
}
Symbol 406 MovieClip Frame 4
gotoAndPlay (3);
Symbol 412 MovieClip Frame 24
ck++;
gotoAndPlay (23);
if (ck > 120) {
ck = 0;
gotoAndPlay (25);
}
Symbol 412 MovieClip Frame 29
if (ck < 10) {
gotoAndPlay (25);
} else {
removeMovieClip(_parent);
}
ck++;
Symbol 413 MovieClip Frame 1
brr = 1;
if (_name == "shield") {
bon.stop();
stop();
} else {
gotoAndPlay (2);
}
Symbol 413 MovieClip Frame 16
stop();
Symbol 413 MovieClip Frame 17
../:bubble.play();
/:snd.gotoAndPlay(25);
/:menu.bub++;
removeMovieClip(this);
Symbol 414 MovieClip Frame 1
stop();
Symbol 414 MovieClip Frame 2
if (/:menu.bub < 1) {
_x = -200;
_y = -120;
gotoAndStop (1);
}
Symbol 414 MovieClip Frame 3
_x = ../:tank._x;
_y = ../:tank._y;
gotoAndPlay (2);
Symbol 415 MovieClip Frame 1
if (_root.gamemode == "normal") {
_root.map = _root["level" + _root.level];
}
if (_root.gamemode == "addon") {
_root.map = _root["addlevel" + _root.level];
}
y1 = 0;
while (y1 <= 9) {
x1 = 0;
while (x1 <= 13) {
a1 = _root.map[x1][y1];
if (((((((((((((a1 == "z") or (a1 == "x")) or (a1 == "b")) or (a1 == "n")) or (a1 == "a")) or (a1 == "s")) or (a1 == "g")) or (a1 == "h")) or (a1 == "q")) or (a1 == "w")) or (a1 == "e")) or (a1 == "r")) or (a1 == "t")) {
_root.pole[x1][y1] = 1;
}
if (a1 == "z") {
duplicateMovieClip (mnr1, (("bl" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "x") {
duplicateMovieClip (mnr1, (("bl" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
this[(("bl" + x1) + "a") + y1]._xscale = -100;
}
if (a1 == "a") {
duplicateMovieClip (mnr2, (("bl" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "s") {
duplicateMovieClip (mnr2, (("bl" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
this[(("bl" + x1) + "a") + y1]._xscale = -100;
}
if (a1 == "q") {
duplicateMovieClip (mnr3, (("bl" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "w") {
duplicateMovieClip (mnr3, (("bl" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
this[(("bl" + x1) + "a") + y1]._xscale = -100;
this[(("bl" + x1) + "a") + y1].dr = 1;
}
if (a1 == "e") {
duplicateMovieClip (tree, (("bl" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "r") {
duplicateMovieClip (tree1, (("bl" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "t") {
duplicateMovieClip (deye, (("bl" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "y") {
duplicateMovieClip (spider, (("bl" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "d") {
duplicateMovieClip (keys, (("bl" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "e") {
duplicateMovieClip (tree, (("bl" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "f") {
duplicateMovieClip (card, (("bl" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "g") {
duplicateMovieClip (chest, (("bl" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
this[(("bl" + x1) + "a") + y1].bnt = 0;
}
if (a1 == "h") {
duplicateMovieClip (chest, (("bl" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
this[(("bl" + x1) + "a") + y1].bnt = 1;
}
if (a1 == "c") {
duplicateMovieClip (doorc, (("bl" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "v") {
duplicateMovieClip (doorcv, (("bl" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "b") {
duplicateMovieClip (door, (("bl" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "n") {
duplicateMovieClip (doorv, (("bl" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "2") {
exit._x = (x1 * 40) + 20;
exit._y = (y1 * 40) + 20;
}
if (a1 == "2") {
tank1._x = (x1 * 40) + 20;
tank1._y = (y1 * 40) + 20;
}
this[(("bl" + x1) + "a") + y1]._x = (x1 * 40) + 20;
this[(("bl" + x1) + "a") + y1]._y = (y1 * 40) + 20;
x1++;
}
y1++;
}
duplicateMovieClip (tank1, "tank", 1000);
stop();
Symbol 415 MovieClip Frame 2
stop();
Symbol 416 MovieClip Frame 12
stop();
Symbol 418 MovieClip Frame 1
_rotation = (_rotation + 15);
Symbol 418 MovieClip Frame 2
gotoAndPlay (1);
Instance of Symbol 416 MovieClip "star" in Symbol 419 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 418 MovieClip "star1" in Symbol 419 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 422 MovieClip Frame 1
Selection.setFocus("player");
Symbol 437 MovieClip Frame 1
_visible = false;
Symbol 441 MovieClip Frame 2
stop();
Symbol 442 MovieClip Frame 1
anim._y = -1;
if (anim.hitTest(_root._xmouse, _root._ymouse, 1) == true) {
hint.gotoAndPlay(1);
if (_root.dwn == 1) {
_root.dwn = 3;
_root.gotoAndPlay(17);
}
anim._y = -2;
}
Instance of Symbol 441 MovieClip "hint" in Symbol 442 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (2);
}
Symbol 442 MovieClip Frame 2
gotoAndPlay (1);
Symbol 445 MovieClip Frame 1
anim._y = -1;
if (anim.hitTest(_root._xmouse, _root._ymouse, 1) == true) {
if (_root.dwn == 1) {
_root.dwn = 3;
if (_root.gamemode == "editor") {
_root.ent = 3;
_root.gotoAndPlay(23);
} else {
_root.music.gsound.setVolume(30);
/:gotoAndPlay(20);
}
}
anim._y = -2;
}
Symbol 445 MovieClip Frame 2
gotoAndPlay (1);
Symbol 447 MovieClip Frame 1
if (_root.music.gsound.getVolume() < 100) {
_root.music.gsound.setVolume(_root.music.gsound.getVolume() + 5);
}
if (_root.music.gsound.getVolume() >= 95) {
_root.music.gsound.setVolume(100);
stop();
}
Symbol 447 MovieClip Frame 2
gotoAndPlay (2);
Symbol 459 Button
on (press) {
_quality = "high";
}
Symbol 461 Button
on (press) {
_quality = "medium";
}
Symbol 463 Button
on (press) {
_quality = "low";
}
Symbol 467 Button
on (press) {
play();
}
Symbol 469 Button
on (press) {
play();
}
Symbol 470 MovieClip Frame 1
cmm = 1;
stop();
Symbol 470 MovieClip Frame 2
cmm = 2;
stop();
Symbol 473 Button
on (press) {
_quality = "best";
}
Instance of Symbol 470 MovieClip in Symbol 474 MovieClip Frame 1
onClipEvent (load) {
if (_root.mfx == 2) {
gotoAndStop (2);
}
cmm = _root.mfx;
cmm1 = cmm;
}
onClipEvent (enterFrame) {
if (cmm1 != cmm) {
if (cmm == 1) {
_root.mfx = 1;
_root.music.gotoAndPlay(2);
}
if (cmm == 2) {
_root.mfx = 2;
_root.music.gotoAndPlay(25);
}
}
cmm1 = cmm;
}
Instance of Symbol 470 MovieClip in Symbol 474 MovieClip Frame 1
onClipEvent (load) {
if (_root.sfx == 2) {
gotoAndStop (2);
}
cmm = _root.sfx;
cmm1 = cmm;
}
onClipEvent (enterFrame) {
if (cmm1 != cmm) {
if (cmm == 1) {
_root.sfx = 1;
_root.snd._name = "snd2";
_root.snd1._name = "snd";
}
if (cmm == 2) {
_root.sfx = 2;
_root.snd._name = "snd1";
_root.snd2._name = "snd";
}
}
cmm1 = cmm;
}
Symbol 475 Button
on (release) {
with (_parent) {
if (locdatnam.data.level3 > level) {
mess.gotoAndStop(1);
mess.slt = 3;
} else if (mess._currentframe != 1) {
locdatnam.data.level3 = level;
locdatnam.flush();
lv3.level = level;
}
}
}
Symbol 476 Button
on (release) {
with (_parent) {
if (locdatnam.data.level2 > level) {
mess.gotoAndStop(1);
mess.slt = 2;
} else if (mess._currentframe != 1) {
locdatnam.data.level2 = level;
lv2.level = level;
locdatnam.flush();
}
}
}
Symbol 477 Button
on (release) {
with (_parent) {
if (locdatnam.data.level4 > level) {
mess.gotoAndStop(1);
mess.slt = 4;
} else if (mess._currentframe != 1) {
locdatnam.data.level4 = level;
locdatnam.flush();
lv4.level = level;
}
}
}
Symbol 478 Button
on (release) {
with (_parent) {
if (locdatnam.data.level1 > level) {
mess.gotoAndStop(1);
mess.slt = 1;
} else if (mess._currentframe != 1) {
locdatnam.data.level1 = level;
lv1.level = level;
locdatnam.flush();
}
}
}
Symbol 479 Button
on (release) {
with (_parent) {
if (locdatnam.data.level5 > level) {
mess.gotoAndStop(1);
mess.slt = 5;
} else if (mess._currentframe != 1) {
locdatnam.data.level5 = level;
locdatnam.flush();
lv5.level = level;
}
}
}
Symbol 487 Button
on (press) {
gotoAndPlay (18);
}
Symbol 493 Button
on (release) {
_root.locdatnam.data["level" + slt] = _root.level;
_root["lv" + slt].level = _root.level;
_root.locdatnam.flush();
gotoAndStop (2);
}
Symbol 495 Button
on (release) {
gotoAndStop (2);
}
Symbol 498 MovieClip Frame 2
stop();
Symbol 511 MovieClip Frame 1
y1 = 0;
while (y1 <= 9) {
x1 = 0;
while (x1 <= 13) {
a1 = _root.map[x1][y1];
if (a1 == "z") {
duplicateMovieClip (zstat, (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "x") {
duplicateMovieClip (xstat, (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "a") {
duplicateMovieClip (astat, (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "s") {
duplicateMovieClip (sstat, (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "q") {
duplicateMovieClip (qstat, (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "w") {
duplicateMovieClip (wstat, (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "e") {
duplicateMovieClip (estat, (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "r") {
duplicateMovieClip (rstat, (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "t") {
duplicateMovieClip (tstat, (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "y") {
duplicateMovieClip (ystat, (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "d") {
duplicateMovieClip (dstat, (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "e") {
duplicateMovieClip (estat, (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "f") {
duplicateMovieClip (fstat, (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "g") {
duplicateMovieClip (gstat, (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "h") {
duplicateMovieClip (hstat, (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "c") {
duplicateMovieClip (cstat, (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "v") {
duplicateMovieClip (vstat, (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "b") {
duplicateMovieClip (bstat, (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "n") {
duplicateMovieClip (nstat, (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "1") {
duplicateMovieClip (this["1stat"], (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
if (a1 == "2") {
duplicateMovieClip (this["2stat"], (("st" + x1) + "a") + y1, ((y1 * 80) - (x1 * 4)) + 80);
}
this[(("st" + x1) + "a") + y1]._x = (x1 * 40) + 20;
this[(("st" + x1) + "a") + y1]._y = (y1 * 40) + 20;
x1++;
}
y1++;
}
Symbol 511 MovieClip Frame 2
stop();
Symbol 547 Button
on (release) {
ld = 0;
goodname = 0;
_root.addlevelcredit = "";
i = 1;
while (i <= 160) {
if (loadlevel.charAt(ld) != "=") {
_root.addlevelcredit = _root.addlevelcredit + loadlevel.charAt(ld);
ld++;
} else {
goodname = 1;
ld = i;
break;
}
i++;
}
if (goodname != 1) {
toolong.gotoAndPlay(5);
} else {
x2 = 0;
y2 = 0;
x1 = 0;
while (x1 <= 13) {
y1 = 0;
while (y1 <= 9) {
ld1 = loadlevel.charAt(ld);
ld++;
if ((((((((((((((((((((((ld1 == "z") or (loadlevel.length < ld)) or (ld1 == "z")) or (ld1 == "x")) or (ld1 == "1")) or (ld1 == "2")) or (ld1 == "b")) or (ld1 == "n")) or (ld1 == "a")) or (ld1 == "s")) or (ld1 == "g")) or (ld1 == "h")) or (ld1 == "q")) or (ld1 == "w")) or (ld1 == "e")) or (ld1 == "r")) or (ld1 == "t")) or (ld1 == "f")) or (ld1 == "d")) or (ld1 == "y")) or (ld1 == "c")) or (ld1 == "v")) {
_root.map[x1][y1] = ld1;
} else {
y1 = y2;
x1 = x2;
}
x2 = x1;
y2 = y1;
y1++;
}
x1++;
}
_root.gotoAndPlay(20);
}
}
Symbol 552 Button
on (press) {
_root.ent = 0;
stopAllSounds();
_root.gotoAndPlay(5);
}
Symbol 554 MovieClip Frame 1
_visible = 0;
Instance of Symbol 470 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) {
if (_root.sfx == 2) {
gotoAndStop (2);
}
cmm = _root.sfx;
cmm1 = cmm;
}
onClipEvent (enterFrame) {
if (cmm1 != cmm) {
if (cmm == 1) {
_root.sfx = 1;
_root.snd._name = "snd2";
_root.snd1._name = "snd";
}
if (cmm == 2) {
_root.sfx = 2;
_root.snd._name = "snd1";
_root.snd2._name = "snd";
}
}
cmm1 = cmm;
}
Instance of Symbol 521 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) {
vsb = 0;
vvv = 0;
map1 = 0;
}
onClipEvent (keyDown) {
if (Key.getCode() == 81) {
_root.tile = "q";
}
if (Key.getCode() == 87) {
_root.tile = "w";
}
if (Key.getCode() == 65) {
_root.tile = "a";
}
if (Key.getCode() == 83) {
_root.tile = "s";
}
if (Key.getCode() == 90) {
_root.tile = "z";
}
if (Key.getCode() == 88) {
_root.tile = "x";
}
if (Key.getCode() == 69) {
_root.tile = "e";
}
if (Key.getCode() == 82) {
_root.tile = "r";
}
if (Key.getCode() == 84) {
_root.tile = "t";
}
if (Key.getCode() == 89) {
_root.tile = "y";
}
if (Key.getCode() == 68) {
_root.tile = "d";
}
if (Key.getCode() == 70) {
_root.tile = "f";
}
if (Key.getCode() == 71) {
_root.tile = "g";
}
if (Key.getCode() == 72) {
_root.tile = "h";
}
if (Key.getCode() == 67) {
_root.tile = "c";
}
if (Key.getCode() == 86) {
_root.tile = "v";
}
if (Key.getCode() == 66) {
_root.tile = "b";
}
if (Key.getCode() == 78) {
_root.tile = "n";
}
if (Key.getCode() == 49) {
_root.tile = "1";
}
if (Key.getCode() == 50) {
_root.tile = "2";
}
if (Key.getCode() == 51) {
map1++;
if (map1 == 1) {
_root.map2.gotoAndStop(1);
_root.drw1 = 0;
}
if (map1 == 2) {
_root.map2.gotoAndStop(2);
map1 = 0;
_root.drw1 = 1;
}
}
if (Key.getCode() == 32) {
vvv++;
if (vvv == 1) {
_parent._visible = 1;
_root.drw = 0;
}
if (vvv == 2) {
_parent._visible = 0;
vvv = 0;
_root.drw = 1;
}
}
}
Symbol 559 MovieClip Frame 1
if (_root.addlevelcredit.length < 1) {
_root.addlevelcredit = "unknown";
}
map = _root.addlevelcredit + "=";
yi = 0;
while (yi <= 13) {
xi = 0;
while (xi <= 9) {
map = map + _root.map[yi][xi];
xi++;
}
yi++;
}
Symbol 559 MovieClip Frame 2
stop();
Symbol 564 Button
on (release) {
x1 = 0;
while (x1 <= 13) {
y1 = 0;
while (y1 <= 9) {
_root.map[x1][y1] = "1";
removeMovieClip(_root.editor[(("st" + x1) + "a") + y1]);
y1++;
}
x1++;
}
}
Symbol 567 MovieClip Frame 1
stop();
Symbol 568 MovieClip Frame 1
anim._y = -1;
if (anim.hitTest(_root._xmouse, _root._ymouse, 1) == true) {
hint.gotoAndPlay(1);
anim.gotoAndPlay(2);
if (_root.dwn == 1) {
_root.dwn = 3;
_root.gotoAndPlay(18);
}
anim._y = -2;
}
Instance of Symbol 441 MovieClip "hint" in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (2);
}
Symbol 568 MovieClip Frame 2
gotoAndPlay (1);
Symbol 569 Button
on (press) {
_root.ent = 0;
stopAllSounds();
_root.gotoAndPlay(5);
}