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:"7a4c422ba8e3496b", res:"800x600"});
__com_mochibot__("35cd9182", this, 10301, true);
_root.lavr = 34;
_root.gore = 1;
function menuChoiceOne() {
getURL ("http://www.pyrozen.com");
}
_root.st_qual = 3;
_root.volum = 100;
stepxp_1 = 0;
stepxp_2 = 2000;
stepxp_3 = 4000;
stepxp_4 = 7000;
stepxp_5 = 12000;
stepxp_6 = 18750;
stepxp_7 = 27000;
stepxp_8 = 36750;
stepxp_9 = 48000;
stepxp_10 = 60750;
stepxp_11 = 75000 /* 0x0124F8 */;
stepxp_12 = 91500 /* 0x01656C */;
stepxp_13 = 110250 /* 0x01AEAA */;
stepxp_14 = 131250 /* 0x0200B2 */;
stepxp_15 = 154000 /* 0x025990 */;
stepxp_16 = 180000 /* 0x02BF20 */;
stepxp_17 = 207750 /* 0x032B86 */;
stepxp_18 = 237750 /* 0x03A0B6 */;
stepxp_19 = 270000 /* 0x041EB0 */;
stepxp_20 = 304500 /* 0x04A574 */;
stepxp_21 = 342000 /* 0x0537F0 */;
stepxp_22 = 382500 /* 0x05D624 */;
stepxp_23 = 426000 /* 0x068010 */;
stepxp_24 = 472000 /* 0x0733C0 */;
stepxp_25 = 522000 /* 0x07F710 */;
stepxp_26 = 574500 /* 0x08C424 */;
stepxp_27 = 630000 /* 0x099CF0 */;
stepxp_28 = 688500 /* 0x0A8174 */;
stepxp_29 = 750000 /* 0x0B71B0 */;
stepxp_30 = 814500 /* 0x0C6DA4 */;
stop();
_root.user = SharedObject.getLocal("user_nomdujeu");
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);
}
};
Frame 19
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (20);
}
};
Frame 20
lvl = 1;
cash = 0;
xp = 1;
xp_pts = 0;
bow = 1;
bow_1 = 2;
bow_2 = 1;
bow_3 = 1;
bow_4 = 1;
bow_5 = 1;
bow_6 = 1;
bow_7 = 1;
bow_8 = 1;
bow_9 = 1;
wp_arrows = 1;
arrows_1 = 100;
arrows_2 = 0;
arrows_3 = 0;
arrows_4 = 0;
arrows_5 = 0;
up_chato = 1;
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (51);
}
};
Instance of Symbol 110 MovieClip in Frame 20
onClipEvent (load) {
gotoAndPlay (121);
}
Instance of Symbol 29 MovieClip in Frame 20
onClipEvent (load) {
txx = "more games";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/", "_blank");
}
}
Instance of Symbol 29 MovieClip in Frame 20
onClipEvent (load) {
txx = "load game";
if (_root.user.data.up_chato == undefined) {
gotoAndStop (41);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(21);
}
}
Instance of Symbol 29 MovieClip in Frame 20
onClipEvent (load) {
txx = "start game";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.got2go = 2;
}
}
Instance of Symbol 320 MovieClip "diadd" in Frame 20
onClipEvent (load) {
_visible = true;
boxx.gotoAndStop(_root.lavr);
boxx2.boxx.gotoAndStop(_root.lavr);
if (_root.lavr != 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
boxx2.gotoAndStop(boxx.shade + 1);
}
Frame 21
_root.lvl = _root.user.data.lvl;
_root.cash = _root.user.data.cash;
_root.xp = _root.user.data.xp;
_root.xp_pts = _root.user.data.xp_pts;
_root.bow = _root.user.data.bow;
_root.bow_1 = _root.user.data.bow_1;
_root.bow_2 = _root.user.data.bow_2;
_root.bow_3 = _root.user.data.bow_3;
_root.bow_4 = _root.user.data.bow_4;
_root.bow_5 = _root.user.data.bow_5;
_root.bow_6 = _root.user.data.bow_6;
_root.bow_7 = _root.user.data.bow_7;
_root.bow_8 = _root.user.data.bow_8;
_root.bow_9 = _root.user.data.bow_9;
_root.wp_arrows = _root.user.data.wp_arrows;
_root.arrows_1 = _root.user.data.arrows_1;
_root.arrows_2 = _root.user.data.arrows_2;
_root.arrows_3 = _root.user.data.arrows_3;
_root.arrows_4 = _root.user.data.arrows_4;
_root.arrows_5 = _root.user.data.arrows_5;
_root.up_chato = _root.user.data.up_chato;
aa = 80;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
gotoAndStop (40);
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 39
stop();
onEnterFrame = function () {
};
Frame 40
stop();
onEnterFrame = function () {
if (_root.st_qual == 1) {
_quality = "low";
}
if (_root.st_qual == 2) {
_quality = "medium";
}
if (_root.st_qual == 3) {
_quality = "high";
}
mySound = new Sound();
mySound.setVolume(_root.volum);
mySound.start(0, 1000);
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (51);
}
if (save_go == 2) {
save_go = 1;
_root.user.data.lvl = _root.lvl;
_root.user.data.cash = _root.cash;
_root.user.data.xp = _root.xp;
_root.user.data.xp_pts = _root.xp_pts;
_root.user.data.bow = _root.bow;
_root.user.data.bow_1 = _root.bow_1;
_root.user.data.bow_2 = _root.bow_2;
_root.user.data.bow_3 = _root.bow_3;
_root.user.data.bow_4 = _root.bow_4;
_root.user.data.bow_5 = _root.bow_5;
_root.user.data.bow_6 = _root.bow_6;
_root.user.data.bow_7 = _root.bow_7;
_root.user.data.bow_8 = _root.bow_8;
_root.user.data.bow_9 = _root.bow_9;
_root.user.data.wp_arrows = _root.wp_arrows;
_root.user.data.arrows_1 = _root.arrows_1;
_root.user.data.arrows_2 = _root.arrows_2;
_root.user.data.arrows_3 = _root.arrows_3;
_root.user.data.arrows_4 = _root.arrows_4;
_root.user.data.arrows_5 = _root.arrows_5;
_root.user.data.up_chato = _root.up_chato;
_root.user.data.user.flush();
}
};
Instance of Symbol 549 MovieClip "menu" in Frame 40
onClipEvent (load) {
stade = 1;
_alpha = 0;
_xscale = 50;
_yscale = 50;
if (_root.victoire == 2) {
_root.victoire = 1;
chg.stade_lvl = _root.lvl + 1;
chg.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (stade == 1) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
if (_xscale < 100) {
_xscale = (_xscale + 5);
_yscale = _xscale;
}
}
if (stade == 2) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_root.got2go = 2;
}
if (_xscale < 150) {
_xscale = (_xscale + 5);
_yscale = _xscale;
}
}
if (stade == 3) {
_xscale = 120;
_yscale = _xscale;
stade = 4;
}
if (stade == 4) {
if (_xscale > 100) {
_xscale = (_xscale - 2);
_yscale = _xscale;
}
}
}
Frame 41
stop();
Frame 51
wp = 1;
if (up_chato == 1) {
door_1 = 100;
}
if (up_chato == 2) {
door_1 = 150;
}
if (up_chato == 3) {
door_1 = 200;
}
if (up_chato == 4) {
door_1 = 250;
}
if (up_chato == 5) {
door_1 = 300;
}
door_2 = door_1;
door_maxenergy = door_1;
blood_nb = 1;
zoomed = 100;
canmove = 2;
canjump = 2;
shake = 0;
shakeb = 0;
shake_stade = 0;
act = 1;
perso_canonhitt = 1;
double_jump = 1;
camera_speed = 0.4;
gravity = 0.15;
jump_power = 35;
jump_speed = 1;
speed = 0;
top_speed = 9;
perso_side = "R";
fumee_nb = 1;
bow_damage_1 = 40;
bow_damage_2 = 50;
bow_damage_3 = 75;
bow_damage_4 = 40;
bow_damage_5 = 55;
bow_damage_6 = 80;
bow_damage_7 = 60;
bow_damage_8 = 80;
bow_damage_9 = 100;
xp_boule_nb = 1;
stop();
onEnterFrame = function () {
if (cheat_2 == 2) {
_root.door_1 = 1000;
_root.door_2 = 1000;
}
if (cheat_7 == 2) {
_root.arrows_1 = 999;
_root.arrows_2 = 999;
_root.arrows_3 = 999;
_root.arrows_4 = 999;
_root.arrows_5 = 999;
}
if ((act == 1) || (act == 2)) {
if (eval ("arrows_" + wp) <= 0) {
wp = 1;
}
}
if (act == 2) {
if (cnt._xmouse < cnt.perso._x) {
if (perso_side == "L") {
cnt.perso._xscale = cnt.perso._xscale * -1;
perso_side = "R";
}
} else if (perso_side == "R") {
cnt.perso._xscale = cnt.perso._xscale * -1;
perso_side = "L";
}
}
if (act == 1) {
if (Key.isDown(65)) {
if (perso_side == "R") {
cnt.perso._xscale = cnt.perso._xscale * -1;
perso_side = "L";
}
speed = speed - 1;
} else if (speed < 0) {
speed = speed * 0.85;
}
if (Key.isDown(68)) {
speed = speed + 1;
if (perso_side == "L") {
cnt.perso._xscale = cnt.perso._xscale * -1;
perso_side = "R";
}
} else if (speed > 0) {
speed = speed * 0.85;
}
if (act != -22) {
if (((!Key.isDown(68)) && (!Key.isDown(65))) && (perso_floorhitt == 2)) {
cnt.perso.gotoAndStop(1);
} else if ((perso_floorhitt == 1) && (perso_floorhitt_timer == 0)) {
if ((cnt.perso._currentframe < 21) || (cnt.perso._currentframe > 60)) {
cnt.perso.gotoAndPlay(22);
}
} else if ((cnt.perso._currentframe < 2) || (cnt.perso._currentframe > 20)) {
cnt.perso.gotoAndPlay(2);
}
}
if (cnt.perso._x < -310) {
cnt.perso._x = -310;
}
if (cnt.perso._x > 360) {
cnt.perso._x = 360;
}
if (speed > top_speed) {
speed = top_speed;
}
if (speed < (top_speed * -1)) {
speed = top_speed * -1;
}
if (mur_touch == 2) {
speed = 0;
}
if (canmove == 2) {
if (_root.perso_waterhitt == 2) {
cnt.perso._x = cnt.perso._x + (speed * 0.3);
} else {
cnt.perso._x = cnt.perso._x + speed;
}
}
if (perso_floorhitt == 2) {
perso_floorhitt_timer = 5;
jump_speed = 1;
perso_canonhitt = 1;
} else if (perso_floorhitt_timer != 0) {
perso_floorhitt_timer = perso_floorhitt_timer - 1;
}
if (Key.isDown(87)) {
if ((perso_floorhitt == 2) && (canjump == 2)) {
perso_floorhitt_timer = 0;
doublejump = 2;
canjump = 1;
jump_speed = jump_power * -1;
cnt.perso._y = cnt.perso._y - 20;
}
if ((jump_speed > -2) && (doublejump == 3)) {
doublejump = 1;
cnt.perso._y = cnt.perso._y + jump_speed;
jump_speed = (jump_power * -1) / 2;
cnt.perso._y = cnt.perso._y - 10;
}
} else {
canjump = 2;
if (doublejump == 2) {
doublejump = 3;
}
}
}
if (act == -22) {
cnt.perso.gotoAndStop(53);
}
if ((act == 1) || (act == 3)) {
if (canmove == 2) {
if (perso_floorhitt == 1) {
if (jump_speed < -2) {
cnt.perso._y = cnt.perso._y + jump_speed;
jump_speed = jump_speed * (1 - gravity);
}
if ((jump_speed >= -2) && (jump_speed <= 2)) {
jump_speed = 2.1;
jump_speed = jump_speed * (1 + gravity);
}
if (jump_speed > 2) {
cnt.perso._y = cnt.perso._y + jump_speed;
if (jump_speed <= 40) {
jump_speed = jump_speed * (1 + gravity);
}
}
}
}
}
if (act == 2) {
if (_root.perso_floorhitt != 2) {
cnt.perso.gotoAndStop(52);
}
}
if (act == 1) {
zoom_speed = 0.18;
zoom_tobe = 100;
cam_speed = 0.25;
cam_fallow = "perso";
}
if (act == 2) {
zoom_speed = 0.18;
zoom_tobe = 35;
cam_fallow = "perso";
}
if (act == 3) {
cam_speed = 0.4;
zoom_tobe = 35 - ((cnt.fleche._y * -1) / 120);
cam_fallow = "fleche";
}
if (act == 4) {
zoom_speed = 0.1;
zoom_tobe = 100;
}
if (act == -22) {
zoom_speed = 0.1;
zoom_tobe = 100;
cam_fallow = "perso";
}
if (Key.isDown(32)) {
zoom_speed = 0.15;
zoom_tobe = 20;
}
zoom_speed2 = (zoom_tobe - zoomed) * zoom_speed;
if ((zoomed < (zoom_tobe - 0.5)) || (zoomed > (zoom_tobe + 0.5))) {
zoomed = zoomed + zoom_speed2;
}
cnt._xscale = zoomed;
cnt._yscale = cnt._xscale;
dekoi = 100 - zoomed;
if (zoomed != 0) {
dekoi_x = (dekoi * 400) / 100;
dekoi_y = (dekoi * 300) / 100;
}
sx = ((((-eval (("cnt." + cam_fallow) + "._x")) + 400) * zoomed) / 100) + dekoi_x;
sy = ((((-eval (("cnt." + cam_fallow) + "._y")) + 300) * zoomed) / 100) + dekoi_y;
if (Key.isDown(32)) {
sx = 400;
sy = 300;
}
cam_speedx = (sx - cnt._x) * cam_speed;
cam_speedy = (sy - cnt._y) * cam_speed;
if ((cnt._x < (sx - 0.5)) || (cnt._x > (sx + 0.5))) {
cnt._x = cnt._x + cam_speedx;
}
if ((cnt._y < (sy - 0.5)) || (cnt._y > (sy + 0.5))) {
cnt._y = cnt._y + cam_speedy;
}
fond1._xscale = 100 + (cnt._xscale * 0.3);
fond1._yscale = fond1._xscale;
fond2._xscale = 100 + (cnt._xscale * 0.15);
fond2._yscale = fond2._xscale;
fond1._x = Math.round((cnt._x * 200) / 600);
fond1._y = Math.round((cnt._y * 400) / 600) + 240;
fond2._x = Math.round((cnt._x * 200) / 800);
fond2._y = Math.round((cnt._y * 400) / 800) + 320;
fond3._x = Math.round((cnt._x * 200) / 2000);
fond3._y = Math.round((cnt._y * 400) / 2000) - 600;
fond3_2._x = fond3._x;
fond3_2._y = fond3._y;
if (shake != 0) {
shakeb = shake;
shake = 0;
shake_stade = 8;
}
if (shake_stade != 0) {
shake_stade = shake_stade - 1;
cnt._x = cnt._x + (random(shakeb * 2) - shakeb);
cnt._y = cnt._y + (random(shakeb * 2) - shakeb);
shakeb = shakeb * 0.95;
}
if ((door_1 <= 0) || (door_2 <= 0)) {
_root.got2go = 3;
}
if (_root.got2go == 2) {
_root.got2go = 1;
_root.victoire = 2;
gotoAndStop (41);
}
if (_root.got2go == 3) {
_root.got2go = 1;
gotoAndStop (39);
}
};
Instance of Symbol 320 MovieClip "diadd" in Frame 51
onClipEvent (load) {
_visible = true;
boxx.gotoAndStop(_root.lavr);
boxx2.boxx.gotoAndStop(_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);
_root.PercentLoaded_2 = _root.PercentLoaded + "%";
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 912 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 913 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 914 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.3 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) {
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
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) {
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.apply(null, ["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.apply(null, [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.apply(null, ["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.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["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 915 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 916 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 917 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 20 MovieClip Frame 1
stop();
Symbol 23 Button
on (release) {
act = 2;
if (no_sound != 2) {
snd.gotoAndPlay(2);
}
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (21);
}
Symbol 25 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 20
gotoAndPlay (10);
Symbol 29 MovieClip Frame 40
gotoAndStop (1);
Symbol 29 MovieClip Frame 41
stop();
Symbol 30 MovieClip Frame 150
stop();
Instance of Symbol 29 MovieClip in Symbol 30 MovieClip Frame 150
onClipEvent (load) {
txx = "play";
no_sound = 2;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.play();
}
}
Symbol 48 MovieClip Frame 67
stop();
Symbol 50 Button
on (release) {
getURL ("http://www.pyrozen.com/", "_blank");
}
on (keyPress "<Space>") {
_parent.play();
}
Symbol 55 MovieClip Frame 9
aa = random(2) + 1;
if (aa == 2) {
gotoAndPlay (1);
}
Symbol 55 MovieClip Frame 30
aa = random(2) + 1;
if (aa == 2) {
gotoAndPlay (11);
}
Instance of Symbol 55 MovieClip in Symbol 56 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 69 MovieClip Frame 12
stop();
Symbol 70 MovieClip Frame 1
stopAllSounds();
Symbol 70 MovieClip Frame 236
_parent.play();
Symbol 96 MovieClip Frame 1
_xscale = (random(50) + 50);
_yscale = _xscale;
_rotation = (random(50) - 25);
aa = random(20) + 1;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Symbol 96 MovieClip Frame 40
stop();
Symbol 98 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 6
head.boucane.gotoAndStop(2);
Symbol 110 MovieClip Frame 75
head.boucane.gotoAndStop(1);
Symbol 110 MovieClip Frame 120
aa = random(2) + 1;
if (aa == 1) {
gotoAndPlay (1);
}
Symbol 110 MovieClip Frame 124
head.gotoAndStop(2);
Symbol 110 MovieClip Frame 169
head.gotoAndStop(1);
Symbol 110 MovieClip Frame 191
gotoAndPlay (1);
Symbol 113 MovieClip Frame 1
stopAllSounds();
Symbol 113 MovieClip Frame 3
stop();
Symbol 205 MovieClip Frame 25
Symbol 235 MovieClip Frame 40
Symbol 317 MovieClip Frame 1
lavr_link = "http://www.neodelight.com";
shade = 1;
Symbol 317 MovieClip Frame 2
lavr_link = "http://www.andkon.com";
shade = 2;
Symbol 317 MovieClip Frame 3
lavr_link = "http://www.anyad.rulez.org";
shade = 1;
Symbol 317 MovieClip Frame 4
lavr_link = "http://www.girldressupgames.biz";
shade = 1;
Symbol 317 MovieClip Frame 5
lavr_link = "http://www.bringler.com";
shade = 1;
Symbol 317 MovieClip Frame 6
lavr_link = "http://www.bubblebox.com";
shade = 1;
Symbol 317 MovieClip Frame 7
lavr_link = "http://www.bunnygames.com";
shade = 1;
Symbol 317 MovieClip Frame 8
lavr_link = "http://www.dailyfreegames.com";
shade = 1;
Symbol 317 MovieClip Frame 9
lavr_link = "http://www.directgamez.com";
shade = 2;
Symbol 317 MovieClip Frame 10
lavr_link = "http://www.2flashgames.com";
shade = 2;
Symbol 317 MovieClip Frame 11
lavr_link = "http://www.flashninjaclan.com";
shade = 1;
Symbol 317 MovieClip Frame 12
lavr_link = "http://www.dailyaddictinggames.com/";
shade = 1;
Symbol 317 MovieClip Frame 13
lavr_link = "http://www.funny-games.biz";
shade = 1;
Symbol 317 MovieClip Frame 14
lavr_link = "http://www.gameitnow.com";
shade = 2;
Symbol 317 MovieClip Frame 15
lavr_link = "http://www.games1.com";
shade = 0;
Symbol 317 MovieClip Frame 16
lavr_link = "http://www.onjogos.com.br";
shade = 1;
Symbol 317 MovieClip Frame 17
lavr_link = "http://www.gamesfreak.net";
shade = 2;
Symbol 317 MovieClip Frame 18
lavr_link = "http://www.stoneagegames.com";
shade = 1;
Symbol 317 MovieClip Frame 19
lavr_link = "http://www.jarkey.net";
shade = 2;
Symbol 317 MovieClip Frame 20
lavr_link = "http://www.gamesgames.com/";
shade = 1;
Symbol 317 MovieClip Frame 21
lavr_link = "http://www.keepbusy.net";
shade = 1;
Symbol 317 MovieClip Frame 22
lavr_link = "http://www.microjogos.com";
shade = 1;
Symbol 317 MovieClip Frame 23
lavr_link = "http://www.minijuegos.com";
shade = 2;
Symbol 317 MovieClip Frame 24
lavr_link = "http://www.oyunskor.com/";
shade = 1;
Symbol 317 MovieClip Frame 25
lavr_link = "http://www.mostfungames.com";
shade = 2;
Symbol 317 MovieClip Frame 26
lavr_link = "http://www.gameshot.org";
shade = 1;
Symbol 317 MovieClip Frame 27
lavr_link = "http://www.online-games-zone.com/";
shade = 2;
Symbol 317 MovieClip Frame 28
lavr_link = "http://www.puffgames.com";
shade = 2;
Symbol 317 MovieClip Frame 29
lavr_link = "http://www.spele.nl";
shade = 1;
Symbol 317 MovieClip Frame 30
lavr_link = "http://www.t45ol.com";
shade = 2;
Symbol 317 MovieClip Frame 31
lavr_link = "http://www.thegamesonline.com/";
shade = 1;
Symbol 317 MovieClip Frame 32
lavr_link = "http://www.ultimatearcade.com";
shade = 1;
Symbol 317 MovieClip Frame 33
lavr_link = "http://www.girlgames4u.com/";
shade = 1;
Symbol 317 MovieClip Frame 34
lavr_link = "http://www.gamesfree.ca/";
shade = 0;
Symbol 317 MovieClip Frame 35
lavr_link = "http://www.stickpage.com/";
shade = 1;
Symbol 317 MovieClip Frame 36
lavr_link = "http://www.gamespond.net/";
shade = 2;
Symbol 317 MovieClip Frame 37
lavr_link = "http://www.flashgames.it/";
shade = 1;
Symbol 317 MovieClip Frame 38
lavr_link = "http://www.gamesgirl.ca/";
shade = 1;
Symbol 317 MovieClip Frame 39
lavr_link = "http://www.hallpass.com/";
shade = 2;
Symbol 317 MovieClip Frame 40
lavr_link = "http://www.games501.com/";
shade = 1;
Symbol 317 MovieClip Frame 41
lavr_link = "http://www.benz.be";
shade = 2;
Symbol 317 MovieClip Frame 42
lavr_link = "http://www.net-games.co.il/";
shade = 1;
Symbol 317 MovieClip Frame 43
lavr_link = "http://www.bgames.com";
shade = 1;
Symbol 317 MovieClip Frame 44
lavr_link = "http://www.pinkyarcade.com/";
shade = 1;
Symbol 317 MovieClip Frame 45
lavr_link = "http://www.komikler.com/index.php";
shade = 2;
Symbol 317 MovieClip Frame 46
lavr_link = "http://www.twizl.com/";
shade = 1;
Symbol 317 MovieClip Frame 47
lavr_link = "http://www.a10.com/";
shade = 1;
Symbol 317 MovieClip Frame 48
lavr_link = "http://www.bonniegames.com/";
shade = 1;
Symbol 317 MovieClip Frame 49
lavr_link = "http://www.ug2.com/";
shade = 0;
Symbol 317 MovieClip Frame 50
lavr_link = "http://www.agame.com";
shade = 1;
Symbol 317 MovieClip Frame 51
lavr_link = "http://www.gamesclub.com/";
shade = 1;
Symbol 317 MovieClip Frame 52
lavr_link = "http://www.killhours.com/";
shade = 1;
Symbol 317 MovieClip Frame 53
lavr_link = "http://www.flasharcadegamessite.com/";
shade = 1;
Symbol 317 MovieClip Frame 54
lavr_link = "http://www.roundgames.com/";
shade = 2;
Symbol 317 MovieClip Frame 55
lavr_link = "http://www.arcadegangsta.com/";
shade = 1;
Symbol 317 MovieClip Frame 56
lavr_link = "http://www.gamebusted.com/";
shade = 0;
Symbol 317 MovieClip Frame 57
lavr_link = "http://www.flash-games.net/";
shade = 1;
Symbol 317 MovieClip Frame 58
lavr_link = "http://www.flash-game.net/";
shade = 1;
Symbol 317 MovieClip Frame 59
lavr_link = "http://www.kingofgames.net";
shade = 1;
Symbol 317 MovieClip Frame 60
lavr_link = "http://www.playhub.com/";
shade = 0;
Symbol 317 MovieClip Frame 61
lavr_link = "http://www.123spill.no/";
shade = 1;
Symbol 317 MovieClip Frame 62
lavr_link = "http://www.dailygames.com/";
shade = 1;
Symbol 317 MovieClip Frame 63
lavr_link = "http://www.octogames.com/";
shade = 2;
Symbol 317 MovieClip Frame 64
lavr_link = "http://www.ugotgames.com/";
shade = 1;
Symbol 317 MovieClip Frame 65
lavr_link = "http://www.fupa.com/";
shade = 1;
Symbol 317 MovieClip Frame 66
lavr_link = "http://www.kibagames.com/";
shade = 0;
Symbol 317 MovieClip Frame 67
lavr_link = "http://www.kraloyun.com/";
shade = 0;
Symbol 317 MovieClip Frame 68
lavr_link = "http://www.spielaffe.de/";
shade = 0;
Symbol 317 MovieClip Frame 69
lavr_link = "http://www.39games.com";
shade = 2;
Symbol 317 MovieClip Frame 70
lavr_link = "http://www.bijuegos.com";
shade = 0;
Symbol 317 MovieClip Frame 71
lavr_link = "http://www.mofunzone.com";
shade = 2;
Symbol 317 MovieClip Frame 72
lavr_link = "http://www.freegamespy.com/";
shade = 2;
Symbol 317 MovieClip Frame 73
lavr_link = "http://www.jogos10.com";
shade = 0;
Symbol 317 MovieClip Frame 74
lavr_link = "http://www.juegos10.com";
shade = 0;
Symbol 317 MovieClip Frame 75
lavr_link = "http://flash.178.com/";
shade = 0;
Symbol 317 MovieClip Frame 76
lavr_link = "http://www.papajogos.com.br";
shade = 0;
Symbol 317 MovieClip Frame 77
lavr_link = "http://www.arcadelots.com/";
shade = 0;
Symbol 317 MovieClip Frame 78
lavr_link = "http://www.minigamers.com/";
shade = 0;
Symbol 317 MovieClip Frame 79
lavr_link = "http://www.stickpage.com";
shade = 0;
Symbol 317 MovieClip Frame 80
lavr_link = "http://www.y8.com/";
shade = 1;
Symbol 317 MovieClip Frame 81
lavr_link = "http://www.y3.com/";
shade = 1;
Symbol 317 MovieClip Frame 83
lavr_link = "http://www.videobash.com/";
shade = 0;
Symbol 318 MovieClip Frame 1
stop();
Symbol 319 Button
on (release) {
getURL (boxx.lavr_link, "_blank");
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (21);
}
Symbol 320 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 20
stop();
Symbol 325 MovieClip Frame 1
stopAllSounds();
Symbol 325 MovieClip Frame 198
stop();
Instance of Symbol 29 MovieClip "bt_4" in Symbol 325 MovieClip Frame 198
onClipEvent (load) {
txx = "retry";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.play();
}
}
Symbol 325 MovieClip Frame 250
_root.from_death_notrack = 2;
_parent.gotoAndStop(40);
Symbol 371 MovieClip Frame 1
stop();
onEnterFrame = function () {
boxx.gotoAndStop(nb);
txx = eval ("_root.arrows_" + nb);
};
Instance of Symbol 403 MovieClip in Symbol 434 MovieClip Frame 1
onClipEvent (load) {
_parent.gotoAndStop(_root.bow);
}
onClipEvent (enterFrame) {
_parent.gotoAndStop(_root.bow);
}
Symbol 435 MovieClip Frame 1
stop();
Symbol 445 MovieClip Frame 1
stop();
Symbol 446 MovieClip Frame 1
_parent.bt_1.gotoAndStop(1);
_parent.bt_2.gotoAndStop(1);
_parent.bt_3.gotoAndStop(1);
_parent.bt_4.gotoAndStop(1);
_parent.bt_5.gotoAndStop(1);
_parent.bt_6.gotoAndStop(1);
_parent.bt_7.gotoAndStop(1);
stop();
onEnterFrame = function () {
};
Symbol 446 MovieClip Frame 2
timer = 0;
timer_st = 40;
page_done = 1;
stop();
onEnterFrame = function () {
if (timer_st != 0) {
timer_st = timer_st - 1;
} else if (_root.cash > stade_cash) {
_root.cash = _root.cash - 50;
timer_st = timer;
snd.gotoAndPlay(2);
} else if (page_done != 2) {
page_done = 2;
timer_st = 40;
} else {
gotoAndStop (1);
}
};
Symbol 446 MovieClip Frame 3
timer = 0;
timer_st = 40;
page_done = 1;
stop();
onEnterFrame = function () {
if (timer_st != 0) {
timer_st = timer_st - 1;
} else if (_root.wp_arrows < stade_dexterity) {
_root.wp_arrows = _root.wp_arrows + 1;
timer_st = timer;
snd.gotoAndPlay(2);
} else if (page_done != 2) {
page_done = 2;
timer_st = 40;
} else {
gotoAndStop (2);
}
};
Symbol 446 MovieClip Frame 4
timer = 0;
timer_st = 40;
page_done = 1;
stop();
onEnterFrame = function () {
if (timer_st != 0) {
timer_st = timer_st - 1;
} else if (_root.arrows_1 < stade_arrows) {
_root.arrows_1 = _root.arrows_1 + 1;
timer_st = timer;
snd.gotoAndPlay(2);
} else if (page_done != 2) {
page_done = 2;
timer_st = 40;
} else {
gotoAndStop (2);
}
};
Symbol 446 MovieClip Frame 5
timer = 0;
timer_st = 40;
page_done = 1;
stop();
onEnterFrame = function () {
if (timer_st != 0) {
timer_st = timer_st - 1;
} else if (_root.arrows_2 < stade_arrows) {
_root.arrows_2 = _root.arrows_2 + 1;
timer_st = timer;
snd.gotoAndPlay(2);
} else if (page_done != 2) {
page_done = 2;
timer_st = 40;
} else {
gotoAndStop (2);
}
};
Symbol 446 MovieClip Frame 6
timer = 0;
timer_st = 40;
page_done = 1;
stop();
onEnterFrame = function () {
if (timer_st != 0) {
timer_st = timer_st - 1;
} else if (_root.arrows_3 < stade_arrows) {
_root.arrows_3 = _root.arrows_3 + 1;
timer_st = timer;
snd.gotoAndPlay(2);
} else if (page_done != 2) {
page_done = 2;
timer_st = 40;
} else {
gotoAndStop (2);
}
};
Symbol 446 MovieClip Frame 7
timer = 0;
timer_st = 40;
page_done = 1;
stop();
onEnterFrame = function () {
if (timer_st != 0) {
timer_st = timer_st - 1;
} else if (_root.arrows_4 < stade_arrows) {
_root.arrows_4 = _root.arrows_4 + 1;
timer_st = timer;
snd.gotoAndPlay(2);
} else if (page_done != 2) {
page_done = 2;
timer_st = 40;
} else {
gotoAndStop (2);
}
};
Symbol 446 MovieClip Frame 8
timer = 0;
timer_st = 40;
page_done = 1;
stop();
onEnterFrame = function () {
if (timer_st != 0) {
timer_st = timer_st - 1;
} else if (_root.arrows_5 < stade_arrows) {
_root.arrows_5 = _root.arrows_5 + 1;
timer_st = timer;
snd.gotoAndPlay(2);
} else if (page_done != 2) {
page_done = 2;
timer_st = 40;
} else {
gotoAndStop (2);
}
};
Symbol 446 MovieClip Frame 9
timer = 0;
timer_st = 40;
page_done = 1;
stop();
onEnterFrame = function () {
if (timer_st != 0) {
timer_st = timer_st - 1;
} else if (_root.lvl < stade_lvl) {
_root.lvl = _root.lvl + 1;
timer_st = timer;
snd.gotoAndPlay(2);
} else if (page_done != 2) {
page_done = 2;
timer_st = 40;
} else {
gotoAndStop (1);
}
};
Symbol 452 Button
on (release) {
getURL ("http://www.gamesfree.ca/1-5638-Mass_Mayhem_3.html", "_blank");
}
Symbol 455 Button
on (release) {
getURL ("http://www.gamesfree.ca/1-3723-Bloodshade.html", "_blank");
}
Symbol 471 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.st_qual);
};
Instance of Symbol 403 MovieClip in Symbol 479 MovieClip Frame 1
onClipEvent (load) {
_parent.gotoAndStop(_parent._parent._parent.produit);
}
onClipEvent (enterFrame) {
_parent.gotoAndStop(_parent._parent._parent.produit);
}
Symbol 483 MovieClip Frame 1
stop();
onEnterFrame = function () {
_root.price = eval ("_parent._parent.price_" + _parent._parent._currentframe);
if (eval ("_root.bow_" + _parent._parent._currentframe) != 2) {
aff = "cost : " + eval ("_parent._parent.price_" + _parent._parent._currentframe);
} else {
aff = "(!) Already in possession";
}
if ((eval ("_parent._parent.price_" + _parent._parent._currentframe) > _root.cash) || (eval ("_root.bow_" + _parent._parent._currentframe) == 2)) {
_parent._parent._parent._parent.bt_buy.gotoAndStop(41);
} else if (_parent._parent._parent._parent.bt_buy._currentframe == 41) {
_parent._parent._parent._parent.bt_buy.gotoAndStop(1);
}
};
Symbol 493 MovieClip Frame 1
stop();
onEnterFrame = function () {
price_1 = 2000;
price_2 = 10000;
price_3 = 33000;
price_4 = 6000;
price_5 = 15000;
price_6 = 31000;
price_7 = 7000;
price_8 = 17000;
price_9 = 37000;
gotoAndStop(_parent._parent.produit);
};
Symbol 494 MovieClip Frame 1
gotoAndPlay (2);
Symbol 494 MovieClip Frame 40
stop();
Symbol 499 MovieClip Frame 1
stop();
onEnterFrame = function () {
_root.price = eval ("_parent._parent.price_" + _parent._parent._currentframe);
aff = (("cost : " + eval ("_parent._parent.price_" + _parent._parent._currentframe)) + " XP needed : ") + eval ("_parent._parent.price_xp_" + _parent._parent._currentframe);
if ((eval ("_parent._parent.price_" + _parent._parent._currentframe) > _root.cash) || (eval ("_parent._parent.price_xp_" + _parent._parent._currentframe) > _root.xp)) {
_parent._parent._parent.bt_buy.gotoAndStop(41);
} else if (_parent._parent._parent.bt_buy._currentframe == 41) {
_parent._parent._parent.bt_buy.gotoAndStop(1);
}
};
Symbol 507 MovieClip Frame 1
stop();
onEnterFrame = function () {
price_1 = 0;
price_2 = 10000;
price_3 = 20000;
price_4 = 35000;
price_5 = 60000;
price_xp_1 = 1;
price_xp_2 = 5;
price_xp_3 = 10;
price_xp_4 = 15;
price_xp_5 = 25;
gotoAndStop(_parent.produit);
};
Instance of Symbol 403 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
_parent.gotoAndStop(_parent._parent._parent.produit);
}
onClipEvent (enterFrame) {
_parent.gotoAndStop(_parent._parent._parent.produit);
}
Symbol 522 MovieClip Frame 1
stop();
onEnterFrame = function () {
_root.price = eval ("_parent._parent.price_" + _parent._parent._currentframe);
aff = "cost : " + eval ("_parent._parent.price_" + _parent._parent._currentframe);
if (eval ("_parent._parent.price_" + _parent._parent._currentframe) > _root.cash) {
_parent._parent._parent._parent.bt_buy.gotoAndStop(41);
} else if (_parent._parent._parent._parent.bt_buy._currentframe == 41) {
_parent._parent._parent._parent.bt_buy.gotoAndStop(1);
}
};
Symbol 533 MovieClip Frame 1
stop();
onEnterFrame = function () {
price_1 = 0;
price_2 = 8000;
price_3 = 2500;
price_4 = 3000;
price_5 = 7000;
gotoAndStop(_parent._parent.produit);
};
Symbol 534 MovieClip Frame 1
gotoAndPlay (2);
Symbol 534 MovieClip Frame 40
stop();
Symbol 539 MovieClip Frame 1
stop();
onEnterFrame = function () {
_root.price = eval ("_parent._parent.price_" + _parent._parent._currentframe);
aff = "cost : " + eval ("_parent._parent.price_" + _parent._parent._currentframe);
if (eval ("_parent._parent.price_" + _parent._parent._currentframe) > _root.cash) {
_parent._parent._parent.bt_buy.gotoAndStop(41);
} else if (_parent._parent._parent.bt_buy._currentframe == 41) {
_parent._parent._parent.bt_buy.gotoAndStop(1);
}
};
Symbol 547 MovieClip Frame 1
stop();
onEnterFrame = function () {
price_1 = 5000;
price_2 = 10000;
price_3 = 20000;
price_4 = 30000;
price_5 = 50000;
gotoAndStop(_parent.produit);
};
Symbol 549 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (chg._currentframe != 1) {
bt_1.gotoAndStop(41);
bt_2.gotoAndStop(41);
bt_3.gotoAndStop(41);
bt_4.gotoAndStop(41);
bt_5.gotoAndStop(41);
bt_6.gotoAndStop(41);
bt_7.gotoAndStop(41);
}
bowboxx.boxx1.gotoAndStop(_root.bow);
bowboxx.boxx2.gotoAndStop(_root.bow);
if (act == 2) {
aa = _root.bow;
act = 4;
}
if (act == 4) {
aa = aa + 1;
if (aa == 10) {
aa = 1;
}
if (eval ("_root.bow_" + aa) == 2) {
_root.bow = aa;
bowboxx.gotoAndPlay(2);
act = 1;
}
}
if (act == 3) {
aa = _root.bow;
act = 5;
}
if (act == 5) {
aa = aa - 1;
if (aa == 0) {
aa = 9;
}
if (eval ("_root.bow_" + aa) == 2) {
_root.bow = aa;
bowboxx.gotoAndPlay(2);
act = 1;
}
}
};
Instance of Symbol 29 MovieClip "bt_1" in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
txx = "buy stuff";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.stade = 3;
_parent.gotoAndStop(101);
}
}
Instance of Symbol 29 MovieClip "bt_2" in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
txx = "save";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.stade = 3;
_parent.gotoAndStop(4);
}
}
Instance of Symbol 29 MovieClip "bt_3" in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
txx = "cheats";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.stade = 3;
_parent.gotoAndStop(3);
}
}
Instance of Symbol 29 MovieClip "bt_4" in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
txx = "bow games";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.stade = 3;
_parent.gotoAndStop(2);
}
}
Instance of Symbol 29 MovieClip "bt_7" in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
txx = "";
boxx.iconn.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.stade = 2;
}
}
Instance of Symbol 29 MovieClip "bt_5" in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
txx = "options";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.stade = 3;
_parent.gotoAndStop(6);
}
}
Instance of Symbol 29 MovieClip "bt_6" in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
txx = "more games";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/", "_blank");
}
}
Instance of Symbol 371 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 371 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 371 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 371 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 371 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
txx = "";
boxx.iconn.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.act = 3;
}
}
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
txx = "";
boxx.iconn.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.act = 2;
}
}
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 2
onClipEvent (load) {
txx = "";
boxx.iconn.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.stade = 3;
_parent.gotoAndStop(1);
}
}
Symbol 549 MovieClip Frame 3
cheat_box = "";
stop();
onEnterFrame = function () {
cheat_box = String(cheat_box.toUpperCase());
};
Instance of Symbol 29 MovieClip "bt_5" in Symbol 549 MovieClip Frame 3
onClipEvent (load) {
txx = "Ok";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_parent.cheat_box == "GOLDY") {
_root.cash = _root.cash + 10000;
_parent.stade = 3;
_parent.cheat_box = "OK";
}
if (_parent.cheat_box == "HERO") {
_root.cheat_2 = 2;
_parent.stade = 3;
_parent.cheat_box = "OK";
}
if (_parent.cheat_box == "EXP") {
_root.xp_pts = 814500 /* 0x0C6DA4 */;
_root.xp = 30;
_parent.stade = 3;
_parent.cheat_box = "OK";
}
if (_parent.cheat_box == "FACADE") {
_root.up_chato = 5;
_parent.stade = 3;
_parent.cheat_box = "OK";
}
if (_parent.cheat_box == "RAIN") {
_root.wp_arrows = 5;
_parent.stade = 3;
_parent.cheat_box = "OK";
}
if (_parent.cheat_box == "ALLBOWS") {
_root.bow = 9;
_root.box_1 = 2;
_root.box_2 = 2;
_root.box_3 = 2;
_root.box_4 = 2;
_root.box_5 = 2;
_root.box_6 = 2;
_root.box_7 = 2;
_root.box_8 = 2;
_root.box_9 = 2;
_parent.stade = 3;
_parent.cheat_box = "OK";
}
if (_parent.cheat_box == "EQUIPED") {
_root.cheat_7 = 2;
_parent.stade = 3;
_parent.cheat_box = "OK";
}
}
}
Instance of Symbol 29 MovieClip "bt_6" in Symbol 549 MovieClip Frame 3
onClipEvent (load) {
txx = "Cheats List";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/customPage/64/", "_blank");
}
}
Symbol 549 MovieClip Frame 4
_root.save_go = 2;
aa = 60;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
gotoAndStop (5);
}
if (aa != 0) {
aa = aa - 1;
}
};
Symbol 549 MovieClip Frame 5
stop();
onEnterFrame = function () {
};
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 5
onClipEvent (load) {
txx = "";
boxx.iconn.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.stade = 3;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 6
onClipEvent (load) {
txx = "";
boxx.iconn.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.st_qual = _root.st_qual + 1;
if (_root.st_qual == 4) {
_root.st_qual = 1;
}
}
}
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 6
onClipEvent (load) {
txx = "";
boxx.iconn.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.st_qual = _root.st_qual - 1;
if (_root.st_qual == 0) {
_root.st_qual = 3;
}
}
}
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 6
onClipEvent (load) {
txx = "";
boxx.iconn.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.volum = _root.volum + 10;
if (_root.volum > 100) {
_root.volum = 100;
}
}
}
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 6
onClipEvent (load) {
txx = "";
boxx.iconn.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.volum = _root.volum - 10;
if (_root.volum < 0) {
_root.volum = 0;
}
}
}
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 101
onClipEvent (load) {
txx = "bows";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.stade = 3;
_parent.gotoAndStop(102);
}
}
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 101
onClipEvent (load) {
if (_root.wp_arrows != 5) {
txx = "dexterity";
} else {
txx = "max dexterity";
gotoAndStop (41);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.stade = 3;
_parent.gotoAndStop(111);
}
}
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 101
onClipEvent (load) {
txx = "arrows";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.stade = 3;
_parent.gotoAndStop(121);
}
}
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 101
onClipEvent (load) {
if (_root.up_chato != 5) {
txx = "castle";
} else {
txx = "castle";
gotoAndStop (41);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.stade = 3;
_parent.gotoAndStop(131);
}
}
Symbol 549 MovieClip Frame 102
produit = random(9) + 1;
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 102
onClipEvent (load) {
txx = "";
boxx.iconn.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.stade = 3;
_parent.gotoAndStop(101);
}
}
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 102
onClipEvent (load) {
txx = "";
boxx.iconn.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.produit = _parent.produit + 1;
if (_parent.produit == 10) {
_parent.produit = 1;
}
_parent.produit_boxx.gotoAndPlay(2);
}
}
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 102
onClipEvent (load) {
txx = "";
boxx.iconn.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.produit = _parent.produit - 1;
if (_parent.produit == 0) {
_parent.produit = 9;
}
_parent.produit_boxx.gotoAndPlay(2);
}
}
Instance of Symbol 29 MovieClip "bt_buy" in Symbol 549 MovieClip Frame 102
onClipEvent (load) {
txx = "buy";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.stade = 3;
_parent.gotoAndStop(103);
}
}
Instance of Symbol 29 MovieClip "bt_1" in Symbol 549 MovieClip Frame 103
onClipEvent (load) {
txx = "ok";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.bow = _parent.produit;
Set("_root.bow_" + _root.bow, 2);
_parent.chg.stade_cash = _root.cash - _root.price;
_parent.chg.gotoAndStop(2);
_parent.gotoAndStop(1);
}
}
Symbol 549 MovieClip Frame 111
produit = _root.wp_arrows + 1;
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 111
onClipEvent (load) {
txx = "";
boxx.iconn.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.stade = 3;
_parent.gotoAndStop(101);
}
}
Instance of Symbol 29 MovieClip "bt_buy" in Symbol 549 MovieClip Frame 111
onClipEvent (load) {
txx = "buy";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.stade = 3;
_parent.gotoAndStop(112);
}
}
Instance of Symbol 29 MovieClip "bt_1" in Symbol 549 MovieClip Frame 112
onClipEvent (load) {
txx = "ok";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.chg.stade_cash = _root.cash - _root.price;
_parent.chg.stade_dexterity = _root.wp_arrows + 1;
_parent.chg.gotoAndStop(3);
_parent.gotoAndStop(1);
}
}
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 113
onClipEvent (load) {
txx = "";
boxx.iconn.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.act = 103;
_parent.gotoAndStop(1);
}
}
Symbol 549 MovieClip Frame 121
produit = 2;
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 121
onClipEvent (load) {
txx = "";
boxx.iconn.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.stade = 3;
_parent.gotoAndStop(101);
}
}
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 121
onClipEvent (load) {
txx = "";
boxx.iconn.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.produit = _parent.produit + 1;
if (_parent.produit == 6) {
_parent.produit = 2;
}
_parent.produit_boxx.gotoAndPlay(2);
}
}
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 121
onClipEvent (load) {
txx = "";
boxx.iconn.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.produit = _parent.produit - 1;
if (_parent.produit == 1) {
_parent.produit = 5;
}
_parent.produit_boxx.gotoAndPlay(2);
}
}
Instance of Symbol 29 MovieClip "bt_buy" in Symbol 549 MovieClip Frame 121
onClipEvent (load) {
txx = "buy";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.stade = 3;
_parent.gotoAndStop(122);
}
}
Instance of Symbol 371 MovieClip in Symbol 549 MovieClip Frame 121
onClipEvent (enterFrame) {
nb = _parent.produit;
}
Instance of Symbol 29 MovieClip "bt_1" in Symbol 549 MovieClip Frame 122
onClipEvent (load) {
txx = "ok";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.chgarrowsmsg = 2;
_parent.chg.stade_cash = _root.cash - _root.price;
_parent.chg.stade_arrows = eval ("_root.arrows_" + _parent.produit) + 50;
_parent.chg.gotoAndStop(_parent.produit + 3);
_parent.gotoAndStop(1);
}
}
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 123
onClipEvent (load) {
txx = "";
boxx.iconn.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.act = 103;
_parent.gotoAndStop(1);
}
}
Symbol 549 MovieClip Frame 131
produit = _root.up_chato + 1;
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 131
onClipEvent (load) {
txx = "";
boxx.iconn.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.stade = 3;
_parent.gotoAndStop(101);
}
}
Instance of Symbol 29 MovieClip "bt_buy" in Symbol 549 MovieClip Frame 131
onClipEvent (load) {
txx = "buy";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.stade = 3;
_parent.gotoAndStop(132);
}
}
Instance of Symbol 29 MovieClip "bt_1" in Symbol 549 MovieClip Frame 132
onClipEvent (load) {
txx = "ok";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.chg.stade_cash = _root.cash - _root.price;
_root.up_chato = _root.up_chato + 1;
_parent.chg.gotoAndStop(2);
_parent.gotoAndStop(1);
}
}
Instance of Symbol 29 MovieClip in Symbol 549 MovieClip Frame 133
onClipEvent (load) {
txx = "";
boxx.iconn.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.act = 103;
_parent.gotoAndStop(1);
}
}
Symbol 551 MovieClip Frame 1
if (_root.from_death_notrack == 2) {
_root.from_death_notrack = 1;
stop();
} else {
stopAllSounds();
}
Symbol 551 MovieClip Frame 3
stop();
Symbol 554 MovieClip Frame 110
_parent.gotoAndStop(40);
stop();
Symbol 555 Button
on (press) {
if ((act == 1) && (!Key.isDown(32))) {
act = 2;
}
if (act == 4) {
act = 2;
}
}
on (release) {
if (act == 2) {
act = 3;
remember_wp_arrows = wp_arrows;
if (wp != 1) {
if (eval ("arrows_" + wp) < wp_arrows) {
wp_arrows = eval ("arrows_" + wp);
}
trace("ARROWS :" + eval ("arrows_" + wp));
trace("SHOOT :" + wp_arrows);
Set("arrows_" + wp, eval ("arrows_" + wp) - wp_arrows);
}
cnt.fleche.gotoAndStop(1);
cnt.fleche_2.gotoAndStop(1);
cnt.fleche_3.gotoAndStop(1);
cnt.fleche_4.gotoAndStop(1);
cnt.fleche_5.gotoAndStop(1);
cnt.fleche.gotoAndStop(2);
if (wp_arrows == 2) {
cnt.fleche_2.gotoAndStop(2);
}
if (wp_arrows == 3) {
cnt.fleche_2.gotoAndStop(2);
cnt.fleche_3.gotoAndStop(2);
}
if (wp_arrows == 4) {
cnt.fleche_2.gotoAndStop(2);
cnt.fleche_3.gotoAndStop(2);
cnt.fleche_4.gotoAndStop(2);
}
if (wp_arrows == 5) {
cnt.fleche_2.gotoAndStop(2);
cnt.fleche_3.gotoAndStop(2);
cnt.fleche_4.gotoAndStop(2);
cnt.fleche_5.gotoAndStop(2);
}
wp_arrows = remember_wp_arrows;
}
}
on (keyPress "<Up>") {
zoomed = zoomed + 10;
}
on (keyPress "<Down>") {
zoomed = zoomed - 10;
}
Symbol 578 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.up_chato);
};
Symbol 586 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.up_chato);
};
Symbol 598 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.act == 2) {
aa = _root.cnt.aimbar.aim._rotation;
if (_root.perso_side == "R") {
if (aa > 0) {
aa = aa - 90;
} else {
aa = (180 + aa) + 90;
}
aa = 180 - aa;
} else {
if (aa > 0) {
aa = aa - 90;
} else {
aa = (180 + aa) + 90;
}
aa = 180 - aa;
}
gotoAndStop(Math.round((aa * 100) / 180) + 1);
} else {
gotoAndStop (40);
}
};
Symbol 600 MovieClip Frame 100
stop();
Symbol 601 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.act == 2) {
aa = _root.cnt.aimbar.aim._rotation;
if (_root.perso_side == "R") {
if (aa > 0) {
aa = aa - 90;
} else {
aa = (180 + aa) + 90;
}
aa = 180 - aa;
} else {
if (aa > 0) {
aa = aa - 90;
} else {
aa = (180 + aa) + 90;
}
aa = 180 - aa;
}
gotoAndStop(Math.round((aa * 100) / 180) + 1);
} else {
gotoAndStop (40);
}
};
Symbol 604 MovieClip Frame 16
stop();
Symbol 605 MovieClip Frame 15
gotoAndPlay (1);
Symbol 605 MovieClip Frame 16
_root.kill_bat = 2;
Symbol 605 MovieClip Frame 30
_root.kill_bat = 1;
Symbol 605 MovieClip Frame 34
_root.act = 1;
Symbol 606 MovieClip Frame 1
stop();
Instance of Symbol 403 MovieClip "hitt" in Symbol 606 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.cnt.hitt2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.perso_floorhitt = 2;
} else {
_root.perso_floorhitt = 1;
}
i++;
}
this.hitpts2 = new Array({x:0, y:-10});
j = 0;
while (j < this.hitpts2.length) {
this.localToGlobal(hitpts2[j]);
if (_root.cnt.hitt2.hitTest(hitpts2[j].x, hitpts2[j].y, true)) {
_root.cnt.perso._y = _root.cnt.perso._y - 10;
}
j++;
}
this.hitpts3 = new Array({x:25, y:-60});
k = 0;
while (k < this.hitpts3.length) {
this.localToGlobal(hitpts3[k]);
if (_root.cnt.hitt2.hitTest(hitpts3[k].x, hitpts3[k].y, true)) {
_root.mur_touch = 2;
} else {
_root.mur_touch = 1;
}
k++;
}
this.hitpts4 = new Array({x:0, y:-100});
m = 0;
while (m < this.hitpts4.length) {
this.localToGlobal(hitpts[m]);
if (_root.cnt.hitt2.hitTest(hitpts4[m].x, hitpts4[m].y, true)) {
_parent._y = _parent._y + 10;
}
m++;
}
}
Instance of Symbol 403 MovieClip "hitt" in Symbol 606 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Symbol 606 MovieClip Frame 21
gotoAndPlay (2);
Symbol 606 MovieClip Frame 51
stop();
Symbol 613 MovieClip Frame 1
stop();
Symbol 621 MovieClip Frame 1
stop();
Symbol 629 MovieClip Frame 1
stop();
Symbol 636 MovieClip Frame 1
gotoAndPlay((random(5) + 1) * 2);
Symbol 636 MovieClip Frame 3
stop();
Symbol 636 MovieClip Frame 5
stop();
Symbol 636 MovieClip Frame 7
stop();
Symbol 636 MovieClip Frame 9
stop();
Symbol 636 MovieClip Frame 11
stop();
Symbol 637 MovieClip Frame 1
stop();
onEnterFrame = function () {
boxx.gotoAndStop(_root.up_chato);
boxx.boxx.gotoAndStop(7 - Math.round((eval ("_root.door_" + nb) * 6) / _root.door_maxenergy));
if (eval ("_root.door_go_" + nb) == 2) {
Set("_root.door_go_" + nb, 1);
gotoAndPlay (2);
}
};
Symbol 639 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.up_chato);
};
Instance of Symbol 637 MovieClip in Symbol 639 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 637 MovieClip in Symbol 639 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Symbol 652 MovieClip Frame 1
stop();
Instance of Symbol 640 MovieClip in Symbol 652 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 652 MovieClip Frame 2
stop();
Instance of Symbol 651 MovieClip "boxx" in Symbol 652 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(random(8) + 1);
}
Symbol 671 MovieClip Frame 31
gotoAndPlay(random(25) + 32);
Symbol 671 MovieClip Frame 60
_xscale = (random(70) + 30);
_yscale = _xscale;
_rotation = (random(40) - 20);
Symbol 674 MovieClip Frame 1
stop();
Instance of Symbol 672 MovieClip in Symbol 674 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((_parent._parent._parent._parent.poison == 2) && (_parent._parent._parent._parent.energy > 0)) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 725 MovieClip Frame 1
stop();
Instance of Symbol 672 MovieClip in Symbol 725 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((_parent._parent._parent._parent.poison == 2) && (_parent._parent._parent._parent.energy > 0)) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 735 MovieClip Frame 1
stop();
Symbol 748 MovieClip Frame 10
aa = random(4) + 1;
if (aa == 1) {
gotoAndPlay (40);
}
Symbol 748 MovieClip Frame 39
gotoAndPlay (1);
Symbol 749 MovieClip Frame 1
gotoAndStop(_parent.typee);
Symbol 750 MovieClip Frame 1
gotoAndStop(_parent.typee);
Symbol 751 MovieClip Frame 15
head.gotoAndStop(2);
Symbol 751 MovieClip Frame 50
_parent._parent.attack = 2;
Symbol 751 MovieClip Frame 62
head.gotoAndStop(1);
Symbol 752 MovieClip Frame 20
_parent._parent.attack = 2;
Symbol 753 MovieClip Frame 16
head.gotoAndStop(2);
Symbol 753 MovieClip Frame 37
_parent._parent.attack = 2;
Symbol 753 MovieClip Frame 46
head.gotoAndStop(1);
Symbol 754 MovieClip Frame 17
gotoAndPlay (11);
Symbol 755 MovieClip Frame 1
gotoAndStop(_parent.typee);
Symbol 756 MovieClip Frame 41
_parent._parent.canmove = 2;
Symbol 758 MovieClip Frame 5
head.gotoAndStop(2);
Symbol 758 MovieClip Frame 20
head.gotoAndStop(1);
Symbol 758 MovieClip Frame 50
_parent._parent.canmove = 2;
Symbol 763 MovieClip Frame 1
if (_root.wp != 3) {
gotoAndStop(_parent.typee);
} else {
_parent.speed_mem = _parent.speed;
_parent.speed = 0;
gotoAndStop(_parent.typee + 5);
}
Instance of Symbol 758 MovieClip "boxx" in Symbol 763 MovieClip Frame 3
onClipEvent (load) {
if (_parent._parent.energy <= 100) {
gotoAndPlay (35);
}
}
Symbol 763 MovieClip Frame 6
if (_root.wp != 3) {
gotoAndStop(_parent.typee);
} else {
gotoAndStop(_parent.typee + 5);
}
Instance of Symbol 756 MovieClip "boxx" in Symbol 763 MovieClip Frame 6
onClipEvent (load) {
gotoAndStop(random(35) + 1);
}
Instance of Symbol 761 MovieClip in Symbol 763 MovieClip Frame 6
onClipEvent (load) {
if (_parent._parent.typee == 1) {
timer = 250;
}
if (_parent._parent.typee == 2) {
timer = 250;
}
if (_parent._parent.typee == 3) {
timer = 100;
}
if (_parent._parent.typee == 4) {
timer = 100;
}
if (_parent._parent.typee == 5) {
timer = 100;
}
}
onClipEvent (enterFrame) {
if (timer != 0) {
timer = timer - 1;
} else if (_alpha > 0) {
_alpha = (_alpha - 1);
} else {
_parent._parent.speed = _parent._parent.speed_mem;
_parent._parent.canmove = 2;
}
}
Instance of Symbol 758 MovieClip "boxx" in Symbol 763 MovieClip Frame 8
onClipEvent (load) {
gotoAndStop(random(50) + 1);
}
Instance of Symbol 761 MovieClip in Symbol 763 MovieClip Frame 8
onClipEvent (load) {
if (_parent._parent.typee == 1) {
timer = 250;
}
if (_parent._parent.typee == 2) {
timer = 250;
}
if (_parent._parent.typee == 3) {
timer = 100;
}
if (_parent._parent.typee == 4) {
timer = 100;
}
if (_parent._parent.typee == 5) {
timer = 100;
}
}
onClipEvent (enterFrame) {
if (timer != 0) {
timer = timer - 1;
} else if (_alpha > 0) {
_alpha = (_alpha - 1);
} else {
_parent._parent.speed = _parent._parent.speed_mem;
_parent._parent.canmove = 2;
}
}
Symbol 764 MovieClip Frame 41
_parent._parent.die = 2;
stop();
Symbol 765 MovieClip Frame 26
_parent._parent.die = 2;
stop();
Symbol 766 MovieClip Frame 70
_parent._parent.die = 2;
stop();
Symbol 767 MovieClip Frame 22
gotoAndPlay (11);
Symbol 767 MovieClip Frame 23
_parent._parent.die = 2;
Symbol 768 MovieClip Frame 1
gotoAndStop(_parent.typee);
Instance of Symbol 766 MovieClip "boxx" in Symbol 768 MovieClip Frame 3
onClipEvent (load) {
if (_parent._parent.energy <= 100) {
gotoAndPlay (35);
}
}
Symbol 769 MovieClip Frame 1
canmove = 2;
gotshot = 0;
die = 1;
poison = 1;
xp_boule = 0;
_alpha = 100;
if (typee == 1) {
speed = 3;
energy = 100;
poison_for_typee = 0.2;
}
if (typee == 2) {
speed = 7;
energy = 40;
poison_for_typee = 0.25;
}
if (typee == 3) {
speed = 3;
energy = 400;
poison_for_typee = 1;
}
if (typee == 4) {
speed = 6;
energy = 20;
poison_for_typee = 1;
}
speed_max = speed;
energy_max = energy;
side = random(2) + 1;
_y = 250;
if (typee == 4) {
_y = (_y - (600 - random(300)));
}
if (side == 1) {
_x = -3000;
limit = (-390 + random(40)) - 20;
if (typee == 3) {
limit = limit - 100;
}
} else {
_x = 3000;
limit = (440 + random(40)) - 20;
if (typee == 3) {
limit = limit + 100;
}
}
speedbat = 0.12;
bat_accelx = 1;
bat_accely = 1;
stop();
onEnterFrame = function () {
speed = speed_max;
if ((canmove == 2) && (_currentframe != 1)) {
if (side == 1) {
_xscale = 100;
if (_x < limit) {
_x = (_x + speed);
gotoAndStop (2);
} else {
gotoAndStop (3);
if (typee == 4) {
_root.shake = 2;
_root.act = -22;
sx = _root.cnt.perso._x;
sy = _root.cnt.perso._y - 75;
speedbatx = (sx - _x) * speedbat;
speedbaty = (sy - _y) * speedbat;
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + speedbatx);
}
if ((_y < (sy - 0.5)) || (_y > (sy + 0.5))) {
_y = (_y + speedbaty);
}
}
}
} else {
_xscale = -100;
if (_x > limit) {
_x = (_x - speed);
gotoAndStop (2);
} else {
gotoAndStop (3);
if (typee == 4) {
_root.shake = 2;
_root.act = -22;
sx = _root.cnt.perso._x;
sy = _root.cnt.perso._y - 75;
speedbatx = (sx - _x) * speedbat;
speedbaty = (sy - _y) * speedbat;
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + speedbatx);
}
if ((_y < (sy - 0.5)) || (_y > (sy + 0.5))) {
_y = (_y + speedbaty);
}
}
}
}
}
if (attack == 2) {
attack = 1;
_root.shake = 4;
if (typee == 1) {
force = (0 + random(5)) + 1;
}
if (typee == 2) {
force = (3 + random(5)) + 1;
}
if (typee == 3) {
force = (10 + random(5)) + 1;
}
if (typee == 4) {
force = (3 + random(5)) + 1;
}
if (typee == 5) {
force = (3 + random(5)) + 1;
}
Set("_root.door_go_" + side, 2);
Set("_root.door_" + side, eval ("_root.door_" + side) - force);
}
if (poison == 2) {
if (_currentframe >= 2) {
if (energy > 0) {
energy = energy - poison_for_typee;
} else {
gotshot = 1;
poison = 1;
}
}
}
if (((_root.kill_bat == 2) && (typee == 4)) && (_currentframe == 3)) {
if (energy > 0) {
bat_accelx = 20;
gotshot = 100;
}
}
if (typee == 4) {
if (bat_accelx > 1) {
bat_accelx = bat_accelx * 0.9;
if (side == 1) {
_x = (_x - bat_accelx);
} else {
_x = (_x + bat_accelx);
}
}
if (energy <= 0) {
if (_y < 250) {
_y = (_y + bat_accely);
bat_accely = bat_accely * 1.1;
} else {
boxx.boxx.gotoAndStop(23);
}
} else {
bat_accely = 1;
}
}
if (gotshot != 0) {
energy = energy - gotshot;
gotshot = 0;
canmove = 1;
if (_root.wp == 5) {
poison = 2;
speed_max = speed_max * 0.4;
}
if (energy > 0) {
gotoAndStop (4);
} else {
gotoAndStop (5);
}
if (typee != 4) {
Set(("_parent.bl_" + _root.blood_nb) + "._x", _x);
Set(("_parent.bl_" + _root.blood_nb) + "._y", _y);
eval ("_parent.bl_" + _root.blood_nb).gotoAndStop(2);
Set(("_parent.bl_" + _root.blood_nb) + ".boxx._xscale", 100 + (100 - energy));
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb == 51) {
_root.blood_nb = 1;
}
}
}
if (die == 2) {
die = 3;
timer_die = 20;
if ((_root.bow >= 1) && (_root.bow <= 3)) {
xp_multiplier = 1;
gold_multiplier = 1.5;
}
if ((_root.bow >= 4) && (_root.bow <= 6)) {
xp_multiplier = 2;
gold_multiplier = 1;
}
if ((_root.bow >= 7) && (_root.bow <= 9)) {
xp_multiplier = 1;
gold_multiplier = 1;
}
if (typee == 1) {
_root.cash = _root.cash + Math.round(100 * gold_multiplier);
xp_boule = Math.round(2 * xp_multiplier);
}
if (typee == 2) {
_root.cash = _root.cash + Math.round(200 * gold_multiplier);
xp_boule = Math.round(4 * xp_multiplier);
}
if (typee == 3) {
_root.cash = _root.cash + Math.round(600 * gold_multiplier);
xp_boule = Math.round(6 * xp_multiplier);
}
if (typee == 4) {
_root.cash = _root.cash + Math.round(100 * gold_multiplier);
xp_boule = Math.round(1 * xp_multiplier);
}
}
if (die == 3) {
if (timer_die != 0) {
timer_die = timer_die - 1;
} else if (_alpha > 0) {
_alpha = (_alpha - 5);
} else {
die = 1;
gotoAndStop (1);
}
}
if (xp_boule > 0) {
xp_boule = xp_boule - 1;
Set(("_root.cnt.bxp_" + _root.xp_boule_nb) + "._x", (_x + random(50)) - 25);
Set(("_root.cnt.bxp_" + _root.xp_boule_nb) + "._y", _y - random(100));
eval ("_root.cnt.bxp_" + _root.xp_boule_nb).gotoAndStop(1);
eval ("_root.cnt.bxp_" + _root.xp_boule_nb).gotoAndStop(2);
_root.xp_boule_nb = _root.xp_boule_nb + 1;
if (_root.xp_boule_nb > 20) {
_root.xp_boule_nb = 1;
}
}
};
Instance of Symbol 653 MovieClip in Symbol 769 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 750 MovieClip "hitt" in Symbol 769 MovieClip Frame 2
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.fleche.boule.boxx.boxx.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.gotshot = 100;
}
var nb = 1;
while (nb < 7) {
if (_root.cnt["fleche_" + nb].boule.boxx.boxx.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.gotshot = 100;
}
nb++;
}
i++;
}
}
Symbol 769 MovieClip Frame 4
_root.snd.hurt.gotoAndPlay(typee * 50);
Symbol 769 MovieClip Frame 5
_root.enemies_dead = _root.enemies_dead + 1;
_root.snd.killed.gotoAndPlay(typee * 50);
Symbol 770 MovieClip Frame 1
stop();
Symbol 770 MovieClip Frame 3
eval ("_root.cnt.e_" + _parent.aa).gotoAndStop(1);
Symbol 770 MovieClip Frame 5
eval ("_root.cnt.e_" + _parent.aa).gotoAndStop(2);
Symbol 770 MovieClip Frame 7
trace("TYPE GEN : " + eval (("_root.cnt.e_" + _parent.aa) + ".typee"));
if (gen_go == 1) {
_parent.gotoAndPlay(98);
}
if (gen_go == 2) {
_parent.gotoAndPlay(2);
}
Symbol 771 MovieClip Frame 1
_root.enemies_tot = 2 + (5 * _root.lvl);
_root.enemies_dead = 0;
_root.enemies_spawned = 0;
_root.timer_entre_enemies = 100;
gotoAndPlay (299);
Instance of Symbol 653 MovieClip in Symbol 771 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 771 MovieClip Frame 2
if (_root.timer_entre_enemies == 0) {
percent = 1;
} else {
percent = _root.timer_entre_enemies;
}
aa = ((Math.round((percent * (260 - (_root.lvl * 10))) / 100) + random(40)) - 3) + (_root.lvl * 10);
if (aa > 296) {
aa = 296;
}
gotoAndPlay(aa);
Symbol 771 MovieClip Frame 297
ab = random(10) + 1;
if ((ab >= 1) && (ab <= 6)) {
spawn_one_shot = 1;
}
if ((ab >= 7) && (ab <= 9)) {
spawn_one_shot = 2;
}
if (ab >= 10) {
spawn_one_shot = 3;
}
Symbol 771 MovieClip Frame 299
aa = random(20) + 1;
Symbol 771 MovieClip Frame 300
if (eval (("_root.cnt.e_" + aa) + "._currentframe") == 1) {
aa2 = random(100) + 1;
if (_root.lvl == 1) {
if ((aa2 >= 0) && (aa2 <= 100)) {
typee = 2;
}
if ((aa2 >= 10000) && (aa2 <= 10000)) {
typee = 1;
}
if ((aa2 >= 10000) && (aa2 <= 10000)) {
typee = 4;
}
if ((aa2 >= 10000) && (aa2 <= 10000)) {
typee = 3;
}
}
if (_root.lvl == 2) {
if ((aa2 >= 0) && (aa2 <= 80)) {
typee = 2;
}
if ((aa2 >= 81) && (aa2 <= 100)) {
typee = 1;
}
if ((aa2 >= 10000) && (aa2 <= 10000)) {
typee = 4;
}
if ((aa2 >= 10000) && (aa2 <= 10000)) {
typee = 3;
}
}
if (_root.lvl == 3) {
if ((aa2 >= 0) && (aa2 <= 70)) {
typee = 2;
}
if ((aa2 >= 71) && (aa2 <= 100)) {
typee = 1;
}
if ((aa2 >= 10000) && (aa2 <= 10000)) {
typee = 4;
}
if ((aa2 >= 10000) && (aa2 <= 10000)) {
typee = 3;
}
}
if (_root.lvl == 4) {
if ((aa2 >= 0) && (aa2 <= 55)) {
typee = 2;
}
if ((aa2 >= 56) && (aa2 <= 90)) {
typee = 1;
}
if ((aa2 >= 90) && (aa2 <= 100)) {
typee = 4;
}
if ((aa2 >= 10000) && (aa2 <= 10000)) {
typee = 3;
}
}
if (_root.lvl == 5) {
if ((aa2 >= 0) && (aa2 <= 55)) {
typee = 2;
}
if ((aa2 >= 56) && (aa2 <= 90)) {
typee = 1;
}
if ((aa2 >= 90) && (aa2 <= 100)) {
typee = 4;
}
if ((aa2 >= 10000) && (aa2 <= 10000)) {
typee = 3;
}
}
if (_root.lvl == 6) {
if ((aa2 >= 0) && (aa2 <= 40)) {
typee = 2;
}
if ((aa2 >= 41) && (aa2 <= 80)) {
typee = 1;
}
if ((aa2 >= 81) && (aa2 <= 90)) {
typee = 4;
}
if ((aa2 >= 91) && (aa2 <= 100)) {
typee = 3;
}
}
if (_root.lvl >= 7) {
if ((aa2 >= 0) && (aa2 <= 35)) {
typee = 2;
}
if ((aa2 >= 36) && (aa2 <= 70)) {
typee = 1;
}
if ((aa2 >= 71) && (aa2 <= 85)) {
typee = 4;
}
if ((aa2 >= 86) && (aa2 <= 100)) {
typee = 3;
}
}
trace("TYPE :" + typee);
Set(("_root.cnt.e_" + aa) + ".typee", typee);
eval ("_root.cnt.e_" + aa).gotoAndStop(2);
gen.gotoAndPlay(2);
_root.enemies_spawned = _root.enemies_spawned + 1;
spawn_one_shot = spawn_one_shot - 1;
_root.timer_entre_enemies = Math.round((_root.enemies_spawned * 100) / _root.enemies_tot);
if (_root.enemies_spawned >= _root.enemies_tot) {
gotoAndPlay (302);
gen.gen_go = 0;
} else {
if (spawn_one_shot > 0) {
gen.gen_go = 1;
} else {
gen.gen_go = 2;
}
stop();
}
} else {
gotoAndPlay (298);
}
Symbol 771 MovieClip Frame 302
stop();
onEnterFrame = function () {
if (_root.enemies_dead >= _root.enemies_tot) {
gotoAndStop (303);
}
};
Symbol 771 MovieClip Frame 303
aa = 300;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
_root.got2go = 2;
gotoAndStop (10);
}
if (aa != 0) {
aa = aa - 1;
}
};
Symbol 778 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
};
Symbol 778 MovieClip Frame 2
boxx.gotoAndStop(_root.wp);
_alpha = (_root.largeur_throw / 3);
_visible = true;
stop();
onEnterFrame = function () {
if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
gotoAndStop (1);
}
};
Symbol 783 MovieClip Frame 1
stop();
onEnterFrame = function () {
};
Symbol 783 MovieClip Frame 2
aa = 50 + random(50);
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 782 MovieClip in Symbol 783 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay(random(100) + 1);
boxx.gotoAndPlay(random(30) + 1);
}
Symbol 783 MovieClip Frame 3
speed = 0.2;
cango1 = 1;
cango2 = 1;
stop();
onEnterFrame = function () {
sx = _root.cnt.perso._x;
sy = _root.cnt.perso._y - 60;
speedx = (sx - _x) * speed;
speedy = (sy - _y) * speed;
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + speedx);
} else {
cango1 = 2;
}
if ((_y < (sy - 0.5)) || (_y > (sy + 0.5))) {
_y = (_y + speedy);
} else {
cango2 = 2;
}
if ((cango1 == 2) && (cango2 == 2)) {
_root.xp_pts = _root.xp_pts + 50;
trace(_root.xp_pts);
gotoAndStop (1);
}
if (boxx._xscale > 100) {
boxx._xscale = boxx._xscale * 0.97;
}
};
Instance of Symbol 780 MovieClip "boxx" in Symbol 783 MovieClip Frame 3
onClipEvent (load) {
if (_x < _root.cnt.perso._x) {
_rotation = -15;
} else {
_rotation = 15;
}
}
Symbol 790 MovieClip Frame 3
_root.shake = 40;
Symbol 790 MovieClip Frame 20
stop();
Symbol 793 MovieClip Frame 25
stop();
Symbol 796 MovieClip Frame 1
gotoAndStop(_root.wp);
Symbol 796 MovieClip Frame 2
_parent.stop();
Symbol 796 MovieClip Frame 3
_parent.stop();
Symbol 797 MovieClip Frame 10
stop();
Instance of Symbol 785 MovieClip in Symbol 799 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.wp);
}
Symbol 800 MovieClip Frame 1
stop();
onEnterFrame = function () {
};
Symbol 800 MovieClip Frame 2
_root.snd.bow.gotoAndPlay((random(3) + 1) * 2);
_root.snd.bow_typee.gotoAndPlay(_root.wp * 2);
speedy_acceldown = 0;
fleche_speed = _root.cnt.aimbar.aim.boxx._width / 4;
_x = _root.cnt.perso._x;
_y = (_root.cnt.perso._y - 30);
if (_root.perso_side == "R") {
rotation_adjust = _root.cnt.aimbar.aim._rotation + 180;
if (rotation_adjust > 180) {
rotation_adjust = -180 + (rotation_adjust - 180);
}
} else {
rotation_adjust = _root.cnt.aimbar.aim._rotation * -1;
}
_rotation = rotation_adjust;
speed_percentage = 100;
if ((rotation_adjust < 0) && (rotation_adjust >= -90)) {
speed_percentage = ((90 + rotation_adjust) * 100) / 90;
}
if ((rotation_adjust < -90) && (rotation_adjust >= -180)) {
speed_percentage = (((rotation_adjust * -1) - 90) * 100) / 90;
}
if (_root.wp != 4) {
timer_wp4 = -1;
} else {
timer_wp4 = 150;
}
stop();
onEnterFrame = function () {
if (timer_wp4 > 0) {
timer_wp4 = timer_wp4 - 1;
}
if ((((timer_wp4 == 0) || (_y < -3000)) || (_x > 5000)) || (_x < -5000)) {
timer_wp4 = timer_wp4 - 1;
_root.act = 1;
gotoAndStop (1);
}
if (_currentframe == 2) {
Set(("_root.cnt.f_" + _root.fumee_nb) + "._rotation", _rotation);
Set(("_root.cnt.f_" + _root.fumee_nb) + "._x", (_x + random(20)) - 10);
Set(("_root.cnt.f_" + _root.fumee_nb) + "._y", (_y + random(20)) - 10);
eval ("_root.cnt.f_" + _root.fumee_nb).gotoAndStop(2);
_root.fumee_nb = _root.fumee_nb + 1;
if (_root.fumee_nb == 41) {
_root.fumee_nb = 1;
}
}
if ((_rotation <= 0) && (_rotation > -90)) {
powerflechex = (fleche_speed * (_rotation + 90)) / 90;
powerflechey = ((fleche_speed * (90 - (_rotation + 90))) / 90) * -1;
}
if ((_rotation <= -90) && (_rotation > -180)) {
powerflechex = ((fleche_speed * ((_rotation * -1) - 90)) / 90) * -1;
powerflechey = ((fleche_speed * (_rotation + 180)) / 180) * -2;
}
if ((_rotation <= 90) && (_rotation > 0)) {
powerflechex = (fleche_speed * (90 - _rotation)) / 90;
powerflechey = (fleche_speed * _rotation) / 90;
}
if ((_rotation <= 180) && (_rotation > 90)) {
powerflechex = ((fleche_speed * (_rotation - 90)) / 90) * -1;
powerflechey = (fleche_speed * (180 - _rotation)) / 90;
}
if (_root.wp != 4) {
light_multiplier = 1;
} else {
light_multiplier = 2;
}
_x = (_x + ((powerflechex + (speed_percentage / 100)) * light_multiplier));
_y = (_y + ((powerflechey + (speedy_acceldown / 2)) * light_multiplier));
rotation2 = _rotation + 90;
if (rotation2 > 180) {
rotation2 = (rotation2 - 180) + -180;
}
if (_root.wp != 4) {
if ((rotation2 >= 0) && (rotation2 < 180)) {
_rotation = (_rotation + 1.3);
}
if ((rotation2 >= -180) && (rotation2 < 0)) {
_rotation = (_rotation - 1.3);
}
}
if (_rotation >= 0) {
if (speedy_acceldown == 0) {
speedy_acceldown = 1;
}
speedy_acceldown = speedy_acceldown * 1.08;
if (speedy_acceldown > 20) {
speedy_acceldown = 20;
}
} else {
speedy_acceldown = 0;
}
};
Instance of Symbol 785 MovieClip in Symbol 800 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(_root.wp);
}
Instance of Symbol 403 MovieClip "hitt" in Symbol 800 MovieClip Frame 2
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:0}, {x:_parent.fleche_speed, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 52) {
if (_root.cnt["e_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.shake = random(5) + 3;
_root.act = 4;
_root.cnt["e_" + nb].gotshot = eval ("_root.bow_damage_" + _root.bow);
_root.snd.bowhitt.gotoAndPlay((random(2) + 1) * 2);
_parent.gotoAndPlay(3);
}
nb++;
}
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.shake = 20;
_root.act = 4;
_root.snd.bowhitt.gotoAndPlay((random(2) + 1) * 2);
_parent.gotoAndPlay(51);
}
i++;
}
}
Symbol 800 MovieClip Frame 3
onEnterFrame = function () {
};
gotoAndPlay (23);
Instance of Symbol 797 MovieClip "boule" in Symbol 800 MovieClip Frame 3
onClipEvent (load) {
if (_parent._currentframe > 50) {
if ((_root.wp != 2) && (_root.wp != 3)) {
_visible = false;
}
}
}
Symbol 800 MovieClip Frame 50
if (_root.act == 4) {
_root.act = 1;
}
gotoAndStop (1);
Symbol 800 MovieClip Frame 51
onEnterFrame = function () {
};
gotoAndPlay (73);
Instance of Symbol 799 MovieClip in Symbol 800 MovieClip Frame 51
onClipEvent (load) {
_rotation = (_rotation + (random(20) - 10));
}
Symbol 800 MovieClip Frame 98
if (_root.act == 4) {
_root.act = 1;
}
gotoAndStop (1);
Symbol 801 MovieClip Frame 1
stop();
onEnterFrame = function () {
};
Symbol 801 MovieClip Frame 2
_root.snd.bow.gotoAndPlay((random(3) + 1) * 2);
speedy_acceldown = 0;
fleche_speed = _root.cnt.aimbar.aim.boxx._width / 4;
_x = _root.cnt.perso._x;
_y = (_root.cnt.perso._y - 30);
if (_root.perso_side == "R") {
rotation_adjust = _root.cnt.aimbar.aim._rotation + 180;
if (rotation_adjust > 180) {
rotation_adjust = -180 + (rotation_adjust - 180);
}
} else {
rotation_adjust = _root.cnt.aimbar.aim._rotation * -1;
}
_rotation = rotation_adjust;
if (_root.wp != 4) {
wp4_direction_multiplier = 1;
} else {
wp4_direction_multiplier = 0.5;
}
if (_root.wp_arrows == 2) {
if (nb == 2) {
_rotation = (_rotation - (2 * wp4_direction_multiplier));
}
}
if (_root.wp_arrows == 3) {
if (nb == 2) {
_rotation = (_rotation - (2 * wp4_direction_multiplier));
}
if (nb == 3) {
_rotation = (_rotation + (2 * wp4_direction_multiplier));
}
}
if (_root.wp_arrows == 4) {
if (nb == 2) {
_rotation = (_rotation - (2 * wp4_direction_multiplier));
}
if (nb == 3) {
_rotation = (_rotation + (2 * wp4_direction_multiplier));
}
if (nb == 4) {
_rotation = (_rotation - (4 * wp4_direction_multiplier));
}
}
if (_root.wp_arrows == 5) {
if (nb == 2) {
_rotation = (_rotation - (2 * wp4_direction_multiplier));
}
if (nb == 3) {
_rotation = (_rotation + (2 * wp4_direction_multiplier));
}
if (nb == 4) {
_rotation = (_rotation - (4 * wp4_direction_multiplier));
}
if (nb == 5) {
_rotation = (_rotation + (4 * wp4_direction_multiplier));
}
}
speed_percentage = 100;
if ((rotation_adjust < 0) && (rotation_adjust >= -90)) {
speed_percentage = ((90 + rotation_adjust) * 100) / 90;
}
if ((rotation_adjust < -90) && (rotation_adjust >= -180)) {
speed_percentage = (((rotation_adjust * -1) - 90) * 100) / 90;
}
if (_root.wp != 4) {
timer_wp4 = -1;
} else {
timer_wp4 = 150;
}
stop();
onEnterFrame = function () {
if (timer_wp4 > 0) {
timer_wp4 = timer_wp4 - 1;
}
if (timer_wp4 == 0) {
timer_wp4 = timer_wp4 - 1;
gotoAndStop (1);
}
if (_currentframe == 2) {
Set(("_root.cnt.f_" + _root.fumee_nb) + "._rotation", _rotation);
Set(("_root.cnt.f_" + _root.fumee_nb) + "._x", (_x + random(20)) - 10);
Set(("_root.cnt.f_" + _root.fumee_nb) + "._y", (_y + random(20)) - 10);
eval ("_root.cnt.f_" + _root.fumee_nb).gotoAndStop(2);
_root.fumee_nb = _root.fumee_nb + 1;
if (_root.fumee_nb == 41) {
_root.fumee_nb = 1;
}
}
if ((_rotation <= 0) && (_rotation > -90)) {
powerflechex = (fleche_speed * (_rotation + 90)) / 90;
powerflechey = ((fleche_speed * (90 - (_rotation + 90))) / 90) * -1;
}
if ((_rotation <= -90) && (_rotation > -180)) {
powerflechex = ((fleche_speed * ((_rotation * -1) - 90)) / 90) * -1;
powerflechey = ((fleche_speed * (_rotation + 180)) / 180) * -2;
}
if ((_rotation <= 90) && (_rotation > 0)) {
powerflechex = (fleche_speed * (90 - _rotation)) / 90;
powerflechey = (fleche_speed * _rotation) / 90;
}
if ((_rotation <= 180) && (_rotation > 90)) {
powerflechex = ((fleche_speed * (_rotation - 90)) / 90) * -1;
powerflechey = (fleche_speed * (180 - _rotation)) / 90;
}
if (_root.wp != 4) {
light_multiplier = 1;
} else {
light_multiplier = 2;
}
_x = (_x + ((powerflechex + (speed_percentage / 100)) * light_multiplier));
_y = (_y + ((powerflechey + (speedy_acceldown / 2)) * light_multiplier));
rotation2 = _rotation + 90;
if (rotation2 > 180) {
rotation2 = (rotation2 - 180) + -180;
}
if (_root.wp != 4) {
if ((rotation2 >= 0) && (rotation2 < 180)) {
_rotation = (_rotation + 1.3);
}
if ((rotation2 >= -180) && (rotation2 < 0)) {
_rotation = (_rotation - 1.3);
}
}
if (_rotation >= 0) {
if (speedy_acceldown == 0) {
speedy_acceldown = 1;
}
speedy_acceldown = speedy_acceldown * 1.08;
if (speedy_acceldown > 20) {
speedy_acceldown = 20;
}
} else {
speedy_acceldown = 0;
}
};
Instance of Symbol 785 MovieClip in Symbol 801 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(_root.wp);
}
Instance of Symbol 403 MovieClip "hitt" in Symbol 801 MovieClip Frame 2
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:0}, {x:_parent.fleche_speed, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 52) {
if (_root.cnt["e_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.shake = random(5) + 3;
_root.cnt["e_" + nb].gotshot = eval ("_root.bow_damage_" + _root.bow);
_root.snd.bowhitt.gotoAndPlay((random(2) + 1) * 2);
_parent.gotoAndPlay(3);
}
nb++;
}
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.shake = 20;
_root.snd.bowhitt.gotoAndPlay((random(2) + 1) * 2);
_parent.gotoAndPlay(51);
}
i++;
}
}
Symbol 801 MovieClip Frame 3
onEnterFrame = function () {
};
Instance of Symbol 797 MovieClip "boule" in Symbol 801 MovieClip Frame 3
onClipEvent (load) {
if (_parent._currentframe > 50) {
if ((_root.wp != 2) && (_root.wp != 3)) {
_visible = false;
}
}
}
Symbol 801 MovieClip Frame 50
gotoAndStop (1);
Symbol 801 MovieClip Frame 51
onEnterFrame = function () {
};
Instance of Symbol 799 MovieClip in Symbol 801 MovieClip Frame 51
onClipEvent (load) {
_rotation = (_rotation + (random(20) - 10));
}
Symbol 801 MovieClip Frame 98
gotoAndStop (1);
Symbol 807 MovieClip Frame 1
onEnterFrame = function () {
if (_root.act == 2) {
_visible = true;
} else {
_visible = false;
}
if ((_root.act == 1) || (_root.act == 2)) {
myRadians = Math.atan2(_root.cnt.aimbar._ymouse - this._y, _root.cnt.aimbar._xmouse - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.cnt.aimbar._ymouse - this._y);
_root.xChange = Math.round(_root.cnt.aimbar._xmouse - this._x);
_rotation = myDegrees;
_root.largeur_throw = _xmouse - 15;
if (_root.largeur_throw > 300) {
_root.largeur_throw = 300;
}
boxx._width = _root.largeur_throw;
boxx2._xscale = boxx._xscale / 2;
}
};
Symbol 808 MovieClip Frame 1
stop();
onEnterFrame = function () {
_x = _parent.perso._x;
_y = _parent.perso._y;
_xscale = _parent.perso._xscale;
_yscale = _parent.perso._yscale;
};
Instance of Symbol 580 MovieClip "hitt" in Symbol 809 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 586 MovieClip "hitt2" in Symbol 809 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 801 MovieClip "fleche_2" in Symbol 809 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 801 MovieClip "fleche_3" in Symbol 809 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 801 MovieClip "fleche_4" in Symbol 809 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 801 MovieClip "fleche_5" in Symbol 809 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 403 MovieClip "hitt" in Symbol 811 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.fond1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
visisble_activated = 1;
} else {
visisble_activated = 2;
}
i++;
}
if (visisble_activated == 2) {
if (_parent._alpha < 50) {
_parent._alpha = _parent._alpha + 10;
}
} else if (_parent._alpha > 0) {
_parent._alpha = _parent._alpha - 10;
}
}
Symbol 814 MovieClip Frame 1
if (_root.tutoooo == undefined) {
_root.tutoooo = 2;
} else {
_visible = false;
}
Symbol 817 MovieClip Frame 1
if (_root.chgarrowsmsg == 2) {
_root.chgarrowsmsg = 1;
} else {
stop();
}
Symbol 825 MovieClip Frame 30
gotoAndPlay (6);
Symbol 827 Button
on (release) {
gotoAndPlay (2);
}
Symbol 837 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_parent.nb == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Symbol 839 Button
on (release) {
_root.wp = nb;
_parent._parent.gotoAndPlay(21);
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (16);
}
Symbol 840 MovieClip Frame 1
boxx.gotoAndStop(nb);
boxx2.gotoAndStop(nb);
if (eval ("_root.arrows_" + nb) <= 0) {
gotoAndStop (31);
}
stop();
onEnterFrame = function () {
aff = eval ("_root.arrows_" + nb);
};
Symbol 840 MovieClip Frame 15
stop();
Symbol 840 MovieClip Frame 30
gotoAndPlay (1);
Instance of Symbol 840 MovieClip in Symbol 843 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 840 MovieClip in Symbol 843 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 840 MovieClip in Symbol 843 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 840 MovieClip in Symbol 843 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 840 MovieClip in Symbol 843 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Symbol 844 Button
on (rollOver) {
gotoAndPlay (21);
}
Symbol 845 MovieClip Frame 1
stop();
Instance of Symbol 840 MovieClip in Symbol 845 MovieClip Frame 1
onClipEvent (load) {
nb = _root.wp;
}
onClipEvent (enterFrame) {
nb = _root.wp;
gotoAndStop (42);
boxx.gotoAndStop(nb);
boxx2.gotoAndStop(nb);
}
Symbol 845 MovieClip Frame 2
_root.act = 0;
if (_root.perso_floorhitt == 2) {
_root.cnt.perso.gotoAndStop(1);
} else {
_root.cnt.perso.gotoAndStop(52);
}
Symbol 845 MovieClip Frame 20
stop();
Symbol 845 MovieClip Frame 21
_root.act = 1;
Symbol 852 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(Math.round((eval ("_root.door_" + nb) * 100) / _root.door_maxenergy) + 1);
};
Symbol 853 MovieClip Frame 1
gotoAndStop(_root.up_chato);
Symbol 861 MovieClip Frame 1
stop();
Symbol 861 MovieClip Frame 9
shot = 6;
Symbol 861 MovieClip Frame 60
shot = shot - 1;
if (shot != 0) {
gotoAndPlay (10);
}
Symbol 866 MovieClip Frame 1
stop();
Symbol 867 MovieClip Frame 1
if (xpts == undefined) {
xpts = _root.xp_pts;
}
stop();
onEnterFrame = function () {
a1 = _root.xp_pts - eval ("_root.stepxp_" + _root.xp);
a2 = eval ("_root.stepxp_" + (_root.xp + 1)) - eval ("_root.stepxp_" + _root.xp);
gotoAndStop(Math.round((a1 * 100) / a2) + 1);
if (_root.xp_pts > eval ("_root.stepxp_" + (_root.xp + 1))) {
_root.xp = _root.xp + 1;
boxxlvlupgrade.gotoAndPlay(2);
}
if (xpts != _root.xp_pts) {
xpts = _root.xp_pts;
snd.gotoAndPlay(2);
}
};
Symbol 871 Button
on (release) {
_root.cnt.perso.boxx.gotoAndPlay(16);
}
Symbol 872 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
if ((_root.act == -22) && (_root.cnt.perso.boxx._currentframe <= 15)) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 879 MovieClip Frame 1
if (cash == 0) {
cash = _root.cash;
}
stop();
onEnterFrame = function () {
if (cash < _root.cash) {
if ((_currentframe >= 5) || (_currentframe == 1)) {
cash = cash + 50;
gotoAndPlay (2);
}
}
};
Symbol 881 MovieClip Frame 1
aff = "Wave " + _root.lvl;
Symbol 882 MovieClip Frame 111
stop();
Instance of Symbol 853 MovieClip in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
boxx.nb = 1;
}
Instance of Symbol 853 MovieClip in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
boxx.nb = 2;
}
Symbol 885 MovieClip Frame 1
stopAllSounds();
Symbol 885 MovieClip Frame 3
stop();
Symbol 890 MovieClip Frame 1
stop();
Symbol 890 MovieClip Frame 3
stop();
Symbol 890 MovieClip Frame 5
stop();
Symbol 890 MovieClip Frame 7
stop();
Symbol 893 MovieClip Frame 1
stop();
Symbol 893 MovieClip Frame 3
stop();
Symbol 893 MovieClip Frame 5
stop();
Symbol 897 MovieClip Frame 1
stop();
Symbol 897 MovieClip Frame 50
gotoAndPlay(((random(3) + 1) * 2) + 50);
Symbol 897 MovieClip Frame 53
stop();
Symbol 897 MovieClip Frame 55
stop();
Symbol 897 MovieClip Frame 57
stop();
Symbol 897 MovieClip Frame 150
gotoAndPlay(((random(3) + 1) * 2) + 50);
Symbol 897 MovieClip Frame 153
stop();
Symbol 897 MovieClip Frame 155
stop();
Symbol 897 MovieClip Frame 157
stop();
Symbol 905 MovieClip Frame 1
stop();
Symbol 905 MovieClip Frame 51
stop();
Symbol 905 MovieClip Frame 100
gotoAndPlay(((random(4) + 1) * 2) + 100);
Symbol 905 MovieClip Frame 103
stop();
Symbol 905 MovieClip Frame 105
stop();
Symbol 905 MovieClip Frame 107
stop();
Symbol 905 MovieClip Frame 109
stop();
Symbol 905 MovieClip Frame 151
stop();
Symbol 905 MovieClip Frame 200
gotoAndPlay(((random(4) + 1) * 2) + 200);
Symbol 905 MovieClip Frame 203
stop();
Symbol 905 MovieClip Frame 205
stop();
Symbol 910 MovieClip Frame 1
stop();
Symbol 910 MovieClip Frame 3
stop();
Symbol 910 MovieClip Frame 5
stop();
Symbol 910 MovieClip Frame 7
stop();
Symbol 910 MovieClip Frame 9
stop();
Symbol 910 MovieClip Frame 11
stop();
Symbol 911 MovieClip Frame 1
stop();