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:"e42c317243eda621", res:"800x440"});
__com_mochibot__("eccbd77f", this, 10301, true);
lavr = 1;
function menuChoiceOne() {
getURL ("http://www.pyrozen.com", "_blank");
}
st_qual = 3;
st_volum = 100;
testing = 1;
stop();
_root.user = SharedObject.getLocal("user_RunNinjaRun3");
onEnterFrame = function () {
};
NewMenu = new ContextMenu();
NewMenu.hideBuiltInItems();
NewMenu.customItems.push(new ContextMenuItem("Pyrozen", menuChoiceOne));
this.menu = NewMenu;
Frame 3
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (4);
}
if (Key.isDown(32)) {
gotoAndPlay (4);
}
};
Frame 19
stop();
onEnterFrame = function () {
if (got2go == 2) {
got2go = 1;
gotoAndStop (20);
}
if (Key.isDown(32)) {
gotoAndStop (20);
}
};
Frame 20
muz_force = 0;
lvl2 = 1;
gold = 0;
hard_mode = 1;
jump = 1;
slide = 1;
style = 0;
sword = 0;
shield = 0;
smokebomb = 0;
piece_1 = 1;
piece_2 = 1;
piece_3 = 1;
piece_4 = 1;
piece_5 = 1;
piece_6 = 1;
piece_7 = 1;
piece_8 = 1;
piece_9 = 1;
piece_10 = 1;
piece_11 = 1;
piece_12 = 1;
piece_13 = 1;
piece_14 = 1;
piece_15 = 1;
piece_16 = 1;
piece_17 = 1;
piece_18 = 1;
piece_19 = 1;
piece_20 = 1;
scroll_1 = 1;
scroll_2 = 1;
scroll_3 = 1;
scroll_4 = 1;
scroll_5 = 1;
scroll_6 = 1;
scroll_7 = 1;
scroll_8 = 1;
scroll_9 = 1;
scroll_10 = 1;
scroll_11 = 1;
scroll_12 = 1;
scroll_13 = 1;
scroll_14 = 1;
scroll_15 = 1;
scroll_16 = 1;
scroll_17 = 1;
scroll_18 = 1;
scroll_19 = 1;
scroll_20 = 1;
gold_1_1 = 1;
gold_1_2 = 1;
gold_1_3 = 1;
gold_1_4 = 1;
gold_1_5 = 1;
gold_1_6 = 1;
gold_1_7 = 1;
gold_1_8 = 1;
gold_1_9 = 1;
gold_1_10 = 1;
gold_2_1 = 1;
gold_2_2 = 1;
gold_2_3 = 1;
gold_2_4 = 1;
gold_2_5 = 1;
gold_2_6 = 1;
gold_2_7 = 1;
gold_2_8 = 1;
gold_2_9 = 1;
gold_2_10 = 1;
gold_3_1 = 1;
gold_3_2 = 1;
gold_3_3 = 1;
gold_3_4 = 1;
gold_3_5 = 1;
gold_3_6 = 1;
gold_3_7 = 1;
gold_3_8 = 1;
gold_3_9 = 1;
gold_3_10 = 1;
gold_4_1 = 1;
gold_4_2 = 1;
gold_4_3 = 1;
gold_4_4 = 1;
gold_4_5 = 1;
gold_4_6 = 1;
gold_4_7 = 1;
gold_4_8 = 1;
gold_4_9 = 1;
gold_4_10 = 1;
gold_5_1 = 1;
gold_5_2 = 1;
gold_5_3 = 1;
gold_5_4 = 1;
gold_5_5 = 1;
gold_5_6 = 1;
gold_5_7 = 1;
gold_5_8 = 1;
gold_5_9 = 1;
gold_5_10 = 1;
gold_6_1 = 1;
gold_6_2 = 1;
gold_6_3 = 1;
gold_6_4 = 1;
gold_6_5 = 1;
gold_6_6 = 1;
gold_6_7 = 1;
gold_6_8 = 1;
gold_6_9 = 1;
gold_6_10 = 1;
gold_7_1 = 1;
gold_7_2 = 1;
gold_7_3 = 1;
gold_7_4 = 1;
gold_7_5 = 1;
gold_7_6 = 1;
gold_7_7 = 1;
gold_7_8 = 1;
gold_7_9 = 1;
gold_7_10 = 1;
gold_8_1 = 1;
gold_8_2 = 1;
gold_8_3 = 1;
gold_8_4 = 1;
gold_8_5 = 1;
gold_8_6 = 1;
gold_8_7 = 1;
gold_8_8 = 1;
gold_8_9 = 1;
gold_8_10 = 1;
gold_9_1 = 1;
gold_9_2 = 1;
gold_9_3 = 1;
gold_9_4 = 1;
gold_9_5 = 1;
gold_9_6 = 1;
gold_9_7 = 1;
gold_9_8 = 1;
gold_9_9 = 1;
gold_9_10 = 1;
gold_10_1 = 1;
gold_10_2 = 1;
gold_10_3 = 1;
gold_10_4 = 1;
gold_10_5 = 1;
gold_10_6 = 1;
gold_10_7 = 1;
gold_10_8 = 1;
gold_10_9 = 1;
gold_10_10 = 1;
gold_11_1 = 1;
gold_11_2 = 1;
gold_11_3 = 1;
gold_11_4 = 1;
gold_11_5 = 1;
gold_11_6 = 1;
gold_11_7 = 1;
gold_11_8 = 1;
gold_11_9 = 1;
gold_11_10 = 1;
gold_12_1 = 1;
gold_12_2 = 1;
gold_12_3 = 1;
gold_12_4 = 1;
gold_12_5 = 1;
gold_12_6 = 1;
gold_12_7 = 1;
gold_12_8 = 1;
gold_12_9 = 1;
gold_12_10 = 1;
gold_13_1 = 1;
gold_13_2 = 1;
gold_13_3 = 1;
gold_13_4 = 1;
gold_13_5 = 1;
gold_13_6 = 1;
gold_13_7 = 1;
gold_13_8 = 1;
gold_13_9 = 1;
gold_13_10 = 1;
gold_14_1 = 1;
gold_14_2 = 1;
gold_14_3 = 1;
gold_14_4 = 1;
gold_14_5 = 1;
gold_14_6 = 1;
gold_14_7 = 1;
gold_14_8 = 1;
gold_14_9 = 1;
gold_14_10 = 1;
gold_15_1 = 1;
gold_15_2 = 1;
gold_15_3 = 1;
gold_15_4 = 1;
gold_15_5 = 1;
gold_15_6 = 1;
gold_15_7 = 1;
gold_15_8 = 1;
gold_15_9 = 1;
gold_15_10 = 1;
gold_16_1 = 1;
gold_16_2 = 1;
gold_16_3 = 1;
gold_16_4 = 1;
gold_16_5 = 1;
gold_16_6 = 1;
gold_16_7 = 1;
gold_16_8 = 1;
gold_16_9 = 1;
gold_16_10 = 1;
gold_17_1 = 1;
gold_17_2 = 1;
gold_17_3 = 1;
gold_17_4 = 1;
gold_17_5 = 1;
gold_17_6 = 1;
gold_17_7 = 1;
gold_17_8 = 1;
gold_17_9 = 1;
gold_17_10 = 1;
gold_18_1 = 1;
gold_18_2 = 1;
gold_18_3 = 1;
gold_18_4 = 1;
gold_18_5 = 1;
gold_18_6 = 1;
gold_18_7 = 1;
gold_18_8 = 1;
gold_18_9 = 1;
gold_18_10 = 1;
gold_19_1 = 1;
gold_19_2 = 1;
gold_19_3 = 1;
gold_19_4 = 1;
gold_19_5 = 1;
gold_19_6 = 1;
gold_19_7 = 1;
gold_19_8 = 1;
gold_19_9 = 1;
gold_19_10 = 1;
gold_20_1 = 1;
gold_20_2 = 1;
gold_20_3 = 1;
gold_20_4 = 1;
gold_20_5 = 1;
gold_20_6 = 1;
gold_20_7 = 1;
gold_20_8 = 1;
gold_20_9 = 1;
gold_20_10 = 1;
stop();
onEnterFrame = function () {
if (got2go == 2) {
got2go = 1;
gotoAndStop (40);
}
if (got2go == 3) {
got2go = 1;
gotoAndStop (51);
}
if (got2go == 4) {
got2go = 1;
gotoAndStop (53);
}
};
if (testing == 2) {
}
Instance of Symbol 354 MovieClip "version_boxx" in Frame 20
onClipEvent (load) {
boxx.gotoAndStop(Math.round(_root.lavr));
boxx2.boxx.gotoAndStop(Math.round(_root.lavr));
if (_root.lavr != 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
boxx2.gotoAndStop(boxx.shade + 1);
}
Frame 21
timer = 100;
load_go = 2;
stop();
onEnterFrame = function () {
if (load_go == 2) {
load_go = 1;
_root.lvl2 = _root.user.data.lvl2;
_root.gold = _root.user.data.gold;
_root.hard_mode = _root.user.data.hard_mode;
_root.fb_connect = _root.user.data.fb_connect;
_root.jump = _root.user.data.jump;
_root.slide = _root.user.data.slide;
_root.style = _root.user.data.style;
_root.sword = _root.user.data.sword;
_root.shield = _root.user.data.shield;
_root.smokebomb = _root.user.data.smokebomb;
_root.piece_1 = _root.user.data.piece_1;
_root.piece_2 = _root.user.data.piece_2;
_root.piece_3 = _root.user.data.piece_3;
_root.piece_4 = _root.user.data.piece_4;
_root.piece_5 = _root.user.data.piece_5;
_root.piece_6 = _root.user.data.piece_6;
_root.piece_7 = _root.user.data.piece_7;
_root.piece_8 = _root.user.data.piece_8;
_root.piece_9 = _root.user.data.piece_9;
_root.piece_10 = _root.user.data.piece_10;
_root.piece_11 = _root.user.data.piece_11;
_root.piece_12 = _root.user.data.piece_12;
_root.piece_13 = _root.user.data.piece_13;
_root.piece_14 = _root.user.data.piece_14;
_root.piece_15 = _root.user.data.piece_15;
_root.scroll_1 = _root.user.data.scroll_1;
_root.scroll_2 = _root.user.data.scroll_2;
_root.scroll_3 = _root.user.data.scroll_3;
_root.scroll_4 = _root.user.data.scroll_4;
_root.scroll_5 = _root.user.data.scroll_5;
_root.scroll_6 = _root.user.data.scroll_6;
_root.scroll_7 = _root.user.data.scroll_7;
_root.scroll_8 = _root.user.data.scroll_8;
_root.scroll_9 = _root.user.data.scroll_9;
_root.scroll_10 = _root.user.data.scroll_10;
_root.scroll_11 = _root.user.data.scroll_11;
_root.scroll_12 = _root.user.data.scroll_12;
_root.scroll_13 = _root.user.data.scroll_13;
_root.scroll_14 = _root.user.data.scroll_14;
_root.scroll_15 = _root.user.data.scroll_15;
_root.gold_1_1 = _root.user.data.gold_1_1;
_root.gold_1_2 = _root.user.data.gold_1_2;
_root.gold_1_3 = _root.user.data.gold_1_3;
_root.gold_1_4 = _root.user.data.gold_1_4;
_root.gold_1_5 = _root.user.data.gold_1_5;
_root.gold_1_6 = _root.user.data.gold_1_6;
_root.gold_1_7 = _root.user.data.gold_1_7;
_root.gold_1_8 = _root.user.data.gold_1_8;
_root.gold_1_9 = _root.user.data.gold_1_9;
_root.gold_1_10 = _root.user.data.gold_1_10;
_root.gold_2_1 = _root.user.data.gold_2_1;
_root.gold_2_2 = _root.user.data.gold_2_2;
_root.gold_2_3 = _root.user.data.gold_2_3;
_root.gold_2_4 = _root.user.data.gold_2_4;
_root.gold_2_5 = _root.user.data.gold_2_5;
_root.gold_2_6 = _root.user.data.gold_2_6;
_root.gold_2_7 = _root.user.data.gold_2_7;
_root.gold_2_8 = _root.user.data.gold_2_8;
_root.gold_2_9 = _root.user.data.gold_2_9;
_root.gold_2_10 = _root.user.data.gold_2_10;
_root.gold_3_1 = _root.user.data.gold_3_1;
_root.gold_3_2 = _root.user.data.gold_3_2;
_root.gold_3_3 = _root.user.data.gold_3_3;
_root.gold_3_4 = _root.user.data.gold_3_4;
_root.gold_3_5 = _root.user.data.gold_3_5;
_root.gold_3_6 = _root.user.data.gold_3_6;
_root.gold_3_7 = _root.user.data.gold_3_7;
_root.gold_3_8 = _root.user.data.gold_3_8;
_root.gold_3_9 = _root.user.data.gold_3_9;
_root.gold_3_10 = _root.user.data.gold_3_10;
_root.gold_4_1 = _root.user.data.gold_4_1;
_root.gold_4_2 = _root.user.data.gold_4_2;
_root.gold_4_3 = _root.user.data.gold_4_3;
_root.gold_4_4 = _root.user.data.gold_4_4;
_root.gold_4_5 = _root.user.data.gold_4_5;
_root.gold_4_6 = _root.user.data.gold_4_6;
_root.gold_4_7 = _root.user.data.gold_4_7;
_root.gold_4_8 = _root.user.data.gold_4_8;
_root.gold_4_9 = _root.user.data.gold_4_9;
_root.gold_4_10 = _root.user.data.gold_4_10;
_root.gold_5_1 = _root.user.data.gold_5_1;
_root.gold_5_2 = _root.user.data.gold_5_2;
_root.gold_5_3 = _root.user.data.gold_5_3;
_root.gold_5_4 = _root.user.data.gold_5_4;
_root.gold_5_5 = _root.user.data.gold_5_5;
_root.gold_5_6 = _root.user.data.gold_5_6;
_root.gold_5_7 = _root.user.data.gold_5_7;
_root.gold_5_8 = _root.user.data.gold_5_8;
_root.gold_5_9 = _root.user.data.gold_5_9;
_root.gold_5_10 = _root.user.data.gold_5_10;
_root.gold_6_1 = _root.user.data.gold_6_1;
_root.gold_6_2 = _root.user.data.gold_6_2;
_root.gold_6_3 = _root.user.data.gold_6_3;
_root.gold_6_4 = _root.user.data.gold_6_4;
_root.gold_6_5 = _root.user.data.gold_6_5;
_root.gold_6_6 = _root.user.data.gold_6_6;
_root.gold_6_7 = _root.user.data.gold_6_7;
_root.gold_6_8 = _root.user.data.gold_6_8;
_root.gold_6_9 = _root.user.data.gold_6_9;
_root.gold_6_10 = _root.user.data.gold_6_10;
_root.gold_7_1 = _root.user.data.gold_7_1;
_root.gold_7_2 = _root.user.data.gold_7_2;
_root.gold_7_3 = _root.user.data.gold_7_3;
_root.gold_7_4 = _root.user.data.gold_7_4;
_root.gold_7_5 = _root.user.data.gold_7_5;
_root.gold_7_6 = _root.user.data.gold_7_6;
_root.gold_7_7 = _root.user.data.gold_7_7;
_root.gold_7_8 = _root.user.data.gold_7_8;
_root.gold_7_9 = _root.user.data.gold_7_9;
_root.gold_7_10 = _root.user.data.gold_7_10;
_root.gold_8_1 = _root.user.data.gold_8_1;
_root.gold_8_2 = _root.user.data.gold_8_2;
_root.gold_8_3 = _root.user.data.gold_8_3;
_root.gold_8_4 = _root.user.data.gold_8_4;
_root.gold_8_5 = _root.user.data.gold_8_5;
_root.gold_8_6 = _root.user.data.gold_8_6;
_root.gold_8_7 = _root.user.data.gold_8_7;
_root.gold_8_8 = _root.user.data.gold_8_8;
_root.gold_8_9 = _root.user.data.gold_8_9;
_root.gold_8_10 = _root.user.data.gold_8_10;
_root.gold_9_1 = _root.user.data.gold_9_1;
_root.gold_9_2 = _root.user.data.gold_9_2;
_root.gold_9_3 = _root.user.data.gold_9_3;
_root.gold_9_4 = _root.user.data.gold_9_4;
_root.gold_9_5 = _root.user.data.gold_9_5;
_root.gold_9_6 = _root.user.data.gold_9_6;
_root.gold_9_7 = _root.user.data.gold_9_7;
_root.gold_9_8 = _root.user.data.gold_9_8;
_root.gold_9_9 = _root.user.data.gold_9_9;
_root.gold_9_10 = _root.user.data.gold_9_10;
_root.gold_10_1 = _root.user.data.gold_10_1;
_root.gold_10_2 = _root.user.data.gold_10_2;
_root.gold_10_3 = _root.user.data.gold_10_3;
_root.gold_10_4 = _root.user.data.gold_10_4;
_root.gold_10_5 = _root.user.data.gold_10_5;
_root.gold_10_6 = _root.user.data.gold_10_6;
_root.gold_10_7 = _root.user.data.gold_10_7;
_root.gold_10_8 = _root.user.data.gold_10_8;
_root.gold_10_9 = _root.user.data.gold_10_9;
_root.gold_10_10 = _root.user.data.gold_10_10;
_root.gold_11_1 = _root.user.data.gold_11_1;
_root.gold_11_2 = _root.user.data.gold_11_2;
_root.gold_11_3 = _root.user.data.gold_11_3;
_root.gold_11_4 = _root.user.data.gold_11_4;
_root.gold_11_5 = _root.user.data.gold_11_5;
_root.gold_11_6 = _root.user.data.gold_11_6;
_root.gold_11_7 = _root.user.data.gold_11_7;
_root.gold_11_8 = _root.user.data.gold_11_8;
_root.gold_11_9 = _root.user.data.gold_11_9;
_root.gold_11_10 = _root.user.data.gold_11_10;
_root.gold_12_1 = _root.user.data.gold_12_1;
_root.gold_12_2 = _root.user.data.gold_12_2;
_root.gold_12_3 = _root.user.data.gold_12_3;
_root.gold_12_4 = _root.user.data.gold_12_4;
_root.gold_12_5 = _root.user.data.gold_12_5;
_root.gold_12_6 = _root.user.data.gold_12_6;
_root.gold_12_7 = _root.user.data.gold_12_7;
_root.gold_12_8 = _root.user.data.gold_12_8;
_root.gold_12_9 = _root.user.data.gold_12_9;
_root.gold_12_10 = _root.user.data.gold_12_10;
_root.gold_13_1 = _root.user.data.gold_13_1;
_root.gold_13_2 = _root.user.data.gold_13_2;
_root.gold_13_3 = _root.user.data.gold_13_3;
_root.gold_13_4 = _root.user.data.gold_13_4;
_root.gold_13_5 = _root.user.data.gold_13_5;
_root.gold_13_6 = _root.user.data.gold_13_6;
_root.gold_13_7 = _root.user.data.gold_13_7;
_root.gold_13_8 = _root.user.data.gold_13_8;
_root.gold_13_9 = _root.user.data.gold_13_9;
_root.gold_13_10 = _root.user.data.gold_13_10;
_root.gold_14_1 = _root.user.data.gold_14_1;
_root.gold_14_2 = _root.user.data.gold_14_2;
_root.gold_14_3 = _root.user.data.gold_14_3;
_root.gold_14_4 = _root.user.data.gold_14_4;
_root.gold_14_5 = _root.user.data.gold_14_5;
_root.gold_14_6 = _root.user.data.gold_14_6;
_root.gold_14_7 = _root.user.data.gold_14_7;
_root.gold_14_8 = _root.user.data.gold_14_8;
_root.gold_14_9 = _root.user.data.gold_14_9;
_root.gold_14_10 = _root.user.data.gold_14_10;
_root.gold_15_1 = _root.user.data.gold_15_1;
_root.gold_15_2 = _root.user.data.gold_15_2;
_root.gold_15_3 = _root.user.data.gold_15_3;
_root.gold_15_4 = _root.user.data.gold_15_4;
_root.gold_15_5 = _root.user.data.gold_15_5;
_root.gold_15_6 = _root.user.data.gold_15_6;
_root.gold_15_7 = _root.user.data.gold_15_7;
_root.gold_15_8 = _root.user.data.gold_15_8;
_root.gold_15_9 = _root.user.data.gold_15_9;
_root.gold_15_10 = _root.user.data.gold_15_10;
}
if (timer > 0) {
timer = timer - 1;
} else {
stopAllSounds();
gotoAndStop (50);
}
};
Frame 40
_root.save_go = 2;
hard_mode = 2;
_root.from_endgame = 2;
stop();
onEnterFrame = function () {
if (got2go == 2) {
got2go = 1;
stopAllSounds();
gotoAndStop (50);
}
};
Frame 50
timer = 10;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
gotoAndStop (51);
}
};
Frame 51
if (lvl2 == 1) {
if (neverreloadanimintro != 2) {
neverreloadanimintro = 2;
lvl = 2;
got2go = 2.2;
}
}
if (lvl == undefined) {
lvl = 1;
jump = 2;
}
act = 2;
pausedd = 1;
slowmotion = 1;
cnt.gotoAndStop(lvl);
cnt._x = (-cnt.pt_start._x) + 400;
cnt._y = ((-cnt.pt_start._y) + 220) + 800;
cnt.ninja._x = cnt.pt_start._x - 800;
cnt.ninja._y = cnt.pt_start._y;
cnt.w_hitt._alpha = 0;
zoomed = 1;
zoom = 1;
gold_collect = 0;
piece_collected = 1;
gold_collect_1 = 1;
gold_collect_2 = 1;
gold_collect_3 = 1;
gold_collect_4 = 1;
gold_collect_5 = 1;
gold_collect_6 = 1;
gold_collect_7 = 1;
gold_collect_8 = 1;
gold_collect_9 = 1;
gold_collect_10 = 1;
camera_frame_width = 800;
camera_frame_height = 440;
rockpt_nb = 1;
lightpt_nb = 1;
shuriken_nb = 1;
if ((lvl >= 1) && (lvl <= 3)) {
zone = 1;
}
if ((lvl >= 4) && (lvl <= 6)) {
zone = 2;
}
if ((lvl >= 7) && (lvl <= 9)) {
zone = 3;
}
if ((lvl >= 10) && (lvl <= 12)) {
zone = 4;
}
if (lvl == 13) {
zone = 5;
}
if ((lvl >= 14) && (lvl <= 15)) {
zone = 6;
}
save_go = 1;
if ((from_load == 2) || (from_endgame == 2)) {
from_endgame = 1;
from_load = 1;
act = 0;
got2go = 1;
interr.menuu.gotoAndStop(6);
}
dificulty = 1;
if (from_hardmode_go == 2) {
from_hardmode_go = 3;
dificulty = 2;
}
stop();
onEnterFrame = function () {
if ((dificulty == 2) && (_root.interr.tuto._currentframe != 10)) {
slowmotion = 1;
}
if (_root.cheat_2 == 2) {
slowmotion = 1.65;
}
if (_root.cheat_3 == 2) {
slowmotion = 0.4;
}
if (_root.act == 1) {
if (((tuto_shield != 2) && (_root.shield != 0)) && (_root.interr.tuto._currentframe == 1)) {
tuto_shield = 2;
_root.interr.tuto.gotoAndStop(6);
}
if (((tuto_smokebomb != 2) && (_root.smokebomb != 0)) && (_root.interr.tuto._currentframe == 1)) {
tuto_smokebomb = 2;
_root.interr.tuto.gotoAndStop(7);
}
if (((tuto_difhardmode != 2) && (_root.dificulty != 1)) && (_root.interr.tuto._currentframe == 1)) {
tuto_difhardmode = 2;
_root.interr.tuto.gotoAndStop(10);
}
}
if (((slowmotion != 1) || (act == 2)) || (act == 4)) {
sxmuz = 45;
} else {
sxmuz = 100;
}
speedxmuz = (sxmuz - muz_force) * 0.075;
if ((muz_force < (sxmuz - 0.5)) || (muz_force > (sxmuz + 0.5))) {
muz_force = muz_force + speedxmuz;
}
_root.muz.muzsound.setVolume(muz_force);
if (testing == 2) {
if (Key.isDown(32)) {
if (keyreleased_32 == 2) {
keyreleased_32 = 1;
muz_force = 100;
}
} else {
keyreleased_32 = 2;
}
if (Key.isDown(88)) {
if (keyreleased_88 == 2) {
keyreleased_88 = 1;
zoomed = zoomed + 0.1;
}
} else {
keyreleased_88 = 2;
}
if (Key.isDown(90)) {
if (keyreleased_90 == 2) {
keyreleased_90 = 1;
zoomed = zoomed - 0.1;
}
} else {
keyreleased_90 = 2;
}
if (Key.isDown(49)) {
if (keyreleased_49 == 2) {
keyreleased_49 = 1;
_root.lvl = _root.lvl - 1;
got2go = 3;
}
} else {
keyreleased_49 = 2;
}
if (Key.isDown(50)) {
if (keyreleased_50 == 2) {
keyreleased_50 = 1;
_root.lvl = _root.lvl + 1;
got2go = 3;
}
} else {
keyreleased_50 = 2;
}
}
if (save_go == 2) {
save_go = 1;
_root.user.data.lvl2 = _root.lvl2;
_root.user.data.gold = _root.gold;
_root.user.data.hard_mode = _root.hard_mode;
_root.user.data.fb_connect = _root.fb_connect;
_root.user.data.jump = _root.jump;
_root.user.data.slide = _root.slide;
_root.user.data.style = _root.style;
_root.user.data.sword = _root.sword;
_root.user.data.shield = _root.shield;
_root.user.data.smokebomb = _root.smokebomb;
_root.user.data.piece_1 = _root.piece_1;
_root.user.data.piece_2 = _root.piece_2;
_root.user.data.piece_3 = _root.piece_3;
_root.user.data.piece_4 = _root.piece_4;
_root.user.data.piece_5 = _root.piece_5;
_root.user.data.piece_6 = _root.piece_6;
_root.user.data.piece_7 = _root.piece_7;
_root.user.data.piece_8 = _root.piece_8;
_root.user.data.piece_9 = _root.piece_9;
_root.user.data.piece_10 = _root.piece_10;
_root.user.data.piece_11 = _root.piece_11;
_root.user.data.piece_12 = _root.piece_12;
_root.user.data.piece_13 = _root.piece_13;
_root.user.data.piece_14 = _root.piece_14;
_root.user.data.piece_15 = _root.piece_15;
_root.user.data.scroll_1 = _root.scroll_1;
_root.user.data.scroll_2 = _root.scroll_2;
_root.user.data.scroll_3 = _root.scroll_3;
_root.user.data.scroll_4 = _root.scroll_4;
_root.user.data.scroll_5 = _root.scroll_5;
_root.user.data.scroll_6 = _root.scroll_6;
_root.user.data.scroll_7 = _root.scroll_7;
_root.user.data.scroll_8 = _root.scroll_8;
_root.user.data.scroll_9 = _root.scroll_9;
_root.user.data.scroll_10 = _root.scroll_10;
_root.user.data.scroll_11 = _root.scroll_11;
_root.user.data.scroll_12 = _root.scroll_12;
_root.user.data.scroll_13 = _root.scroll_13;
_root.user.data.scroll_14 = _root.scroll_14;
_root.user.data.scroll_15 = _root.scroll_15;
_root.user.data.gold_1_1 = _root.gold_1_1;
_root.user.data.gold_1_2 = _root.gold_1_2;
_root.user.data.gold_1_3 = _root.gold_1_3;
_root.user.data.gold_1_4 = _root.gold_1_4;
_root.user.data.gold_1_5 = _root.gold_1_5;
_root.user.data.gold_1_6 = _root.gold_1_6;
_root.user.data.gold_1_7 = _root.gold_1_7;
_root.user.data.gold_1_8 = _root.gold_1_8;
_root.user.data.gold_1_9 = _root.gold_1_9;
_root.user.data.gold_1_10 = _root.gold_1_10;
_root.user.data.gold_2_1 = _root.gold_2_1;
_root.user.data.gold_2_2 = _root.gold_2_2;
_root.user.data.gold_2_3 = _root.gold_2_3;
_root.user.data.gold_2_4 = _root.gold_2_4;
_root.user.data.gold_2_5 = _root.gold_2_5;
_root.user.data.gold_2_6 = _root.gold_2_6;
_root.user.data.gold_2_7 = _root.gold_2_7;
_root.user.data.gold_2_8 = _root.gold_2_8;
_root.user.data.gold_2_9 = _root.gold_2_9;
_root.user.data.gold_2_10 = _root.gold_2_10;
_root.user.data.gold_3_1 = _root.gold_3_1;
_root.user.data.gold_3_2 = _root.gold_3_2;
_root.user.data.gold_3_3 = _root.gold_3_3;
_root.user.data.gold_3_4 = _root.gold_3_4;
_root.user.data.gold_3_5 = _root.gold_3_5;
_root.user.data.gold_3_6 = _root.gold_3_6;
_root.user.data.gold_3_7 = _root.gold_3_7;
_root.user.data.gold_3_8 = _root.gold_3_8;
_root.user.data.gold_3_9 = _root.gold_3_9;
_root.user.data.gold_3_10 = _root.gold_3_10;
_root.user.data.gold_4_1 = _root.gold_4_1;
_root.user.data.gold_4_2 = _root.gold_4_2;
_root.user.data.gold_4_3 = _root.gold_4_3;
_root.user.data.gold_4_4 = _root.gold_4_4;
_root.user.data.gold_4_5 = _root.gold_4_5;
_root.user.data.gold_4_6 = _root.gold_4_6;
_root.user.data.gold_4_7 = _root.gold_4_7;
_root.user.data.gold_4_8 = _root.gold_4_8;
_root.user.data.gold_4_9 = _root.gold_4_9;
_root.user.data.gold_4_10 = _root.gold_4_10;
_root.user.data.gold_5_1 = _root.gold_5_1;
_root.user.data.gold_5_2 = _root.gold_5_2;
_root.user.data.gold_5_3 = _root.gold_5_3;
_root.user.data.gold_5_4 = _root.gold_5_4;
_root.user.data.gold_5_5 = _root.gold_5_5;
_root.user.data.gold_5_6 = _root.gold_5_6;
_root.user.data.gold_5_7 = _root.gold_5_7;
_root.user.data.gold_5_8 = _root.gold_5_8;
_root.user.data.gold_5_9 = _root.gold_5_9;
_root.user.data.gold_5_10 = _root.gold_5_10;
_root.user.data.gold_6_1 = _root.gold_6_1;
_root.user.data.gold_6_2 = _root.gold_6_2;
_root.user.data.gold_6_3 = _root.gold_6_3;
_root.user.data.gold_6_4 = _root.gold_6_4;
_root.user.data.gold_6_5 = _root.gold_6_5;
_root.user.data.gold_6_6 = _root.gold_6_6;
_root.user.data.gold_6_7 = _root.gold_6_7;
_root.user.data.gold_6_8 = _root.gold_6_8;
_root.user.data.gold_6_9 = _root.gold_6_9;
_root.user.data.gold_6_10 = _root.gold_6_10;
_root.user.data.gold_7_1 = _root.gold_7_1;
_root.user.data.gold_7_2 = _root.gold_7_2;
_root.user.data.gold_7_3 = _root.gold_7_3;
_root.user.data.gold_7_4 = _root.gold_7_4;
_root.user.data.gold_7_5 = _root.gold_7_5;
_root.user.data.gold_7_6 = _root.gold_7_6;
_root.user.data.gold_7_7 = _root.gold_7_7;
_root.user.data.gold_7_8 = _root.gold_7_8;
_root.user.data.gold_7_9 = _root.gold_7_9;
_root.user.data.gold_7_10 = _root.gold_7_10;
_root.user.data.gold_8_1 = _root.gold_8_1;
_root.user.data.gold_8_2 = _root.gold_8_2;
_root.user.data.gold_8_3 = _root.gold_8_3;
_root.user.data.gold_8_4 = _root.gold_8_4;
_root.user.data.gold_8_5 = _root.gold_8_5;
_root.user.data.gold_8_6 = _root.gold_8_6;
_root.user.data.gold_8_7 = _root.gold_8_7;
_root.user.data.gold_8_8 = _root.gold_8_8;
_root.user.data.gold_8_9 = _root.gold_8_9;
_root.user.data.gold_8_10 = _root.gold_8_10;
_root.user.data.gold_9_1 = _root.gold_9_1;
_root.user.data.gold_9_2 = _root.gold_9_2;
_root.user.data.gold_9_3 = _root.gold_9_3;
_root.user.data.gold_9_4 = _root.gold_9_4;
_root.user.data.gold_9_5 = _root.gold_9_5;
_root.user.data.gold_9_6 = _root.gold_9_6;
_root.user.data.gold_9_7 = _root.gold_9_7;
_root.user.data.gold_9_8 = _root.gold_9_8;
_root.user.data.gold_9_9 = _root.gold_9_9;
_root.user.data.gold_9_10 = _root.gold_9_10;
_root.user.data.gold_10_1 = _root.gold_10_1;
_root.user.data.gold_10_2 = _root.gold_10_2;
_root.user.data.gold_10_3 = _root.gold_10_3;
_root.user.data.gold_10_4 = _root.gold_10_4;
_root.user.data.gold_10_5 = _root.gold_10_5;
_root.user.data.gold_10_6 = _root.gold_10_6;
_root.user.data.gold_10_7 = _root.gold_10_7;
_root.user.data.gold_10_8 = _root.gold_10_8;
_root.user.data.gold_10_9 = _root.gold_10_9;
_root.user.data.gold_10_10 = _root.gold_10_10;
_root.user.data.gold_11_1 = _root.gold_11_1;
_root.user.data.gold_11_2 = _root.gold_11_2;
_root.user.data.gold_11_3 = _root.gold_11_3;
_root.user.data.gold_11_4 = _root.gold_11_4;
_root.user.data.gold_11_5 = _root.gold_11_5;
_root.user.data.gold_11_6 = _root.gold_11_6;
_root.user.data.gold_11_7 = _root.gold_11_7;
_root.user.data.gold_11_8 = _root.gold_11_8;
_root.user.data.gold_11_9 = _root.gold_11_9;
_root.user.data.gold_11_10 = _root.gold_11_10;
_root.user.data.gold_12_1 = _root.gold_12_1;
_root.user.data.gold_12_2 = _root.gold_12_2;
_root.user.data.gold_12_3 = _root.gold_12_3;
_root.user.data.gold_12_4 = _root.gold_12_4;
_root.user.data.gold_12_5 = _root.gold_12_5;
_root.user.data.gold_12_6 = _root.gold_12_6;
_root.user.data.gold_12_7 = _root.gold_12_7;
_root.user.data.gold_12_8 = _root.gold_12_8;
_root.user.data.gold_12_9 = _root.gold_12_9;
_root.user.data.gold_12_10 = _root.gold_12_10;
_root.user.data.gold_13_1 = _root.gold_13_1;
_root.user.data.gold_13_2 = _root.gold_13_2;
_root.user.data.gold_13_3 = _root.gold_13_3;
_root.user.data.gold_13_4 = _root.gold_13_4;
_root.user.data.gold_13_5 = _root.gold_13_5;
_root.user.data.gold_13_6 = _root.gold_13_6;
_root.user.data.gold_13_7 = _root.gold_13_7;
_root.user.data.gold_13_8 = _root.gold_13_8;
_root.user.data.gold_13_9 = _root.gold_13_9;
_root.user.data.gold_13_10 = _root.gold_13_10;
_root.user.data.gold_14_1 = _root.gold_14_1;
_root.user.data.gold_14_2 = _root.gold_14_2;
_root.user.data.gold_14_3 = _root.gold_14_3;
_root.user.data.gold_14_4 = _root.gold_14_4;
_root.user.data.gold_14_5 = _root.gold_14_5;
_root.user.data.gold_14_6 = _root.gold_14_6;
_root.user.data.gold_14_7 = _root.gold_14_7;
_root.user.data.gold_14_8 = _root.gold_14_8;
_root.user.data.gold_14_9 = _root.gold_14_9;
_root.user.data.gold_14_10 = _root.gold_14_10;
_root.user.data.gold_15_1 = _root.gold_15_1;
_root.user.data.gold_15_2 = _root.gold_15_2;
_root.user.data.gold_15_3 = _root.gold_15_3;
_root.user.data.gold_15_4 = _root.gold_15_4;
_root.user.data.gold_15_5 = _root.gold_15_5;
_root.user.data.gold_15_6 = _root.gold_15_6;
_root.user.data.gold_15_7 = _root.gold_15_7;
_root.user.data.gold_15_8 = _root.gold_15_8;
_root.user.data.gold_15_9 = _root.gold_15_9;
_root.user.data.gold_15_10 = _root.gold_15_10;
_root.user.data.user.flush();
}
if (act == 1) {
camera_speed = 0.2;
camera_who = "ninja";
camera_adjustx = -300;
camera_adjusty = 75;
}
if (act == 2) {
camera_speed = 0.035;
camera_who = "pt_start";
camera_adjustx = 0;
camera_adjusty = 0;
}
if (act == 3) {
camera_speed = 0.01;
camera_who = "pt_end";
}
if (act == 4) {
camera_speed = 0.05;
camera_who = "ninja";
if (interr.menuu._currentframe <= 2) {
camera_adjustx = 0;
} else {
camera_adjustx = -200;
}
camera_adjusty = 150;
}
if (act == 5) {
}
if (_root.pausedd == 1) {
sx = ((((-eval (("cnt." + camera_who) + "._x")) + camera_adjustx) * zoom) / 1) + 400;
sy = ((((-eval (("cnt." + camera_who) + "._y")) + camera_adjusty) * zoom) / 1) + 220;
speedx = (sx - cnt._x) * camera_speed;
speedy = (sy - cnt._y) * camera_speed;
if ((cnt._x < (sx - 0.5)) || (cnt._x > (sx + 0.5))) {
cnt._x = cnt._x + speedx;
}
if ((cnt._y < (sy - 0.5)) || (cnt._y > (sy + 0.5))) {
cnt._y = cnt._y + speedy;
}
}
szoom = zoomed;
speedzoom = (szoom - zoom) * 0.02;
if ((zoom < (szoom - 0.02)) || (zoom > (szoom + 0.02))) {
zoom = zoom + speedzoom;
}
cnt._xscale = (zoom * 100) / 1;
cnt._yscale = cnt._xscale;
if (shake > 0) {
shake = shake - 1;
cnt._x = cnt._x + (((random(shake) - (shake / 2)) * zoom) / 1);
cnt._y = cnt._y + (((random(shake) - (shake / 2)) * zoom) / 1);
}
if (st_qual == 1) {
_quality = "low";
}
if (st_qual == 2) {
_quality = "medium";
}
if (st_qual == 3) {
_quality = "high";
}
mySound = new Sound();
mySound.setVolume(_root.st_volum);
mySound.start(0, 1000);
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (52);
}
if (_root.got2go == 2.2) {
_root.got2go = 1;
lvl = 1;
gotoAndPlay (52);
}
if (_root.got2go == 3) {
_root.got2go = 1;
gotoAndPlay (52);
}
if (_root.got2go == 4) {
_root.got2go = 1;
gotoAndPlay (40);
}
};
Instance of Symbol 490 MovieClip "fond2" in Frame 51
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 490 MovieClip "fond2" in Frame 51
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 354 MovieClip "version_boxx" in Frame 51
onClipEvent (load) {
boxx.gotoAndStop(Math.round(_root.lavr));
boxx2.boxx.gotoAndStop(Math.round(_root.lavr));
if (_root.lavr != 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
boxx2.gotoAndStop(boxx.shade + 1);
}
Frame 52
timer = 10;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
gotoAndStop (51);
}
};
Frame 54
Symbol 6 MovieClip Frame 1
_root.stop();
_root.PercentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (_root.PercentLoaded != 100) {
setProperty(bar, _xscale , _root.PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 6 MovieClip Frame 2
gotoAndPlay (1);
Symbol 6 MovieClip Frame 3
_root.play();
Symbol 15 MovieClip Frame 1
onEnterFrame = function () {
gotoAndStop(_root.PercentLoaded + 1);
};
Symbol 22 MovieClip Frame 1
gotoAndStop (2);
Symbol 24 Button
on (release) {
act = 2;
if (dalink != undefined) {
getURL (dalink, "_blank");
}
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (16);
}
Symbol 25 MovieClip Frame 1
stop();
Symbol 25 MovieClip Frame 15
stop();
Symbol 25 MovieClip Frame 30
gotoAndStop (1);
Instance of Symbol 25 MovieClip in Symbol 26 MovieClip Frame 1
onClipEvent (load) {
aff = "play";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent._parent._parent.play();
}
}
Symbol 27 MovieClip Frame 150
stop();
Symbol 47 MovieClip Frame 37
stop();
Symbol 48 MovieClip Frame 1
gotoAndPlay (2);
Symbol 1856 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 1857 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 1858 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("4.0 as2");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local6 = "_mochiservices_com_" + id;
var _local5 = new MovieClipLoader();
var _local3 = {};
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
onError("NotConnected");
return(null);
}
if (urlOptions().servURL) {
_servURL = urlOptions().servURL;
}
var _local4 = _servURL + _services;
if (urlOptions().servicesURL) {
_local4 = urlOptions().servicesURL;
}
allowDomains(_local4);
_clip = clip.createEmptyMovieClip(_local6, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
if (_local3.waitInterval != null) {
clearInterval(_local3.waitInterval);
}
_local3.onLoadError = loadError;
_local3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_local3.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
_local3.startTime = getTimer();
_local3.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError("IOError");
}
clearInterval(this.waitInterval);
}
};
_local3.waitInterval = setInterval(_local3, "wait", 1000);
_local5.addListener(_local3);
_local5.loadClip((((((_local4 + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options)) + "&api_version=") + getVersion(), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function loadError(target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
disconnect();
onError(errorCode);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case "services" :
mochi.as2.MochiServices.triggerEvent(pkg.event, pkg.args);
break;
case "events" :
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case "coins" :
mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args);
break;
case "social" :
mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args);
}
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError("IOError");
};
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError("NotConnected");
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError("NotConnected");
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
trace("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + methodName);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
var _local6;
if (_root._url.indexOf("mochiad_options") != -1) {
var _local2 = (_root._url.indexOf("mochiad_options") + "mochiad_options".length) + 1;
_local6 = _root._url.substr(_local2, _root._url.length);
} else if (_root.mochiad_options) {
_local6 = _root.mochiad_options;
}
if (_local6) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://link.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static function setContainer(clip) {
}
static function stayOnTop(clip) {
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static var CONNECTED = "onConnected";
static var _servURL = "http://www.mochiads.com/static/lib/services/";
static var _services = "services.swf";
static var _mochiLC = "MochiLC.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 1859 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 1860 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 1861 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 62 MovieClip Frame 1
speedx = random(20) - 10;
speedy = random(20) - 10;
speedr = random(20) - 10;
_rotation = (random(360) + 1);
_xscale = (random(80) + 20);
_yscale = ((_xscale * 0.75) + random(_xscale * 0.5));
aa = random(2) + 1;
if (aa == 1) {
_xscale = (_xscale * -1);
}
_xscale = (_xscale * 0.45);
_yscale = (_yscale * 0.45);
limitsoly = random(40) - 20;
stop();
onEnterFrame = function () {
_x = (_x + speedx);
if ((_y + _parent._y) < (70 + limitsoly)) {
_y = (_y + speedy);
}
_rotation = (_rotation + speedr);
speedx = speedx * 0.92;
if (speedy < -0.5) {
speedy = speedy * 0.92;
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * 1.1;
}
if (speedy > 15) {
speedy = 15;
}
speedr = speedr * 0.95;
};
Symbol 68 MovieClip Frame 30
stop();
Symbol 72 MovieClip Frame 1
gotoAndStop(random(3) + 1);
Symbol 73 MovieClip Frame 100
gotoAndPlay (2);
Symbol 74 MovieClip Frame 1
speedx = random(20) - 10;
speedy = random(20) - 10;
speedr = random(40) - 20;
limity = random(3) + 3;
_x = (random(200) - 100);
_y = (random(200) - 100);
f.gotoAndPlay(random(100) + 1);
_rotation = (random(360) + 1);
_xscale = (random(25) + 25);
_yscale = _xscale;
limitsoly = random(100) - 50;
stop();
onEnterFrame = function () {
_x = (_x + speedx);
if ((_y + _parent._y) < (360 + limitsoly)) {
_y = (_y + speedy);
} else {
speedy = 0;
speedr = 0;
f.stop();
}
_rotation = (_rotation + speedr);
speedx = speedx * 0.9;
if (speedy < -0.5) {
speedy = speedy * 0.9;
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * 1.1;
}
if (speedy > limity) {
speedy = limity;
}
if (f._currentframe == 1) {
f.gotoAndPlay(((random(2) + 1) * 50) - 24);
}
sr = 0;
speedr = (sr - _rotation) * 0.05;
if ((_rotation < (sr - 0.5)) || (_rotation > (sr + 0.5))) {
_rotation = (_rotation + speedr);
}
};
Symbol 83 MovieClip Frame 32
stop();
Symbol 98 MovieClip Frame 1
timer = 0;
boxx.gotoAndPlay(random(18) + 1);
boxx.boxx.gotoAndPlay(random(25) + 1);
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
boxx.boxx.boxx.gotoAndStop(random(7) + 1);
timer = random(7) + 3;
}
};
Symbol 101 MovieClip Frame 1
_visible = false;
stop();
Symbol 101 MovieClip Frame 2
_visible = true;
Symbol 106 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 1
_y = (random(800) + 1);
_xscale = (random(80) + 20);
_yscale = (random(50) + 50);
speedy = random(3);
_alpha = (random(100) + 1);
_x = (random(100) - 50);
stop();
onEnterFrame = function () {
_y = (_y + speedy);
if (speedy < 15) {
speedy = speedy * 1.1;
}
if (speedy < 1) {
speedy = 1;
}
if (_y > 440) {
if (_alpha > 0) {
_alpha = (_alpha - 5);
} else {
_x = (random(100) - 50);
_alpha = (random(50) + 50);
_y = 0;
_xscale = (random(80) + 20);
_yscale = (random(50) + 50);
speedy = random(3);
}
}
};
Symbol 110 MovieClip Frame 1
stop();
Symbol 112 Button
on (release) {
getURL ("http://www.pyrozen.com/", "_blank");
}
Symbol 114 MovieClip Frame 1
gotoAndStop (2);
Symbol 132 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 8
stop();
Symbol 135 MovieClip Frame 1
stop();
onEnterFrame = function () {
_x = (random(50) - 25);
_y = (random(50) - 25);
_alpha = (random(20) + 25);
};
Symbol 141 MovieClip Frame 1
_parent.stop();
stopAllSounds();
onEnterFrame = function () {
if (Key.isDown(32)) {
if (keyreleased_32 == 2) {
keyreleased_32 = 1;
_parent.play();
}
} else {
keyreleased_32 = 2;
}
};
Symbol 141 MovieClip Frame 102
boxx.boxx.tree.gotoAndStop(2);
Symbol 141 MovieClip Frame 152
boxx.boxx.tree.gotoAndStop(3);
boxx.gotoAndStop(2);
Symbol 141 MovieClip Frame 179
boxx.boxx.tree.gotoAndStop(4);
Symbol 141 MovieClip Frame 197
boxx.boxx.tree.gotoAndStop(5);
Symbol 141 MovieClip Frame 250
logoo.play();
Symbol 141 MovieClip Frame 256
boxx.boxx.tree.gotoAndStop(6);
boxx.boxx.gotoAndStop(2);
Symbol 141 MovieClip Frame 546
_parent.play();
Symbol 153 MovieClip Frame 1
stop();
Instance of Symbol 25 MovieClip in Symbol 153 MovieClip Frame 1
onClipEvent (load) {
aff = "play";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(2);
}
}
Instance of Symbol 25 MovieClip in Symbol 153 MovieClip Frame 1
onClipEvent (load) {
aff = "more games";
dalink = "http://www.gamesfree.ca/";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
}
}
Instance of Symbol 25 MovieClip in Symbol 153 MovieClip Frame 2
onClipEvent (load) {
aff = "new game";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
stopAllSounds();
_root.got2go = 3;
}
}
Instance of Symbol 25 MovieClip in Symbol 153 MovieClip Frame 2
onClipEvent (load) {
aff = "load game";
if (_root.user.data.lvl2 == undefined) {
gotoAndStop (31);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.from_load = 2;
_parent._parent.gotoAndStop(21);
}
}
Symbol 156 MovieClip Frame 1
stopAllSounds();
Symbol 156 MovieClip Frame 3
stop();
Symbol 264 MovieClip Frame 1
function actionf() {
navigateToURL(new URLRequest(("http://www.4v4.com/?utm_medium=brandedgames_external&utm_campaign=gf_game&utm_source=" + domainname) + "&utm_content=ingame"));
}
stop();
var doMain = this.stage.loaderInfo.url;
var doMainArray = doMain.split("/");
var domainname = doMainArray[2];
action.addEventListener(MouseEvent.CLICK, function () {
actionf();
});
action.buttonMode = true;
Symbol 351 MovieClip Frame 1
lavr_link = "http://www.gamesfree.ca/";
shade = 0;
Symbol 351 MovieClip Frame 2
lavr_link = "http://www.andkon.com";
shade = 2;
Symbol 351 MovieClip Frame 3
lavr_link = "http://www.SolidGames.com";
shade = 0;
Symbol 351 MovieClip Frame 4
lavr_link = "http://www.abroy.com/";
shade = 1;
Symbol 351 MovieClip Frame 5
lavr_link = "http://www.yepi.com";
shade = 0;
Symbol 351 MovieClip Frame 6
lavr_link = "http://www.bubblebox.com";
shade = 1;
Symbol 351 MovieClip Frame 7
lavr_link = "http://www.bunnygames.com";
shade = 1;
Symbol 351 MovieClip Frame 8
lavr_link = "http://www.dailyfreegames.com";
shade = 1;
Symbol 351 MovieClip Frame 9
lavr_link = "http://www.trochoivui.com";
shade = 0;
Symbol 351 MovieClip Frame 10
lavr_link = "http://www.2flashgames.com";
shade = 2;
Symbol 351 MovieClip Frame 11
lavr_link = "http://www.flashninjaclan.com";
shade = 1;
Symbol 351 MovieClip Frame 12
lavr_link = "http://www.gamesxl.com/";
shade = 0;
Symbol 351 MovieClip Frame 13
lavr_link = "http://www.funny-games.biz";
shade = 1;
Symbol 351 MovieClip Frame 14
lavr_link = "http://www.gameitnow.com";
shade = 2;
Symbol 351 MovieClip Frame 15
lavr_link = "http://www.games1.com";
shade = 0;
Symbol 351 MovieClip Frame 16
lavr_link = "http://www.onjogos.com.br";
shade = 1;
Symbol 351 MovieClip Frame 17
lavr_link = "http://www.gamesfreak.net";
shade = 2;
Symbol 351 MovieClip Frame 18
lavr_link = "http://www.maxi-juegos.com";
shade = 1;
Symbol 351 MovieClip Frame 19
lavr_link = "http://www.jarkey.net";
shade = 2;
Symbol 351 MovieClip Frame 20
lavr_link = "http://www.gam123bee.com/";
shade = 1;
Symbol 351 MovieClip Frame 21
lavr_link = "http://www.keepbusy.net";
shade = 1;
Symbol 351 MovieClip Frame 22
lavr_link = "http://www.microjogos.com";
shade = 1;
Symbol 351 MovieClip Frame 23
lavr_link = "http://www.minijuegos.com";
shade = 2;
Symbol 351 MovieClip Frame 24
lavr_link = "http://www.oyunskor.com/";
shade = 1;
Symbol 351 MovieClip Frame 25
lavr_link = "http://www.mostfungames.com";
shade = 2;
Symbol 351 MovieClip Frame 26
lavr_link = "http://www.gameshot.org";
shade = 1;
Symbol 351 MovieClip Frame 27
lavr_link = "http://www.online-games-zone.com/";
shade = 2;
Symbol 351 MovieClip Frame 28
lavr_link = "http://www.puffgames.com";
shade = 2;
Symbol 351 MovieClip Frame 29
lavr_link = "http://www.spele.nl";
shade = 1;
Symbol 351 MovieClip Frame 30
lavr_link = "http://www.abab.com";
shade = 0;
Symbol 351 MovieClip Frame 31
lavr_link = "http://www.thegamesonline.com/";
shade = 1;
Symbol 351 MovieClip Frame 32
lavr_link = "http://www.ultimatearcade.com";
shade = 1;
Symbol 351 MovieClip Frame 33
lavr_link = "http://www.girlgames4u.com/";
shade = 1;
Symbol 351 MovieClip Frame 34
lavr_link = "http://www.beer-games.net";
shade = 0;
Symbol 351 MovieClip Frame 35
lavr_link = "http://www.beer-games.net";
shade = 0;
Symbol 351 MovieClip Frame 36
lavr_link = "http://www.jeuxvideo-flash.com/";
shade = 0;
Symbol 351 MovieClip Frame 37
lavr_link = "http://www.flashgames.it/";
shade = 1;
Symbol 351 MovieClip Frame 38
lavr_link = "http://www.4v4.com/";
shade = 0;
Symbol 351 MovieClip Frame 39
lavr_link = "http://www.hallpass.com/";
shade = 2;
Symbol 351 MovieClip Frame 40
lavr_link = "http://www.gamegecko.com/";
shade = 0;
Symbol 351 MovieClip Frame 41
lavr_link = "http://www.benz.be";
shade = 2;
Symbol 351 MovieClip Frame 42
lavr_link = "http://www.net-games.co.il/";
shade = 1;
Symbol 351 MovieClip Frame 43
lavr_link = "http://www.bgames.com";
shade = 0;
Symbol 351 MovieClip Frame 44
lavr_link = "http://www.pinkyarcade.com/";
shade = 1;
Symbol 351 MovieClip Frame 45
lavr_link = "http://jayisgames.com/";
shade = 0;
Symbol 351 MovieClip Frame 46
lavr_link = "http://www.twizl.com/";
shade = 1;
Symbol 351 MovieClip Frame 47
lavr_link = "http://www.a10.com/";
shade = 1;
Symbol 351 MovieClip Frame 48
lavr_link = "http://www.bonniegames.com/";
shade = 1;
Symbol 351 MovieClip Frame 49
lavr_link = "http://www.ug2.com/";
shade = 0;
Symbol 351 MovieClip Frame 50
lavr_link = "http://www.agame.com";
shade = 1;
Symbol 351 MovieClip Frame 51
lavr_link = "http://www.gamesclub.com/";
shade = 1;
Symbol 351 MovieClip Frame 52
lavr_link = "http://www.killhours.com/";
shade = 1;
Symbol 351 MovieClip Frame 53
lavr_link = "http://www.flasharcadegamessite.com/";
shade = 1;
Symbol 351 MovieClip Frame 54
lavr_link = "http://www.roundgames.com/";
shade = 2;
Symbol 351 MovieClip Frame 55
lavr_link = "http://www.arcadegangsta.com/";
shade = 1;
Symbol 351 MovieClip Frame 56
lavr_link = "http://www.bored.com/";
shade = 0;
Symbol 351 MovieClip Frame 57
lavr_link = "http://www.flash-games.net/";
shade = 1;
Symbol 351 MovieClip Frame 58
lavr_link = "http://www.flash-game.net/";
shade = 1;
Symbol 351 MovieClip Frame 59
lavr_link = "http://www.kingofgames.net";
shade = 1;
Symbol 351 MovieClip Frame 60
lavr_link = "http://www.playhub.com/";
shade = 0;
Symbol 351 MovieClip Frame 61
lavr_link = "http://www.123spill.no/";
shade = 1;
Symbol 351 MovieClip Frame 62
lavr_link = "http://www.dailygames.com/";
shade = 1;
Symbol 351 MovieClip Frame 63
lavr_link = "http://www.octogames.com/";
shade = 2;
Symbol 351 MovieClip Frame 64
lavr_link = "http://www.ugotgames.com/";
shade = 1;
Symbol 351 MovieClip Frame 65
lavr_link = "http://www.fupa.com/";
shade = 1;
Symbol 351 MovieClip Frame 66
lavr_link = "http://www.kibagames.com/";
shade = 0;
Symbol 351 MovieClip Frame 67
lavr_link = "http://www.kraloyun.com/";
shade = 0;
Symbol 351 MovieClip Frame 68
lavr_link = "http://www.spielaffe.de/";
shade = 0;
Symbol 351 MovieClip Frame 69
lavr_link = "http://www.39games.com";
shade = 2;
Symbol 351 MovieClip Frame 70
lavr_link = "http://www.bijuegos.com";
shade = 0;
Symbol 351 MovieClip Frame 71
lavr_link = "http://www.mofunzone.com";
shade = 2;
Symbol 351 MovieClip Frame 72
lavr_link = "http://www.freegamespy.com/";
shade = 2;
Symbol 351 MovieClip Frame 73
lavr_link = "http://www.jogos10.com";
shade = 0;
Symbol 351 MovieClip Frame 74
lavr_link = "http://www.juegos10.com";
shade = 0;
Symbol 351 MovieClip Frame 75
lavr_link = "http://flash.178.com/";
shade = 0;
Symbol 351 MovieClip Frame 76
lavr_link = "http://www.papajogos.com.br";
shade = 0;
Symbol 351 MovieClip Frame 77
lavr_link = "http://www.arcadelots.com/";
shade = 0;
Symbol 351 MovieClip Frame 78
lavr_link = "http://www.minigamers.com/";
shade = 0;
Symbol 351 MovieClip Frame 79
lavr_link = "http://www.stickpage.com";
shade = 0;
Symbol 351 MovieClip Frame 80
lavr_link = "http://www.y8.com/";
shade = 1;
Symbol 351 MovieClip Frame 81
lavr_link = "http://www.y3.com/";
shade = 1;
Symbol 351 MovieClip Frame 82
lavr_link = "http://www.gangofgamers.com/";
shade = 0;
Symbol 351 MovieClip Frame 83
lavr_link = "http://www.videobash.com/";
shade = 0;
Symbol 352 MovieClip Frame 1
stop();
Symbol 353 Button
on (release) {
getURL (boxx.lavr_link, "_blank");
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (21);
}
Symbol 354 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 20
stop();
Symbol 364 MovieClip Frame 1
_visible = false;
Symbol 382 MovieClip Frame 40
stop();
Symbol 387 MovieClip Frame 1
gotoAndPlay (2);
Symbol 387 MovieClip Frame 15
stop();
Symbol 388 MovieClip Frame 1
stop();
Instance of Symbol 25 MovieClip in Symbol 388 MovieClip Frame 9
onClipEvent (load) {
aff = "ok";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(10);
}
}
Instance of Symbol 25 MovieClip in Symbol 388 MovieClip Frame 10
onClipEvent (load) {
aff = "continue";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.got2go = 2;
}
}
Symbol 389 MovieClip Frame 1
gotoAndPlay (2);
Symbol 389 MovieClip Frame 190
stop();
Symbol 391 MovieClip Frame 1
timer = 200;
timer_frame = _currentframe;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else if (_currentframe == timer_frame) {
gotoAndStop(timer_frame + 1);
_parent.boxxtxx.boxx.gotoAndStop(_parent.boxxtxx.boxx._currentframe + 1);
}
};
Symbol 391 MovieClip Frame 2
timer = 200;
timer_frame = _currentframe;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else if (_currentframe == timer_frame) {
gotoAndStop(timer_frame + 1);
_parent.boxxtxx.boxx.gotoAndStop(_parent.boxxtxx.boxx._currentframe + 1);
}
};
Symbol 391 MovieClip Frame 3
timer = 200;
timer_frame = _currentframe;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else if (_currentframe == timer_frame) {
gotoAndStop(timer_frame + 1);
_parent.boxxtxx.boxx.gotoAndStop(_parent.boxxtxx.boxx._currentframe + 1);
}
};
Symbol 391 MovieClip Frame 4
timer = 270;
timer_frame = _currentframe;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else if (_currentframe == timer_frame) {
gotoAndStop(timer_frame + 1);
_parent.boxxtxx.boxx.gotoAndStop(_parent.boxxtxx.boxx._currentframe + 1);
}
};
Symbol 391 MovieClip Frame 5
timer = 150;
timer_frame = _currentframe;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else if (_currentframe == timer_frame) {
gotoAndStop(timer_frame + 1);
_parent.boxxtxx.boxx.gotoAndStop(_parent.boxxtxx.boxx._currentframe + 1);
}
};
Symbol 391 MovieClip Frame 6
timer = 70;
timer_frame = _currentframe;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else if (_currentframe == timer_frame) {
gotoAndStop(timer_frame + 1);
_parent.boxxtxx.boxx.gotoAndStop(_parent.boxxtxx.boxx._currentframe + 1);
}
};
Symbol 391 MovieClip Frame 7
timer = 200;
timer_frame = _currentframe;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else if (_currentframe == timer_frame) {
gotoAndStop(timer_frame + 1);
_parent.boxxtxx.boxx.gotoAndStop(_parent.boxxtxx.boxx._currentframe + 1);
}
};
Symbol 391 MovieClip Frame 8
timer = 150;
timer_frame = _currentframe;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else if (_currentframe == timer_frame) {
gotoAndStop(timer_frame + 1);
_parent.boxxtxx.boxx.gotoAndStop(_parent.boxxtxx.boxx._currentframe + 1);
}
};
Symbol 391 MovieClip Frame 9
stop();
onEnterFrame = function () {
};
Symbol 397 MovieClip Frame 1
stop();
Symbol 400 MovieClip Frame 1
gotoAndPlay (2);
Symbol 400 MovieClip Frame 149
stop();
Symbol 414 MovieClip Frame 1
gotoAndStop(_root.lvl);
Symbol 429 MovieClip Frame 1
gotoAndStop(_root.lvl);
Symbol 429 MovieClip Frame 13
_alpha = 100;
Symbol 488 MovieClip Frame 1
_visible = false;
Symbol 489 MovieClip Frame 1
if (_parent.nb == 1) {
multi = 0.35;
boxx._xscale = 150;
boxx._yscale = boxx._xscale;
}
if (_parent.nb == 2) {
multi = 0.18;
boxx._xscale = 75;
boxx._yscale = boxx._xscale;
}
if (((_parent.nb == 2) && (_root.lvl >= 10)) && (_root.lvl <= 11)) {
_parent._visible = false;
}
cntposi_x = _root.cnt._x;
cntposi_y = _root.cnt._y;
_y = 0;
zone_rand_1 = 15;
zone_rand_2 = 10;
zone_rand_3 = 15;
zone_rand_4 = 8;
zone_rand_5 = 15;
zone_rand_6 = 15;
boxx.gotoAndStop((random(eval ("zone_rand_" + _root.zone)) + ((_root.zone * 20) - 20)) + 1);
stop();
onEnterFrame = function () {
speedx = cntposi_x - _root.cnt._x;
cntposi_x = _root.cnt._x;
_x = (_x - ((speedx * multi) * _root.slowmotion));
speedy = cntposi_y - _root.cnt._y;
cntposi_y = _root.cnt._y;
_y = (_y - ((speedy * multi) * _root.slowmotion));
if (_y < 0) {
_y = 0;
}
if ((_parent.nb == 2) && (_y < 85)) {
_y = 85;
}
if (_y > 220) {
_y = 220;
}
if (_x < (_width * -1)) {
_x = 800;
_y = 0;
boxx.gotoAndStop((random(eval ("zone_rand_" + _root.zone)) + ((_root.zone * 20) - 20)) + 1);
}
};
Symbol 490 MovieClip Frame 1
gotoAndStop(_root.lvl);
Symbol 492 MovieClip Frame 1
onEnterFrame = function () {
speed = 0.2;
if (_root.slowmotion == 1) {
sa = 0;
} else {
sa = 75;
}
speeda = (sa - _alpha) * speed;
if ((_alpha < (sa - 0.5)) || (_alpha > (sa + 0.5))) {
_alpha = (_alpha + speeda);
}
};
Symbol 495 MovieClip Frame 1
speedx = random(20) - 10;
speedy = random(20) - 10;
_xscale = (random(80) + 20);
_yscale = _xscale;
stop();
onEnterFrame = function () {
_x = (_x + (speedx * _root.slowmotion));
_y = (_y + (speedy * _root.slowmotion));
speedx = speedx * (1 - (0.1 * _root.slowmotion));
if (speedy < -0.5) {
speedy = speedy * (1 - (0.1 * _root.slowmotion));
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * (1 + (0.1 * _root.slowmotion));
}
if (speedy > 20) {
speedy = 20;
}
};
Symbol 497 MovieClip Frame 5
stop();
Symbol 498 MovieClip Frame 1
_visible = false;
stop();
Symbol 498 MovieClip Frame 2
_visible = true;
stop();
Symbol 501 MovieClip Frame 1
stop();
Symbol 503 MovieClip Frame 1
stop();
Symbol 505 MovieClip Frame 1
if (_parent._parent.shield != undefined) {
if (_root.sword == 0) {
_visible = false;
}
}
Symbol 515 MovieClip Frame 1
stop();
Symbol 521 MovieClip Frame 1
stop();
Symbol 538 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = random(30) + 1;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
if (aa > 30) {
aa = aa - 30;
}
gotoAndStop(Math.round(aa));
};
Symbol 539 MovieClip Frame 1
stop();
onEnterFrame = function () {
_rotation = (_parent._rotation * 0.35);
shake = 4 * _root.slowmotion;
_rotation = (_rotation + (random(shake) - (shake / 2)));
};
Instance of Symbol 538 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
speed = 2;
}
Symbol 540 MovieClip Frame 1
stop();
onEnterFrame = function () {
_rotation = (_parent._rotation * 0.7);
shake = 4 * _root.slowmotion;
_rotation = (_rotation + (random(shake) - (shake / 2)));
};
Instance of Symbol 538 MovieClip in Symbol 540 MovieClip Frame 1
onClipEvent (load) {
speed = 1.15;
}
Symbol 541 MovieClip Frame 1
_rotation = eval ("_parent._parent._parent._parent.rot_mem_" + nb);
stop();
onEnterFrame = function () {
sr = (Math.abs(_parent._parent._parent._parent.speedx) * 90) / 8;
if (_parent._parent._parent._parent.speedy > 5) {
sr = ((_parent._parent._parent._parent.speedy * 90) / 20) + 90;
}
if (_parent._parent._parent._parent.speedy < -5) {
sr = 90 - ((Math.abs(_parent._parent._parent._parent.speedy) * 90) / 17);
}
if (_root.cnt.ninja.anims._currentframe == 10) {
sr = 45;
}
speedr = (sr - _rotation) * speed;
if ((_rotation < (sr - 0.5)) || (_rotation > (sr + 0.5))) {
_rotation = (_rotation + (speedr * _root.slowmotion));
}
shake = 4 * _root.slowmotion;
_rotation = (_rotation + (random(shake) - (shake / 2)));
Set("_parent._parent._parent._parent.rot_mem_" + nb, _rotation);
};
Instance of Symbol 538 MovieClip in Symbol 541 MovieClip Frame 1
onClipEvent (load) {
speed = 0.45;
}
Instance of Symbol 541 MovieClip in Symbol 542 MovieClip Frame 1
onClipEvent (load) {
speed = 0.08;
nb_mem = 2;
}
Instance of Symbol 541 MovieClip in Symbol 542 MovieClip Frame 1
onClipEvent (load) {
speed = 0.05;
nb_mem = 1;
}
Symbol 543 MovieClip Frame 1
stop();
onEnterFrame = function () {
_rotation = (_parent._rotation * 0.7);
shake = 4 * _root.slowmotion;
_rotation = (_rotation + (random(shake) - (shake / 2)));
};
Instance of Symbol 538 MovieClip in Symbol 543 MovieClip Frame 1
onClipEvent (load) {
speed = 1.15;
}
Symbol 544 MovieClip Frame 1
_rotation = eval ("_parent._parent._parent._parent.rot_mem_" + nb);
stop();
onEnterFrame = function () {
sr = (Math.abs(_parent._parent._parent._parent.speedx) * 90) / 8;
if (_parent._parent._parent._parent.speedy > 5) {
sr = ((_parent._parent._parent._parent.speedy * 90) / 20) + 90;
}
if (_parent._parent._parent._parent.speedy < -5) {
sr = 90 - ((Math.abs(_parent._parent._parent._parent.speedy) * 90) / 17);
}
if (_root.cnt.ninja.anims._currentframe == 10) {
sr = 45;
}
speedr = (sr - _rotation) * speed;
if ((_rotation < (sr - 0.5)) || (_rotation > (sr + 0.5))) {
_rotation = (_rotation + (speedr * _root.slowmotion));
}
shake = 4 * _root.slowmotion;
_rotation = (_rotation + (random(shake) - (shake / 2)));
Set("_parent._parent._parent._parent.rot_mem_" + nb, _rotation);
};
Instance of Symbol 538 MovieClip in Symbol 544 MovieClip Frame 1
onClipEvent (load) {
speed = 0.45;
}
Instance of Symbol 544 MovieClip in Symbol 545 MovieClip Frame 1
onClipEvent (load) {
speed = 0.08;
nb_mem = 4;
}
Instance of Symbol 544 MovieClip in Symbol 545 MovieClip Frame 1
onClipEvent (load) {
speed = 0.05;
nb_mem = 3;
}
Symbol 562 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
if (_parent.im_percheanim == 2) {
aa = 2;
}
speed = 0.4;
}
stop();
onEnterFrame = function () {
if (aa > 1) {
aa = aa + (speed * _root.slowmotion);
}
if (aa > 24) {
aa = 1;
}
gotoAndStop(Math.round(aa));
};
Symbol 563 MovieClip Frame 1
if (_parent._parent._parent.perche != 2) {
_visible = false;
stop();
} else {
_visible = true;
gotoAndStop (2);
}
onEnterFrame = function () {
if (_parent._parent._parent.perche != 2) {
_visible = false;
gotoAndStop (1);
} else {
_visible = true;
gotoAndStop (2);
}
};
Symbol 573 MovieClip Frame 1
timer = 0;
boxx.gotoAndPlay(random(18) + 1);
boxx.boxx.gotoAndPlay(random(25) + 1);
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
boxx.boxx.boxx.gotoAndStop(random(7) + 1);
timer = random(7) + 3;
}
};
Symbol 578 MovieClip Frame 1
if ((_root.cnt.ninja.light != 2) || (_parent._parent._parent.im_da_traine == 2)) {
_visible = false;
stop();
} else {
_visible = true;
gotoAndStop (2);
}
onEnterFrame = function () {
if ((_root.cnt.ninja.light != 2) || (_parent._parent._parent.im_da_traine == 2)) {
_visible = false;
gotoAndStop (1);
} else {
_visible = true;
gotoAndStop (2);
}
};
Symbol 583 MovieClip Frame 1
if (_parent._parent._parent.im_da_traine != 2) {
gotoAndPlay((random(4) + 1) * 2);
} else {
stop();
}
Symbol 583 MovieClip Frame 3
stop();
Symbol 583 MovieClip Frame 5
stop();
Symbol 583 MovieClip Frame 7
stop();
Symbol 583 MovieClip Frame 9
stop();
Symbol 584 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_root.sword == 0) {
aa = 1;
} else {
aa = 121;
}
speed = 7;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
if (_root.sword == 0) {
if (aa >= 120) {
aa = 120;
_parent._parent.attacking = 1;
}
} else if (aa >= 240) {
aa = 240;
_parent._parent.attacking = 1;
}
gotoAndStop(Math.round(aa));
};
Symbol 586 MovieClip Frame 1
_visible = false;
stop();
Symbol 586 MovieClip Frame 2
perche = 1;
_visible = true;
_alpha = (50 - (nb * 6));
attacking = 2;
_x = _parent.ninja._x;
_y = _parent.ninja._y;
im_da_traine = 2;
stop();
onEnterFrame = function () {
if ((attacking == 1) || (_root.act == 4)) {
if (_alpha > 0) {
_alpha = (_alpha - 2.5);
} else {
gotoAndStop (1);
}
}
speed = 0.8 - (0.15 * nb);
sx = _parent.ninja._x;
sy = _parent.ninja._y;
speedx = (sx - _x) * speed;
speedy = (sy - _y) * speed;
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + (speedx * _root.slowmotion));
}
if ((_y < (sy - 0.5)) || (_y > (sy + 0.5))) {
_y = (_y + (speedy * _root.slowmotion));
}
};
Symbol 590 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_root.lvl <= 6) {
gotoAndStop (1);
}
if ((_root.lvl > 6) && (_root.lvl <= 13)) {
gotoAndStop (2);
}
if (_root.lvl > 13) {
gotoAndStop (3);
}
}
Symbol 594 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_root.lvl <= 6) {
gotoAndStop (1);
}
if ((_root.lvl > 6) && (_root.lvl <= 13)) {
gotoAndStop (2);
}
if (_root.lvl > 13) {
gotoAndStop (3);
}
}
Symbol 598 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_root.lvl <= 6) {
gotoAndStop (1);
}
if ((_root.lvl > 6) && (_root.lvl <= 13)) {
gotoAndStop (2);
}
if (_root.lvl > 13) {
gotoAndStop (3);
}
}
Symbol 602 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_root.lvl <= 6) {
gotoAndStop (1);
}
if ((_root.lvl > 6) && (_root.lvl <= 13)) {
gotoAndStop (2);
}
if (_root.lvl > 13) {
gotoAndStop (3);
}
}
Symbol 606 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_root.lvl <= 6) {
gotoAndStop (1);
}
if ((_root.lvl > 6) && (_root.lvl <= 13)) {
gotoAndStop (2);
}
if (_root.lvl > 13) {
gotoAndStop (3);
}
}
Symbol 610 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_root.lvl <= 6) {
gotoAndStop (1);
}
if ((_root.lvl > 6) && (_root.lvl <= 13)) {
gotoAndStop (2);
}
if (_root.lvl > 13) {
gotoAndStop (3);
}
}
Symbol 614 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_root.lvl <= 6) {
gotoAndStop (1);
}
if ((_root.lvl > 6) && (_root.lvl <= 13)) {
gotoAndStop (2);
}
if (_root.lvl > 13) {
gotoAndStop (3);
}
}
Symbol 618 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_root.lvl <= 6) {
gotoAndStop (1);
}
if ((_root.lvl > 6) && (_root.lvl <= 13)) {
gotoAndStop (2);
}
if (_root.lvl > 13) {
gotoAndStop (3);
}
}
Symbol 620 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_root.lvl <= 6) {
gotoAndStop (1);
}
if ((_root.lvl > 6) && (_root.lvl <= 13)) {
gotoAndStop (2);
}
if (_root.lvl > 13) {
gotoAndStop (3);
}
}
Symbol 621 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 3.5;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
if (aa > 80) {
aa = aa - 80;
}
gotoAndStop(Math.round(aa));
};
Symbol 622 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 3.5;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
if (aa > 80) {
aa = aa - 80;
}
gotoAndStop(Math.round(aa));
};
Symbol 623 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 5;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
if (aa > 200000) {
aa = aa - 2000000;
}
gotoAndStop(Math.round(aa));
};
Symbol 627 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_root.lvl <= 6) {
gotoAndStop (1);
}
if ((_root.lvl > 6) && (_root.lvl <= 13)) {
gotoAndStop (2);
}
if (_root.lvl > 13) {
gotoAndStop (3);
}
}
Symbol 631 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_root.lvl <= 6) {
gotoAndStop (1);
}
if ((_root.lvl > 6) && (_root.lvl <= 13)) {
gotoAndStop (2);
}
if (_root.lvl > 13) {
gotoAndStop (3);
}
}
Symbol 632 MovieClip Frame 1
gotoAndStop(random(2) + 1);
Symbol 633 MovieClip Frame 37
gotoAndPlay (12);
Symbol 634 MovieClip Frame 43
gotoAndPlay (18);
Symbol 635 MovieClip Frame 40
gotoAndPlay (15);
Symbol 637 MovieClip Frame 55
gotoAndPlay (36);
Symbol 638 MovieClip Frame 1
stop();
Symbol 640 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
if (_root.cnt.ninja._x > _x) {
if ((_root.act == 2) || (_root.act == 1)) {
gotoAndStop (2);
}
}
};
Symbol 640 MovieClip Frame 2
act = 2;
speed_run = 13;
speed_walk = 2.4;
speedx = 0;
speedy = 0;
fall = 1;
jump = 1;
runanim = 3 - nb;
_x = (_root.cnt.ninja._x - (200 + (100 * nb)));
dist = 75 + (75 * nb);
dist2 = 250 + (100 * nb);
_visible = true;
stop();
onEnterFrame = function () {
if (_root.pausedd == 1) {
if (act == 1) {
speedx = speedx * 0.8;
speedy = speedy * 0.8;
}
if (act == 2) {
if (jump == 2) {
jump = 3;
speedy = speedy - 45;
_y = (_y + speedy);
fall = 2;
}
if (boost == 2) {
boost = 3;
dist_mem = dist;
dist = 50;
boost_timer = 100;
}
if (_root.act == 4) {
boost_timer = 0;
}
if (boost == 3) {
if (boost_timer > 0) {
boost_timer = boost_timer - 1;
} else {
boost = 4;
boost_timer = 70 + (50 * nb);
}
}
if (boost == 4) {
if (boost_timer > 0) {
boost_timer = boost_timer - 1;
} else {
boost = 1;
}
}
if (_x < (_parent.ninja._x - dist)) {
if (_x > (_parent.ninja._x - dist2)) {
speedx = 10;
} else {
speedx = speed_run;
}
if (boost == 3) {
speedx = 12.5;
}
if (boost == 4) {
speedx = 8;
}
} else {
speedx = speedx * 0.85;
if (_root.act == 4) {
speedx = speedx * 0.85;
}
}
if (fall == 2) {
if (speedy < -0.5) {
speedy = speedy * (1 - (0.25 * _root.slowmotion));
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * (1 + (0.25 * _root.slowmotion));
}
if (speedy > 20) {
speedy = 20;
}
} else {
jump = 1;
if (speedy > 0) {
speedy = 0;
}
}
}
_x = (_x + (speedx * _root.slowmotion));
_y = (_y + (speedy * _root.slowmotion));
if (act == 2) {
if (jump != 1) {
anims.gotoAndStop(3);
} else if (_x < (_parent.ninja._x - dist)) {
anims.gotoAndStop(runanim);
} else {
anims.gotoAndStop(4);
}
}
}
};
Instance of Symbol 639 MovieClip in Symbol 640 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((_parent.act == 2) && (_root.pausedd == 1)) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.fall = 1;
} else {
_parent.fall = 2;
}
trace(_parent.fall);
var nb = 1;
while (nb < 51) {
if (_root.cnt["things" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt["things" + nb].hitt.aa = 1;
}
nb++;
}
i++;
}
this.hitpts2 = new Array({x:0, y:-10});
i2 = 0;
while (i2 < this.hitpts2.length) {
this.localToGlobal(hitpts2[i2]);
if (_root.cnt.hitt.hitTest(hitpts2[i2].x, hitpts2[i2].y, true)) {
_parent._y = _parent._y - 10;
}
i2++;
}
}
}
Symbol 667 MovieClip Frame 1
stop();
Symbol 667 MovieClip Frame 22
_root.interr.runninjarun.play();
_root.interr.runninjarun.calltheshot = 1;
Symbol 667 MovieClip Frame 90
_root.act = 2;
stop();
Symbol 669 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
if (_root.act != 4) {
if ((_parent.tigre._x >= _x) && (tiger_never_pass != 2)) {
_parent.tigre.jump = 2;
tiger_never_pass = 2;
}
if ((_parent.erun_1._x >= (_x - 80)) && (erun_never_pass1 != 2)) {
_parent.erun_1.jump = 2;
erun_never_pass1 = 2;
}
if ((_parent.erun_2._x >= (_x - 160)) && (erun_never_pass2 != 2)) {
_parent.erun_2.jump = 2;
erun_never_pass2 = 2;
}
if ((_parent.erun_3._x >= (_x - 80)) && (erun_never_pass3 != 2)) {
_parent.erun_3.jump = 2;
erun_never_pass3 = 2;
}
if ((_parent.erun_4._x >= (_x - 160)) && (erun_never_pass4 != 2)) {
_parent.erun_4.jump = 2;
erun_never_pass4 = 2;
}
}
};
Symbol 671 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
if ((_parent.tigre._x >= _x) && (tiger_never_pass != 2)) {
_parent.tigre.boost = 2;
tiger_never_pass = 2;
}
if ((_parent.erun_1._x >= (_x - 80)) && (erun_never_pass1 != 2)) {
_parent.erun_1.boost = 2;
erun_never_pass1 = 2;
}
if ((_parent.erun_2._x >= (_x - 160)) && (erun_never_pass2 != 2)) {
_parent.erun_2.boost = 2;
erun_never_pass2 = 2;
}
if ((_parent.erun_3._x >= (_x - 80)) && (erun_never_pass3 != 2)) {
_parent.erun_3.boost = 2;
erun_never_pass3 = 2;
}
if ((_parent.erun_4._x >= (_x - 160)) && (erun_never_pass4 != 2)) {
_parent.erun_4.boost = 2;
erun_never_pass4 = 2;
}
};
Symbol 673 MovieClip Frame 1
_visible = false;
stade = 1;
if (_root.muz.neverplayed_animlvl1 != 2) {
_root.muz.neverplayed_animlvl1 = 2;
stade = -2;
timer = 700;
_root.cnt.ninja._x = _root.cnt.plate._x - 2500;
_root.cnt.ninja._y = _root.cnt.plate._y + 12;
_root.act = 6;
_root.camera_speed = 0.0085;
_root.camera_who = "tree";
_root.camera_adjustx = 35;
_root.camera_adjusty = 70;
_root.zoomed = 1.4;
_root.cnt._x = (-_root.cnt.tree._x) + 2000;
_root.cnt._y = ((-_root.cnt.tree._y) + 220) + 800;
_root.interr.runninjarun.gotoAndStop(2);
plate_act = 1;
ninja_act = 0;
} else {
plate_act = -1;
ninja_act = -1;
_parent.tree._visible = false;
_parent.vieuxintro._visible = false;
_parent.plate._visible = false;
}
stop();
onEnterFrame = function () {
if (plate_act == 1) {
_root.interr.runninjarun.gotoAndStop(2);
}
if (stade == -2) {
if (timer > 0) {
timer = timer - 1;
} else {
stade = 2;
}
}
if (stade == 2) {
if (plate_act == 1) {
_parent.plate._x = _parent.plate._x - 2.5;
}
if (ninja_act == 0) {
_root.cnt.ninja.anims.gotoAndStop(10);
_parent.ninja.speedx = 0;
_parent.ninja._x = _parent.ninja._x + 1.5;
if (_root.cnt.ninja._x > _root.cnt.tree._x) {
ninja_act = 1;
_root.camera_speed = 0.035;
_root.camera_who = "ninja";
}
}
if (ninja_act == 1) {
_root.cnt.ninja.anims.gotoAndStop(10);
_parent.ninja.speedx = 0;
_parent.ninja._x = _parent.ninja._x + 1.5;
if (_root.cnt.ninja._x > (_root.cnt.plate._x - 250)) {
ninja_act = 2;
}
}
if (ninja_act == 2) {
_root.cnt.ninja.anims.gotoAndStop(10);
_root.cnt.ninja.anims.boxx.gotoAndStop(1);
_parent.ninja.speedx = 0;
_parent.ninja._x = _parent.ninja._x + 0;
if (_root.cnt.ninja._x > (_root.cnt.plate._x + 100)) {
ninja_act = 3;
}
}
if (ninja_act == 3) {
_root.cnt.ninja.anims.gotoAndStop(10);
_root.cnt.ninja.anims.boxx.gotoAndStop(51);
_parent.ninja.speedx = 0;
_parent.ninja._x = _parent.ninja._x + 0;
if (_root.cnt.ninja._x > (_root.cnt.plate._x + 450)) {
ninja_act = 4;
_root.cnt.ninja.anims.boxx.gotoAndPlay(52);
}
}
if (ninja_act == 4) {
_root.cnt.ninja.anims.gotoAndStop(10);
_parent.ninja.speedx = 0;
_parent.ninja._x = _parent.ninja._x + 0;
if (_root.cnt.ninja._x > (_root.cnt.plate._x + 550)) {
ninja_act = 5;
plate_act = 2;
_parent.plate.dame.gotoAndPlay(51);
_parent.plate.e_1.stop();
_parent.plate.e_2.stop();
_root.camera_speed = 0.2;
_root.camera_who = "plate";
}
}
if (plate_act == 2) {
_parent.plate._x = _parent.plate._x + 0;
}
if (ninja_act == 6) {
_root.camera_speed = 0.2;
_root.camera_who = "ninja";
}
}
};
Symbol 731 MovieClip Frame 50
stop();
Symbol 733 MovieClip Frame 1
if (eval ("_root.piece_" + _root.lvl) == 1) {
gotoAndStop (1);
} else {
gotoAndStop (3);
}
Symbol 733 MovieClip Frame 2
_root.shake = 12;
_root.piece_collected = 2;
Symbol 833 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
}
onEnterFrame = function () {
aa = aa + (1 * _root.slowmotion);
if (aa > 99) {
aa = aa - 99;
}
gotoAndStop(Math.round(aa));
_rotation = (_rotation + (5 * _root.slowmotion));
};
Symbol 836 MovieClip Frame 1
_alpha = (random(50) + 50);
aa = random(3) + 1;
if (aa == 1) {
_visible = false;
}
Instance of Symbol 835 MovieClip in Symbol 836 MovieClip Frame 1
onClipEvent (enterFrame) {
if (rot == undefined) {
rot = 0;
}
rot = rot + (-6 * _root.slowmotion);
_rotation = ((_parent._parent._rotation * -1) + rot);
}
Symbol 837 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
}
onEnterFrame = function () {
aa = aa + 2;
if (aa > 99) {
aa = aa - 99;
}
gotoAndStop(Math.round(aa));
_rotation = (_rotation + (5 * _root.slowmotion));
};
Symbol 840 MovieClip Frame 15
stop();
Symbol 842 MovieClip Frame 1
if (eval ((("_root.gold_" + _root.lvl) + "_") + nb) == 1) {
gotoAndStop (1);
} else {
gotoAndStop (3);
}
Symbol 842 MovieClip Frame 2
Set("_root.gold_collect_" + nb, 2);
Instance of Symbol 840 MovieClip in Symbol 842 MovieClip Frame 2
onClipEvent (load) {
_rotation = (random(360) + 1);
}
Symbol 845 MovieClip Frame 3
stop();
Symbol 847 MovieClip Frame 3
stop();
Symbol 848 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = random(100) + 1;
speed = 4.7;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
if (_parent._parent.perche == 1) {
if (aa > 100) {
aa = aa - 100;
}
} else {
if (aa > 200) {
aa = aa - 100;
}
if (aa < 100) {
aa = 101;
}
}
gotoAndStop(Math.round(aa));
};
Instance of Symbol 639 MovieClip in Symbol 848 MovieClip Frame 19
onClipEvent (load) {
eval ("_root.cnt.rockpt_" + _root.rockpt_nb).gotoAndStop(1);
eval ("_root.cnt.rockpt_" + _root.rockpt_nb).gotoAndStop(2);
Set(("_root.cnt.rockpt_" + _root.rockpt_nb) + "._x", _parent._parent._parent._x);
Set(("_root.cnt.rockpt_" + _root.rockpt_nb) + "._y", _parent._parent._parent._y);
Set(("_root.cnt.rockpt_" + _root.rockpt_nb) + ".speedx", -5);
Set(("_root.cnt.rockpt_" + _root.rockpt_nb) + ".speedy", -5);
_root.rockpt_nb = _root.rockpt_nb + 1;
if (_root.rockpt_nb > 10) {
_root.rockpt_nb = 1;
}
}
Instance of Symbol 639 MovieClip in Symbol 848 MovieClip Frame 67
onClipEvent (load) {
eval ("_root.cnt.rockpt_" + _root.rockpt_nb).gotoAndStop(1);
eval ("_root.cnt.rockpt_" + _root.rockpt_nb).gotoAndStop(2);
Set(("_root.cnt.rockpt_" + _root.rockpt_nb) + "._x", _parent._parent._parent._x);
Set(("_root.cnt.rockpt_" + _root.rockpt_nb) + "._y", _parent._parent._parent._y);
Set(("_root.cnt.rockpt_" + _root.rockpt_nb) + ".speedx", -5);
Set(("_root.cnt.rockpt_" + _root.rockpt_nb) + ".speedy", -5);
_root.rockpt_nb = _root.rockpt_nb + 1;
if (_root.rockpt_nb > 10) {
_root.rockpt_nb = 1;
}
}
Instance of Symbol 639 MovieClip in Symbol 848 MovieClip Frame 119
onClipEvent (load) {
eval ("_root.cnt.rockpt_" + _root.rockpt_nb).gotoAndStop(1);
eval ("_root.cnt.rockpt_" + _root.rockpt_nb).gotoAndStop(2);
Set(("_root.cnt.rockpt_" + _root.rockpt_nb) + "._x", _parent._parent._parent._x);
Set(("_root.cnt.rockpt_" + _root.rockpt_nb) + "._y", _parent._parent._parent._y);
Set(("_root.cnt.rockpt_" + _root.rockpt_nb) + ".speedx", -5);
Set(("_root.cnt.rockpt_" + _root.rockpt_nb) + ".speedy", -5);
_root.rockpt_nb = _root.rockpt_nb + 1;
if (_root.rockpt_nb > 3) {
_root.rockpt_nb = 1;
}
}
Instance of Symbol 639 MovieClip in Symbol 848 MovieClip Frame 167
onClipEvent (load) {
eval ("_root.cnt.rockpt_" + _root.rockpt_nb).gotoAndStop(1);
eval ("_root.cnt.rockpt_" + _root.rockpt_nb).gotoAndStop(2);
Set(("_root.cnt.rockpt_" + _root.rockpt_nb) + "._x", _parent._parent._parent._x);
Set(("_root.cnt.rockpt_" + _root.rockpt_nb) + "._y", _parent._parent._parent._y);
Set(("_root.cnt.rockpt_" + _root.rockpt_nb) + ".speedx", -5);
Set(("_root.cnt.rockpt_" + _root.rockpt_nb) + ".speedy", -5);
_root.rockpt_nb = _root.rockpt_nb + 1;
if (_root.rockpt_nb > 3) {
_root.rockpt_nb = 1;
}
}
Symbol 851 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 5;
}
stop();
onEnterFrame = function () {
if (aa > 66) {
aa = 1;
}
if (_parent._parent.shieldactive == 2) {
if (aa < 35) {
aa = aa + (speed * _root.slowmotion);
}
if ((aa >= 35) && (aa <= 40)) {
aa = 35;
}
if (aa > 40) {
aa = 2;
}
} else if (aa > 1) {
aa = aa + (speed * _root.slowmotion);
}
gotoAndStop(Math.round(aa));
if (_currentframe == 1) {
_visible = false;
} else {
_visible = true;
}
};
Symbol 857 MovieClip Frame 1
gotoAndPlay((random(5) + 1) * 2);
Symbol 857 MovieClip Frame 3
stop();
Symbol 857 MovieClip Frame 5
stop();
Symbol 857 MovieClip Frame 7
stop();
Symbol 857 MovieClip Frame 9
stop();
Symbol 857 MovieClip Frame 11
stop();
Symbol 858 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_parent._parent.speedy < -5) {
ab = random(3) + 1;
if (_root.jump == 1) {
ab = 1;
}
if (ab == 1) {
aa = 1;
}
if (ab == 2) {
aa = 201;
}
if (ab == 3) {
aa = 301;
}
} else {
aa = 30;
}
speed = 3.7;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
if ((aa >= 80) && (aa < 200)) {
if (aa > 140) {
aa = aa - 80;
}
}
if ((aa >= 200) && (aa < 250)) {
if (aa > 236) {
aa = 30;
}
}
if ((aa >= 300) && (aa < 350)) {
if (aa > 336) {
aa = 30;
}
}
gotoAndStop(Math.round(aa));
};
Symbol 860 MovieClip Frame 3
stop();
Symbol 861 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 3.7;
limit = (10 * _root.slide) + 25;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
if (aa > 30) {
if (aa < (130 - limit)) {
aa = 130 - limit;
}
}
if (aa >= 191) {
aa = 191;
_parent._parent.sliding = 1;
}
gotoAndStop(Math.round(aa));
};
Symbol 862 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 3;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
if (aa >= 80) {
aa = 80;
_parent._parent.rolling = 1;
}
gotoAndStop(Math.round(aa));
};
Symbol 867 MovieClip Frame 1
gotoAndPlay((random(4) + 1) * 2);
Symbol 867 MovieClip Frame 3
stop();
Symbol 867 MovieClip Frame 5
stop();
Symbol 867 MovieClip Frame 7
stop();
Symbol 867 MovieClip Frame 9
stop();
Symbol 869 MovieClip Frame 3
stop();
Symbol 870 MovieClip Frame 114
stop();
Symbol 870 MovieClip Frame 146
stop();
Symbol 871 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 4.7;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
if (aa > 42) {
aa = 42;
}
gotoAndStop(Math.round(aa));
};
Symbol 872 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 50;
}
onEnterFrame = function () {
speed = 0.2;
sx = ((_parent._parent._rotation * 50) / 45) + 50;
trace(sx);
if (sx < 1) {
sx = 1;
}
if (sx > 100) {
sx = 100;
}
speedx = (sx - aa) * speed;
if ((aa < (sx - 0.5)) || (aa > (sx + 0.5))) {
aa = aa + speedx;
}
gotoAndStop(Math.round(aa));
};
Symbol 873 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 1.8;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
if (aa > 100) {
aa = aa - 100;
}
gotoAndStop(Math.round(aa));
};
Symbol 875 MovieClip Frame 1
stop();
Symbol 880 MovieClip Frame 50
gotoAndPlay (1);
Symbol 880 MovieClip Frame 51
stop();
Symbol 880 MovieClip Frame 127
stop();
Symbol 880 MovieClip Frame 160
stop();
Symbol 880 MovieClip Frame 193
stop();
Symbol 883 MovieClip Frame 1
_visible = false;
onEnterFrame = function () {
};
Symbol 883 MovieClip Frame 2
fall = 1;
speed_run = 10;
speed_jump = -55;
speedx = 0;
speedy = 0;
rot_mem_1 = 0;
rot_mem_2 = 0;
rot_mem_3 = 0;
rot_mem_4 = 0;
sliding = 1;
rolling = 1;
rebound = 1;
attacking = 1;
tyro = 0;
perche = 1;
perchelaunch = 0;
ride = 0;
light = 1;
lightpt_timer = 0;
inwater = 1;
shieldactive = 1;
_visible = true;
stop();
onEnterFrame = function () {
if (_root.pausedd == 1) {
if ((_x > _parent.pt_start._x) && (_root.act == 2)) {
_root.act = 1;
_parent.pt_start.gotoAndStop(2);
}
if ((_x > _parent.pt_end._x) && (_root.act == 1)) {
_root.act = 3;
_parent.pt_end.gotoAndStop(2);
if ((((((_root.lvl == 3) || (_root.lvl == 4)) || (_root.lvl == 5)) || (_root.lvl == 9)) || (_root.lvl == 11)) || (_root.lvl == 14)) {
_root.zoomed = 1.1;
}
}
if (light == 2) {
if (lightpt_timer > 0) {
lightpt_timer = lightpt_timer - (1 * _root.slowmotion);
} else {
lightpt_timer = random(3) + 3;
eval ("_root.cnt.lightpt_" + _root.lightpt_nb).gotoAndStop(1);
eval ("_root.cnt.lightpt_" + _root.lightpt_nb).gotoAndStop(2);
_root.lightpt_nb = _root.lightpt_nb + 1;
if (_root.lightpt_nb > 10) {
_root.lightpt_nb = 1;
}
}
}
if (_root.act == 1) {
if (Key.isDown(38)) {
if (keyreleased_38 == 2) {
keyreleased_38 = 1;
if (((((((fallanim_timer > 1) || (rolling == 2)) || (sliding == 2)) || (sliding == 3)) || (ride != 0)) || (tyro != 0)) || (perchelaunch != 0)) {
jump = _root.jump;
}
if (perchelaunch == 0) {
if ((jump > 2) && (_root.dificulty == 2)) {
jump = 2;
}
if (jump > 0) {
jump = jump - 1;
if (tyro != 0) {
speedx = eval (("_parent.tyro_" + tyro) + ".speed") * 3.5;
tyro = 0;
_y = (_y - 100);
}
if (ride != 0) {
_y = (_y - 100);
speedx = 20;
if (eval (("_root.cnt.ride_" + ride) + ".speedjumpx") != undefined) {
speedx = eval (("_root.cnt.ride_" + ride) + ".speedjumpx");
}
ride = 0;
}
sliding = 1;
speedy = speed_jump;
fallanim_timer = 0;
anims.gotoAndStop(1);
}
}
}
} else {
keyreleased_38 = 2;
}
if (Key.isDown(40)) {
if (keyreleased_40 == 2) {
keyreleased_40 = 1;
if (tyro != 0) {
speedx = eval (("_parent.tyro_" + tyro) + ".speed") * 5.5;
speedy = 5;
_y = (_y + 150);
tyro = 0;
}
if (fallanim_timer > 1) {
if (sliding == 1) {
sliding = 2;
speedx = speedx * (1.1 + (0.15 * _root.slide));
}
}
}
} else {
keyreleased_40 = 2;
}
if (Key.isDown(32)) {
if (keyreleased_32 == 2) {
keyreleased_32 = 1;
if ((((((sliding == 1) && (tyro == 0)) && (ride == 0)) && (rebound == 1)) && (perchelaunch == 0)) && (sliding3_kicker == 1)) {
if (_root.shake < 8) {
_root.shake = 8;
}
if (_root.sword != 0) {
_root.cnt.swordblast.aa = 2;
}
speedx = 22;
attacking = 2;
_root.cnt.ninjapt_1.gotoAndStop(1);
_root.cnt.ninjapt_2.gotoAndStop(1);
_root.cnt.ninjapt_3.gotoAndStop(1);
_root.cnt.ninjapt_4.gotoAndStop(1);
_root.cnt.ninjapt_1.gotoAndStop(2);
_root.cnt.ninjapt_2.gotoAndStop(2);
_root.cnt.ninjapt_3.gotoAndStop(2);
_root.cnt.ninjapt_4.gotoAndStop(2);
}
}
} else {
keyreleased_32 = 2;
}
if (Key.isDown(39)) {
if (keyreleased_39 == 2) {
keyreleased_39 = 1;
if ((_root.cnt.smokebomb._currentframe == 1) && (_root.smokebomb != 0)) {
_root.cnt.smokebomb.gotoAndStop(2);
}
}
} else {
keyreleased_39 = 2;
}
shieldactive = 1;
if (_root.shield != 0) {
if (Key.isDown(37)) {
shieldactive = 2;
} else {
shieldactive = 1;
}
}
}
if ((((_root.act == 1) || (_root.act == 2)) || (_root.act == 3)) || (_root.act == 5)) {
if (fall == 2) {
fallanim_timer = fallanim_timer - 1;
if (sliding != 3) {
if (speedy < -0.5) {
speedy = speedy * (1 - (0.25 * _root.slowmotion));
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * (1 + (0.25 * _root.slowmotion));
}
}
if (speedy > 20) {
speedy = 20;
from_big_drop_timer = from_big_drop_timer + 1;
if (from_big_drop_timer >= 9) {
from_big_drop = 2;
}
} else {
from_big_drop_timer = 0;
}
} else {
fallanim_timer = 7;
if (speedy > 0) {
speedy = 0;
}
if (from_big_drop == 2) {
rolling = 2;
}
from_big_drop = 1;
}
if (sliding == 2) {
_x = (_x + (4.6 * _root.slowmotion));
}
if (sliding == 3) {
if (sliding3_kicker == 1) {
if (speedx < (speed_run * 3)) {
speedx = speedx + (0.2 * _root.slowmotion);
}
speedy = speedx;
_rotation = 45;
before_kickerspeed_adjust_go = 2;
} else {
if (before_kickerspeed_adjust_go == 2) {
before_kickerspeed_adjust_go = 1;
speedx = 25;
speedy = 18;
}
if (speedy > 0.5) {
speedy = speedy * (1 - (0.24 * _root.slowmotion));
}
if ((speedy > -1) && (speedy <= 0.5)) {
speedy = -1;
}
if (speedy <= -1) {
speedy = speedy * (1 + (0.75 * _root.slowmotion));
}
if (speedy < -45) {
speedy = -45;
}
_rotation = (_rotation - (4.5 * _root.slowmotion));
}
if (anims.boxx.aa > 65) {
anims.boxx.aa = 65;
}
} else {
sliding3_kicker = 1;
if (fall == 1) {
if ((speedx > (speed_run * 2)) && (attacking != 2)) {
speedx = speed_run * 2;
}
if (speedx > speed_run) {
speedx = speedx - 1;
}
if (speedx > speed_run) {
speedx = speedx - 1;
}
if (speedx < speed_run) {
speedx = speed_run;
}
} else if (speedx < speed_run) {
speedx = speedx + 1;
}
_rotation = 0;
}
if (rebound == 2) {
speedx = 0;
speedy = 0;
}
if (tyro != 0) {
speedx = 0;
speedy = 0;
_x = (eval (("_parent.tyro_" + tyro) + "._x") + eval (("_parent.tyro_" + tyro) + ".boxx._x"));
_y = ((eval (("_parent.tyro_" + tyro) + "._y") + eval (("_parent.tyro_" + tyro) + ".boxx._y")) + 50);
}
if (ride != 0) {
speedx = 0;
speedy = 0;
_x = (eval (("_parent.ride_" + ride) + "._x") + eval (("_parent.ride_" + ride) + ".boxx._x"));
_y = (eval (("_parent.ride_" + ride) + "._y") + eval (("_parent.ride_" + ride) + ".boxx._y"));
_rotation = eval (("_parent.ride_" + ride) + ".boxx._rotation");
}
if (perchelaunch != 0) {
speedx = 0;
speedy = 0;
_x = (eval (("_parent.perchelaunch_" + perchelaunch) + "._x") + eval (("_parent.perchelaunch_" + perchelaunch) + ".boxx._x"));
_y = ((eval (("_parent.perchelaunch_" + perchelaunch) + "._y") + eval (("_parent.perchelaunch_" + perchelaunch) + ".boxx._y")) + 50);
}
}
if (_root.act == 4) {
light = 1;
perche = 1;
if (inwater == 1) {
anims.gotoAndStop(6);
speedx = speedx * (1 - (0.05 * _root.slowmotion));
if (fall == 2) {
if (speedy < -0.5) {
speedy = speedy * (1 - (0.25 * _root.slowmotion));
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * (1 + (0.25 * _root.slowmotion));
}
if (speedy > 20) {
speedy = 20;
}
} else {
if (anims.boxx._currentframe < 115) {
_root.shake = Math.abs(speedy);
anims.boxx.gotoAndPlay(115);
}
speedy = 0;
}
} else {
anims.gotoAndStop(9);
speedx = speedx * (1 - (0.2 * _root.slowmotion));
speedy = speedy * (1 - (0.2 * _root.slowmotion));
}
}
_x = (_x + (speedx * _root.slowmotion));
_y = (_y + (speedy * _root.slowmotion));
if ((tyro != 0) || (perchelaunch != 0)) {
_visible = false;
} else {
_visible = true;
}
if (((_root.act == 1) || (_root.act == 2)) || (_root.act == 3)) {
if (attacking == 1) {
if (ride == 0) {
if (sliding == 1) {
if (rebound == 1) {
if (rolling == 1) {
if (fallanim_timer > 0) {
anims.gotoAndStop(1);
} else {
anims.gotoAndStop(2);
}
} else {
anims.gotoAndStop(5);
}
} else {
anims.gotoAndStop(7);
}
} else {
anims.gotoAndStop(3);
}
} else {
anims.gotoAndStop(8);
}
} else {
anims.gotoAndStop(4);
}
}
}
};
Instance of Symbol 639 MovieClip in Symbol 883 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((((_root.act == 1) || (_root.act == 2)) || (_root.act == 3)) || (_root.act == 5)) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.fall = 1;
_parent.jump = _root.jump;
} else {
_parent.fall = 2;
}
var nb = 1;
while (nb < 51) {
if (_root.cnt["rebound_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt["rebound_" + nb].aa = 2;
_root.cnt["rebound_" + nb].gotoAndStop(2);
_parent._x = _root.cnt["rebound_" + nb]._x;
_parent._y = _root.cnt["rebound_" + nb]._y;
_parent.rebound = 2;
}
nb++;
}
i++;
}
this.hitpts2 = new Array({x:0, y:-10});
i2 = 0;
while (i2 < this.hitpts2.length) {
this.localToGlobal(hitpts2[i2]);
if (_root.cnt.hitt.hitTest(hitpts2[i2].x, hitpts2[i2].y, true)) {
_parent._y = _parent._y - 10;
}
i2++;
}
if (_parent.sliding == 3) {
this.hitpts2 = new Array({x:0, y:-2});
i2 = 0;
while (i2 < this.hitpts2.length) {
this.localToGlobal(hitpts2[i2]);
var nb = 1;
while (nb < 51) {
if (_root.cnt["slide_" + nb].hitTest(hitpts2[i2].x, hitpts2[i2].y, true)) {
_parent._y = _parent._y - (2 * _root.slowmotion);
}
nb++;
}
i2++;
}
}
if (_root.act != 2) {
pointx = _parent.speedx * _root.slowmotion;
if (_parent.sliding == 1) {
pointy = -65;
} else {
pointy = -20;
}
this.hitpts = new Array({x:pointx, y:pointy});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.act = 4;
_parent.anims.gotoAndStop(6);
_parent._x = _parent._x + (_parent.speedx * -1.5);
_parent.speedx = -4;
_parent.speedy = _parent.speedy * 0.7;
_root.shake = 15;
}
if (_root.cnt.w_hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.act = 4;
_root.shake = 20;
_root.cnt.water_splash.gotoAndStop(1);
_root.cnt.water_splash.gotoAndStop(2);
_root.cnt.water_splash._x = _parent._x;
_root.cnt.water_splash._y = _parent._y;
_parent.inwater = 2;
}
var nb = 1;
while (nb < 51) {
if (_root.cnt["slide_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.sliding = 3;
}
if (_root.cnt["slide_" + nb].hitt_1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent.sliding == 3) {
_parent.sliding = 1;
}
}
if (_root.cnt["slide_" + nb].hitt_2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent.sliding == 3) {
_parent.sliding3_kicker = 2;
}
}
if (_root.cnt["event_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt["event_" + nb].act = 2;
if (_root.cnt["event_" + nb].slowmotion != undefined) {
_root.slowmotion = _root.cnt["event_" + nb].slowmotion;
}
if (_root.cnt["event_" + nb].zoomed != undefined) {
_root.zoomed = _root.cnt["event_" + nb].zoomed;
}
}
if (_root.cnt["light_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt["light_" + nb].gotoAndStop(2);
_parent.light = 2;
}
if (_root.cnt["chute_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.light = 1;
_root.shake = 13;
_root.cnt.water_splash.gotoAndStop(1);
_root.cnt.water_splash.gotoAndStop(2);
_root.cnt.water_splash._x = _parent._x;
_root.cnt.water_splash._y = _parent._y;
}
if (_root.cnt["perche_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent.perche == 1) {
trace("TAKE PINE");
_root.cnt["perche_" + nb].gotoAndStop(2);
_parent.perche = 2;
}
}
if (_root.cnt["ride_" + nb].boxx.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent.ride == 0) {
if (_root.cnt["ride_" + nb]._currentframe == 1) {
_root.cnt["ride_" + nb].aa = 2;
_root.cnt["ride_" + nb].gotoAndStop(2);
}
_parent.ride = _root.cnt["ride_" + nb].nb;
}
}
if (_root.cnt["tyro_" + nb].boxx.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt["tyro_" + nb]._currentframe < 500) {
if (_root.cnt["tyro_" + nb]._currentframe == 1) {
_root.cnt["tyro_" + nb].aa = 2;
_root.cnt["tyro_" + nb].gotoAndStop(2);
_parent.tyro = 2;
}
_parent.tyro = _root.cnt["tyro_" + nb].nb;
}
}
if (_root.cnt["gold_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt["gold_" + nb].gotoAndStop(2);
if (_root.cnt["gold_" + nb].nb != undefined) {
_root.gold_collect = _root.gold_collect + 1;
}
}
if (_root.cnt["e_" + nb].boxx.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent.attacking == 2) {
_root.slowmotion = 1;
_root.shake = 25;
_root.cnt["e_" + nb].gotoAndStop(11);
}
}
if (_root.cnt["e_" + nb].boxx.boxx.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.act = 4;
_parent.anims.gotoAndStop(6);
_parent._x = _parent._x + (_parent.speedx * -1.5);
_parent.speedx = -4;
_parent.speedy = _parent.speedy * 0.7;
_root.shake = 15;
}
nb++;
}
i++;
}
}
this.hitpts = new Array({x:200, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
}
var nb = 1;
while (nb < 51) {
if (_root.cnt["perchelaunch_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent.perche == 2) {
_root.cnt["perchelaunch_" + nb].aa = 2;
_root.cnt["perchelaunch_" + nb].gotoAndPlay(2);
_root.cnt["perchelaunch_" + nb].perche.aa = 2;
_root.cnt["perchelaunch_" + nb].perche.gotoAndPlay(2);
_parent.perche = 1;
_parent.perchelaunch = _root.cnt["perchelaunch_" + nb].nb;
}
}
nb++;
}
i++;
}
}
if (_root.act == 4) {
this.hitpts = new Array({x:0, y:-45});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.fall = 1;
} else {
_parent.fall = 2;
}
i++;
}
}
}
Symbol 897 MovieClip Frame 17
gotoAndPlay (1);
Symbol 897 MovieClip Frame 81
_parent.e_1.gotoAndStop(41);
Symbol 897 MovieClip Frame 95
_parent.e_2.gotoAndStop(41);
Symbol 897 MovieClip Frame 185
_parent.e_1.gotoAndPlay(42);
_parent.e_2.gotoAndPlay(42);
_parent.play();
Symbol 897 MovieClip Frame 220
_parent._parent.progintro.ninja_act = 6;
Symbol 897 MovieClip Frame 227
_parent._parent.ninja.anims.boxx.gotoAndPlay(128);
Symbol 897 MovieClip Frame 265
_parent._parent.vieuxintro.gotoAndPlay(2);
stop();
Symbol 900 MovieClip Frame 40
gotoAndPlay (1);
Symbol 900 MovieClip Frame 50
stop();
Symbol 903 MovieClip Frame 40
gotoAndPlay (1);
Symbol 903 MovieClip Frame 41
stop();
Symbol 903 MovieClip Frame 50
stop();
Symbol 905 MovieClip Frame 1
stop();
Symbol 905 MovieClip Frame 21
_root.shake = 18;
Symbol 905 MovieClip Frame 30
stop();
Symbol 909 MovieClip Frame 821
stop();
Symbol 913 MovieClip Frame 1
_x = (random(10) - 5);
_y = (random(10) - 5);
speedx = (_parent.speedx + random(6)) - 3;
speedy = (_parent.speedy + random(6)) - 3;
speedr = random(20) - 10;
_xscale = (random(50) + 50);
_yscale = _xscale;
stop();
onEnterFrame = function () {
_x = (_x + (speedx * _root.slowmotion));
_y = (_y + (speedy * _root.slowmotion));
_rotation = (_rotation + (speedr * _root.slowmotion));
speedx = speedx * (1 - (0.05 * _root.slowmotion));
if (speedy < -0.5) {
speedy = speedy * (1 - (0.05 * _root.slowmotion));
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * (1 + (0.05 * _root.slowmotion));
}
speedr = speedr * (1 - (0.05 * _root.slowmotion));
};
Symbol 914 MovieClip Frame 1
_visible = false;
Symbol 914 MovieClip Frame 2
_visible = true;
stop();
Symbol 917 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
};
Symbol 917 MovieClip Frame 2
_x = _root.cnt.ninja._x;
_y = _root.cnt.ninja._y;
_alpha = 100;
_xscale = (random(50) + 50);
_yscale = _xscale;
_rotation = (random(360) + 1);
speedx = random(10) - 5;
speedy = random(10) - 5;
speeda = random(5) + 1;
_visible = true;
stop();
onEnterFrame = function () {
_x = (_x + (speedx * _root.slowmotion));
_y = (_y + (speedy * _root.slowmotion));
if (_alpha > 0) {
_alpha = (_alpha - (speeda * _root.slowmotion));
} else {
gotoAndStop (1);
}
speedx = speedx * (1 - (0.08 * _root.slowmotion));
speedy = speedy * (1 - (0.08 * _root.slowmotion));
};
Symbol 920 MovieClip Frame 1
speed = 22;
distx = _parent._x - _parent._parent.ninja._x;
disty = (_parent._y - _parent._parent.ninja._y) + _parent.adjusty;
disttot = Math.abs(distx) + Math.abs(disty);
speedx = ((speed * distx) / disttot) * -1;
speedy = ((speed * disty) / disttot) * -1;
stop();
onEnterFrame = function () {
_rotation = (_rotation - (10 * _root.slowmotion));
_x = (_x + (speedx * _root.slowmotion));
_y = (_y + (speedy * _root.slowmotion));
};
Instance of Symbol 639 MovieClip in Symbol 920 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.ninja.anims.shield.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.gotoAndStop(2);
}
if (_root.cnt.ninja.anims.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.act = 4;
_root.cnt.ninja.anims.gotoAndStop(6);
_root.cnt.ninja._x = _root.cnt.ninja._x + (_root.cnt.ninja.speedx * -1.5);
_root.cnt.ninja.speedx = -4;
_root.cnt.ninja.speedy = _root.cnt.ninja.speedy * 0.7;
_root.shake = 15;
}
i++;
}
}
Symbol 920 MovieClip Frame 2
speedx = speedx * -1;
speedy = speedy * -1;
stop();
onEnterFrame = function () {
_rotation = (_rotation - (10 * _root.slowmotion));
_x = (_x + (speedx * _root.slowmotion));
_y = (_y + (speedy * _root.slowmotion));
};
Symbol 921 MovieClip Frame 1
_visible = false;
stop();
Symbol 921 MovieClip Frame 2
_visible = true;
stop();
Symbol 929 MovieClip Frame 3
stop();
Symbol 930 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 5;
_visible = false;
}
stop();
onEnterFrame = function () {
_x = _root.cnt.ninja._x;
_y = (_root.cnt.ninja._y - 45);
if (aa > 1) {
aa = aa + (speed * _root.slowmotion);
}
if (aa > 110) {
aa = 1;
}
gotoAndStop(Math.round(aa));
if (_currentframe == 1) {
_visible = false;
} else {
_visible = true;
}
};
Symbol 939 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
};
Symbol 939 MovieClip Frame 2
_visible = true;
_x = _root.cnt.ninja._x;
_y = (_root.cnt.ninja._y - 120);
speedx = _root.cnt.ninja.speedx * 2;
speedy = 0;
speedr = random(20) - 10;
stop();
onEnterFrame = function () {
_x = (_x + (speedx * _root.slowmotion));
_y = (_y + (speedy * _root.slowmotion));
_rotation = (_rotation + speedr);
speedx = speedx * (1 - (0.04 * _root.slowmotion));
if (speedy < -0.5) {
speedy = speedy * (1 - (0.1 * _root.slowmotion));
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * (1 + (0.1 * _root.slowmotion));
}
speedr = speedr * (1 - (0.03 * _root.slowmotion));
};
Instance of Symbol 639 MovieClip in Symbol 939 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.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.gotoAndPlay(3);
}
i++;
}
}
Symbol 939 MovieClip Frame 3
onEnterFrame = function () {
play();
_root.slowmotion = 0.2;
};
Symbol 939 MovieClip Frame 250
stop();
onEnterFrame = function () {
if (_root.slowmotion < 1) {
_root.slowmotion = _root.slowmotion + 0.01;
} else {
gotoAndStop (1);
}
};
Symbol 942 MovieClip Frame 40
stop();
Symbol 944 MovieClip Frame 1
speedx = -random(20);
speedy = -random(20);
speedr = 10 + random(10);
speeda = (random(5) + 5) * 0.3;
_xscale = (random(50) + 50);
_yscale = _xscale;
_rotation = random(360);
stop();
onEnterFrame = function () {
_x = (_x + (speedx * _root.slowmotion));
_y = (_y + (speedy * _root.slowmotion));
_rotation = (_rotation + (speedr * _root.slowmotion));
speedx = speedx * (1 - (0.05 * _root.slowmotion));
speedy = speedy * (1 - (0.05 * _root.slowmotion));
if (_alpha > 0) {
_alpha = (_alpha - (speeda * _root.slowmotion));
}
};
Symbol 946 MovieClip Frame 1
speedx = -random(20);
speedy = -random(20);
speeda = (random(5) + 5) * 0.3;
_xscale = (random(50) + 50);
_yscale = _xscale;
stop();
onEnterFrame = function () {
_x = (_x + (speedx * _root.slowmotion));
_y = (_y + (speedy * _root.slowmotion));
_x = (_x + ((random(4) - 2) * _root.slowmotion));
speedx = speedx * (1 - (0.05 * _root.slowmotion));
speedy = speedy * (1 - (0.05 * _root.slowmotion));
if (_alpha > 0) {
_alpha = (_alpha - (speeda * _root.slowmotion));
}
};
Symbol 949 MovieClip Frame 1
stop();
Symbol 961 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
if ((_parent.tigre._x >= _x) && (tiger_never_pass != 2)) {
_parent.tigre.act = 1;
_parent.tigre.anims.gotoAndStop(5);
tiger_never_pass = 2;
}
if ((_parent.erun_1._x >= (_x - 80)) && (erun_never_pass1 != 2)) {
_parent.erun_1.act = 1;
_parent.erun_1.anims.gotoAndStop(4);
erun_never_pass1 = 2;
}
if ((_parent.erun_2._x >= (_x - 160)) && (erun_never_pass2 != 2)) {
_parent.erun_2.act = 1;
_parent.erun_2.anims.gotoAndStop(4);
erun_never_pass2 = 2;
}
if ((_parent.erun_3._x >= (_x - 80)) && (erun_never_pass3 != 2)) {
_parent.erun_3.act = 1;
_parent.erun_3.anims.gotoAndStop(4);
erun_never_pass3 = 2;
}
if ((_parent.erun_4._x >= (_x - 160)) && (erun_never_pass4 != 2)) {
_parent.erun_4.act = 1;
_parent.erun_4.anims.gotoAndStop(4);
erun_never_pass4 = 2;
}
};
Symbol 975 MovieClip Frame 1
aa = 1;
stop();
onEnterFrame = function () {
if (aa > 1) {
aa = aa + (1 * _root.slowmotion);
}
if (aa > 17) {
aa = 1;
}
gotoAndStop(Math.round(aa));
};
Instance of Symbol 639 MovieClip in Symbol 975 MovieClip Frame 9
onClipEvent (load) {
_root.cnt.ninja.jump = _root.jump;
_root.cnt.ninja.speedx = 8;
_root.cnt.ninja.speedy = -125;
_root.cnt.ninja._y = _root.cnt.ninja._y - 125;
_root.cnt.ninja.rebound = 1;
}
Symbol 979 MovieClip Frame 1
stop();
Symbol 983 MovieClip Frame 8
stop();
Symbol 985 MovieClip Frame 3
stop();
Symbol 986 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 4.7;
im_percheanim = 2;
}
stop();
onEnterFrame = function () {
if (aa > 1) {
aa = aa + (speed * _root.slowmotion);
}
if (aa > 442) {
aa = 442;
}
gotoAndStop(Math.round(aa));
};
Instance of Symbol 639 MovieClip in Symbol 986 MovieClip Frame 215
onClipEvent (load) {
_root.cnt.ninja.jump = _root.jump;
_root.cnt.ninja.perchelaunch = 0;
_root.cnt.ninja.speedx = 18;
_root.cnt.ninja.speedy = 0;
}
Symbol 993 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_root.lvl <= 6) {
gotoAndStop (1);
}
if ((_root.lvl > 6) && (_root.lvl <= 13)) {
gotoAndStop (2);
}
if (_root.lvl > 13) {
gotoAndStop (3);
}
}
Instance of Symbol 990 MovieClip in Symbol 993 MovieClip Frame 1
onClipEvent (load) {
if (_root.lvl >= 14) {
_visible = false;
}
}
Instance of Symbol 990 MovieClip in Symbol 993 MovieClip Frame 1
onClipEvent (load) {
if (_root.lvl >= 14) {
_visible = false;
}
}
Symbol 996 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_root.lvl <= 6) {
gotoAndStop (1);
}
if ((_root.lvl > 6) && (_root.lvl <= 13)) {
gotoAndStop (2);
}
if (_root.lvl > 13) {
gotoAndStop (3);
}
}
Symbol 1000 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_root.lvl <= 6) {
gotoAndStop (1);
}
if ((_root.lvl > 6) && (_root.lvl <= 13)) {
gotoAndStop (2);
}
if (_root.lvl > 13) {
gotoAndStop (3);
}
}
Symbol 1001 MovieClip Frame 1
gotoAndStop(random(3) + 1);
Symbol 1002 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 7;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
if (aa > 696) {
aa = 270;
}
gotoAndStop(Math.round(aa));
};
Instance of Symbol 639 MovieClip in Symbol 1002 MovieClip Frame 151
onClipEvent (load) {
_parent._parent.speedy = 10;
}
Symbol 1003 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
stade = 1;
speedx = 0;
speedy = 0;
speedr = 0;
sty = _y;
}
stop();
onEnterFrame = function () {
if (stade == 1) {
if ((_root.cnt.ninja._x > (_parent._x - 200)) && (_root.cnt.ninja._x < _parent._x)) {
if (_parent.slowmotion != undefined) {
_root.slowmotion = _parent.slowmotion;
}
speedy = (_parent._y - _root.cnt.ninja._y) * -0.19;
if (_parent.calmdown != undefined) {
speedy = speedy * _parent.calmdown;
}
speedx = -5;
stade = 2;
trace("attack");
}
}
if (stade == 2) {
speedx = speedx * (1 - (0.1 * _root.slowmotion));
if (speedy < -0.5) {
speedy = speedy * (1 - (0.1 * _root.slowmotion));
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * (1 + (0.1 * _root.slowmotion));
}
if (_y > (sty + 5)) {
speedy = 0;
speedx = 0;
}
}
_x = (_x + (speedx * _root.slowmotion));
_y = (_y + (speedy * _root.slowmotion));
if (_root.cnt.ninja._x > (_parent._x + 50)) {
_parent._xscale = -100;
}
if (stade == 1) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
_parent.mem_y = _y;
};
Symbol 1007 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_root.lvl <= 6) {
gotoAndStop (1);
}
if ((_root.lvl > 6) && (_root.lvl <= 13)) {
gotoAndStop (2);
}
if (_root.lvl > 13) {
gotoAndStop (3);
}
}
Symbol 1011 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_root.lvl <= 6) {
gotoAndStop (1);
}
if ((_root.lvl > 6) && (_root.lvl <= 13)) {
gotoAndStop (2);
}
if (_root.lvl > 13) {
gotoAndStop (3);
}
}
Symbol 1012 MovieClip Frame 1
gotoAndStop(random(2) + 1);
Symbol 1015 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 5.7;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
if (aa > 284) {
aa = 284;
}
gotoAndStop(Math.round(aa));
};
Symbol 1016 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
stade = 1;
speedx = 0;
speedy = 0;
speedr = 0;
sty = _y;
dist = 200;
if (_parent.dist != undefined) {
dist = _parent.dist;
}
}
stop();
onEnterFrame = function () {
if (stade == 1) {
if ((_root.cnt.ninja._x > (_parent._x - dist)) && (_root.cnt.ninja._x < _parent._x)) {
if (_parent.slowmotion != undefined) {
_root.slowmotion = _parent.slowmotion;
}
speedy = (_parent._y - _root.cnt.ninja._y) * -0.19;
if (_parent.calmdown != undefined) {
speedy = speedy * _parent.calmdown;
}
speedx = 5;
stade = 2;
trace("attack");
}
}
if (stade == 2) {
speedx = speedx * (1 - (0.1 * _root.slowmotion));
if (speedy < -0.5) {
speedy = speedy * (1 - (0.1 * _root.slowmotion));
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * (1 + (0.1 * _root.slowmotion));
}
if (_y > (sty + 5)) {
speedy = 0;
speedx = 0;
}
}
_x = (_x + (speedx * _root.slowmotion));
_y = (_y + (speedy * _root.slowmotion));
if (_root.cnt.ninja._x > (_parent._x + 50)) {
_parent._xscale = -100;
}
if (stade == 1) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
_parent.mem_y = _y;
};
Symbol 1031 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 5;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
if (aa > 300) {
aa = aa - 300;
}
gotoAndStop(Math.round(aa));
};
Symbol 1032 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 5.7;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
if (aa > 70) {
aa = 70;
}
gotoAndStop(Math.round(aa));
};
Instance of Symbol 639 MovieClip in Symbol 1032 MovieClip Frame 8
onClipEvent (load) {
eval ("_root.cnt.shuriken_" + _root.shuriken_nb).gotoAndStop(1);
eval ("_root.cnt.shuriken_" + _root.shuriken_nb).gotoAndStop(2);
Set(("_root.cnt.shuriken_" + _root.shuriken_nb) + "._x", _parent._parent._parent._x);
Set(("_root.cnt.shuriken_" + _root.shuriken_nb) + "._y", _parent._parent._parent._y);
Set(("_root.cnt.shuriken_" + _root.shuriken_nb) + ".adjusty", 25);
_root.shuriken_nb = _root.shuriken_nb + 1;
if (_root.shuriken_nb > 10) {
_root.shuriken_nb = 1;
}
}
Instance of Symbol 639 MovieClip in Symbol 1032 MovieClip Frame 19
onClipEvent (load) {
eval ("_root.cnt.shuriken_" + _root.shuriken_nb).gotoAndStop(1);
eval ("_root.cnt.shuriken_" + _root.shuriken_nb).gotoAndStop(2);
Set(("_root.cnt.shuriken_" + _root.shuriken_nb) + "._x", _parent._parent._parent._x);
Set(("_root.cnt.shuriken_" + _root.shuriken_nb) + "._y", _parent._parent._parent._y);
Set(("_root.cnt.shuriken_" + _root.shuriken_nb) + ".adjusty", -25);
_root.shuriken_nb = _root.shuriken_nb + 1;
if (_root.shuriken_nb > 10) {
_root.shuriken_nb = 1;
}
}
Instance of Symbol 639 MovieClip in Symbol 1032 MovieClip Frame 30
onClipEvent (load) {
eval ("_root.cnt.shuriken_" + _root.shuriken_nb).gotoAndStop(1);
eval ("_root.cnt.shuriken_" + _root.shuriken_nb).gotoAndStop(2);
Set(("_root.cnt.shuriken_" + _root.shuriken_nb) + "._x", _parent._parent._parent._x);
Set(("_root.cnt.shuriken_" + _root.shuriken_nb) + "._y", _parent._parent._parent._y);
Set(("_root.cnt.shuriken_" + _root.shuriken_nb) + ".adjusty", -75);
_root.shuriken_nb = _root.shuriken_nb + 1;
if (_root.shuriken_nb > 10) {
_root.shuriken_nb = 1;
}
}
Symbol 1033 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
stade = 1;
speedx = 0;
speedy = 0;
speedr = 0;
sty = _y;
dist = 200;
if (_parent.dist != undefined) {
dist = _parent.dist;
}
}
stop();
onEnterFrame = function () {
if (stade == 1) {
if ((_root.cnt.ninja._x > (_parent._x - dist)) && (_root.cnt.ninja._x < _parent._x)) {
if (_parent.slowmotion != undefined) {
_root.slowmotion = _parent.slowmotion;
}
gotoAndStop (2);
stade = 2;
}
}
if (stade == 1) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
_parent.mem_y = _y;
};
Symbol 1034 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 5;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
if (aa > 3000) {
aa = 3000;
}
gotoAndStop(Math.round(aa));
};
Symbol 1035 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
stade = 1;
speedx = 0;
speedy = 0;
speedr = 0;
sty = _y;
}
stop();
onEnterFrame = function () {
if (stade == 1) {
if ((_root.cnt.ninja._x > (_parent._x - 200)) && (_root.cnt.ninja._x < _parent._x)) {
if (_parent.slowmotion != undefined) {
_root.slowmotion = _parent.slowmotion;
}
speedy = (_parent._y - _root.cnt.ninja._y) * -0.19;
if (_parent.calmdown != undefined) {
speedy = speedy * _parent.calmdown;
}
speedx = -10;
stade = 2;
trace("attack");
}
}
if (stade == 2) {
speedx = speedx * (1 - (0.1 * _root.slowmotion));
if (speedy < -0.5) {
speedy = speedy * (1 - (0.1 * _root.slowmotion));
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * (1 + (0.1 * _root.slowmotion));
}
if (_y > (sty + 5)) {
speedy = 0;
speedx = 0;
}
}
_x = (_x + (speedx * _root.slowmotion));
_y = (_y + (speedy * _root.slowmotion));
if (_root.cnt.ninja._x > (_parent._x + 50)) {
_parent._xscale = -100;
}
if (stade == 1) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
_parent.mem_y = _y;
};
Symbol 1036 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 3.5;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
if (aa > 34) {
aa = 34;
}
gotoAndStop(Math.round(aa));
};
Symbol 1041 MovieClip Frame 1
gotoAndPlay((random(5) + 1) * 2);
Symbol 1041 MovieClip Frame 3
stop();
Symbol 1041 MovieClip Frame 5
stop();
Symbol 1041 MovieClip Frame 7
stop();
Symbol 1041 MovieClip Frame 9
stop();
Symbol 1041 MovieClip Frame 11
stop();
Symbol 1043 MovieClip Frame 1
gotoAndStop (2);
Symbol 1043 MovieClip Frame 2
_visible = true;
stop();
Symbol 1044 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
_y = _parent.mem_y;
stade = 1;
speedx = _root.cnt.ninja.speedx * 3;
speedy = _root.cnt.ninja.speedy * 2;
}
stop();
onEnterFrame = function () {
if (_root.pausedd == 1) {
speedx = speedx * (1 - (0.04 * _root.slowmotion));
if (speedy < -0.5) {
speedy = speedy * (1 - (0.1 * _root.slowmotion));
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * (1 + (0.06 * _root.slowmotion));
}
}
_x = (_x + (speedx * _root.slowmotion));
_y = (_y + (speedy * _root.slowmotion));
};
Instance of Symbol 639 MovieClip in Symbol 1044 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.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
trace("EN ECLATE");
_parent.gotoAndStop(2);
}
i++;
}
}
Symbol 1044 MovieClip Frame 2
stop();
onEnterFrame = function () {
};
Instance of Symbol 1043 MovieClip "rockpt_7" in Symbol 1044 MovieClip Frame 2
onClipEvent (load) {
speedx = 10;
speedy = -2;
}
Symbol 1045 MovieClip Frame 1
if (_root.cheat_4 == 2) {
_visible = false;
stop();
} else {
gotoAndStop(typee + 1);
}
Symbol 1057 MovieClip Frame 1
stop();
Symbol 1061 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 3;
if (dist == undefined) {
dist = 475;
}
}
stop();
onEnterFrame = function () {
if (aa == 1) {
if (_root.cnt.ninja._x > ((_parent._x + _x) - dist)) {
aa = 2;
}
}
if (_root.cnt.ninja._x > ((_parent._x + _x) - 270)) {
if (never_slowmo != 2) {
never_slowmo = 2;
if (slowmotion != undefined) {
_root.slowmotion = slowmotion;
}
}
}
if (aa > 1) {
aa = aa + (speed * _root.slowmotion);
}
if (aa > 180) {
aa = 180;
}
gotoAndStop(Math.round(aa));
};
Instance of Symbol 639 MovieClip in Symbol 1061 MovieClip Frame 150
onClipEvent (load) {
_root.shake = 22;
_root.slowmotion = 1;
}
Instance of Symbol 1061 MovieClip "door_1" in Symbol 1062 MovieClip Frame 1
onClipEvent (load) {
slowmotion = 0.2;
}
Symbol 1068 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_parent._parent._parent._currentframe > 1) {
_rotation = (_rotation + (8 * _root.slowmotion));
}
};
Symbol 1072 MovieClip Frame 3
stop();
Symbol 1073 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 4;
}
stop();
onEnterFrame = function () {
if (aa > 1) {
aa = aa + (speed * _root.slowmotion);
}
if (aa > 300) {
aa = 300;
}
gotoAndStop(Math.round(aa));
};
Instance of Symbol 639 MovieClip in Symbol 1073 MovieClip Frame 283
onClipEvent (load) {
_root.shake = 40;
if (_root.cnt.ninja.ride == _parent.nb) {
_root.cnt.ninja.speedx = 25;
_root.cnt.ninja.speedy = -8;
_root.cnt.ninja.ride = 0;
}
}
Symbol 1078 MovieClip Frame 1
_visible = false;
Symbol 1094 MovieClip Frame 1
gotoAndPlay (2);
Symbol 1094 MovieClip Frame 6
_root.cnt.plantsanim.gotoAndPlay(2);
Symbol 1094 MovieClip Frame 50
timer = 70;
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
_parent._parent._x = _parent._parent._x + 2;
} else {
gotoAndStop (51);
}
};
Symbol 1094 MovieClip Frame 79
gotoAndPlay (51);
Symbol 1100 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 1;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
if (aa > 15) {
aa = aa - 15;
}
gotoAndStop(Math.round(aa));
};
Symbol 1101 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 1;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
if (aa > 15) {
aa = aa - 15;
}
gotoAndStop(Math.round(aa));
};
Symbol 1105 MovieClip Frame 65
stop();
Symbol 1108 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 1;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
gotoAndStop(Math.round(aa));
};
Symbol 1109 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 1;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
if (aa > 2000) {
aa = aa - 2000;
}
gotoAndStop(Math.round(aa));
};
Symbol 1110 MovieClip Frame 1
stop();
Symbol 1111 MovieClip Frame 1
Symbol 1111 MovieClip Frame 2
act = 1;
speed_run = 13;
speed_walk = 2.4;
speedx = 0;
speedy = 0;
fall = 1;
jump = 1;
stop();
onEnterFrame = function () {
if (_root.pausedd == 1) {
if (act == 1) {
speedx = 0;
}
if (act == 2) {
if (jump == 2) {
jump = 3;
speedy = speedy - 45;
_y = (_y + speedy);
fall = 2;
}
if (_x < (_parent.ninja._x - 150)) {
if (_x > (_parent.ninja._x - 250)) {
speedx = 10;
} else {
speedx = speed_run;
}
} else if (_x < (_parent.ninja._x - 100)) {
speedx = speed_walk;
} else {
speedx = 0;
}
if (fall == 2) {
if (speedy < -0.5) {
speedy = speedy * (1 - (0.25 * _root.slowmotion));
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * (1 + (0.25 * _root.slowmotion));
}
if (speedy > 20) {
speedy = 20;
}
} else {
jump = 1;
if (speedy > 0) {
speedy = 0;
}
}
}
_x = (_x + (speedx * _root.slowmotion));
_y = (_y + (speedy * _root.slowmotion));
if (act == 2) {
if (jump != 1) {
anims.gotoAndStop(6);
} else if (_x < (_parent.ninja._x - 150)) {
anims.gotoAndStop(3);
} else if (_x < (_parent.ninja._x - 100)) {
anims.gotoAndStop(4);
} else {
anims.gotoAndStop(5);
}
}
}
};
Instance of Symbol 639 MovieClip in Symbol 1111 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((_parent.act == 2) && (_root.pausedd == 1)) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.fall = 1;
} else {
_parent.fall = 2;
}
trace(_parent.fall);
var nb = 1;
while (nb < 51) {
if (_root.cnt["things" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt["things" + nb].hitt.aa = 1;
}
nb++;
}
i++;
}
this.hitpts2 = new Array({x:0, y:-10});
i2 = 0;
while (i2 < this.hitpts2.length) {
this.localToGlobal(hitpts2[i2]);
if (_root.cnt.hitt.hitTest(hitpts2[i2].x, hitpts2[i2].y, true)) {
_parent._y = _parent._y - 10;
}
i2++;
}
}
}
Symbol 1113 MovieClip Frame 1
_alpha = 0;
stop();
Symbol 1113 MovieClip Frame 2
play();
Symbol 1113 MovieClip Frame 6
_parent.tigre.anims.gotoAndStop(2);
Symbol 1113 MovieClip Frame 104
_parent.tigre.act = 2;
_root.slowmotion = 1;
Symbol 1113 MovieClip Frame 120
_root.act = 1;
stop();
Symbol 1156 MovieClip Frame 1
stop();
Symbol 1162 MovieClip Frame 1
stop();
Symbol 1167 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = random(100) + 1;
speed = 4.7;
}
stop();
onEnterFrame = function () {
aa = aa + (speed * _root.slowmotion);
if (aa > 100) {
aa = aa - 100;
}
gotoAndStop(Math.round(aa));
};
Symbol 1169 MovieClip Frame 1
stop();
Symbol 1169 MovieClip Frame 120
gotoAndPlay (31);
Symbol 1173 MovieClip Frame 1
ninja_on = 1;
aa = 1;
speed = 0;
stop();
onEnterFrame = function () {
ratio_dessin_2 = 100 - (_xscale - 100);
if (ratio_dessin_2 < 100) {
ratio_dessin_3 = ((100 - ratio_dessin_2) * 0.2) / 50;
} else {
ratio_dessin_3 = ((ratio_dessin_2 - 100) * 0.2) / 50;
}
ratio_dessin = ratio_dessin_2 * (1 + ratio_dessin_3);
dessin_1._xscale = ratio_dessin;
dessin_1._yscale = dessin_1._xscale;
dessin_2._xscale = ratio_dessin;
dessin_2._yscale = dessin_2._xscale;
boxx.boxx._xscale = ratio_dessin;
boxx.boxx._yscale = boxx.boxx._xscale;
boxx.hitt._xscale = ratio_dessin;
boxx.hitt._yscale = boxx.hitt._xscale;
if (aa > 1) {
if (speed < 5) {
speed = speed + 0.05;
}
aa = aa + (speed * _root.slowmotion);
}
if (aa >= 500) {
if (_root.cnt.ninja.tyro == nb) {
_root.cnt.ninja.tyro = 0;
_root.cnt.ninja.speedx = 20;
_root.cnt.ninja._x = _root.cnt.ninja._x + 50;
_root.cnt.ninja.speedy = 3;
}
}
gotoAndStop(Math.round(aa));
if (_root.cnt.ninja.tyro == nb) {
if (boxx.boxx._currentframe == 1) {
boxx.boxx.gotoAndPlay(2);
}
} else {
boxx.boxx.gotoAndStop(1);
}
};
Symbol 1177 MovieClip Frame 1
stop();
Symbol 1177 MovieClip Frame 68
stop();
Symbol 1185 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 4;
}
stop();
onEnterFrame = function () {
if (aa > 1) {
aa = aa + (speed * _root.slowmotion);
}
if (aa > 444) {
aa = 444;
}
gotoAndStop(Math.round(aa));
};
Instance of Symbol 639 MovieClip in Symbol 1185 MovieClip Frame 360
onClipEvent (load) {
if (_root.cnt.ninja.ride == _parent.nb) {
_root.cnt.ninja.speedx = 25;
_root.cnt.ninja.speedy = -8;
_root.cnt.ninja._y = _root.cnt.ninja._y - 100;
_root.cnt.ninja.ride = 0;
}
}
Symbol 1205 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (act == 2) {
act = 1;
if (_currentframe == 1) {
gotoAndPlay (2);
}
}
};
Symbol 1205 MovieClip Frame 25
stop();
Symbol 1208 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 2.5;
}
stop();
onEnterFrame = function () {
if (aa > 1) {
aa = aa + (speed * _root.slowmotion);
}
if (aa > 3000) {
aa = 3000;
}
gotoAndStop(Math.round(aa));
};
Instance of Symbol 639 MovieClip in Symbol 1208 MovieClip Frame 1511
onClipEvent (load) {
if (_root.cnt.ninja.ride == _parent.nb) {
_root.cnt.ninja.speedx = _root.cnt.ninja.speed_run;
_root.cnt.ninja.speedy = -8;
_root.cnt.ninja._y = _root.cnt.ninja._y - 150;
_root.cnt.ninja._x = _root.cnt.ninja._x + 150;
_root.cnt.ninja.ride = 0;
}
}
Symbol 1213 MovieClip Frame 1
if (speed == undefined) {
speed = 8;
}
stop();
onEnterFrame = function () {
_x = (_x + (speed * _root.slowmotion));
if (_x > 200) {
_x = 0;
}
};
Symbol 1217 MovieClip Frame 1
_visible = false;
Symbol 1220 MovieClip Frame 1
_visible = false;
Instance of Symbol 1218 MovieClip in Symbol 1221 MovieClip Frame 1
onClipEvent (load) {
boxx.boxx.speed = 4.8 * _parent.speed_multi;
}
Instance of Symbol 1218 MovieClip in Symbol 1221 MovieClip Frame 1
onClipEvent (load) {
boxx.gotoAndPlay(8);
boxx.boxx.speed = 2.5 * _parent.speed_multi;
}
Symbol 1225 MovieClip Frame 1
_visible = false;
Symbol 1227 MovieClip Frame 1
speed = 0.7;
speedx = 0;
speedy = 0;
_x = 400;
_y = 0;
stop();
onEnterFrame = function () {
_x = (_x + ((speedx * speed) * _root.slowmotion));
_y = (_y + ((speedy * speed) * _root.slowmotion));
if (_x > 230) {
speedx = random(10) + 10;
speedy = random(5) - 2;
_xscale = (random(100) + 1);
_yscale = (random(100) + 1);
_alpha = (random(80) + 20);
_x = 0;
_y = (random(30) - 15);
}
};
Symbol 1250 MovieClip Frame 1
stop();
Symbol 1290 MovieClip Frame 1
aa = 1;
stop();
onEnterFrame = function () {
if (aa > 1) {
aa = aa + (1 * _root.slowmotion);
}
if (aa > 17) {
aa = 1;
}
gotoAndStop(Math.round(aa));
};
Instance of Symbol 639 MovieClip in Symbol 1290 MovieClip Frame 9
onClipEvent (load) {
_root.cnt.ninja.jump = _root.jump;
_root.cnt.ninja.speedx = 25;
_root.cnt.ninja.speedy = -75;
_root.cnt.ninja._y = _root.cnt.ninja._y - 75;
_root.cnt.ninja.rebound = 1;
}
Instance of Symbol 1061 MovieClip "door_1" in Symbol 1293 MovieClip Frame 1
onClipEvent (load) {
dist = 375;
}
Instance of Symbol 1061 MovieClip "door_2" in Symbol 1293 MovieClip Frame 1
onClipEvent (load) {
dist = 375;
}
Instance of Symbol 1061 MovieClip "door_3" in Symbol 1293 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 1061 MovieClip "door_5" in Symbol 1293 MovieClip Frame 1
onClipEvent (load) {
dist = 75;
}
Instance of Symbol 1061 MovieClip "door_6" in Symbol 1293 MovieClip Frame 1
onClipEvent (load) {
dist = 175;
}
Instance of Symbol 1061 MovieClip "door_7" in Symbol 1293 MovieClip Frame 1
onClipEvent (load) {
dist = 275;
}
Instance of Symbol 1061 MovieClip "door_8" in Symbol 1293 MovieClip Frame 1
onClipEvent (load) {
dist = 375;
}
Instance of Symbol 1061 MovieClip "door_9" in Symbol 1293 MovieClip Frame 1
onClipEvent (load) {
slowmotion = 0.2;
}
Symbol 1296 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
dist = Math.abs(_x - _parent.ninja._x);
if (dist < 1000) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 1304 MovieClip Frame 1
stop();
Symbol 1305 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 5;
}
stop();
onEnterFrame = function () {
if (aa > 1) {
aa = aa + (speed * _root.slowmotion);
}
if (aa > 3000) {
aa = 3000;
}
gotoAndStop(Math.round(aa));
};
Symbol 1307 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
dist = Math.abs(_x - _parent.ninja._x);
if (dist < 1000) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 1310 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 5;
}
stop();
onEnterFrame = function () {
if (aa > 1) {
aa = aa + (speed * _root.slowmotion);
}
if (aa > 3000) {
aa = 3000;
}
gotoAndStop(Math.round(aa));
};
Symbol 1311 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 5;
}
stop();
onEnterFrame = function () {
if (aa > 1) {
aa = aa + (speed * _root.slowmotion);
}
if (aa > 3000) {
aa = 3000;
}
gotoAndStop(Math.round(aa));
};
Symbol 1312 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 5;
}
stop();
onEnterFrame = function () {
if (aa > 1) {
aa = aa + (speed * _root.slowmotion);
}
if (aa > 3000) {
aa = 3000;
}
gotoAndStop(Math.round(aa));
};
Symbol 1313 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 5;
}
stop();
onEnterFrame = function () {
if (aa > 1) {
aa = aa + (speed * _root.slowmotion);
}
if (aa > 3000) {
aa = 3000;
}
gotoAndStop(Math.round(aa));
};
Instance of Symbol 639 MovieClip in Symbol 1313 MovieClip Frame 373
onClipEvent (load) {
_parent.boxx.gotoAndStop(2);
}
Symbol 1323 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 4;
}
stop();
onEnterFrame = function () {
if (aa > 1) {
aa = aa + (speed * _root.slowmotion);
}
if (aa > 1000) {
aa = aa - 1000;
}
gotoAndStop(Math.round(aa));
};
Instance of Symbol 639 MovieClip in Symbol 1323 MovieClip Frame 143
onClipEvent (load) {
_root.shake = 35;
}
Instance of Symbol 639 MovieClip in Symbol 1323 MovieClip Frame 164
onClipEvent (load) {
_root.shake = 35;
}
Instance of Symbol 639 MovieClip in Symbol 1323 MovieClip Frame 193
onClipEvent (load) {
_root.shake = 35;
_root.act = 1;
_root.slowmotion = 1;
}
Symbol 1328 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 0.7;
}
stop();
onEnterFrame = function () {
if (aa > 1) {
aa = aa + (speed * _root.slowmotion);
}
if (aa > 50) {
if (_root.shake < 10) {
_root.shake = 10;
}
}
if (aa > 1000) {
aa = aa - 1000;
}
gotoAndStop(Math.round(aa));
};
Symbol 1333 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speedy = 0;
if (dist == undefined) {
dist = 475;
}
boxx.gotoAndStop(typee);
}
stop();
onEnterFrame = function () {
if (aa == 1) {
if (_root.cnt.ninja._x > ((_parent._x + _x) - dist)) {
aa = 2;
}
}
if ((_root.cnt.ninja._x > ((_parent._x + _x) - dist)) && (_root.cnt.ninja._x < (_parent._x + _x))) {
if (never_slowmo != 2) {
never_slowmo = 2;
if (slowmotion != undefined) {
_root.slowmotion = slowmotion;
}
}
}
if (_root.cnt.ninja._x >= (_parent._x + _x)) {
if (never_slowmo == 2) {
never_slowmo = 2;
if (slowmotion != undefined) {
_root.slowmotion = 1;
}
}
}
if (aa > 1) {
_y = (_y + (speedy * _root.slowmotion));
if (speedy < -0.5) {
speedy = speedy * (1 - (0.1 * _root.slowmotion));
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * (1 + (0.1 * _root.slowmotion));
}
if (speedy > 20) {
speedy = 20;
}
}
};
Instance of Symbol 639 MovieClip in Symbol 1333 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.hitt.shape.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent.speedy > 5) {
_root.shake = 20;
}
_parent.speedy = 0;
}
i++;
}
}
Instance of Symbol 1333 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (load) {
dist = 500;
typee = 1;
slowmotion = 0.2;
}
Instance of Symbol 1333 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (load) {
dist = 700;
typee = 2;
}
Instance of Symbol 1333 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (load) {
dist = 500;
typee = 3;
}
Instance of Symbol 1333 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (load) {
dist = 800;
typee = 2;
}
Instance of Symbol 1333 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (load) {
dist = 800;
typee = 1;
slowmotion = 0.2;
}
Instance of Symbol 1333 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (load) {
dist = 300;
typee = 2;
}
Instance of Symbol 1333 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (load) {
dist = 300;
typee = 3;
}
Instance of Symbol 1333 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (load) {
dist = 1000;
typee = 3;
}
Instance of Symbol 1333 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (load) {
dist = 1000;
typee = 3;
}
Instance of Symbol 1333 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (load) {
dist = 1000;
typee = 1;
}
Instance of Symbol 1333 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (load) {
dist = 80;
typee = 2;
slowmotion = 0.2;
}
Instance of Symbol 1333 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (load) {
dist = 100;
typee = 1;
}
Instance of Symbol 1333 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (load) {
dist = 200;
typee = 2;
}
Instance of Symbol 1333 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (load) {
dist = 300;
typee = 3;
}
Instance of Symbol 1333 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (load) {
dist = 800;
typee = 1;
}
Instance of Symbol 1333 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (load) {
dist = 800;
typee = 2;
slowmotion = 0.2;
}
Symbol 1343 MovieClip Frame 1
stop();
Symbol 1343 MovieClip Frame 40
_root.shake = 25;
Symbol 1343 MovieClip Frame 80
stop();
Symbol 1347 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(60) + 1);
}
Symbol 1348 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(50) + 1);
}
Symbol 1349 MovieClip Frame 1
_visible = false;
Symbol 1349 MovieClip Frame 2
_visible = true;
enchance = random(5) + 1;
speed = (random(15) + 5) / 150;
stop();
onEnterFrame = function () {
if (_root.act == 6) {
if (_parent.branche._currentframe < 80) {
sx = _parent.branche._x + _parent.branche.nid._x;
sy = _parent.branche._y + _parent.branche.nid._y;
} else {
if (_parent.ninjaintro._currentframe < 265) {
sx = (_parent.branche._x + _parent.branche.nid._x) - 120;
sy = (_parent.branche._y + _parent.branche.nid._y) - 200;
}
if ((_parent.ninjaintro._currentframe >= 265) && (_parent.ninjaintro._currentframe < 320)) {
sx = _parent.ninja._x;
sy = _parent.ninja._y - 200;
}
if (_parent.ninjaintro._currentframe >= 320) {
sx = _parent.ninja._x;
sy = _parent.ninja._y - 50;
}
}
}
if ((((_root.act == 1) || (_root.act == 2)) || (_root.act == 3)) || (_root.act == 4)) {
sx = _parent.ninja._x;
sy = _parent.ninja._y - 50;
}
sx = sx + (boxx.boxx._x * enchance);
sy = sy + (boxx.boxx.boxx._y * enchance);
speedx = (sx - _x) * speed;
speedy = (sy - _y) * speed;
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + (speedx * _root.slowmotion));
}
if ((_y < (sy - 0.5)) || (_y > (sy + 0.5))) {
_y = (_y + (speedy * _root.slowmotion));
}
};
Symbol 1351 MovieClip Frame 1
_visible = false;
stade = 1;
if (_root.muz.neverplayed_animlvl13 != 2) {
_root.muz.neverplayed_animlvl13 = 2;
stade = -2;
timer = 2;
_root.cnt.ninja._x = _x;
_root.cnt.ninja._y = _y;
_root.act = 6;
_root.camera_speed = 0.1;
_root.camera_who = "ninjacam";
_root.camera_adjustx = 0;
_root.camera_adjusty = 0;
_root.zoomed = 1;
_root.cnt._x = (-_x) + 400;
_root.cnt._y = ((-_y) + 220) + 400;
_root.interr.runninjarun.gotoAndStop(2);
ninja_act = 1;
} else {
_parent.branche.gotoAndStop(80);
_parent.ninjaintro._visible = false;
}
stop();
onEnterFrame = function () {
if (stade == -2) {
if (timer > 0) {
timer = timer - 1;
} else {
stade = 2;
}
}
if (stade == 2) {
_root.cnt.ninja.gotoAndStop(1);
_root.cnt.ninja._visible = false;
if (ninja_act == 1) {
if (_parent.ninjaintro._currentframe == 1) {
_parent.ninjaintro.gotoAndPlay(2);
}
}
}
};
Symbol 1354 MovieClip Frame 21
stop();
Symbol 1356 MovieClip Frame 21
stop();
Symbol 1357 MovieClip Frame 1
stop();
Symbol 1359 MovieClip Frame 1
stop();
Symbol 1359 MovieClip Frame 2
timer = 50;
timer_frame = _currentframe;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else if (_currentframe == timer_frame) {
gotoAndPlay(timer_frame + 1);
}
};
Symbol 1359 MovieClip Frame 35
boxx.gotoAndStop(2);
_root.shake = 35;
Symbol 1359 MovieClip Frame 70
boxx.gotoAndStop(1);
_root.shake = 15;
Symbol 1359 MovieClip Frame 95
_root.shake = 8;
Symbol 1359 MovieClip Frame 111
boxx.gotoAndStop(2);
_root.shake = 15;
_parent.branche.gotoAndPlay(2);
Symbol 1359 MovieClip Frame 132
boxx.gotoAndStop(1);
Symbol 1359 MovieClip Frame 141
boxx.gotoAndStop(2);
Symbol 1359 MovieClip Frame 156
boxx.gotoAndStop(3);
Symbol 1359 MovieClip Frame 217
boxx.gotoAndStop(4);
Symbol 1359 MovieClip Frame 329
boxx.gotoAndStop(5);
Symbol 1359 MovieClip Frame 374
_root.cnt.ninja.gotoAndStop(2);
_root.act = 2;
_parent.codeanim.stade = 3;
gotoAndStop (375);
Symbol 1359 MovieClip Frame 375
stop();
Instance of Symbol 1061 MovieClip "door_2" in Symbol 1374 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 1061 MovieClip "door_1" in Symbol 1374 MovieClip Frame 1
onClipEvent (load) {
dist = 250;
}
Instance of Symbol 1061 MovieClip "door_3" in Symbol 1374 MovieClip Frame 1
onClipEvent (load) {
dist = 300;
slowmotion = 0.2;
}
Symbol 1383 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 1.5;
dist = -75;
}
stop();
onEnterFrame = function () {
if (aa == 1) {
if (_root.cnt.ninja._x > ((_parent._x + _x) - dist)) {
aa = 2;
}
}
if (aa > 1) {
aa = aa + (speed * _root.slowmotion);
}
if (aa > 3000) {
aa = aa - 3000;
}
gotoAndStop(Math.round(aa));
};
Instance of Symbol 1333 MovieClip in Symbol 1391 MovieClip Frame 1
onClipEvent (load) {
dist = 1000;
typee = 2;
}
Instance of Symbol 1333 MovieClip in Symbol 1391 MovieClip Frame 1
onClipEvent (load) {
dist = 500;
typee = 3;
}
Instance of Symbol 1333 MovieClip in Symbol 1391 MovieClip Frame 1
onClipEvent (load) {
dist = 1200;
typee = 1;
}
Symbol 1394 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
speed = 1;
}
stop();
onEnterFrame = function () {
if (aa > 1) {
aa = aa + (speed * _root.slowmotion);
}
if (aa > 30000) {
aa = 30000;
}
gotoAndStop(Math.round(aa));
};
Instance of Symbol 639 MovieClip in Symbol 1394 MovieClip Frame 297
onClipEvent (enterFrame) {
_root.zoomed = 0.4;
_root.cnt.ninja.anims.gotoAndStop(10);
if (_root.cnt.ninja.anims.boxx._currentframe < 160) {
_root.cnt.ninja.anims.boxx.gotoAndPlay(160);
}
}
Instance of Symbol 639 MovieClip in Symbol 1394 MovieClip Frame 346
onClipEvent (load) {
_root.camera_who = "nothing";
_root.cnt.ninja.anims.gotoAndStop(2);
}
Instance of Symbol 639 MovieClip in Symbol 1394 MovieClip Frame 461
onClipEvent (load) {
_root.interr.fondu.gotoAndPlay(2);
}
Instance of Symbol 639 MovieClip in Symbol 1394 MovieClip Frame 629
onClipEvent (load) {
_root.got2go = 4;
}
Symbol 1395 MovieClip Frame 1
_visible = false;
stade = 1;
timer = 20;
stop();
onEnterFrame = function () {
if (_root.cnt.ninja._x > _x) {
if (_root.act == 1) {
_root.act = 5;
stade = 2;
_root.zoomed = 1;
}
if (_root.cnt.ninja.ride == 0) {
_root.cnt.ninja.jump = 0;
if (_root.cnt.ninja.speedx > 10) {
_root.cnt.ninja.speedx = 10;
}
}
}
if (stade == 2) {
if (timer > 0) {
timer = timer - 1;
} else {
stade = 3;
timer = 50;
}
}
if (stade == 3) {
_root.cnt.erun_2._x = _root.cnt.erun_1._x - 50;
_root.cnt.erun_3._x = _root.cnt.erun_1._x - 80;
_root.cnt.erun_4._x = _root.cnt.erun_1._x - 150;
_root.camera_speed = 0.1;
_root.camera_who = "erun_1";
_root.camera_adjustx = 0;
_root.camera_adjusty = 0;
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
stade = 4;
}
}
if (stade == 4) {
_root.cnt.erun_1.anims.gotoAndStop(8);
_root.cnt.erun_2.anims.gotoAndStop(7);
_root.cnt.erun_3.anims.gotoAndStop(6);
_root.cnt.erun_4.anims.gotoAndStop(5);
if (timer > 0) {
timer = timer - 1;
} else {
_root.camera_speed = 0.1;
_root.camera_who = "ninja";
_root.camera_adjustx = 0;
_root.camera_adjusty = 0;
timer = 125;
stade = 5;
}
}
if (stade == 5) {
}
};
Instance of Symbol 1061 MovieClip "door_1" in Symbol 1403 MovieClip Frame 1
onClipEvent (load) {
slowmotion = 0.2;
}
Symbol 1406 MovieClip Frame 1
stop();
Instance of Symbol 586 MovieClip "ninjapt_1" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 586 MovieClip "ninjapt_2" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 586 MovieClip "ninjapt_3" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 586 MovieClip "ninjapt_4" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 586 MovieClip "ninjapt_5" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 586 MovieClip "ninjapt_6" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 586 MovieClip "ninjapt_7" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 586 MovieClip "ninjapt_8" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 640 MovieClip "erun_1" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 640 MovieClip "erun_2" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 639 MovieClip "event_1" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
zoomed = 0.9;
}
Instance of Symbol 639 MovieClip "event_2" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
zoomed = 0.75;
slowmotion = 0.2;
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.slowmotion = 1;
_root.zoomed = 1;
}
}
}
Instance of Symbol 639 MovieClip "event_3" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
zoomed = 1.2;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_4" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
zoomed = 0.78;
}
Instance of Symbol 639 MovieClip "event_5" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
timer = 150;
neverhit = 2;
}
onClipEvent (enterFrame) {
if (neverhit == 2) {
if (_root.tuto_1 != 2) {
if (act == 2) {
if (timer > 0) {
_root.slowmotion = 0.2;
timer = timer - 1;
_root.interr.tuto.gotoAndStop(2);
} else {
_root.interr.tuto.gotoAndStop(1);
_root.slowmotion = 1;
act = 1;
neverhit = 1;
_root.tuto_1 = 2;
}
}
}
}
}
Instance of Symbol 842 MovieClip "gold_1" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 842 MovieClip "gold_2" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 842 MovieClip "gold_3" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 842 MovieClip "gold_4" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 842 MovieClip "gold_5" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 842 MovieClip "gold_6" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 842 MovieClip "gold_7" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 842 MovieClip "gold_8" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 842 MovieClip "gold_9" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
}
Instance of Symbol 842 MovieClip "gold_10" in Symbol 1407 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
}
Instance of Symbol 986 MovieClip "perchelaunch_1" in Symbol 1407 MovieClip Frame 2
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 1045 MovieClip "e_1" in Symbol 1407 MovieClip Frame 2
onClipEvent (load) {
typee = 2;
}
Instance of Symbol 639 MovieClip "event_1" in Symbol 1407 MovieClip Frame 2
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.slowmotion = 1;
_root.zoomed = 0.75;
}
}
}
Instance of Symbol 639 MovieClip "event_3" in Symbol 1407 MovieClip Frame 2
onClipEvent (load) {
zoomed = 0.75;
}
Instance of Symbol 639 MovieClip "event_4" in Symbol 1407 MovieClip Frame 2
onClipEvent (load) {
zoomed = 1;
}
Instance of Symbol 639 MovieClip "event_5" in Symbol 1407 MovieClip Frame 2
onClipEvent (load) {
timer = 150;
neverhit = 2;
}
onClipEvent (enterFrame) {
if (neverhit == 2) {
if (_root.tuto_3 != 2) {
if (act == 2) {
if (timer > 0) {
_root.slowmotion = 0.2;
timer = timer - 1;
_root.interr.tuto.gotoAndStop(4);
} else {
_root.interr.tuto.gotoAndStop(1);
_root.slowmotion = 1;
act = 1;
neverhit = 1;
_root.tuto_3 = 2;
}
}
}
}
}
Instance of Symbol 949 MovieClip "pt_start" in Symbol 1407 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
_parent.ninja._y = _parent.ninja._y - 600;
}
Instance of Symbol 1045 MovieClip "e_1" in Symbol 1407 MovieClip Frame 3
onClipEvent (load) {
typee = 2;
slowmotion = 0.2;
calmdown = 0.7;
}
Instance of Symbol 1045 MovieClip "e_3" in Symbol 1407 MovieClip Frame 3
onClipEvent (load) {
typee = 2;
}
Instance of Symbol 1045 MovieClip "e_4" in Symbol 1407 MovieClip Frame 3
onClipEvent (load) {
typee = 2;
}
Instance of Symbol 1045 MovieClip "e_5" in Symbol 1407 MovieClip Frame 3
onClipEvent (load) {
typee = 1;
}
Instance of Symbol 639 MovieClip "event_1" in Symbol 1407 MovieClip Frame 3
onClipEvent (load) {
zoomed = 0.75;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_2" in Symbol 1407 MovieClip Frame 3
onClipEvent (load) {
slowmotion = 1;
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.zoomed = 0.65;
}
}
}
Instance of Symbol 639 MovieClip "event_3" in Symbol 1407 MovieClip Frame 3
onClipEvent (load) {
slowmotion = 0.2;
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.slowmotion = 1;
_root.zoomed = 1.35;
}
}
}
Instance of Symbol 639 MovieClip "event_4" in Symbol 1407 MovieClip Frame 3
onClipEvent (load) {
zoomed = 0.85;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_5" in Symbol 1407 MovieClip Frame 3
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.slowmotion = 1;
_root.zoomed = 1;
}
}
}
Instance of Symbol 639 MovieClip "event_6" in Symbol 1407 MovieClip Frame 3
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.cnt.ninja.ride != 0) {
slowmotion = 0.2;
zoomed = 0.75;
} else {
slowmotion = 1;
zoomed = 1;
}
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.slowmotion = 1;
_root.zoomed = 1;
}
}
}
Instance of Symbol 639 MovieClip "event_7" in Symbol 1407 MovieClip Frame 3
onClipEvent (load) {
timer = 150;
neverhit = 2;
}
onClipEvent (enterFrame) {
if (neverhit == 2) {
if (_root.tuto_2 != 2) {
if (act == 2) {
if (timer > 0) {
_root.slowmotion = 0.2;
timer = timer - 1;
_root.interr.tuto.gotoAndStop(3);
} else {
_root.interr.tuto.gotoAndStop(1);
_root.slowmotion = 1;
act = 1;
neverhit = 1;
_root.tuto_2 = 2;
}
}
}
}
}
Instance of Symbol 639 MovieClip "event_8" in Symbol 1407 MovieClip Frame 3
onClipEvent (load) {
timer = 150;
neverhit = 2;
}
onClipEvent (enterFrame) {
if (_root.jump <= 1) {
act = 1;
}
if (neverhit == 2) {
if ((_root.tuto_4 != 2) && (_root.jump > 1)) {
if (act == 2) {
if (timer > 0) {
_root.slowmotion = 0.2;
timer = timer - 1;
_root.interr.tuto.gotoAndStop(5);
} else {
_root.interr.tuto.gotoAndStop(1);
_root.slowmotion = 1;
act = 1;
neverhit = 1;
_root.tuto_4 = 2;
}
}
}
}
}
Instance of Symbol 1073 MovieClip "ride_1" in Symbol 1407 MovieClip Frame 3
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 949 MovieClip "pt_start" in Symbol 1407 MovieClip Frame 3
onClipEvent (load) {
}
Instance of Symbol 1173 MovieClip "tyro_1" in Symbol 1407 MovieClip Frame 4
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 986 MovieClip "perchelaunch_1" in Symbol 1407 MovieClip Frame 4
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 639 MovieClip "event_1" in Symbol 1407 MovieClip Frame 4
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.act = 5;
_root.camera_who = "tigre";
_root.camera_speed = 0.1;
_parent.tigre_prog.gotoAndPlay(2);
_root.slowmotion = 0.1;
}
}
}
Instance of Symbol 639 MovieClip "event_2" in Symbol 1407 MovieClip Frame 4
onClipEvent (load) {
zoomed = 0.7;
}
Instance of Symbol 639 MovieClip "event_3" in Symbol 1407 MovieClip Frame 4
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.cnt.ninja.tyro != 0) {
slowmotion = 0.2;
} else {
slowmotion = 1;
}
if (act == 2) {
if ((_root.cnt.ninja.fall != 2) || (_root.cnt.ninja.speedy > 2)) {
act = 1;
_root.slowmotion = 1;
}
}
}
Instance of Symbol 639 MovieClip "event_1" in Symbol 1407 MovieClip Frame 4
onClipEvent (load) {
zoomed = 1;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 640 MovieClip "erun_1" in Symbol 1407 MovieClip Frame 5
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 640 MovieClip "erun_2" in Symbol 1407 MovieClip Frame 5
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 1185 MovieClip "ride_1" in Symbol 1407 MovieClip Frame 5
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 1045 MovieClip "e_2" in Symbol 1407 MovieClip Frame 5
onClipEvent (load) {
typee = 2;
}
Instance of Symbol 1045 MovieClip "e_3" in Symbol 1407 MovieClip Frame 5
onClipEvent (load) {
typee = 1;
}
Instance of Symbol 639 MovieClip "event_1" in Symbol 1407 MovieClip Frame 5
onClipEvent (load) {
zoomed = 0.68;
slowmotion = 0.2;
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.slowmotion = 1;
}
}
}
Instance of Symbol 639 MovieClip "event_2" in Symbol 1407 MovieClip Frame 5
onClipEvent (load) {
slowmotion = 0.2;
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.zoomed = 1;
_root.slowmotion = 1;
}
}
}
Instance of Symbol 639 MovieClip "event_3" in Symbol 1407 MovieClip Frame 5
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.cnt.ninja.ride == 0) {
slowmotion = 0.2;
} else {
slowmotion = 1;
}
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.slowmotion = 1;
}
}
}
Instance of Symbol 639 MovieClip "event_4" in Symbol 1407 MovieClip Frame 5
onClipEvent (load) {
zoomed = 0.5;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_5" in Symbol 1407 MovieClip Frame 5
onClipEvent (load) {
zoomed = 1;
slowmotion = 1;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_6" in Symbol 1407 MovieClip Frame 5
onClipEvent (load) {
slowmotion = 0.2;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 1045 MovieClip "e_2" in Symbol 1407 MovieClip Frame 6
onClipEvent (load) {
typee = 2;
calmdown = 0.65;
}
Instance of Symbol 639 MovieClip "event_1" in Symbol 1407 MovieClip Frame 6
onClipEvent (load) {
zoomed = 0.75;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_3" in Symbol 1407 MovieClip Frame 6
onClipEvent (load) {
slowmotion = 0.2;
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.slowmotion = 1;
}
}
}
Instance of Symbol 639 MovieClip "event_4" in Symbol 1407 MovieClip Frame 6
onClipEvent (load) {
zoomed = 0.5;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_5" in Symbol 1407 MovieClip Frame 6
onClipEvent (load) {
zoomed = 1;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_6" in Symbol 1407 MovieClip Frame 6
onClipEvent (load) {
slowmotion = 0.2;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_7" in Symbol 1407 MovieClip Frame 6
onClipEvent (load) {
slowmotion = 1;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 1208 MovieClip "ride_1" in Symbol 1407 MovieClip Frame 6
onClipEvent (load) {
nb = 1;
speedjumpx = 15;
}
Instance of Symbol 1221 MovieClip in Symbol 1407 MovieClip Frame 6
onClipEvent (load) {
speed_multi = 1;
}
Instance of Symbol 1221 MovieClip in Symbol 1407 MovieClip Frame 6
onClipEvent (load) {
speed_multi = 1;
}
Instance of Symbol 1221 MovieClip in Symbol 1407 MovieClip Frame 6
onClipEvent (load) {
speed_multi = 1;
}
Instance of Symbol 1221 MovieClip in Symbol 1407 MovieClip Frame 6
onClipEvent (load) {
speed_multi = 1;
}
Instance of Symbol 1221 MovieClip in Symbol 1407 MovieClip Frame 6
onClipEvent (load) {
speed_multi = 1;
}
Instance of Symbol 1221 MovieClip in Symbol 1407 MovieClip Frame 6
onClipEvent (load) {
speed_multi = 1;
}
Instance of Symbol 1221 MovieClip in Symbol 1407 MovieClip Frame 6
onClipEvent (load) {
speed_multi = 0.5;
}
Instance of Symbol 1221 MovieClip in Symbol 1407 MovieClip Frame 6
onClipEvent (load) {
speed_multi = 0.5;
}
Instance of Symbol 1173 MovieClip "tyro_1" in Symbol 1407 MovieClip Frame 7
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 986 MovieClip "perchelaunch_1" in Symbol 1407 MovieClip Frame 7
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 1045 MovieClip "e_1" in Symbol 1407 MovieClip Frame 7
onClipEvent (load) {
typee = 3;
dist = 700;
slowmotion = 0.2;
}
Instance of Symbol 1045 MovieClip "e_2" in Symbol 1407 MovieClip Frame 7
onClipEvent (load) {
typee = 3;
dist = 550;
slowmotion = 0.2;
}
Instance of Symbol 639 MovieClip "event_1" in Symbol 1407 MovieClip Frame 7
onClipEvent (load) {
zoomed = 0.75;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_2" in Symbol 1407 MovieClip Frame 7
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.zoomed = 0.35;
}
}
}
Instance of Symbol 639 MovieClip "event_3" in Symbol 1407 MovieClip Frame 7
onClipEvent (load) {
zoomed = 0.85;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_4" in Symbol 1407 MovieClip Frame 7
onClipEvent (load) {
slowmotion = 1;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_5" in Symbol 1407 MovieClip Frame 7
onClipEvent (load) {
slowmotion = 1;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 949 MovieClip "pt_start" in Symbol 1407 MovieClip Frame 7
onClipEvent (load) {
_visible = false;
_parent.ninja._y = _parent.ninja._y - 600;
}
Instance of Symbol 1173 MovieClip "tyro_2" in Symbol 1407 MovieClip Frame 8
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 1173 MovieClip "tyro_3" in Symbol 1407 MovieClip Frame 8
onClipEvent (load) {
nb = 3;
poutre.gotoAndStop(2);
}
Instance of Symbol 1045 MovieClip "e_1" in Symbol 1407 MovieClip Frame 8
onClipEvent (load) {
typee = 3;
dist = 550;
}
Instance of Symbol 1045 MovieClip "e_2" in Symbol 1407 MovieClip Frame 8
onClipEvent (load) {
typee = 3;
dist = 550;
}
Instance of Symbol 1045 MovieClip "e_3" in Symbol 1407 MovieClip Frame 8
onClipEvent (load) {
typee = 1;
dist = 550;
}
Instance of Symbol 639 MovieClip "event_1" in Symbol 1407 MovieClip Frame 8
onClipEvent (load) {
slowmotion = 0.2;
}
Instance of Symbol 639 MovieClip "event_2" in Symbol 1407 MovieClip Frame 8
onClipEvent (load) {
slowmotion = 1;
}
Instance of Symbol 639 MovieClip "event_3" in Symbol 1407 MovieClip Frame 8
onClipEvent (load) {
zoomed = 0.75;
}
Instance of Symbol 639 MovieClip "event_4" in Symbol 1407 MovieClip Frame 8
onClipEvent (load) {
zoomed = 0.65;
}
Instance of Symbol 639 MovieClip "event_9" in Symbol 1407 MovieClip Frame 8
onClipEvent (load) {
zoomed = 0.5;
}
Instance of Symbol 639 MovieClip "event_5" in Symbol 1407 MovieClip Frame 8
onClipEvent (load) {
slowmotion = 0.2;
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.slowmotion = 1;
_root.zoomed = 0.75;
}
}
}
Instance of Symbol 639 MovieClip "event_6" in Symbol 1407 MovieClip Frame 8
onClipEvent (load) {
zoomed = 0.45;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_7" in Symbol 1407 MovieClip Frame 8
onClipEvent (load) {
zoomed = 0.7;
slowmotion = 0.2;
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.slowmotion = 1;
}
}
}
Instance of Symbol 639 MovieClip "event_8" in Symbol 1407 MovieClip Frame 8
onClipEvent (load) {
zoomed = 0.85;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 949 MovieClip "pt_start" in Symbol 1407 MovieClip Frame 8
onClipEvent (load) {
}
Instance of Symbol 986 MovieClip "perchelaunch_1" in Symbol 1407 MovieClip Frame 9
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 639 MovieClip "event_1" in Symbol 1407 MovieClip Frame 9
onClipEvent (load) {
zoomed = 0.72;
}
Instance of Symbol 639 MovieClip "event_2" in Symbol 1407 MovieClip Frame 9
onClipEvent (load) {
zoomed = 0.65;
slowmotion = 0.2;
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.slowmotion = 1;
}
}
}
Instance of Symbol 639 MovieClip "event_3" in Symbol 1407 MovieClip Frame 9
onClipEvent (load) {
zoomed = 0.37;
slowmotion = 0.2;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_4" in Symbol 1407 MovieClip Frame 9
onClipEvent (load) {
slowmotion = 1;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_5" in Symbol 1407 MovieClip Frame 9
onClipEvent (load) {
slowmotion = 0.2;
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.slowmotion = 1;
_root.zoomed = 0.85;
}
}
}
Instance of Symbol 949 MovieClip "pt_start" in Symbol 1407 MovieClip Frame 9
onClipEvent (load) {
}
Instance of Symbol 1305 MovieClip "ride_1" in Symbol 1407 MovieClip Frame 10
onClipEvent (load) {
nb = 1;
speedjumpx = 15;
}
Instance of Symbol 639 MovieClip "event_2" in Symbol 1407 MovieClip Frame 10
onClipEvent (load) {
slowmotion = 0.2;
}
onClipEvent (enterFrame) {
if (act == 2) {
if ((_root.cnt.ninja.fall != 2) || (_root.cnt.ninja.speedy > 1.5)) {
act = 1;
_root.slowmotion = 1;
}
}
}
Instance of Symbol 639 MovieClip "event_3" in Symbol 1407 MovieClip Frame 10
onClipEvent (load) {
zoomed = 0.45;
slowmotion = 1;
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.slowmotion = 1;
}
}
}
Instance of Symbol 639 MovieClip "event_4" in Symbol 1407 MovieClip Frame 10
onClipEvent (load) {
zoomed = 0.8;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_6" in Symbol 1407 MovieClip Frame 10
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.zoomed = 0.68;
}
}
}
Instance of Symbol 639 MovieClip "event_5" in Symbol 1407 MovieClip Frame 10
onClipEvent (load) {
zoomed = 0.75;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_7" in Symbol 1407 MovieClip Frame 10
onClipEvent (load) {
slowmotion = 0.2;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_8" in Symbol 1407 MovieClip Frame 10
onClipEvent (load) {
zoomed = 0.68;
slowmotion = 1;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_9" in Symbol 1407 MovieClip Frame 10
onClipEvent (load) {
zoomed = 0.4;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_10" in Symbol 1407 MovieClip Frame 10
onClipEvent (load) {
zoomed = 0.4;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_11" in Symbol 1407 MovieClip Frame 10
onClipEvent (load) {
zoomed = 0.7;
slowmotion = 0.2;
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall == 2) {
act = 1;
_root.slowmotion = 1;
}
}
}
Instance of Symbol 639 MovieClip "event_1" in Symbol 1407 MovieClip Frame 11
onClipEvent (load) {
zoomed = 0.68;
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.slowmotion = 1;
}
}
}
Instance of Symbol 639 MovieClip "event_2" in Symbol 1407 MovieClip Frame 11
onClipEvent (load) {
slowmotion = 0.2;
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.slowmotion = 1;
}
}
}
Instance of Symbol 639 MovieClip "event_3" in Symbol 1407 MovieClip Frame 11
onClipEvent (load) {
slowmotion = 0.2;
}
onClipEvent (enterFrame) {
if (act == 2) {
if ((_root.cnt.ninja.fall != 2) || (_root.cnt.ninja.ride == 0)) {
act = 1;
_root.slowmotion = 1;
}
}
}
Instance of Symbol 1310 MovieClip "ride_1" in Symbol 1407 MovieClip Frame 11
onClipEvent (load) {
nb = 1;
speedjumpx = 15;
}
Instance of Symbol 1311 MovieClip "ride_2" in Symbol 1407 MovieClip Frame 11
onClipEvent (load) {
nb = 2;
speedjumpx = 15;
}
Instance of Symbol 1312 MovieClip "ride_3" in Symbol 1407 MovieClip Frame 11
onClipEvent (load) {
nb = 3;
speedjumpx = 15;
}
Instance of Symbol 1313 MovieClip "ride_4" in Symbol 1407 MovieClip Frame 11
onClipEvent (load) {
nb = 4;
speedjumpx = 15;
}
Instance of Symbol 1173 MovieClip "tyro_1" in Symbol 1407 MovieClip Frame 12
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 986 MovieClip "perchelaunch_1" in Symbol 1407 MovieClip Frame 12
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 639 MovieClip "event_1" in Symbol 1407 MovieClip Frame 12
onClipEvent (load) {
zoomed = 0.45;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_2" in Symbol 1407 MovieClip Frame 12
onClipEvent (load) {
slowmotion = 0.2;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_parent.hitt.rock._currentframe == 1) {
_parent.hitt.rock.gotoAndPlay(2);
_parent.hitt.rock2.gotoAndPlay(2);
_parent.hitt.rock.aa = 2;
_parent.hitt.rock2.aa = 2;
_root.act = 5;
_root.camera_who = "mcvide_1";
}
}
}
Instance of Symbol 640 MovieClip "erun_1" in Symbol 1407 MovieClip Frame 13
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 640 MovieClip "erun_2" in Symbol 1407 MovieClip Frame 13
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 1045 MovieClip "e_1" in Symbol 1407 MovieClip Frame 13
onClipEvent (load) {
typee = 3;
dist = 700;
slowmotion = 0.2;
}
Instance of Symbol 639 MovieClip "ninjacam" in Symbol 1407 MovieClip Frame 13
onClipEvent (enterFrame) {
_x = (_parent.ninjaintro._x + _parent.ninjaintro.boxx._x);
_y = (_parent.ninjaintro._y + _parent.ninjaintro.boxx._y);
if ((_parent.ninjaintro._currentframe < 225) || (_parent.ninjaintro._currentframe > 305)) {
_x = (_parent.ninjaintro._x + _parent.ninjaintro.boxx._x);
_y = (_parent.ninjaintro._y + _parent.ninjaintro.boxx._y);
} else {
_x = _parent.beez_cam._x;
_y = _parent.beez_cam._y;
}
}
Instance of Symbol 1045 MovieClip "e_3" in Symbol 1407 MovieClip Frame 13
onClipEvent (load) {
typee = 3;
dist = 700;
}
Instance of Symbol 1045 MovieClip "e_4" in Symbol 1407 MovieClip Frame 13
onClipEvent (load) {
typee = 3;
dist = 700;
}
Instance of Symbol 1045 MovieClip "e_5" in Symbol 1407 MovieClip Frame 13
onClipEvent (load) {
typee = 3;
dist = 700;
}
Instance of Symbol 1045 MovieClip "e_6" in Symbol 1407 MovieClip Frame 13
onClipEvent (load) {
typee = 1;
}
Instance of Symbol 1045 MovieClip "e_7" in Symbol 1407 MovieClip Frame 13
onClipEvent (load) {
typee = 3;
dist = 700;
}
Instance of Symbol 1045 MovieClip "e_8" in Symbol 1407 MovieClip Frame 13
onClipEvent (load) {
typee = 3;
dist = 700;
}
Instance of Symbol 639 MovieClip "event_1" in Symbol 1407 MovieClip Frame 13
onClipEvent (load) {
zoomed = 0.7;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_2" in Symbol 1407 MovieClip Frame 13
onClipEvent (load) {
zoomed = 0.85;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_3" in Symbol 1407 MovieClip Frame 13
onClipEvent (load) {
zoomed = 0.55;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_4" in Symbol 1407 MovieClip Frame 13
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.zoomed = 1;
}
}
}
Instance of Symbol 639 MovieClip "event_5" in Symbol 1407 MovieClip Frame 13
onClipEvent (load) {
zoomed = 0.5;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_6" in Symbol 1407 MovieClip Frame 13
onClipEvent (load) {
slowmotion = 1;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 986 MovieClip "perchelaunch_1" in Symbol 1407 MovieClip Frame 14
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 639 MovieClip "event_1" in Symbol 1407 MovieClip Frame 14
onClipEvent (load) {
zoomed = 0.6;
slowmotion = 0.2;
}
onClipEvent (enterFrame) {
if (act == 2) {
if ((_root.cnt.ninja.fall != 2) && (_root.cnt.ninja.sliding == 1)) {
act = 1;
_root.slowmotion = 1;
}
}
}
Instance of Symbol 639 MovieClip "event_2" in Symbol 1407 MovieClip Frame 14
onClipEvent (load) {
zoomed = 0.4;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_3" in Symbol 1407 MovieClip Frame 14
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.zoomed = 0.85;
}
}
}
Instance of Symbol 640 MovieClip "erun_4" in Symbol 1407 MovieClip Frame 15
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 640 MovieClip "erun_3" in Symbol 1407 MovieClip Frame 15
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 1173 MovieClip "tyro_1" in Symbol 1407 MovieClip Frame 15
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 1394 MovieClip "ride_1" in Symbol 1407 MovieClip Frame 15
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 1045 MovieClip "e_5" in Symbol 1407 MovieClip Frame 15
onClipEvent (load) {
typee = 1;
dist = 550;
}
Instance of Symbol 1045 MovieClip "e_6" in Symbol 1407 MovieClip Frame 15
onClipEvent (load) {
typee = 2;
dist = 550;
}
Instance of Symbol 639 MovieClip "event_1" in Symbol 1407 MovieClip Frame 15
onClipEvent (load) {
zoomed = 0.6;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 639 MovieClip "event_2" in Symbol 1407 MovieClip Frame 15
onClipEvent (load) {
slowmotion = 0.2;
}
onClipEvent (enterFrame) {
if (act == 2) {
if ((_root.cnt.ninja.fall != 2) || (_root.cnt.ninja.attacking != 1)) {
act = 1;
_root.slowmotion = 1;
}
}
}
Instance of Symbol 639 MovieClip "event_3" in Symbol 1407 MovieClip Frame 15
onClipEvent (load) {
slowmotion = 0.2;
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.slowmotion = 1;
}
}
}
Instance of Symbol 639 MovieClip "event_4" in Symbol 1407 MovieClip Frame 15
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall != 2) {
act = 1;
_root.zoomed = 0.55;
}
}
}
Instance of Symbol 639 MovieClip "event_5" in Symbol 1407 MovieClip Frame 15
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (act == 2) {
if (_root.cnt.ninja.fall == 2) {
if (_root.cnt.ninja.speedx > 4) {
_root.cnt.ninja.speedx = _root.cnt.ninja.speedx * 0.75;
}
}
}
}
Instance of Symbol 1221 MovieClip in Symbol 1407 MovieClip Frame 15
onClipEvent (load) {
speed_multi = 2;
}
Instance of Symbol 1221 MovieClip in Symbol 1407 MovieClip Frame 15
onClipEvent (load) {
speed_multi = 2;
}
Instance of Symbol 1221 MovieClip in Symbol 1407 MovieClip Frame 15
onClipEvent (load) {
speed_multi = 2;
}
Instance of Symbol 1221 MovieClip in Symbol 1407 MovieClip Frame 15
onClipEvent (load) {
speed_multi = 2;
}
Instance of Symbol 1221 MovieClip in Symbol 1407 MovieClip Frame 15
onClipEvent (load) {
speed_multi = 2;
}
Instance of Symbol 1221 MovieClip in Symbol 1407 MovieClip Frame 15
onClipEvent (load) {
speed_multi = 2;
}
Instance of Symbol 1185 MovieClip "ride_1" in Symbol 1407 MovieClip Frame 30
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 1173 MovieClip "tyro_1" in Symbol 1407 MovieClip Frame 30
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 986 MovieClip "perchelaunch_1" in Symbol 1407 MovieClip Frame 30
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 1045 MovieClip "e_1" in Symbol 1407 MovieClip Frame 30
onClipEvent (load) {
typee = 1;
}
Instance of Symbol 639 MovieClip "event_1" in Symbol 1407 MovieClip Frame 30
onClipEvent (load) {
slowmotion = 0.2;
}
Instance of Symbol 639 MovieClip "event_2" in Symbol 1407 MovieClip Frame 30
onClipEvent (load) {
slowmotion = 1;
}
Instance of Symbol 639 MovieClip "event_3" in Symbol 1407 MovieClip Frame 30
onClipEvent (load) {
zoomed = 0.5;
slowmotion = 0.2;
}
Instance of Symbol 639 MovieClip "event_4" in Symbol 1407 MovieClip Frame 30
onClipEvent (load) {
zoomed = 1;
}
Symbol 1410 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.cnt.light_1 != undefined) {
gotoAndStop (2);
}
};
Symbol 1410 MovieClip Frame 2
_alpha = 0;
check_nb = 1;
stop();
onEnterFrame = function () {
if (((_root.cnt.ninja.light == 1) || (_root.act == 2)) || (_root.act == 3)) {
dist = 1000000 /* 0x0F4240 */;
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
dist_test = Math.abs(eval (("_root.cnt.light_" + check_nb) + "._x") - _root.cnt.ninja._x);
if (dist_test < dist) {
dist = dist_test;
}
check_nb = check_nb + 1;
if (check_nb > 30) {
check_nb = 1;
}
trace(dist);
sa = (dist * 100) / 1000;
if (dist > 800) {
sa = 100;
}
if (sa < 0) {
sa = 0;
}
speeda = (sa - _alpha) * 0.2;
if ((_alpha < (sa - 0.5)) || (_alpha > (sa + 0.5))) {
_alpha = (_alpha + speeda);
}
} else if (_alpha > 0) {
_alpha = (_alpha - 20);
}
};
Symbol 1412 MovieClip Frame 1
stop();
Symbol 1412 MovieClip Frame 200
stop();
Symbol 1469 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
}
onEnterFrame = function () {
aa = aa + 2;
if (aa > 99) {
aa = aa - 99;
}
gotoAndStop(Math.round(aa));
_rotation = (_rotation + (5 * _root.slowmotion));
};
Symbol 1473 MovieClip Frame 1
stop();
Symbol 1473 MovieClip Frame 3
stop();
Symbol 1474 MovieClip Frame 1
stop();
Symbol 1475 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gold = _root.gold_collect;
}
stop();
onEnterFrame = function () {
if (gold != _root.gold_collect) {
gold = _root.gold_collect;
boxx.aff = gold;
boxx.gotoAndPlay(2);
boxx.snd.gotoAndPlay(2);
gotoAndPlay (2);
}
if (_currentframe != 1) {
sx = 67;
sy = 40;
} else {
sx = 67;
sy = -40;
}
speed = 0.35;
speedx = (sx - _x) * speed;
speedy = (sy - _y) * speed;
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + speedx);
}
if ((_y < (sy - 0.5)) || (_y > (sy + 0.5))) {
_y = (_y + speedy);
}
};
Symbol 1475 MovieClip Frame 2
play();
Symbol 1482 MovieClip Frame 55
stop();
Symbol 1483 MovieClip Frame 1
gotoAndStop (2);
Symbol 1483 MovieClip Frame 2
stop();
Symbol 1483 MovieClip Frame 50
stop();
Symbol 1495 MovieClip Frame 1
gotoAndStop(random(7) + 1);
Symbol 1547 MovieClip Frame 1
if (_root.piece_collected == 2) {
Set("_root.piece_" + _root.lvl, 2);
gotoAndPlay (2);
} else {
_parent.gotoAndStop(5);
}
Symbol 1547 MovieClip Frame 61
_parent.gotoAndStop(5);
stop();
Symbol 1548 MovieClip Frame 1
timer_st = 6;
timer = 20;
aff = 0;
onEnterFrame = function () {
if ((_root.act == 3) && (_parent._parent.gold_cancount == 2)) {
if (aff < _root.gold_collect) {
if (timer > 0) {
timer = timer - 1;
} else {
_root.gold = _root.gold + 1;
timer = timer_st;
aff = aff + 1;
snd.gotoAndPlay(2);
gotoAndPlay (2);
}
}
}
};
Symbol 1548 MovieClip Frame 100
_root.save_go = 2;
_parent._parent.gotoAndStop(6);
stop();
Symbol 1549 MovieClip Frame 1
if (_root.act != 3) {
_visible = false;
}
sx = 400;
sy = 220;
sxscale = 100;
_y = (_y + 1000);
set_gold_nb = 1;
stop();
onEnterFrame = function () {
if (_parent._currentframe == 6) {
sx = 422;
sy = 358;
sxscale = 68;
}
speed = 0.2;
speedx = (sx - _x) * speed;
speedy = (sy - _y) * speed;
speedxscale = (sxscale - _xscale) * speed;
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + speedx);
}
if ((_y < (sy - 0.5)) || (_y > (sy + 0.5))) {
_y = (_y + speedy);
}
if ((_xscale < (sxscale - 0.5)) || (_xscale > (sxscale + 0.5))) {
_xscale = (_xscale + speedxscale);
}
_yscale = _xscale;
if ((_root.act == 3) && (_parent.gold_cancount == 2)) {
if (set_gold_nb <= 10) {
trace(":" + eval ("_root.gold_collect_" + set_gold_nb));
if (eval ("_root.gold_collect_" + set_gold_nb) == 2) {
Set((("_root.gold_" + _root.lvl) + "_") + set_gold_nb, 2);
}
set_gold_nb = set_gold_nb + 1;
}
}
};
Symbol 1555 MovieClip Frame 1
aff = "";
stop();
onEnterFrame = function () {
nb = 1;
tot = 0;
trace("1:" + _root.gold_collect_1);
trace("2:" + _root.gold_collect_2);
trace("3:" + _root.gold_collect_3);
trace("4:" + _root.gold_collect_4);
trace("5:" + _root.gold_collect_5);
trace("6:" + _root.gold_collect_6);
trace("7:" + _root.gold_collect_7);
trace("8:" + _root.gold_collect_8);
trace("9:" + _root.gold_collect_9);
trace("10:" + _root.gold_collect_10);
trace("lvl:" + _parent.lvl);
if (eval ((("_root.gold_" + _parent.lvl) + "_") + nb) == 2) {
tot = tot + 1;
}
trace((("da" + nb) + ":") + eval ((("_root.gold_" + _parent.lvl) + "_") + nb));
nb = nb + 1;
if (eval ((("_root.gold_" + _parent.lvl) + "_") + nb) == 2) {
tot = tot + 1;
}
trace((("da" + nb) + ":") + eval ((("_root.gold_" + _parent.lvl) + "_") + nb));
nb = nb + 1;
if (eval ((("_root.gold_" + _parent.lvl) + "_") + nb) == 2) {
tot = tot + 1;
}
trace((("da" + nb) + ":") + eval ((("_root.gold_" + _parent.lvl) + "_") + nb));
nb = nb + 1;
if (eval ((("_root.gold_" + _parent.lvl) + "_") + nb) == 2) {
tot = tot + 1;
}
trace((("da" + nb) + ":") + eval ((("_root.gold_" + _parent.lvl) + "_") + nb));
nb = nb + 1;
if (eval ((("_root.gold_" + _parent.lvl) + "_") + nb) == 2) {
tot = tot + 1;
}
trace((("da" + nb) + ":") + eval ((("_root.gold_" + _parent.lvl) + "_") + nb));
nb = nb + 1;
if (eval ((("_root.gold_" + _parent.lvl) + "_") + nb) == 2) {
tot = tot + 1;
}
trace((("da" + nb) + ":") + eval ((("_root.gold_" + _parent.lvl) + "_") + nb));
nb = nb + 1;
if (eval ((("_root.gold_" + _parent.lvl) + "_") + nb) == 2) {
tot = tot + 1;
}
trace((("da" + nb) + ":") + eval ((("_root.gold_" + _parent.lvl) + "_") + nb));
nb = nb + 1;
if (eval ((("_root.gold_" + _parent.lvl) + "_") + nb) == 2) {
tot = tot + 1;
}
trace((("da" + nb) + ":") + eval ((("_root.gold_" + _parent.lvl) + "_") + nb));
nb = nb + 1;
if (eval ((("_root.gold_" + _parent.lvl) + "_") + nb) == 2) {
tot = tot + 1;
}
trace((("da" + nb) + ":") + eval ((("_root.gold_" + _parent.lvl) + "_") + nb));
nb = nb + 1;
if (eval ((("_root.gold_" + _parent.lvl) + "_") + nb) == 2) {
tot = tot + 1;
}
trace((("da" + nb) + ":") + eval ((("_root.gold_" + _parent.lvl) + "_") + nb));
nb = nb + 1;
aff = tot;
trace(tot);
};
Symbol 1557 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(eval ("_root.piece_" + _parent._parent.lvl));
};
Symbol 1563 Button
on (release) {
_parent._parent._parent.lvl = _parent._parent.lvl;
_parent._parent._parent.gotoAndStop(7);
}
Symbol 1564 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(eval ("_root.scroll_" + _parent._parent.lvl));
};
Symbol 1598 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_parent._parent._parent.lvl);
};
Symbol 1600 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
if (_parent._parent._parent.lvl > _root.lvl2) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 1603 Button
on (release) {
if (_parent._parent._parent.lvl <= _root.lvl2) {
_root.lvl = _parent._parent._parent.lvl;
if (_root.hard_mode != 2) {
_root.got2go = 2;
} else {
_parent._parent._parent.gotoAndStop(88);
}
}
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 1604 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
_visible = false;
}
stop();
onEnterFrame = function () {
if (_parent._parent._parent.lvl > _root.lvl2) {
_visible = false;
} else {
_visible = true;
}
};
Symbol 1604 MovieClip Frame 40
gotoAndPlay (2);
Symbol 1605 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_parent._parent.lvl);
};
Symbol 1608 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
if (_root.lvl2 <= _parent._parent.lvl) {
_visible = false;
gotoAndStop (1);
} else {
_visible = true;
gotoAndStop (2);
}
};
Symbol 1612 Button
on (release) {
act = 2;
gotoAndStop (1);
gotoAndStop (2);
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 1618 MovieClip Frame 1
_rotation = (random(360) + 1);
Symbol 1618 MovieClip Frame 20
stop();
Symbol 1620 MovieClip Frame 1
speedx = random(20) - 10;
speedy = random(20) - 10;
_xscale = (random(80) + 20);
_yscale = _xscale;
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
_rotation = (_rotation + speedr);
speedx = speedx * 0.9;
speedy = speedy * 0.9;
};
Symbol 1622 MovieClip Frame 1
stop();
Symbol 1630 Button
on (release) {
if (dalink != undefined) {
getURL (dalink, "_blank");
}
act = 2;
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 1631 MovieClip Frame 1
stop();
Symbol 1636 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
lvl = _root.lvl2;
timer_autoswitch = 50;
}
stop();
onEnterFrame = function () {
if ((_root.act == 3) && (_root.lvl == _root.lvl2)) {
if (timer_autoswitch > 0) {
timer_autoswitch = timer_autoswitch - 1;
} else if (_root.lvl2 < 17) {
gotoAndPlay (2);
_root.lvl2 = _root.lvl2 + 1;
_root.save_go = 2;
}
}
_parent.lvl = lvl;
};
Instance of Symbol 1622 MovieClip in Symbol 1636 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_parent.lvl < 15) {
_parent.gotoAndPlay(2);
}
}
}
Instance of Symbol 1622 MovieClip in Symbol 1636 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_parent.lvl > 1) {
_parent.gotoAndPlay(31);
}
}
}
Symbol 1636 MovieClip Frame 2
play();
Symbol 1636 MovieClip Frame 7
lvl = lvl + 1;
Symbol 1636 MovieClip Frame 30
gotoAndPlay (61);
Symbol 1636 MovieClip Frame 31
play();
Symbol 1636 MovieClip Frame 37
lvl = lvl - 1;
Symbol 1636 MovieClip Frame 61
if (lvl > _root.lvl2) {
stop();
}
Symbol 1636 MovieClip Frame 87
gotoAndStop (1);
Instance of Symbol 1631 MovieClip in Symbol 1636 MovieClip Frame 88
onClipEvent (load) {
aff = "YES!";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.from_hardmode_go = 2;
_root.got2go = 2;
}
}
Instance of Symbol 1631 MovieClip in Symbol 1636 MovieClip Frame 88
onClipEvent (load) {
aff = "NO...";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.got2go = 2;
}
}
Symbol 1638 MovieClip Frame 1
if (_root.act != 3) {
_visible = false;
}
Symbol 1643 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.interr.menuu.lvl);
};
Symbol 1652 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.interr.menuu.lvl);
};
Symbol 1661 MovieClip Frame 1
stop();
Symbol 1661 MovieClip Frame 2
_root.shake = 12;
_root.piece_collected = 2;
Symbol 1664 MovieClip Frame 1
stop();
Symbol 1670 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_x > (_parent.pt_start._x + 5)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Symbol 1685 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_parent._parent._parent.lvl);
};
Instance of Symbol 1664 MovieClip "gold_1" in Symbol 1685 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 1664 MovieClip "gold_2" in Symbol 1685 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 1664 MovieClip "gold_3" in Symbol 1685 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 1664 MovieClip "gold_4" in Symbol 1685 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 1664 MovieClip "gold_5" in Symbol 1685 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 1664 MovieClip "gold_6" in Symbol 1685 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 1664 MovieClip "gold_7" in Symbol 1685 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 1664 MovieClip "gold_8" in Symbol 1685 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 1664 MovieClip "gold_9" in Symbol 1685 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
}
Instance of Symbol 1664 MovieClip "gold_10" in Symbol 1685 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
}
Instance of Symbol 1670 MovieClip "pt_start" in Symbol 1685 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
_parent.ninja._y = _parent.ninja._y - 600;
}
Instance of Symbol 1670 MovieClip "pt_start" in Symbol 1685 MovieClip Frame 3
onClipEvent (load) {
}
Instance of Symbol 1670 MovieClip "pt_start" in Symbol 1685 MovieClip Frame 7
onClipEvent (load) {
_visible = false;
_parent.ninja._y = _parent.ninja._y - 600;
}
Instance of Symbol 1670 MovieClip "pt_start" in Symbol 1685 MovieClip Frame 8
onClipEvent (load) {
}
Instance of Symbol 1670 MovieClip "pt_start" in Symbol 1685 MovieClip Frame 9
onClipEvent (load) {
}
Symbol 1686 MovieClip Frame 1
stop();
onEnterFrame = function () {
_xscale = (100 + ((_parent.scrollboxx.posi * 200) / 100));
_yscale = _xscale;
};
Symbol 1690 Button
on (press) {
dragging = 2;
}
on (release, releaseOutside) {
dragging = 1;
}
Symbol 1694 Button
on (press) {
_parent.canscroll = 2;
}
on (release) {
_parent.canscroll = 1;
}
on (releaseOutside) {
_parent.canscroll = 1;
gotoAndPlay (6);
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (6);
}
Symbol 1695 MovieClip Frame 1
stop();
Symbol 1695 MovieClip Frame 5
stop();
Symbol 1696 MovieClip Frame 1
canscroll = 1;
stop();
onEnterFrame = function () {
_parent.posi = (_y * 100) / 120;
if (canscroll == 2) {
_y = _parent._ymouse;
}
if (_y < 0) {
_y = 0;
}
if (_y > 120) {
_y = 120;
}
};
Symbol 1701 MovieClip Frame 1
stop();
onEnterFrame = function () {
_x = _parent._xmouse;
_y = _parent._ymouse;
};
Symbol 1702 MovieClip Frame 1
dragging = 1;
stop();
onEnterFrame = function () {
if ((((_xmouse > -315) && (_xmouse < 270)) && (_ymouse > -110)) && (_ymouse < 115)) {
candrag = 2;
mover._visible = true;
Mouse.hide();
} else {
candrag = 1;
mover._visible = false;
Mouse.show();
}
if (candrag == 2) {
if (dragging == 2) {
map._x = map._x + (_xmouse - mousexmem);
map._y = map._y + (_ymouse - mouseymem);
}
}
mousexmem = _xmouse;
mouseymem = _ymouse;
};
Symbol 1719 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(eval ("_root." + _parent._parent.da_var) + 1);
};
Symbol 1721 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(eval ("_root." + _parent._parent.da_var) + 1);
};
Symbol 1725 MovieClip Frame 1
stop();
onEnterFrame = function () {
valuu = eval ("_root." + _parent.da_var);
_parent.price = eval ((("_parent._parent.cost_" + _parent.da_var) + "_") + (valuu + 1));
};
Symbol 1726 Button
on (release) {
if (price <= _root.gold) {
_parent.price = price;
_root.gold = _root.gold - price;
_parent.upgrade_what = da_var;
_parent.headboxx.gotoAndPlay(2);
_parent.upgrade_go = 2;
_parent.gotoAndStop(13);
}
}
on (rollOver) {
_parent.headboxx.boxx.boxx.gotoAndStop(nb);
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 1730 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_currentframe <= 20) {
if ((casee._currentframe == 1) && (casee.boxx._currentframe == 5)) {
gotoAndStop (21);
}
if ((casee._currentframe == 2) && (casee.boxx._currentframe == 3)) {
gotoAndStop (21);
}
}
};
Symbol 1730 MovieClip Frame 10
stop();
Symbol 1730 MovieClip Frame 20
gotoAndStop (1);
Symbol 1730 MovieClip Frame 21
stop();
Symbol 1730 MovieClip Frame 22
play();
Symbol 1731 Button
on (release) {
_parent.gotoAndStop(12);
}
on (rollOver) {
_parent.headboxx.boxx.boxx.gotoAndStop(nb);
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 1732 MovieClip Frame 1
stop();
Symbol 1732 MovieClip Frame 10
stop();
Symbol 1732 MovieClip Frame 20
gotoAndStop (1);
Symbol 1745 MovieClip Frame 1
stop();
Symbol 1749 MovieClip Frame 1
stop();
Symbol 1749 MovieClip Frame 50
stop();
Instance of Symbol 25 MovieClip in Symbol 1749 MovieClip Frame 50
onClipEvent (load) {
aff = "yes";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.gold = _root.gold - _parent._parent.price;
_parent._parent.upgrade_go = 2;
_parent._parent.gotoAndStop(8);
_parent.gotoAndStop(1);
}
}
Instance of Symbol 25 MovieClip in Symbol 1749 MovieClip Frame 50
onClipEvent (load) {
aff = "no";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndStop(8);
}
}
Symbol 1753 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 1758 Button
on (release) {
_root.st_volum = Math.round(_xmouse);
}
Symbol 1760 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(Math.round((_root.st_volum * 23) / 100) + 1);
if (_root.st_volum < 0) {
_root.st_volum = 0;
}
if (_root.st_volum > 100) {
_root.st_volum = 100;
}
_parent.affvolum = _root.st_volum;
};
Instance of Symbol 1631 MovieClip in Symbol 1764 MovieClip Frame 1
onClipEvent (load) {
aff = "LOW";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.st_qual = 1;
_root.st_qual_remember = 0;
}
}
Instance of Symbol 1631 MovieClip in Symbol 1764 MovieClip Frame 1
onClipEvent (load) {
aff = "MEDIUM";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.st_qual = 2;
_root.st_qual_remember = 0;
}
}
Instance of Symbol 1631 MovieClip in Symbol 1764 MovieClip Frame 1
onClipEvent (load) {
aff = "HIGH";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.st_qual = 3;
_root.st_qual_remember = 0;
}
}
Symbol 1768 Button
on (release) {
_parent.produit = nb;
_parent.gotoAndStop(3);
}
on (rollOver) {
gotoAndPlay (11);
}
on (rollOut) {
gotoAndStop (2);
}
Symbol 1769 MovieClip Frame 1
stop();
Symbol 1769 MovieClip Frame 2
stop();
Symbol 1769 MovieClip Frame 20
gotoAndPlay (3);
Symbol 1774 MovieClip Frame 1
onEnterFrame = function () {
if (_parent.cheatbox == "") {
_visible = true;
} else {
_visible = false;
}
};
Symbol 1775 MovieClip Frame 1
cheatbox = "";
onEnterFrame = function () {
cheatbox = String(cheatbox.toUpperCase());
};
Instance of Symbol 1631 MovieClip in Symbol 1775 MovieClip Frame 1
onClipEvent (load) {
aff = "OK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_parent.cheatbox == "EQUIP") {
_root.gold = _root.gold + 10;
anim_go = 2;
}
if (_parent.cheatbox == "FFW") {
_root.cheat_2 = 2;
anim_go = 2;
}
if (_parent.cheatbox == "SLOW") {
_root.cheat_3 = 2;
anim_go = 2;
}
if (_parent.cheatbox == "AWAY") {
_root.cheat_4 = 2;
anim_go = 2;
}
if (anim_go == 2) {
anim_go = 1;
_parent.cheatbox = "";
_parent.boxxanim.gotoAndPlay(2);
}
}
}
Symbol 1777 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_parent._currentframe == 21) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Symbol 1779 Button
on (release) {
price = 2;
if (price <= _root.gold) {
_root.gold = _root.gold - 2;
act = 2;
}
}
on (rollOver) {
_parent.headboxx.boxx.boxx.gotoAndStop(nb);
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 1780 MovieClip Frame 1
stop();
Symbol 1780 MovieClip Frame 10
stop();
Symbol 1780 MovieClip Frame 20
gotoAndStop (1);
Symbol 1780 MovieClip Frame 21
stop();
Symbol 1782 MovieClip Frame 1
timer = 100;
gold_cancount = 2;
stop();
onEnterFrame = function () {
if (_currentframe == 1) {
if ((_root.act == 3) || (_root.act == 4)) {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 50;
gotoAndStop (2);
}
}
}
if (_currentframe == 2) {
if (timer > 0) {
timer = timer - 1;
} else {
if (_root.act == 3) {
gotoAndStop (4);
}
if (_root.act == 4) {
gotoAndStop (3);
}
}
}
if (_currentframe >= 3) {
if (fondd._currentframe < 3) {
fondd.gotoAndPlay(3);
}
}
if (upgrade_go == 2) {
upgrade_go = 1;
if (_currentframe == 8) {
Set("_root." + upgrade_what, eval ("_root." + upgrade_what) + 1);
eval ("mc_" + upgrade_what).gotoAndPlay(22);
}
}
};
Instance of Symbol 25 MovieClip in Symbol 1782 MovieClip Frame 3
onClipEvent (load) {
aff = "guide";
dalink = "http://www.gamesfree.ca/game/7995/walkthrough/run-ninja-run-3.html";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
}
}
Instance of Symbol 25 MovieClip in Symbol 1782 MovieClip Frame 3
onClipEvent (load) {
aff = "switch level";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(6);
}
}
Instance of Symbol 25 MovieClip in Symbol 1782 MovieClip Frame 3
onClipEvent (load) {
aff = "restart";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_root.from_hardmode_go == 3) {
_root.from_hardmode_go = 2;
}
_root.got2go = 3;
}
}
Symbol 1782 MovieClip Frame 6
gold_cancount = 1;
if (((_root.jump <= 1) && (_root.gold >= 5)) && (_root.lvl2 >= 2)) {
_root.interr.tuto.gotoAndStop(8);
}
Instance of Symbol 25 MovieClip in Symbol 1782 MovieClip Frame 6
onClipEvent (load) {
aff = "upgrades";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(8);
}
}
Instance of Symbol 25 MovieClip in Symbol 1782 MovieClip Frame 6
onClipEvent (load) {
aff = "cheats";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(11);
}
}
Instance of Symbol 25 MovieClip in Symbol 1782 MovieClip Frame 6
onClipEvent (load) {
aff = "options";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(10);
}
}
Instance of Symbol 25 MovieClip in Symbol 1782 MovieClip Frame 7
onClipEvent (load) {
aff = "back";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(6);
}
}
Symbol 1782 MovieClip Frame 8
_root.from_upgrade = 2;
cost_jump_1 = 0;
cost_jump_2 = 5;
cost_jump_3 = 15;
cost_jump_4 = 30;
cost_slide_1 = 0;
cost_slide_2 = 5;
cost_slide_3 = 15;
cost_slide_4 = 30;
cost_sword_1 = 12;
cost_shield_1 = 13;
cost_smokebomb_1 = 13;
Instance of Symbol 1730 MovieClip "mc_jump" in Symbol 1782 MovieClip Frame 8
onClipEvent (load) {
casee.gotoAndStop(1);
txx = "jump";
da_var = "jump";
nb = 1;
}
Instance of Symbol 1730 MovieClip "mc_slide" in Symbol 1782 MovieClip Frame 8
onClipEvent (load) {
casee.gotoAndStop(1);
txx = "slide";
da_var = "slide";
nb = 2;
if (_root.jump <= 1) {
gotoAndStop (21);
}
}
Instance of Symbol 1730 MovieClip "mc_sword" in Symbol 1782 MovieClip Frame 8
onClipEvent (load) {
casee.gotoAndStop(2);
txx = "sword";
da_var = "sword";
nb = 3;
if (_root.jump <= 1) {
gotoAndStop (21);
}
}
Instance of Symbol 1730 MovieClip "mc_shield" in Symbol 1782 MovieClip Frame 8
onClipEvent (load) {
casee.gotoAndStop(2);
txx = "shield";
da_var = "shield";
nb = 4;
if (_root.jump <= 1) {
gotoAndStop (21);
}
}
Instance of Symbol 1730 MovieClip "mc_smokebomb" in Symbol 1782 MovieClip Frame 8
onClipEvent (load) {
casee.gotoAndStop(2);
txx = "smoke bomb";
da_var = "smokebomb";
nb = 5;
if (_root.jump <= 1) {
gotoAndStop (21);
}
}
Instance of Symbol 25 MovieClip in Symbol 1782 MovieClip Frame 10
onClipEvent (load) {
aff = "back";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(6);
}
}
Instance of Symbol 25 MovieClip in Symbol 1782 MovieClip Frame 11
onClipEvent (load) {
aff = "cheats list";
dalink = "http://www.gamesfree.ca/game/7995/cheats/run-ninja-run-3.html";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
}
}
Symbol 1782 MovieClip Frame 12
_root.from_upgrade = 3;
Instance of Symbol 1780 MovieClip in Symbol 1782 MovieClip Frame 12
onClipEvent (load) {
txx = "all forest maps";
if (_root.scroll_4 == 2) {
gotoAndStop (21);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.scroll_4 = 2;
_root.scroll_5 = 2;
_root.scroll_6 = 2;
_parent.lvl = 4;
_parent.gotoAndStop(13);
}
}
Instance of Symbol 1780 MovieClip in Symbol 1782 MovieClip Frame 12
onClipEvent (load) {
txx = "all canyon maps";
if (_root.scroll_7 == 2) {
gotoAndStop (21);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.scroll_7 = 2;
_root.scroll_8 = 2;
_root.scroll_9 = 2;
_parent.lvl = 7;
_parent.gotoAndStop(13);
}
}
Instance of Symbol 1780 MovieClip in Symbol 1782 MovieClip Frame 12
onClipEvent (load) {
txx = "all caves maps";
if (_root.scroll_10 == 2) {
gotoAndStop (21);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.scroll_10 = 2;
_root.scroll_11 = 2;
_root.scroll_12 = 2;
_parent.lvl = 10;
_parent.gotoAndStop(13);
}
}
Instance of Symbol 1780 MovieClip in Symbol 1782 MovieClip Frame 12
onClipEvent (load) {
txx = "the mountain map";
if (_root.scroll_13 == 2) {
gotoAndStop (21);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.scroll_13 = 2;
_parent.lvl = 13;
_parent.gotoAndStop(13);
}
}
Instance of Symbol 1780 MovieClip in Symbol 1782 MovieClip Frame 12
onClipEvent (load) {
txx = "all empire maps";
if (_root.scroll_14 == 2) {
gotoAndStop (21);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.scroll_14 = 2;
_root.scroll_15 = 2;
_parent.lvl = 14;
_parent.gotoAndStop(13);
}
}
Instance of Symbol 1780 MovieClip in Symbol 1782 MovieClip Frame 12
onClipEvent (load) {
txx = "all village maps";
if (_root.scroll_1 == 2) {
gotoAndStop (21);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.scroll_1 = 2;
_root.scroll_2 = 2;
_root.scroll_3 = 2;
_parent.lvl = 1;
_parent.gotoAndStop(13);
}
}
Instance of Symbol 25 MovieClip in Symbol 1782 MovieClip Frame 12
onClipEvent (load) {
aff = "back";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(8);
}
}
Symbol 1782 MovieClip Frame 13
if (_root.from_upgrade == 2) {
_root.from_upgrade = 1;
gotoAndStop (8);
}
if (_root.from_upgrade == 3) {
_root.from_upgrade = 1;
gotoAndStop (7);
}
Symbol 1786 MovieClip Frame 1
gotoAndStop(_root.lvl);
Symbol 1789 MovieClip Frame 1
gotoAndStop(_root.lvl);
Symbol 1810 MovieClip Frame 1
if (_root.last_ninja_call == undefined) {
_root.last_ninja_call = 0;
}
stop();
onEnterFrame = function () {
if (_currentframe == 1) {
aa = random(20) + 1;
if (_parent.calltheshot != undefined) {
_root.last_ninja_call = 0;
aa = _parent.calltheshot;
}
if (aa != _root.last_ninja_call) {
gotoAndPlay(aa * 2);
}
}
};
Symbol 1810 MovieClip Frame 3
stop();
Symbol 1810 MovieClip Frame 5
stop();
Symbol 1810 MovieClip Frame 7
stop();
Symbol 1810 MovieClip Frame 9
stop();
Symbol 1810 MovieClip Frame 11
stop();
Symbol 1810 MovieClip Frame 13
stop();
Symbol 1810 MovieClip Frame 15
stop();
Symbol 1810 MovieClip Frame 17
stop();
Symbol 1810 MovieClip Frame 19
stop();
Symbol 1810 MovieClip Frame 21
stop();
Symbol 1810 MovieClip Frame 23
stop();
Symbol 1810 MovieClip Frame 25
stop();
Symbol 1810 MovieClip Frame 27
stop();
Symbol 1810 MovieClip Frame 29
stop();
Symbol 1810 MovieClip Frame 31
stop();
Symbol 1810 MovieClip Frame 33
stop();
Symbol 1810 MovieClip Frame 35
stop();
Symbol 1810 MovieClip Frame 37
stop();
Symbol 1810 MovieClip Frame 39
stop();
Symbol 1810 MovieClip Frame 41
stop();
Symbol 1811 MovieClip Frame 1
gotoAndPlay (2);
Symbol 1811 MovieClip Frame 93
stop();
Symbol 1829 MovieClip Frame 3
_root.slowmotion = 0.1;
Symbol 1829 MovieClip Frame 150
_root.slowmotion = 1;
_parent.gotoAndStop(1);
stop();
Symbol 1839 MovieClip Frame 150
_parent.gotoAndStop(1);
Symbol 1843 MovieClip Frame 3
_root.slowmotion = 0.05;
Symbol 1843 MovieClip Frame 295
_root.slowmotion = 1;
_parent.gotoAndStop(1);
stop();
Symbol 1848 MovieClip Frame 1
stop();
Symbol 1852 MovieClip Frame 3
stop();
Symbol 1853 MovieClip Frame 1
var muzsound = new Sound(muz_mc);