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;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("b8c5855f", this, 10301, true);
_root.website_link = "http://maxgames.com/";
stop();
_quality = "MEDIUM";
Stage.showMenu = false;
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 != "flashgamelicense.com") && (domain != "maxgames.com")) {
}
};
Frame 2
var MochiAd = {getVersion:function () {
return("2.7");
}, showPreGameAd:function (options) {
var DEFAULTS = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = MochiAd._parseOptions(options, DEFAULTS);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
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);
if (options.no_progress_bar) {
bar._visible = false;
delete options.no_progress_bar;
} else {
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.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _chk = this.mc._mochiad_wait;
_chk.server_control = true;
_chk.started = getTimer();
_chk.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _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;
options.ad_progress(pcnt);
if (sendHostProgress) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:clip_pcnt});
if (clip_pcnt == 100) {
sendHostProgress = 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) && (clip_pcnt == 100)) {
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;
}
}
};
}, showClickAwayAd:function (options) {
var DEFAULTS = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = MochiAd._parseOptions(options, DEFAULTS);
var clip = options.clip;
var ad_timeout = options.ad_timeout;
delete options.ad_timeout;
if (!MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var 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_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var sendHostProgress = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
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")) {
finished = true;
chk.showing = true;
chk.started = getTimer();
} else if (elapsed > chk.ad_timeout) {
options.ad_failed();
finished = true;
}
}
if (finished) {
delete this.onEnterFrame;
}
};
}, 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("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = MochiAd._parseOptions(options, 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.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _chk = this.mc._mochiad_wait;
_chk.server_control = true;
_chk.started = getTimer();
_chk.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var 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;
}
}
};
}, showPreloaderAd:function (options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
MochiAd.showPreGameAd(options);
}, showTimedAd:function (options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
MochiAd.showInterLevelAd(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);
}, 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);
}
if (clip._mochiad._containerLCName != undefined) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"});
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}, _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);
}, rpc:function (clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
MochiAd.setValue(clip, arg.objectName, arg.value);
return;
case "getValue" :
var val = MochiAd.getValue(clip, arg.objectName);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, val);
return;
case "runMethod" :
var ret = MochiAd.runMethod(clip, arg.method, arg.args);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, ret);
return;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}, setValue:function (base, objectName, value) {
var nameArray:Array = objectName.split(".");
var i;
i = 0;
while (i < (nameArray.length - 1)) {
if ((base[nameArray[i]] == undefined) || (base[nameArray[i]] == null)) {
return(undefined);
}
base = base[nameArray[i]];
i++;
}
base[nameArray[i]] = value;
}, getValue:function (base, objectName) {
var nameArray:Array = objectName.split(".");
var i;
i = 0;
while (i < (nameArray.length - 1)) {
if ((base[nameArray[i]] == undefined) || (base[nameArray[i]] == null)) {
return(undefined);
}
base = base[nameArray[i]];
i++;
}
return(base[nameArray[i]]);
}, runMethod:function (base, methodName, argsArray:Array) {
var nameArray:Array = methodName.split(".");
var i;
i = 0;
while (i < (nameArray.length - 1)) {
if ((base[nameArray[i]] == undefined) || (base[nameArray[i]] == null)) {
return(undefined);
}
base = base[nameArray[i]];
i++;
}
if (typeof(base[nameArray[i]]) == "function") {
return(base[nameArray[i]].apply(base, argsArray));
}
return(undefined);
}, _:null};
MochiAd.showPreGameAd({id:"079764ade988604e", res:"800x500", background:16777215, color:8224125, outline:0, no_bg:true});
Frame 3
_root.quality = "MEDIUM";
_root.number_of_trophies_you_have = 0;
levels_array = new Array(1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2);
unlockables_array = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
unlockable_number = 0;
trophy_array = new Array(1, 1, 1, 1, 1, 1);
amount_of_times_play_with_costume = 0;
times_played_w_costume_array = new Array(99, 99, 99);
_root.next_in_line0 = 0;
_root.next_in_line1 = 0;
_root.next_in_line2 = 0;
_root.next_in_line3 = 0;
_root.next_in_line4 = 0;
_root.next_in_line5 = 0;
died_yet_array = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
clothes_worn = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
_root.got_wardobe_trophy = false;
number_of_gems_total_collected_trophy = 0;
_root.timer_can_go = false;
var savefile = SharedObject.getLocal("cannonblastertest");
if (savefile.data.notfirsttime_played) {
x = 0;
while (x <= 27) {
_root.levels_array[x] = savefile.data["levels_array" + x];
_root.unlockables_array[x] = savefile.data["unlockables_array" + x];
_root.died_yet_array[x] = savefile.data["died_yet_array" + x];
x++;
}
x = 0;
while (x <= 5) {
_root.times_played_w_costume_array[x] = savefile.data["times_played_w_costume_array" + x];
_root.clothes_worn[x] = savefile.data["clothes_worn" + x];
_root.trophy_array[x] = savefile.data["trophy_array" + x];
x++;
}
_root.next_in_line0 = savefile.data.next_in_line0;
_root.next_in_line1 = savefile.data.next_in_line1;
_root.next_in_line2 = savefile.data.next_in_line2;
_root.next_in_line3 = savefile.data.next_in_line3;
_root.next_in_line4 = savefile.data.next_in_line4;
_root.next_in_line5 = savefile.data.next_in_line5;
_root.got_wardobe_trophy = savefile.data.got_wardobe_trophy;
unlockable_number = savefile.data.unlockable_number;
amount_of_times_play_with_costume = savefile.data.amount_of_times_play_with_costume;
number_of_gems_total_collected_trophy = savefile.data.number_of_gems_total_collected_trophy;
}
Frame 4
stop();
Frame 8
function save_all_vars_function() {
x = 0;
while (x <= 27) {
savefile.data["levels_array" + x] = _root.levels_array[x];
savefile.data["unlockables_array" + x] = _root.unlockables_array[x];
savefile.data["died_yet_array" + x] = _root.died_yet_array[x];
x++;
}
x = 0;
while (x <= 5) {
savefile.data["times_played_w_costume_array" + x] = _root.times_played_w_costume_array[x];
savefile.data["clothes_worn" + x] = _root.clothes_worn[x];
savefile.data["trophy_array" + x] = _root.trophy_array[x];
x++;
}
savefile.data.next_in_line0 = _root.next_in_line0;
savefile.data.next_in_line1 = _root.next_in_line1;
savefile.data.next_in_line2 = _root.next_in_line2;
savefile.data.next_in_line3 = _root.next_in_line3;
savefile.data.next_in_line4 = _root.next_in_line4;
savefile.data.next_in_line5 = _root.next_in_line5;
savefile.data.got_wardobe_trophy = _root.got_wardobe_trophy;
savefile.data.unlockable_number = unlockable_number;
savefile.data.amount_of_times_play_with_costume = amount_of_times_play_with_costume;
savefile.data.number_of_gems_total_collected_trophy = number_of_gems_total_collected_trophy;
savefile.data.notfirsttime_played = true;
savefile.flush();
}
Frame 9
frame_your_on = "title_screen";
stop();
_root.first_guy.swapDepths(9999);
fix_trophy_double_glitch = 1;
_root.music_mc.play();
_root.sound_volume = 100;
_root.complete_total_amount_of_gold = 0;
_root.finished_game = false;
_root.minute_var = 0;
_root.seconds_var = 0;
_root.milliseconds_var = 0;
Instance of Symbol 48 MovieClip "first_guy" in Frame 9
onClipEvent (load) {
function trophy_function(number_v) {
_root.trophy_array[number_v] = 2;
this.gotoAndPlay(2);
if (number_v <= 1) {
this.trophy_mc.gotoAndStop(3);
} else if (number_v <= 3) {
this.trophy_mc.gotoAndStop(2);
} else if (number_v <= 5) {
this.trophy_mc.gotoAndStop(1);
}
}
if (_root.fix_trophy_double_glitch >= 2) {
this.swapDepths(9000);
this.removeMovieClip();
}
_root.fix_trophy_double_glitch++;
first_x = this._x;
}
onClipEvent (enterFrame) {
if (_root.frame_your_on == "in_game") {
this._x = _root.hero.middle_of_screen_x;
} else {
this._x = first_x;
}
if (_root.trophy_array[0] == 1) {
if ((_root.jewels_collected / _root.jewel_number) >= 1) {
if (_root.dead_menu.your_dead) {
_root.next_in_line0 = 1;
}
}
}
if (_root.trophy_array[1] == 1) {
if ((_root.unlockable_number + 1) >= 2) {
if (_root.amount_of_times_play_with_costume >= 5) {
_root.next_in_line1 = 1;
}
}
}
if (_root.trophy_array[2] == 1) {
if (_root.got_wardobe_trophy) {
_root.next_in_line2 = 1;
}
}
if (_root.trophy_array[3] == 1) {
if (_root.number_of_gems_total_collected_trophy >= 200) {
_root.next_in_line3 = 1;
}
}
if (_root.trophy_array[4] == 1) {
if (_root.level0.number_of_none_deaths >= 27) {
_root.next_in_line4 = 1;
}
}
if (_root.trophy_array[5] == 1) {
if (_root.number_of_gold >= 27) {
_root.next_in_line5 = 1;
}
}
if ((_root.next_in_line0 == 1) && (!this.doing_animation)) {
trophy_function(0);
this.trophy_text = "Almost Made it";
_root.next_in_line0 = 3;
} else if ((_root.next_in_line1 == 1) && (!this.doing_animation)) {
trophy_function(1);
this.trophy_text = "Trick or Treat";
_root.next_in_line1 = 3;
} else if ((_root.next_in_line2 == 1) && (!this.doing_animation)) {
trophy_function(2);
this.trophy_text = "Huge Wardrobe";
_root.next_in_line2 = 3;
} else if ((_root.next_in_line3 == 1) && (!this.doing_animation)) {
trophy_function(3);
this.trophy_text = "Im Rich!";
_root.next_in_line3 = 3;
} else if ((_root.next_in_line4 == 1) && (!this.doing_animation)) {
trophy_function(4);
this.trophy_text = "Cannon Blaster";
_root.next_in_line4 = 3;
} else if ((_root.next_in_line5 == 1) && (!this.doing_animation)) {
trophy_function(5);
this.trophy_text = "Collector";
_root.next_in_line5 = 3;
}
}
Frame 10
stop();
_root.level_playing = 0;
frame_your_on = "level_select_menu";
_root.save_all_vars_function();
Instance of Symbol 86 MovieClip "level0" in Frame 10
onClipEvent (load) {
count_zeh_golds = 0;
number_of_none_deaths = 0;
if (this._name == "level0") {
_root.number_of_gold = 0;
gold_counter_var = 0;
this.locked_mc.gotoAndStop(2);
if (_root.levels_array[0] == 3) {
gold_counter_var++;
}
this.gotoAndStop(_root.levels_array[0]);
this.button_sender_var = 1;
next_depth = 2;
row_x = 70;
height_y = 0;
this_x_var = this._x;
rows = 0;
number_of_rows = 8;
x_loop = 1;
while (x_loop <= 26) {
if (_root.number_of_gold >= 21) {
if (_root.levels_array[23] == 2) {
_root.levels_array[23] = 1;
_root.level22.gotoAndStop(1);
_root.level22.locked_mc.gotoAndStop(2);
}
}
next_depth++;
this.duplicateMovieClip("level" + x_loop, next_depth);
_root["level" + x_loop]._x = this_x_var + row_x;
_root["level" + x_loop]._y = this._y + height_y;
_root["level" + x_loop].gotoAndStop(_root.levels_array[x_loop]);
if (_root.levels_array[x_loop] == 1) {
_root["level" + x_loop].locked_mc.gotoAndStop(2);
} else if (_root.levels_array[x_loop] == 2) {
if (x_loop >= 21) {
if (_root.levels_array[21] == 2) {
_root["level" + x_loop].locked_mc.gotoAndStop(3);
} else {
_root["level" + x_loop].locked_mc.gotoAndStop(1);
}
}
}
_root["level" + x_loop].button_sender_var = x_loop + 1;
if (x_loop <= 8) {
_root["level" + x_loop].level_number = ["LEVEL 0" + (x_loop + 1)];
} else {
_root["level" + x_loop].level_number = ["LEVEL " + (x_loop + 1)];
}
row_x = row_x + 70;
rows++;
if (rows >= number_of_rows) {
number_of_rows = 9;
row_x = 0;
rows = 0;
height_y = height_y + 90;
}
if (_root.levels_array[x_loop] == 3) {
gold_counter_var++;
}
if (x_loop <= 6) {
_root["level" + x_loop].level_type.gotoAndStop(1);
} else if (x_loop <= 13) {
_root["level" + x_loop].level_type.gotoAndStop(2);
} else if (x_loop <= 20) {
_root["level" + x_loop].level_type.gotoAndStop(3);
} else if (x_loop == 21) {
_root["level" + x_loop].level_type.gotoAndStop(1);
} else if (x_loop == 22) {
_root["level" + x_loop].level_type.gotoAndStop(2);
} else if (x_loop == 23) {
_root["level" + x_loop].level_type.gotoAndStop(3);
} else if (x_loop == 24) {
_root["level" + x_loop].level_type.gotoAndStop(1);
} else if (x_loop == 25) {
_root["level" + x_loop].level_type.gotoAndStop(2);
} else if (x_loop == 26) {
_root["level" + x_loop].level_type.gotoAndStop(3);
}
if (x_loop == 6) {
_root["level" + x_loop].shows_vehical.gotoAndStop(2);
_root["level" + x_loop].red_or_not.gotoAndStop(2);
}
if (x_loop == 13) {
_root["level" + x_loop].shows_vehical.gotoAndStop(3);
_root["level" + x_loop].red_or_not.gotoAndStop(2);
}
if (x_loop == 20) {
_root["level" + x_loop].shows_vehical.gotoAndStop(4);
_root["level" + x_loop].red_or_not.gotoAndStop(2);
}
if (x_loop >= 20) {
if (x_loop == 20) {
_root["level" + x_loop].shows_vehical.gotoAndStop(4);
} else if (x_loop == 21) {
_root["level" + x_loop].shows_vehical.gotoAndStop(2);
} else if (x_loop == 22) {
_root["level" + x_loop].shows_vehical.gotoAndStop(3);
} else if (x_loop == 23) {
_root["level" + x_loop].shows_vehical.gotoAndStop(4);
} else if (x_loop == 24) {
_root["level" + x_loop].shows_vehical.gotoAndStop(2);
} else if (x_loop == 25) {
_root["level" + x_loop].shows_vehical.gotoAndStop(3);
} else if (x_loop == 26) {
_root["level" + x_loop].shows_vehical.gotoAndStop(4);
} else if (x_loop == 27) {
_root["level" + x_loop].shows_vehical.gotoAndStop(4);
}
_root["level" + x_loop].red_or_not.gotoAndStop(2);
}
x_loop++;
}
_root.number_of_gold = gold_counter_var;
_root.complete_total_amount_of_gold = _root.number_of_gold;
}
x_loop = 0;
while (x_loop <= 26) {
if (_root.died_yet_array[x_loop] == 2) {
number_of_none_deaths++;
_root["level" + x_loop].havent_died_mc.gotoAndStop(2);
}
x_loop++;
}
if (x_loop == 6) {
_root["level" + x_loop].red_or_not.gotoAndStop(2);
}
if (x_loop == 13) {
_root["level" + x_loop].red_or_not.gotoAndStop(2);
}
if (x_loop >= 20) {
_root["level" + x_loop].red_or_not.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.frame_your_on != "level_select_menu") {
this.removeMovieClip();
}
}
Instance of Symbol 104 MovieClip in Frame 10
onClipEvent (load) {
this.costume_name = "Cute Girl";
}
Instance of Symbol 111 MovieClip "unlockable_1" in Frame 10
onClipEvent (load) {
unlockables_number = 1;
this.gold_number_needed = 1;
if (_root.number_of_gold >= this.gold_number_needed) {
if (_root.unlockables_array[unlockables_number] == 1) {
_root.unlockables_array[unlockables_number] = 2;
_root.unlockable_menu.gotoAndStop(2);
_root.unlockable_menu.guy_mc.gotoAndStop(unlockables_number + 1);
}
}
this.gotoAndStop(_root.unlockables_array[unlockables_number]);
just_locked = true;
if (_root.unlockable_number == unlockables_number) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.unlockable_on) {
if (locked) {
just_locked = true;
locked = false;
_root.unlockable_number = unlockables_number;
x = 1;
while (x <= 12) {
if (x == unlockables_number) {
x++;
}
if (_root.unlockables_array[x] != 1) {
_root["unlockable_" + x].gotoAndStop(2);
}
x++;
}
}
} else if (just_locked) {
just_locked = false;
if (_root.unlockable_number == unlockables_number) {
_root.unlockable_number = 0;
}
}
if (this.unlockable_on == false) {
locked = true;
}
}
Instance of Symbol 104 MovieClip in Frame 10
onClipEvent (load) {
this.costume_name = "Fierce Lion";
}
Instance of Symbol 111 MovieClip "unlockable_2" in Frame 10
onClipEvent (load) {
unlockables_number = 2;
this.gold_number_needed = 3;
if (_root.number_of_gold >= this.gold_number_needed) {
if (_root.unlockables_array[unlockables_number] == 1) {
_root.unlockables_array[unlockables_number] = 2;
_root.unlockable_menu.gotoAndStop(2);
_root.unlockable_menu.guy_mc.gotoAndStop(unlockables_number + 1);
}
}
this.gotoAndStop(_root.unlockables_array[unlockables_number]);
just_locked = true;
if (_root.unlockable_number == unlockables_number) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.unlockable_on) {
if (locked) {
just_locked = true;
locked = false;
_root.unlockable_number = unlockables_number;
x = 1;
while (x <= 12) {
if (x == unlockables_number) {
x++;
}
if (_root.unlockables_array[x] != 1) {
_root["unlockable_" + x].gotoAndStop(2);
}
x++;
}
}
} else if (just_locked) {
just_locked = false;
if (_root.unlockable_number == unlockables_number) {
_root.unlockable_number = 0;
}
}
if (this.unlockable_on == false) {
locked = true;
}
}
Instance of Symbol 104 MovieClip in Frame 10
onClipEvent (load) {
this.costume_name = "Lazy Dog";
}
Instance of Symbol 111 MovieClip "unlockable_3" in Frame 10
onClipEvent (load) {
unlockables_number = 3;
this.gold_number_needed = 5;
if (_root.number_of_gold >= this.gold_number_needed) {
if (_root.unlockables_array[unlockables_number] == 1) {
_root.unlockables_array[unlockables_number] = 2;
_root.unlockable_menu.gotoAndStop(2);
_root.unlockable_menu.guy_mc.gotoAndStop(unlockables_number + 1);
}
}
this.gotoAndStop(_root.unlockables_array[unlockables_number]);
just_locked = true;
if (_root.unlockable_number == unlockables_number) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.unlockable_on) {
if (locked) {
just_locked = true;
locked = false;
_root.unlockable_number = unlockables_number;
x = 1;
while (x <= 12) {
if (x == unlockables_number) {
x++;
}
if (_root.unlockables_array[x] != 1) {
_root["unlockable_" + x].gotoAndStop(2);
}
x++;
}
}
} else if (just_locked) {
just_locked = false;
if (_root.unlockable_number == unlockables_number) {
_root.unlockable_number = 0;
}
}
if (this.unlockable_on == false) {
locked = true;
}
}
Instance of Symbol 104 MovieClip in Frame 10
onClipEvent (load) {
this.costume_name = "Scary Goblin";
}
Instance of Symbol 111 MovieClip "unlockable_4" in Frame 10
onClipEvent (load) {
unlockables_number = 4;
this.gold_number_needed = 7;
if (_root.number_of_gold >= this.gold_number_needed) {
if (_root.unlockables_array[unlockables_number] == 1) {
_root.unlockables_array[unlockables_number] = 2;
_root.unlockable_menu.gotoAndStop(2);
_root.unlockable_menu.guy_mc.gotoAndStop(unlockables_number + 1);
}
}
this.gotoAndStop(_root.unlockables_array[unlockables_number]);
just_locked = true;
if (_root.unlockable_number == unlockables_number) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.unlockable_on) {
if (locked) {
just_locked = true;
locked = false;
_root.unlockable_number = unlockables_number;
x = 1;
while (x <= 12) {
if (x == unlockables_number) {
x++;
}
if (_root.unlockables_array[x] != 1) {
_root["unlockable_" + x].gotoAndStop(2);
}
x++;
}
}
} else if (just_locked) {
just_locked = false;
if (_root.unlockable_number == unlockables_number) {
_root.unlockable_number = 0;
}
}
if (this.unlockable_on == false) {
locked = true;
}
}
Instance of Symbol 104 MovieClip in Frame 10
onClipEvent (load) {
this.costume_name = "Crazy Pirate";
}
Instance of Symbol 111 MovieClip "unlockable_5" in Frame 10
onClipEvent (load) {
unlockables_number = 5;
this.gold_number_needed = 10;
if (_root.number_of_gold >= this.gold_number_needed) {
if (_root.unlockables_array[unlockables_number] == 1) {
_root.unlockables_array[unlockables_number] = 2;
_root.unlockable_menu.gotoAndStop(2);
_root.unlockable_menu.guy_mc.gotoAndStop(unlockables_number + 1);
}
}
this.gotoAndStop(_root.unlockables_array[unlockables_number]);
just_locked = true;
if (_root.unlockable_number == unlockables_number) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.unlockable_on) {
if (locked) {
just_locked = true;
locked = false;
_root.unlockable_number = unlockables_number;
x = 1;
while (x <= 12) {
if (x == unlockables_number) {
x++;
}
if (_root.unlockables_array[x] != 1) {
_root["unlockable_" + x].gotoAndStop(2);
}
x++;
}
}
} else if (just_locked) {
just_locked = false;
if (_root.unlockable_number == unlockables_number) {
_root.unlockable_number = 0;
}
}
if (this.unlockable_on == false) {
locked = true;
}
}
Instance of Symbol 104 MovieClip in Frame 10
onClipEvent (load) {
this.costume_name = "Tooth Fairy";
}
Instance of Symbol 111 MovieClip "unlockable_6" in Frame 10
onClipEvent (load) {
unlockables_number = 6;
this.gold_number_needed = 13;
if (_root.number_of_gold >= this.gold_number_needed) {
if (_root.unlockables_array[unlockables_number] == 1) {
_root.unlockables_array[unlockables_number] = 2;
_root.unlockable_menu.gotoAndStop(2);
_root.unlockable_menu.guy_mc.gotoAndStop(unlockables_number + 1);
}
}
this.gotoAndStop(_root.unlockables_array[unlockables_number]);
just_locked = true;
if (_root.unlockable_number == unlockables_number) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.unlockable_on) {
if (locked) {
just_locked = true;
locked = false;
_root.unlockable_number = unlockables_number;
x = 1;
while (x <= 12) {
if (x == unlockables_number) {
x++;
}
if (_root.unlockables_array[x] != 1) {
_root["unlockable_" + x].gotoAndStop(2);
}
x++;
}
}
} else if (just_locked) {
just_locked = false;
if (_root.unlockable_number == unlockables_number) {
_root.unlockable_number = 0;
}
}
if (this.unlockable_on == false) {
locked = true;
}
}
Instance of Symbol 104 MovieClip in Frame 10
onClipEvent (load) {
this.costume_name = "Space Man";
}
Instance of Symbol 111 MovieClip "unlockable_10" in Frame 10
onClipEvent (load) {
unlockables_number = 10;
this.gold_number_needed = 20;
if (_root.number_of_gold >= this.gold_number_needed) {
if (_root.unlockables_array[unlockables_number] == 1) {
_root.unlockables_array[unlockables_number] = 2;
_root.unlockable_menu.gotoAndStop(2);
_root.unlockable_menu.guy_mc.gotoAndStop(unlockables_number + 1);
}
}
this.gotoAndStop(_root.unlockables_array[unlockables_number]);
just_locked = true;
if (_root.unlockable_number == unlockables_number) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.unlockable_on) {
if (locked) {
just_locked = true;
locked = false;
_root.unlockable_number = unlockables_number;
x = 1;
while (x <= 12) {
if (x == unlockables_number) {
x++;
}
if (_root.unlockables_array[x] != 1) {
_root["unlockable_" + x].gotoAndStop(2);
}
x++;
}
}
} else if (just_locked) {
just_locked = false;
if (_root.unlockable_number == unlockables_number) {
_root.unlockable_number = 0;
}
}
if (this.unlockable_on == false) {
locked = true;
}
}
Instance of Symbol 104 MovieClip in Frame 10
onClipEvent (load) {
this.costume_name = "Speedo Man";
}
Instance of Symbol 111 MovieClip "unlockable_11" in Frame 10
onClipEvent (load) {
unlockables_number = 11;
this.gold_number_needed = 21;
if (_root.number_of_gold >= this.gold_number_needed) {
if (_root.unlockables_array[unlockables_number] == 1) {
_root.unlockables_array[unlockables_number] = 2;
_root.unlockable_menu.gotoAndStop(2);
_root.unlockable_menu.guy_mc.gotoAndStop(unlockables_number + 1);
}
}
this.gotoAndStop(_root.unlockables_array[unlockables_number]);
just_locked = true;
if (_root.unlockable_number == unlockables_number) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.unlockable_on) {
if (locked) {
just_locked = true;
locked = false;
_root.unlockable_number = unlockables_number;
x = 1;
while (x <= 12) {
if (x == unlockables_number) {
x++;
}
if (_root.unlockables_array[x] != 1) {
_root["unlockable_" + x].gotoAndStop(2);
}
x++;
}
}
} else if (just_locked) {
just_locked = false;
if (_root.unlockable_number == unlockables_number) {
_root.unlockable_number = 0;
}
}
if (this.unlockable_on == false) {
locked = true;
}
}
Instance of Symbol 104 MovieClip in Frame 10
onClipEvent (load) {
this.costume_name = "Evil Monkey";
}
Instance of Symbol 111 MovieClip "unlockable_12" in Frame 10
onClipEvent (load) {
unlockables_number = 12;
this.gold_number_needed = 27;
if (_root.number_of_gold >= this.gold_number_needed) {
if (_root.unlockables_array[unlockables_number] == 1) {
_root.unlockables_array[unlockables_number] = 2;
_root.unlockable_menu.gotoAndStop(2);
_root.unlockable_menu.guy_mc.gotoAndStop(unlockables_number + 1);
}
}
this.gotoAndStop(_root.unlockables_array[unlockables_number]);
just_locked = true;
if (_root.unlockable_number == unlockables_number) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.unlockable_on) {
if (locked) {
just_locked = true;
locked = false;
_root.unlockable_number = unlockables_number;
x = 1;
while (x <= 12) {
if (x == unlockables_number) {
x++;
}
if (_root.unlockables_array[x] != 1) {
_root["unlockable_" + x].gotoAndStop(2);
}
x++;
}
}
} else if (just_locked) {
just_locked = false;
if (_root.unlockable_number == unlockables_number) {
_root.unlockable_number = 0;
}
}
if (this.unlockable_on == false) {
locked = true;
}
}
Instance of Symbol 104 MovieClip in Frame 10
onClipEvent (load) {
this.costume_name = "Skull Boy";
}
Instance of Symbol 111 MovieClip "unlockable_7" in Frame 10
onClipEvent (load) {
unlockables_number = 7;
this.gold_number_needed = 15;
if (_root.number_of_gold >= this.gold_number_needed) {
if (_root.unlockables_array[unlockables_number] == 1) {
_root.unlockables_array[unlockables_number] = 2;
_root.unlockable_menu.gotoAndStop(2);
_root.unlockable_menu.guy_mc.gotoAndStop(unlockables_number + 1);
}
}
this.gotoAndStop(_root.unlockables_array[unlockables_number]);
just_locked = true;
if (_root.unlockable_number == unlockables_number) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.unlockable_on) {
if (locked) {
just_locked = true;
locked = false;
_root.unlockable_number = unlockables_number;
x = 1;
while (x <= 12) {
if (x == unlockables_number) {
x++;
}
if (_root.unlockables_array[x] != 1) {
_root["unlockable_" + x].gotoAndStop(2);
}
x++;
}
}
} else if (just_locked) {
just_locked = false;
if (_root.unlockable_number == unlockables_number) {
_root.unlockable_number = 0;
}
}
if (this.unlockable_on == false) {
locked = true;
}
}
Instance of Symbol 104 MovieClip in Frame 10
onClipEvent (load) {
this.costume_name = "Ninja Master";
}
Instance of Symbol 111 MovieClip "unlockable_8" in Frame 10
onClipEvent (load) {
unlockables_number = 8;
this.gold_number_needed = 18;
if (_root.number_of_gold >= this.gold_number_needed) {
if (_root.unlockables_array[unlockables_number] == 1) {
_root.unlockables_array[unlockables_number] = 2;
_root.unlockable_menu.gotoAndStop(2);
_root.unlockable_menu.guy_mc.gotoAndStop(unlockables_number + 1);
}
}
this.gotoAndStop(_root.unlockables_array[unlockables_number]);
just_locked = true;
if (_root.unlockable_number == unlockables_number) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.unlockable_on) {
if (locked) {
just_locked = true;
locked = false;
_root.unlockable_number = unlockables_number;
x = 1;
while (x <= 12) {
if (x == unlockables_number) {
x++;
}
if (_root.unlockables_array[x] != 1) {
_root["unlockable_" + x].gotoAndStop(2);
}
x++;
}
}
} else if (just_locked) {
just_locked = false;
if (_root.unlockable_number == unlockables_number) {
_root.unlockable_number = 0;
}
}
if (this.unlockable_on == false) {
locked = true;
}
}
Instance of Symbol 104 MovieClip in Frame 10
onClipEvent (load) {
this.costume_name = "Silly Bunny";
}
Instance of Symbol 111 MovieClip "unlockable_9" in Frame 10
onClipEvent (load) {
unlockables_number = 9;
this.gold_number_needed = 19;
if (_root.number_of_gold >= this.gold_number_needed) {
if (_root.unlockables_array[unlockables_number] == 1) {
_root.unlockables_array[unlockables_number] = 2;
_root.unlockable_menu.gotoAndStop(2);
_root.unlockable_menu.guy_mc.gotoAndStop(unlockables_number + 1);
}
}
this.gotoAndStop(_root.unlockables_array[unlockables_number]);
just_locked = true;
if (_root.unlockable_number == unlockables_number) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.unlockable_on) {
if (locked) {
just_locked = true;
locked = false;
_root.unlockable_number = unlockables_number;
x = 1;
while (x <= 12) {
if (x == unlockables_number) {
x++;
}
if (_root.unlockables_array[x] != 1) {
_root["unlockable_" + x].gotoAndStop(2);
}
x++;
}
}
} else if (just_locked) {
just_locked = false;
if (_root.unlockable_number == unlockables_number) {
_root.unlockable_number = 0;
}
}
if (this.unlockable_on == false) {
locked = true;
}
}
Instance of Symbol 224 MovieClip "menu_mc" in Frame 10
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.frame_your_on != "level_select_menu") {
this.removeMovieClip();
}
}
Instance of Symbol 250 MovieClip "unlockable_menu" in Frame 10
onClipEvent (load) {
this.swapDepths(1003);
}
onClipEvent (enterFrame) {
if (_root.frame_your_on != "level_select_menu") {
this.removeMovieClip();
}
}
Frame 11
stop();
Instance of Symbol 253 MovieClip "bkg1" in Frame 11
/* no clip actions */
Instance of Symbol 380 MovieClip "hero" in Frame 11
onClipEvent (load) {
function splashy_splash(alpha_x) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._xscale = _root["splash_mc" + _root.next_depth]._xscale + 20;
_root["splash_mc" + _root.next_depth]._y = (_root.foreground1._y - 50) + lower_splash;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
_root["splash_mc" + _root.next_depth]._alpha = alpha_x;
water_drop_for = 0;
while (water_drop_for <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
_root["water_drop" + _root.next_depth].alpha_x = alpha_x;
water_drop_for++;
}
}
function dies_in_barrel(change_ymovement) {
if (in_a_barrel) {
this._rotation = 0;
you_can_press_space_now = false;
_root["barrel" + last_barrel_you_were_in].barrel_mc.gotoAndStop(1);
this._alpha = 100;
camera_spd_in_barrel = camera_spd_in_barrel_reset;
in_a_barrel = false;
if (change_ymovement) {
change_ymovement = false;
ymovement = speed * Math.cos(this._rotation * (Math.PI/180));
}
}
}
if (_root.level_playing == 27) {
loop_max_number = 23;
} else {
loop_max_number = 15;
}
_root.clothes_worn[_root.unlockable_number] = 2;
_root.frame_your_on = "in_game";
re_enter_time = 10;
reset_enter_time = re_enter_time;
bkg_width_cut_half = (_root.bkg1._width / 2) + 6;
started_the_game = false;
_root.next_depth = 1;
speed = 25;
dead = false;
gravity = -10;
in_a_barrel = false;
camera_spd_in_barrel_lowest = 5;
camera_spd_in_barrel_reset = 20;
camera_spd_in_barrel = camera_spd_in_barrel_reset;
camera_spd_outside_brl = 30;
you_can_press_space_now = false;
starting_special = false;
okay_to_start_special = false;
root_width = 800;
middle_of_screen_y = (-_root._y) + 250;
middle_of_screen_x = (-_root._x) + 400;
if (_root.level_playing >= 15) {
lower_splash = 15;
}
if (_root.level_playing >= 14) {
lava_spd5 = 5;
lava_spd3 = 3;
}
}
onClipEvent (enterFrame) {
if (_root.next_depth >= 9000) {
_root.next_depth = 1;
}
if (started_the_game) {
background_x_movement = 0;
if (dead) {
_root.fuel_bar.gotoAndStop(2);
if (special_activated == "boat") {
starting_special = false;
special_activated = "none";
using_boat_special = false;
this.gotoAndStop(5);
ymovement = 15;
_root.boat_explosion.gotoAndPlay(2);
_root.boat_explosion._x = this._x;
_root.boat_explosion._y = this._y - 10;
}
if (!dead_from_offscreen) {
if (special_activated == "jetpack") {
starting_special = false;
special_activated = "none";
using_jetpack_special = false;
this.gotoAndStop(5);
_root.jetpack_explosion.gotoAndPlay(2);
_root.jetpack_explosion._x = this._x;
_root.jetpack_explosion._y = this._y - 10;
ymovement = 15;
}
}
if (special_activated == "rocket") {
starting_special = false;
special_activated = "none";
using_rocket_special = false;
this.gotoAndStop(5);
if (!died_in_lava) {
_root.rocket_explosion.gotoAndStop(2);
_root.rocket_explosion._x = this._x;
_root.rocket_explosion._y = this._y - 10;
ymovement = 15;
}
}
_root["barrel" + last_barrel_you_were_in].moveable_spd = _root["barrel" + last_barrel_you_were_in].normal_spd;
if ((!dead_menu_show) && (!finished)) {
dead_menu_show = true;
_root.dead_menu.gotoAndPlay(2);
}
_root.dead_menu._x = middle_of_screen_x;
in_a_barrel = false;
background_x_movement = background_x_movement + (((this._x - 400) + _root._x) / 30);
_root._x = _root._x - (((this._x - 400) + _root._x) / 30);
}
if (_root.finish.hitter.hitTest(this._x, this._y, true)) {
if ((!finished) && (!dead)) {
_root.vehical_noise.gotoAndStop(1);
special_activated == "none";
finished = true;
this._x = _root.finish._x;
this._y = _root.finish._y;
_root.finish.gotoAndStop(2);
this._alpha = 0;
_root.fuel_bar.gotoAndStop(2);
_root.rocket_explosion._alpha = 0;
}
}
if (finished) {
_root.vehical_noise.gotoAndStop(1);
_root.fuel_bar.gotoAndStop(2);
_root.winner_menu._x = _root.finish._x - 3;
_root.finish._y = _root.finish._y - ((-178 + _root.finish._y) / 5);
background_x_movement = background_x_movement + (((_root.finish._x - 400) + _root._x) / 30);
_root._x = _root._x - (((_root.finish._x - 400) + _root._x) / 30);
if ((_root.jewels_collected / _root.jewel_number) >= 1) {
_root.medal_type = 1;
_root.finish.coin_mc.coin_mc.coin_mc.gotoAndStop(1);
} else if ((_root.jewels_collected / _root.jewel_number) >= 0.5) {
_root.medal_type = 2;
_root.finish.coin_mc.coin_mc.coin_mc.gotoAndStop(2);
} else {
_root.finish.coin_mc.coin_mc.coin_mc.gotoAndStop(3);
_root.medal_type = 3;
}
}
if (_root.bubble_rocket_mc.hitTest(this._x, this._y, true)) {
special_activated = "rocket";
}
if (special_activated == "rocket") {
if (!using_rocket_special) {
this.gotoAndStop(8);
starting_special = true;
xmovement = 0;
ymovement = 0;
this._x = _root.bubble_rocket_mc._x;
this._y = _root.bubble_rocket_mc._y;
this._rotation = 0;
_root.bubble_rocket_mc.gotoAndStop(2);
if (Key.isDown(32) || (Key.isDown(38))) {
if (okay_to_start_special) {
this.gotoAndStop(9);
using_rocket_special = true;
}
}
if ((!Key.isDown(32)) && (!Key.isDown(38))) {
okay_to_start_special = true;
}
} else if ((!dead) && (!finished)) {
if (((_root.level_playing == 21) || (_root.level_playing == 24)) || (_root.level_playing == 27)) {
_root.fuel_bar.gotoAndStop(1);
_root.fuel_bar.fuel_bar.bar_speed = 0.2;
_root.fuel_bar._x = this._x + 5;
_root.fuel_bar._y = this._y - 50;
if (finished) {
_root.fuel_bar.gotoAndStop(2);
}
if (_root.level_playing == 27) {
_root.fuel_bar.fuel_bar.bar_speed = 0.15;
}
}
if (Key.isDown(38) || (Key.isDown(32))) {
if (this._y >= 50) {
this.rocket_mc.gotoAndStop(2);
if (!finished) {
_root.vehical_noise.gotoAndStop(2);
}
if (this._rotation > -10) {
this._rotation = this._rotation - 5;
}
ymovement = ymovement + 1.8;
if (ymovement >= 10) {
ymovement = 10;
}
thrusting_up = true;
} else {
thrusting_up = false;
}
} else {
this.rocket_mc.gotoAndStop(1);
if (this._rotation < 5) {
this._rotation = this._rotation + 5;
}
thrusting_up = false;
}
xmovement = -11;
if ((!Key.isDown(32)) && (!Key.isDown(38))) {
_root.vehical_noise.gotoAndStop(1);
}
}
}
if (_root.bubble_jetpack.hitTest(this._x, this._y, true)) {
special_activated = "jetpack";
}
if (special_activated == "jetpack") {
if (!using_jetpack_special) {
this.gotoAndStop(6);
starting_special = true;
xmovement = 0;
ymovement = 0;
this._x = _root.bubble_jetpack._x;
this._y = _root.bubble_jetpack._y;
this._rotation = 0;
_root.bubble_jetpack.gotoAndStop(2);
if (((Key.isDown(32) || (Key.isDown(37))) || (Key.isDown(39))) || (Key.isDown(38))) {
if (okay_to_start_special) {
this.gotoAndStop(7);
using_jetpack_special = true;
this.boat_mc.gotoAndStop(1);
}
}
if ((((!Key.isDown(32)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) {
okay_to_start_special = true;
}
} else if (this._y >= 510) {
dead_from_offscreen = true;
dead = true;
_root.vehical_noise.gotoAndStop(1);
this._y = this._y + 50;
ymovement = 10;
} else {
if (((_root.level_playing == 14) || (_root.level_playing == 23)) || (_root.level_playing == 26)) {
_root.fuel_bar.gotoAndStop(1);
_root.fuel_bar.fuel_bar.bar_speed = 0.13;
_root.fuel_bar._x = this._x + 5;
_root.fuel_bar._y = this._y - 50;
if (finished) {
_root.vehical_noise.gotoAndStop(1);
_root.fuel_bar.gotoAndStop(2);
}
if (_root.level_playing == 14) {
_root.fuel_bar.fuel_bar.bar_speed = 0.13;
}
if (_root.level_playing == 14) {
_root.fuel_bar.fuel_bar.bar_speed = 0.13;
}
}
if (Key.isDown(32) || (Key.isDown(38))) {
if (this._y >= 50) {
if (!finished) {
_root.vehical_noise.gotoAndStop(2);
}
thrusting_up = true;
ymovement = ymovement + 0.8;
if (ymovement >= 8) {
ymovement = 8;
}
if (Key.isDown(37) || (Key.isDown(39))) {
this.jet_pack.gotoAndStop(3);
} else {
this.jet_pack.gotoAndStop(2);
}
} else {
thrusting_up = false;
}
}
if ((!Key.isDown(37)) || (!Key.isDown(39))) {
if (xmovement > 0) {
xmovement--;
}
if (xmovement < 0) {
xmovement++;
}
}
if (Key.isDown(37)) {
if (!finished) {
_root.vehical_noise.gotoAndStop(2);
}
xmovement = xmovement + 2;
if (xmovement >= 10) {
xmovement = 10;
}
this._xscale = -100;
this.jet_pack.gotoAndStop(3);
} else if (Key.isDown(39)) {
if (!finished) {
_root.vehical_noise.gotoAndStop(2);
}
xmovement = xmovement - 2;
if (xmovement <= -10) {
xmovement = -10;
}
this._xscale = 100;
this.jet_pack.gotoAndStop(3);
} else if ((!Key.isDown(32)) && (!Key.isDown(38))) {
this.jet_pack.gotoAndStop(1);
}
if ((!Key.isDown(32)) && (!Key.isDown(38))) {
thrusting_up = false;
}
if ((((!Key.isDown(32)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) {
_root.vehical_noise.gotoAndStop(1);
}
}
}
if (_root.bubble_boat.hitTest(this._x, this._y, true)) {
special_activated = "boat";
}
if (special_activated == "boat") {
if (!using_boat_special) {
this.gotoAndStop(3);
this.boat_mc.gotoAndStop(1);
starting_special = true;
xmovement = 0;
ymovement = 0;
this._x = _root.bubble_boat._x;
this._y = _root.bubble_boat._y;
this._rotation = 0;
_root.bubble_boat.gotoAndStop(2);
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(32))) {
if (okay_to_start_special) {
this.gotoAndStop(4);
using_boat_special = true;
this.boat_mc.gotoAndStop(1);
}
}
if (((!Key.isDown(37)) && (!Key.isDown(39))) && (!Key.isDown(32))) {
okay_to_start_special = true;
}
} else {
if (((_root.level_playing == 7) || (_root.level_playing == 22)) || (_root.level_playing == 25)) {
_root.fuel_bar.gotoAndStop(1);
_root.fuel_bar.fuel_bar.bar_speed = 0.15;
_root.fuel_bar._x = this._x + 5;
_root.fuel_bar._y = this._y - 50;
if (_root.level_playing == 25) {
_root.fuel_bar.fuel_bar.bar_speed = 0.1;
}
if (finished) {
_root.vehical_noise.gotoAndStop(1);
_root.fuel_bar.gotoAndStop(2);
}
}
if (Key.isDown(32)) {
timer_for_boatjump_key++;
key_boatjump_is_down = true;
if (timer_for_boatjump_key >= 20) {
timer_for_boatjump_key = 20;
this.boat_mc.boat_mc.gotoAndStop(12);
} else if (timer_for_boatjump_key >= 1) {
this.boat_mc.boat_mc.gotoAndStop(13);
}
} else if (key_boatjump_is_down) {
key_boatjump_is_down = false;
this.boat_mc.boat_mc.gotoAndStop(1);
if (this._y >= (_root.foreground1._y - 80)) {
splashy_splash(30);
splashy = false;
if (timer_for_boatjump_key >= 20) {
ymovement = 30;
} else {
ymovement = 23;
}
timer_for_boatjump_key = 0;
this.boat_mc.gotoAndStop(1);
}
}
if (Key.isDown(37)) {
this._xscale = -100;
times_splashes_in_boat++;
if (xmovement >= 5) {
if (times_splashes_in_boat >= 5) {
times_splashes_in_boat = 0;
if (this._y >= (_root.foreground1._y - 80)) {
splashy_splash(30);
}
}
}
if (this._rotation <= 10) {
this._rotation = this._rotation + 2;
}
xmovement = xmovement + 0.5;
if (xmovement >= 11) {
xmovement = 11;
}
} else if (Key.isDown(39)) {
this._xscale = 100;
times_splashes_in_boat++;
if (xmovement <= -5) {
if (times_splashes_in_boat >= 5) {
times_splashes_in_boat = 0;
if (this._y >= (_root.foreground1._y - 80)) {
splashy_splash(30);
}
}
}
if (this._rotation >= -10) {
this._rotation = this._rotation - 2;
}
xmovement = xmovement - 0.5;
if (xmovement <= -11) {
xmovement = -11;
}
} else {
if (this._rotation < 0) {
this._rotation = this._rotation + 2;
} else if (this._rotation > 0) {
this._rotation = this._rotation - 2;
}
if (xmovement < 0) {
xmovement = xmovement + 0.5;
} else if (xmovement > 0) {
xmovement = xmovement - 0.5;
}
}
}
}
if (this._y >= 500) {
if (!using_jetpack_special) {
dead = true;
_root.vehical_noise.gotoAndStop(1);
dies_in_barrel();
}
}
if (_root.foreground1.hitTest(this._x, this._y, true) || (_root.foreground2.hitTest(this._x, this._y, true))) {
if (((((_root.level_playing <= 7) || ((_root.level_playing >= 15) && (_root.level_playing <= 22))) || (_root.level_playing == 24)) || (_root.level_playing == 25)) || (_root.level_playing == 27)) {
if ((!water_splash) && (!finished)) {
dies_in_barrel();
splashy_splash(100);
if (!using_boat_special) {
if (!dead) {
if (!splash_sound_once) {
splash_sound_once = true;
_root.splash_sound.gotoAndPlay(2);
}
}
dead = true;
died_in_lava = true;
}
}
}
}
last_x = _root._x;
if (!in_a_barrel) {
if (!starting_special) {
ymovement = ymovement - 1.5;
this._y = this._y - ymovement;
} else if (using_boat_special) {
this._y = this._y - ymovement;
if (this._y <= (_root.foreground1._y - 80)) {
ymovement = ymovement - 3;
} else {
if (!splashy) {
splashy = true;
splashy_splash(30);
}
this.boat_mc.play();
this._y = _root.foreground1._y - 80;
}
} else if (using_jetpack_special) {
if (!thrusting_up) {
ymovement = ymovement - 0.8;
if (ymovement <= -8) {
ymovement = -8;
}
}
this._y = this._y - ymovement;
} else if (using_rocket_special) {
if (!thrusting_up) {
ymovement = ymovement - 1.8;
}
if (ymovement <= -10) {
ymovement = -10;
}
this._y = this._y - ymovement;
}
if ((!dead) && (!finished)) {
if (!starting_special) {
xmovement = (-1 * speed) * Math.sin(this._rotation * (Math.PI/180));
}
this._x = this._x - xmovement;
background_x_movement = background_x_movement - xmovement;
_root._x = _root._x + xmovement;
x_root_movement = this._x;
background_x_movement = background_x_movement + (((x_root_movement - 300) + _root._x) / camera_spd_outside_brl);
_root._x = _root._x - (((x_root_movement - 300) + _root._x) / camera_spd_outside_brl);
}
} else if ((!dead) && (!finished)) {
if (camera_spd_in_barrel > camera_spd_in_barrel_lowest) {
camera_spd_in_barrel--;
} else {
camera_spd_in_barrel = camera_spd_in_barrel_lowest;
}
background_x_movement = background_x_movement + (((_root["barrel" + last_barrel_you_were_in]._x - 300) + _root._x) / camera_spd_in_barrel);
_root._x = _root._x - (((_root["barrel" + last_barrel_you_were_in]._x - 300) + _root._x) / camera_spd_in_barrel);
if (!_root["barrel" + last_barrel_you_were_in].shoot_right_away) {
if (Key.isDown(39)) {
if (!_root["barrel" + last_barrel_you_were_in].moveable) {
_root["barrel" + last_barrel_you_were_in]._rotation = _root["barrel" + last_barrel_you_were_in]._rotation + 10;
}
_root["barrel" + last_barrel_you_were_in].moveable_spd = _root["barrel" + last_barrel_you_were_in].fast_spd;
} else if (Key.isDown(37)) {
if (!_root["barrel" + last_barrel_you_were_in].moveable) {
_root["barrel" + last_barrel_you_were_in]._rotation = _root["barrel" + last_barrel_you_were_in]._rotation - 10;
}
_root["barrel" + last_barrel_you_were_in].moveable_spd = _root["barrel" + last_barrel_you_were_in].fast_spd;
} else {
_root["barrel" + last_barrel_you_were_in].moveable_spd = _root["barrel" + last_barrel_you_were_in].normal_spd;
}
}
this._rotation = _root["barrel" + last_barrel_you_were_in]._rotation;
if ((Key.isDown(32) && (you_can_press_space_now)) || (_root["barrel" + last_barrel_you_were_in].shoot_right_away)) {
_root.barrel_sound.gotoAndPlay(2);
last_barrel_glitch_fix = last_barrel_you_were_in;
start_timer_for_re_enter = true;
re_enter_timer = reset_enter_time;
you_can_press_space_now = false;
_root["barrel" + last_barrel_you_were_in].barrel_mc.gotoAndStop(1);
this._alpha = 100;
camera_spd_in_barrel = camera_spd_in_barrel_reset;
in_a_barrel = false;
_root["barrel" + last_barrel_you_were_in].moveable_spd = _root["barrel" + last_barrel_you_were_in].normal_spd;
if ((_root["barrel" + last_barrel_you_were_in].moveable && (_root["barrel" + last_barrel_you_were_in]._rotation > -9)) && (_root["barrel" + last_barrel_you_were_in]._rotation < 9)) {
this._rotation = 0;
}
ymovement = speed * Math.cos(this._rotation * (Math.PI/180));
}
}
if ((!dead) && (!finished)) {
number_of_costumes_worn = 0;
loop_x = 0;
while (loop_x <= loop_max_number) {
if (_root.clothes_worn[loop_x] == 2) {
number_of_costumes_worn++;
if (number_of_costumes_worn >= 6) {
_root.got_wardobe_trophy = true;
}
}
if (_root["barrel" + loop_x].hitTest(this._x, this._y, true)) {
_root.vehical_noise.gotoAndStop(1);
if ((!in_a_barrel) && (loop_x != last_barrel_you_were_in)) {
_root.in_barrel_sound.gotoAndPlay(2);
if (special_activated == "boat") {
this._xscale = 100;
_root.bubble_boat.gotoAndStop(1);
_root.fuel_bar.gotoAndStop(2);
starting_special = false;
special_activated = "none";
using_boat_special = false;
this.gotoAndStop(2);
}
if (special_activated == "jetpack") {
this._xscale = 100;
_root.bubble_jetpack.gotoAndStop(1);
_root.fuel_bar.gotoAndStop(2);
starting_special = false;
special_activated = "none";
using_jetpack_special = false;
this.gotoAndStop(2);
}
if (special_activated == "rocket") {
special_activated = "none";
this._xscale = 100;
_root.bubble_rocket_mc.gotoAndStop(1);
_root.fuel_bar.gotoAndStop(2);
starting_special = false;
special_activated = "none";
using_rocket_special = false;
this.gotoAndStop(2);
}
_root["barrel" + loop_x].barrel_mc.gotoAndStop(2);
this._alpha = 0;
in_a_barrel = true;
gravity = 0;
last_barrel_you_were_in = loop_x;
this._rotation = _root["barrel" + loop_x]._rotation;
block_y = _root["barrel" + loop_x]._y;
block_x = _root["barrel" + loop_x]._x;
this._y = _root["barrel" + loop_x]._y;
this._x = _root["barrel" + loop_x]._x;
}
}
if (in_a_barrel) {
this._y = _root["barrel" + last_barrel_you_were_in]._y;
this._x = _root["barrel" + last_barrel_you_were_in]._x;
}
if (_root["enemy" + loop_x].enemy.hitTest(this._x, this._y, true) && (this._y >= -35)) {
if (!dead) {
_root.vehical_noise.gotoAndStop(1);
dies_in_barrel(true);
dead = true;
_rotation = 0;
ymovement = 10;
if (_root["enemy" + loop_x].enemy_mc_inside_turns_white) {
_root["enemy" + loop_x].enemy.play();
} else {
_root["enemy" + loop_x].gotoAndStop(2);
}
this.hero_1.gotoAndStop(2);
this.hero_1.spd = 0;
}
}
loop_x++;
}
}
} else if (you_can_press_space_now) {
if (Key.isDown(32)) {
_root.pop_sound.gotoAndPlay(2);
you_can_press_space_now = false;
started_the_game = true;
this.gotoAndStop(2);
}
}
if (!this.hitTest(_root["barrel" + last_barrel_you_were_in])) {
last_barrel_you_were_in = -1;
}
middle_of_screen_y = (-_root._y) + 250;
middle_of_screen_x = (-_root._x) + 400;
if ((_root._x - last_x) < 0) {
if ((_root.bkg1._x - (_root.bkg1._width / 2)) < (middle_of_screen_x - bkg_width_cut_half)) {
_root.bkg2._x = (_root.bkg1._x + _root.bkg1._width) - 0.5;
}
if ((_root.bkg2._x - (_root.bkg2._width / 2)) < (middle_of_screen_x - bkg_width_cut_half)) {
_root.bkg1._x = (_root.bkg2._x + _root.bkg2._width) - 0.5;
}
} else {
if ((_root.bkg1._x + (_root.bkg1._width / 2)) > (middle_of_screen_x + bkg_width_cut_half)) {
_root.bkg2._x = (_root.bkg1._x - _root.bkg1._width) + 0.5;
}
if ((_root.bkg2._x + (_root.bkg2._width / 2)) > (middle_of_screen_x + bkg_width_cut_half)) {
_root.bkg1._x = (_root.bkg2._x - _root.bkg2._width) + 0.5;
}
}
if ((_root._x - last_x) < 0) {
if ((_root.bkg3._x - (_root.bkg3._width / 2)) < (middle_of_screen_x - bkg_width_cut_half)) {
_root.bkg4._x = (_root.bkg3._x + _root.bkg3._width) - 0.5;
}
if ((_root.bkg4._x - (_root.bkg4._width / 2)) < (middle_of_screen_x - bkg_width_cut_half)) {
_root.bkg3._x = (_root.bkg4._x + _root.bkg4._width) - 0.5;
}
} else {
if ((_root.bkg3._x + (_root.bkg3._width / 2)) > (middle_of_screen_x + bkg_width_cut_half)) {
_root.bkg4._x = (_root.bkg3._x - _root.bkg3._width) + 0.5;
}
if ((_root.bkg4._x + (_root.bkg4._width / 2)) > (middle_of_screen_x + bkg_width_cut_half)) {
_root.bkg3._x = (_root.bkg4._x - _root.bkg4._width) + 0.5;
}
}
if ((_root._x - last_x) < 0) {
if ((_root.bkg6._x - (_root.bkg6._width / 2)) < (middle_of_screen_x - bkg_width_cut_half)) {
_root.bkg5._x = (_root.bkg6._x + _root.bkg6._width) - 0.5;
}
if ((_root.bkg5._x - (_root.bkg5._width / 2)) < (middle_of_screen_x - bkg_width_cut_half)) {
_root.bkg6._x = (_root.bkg5._x + _root.bkg5._width) - 0.5;
}
} else {
if ((_root.bkg6._x + (_root.bkg6._width / 2)) > (middle_of_screen_x + bkg_width_cut_half)) {
_root.bkg5._x = (_root.bkg6._x - _root.bkg6._width) + 0.5;
}
if ((_root.bkg5._x + (_root.bkg5._width / 2)) > (middle_of_screen_x + bkg_width_cut_half)) {
_root.bkg6._x = (_root.bkg5._x - _root.bkg5._width) + 0.5;
}
}
if (((_root._x - last_x) + 10) < 0) {
if ((_root.foreground1._x - (_root.foreground1._width / 2)) < (middle_of_screen_x - bkg_width_cut_half)) {
_root.foreground2._x = (_root.foreground1._x + _root.foreground1._width) - 0.5;
}
if ((_root.foreground2._x - (_root.foreground2._width / 2)) < (middle_of_screen_x - bkg_width_cut_half)) {
_root.foreground1._x = (_root.foreground2._x + _root.foreground2._width) - 0.5;
}
} else {
if ((_root.foreground1._x + (_root.foreground1._width / 2)) > (middle_of_screen_x + bkg_width_cut_half)) {
_root.foreground2._x = (_root.foreground1._x - _root.foreground1._width) + 0.5;
}
if ((_root.foreground2._x + (_root.foreground2._width / 2)) > (middle_of_screen_x + bkg_width_cut_half)) {
_root.foreground1._x = (_root.foreground2._x - _root.foreground2._width) + 0.5;
}
}
_root.bkg3._x = _root.bkg3._x + (background_x_movement / 2);
_root.bkg4._x = _root.bkg4._x + (background_x_movement / 2);
_root.bkg1._x = _root.bkg1._x + (background_x_movement / 1.5);
_root.bkg2._x = _root.bkg2._x + (background_x_movement / 1.5);
_root.bkg5._x = _root.bkg5._x + (background_x_movement / 3.5);
_root.bkg6._x = _root.bkg6._x + (background_x_movement / 3.5);
_root.foreground1._x = _root.foreground1._x + (10 - lava_spd5);
_root.foreground2._x = _root.foreground2._x + (10 - lava_spd5);
if (((_root._x - last_x) + 10) < 0) {
if ((_root.foreground3._x - (_root.foreground3._width / 2)) < (middle_of_screen_x - bkg_width_cut_half)) {
_root.foreground4._x = (_root.foreground3._x + _root.foreground3._width) - 1;
}
if ((_root.foreground4._x - (_root.foreground4._width / 2)) < (middle_of_screen_x - bkg_width_cut_half)) {
_root.foreground3._x = (_root.foreground4._x + _root.foreground4._width) - 1;
}
} else {
if ((_root.foreground3._x + (_root.foreground3._width / 2)) > (middle_of_screen_x + bkg_width_cut_half)) {
_root.foreground4._x = (_root.foreground3._x - _root.foreground3._width) + 1;
}
if ((_root.foreground4._x + (_root.foreground4._width / 2)) > (middle_of_screen_x + bkg_width_cut_half)) {
_root.foreground3._x = (_root.foreground4._x - _root.foreground4._width) + 1;
}
}
_root.foreground3._x = _root.foreground3._x + (background_x_movement / 1.5);
_root.foreground4._x = _root.foreground4._x + (background_x_movement / 1.5);
_root.foreground3._x = _root.foreground3._x + (5 - lava_spd3);
_root.foreground4._x = _root.foreground4._x + (5 - lava_spd3);
if (!Key.isDown(32)) {
you_can_press_space_now = true;
}
if (start_timer_for_re_enter) {
re_enter_timer--;
if (re_enter_timer <= 0) {
if (last_barrel_glitch_fix == last_barrel_you_were_in) {
in_a_barrel = false;
last_barrel_you_were_in = -1;
re_enter_timer = reset_enter_time;
start_timer_for_re_enter = false;
} else {
re_enter_timer = reset_enter_time;
start_timer_for_re_enter = false;
}
}
}
_root.sponsor_logo._x = middle_of_screen_x - 300;
_root.timer._x = middle_of_screen_x + 300;
}
Instance of Symbol 385 MovieClip "barrel1" in Frame 11
onClipEvent (load) {
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 397 MovieClip "enemy0" in Frame 11
onClipEvent (load) {
gravity = -30;
start_y = this._y;
stated_x = this._x;
time_to_start = 5;
}
onClipEvent (enterFrame) {
time_to_start--;
if (time_to_start <= 0) {
this._y = this._y + (gravity++);
this._rotation = this._rotation + 10;
if ((this._y <= _root.foreground1._y) && (this._y >= (_root.foreground1._y - (_root.foreground1._height / 2)))) {
if (go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
go = false;
}
} else {
go = true;
}
if (this._y >= start_y) {
this._y = start_y;
gravity = -30;
}
}
}
Instance of Symbol 397 MovieClip "enemy1" in Frame 11
onClipEvent (load) {
gravity = -30;
start_y = this._y;
stated_x = this._x;
time_to_start = 5;
}
onClipEvent (enterFrame) {
time_to_start--;
if (time_to_start <= 0) {
this._y = this._y + (gravity++);
this._rotation = this._rotation + 10;
if ((this._y <= _root.foreground1._y) && (this._y >= (_root.foreground1._y - (_root.foreground1._height / 2)))) {
if (go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
go = false;
}
} else {
go = true;
}
if (this._y >= start_y) {
this._y = start_y;
gravity = -30;
}
}
}
Instance of Symbol 406 MovieClip in Frame 11
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 11
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 11
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 11
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 11
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 11
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 408 MovieClip "water_drop" in Frame 11
onClipEvent (load) {
if (this._name != "water_drop") {
if (alpha_x >= 0) {
this._alpha = alpha_x;
} else {
this._alpha = random(80) + 30;
}
this._x = (stated_x + random(10)) - 5;
this._y = _root.foreground1._y - 50;
gravity = random(10) - 10;
xmovement = random(10) - 5;
random_size = random(100) + 30;
this._xscale = random_size;
this._yscale = random_size;
}
}
onClipEvent (enterFrame) {
if (this._name == "water_drop") {
if (go) {
if (!doonce) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
doonce = true;
x = 0;
while (x <= 5) {
_root.next_depth++;
this.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
}
go = false;
doonce = false;
}
} else {
this._x = this._x + xmovement;
this._y = this._y + (gravity++);
if (this._y >= _root.foreground1._y) {
this.removeMovieClip();
}
}
if (_root.frame_your_on != "in_game") {
this.removeMovieClip();
}
}
Instance of Symbol 412 MovieClip "splash_mc" in Frame 11
onClipEvent (enterFrame) {
this._x = this._x + 2;
if (_root.frame_your_on != "in_game") {
this.removeMovieClip();
}
}
Instance of Symbol 414 MovieClip "foreground1" in Frame 11
/* no clip actions */
Instance of Symbol 463 MovieClip "finish" in Frame 11
onClipEvent (load) {
this.swapDepths(9985);
}
onClipEvent (enterFrame) {
if (_root.frame_your_on != "in_game") {
this.removeMovieClip();
}
}
Instance of Symbol 472 MovieClip "dead_menu" in Frame 11
onClipEvent (load) {
this.swapDepths(9990);
}
onClipEvent (enterFrame) {
if (_root.frame_your_on != "in_game") {
this.removeMovieClip();
}
}
Instance of Symbol 476 MovieClip "timer" in Frame 11
onClipEvent (load) {
first_y = this._y;
if (_root.timer_can_go) {
this._y = 40;
}
this.swapDepths(10000);
minutes = _root.minute_var;
seconds = _root.seconds_var;
milliseconds = _root.milliseconds_var;
stop_timer = false;
if (minutes <= 9) {
var_minutes = "0" + [minutes];
} else {
var_minutes = minutes;
}
if (seconds <= 9) {
var_seconds = "0" + [seconds];
} else {
var_seconds = seconds;
}
if (milliseconds <= 9) {
var_milli = "0" + [Math.floor(milliseconds)];
} else {
var_milli = Math.floor(milliseconds);
}
this.timer = ((([var_minutes] + ":") + [var_seconds]) + ":") + [var_milli];
_root.minute_var = minutes;
_root.seconds_var = seconds;
_root.milliseconds_var = milliseconds;
}
onClipEvent (enterFrame) {
if (_root.timer_can_go) {
if (((_root.hero.started_the_game && (!_root.hero.dead)) && (!_root.hero.finish)) && (!stop_timer)) {
milliseconds = milliseconds + 2.5;
if (milliseconds >= 60) {
milliseconds = 0;
seconds++;
if (seconds >= 60) {
seconds = 0;
minutes++;
}
}
if (minutes <= 9) {
var_minutes = "0" + [minutes];
} else {
var_minutes = minutes;
}
if (seconds <= 9) {
var_seconds = "0" + [seconds];
} else {
var_seconds = seconds;
}
if (milliseconds <= 9) {
var_milli = "0" + [Math.floor(milliseconds)];
} else {
var_milli = Math.floor(milliseconds);
}
this.timer = ((([var_minutes] + ":") + [var_seconds]) + ":") + [var_milli];
}
}
_root.minute_var = minutes;
_root.seconds_var = seconds;
_root.milliseconds_var = milliseconds;
}
Instance of Symbol 485 MovieClip "winner_menu" in Frame 11
onClipEvent (load) {
this.swapDepths(9950);
}
onClipEvent (enterFrame) {
this._y = _root.finish._y - 235;
if (_root.frame_your_on != "in_game") {
this.removeMovieClip();
}
}
Instance of Symbol 487 MovieClip "sponsor_logo" in Frame 11
onClipEvent (load) {
this.swapDepths(9991);
}
onClipEvent (enterFrame) {
if (_root.frame_your_on != "in_game") {
this.removeMovieClip();
}
}
Instance of Symbol 406 MovieClip in Frame 12
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 385 MovieClip "barrel4" in Frame 12
onClipEvent (enterFrame) {
this._y = this._y + 3;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 385 MovieClip "barrel5" in Frame 12
onClipEvent (enterFrame) {
this._y = this._y + 3;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 385 MovieClip "barrel6" in Frame 12
onClipEvent (enterFrame) {
this._y = this._y + 3;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 385 MovieClip "barrel1" in Frame 12
onClipEvent (enterFrame) {
this._y = this._y + 3;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 385 MovieClip "barrel2" in Frame 12
onClipEvent (enterFrame) {
this._y = this._y + 3;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 385 MovieClip "barrel3" in Frame 12
onClipEvent (enterFrame) {
this._y = this._y + 3;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 385 MovieClip "barrel8" in Frame 12
onClipEvent (load) {
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 385 MovieClip "barrel4" in Frame 13
onClipEvent (enterFrame) {
this._y = this._y + 3;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 494 MovieClip "enemy4" in Frame 13
onClipEvent (enterFrame) {
this._y = this._y + 3;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._y = -100;
go = false;
}
}
Instance of Symbol 385 MovieClip "barrel5" in Frame 13
onClipEvent (enterFrame) {
this._y = this._y + 3;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 494 MovieClip "enemy5" in Frame 13
onClipEvent (enterFrame) {
this._y = this._y + 3;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._y = -100;
go = false;
}
}
Instance of Symbol 385 MovieClip "barrel6" in Frame 13
onClipEvent (enterFrame) {
this._y = this._y + 3;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 494 MovieClip "enemy6" in Frame 13
onClipEvent (enterFrame) {
this._y = this._y + 3;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._y = -100;
go = false;
}
}
Instance of Symbol 385 MovieClip "barrel1" in Frame 13
onClipEvent (enterFrame) {
this._y = this._y + 3;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 385 MovieClip "barrel2" in Frame 13
onClipEvent (enterFrame) {
this._y = this._y + 3;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 385 MovieClip "barrel3" in Frame 13
onClipEvent (enterFrame) {
this._y = this._y + 3;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 397 MovieClip "enemy7" in Frame 13
onClipEvent (load) {
gravity = -30;
start_y = this._y;
stated_x = this._x;
time_to_start = 0;
}
onClipEvent (enterFrame) {
time_to_start--;
if (time_to_start <= 0) {
this._y = this._y + (gravity++);
this._rotation = this._rotation + 10;
if ((this._y <= _root.foreground1._y) && (this._y >= (_root.foreground1._y - (_root.foreground1._height / 2)))) {
if (go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
go = false;
}
} else {
go = true;
}
if (this._y >= start_y) {
this._y = start_y;
gravity = -30;
}
}
}
Instance of Symbol 397 MovieClip "enemy8" in Frame 13
onClipEvent (load) {
gravity = -30;
start_y = this._y;
stated_x = this._x;
time_to_start = 5;
}
onClipEvent (enterFrame) {
time_to_start--;
if (time_to_start <= 0) {
this._y = this._y + (gravity++);
this._rotation = this._rotation + 10;
if ((this._y <= _root.foreground1._y) && (this._y >= (_root.foreground1._y - (_root.foreground1._height / 2)))) {
if (go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
go = false;
}
} else {
go = true;
}
if (this._y >= start_y) {
this._y = start_y;
gravity = -30;
}
}
}
Instance of Symbol 385 MovieClip "barrel8" in Frame 13
onClipEvent (load) {
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 506 MovieClip "enemy0" in Frame 14
onClipEvent (load) {
stated_x = this._x - 50;
enemy_mc_inside_turns_white = true;
delay_to_start = 0;
}
onClipEvent (enterFrame) {
delay_to_start--;
if (delay_to_start <= 0) {
this.play();
delay_to_start = 0;
if (this.first_splash) {
this.first_splash = false;
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
if (stated_x == (this._x - 50)) {
stated_x = this._x - 310;
} else {
stated_x = this._x - 50;
}
}
} else {
this.stop();
}
}
Instance of Symbol 506 MovieClip "enemy1" in Frame 14
onClipEvent (load) {
stated_x = this._x - 50;
enemy_mc_inside_turns_white = true;
delay_to_start = 25;
}
onClipEvent (enterFrame) {
delay_to_start--;
if (delay_to_start <= 0) {
this.play();
delay_to_start = 0;
if (this.first_splash) {
this.first_splash = false;
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
if (stated_x == (this._x - 50)) {
stated_x = this._x - 310;
} else {
stated_x = this._x - 50;
}
}
} else {
this.stop();
}
}
Instance of Symbol 494 MovieClip "enemy2" in Frame 14
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._y = -100;
go = false;
}
}
Instance of Symbol 494 MovieClip "enemy3" in Frame 14
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._y = -100;
go = false;
}
}
Instance of Symbol 494 MovieClip "enemy4" in Frame 14
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._y = -100;
go = false;
}
}
Instance of Symbol 385 MovieClip "barrel3" in Frame 14
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 506 MovieClip "enemy9" in Frame 14
onClipEvent (load) {
stated_x = this._x - 50;
enemy_mc_inside_turns_white = true;
delay_to_start = 25;
}
onClipEvent (enterFrame) {
delay_to_start--;
if (delay_to_start <= 0) {
this.play();
delay_to_start = 0;
if (this.first_splash) {
this.first_splash = false;
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
if (stated_x == (this._x - 50)) {
stated_x = this._x - 310;
} else {
stated_x = this._x - 50;
}
}
} else {
this.stop();
}
}
Instance of Symbol 506 MovieClip "enemy8" in Frame 14
onClipEvent (load) {
stated_x = this._x - 50;
enemy_mc_inside_turns_white = true;
delay_to_start = 0;
}
onClipEvent (enterFrame) {
delay_to_start--;
if (delay_to_start <= 0) {
this.play();
delay_to_start = 0;
if (this.first_splash) {
this.first_splash = false;
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
if (stated_x == (this._x - 50)) {
stated_x = this._x - 310;
} else {
stated_x = this._x - 50;
}
}
} else {
this.stop();
}
}
Instance of Symbol 406 MovieClip in Frame 14
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 14
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 14
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 14
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 494 MovieClip "enemy5" in Frame 14
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._y = -100;
go = false;
}
}
Instance of Symbol 494 MovieClip "enemy6" in Frame 14
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._y = -100;
go = false;
}
}
Instance of Symbol 494 MovieClip "enemy7" in Frame 14
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._y = -100;
go = false;
}
}
Instance of Symbol 397 MovieClip "enemy0" in Frame 15
onClipEvent (load) {
gravity = -30;
start_y = this._y;
stated_x = this._x;
time_to_start = 0;
}
onClipEvent (enterFrame) {
time_to_start--;
if (time_to_start <= 0) {
this._y = this._y + (gravity++);
this._rotation = this._rotation + 10;
if ((this._y <= _root.foreground1._y) && (this._y >= (_root.foreground1._y - (_root.foreground1._height / 2)))) {
if (go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
go = false;
}
} else {
go = true;
}
if (this._y >= start_y) {
this._y = start_y;
gravity = -30;
}
}
}
Instance of Symbol 397 MovieClip "enemy7" in Frame 15
onClipEvent (load) {
gravity = -30;
start_y = this._y;
stated_x = this._x;
time_to_start = 5;
}
onClipEvent (enterFrame) {
time_to_start--;
if (time_to_start <= 0) {
this._y = this._y + (gravity++);
this._rotation = this._rotation + 10;
if ((this._y <= _root.foreground1._y) && (this._y >= (_root.foreground1._y - (_root.foreground1._height / 2)))) {
if (go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
go = false;
}
} else {
go = true;
}
if (this._y >= start_y) {
this._y = start_y;
gravity = -30;
}
}
}
Instance of Symbol 397 MovieClip "enemy8" in Frame 15
onClipEvent (load) {
gravity = -30;
start_y = this._y;
stated_x = this._x;
time_to_start = 10;
}
onClipEvent (enterFrame) {
time_to_start--;
if (time_to_start <= 0) {
this._y = this._y + (gravity++);
this._rotation = this._rotation + 10;
if ((this._y <= _root.foreground1._y) && (this._y >= (_root.foreground1._y - (_root.foreground1._height / 2)))) {
if (go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
go = false;
}
} else {
go = true;
}
if (this._y >= start_y) {
this._y = start_y;
gravity = -30;
}
}
}
Instance of Symbol 385 MovieClip "barrel4" in Frame 15
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 494 MovieClip "enemy4" in Frame 15
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 385 MovieClip "barrel5" in Frame 15
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 494 MovieClip "enemy5" in Frame 15
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 385 MovieClip "barrel6" in Frame 15
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 494 MovieClip "enemy6" in Frame 15
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 385 MovieClip "barrel1" in Frame 15
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 494 MovieClip "enemy1" in Frame 15
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 385 MovieClip "barrel2" in Frame 15
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 494 MovieClip "enemy2" in Frame 15
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 385 MovieClip "barrel3" in Frame 15
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 494 MovieClip "enemy3" in Frame 15
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
Instance of Symbol 506 MovieClip "enemy10" in Frame 15
onClipEvent (load) {
stated_x = this._x - 50;
enemy_mc_inside_turns_white = true;
delay_to_start = 0;
}
onClipEvent (enterFrame) {
delay_to_start--;
if (delay_to_start <= 0) {
this.play();
delay_to_start = 0;
if (this.first_splash) {
this.first_splash = false;
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
if (stated_x == (this._x - 50)) {
stated_x = this._x - 310;
} else {
stated_x = this._x - 50;
}
}
} else {
this.stop();
}
}
Instance of Symbol 406 MovieClip in Frame 15
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 15
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 385 MovieClip "barrel1" in Frame 16
onClipEvent (load) {
start_x = this._x;
start_y = this._y;
b = start_x;
}
onClipEvent (enterFrame) {
if (this._y <= 197) {
xmovement = 0;
ymovement = 5;
} else if (this._x > ((_root.death_bar_2._x - (_root.death_bar_2._width / 2)) + 6)) {
xmovement = -5;
ymovement = 0;
} else {
xmovement = 0;
ymovement = 5;
}
this._x = this._x + xmovement;
this._y = this._y + ymovement;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -50;
this._x = (_root.death_bar_2._x + (_root.death_bar_2._width / 2)) - 3;
go = false;
}
}
Instance of Symbol 385 MovieClip "barrel2" in Frame 16
onClipEvent (load) {
start_x = this._x;
start_y = this._y;
b = start_x;
}
onClipEvent (enterFrame) {
if (this._y <= 197) {
xmovement = 0;
ymovement = 5;
} else if (this._x > ((_root.death_bar_2._x - (_root.death_bar_2._width / 2)) + 6)) {
xmovement = -5;
ymovement = 0;
} else {
xmovement = 0;
ymovement = 5;
}
this._x = this._x + xmovement;
this._y = this._y + ymovement;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -50;
this._x = (_root.death_bar_2._x + (_root.death_bar_2._width / 2)) - 3;
go = false;
}
}
Instance of Symbol 385 MovieClip "barrel3" in Frame 16
onClipEvent (load) {
start_x = this._x;
start_y = this._y;
b = start_x;
}
onClipEvent (enterFrame) {
if (this._y <= 197) {
xmovement = 0;
ymovement = 5;
} else if (this._x > ((_root.death_bar_2._x - (_root.death_bar_2._width / 2)) + 6)) {
xmovement = -5;
ymovement = 0;
} else {
xmovement = 0;
ymovement = 5;
}
this._x = this._x + xmovement;
this._y = this._y + ymovement;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -50;
this._x = (_root.death_bar_2._x + (_root.death_bar_2._width / 2)) - 3;
go = false;
}
}
Instance of Symbol 385 MovieClip "barrel4" in Frame 16
onClipEvent (load) {
start_x = this._x;
start_y = this._y;
b = start_x;
}
onClipEvent (enterFrame) {
if (this._y <= 197) {
xmovement = 0;
ymovement = 5;
} else if (this._x > ((_root.death_bar_2._x - (_root.death_bar_2._width / 2)) + 6)) {
xmovement = -5;
ymovement = 0;
} else {
xmovement = 0;
ymovement = 5;
}
this._x = this._x + xmovement;
this._y = this._y + ymovement;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -50;
this._x = (_root.death_bar_2._x + (_root.death_bar_2._width / 2)) - 3;
go = false;
}
}
Instance of Symbol 506 MovieClip "enemy0" in Frame 16
onClipEvent (load) {
stated_x = this._x - 50;
enemy_mc_inside_turns_white = true;
delay_to_start = 25;
}
onClipEvent (enterFrame) {
delay_to_start--;
if (delay_to_start <= 0) {
this.play();
delay_to_start = 0;
if (this.first_splash) {
this.first_splash = false;
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
if (stated_x == (this._x - 50)) {
stated_x = this._x - 310;
} else {
stated_x = this._x - 50;
}
}
} else {
this.stop();
}
}
Instance of Symbol 506 MovieClip "enemy5" in Frame 16
onClipEvent (load) {
stated_x = this._x - 50;
enemy_mc_inside_turns_white = true;
delay_to_start = 0;
}
onClipEvent (enterFrame) {
delay_to_start--;
if (delay_to_start <= 0) {
this.play();
delay_to_start = 0;
if (this.first_splash) {
this.first_splash = false;
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
if (stated_x == (this._x - 50)) {
stated_x = this._x - 310;
} else {
stated_x = this._x - 50;
}
}
} else {
this.stop();
}
}
Instance of Symbol 506 MovieClip "enemy6" in Frame 16
onClipEvent (load) {
stated_x = this._x - 50;
enemy_mc_inside_turns_white = true;
delay_to_start = 0;
}
onClipEvent (enterFrame) {
delay_to_start--;
if (delay_to_start <= 0) {
this.play();
delay_to_start = 0;
if (this.first_splash) {
this.first_splash = false;
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
if (stated_x == (this._x - 50)) {
stated_x = this._x - 310;
} else {
stated_x = this._x - 50;
}
}
} else {
this.stop();
}
}
Instance of Symbol 506 MovieClip "enemy7" in Frame 16
onClipEvent (load) {
stated_x = this._x - 50;
enemy_mc_inside_turns_white = true;
delay_to_start = 0;
}
onClipEvent (enterFrame) {
delay_to_start--;
if (delay_to_start <= 0) {
this.play();
delay_to_start = 0;
if (this.first_splash) {
this.first_splash = false;
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
if (stated_x == (this._x - 50)) {
stated_x = this._x - 310;
} else {
stated_x = this._x - 50;
}
}
} else {
this.stop();
}
}
Instance of Symbol 506 MovieClip "enemy8" in Frame 16
onClipEvent (load) {
stated_x = this._x - 50;
enemy_mc_inside_turns_white = true;
delay_to_start = 25;
}
onClipEvent (enterFrame) {
delay_to_start--;
if (delay_to_start <= 0) {
this.play();
delay_to_start = 0;
if (this.first_splash) {
this.first_splash = false;
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
if (stated_x == (this._x - 50)) {
stated_x = this._x - 310;
} else {
stated_x = this._x - 50;
}
}
} else {
this.stop();
}
}
Instance of Symbol 406 MovieClip in Frame 16
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 16
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 16
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 16
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 16
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 494 MovieClip "enemy1" in Frame 17
onClipEvent (enterFrame) {
this._y = this._y + 3;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
onClipEvent (load) {
this.enemy.gotoAndStop(2);
}
Instance of Symbol 494 MovieClip "enemy2" in Frame 17
onClipEvent (enterFrame) {
this._y = this._y + 3;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = -100;
go = false;
}
}
onClipEvent (load) {
this.enemy.gotoAndStop(2);
}
Instance of Symbol 494 MovieClip "enemy9" in Frame 17
onClipEvent (load) {
this.enemy.gotoAndStop(2);
}
Instance of Symbol 494 MovieClip "enemy8" in Frame 17
onClipEvent (load) {
this.enemy.gotoAndStop(2);
}
Instance of Symbol 397 MovieClip "enemy3" in Frame 17
onClipEvent (load) {
gravity = -30;
start_y = this._y;
stated_x = this._x;
time_to_start = 0;
}
onClipEvent (enterFrame) {
time_to_start--;
if (time_to_start <= 0) {
this._y = this._y + (gravity++);
this._rotation = this._rotation + 10;
if ((this._y <= _root.foreground1._y) && (this._y >= (_root.foreground1._y - (_root.foreground1._height / 2)))) {
if (go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
go = false;
}
} else {
go = true;
}
if (this._y >= start_y) {
this._y = start_y;
gravity = -30;
}
}
}
Instance of Symbol 397 MovieClip "enemy7" in Frame 17
onClipEvent (load) {
gravity = -30;
start_y = this._y;
stated_x = this._x;
time_to_start = 30;
}
onClipEvent (enterFrame) {
time_to_start--;
if (time_to_start <= 0) {
this._y = this._y + (gravity++);
this._rotation = this._rotation + 10;
if ((this._y <= _root.foreground1._y) && (this._y >= (_root.foreground1._y - (_root.foreground1._height / 2)))) {
if (go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
go = false;
}
} else {
go = true;
}
if (this._y >= start_y) {
this._y = start_y;
gravity = -30;
}
}
}
Instance of Symbol 397 MovieClip "enemy10" in Frame 17
onClipEvent (load) {
gravity = -30;
start_y = this._y;
stated_x = this._x;
time_to_start = 0;
}
onClipEvent (enterFrame) {
time_to_start--;
if (time_to_start <= 0) {
this._y = this._y + (gravity++);
this._rotation = this._rotation + 10;
if ((this._y <= _root.foreground1._y) && (this._y >= (_root.foreground1._y - (_root.foreground1._height / 2)))) {
if (go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
go = false;
}
} else {
go = true;
}
if (this._y >= start_y) {
this._y = start_y;
gravity = -30;
}
}
}
Instance of Symbol 553 MovieClip "enemy0" in Frame 18
onClipEvent (load) {
first_y = this.spider._y;
speed = 10;
bounce_spd = speed / 5;
spot_to_stop = 250;
speed_constant = speed;
this.spider._y = this.spider._y + 200;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 385 MovieClip "barrel2" in Frame 18
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 553 MovieClip "enemy1" in Frame 18
onClipEvent (load) {
this.spider._y = this.spider._y + 100;
first_y = this.spider._y;
speed = 0;
bounce_spd = speed / 5;
spot_to_stop = 0;
speed_constant = speed;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 385 MovieClip "barrel3" in Frame 18
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 553 MovieClip "enemy3" in Frame 18
onClipEvent (load) {
first_y = this.spider._y;
speed = 0;
bounce_spd = speed / 5;
spot_to_stop = 250;
speed_constant = speed;
this.spider._y = this.spider._y + 230;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 553 MovieClip "enemy4" in Frame 18
onClipEvent (load) {
this.spider._y = this.spider._y + 220;
first_y = this.spider._y;
speed = 5;
bounce_spd = speed / 5;
spot_to_stop = 100;
speed_constant = speed;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 553 MovieClip "enemy2" in Frame 18
onClipEvent (load) {
this.spider._y = this.spider._y + 220;
first_y = this.spider._y;
speed = 5;
bounce_spd = speed / 5;
spot_to_stop = 100;
speed_constant = speed;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 406 MovieClip in Frame 18
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 18
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 18
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 18
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 18
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 18
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 18
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 18
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 556 MovieClip "barrel1" in Frame 19
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 556 MovieClip "barrel3" in Frame 19
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 556 MovieClip "barrel4" in Frame 19
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 553 MovieClip "enemy1" in Frame 19
onClipEvent (load) {
first_y = this.spider._y;
speed = 10;
bounce_spd = speed / 5;
spot_to_stop = 250;
speed_constant = speed;
this.spider._y = this.spider._y + 0;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 553 MovieClip "enemy2" in Frame 19
onClipEvent (load) {
first_y = this.spider._y;
speed = 20;
bounce_spd = speed / 5;
spot_to_stop = 350;
speed_constant = speed;
this.spider._y = this.spider._y + 0;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 556 MovieClip "barrel6" in Frame 19
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 556 MovieClip "barrel7" in Frame 19
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 556 MovieClip "barrel8" in Frame 19
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 553 MovieClip "enemy3" in Frame 19
onClipEvent (load) {
this.spider._y = this.spider._y + 260;
first_y = this.spider._y;
speed = 5;
bounce_spd = speed / 5;
spot_to_stop = 100;
speed_constant = speed;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 556 MovieClip "barrel9" in Frame 19
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 578 MovieClip "enemy0" in Frame 20
onClipEvent (load) {
timer_till_fire = 30;
timer_till_fire_reset = timer_till_fire;
enemy_number = 0;
}
onClipEvent (enterFrame) {
if (this.snake.mouth_closed) {
timer_till_fire--;
}
if (timer_till_fire <= 0) {
this.snake.gotoAndStop(2);
_root["enemy" + (enemy_number + 1)].go = true;
timer_till_fire = timer_till_fire_reset;
}
}
Instance of Symbol 582 MovieClip "enemy1" in Frame 20
onClipEvent (load) {
gravity = -15;
x_movement = 10;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 385 MovieClip "barrel2" in Frame 20
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 553 MovieClip "enemy6" in Frame 20
onClipEvent (load) {
first_y = this.spider._y;
speed = 0;
bounce_spd = speed / 5;
spot_to_stop = 150;
speed_constant = speed;
this.spider._y = this.spider._y + 170;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 578 MovieClip "enemy2" in Frame 20
onClipEvent (load) {
timer_till_fire = 30;
timer_till_fire_reset = timer_till_fire;
enemy_number = 2;
}
onClipEvent (enterFrame) {
if (this.snake.mouth_closed) {
timer_till_fire--;
}
if (timer_till_fire <= 0) {
this.snake.gotoAndStop(2);
_root["enemy" + (enemy_number + 1)].go = true;
timer_till_fire = timer_till_fire_reset;
}
}
Instance of Symbol 582 MovieClip "enemy3" in Frame 20
onClipEvent (load) {
gravity = -15;
x_movement = 10;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 556 MovieClip "barrel3" in Frame 20
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 385 MovieClip "barrel4" in Frame 20
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 578 MovieClip "enemy4" in Frame 20
onClipEvent (load) {
timer_till_fire = 30;
timer_till_fire_reset = timer_till_fire;
enemy_number = 4;
}
onClipEvent (enterFrame) {
if (this.snake.mouth_closed) {
timer_till_fire--;
}
if (timer_till_fire <= 0) {
this.snake.gotoAndStop(2);
_root["enemy" + (enemy_number + 1)].go = true;
timer_till_fire = timer_till_fire_reset;
}
}
Instance of Symbol 582 MovieClip "enemy5" in Frame 20
onClipEvent (load) {
gravity = -3;
x_movement = -7;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 385 MovieClip "barrel5" in Frame 20
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 385 MovieClip "barrel6" in Frame 20
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 578 MovieClip "enemy0" in Frame 21
onClipEvent (load) {
timer_till_fire = 0;
fires_three_timer = 30;
fires_three_timer_reset = fires_three_timer;
timer_till_fire_reset = timer_till_fire;
enemy_number = 0;
number_of_shots = 0;
}
onClipEvent (enterFrame) {
if (this.snake.mouth_closed) {
timer_till_fire--;
}
if (timer_till_fire <= 0) {
fires_three_timer--;
if (fires_three_timer <= 0) {
this.snake.gotoAndStop(1);
number_of_shots++;
_root["enemy" + (enemy_number + number_of_shots)].go = false;
_root["enemy" + (enemy_number + number_of_shots)]._alpha = 0;
_root["enemy" + (enemy_number + number_of_shots)].x_movement = _root["enemy" + (enemy_number + number_of_shots)].x_movement_reset;
_root["enemy" + (enemy_number + number_of_shots)].gravity = _root["enemy" + (enemy_number + number_of_shots)].gravity_reset;
_root["enemy" + (enemy_number + number_of_shots)]._x = _root["enemy" + (enemy_number + number_of_shots)].first_x;
_root["enemy" + (enemy_number + number_of_shots)]._y = _root["enemy" + (enemy_number + number_of_shots)].first_y;
this.snake.gotoAndStop(2);
_root["enemy" + (enemy_number + number_of_shots)].go = true;
fires_three_timer = fires_three_timer_reset;
}
if (number_of_shots >= 3) {
number_of_shots = 0;
fires_three_timer = fires_three_timer_reset;
timer_till_fire = timer_till_fire_reset;
}
}
}
Instance of Symbol 582 MovieClip "enemy2" in Frame 21
onClipEvent (load) {
gravity = -15;
x_movement = 10;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 582 MovieClip "enemy3" in Frame 21
onClipEvent (load) {
gravity = -15;
x_movement = 10;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 553 MovieClip "enemy4" in Frame 21
onClipEvent (load) {
first_y = this.spider._y;
speed = 10;
bounce_spd = speed / 5;
spot_to_stop = 250;
speed_constant = speed;
this.spider._y = this.spider._y + 200;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 553 MovieClip "enemy5" in Frame 21
onClipEvent (load) {
first_y = this.spider._y;
speed = 10;
bounce_spd = speed / 5;
spot_to_stop = 250;
speed_constant = speed;
this.spider._y = this.spider._y + 100;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 385 MovieClip "barrel1" in Frame 21
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 556 MovieClip "barrel2" in Frame 21
onClipEvent (load) {
shoot_right_away = true;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
}
Instance of Symbol 556 MovieClip "barrel4" in Frame 21
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 385 MovieClip "barrel5" in Frame 21
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 578 MovieClip "enemy10" in Frame 21
onClipEvent (load) {
timer_till_fire = 30;
timer_till_fire_reset = timer_till_fire;
enemy_number = 10;
}
onClipEvent (enterFrame) {
if (this.snake.mouth_closed) {
timer_till_fire--;
}
if (timer_till_fire <= 0) {
this.snake.gotoAndStop(2);
_root["enemy" + (enemy_number + 1)].go = true;
timer_till_fire = timer_till_fire_reset;
}
}
Instance of Symbol 582 MovieClip "enemy11" in Frame 21
onClipEvent (load) {
gravity = -15;
x_movement = 9;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 556 MovieClip "barrel7" in Frame 21
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 556 MovieClip "barrel8" in Frame 21
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 553 MovieClip "enemy7" in Frame 21
onClipEvent (load) {
first_y = this.spider._y;
speed = 0;
bounce_spd = speed / 5;
spot_to_stop = 250;
speed_constant = speed;
this.spider._y = this.spider._y + 150;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 385 MovieClip "barrel9" in Frame 21
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 553 MovieClip "enemy6" in Frame 21
onClipEvent (load) {
first_y = this.spider._y;
speed = 0;
bounce_spd = speed / 5;
spot_to_stop = 250;
speed_constant = speed;
this.spider._y = this.spider._y + 200;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 406 MovieClip in Frame 21
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 556 MovieClip "barrel6" in Frame 21
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 406 MovieClip in Frame 21
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 21
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 21
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 21
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 556 MovieClip "barrel1" in Frame 22
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 556 MovieClip "barrel2" in Frame 22
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 385 MovieClip "barrel4" in Frame 22
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 556 MovieClip "barrel3" in Frame 22
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 406 MovieClip in Frame 22
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 22
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 22
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 22
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 578 MovieClip "enemy4" in Frame 22
onClipEvent (load) {
timer_till_fire = 0;
timer_till_fire_reset = 30;
enemy_number = 4;
}
onClipEvent (enterFrame) {
if (this.snake.mouth_closed) {
timer_till_fire--;
}
if (timer_till_fire <= 0) {
this.snake.gotoAndStop(2);
_root["enemy" + (enemy_number + 1)].go = true;
timer_till_fire = timer_till_fire_reset;
}
}
Instance of Symbol 582 MovieClip "enemy5" in Frame 22
onClipEvent (load) {
gravity = -5;
x_movement = 5;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 578 MovieClip "enemy0" in Frame 22
onClipEvent (load) {
timer_till_fire = 0;
fires_three_timer = 15;
fires_three_timer_reset = fires_three_timer;
timer_till_fire_reset = timer_till_fire;
enemy_number = 0;
number_of_shots = 0;
}
onClipEvent (enterFrame) {
if (this.snake.mouth_closed) {
timer_till_fire--;
}
if (timer_till_fire <= 0) {
fires_three_timer--;
if (fires_three_timer <= 0) {
this.snake.gotoAndStop(1);
number_of_shots++;
_root["enemy" + (enemy_number + number_of_shots)].go = false;
_root["enemy" + (enemy_number + number_of_shots)]._alpha = 0;
_root["enemy" + (enemy_number + number_of_shots)].x_movement = _root["enemy" + (enemy_number + number_of_shots)].x_movement_reset;
_root["enemy" + (enemy_number + number_of_shots)].gravity = _root["enemy" + (enemy_number + number_of_shots)].gravity_reset;
_root["enemy" + (enemy_number + number_of_shots)]._x = _root["enemy" + (enemy_number + number_of_shots)].first_x;
_root["enemy" + (enemy_number + number_of_shots)]._y = _root["enemy" + (enemy_number + number_of_shots)].first_y;
this.snake.gotoAndStop(2);
_root["enemy" + (enemy_number + number_of_shots)].go = true;
fires_three_timer = fires_three_timer_reset;
}
if (number_of_shots >= 3) {
number_of_shots = 0;
fires_three_timer = fires_three_timer_reset;
timer_till_fire = timer_till_fire_reset;
}
}
this.snake.snake_mc.gotoAndStop(2);
this.snake.snake.snake.gotoAndStop(2);
this.snake.eyes_mc.gotoAndStop(2);
}
Instance of Symbol 582 MovieClip "enemy2" in Frame 22
onClipEvent (load) {
gravity = -5;
x_movement = -5;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 582 MovieClip "enemy3" in Frame 22
onClipEvent (load) {
gravity = -5;
x_movement = -5;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 582 MovieClip "enemy1" in Frame 22
onClipEvent (load) {
gravity = -5;
x_movement = -5;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 553 MovieClip "enemy6" in Frame 22
onClipEvent (load) {
this.spider._y = this.spider._y + 0;
first_y = this.spider._y;
speed = 15;
bounce_spd = speed / 5;
spot_to_stop = 350;
speed_constant = speed;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 553 MovieClip "enemy7" in Frame 22
onClipEvent (load) {
this.spider._y = this.spider._y + 0;
first_y = this.spider._y;
speed = 5;
bounce_spd = speed / 5;
spot_to_stop = 350;
speed_constant = speed;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 553 MovieClip "enemy8" in Frame 22
onClipEvent (load) {
this.spider._y = this.spider._y + 0;
first_y = this.spider._y;
speed = 5;
bounce_spd = speed / 5;
spot_to_stop = 350;
speed_constant = speed;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 556 MovieClip "barrel7" in Frame 22
onClipEvent (load) {
shoot_right_away = true;
}
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 556 MovieClip "barrel5" in Frame 22
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 556 MovieClip "barrel9" in Frame 22
onClipEvent (load) {
shoot_right_away = true;
}
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 556 MovieClip "barrel1" in Frame 23
onClipEvent (load) {
shoot_right_away = true;
}
onClipEvent (load) {
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 556 MovieClip "barrel2" in Frame 23
onClipEvent (load) {
shoot_right_away = true;
}
onClipEvent (load) {
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 553 MovieClip "enemy5" in Frame 23
onClipEvent (load) {
first_y = this.spider._y;
speed = 0;
bounce_spd = speed / 5;
spot_to_stop = 400;
speed_constant = speed;
this.spider._y = this.spider._y + 375;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 578 MovieClip "enemy0" in Frame 23
onClipEvent (load) {
timer_till_fire = 0;
fires_three_timer = 20;
fires_three_timer_reset = fires_three_timer;
timer_till_fire_reset = timer_till_fire;
enemy_number = 0;
number_of_shots = 0;
}
onClipEvent (enterFrame) {
if (this.snake.mouth_closed) {
timer_till_fire--;
}
if (timer_till_fire <= 0) {
fires_three_timer--;
if (fires_three_timer <= 0) {
this.snake.gotoAndStop(1);
number_of_shots++;
_root["enemy" + (enemy_number + number_of_shots)].go = false;
_root["enemy" + (enemy_number + number_of_shots)]._alpha = 0;
_root["enemy" + (enemy_number + number_of_shots)].x_movement = _root["enemy" + (enemy_number + number_of_shots)].x_movement_reset;
_root["enemy" + (enemy_number + number_of_shots)].gravity = _root["enemy" + (enemy_number + number_of_shots)].gravity_reset;
_root["enemy" + (enemy_number + number_of_shots)]._x = _root["enemy" + (enemy_number + number_of_shots)].first_x;
_root["enemy" + (enemy_number + number_of_shots)]._y = _root["enemy" + (enemy_number + number_of_shots)].first_y;
this.snake.gotoAndStop(2);
_root["enemy" + (enemy_number + number_of_shots)].go = true;
fires_three_timer = fires_three_timer_reset;
}
if (number_of_shots >= 3) {
number_of_shots = 0;
fires_three_timer = fires_three_timer_reset;
timer_till_fire = timer_till_fire_reset;
}
}
this.snake.snake_mc.gotoAndStop(2);
this.snake.snake.snake.gotoAndStop(2);
this.snake.eyes_mc.gotoAndStop(2);
}
Instance of Symbol 582 MovieClip "enemy2" in Frame 23
onClipEvent (load) {
gravity = -28;
x_movement = 7;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 582 MovieClip "enemy3" in Frame 23
onClipEvent (load) {
gravity = -28;
x_movement = 7;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 582 MovieClip "enemy1" in Frame 23
onClipEvent (load) {
gravity = -28;
x_movement = 7;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 385 MovieClip "barrel10" in Frame 23
onClipEvent (load) {
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 556 MovieClip "barrel7" in Frame 23
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 556 MovieClip "barrel8" in Frame 23
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 556 MovieClip "barrel9" in Frame 23
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 385 MovieClip "barrel11" in Frame 23
onClipEvent (load) {
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 556 MovieClip "barrel12" in Frame 23
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 406 MovieClip in Frame 23
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 23
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 23
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 23
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 23
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 556 MovieClip "barrel3" in Frame 23
onClipEvent (load) {
shoot_right_away = true;
}
onClipEvent (load) {
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 578 MovieClip "enemy6" in Frame 24
onClipEvent (load) {
timer_till_fire = 0;
timer_till_fire_reset = 25;
enemy_number = 6;
}
onClipEvent (enterFrame) {
if (this.snake.mouth_closed) {
timer_till_fire--;
}
if (timer_till_fire <= 0) {
this.snake.gotoAndStop(2);
_root["enemy" + (enemy_number + 1)].go = true;
timer_till_fire = timer_till_fire_reset;
}
}
Instance of Symbol 582 MovieClip "enemy7" in Frame 24
onClipEvent (load) {
gravity = -21;
x_movement = 13;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 556 MovieClip "barrel2" in Frame 24
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 406 MovieClip in Frame 24
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 24
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 24
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 24
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 24
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 24
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 24
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 24
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 24
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 578 MovieClip "enemy11" in Frame 24
onClipEvent (load) {
timer_till_fire = 0;
timer_till_fire_reset = 25;
enemy_number = 11;
}
onClipEvent (enterFrame) {
if (this.snake.mouth_closed) {
timer_till_fire--;
}
if (timer_till_fire <= 0) {
this.snake.gotoAndStop(2);
_root["enemy" + (enemy_number + 1)].go = true;
timer_till_fire = timer_till_fire_reset;
}
}
Instance of Symbol 582 MovieClip "enemy12" in Frame 24
onClipEvent (load) {
gravity = -18;
x_movement = -15;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 553 MovieClip "enemy9" in Frame 24
onClipEvent (load) {
this.spider._y = this.spider._y + 100;
first_y = this.spider._y;
speed = 0;
bounce_spd = speed / 5;
spot_to_stop = 150;
speed_constant = speed;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 578 MovieClip "enemy0" in Frame 24
onClipEvent (load) {
timer_till_fire = 0;
fires_three_timer = 20;
fires_three_timer_reset = fires_three_timer;
timer_till_fire_reset = timer_till_fire;
enemy_number = 0;
number_of_shots = 0;
}
onClipEvent (enterFrame) {
if (this.snake.mouth_closed) {
timer_till_fire--;
}
if (timer_till_fire <= 0) {
fires_three_timer--;
if (fires_three_timer <= 0) {
this.snake.gotoAndStop(1);
number_of_shots++;
_root["enemy" + (enemy_number + number_of_shots)].go = false;
_root["enemy" + (enemy_number + number_of_shots)]._alpha = 0;
_root["enemy" + (enemy_number + number_of_shots)].x_movement = _root["enemy" + (enemy_number + number_of_shots)].x_movement_reset;
_root["enemy" + (enemy_number + number_of_shots)].gravity = _root["enemy" + (enemy_number + number_of_shots)].gravity_reset;
_root["enemy" + (enemy_number + number_of_shots)]._x = _root["enemy" + (enemy_number + number_of_shots)].first_x;
_root["enemy" + (enemy_number + number_of_shots)]._y = _root["enemy" + (enemy_number + number_of_shots)].first_y;
this.snake.gotoAndStop(2);
_root["enemy" + (enemy_number + number_of_shots)].go = true;
fires_three_timer = fires_three_timer_reset;
}
if (number_of_shots >= 3) {
number_of_shots = 0;
fires_three_timer = fires_three_timer_reset;
timer_till_fire = timer_till_fire_reset;
}
}
this.snake.snake_mc.gotoAndStop(2);
this.snake.snake.snake.gotoAndStop(2);
this.snake.eyes_mc.gotoAndStop(2);
}
Instance of Symbol 582 MovieClip "enemy2" in Frame 24
onClipEvent (load) {
gravity = -17;
x_movement = 11;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 582 MovieClip "enemy3" in Frame 24
onClipEvent (load) {
gravity = -17;
x_movement = 11;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 582 MovieClip "enemy1" in Frame 24
onClipEvent (load) {
gravity = -17;
x_movement = 11;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 553 MovieClip "enemy13" in Frame 24
onClipEvent (load) {
this.spider._y = this.spider._y + 100;
first_y = this.spider._y;
speed = 0;
bounce_spd = speed / 5;
spot_to_stop = 100;
speed_constant = speed;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 553 MovieClip "enemy14" in Frame 24
onClipEvent (load) {
this.spider._y = this.spider._y + 100;
first_y = this.spider._y;
speed = 0;
bounce_spd = speed / 5;
spot_to_stop = 100;
speed_constant = speed;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 553 MovieClip "enemy10" in Frame 24
onClipEvent (load) {
this.spider._y = this.spider._y + 100;
first_y = this.spider._y;
speed = 0;
bounce_spd = speed / 5;
spot_to_stop = 150;
speed_constant = speed;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 553 MovieClip "enemy8" in Frame 24
onClipEvent (load) {
this.spider._y = this.spider._y + 100;
first_y = this.spider._y;
speed = 0;
bounce_spd = speed / 5;
spot_to_stop = 150;
speed_constant = speed;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 406 MovieClip in Frame 24
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 24
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 24
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 24
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 24
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 412 MovieClip "splash_mc" in Frame 25
onClipEvent (enterFrame) {
this._x = this._x + 1;
if (_root.frame_your_on != "in_game") {
this.removeMovieClip();
}
}
Instance of Symbol 408 MovieClip "water_drop" in Frame 25
onClipEvent (load) {
if (this._name != "water_drop") {
if (alpha_x >= 0) {
this._alpha = alpha_x;
} else {
this._alpha = random(30) + 70;
}
this._alpha = random(30) + 70;
this._x = (stated_x + random(10)) - 5;
this._y = _root.foreground1._y - 50;
gravity = random(10) - 10;
xmovement = random(10) - 5;
random_size = random(40) + 30;
this._xscale = random_size;
this._yscale = random_size;
}
}
onClipEvent (enterFrame) {
if (this._name == "water_drop") {
if (go) {
if (!doonce) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
doonce = true;
x = 0;
while (x <= 5) {
_root.next_depth++;
this.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
}
go = false;
doonce = false;
}
} else {
random_size = random_size - 2;
this._x = this._x + xmovement;
this._y = this._y + ((gravity = gravity + 1));
if ((this._y >= (_root.foreground1._y + 50)) || (random_size <= 0)) {
this.removeMovieClip();
}
}
if (_root.frame_your_on != "in_game") {
this.removeMovieClip();
}
this._xscale = random_size;
this._yscale = random_size;
}
Instance of Symbol 601 MovieClip "ash_mc" in Frame 25
onClipEvent (load) {
function reset_function() {
this._y = random(500);
spd = random(3) + 1;
random_size = random(50) + 50;
this._alpha = random(40) + 30;
}
if (this._name == "ash_mc") {
x = 0;
while (x <= 10) {
_root.next_depth++;
this.duplicateMovieClip(["ash_mc" + _root.next_depth], _root.next_depth);
_root["ash_mc" + _root.next_depth]._x = random(1000);
x++;
}
}
reset_function();
this.gotoAndPlay(random(40) + 1);
}
onClipEvent (enterFrame) {
if (this._y <= -5) {
this._x = (_root.hero._x + random(900)) - 400;
reset_function();
this._y = 505;
}
this._y = this._y - spd;
if (this._x <= (_root.hero._x - 505)) {
this._x = _root.hero._x + 504;
reset_function();
} else if (this._x >= (_root.hero._x + 505)) {
this._x = _root.hero._x - 504;
reset_function();
}
this._xscale = random_size;
this._yscale = random_size;
if (_root.frame_your_on != "in_game") {
this.removeMovieClip();
}
}
Instance of Symbol 617 MovieClip "enemy0" in Frame 25
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 13;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 618 MovieClip "enemy4" in Frame 25
onClipEvent (load) {
this.gotoAndPlay(1);
enemy_mc_inside_turns_white = true;
}
Instance of Symbol 385 MovieClip "barrel1" in Frame 25
onClipEvent (load) {
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 556 MovieClip "barrel5" in Frame 25
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 556 MovieClip "barrel3" in Frame 25
onClipEvent (load) {
shoot_right_away = true;
}
onClipEvent (load) {
moveable = true;
normal_spd = 4;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 617 MovieClip "enemy3" in Frame 25
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 4;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy2" in Frame 25
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 13;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 623 MovieClip "foreground1" in Frame 25
onClipEvent (load) {
this.swapDepths(9800);
}
Instance of Symbol 623 MovieClip "foreground2" in Frame 25
onClipEvent (load) {
this.swapDepths(9801);
}
Instance of Symbol 629 MovieClip "enemy0" in Frame 26
onClipEvent (load) {
this._rotation = random(360) + 1;
speed = -45;
spd_reset = speed;
}
onClipEvent (enterFrame) {
this._y = this._y + ((speed = speed + 2));
if (this._y >= (_root.foreground1._y - 80)) {
if ((speed >= 0) && (!do_once)) {
do_once = true;
go = false;
}
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x - 10;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 40;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
_root["splash_mc" + _root.next_depth]._xscale = 180;
x = 0;
while (x <= 4) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
} else {
do_once = false;
}
if (this._y >= 600) {
speed = spd_reset;
go = false;
this._rotation = random(360) + 1;
this._y = 570.35;
}
this._rotation = this._rotation + 5;
}
Instance of Symbol 385 MovieClip "barrel1" in Frame 26
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 385 MovieClip "barrel2" in Frame 26
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 556 MovieClip "barrel3" in Frame 26
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 385 MovieClip "barrel4" in Frame 26
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 618 MovieClip "enemy2" in Frame 26
onClipEvent (load) {
this.gotoAndPlay(1);
enemy_mc_inside_turns_white = true;
}
Instance of Symbol 556 MovieClip "barrel6" in Frame 26
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 556 MovieClip "barrel7" in Frame 26
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 556 MovieClip "barrel8" in Frame 26
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 617 MovieClip "enemy3" in Frame 26
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 4;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 556 MovieClip "barrel9" in Frame 26
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 617 MovieClip "enemy7" in Frame 26
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 4;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 618 MovieClip "enemy1" in Frame 26
onClipEvent (load) {
this.gotoAndPlay(30);
enemy_mc_inside_turns_white = true;
}
Instance of Symbol 629 MovieClip "enemy10" in Frame 26
onClipEvent (load) {
this._rotation = random(360) + 1;
speed = -45;
spd_reset = speed;
}
onClipEvent (enterFrame) {
this._y = this._y + ((speed = speed + 2));
if (this._y >= (_root.foreground1._y - 80)) {
if ((speed >= 0) && (!do_once)) {
do_once = true;
go = false;
}
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x - 10;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 40;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
_root["splash_mc" + _root.next_depth]._xscale = 180;
x = 0;
while (x <= 4) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
} else {
do_once = false;
}
if (this._y >= 600) {
speed = spd_reset;
go = false;
this._rotation = random(360) + 1;
this._y = 570.35;
}
this._rotation = this._rotation + 5;
}
Instance of Symbol 556 MovieClip "barrel13" in Frame 26
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 617 MovieClip "enemy4" in Frame 26
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 4;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy5" in Frame 26
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 4;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy6" in Frame 26
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 4;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 556 MovieClip "barrel12" in Frame 26
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 385 MovieClip "barrel1" in Frame 27
onClipEvent (load) {
x = 16;
y = x;
moveable_barrel = true;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
Instance of Symbol 385 MovieClip "barrel2" in Frame 27
onClipEvent (load) {
x = 16;
y = x;
moveable_barrel = true;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy1" in Frame 27
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 385 MovieClip "barrel3" in Frame 27
onClipEvent (load) {
x = -16;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy3" in Frame 27
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 16;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy4" in Frame 27
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 16;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 629 MovieClip "enemy5" in Frame 27
onClipEvent (load) {
this._rotation = random(360) + 1;
speed = -45;
spd_reset = speed;
}
onClipEvent (enterFrame) {
this._y = this._y + ((speed = speed + 2));
if (this._y >= (_root.foreground1._y - 80)) {
if ((speed >= 0) && (!do_once)) {
do_once = true;
go = false;
}
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x - 10;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 40;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
_root["splash_mc" + _root.next_depth]._xscale = 180;
x = 0;
while (x <= 4) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
} else {
do_once = false;
}
if (this._y >= 600) {
speed = spd_reset;
go = false;
this._rotation = random(360) + 1;
this._y = 570.35;
}
this._rotation = this._rotation + 5;
}
Instance of Symbol 629 MovieClip "enemy6" in Frame 27
onClipEvent (load) {
this._rotation = random(360) + 1;
speed = -45;
spd_reset = speed;
}
onClipEvent (enterFrame) {
this._y = this._y + ((speed = speed + 2));
if (this._y >= (_root.foreground1._y - 80)) {
if ((speed >= 0) && (!do_once)) {
do_once = true;
go = false;
}
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x - 10;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 40;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
_root["splash_mc" + _root.next_depth]._xscale = 180;
x = 0;
while (x <= 4) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
} else {
do_once = false;
}
if (this._y >= 600) {
speed = spd_reset;
go = false;
this._rotation = random(360) + 1;
this._y = 570.35;
}
this._rotation = this._rotation + 5;
}
Instance of Symbol 385 MovieClip "barrel8" in Frame 27
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 406 MovieClip in Frame 27
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 27
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 27
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 27
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 27
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 27
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 27
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 617 MovieClip "enemy1" in Frame 28
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy2" in Frame 28
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 13;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
Instance of Symbol 385 MovieClip "barrel1" in Frame 28
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 617 MovieClip "enemy0" in Frame 28
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 556 MovieClip "barrel2" in Frame 28
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 385 MovieClip "barrel3" in Frame 28
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 617 MovieClip "enemy3" in Frame 28
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = -14;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 385 MovieClip "barrel4" in Frame 28
onClipEvent (load) {
x = 14;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 629 MovieClip "enemy4" in Frame 28
onClipEvent (load) {
this._rotation = random(360) + 1;
speed = -45;
spd_reset = speed;
}
onClipEvent (enterFrame) {
this._y = this._y + ((speed = speed + 2));
if (this._y >= (_root.foreground1._y - 80)) {
if ((speed >= 0) && (!do_once)) {
do_once = true;
go = false;
}
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x - 10;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 40;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
_root["splash_mc" + _root.next_depth]._xscale = 180;
x = 0;
while (x <= 4) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
} else {
do_once = false;
}
if (this._y >= 600) {
speed = spd_reset;
go = false;
this._rotation = random(360) + 1;
this._y = 570.35;
}
this._rotation = this._rotation + 5;
}
Instance of Symbol 556 MovieClip "barrel7" in Frame 28
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 385 MovieClip "barrel5" in Frame 28
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 556 MovieClip "barrel8" in Frame 28
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 617 MovieClip "enemy6" in Frame 28
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy5" in Frame 28
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 556 MovieClip "barrel10" in Frame 28
onClipEvent (load) {
shoot_right_away = true;
}
onClipEvent (load) {
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 385 MovieClip "barrel1" in Frame 29
onClipEvent (load) {
x = -18;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 556 MovieClip "barrel3" in Frame 29
onClipEvent (load) {
shoot_right_away = true;
}
onClipEvent (load) {
x = -12;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + ((x = x + 0.5));
} else {
this._y = this._y + ((x = x - 0.5));
}
}
Instance of Symbol 556 MovieClip "barrel4" in Frame 29
onClipEvent (load) {
shoot_right_away = true;
}
onClipEvent (load) {
x = -12;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + ((x = x + 0.5));
} else {
this._y = this._y + ((x = x - 0.5));
}
}
Instance of Symbol 556 MovieClip "barrel5" in Frame 29
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 617 MovieClip "enemy7" in Frame 29
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 556 MovieClip "barrel6" in Frame 29
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 556 MovieClip "barrel8" in Frame 29
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 556 MovieClip "barrel10" in Frame 29
onClipEvent (load) {
shoot_right_away = true;
}
onClipEvent (load) {
x = -17;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy8" in Frame 29
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 385 MovieClip "barrel12" in Frame 29
onClipEvent (load) {
x = -16;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
Instance of Symbol 385 MovieClip "barrel13" in Frame 29
onClipEvent (load) {
x = 16;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
Instance of Symbol 629 MovieClip "enemy9" in Frame 29
onClipEvent (load) {
this._rotation = random(360) + 1;
speed = -45;
spd_reset = speed;
}
onClipEvent (enterFrame) {
this._y = this._y + ((speed = speed + 2));
if (this._y >= (_root.foreground1._y - 80)) {
if ((speed >= 0) && (!do_once)) {
do_once = true;
go = false;
}
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x - 10;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 40;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
_root["splash_mc" + _root.next_depth]._xscale = 180;
x = 0;
while (x <= 4) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
} else {
do_once = false;
}
if (this._y >= 600) {
speed = spd_reset;
go = false;
this._rotation = random(360) + 1;
this._y = 570.35;
}
this._rotation = this._rotation + 5;
}
Instance of Symbol 385 MovieClip "barrel7" in Frame 29
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 617 MovieClip "enemy6" in Frame 29
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 406 MovieClip in Frame 29
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 29
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 29
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 29
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 617 MovieClip "enemy5" in Frame 29
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy2" in Frame 29
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 556 MovieClip "barrel2" in Frame 29
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 406 MovieClip in Frame 29
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 617 MovieClip "enemy3" in Frame 29
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 406 MovieClip in Frame 29
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 29
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 29
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 29
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 29
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 29
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 29
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 617 MovieClip "enemy13" in Frame 29
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 406 MovieClip in Frame 29
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 629 MovieClip "enemy15" in Frame 30
onClipEvent (load) {
this._rotation = random(360) + 1;
speed = -45;
spd_reset = speed;
}
onClipEvent (enterFrame) {
this._y = this._y + ((speed = speed + 2));
if (this._y >= (_root.foreground1._y - 80)) {
if ((speed >= 0) && (!do_once)) {
do_once = true;
go = false;
}
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x - 10;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 40;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
_root["splash_mc" + _root.next_depth]._xscale = 180;
x = 0;
while (x <= 4) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
} else {
do_once = false;
}
if (this._y >= 600) {
speed = spd_reset;
go = false;
this._rotation = random(360) + 1;
this._y = 570.35;
}
this._rotation = this._rotation + 5;
}
Instance of Symbol 629 MovieClip "enemy0" in Frame 30
onClipEvent (load) {
this._rotation = random(360) + 1;
speed = -45;
spd_reset = speed;
}
onClipEvent (enterFrame) {
this._y = this._y + ((speed = speed + 2));
if (this._y >= (_root.foreground1._y - 80)) {
if ((speed >= 0) && (!do_once)) {
do_once = true;
go = false;
}
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x - 10;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 40;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
_root["splash_mc" + _root.next_depth]._xscale = 180;
x = 0;
while (x <= 4) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
} else {
do_once = false;
}
if (this._y >= 600) {
speed = spd_reset;
go = false;
this._rotation = random(360) + 1;
this._y = 570.35;
}
this._rotation = this._rotation + 5;
}
Instance of Symbol 629 MovieClip "enemy1" in Frame 30
onClipEvent (load) {
this._rotation = random(360) + 1;
speed = -45;
spd_reset = speed;
countdown_to_start = 8;
}
onClipEvent (enterFrame) {
countdown_to_start--;
if (countdown_to_start <= 0) {
this._y = this._y + ((speed = speed + 2));
if (this._y >= (_root.foreground1._y - 80)) {
if ((speed >= 0) && (!do_once)) {
do_once = true;
go = false;
}
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x - 10;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 40;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
_root["splash_mc" + _root.next_depth]._xscale = 180;
x = 0;
while (x <= 4) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
} else {
do_once = false;
}
if (this._y >= 600) {
speed = spd_reset;
go = false;
this._rotation = random(360) + 1;
this._y = 570.35;
}
this._rotation = this._rotation + 5;
}
}
Instance of Symbol 385 MovieClip "barrel2" in Frame 30
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 385 MovieClip "barrel3" in Frame 30
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 556 MovieClip "barrel4" in Frame 30
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 385 MovieClip "barrel6" in Frame 30
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 629 MovieClip "enemy11" in Frame 30
onClipEvent (load) {
this._rotation = random(360) + 1;
speed = -45;
spd_reset = speed;
countdown_to_start = 10;
}
onClipEvent (enterFrame) {
countdown_to_start--;
if (countdown_to_start <= 0) {
this._y = this._y + ((speed = speed + 2));
if (this._y >= (_root.foreground1._y - 80)) {
if ((speed >= 0) && (!do_once)) {
do_once = true;
go = false;
}
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x - 10;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 40;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
_root["splash_mc" + _root.next_depth]._xscale = 180;
x = 0;
while (x <= 4) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
} else {
do_once = false;
}
if (this._y >= 600) {
speed = spd_reset;
go = false;
this._rotation = random(360) + 1;
this._y = 570.35;
}
this._rotation = this._rotation + 5;
}
}
Instance of Symbol 617 MovieClip "enemy8" in Frame 30
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy9" in Frame 30
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy13" in Frame 30
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 15;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
Instance of Symbol 385 MovieClip "barrel11" in Frame 30
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 385 MovieClip "barrel12" in Frame 30
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 617 MovieClip "enemy14" in Frame 30
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy12" in Frame 30
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 385 MovieClip "barrel9" in Frame 30
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 618 MovieClip "enemy5" in Frame 30
onClipEvent (load) {
this.gotoAndPlay(1);
enemy_mc_inside_turns_white = true;
}
Instance of Symbol 618 MovieClip "enemy4" in Frame 30
onClipEvent (load) {
this.gotoAndPlay(10);
enemy_mc_inside_turns_white = true;
}
Instance of Symbol 618 MovieClip "enemy6" in Frame 30
onClipEvent (load) {
this.gotoAndPlay(20);
enemy_mc_inside_turns_white = true;
}
Instance of Symbol 618 MovieClip "enemy7" in Frame 30
onClipEvent (load) {
this.gotoAndPlay(30);
enemy_mc_inside_turns_white = true;
}
Instance of Symbol 629 MovieClip "enemy10" in Frame 30
onClipEvent (load) {
this._rotation = random(360) + 1;
speed = -45;
spd_reset = speed;
}
onClipEvent (enterFrame) {
this._y = this._y + ((speed = speed + 2));
if (this._y >= (_root.foreground1._y - 80)) {
if ((speed >= 0) && (!do_once)) {
do_once = true;
go = false;
}
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x - 10;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 40;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
_root["splash_mc" + _root.next_depth]._xscale = 180;
x = 0;
while (x <= 4) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
} else {
do_once = false;
}
if (this._y >= 600) {
speed = spd_reset;
go = false;
this._rotation = random(360) + 1;
this._y = 570.35;
}
this._rotation = this._rotation + 5;
}
Instance of Symbol 618 MovieClip "enemy3" in Frame 30
onClipEvent (load) {
this.gotoAndPlay(30);
enemy_mc_inside_turns_white = true;
}
Instance of Symbol 618 MovieClip "enemy2" in Frame 30
onClipEvent (load) {
this.gotoAndPlay(1);
enemy_mc_inside_turns_white = true;
}
Instance of Symbol 556 MovieClip "barrel7" in Frame 30
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 385 MovieClip "barrel5" in Frame 30
onClipEvent (load) {
this._rotation = 90;
moveable = true;
normal_spd = 5;
moveable_spd = normal_spd;
fast_spd = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + moveable_spd;
}
Instance of Symbol 556 MovieClip "barrel3" in Frame 31
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 556 MovieClip "barrel2" in Frame 31
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 556 MovieClip "barrel1" in Frame 31
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 556 MovieClip "barrel5" in Frame 31
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 556 MovieClip "barrel6" in Frame 31
onClipEvent (load) {
shoot_right_away = true;
}
onClipEvent (load) {
x = 18;
y = x;
countdown_start = 0;
}
onClipEvent (enterFrame) {
countdown_start--;
if (countdown_start <= 0) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
}
Instance of Symbol 556 MovieClip "barrel7" in Frame 31
onClipEvent (load) {
shoot_right_away = true;
}
onClipEvent (load) {
x = 18;
y = x;
countdown_start = 10;
}
onClipEvent (enterFrame) {
countdown_start--;
if (countdown_start <= 0) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
}
Instance of Symbol 556 MovieClip "barrel8" in Frame 31
onClipEvent (load) {
shoot_right_away = true;
}
onClipEvent (load) {
x = 18;
y = x;
countdown_start = 20;
}
onClipEvent (enterFrame) {
countdown_start--;
if (countdown_start <= 0) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
}
Instance of Symbol 632 MovieClip "enemy2" in Frame 31
onClipEvent (load) {
this.gotoAndPlay(0);
enemy_mc_inside_turns_white = true;
}
Instance of Symbol 632 MovieClip "enemy0" in Frame 31
onClipEvent (load) {
this.gotoAndPlay(40);
enemy_mc_inside_turns_white = true;
}
Instance of Symbol 632 MovieClip "enemy3" in Frame 31
onClipEvent (load) {
this.gotoAndPlay(80);
enemy_mc_inside_turns_white = true;
}
Instance of Symbol 632 MovieClip "enemy1" in Frame 31
onClipEvent (load) {
this.gotoAndPlay(120);
enemy_mc_inside_turns_white = true;
}
Instance of Symbol 556 MovieClip "barrel9" in Frame 31
onClipEvent (load) {
shoot_right_away = true;
}
onClipEvent (load) {
x = 18;
y = x;
countdown_start = 30;
}
onClipEvent (enterFrame) {
countdown_start--;
if (countdown_start <= 0) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
}
Instance of Symbol 629 MovieClip "enemy7" in Frame 31
onClipEvent (load) {
this._rotation = random(360) + 1;
speed = -45;
spd_reset = speed;
countdown_to_start = 0;
}
onClipEvent (enterFrame) {
countdown_to_start--;
if (countdown_to_start <= 0) {
this._y = this._y + ((speed = speed + 2));
if (this._y >= (_root.foreground1._y - 80)) {
if ((speed >= 0) && (!do_once)) {
do_once = true;
go = false;
}
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x - 10;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 40;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
_root["splash_mc" + _root.next_depth]._xscale = 180;
x = 0;
while (x <= 4) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
} else {
do_once = false;
}
if (this._y >= 600) {
speed = spd_reset;
go = false;
this._rotation = random(360) + 1;
this._y = 570.35;
}
this._rotation = this._rotation + 5;
}
}
Instance of Symbol 253 MovieClip "bkg1" in Frame 32
/* no clip actions */
Instance of Symbol 506 MovieClip "enemy0" in Frame 32
onClipEvent (load) {
stated_x = this._x - 50;
enemy_mc_inside_turns_white = true;
delay_to_start = 0;
}
onClipEvent (enterFrame) {
delay_to_start--;
if (delay_to_start <= 0) {
this.play();
delay_to_start = 0;
if (this.first_splash) {
this.first_splash = false;
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
if (stated_x == (this._x - 50)) {
stated_x = this._x - 310;
} else {
stated_x = this._x - 50;
}
}
} else {
this.stop();
}
}
Instance of Symbol 506 MovieClip "enemy1" in Frame 32
onClipEvent (load) {
stated_x = this._x - 50;
enemy_mc_inside_turns_white = true;
delay_to_start = 25;
}
onClipEvent (enterFrame) {
delay_to_start--;
if (delay_to_start <= 0) {
this.play();
delay_to_start = 0;
if (this.first_splash) {
this.first_splash = false;
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
if (stated_x == (this._x - 50)) {
stated_x = this._x - 310;
} else {
stated_x = this._x - 50;
}
}
} else {
this.stop();
}
}
Instance of Symbol 506 MovieClip "enemy3" in Frame 32
onClipEvent (load) {
stated_x = this._x - 50;
enemy_mc_inside_turns_white = true;
delay_to_start = 0;
}
onClipEvent (enterFrame) {
delay_to_start--;
if (delay_to_start <= 0) {
this.play();
delay_to_start = 0;
if (this.first_splash) {
this.first_splash = false;
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
if (stated_x == (this._x - 50)) {
stated_x = this._x - 310;
} else {
stated_x = this._x - 50;
}
}
} else {
this.stop();
}
}
Instance of Symbol 506 MovieClip "enemy2" in Frame 32
onClipEvent (load) {
stated_x = this._x - 50;
enemy_mc_inside_turns_white = true;
delay_to_start = 25;
}
onClipEvent (enterFrame) {
delay_to_start--;
if (delay_to_start <= 0) {
this.play();
delay_to_start = 0;
if (this.first_splash) {
this.first_splash = false;
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
if (stated_x == (this._x - 50)) {
stated_x = this._x - 310;
} else {
stated_x = this._x - 50;
}
}
} else {
this.stop();
}
}
Instance of Symbol 494 MovieClip "enemy6" in Frame 32
onClipEvent (load) {
start_x = this._x;
start_y = this._y;
b = start_x;
}
onClipEvent (enterFrame) {
if (this._x >= _root.death_bar_2._x) {
xmovement = 0;
ymovement = 5;
}
if (this._y >= 380) {
xmovement = -5;
ymovement = 0;
}
if (this._x <= ((2 + _root.death_bar_2._x) - (_root.death_bar_2._width / 2))) {
xmovement = 0;
ymovement = -5;
}
this._x = this._x + xmovement;
this._y = this._y + ymovement;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y <= -50) {
this._y = -40.95;
this._x = 551.6;
this._rotation = 0;
this._y = -50;
this._x = (_root.death_bar_2._x + (_root.death_bar_2._width / 2)) - 3;
go = false;
}
}
Instance of Symbol 494 MovieClip "enemy8" in Frame 32
onClipEvent (load) {
start_x = this._x;
start_y = this._y;
b = start_x;
}
onClipEvent (enterFrame) {
if (this._x >= _root.death_bar_2._x) {
xmovement = 0;
ymovement = 5;
}
if (this._y >= 380) {
xmovement = -5;
ymovement = 0;
}
if (this._x <= ((2 + _root.death_bar_2._x) - (_root.death_bar_2._width / 2))) {
xmovement = 0;
ymovement = -5;
}
this._x = this._x + xmovement;
this._y = this._y + ymovement;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y <= -50) {
this._y = -40.95;
this._x = 551.6;
this._rotation = 0;
this._y = -50;
this._x = (_root.death_bar_2._x + (_root.death_bar_2._width / 2)) - 3;
go = false;
}
}
Instance of Symbol 494 MovieClip "enemy7" in Frame 32
onClipEvent (load) {
start_x = this._x;
start_y = this._y;
b = start_x;
}
onClipEvent (enterFrame) {
if (this._x >= _root.death_bar_2._x) {
xmovement = 0;
ymovement = 5;
}
if (this._y >= 380) {
xmovement = -5;
ymovement = 0;
}
if (this._x <= ((2 + _root.death_bar_2._x) - (_root.death_bar_2._width / 2))) {
xmovement = 0;
ymovement = -5;
}
this._x = this._x + xmovement;
this._y = this._y + ymovement;
if (this._y >= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if (this._y <= -50) {
this._y = -40.95;
this._x = 551.6;
this._rotation = 0;
this._y = -50;
this._x = (_root.death_bar_2._x + (_root.death_bar_2._width / 2)) - 3;
go = false;
}
}
Instance of Symbol 556 MovieClip "barrel1" in Frame 32
onClipEvent (load) {
shoot_right_away = true;
}
onClipEvent (load) {
x = -19;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
Instance of Symbol 406 MovieClip in Frame 32
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 32
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 32
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 32
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 32
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 408 MovieClip "water_drop" in Frame 32
onClipEvent (load) {
if (this._name != "water_drop") {
if (alpha_x >= 0) {
this._alpha = alpha_x;
} else {
this._alpha = random(80) + 30;
}
this._x = (stated_x + random(10)) - 5;
this._y = _root.foreground1._y - 50;
gravity = random(10) - 10;
xmovement = random(10) - 5;
random_size = random(100) + 30;
this._xscale = random_size;
this._yscale = random_size;
}
}
onClipEvent (enterFrame) {
if (this._name == "water_drop") {
if (go) {
if (!doonce) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
doonce = true;
x = 0;
while (x <= 5) {
_root.next_depth++;
this.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
}
go = false;
doonce = false;
}
} else {
this._x = this._x + xmovement;
this._y = this._y + (gravity++);
if (this._y >= _root.foreground1._y) {
this.removeMovieClip();
}
}
if (_root.frame_your_on != "in_game") {
this.removeMovieClip();
}
}
Instance of Symbol 412 MovieClip "splash_mc" in Frame 32
onClipEvent (enterFrame) {
this._x = this._x + 2;
if (_root.frame_your_on != "in_game") {
this.removeMovieClip();
}
}
Instance of Symbol 414 MovieClip "foreground1" in Frame 32
/* no clip actions */
Instance of Symbol 553 MovieClip "enemy1" in Frame 33
onClipEvent (load) {
first_y = this.spider._y;
speed = 5;
bounce_spd = speed / 5;
spot_to_stop = 200;
speed_constant = speed;
this.spider._y = this.spider._y + 200;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 578 MovieClip "enemy3" in Frame 33
onClipEvent (load) {
timer_till_fire = 30;
timer_till_fire_reset = timer_till_fire;
enemy_number = 3;
}
onClipEvent (enterFrame) {
if (this.snake.mouth_closed) {
timer_till_fire--;
}
if (timer_till_fire <= 0) {
this.snake.gotoAndStop(2);
_root["enemy" + (enemy_number + 1)].go = true;
timer_till_fire = timer_till_fire_reset;
}
}
Instance of Symbol 582 MovieClip "enemy4" in Frame 33
onClipEvent (load) {
gravity = -18;
x_movement = 16;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 553 MovieClip "enemy2" in Frame 33
onClipEvent (load) {
this.spider._y = this.spider._y + 200;
first_y = this.spider._y;
speed = 0;
bounce_spd = speed / 5;
spot_to_stop = 300;
speed_constant = speed;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 553 MovieClip "enemy0" in Frame 33
onClipEvent (load) {
this.spider._y = this.spider._y + 200;
first_y = this.spider._y;
speed = 0;
bounce_spd = speed / 5;
spot_to_stop = 300;
speed_constant = speed;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 578 MovieClip "enemy5" in Frame 33
onClipEvent (load) {
timer_till_fire = 30;
timer_till_fire_reset = timer_till_fire;
enemy_number = 5;
}
onClipEvent (enterFrame) {
if (this.snake.mouth_closed) {
timer_till_fire--;
}
if (timer_till_fire <= 0) {
this.snake.gotoAndStop(2);
_root["enemy" + (enemy_number + 1)].go = true;
timer_till_fire = timer_till_fire_reset;
}
}
Instance of Symbol 582 MovieClip "enemy6" in Frame 33
onClipEvent (load) {
gravity = -5;
x_movement = -10;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 553 MovieClip "enemy11" in Frame 33
onClipEvent (load) {
first_y = this.spider._y;
speed = 15;
bounce_spd = speed / 5;
spot_to_stop = 350;
speed_constant = speed;
this.spider._y = this.spider._y + 240;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 553 MovieClip "enemy12" in Frame 33
onClipEvent (load) {
first_y = this.spider._y;
speed = 15;
bounce_spd = speed / 5;
spot_to_stop = 350;
speed_constant = speed;
this.spider._y = this.spider._y + 160;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 553 MovieClip "enemy13" in Frame 33
onClipEvent (load) {
first_y = this.spider._y;
speed = 15;
bounce_spd = speed / 5;
spot_to_stop = 350;
speed_constant = speed;
this.spider._y = this.spider._y + 80;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 553 MovieClip "enemy14" in Frame 33
onClipEvent (load) {
first_y = this.spider._y;
speed = 15;
bounce_spd = speed / 5;
spot_to_stop = 350;
speed_constant = speed;
this.spider._y = this.spider._y + 0;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 578 MovieClip "enemy7" in Frame 33
onClipEvent (load) {
timer_till_fire = 0;
fires_three_timer = 15;
fires_three_timer_reset = fires_three_timer;
timer_till_fire_reset = timer_till_fire;
enemy_number = 7;
number_of_shots = 0;
}
onClipEvent (enterFrame) {
if (this.snake.mouth_closed) {
timer_till_fire--;
}
if (timer_till_fire <= 0) {
fires_three_timer--;
if (fires_three_timer <= 0) {
this.snake.gotoAndStop(1);
number_of_shots++;
_root["enemy" + (enemy_number + number_of_shots)].go = false;
_root["enemy" + (enemy_number + number_of_shots)]._alpha = 0;
_root["enemy" + (enemy_number + number_of_shots)].x_movement = _root["enemy" + (enemy_number + number_of_shots)].x_movement_reset;
_root["enemy" + (enemy_number + number_of_shots)].gravity = _root["enemy" + (enemy_number + number_of_shots)].gravity_reset;
_root["enemy" + (enemy_number + number_of_shots)]._x = _root["enemy" + (enemy_number + number_of_shots)].first_x;
_root["enemy" + (enemy_number + number_of_shots)]._y = _root["enemy" + (enemy_number + number_of_shots)].first_y;
this.snake.gotoAndStop(2);
_root["enemy" + (enemy_number + number_of_shots)].go = true;
fires_three_timer = fires_three_timer_reset;
}
if (number_of_shots >= 3) {
number_of_shots = 0;
fires_three_timer = fires_three_timer_reset;
timer_till_fire = timer_till_fire_reset;
}
}
this.snake.snake_mc.gotoAndStop(2);
this.snake.snake.snake.gotoAndStop(2);
this.snake.eyes_mc.gotoAndStop(2);
}
Instance of Symbol 582 MovieClip "enemy10" in Frame 33
onClipEvent (load) {
gravity = -5;
x_movement = 10;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 582 MovieClip "enemy9" in Frame 33
onClipEvent (load) {
gravity = -5;
x_movement = 10;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 582 MovieClip "enemy8" in Frame 33
onClipEvent (load) {
gravity = -5;
x_movement = 10;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 412 MovieClip "splash_mc" in Frame 34
onClipEvent (enterFrame) {
this._x = this._x + 1;
if (_root.frame_your_on != "in_game") {
this.removeMovieClip();
}
}
Instance of Symbol 408 MovieClip "water_drop" in Frame 34
onClipEvent (load) {
if (this._name != "water_drop") {
if (alpha_x >= 0) {
this._alpha = alpha_x;
} else {
this._alpha = random(30) + 70;
}
this._alpha = random(30) + 70;
this._x = (stated_x + random(10)) - 5;
this._y = _root.foreground1._y - 50;
gravity = random(10) - 10;
xmovement = random(10) - 5;
random_size = random(40) + 30;
this._xscale = random_size;
this._yscale = random_size;
}
}
onClipEvent (enterFrame) {
if (this._name == "water_drop") {
if (go) {
if (!doonce) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
doonce = true;
x = 0;
while (x <= 5) {
_root.next_depth++;
this.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
}
go = false;
doonce = false;
}
} else {
random_size = random_size - 2;
this._x = this._x + xmovement;
this._y = this._y + ((gravity = gravity + 1));
if ((this._y >= (_root.foreground1._y + 50)) || (random_size <= 0)) {
this.removeMovieClip();
}
}
if (_root.frame_your_on != "in_game") {
this.removeMovieClip();
}
this._xscale = random_size;
this._yscale = random_size;
}
Instance of Symbol 601 MovieClip "ash_mc" in Frame 34
onClipEvent (load) {
function reset_function() {
this._y = random(500);
spd = random(3) + 1;
random_size = random(50) + 50;
this._alpha = random(40) + 30;
}
if (this._name == "ash_mc") {
x = 0;
while (x <= 10) {
_root.next_depth++;
this.duplicateMovieClip(["ash_mc" + _root.next_depth], _root.next_depth);
_root["ash_mc" + _root.next_depth]._x = random(1000);
x++;
}
}
reset_function();
this.gotoAndPlay(random(40) + 1);
}
onClipEvent (enterFrame) {
if (this._y <= -5) {
this._x = (_root.hero._x + random(900)) - 400;
reset_function();
this._y = 505;
}
this._y = this._y - spd;
if (this._x <= (_root.hero._x - 505)) {
this._x = _root.hero._x + 504;
reset_function();
} else if (this._x >= (_root.hero._x + 505)) {
this._x = _root.hero._x - 504;
reset_function();
}
this._xscale = random_size;
this._yscale = random_size;
if (_root.frame_your_on != "in_game") {
this.removeMovieClip();
}
}
Instance of Symbol 629 MovieClip "enemy0" in Frame 34
onClipEvent (load) {
this._rotation = random(360) + 1;
speed = -45;
spd_reset = speed;
start_timer = 0;
}
onClipEvent (enterFrame) {
start_timer--;
if (start_timer <= 0) {
this._y = this._y + ((speed = speed + 2));
if (this._y >= (_root.foreground1._y - 80)) {
if ((speed >= 0) && (!do_once)) {
do_once = true;
go = false;
}
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x - 10;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 40;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
_root["splash_mc" + _root.next_depth]._xscale = 180;
x = 0;
while (x <= 4) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
} else {
do_once = false;
}
if (this._y >= 600) {
speed = spd_reset;
go = false;
this._rotation = random(360) + 1;
this._y = 570.35;
}
this._rotation = this._rotation + 5;
}
}
Instance of Symbol 629 MovieClip "enemy2" in Frame 34
onClipEvent (load) {
this._rotation = random(360) + 1;
speed = -45;
spd_reset = speed;
start_timer = 20;
}
onClipEvent (enterFrame) {
start_timer--;
if (start_timer <= 0) {
this._y = this._y + ((speed = speed + 2));
if (this._y >= (_root.foreground1._y - 80)) {
if ((speed >= 0) && (!do_once)) {
do_once = true;
go = false;
}
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x - 10;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 40;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
_root["splash_mc" + _root.next_depth]._xscale = 180;
x = 0;
while (x <= 4) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
} else {
do_once = false;
}
if (this._y >= 600) {
speed = spd_reset;
go = false;
this._rotation = random(360) + 1;
this._y = 570.35;
}
this._rotation = this._rotation + 5;
}
}
Instance of Symbol 617 MovieClip "enemy3" in Frame 34
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 18;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy4" in Frame 34
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = -18;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy5" in Frame 34
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 18;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy11" in Frame 34
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy13" in Frame 34
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy14" in Frame 34
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy12" in Frame 34
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy8" in Frame 34
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy10" in Frame 34
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy9" in Frame 34
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy7" in Frame 34
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy6" in Frame 34
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 5;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 406 MovieClip in Frame 34
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 34
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 34
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 34
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 34
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 623 MovieClip "foreground1" in Frame 34
onClipEvent (load) {
this.swapDepths(9800);
}
Instance of Symbol 623 MovieClip "foreground2" in Frame 34
onClipEvent (load) {
this.swapDepths(9801);
}
Instance of Symbol 253 MovieClip "bkg1" in Frame 35
/* no clip actions */
Instance of Symbol 644 MovieClip "enemy4" in Frame 35
onClipEvent (load) {
this.gotoAndPlay(1);
stated_x = this._x + 160;
enemy_mc_inside_turns_white = true;
delay_to_start = 0;
splash_number = 0;
}
onClipEvent (enterFrame) {
delay_to_start--;
if (delay_to_start <= 0) {
this.play();
delay_to_start = 0;
if (this.first_splash) {
splash_number++;
this.first_splash = false;
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
if (splash_number == 1) {
stated_x = this._x - 180;
} else {
splash_number = 0;
stated_x = this._x + 160;
}
}
} else {
this.stop();
}
}
Instance of Symbol 644 MovieClip "enemy3" in Frame 35
onClipEvent (load) {
this.gotoAndPlay(1);
stated_x = this._x + 160;
enemy_mc_inside_turns_white = true;
delay_to_start = 40;
splash_number = 0;
}
onClipEvent (enterFrame) {
delay_to_start--;
if (delay_to_start <= 0) {
this.play();
delay_to_start = 0;
if (this.first_splash) {
splash_number++;
this.first_splash = false;
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
if (splash_number == 1) {
stated_x = this._x - 180;
} else {
splash_number = 0;
stated_x = this._x + 160;
}
}
} else {
this.stop();
}
}
Instance of Symbol 644 MovieClip "enemy2" in Frame 35
onClipEvent (load) {
this.gotoAndPlay(1);
stated_x = this._x + 160;
enemy_mc_inside_turns_white = true;
delay_to_start = 80;
splash_number = 0;
}
onClipEvent (enterFrame) {
delay_to_start--;
if (delay_to_start <= 0) {
this.play();
delay_to_start = 0;
if (this.first_splash) {
splash_number++;
this.first_splash = false;
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
if (splash_number == 1) {
stated_x = this._x - 180;
} else {
splash_number = 0;
stated_x = this._x + 160;
}
}
} else {
this.stop();
}
}
Instance of Symbol 494 MovieClip "enemy8" in Frame 35
onClipEvent (load) {
start_x = this._x;
start_y = this._y;
b = start_x;
this.enemy.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this._x >= (_root.death_bar_2._x + (_root.death_bar_2._width / 2))) {
xmovement = 0;
ymovement = -5;
}
if (this._y <= 425) {
xmovement = -5;
ymovement = 0;
}
if (this._x <= ((_root.death_bar_2._x - (_root.death_bar_2._width / 2)) + 4)) {
xmovement = 0;
ymovement = 5;
}
this._x = this._x + xmovement;
this._y = this._y + ymovement;
if (this._y <= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if ((this._y >= (_root.foreground1._y - 50)) && (this._x <= ((_root.death_bar_2._x - (_root.death_bar_2._width / 2)) + 4))) {
if (!go2) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go2 = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = 560;
this._x = _root.death_bar_2._x + (_root.death_bar_2._width / 2);
go = false;
go2 = false;
xmovement = 0;
ymovement = -5;
}
}
Instance of Symbol 494 MovieClip "enemy7" in Frame 35
onClipEvent (load) {
start_x = this._x;
start_y = this._y;
b = start_x;
this.enemy.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this._x >= (_root.death_bar_2._x + (_root.death_bar_2._width / 2))) {
xmovement = 0;
ymovement = -5;
}
if (this._y <= 425) {
xmovement = -5;
ymovement = 0;
}
if (this._x <= ((_root.death_bar_2._x - (_root.death_bar_2._width / 2)) + 4)) {
xmovement = 0;
ymovement = 5;
}
this._x = this._x + xmovement;
this._y = this._y + ymovement;
if (this._y <= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if ((this._y >= (_root.foreground1._y - 50)) && (this._x <= ((_root.death_bar_2._x - (_root.death_bar_2._width / 2)) + 4))) {
if (!go2) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go2 = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = 560;
this._x = _root.death_bar_2._x + (_root.death_bar_2._width / 2);
go = false;
go2 = false;
xmovement = 0;
ymovement = -5;
}
}
Instance of Symbol 494 MovieClip "enemy6" in Frame 35
onClipEvent (load) {
start_x = this._x;
start_y = this._y;
b = start_x;
this.enemy.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this._x >= (_root.death_bar_2._x + (_root.death_bar_2._width / 2))) {
xmovement = 0;
ymovement = -5;
}
if (this._y <= 425) {
xmovement = -5;
ymovement = 0;
}
if (this._x <= ((_root.death_bar_2._x - (_root.death_bar_2._width / 2)) + 4)) {
xmovement = 0;
ymovement = 5;
}
this._x = this._x + xmovement;
this._y = this._y + ymovement;
if (this._y <= (_root.foreground1._y - 50)) {
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
}
if ((this._y >= (_root.foreground1._y - 50)) && (this._x <= ((_root.death_bar_2._x - (_root.death_bar_2._width / 2)) + 4))) {
if (!go2) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go2 = true;
}
}
if (this._y >= 600) {
this._rotation = 0;
this._y = 560;
this._x = _root.death_bar_2._x + (_root.death_bar_2._width / 2);
go = false;
go2 = false;
xmovement = 0;
ymovement = -5;
}
}
Instance of Symbol 506 MovieClip "enemy10" in Frame 35
onClipEvent (load) {
stated_x = this._x - 50;
enemy_mc_inside_turns_white = true;
delay_to_start = 25;
}
onClipEvent (enterFrame) {
delay_to_start--;
if (delay_to_start <= 0) {
this.play();
delay_to_start = 0;
if (this.first_splash) {
this.first_splash = false;
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
if (stated_x == (this._x - 50)) {
stated_x = this._x - 310;
} else {
stated_x = this._x - 50;
}
}
} else {
this.stop();
}
}
Instance of Symbol 556 MovieClip "barrel1" in Frame 35
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 397 MovieClip "enemy0" in Frame 35
onClipEvent (load) {
gravity = -30;
start_y = this._y;
stated_x = this._x;
time_to_start = 0;
}
onClipEvent (enterFrame) {
time_to_start--;
if (time_to_start <= 0) {
this._y = this._y + (gravity++);
this._rotation = this._rotation + 10;
if ((this._y <= _root.foreground1._y) && (this._y >= (_root.foreground1._y - (_root.foreground1._height / 2)))) {
if (go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
go = false;
}
} else {
go = true;
}
if (this._y >= start_y) {
this._y = start_y;
gravity = -30;
}
}
}
Instance of Symbol 397 MovieClip "enemy1" in Frame 35
onClipEvent (load) {
gravity = -30;
start_y = this._y;
stated_x = this._x;
time_to_start = 5;
}
onClipEvent (enterFrame) {
time_to_start--;
if (time_to_start <= 0) {
this._y = this._y + (gravity++);
this._rotation = this._rotation + 10;
if ((this._y <= _root.foreground1._y) && (this._y >= (_root.foreground1._y - (_root.foreground1._height / 2)))) {
if (go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
x = 0;
while (x <= 2) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
go = false;
}
} else {
go = true;
}
if (this._y >= start_y) {
this._y = start_y;
gravity = -30;
}
}
}
Instance of Symbol 408 MovieClip "water_drop" in Frame 35
onClipEvent (load) {
if (this._name != "water_drop") {
if (alpha_x >= 0) {
this._alpha = alpha_x;
} else {
this._alpha = random(80) + 30;
}
this._x = (stated_x + random(10)) - 5;
this._y = _root.foreground1._y - 50;
gravity = random(10) - 10;
xmovement = random(10) - 5;
random_size = random(100) + 30;
this._xscale = random_size;
this._yscale = random_size;
}
}
onClipEvent (enterFrame) {
if (this._name == "water_drop") {
if (go) {
if (!doonce) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
doonce = true;
x = 0;
while (x <= 5) {
_root.next_depth++;
this.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
}
go = false;
doonce = false;
}
} else {
this._x = this._x + xmovement;
this._y = this._y + (gravity++);
if (this._y >= _root.foreground1._y) {
this.removeMovieClip();
}
}
if (_root.frame_your_on != "in_game") {
this.removeMovieClip();
}
}
Instance of Symbol 412 MovieClip "splash_mc" in Frame 35
onClipEvent (enterFrame) {
this._x = this._x + 2;
if (_root.frame_your_on != "in_game") {
this.removeMovieClip();
}
}
Instance of Symbol 414 MovieClip "foreground1" in Frame 35
/* no clip actions */
Instance of Symbol 553 MovieClip "enemy4" in Frame 36
onClipEvent (load) {
this.spider._y = this.spider._y + 250;
first_y = this.spider._y;
speed = 0;
bounce_spd = speed / 5;
spot_to_stop = 300;
speed_constant = speed;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 553 MovieClip "enemy5" in Frame 36
onClipEvent (load) {
this.spider._y = this.spider._y + 250;
first_y = this.spider._y;
speed = 10;
bounce_spd = speed / 5;
spot_to_stop = 110;
speed_constant = speed;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 553 MovieClip "enemy6" in Frame 36
onClipEvent (load) {
this.spider._y = this.spider._y + 250;
first_y = this.spider._y;
speed = 0;
bounce_spd = speed / 5;
spot_to_stop = 300;
speed_constant = speed;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 578 MovieClip "enemy0" in Frame 36
onClipEvent (load) {
timer_till_fire = 5;
fires_three_timer = 10;
fires_three_timer_reset = fires_three_timer;
timer_till_fire_reset = timer_till_fire;
enemy_number = 0;
number_of_shots = 0;
}
onClipEvent (enterFrame) {
if (this.snake.mouth_closed) {
timer_till_fire--;
}
if (timer_till_fire <= 0) {
fires_three_timer--;
if (fires_three_timer <= 0) {
this.snake.gotoAndStop(1);
number_of_shots++;
_root["enemy" + (enemy_number + number_of_shots)].go = false;
_root["enemy" + (enemy_number + number_of_shots)]._alpha = 0;
_root["enemy" + (enemy_number + number_of_shots)].x_movement = _root["enemy" + (enemy_number + number_of_shots)].x_movement_reset;
_root["enemy" + (enemy_number + number_of_shots)].gravity = _root["enemy" + (enemy_number + number_of_shots)].gravity_reset;
_root["enemy" + (enemy_number + number_of_shots)]._x = _root["enemy" + (enemy_number + number_of_shots)].first_x;
_root["enemy" + (enemy_number + number_of_shots)]._y = _root["enemy" + (enemy_number + number_of_shots)].first_y;
this.snake.gotoAndStop(2);
_root["enemy" + (enemy_number + number_of_shots)].go = true;
fires_three_timer = fires_three_timer_reset;
}
if (number_of_shots >= 3) {
number_of_shots = 0;
fires_three_timer = fires_three_timer_reset;
timer_till_fire = timer_till_fire_reset;
}
}
this.snake.snake_mc.gotoAndStop(2);
this.snake.snake.snake.gotoAndStop(2);
this.snake.eyes_mc.gotoAndStop(2);
}
Instance of Symbol 582 MovieClip "enemy2" in Frame 36
onClipEvent (load) {
gravity = -15;
x_movement = 10;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 582 MovieClip "enemy3" in Frame 36
onClipEvent (load) {
gravity = -15;
x_movement = 10;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 582 MovieClip "enemy1" in Frame 36
onClipEvent (load) {
gravity = -15;
x_movement = 10;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 406 MovieClip in Frame 36
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 36
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 553 MovieClip "enemy7" in Frame 36
onClipEvent (load) {
this.spider._y = this.spider._y + 0;
first_y = this.spider._y;
speed = 5;
bounce_spd = speed / 5;
spot_to_stop = 350;
speed_constant = speed;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 553 MovieClip "enemy8" in Frame 36
onClipEvent (load) {
this.spider._y = this.spider._y + 0;
first_y = this.spider._y;
speed = 10;
bounce_spd = speed / 5;
spot_to_stop = 350;
speed_constant = speed;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 553 MovieClip "enemy9" in Frame 36
onClipEvent (load) {
this.spider._y = this.spider._y + 0;
first_y = this.spider._y;
speed = 20;
bounce_spd = speed / 5;
spot_to_stop = 350;
speed_constant = speed;
}
onClipEvent (enterFrame) {
this.spider._y = this.spider._y + speed;
if ((this.spider._y + speed) >= (first_y + spot_to_stop)) {
go_up_now = true;
}
if (go_up_now) {
if (speed > (-speed_constant)) {
speed = speed - bounce_spd;
} else {
go_up_now = false;
}
}
if ((this.spider._y + speed) <= first_y) {
go_down_now = true;
}
if (go_down_now) {
if (speed < speed_constant) {
speed = speed + bounce_spd;
} else {
go_down_now = false;
}
}
}
Instance of Symbol 578 MovieClip "enemy10" in Frame 36
onClipEvent (load) {
timer_till_fire = 0;
fires_three_timer = 20;
fires_three_timer_reset = fires_three_timer;
timer_till_fire_reset = timer_till_fire;
enemy_number = 10;
number_of_shots = 0;
}
onClipEvent (enterFrame) {
if (this.snake.mouth_closed) {
timer_till_fire--;
}
if (timer_till_fire <= 0) {
fires_three_timer--;
if (fires_three_timer <= 0) {
this.snake.gotoAndStop(1);
number_of_shots++;
_root["enemy" + (enemy_number + number_of_shots)].go = false;
_root["enemy" + (enemy_number + number_of_shots)]._alpha = 0;
_root["enemy" + (enemy_number + number_of_shots)].x_movement = _root["enemy" + (enemy_number + number_of_shots)].x_movement_reset;
_root["enemy" + (enemy_number + number_of_shots)].gravity = _root["enemy" + (enemy_number + number_of_shots)].gravity_reset;
_root["enemy" + (enemy_number + number_of_shots)]._x = _root["enemy" + (enemy_number + number_of_shots)].first_x;
_root["enemy" + (enemy_number + number_of_shots)]._y = _root["enemy" + (enemy_number + number_of_shots)].first_y;
this.snake.gotoAndStop(2);
_root["enemy" + (enemy_number + number_of_shots)].go = true;
fires_three_timer = fires_three_timer_reset;
}
if (number_of_shots >= 3) {
number_of_shots = 0;
fires_three_timer = fires_three_timer_reset;
timer_till_fire = timer_till_fire_reset;
}
}
this.snake.snake_mc.gotoAndStop(2);
this.snake.snake.snake.gotoAndStop(2);
this.snake.eyes_mc.gotoAndStop(2);
}
Instance of Symbol 582 MovieClip "enemy13" in Frame 36
onClipEvent (load) {
gravity = -32;
x_movement = 4;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 582 MovieClip "enemy12" in Frame 36
onClipEvent (load) {
gravity = -32;
x_movement = 4;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 582 MovieClip "enemy11" in Frame 36
onClipEvent (load) {
gravity = -32;
x_movement = 4;
first_y = this._y;
first_x = this._x;
gravity_reset = gravity;
x_movement_reset = x_movement;
go = false;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (go) {
this._alpha = 100;
this._x = this._x - x_movement;
this._y = this._y + ((gravity = gravity + 1.3));
if (this._y >= 550) {
go = false;
this._alpha = 0;
x_movement = x_movement_reset;
gravity = gravity_reset;
this._x = first_x;
this._y = first_y;
}
}
}
Instance of Symbol 556 MovieClip "barrel1" in Frame 36
onClipEvent (load) {
shoot_right_away = true;
}
Instance of Symbol 406 MovieClip in Frame 36
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 36
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 36
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 36
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 36
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 36
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 36
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 36
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 36
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 36
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 36
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 406 MovieClip in Frame 36
onClipEvent (load) {
_root.jewel_number++;
this.gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndStop(3);
_root.jewels_collected++;
}
}
Instance of Symbol 412 MovieClip "splash_mc" in Frame 37
onClipEvent (enterFrame) {
this._x = this._x + 1;
if (_root.frame_your_on != "in_game") {
this.removeMovieClip();
}
}
Instance of Symbol 408 MovieClip "water_drop" in Frame 37
onClipEvent (load) {
if (this._name != "water_drop") {
if (alpha_x >= 0) {
this._alpha = alpha_x;
} else {
this._alpha = random(30) + 70;
}
this._alpha = random(30) + 70;
this._x = (stated_x + random(10)) - 5;
this._y = _root.foreground1._y - 50;
gravity = random(10) - 10;
xmovement = random(10) - 5;
random_size = random(40) + 30;
this._xscale = random_size;
this._yscale = random_size;
}
}
onClipEvent (enterFrame) {
if (this._name == "water_drop") {
if (go) {
if (!doonce) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = stated_x;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 50;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
doonce = true;
x = 0;
while (x <= 5) {
_root.next_depth++;
this.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = stated_x;
x++;
}
}
go = false;
doonce = false;
}
} else {
random_size = random_size - 2;
this._x = this._x + xmovement;
this._y = this._y + ((gravity = gravity + 1));
if ((this._y >= (_root.foreground1._y + 50)) || (random_size <= 0)) {
this.removeMovieClip();
}
}
if (_root.frame_your_on != "in_game") {
this.removeMovieClip();
}
this._xscale = random_size;
this._yscale = random_size;
}
Instance of Symbol 601 MovieClip "ash_mc" in Frame 37
onClipEvent (load) {
function reset_function() {
this._y = random(500);
spd = random(3) + 1;
random_size = random(50) + 50;
this._alpha = random(40) + 30;
}
if (this._name == "ash_mc") {
x = 0;
while (x <= 10) {
_root.next_depth++;
this.duplicateMovieClip(["ash_mc" + _root.next_depth], _root.next_depth);
_root["ash_mc" + _root.next_depth]._x = random(1000);
x++;
}
}
reset_function();
this.gotoAndPlay(random(40) + 1);
}
onClipEvent (enterFrame) {
if (this._y <= -5) {
this._x = (_root.hero._x + random(900)) - 400;
reset_function();
this._y = 505;
}
this._y = this._y - spd;
if (this._x <= (_root.hero._x - 505)) {
this._x = _root.hero._x + 504;
reset_function();
} else if (this._x >= (_root.hero._x + 505)) {
this._x = _root.hero._x - 504;
reset_function();
}
this._xscale = random_size;
this._yscale = random_size;
if (_root.frame_your_on != "in_game") {
this.removeMovieClip();
}
}
Instance of Symbol 617 MovieClip "enemy2" in Frame 37
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = -27;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy3" in Frame 37
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 27;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy4" in Frame 37
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 27;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy1" in Frame 37
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = -27;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy12" in Frame 37
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy13" in Frame 37
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy14" in Frame 37
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy15" in Frame 37
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy17" in Frame 37
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy16" in Frame 37
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy0" in Frame 37
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = -27;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy5" in Frame 37
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = 27;
y = x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._x = this._x + (x++);
} else {
this._x = this._x + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy18" in Frame 37
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy19" in Frame 37
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy20" in Frame 37
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 617 MovieClip "enemy21" in Frame 37
onClipEvent (load) {
enemy_mc_inside_turns_white = true;
}
onClipEvent (load) {
x = -5;
y = -x;
}
onClipEvent (enterFrame) {
if (x >= y) {
doit = false;
}
if (x <= (-y)) {
doit = true;
}
if (doit) {
this._y = this._y + (x++);
} else {
this._y = this._y + (x--);
}
}
Instance of Symbol 618 MovieClip "enemy7" in Frame 37
onClipEvent (load) {
this.gotoAndPlay(30);
enemy_mc_inside_turns_white = true;
}
Instance of Symbol 618 MovieClip "enemy6" in Frame 37
onClipEvent (load) {
this.gotoAndPlay(1);
enemy_mc_inside_turns_white = true;
}
Instance of Symbol 618 MovieClip "enemy9" in Frame 37
onClipEvent (load) {
this.gotoAndPlay(1);
enemy_mc_inside_turns_white = true;
}
Instance of Symbol 618 MovieClip "enemy8" in Frame 37
onClipEvent (load) {
this.gotoAndPlay(30);
enemy_mc_inside_turns_white = true;
}
Instance of Symbol 618 MovieClip "enemy11" in Frame 37
onClipEvent (load) {
this.gotoAndPlay(30);
enemy_mc_inside_turns_white = true;
}
Instance of Symbol 618 MovieClip "enemy10" in Frame 37
onClipEvent (load) {
this.gotoAndPlay(1);
enemy_mc_inside_turns_white = true;
}
Instance of Symbol 629 MovieClip "enemy22" in Frame 37
onClipEvent (load) {
this._rotation = random(360) + 1;
speed = -45;
spd_reset = speed;
start_timer = 0;
}
onClipEvent (enterFrame) {
start_timer--;
if (start_timer <= 0) {
this._y = this._y + ((speed = speed + 2));
if (this._y >= (_root.foreground1._y - 80)) {
if ((speed >= 0) && (!do_once)) {
do_once = true;
go = false;
}
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x - 10;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 40;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
_root["splash_mc" + _root.next_depth]._xscale = 180;
x = 0;
while (x <= 4) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
} else {
do_once = false;
}
if (this._y >= 600) {
speed = spd_reset;
go = false;
this._rotation = random(360) + 1;
this._y = 570.35;
}
this._rotation = this._rotation + 5;
}
}
Instance of Symbol 629 MovieClip "enemy23" in Frame 37
onClipEvent (load) {
this._rotation = random(360) + 1;
speed = -45;
spd_reset = speed;
start_timer = 10;
}
onClipEvent (enterFrame) {
start_timer--;
if (start_timer <= 0) {
this._y = this._y + ((speed = speed + 2));
if (this._y >= (_root.foreground1._y - 80)) {
if ((speed >= 0) && (!do_once)) {
do_once = true;
go = false;
}
if (!go) {
_root.next_depth++;
_root.splash_mc.duplicateMovieClip("splash_mc" + _root.next_depth, _root.next_depth);
_root["splash_mc" + _root.next_depth]._x = this._x - 10;
_root["splash_mc" + _root.next_depth]._y = _root.foreground1._y - 40;
_root["splash_mc" + _root.next_depth].gotoAndPlay(1);
_root["splash_mc" + _root.next_depth]._xscale = 180;
x = 0;
while (x <= 4) {
_root.next_depth++;
_root.water_drop.duplicateMovieClip("water_drop" + _root.next_depth, _root.next_depth);
_root["water_drop" + _root.next_depth].stated_x = this._x;
x++;
}
go = true;
}
} else {
do_once = false;
}
if (this._y >= 600) {
speed = spd_reset;
go = false;
this._rotation = random(360) + 1;
this._y = 570.35;
}
this._rotation = this._rotation + 5;
}
}
Instance of Symbol 623 MovieClip "foreground1" in Frame 37
onClipEvent (load) {
this.swapDepths(9800);
}
Instance of Symbol 623 MovieClip "foreground2" in Frame 37
onClipEvent (load) {
this.swapDepths(9801);
}
Frame 38
_root.next_depth = 1;
_root.jewel_number = 0;
_root.jewels_collected = 0;
_root.medal_type = 0;
_root._x = 0;
_root.finish.removeMovieClip();
_root.winner_menu.removeMovieClip();
_root.dead_menu.removeMovieClip();
_root.foreground2.removeMovieClip();
_root.foreground1.removeMovieClip();
_root.timer.removeMovieClip();
_root.save_all_vars_function();
Instance of Symbol 648 MovieClip "white_mc" in Frame 38
onClipEvent (load) {
if (_root.frame_your_on == "level_select_menu") {
if (((_root.level_playing + 10) >= 11) && ((_root.level_playing + 10) <= 38)) {
_root.music_mc.play();
}
}
if (_root.frame_your_on == "in_game") {
if (((_root.level_playing + 10) == 10) || (_root.finished_game)) {
_root.music_mc.play();
_root.finished_game = false;
}
}
_root.frame_your_on = "level_picker";
this.swapDepths(99999);
}
onClipEvent (enterFrame) {
this._alpha = this._alpha - 10;
if ((this._alpha <= 0) || (_root.frame_your_on == "level_select_menu")) {
this.removeMovieClip();
}
_root.gotoAndStop(_root.level_playing + 10);
}
Frame 39
_root.menu_mc.gotoAndStop(_root.page_to_go_to);
frame_your_on = "menus";
Symbol 17 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndPlay (5);
}
Symbol 17 MovieClip Frame 2
gotoAndPlay (1);
Symbol 17 MovieClip Frame 40
_root.play();
Symbol 21 Button
on (release) {
getURL ("http://maxgames.com/", "_blank");
}
Symbol 23 Button
on (release) {
getURL ([_root.website_link], "_blank");
}
Symbol 26 MovieClip Frame 85
_root.play();
Symbol 31 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 2
stop();
Symbol 31 MovieClip Frame 3
stopAllSounds();
Symbol 31 MovieClip Frame 4
stop();
Symbol 31 MovieClip Frame 5
stopAllSounds();
Symbol 31 MovieClip Frame 6
gotoAndStop (2);
Symbol 35 Button
on (press) {
_root.gotoAndStop(10);
}
Symbol 44 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 1
stop();
doing_animation = false;
Symbol 48 MovieClip Frame 2
doing_animation = true;
Symbol 52 Button
on (release) {
getURL ([_root.website_link], "_blank");
}
Symbol 60 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 1
stop();
locked_for_21 = false;
Symbol 70 MovieClip Frame 2
locked_for_21 = false;
Symbol 70 MovieClip Frame 3
locked_for_21 = true;
Symbol 75 MovieClip Frame 1
stop();
Symbol 78 Button
on (press) {
if (!locked) {
_root.level_playing = button_sender_var;
_root.gotoAndStop("level_picker");
} else {
if (locked_mc.locked_for_21) {
_root.unlockable_menu.gotoAndStop(3);
}
locked_blink.gotoAndPlay(2);
}
}
Symbol 80 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 1
stop();
locked = false;
Symbol 86 MovieClip Frame 2
locked = true;
Symbol 91 MovieClip Frame 1
stop();
Symbol 100 Button
on (release) {
gotoAndStop (2);
}
Symbol 103 Button
on (release) {
gotoAndStop (1);
}
Symbol 104 MovieClip Frame 1
stop();
Symbol 109 Button
on (release) {
gotoAndStop (3);
}
Symbol 110 Button
on (release) {
gotoAndStop (2);
}
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 2
unlockable_on = false;
Symbol 111 MovieClip Frame 3
unlockable_on = true;
Symbol 116 Button
on (release) {
page_to_go_to = 4;
_root.level_playing = 29;
_root.gotoAndStop("level_picker");
}
Symbol 121 Button
on (release) {
page_to_go_to = 3;
_root.level_playing = 29;
_root.gotoAndStop("level_picker");
}
Symbol 124 Button
on (release) {
page_to_go_to = 2;
_root.level_playing = 29;
_root.gotoAndStop("level_picker");
}
Symbol 131 Button
on (release) {
_root.gotoAndStop(10);
}
Symbol 139 Button
on (release) {
gotoAndStop (3);
}
Symbol 142 Button
on (release) {
gotoAndStop (2);
}
Symbol 143 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 2
stop();
_root._quality = "MEDIUM";
Symbol 143 MovieClip Frame 3
_root._quality = "LOW";
Symbol 146 Button
on (release) {
gotoAndStop (3);
}
Symbol 147 Button
on (release) {
gotoAndStop (3);
}
Symbol 149 Button
on (release) {
gotoAndStop (2);
}
Symbol 150 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 2
stop();
myLoop = new Sound(myLoopMc);
myLoop.attachSound("myLoop01");
myLoopVolume = 100;
myLoop.setVolume(myLoopVolume);
_root.sound_volume = 100;
Symbol 150 MovieClip Frame 3
myLoop = new Sound(myLoopMc);
myLoop.attachSound("myLoop01");
myLoopVolume = 0;
myLoop.setVolume(myLoopVolume);
_root.sound_volume = 0;
Symbol 152 Button
on (release) {
gotoAndStop (3);
}
Symbol 153 Button
on (release) {
gotoAndStop (2);
}
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 2
stop();
_root.timer_can_go = false;
Symbol 154 MovieClip Frame 3
if (!_root.timer_can_go) {
_root.minute_var = 0;
_root.seconds_var = 0;
_root.milliseconds_var = 0;
}
_root.timer_can_go = true;
Symbol 157 Button
on (release) {
gotoAndStop (2);
}
Symbol 160 Button
on (release) {
x = 0;
while (x <= 27) {
_root.levels_array[x] = 2;
_root.unlockables_array[x] = 1;
_root.died_yet_array[x] = 1;
x++;
}
x = 0;
while (x <= 5) {
_root.times_played_w_costume_array[x] = 99;
_root.clothes_worn[x] = 1;
_root.trophy_array[x] = 1;
x++;
}
_root.levels_array[0] = 1;
_root.next_in_line0 = 0;
_root.next_in_line1 = 0;
_root.next_in_line2 = 0;
_root.next_in_line3 = 0;
_root.next_in_line4 = 0;
_root.next_in_line5 = 0;
_root.number_of_gold = 0;
_root.got_wardobe_trophy = false;
_root.unlockable_number = 0;
_root.amount_of_times_play_with_costume = 0;
_root.number_of_gems_total_collected_trophy = 0;
_root.timer_can_go = false;
_root.save_all_vars_function();
gotoAndStop (1);
}
Symbol 162 Button
on (release) {
gotoAndStop (1);
}
Symbol 164 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 1
stop();
Symbol 194 Button
on (release) {
getURL ("http://rankz.armorbot.com/cannonblaster3/", "_blank");
}
Symbol 201 Button
on (release) {
if (_root.savefile.data.high_score != _root.number_of_trophies_you_have) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
}
Symbol 208 Button
on (release) {
gotoAndStop (1);
}
Symbol 209 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 2
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = par3;
par227.c2NvcmUx = par4 + "Z";
par227.c2NvcmUx = par227.c2NvcmUx.split("0").join("U");
par227.c2NvcmUx = par227.c2NvcmUx.split("").join("A");
par227.c2NvcmUx = par227.c2NvcmUx.split("AU").join("Y");
par227.c2NvcmUx = par227.c2NvcmUx.split("A1").join("B");
par227.c2NvcmUx = par227.c2NvcmUx.split(".").join("N");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/as3_v0.php", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = _parent.type_name;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.number_of_trophies_you_have;
__rankz_send__("MzA4NGolZSVhJW4lcw==", "ZnhWaXp2Q0M=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
_root.savefile.data.high_score = _root.number_of_trophies_you_have;
savefile.flush();
Symbol 224 MovieClip Frame 1
stop();
Instance of Symbol 143 MovieClip in Symbol 224 MovieClip Frame 3
onClipEvent (load) {
if (_root._quality == "LOW") {
this.gotoAndStop(3);
}
}
Instance of Symbol 150 MovieClip in Symbol 224 MovieClip Frame 3
onClipEvent (load) {
if (_root.sound_volume == 0) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 154 MovieClip in Symbol 224 MovieClip Frame 3
onClipEvent (load) {
if (_root.timer_can_go) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
}
Symbol 224 MovieClip Frame 4
_root.number_of_trophies_you_have = 0;
if (_root.trophy_array[0] == 1) {
almost_made_it.gotoAndStop(1);
} else {
almost_made_it.gotoAndStop(2);
}
x = 0;
while (x < 6) {
if (_root.trophy_array[x] != 1) {
if (x == 0) {
_root.number_of_trophies_you_have++;
trophy_0.gotoAndStop(4);
} else if (x == 1) {
_root.number_of_trophies_you_have++;
trophy_1.gotoAndStop(4);
} else if (x == 2) {
_root.number_of_trophies_you_have++;
trophy_2.gotoAndStop(3);
} else if (x == 3) {
_root.number_of_trophies_you_have++;
trophy_3.gotoAndStop(3);
} else if (x == 4) {
_root.number_of_trophies_you_have++;
trophy_4.gotoAndStop(2);
} else if (x == 5) {
_root.number_of_trophies_you_have++;
trophy_5.gotoAndStop(2);
}
}
high_score = _root.number_of_trophies_you_have + " Pts";
x++;
}
Symbol 227 Button
on (release) {
page_to_go_to = 5;
_root.level_playing = 29;
_root.gotoAndStop("level_picker");
}
Symbol 230 Button
on (release) {
gotoAndStop (1);
}
Symbol 247 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 1
gotoAndStop(_root.unlockable_number + 1);
Symbol 271 MovieClip Frame 9
stop();
Symbol 272 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 1
gotoAndStop(_root.unlockable_number + 1);
Symbol 299 MovieClip Frame 1
stop();
Symbol 299 MovieClip Frame 11
gotoAndStop (1);
Symbol 307 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 1
stop();
Symbol 313 MovieClip Frame 1
stop();
Symbol 316 MovieClip Frame 1
stop();
Symbol 319 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 1
stop();
Symbol 328 MovieClip Frame 1
stop();
Symbol 331 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 1
stop();
Symbol 340 MovieClip Frame 1
stop();
Symbol 343 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 1
gotoAndStop(_root.unlockable_number + 1);
Symbol 352 MovieClip Frame 1
stop();
Instance of Symbol 344 MovieClip "guy_mc" in Symbol 352 MovieClip Frame 3
onClipEvent (enterFrame) {
this.guy_mc.gotoAndStop(2);
}
Symbol 370 MovieClip Frame 1
gotoAndStop(_root.unlockable_number + 1);
Symbol 379 MovieClip Frame 1
stop();
Symbol 380 MovieClip Frame 1
stop();
Instance of Symbol 272 MovieClip "hero_1" in Symbol 380 MovieClip Frame 1
onClipEvent (load) {
spd = 5;
}
onClipEvent (enterFrame) {
if (_root.hero.started_the_game) {
if (!do_once) {
spd = 20;
do_once = true;
}
this._rotation = this._rotation + spd;
} else {
this._rotation = this._rotation + spd;
}
}
Symbol 384 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 1
stop();
Symbol 395 MovieClip Frame 9
stop();
Symbol 397 MovieClip Frame 1
stop();
Symbol 406 MovieClip Frame 1
stop();
Instance of Symbol 404 MovieClip in Symbol 406 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(3) + 1);
}
Symbol 406 MovieClip Frame 3
_root.number_of_gems_total_collected_trophy++;
Symbol 412 MovieClip Frame 25
stop();
this.removeMovieClip();
Symbol 417 MovieClip Frame 1
stop();
Symbol 423 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 1
stop();
Instance of Symbol 423 MovieClip "fuel_bar" in Symbol 424 MovieClip Frame 1
onClipEvent (load) {
bar_speed = 0;
}
onClipEvent (enterFrame) {
this._x = this._x - bar_speed;
if (this._x <= -70) {
this._x = -70;
_root.hero.dead = true;
}
if (this._x <= -40) {
this.gotoAndStop(2);
}
}
Symbol 427 MovieClip Frame 1
stop();
Symbol 430 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 1
stop();
Symbol 436 MovieClip Frame 1
stop();
Instance of Symbol 442 MovieClip in Symbol 444 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(38));
}
Instance of Symbol 442 MovieClip in Symbol 444 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(38));
}
Instance of Symbol 442 MovieClip in Symbol 444 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(38));
}
Instance of Symbol 442 MovieClip in Symbol 444 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(38));
}
Instance of Symbol 442 MovieClip in Symbol 444 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(38));
}
Instance of Symbol 442 MovieClip in Symbol 444 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(38));
}
Instance of Symbol 442 MovieClip in Symbol 444 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(38));
}
Instance of Symbol 442 MovieClip in Symbol 444 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(38));
}
Instance of Symbol 442 MovieClip in Symbol 444 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(38));
}
Symbol 448 MovieClip Frame 1
stopAllSounds();
Symbol 448 MovieClip Frame 5
stop();
Symbol 450 MovieClip Frame 1
stop();
Instance of Symbol 442 MovieClip in Symbol 450 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(38));
}
Instance of Symbol 442 MovieClip in Symbol 450 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(38));
}
Instance of Symbol 442 MovieClip in Symbol 450 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(38));
}
Instance of Symbol 442 MovieClip in Symbol 450 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(38));
}
Instance of Symbol 442 MovieClip in Symbol 450 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(38));
}
Instance of Symbol 442 MovieClip in Symbol 450 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(38));
}
Instance of Symbol 442 MovieClip in Symbol 450 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(38));
}
Instance of Symbol 442 MovieClip in Symbol 450 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(38));
}
Instance of Symbol 442 MovieClip in Symbol 450 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(38));
}
Symbol 452 MovieClip Frame 37
stop();
_root.winner_menu.gotoAndStop(2);
Instance of Symbol 450 MovieClip "sparkle_mc" in Symbol 452 MovieClip Frame 37
onClipEvent (load) {
if ((_root.jewels_collected / _root.jewel_number) != 1) {
gotoAndStop (2);
}
}
Instance of Symbol 449 MovieClip "coin_mc" in Symbol 452 MovieClip Frame 37
onClipEvent (load) {
gotoAndStop (1);
}
Symbol 463 MovieClip Frame 1
stop();
Symbol 463 MovieClip Frame 2
_root.timer.stop_timer = true;
_root.sponsor_logo.gotoAndStop(3);
Instance of Symbol 454 MovieClip in Symbol 463 MovieClip Frame 2
onClipEvent (load) {
gravity = -10;
}
onClipEvent (enterFrame) {
if (this._y <= 400) {
this._rotation = this._rotation + 10;
this._x = this._x + 7;
this._y = this._y + (gravity++);
}
}
Instance of Symbol 456 MovieClip in Symbol 463 MovieClip Frame 2
onClipEvent (load) {
gravity = -13;
}
onClipEvent (enterFrame) {
if (this._y <= 400) {
this._rotation = this._rotation - 14;
this._x = this._x + -5;
this._y = this._y + (gravity++);
}
}
Instance of Symbol 458 MovieClip in Symbol 463 MovieClip Frame 2
onClipEvent (load) {
gravity = -6;
}
onClipEvent (enterFrame) {
if (this._y <= 400) {
this._rotation = this._rotation + 8;
this._x = this._x + -3;
this._y = this._y + (gravity++);
}
}
Instance of Symbol 460 MovieClip in Symbol 463 MovieClip Frame 2
onClipEvent (load) {
gravity = -2;
}
onClipEvent (enterFrame) {
if (this._y <= 400) {
this._rotation = this._rotation + 8;
this._x = this._x + 4;
this._y = this._y + (gravity++);
}
}
Instance of Symbol 462 MovieClip in Symbol 463 MovieClip Frame 2
onClipEvent (load) {
gravity = -15;
}
onClipEvent (enterFrame) {
if (this._y <= 400) {
this._rotation = this._rotation + 8;
this._y = this._y + (gravity++);
}
}
Symbol 465 MovieClip Frame 10
stop();
Symbol 472 MovieClip Frame 1
stop();
Symbol 472 MovieClip Frame 2
your_dead = true;
x_loop = 0;
while (x_loop <= 26) {
_root.died_yet_array[x_loop] = 1;
x_loop++;
}
Symbol 472 MovieClip Frame 16
your_dead2 = true;
Symbol 472 MovieClip Frame 17
stop();
_root.sponsor_logo.gotoAndStop(2);
Instance of Symbol 468 MovieClip in Symbol 472 MovieClip Frame 17
onClipEvent (enterFrame) {
if (down_ok) {
if (Key.isDown(32)) {
_root.finish.removeMovieClip();
_root.gotoAndStop("level_picker");
_parent.gotoAndStop(1);
}
}
if (!Key.isDown(32)) {
down_ok = true;
}
}
Instance of Symbol 470 MovieClip in Symbol 472 MovieClip Frame 17
onClipEvent (enterFrame) {
this.stop();
if (allowed_to_hit_space) {
if (Key.isDown(40)) {
_root.level_playing = 0;
_root._x = 0;
_root.gotoAndStop("level_picker");
}
}
if (!Key.isDown(40)) {
allowed_to_hit_space = true;
}
}
Symbol 484 MovieClip Frame 1
stop();
Symbol 485 MovieClip Frame 1
stop();
Symbol 485 MovieClip Frame 2
jewel_stats = (_root.jewels_collected + "/") + _root.jewel_number;
_root.died_yet_array[_root.level_playing - 1] = 2;
level_display = "Level " + _root.level_playing;
if (_root.level_playing <= 9) {
level_display = "Level 0" + _root.level_playing;
}
Instance of Symbol 404 MovieClip in Symbol 485 MovieClip Frame 2
onClipEvent (load) {
this.stop();
}
Instance of Symbol 484 MovieClip "medal_type" in Symbol 485 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_root.medal_type);
what_the_played_level_was = _root.levels_array[_root.level_playing - 1];
if ((_root.complete_total_amount_of_gold + 1) == 21) {
if (_root.levels_array[_root.level_playing - 1] != 3) {
if (_root.medal_type == 1) {
if (_root.levels_array[21] == 2) {
_root.levels_array[21] = 1;
}
}
}
} else if (_root.level_playing != 21) {
if (_root.levels_array[_root.level_playing] == 2) {
_root.levels_array[_root.level_playing] = 1;
}
}
if (_root.medal_type == 1) {
if ((_root.unlockable_number + 1) >= 2) {
if (_root.times_played_w_costume_array[_root.amount_of_times_play_with_costume - 1] != _root.level_playing) {
if (_root.times_played_w_costume_array[_root.amount_of_times_play_with_costume - 2] != _root.level_playing) {
_root.times_played_w_costume_array[_root.amount_of_times_play_with_costume] = _root.level_playing;
_root.amount_of_times_play_with_costume++;
}
}
}
got_the_gold = true;
_root.levels_array[_root.level_playing - 1] = 3;
} else if (_root.medal_type == 2) {
if ((_root.levels_array[_root.level_playing - 1] <= 2) || (_root.levels_array[_root.level_playing - 1] >= 4)) {
_root.levels_array[_root.level_playing - 1] = 4;
}
} else if (_root.medal_type == 3) {
if ((_root.levels_array[_root.level_playing - 1] <= 2) || (_root.levels_array[_root.level_playing - 1] >= 5)) {
_root.levels_array[_root.level_playing - 1] = 5;
}
}
}
onClipEvent (enterFrame) {
if (allowed_to_hit_space) {
if (Key.isDown(32)) {
_root._x = 0;
if (what_the_played_level_was != 3) {
if (got_the_gold) {
if ((_root.complete_total_amount_of_gold + 1) == 27) {
_root.page_to_go_to = 6;
_root.level_playing = 29;
_root.finished_game = true;
_root.gotoAndStop("level_picker");
this.removeMovieClip();
}
}
}
if (_root.level_playing != 29) {
_root.level_playing = 0;
_root.gotoAndStop("level_picker");
}
}
}
if (!Key.isDown(32)) {
allowed_to_hit_space = true;
}
}
Symbol 486 Button
on (release) {
getURL ([_root.website_link], "_blank");
}
Symbol 487 MovieClip Frame 1
stop();
Symbol 492 MovieClip Frame 8
stop();
Symbol 494 MovieClip Frame 1
stop();
Symbol 505 MovieClip Frame 1
stop();
Symbol 506 MovieClip Frame 4
first_splash = true;
Symbol 506 MovieClip Frame 34
first_splash = true;
Symbol 512 MovieClip Frame 1
stop();
Symbol 517 MovieClip Frame 1
stop();
Symbol 517 MovieClip Frame 2
play();
Symbol 517 MovieClip Frame 11
stop();
Instance of Symbol 519 MovieClip in Symbol 526 MovieClip Frame 1
onClipEvent (load) {
gravity = -9;
}
onClipEvent (enterFrame) {
if (this._y <= 400) {
this._rotation = this._rotation + 3;
this._x = this._x + -1;
this._y = this._y + (gravity++);
}
}
Instance of Symbol 521 MovieClip in Symbol 526 MovieClip Frame 1
onClipEvent (load) {
gravity = -11;
}
onClipEvent (enterFrame) {
if (this._y <= 400) {
this._rotation = this._rotation - 2;
this._x = this._x + 2;
this._y = this._y + (gravity++);
}
}
Instance of Symbol 523 MovieClip in Symbol 526 MovieClip Frame 1
onClipEvent (load) {
gravity = -7;
}
onClipEvent (enterFrame) {
if (this._y <= 400) {
this._rotation = this._rotation + 3;
this._x = this._x + -3;
this._y = this._y + (gravity++);
}
}
Instance of Symbol 525 MovieClip in Symbol 526 MovieClip Frame 1
onClipEvent (load) {
gravity = -8;
}
onClipEvent (enterFrame) {
if (this._y <= 400) {
this._rotation = this._rotation - 4;
this._x = this._x + -1;
this._y = this._y + (gravity++);
}
}
Symbol 527 MovieClip Frame 1
stop();
Symbol 527 MovieClip Frame 11
stop();
Symbol 533 MovieClip Frame 1
stop();
Instance of Symbol 546 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(50) + 1);
}
Symbol 549 MovieClip Frame 1
stop();
Instance of Symbol 536 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (15);
}
Instance of Symbol 538 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (9);
}
Instance of Symbol 540 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (5);
}
Instance of Symbol 542 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (1);
}
Instance of Symbol 536 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (15);
}
Instance of Symbol 538 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (9);
}
Instance of Symbol 540 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (5);
}
Instance of Symbol 542 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (1);
}
Instance of Symbol 536 MovieClip in Symbol 549 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (15);
}
Instance of Symbol 538 MovieClip in Symbol 549 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (9);
}
Instance of Symbol 540 MovieClip in Symbol 549 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (5);
}
Instance of Symbol 542 MovieClip in Symbol 549 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (1);
}
Instance of Symbol 536 MovieClip in Symbol 549 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (15);
}
Instance of Symbol 538 MovieClip in Symbol 549 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (9);
}
Instance of Symbol 540 MovieClip in Symbol 549 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (5);
}
Instance of Symbol 542 MovieClip in Symbol 549 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (1);
}
Symbol 549 MovieClip Frame 11
stop();
Instance of Symbol 533 MovieClip "enemy" in Symbol 551 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _parent.spider._x;
this._y = _parent.spider._y;
}
Symbol 551 MovieClip Frame 10
stop();
Symbol 553 MovieClip Frame 1
stop();
Instance of Symbol 533 MovieClip "mask_mc" in Symbol 553 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _parent.spider._x;
this._y = _parent.spider._y - 55;
}
Instance of Symbol 533 MovieClip "enemy" in Symbol 553 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _parent.spider._x;
this._y = _parent.spider._y;
this.gotoAndStop(2);
}
Symbol 553 MovieClip Frame 2
spider.play();
Symbol 555 MovieClip Frame 1
stop();
Symbol 559 MovieClip Frame 1
stop();
Symbol 566 MovieClip Frame 1
stop();
Instance of Symbol 562 MovieClip in Symbol 566 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(50) + 1);
}
Symbol 569 MovieClip Frame 1
stop();
Symbol 572 MovieClip Frame 1
stop();
Symbol 573 MovieClip Frame 14
_parent.gotoAndStop(1);
Symbol 574 MovieClip Frame 1
stop();
mouth_closed = true;
Symbol 574 MovieClip Frame 2
mouth_closed = false;
Symbol 578 MovieClip Frame 1
stop();
Symbol 578 MovieClip Frame 2
play();
Symbol 582 MovieClip Frame 1
stop();
Symbol 582 MovieClip Frame 2
play();
Symbol 585 MovieClip Frame 1
stop();
Instance of Symbol 587 MovieClip in Symbol 590 MovieClip Frame 1
onClipEvent (load) {
gravity = -8;
}
onClipEvent (enterFrame) {
if (this._y <= 600) {
this._rotation = this._rotation + 10;
this._x = this._x + -1;
this._y = this._y + (gravity++);
}
}
Instance of Symbol 587 MovieClip in Symbol 590 MovieClip Frame 1
onClipEvent (load) {
gravity = -6;
}
onClipEvent (enterFrame) {
if (this._y <= 600) {
this._rotation = this._rotation - 18;
this._x = this._x + 1;
this._y = this._y + (gravity++);
}
}
Instance of Symbol 589 MovieClip in Symbol 590 MovieClip Frame 1
onClipEvent (load) {
gravity = -3;
}
onClipEvent (enterFrame) {
if (this._y <= 600) {
this._rotation = this._rotation - 8;
this._x = this._x + 2;
this._y = this._y + (gravity++);
}
}
Symbol 591 MovieClip Frame 1
stop();
Symbol 591 MovieClip Frame 11
stop();
Symbol 616 MovieClip Frame 1
stop();
Symbol 625 MovieClip Frame 1
stop();
Symbol 627 MovieClip Frame 9
stop();
Symbol 629 MovieClip Frame 1
stop();
Symbol 631 MovieClip Frame 1
stop();
Symbol 639 MovieClip Frame 1
stop();
Instance of Symbol 634 MovieClip in Symbol 639 MovieClip Frame 2
onClipEvent (load) {
gravity = -6;
}
onClipEvent (enterFrame) {
if (this._y <= 600) {
this._rotation = this._rotation - 18;
this._x = this._x - 1;
this._y = this._y + (gravity++);
}
}
Instance of Symbol 636 MovieClip in Symbol 639 MovieClip Frame 2
onClipEvent (load) {
gravity = -9;
}
onClipEvent (enterFrame) {
if (this._y <= 600) {
this._rotation = this._rotation - 12;
this._x = this._x - 2;
this._y = this._y + (gravity++);
}
}
Instance of Symbol 638 MovieClip in Symbol 639 MovieClip Frame 2
onClipEvent (load) {
gravity = -12;
}
onClipEvent (enterFrame) {
if (this._y <= 600) {
this._rotation = this._rotation - 23;
this._x = this._x + 2;
this._y = this._y + (gravity++);
}
}
Symbol 643 MovieClip Frame 1
stop();
Symbol 644 MovieClip Frame 31
first_splash = true;
Symbol 644 MovieClip Frame 87
first_splash = true;
Symbol 649 Button
on (release) {
_root.menu_mc.gotoAndStop(4);
x = 0;
while (x <= 26) {
_root["level" + x].gotoAndStop(6);
x++;
}
}
Symbol 650 Button
on (release) {
_root.menu_mc.gotoAndStop(3);
x = 0;
while (x <= 26) {
_root["level" + x]._alpha = 0;
x++;
}
}
Symbol 651 Button
on (release) {
_root.menu_mc.gotoAndStop(2);
x = 0;
while (x <= 26) {
_root["level" + x]._alpha = 0;
x++;
}
}
Symbol 652 Button
on (release) {
_root.menu_mc.gotoAndStop(5);
x = 0;
while (x <= 26) {
_root["level" + x]._alpha = 0;
x++;
}
}