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);
}
mochi.as2.MochiAd.showPreGameAd({id:"d4eda0f18f231aa0", res:"800x440"});
__com_mochibot__("d9fcf62f", this, 10301, true);
lavr = 1;
function menuChoiceOne() {
getURL ("http://www.pyrozen.com", "_blank");
}
lvl = 1;
st_qual = 2;
ob_name_1 = "Sink 2 boats";
ob_name_2 = "Kill 3 people";
ob_name_3 = "Find 2 treasure chests";
ob_name_4 = "Sink a boat into the ravine";
ob_name_5 = "Kill all the scuba divers";
ob_name_6 = "Eat 6 fish and kill 4 people";
ob_name_7 = "Kill 6 people";
ob_name_8 = "Kill the shark";
ob_name_9 = "Kill 8 people";
ob_name_10 = "Kill the sea monster";
seeds = 0;
jaws = 1;
fins = 1;
spine = 1;
scales = 1;
boost = 1;
radar = 1;
st_killed = 0;
ac_1 = 1;
ac_2 = 1;
ac_3 = 1;
ac_4 = 1;
ac_5 = 1;
ac_6 = 1;
ac_7 = 1;
ac_8 = 1;
volum = 100;
blood = 0;
poid = 50;
_root.poid_1 = 50;
_root.poid_2 = 50;
_root.poid_3 = 50;
_root.poid_4 = 50;
_root.poid_5 = 50;
_root.poid_6 = 50;
_root.poid_7 = 50;
_root.poid_8 = 50;
_root.poid_9 = 50;
_root.poid_10 = 50;
_root.poid_11 = 50;
_root.poid_12 = 50;
_root.poid_13 = 50;
_root.poid_14 = 50;
_root.poid_15 = 50;
_root.poid_16 = 50;
_root.poid_17 = 50;
_root.poid_18 = 50;
_root.poid_19 = 50;
_root.poid_20 = 50;
upg_cost = 30;
seeds_up_1 = 1 * upg_cost;
seeds_up_2 = 2 * upg_cost;
seeds_up_3 = 3 * upg_cost;
seeds_up_4 = 4 * upg_cost;
jaws_up_1 = 1 * upg_cost;
jaws_up_2 = 2 * upg_cost;
jaws_up_3 = 3 * upg_cost;
jaws_up_4 = 4 * upg_cost;
fins_up_1 = 1 * upg_cost;
fins_up_2 = 2 * upg_cost;
fins_up_3 = 3 * upg_cost;
fins_up_4 = 4 * upg_cost;
spine_up_1 = 1 * upg_cost;
spine_up_2 = 2 * upg_cost;
spine_up_3 = 3 * upg_cost;
spine_up_4 = 4 * upg_cost;
scales_up_1 = 1 * upg_cost;
scales_up_2 = 2 * upg_cost;
scales_up_3 = 3 * upg_cost;
scales_up_4 = 4 * upg_cost;
boost_up_1 = 1 * upg_cost;
boost_up_2 = 2 * upg_cost;
boost_up_3 = 3 * upg_cost;
boost_up_4 = 4 * upg_cost;
radar_up_1 = 1 * upg_cost;
radar_up_2 = 2 * upg_cost;
radar_up_3 = 3 * upg_cost;
radar_up_4 = 4 * upg_cost;
stop();
_root.user = SharedObject.getLocal("user_FeedUs3");
onEnterFrame = function () {
};
NewMenu = new ContextMenu();
NewMenu.hideBuiltInItems();
NewMenu.customItems.push(new ContextMenuItem("Pyrozen", menuChoiceOne));
this.menu = NewMenu;
Frame 3
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (4);
}
if (Key.isDown(32)) {
gotoAndPlay (4);
}
};
Frame 18
if (_root.user.data.lvl == undefined) {
gotoAndStop (19);
} else {
stop();
}
Instance of Symbol 42 MovieClip in Frame 18
onClipEvent (load) {
txx = "CONTINUE";
boxx.gotoAndStop(2);
boxx2.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_root.user.data.lvl != undefined) {
_root.blood = _root.user.data.blood;
_root.poid = _root.user.data.poid;
_root.seeds = _root.user.data.seeds;
_root.fins = _root.user.data.fins;
_root.scales = _root.user.data.scales;
_root.spine = _root.user.data.spine;
_root.jaws = _root.user.data.jaws;
_root.boost = _root.user.data.boost;
_root.radar = _root.user.data.radar;
_root.ac_1 = _root.user.data.ac_1;
_root.ac_2 = _root.user.data.ac_2;
_root.ac_3 = _root.user.data.ac_3;
_root.ac_4 = _root.user.data.ac_4;
_root.ac_5 = _root.user.data.ac_5;
_root.ac_6 = _root.user.data.ac_6;
_root.ac_7 = _root.user.data.ac_7;
_root.ac_8 = _root.user.data.ac_8;
_root.st_killed = _root.user.data.st_killed;
_root.lvl = _root.user.data.lvl;
gotoAndStop (40);
}
_parent.play();
}
}
Instance of Symbol 42 MovieClip in Frame 18
onClipEvent (load) {
txx = "NEW GAME";
boxx.gotoAndStop(2);
boxx2.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.play();
}
}
Frame 19
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (20);
}
};
Frame 20
back.stop();
timer = 100;
stop();
onEnterFrame = function () {
if (_root.timer > 0) {
timer = timer - 1;
} else {
from_mainmenu = 2;
gotoAndStop (40);
}
};
Instance of Symbol 605 MovieClip "diadd" in Frame 20
onClipEvent (load) {
boxx.gotoAndStop(Math.round(_root.lavr));
boxx2.boxx.gotoAndStop(Math.round(_root.lavr));
if (_root.lavr != 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
boxx2.gotoAndStop(boxx.shade + 1);
}
Frame 40
if (from_mainmenu == 2) {
from_mainmenu = 1;
back.gotoAndPlay(2);
} else {
back.gotoAndPlay(35);
}
if ((_root.lvl >= 11) && (_root.neverwin != 2)) {
_root.neverwin = 2;
gotoAndStop (43);
}
_quality = "high";
stop();
onEnterFrame = function () {
if (save_go == 2) {
save_go = 1;
_root.user.data.blood = _root.blood;
_root.user.data.poid = _root.poid;
_root.user.data.seeds = _root.seeds;
_root.user.data.fins = _root.fins;
_root.user.data.scales = _root.scales;
_root.user.data.spine = _root.spine;
_root.user.data.jaws = _root.jaws;
_root.user.data.boost = _root.boost;
_root.user.data.radar = _root.radar;
_root.user.data.lvl = _root.lvl;
_root.user.data.ac_1 = _root.ac_1;
_root.user.data.ac_2 = _root.ac_2;
_root.user.data.ac_3 = _root.ac_3;
_root.user.data.ac_4 = _root.ac_4;
_root.user.data.ac_5 = _root.ac_5;
_root.user.data.ac_6 = _root.ac_6;
_root.user.data.ac_7 = _root.ac_7;
_root.user.data.ac_8 = _root.ac_8;
_root.user.data.st_killed = _root.st_killed;
_root.user.data.user.flush();
}
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (41);
}
if (_root.cheat_6 == 2) {
poid = 350;
}
};
Frame 41
_root.weather = random(2) + 1;
_root.courant = random(2) + 1;
if (_root.courant != 1) {
_root.courant = -1;
}
if (_root.cheat_1 == 2) {
_root.weather = 1;
}
if (_root.cheat_1 == 3) {
_root.weather = 2;
}
if (_root.cheat_4 == 2) {
_root.cheat_4 = 1;
lvl = lvl + 1;
if (lvl > 11) {
lvl = 11;
}
}
back.gotoAndStop(1);
back.eau._visible = false;
back.logo._visible = false;
back.menu2.gotoAndStop(2);
_quality = "high";
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (51);
}
};
Frame 51
act = 1;
ob_10 = 1;
killed = 0;
sinked = 0;
scubed = 0;
fished = 0;
knock_over = 0;
boat_sinked_1 = 0;
boat_sinked_2 = 0;
boat_sinked_3 = 0;
boat_sinked_4 = 0;
boat_sinked_5 = 0;
boat_sinked_6 = 0;
boat_sinked_7 = 0;
boat_sinked_8 = 0;
boat_sinked_9 = 0;
boat_sinked_10 = 0;
ob_done = 1;
camera_speed = 0.08;
boost_st = 1;
boost_cooling = 0;
pt_water_nb = 1;
pt_bulle_nb = 1;
pt_parts_nb = 1;
pt_blood_nb = 1;
round_done = 0;
pt_blast_nb = 1;
nb_peeps = 1;
if (_root.cheat_5 == 2) {
seeds = 20;
}
if (_root.cheat_3 == 2) {
jaws = 5;
boost = 5;
scales = 3;
spine = 5;
fins = 5;
}
p_energy_0 = 100 + (_root.scales * 50);
p_energy_1 = 100;
p_energy_2 = 100;
p_energy_3 = 100;
p_energy_4 = 100;
p_energy_5 = 100;
p_energy_6 = 100;
p_energy_7 = 100;
p_energy_8 = 100;
p_energy_9 = 100;
p_energy_10 = 100;
p_energy_11 = 100;
p_energy_12 = 100;
p_energy_13 = 100;
p_energy_14 = 100;
p_energy_15 = 100;
p_energy_16 = 100;
p_energy_17 = 100;
p_energy_18 = 100;
p_energy_19 = 100;
p_energy_20 = 100;
blood_st = blood;
timer_snd_panic = 0;
timer_snd_naye = 0;
if (weather == undefined) {
weather = random(2) + 1;
courant = 1;
}
cnt.gotoAndStop(weather);
if (weather == 2) {
soleil._visible = false;
soleil2._visible = false;
}
stop();
onEnterFrame = function () {
if (Key.isDown(32)) {
shake = 20;
}
if (timer_snd_panic > 0) {
timer_snd_panic = timer_snd_panic - 1;
}
if (timer_snd_naye > 0) {
timer_snd_naye = timer_snd_naye - 1;
}
if (boost_cooling > 0) {
boost_cooling = boost_cooling - 1;
}
if (boost_cooling < 0) {
boost_cooling = 0;
}
if (boost_st > 1) {
boost_st = boost_st * 0.88;
}
if (boost_st < 1) {
boost_st = 1;
}
if (((lvl == 1) && (ob_done == 1)) && (sinked >= 2)) {
ob_done = 2;
}
if (((lvl == 2) && (ob_done == 1)) && (killed >= 3)) {
ob_done = 2;
}
if ((((lvl == 3) && (ob_done == 1)) && (eval (("cnt.chest_" + chest_1) + "._currentframe") >= 3)) && (eval (("cnt.chest_" + chest_2) + "._currentframe") >= 3)) {
ob_done = 2;
}
if (((lvl == 4) && (ob_done == 1)) && (cnt.boatravinlvl4 == 2)) {
ob_done = 2;
}
if (((lvl == 5) && (ob_done == 1)) && (scubed >= 3)) {
ob_done = 2;
}
if ((((lvl == 6) && (ob_done == 1)) && (killed >= 4)) && (fished >= 6)) {
ob_done = 2;
}
if (((lvl == 7) && (ob_done == 1)) && (killed >= 6)) {
ob_done = 2;
}
if (((lvl == 8) && (ob_done == 1)) && (cnt.requin_dead == 2)) {
ob_done = 2;
}
if (((lvl == 9) && (ob_done == 1)) && (killed >= 8)) {
ob_done = 2;
}
if (((lvl == 10) && (ob_done == 1)) && (cnt.seamonster_dead == 2)) {
ob_done = 2;
}
if ((ac_2 != 2) && (poid >= 350)) {
ac_2 = 2;
achiv_go = 2;
}
if (st_qual == 1) {
_quality = "low";
}
if (st_qual == 2) {
_quality = "medium";
}
if (st_qual == 3) {
_quality = "high";
}
if (_root.poid > 350) {
_root.poid = 350;
}
who = "cnt.p_0";
if (act == 1) {
if ((cnt._x - 1) > (400 - eval (who + "._x"))) {
speedxcam = (((cnt._x - 1) - (400 - eval (who + "._x"))) * camera_speed) * -1;
}
if ((cnt._x + 1) < (400 - eval (who + "._x"))) {
speedxcam = ((400 - eval (who + "._x")) - (cnt._x + 1)) * camera_speed;
}
if ((cnt._y - 1) > (220 - eval (who + "._y"))) {
cnt._y = cnt._y - (((cnt._y - 1) - (220 - eval (who + "._y"))) * camera_speed);
}
if ((cnt._y + 1) < (220 - eval (who + "._y"))) {
cnt._y = cnt._y + (((220 - eval (who + "._y")) - (cnt._y + 1)) * camera_speed);
}
cnt._x = cnt._x + speedxcam;
}
if (shake != 0) {
shake = Math.round(shake - 1);
cnt._x = cnt._x + (random(shake) - (shake * 0.5));
cnt._y = cnt._y + (random(shake) - (shake * 0.5));
}
soleil._x = cnt._x * 0.38;
soleil._y = cnt._y;
soleil2._x = cnt._x * 0.38;
soleil2._y = cnt._y;
oceanfloor._x = cnt._x * 0.5;
oceanfloor._y = cnt._y;
interr.weather._x = 0;
interr.weather._y = (cnt._y - 440) + 250;
if (_root.got2go == 2) {
_root.got2go = 1;
_root.save_go = 2;
gotoAndPlay (40);
}
if (_root.got2go == 3) {
_root.got2go = 1;
_root.save_go = 2;
gotoAndPlay (40);
}
};
Instance of Symbol 605 MovieClip "diadd" in Frame 51
onClipEvent (load) {
boxx.gotoAndStop(Math.round(_root.lavr));
boxx2.boxx.gotoAndStop(Math.round(_root.lavr));
if (_root.lavr != 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
boxx2.gotoAndStop(boxx.shade + 1);
}
Symbol 5 MovieClip Frame 1
_root.stop();
_root.PercentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (_root.PercentLoaded != 100) {
setProperty(bar, _xscale , _root.PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 5 MovieClip Frame 2
gotoAndPlay (1);
Symbol 5 MovieClip Frame 3
_root.play();
Symbol 14 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.PercentLoaded + 1);
};
Symbol 1568 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showPreGameAd(options) {
var _local27 = {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 = _parseOptions(options, _local27);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local24 = 11000;
var _local19 = options.ad_timeout;
if (options.skip) {
_local19 = 0;
}
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local15 = _getRes(options);
var _local5 = _local15[0];
var _local14 = _local15[1];
mc._x = _local5 * 0.5;
mc._y = _local14 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local5 * -0.5;
chk._y = _local14 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local7._visible = false;
delete options.no_progress_bar;
} else {
_local7._x = 10;
_local7._y = _local14 - 20;
}
var _local23 = options.color;
delete options.color;
var _local21 = options.background;
delete options.background;
var _local25 = options.outline;
delete options.outline;
var _local6 = _local7.createEmptyMovieClip("_outline", 1);
_local6.beginFill(_local21);
_local6.moveTo(0, 0);
_local6.lineTo(_local5 - 20, 0);
_local6.lineTo(_local5 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
_local6.endFill();
var _local4 = _local7.createEmptyMovieClip("_inside", 2);
_local4.beginFill(_local23);
_local4.moveTo(0, 0);
_local4.lineTo(_local5 - 20, 0);
_local4.lineTo(_local5 - 20, 10);
_local4.lineTo(0, 10);
_local4.lineTo(0, 0);
_local4.endFill();
_local4._xscale = 0;
var _local8 = _local7.createEmptyMovieClip("_outline", 3);
_local8.lineStyle(0, _local25, 100);
_local8.moveTo(0, 0);
_local8.lineTo(_local5 - 20, 0);
_local8.lineTo(_local5 - 20, 10);
_local8.lineTo(0, 10);
_local8.lineTo(0, 0);
chk.ad_msec = _local24;
chk.ad_timeout = _local19;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local10 = this._parent._parent;
var _local3 = _local10;
while ((!_local3.getBytesTotal()) && (_local3)) {
_local3 = _local3._parent;
}
if (!_local3) {
_local3 = _root;
}
var _local13 = this._parent._mochiad_ctr;
var _local7 = getTimer() - this.started;
var _local5 = false;
var _local6 = _local3.getBytesTotal();
var _local9 = _local3.getBytesLoaded();
var _local4 = (100 * _local9) / _local6;
var _local12 = (100 * _local7) / chk.ad_msec;
var _local11 = this._mochiad_bar._inside;
var _local15 = Math.min(100, Math.min(_local4 || 0, _local12));
_local15 = Math.max(this.last_pcnt, _local15);
this.last_pcnt = _local15;
_local11._xscale = _local15;
options.ad_progress(_local15);
if (sendHostProgress) {
mochi.as2.MochiAd.containerNotify(clip, {id:"hostLoadPcnt", pcnt:_local4}, clip._mochiad._containerLCName);
if (_local4 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local8 = _local13.getBytesTotal();
if ((_local8 > 0) || (typeof(_local8) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local7 > chk.ad_timeout) && (_local4 == 100)) {
options.ad_failed();
_local5 = true;
}
}
if (_local7 > chk.ad_msec) {
_local5 = true;
}
if (((_local6 > 0) && (_local9 >= _local6)) && (_local5)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local10 = {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 = _parseOptions(options, _local10);
var clip = options.clip;
var _local9 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var _local3 = clip._mochiad;
_local3.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local11 = _local5[0];
var _local8 = _local5[1];
_local3._x = _local11 * 0.5;
_local3._y = _local8 * 0.5;
var chk = _local3.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local9;
chk.started = getTimer();
chk.showing = false;
_local3.lc.adLoaded = options.ad_loaded;
_local3.lc.adSkipped = options.ad_skipped;
_local3.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
_local3.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local21 = false;
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
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 = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local12 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local12);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local6 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local6._mochiad_loaded) {
return(null);
}
var _local11 = options.depth;
delete options.depth;
var mc = _local6.createEmptyMovieClip("_mochiad", _local11);
var _local10 = _getRes(options);
options.res = (_local10[0] + "x") + _local10[1];
options.server = options.server + options.id;
delete options.id;
_local6._mochiad_loaded = true;
if (_local6._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = mc.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local9 = _local4.server;
delete _local4.server;
var _local13 = _allowDomains(_local9);
mc.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new Object();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = mc;
_local5.name = _local8;
_local5.hostname = _local13;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
mc.lc = _local5;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
_local4.lc = _local8;
_local4.st = getTimer();
if (!options.skip) {
_local4.loadMovie(_local9 + ".swf", "POST");
}
return(mc);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
containerNotify(clip, {id:"unload"}, clip._mochiad._containerLCName);
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
containerRpcResult(clip, callbackID, _local4, clip._mochiad._containerLCName);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
containerRpcResult(clip, callbackID, _local3, clip._mochiad._containerLCName);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
static function containerNotify(clip, args, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.notify) {
_local1.notify(args);
} else {
new LocalConnection().send(lcName, "notify", args);
}
}
static function containerRpcResult(clip, callbackID, val, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.rpcResult) {
_local1.rpcResult(callbackID, val);
} else {
new LocalConnection().send(lcName, "rpcResult", callbackID, val);
}
}
}
Symbol 1569 MovieClip [__Packages.mochi.as2.MochiEventDispatcher] Frame 0
class mochi.as2.MochiEventDispatcher
{
var eventTable;
function MochiEventDispatcher () {
eventTable = {};
}
function buildDelegate(thisObject, thatObject) {
var _local2 = {thisObject:thisObject, thatObject:thatObject};
if (thatObject != undefined) {
var funct = ((typeof(thatObject) == "string") ? (thisObject[thatObject]) : (thatObject));
_local2.delegate = function (args) {
funct.call(thisObject, args);
};
} else {
_local2.delegate = thisObject;
}
return(_local2);
}
function compareDelegate(d_A, d_B) {
if ((d_A.thisObject != d_B.thisObject) || (d_A.thatObject != d_B.thatObject)) {
return(false);
}
return(true);
}
function addEventListener(event, thisObject, thatObject) {
removeEventListener(event, thisObject, thatObject);
eventTable[event].push(buildDelegate(thisObject, thatObject));
}
function removeEventListener(event, thisObject, thatObject) {
var _local3 = buildDelegate(thisObject, thatObject);
if (eventTable[event] == undefined) {
eventTable[event] = [];
return(undefined);
}
for (var _local4 in eventTable[event]) {
if (!compareDelegate(eventTable[event][_local4], _local3)) {
continue;
}
eventTable[event].splice(Number(_local4), 1);
}
}
function triggerEvent(event, args) {
if (eventTable[event] == undefined) {
return(undefined);
}
for (var _local4 in eventTable[event]) {
eventTable[event][_local4].delegate(args);
}
}
}
Symbol 1570 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.9.4 as2");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local6 = "_mochiservices_com_" + id;
var _local5 = new MovieClipLoader();
var _local3 = {};
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
onError("NotConnected");
return(null);
}
if (urlOptions().servURL) {
_servURL = urlOptions().servURL;
}
var _local4 = _servURL + _services;
if (urlOptions().servicesURL) {
_local4 = urlOptions().servicesURL;
}
allowDomains(_local4);
_clip = clip.createEmptyMovieClip(_local6, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
if (_local3.waitInterval != null) {
clearInterval(_local3.waitInterval);
}
_local3.onLoadError = loadError;
_local3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_local3.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
_local3.startTime = getTimer();
_local3.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError("IOError");
}
clearInterval(this.waitInterval);
}
};
_local3.waitInterval = setInterval(_local3, "wait", 1000);
_local5.addListener(_local3);
_local5.loadClip((((((_local4 + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options)) + "&api_version=") + getVersion(), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function loadError(target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
disconnect();
onError(errorCode);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case "services" :
mochi.as2.MochiServices.triggerEvent(pkg.event, pkg.args);
break;
case "events" :
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case "coins" :
mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args);
break;
case "social" :
mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args);
}
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError("IOError");
};
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError("NotConnected");
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError("NotConnected");
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
trace("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + methodName);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
var _local6;
if (_root._url.indexOf("mochiad_options") != -1) {
var _local2 = (_root._url.indexOf("mochiad_options") + "mochiad_options".length) + 1;
_local6 = _root._url.substr(_local2, _root._url.length);
} else if (_root.mochiad_options) {
_local6 = _root.mochiad_options;
}
if (_local6) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://link.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static function setContainer(clip) {
}
static function stayOnTop(clip) {
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static var CONNECTED = "onConnected";
static var _servURL = "http://www.mochiads.com/static/lib/services/";
static var _services = "services.swf";
static var _mochiLC = "MochiLC.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 1571 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0
class mochi.as2.MochiEvents
{
function MochiEvents () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function getAchievements(properties) {
mochi.as2.MochiServices.send("events_getAchievements", properties);
}
static function unlockAchievement(properties) {
mochi.as2.MochiServices.send("events_unlockAchievement", properties);
}
static function startSession(achievementID) {
mochi.as2.MochiServices.send("events_beginSession", {achievementID:achievementID}, null, null);
}
static function showAwards(options) {
mochi.as2.MochiServices.send("events_showAwards", options, null, null);
}
static function setNotifications(style) {
mochi.as2.MochiServices.send("events_setNotifications", style, null, null);
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static function startPlay(tag) {
if (tag == undefined) {
tag = "gameplay";
}
mochi.as2.MochiServices.send("events_setRoundID", {tag:String(tag)}, null, null);
}
static function endPlay() {
mochi.as2.MochiServices.send("events_clearRoundID", null, null, null);
}
static function trackEvent(tag, value) {
mochi.as2.MochiServices.send("events_trackEvent", {tag:tag, value:value}, null, null);
}
static var ACHIEVEMENTS_OWNED = "AchievementOwned";
static var ACHIEVEMENT_NEW = "AchievementReceived";
static var GAME_ACHIEVEMENTS = "GameAchievements";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var IO_PENDING = "IOPending";
static var ALIGN_TOP_LEFT = "ALIGN_TL";
static var ALIGN_TOP = "ALIGN_T";
static var ALIGN_TOP_RIGHT = "ALIGN_TR";
static var ALIGN_LEFT = "ALIGN_L";
static var ALIGN_CENTER = "ALIGN_C";
static var ALIGN_RIGHT = "ALIGN_R";
static var ALIGN_BOTTOM_LEFT = "ALIGN_BL";
static var ALIGN_BOTTOM = "ALIGN_B";
static var ALIGN_BOTTOM_RIGHT = "ALIGN_BR";
static var FORMAT_SHORT = "ShortForm";
static var FORMAT_LONG = "LongForm";
static var FORMAT_NONE = "NoForm";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 1572 MovieClip [__Packages.mochi.as2.MochiCoins] Frame 0
class mochi.as2.MochiCoins
{
function MochiCoins () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showStore(options) {
mochi.as2.MochiServices.send("coins_showStore", {options:options}, null, null);
}
static function showItem(options) {
if ((options == undefined) || (typeof(options.item) != "string")) {
trace("ERROR: showItem call must pass an Object with an item key");
return(undefined);
}
mochi.as2.MochiServices.send("coins_showItem", {options:options}, null, null);
}
static function showVideo(options) {
if ((options == undefined) || (typeof(options.item) != "string")) {
trace("ERROR: showVideo call must pass an Object with an item key");
return(undefined);
}
mochi.as2.MochiServices.send("coins_showVideo", {options:options}, null, null);
}
static function getStoreItems() {
mochi.as2.MochiServices.send("coins_getStoreItems");
}
static function requestFunding(properties) {
mochi.as2.MochiServices.send("social_requestFunding", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var STORE_SHOW = "StoreShow";
static var STORE_HIDE = "StoreHide";
static var ITEM_OWNED = "ItemOwned";
static var ITEM_NEW = "ItemNew";
static var STORE_ITEMS = "StoreItems";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 1573 MovieClip [__Packages.mochi.as2.MochiSocial] Frame 0
class mochi.as2.MochiSocial
{
function MochiSocial () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showLoginWidget(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("social_showLoginWidget", {options:options});
}
static function hideLoginWidget() {
mochi.as2.MochiServices.send("social_hideLoginWidget");
}
static function requestLogin(properties) {
mochi.as2.MochiServices.send("social_requestLogin", properties);
}
static function getFriendsList(properties) {
mochi.as2.MochiServices.send("social_getFriendsList", properties);
}
static function showProfile(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("social_showProfile", options);
}
static function postToStream(properties) {
mochi.as2.MochiServices.send("social_postToStream", properties);
}
static function inviteFriends(properties) {
mochi.as2.MochiServices.send("social_inviteFriends", properties);
}
static function requestFan(properties) {
mochi.as2.MochiServices.send("social_requestFan", properties);
}
static function saveUserProperties(properties) {
mochi.as2.MochiServices.send("social_saveUserProperties", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var LOGGED_IN = "LoggedIn";
static var LOGGED_OUT = "LoggedOut";
static var LOGIN_SHOW = "LoginShow";
static var LOGIN_HIDE = "LoginHide";
static var LOGIN_SHOWN = "LoginShown";
static var PROFILE_SHOW = "ProfileShow";
static var PROFILE_HIDE = "ProfileHide";
static var PROPERTIES_SAVED = "PropertySaved";
static var WIDGET_LOADED = "WidgetLoaded";
static var FRIEND_LIST = "FriendsList";
static var PROFILE_DATA = "ProfileData";
static var GAMEPLAY_DATA = "GameplayData";
static var ACTION_CANCELED = "onCancel";
static var ACTION_COMPLETE = "onComplete";
static var USER_INFO = "UserInfo";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var PROPERTIES_SIZE = "PropertiesSize";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 22 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 1
stop();
Symbol 32 Button
on (release) {
_root.mover = -1;
act = 2;
}
on (rollOver) {
act = 3;
gotoAndPlay (2);
}
on (rollOut) {
_root.mover = -1;
gotoAndPlay (21);
}
Symbol 40 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 1
boxx.gotoAndStop(random(3) + 1);
Symbol 41 MovieClip Frame 25
boxx2.gotoAndStop(random(3) + 1);
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 20
stop();
Symbol 43 MovieClip Frame 150
stop();
Instance of Symbol 42 MovieClip in Symbol 43 MovieClip Frame 150
onClipEvent (load) {
txx = "PLAY";
boxx.gotoAndStop(2);
boxx2.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.play();
}
}
Symbol 44 Button
on (keyPress "U") {
if (_root.test_de_boat == undefined) {
_root.test_de_boat = 0;
}
_root.test_de_boat = _root.test_de_boat + 1;
}
on (keyPress "Y") {
if (_root.test_de_boat == undefined) {
_root.test_de_boat = 0;
}
_root.test_de_boat = _root.test_de_boat + 5;
}
on (keyPress "I") {
gotoAndStop (51);
}
on (keyPress "P") {
gotoAndStop (20);
}
Symbol 63 MovieClip Frame 67
stop();
Symbol 64 Button
on (release) {
getURL ("http://www.pyrozen.com/", "_blank");
}
on (keyPress "<Space>") {
_parent.play();
}
Symbol 69 MovieClip Frame 9
aa = random(2) + 1;
if (aa == 2) {
gotoAndPlay (1);
}
Symbol 69 MovieClip Frame 30
aa = random(2) + 1;
if (aa == 2) {
gotoAndPlay (11);
}
Instance of Symbol 69 MovieClip in Symbol 70 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
alphaa = 50;
alphaas = (random(3) + 1) / 2;
speed = random(12) + 3;
gotoAndPlay(random(30) + 1);
timing = random(50) + 1;
}
onClipEvent (enterFrame) {
if (timing > 0) {
timing = timing - 1;
}
if (timing == 0) {
timing = timing - 1;
_visible = true;
}
if (timing == -1) {
_x = (_x + (random(7) - 3));
_y = (_y - speed);
_alpha = Math.round(alphaa);
alphaa = alphaa - alphaas;
}
}
Symbol 83 MovieClip Frame 12
stop();
Symbol 84 MovieClip Frame 1
stopAllSounds();
Symbol 84 MovieClip Frame 236
_parent.play();
Symbol 95 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
nb1 = 1;
nb2 = 2;
boxx1.gotoAndStop(nb1);
boxx2.gotoAndStop(nb2);
} else {
nb1 = nb1 + 1;
if (nb1 >= 4) {
nb1 = 1;
}
boxx1.gotoAndStop(nb1);
nb2 = nb2 + 1;
if (nb2 >= 4) {
nb2 = 1;
}
boxx2.gotoAndStop(nb2);
}
Symbol 98 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(300) + 1);
} else {
aa = (random(3) + 100) - 98;
gotoAndPlay(aa);
}
Symbol 98 MovieClip Frame 100
gotoAndPlay (1);
Symbol 98 MovieClip Frame 200
gotoAndPlay (1);
Symbol 98 MovieClip Frame 300
gotoAndPlay (1);
Symbol 100 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
_rotation = (random(30) - 15);
gotoAndPlay(random(600) + 1);
_alpha = (random(75) + 25);
_xscale = (random(75) + 75);
_yscale = (random(125) + 75);
aa = random(3) + 1;
if (aa == 1) {
_xscale = (_xscale * -1);
_alpha = (_alpha * 0.5);
}
}
Symbol 104 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.weather);
};
Symbol 111 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.boost);
};
Symbol 113 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(100) + 1);
}
Symbol 119 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.fins);
};
Symbol 120 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(100) + 1);
}
Symbol 121 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(100) + 1);
}
Symbol 127 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.spine);
};
Symbol 134 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.fins);
};
Symbol 135 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(100) + 1);
}
Symbol 136 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(100) + 1);
}
Symbol 142 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.fins);
};
Symbol 143 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(100) + 1);
}
Symbol 144 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(100) + 1);
}
Symbol 148 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.scales);
};
Symbol 151 MovieClip Frame 1
timer = random(150);
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else if (_currentframe == 1) {
gotoAndPlay (2);
}
};
Symbol 151 MovieClip Frame 2
timer = random(3) + 3;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else if (_currentframe == 2) {
gotoAndPlay (1);
}
};
Symbol 157 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.radar);
};
Symbol 165 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.jaws);
};
Symbol 168 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(100) + 1);
}
Instance of Symbol 170 MovieClip in Symbol 171 MovieClip Frame 1
onClipEvent (load) {
_xscale = (60 + ((_root.poid * 40) / 350));
_yscale = _xscale;
}
onClipEvent (enterFrame) {
_xscale = (60 + ((_root.poid * 40) / 350));
_yscale = _xscale;
}
Symbol 175 MovieClip Frame 225
gotoAndPlay (1);
Symbol 175 MovieClip Frame 261
if (_root.up_nb != 1) {
to_chg = eval ("_root." + _root.up_wordd) + 1;
Set("_root." + _root.up_wordd, to_chg);
} else {
to_chg = eval ("_root." + _root.up_wordd) + _root.nb_piranhas;
Set("_root." + _root.up_wordd, to_chg);
}
_root.up_nb = 0;
Symbol 175 MovieClip Frame 263
if (_root.up_wordd == "seeds") {
_parent.gotoAndPlay(99);
}
Symbol 175 MovieClip Frame 280
_parent._parent.menuu.gotoAndStop(2);
Symbol 181 MovieClip Frame 1
gotoAndStop(_root.fins);
Symbol 187 MovieClip Frame 1
gotoAndStop(_root.fins);
Symbol 193 MovieClip Frame 1
gotoAndStop(_root.boost);
Symbol 199 MovieClip Frame 1
gotoAndStop(_root.spine);
Symbol 203 MovieClip Frame 1
gotoAndStop(_root.scales);
Symbol 209 MovieClip Frame 1
gotoAndStop(_root.jaws);
Symbol 214 MovieClip Frame 1
gotoAndStop(_root.radar);
Symbol 218 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
_xscale = (random(50) + 50);
_yscale = _xscale;
_x = (random(180) - 90);
_y = (random(140) - 70);
sx = _x;
sy = _y;
if (_x < 45) {
_xscale = (_xscale * -1);
}
_yscale = (_yscale * -1);
_rotation = (random(30) - 15);
if (_root.seeds < nb) {
_visible = false;
}
boxx._visible = false;
boxx.gotoAndPlay(random(100) + 1);
boxx.boxx.gotoAndPlay(random(100) + 1);
gotoAndPlay(random(100) + 1);
_x = (random(300) + 300);
_y = (random(600) - 300);
}
onEnterFrame = function () {
if (_parent._parent._parent._currentframe > 260) {
candive1 = 1;
candive2 = 1;
if (gogogo != 2) {
gogogo = 2;
sx = sx - 800;
sy = sy + (random(200) - 100);
}
}
speed = 0.11;
speedx = (sx - _x) * speed;
speedy = (sy - _y) * speed;
if ((candive1 != 2) || (candive2 != 2)) {
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + speedx);
} else {
candive1 = 2;
}
if ((_y < (sy - 0.5)) || (_y > (sy + 0.5))) {
_y = (_y + speedy);
} else {
candive2 = 2;
}
}
if ((candive1 == 2) && (candive2 == 2)) {
_x = (sx + boxx.boxx.boxx._x);
_y = (sy + boxx.boxx._y);
}
};
Instance of Symbol 218 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 218 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 218 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 218 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 218 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 218 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 218 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 218 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 218 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
}
Instance of Symbol 218 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
}
Instance of Symbol 218 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
nb = 11;
}
Instance of Symbol 218 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
nb = 12;
}
Instance of Symbol 218 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
nb = 13;
}
Instance of Symbol 218 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
nb = 14;
}
Instance of Symbol 218 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
nb = 15;
}
Symbol 223 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
if (loaded != 2) {
if (_parent._currentframe >= 40) {
loaded = 2;
gotoAndPlay (2);
}
}
};
Symbol 223 MovieClip Frame 2
_visible = true;
play();
Symbol 223 MovieClip Frame 250
gotoAndPlay (101);
Symbol 223 MovieClip Frame 258
_parent.gotoAndPlay(451);
Symbol 223 MovieClip Frame 390
_root.got2go = 2;
stop();
Symbol 226 MovieClip Frame 1
limitsy = 100;
speedx = random(5) + 5;
speedsy = random(10) + 10;
speedsx = random(10) + 10;
aa = random(2) + 1;
if (aa == 1) {
speeds = speeds * -1;
}
speedr = random(5) + 1;
onEnterFrame = function () {
boxx._x = boxx._x - (speedx / 2);
if (boxx._x <= -300) {
boxx._x = -180;
speedx = random(5) + 5;
}
_yscale = (_yscale + (speedsy / 4));
if (_yscale > limitsy) {
speedsy = (random(15) + 5) * -1;
limitsy = random(20) + 20;
}
if (_yscale < limitsy) {
speedsy = random(15) + 5;
limitsy = random(40) + 60;
}
_xscale = (_xscale + (speedsx / 4));
if (_xscale > 175) {
speedsx = (random(15) + 5) * -1;
}
if (_xscale < 100) {
speedsx = random(15) + 5;
}
_rotation = (_rotation + (speedr / 4));
if (_rotation > 8) {
speedr = (random(5) + 1) * -1;
}
if (_rotation < -8) {
speedr = random(5) + 1;
}
};
Symbol 249 MovieClip Frame 1
gotoAndPlay (2);
Symbol 249 MovieClip Frame 50
stop();
Symbol 250 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.courant == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Symbol 256 MovieClip Frame 1
boxx._x = -random(200);
boxx._y = -random(200);
boxx.gotoAndStop(random(2) + 1);
Symbol 268 MovieClip Frame 1
gotoAndPlay((random(3) + 1) * 2);
Symbol 268 MovieClip Frame 3
stop();
Symbol 268 MovieClip Frame 5
stop();
Symbol 268 MovieClip Frame 7
stop();
Symbol 268 MovieClip Frame 9
stop();
Symbol 269 MovieClip Frame 1
timer = random(300) + 50;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else if (_currentframe == 1) {
gotoAndPlay (2);
}
};
Symbol 269 MovieClip Frame 2
_x = random(1000);
_y = (random(300) - 100);
boxx.gotoAndStop(random(3) + 1);
aa = random(2) + 1;
if (aa == 1) {
_xscale = (_xscale * -1);
}
play();
Symbol 269 MovieClip Frame 3
_root.interr.weather_flash.gotoAndPlay(random(28) + 2);
Symbol 270 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.weather);
};
Symbol 274 MovieClip Frame 1
if (_root.courant == 1) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
Symbol 287 MovieClip Frame 1
gotoAndStop(_root.weather);
Symbol 293 MovieClip Frame 1
aff = eval ("_root.ob_name_" + _root.lvl);
if (_root.lvl >= 11) {
_visible = false;
}
Symbol 296 MovieClip Frame 1
if (_root.lvl >= 11) {
_visible = false;
}
Symbol 298 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 1
stop();
Symbol 303 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (21);
}
Symbol 305 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 1
boxx.gotoAndStop(random(3) + 1);
Symbol 306 MovieClip Frame 25
boxx2.gotoAndStop(random(3) + 1);
Symbol 307 MovieClip Frame 1
stop();
Symbol 307 MovieClip Frame 20
stop();
Symbol 308 MovieClip Frame 130
stop();
Instance of Symbol 307 MovieClip in Symbol 308 MovieClip Frame 130
onClipEvent (load) {
txx = "GO";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
stopAllSounds();
_root.got2go = 2;
}
}
Symbol 309 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 1
boxx.boxx.gotoAndStop(random(2) + 1);
boxx.boxx._rotation = (random(4) + 1) * 90;
aa = random(2) + 1;
if (aa == 1) {
boxx.boxx._xscale = boxx.boxx._xscale * -1;
}
Instance of Symbol 318 MovieClip in Symbol 319 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (50);
boxx.boxx.gotoAndStop(2);
}
Symbol 334 MovieClip Frame 1
stop();
onEnterFrame = function () {
aff_1 = Math.floor(_root.poid / 10);
aff_2 = Math.floor(_root.poid - (Math.floor(_root.poid / 10) * 10));
aff_3 = Math.floor(_root.blood / 10);
aff_4 = Math.floor(_root.blood - (Math.floor(_root.blood / 10) * 10));
aff_5 = _root.seeds + 1;
};
Symbol 337 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 3
stop();
Symbol 340 MovieClip Frame 1
stop();
Symbol 345 MovieClip Frame 1
stop();
Symbol 350 MovieClip Frame 1
stop();
Symbol 351 Button
on (release) {
_root.mover = -1;
act = 2;
}
on (rollOver) {
act = 3;
gotoAndPlay (2);
}
on (rollOut) {
_root.mover = -1;
gotoAndPlay (21);
}
Symbol 353 MovieClip Frame 1
stop();
Symbol 353 MovieClip Frame 20
stop();
Symbol 354 Button
on (rollOver) {
_root.mover = 1;
}
on (rollOut) {
_root.mover = -1;
}
Symbol 355 Button
on (rollOver) {
_root.mover = 2;
}
on (rollOut) {
_root.mover = -1;
}
Symbol 356 Button
on (rollOver) {
_root.mover = 10;
}
on (rollOut) {
_root.mover = -1;
}
Symbol 372 MovieClip Frame 1
gotoAndStop(_root.boost);
Symbol 375 MovieClip Frame 1
speed = 0.2;
stop();
onEnterFrame = function () {
if (_currentframe != 6) {
Mouse.show();
} else {
Mouse.hide();
}
if (_root.mover > 0) {
boxx.gotoAndStop(_root.mover);
_root.mover = 0;
gotoAndPlay (2);
}
if (_root.mover == -1) {
_root.mover = 0;
if (_currentframe != 1) {
gotoAndPlay (7);
}
}
sx = _parent._xmouse;
sy = _parent._ymouse;
speedx = (sx - _x) * speed;
speedy = (sy - _y) * speed;
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + speedx);
}
if ((_y < (sy - 0.5)) || (_y > (sy + 0.5))) {
_y = (_y + speedy);
}
};
Symbol 375 MovieClip Frame 2
play();
Symbol 375 MovieClip Frame 6
stop();
Symbol 375 MovieClip Frame 7
play();
Symbol 402 MovieClip Frame 1
gotoAndStop(eval ("_root.ac_" + nb));
Symbol 407 MovieClip Frame 1
stop();
onEnterFrame = function () {
aff_1 = _parent._parent.cost / 10;
};
Symbol 415 Button
on (release) {
if (nb_piranhas != 1) {
nb_piranhas = nb_piranhas - 1;
}
}
Symbol 416 Button
on (release) {
if ((nb_piranhas + _root.seeds) != 10) {
nb_piranhas = nb_piranhas + 1;
}
}
Symbol 432 MovieClip Frame 1
_root.up_nb = 0;
vali = "";
stop();
onEnterFrame = function () {
vali = String(vali.toUpperCase());
};
Instance of Symbol 307 MovieClip in Symbol 432 MovieClip Frame 1
onClipEvent (load) {
txx = "GO";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.save_go = 2;
stopAllSounds();
_parent._parent.fish.gotoAndPlay(251);
}
}
Instance of Symbol 353 MovieClip in Symbol 432 MovieClip Frame 1
onClipEvent (load) {
txx = "UPGRADES";
boxx.gotoAndStop(2);
boxx2.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(2);
}
}
Instance of Symbol 353 MovieClip in Symbol 432 MovieClip Frame 1
onClipEvent (load) {
txx = "OPTIONS";
boxx.gotoAndStop(1);
boxx2.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndPlay(101);
_parent.gotoAndStop(3);
}
}
Instance of Symbol 353 MovieClip in Symbol 432 MovieClip Frame 1
onClipEvent (load) {
txx = "WALKTHROUGH";
boxx.gotoAndStop(4);
boxx2.gotoAndStop(4);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/game/7265/walkthrough/feed-us-3.html", "_blank");
}
}
Instance of Symbol 353 MovieClip in Symbol 432 MovieClip Frame 1
onClipEvent (load) {
txx = "";
boxx.gotoAndStop(3);
boxx2.gotoAndStop(3);
iconn.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://itunes.apple.com/us/app/feed-us/id500835716?ls=1&mt=8", "_blank");
}
}
Instance of Symbol 353 MovieClip in Symbol 432 MovieClip Frame 1
onClipEvent (load) {
txx = "CHEATS";
boxx.gotoAndStop(2);
boxx2.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndPlay(101);
_parent.gotoAndStop(5);
}
}
Instance of Symbol 353 MovieClip in Symbol 432 MovieClip Frame 2
onClipEvent (load) {
txx = "SEEDS";
boxx.gotoAndStop(2);
boxx2.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_root.seeds != 20) {
_parent._parent.gotoAndPlay(101);
_parent.gotoAndStop(11);
}
}
if (act == 3) {
act = 1;
if (_root.seeds == 20) {
_root.mover = 9;
} else {
_root.mover = 3;
}
}
}
Instance of Symbol 353 MovieClip in Symbol 432 MovieClip Frame 2
onClipEvent (load) {
txx = "SPINE";
boxx.gotoAndStop(1);
boxx2.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_root.spine != 5) {
_parent._parent.gotoAndPlay(101);
_parent.gotoAndStop(14);
}
}
if (act == 3) {
act = 1;
if (_root.spine == 5) {
_root.mover = 9;
} else {
_root.mover = 6;
}
}
}
Instance of Symbol 353 MovieClip in Symbol 432 MovieClip Frame 2
onClipEvent (load) {
txx = "JAWS";
boxx.gotoAndStop(4);
boxx2.gotoAndStop(4);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_root.jaws != 5) {
_parent._parent.gotoAndPlay(101);
_parent.gotoAndStop(12);
}
}
if (act == 3) {
act = 1;
if (_root.jaws == 5) {
_root.mover = 9;
} else {
_root.mover = 4;
}
}
}
Instance of Symbol 353 MovieClip in Symbol 432 MovieClip Frame 2
onClipEvent (load) {
txx = "TAIL";
boxx.gotoAndStop(3);
boxx2.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_root.boost != 5) {
_parent._parent.gotoAndPlay(101);
_parent.gotoAndStop(16);
}
}
if (act == 3) {
act = 1;
if (_root.boost == 5) {
_root.mover = 9;
} else {
_root.mover = 11;
}
}
}
Instance of Symbol 353 MovieClip in Symbol 432 MovieClip Frame 2
onClipEvent (load) {
txx = "SCALES";
boxx.gotoAndStop(3);
boxx2.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_root.scales != 3) {
_parent._parent.gotoAndPlay(101);
_parent.gotoAndStop(15);
}
}
if (act == 3) {
act = 1;
if (_root.scales == 3) {
_root.mover = 9;
} else {
_root.mover = 7;
}
}
}
Instance of Symbol 307 MovieClip in Symbol 432 MovieClip Frame 2
onClipEvent (load) {
txx = "<";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 353 MovieClip in Symbol 432 MovieClip Frame 2
onClipEvent (load) {
txx = "FINS";
boxx.gotoAndStop(3);
boxx2.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_root.fins != 5) {
_parent._parent.gotoAndPlay(101);
_parent.gotoAndStop(13);
}
}
if (act == 3) {
act = 1;
if (_root.fins == 5) {
_root.mover = 9;
} else {
_root.mover = 5;
}
}
}
Instance of Symbol 353 MovieClip in Symbol 432 MovieClip Frame 2
onClipEvent (load) {
txx = "SMELL";
boxx.gotoAndStop(1);
boxx2.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_root.radar != 5) {
_parent._parent.gotoAndPlay(101);
_parent.gotoAndStop(17);
}
}
if (act == 3) {
act = 1;
if (_root.radar == 5) {
_root.mover = 9;
} else {
_root.mover = 12;
}
}
}
Symbol 432 MovieClip Frame 3
stop();
onEnterFrame = function () {
if (_root.st_qual == 1) {
_root._quality = "low";
}
if (_root.st_qual == 2) {
_root._quality = "medium";
}
if (_root.st_qual == 3) {
_root._quality = "high";
}
mySound = new Sound();
mySound.setVolume(_root.volum);
mySound.start(0, 1000);
};
Instance of Symbol 307 MovieClip in Symbol 432 MovieClip Frame 3
onClipEvent (load) {
txx = "<";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 386 MovieClip in Symbol 432 MovieClip Frame 3
onClipEvent (enterFrame) {
gotoAndStop(Math.round((_root.volum * 3) / 100) + 1);
}
Instance of Symbol 386 MovieClip in Symbol 432 MovieClip Frame 3
onClipEvent (enterFrame) {
gotoAndStop(_root.st_qual + 1);
}
Instance of Symbol 353 MovieClip in Symbol 432 MovieClip Frame 3
onClipEvent (load) {
txx = "CHANGE";
boxx.gotoAndStop(1);
boxx2.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.st_qual = _root.st_qual - 1;
if (_root.st_qual == 0) {
_root.st_qual = 3;
}
}
if (act == 3) {
act = 1;
}
}
Instance of Symbol 353 MovieClip in Symbol 432 MovieClip Frame 3
onClipEvent (load) {
txx = "CHANGE";
boxx.gotoAndStop(1);
boxx2.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.volum = _root.volum - 34;
if (_root.volum < -10) {
_root.volum = 100;
}
}
if (act == 3) {
act = 1;
}
}
Instance of Symbol 353 MovieClip in Symbol 432 MovieClip Frame 4
onClipEvent (load) {
txx = "TROPHIES";
boxx.gotoAndStop(1);
boxx2.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(6);
}
if (act == 3) {
act = 1;
}
}
Instance of Symbol 353 MovieClip in Symbol 432 MovieClip Frame 4
onClipEvent (load) {
txx = "WALKTHROUGH";
boxx.gotoAndStop(1);
boxx2.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/customPage/102/", "_blank");
}
if (act == 3) {
act = 1;
}
}
Symbol 432 MovieClip Frame 5
_root.cheat_box = "";
Instance of Symbol 353 MovieClip in Symbol 432 MovieClip Frame 5
onClipEvent (load) {
txx = "OK";
boxx.gotoAndStop(1);
boxx2.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_parent.vali == "SUN") {
_parent.vali = "OK !";
_root.cheat_1 = 2;
}
if (_parent.vali == "RAIN") {
_parent.vali = "OK !";
_root.cheat_1 = 3;
}
if (_parent.vali == "BEAST") {
_parent.vali = "OK !";
_root.cheat_3 = 2;
}
if (_parent.vali == "NEXT") {
_parent.vali = "OK !";
_root.cheat_4 = 2;
}
if (_parent.vali == "BLOOD") {
_parent.vali = "OK !";
_root.blood = _root.blood + 500;
}
if (_parent.vali == "HEAVY") {
_parent.vali = "OK !";
_root.cheat_6 = 2;
}
}
if (act == 3) {
act = 1;
}
}
Instance of Symbol 353 MovieClip in Symbol 432 MovieClip Frame 5
onClipEvent (load) {
txx = "ALL CHEATS";
boxx.gotoAndStop(1);
boxx2.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/game/7265/cheats/feed-us-3.html", "_blank");
}
if (act == 3) {
act = 1;
}
}
Instance of Symbol 402 MovieClip in Symbol 432 MovieClip Frame 6
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 402 MovieClip in Symbol 432 MovieClip Frame 6
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 402 MovieClip in Symbol 432 MovieClip Frame 6
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 402 MovieClip in Symbol 432 MovieClip Frame 6
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 402 MovieClip in Symbol 432 MovieClip Frame 6
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 402 MovieClip in Symbol 432 MovieClip Frame 6
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 402 MovieClip in Symbol 432 MovieClip Frame 6
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 402 MovieClip in Symbol 432 MovieClip Frame 6
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 307 MovieClip in Symbol 432 MovieClip Frame 6
onClipEvent (load) {
txx = "<";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(1);
}
}
Symbol 432 MovieClip Frame 11
nb_piranhas = 1;
wordd = "seeds";
stop();
onEnterFrame = function () {
cost = 15 * nb_piranhas;
if (nb_piranhas == 1) {
bt_1._alpha = 30;
} else {
bt_1._alpha = 100;
}
if ((nb_piranhas + _root.seeds) == 20) {
bt_2._alpha = 30;
} else {
bt_2._alpha = 100;
}
if (_root.blood < cost) {
bt_buy._alpha = 30;
} else {
bt_buy._alpha = 100;
}
};
Instance of Symbol 353 MovieClip "bt_buy" in Symbol 432 MovieClip Frame 11
onClipEvent (load) {
txx = "YES";
boxx.gotoAndStop(1);
boxx2.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_root.blood >= _parent.cost) {
_root.nb_piranhas = _parent.nb_piranhas;
_root.up_nb = _parent._currentframe - 10;
_root.up_zoom = 2;
_root.blood = _root.blood - _parent.cost;
_root.up_wordd = _parent.wordd;
_parent._parent.fish.boxx.gotoAndPlay(226);
_parent.gotoAndStop(7);
}
}
if (act == 3) {
act = 1;
if (_root.blood < _parent.cost) {
_root.mover = 8;
}
}
}
Instance of Symbol 307 MovieClip in Symbol 432 MovieClip Frame 11
onClipEvent (load) {
txx = "NO";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(2);
}
}
Symbol 432 MovieClip Frame 12
cost = eval ("_root.jaws_up_" + _root.jaws);
wordd = "jaws";
stop();
onEnterFrame = function () {
if (_root.blood < cost) {
bt_buy._alpha = 30;
} else {
bt_buy._alpha = 100;
}
};
Symbol 432 MovieClip Frame 13
cost = eval ("_root.fins_up_" + _root.fins);
wordd = "fins";
stop();
onEnterFrame = function () {
if (_root.blood < cost) {
bt_buy._alpha = 30;
} else {
bt_buy._alpha = 100;
}
};
Symbol 432 MovieClip Frame 14
cost = eval ("_root.spine_up_" + _root.spine);
wordd = "spine";
stop();
onEnterFrame = function () {
if (_root.blood < cost) {
bt_buy._alpha = 30;
} else {
bt_buy._alpha = 100;
}
};
Symbol 432 MovieClip Frame 15
cost = eval ("_root.scales_up_" + _root.scales);
wordd = "scales";
stop();
onEnterFrame = function () {
if (_root.blood < cost) {
bt_buy._alpha = 30;
} else {
bt_buy._alpha = 100;
}
};
Symbol 432 MovieClip Frame 16
cost = eval ("_root.boost_up_" + _root.boost);
wordd = "boost";
stop();
onEnterFrame = function () {
if (_root.blood < cost) {
bt_buy._alpha = 30;
} else {
bt_buy._alpha = 100;
}
};
Symbol 432 MovieClip Frame 17
cost = eval ("_root.radar_up_" + _root.radar);
wordd = "radar";
stop();
onEnterFrame = function () {
if (_root.blood < cost) {
bt_buy._alpha = 30;
} else {
bt_buy._alpha = 100;
}
};
Symbol 434 MovieClip Frame 450
gotoAndPlay (51);
Symbol 434 MovieClip Frame 570
stop();
Symbol 436 MovieClip Frame 1
stopAllSounds();
Symbol 436 MovieClip Frame 3
stop();
Symbol 449 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(105) + 1);
}
Symbol 450 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(80) + 1);
}
Symbol 602 MovieClip Frame 1
lavr_link = "http://www.gamesfree.ca/";
shade = 0;
Symbol 602 MovieClip Frame 2
lavr_link = "http://www.andkon.com";
shade = 2;
Symbol 602 MovieClip Frame 3
lavr_link = "http://www.SolidGames.com";
shade = 0;
Symbol 602 MovieClip Frame 4
lavr_link = "http://www.girldressupgames.biz";
shade = 1;
Symbol 602 MovieClip Frame 5
lavr_link = "http://www.yepi.com";
shade = 0;
Symbol 602 MovieClip Frame 6
lavr_link = "http://www.bubblebox.com";
shade = 1;
Symbol 602 MovieClip Frame 7
lavr_link = "http://www.bunnygames.com";
shade = 1;
Symbol 602 MovieClip Frame 8
lavr_link = "http://www.dailyfreegames.com";
shade = 1;
Symbol 602 MovieClip Frame 9
lavr_link = "http://www.directgamez.com";
shade = 2;
Symbol 602 MovieClip Frame 10
lavr_link = "http://www.2flashgames.com";
shade = 2;
Symbol 602 MovieClip Frame 11
lavr_link = "http://www.flashninjaclan.com";
shade = 1;
Symbol 602 MovieClip Frame 12
lavr_link = "http://www.dailyaddictinggames.com/";
shade = 1;
Symbol 602 MovieClip Frame 13
lavr_link = "http://www.funny-games.biz";
shade = 1;
Symbol 602 MovieClip Frame 14
lavr_link = "http://www.gameitnow.com";
shade = 2;
Symbol 602 MovieClip Frame 15
lavr_link = "http://www.games1.com";
shade = 0;
Symbol 602 MovieClip Frame 16
lavr_link = "http://www.onjogos.com.br";
shade = 1;
Symbol 602 MovieClip Frame 17
lavr_link = "http://www.gamesfreak.net";
shade = 2;
Symbol 602 MovieClip Frame 18
lavr_link = "http://www.maxi-juegos.com";
shade = 1;
Symbol 602 MovieClip Frame 19
lavr_link = "http://www.jarkey.net";
shade = 2;
Symbol 602 MovieClip Frame 20
lavr_link = "http://www.gam123bee.com/";
shade = 1;
Symbol 602 MovieClip Frame 21
lavr_link = "http://www.keepbusy.net";
shade = 1;
Symbol 602 MovieClip Frame 22
lavr_link = "http://www.microjogos.com";
shade = 1;
Symbol 602 MovieClip Frame 23
lavr_link = "http://www.minijuegos.com";
shade = 2;
Symbol 602 MovieClip Frame 24
lavr_link = "http://www.oyunskor.com/";
shade = 1;
Symbol 602 MovieClip Frame 25
lavr_link = "http://www.mostfungames.com";
shade = 2;
Symbol 602 MovieClip Frame 26
lavr_link = "http://www.gameshot.org";
shade = 1;
Symbol 602 MovieClip Frame 27
lavr_link = "http://www.online-games-zone.com/";
shade = 2;
Symbol 602 MovieClip Frame 28
lavr_link = "http://www.puffgames.com";
shade = 2;
Symbol 602 MovieClip Frame 29
lavr_link = "http://www.spele.nl";
shade = 1;
Symbol 602 MovieClip Frame 30
lavr_link = "http://www.t45ol.com";
shade = 2;
Symbol 602 MovieClip Frame 31
lavr_link = "http://www.thegamesonline.com/";
shade = 1;
Symbol 602 MovieClip Frame 32
lavr_link = "http://www.ultimatearcade.com";
shade = 1;
Symbol 602 MovieClip Frame 33
lavr_link = "http://www.girlgames4u.com/";
shade = 1;
Symbol 602 MovieClip Frame 34
lavr_link = "http://www.beer-games.net";
shade = 0;
Symbol 602 MovieClip Frame 35
lavr_link = "http://www.beer-games.net";
shade = 0;
Symbol 602 MovieClip Frame 36
lavr_link = "http://www.jeuxvideo-flash.com/";
shade = 0;
Symbol 602 MovieClip Frame 37
lavr_link = "http://www.flashgames.it/";
shade = 1;
Symbol 602 MovieClip Frame 38
lavr_link = "http://www.gamesgirl.ca/";
shade = 1;
Symbol 602 MovieClip Frame 39
lavr_link = "http://www.hallpass.com/";
shade = 2;
Symbol 602 MovieClip Frame 40
lavr_link = "http://www.gamegecko.com/";
shade = 0;
Symbol 602 MovieClip Frame 41
lavr_link = "http://www.benz.be";
shade = 2;
Symbol 602 MovieClip Frame 42
lavr_link = "http://www.net-games.co.il/";
shade = 1;
Symbol 602 MovieClip Frame 43
lavr_link = "http://www.bgames.com";
shade = 1;
Symbol 602 MovieClip Frame 44
lavr_link = "http://www.pinkyarcade.com/";
shade = 1;
Symbol 602 MovieClip Frame 45
lavr_link = "http://jayisgames.com/";
shade = 0;
Symbol 602 MovieClip Frame 46
lavr_link = "http://www.twizl.com/";
shade = 1;
Symbol 602 MovieClip Frame 47
lavr_link = "http://www.a10.com/";
shade = 1;
Symbol 602 MovieClip Frame 48
lavr_link = "http://www.bonniegames.com/";
shade = 1;
Symbol 602 MovieClip Frame 49
lavr_link = "http://www.ug2.com/";
shade = 0;
Symbol 602 MovieClip Frame 50
lavr_link = "http://www.agame.com";
shade = 1;
Symbol 602 MovieClip Frame 51
lavr_link = "http://www.gamesclub.com/";
shade = 1;
Symbol 602 MovieClip Frame 52
lavr_link = "http://www.killhours.com/";
shade = 1;
Symbol 602 MovieClip Frame 53
lavr_link = "http://www.flasharcadegamessite.com/";
shade = 1;
Symbol 602 MovieClip Frame 54
lavr_link = "http://www.roundgames.com/";
shade = 2;
Symbol 602 MovieClip Frame 55
lavr_link = "http://www.arcadegangsta.com/";
shade = 1;
Symbol 602 MovieClip Frame 56
lavr_link = "http://www.bored.com/";
shade = 0;
Symbol 602 MovieClip Frame 57
lavr_link = "http://www.flash-games.net/";
shade = 1;
Symbol 602 MovieClip Frame 58
lavr_link = "http://www.flash-game.net/";
shade = 1;
Symbol 602 MovieClip Frame 59
lavr_link = "http://www.kingofgames.net";
shade = 1;
Symbol 602 MovieClip Frame 60
lavr_link = "http://www.playhub.com/";
shade = 0;
Symbol 602 MovieClip Frame 61
lavr_link = "http://www.123spill.no/";
shade = 1;
Symbol 602 MovieClip Frame 62
lavr_link = "http://www.dailygames.com/";
shade = 1;
Symbol 602 MovieClip Frame 63
lavr_link = "http://www.octogames.com/";
shade = 2;
Symbol 602 MovieClip Frame 64
lavr_link = "http://www.ugotgames.com/";
shade = 1;
Symbol 602 MovieClip Frame 65
lavr_link = "http://www.fupa.com/";
shade = 1;
Symbol 602 MovieClip Frame 66
lavr_link = "http://www.kibagames.com/";
shade = 0;
Symbol 602 MovieClip Frame 67
lavr_link = "http://www.kraloyun.com/";
shade = 0;
Symbol 602 MovieClip Frame 68
lavr_link = "http://www.spielaffe.de/";
shade = 0;
Symbol 602 MovieClip Frame 69
lavr_link = "http://www.39games.com";
shade = 2;
Symbol 602 MovieClip Frame 70
lavr_link = "http://www.bijuegos.com";
shade = 0;
Symbol 602 MovieClip Frame 71
lavr_link = "http://www.mofunzone.com";
shade = 2;
Symbol 602 MovieClip Frame 72
lavr_link = "http://www.freegamespy.com/";
shade = 2;
Symbol 602 MovieClip Frame 73
lavr_link = "http://www.jogos10.com";
shade = 0;
Symbol 602 MovieClip Frame 74
lavr_link = "http://www.juegos10.com";
shade = 0;
Symbol 602 MovieClip Frame 75
lavr_link = "http://flash.178.com/";
shade = 0;
Symbol 602 MovieClip Frame 76
lavr_link = "http://www.papajogos.com.br";
shade = 0;
Symbol 602 MovieClip Frame 77
lavr_link = "http://www.arcadelots.com/";
shade = 0;
Symbol 602 MovieClip Frame 78
lavr_link = "http://www.minigamers.com/";
shade = 0;
Symbol 602 MovieClip Frame 79
lavr_link = "http://www.stickpage.com";
shade = 0;
Symbol 602 MovieClip Frame 80
lavr_link = "http://www.y8.com/";
shade = 1;
Symbol 602 MovieClip Frame 81
lavr_link = "http://www.y3.com/";
shade = 1;
Symbol 602 MovieClip Frame 82
lavr_link = "http://www.gangofgamers.com/";
shade = 0;
Symbol 602 MovieClip Frame 83
lavr_link = "http://www.videobash.com/";
shade = 0;
Symbol 603 MovieClip Frame 1
stop();
Symbol 604 Button
on (release) {
getURL (boxx.lavr_link, "_blank");
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (21);
}
Symbol 605 MovieClip Frame 1
stop();
Symbol 605 MovieClip Frame 20
stop();
Symbol 607 MovieClip Frame 1
stop();
Symbol 612 MovieClip Frame 30
stop();
Symbol 614 MovieClip Frame 3
stopAllSounds();
Instance of Symbol 353 MovieClip in Symbol 614 MovieClip Frame 560
onClipEvent (load) {
txx = "CONTINUE";
boxx.gotoAndStop(2);
boxx2.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndStop(40);
}
}
Symbol 614 MovieClip Frame 744
stop();
Symbol 615 Button
on (release) {
if ((_root.cnt.p_0.stun == 0) && (boost > 1)) {
_root.cnt.p_0.speedx = _root.cnt.p_0.speedx * boost;
_root.cnt.p_0.speedy = _root.cnt.p_0.speedy * boost;
_root.cnt.p_0.stun = 60 - (boost * 10);
Set(("_root.cnt.b_" + _root.pt_bulle_nb) + "._x", _root.cnt.p_0._x);
Set(("_root.cnt.b_" + _root.pt_bulle_nb) + "._y", _root.cnt.p_0._y);
Set(("_root.cnt.b_" + _root.pt_bulle_nb) + ".power", random(20) - 10);
eval ("_root.cnt.b_" + _root.pt_bulle_nb).gotoAndStop(1);
eval ("_root.cnt.b_" + _root.pt_bulle_nb).gotoAndStop(2);
_root.pt_bulle_nb = _root.pt_bulle_nb + 1;
if (_root.pt_bulle_nb == 21) {
_root.pt_bulle_nb = 1;
}
shake = 5;
}
}
Symbol 622 MovieClip Frame 1
gotoAndStop(_root.weather);
Instance of Symbol 628 MovieClip in Symbol 629 MovieClip Frame 1
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.zone_visible.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt.s_hitt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.sun_visible = 1;
} else {
_root.sun_visible = 2;
}
} else {
_root.sun_visible = 1;
}
i++;
}
}
Symbol 636 MovieClip Frame 1
stop();
Symbol 640 MovieClip Frame 1
stop();
Symbol 645 MovieClip Frame 1
stop();
Symbol 649 MovieClip Frame 1
stop();
Symbol 650 MovieClip Frame 1
_parent.gotoAndStop(_parent._parent._parent.typee);
_parent.teint.gotoAndStop(_parent._parent._parent.teint);
stop();
onEnterFrame = function () {
_parent.gotoAndStop(_parent._parent._parent.typee);
_parent.teint.gotoAndStop(_parent._parent._parent.teint);
_parent.maskk.gotoAndStop(5 - Math.round((eval ("_parent._parent._parent.energy_" + nb) * 4) / 8));
};
Symbol 658 MovieClip Frame 1
stop();
Instance of Symbol 649 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent.float_typee != 3) {
_visible = false;
}
}
Instance of Symbol 650 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Symbol 665 MovieClip Frame 1
stop();
Symbol 669 MovieClip Frame 1
stop();
Symbol 673 MovieClip Frame 1
stop();
Symbol 675 MovieClip Frame 1
stop();
Instance of Symbol 650 MovieClip in Symbol 675 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Symbol 682 MovieClip Frame 1
stop();
Symbol 686 MovieClip Frame 1
stop();
Symbol 691 MovieClip Frame 1
stop();
Symbol 701 MovieClip Frame 1
stop();
Instance of Symbol 650 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
}
Symbol 708 MovieClip Frame 1
stop();
Symbol 712 MovieClip Frame 1
stop();
Symbol 716 MovieClip Frame 1
stop();
Symbol 723 MovieClip Frame 1
stop();
Symbol 725 MovieClip Frame 1
stop();
Instance of Symbol 650 MovieClip in Symbol 725 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
}
Symbol 731 MovieClip Frame 1
stop();
Symbol 735 MovieClip Frame 1
stop();
Symbol 740 MovieClip Frame 1
stop();
Symbol 753 MovieClip Frame 1
stop();
Symbol 757 MovieClip Frame 1
stop();
Symbol 762 MovieClip Frame 1
stop();
Symbol 772 MovieClip Frame 1
stop();
Symbol 776 MovieClip Frame 1
stop();
Symbol 788 MovieClip Frame 1
stop();
Symbol 799 MovieClip Frame 1
stop();
Symbol 801 MovieClip Frame 1
stop();
Instance of Symbol 742 MovieClip in Symbol 801 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent.float_typee != 2) {
_visible = false;
}
}
Instance of Symbol 744 MovieClip in Symbol 801 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent.float_typee != 1) {
_visible = false;
}
}
Instance of Symbol 650 MovieClip in Symbol 801 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 764 MovieClip in Symbol 801 MovieClip Frame 5
onClipEvent (load) {
if (_parent._parent._parent.float_typee != 2) {
_visible = false;
}
}
Instance of Symbol 779 MovieClip in Symbol 801 MovieClip Frame 9
onClipEvent (load) {
if (_parent._parent._parent.float_typee != 2) {
_visible = false;
}
}
Instance of Symbol 791 MovieClip in Symbol 801 MovieClip Frame 13
onClipEvent (load) {
if (_parent._parent._parent.float_typee != 2) {
_visible = false;
}
}
Symbol 806 MovieClip Frame 1
stop();
Symbol 817 MovieClip Frame 1
stop();
Instance of Symbol 650 MovieClip in Symbol 817 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
}
Symbol 823 MovieClip Frame 1
stop();
Symbol 827 MovieClip Frame 1
stop();
Symbol 833 MovieClip Frame 1
stop();
Symbol 835 MovieClip Frame 1
stop();
Instance of Symbol 650 MovieClip in Symbol 835 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
}
Symbol 842 MovieClip Frame 1
stop();
Symbol 846 MovieClip Frame 1
stop();
Symbol 851 MovieClip Frame 1
stop();
Symbol 878 MovieClip Frame 1
stop();
Symbol 887 MovieClip Frame 1
stop();
Symbol 894 MovieClip Frame 1
stop();
Symbol 899 MovieClip Frame 1
stop();
Symbol 903 MovieClip Frame 1
stop();
Symbol 909 MovieClip Frame 1
stop();
Symbol 914 MovieClip Frame 1
stop();
Symbol 923 MovieClip Frame 1
stop();
Instance of Symbol 880 MovieClip in Symbol 923 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent.typee != 17) {
_visible = false;
}
}
Instance of Symbol 887 MovieClip in Symbol 923 MovieClip Frame 1
onClipEvent (load) {
hat = random(4) + 1;
if (hat == 1) {
gotoAndStop(random(4) + 1);
Set(undefined, undefined);
} else {
_visible = false;
}
}
Instance of Symbol 650 MovieClip in Symbol 923 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Symbol 928 MovieClip Frame 1
stop();
Symbol 933 MovieClip Frame 1
stop();
Symbol 940 MovieClip Frame 1
stop();
Instance of Symbol 649 MovieClip in Symbol 940 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent.float_typee != 3) {
_visible = false;
}
}
Instance of Symbol 650 MovieClip in Symbol 940 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Symbol 945 MovieClip Frame 1
stop();
Symbol 949 MovieClip Frame 1
stop();
Symbol 951 MovieClip Frame 1
stop();
Instance of Symbol 650 MovieClip in Symbol 951 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Symbol 959 MovieClip Frame 1
gotoAndStop(random(2) + 1);
Symbol 961 MovieClip Frame 1
stop();
Instance of Symbol 650 MovieClip in Symbol 961 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Symbol 965 MovieClip Frame 50
gotoAndPlay (31);
Symbol 965 MovieClip Frame 60
aa = random(4) + 1;
if (aa != 1) {
gotoAndPlay (51);
} else {
gotoAndPlay (61);
}
Symbol 965 MovieClip Frame 70
aa = random(4) + 1;
if (aa != 1) {
gotoAndPlay (61);
} else {
gotoAndPlay (51);
}
Symbol 965 MovieClip Frame 120
gotoAndPlay (71);
Symbol 965 MovieClip Frame 140
stop();
Symbol 965 MovieClip Frame 160
stop();
Symbol 965 MovieClip Frame 180
stop();
Symbol 965 MovieClip Frame 220
gotoAndPlay (181);
Symbol 965 MovieClip Frame 300
gotoAndPlay (221);
Symbol 965 MovieClip Frame 320
gotoAndPlay (301);
Symbol 965 MovieClip Frame 340
gotoAndPlay (321);
Symbol 965 MovieClip Frame 360
gotoAndPlay (341);
Symbol 965 MovieClip Frame 361
shot = 6;
Symbol 965 MovieClip Frame 400
shot = shot - 1;
if (shot == 0) {
gotoAndStop(random(5) + 401);
_parent.speedr = random(20) - 10;
} else {
gotoAndPlay (362);
}
Symbol 965 MovieClip Frame 430
gotoAndPlay (411);
Symbol 965 MovieClip Frame 450
gotoAndPlay (431);
Symbol 965 MovieClip Frame 475
aa = random(3) + 1;
if (aa != 1) {
gotoAndPlay (451);
}
Symbol 965 MovieClip Frame 500
aa = random(3) + 1;
if (aa != 1) {
gotoAndPlay (476);
} else {
gotoAndPlay (451);
}
Symbol 965 MovieClip Frame 550
gotoAndPlay (501);
Symbol 965 MovieClip Frame 600
gotoAndPlay (551);
Symbol 968 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
};
Symbol 968 MovieClip Frame 2
_visible = true;
float = random(3) + 1;
if (float == 1) {
float = 2;
float_typee = random(3) + 1;
} else {
float = 1;
float_typee = 0;
}
nage = random(3) + 1;
breath_air = (random(13) + 7) * 40;
energy = 40;
tot_energy = energy;
speedx = 0;
speedy = 0;
bites = 0;
energy_1 = 8;
energy_2 = 8;
energy_3 = 8;
energy_4 = 8;
energy_5 = 8;
energy_6 = 8;
energy_7 = 8;
energy_8 = 8;
energy_9 = 8;
energy_10 = 8;
killed = 1;
if (nage != 1) {
nage = 2;
speednage = (random(20) + 1) / 10;
} else {
nage = 1;
speednage = 0;
}
side = random(2) + 1;
if (side == 1) {
side = "L";
} else {
side = "R";
}
teint = random(3) + 1;
if (boat_typee == 1) {
if (passager_nb == 1) {
side = "L";
boxx.gotoAndPlay(random(50) + 71);
}
if (passager_nb == 2) {
boxx.gotoAndStop(random(15) + 1);
}
}
if (boat_typee == 2) {
if (passager_nb == 1) {
side = "L";
boxx.gotoAndPlay(random(50) + 71);
}
if (passager_nb == 2) {
boxx.gotoAndStop(random(15) + 1);
}
}
if (boat_typee == 3) {
if (passager_nb == 1) {
side = "L";
boxx.gotoAndStop(random(5) + 11);
}
if (passager_nb == 2) {
boxx.gotoAndStop(random(15) + 1);
}
if (passager_nb == 3) {
boxx.gotoAndStop(random(15) + 1);
}
}
if (boat_typee == 4) {
if (passager_nb == 1) {
side = "L";
boxx.gotoAndStop(random(5) + 11);
}
if (passager_nb == 2) {
boxx.gotoAndStop(random(15) + 1);
}
if (passager_nb == 3) {
boxx.gotoAndStop(random(15) + 1);
}
}
if (boat_typee == 5) {
if (passager_nb == 1) {
boxx.gotoAndStop(random(15) + 1);
}
if (passager_nb == 2) {
boxx.gotoAndStop(random(15) + 1);
}
}
if (boat_typee == 6) {
if (passager_nb == 1) {
side = "L";
boxx.gotoAndPlay(random(50) + 71);
}
if (passager_nb == 2) {
boxx.gotoAndStop(random(5) + 11);
}
}
if (boat_typee == 7) {
if (passager_nb == 1) {
side = "L";
boxx.gotoAndPlay(random(50) + 71);
}
if (passager_nb == 2) {
boxx.gotoAndStop(random(5) + 11);
}
if (passager_nb == 3) {
boxx.gotoAndStop(random(5) + 11);
}
}
if (boat_typee == 8) {
if (passager_nb == 1) {
side = "L";
boxx.gotoAndPlay(random(50) + 71);
}
if (passager_nb == 2) {
boxx.gotoAndStop(random(5) + 11);
}
}
if (boat_typee == 9) {
if (passager_nb == 1) {
side = "L";
boxx.gotoAndStop(random(5) + 11);
}
}
if (boat_typee == 10) {
if (passager_nb == 1) {
boxx.gotoAndStop(random(10) + 1);
}
if (passager_nb == 2) {
boxx.gotoAndStop(random(10) + 1);
}
if (passager_nb == 3) {
boxx.gotoAndStop(random(10) + 1);
}
if (passager_nb == 4) {
boxx.gotoAndStop(random(10) + 1);
}
if (passager_nb == 5) {
boxx.gotoAndStop(random(10) + 1);
}
if (passager_nb == 6) {
boxx.gotoAndStop(random(10) + 1);
}
if (passager_nb == 7) {
boxx.gotoAndStop(random(10) + 1);
}
if (passager_nb == 8) {
boxx.gotoAndStop(random(10) + 1);
}
}
if (boat_typee == 11) {
if (passager_nb == 1) {
side = "L";
boxx.gotoAndPlay(random(50) + 71);
}
if (passager_nb == 2) {
boxx.gotoAndStop(random(10) + 1);
}
if (passager_nb == 3) {
boxx.gotoAndStop(random(10) + 1);
}
if (passager_nb == 4) {
boxx.gotoAndStop(random(10) + 1);
}
}
if (boat_typee == 12) {
if (passager_nb == 1) {
boxx.gotoAndPlay(random(40) + 411);
}
if (passager_nb == 2) {
boxx.gotoAndPlay(random(40) + 411);
}
if (passager_nb == 3) {
boxx.gotoAndPlay(random(40) + 411);
}
if (passager_nb == 4) {
boxx.gotoAndPlay(random(40) + 411);
}
if (passager_nb == 5) {
boxx.gotoAndPlay(random(40) + 411);
}
if (passager_nb == 6) {
boxx.gotoAndPlay(random(40) + 411);
}
}
if (boat_typee == 13) {
if (passager_nb == 1) {
side = "L";
boxx.gotoAndPlay(random(50) + 71);
}
if (passager_nb == 2) {
boxx.gotoAndStop(random(15) + 1);
}
if (passager_nb == 3) {
boxx.gotoAndStop(random(15) + 1);
}
}
if (boat_typee == 14) {
if (passager_nb == 1) {
boxx.gotoAndPlay(random(40) + 411);
}
if (passager_nb == 2) {
boxx.gotoAndPlay(random(40) + 411);
}
if (passager_nb == 3) {
boxx.gotoAndPlay(random(40) + 411);
}
if (passager_nb == 4) {
boxx.gotoAndPlay(random(40) + 411);
}
}
if (boat_typee == 15) {
if (passager_nb == 1) {
boxx.gotoAndPlay(random(40) + 411);
}
if (passager_nb == 2) {
boxx.gotoAndPlay(random(40) + 411);
}
if (passager_nb == 3) {
boxx.gotoAndPlay(random(40) + 411);
}
if (passager_nb == 4) {
boxx.gotoAndPlay(random(40) + 411);
}
if (passager_nb == 5) {
boxx.gotoAndPlay(random(40) + 411);
}
if (passager_nb == 6) {
boxx.gotoAndPlay(random(40) + 411);
}
if (passager_nb == 7) {
boxx.gotoAndPlay(random(40) + 411);
}
if (passager_nb == 8) {
boxx.gotoAndPlay(random(40) + 411);
}
}
if (boat_typee == 16) {
if (passager_nb == 1) {
side = "L";
boxx.gotoAndPlay(random(31) + 20);
}
if (passager_nb == 1) {
side = "R";
boxx.gotoAndPlay(random(31) + 20);
}
}
if (boat_typee == 17) {
if (passager_nb == 1) {
side = "L";
boxx.gotoAndPlay(random(50) + 501);
}
}
if (boat_typee == 18) {
if (passager_nb == 1) {
side = "L";
boxx.gotoAndPlay(random(50) + 551);
}
}
if (boat_typee == 19) {
if (passager_nb == 1) {
side = "L";
boxx.gotoAndStop(11);
}
}
if (boat_typee == 20) {
if (passager_nb == 1) {
boxx.gotoAndPlay(random(25) + 451);
}
}
stop();
onEnterFrame = function () {
if ((Math.abs(_y - _root.cnt.p_0._y) + Math.abs(_x - _root.cnt.p_0._x)) < 550) {
_visible = true;
} else {
_visible = false;
}
if (typee == 17) {
if (tete_scuba == undefined) {
tete_scuba = random(16) + 1;
}
boxx.b1.gotoAndStop(tete_scuba);
} else {
boxx.b1.gotoAndStop(typee);
}
boxx.b2.gotoAndStop(typee);
boxx.b3.gotoAndStop(typee);
boxx.b4.gotoAndStop(typee);
boxx.b5.gotoAndStop(typee);
boxx.b6.gotoAndStop(typee);
boxx.b7.gotoAndStop(typee);
boxx.b8.gotoAndStop(typee);
boxx.b9.gotoAndStop(typee);
boxx.b10.gotoAndStop(typee);
boxx.b11.gotoAndStop(typee);
boxx.b1.teint.gotoAndStop(teint);
boxx.b2.teint.gotoAndStop(teint);
boxx.b3.teint.gotoAndStop(teint);
boxx.b4.teint.gotoAndStop(teint);
boxx.b5.teint.gotoAndStop(teint);
boxx.b6.teint.gotoAndStop(teint);
boxx.b7.teint.gotoAndStop(teint);
boxx.b8.teint.gotoAndStop(teint);
boxx.b9.teint.gotoAndStop(teint);
boxx.b10.teint.gotoAndStop(teint);
boxx.b11.teint.gotoAndStop(teint);
if (bites != 0) {
bites = bites - 1;
morco = random(10) + 1;
if (eval ("energy_" + morco) <= 0) {
bites = bites + 1;
} else {
_root.snd.croque.gotoAndPlay((random(9) + 1) * 2);
aa = random(3) + 1;
if (aa == 1) {
_root.combo = _root.combo + 1;
_root.poid = _root.poid + 1;
}
Set("energy_" + morco, eval ("energy_" + morco) - 1);
}
}
if ((energy != tot_energy) && (boxx.b1.expre._currentframe != 3)) {
boxx.b1.expre.gotoAndStop(3);
}
if (onboat == -11) {
if (energy != tot_energy) {
onboat = 0;
}
}
if (onboat == -12) {
if (energy != tot_energy) {
onboat = 0;
}
}
if (onboat == 2) {
_x = (eval (("_root.cnt.boat_" + posi_boat) + "._x") + eval (((("_root.cnt.boat_" + posi_boat) + ".boxx.rot.b_") + posi_people) + "._x"));
_y = ((eval (("_root.cnt.boat_" + posi_boat) + "._y") + eval (((("_root.cnt.boat_" + posi_boat) + ".boxx.rot.b_") + posi_people) + "._y")) + posi_people_adjust);
if (eval (("_root.cnt.boat_" + posi_boat) + ".tot_energy") != eval (("_root.cnt.boat_" + posi_boat) + ".energy")) {
if (boxx._currentframe <= 20) {
aa = random(4) + 1;
if (aa == 1) {
boxx.gotoAndPlay(random(40) + 31);
} else {
boxx.gotoAndStop(random(10) + 21);
}
}
if (boxx.b1.expre._currentframe == 1) {
boxx.b1.expre.gotoAndStop(2);
}
}
if (eval (("_root.cnt.boat_" + posi_boat) + ".energy") <= 0) {
speedx = random(40) - 20;
speedy = (random(12) + 5) * -1;
speedr = random(20) - 10;
_rotation = (random(360) + 1);
onboat = 1;
boxx.gotoAndPlay(((random(3) + 1) * 20) + 101);
}
}
if (onboat == 1) {
_x = (_x + speedx);
_y = (_y + speedy);
_rotation = (_rotation + speedr);
speedx = speedx * 0.85;
speedr = speedr * 0.92;
if (speedy < -0.5) {
speedy = speedy * 0.85;
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * 1.15;
}
if (speedy >= 15) {
speedy = 15;
}
if (_y >= 150) {
speedy = speedy * 0.85;
onboat = 0;
speedx = 0;
Set(("_root.cnt.g_" + _root.pt_water_nb) + "._x", _x);
Set(("_root.cnt.g_" + _root.pt_water_nb) + "._y", _y);
Set(("_root.cnt.g_" + _root.pt_water_nb) + ".power", speedy * -2);
eval ("_root.cnt.g_" + _root.pt_water_nb).gotoAndStop(1);
eval ("_root.cnt.g_" + _root.pt_water_nb).gotoAndStop(2);
_root.pt_water_nb = _root.pt_water_nb + 1;
if (_root.pt_water_nb == 21) {
_root.pt_water_nb = 1;
}
Set(("_root.cnt.b_" + _root.pt_bulle_nb) + "._x", _x);
Set(("_root.cnt.b_" + _root.pt_bulle_nb) + "._y", _y);
Set(("_root.cnt.b_" + _root.pt_bulle_nb) + ".power", speedy);
eval ("_root.cnt.b_" + _root.pt_bulle_nb).gotoAndStop(1);
eval ("_root.cnt.b_" + _root.pt_bulle_nb).gotoAndStop(2);
_root.pt_bulle_nb = _root.pt_bulle_nb + 1;
if (_root.pt_bulle_nb == 21) {
_root.pt_bulle_nb = 1;
}
if (_root.timer_snd_naye == 0) {
_root.timer_snd_naye = 240;
_root.snd.naye.gotoAndPlay((random(6) + 1) * 2);
}
}
}
if (onboat == 0) {
if (nage == 2) {
if (_rotation < -10) {
_rotation = (_rotation + 2);
}
if (_rotation > 10) {
_rotation = (_rotation - 2);
}
} else {
_rotation = (_rotation + speedr);
speedr = speedr * 0.92;
}
if ((side = "L")) {
_x = (_x - speednage);
} else {
_x = (_x + speednage);
}
_y = (_y + speedy);
if (speedy <= -1) {
if ((nage == 2) || (float == 2)) {
speedy = speedy * 1.08;
}
}
if (speedy < -3) {
speedy = -3;
}
if ((speedy > -1) && (speedy < 0.5)) {
if ((nage == 2) || (float == 2)) {
if (nage == 2) {
boxx.gotoAndPlay(random(20) + 301);
} else if (boxx._currentframe < 341) {
boxx.gotoAndPlay(random(20) + 341);
}
speedy = -1;
} else if (breath_air > 0) {
breath_air = breath_air - 1;
if (boxx._currentframe < 341) {
boxx.gotoAndPlay(random(20) + 341);
}
} else if (boxx._currentframe < 361) {
boxx.gotoAndPlay(361);
}
}
if (speedy >= 0.5) {
speedy = speedy * 0.92;
}
if (_y <= 150) {
onboat = -1;
if (boxx._currentframe < 321) {
boxx.gotoAndPlay(random(20) + 321);
}
}
}
if (onboat == -1) {
if (float == 2) {
_rotation = 20;
} else {
_rotation = 0;
}
_x = (_x + speedx);
_y = (_y + speedy);
speedx = speedx * 0.95;
speedy = speedy * 0.95;
if ((side = "L")) {
_x = (_x - speednage);
} else {
_x = (_x + speednage);
}
_y = 150;
}
if (onboat == -2) {
_x = (_x + speedx);
if (float != 2) {
_y = (_y + (1 + speedy));
speedy = speedy * 0.92;
} else if (_y > 150) {
_y = (_y - 2);
}
_rotation = (_rotation + speedr);
speedx = speedx * 0.92;
speedr = speedr * 0.92;
}
if (energy <= 20) {
if (killed != 2) {
killed = 2;
if (typee == 17) {
_root.scubed = _root.scubed + 1;
}
_root.st_killed = _root.st_killed + 1;
_root.killed = _root.killed + 1;
}
_x = (_x + (_root.courant * 0.6));
if (nage == 2) {
nage = 1;
speednage = 0;
onboat = 0;
speedx = 0;
if (float != 2) {
speedy = 8;
}
}
}
if (energy <= 0) {
if ((boxx._currentframe < 401) || (boxx._currentframe > 405)) {
boxx.gotoAndStop(random(5) + 401);
}
onboat = -2;
}
if (energy <= -40) {
energy_1 = 0;
energy_2 = 0;
energy_3 = 0;
energy_4 = 0;
energy_5 = 0;
energy_6 = 0;
energy_7 = 0;
energy_8 = 0;
energy_9 = 0;
energy_10 = 0;
energy_11 = 0;
}
if (side == "L") {
_xscale = 100;
} else {
_xscale = -100;
}
if (onboat == 2) {
_visible = eval (("_root.cnt.boat_" + posi_boat) + "._visible");
}
};
Symbol 977 MovieClip Frame 1
stop();
Symbol 1028 MovieClip Frame 1
typee = 0;
_visible = false;
stop();
Symbol 1028 MovieClip Frame 2
typee = random(8) + 1;
if (typee <= 6) {
typee = random(19) + 1;
} else if (typee == 7) {
typee = random(2) + 31;
} else {
typee = random(4) + 41;
}
boxx.gotoAndStop(typee);
_x = (random(Math.round(_parent.boxx._width * 0.75)) - (Math.round(_parent.boxx._width * 0.75) / 2));
_y = ((boxx._height / 2) + _parent.posi_people_adjust);
_visible = true;
stop();
Symbol 1033 MovieClip Frame 1
stop();
Symbol 1038 MovieClip Frame 1
_visible = false;
stop();
Symbol 1038 MovieClip Frame 150
gotoAndStop (1);
Symbol 1038 MovieClip Frame 299
gotoAndStop (1);
Symbol 1042 MovieClip Frame 1
stop();
onEnterFrame = function () {
_rotation = (_rotation + 27);
};
Symbol 1050 MovieClip Frame 1
stop();
Symbol 1051 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_parent.boxx._currentframe >= 4) {
gotoAndStop (2);
}
};
Symbol 1051 MovieClip Frame 2
speedr = 5;
speedy = 2;
boosty = 10;
stop();
onEnterFrame = function () {
_rotation = (_rotation + speedr);
_y = (_y + (speedy + boosty));
boosty = boosty * 0.9;
};
Symbol 1056 MovieClip Frame 1
stop();
Symbol 1061 MovieClip Frame 1
stop();
Symbol 1066 MovieClip Frame 1
stop();
Symbol 1071 MovieClip Frame 1
stop();
Symbol 1076 MovieClip Frame 1
stop();
Symbol 1081 MovieClip Frame 1
stop();
Symbol 1086 MovieClip Frame 1
stop();
Symbol 1091 MovieClip Frame 1
stop();
Symbol 1117 MovieClip Frame 1
stop();
Symbol 1123 MovieClip Frame 1
stop();
Symbol 1128 MovieClip Frame 1
stop();
Symbol 1133 MovieClip Frame 1
stop();
Symbol 1138 MovieClip Frame 1
stop();
Symbol 1143 MovieClip Frame 1
stop();
Symbol 1145 MovieClip Frame 1
stop();
Symbol 1149 MovieClip Frame 1
stop();
Symbol 1162 MovieClip Frame 1
stop();
Symbol 1172 MovieClip Frame 1
stop();
Symbol 1173 MovieClip Frame 1
stop();
Symbol 1174 MovieClip Frame 1
stop();
Instance of Symbol 1051 MovieClip "motor" in Symbol 1174 MovieClip Frame 2
onClipEvent (load) {
_parent._parent.got_motor = 2;
boxx.gotoAndStop(1);
}
Instance of Symbol 1051 MovieClip "motor" in Symbol 1174 MovieClip Frame 10
onClipEvent (load) {
_parent._parent.got_motor = 2;
boxx.gotoAndStop(2);
}
Instance of Symbol 1051 MovieClip "motor" in Symbol 1174 MovieClip Frame 15
onClipEvent (load) {
_parent._parent.got_motor = 2;
boxx.gotoAndStop(2);
}
Symbol 1176 MovieClip Frame 1
if (loaded == undefined) {
loaded = 2;
gotoAndPlay(random(50) + 1);
}
Symbol 1177 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
};
Symbol 1177 MovieClip Frame 2
if (typee == undefined) {
typee = 8;
posi = 6;
speedx = (random(20) / 10) * -1;
}
if (posi == 1) {
_x = 800;
}
if (posi == 2) {
_x = 800;
}
if (posi == 3) {
_x = 720;
}
if (posi == 4) {
_x = 1070;
}
if (posi == 5) {
_x = 1670;
}
if (posi == 6) {
_x = 1895;
}
if (posi == 7) {
_x = 2100;
}
if (posi == 8) {
_x = 2455;
}
if (posi == 9) {
_x = 2680;
}
if (posi == 10) {
_x = 2930;
}
if (typee <= 15) {
if (((typee == 10) || (typee == 12)) || (typee == 15)) {
ob_1.gotoAndStop(2);
ob_2.gotoAndStop(2);
ob_3.gotoAndStop(2);
} else {
aa = random(2) + 1;
if (aa == 1) {
ob_1.gotoAndStop(2);
} else {
ob_1.gotoAndStop(2);
ob_2.gotoAndStop(2);
}
}
}
if (typee == 1) {
nb_people = 2;
energy = 60;
typee_people = 16;
typee_people_min = 1;
posi_people_adjust = -45;
typee_parts = 1;
rotation_power = 1;
p_1 = 4;
p_2 = 3;
p_3 = 3;
p_4 = 4;
p_5 = 5;
p_6 = 6;
p_7 = 7;
p_8 = 8;
}
if (typee == 2) {
nb_people = 2;
energy = 60;
typee_people = 16;
typee_people_min = 1;
posi_people_adjust = -45;
typee_parts = 1;
rotation_power = 1;
p_1 = 4;
p_2 = 3;
p_3 = 3;
p_4 = 4;
p_5 = 5;
p_6 = 6;
p_7 = 7;
p_8 = 8;
}
if (typee == 3) {
nb_people = 3;
energy = 80;
typee_people = 16;
typee_people_min = 1;
posi_people_adjust = -45;
typee_parts = 2;
rotation_power = 1;
p_1 = 4;
p_2 = 3;
p_3 = 5;
p_4 = 4;
p_5 = 5;
p_6 = 6;
p_7 = 7;
p_8 = 8;
}
if (typee == 4) {
nb_people = 4;
energy = 80;
typee_people = 16;
typee_people_min = 1;
posi_people_adjust = -45;
typee_parts = 2;
rotation_power = 0.7;
p_1 = 6;
p_2 = 1;
p_3 = 5;
p_4 = 4;
p_5 = 5;
p_6 = 6;
p_7 = 7;
p_8 = 8;
}
if (typee == 5) {
nb_people = 2;
energy = 40;
typee_people = 16;
typee_people_min = 1;
posi_people_adjust = -45;
typee_parts = 1;
rotation_power = 1;
p_1 = 4;
p_2 = 3;
p_3 = 3;
p_4 = 4;
p_5 = 5;
p_6 = 6;
p_7 = 7;
p_8 = 8;
}
if (typee == 6) {
nb_people = 2;
energy = 30;
typee_people = 16;
typee_people_min = 1;
posi_people_adjust = -30;
typee_parts = 1;
rotation_power = 0.5;
p_1 = 6;
p_2 = 3;
p_3 = 3;
p_4 = 4;
p_5 = 5;
p_6 = 6;
p_7 = 7;
p_8 = 8;
}
if (typee == 7) {
nb_people = 3;
energy = 30;
typee_people = 16;
typee_people_min = 1;
posi_people_adjust = -45;
typee_parts = 1;
rotation_power = 1;
speedx = -4;
p_1 = 6;
p_2 = 1;
p_3 = 5;
p_4 = 4;
p_5 = 5;
p_6 = 6;
p_7 = 7;
p_8 = 8;
}
if (typee == 8) {
nb_people = 2;
energy = 30;
typee_people = 16;
typee_people_min = 1;
posi_people_adjust = -45;
typee_parts = 9;
rotation_power = 1;
p_1 = 4;
p_2 = 3;
p_3 = 3;
p_4 = 4;
p_5 = 5;
p_6 = 6;
p_7 = 7;
p_8 = 8;
}
if (typee == 9) {
nb_people = 1;
energy = 60;
typee_people = 16;
typee_people_min = 1;
posi_people_adjust = -42;
typee_parts = 3;
rotation_power = 1.5;
p_1 = 2;
p_2 = 2;
p_3 = 3;
p_4 = 4;
p_5 = 5;
p_6 = 6;
p_7 = 7;
p_8 = 8;
}
if (typee == 10) {
nb_people = 6;
energy = 200;
typee_people = 16;
typee_people_min = 1;
posi_people_adjust = -68;
typee_parts = 1;
rotation_power = 1;
speedx = 0;
p_1 = 1;
p_2 = 2;
p_3 = 4;
p_4 = 5;
p_5 = 7;
p_6 = 8;
p_7 = 7;
p_8 = 8;
}
if (typee == 11) {
nb_people = 4;
energy = 100;
typee_people = 16;
typee_people_min = 1;
posi_people_adjust = -60;
typee_parts = 4;
rotation_power = 1;
speedx = 0;
p_1 = 6;
p_2 = 7;
p_3 = 1;
p_4 = 3;
p_5 = 5;
p_6 = 6;
p_7 = 7;
p_8 = 8;
}
if (typee == 12) {
nb_people = 6;
energy = 80;
typee_people = 16;
typee_people_min = 1;
posi_people_adjust = -45;
typee_parts = 4;
rotation_power = 1;
speedx = 0;
p_1 = 1;
p_2 = 2;
p_3 = 4;
p_4 = 5;
p_5 = 7;
p_6 = 8;
p_7 = 7;
p_8 = 8;
}
if (typee == 13) {
nb_people = 3;
energy = 30;
typee_people = 16;
typee_people_min = 1;
posi_people_adjust = -40;
typee_parts = 1;
rotation_power = 1;
speedx = 0;
p_1 = 6;
p_2 = 5;
p_3 = 3;
p_4 = 4;
p_5 = 5;
p_6 = 6;
p_7 = 7;
p_8 = 8;
}
if (typee == 14) {
nb_people = 4;
energy = 30;
typee_people = 16;
typee_people_min = 1;
posi_people_adjust = -70;
typee_parts = 4;
rotation_power = 1;
speedx = 0;
p_1 = 1;
p_2 = 2;
p_3 = 3;
p_4 = 4;
p_5 = 5;
p_6 = 6;
p_7 = 7;
p_8 = 8;
}
if (typee == 15) {
nb_people = 6;
energy = 200;
typee_people = 16;
typee_people_min = 1;
posi_people_adjust = -85;
typee_parts = 2;
rotation_power = 1;
speedx = 0;
p_1 = 1;
p_2 = 2;
p_3 = 4;
p_4 = 5;
p_5 = 7;
p_6 = 8;
p_7 = 7;
p_8 = 8;
}
if (typee == 16) {
nb_people = 2;
energy = 1;
typee_people = 16;
typee_people_min = 1;
posi_people_adjust = -45;
typee_parts = 1;
rotation_power = 1;
speedx = 0;
p_1 = 3;
p_2 = 4;
p_3 = 3;
p_4 = 4;
p_5 = 5;
p_6 = 6;
p_7 = 7;
p_8 = 8;
}
if (typee == 17) {
nb_people = 1;
energy = 1;
typee_people = 16;
typee_people_min = 1;
posi_people_adjust = -28;
typee_parts = 3;
rotation_power = 1;
speedx = 0;
p_1 = 1;
p_2 = 2;
p_3 = 3;
p_4 = 4;
p_5 = 5;
p_6 = 6;
p_7 = 7;
p_8 = 8;
}
if (typee == 18) {
nb_people = 1;
energy = 40;
typee_people = 16;
typee_people_min = 1;
posi_people_adjust = -35;
typee_parts = 3;
rotation_power = 1;
speedx = 0;
p_1 = 1;
p_2 = 2;
p_3 = 3;
p_4 = 4;
p_5 = 5;
p_6 = 6;
p_7 = 7;
p_8 = 8;
}
if (typee == 19) {
nb_people = 1;
energy = 1;
typee_people = 16;
typee_people_min = 1;
posi_people_adjust = -40;
typee_parts = 3;
rotation_power = 1;
speedx = 0;
p_1 = 1;
p_2 = 2;
p_3 = 3;
p_4 = 4;
p_5 = 5;
p_6 = 6;
p_7 = 7;
p_8 = 8;
}
if (typee == 20) {
nb_people = 1;
energy = 1;
typee_people = 16;
typee_people_min = 1;
posi_people_adjust = -5;
typee_parts = 5;
rotation_power = 1;
speedx = 0;
p_1 = 1;
p_2 = 2;
p_3 = 3;
p_4 = 4;
p_5 = 5;
p_6 = 6;
p_7 = 7;
p_8 = 8;
}
sinked = 1;
speedy = 0.75;
bulle_timer = random(50) + 50;
tot_energy = energy;
hited = 0;
_visible = true;
stop();
onEnterFrame = function () {
if ((Math.abs(_y - _root.cnt.p_0._y) + Math.abs(_x - _root.cnt.p_0._x)) < 700) {
_visible = true;
} else {
_visible = false;
}
if ((((_root.lvl == 4) && (_x > 1200)) && (_x < 2000)) && (_y > 1200)) {
_root.cnt.boat_sinkravin = 2;
}
boxx.gotoAndStop(typee);
if ((sinked == 1) && (energy <= 0)) {
sinked = 2;
_root.sinked = _root.sinked + 1;
Set("_root.boat_sinked_" + typee, eval ("_root.boat_sinked_" + typee) + 1);
}
if (nb_people != 0) {
eval ("_root.cnt.e_" + _root.nb_peeps).gotoAndStop(1);
eval ("_root.cnt.e_" + _root.nb_peeps).gotoAndStop(2);
Set(("_root.cnt.e_" + _root.nb_peeps) + ".typee", random(typee_people) + typee_people_min);
Set(("_root.cnt.e_" + _root.nb_peeps) + ".boat_typee", typee);
Set(("_root.cnt.e_" + _root.nb_peeps) + ".passager_nb", nb_people);
Set(("_root.cnt.e_" + _root.nb_peeps) + ".posi_boat", nb);
Set(("_root.cnt.e_" + _root.nb_peeps) + ".onboat", 2);
Set(("_root.cnt.e_" + _root.nb_peeps) + ".posi_people", eval ("p_" + nb_people));
Set(("_root.cnt.e_" + _root.nb_peeps) + ".posi_people_adjust", posi_people_adjust);
_root.nb_peeps = _root.nb_peeps + 1;
nb_people = nb_people - 1;
}
if ((typee == 10) && (hited > 1)) {
hited = 1;
}
if (hited != 0) {
if (typee == 20) {
hited = 1;
}
hited = hited - 1;
eval ("_root.cnt.pr_" + _root.pt_parts_nb).gotoAndStop(1);
eval ("_root.cnt.pr_" + _root.pt_parts_nb).gotoAndStop(2);
Set(("_root.cnt.pr_" + _root.pt_parts_nb) + "._x", hitedx + (random(50) - 25));
Set(("_root.cnt.pr_" + _root.pt_parts_nb) + "._y", 150 - (random(20) + 1));
Set(("_root.cnt.pr_" + _root.pt_parts_nb) + ".speedy", hitedspeedy);
Set(("_root.cnt.pr_" + _root.pt_parts_nb) + ".typee", typee_parts);
_root.pt_parts_nb = _root.pt_parts_nb + 1;
if (_root.pt_parts_nb == 21) {
_root.pt_parts_nb = 1;
}
}
if (energy != tot_energy) {
if (ob_1.typee != 0) {
eval ("_root.cnt.pr_" + _root.pt_parts_nb).gotoAndStop(1);
eval ("_root.cnt.pr_" + _root.pt_parts_nb).gotoAndStop(2);
eval ("_root.cnt.pr_" + _root.pt_parts_nb).boxx.gotoAndStop(6);
eval ("_root.cnt.pr_" + _root.pt_parts_nb).boxx.boxx_items.gotoAndStop(ob_1.typee);
Set(("_root.cnt.pr_" + _root.pt_parts_nb) + "._x", hitedx + (random(50) - 25));
Set(("_root.cnt.pr_" + _root.pt_parts_nb) + "._y", 150 - (random(20) + 1));
Set(("_root.cnt.pr_" + _root.pt_parts_nb) + ".speedy", (random(6) + 5) * -1);
Set(("_root.cnt.pr_" + _root.pt_parts_nb) + ".typee", 6);
_root.pt_parts_nb = _root.pt_parts_nb + 1;
if (_root.pt_parts_nb == 21) {
_root.pt_parts_nb = 1;
}
ob_1.typee = 0;
ob_1.gotoAndStop(1);
}
if (ob_2.typee != 0) {
eval ("_root.cnt.pr_" + _root.pt_parts_nb).gotoAndStop(1);
eval ("_root.cnt.pr_" + _root.pt_parts_nb).gotoAndStop(2);
eval ("_root.cnt.pr_" + _root.pt_parts_nb).boxx.gotoAndStop(6);
eval ("_root.cnt.pr_" + _root.pt_parts_nb).boxx.boxx_items.gotoAndStop(ob_2.typee);
Set(("_root.cnt.pr_" + _root.pt_parts_nb) + "._x", hitedx + (random(50) - 25));
Set(("_root.cnt.pr_" + _root.pt_parts_nb) + "._y", 150 - (random(20) + 1));
Set(("_root.cnt.pr_" + _root.pt_parts_nb) + ".speedy", (random(6) + 5) * -1);
Set(("_root.cnt.pr_" + _root.pt_parts_nb) + ".typee", 6);
_root.pt_parts_nb = _root.pt_parts_nb + 1;
if (_root.pt_parts_nb == 21) {
_root.pt_parts_nb = 1;
}
ob_2.typee = 0;
ob_2.gotoAndStop(1);
}
if (ob_3.typee != 0) {
eval ("_root.cnt.pr_" + _root.pt_parts_nb).gotoAndStop(1);
eval ("_root.cnt.pr_" + _root.pt_parts_nb).gotoAndStop(2);
eval ("_root.cnt.pr_" + _root.pt_parts_nb).boxx.gotoAndStop(6);
eval ("_root.cnt.pr_" + _root.pt_parts_nb).boxx.boxx_items.gotoAndStop(ob_3.typee);
Set(("_root.cnt.pr_" + _root.pt_parts_nb) + "._x", hitedx + (random(50) - 25));
Set(("_root.cnt.pr_" + _root.pt_parts_nb) + "._y", 150 - (random(20) + 1));
Set(("_root.cnt.pr_" + _root.pt_parts_nb) + ".speedy", (random(6) + 5) * -1);
Set(("_root.cnt.pr_" + _root.pt_parts_nb) + ".typee", 6);
_root.pt_parts_nb = _root.pt_parts_nb + 1;
if (_root.pt_parts_nb == 21) {
_root.pt_parts_nb = 1;
}
ob_3.typee = 0;
ob_3.gotoAndStop(1);
}
}
if (energy <= (tot_energy * 0.33)) {
boxx.boxx.gotoAndStop(4);
}
if ((energy > 0) && (energy <= (tot_energy * 0.33))) {
boxx.boxx.gotoAndStop(3);
}
if ((energy > (tot_energy * 0.33)) && (energy <= (tot_energy * 0.66))) {
boxx.boxx.gotoAndStop(2);
}
if (energy > (tot_energy * 0.66)) {
boxx.boxx.gotoAndStop(1);
}
if (energy > 0) {
_x = (_x + speedx);
_y = (150 + vagues.boxx._y);
boxx._rotation = boxx.rot.boxx._rotation * rotation_power;
} else {
if (_root.lvl == 4) {
_y = (_y + 1.5);
_x = (_x - (_root.courant * 0.4));
}
_x = (_x + (_root.courant * 0.4));
_y = (_y + speedy);
boxx._rotation = boxx.rot.boxx._rotation;
if (bulle_timer != 0) {
bulle_timer = bulle_timer - 1;
} else {
bulle_timer = random(50) + 50;
Set(("_root.cnt.b_" + _root.pt_bulle_nb) + "._x", (_x + random(Math.round(boxx.boxx._width))) - (boxx.boxx._width / 2));
Set(("_root.cnt.b_" + _root.pt_bulle_nb) + "._y", _y);
Set(("_root.cnt.b_" + _root.pt_bulle_nb) + ".power", random(20) - 10);
eval ("_root.cnt.b_" + _root.pt_bulle_nb).gotoAndStop(1);
eval ("_root.cnt.b_" + _root.pt_bulle_nb).gotoAndStop(2);
_root.pt_bulle_nb = _root.pt_bulle_nb + 1;
if (_root.pt_bulle_nb == 21) {
_root.pt_bulle_nb = 1;
}
}
if (_y > 1500) {
gotoAndStop (1);
}
}
};
Instance of Symbol 628 MovieClip in Symbol 1177 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._x < _root.cnt.p_0._x) {
_x = (_parent._width * 0.5);
} else {
_x = (_parent._width * -0.5);
}
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_parent.energy > 0) {
if (_root.zone_visible.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent._visible = true;
} else {
_parent._visible = false;
}
} else {
_parent._visible = true;
}
if (_root.cnt.holehitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.boatravinlvl4 = 2;
}
i++;
}
}
Symbol 1183 MovieClip Frame 1
gotoAndStop(_parent._parent.colorr);
Symbol 1188 MovieClip Frame 1
gotoAndStop(_parent._parent.colorr);
Symbol 1193 MovieClip Frame 1
gotoAndStop(_parent._parent.colorr);
Symbol 1196 MovieClip Frame 1
if (loaded == undefined) {
loaded = 2;
gotoAndPlay(random(100) + 1);
}
Symbol 1197 MovieClip Frame 1
if (loaded == undefined) {
loaded = 2;
gotoAndPlay(random(85) + 1);
}
Symbol 1198 MovieClip Frame 1
spot_trouve = 1;
stop();
Instance of Symbol 1047 MovieClip in Symbol 1198 MovieClip Frame 2
onClipEvent (load) {
aa = random(8) + 1;
if (aa == 1) {
_x = -150;
_y = -150;
}
if (aa == 2) {
_x = 0;
_y = -150;
}
if (aa == 3) {
_x = 150;
_y = -150;
}
if (aa == 4) {
_x = -150;
_y = 0;
}
if (aa == 5) {
_x = 150;
_y = 0;
}
if (aa == 6) {
_x = -150;
_y = 150;
}
if (aa == 7) {
_x = 0;
_y = 150;
}
if (aa == 8) {
_x = 150;
_y = 150;
}
}
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.s_hitt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
} else {
Set("_root.banc_x_" + _parent._parent.pack, _parent._parent._x + _x);
Set("_root.banc_y_" + _parent._parent.pack, _parent._parent._y + _y);
_parent.spot_trouve = 2;
trace("new spot");
}
i++;
}
}
Symbol 1198 MovieClip Frame 4
if ((spot_trouve != 2) || (eval ("_root.banc_y_" + _parent.pack) <= 160)) {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 1199 MovieClip Frame 1
_visible = false;
stop();
Symbol 1199 MovieClip Frame 2
_visible = true;
collor = random(4) + 1;
speedx = 0;
speedy = 0;
speed_acc = 0.055;
speed_acc_st = speed_acc;
speed_top = 10;
distx = (nb * random(12)) + 20;
aa = 55 - (nb * 2.5);
disty = random(aa) - (aa / 2);
timer = 0;
charged = 1;
stop();
onEnterFrame = function () {
if ((Math.abs(_y - _root.cnt.p_0._y) + Math.abs(_x - _root.cnt.p_0._x)) < 550) {
_visible = true;
} else {
_visible = false;
}
if (nb != 1) {
hitt_1._visible = false;
}
if (timer != 0) {
timer = timer - 1;
}
sx = eval ("_root.banc_x_" + pack) + distx;
sy = eval ("_root.banc_y_" + pack) + disty;
speedx = (((sx - _x) * speed_acc) / (nb + 1)) * 10;
speedy = (((sy - _y) * speed_acc) / (nb + 1)) * 10;
_x = (_x + speedx);
_y = (_y + speedy);
if (sx < (_x - 10)) {
if (_xscale > 30) {
_xscale = (_xscale - 10);
}
if ((_xscale > -30) && (_xscale <= 30)) {
_xscale = -30;
}
if (_xscale <= -30) {
_xscale = (_xscale - 10);
if (_xscale < -100) {
_xscale = -100;
}
}
}
if (sx > (_x + 10)) {
if (_xscale < -30) {
_xscale = (_xscale + 10);
}
if ((_xscale >= -30) && (_xscale < 30)) {
_xscale = 30;
}
if (_xscale >= 30) {
_xscale = (_xscale + 10);
if (_xscale > 100) {
_xscale = 100;
}
}
}
if (sy < (_y - 10)) {
if (_xscale >= 0) {
_rotation = (sy - _y);
} else {
_rotation = (_y - sy);
}
}
if (sy > (_y + 10)) {
if (_xscale >= 0) {
_rotation = (sy - _y);
} else {
_rotation = (_y - sy);
}
}
boxx._x = moves.boxx._x;
boxx._y = moves.boxx.boxx._y;
hitt._x = moves.boxx._x;
hitt._y = moves.boxx.boxx._y;
};
Symbol 1199 MovieClip Frame 3
_root.fished = _root.fished + 1;
stop();
onEnterFrame = function () {
};
Symbol 1208 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.energy_2);
onEnterFrame = function () {
gotoAndStop(_parent._parent._parent.energy_2);
};
Symbol 1215 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.energy_2);
onEnterFrame = function () {
gotoAndStop(_parent._parent._parent.energy_2);
};
Symbol 1217 MovieClip Frame 1
stop();
Symbol 1222 MovieClip Frame 50
gotoAndPlay (1);
Symbol 1222 MovieClip Frame 120
_root.cnt.requin_dead = 2;
Symbol 1222 MovieClip Frame 200
stop();
Symbol 1223 MovieClip Frame 1
timer = (10 - _root.lvl) * 80;
_visible = false;
stop();
onEnterFrame = function () {
if (_root.interr.tutoo._currentframe == 41) {
if (timer != 0) {
timer = timer - 1;
} else if (_root.lvl >= 1) {
gotoAndStop (2);
}
}
};
Symbol 1223 MovieClip Frame 2
_y = 150;
sy = _y;
if (_root.cheat_6 == 2) {
smooting_crocro = 0.2;
} else {
smooting_crocro = 0.75;
}
speed = 0.1;
speedx = 7;
side = random(2) + 1;
energy_max = 500;
energy = energy_max;
if (side == 1) {
side = "R";
_x = 0;
} else {
side = "L";
_x = 4000;
}
_visible = true;
stop();
onEnterFrame = function () {
energy_2 = Math.round((energy * 5) / energy_max);
speedx = (((energy * 5) / energy_max) + 2) * smooting_crocro;
if (energy <= 0) {
_root.ob_10 = 2;
boxx.tete.hitt._visible = false;
boxx.tete.hitt_clap._visible = false;
speedx = 0;
if (boxx._currentframe < 101) {
boxx.gotoAndPlay(101);
}
}
if (side == "R") {
_xscale = 100;
_yscale = 100;
_x = (_x + speedx);
if (_x > 4000) {
gotoAndStop (1);
}
} else {
_xscale = -100;
_yscale = 100;
_x = (_x - speedx);
if (_x < 0) {
gotoAndStop (1);
}
}
if (sy > (_parent.p_0._y + 5)) {
sy = sy - 4;
}
if (sy < (_parent.p_0._y - 5)) {
sy = sy + 4;
}
if (sy < 150) {
sy = 150;
}
speedy = (sy - _y) * speed;
if (energy > 0) {
if ((_y < (sy - 0.5)) || (_y > (sy + 0.5))) {
_y = (_y + speedy);
}
} else {
_y = (_y + 1.5);
}
};
Symbol 1228 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = random(3) + 1;
if (aa != 1) {
_visible = false;
}
_xscale = (random(20) + 16);
_yscale = _xscale;
gotoAndStop(random(3) + 1);
}
Symbol 1233 MovieClip Frame 1
stop();
Symbol 1233 MovieClip Frame 60
gotoAndPlay (1);
Symbol 1253 MovieClip Frame 1
gotoAndStop(_parent.energy_2);
onEnterFrame = function () {
gotoAndStop(_parent.energy_2);
};
Symbol 1259 MovieClip Frame 1
stop();
Symbol 1265 MovieClip Frame 1
gotoAndStop(_parent.energy_2);
onEnterFrame = function () {
gotoAndStop(_parent.energy_2);
};
Symbol 1268 MovieClip Frame 1
if (_parent.cant_monster != 2) {
aa = random(10) + 1;
if (aa == 1) {
gotoAndStop (2);
} else {
stop();
}
} else {
stop();
}
Symbol 1268 MovieClip Frame 2
energy_max = 500;
energy = energy_max;
_parent.gotoAndStop(2);
stop();
onEnterFrame = function () {
energy_2 = Math.round((energy * 5) / energy_max);
};
Symbol 1268 MovieClip Frame 111
if (energy <= 0) {
gotoAndPlay (121);
}
Symbol 1268 MovieClip Frame 119
_parent.gotoAndStop(1);
stop();
Symbol 1268 MovieClip Frame 149
_root.cnt.seamonster_dead = 2;
Symbol 1268 MovieClip Frame 170
_parent.gotoAndStop(1);
stop();
Symbol 1270 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (bulle_go == 2) {
bulle_go = 1;
Set(("_root.cnt.b_" + _root.pt_bulle_nb) + "._x", _parent._x * 0.93);
Set(("_root.cnt.b_" + _root.pt_bulle_nb) + "._y", _parent._y * 0.93);
Set(("_root.cnt.b_" + _root.pt_bulle_nb) + ".power", random(20) - 10);
eval ("_root.cnt.b_" + _root.pt_bulle_nb).gotoAndStop(1);
eval ("_root.cnt.b_" + _root.pt_bulle_nb).gotoAndStop(2);
_root.pt_bulle_nb = _root.pt_bulle_nb + 1;
if (_root.pt_bulle_nb == 21) {
_root.pt_bulle_nb = 1;
}
}
};
Symbol 1270 MovieClip Frame 3
bulle_go = 2;
Symbol 1270 MovieClip Frame 5
bulle_go = 2;
Symbol 1270 MovieClip Frame 7
bulle_go = 2;
Symbol 1270 MovieClip Frame 9
bulle_go = 2;
Symbol 1270 MovieClip Frame 11
bulle_go = 2;
Symbol 1270 MovieClip Frame 13
bulle_go = 2;
Symbol 1271 MovieClip Frame 1
timer_hitt = 0;
touched = 1;
stop();
onEnterFrame = function () {
if (touched == 2) {
touched = 1;
_root.cnt.s_hitt.trou_1.gotoAndPlay(2);
_root.cnt.s_hitt.trou_2.gotoAndPlay(2);
_root.cnt.s_hitt.trou_3.gotoAndPlay(2);
_root.cnt.s_hitt.trou_4.gotoAndPlay(2);
_root.cnt.s_hitt.trou_5.gotoAndPlay(2);
_root.cnt.s_hitt.trou_6.gotoAndPlay(2);
_root.cnt.s_hitt.trou_7.gotoAndPlay(2);
_root.cnt.s_hitt.trou_8.gotoAndPlay(2);
_root.cnt.s_hitt.trou_9.gotoAndPlay(2);
_root.cnt.s_hitt.trou_10.gotoAndPlay(2);
_root.cnt.s_hitt.trou_11.gotoAndPlay(2);
_root.cnt.s_hitt.trou_12.gotoAndPlay(2);
_root.cnt.s_hitt.trou_13.gotoAndPlay(2);
_root.cnt.s_hitt.trou_14.gotoAndPlay(2);
_root.cnt.s_hitt.trou_15.gotoAndPlay(2);
_root.cnt.s_hitt.trou_16.gotoAndPlay(2);
_root.cnt.s_hitt.trou_17.gotoAndPlay(2);
_root.cnt.s_hitt.trou_18.gotoAndPlay(2);
_root.cnt.s_hitt.trou_19.gotoAndPlay(2);
_root.cnt.s_hitt.trou_20.gotoAndPlay(2);
if (nb < 11) {
_root.cnt.p_0._x = eval (("_parent.trou_" + (nb + 10)) + "._x") * 0.93;
_root.cnt.p_0._y = eval (("_parent.trou_" + (nb + 10)) + "._y") * 0.93;
_root.cnt.p_0.speedx = eval (("_parent.trou_" + (nb + 10)) + ".speedx") * 2;
_root.cnt.p_0.speedy = eval (("_parent.trou_" + (nb + 10)) + ".speedy");
trace(eval (("_parent.trou_" + (nb + 10)) + ".bulles_prog"));
eval (("_parent.trou_" + (nb + 10)) + ".bulles_prog").gotoAndPlay(2);
} else {
_root.cnt.p_0._x = eval (("_parent.trou_" + (nb - 10)) + "._x") * 0.93;
_root.cnt.p_0._y = eval (("_parent.trou_" + (nb - 10)) + "._y") * 0.93;
_root.cnt.p_0.speedx = eval (("_parent.trou_" + (nb - 10)) + ".speedx") * 2;
_root.cnt.p_0.speedy = eval (("_parent.trou_" + (nb - 10)) + ".speedy");
eval (("_parent.trou_" + (nb - 10)) + ".bulles_prog").gotoAndPlay(2);
}
if (_root.p_energy_1 > 0) {
_root.cnt.p_1._x = _root.cnt.p_0._x;
_root.cnt.p_1._y = _root.cnt.p_0._y;
}
if (_root.p_energy_2 > 0) {
_root.cnt.p_2._x = _root.cnt.p_0._x;
_root.cnt.p_2._y = _root.cnt.p_0._y;
}
if (_root.p_energy_3 > 0) {
_root.cnt.p_3._x = _root.cnt.p_0._x;
_root.cnt.p_3._y = _root.cnt.p_0._y;
}
if (_root.p_energy_4 > 0) {
_root.cnt.p_4._x = _root.cnt.p_0._x;
_root.cnt.p_4._y = _root.cnt.p_0._y;
}
if (_root.p_energy_5 > 0) {
_root.cnt.p_5._x = _root.cnt.p_0._x;
_root.cnt.p_5._y = _root.cnt.p_0._y;
}
if (_root.p_energy_6 > 0) {
_root.cnt.p_6._x = _root.cnt.p_0._x;
_root.cnt.p_6._y = _root.cnt.p_0._y;
}
if (_root.p_energy_7 > 0) {
_root.cnt.p_7._x = _root.cnt.p_0._x;
_root.cnt.p_7._y = _root.cnt.p_0._y;
}
if (_root.p_energy_8 > 0) {
_root.cnt.p_8._x = _root.cnt.p_0._x;
_root.cnt.p_8._y = _root.cnt.p_0._y;
}
if (_root.p_energy_9 > 0) {
_root.cnt.p_9._x = _root.cnt.p_0._x;
_root.cnt.p_9._y = _root.cnt.p_0._y;
}
if (_root.p_energy_10 > 0) {
_root.cnt.p_10._x = _root.cnt.p_0._x;
_root.cnt.p_10._y = _root.cnt.p_0._y;
}
_root.cnt.p_0.stun = 30;
_root.cnt.p_1.stun = _root.cnt.p_1.nb * 2;
_root.cnt.p_2.stun = _root.cnt.p_2.nb * 2;
_root.cnt.p_3.stun = _root.cnt.p_3.nb * 2;
_root.cnt.p_4.stun = _root.cnt.p_4.nb * 2;
_root.cnt.p_5.stun = _root.cnt.p_5.nb * 2;
_root.cnt.p_6.stun = _root.cnt.p_6.nb * 2;
_root.cnt.p_7.stun = _root.cnt.p_7.nb * 2;
_root.cnt.p_8.stun = _root.cnt.p_8.nb * 2;
_root.cnt.p_9.stun = _root.cnt.p_9.nb * 2;
_root.cnt.p_10.stun = _root.cnt.p_10.nb * 2;
_root.cnt.p_11.stun = _root.cnt.p_11.nb * 2;
_root.cnt.p_12.stun = _root.cnt.p_12.nb * 2;
_root.cnt.p_13.stun = _root.cnt.p_13.nb * 2;
_root.cnt.p_14.stun = _root.cnt.p_14.nb * 2;
_root.cnt.p_15.stun = _root.cnt.p_15.nb * 2;
_root.cnt.p_16.stun = _root.cnt.p_16.nb * 2;
_root.cnt.p_17.stun = _root.cnt.p_17.nb * 2;
_root.cnt.p_18.stun = _root.cnt.p_18.nb * 2;
_root.cnt.p_19.stun = _root.cnt.p_19.nb * 2;
_root.cnt.p_20.stun = _root.cnt.p_20.nb * 2;
_root.cnt.p_1.speedx = _root.cnt.p_0.speedx * (1 - ((_root.cnt.p_1.nb * 1) / 20));
_root.cnt.p_2.speedx = _root.cnt.p_0.speedx * (1 - ((_root.cnt.p_2.nb * 1) / 20));
_root.cnt.p_3.speedx = _root.cnt.p_0.speedx * (1 - ((_root.cnt.p_3.nb * 1) / 20));
_root.cnt.p_4.speedx = _root.cnt.p_0.speedx * (1 - ((_root.cnt.p_4.nb * 1) / 20));
_root.cnt.p_5.speedx = _root.cnt.p_0.speedx * (1 - ((_root.cnt.p_5.nb * 1) / 20));
_root.cnt.p_6.speedx = _root.cnt.p_0.speedx * (1 - ((_root.cnt.p_6.nb * 1) / 20));
_root.cnt.p_7.speedx = _root.cnt.p_0.speedx * (1 - ((_root.cnt.p_7.nb * 1) / 20));
_root.cnt.p_8.speedx = _root.cnt.p_0.speedx * (1 - ((_root.cnt.p_8.nb * 1) / 20));
_root.cnt.p_9.speedx = _root.cnt.p_0.speedx * (1 - ((_root.cnt.p_9.nb * 1) / 20));
_root.cnt.p_10.speedx = _root.cnt.p_0.speedx * (1 - ((_root.cnt.p_10.nb * 1) / 20));
_root.cnt.p_11.speedx = _root.cnt.p_0.speedx * (1 - ((_root.cnt.p_11.nb * 1) / 20));
_root.cnt.p_12.speedx = _root.cnt.p_0.speedx * (1 - ((_root.cnt.p_12.nb * 1) / 20));
_root.cnt.p_13.speedx = _root.cnt.p_0.speedx * (1 - ((_root.cnt.p_13.nb * 1) / 20));
_root.cnt.p_14.speedx = _root.cnt.p_0.speedx * (1 - ((_root.cnt.p_14.nb * 1) / 20));
_root.cnt.p_15.speedx = _root.cnt.p_0.speedx * (1 - ((_root.cnt.p_15.nb * 1) / 20));
_root.cnt.p_16.speedx = _root.cnt.p_0.speedx * (1 - ((_root.cnt.p_16.nb * 1) / 20));
_root.cnt.p_17.speedx = _root.cnt.p_0.speedx * (1 - ((_root.cnt.p_17.nb * 1) / 20));
_root.cnt.p_18.speedx = _root.cnt.p_0.speedx * (1 - ((_root.cnt.p_18.nb * 1) / 20));
_root.cnt.p_19.speedx = _root.cnt.p_0.speedx * (1 - ((_root.cnt.p_19.nb * 1) / 20));
_root.cnt.p_20.speedx = _root.cnt.p_0.speedx * (1 - ((_root.cnt.p_20.nb * 1) / 20));
_root.cnt.p_1.speedy = _root.cnt.p_0.speedy * (1 - ((_root.cnt.p_1.nb * 0.4) / 20));
_root.cnt.p_2.speedy = _root.cnt.p_0.speedy * (1 - ((_root.cnt.p_2.nb * 0.4) / 20));
_root.cnt.p_3.speedy = _root.cnt.p_0.speedy * (1 - ((_root.cnt.p_3.nb * 0.4) / 20));
_root.cnt.p_4.speedy = _root.cnt.p_0.speedy * (1 - ((_root.cnt.p_4.nb * 0.4) / 20));
_root.cnt.p_5.speedy = _root.cnt.p_0.speedy * (1 - ((_root.cnt.p_5.nb * 0.4) / 20));
_root.cnt.p_6.speedy = _root.cnt.p_0.speedy * (1 - ((_root.cnt.p_6.nb * 0.4) / 20));
_root.cnt.p_7.speedy = _root.cnt.p_0.speedy * (1 - ((_root.cnt.p_7.nb * 0.4) / 20));
_root.cnt.p_8.speedy = _root.cnt.p_0.speedy * (1 - ((_root.cnt.p_8.nb * 0.4) / 20));
_root.cnt.p_9.speedy = _root.cnt.p_0.speedy * (1 - ((_root.cnt.p_9.nb * 0.4) / 20));
_root.cnt.p_10.speedy = _root.cnt.p_0.speedy * (1 - ((_root.cnt.p_10.nb * 0.4) / 20));
_root.cnt.p_11.speedy = _root.cnt.p_0.speedy * (1 - ((_root.cnt.p_11.nb * 0.4) / 20));
_root.cnt.p_12.speedy = _root.cnt.p_0.speedy * (1 - ((_root.cnt.p_12.nb * 0.4) / 20));
_root.cnt.p_13.speedy = _root.cnt.p_0.speedy * (1 - ((_root.cnt.p_13.nb * 0.4) / 20));
_root.cnt.p_14.speedy = _root.cnt.p_0.speedy * (1 - ((_root.cnt.p_14.nb * 0.4) / 20));
_root.cnt.p_15.speedy = _root.cnt.p_0.speedy * (1 - ((_root.cnt.p_15.nb * 0.4) / 20));
_root.cnt.p_16.speedy = _root.cnt.p_0.speedy * (1 - ((_root.cnt.p_16.nb * 0.4) / 20));
_root.cnt.p_17.speedy = _root.cnt.p_0.speedy * (1 - ((_root.cnt.p_17.nb * 0.4) / 20));
_root.cnt.p_18.speedy = _root.cnt.p_0.speedy * (1 - ((_root.cnt.p_18.nb * 0.4) / 20));
_root.cnt.p_19.speedy = _root.cnt.p_0.speedy * (1 - ((_root.cnt.p_19.nb * 0.4) / 20));
_root.cnt.p_20.speedy = _root.cnt.p_0.speedy * (1 - ((_root.cnt.p_20.nb * 0.4) / 20));
}
};
Instance of Symbol 1271 MovieClip "trou_1" in Symbol 1272 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
speedx = 5;
speedy = -5;
}
Instance of Symbol 1271 MovieClip "trou_11" in Symbol 1272 MovieClip Frame 1
onClipEvent (load) {
nb = 11;
speedx = -5;
speedy = 0;
}
Instance of Symbol 1271 MovieClip "trou_13" in Symbol 1272 MovieClip Frame 1
onClipEvent (load) {
nb = 13;
speedx = -5;
speedy = 0;
}
Instance of Symbol 1271 MovieClip "trou_3" in Symbol 1272 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
speedx = 5;
speedy = 0;
}
Instance of Symbol 1271 MovieClip "trou_12" in Symbol 1272 MovieClip Frame 1
onClipEvent (load) {
nb = 12;
speedx = 5;
speedy = 0;
}
Instance of Symbol 1271 MovieClip "trou_2" in Symbol 1272 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
speedx = -5;
speedy = -10;
cant_monster = 2;
}
Instance of Symbol 1271 MovieClip "trou_14" in Symbol 1272 MovieClip Frame 1
onClipEvent (load) {
nb = 14;
speedx = 5;
speedy = -2;
}
Instance of Symbol 1271 MovieClip "trou_4" in Symbol 1272 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
speedx = 5;
speedy = -2;
}
Instance of Symbol 1271 MovieClip "trou_15" in Symbol 1272 MovieClip Frame 1
onClipEvent (load) {
nb = 15;
speedx = -5;
speedy = 0;
}
Instance of Symbol 1271 MovieClip "trou_5" in Symbol 1272 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
speedx = 5;
speedy = -10;
cant_monster = 2;
}
Symbol 1276 MovieClip Frame 41
stop();
Symbol 1280 MovieClip Frame 51
stop();
Symbol 1281 MovieClip Frame 1
_visible = false;
stop();
Symbol 1281 MovieClip Frame 2
_visible = true;
stop();
Symbol 1291 MovieClip Frame 1
stop();
Symbol 1292 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
boxx.gotoAndStop(random(6) + 1);
_x = (_x + (random(24) - 12));
_y = (_y + (random(24) - 12));
gotoAndPlay(random(50) + 1);
}
Symbol 1292 MovieClip Frame 24
aa = random(3) + 1;
if (aa == 1) {
_xscale = (_xscale - 1);
}
boxx.gotoAndStop(random(6) + 1);
Symbol 1294 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((Math.abs(_y - _root.cnt.p_0._y) + Math.abs(_x - _root.cnt.p_0._x)) < 525) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 1299 MovieClip Frame 1
stop();
Symbol 1299 MovieClip Frame 2
play();
Symbol 1299 MovieClip Frame 10
gotoAndPlay (1);
Symbol 1301 MovieClip Frame 1
if (nb > _root.seeds) {
stop();
_visible = false;
} else {
gotoAndStop (2);
}
Symbol 1301 MovieClip Frame 2
_x = 750;
_y = 750;
if (nb != 0) {
distx = (nb * random(12)) + 20;
aa = 55 - (nb * 2.5);
disty = random(aa) - (aa / 2);
} else {
distx = 0;
disty = 0;
}
speedx = 0;
speedy = 0;
speed_acc = 0.055;
if (_root.cheat_5 == 2) {
speed_acc = 0.5;
}
speed_acc_replace = 0.8;
speed_acc_st = speed_acc;
speed_top = 10;
stun = 0;
hited = 0;
replacing = 1;
timer_bulle = random(100) + 100;
algues_slow = 1;
if (_root.cheat_2 == 2) {
Set("_root.p_energy_" + nb, 100000) /* 0x0186A0 */;
}
stop();
onEnterFrame = function () {
if (corp._currentframe <= 10) {
if (eval ("_root.p_energy_" + nb) <= 0) {
gotoAndPlay (3);
}
}
if (nb == 0) {
}
if (timer_bulle != 0) {
timer_bulle = timer_bulle - 1;
} else {
timer_bulle = random(100) + 100;
Set(("_root.cnt.b_" + _root.pt_bulle_nb) + "._x", _x);
Set(("_root.cnt.b_" + _root.pt_bulle_nb) + "._y", _y);
Set(("_root.cnt.b_" + _root.pt_bulle_nb) + ".power", random(20) - 10);
eval ("_root.cnt.b_" + _root.pt_bulle_nb).gotoAndStop(1);
eval ("_root.cnt.b_" + _root.pt_bulle_nb).gotoAndStop(3);
_root.pt_bulle_nb = _root.pt_bulle_nb + 1;
if (_root.pt_bulle_nb == 21) {
_root.pt_bulle_nb = 1;
}
}
if (_x < 420) {
_x = 420;
speedx = 0;
}
if (_x > 3480) {
_x = 3480;
speedx = 0;
}
if (_y > 1480) {
_y = 1480;
speedy = 0;
}
if (nb == 0) {
corp._xscale = 115 + (((_root.poid - 50) * 150) / 300);
corp._yscale = corp._xscale;
} else {
corp._xscale = (115 + (((_root.poid - 50) * 150) / 300)) * 0.5;
corp._yscale = corp._xscale;
}
if (inwater == 2) {
if (_root.interr.tuto._currentframe > 32) {
_x = (_x + (_root.courant * 2));
}
bouncing = 2;
if (stun == 0) {
if (nb == 0) {
if (_root.round_done == 1) {
sx = _parent._xmouse;
sy = _parent._ymouse;
}
if (_root.round_done == 2) {
sx = 0;
sy = 750;
}
} else if (_parent.p_0._xscale > 0) {
sx = _parent.p_0._x - distx;
sy = _parent.p_0._y + disty;
} else {
sx = _parent.p_0._x + distx;
sy = _parent.p_0._y + disty;
}
if (nb == 0) {
speedx = ((sx - _x) * speed_acc) * (0.6 + (_root.fins / 3));
speedy = ((sy - _y) * speed_acc) * (0.6 + (_root.fins / 3));
} else {
speedx = (((sx - _x) * speed_acc) / (nb + 1)) * 10;
speedy = (((sy - _y) * speed_acc) / (nb + 1)) * 10;
}
if (nb == 0) {
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + ((speedx * _root.boost_st) * algues_slow));
}
if ((_y < (sy - 0.5)) || (_y > (sy + 0.5))) {
_y = (_y + (((speedy * 1.8) * _root.boost_st) * algues_slow));
}
} else if (_root.cnt.p_0.replacing == 1) {
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + (speedx * algues_slow));
}
if ((_y < (sy - 0.5)) || (_y > (sy + 0.5))) {
_y = (_y + ((speedy * 1.8) * algues_slow));
}
}
if (sx < (_x - 10)) {
if (_xscale > 30) {
_xscale = (_xscale - 10);
}
if ((_xscale > -30) && (_xscale <= 30)) {
_xscale = -30;
}
if (_xscale <= -30) {
_xscale = (_xscale - 10);
if (_xscale < -100) {
_xscale = -100;
}
}
}
if (sx > (_x + 10)) {
if (_xscale < -30) {
_xscale = (_xscale + 10);
}
if ((_xscale >= -30) && (_xscale < 30)) {
_xscale = 30;
}
if (_xscale >= 30) {
_xscale = (_xscale + 10);
if (_xscale > 100) {
_xscale = 100;
}
}
}
if (nb == 0) {
if (sy < (_y - 10)) {
if (_xscale >= 0) {
_rotation = (sy - _y);
} else {
_rotation = (_y - sy);
}
}
if (sy > (_y + 10)) {
if (_xscale >= 0) {
_rotation = (sy - _y);
} else {
_rotation = (_y - sy);
}
}
} else {
_rotation = (_parent.p_0._rotation * (1 - ((nb * 0.8) / 20)));
}
} else {
stun = Math.round(stun);
stun = stun - 1;
if (stun < 0) {
stun = 0;
}
_x = (_x + speedx);
_y = (_y + (speedy * 1.8));
speedx = speedx * (1 - speed_acc);
speedy = speedy * (1 - speed_acc);
}
if (from_air == 2) {
from_air = 1;
Set(("_root.cnt.g_" + _root.pt_water_nb) + "._x", _x);
Set(("_root.cnt.g_" + _root.pt_water_nb) + "._y", _y);
Set(("_root.cnt.g_" + _root.pt_water_nb) + ".power", speedy * -2);
eval ("_root.cnt.g_" + _root.pt_water_nb).gotoAndStop(1);
eval ("_root.cnt.g_" + _root.pt_water_nb).gotoAndStop(2);
_root.pt_water_nb = _root.pt_water_nb + 1;
if (_root.pt_water_nb == 21) {
_root.pt_water_nb = 1;
}
Set(("_root.cnt.b_" + _root.pt_bulle_nb) + "._x", _x);
Set(("_root.cnt.b_" + _root.pt_bulle_nb) + "._y", _y);
Set(("_root.cnt.b_" + _root.pt_bulle_nb) + ".power", speedy * 2);
eval ("_root.cnt.b_" + _root.pt_bulle_nb).gotoAndStop(1);
eval ("_root.cnt.b_" + _root.pt_bulle_nb).gotoAndStop(2);
_root.pt_bulle_nb = _root.pt_bulle_nb + 1;
if (_root.pt_bulle_nb == 21) {
_root.pt_bulle_nb = 1;
}
}
from_water = 2;
}
if (inwater == 1) {
_x = (_x + speedx);
_y = (_y + (speedy * 1.8));
speedx = speedx * (1 - (speed_acc / 2));
if (speedy < -0.5) {
speedy = speedy * (1 - (speed_acc * 2));
}
if ((speedy >= -0.5) && (speedy <= 0.5)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * (1 + (speed_acc * 2));
}
if (speedx > 0) {
_rotation = (_rotation + 1.5);
} else {
_rotation = (_rotation - 1.5);
}
if (from_water == 2) {
from_water = 1;
Set(("_root.cnt.g_" + _root.pt_water_nb) + "._x", _x);
Set(("_root.cnt.g_" + _root.pt_water_nb) + "._y", _y);
Set(("_root.cnt.g_" + _root.pt_water_nb) + ".power", speedy * -2);
eval ("_root.cnt.g_" + _root.pt_water_nb).gotoAndStop(1);
eval ("_root.cnt.g_" + _root.pt_water_nb).gotoAndStop(2);
_root.pt_water_nb = _root.pt_water_nb + 1;
if (_root.pt_water_nb == 21) {
_root.pt_water_nb = 1;
}
stun = speedy * -0.7;
if (speedx > 0) {
_xscale = 100;
_rotation = -45;
} else {
_xscale = -100;
_rotation = 45;
}
}
from_air = 2;
}
};
Instance of Symbol 628 MovieClip "hitt" in Symbol 1301 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.act == 1) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 31) {
if (_root.cnt["e_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if ((_root.cnt["e_" + nb].energy > -40) && ((Math.abs(_parent.speedx) + Math.abs(_parent.speedy)) >= 7)) {
if (_root.cnt["e_" + nb].onboat == 2) {
_root.cnt["e_" + nb].onboat = 1;
_root.cnt["e_" + nb].speedx = _parent.speedx;
_root.cnt["e_" + nb].speedy = _parent.speedy;
_root.cnt["e_" + nb]._rotation = random(360);
_root.cnt["e_" + nb].boxx.gotoAndPlay(((random(3) + 1) * 20) + 101);
_root.knock_over = _root.knock_over + 1;
}
_parent.corp.gotoAndPlay(2);
_root.cnt["e_" + nb].energy = _root.cnt["e_" + nb].energy - 0.8;
_root.cnt["e_" + nb].bites = _root.cnt["e_" + nb].bites + 1;
_root.blood = _root.blood + 0.1;
_root.cnt["e_" + nb].speedx = _parent.speedx * 0.5;
_root.cnt["e_" + nb].speedy = _parent.speedy * 0.2;
_root.cnt["e_" + nb].speedr = random(16) - 8;
_root.cnt["e_" + nb]._rotation = _root.cnt["e_" + nb]._rotation + (random(40) - 20);
aa = random(5) + 1;
if (aa == 1) {
eval ("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb).gotoAndStop(1);
eval ("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb).gotoAndStop(2);
Set(("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb) + "._x", _parent._x);
Set(("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb) + "._y", _parent._y);
_root.pt_blood_nb = _root.pt_blood_nb + 1;
if (_root.pt_blood_nb == 11) {
_root.pt_blood_nb = 1;
}
}
eval ("_root.cnt.bl_" + _root.pt_blast_nb).gotoAndStop(1);
eval ("_root.cnt.bl_" + _root.pt_blast_nb).gotoAndStop(2);
Set(("_root.cnt.bl_" + _root.pt_blast_nb) + "._x", _parent._x);
Set(("_root.cnt.bl_" + _root.pt_blast_nb) + "._y", _parent._y);
_root.pt_blast_nb = _root.pt_blast_nb + 1;
if (_root.pt_blast_nb == 21) {
_root.pt_blast_nb = 1;
}
}
}
if (_root.cnt.s_hitt["trou_" + nb].monster.starter_hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.s_hitt["trou_" + nb].monster.gotoAndPlay(3);
}
if (_root.cnt.s_hitt["trou_" + nb].monster.eaten_hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
Set("_root.p_energy_" + _parent.nb, eval ("_root.p_energy_" + _parent.nb) - 200);
}
if (_root.cnt.s_hitt["trou_" + nb].monster.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if ((_root.cnt.s_hitt["trou_" + nb].monster.energy > 0) && ((Math.abs(_parent.speedx) + Math.abs(_parent.speedy)) >= 7)) {
_root.cnt.s_hitt["trou_" + nb].monster.energy = _root.cnt.s_hitt["trou_" + nb].monster.energy - (_root.jaws * 4);
_root.blood = _root.blood + 0.1;
_parent.corp.gotoAndPlay(2);
_root.snd.croque.gotoAndPlay((random(9) + 1) * 2);
eval ("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb).gotoAndStop(1);
eval ("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb).gotoAndStop(2);
Set(("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb) + "._x", _parent._x);
Set(("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb) + "._y", _parent._y);
_root.pt_blood_nb = _root.pt_blood_nb + 1;
if (_root.pt_blood_nb == 11) {
_root.pt_blood_nb = 1;
}
eval ("_root.cnt.bl_" + _root.pt_blast_nb).gotoAndStop(1);
eval ("_root.cnt.bl_" + _root.pt_blast_nb).gotoAndStop(2);
Set(("_root.cnt.bl_" + _root.pt_blast_nb) + "._x", _parent._x);
Set(("_root.cnt.bl_" + _root.pt_blast_nb) + "._y", _parent._y);
_root.pt_blast_nb = _root.pt_blast_nb + 1;
if (_root.pt_blast_nb == 21) {
_root.pt_blast_nb = 1;
}
}
}
if (_root.cnt["chest_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt["chest_" + nb].gotoAndStop(3);
_root.timer_fin = _root.timer_fin + 15;
}
if (_root.cnt["meduse_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent.stun <= 0) {
_parent.stun = 40;
_parent.speedx = _parent.speedx * -0.5;
_parent.speedy = _parent.speedy * -0.5;
Set("_root.p_energy_" + _parent.nb, eval ("_root.p_energy_" + _parent.nb) - 80);
_root.shake = 20;
_parent.corp.gotoAndPlay(11);
}
}
if (_root.cnt["fh_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.blood = _root.blood + 0.5;
_root.cnt["fh_" + nb].gotoAndStop(3);
eval ("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb).gotoAndStop(1);
eval ("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb).gotoAndStop(2);
Set(("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb) + "._x", _parent._x);
Set(("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb) + "._y", _parent._y);
_root.pt_blood_nb = _root.pt_blood_nb + 1;
if (_root.pt_blood_nb == 11) {
_root.pt_blood_nb = 1;
}
eval ("_root.cnt.bl_" + _root.pt_blast_nb).gotoAndStop(1);
eval ("_root.cnt.bl_" + _root.pt_blast_nb).gotoAndStop(2);
Set(("_root.cnt.bl_" + _root.pt_blast_nb) + "._x", _parent._x);
Set(("_root.cnt.bl_" + _root.pt_blast_nb) + "._y", _parent._y);
_root.pt_blast_nb = _root.pt_blast_nb + 1;
if (_root.pt_blast_nb == 21) {
_root.pt_blast_nb = 1;
}
}
if (_root.cnt["boat_" + nb].boxx.motor.boxx.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
Set("_root.p_energy_" + _parent.nb, eval ("_root.p_energy_" + _parent.nb) - 50);
if (eval ("_root.p_energy_" + _parent.nb) <= 0) {
eval ("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb).gotoAndStop(1);
eval ("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb).gotoAndStop(2);
Set(("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb) + "._x", _parent._x);
Set(("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb) + "._y", _parent._y);
_root.pt_blood_nb = _root.pt_blood_nb + 1;
if (_root.pt_blood_nb == 11) {
_root.pt_blood_nb = 1;
}
_parent.gotoAndPlay(3);
} else {
_parent.stun = 20;
_parent.speedx = random(20) - 10;
_parent.speedy = 7;
}
}
if (_parent.stun == 0) {
if (_parent.nb == 0) {
if (_root.cnt["fh_" + nb].hitt_1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if ((_root.cnt["fh_" + nb].nb == 1) && (_root.cnt["fh_" + nb].timer == 0)) {
_root.cnt["fh_" + nb].timer = 20;
_root.cnt["fh_" + nb].hitt_spot.gotoAndPlay(2);
}
}
}
if (_parent.nb == 0) {
if (_root.cnt["boat_" + nb].boxx.boxx.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if ((_root.cnt["boat_" + nb].energy > 0) && (_parent.nb == 0)) {
_root.snd.hitboat.gotoAndPlay((random(3) + 1) * 2);
if (_root.timer_snd_panic == 0) {
_root.timer_snd_panic = 240;
_root.snd.panic.gotoAndPlay((random(6) + 1) * 2);
}
_root.shake = 10 * _root.spine;
_root.cnt["boat_" + nb].energy = _root.cnt["boat_" + nb].energy - (30 * _root.spine);
if (_root.cnt["boat_" + nb].energy <= 0) {
_root.cnt["boat_" + nb].people_revol = 2;
_root.cnt["boat_" + nb].boxx.rot.gotoAndStop(random(290) + 3);
} else {
_root.cnt["boat_" + nb].people_panic = 2;
_root.cnt["boat_" + nb].boxx.rot.gotoAndPlay(((random(2) + 1) * 150) - 148);
}
_root.cnt["boat_" + nb].hited = _root.cnt["boat_" + nb].hited + (random(_root.spine * 3) + 1);
_root.cnt["boat_" + nb].hitedx = _parent._x;
_root.cnt["boat_" + nb].hitedy = _parent._y;
_root.cnt["boat_" + nb].hitedspeedy = _parent.speedy;
_parent.stun = 20;
_parent.speedx = _parent.speedx * -0.5;
_parent.speedy = _parent.speedy * -0.5;
}
}
}
if (_root.cnt.s_hitt["trou_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent.nb == 0) {
_root.cnt.s_hitt["trou_" + nb].touched = 2;
}
}
}
nb++;
}
if (_root.cnt.w_hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent.inwater != 2) {
_parent.replacing = 1;
_root.snd.splash_low.gotoAndPlay((random(3) + 1) * 2);
}
_parent.inwater = 2;
from_water = 2;
} else {
if (_parent.inwater != 1) {
_parent.bounce_speedx = _parent.speedx;
_parent.bounce_speedy = _parent.speedy;
_root.snd.splash_low.gotoAndPlay((random(3) + 1) * 2);
}
_parent.inwater = 1;
}
if (_root.cnt.aligator.boxx.tete.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if ((_root.cnt.aligator.boxx.tete._currentframe == 1) && (_root.cnt.aligator.energy > 0)) {
_root.cnt.aligator.boxx.tete.gotoAndPlay(2);
}
}
if (_root.cnt.aligator.boxx.tete.hitt_clap.hitTest(hitpts[i].x, hitpts[i].y, true)) {
Set("_root.p_energy_" + _parent.nb, eval ("_root.p_energy_" + _parent.nb) - 150);
if (eval ("_root.p_energy_" + _parent.nb) <= 0) {
eval ("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb).gotoAndStop(1);
eval ("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb).gotoAndStop(2);
Set(("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb) + "._x", _parent._x);
Set(("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb) + "._y", _parent._y);
_root.pt_blood_nb = _root.pt_blood_nb + 1;
if (_root.pt_blood_nb == 11) {
_root.pt_blood_nb = 1;
}
_parent.gotoAndPlay(3);
} else {
_parent.stun = 20;
_parent.speedx = random(20) - 10;
_parent.speedy = -7;
}
}
if (_root.cnt.aligator.hitt_corp.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if ((_root.cnt.aligator.energy > 0) && ((Math.abs(_parent.speedx) + Math.abs(_parent.speedy)) >= 7)) {
_root.cnt.aligator.energy = _root.cnt.aligator.energy - (_root.jaws * 0.5);
_root.blood = _root.blood + 0.1;
_parent.corp.gotoAndPlay(2);
_root.snd.croque.gotoAndPlay((random(9) + 1) * 2);
eval ("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb).gotoAndStop(1);
eval ("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb).gotoAndStop(2);
Set(("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb) + "._x", _parent._x);
Set(("_root.cnt.water.water.blood_cnt.b_" + _root.pt_blood_nb) + "._y", _parent._y);
_root.pt_blood_nb = _root.pt_blood_nb + 1;
if (_root.pt_blood_nb == 11) {
_root.pt_blood_nb = 1;
}
eval ("_root.cnt.bl_" + _root.pt_blast_nb).gotoAndStop(1);
eval ("_root.cnt.bl_" + _root.pt_blast_nb).gotoAndStop(2);
Set(("_root.cnt.bl_" + _root.pt_blast_nb) + "._x", _parent._x);
Set(("_root.cnt.bl_" + _root.pt_blast_nb) + "._y", _parent._y);
_root.pt_blast_nb = _root.pt_blast_nb + 1;
if (_root.pt_blast_nb == 21) {
_root.pt_blast_nb = 1;
}
}
}
if (_root.cnt.s_hitt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent.nb == 0) {
if (_parent.inwater != 2) {
_parent.stun = 20;
_parent.speedx = _parent.bounce_speedx * -1;
_parent.speedy = _parent.bounce_speedy;
_parent.replacing = 2;
} else {
_parent.stun = 20;
_parent.speedx = _parent.speedx * -1;
_parent.speedy = _parent.speedy * -1;
}
} else if (_parent.inwater != 2) {
_parent.stun = 20;
_parent.speedx = _parent.bounce_speedx * -1;
_parent.speedy = _parent.bounce_speedy;
_parent.replacing = 2;
}
}
i++;
}
}
}
Instance of Symbol 628 MovieClip "hitt" in Symbol 1301 MovieClip Frame 2
/* no clip actions */
Symbol 1301 MovieClip Frame 3
speedr = (random(30) - 15) * 4;
onEnterFrame = function () {
speedx = speedx * 0.85;
if (speedy < -0.5) {
speedy = speedy * 0.9;
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1.5;
}
_x = (_x + speedx);
_y = (_y + speedy);
_rotation = (_rotation + speedr);
speedr = speedr * 0.9;
};
if (nb == 0) {
gotoAndPlay (4);
} else {
_root.seeds = _root.seeds - 1;
stop();
}
Symbol 1301 MovieClip Frame 120
_root.poid = 50;
_root.got2go = 3;
stop();
Symbol 1304 MovieClip Frame 1
_x = (_x + (random(30) - 15));
_y = (_y - (random(30) + 1));
_alpha = (random(50) + 50);
speedx = (((random(30) - 10) / 2) * _parent.power) / 10;
speedy = (((random(20) - 10) / 2) * _parent.power) / 10;
speedr = random(10) + 1;
_xscale = (random(50) + 60);
_yscale = _xscale;
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
_rotation = (_rotation + speedr);
speedx = speedx * 0.9;
speedr = speedr * 0.98;
if (speedy < -0.5) {
speedy = speedy * 0.9;
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * 1.05;
}
if (_y >= 20) {
gotoAndStop (2);
}
};
Instance of Symbol 628 MovieClip in Symbol 1304 MovieClip Frame 1
/* no clip actions */
Symbol 1304 MovieClip Frame 2
stop();
onEnterFrame = function () {
};
Symbol 1305 MovieClip Frame 1
_visible = false;
stop();
Symbol 1305 MovieClip Frame 2
_visible = true;
stop();
Symbol 1308 MovieClip Frame 1
_x = (_x + (random(30) - 15));
_y = (_y + (random(30) + 10));
_alpha = (random(50) + 50);
speedx = (((random(30) - 10) / 4) * _parent.power) / 10;
speedy = (((random(20) - 10) / 2) * _parent.power) / 10;
_xscale = (random(50) + 60);
_yscale = _xscale;
limit = -(_parent._y - 157);
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
speedx = speedx * 0.9;
speedr = speedr * 0.98;
if (speedy <= -1) {
speedy = speedy * 1.05;
}
if ((speedy >= -0.5) && (speedy <= 0.5)) {
speedy = -1;
}
if (speedy > 0.5) {
speedy = speedy * 0.9;
}
if (_y <= limit) {
gotoAndStop (2);
}
};
Instance of Symbol 628 MovieClip in Symbol 1308 MovieClip Frame 1
/* no clip actions */
Symbol 1308 MovieClip Frame 2
stop();
onEnterFrame = function () {
};
Symbol 1309 MovieClip Frame 1
_visible = false;
stop();
Symbol 1309 MovieClip Frame 2
_visible = true;
stop();
Instance of Symbol 1308 MovieClip in Symbol 1309 MovieClip Frame 2
onClipEvent (load) {
nb = 1;
}
Symbol 1309 MovieClip Frame 3
_visible = true;
stop();
Instance of Symbol 1308 MovieClip in Symbol 1309 MovieClip Frame 3
onClipEvent (load) {
nb = 1;
}
Symbol 1313 MovieClip Frame 15
stop();
Symbol 1314 MovieClip Frame 1
_visible = false;
stop();
Symbol 1314 MovieClip Frame 2
_visible = true;
_rotation = (random(360) + 1);
stop();
Symbol 1333 MovieClip Frame 1
stop();
Symbol 1340 MovieClip Frame 1
stop();
Symbol 1347 MovieClip Frame 1
stop();
Symbol 1354 MovieClip Frame 1
stop();
Symbol 1360 MovieClip Frame 1
if (loaded == undefined) {
loaded = 2;
gotoAndPlay(random(50) + 1);
}
Symbol 1361 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
};
Symbol 1361 MovieClip Frame 2
_visible = true;
boxx.gotoAndStop(typee);
if (typee == 1) {
boxx.boxx.gotoAndStop(random(18) + 1);
} else {
boxx.boxx.gotoAndStop(random(6) + 1);
}
speedr = random(40) - 20;
speedx = random(30) - 15;
aa = random(2) + 1;
if (aa == 2) {
boxx._xscale = boxx._xscale * -1;
}
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
_rotation = (_rotation + speedr);
speedx = speedx * 0.92;
if (speedy < -0.5) {
speedy = speedy * 0.92;
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * 1.08;
}
if (speedy > 15) {
speedy = 15;
}
if (typee != 6) {
if (_y >= 150) {
gotoAndStop (3);
}
} else if (_y >= 150) {
_x = (_x + (_root.courant * 2));
if (ralentit_dans_leau != 2) {
ralentit_dans_leau = 2;
speedr = speedr * 0.25;
}
if (boxx.boxx_items <= 30) {
speedy = 1;
}
if (boxx.boxx_items <= 40) {
speedy = 2;
}
if (boxx.boxx_items > 40) {
gotoAndStop (3);
}
}
};
Symbol 1361 MovieClip Frame 3
_rotation = 0;
stop();
onEnterFrame = function () {
_y = 150;
if (_root.courant == 1) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
_rotation = (0 + vagues_prog.boxx._rotation);
if ((Math.abs(_y - _root.cnt.p_0._y) + Math.abs(_x - _root.cnt.p_0._x)) < 550) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 1372 MovieClip Frame 150
_parent.gotoAndStop(1);
Symbol 1373 MovieClip Frame 1
_visible = false;
stop();
Symbol 1373 MovieClip Frame 2
_visible = true;
_rotation = (random(360) + 1);
boxx.boxx.gotoAndStop(random(3) + 1);
_alpha = 100;
stop();
Symbol 1374 MovieClip Frame 1
stop();
onEnterFrame = function () {
_x = _root.cnt._x;
_y = (_root.cnt._y * 0.075);
};
Symbol 1378 MovieClip Frame 1
stop();
Symbol 1379 MovieClip Frame 1
if (loaded == undefined) {
loaded = 2;
aa1 = 1;
aa2 = 2;
}
aa1 = aa1 + 1;
if (aa1 == 2) {
aa1 = 1;
}
boxx1.gotoAndStop(aa1);
Symbol 1379 MovieClip Frame 50
aa2 = aa2 + 1;
if (aa2 == 2) {
aa2 = 1;
}
boxx2.gotoAndStop(aa2);
Symbol 1381 MovieClip Frame 1
if (loaded == undefined) {
loaded = 2;
aa = 1;
timer = 10;
trace("loaded");
}
speedbase = 4;
stop();
onEnterFrame = function () {
if (_root.interr.tutoo._currentframe != 41) {
} else {
if (_root.courant == 1) {
aa = aa + ((speedbase + _root.speedxcam) * 0.7);
} else {
aa = aa + ((speedbase - _root.speedxcam) * 0.7);
}
if (aa <= 0) {
aa = 400 + aa;
}
if (aa > 400) {
aa = aa - 400;
}
gotoAndStop(Math.round(aa));
}
};
Symbol 1390 MovieClip Frame 150
_parent.gotoAndStop(1);
Symbol 1391 MovieClip Frame 1
stop();
Instance of Symbol 1382 MovieClip in Symbol 1391 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1391 MovieClip Frame 2
_rotation = (random(360) + 1);
boxx.boxx.gotoAndStop(random(3) + 1);
if (_root.cheat_3 == 2) {
_alpha = 100;
} else {
_alpha = 50;
}
stop();
Symbol 1394 MovieClip Frame 1
if (loaded == undefined) {
loaded = 2;
aa = 1;
timer = 10;
trace("loaded");
}
speedbase = 4;
stop();
onEnterFrame = function () {
if (_root.interr.tutoo._currentframe != 41) {
} else {
if (_root.courant == 1) {
aa = aa + (speedbase + _root.speedxcam);
} else {
aa = aa + (speedbase - _root.speedxcam);
}
if (aa <= 0) {
aa = 100 + aa;
}
if (aa > 100) {
aa = aa - 100;
}
gotoAndStop(Math.round(aa));
_parent.maskk.gotoAndStop(Math.round(aa));
_parent.eau2.gotoAndStop(Math.round(aa));
}
};
Symbol 1395 MovieClip Frame 1
stop();
Instance of Symbol 1395 MovieClip "water" in Symbol 1396 MovieClip Frame 1
onClipEvent (load) {
_x = (_root.cnt._x * -1);
_y = 0;
_xscale = 100;
_yscale = 100;
}
onClipEvent (enterFrame) {
if (_root.courant == 1) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
_x = (_root.cnt._x * -1);
_y = 0;
}
Symbol 1398 MovieClip Frame 1
stop();
Symbol 1399 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.cnt.p_0.stun != 0) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
} else {
gotoAndStop (1);
}
};
Symbol 1399 MovieClip Frame 2
play();
Symbol 1399 MovieClip Frame 105
_root.cnt.p_0._x = _root.p_checkpoint_x;
_root.cnt.p_0._y = _root.p_checkpoint_y;
_root.cnt.p_0.stun = 25;
Symbol 1402 MovieClip Frame 23
_x = _root.cnt.p_0._x;
_y = _root.cnt.p_0._y;
Instance of Symbol 1401 MovieClip in Symbol 1402 MovieClip Frame 24
onClipEvent (enterFrame) {
nb = 5;
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.w_hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt.s_hitt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
Set("_parent.p_" + nb, 1);
} else {
Set("_parent.p_" + nb, 2);
}
} else {
Set("_parent.p_" + nb, 1);
}
i++;
}
}
Instance of Symbol 1401 MovieClip in Symbol 1402 MovieClip Frame 24
onClipEvent (enterFrame) {
nb = 9;
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.w_hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt.s_hitt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
Set("_parent.p_" + nb, 1);
} else {
Set("_parent.p_" + nb, 2);
}
} else {
Set("_parent.p_" + nb, 1);
}
i++;
}
}
Instance of Symbol 1401 MovieClip in Symbol 1402 MovieClip Frame 24
onClipEvent (enterFrame) {
nb = 8;
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.w_hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt.s_hitt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
Set("_parent.p_" + nb, 1);
} else {
Set("_parent.p_" + nb, 2);
}
} else {
Set("_parent.p_" + nb, 1);
}
i++;
}
}
Instance of Symbol 1401 MovieClip in Symbol 1402 MovieClip Frame 24
onClipEvent (enterFrame) {
nb = 6;
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.w_hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt.s_hitt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
Set("_parent.p_" + nb, 1);
} else {
Set("_parent.p_" + nb, 2);
}
} else {
Set("_parent.p_" + nb, 1);
}
i++;
}
}
Instance of Symbol 1401 MovieClip in Symbol 1402 MovieClip Frame 24
onClipEvent (enterFrame) {
nb = 4;
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.w_hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt.s_hitt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
Set("_parent.p_" + nb, 1);
} else {
Set("_parent.p_" + nb, 2);
}
} else {
Set("_parent.p_" + nb, 1);
}
i++;
}
}
Instance of Symbol 1401 MovieClip in Symbol 1402 MovieClip Frame 24
onClipEvent (enterFrame) {
nb = 1;
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.w_hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt.s_hitt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
Set("_parent.p_" + nb, 1);
} else {
Set("_parent.p_" + nb, 2);
}
} else {
Set("_parent.p_" + nb, 1);
}
i++;
}
}
Instance of Symbol 1401 MovieClip in Symbol 1402 MovieClip Frame 24
onClipEvent (enterFrame) {
nb = 2;
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.w_hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt.s_hitt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
Set("_parent.p_" + nb, 1);
} else {
Set("_parent.p_" + nb, 2);
}
} else {
Set("_parent.p_" + nb, 1);
}
i++;
}
}
Instance of Symbol 1401 MovieClip in Symbol 1402 MovieClip Frame 24
onClipEvent (enterFrame) {
nb = 3;
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.w_hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt.s_hitt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
Set("_parent.p_" + nb, 1);
} else {
Set("_parent.p_" + nb, 2);
}
} else {
Set("_parent.p_" + nb, 1);
}
i++;
}
}
Instance of Symbol 1401 MovieClip in Symbol 1402 MovieClip Frame 24
onClipEvent (enterFrame) {
nb = 7;
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.w_hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt.s_hitt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
Set("_parent.p_" + nb, 1);
} else {
Set("_parent.p_" + nb, 2);
}
} else {
Set("_parent.p_" + nb, 1);
}
i++;
}
}
Symbol 1402 MovieClip Frame 27
if (((((((((p_1 == 2) && (p_2 == 2)) && (p_3 == 2)) && (p_4 == 2)) && (p_5 == 2)) && (p_6 == 2)) && (p_7 == 2)) && (p_8 == 2)) && (p_9 == 2)) {
colorr.gotoAndStop(1);
_root.p_checkpoint_x = _x;
_root.p_checkpoint_y = _y;
} else {
colorr.gotoAndStop(2);
}
Symbol 1404 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((nb > 0) && (nb != undefined)) {
nb = nb - 1;
trace("go nageux !!!");
px = random(750) + 2725;
py = 150;
eval ("_root.cnt.e_" + _root.nb_peeps).gotoAndStop(1);
eval ("_root.cnt.e_" + _root.nb_peeps).gotoAndStop(2);
eval (("_root.cnt.e_" + _root.nb_peeps) + ".boxx").gotoAndPlay(random(40) + 181);
Set(("_root.cnt.e_" + _root.nb_peeps) + "._x", px);
Set(("_root.cnt.e_" + _root.nb_peeps) + "._y", py);
Set(("_root.cnt.e_" + _root.nb_peeps) + ".typee", random(16) + 1);
Set(("_root.cnt.e_" + _root.nb_peeps) + ".onboat", -12);
_root.nb_peeps = _root.nb_peeps + 1;
}
};
Symbol 1405 MovieClip Frame 1
posi_1 = 1;
posi_2 = 1;
posi_3 = 1;
posi_4 = 1;
posi_5 = 1;
posi_6 = 1;
posi_7 = 1;
posi_8 = 1;
posi_9 = 1;
posi_10 = 1;
stop();
onEnterFrame = function () {
if ((nb > 0) && (nb != undefined)) {
trace("go scuba !!!");
posi = random(3) + 1;
if (posi == 1) {
px = 870;
py = 1160;
}
if (posi == 2) {
px = 1640;
py = 480;
}
if (posi == 3) {
px = 2460;
py = 340;
}
if (eval ("posi_" + posi) == 1) {
Set("posi_" + posi, 2);
eval ("_root.cnt.e_" + _root.nb_peeps).gotoAndStop(1);
eval ("_root.cnt.e_" + _root.nb_peeps).gotoAndStop(2);
eval (("_root.cnt.e_" + _root.nb_peeps) + ".boxx").gotoAndPlay(random(80) + 221);
Set(("_root.cnt.e_" + _root.nb_peeps) + "._x", px);
Set(("_root.cnt.e_" + _root.nb_peeps) + "._y", py);
Set(("_root.cnt.e_" + _root.nb_peeps) + ".typee", 17);
Set(("_root.cnt.e_" + _root.nb_peeps) + ".onboat", -11);
_root.nb_peeps = _root.nb_peeps + 1;
nb = nb - 1;
} else {
nb = nb + 1;
}
}
};
Symbol 1406 MovieClip Frame 1
posi_1 = 1;
posi_2 = 1;
posi_3 = 1;
posi_4 = 1;
posi_5 = 1;
posi_6 = 1;
posi_7 = 1;
posi_8 = 1;
posi_9 = 1;
posi_10 = 1;
stop();
onEnterFrame = function () {
if ((nb > 0) && (nb != undefined)) {
trace("go fish !!!");
posi = random(5) + 1;
if (posi == 1) {
px = 960;
py = 580;
}
if (posi == 2) {
px = 1460;
py = 1160;
}
if (posi == 3) {
px = 1830;
py = 650;
}
if (posi == 4) {
px = 2680;
py = 580;
}
if (posi == 5) {
px = 2545;
py = 1160;
}
if (eval ("posi_" + posi) == 1) {
Set("posi_" + posi, 2);
Set("_root.banc_x_" + nb, px);
Set("_root.banc_y_" + nb, py);
aa = random(4) + 1;
Set(("_root.cnt.fh_" + (((nb * 10) - 10) + 1)) + ".colorr", aa);
Set(("_root.cnt.fh_" + (((nb * 10) - 10) + 2)) + ".colorr", aa);
Set(("_root.cnt.fh_" + (((nb * 10) - 10) + 3)) + ".colorr", aa);
Set(("_root.cnt.fh_" + (((nb * 10) - 10) + 4)) + ".colorr", aa);
Set(("_root.cnt.fh_" + (((nb * 10) - 10) + 5)) + ".colorr", aa);
Set(("_root.cnt.fh_" + (((nb * 10) - 10) + 6)) + ".colorr", aa);
Set(("_root.cnt.fh_" + (((nb * 10) - 10) + 7)) + ".colorr", aa);
Set(("_root.cnt.fh_" + (((nb * 10) - 10) + 8)) + ".colorr", aa);
Set(("_root.cnt.fh_" + (((nb * 10) - 10) + 9)) + ".colorr", aa);
Set(("_root.cnt.fh_" + (((nb * 10) - 10) + 10)) + ".colorr", aa);
trace(((nb * 10) - 10) + 10);
eval ("_root.cnt.fh_" + (((nb * 10) - 10) + 1)).gotoAndStop(2);
eval ("_root.cnt.fh_" + (((nb * 10) - 10) + 2)).gotoAndStop(2);
eval ("_root.cnt.fh_" + (((nb * 10) - 10) + 3)).gotoAndStop(2);
eval ("_root.cnt.fh_" + (((nb * 10) - 10) + 4)).gotoAndStop(2);
eval ("_root.cnt.fh_" + (((nb * 10) - 10) + 5)).gotoAndStop(2);
nb = nb - 1;
} else {
nb = nb + 1;
}
}
};
Symbol 1407 MovieClip Frame 1
stop();
Symbol 1407 MovieClip Frame 2
posimeduse_1_x = 1080;
posimeduse_1_y = 950;
posimeduse_2_x = 1850;
posimeduse_2_y = 935;
posimeduse_3_x = 1640;
posimeduse_3_y = 1440;
posimeduse_4_x = 1860;
posimeduse_4_y = 540;
posimeduse_5_x = 2750;
posimeduse_5_y = 910;
posimeduse_6_x = 2920;
posimeduse_6_y = 940;
posimeduse_7_x = 2520;
posimeduse_7_y = 910;
aa = random(4) + 1;
if (aa == 1) {
_root.cnt.meduse_1._x = posimeduse_1_x;
_root.cnt.meduse_1._y = posimeduse_1_y;
_root.cnt.meduse_2._x = posimeduse_5_x;
_root.cnt.meduse_2._y = posimeduse_5_y;
}
if (aa == 2) {
_root.cnt.meduse_1._x = posimeduse_2_x;
_root.cnt.meduse_1._y = posimeduse_2_y;
_root.cnt.meduse_2._x = posimeduse_7_x;
_root.cnt.meduse_2._y = posimeduse_7_y;
}
if (aa == 3) {
_root.cnt.meduse_1._x = posimeduse_3_x;
_root.cnt.meduse_1._y = posimeduse_3_y;
_root.cnt.meduse_2._x = posimeduse_6_x;
_root.cnt.meduse_2._y = posimeduse_6_y;
}
if (aa == 4) {
_root.cnt.meduse_1._x = posimeduse_2_x;
_root.cnt.meduse_1._y = posimeduse_2_y;
_root.cnt.meduse_2._x = posimeduse_5_x;
_root.cnt.meduse_2._y = posimeduse_5_y;
}
_root.chest_1 = random(3) + 1;
_root.chest_2 = random(3) + 4;
eval ("_root.cnt.chest_" + _root.chest_1).gotoAndStop(2);
eval ("_root.cnt.chest_" + _root.chest_2).gotoAndStop(2);
_root.cnt.p_0._x = 1620;
_root.cnt.p_0._y = 1320;
_root.cnt.p_1._x = _root.cnt.p_0._x;
_root.cnt.p_1._y = _root.cnt.p_0._y;
_root.cnt.p_2._x = _root.cnt.p_0._x;
_root.cnt.p_2._y = _root.cnt.p_0._y;
_root.cnt.p_3._x = _root.cnt.p_0._x;
_root.cnt.p_3._y = _root.cnt.p_0._y;
_root.cnt.p_4._x = _root.cnt.p_0._x;
_root.cnt.p_4._y = _root.cnt.p_0._y;
_root.cnt.p_5._x = _root.cnt.p_0._x;
_root.cnt.p_5._y = _root.cnt.p_0._y;
_root.cnt.p_6._x = _root.cnt.p_0._x;
_root.cnt.p_6._y = _root.cnt.p_0._y;
_root.cnt.p_7._x = _root.cnt.p_0._x;
_root.cnt.p_7._y = _root.cnt.p_0._y;
_root.cnt.p_8._x = _root.cnt.p_0._x;
_root.cnt.p_8._y = _root.cnt.p_0._y;
_root.cnt.p_9._x = _root.cnt.p_0._x;
_root.cnt.p_9._y = _root.cnt.p_0._y;
_root.cnt.p_10._x = _root.cnt.p_0._x;
_root.cnt.p_10._y = _root.cnt.p_0._y;
if (_root.lvl == 1) {
fish.nb = 3;
scuba.nb = 0;
nageux.nb = 0;
_root.cnt.boat_1.posi = 4;
_root.cnt.boat_1.typee = random(3) + 1;
_root.cnt.boat_1.speedx = 0;
_root.cnt.boat_1.gotoAndStop(2);
_root.cnt.boat_2.posi = 10;
_root.cnt.boat_2.typee = random(3) + 6;
_root.cnt.boat_2.speedx = 0;
_root.cnt.boat_2.gotoAndStop(2);
}
if (_root.lvl == 2) {
fish.nb = 3;
scuba.nb = 0;
nageux.nb = 0;
_root.cnt.boat_1.posi = 6;
_root.cnt.boat_1.typee = random(3) + 10;
_root.cnt.boat_1.speedx = 0;
_root.cnt.boat_1.gotoAndStop(2);
}
if (_root.lvl == 3) {
fish.nb = 3;
scuba.nb = 1;
nageux.nb = 0;
_root.cnt.boat_1.posi = random(3) + 1;
_root.cnt.boat_1.typee = random(20) + 1;
_root.cnt.boat_1.speedx = random(4) * -1;
_root.cnt.boat_1.gotoAndStop(2);
_root.cnt.boat_2.posi = random(4) + 4;
_root.cnt.boat_2.typee = random(20) + 1;
_root.cnt.boat_2.speedx = random(4) * -1;
_root.cnt.boat_2.gotoAndStop(2);
_root.cnt.boat_3.posi = random(3) + 8;
_root.cnt.boat_3.typee = random(20) + 1;
_root.cnt.boat_3.speedx = random(4) * -1;
_root.cnt.boat_3.gotoAndStop(2);
}
if (_root.lvl == 4) {
fish.nb = 3;
scuba.nb = 3;
nageux.nb = 3;
_root.cnt.boat_1.posi = 10;
_root.cnt.boat_1.typee = 3;
_root.cnt.boat_1.speedx = -2;
_root.cnt.boat_1.gotoAndStop(2);
_root.cnt.boat_2.posi = 3;
_root.cnt.boat_2.typee = 20;
_root.cnt.boat_2.speedx = 0;
_root.cnt.boat_2.gotoAndStop(2);
}
if (_root.lvl == 5) {
fish.nb = 3;
scuba.nb = 3;
nageux.nb = 3;
_root.cnt.boat_1.posi = random(5) + 1;
_root.cnt.boat_1.typee = random(20) + 1;
_root.cnt.boat_1.speedx = random(4) * -1;
_root.cnt.boat_1.gotoAndStop(2);
_root.cnt.boat_2.posi = random(5) + 5;
_root.cnt.boat_2.typee = random(20) + 1;
_root.cnt.boat_2.speedx = random(4) * -1;
_root.cnt.boat_2.gotoAndStop(2);
}
if (_root.lvl == 6) {
fish.nb = 3;
scuba.nb = 0;
nageux.nb = 1;
_root.cnt.boat_1.posi = 10;
_root.cnt.boat_1.typee = 13;
_root.cnt.boat_1.speedx = -2;
_root.cnt.boat_1.gotoAndStop(2);
_root.cnt.boat_2.posi = 9;
_root.cnt.boat_2.typee = 4;
_root.cnt.boat_2.speedx = -1;
_root.cnt.boat_2.gotoAndStop(2);
}
if (_root.lvl == 7) {
fish.nb = 3;
scuba.nb = 3;
nageux.nb = 0;
_root.cnt.boat_1.posi = random(3) + 1;
_root.cnt.boat_1.typee = random(20) + 1;
_root.cnt.boat_1.speedx = random(4) * -1;
_root.cnt.boat_1.gotoAndStop(2);
_root.cnt.boat_2.posi = random(4) + 4;
_root.cnt.boat_2.typee = random(20) + 1;
_root.cnt.boat_2.speedx = random(4) * -1;
_root.cnt.boat_2.gotoAndStop(2);
_root.cnt.boat_3.posi = random(3) + 8;
_root.cnt.boat_3.typee = random(20) + 1;
_root.cnt.boat_3.speedx = random(4) * -1;
_root.cnt.boat_3.gotoAndStop(2);
}
if (_root.lvl == 8) {
fish.nb = 3;
scuba.nb = 3;
nageux.nb = 3;
_root.cnt.boat_1.posi = random(5) + 1;
_root.cnt.boat_1.typee = random(20) + 1;
_root.cnt.boat_1.speedx = random(4) * -1;
_root.cnt.boat_1.gotoAndStop(2);
_root.cnt.boat_2.posi = random(5) + 5;
_root.cnt.boat_2.typee = random(20) + 1;
_root.cnt.boat_2.speedx = random(4) * -1;
_root.cnt.boat_2.gotoAndStop(2);
}
if (_root.lvl == 9) {
fish.nb = 3;
scuba.nb = 3;
nageux.nb = 2;
_root.cnt.boat_1.posi = random(3) + 1;
_root.cnt.boat_1.typee = random(20) + 1;
_root.cnt.boat_1.speedx = random(4) * -1;
_root.cnt.boat_1.gotoAndStop(2);
_root.cnt.boat_2.posi = random(4) + 4;
_root.cnt.boat_2.typee = random(20) + 1;
_root.cnt.boat_2.speedx = random(4) * -1;
_root.cnt.boat_2.gotoAndStop(2);
_root.cnt.boat_3.posi = random(3) + 8;
_root.cnt.boat_3.typee = random(20) + 1;
_root.cnt.boat_3.speedx = random(4) * -1;
_root.cnt.boat_3.gotoAndStop(2);
}
if (_root.lvl >= 10) {
fish.nb = 3;
scuba.nb = 1;
nageux.nb = 1;
_root.cnt.boat_1.posi = random(5) + 1;
_root.cnt.boat_1.typee = random(20) + 1;
_root.cnt.boat_1.speedx = random(4) * -1;
_root.cnt.boat_1.gotoAndStop(2);
_root.cnt.boat_2.posi = random(5) + 5;
_root.cnt.boat_2.typee = random(20) + 1;
_root.cnt.boat_2.speedx = random(4) * -1;
_root.cnt.boat_2.gotoAndStop(2);
}
stop();
Instance of Symbol 968 MovieClip "e_1" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 968 MovieClip "e_2" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 968 MovieClip "e_3" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 968 MovieClip "e_4" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 968 MovieClip "e_5" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 968 MovieClip "e_6" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 968 MovieClip "e_7" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 968 MovieClip "e_8" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 968 MovieClip "e_9" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
}
Instance of Symbol 968 MovieClip "e_10" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
}
Instance of Symbol 968 MovieClip "e_11" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 11;
}
Instance of Symbol 968 MovieClip "e_12" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 12;
}
Instance of Symbol 968 MovieClip "e_13" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 13;
}
Instance of Symbol 968 MovieClip "e_14" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 14;
}
Instance of Symbol 968 MovieClip "e_15" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 15;
}
Instance of Symbol 968 MovieClip "e_16" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 16;
}
Instance of Symbol 968 MovieClip "e_17" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 17;
}
Instance of Symbol 968 MovieClip "e_18" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 18;
}
Instance of Symbol 968 MovieClip "e_19" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 19;
}
Instance of Symbol 968 MovieClip "e_20" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 20;
}
Instance of Symbol 968 MovieClip "e_21" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 21;
}
Instance of Symbol 968 MovieClip "e_22" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 22;
}
Instance of Symbol 968 MovieClip "e_23" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 23;
}
Instance of Symbol 968 MovieClip "e_24" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 24;
}
Instance of Symbol 968 MovieClip "e_25" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 25;
}
Instance of Symbol 968 MovieClip "e_26" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 26;
}
Instance of Symbol 968 MovieClip "e_27" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 27;
}
Instance of Symbol 968 MovieClip "e_28" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 28;
}
Instance of Symbol 968 MovieClip "e_29" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 29;
}
Instance of Symbol 968 MovieClip "e_30" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 30;
}
Instance of Symbol 968 MovieClip "e_31" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 31;
}
Instance of Symbol 968 MovieClip "e_32" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 32;
}
Instance of Symbol 968 MovieClip "e_33" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 33;
}
Instance of Symbol 968 MovieClip "e_34" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 34;
}
Instance of Symbol 968 MovieClip "e_35" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 35;
}
Instance of Symbol 968 MovieClip "e_36" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 36;
}
Instance of Symbol 968 MovieClip "e_37" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 37;
}
Instance of Symbol 968 MovieClip "e_38" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 38;
}
Instance of Symbol 968 MovieClip "e_39" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 39;
}
Instance of Symbol 968 MovieClip "e_40" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 40;
}
Instance of Symbol 1177 MovieClip "boat_4" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 1177 MovieClip "boat_3" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 1177 MovieClip "boat_2" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 1177 MovieClip "boat_6" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 1177 MovieClip "boat_5" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 1177 MovieClip "boat_1" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 1199 MovieClip "fh_1" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 1;
nb = 1;
}
Instance of Symbol 1199 MovieClip "fh_2" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 1;
nb = 2;
}
Instance of Symbol 1199 MovieClip "fh_3" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 1;
nb = 3;
}
Instance of Symbol 1199 MovieClip "fh_4" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 1;
nb = 4;
}
Instance of Symbol 1199 MovieClip "fh_5" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 1;
nb = 5;
}
Instance of Symbol 1199 MovieClip "fh_6" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 1;
nb = 6;
}
Instance of Symbol 1199 MovieClip "fh_7" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 1;
nb = 7;
}
Instance of Symbol 1199 MovieClip "fh_8" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 1;
nb = 8;
}
Instance of Symbol 1199 MovieClip "fh_9" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 1;
nb = 9;
}
Instance of Symbol 1199 MovieClip "fh_10" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 1;
nb = 10;
}
Instance of Symbol 1199 MovieClip "fh_11" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 2;
nb = 1;
}
Instance of Symbol 1199 MovieClip "fh_12" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 2;
nb = 2;
}
Instance of Symbol 1199 MovieClip "fh_13" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 2;
nb = 3;
}
Instance of Symbol 1199 MovieClip "fh_14" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 2;
nb = 4;
}
Instance of Symbol 1199 MovieClip "fh_15" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 2;
nb = 5;
}
Instance of Symbol 1199 MovieClip "fh_16" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 2;
nb = 6;
}
Instance of Symbol 1199 MovieClip "fh_17" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 2;
nb = 7;
}
Instance of Symbol 1199 MovieClip "fh_18" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 2;
nb = 8;
}
Instance of Symbol 1199 MovieClip "fh_19" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 2;
nb = 9;
}
Instance of Symbol 1199 MovieClip "fh_20" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 2;
nb = 10;
}
Instance of Symbol 1199 MovieClip "fh_21" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 3;
nb = 1;
}
Instance of Symbol 1199 MovieClip "fh_22" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 3;
nb = 2;
}
Instance of Symbol 1199 MovieClip "fh_23" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 3;
nb = 3;
}
Instance of Symbol 1199 MovieClip "fh_24" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 3;
nb = 4;
}
Instance of Symbol 1199 MovieClip "fh_25" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 3;
nb = 5;
}
Instance of Symbol 1199 MovieClip "fh_26" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 3;
nb = 6;
}
Instance of Symbol 1199 MovieClip "fh_27" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 3;
nb = 7;
}
Instance of Symbol 1199 MovieClip "fh_28" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 3;
nb = 8;
}
Instance of Symbol 1199 MovieClip "fh_29" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 3;
nb = 9;
}
Instance of Symbol 1199 MovieClip "fh_30" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
pack = 3;
nb = 10;
}
Instance of Symbol 1301 MovieClip "p_1" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 1301 MovieClip "p_2" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 1301 MovieClip "p_3" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 1301 MovieClip "p_4" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 1301 MovieClip "p_5" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 1301 MovieClip "p_6" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 1301 MovieClip "p_7" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 1301 MovieClip "p_8" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 1301 MovieClip "p_9" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
}
Instance of Symbol 1301 MovieClip "p_10" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
}
Instance of Symbol 1301 MovieClip "p_0" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 0;
}
Instance of Symbol 1361 MovieClip "pr_1" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 1361 MovieClip "pr_2" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 1361 MovieClip "pr_3" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 1361 MovieClip "pr_4" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 1361 MovieClip "pr_5" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 1361 MovieClip "pr_6" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 1361 MovieClip "pr_7" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 1361 MovieClip "pr_8" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 1361 MovieClip "pr_9" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
}
Instance of Symbol 1361 MovieClip "pr_10" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
}
Instance of Symbol 1361 MovieClip "pr_11" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 11;
}
Instance of Symbol 1361 MovieClip "pr_12" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 12;
}
Instance of Symbol 1361 MovieClip "pr_13" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 13;
}
Instance of Symbol 1361 MovieClip "pr_14" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 14;
}
Instance of Symbol 1361 MovieClip "pr_16" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 16;
}
Instance of Symbol 1361 MovieClip "pr_17" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 17;
}
Instance of Symbol 1361 MovieClip "pr_18" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 18;
}
Instance of Symbol 1361 MovieClip "pr_19" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 19;
}
Instance of Symbol 1361 MovieClip "pr_20" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 20;
}
Instance of Symbol 1361 MovieClip "pr_15" in Symbol 1408 MovieClip Frame 1
onClipEvent (load) {
nb = 15;
}
Symbol 1409 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.sun_visible == 1) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
}
} else if (_alpha < 100) {
_alpha = (_alpha + 10);
}
};
Symbol 1419 MovieClip Frame 1
stop();
Symbol 1420 MovieClip Frame 1
stop();
onEnterFrame = function () {
aff_1 = Math.floor(_root.poid / 10);
aff_2 = Math.floor(_root.poid - (Math.floor(_root.poid / 10) * 10));
aff_3 = Math.floor(_root.blood / 10);
aff_4 = Math.floor(_root.blood - (Math.floor(_root.blood / 10) * 10));
aff_5 = _root.seeds + 1;
blood = _root.blood;
if (_root.seeds == 0) {
seeds_boxx._visible = false;
} else {
seeds_boxx._visible = true;
}
if (blood != _root.blood) {
blood = _root.blood;
boxx_blood.gotoAndPlay(2);
}
};
Symbol 1424 MovieClip Frame 1
_root.combo = 0;
combo = 0;
stop();
onEnterFrame = function () {
if (combo != _root.combo) {
combo = _root.combo;
_rotation = ((-14 + random(20)) - 10);
_xscale = (100 + (_root.combo * 0.5));
_yscale = _xscale;
gotoAndPlay (2);
}
};
Symbol 1432 MovieClip Frame 1
gotoAndStop(_root.ob_done);
Symbol 1433 MovieClip Frame 1
if (loaded == undefined) {
loaded = 2;
_root.timer_fin = 45;
stop();
}
Symbol 1433 MovieClip Frame 40
gotoAndPlay (49);
Symbol 1433 MovieClip Frame 50
_root.timer_fin = _root.timer_fin - 1;
if (_root.timer_fin == 0) {
} else {
gotoAndPlay (1);
}
Symbol 1433 MovieClip Frame 51
_root.round_done = 2;
_root.act = 0;
stopAllSounds();
Instance of Symbol 1432 MovieClip in Symbol 1433 MovieClip Frame 54
onClipEvent (load) {
if (_root.lvl >= 11) {
_visible = false;
}
}
Symbol 1433 MovieClip Frame 150
_root.got2go = 2;
stop();
Symbol 1434 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.timer_fin <= 10) {
if (timer_fin != _root.timer_fin) {
timer_fin = _root.timer_fin;
gotoAndPlay (2);
}
}
};
Symbol 1434 MovieClip Frame 2
play();
Symbol 1434 MovieClip Frame 50
stop();
Symbol 1449 MovieClip Frame 1
stop();
Symbol 1452 MovieClip Frame 1
stop();
Symbol 1454 MovieClip Frame 1
stop();
Symbol 1456 MovieClip Frame 1
stop();
Symbol 1460 MovieClip Frame 1
stop();
Symbol 1470 MovieClip Frame 1
stop();
Symbol 1482 MovieClip Frame 1
if (_root.tip_feedus3 == undefined) {
_root.tip_feedus3 = 2;
_root.tip = 0;
}
_root.tip = _root.tip + 1;
if (_root.tip > 7) {
_root.tip = 1;
}
if ((_root.boost != 1) && (_root.boostipfirstime != 2)) {
_root.boostipfirstime = 2;
_root.tip = 9;
}
boxx.gotoAndStop(_root.tip);
boxx2.gotoAndStop(_root.tip);
Symbol 1483 MovieClip Frame 1
stop();
Symbol 1484 MovieClip Frame 1
stop();
Symbol 1487 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (21);
}
Symbol 1489 MovieClip Frame 1
stop();
Symbol 1489 MovieClip Frame 20
stop();
Symbol 1490 MovieClip Frame 1
_parent.stats_boxx._visible = false;
_parent.timee._visible = false;
Symbol 1490 MovieClip Frame 30
stop();
Instance of Symbol 1489 MovieClip in Symbol 1490 MovieClip Frame 30
onClipEvent (load) {
txx = "GO";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.round_done = 1;
_root.interr.timee.timee.gotoAndPlay(2);
_root.cnt.cnt.gotoAndPlay(2);
_parent.gotoAndPlay(31);
}
}
Symbol 1490 MovieClip Frame 41
_parent.stats_boxx._visible = true;
_parent.timee._visible = true;
_root.speedpirana_go = 2;
stop();
Symbol 1500 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.achiv_done);
};
Symbol 1505 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.achiv_done);
};
Symbol 1510 MovieClip Frame 1
stop();
onEnterFrame = function () {
boxx.aff = eval ("_root.ob_name_" + _root.lvl);
if (_root.ob_done == 2) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
}
};
Symbol 1510 MovieClip Frame 2
play();
Symbol 1510 MovieClip Frame 151
_root.lvl = _root.lvl + 1;
stop();
Symbol 1514 MovieClip Frame 1
_root.achiv_go = 0;
stop();
onEnterFrame = function () {
if (_root.achiv_go != 0) {
_root.achiv_done = _root.achiv_go;
_root.achiv_go = 0;
gotoAndPlay (2);
}
};
Instance of Symbol 1517 MovieClip in Symbol 1518 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.cnt.e_1._currentframe == 2) && (_root.cnt.e_1.energy > 0)) {
proche_1 = Math.abs(_root.cnt.e_1._y - _root.cnt.p_0._y) + Math.abs(_root.cnt.e_1._x - _root.cnt.p_0._x);
} else {
proche_1 = 100000 /* 0x0186A0 */;
}
if ((_root.cnt.e_2._currentframe == 2) && (_root.cnt.e_2.energy > 0)) {
proche_2 = Math.abs(_root.cnt.e_2._y - _root.cnt.p_0._y) + Math.abs(_root.cnt.e_2._x - _root.cnt.p_0._x);
} else {
proche_2 = 100000 /* 0x0186A0 */;
}
if ((_root.cnt.e_3._currentframe == 2) && (_root.cnt.e_3.energy > 0)) {
proche_3 = Math.abs(_root.cnt.e_3._y - _root.cnt.p_0._y) + Math.abs(_root.cnt.e_3._x - _root.cnt.p_0._x);
} else {
proche_3 = 100000 /* 0x0186A0 */;
}
if ((_root.cnt.e_4._currentframe == 2) && (_root.cnt.e_4.energy > 0)) {
proche_4 = Math.abs(_root.cnt.e_4._y - _root.cnt.p_0._y) + Math.abs(_root.cnt.e_4._x - _root.cnt.p_0._x);
} else {
proche_4 = 100000 /* 0x0186A0 */;
}
if ((_root.cnt.e_5._currentframe == 2) && (_root.cnt.e_5.energy > 0)) {
proche_5 = Math.abs(_root.cnt.e_5._y - _root.cnt.p_0._y) + Math.abs(_root.cnt.e_5._x - _root.cnt.p_0._x);
} else {
proche_5 = 100000 /* 0x0186A0 */;
}
if ((_root.cnt.e_6._currentframe == 2) && (_root.cnt.e_6.energy > 0)) {
proche_6 = Math.abs(_root.cnt.e_6._y - _root.cnt.p_0._y) + Math.abs(_root.cnt.e_6._x - _root.cnt.p_0._x);
} else {
proche_6 = 100000 /* 0x0186A0 */;
}
if ((_root.cnt.e_7._currentframe == 2) && (_root.cnt.e_7.energy > 0)) {
proche_7 = Math.abs(_root.cnt.e_7._y - _root.cnt.p_0._y) + Math.abs(_root.cnt.e_7._x - _root.cnt.p_0._x);
} else {
proche_7 = 100000 /* 0x0186A0 */;
}
if ((_root.cnt.e_8._currentframe == 2) && (_root.cnt.e_8.energy > 0)) {
proche_8 = Math.abs(_root.cnt.e_8._y - _root.cnt.p_0._y) + Math.abs(_root.cnt.e_8._x - _root.cnt.p_0._x);
} else {
proche_8 = 100000 /* 0x0186A0 */;
}
if ((_root.cnt.e_9._currentframe == 2) && (_root.cnt.e_9.energy > 0)) {
proche_9 = Math.abs(_root.cnt.e_9._y - _root.cnt.p_0._y) + Math.abs(_root.cnt.e_9._x - _root.cnt.p_0._x);
} else {
proche_9 = 100000 /* 0x0186A0 */;
}
if ((_root.cnt.e_10._currentframe == 2) && (_root.cnt.e_10.energy > 0)) {
proche_10 = Math.abs(_root.cnt.e_10._y - _root.cnt.p_0._y) + Math.abs(_root.cnt.e_10._x - _root.cnt.p_0._x);
} else {
proche_10 = 100000 /* 0x0186A0 */;
}
if ((_root.cnt.e_11._currentframe == 2) && (_root.cnt.e_11.energy > 0)) {
proche_11 = Math.abs(_root.cnt.e_11._y - _root.cnt.p_0._y) + Math.abs(_root.cnt.e_11._x - _root.cnt.p_0._x);
} else {
proche_11 = 100000 /* 0x0186A0 */;
}
if ((_root.cnt.e_12._currentframe == 2) && (_root.cnt.e_12.energy > 0)) {
proche_12 = Math.abs(_root.cnt.e_12._y - _root.cnt.p_0._y) + Math.abs(_root.cnt.e_12._x - _root.cnt.p_0._x);
} else {
proche_12 = 100000 /* 0x0186A0 */;
}
if ((_root.cnt.e_13._currentframe == 2) && (_root.cnt.e_13.energy > 0)) {
proche_13 = Math.abs(_root.cnt.e_13._y - _root.cnt.p_0._y) + Math.abs(_root.cnt.e_13._x - _root.cnt.p_0._x);
} else {
proche_13 = 100000 /* 0x0186A0 */;
}
if ((_root.cnt.e_14._currentframe == 2) && (_root.cnt.e_14.energy > 0)) {
proche_14 = Math.abs(_root.cnt.e_14._y - _root.cnt.p_0._y) + Math.abs(_root.cnt.e_14._x - _root.cnt.p_0._x);
} else {
proche_14 = 100000 /* 0x0186A0 */;
}
if ((_root.cnt.e_15._currentframe == 2) && (_root.cnt.e_15.energy > 0)) {
proche_15 = Math.abs(_root.cnt.e_15._y - _root.cnt.p_0._y) + Math.abs(_root.cnt.e_15._x - _root.cnt.p_0._x);
} else {
proche_15 = 100000 /* 0x0186A0 */;
}
if ((_root.cnt.e_16._currentframe == 2) && (_root.cnt.e_16.energy > 0)) {
proche_16 = Math.abs(_root.cnt.e_16._y - _root.cnt.p_0._y) + Math.abs(_root.cnt.e_16._x - _root.cnt.p_0._x);
} else {
proche_16 = 100000 /* 0x0186A0 */;
}
if ((_root.cnt.e_17._currentframe == 2) && (_root.cnt.e_17.energy > 0)) {
proche_17 = Math.abs(_root.cnt.e_17._y - _root.cnt.p_0._y) + Math.abs(_root.cnt.e_17._x - _root.cnt.p_0._x);
} else {
proche_17 = 100000 /* 0x0186A0 */;
}
if ((_root.cnt.e_18._currentframe == 2) && (_root.cnt.e_18.energy > 0)) {
proche_18 = Math.abs(_root.cnt.e_18._y - _root.cnt.p_0._y) + Math.abs(_root.cnt.e_18._x - _root.cnt.p_0._x);
} else {
proche_18 = 100000 /* 0x0186A0 */;
}
if ((_root.cnt.e_19._currentframe == 2) && (_root.cnt.e_19.energy > 0)) {
proche_19 = Math.abs(_root.cnt.e_19._y - _root.cnt.p_0._y) + Math.abs(_root.cnt.e_19._x - _root.cnt.p_0._x);
} else {
proche_19 = 100000 /* 0x0186A0 */;
}
if ((_root.cnt.e_20._currentframe == 2) && (_root.cnt.e_20.energy > 0)) {
proche_20 = Math.abs(_root.cnt.e_20._y - _root.cnt.p_0._y) + Math.abs(_root.cnt.e_20._x - _root.cnt.p_0._x);
} else {
proche_20 = 100000 /* 0x0186A0 */;
}
dude = 1;
if (eval ("proche_" + dude) < proche_2) {
} else {
dude = 2;
}
if (eval ("proche_" + dude) < proche_3) {
} else {
dude = 3;
}
if (eval ("proche_" + dude) < proche_4) {
} else {
dude = 4;
}
if (eval ("proche_" + dude) < proche_5) {
} else {
dude = 5;
}
if (eval ("proche_" + dude) < proche_6) {
} else {
dude = 6;
}
if (eval ("proche_" + dude) < proche_7) {
} else {
dude = 7;
}
if (eval ("proche_" + dude) < proche_8) {
} else {
dude = 8;
}
if (eval ("proche_" + dude) < proche_9) {
} else {
dude = 9;
}
if (eval ("proche_" + dude) < proche_10) {
} else {
dude = 10;
}
if (eval ("proche_" + dude) < proche_11) {
} else {
dude = 11;
}
if (eval ("proche_" + dude) < proche_12) {
} else {
dude = 2;
}
if (eval ("proche_" + dude) < proche_13) {
} else {
dude = 13;
}
if (eval ("proche_" + dude) < proche_14) {
} else {
dude = 14;
}
if (eval ("proche_" + dude) < proche_15) {
} else {
dude = 15;
}
if (eval ("proche_" + dude) < proche_16) {
} else {
dude = 16;
}
if (eval ("proche_" + dude) < proche_17) {
} else {
dude = 17;
}
if (eval ("proche_" + dude) < proche_18) {
} else {
dude = 18;
}
if (eval ("proche_" + dude) < proche_19) {
} else {
dude = 19;
}
if (eval ("proche_" + dude) < proche_20) {
} else {
dude = 20;
}
trace("DUDE : " + dude);
trace("PROCHE : " + eval ("proche_" + dude));
target = "enemy";
boxx.boxx.gotoAndStop(3);
if ((((Math.abs(eval (("_root.cnt.e_" + dude) + "._y") - _root.cnt.p_0._y) + Math.abs(eval (("_root.cnt.e_" + dude) + "._x") - _root.cnt.p_0._x)) > 200) && ((Math.abs(eval (("_root.cnt.e_" + dude) + "._y") - _root.cnt.p_0._y) + Math.abs(eval (("_root.cnt.e_" + dude) + "._x") - _root.cnt.p_0._x)) <= (100 + (_root.radar * 300)))) && (eval (("_root.cnt.e_" + dude) + "._currentframe") == 2)) {
if (_root.radar != 1) {
_visible = true;
} else {
_visible = false;
}
} else {
_visible = false;
}
myRadians = Math.atan2(eval (("_root.cnt.e_" + dude) + "._y") - _root.cnt.p_0._y, eval (("_root.cnt.e_" + dude) + "._x") - _root.cnt.p_0._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_rotation = (myDegrees + 90);
}
Symbol 1521 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
if ((_root.cnt.p_0._currentframe >= 4) && (_currentframe == 1)) {
_visible = true;
gotoAndPlay (2);
}
};
Symbol 1521 MovieClip Frame 2
play();
Symbol 1521 MovieClip Frame 30
stop();
Symbol 1532 MovieClip Frame 1
stop();
Symbol 1532 MovieClip Frame 3
stop();
Symbol 1532 MovieClip Frame 5
stop();
Symbol 1532 MovieClip Frame 7
stop();
Symbol 1532 MovieClip Frame 9
stop();
Symbol 1532 MovieClip Frame 11
stop();
Symbol 1532 MovieClip Frame 13
stop();
Symbol 1532 MovieClip Frame 15
stop();
Symbol 1532 MovieClip Frame 17
stop();
Symbol 1532 MovieClip Frame 19
stop();
Symbol 1542 MovieClip Frame 1
stop();
Symbol 1542 MovieClip Frame 3
stop();
Symbol 1542 MovieClip Frame 5
stop();
Symbol 1542 MovieClip Frame 7
stop();
Symbol 1542 MovieClip Frame 9
stop();
Symbol 1542 MovieClip Frame 11
stop();
Symbol 1542 MovieClip Frame 13
stop();
Symbol 1542 MovieClip Frame 15
stop();
Symbol 1542 MovieClip Frame 17
stop();
Symbol 1542 MovieClip Frame 19
stop();
Symbol 1546 MovieClip Frame 1
stop();
Symbol 1546 MovieClip Frame 3
stop();
Symbol 1546 MovieClip Frame 5
stop();
Symbol 1546 MovieClip Frame 7
stop();
Symbol 1550 MovieClip Frame 1
stop();
Symbol 1550 MovieClip Frame 3
stop();
Symbol 1550 MovieClip Frame 5
stop();
Symbol 1550 MovieClip Frame 7
stop();
Symbol 1557 MovieClip Frame 1
stop();
Symbol 1557 MovieClip Frame 3
stop();
Symbol 1557 MovieClip Frame 5
stop();
Symbol 1557 MovieClip Frame 7
stop();
Symbol 1557 MovieClip Frame 9
stop();
Symbol 1557 MovieClip Frame 11
stop();
Symbol 1557 MovieClip Frame 13
stop();
Symbol 1561 MovieClip Frame 1
stop();
Symbol 1561 MovieClip Frame 3
stop();
Symbol 1561 MovieClip Frame 5
stop();
Symbol 1561 MovieClip Frame 7
stop();
Symbol 1567 MovieClip Frame 1
if (_root.weather == 1) {
gotoAndPlay((random(2) + 2) * 2);
} else {
gotoAndPlay((random(2) + 1) * 2);
}
Symbol 1567 MovieClip Frame 3
stop();
Symbol 1567 MovieClip Frame 5
stop();
Symbol 1567 MovieClip Frame 7
stop();