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:"2bc925dba646a33f", res:"800x440"});
__com_mochibot__("ae716c38", this, 10301, true);
lavr = 1;
function menuChoiceOne() {
getURL ("http://www.pyrozen.com");
}
facee = 1;
clothes = 1;
lvl = 1;
tuto = 1;
st_qual = 2;
_quality = "medium";
st_volum = 100;
cash = 0;
wp_1 = 1;
wp_2 = 1;
wp_3 = 0;
wp_4 = 0;
wp_5 = 0;
wp_6 = 0;
wp_7 = 0;
wp_8 = 0;
wp_9 = 0;
wp_10 = 0;
wp_cost_1_1 = 10000;
wp_cost_1_2 = 25000;
wp_cost_1_3 = 50000;
wp_cost_1_4 = 100000 /* 0x0186A0 */;
wp_cost_2_1 = 10000;
wp_cost_2_2 = 20000;
wp_cost_2_3 = 30000;
wp_cost_3_1 = 5000;
wp_cost_3_2 = 10000;
wp_cost_3_3 = 15000;
wp_cost_4_1 = 12000;
wp_cost_4_2 = 24000;
wp_cost_4_3 = 36000;
wp_cost_5_1 = 10000;
wp_cost_5_2 = 20000;
wp_cost_5_3 = 40000;
wp_cost_6_1 = 15000;
wp_cost_6_2 = 30000;
wp_cost_6_3 = 45000;
wp_cost_7_1 = 20000;
wp_cost_7_2 = 40000;
wp_cost_7_3 = 60000;
wp_cost_8_1 = 80000 /* 0x013880 */;
wp_cost_8_2 = 80000 /* 0x013880 */;
wp_cost_8_3 = 80000 /* 0x013880 */;
wp_cost_9_1 = 4000;
wp_cost_9_2 = 8000;
wp_cost_9_3 = 16000;
wp_cost_10_1 = 6000;
wp_cost_10_2 = 12000;
wp_cost_10_3 = 18000;
st_killed = 0;
st_injured = 0;
st_explosions = 0;
st_objects = 0;
st_vehicules = 0;
st_cash_spent = 0;
st_cash_win = 0;
ob_1 = "Kill 2 people";
ob_2 = "Kill yourself with the rocket";
ob_3 = "Hit the freeway";
ob_4 = "Slice 5 people";
ob_5 = "Destroy a building";
ob_6 = "Jet-Pack to the clouds";
ob_7 = "Kill 10 people";
ob_8 = "Kamikaze yourself with the church";
ob_9 = "Rocket the pumpkins from the cemetary";
ob_10 = "Kill 3 people by exploding the gas tank";
ob_11 = "Start an earthquake in the mines";
ob_12 = "Blow up a plane";
ob_13 = "Impale the punks";
ob_14 = "Slice 6 people and explode the propane tank";
ob_15 = "Create a massive car accident";
ob_16 = "Grenade a farmer and his farm";
ob_17 = "Enter the underground base";
ob_18 = "Destroy the trees";
ob_19 = "Kamikaze yourself with a plane";
ob_20 = "Uzi the scientists";
ob_21 = "Drop a mine in the mines";
ob_22 = "Shotgun 4 policemen and 4 soldiers";
ob_23 = "Impale all the religious people";
ob_24 = "Jet-Pack to space";
ob_25 = "Kill all the workers";
ob_26 = "Mine the snowman and destroy the elevator";
ob_27 = "Deploy the army missles on farm, plane and freeway";
ob_28 = "Destroy the satellite";
ob_29 = "C-4 the mine truck from the city";
ob_30 = "Rocket the underground door from the farm";
ob_31 = "Grenade the gas tank from space";
ob_32 = "Kill everybody with firearms";
ob_33 = "Kill people using every weapon";
ob_34 = "Crash a plane on the gas tank";
ob_35 = "Earthquake using C4 from the underground base";
ob_36 = "Kill 3 people with a freeway crash";
ob_37 = "Army missle on the spy plane";
ob_38 = "Explode the nuclear plant";
ob_39 = "Kill everybody with the chainsaw";
ob_40 = "Use the Nuke";
ac_1 = 1;
ac_2 = 1;
ac_3 = 1;
ac_4 = 1;
ac_5 = 1;
ac_6 = 1;
ac_name_1 = "Kill 25 people";
ac_name_2 = "Kill 50 people";
ac_name_3 = "Kill 100 people";
ac_name_4 = "Destroy 10 objects";
ac_name_5 = "Destroy 30 objects";
ac_name_6 = "Destroy 60 objects";
stop();
_root.user = SharedObject.getLocal("user_MM4");
onEnterFrame = function () {
};
NewMenu = new ContextMenu();
NewMenu.hideBuiltInItems();
NewMenu.customItems.push(new ContextMenuItem("Pyrozen", menuChoiceOne));
this.menu = NewMenu;
Frame 3
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (4);
}
};
Frame 19
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (20);
}
};
Frame 20
stop();
Instance of Symbol 223 MovieClip "diadd" in Frame 20
onClipEvent (load) {
boxx.gotoAndStop(Math.round(_root.lavr));
boxx2.boxx.gotoAndStop(Math.round(_root.lavr));
if (_root.lavr != 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
boxx2.gotoAndStop(boxx.shade + 1);
}
Frame 21
if (_root.user.data.cash != undefined) {
stop();
} else {
gotoAndStop (22);
}
Instance of Symbol 20 MovieClip in Frame 21
onClipEvent (load) {
txx = "CONTINUE";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.tuto = 2;
_parent.gotoAndStop(31);
}
}
Instance of Symbol 20 MovieClip in Frame 21
onClipEvent (load) {
txx = "NEW GAME";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(22);
}
}
Frame 31
timer = 20;
stop();
onEnterFrame = function () {
_root.cash = _root.user.data.cash;
_root.wp_1 = _root.user.data.wp_1;
_root.wp_2 = _root.user.data.wp_2;
_root.wp_3 = _root.user.data.wp_3;
_root.wp_4 = _root.user.data.wp_4;
_root.wp_5 = _root.user.data.wp_5;
_root.wp_6 = _root.user.data.wp_6;
_root.wp_7 = _root.user.data.wp_7;
_root.wp_8 = _root.user.data.wp_8;
_root.wp_9 = _root.user.data.wp_9;
_root.wp_10 = _root.user.data.wp_10;
_root.facee = _root.user.data.facee;
_root.clothes = _root.user.data.clothes;
_root.lvl = _root.user.data.lvl;
_root.st_killed = _root.user.data.st_killed;
_root.st_injured = _root.user.data.st_injured;
_root.st_explosions = _root.user.data.st_explosions;
_root.st_objects = _root.user.data.st_objects;
_root.st_vehicules = _root.user.data.st_vehicules;
_root.st_cash_spent = _root.user.data.st_cash_spent;
_root.st_cash_win = _root.user.data.st_cash_win;
if (timer != 0) {
timer = timer - 1;
} else {
gotoAndStop (40);
}
};
Instance of Symbol 235 MovieClip in Frame 31
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
}
Frame 32
timer = 20;
stop();
onEnterFrame = function () {
_root.user.data.cash = _root.cash;
_root.user.data.wp_1 = _root.wp_1;
_root.user.data.wp_2 = _root.wp_2;
_root.user.data.wp_3 = _root.wp_3;
_root.user.data.wp_4 = _root.wp_4;
_root.user.data.wp_5 = _root.wp_5;
_root.user.data.wp_6 = _root.wp_6;
_root.user.data.wp_7 = _root.wp_7;
_root.user.data.wp_8 = _root.wp_8;
_root.user.data.wp_9 = _root.wp_9;
_root.user.data.wp_10 = _root.wp_10;
_root.user.data.facee = _root.facee;
_root.user.data.clothes = _root.clothes;
_root.user.data.lvl = _root.lvl;
_root.user.data.st_killed = _root.st_killed;
_root.user.data.st_injured = _root.st_injured;
_root.user.data.st_explosions = _root.st_explosions;
_root.user.data.st_objects = _root.st_objects;
_root.user.data.st_vehicules = _root.st_vehicules;
_root.user.data.st_cash_spent = _root.st_cash_spent;
_root.user.data.st_cash_win = _root.st_cash_win;
_root.user.data.user.flush();
if (timer != 0) {
timer = timer - 1;
} else if (_root.from_stats == 2) {
_root.from_stats = 1;
gotoAndStop (40);
} else {
gotoAndPlay (50);
}
};
Instance of Symbol 235 MovieClip in Frame 32
onClipEvent (enterFrame) {
_rotation = (_rotation + 4);
}
Frame 39
stop();
onEnterFrame = function () {
};
Frame 40
jetpack = 2;
wp = 2;
stop();
onEnterFrame = function () {
if (_root.cheat_2 == 2) {
if (wp_3 == 0) {
wp_3 = 1;
}
if (wp_4 == 0) {
wp_4 = 1;
}
if (wp_5 == 0) {
wp_5 = 1;
}
if (wp_6 == 0) {
wp_6 = 1;
}
if (wp_7 == 0) {
wp_7 = 1;
}
if (wp_8 == 0) {
wp_8 = 1;
}
if (wp_9 == 0) {
wp_9 = 1;
}
if (wp_10 == 0) {
wp_10 = 1;
}
}
if (_root.cheat_3 == 2) {
wp_1 = 3;
wp_2 = 3;
wp_3 = 3;
wp_4 = 3;
wp_5 = 3;
wp_6 = 3;
wp_7 = 3;
wp_8 = 1;
wp_9 = 3;
wp_10 = 3;
}
if (st_qual == 1) {
_quality = "low";
}
if (st_qual == 2) {
_quality = "medium";
}
if (st_qual == 3) {
_quality = "high";
}
mySound = new Sound();
mySound.setVolume(st_volum);
mySound.start(0, 1000);
};
Frame 45
stop();
onEnterFrame = function () {
};
Frame 50
onEnterFrame = function () {
};
gotoAndStop (51);
Frame 51
act = 1;
wp = 2;
wp_ammo_1 = 1;
wp_ammo_2 = wp_2;
wp_ammo_3 = wp_3 * 1;
wp_ammo_4 = wp_4 * 3;
wp_ammo_5 = wp_5 * 2;
wp_ammo_6 = wp_6 * 8;
wp_ammo_7 = wp_7 * 30;
wp_ammo_8 = 1;
wp_ammo_9 = wp_9 * 2;
canmove = 2;
canshot = 2;
shake = 0;
speedx = 0;
speedy = 0;
speedy_top = 25;
speedrun = 0.5;
speedrun_top = 10;
speedjump_starter = -30;
speedjump_extra = -5.5;
speedjump_cooling = 10;
miring_speed = 0;
miring_speed_top = 6;
rocket_speed = 14;
camera_speed = 0.2;
side = "R";
rocket_handling = 4;
fumee_nb = 1;
fumee_timer = 0;
rocket_fuel_st = (10 * wp_2) * 50;
rocket_fuel_max = rocket_fuel_st;
jetpack_fuel_st = (15 * wp_10) * 50;
jetpack_fuel_max = jetpack_fuel_st;
jetpack = 1;
check_ob_1 = 1;
check_ob_2 = 26;
check_ob_3 = 51;
check_ob_4 = 76;
mine_nb = 1;
blood_nb = 1;
uzis_nb = 1;
cooling_uzis = 0;
lance_nb = 1;
cracks_nb = 1;
killed = 0;
injured = 0;
explosions = 0;
objects = 0;
sliced = 0;
gravity = 0.3;
ob_done = 1;
boom_from = 0;
boom_from_1 = 0;
boom_from_2 = 0;
boom_from_3 = 0;
boom_from_4 = 0;
boom_from_5 = 0;
boom_from_6 = 0;
boom_from_7 = 0;
boom_from_8 = 0;
boom_from_9 = 0;
boom_from_gastank = 0;
boom_from_armymissiles = 0;
boom_from_carcrash = 0;
wp_kill_1 = 0;
wp_kill_2 = 0;
wp_kill_3 = 0;
wp_kill_4 = 0;
wp_kill_5 = 0;
wp_kill_6 = 0;
wp_kill_7 = 0;
wp_kill_8 = 0;
wp_kill_9 = 0;
ob_13_2 = 0;
ob_16_2 = 0;
ob_18_2 = 0;
ob_20_2 = 0;
ob_22_2 = 0;
ob_23_2 = 0;
ob_25_22 = 0;
ob_26_2 = 0;
ob_27_2 = 0;
ob_31_2 = 0;
ob_32_2 = 0;
if (tuto != 2) {
ob_done = 3;
}
stop();
onEnterFrame = function () {
if ((ac_1 == 1) && (st_killed >= 25)) {
ac_1 = 2;
}
if ((ac_2 == 1) && (st_killed >= 50)) {
ac_2 = 2;
}
if ((ac_3 == 1) && (st_killed >= 100)) {
ac_3 = 2;
}
if ((ac_4 == 1) && (st_objects >= 10)) {
ac_4 = 2;
}
if ((ac_5 == 1) && (st_objects >= 30)) {
ac_5 = 2;
}
if ((ac_6 == 1) && (st_objects >= 60)) {
ac_6 = 2;
}
if ((((lvl == 1) && (killed >= 2)) && (ob_done == 1)) && (tuto == 2)) {
ob_done = 2;
}
if (((((lvl == 2) && (cnt.perso._currentframe == 2)) && (cnt.rocket._currentframe >= 3)) && (cnt.rocket._currentframe <= 30)) && (ob_done == 1)) {
ob_done = 2;
}
if (((lvl == 4) && (sliced >= 5)) && (ob_done == 1)) {
ob_done = 2;
}
if (((lvl == 6) && (cnt.perso._y <= -12000)) && (ob_done == 1)) {
ob_done = 2;
}
if (((lvl == 7) && (killed >= 10)) && (ob_done == 1)) {
ob_done = 2;
}
if (((((((lvl == 9) && (cnt.ob_23._currentframe == 2)) && (cnt.perso._x >= 10)) && (cnt.perso._x <= 8790)) && (cnt.rocket._currentframe >= 3)) && (cnt.rocket._currentframe <= 30)) && (ob_done == 1)) {
ob_done = 2;
}
if (((lvl == 10) && (boom_from_gastank >= 3)) && (ob_done == 1)) {
ob_done = 2;
}
if (((lvl == 11) && (cnt.ob_51._currentframe == 2)) && (ob_done == 1)) {
ob_done = 2;
}
if (((lvl == 13) && (ob_13_2 >= 4)) && (ob_done == 1)) {
ob_done = 2;
}
if ((((lvl == 14) && (sliced >= 6)) && (cnt.ob_28._currentframe == 2)) && (ob_done == 1)) {
ob_done = 2;
}
if ((((lvl == 16) && (ob_16_2 >= 1)) && (cnt.ob_99._currentframe == 2)) && (ob_done == 1)) {
ob_done = 2;
}
if (((((lvl == 17) && (cnt.perso._y >= -250)) && (cnt.perso._x >= 3090)) && (cnt.perso._x <= 5020)) && (ob_done == 1)) {
ob_done = 2;
}
if (((lvl == 18) && (ob_18_2 >= 5)) && (ob_done == 1)) {
ob_done = 2;
}
if (((lvl == 20) && (ob_20_2 >= 5)) && (ob_done == 1)) {
ob_done = 2;
}
if (((lvl == 22) && (ob_22_2 >= 4)) && (ob_done == 1)) {
ob_done = 2;
}
if (((lvl == 23) && (ob_23_2 >= 8)) && (ob_done == 1)) {
ob_done = 2;
}
if (((lvl == 24) && (cnt.perso._y <= -15000)) && (ob_done == 1)) {
ob_done = 2;
}
if (((lvl == 25) && (ob_25_22 >= 12)) && (ob_done == 1)) {
ob_done = 2;
}
if (((lvl == 26) && (ob_26_2 >= 2)) && (ob_done == 1)) {
ob_done = 2;
}
if (((lvl == 27) && (ob_27_2 >= 3)) && (ob_done == 1)) {
ob_done = 2;
}
if (((lvl == 32) && (ob_32_2 >= 96)) && (ob_done == 1)) {
ob_done = 2;
}
if (((((((((((lvl == 33) && (wp_kill_1 >= 1)) && (wp_kill_2 >= 1)) && (wp_kill_3 >= 1)) && (wp_kill_4 >= 1)) && (wp_kill_5 >= 1)) && (wp_kill_6 >= 1)) && (wp_kill_7 >= 1)) && (wp_kill_8 >= 1)) && (wp_kill_9 >= 1)) && (ob_done == 1)) {
ob_done = 2;
}
if (((lvl == 36) && (boom_from_carcrash >= 3)) && (ob_done == 1)) {
ob_done = 2;
}
if (((lvl == 39) && (wp_kill_8 >= 96)) && (ob_done == 1)) {
ob_done = 2;
}
if (cheat_4 == 2) {
jetpack_fuel_st = jetpack_fuel_max;
}
if (cheat_5 == 2) {
speedrun_top = 25;
}
if (cheat_6 == 2) {
gravity = 0.08;
}
if (Key.isDown(32)) {
}
if (cooling_uzis > 0) {
cooling_uzis = cooling_uzis - 1;
}
if ((((eval (("cnt.ob_" + check_ob_1) + "._x") > (eval (("cnt." + what) + "._x") - 1000)) && (eval (("cnt.ob_" + check_ob_1) + "._x") < (eval (("cnt." + what) + "._x") + 1000))) && (eval (("cnt.ob_" + check_ob_1) + "._y") > (eval (("cnt." + what) + "._y") - 1000))) && (eval (("cnt.ob_" + check_ob_1) + "._y") < (eval (("cnt." + what) + "._y") + 1000))) {
Set(("cnt.ob_" + check_ob_1) + "._visible", true);
} else {
Set(("cnt.ob_" + check_ob_1) + "._visible", false);
}
if ((((eval (("cnt.e_" + check_ob_1) + "._x") > (eval (("cnt." + what) + "._x") - 1000)) && (eval (("cnt.e_" + check_ob_1) + "._x") < (eval (("cnt." + what) + "._x") + 1000))) && (eval (("cnt.e_" + check_ob_1) + "._y") > (eval (("cnt." + what) + "._y") - 1000))) && (eval (("cnt.e_" + check_ob_1) + "._y") < (eval (("cnt." + what) + "._y") + 1000))) {
Set(("cnt.e_" + check_ob_1) + "._visible", true);
} else {
Set(("cnt.e_" + check_ob_1) + "._visible", false);
}
check_ob_1 = check_ob_1 + 1;
if (check_ob_1 == 26) {
check_ob_1 = 1;
}
if ((((eval (("cnt.ob_" + check_ob_2) + "._x") > (eval (("cnt." + what) + "._x") - 1000)) && (eval (("cnt.ob_" + check_ob_2) + "._x") < (eval (("cnt." + what) + "._x") + 1000))) && (eval (("cnt.ob_" + check_ob_2) + "._y") > (eval (("cnt." + what) + "._y") - 1000))) && (eval (("cnt.ob_" + check_ob_2) + "._y") < (eval (("cnt." + what) + "._y") + 1000))) {
Set(("cnt.ob_" + check_ob_2) + "._visible", true);
} else {
Set(("cnt.ob_" + check_ob_2) + "._visible", false);
}
if ((((eval (("cnt.e_" + check_ob_2) + "._x") > (eval (("cnt." + what) + "._x") - 1000)) && (eval (("cnt.e_" + check_ob_2) + "._x") < (eval (("cnt." + what) + "._x") + 1000))) && (eval (("cnt.e_" + check_ob_2) + "._y") > (eval (("cnt." + what) + "._y") - 1000))) && (eval (("cnt.e_" + check_ob_2) + "._y") < (eval (("cnt." + what) + "._y") + 1000))) {
Set(("cnt.e_" + check_ob_2) + "._visible", true);
} else {
Set(("cnt.e_" + check_ob_2) + "._visible", false);
}
check_ob_2 = check_ob_2 + 1;
if (check_ob_2 == 51) {
check_ob_2 = 26;
}
if ((((eval (("cnt.ob_" + check_ob_3) + "._x") > (eval (("cnt." + what) + "._x") - 1000)) && (eval (("cnt.ob_" + check_ob_3) + "._x") < (eval (("cnt." + what) + "._x") + 1000))) && (eval (("cnt.ob_" + check_ob_3) + "._y") > (eval (("cnt." + what) + "._y") - 1000))) && (eval (("cnt.ob_" + check_ob_3) + "._y") < (eval (("cnt." + what) + "._y") + 1000))) {
Set(("cnt.ob_" + check_ob_3) + "._visible", true);
} else {
Set(("cnt.ob_" + check_ob_3) + "._visible", false);
}
if ((((eval (("cnt.e_" + check_ob_3) + "._x") > (eval (("cnt." + what) + "._x") - 1000)) && (eval (("cnt.e_" + check_ob_3) + "._x") < (eval (("cnt." + what) + "._x") + 1000))) && (eval (("cnt.e_" + check_ob_3) + "._y") > (eval (("cnt." + what) + "._y") - 1000))) && (eval (("cnt.e_" + check_ob_3) + "._y") < (eval (("cnt." + what) + "._y") + 1000))) {
Set(("cnt.e_" + check_ob_3) + "._visible", true);
} else {
Set(("cnt.e_" + check_ob_3) + "._visible", false);
}
check_ob_3 = check_ob_3 + 1;
if (check_ob_3 == 76) {
check_ob_3 = 51;
}
if ((((eval (("cnt.ob_" + check_ob_4) + "._x") > (eval (("cnt." + what) + "._x") - 1000)) && (eval (("cnt.ob_" + check_ob_4) + "._x") < (eval (("cnt." + what) + "._x") + 1000))) && (eval (("cnt.ob_" + check_ob_4) + "._y") > (eval (("cnt." + what) + "._y") - 1000))) && (eval (("cnt.ob_" + check_ob_4) + "._y") < (eval (("cnt." + what) + "._y") + 1000))) {
Set(("cnt.ob_" + check_ob_4) + "._visible", true);
} else {
Set(("cnt.ob_" + check_ob_4) + "._visible", false);
}
if ((((eval (("cnt.e_" + check_ob_4) + "._x") > (eval (("cnt." + what) + "._x") - 1000)) && (eval (("cnt.e_" + check_ob_4) + "._x") < (eval (("cnt." + what) + "._x") + 1000))) && (eval (("cnt.e_" + check_ob_4) + "._y") > (eval (("cnt." + what) + "._y") - 1000))) && (eval (("cnt.e_" + check_ob_4) + "._y") < (eval (("cnt." + what) + "._y") + 1000))) {
Set(("cnt.e_" + check_ob_4) + "._visible", true);
} else {
Set(("cnt.e_" + check_ob_4) + "._visible", false);
}
check_ob_4 = check_ob_4 + 1;
if (check_ob_4 == 101) {
check_ob_4 = 76;
}
cnt.perso.boxx.arm1.boxx.gotoAndStop(wp);
cnt.perso.boxx.arm2.boxx.gotoAndStop(wp);
if (canmove == 2) {
if (jetpack != 2) {
cnt.perso._rotation = speedx;
} else {
cnt.perso._rotation = speedx * 2;
}
if (Key.isDown(37) && (!Key.isDown(39))) {
if (speedx > 0) {
speedx = 0;
}
speedx = speedx - speedrun;
side = "L";
}
if ((!Key.isDown(37)) && (Key.isDown(39))) {
if (speedx < 0) {
speedx = 0;
}
speedx = speedx + speedrun;
side = "R";
}
if (Key.isDown(38)) {
if ((cnt.perso.boxx._currentframe < 71) || (cnt.perso.boxx._currentframe > 90)) {
cnt.perso.boxx.gotoAndPlay(81);
}
if ((jetpack == 2) && (jetpack_fuel_st > 0)) {
if (speedy > -2) {
speedy = -2;
}
if (speedy < -15) {
speedy = -15;
}
speedy = speedy * 1.8;
jetpack_fuel_st = jetpack_fuel_st - 1;
if (fumee_timer != 0) {
fumee_timer = fumee_timer - 1;
} else {
Set(("cnt.f_" + fumee_nb) + "._x", cnt.perso._x);
Set(("cnt.f_" + fumee_nb) + "._y", cnt.perso._y);
eval ("cnt.f_" + fumee_nb).gotoAndPlay(2);
fumee_nb = fumee_nb + 1;
if (fumee_nb == 50) {
fumee_nb = 1;
}
fumee_timer = 2;
}
} else {
if (keyreleased_38 == 2) {
keyreleased_38 = 1;
if ((touch_sol == 2) || (double_jump == 2)) {
double_jump = 1;
touch_sol = 1;
speedy = speedy + speedjump_starter;
}
}
if (touch_sol != 2) {
if (speedjump_cooling != 0) {
speedjump_cooling = speedjump_cooling - 1;
speedy = speedy + speedjump_extra;
}
}
}
} else {
keyreleased_38 = 2;
if (touch_sol == 2) {
speedjump_cooling = 10;
}
}
}
if (touch_sol != 2) {
if (speedy < -0.5) {
speedy = speedy * (1 - gravity);
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedjump_cooling = 0;
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * (1 + gravity);
}
if (speedy > speedy_top) {
shake = 4;
speedy = speedy_top;
}
} else {
double_jump = 2;
if (speedy > 0) {
speedy = 0;
}
}
if (speedx > speedrun_top) {
speedx = speedrun_top;
}
if (speedx < (-speedrun_top)) {
speedx = -speedrun_top;
}
if (touch_mur == 2) {
speedx = 0;
}
if ((!Key.isDown(37)) && (!Key.isDown(39))) {
speedx = speedx * 0.9;
}
if (act != 0) {
if (act != 2) {
if (touch_sol == 2) {
if (Math.abs(speedx) > 2) {
if ((cnt.perso.boxx._currentframe < 51) || (cnt.perso.boxx._currentframe > 70)) {
cnt.perso.boxx.gotoAndPlay(51);
}
} else if ((cnt.perso.boxx._currentframe < 1) || (cnt.perso.boxx._currentframe > 50)) {
cnt.perso.boxx.gotoAndPlay(1);
}
} else if (speedy >= 6) {
if (speedy >= speedy_top) {
if ((cnt.perso.boxx._currentframe < 91) || (cnt.perso.boxx._currentframe > 110)) {
cnt.perso.boxx.gotoAndPlay(91);
}
} else if ((cnt.perso.boxx._currentframe < 71) || (cnt.perso.boxx._currentframe > 90)) {
cnt.perso.boxx.gotoAndPlay(81);
}
}
} else if (wp == 2) {
cnt.perso.boxx.gotoAndStop(111);
} else {
cnt.perso.boxx.gotoAndStop(112);
}
}
if (act == 1) {
if (cnt.perso._currentframe == 1) {
canmove = 2;
}
if ((cnt.perso.boxx.arm1.boxx._rotation > 0) || (cnt.perso.boxx.arm1.boxx._rotation < -40)) {
cnt.perso.boxx.arm1.boxx._rotation = 0;
}
if (cnt.perso.boxx.arm1.boxx._rotation < 0) {
cnt.perso.boxx.arm1.boxx._rotation = cnt.perso.boxx.arm1.boxx._rotation + 4;
}
cnt.perso.boxx.arm2.boxx._rotation = cnt.perso.boxx.arm1.boxx._rotation;
}
if (act == 2) {
if ((wp != 2) && (wp != 5)) {
act = 1;
}
what = "rocket_angle_pt";
speedx = speedx * 0.8;
speedy = 0;
canmove = 1;
if (Key.isDown(37) && (!Key.isDown(39))) {
miring_speed = miring_speed - 0.2;
if (miring_speed < (-miring_speed_top)) {
miring_speed = -miring_speed_top;
}
if (miring_speed > 0) {
miring_speed = 0;
}
}
if (Key.isDown(39) && (!Key.isDown(37))) {
miring_speed = miring_speed + 0.2;
if (miring_speed > miring_speed_top) {
miring_speed = miring_speed_top;
}
if (miring_speed < 0) {
miring_speed = 0;
}
}
if ((!Key.isDown(39)) && (!Key.isDown(37))) {
miring_speed = miring_speed * 0.85;
}
cnt.rocket_angle._rotation = cnt.rocket_angle._rotation + miring_speed;
cnt.rocket._x = cnt.perso._x;
cnt.rocket._y = cnt.perso._y - 30;
cnt.rocket_angle._x = cnt.perso._x;
cnt.rocket_angle._y = cnt.perso._y - 30;
cnt.rocket._rotation = cnt.rocket_angle._rotation;
if ((cnt.rocket._rotation < -90) || (cnt.rocket._rotation > 90)) {
side = "L";
cnt.perso.boxx.arm1.boxx._rotation = 180 - (cnt.rocket_angle._rotation + 38);
cnt.perso.boxx.arm2.boxx._rotation = 180 - (cnt.rocket_angle._rotation + 38);
} else {
side = "R";
cnt.perso.boxx.arm1.boxx._rotation = cnt.rocket_angle._rotation - 38;
cnt.perso.boxx.arm2.boxx._rotation = cnt.rocket_angle._rotation - 38;
}
}
if (act == 3) {
what = "rocket_cam";
if (cnt.rocket._currentframe == 1) {
cnt.rocket.gotoAndStop(2);
}
if (rocket_fuel_st != 0) {
if ((cnt.rocket._rotation <= 0) && (cnt.rocket._rotation > -90)) {
powerocketx = (rocket_speed * (cnt.rocket._rotation + 90)) / 90;
powerockety = ((rocket_speed * (90 - (cnt.rocket._rotation + 90))) / 90) * -1;
}
if ((cnt.rocket._rotation <= -90) && (cnt.rocket._rotation >= -180)) {
powerocketx = ((rocket_speed * ((cnt.rocket._rotation * -1) - 90)) / 90) * -1;
powerockety = ((rocket_speed * (cnt.rocket._rotation + 180)) / 180) * -2;
}
if ((cnt.rocket._rotation <= 90) && (cnt.rocket._rotation > 0)) {
powerocketx = (rocket_speed * (90 - cnt.rocket._rotation)) / 90;
powerockety = (rocket_speed * cnt.rocket._rotation) / 90;
}
if ((cnt.rocket._rotation <= 180) && (cnt.rocket._rotation > 90)) {
powerocketx = ((rocket_speed * (cnt.rocket._rotation - 90)) / 90) * -1;
powerockety = (rocket_speed * (180 - cnt.rocket._rotation)) / 90;
}
if (Key.isDown(37)) {
cnt.rocket._rotation = cnt.rocket._rotation - rocket_handling;
}
if (Key.isDown(39)) {
cnt.rocket._rotation = cnt.rocket._rotation + rocket_handling;
}
if (fumee_timer != 0) {
fumee_timer = fumee_timer - 1;
} else {
Set(("cnt.f_" + fumee_nb) + "._x", cnt.rocket._x);
Set(("cnt.f_" + fumee_nb) + "._y", cnt.rocket._y);
eval ("cnt.f_" + fumee_nb).gotoAndPlay(2);
fumee_nb = fumee_nb + 1;
if (fumee_nb == 50) {
fumee_nb = 1;
}
fumee_timer = 2;
}
rocket_fuel_st = rocket_fuel_st - 1;
} else {
if (powerocketx > 0) {
cnt.rocket._rotation = cnt.rocket._rotation + 2;
} else {
cnt.rocket._rotation = cnt.rocket._rotation - 2;
}
powerocketx = powerocketx * 0.99;
if (powerockety < -0.5) {
powerockety = powerockety * 0.9;
} else if (powerockety < 1) {
powerockety = 1;
}
if ((powerockety >= 1) && (powerockety < 35)) {
powerockety = powerockety * 1.05;
}
if (powerockety >= 20) {
powerockety = 20;
}
}
if (_root.army_missiles == 0) {
cnt.rocket._x = cnt.rocket._x + powerocketx;
cnt.rocket._y = cnt.rocket._y + powerockety;
} else {
cnt.rocket._x = cnt.rocket._x + (powerocketx * 2);
cnt.rocket._y = cnt.rocket._y + (powerockety * 2);
}
}
if (act == 4) {
what = "rocket";
}
if (act == 12) {
what = "grenade";
gren_sx = gren_sx * 0.98;
if (gren_sy < -1) {
gren_sy = gren_sy * 0.9;
}
if ((gren_sy > -1) && (gren_sy <= 0)) {
gren_sy = 1;
}
if (gren_sy >= 1) {
gren_sy = gren_sy * 1.1;
}
if (gren_sy > 30) {
gren_sy = 30;
}
cnt.grenade._x = cnt.grenade._x + gren_sx;
cnt.grenade._y = cnt.grenade._y + gren_sy;
if (cnt.grenade._x < 950) {
cnt.grenade._x = 950;
_root.act = 1;
_root.infoz = "OUT OF CONTROL";
cnt.grenade.gotoAndStop(1);
}
if (cnt.grenade._x > 11950) {
cnt.grenade._x = 11950;
_root.act = 1;
_root.infoz = "OUT OF CONTROL";
cnt.grenade.gotoAndStop(1);
}
if (cnt.grenade._y < -17020) {
cnt.grenade._y = -17020;
_root.act = 1;
_root.infoz = "OUT OF CONTROL";
cnt.grenade.gotoAndStop(1);
}
}
if (act == 3) {
interr.fuel.gotoAndStop(Math.round((rocket_fuel_st * 100) / rocket_fuel_max) + 1);
if (rocket_fuel_st != 0) {
interr.fuel._visible = true;
} else {
interr.fuel._visible = false;
}
} else if (jetpack == 2) {
interr.fuel.gotoAndStop(Math.round((jetpack_fuel_st * 100) / jetpack_fuel_max) + 1);
if (jetpack_fuel_st != 0) {
interr.fuel._visible = true;
} else {
interr.fuel._visible = false;
}
} else {
interr.fuel._visible = false;
}
if (act == 1) {
cnt.perso._x = cnt.perso._x + speedx;
cnt.perso._y = cnt.perso._y + speedy;
} else if ((((_root.cnt.perso._x > (eval (("cnt." + what) + "._x") - 1000)) && (_root.cnt.perso._x < (eval (("cnt." + what) + "._x") + 1000))) && (_root.cnt.perso._y > (eval (("cnt." + what) + "._y") - 1000))) && (_root.cnt.perso._y < (eval (("cnt." + what) + "._y") + 1000))) {
cnt.perso._x = cnt.perso._x + speedx;
cnt.perso._y = cnt.perso._y + speedy;
}
if (cnt.perso._x < 950) {
cnt.perso._x = 950;
}
if (cnt.perso._x > 11950) {
cnt.perso._x = 11950;
}
if (cnt.perso._y < -17020) {
cnt.perso._y = -17020;
}
if (act == 3) {
if (cnt.rocket._x < 950) {
act = 1;
cnt.rocket.gotoAndPlay(3);
}
if (cnt.rocket._x > 11950) {
act = 1;
cnt.rocket.gotoAndPlay(3);
}
if (cnt.rocket._y < -17020) {
act = 1;
cnt.rocket.gotoAndPlay(3);
}
}
if (act == 12) {
if (cnt.grenade._x < 950) {
act = 1;
}
if (cnt.grenade._x > 11950) {
act = 1;
}
if (cnt.grenade._y < -17020) {
act = 1;
}
}
if (Key.isDown(32)) {
if (keyreleased_32 == 2) {
keyreleased_32 = 1;
if (act == 3) {
if (wp == 2) {
what = "boom";
cnt.rocket_cam._x = cnt.rocket_angle._x;
cnt.rocket_cam._y = cnt.rocket_angle._y;
_root.cnt.rocket.gotoAndPlay(3);
}
}
if (act == 2) {
if (wp == 2) {
_root.army_missiles = 0;
act = 3;
}
if (wp == 5) {
if ((cnt.perso._y - 14000) && (lvl == 31)) {
ob_31_2 = 2;
}
boom_from = wp;
_root.snd.divers.gotoAndPlay(18);
shake = 10;
gren_a = cnt.rocket_angle._rotation;
if (side == "L") {
gren_s = -1;
} else {
gren_s = 1;
}
if (gren_a < 0) {
gren_s2 = -1;
} else {
gren_s2 = 1;
}
gren_b = gren_a;
if (gren_b < 0) {
gren_b = gren_b * -1;
}
speed_adjust = 0.75;
if (gren_b <= 90) {
gren_sx = ((90 - gren_b) * gren_s) * speed_adjust;
gren_sy = (gren_b - 90) * gren_s2;
} else {
gren_sx = ((gren_b - 90) * gren_s) * speed_adjust;
gren_sy = (90 - gren_b) * gren_s2;
}
if (gren_sy < 0) {
gren_sy = (gren_sy + 90) * speed_adjust;
} else {
gren_sy = ((90 - gren_sy) * -1) * speed_adjust;
}
act = 12;
cnt.grenade._x = cnt.perso._x;
cnt.grenade._y = cnt.perso._y - 50;
cnt.grenade.gotoAndStop(2);
}
}
if (act == 1) {
if (wp == 1) {
if (canmove == 2) {
if (_root.wp_1 == 4) {
_root.got2go = 5;
_root.lvl = 41;
}
boom_from = wp;
cnt.boom._x = cnt.perso._x;
cnt.boom._y = cnt.perso._y;
cnt.boom.gotoAndStop(1);
cnt.boom.gotoAndPlay(2);
cnt.boom._xscale = 50 + (wp_1 * 50);
cnt.boom._yscale = cnt.boom._xscale;
snd.boom.gotoAndPlay((random(2) + 1) * 2);
cnt.perso.gotoAndStop(2);
shake = 20;
}
}
if ((wp == 2) || (wp == 5)) {
act = 2;
cnt.rocket_angle._x = cnt.perso._x;
cnt.rocket_angle._y = cnt.perso._y - 30;
cnt.rocket_angle_pt._x = cnt.perso._x;
cnt.rocket_angle_pt._y = cnt.perso._y - 30;
if (side == "R") {
cnt.rocket_angle._rotation = 0;
} else {
cnt.rocket_angle._rotation = -180;
}
}
if (wp == 3) {
if (cnt.c4._currentframe == 3) {
cnt.c4.gotoAndPlay(4);
wp_ammo_3 = wp_ammo_3 - 1;
}
if (cnt.c4._currentframe == 1) {
cnt.c4._x = cnt.perso._x;
cnt.c4._y = cnt.perso._y;
cnt.c4.gotoAndStop(2);
}
}
if (wp == 4) {
Set(("cnt.m_" + mine_nb) + "._x", cnt.perso._x);
Set(("cnt.m_" + mine_nb) + "._y", cnt.perso._y);
eval ("cnt.m_" + mine_nb).gotoAndStop(1);
eval ("cnt.m_" + mine_nb).gotoAndStop(2);
mine_nb = mine_nb + 1;
wp_ammo_4 = wp_ammo_4 - 1;
}
if (wp == 6) {
cnt.shbl._x = cnt.perso._x;
cnt.shbl._y = cnt.perso._y - 25;
if (side == "R") {
cnt.shbl._xscale = 100;
} else {
cnt.shbl._xscale = -100;
}
cnt.shbl.gotoAndPlay(2);
shake = shake + 10;
wp_ammo_6 = wp_ammo_6 - 1;
cnt.perso.boxx.arm1.boxx._rotation = -24;
snd.divers.gotoAndPlay(10);
if (side == "R") {
speedx = speedx - 5;
} else {
speedx = speedx + 5;
}
}
if (_root.wp == 7) {
if (cooling_uzis == 0) {
cooling_uzis = 3;
_root.snd.divers.gotoAndPlay(8);
Set(("cnt.uz_" + uzis_nb) + "._y", ((cnt.perso._y - 40) + random(10)) - 5);
if (side == "R") {
Set(("cnt.uz_" + uzis_nb) + "._x", cnt.perso._x + 25);
Set(("cnt.uz_" + uzis_nb) + "._xscale", 100);
Set(("cnt.uz_" + uzis_nb) + ".speedx", 30);
} else {
Set(("cnt.uz_" + uzis_nb) + "._x", cnt.perso._x - 25);
Set(("cnt.uz_" + uzis_nb) + "._xscale", -100);
Set(("cnt.uz_" + uzis_nb) + ".speedx", -30);
}
eval ("cnt.uz_" + uzis_nb).gotoAndStop(1);
eval ("cnt.uz_" + uzis_nb).gotoAndStop(2);
uzis_nb = uzis_nb + 1;
if (uzis_nb == 11) {
uzis_nb = 1;
}
shake = 5;
wp_ammo_7 = wp_ammo_7 - 1;
cnt.perso.boxx.arm1.boxx._rotation = -12;
if (side == "R") {
}
}
if (wp_ammo_7 != 0) {
keyreleased_32 = 2;
}
}
if (_root.wp == 8) {
cnt.perso.boxx.arm1.boxx._rotation = -20;
if (side == "R") {
cnt.chainsaw._x = cnt.perso._x + 30;
} else {
cnt.chainsaw._x = cnt.perso._x - 30;
}
cnt.chainsaw._y = cnt.perso._y - 30;
cnt.chainsaw.gotoAndPlay(2);
keyreleased_32 = 2;
}
}
}
} else {
keyreleased_32 = 2;
}
if (_root.cheat_7 != 2) {
if (side == "L") {
cnt.perso._xscale = -100;
}
if (side == "R") {
cnt.perso._xscale = 100;
}
} else {
if (side == "L") {
cnt.perso._xscale = -300;
}
if (side == "R") {
cnt.perso._xscale = 300;
}
cnt.perso._yscale = 300;
if (_root.cheat_6 != 2) {
gravity = 0.08;
}
}
if (act == 1) {
what = "perso";
}
if (act == 2) {
what = "rocket_angle_pt";
}
if (act == 3) {
what = "rocket_cam";
}
if (act == 4) {
what = "rocket";
}
if (act == 11) {
}
if ((cnt._x - 1) > (400 - eval (("cnt." + what) + "._x"))) {
cnt._x = cnt._x - (((cnt._x - 1) - (400 - eval (("cnt." + what) + "._x"))) * camera_speed);
}
if ((cnt._x + 1) < (400 - eval (("cnt." + what) + "._x"))) {
cnt._x = cnt._x + (((400 - eval (("cnt." + what) + "._x")) - (cnt._x + 1)) * camera_speed);
}
if ((cnt._y - 1) > (220 - eval (("cnt." + what) + "._y"))) {
cnt._y = cnt._y - (((cnt._y - 1) - (220 - eval (("cnt." + what) + "._y"))) * camera_speed);
}
if ((cnt._y + 1) < (220 - eval (("cnt." + what) + "._y"))) {
cnt._y = cnt._y + (((220 - eval (("cnt." + what) + "._y")) - (cnt._y + 1)) * camera_speed);
}
ciel._x = Math.round((cnt._x * 200) / 9096);
ciel._y = Math.round((cnt._y * 400) / 9096) - 850;
if (shake > 0) {
shake = shake - 1;
shake = Math.round(shake);
cnt._x = cnt._x + (random(shake * 2) - shake);
cnt._y = cnt._y + (random(shake * 2) - shake);
ciel._x = ciel._x + (random(shake) - (shake / 2));
ciel._y = ciel._y + (random(shake) - (shake / 2));
}
if (_root.got2go == 2) {
_root.got2go = 1;
if (ob_done == 2) {
lvl = lvl + 1;
}
gotoAndStop (39);
}
if (_root.got2go == 3) {
_root.got2go = 1;
gotoAndPlay (50);
}
if (_root.got2go == 5) {
_root.got2go = 1;
gotoAndPlay (45);
}
if (_root.got2go == 6) {
_root.got2go = 1;
gotoAndPlay (40);
}
};
Instance of Symbol 223 MovieClip "diadd" in Frame 51
onClipEvent (load) {
boxx.gotoAndStop(Math.round(_root.lavr));
boxx2.boxx.gotoAndStop(Math.round(_root.lavr));
if (_root.lavr != 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
boxx2.gotoAndStop(boxx.shade + 1);
}
Symbol 5 MovieClip Frame 1
_root.stop();
_root.PercentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (_root.PercentLoaded != 100) {
setProperty(bar, _xscale , _root.PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 5 MovieClip Frame 2
gotoAndPlay (1);
Symbol 5 MovieClip Frame 3
_root.play();
Symbol 1853 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 1854 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 1855 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.9.4 as2");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local6 = "_mochiservices_com_" + id;
var _local5 = new MovieClipLoader();
var _local3 = {};
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
onError("NotConnected");
return(null);
}
if (urlOptions().servURL) {
_servURL = urlOptions().servURL;
}
var _local4 = _servURL + _services;
if (urlOptions().servicesURL) {
_local4 = urlOptions().servicesURL;
}
allowDomains(_local4);
_clip = clip.createEmptyMovieClip(_local6, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
if (_local3.waitInterval != null) {
clearInterval(_local3.waitInterval);
}
_local3.onLoadError = loadError;
_local3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_local3.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
_local3.startTime = getTimer();
_local3.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError("IOError");
}
clearInterval(this.waitInterval);
}
};
_local3.waitInterval = setInterval(_local3, "wait", 1000);
_local5.addListener(_local3);
_local5.loadClip((((((_local4 + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options)) + "&api_version=") + getVersion(), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function loadError(target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
disconnect();
onError(errorCode);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case "services" :
mochi.as2.MochiServices.triggerEvent(pkg.event, pkg.args);
break;
case "events" :
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case "coins" :
mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args);
break;
case "social" :
mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args);
}
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError("IOError");
};
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError("NotConnected");
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError("NotConnected");
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
trace("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + methodName);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
var _local6;
if (_root._url.indexOf("mochiad_options") != -1) {
var _local2 = (_root._url.indexOf("mochiad_options") + "mochiad_options".length) + 1;
_local6 = _root._url.substr(_local2, _root._url.length);
} else if (_root.mochiad_options) {
_local6 = _root.mochiad_options;
}
if (_local6) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://link.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static function setContainer(clip) {
}
static function stayOnTop(clip) {
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static var CONNECTED = "onConnected";
static var _servURL = "http://www.mochiads.com/static/lib/services/";
static var _services = "services.swf";
static var _mochiLC = "MochiLC.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 1856 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 1857 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 1858 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 18 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (16);
}
Symbol 20 MovieClip Frame 1
stop();
Symbol 20 MovieClip Frame 15
stop();
Symbol 20 MovieClip Frame 30
gotoAndStop (1);
Symbol 21 MovieClip Frame 140
stop();
Instance of Symbol 20 MovieClip in Symbol 21 MovieClip Frame 140
onClipEvent (load) {
txx = "PLAY";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndPlay(4);
}
}
Symbol 39 MovieClip Frame 67
stop();
Symbol 41 Button
on (release) {
getURL ("http://www.pyrozen.com/", "_blank");
}
on (keyPress "<Space>") {
_parent.play();
}
Symbol 46 MovieClip Frame 9
aa = random(2) + 1;
if (aa == 2) {
gotoAndPlay (1);
}
Symbol 46 MovieClip Frame 30
aa = random(2) + 1;
if (aa == 2) {
gotoAndPlay (11);
}
Instance of Symbol 46 MovieClip in Symbol 47 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
alphaa = 50;
alphaas = (random(3) + 1) / 2;
speed = random(12) + 3;
gotoAndPlay(random(30) + 1);
timing = random(50) + 1;
}
onClipEvent (enterFrame) {
if (timing > 0) {
timing = timing - 1;
}
if (timing == 0) {
timing = timing - 1;
_visible = true;
}
if (timing == -1) {
_x = (_x + (random(7) - 3));
_y = (_y - speed);
_alpha = Math.round(alphaa);
alphaa = alphaa - alphaas;
}
}
Symbol 60 MovieClip Frame 12
stop();
Symbol 61 MovieClip Frame 1
stopAllSounds();
Symbol 61 MovieClip Frame 236
_parent.play();
Symbol 68 Button
on (release) {
gotoAndStop (21);
}
Symbol 71 MovieClip Frame 1
stopAllSounds();
Symbol 71 MovieClip Frame 139
stop();
Symbol 220 MovieClip Frame 1
lavr_link = "http://www.gamesfree.ca/";
shade = 0;
Symbol 220 MovieClip Frame 2
lavr_link = "http://www.andkon.com";
shade = 2;
Symbol 220 MovieClip Frame 3
lavr_link = "http://www.SolidGames.com";
shade = 0;
Symbol 220 MovieClip Frame 4
lavr_link = "http://www.girldressupgames.biz";
shade = 1;
Symbol 220 MovieClip Frame 5
lavr_link = "http://www.yepi.com";
shade = 0;
Symbol 220 MovieClip Frame 6
lavr_link = "http://www.bubblebox.com";
shade = 1;
Symbol 220 MovieClip Frame 7
lavr_link = "http://www.bunnygames.com";
shade = 1;
Symbol 220 MovieClip Frame 8
lavr_link = "http://www.dailyfreegames.com";
shade = 1;
Symbol 220 MovieClip Frame 9
lavr_link = "http://www.directgamez.com";
shade = 2;
Symbol 220 MovieClip Frame 10
lavr_link = "http://www.2flashgames.com";
shade = 2;
Symbol 220 MovieClip Frame 11
lavr_link = "http://www.flashninjaclan.com";
shade = 1;
Symbol 220 MovieClip Frame 12
lavr_link = "http://www.dailyaddictinggames.com/";
shade = 1;
Symbol 220 MovieClip Frame 13
lavr_link = "http://www.funny-games.biz";
shade = 1;
Symbol 220 MovieClip Frame 14
lavr_link = "http://www.gameitnow.com";
shade = 2;
Symbol 220 MovieClip Frame 15
lavr_link = "http://www.games1.com";
shade = 0;
Symbol 220 MovieClip Frame 16
lavr_link = "http://www.onjogos.com.br";
shade = 1;
Symbol 220 MovieClip Frame 17
lavr_link = "http://www.gamesfreak.net";
shade = 2;
Symbol 220 MovieClip Frame 18
lavr_link = "http://www.maxi-juegos.com";
shade = 1;
Symbol 220 MovieClip Frame 19
lavr_link = "http://www.jarkey.net";
shade = 2;
Symbol 220 MovieClip Frame 20
lavr_link = "http://www.gam123bee.com/";
shade = 1;
Symbol 220 MovieClip Frame 21
lavr_link = "http://www.keepbusy.net";
shade = 1;
Symbol 220 MovieClip Frame 22
lavr_link = "http://www.microjogos.com";
shade = 1;
Symbol 220 MovieClip Frame 23
lavr_link = "http://www.minijuegos.com";
shade = 2;
Symbol 220 MovieClip Frame 24
lavr_link = "http://www.oyunskor.com/";
shade = 1;
Symbol 220 MovieClip Frame 25
lavr_link = "http://www.mostfungames.com";
shade = 2;
Symbol 220 MovieClip Frame 26
lavr_link = "http://www.gameshot.org";
shade = 1;
Symbol 220 MovieClip Frame 27
lavr_link = "http://www.online-games-zone.com/";
shade = 2;
Symbol 220 MovieClip Frame 28
lavr_link = "http://www.puffgames.com";
shade = 2;
Symbol 220 MovieClip Frame 29
lavr_link = "http://www.spele.nl";
shade = 1;
Symbol 220 MovieClip Frame 30
lavr_link = "http://www.t45ol.com";
shade = 2;
Symbol 220 MovieClip Frame 31
lavr_link = "http://www.thegamesonline.com/";
shade = 1;
Symbol 220 MovieClip Frame 32
lavr_link = "http://www.ultimatearcade.com";
shade = 1;
Symbol 220 MovieClip Frame 33
lavr_link = "http://www.girlgames4u.com/";
shade = 1;
Symbol 220 MovieClip Frame 34
lavr_link = "http://www.beer-games.net";
shade = 0;
Symbol 220 MovieClip Frame 35
lavr_link = "http://www.stickpage.com/";
shade = 1;
Symbol 220 MovieClip Frame 36
lavr_link = "http://www.gamespond.net/";
shade = 2;
Symbol 220 MovieClip Frame 37
lavr_link = "http://www.flashgames.it/";
shade = 1;
Symbol 220 MovieClip Frame 38
lavr_link = "http://www.gamesgirl.ca/";
shade = 1;
Symbol 220 MovieClip Frame 39
lavr_link = "http://www.hallpass.com/";
shade = 2;
Symbol 220 MovieClip Frame 40
lavr_link = "http://www.gamegecko.com/";
shade = 0;
Symbol 220 MovieClip Frame 41
lavr_link = "http://www.benz.be";
shade = 2;
Symbol 220 MovieClip Frame 42
lavr_link = "http://www.net-games.co.il/";
shade = 1;
Symbol 220 MovieClip Frame 43
lavr_link = "http://www.bgames.com";
shade = 1;
Symbol 220 MovieClip Frame 44
lavr_link = "http://www.pinkyarcade.com/";
shade = 1;
Symbol 220 MovieClip Frame 45
lavr_link = "http://jayisgames.com/";
shade = 0;
Symbol 220 MovieClip Frame 46
lavr_link = "http://www.twizl.com/";
shade = 1;
Symbol 220 MovieClip Frame 47
lavr_link = "http://www.a10.com/";
shade = 1;
Symbol 220 MovieClip Frame 48
lavr_link = "http://www.bonniegames.com/";
shade = 1;
Symbol 220 MovieClip Frame 49
lavr_link = "http://www.ug2.com/";
shade = 0;
Symbol 220 MovieClip Frame 50
lavr_link = "http://www.agame.com";
shade = 1;
Symbol 220 MovieClip Frame 51
lavr_link = "http://www.gamesclub.com/";
shade = 1;
Symbol 220 MovieClip Frame 52
lavr_link = "http://www.killhours.com/";
shade = 1;
Symbol 220 MovieClip Frame 53
lavr_link = "http://www.flasharcadegamessite.com/";
shade = 1;
Symbol 220 MovieClip Frame 54
lavr_link = "http://www.roundgames.com/";
shade = 2;
Symbol 220 MovieClip Frame 55
lavr_link = "http://www.arcadegangsta.com/";
shade = 1;
Symbol 220 MovieClip Frame 56
lavr_link = "http://www.bored.com/";
shade = 0;
Symbol 220 MovieClip Frame 57
lavr_link = "http://www.flash-games.net/";
shade = 1;
Symbol 220 MovieClip Frame 58
lavr_link = "http://www.flash-game.net/";
shade = 1;
Symbol 220 MovieClip Frame 59
lavr_link = "http://www.kingofgames.net";
shade = 1;
Symbol 220 MovieClip Frame 60
lavr_link = "http://www.playhub.com/";
shade = 0;
Symbol 220 MovieClip Frame 61
lavr_link = "http://www.123spill.no/";
shade = 1;
Symbol 220 MovieClip Frame 62
lavr_link = "http://www.dailygames.com/";
shade = 1;
Symbol 220 MovieClip Frame 63
lavr_link = "http://www.octogames.com/";
shade = 2;
Symbol 220 MovieClip Frame 64
lavr_link = "http://www.ugotgames.com/";
shade = 1;
Symbol 220 MovieClip Frame 65
lavr_link = "http://www.fupa.com/";
shade = 1;
Symbol 220 MovieClip Frame 66
lavr_link = "http://www.kibagames.com/";
shade = 0;
Symbol 220 MovieClip Frame 67
lavr_link = "http://www.kraloyun.com/";
shade = 0;
Symbol 220 MovieClip Frame 68
lavr_link = "http://www.spielaffe.de/";
shade = 0;
Symbol 220 MovieClip Frame 69
lavr_link = "http://www.39games.com";
shade = 2;
Symbol 220 MovieClip Frame 70
lavr_link = "http://www.bijuegos.com";
shade = 0;
Symbol 220 MovieClip Frame 71
lavr_link = "http://www.mofunzone.com";
shade = 2;
Symbol 220 MovieClip Frame 72
lavr_link = "http://www.freegamespy.com/";
shade = 2;
Symbol 220 MovieClip Frame 73
lavr_link = "http://www.jogos10.com";
shade = 0;
Symbol 220 MovieClip Frame 74
lavr_link = "http://www.juegos10.com";
shade = 0;
Symbol 220 MovieClip Frame 75
lavr_link = "http://flash.178.com/";
shade = 0;
Symbol 220 MovieClip Frame 76
lavr_link = "http://www.papajogos.com.br";
shade = 0;
Symbol 220 MovieClip Frame 77
lavr_link = "http://www.arcadelots.com/";
shade = 0;
Symbol 220 MovieClip Frame 78
lavr_link = "http://www.minigamers.com/";
shade = 0;
Symbol 220 MovieClip Frame 79
lavr_link = "http://www.stickpage.com";
shade = 0;
Symbol 220 MovieClip Frame 80
lavr_link = "http://www.y8.com/";
shade = 1;
Symbol 220 MovieClip Frame 81
lavr_link = "http://www.y3.com/";
shade = 1;
Symbol 220 MovieClip Frame 83
lavr_link = "http://www.videobash.com/";
shade = 0;
Symbol 221 MovieClip Frame 1
stop();
Symbol 222 Button
on (release) {
getURL (boxx.lavr_link, "_blank");
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (21);
}
Symbol 223 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 20
stop();
Symbol 231 MovieClip Frame 150
_parent.gotoAndPlay(50);
Symbol 251 MovieClip Frame 1
txx = 0;
stop();
Symbol 251 MovieClip Frame 10
stop();
Symbol 274 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 10
stop();
Symbol 278 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.ob_done == 3) {
aff = eval ("_root.ob_" + (_root.lvl - 1));
} else {
aff = eval ("_root.ob_" + _root.lvl);
}
};
Symbol 282 MovieClip Frame 1
if (_root.ob_done == 2) {
_root.ob_done = 3;
gotoAndPlay (2);
} else {
gotoAndStop (40);
}
Symbol 282 MovieClip Frame 39
stop();
Symbol 282 MovieClip Frame 40
stop();
Instance of Symbol 274 MovieClip "cashboxx2" in Symbol 283 MovieClip Frame 1
onClipEvent (enterFrame) {
cash = _parent.cash;
gotoAndStop (10);
}
Symbol 283 MovieClip Frame 20
stop();
Symbol 286 MovieClip Frame 1
gotoAndPlay (2);
Symbol 286 MovieClip Frame 2
play();
onEnterFrame = function () {
};
Symbol 286 MovieClip Frame 3
stade = 1;
boxx.ct_1.txx = 0;
if ((_root.ob_done == 2) && (_root.lvl == 41)) {
boxx.ct_1.txx = 6840506700;
_root.killed = 300;
}
boxx.ct_2.txx = 0;
boxx.ct_3.txx = 0;
boxx.ct_4.txx = 0;
boxx.aff_1 = 0;
boxx.aff_2 = 0;
boxx.aff_3 = 0;
boxx.aff_4 = 0;
timer = 80;
boxx.cash = 0;
if ((_root.ob_done == 2) && (_root.lvl == 41)) {
boxx.cash = 200000 /* 0x030D40 */;
}
boxx.cash2 = 0;
Symbol 286 MovieClip Frame 29
stop();
onEnterFrame = function () {
if (boxx.ct_0._currentframe >= 39) {
play();
}
};
Symbol 286 MovieClip Frame 30
stop();
onEnterFrame = function () {
if (stade == 1) {
what = "killed";
pts = 450;
}
if (stade == 2) {
what = "injured";
pts = 250;
}
if (stade == 3) {
what = "explosions";
pts = 100;
}
if (stade == 4) {
what = "objects";
pts = 150;
}
if (stade != 5) {
if (eval ("_root." + what) > 0) {
Set("_root." + what, eval ("_root." + what) - 1);
Set(("boxx.ct_" + stade) + ".txx", eval (("boxx.ct_" + stade) + ".txx") + 1);
Set("boxx.aff_" + stade, eval ("boxx.aff_" + stade) + pts);
eval ("boxx.ct_" + stade).gotoAndPlay(2);
boxx.cash2 = boxx.cash2 + pts;
} else {
stade = stade + 1;
}
} else if (boxx.cash < boxx.cash2) {
boxx.cash = boxx.cash + 250;
boxx.cashboxx2.gotoAndPlay(2);
} else {
boxx.cash = boxx.cash2;
if (timer != 0) {
timer = timer - 1;
} else {
_root.st_cash_win = _root.st_cash_win + boxx.cash;
_root.cash = _root.cash + boxx.cash;
gotoAndPlay (31);
}
}
};
Symbol 286 MovieClip Frame 31
play();
onEnterFrame = function () {
};
Symbol 286 MovieClip Frame 40
_root.from_stats = 2;
_parent.gotoAndStop(32);
Symbol 293 MovieClip Frame 1
if (_root.wp_10 == 0) {
_visible = false;
}
stop();
onEnterFrame = function () {
if (_root.jetpack != 2) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
} else if (_currentframe == 10) {
gotoAndPlay (11);
}
};
Symbol 293 MovieClip Frame 2
play();
Symbol 293 MovieClip Frame 10
stop();
Symbol 293 MovieClip Frame 11
play();
Symbol 302 MovieClip Frame 1
gotoAndStop(_root.clothes);
onEnterFrame = function () {
gotoAndStop(_root.clothes);
};
Symbol 312 MovieClip Frame 1
gotoAndStop(_root.clothes);
onEnterFrame = function () {
gotoAndStop(_root.clothes);
};
Symbol 322 MovieClip Frame 1
gotoAndStop(_root.clothes);
onEnterFrame = function () {
gotoAndStop(_root.clothes);
};
Symbol 332 MovieClip Frame 1
gotoAndStop(_root.clothes);
onEnterFrame = function () {
gotoAndStop(_root.clothes);
};
Symbol 342 MovieClip Frame 1
gotoAndStop(_root.clothes);
onEnterFrame = function () {
gotoAndStop(_root.clothes);
};
Symbol 352 MovieClip Frame 1
gotoAndStop(_root.clothes);
onEnterFrame = function () {
gotoAndStop(_root.clothes);
};
Symbol 363 MovieClip Frame 1
gotoAndStop(_root.clothes);
onEnterFrame = function () {
if (_root.wp == 1) {
gotoAndStop (10);
} else {
gotoAndStop(_root.clothes);
}
};
Symbol 389 MovieClip Frame 1
gotoAndStop(_root.facee);
onEnterFrame = function () {
gotoAndStop(_root.facee);
};
Symbol 391 MovieClip Frame 1
onEnterFrame = function () {
if (_root._xmouse >= 300) {
gotoAndStop(Math.round(_root._ymouse) / 2);
}
};
Symbol 399 Button
on (release) {
_root.clothes = _root.clothes + 1;
if (_root.clothes == 9) {
_root.clothes = 1;
}
}
Symbol 404 Button
on (release) {
_root.facee = _root.facee + 1;
if (_root.facee == 25) {
_root.facee = 1;
}
}
Symbol 405 MovieClip Frame 1
gotoAndPlay (2);
Symbol 405 MovieClip Frame 30
stop();
Symbol 459 Button
on (release) {
act = 2;
}
on (rollOver) {
act = 3;
gotoAndPlay (2);
}
on (rollOut) {
act = 4;
gotoAndPlay (16);
}
Symbol 464 Button
on (rollOver) {
act = 3;
}
on (rollOut) {
act = 4;
}
Symbol 465 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 15
stop();
Symbol 465 MovieClip Frame 30
gotoAndStop (1);
Symbol 465 MovieClip Frame 31
stop();
onEnterFrame = function () {
if (timer != 0) {
timer = timer - 1;
} else if (_currentframe == 31) {
boxx_1.gotoAndStop(boxx._currentframe);
gotoAndPlay (32);
}
};
Symbol 465 MovieClip Frame 40
gotoAndPlay (1);
Instance of Symbol 465 MovieClip in Symbol 466 MovieClip Frame 1
onClipEvent (load) {
txx = "Upgrades";
boxx.gotoAndStop(2);
gotoAndStop (31);
timer = 10;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndStop(11);
}
}
Instance of Symbol 465 MovieClip in Symbol 466 MovieClip Frame 1
onClipEvent (load) {
txx = "Objectives";
boxx.gotoAndStop(1);
gotoAndStop (31);
timer = 12;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndStop(2);
}
}
Instance of Symbol 465 MovieClip in Symbol 466 MovieClip Frame 1
onClipEvent (load) {
txx = "Achivs";
boxx.gotoAndStop(4);
gotoAndStop (31);
timer = 14;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndStop(3);
}
}
Instance of Symbol 465 MovieClip in Symbol 466 MovieClip Frame 1
onClipEvent (load) {
txx = "Bonus";
boxx.gotoAndStop(3);
gotoAndStop (31);
timer = 16;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndStop(4);
}
}
Instance of Symbol 465 MovieClip in Symbol 466 MovieClip Frame 1
onClipEvent (load) {
txx = "Options";
boxx.gotoAndStop(5);
gotoAndStop (31);
timer = 18;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndStop(5);
}
}
Symbol 480 MovieClip Frame 2
stop();
Symbol 481 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
boxx.gotoAndStop(nb);
if (eval ("_root.wp_" + nb) == 0) {
gotoAndStop (11);
} else {
stop();
}
}
Symbol 481 MovieClip Frame 10
gotoAndStop (1);
Symbol 481 MovieClip Frame 11
stop();
Symbol 487 Button
on (release) {
_parent._parent.gotoAndStop(32);
}
Symbol 500 MovieClip Frame 1
stop();
onEnterFrame = function () {
txx = eval ("_root.ob_" + nb);
if (_root.lvl == nb) {
gotoAndStop (2);
} else if (nb > _root.lvl) {
gotoAndStop (3);
} else {
gotoAndStop (1);
}
};
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 11;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 12;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 13;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 14;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 15;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 16;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 17;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 18;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 19;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 20;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 21;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 22;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 23;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 24;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 25;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 26;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 27;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 28;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 29;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 30;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 31;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 32;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 33;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 34;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 35;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 36;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 37;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 38;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 39;
}
Instance of Symbol 500 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
nb = 40;
}
Symbol 506 Button
on (release) {
_parent.act = 1;
gotoAndPlay (2);
}
on (releaseOutside) {
_parent.act = 1;
gotoAndPlay (11);
}
on (press) {
_parent.act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 507 MovieClip Frame 1
stop();
Symbol 507 MovieClip Frame 10
stop();
Symbol 508 MovieClip Frame 1
speed = 0.1;
stop();
onEnterFrame = function () {
if (act == 2) {
aa = ((_ymouse - 10) * 100) / 442;
}
if (aa < 0) {
aa = 0;
}
if (aa > 100) {
aa = 100;
}
gotoAndStop(Math.round(aa) + 1);
a2 = Math.round((aa * 400) / 100);
speedy = (a2 - _parent._currentframe) * speed;
if ((_parent._currentframe < (a2 - 0.5)) || (_parent._currentframe > (a2 + 0.5))) {
_parent.gotoAndStop(Math.round(_parent._currentframe + speedy));
}
};
Symbol 509 MovieClip Frame 1
stop();
Instance of Symbol 508 MovieClip in Symbol 509 MovieClip Frame 1
onClipEvent (load) {
}
Symbol 514 MovieClip Frame 1
aff = eval ("_root.ac_name_" + nb);
gotoAndStop(eval ("_root.ac_" + nb));
Symbol 520 MovieClip Frame 1
onEnterFrame = function () {
if (_root.cheatbox != "") {
_visible = false;
} else {
_visible = true;
}
};
Symbol 524 Button
on (press) {
_root.st_qual = _root.st_qual - 1;
if (_root.st_qual == 0) {
_root.st_qual = 3;
}
}
Symbol 528 Button
on (press) {
_root.st_volum = _root.st_volum - 10;
if (_root.st_volum == -10) {
_root.st_volum = 100;
}
}
Symbol 534 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.st_qual);
};
Instance of Symbol 540 MovieClip in Symbol 545 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent.product_roll + 1);
_parent.gotoAndStop(eval ("_root.wp_" + _parent._parent.product_roll) + 1);
}
Symbol 551 MovieClip Frame 1
stop();
Symbol 590 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.product);
Symbol 591 MovieClip Frame 20
stop();
Symbol 592 MovieClip Frame 1
if (_parent.product == 1) {
namee = "KAMIKAZE BOMB";
}
if (_parent.product == 2) {
namee = "ROCKET";
}
if (_parent.product == 3) {
namee = "C4 + DETONATOR";
}
if (_parent.product == 4) {
namee = "MINES";
}
if (_parent.product == 5) {
namee = "GRENADE LAUNCHER";
}
if (_parent.product == 6) {
namee = "SHOTGUN";
}
if (_parent.product == 7) {
namee = "UZIS";
}
if (_parent.product == 8) {
namee = "CHAINSAW";
}
if (_parent.product == 9) {
namee = "SPEAR";
}
if (_parent.product == 10) {
namee = "JETPACK";
}
aa = eval ("_root.wp_" + _parent.product) + 1;
cost = eval ((("_root.wp_cost_" + _parent.product) + "_") + aa);
des_boxx.gotoAndStop(_parent.product);
des_boxx.boxx2.gotoAndStop(eval ("_root.wp_" + _parent.product) + 1);
stop();
onEnterFrame = function () {
};
Instance of Symbol 465 MovieClip in Symbol 592 MovieClip Frame 1
onClipEvent (load) {
txx = "";
boxx.gotoAndStop(7);
gotoAndStop (31);
timer = 12;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_root.cash >= _parent.cost) {
_root.cash = _root.cash - _parent.cost;
_root.st_cash_spent = _root.st_cash_spent + _parent.cost;
eval ("_parent._parent.icwp_" + _parent._parent.product).gotoAndPlay(2);
if ((_parent._parent.product == 10) && (_root.wp_10 == 0)) {
_root.tuto_jetpack = 2;
}
Set("_root.wp_" + _parent._parent.product, eval ("_root.wp_" + _parent._parent.product) + 1);
_parent.gotoAndPlay(2);
} else {
_parent.warncash.gotoAndStop(2);
}
}
}
Symbol 592 MovieClip Frame 20
_parent.gotoAndStop(11);
Symbol 593 MovieClip Frame 1
aff_ob = (_root.lvl - 1) + "/40";
stop();
Instance of Symbol 469 MovieClip in Symbol 593 MovieClip Frame 1
onClipEvent (load) {
if (_root.lvl != 40) {
_visible = false;
}
}
Instance of Symbol 20 MovieClip in Symbol 593 MovieClip Frame 1
onClipEvent (load) {
txx = "WALKTHROUGH";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/customPage/106/", "_blank");
}
}
Instance of Symbol 274 MovieClip "boxx_2" in Symbol 593 MovieClip Frame 1
onClipEvent (enterFrame) {
cash = _root.cash;
gotoAndStop (10);
}
Instance of Symbol 481 MovieClip "icwp_1" in Symbol 593 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 481 MovieClip "icwp_2" in Symbol 593 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 481 MovieClip "icwp_3" in Symbol 593 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 481 MovieClip "icwp_4" in Symbol 593 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 481 MovieClip "icwp_5" in Symbol 593 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 481 MovieClip "icwp_6" in Symbol 593 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 481 MovieClip "icwp_7" in Symbol 593 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 481 MovieClip "icwp_8" in Symbol 593 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 481 MovieClip "icwp_9" in Symbol 593 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
}
Instance of Symbol 481 MovieClip "icwp_10" in Symbol 593 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
}
Instance of Symbol 465 MovieClip in Symbol 593 MovieClip Frame 2
onClipEvent (load) {
txx = "";
boxx.gotoAndStop(6);
gotoAndStop (31);
timer = 10;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(1);
}
}
Symbol 593 MovieClip Frame 3
_root.cheatbox = "";
Instance of Symbol 514 MovieClip in Symbol 593 MovieClip Frame 3
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 514 MovieClip in Symbol 593 MovieClip Frame 3
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 514 MovieClip in Symbol 593 MovieClip Frame 3
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 514 MovieClip in Symbol 593 MovieClip Frame 3
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 514 MovieClip in Symbol 593 MovieClip Frame 3
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 514 MovieClip in Symbol 593 MovieClip Frame 3
onClipEvent (load) {
nb = 6;
}
Symbol 593 MovieClip Frame 4
cheatbox = "";
onEnterFrame = function () {
cheatbox = String(cheatbox.toUpperCase());
};
Instance of Symbol 465 MovieClip in Symbol 593 MovieClip Frame 4
onClipEvent (load) {
txx = "";
boxx.gotoAndStop(7);
gotoAndStop (31);
timer = 12;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_parent.cheatbox == "MYBOOM") {
_parent.cheatbox = "CHEAT ACTIVATED!";
_root.cheat_1 = 2;
}
if (_parent.cheatbox == "SHLICK") {
_parent.cheatbox = "CHEAT ACTIVATED!";
_root.cheat_2 = 2;
}
if (_parent.cheatbox == "SHLACK") {
_parent.cheatbox = "CHEAT ACTIVATED!";
_root.cheat_3 = 2;
}
if (_parent.cheatbox == "BIRD") {
_parent.cheatbox = "CHEAT ACTIVATED!";
_root.cheat_4 = 2;
}
if (_parent.cheatbox == "MYBOOTS") {
_parent.cheatbox = "CHEAT ACTIVATED!";
_root.cheat_5 = 2;
}
if (_parent.cheatbox == "ONMOON") {
_parent.cheatbox = "CHEAT ACTIVATED!";
_root.cheat_6 = 2;
}
if (_parent.cheatbox == "GODZILLA") {
_parent.cheatbox = "CHEAT ACTIVATED!";
_root.cheat_7 = 2;
}
}
}
Instance of Symbol 465 MovieClip in Symbol 593 MovieClip Frame 4
onClipEvent (load) {
txx = "Cheats List";
boxx.gotoAndStop(8);
gotoAndStop (31);
timer = 10;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/customPage/105/", "_blank");
}
}
Instance of Symbol 465 MovieClip in Symbol 593 MovieClip Frame 4
onClipEvent (load) {
txx = "";
boxx.gotoAndStop(31);
gotoAndStop (31);
timer = 22;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/1-5018-Mass_Mayhem.html", "_blank");
}
}
Instance of Symbol 465 MovieClip in Symbol 593 MovieClip Frame 4
onClipEvent (load) {
txx = "";
boxx.gotoAndStop(32);
gotoAndStop (31);
timer = 24;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/1-5185-Mass_Mayhem_2.html", "_blank");
}
}
Instance of Symbol 465 MovieClip in Symbol 593 MovieClip Frame 4
onClipEvent (load) {
txx = "";
boxx.gotoAndStop(33);
gotoAndStop (31);
timer = 26;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/1-5638-Mass_Mayhem_3.html", "_blank");
}
}
Symbol 593 MovieClip Frame 11
product_roll = 0;
Instance of Symbol 465 MovieClip in Symbol 593 MovieClip Frame 11
onClipEvent (load) {
product = 6;
limit = 3;
txx = "";
boxx.gotoAndStop(product + 10);
if (eval ("_root.wp_" + product) == limit) {
gotoAndStop (41);
} else {
gotoAndStop (31);
}
timer = 10 + (product * 2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.product = product;
_parent.gotoAndStop(12);
}
if (act == 3) {
act = 1;
_parent.product_roll = product;
}
if (act == 4) {
act = 1;
_parent.product_roll = product;
}
}
Instance of Symbol 465 MovieClip in Symbol 593 MovieClip Frame 11
onClipEvent (load) {
product = 7;
limit = 3;
txx = "";
boxx.gotoAndStop(product + 10);
if (eval ("_root.wp_" + product) == limit) {
gotoAndStop (41);
} else {
gotoAndStop (31);
}
timer = 10 + (product * 2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.product = product;
_parent.gotoAndStop(12);
}
if (act == 3) {
act = 1;
_parent.product_roll = product;
}
if (act == 4) {
act = 1;
_parent.product_roll = product;
}
}
Instance of Symbol 465 MovieClip in Symbol 593 MovieClip Frame 11
onClipEvent (load) {
product = 8;
limit = 1;
txx = "";
boxx.gotoAndStop(product + 10);
if (eval ("_root.wp_" + product) == limit) {
gotoAndStop (41);
} else {
gotoAndStop (31);
}
timer = 10 + (product * 2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.product = product;
_parent.gotoAndStop(12);
}
if (act == 3) {
act = 1;
_parent.product_roll = product;
}
if (act == 4) {
act = 1;
_parent.product_roll = product;
}
}
Instance of Symbol 465 MovieClip in Symbol 593 MovieClip Frame 11
onClipEvent (load) {
product = 9;
limit = 3;
txx = "";
boxx.gotoAndStop(product + 10);
if (eval ("_root.wp_" + product) == limit) {
gotoAndStop (41);
} else {
gotoAndStop (31);
}
timer = 10 + (product * 2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.product = product;
_parent.gotoAndStop(12);
}
if (act == 3) {
act = 1;
_parent.product_roll = product;
}
if (act == 4) {
act = 1;
_parent.product_roll = product;
}
}
Instance of Symbol 465 MovieClip in Symbol 593 MovieClip Frame 11
onClipEvent (load) {
product = 10;
limit = 3;
txx = "";
boxx.gotoAndStop(product + 10);
if (eval ("_root.wp_" + product) == limit) {
gotoAndStop (41);
} else {
gotoAndStop (31);
}
timer = 10 + (product * 2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.product = product;
_parent.gotoAndStop(12);
}
if (act == 3) {
act = 1;
_parent.product_roll = product;
}
if (act == 4) {
act = 1;
_parent.product_roll = product;
}
}
Instance of Symbol 465 MovieClip in Symbol 593 MovieClip Frame 11
onClipEvent (load) {
product = 1;
if (_root.lvl != 40) {
limit = 3;
} else {
limit = 4;
}
txx = "";
boxx.gotoAndStop(product + 10);
if (eval ("_root.wp_" + product) == limit) {
gotoAndStop (41);
} else {
gotoAndStop (31);
}
timer = 10 + (product * 2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.product = product;
_parent.gotoAndStop(12);
}
if (act == 3) {
act = 1;
_parent.product_roll = product;
}
if (act == 4) {
act = 1;
_parent.product_roll = product;
}
}
Instance of Symbol 465 MovieClip in Symbol 593 MovieClip Frame 11
onClipEvent (load) {
product = 2;
limit = 3;
txx = "";
boxx.gotoAndStop(product + 10);
if (eval ("_root.wp_" + product) == limit) {
gotoAndStop (41);
} else {
gotoAndStop (31);
}
timer = 10 + (product * 2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.product = product;
_parent.gotoAndStop(12);
}
if (act == 3) {
act = 1;
_parent.product_roll = product;
}
if (act == 4) {
act = 1;
_parent.product_roll = product;
}
}
Instance of Symbol 465 MovieClip in Symbol 593 MovieClip Frame 11
onClipEvent (load) {
product = 3;
limit = 3;
txx = "";
boxx.gotoAndStop(product + 10);
if (eval ("_root.wp_" + product) == limit) {
gotoAndStop (41);
} else {
gotoAndStop (31);
}
timer = 10 + (product * 2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.product = product;
_parent.gotoAndStop(12);
}
if (act == 3) {
act = 1;
_parent.product_roll = product;
}
if (act == 4) {
act = 1;
_parent.product_roll = product;
}
}
Instance of Symbol 465 MovieClip in Symbol 593 MovieClip Frame 11
onClipEvent (load) {
product = 4;
limit = 3;
txx = "";
boxx.gotoAndStop(product + 10);
if (eval ("_root.wp_" + product) == limit) {
gotoAndStop (41);
} else {
gotoAndStop (31);
}
timer = 10 + (product * 2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.product = product;
_parent.gotoAndStop(12);
}
if (act == 3) {
act = 1;
_parent.product_roll = product;
}
if (act == 4) {
act = 1;
_parent.product_roll = product;
}
}
Instance of Symbol 465 MovieClip in Symbol 593 MovieClip Frame 11
onClipEvent (load) {
product = 5;
limit = 3;
txx = "";
boxx.gotoAndStop(product + 10);
if (eval ("_root.wp_" + product) == limit) {
gotoAndStop (41);
} else {
gotoAndStop (31);
}
timer = 10 + (product * 2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.product = product;
_parent.gotoAndStop(12);
}
if (act == 3) {
act = 1;
_parent.product_roll = product;
}
if (act == 4) {
act = 1;
_parent.product_roll = product;
}
}
Instance of Symbol 469 MovieClip in Symbol 593 MovieClip Frame 11
onClipEvent (load) {
if (_root.lvl != 40) {
_visible = false;
}
}
Instance of Symbol 465 MovieClip in Symbol 593 MovieClip Frame 12
onClipEvent (load) {
txx = "";
boxx.gotoAndStop(6);
gotoAndStop (31);
timer = 10;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(11);
}
}
Symbol 594 MovieClip Frame 1
gotoAndPlay (2);
Symbol 594 MovieClip Frame 18
stop();
Symbol 599 MovieClip Frame 50
stop();
Symbol 617 MovieClip Frame 250
stop();
Symbol 623 MovieClip Frame 1
stop();
Symbol 624 MovieClip Frame 1
boxx.gotoAndStop(random(5) + 1);
_xscale = (random(75) + 25);
_yscale = _xscale;
speedx = random(20) - 10;
speedy = random(20) - 10;
speedr = random(20) - 10;
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
_rotation = (_rotation + speedr);
speedr = speedr * 0.995;
speedx = speedx * 0.96;
speedy = speedy * 0.96;
};
Symbol 625 MovieClip Frame 1
stop();
Symbol 625 MovieClip Frame 2
stop();
Symbol 628 MovieClip Frame 1
stopAllSounds();
Symbol 628 MovieClip Frame 52
planet.gotoAndStop(2);
Symbol 628 MovieClip Frame 497
_parent.gotoAndStop(39);
stop();
Symbol 635 MovieClip Frame 1
stop();
Symbol 636 MovieClip Frame 1
stop();
Symbol 637 MovieClip Frame 1
stop();
Symbol 639 MovieClip Frame 1
stop();
Symbol 642 MovieClip Frame 1
stop();
Symbol 644 MovieClip Frame 1
stop();
onEnterFrame = function () {
_y = ((3143 + _root.cnt.ob_71._y) - 440);
};
Symbol 646 MovieClip Frame 1
stop();
Symbol 648 MovieClip Frame 1
_visible = false;
Symbol 649 MovieClip Frame 1
if (loaded == undefined) {
_x = 0;
_y = 0;
loaded = 2;
aa = random(600) + 1;
speedx = (((random(6) + 1) / 10) + 0.7) * 2;
}
onEnterFrame = function () {
aa = aa + speedx;
if (aa > 600) {
aa = 1;
}
gotoAndStop(Math.round(aa));
};
Symbol 652 MovieClip Frame 1
stop();
Symbol 655 MovieClip Frame 1
stop();
Symbol 658 MovieClip Frame 1
stop();
Symbol 661 MovieClip Frame 1
stop();
Symbol 665 MovieClip Frame 1
stop();
Symbol 668 MovieClip Frame 1
stop();
Symbol 671 MovieClip Frame 1
st_5 = _root.cnt.ob_5._x;
st_6 = _root.cnt.ob_6._x;
st_7 = _root.cnt.ob_7._x;
st_8 = _root.cnt.ob_8._x;
st_9 = _root.cnt.ob_9._x;
st_13 = _root.cnt.ob_13._x;
st_14 = _root.cnt.ob_14._x;
st_15 = _root.cnt.ob_15._x;
st_16 = _root.cnt.ob_16._x;
stop();
onEnterFrame = function () {
if (_parent.fallow != undefined) {
_parent._x = eval (("_root.cnt." + _parent.fallow) + ".boxx._x");
_parent._y = eval (("_root.cnt." + _parent.fallow) + ".boxx._y");
_parent._rotation = eval (("_root.cnt." + _parent.fallow) + ".boxx._rotation");
_root.cnt.boom._xscale = 120;
}
if (_root.cnt.ob_5._currentframe == 2) {
if ((_parent._x >= (st_5 - 200)) && (_parent._x < st_5)) {
gotoAndStop (2);
}
}
if (_root.cnt.ob_6._currentframe == 2) {
if ((_parent._x >= st_5) && (_parent._x < st_6)) {
gotoAndStop (2);
}
}
if (_root.cnt.ob_7._currentframe == 2) {
if ((_parent._x >= st_6) && (_parent._x < st_7)) {
gotoAndStop (2);
}
}
if (_root.cnt.ob_8._currentframe == 2) {
if ((_parent._x >= st_7) && (_parent._x < st_8)) {
gotoAndStop (2);
}
}
if (_root.cnt.ob_9._currentframe == 2) {
if ((_parent._x >= st_8) && (_parent._x < st_9)) {
gotoAndStop (2);
}
}
if (_root.cnt.ob_13._currentframe == 2) {
if ((_parent._x >= st_9) && (_parent._x < st_10)) {
gotoAndStop (2);
}
}
if (_root.cnt.ob_14._currentframe == 2) {
if ((_parent._x >= st_13) && (_parent._x < st_14)) {
gotoAndStop (2);
}
}
if (_root.cnt.ob_15._currentframe == 2) {
if ((_parent._x >= st_14) && (_parent._x < st_15)) {
gotoAndStop (2);
}
}
if (_root.cnt.ob_16._currentframe == 2) {
if ((_parent._x >= st_15) && (_parent._x < 3000)) {
gotoAndStop (2);
}
}
};
Symbol 671 MovieClip Frame 2
speedx = 8;
speedy = 1;
speedr = 1;
if ((_root.ob_done == 1) && (_root.lvl == 3)) {
_root.ob_done = 2;
}
stop();
onEnterFrame = function () {
_parent._x = _parent._x + speedx;
_parent._y = _parent._y + speedy;
_parent._rotation = _parent._rotation + speedr;
speedx = speedx * 0.98;
speedy = speedy * 1.2;
if (speedy > 15) {
speedy = 15;
}
speedr = speedr * 1.08;
};
Instance of Symbol 670 MovieClip in Symbol 671 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)) {
if (_parent._parent._parent.carambolage != 2) {
_parent._parent._parent.carambolage = 2;
_root.snd.divers.gotoAndPlay(((random(3) + 1) * 2) + 10);
if ((_root.lvl == 15) && (_root.ob_done == 1)) {
_root.ob_done = 2;
}
}
_root.from_boom = "carcrash";
_root.cnt.boom._yscale = 120;
_root.cnt.boom._x = _parent._parent._x + (random(100) - 50);
_root.cnt.boom._y = _parent._parent._y;
_root.cnt.boom.gotoAndPlay(2);
_root.cnt.boom.shot = 1;
_root.shake = 20;
_parent._parent.gotoAndStop(2);
}
i++;
}
}
Symbol 689 MovieClip Frame 1
if (_parent.poid == undefined) {
_parent.poid = 1;
}
hitt._alpha = 0;
speedr = random(15) + 5;
if (_parent._x < _root.cnt.boom._x) {
speedx = -(random(15) + 5);
speedr = -(random(15) + 5);
} else {
speedx = random(15) + 5;
speedr = random(15) + 5;
}
speedy = -(random(15) + 5);
speedx = speedx * _parent.poid;
speedy = speedy * _parent.poid;
speedr = speedr * _parent.poid;
stop();
onEnterFrame = function () {
_parent._x = _parent._x + speedx;
_parent._y = _parent._y + speedy;
_parent.boxx._rotation = _parent.boxx._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 > 20) {
speedy = 20;
}
speedr = speedr * 0.95;
};
Instance of Symbol 688 MovieClip "hitt" in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
this.hitpts = new Array({x:-60, y:-20}, {x:0, y:-20}, {x:60, y:-20}, {x:-60, y:0}, {x:0, y:0}, {x:60, y:0}, {x:-60, y:20}, {x:0, y:20}, {x:60, y:20});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.hitt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.gotoAndStop(2);
}
i++;
}
}
Symbol 689 MovieClip Frame 2
if (_parent._width <= 50) {
_root.shake = 4;
_root.snd.bang.gotoAndPlay((random(3) + 1) * 2);
}
if ((_parent._width > 50) && (_parent._width <= 80)) {
_root.shake = 10;
_root.snd.bang.gotoAndPlay((random(3) + 4) * 2);
}
if (_parent._width > 80) {
_root.shake = 20;
_root.snd.bang.gotoAndPlay((random(3) + 7) * 2);
}
stop();
onEnterFrame = function () {
};
Symbol 690 MovieClip Frame 1
if (loaded == undefined) {
loaded = 2;
typee = nb;
fallow = "carp_" + nb;
}
boxx.gotoAndStop(typee);
stop();
Symbol 690 MovieClip Frame 2
boxx.gotoAndStop(typee);
if ((_parent.car_crash_ob27 != 2) && (_root.boom_from == "armymissiles")) {
_parent.car_crash_ob27 = 2;
_root.ob_27_2 = _root.ob_27_2 + 1;
}
Symbol 697 MovieClip Frame 1
_root.army_missiles = 0;
stop();
Symbol 697 MovieClip Frame 2
trace("missiles Army Activated");
onEnterFrame = function () {
_root.what = "armymissilles";
_root.act = 0;
};
Symbol 697 MovieClip Frame 3
_root.snd.divers.gotoAndPlay(6);
Symbol 697 MovieClip Frame 169
_root.army_missiles = 3;
Symbol 697 MovieClip Frame 180
stop();
onEnterFrame = function () {
if (_currentframe == 180) {
if (Key.isDown(32)) {
_root.cnt.rocket._x = _x + 72;
_root.cnt.rocket._y = _y - 65;
_root.cnt.rocket._rotation = -35;
_root.cnt.rocket_angle._x = _x + 72;
_root.cnt.rocket_angle._y = _x - 65;
_root.cnt.rocket_angle._rotation = -35;
_root.act = 3;
_root.canmove = 1;
_root.keyreleased_32 = 1;
gotoAndPlay (181);
}
}
if (_currentframe == 190) {
if (Key.isDown(32)) {
_root.cnt.rocket.gotoAndPlay(3);
}
}
};
Symbol 697 MovieClip Frame 190
stop();
Symbol 697 MovieClip Frame 191
stop();
onEnterFrame = function () {
};
Symbol 709 MovieClip Frame 1
_xscale = (random(30) + 20);
_yscale = (random(30) + 70);
_rotation = (random(100) - 50);
_alpha = (random(50) + 30);
Symbol 720 MovieClip Frame 1
_xscale = (random(40) + 10);
_xscale = _yscale;
_alpha = (random(60) + 40);
_rotation = (random(180) - 90);
gotoAndStop(random(10) + 1);
Symbol 722 MovieClip Frame 1
stop();
Symbol 722 MovieClip Frame 2
trace("yo");
stop();
Symbol 722 MovieClip Frame 3
trace(_x);
trace(_y);
Symbol 725 MovieClip Frame 1
stop();
Symbol 726 MovieClip Frame 1
stop();
Symbol 733 MovieClip Frame 1
stop();
Symbol 733 MovieClip Frame 2
_parent.ob_97_2.gotoAndStop(2);
_root.ob_18_2 = _root.ob_18_2 + 1;
Symbol 736 MovieClip Frame 1
stop();
Symbol 739 MovieClip Frame 1
stop();
Symbol 739 MovieClip Frame 2
if ((_root.lvl == 5) && (_root.ob_done == 1)) {
_root.ob_done = 2;
}
Instance of Symbol 743 MovieClip in Symbol 744 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (16);
}
Symbol 746 MovieClip Frame 1
stop();
Symbol 746 MovieClip Frame 2
if ((_root.lvl == 5) && (_root.ob_done == 1)) {
_root.ob_done = 2;
}
Symbol 750 MovieClip Frame 1
stop();
Symbol 750 MovieClip Frame 2
if ((_root.lvl == 5) && (_root.ob_done == 1)) {
_root.ob_done = 2;
}
Symbol 753 MovieClip Frame 1
stop();
Symbol 756 MovieClip Frame 1
stop();
Symbol 756 MovieClip Frame 2
if ((_root.lvl == 5) && (_root.ob_done == 1)) {
_root.ob_done = 2;
}
Symbol 759 MovieClip Frame 1
stop();
Symbol 759 MovieClip Frame 2
if (((_root.lvl == 34) && (_root.boom_from == "airplane")) && (_root.ob_done == 1)) {
_root.ob_done = 2;
}
_root.cnt.boom._xscale = 120;
_root.cnt.boom._yscale = 120;
_root.cnt.boom._x = _x;
_root.cnt.boom._y = _y;
_root.cnt.boom.gotoAndPlay(2);
_root.cnt.boom.shot = 3;
_root.boom_from = "gastank";
if (((_root.ob_31_2 == 2) && (_root.ob_done == 1)) && (_root.lvl == 31)) {
_root.ob_done = 2;
}
Symbol 763 MovieClip Frame 1
speedx = random(40) - 20;
speedy = -random(30);
speedr = random(20) - 10;
stop();
onEnterFrame = function () {
_parent._x = _parent._x + speedx;
_parent._y = _parent._y + speedy;
_parent._rotation = _parent._rotation + speedr;
speedx = speedx * 0.95;
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 > 20) {
speedy = 20;
}
speedr = speedr * 0.95;
};
Instance of Symbol 670 MovieClip in Symbol 763 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.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.gotoAndStop(2);
}
i++;
}
}
Symbol 763 MovieClip Frame 2
stop();
onEnterFrame = function () {
};
Symbol 771 MovieClip Frame 1
stop();
Instance of Symbol 761 MovieClip in Symbol 771 MovieClip Frame 1
onClipEvent (load) {
aa = random(2) + 1;
if (aa == 1) {
_xscale = (_xscale * -1);
}
}
Symbol 771 MovieClip Frame 2
_rotation = 0;
stop();
Symbol 773 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_parent.linked_1 != undefined) {
if (_parent.linked_2 != undefined) {
if ((eval (("_parent._parent.ob_" + _parent.linked_1) + "._currentframe") == 2) && (eval (("_parent._parent.ob_" + _parent.linked_2) + "._currentframe") == 2)) {
eval ("_root.cnt.hitt.ob_" + _parent.nb).gotoAndStop(2);
_parent.gotoAndStop(2);
}
} else if (eval (("_parent._parent.ob_" + _parent.linked_1) + "._currentframe") == 2) {
eval ("_root.cnt.hitt.ob_" + _parent.nb).gotoAndStop(2);
_parent.gotoAndStop(2);
}
}
};
Instance of Symbol 670 MovieClip in Symbol 773 MovieClip Frame 1
onClipEvent (enterFrame) {
this.hitpts = new Array({x:-60, y:-20}, {x:0, y:-20}, {x:60, y:-20}, {x:-60, y:0}, {x:0, y:0}, {x:60, y:0}, {x:-60, y:20}, {x:0, y:20}, {x:60, y:20});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.hitt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.gotoAndStop(2);
}
i++;
}
}
Symbol 773 MovieClip Frame 2
stop();
onEnterFrame = function () {
};
Symbol 775 MovieClip Frame 1
stop();
Symbol 779 MovieClip Frame 1
stop();
Symbol 783 MovieClip Frame 1
stop();
Symbol 787 MovieClip Frame 1
stop();
Symbol 791 MovieClip Frame 1
stop();
Symbol 795 MovieClip Frame 1
stop();
Symbol 801 MovieClip Frame 1
stop();
Symbol 804 MovieClip Frame 1
stop();
Symbol 808 MovieClip Frame 1
stop();
Symbol 808 MovieClip Frame 2
if ((_root.lvl == 5) && (_root.ob_done == 1)) {
_root.ob_done = 2;
}
Symbol 811 MovieClip Frame 1
stop();
Symbol 811 MovieClip Frame 2
if ((_root.lvl == 5) && (_root.ob_done == 1)) {
_root.ob_done = 2;
}
Symbol 814 MovieClip Frame 1
stop();
Symbol 817 MovieClip Frame 1
stop();
Symbol 817 MovieClip Frame 2
if ((_root.lvl == 5) && (_root.ob_done == 1)) {
_root.ob_done = 2;
}
Symbol 820 MovieClip Frame 1
stop();
Symbol 820 MovieClip Frame 2
if ((_parent.farm_crash_ob27 != 2) && (_root.boom_from == "armymissiles")) {
_parent.farm_crash_ob27 = 2;
_root.ob_27_2 = _root.ob_27_2 + 1;
}
Symbol 823 MovieClip Frame 1
stop();
Symbol 827 MovieClip Frame 1
stop();
Symbol 827 MovieClip Frame 2
if (((_root.lvl == 8) && (_root.ob_done == 1)) && (_root.boom_from == 1)) {
_root.ob_done = 2;
}
Symbol 830 MovieClip Frame 1
stop();
Symbol 833 MovieClip Frame 1
speedx = random(20) - 10;
speedy = -(random(20) + 10);
speedr = random(20) - 10;
_parent.boxx._rotation = random(360) + 1;
stop();
onEnterFrame = function () {
_parent._x = _parent._x + speedx;
_parent._y = _parent._y + speedy;
_parent.boxx._rotation = _parent.boxx._rotation + speedr;
speedx = speedx * 0.96;
if (speedy < -0.5) {
speedy = speedy * 0.9;
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * 1.1;
}
};
Instance of Symbol 670 MovieClip in Symbol 833 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.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.gotoAndStop(2);
}
i++;
}
}
Symbol 833 MovieClip Frame 2
_parent.gotoAndStop(1);
stop();
onEnterFrame = function () {
};
Symbol 834 MovieClip Frame 1
stop();
Symbol 838 MovieClip Frame 1
stop();
Symbol 843 MovieClip Frame 1
_xscale = (50 + random(50));
_yscale = _xscale;
Symbol 844 MovieClip Frame 1
stop();
Symbol 844 MovieClip Frame 2
_rotation = 0;
if ((loaded2 != 2) && (_root.boom_from == 4)) {
loaded2 = 2;
_root.ob_26_2 = _root.ob_26_2 + 1;
}
Symbol 847 MovieClip Frame 1
stop();
Symbol 847 MovieClip Frame 2
if ((_root.lvl == 5) && (_root.ob_done == 1)) {
_root.ob_done = 2;
}
Symbol 850 MovieClip Frame 1
stop();
Symbol 855 MovieClip Frame 1
stop();
Symbol 855 MovieClip Frame 2
if (((((_root.lvl == 29) && (_root.boom_from == 3)) && (_root.cnt.perso._x >= 3100)) && (_root.cnt.perso._x <= 6050)) && (_root.ob_done == 1)) {
_root.ob_done = 2;
}
Symbol 858 MovieClip Frame 1
stop();
Symbol 861 MovieClip Frame 1
stop();
Symbol 864 MovieClip Frame 1
stop();
Symbol 873 MovieClip Frame 1
stop();
Symbol 874 MovieClip Frame 1
if (_parent.poid == undefined) {
_parent.poid = 1;
}
hitt._alpha = 0;
speedx = random(20) - 10;
speedy = -(random(15) + 5);
speedr = random(20) - 10;
speedx = speedx * _parent.poid;
speedy = speedy * _parent.poid;
speedr = speedr * _parent.poid;
stop();
onEnterFrame = function () {
_parent._x = _parent._x + speedx;
_parent._y = _parent._y + speedy;
_parent.boxx._rotation = _parent.boxx._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 > 20) {
speedy = 20;
}
speedr = speedr * 0.95;
};
Instance of Symbol 670 MovieClip "hitt" in Symbol 874 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.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.gotoAndStop(2);
}
i++;
}
}
Symbol 874 MovieClip Frame 2
if (_parent._width <= 50) {
_root.shake = 4;
_root.snd.bang.gotoAndPlay((random(3) + 1) * 2);
}
if ((_parent._width > 50) && (_parent._width <= 80)) {
_root.shake = 10;
_root.snd.bang.gotoAndPlay((random(3) + 4) * 2);
}
if (_parent._width > 80) {
_root.shake = 20;
_root.snd.bang.gotoAndPlay((random(3) + 7) * 2);
}
stop();
onEnterFrame = function () {
};
Symbol 875 MovieClip Frame 1
boxx.gotoAndStop(random(5) + 1);
Instance of Symbol 873 MovieClip "boxx" in Symbol 875 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (1);
}
Symbol 882 MovieClip Frame 1
stop();
Symbol 883 MovieClip Frame 1
boxx.gotoAndStop(random(5) + 1);
Symbol 884 MovieClip Frame 25
_parent._parent.ob_85._visible = true;
stop();
Symbol 887 MovieClip Frame 1
not_explode = 2;
stop();
Symbol 887 MovieClip Frame 5
if (not_explode == 2) {
not_explode = 1;
if ((_root.lvl == 38) && (_root.ob_done == 1)) {
_root.ob_done = 2;
}
_root.snd.divers.gotoAndPlay(4);
_root.act = 11;
_parent.nuclear_explosion.gotoAndPlay(2);
if (_parent.boom._x < _x) {
_parent.nuclear_explosion.side = 1;
_root.what = "nuclear_explosion.cam";
} else {
_parent.nuclear_explosion.side = 2;
_root.what = "nuclear_explosion.cam2";
}
_parent.hitt.nuke_walls.gotoAndStop(2);
_parent.cover_1.gotoAndStop(2);
_parent.backnuke.gotoAndStop(2);
}
Symbol 894 MovieClip Frame 1
stop();
Instance of Symbol 889 MovieClip in Symbol 894 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 0.5);
}
Symbol 894 MovieClip Frame 2
if ((_root.lvl == 28) && (_root.ob_done == 1)) {
_root.ob_done = 2;
}
Instance of Symbol 891 MovieClip in Symbol 894 MovieClip Frame 2
onClipEvent (load) {
speedx = random(20) - 10;
speedy = random(20) - 10;
speedr = random(20) - 10;
}
onClipEvent (enterFrame) {
_x = (_x + speedx);
_y = (_y + speedy);
_rotation = (_rotation + speedr);
speedx = speedx * 0.9;
speedy = speedy * 0.9;
speedr = speedr * 0.9;
}
Instance of Symbol 893 MovieClip in Symbol 894 MovieClip Frame 2
onClipEvent (load) {
speedx = random(20) - 10;
speedy = random(20) - 10;
speedr = random(20) - 10;
}
onClipEvent (enterFrame) {
_x = (_x + speedx);
_y = (_y + speedy);
_rotation = (_rotation + speedr);
speedx = speedx * 0.9;
speedy = speedy * 0.9;
speedr = speedr * 0.9;
}
Symbol 897 MovieClip Frame 1
stop();
Symbol 897 MovieClip Frame 2
_root.ob_18_2 = _root.ob_18_2 + 1;
Symbol 903 MovieClip Frame 1
stop();
Symbol 903 MovieClip Frame 2
if (never_peter == undefined) {
never_peter = 2;
_root.cnt.armymissilles.gotoAndPlay(2);
}
Symbol 906 MovieClip Frame 1
stop();
Symbol 909 MovieClip Frame 1
stop();
Symbol 912 MovieClip Frame 1
stop();
Symbol 923 MovieClip Frame 1
stop();
Symbol 928 MovieClip Frame 1
stop();
Symbol 939 MovieClip Frame 1
stop();
Symbol 943 MovieClip Frame 1
stop();
Symbol 947 MovieClip Frame 1
stop();
Symbol 949 MovieClip Frame 1
aa = random(2) + 1;
if (aa == 1) {
side = "R";
} else {
side = "L";
}
_x = (950 + (random(110) * 10));
_y = (-8700 + (random(560) * 10));
typee = random(7) + 1;
if (typee == 1) {
typee = 3;
} else {
typee = random(2) + 1;
}
Symbol 949 MovieClip Frame 2
if (typee == 1) {
people = 2;
speedx = 9;
}
if (typee == 2) {
people = 15;
speedx = 11;
}
if (typee == 3) {
people = 2;
speedx = 20;
}
boxx.gotoAndStop(typee);
stop();
onEnterFrame = function () {
if (side == "R") {
_x = (_x + speedx);
_xscale = 100;
}
if (side == "L") {
_x = (_x - speedx);
_xscale = -100;
}
if (_x < 0) {
_x = (_x + 100);
side = "R";
_y = (-8700 + (random(560) * 10));
}
if (_x > 13000) {
_x = (_x - 100);
side = "L";
_y = (-8700 + (random(560) * 10));
}
};
Symbol 949 MovieClip Frame 3
speedx = speedx * 0.75;
speedy = random(20) - 10;
boxx.boxx.gotoAndStop(2);
if (((_root.lvl == 19) && (_root.boom_from == 1)) && (_root.ob_done == 1)) {
_root.ob_done = 2;
}
if ((_parent.plane_crash_ob27 != 2) && (_root.boom_from == "armymissiles")) {
_parent.plane_crash_ob27 = 2;
_root.ob_27_2 = _root.ob_27_2 + 1;
}
if ((((_root.lvl == 37) && (_root.boom_from == "armymissiles")) && (typee == 3)) && (_root.ob_done == 1)) {
_root.ob_done = 2;
}
stop();
onEnterFrame = function () {
if (_root.fumee_timer != 0) {
_root.fumee_timer = _root.fumee_timer - 1;
} else {
Set(("_root.cnt.f_" + _root.fumee_nb) + "._x", _x);
Set(("_root.cnt.f_" + _root.fumee_nb) + "._y", _y);
eval ("_root.cnt.f_" + _root.fumee_nb).gotoAndPlay(2);
_root.fumee_nb = _root.fumee_nb + 1;
if (_root.fumee_nb == 50) {
_root.fumee_nb = 1;
}
_root.fumee_timer = 2;
}
_root.act = 0;
_root.what = "plane_" + nb;
if (side == "R") {
_x = (_x + speedx);
if (_rotation < 45) {
_rotation = (_rotation + 1);
}
if ((_rotation >= 45) && (_rotation < 80)) {
_rotation = (_rotation + 0.5);
}
}
if (side == "L") {
_x = (_x - speedx);
if (_rotation > -45) {
_rotation = (_rotation - 1);
}
if ((_rotation > -80) && (_rotation <= -45)) {
_rotation = (_rotation - 0.5);
}
}
_y = (_y + speedy);
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 > 30) {
speedy = 30;
}
speedr = speedr * 0.95;
if ((_x > 11950) || (_x < 950)) {
speedx = 0;
}
};
Instance of Symbol 670 MovieClip in Symbol 949 MovieClip Frame 3
onClipEvent (load) {
_y = 0;
if (_parent.typee == 1) {
_x = 130;
}
if (_parent.typee == 2) {
_x = 260;
}
if (_parent.typee == 3) {
_x = 160;
}
}
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(4);
}
i++;
}
}
Symbol 949 MovieClip Frame 4
_root.cnt.boom._x = _x;
_root.cnt.boom._y = _y;
_root.cnt.boom._xscale = 150;
_root.cnt.boom._yscale = _root.cnt.boom._xscale;
_root.cnt.boom.gotoAndStop(1);
_root.cnt.boom.gotoAndPlay(2);
_root.boom_from = "airplane";
_root.shake = 40;
boxx.boxx.gotoAndStop(3);
_rotation = (_rotation + (random(40) - 20));
_root.snd.divers.gotoAndPlay(2);
if (typee == 1) {
_y = (_y + 130);
}
if (typee == 2) {
_y = (_y + 260);
}
if (typee == 3) {
_y = (_y + 160);
}
if ((_root.lvl == 12) && (_root.ob_done == 1)) {
_root.ob_done = 2;
}
play();
onEnterFrame = function () {
};
Symbol 949 MovieClip Frame 95
if (_root.army_missiles <= 0) {
_root.army_missiles = 0;
_root.act = 1;
} else {
_root.act = 0;
_root.what = "armymissilles";
_root.cnt.armymissilles.gotoAndPlay(171);
}
stop();
Symbol 954 MovieClip Frame 1
_alpha = (random(50) + 30);
_xscale = (random(75) + 25);
_yscale = _xscale;
speedx = random(20) - 10;
speedy = random(20) - 10;
speedr = random(20) - 10;
_x = (random(50) - 25);
_y = (random(50) - 25);
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
_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;
}
speedr = speedr * 0.95;
};
Instance of Symbol 953 MovieClip in Symbol 954 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)) {
_parent.gotoAndStop(2);
}
i++;
}
}
Symbol 954 MovieClip Frame 2
_xscale = (_xscale * 0.5);
stop();
onEnterFrame = function () {
};
Symbol 955 MovieClip Frame 1
stop();
Symbol 955 MovieClip Frame 2
stop();
Symbol 988 MovieClip Frame 1
if (_parent._parent.typee != undefined) {
gotoAndStop(_parent._parent.typee);
} else {
gotoAndStop(_parent._parent._parent.typee);
}
Symbol 1012 MovieClip Frame 1
if (_parent._parent.typee != undefined) {
gotoAndStop(_parent._parent.typee);
} else {
gotoAndStop(_parent._parent._parent.typee);
}
Symbol 1056 MovieClip Frame 1
if (_parent._parent.typee != undefined) {
gotoAndStop(_parent._parent.typee);
} else {
gotoAndStop(_parent._parent._parent.typee);
}
Symbol 1099 MovieClip Frame 1
if (_parent._parent.typee != undefined) {
gotoAndStop(_parent._parent.typee);
} else {
gotoAndStop(_parent._parent._parent.typee);
}
Symbol 1141 MovieClip Frame 1
if (_parent._parent.typee != undefined) {
gotoAndStop(_parent._parent.typee);
} else {
gotoAndStop(_parent._parent._parent.typee);
}
Symbol 1180 MovieClip Frame 1
if (_parent._parent.typee != undefined) {
gotoAndStop(_parent._parent.typee);
} else {
gotoAndStop(_parent._parent._parent.typee);
}
Symbol 1223 MovieClip Frame 1
if (_parent._parent.typee != undefined) {
gotoAndStop(_parent._parent.typee);
} else {
gotoAndStop(_parent._parent._parent.typee);
}
Symbol 1246 MovieClip Frame 1
if (_parent._parent.typee != undefined) {
gotoAndStop(_parent._parent.typee);
} else {
gotoAndStop(_parent._parent._parent.typee);
}
Symbol 1278 MovieClip Frame 1
if (_parent._parent.typee != undefined) {
gotoAndStop(_parent._parent.typee);
} else {
gotoAndStop(_parent._parent._parent.typee);
}
Symbol 1291 MovieClip Frame 1
stop();
Symbol 1351 MovieClip Frame 1
if (_parent._parent.typee != undefined) {
gotoAndStop(_parent._parent.typee);
} else {
gotoAndStop(_parent._parent._parent.typee);
}
Symbol 1421 MovieClip Frame 1
if (_parent.poid == undefined) {
_parent.poid = 1;
}
hitt._alpha = 0;
speedr = random(15) + 5;
if (_parent._parent._parent._x < _root.cnt.boom._x) {
speedx = -(random(15) + 5);
speedr = -(random(15) + 5);
} else {
speedx = random(15) + 5;
speedr = random(15) + 5;
}
speedy = -(random(15) + 5);
speedx = speedx * _parent.poid;
speedy = speedy * _parent.poid;
speedr = speedr * _parent.poid;
_parent._x = random(50) - 25;
_parent._y = random(50) - 25;
_parent._rotation = random(360) + 1;
if (_root.wp == 6) {
speedy = random(10) - 5;
if (_parent._parent._parent._x < _root.cnt.perso._x) {
speedx = -(random(15) + 5);
speedr = -(random(15) + 5);
} else {
speedx = random(15) + 5;
speedr = random(15) + 5;
}
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", _parent._parent._parent._x);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", _parent._parent._parent._y - 25);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb == 11) {
_root.blood_nb = 1;
}
}
stop();
onEnterFrame = function () {
_parent._x = _parent._x + speedx;
_parent._y = _parent._y + speedy;
_parent._rotation = _parent._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 > 20) {
speedy = 20;
}
speedr = speedr * 0.95;
};
Instance of Symbol 688 MovieClip "hitt" in Symbol 1421 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.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.gotoAndStop(2);
}
i++;
}
}
Symbol 1421 MovieClip Frame 2
stop();
onEnterFrame = function () {
};
Symbol 1422 MovieClip Frame 1
if (_root.wp == 6) {
boxx.gotoAndStop(random(20) + 1);
} else {
boxx.gotoAndStop(random(35) + 1);
}
Symbol 1423 MovieClip Frame 50
gotoAndPlay (11);
Symbol 1423 MovieClip Frame 100
gotoAndPlay (51);
Symbol 1423 MovieClip Frame 220
gotoAndPlay (201);
Symbol 1423 MovieClip Frame 240
gotoAndPlay (221);
Symbol 1423 MovieClip Frame 260
gotoAndPlay (241);
Symbol 1423 MovieClip Frame 300
stop();
Symbol 1423 MovieClip Frame 311
_root.snd.scream.gotoAndPlay(((random(6) + 1) * 2) + 20);
_root.snd.divers.gotoAndPlay(30);
Symbol 1423 MovieClip Frame 317
if ((_parent.typee >= 15) && (_parent.typee <= 19)) {
_root.ob_20_2 = _root.ob_20_2 + 1;
}
Symbol 1423 MovieClip Frame 340
stop();
Symbol 1423 MovieClip Frame 341
_root.snd.scream.gotoAndPlay(((random(6) + 1) * 2) + 20);
_root.snd.divers.gotoAndPlay(28);
Symbol 1423 MovieClip Frame 370
stop();
Symbol 1423 MovieClip Frame 371
_root.snd.scream.gotoAndPlay(((random(6) + 1) * 2) + 20);
_root.snd.divers.gotoAndPlay(28);
Symbol 1423 MovieClip Frame 400
stop();
Symbol 1423 MovieClip Frame 420
stop();
Symbol 1423 MovieClip Frame 421
if (((_root.lvl == 21) && (_root.boom_from == 4)) && (_root.ob_done == 1)) {
_root.ob_done = 2;
}
stop();
Symbol 1423 MovieClip Frame 422
_root.snd.scream.gotoAndPlay(((random(6) + 1) * 2) + 20);
stop();
Symbol 1426 MovieClip Frame 1
Symbol 1426 MovieClip Frame 2
speed_walk = random(4);
speed_run = random(4) + 4;
if (typee == "worker") {
typee = random(4) + 1;
limit_1 = 1050;
limit_2 = 2930;
_x = (random(limit_2 - limit_1) + limit_1);
}
if (typee == "civil") {
typee = random(10) + 5;
limit_1 = 3050;
limit_2 = 6150;
_x = (random(limit_2 - limit_1) + limit_1);
}
if (typee == "scientist") {
typee = random(5) + 15;
if (_y > -860) {
limit_1 = 3035;
limit_2 = 4925;
} else {
limit_1 = 6150;
limit_2 = 7715;
}
_x = (random(limit_2 - limit_1) + limit_1);
}
if (typee == "religious") {
typee = random(5) + 20;
limit_1 = 3050;
limit_2 = 6150;
speed_walk = 0;
_x = (random(679) + 5184);
}
if (typee == "ghotic") {
typee = random(5) + 25;
limit_1 = 7830;
limit_2 = 8802;
_x = (random(limit_2 - limit_1) + limit_1);
}
if (typee == "farmer") {
typee = random(5) + 30;
limit_1 = 9440;
limit_2 = 11795;
_x = (random(limit_2 - limit_1) + limit_1);
}
if (typee == "mine") {
typee = random(4) + 35;
limit_1 = 7470;
limit_2 = 9790;
}
if (typee == "police") {
typee = random(1) + 39;
if (_y > -860) {
limit_1 = 1050;
limit_2 = 2930;
} else {
limit_1 = 3050;
limit_2 = 6150;
}
_x = (random(limit_2 - limit_1) + limit_1);
}
if (typee == "army") {
typee = random(2) + 40;
if (_y > -860) {
limit_1 = 3035;
limit_2 = 4925;
} else {
limit_1 = 6150;
limit_2 = 7715;
}
_x = (random(limit_2 - limit_1) + limit_1);
}
if (side == undefined) {
side = random(2) + 1;
if (side == 1) {
side = "R";
} else {
side = "L";
}
}
if ((((((((((typee == 4) || (typee == 6)) || (typee == 8)) || (typee == 9)) || (typee == 13)) || (typee == 16)) || (typee == 24)) || (typee == 27)) || (typee == 30)) || (typee == 22)) {
female = 2;
}
if (female != 2) {
boxx.b1.facee.gotoAndStop(random(3) + 1);
} else {
boxx.b1.facee.gotoAndStop(random(3) + 4);
}
dead = 1;
panic = 1;
speedx = 0;
speedy = 0;
speedr = 0;
touch_floor = 1;
touch_floor_profond = 1;
killed = 1;
injured = 1;
stop();
onEnterFrame = function () {
if ((boxx._currentframe >= 301) && (boxx._currentframe <= 310)) {
if (injured == 1) {
injured = 2;
_root.injured = _root.injured + 1;
_root.st_injured = _root.st_injured + 1;
}
}
if ((boxx._currentframe >= 311) && (boxx._currentframe <= 430)) {
if (killed == 1) {
killed = 2;
_root.killed = _root.killed + 1;
_root.st_killed = _root.st_killed + 1;
Set("_root.wp_kill_" + _root.wp, eval ("_root.wp_kill_" + _root.wp) + 1);
if ((_root.wp == 6) || (_root.wp == 7)) {
_root.ob_32_2 = _root.ob_32_2 + 1;
}
if ((typee >= 1) && (typee <= 4)) {
_root.ob_25_22 = _root.ob_25_22 + 1;
}
if ((typee >= 35) && (typee <= 38)) {
_root.ob_25_22 = _root.ob_25_22 + 1;
}
}
}
if ((((_x > (eval (("_root.cnt." + _root.what) + "._x") - 1000)) && (_x < (eval (("_root.cnt." + _root.what) + "._x") + 1000))) && (_y > (eval (("_root.cnt." + _root.what) + "._y") - 1000))) && (_y < (eval (("_root.cnt." + _root.what) + "._y") + 1000))) {
actif = 2;
} else {
actif = 1;
}
if (actif == 2) {
if (nb == 78) {
}
if (dead == 1) {
if (panic == 1) {
if (side == "R") {
_x = (_x + speed_walk);
} else {
_x = (_x - speed_walk);
}
} else if (side == "R") {
_x = (_x + speed_run);
} else {
_x = (_x - speed_run);
}
if (_x > limit_2) {
if (side == "R") {
side = "L";
} else {
side = "R";
}
}
if (_x < limit_1) {
if (side == "R") {
side = "L";
} else {
side = "R";
}
}
if (touch_floor_profond == 2) {
if (panic == 1) {
_y = (_y - speed_walk);
} else {
_y = (_y - speed_run);
}
}
}
if (touch_floor == 2) {
speedy = 0;
}
_x = (_x + speedx);
_y = (_y + speedy);
boxx._rotation = boxx._rotation + speedr;
speedx = speedx * 0.95;
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 > 20) {
speedy = 20;
}
speedr = speedr * 0.95;
if (side == "R") {
_xscale = 100;
} else {
_xscale = -100;
}
if (dead == 4) {
if (touch_floor == 2) {
speedr = 0;
_y = (_y + 40);
boxx._rotation = 0;
boxx.gotoAndStop(random(10) + 301);
dead = 3;
}
}
if (dead == 1) {
if (panic == 1) {
if (speed_walk <= 0) {
if ((boxx._currentframe < 1) || (boxx._currentframe > 10)) {
boxx.gotoAndStop(random(10) + 1);
}
}
if ((speed_walk > 0) && (speed_walk <= 2)) {
if ((boxx._currentframe < 51) || (boxx._currentframe > 100)) {
boxx.gotoAndPlay(random(50) + 51);
}
}
if (speed_walk > 2) {
if ((boxx._currentframe < 11) || (boxx._currentframe > 50)) {
boxx.gotoAndPlay(random(40) + 11);
}
}
} else if ((boxx._currentframe < 201) || (boxx._currentframe > 260)) {
boxx.gotoAndPlay(random(60) + 201);
}
}
if ((dead != 1) || (panic != 1)) {
if (boxx.b1.facee._currentframe <= 6) {
if (female != 2) {
boxx.b1.facee.gotoAndStop(random(2) + 7);
} else {
boxx.b1.facee.gotoAndStop(random(2) + 9);
}
}
}
}
};
Instance of Symbol 670 MovieClip in Symbol 1426 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent.actif == 2) {
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.touch_floor = 2;
} else {
_parent.touch_floor = 1;
}
i++;
}
this.hitpts2 = new Array({x:0, y:-10});
ii = 0;
while (ii < this.hitpts2.length) {
this.localToGlobal(hitpts2[ii]);
if (_root.cnt.hitt.hitTest(hitpts2[ii].x, hitpts2[ii].y, true)) {
_parent.touch_floor_profond = 2;
} else {
_parent.touch_floor_profond = 1;
}
ii++;
}
if (_parent.dead == 1) {
this.hitpts3 = new Array({x:0, y:-20});
iii = 0;
while (iii < this.hitpts3.length) {
this.localToGlobal(hitpts3[iii]);
if (_root.cnt.hitt.hitTest(hitpts3[iii].x, hitpts3[iii].y, true)) {
_parent._y = _parent._y - 10;
}
iii++;
}
}
}
}
Symbol 1430 MovieClip Frame 3
stop();
Symbol 1437 MovieClip Frame 5
stop();
Symbol 1442 MovieClip Frame 1
gotoAndStop(random(2) + 1);
Symbol 1443 MovieClip Frame 1
stop();
Instance of Symbol 670 MovieClip in Symbol 1444 MovieClip Frame 9
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 100) {
if (_root.cnt["e_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if ((_root.cnt["e_" + nb].dead == 1) && (Math.abs(_root.speedx) >= 8)) {
_root.cnt["e_" + nb].dead = 2;
if ((_root.cnt["e_" + nb].typee >= 25) && (_root.cnt["e_" + nb].typee <= 29)) {
_root.ob_13_2 = _root.ob_13_2 + 1;
}
if ((_root.cnt["e_" + nb].typee >= 20) && (_root.cnt["e_" + nb].typee <= 24)) {
_root.ob_23_2 = _root.ob_23_2 + 1;
}
_root.cnt["e_" + nb].boxx.gotoAndStop(422);
trace(_parent.lance.nb);
_parent.lance.gotoAndStop(_parent.lance.nb + 1);
Set(("_parent.lance.e_" + _parent.lance.nb) + ".typee", _root.cnt["e_" + nb].typee);
trace(eval (("_parent.lance.e_" + _parent.lance.nb) + ".typee"));
_parent.lance.nb = _parent.lance.nb + 1;
_root.snd.divers.gotoAndPlay(20);
_root.cnt.perso.boxx.arm1.boxx._rotation = -40;
if (_parent.lance.nb == 6) {
_root.wp_ammo_9 = _root.wp_ammo_9 - 1;
_parent.lance.nb = 1;
Set(("_root.cnt.lance_" + _root.lance_nb) + "._x", _root.cnt.perso._x);
Set(("_root.cnt.lance_" + _root.lance_nb) + "._y", _root.cnt.perso._y - 50);
eval ("_root.cnt.lance_" + _root.lance_nb).gotoAndStop(1);
eval ("_root.cnt.lance_" + _root.lance_nb).gotoAndStop(2);
eval (("_root.cnt.lance_" + _root.lance_nb) + ".boxx").gotoAndStop(6);
Set(("_root.cnt.lance_" + _root.lance_nb) + ".boxx.e_1.typee", _parent.lance.e_1.typee);
Set(("_root.cnt.lance_" + _root.lance_nb) + ".boxx.e_2.typee", _parent.lance.e_2.typee);
Set(("_root.cnt.lance_" + _root.lance_nb) + ".boxx.e_3.typee", _parent.lance.e_3.typee);
Set(("_root.cnt.lance_" + _root.lance_nb) + ".boxx.e_4.typee", _parent.lance.e_4.typee);
Set(("_root.cnt.lance_" + _root.lance_nb) + ".boxx.e_5.typee", _parent.lance.e_5.typee);
_root.lance_nb = _root.lance_nb + 1;
if (_root.lance_nb == 7) {
_root.lance_nb = 1;
}
_parent.lance.gotoAndStop(_parent.lance.nb);
}
}
}
nb++;
}
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
}
i++;
}
}
Instance of Symbol 1443 MovieClip "lance" in Symbol 1444 MovieClip Frame 9
onClipEvent (load) {
nb = 1;
}
Symbol 1448 MovieClip Frame 1
_rotation = (random(360) + 1);
_xscale = (random(60) + 40);
_yscale = _xscale;
Symbol 1448 MovieClip Frame 41
stop();
Symbol 1450 MovieClip Frame 30
aa = random(6) + 1;
if (aa == 1) {
aa = random(2) + 1;
if (aa == 1) {
shot = 3;
gotoAndPlay (32);
} else {
gotoAndPlay (41);
}
} else {
gotoAndPlay (1);
}
Symbol 1450 MovieClip Frame 31
stop();
Instance of Symbol 670 MovieClip in Symbol 1450 MovieClip Frame 31
onClipEvent (load) {
timer = 20;
}
onClipEvent (enterFrame) {
if (timer != 0) {
timer = timer - 1;
} else {
_parent.play();
}
}
Symbol 1450 MovieClip Frame 35
stop();
Instance of Symbol 670 MovieClip in Symbol 1450 MovieClip Frame 35
onClipEvent (load) {
timer = 20;
}
onClipEvent (enterFrame) {
if (timer != 0) {
timer = timer - 1;
} else {
_parent.play();
}
}
Symbol 1450 MovieClip Frame 40
shot = shot - 1;
if (shot == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (31);
}
Symbol 1450 MovieClip Frame 45
stop();
Instance of Symbol 670 MovieClip in Symbol 1450 MovieClip Frame 45
onClipEvent (load) {
timer = 40;
}
onClipEvent (enterFrame) {
if (timer != 0) {
timer = timer - 1;
} else {
_parent.play();
}
}
Symbol 1450 MovieClip Frame 50
gotoAndPlay (1);
Symbol 1450 MovieClip Frame 54
_root.snd.walk.gotoAndPlay((random(6) + 1) * 2);
Symbol 1450 MovieClip Frame 70
gotoAndPlay (51);
Symbol 1450 MovieClip Frame 90
stop();
Symbol 1450 MovieClip Frame 110
gotoAndPlay (91);
Symbol 1450 MovieClip Frame 111
stop();
Symbol 1450 MovieClip Frame 112
stop();
Symbol 1450 MovieClip Frame 130
stop();
Symbol 1450 MovieClip Frame 131
gotoAndPlay (150);
Symbol 1450 MovieClip Frame 155
_root.cnt.cargo.gotoAndStop(21);
Symbol 1450 MovieClip Frame 187
gotoAndPlay (208);
Symbol 1450 MovieClip Frame 208
if (_root.tuto != 2) {
_root.interr.tuto.gotoAndStop(2);
stop();
}
Symbol 1450 MovieClip Frame 209
_root.act = 1;
_root.canmove = 2;
Symbol 1450 MovieClip Frame 210
_root.act = 1;
_root.canmove = 2;
Symbol 1451 MovieClip Frame 100
_root.got2go = 2;
Symbol 1452 MovieClip Frame 1
stop();
Instance of Symbol 670 MovieClip in Symbol 1452 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)) {
_root.touch_sol = 2;
} else {
_root.touch_sol = 1;
}
i++;
}
this.hitpts4 = new Array({x:0, y:-75});
iiii = 0;
while (iiii < this.hitpts4.length) {
this.localToGlobal(hitpts4[iiii]);
if (_root.cnt.hitt.hitTest(hitpts4[iiii].x, hitpts4[iiii].y, true)) {
_parent._y = _parent._y + (_root.speedy + 3);
if (_root.speedy < 1) {
_root.speedy = 1;
}
_root.top_hitt = 2;
} else {
_root.top_hitt = 1;
}
iiii++;
}
this.hitpts2 = new Array({x:0, y:-10});
ii = 0;
while (ii < this.hitpts2.length) {
this.localToGlobal(hitpts2[ii]);
if (_root.cnt.hitt.hitTest(hitpts2[ii].x, hitpts2[ii].y, true)) {
if (_root.top_hitt != 2) {
_parent._y = _parent._y - 10;
}
}
ii++;
}
this.hitpts3 = new Array({x:10, y:-25});
iii = 0;
while (iii < this.hitpts3.length) {
this.localToGlobal(hitpts3[iii]);
if (_root.cnt.hitt.hitTest(hitpts3[iii].x, hitpts3[iii].y, true)) {
_root.touch_mur = 2;
if (_root.side == "R") {
_parent._x = _parent._x - 2;
} else {
_parent._x = _parent._x + 2;
}
} else {
_root.touch_mur = 1;
}
iii++;
}
}
Symbol 1452 MovieClip Frame 2
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", _x);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", _y - 25);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb == 11) {
_root.blood_nb = 1;
}
stop();
onEnterFrame = function () {
_root.canmove = 1;
_root.speedx = 0;
_root.speedy = 0;
};
Symbol 1460 MovieClip Frame 4
stop();
Symbol 1461 MovieClip Frame 1
launched = 1;
final_chance = 1;
_root.what = "cargo";
onEnterFrame = function () {
_root.act = 0;
_root.canmove = 1;
_x = _parent.cargo_cam.boxx._x;
_y = _parent.cargo_cam.boxx._y;
if (_currentframe == 20) {
if (launched == 1) {
if (Key.isDown(32) || (final_chance == 2)) {
final_chance = 1;
launched = 2;
_parent.cargo_cam.stop();
perso._visible = false;
_root.cnt.perso._x = _x;
_root.cnt.perso._y = _y - 120;
_root.what = "perso";
}
} else if (_root.touch_sol == 2) {
_root.speedx = 0;
_root.speedy = 0;
_root.cnt.perso.boxx.gotoAndPlay(131);
_root.shake = 15;
gotoAndStop (21);
} else {
_root.speedx = 8;
_root.speedy = 20;
}
}
if ((launched == 2) && (_root.touch_sol != 2)) {
_root.interr.spacecargo.gotoAndStop(31);
if ((_root.cnt.perso.boxx._currentframe < 71) || (_root.cnt.perso.boxx._currentframe > 90)) {
_root.cnt.perso.boxx.gotoAndPlay(71);
}
}
_root.shake = 7;
};
Symbol 1461 MovieClip Frame 20
stop();
Symbol 1461 MovieClip Frame 21
stop();
onEnterFrame = function () {
};
Symbol 1463 MovieClip Frame 501
_parent.cargo.final_chance = 2;
Instance of Symbol 1465 MovieClip in Symbol 1466 MovieClip Frame 1
onClipEvent (enterFrame) {
point = new Object();
point.x = _x;
point.y = _y;
pointx = localToGlobal(point);
_root.rocket_angle_ptx = point.x;
_root.rocket_angle_pty = point.y;
_parent._parent.rocket_angle_pt._x = _root.rocket_angle_ptx - _root.cnt._x;
_parent._parent.rocket_angle_pt._y = _root.rocket_angle_pty - _root.cnt._y;
}
Symbol 1471 MovieClip Frame 1
stop();
Symbol 1471 MovieClip Frame 2
_xscale = (random(50) + 75);
_yscale = _xscale;
_alpha = (random(50) + 50);
_x = (_x + (-15 + random(30)));
_y = (_y + (-15 + random(30)));
Symbol 1476 MovieClip Frame 1
aa = random(7) + 1;
if (aa == 2) {
gotoAndPlay (16);
}
if (aa == 3) {
gotoAndPlay (31);
}
if (aa == 4) {
gotoAndPlay (66);
}
if (aa == 5) {
gotoAndPlay (91);
}
if (aa == 6) {
gotoAndPlay (116);
}
if (aa == 7) {
gotoAndPlay (173);
}
Symbol 1476 MovieClip Frame 15
gotoAndPlay (1);
Symbol 1476 MovieClip Frame 30
gotoAndPlay (1);
Symbol 1476 MovieClip Frame 65
gotoAndPlay (1);
Symbol 1476 MovieClip Frame 90
gotoAndPlay (1);
Symbol 1476 MovieClip Frame 115
gotoAndPlay (1);
Symbol 1476 MovieClip Frame 172
gotoAndPlay (1);
Symbol 1478 MovieClip Frame 1
aa = random(150) + 1;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 1477 MovieClip in Symbol 1478 MovieClip Frame 1
onClipEvent (load) {
aa = random(50) + 100;
_parent._xscale = aa;
_parent._yscale = aa;
}
Symbol 1478 MovieClip Frame 5
aa = random(150) + 1;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Symbol 1480 MovieClip Frame 1
aa = random(150) + 1;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 1477 MovieClip in Symbol 1480 MovieClip Frame 1
onClipEvent (load) {
aa = random(50) + 100;
_parent._xscale = aa;
_parent._yscale = aa;
}
Symbol 1480 MovieClip Frame 5
aa = random(150) + 1;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Symbol 1482 MovieClip Frame 1
if (_root.army_missiles != 0) {
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 1481 MovieClip in Symbol 1482 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.rocket_fuel_st <= 0) {
_visible = false;
}
}
Symbol 1483 MovieClip Frame 1
stop();
Symbol 1483 MovieClip Frame 2
if (_root.army_missiles == 0) {
_root.rocket_fuel_st = _root.rocket_fuel_max;
} else {
_root.rocket_fuel_st = 1500;
}
Instance of Symbol 1468 MovieClip in Symbol 1483 MovieClip Frame 2
onClipEvent (enterFrame) {
point = new Object();
point.x = _x;
point.y = _y;
pointx = localToGlobal(point);
_root.rocket_cam_ptx = point.x;
_root.rocket_cam_pty = point.y;
_parent._parent.rocket_cam._x = _root.rocket_cam_ptx - _root.cnt._x;
_parent._parent.rocket_cam._y = _root.rocket_cam_pty - _root.cnt._y;
}
Instance of Symbol 1468 MovieClip in Symbol 1483 MovieClip Frame 2
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 100) {
if (_root.cnt["e_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt["e_" + nb].dead == 1) {
_root.cnt["e_" + nb].dead = 2;
_root.sliced = _root.sliced + 1;
_root.shake = 8;
_root.cnt["e_" + nb].boxx.gotoAndPlay(((random(2) + 1) * 30) + 311);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", _root.cnt["e_" + nb]._x);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", _root.cnt["e_" + nb]._y - 25);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb == 11) {
_root.blood_nb = 1;
}
}
}
nb++;
}
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.gotoAndPlay(3);
}
i++;
}
}
Symbol 1483 MovieClip Frame 3
_root.shake = 20;
_root.wp_ammo_2 = _root.wp_ammo_2 - 1;
_root.act = 4;
_x = (_x + (_root.powerocketx * 3));
_y = (_y + (_root.powerockety * 3));
_parent.boom._x = _x;
_parent.boom._y = _y;
_parent.boom.gotoAndPlay(2);
if (_root.army_missiles == 0) {
_root.boom_from = 2;
_root.cnt.boom._xscale = 80 + (25 * _root.wp_2);
_root.cnt.boom._yscale = _root.cnt.boom._xscale;
} else {
_root.boom_from = "armymissiles";
_root.cnt.boom._xscale = 300;
_root.cnt.boom._yscale = _root.cnt.boom._xscale;
_root.cnt.armymissilles.gotoAndStop(191);
}
Symbol 1483 MovieClip Frame 80
_root.army_missiles = _root.army_missiles - 1;
if (_root.army_missiles <= 0) {
_root.army_missiles = 0;
_root.act = 1;
} else {
_root.act = 0;
_root.what = "armymissilles";
_root.cnt.armymissilles.gotoAndPlay(171);
}
Symbol 1487 MovieClip Frame 1
stop();
onEnterFrame = function () {
};
Symbol 1487 MovieClip Frame 2
trace("go grenade frame 2");
speedr = random(20) - 10;
flash_nb = 1;
stop();
onEnterFrame = function () {
boxx._rotation = boxx._rotation + speedr;
eval ("_parent.gr_" + flash_nb).gotoAndStop(1);
eval ("_parent.gr_" + flash_nb).gotoAndStop(2);
Set(("_parent.gr_" + flash_nb) + "._x", _x);
Set(("_parent.gr_" + flash_nb) + "._y", _y);
Set(("_parent.gr_" + flash_nb) + ".boxx._rotation", boxx._rotation);
flash_nb = flash_nb + 1;
if (flash_nb == 11) {
flash_nb = 1;
}
};
Instance of Symbol 670 MovieClip in Symbol 1487 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)) {
_root.cnt.boom._x = _parent._x;
_root.cnt.boom._y = _parent._y;
_root.cnt.boom.gotoAndStop(1);
_root.cnt.boom.gotoAndPlay(2);
_root.cnt.boom._xscale = 100;
_root.cnt.boom._yscale = _root.cnt.boom._xscale;
_root.act = 0;
_root.shake = 20;
_parent.gotoAndPlay(3);
}
i++;
}
}
Symbol 1487 MovieClip Frame 3
onEnterFrame = function () {
};
Symbol 1487 MovieClip Frame 50
_root.wp_ammo_5 = _root.wp_ammo_5 - 1;
_root.act = 1;
Symbol 1490 MovieClip Frame 1
stop();
onEnterFrame = function () {
};
Symbol 1490 MovieClip Frame 2
_alpha = 100;
stop();
onEnterFrame = function () {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
gotoAndStop (1);
}
};
Symbol 1491 MovieClip Frame 1
stop();
onEnterFrame = function () {
};
Symbol 1491 MovieClip Frame 2
_y = (_y - 20);
speedx = 0;
speedy = -5;
_root.snd.divers.gotoAndPlay(24);
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
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;
}
};
Instance of Symbol 670 MovieClip in Symbol 1491 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.gotoAndStop(3);
}
i++;
}
}
Symbol 1491 MovieClip Frame 3
_root.snd.divers.gotoAndPlay(26);
stop();
onEnterFrame = function () {
};
Instance of Symbol 670 MovieClip in Symbol 1491 MovieClip Frame 3
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 100) {
if (_root.cnt["e_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.gotoAndPlay(4);
}
nb++;
}
i++;
}
}
Symbol 1491 MovieClip Frame 4
_root.cnt.boom._x = _x;
_root.cnt.boom._y = _y;
_root.cnt.boom.gotoAndStop(1);
_root.cnt.boom.gotoAndPlay(2);
_root.cnt.boom._xscale = 70;
_root.cnt.boom._yscale = _root.cnt.boom._xscale;
_root.shake = 20;
_root.boom_from = 4;
Symbol 1494 MovieClip Frame 1
stop();
onEnterFrame = function () {
};
Symbol 1494 MovieClip Frame 2
_y = (_y - 20);
speedx = 0;
speedy = 1;
_root.snd.divers.gotoAndPlay(24);
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
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;
}
};
Instance of Symbol 670 MovieClip in Symbol 1494 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.gotoAndStop(3);
}
i++;
}
}
Symbol 1494 MovieClip Frame 3
_root.snd.divers.gotoAndPlay(26);
stop();
onEnterFrame = function () {
};
Symbol 1494 MovieClip Frame 4
_root.cnt.boom._xscale = 200;
_root.cnt.boom._yscale = 200;
_root.cnt.boom._x = _x;
_root.cnt.boom._y = _y;
_root.cnt.boom.gotoAndStop(1);
_root.cnt.boom.gotoAndPlay(2);
_root.shake = 45;
_root.boom_from = 3;
Symbol 1496 MovieClip Frame 1
stop();
Instance of Symbol 670 MovieClip in Symbol 1496 MovieClip Frame 1
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 100) {
if (_root.cnt["e_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt["e_" + nb].dead != 2) {
_root.cnt["e_" + nb].dead = 2;
if ((_root.cnt["e_" + nb].typee >= 39) && (_root.cnt["e_" + nb].typee <= 41)) {
_root.ob_22_2 = _root.ob_22_2 + 1;
}
_root.cnt["e_" + nb].boxx.gotoAndStop(421);
_parent.gotoAndStop(2);
}
}
nb++;
}
i++;
}
}
Symbol 1497 MovieClip Frame 1
stop();
Symbol 1499 MovieClip Frame 1
stop();
Symbol 1499 MovieClip Frame 2
stop();
onEnterFrame = function () {
_x = (_x + speedx);
};
Instance of Symbol 670 MovieClip in Symbol 1499 MovieClip Frame 2
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 100) {
if (_root.cnt["e_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt["e_" + nb].dead != 2) {
_root.cnt["e_" + nb].dead = 2;
_root.cnt["e_" + nb].boxx.gotoAndPlay(311);
_parent.gotoAndPlay(3);
}
}
nb++;
}
i++;
}
}
Symbol 1499 MovieClip Frame 3
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", _x);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", _y);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb == 11) {
_root.blood_nb = 1;
}
onEnterFrame = function () {
};
Symbol 1500 MovieClip Frame 1
stop();
Instance of Symbol 670 MovieClip in Symbol 1500 MovieClip Frame 2
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 100) {
if (_root.cnt["e_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt["e_" + nb].dead != 2) {
_root.cnt["e_" + nb].dead = 2;
_root.snd.divers.gotoAndPlay(22);
_root.cnt["e_" + nb].boxx.gotoAndPlay(((random(2) + 1) * 30) + 311);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", _root.cnt["e_" + nb]._x);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", _root.cnt["e_" + nb]._y - 25);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb == 11) {
_root.blood_nb = 1;
}
}
}
nb++;
}
i++;
}
}
Symbol 1502 MovieClip Frame 1
stop();
Instance of Symbol 670 MovieClip in Symbol 1502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._currentframe == 2) {
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._parent.gotoAndStop(3);
}
i++;
}
}
}
Symbol 1503 MovieClip Frame 1
stop();
Symbol 1503 MovieClip Frame 2
if (_root.side == "R") {
speedx = 5;
speedr = -5.5;
} else {
speedx = -5;
speedr = 5.5;
}
speedy = -10;
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
boxx._rotation = boxx._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;
}
speedr = speedr * 0.95;
};
Instance of Symbol 1502 MovieClip "boxx" in Symbol 1503 MovieClip Frame 2
onClipEvent (load) {
nb = 1;
}
Symbol 1503 MovieClip Frame 3
_root.shake = 10;
stop();
onEnterFrame = function () {
};
Symbol 1506 MovieClip Frame 1
stop();
Symbol 1509 MovieClip Frame 1
stop();
Symbol 1512 MovieClip Frame 1
stop();
Symbol 1515 MovieClip Frame 1
stop();
Symbol 1518 MovieClip Frame 1
stop();
Symbol 1519 MovieClip Frame 1
stop();
Symbol 1519 MovieClip Frame 2
stop();
Symbol 1522 MovieClip Frame 1
stop();
Symbol 1522 MovieClip Frame 2
_root.cnt.sol.cover.maskk.gotoAndStop(2);
_root.cnt.sol.cover.img.gotoAndStop(2);
if (((_root.lvl == 30) && (_root.cnt.perso._x > 10600)) && (_root.ob_done == 1)) {
_root.ob_done = 2;
}
Symbol 1525 MovieClip Frame 1
stop();
Symbol 1528 MovieClip Frame 1
stop();
Symbol 1529 MovieClip Frame 1
stop();
Symbol 1534 MovieClip Frame 1
stop();
Symbol 1536 MovieClip Frame 1
stop();
Symbol 1539 MovieClip Frame 1
stop();
Symbol 1541 MovieClip Frame 1
stop();
Symbol 1544 MovieClip Frame 1
stop();
Symbol 1547 MovieClip Frame 1
stop();
Symbol 1551 MovieClip Frame 1
stop();
Symbol 1555 MovieClip Frame 1
_visible = false;
stop();
Symbol 1555 MovieClip Frame 2
_visible = true;
_rotation = 0;
stop();
Symbol 1558 MovieClip Frame 1
stop();
Symbol 1561 MovieClip Frame 1
stop();
Symbol 1564 MovieClip Frame 1
stop();
Symbol 1576 MovieClip Frame 1
stop();
Symbol 1599 MovieClip Frame 1
stop();
Symbol 1611 MovieClip Frame 11
_parent.gotoAndStop(1);
stop();
Instance of Symbol 670 MovieClip in Symbol 1612 MovieClip Frame 1
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 100) {
if (_root.cnt["e_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt["e_" + nb].dead == 1) {
_root.cnt["e_" + nb].dead = 2;
_root.cnt["e_" + nb].boxx.gotoAndStop(421);
}
}
nb++;
}
i++;
}
}
Symbol 1613 MovieClip Frame 1
timer = random(30) + 1;
stop();
onEnterFrame = function () {
if (_parent.cantombe == 2) {
if (timer != 0) {
timer = timer - 1;
} else {
trace("roche tombe");
gotoAndStop (2);
}
}
};
Symbol 1613 MovieClip Frame 2
_x = (random(1600) + 400);
_y = -880;
_xscale = 70;
_yscale = 70;
speedy = 20;
speedr = random(20) - 10;
boxx.gotoAndStop(random(2) + 1);
if (boxx._currentrame == 1) {
gros = 2;
} else {
gros = 1;
}
stop();
onEnterFrame = function () {
_y = (_y + speedy);
_rotation = (_rotation + speedr);
};
Instance of Symbol 670 MovieClip in Symbol 1613 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)) {
if (_parent._y > -100) {
_parent.gotoAndStop(3);
}
}
i++;
}
}
Symbol 1613 MovieClip Frame 3
_root.snd.roche.gotoAndPlay((random(3) + 1) * 2);
_root.shake = 20;
if (gros != 2) {
_xscale = 30;
_yscale = 30;
}
stop();
onEnterFrame = function () {
};
Instance of Symbol 1611 MovieClip in Symbol 1613 MovieClip Frame 3
onClipEvent (load) {
_rotation = (random(360) + 1);
}
Symbol 1614 MovieClip Frame 21
if (_parent.dejaloader == 2) {
stop();
}
Symbol 1614 MovieClip Frame 22
_parent.dejaloader = 2;
trace("shake mine");
_parent.cantombe = 2;
_root.snd.roche.gotoAndPlay(8);
onEnterFrame = function () {
_root.shake = 4;
play();
};
Symbol 1614 MovieClip Frame 350
trace("shake mine : STOP");
_parent.cantombe = 1;
stop();
onEnterFrame = function () {
};
Symbol 1615 MovieClip Frame 1
stop();
Symbol 1615 MovieClip Frame 2
if ((((((_root.lvl == 35) && (_root.cnt.perso._y >= -250)) && (_root.cnt.perso._x >= 3090)) && (_root.cnt.perso._x <= 5020)) && (_root.ob_done == 1)) && (_root.boom_from == 3)) {
_root.ob_done = 2;
}
Symbol 1618 MovieClip Frame 1
stop();
Symbol 1621 MovieClip Frame 1
stop();
Symbol 1624 MovieClip Frame 1
stop();
Symbol 1629 MovieClip Frame 1
stop();
Symbol 1639 MovieClip Frame 1
speedup = 5;
stop();
onEnterFrame = function () {
if (_root.cnt.perso._y > 440) {
if ((_root.cnt.perso._x >= 9090) && (_root.cnt.perso._x <= 9300)) {
if (_y > 440) {
_y = (_y - speedup);
}
} else if (_y < 850) {
_y = (_y + speedup);
}
} else if (_y > 440) {
_y = (_y - speedup);
}
};
Symbol 1639 MovieClip Frame 2
speedup = 5;
stop();
onEnterFrame = function () {
};
Symbol 1642 MovieClip Frame 1
stop();
Symbol 1651 MovieClip Frame 1
stop();
Symbol 1654 MovieClip Frame 1
stop();
Symbol 1654 MovieClip Frame 2
if (loaded2 != 2) {
loaded2 = 2;
_root.ob_26_2 = _root.ob_26_2 + 1;
}
Symbol 1657 MovieClip Frame 1
stop();
Symbol 1662 MovieClip Frame 1
stop();
Symbol 1667 MovieClip Frame 1
stop();
Symbol 1670 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((_currentframe >= 2) && (_currentframe <= 42)) {
if ((_root.cnt.boom._currentframe < 2) || (_root.cnt.boom._currentframe > 6)) {
_root.cnt.boom.gotoAndPlay(2);
}
if (side == 1) {
_root.cnt.boom._x = cam._x;
_root.cnt.boom._y = cam._y;
} else {
_root.cnt.boom._x = cam2._x;
_root.cnt.boom._y = cam2._y;
}
}
};
Symbol 1670 MovieClip Frame 215
_root.act = 1;
stop();
Symbol 1673 MovieClip Frame 1
stop();
Symbol 1673 MovieClip Frame 2
_root.ob_18_2 = _root.ob_18_2 + 1;
Symbol 1676 MovieClip Frame 1
_y = (-random(2000));
Symbol 1682 MovieClip Frame 1
boxx._rotation = random(360) + 1;
boxx._x = random(100) - 50;
boxx._y = random(100) - 50;
Symbol 1685 MovieClip Frame 1
_xscale = 100;
_yscale = 100;
shot = 1;
_root.cnt.obh_1.hited = 1;
_root.cnt.obh_2.hited = 1;
_root.cnt.obh_3.hited = 1;
_root.cnt.obh_4.hited = 1;
_root.cnt.obh_5.hited = 1;
_root.cnt.obh_6.hited = 1;
_root.cnt.obh_7.hited = 1;
_root.cnt.obh_8.hited = 1;
_root.cnt.obh_9.hited = 1;
_root.cnt.ob_1.hited = 1;
_root.cnt.ob_2.hited = 1;
_root.cnt.ob_3.hited = 1;
_root.cnt.ob_4.hited = 1;
_root.cnt.ob_5.hited = 1;
_root.cnt.ob_6.hited = 1;
_root.cnt.ob_7.hited = 1;
_root.cnt.ob_8.hited = 1;
_root.cnt.ob_9.hited = 1;
_root.cnt.ob_10.hited = 1;
_root.cnt.ob_11.hited = 1;
_root.cnt.ob_12.hited = 1;
_root.cnt.ob_13.hited = 1;
_root.cnt.ob_14.hited = 1;
_root.cnt.ob_15.hited = 1;
_root.cnt.ob_16.hited = 1;
_root.cnt.ob_17.hited = 1;
_root.cnt.ob_18.hited = 1;
_root.cnt.ob_19.hited = 1;
_root.cnt.ob_20.hited = 1;
_root.cnt.ob_21.hited = 1;
_root.cnt.ob_22.hited = 1;
_root.cnt.ob_23.hited = 1;
_root.cnt.ob_24.hited = 1;
_root.cnt.ob_25.hited = 1;
_root.cnt.ob_26.hited = 1;
_root.cnt.ob_27.hited = 1;
_root.cnt.ob_28.hited = 1;
_root.cnt.ob_29.hited = 1;
_root.cnt.ob_30.hited = 1;
_root.cnt.ob_31.hited = 1;
_root.cnt.ob_32.hited = 1;
_root.cnt.ob_33.hited = 1;
_root.cnt.ob_34.hited = 1;
_root.cnt.ob_35.hited = 1;
_root.cnt.ob_36.hited = 1;
_root.cnt.ob_37.hited = 1;
_root.cnt.ob_38.hited = 1;
_root.cnt.ob_39.hited = 1;
_root.cnt.ob_40.hited = 1;
_root.cnt.ob_41.hited = 1;
_root.cnt.ob_42.hited = 1;
_root.cnt.ob_43.hited = 1;
_root.cnt.ob_44.hited = 1;
_root.cnt.ob_45.hited = 1;
_root.cnt.ob_46.hited = 1;
_root.cnt.ob_47.hited = 1;
_root.cnt.ob_48.hited = 1;
_root.cnt.ob_49.hited = 1;
_root.cnt.ob_50.hited = 1;
_root.cnt.ob_51.hited = 1;
_root.cnt.ob_52.hited = 1;
_root.cnt.ob_53.hited = 1;
_root.cnt.ob_54.hited = 1;
_root.cnt.ob_55.hited = 1;
_root.cnt.ob_56.hited = 1;
_root.cnt.ob_57.hited = 1;
_root.cnt.ob_58.hited = 1;
_root.cnt.ob_59.hited = 1;
_root.cnt.ob_60.hited = 1;
_root.cnt.ob_61.hited = 1;
_root.cnt.ob_62.hited = 1;
_root.cnt.ob_63.hited = 1;
_root.cnt.ob_64.hited = 1;
_root.cnt.ob_65.hited = 1;
_root.cnt.ob_66.hited = 1;
_root.cnt.ob_67.hited = 1;
_root.cnt.ob_68.hited = 1;
_root.cnt.ob_69.hited = 1;
_root.cnt.ob_70.hited = 1;
_root.cnt.ob_71.hited = 1;
_root.cnt.ob_72.hited = 1;
_root.cnt.ob_73.hited = 1;
_root.cnt.ob_74.hited = 1;
_root.cnt.ob_75.hited = 1;
_root.cnt.ob_76.hited = 1;
_root.cnt.ob_77.hited = 1;
_root.cnt.ob_78.hited = 1;
_root.cnt.ob_79.hited = 1;
_root.cnt.ob_80.hited = 1;
_root.cnt.ob_81.hited = 1;
_root.cnt.ob_82.hited = 1;
_root.cnt.ob_83.hited = 1;
_root.cnt.ob_84.hited = 1;
_root.cnt.ob_85.hited = 1;
_root.cnt.ob_86.hited = 1;
_root.cnt.ob_87.hited = 1;
_root.cnt.ob_88.hited = 1;
_root.cnt.ob_89.hited = 1;
_root.cnt.ob_90.hited = 1;
_root.cnt.ob_91.hited = 1;
_root.cnt.ob_92.hited = 1;
_root.cnt.ob_93.hited = 1;
_root.cnt.ob_94.hited = 1;
_root.cnt.ob_95.hited = 1;
_root.cnt.ob_96.hited = 1;
_root.cnt.ob_97.hited = 1;
_root.cnt.ob_98.hited = 1;
_root.cnt.ob_99.hited = 1;
stop();
Symbol 1685 MovieClip Frame 2
sx = _x;
sy = _y;
_root.explosions = _root.explosions + 1;
if (_xscale < 100) {
_root.snd.boom.gotoAndPlay((random(2) + 1) * 2);
}
if ((_xscale >= 100) && (_xscale < 135)) {
_root.snd.boom.gotoAndPlay((random(2) + 3) * 2);
}
if ((_xscale >= 145) && (_xscale < 180)) {
_root.snd.boom.gotoAndPlay((random(2) + 5) * 2);
}
if (_xscale >= 180) {
_root.snd.boom.gotoAndPlay((random(2) + 7) * 2);
}
Instance of Symbol 1684 MovieClip "ringg" in Symbol 1685 MovieClip Frame 2
onClipEvent (enterFrame) {
_xscale = (_xscale + 50);
_yscale = _xscale;
this.hitpts = new Array({x:-7, y:-7}, {x:0, y:-10}, {x:7, y:-7}, {x:-10, y:0}, {x:10, y:0}, {x:-7, y:7}, {x:0, y:10}, {x:7, y:7});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.perso.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cheat_1 != 2) {
_root.cnt.perso.gotoAndStop(2);
}
}
var nb = 1;
while (nb < 100) {
if (_root.cnt["ob_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt["ob_" + nb].hited == 1) {
if (_root.cnt["ob_" + nb].destroy != 2) {
_root.cnt["ob_" + nb].destroy = 2;
_root.st_objects = _root.st_objects + 1;
_root.objects = _root.objects + 1;
}
_root.cnt["ob_" + nb].hited = 2;
_root.cnt["ob_" + nb].gotoAndStop(1);
_root.cnt["ob_" + nb].gotoAndStop(2);
_root.cnt.hitt["ob_" + nb].gotoAndStop(2);
if (_root.cnt["ob_" + nb]._currentframe == 1) {
}
}
}
if (_root.cnt["e_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt["e_" + nb]._currentframe < 401) {
_root.cnt["e_" + nb].dead = 2;
if ((_root.cnt["e_" + nb].typee >= 30) && (_root.cnt["e_" + nb].typee <= 34)) {
_root.ob_16_2 = _root.ob_16_2 + 1;
}
Set("_root.boom_from_" + _root.boom_from, eval ("_root.boom_from_" + _root.boom_from) + 1);
aa = random(2) + 1;
if (aa == 1) {
_root.cnt["e_" + nb].boxx.gotoAndPlay(401);
} else {
_root.cnt["e_" + nb].boxx.gotoAndStop(421);
}
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", _root.cnt["e_" + nb]._x);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", _root.cnt["e_" + nb]._y - 25);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb == 11) {
_root.blood_nb = 1;
}
}
}
if (_root.cnt["e_" + nb].hitt2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if ((_root.cnt["e_" + nb].dead == 1) && (_parent._currentframe >= 11)) {
_root.cnt["e_" + nb].dead = 4;
_root.cnt["e_" + nb].touch_floor = 1;
_root.cnt["e_" + nb]._y = _root.cnt["e_" + nb]._y - (random(20) + 10);
_root.cnt["e_" + nb].speedy = -(random(20) + 10);
_root.cnt["e_" + nb].speedr = random(40) - 20;
_root.cnt["e_" + nb].boxx.gotoAndPlay(random(40) + 261);
if (_root.cnt["e_" + nb]._x < _parent._x) {
_root.cnt["e_" + nb].speedx = -(random(15) + 5);
_root.cnt["e_" + nb].side = "R";
} else {
_root.cnt["e_" + nb].speedx = random(15) + 5;
_root.cnt["e_" + nb].side = "L";
}
}
}
nb++;
}
var nb = 1;
while (nb < 11) {
if (_root.cnt["obh_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt["ob_" + nb].hited == 1) {
_root.cnt["ob_" + nb].hited = 2;
_root.cnt["obh_" + nb].nextFrame();
}
}
if (_root.cnt["plane_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt["plane_" + nb]._currentframe == 2) {
_root.cnt["plane_" + nb].gotoAndStop(3);
}
}
nb++;
}
i++;
}
}
Symbol 1685 MovieClip Frame 3
_yscale = _xscale;
_rotation = 0;
Symbol 1685 MovieClip Frame 5
Set(("_root.cnt.sol.cracks_" + _root.cracks_nb) + "._x", (_x / 2) + 148);
Set(("_root.cnt.sol.cracks_" + _root.cracks_nb) + "._y", (_y / 2) + 1336.5);
eval ("_root.cnt.sol.cracks_" + _root.cracks_nb).gotoAndStop(1);
eval ("_root.cnt.sol.cracks_" + _root.cracks_nb).gotoAndStop(2);
_root.cracks_nb = _root.cracks_nb + 1;
if (_root.cracks_nb == 11) {
_root.cracks_nb = 1;
}
Symbol 1685 MovieClip Frame 13
shot = shot - 1;
if (shot > 0) {
_x = ((sx + random(100)) - 50);
_y = ((sy + random(100)) - 50);
ring._xscale = 200;
ring._yscale = ring._xscale;
_rotation = (random(360) + 1);
gotoAndPlay (5);
}
Symbol 1685 MovieClip Frame 21
_root.cnt.obh_1.hited = 1;
_root.cnt.obh_2.hited = 1;
_root.cnt.obh_3.hited = 1;
_root.cnt.obh_4.hited = 1;
_root.cnt.obh_5.hited = 1;
_root.cnt.obh_6.hited = 1;
_root.cnt.obh_7.hited = 1;
_root.cnt.obh_8.hited = 1;
_root.cnt.obh_9.hited = 1;
_root.cnt.ob_1.hited = 1;
_root.cnt.ob_2.hited = 1;
_root.cnt.ob_3.hited = 1;
_root.cnt.ob_4.hited = 1;
_root.cnt.ob_5.hited = 1;
_root.cnt.ob_6.hited = 1;
_root.cnt.ob_7.hited = 1;
_root.cnt.ob_8.hited = 1;
_root.cnt.ob_9.hited = 1;
_root.cnt.ob_10.hited = 1;
_root.cnt.ob_11.hited = 1;
_root.cnt.ob_12.hited = 1;
_root.cnt.ob_13.hited = 1;
_root.cnt.ob_14.hited = 1;
_root.cnt.ob_15.hited = 1;
_root.cnt.ob_16.hited = 1;
_root.cnt.ob_17.hited = 1;
_root.cnt.ob_18.hited = 1;
_root.cnt.ob_19.hited = 1;
_root.cnt.ob_20.hited = 1;
_root.cnt.ob_21.hited = 1;
_root.cnt.ob_22.hited = 1;
_root.cnt.ob_23.hited = 1;
_root.cnt.ob_24.hited = 1;
_root.cnt.ob_25.hited = 1;
_root.cnt.ob_26.hited = 1;
_root.cnt.ob_27.hited = 1;
_root.cnt.ob_28.hited = 1;
_root.cnt.ob_29.hited = 1;
_root.cnt.ob_30.hited = 1;
_root.cnt.ob_31.hited = 1;
_root.cnt.ob_32.hited = 1;
_root.cnt.ob_33.hited = 1;
_root.cnt.ob_34.hited = 1;
_root.cnt.ob_35.hited = 1;
_root.cnt.ob_36.hited = 1;
_root.cnt.ob_37.hited = 1;
_root.cnt.ob_38.hited = 1;
_root.cnt.ob_39.hited = 1;
_root.cnt.ob_40.hited = 1;
_root.cnt.ob_41.hited = 1;
_root.cnt.ob_42.hited = 1;
_root.cnt.ob_43.hited = 1;
_root.cnt.ob_44.hited = 1;
_root.cnt.ob_45.hited = 1;
_root.cnt.ob_46.hited = 1;
_root.cnt.ob_47.hited = 1;
_root.cnt.ob_48.hited = 1;
_root.cnt.ob_49.hited = 1;
_root.cnt.ob_50.hited = 1;
_root.cnt.ob_51.hited = 1;
_root.cnt.ob_52.hited = 1;
_root.cnt.ob_53.hited = 1;
_root.cnt.ob_54.hited = 1;
_root.cnt.ob_55.hited = 1;
_root.cnt.ob_56.hited = 1;
_root.cnt.ob_57.hited = 1;
_root.cnt.ob_58.hited = 1;
_root.cnt.ob_59.hited = 1;
_root.cnt.ob_60.hited = 1;
_root.cnt.ob_61.hited = 1;
_root.cnt.ob_62.hited = 1;
_root.cnt.ob_63.hited = 1;
_root.cnt.ob_64.hited = 1;
_root.cnt.ob_65.hited = 1;
_root.cnt.ob_66.hited = 1;
_root.cnt.ob_67.hited = 1;
_root.cnt.ob_68.hited = 1;
_root.cnt.ob_69.hited = 1;
_root.cnt.ob_70.hited = 1;
_root.cnt.ob_71.hited = 1;
_root.cnt.ob_72.hited = 1;
_root.cnt.ob_73.hited = 1;
_root.cnt.ob_74.hited = 1;
_root.cnt.ob_75.hited = 1;
_root.cnt.ob_76.hited = 1;
_root.cnt.ob_77.hited = 1;
_root.cnt.ob_78.hited = 1;
_root.cnt.ob_79.hited = 1;
_root.cnt.ob_80.hited = 1;
_root.cnt.ob_81.hited = 1;
_root.cnt.ob_82.hited = 1;
_root.cnt.ob_83.hited = 1;
_root.cnt.ob_84.hited = 1;
_root.cnt.ob_85.hited = 1;
_root.cnt.ob_86.hited = 1;
_root.cnt.ob_87.hited = 1;
_root.cnt.ob_88.hited = 1;
_root.cnt.ob_89.hited = 1;
_root.cnt.ob_90.hited = 1;
_root.cnt.ob_91.hited = 1;
_root.cnt.ob_92.hited = 1;
_root.cnt.ob_93.hited = 1;
_root.cnt.ob_94.hited = 1;
_root.cnt.ob_95.hited = 1;
_root.cnt.ob_96.hited = 1;
_root.cnt.ob_97.hited = 1;
_root.cnt.ob_98.hited = 1;
_root.cnt.ob_99.hited = 1;
Instance of Symbol 690 MovieClip "ob_61" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 690 MovieClip "ob_62" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 690 MovieClip "ob_63" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 690 MovieClip "ob_64" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 690 MovieClip "ob_65" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 690 MovieClip "ob_66" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 690 MovieClip "ob_66" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 775 MovieClip "ob_17" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
linked_1 = 18;
}
Instance of Symbol 783 MovieClip "ob_13" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
linked_1 = 9;
linked_2 = 14;
}
Instance of Symbol 787 MovieClip "ob_14" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
linked_1 = 13;
linked_2 = 15;
}
Instance of Symbol 791 MovieClip "ob_15" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
linked_1 = 14;
linked_2 = 16;
}
Instance of Symbol 855 MovieClip "ob_53" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
poid = 0.3;
}
Instance of Symbol 887 MovieClip "obh_1" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
_x = 6812;
_y = -935;
}
Instance of Symbol 894 MovieClip "ob_46" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
_y = -16500;
}
Instance of Symbol 949 MovieClip "plane_1" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 949 MovieClip "plane_3" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 949 MovieClip "plane_4" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 949 MovieClip "plane_2" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 949 MovieClip "plane_5" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 949 MovieClip "plane_6" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 949 MovieClip "plane_8" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 949 MovieClip "plane_9" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
}
Instance of Symbol 949 MovieClip "plane_7" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 949 MovieClip "plane_10" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
}
Instance of Symbol 1426 MovieClip "e_1" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "worker";
}
Instance of Symbol 1426 MovieClip "e_2" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "worker";
}
Instance of Symbol 1426 MovieClip "e_3" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "worker";
}
Instance of Symbol 1426 MovieClip "e_4" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "worker";
}
Instance of Symbol 1426 MovieClip "e_5" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "worker";
}
Instance of Symbol 1426 MovieClip "e_6" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "worker";
}
Instance of Symbol 1426 MovieClip "e_7" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "worker";
}
Instance of Symbol 1426 MovieClip "e_8" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "worker";
}
Instance of Symbol 1426 MovieClip "e_9" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "worker";
}
Instance of Symbol 1426 MovieClip "e_10" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "worker";
}
Instance of Symbol 1426 MovieClip "e_11" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_12" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_13" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_14" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_15" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_16" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_17" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_18" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_19" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_20" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_21" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_22" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_23" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_24" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_25" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_26" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_27" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_28" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_29" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_30" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_31" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_32" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_33" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_34" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_35" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_36" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_37" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_38" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_39" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_40" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "civil";
}
Instance of Symbol 1426 MovieClip "e_41" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "religious";
}
Instance of Symbol 1426 MovieClip "e_42" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "religious";
}
Instance of Symbol 1426 MovieClip "e_43" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "religious";
}
Instance of Symbol 1426 MovieClip "e_44" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "religious";
}
Instance of Symbol 1426 MovieClip "e_45" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "religious";
}
Instance of Symbol 1426 MovieClip "e_46" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "religious";
}
Instance of Symbol 1426 MovieClip "e_47" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "religious";
}
Instance of Symbol 1426 MovieClip "e_48" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "religious";
}
Instance of Symbol 1426 MovieClip "e_49" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "religious";
}
Instance of Symbol 1426 MovieClip "e_51" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "scientist";
}
Instance of Symbol 1426 MovieClip "e_52" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "scientist";
}
Instance of Symbol 1426 MovieClip "e_53" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "scientist";
}
Instance of Symbol 1426 MovieClip "e_54" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "scientist";
}
Instance of Symbol 1426 MovieClip "e_55" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "scientist";
}
Instance of Symbol 1426 MovieClip "e_56" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "scientist";
}
Instance of Symbol 1426 MovieClip "e_57" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "scientist";
}
Instance of Symbol 1426 MovieClip "e_58" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "scientist";
}
Instance of Symbol 1426 MovieClip "e_59" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "scientist";
}
Instance of Symbol 1426 MovieClip "e_50" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "scientist";
}
Instance of Symbol 1426 MovieClip "e_61" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "army";
}
Instance of Symbol 1426 MovieClip "e_62" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "army";
}
Instance of Symbol 1426 MovieClip "e_63" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "army";
}
Instance of Symbol 1426 MovieClip "e_64" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "army";
}
Instance of Symbol 1426 MovieClip "e_65" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "army";
}
Instance of Symbol 1426 MovieClip "e_66" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "army";
}
Instance of Symbol 1426 MovieClip "e_67" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "army";
}
Instance of Symbol 1426 MovieClip "e_68" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "army";
}
Instance of Symbol 1426 MovieClip "e_69" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "army";
}
Instance of Symbol 1426 MovieClip "e_60" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "army";
}
Instance of Symbol 1426 MovieClip "e_71" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "ghotic";
}
Instance of Symbol 1426 MovieClip "e_72" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "ghotic";
}
Instance of Symbol 1426 MovieClip "e_73" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "ghotic";
}
Instance of Symbol 1426 MovieClip "e_74" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "ghotic";
}
Instance of Symbol 1426 MovieClip "e_70" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "ghotic";
}
Instance of Symbol 1426 MovieClip "e_76" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "farmer";
}
Instance of Symbol 1426 MovieClip "e_77" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "farmer";
}
Instance of Symbol 1426 MovieClip "e_78" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "farmer";
}
Instance of Symbol 1426 MovieClip "e_79" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "farmer";
}
Instance of Symbol 1426 MovieClip "e_75" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "farmer";
}
Instance of Symbol 1426 MovieClip "e_81" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "mine";
}
Instance of Symbol 1426 MovieClip "e_82" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "mine";
}
Instance of Symbol 1426 MovieClip "e_83" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "mine";
}
Instance of Symbol 1426 MovieClip "e_84" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "mine";
}
Instance of Symbol 1426 MovieClip "e_80" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "mine";
}
Instance of Symbol 1426 MovieClip "e_86" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "mine";
}
Instance of Symbol 1426 MovieClip "e_87" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "mine";
}
Instance of Symbol 1426 MovieClip "e_88" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "mine";
}
Instance of Symbol 1426 MovieClip "e_89" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "mine";
}
Instance of Symbol 1426 MovieClip "e_85" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "mine";
}
Instance of Symbol 1426 MovieClip "e_91" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "police";
}
Instance of Symbol 1426 MovieClip "e_92" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "police";
}
Instance of Symbol 1426 MovieClip "e_93" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "police";
}
Instance of Symbol 1426 MovieClip "e_94" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "police";
}
Instance of Symbol 1426 MovieClip "e_90" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "police";
}
Instance of Symbol 1426 MovieClip "e_96" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "police";
}
Instance of Symbol 1426 MovieClip "e_97" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "police";
}
Instance of Symbol 1426 MovieClip "e_98" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "police";
}
Instance of Symbol 1426 MovieClip "e_99" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "police";
}
Instance of Symbol 1426 MovieClip "e_95" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
typee = "police";
}
Instance of Symbol 670 MovieClip in Symbol 1688 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = eval (("_parent." + _root.what) + "._x");
_y = eval (("_parent." + _root.what) + "._y");
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if ((_root.act >= 2) && (_root.act <= 4)) {
var nb = 1;
while (nb < 100) {
if (_root.cnt["e_" + nb].hitt_panic.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if ((_root.cnt["e_" + nb].dead == 1) && (_root.cnt["e_" + nb].panic == 1)) {
_root.cnt["e_" + nb].panic = 2;
if (_root.snd.scream.boxx._currentframe == 1) {
_root.snd.scream.boxx.gotoAndPlay(2);
_root.snd.scream.gotoAndPlay((random(6) + 1) * 2);
}
}
}
nb++;
}
}
if (_root.cnt.cover_1.hitt_v.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.cover_1._visible = false;
} else {
_root.cnt.cover_1._visible = true;
}
if (_root.cnt.sol.cover.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.sol.cover.img._visible = false;
} else {
_root.cnt.sol.cover.img._visible = true;
}
i++;
}
}
Instance of Symbol 1522 MovieClip "ob_2" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 787 MovieClip "ob_7" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
linked_1 = 6;
linked_2 = 8;
}
Instance of Symbol 1534 MovieClip "ob_8" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
linked_1 = 7;
linked_2 = 9;
}
Instance of Symbol 791 MovieClip "ob_9" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
linked_1 = 11;
}
Instance of Symbol 1536 MovieClip "ob_10" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
linked_1 = 12;
}
Instance of Symbol 1558 MovieClip "ob_77" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
poid = 0.4;
}
Instance of Symbol 1576 MovieClip "ob_60" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
poid = 0.3;
}
Instance of Symbol 1629 MovieClip "cover_1" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
_x = 6812;
_y = -950;
}
Instance of Symbol 1639 MovieClip "ob_71" in Symbol 1688 MovieClip Frame 1
onClipEvent (load) {
poid = 0.7;
}
Instance of Symbol 1677 MovieClip in Symbol 1688 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (eval (("_root.cnt." + _root.what) + "._x") / 4);
_y = (-13350 - (eval (("_root.cnt." + _root.what) + "._y") / 2));
}
Symbol 1700 MovieClip Frame 1
killed = _root.killed;
stop();
onEnterFrame = function () {
if (_root.killed != killed) {
killed = _root.killed;
gotoAndPlay (2);
}
};
Symbol 1713 MovieClip Frame 48
_root.tot_time_played = _root.tot_time_played + 1;
Symbol 1720 Button
on (release) {
_root.got2go = 6;
}
Symbol 1726 MovieClip Frame 40
stop();
Symbol 1727 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.ob_done);
if ((_parent._parent.hand._currentframe == 1) && (_root.ob_done == 2)) {
_parent._parent.hand.gotoAndPlay(2);
}
};
Symbol 1729 MovieClip Frame 1
stop();
onEnterFrame = function () {
aff = eval ("_root.ob_" + _root.lvl);
};
Symbol 1731 MovieClip Frame 1
stop();
Symbol 1731 MovieClip Frame 90
_parent.boxx.hand.gotoAndStop(2);
stop();
Symbol 1732 MovieClip Frame 1
if ((_root.tuto != 2) || (_root.lvl == 41)) {
_visible = false;
}
aa = 30;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Symbol 1732 MovieClip Frame 40
stop();
Symbol 1732 MovieClip Frame 51
stop();
Symbol 1735 Button
on (release) {
if (_root.wp_10 != 0) {
if (_root.jetpack == 1) {
_root.jetpack = 2;
gotoAndStop (2);
} else {
_root.jetpack = 1;
gotoAndStop (1);
}
}
}
Symbol 1738 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (Key.isDown(82)) {
if (keyreleased_82 == 2) {
keyreleased_82 = 1;
if (_root.wp_10 != 0) {
if (_root.jetpack == 1) {
_root.jetpack = 2;
gotoAndStop (2);
} else {
_root.jetpack = 1;
gotoAndStop (1);
}
}
}
} else {
keyreleased_82 = 2;
}
if ((_root.wp_10 != 0) && (_root.jetpack_fuel_st > 0)) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 1740 Button
on (release) {
if (nb != undefined) {
_root.wp = nb;
_parent.do_a_change = 2;
_parent.gotoAndStop(1);
} else {
act = 2;
}
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (6);
}
Symbol 1741 MovieClip Frame 1
if (nb != undefined) {
if (_parent.no_wp_nb_aff == undefined) {
if ((eval ("_root.wp_ammo_" + nb) == 0) || (eval ("_root.wp_" + nb) == 0)) {
gotoAndStop (11);
} else {
stop();
}
} else if (eval ("_root.wp_" + nb) == 0) {
gotoAndStop (11);
} else {
stop();
}
} else {
stop();
}
Symbol 1741 MovieClip Frame 5
stop();
Symbol 1741 MovieClip Frame 10
gotoAndStop (1);
Symbol 1741 MovieClip Frame 11
_alpha = 25;
Symbol 1745 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
aff = eval ("_root.wp_ammo_" + _root.wp);
if (aff <= 0) {
_visible = false;
} else {
_visible = true;
}
};
Symbol 1756 MovieClip Frame 1
boxx.gotoAndStop(_root.wp);
stop();
Symbol 1756 MovieClip Frame 2
boxx.gotoAndStop(_root.wp);
Symbol 1758 Button
on (rollOver) {
gotoAndStop (1);
}
Symbol 1759 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (Key.isDown(69)) {
if (keyreleased_69 == 2) {
keyreleased_69 = 1;
trace("switch wp");
_root.wp = _root.wp - 1;
do_a_change = 2;
if (_root.wp == 0) {
_root.wp = 9;
}
}
} else {
keyreleased_69 = 2;
}
if ((eval ("_root.wp_ammo_" + _root.wp) == 0) || (eval ("_root.wp_" + _root.wp) == 0)) {
_root.wp = _root.wp - 1;
if (_root.wp == 0) {
_root.wp = 9;
}
} else if (do_a_change == 2) {
do_a_change = 1;
boxxwpname.gotoAndPlay(2);
}
};
Instance of Symbol 1741 MovieClip "wpch" in Symbol 1759 MovieClip Frame 1
onClipEvent (enterFrame) {
boxx.gotoAndStop(_root.wp);
if (act == 2) {
act = 1;
if (_root.act == 2) {
_root.act = 1;
}
if (_parent._currentframe == 1) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 1741 MovieClip "wpch" in Symbol 1759 MovieClip Frame 2
onClipEvent (load) {
nb = 1;
boxx.gotoAndStop(nb);
}
Instance of Symbol 1741 MovieClip "wpch" in Symbol 1759 MovieClip Frame 2
onClipEvent (load) {
nb = 2;
boxx.gotoAndStop(nb);
}
Instance of Symbol 1741 MovieClip "wpch" in Symbol 1759 MovieClip Frame 2
onClipEvent (load) {
nb = 3;
boxx.gotoAndStop(nb);
}
Instance of Symbol 1741 MovieClip "wpch" in Symbol 1759 MovieClip Frame 2
onClipEvent (load) {
nb = 4;
boxx.gotoAndStop(nb);
}
Instance of Symbol 1741 MovieClip "wpch" in Symbol 1759 MovieClip Frame 2
onClipEvent (load) {
nb = 5;
boxx.gotoAndStop(nb);
}
Instance of Symbol 1741 MovieClip "wpch" in Symbol 1759 MovieClip Frame 2
onClipEvent (load) {
nb = 6;
boxx.gotoAndStop(nb);
}
Instance of Symbol 1741 MovieClip "wpch" in Symbol 1759 MovieClip Frame 2
onClipEvent (load) {
nb = 7;
boxx.gotoAndStop(nb);
}
Instance of Symbol 1741 MovieClip "wpch" in Symbol 1759 MovieClip Frame 2
onClipEvent (load) {
nb = 8;
boxx.gotoAndStop(nb);
}
Instance of Symbol 1741 MovieClip "wpch" in Symbol 1759 MovieClip Frame 2
onClipEvent (load) {
nb = 9;
boxx.gotoAndStop(nb);
}
Symbol 1760 MovieClip Frame 29
gotoAndPlay (1);
Symbol 1767 Button
on (release) {
gotoAndStop (3);
}
Symbol 1769 Button
on (release) {
gotoAndStop (4);
}
Symbol 1775 Button
on (release) {
_root.tuto = 2;
_root.cnt.perso.boxx.play();
_root.got2go = 4;
gotoAndStop (1);
}
Symbol 1778 Button
on (release) {
_root.tuto_jetpack = 1;
_root.tuto = 2;
gotoAndStop (1);
}
Symbol 1779 MovieClip Frame 1
if (_root.tuto != 2) {
stop();
} else if (_root.tuto_jetpack == 2) {
gotoAndStop (5);
} else {
stop();
}
Symbol 1779 MovieClip Frame 2
_root.act = 1;
Symbol 1779 MovieClip Frame 5
_root.act = 45;
Symbol 1784 MovieClip Frame 1
stop();
Symbol 1784 MovieClip Frame 3
stop();
Symbol 1784 MovieClip Frame 5
stop();
Symbol 1784 MovieClip Frame 7
stop();
Symbol 1787 MovieClip Frame 1
stop();
Symbol 1787 MovieClip Frame 3
stop();
Symbol 1787 MovieClip Frame 5
stop();
Symbol 1794 MovieClip Frame 1
stop();
Symbol 1794 MovieClip Frame 3
stop();
Symbol 1794 MovieClip Frame 5
stop();
Symbol 1794 MovieClip Frame 7
stop();
Symbol 1794 MovieClip Frame 9
stop();
Symbol 1794 MovieClip Frame 11
stop();
Symbol 1794 MovieClip Frame 13
stop();
Symbol 1804 MovieClip Frame 1
stop();
Symbol 1804 MovieClip Frame 3
stop();
Symbol 1804 MovieClip Frame 5
stop();
Symbol 1804 MovieClip Frame 7
stop();
Symbol 1804 MovieClip Frame 9
stop();
Symbol 1804 MovieClip Frame 11
stop();
Symbol 1804 MovieClip Frame 13
stop();
Symbol 1804 MovieClip Frame 15
stop();
Symbol 1804 MovieClip Frame 17
stop();
Symbol 1804 MovieClip Frame 19
stop();
Symbol 1807 MovieClip Frame 1
stop();
Symbol 1820 MovieClip Frame 1
stop();
Symbol 1820 MovieClip Frame 3
stop();
Symbol 1820 MovieClip Frame 5
stop();
Symbol 1820 MovieClip Frame 7
stop();
Symbol 1820 MovieClip Frame 9
stop();
Symbol 1820 MovieClip Frame 11
stop();
Symbol 1820 MovieClip Frame 13
stop();
Symbol 1820 MovieClip Frame 23
stop();
Symbol 1820 MovieClip Frame 25
stop();
Symbol 1820 MovieClip Frame 27
stop();
Symbol 1820 MovieClip Frame 29
stop();
Symbol 1820 MovieClip Frame 31
stop();
Symbol 1820 MovieClip Frame 33
stop();
Symbol 1825 MovieClip Frame 1
stop();
Symbol 1825 MovieClip Frame 3
stop();
Symbol 1825 MovieClip Frame 5
stop();
Symbol 1825 MovieClip Frame 7
stop();
Symbol 1825 MovieClip Frame 9
stop();
Symbol 1833 MovieClip Frame 1
stop();
Symbol 1833 MovieClip Frame 3
stop();
Symbol 1833 MovieClip Frame 5
stop();
Symbol 1833 MovieClip Frame 7
stop();
Symbol 1833 MovieClip Frame 9
stop();
Symbol 1833 MovieClip Frame 11
stop();
Symbol 1833 MovieClip Frame 13
stop();
Symbol 1846 MovieClip Frame 1
stop();
Symbol 1846 MovieClip Frame 3
stop();
Symbol 1846 MovieClip Frame 5
stop();
Symbol 1846 MovieClip Frame 7
stop();
Symbol 1846 MovieClip Frame 9
stop();
Symbol 1846 MovieClip Frame 11
stop();
Symbol 1846 MovieClip Frame 13
stop();
Symbol 1846 MovieClip Frame 15
stop();
Symbol 1846 MovieClip Frame 17
stop();
Symbol 1846 MovieClip Frame 19
stop();
Symbol 1846 MovieClip Frame 21
stop();
Symbol 1846 MovieClip Frame 23
stop();
Symbol 1846 MovieClip Frame 25
stop();
Symbol 1846 MovieClip Frame 27
stop();
Symbol 1846 MovieClip Frame 29
stop();
Symbol 1846 MovieClip Frame 31
stop();
Symbol 1852 MovieClip Frame 1
stopAllSounds();
gotoAndPlay((random(3) + 1) * 2);
Symbol 1852 MovieClip Frame 3
stop();
Symbol 1852 MovieClip Frame 5
stop();
Symbol 1852 MovieClip Frame 7
stop();