Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("8873661e", this, 10301, true);
onEnterFrame = function () {
urlStart = _url.indexOf("://") + 3;
urlEnd = _url.indexOf("/", urlStart);
domain = _url.substring(urlStart, urlEnd);
LastDot = domain.lastIndexOf(".") - 1;
domEnd = domain.lastIndexOf(".", LastDot) + 1;
domain = domain.substring(domEnd, domain.length);
if (((domain != "armorgames.com") && (domain != "addictinggames.com")) && (domain != "shockwave.com")) {
}
};
Stage.showMenu = false;
levels_array = new Array(3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4);
cheat_array = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
_root.level_playing;
_root.coin_number = 0;
_root.special_using = 0;
var savefile = SharedObject.getLocal("sssd");
if (savefile.data.notfirsttime_played) {
_root.levels_array[0] = savefile.data.levels_array0;
_root.levels_array[1] = savefile.data.levels_array1;
_root.levels_array[2] = savefile.data.levels_array2;
_root.levels_array[3] = savefile.data.levels_array3;
_root.levels_array[4] = savefile.data.levels_array4;
_root.levels_array[5] = savefile.data.levels_array5;
_root.levels_array[6] = savefile.data.levels_array6;
_root.levels_array[7] = savefile.data.levels_array7;
_root.levels_array[8] = savefile.data.levels_array8;
_root.levels_array[9] = savefile.data.levels_array9;
_root.levels_array[10] = savefile.data.levels_array10;
_root.levels_array[11] = savefile.data.levels_array11;
_root.levels_array[12] = savefile.data.levels_array12;
_root.levels_array[13] = savefile.data.levels_array13;
_root.levels_array[14] = savefile.data.levels_array14;
_root.levels_array[15] = savefile.data.levels_array15;
_root.cheat_array[0] = savefile.data.cheat_array0;
_root.cheat_array[1] = savefile.data.cheat_array1;
_root.cheat_array[2] = savefile.data.cheat_array2;
_root.cheat_array[3] = savefile.data.cheat_array3;
_root.cheat_array[4] = savefile.data.cheat_array4;
_root.cheat_array[5] = savefile.data.cheat_array5;
_root.cheat_array[6] = savefile.data.cheat_array6;
_root.cheat_array[7] = savefile.data.cheat_array7;
_root.cheat_array[8] = savefile.data.cheat_array8;
}
Frame 2
var MochiAd = {getVersion:function () {
return("2.3");
}, showPreGameAd:function (options) {
var DEFAULTS = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}};
options = MochiAd._parseOptions(options, DEFAULTS);
if ("5cc6f7dfb67f2f08341c831480f7c2a7".length == 0) {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var ad_msec = 11000;
var ad_timeout = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var wh = MochiAd._getRes(options);
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 = options.color;
delete options.color;
var bar_background = options.background;
delete options.background;
var bar_outline = options.outline;
delete options.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 inside = bar.createEmptyMovieClip("_inside", 2);
inside.beginFill(bar_color);
inside.moveTo(0, 0);
inside.lineTo(w - 20, 0);
inside.lineTo(w - 20, 10);
inside.lineTo(0, 10);
inside.lineTo(0, 0);
inside.endFill();
inside._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 p = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (p > 0) {
this._parent._alpha = p;
} else {
var _clip = this._parent._parent;
MochiAd.unload(_clip);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adjustProgress = function (msec) {
var _chk = this.mc._mochiad_wait;
_chk.server_control = true;
_chk.started = getTimer();
_chk.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _clip = this._parent._parent;
var ad_clip = this._parent._mochiad_ctr;
var elapsed = (getTimer() - this.started);
var finished = 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 = this._mochiad_bar._inside;
var pcnt = Math.min(100, Math.min(clip_pcnt || 0, ad_pcnt));
pcnt = Math.max(this.last_pcnt, pcnt);
this.last_pcnt = pcnt;
_inside._xscale = pcnt;
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) {
options.ad_failed();
finished = true;
}
}
if (elapsed > chk.ad_msec) {
finished = true;
}
if (((clip_total > 0) && (clip_loaded >= clip_total)) && (finished)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}, showInterLevelAd:function (options) {
var DEFAULTS = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}};
options = MochiAd._parseOptions(options, DEFAULTS);
var clip = options.clip;
var ad_msec = 11000;
var ad_timeout = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var wh = MochiAd._getRes(options);
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 p = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (p > 0) {
this._parent._alpha = p;
} else {
var _clip = this._parent._parent;
MochiAd.unload(_clip);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adjustProgress = function (msec) {
var _chk = this.mc._mochiad_wait;
_chk.server_control = true;
_chk.started = getTimer();
_chk.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var ad_clip = this._parent._mochiad_ctr;
var elapsed = (getTimer() - this.started);
var finished = false;
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) {
options.ad_failed();
finished = true;
}
}
if (elapsed > chk.ad_msec) {
finished = true;
}
if (finished) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}, showTimedAd:function (options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
MochiAd.showInterLevelAd(options);
}, showPreloaderAd:function (options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
MochiAd.showPreGameAd(options);
}, _allowDomains:function (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);
}
}
return(hostname);
}, _loadCommunicator:function (options) {
var DEFAULTS = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = MochiAd._parseOptions(options, DEFAULTS);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = MochiAd.getVersion();
var clip = options.clip;
var clipname = ("_mochiad_com_" + options.id);
if (!MochiAd._isNetworkAvailable()) {
return(null);
}
if (clip[clipname]) {
return(clip[clipname].lc);
}
var server = (options.com_server + options.id);
MochiAd._allowDomains(server);
delete options.id;
delete options.com_server;
var depth = options.depth;
delete options.depth;
var mc = clip.createEmptyMovieClip(clipname, depth);
var lv = mc.createEmptyMovieClip("_mochiad_com", 1);
for (var k in options) {
lv[k] = options[k];
}
var lc = new LocalConnection();
var name = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
lc.mc = mc;
lc.name = name;
lc.allowDomain = function (d) {
return(true);
};
lc.allowInsecureDomain = lc.allowDomain;
lc.connect(name);
mc.lc = lc;
lv.lc = name;
lc._id = 0;
lc._queue = [];
lc.rpcResult = function (cb_arg) {
var cb = parseInt(cb_arg);
var cblst = this._callbacks[cb];
if (!cblst) {
return(undefined);
}
delete this._callbacks[cb];
var args = [];
var i = 2;
while (i < cblst.length) {
args.push(cblst[i]);
i++;
}
var i = 1;
while (i < arguments.length) {
args.push(arguments[i]);
i++;
}
var method = cblst[1];
var obj = cblst[0];
if (obj && (typeof(method) == "string")) {
method = obj[method];
}
if (method) {
method.apply(obj, args);
}
};
lc._didConnect = function (endpoint) {
this._endpoint = endpoint;
var q = this._queue;
delete this._queue;
var ds = this.doSend;
var i = 0;
while (i < q.length) {
var item = q[i];
ds.apply(this, item);
i++;
}
};
lc.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var qargs = [];
var i = 0;
while (i < arguments.length) {
qargs.push(arguments[i]);
i++;
}
this._queue.push(qargs);
return(undefined);
}
this._id = this._id + 1;
var id = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[id] = [cbobj, cbfn];
var slc = new LocalConnection();
var ss = slc.send(this._endpoint, "rpc", id, args);
};
lc._callbacks = {};
lc._callbacks[0] = [lc, "_didConnect"];
lv.st = getTimer();
lv.loadMovie(server + ".swf", "POST");
return(lc);
}, fetchHighScores:function (options, callbackObj, callbackMethod) {
var lc = MochiAd._loadCommunicator({id:options.id});
if (!lc) {
return(false);
}
var fncall = ["fetchHighScores", options];
lc.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}, sendHighScore:function (options, callbackObj, callbackMethod) {
var lc = MochiAd._loadCommunicator({id:options.id});
if (!lc) {
return(false);
}
var fncall = ["sendHighScore", options];
lc.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}, load:function (options) {
var DEFAULTS = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = MochiAd._parseOptions(options, DEFAULTS);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = MochiAd.getVersion();
var clip = options.clip;
if (!MochiAd._isNetworkAvailable()) {
return(null);
}
if (clip._mochiad_loaded) {
return(null);
}
var depth = options.depth;
delete options.depth;
var mc = clip.createEmptyMovieClip("_mochiad", depth);
var wh = MochiAd._getRes(options);
options.res = (wh[0] + "x") + wh[1];
options.server = options.server + options.id;
delete options.id;
clip._mochiad_loaded = true;
var lv = mc.createEmptyMovieClip("_mochiad_ctr", 1);
for (var k in options) {
lv[k] = options[k];
}
var server = lv.server;
delete lv.server;
var hostname = MochiAd._allowDomains(server);
mc.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var lc = new LocalConnection();
var name = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
lc.mc = mc;
lc.name = name;
lc.hostname = hostname;
lc.allowDomain = function (d) {
return(true);
};
lc.allowInsecureDomain = lc.allowDomain;
lc.connect(name);
mc.lc = lc;
lv.lc = name;
lv.st = getTimer();
lv.loadMovie(server + ".swf", "POST");
return(mc);
}, unload:function (clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}, _isNetworkAvailable:function () {
if (System.security) {
var o = System.security;
if (o.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}, _getRes:function (options) {
var b = options.clip.getBounds();
var w = 0;
var h = 0;
if (typeof(options.res) != "undefined") {
var xy = options.res.split("x");
w = parseFloat(xy[0]);
h = parseFloat(xy[1]);
} else {
w = b.xMax - b.xMin;
h = b.yMax - b.yMin;
}
if ((w == 0) || (h == 0)) {
w = Stage.width;
h = Stage.height;
}
return([w, h]);
}, _parseOptions:function (options, defaults) {
var optcopy = {};
for (var k in defaults) {
optcopy[k] = defaults[k];
}
if (options) {
for (var k in options) {
optcopy[k] = options[k];
}
}
if (_root.mochiad_options) {
var pairs = _root.mochiad_options.split("&");
var i = 0;
while (i < pairs.length) {
var kv = pairs[i].split("=");
optcopy[unescape(kv[0])] = unescape(kv[1]);
i++;
}
}
if (optcopy.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(optcopy);
}, _:null};
MochiAd.showPreGameAd({id:"cfe98ee7be1a3edd", res:"735x500", background:16777215, color:4491949, outline:3626927, no_bg:true});
Instance of Symbol 40 MovieClip "bbkg1" in Frame 2
onClipEvent (load) {
xmovement = 2;
_root.bbkg2.gotoAndStop(2);
_root.bbkg1.gotoAndStop(2);
}
onClipEvent (enterFrame) {
_root.bbkg2._x = _root.bbkg2._x - xmovement;
_root.bbkg1._x = _root.bbkg1._x - xmovement;
if ((_root.bbkg1._x - (_root.bbkg1._width / 2)) > 0) {
_root.bbkg2._x = _root.bbkg1._x - _root.bbkg1._width;
}
if ((_root.bbkg2._x - (_root.bbkg2._width / 2)) > 0) {
_root.bbkg1._x = _root.bbkg2._x - _root.bbkg2._width;
}
if ((_root.bbkg1._x + (_root.bbkg1._width / 2)) < 0) {
_root.bbkg1._x = _root.bbkg2._x + _root.bbkg2._width;
}
if ((_root.bbkg2._x + (_root.bbkg2._width / 2)) < 0) {
_root.bbkg2._x = _root.bbkg1._x + _root.bbkg1._width;
}
}
Frame 4
stop();
Instance of Symbol 60 MovieClip in Frame 4
onClipEvent (load) {
x = 3;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + ((x = x + 0.2));
} else {
this._y = this._y + ((x = x - 0.2));
}
}
Instance of Symbol 63 MovieClip in Frame 4
onClipEvent (load) {
if (_root.savefile.data.notfirsttime_played != true) {
gotoAndPlay (2);
}
}
Frame 5
stop();
if (_root.level_playing <= 3) {
_root.menu_mc.gotoAndStop(1);
} else if (_root.level_playing <= 7) {
_root.menu_mc.gotoAndStop(2);
} else if (_root.level_playing <= 11) {
_root.menu_mc.gotoAndStop(3);
} else {
_root.menu_mc.gotoAndStop(4);
}
savefile.data.levels_array0 = _root.levels_array[0];
savefile.data.levels_array1 = _root.levels_array[1];
savefile.data.levels_array2 = _root.levels_array[2];
savefile.data.levels_array3 = _root.levels_array[3];
savefile.data.levels_array4 = _root.levels_array[4];
savefile.data.levels_array5 = _root.levels_array[5];
savefile.data.levels_array6 = _root.levels_array[6];
savefile.data.levels_array7 = _root.levels_array[7];
savefile.data.levels_array8 = _root.levels_array[8];
savefile.data.levels_array9 = _root.levels_array[9];
savefile.data.levels_array10 = _root.levels_array[10];
savefile.data.levels_array11 = _root.levels_array[11];
savefile.data.levels_array12 = _root.levels_array[12];
savefile.data.levels_array13 = _root.levels_array[13];
savefile.data.levels_array14 = _root.levels_array[14];
savefile.data.levels_array15 = _root.levels_array[15];
savefile.data.cheat_array0 = _root.cheat_array[0];
savefile.data.cheat_array1 = _root.cheat_array[1];
savefile.data.cheat_array2 = _root.cheat_array[2];
savefile.data.cheat_array3 = _root.cheat_array[3];
savefile.data.cheat_array4 = _root.cheat_array[4];
savefile.data.cheat_array5 = _root.cheat_array[5];
savefile.data.cheat_array6 = _root.cheat_array[6];
savefile.data.cheat_array7 = _root.cheat_array[7];
savefile.data.cheat_array8 = _root.cheat_array[8];
savefile.flush();
Instance of Symbol 199 MovieClip "allcoins" in Frame 5
onClipEvent (load) {
y = 0;
x = 0;
while (x <= 16) {
if (_root.levels_array[x] == 2) {
y++;
}
x++;
}
if (y == 16) {
if (_root.savefile.data.allcoins != true) {
this.gotoAndStop(2);
_root.savefile.data.allcoins = true;
_root.savefile.flush();
}
}
}
Frame 6
stop();
Instance of Symbol 201 MovieClip "st0" in Frame 6
onClipEvent (load) {
c = random(90) + 10;
this._yscale = c;
this._xscale = c;
a = random(2);
b = random(20) + 5;
}
onClipEvent (enterFrame) {
with (this) {
((a == 1) ? ((_rotation = _rotation + b)) : ((_rotation = _rotation - b)));
}
this._alpha = this._alpha - 10;
}
Instance of Symbol 201 MovieClip "st1" in Frame 6
onClipEvent (load) {
c = random(90) + 10;
this._yscale = c;
this._xscale = c;
a = random(2);
b = random(20) + 5;
}
onClipEvent (enterFrame) {
with (this) {
((a == 1) ? ((_rotation = _rotation + b)) : ((_rotation = _rotation - b)));
}
this._alpha = this._alpha - 10;
}
Instance of Symbol 201 MovieClip "st2" in Frame 6
onClipEvent (load) {
c = random(90) + 10;
this._yscale = c;
this._xscale = c;
a = random(2);
b = random(20) + 5;
}
onClipEvent (enterFrame) {
with (this) {
((a == 1) ? ((_rotation = _rotation + b)) : ((_rotation = _rotation - b)));
}
this._alpha = this._alpha - 10;
}
Instance of Symbol 201 MovieClip "st3" in Frame 6
onClipEvent (load) {
c = random(90) + 10;
this._yscale = c;
this._xscale = c;
a = random(2);
b = random(20) + 5;
}
onClipEvent (enterFrame) {
with (this) {
((a == 1) ? ((_rotation = _rotation + b)) : ((_rotation = _rotation - b)));
}
this._alpha = this._alpha - 10;
}
Instance of Symbol 201 MovieClip "st4" in Frame 6
onClipEvent (load) {
c = random(90) + 10;
this._yscale = c;
this._xscale = c;
a = random(2);
b = random(20) + 5;
}
onClipEvent (enterFrame) {
with (this) {
((a == 1) ? ((_rotation = _rotation + b)) : ((_rotation = _rotation - b)));
}
this._alpha = this._alpha - 10;
}
Instance of Symbol 201 MovieClip "st5" in Frame 6
onClipEvent (load) {
c = random(90) + 10;
this._yscale = c;
this._xscale = c;
a = random(2);
b = random(20) + 5;
}
onClipEvent (enterFrame) {
with (this) {
((a == 1) ? ((_rotation = _rotation + b)) : ((_rotation = _rotation - b)));
}
this._alpha = this._alpha - 10;
}
Instance of Symbol 201 MovieClip "st6" in Frame 6
onClipEvent (load) {
c = random(90) + 10;
this._yscale = c;
this._xscale = c;
a = random(2);
b = random(20) + 5;
}
onClipEvent (enterFrame) {
with (this) {
((a == 1) ? ((_rotation = _rotation + b)) : ((_rotation = _rotation - b)));
}
this._alpha = this._alpha - 10;
}
Instance of Symbol 201 MovieClip "st7" in Frame 6
onClipEvent (load) {
c = random(90) + 10;
this._yscale = c;
this._xscale = c;
a = random(2);
b = random(20) + 5;
}
onClipEvent (enterFrame) {
with (this) {
((a == 1) ? ((_rotation = _rotation + b)) : ((_rotation = _rotation - b)));
}
this._alpha = this._alpha - 10;
}
Instance of Symbol 201 MovieClip "st8" in Frame 6
onClipEvent (load) {
c = random(90) + 10;
this._yscale = c;
this._xscale = c;
a = random(2);
b = random(20) + 5;
}
onClipEvent (enterFrame) {
with (this) {
((a == 1) ? ((_rotation = _rotation + b)) : ((_rotation = _rotation - b)));
}
this._alpha = this._alpha - 10;
}
Instance of Symbol 201 MovieClip "st9" in Frame 6
onClipEvent (load) {
c = random(90) + 10;
this._yscale = c;
this._xscale = c;
a = random(2);
b = random(20) + 5;
}
onClipEvent (enterFrame) {
with (this) {
((a == 1) ? ((_rotation = _rotation + b)) : ((_rotation = _rotation - b)));
}
this._alpha = this._alpha - 10;
}
Instance of Symbol 201 MovieClip "st10" in Frame 6
onClipEvent (load) {
c = random(90) + 10;
this._yscale = c;
this._xscale = c;
a = random(2);
b = random(20) + 5;
}
onClipEvent (enterFrame) {
with (this) {
((a == 1) ? ((_rotation = _rotation + b)) : ((_rotation = _rotation - b)));
}
this._alpha = this._alpha - 10;
}
Instance of Symbol 236 MovieClip "hero" in Frame 6
onClipEvent (load) {
_root.barrelmovesound.stop();
_root.burnit.stop();
if ((_root.level_playing < 8) && (_root.level_playing >= 4)) {
_root.bkg1.gotoAndStop(2);
_root.bkg2.gotoAndStop(2);
} else if ((_root.level_playing < 12) && (_root.level_playing >= 8)) {
_root.bkg1.gotoAndStop(3);
_root.bkg2.gotoAndStop(3);
} else if (_root.level_playing == 12) {
_root.bkg1.gotoAndStop(1);
_root.bkg2.gotoAndStop(1);
} else if (_root.level_playing == 13) {
_root.bkg1.gotoAndStop(2);
_root.bkg2.gotoAndStop(2);
} else if (_root.level_playing == 14) {
_root.bkg1.gotoAndStop(3);
_root.bkg2.gotoAndStop(3);
} else if (_root.level_playing == 15) {
_root.bkg1.gotoAndStop(4);
_root.bkg2.gotoAndStop(4);
}
xmovement = 0;
dead = false;
gravity = -25;
speed = 20;
startingy = this._y;
startx = this._x;
stop_player = true;
beat_level = false;
using_special = false;
_root.special_using = 0;
_root.nextHighestDepth = 1000;
aaa = 1;
xxx = 0;
}
onClipEvent (enterFrame) {
if ((_root.level_playing == 15) || (_root.cheat_array[6] == 3)) {
aaa--;
if (aaa <= 0) {
_root["st" + xxx]._x = _root.hero._x;
_root["st" + xxx]._y = _root.hero._y;
_root["st" + xxx]._alpha = 100;
myColor = Math.round(Math.random() * 16777215);
myColoredObject = new Color(_root["st" + xxx]);
myColoredObject.setRGB(myColor);
xxx++;
aaa = 1;
if (xxx > 10) {
xxx = 0;
}
}
}
if (dead != true) {
if (_root.special_using == 1) {
if (Key.isDown(38)) {
if (dooncek != true) {
dooncek = true;
_root.burnit.play();
}
if (this._y >= 50) {
if (using_special) {
this.rocket.gotoAndPlay(2);
this.flame.play();
gravity = -7;
stop_player = false;
this.display.gotoAndStop(1);
}
}
}
if (stop_player == false) {
if (_root.cheat_array[7] != 3) {
if (_root.level_playing == 2) {
this.timer.timer._x = this.timer.timer._x - 0.7;
} else if (_root.level_playing == 10) {
this.timer.timer._x = this.timer.timer._x - 0.33;
} else {
this.timer.timer._x = this.timer.timer._x - 0.5;
}
}
xmovement = 10;
}
}
if (_root.special_using == 2) {
if (using_special_two == false) {
if (_root.cheat_array[7] != 3) {
this.timer.timer._x = this.timer.timer._x - 0.5;
}
this._y = this._y + ((spd_special = spd_special + 0.5));
gravity = 0;
}
if (using_special) {
if (xmovement > 5) {
xmovement = xmovement - 0.3;
}
if (this._y < 50) {
spd_special = 1;
}
if (Key.isDown(38)) {
if (this._y >= 50) {
if (dooncek != true) {
dooncek = true;
_root.burnit.play();
}
using_special_two = false;
spd_special--;
stop_player = true;
this.display.gotoAndStop(1);
}
} else {
_root.burnit.stop();
dooncek = false;
}
if (Key.isDown(39)) {
using_special_two = false;
stop_player = true;
if (xmovement < 5) {
xmovement++;
}
this.display.gotoAndStop(1);
} else if (Key.isDown(37)) {
using_special_two = false;
stop_player = true;
if (xmovement > -5) {
xmovement--;
}
this.display.gotoAndStop(1);
} else if (xmovement < -1) {
xmovement++;
} else if (xmovement > 1) {
xmovement--;
}
}
}
}
if (_root.finish.hitTest(_x, _y, true)) {
_root.barrelmovesound.stop();
_root.burnit.stop();
_root.menu.gotoAndStop("win");
this._x = _root.finish._x;
this._y = _root.finish._y;
_root.finish.gotoAndStop(2);
this.gotoAndStop(2);
this._alpha = 0;
beat_level = true;
}
if (beat_level == false) {
if (this._y >= 550) {
_root.special_using = 0;
this.gotoAndStop("dead");
dead = true;
_root.menu.gotoAndStop("dead");
}
if (spaceok && (Key.isDown(32))) {
if (starting_game != false) {
_root.white.gotoAndStop(70);
stop_player = false;
starting_game = false;
spaceok = false;
this.gotoAndStop(2);
}
}
if (stop_player == false) {
this._y = this._y + ((gravity = gravity + 1.1));
if (barrel == "inside") {
xmovement = 0;
} else if (_root.special_using == 0) {
xmovement = (-1 * speed) * Math.sin(this._rotation * (Math.PI/180));
this._y = this._y + (speed * Math.cos(this._rotation * (Math.PI/180)));
}
}
if (barrel != "inside") {
if (this._x < (startx + 30)) {
if ((this._rotation > -180) && (this._rotation < 0)) {
this._x = this._x + xmovement;
xmovement = 0;
}
}
if (this._x > startx) {
if ((this._rotation > 0) && (this._rotation < 180)) {
this._x = this._x + xmovement;
xmovement = 0;
}
}
}
if ((barrel == "inside") && (dead != true)) {
if (_root["barrel" + j].barrel_moves_horizontal) {
if (Key.isDown(37)) {
if (this._x > (_root["chain" + j]._x - (_root["chain" + j]._width / 2))) {
if (dosoundok != true) {
if ((_root.level_playing < 8) && (_root.level_playing >= 4)) {
dosoundok = true;
_root.burnit.play();
} else {
dosoundok = true;
_root.barrelmovesound.play();
}
}
xmovement = -5;
_root["barrel" + j]._x = _root["barrel" + j]._x + xmovement;
a = j + 1;
_root["gear" + j]._rotation = _root["gear" + j]._rotation + xmovement;
_root["gear" + a]._rotation = _root["gear" + a]._rotation - xmovement;
_root["gear" + j]._x = _root["gear" + j]._x + xmovement;
_root["gear" + a]._x = _root["gear" + a]._x + xmovement;
_root["barrel_rocket" + j]._x = _root["barrel_rocket" + j]._x + xmovement;
_root["barrel_rocket" + a]._x = _root["barrel_rocket" + a]._x + xmovement;
_root["barrel_rocket" + j].gotoAndStop(2);
_root["barrel_rocket" + a].gotoAndStop(2);
}
} else if (Key.isDown(39)) {
if (this._x < (_root["chain" + j]._x + (_root["chain" + j]._width / 2))) {
if (dosoundok != true) {
if ((_root.level_playing < 8) && (_root.level_playing >= 4)) {
dosoundok = true;
_root.burnit.play();
} else {
dosoundok = true;
_root.barrelmovesound.play();
}
}
xmovement = 5;
_root["barrel" + j]._x = _root["barrel" + j]._x + xmovement;
a = j + 1;
_root["gear" + j]._rotation = _root["gear" + j]._rotation + xmovement;
_root["gear" + a]._rotation = _root["gear" + a]._rotation - xmovement;
_root["gear" + j]._x = _root["gear" + j]._x + xmovement;
_root["gear" + a]._x = _root["gear" + a]._x + xmovement;
_root["barrel_rocket" + j]._x = _root["barrel_rocket" + j]._x + xmovement;
_root["barrel_rocket" + a]._x = _root["barrel_rocket" + a]._x + xmovement;
_root["barrel_rocket" + j].gotoAndStop(3);
_root["barrel_rocket" + a].gotoAndStop(3);
}
} else {
dosoundok = false;
_root.burnit.stop();
_root.barrelmovesound.stop();
}
}
if (_root["barrel" + j].barrel_moves_vertical) {
if (Key.isDown(38)) {
if (this._y > (_root["chain" + j]._y - (_root["chain" + j]._height / 2))) {
if (dosoundok != true) {
if ((_root.level_playing < 8) && (_root.level_playing >= 4)) {
dosoundok = true;
_root.burnit.play();
} else {
dosoundok = true;
_root.barrelmovesound.play();
}
}
spd = -5;
_root["barrel" + j]._y = _root["barrel" + j]._y + spd;
a = j + 1;
_root["gear" + j]._rotation = _root["gear" + j]._rotation + spd;
_root["gear" + a]._rotation = _root["gear" + a]._rotation - spd;
_root["gear" + j]._y = _root["gear" + j]._y + spd;
_root["gear" + a]._y = _root["gear" + a]._y + spd;
_root["barrel_rocket" + j]._y = _root["barrel_rocket" + j]._y + spd;
_root["barrel_rocket" + a]._y = _root["barrel_rocket" + a]._y + spd;
_root["barrel_rocket" + j].gotoAndStop(2);
_root["barrel_rocket" + a].gotoAndStop(2);
}
} else if (Key.isDown(40)) {
if (this._y < (_root["chain" + j]._y + (_root["chain" + j]._height / 2))) {
if (dosoundok != true) {
if ((_root.level_playing < 8) && (_root.level_playing >= 4)) {
dosoundok = true;
_root.burnit.play();
} else {
dosoundok = true;
_root.barrelmovesound.play();
}
}
spd = 5;
_root["barrel" + j]._y = _root["barrel" + j]._y + spd;
a = j + 1;
_root["gear" + j]._rotation = _root["gear" + j]._rotation + spd;
_root["gear" + a]._rotation = _root["gear" + a]._rotation - spd;
_root["gear" + j]._y = _root["gear" + j]._y + spd;
_root["gear" + a]._y = _root["gear" + a]._y + spd;
_root["barrel_rocket" + j]._y = _root["barrel_rocket" + j]._y + spd;
_root["barrel_rocket" + a]._y = _root["barrel_rocket" + a]._y + spd;
_root["barrel_rocket" + j].gotoAndStop(3);
_root["barrel_rocket" + a].gotoAndStop(3);
}
} else {
dosoundok = false;
_root.burnit.stop();
_root.barrelmovesound.stop();
}
}
}
this._alpha = 100;
if (dead == false) {
_root.finish._x = _root.finish._x - xmovement;
x = 0;
while (x <= 15) {
_root["st" + x]._x = _root["st" + x]._x - xmovement;
_root["barrel_rocket" + x]._x = _root["barrel_rocket" + x]._x - xmovement;
_root["fuel" + x]._x = _root["fuel" + x]._x - xmovement;
_root["speed" + x]._x = _root["speed" + x]._x - xmovement;
_root["gear" + x]._x = _root["gear" + x]._x - xmovement;
_root["chain" + x]._x = _root["chain" + x]._x - xmovement;
_root["static" + x]._x = _root["static" + x]._x - xmovement;
_root["special" + x]._x = _root["special" + x]._x - xmovement;
_root["coin" + x]._x = _root["coin" + x]._x - xmovement;
_root["baddie" + x]._x = _root["baddie" + x]._x - xmovement;
_root["barrel" + x]._x = _root["barrel" + x]._x - xmovement;
if (_root.special_using == 1) {
if (stop_player == false) {
if (this.hitter.hitTest(_root["fuel" + x])) {
_root.bellsound2.play();
_root["fuel" + x].gotoAndStop(2);
if (_root.cheat_array[7] != 3) {
this.timer.timer._x = this.timer.timer._x + 100;
}
}
}
}
if (_root["speed" + x].hitTest(this.hitter)) {
xmovement = 18;
this.blimp.play();
}
if (dead != true) {
if (_root["special" + x].hitTest(this.hitter)) {
using_special_two = true;
spd_special = 0;
using_special = true;
_root.special_using = x + 1;
xmovement = 0;
this._rotation = 0;
this.gotoAndStop(x + 3);
_root["special" + x].gotoAndStop("hide");
this.display.gotoAndStop(x + 2);
stop_player = true;
}
}
if (_root["coin" + x].hitTest(this.hitter)) {
_root["coin" + x].dead = true;
_root.bellsound.play();
}
if (_root.baddie0.hitter.hitTest(_root["barrel" + x])) {
if (this.hitter.hitTest(_root["barrel" + x])) {
if (barrel == "inside") {
if ((_root.cheat_array[8] != 3) || (_root.secretlvl == true)) {
gravity = -10;
barrel = "outside";
dead = true;
exploded = true;
_root.secretlvl = false;
}
}
}
_root.baddie0.play();
_root.explode._x = _root["barrel" + x]._x;
_root.explode._y = _root["barrel" + x]._y;
_root["barrel" + x].z = "hide";
pq = 1;
_root["baddie" + x].play();
while (pq < 10) {
pq++;
duplicateMovieClip (_root.explode, "explode" + _root.nextHighestDepth, _root.nextHighestDepth);
if (_root["barrel" + x].gonow) {
_root["explode" + _root.nextHighestDepth].gotoAndStop(2);
}
_root["explode" + _root.nextHighestDepth].go = true;
_root.nextHighestDepth++;
}
}
if (_root["baddie" + x].hitTest(this.hitter)) {
if (_root["baddie" + x].kills_barrels) {
_root["baddie" + x].play();
}
if (_root["baddie" + x].go_red) {
_root["baddie" + x].baddie.play();
}
_root["baddie" + x].dead = true;
if ((_root.cheat_array[8] != 3) || (_root.secretlvl == true)) {
_root.secretlvl = false;
dead = true;
this.gotoAndStop("dead");
if (stop_player || (using_special)) {
gravity = -10;
} else if (exploded != true) {
gravity = -30;
if (_root.special_using == 1) {
gravity = -10;
} else if (_root.special_using == 2) {
if (!using_special) {
gravity = -10;
}
}
}
}
if ((_root.cheat_array[8] != 3) || (_root.secretlvl == true)) {
stop_player = false;
this._rotation = 0;
}
}
if (_root["barrel" + x].hitTest(this.hitter)) {
exploded = false;
if (dead) {
this.gotoAndStop("dead");
} else {
this.gotoAndStop(2);
stop_player = false;
using_special_two = false;
_root.special_using = 0;
gravity = 0;
}
if (barrel != "blasted") {
_root["barrel" + x].gotoAndStop(2);
this._alpha = 0;
this._rotation = _root["barrel" + x]._rotation;
this._x = _root["barrel" + x]._x;
this._y = _root["barrel" + x]._y;
j = x;
}
if (barrel == "outside") {
_root.in_sound_mc.play();
barrel = "inside";
}
if (Key.isDown(32) || (_root["barrel" + x].gonow)) {
if (spaceok) {
dosoundok = false;
_root.burnit.stop();
_root.barrelmovesound.stop();
if (barrel != "blasted") {
_root.barrelsound.play();
}
barrel = "blasted";
spaceok = false;
} else if (_root["barrel" + x].gonow) {
dosoundok = false;
_root.burnit.stop();
_root.barrelmovesound.stop();
if (barrel != "blasted") {
_root.barrelsound.play();
}
barrel = "blasted";
spaceok = false;
}
}
}
x++;
}
if (!_root["barrel" + j].hitTest(this.hitter)) {
barrel = "outside";
}
_root.bkg2._x = _root.bkg2._x - xmovement;
_root.bkg1._x = _root.bkg1._x - xmovement;
if ((_root.bkg1._x - (_root.bkg1._width / 2)) > 0) {
_root.bkg2._x = _root.bkg1._x - _root.bkg1._width;
}
if ((_root.bkg2._x - (_root.bkg2._width / 2)) > 0) {
_root.bkg1._x = _root.bkg2._x - _root.bkg2._width;
}
if ((_root.bkg1._x + (_root.bkg1._width / 2)) < 0) {
_root.bkg1._x = _root.bkg2._x + _root.bkg2._width;
}
if ((_root.bkg2._x + (_root.bkg2._width / 2)) < 0) {
_root.bkg2._x = _root.bkg1._x + _root.bkg1._width;
}
}
}
if (!Key.isDown(32)) {
spaceok = true;
}
}
Instance of Symbol 248 MovieClip "barrel0" in Frame 6
onClipEvent (load) {
a = 0;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b - 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b - 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 0;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 251 MovieClip "baddie14" in Frame 6
onClipEvent (load) {
go_red = true;
this.gotoAndPlay(random(80));
}
Instance of Symbol 248 MovieClip "barrel1" in Frame 6
onClipEvent (load) {
barrel_moves_vertical = true;
a = 5;
b = a;
spd = 5;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 248 MovieClip "barrel2" in Frame 6
onClipEvent (load) {
this._rotation = random(360);
a = 5;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b + 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b + 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 5;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 248 MovieClip "barrel3" in Frame 6
onClipEvent (load) {
a = 0;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b - 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b - 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 0;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 266 MovieClip "finish" in Frame 6
onClipEvent (enterFrame) {
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 269 MovieClip "coin0" in Frame 6
onClipEvent (load) {
_root.coin_number++;
}
onClipEvent (enterFrame) {
if (dead) {
if (doonce != true) {
doonce = true;
_root.coin_number--;
}
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 272 MovieClip "baddie5" in Frame 6
onClipEvent (enterFrame) {
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 550;
}
}
Instance of Symbol 272 MovieClip "baddie4" in Frame 6
onClipEvent (enterFrame) {
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 550;
}
}
Instance of Symbol 304 MovieClip "explode" in Frame 6
onClipEvent (load) {
this._rotation = random(360);
gravity = random(30) - 15;
x = random(30) - 15;
y = random(2);
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._name != "explode") {
this._alpha = 100;
if (go) {
this._y = this._y + (gravity++);
this._x = this._x + x;
this._rotation = this._rotation + x;
}
if (this._y >= 550) {
this.removeMovieClip();
}
}
this._x = this._x - _root.hero.xmovement;
}
Instance of Symbol 248 MovieClip "barrel0" in Frame 7
onClipEvent (load) {
barrel_moves_horizontal = true;
a = 5;
b = a;
spd = 5;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 266 MovieClip "finish" in Frame 7
onClipEvent (enterFrame) {
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel2" in Frame 7
onClipEvent (load) {
barrel_moves_vertical = true;
a = 5;
b = a;
spd = 5;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 248 MovieClip "barrel4" in Frame 7
onClipEvent (load) {
barrel_moves_horizontal = true;
a = 5;
b = a;
spd = 5;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 251 MovieClip "baddie12" in Frame 7
onClipEvent (load) {
go_red = true;
this.stop();
}
Instance of Symbol 251 MovieClip "baddie10" in Frame 7
onClipEvent (load) {
go_red = true;
this.stop();
}
Instance of Symbol 251 MovieClip "baddie11" in Frame 7
onClipEvent (load) {
go_red = true;
this.stop();
}
Instance of Symbol 309 MovieClip "baddie1" in Frame 7
onClipEvent (load) {
go_red = true;
this.gotoAndPlay(random(80));
}
Instance of Symbol 248 MovieClip "barrel0" in Frame 8
onClipEvent (load) {
a = 0;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b - 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b - 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 0;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 222 MovieClip "special0" in Frame 8
onClipEvent (enterFrame) {
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else if (_root.special_using == 1) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel1" in Frame 8
onClipEvent (load) {
this._rotation = random(360);
a = 5;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b + 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b + 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 5;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 272 MovieClip "baddie0" in Frame 8
onClipEvent (enterFrame) {
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 600;
}
}
Instance of Symbol 272 MovieClip "baddie1" in Frame 8
onClipEvent (enterFrame) {
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 600;
}
}
Instance of Symbol 272 MovieClip "baddie2" in Frame 8
onClipEvent (enterFrame) {
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 600;
}
}
Instance of Symbol 272 MovieClip "baddie3" in Frame 8
onClipEvent (enterFrame) {
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 600;
}
}
Instance of Symbol 272 MovieClip "baddie4" in Frame 8
onClipEvent (enterFrame) {
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 600;
}
}
Instance of Symbol 272 MovieClip "baddie5" in Frame 8
onClipEvent (enterFrame) {
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 600;
}
}
Instance of Symbol 272 MovieClip "baddie7" in Frame 8
onClipEvent (enterFrame) {
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 600;
}
}
Instance of Symbol 272 MovieClip "baddie6" in Frame 8
onClipEvent (enterFrame) {
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 600;
}
}
Instance of Symbol 248 MovieClip "barrel6" in Frame 8
onClipEvent (load) {
this._alpha = 100;
gonow = true;
z = 1;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 248 MovieClip "barrel3" in Frame 8
onClipEvent (load) {
this._alpha = 100;
gonow = true;
z = 1;
}
onClipEvent (enterFrame) {
if (_root.hero.hitter.hitTest(this)) {
_root.gotoAndStop(22);
}
this.barrel.gotoAndStop(2);
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 222 MovieClip "special0" in Frame 9
onClipEvent (enterFrame) {
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else if (_root.special_using == 1) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel2" in Frame 9
onClipEvent (load) {
barrel_moves_vertical = true;
a = 5;
b = a;
spd = 5;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 248 MovieClip "barrel4" in Frame 9
onClipEvent (load) {
barrel_moves_horizontal = true;
a = 5;
b = a;
spd = 5;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 266 MovieClip "finish" in Frame 9
onClipEvent (enterFrame) {
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 269 MovieClip "coin0" in Frame 9
onClipEvent (load) {
_root.coin_number++;
}
onClipEvent (enterFrame) {
if (dead) {
if (doonce != true) {
doonce = true;
_root.coin_number--;
}
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel5" in Frame 9
onClipEvent (load) {
this._rotation = random(360);
a = 5;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b + 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b + 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 5;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 251 MovieClip "baddie4" in Frame 9
onClipEvent (load) {
go_red = true;
this.stop();
}
Instance of Symbol 251 MovieClip "baddie5" in Frame 9
onClipEvent (load) {
go_red = true;
this.stop();
}
Instance of Symbol 251 MovieClip "baddie6" in Frame 9
onClipEvent (load) {
go_red = true;
this.stop();
}
Instance of Symbol 251 MovieClip "baddie7" in Frame 9
onClipEvent (load) {
go_red = true;
this.stop();
}
Instance of Symbol 251 MovieClip "baddie8" in Frame 9
onClipEvent (load) {
go_red = true;
this.stop();
}
Instance of Symbol 251 MovieClip "baddie9" in Frame 9
onClipEvent (load) {
go_red = true;
this.stop();
}
Instance of Symbol 251 MovieClip "baddie12" in Frame 9
onClipEvent (load) {
go_red = true;
this.stop();
}
Instance of Symbol 251 MovieClip "baddie10" in Frame 9
onClipEvent (load) {
go_red = true;
this.stop();
}
Instance of Symbol 251 MovieClip "baddie11" in Frame 9
onClipEvent (load) {
go_red = true;
this.stop();
}
Instance of Symbol 316 MovieClip "gear13" in Frame 9
onClipEvent (enterFrame) {
if (((this._x + (this._width / 2)) < -200) || ((this._x - (this._width / 2)) > 1000)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 309 MovieClip "baddie0" in Frame 9
onClipEvent (load) {
go_red = true;
this.gotoAndPlay(random(80));
}
Instance of Symbol 272 MovieClip "baddie2" in Frame 9
onClipEvent (enterFrame) {
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 550;
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 272 MovieClip "baddie3" in Frame 9
onClipEvent (enterFrame) {
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 550;
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 272 MovieClip "baddie14" in Frame 9
onClipEvent (enterFrame) {
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 550;
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 272 MovieClip "baddie13" in Frame 9
onClipEvent (enterFrame) {
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 550;
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel14" in Frame 9
onClipEvent (load) {
this._alpha = 100;
gonow = true;
z = 1;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 248 MovieClip "barrel13" in Frame 9
onClipEvent (load) {
this._alpha = 100;
gonow = true;
z = 1;
}
onClipEvent (enterFrame) {
if (_root.hero.hitter.hitTest(this)) {
_root.gotoAndStop(22);
}
this.barrel.gotoAndStop(2);
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 257 MovieClip "chain1" in Frame 10
onClipEvent (load) {
this.gotoAndStop(3);
}
Instance of Symbol 325 MovieClip "baddie0" in Frame 10
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie1" in Frame 10
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie2" in Frame 10
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel2" in Frame 10
onClipEvent (load) {
a = 0;
b = a;
z = 1;
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b - 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b - 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 0;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 327 MovieClip "static1" in Frame 10
onClipEvent (enterFrame) {
if (_root.hero.hitter.hitTest(this)) {
dead = true;
}
if (dead && (_alpha > 0)) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 325 MovieClip "baddie3" in Frame 10
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else if (_root.barrel2.hitTest(_root.hero._x, _root.hero._y, true)) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 266 MovieClip "finish" in Frame 10
onClipEvent (enterFrame) {
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel1" in Frame 10
onClipEvent (load) {
barrel_moves_vertical = true;
a = 5;
b = a;
spd = 5;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 335 MovieClip "barrel_rocket2" in Frame 10
onClipEvent (enterFrame) {
this.gotoAndStop(1);
}
Instance of Symbol 335 MovieClip "barrel_rocket1" in Frame 10
onClipEvent (enterFrame) {
this.gotoAndStop(1);
}
Instance of Symbol 327 MovieClip "static0" in Frame 10
onClipEvent (enterFrame) {
if (_root.hero.hitter.hitTest(this)) {
dead = true;
}
if (dead && (_alpha > 0)) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 327 MovieClip "static5" in Frame 10
onClipEvent (enterFrame) {
if (_root.hero.hitter.hitTest(this)) {
dead = true;
}
if (dead && (_alpha > 0)) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 327 MovieClip "static6" in Frame 10
onClipEvent (enterFrame) {
if (_root.hero.hitter.hitTest(this)) {
dead = true;
}
if (dead && (_alpha > 0)) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 325 MovieClip "baddie4" in Frame 10
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie5" in Frame 10
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel3" in Frame 10
onClipEvent (load) {
a = 0;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b - 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b - 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 0;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 338 MovieClip "special1" in Frame 11
onClipEvent (enterFrame) {
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else if (_root.special_using == 2) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie1" in Frame 11
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie3" in Frame 11
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel1" in Frame 11
onClipEvent (load) {
a = 0;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b - 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b - 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 0;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 325 MovieClip "baddie4" in Frame 11
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 269 MovieClip "coin0" in Frame 11
onClipEvent (load) {
_root.coin_number++;
}
onClipEvent (enterFrame) {
if (dead) {
if (doonce != true) {
doonce = true;
_root.coin_number--;
}
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel14" in Frame 11
onClipEvent (load) {
this._alpha = 100;
gonow = true;
z = 1;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 248 MovieClip "barrel13" in Frame 11
onClipEvent (load) {
this._alpha = 100;
gonow = true;
z = 1;
}
onClipEvent (enterFrame) {
if (_root.hero.hitter.hitTest(this)) {
_root.gotoAndStop(22);
}
this.barrel.gotoAndStop(2);
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 325 MovieClip "baddie8" in Frame 11
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie9" in Frame 11
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie10" in Frame 11
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie11" in Frame 11
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 257 MovieClip "chain1" in Frame 12
onClipEvent (load) {
this.gotoAndStop(3);
}
Instance of Symbol 248 MovieClip "barrel1" in Frame 12
onClipEvent (load) {
barrel_moves_horizontal = true;
a = 5;
b = a;
spd = 5;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 335 MovieClip "barrel_rocket2" in Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(1);
}
Instance of Symbol 335 MovieClip "barrel_rocket1" in Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(1);
}
Instance of Symbol 257 MovieClip "chain3" in Frame 12
onClipEvent (load) {
this.gotoAndStop(3);
}
Instance of Symbol 248 MovieClip "barrel3" in Frame 12
onClipEvent (load) {
barrel_moves_horizontal = true;
a = 5;
b = a;
spd = 5;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 335 MovieClip "barrel_rocket3" in Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(1);
}
Instance of Symbol 335 MovieClip "barrel_rocket4" in Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(1);
}
Instance of Symbol 325 MovieClip "baddie0" in Frame 12
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie1" in Frame 12
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie2" in Frame 12
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 257 MovieClip "chain5" in Frame 12
onClipEvent (load) {
this.gotoAndStop(3);
}
Instance of Symbol 248 MovieClip "barrel5" in Frame 12
onClipEvent (load) {
barrel_moves_horizontal = true;
a = 5;
b = a;
spd = 5;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 335 MovieClip "barrel_rocket6" in Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(1);
}
Instance of Symbol 335 MovieClip "barrel_rocket5" in Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(1);
}
Instance of Symbol 325 MovieClip "baddie3" in Frame 12
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie4" in Frame 12
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel6" in Frame 12
onClipEvent (load) {
this._rotation = random(360);
a = 5;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b + 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b + 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 5;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 248 MovieClip "barrel4" in Frame 12
onClipEvent (load) {
this._alpha = 100;
gonow = true;
z = 1;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 325 MovieClip "baddie7" in Frame 12
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel0" in Frame 13
onClipEvent (load) {
a = 5;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b + 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b + 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 5;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 338 MovieClip "special1" in Frame 13
onClipEvent (enterFrame) {
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else if (_root.special_using == 2) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie1" in Frame 13
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie2" in Frame 13
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie4" in Frame 13
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie5" in Frame 13
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie6" in Frame 13
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel1" in Frame 13
onClipEvent (load) {
this._rotation = random(360);
a = 5;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b + 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b + 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 5;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 325 MovieClip "baddie8" in Frame 13
onClipEvent (load) {
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel2" in Frame 13
onClipEvent (load) {
a = 0;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b - 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b - 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 0;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 325 MovieClip "baddie9" in Frame 13
onClipEvent (load) {
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel14" in Frame 13
onClipEvent (load) {
this._alpha = 100;
gonow = true;
z = 1;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 248 MovieClip "barrel13" in Frame 13
onClipEvent (load) {
this._alpha = 100;
gonow = true;
z = 1;
}
onClipEvent (enterFrame) {
if (_root.hero.hitter.hitTest(this)) {
_root.gotoAndStop(22);
}
this.barrel.gotoAndStop(2);
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 325 MovieClip "baddie14" in Frame 13
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie10" in Frame 13
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel1" in Frame 14
onClipEvent (load) {
this._rotation = random(360);
a = 5;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b + 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b + 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 5;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 343 MovieClip "baddie1" in Frame 14
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 900) || (this._x <= -100)) {
this.gotoAndStop("hide");
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 343 MovieClip "baddie3" in Frame 14
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 900) || (this._x <= -100)) {
this.gotoAndStop("hide");
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 257 MovieClip "chain2" in Frame 14
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 352 MovieClip "baddie4" in Frame 14
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 248 MovieClip "barrel4" in Frame 14
onClipEvent (load) {
a = 0;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b - 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b - 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 0;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 248 MovieClip "barrel6" in Frame 14
onClipEvent (load) {
a = 0;
b = a;
z = 1;
x = 15;
y = x;
this._alpha = 100;
gonow = true;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 266 MovieClip "finish" in Frame 14
onClipEvent (enterFrame) {
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel2" in Frame 14
onClipEvent (load) {
barrel_moves_vertical = true;
a = 5;
b = a;
spd = 5;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 257 MovieClip "chain0" in Frame 14
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 248 MovieClip "barrel0" in Frame 14
onClipEvent (load) {
barrel_moves_horizontal = true;
a = 5;
b = a;
spd = 5;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 352 MovieClip "baddie0" in Frame 14
onClipEvent (load) {
kills_barrels = true;
go_red = true;
}
Instance of Symbol 257 MovieClip "chain1" in Frame 15
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 248 MovieClip "barrel1" in Frame 15
onClipEvent (load) {
barrel_moves_horizontal = true;
a = 5;
b = a;
spd = 5;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 257 MovieClip "chain5" in Frame 15
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 248 MovieClip "barrel5" in Frame 15
onClipEvent (load) {
barrel_moves_vertical = true;
a = 5;
b = a;
spd = 5;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 343 MovieClip "baddie2" in Frame 15
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 900) || (this._x <= -100)) {
this.gotoAndStop("hide");
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 343 MovieClip "baddie4" in Frame 15
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 900) || (this._x <= -100)) {
this.gotoAndStop("hide");
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 248 MovieClip "barrel6" in Frame 15
onClipEvent (load) {
a = 0;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b - 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b - 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 0;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 266 MovieClip "finish" in Frame 15
onClipEvent (enterFrame) {
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel4" in Frame 15
onClipEvent (load) {
this._rotation = random(360);
a = 5;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b + 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b + 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 5;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 248 MovieClip "barrel0" in Frame 15
onClipEvent (load) {
this._rotation = random(360);
a = 5;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b + 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b + 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 5;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 357 MovieClip "baddie0" in Frame 15
onClipEvent (load) {
kills_barrels = true;
}
onClipEvent (enterFrame) {
if (_root.hero.starting_game == false) {
this._x = this._x + ((_root.hero._x - this._x) / 44);
this._y = this._y + ((_root.hero._y - this._y) / 44);
}
}
Instance of Symbol 222 MovieClip "special0" in Frame 16
onClipEvent (enterFrame) {
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else if (_root.special_using == 1) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel0" in Frame 16
onClipEvent (load) {
a = 0;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b - 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b - 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 0;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 360 MovieClip "baddie0" in Frame 16
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 352 MovieClip "baddie1" in Frame 16
onClipEvent (load) {
kills_barrels = true;
go_red = true;
}
Instance of Symbol 352 MovieClip "baddie2" in Frame 16
onClipEvent (load) {
kills_barrels = true;
go_red = true;
}
Instance of Symbol 363 MovieClip "baddie3" in Frame 16
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 360 MovieClip "baddie4" in Frame 16
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 360 MovieClip "baddie7" in Frame 16
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 360 MovieClip "baddie5" in Frame 16
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 352 MovieClip "baddie6" in Frame 16
onClipEvent (load) {
kills_barrels = true;
go_red = true;
}
Instance of Symbol 360 MovieClip "baddie8" in Frame 16
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 360 MovieClip "baddie9" in Frame 16
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 360 MovieClip "baddie10" in Frame 16
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 266 MovieClip "finish" in Frame 16
onClipEvent (enterFrame) {
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel2" in Frame 16
onClipEvent (load) {
this._rotation = random(360);
a = 5;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b + 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b + 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 5;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 363 MovieClip "baddie3" in Frame 17
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 360 MovieClip "baddie2" in Frame 17
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 257 MovieClip "chain1" in Frame 17
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 248 MovieClip "barrel1" in Frame 17
onClipEvent (load) {
barrel_moves_vertical = true;
a = 5;
b = a;
spd = 5;
z = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 363 MovieClip "baddie4" in Frame 17
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 248 MovieClip "barrel0" in Frame 17
onClipEvent (load) {
this._rotation = random(360);
a = 5;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b + 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b + 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 5;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 248 MovieClip "barrel3" in Frame 17
onClipEvent (load) {
this._rotation = random(360);
a = 5;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b + 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b + 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 5;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 257 MovieClip "chain4" in Frame 17
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 248 MovieClip "barrel4" in Frame 17
onClipEvent (load) {
barrel_moves_vertical = true;
a = 5;
b = a;
spd = 5;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 343 MovieClip "baddie8" in Frame 17
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 900) || (this._x <= -100)) {
this.gotoAndStop("hide");
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 343 MovieClip "baddie10" in Frame 17
onClipEvent (load) {
speed = 1;
firsty = this._y;
x = random(2) + 1;
timer = random(50);
}
onClipEvent (enterFrame) {
if ((this._x >= 900) || (this._x <= -100)) {
this.gotoAndStop("hide");
go_ok = true;
} else if (go_ok) {
this.gotoAndStop(1);
go_ok = false;
}
timer--;
if (timer <= 0) {
go = true;
}
if (dead != true) {
if (go) {
if (x == 1) {
this._rotation = this._rotation - speed;
} else {
this._rotation = this._rotation + speed;
}
this._y = this._y + ((speed = speed + 0.5));
if (this._y >= 600) {
speed = 0;
x = random(2) + 1;
this._y = firsty;
}
}
} else if (this._alpha >= 0) {
speed = 0;
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
}
Instance of Symbol 248 MovieClip "barrel5" in Frame 17
onClipEvent (load) {
this._rotation = random(360);
a = 5;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b + 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b + 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 5;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 363 MovieClip "baddie11" in Frame 17
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 352 MovieClip "baddie12" in Frame 17
onClipEvent (load) {
kills_barrels = true;
go_red = true;
}
Instance of Symbol 248 MovieClip "barrel6" in Frame 17
onClipEvent (load) {
a = 0;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b - 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b - 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 0;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 266 MovieClip "finish" in Frame 17
onClipEvent (enterFrame) {
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 360 MovieClip "baddie1" in Frame 17
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 360 MovieClip "static0" in Frame 17
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 360 MovieClip "static1" in Frame 17
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 360 MovieClip "static2" in Frame 17
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 360 MovieClip "static3" in Frame 17
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 360 MovieClip "static4" in Frame 17
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 357 MovieClip "baddie0" in Frame 17
onClipEvent (load) {
kills_barrels = true;
}
onClipEvent (enterFrame) {
if (_root.hero.starting_game == false) {
this._x = this._x + ((_root.hero._x - this._x) / 44);
this._y = this._y + ((_root.hero._y - this._y) / 44);
}
}
Instance of Symbol 248 MovieClip "barrel0" in Frame 18
onClipEvent (load) {
this._rotation = random(360);
a = 5;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b + 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b + 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 5;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 251 MovieClip "baddie0" in Frame 18
onClipEvent (load) {
kills_barrels = true;
go_red = true;
}
Instance of Symbol 248 MovieClip "barrel1" in Frame 18
onClipEvent (load) {
this._alpha = 100;
gonow = true;
z = 1;
this.barrel.gotoAndStop(2);
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 251 MovieClip "baddie1" in Frame 18
onClipEvent (load) {
go_red = true;
this.stop();
}
onClipEvent (enterFrame) {
go_red = true;
this.gotoAndStop(1);
}
Instance of Symbol 251 MovieClip "baddie2" in Frame 18
onClipEvent (load) {
go_red = true;
this.stop();
}
onClipEvent (enterFrame) {
go_red = true;
this.gotoAndStop(1);
}
Instance of Symbol 248 MovieClip "barrel2" in Frame 18
onClipEvent (load) {
barrel_moves_horizontal = true;
a = 5;
b = a;
spd = 5;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 248 MovieClip "barrel4" in Frame 18
onClipEvent (load) {
a = 0;
b = a;
z = 1;
x = 20;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (_root.hero.dead != true) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b - 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b - 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 0;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 248 MovieClip "barrel6" in Frame 18
onClipEvent (load) {
this._alpha = 100;
gonow = true;
z = 1;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 248 MovieClip "barrel5" in Frame 18
onClipEvent (load) {
a = 0;
b = a;
z = 1;
x = -20;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (_root.hero.dead != true) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b - 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b - 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 0;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 266 MovieClip "finish" in Frame 18
onClipEvent (enterFrame) {
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 272 MovieClip "baddie3" in Frame 18
onClipEvent (enterFrame) {
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 550;
}
}
Instance of Symbol 272 MovieClip "baddie4" in Frame 18
onClipEvent (enterFrame) {
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 550;
}
}
Instance of Symbol 325 MovieClip "baddie1" in Frame 19
onClipEvent (load) {
x = -15;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel1" in Frame 19
onClipEvent (load) {
barrel_moves_vertical = true;
a = 5;
b = a;
spd = 5;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 257 MovieClip "chain1" in Frame 19
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 325 MovieClip "baddie0" in Frame 19
onClipEvent (load) {
x = -20;
y = -x;
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(3);
}
}
Instance of Symbol 248 MovieClip "barrel2" in Frame 19
onClipEvent (load) {
this._alpha = 100;
gonow = true;
z = 1;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 248 MovieClip "barrel3" in Frame 19
onClipEvent (load) {
this._alpha = 100;
gonow = true;
z = 1;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 325 MovieClip "baddie2" in Frame 19
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 338 MovieClip "special1" in Frame 19
onClipEvent (enterFrame) {
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else if (_root.special_using == 2) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 266 MovieClip "finish" in Frame 19
onClipEvent (enterFrame) {
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel4" in Frame 19
onClipEvent (load) {
this._alpha = 100;
gonow = true;
z = 1;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 325 MovieClip "baddie4" in Frame 19
onClipEvent (load) {
x = 25;
y = x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie5" in Frame 19
onClipEvent (load) {
x = -25;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie6" in Frame 19
onClipEvent (load) {
x = -25;
y = -x;
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel14" in Frame 19
onClipEvent (load) {
this._alpha = 100;
gonow = true;
z = 1;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 248 MovieClip "barrel13" in Frame 19
onClipEvent (load) {
this._alpha = 100;
gonow = true;
z = 1;
}
onClipEvent (enterFrame) {
if (_root.hero.hitter.hitTest(this)) {
_root.gotoAndStop(22);
}
this.barrel.gotoAndStop(2);
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 363 MovieClip "baddie2" in Frame 20
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 352 MovieClip "baddie7" in Frame 20
onClipEvent (load) {
kills_barrels = true;
go_red = true;
}
Instance of Symbol 352 MovieClip "baddie8" in Frame 20
onClipEvent (load) {
kills_barrels = true;
go_red = true;
}
Instance of Symbol 363 MovieClip "baddie1" in Frame 20
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 248 MovieClip "barrel3" in Frame 20
onClipEvent (load) {
a = 5;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b + 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b + 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 5;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 363 MovieClip "baddie4" in Frame 20
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 360 MovieClip "static0" in Frame 20
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 257 MovieClip "chain4" in Frame 20
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 248 MovieClip "barrel4" in Frame 20
onClipEvent (load) {
barrel_moves_horizontal = true;
a = 5;
b = a;
spd = 5;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 248 MovieClip "barrel6" in Frame 20
onClipEvent (load) {
this._alpha = 100;
gonow = true;
z = 1;
}
onClipEvent (enterFrame) {
this.barrel.gotoAndStop(2);
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 360 MovieClip "baddie3" in Frame 20
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 248 MovieClip "barrel1" in Frame 20
onClipEvent (load) {
a = 5;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b + 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b + 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 5;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 360 MovieClip "baddie5" in Frame 20
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 360 MovieClip "baddie6" in Frame 20
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 352 MovieClip "baddie14" in Frame 20
onClipEvent (load) {
kills_barrels = true;
go_red = true;
}
Instance of Symbol 360 MovieClip "baddie10" in Frame 20
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 357 MovieClip "baddie0" in Frame 20
onClipEvent (load) {
kills_barrels = true;
}
onClipEvent (enterFrame) {
if (_root.hero.starting_game == false) {
this._x = this._x + ((_root.hero._x - this._x) / 44);
this._y = this._y + ((_root.hero._y - this._y) / 44);
}
}
Instance of Symbol 248 MovieClip "barrel7" in Frame 20
onClipEvent (load) {
this._rotation = random(360);
a = 5;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b + 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b + 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 5;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 352 MovieClip "baddie9" in Frame 20
onClipEvent (load) {
kills_barrels = true;
go_red = true;
}
Instance of Symbol 363 MovieClip "baddie12" in Frame 20
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 360 MovieClip "baddie13" in Frame 20
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 360 MovieClip "static11" in Frame 20
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 360 MovieClip "static13" in Frame 20
onClipEvent (load) {
go_red = true;
}
Instance of Symbol 222 MovieClip "special0" in Frame 21
onClipEvent (enterFrame) {
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else if (_root.special_using == 1) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie1" in Frame 21
onClipEvent (load) {
x = 20;
y = x;
this.helmet.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(4);
}
}
Instance of Symbol 257 MovieClip "chain1" in Frame 21
onClipEvent (load) {
this.gotoAndStop(3);
}
Instance of Symbol 248 MovieClip "barrel1" in Frame 21
onClipEvent (load) {
barrel_moves_vertical = true;
a = 5;
b = a;
spd = 5;
z = 1;
}
onClipEvent (enterFrame) {
if (z != 1) {
_root.barrel_rocket1.gotoAndStop(4);
_root.barrel_rocket2.gotoAndStop(4);
}
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 335 MovieClip "barrel_rocket2" in Frame 21
onClipEvent (enterFrame) {
this.gotoAndStop(1);
}
Instance of Symbol 335 MovieClip "barrel_rocket1" in Frame 21
onClipEvent (enterFrame) {
this.gotoAndStop(1);
}
Instance of Symbol 325 MovieClip "baddie0" in Frame 21
onClipEvent (load) {
x = -15;
y = -x;
this.gotoAndStop(3);
kills_barrels = true;
this.helmet.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(3);
}
}
Instance of Symbol 248 MovieClip "barrel2" in Frame 21
onClipEvent (load) {
this._rotation = random(360);
a = 5;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b + 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b + 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 5;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 325 MovieClip "baddie3" in Frame 21
onClipEvent (load) {
x = -5;
y = -x;
this.helmet.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie4" in Frame 21
onClipEvent (load) {
x = -5;
y = -x;
this.helmet.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie2" in Frame 21
onClipEvent (load) {
x = -5;
y = -x;
this.helmet.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie6" in Frame 21
onClipEvent (load) {
x = -20;
y = -x;
this.helmet.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(4);
}
}
Instance of Symbol 325 MovieClip "baddie8" in Frame 21
onClipEvent (load) {
x = -20;
y = -x;
this.helmet.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(4);
}
}
Instance of Symbol 325 MovieClip "baddie7" in Frame 21
onClipEvent (load) {
x = -20;
y = -x;
this.helmet.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(4);
}
}
Instance of Symbol 325 MovieClip "baddie9" in Frame 21
onClipEvent (load) {
x = -20;
y = -x;
this.helmet.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(4);
}
}
Instance of Symbol 325 MovieClip "baddie10" in Frame 21
onClipEvent (load) {
x = -5;
y = -x;
this.helmet.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(4);
}
}
Instance of Symbol 325 MovieClip "baddie11" in Frame 21
onClipEvent (load) {
x = -5;
y = -x;
this.helmet.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(4);
}
}
Instance of Symbol 325 MovieClip "baddie13" in Frame 21
onClipEvent (load) {
x = -5;
y = -x;
this.helmet.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(4);
}
}
Instance of Symbol 325 MovieClip "baddie12" in Frame 21
onClipEvent (load) {
x = -5;
y = -x;
this.helmet.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(4);
}
}
Instance of Symbol 248 MovieClip "barrel10" in Frame 21
onClipEvent (load) {
a = 5;
b = a;
spd = 5;
this._rotation = -90;
}
onClipEvent (enterFrame) {
if (this._rotation >= 0) {
rotation_spd = rotation_spd + 0.5;
} else {
rotation_spd = rotation_spd - 0.5;
}
this._rotation = this._rotation + rotation_spd;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 325 MovieClip "baddie14" in Frame 21
onClipEvent (load) {
x = -5;
y = -x;
this.helmet.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Frame 22
stop();
_root.hero._x = _root.hero.startx;
_root.hero._y = _root.hero.startingy;
_root.hero._rotation = 0;
_root.gravity = -25;
_root.bkg1.gotoAndStop(4);
_root.bkg2.gotoAndStop(4);
_root.secretlvl = true;
Instance of Symbol 325 MovieClip "baddie1" in Frame 22
onClipEvent (load) {
x = 20;
y = x;
this.helmet.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(4);
}
}
Instance of Symbol 325 MovieClip "baddie0" in Frame 22
onClipEvent (load) {
x = -20;
y = -x;
this.helmet.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (dead) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
}
} else {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(4);
}
}
Instance of Symbol 222 MovieClip "special0" in Frame 22
onClipEvent (enterFrame) {
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else if (_root.special_using == 1) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 248 MovieClip "barrel2" in Frame 22
onClipEvent (load) {
barrel_moves_horizontal = true;
a = 5;
b = a;
spd = 5;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 263 MovieClip "static6" in Frame 22
onClipEvent (load) {
this.gotoAndStop(2);
}
Instance of Symbol 272 MovieClip "baddie10" in Frame 22
onClipEvent (enterFrame) {
this.gotoAndStop(3);
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 550;
}
}
Instance of Symbol 272 MovieClip "baddie9" in Frame 22
onClipEvent (enterFrame) {
this.gotoAndStop(3);
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 550;
}
}
Instance of Symbol 248 MovieClip "barrel1" in Frame 22
onClipEvent (load) {
this._rotation = random(360);
a = 5;
b = a;
z = 1;
}
onClipEvent (enterFrame) {
if (dead) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
} else {
this._rotation = this._rotation + a;
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.hero.dead != true) {
if (Key.isDown(32)) {
if (_root.hero.spaceok) {
a = 0;
ab = true;
}
} else if (Key.isDown(37)) {
a = b + 5;
} else if (Key.isDown(39)) {
a = b + 5;
} else if (Key.isDown(38)) {
a = b + 5;
} else if (Key.isDown(40)) {
a = b + 5;
} else {
a = b;
}
} else {
a = 5;
}
}
if (a < b) {
a = a + 0.5;
}
}
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(z);
}
}
Instance of Symbol 263 MovieClip "static5" in Frame 22
onClipEvent (load) {
this.gotoAndStop(2);
}
Instance of Symbol 272 MovieClip "baddie6" in Frame 22
onClipEvent (enterFrame) {
this.gotoAndStop(3);
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 550;
}
}
Instance of Symbol 272 MovieClip "baddie5" in Frame 22
onClipEvent (enterFrame) {
this.gotoAndStop(3);
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 550;
}
}
Instance of Symbol 263 MovieClip "static3" in Frame 22
onClipEvent (load) {
this.gotoAndStop(2);
}
Instance of Symbol 272 MovieClip "baddie8" in Frame 22
onClipEvent (enterFrame) {
this.gotoAndStop(3);
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 550;
}
}
Instance of Symbol 272 MovieClip "baddie7" in Frame 22
onClipEvent (enterFrame) {
this.gotoAndStop(3);
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 550;
}
}
Instance of Symbol 263 MovieClip "static4" in Frame 22
onClipEvent (load) {
this.gotoAndStop(2);
}
Instance of Symbol 272 MovieClip "baddie4" in Frame 22
onClipEvent (enterFrame) {
this.gotoAndStop(3);
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 550;
}
}
Instance of Symbol 272 MovieClip "baddie3" in Frame 22
onClipEvent (enterFrame) {
this.gotoAndStop(3);
go_red = true;
this._y = this._y - 2;
if (this._y <= -100) {
this._y = 550;
}
}
Instance of Symbol 367 MovieClip "finish" in Frame 22
onClipEvent (enterFrame) {
if (((this._x + (this._width / 2)) < -100) || ((this._x - (this._width / 2)) > 900)) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop(1);
}
}
Frame 23
_root.coin_number = 0;
_root.special_using = 0;
savefile.data.notfirsttime_played = true;
savefile.data.levels_array0 = _root.levels_array[0];
savefile.data.levels_array1 = _root.levels_array[1];
savefile.data.levels_array2 = _root.levels_array[2];
savefile.data.levels_array3 = _root.levels_array[3];
savefile.data.levels_array4 = _root.levels_array[4];
savefile.data.levels_array5 = _root.levels_array[5];
savefile.data.levels_array6 = _root.levels_array[6];
savefile.data.levels_array7 = _root.levels_array[7];
savefile.data.levels_array8 = _root.levels_array[8];
savefile.data.levels_array9 = _root.levels_array[9];
savefile.data.levels_array10 = _root.levels_array[10];
savefile.data.levels_array11 = _root.levels_array[11];
savefile.data.levels_array12 = _root.levels_array[12];
savefile.data.levels_array13 = _root.levels_array[13];
savefile.data.levels_array14 = _root.levels_array[14];
savefile.data.levels_array15 = _root.levels_array[15];
savefile.data.cheat_array0 = _root.cheat_array[0];
savefile.data.cheat_array1 = _root.cheat_array[1];
savefile.data.cheat_array2 = _root.cheat_array[2];
savefile.data.cheat_array3 = _root.cheat_array[3];
savefile.data.cheat_array4 = _root.cheat_array[4];
savefile.data.cheat_array5 = _root.cheat_array[5];
savefile.data.cheat_array6 = _root.cheat_array[6];
savefile.data.cheat_array7 = _root.cheat_array[7];
savefile.data.cheat_array8 = _root.cheat_array[8];
savefile.flush();
gotoAndStop(_root.level_playing + 6);
Symbol 11 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndPlay (5);
}
Symbol 11 MovieClip Frame 2
gotoAndPlay (1);
Symbol 11 MovieClip Frame 40
_root.play();
Symbol 14 Button
on (release) {
getURL ("http://www.addictinggames.com", "_blank");
}
Symbol 19 Button
on (press) {
gotoAndStop (2);
}
Symbol 24 Button
on (press) {
gotoAndStop (1);
}
Symbol 25 MovieClip Frame 1
stop();
myLoop = new Sound(myLoopMc);
myLoop.attachSound("myLoop01");
myLoopVolume = 100;
myLoop.setVolume(myLoopVolume);
Symbol 25 MovieClip Frame 2
myLoop = new Sound(myLoopMc);
myLoop.attachSound("myLoop01");
myLoopVolume = 0;
myLoop.setVolume(myLoopVolume);
Symbol 29 Button
on (press) {
if (_quality == "HIGH") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "LOW";
} else if (_quality == "LOW") {
_quality = "HIGH";
}
}
Symbol 36 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 10
gotoAndStop (9);
Symbol 37 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 11
gotoAndStop (10);
Symbol 40 MovieClip Frame 1
stop();
Instance of Symbol 36 MovieClip "baddie0" in Symbol 40 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitter)) {
if (_root.hero.dead != true) {
_root.hero.dead = true;
_root.hero.gravity = -30;
_root.hero._rotation = 0;
_root.hero.stop_player = false;
_root.bkg2.baddie0.play();
_root.bkg1.baddie0.play();
if (_root.special_using == 1) {
_root.hero.gravity = -10;
}
_root.hero.gotoAndStop("dead");
}
}
}
Instance of Symbol 37 MovieClip "baddie1" in Symbol 40 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitter)) {
if (_root.hero.dead != true) {
_root.hero.dead = true;
_root.hero.gravity = -30;
_root.hero._rotation = 0;
_root.hero.stop_player = false;
_root.bkg2.baddie1.play();
_root.bkg1.baddie1.play();
if (_root.special_using == 1) {
_root.hero.gravity = -10;
}
_root.hero.gotoAndStop("dead");
}
}
}
Symbol 44 Button
on (release) {
getURL ("http://www.addictinggames.com", "_blank");
}
Symbol 46 Button
on (release) {
getURL ("http://www.addictinggames.com", "_blank");
}
Symbol 54 Button
on (press) {
if (_root.savefile.data.notfirsttime_played) {
_root.instructions.gotoAndStop(3);
} else {
_root.gotoAndStop(5);
}
}
Symbol 56 Button
on (press) {
if (_root.savefile.data.notfirsttime_played) {
_root.gotoAndStop(5);
}
}
Symbol 57 Button
on (press) {
_root.instructions.gotoAndStop(2);
}
Symbol 63 MovieClip Frame 1
stop();
Symbol 70 Button
on (press) {
gotoAndStop (1);
}
Symbol 76 Button
on (press) {
_root.savefile.data.allcoins = false;
_root.levels_array[0] = 3;
_root.levels_array[1] = 4;
_root.levels_array[2] = 4;
_root.levels_array[3] = 4;
_root.levels_array[4] = 4;
_root.levels_array[5] = 4;
_root.levels_array[6] = 4;
_root.levels_array[7] = 4;
_root.levels_array[8] = 4;
_root.levels_array[9] = 4;
_root.levels_array[10] = 4;
_root.levels_array[11] = 4;
_root.levels_array[12] = 4;
_root.levels_array[13] = 4;
_root.levels_array[14] = 4;
_root.levels_array[15] = 4;
_root.cheat_array[0] = 1;
_root.cheat_array[1] = 1;
_root.cheat_array[2] = 1;
_root.cheat_array[3] = 1;
_root.cheat_array[4] = 1;
_root.cheat_array[5] = 1;
_root.cheat_array[6] = 1;
_root.cheat_array[7] = 1;
_root.cheat_array[8] = 1;
_root.gotoAndStop(5);
}
Symbol 78 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 1
stop();
Symbol 83 Button
on (press) {
gotoAndStop (2);
}
Symbol 84 Button
on (press) {
gotoAndStop (3);
}
Symbol 85 Button
on (press) {
x = 12;
if (_root.levels_array[x] != 4) {
gotoAndStop (4);
}
}
Symbol 96 MovieClip Frame 1
stop();
Symbol 104 Button
on (press) {
x = 0;
if (_root.levels_array[x] != 4) {
_root.level_playing = x;
_root.gotoAndStop("level_change");
}
}
Symbol 105 Button
on (press) {
x = 3;
if (_root.levels_array[x] != 4) {
_root.level_playing = x;
_root.gotoAndStop("level_change");
}
}
Symbol 106 Button
on (press) {
x = 2;
if (_root.levels_array[x] != 4) {
_root.level_playing = x;
_root.gotoAndStop("level_change");
}
}
Symbol 111 MovieClip Frame 1
stop();
Symbol 113 Button
on (press) {
x = 1;
if (_root.levels_array[x] != 4) {
_root.level_playing = x;
_root.gotoAndStop("level_change");
}
}
Symbol 115 Button
on (press) {
gotoAndStop (1);
}
Symbol 125 Button
on (press) {
x = 4;
if (_root.levels_array[x] != 4) {
_root.level_playing = x;
_root.gotoAndStop("level_change");
}
}
Symbol 131 Button
on (press) {
x = 5;
if (_root.levels_array[x] != 4) {
_root.level_playing = x;
_root.gotoAndStop("level_change");
}
}
Symbol 132 Button
on (press) {
x = 6;
if (_root.levels_array[x] != 4) {
_root.level_playing = x;
_root.gotoAndStop("level_change");
}
}
Symbol 133 Button
on (press) {
x = 7;
if (_root.levels_array[x] != 4) {
_root.level_playing = x;
_root.gotoAndStop("level_change");
}
}
Symbol 144 Button
on (press) {
x = 8;
if (_root.levels_array[x] != 4) {
_root.level_playing = x;
_root.gotoAndStop("level_change");
}
}
Symbol 145 Button
on (press) {
x = 9;
if (_root.levels_array[x] != 4) {
_root.level_playing = x;
_root.gotoAndStop("level_change");
}
}
Symbol 146 Button
on (press) {
x = 10;
if (_root.levels_array[x] != 4) {
_root.level_playing = x;
_root.gotoAndStop("level_change");
}
}
Symbol 147 Button
on (press) {
x = 11;
if (_root.levels_array[x] != 4) {
_root.level_playing = x;
_root.gotoAndStop("level_change");
}
}
Symbol 158 Button
on (press) {
x = 12;
if (_root.levels_array[x] != 4) {
_root.level_playing = x;
_root.gotoAndStop("level_change");
}
}
Symbol 159 Button
on (press) {
x = 13;
if (_root.levels_array[x] != 4) {
_root.level_playing = x;
_root.gotoAndStop("level_change");
}
}
Symbol 160 Button
on (press) {
x = 14;
if (_root.levels_array[x] != 4) {
_root.level_playing = x;
_root.gotoAndStop("level_change");
}
}
Symbol 161 Button
on (press) {
x = 15;
if (_root.levels_array[x] != 4) {
_root.level_playing = x;
_root.gotoAndStop("level_change");
}
}
Symbol 162 MovieClip Frame 1
stop();
Instance of Symbol 81 MovieClip in Symbol 162 MovieClip Frame 1
onClipEvent (load) {
x = 12;
if (_root.levels_array[x] != 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 96 MovieClip in Symbol 162 MovieClip Frame 1
onClipEvent (load) {
x = 2;
if (_root.levels_array[x] == 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 96 MovieClip in Symbol 162 MovieClip Frame 1
onClipEvent (load) {
x = 3;
if (_root.levels_array[x] == 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 96 MovieClip in Symbol 162 MovieClip Frame 1
onClipEvent (load) {
x = 1;
if (_root.levels_array[x] == 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 111 MovieClip "level_2" in Symbol 162 MovieClip Frame 1
onClipEvent (load) {
x = 2;
this.gotoAndStop(_root.levels_array[x]);
}
Instance of Symbol 111 MovieClip "level_3" in Symbol 162 MovieClip Frame 1
onClipEvent (load) {
x = 3;
this.gotoAndStop(_root.levels_array[x]);
}
Instance of Symbol 111 MovieClip "level_1" in Symbol 162 MovieClip Frame 1
onClipEvent (load) {
x = 1;
this.gotoAndStop(_root.levels_array[x]);
}
Instance of Symbol 111 MovieClip "level_0" in Symbol 162 MovieClip Frame 1
onClipEvent (load) {
x = 0;
this.gotoAndStop(_root.levels_array[x]);
}
Instance of Symbol 96 MovieClip in Symbol 162 MovieClip Frame 2
onClipEvent (load) {
x = 4;
if (_root.levels_array[x] == 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 96 MovieClip in Symbol 162 MovieClip Frame 2
onClipEvent (load) {
x = 5;
if (_root.levels_array[x] == 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 96 MovieClip in Symbol 162 MovieClip Frame 2
onClipEvent (load) {
x = 6;
if (_root.levels_array[x] == 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 96 MovieClip in Symbol 162 MovieClip Frame 2
onClipEvent (load) {
x = 7;
if (_root.levels_array[x] == 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 111 MovieClip "level_4" in Symbol 162 MovieClip Frame 2
onClipEvent (load) {
x = 4;
this.gotoAndStop(_root.levels_array[x]);
}
Instance of Symbol 111 MovieClip "level_5" in Symbol 162 MovieClip Frame 2
onClipEvent (load) {
x = 5;
this.gotoAndStop(_root.levels_array[x]);
}
Instance of Symbol 111 MovieClip "level_6" in Symbol 162 MovieClip Frame 2
onClipEvent (load) {
x = 6;
this.gotoAndStop(_root.levels_array[x]);
}
Instance of Symbol 111 MovieClip "level_7" in Symbol 162 MovieClip Frame 2
onClipEvent (load) {
x = 7;
this.gotoAndStop(_root.levels_array[x]);
}
Instance of Symbol 96 MovieClip in Symbol 162 MovieClip Frame 3
onClipEvent (load) {
x = 8;
if (_root.levels_array[x] == 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 96 MovieClip in Symbol 162 MovieClip Frame 3
onClipEvent (load) {
x = 9;
if (_root.levels_array[x] == 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 96 MovieClip in Symbol 162 MovieClip Frame 3
onClipEvent (load) {
x = 10;
if (_root.levels_array[x] == 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 96 MovieClip in Symbol 162 MovieClip Frame 3
onClipEvent (load) {
x = 11;
if (_root.levels_array[x] == 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 111 MovieClip "level_9" in Symbol 162 MovieClip Frame 3
onClipEvent (load) {
x = 9;
this.gotoAndStop(_root.levels_array[x]);
}
Instance of Symbol 111 MovieClip "level_10" in Symbol 162 MovieClip Frame 3
onClipEvent (load) {
x = 10;
this.gotoAndStop(_root.levels_array[x]);
}
Instance of Symbol 111 MovieClip "level_11" in Symbol 162 MovieClip Frame 3
onClipEvent (load) {
x = 11;
this.gotoAndStop(_root.levels_array[x]);
}
Instance of Symbol 111 MovieClip "level_8" in Symbol 162 MovieClip Frame 3
onClipEvent (load) {
x = 8;
this.gotoAndStop(_root.levels_array[x]);
}
Instance of Symbol 96 MovieClip in Symbol 162 MovieClip Frame 4
onClipEvent (load) {
x = 12;
if (_root.levels_array[x] == 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 96 MovieClip in Symbol 162 MovieClip Frame 4
onClipEvent (load) {
x = 13;
if (_root.levels_array[x] == 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 96 MovieClip in Symbol 162 MovieClip Frame 4
onClipEvent (load) {
x = 15;
if (_root.levels_array[x] == 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 96 MovieClip in Symbol 162 MovieClip Frame 4
onClipEvent (load) {
x = 14;
if (_root.levels_array[x] == 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 111 MovieClip "level_13" in Symbol 162 MovieClip Frame 4
onClipEvent (load) {
x = 13;
this.gotoAndStop(_root.levels_array[x]);
}
Instance of Symbol 111 MovieClip "level_14" in Symbol 162 MovieClip Frame 4
onClipEvent (load) {
x = 14;
this.gotoAndStop(_root.levels_array[x]);
}
Instance of Symbol 111 MovieClip "level_15" in Symbol 162 MovieClip Frame 4
onClipEvent (load) {
x = 15;
this.gotoAndStop(_root.levels_array[x]);
}
Instance of Symbol 111 MovieClip "level_12" in Symbol 162 MovieClip Frame 4
onClipEvent (load) {
x = 12;
this.gotoAndStop(_root.levels_array[x]);
}
Symbol 165 Button
on (press) {
_root.gotoAndStop("menu");
}
Symbol 170 Button
on (press) {
x = 0;
if (_root.cheat_array[x] == 2) {
_root.cheat_array[x] = 3;
_root.cheats["lock" + x].gotoAndStop(3);
_root.cheat_array[1] = 2;
_root.cheats.lock1.gotoAndStop(2);
} else if (_root.cheat_array[x] == 3) {
_root.cheat_array[x] = 2;
_root.cheats["lock" + x].gotoAndStop(2);
}
}
Symbol 171 Button
on (press) {
x = 1;
if (_root.cheat_array[x] == 2) {
_root.cheat_array[x] = 3;
_root.cheats["lock" + x].gotoAndStop(3);
_root.cheat_array[0] = 2;
_root.cheats.lock0.gotoAndStop(2);
} else if (_root.cheat_array[x] == 3) {
_root.cheat_array[x] = 2;
_root.cheats["lock" + x].gotoAndStop(2);
}
}
Symbol 172 Button
on (press) {
x = 2;
if (_root.cheat_array[x] == 2) {
_root.cheat_array[x] = 3;
_root.cheats["lock" + x].gotoAndStop(3);
} else if (_root.cheat_array[x] == 3) {
_root.cheat_array[x] = 2;
_root.cheats["lock" + x].gotoAndStop(2);
}
}
Symbol 173 Button
on (press) {
x = 3;
if (_root.cheat_array[x] == 2) {
_root.cheat_array[x] = 3;
_root.cheats["lock" + x].gotoAndStop(3);
_root.cheat_array[4] = 2;
_root.cheats.lock4.gotoAndStop(2);
_root.cheat_array[5] = 2;
_root.cheats.lock5.gotoAndStop(2);
} else if (_root.cheat_array[x] == 3) {
_root.cheat_array[x] = 2;
_root.cheats["lock" + x].gotoAndStop(2);
}
}
Symbol 174 Button
on (press) {
x = 4;
if (_root.cheat_array[x] == 2) {
_root.cheat_array[x] = 3;
_root.cheats["lock" + x].gotoAndStop(3);
_root.cheat_array[3] = 2;
_root.cheats.lock3.gotoAndStop(2);
_root.cheat_array[5] = 2;
_root.cheats.lock5.gotoAndStop(2);
} else if (_root.cheat_array[x] == 3) {
_root.cheat_array[x] = 2;
_root.cheats["lock" + x].gotoAndStop(2);
}
}
Symbol 175 Button
on (press) {
x = 5;
if (_root.cheat_array[x] == 2) {
_root.cheat_array[x] = 3;
_root.cheats["lock" + x].gotoAndStop(3);
_root.cheat_array[4] = 2;
_root.cheats.lock4.gotoAndStop(2);
_root.cheat_array[3] = 2;
_root.cheats.lock3.gotoAndStop(2);
} else if (_root.cheat_array[x] == 3) {
_root.cheat_array[x] = 2;
_root.cheats["lock" + x].gotoAndStop(2);
}
}
Symbol 176 Button
on (press) {
x = 6;
if (_root.cheat_array[x] == 2) {
_root.cheat_array[x] = 3;
_root.cheats["lock" + x].gotoAndStop(3);
} else if (_root.cheat_array[x] == 3) {
_root.cheat_array[x] = 2;
_root.cheats["lock" + x].gotoAndStop(2);
}
}
Symbol 177 Button
on (press) {
x = 7;
if (_root.cheat_array[x] == 2) {
_root.cheat_array[x] = 3;
_root.cheats["lock" + x].gotoAndStop(3);
} else if (_root.cheat_array[x] == 3) {
_root.cheat_array[x] = 2;
_root.cheats["lock" + x].gotoAndStop(2);
}
}
Symbol 178 Button
on (press) {
x = 8;
if (_root.cheat_array[x] == 2) {
_root.cheat_array[x] = 3;
_root.cheats["lock" + x].gotoAndStop(3);
} else if (_root.cheat_array[x] == 3) {
_root.cheat_array[x] = 2;
_root.cheats["lock" + x].gotoAndStop(2);
}
}
Symbol 182 MovieClip Frame 1
stop();
Instance of Symbol 182 MovieClip "lock0" in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
x = 0;
if (_root.cheat_array[x] == 2) {
this.gotoAndStop(2);
}
if (_root.cheat_array[x] == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 182 MovieClip "lock1" in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
x = 1;
if (_root.cheat_array[x] == 2) {
this.gotoAndStop(2);
}
if (_root.cheat_array[x] == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 182 MovieClip "lock2" in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
x = 2;
if (_root.cheat_array[x] == 2) {
this.gotoAndStop(2);
}
if (_root.cheat_array[x] == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 182 MovieClip "lock3" in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
x = 3;
if (_root.cheat_array[x] == 2) {
this.gotoAndStop(2);
}
if (_root.cheat_array[x] == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 182 MovieClip "lock4" in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
x = 4;
if (_root.cheat_array[x] == 2) {
this.gotoAndStop(2);
}
if (_root.cheat_array[x] == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 182 MovieClip "lock5" in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
x = 5;
if (_root.cheat_array[x] == 2) {
this.gotoAndStop(2);
}
if (_root.cheat_array[x] == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 182 MovieClip "lock6" in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
x = 6;
if (_root.cheat_array[x] == 2) {
this.gotoAndStop(2);
}
if (_root.cheat_array[x] == 3) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
x = 6;
if (_root.cheat_array[x] == 2) {
this.gotoAndStop(2);
}
if (_root.cheat_array[x] == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 182 MovieClip "lock7" in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
x = 7;
if (_root.cheat_array[x] == 2) {
this.gotoAndStop(2);
}
if (_root.cheat_array[x] == 3) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.cheat_array[x] == 2) {
this.gotoAndStop(2);
}
if (_root.cheat_array[x] == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 182 MovieClip "lock8" in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
x = 8;
if (_root.cheat_array[x] == 2) {
this.gotoAndStop(2);
}
if (_root.cheat_array[x] == 3) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.cheat_array[x] == 2) {
this.gotoAndStop(2);
}
if (_root.cheat_array[x] == 3) {
this.gotoAndStop(3);
}
}
Symbol 195 Button
on (press) {
gotoAndStop (1);
}
Symbol 199 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 2
if (_root.levels_array[_root.level_playing] != 2) {
if (_root.coin_number == 0) {
x = 2;
} else {
x = 1;
}
_root.levels_array[_root.level_playing + 1] = 3;
_root.levels_array[_root.level_playing] = x;
}
if (_root.levels_array[_root.level_playing] != 2) {
this.gotoAndStop(2);
}
if (_root.cheat_array[6] == 1) {
_root.cheat_array[6] = 2;
_root.cheat_array[7] = 2;
_root.cheat_array[8] = 2;
}
Symbol 213 MovieClip Frame 1
stop();
Instance of Symbol 213 MovieClip in Symbol 214 MovieClip Frame 1
onClipEvent (load) {
if (_root.cheat_array[0] == 3) {
this._xscale = 80;
this._yscale = 80;
}
if (_root.cheat_array[1] == 3) {
this._xscale = 150;
this._yscale = 150;
}
if (_root.cheat_array[2] == 3) {
this.gotoAndStop(2);
}
if (_root.cheat_array[3] == 3) {
this.gotoAndStop(3);
if (_root.cheat_array[2] == 3) {
this.gotoAndStop(4);
}
}
if (_root.cheat_array[4] == 3) {
this.gotoAndStop(5);
if (_root.cheat_array[2] == 3) {
this.gotoAndStop(6);
}
}
if (_root.cheat_array[5] == 3) {
this.gotoAndStop(7);
if (_root.cheat_array[2] == 3) {
this.gotoAndStop(8);
}
}
}
Symbol 220 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 7
gotoAndPlay (2);
Instance of Symbol 229 MovieClip "timer" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
x = -79.2;
startx = this._x;
}
onClipEvent (enterFrame) {
if (this._x < x) {
_root.hero.stop_player = false;
_root.hero.using_special = false;
_root.burnit.stop();
_root.hero.gotoAndStop(2);
}
if (this._x >= startx) {
this._x = startx;
}
}
Symbol 234 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 1
stop();
_root.burnit.stop();
_root.hero.dooncek = false;
Symbol 236 MovieClip Frame 2
_root.burnit.stop();
_root.hero.dooncek = false;
Symbol 236 MovieClip Frame 3
_root.burnit.stop();
_root.hero.dooncek = false;
Symbol 236 MovieClip Frame 4
_root.burnit.stop();
_root.hero.dooncek = false;
Symbol 236 MovieClip Frame 5
_root.burnit.stop();
_root.hero.dooncek = false;
Symbol 238 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 4
gotoAndStop (3);
Symbol 246 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 1
stop();
Symbol 263 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 1
stop();
Symbol 272 MovieClip Frame 1
stop();
Instance of Symbol 260 MovieClip "gear4" in Symbol 272 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
}
Instance of Symbol 260 MovieClip "gear4" in Symbol 272 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(3);
this._rotation = this._rotation + 3;
}
Symbol 276 MovieClip Frame 1
x = _root.level_playing + 1;
levelnum = ["level " + x];
Symbol 277 MovieClip Frame 45
stop();
Symbol 281 Button
on (press) {
_root.level_playing++;
_root.gotoAndStop("level_change");
}
Symbol 283 Button
on (press) {
_root.gotoAndStop("level_change");
}
Symbol 284 Button
on (press) {
_root.gotoAndStop(5);
}
Symbol 293 MovieClip Frame 1
stop();
Symbol 295 Button
on (press) {
_root.level_playing = 12;
_root.gotoAndStop(5);
}
Symbol 297 MovieClip Frame 8
if (_root.level_playing == 15) {
gotoAndStop (10);
}
if (_root.level_playing == 11) {
gotoAndStop (11);
}
Symbol 297 MovieClip Frame 9
function onEnterFrame() {
if (Key.isDown(32)) {
if (spaceok) {
spaceok = false;
_root.level_playing++;
_root.gotoAndStop("level_change");
}
} else {
spaceok = true;
}
}
stop();
Instance of Symbol 293 MovieClip in Symbol 297 MovieClip Frame 9
onClipEvent (load) {
if (_root.levels_array[_root.level_playing] != 2) {
if (_root.coin_number == 0) {
x = 2;
} else {
x = 1;
}
if (_root.levels_array[_root.level_playing + 1] == 4) {
_root.levels_array[_root.level_playing + 1] = 3;
}
_root.levels_array[_root.level_playing] = x;
}
if (_root.levels_array[_root.level_playing] != 2) {
this.gotoAndStop(2);
}
}
Instance of Symbol 293 MovieClip in Symbol 297 MovieClip Frame 10
onClipEvent (load) {
if (_root.levels_array[_root.level_playing] != 2) {
if (_root.coin_number == 0) {
x = 2;
} else {
x = 1;
}
_root.levels_array[_root.level_playing] = x;
}
if (_root.levels_array[_root.level_playing] != 2) {
this.gotoAndStop(2);
}
if (_root.cheat_array[3] == 1) {
_root.cheat_array[3] = 2;
_root.cheat_array[4] = 2;
_root.cheat_array[5] = 2;
}
}
Instance of Symbol 293 MovieClip in Symbol 297 MovieClip Frame 11
onClipEvent (load) {
if (_root.levels_array[_root.level_playing] != 2) {
if (_root.coin_number == 0) {
x = 2;
} else {
x = 1;
}
if (_root.levels_array[_root.level_playing + 1] == 4) {
_root.levels_array[_root.level_playing + 1] = 3;
}
_root.levels_array[_root.level_playing] = x;
}
if (_root.levels_array[_root.level_playing] != 2) {
this.gotoAndStop(2);
}
if (_root.cheat_array[0] == 1) {
_root.cheat_array[0] = 2;
_root.cheat_array[1] = 2;
_root.cheat_array[2] = 2;
}
}
Symbol 300 MovieClip Frame 4
function onEnterFrame() {
if (Key.isDown(32)) {
if (spaceok) {
spaceok = false;
_root.gotoAndStop("level_change");
}
} else {
spaceok = true;
}
}
stop();
Symbol 301 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 1
stop();
Symbol 316 MovieClip Frame 1
stop();
Symbol 323 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 1
stop();
Symbol 338 MovieClip Frame 1
stop();
Symbol 346 MovieClip Frame 1
stop();
Instance of Symbol 354 MovieClip in Symbol 356 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
}
Symbol 357 MovieClip Frame 1
stop();
Symbol 359 MovieClip Frame 1
stop();
Symbol 362 MovieClip Frame 1
stop();
Symbol 367 MovieClip Frame 1
stop();