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:"a4cf6d303f586d78", res:"800x440"});
__com_mochibot__("36885c56", this, 10301, true);
lavr = 1;
function menuChoiceOne() {
getURL ("http://www.pyrozen.com", "_blank");
}
testing = 1;
st_qual = 2;
st_volum = 100;
stop();
_root.user = SharedObject.getLocal("user_MassMayhemZombie");
onEnterFrame = function () {
};
NewMenu = new ContextMenu();
NewMenu.hideBuiltInItems();
NewMenu.customItems.push(new ContextMenuItem("Pyrozen", menuChoiceOne));
this.menu = NewMenu;
Frame 3
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (4);
}
if (Key.isDown(32)) {
gotoAndStop (20);
}
};
Frame 19
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (20);
}
};
Frame 20
cash = 0;
clothes = 1;
hat = 12;
fb_connect = 1;
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_11 = 0;
lvl_1 = 0;
lvl_2 = 0;
lvl_3 = 0;
st_kill = 0;
st_bullets = 0;
st_lastprecision = 0;
st_waves = 0;
st_totcash = 0;
st_death = 0;
st_cashspent = 0;
st_progression = 0;
ac_1 = 1;
ac_2 = 1;
ac_3 = 1;
ac_4 = 1;
ac_5 = 1;
ac_6 = 1;
ac_7 = 1;
ac_8 = 1;
ac_9 = 1;
ac_namee_1 = "Buy all the weapons";
ac_namee_2 = "Try all the costumes";
ac_namee_3 = "Drive the car";
ac_namee_4 = "Clear Countryside";
ac_namee_5 = "Clear the War Zone";
ac_namee_6 = "Clear Urban Terror";
ac_namee_7 = "Kill over 50 zombies";
ac_namee_8 = "Kill over 100 zombies";
ac_namee_9 = "Kill over 150 zombies";
_quality = "high";
stop();
onEnterFrame = function () {
mySound = new Sound();
mySound.setVolume(_root.st_volum);
mySound.start(0, 1000);
if (got2go == 2) {
got2go = 1;
gotoAndStop (20);
}
if (got2go == 3) {
got2go = 1;
gotoAndStop (40);
}
if (got2go == 4) {
got2go = 1;
gotoAndStop (51);
}
if (Key.isDown(73) && (Key.isDown(74))) {
lvl_1 = 2;
lvl_2 = 2;
lvl_3 = 2;
got2go = 3;
cash = cash + 500000;
}
};
Instance of Symbol 319 MovieClip "version_boxx" in Frame 20
onClipEvent (load) {
boxx.gotoAndStop(Math.round(_root.lavr));
boxx2.boxx.gotoAndStop(Math.round(_root.lavr));
if (_root.lavr != 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
boxx2.gotoAndStop(boxx.shade + 1);
}
Frame 21
_quality = "high";
stop();
onEnterFrame = function () {
};
Instance of Symbol 26 MovieClip in Frame 21
onClipEvent (load) {
aff = "LOAD GAME";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(22);
}
}
Instance of Symbol 26 MovieClip in Frame 21
onClipEvent (load) {
aff = "NEW GAME";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(40);
}
}
Frame 40
page = 1;
wave = 1;
doors = 1;
if ((_root.from_win == 2) || (_root.from_win == 4)) {
_root.from_win = _root.from_win + 1;
_root.page = 12;
}
st_qual_remember = 0;
if (st_qual != 3) {
st_qual_remember = st_qual;
st_qual = 3;
}
stop();
onEnterFrame = function () {
if (st_qual == 1) {
_quality = "low";
}
if (st_qual == 2) {
_quality = "medium";
}
if (st_qual == 3) {
_quality = "high";
}
mySound = new Sound();
mySound.setVolume(_root.st_volum);
mySound.start(0, 1000);
if (got2go == 2) {
got2go = 1;
if (st_qual_remember != 0) {
st_qual = st_qual_remember;
st_qual_remember = 0;
}
gotoAndPlay (50);
}
};
Frame 50
stop();
onEnterFrame = function () {
gotoAndStop (51);
};
Frame 51
if (lvl == undefined) {
lvl = 1;
}
if (dif == undefined) {
dif = 1;
}
posiperso_ini_x = cnt.perso._x;
posiperso_ini_y = cnt.perso._y;
act = 1;
wp = 2;
energy_max = 100;
cnt.perso.energy = energy_max;
if (cheat_6 == 2) {
doors = 3;
}
if (doors > 3) {
doors = 3;
}
if (wp_4 > 0) {
wp_5 = 1;
}
door_energy_max = doors * 500;
door_energy_1 = door_energy_max;
door_energy_2 = door_energy_max;
pausedd = 1;
shake = 0;
gravity = 0.25;
cnt.gotoAndStop(lvl);
cnt.hitt._alpha = 0;
bullet_nb = 1;
terre_nb = 1;
hole_nb = 1;
dropcam_timer = 0;
wp_ammo_1 = 500 * _root.wp_1;
wp_ammo_2 = 24 * _root.wp_2;
wp_ammo_3 = 3 * _root.wp_3;
wp_ammo_4 = 3 * _root.wp_4;
wp_ammo_5 = 2;
wp_ammo_6 = 4 * _root.wp_6;
wp_ammo_7 = 4 * _root.wp_7;
wp_ammo_8 = 750 * _root.wp_8;
wp_ammo_9 = wp_ammo_8;
wp_ammo_10 = 1 * _root.wp_10;
wp_ammo_11 = 500 * _root.wp_11;
cooling = 0;
shotgun_bullet_nb = 1;
c4_nb = 1;
mines_nb = 1;
grenades_nb = 1;
miring_speed = 0;
rocket_fuel = 500;
rocket_handling = 4;
rocket_speed = 14;
fumee_nb = 1;
fumee_timer = 0;
blood_nb = 1;
lance_nb = 1;
broched_nb = 1;
waste_lance_go = 1;
broched_tete_1 = 0;
broched_tete_2 = 0;
broched_tete_3 = 0;
broched_corp_1 = 0;
broched_corp_2 = 0;
broched_corp_3 = 0;
items_collected = 0;
zombies_killed = 0;
bullets_shots = 0;
bullets_hited = 0;
casque_nb = 1;
_root.from_win = 1;
_root.got2go = 1;
stop();
onEnterFrame = function () {
if (Key.isDown(32)) {
}
if (cheat_1 == 2) {
cnt.perso.energy = 100;
if (cnt.perso.anims._currentframe == 9) {
cnt.perso.gotoAndStop(1);
}
}
if (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 (ac_1 != 2) {
if (((((((_root.wp_3 > 0) && (_root.wp_4 > 0)) && (_root.wp_6 > 0)) && (_root.wp_7 > 0)) && (_root.wp_8 > 0)) && (_root.wp_9 > 0)) && (_root.wp_10 > 0)) {
ac_1 = 2;
ac_done = 1;
}
}
if (ac_2 != 2) {
if (_root.tot_costumes == undefined) {
_root.tot_costumes = 0;
}
if (eval ("_root.costume_" + _root.clothes) != 2) {
Set("_root.costume_" + _root.clothes, 2);
_root.tot_costumes = _root.tot_costumes + 1;
}
if (eval ("_root.hat_" + _root.hat) != 2) {
Set("_root.hat_" + _root.hat, 2);
_root.tot_costumes = _root.tot_costumes + 1;
}
if (_root.tot_costumes >= 18) {
ac_2 = 2;
ac_done = 2;
}
}
if (ac_3 != 2) {
if (cnt.car.incar == 2) {
ac_3 = 2;
ac_done = 3;
}
}
if (ac_4 != 2) {
if (lvl_1 > 0) {
ac_4 = 2;
ac_done = 4;
}
}
if (ac_5 != 2) {
if (lvl_1 > 0) {
ac_5 = 2;
ac_done = 5;
}
}
if (ac_6 != 2) {
if (lvl_1 > 0) {
ac_6 = 2;
ac_done = 6;
}
}
if (ac_7 != 2) {
if (st_kill >= 50) {
ac_7 = 2;
ac_done = 7;
}
}
if (ac_8 != 2) {
if (st_kill >= 100) {
ac_8 = 2;
ac_done = 8;
}
}
if (ac_9 != 2) {
if (st_kill >= 150) {
ac_9 = 2;
ac_done = 9;
}
}
if (cheat_3 == 2) {
wp_ammo_1 = 500 * _root.wp_1;
wp_ammo_2 = 24 * _root.wp_2;
wp_ammo_3 = 3 * _root.wp_3;
wp_ammo_4 = 3 * _root.wp_4;
wp_ammo_5 = 2;
wp_ammo_6 = 4 * _root.wp_6;
wp_ammo_7 = 4 * _root.wp_7;
wp_ammo_8 = 750 * _root.wp_8;
wp_ammo_9 = wp_ammo_8;
wp_ammo_10 = 1 * _root.wp_10;
}
if ((door_energy_1 <= 0) && (door_energy_2 <= 0)) {
cnt.baricade_back.gotoAndStop(2);
cnt.baricade_over._visible = false;
cnt.turret._visible = false;
cnt.turret.inturret = 1;
cnt.ladder_1._visible = false;
cnt.ladder_1._y = 1000;
}
if (Key.isDown(81)) {
if (keyreleased_81 == 2) {
keyreleased_81 = 1;
st_qual = st_qual - 1;
if (st_qual <= 0) {
st_qual = 3;
}
}
} else {
keyreleased_81 = 2;
}
if (st_qual == 1) {
_quality = "low";
}
if (st_qual == 2) {
_quality = "medium";
}
if (st_qual == 3) {
_quality = "high";
}
mySound = new Sound();
mySound.setVolume(_root.st_volum);
mySound.start(0, 1000);
if (bullets_shots > 0) {
precision = Math.round((bullets_hited * 100) / bullets_shots);
} else {
precision = 0;
}
if (pausedd == 1) {
wp_ammo_9 = wp_ammo_8;
ammo = eval ("_root.wp_ammo_" + wp);
if (cnt.turret.inturret == 2) {
if (wp != 1) {
wp_before_turret = wp;
wp = 1;
}
} else if (wp == 1) {
if ((wp_before_turret != undefined) || (wp_before_turret != 1)) {
wp = wp_before_turret;
} else {
wp = 2;
}
}
if (act == 1) {
if (Key.isDown(32)) {
if (keyreleased_32 == 2) {
keyreleased_32 = 1;
if (((cooling <= 0) && (ammo > 0)) && (cnt.car.incar == 1)) {
_root.cnt.perso.anims.boxx.arms.boxx.gotoAndStop(1);
_root.cnt.perso.anims.boxx.arms.boxx.gotoAndPlay(2);
if (wp == 1) {
}
if (wp == 2) {
_root.shake = 15;
_root.wp_ammo_2 = _root.wp_ammo_2 - 1;
Set(("_root.cnt.sb_" + _root.shotgun_bullet_nb) + "._x", _root.cnt.perso._x);
Set(("_root.cnt.sb_" + _root.shotgun_bullet_nb) + "._y", _root.cnt.perso._y - 40);
Set(("_root.cnt.sb_" + _root.shotgun_bullet_nb) + "._xscale", _root.cnt.perso._xscale);
eval ("_root.cnt.sb_" + _root.shotgun_bullet_nb).gotoAndStop(1);
eval ("_root.cnt.sb_" + _root.shotgun_bullet_nb).gotoAndStop(2);
_root.shotgun_bullet_nb = _root.shotgun_bullet_nb + 1;
if (_root.shotgun_bullet_nb > 3) {
_root.shotgun_bullet_nb = 1;
}
}
if (wp == 3) {
eval ("cnt.mine_" + mines_nb).gotoAndStop(1);
eval ("cnt.mine_" + mines_nb).gotoAndStop(2);
mines_nb = mines_nb + 1;
if (mines_nb > 10) {
mines_nb = 1;
}
Set("wp_ammo_" + wp, eval ("wp_ammo_" + wp) - 1);
}
if (wp == 4) {
eval ("cnt.c4_" + c4_nb).gotoAndStop(1);
eval ("cnt.c4_" + c4_nb).gotoAndStop(2);
c4_nb = c4_nb + 1;
if (c4_nb > 10) {
c4_nb = 1;
}
Set("wp_ammo_" + wp, eval ("wp_ammo_" + wp) - 1);
}
if (wp == 5) {
cnt.c4_1.anim_explode.gotoAndPlay(2);
}
if (wp == 6) {
_root.cnt.perso.anims.boxx.arms.boxx.gotoAndStop(1);
grenade_to_released = 2;
Set(("cnt.grenade_" + grenades_nb) + ".cantimer", 2);
Set("wp_ammo_" + wp, eval ("wp_ammo_" + wp) - 1);
}
if (wp == 8) {
wp_ammo_8 = wp_ammo_8 - 1;
cnt.flame.burn_timer = 10;
keyreleased_32 = 2;
}
if (wp == 9) {
wp_ammo_8 = wp_ammo_8 - 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 - 45);
eval ("cnt.f_" + fumee_nb).gotoAndPlay(2);
fumee_nb = fumee_nb + 1;
if (fumee_nb > 50) {
fumee_nb = 1;
}
fumee_timer = random(20) + 10;
}
keyreleased_32 = 2;
}
if (wp == 10) {
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 (cnt.perso.side == "R") {
cnt.rocket_angle._rotation = 0;
} else {
cnt.rocket_angle._rotation = -180;
}
}
if (wp == 11) {
cooling = 5;
keyreleased_32 = 2;
_root.wp_ammo_11 = _root.wp_ammo_11 - 1;
eval ("_root.cnt.b_" + _root.bullet_nb).gotoAndStop(1);
eval ("_root.cnt.b_" + _root.bullet_nb).gotoAndStop(2);
Set(("_root.cnt.b_" + _root.bullet_nb) + "._x", cnt.perso._x);
Set(("_root.cnt.b_" + _root.bullet_nb) + "._y", cnt.perso._y - 40);
Set(("_root.cnt.b_" + _root.bullet_nb) + ".boxx._xscale", cnt.perso._xscale);
Set(("_root.cnt.b_" + _root.bullet_nb) + ".boxx.boxx._rotation", 0);
_root.bullet_nb = _root.bullet_nb + 1;
if (_root.bullet_nb > 10) {
_root.bullet_nb = 1;
}
if (_root.shake < 4) {
_root.shake = 4;
}
}
}
}
} else {
keyreleased_32 = 2;
if (grenade_to_released == 2) {
grenade_to_released = 1;
if (wp == 6) {
_root.cnt.perso.anims.boxx.arms.boxx.gotoAndPlay(2);
eval ("cnt.grenade_" + grenades_nb).gotoAndStop(1);
eval ("cnt.grenade_" + grenades_nb).gotoAndStop(2);
grenades_nb = grenades_nb + 1;
if (grenades_nb > 10) {
grenades_nb = 1;
}
snd.gotoAndPlay(2);
}
}
}
if (Key.isDown(49) && (_root.wp_2 > 0)) {
wp = 2;
cnt.perso.anims.gotoAndStop(2);
cnt.perso.anims.gotoAndStop(1);
}
if (Key.isDown(50) && (_root.wp_3 > 0)) {
wp = 3;
cnt.perso.anims.gotoAndStop(2);
cnt.perso.anims.gotoAndStop(1);
}
if (Key.isDown(51) && (_root.wp_4 > 0)) {
wp = 4;
cnt.perso.anims.gotoAndStop(2);
cnt.perso.anims.gotoAndStop(1);
}
if (Key.isDown(52) && (_root.wp_5 > 0)) {
wp = 5;
cnt.perso.anims.gotoAndStop(2);
cnt.perso.anims.gotoAndStop(1);
}
if (Key.isDown(53) && (_root.wp_6 > 0)) {
wp = 6;
cnt.perso.anims.gotoAndStop(2);
cnt.perso.anims.gotoAndStop(1);
}
if (Key.isDown(54) && (_root.wp_7 > 0)) {
wp = 7;
cnt.perso.anims.gotoAndStop(2);
cnt.perso.anims.gotoAndStop(1);
}
if (Key.isDown(55) && (_root.wp_8 > 0)) {
wp = 8;
cnt.perso.anims.gotoAndStop(2);
cnt.perso.anims.gotoAndStop(1);
}
if (Key.isDown(56) && (_root.wp_9 > 0)) {
wp = 9;
cnt.perso.anims.gotoAndStop(2);
cnt.perso.anims.gotoAndStop(1);
}
if (Key.isDown(57) && (_root.wp_10 > 0)) {
wp = 10;
cnt.perso.anims.gotoAndStop(2);
cnt.perso.anims.gotoAndStop(1);
}
if (Key.isDown(48) && (_root.wp_11 > 0)) {
wp = 11;
cnt.perso.anims.gotoAndStop(2);
cnt.perso.anims.gotoAndStop(1);
}
if (cooling > 0) {
cooling = cooling - 1;
}
}
if (act == 2) {
if (Key.isDown(32)) {
if (keyreleased_32 == 2) {
keyreleased_32 = 1;
if (wp == 10) {
rocket_fuel_st = rocket_fuel;
wp_ammo_10 = wp_ammo_10 - 1;
act = 3;
}
}
} else {
keyreleased_32 = 2;
}
if (wp != 10) {
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)) {
cnt.perso.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 {
cnt.perso.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) {
if (Key.isDown(32)) {
if (keyreleased_32 == 2) {
keyreleased_32 = 1;
if (wp == 10) {
cnt.rocket_cam._x = cnt.rocket_angle._x;
cnt.rocket_cam._y = cnt.rocket_angle._y;
_root.cnt.rocket.gotoAndPlay(3);
}
}
} else {
keyreleased_32 = 2;
}
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;
if (fumee_timer > 5) {
fumee_timer = 0;
}
} 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;
}
}
cnt.rocket._x = cnt.rocket._x + powerocketx;
cnt.rocket._y = cnt.rocket._y + powerockety;
}
if (((wp == 11) && (cnt.turret.inturret == 1)) && (cnt.car.incar == 1)) {
if (Key.isDown(32)) {
keyreleased_32 = 2;
}
}
if (waste_lance_go == 2) {
waste_lance_go = 1;
trace("_root.broched_corp_1:" + _root.broched_corp_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 - 70);
eval ("_root.cnt.lance_" + _root.lance_nb).gotoAndStop(1);
eval ("_root.cnt.lance_" + _root.lance_nb).gotoAndStop(2);
Set(("_root.cnt.lance_" + _root.lance_nb) + ".boxx.b_1.corp", _root.broched_corp_1);
Set(("_root.cnt.lance_" + _root.lance_nb) + ".boxx.b_1.tete", _root.broched_tete_1);
Set(("_root.cnt.lance_" + _root.lance_nb) + ".boxx.b_2.corp", _root.broched_corp_2);
Set(("_root.cnt.lance_" + _root.lance_nb) + ".boxx.b_2.tete", _root.broched_tete_2);
Set(("_root.cnt.lance_" + _root.lance_nb) + ".boxx.b_3.corp", _root.broched_corp_3);
Set(("_root.cnt.lance_" + _root.lance_nb) + ".boxx.b_3.tete", _root.broched_tete_3);
_root.broched_nb = 1;
_root.broched_tete_1 = 0;
_root.broched_tete_2 = 0;
_root.broched_tete_3 = 0;
_root.broched_corp_1 = 0;
_root.broched_corp_2 = 0;
_root.broched_corp_3 = 0;
_root.cnt.perso.anims.gotoAndStop(2);
_root.cnt.perso.anims.gotoAndStop(1);
_root.lance_nb = _root.lance_nb + 1;
if (_root.lance_nb > 10) {
_root.lance_nb = 1;
}
}
if (act == -1) {
what = "e_" + who;
cam_adjust_x = 0;
cam_adjust_y = 100;
camera_speed = 0.05;
}
if (act == 1) {
if (cnt.perso.side == "R") {
cam_adjust_x = -180 - cam_adjustzone_x;
} else {
cam_adjust_x = 180 - cam_adjustzone_x;
}
if (cnt.turret.inturret == 1) {
if (cnt.c4_1.anim_explode._currentframe == 1) {
what = "perso";
}
} else if (cnt.turret.cam_shoot_timer > 0) {
cnt.turret.cam_shoot_timer = cnt.turret.cam_shoot_timer - 1;
what = cnt.turret.cam_bullet;
cam_adjust_x = 0;
cam_adjustzone_y = 0;
} else {
what = "perso";
}
if (cnt.perso.ladder != 0) {
cam_adjust_x = 0;
}
cam_adjust_y = 100 - cam_adjustzone_y;
if (cnt.car.incar == 1) {
camera_speed = 0.1;
} else {
camera_speed = 0.13;
}
cam_adjustzone_x = 0;
cam_adjustzone_y = 0;
if (dropcam_timer > 0) {
dropcam_timer = dropcam_timer - 1;
what = "item_" + dropcam_wich;
cam_adjust_x = 0;
cam_adjust_y = 0;
}
}
if (act == 2) {
what = "rocket_angle_pt";
cam_adjust_x = 0;
cam_adjust_y = 0;
}
if (act == 3) {
what = "rocket_cam";
cam_adjust_x = 0;
cam_adjust_y = 0;
}
if (act == 4) {
what = "rocket";
cam_adjust_x = 0;
cam_adjust_y = 0;
}
if (act == 5) {
what = "boss_cam";
cam_adjust_x = 0;
cam_adjust_y = 0;
}
if ((cnt._x - 10) > ((400 - eval (("cnt." + what) + "._x")) + cam_adjust_x)) {
cnt._x = cnt._x - (((cnt._x - 10) - ((400 - eval (("cnt." + what) + "._x")) + cam_adjust_x)) * camera_speed);
}
if ((cnt._x + 10) < ((400 - eval (("cnt." + what) + "._x")) + cam_adjust_x)) {
cnt._x = cnt._x + ((((400 - eval (("cnt." + what) + "._x")) + cam_adjust_x) - (cnt._x + 10)) * camera_speed);
}
if ((cnt._y - 10) > ((220 - eval (("cnt." + what) + "._y")) + cam_adjust_y)) {
cnt._y = cnt._y - (((cnt._y - 10) - ((220 - eval (("cnt." + what) + "._y")) + cam_adjust_y)) * camera_speed);
}
if ((cnt._y + 10) < ((220 - eval (("cnt." + what) + "._y")) + cam_adjust_y)) {
cnt._y = cnt._y + ((((220 - eval (("cnt." + what) + "._y")) + cam_adjust_y) - (cnt._y + 10)) * camera_speed);
}
if (cnt._x < -1697) {
cnt._x = -1697;
}
if (cnt._x > 2473) {
cnt._x = 2473;
}
if (cnt._y > 1200) {
cnt._y = 1200;
}
fond._x = (((cnt._x + 1697) * 100) / 4170) - 100;
if (shake > 0) {
shake = shake - 1;
cnt._x = cnt._x + (random(shake * 2) - shake);
cnt._y = cnt._y + (random(shake * 2) - shake);
}
}
if (_root.got2go != 1) {
if (_root.st_qual_remember != 0) {
_root.st_qual = _root.st_qual_remember;
_root.st_qual_remember = 0;
}
}
if (_root.got2go == 2) {
_root.got2go = 1;
_root.from_win = 2;
gotoAndPlay (40);
}
if (_root.got2go == 3) {
_root.got2go = 1;
_root.from_win = 4;
if (_root.dif == 1) {
_root.interr.gotoAndStop(2);
} else {
gotoAndPlay (40);
}
}
if (_root.got2go == 5) {
_root.got2go = 1;
gotoAndPlay (40);
}
if (_root.got2go == 6) {
_root.got2go = 1;
gotoAndPlay (50);
}
};
Instance of Symbol 319 MovieClip "version_boxx" in Frame 51
onClipEvent (load) {
boxx.gotoAndStop(Math.round(_root.lavr));
boxx2.boxx.gotoAndStop(Math.round(_root.lavr));
if (_root.lavr != 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
boxx2.gotoAndStop(boxx.shade + 1);
}
Frame 52
Symbol 7 MovieClip Frame 50
if (loaded != 2) {
loaded = 2;
aa = 0;
tot = 0;
}
aa = aa + 1;
tot = tot + _parent.fps2;
fps_average = Math.round(tot / aa);
_root.fps_average = fps_average;
if (fps_average < 40) {
if (_root.qualitypromt == undefined) {
_root.qualitypromt = 2;
_root.pausedd = 2;
_root.interr.pausedd.gotoAndStop(4);
}
}
Symbol 8 MovieClip [fps] Frame 1
if (_root.testing == 2) {
_y = (_y + 70);
}
fps = 50;
var timeinit = new Date();
var lasttime = timeinit.getMilliseconds();
stop();
onEnterFrame = function () {
var _local1 = new Date();
timepassed = (((_local1.getMilliseconds() - lasttime) >= 0) ? (_local1.getMilliseconds() - lasttime) : (1000 + (_local1.getMilliseconds() - lasttime)));
fps = Math.round(10000 / timepassed) / 10;
fps2 = fps;
lasttime = _local1.getMilliseconds();
};
Symbol 13 MovieClip Frame 1
_root.stop();
_root.PercentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
_root.loadperct2 = _root.PercentLoaded + " %";
if (_root.PercentLoaded != 100) {
setProperty(bar, _xscale , _root.PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 13 MovieClip Frame 2
gotoAndPlay (1);
Symbol 13 MovieClip Frame 3
_root.play();
Symbol 2124 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 2125 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 2126 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 2127 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 2128 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 2129 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 25 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 26 MovieClip Frame 1
stop();
Symbol 27 MovieClip Frame 150
stop();
Instance of Symbol 26 MovieClip in Symbol 27 MovieClip Frame 150
onClipEvent (load) {
aff = "PLAY";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.play();
}
}
Symbol 46 MovieClip Frame 67
stop();
Symbol 47 Button
on (release) {
getURL ("http://www.pyrozen.com/", "_blank");
}
on (keyPress "<Space>") {
_parent.play();
}
Symbol 52 MovieClip Frame 9
aa = random(2) + 1;
if (aa == 2) {
gotoAndPlay (1);
}
Symbol 52 MovieClip Frame 30
aa = random(2) + 1;
if (aa == 2) {
gotoAndPlay (11);
}
Instance of Symbol 52 MovieClip in Symbol 53 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 66 MovieClip Frame 12
stop();
Symbol 67 MovieClip Frame 1
stopAllSounds();
Symbol 67 MovieClip Frame 236
_parent.play();
Symbol 80 MovieClip Frame 1
stop();
onEnterFrame = function () {
speeda = random(10) - 5;
_alpha = (_alpha + speeda);
if (_alpha < 0) {
_alpha = 0;
}
if (_alpha > 40) {
_alpha = 40;
}
};
Symbol 84 MovieClip Frame 1
onEnterFrame = function () {
if (_parent._parent._currentframe == 20) {
_parent.boxx._x = boxx._x;
_parent.boxx._y = boxx.boxx._y;
} else {
sx = 50;
sy = -100;
speed = 0.2;
speedx = (sx - boxx.boxx._x) * speed;
speedy = (sy - boxx.boxx._y) * speed;
if ((boxx.boxx._x < (sx - 0.5)) || (boxx.boxx._x > (sx + 0.5))) {
boxx.boxx._x = boxx.boxx._x + speedx;
}
if ((boxx.boxx._y < (sy - 0.5)) || (boxx.boxx._y > (sy + 0.5))) {
boxx.boxx._y = boxx.boxx._y + speedy;
}
}
};
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(600) + 1);
boxx.gotoAndPlay(random(440) + 1);
}
Symbol 95 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 15
stop();
Symbol 98 MovieClip Frame 1
_xscale = (random(70) + 30);
aa = random(4) + 1;
if (aa == 1) {
_rotation = ((45 + random(90)) - 45);
speedx = random(20);
speedy = -random(20);
}
if (aa == 2) {
_rotation = (((45 + random(90)) - 45) * -1);
speedx = -random(20);
speedy = -random(20);
}
if (aa == 3) {
_rotation = (((45 + random(90)) - 45) + 180);
speedx = -random(20);
speedy = random(20);
}
if (aa == 4) {
_rotation = (((45 + random(90)) - 45) + 90);
speedx = random(20);
speedy = random(20);
}
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
speedx = speedx * 0.95;
if (speedy < -0.5) {
speedy = speedy * 0.82;
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * 1.18;
}
};
Symbol 103 MovieClip Frame 1
_root.menuu.shake = 10;
gotoAndPlay((random(3) + 1) * 2);
Symbol 103 MovieClip Frame 3
stop();
Symbol 103 MovieClip Frame 5
stop();
Symbol 103 MovieClip Frame 7
stop();
Symbol 106 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 1
_root.version_boxx._visible = false;
_root.fb_boxx._visible = false;
gotoAndPlay (2);
Symbol 107 MovieClip Frame 391
_root.version_boxx._visible = true;
_root.fb_boxx._visible = true;
Symbol 107 MovieClip Frame 468
_parent.gotoAndStop(2);
stop();
Symbol 111 Button
on (release) {
act = 2;
}
on (rollOver) {
_parent.shake = 10;
gotoAndPlay (2);
_parent.anim.draw_intro.gotoAndStop(2);
}
on (rollOut) {
gotoAndPlay (11);
_parent.anim.draw_intro.gotoAndStop(1);
}
Symbol 116 MovieClip Frame 20
stop();
Symbol 117 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 10
stop();
Symbol 118 MovieClip Frame 1
shake = 0;
sx = _x;
sy = _y;
bt._visible = false;
stop();
onEnterFrame = function () {
if (shake > 0) {
_x = ((sx + random(shake * 2)) - shake);
_y = ((sy + random(shake * 2)) - shake);
shake = shake - 1;
} else {
_x = sx;
_y = sy;
}
};
Instance of Symbol 117 MovieClip "bt" in Symbol 118 MovieClip Frame 2
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_root.user.data.cash == undefined) {
_parent._parent.gotoAndStop(40);
} else {
_parent._parent.gotoAndStop(21);
}
}
}
Symbol 121 MovieClip Frame 1
stopAllSounds();
Symbol 121 MovieClip Frame 3
stop();
Symbol 229 MovieClip Frame 1
function actionf() {
navigateToURL(new URLRequest(("http://www.4v4.com/?utm_medium=brandedgames_external&utm_campaign=gf_game&utm_source=" + domainname) + "&utm_content=ingame"));
}
stop();
var doMain = this.stage.loaderInfo.url;
var doMainArray = doMain.split("/");
var domainname = doMainArray[2];
action.addEventListener(MouseEvent.CLICK, function () {
actionf();
});
action.buttonMode = true;
Symbol 316 MovieClip Frame 1
lavr_link = "http://www.gamesfree.ca/";
shade = 0;
Symbol 316 MovieClip Frame 2
lavr_link = "http://www.andkon.com";
shade = 2;
Symbol 316 MovieClip Frame 3
lavr_link = "http://www.SolidGames.com";
shade = 0;
Symbol 316 MovieClip Frame 4
lavr_link = "http://www.abroy.com/";
shade = 1;
Symbol 316 MovieClip Frame 5
lavr_link = "http://www.yepi.com";
shade = 0;
Symbol 316 MovieClip Frame 6
lavr_link = "http://www.bubblebox.com";
shade = 1;
Symbol 316 MovieClip Frame 7
lavr_link = "http://www.bunnygames.com";
shade = 1;
Symbol 316 MovieClip Frame 8
lavr_link = "http://www.dailyfreegames.com";
shade = 1;
Symbol 316 MovieClip Frame 9
lavr_link = "http://www.trochoivui.com";
shade = 0;
Symbol 316 MovieClip Frame 10
lavr_link = "http://www.2flashgames.com";
shade = 2;
Symbol 316 MovieClip Frame 11
lavr_link = "http://www.flashninjaclan.com";
shade = 1;
Symbol 316 MovieClip Frame 12
lavr_link = "http://www.dailyaddictinggames.com/";
shade = 1;
Symbol 316 MovieClip Frame 13
lavr_link = "http://www.funny-games.biz";
shade = 1;
Symbol 316 MovieClip Frame 14
lavr_link = "http://www.gameitnow.com";
shade = 2;
Symbol 316 MovieClip Frame 15
lavr_link = "http://www.games1.com";
shade = 0;
Symbol 316 MovieClip Frame 16
lavr_link = "http://www.onjogos.com.br";
shade = 1;
Symbol 316 MovieClip Frame 17
lavr_link = "http://www.gamesfreak.net";
shade = 2;
Symbol 316 MovieClip Frame 18
lavr_link = "http://www.maxi-juegos.com";
shade = 1;
Symbol 316 MovieClip Frame 19
lavr_link = "http://www.jarkey.net";
shade = 2;
Symbol 316 MovieClip Frame 20
lavr_link = "http://www.gam123bee.com/";
shade = 1;
Symbol 316 MovieClip Frame 21
lavr_link = "http://www.keepbusy.net";
shade = 1;
Symbol 316 MovieClip Frame 22
lavr_link = "http://www.microjogos.com";
shade = 1;
Symbol 316 MovieClip Frame 23
lavr_link = "http://www.minijuegos.com";
shade = 2;
Symbol 316 MovieClip Frame 24
lavr_link = "http://www.oyunskor.com/";
shade = 1;
Symbol 316 MovieClip Frame 25
lavr_link = "http://www.mostfungames.com";
shade = 2;
Symbol 316 MovieClip Frame 26
lavr_link = "http://www.gameshot.org";
shade = 1;
Symbol 316 MovieClip Frame 27
lavr_link = "http://www.online-games-zone.com/";
shade = 2;
Symbol 316 MovieClip Frame 28
lavr_link = "http://www.puffgames.com";
shade = 2;
Symbol 316 MovieClip Frame 29
lavr_link = "http://www.spele.nl";
shade = 1;
Symbol 316 MovieClip Frame 30
lavr_link = "http://www.abab.com";
shade = 0;
Symbol 316 MovieClip Frame 31
lavr_link = "http://www.thegamesonline.com/";
shade = 1;
Symbol 316 MovieClip Frame 32
lavr_link = "http://www.ultimatearcade.com";
shade = 1;
Symbol 316 MovieClip Frame 33
lavr_link = "http://www.girlgames4u.com/";
shade = 1;
Symbol 316 MovieClip Frame 34
lavr_link = "http://www.beer-games.net";
shade = 0;
Symbol 316 MovieClip Frame 35
lavr_link = "http://www.beer-games.net";
shade = 0;
Symbol 316 MovieClip Frame 36
lavr_link = "http://www.jeuxvideo-flash.com/";
shade = 0;
Symbol 316 MovieClip Frame 37
lavr_link = "http://www.flashgames.it/";
shade = 1;
Symbol 316 MovieClip Frame 38
lavr_link = "http://www.4v4.com/";
shade = 0;
Symbol 316 MovieClip Frame 39
lavr_link = "http://www.hallpass.com/";
shade = 2;
Symbol 316 MovieClip Frame 40
lavr_link = "http://www.gamegecko.com/";
shade = 0;
Symbol 316 MovieClip Frame 41
lavr_link = "http://www.benz.be";
shade = 2;
Symbol 316 MovieClip Frame 42
lavr_link = "http://www.net-games.co.il/";
shade = 1;
Symbol 316 MovieClip Frame 43
lavr_link = "http://www.bgames.com";
shade = 0;
Symbol 316 MovieClip Frame 44
lavr_link = "http://www.pinkyarcade.com/";
shade = 1;
Symbol 316 MovieClip Frame 45
lavr_link = "http://jayisgames.com/";
shade = 0;
Symbol 316 MovieClip Frame 46
lavr_link = "http://www.twizl.com/";
shade = 1;
Symbol 316 MovieClip Frame 47
lavr_link = "http://www.a10.com/";
shade = 1;
Symbol 316 MovieClip Frame 48
lavr_link = "http://www.bonniegames.com/";
shade = 1;
Symbol 316 MovieClip Frame 49
lavr_link = "http://www.ug2.com/";
shade = 0;
Symbol 316 MovieClip Frame 50
lavr_link = "http://www.agame.com";
shade = 1;
Symbol 316 MovieClip Frame 51
lavr_link = "http://www.gamesclub.com/";
shade = 1;
Symbol 316 MovieClip Frame 52
lavr_link = "http://www.killhours.com/";
shade = 1;
Symbol 316 MovieClip Frame 53
lavr_link = "http://www.flasharcadegamessite.com/";
shade = 1;
Symbol 316 MovieClip Frame 54
lavr_link = "http://www.roundgames.com/";
shade = 2;
Symbol 316 MovieClip Frame 55
lavr_link = "http://www.arcadegangsta.com/";
shade = 1;
Symbol 316 MovieClip Frame 56
lavr_link = "http://www.bored.com/";
shade = 0;
Symbol 316 MovieClip Frame 57
lavr_link = "http://www.flash-games.net/";
shade = 1;
Symbol 316 MovieClip Frame 58
lavr_link = "http://www.flash-game.net/";
shade = 1;
Symbol 316 MovieClip Frame 59
lavr_link = "http://www.kingofgames.net";
shade = 1;
Symbol 316 MovieClip Frame 60
lavr_link = "http://www.playhub.com/";
shade = 0;
Symbol 316 MovieClip Frame 61
lavr_link = "http://www.123spill.no/";
shade = 1;
Symbol 316 MovieClip Frame 62
lavr_link = "http://www.dailygames.com/";
shade = 1;
Symbol 316 MovieClip Frame 63
lavr_link = "http://www.octogames.com/";
shade = 2;
Symbol 316 MovieClip Frame 64
lavr_link = "http://www.ugotgames.com/";
shade = 1;
Symbol 316 MovieClip Frame 65
lavr_link = "http://www.fupa.com/";
shade = 1;
Symbol 316 MovieClip Frame 66
lavr_link = "http://www.kibagames.com/";
shade = 0;
Symbol 316 MovieClip Frame 67
lavr_link = "http://www.kraloyun.com/";
shade = 0;
Symbol 316 MovieClip Frame 68
lavr_link = "http://www.spielaffe.de/";
shade = 0;
Symbol 316 MovieClip Frame 69
lavr_link = "http://www.39games.com";
shade = 2;
Symbol 316 MovieClip Frame 70
lavr_link = "http://www.bijuegos.com";
shade = 0;
Symbol 316 MovieClip Frame 71
lavr_link = "http://www.mofunzone.com";
shade = 2;
Symbol 316 MovieClip Frame 72
lavr_link = "http://www.freegamespy.com/";
shade = 2;
Symbol 316 MovieClip Frame 73
lavr_link = "http://www.jogos10.com";
shade = 0;
Symbol 316 MovieClip Frame 74
lavr_link = "http://www.juegos10.com";
shade = 0;
Symbol 316 MovieClip Frame 75
lavr_link = "http://flash.178.com/";
shade = 0;
Symbol 316 MovieClip Frame 76
lavr_link = "http://www.papajogos.com.br";
shade = 0;
Symbol 316 MovieClip Frame 77
lavr_link = "http://www.arcadelots.com/";
shade = 0;
Symbol 316 MovieClip Frame 78
lavr_link = "http://www.minigamers.com/";
shade = 0;
Symbol 316 MovieClip Frame 79
lavr_link = "http://www.stickpage.com";
shade = 0;
Symbol 316 MovieClip Frame 80
lavr_link = "http://www.y8.com/";
shade = 1;
Symbol 316 MovieClip Frame 81
lavr_link = "http://www.y3.com/";
shade = 1;
Symbol 316 MovieClip Frame 82
lavr_link = "http://www.gangofgamers.com/";
shade = 0;
Symbol 316 MovieClip Frame 83
lavr_link = "http://www.videobash.com/";
shade = 0;
Symbol 317 MovieClip Frame 1
stop();
Symbol 318 Button
on (release) {
getURL (boxx.lavr_link, "_blank");
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (21);
}
Symbol 319 MovieClip Frame 1
stop();
Symbol 319 MovieClip Frame 20
stop();
Symbol 323 Button
on (release) {
getURL ("https://www.facebook.com/gamesfree.ca/", "_blank");
}
Symbol 361 MovieClip Frame 3
_root.cash = _root.user.data.cash;
_root.lvl_1 = _root.user.data.lvl_1;
_root.lvl_2 = _root.user.data.lvl_2;
_root.lvl_3 = _root.user.data.lvl_3;
_root.clothes = _root.user.data.clothes;
_root.hat = _root.user.data.hat;
_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.ac_1 = _root.user.data.ac_1;
_root.ac_2 = _root.user.data.ac_2;
_root.ac_3 = _root.user.data.ac_3;
_root.ac_4 = _root.user.data.ac_4;
_root.ac_5 = _root.user.data.ac_5;
_root.ac_6 = _root.user.data.ac_6;
_root.ac_7 = _root.user.data.ac_7;
_root.ac_8 = _root.user.data.ac_8;
_root.st_kill = _root.user.data.st_kill;
_root.st_bullets = _root.user.data.st_bullets;
_root.st_lastprecision = _root.user.data.st_lastprecision;
_root.st_waves = _root.user.data.st_waves;
_root.st_totcash = _root.user.data.st_totcash;
_root.st_death = _root.user.data.st_death;
_root.st_cashspent = _root.user.data.st_cashspent;
_root.st_progression = _root.user.data.st_progression;
Symbol 361 MovieClip Frame 100
_parent.gotoAndStop(40);
Symbol 369 MovieClip Frame 1
gotoAndStop(_root.clothes);
Symbol 374 MovieClip Frame 1
gotoAndStop(_root.clothes);
Symbol 379 MovieClip Frame 1
gotoAndStop(_root.clothes);
Symbol 385 MovieClip Frame 1
gotoAndStop(_root.clothes);
Symbol 391 MovieClip Frame 1
gotoAndStop(_root.clothes);
Symbol 395 MovieClip Frame 1
stop();
Symbol 398 MovieClip Frame 1
stop();
Symbol 399 MovieClip Frame 1
gotoAndStop(_root.clothes);
Symbol 409 MovieClip Frame 1
stop();
Symbol 416 MovieClip Frame 1
gotoAndStop(_root.clothes);
Symbol 419 MovieClip Frame 1
stop();
Symbol 428 MovieClip Frame 1
stop();
Symbol 431 MovieClip Frame 1
stop();
Symbol 435 MovieClip Frame 1
stop();
Symbol 438 MovieClip Frame 1
stop();
Symbol 441 MovieClip Frame 1
stop();
Symbol 444 MovieClip Frame 1
stop();
Symbol 447 MovieClip Frame 1
stop();
Symbol 450 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 1
stop();
Symbol 456 MovieClip Frame 1
stop();
Symbol 459 MovieClip Frame 1
stop();
Symbol 462 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 1
stop();
Symbol 466 MovieClip Frame 1
gotoAndStop(_root.hat);
Symbol 472 MovieClip Frame 1
gotoAndStop(_root.clothes);
Symbol 479 MovieClip Frame 1
gotoAndStop(_root.clothes);
Symbol 484 MovieClip Frame 1
gotoAndStop(_root.clothes);
Symbol 489 MovieClip Frame 1
gotoAndStop(_root.clothes);
Symbol 492 MovieClip Frame 1
stop();
Symbol 494 MovieClip Frame 1
sx = _x;
sy = _y;
_x = (_x + 0);
_y = (_y + 500);
speed = 0.1;
onEnterFrame = function () {
speedx = (sx - _x) * speed;
speedy = (sy - _y) * speed;
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + speedx);
}
if ((_y < (sy - 0.5)) || (_y > (sy + 0.5))) {
_y = (_y + speedy);
}
};
Symbol 541 MovieClip Frame 1
gotoAndStop(_parent.iconn);
Symbol 542 Button
on (release) {
act = 2;
_root.mover = 0;
}
on (rollOver) {
act = 3;
_root.mover = aff;
gotoAndPlay (2);
}
on (rollOut, releaseOutside) {
_root.mover = 0;
gotoAndPlay (11);
}
Symbol 546 MovieClip Frame 1
stop();
Symbol 546 MovieClip Frame 10
stop();
Symbol 546 MovieClip Frame 20
gotoAndStop (1);
Symbol 546 MovieClip Frame 22
stop();
onEnterFrame = function () {
if ((((_xmouse > -50) && (_xmouse < 50)) && (_ymouse > -50)) && (_ymouse < 50)) {
act = 5;
}
if (act == 5) {
if (_xmouse < -50) {
act = 6;
}
}
};
Symbol 572 MovieClip Frame 1
if (_root.from_win <= 3) {
stop();
} else {
gotoAndStop (2);
}
Symbol 573 MovieClip Frame 1
if (_parent.submenu_ingame == 2) {
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 546 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
aff = "START SURVIVAL";
iconn = 1;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 2;
}
}
Symbol 573 MovieClip Frame 2
boxxafflvl.aff = "WAVE " + _root.wave;
Instance of Symbol 26 MovieClip in Symbol 573 MovieClip Frame 2
onClipEvent (load) {
aff = "WALKTHROUGH";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/game/7635/walkthrough/mass-mayhem-zombie-apocalypse.html", "_blank");
}
}
Instance of Symbol 26 MovieClip in Symbol 573 MovieClip Frame 2
onClipEvent (load) {
aff = "CAREER MENU";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.pausedd = 2;
_root.interr.pausedd.gotoAndStop(5);
}
}
Instance of Symbol 546 MovieClip in Symbol 573 MovieClip Frame 2
onClipEvent (load) {
aff = "CONTINUE";
iconn = 1;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_root.from_win <= 3) {
_root.wave = _root.wave + 1;
if ((_root.wave == 3) || (_root.wave == 5)) {
_root.doors = _root.doors + 1;
_root.page = 9;
} else {
_root.got2go = 6;
}
} else {
_root.got2go = 6;
}
}
}
Symbol 579 MovieClip Frame 1
_visible = false;
boxx.gotoAndStop(nb);
stop();
onEnterFrame = function () {
if (eval ("_root.wp_" + nb) > 0) {
if (eval ("_root.neverhavethiswp_" + nb) == undefined) {
Set("_root.neverhavethiswp_" + nb, 2);
gotoAndPlay (2);
}
_visible = true;
} else {
_visible = false;
}
};
Symbol 579 MovieClip Frame 2
play();
Symbol 587 MovieClip Frame 1
speed = 0.2;
_root.mover = 0;
mover = 0;
stop();
onEnterFrame = function () {
if (mover != _root.mover) {
mover = _root.mover;
if (mover != 0) {
gotoAndPlay (2);
}
}
sx = _parent._xmouse;
sy = _parent._ymouse;
speedx = (sx - _x) * speed;
speedy = (sy - _y) * speed;
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + speedx);
}
if ((_y < (sy - 0.5)) || (_y > (sy + 0.5))) {
_y = (_y + speedy);
}
if (_root.mover == 0) {
_visible = false;
} else {
_visible = true;
}
};
Symbol 587 MovieClip Frame 2
play();
Symbol 587 MovieClip Frame 20
stop();
Symbol 597 MovieClip Frame 1
gotoAndStop(_parent.nb + 1);
Symbol 600 MovieClip Frame 1
gotoAndStop(_parent.nb + 1);
Symbol 606 MovieClip Frame 1
gotoAndStop (2);
Symbol 606 MovieClip Frame 2
stop();
onEnterFrame = function () {
boxx._x = -random(160);
boxx._y = -random(140);
};
Symbol 608 MovieClip Frame 1
if ((_parent.nb == 1) || (eval ("_root.lvl_" + (_parent.nb - 1)) > 0)) {
gotoAndStop (2);
} else {
stop();
}
Symbol 614 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
if (eval ("_root.lvl_" + _parent.nb) == 0) {
_visible = false;
gotoAndStop (1);
}
if (eval ("_root.lvl_" + _parent.nb) == 1) {
_visible = true;
gotoAndStop (1);
}
if (eval ("_root.lvl_" + _parent.nb) == 2) {
_visible = true;
gotoAndStop (2);
}
};
Instance of Symbol 613 MovieClip in Symbol 614 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 613 MovieClip in Symbol 614 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop (2);
}
Symbol 615 Button
on (release) {
if ((nb == 1) || (eval ("_root.lvl_" + (nb - 1)) > 0)) {
_root.lvl = nb;
if (eval ("_root.lvl_" + nb) == 0) {
_root.got2go = 2;
} else {
_parent.gotoAndStop(2);
}
}
}
on (rollOver) {
if ((nb == 1) || (eval ("_root.lvl_" + (nb - 1)) > 0)) {
gotoAndStop (2);
}
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 616 MovieClip Frame 1
stop();
Symbol 620 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 621 MovieClip Frame 1
stop();
Symbol 624 MovieClip Frame 1
if (_root.lvl == 3) {
_visible = false;
}
Symbol 625 MovieClip Frame 1
stop();
_root.dif = 1;
Instance of Symbol 616 MovieClip in Symbol 625 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
aff = "COUNTRYSIDE";
}
Instance of Symbol 616 MovieClip in Symbol 625 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
aff = "WAR ZONE";
}
Instance of Symbol 616 MovieClip in Symbol 625 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
aff = "URBAN TERROR";
}
Instance of Symbol 621 MovieClip in Symbol 625 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 1;
}
}
Instance of Symbol 26 MovieClip in Symbol 625 MovieClip Frame 2
onClipEvent (load) {
aff = "NORMAL";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.dif = 1;
_root.got2go = 2;
}
}
Instance of Symbol 26 MovieClip in Symbol 625 MovieClip Frame 2
onClipEvent (load) {
aff = "HARD";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.dif = 2;
_root.got2go = 2;
}
}
Symbol 634 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(eval ("_root.wp_" + _parent.wp) + 1);
};
Instance of Symbol 630 MovieClip in Symbol 634 MovieClip Frame 2
onClipEvent (load) {
if (_parent.up_menu != 2) {
_visible = false;
}
}
Symbol 652 MovieClip Frame 1
stop();
Symbol 664 MovieClip Frame 1
stop();
Instance of Symbol 661 MovieClip in Symbol 672 MovieClip Frame 8
onClipEvent (load) {
if (_parent.gaztank != 2) {
_visible = false;
} else {
_parent.boxx._visible = false;
}
}
Instance of Symbol 686 MovieClip in Symbol 687 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (25);
}
Instance of Symbol 686 MovieClip in Symbol 687 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (30);
}
Instance of Symbol 686 MovieClip in Symbol 687 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (35);
}
Instance of Symbol 686 MovieClip in Symbol 687 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (40);
}
Instance of Symbol 686 MovieClip in Symbol 687 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (5);
}
Instance of Symbol 686 MovieClip in Symbol 687 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (10);
}
Instance of Symbol 686 MovieClip in Symbol 687 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (15);
}
Instance of Symbol 686 MovieClip in Symbol 687 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (20);
}
Symbol 687 MovieClip Frame 50
if ((_parent.pic._currentframe == 2) || (_parent.vid._currentframe == 2)) {
_visible = false;
stop();
}
Symbol 688 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_parent.submenu_ingame == 2) {
_x = (_x - 200);
}
}
stop();
Symbol 688 MovieClip Frame 2
stop();
Instance of Symbol 26 MovieClip in Symbol 688 MovieClip Frame 2
onClipEvent (load) {
aff = "LIKE";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("https://apps.facebook.com/354429501310574/", "_blank");
_parent.gotoAndPlay(3);
}
}
Symbol 688 MovieClip Frame 3
play();
Symbol 688 MovieClip Frame 150
loadVariablesNum ("http://www.siftheads.net/fb3/canvas/checkLike.php", 0, "GET");
Symbol 688 MovieClip Frame 250
user_like = Number(_root.like) + 1;
if (user_like == 2) {
_root.fb_connect = 2;
_parent.refreshpage = 2;
gotoAndStop (1);
} else {
gotoAndPlay (3);
}
Symbol 690 MovieClip Frame 1
gotoAndStop (2);
Symbol 690 MovieClip Frame 100
stop();
Symbol 697 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 698 MovieClip Frame 1
stop();
Symbol 713 MovieClip Frame 1
stop();
Instance of Symbol 621 MovieClip in Symbol 713 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 3;
}
}
Instance of Symbol 698 MovieClip in Symbol 713 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_root.cash >= _parent._parent.cost) {
_root.cash = _root.cash - _parent._parent.cost;
_root.st_cashspent = _root.st_cashspent + _parent._parent.cost;
Set("_root.wp_" + _parent._parent.wp, eval ("_root.wp_" + _parent._parent.wp) + 1);
_parent._parent.boxx.sx = _parent._parent.boxx.sx + 400;
_parent._parent.boxx.sy = _parent._parent.boxx.sy + 100;
_parent._parent.boxx.sr = _parent._parent.boxx.sr + 90;
_parent._parent.upboxx2._visible = false;
_parent.gotoAndPlay(2);
} else {
_parent._parent.nocashmsg.gotoAndPlay(3);
}
}
}
Symbol 713 MovieClip Frame 25
_root.page = 3;
stop();
Symbol 721 MovieClip Frame 1
gotoAndStop(eval ("_root.ac_" + _parent.nb));
Symbol 725 MovieClip Frame 1
aff_1 = "# " + nb;
aff_2 = eval ("_root.ac_namee_" + nb);
gotoAndStop(eval ("_root.ac_" + nb));
Instance of Symbol 725 MovieClip in Symbol 726 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 725 MovieClip in Symbol 726 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 725 MovieClip in Symbol 726 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 725 MovieClip in Symbol 726 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 725 MovieClip in Symbol 726 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 725 MovieClip in Symbol 726 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 725 MovieClip in Symbol 726 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 725 MovieClip in Symbol 726 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 725 MovieClip in Symbol 726 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
}
Symbol 733 Button
on (press) {
_parent.canscroll = 2;
}
on (release, releaseOutside) {
_parent.canscroll = 1;
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 734 MovieClip Frame 1
stop();
Symbol 735 MovieClip Frame 1
canscroll = 1;
boxx._y = 0;
speed = 0.3;
stop();
onEnterFrame = function () {
if (canscroll == 2) {
boxx._y = _ymouse - 21;
}
if (boxx._y < 0) {
boxx._y = 0;
}
if (boxx._y > 142) {
boxx._y = 142;
}
sy = -((boxx._y * 250) / 142);
speedy = (sy - _parent.boxx._y) * speed;
if ((_parent.boxx._y < (sy - 0.5)) || (_parent.boxx._y > (sy + 0.5))) {
_parent.boxx._y = _parent.boxx._y + speedy;
}
};
Symbol 740 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 741 MovieClip Frame 1
stop();
Symbol 742 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 747 Button
on (release) {
_root.st_volum = Math.round(_xmouse);
}
Symbol 749 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(Math.round((_root.st_volum * 23) / 100) + 1);
if (_root.st_volum < 0) {
_root.st_volum = 0;
}
if (_root.st_volum > 100) {
_root.st_volum = 100;
}
};
Symbol 751 MovieClip Frame 1
stop();
onEnterFrame = function () {
affvolum = _root.st_volum + "%";
};
Instance of Symbol 741 MovieClip in Symbol 751 MovieClip Frame 1
onClipEvent (load) {
aff = "LOW";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.st_qual = 1;
_root.st_qual_remember = 0;
}
}
Instance of Symbol 741 MovieClip in Symbol 751 MovieClip Frame 1
onClipEvent (load) {
aff = "MEDIUM";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.st_qual = 2;
_root.st_qual_remember = 0;
}
}
Instance of Symbol 741 MovieClip in Symbol 751 MovieClip Frame 1
onClipEvent (load) {
aff = "HIGH";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.st_qual = 3;
_root.st_qual_remember = 0;
}
}
Symbol 758 MovieClip Frame 1
_visible = false;
stop();
Symbol 758 MovieClip Frame 4
stop();
Symbol 759 MovieClip Frame 1
_root.cheat_box = "";
stop();
Instance of Symbol 698 MovieClip in Symbol 759 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_root.cheat_box == "BIGPOPA") {
_root.cheat_box = "";
_root.cheat_1 = 2;
effect_cheat = 2;
}
if (_root.cheat_box == "LOCKNLOAD") {
_root.cheat_box = "";
_root.cheat_2 = 2;
effect_cheat = 2;
}
if (_root.cheat_box == "SURRENDER") {
_root.cheat_box = "";
_root.cheat_3 = 2;
effect_cheat = 2;
}
if (_root.cheat_box == "CHECKY") {
_root.cheat_box = "";
if (_root.lvl_1 == 0) {
_root.lvl_1 = 1;
}
if (_root.lvl_2 == 0) {
_root.lvl_2 = 1;
}
effect_cheat = 2;
}
if (_root.cheat_box == "DARIDE") {
_root.cheat_box = "";
_root.lvl_1 = 2;
_root.lvl_2 = 2;
_root.lvl_3 = 2;
effect_cheat = 2;
}
if (_root.cheat_box == "COMEON") {
_root.cheat_box = "";
_root.cheat_6 = 2;
effect_cheat = 2;
}
if (effect_cheat == 2) {
effect_cheat = 1;
if (_parent.onpause_menu != 2) {
_parent._parent._y = _parent._parent._y - 100;
}
_parent.snd.gotoAndPlay(2);
}
}
}
Instance of Symbol 621 MovieClip in Symbol 759 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_parent.onpause_menu != 2) {
_root.page = 1;
} else {
_parent._parent.gotoAndStop(2);
}
}
}
Instance of Symbol 26 MovieClip in Symbol 759 MovieClip Frame 1
onClipEvent (load) {
aff = "CHEATS LIST";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/game/7635/cheats/mass-mayhem-zombie.html", "_blank");
}
}
Symbol 762 MovieClip Frame 1
Symbol 762 MovieClip Frame 10
_root.user.data.cash = _root.cash;
_root.user.data.lvl_1 = _root.lvl_1;
_root.user.data.lvl_2 = _root.lvl_2;
_root.user.data.lvl_3 = _root.lvl_3;
_root.user.data.clothes = _root.clothes;
_root.user.data.hat = _root.hat;
_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.ac_1 = _root.ac_1;
_root.user.data.ac_2 = _root.ac_2;
_root.user.data.ac_3 = _root.ac_3;
_root.user.data.ac_4 = _root.ac_4;
_root.user.data.ac_5 = _root.ac_5;
_root.user.data.ac_6 = _root.ac_6;
_root.user.data.ac_7 = _root.ac_7;
_root.user.data.ac_8 = _root.ac_8;
_root.user.data.ac_9 = _root.ac_9;
_root.user.data.st_kill = _root.st_kill;
_root.user.data.st_bullets = _root.st_bullets;
_root.user.data.st_lastprecision = _root.st_lastprecision;
_root.user.data.st_waves = _root.st_waves;
_root.user.data.st_totcash = _root.st_totcash;
_root.user.data.st_death = _root.st_death;
_root.user.data.st_cashspent = _root.st_cashspent;
_root.user.data.st_progression = _root.st_progression;
_root.user.data.user.flush();
Symbol 762 MovieClip Frame 100
_root.page = 1;
Symbol 777 MovieClip Frame 1
if (_parent._parent._parent.nb != undefined) {
if (_root.lvl == 1) {
gotoAndStop(_parent._parent._parent.nb);
} else if (_parent._parent._parent.nb == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
} else {
stop();
}
Symbol 780 MovieClip Frame 1
gotoAndStop(_root.doors);
Symbol 795 MovieClip Frame 1
if (_parent._parent._parent.submenu_ingame == 2) {
gotoAndStop (2);
} else {
stop();
}
Symbol 799 MovieClip Frame 1
if (_root.from_win > 3) {
gotoAndStop (2);
} else {
stop();
}
Symbol 799 MovieClip Frame 2
_root.st_death = _root.st_death + 1;
Symbol 800 MovieClip Frame 1
stop();
Symbol 800 MovieClip Frame 3
stop();
Symbol 803 MovieClip Frame 1
gotoAndStop(_root.dif);
Symbol 804 MovieClip Frame 1
_visible = false;
Instance of Symbol 613 MovieClip "boxx" in Symbol 804 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (2);
}
Symbol 804 MovieClip Frame 20
_visible = true;
boxx.gotoAndStop(_root.dif);
if (eval ("_root.lvl_" + _root.lvl) < _root.dif) {
if (eval ("_root.lvl_" + _root.lvl) == 0) {
_parent._parent.unlocked_dif = 2;
}
Set("_root.lvl_" + _root.lvl, _root.dif);
}
Symbol 804 MovieClip Frame 34
stop();
Symbol 805 MovieClip Frame 1
if ((_root.from_win > 3) || (_parent._parent.submenu_ingame == 2)) {
gotoAndStop (2);
} else {
stop();
}
Symbol 823 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 824 MovieClip Frame 1
stop();
Symbol 825 MovieClip Frame 1
_root.st_kill = _root.st_kill + _root.zombies_killed;
_root.st_bullets = _root.st_bullets + _root.bullets_shots;
_root.st_lastprecision = _root.precision;
_root.st_waves = _root.st_waves + 1;
stade = -1;
timer = 40;
timer_st = 80;
reach_1 = _root.zombies_killed;
aff_1 = 0;
cash_1 = 0;
cash_multiplier_1 = 70;
reach_2 = _root.precision;
aff_2 = 0;
cash_2 = 0;
cash_multiplier_2 = 7;
reach_3 = _root.items_collected;
aff_3 = 0;
cash_3 = 0;
cash_multiplier_3 = 30;
reach_4 = _root.wave;
aff_4 = 0;
cash_4 = 0;
cash_multiplier_4 = 150;
stop();
onEnterFrame = function () {
_root.mover = 0;
if (timer_st > 0) {
timer_st = timer_st - 1;
} else if (eval ("aff_" + stade) < eval ("reach_" + stade)) {
snd.gotoAndPlay(2);
Set("aff_" + stade, eval ("aff_" + stade) + 1);
Set("cash_" + stade, eval ("aff_" + stade) * eval ("cash_multiplier_" + stade));
} else {
timer_st = timer;
stade = stade + 1;
if ((_parent.submenu_ingame == 2) && (stade == 0)) {
stade = 1;
}
}
cash = ((cash_1 + cash_2) + cash_3) + cash_4;
gotoAndStop(stade + 2);
};
Instance of Symbol 824 MovieClip in Symbol 825 MovieClip Frame 7
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 3;
}
}
Instance of Symbol 698 MovieClip in Symbol 825 MovieClip Frame 8
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.cash = _root.cash + _parent.cash;
_root.st_totcash = _root.st_totcash + _parent.cash;
if (_root.page == 12) {
if (_parent.unlocked_dif == 2) {
_parent.unlocked_dif = 1;
_root.page = 13;
} else {
_root.page = 1;
}
} else {
_root.page = 1;
}
}
}
Symbol 830 MovieClip Frame 1
gotoAndStop(_root.lvl);
Symbol 837 Button
on (release) {
_root.clothes = _root.clothes + 1;
if (_root.clothes > 5) {
_root.clothes = 1;
}
perso.gotoAndStop(2);
perso.gotoAndStop(1);
}
Symbol 842 Button
on (release) {
_root.hat = _root.hat + 1;
if (_root.hat > 13) {
_root.hat = 1;
}
perso.gotoAndStop(2);
perso.gotoAndStop(1);
}
Symbol 844 MovieClip Frame 1
_root.mover = 0;
if (loaded != 2) {
loaded = 2;
sx = _x;
sy = _y;
speed = 0.2;
page = 0;
}
stop();
onEnterFrame = function () {
if (page != _root.page) {
page = _root.page;
_y = (_y - 1000);
}
speedx = (sx - _x) * speed;
speedy = (sy - _y) * speed;
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + speedx);
}
if ((_y < (sy - 0.5)) || (_y > (sy + 0.5))) {
_y = (_y + speedy);
}
if (refreshpage == 3) {
refreshpage = 1;
_root.page = page_refresh;
}
if (refreshpage == 2) {
refreshpage = 3;
page_refresh = _root.page;
_root.page = _root.page + 1;
}
if (submenu_ingame != 2) {
if (_root.page == 14) {
_root.terre.perso._visible = false;
} else {
_root.terre.perso._visible = true;
}
}
gotoAndStop(_root.page);
};
Instance of Symbol 546 MovieClip in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
aff = "UPGRADES";
iconn = 2;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 3;
}
}
Instance of Symbol 546 MovieClip in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
aff = "ACHIEVEMENTS";
iconn = 3;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 5;
}
}
Instance of Symbol 546 MovieClip in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
aff = "OPTIONS";
iconn = 4;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 6;
}
}
Instance of Symbol 546 MovieClip in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
aff = "CHEATS";
iconn = 5;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 7;
}
}
Instance of Symbol 546 MovieClip in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
aff = "SAVE";
iconn = 6;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 8;
}
}
Instance of Symbol 546 MovieClip in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
aff = "SWAG";
iconn = 7;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 14;
}
}
Instance of Symbol 579 MovieClip in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 579 MovieClip in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 579 MovieClip in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 579 MovieClip in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 579 MovieClip in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 579 MovieClip in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 579 MovieClip in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
}
Instance of Symbol 579 MovieClip in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
}
Instance of Symbol 579 MovieClip in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
nb = 11;
}
Symbol 844 MovieClip Frame 3
wp = 1;
Instance of Symbol 546 MovieClip in Symbol 844 MovieClip Frame 3
onClipEvent (load) {
aff = "MINES";
iconn = 13;
if (eval ("_root.wp_" + (iconn - 10)) >= 3) {
gotoAndStop (21);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.wp = iconn - 10;
_root.page = 4;
}
if (act == 3) {
act = 1;
_parent.wp = iconn - 10;
}
}
Instance of Symbol 546 MovieClip in Symbol 844 MovieClip Frame 3
onClipEvent (load) {
aff = "C-4 BOMBS";
iconn = 14;
if (eval ("_root.wp_" + (iconn - 10)) >= 3) {
gotoAndStop (21);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.wp = iconn - 10;
_root.page = 4;
}
if (act == 3) {
act = 1;
_parent.wp = iconn - 10;
}
}
Instance of Symbol 546 MovieClip in Symbol 844 MovieClip Frame 3
onClipEvent (load) {
aff = "ROCKET LAUNCHER";
iconn = 20;
if (eval ("_root.wp_" + (iconn - 10)) >= 3) {
gotoAndStop (21);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.wp = iconn - 10;
_root.page = 4;
}
if (act == 3) {
act = 1;
_parent.wp = iconn - 10;
}
}
Instance of Symbol 546 MovieClip in Symbol 844 MovieClip Frame 3
onClipEvent (load) {
aff = "FLAMETHROWER";
iconn = 18;
if (eval ("_root.wp_" + (iconn - 10)) >= 3) {
gotoAndStop (21);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.wp = iconn - 10;
_root.page = 4;
}
if (act == 3) {
act = 1;
_parent.wp = iconn - 10;
}
}
Instance of Symbol 546 MovieClip in Symbol 844 MovieClip Frame 3
onClipEvent (load) {
aff = "CHAINSAW";
iconn = 19;
if (eval ("_root.wp_" + (iconn - 10)) >= 3) {
gotoAndStop (21);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.wp = iconn - 10;
_root.page = 4;
}
if (act == 3) {
act = 1;
_parent.wp = iconn - 10;
}
}
Instance of Symbol 546 MovieClip in Symbol 844 MovieClip Frame 3
onClipEvent (load) {
if (_root.fb_connect == 2) {
aff = "MACHINE GUN";
} else {
aff = "SECRET WEAPON";
}
iconn = 21;
if (_root.fb_connect == 2) {
if (eval ("_root.wp_" + (iconn - 10)) >= 3) {
gotoAndStop (21);
}
} else {
gotoAndStop (22);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.wp = iconn - 10;
_root.page = 4;
}
if (act == 3) {
act = 1;
_parent.wp = iconn - 10;
}
if (act == 5) {
if (_parent.fb_boxx._currentframe == 1) {
_parent.fb_boxx.gotoAndStop(2);
}
}
if (act == 6) {
act = 1;
if (_parent.fb_boxx._currentframe == 2) {
_parent.fb_boxx.gotoAndStop(1);
}
}
}
Instance of Symbol 546 MovieClip in Symbol 844 MovieClip Frame 3
onClipEvent (load) {
aff = "SHOTGUN";
iconn = 12;
if (eval ("_root.wp_" + (iconn - 10)) >= 3) {
gotoAndStop (21);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.wp = iconn - 10;
_root.page = 4;
}
if (act == 3) {
act = 1;
_parent.wp = iconn - 10;
}
}
Instance of Symbol 546 MovieClip in Symbol 844 MovieClip Frame 3
onClipEvent (load) {
aff = "LANCE";
iconn = 17;
if (eval ("_root.wp_" + (iconn - 10)) >= 3) {
gotoAndStop (21);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.wp = iconn - 10;
_root.page = 4;
}
if (act == 3) {
act = 1;
_parent.wp = iconn - 10;
}
}
Instance of Symbol 546 MovieClip in Symbol 844 MovieClip Frame 3
onClipEvent (load) {
aff = "TURRET";
iconn = 11;
if (eval ("_root.wp_" + (iconn - 10)) >= 3) {
gotoAndStop (21);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.wp = iconn - 10;
_root.page = 4;
}
if (act == 3) {
act = 1;
_parent.wp = iconn - 10;
}
}
Instance of Symbol 546 MovieClip in Symbol 844 MovieClip Frame 3
onClipEvent (load) {
aff = "GRENADES";
iconn = 16;
if (eval ("_root.wp_" + (iconn - 10)) >= 3) {
gotoAndStop (21);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.wp = iconn - 10;
_root.page = 4;
}
if (act == 3) {
act = 1;
_parent.wp = iconn - 10;
}
}
Instance of Symbol 621 MovieClip in Symbol 844 MovieClip Frame 3
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 1;
}
}
Instance of Symbol 672 MovieClip "boxx" in Symbol 844 MovieClip Frame 3
onClipEvent (enterFrame) {
gotoAndStop(_parent.wp);
}
Instance of Symbol 579 MovieClip in Symbol 844 MovieClip Frame 3
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 579 MovieClip in Symbol 844 MovieClip Frame 3
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 579 MovieClip in Symbol 844 MovieClip Frame 3
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 579 MovieClip in Symbol 844 MovieClip Frame 3
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 579 MovieClip in Symbol 844 MovieClip Frame 3
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 579 MovieClip in Symbol 844 MovieClip Frame 3
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 579 MovieClip in Symbol 844 MovieClip Frame 3
onClipEvent (load) {
nb = 9;
}
Instance of Symbol 579 MovieClip in Symbol 844 MovieClip Frame 3
onClipEvent (load) {
nb = 10;
}
Instance of Symbol 579 MovieClip in Symbol 844 MovieClip Frame 3
onClipEvent (load) {
nb = 11;
}
Symbol 844 MovieClip Frame 4
wp_namee_1 = "TURRET";
wp_namee_2 = "SHOTGUN";
wp_namee_3 = "MINES";
wp_namee_4 = "C-4";
wp_namee_5 = "";
wp_namee_6 = "GRENADES";
wp_namee_7 = "LANCES";
wp_namee_8 = "FLAMETHROWER";
wp_namee_9 = "CHAINSAW";
wp_namee_10 = "ROCKET LAUNCHER";
wp_namee_10 = "MACHINE GUN";
wp_cost_1_1 = 500;
wp_cost_1_2 = 2000;
wp_cost_1_3 = 7500;
wp_cost_2_1 = 500;
wp_cost_2_2 = 2000;
wp_cost_2_3 = 7500;
wp_cost_3_1 = 500;
wp_cost_3_2 = 2000;
wp_cost_3_3 = 7500;
wp_cost_4_1 = 500;
wp_cost_4_2 = 2000;
wp_cost_4_3 = 7500;
wp_cost_6_1 = 500;
wp_cost_6_2 = 2000;
wp_cost_6_3 = 7500;
wp_cost_7_1 = 500;
wp_cost_7_2 = 2000;
wp_cost_7_3 = 7500;
wp_cost_8_1 = 500;
wp_cost_8_2 = 2000;
wp_cost_8_3 = 7500;
wp_cost_9_1 = 500;
wp_cost_9_2 = 2000;
wp_cost_9_3 = 7500;
wp_cost_10_1 = 500;
wp_cost_10_2 = 2000;
wp_cost_10_3 = 7500;
wp_cost_11_1 = 0;
wp_cost_11_2 = 3000;
wp_cost_11_3 = 6000;
stadecost = eval ("_root.wp_" + wp) + 1;
cost = eval ((("wp_cost_" + wp) + "_") + stadecost);
aff_1 = eval ("wp_namee_" + wp);
stade = eval ("_root.wp_" + wp) + 1;
aff_2 = eval ((("wp_cost_" + wp) + "_") + stade);
boxx2.updef.gotoAndStop((wp * 10) + stade);
stop();
Instance of Symbol 634 MovieClip "upboxx2" in Symbol 844 MovieClip Frame 4
onClipEvent (load) {
up_menu = 2;
}
Instance of Symbol 672 MovieClip "boxx" in Symbol 844 MovieClip Frame 4
onClipEvent (load) {
sx = _x;
sy = _y;
sr = _rotation;
_x = (_x + 400);
_y = (_y - 400);
_rotation = (_rotation + 120);
gotoAndStop(_parent.wp);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent.wp);
speed = 0.12;
speedx = (sx - _x) * speed;
speedy = (sy - _y) * speed;
speedr = (sr - _rotation) * speed;
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + speedx);
}
if ((_y < (sy - 0.5)) || (_y > (sy + 0.5))) {
_y = (_y + speedy);
}
if ((_rotation < (sr - 0.5)) || (_rotation > (sr + 0.5))) {
_rotation = (_rotation + speedr);
}
}
Instance of Symbol 621 MovieClip in Symbol 844 MovieClip Frame 5
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 1;
}
}
Instance of Symbol 698 MovieClip in Symbol 844 MovieClip Frame 9
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.got2go = 6;
}
}
Instance of Symbol 26 MovieClip in Symbol 844 MovieClip Frame 13
onClipEvent (load) {
aff = "ALRIGHT!";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 1;
}
}
Instance of Symbol 621 MovieClip in Symbol 844 MovieClip Frame 14
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.terre.perso.gotoAndStop(2);
_root.terre.perso.gotoAndStop(1);
_root.page = 1;
}
}
Symbol 850 MovieClip Frame 1
gotoAndStop(_root.lvl);
Symbol 858 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(eval (("_root.cnt.baricade_back.door_" + nb) + "._currentframe"));
};
Symbol 859 MovieClip Frame 1
sy = _y;
stop();
onEnterFrame = function () {
gotoAndStop(_root.cnt.baricade_back._currentframe);
if (_root.cnt.turret.inturret == 2) {
_y = (sy + 1000);
} else {
_y = sy;
}
};
Instance of Symbol 858 MovieClip in Symbol 859 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 858 MovieClip in Symbol 859 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Symbol 889 MovieClip Frame 1
stop();
Symbol 899 MovieClip Frame 1
stop();
Symbol 900 MovieClip Frame 1
speedx = random(20) - 10;
speedy = random(20) - 10;
speedr = random(20) - 10;
_rotation = (random(360) + 1);
boxx.gotoAndStop(random(6) + 1);
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;
if (_y >= 0) {
speedy = 0;
speedr = 0;
_rotation = ((random(2) + 1) * 180);
if (_alpha > 0) {
_alpha = (_alpha - 2);
}
}
};
Symbol 902 MovieClip Frame 1
opened = 1;
stop();
onEnterFrame = function () {
if (_root.cnt.car.incar == 1) {
range = 150;
} else {
range = 350;
}
if ((((_root.cnt.perso._x > ((_parent._x + _x) - range)) && (_root.cnt.perso._x < ((_parent._x + _x) + range))) && (_root.cnt.perso._y > ((_parent._y + _y) - range))) && (_root.cnt.perso._y < ((_parent._y + _y) + range))) {
opened = 2;
} else {
opened = 1;
}
if (opened == 2) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
} else if (_currentframe == 30) {
gotoAndPlay (31);
}
if (eval ("_root.door_energy_" + nb) <= 0) {
gotoAndStop (61);
}
};
Instance of Symbol 82 MovieClip "hitt" in Symbol 902 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.cnt.car.incar == 2) {
_xscale = 1110;
} else {
_xscale = 300;
}
_yscale = 300;
}
Symbol 902 MovieClip Frame 2
play();
Symbol 902 MovieClip Frame 30
stop();
Symbol 902 MovieClip Frame 31
play();
Symbol 902 MovieClip Frame 60
gotoAndPlay (1);
Symbol 902 MovieClip Frame 61
opened = 2;
stop();
onEnterFrame = function () {
};
Symbol 905 MovieClip Frame 1
stop();
Symbol 913 MovieClip Frame 1
stop();
Symbol 916 MovieClip Frame 1
stop();
Symbol 922 MovieClip Frame 3
stop();
Symbol 928 MovieClip Frame 1
gotoAndStop(random(5) + 1);
Symbol 935 MovieClip Frame 1
stop();
Symbol 959 MovieClip Frame 1
stop();
Symbol 970 MovieClip Frame 1
timer = 5;
speedx = random(20) - 10;
speedy = random(15);
speedr = random(20) - 10;
aa = random(2) + 1;
if (aa == 1) {
_xscale = (_xscale * -1);
}
if (_root.lvl == 1) {
boxx.gotoAndStop(random(4) + 1);
}
if (_root.lvl == 2) {
boxx.gotoAndStop(random(7) + 5);
}
if (_root.lvl == 3) {
boxx.gotoAndStop(random(4) + 12);
}
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
}
_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;
}
if (speedy > 15) {
speedy = 15;
}
speedr = speedr * 0.95;
};
Instance of Symbol 82 MovieClip in Symbol 970 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.timer <= 0) {
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 970 MovieClip Frame 2
timer = 150;
boxx._rotation = 0;
stop();
onEnterFrame = function () {
_x = (_x + speedx);
speedx = speedx * 0.9;
if (timer > 0) {
timer = timer - 1;
} else if (_alpha > 0) {
_alpha = (_alpha - 5);
}
};
Symbol 971 MovieClip Frame 1
stop();
Instance of Symbol 902 MovieClip "door_2" in Symbol 971 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 902 MovieClip "door_1" in Symbol 971 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Symbol 976 MovieClip Frame 1
stop();
onEnterFrame = function () {
_rotation = (_rotation + (_parent._parent._parent._parent.speed * 5));
};
Symbol 986 MovieClip Frame 3
stop();
Symbol 990 MovieClip Frame 1
stop();
Symbol 990 MovieClip Frame 3
stop();
Symbol 990 MovieClip Frame 5
stop();
Symbol 990 MovieClip Frame 7
stop();
Symbol 991 MovieClip Frame 3
stop();
Symbol 992 MovieClip Frame 3
stop();
Symbol 993 MovieClip Frame 1
_visible = false;
stop();
Symbol 1008 MovieClip Frame 1
if ((_parent._parent._parent.energy < 0) && (_parent._parent._parent._currentframe == 3)) {
stop();
}
Symbol 1018 MovieClip Frame 1
stop();
Symbol 1020 MovieClip Frame 1
stop();
Symbol 1020 MovieClip Frame 3
stop();
Symbol 1030 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = 1;
}
stop();
onEnterFrame = function () {
aa = aa + Math.abs(_parent._parent._parent._parent.speed);
if (aa > 15) {
aa = aa - 15;
}
gotoAndStop(Math.round(aa));
};
Symbol 1034 MovieClip Frame 1
aa = random(2) + 1;
if (aa == 1) {
_yscale = (_yscale * -1);
}
speedx = (random(10) + 10) * 0.5;
speedy = speedx * 1;
speeda = random(10) + 10;
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
if (_alpha > 0) {
_alpha = (_alpha - speeda);
} else {
_visible = false;
}
};
Symbol 1036 MovieClip Frame 1
aa = random(2) + 1;
if (aa == 1) {
_yscale = (_yscale * -1);
}
speedx = random(10) + 10;
speedy = 0;
speeda = random(10) + 10;
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
if (_alpha > 0) {
_alpha = (_alpha - speeda);
} else {
_visible = false;
}
};
Symbol 1038 MovieClip Frame 1
aa = random(2) + 1;
if (aa == 1) {
_yscale = (_yscale * -1);
}
speedx = (random(10) + 10) * 0.5;
speedy = speedx * -1;
speeda = random(10) + 10;
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
if (_alpha > 0) {
_alpha = (_alpha - speeda);
} else {
_visible = false;
}
};
Symbol 1040 MovieClip Frame 1
aa = random(2) + 1;
if (aa == 1) {
_yscale = (_yscale * -1);
}
speedx = (random(10) + 10) * 0.75;
speedy = speedx * 0.7;
speeda = random(10) + 10;
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
if (_alpha > 0) {
_alpha = (_alpha - speeda);
} else {
_visible = false;
}
};
Symbol 1042 MovieClip Frame 1
aa = random(2) + 1;
if (aa == 1) {
_yscale = (_yscale * -1);
}
speedx = (random(10) + 10) * 0.75;
speedy = speedx * -0.7;
speeda = random(10) + 10;
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
if (_alpha > 0) {
_alpha = (_alpha - speeda);
} else {
_visible = false;
}
};
Symbol 1044 MovieClip Frame 1
stop();
Symbol 1048 MovieClip Frame 1
stop();
Symbol 1059 MovieClip Frame 1
stop();
Symbol 1066 MovieClip Frame 1
boxx._rotation = random(360) + 1;
boxx._x = random(100) - 50;
boxx._y = random(100) - 50;
Symbol 1069 MovieClip Frame 1
if (_root.cheat_5 == 2) {
_xscale = (_xscale * 1.8);
_yscale = _xscale;
}
gotoAndPlay (2);
Instance of Symbol 1068 MovieClip "ringg" in Symbol 1069 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)) {
_root.cnt.perso.cause_of_death = _parent._parent.cause_of_death;
_root.cnt.perso.energy = 0;
_root.cnt.perso.anims.gotoAndStop(9);
}
if (_root.cnt.boss.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.boss.energy = _root.cnt.boss.energy - 4;
}
var nb = 1;
while (nb < 21) {
if (_root.cnt["e_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt["e_" + nb].energy = 0;
_root.cnt["e_" + nb].anim_frame = 10;
if (_parent.never_hit_anyone != 2) {
_parent.never_hit_anyone = 2;
_root.bullets_hited = _root.bullets_hited + 1;
}
}
nb++;
}
i++;
}
}
Symbol 1069 MovieClip Frame 66
if (_parent.anim_all_bombs == undefined) {
_parent.gotoAndStop(1);
}
stop();
Symbol 1071 MovieClip Frame 1
stop();
Instance of Symbol 82 MovieClip in Symbol 1071 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);
}
if (_root.cnt.boss.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.gotoAndStop(2);
}
var nb = 1;
while (nb < 21) {
if (_root.cnt["e_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.gotoAndStop(2);
}
nb++;
}
i++;
}
}
Symbol 1071 MovieClip Frame 2
_parent.stop();
stop();
Symbol 1073 MovieClip Frame 1
gotoAndPlay (2);
Symbol 1073 MovieClip Frame 65
_parent.gotoAndStop(1);
Symbol 1074 MovieClip Frame 1
stop();
Symbol 1074 MovieClip Frame 2
_xscale = _parent.boxx.turret._xscale;
play();
Symbol 1075 MovieClip Frame 1
gotoAndStop(_parent._parent.car);
Instance of Symbol 82 MovieClip in Symbol 1075 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._parent.incar == 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)) {
}
var nb = 1;
while (nb < 41) {
if (_root.cnt["e_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt["e_" + nb].energy > 0) {
_root.cnt["e_" + nb].energy = _root.cnt["e_" + nb].energy - 35;
if (_root.cnt["e_" + nb].energy <= 0) {
_root.cnt["e_" + nb].anim_frame = 10;
_parent.snd2.gotoAndPlay(2);
_root.shake = 20;
}
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", (_root.cnt["e_" + nb]._x + random(50)) - 25);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", ((_root.cnt["e_" + nb]._y - 65) + random(50)) - 25);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb > 10) {
_root.blood_nb = 1;
}
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", (_root.cnt["e_" + nb]._x + random(50)) - 25);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", ((_root.cnt["e_" + nb]._y - 65) + random(50)) - 25);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb > 10) {
_root.blood_nb = 1;
}
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", (_root.cnt["e_" + nb]._x + random(50)) - 25);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", ((_root.cnt["e_" + nb]._y - 65) + random(50)) - 25);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb > 10) {
_root.blood_nb = 1;
}
}
}
nb++;
}
i++;
}
}
}
Symbol 1078 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
if (_parent.caninteract == 2) {
_visible = true;
if (_currentframe == 1) {
gotoAndPlay (2);
}
} else {
_visible = false;
gotoAndStop (1);
}
};
Symbol 1078 MovieClip Frame 2
play();
Symbol 1078 MovieClip Frame 20
stop();
Instance of Symbol 82 MovieClip in Symbol 1079 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Math.abs(_parent._parent.speed) > 3) {
this.hitpts = new Array({x:-163, y:0}, {x:163, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 21) {
if (_root.cnt["e_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt["e_" + nb].energy > 0) {
if (_parent._parent.speed > 0) {
if (_root.cnt["e_" + nb]._x > (_root.cnt.car._x + _root.cnt.car.boxx._x)) {
_root.cnt["e_" + nb].energy = _root.cnt["e_" + nb].energy - 60;
_root.cnt["e_" + nb].speedx = _parent._parent.speed * 5;
_root.cnt["e_" + nb].speedy = Math.abs(_parent._parent.speed) * -2;
_root.cnt["e_" + nb]._y = _root.cnt["e_" + nb]._y - 15;
_root.shake = 25;
_parent._parent.speed = _parent._parent.speed * 0.8;
_parent._parent.energy = _parent._parent.energy - 5;
_parent.boxx.snd.hit.gotoAndPlay((random(3) + 1) * 2);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", (_root.cnt["e_" + nb]._x + random(50)) - 25);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", ((_root.cnt["e_" + nb]._y - 65) + random(50)) - 25);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb > 10) {
_root.blood_nb = 1;
}
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", (_root.cnt["e_" + nb]._x + random(50)) - 25);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", ((_root.cnt["e_" + nb]._y - 65) + random(50)) - 25);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb > 10) {
_root.blood_nb = 1;
}
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", (_root.cnt["e_" + nb]._x + random(50)) - 25);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", ((_root.cnt["e_" + nb]._y - 65) + random(50)) - 25);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb > 10) {
_root.blood_nb = 1;
}
}
} else if (_root.cnt["e_" + nb]._x < (_root.cnt.car._x + _root.cnt.car.boxx._x)) {
_root.cnt["e_" + nb].energy = _root.cnt["e_" + nb].energy - 60;
_root.cnt["e_" + nb].speedx = _parent._parent.speed * 5;
_root.cnt["e_" + nb].speedy = Math.abs(_parent._parent.speed) * -2;
_root.cnt["e_" + nb]._y = _root.cnt["e_" + nb]._y - 15;
_root.shake = 25;
_parent._parent.speed = _parent._parent.speed * 0.8;
_parent._parent.energy = _parent._parent.energy - 5;
_parent.boxx.snd.hit.gotoAndPlay((random(3) + 1) * 2);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", (_root.cnt["e_" + nb]._x + random(50)) - 25);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", ((_root.cnt["e_" + nb]._y - 65) + random(50)) - 25);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb > 10) {
_root.blood_nb = 1;
}
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", (_root.cnt["e_" + nb]._x + random(50)) - 25);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", ((_root.cnt["e_" + nb]._y - 65) + random(50)) - 25);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb > 10) {
_root.blood_nb = 1;
}
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", (_root.cnt["e_" + nb]._x + random(50)) - 25);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", ((_root.cnt["e_" + nb]._y - 65) + random(50)) - 25);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb > 10) {
_root.blood_nb = 1;
}
}
}
}
nb++;
}
i++;
}
}
}
Symbol 1080 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
energy = 100;
incar = 1;
if (_root.lvl == 1) {
aa = 600;
limit_min = 0;
limit_max = 1000;
speed_adjust = 1;
}
if (_root.lvl == 2) {
aa = 1750;
limit_min = 1001;
limit_max = 2500;
speed_adjust = 0.75;
}
if (_root.lvl == 3) {
aa = 3270;
limit_min = 2501;
limit_max = 3800;
speed_adjust = 0.7;
}
car = 1;
if (_root.lvl_1 == 2) {
car = 2;
}
if (_root.lvl_2 == 2) {
car = 3;
}
if (car == 1) {
speed_adjust = speed_adjust * 1;
}
if (car == 2) {
speed_adjust = speed_adjust * 0.7;
}
if (car == 3) {
speed_adjust = speed_adjust * 0.4;
}
speed_top = 10;
speed = 0;
speed_acc = 0.1;
canact = 1;
}
stop();
onEnterFrame = function () {
if ((_root.pausedd == 1) && (_root.dropcam_timer <= 0)) {
if (incar == 2) {
if (Key.isDown(32)) {
if (boxx.boxx.bomb._currentframe == 1) {
boxx.boxx.bomb.gotoAndPlay(2);
}
}
}
if (speed < 0) {
boxx.boxx.boxx.turret._xscale = 100;
boxx.boxx.boxx.perso.gotoAndStop(1);
} else {
boxx.boxx.boxx.turret._xscale = -100;
boxx.boxx.boxx.perso.gotoAndStop(2);
}
if (energy > 66) {
energy_stade = 1;
}
if ((energy > 33) && (energy <= 66)) {
energy_stade = 2;
}
if ((energy > 0) && (energy <= 33)) {
energy_stade = 3;
}
if (energy <= 0) {
energy_stade = 4;
incar = 1;
canact = 1;
}
boxx.boxx.boxx.gotoAndStop(energy_stade);
if (canact == 2) {
if (incar == 1) {
boxx.boxx.boxx.perso._visible = false;
boxx.caninteract = 2;
} else {
boxx.boxx.boxx.perso._visible = true;
boxx.caninteract = 1;
}
if (Key.isDown(88)) {
if (keyreleased_88 == 2) {
keyreleased_88 = 1;
if (incar == 2) {
incar = 1;
} else if (((_root.cnt.item_1.caninteract == 1) && (_root.cnt.item_2.caninteract == 1)) && (_root.cnt.item_3.caninteract == 1)) {
incar = 2;
}
}
} else {
keyreleased_88 = 2;
}
} else {
boxx.boxx.boxx.perso._visible = false;
boxx.caninteract = 1;
}
if (incar == 2) {
_root.cnt.perso._x = _x + boxx._x;
_root.cnt.perso._y = (_y + boxx._y) + 20;
_root.cnt.perso._alpha = 0;
if (Key.isDown(37) && (!Key.isDown(39))) {
speed = speed - speed_acc;
if (speed > 0) {
speed = speed - 0.15;
}
}
if (Key.isDown(39) && (!Key.isDown(37))) {
speed = speed + speed_acc;
if (speed < 0) {
speed = speed + 0.15;
}
}
if (speed < (speed_top * -1)) {
speed = speed_top * -1;
}
if (speed > speed_top) {
speed = speed_top;
}
} else if (_root.cnt.perso._alpha <= 0) {
_root.cnt.perso._alpha = 100;
}
if ((!Key.isDown(37)) && (!Key.isDown(39))) {
speed = speed * 0.98;
}
aa = aa + (speed * speed_adjust);
if ((boxx.boxx.bomb._currentframe >= 2) && (boxx.boxx.bomb != undefined)) {
aa = aa - (speed * speed_adjust);
}
if (aa < limit_min) {
aa = limit_min;
shake = Math.abs(speed * 3);
if (shake > 2) {
_root.shake = shake;
}
speed = 0;
}
if (aa > limit_max) {
aa = limit_max;
shake = Math.abs(speed * 3);
if (shake > 2) {
_root.shake = shake;
}
speed = 0;
}
gotoAndStop(Math.round(aa));
if (incar == 1) {
boxx.boxx.snd.gotoAndStop(1);
} else if (Math.abs(speed) < 2) {
boxx.boxx.snd.gotoAndStop(2);
} else {
boxx.boxx.snd.gotoAndStop(3);
}
}
};
Symbol 1091 MovieClip Frame 1
stop();
Symbol 1094 MovieClip Frame 1
stop();
Symbol 1102 MovieClip Frame 1
stop();
Symbol 1112 MovieClip Frame 1
stop();
Symbol 1113 MovieClip Frame 1
stop();
Symbol 1120 MovieClip Frame 1
stop();
Symbol 1123 MovieClip Frame 1
stop();
Symbol 1131 MovieClip Frame 60
if (_parent._parent._parent._parent._currentframe != 3) {
gotoAndPlay (1);
} else {
aa = random(3) + 1;
if (aa == 1) {
aa = random(2) + 1;
if (aa == 1) {
gotoAndPlay (61);
} else {
gotoAndPlay (81);
}
} else {
gotoAndPlay (1);
}
}
Symbol 1131 MovieClip Frame 80
gotoAndPlay (1);
Symbol 1131 MovieClip Frame 180
gotoAndPlay (1);
Symbol 1132 MovieClip Frame 30
_parent.gotoAndStop(1);
stop();
Symbol 1134 MovieClip Frame 61
_parent.gotoAndStop(1);
stop();
Symbol 1135 MovieClip Frame 1
stop();
Symbol 1145 MovieClip Frame 1
stop();
Symbol 1152 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.stade + 1);
stop();
onEnterFrame = function () {
trace(_parent._parent._parent.stade);
gotoAndStop(_parent._parent._parent.stade + 1);
};
Symbol 1157 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.stade + 1);
stop();
onEnterFrame = function () {
gotoAndStop(_parent._parent._parent.stade + 1);
};
Symbol 1161 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.stade + 1);
stop();
onEnterFrame = function () {
gotoAndStop(_parent._parent._parent.stade + 1);
};
Symbol 1163 MovieClip Frame 1
gotoAndStop(_root.lvl);
Symbol 1165 MovieClip Frame 1
gotoAndPlay (2);
Symbol 1165 MovieClip Frame 6
Symbol 1165 MovieClip Frame 20
stop();
Symbol 1166 MovieClip Frame 1
_visible = false;
Symbol 1166 MovieClip Frame 13
_parent.act = 2;
Symbol 1166 MovieClip Frame 66
_parent.act = 2;
Symbol 1166 MovieClip Frame 139
_parent.act = 2;
Symbol 1166 MovieClip Frame 157
_parent.act = 2;
Symbol 1166 MovieClip Frame 181
_parent.act = 2;
Symbol 1166 MovieClip Frame 189
_parent.act = 2;
Symbol 1166 MovieClip Frame 250
_parent.act = 3;
stop();
Symbol 1167 MovieClip Frame 1
_visible = false;
Symbol 1167 MovieClip Frame 8
_parent.act = 2;
Symbol 1167 MovieClip Frame 50
_parent.act = 2;
Symbol 1167 MovieClip Frame 87
_parent.act = 2;
Symbol 1167 MovieClip Frame 126
_parent.act = 2;
Symbol 1167 MovieClip Frame 195
_parent.act = 3;
stop();
Symbol 1168 MovieClip Frame 1
_visible = false;
Symbol 1168 MovieClip Frame 8
_parent.act = 2;
Symbol 1168 MovieClip Frame 79
_parent.act = 2;
Symbol 1168 MovieClip Frame 89
_parent.act = 2;
Symbol 1168 MovieClip Frame 142
_parent.act = 3;
stop();
Symbol 1169 MovieClip Frame 1
stade = 1;
stop();
onEnterFrame = function () {
if (act == 2) {
act = 1;
stade = stade + 1;
boxx.gotoAndPlay(2);
}
if (act == 3) {
act = 1;
_parent.play();
}
gotoAndStop(_root.lvl);
};
Symbol 1170 MovieClip Frame 1
onEnterFrame = function () {
_root.act = 5;
_root.cnt.boss_cam._x = ((_parent._x + _x) + boxx._x) + 100;
_root.cnt.boss_cam._y = ((_parent._y + _y) + boxx._y) - 75;
};
Symbol 1170 MovieClip Frame 60
stop();
Symbol 1170 MovieClip Frame 92
_root.shake = 40;
Symbol 1170 MovieClip Frame 120
_root.act = 1;
stop();
onEnterFrame = function () {
_root.cnt.boss.gotoAndStop(3);
};
Symbol 1175 MovieClip Frame 3
stop();
Symbol 1175 MovieClip Frame 5
stop();
Symbol 1175 MovieClip Frame 7
stop();
Symbol 1176 MovieClip Frame 1
_visible = false;
stop();
Symbol 1176 MovieClip Frame 2
_visible = true;
stop();
Symbol 1176 MovieClip Frame 3
_x = -826;
_y = 160;
fall = 1;
speed = 10;
speed_acc = 0.1;
speedx = 0;
speedy = 0;
energy = 1000;
energy_max = 1000;
range = 20;
lance_timer = (random(3) + 5) * 50;
stop();
onEnterFrame = function () {
if ((_root.pausedd == 1) && (_root.dropcam_timer <= 0)) {
if (energy > 0) {
if ((_x < ((_root.cnt.perso._x - range) - 110)) || (_x > ((_root.cnt.perso._x + range) - 110))) {
if (_x <= _root.cnt.perso._x) {
gofront = 2;
} else {
gofront = 1;
}
if (gofront == 2) {
if (speedx < -0.5) {
speedx = speedx * (1 - speed_acc);
}
if ((speedx >= -0.5) && (speedx < 1)) {
speedx = 1;
}
if (speedx >= 1) {
speedx = speedx * (1 + speed_acc);
}
if (speedx > speed) {
speedx = speed;
}
} else {
if (speedx > 0.5) {
speedx = speedx * (1 - speed_acc);
}
if ((speedx > -1) && (speedx <= 0.5)) {
speedx = -1;
}
if (speedx <= -1) {
speedx = speedx * (1 + speed_acc);
}
if (speedx < (speed * -1)) {
speedx = speed * -1;
}
}
} else {
speedx = speedx * 0.85;
}
if (energyb != energy) {
if (energyb > (energy + 12)) {
anims.boxx.anims.gotoAndStop(3);
}
energyb = energy;
}
if (gofront == 2) {
if (lance_timer > 0) {
lance_timer = lance_timer - 1;
} else if (anims.boxx.anims._currentframe == 1) {
anims.boxx.anims.gotoAndStop(2);
lance_timer = (random(3) + 5) * 50;
}
}
} else {
if (snd._currentframe < 6) {
snd.gotoAndPlay(6);
}
speedx = speedx * 0.85;
}
if (fall == 2) {
fall_animtimer = fall_animtimer + 1;
if (speedy < -0.5) {
speedy = speedy * (1 - _root.gravity);
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * (1 + _root.gravity);
}
if (speedy > 20) {
speedy = 20;
}
} else {
fall_animtimer = 0;
speedy = 0;
}
_x = (_x + speedx);
_y = (_y + speedy);
if (fall == 1) {
fall_timer = 0;
} else {
fall_timer = fall_timer + 1;
}
if (_x < -2488) {
_x = -2488;
}
if (_x > 2480) {
_x = 2480;
}
if (energy > 600) {
anims.boxx.gotoAndStop(1);
}
if ((energy > 300) && (energy <= 600)) {
anims.boxx.gotoAndStop(2);
}
if ((energy > 0) && (energy <= 300)) {
anims.boxx.gotoAndStop(3);
}
if (energy <= 0) {
anims.boxx.gotoAndStop(4);
}
if (anims.boxx.anims._currentframe != 3) {
if (anims.boxx.anims._currentframe != 2) {
if (gofront == 2) {
anims.boxx.anims.boxx.head.gotoAndStop(1);
} else {
anims.boxx.anims.boxx.head.gotoAndStop(2);
}
}
}
}
};
Instance of Symbol 1172 MovieClip in Symbol 1176 MovieClip Frame 3
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.fall = 1;
} else {
_parent.fall = 2;
}
i++;
}
this.hitpts3 = new Array({x:100, y:-50}, {x:-100, y:-50});
k = 0;
while (k < this.hitpts3.length) {
this.localToGlobal(hitpts3[k]);
if (_root.cnt.hitt.hitTest(hitpts3[k].x, hitpts3[k].y, true)) {
_parent._x = _parent._x - (_parent.speedx * 1.5);
_parent.speedx = _parent.speedx * -1;
canremonte = 1;
} else {
canremonte = 2;
}
k++;
}
this.hitpts2 = new Array({x:0, y:-2});
j = 0;
while (j < this.hitpts2.length) {
this.localToGlobal(hitpts2[j]);
if (_root.cnt.hitt.hitTest(hitpts2[j].x, hitpts2[j].y, true)) {
_parent._y = _parent._y - (2 + _parent.speedy);
}
j++;
}
if (_parent.energy > 0) {
this.hitpts4 = new Array({x:110, y:0});
l = 0;
while (l < this.hitpts4.length) {
this.localToGlobal(hitpts4[l]);
if (_root.cnt.perso.hitt.hitTest(hitpts4[l].x, hitpts4[l].y, true)) {
if (_root.cnt.perso.energy > 0) {
_root.cnt.perso.energy = _root.cnt.perso.energy - 100;
_root.cnt.perso.anims.gotoAndStop(9);
_parent.snd.gotoAndPlay(4);
_root.shake = 20;
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", (_root.cnt.perso._x + random(50)) - 25);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", ((_root.cnt.perso._y - 65) + random(50)) - 25);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb > 10) {
_root.blood_nb = 1;
}
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", (_root.cnt.perso._x + random(50)) - 25);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", ((_root.cnt.perso._y - 65) + random(50)) - 25);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb > 10) {
_root.blood_nb = 1;
}
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", (_root.cnt.perso._x + random(50)) - 25);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", ((_root.cnt.perso._y - 65) + random(50)) - 25);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb > 10) {
_root.blood_nb = 1;
}
}
}
var nbl = 1;
while (nbl < 41) {
if (_root.cnt["e_" + nbl].hitt.hitTest(hitpts4[l].x, hitpts4[l].y, true)) {
if (_root.cnt["e_" + nbl].energy > 0) {
_root.cnt["e_" + nbl].energy = _root.cnt["e_" + nbl].energy - 35;
if (_root.cnt["e_" + nbl].energy <= 0) {
_root.cnt["e_" + nbl].anim_frame = 10;
_parent.snd.gotoAndPlay(4);
_root.shake = 20;
}
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", (_root.cnt["e_" + nb]._x + random(50)) - 25);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", ((_root.cnt["e_" + nb]._y - 65) + random(50)) - 25);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb > 10) {
_root.blood_nb = 1;
}
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", (_root.cnt["e_" + nb]._x + random(50)) - 25);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", ((_root.cnt["e_" + nb]._y - 65) + random(50)) - 25);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb > 10) {
_root.blood_nb = 1;
}
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", (_root.cnt["e_" + nb]._x + random(50)) - 25);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", ((_root.cnt["e_" + nb]._y - 65) + random(50)) - 25);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb > 10) {
_root.blood_nb = 1;
}
}
}
if (_parent.energy > 0) {
if (_root.cnt["mine_" + nbl].hitt.hitTest(hitpts4[l].x, hitpts4[l].y, true)) {
_root.cnt["mine_" + nbl].gotoAndStop(3);
}
}
if (_root.cnt.baricade_back["door_" + nbl].hitTest(hitpts4[l].x, hitpts4[l].y, true)) {
_root.cnt.baricade_back["door_" + nbl].gotoAndStop(61);
}
nbl++;
}
l++;
}
}
}
Symbol 1178 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_parent._parent._currentframe);
};
Symbol 1179 MovieClip Frame 1
stop();
Symbol 1179 MovieClip Frame 2
play();
Symbol 1179 MovieClip Frame 20
gotoAndStop (1);
Symbol 1179 MovieClip Frame 25
_root.shake = 14;
Symbol 1179 MovieClip Frame 55
gotoAndPlay (21);
Symbol 1180 MovieClip Frame 1
stop();
Symbol 1181 MovieClip Frame 1
stop();
Symbol 1182 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_parent._parent._currentframe);
};
Symbol 1183 MovieClip Frame 1
stop();
Symbol 1187 MovieClip Frame 1
stop();
Symbol 1190 MovieClip Frame 1
stop();
Symbol 1193 MovieClip Frame 1
stop();
Symbol 1196 MovieClip Frame 1
stop();
Symbol 1197 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.corp);
Symbol 1200 MovieClip Frame 1
stop();
Symbol 1203 MovieClip Frame 1
stop();
Symbol 1206 MovieClip Frame 1
stop();
Symbol 1209 MovieClip Frame 1
stop();
Symbol 1210 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.corp);
Symbol 1213 MovieClip Frame 1
stop();
Symbol 1216 MovieClip Frame 1
stop();
Symbol 1219 MovieClip Frame 1
stop();
Symbol 1222 MovieClip Frame 1
stop();
Symbol 1223 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.corp);
Symbol 1226 MovieClip Frame 1
stop();
Symbol 1228 MovieClip Frame 1
stop();
Symbol 1230 MovieClip Frame 1
stop();
Symbol 1232 MovieClip Frame 1
stop();
Symbol 1235 MovieClip Frame 1
stop();
Symbol 1238 MovieClip Frame 1
stop();
Symbol 1241 MovieClip Frame 1
stop();
Symbol 1242 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.corp);
Symbol 1245 MovieClip Frame 1
stop();
Symbol 1247 MovieClip Frame 1
stop();
Symbol 1249 MovieClip Frame 1
stop();
Symbol 1251 MovieClip Frame 1
stop();
Symbol 1254 MovieClip Frame 1
stop();
Symbol 1255 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.corp);
Symbol 1258 MovieClip Frame 1
stop();
Symbol 1261 MovieClip Frame 1
stop();
Symbol 1264 MovieClip Frame 1
stop();
Symbol 1267 MovieClip Frame 1
stop();
Symbol 1270 MovieClip Frame 1
stop();
Symbol 1275 MovieClip Frame 1
stop();
Symbol 1278 MovieClip Frame 1
stop();
Symbol 1281 MovieClip Frame 1
stop();
Symbol 1284 MovieClip Frame 1
stop();
Symbol 1287 MovieClip Frame 1
stop();
Symbol 1290 MovieClip Frame 1
stop();
Symbol 1293 MovieClip Frame 1
stop();
Symbol 1296 MovieClip Frame 1
stop();
Symbol 1299 MovieClip Frame 1
stop();
Symbol 1302 MovieClip Frame 1
stop();
Symbol 1303 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.corp);
Symbol 1308 MovieClip Frame 1
stop();
Symbol 1311 MovieClip Frame 1
stop();
Symbol 1314 MovieClip Frame 1
stop();
Symbol 1317 MovieClip Frame 1
stop();
Symbol 1319 MovieClip Frame 1
stop();
Symbol 1320 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.corp);
Symbol 1323 MovieClip Frame 1
stop();
Symbol 1326 MovieClip Frame 1
stop();
Symbol 1329 MovieClip Frame 1
stop();
Symbol 1332 MovieClip Frame 1
stop();
Symbol 1333 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.corp);
Symbol 1339 MovieClip Frame 1
stop();
Symbol 1342 MovieClip Frame 1
stop();
Symbol 1343 MovieClip Frame 1
stop();
Symbol 1344 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.casque);
Symbol 1344 MovieClip Frame 2
casque.gotoAndStop(_parent._parent._parent._parent.casque_typee);
Symbol 1361 MovieClip Frame 1
stop();
Symbol 1373 MovieClip Frame 1
stop();
Symbol 1385 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.tete);
Symbol 1390 MovieClip Frame 1
stop();
Symbol 1391 MovieClip Frame 1
gotoAndStop(_parent._parent.posi);
Symbol 1393 MovieClip Frame 1
_visible = false;
stop();
Symbol 1393 MovieClip Frame 2
_visible = true;
posi = random(2) + 1;
casque = 1;
stop();
Symbol 1394 MovieClip Frame 1
if (_root.broched_tete_1 != 0) {
b_1.corp = _root.broched_corp_1;
b_1.tete = _root.broched_tete_1;
b_1.gotoAndStop(2);
}
if (_root.broched_tete_2 != 0) {
b_2.corp = _root.broched_corp_2;
b_2.tete = _root.broched_tete_2;
b_2.gotoAndStop(2);
}
if (_root.broched_tete_3 != 0) {
b_3.corp = _root.broched_corp_3;
b_3.tete = _root.broched_tete_3;
b_3.gotoAndStop(2);
}
b_1._x = _root.broched_nb * -144;
b_2._x = (_root.broched_nb * -144) + 144;
b_3._x = (_root.broched_nb * -144) + 288;
stop();
onEnterFrame = function () {
if (_root.broched_tete_1 != 0) {
b_1.corp = _root.broched_corp_1;
b_1.tete = _root.broched_tete_1;
b_1.gotoAndStop(2);
}
if (_root.broched_tete_2 != 0) {
b_2.corp = _root.broched_corp_2;
b_2.tete = _root.broched_tete_2;
b_2.gotoAndStop(2);
}
if (_root.broched_tete_3 != 0) {
b_3.corp = _root.broched_corp_3;
b_3.tete = _root.broched_tete_3;
b_3.gotoAndStop(2);
}
b_1._x = _root.broched_nb * -144;
b_2._x = (_root.broched_nb * -144) + 144;
b_3._x = (_root.broched_nb * -144) + 288;
};
Instance of Symbol 82 MovieClip in Symbol 1394 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Math.abs(_root.cnt.perso.speedx) > 5) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 41) {
if (_root.cnt["e_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if ((_root.cnt["e_" + nb].energy > 0) && (_root.cnt["e_" + nb].typee == 1)) {
_root.cnt["e_" + nb].energy = 0;
_root.snd.gotoAndPlay(((random(4) + 1) * 2) + 24);
_parent.bullets_shot = _parent.bullets_shot + 1;
_parent.bullets_hited = _parent.bullets_hited + 1;
Set("_root.broched_tete_" + _root.broched_nb, _root.cnt["e_" + nb].tete);
Set("_root.broched_corp_" + _root.broched_nb, _root.cnt["e_" + nb].corp);
_root.broched_nb = _root.broched_nb + 1;
if (_root.broched_nb > 3) {
_root.wp_ammo_7 = _root.wp_ammo_7 - 1;
_root.broched_nb = 1;
_root.waste_lance_go = 2;
}
_root.cnt["e_" + nb]._alpha = 0;
_root.shake = 20;
_parent._parent.gotoAndPlay(2);
}
}
nb++;
}
i++;
}
}
}
Symbol 1395 MovieClip Frame 1
stop();
Symbol 1396 MovieClip Frame 1
stop();
Symbol 1398 MovieClip Frame 3
stop();
Symbol 1398 MovieClip Frame 5
stop();
Symbol 1399 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (((_root.cnt.perso.energy <= 0) || (_root.wp != 9)) || (_root.wp_ammo_9 <= 0)) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
} else {
gotoAndStop (1);
}
};
Symbol 1399 MovieClip Frame 3
stop();
Symbol 1400 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_parent._parent._parent.from_chainsaw_anim == 2) {
gotoAndStop (5);
}
}
stop();
onEnterFrame = function () {
if (_root.wp_ammo_9 > 0) {
if ((((_root.act == 1) && (_root.wp == 9)) && (Key.isDown(32))) && (_root.wp_ammo_9 > 0)) {
if ((_currentframe == 1) || (_currentframe > 5)) {
gotoAndPlay (2);
}
if (_root.shake < 3) {
_root.shake = 3;
}
boxx.boxx.play();
_parent._parent._parent.from_chainsaw_anim = 2;
if (snd._currentframe < 4) {
snd.gotoAndPlay(4);
}
} else {
_parent._parent._parent.from_chainsaw_anim = 1;
if ((_currentframe > 1) && (_currentframe <= 5)) {
gotoAndPlay (6);
}
if ((snd._currentframe == 1) || (snd._currentframe > 3)) {
snd.gotoAndPlay(2);
}
}
} else {
gotoAndStop (11);
}
};
Instance of Symbol 82 MovieClip in Symbol 1400 MovieClip Frame 4
onClipEvent (enterFrame) {
if (Math.abs(_parent._xscale) > 80) {
hited = 1;
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 41) {
if (_root.cnt["e_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt["e_" + nb].energy > 0) {
if (_root.shake < 5) {
_root.shake = 5;
}
_root.cnt["e_" + nb].hited = (3 * _root.wp_9) * 3;
aa = random(3) + 1;
if (aa == 1) {
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", (_root.cnt["e_" + nb]._x + random(50)) - 25);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", ((_root.cnt["e_" + nb]._y - 65) + random(50)) - 25);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb > 10) {
_root.blood_nb = 1;
}
}
}
}
nb++;
}
i++;
}
if (hited_timer == undefined) {
hited_timer = 0;
}
if (hited_timer > 0) {
hited_timer = hited_timer - 1;
} else {
hited_timer = 15;
_root.bullets_shot = _root.bullets_shot + 1;
if (hited == 2) {
_root.bullets_hited = _root.bullets_hited + 1;
}
}
}
}
Symbol 1400 MovieClip Frame 5
stop();
Symbol 1400 MovieClip Frame 10
gotoAndStop (1);
Symbol 1401 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_parent._parent._currentframe);
};
Symbol 1403 MovieClip Frame 1
stop();
Symbol 1403 MovieClip Frame 2
play();
Symbol 1403 MovieClip Frame 20
gotoAndStop (1);
Symbol 1404 MovieClip Frame 1
gotoAndStop(_root.wp);
Symbol 1405 MovieClip Frame 1
if ((((_root.wp == 3) || (_root.wp == 4)) || (_root.wp == 6)) || (_root.wp == 7)) {
if (eval ("_root.wp_ammo_" + _root.wp) <= 0) {
gotoAndPlay (551);
} else {
gotoAndPlay((_root.wp * 50) - 49);
}
} else {
gotoAndPlay((_root.wp * 50) - 49);
}
Symbol 1405 MovieClip Frame 50
gotoAndPlay (2);
Symbol 1405 MovieClip Frame 100
gotoAndPlay(_currentframe - 49);
Symbol 1405 MovieClip Frame 150
gotoAndPlay(_currentframe - 49);
Symbol 1405 MovieClip Frame 200
gotoAndPlay(_currentframe - 49);
Symbol 1405 MovieClip Frame 250
gotoAndPlay(_currentframe - 49);
Symbol 1405 MovieClip Frame 300
gotoAndPlay(_currentframe - 49);
Symbol 1405 MovieClip Frame 350
gotoAndPlay(_currentframe - 49);
Symbol 1405 MovieClip Frame 400
gotoAndPlay(_currentframe - 49);
Symbol 1405 MovieClip Frame 450
gotoAndPlay(_currentframe - 49);
Symbol 1405 MovieClip Frame 500
gotoAndPlay(_currentframe - 49);
Symbol 1405 MovieClip Frame 550
gotoAndPlay(_currentframe - 49);
Symbol 1405 MovieClip Frame 600
gotoAndPlay(_currentframe - 49);
Symbol 1409 MovieClip Frame 14
stop();
onEnterFrame = function () {
aa = _root.cnt.rocket_angle._rotation;
trace(aa);
if (_root.cnt.perso.side == "L") {
if (aa >= 90) {
aa = (180 - aa) + 90;
} else {
aa = aa + 180;
aa = 180 - aa;
aa = aa - 90;
}
} else {
aa = aa + 90;
}
gotoAndStop(Math.round((aa * 100) / 180) + 21);
};
Symbol 1411 MovieClip Frame 1
head.boxx.gotoAndStop(5);
Symbol 1412 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_root.jetpack_on == 2) {
gotoAndStop (10);
}
if (_root.jetpack == 1) {
b1._visible = false;
b2._visible = false;
b3._visible = false;
}
}
stop();
onEnterFrame = function () {
if (_root.jetpack == 2) {
b1._visible = true;
b2._visible = true;
b3._visible = true;
} else {
b1._visible = false;
b2._visible = false;
b3._visible = false;
}
if (_root.jetpack_on == 2) {
if ((_currentframe == 1) || (_currentframe > 10)) {
gotoAndPlay (2);
}
} else if ((_currentframe > 1) && (_currentframe <= 10)) {
gotoAndPlay (11);
}
};
Symbol 1412 MovieClip Frame 10
stop();
Symbol 1413 MovieClip Frame 3
stop();
Symbol 1414 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
head.boxx.gotoAndStop(6);
aa = 1;
}
stop();
onEnterFrame = function () {
if (_parent._parent.ladder_direction == 1) {
aa = aa + 1;
if (aa > 20) {
aa = 1;
}
}
if (_parent._parent.ladder_direction == 2) {
aa = 21;
}
gotoAndStop(aa);
};
Instance of Symbol 639 MovieClip in Symbol 1414 MovieClip Frame 1
onClipEvent (load) {
if (_root.wp != 2) {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.wp != 2) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 1420 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_parent._parent.speedy > -9) {
gotoAndPlay (21);
}
}
Symbol 1420 MovieClip Frame 30
stop();
Symbol 1422 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(40) + 1);
}
Symbol 1423 MovieClip Frame 170
_root.got2go = 3;
Symbol 1424 MovieClip Frame 1
gotoAndPlay(((random(2) + 1) * 30) - 29);
Symbol 1424 MovieClip Frame 30
stop();
Symbol 1424 MovieClip Frame 60
stop();
Symbol 1426 MovieClip Frame 1
speedx = random(60) - 30;
speedy = -random(30);
speedr = speedx;
if (_root.act == 2) {
alreadyonact2 = 2;
}
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;
}
speedr = speedr * 0.95;
};
Instance of Symbol 1172 MovieClip in Symbol 1426 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.act == 1) {
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.gotoAndStop(2);
}
} else if (_root.cnt.hitt2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.gotoAndStop(2);
}
i++;
}
}
Symbol 1426 MovieClip Frame 2
_rotation = (0 + (random(2) * 180));
stop();
onEnterFrame = function () {
if (_root.act == 2) {
if (alreadyonact2 != 2) {
alreadyonact2 = 2;
gotoAndPlay (1);
}
}
};
Symbol 1438 MovieClip Frame 1
if (_parent._parent.cause_of_death == "mine") {
if (_root.ac_5 != 2) {
_root.ac_5 = 2;
_root.ac_done = 5;
}
}
Symbol 1440 MovieClip Frame 1
fall = 1;
speedx = 0;
speedy = 0;
side = "L";
blocked_left = 1;
blocked_right = 1;
ladder = 0;
cover = 1;
candrop = 0;
invisible = 1;
push_box = 1;
stop();
onEnterFrame = function () {
if ((_root.pausedd == 1) && (_root.act == 1)) {
if (energyb != energy) {
if (energyb > energy) {
_root.snd.gotoAndPlay(((random(4) + 1) * 2) + 60);
}
energyb = energy;
}
if ((_root.too_close == 2) && (_root.wp == 0)) {
hitt._xscale = 800;
hitt._yscale = 800;
} else {
hitt._xscale = 120;
hitt._yscale = 176;
}
if (cover == 1) {
speed = 6;
} else {
speed = 4;
}
if ((energy > 0) && (_root.dropcam_timer <= 0)) {
if ((Key.isDown(37) && (!Key.isDown(39))) && (blocked_left == 1)) {
speedx = speed * -1;
side = "L";
}
if (((!Key.isDown(37)) && (Key.isDown(39))) && (blocked_right == 1)) {
speedx = speed;
side = "R";
}
ladder_direction = 0;
jetpack_anim = 1;
if (Key.isDown(38)) {
if ((!Key.isDown(40)) && (ladder != 0)) {
_x = eval (("_parent.ladder_" + ladder) + "._x");
speedx = 0;
_y = (_y - 5);
ladder_direction = 1;
}
if (!Key.isDown(40)) {
if ((((_root.jetpack == 2) && (_root.jetpack_fuel > 0)) && (_root.jetpack_on == 2)) && (ladder == 0)) {
_root.jetpack_fuel = _root.jetpack_fuel - 1;
if (_root.jetpack_fuel <= 0) {
_root.jetpack_on = 1;
}
jetpack_anim = 2;
speedy = -8;
if (_root.fumee_timer > 0) {
_root.fumee_timer = _root.fumee_timer - 1;
} else {
_root.fumee_timer = random(2) + 3;
Set(("_root.cnt.f_" + _root.fumee_nb) + "._x", (_x + random(20)) - 10);
Set(("_root.cnt.f_" + _root.fumee_nb) + "._y", (_y + random(20)) - 10);
eval ("_root.cnt.f_" + _root.fumee_nb).gotoAndStop(1);
eval ("_root.cnt.f_" + _root.fumee_nb).gotoAndStop(2);
_root.fumee_nb = _root.fumee_nb + 1;
if (_root.fumee_nb > 20) {
_root.fumee_nb = 1;
}
}
}
if (((_root.jetpack == 1) || (_root.jetpack_fuel <= 0)) || (_root.jetpack_on == 1)) {
if (((fall == 1) && (keyreleased_38 == 2)) && (ladder == 0)) {
keyreleased_38 = 1;
_root.snd.gotoAndPlay(((random(6) + 1) * 2) + 48);
speedy = -38;
fall_timer = 10;
fall = 2;
fall_animtimer = 10;
}
}
}
} else {
keyreleased_38 = 2;
}
if (Key.isDown(40)) {
if ((!Key.isDown(38)) && (ladder != 0)) {
_x = eval (("_parent.ladder_" + ladder) + "._x");
_y = (_y + 8);
ladder_direction = 2;
}
}
}
_x = (_x + speedx);
_y = (_y + speedy);
speedx = speedx * 0.85;
if (fall == 2) {
fall_animtimer = fall_animtimer + 1;
if (speedy < -0.5) {
speedy = speedy * (1 - _root.gravity);
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * (1 + _root.gravity);
}
if (speedy > 20) {
speedy = 20;
}
} else {
fall_animtimer = 0;
speedy = 0;
}
if (Key.isDown(74)) {
if (keyreleased_74 == 2) {
keyreleased_74 = 1;
if (_root.jetpack == 2) {
if (_root.jetpack_on == 1) {
_root.jetpack_on = 2;
} else {
_root.jetpack_on = 1;
}
}
}
} else {
keyreleased_74 = 2;
}
if (side == "R") {
anims._rotation = speedx * 1;
} else {
anims._rotation = speedx * -1;
}
}
if (((ladder != 0) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_x = eval (("_root.cnt.ladder_" + ladder) + "._x");
}
if (side == "R") {
_xscale = 100;
} else {
_xscale = -100;
}
if (fall == 1) {
fall_timer = 0;
} else {
fall_timer = fall_timer + 1;
}
if (_x < -2488) {
_x = -2488;
}
if (_x > 2480) {
_x = 2480;
}
if (energy < 0) {
energy = 0;
}
if (energy > 0) {
if (_root.act == 1) {
if (ladder != 0) {
anims.gotoAndStop(5);
} else if (jetpack_anim == 2) {
anims.gotoAndStop(7);
} else if ((fall == 2) && (fall_timer > 7)) {
anims.gotoAndStop(6);
} else if (Math.abs(speedx) <= 2) {
if (cover == 2) {
anims.gotoAndStop(3);
} else {
anims.gotoAndStop(1);
}
} else if (push_box == 2) {
anims.gotoAndStop(4);
} else {
anims.gotoAndStop(2);
}
} else {
anims.gotoAndStop(3);
}
} else if (anims._currentframe < 8) {
anims.gotoAndStop(8);
}
push_box = 1;
};
Instance of Symbol 1172 MovieClip in Symbol 1440 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.fall = 1;
} else {
_parent.fall = 2;
}
i++;
}
speed_point = Math.abs(_parent.speedx) + 2;
this.hitpts3 = new Array({x:speed_point, y:-20});
k = 0;
while (k < this.hitpts3.length) {
this.localToGlobal(hitpts3[k]);
if (_root.cnt.hitt.hitTest(hitpts3[k].x, hitpts3[k].y, true)) {
if (_parent.side == "R") {
_parent._x = _parent._x - (_parent.speedx + 1.3);
} else {
_parent._x = _parent._x - (_parent.speedx - 1.3);
}
canremonte = 1;
} else {
canremonte = 2;
}
k++;
}
this.hitpts2 = new Array({x:0, y:-2});
j = 0;
while (j < this.hitpts2.length) {
this.localToGlobal(hitpts2[j]);
if (_root.cnt.hitt.hitTest(hitpts2[j].x, hitpts2[j].y, true)) {
_parent._y = _parent._y - (2 + _parent.speedy);
}
j++;
}
this.hitpts4 = new Array({x:36, y:-20});
l = 0;
while (l < this.hitpts4.length) {
this.localToGlobal(hitpts4[l]);
var nbl = 1;
while (nbl < 21) {
if (_root.cnt["box_" + nbl].hitt.hitTest(hitpts4[l].x, hitpts4[l].y, true)) {
_parent.push_box = 2;
if ((_parent.side == "R") && (_root.cnt["box_" + nbl].blocked_right == 1)) {
_root.cnt["box_" + nbl]._x = _root.cnt["box_" + nbl]._x + 4;
_root.cnt["box_" + nbl].roll = 4;
}
if ((_parent.side == "L") && (_root.cnt["box_" + nbl].blocked_left == 1)) {
_root.cnt["box_" + nbl]._x = _root.cnt["box_" + nbl]._x - 4;
_root.cnt["box_" + nbl].roll = -4;
}
}
nbl++;
}
l++;
}
this.hitpts6 = new Array({x:-18, y:20});
n = 0;
while (n < this.hitpts6.length) {
this.localToGlobal(hitpts6[n]);
var nbn = 1;
while (nbn < 21) {
if (_root.cnt["box_" + nbn].hitt.hitTest(hitpts6[n].x, hitpts6[n].y, true)) {
if (Math.abs(_parent.speedx) > 4) {
if ((_parent.side == "R") && (_root.cnt["box_" + nbn].blocked_left == 1)) {
_root.cnt["box_" + nbn]._x = _root.cnt["box_" + nbn]._x - 1;
}
if ((_parent.side == "L") && (_root.cnt["box_" + nbn].blocked_right == 1)) {
_root.cnt["box_" + nbn]._x = _root.cnt["box_" + nbn]._x + 1;
}
}
}
nbn++;
}
n++;
}
_parent.ladder = 0;
this.hitpts7 = new Array({x:0, y:-50});
o = 0;
while (o < this.hitpts7.length) {
this.localToGlobal(hitpts7[o]);
if (_root.cnt.cover_hitt.hitTest(hitpts7[o].x, hitpts7[o].y, true)) {
_parent.cover = 2;
} else {
_parent.cover = 1;
}
if (_root.cnt.jetpack.hitTest(hitpts7[o].x, hitpts7[o].y, true)) {
_root.cnt.jetpack.gotoAndStop(2);
_root.jetpack = 2;
}
if (_root.cnt.turret.hitt.hitTest(hitpts7[o].x, hitpts7[o].y, true)) {
_root.cnt.turret.inturret = 2;
}
if (_root.cnt.car.boxx.hitt.hitTest(hitpts7[o].x, hitpts7[o].y, true)) {
_root.cnt.car.canact = 2;
} else {
_root.cnt.car.canact = 1;
}
var nbo = 1;
while (nbo < 31) {
if (_root.cnt["item_" + nbo].hitTest(hitpts7[o].x, hitpts7[o].y, true)) {
if (_root.cnt["item_" + nbo]._currentframe == 1) {
_root.cnt["item_" + nbo].gotoAndStop(2);
}
}
if (_root.cnt["ladder_" + nbo].hitt.hitTest(hitpts7[o].x, hitpts7[o].y, true)) {
_parent.ladder = _root.cnt["ladder_" + nbo].nb;
_parent.fall = 1;
}
if (_root.cnt["item_" + nbo].hitt.hitTest(hitpts7[o].x, hitpts7[o].y, true)) {
_root.cnt["item_" + nbo].caninteract = 2;
} else {
_root.cnt["item_" + nbo].caninteract = 1;
}
if (_root.cnt["cam_" + nbo].hitTest(hitpts7[o].x, hitpts7[o].y, true)) {
_root.cam_adjustzone_x = _root.cnt["cam_" + nbo].sx;
_root.cam_adjustzone_y = _root.cnt["cam_" + nbo].sy;
}
if (_root.cnt["tuto_" + nbo].hitTest(hitpts7[o].x, hitpts7[o].y, true)) {
if (_root.cnt["tuto_" + nbo].act == undefined) {
_root.cnt["tuto_" + nbo].act = 2;
}
}
nbo++;
}
o++;
}
this.hitpts8 = new Array({x:0, y:-80});
p = 0;
while (p < this.hitpts8.length) {
this.localToGlobal(hitpts8[p]);
if (_root.cnt.hitt.hitTest(hitpts8[p].x, hitpts8[p].y, true)) {
_parent._y = _parent._y + 3;
_parent.speedy = 1;
if (_parent.ladder != 0) {
_parent._y = _parent._y + 3;
}
if (_parent.jetpack_anim == 2) {
_parent._y = _parent._y + 10;
}
}
p++;
}
}
Symbol 1442 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_parent.walk_typee == undefined) {
_parent.walk_typee = random(2) + 1;
}
aa = (((_parent.walk_typee * 100) - 100) + random(100)) + 1;
}
stop();
onEnterFrame = function () {
aa = aa + (Math.abs(_parent._parent.speedx) * 3);
if (aa > (_parent.walk_typee * 100)) {
aa = (_parent.walk_typee * 100) - 99;
}
gotoAndStop(Math.round(aa));
};
Symbol 1443 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_parent.run_typee == undefined) {
_parent.run_typee = 1;
}
aa = (((_parent.run_typee * 50) - 50) + random(50)) + 1;
}
stop();
onEnterFrame = function () {
aa = aa + Math.abs(_parent._parent.speedx);
if (aa > (_parent.run_typee * 50)) {
aa = (_parent.run_typee * 50) - 49;
}
gotoAndStop(Math.round(aa));
};
Symbol 1444 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = random(50) + 1;
}
stop();
onEnterFrame = function () {
aa = aa + (Math.abs(_parent._parent.speedx) * 3);
if (aa > 50) {
aa = aa - 50;
}
gotoAndStop(Math.round(aa));
};
Symbol 1445 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
aa = random(20) + 1;
if (_parent._parent.rampe == 2) {
aa = aa + 20;
}
}
stop();
onEnterFrame = function () {
aa = random(20) + 1;
if (_parent._parent.rampe == 2) {
aa = aa + 20;
}
gotoAndStop(Math.round(aa));
};
Symbol 1446 MovieClip Frame 1
gotoAndPlay(((random(4) + 1) * 10) - 10);
Symbol 1446 MovieClip Frame 10
stop();
Symbol 1446 MovieClip Frame 20
stop();
Symbol 1446 MovieClip Frame 30
stop();
Symbol 1446 MovieClip Frame 40
stop();
Symbol 1447 MovieClip Frame 25
stop();
Symbol 1448 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
_rotation = (_rotation + (random(360) + 1));
speedr = random(20) - 10;
yadjust = 40;
}
stop();
onEnterFrame = function () {
if (yadjust > 0) {
yadjust = yadjust - 5;
_y = (_y + 5);
}
_rotation = (_rotation + speedr);
speedr = speedr * 0.98;
if (loaded2 != 2) {
loaded2 = 2;
gotoAndPlay(random(25) + 1);
}
};
Symbol 1452 MovieClip Frame 1
_visible = false;
onEnterFrame = function () {
};
Symbol 1452 MovieClip Frame 2
_visible = true;
if (_parent.bloodboostx != undefined) {
boostx = _parent.bloodboostx;
} else {
boostx = 1;
}
if (_parent.bloodboosty != undefined) {
boosty = _parent.bloodboosty;
} else {
boosty = 1;
}
speedx = (random(20) - 10) + boostx;
speedy = (random(20) - 10) + boosty;
_alpha = (random(50) + 50);
_xscale = (random(80) + 20);
_yscale = _xscale;
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
speedx = speedx * 0.92;
if (speedy < -0.5) {
speedy = speedy * 0.88;
}
if ((speedy >= -0.5) && (speedy <= 0.5)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * 1.12;
}
_alpha = (_alpha - 0.2);
if (_alpha <= 0) {
gotoAndStop (1);
}
};
Instance of Symbol 82 MovieClip in Symbol 1452 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 1452 MovieClip Frame 3
_visible = true;
_xscale = (_xscale * 1.5);
_yscale = (_yscale * 0.5);
speedscale = (random(10) + 1) / 100;
timerscale = random(100) + 100;
stop();
onEnterFrame = function () {
if (timerscale >= 0) {
timerscale = timerscale - 1;
_xscale = (_xscale + (speedscale * 2));
_yscale = (_yscale + (speedscale * 2));
}
};
Symbol 1453 MovieClip Frame 250
trace("blood disparait");
_parent.gotoAndStop(1);
stop();
Instance of Symbol 1453 MovieClip in Symbol 1454 MovieClip Frame 1
onClipEvent (load) {
_x = (random(34) - 17);
_y = (random(34) - 17);
bloodlimity = 670 - _parent._y;
bloodboostx = _parent.boostx;
bloodboosty = _parent.boosty;
}
Instance of Symbol 1453 MovieClip in Symbol 1454 MovieClip Frame 10
onClipEvent (load) {
_x = (random(34) - 17);
_y = (random(34) - 17);
bloodlimity = 670 - _parent._y;
bloodboostx = _parent.boostx;
bloodboosty = _parent.boosty;
}
Instance of Symbol 1453 MovieClip in Symbol 1454 MovieClip Frame 21
onClipEvent (load) {
_x = (random(34) - 17);
_y = (random(34) - 17);
bloodlimity = 670 - _parent._y;
bloodboostx = _parent.boostx;
bloodboosty = _parent.boosty;
}
Instance of Symbol 1453 MovieClip in Symbol 1454 MovieClip Frame 30
onClipEvent (load) {
_x = (random(34) - 17);
_y = (random(34) - 17);
bloodlimity = 670 - _parent._y;
bloodboostx = _parent.boostx;
bloodboosty = _parent.boosty;
}
Instance of Symbol 1453 MovieClip in Symbol 1454 MovieClip Frame 40
onClipEvent (load) {
_x = (random(34) - 17);
_y = (random(34) - 17);
bloodlimity = 670 - _parent._y;
bloodboostx = _parent.boostx;
bloodboosty = _parent.boosty;
}
Instance of Symbol 1453 MovieClip in Symbol 1454 MovieClip Frame 50
onClipEvent (load) {
_x = (random(34) - 17);
_y = (random(34) - 17);
bloodlimity = 670 - _parent._y;
bloodboostx = _parent.boostx;
bloodboosty = _parent.boosty;
}
Instance of Symbol 1453 MovieClip in Symbol 1454 MovieClip Frame 60
onClipEvent (load) {
_x = (random(34) - 17);
_y = (random(34) - 17);
bloodlimity = 670 - _parent._y;
bloodboostx = _parent.boostx;
bloodboosty = _parent.boosty;
}
Instance of Symbol 1453 MovieClip in Symbol 1454 MovieClip Frame 70
onClipEvent (load) {
_x = (random(34) - 17);
_y = (random(34) - 17);
bloodlimity = 670 - _parent._y;
bloodboostx = _parent.boostx;
bloodboosty = _parent.boosty;
}
Instance of Symbol 1453 MovieClip in Symbol 1454 MovieClip Frame 80
onClipEvent (load) {
_x = (random(34) - 17);
_y = (random(34) - 17);
bloodlimity = 670 - _parent._y;
bloodboostx = _parent.boostx;
bloodboosty = _parent.boosty;
}
Symbol 1454 MovieClip Frame 90
stop();
Instance of Symbol 1453 MovieClip in Symbol 1454 MovieClip Frame 90
onClipEvent (load) {
_x = (random(34) - 17);
_y = (random(34) - 17);
bloodlimity = 670 - _parent._y;
bloodboostx = _parent.boostx;
bloodboosty = _parent.boosty;
}
Symbol 1455 MovieClip Frame 1
if (_root.wp == 9) {
gotoAndPlay((((random(2) + 1) * 50) - 49) + 100);
} else {
gotoAndPlay(((random(2) + 1) * 50) - 49);
}
Symbol 1455 MovieClip Frame 20
if (_root.shake < 7) {
_root.shake = 7;
}
Symbol 1455 MovieClip Frame 50
stop();
Symbol 1455 MovieClip Frame 70
if (_root.shake < 7) {
_root.shake = 7;
}
Symbol 1455 MovieClip Frame 100
stop();
Symbol 1455 MovieClip Frame 120
if (_root.shake < 7) {
_root.shake = 7;
}
Symbol 1455 MovieClip Frame 150
stop();
Symbol 1455 MovieClip Frame 170
if (_root.shake < 7) {
_root.shake = 7;
}
Symbol 1455 MovieClip Frame 200
stop();
Symbol 1456 MovieClip Frame 1
gotoAndPlay(((random(2) + 1) * 50) - 50);
Symbol 1456 MovieClip Frame 25
if (_root.shake < 7) {
_root.shake = 7;
}
Symbol 1456 MovieClip Frame 37
if (_root.shake < 7) {
_root.shake = 7;
}
Symbol 1456 MovieClip Frame 70
stop();
Symbol 1525 MovieClip Frame 1
gotoAndStop(random(38) + 1);
Symbol 1526 MovieClip Frame 400
_parent._parent.gotoAndStop(1);
stop();
Symbol 1529 MovieClip Frame 1
stop();
Symbol 1532 MovieClip Frame 1
stop();
Symbol 1535 MovieClip Frame 1
stop();
Symbol 1538 MovieClip Frame 1
stop();
Symbol 1539 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.corp);
Symbol 1542 MovieClip Frame 1
stop();
Symbol 1545 MovieClip Frame 1
stop();
Symbol 1548 MovieClip Frame 1
stop();
Symbol 1551 MovieClip Frame 1
stop();
Symbol 1554 MovieClip Frame 1
stop();
Symbol 1557 MovieClip Frame 1
stop();
Symbol 1560 MovieClip Frame 1
stop();
Symbol 1561 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.corp);
Symbol 1578 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.corp);
Symbol 1581 MovieClip Frame 1
stop();
Symbol 1584 MovieClip Frame 1
stop();
Symbol 1587 MovieClip Frame 1
stop();
Symbol 1590 MovieClip Frame 1
stop();
Symbol 1591 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.corp);
Symbol 1594 MovieClip Frame 1
stop();
Symbol 1597 MovieClip Frame 1
stop();
Symbol 1600 MovieClip Frame 1
stop();
Symbol 1603 MovieClip Frame 1
stop();
Symbol 1604 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.corp);
Symbol 1607 MovieClip Frame 1
stop();
Symbol 1610 MovieClip Frame 1
stop();
Symbol 1613 MovieClip Frame 1
stop();
Symbol 1616 MovieClip Frame 1
stop();
Symbol 1617 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.corp);
Symbol 1620 MovieClip Frame 1
stop();
Symbol 1623 MovieClip Frame 1
stop();
Symbol 1626 MovieClip Frame 1
stop();
Symbol 1629 MovieClip Frame 1
stop();
Symbol 1632 MovieClip Frame 1
stop();
Symbol 1635 MovieClip Frame 1
stop();
Symbol 1638 MovieClip Frame 1
stop();
Symbol 1641 MovieClip Frame 1
stop();
Symbol 1644 MovieClip Frame 1
stop();
Symbol 1647 MovieClip Frame 1
stop();
Symbol 1650 MovieClip Frame 1
stop();
Symbol 1653 MovieClip Frame 1
stop();
Symbol 1658 MovieClip Frame 1
stop();
Symbol 1661 MovieClip Frame 1
stop();
Symbol 1664 MovieClip Frame 1
stop();
Symbol 1665 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.corp);
Symbol 1667 MovieClip Frame 1
stop();
Symbol 1670 MovieClip Frame 1
stop();
Symbol 1673 MovieClip Frame 1
stop();
Symbol 1675 MovieClip Frame 1
stop();
Symbol 1676 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.corp);
Symbol 1679 MovieClip Frame 1
stop();
Symbol 1682 MovieClip Frame 1
stop();
Symbol 1685 MovieClip Frame 1
stop();
Symbol 1688 MovieClip Frame 1
stop();
Symbol 1689 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.corp);
Symbol 1692 MovieClip Frame 1
stop();
Symbol 1695 MovieClip Frame 1
stop();
Symbol 1698 MovieClip Frame 1
stop();
Symbol 1701 MovieClip Frame 1
stop();
Symbol 1704 MovieClip Frame 1
stop();
Symbol 1707 MovieClip Frame 1
stop();
Symbol 1710 MovieClip Frame 1
stop();
Symbol 1713 MovieClip Frame 1
stop();
Symbol 1714 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.corp);
Symbol 1717 MovieClip Frame 1
stop();
Symbol 1720 MovieClip Frame 1
stop();
Symbol 1723 MovieClip Frame 1
stop();
Symbol 1726 MovieClip Frame 1
stop();
Symbol 1727 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.corp);
Symbol 1728 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (_parent.walk_typee == undefined) {
_parent.walk_typee = random(2) + 1;
}
gotoAndPlay((((_parent.walk_typee * 50) - 50) + random(100)) + 1);
}
Symbol 1728 MovieClip Frame 50
gotoAndPlay (1);
Symbol 1728 MovieClip Frame 100
gotoAndPlay (51);
Symbol 1729 MovieClip Frame 20
_root.snd.gotoAndPlay(((random(3) + 1) * 2) + 76);
Symbol 1730 MovieClip Frame 50
stop();
Symbol 1732 MovieClip Frame 1
_alpha = (random(30) + 70);
stop();
onEnterFrame = function () {
_xscale = (_xscale + 1);
_yscale = (_yscale + 1.2);
_alpha = (_alpha - 4);
if (_alpha <= 0) {
gotoAndStop (2);
}
};
Symbol 1733 MovieClip Frame 20
_root.shake = 8;
Symbol 1733 MovieClip Frame 57
_root.shake = 12;
Symbol 1733 MovieClip Frame 58
stop();
Symbol 1736 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
if ((((((_root.cnt._x + _parent._x) + _x) > -100) && (((_root.cnt._x + _parent._x) + _x) < 900)) && (((_root.cnt._y + _parent._y) + _y) > -100)) && (((_root.cnt._y + _parent._y) + _y) < 540)) {
_parent._visible = true;
} else {
_parent._visible = false;
}
};
Symbol 1737 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
};
Symbol 1737 MovieClip Frame 2
if (_root.wave == 1) {
aa = 2;
if (aa == 1) {
typee = 2;
} else {
typee = 1;
}
}
if (_root.wave == 2) {
aa = 2;
if (aa == 1) {
typee = 2;
} else {
typee = 1;
}
}
if (_root.wave == 3) {
aa = random(10) + 1;
if (aa == 1) {
typee = 2;
} else {
typee = 1;
}
}
if (_root.wave == 4) {
aa = random(9) + 1;
if (aa == 1) {
typee = 2;
} else {
typee = 1;
}
}
if (_root.wave == 5) {
aa = random(8) + 1;
if (aa == 1) {
typee = 2;
} else {
typee = 1;
}
}
if (_root.wave == 6) {
aa = random(7) + 1;
if (aa == 1) {
typee = 2;
} else {
typee = 1;
}
}
if (_root.wave == 7) {
aa = random(6) + 1;
if (aa == 1) {
typee = 2;
} else {
typee = 1;
}
}
if (_root.wave == 8) {
aa = random(5) + 1;
if (aa == 1) {
typee = 2;
} else {
typee = 1;
}
}
if (_root.wave == 9) {
aa = random(4) + 1;
if (aa == 1) {
typee = 2;
} else {
typee = 1;
}
}
if (_root.wave == 10) {
aa = random(3) + 1;
if (aa == 1) {
typee = 2;
} else {
typee = 1;
}
}
casque = 1;
casque_energy = 0;
if (typee == 1) {
aa = random(3) + 1;
if (aa == 1) {
casque = 2;
casque_energy = 50;
casque_typee = random(2) + 1;
}
}
fall = 1;
speed = ((random(30) + 10) / 20) * 1;
speedx = 0;
speedy = 0;
tete = random(15) + 1;
corp = (((_root.lvl * 5) - 5) + random(5)) + 1;
casque = random(2) + 1;
aa = random(2) + 1;
if (aa == 1) {
side = "R";
_x = _parent.spawnspot_left._x;
_y = _parent.spawnspot_left._y;
if (gennow == 2) {
gennow = 1;
_x = (_parent.spawnspot_left._x + random(1300));
}
} else {
side = "L";
_x = _parent.spawnspot_right._x;
if (gennow == 2) {
gennow = 1;
_x = (_parent.spawnspot_right._x - random(1300));
}
_y = _parent.spawnspot_right._y;
}
if (typee == 1) {
energy = 100;
aa = random(10) + 1;
if (aa == 1) {
run = 2;
speed = speed * 3.2;
} else {
run = 1;
}
} else {
energy = 300;
}
if (speed > 5) {
speed = 5;
}
range = random(40) + 5;
hited = 0;
hited_anim_timer = 0;
die = 1;
rampe = 1;
shotguned = 1;
_alpha = 100;
_visible = true;
stop();
onEnterFrame = function () {
if (((_root.pausedd == 1) && (_root.dropcam_timer <= 0)) && (_root.act != 5)) {
if (energy > 0) {
if ((_x < (_root.cnt.perso._x - range)) || (_x > (_root.cnt.perso._x + range))) {
timer_blood = 0;
inrange = 1;
if (_x <= _root.cnt.perso._x) {
side = "R";
} else {
side = "L";
}
if (side == "R") {
speedx = speed;
} else {
speedx = speed * -1;
}
} else {
if ((_y < (_root.cnt.perso._y - range)) || (_y > (_root.cnt.perso._y + range))) {
inrange = 1;
} else {
inrange = 2;
}
speedx = speedx * 0.8;
}
if (_root.cnt.perso.energy <= 0) {
inrange = 1;
}
if (inrange == 2) {
if (timer_blood > 0) {
timer_blood = timer_blood - 1;
} else {
_root.cnt.perso.energy = _root.cnt.perso.energy - (8 * _root.dif);
timer_blood = 25;
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", _x);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", _y - 65);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb > 10) {
_root.blood_nb = 1;
}
}
} else {
posidoorx_1 = _root.cnt.baricade_back._x + _root.cnt.baricade_back.door_1._x;
posidoory_1 = _root.cnt.baricade_back._y + _root.cnt.baricade_back.door_1._y;
posidoorx_2 = _root.cnt.baricade_back._x + _root.cnt.baricade_back.door_2._x;
posidoory_2 = _root.cnt.baricade_back._y + _root.cnt.baricade_back.door_2._y;
distx_1 = posidoorx_1 - _x;
disty_1 = posidoory_1 - (_y - 40);
dist1 = Math.sqrt(Math.abs(Math.pow(distx_1, 2)) + Math.abs(Math.pow(disty_1, 2)));
distx_2 = posidoorx_2 - _x;
disty_2 = posidoory_2 - (_y - 40);
dist2 = Math.sqrt(Math.abs(Math.pow(distx_2, 2)) + Math.abs(Math.pow(disty_2, 2)));
if (dist1 < 100) {
inrange = 2;
_root.door_energy_1 = _root.door_energy_1 - (1.2 * _root.dif);
}
if (dist2 < 100) {
inrange = 2;
_root.door_energy_2 = _root.door_energy_2 - (1.2 * _root.dif);
}
}
if (hited > 0) {
if (casque == 2) {
casque_energy = casque_energy - hited;
if (casque_energy <= 0) {
casque = 1;
anims.boxx.b1.casque.gotoAndStop(1);
eval ("_root.cnt.casque_" + _root.casque_nb).gotoAndStop(1);
eval ("_root.cnt.casque_" + _root.casque_nb).gotoAndStop(2);
Set(("_root.cnt.casque_" + _root.casque_nb) + "._x", _x);
Set(("_root.cnt.casque_" + _root.casque_nb) + "._y", _y - 75);
Set(("_root.cnt.casque_" + _root.casque_nb) + ".casque_typee", casque_typee);
_root.casque_nb = _root.casque_nb + 1;
if (_root.casque_nb > 5) {
_root.casque_nb = 1;
}
}
hited = 0;
} else {
energy = energy - hited;
if (typee == 1) {
if (_root.lvl != 2) {
_root.snd.gotoAndPlay(((random(8) + 1) * 2) + 32);
}
} else {
_root.snd.gotoAndPlay(((random(4) + 1) * 2) + 68);
}
if ((energy <= 35) && (_root.wp <= 2)) {
aa = random(4) + 1;
if (aa == 1) {
rampe = 2;
}
}
if (side == "R") {
_x = (_x - hited);
}
if (side == "L") {
_x = (_x + hited);
}
if ((energy <= 0) && (_root.wp == 2)) {
speedx = speedx * -4;
shotguned = 2;
}
hited = 0;
hited_anim_timer = 10;
if (_root.wp == 2) {
hited_anim_timer = 25;
}
}
}
if (hited_anim_timer > 0) {
hited_anim_timer = hited_anim_timer - 1;
}
} else {
if (die == 1) {
die = 2;
if (typee == 1) {
_root.snd.gotoAndPlay(((random(8) + 1) * 2) + 8);
} else {
_root.snd.gotoAndPlay(((random(6) + 1) * 2) + 82);
}
_root.zombies_killed = _root.zombies_killed + 1;
_root.interr.wave_boxx.gen.enemies_alive = _root.interr.wave_boxx.gen.enemies_alive - 1;
}
speedx = speedx * 0.95;
if (anim_frame == 10) {
speedy = 0;
}
}
_x = (_x + speedx);
_y = (_y + speedy);
if (fall == 2) {
fall_animtimer = fall_animtimer + 1;
if (speedy < -0.5) {
speedy = speedy * (1 - _root.gravity);
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * (1 + _root.gravity);
}
if (speedy > 20) {
speedy = 20;
}
} else {
fall_animtimer = 0;
speedy = 0;
}
anims._rotation = Math.round(speedx * 0.5);
}
if (side == "R") {
_xscale = 100;
} else {
_xscale = -100;
}
if (fall == 1) {
fall_timer = 0;
} else {
fall_timer = fall_timer + 1;
}
if (_x < -2488) {
_x = -2488;
}
if (_x > 2480) {
_x = 2480;
}
if (energy > 0) {
if (hited_anim_timer <= 0) {
if (inrange == 1) {
if (rampe == 1) {
if (run == 1) {
anim_frame = 1;
} else {
anim_frame = 2;
}
} else {
anim_frame = 3;
}
} else {
inrange = 1;
anim_frame = 4;
}
} else if (rampe == 1) {
if (_root.wp == 2) {
anim_frame = 5;
} else {
anim_frame = 6;
}
} else {
anim_frame = 3;
}
} else if (anim_frame < 8) {
if (shotguned == 1) {
anim_frame = 8;
} else {
anim_frame = 9;
}
}
anims.gotoAndStop(((typee * 20) - 20) + anim_frame);
if (_y > 1000) {
_x = _parent.spawnspot_left._x;
_y = _parent.spawnspot_left._y;
}
};
Instance of Symbol 1172 MovieClip in Symbol 1737 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.fall = 1;
} else {
_parent.fall = 2;
}
i++;
}
speed_point = Math.abs(_parent.speedx) + 2;
this.hitpts3 = new Array({x:speed_point, y:-20});
k = 0;
while (k < this.hitpts3.length) {
this.localToGlobal(hitpts3[k]);
if (_root.cnt.hitt.hitTest(hitpts3[k].x, hitpts3[k].y, true)) {
if (_parent.side == "R") {
_parent._x = _parent._x - (_parent.speedx + 1.3);
} else {
_parent._x = _parent._x - (_parent.speedx - 1.3);
}
canremonte = 1;
} else {
canremonte = 2;
}
k++;
}
this.hitpts2 = new Array({x:0, y:-2});
j = 0;
while (j < this.hitpts2.length) {
this.localToGlobal(hitpts2[j]);
if (_root.cnt.hitt.hitTest(hitpts2[j].x, hitpts2[j].y, true)) {
_parent._y = _parent._y - (2 + _parent.speedy);
}
j++;
}
this.hitpts4 = new Array({x:0, y:-35});
l = 0;
while (l < this.hitpts4.length) {
this.localToGlobal(hitpts4[l]);
if (_root.cnt.hitt.hitTest(hitpts4[l].x, hitpts4[l].y, true)) {
_parent._y = _parent._y - (2 + _parent.speedy);
}
if (_parent.energy > 0) {
var nbl = 1;
while (nbl < 11) {
if (_root.cnt["mine_" + nbl].hitt.hitTest(hitpts4[l].x, hitpts4[l].y, true)) {
_root.cnt["mine_" + nbl].gotoAndStop(3);
}
nbl++;
}
}
l++;
}
this.hitpts5 = new Array({x:-25, y:-35});
m = 0;
while (m < this.hitpts5.length) {
this.localToGlobal(hitpts5[m]);
if (_root.cnt.hitt.hitTest(hitpts5[m].x, hitpts5[m].y, true)) {
if (_parent.side == "R") {
_parent._x = _parent._x + 30;
} else {
_parent._x = _parent._x - 30;
}
}
m++;
}
}
Instance of Symbol 1740 MovieClip in Symbol 1741 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 1747 MovieClip Frame 1
_visible = false;
stop();
Symbol 1747 MovieClip Frame 2
_xscale = (random(50) + 75);
_yscale = _xscale;
_alpha = (random(50) + 50);
_x = (_x + (-15 + random(30)));
_y = (_y + (-15 + random(30)));
_visible = true;
play();
Symbol 1763 MovieClip Frame 1
timer = 0;
boxx.gotoAndPlay(random(18) + 1);
boxx.boxx.gotoAndPlay(random(25) + 1);
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
boxx.boxx.boxx.gotoAndStop(random(7) + 1);
timer = random(7) + 3;
}
};
Instance of Symbol 1764 MovieClip in Symbol 1765 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.rocket_fuel_st <= 0) {
_visible = false;
}
}
Symbol 1768 MovieClip Frame 1
onEnterFrame = function () {
if (_root.rocket_fuel_st <= 0) {
if (_currentframe < 4) {
gotoAndPlay (4);
}
}
};
Symbol 1768 MovieClip Frame 3
stop();
Symbol 1768 MovieClip Frame 5
stop();
Symbol 1769 MovieClip Frame 1
_visible = false;
stop();
Symbol 1769 MovieClip Frame 2
_visible = true;
stop();
Instance of Symbol 1743 MovieClip in Symbol 1769 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 1743 MovieClip in Symbol 1769 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 1769 MovieClip Frame 3
_root.shake = 80;
_root.act = 4;
_x = (_x + (_root.powerocketx * 3));
_y = (_y + (_root.powerockety * 3));
boom._xscale = 100 + (25 * _root.wp_10);
boom._yscale = boom._xscale;
Symbol 1769 MovieClip Frame 50
_root.act = 1;
Symbol 1772 MovieClip Frame 1
stop();
onEnterFrame = function () {
};
Symbol 1772 MovieClip Frame 2
_root.cam_nb = 1;
timer = 3;
timer_st = 0;
stop();
onEnterFrame = function () {
if (timer_st > 0) {
timer_st = timer_st - 1;
} else {
timer_st = timer;
eval ("_root.cnt.camt_" + _root.cam_nb).gotoAndStop(1);
eval ("_root.cnt.camt_" + _root.cam_nb).gotoAndStop(2);
Set(("_root.cnt.camt_" + _root.cam_nb) + "._x", _parent._parent._x + _parent._parent.boxx._x);
Set(("_root.cnt.camt_" + _root.cam_nb) + "._y", _parent._parent._y + _parent._parent.boxx._y);
Set(("_root.cnt.camt_" + _root.cam_nb) + ".boxx._xscale", _parent._parent.boxx._xscale);
Set(("_root.cnt.camt_" + _root.cam_nb) + ".boxx.boxx._rotation", _parent._parent.boxx.boxx._rotation);
_root.cam_nb = _root.cam_nb + 1;
if (_root.cam_nb > 10) {
_root.cam_nb = 1;
}
}
};
Symbol 1776 MovieClip Frame 1
stop();
Symbol 1776 MovieClip Frame 3
stop();
Symbol 1776 MovieClip Frame 5
stop();
Symbol 1777 MovieClip Frame 1
side = "R";
inturret = 1;
rot = 0;
cooling = 3;
cooling_st = 0;
cam_shoot_timer = 0;
cam_bullet = "";
stop();
onEnterFrame = function () {
if (_root.pausedd == 1) {
if (inturret == 2) {
daxboxx._visible = true;
if (from_turretout == 2) {
from_turretout = 1;
_root.snd.gotoAndPlay(((random(7) + 1) * 2) + 114);
}
_root.cnt.perso._x = _x + boxx._x;
_root.cnt.perso._y = _y + boxx._y;
_root.cnt.perso.side = side;
if (Key.isDown(37) && (!Key.isDown(39))) {
if (side == "R") {
side = "L";
}
}
if (Key.isDown(39) && (!Key.isDown(37))) {
if (side == "L") {
side = "R";
}
}
if (Key.isDown(38) && (!Key.isDown(40))) {
rot = rot - 0.5;
}
if (Key.isDown(40) && (!Key.isDown(38))) {
rot = rot + 0.5;
}
if (Key.isDown(88)) {
if (keyreleased_88 == 2) {
keyreleased_8 = 1;
inturret = 1;
_root.cnt.perso._x = _x;
_root.cnt.perso._y = _root.cnt.perso._y + 100;
_root.cnt.perso.speedy = 0;
}
} else {
keyreleased_88 = 2;
}
if (Key.isDown(32)) {
if ((cooling_st <= 0) && (_root.wp_ammo_1 > 0)) {
cooling_st = cooling;
if (snd._currentframe != 2) {
snd.gotoAndStop(2);
}
_root.wp_ammo_1 = _root.wp_ammo_1 - 1;
eval ("_root.cnt.b_" + _root.bullet_nb).gotoAndStop(1);
eval ("_root.cnt.b_" + _root.bullet_nb).gotoAndStop(2);
Set(("_root.cnt.b_" + _root.bullet_nb) + "._x", _x + boxx._x);
Set(("_root.cnt.b_" + _root.bullet_nb) + "._y", _y + boxx._y);
Set(("_root.cnt.b_" + _root.bullet_nb) + ".boxx._xscale", boxx._xscale);
Set(("_root.cnt.b_" + _root.bullet_nb) + ".boxx.boxx._rotation", boxx.boxx._rotation);
_root.bullet_nb = _root.bullet_nb + 1;
if (_root.bullet_nb > 10) {
_root.bullet_nb = 1;
}
if (_root.shake < 4) {
_root.shake = 4;
}
}
if (cooling_st > 0) {
cooling_st = cooling_st - 1;
}
}
} else {
daxboxx._visible = false;
from_turretout = 2;
}
if (((!Key.isDown(32)) || (inturret == 1)) || (_root.wp_ammo_1 <= 0)) {
if (snd._currentframe == 2) {
snd.gotoAndPlay(4);
}
}
if (rot < -35) {
rot = -35;
}
if (rot > 55) {
rot = 55;
}
boxx.boxx._rotation = rot;
boxx.boxx.gotoAndStop(inturret);
speed_posix = 0.08;
sx = posix;
speedx = (sx - boxx._x) * speed_posix;
if ((boxx._x < (sx - 0.5)) || (boxx._x > (sx + 0.5))) {
boxx._x = boxx._x + speedx;
}
if ((boxx._x > -50) && (boxx._x < 50)) {
cam_shoot_timer = 0;
}
if (side == "R") {
posix = 60;
boxx._xscale = 100;
} else {
posix = -60;
boxx._xscale = -100;
}
if (inturret == 1) {
posix = 0;
}
}
};
Symbol 1784 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
if (((_root.cnt.turret.inturret == 2) && (_root.what != "perso")) && (_root.dropcam_timer <= 0)) {
speed = 0.2;
sx = eval (("_root.cnt." + _root.what) + "._x");
sy = eval (("_root.cnt." + _root.what) + "._y");
speedx = (sx - _x) * speed;
speedy = (sy - _y) * speed;
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + speedx);
}
if ((_y < (sy - 0.5)) || (_y > (sy + 0.5))) {
_y = (_y + speedy);
}
_xscale = _parent.turret.boxx._xscale;
boxx._rotation = _parent.turret.boxx.boxx._rotation - 90;
_visible = true;
} else {
_visible = false;
}
};
Symbol 1792 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
if (_parent.dax_boxx._currentframe == 1) {
_visible = false;
} else {
_visible = true;
}
};
Instance of Symbol 672 MovieClip in Symbol 1800 MovieClip Frame 1
onClipEvent (load) {
gaztank = 2;
gotoAndStop(_parent._parent._parent.typee);
}
Symbol 1801 MovieClip Frame 120
stop();
Symbol 1802 MovieClip Frame 1
timer = (25 * nb) * 50;
caninteract = 1;
_alpha = 100;
_visible = false;
stop();
onEnterFrame = function () {
if (_root.pausedd == 1) {
if (timer > 0) {
timer = timer - 1;
} else {
gotoAndStop (2);
}
}
};
Symbol 1802 MovieClip Frame 2
_y = -700;
_x = (random(1600) - 800);
_visible = true;
speedy = 5;
_root.dropcam_wich = nb;
if (_root.nevercamitem != 2) {
_root.nevercamitem = 2;
_root.dropcam_timer = 80;
}
_root.dropitem_timer = 70;
generate_item = 2;
stop();
onEnterFrame = function () {
if (_root.pausedd == 1) {
if (generate_item == 2) {
typee = random(10) + 1;
if ((eval ("_root.wp_" + typee) >= 1) && (typee != 5)) {
generate_item = 1;
if (((typee == 1) && (_root.door_energy_1 <= 0)) && (_root.door_energy_2 <= 0)) {
generate_item = 2;
}
}
}
_y = (_y + speedy);
}
};
Instance of Symbol 82 MovieClip in Symbol 1802 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 1802 MovieClip Frame 3
caissemonte = 1;
_root.shake = 8;
caninteract = 1;
barre_energy = 125;
barre_energy_max = barre_energy;
wp_before_action = 0;
stop();
onEnterFrame = function () {
if (_root.pausedd == 1) {
barre.gotoAndStop(Math.round((barre_energy * 100) / barre_energy_max) + 1);
if ((caninteract == 2) && (_root.cnt.car.incar == 1)) {
barre._visible = true;
if (Key.isDown(88)) {
if (_root.wp != 2) {
wp_before_action = _root.wp;
_root.wp = 2;
}
barre_energy = barre_energy - 1.5;
if (barre_energy <= 0) {
gotoAndStop (4);
}
_root.cnt.perso._x = _x;
_root.cnt.perso.anims.gotoAndStop(1);
if (barre_energy > 0) {
if (_root.cnt.perso.anims.boxx.arms.boxx._currentframe < 21) {
_root.cnt.perso.anims.boxx.arms.boxx.gotoAndPlay(21);
}
} else if (_root.cnt.perso.anims.boxx.arms.boxx._currentframe >= 21) {
_root.cnt.perso.anims.boxx.arms.boxx.gotoAndPlay(1);
}
}
} else {
if (_root.cnt.perso.anims.boxx.arms.boxx._currentframe >= 21) {
_root.cnt.perso.anims.boxx.arms.boxx.gotoAndPlay(1);
}
barre._visible = false;
if (wp_before_action != 0) {
_root.wp = wp_before_action;
wp_before_action = 0;
}
}
if (caissemonte == 2) {
_y = (_y - 1);
}
if (parachute._y < 100) {
parachute._y = parachute._y + speedy;
}
}
};
Instance of Symbol 82 MovieClip "hitt" in Symbol 1802 MovieClip Frame 3
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.caissemonte = 2;
} else {
_parent.caissemonte = 1;
}
i++;
}
}
Symbol 1802 MovieClip Frame 4
caninteract = 1;
_root.items_collected = _root.items_collected + 1;
if (_root.shake < 3) {
_root.shake = 3;
}
if (typee == 9) {
typee = 8;
}
wp_namee_1 = "TURRET AMMO";
wp_namee_2 = "SHOTGUN AMMO";
wp_namee_3 = "MINES";
wp_namee_4 = "C-4 BOMBS";
wp_namee_6 = "GRENADES";
wp_namee_7 = "LANCES";
wp_namee_8 = "GAZ LITRES";
wp_namee_10 = "ROCKETS";
item_namee = eval ("wp_namee_" + typee);
if (typee == 1) {
ammo = 300;
}
if (typee == 2) {
ammo = (random(2) + 1) * 4;
}
if (typee == 3) {
ammo = (random(2) + 1) * 2;
}
if (typee == 4) {
ammo = (random(2) + 1) * 2;
}
if (typee == 5) {
ammo = (random(2) + 1) * 1;
}
if (typee == 6) {
ammo = (random(2) + 1) * 2;
}
if (typee == 7) {
ammo = random(3) + 1;
}
if (typee == 8) {
ammo = ((random(2) + 1) * 10) * 50;
}
if (typee == 10) {
ammo = (random(2) + 1) * 1;
}
timer = 300;
aff_ammo = "+ " + ammo;
Set("_root.wp_ammo_" + typee, eval ("_root.wp_ammo_" + typee) + ammo);
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else if (_alpha > 0) {
_alpha = (_alpha - 1);
} else {
gotoAndPlay (5);
}
};
Symbol 1802 MovieClip Frame 5
play();
onEnterFrame = function () {
};
Symbol 1802 MovieClip Frame 50
gotoAndStop (1);
Symbol 1807 MovieClip Frame 1
_visible = false;
stop();
Symbol 1807 MovieClip Frame 2
_visible = true;
stop();
Symbol 1813 MovieClip Frame 1
speedx = random(20) - 10;
speedy = -random(20);
speedr = random(20) - 10;
boxx.gotoAndStop(random(20) + 1);
_alpha = (random(80) + 20);
_xscale = (random(35) + 5);
_yscale = _xscale;
aa = random(2) + 1;
if (aa == 1) {
_xscale = (_xscale * -1);
}
_rotation = (random(360) + 1);
_x = (random(40) - 20);
_y = (random(40) - 20);
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
_rotation = (_rotation + speedr);
speedx = speedx * 0.95;
if (speedy < -0.5) {
speedy = speedy * 0.88;
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * 1.12;
}
speedr = speedr * 0.972;
};
Instance of Symbol 82 MovieClip in Symbol 1813 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)) {
if (_parent.speedy < 2) {
_parent.speedy = 0;
_parent.play();
} else {
_parent.speedy = _parent.speedy * -0.35;
_parent.speedr = _parent.speedr * -2.5;
}
}
i++;
}
}
Symbol 1813 MovieClip Frame 250
stop();
Symbol 1814 MovieClip Frame 1
_visible = false;
stop();
Symbol 1814 MovieClip Frame 2
_visible = true;
stop();
Symbol 1822 MovieClip Frame 1
gotoAndPlay((random(4) + 1) * 2);
Symbol 1822 MovieClip Frame 3
stop();
Symbol 1822 MovieClip Frame 5
stop();
Symbol 1822 MovieClip Frame 7
stop();
Symbol 1822 MovieClip Frame 9
stop();
Symbol 1825 MovieClip Frame 1
gotoAndPlay((random(4) + 1) * 2);
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 1826 MovieClip Frame 1
gotoAndPlay((random(3) + 1) * 2);
Symbol 1826 MovieClip Frame 3
stop();
Symbol 1826 MovieClip Frame 5
stop();
Symbol 1826 MovieClip Frame 7
stop();
Symbol 1827 MovieClip Frame 8
stop();
Symbol 1828 MovieClip Frame 1
_root.bullets_shots = _root.bullets_shots + 1;
stop();
Instance of Symbol 82 MovieClip in Symbol 1828 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);
}
if (_root.cnt.boss.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.boss.energy = _root.cnt.boss.energy - 15;
_parent.gotoAndStop(4);
}
var nb = 1;
while (nb < 21) {
if (_root.cnt["e_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt["e_" + nb].energy > 0) {
if (eval ("_parent.touch_" + nb) != 2) {
Set("_parent.touch_" + nb, 2);
_root.cnt["e_" + nb].hited = (2 + (6 * _root.wp_1)) * 3;
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", (_root.cnt["e_" + nb]._x + random(50)) - 25);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", ((_root.cnt["e_" + nb]._y - 65) + random(50)) - 25);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb > 10) {
_root.blood_nb = 1;
}
_root.bullets_hited = _root.bullets_hited + 1;
if (_root.cnt["e_" + nb].casque == 1) {
_parent.gotoAndStop(3);
} else {
_parent.gotoAndStop(5);
}
} else {
trace("already touch");
}
}
}
nb++;
}
i++;
}
}
Symbol 1828 MovieClip Frame 2
_x = (_x - _parent.speed);
Instance of Symbol 1817 MovieClip in Symbol 1828 MovieClip Frame 2
onClipEvent (enterFrame) {
point = new Object();
point.x = _x;
point.y = _y;
pointx = localToGlobal(point);
_root.boomx = point.x - _root.cnt._x;
_root.boomy = point.y - _root.cnt._y;
if (_parent._currentframe == 2) {
eval ("_root.cnt.t_" + _root.terre_nb).gotoAndStop(1);
eval ("_root.cnt.t_" + _root.terre_nb).gotoAndStop(2);
Set(("_root.cnt.t_" + _root.terre_nb) + "._x", _root.boomx);
Set(("_root.cnt.t_" + _root.terre_nb) + "._y", _root.boomy);
_root.terre_nb = _root.terre_nb + 1;
if (_root.terre_nb > 20) {
_root.terre_nb = 1;
}
eval ("_root.cnt.h_" + _root.hole_nb).gotoAndStop(1);
eval ("_root.cnt.h_" + _root.hole_nb).gotoAndStop(2);
Set(("_root.cnt.h_" + _root.hole_nb) + "._x", _root.boomx);
Set(("_root.cnt.h_" + _root.hole_nb) + "._y", _root.boomy);
Set(("_root.cnt.h_" + _root.hole_nb) + "._rotation", 0);
_root.hole_nb = _root.hole_nb + 1;
if (_root.hole_nb > 20) {
_root.hole_nb = 1;
}
} else {
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.boomx);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", _root.boomy);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb > 20) {
_root.blood_nb = 1;
}
}
_parent.gotoAndStop(6);
}
Symbol 1829 MovieClip Frame 1
speed = 100;
boxx._x = boxx._x + (random(150) + 100);
boxx._y = boxx._y + (random(30) - 15);
stop();
onEnterFrame = function () {
boxx._x = boxx._x + speed;
};
Symbol 1831 MovieClip Frame 1
_visible = false;
stop();
Symbol 1831 MovieClip Frame 2
_visible = true;
stop();
Symbol 1835 MovieClip Frame 1
stop();
Symbol 1835 MovieClip Frame 3
stop();
Symbol 1837 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
};
Symbol 1837 MovieClip Frame 2
_visible = true;
_x = _parent.perso._x;
_y = (_parent.perso._y - 50);
hitt._y = hitt._y + 4000;
speedx = 10;
if (_root.cnt.perso.side == "L") {
speedx = speedx * -1;
}
speedy = -4;
canmove = 2;
fall = 2;
stop();
onEnterFrame = function () {
if ((_root.pausedd == 1) && (canmove == 2)) {
_x = (_x + speedx);
_y = (_y + speedy);
speedx = speedx * 0.9;
if (fall == 2) {
fall_timer = fall_timer + 1;
if (speedy < -0.5) {
speedy = speedy * (1 - _root.gravity);
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * (1 + _root.gravity);
}
if (speedy > 20) {
speedy = 20;
}
} else {
hitt._y = 0;
fall_timer = 0;
speedy = 0;
}
}
};
Instance of Symbol 1833 MovieClip in Symbol 1837 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.fall = 1;
if (nevertouchfloor != 2) {
nevertouchfloor = 2;
_parent.snd.gotoAndPlay(2);
}
} else {
_parent.fall = 2;
}
i++;
}
this.hitpts2 = new Array({x:0, y:-2});
j = 0;
while (j < this.hitpts2.length) {
this.localToGlobal(hitpts2[j]);
if (_root.cnt.hitt.hitTest(hitpts2[j].x, hitpts2[j].y, true)) {
_parent._y = _parent._y - (2 + _parent.speedy);
}
j++;
}
s_r = Math.abs(_parent.speedx);
s_l = Math.abs(_parent.speedx) * -1;
this.hitpts6 = new Array({x:s_r, y:0});
n = 0;
while (n < this.hitpts6.length) {
this.localToGlobal(hitpts6[n]);
if (_root.cnt.hitt.hitTest(hitpts6[n].x, hitpts6[n].y, true)) {
_parent._x = _parent._x - (_parent.speedx + 2);
_parent.speedx = _parent.speedx * -0.7;
}
n++;
}
this.hitpts3 = new Array({x:s_l, y:0});
k = 0;
while (k < this.hitpts3.length) {
this.localToGlobal(hitpts3[k]);
if (_root.cnt.hitt.hitTest(hitpts3[k].x, hitpts3[k].y, true)) {
_parent._x = _parent._x - (_parent.speedx - 2);
_parent.speedx = _parent.speedx * -0.7;
}
k++;
}
}
Symbol 1837 MovieClip Frame 3
cause_of_death = "mine";
_root.shake = 20;
boom._xscale = 30 + (40 * _root.wp_3);
boom._yscale = boom._xscale;
Symbol 1842 MovieClip Frame 1
_parent.cantimer = 1;
timer = 75;
onEnterFrame = function () {
if (_root.pausedd == 1) {
if ((_parent.cantimer == 2) || (_parent._currentframe == 2)) {
_parent._visible = true;
if (timer > 0) {
timer = timer - 1;
if (_parent._currentframe == 1) {
_parent._x = _root.cnt.perso._x;
_parent._y = _root.cnt.perso._y - 75;
}
} else {
if (_parent._currentframe == 1) {
_root.grenades_nb = _root.grenades_nb + 1;
if (_root.grenades_nb > 10) {
_root.grenades_nb = 1;
}
_root.grenade_to_released = 1;
}
_parent.gotoAndStop(3);
}
aff = Math.ceil(timer / 50);
}
}
};
Symbol 1842 MovieClip Frame 2
stop();
Symbol 1844 MovieClip Frame 1
stop();
Symbol 1844 MovieClip Frame 3
stop();
Symbol 1846 MovieClip Frame 1
boxx._visible = false;
_visible = false;
stop();
onEnterFrame = function () {
};
Symbol 1846 MovieClip Frame 2
boxx._visible = true;
_visible = true;
_x = _parent.perso._x;
_y = (_parent.perso._y - 50);
speedx = 13;
if (_root.cnt.perso.side == "L") {
speedx = speedx * -1;
}
speedy = -30;
stop();
onEnterFrame = function () {
if (_root.pausedd == 1) {
_x = (_x + speedx);
_y = (_y + speedy);
boxx._rotation = boxx._rotation + speedx;
speedx = speedx * 0.97;
if (fall == 2) {
fall_timer = fall_timer + 1;
if (speedy < -0.5) {
speedy = speedy * (1 - _root.gravity);
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * (1 + _root.gravity);
}
if (speedy > 20) {
speedy = 20;
}
} else {
fall_timer = 0;
speedy = 0;
}
}
};
Instance of Symbol 1833 MovieClip in Symbol 1846 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.fall = 1;
} else {
_parent.fall = 2;
}
i++;
}
s_r = Math.abs(_parent.speedx);
s_l = Math.abs(_parent.speedx) * -1;
s_d = Math.abs(_parent.speedy);
s_u = Math.abs(_parent.speedy) * -1;
this.hitpts5 = new Array({x:0, y:s_d});
m = 0;
while (m < this.hitpts5.length) {
this.localToGlobal(hitpts5[m]);
if (_root.cnt.hitt.hitTest(hitpts5[m].x, hitpts5[m].y, true)) {
_parent._y = _parent._y - (_parent.speedy * 1.5);
_parent.speedy = _parent.speedy * -0.35;
canside = 1;
_parent.snd.gotoAndPlay(2);
} else {
canside = 2;
}
m++;
}
if (canside == 2) {
this.hitpts6 = new Array({x:s_r, y:0});
n = 0;
while (n < this.hitpts6.length) {
this.localToGlobal(hitpts6[n]);
if (_root.cnt.hitt.hitTest(hitpts6[n].x, hitpts6[n].y, true)) {
_parent._x = _parent._x - (_parent.speedx + 2);
_parent.speedx = _parent.speedx * -0.7;
_parent.snd.gotoAndPlay(2);
}
n++;
}
this.hitpts3 = new Array({x:s_l, y:0});
k = 0;
while (k < this.hitpts3.length) {
this.localToGlobal(hitpts3[k]);
if (_root.cnt.hitt.hitTest(hitpts3[k].x, hitpts3[k].y, true)) {
_parent._x = _parent._x - (_parent.speedx - 2);
_parent.speedx = _parent.speedx * -0.7;
_parent.snd.gotoAndPlay(2);
}
k++;
}
}
}
Symbol 1846 MovieClip Frame 3
_visible = true;
_root.shake = 20;
boom._xscale = 50 + (50 * _root.wp_6);
boom._yscale = boom._xscale;
stop();
onEnterFrame = function () {
};
Symbol 1849 MovieClip Frame 1
stop();
onEnterFrame = function () {
};
Symbol 1849 MovieClip Frame 2
nb = _root.c4_nb;
nb_start = nb;
nb = nb + 1;
if (nb > 10) {
nb = 1;
}
timer_st = 8;
timer = timer_st;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
if (eval (("_root.cnt.c4_" + nb) + "._currentframe") == 2) {
eval ("_root.cnt.c4_" + nb).gotoAndStop(3);
_root.what = "c4_" + nb;
timer = timer_st;
} else {
timer = 0;
}
nb = nb + 1;
if (nb > 10) {
nb = 1;
}
if (nb == nb_start) {
gotoAndStop (1);
}
}
};
Symbol 1851 MovieClip Frame 1
stop();
Symbol 1851 MovieClip Frame 3
stop();
Symbol 1853 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
};
Symbol 1853 MovieClip Frame 2
_visible = true;
_x = _parent.perso._x;
_y = (_parent.perso._y - 50);
speedx = 10;
if (_root.cnt.perso.side == "L") {
speedx = speedx * -1;
}
speedy = 0;
canmove = 2;
stop();
onEnterFrame = function () {
if ((_root.pausedd == 1) && (canmove == 2)) {
_x = (_x + speedx);
_y = (_y + speedy);
speedx = speedx * 0.9;
if (fall == 2) {
fall_timer = fall_timer + 1;
if (speedy < -0.5) {
speedy = speedy * (1 - _root.gravity);
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * (1 + _root.gravity);
}
if (speedy > 20) {
speedy = 20;
}
} else {
fall_timer = 0;
speedy = 0;
}
}
};
Instance of Symbol 1833 MovieClip in Symbol 1853 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.canmove = 1;
_parent.fall = 1;
if (never_touchfloor != 2) {
never_touchfloor = 2;
_parent.snd.gotoAndPlay(2);
}
} else {
_parent.fall = 2;
}
i++;
}
}
Symbol 1853 MovieClip Frame 3
_visible = true;
_root.shake = 20;
_root.bullets_shots = _root.bullets_shots + 1;
boom._xscale = 20 + (30 * _root.wp_4);
boom._yscale = boom._xscale;
stop();
onEnterFrame = function () {
};
Symbol 1856 MovieClip Frame 1
_root.bullets_shots = _root.bullets_shots + 1;
boxx._xscale = random(50) + 50;
boxx._yscale = boxx._xscale;
speedx = 32 + random(8);
speedy = (_y * 3.7) / 12;
touch_1 = 1;
touch_2 = 1;
touch_3 = 1;
touch_4 = 1;
touch_5 = 1;
touch_6 = 1;
touch_7 = 1;
touch_8 = 1;
touch_9 = 1;
touch_10 = 1;
touch_11 = 1;
touch_12 = 1;
touch_13 = 1;
touch_14 = 1;
touch_15 = 1;
touch_16 = 1;
touch_17 = 1;
touch_18 = 1;
touch_19 = 1;
touch_20 = 1;
touch_21 = 1;
touch_22 = 1;
touch_23 = 1;
touch_24 = 1;
touch_25 = 1;
touch_26 = 1;
touch_27 = 1;
touch_28 = 1;
touch_29 = 1;
touch_30 = 1;
touch_31 = 1;
touch_32 = 1;
touch_33 = 1;
touch_34 = 1;
touch_35 = 1;
touch_36 = 1;
touch_37 = 1;
touch_38 = 1;
touch_39 = 1;
touch_40 = 1;
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
force = ((400 - _x) * 60) / 400;
if (force < 1) {
force = 1;
}
};
Instance of Symbol 82 MovieClip in Symbol 1856 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);
}
if (_root.cnt.boss.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.boss.energy = _root.cnt.boss.energy - 5;
_parent.gotoAndStop(3);
}
var nb = 1;
while (nb < 41) {
if (_root.cnt["e_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt["e_" + nb].energy > 0) {
if (eval ("_parent.touch_" + nb) != 2) {
Set("_parent.touch_" + nb, 2);
_root.bullets_hited = _root.bullets_hited + 1;
_root.cnt["e_" + nb].hited = (_parent.force / 2) + ((_parent.force / 2) * _root.wp_2);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._x", (_root.cnt["e_" + nb]._x + random(50)) - 25);
Set(("_root.cnt.blood_" + _root.blood_nb) + "._y", ((_root.cnt["e_" + nb]._y - 65) + random(50)) - 25);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.blood_" + _root.blood_nb).gotoAndStop(2);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb > 10) {
_root.blood_nb = 1;
}
aa = random(3 - _root.wp_2) + 1;
if (aa == 1) {
} else {
_parent.gotoAndStop(2);
}
} else {
trace("already touch");
}
}
}
nb++;
}
i++;
}
}
Symbol 1856 MovieClip Frame 2
stop();
onEnterFrame = function () {
};
Symbol 1856 MovieClip Frame 3
stop();
onEnterFrame = function () {
};
Symbol 1858 MovieClip Frame 1
_visible = false;
stop();
Symbol 1858 MovieClip Frame 2
_visible = true;
stop();
Symbol 1861 MovieClip Frame 1
stop();
Symbol 1861 MovieClip Frame 3
stop();
Symbol 1861 MovieClip Frame 5
stop();
Symbol 1862 MovieClip Frame 1
burn_timer = 0;
stop();
onEnterFrame = function () {
if (burn_timer > 0) {
_x = _root.cnt.perso._x;
_y = (_root.cnt.perso._y - 45);
if (_root.cnt.perso.side == "R") {
_xscale = (burn_timer * 10);
_x = (_x + 70);
} else {
_xscale = (burn_timer * -10);
_x = (_x - 70);
}
_yscale = Math.abs(_xscale);
burn_timer = burn_timer - 1;
_visible = true;
if (snd._currentframe < 4) {
snd.gotoAndPlay(4);
}
} else {
if (snd._currentframe > 3) {
snd.gotoAndPlay(2);
}
_visible = false;
}
};
Instance of Symbol 82 MovieClip in Symbol 1862 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Math.abs(_parent._xscale) > 80) {
this.hitpts = new Array({x:0, y:0}, {x:30, y:0}, {x:60, y:0}, {x:90, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 21) {
if (_root.cnt["e_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt["e_" + nb].energy > 0) {
if (_root.shake < 5) {
_root.shake = 5;
}
_root.cnt["e_" + nb].hited = 0.54 + ((0.3 * _root.wp_8) * 3);
}
}
nb++;
}
i++;
}
}
}
Symbol 1864 MovieClip Frame 1
_visible = false;
stop();
Symbol 1864 MovieClip Frame 2
_visible = true;
stop();
Instance of Symbol 1453 MovieClip in Symbol 1864 MovieClip Frame 2
onClipEvent (load) {
bloodlimity = 670 - _parent._y;
bloodboostx = _parent.boostx;
bloodboosty = _parent.boosty;
}
Symbol 1866 MovieClip Frame 1
b_1.gotoAndStop(2);
b_2.gotoAndStop(2);
b_3.gotoAndStop(2);
Instance of Symbol 82 MovieClip in Symbol 1866 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._parent.gotoAndStop(3);
}
i++;
}
}
Symbol 1867 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
};
Symbol 1867 MovieClip Frame 2
_visible = true;
speedx = 0;
speedy = -5;
_y = (_y - 30);
boxx._rotation = (-90 + random(16)) - 8;
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;
};
Symbol 1867 MovieClip Frame 3
stop();
onEnterFrame = function () {
};
Symbol 1870 MovieClip Frame 1
stop();
Instance of Symbol 82 MovieClip in Symbol 1870 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._x > 2000) {
_parent.gotoAndStop(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.gotoAndStop(2);
}
i++;
}
}
Symbol 1870 MovieClip Frame 2
_x = (_x - _parent.speed);
Instance of Symbol 1817 MovieClip in Symbol 1870 MovieClip Frame 2
onClipEvent (enterFrame) {
point = new Object();
point.x = _x;
point.y = _y;
pointx = localToGlobal(point);
_root.boomx = point.x - _root.cnt._x;
_root.boomy = point.y - _root.cnt._y;
_root.cnt.turret.cam_shoot_timer = 50;
_root.cnt.turret.cam_bullet = "camt2_" + _root.cam_nb;
Set(("_root.cnt.camt2_" + _root.cam_nb) + "._x", _root.boomx);
Set(("_root.cnt.camt2_" + _root.cam_nb) + "._y", _root.boomy);
_parent.gotoAndStop(4);
}
Symbol 1871 MovieClip Frame 1
speed = 100;
boxx._x = boxx._x + 250;
boxx._y = boxx._y + -15;
stop();
onEnterFrame = function () {
boxx._x = boxx._x + speed;
};
Symbol 1873 MovieClip Frame 1
_visible = false;
stop();
Symbol 1873 MovieClip Frame 2
stop();
Symbol 1877 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
};
Symbol 1877 MovieClip Frame 2
_visible = true;
boxx.boxx.gotoAndStop(casque_typee);
speedx = random(10) - 5;
speedy = -5 - random(10);
speedr = random(40) - 20;
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 82 MovieClip in Symbol 1877 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 1877 MovieClip Frame 3
_visible = true;
stop();
onEnterFrame = function () {
_x = (_x + speedx);
boxx._rotation = boxx._rotation + speedx;
speedx = speedx * 0.9;
if (boxx._alpha > 0) {
boxx._alpha = boxx._alpha - 1;
} else {
gotoAndStop (1);
}
};
Symbol 1885 MovieClip Frame 1
sy = _y;
stop();
onEnterFrame = function () {
gotoAndStop(_root.cnt.baricade_back._currentframe);
if (_root.cnt.turret.inturret == 2) {
_y = (sy + 1000);
} else {
_y = sy;
}
};
Instance of Symbol 858 MovieClip in Symbol 1885 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 858 MovieClip in Symbol 1885 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Symbol 1910 MovieClip Frame 1
stop();
Instance of Symbol 902 MovieClip "door_1" in Symbol 1910 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 902 MovieClip "door_2" in Symbol 1910 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Symbol 1920 MovieClip Frame 1
stop();
Symbol 1924 MovieClip Frame 1
stop();
Symbol 1925 MovieClip Frame 1
stop();
Symbol 1939 MovieClip Frame 80
aa = random(6) + 1;
if (aa != 1) {
gotoAndPlay (1);
}
Symbol 1941 MovieClip Frame 80
_parent.gotoAndStop(1);
stop();
Symbol 1942 MovieClip Frame 1
stop();
Symbol 1953 MovieClip Frame 1
stop();
Instance of Symbol 82 MovieClip in Symbol 1953 MovieClip Frame 1
onClipEvent (enterFrame) {
this.hitpts = new Array({x:-25, y:0}, {x:25, y:0}, {x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_parent._parent._parent.energy > 0) {
var nb = 1;
while (nb < 11) {
if (_root.cnt["mine_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt["mine_" + nb].gotoAndStop(3);
}
nb++;
}
}
i++;
}
}
Symbol 1954 MovieClip Frame 1
onEnterFrame = function () {
_root.act = 5;
_root.cnt.boss_cam._x = ((_parent._x + _x) + boxx._x) - 100;
_root.cnt.boss_cam._y = ((_parent._y + _y) + boxx._y) - 75;
};
Symbol 1954 MovieClip Frame 60
stop();
Symbol 1954 MovieClip Frame 120
_root.act = 1;
onEnterFrame = function () {
};
Symbol 1954 MovieClip Frame 400
_root.cnt.boss.gotoAndStop(3);
Symbol 1957 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_parent._currentframe < 80) {
boxx._rotation = boxx._rotation + 2;
} else {
boxx._rotation = 0;
}
};
Symbol 1960 MovieClip Frame 1
_visible = false;
play();
Symbol 1960 MovieClip Frame 2
_visible = true;
play();
Symbol 1960 MovieClip Frame 79
if (_root.pausedd == 2) {
gotoAndPlay (60);
}
Symbol 1960 MovieClip Frame 111
if (_root.pausedd == 2) {
gotoAndPlay (60);
}
Symbol 1960 MovieClip Frame 112
_parent.boxx.boxx.turret.boomanim.gotoAndPlay(2);
Symbol 1960 MovieClip Frame 113
_root.shake = 35;
Symbol 1962 MovieClip Frame 3
stop();
Symbol 1962 MovieClip Frame 5
stop();
Symbol 1962 MovieClip Frame 7
stop();
Symbol 1963 MovieClip Frame 1
_visible = false;
stop();
Symbol 1963 MovieClip Frame 2
_visible = true;
stop();
Symbol 1963 MovieClip Frame 3
speed = 2;
aa = 401;
energy = 1000;
energy_max = energy;
stop();
onEnterFrame = function () {
if ((_root.pausedd == 1) && (_root.dropcam_timer <= 0)) {
if (energy > 0) {
if ((_root.cnt.perso._x < (((_x + boxx._x) + boxx.boxx._x) - 200)) || (_root.cnt.perso._x > (((_x + boxx._x) + boxx.boxx._x) + 400))) {
if (_root.cnt.perso._x > ((_x + boxx._x) + boxx.boxx._x)) {
gofront = 1;
aa = aa - speed;
} else {
gofront = 2;
aa = aa + speed;
}
}
if (aa < 401) {
aa = 401;
}
if (aa > 1400) {
aa = 1400;
}
if (energyb != energy) {
if (energyb > (energy + 12)) {
anims.boxx.anims.gotoAndStop(3);
}
energyb = energy;
}
} else {
miree.gotoAndStop(1);
miree._visible = false;
if (snd._currentframe < 6) {
snd.gotoAndPlay(6);
}
speed = 0;
}
boxx.gotoAndStop(Math.round(aa));
if (energy > 600) {
boxx.boxx.gotoAndStop(1);
}
if ((energy > 300) && (energy <= 600)) {
boxx.boxx.gotoAndStop(2);
}
if ((energy > 0) && (energy <= 300)) {
boxx.boxx.gotoAndStop(3);
}
if (energy <= 0) {
boxx.boxx.gotoAndStop(4);
}
boxx.boxx.turret.gotoAndStop(boxx.boxx._currentframe);
hitt._x = boxx._x + boxx.boxx._x;
hitt._y = boxx._y + boxx.boxx._y;
hitt._rotation = boxx.boxx._rotation;
if (gofront == 1) {
boxx.boxx.turret._xscale = -100;
boxx.boxx.perso._xscale = -65;
} else {
boxx.boxx.turret._xscale = 100;
boxx.boxx.perso._xscale = 65;
}
if (boxx.boxx.perso._currentframe != 3) {
if (boxx.boxx.perso._currentframe != 2) {
boxx.boxx.perso.gotoAndStop(1);
}
}
speed_mire = 0.08;
if (miree._currentframe <= 80) {
sx = _parent.perso._x + _x;
sy = (_parent.perso._y + _y) - 50;
}
speedx = (sx - miree._x) * speed_mire;
speedy = (sy - miree._y) * speed_mire;
if ((miree._x < (sx - 0.5)) || (miree._x > (sx + 0.5))) {
miree._x = miree._x + speedx;
}
if ((miree._y < (sy - 0.5)) || (miree._y > (sy + 0.5))) {
miree._y = miree._y + speedy;
}
}
};
Symbol 1971 MovieClip Frame 1
sy = _y;
stop();
onEnterFrame = function () {
gotoAndStop(_root.cnt.baricade_back._currentframe);
if (_root.cnt.turret.inturret == 2) {
_y = (sy + 1000);
} else {
_y = sy;
}
};
Instance of Symbol 858 MovieClip in Symbol 1971 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 858 MovieClip in Symbol 1971 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Symbol 1973 MovieClip Frame 1
stop();
Instance of Symbol 902 MovieClip "door_1" in Symbol 1973 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 902 MovieClip "door_2" in Symbol 1973 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Symbol 1980 MovieClip Frame 1
stop();
Symbol 1983 MovieClip Frame 1
gotoAndPlay(_parent.nb * 2);
Symbol 1983 MovieClip Frame 3
stop();
Symbol 1983 MovieClip Frame 5
stop();
Symbol 1985 MovieClip Frame 1
stop();
Symbol 1985 MovieClip Frame 85
_root.shake = 50;
Instance of Symbol 82 MovieClip in Symbol 1985 MovieClip Frame 85
onClipEvent (enterFrame) {
this.hitpts = new Array({x:-300, y:0}, {x:-150, y:0}, {x:0, y:0}, {x:150, y:0}, {x:300, y:0});
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.cnt.perso.energy > 0) {
_root.cnt.perso.energy = _root.cnt.perso.energy - 100;
}
}
var nb = 1;
while (nb < 21) {
if (_root.cnt["e_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt["e_" + nb].energy > 0) {
_root.cnt["e_" + nb].energy = 0;
_root.cnt["e_" + nb].anim_frame = 10;
}
}
if (_parent._parent.energy > 0) {
if (_root.cnt["mine_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt["mine_" + nb].gotoAndStop(3);
}
}
nb++;
}
i++;
}
}
Symbol 1985 MovieClip Frame 95
if (nb == 1) {
aa = random(2) + 1;
if (aa == 2) {
gotoAndPlay (100);
}
} else {
gotoAndPlay (100);
}
Symbol 1985 MovieClip Frame 160
_parent.feet = _parent.feet + 1;
if (_parent.feet > 2) {
_parent.feet = 1;
}
Symbol 1986 MovieClip Frame 1
onEnterFrame = function () {
_root.act = 5;
_root.cnt.boss_cam._x = _parent._x + _x;
_root.cnt.boss_cam._y = _parent._y + _y;
};
Symbol 1986 MovieClip Frame 60
stop();
Symbol 1986 MovieClip Frame 120
_root.act = 1;
_root.cnt.boss.gotoAndStop(3);
onEnterFrame = function () {
};
Symbol 1989 MovieClip Frame 1
stop();
onEnterFrame = function () {
_x = eval (("_root.cnt.boss.pied" + nb) + "._x");
_y = eval (("_root.cnt.boss.pied" + nb) + "._y");
gotoAndStop(eval (("_root.cnt.boss.pied" + nb) + "._currentframe"));
};
Instance of Symbol 1989 MovieClip in Symbol 1990 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 1989 MovieClip in Symbol 1990 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Symbol 1992 MovieClip Frame 3
stop();
Symbol 1992 MovieClip Frame 5
stop();
Symbol 1992 MovieClip Frame 7
stop();
Symbol 1993 MovieClip Frame 1
_visible = false;
stop();
Symbol 1993 MovieClip Frame 2
_visible = true;
stop();
Instance of Symbol 1985 MovieClip "pied2" in Symbol 1993 MovieClip Frame 2
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 1985 MovieClip "pied1" in Symbol 1993 MovieClip Frame 2
onClipEvent (load) {
nb = 1;
}
Symbol 1993 MovieClip Frame 3
feet = 1;
speed = 0.06;
energy = 1000;
energy_max = energy;
hitt._alpha = 0;
stop();
onEnterFrame = function () {
if ((_root.pausedd == 1) && (_root.dropcam_timer <= 0)) {
if (energy > 0) {
if (feet == 1) {
trace("feet1");
if (pied1._currentframe == 1) {
pied1.gotoAndPlay(2);
}
if ((pied1._currentframe >= 2) && (pied1._currentframe <= 35)) {
sx = _parent.perso._x + _x;
if (_parent.perso.fall == 1) {
sy = _parent.perso._y + _y;
}
}
speedx = (sx - pied1._x) * speed;
speedy = (sy - pied1._y) * speed;
if ((pied1._x < (sx - 0.5)) || (pied1._x > (sx + 0.5))) {
pied1._x = pied1._x + speedx;
}
if ((pied1._y < (sy - 0.5)) || (pied1._y > (sy + 0.5))) {
pied1._y = pied1._y + speedy;
}
}
if (feet == 2) {
trace("feet2");
if (pied2._currentframe == 1) {
pied2.gotoAndPlay(2);
}
if ((pied2._currentframe >= 2) && (pied2._currentframe <= 35)) {
sx = _parent.perso._x + _x;
if (_parent.perso.fall == 1) {
sy = _parent.perso._y + _y;
}
}
speedx = (sx - pied2._x) * speed;
speedy = (sy - pied2._y) * speed;
if ((pied2._x < (sx - 0.5)) || (pied2._x > (sx + 0.5))) {
pied2._x = pied2._x + speedx;
}
if ((pied2._y < (sy - 0.5)) || (pied2._y > (sy + 0.5))) {
pied2._y = pied2._y + speedy;
}
}
}
boxx.gotoAndStop(Math.round(aa));
if (energy > 600) {
energy_frame = 1;
}
if ((energy > 300) && (energy <= 600)) {
energy_frame = 2;
}
if ((energy > 0) && (energy <= 300)) {
energy_frame = 3;
}
if (energy <= 0) {
energy_frame = 4;
}
pied1.boxx.gotoAndStop(energy_frame);
pied2.boxx.gotoAndStop(energy_frame);
}
};
Instance of Symbol 889 MovieClip "ladder_2" in Symbol 1996 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 889 MovieClip "ladder_3" in Symbol 1996 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 889 MovieClip "ladder_1" in Symbol 1996 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 1080 MovieClip "car" in Symbol 1996 MovieClip Frame 1
onClipEvent (load) {
boxx.boxx.gotoAndStop(1);
}
Instance of Symbol 82 MovieClip "turretcam" in Symbol 1996 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 1802 MovieClip "item_1" in Symbol 1996 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 1802 MovieClip "item_2" in Symbol 1996 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 1802 MovieClip "item_3" in Symbol 1996 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 1878 MovieClip "cam_1" in Symbol 1996 MovieClip Frame 1
onClipEvent (load) {
sx = 0;
sy = 225;
}
Instance of Symbol 1878 MovieClip "cam_2" in Symbol 1996 MovieClip Frame 1
onClipEvent (load) {
sx = 0;
sy = 200;
}
Instance of Symbol 1878 MovieClip "cam_3" in Symbol 1996 MovieClip Frame 1
onClipEvent (load) {
sx = 0;
sy = 200;
}
Instance of Symbol 889 MovieClip "ladder_2" in Symbol 1996 MovieClip Frame 3
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 889 MovieClip "ladder_3" in Symbol 1996 MovieClip Frame 3
onClipEvent (load) {
nb = 3;
}
Symbol 2000 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.wp != 5) {
aff = _root.ammo;
} else {
aff = "--";
}
if ((_root.ammo <= 0) || (_roto.wp == 5)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Symbol 2005 MovieClip Frame 1
boxx.gotoAndStop(nb + 10);
if (eval ("_root.wp_" + nb) <= 0) {
gotoAndStop (3);
}
stop();
onEnterFrame = function () {
if (eval ("_root.wp_" + nb) <= 0) {
gotoAndStop (3);
} else if (_root.wp == nb) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Symbol 2006 MovieClip Frame 1
stop();
onEnterFrame = function () {
boxx.gotoAndStop(_root.wp);
if (_parent.wave_boxx._currentframe == 1) {
_visible = true;
} else {
_visible = false;
}
};
Instance of Symbol 2005 MovieClip in Symbol 2006 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
chiffre = 1;
}
Instance of Symbol 2005 MovieClip in Symbol 2006 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
chiffre = 2;
}
Instance of Symbol 2005 MovieClip in Symbol 2006 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
chiffre = 3;
}
Instance of Symbol 2005 MovieClip in Symbol 2006 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
chiffre = 5;
}
Instance of Symbol 2005 MovieClip in Symbol 2006 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
chiffre = 6;
}
Instance of Symbol 2005 MovieClip in Symbol 2006 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
chiffre = 7;
}
Instance of Symbol 2005 MovieClip in Symbol 2006 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
chiffre = 8;
}
Instance of Symbol 2005 MovieClip in Symbol 2006 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
chiffre = 9;
}
Instance of Symbol 2005 MovieClip in Symbol 2006 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
chiffre = 4;
}
Instance of Symbol 2005 MovieClip in Symbol 2006 MovieClip Frame 1
onClipEvent (load) {
nb = 11;
chiffre = 0;
}
Symbol 2009 MovieClip Frame 127
_parent.play();
Symbol 2010 MovieClip Frame 1
stop();
Symbol 2010 MovieClip Frame 2
_root.snd.gotoAndPlay(((random(4) + 1) * 2) + 0);
wich_zombie = 0;
enemies_alive = 0;
enemies_to_generate = Math.round(Math.pow(_root.wave * 5, 1.2));
gennow = Math.round((enemies_to_generate * 10) / 50);
if (gennow < 3) {
gennow = 3;
}
if (gennow > 10) {
gennow = 10;
}
if (_root.wave == 10) {
enemies_to_generate = 20;
}
trace("EnemiesToGenerate: " + enemies_to_generate);
onEnterFrame = function () {
if (_root.pausedd == 1) {
if (pausedd_gen == 2) {
pausedd_gen = 1;
play();
}
} else if ((_currentframe > 2) && (_currentframe < 498)) {
pausedd_gen = 2;
stop();
}
if (Key.isDown(73) && (Key.isDown(74))) {
if (timercheat > 0) {
timercheat = timercheat - 1;
} else {
enemies_to_generate = 0;
enemies_alive = 0;
gotoAndStop (501);
}
} else {
timercheat = 10;
}
};
gotoAndPlay (490);
Symbol 2010 MovieClip Frame 500
wich_zombie = wich_zombie + 1;
if (wich_zombie > 20) {
wich_zombie = 1;
}
if ((eval (("_root.cnt.e_" + wich_zombie) + "._currentframe") == 1) || (eval (("_root.cnt.e_" + wich_zombie) + ".energy") <= 0)) {
enemies_alive = enemies_alive + 1;
eval ("_root.cnt.e_" + wich_zombie).gotoAndStop(1);
eval ("_root.cnt.e_" + wich_zombie).gotoAndStop(2);
wich_frame_go = ((((_root.wave * 200) / 10) + 250) + random(150)) - 30;
if (wich_frame_go < 10) {
wich_frame_go = 10;
}
if (wich_frame_go > 450) {
wich_frame_go = 450;
}
enemies_to_generate = enemies_to_generate - 1;
if ((enemies_to_generate <= 34) && (_root.wave == 5)) {
if (_root.cnt.boss._currentframe == 1) {
_root.cnt.boss.gotoAndStop(2);
}
}
if (gennow > 0) {
gennow = gennow - 1;
Set(("_root.cnt.e_" + wich_zombie) + ".gennow", 2);
wich_frame_go = 498;
}
if (enemies_to_generate <= 0) {
wich_frame_go = 501;
}
gotoAndPlay(wich_frame_go);
} else {
gotoAndPlay (490);
}
Symbol 2010 MovieClip Frame 501
stop();
onEnterFrame = function () {
if (_currentframe == 501) {
if ((enemies_to_generate <= 0) && (enemies_alive <= 0)) {
gotoAndPlay (502);
}
}
};
Symbol 2010 MovieClip Frame 502
play();
Symbol 2010 MovieClip Frame 550
_root.snd.gotoAndPlay(((random(10) + 1) * 2) + 94);
stop();
Symbol 2010 MovieClip Frame 600
_root.cnt.e_1.gotoAndStop(1);
_root.cnt.e_2.gotoAndStop(1);
_root.cnt.e_3.gotoAndStop(1);
_root.cnt.e_4.gotoAndStop(1);
_root.cnt.e_5.gotoAndStop(1);
_root.cnt.e_6.gotoAndStop(1);
_root.cnt.e_7.gotoAndStop(1);
_root.cnt.e_8.gotoAndStop(1);
_root.cnt.e_9.gotoAndStop(1);
_root.cnt.e_10.gotoAndStop(1);
_root.cnt.e_11.gotoAndStop(1);
_root.cnt.e_12.gotoAndStop(1);
_root.cnt.e_13.gotoAndStop(1);
_root.cnt.e_14.gotoAndStop(1);
_root.cnt.e_15.gotoAndStop(1);
_root.cnt.e_16.gotoAndStop(1);
_root.cnt.e_17.gotoAndStop(1);
_root.cnt.e_18.gotoAndStop(1);
_root.cnt.e_19.gotoAndStop(1);
_root.cnt.e_20.gotoAndStop(1);
_root.cnt.e_21.gotoAndStop(1);
_root.cnt.e_22.gotoAndStop(1);
_root.cnt.e_23.gotoAndStop(1);
_root.cnt.e_24.gotoAndStop(1);
_root.cnt.e_25.gotoAndStop(1);
_root.cnt.e_26.gotoAndStop(1);
_root.cnt.e_27.gotoAndStop(1);
_root.cnt.e_28.gotoAndStop(1);
_root.cnt.e_29.gotoAndStop(1);
_root.cnt.e_30.gotoAndStop(1);
_root.cnt.e_31.gotoAndStop(1);
_root.cnt.e_32.gotoAndStop(1);
_root.cnt.e_33.gotoAndStop(1);
_root.cnt.e_34.gotoAndStop(1);
_root.cnt.e_35.gotoAndStop(1);
_root.cnt.e_36.gotoAndStop(1);
_root.cnt.e_37.gotoAndStop(1);
_root.cnt.e_38.gotoAndStop(1);
_root.cnt.e_39.gotoAndStop(1);
_root.cnt.e_40.gotoAndStop(1);
_root.interr.gotoAndStop(2);
stop();
Symbol 2011 MovieClip Frame 1
stop();
onEnterFrame = function () {
aff = "WAVE " + _root.wave;
if (wave != _root.wave) {
wave = _root.wave;
gotoAndPlay (2);
}
};
Symbol 2011 MovieClip Frame 2
play();
Symbol 2011 MovieClip Frame 75
gen.gotoAndPlay(2);
Symbol 2023 MovieClip Frame 1
_visible = false;
_root.dropitem_timer = 0;
stop();
onEnterFrame = function () {
if (_root.dropitem_timer > 0) {
_root.dropitem_timer = _root.dropitem_timer - 1;
_visible = true;
sx = _root.cnt._x + eval (("_root.cnt.item_" + _root.dropcam_wich) + "._x");
sy = _root.cnt._y + eval (("_root.cnt.item_" + _root.dropcam_wich) + "._y");
if (sx > 800) {
sx = 800;
}
if (sx < 0) {
sx = 0;
}
if (sy > 400) {
sy = 400;
}
if (sy < 120) {
sy = 120;
}
if (sx < 400) {
_xscale = -100;
} else {
_xscale = 100;
}
_x = sx;
_y = sy;
} else {
_visible = false;
}
};
Symbol 2041 MovieClip Frame 1
if (_root.tuto != 2) {
gotoAndStop (2);
} else if (_root.tuto_2 != 2) {
if (((((((_root.wp_3 > 0) || (_root.wp_4 > 0)) || (_root.wp_10 > 0)) || (_root.wp_6 > 0)) || (_root.wp_7 > 0)) || (_root.wp_8 > 0)) || (_root.wp_9 > 0)) {
gotoAndStop (7);
}
}
stop();
onEnterFrame = function () {
};
Symbol 2041 MovieClip Frame 2
timer = 50;
done = 1;
stop();
onEnterFrame = function () {
if (Key.isDown(37) || (Key.isDown(39))) {
done = 2;
}
if (done == 2) {
if (timer > 0) {
timer = timer - 1;
} else {
gotoAndStop (3);
}
}
};
Symbol 2041 MovieClip Frame 3
timer = 50;
done = 1;
stop();
onEnterFrame = function () {
if (Key.isDown(32)) {
done = 2;
}
if (done == 2) {
if (timer > 0) {
timer = timer - 1;
} else {
gotoAndStop (4);
}
}
};
Symbol 2041 MovieClip Frame 4
timer = 1;
done = 1;
stop();
onEnterFrame = function () {
if ((_root.cnt.car.canact == 2) || (_root.cnt.turret.inturret == 2)) {
done = 2;
}
if (done == 2) {
if (timer > 0) {
timer = timer - 1;
} else {
gotoAndStop (5);
}
}
};
Symbol 2041 MovieClip Frame 5
timer = 50;
done = 1;
stop();
onEnterFrame = function () {
if (Key.isDown(88)) {
done = 2;
}
if (done == 2) {
if (timer > 0) {
timer = timer - 1;
} else {
gotoAndStop (6);
}
}
};
Symbol 2041 MovieClip Frame 6
timer = 120;
done = 2;
stop();
onEnterFrame = function () {
if (done == 2) {
if (timer > 0) {
timer = timer - 1;
} else {
_root.tuto = 2;
gotoAndStop (1);
}
}
};
Symbol 2041 MovieClip Frame 7
timer = 50;
done = 1;
stop();
onEnterFrame = function () {
if ((_root.wp != 1) && (_root.wp != 2)) {
done = 2;
}
if (done == 2) {
if (timer > 0) {
timer = timer - 1;
} else {
_root.tuto_2 = 2;
gotoAndStop (1);
}
}
};
Symbol 2051 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (Key.isDown(80)) {
if (keyreleased_80 == 2) {
keyreleased_80 = 1;
if (_root.pausedd == 1) {
_root.pausedd = 2;
} else {
_root.pausedd = 1;
}
}
} else {
keyreleased_80 = 2;
}
if (_root.pausedd == 1) {
gotoAndStop (1);
} else if (_currentframe == 1) {
gotoAndStop (2);
}
};
Instance of Symbol 26 MovieClip in Symbol 2051 MovieClip Frame 2
onClipEvent (load) {
aff = "CONTINUE";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.pausedd = 1;
}
}
Instance of Symbol 26 MovieClip in Symbol 2051 MovieClip Frame 2
onClipEvent (load) {
aff = "CHEATS";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(6);
}
}
Instance of Symbol 26 MovieClip in Symbol 2051 MovieClip Frame 2
onClipEvent (load) {
aff = "OPTIONS";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(3);
}
}
Instance of Symbol 26 MovieClip in Symbol 2051 MovieClip Frame 2
onClipEvent (load) {
aff = "CAREER MENU";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(5);
}
}
Instance of Symbol 621 MovieClip in Symbol 2051 MovieClip Frame 3
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_parent.from_lowframerate == 2) {
_parent.from_lowframerate = 1;
_root.pausedd = 1;
} else {
_parent.gotoAndStop(2);
}
}
}
Instance of Symbol 26 MovieClip in Symbol 2051 MovieClip Frame 4
onClipEvent (load) {
aff = "NEVERMIND";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.pausedd = 1;
}
}
Instance of Symbol 26 MovieClip in Symbol 2051 MovieClip Frame 4
onClipEvent (load) {
aff = "OK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.from_lowframerate = 2;
_parent.gotoAndStop(3);
}
}
Instance of Symbol 26 MovieClip in Symbol 2051 MovieClip Frame 5
onClipEvent (load) {
aff = "YES";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.got2go = 5;
}
}
Instance of Symbol 26 MovieClip in Symbol 2051 MovieClip Frame 5
onClipEvent (load) {
aff = "NO";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.pausedd = 1;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 759 MovieClip in Symbol 2051 MovieClip Frame 6
onClipEvent (load) {
onpause_menu = 2;
}
Symbol 2053 MovieClip Frame 1
_root.pausedd = 1;
stop();
Instance of Symbol 2020 MovieClip in Symbol 2053 MovieClip Frame 1
onClipEvent (enterFrame) {
iconn.gotoAndStop(1);
boxx.gotoAndStop(Math.round((_root.cnt.perso.energy * 100) / _root.energy_max) + 1);
_x = (400 - (sizeboxx._width / 2));
gotoAndStop(_root.energy_max / 100);
if (energyloaded != 2) {
energyloaded = 2;
energy = _root.cnt.perso.energy;
_alpha = 0;
}
if (energy != _root.cnt.perso.energy) {
energy = _root.cnt.perso.energy;
_alpha = 100;
}
if (_alpha > 0) {
_alpha = (_alpha - 1);
}
}
Instance of Symbol 2020 MovieClip "energydoor_1" in Symbol 2053 MovieClip Frame 1
onClipEvent (enterFrame) {
iconn.gotoAndStop(2);
boxx.gotoAndStop(Math.round((_root.door_energy_1 * 100) / _root.door_energy_max) + 1);
gotoAndStop(_root.doors);
speed = 0.2;
sx = ((_root.cnt._x + _root.cnt.baricade_back._x) + _root.cnt.baricade_back.door_1._x) - (sizeboxx._width / 2);
sy = ((_root.cnt._y + _root.cnt.baricade_back._y) + _root.cnt.baricade_back.door_1._y) + 190;
if (sx < 5) {
sx = 5;
}
if (sx > (795 - sizeboxx._width)) {
sx = 795 - sizeboxx._width;
}
if (sy < 50) {
sy = 50;
}
if ((_x > (_parent.energydoor_2._x - 100)) && (_x < (_parent.energydoor_2._x + 100))) {
adjusty = -40;
} else {
adjusty = 0;
}
if (sy > ((390 - sizeboxx._height) + adjusty)) {
sy = (390 - sizeboxx._height) + adjusty;
}
speedx = (sx - _x) * speed;
speedy = (sy - _y) * speed;
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + speedx);
}
if ((_y < (sy - 0.5)) || (_y > (sy + 0.5))) {
_y = (_y + speedy);
}
if (energyloaded != 2) {
energyloaded = 2;
energy = _root.door_energy_1;
_alpha = 0;
}
if (energy != _root.door_energy_1) {
energy = _root.door_energy_1;
_alpha = 100;
}
if (_alpha > 0) {
_alpha = (_alpha - 1);
}
}
Instance of Symbol 2020 MovieClip "energydoor_2" in Symbol 2053 MovieClip Frame 1
onClipEvent (enterFrame) {
iconn.gotoAndStop(2);
boxx.gotoAndStop(Math.round((_root.door_energy_2 * 100) / _root.door_energy_max) + 1);
gotoAndStop(_root.doors);
speed = 0.2;
sx = ((_root.cnt._x + _root.cnt.baricade_back._x) + _root.cnt.baricade_back.door_2._x) - (sizeboxx._width / 2);
sy = ((_root.cnt._y + _root.cnt.baricade_back._y) + _root.cnt.baricade_back.door_2._y) + 190;
if (sx < 5) {
sx = 5;
}
if (sx > (795 - sizeboxx._width)) {
sx = 795 - sizeboxx._width;
}
if (sy < 50) {
sy = 50;
}
if (sy > (390 - sizeboxx._height)) {
sy = 390 - sizeboxx._height;
}
speedx = (sx - _x) * speed;
speedy = (sy - _y) * speed;
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + speedx);
}
if ((_y < (sy - 0.5)) || (_y > (sy + 0.5))) {
_y = (_y + speedy);
}
if (energyloaded != 2) {
energyloaded = 2;
energy = _root.door_energy_2;
_alpha = 0;
}
if (energy != _root.door_energy_2) {
energy = _root.door_energy_2;
_alpha = 100;
}
if (_alpha > 0) {
_alpha = (_alpha - 1);
}
}
Symbol 2053 MovieClip Frame 2
_root.cnt.perso._x = _root.posiperso_ini_x;
_root.cnt.perso._y = _root.posiperso_ini_y;
_root.cnt.perso.anims.gotoAndStop(2);
_root.cnt.perso.anims.gotoAndStop(1);
_root.pausedd = 1;
if (_root.from_win == 4) {
_root.from_win = 5;
}
if ((_root.from_win != 4) && (_root.from_win != 5)) {
stopAllSounds();
_root.muz.gotoAndPlay(8);
}
_root.page = 11;
_root.mover = 0;
if (_root.wave >= 5) {
if (_root.from_win > 4) {
} else {
_root.got2go = 2;
}
}
_root.st_qual_remember = 0;
if (_root.st_qual != 3) {
_root.st_qual_remember = _root.st_qual;
_root.st_qual = 3;
}
stop();
Instance of Symbol 844 MovieClip in Symbol 2053 MovieClip Frame 2
onClipEvent (load) {
submenu_ingame = 2;
}
Symbol 2058 MovieClip Frame 1
stopAllSounds();
gotoAndPlay(_root.lvl * 2);
Symbol 2058 MovieClip Frame 3
stop();
Symbol 2058 MovieClip Frame 5
stop();
Symbol 2058 MovieClip Frame 7
stop();
Symbol 2058 MovieClip Frame 9
stop();
Symbol 2123 MovieClip Frame 1
stop();
Symbol 2123 MovieClip Frame 3
stop();
Symbol 2123 MovieClip Frame 5
stop();
Symbol 2123 MovieClip Frame 7
stop();
Symbol 2123 MovieClip Frame 9
stop();
Symbol 2123 MovieClip Frame 11
stop();
Symbol 2123 MovieClip Frame 13
stop();
Symbol 2123 MovieClip Frame 15
stop();
Symbol 2123 MovieClip Frame 17
stop();
Symbol 2123 MovieClip Frame 19
stop();
Symbol 2123 MovieClip Frame 21
stop();
Symbol 2123 MovieClip Frame 23
stop();
Symbol 2123 MovieClip Frame 25
stop();
Symbol 2123 MovieClip Frame 27
stop();
Symbol 2123 MovieClip Frame 29
stop();
Symbol 2123 MovieClip Frame 31
stop();
Symbol 2123 MovieClip Frame 33
stop();
Symbol 2123 MovieClip Frame 35
stop();
Symbol 2123 MovieClip Frame 37
stop();
Symbol 2123 MovieClip Frame 39
stop();
Symbol 2123 MovieClip Frame 41
stop();
Symbol 2123 MovieClip Frame 43
stop();
Symbol 2123 MovieClip Frame 45
stop();
Symbol 2123 MovieClip Frame 47
stop();
Symbol 2123 MovieClip Frame 49
stop();
Symbol 2123 MovieClip Frame 51
stop();
Symbol 2123 MovieClip Frame 53
stop();
Symbol 2123 MovieClip Frame 55
stop();
Symbol 2123 MovieClip Frame 57
stop();
Symbol 2123 MovieClip Frame 59
stop();
Symbol 2123 MovieClip Frame 61
stop();
Symbol 2123 MovieClip Frame 63
stop();
Symbol 2123 MovieClip Frame 65
stop();
Symbol 2123 MovieClip Frame 67
stop();
Symbol 2123 MovieClip Frame 69
stop();
Symbol 2123 MovieClip Frame 71
stop();
Symbol 2123 MovieClip Frame 73
stop();
Symbol 2123 MovieClip Frame 75
stop();
Symbol 2123 MovieClip Frame 77
stop();
Symbol 2123 MovieClip Frame 79
stop();
Symbol 2123 MovieClip Frame 81
stop();
Symbol 2123 MovieClip Frame 83
stop();
Symbol 2123 MovieClip Frame 85
stop();
Symbol 2123 MovieClip Frame 87
stop();
Symbol 2123 MovieClip Frame 89
stop();
Symbol 2123 MovieClip Frame 91
stop();
Symbol 2123 MovieClip Frame 93
stop();
Symbol 2123 MovieClip Frame 95
stop();
Symbol 2123 MovieClip Frame 97
stop();
Symbol 2123 MovieClip Frame 99
stop();
Symbol 2123 MovieClip Frame 101
stop();
Symbol 2123 MovieClip Frame 103
stop();
Symbol 2123 MovieClip Frame 105
stop();
Symbol 2123 MovieClip Frame 107
stop();
Symbol 2123 MovieClip Frame 109
stop();
Symbol 2123 MovieClip Frame 111
stop();
Symbol 2123 MovieClip Frame 113
stop();
Symbol 2123 MovieClip Frame 115
stop();
Symbol 2123 MovieClip Frame 117
stop();
Symbol 2123 MovieClip Frame 119
stop();
Symbol 2123 MovieClip Frame 121
stop();
Symbol 2123 MovieClip Frame 123
stop();
Symbol 2123 MovieClip Frame 125
stop();
Symbol 2123 MovieClip Frame 127
stop();
Symbol 2123 MovieClip Frame 129
stop();
Symbol 2123 MovieClip Frame 131
stop();
Symbol 2123 MovieClip Frame 133
stop();
Symbol 2123 MovieClip Frame 135
stop();
Symbol 2123 MovieClip Frame 137
stop();
Symbol 2123 MovieClip Frame 139
stop();
Symbol 2123 MovieClip Frame 141
stop();
Symbol 2123 MovieClip Frame 143
stop();
Symbol 2123 MovieClip Frame 145
stop();
Symbol 2123 MovieClip Frame 147
stop();
Symbol 2123 MovieClip Frame 149
stop();
Symbol 2123 MovieClip Frame 151
stop();