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);
}
__com_mochibot__("87593c62", this, 10301, true);
lavr = 1;
function menuChoiceOne() {
getURL ("http://www.pyrozen.com", "_blank");
}
st_qual = 0;
st_volum = 100;
testing = 1;
stop();
_root.user = SharedObject.getLocal("user_RedRoadRage");
onEnterFrame = function () {
};
NewMenu = new ContextMenu();
NewMenu.hideBuiltInItems();
NewMenu.customItems.push(new ContextMenuItem("Pyrozen", menuChoiceOne));
this.menu = NewMenu;
var CPMStarPoolID = 44874;
var CPMStarSubPoolID = 3;
System.security.allowDomain("server.cpmstar.com");
adBox.loadMovie((("http://server.cpmstar.com/adviewas2.swf?poolid=" + CPMStarPoolID) + "&subpoolid=") + CPMStarSubPoolID);
Frame 3
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (4);
}
if (Key.isDown(32)) {
gotoAndPlay (4);
}
};
Frame 19
stop();
onEnterFrame = function () {
if (got2go == 2) {
got2go = 1;
gotoAndStop (20);
}
if (Key.isDown(32)) {
gotoAndStop (20);
}
};
Frame 20
page = 1;
lvl2 = 1;
wp = 1;
wp_lvl = 1;
wp_ammo = 20;
wp_mag = 0;
cash = 0;
resistance = 1;
gaztank = 1;
resistance = 1;
nitrotank = 1;
nitro_fuel = 0;
motoracc = 1;
jalapeno = 0;
metal = 0;
meat = 15;
lvl_type_1 = 1;
lvl_type_2 = 1;
lvl_type_3 = 1;
lvl_type_4 = 1;
lvl_type_5 = 1;
lvl_type_6 = 1;
lvl_type_7 = 1;
lvl_type_8 = 1;
lvl_type_9 = 1;
lvl_type_10 = 1;
lvl_type_11 = 1;
lvl_type_12 = 1;
lvl_type_13 = 1;
lvl_type_14 = 1;
lvl_type_15 = 1;
lvl_type_16 = 1;
lvl_type_17 = 1;
lvl_type_18 = 1;
lvl_type_19 = 1;
lvl_type_20 = 1;
lvl_type_21 = 1;
lvl_type_22 = 1;
lvl_type_23 = 1;
lvl_type_24 = 1;
lvl_type_25 = 1;
wp_capacity_1_1 = 5;
wp_capacity_1_2 = 8;
wp_capacity_1_3 = 10;
wp_capacity_2_1 = 12;
wp_capacity_2_2 = 15;
wp_capacity_2_3 = 18;
wp_capacity_3_1 = 20;
wp_capacity_3_2 = 25;
wp_capacity_3_3 = 30;
wp_frate_1_1 = 15;
wp_frate_1_2 = 10;
wp_frate_1_3 = 7;
wp_frate_2_1 = 15;
wp_frate_2_2 = 12;
wp_frate_2_3 = 10;
wp_frate_3_1 = 4;
wp_frate_3_2 = 3;
wp_frate_3_3 = 2;
wp_power_1_1 = 35;
wp_power_1_2 = 35;
wp_power_1_3 = 35;
wp_power_2_1 = 55;
wp_power_2_2 = 55;
wp_power_2_3 = 100;
wp_power_3_1 = 10;
wp_power_3_2 = 20;
wp_power_3_3 = 30;
up_title_resistance = "RESISTANCE";
up_title_nitrotank = "NITRO SYSTEM";
up_title_gaztank = "GAZ TANK";
up_title_wp_lvl = "UPGRADE GUN";
up_title_wp = "SWITCH GUN";
up_desc_resistance = "UPGARDE CAR STAMINA & RESISTANCE";
up_desc_nitrotank = "UPGRADE JALAPENO EXTRACTION FOR MORE BOOST PER HOT-PEPPER";
up_desc_gaztank = "BIGGER GASTANK FOR YOUR EL-CAMINO";
up_desc_wp_lvl = "UPGRADE WEAPON FIRING-RATE AND HIT-DAMAGE";
up_desc_wp = "BUY A MORE BAD-ASS GUN!";
up_price_resistance_2 = 175;
up_price_resistance_3 = 300;
up_price_nitrotank_2 = 300;
up_price_nitrotank_3 = 750;
up_price_gaztank_2 = 250;
up_price_gaztank_3 = 800;
up_metal_gaztank_2 = 7;
up_metal_gaztank_3 = 20;
up_price_wp_lvl_2 = 75;
up_price_wp_lvl_3 = 160;
up_price_wp_2 = 350;
up_price_wp_3 = 700;
up_metal_wp_2 = 12;
up_metal_wp_3 = 22;
lvl_min_1 = 3;
lvl_sec_1 = 0;
lvl_tospawn_1 = 3;
lvl_min_2 = 2;
lvl_sec_2 = 0;
lvl_tospawn_2 = 6;
lvl_min_3 = 1;
lvl_sec_3 = 50;
lvl_tospawn_3 = 10;
lvl_min_4 = 1;
lvl_sec_4 = 30;
lvl_tospawn_4 = 12;
lvl_min_5 = 1;
lvl_sec_5 = 30;
lvl_tospawn_5 = 15;
lvl_min_6 = 0;
lvl_sec_6 = 30;
lvl_tospawn_6 = 3;
lvl_min_7 = 1;
lvl_sec_7 = 0;
lvl_tospawn_7 = 12;
lvl_min_8 = 2;
lvl_sec_8 = 0;
lvl_tospawn_8 = 20;
lvl_min_9 = 1;
lvl_sec_9 = 30;
lvl_tospawn_9 = 18;
lvl_min_10 = 0;
lvl_sec_10 = 15;
lvl_tospawn_10 = 2;
lvl_min_11 = 1;
lvl_sec_11 = 55;
lvl_tospawn_11 = 25;
lvl_min_12 = 2;
lvl_sec_12 = 15;
lvl_tospawn_12 = 30;
lvl_min_13 = 0;
lvl_sec_13 = 30;
lvl_tospawn_13 = 9;
lvl_min_14 = 1;
lvl_sec_14 = 45;
lvl_tospawn_14 = 35;
lvl_min_15 = 1;
lvl_sec_15 = 40;
lvl_tospawn_15 = 38;
lvl_min_16 = 1;
lvl_sec_16 = 55;
lvl_tospawn_16 = 40;
lvl_min_17 = 2;
lvl_sec_17 = 0;
lvl_tospawn_17 = 50;
lvl_min_18 = 1;
lvl_sec_18 = 0;
lvl_tospawn_18 = 20;
lvl_min_19 = 0;
lvl_sec_19 = 40;
lvl_tospawn_19 = 15;
lvl_min_20 = 1;
lvl_sec_20 = 10;
lvl_tospawn_20 = 30;
lvl_min_21 = 0;
lvl_sec_21 = 20;
lvl_tospawn_21 = 5;
lvl_min_22 = 1;
lvl_sec_22 = 5;
lvl_tospawn_22 = 45;
lvl_min_23 = 0;
lvl_sec_23 = 12;
lvl_tospawn_23 = 2;
lvl_min_24 = 0;
lvl_sec_24 = 45;
lvl_tospawn_24 = 35;
lvl_min_25 = 0;
lvl_sec_25 = 50;
lvl_tospawn_25 = 50;
stop();
onEnterFrame = function () {
if (got2go == 2) {
got2go = 1;
gotoAndStop (51);
}
if (got2go == 3) {
got2go = 1;
gotoAndStop (40);
}
};
if ((cheat_start == 2) && (testing == 2)) {
cheat_start = 1;
got2go = 3;
}
Instance of Symbol 72 MovieClip in Frame 20
onClipEvent (load) {
txx = "LOAD GAME";
if (_root.user.data.cash == undefined) {
gotoAndStop (21);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 28;
_parent.gotoAndStop(22);
}
}
Instance of Symbol 72 MovieClip in Frame 20
onClipEvent (load) {
txx = "START GAME";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 2;
_parent.gotoAndStop(21);
}
}
Instance of Symbol 72 MovieClip in Frame 20
onClipEvent (load) {
txx = "MORE GAMES";
dalink = "http://www.gamesfree.ca/";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
}
}
Instance of Symbol 621 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 22
timer = 75;
load_go = 2;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
gotoAndStop (40);
}
if (load_go == 2) {
load_go = 1;
_root.lvl2 = _root.user.data.lvl2;
_root.wp = _root.user.data.wp;
_root.wp_lvl = _root.user.data.wp_lvl;
_root.wp_ammo = _root.user.data.wp_ammo;
_root.wp_mag = _root.user.data.wp_mag;
_root.cash = _root.user.data.cash;
_root.resistance = _root.user.data.resistance;
_root.gaztank = _root.user.data.gaztank;
_root.nitrotank = _root.user.data.nitrotank;
_root.nitro_fuel = _root.user.data.nitro_fuel;
_root.motoracc = _root.user.data.motoracc;
_root.jalapeno = _root.user.data.jalapeno;
_root.metal = _root.user.data.metal;
_root.meat = _root.user.data.meat;
}
};
Frame 40
_root.page = 5;
if (_root.from_timeup == 2) {
_root.from_timeup = 3;
_root.page = 30;
}
if (_root.from_dead == 2) {
_root.from_dead = 1;
_root.page = 30;
}
if (_root.from_win == 2) {
_root.from_win = 1;
if ((_root.lvl == _root.lvl2) && (_root.lvl2 < 25)) {
_root.lvl2 = _root.lvl2 + 1;
}
_root.page = 29;
}
save_go = 2;
stop();
onEnterFrame = function () {
if (save_go == 2) {
save_go = 1;
_root.user.data.lvl2 = _root.lvl2;
_root.user.data.wp = _root.wp;
_root.user.data.wp_lvl = _root.wp_lvl;
_root.user.data.wp_ammo = _root.wp_ammo;
_root.user.data.wp_mag = _root.wp_mag;
_root.user.data.cash = _root.cash;
_root.user.data.resistance = _root.resistance;
_root.user.data.gaztank = _root.gaztank;
_root.user.data.nitrotank = _root.nitrotank;
_root.user.data.nitro_fuel = _root.nitro_fuel;
_root.user.data.motoracc = _root.motoracc;
_root.user.data.jalapeno = _root.jalapeno;
_root.user.data.metal = _root.metal;
_root.user.data.meat = _root.meat;
_root.user.data.user.flush();
}
if (_root.pageb != 6) {
_quality = "high";
} else {
if (st_qual == 0) {
_quality = "high";
}
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;
gotoAndStop (50);
}
};
Frame 50
timer = 10;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
gotoAndStop (51);
}
};
Frame 51
game_mode = eval ("_root.lvl_type_" + _root.lvl);
if (lvl == undefined) {
lvl = 25;
}
car = 1;
replay = 1;
pausedd = 1;
slowmotion_on = 2;
act = 1;
slowmotion = 1;
timer_setup_go = 1;
cnt.gotoAndStop(1);
cnt.car._x = cnt.start_point._x;
cnt.car._y = cnt.start_point._y;
cnt.car._rotation = cnt.start_point._rotation;
cnt._x = 250 - cnt.car._x;
cnt._y = (300 - cnt.car._y) + 300;
traces_nb = 1;
fumee_nb = 1;
shake = 0;
cam_intro_shake_stade = 1;
cam_intro_nb = 0;
cam_intro_timer = 50;
cam_intro_timer_st = cam_intro_timer * 2;
muz = 3;
reload_go = 2;
reload_timer = 0;
gaz = gaztank * 100;
energy_tot = resistance * 100;
energy = energy_tot;
zomby_dead_nb = 1;
blood_nb = 1;
blood_sol_nb = 1;
blood_burst_nb = 1;
steak_item_nb = 16;
cooling = 0;
var isMouseDown = false;
onMouseDown = function () {
isMouseDown = true;
};
onMouseUp = function () {
isMouseDown = false;
};
stop();
onEnterFrame = function () {
if (testing == 2) {
if (Key.isDown(32)) {
energy = energy - 20;
}
}
if (cheat_1 == 2) {
nitro_fuel = 100;
}
if (cheat_2 == 2) {
if ((reload_go == 3) && (reload_timer > 0)) {
reload_timer = 0;
}
}
if (cheat_3 == 2) {
wp_ammo = 999;
}
if (cheat_4 == 2) {
gaz = gaztank * 100;
}
if (cooling > 0) {
cooling = cooling - 1;
}
if (game_mode == 2) {
if (isMouseDown) {
if (cooling <= 0) {
if (wp_mag > 0) {
miree.gotoAndPlay(2);
cooling = eval ((("_root.wp_frate_" + wp) + "_") + wp_lvl);
wp_mag = wp_mag - 1;
cnt.car.anims.boxx.boxx.girl.boxx.gotoAndPlay(2);
cnt.car.anims.boxx.boxx.girl.snd.gotoAndPlay(wp * 2);
} else if (wp_ammo > 0) {
reload_go = 2;
}
}
}
}
if (energy <= 0) {
got2go = 2;
from_dead = 2;
}
wp_capacity = eval ((("_root.wp_capacity_" + _root.wp) + "_") + _root.wp_lvl);
if ((_root.wp_mag <= 0) && (_root.wp_ammo > 0)) {
if (reload_go == 1) {
reload_go = 2;
}
}
if (reload_go == 2) {
reload_go = 3;
reload_timer = 65;
}
if (reload_go == 3) {
if (reload_timer > 0) {
reload_timer = reload_timer - 1;
} else {
reload_go = 1;
if (wp_mag < wp_capacity) {
wp_bullet_missing = wp_capacity - wp_mag;
if (wp_ammo <= wp_bullet_missing) {
wp_ammo = 0;
wp_mag = wp_mag + wp_bullet_missing;
} else {
wp_mag = wp_capacity;
wp_ammo = wp_ammo - wp_bullet_missing;
}
}
}
}
if (act == 1) {
camera_speed = 0.3;
what = "car";
what_x = ((cnt.car.speedx * -150) / 20) * _root.slowmotion;
if (what_x < -230) {
what_x = -230;
}
if (what_x > 230) {
what_x = 230;
}
what_y = ((cnt.car.speedy * -180) / 20) * _root.slowmotion;
if (what_y < -280) {
what_y = -280;
}
if (what_y > 280) {
what_y = 280;
}
}
if (act == 3) {
camera_speed = 0.3;
what = "car";
what_x = 0;
what_y = 125;
}
if ((cnt._x - 10) > ((250 - eval (("cnt." + what) + "._x")) + what_x)) {
cnt._x = cnt._x - (((cnt._x - 10) - ((250 - eval (("cnt." + what) + "._x")) + what_x)) * camera_speed);
}
if ((cnt._x + 10) < ((250 - eval (("cnt." + what) + "._x")) + what_x)) {
cnt._x = cnt._x + ((((250 - eval (("cnt." + what) + "._x")) + what_x) - (cnt._x + 10)) * camera_speed);
}
if ((cnt._y - 10) > ((300 - eval (("cnt." + what) + "._y")) + what_y)) {
cnt._y = cnt._y - (((cnt._y - 10) - ((300 - eval (("cnt." + what) + "._y")) + what_y)) * camera_speed);
}
if ((cnt._y + 10) < ((300 - eval (("cnt." + what) + "._y")) + what_y)) {
cnt._y = cnt._y + ((((300 - eval (("cnt." + what) + "._y")) + what_y) - (cnt._y + 10)) * camera_speed);
}
if (shake > 0) {
if (shake_stade == 1) {
cnt._x = cnt._x + shake;
cnt._y = cnt._y + shake;
shake_stade = 2;
} else {
cnt._x = cnt._x - shake;
cnt._y = cnt._y - shake;
shake_stade = 1;
}
shake = shake - 1;
} else {
shake_stade = 1;
shake = 0;
}
if (st_qual == 1) {
_quality = "low";
}
if (st_qual == 2) {
_quality = "medium";
}
if (st_qual == 3) {
_quality = "high";
}
mySound = new Sound();
mySound.setVolume(_root.st_volum);
mySound.start(0, 1000);
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (40);
}
if (_root.got2go == 3) {
_root.got2go = 1;
gotoAndPlay (50);
}
};
Instance of Symbol 621 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 6 MovieClip Frame 1
randomFrame = random(160) + 15;
gotoAndPlay(randomFrame);
Symbol 6 MovieClip Frame 194
gotoAndPlay ("Loop");
Symbol 8 MovieClip [MoteurPart4] Frame 1
stop();
slotID = "empty";
posX = _x;
posY = _y;
Dragged = false;
NodeToClip = _root.Conteneur.Char.ClipSlot4;
CanDrag = false;
DefaultX = _x;
DefaultY = _y;
nowX = _x;
nowY = _y;
Locked = false;
onPress = function () {
if (!Locked) {
if (CanDrag || (_name != "Item4")) {
_root.dragItem(this);
_root.Glove._x = -1000;
_root.Glove._y = -1000;
Dragged = true;
}
}
};
onRelease = (_item.onReleaseOutside = function () {
if (!Locked) {
if (CanDrag || (_name != "Item4")) {
_root.dropItem(this);
Dragged = false;
if ((_name != "Item4") && (NodeToClip == _root.Conteneur.Char.ClipSlot4)) {
_root.IncreaseScore(_root.RepairScore);
RepairScore = 50;
LoupeScore = 50;
TempsRepair = 0;
TempsLoupe = 0;
_global.ScoreStade = "Loupe";
btnClickSound = new Sound();
btnClickSound.attachSound("sd_PlacerPiece");
btnClickSound.start();
_root.PopSmall("Bien!");
_global.CanUseLoupe = true;
Locked = true;
if (_global.StadeTuto == 6) {
_global.StadeTuto++;
}
_root.CanAddPiece = false;
_global.NbRepared++;
if (_global.NbRepared == 3) {
_root.PlayEnding();
}
} else if (_name != "Item4") {
_root.DecreaseScore(20);
_root.PopSmall("Mauvais");
this.removeMovieClip();
}
}
}
});
onEnterFrame = function () {
if (Dragged || (_name != "Item4")) {
NodeToClip = _root.ClipPlusProche(this);
}
};
Symbol 15 MovieClip [MoteurPart7] Frame 1
stop();
slotID = "empty";
posX = _x;
posY = _y;
Dragged = false;
NodeToClip = _root.Conteneur.Char.ClipSlot7;
CanDrag = false;
DefaultX = _x;
DefaultY = _y;
nowX = _x;
nowY = _y;
Locked = false;
onPress = function () {
if (!Locked) {
if (CanDrag || (_name != "Item7")) {
_root.dragItem(this);
_root.Glove._x = -1000;
_root.Glove._y = -1000;
Dragged = true;
}
}
};
onRelease = (_item.onReleaseOutside = function () {
if (!Locked) {
if (CanDrag || (_name != "Item7")) {
_root.dropItem(this);
Dragged = false;
if ((_name != "Item7") && (NodeToClip == _root.Conteneur.Char.ClipSlot7)) {
_root.IncreaseScore(_root.RepairScore);
RepairScore = 50;
LoupeScore = 50;
TempsRepair = 0;
TempsLoupe = 0;
_global.ScoreStade = "Loupe";
btnClickSound = new Sound();
btnClickSound.attachSound("sd_PlacerPiece");
btnClickSound.start();
_root.PopSmall("Bien!");
_global.CanUseLoupe = true;
Locked = true;
if (_global.StadeTuto == 6) {
_global.StadeTuto++;
}
_root.CanAddPiece = false;
_global.NbRepared++;
if (_global.NbRepared == 3) {
_root.PlayEnding();
}
} else if (_name != "Item7") {
_root.DecreaseScore(20);
_root.PopSmall("Mauvais");
this.removeMovieClip();
}
}
}
});
onEnterFrame = function () {
if (Dragged || (_name != "Item7")) {
NodeToClip = _root.ClipPlusProche(this);
}
};
Symbol 18 MovieClip [MoteurPart6] Frame 1
stop();
slotID = "empty";
posX = _x;
posY = _y;
Dragged = false;
NodeToClip = _root.Conteneur.Char.ClipSlot6;
CanDrag = false;
DefaultX = _x;
DefaultY = _y;
nowX = _x;
nowY = _y;
Locked = false;
onPress = function () {
if (!Locked) {
if (CanDrag || (_name != "Item6")) {
_root.dragItem(this);
Dragged = true;
}
}
};
onRelease = (_item.onReleaseOutside = function () {
if (!Locked) {
if (CanDrag || (_name != "Item6")) {
_root.dropItem(this);
_root.Glove._x = -1000;
_root.Glove._y = -1000;
Dragged = false;
if ((_name != "Item6") && (NodeToClip == _root.Conteneur.Char.ClipSlot6)) {
_root.IncreaseScore(_root.RepairScore);
RepairScore = 50;
LoupeScore = 50;
TempsRepair = 0;
TempsLoupe = 0;
_global.ScoreStade = "Loupe";
btnClickSound = new Sound();
btnClickSound.attachSound("sd_PlacerPiece");
btnClickSound.start();
_root.PopSmall("Bien!");
_global.CanUseLoupe = true;
Locked = true;
if (_global.StadeTuto == 6) {
_global.StadeTuto++;
}
_root.CanAddPiece = false;
_global.NbRepared++;
if (_global.NbRepared == 3) {
_root.PlayEnding();
}
} else if (_name != "Item6") {
_root.DecreaseScore(20);
_root.PopSmall("Mauvais");
this.removeMovieClip();
}
}
}
});
onEnterFrame = function () {
if (Dragged || (_name != "Item6")) {
NodeToClip = _root.ClipPlusProche(this);
}
};
Symbol 21 MovieClip [MoteurPart5] Frame 1
stop();
slotID = "empty";
posX = _x;
posY = _y;
Dragged = false;
NodeToClip = _root.Conteneur.Char.ClipSlot5;
CanDrag = false;
DefaultX = _x;
DefaultY = _y;
nowX = _x;
nowY = _y;
Locked = false;
onPress = function () {
if (!Locked) {
if (CanDrag || (_name != "Item5")) {
_root.dragItem(this);
_root.Glove._x = -1000;
_root.Glove._y = -1000;
Dragged = true;
}
}
};
onRelease = (_item.onReleaseOutside = function () {
if (!Locked) {
if (CanDrag || (_name != "Item5")) {
_root.dropItem(this);
Dragged = false;
if ((_name != "Item5") && (NodeToClip == _root.Conteneur.Char.ClipSlot5)) {
_root.IncreaseScore(_root.RepairScore);
RepairScore = 50;
LoupeScore = 50;
TempsRepair = 0;
TempsLoupe = 0;
_global.ScoreStade = "Loupe";
btnClickSound = new Sound();
btnClickSound.attachSound("sd_PlacerPiece");
btnClickSound.start();
_root.PopSmall("Bien!");
_global.CanUseLoupe = true;
Locked = true;
if (_global.StadeTuto == 6) {
_global.StadeTuto++;
}
_root.CanAddPiece = false;
_global.NbRepared++;
if (_global.NbRepared == 3) {
_root.PlayEnding();
}
} else if (_name != "Item5") {
_root.DecreaseScore(20);
_root.PopSmall("Mauvais");
this.removeMovieClip();
}
}
}
});
onEnterFrame = function () {
if (Dragged || (_name != "Item5")) {
NodeToClip = _root.ClipPlusProche(this);
}
};
Symbol 27 MovieClip [MoteurPart3] Frame 1
stop();
slotID = "empty";
posX = _x;
posY = _y;
Dragged = false;
NodeToClip = _root.Conteneur.Char.ClipSlot3;
CanDrag = false;
DefaultX = _x;
DefaultY = _y;
nowX = _x;
nowY = _y;
Locked = false;
onPress = function () {
if (!Locked) {
if (CanDrag || (_name != "Item3")) {
_root.dragItem(this);
_root.Glove._x = -1000;
_root.Glove._y = -1000;
Dragged = true;
}
}
};
onRelease = (_item.onReleaseOutside = function () {
if (!Locked) {
if (CanDrag || (_name != "Item3")) {
_root.dropItem(this);
Dragged = false;
if ((_name != "Item3") && (NodeToClip == _root.Conteneur.Char.ClipSlot3)) {
_root.IncreaseScore(_root.RepairScore);
RepairScore = 50;
LoupeScore = 50;
TempsRepair = 0;
TempsLoupe = 0;
_global.ScoreStade = "Loupe";
btnClickSound = new Sound();
btnClickSound.attachSound("sd_PlacerPiece");
btnClickSound.start();
_root.PopSmall("Bien!");
_global.CanUseLoupe = true;
Locked = true;
if (_global.StadeTuto == 6) {
_global.StadeTuto++;
}
_root.CanAddPiece = false;
_global.NbRepared++;
if (_global.NbRepared == 3) {
_root.PlayEnding();
}
} else if (_name != "Item3") {
_root.DecreaseScore(20);
_root.PopSmall("Mauvais");
this.removeMovieClip();
}
}
}
});
onEnterFrame = function () {
if (Dragged || (_name != "Item3")) {
NodeToClip = _root.ClipPlusProche(this);
}
};
Symbol 34 MovieClip Frame 50
if (loaded != 2) {
loaded = 2;
aa = 0;
tot = 0;
}
aa = aa + 1;
tot = tot + _parent.fps2;
_root.fps_average = Math.round(tot / aa);
if (aa >= 3) {
aa = 0;
tot = 0;
}
if (_root.st_qual == 0) {
if (_root.fps_average >= 42) {
_quality = "high";
}
if ((_root.fps_average >= 28) && (_root.fps_average < 42)) {
_quality = "medium";
}
if (_root.fps_average < 28) {
_quality = "low";
}
}
Symbol 35 MovieClip [fps] Frame 1
fps = 50;
var timeinit = new Date();
var lasttime = timeinit.getMilliseconds();
_visible = false;
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 40 MovieClip Frame 1
_root.stop();
_root.PercentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (_root.PercentLoaded != 100) {
setProperty(bar, _xscale , _root.PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 40 MovieClip Frame 2
gotoAndPlay (1);
Symbol 40 MovieClip Frame 3
_root.play();
Symbol 51 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_parent.im_energy_bar == 2) {
gotoAndStop(Math.round((_root.energy * 100) / _root.energy_tot) + 1);
} else {
gotoAndStop(_root.PercentLoaded + 1);
}
};
Symbol 62 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
_visible = false;
}
onEnterFrame = function () {
if (_parent._parent._currentframe != 10) {
_visible = false;
} else {
_visible = true;
}
};
Symbol 68 Button
on (release) {
act = 2;
if (dalink != undefined) {
getURL (dalink, "_blank");
}
}
on (rollOver) {
_root.fumee._x = _root._xmouse;
_root.fumee._y = _root._ymouse;
_root.fumee.gotoAndStop(1);
_root.fumee.gotoAndStop(2);
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 71 MovieClip Frame 1
if (_parent.nosnd == 2) {
stop();
}
Symbol 71 MovieClip Frame 50
stop();
Symbol 72 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 10
stop();
Symbol 72 MovieClip Frame 20
gotoAndStop (1);
Symbol 73 MovieClip Frame 150
stop();
Instance of Symbol 72 MovieClip in Symbol 73 MovieClip Frame 150
onClipEvent (load) {
txx = "PLAY";
nosnd = 2;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndPlay(4);
}
}
Symbol 85 MovieClip Frame 1
speedx = random(20) - 10;
speedy = random(20) - 10;
speedr = random(20) - 10;
_rotation = (random(360) + 1);
_xscale = (random(80) + 20);
_yscale = ((_xscale * 0.75) + random(_xscale * 0.5));
aa = random(2) + 1;
if (aa == 1) {
_xscale = (_xscale * -1);
}
_xscale = (_xscale * 0.45);
_yscale = (_yscale * 0.45);
limitsoly = random(40) - 20;
stop();
onEnterFrame = function () {
_x = (_x + speedx);
if ((_y + _parent._y) < (70 + limitsoly)) {
_y = (_y + speedy);
}
_rotation = (_rotation + speedr);
speedx = speedx * 0.92;
if (speedy < -0.5) {
speedy = speedy * 0.92;
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * 1.1;
}
if (speedy > 15) {
speedy = 15;
}
speedr = speedr * 0.95;
};
Symbol 91 MovieClip Frame 30
stop();
Symbol 95 MovieClip Frame 1
gotoAndStop(random(3) + 1);
Symbol 96 MovieClip Frame 100
gotoAndPlay (2);
Symbol 97 MovieClip Frame 1
speedx = random(20) - 10;
speedy = random(20) - 10;
speedr = random(40) - 20;
limity = random(3) + 3;
_x = (random(200) - 100);
_y = (random(200) - 100);
f.gotoAndPlay(random(100) + 1);
_rotation = (random(360) + 1);
_xscale = (random(25) + 25);
_yscale = _xscale;
limitsoly = random(100) - 50;
stop();
onEnterFrame = function () {
_x = (_x + speedx);
if ((_y + _parent._y) < (360 + limitsoly)) {
_y = (_y + speedy);
} else {
speedy = 0;
speedr = 0;
f.stop();
}
_rotation = (_rotation + speedr);
speedx = speedx * 0.9;
if (speedy < -0.5) {
speedy = speedy * 0.9;
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * 1.1;
}
if (speedy > limity) {
speedy = limity;
}
if (f._currentframe == 1) {
f.gotoAndPlay(((random(2) + 1) * 50) - 24);
}
sr = 0;
speedr = (sr - _rotation) * 0.05;
if ((_rotation < (sr - 0.5)) || (_rotation > (sr + 0.5))) {
_rotation = (_rotation + speedr);
}
};
Symbol 106 MovieClip Frame 32
stop();
Symbol 121 MovieClip Frame 1
timer = 0;
boxx.gotoAndPlay(random(18) + 1);
boxx.boxx.gotoAndPlay(random(25) + 1);
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
boxx.boxx.boxx.gotoAndStop(random(7) + 1);
timer = random(7) + 3;
}
};
Symbol 124 MovieClip Frame 1
_visible = false;
stop();
Symbol 124 MovieClip Frame 2
_visible = true;
Symbol 129 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 1
_y = (random(800) + 1);
_xscale = (random(80) + 20);
_yscale = (random(50) + 50);
speedy = random(3);
_alpha = (random(100) + 1);
_x = (random(100) - 50);
stop();
onEnterFrame = function () {
_y = (_y + speedy);
if (speedy < 15) {
speedy = speedy * 1.1;
}
if (speedy < 1) {
speedy = 1;
}
if (_y > 440) {
if (_alpha > 0) {
_alpha = (_alpha - 5);
} else {
_x = (random(100) - 50);
_alpha = (random(50) + 50);
_y = 0;
_xscale = (random(80) + 20);
_yscale = (random(50) + 50);
speedy = random(3);
}
}
};
Symbol 133 MovieClip Frame 1
stop();
Symbol 134 Button
on (release) {
getURL ("http://www.pyrozen.com/", "_blank");
}
Symbol 136 MovieClip Frame 1
gotoAndStop (2);
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 8
stop();
Symbol 157 MovieClip Frame 1
stop();
onEnterFrame = function () {
_x = (random(50) - 25);
_y = (random(50) - 25);
_alpha = (random(20) + 25);
};
Symbol 163 MovieClip Frame 1
_parent.stop();
stopAllSounds();
onEnterFrame = function () {
if (Key.isDown(32)) {
if (keyreleased_32 == 2) {
keyreleased_32 = 1;
_parent.play();
}
} else {
keyreleased_32 = 2;
}
};
Symbol 163 MovieClip Frame 102
boxx.boxx.tree.gotoAndStop(2);
Symbol 163 MovieClip Frame 152
boxx.boxx.tree.gotoAndStop(3);
boxx.gotoAndStop(2);
Symbol 163 MovieClip Frame 179
boxx.boxx.tree.gotoAndStop(4);
Symbol 163 MovieClip Frame 197
boxx.boxx.tree.gotoAndStop(5);
Symbol 163 MovieClip Frame 250
logoo.play();
Symbol 163 MovieClip Frame 256
boxx.boxx.tree.gotoAndStop(6);
boxx.boxx.gotoAndStop(2);
Symbol 163 MovieClip Frame 546
_parent.play();
Symbol 177 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.page == 1) {
_root.pageb = 1;
if (_currentframe == 25) {
gotoAndPlay (26);
}
} else if (_root.pageb != _root.page) {
if (_currentframe == 1) {
_root.pageb = _root.page;
gotoAndPlay (2);
}
if (_currentframe == 25) {
gotoAndPlay (26);
}
}
};
Symbol 177 MovieClip Frame 2
play();
Symbol 177 MovieClip Frame 25
stop();
Symbol 177 MovieClip Frame 26
play();
Symbol 177 MovieClip Frame 50
_root.pageb = _root.page;
if (_root.from_start_lvl == 2) {
_root.from_start_lvl = 1;
_root.got2go = 2;
} else {
gotoAndPlay (2);
}
Symbol 191 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
shake = 0;
sx = _x;
sy = _y;
}
stop();
onEnterFrame = function () {
if (shake > 0) {
_x = ((sx + random(shake)) - (shake / 2));
_y = ((sy + random(shake)) - (shake / 2));
shake = shake - 1;
} else {
_x = sx;
_y = sy;
}
};
Symbol 210 Button
on (release) {
gotoAndStop (2);
}
Symbol 215 Button
on (release) {
gotoAndStop (3);
}
Symbol 219 Button
on (release) {
gotoAndStop (4);
}
Symbol 220 MovieClip Frame 33
_parent.gotoAndStop(_parent._currentframe + 1);
Symbol 220 MovieClip Frame 90
_parent.gotoAndStop(_parent._currentframe + 1);
Symbol 220 MovieClip Frame 100
stop();
Symbol 225 MovieClip Frame 100
_root.page = 3;
stop();
Symbol 226 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 4
_root.muz = 2;
Symbol 228 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_parent.bd._currentframe);
};
Symbol 235 Button
on (release) {
_root.lvl = nb;
_root.page = 4;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 237 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if ((nb > _root.lvl2) && (_root.cheat_8 != 2)) {
gotoAndStop (21);
}
}
stop();
Symbol 237 MovieClip Frame 10
stop();
Symbol 237 MovieClip Frame 20
gotoAndStop (1);
Symbol 247 MovieClip Frame 1
sec = eval ("_root.lvl_sec_" + _root.lvl);
if (sec < 9) {
sec2 = "0" + sec;
} else {
sec2 = sec;
}
min = eval ("_root.lvl_min_" + _root.lvl);
aff = (min + ":") + sec2;
Symbol 253 MovieClip Frame 1
aff = "x" + eval ("_root.lvl_tospawn_" + _root.lvl);
Symbol 260 MovieClip Frame 1
stop();
Symbol 272 Button
on (release) {
_root.muz = 2;
_root.page = 3;
}
Symbol 278 MovieClip Frame 1
gotoAndStop(_parent.nb);
Symbol 290 MovieClip Frame 1
gotoAndStop(_parent._parent.nb);
Symbol 291 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (dontmove != 2) {
gotoAndPlay(25 - (_parent.nb * 5));
} else {
stop();
}
}
Symbol 294 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 1
if (nb == 1) {
word = "jalapeno";
}
if (nb == 2) {
word = "wp_ammo";
}
if (nb == 3) {
word = "gaz";
}
if (nb == 4) {
word = "metal";
}
if (nb == 5) {
word = "meat";
}
if (nb == 6) {
word = "cash";
}
many = eval ("_root." + word);
if (nb == 6) {
affboxx.gotoAndStop(2);
aff = Math.round(many) + " $";
} else {
affboxx.gotoAndStop(1);
aff = Math.round(many);
}
Instance of Symbol 291 MovieClip "boxx2" in Symbol 295 MovieClip Frame 1
onClipEvent (load) {
dontmove = 2;
}
Symbol 299 Button
on (release) {
_root.st_qual = nb;
}
on (rollOver) {
gotoAndStop (1);
}
on (rollOut) {
gotoAndStop (2);
}
Symbol 300 MovieClip Frame 1
onEnterFrame = function () {
if (nb == _root.st_qual) {
gotoAndStop (3);
} else if (_currentframe == 3) {
gotoAndStop (2);
}
};
Symbol 306 Button
on (press) {
_parent.candrag = 2;
}
on (release, releaseOutside) {
_parent.candrag = 1;
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 307 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 1
candrag = 1;
boxx._x = (_root.st_volum * 213) / 100;
stop();
onEnterFrame = function () {
if (candrag == 2) {
boxx._x = _xmouse;
}
if (boxx._x < 0) {
boxx._x = 0;
}
if (boxx._x > 213) {
boxx._x = 213;
}
boxx._y = (boxx._x * -15) / 213;
_root.st_volum = (boxx._x * 100) / 213;
};
Symbol 332 Button
on (release) {
gotoAndStop (2);
}
Symbol 334 Button
on (release) {
gotoAndStop (3);
}
Symbol 338 MovieClip Frame 1
stop();
Symbol 338 MovieClip Frame 2
play();
Symbol 350 Button
on (release) {
act = 2;
}
on (rollOver) {
if (_parent._parent.upboxx != undefined) {
_parent._parent.upboxx.gotoAndStop(2);
}
gotoAndStop (2);
}
on (rollOut) {
if (_parent._parent.upboxx != undefined) {
_parent._parent.upboxx.gotoAndStop(1);
}
gotoAndStop (1);
}
Symbol 354 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
price = 20;
boxx.gotoAndStop(typee);
aff3 = "Sell Steaks";
}
stop();
onEnterFrame = function () {
if (act == 2) {
act = 1;
if (_root.meat > 0) {
_root.cash = _root.cash + (price * _root.meat);
_root.meat = 0;
snd.gotoAndPlay(2);
_parent._parent.iconboxx.gotoAndPlay(2);
} else {
_parent.nosteak.gotoAndPlay(2);
}
}
};
Symbol 359 MovieClip Frame 1
stop();
Symbol 360 MovieClip Frame 1
if (_root.firsttimer_zombistro != 2) {
_root.firsttimer_zombistro = 2;
stop();
} else {
gotoAndStop (3);
}
Instance of Symbol 354 MovieClip in Symbol 360 MovieClip Frame 3
onClipEvent (load) {
typee = 6;
}
Symbol 361 MovieClip Frame 1
stop();
Instance of Symbol 295 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 295 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Symbol 374 MovieClip Frame 1
gotoAndStop(_parent.valu + 1);
Symbol 375 Button
on (release) {
act = 2;
}
on (rollOver) {
if (_parent._parent.upboxx != undefined) {
_parent._parent.upboxx.gotoAndStop(2);
}
gotoAndStop (2);
}
on (rollOut) {
if (_parent._parent.upboxx != undefined) {
_parent._parent.upboxx.gotoAndStop(1);
}
gotoAndStop (1);
}
Symbol 380 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 1
boxx.gotoAndStop(nb);
Symbol 382 MovieClip Frame 1
if ((_parent.typee == 3) || (_parent.typee == 5)) {
if (_parent.valu < 3) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
} else {
gotoAndStop (1);
}
Instance of Symbol 381 MovieClip in Symbol 382 MovieClip Frame 2
onClipEvent (load) {
nb = 4;
}
Symbol 383 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
if (typee == 1) {
word = "resistance";
}
if (typee == 2) {
word = "nitrotank";
}
if (typee == 3) {
word = "gaztank";
}
if (typee == 4) {
word = "wp_lvl";
}
if (typee == 5) {
word = "wp";
}
valu = eval ("_root." + word);
price = eval ((("_root.up_price_" + word) + "_") + (valu + 1));
boxx.gotoAndStop(typee);
infoboxx.gotoAndStop(side);
aff1 = eval ("_root.up_title_" + word);
aff2 = eval ("_root.up_desc_" + word);
aff3 = price + " $";
if (valu >= 3) {
aff3 = "MAXED";
}
if ((typee == 3) || (typee == 5)) {
aff4 = eval ((("_root.up_metal_" + word) + "_") + (valu + 1));
} else {
aff4 = 0;
}
}
stop();
onEnterFrame = function () {
if (act == 2) {
act = 1;
if (valu < 3) {
if (_root.cash >= price) {
if (_root.metal >= aff4) {
if (typee == 5) {
_root.wp_lvl = 1;
}
_root.cash = _root.cash - price;
_root.metal = _root.metal - aff4;
Set("_root." + word, eval ("_root." + word) + 1);
_parent.gotoAndPlay(2);
} else {
_parent.nocash.from_miss_metal = 2;
_parent.nocash.gotoAndPlay(2);
}
} else {
_parent.nocash.gotoAndPlay(2);
}
}
}
};
Symbol 386 MovieClip Frame 1
if (_parent.from_miss_metal == 2) {
_parent.from_miss_metal = 1;
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 381 MovieClip in Symbol 386 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 381 MovieClip in Symbol 386 MovieClip Frame 2
onClipEvent (load) {
nb = 4;
}
Symbol 387 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 2
play();
Symbol 391 MovieClip Frame 1
stop();
Instance of Symbol 72 MovieClip in Symbol 391 MovieClip Frame 1
onClipEvent (load) {
txx = "BACK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 5;
}
}
Instance of Symbol 383 MovieClip in Symbol 391 MovieClip Frame 1
onClipEvent (load) {
typee = 1;
side = 1;
}
Instance of Symbol 295 MovieClip in Symbol 391 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 295 MovieClip in Symbol 391 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 383 MovieClip in Symbol 391 MovieClip Frame 1
onClipEvent (load) {
typee = 2;
side = 2;
}
Instance of Symbol 383 MovieClip in Symbol 391 MovieClip Frame 1
onClipEvent (load) {
typee = 3;
side = 1;
}
Symbol 391 MovieClip Frame 2
_parent.upboxx.shake = 15;
Symbol 399 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
shake = 0;
sx = _x;
sy = _y;
}
stop();
onEnterFrame = function () {
boxx.gotoAndStop(_root.wp);
if (shake > 0) {
_x = ((sx + random(shake)) - (shake / 2));
_y = ((sy + random(shake)) - (shake / 2));
shake = shake - 1;
} else {
_x = sx;
_y = sy;
}
};
Symbol 402 MovieClip Frame 1
stop();
Instance of Symbol 72 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) {
txx = "BACK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 5;
}
}
Instance of Symbol 383 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) {
typee = 4;
side = 1;
}
Instance of Symbol 295 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 295 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 383 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) {
typee = 5;
side = 1;
}
Symbol 402 MovieClip Frame 2
_parent.upboxx.shake = 15;
Symbol 408 MovieClip Frame 1
gotoAndPlay (2);
Symbol 408 MovieClip Frame 76
_root.page = 5;
if ((_root.lvl == _root.lvl2) && (_root.lvl2 < 25)) {
_root.lvl2 = _root.lvl2 + 1;
}
stop();
Symbol 411 MovieClip Frame 1
if (_root.from_timeup == 3) {
gotoAndStop (2);
} else {
stop();
}
Symbol 414 MovieClip Frame 1
if (_root.from_timeup == 3) {
gotoAndStop (2);
} else {
stop();
}
Symbol 415 MovieClip Frame 1
gotoAndPlay (2);
Symbol 415 MovieClip Frame 65
if (_root.from_timeup == 3) {
_root.from_timeup = 1;
}
stop();
Instance of Symbol 72 MovieClip in Symbol 415 MovieClip Frame 65
onClipEvent (load) {
txx = "CONTINUE";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.play();
}
}
Instance of Symbol 72 MovieClip in Symbol 415 MovieClip Frame 65
onClipEvent (load) {
txx = "CHEATS";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.from_go_to_cheats = 2;
_parent.play();
}
}
Instance of Symbol 72 MovieClip in Symbol 415 MovieClip Frame 65
onClipEvent (load) {
txx = "TIPS & GUIDE";
dalink = "http://www.gamesfree.ca/game/8250/walkthrough/red-road-rage.html";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
}
}
Symbol 415 MovieClip Frame 80
_root.page = 5;
if (_root.from_go_to_cheats == 2) {
_root.from_go_to_cheats = 1;
_root.page = 8;
}
stop();
Symbol 416 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
_root.pageb = _root.page;
}
_root.muz = 1;
stop();
onEnterFrame = function () {
gotoAndStop(_root.pageb);
cheatbox = String(cheatbox.toUpperCase());
};
Instance of Symbol 228 MovieClip in Symbol 416 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((_parent.doors._currentframe >= 15) && (_parent.doors._currentframe <= 25)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 9;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 10;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 11;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 12;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 13;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 14;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 15;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 16;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 17;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 18;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 19;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 20;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 21;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 22;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 23;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 24;
}
Instance of Symbol 237 MovieClip in Symbol 416 MovieClip Frame 3
onClipEvent (load) {
nb = 25;
}
Symbol 416 MovieClip Frame 4
Instance of Symbol 72 MovieClip in Symbol 416 MovieClip Frame 4
onClipEvent (load) {
txx = "START!";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 1;
_root.from_start_lvl = 2;
}
}
Instance of Symbol 72 MovieClip in Symbol 416 MovieClip Frame 5
onClipEvent (load) {
txx = "CAR";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 11;
}
}
Instance of Symbol 72 MovieClip in Symbol 416 MovieClip Frame 5
onClipEvent (load) {
txx = "WEAPONS";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 12;
}
}
Instance of Symbol 72 MovieClip in Symbol 416 MovieClip Frame 5
onClipEvent (load) {
txx = "EXTRAS";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 7;
}
}
Instance of Symbol 72 MovieClip in Symbol 416 MovieClip Frame 5
onClipEvent (load) {
txx = "OPTIONS";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 6;
}
}
Instance of Symbol 72 MovieClip in Symbol 416 MovieClip Frame 5
onClipEvent (load) {
txx = "BBQ";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 10;
}
}
Instance of Symbol 264 MovieClip in Symbol 416 MovieClip Frame 5
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((_parent.doors._currentframe >= 15) && (_parent.doors._currentframe <= 25)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 295 MovieClip in Symbol 416 MovieClip Frame 5
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 72 MovieClip in Symbol 416 MovieClip Frame 6
onClipEvent (load) {
txx = "BACK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 5;
}
}
Instance of Symbol 300 MovieClip in Symbol 416 MovieClip Frame 6
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 300 MovieClip in Symbol 416 MovieClip Frame 6
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 300 MovieClip in Symbol 416 MovieClip Frame 6
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 300 MovieClip in Symbol 416 MovieClip Frame 6
onClipEvent (load) {
nb = 0;
}
Instance of Symbol 72 MovieClip in Symbol 416 MovieClip Frame 7
onClipEvent (load) {
txx = "CHEATS";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 8;
}
}
Instance of Symbol 72 MovieClip in Symbol 416 MovieClip Frame 7
onClipEvent (load) {
txx = "CRAZY VALET";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 9;
}
}
Instance of Symbol 72 MovieClip in Symbol 416 MovieClip Frame 7
onClipEvent (load) {
txx = "BACK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 5;
}
}
Symbol 416 MovieClip Frame 8
cheatbox = "";
Instance of Symbol 72 MovieClip in Symbol 416 MovieClip Frame 8
onClipEvent (load) {
txx = "ACTIVATE!";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_parent.cheatbox == "CAMINO") {
_root.cheat_1 = 2;
cheat_go = 2;
}
if (_parent.cheatbox == "LOCKNLOAD") {
_root.cheat_2 = 2;
cheat_go = 2;
}
if (_parent.cheatbox == "BULLETTIME") {
_root.cheat_3 = 2;
cheat_go = 2;
}
if (_parent.cheatbox == "TANK") {
_root.cheat_4 = 2;
cheat_go = 2;
}
if (_parent.cheatbox == "STEERING") {
_root.cheat_5 = 2;
cheat_go = 2;
}
if (_parent.cheatbox == "BISTRO") {
_root.meat = _root.meat + 100;
cheat_go = 2;
}
if (_parent.cheatbox == "METAL") {
_root.metal = _root.metal + 25;
cheat_go = 2;
}
if (_parent.cheatbox == "STAGES") {
_root.cheat_8 = 2;
cheat_go = 2;
}
}
if (cheat_go == 2) {
cheat_go = 3;
cheat_go_timer = 60;
_parent.cheatbox = "MAGNIFICO!";
}
if (cheat_go == 3) {
if (cheat_go_timer > 0) {
cheat_go_timer = cheat_go_timer - 1;
} else {
_parent.cheatbox = "";
cheat_go = 1;
}
}
}
Instance of Symbol 72 MovieClip in Symbol 416 MovieClip Frame 8
onClipEvent (load) {
txx = "CHEAT LIST";
dalink = "http://www.gamesfree.ca/game/8250/cheats/red-road-rage.html";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
}
}
Instance of Symbol 72 MovieClip in Symbol 416 MovieClip Frame 8
onClipEvent (load) {
txx = "BACK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 7;
}
}
Instance of Symbol 72 MovieClip in Symbol 416 MovieClip Frame 9
onClipEvent (load) {
txx = "PLAY";
dalink = "http://www.gamesfree.ca/game/7779/play/crazy-valet.html";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
}
}
Instance of Symbol 72 MovieClip in Symbol 416 MovieClip Frame 9
onClipEvent (load) {
txx = "BACK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 7;
}
}
Instance of Symbol 72 MovieClip in Symbol 416 MovieClip Frame 10
onClipEvent (load) {
txx = "BACK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 5;
}
}
Instance of Symbol 72 MovieClip in Symbol 416 MovieClip Frame 12
onClipEvent (load) {
txx = "BACK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.page = 5;
}
}
Symbol 418 MovieClip Frame 1
gotoAndStop (2);
Symbol 424 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((_root.muzb != _root.muz) && (_root.muz != undefined)) {
_root.muzb = _root.muz;
stopAllSounds();
gotoAndPlay(_root.muz * 2);
}
};
Symbol 424 MovieClip Frame 3
stop();
Symbol 424 MovieClip Frame 5
stop();
Symbol 424 MovieClip Frame 7
stop();
Symbol 531 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 618 MovieClip Frame 1
lavr_link = "http://www.gamesfree.ca/";
shade = 0;
Symbol 618 MovieClip Frame 2
lavr_link = "http://www.andkon.com";
shade = 2;
Symbol 618 MovieClip Frame 3
lavr_link = "http://www.SolidGames.com";
shade = 0;
Symbol 618 MovieClip Frame 4
lavr_link = "http://www.abroy.com/";
shade = 1;
Symbol 618 MovieClip Frame 5
lavr_link = "http://www.yepi.com";
shade = 0;
Symbol 618 MovieClip Frame 6
lavr_link = "http://www.bubblebox.com";
shade = 1;
Symbol 618 MovieClip Frame 7
lavr_link = "http://www.bunnygames.com";
shade = 1;
Symbol 618 MovieClip Frame 8
lavr_link = "http://www.dailyfreegames.com";
shade = 1;
Symbol 618 MovieClip Frame 9
lavr_link = "http://www.trochoivui.com";
shade = 0;
Symbol 618 MovieClip Frame 10
lavr_link = "http://www.2flashgames.com";
shade = 2;
Symbol 618 MovieClip Frame 11
lavr_link = "http://www.flashninjaclan.com";
shade = 1;
Symbol 618 MovieClip Frame 12
lavr_link = "http://www.gamesxl.com/";
shade = 0;
Symbol 618 MovieClip Frame 13
lavr_link = "http://www.funny-games.biz";
shade = 1;
Symbol 618 MovieClip Frame 14
lavr_link = "http://www.gameitnow.com";
shade = 2;
Symbol 618 MovieClip Frame 15
lavr_link = "http://www.games1.com";
shade = 0;
Symbol 618 MovieClip Frame 16
lavr_link = "http://www.onjogos.com.br";
shade = 1;
Symbol 618 MovieClip Frame 17
lavr_link = "http://www.gamesfreak.net";
shade = 2;
Symbol 618 MovieClip Frame 18
lavr_link = "http://www.maxi-juegos.com";
shade = 1;
Symbol 618 MovieClip Frame 19
lavr_link = "http://www.jarkey.net";
shade = 2;
Symbol 618 MovieClip Frame 20
lavr_link = "http://www.gam123bee.com/";
shade = 1;
Symbol 618 MovieClip Frame 21
lavr_link = "http://www.keepbusy.net";
shade = 1;
Symbol 618 MovieClip Frame 22
lavr_link = "http://www.microjogos.com";
shade = 1;
Symbol 618 MovieClip Frame 23
lavr_link = "http://www.minijuegos.com";
shade = 2;
Symbol 618 MovieClip Frame 24
lavr_link = "http://www.oyunskor.com/";
shade = 1;
Symbol 618 MovieClip Frame 25
lavr_link = "http://www.mostfungames.com";
shade = 2;
Symbol 618 MovieClip Frame 26
lavr_link = "http://www.gameshot.org";
shade = 1;
Symbol 618 MovieClip Frame 27
lavr_link = "http://www.online-games-zone.com/";
shade = 2;
Symbol 618 MovieClip Frame 28
lavr_link = "http://www.puffgames.com";
shade = 2;
Symbol 618 MovieClip Frame 29
lavr_link = "http://www.spele.nl";
shade = 1;
Symbol 618 MovieClip Frame 30
lavr_link = "http://www.abab.com";
shade = 0;
Symbol 618 MovieClip Frame 31
lavr_link = "http://www.thegamesonline.com/";
shade = 1;
Symbol 618 MovieClip Frame 32
lavr_link = "http://www.ultimatearcade.com";
shade = 1;
Symbol 618 MovieClip Frame 33
lavr_link = "http://www.girlgames4u.com/";
shade = 1;
Symbol 618 MovieClip Frame 34
lavr_link = "http://www.beer-games.net";
shade = 0;
Symbol 618 MovieClip Frame 35
lavr_link = "http://www.beer-games.net";
shade = 0;
Symbol 618 MovieClip Frame 36
lavr_link = "http://www.jeuxvideo-flash.com/";
shade = 0;
Symbol 618 MovieClip Frame 37
lavr_link = "http://www.flashgames.it/";
shade = 1;
Symbol 618 MovieClip Frame 38
lavr_link = "http://www.4v4.com/";
shade = 0;
Symbol 618 MovieClip Frame 39
lavr_link = "http://www.hallpass.com/";
shade = 2;
Symbol 618 MovieClip Frame 40
lavr_link = "http://www.gamegecko.com/";
shade = 0;
Symbol 618 MovieClip Frame 41
lavr_link = "http://www.benz.be";
shade = 2;
Symbol 618 MovieClip Frame 42
lavr_link = "http://www.net-games.co.il/";
shade = 1;
Symbol 618 MovieClip Frame 43
lavr_link = "http://www.bgames.com";
shade = 0;
Symbol 618 MovieClip Frame 44
lavr_link = "http://www.pinkyarcade.com/";
shade = 1;
Symbol 618 MovieClip Frame 45
lavr_link = "http://jayisgames.com/";
shade = 0;
Symbol 618 MovieClip Frame 46
lavr_link = "http://www.twizl.com/";
shade = 1;
Symbol 618 MovieClip Frame 47
lavr_link = "http://www.a10.com/";
shade = 1;
Symbol 618 MovieClip Frame 48
lavr_link = "http://www.bonniegames.com/";
shade = 1;
Symbol 618 MovieClip Frame 49
lavr_link = "http://www.ug2.com/";
shade = 0;
Symbol 618 MovieClip Frame 50
lavr_link = "http://www.agame.com";
shade = 1;
Symbol 618 MovieClip Frame 51
lavr_link = "http://www.gamesclub.com/";
shade = 1;
Symbol 618 MovieClip Frame 52
lavr_link = "http://www.killhours.com/";
shade = 1;
Symbol 618 MovieClip Frame 53
lavr_link = "http://www.flasharcadegamessite.com/";
shade = 1;
Symbol 618 MovieClip Frame 54
lavr_link = "http://www.roundgames.com/";
shade = 2;
Symbol 618 MovieClip Frame 55
lavr_link = "http://www.arcadegangsta.com/";
shade = 1;
Symbol 618 MovieClip Frame 56
lavr_link = "http://www.bored.com/";
shade = 0;
Symbol 618 MovieClip Frame 57
lavr_link = "http://www.flash-games.net/";
shade = 1;
Symbol 618 MovieClip Frame 58
lavr_link = "http://www.flash-game.net/";
shade = 1;
Symbol 618 MovieClip Frame 59
lavr_link = "http://www.kingofgames.net";
shade = 1;
Symbol 618 MovieClip Frame 60
lavr_link = "http://www.playhub.com/";
shade = 0;
Symbol 618 MovieClip Frame 61
lavr_link = "http://www.123spill.no/";
shade = 1;
Symbol 618 MovieClip Frame 62
lavr_link = "http://www.dailygames.com/";
shade = 1;
Symbol 618 MovieClip Frame 63
lavr_link = "http://www.octogames.com/";
shade = 2;
Symbol 618 MovieClip Frame 64
lavr_link = "http://www.ugotgames.com/";
shade = 1;
Symbol 618 MovieClip Frame 65
lavr_link = "http://www.fupa.com/";
shade = 1;
Symbol 618 MovieClip Frame 66
lavr_link = "http://www.kibagames.com/";
shade = 0;
Symbol 618 MovieClip Frame 67
lavr_link = "http://www.kraloyun.com/";
shade = 0;
Symbol 618 MovieClip Frame 68
lavr_link = "http://www.spielaffe.de/";
shade = 0;
Symbol 618 MovieClip Frame 69
lavr_link = "http://www.39games.com";
shade = 2;
Symbol 618 MovieClip Frame 70
lavr_link = "http://www.bijuegos.com";
shade = 0;
Symbol 618 MovieClip Frame 71
lavr_link = "http://www.mofunzone.com";
shade = 2;
Symbol 618 MovieClip Frame 72
lavr_link = "http://www.freegamespy.com/";
shade = 2;
Symbol 618 MovieClip Frame 73
lavr_link = "http://www.jogos10.com";
shade = 0;
Symbol 618 MovieClip Frame 74
lavr_link = "http://www.juegos10.com";
shade = 0;
Symbol 618 MovieClip Frame 75
lavr_link = "http://flash.178.com/";
shade = 0;
Symbol 618 MovieClip Frame 76
lavr_link = "http://www.papajogos.com.br";
shade = 0;
Symbol 618 MovieClip Frame 77
lavr_link = "http://www.arcadelots.com/";
shade = 0;
Symbol 618 MovieClip Frame 78
lavr_link = "http://www.minigamers.com/";
shade = 0;
Symbol 618 MovieClip Frame 79
lavr_link = "http://www.stickpage.com";
shade = 0;
Symbol 618 MovieClip Frame 80
lavr_link = "http://www.y8.com/";
shade = 1;
Symbol 618 MovieClip Frame 81
lavr_link = "http://www.y3.com/";
shade = 1;
Symbol 618 MovieClip Frame 82
lavr_link = "http://www.gangofgamers.com/";
shade = 0;
Symbol 618 MovieClip Frame 83
lavr_link = "http://www.videobash.com/";
shade = 0;
Symbol 619 MovieClip Frame 1
stop();
Symbol 620 Button
on (release) {
getURL (boxx.lavr_link, "_blank");
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (21);
}
Symbol 621 MovieClip Frame 1
stop();
Symbol 621 MovieClip Frame 20
stop();
Symbol 629 MovieClip Frame 1
_visible = false;
Symbol 632 MovieClip Frame 1
_x = (random(30) - 15);
_y = (random(30) - 15);
_xscale = (random(75) + 75);
_yscale = (random(75) + 75);
aa = random(2) + 1;
if (aa == 1) {
_xscale = (_xscale * -1);
}
_rotation = (random(360) + 1);
Symbol 636 MovieClip Frame 1
_x = (random(30) - 15);
_y = (random(30) - 15);
_xscale = (random(75) + 75);
_yscale = (random(75) + 75);
aa = random(2) + 1;
if (aa == 1) {
_xscale = (_xscale * -1);
}
_rotation = (random(360) + 1);
Symbol 638 MovieClip Frame 1
gotoAndPlay(random(25) + 1);
Symbol 638 MovieClip Frame 27
aa = random(3) + 1;
if (aa == 1) {
Set(("_root.cnt.it_" + _root.steak_item_nb) + "._x", _parent._x);
Set(("_root.cnt.it_" + _root.steak_item_nb) + "._y", _parent._y);
Set(("_root.cnt.it_" + _root.steak_item_nb) + ".typee", 5);
eval ("_root.cnt.it_" + _root.steak_item_nb).gotoAndStop(1);
eval ("_root.cnt.it_" + _root.steak_item_nb).gotoAndStop(2);
_root.steak_item_nb = _root.steak_item_nb + 1;
if (_root.steak_item_nb > 30) {
_root.steak_item_nb = 16;
}
}
stop();
Symbol 642 MovieClip Frame 1
gotoAndPlay((random(3) + 1) * 2);
Symbol 642 MovieClip Frame 3
stop();
Symbol 642 MovieClip Frame 5
stop();
Symbol 642 MovieClip Frame 7
stop();
Symbol 648 MovieClip Frame 1
gotoAndPlay((random(5) + 1) * 2);
Symbol 648 MovieClip Frame 3
stop();
Symbol 648 MovieClip Frame 5
stop();
Symbol 648 MovieClip Frame 7
stop();
Symbol 648 MovieClip Frame 9
stop();
Symbol 648 MovieClip Frame 11
stop();
Symbol 649 MovieClip Frame 1
_root.sfx.gotoAndPlay((random(8) + 1) * 2);
if ((_parent.poid <= 4) || (Math.abs(_root.cnt.car.speed) <= 2.5)) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
Symbol 650 MovieClip Frame 1
_visible = false;
stop();
Symbol 650 MovieClip Frame 2
_visible = true;
stop();
onEnterFrame = function () {
if (_root.pausedd == 1) {
distx = _parent.car._x - _x;
disty = _parent.car._y - _y;
disttot = Math.abs(distx) + Math.abs(disty);
dist = Math.sqrt(Math.pow(distx, 2) + Math.pow(disty, 2));
if (dist <= 800) {
_visible = true;
} else {
_visible = false;
}
}
};
Symbol 653 MovieClip Frame 1
stop();
Symbol 655 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
};
Symbol 655 MovieClip Frame 2
_visible = true;
stop();
onEnterFrame = function () {
distx = _parent.car._x - _x;
disty = _parent.car._y - _y;
disttot = Math.abs(distx) + Math.abs(disty);
dist = Math.sqrt(Math.pow(distx, 2) + Math.pow(disty, 2));
if (dist < 800) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 658 MovieClip Frame 1
_visible = false;
stop();
Symbol 658 MovieClip Frame 2
_visible = true;
stop();
Symbol 661 MovieClip Frame 1
stop();
onEnterFrame = function () {
sr = _parent._parent._parent.rot * 2;
speedr = (sr - _rotation) * 0.2;
if ((_rotation < (sr - 0.5)) || (_rotation > (sr + 0.5))) {
_rotation = (_rotation + speedr);
}
};
Instance of Symbol 660 MovieClip in Symbol 661 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.goal_1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
inpoint1 = 2;
} else {
inpoint1 = 1;
}
if (_root.cnt.goal_2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
inpoint2 = 2;
} else {
inpoint2 = 1;
}
i++;
}
if ((inpoint1 == 1) && (inpoint2 == 1)) {
_parent.pts = 0;
}
if ((inpoint1 == 1) && (inpoint2 == 2)) {
_parent.pts = 12.5;
}
if ((inpoint1 == 2) && (inpoint2 == 2)) {
_parent.pts = 25;
}
}
Instance of Symbol 660 MovieClip in Symbol 662 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.goal_1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
inpoint1 = 2;
} else {
inpoint1 = 1;
}
if (_root.cnt.goal_2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
inpoint2 = 2;
} else {
inpoint2 = 1;
}
i++;
}
if ((inpoint1 == 1) && (inpoint2 == 1)) {
_parent.pts = 0;
}
if ((inpoint1 == 1) && (inpoint2 == 2)) {
_parent.pts = 12.5;
}
if ((inpoint1 == 2) && (inpoint2 == 2)) {
_parent.pts = 25;
}
}
Symbol 664 MovieClip Frame 1
_visible = false;
Symbol 675 MovieClip Frame 5
stop();
Symbol 676 MovieClip Frame 1
_visible = false;
stop();
Symbol 676 MovieClip Frame 2
speed = 200;
_visible = true;
_x = _parent.girl._x;
_y = _parent.girl._y;
stop();
onEnterFrame = function () {
boxx._y = boxx._y - speed;
dist_to_reach = dist_to_reach - (speed / 6);
if (dist_to_reach <= 0) {
Set(("_root.cnt.bb_" + _root.blood_burst_nb) + "._x", (eval (("_root.cnt.z_" + target_wich) + "._x") + random(30)) - 15);
Set(("_root.cnt.bb_" + _root.blood_burst_nb) + "._y", (eval (("_root.cnt.z_" + target_wich) + "._y") + random(30)) - 15);
eval ("_root.cnt.bb_" + _root.blood_burst_nb).gotoAndStop(1);
eval ("_root.cnt.bb_" + _root.blood_burst_nb).gotoAndStop(2);
_root.blood_burst_nb = _root.blood_burst_nb + 1;
if (_root.blood_burst_nb > 3) {
_root.blood_burst_nb = 1;
}
_visible = false;
delete this.onEnterFrame;
}
};
Symbol 691 MovieClip Frame 1
stop();
Symbol 691 MovieClip Frame 2
play();
Symbol 695 MovieClip Frame 1
stop();
Symbol 695 MovieClip Frame 3
stop();
Symbol 695 MovieClip Frame 5
stop();
Symbol 695 MovieClip Frame 7
stop();
Symbol 696 MovieClip Frame 1
target = 1;
sr = random(360) + 1;
dist_minimum = 250;
shot_timer = 0;
shot_timer_st = eval ((("_root.wp_frate_" + _root.wp) + "_") + _root.wp_lvl);
reload_timer_st = 150;
reload_timer = reload_timer_st;
fireline_nb = 1;
stop();
onEnterFrame = function () {
if (_root.pausedd == 1) {
if (_root.game_mode == 1) {
if (target == 1) {
target_wich = 0;
target_nb = 1;
target_dist = 10000000 /* 0x989680 */;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
target_dist_check = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_nb) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_nb) + "._y"), 2));
if (((eval (("_root.cnt.z_" + target_nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + target_nb) + ".energy") > 0)) && (target_dist_check < target_dist)) {
target_wich = target_nb;
target_dist = target_dist_check;
}
target_nb = target_nb + 1;
if (target_dist <= dist_minimum) {
target = 2;
}
}
if (target == 2) {
myRadians = Math.atan2(eval (("_root.cnt.z_" + target_wich) + "._y") - _root.cnt.car._y, eval (("_root.cnt.z_" + target_wich) + "._x") - _root.cnt.car._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(eval (("_root.cnt.z_" + target_wich) + "._y") - _root.cnt.car._y);
_root.xChange = Math.round(eval (("_root.cnt.z_" + target_wich) + "._x") - _root.cnt.car._x);
sr = (myDegrees - _root.cnt.car._rotation) + 90;
_rotation = sr;
if (((eval (("_root.cnt.z_" + target_wich) + "._currentframe") != 2) || (eval (("_root.cnt.z_" + target_wich) + ".energy") <= 0)) || (target_dist_check > dist_minimum)) {
target = 1;
}
if (shot_timer > 0) {
shot_timer = shot_timer - 1;
} else {
shot_timer = shot_timer_st;
if ((_root.wp_mag > 0) && (_root.reload_go == 1)) {
shot = 2;
}
}
reload_timer = reload_timer_st;
dist_from_target = Math.sqrt(Math.pow(_root.cnt.car._x - eval (("_root.cnt.z_" + target_wich) + "._x"), 2) + Math.pow(_root.cnt.car._y - eval (("_root.cnt.z_" + target_wich) + "._y"), 2));
}
if (reload_timer > 0) {
reload_timer = reload_timer - 1;
} else {
reload_timer = reload_timer_st;
if ((_root.wp_mag < _root.wp_capacity) && (_root.wp_ammo > 0)) {
if (_root.reload_go == 1) {
_root.reload_go = 2;
}
}
}
if (shot == 2) {
shot = 1;
snd.gotoAndPlay(_root.wp * 2);
boxx.gotoAndPlay(2);
if (_root.shake < 3) {
_root.shake = 3;
}
power = eval ((("_root.wp_power_" + _root.wp) + "_") + _root.wp_lvl);
Set(("_root.cnt.z_" + target_wich) + ".energy", eval (("_root.cnt.z_" + target_wich) + ".energy") - power);
_root.wp_mag = _root.wp_mag - 1;
Set(("_parent.fireline_" + fireline_nb) + ".target_wich", target_wich);
Set(("_parent.fireline_" + fireline_nb) + "._rotation", _rotation);
Set(("_parent.fireline_" + fireline_nb) + ".dist_to_reach", dist_from_target);
eval ("_parent.fireline_" + fireline_nb).gotoAndStop(1);
eval ("_parent.fireline_" + fireline_nb).gotoAndStop(2);
fireline_nb = fireline_nb + 1;
if (fireline_nb > 5) {
fireline_nb = 1;
}
}
}
if (_root.game_mode == 2) {
myRadians = Math.atan2(_root.cnt._ymouse - _root.cnt.car._y, _root.cnt._xmouse - _root.cnt.car._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.cnt._ymouse - _root.cnt.car._y);
_root.xChange = Math.round(_root.cnt._xmouse - _root.cnt.car._x);
sr = (myDegrees - _root.cnt.car._rotation) + 90;
_rotation = sr;
}
}
};
Symbol 725 MovieClip Frame 1
gotoAndStop(_root.car);
Symbol 733 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
if (eval ("_root.cnt.car.carosserie_energy_door_" + nb) <= 0) {
_visible = true;
Set(("_root.cnt.car.anims.boxx.boxx.porte_" + nb) + "._visible", false);
if ((_parent._parent._parent.collision == 2) && (Math.abs(_parent._parent._parent.speed) > 3)) {
speedr = random(20) - 10;
boxx._rotation = 45;
} else {
speedr = speedr * 0.95;
replace_by_rot = 1;
if ((nb == 1) && (_root.cnt.car.rot >= 0)) {
replace_by_rot = 2;
}
if ((nb == 2) && (_root.cnt.car.rot <= 0)) {
replace_by_rot = 2;
}
if (replace_by_rot == 2) {
if (_root.cnt.car.speed > 5) {
boxx._rotation = boxx._rotation - 1;
}
}
if (_root.cnt.car.speed < -5) {
boxx._rotation = boxx._rotation + 1;
}
}
if (boxx._rotation > 80) {
boxx._rotation = 80;
speedr = speedr * -0.75;
}
boxx._rotation = boxx._rotation + speedr;
if (boxx._rotation < 0) {
boxx._rotation = 0;
speedr = speedr * -0.75;
}
}
};
Symbol 742 MovieClip Frame 1
timer = 0;
boxx.gotoAndPlay(random(18) + 1);
boxx.boxx.gotoAndPlay(random(25) + 1);
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
boxx.boxx.boxx.gotoAndStop(random(7) + 1);
timer = random(7) + 3;
}
};
Symbol 747 MovieClip Frame 1
_rotation = (random(360) + 1);
Symbol 749 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
gotoAndStop(_root.nitro);
};
Symbol 749 MovieClip Frame 2
_visible = true;
Symbol 766 MovieClip Frame 1
gotoAndStop(_root.car);
Instance of Symbol 661 MovieClip "r1" in Symbol 766 MovieClip Frame 1
onClipEvent (enterFrame) {
point1 = new Object();
point1.x = 0;
point1.y = 0;
pointx1 = localToGlobal(point1);
_root.rouex1 = point1.x - _root.cnt._x;
_root.rouey1 = point1.y - _root.cnt._y;
}
Instance of Symbol 661 MovieClip "r2" in Symbol 766 MovieClip Frame 1
onClipEvent (enterFrame) {
point2 = new Object();
point2.x = 0;
point2.y = 0;
pointx2 = localToGlobal(point2);
_root.rouex2 = point2.x - _root.cnt._x;
_root.rouey2 = point2.y - _root.cnt._y;
}
Instance of Symbol 662 MovieClip "r3" in Symbol 766 MovieClip Frame 1
onClipEvent (enterFrame) {
point3 = new Object();
point3.x = 0;
point3.y = 0;
pointx3 = localToGlobal(point3);
_root.rouex3 = point3.x - _root.cnt._x;
_root.rouey3 = point3.y - _root.cnt._y;
}
Instance of Symbol 662 MovieClip "r4" in Symbol 766 MovieClip Frame 1
onClipEvent (enterFrame) {
point4 = new Object();
point4.x = 0;
point4.y = 0;
pointx4 = localToGlobal(point4);
_root.rouex4 = point4.x - _root.cnt._x;
_root.rouey4 = point4.y - _root.cnt._y;
}
Instance of Symbol 733 MovieClip in Symbol 766 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 733 MovieClip in Symbol 766 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 768 MovieClip in Symbol 769 MovieClip Frame 1
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;
}
Instance of Symbol 768 MovieClip in Symbol 769 MovieClip Frame 1
onClipEvent (enterFrame) {
point2 = new Object();
point2.x = _x;
point2.y = _y;
point2x = localToGlobal(point2);
_root.boomx2 = point2.x - _root.cnt._x;
_root.boomy2 = point2.y - _root.cnt._y;
}
Symbol 775 MovieClip Frame 1
stop();
onEnterFrame = function () {
point = new Object();
point.x = 0;
point.y = 0;
pointx = localToGlobal(point);
Set("_root.pointx" + nb, point.x - _root.cnt._x);
Set("_root.pointy" + nb, point.y - _root.cnt._y);
};
Symbol 777 MovieClip Frame 1
stop();
onEnterFrame = function () {
point = new Object();
point.x = 0;
point.y = 0;
pointx = localToGlobal(point);
Set("_root.pointtirex" + nb, point.x - _root.cnt._x);
Set("_root.pointtirey" + nb, point.y - _root.cnt._y);
};
Symbol 781 MovieClip Frame 1
closee = 1;
was_on_close = 1;
stop();
onEnterFrame = function () {
if (((_root.shake > 0) || (_root.cnt.car.collision == 2)) || (Math.abs(_root.cnt.car.speed) < 5)) {
closee = 1;
was_on_close = 1;
}
if (closee == 2) {
was_on_close = 2;
} else if (was_on_close == 2) {
was_on_close = 1;
_root.interr.hub.closecallboxx.pts = _root.interr.hub.closecallboxx.pts + 80;
_root.interr.hub.closecallboxx.gotoAndPlay(2);
}
};
Instance of Symbol 660 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.closee = 1;
_parent.boxx.gotoAndStop(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 < 51) {
if (_root.cnt["ob_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.closee = 2;
_parent.boxx.gotoAndStop(2);
}
nb++;
}
i++;
}
}
Symbol 783 MovieClip Frame 1
gotoAndStop(_root.car);
cadre._visible = false;
stop();
Instance of Symbol 775 MovieClip "p5" in Symbol 783 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 775 MovieClip "p6" in Symbol 783 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 775 MovieClip "p3" in Symbol 783 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 775 MovieClip "p4" in Symbol 783 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 775 MovieClip "p7" in Symbol 783 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 775 MovieClip "p8" in Symbol 783 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 775 MovieClip "p9" in Symbol 783 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
}
Instance of Symbol 775 MovieClip "p10" in Symbol 783 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
}
Instance of Symbol 775 MovieClip "p1" in Symbol 783 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 775 MovieClip "p2" in Symbol 783 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 775 MovieClip "p0" in Symbol 783 MovieClip Frame 1
onClipEvent (load) {
nb = 0;
}
Instance of Symbol 777 MovieClip "ptire1" in Symbol 783 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 777 MovieClip "ptire2" in Symbol 783 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Symbol 790 MovieClip Frame 3
stop();
Symbol 791 MovieClip Frame 1
if (_root.car <= 4) {
gotoAndPlay (2);
}
if ((_root.car >= 5) && (_root.car <= 9)) {
gotoAndPlay (21);
}
if (_root.car >= 10) {
if (_root.car == 16) {
stop();
} else {
gotoAndPlay (41);
}
}
Symbol 791 MovieClip Frame 20
stop();
Symbol 791 MovieClip Frame 40
stop();
Symbol 791 MovieClip Frame 60
stop();
Symbol 792 MovieClip Frame 1
stop();
Symbol 797 MovieClip Frame 1
if (_parent.slowmo == undefined) {
stop();
} else {
gotoAndPlay(_parent.slowmo * 2);
}
Symbol 797 MovieClip Frame 3
stop();
Symbol 797 MovieClip Frame 5
stop();
Symbol 797 MovieClip Frame 7
stop();
Symbol 797 MovieClip Frame 9
stop();
Symbol 798 MovieClip Frame 1
if (_root.car == 16) {
_parent.slowmo = 4;
} else {
_parent.slowmo = random(3) + 1;
}
gotoAndPlay(_parent.slowmo * 2);
Symbol 798 MovieClip Frame 3
stop();
Symbol 798 MovieClip Frame 5
stop();
Symbol 798 MovieClip Frame 7
stop();
Symbol 798 MovieClip Frame 9
stop();
Symbol 799 MovieClip Frame 1
stop();
Symbol 802 MovieClip Frame 1
if (_root.car == 16) {
stop();
} else {
gotoAndPlay((random(2) + 1) * 2);
}
Symbol 802 MovieClip Frame 3
stop();
Symbol 802 MovieClip Frame 5
stop();
Symbol 803 MovieClip Frame 1
stop();
Symbol 813 MovieClip Frame 1
gotoAndPlay(_root.car * 2);
Symbol 813 MovieClip Frame 3
stop();
Symbol 813 MovieClip Frame 5
stop();
Symbol 813 MovieClip Frame 7
stop();
Symbol 813 MovieClip Frame 9
stop();
Symbol 813 MovieClip Frame 11
stop();
Symbol 813 MovieClip Frame 13
stop();
Symbol 813 MovieClip Frame 15
stop();
Symbol 813 MovieClip Frame 17
stop();
Symbol 813 MovieClip Frame 19
stop();
Symbol 813 MovieClip Frame 21
stop();
Symbol 813 MovieClip Frame 23
stop();
Symbol 813 MovieClip Frame 25
stop();
Symbol 813 MovieClip Frame 27
stop();
Symbol 813 MovieClip Frame 29
stop();
Symbol 813 MovieClip Frame 31
stop();
Symbol 813 MovieClip Frame 33
stop();
Symbol 813 MovieClip Frame 35
stop();
Symbol 813 MovieClip Frame 37
stop();
Symbol 813 MovieClip Frame 39
stop();
Symbol 813 MovieClip Frame 41
stop();
Symbol 813 MovieClip Frame 43
stop();
Symbol 814 MovieClip Frame 1
gotoAndPlay(_root.car * 2);
Symbol 814 MovieClip Frame 3
stop();
Symbol 814 MovieClip Frame 5
stop();
Symbol 814 MovieClip Frame 7
stop();
Symbol 814 MovieClip Frame 9
stop();
Symbol 814 MovieClip Frame 11
stop();
Symbol 814 MovieClip Frame 13
stop();
Symbol 814 MovieClip Frame 15
stop();
Symbol 814 MovieClip Frame 17
stop();
Symbol 814 MovieClip Frame 19
stop();
Symbol 814 MovieClip Frame 21
stop();
Symbol 814 MovieClip Frame 23
stop();
Symbol 814 MovieClip Frame 25
stop();
Symbol 814 MovieClip Frame 27
stop();
Symbol 814 MovieClip Frame 29
stop();
Symbol 814 MovieClip Frame 31
stop();
Symbol 814 MovieClip Frame 33
stop();
Symbol 814 MovieClip Frame 35
stop();
Symbol 814 MovieClip Frame 37
stop();
Symbol 814 MovieClip Frame 39
stop();
Symbol 814 MovieClip Frame 41
stop();
Symbol 814 MovieClip Frame 43
stop();
Symbol 815 MovieClip Frame 1
stop();
Symbol 827 MovieClip Frame 1
gotoAndPlay(_root.car * 2);
Symbol 827 MovieClip Frame 3
stop();
Symbol 827 MovieClip Frame 5
stop();
Symbol 827 MovieClip Frame 7
stop();
Symbol 827 MovieClip Frame 9
stop();
Symbol 827 MovieClip Frame 11
stop();
Symbol 827 MovieClip Frame 13
stop();
Symbol 827 MovieClip Frame 15
stop();
Symbol 827 MovieClip Frame 17
stop();
Symbol 827 MovieClip Frame 19
stop();
Symbol 827 MovieClip Frame 21
stop();
Symbol 827 MovieClip Frame 23
stop();
Symbol 827 MovieClip Frame 25
stop();
Symbol 827 MovieClip Frame 27
stop();
Symbol 827 MovieClip Frame 29
stop();
Symbol 827 MovieClip Frame 31
stop();
Symbol 827 MovieClip Frame 33
stop();
Symbol 827 MovieClip Frame 35
stop();
Symbol 827 MovieClip Frame 37
stop();
Symbol 827 MovieClip Frame 39
stop();
Symbol 827 MovieClip Frame 41
stop();
Symbol 827 MovieClip Frame 43
stop();
Symbol 828 MovieClip Frame 1
gotoAndPlay(_root.car * 2);
Symbol 828 MovieClip Frame 3
stop();
Symbol 828 MovieClip Frame 5
stop();
Symbol 828 MovieClip Frame 7
stop();
Symbol 828 MovieClip Frame 9
stop();
Symbol 828 MovieClip Frame 11
stop();
Symbol 828 MovieClip Frame 13
stop();
Symbol 828 MovieClip Frame 15
stop();
Symbol 828 MovieClip Frame 17
stop();
Symbol 828 MovieClip Frame 19
stop();
Symbol 828 MovieClip Frame 21
stop();
Symbol 828 MovieClip Frame 23
stop();
Symbol 828 MovieClip Frame 25
stop();
Symbol 828 MovieClip Frame 27
stop();
Symbol 828 MovieClip Frame 29
stop();
Symbol 828 MovieClip Frame 31
stop();
Symbol 828 MovieClip Frame 33
stop();
Symbol 828 MovieClip Frame 35
stop();
Symbol 828 MovieClip Frame 37
stop();
Symbol 828 MovieClip Frame 39
stop();
Symbol 828 MovieClip Frame 41
stop();
Symbol 828 MovieClip Frame 43
stop();
Symbol 829 MovieClip Frame 1
stop();
Symbol 831 MovieClip Frame 3
stop();
Symbol 832 MovieClip Frame 1
if (_root.car == 16) {
stop();
}
Symbol 832 MovieClip Frame 3
stop();
Symbol 833 MovieClip Frame 1
stop();
Symbol 837 MovieClip Frame 1
gotoAndPlay((random(3) + 1) * 2);
Symbol 837 MovieClip Frame 3
stop();
Symbol 837 MovieClip Frame 5
stop();
Symbol 837 MovieClip Frame 7
stop();
Symbol 841 MovieClip Frame 1
gotoAndPlay((random(3) + 1) * 2);
Symbol 841 MovieClip Frame 3
stop();
Symbol 841 MovieClip Frame 5
stop();
Symbol 841 MovieClip Frame 7
stop();
Symbol 845 MovieClip Frame 1
gotoAndPlay((random(3) + 1) * 2);
Symbol 845 MovieClip Frame 3
stop();
Symbol 845 MovieClip Frame 5
stop();
Symbol 845 MovieClip Frame 7
stop();
Symbol 849 MovieClip Frame 1
gotoAndPlay((random(3) + 1) * 2);
Symbol 849 MovieClip Frame 3
stop();
Symbol 849 MovieClip Frame 5
stop();
Symbol 849 MovieClip Frame 7
stop();
Symbol 850 MovieClip Frame 1
gotoAndPlay((random(3) + 1) * 2);
Symbol 850 MovieClip Frame 3
stop();
Symbol 850 MovieClip Frame 5
stop();
Symbol 850 MovieClip Frame 7
stop();
Symbol 851 MovieClip Frame 1
gotoAndStop(_root.car + 1);
Symbol 852 MovieClip Frame 1
stop();
Symbol 853 MovieClip Frame 1
stop();
Symbol 853 MovieClip Frame 2
if (Math.abs(_root.cnt.car.speed) <= 2.5) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
Symbol 855 MovieClip Frame 1
_visible = false;
Symbol 856 MovieClip Frame 1
speed = 17;
start_rot = _rotation;
_root.adherence = 10;
derapage_timer = 0;
if (_root.car == 1) {
carosserie_energy_top = 100;
speed_top = 25;
speed_acc = 0.2;
steering = 14;
if (_root.cheat_5 == 2) {
steering = 25;
}
}
if (_root.car == 2) {
carosserie_energy_top = 200;
speed_top = 25;
speed_acc = 0.11;
steering = 13;
}
carosserie_energy_door_1 = carosserie_energy_top / 4;
carosserie_energy_door_2 = carosserie_energy_top / 4;
carosserie_energy = carosserie_energy_top;
speedx = 0;
speedy = 0;
inzone = 1;
damage_timer = 0;
frame_nb = 0;
guide = 0;
stop();
onEnterFrame = function () {
perc_damage = Math.round((_root.energy * 100) / _root.energy_tot);
if (perc_damage >= 80) {
anims.boxx.boxx.gotoAndStop(1);
}
if ((perc_damage >= 35) && (perc_damage < 80)) {
anims.boxx.boxx.gotoAndStop(2);
}
if (perc_damage < 35) {
anims.boxx.boxx.gotoAndStop(3);
}
if (_root.pausedd == 1) {
if (_root.replay == 1) {
frame_nb = frame_nb + 1;
if (Key.isDown(17)) {
key_handbrake = 2;
} else {
key_handbrake = 1;
}
if (Key.isDown(38)) {
key_up = 2;
} else {
key_up = 1;
}
if (Key.isDown(40)) {
key_down = 2;
} else {
key_down = 1;
}
if (Key.isDown(37)) {
key_left = 2;
} else {
key_left = 1;
}
if (Key.isDown(39)) {
key_right = 2;
} else {
key_right = 1;
}
if (_root.replay_record == 2) {
Set("_root.cnt.frame_hbrake_" + frame_nb, key_handbrake);
Set("_root.cnt.frame_up_" + frame_nb, key_up);
Set("_root.cnt.frame_down_" + frame_nb, key_down);
Set("_root.cnt.frame_left_" + frame_nb, key_left);
Set("_root.cnt.frame_right_" + frame_nb, key_right);
}
} else {
frame_nb = frame_nb + 1;
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (cam_fastfowartoaction != 2) {
if (((((eval ("_root.cnt.frame_hbrake_" + frame_nb) != 2) && (eval ("_root.cnt.frame_up_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_down_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_left_" + frame_nb) != 2)) && (eval ("_root.cnt.frame_right_" + frame_nb))) {
frame_nb = frame_nb + 1;
} else {
_root.fastfowardframe = frame_nb;
cam_fastfowartoaction = 2;
}
}
if (eval ("_root.cnt.frame_hbrake_" + frame_nb) == 2) {
key_handbrake = 2;
} else {
key_handbrake = 1;
}
if (eval ("_root.cnt.frame_up_" + frame_nb) == 2) {
key_up = 2;
} else {
key_up = 1;
}
if (eval ("_root.cnt.frame_down_" + frame_nb) == 2) {
key_down = 2;
} else {
key_down = 1;
}
if (eval ("_root.cnt.frame_left_" + frame_nb) == 2) {
key_left = 2;
} else {
key_left = 1;
}
if (eval ("_root.cnt.frame_right_" + frame_nb) == 2) {
key_right = 2;
} else {
key_right = 1;
}
}
if (shake_carrosserie_posix == undefined) {
shake_carrosserie_posix = anims.boxx.boxx._x;
shake_carrosserie_posiy = anims.boxx.boxx._y;
} else if ((carosserie_energy_door_1 > 0) && (carosserie_energy_door_2 > 0)) {
anims.boxx.boxx._x = shake_carrosserie_posix + ((random(10) - 5) / 7.5);
anims.boxx.boxx._y = shake_carrosserie_posiy + ((random(10) - 5) / 7.5);
}
collision = 1;
if ((((((((((touch1 == 2) || (touch2 == 2)) || (touch3 == 2)) || (touch4 == 2)) || (touch5 == 2)) || (touch6 == 2)) || (touch7 == 2)) || (touch8 == 2)) || (touch9 == 2)) || (touch10 == 2)) {
collision = 2;
_root.shake = Math.round(Math.abs(speed) / 2);
if (damage_timer <= 0) {
damage_timer = 10;
difx = eval ("_root.pointx" + point_nb) - _root.pointx0;
dify = eval ("_root.pointy" + point_nb) - _root.pointy0;
b = difx;
c = dify;
a = Math.sqrt(Math.pow(b, 2) + Math.pow(c, 2));
sinC = c / a;
C_radiant = Math.asin(c / a);
C = C_radiant * 57.2957795130823;
distx = b / 2;
disty = c / 2;
if (Math.abs(distx) > Math.abs(disty)) {
damage = (Math.abs(speedx) * 100) / speed_top;
} else {
damage = (Math.abs(speedy) * 100) / speed_top;
}
_root.energy = _root.energy - (damage / 2);
snd.crash.gotoAndStop(1);
snd.crash.gotoAndStop(2);
if ((touch3 == 2) || (touch5 == 2)) {
carosserie_energy_door_1 = carosserie_energy_door_1 - damage;
}
if ((touch4 == 2) || (touch6 == 2)) {
carosserie_energy_door_2 = carosserie_energy_door_2 - damage;
}
}
}
if (damage_timer > 0) {
damage_timer = damage_timer - 1;
}
if ((touch1 == 2) && (touch2 == 1)) {
_rotation = (_rotation + 10);
}
if ((touch1 == 1) && (touch2 == 2)) {
_rotation = (_rotation - 10);
}
if ((touch1 == 2) && (touch2 == 2)) {
_x = (_x - speedx);
_y = (_y - speedy);
speed = speed * -0.42;
}
if ((touch9 == 2) && (touch10 == 1)) {
if (speed > 0) {
_rotation = (_rotation - 10);
} else {
_rotation = (_rotation + 10);
}
}
if ((touch9 == 1) && (touch10 == 2)) {
if (speed > 0) {
_rotation = (_rotation + 10);
} else {
_rotation = (_rotation - 10);
}
}
if ((touch9 == 2) && (touch10 == 2)) {
_x = (_x - speedx);
_y = (_y - speedy);
speed = speed * -0.42;
if ((touch8 == 2) || (touch10 == 2)) {
if (speed < 5) {
speed = 5;
}
}
}
if ((touch3 == 2) && (touch7 == 2)) {
distx = _root.pointx3 - _root.pointx7;
disty = _root.pointy3 - _root.pointy7;
middlex = _root.pointx3 - (distx / 2);
middley = _root.pointy3 - (disty / 2);
difx = middlex - _root.pointx0;
dify = middley - _root.pointy0;
b = difx;
c = dify;
a = Math.sqrt(Math.pow(b, 2) + Math.pow(c, 2));
sinC = c / a;
C_radiant = Math.asin(c / a);
C = C_radiant * 57.2957795130823;
adjustr = Math.abs(C);
if (adjustr > 10) {
adjustr = 10;
}
speed = speed * 0.9;
if (handbrake == 2) {
speed = 0;
speedx = 0;
speedy = 0;
adjustx = 0;
adjusty = 0;
}
_rotation = (_rotation + adjustr);
_x = (_x - (b / 2));
_y = (_y - (c / 2));
}
if ((touch4 == 2) && (touch8 == 2)) {
distx = _root.pointx4 - _root.pointx8;
disty = _root.pointy4 - _root.pointy8;
middlex = _root.pointx4 - (distx / 2);
middley = _root.pointy4 - (disty / 2);
difx = middlex - _root.pointx0;
dify = middley - _root.pointy0;
b = difx;
c = dify;
a = Math.sqrt(Math.pow(b, 2) + Math.pow(c, 2));
sinC = c / a;
C_radiant = Math.asin(c / a);
C = C_radiant * 57.2957795130823;
adjustr = Math.abs(C);
if (adjustr > 10) {
adjustr = 10;
}
speed = speed * 0.9;
_rotation = (_rotation - adjustr);
_x = (_x - (b / 2));
_y = (_y - (c / 2));
}
if (collision == 2) {
if (debuglast_timer > 0) {
debuglast_timer = debuglast_timer - 1;
} else {
trace("DEBUG POSITION");
speed = 0;
speedx = 0;
speedy = 0;
speedr = 0;
adjustx = 0;
adjusty = 0;
adjustr = 0;
handbrake = 1;
_x = debuglast_posix;
_y = debuglast_posiy;
_rotation = debuglast_posir;
collision = 1;
}
} else {
debuglast_timer = 50;
debuglast_posix = _x;
debuglast_posiy = _y;
debuglast_posir = _rotation;
}
if ((collision == 1) && (_root.energy > 0)) {
if (Key.isDown(16) && (_root.nitro_fuel > 0)) {
_root.nitro_fuel = _root.nitro_fuel - 0.65;
_root.nitro = 2;
} else {
_root.nitro = 1;
}
if (key_handbrake == 2) {
handbrake = 2;
} else {
handbrake = 1;
}
avance = 1;
if (((key_up == 2) && (key_down == 1)) && (_root.gaz > 0)) {
_root.gaz = _root.gaz - 0.13;
avance = 2;
if (speed < -0.5) {
speed = speed * (1 - (speed_acc * _root.slowmotion));
}
if ((speed >= -0.5) && (speed < 1)) {
speed = 1;
}
if (speed >= 1) {
speed_acc2 = speed_acc;
if (_root.nitro == 2) {
speed_acc2 = speed_acc2 * 6;
}
speed = speed + (((speed_acc2 / 2) + ((speed_acc2 / 2) * (_root.adherence / 100))) * _root.slowmotion);
}
if (speed_top2 == undefined) {
speed_top2 = speed_top;
}
if (_root.nitro == 2) {
speed_top2 = speed_top * 1.5;
} else if (speed_top2 > speed_top) {
speed_top2 = speed_top2 - 1;
}
if (speed > speed_top2) {
speed = speed_top2;
}
}
if ((key_up == 1) && (key_down == 1)) {
if (handbrake == 1) {
speed = speed * 0.98;
}
}
recule = 1;
if (((key_down == 2) && (key_up == 1)) && (_root.gaz > 0)) {
recule = 2;
if (speed > 0.5) {
speed = speed * (1 - ((speed_acc * 0.5) * _root.slowmotion));
if (handbrake == 2) {
speed = speed - (1 * _root.slowmotion);
}
}
if ((speed > -1) && (speed <= 0.5)) {
speed = -1;
}
if (speed <= -1) {
speed = speed - ((0.2 * handbrake) * _root.slowmotion);
}
if (speed < (speed_top * -0.3)) {
speed = speed_top * -0.3;
}
}
if ((key_left == 2) && (key_right == 1)) {
if ((speed >= 13) && (derapage_turn_timer >= 18)) {
derapage_timer = 20;
}
if (rot > (steering * -1)) {
rot = rot - 3;
}
if (rot > -1) {
rot = -1;
}
if (rot < (steering * -1)) {
rot = steering * -1;
}
}
if ((key_left == 1) && (key_right == 1)) {
rot = 0;
}
if ((key_right == 2) && (key_left == 1)) {
if ((speed >= 13) && (derapage_turn_timer >= 18)) {
derapage_timer = 20;
}
if (rot < steering) {
rot = rot + 3;
}
if (rot < 1) {
rot = 1;
}
if (rot > steering) {
rot = steering;
}
}
}
if ((_root.energy <= 0) || (_root.gaz <= 0)) {
speed = speed * 0.92;
adjustx = adjustx * 0.92;
adjusty = adjusty * 0.92;
adjustr = adjustr * 0.92;
speedx = speedx * 0.92;
speedy = speedy * 0.92;
speedr = speedr * 0.92;
}
if ((handbrake == 1) && (avance == 2)) {
if (never_avance != 2) {
never_avance = 2;
_rotation = start_rot;
}
}
if (derapage_timer > 0) {
derapage_timer = derapage_timer - 1;
}
if (Math.abs(rot) >= steering) {
derapage_turn_timer = derapage_turn_timer + 1;
} else {
derapage_turn_timer = 0;
}
if ((handbrake == 2) || (derapage_timer > 0)) {
if (collision == 2) {
_root.shake = speed;
speed = speed * 0.7;
speedx = speedx * 0.3;
speedy = speedy * 0.3;
}
shake = Math.round(Math.abs(speed) / 20);
if (shake > _root.shake) {
_root.shake = shake;
}
if (handbrake == 2) {
speed = speed * (1 - (0.035 * _root.slowmotion));
speedx = speedx * (1 - (0.035 * _root.slowmotion));
speedy = speedy * (1 - (0.035 * _root.slowmotion));
}
if ((Math.abs(speed) >= 3) || (avance == 2)) {
if (trace_timer > 0) {
trace_timer = trace_timer - (1 * _root.slowmotion);
} else {
trace_timer = 0.5;
if (trace_alpha < 100) {
trace_alpha = trace_alpha + 10;
}
if (_root.car != 16) {
if (Math.abs(speed) >= 2) {
before_trace = _root.traces_nb - 4;
if (before_trace <= 0) {
before_trace = 100 + before_trace;
}
before_distx = Math.abs(_root.rouex1 - eval (("_root.cnt.t_" + before_trace) + "._x"));
before_disty = Math.abs(_root.rouey1 - eval (("_root.cnt.t_" + before_trace) + "._y"));
if ((before_distx > 10) || (before_disty > 10)) {
eval ("_root.cnt.t_" + _root.traces_nb).gotoAndStop(1);
eval ("_root.cnt.t_" + _root.traces_nb).gotoAndStop(2);
Set(("_root.cnt.t_" + _root.traces_nb) + "._x", _root.rouex1);
Set(("_root.cnt.t_" + _root.traces_nb) + "._y", _root.rouey1);
Set(("_root.cnt.t_" + _root.traces_nb) + "._alpha", trace_alpha / 4);
Set(("_root.cnt.t_" + _root.traces_nb) + "._rotation", _rotation);
}
_root.traces_nb = _root.traces_nb + 1;
if (_root.st_qual_det != 2) {
if (_root.traces_nb > 50) {
_root.traces_nb = 1;
}
}
if (_root.traces_nb > 100) {
_root.traces_nb = 1;
}
before_trace = _root.traces_nb - 4;
if (before_trace <= 0) {
before_trace = 100 + before_trace;
}
before_distx = Math.abs(_root.rouex2 - eval (("_root.cnt.t_" + before_trace) + "._x"));
before_disty = Math.abs(_root.rouey2 - eval (("_root.cnt.t_" + before_trace) + "._y"));
if ((before_distx > 10) || (before_disty > 10)) {
eval ("_root.cnt.t_" + _root.traces_nb).gotoAndStop(1);
eval ("_root.cnt.t_" + _root.traces_nb).gotoAndStop(2);
Set(("_root.cnt.t_" + _root.traces_nb) + "._x", _root.rouex2);
Set(("_root.cnt.t_" + _root.traces_nb) + "._y", _root.rouey2);
Set(("_root.cnt.t_" + _root.traces_nb) + "._alpha", trace_alpha / 4);
Set(("_root.cnt.t_" + _root.traces_nb) + "._rotation", _rotation);
}
_root.traces_nb = _root.traces_nb + 1;
if (_root.st_qual_det != 2) {
if (_root.traces_nb > 50) {
_root.traces_nb = 1;
}
}
if (_root.traces_nb > 100) {
_root.traces_nb = 1;
}
}
before_trace = _root.traces_nb - 4;
if (before_trace <= 0) {
before_trace = 100 + before_trace;
}
before_distx = Math.abs(_root.rouex3 - eval (("_root.cnt.t_" + before_trace) + "._x"));
before_disty = Math.abs(_root.rouey3 - eval (("_root.cnt.t_" + before_trace) + "._y"));
if ((before_distx > 10) || (before_disty > 10)) {
eval ("_root.cnt.t_" + _root.traces_nb).gotoAndStop(1);
eval ("_root.cnt.t_" + _root.traces_nb).gotoAndStop(2);
Set(("_root.cnt.t_" + _root.traces_nb) + "._x", _root.rouex3);
Set(("_root.cnt.t_" + _root.traces_nb) + "._y", _root.rouey3);
Set(("_root.cnt.t_" + _root.traces_nb) + "._alpha", trace_alpha);
Set(("_root.cnt.t_" + _root.traces_nb) + "._rotation", _rotation);
}
_root.traces_nb = _root.traces_nb + 1;
if (_root.st_qual_det != 2) {
if (_root.traces_nb > 50) {
_root.traces_nb = 1;
}
}
if (_root.traces_nb > 100) {
_root.traces_nb = 1;
}
before_trace = _root.traces_nb - 4;
if (before_trace <= 0) {
before_trace = 100 + before_trace;
}
before_distx = Math.abs(_root.rouex4 - eval (("_root.cnt.t_" + before_trace) + "._x"));
before_disty = Math.abs(_root.rouey4 - eval (("_root.cnt.t_" + before_trace) + "._y"));
if ((before_distx > 10) || (before_disty > 10)) {
eval ("_root.cnt.t_" + _root.traces_nb).gotoAndStop(1);
eval ("_root.cnt.t_" + _root.traces_nb).gotoAndStop(2);
Set(("_root.cnt.t_" + _root.traces_nb) + "._x", _root.rouex4);
Set(("_root.cnt.t_" + _root.traces_nb) + "._y", _root.rouey4);
Set(("_root.cnt.t_" + _root.traces_nb) + "._alpha", trace_alpha);
Set(("_root.cnt.t_" + _root.traces_nb) + "._rotation", _rotation);
}
_root.traces_nb = _root.traces_nb + 1;
if (_root.st_qual_det != 2) {
if (_root.traces_nb > 50) {
_root.traces_nb = 1;
}
}
if (_root.traces_nb > 100) {
_root.traces_nb = 1;
}
}
}
}
if ((speed <= 2) && (avance == 2)) {
aa = random(2) + 1;
if (aa == 1) {
_rotation = (_rotation + 1);
} else {
_rotation = (_rotation - 1);
}
}
if ((speed > 3) && (avance == 2)) {
distx = _root.pointtirex1 - _root.pointtirex2;
disty = _root.pointtirey1 - _root.pointtirey2;
disttot = Math.abs(distx) + Math.abs(disty);
force = 0.025;
_x = (_x + ((distx * ((_root.adherence * 3) / 100)) / disttot));
_y = (_y + ((disty * ((_root.adherence * 3) / 100)) / disttot));
}
} else {
drift_rot_start = _rotation;
burn_rot = 0;
burn_rot_stade = 1;
trace_alpha = 10;
trace_timer = 0;
}
if (((handbrake == 2) || (derapage_timer > 10)) || (speed > 7)) {
if (fumee_timer > 0) {
fumee_timer = fumee_timer - 1;
} else {
if ((handbrake == 1) && (derapage_timer <= 10)) {
fumee_timer = 11;
} else {
fumee_timer = 2;
}
if (_root.rouex3 < _root.rouex4) {
fumeex_rand = _root.rouex4 - _root.rouex3;
distfx = _root.rouex3;
}
if (_root.rouex4 < _root.rouex3) {
fumeex_rand = _root.rouex3 - _root.rouex4;
distfx = _root.rouex4;
}
if (_root.rouey3 < _root.rouey4) {
fumeey_rand = _root.rouey4 - _root.rouey3;
distfy = _root.rouey3;
}
if (_root.rouey4 < _root.rouey3) {
fumeey_rand = _root.rouey3 - _root.rouey4;
distfy = _root.rouey4;
}
eval ("_root.cnt.f_" + _root.fumee_nb).gotoAndStop(1);
eval ("_root.cnt.f_" + _root.fumee_nb).gotoAndStop(2);
Set(("_root.cnt.f_" + _root.fumee_nb) + "._x", distfx + random(fumeex_rand));
Set(("_root.cnt.f_" + _root.fumee_nb) + "._y", distfy + random(fumeey_rand));
_root.fumee_nb = _root.fumee_nb + 1;
if (_root.st_qual_det != 2) {
if (_root.fumee_nb > 5) {
_root.fumee_nb = 1;
}
}
if (_root.fumee_nb > 10) {
_root.fumee_nb = 1;
}
}
}
friction = (((speed_top - speed) * 0.7) / speed_top) + 0.3;
adjustr = 0;
if ((handbrake == 1) && (derapage_timer <= 0)) {
speedr = ((rot * speed) / speed_top) * friction;
if (rot == 0) {
timer_autoguide = timer_autoguide - 1;
} else {
timer_autoguide = 7;
}
guide_r = eval (("_root.cnt.guide_" + guide) + "._rotation");
if (guide_r >= 0) {
guide_r_on360 = guide_r + 360;
} else {
guide_r_on360 = 180 + (180 - Math.abs(guide_r));
}
car_r = _rotation;
if (car_r >= 0) {
car_r_on360 = car_r + 360;
} else {
car_r_on360 = 180 + (180 - Math.abs(car_r));
}
distguide_r = Math.round(Math.abs(car_r_on360 - guide_r_on360));
if ((distguide_r > 150) && (distguide_r < 210)) {
distguide_r = Math.round(Math.abs(car_r_on360 - (guide_r_on360 - 180)));
sr = eval (("_root.cnt.guide_" + guide) + "._rotation") - 180;
} else {
sr = eval (("_root.cnt.guide_" + guide) + "._rotation");
}
} else if (Math.abs(speed) >= 5) {
speedr = (rot * speed) / speed_top;
if (handbrake != 2) {
speedr = speedr * 0.38;
}
} else {
speedr = 0;
}
distx = _root.boomx - _root.boomx2;
disty = _root.boomy - _root.boomy2;
distmax = Math.abs(distx) + Math.abs(disty);
percx = (distx * 100) / distmax;
percy = (disty * 100) / distmax;
if ((handbrake == 1) && (derapage_timer <= 0)) {
speedx = (speed * percx) / 100;
speedy = (speed * percy) / 100;
adjustx = 0;
adjusty = 0;
} else if (Math.abs(speed) >= 4.2) {
adjustx = ((speed * percx) / 100) * 0.5;
adjusty = ((speed * percy) / 100) * 0.5;
} else if (speed > 2) {
if (handbrake == 2) {
speed = speed - 0.5;
}
} else {
adjustx = 0;
adjusty = 0;
speed = 0;
speedx = 0;
speedy = 0;
}
_rotation = (_rotation + ((speedr + adjustr) * _root.slowmotion));
_x = (_x + ((speedx + adjustx) * _root.slowmotion));
_y = (_y + ((speedy + adjusty) * _root.slowmotion));
if (avance == 2) {
if ((handbrake == 1) && (speed > 0)) {
snd.acc.gotoAndStop(2);
} else {
snd.acc.gotoAndStop(1);
}
} else {
snd.acc.gotoAndStop(1);
}
if (((_root.slowmotion == 1) && (_root.energy > 0)) && (_root.gaz > 0)) {
snd.iddle.gotoAndStop(2);
} else {
snd.iddle.gotoAndStop(1);
}
if ((speed < 0) && (recule == 2)) {
if (handbrake == 1) {
snd.recule.gotoAndStop(2);
} else {
snd.recule.gotoAndStop(1);
}
} else {
snd.recule.gotoAndStop(1);
}
if (((avance == 2) && (handbrake == 2)) && (speed == 0)) {
snd_heat_timer = 22;
snd.heat.gotoAndStop(2);
} else {
if (snd_heat_timer == undefined) {
snd_heat_timer = 0;
}
if (snd_heat_timer > 0) {
snd_heat_timer = snd_heat_timer - 1;
} else {
snd.heat.gotoAndStop(1);
}
}
if ((handbrake == 2) || (derapage_timer > 10)) {
if (Math.abs(speed) > 0) {
snd.handbrakestart.gotoAndStop(2);
}
} else {
snd.handbrakestart.gotoAndStop(1);
}
ifdriftsndcustom = 1;
if ((handbrake == 2) || (derapage_timer > 0)) {
ifdriftsndcustom = 2;
}
if ((ifdriftsndcustom == 2) && (speed >= 3.3)) {
snd.tireslowmo.gotoAndStop(2);
snd.tireslowmo.activated = 2;
} else {
snd.tireslowmo.gotoAndStop(1);
if (snd.tireslowmo.activated == 2) {
snd.tireslowmo.activated = 1;
snd.handbrakestart.gotoAndStop(2);
}
}
if ((avance == 2) && (Math.abs(speed) <= 1)) {
if (timer_revolutionne > 0) {
timer_revolutionne = timer_revolutionne - 1;
} else {
timer_revolutionne = 20;
snd.revolutionne.gotoAndStop(2);
}
} else {
if (timer_revolutionne == undefined) {
timer_revolutionne = 0;
}
if (timer_revolutionne > 0) {
timer_revolutionne = timer_revolutionne - 1;
}
snd.revolutionne.gotoAndStop(1);
}
} else {
snd.acc.gotoAndStop(1);
snd.iddle.gotoAndStop(1);
snd.heat.gotoAndStop(1);
snd.recule.gotoAndStop(1);
snd.tireslowmo.gotoAndStop(1);
snd.handbrakestart.gotoAndStop(1);
}
};
Instance of Symbol 783 MovieClip "hitt_pts" in Symbol 856 MovieClip Frame 1
onClipEvent (enterFrame) {
_visible = false;
px0 = p0._x;
py0 = p0._y;
px1 = p1._x;
py1 = p1._y;
px2 = p2._x;
py2 = p2._y;
px3 = p3._x;
py3 = p3._y;
px4 = p4._x;
py4 = p4._y;
px5 = p5._x;
py5 = p5._y;
px6 = p6._x;
py6 = p6._y;
px7 = p7._x;
py7 = p7._y;
px8 = p8._x;
py8 = p8._y;
px9 = p9._x;
py9 = p9._y;
px10 = p10._x;
py10 = p10._y;
this.hitpts0 = new Array({x:px0, y:py0});
a0 = 0;
while (a0 < this.hitpts0.length) {
this.localToGlobal(hitpts0[a0]);
if (_root.cnt.hitt.hitTest(hitpts0[a0].x, hitpts0[a0].y, true)) {
_parent.touch0 = 2;
_parent.point_nb = 0;
p0.gotoAndStop(2);
} else {
_parent.touch0 = 1;
p0.gotoAndStop(1);
}
a0++;
}
this.hitpts1 = new Array({x:px1, y:py1});
a1 = 0;
while (a1 < this.hitpts1.length) {
this.localToGlobal(hitpts1[a1]);
if (_root.cnt.hitt.hitTest(hitpts1[a1].x, hitpts1[a1].y, true)) {
_parent.touch1 = 2;
_parent.point_nb = 1;
p1.gotoAndStop(2);
} else {
_parent.touch1 = 1;
p1.gotoAndStop(1);
}
var nb1 = 1;
while (nb1 < 51) {
if (_root.cnt["z_" + nb1].hitTest(hitpts1[a1].x, hitpts1[a1].y, true)) {
if (_root.cnt["z_" + nb1].physboxx._currentframe == 1) {
_root.cnt["z_" + nb1].physboxx.gotoAndStop(2);
}
}
if (_root.cnt["ob_" + nb1].hitTest(hitpts1[a1].x, hitpts1[a1].y, true)) {
if (_root.cnt["ob_" + nb1].physboxx._currentframe == 1) {
_root.cnt["ob_" + nb1].physboxx.gotoAndStop(2);
}
}
if (_root.cnt["it_" + nb1].hitt.hitTest(hitpts1[a1].x, hitpts1[a1].y, true)) {
_root.cnt["it_" + nb1].gotoAndPlay(3);
}
nb1++;
}
a1++;
}
this.hitpts2 = new Array({x:px2, y:py2});
a2 = 0;
while (a2 < this.hitpts2.length) {
this.localToGlobal(hitpts2[a2]);
if (_root.cnt.hitt.hitTest(hitpts2[a2].x, hitpts2[a2].y, true)) {
_parent.touch2 = 2;
_parent.point_nb = 2;
p2.gotoAndStop(2);
} else {
_parent.touch2 = 1;
p2.gotoAndStop(1);
}
var nb2 = 1;
while (nb2 < 51) {
if (_root.cnt["z_" + nb2].hitTest(hitpts2[a2].x, hitpts2[a2].y, true)) {
if (_root.cnt["z_" + nb2].physboxx._currentframe == 1) {
_root.cnt["z_" + nb2].physboxx.gotoAndStop(2);
}
}
if (_root.cnt["ob_" + nb2].hitTest(hitpts2[a2].x, hitpts2[a2].y, true)) {
if (_root.cnt["ob_" + nb2].physboxx._currentframe == 1) {
_root.cnt["ob_" + nb2].physboxx.gotoAndStop(2);
}
}
if (_root.cnt["it_" + nb2].hitt.hitTest(hitpts2[a2].x, hitpts2[a2].y, true)) {
_root.cnt["it_" + nb2].gotoAndPlay(3);
}
nb2++;
}
a2++;
}
this.hitpts3 = new Array({x:px3, y:py3});
a3 = 0;
while (a3 < this.hitpts3.length) {
this.localToGlobal(hitpts3[a3]);
if (_root.cnt.hitt.hitTest(hitpts3[a3].x, hitpts3[a3].y, true)) {
_parent.touch3 = 2;
_parent.point_nb = 3;
p3.gotoAndStop(2);
} else {
_parent.touch3 = 1;
p3.gotoAndStop(1);
}
var nb3 = 1;
while (nb3 < 51) {
if (_root.cnt["z_" + nb3].hitTest(hitpts3[a3].x, hitpts3[a3].y, true)) {
if (_root.cnt["z_" + nb3].physboxx._currentframe == 1) {
_root.cnt["z_" + nb3].physboxx.gotoAndStop(2);
}
}
if (_root.cnt["ob_" + nb3].hitTest(hitpts3[a3].x, hitpts3[a3].y, true)) {
if (_root.cnt["ob_" + nb3].physboxx._currentframe == 1) {
_root.cnt["ob_" + nb3].physboxx.gotoAndStop(2);
}
}
if (_root.cnt["it_" + nb3].hitt.hitTest(hitpts3[a3].x, hitpts3[a3].y, true)) {
_root.cnt["it_" + nb3].gotoAndPlay(2);
}
nb3++;
}
a3++;
}
this.hitpts4 = new Array({x:px4, y:py4});
a4 = 0;
while (a4 < this.hitpts4.length) {
this.localToGlobal(hitpts4[a4]);
if (_root.cnt.hitt.hitTest(hitpts4[a4].x, hitpts4[a4].y, true)) {
_parent.touch4 = 2;
_parent.point_nb = 4;
p4.gotoAndStop(2);
} else {
_parent.touch4 = 1;
p4.gotoAndStop(1);
}
var nb4 = 1;
while (nb4 < 51) {
if (_root.cnt["z_" + nb4].hitTest(hitpts4[a4].x, hitpts4[a4].y, true)) {
if (_root.cnt["z_" + nb4].physboxx._currentframe == 1) {
_root.cnt["z_" + nb4].physboxx.gotoAndStop(2);
}
}
if (_root.cnt["ob_" + nb4].hitTest(hitpts4[a4].x, hitpts4[a4].y, true)) {
if (_root.cnt["ob_" + nb4].physboxx._currentframe == 1) {
_root.cnt["ob_" + nb4].physboxx.gotoAndStop(2);
}
}
if (_root.cnt["it_" + nb4].hitt.hitTest(hitpts4[a4].x, hitpts4[a4].y, true)) {
_root.cnt["it_" + nb4].gotoAndPlay(2);
}
nb4++;
}
a4++;
}
this.hitpts5 = new Array({x:px5, y:py5});
a5 = 0;
while (a5 < this.hitpts5.length) {
this.localToGlobal(hitpts5[a5]);
if (_root.cnt.hitt.hitTest(hitpts5[a5].x, hitpts5[a5].y, true)) {
_parent.touch5 = 2;
_parent.point_nb = 5;
p5.gotoAndStop(2);
} else {
_parent.touch5 = 1;
p5.gotoAndStop(1);
}
var nb5 = 1;
while (nb5 < 51) {
if (_root.cnt["z_" + nb5].hitTest(hitpts5[a5].x, hitpts5[a5].y, true)) {
if (_root.cnt["z_" + nb5].physboxx._currentframe == 1) {
_root.cnt["z_" + nb5].physboxx.gotoAndStop(2);
}
}
if (_root.cnt["ob_" + nb5].hitTest(hitpts5[a5].x, hitpts5[a5].y, true)) {
if (_root.cnt["ob_" + nb5].physboxx._currentframe == 1) {
_root.cnt["ob_" + nb5].physboxx.gotoAndStop(2);
}
}
if (_root.cnt["it_" + nb5].hitt.hitTest(hitpts5[a5].x, hitpts5[a5].y, true)) {
_root.cnt["it_" + nb5].gotoAndPlay(2);
}
nb5++;
}
a5++;
}
this.hitpts6 = new Array({x:px6, y:py6});
a6 = 0;
while (a6 < this.hitpts6.length) {
this.localToGlobal(hitpts6[a6]);
if (_root.cnt.hitt.hitTest(hitpts6[a6].x, hitpts6[a6].y, true)) {
_parent.touch6 = 2;
_parent.point_nb = 6;
p6.gotoAndStop(2);
} else {
_parent.touch6 = 1;
p6.gotoAndStop(1);
}
var nb6 = 1;
while (nb6 < 51) {
if (_root.cnt["z_" + nb6].hitTest(hitpts6[a6].x, hitpts6[a6].y, true)) {
if (_root.cnt["z_" + nb6].physboxx._currentframe == 1) {
_root.cnt["z_" + nb6].physboxx.gotoAndStop(2);
}
}
if (_root.cnt["ob_" + nb6].hitTest(hitpts6[a6].x, hitpts6[a6].y, true)) {
if (_root.cnt["ob_" + nb6].physboxx._currentframe == 1) {
_root.cnt["ob_" + nb6].physboxx.gotoAndStop(2);
}
}
if (_root.cnt["it_" + nb6].hitt.hitTest(hitpts6[a6].x, hitpts6[a6].y, true)) {
_root.cnt["it_" + nb6].gotoAndPlay(2);
}
nb6++;
}
a6++;
}
this.hitpts7 = new Array({x:px7, y:py7});
a7 = 0;
while (a7 < this.hitpts7.length) {
this.localToGlobal(hitpts7[a7]);
if (_root.cnt.hitt.hitTest(hitpts7[a7].x, hitpts7[a7].y, true)) {
_parent.touch7 = 2;
_parent.point_nb = 7;
p7.gotoAndStop(2);
} else {
_parent.touch7 = 1;
p7.gotoAndStop(1);
}
var nb7 = 1;
while (nb7 < 51) {
if (_root.cnt["z_" + nb7].hitTest(hitpts7[a7].x, hitpts7[a7].y, true)) {
if (_root.cnt["z_" + nb7].physboxx._currentframe == 1) {
_root.cnt["z_" + nb7].physboxx.gotoAndStop(2);
}
}
if (_root.cnt["ob_" + nb7].hitTest(hitpts7[a7].x, hitpts7[a7].y, true)) {
if (_root.cnt["ob_" + nb7].physboxx._currentframe == 1) {
_root.cnt["ob_" + nb7].physboxx.gotoAndStop(2);
}
}
if (_root.cnt["it_" + nb7].hitt.hitTest(hitpts7[a7].x, hitpts7[a7].y, true)) {
_root.cnt["it_" + nb7].gotoAndPlay(2);
}
nb7++;
}
a7++;
}
this.hitpts8 = new Array({x:px8, y:py8});
a8 = 0;
while (a8 < this.hitpts8.length) {
this.localToGlobal(hitpts8[a8]);
if (_root.cnt.hitt.hitTest(hitpts8[a8].x, hitpts8[a8].y, true)) {
_parent.touch8 = 2;
_parent.point_nb = 8;
p8.gotoAndStop(2);
} else {
_parent.touch8 = 1;
p8.gotoAndStop(1);
}
var nb8 = 1;
while (nb8 < 51) {
if (_root.cnt["z_" + nb8].hitTest(hitpts8[a8].x, hitpts8[a8].y, true)) {
if (_root.cnt["z_" + nb8].physboxx._currentframe == 1) {
_root.cnt["z_" + nb8].physboxx.gotoAndStop(2);
}
}
if (_root.cnt["ob_" + nb8].hitTest(hitpts8[a8].x, hitpts8[a8].y, true)) {
if (_root.cnt["ob_" + nb8].physboxx._currentframe == 1) {
_root.cnt["ob_" + nb8].physboxx.gotoAndStop(2);
}
}
if (_root.cnt["it_" + nb8].hitt.hitTest(hitpts8[a8].x, hitpts8[a8].y, true)) {
_root.cnt["it_" + nb8].gotoAndPlay(2);
}
nb8++;
}
a8++;
}
this.hitpts9 = new Array({x:px9, y:py9});
a9 = 0;
while (a9 < this.hitpts9.length) {
this.localToGlobal(hitpts9[a9]);
if (_root.cnt.hitt.hitTest(hitpts9[a9].x, hitpts9[a9].y, true)) {
_parent.touch9 = 2;
_parent.point_nb = 9;
p9.gotoAndStop(2);
} else {
_parent.touch9 = 1;
p9.gotoAndStop(1);
}
var nb9 = 1;
while (nb9 < 51) {
if (_root.cnt["z_" + nb9].hitTest(hitpts9[a9].x, hitpts9[a9].y, true)) {
if (_root.cnt["z_" + nb9].physboxx._currentframe == 1) {
_root.cnt["z_" + nb9].physboxx.gotoAndStop(2);
}
}
if (_root.cnt["ob_" + nb9].hitTest(hitpts9[a9].x, hitpts9[a9].y, true)) {
if (_root.cnt["ob_" + nb9].physboxx._currentframe == 1) {
_root.cnt["ob_" + nb9].physboxx.gotoAndStop(2);
}
}
if (_root.cnt["it_" + nb9].hitt.hitTest(hitpts9[a9].x, hitpts9[a9].y, true)) {
_root.cnt["it_" + nb9].gotoAndPlay(2);
}
nb9++;
}
a9++;
}
this.hitpts10 = new Array({x:px10, y:py10});
a10 = 0;
while (a10 < this.hitpts10.length) {
this.localToGlobal(hitpts10[a10]);
if (_root.cnt.hitt.hitTest(hitpts10[a10].x, hitpts10[a10].y, true)) {
_parent.touch10 = 2;
_parent.point_nb = 10;
p10.gotoAndStop(2);
} else {
_parent.touch10 = 1;
p10.gotoAndStop(1);
}
var nb10 = 1;
while (nb10 < 51) {
if (_root.cnt["z_" + nb].hitTest(hitpts10[a10].x, hitpts10[a10].y, true)) {
if (_root.cnt["z_" + nb10].physboxx._currentframe == 1) {
_root.cnt["z_" + nb10].physboxx.gotoAndStop(2);
}
}
if (_root.cnt["ob_" + nb].hitTest(hitpts10[a10].x, hitpts10[a10].y, true)) {
if (_root.cnt["ob_" + nb10].physboxx._currentframe == 1) {
_root.cnt["ob_" + nb10].physboxx.gotoAndStop(2);
}
}
if (_root.cnt["it_" + nb10].hitt.hitTest(hitpts10[a10].x, hitpts10[a10].y, true)) {
_root.cnt["it_" + nb10].gotoAndPlay(2);
}
nb10++;
}
a10++;
}
}
Instance of Symbol 660 MovieClip in Symbol 856 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.inzone.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.inzone = 2;
if (activated != 2) {
activated = 2;
}
} else {
_parent.inzone = 1;
}
if (_root.cnt.goal_2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if ((_root.cnt.car.speed >= -1) && (_root.cnt.car.speed <= 1)) {
if (_root.interr.menuu._currentframe == 1) {
_root.interr.menuu.gotoAndStop(2);
}
}
}
var nb = 1;
while (nb < 11) {
if (_root.cnt["guide_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.guide = _root.cnt["guide_" + nb].nb;
}
nb++;
}
i++;
}
}
Symbol 874 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.looking);
Symbol 885 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.looking);
Symbol 895 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.looking);
Symbol 906 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.looking);
Symbol 917 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.looking);
Symbol 930 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.looking);
Symbol 933 MovieClip Frame 1
_visible = false;
stop();
Symbol 933 MovieClip Frame 2
if (_root.cnt.car.speed >= 8) {
_root.shake = _root.cnt.car.speed / 3;
_root.energy = _root.energy - 4;
_parent.energy = 0;
Set(("_root.cnt.b_" + _root.blood_nb) + "._x", _parent._x);
Set(("_root.cnt.b_" + _root.blood_nb) + "._y", _parent._y);
eval ("_root.cnt.b_" + _root.blood_nb).gotoAndStop(1);
eval ("_root.cnt.b_" + _root.blood_nb).gotoAndStop(2);
_root.blood_nb = _root.blood_nb + 1;
if (_root.blood_nb > 3) {
_root.blood_nb = 1;
}
stop();
} else {
_root.energy = _root.energy - 10;
_root.shake = 20;
_root.interr.blood.gotoAndPlay(2);
gotoAndPlay (3);
}
Symbol 933 MovieClip Frame 3
play();
Symbol 934 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
};
Symbol 934 MovieClip Frame 2
energy = 100;
speed = 3;
dead = 1;
looking = random(10) + 1;
_visible = true;
stop();
onEnterFrame = function () {
if (_root.pausedd == 1) {
if (dead != 2) {
if (energy <= 0) {
dead = 2;
Set(("_root.cnt.zd_" + _root.zomby_dead_nb) + "._x", _x);
Set(("_root.cnt.zd_" + _root.zomby_dead_nb) + "._y", _y);
Set(("_root.cnt.zd_" + _root.zomby_dead_nb) + "._rotation", _rotation);
eval ("_root.cnt.zd_" + _root.zomby_dead_nb).gotoAndStop(2);
_root.zomby_dead_nb = _root.zomby_dead_nb + 1;
gotoAndStop (1);
}
}
if (energy > 0) {
myRadians = Math.atan2(_root.cnt.car._y - this._y, _root.cnt.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.cnt.car._y - this._y);
_root.xChange = Math.round(_root.cnt.car._x - this._x);
_rotation = (myDegrees + 90);
distx = _parent.car._x - _x;
disty = _parent.car._y - _y;
disttot = Math.abs(distx) + Math.abs(disty);
dist = Math.sqrt(Math.pow(distx, 2) + Math.pow(disty, 2));
if (dist <= 800) {
_visible = true;
} else {
_visible = false;
}
if ((dist <= 800) && (physboxx._currentframe <= 1)) {
speedx = (distx * speed) / disttot;
speedy = (disty * speed) / disttot;
} else {
speedx = 0;
speedy = 0;
}
if (_root.gaz <= 0) {
speedx = (distx * speed) / disttot;
speedy = (disty * speed) / disttot;
}
_x = (_x + speedx);
_y = (_y + speedy);
}
if (energy > 0) {
anims.gotoAndStop(1);
} else {
anims.gotoAndStop(2);
}
}
};
Symbol 945 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
_parent._visible = false;
gotoAndPlay(random(20) + 1);
}
Symbol 945 MovieClip Frame 10
distx = _parent._parent._x + _root.cnt._x;
disty = _parent._parent._y + _root.cnt._y;
if ((((distx < -1000) || (distx > 1500)) || (disty < -1000)) || (disty > 1600)) {
_parent._parent._visible = false;
} else {
_parent._parent._visible = true;
}
Symbol 946 MovieClip Frame 1
avance_go = 1;
_visible = false;
stop();
onEnterFrame = function () {
if (_root.pausedd == 1) {
if ((_root.cnt.car.avance == 2) && (_root.cnt.car.handbrake == 1)) {
avance_go = 2;
}
if (_parent.speed != undefined) {
if (avance_go == 2) {
if (_parent.timer > 0) {
_parent.timer = _parent.timer - (1 * _root.slowmotion);
} else {
if ((_parent.dist == undefined) || (_parent.dist > 0)) {
distx = boomx - boomx2;
disty = boomy - boomy2;
distmax = Math.abs(distx) + Math.abs(disty);
percx = (distx * 100) / distmax;
percy = (disty * 100) / distmax;
speedx = (_parent.speed * percx) / 100;
speedy = (_parent.speed * percy) / 100;
} else {
speedx = speedx * 0.95;
speedy = speedy * 0.95;
}
_parent._x = _parent._x + (speedx * _root.slowmotion);
_parent._y = _parent._y + (speedy * _root.slowmotion);
_parent.dist = _parent.dist - (_parent.speed * _root.slowmotion);
}
}
}
}
};
Instance of Symbol 768 MovieClip in Symbol 946 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.speed != undefined) {
point = new Object();
point.x = _x;
point.y = _y;
pointx = localToGlobal(point);
_parent.boomx = point.x - _root.cnt._x;
_parent.boomy = point.y - _root.cnt._y;
}
}
Instance of Symbol 768 MovieClip in Symbol 946 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.speed != undefined) {
point2 = new Object();
point2.x = _x;
point2.y = _y;
point2x = localToGlobal(point2);
_parent.boomx2 = point2.x - _root.cnt._x;
_parent.boomy2 = point2.y - _root.cnt._y;
}
}
Symbol 946 MovieClip Frame 2
_root.ob_hited = _root.ob_hited + 1;
timer_disepear = 1;
acc = 0.05 + ((poid * 0.1) / 10);
force = ((10 - poid) * 0.5) / 10;
speedx = (_root.cnt.car.speedx + (_parent._x - _root.cnt.car._x)) * (0.25 + force);
speedy = (_root.cnt.car.speedy + (_parent._y - _root.cnt.car._y)) * (0.25 + force);
if (Math.abs(speedx) < Math.abs(speedy)) {
speedr = speedx;
} else {
speedr = speedy;
}
speedx = ((speedx * _root.cnt.car.speed) / _root.cnt.car.speed_top) * 1.3;
speedy = ((speedy * _root.cnt.car.speed) / _root.cnt.car.speed_top) * 1.3;
if (speedx < (_root.cnt.car.speedx * 2)) {
speedx = _root.cnt.car.speedx * 2;
}
if (speedy < (_root.cnt.car.speedy * 2)) {
speedy = _root.cnt.car.speedy * 2;
}
shake = (((5 + (2 * poid)) * 1.8) * _root.cnt.car.speed) / _root.cnt.car.speed_top;
if ((_root.car == 7) || (_root.car == 12)) {
shake = shake * 0.3;
}
if (shake < 10) {
shake = 10;
}
if (_root.shake < shake) {
_root.shake = shake;
}
if (poid > 3) {
if ((_root.car == 7) || (_root.car == 12)) {
_root.cnt.car.energy = _root.cnt.car.energy - (((poid * 10) / 20) * (((Math.abs(_root.cnt.car.speed) * 10) / _root.cnt.car.speed_top) * 0.75));
_root.cnt.car.speed = _root.cnt.car.speed * (1 - ((poid * 0.8) / 20));
} else {
_root.cnt.car.energy = _root.cnt.car.energy - (((poid * 10) / 10) * (((Math.abs(_root.cnt.car.speed) * 10) / _root.cnt.car.speed_top) * 0.75));
_root.cnt.car.speed = _root.cnt.car.speed * (1 - ((poid * 0.8) / 10));
}
}
if (poid == 10) {
speedx = speedx * 0.5;
speedy = speedy * 0.5;
speedr = speedr * 0.25;
}
stop();
onEnterFrame = function () {
if (_root.pausedd == 1) {
_parent._x = _parent._x + (speedx * _root.slowmotion);
_parent._y = _parent._y + (speedy * _root.slowmotion);
_parent._rotation = _parent._rotation + (speedr * _root.slowmotion);
speedx = speedx * (1 - (acc * _root.slowmotion));
speedy = speedy * (1 - (acc * _root.slowmotion));
speedr = speedr * (1 - (acc * _root.slowmotion));
if (timer_disepear > 0) {
timer_disepear = timer_disepear - (1 * _root.slowmotion);
} else {
_parent._alpha = _parent._alpha - (2 * _root.slowmotion);
}
}
};
Symbol 946 MovieClip Frame 3
_parent._visible = false;
stop();
onEnterFrame = function () {
};
Symbol 947 MovieClip Frame 1
_x = (random(3000) - 1500);
_y = (random(3000) - 1500);
_rotation = (random(360) + 1);
Instance of Symbol 946 MovieClip "physboxx" in Symbol 947 MovieClip Frame 1
onClipEvent (load) {
poid = 9;
}
Symbol 949 MovieClip Frame 1
_x = (random(3000) - 1500);
_y = (random(3000) - 1500);
_rotation = (random(360) + 1);
Instance of Symbol 946 MovieClip "physboxx" in Symbol 949 MovieClip Frame 1
onClipEvent (load) {
poid = 1;
}
Symbol 952 MovieClip Frame 1
_x = (random(3000) - 1500);
_y = (random(3000) - 1500);
_rotation = (random(360) + 1);
Instance of Symbol 946 MovieClip "physboxx" in Symbol 952 MovieClip Frame 1
onClipEvent (load) {
poid = 9;
}
Symbol 955 MovieClip Frame 1
_x = (random(3000) - 1500);
_y = (random(3000) - 1500);
_rotation = (random(360) + 1);
Instance of Symbol 946 MovieClip "physboxx" in Symbol 955 MovieClip Frame 1
onClipEvent (load) {
poid = 10;
}
Symbol 958 MovieClip Frame 1
_x = (random(3000) - 1500);
_y = (random(3000) - 1500);
_rotation = (random(360) + 1);
Instance of Symbol 946 MovieClip "physboxx" in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
poid = 9;
}
Symbol 960 MovieClip Frame 1
_x = (random(3000) - 1500);
_y = (random(3000) - 1500);
_rotation = (random(360) + 1);
Instance of Symbol 946 MovieClip "physboxx" in Symbol 960 MovieClip Frame 1
onClipEvent (load) {
poid = 1;
}
Symbol 963 MovieClip Frame 1
_x = (random(3000) - 1500);
_y = (random(3000) - 1500);
_rotation = (random(360) + 1);
Instance of Symbol 946 MovieClip "physboxx" in Symbol 963 MovieClip Frame 1
onClipEvent (load) {
poid = 9;
}
Symbol 968 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
};
Symbol 968 MovieClip Frame 2
_visible = true;
_alpha = 0;
limit_alpha = 50;
if (_root.cnt.car.speed < 4) {
limit_alpha = 30;
}
boxx._xscale = 50;
boxx._yscale = boxx._xscale;
aa = random(2) + 1;
if (aa == 1) {
boxx._xscale = boxx._xscale * -1;
}
_rotation = random(360);
stade = 1;
stop();
onEnterFrame = function () {
if (_root.pausedd == 1) {
boxx._xscale = boxx._xscale * (1 + (0.01 * _root.slowmotion));
boxx._yscale = boxx._xscale;
if (stade == 1) {
_alpha = (_alpha + (10 * _root.slowmotion));
if (_alpha >= limit_alpha) {
stade = 2;
}
} else {
_alpha = (_alpha - (0.5 * _root.slowmotion));
if (_alpha <= 0) {
gotoAndStop (1);
}
}
}
};
Symbol 972 MovieClip Frame 1
gotoAndStop(random(3) + 1);
Symbol 973 MovieClip Frame 1
speedx = _root.cnt.car.speedx * 2;
speedy = _root.cnt.car.speedy * 2;
speedx = speedx + ((random(_root.cnt.car.speedx) - (_root.cnt.car.speedx / 2)) * 3);
speedy = speedy + ((random(_root.cnt.car.speedy) - (_root.cnt.car.speedy / 2)) * 3);
_x = (random(50) - 25);
_y = (random(50) - 25);
_xscale = (random(70) + 30);
_yscale = _xscale;
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
_rotation = (_rotation + speedr);
speedx = speedx * 0.93;
speedy = speedy * 0.93;
totspeed = Math.abs(speedx) + Math.abs(speedy);
if (totspeed <= 2) {
_visible = false;
Set(("_root.cnt.bs_" + _root.blood_sol_nb) + "._x", _parent._x + _x);
Set(("_root.cnt.bs_" + _root.blood_sol_nb) + "._y", _parent._y + _y);
Set(("_root.cnt.bs_" + _root.blood_sol_nb) + "._xscale", _xscale);
Set(("_root.cnt.bs_" + _root.blood_sol_nb) + "._yscale", _yscale);
eval ("_root.cnt.bs_" + _root.blood_sol_nb).gotoAndStop(1);
eval ("_root.cnt.bs_" + _root.blood_sol_nb).gotoAndStop(2);
_root.blood_sol_nb = _root.blood_sol_nb + 1;
if (_root.blood_sol_nb > 40) {
_root.blood_sol_nb = 1;
}
delete this.onEnterFrame;
}
};
Symbol 974 MovieClip Frame 1
_visible = false;
stop();
Symbol 974 MovieClip Frame 2
_visible = true;
stop();
Symbol 978 MovieClip Frame 1
_xscale = (random(75) + 75);
_yscale = (random(75) + 75);
aa = random(2) + 1;
if (aa == 1) {
_xscale = (_xscale * -1);
}
_rotation = (random(360) + 1);
Symbol 978 MovieClip Frame 9
_visible = false;
stop();
Symbol 979 MovieClip Frame 1
_visible = false;
stop();
Symbol 979 MovieClip Frame 2
_visible = true;
stop();
Symbol 981 MovieClip Frame 1
stop();
Symbol 984 MovieClip Frame 3
stop();
Symbol 985 MovieClip Frame 1
_visible = false;
_x = -2000;
_y = -2000;
stop();
Symbol 985 MovieClip Frame 2
_visible = true;
if (typee == 1) {
word = "jalapeno";
}
if (typee == 2) {
word = "wp_ammo";
}
if (typee == 3) {
word = "gaz";
}
if (typee == 4) {
word = "metal";
}
if (typee == 5) {
word = "meat";
}
boxx.gotoAndStop(typee);
if (typee == 5) {
boxx2.gotoAndStop(2);
} else {
boxx2.gotoAndStop(1);
}
stop();
onEnterFrame = function () {
disttot = Math.sqrt(Math.pow(_parent.car._x - _x, 2) + Math.pow(_parent.car._x - _x, 2));
if (disttot < 800) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 985 MovieClip Frame 3
delete this.onEnterFrame;
if (typee == 1) {
_root.jalapeno = _root.jalapeno + 1;
_root.nitro_fuel = 100;
if (_root.nitro_fuel > 100) {
_root.nitro_fuel = 100;
}
}
if (typee == 2) {
_root.wp_ammo = _root.wp_ammo + 50;
_root.call_go = random(3) + 1;
}
if (typee == 3) {
_root.gaz = _root.gaz + 50;
if (_root.gaz > (_root.gaz_tank * 100)) {
_root.gaz = _root.gaz_tank * 100;
}
}
if (typee == 4) {
_root.metal = _root.metal + 1;
}
if (typee == 5) {
_root.meat = _root.meat + 1;
}
Instance of Symbol 936 MovieClip in Symbol 989 MovieClip Frame 1
onClipEvent (enterFrame) {
_visible = false;
}
Instance of Symbol 938 MovieClip in Symbol 989 MovieClip Frame 1
onClipEvent (enterFrame) {
_visible = false;
}
Instance of Symbol 940 MovieClip "pointtest" in Symbol 989 MovieClip Frame 1
onClipEvent (enterFrame) {
_visible = false;
}
Instance of Symbol 958 MovieClip "ob_9" in Symbol 989 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
speed = 4;
dist = 1;
}
Instance of Symbol 963 MovieClip "ob_19" in Symbol 989 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
speed = 6;
dist = 1;
}
Symbol 999 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
if ((_root.interr.tuto._currentframe < 11) && (_root.game_mode == 2)) {
_x = _parent._xmouse;
_y = _parent._ymouse;
_visible = true;
} else {
_visible = false;
}
};
Symbol 1002 MovieClip Frame 1
_visible = false;
stop();
Symbol 1002 MovieClip Frame 2
_visible = true;
play();
Symbol 1002 MovieClip Frame 10
gotoAndStop (1);
Symbol 1015 MovieClip Frame 1
gotoAndStop(_root.wp);
Symbol 1017 MovieClip Frame 1
_visible = false;
stop();
Symbol 1024 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.reload_go == 1) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
maskk1.gotoAndStop(_root.wp_mag + 1);
maskk2.gotoAndStop(_root.wp_capacity + 1);
};
Symbol 1027 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.wp_ammo <= 0) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Symbol 1032 MovieClip Frame 1
stop();
Symbol 1032 MovieClip Frame 2
play();
Symbol 1033 MovieClip Frame 1
if (nb == 1) {
word = "jalapeno";
}
if (nb == 2) {
word = "wp_ammo";
}
if (nb == 3) {
word = "gaz";
}
if (nb == 4) {
word = "metal";
}
if (nb == 5) {
word = "meat";
}
many = eval ("_root." + word);
timer = 0;
added = 0;
stop();
onEnterFrame = function () {
if (many < eval ("_root." + word)) {
added = added + (eval ("_root." + word) - many);
many = eval ("_root." + word);
timer = 100;
boxx.gotoAndPlay(2);
}
if (timer > 0) {
timer = timer - 1;
_visible = true;
} else {
added = 0;
_visible = false;
}
};
Instance of Symbol 1033 MovieClip "it_1" in Symbol 1034 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 1033 MovieClip "it_2" in Symbol 1034 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 1033 MovieClip "it_3" in Symbol 1034 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 1033 MovieClip "it_4" in Symbol 1034 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 1033 MovieClip "it_5" in Symbol 1034 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Symbol 1042 MovieClip Frame 1
stop();
onEnterFrame = function () {
aa = _root.gaz - ((nb - 1) * 100);
gotoAndStop(Math.round(aa) + 1);
};
Symbol 1046 MovieClip Frame 1
onEnterFrame = function () {
if (_root.gaz <= 40) {
_visible = true;
} else {
_visible = false;
}
if (_root.gaz <= 0) {
if (_currentframe <= 50) {
gotoAndPlay (51);
}
} else if (_currentframe > 50) {
gotoAndPlay (25);
}
};
Symbol 1046 MovieClip Frame 50
gotoAndPlay (1);
Symbol 1046 MovieClip Frame 51
play();
Symbol 1046 MovieClip Frame 100
gotoAndPlay (51);
Symbol 1048 MovieClip Frame 1
gotoAndStop(_root.gaztank);
Instance of Symbol 1042 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 1042 MovieClip in Symbol 1048 MovieClip Frame 2
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 1042 MovieClip in Symbol 1048 MovieClip Frame 3
onClipEvent (load) {
nb = 3;
}
Symbol 1054 MovieClip Frame 1
timer_before_win_st = 120;
timer_before_win = timer_before_win_st;
stop();
onEnterFrame = function () {
_root.zombies_alive = 0;
if (_root.cnt.z_1.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_2.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_3.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_4.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_5.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_6.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_7.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_8.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_9.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_10.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_11.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_12.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_13.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_14.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_15.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_16.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_17.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_18.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_19.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_20.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_21.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_22.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_23.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_24.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_25.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_26.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_27.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_28.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_29.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_30.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_31.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_32.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_33.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_34.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_35.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_36.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_37.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_38.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_39.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_40.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_41.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_42.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_43.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_44.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_45.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_46.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_47.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_48.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_49.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
if (_root.cnt.z_50.energy > 0) {
_root.zombies_alive = _root.zombies_alive + 1;
}
aff1 = _root.zombies_alive;
aff2 = _root.tot_zombies;
if (aff1 <= 0) {
if (timer_before_win > 0) {
timer_before_win = timer_before_win - 1;
} else {
_root.from_win = 2;
_root.got2go = 2;
}
} else {
timer_before_win = timer_before_win_st;
}
};
Symbol 1060 MovieClip Frame 1
stop();
Symbol 1061 MovieClip Frame 1
stop();
Symbol 1061 MovieClip Frame 2
play();
Symbol 1061 MovieClip Frame 9
gotoAndPlay (2);
Symbol 1062 MovieClip Frame 1
nitro_fuelb = _root.nitro_fuel;
_alpha = 0;
timer_alpha = 0;
stop();
onEnterFrame = function () {
maskk.gotoAndStop(Math.round(_root.nitro_fuel) + 1);
if (_root.nitro == 2) {
boxx.boxx2.gotoAndStop(1);
if (boxx._currentframe == 1) {
boxx.gotoAndPlay(2);
}
} else {
boxx.boxx2.gotoAndStop(2);
boxx.gotoAndStop(1);
}
if (nitro_fuelb != _root.nitro_fuel) {
nitro_fuelb = _root.nitro_fuel;
if (_alpha <= 0) {
aa = random(3) + 1;
if (aa == 1) {
_root.call_go = random(3) + 4;
}
}
_alpha = 100;
timer_alpha = 30;
} else if (timer_alpha > 0) {
timer_alpha = timer_alpha - 1;
} else if (_alpha > 0) {
_alpha = (_alpha - 10);
}
};
Symbol 1065 MovieClip Frame 1
stop();
Symbol 1065 MovieClip Frame 2
play();
Symbol 1066 MovieClip Frame 1
aa = 0;
timer_visible_custom = 150;
stop();
onEnterFrame = function () {
if (timer_setup_go != 1) {
if (_root.fps_average == undefined) {
_root.fps_average = 50;
}
if ((_root.zombies_alive > 0) && (_root.interr.tuto._currentframe == 1)) {
aa = aa + 1;
}
if (aa > _root.fps_average) {
aa = aa - _root.fps_average;
_root.timer_sec = _root.timer_sec - 1;
if (_root.timer_sec < 0) {
if (_root.timer_min >= 1) {
_root.timer_min = _root.timer_min - 1;
_root.timer_sec = 59;
} else {
_root.from_timeup = 2;
_root.got2go = 2;
}
}
if ((_root.timer_sec <= 10) && (_root.timer_min <= 0)) {
boxx.gotoAndPlay(2);
}
if ((_root.timer_sec <= 0) && (_root.timer_min <= 0)) {
_visible = false;
}
}
if (timer_visible_custom > 0) {
timer_visible_custom = timer_visible_custom - 1;
} else if (_root.zombies_alive <= 0) {
_visible = false;
}
if (_root.timer_min < 10) {
min2 = _root.timer_min;
} else {
min2 = _root.timer_min;
}
if (_root.timer_sec < 10) {
sec2 = "0" + _root.timer_sec;
} else {
sec2 = _root.timer_sec;
}
aff = (min2 + ":") + sec2;
}
};
Symbol 1072 MovieClip Frame 1
_visible = false;
if (_parent.zombies_nb == undefined) {
_parent.zombies_nb = 1;
}
nb = _parent.zombies_nb;
_parent.zombies_nb = _parent.zombies_nb + 1;
Symbol 1072 MovieClip Frame 49
if (eval ("_root.cnt.z_" + nb) == 1) {
stop();
}
Symbol 1072 MovieClip Frame 50
stop();
onEnterFrame = function () {
_x = (eval (("_root.cnt.z_" + nb) + "._x") / 10);
_y = (eval (("_root.cnt.z_" + nb) + "._y") / 10);
if ((eval (("_root.cnt.z_" + nb) + "._currentframe") == 2) && (eval (("_root.cnt.z_" + nb) + ".energy") > 0)) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 1074 MovieClip Frame 1
stop();
onEnterFrame = function () {
_x = (_root.cnt.car._x / 10);
_y = (_root.cnt.car._y / 10);
_rotation = _root.cnt.car._rotation;
};
Symbol 1088 MovieClip Frame 1
gotoAndPlay(_parent.call_said * 2);
Symbol 1088 MovieClip Frame 3
stop();
Symbol 1088 MovieClip Frame 5
stop();
Symbol 1088 MovieClip Frame 7
stop();
Symbol 1088 MovieClip Frame 9
stop();
Symbol 1088 MovieClip Frame 11
stop();
Symbol 1088 MovieClip Frame 13
stop();
Symbol 1088 MovieClip Frame 15
stop();
Symbol 1088 MovieClip Frame 17
stop();
Symbol 1088 MovieClip Frame 19
stop();
Symbol 1089 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
sx = _x;
energyb = _root.energy;
}
txx_1 = "MAGNIFICO!";
txx_2 = "THANKS!";
txx_3 = "GRACIAS!";
txx_4 = "RAPIDO!";
txx_5 = "YIHAA!";
txx_6 = "GRRRANDE!";
txx_7 = "WATCH OUT!";
txx_8 = "AIE !\n AIE !";
txx_9 = "OUCH!";
_root.call_go = 0;
_visible = false;
stop();
onEnterFrame = function () {
speedx = (sx - _x) * 0.2;
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + speedx);
}
if (energyb > _root.energy) {
dif_energy = energyb - _root.energy;
energyb = _root.energy;
if (dif_energy >= 10) {
aa = random(3) + 1;
if (didnthited_yet != 2) {
didnthited_yet = 2;
aa = 1;
}
if (aa == 1) {
_root.call_go = random(3) + 7;
}
}
}
if (_root.call_go != 0) {
txx = eval ("txx_" + _root.call_go);
call_said = _root.call_go;
_root.call_go = 0;
gotoAndPlay (2);
}
};
Symbol 1089 MovieClip Frame 2
_x = (sx + 200);
_visible = true;
play();
Symbol 1090 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.interr.tuto._currentframe >= 11) {
_visible = false;
} else {
_visible = true;
}
};
Instance of Symbol 54 MovieClip in Symbol 1090 MovieClip Frame 1
onClipEvent (load) {
im_energy_bar = 2;
}
Instance of Symbol 72 MovieClip in Symbol 1090 MovieClip Frame 1
onClipEvent (load) {
txx = "RESTART";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.got2go = 3;
}
}
Symbol 1092 MovieClip Frame 1
_visible = false;
_x = 0;
_y = 0;
onEnterFrame = function () {
};
Symbol 1092 MovieClip Frame 2
jalapeno = 4;
gaz = 4;
wp_ammo = 3;
metal = 3;
min = eval ("_root.lvl_min_" + _root.lvl);
sec = eval ("_root.lvl_sec_" + _root.lvl);
to_spawn = eval ("_root.lvl_tospawn_" + _root.lvl);
_root.tot_zombies = to_spawn;
_root.timer_min = min;
_root.timer_sec = sec;
_root.timer_setup_go = 2;
items_nb = 1;
zombies_nb = 1;
search_place = 1;
stop();
onEnterFrame = function () {
if (to_spawn > 0) {
if (search_place == 1) {
search_place = 2;
}
if (search_place == 3) {
search_place = 1;
Set(("_root.cnt.z_" + zombies_nb) + "._x", hitt._x);
Set(("_root.cnt.z_" + zombies_nb) + "._y", hitt._y);
eval ("_root.cnt.z_" + zombies_nb).gotoAndStop(2);
zombies_nb = zombies_nb + 1;
to_spawn = to_spawn - 1;
}
}
if (jalapeno > 0) {
jalapeno = jalapeno - 1;
Set(("_root.cnt.it_" + items_nb) + ".typee", 1);
Set(("_root.cnt.it_" + items_nb) + "._x", random(2800) - 1400);
Set(("_root.cnt.it_" + items_nb) + "._y", random(2800) - 1400);
eval ("_root.cnt.it_" + items_nb).gotoAndStop(1);
eval ("_root.cnt.it_" + items_nb).gotoAndStop(2);
items_nb = items_nb + 1;
}
if (gaz > 0) {
gaz = gaz - 1;
Set(("_root.cnt.it_" + items_nb) + ".typee", 2);
Set(("_root.cnt.it_" + items_nb) + "._x", random(2800) - 1400);
Set(("_root.cnt.it_" + items_nb) + "._y", random(2800) - 1400);
eval ("_root.cnt.it_" + items_nb).gotoAndStop(1);
eval ("_root.cnt.it_" + items_nb).gotoAndStop(2);
items_nb = items_nb + 1;
}
if (wp_ammo > 0) {
wp_ammo = wp_ammo - 1;
Set(("_root.cnt.it_" + items_nb) + ".typee", 3);
Set(("_root.cnt.it_" + items_nb) + "._x", random(2800) - 1400);
Set(("_root.cnt.it_" + items_nb) + "._y", random(2800) - 1400);
eval ("_root.cnt.it_" + items_nb).gotoAndStop(1);
eval ("_root.cnt.it_" + items_nb).gotoAndStop(2);
items_nb = items_nb + 1;
}
if (metal > 0) {
metal = metal - 1;
Set(("_root.cnt.it_" + items_nb) + ".typee", 4);
Set(("_root.cnt.it_" + items_nb) + "._x", random(2800) - 1400);
Set(("_root.cnt.it_" + items_nb) + "._y", random(2800) - 1400);
eval ("_root.cnt.it_" + items_nb).gotoAndStop(1);
eval ("_root.cnt.it_" + items_nb).gotoAndStop(2);
items_nb = items_nb + 1;
}
if (meat > 0) {
meat = meat - 1;
Set(("_root.cnt.it_" + items_nb) + ".typee", 5);
Set(("_root.cnt.it_" + items_nb) + "._x", random(2800) - 1400);
Set(("_root.cnt.it_" + items_nb) + "._y", random(2800) - 1400);
eval ("_root.cnt.it_" + items_nb).gotoAndStop(1);
eval ("_root.cnt.it_" + items_nb).gotoAndStop(2);
items_nb = items_nb + 1;
}
};
Instance of Symbol 660 MovieClip "hitt" in Symbol 1092 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent.search_place == 2) {
_parent._x = _root.cnt._x;
_parent._y = _root.cnt._y;
_x = (random(3000) - 1500);
_y = (random(3000) - 1500);
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)) {
} else {
_parent.search_place = 3;
}
i++;
}
}
}
Symbol 1120 MovieClip Frame 1
timer_st = 150;
timer = timer_st;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
}
if (_currentframe == 1) {
_visible = false;
_root.cnt.tuto._visible = false;
_root.cnt.tuto.gotoAndStop(1);
} else {
_visible = true;
_root.cnt.tuto._visible = true;
_root.cnt.tuto._x = _root.cnt.car._x;
_root.cnt.tuto._y = _root.cnt.car._y;
_root.cnt.tuto.gotoAndStop(2);
}
if (((_root.tuto_1 != 2) && (_currentframe == 1)) && (timer <= 0)) {
_root.pausedd = 2;
_root.act = 3;
timer = 25;
gotoAndStop (11);
}
if (((_root.tuto_2 != 2) && (_currentframe == 1)) && (timer <= 0)) {
_root.pausedd = 2;
_root.act = 3;
timer = 25;
gotoAndStop (12);
}
if (((_root.tuto_7 != 2) && (_currentframe == 1)) && (timer <= 0)) {
_root.pausedd = 2;
_root.act = 3;
timer = 200;
gotoAndStop (17);
}
if (((_root.tuto_3 != 2) && (_currentframe == 1)) && (timer <= 0)) {
if (((((_root.interr.hub.itboxx.it_1.timer >= 0) || (_root.interr.hub.itboxx.it_2.timer >= 0)) || (_root.interr.hub.itboxx.it_3.timer >= 0)) || (_root.interr.hub.itboxx.it_4.timer >= 0)) || (_root.interr.hub.itboxx.it_5.timer >= 0)) {
_root.pausedd = 2;
_root.act = 3;
timer = 200;
gotoAndStop (13);
}
}
if ((((_root.tuto_4 != 2) && (_root.nitro_fuel >= 50)) && (_currentframe == 1)) && (timer <= 0)) {
_root.pausedd = 2;
_root.act = 3;
timer = 25;
gotoAndStop (14);
}
if (((_root.tuto_5 != 2) && (_currentframe == 1)) && (timer <= 0)) {
if (_root.game_mode == 2) {
_root.pausedd = 2;
_root.act = 3;
timer = 150;
gotoAndStop (15);
}
}
if ((((_root.tuto_6 != 2) && (_root.energy < _root.energy_tot)) && (_currentframe == 1)) && (timer <= 0)) {
if (_root.energy >= 5) {
_root.pausedd = 2;
_root.act = 3;
timer = 130;
gotoAndStop (16);
}
}
if ((_currentframe == 11) && (timer <= 0)) {
if (((Key.isDown(38) || (Key.isDown(37))) || (Key.isDown(39))) || (Key.isDown(40))) {
_root.tuto_1 = 2;
_root.pausedd = 1;
_root.act = 1;
timer = timer_st;
gotoAndStop (1);
}
}
if ((_currentframe == 12) && (timer <= 0)) {
if (Key.isDown(17)) {
_root.tuto_2 = 2;
_root.pausedd = 1;
_root.act = 1;
timer = timer_st;
gotoAndStop (1);
}
}
if ((_currentframe == 13) && (timer <= 0)) {
_root.tuto_3 = 2;
_root.pausedd = 1;
_root.act = 1;
timer = timer_st;
gotoAndStop (1);
}
if ((_currentframe == 14) && (timer <= 0)) {
if (Key.isDown(16)) {
_root.tuto_4 = 2;
_root.pausedd = 1;
_root.act = 1;
timer = timer_st;
gotoAndStop (1);
}
}
if ((_currentframe == 15) && (timer <= 0)) {
_root.tuto_5 = 2;
_root.pausedd = 1;
_root.act = 1;
timer = timer_st;
gotoAndStop (1);
}
if ((_currentframe == 16) && (timer <= 0)) {
_root.tuto_6 = 2;
_root.pausedd = 1;
_root.act = 1;
timer = timer_st;
gotoAndStop (1);
}
if ((_currentframe == 17) && (timer <= 0)) {
_root.tuto_7 = 2;
_root.pausedd = 1;
_root.act = 1;
timer = timer_st;
gotoAndStop (1);
}
};
Instance of Symbol 380 MovieClip in Symbol 1120 MovieClip Frame 13
onClipEvent (load) {
gotoAndStop (3);
}
Instance of Symbol 380 MovieClip in Symbol 1120 MovieClip Frame 13
onClipEvent (load) {
gotoAndStop (2);
}
Instance of Symbol 380 MovieClip in Symbol 1120 MovieClip Frame 13
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 54 MovieClip in Symbol 1120 MovieClip Frame 16
onClipEvent (load) {
im_energy_bar = 2;
sx1 = 238;
sy1 = 152;
sx2 = _x;
sy2 = _y;
timer = _parent.timer - 50;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer = timer - 1;
sx = sx1;
sy = sy1;
} else {
sx = sx2;
sy = sy2;
}
speed = 0.2;
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);
}
}
Instance of Symbol 1117 MovieClip in Symbol 1120 MovieClip Frame 17
onClipEvent (load) {
sx1 = 238;
sy1 = 270;
sx2 = _x;
sy2 = _y;
timer = _parent.timer - 50;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer = timer - 1;
sx = sx1;
sy = sy1;
} else {
sx = sx2;
sy = sy2;
}
speed = 0.1;
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 1121 MovieClip Frame 1
gotoAndPlay (2);
Symbol 1121 MovieClip Frame 26
_visible = false;
stop();
Symbol 1136 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
} else {
gotoAndPlay(((random(3) + 1) * 2) + 30);
}
Symbol 1136 MovieClip Frame 3
stop();
Symbol 1136 MovieClip Frame 5
stop();
Symbol 1136 MovieClip Frame 7
stop();
Symbol 1136 MovieClip Frame 9
stop();
Symbol 1136 MovieClip Frame 11
stop();
Symbol 1136 MovieClip Frame 13
stop();
Symbol 1136 MovieClip Frame 15
stop();
Symbol 1136 MovieClip Frame 17
stop();
Symbol 1136 MovieClip Frame 33
stop();
Symbol 1136 MovieClip Frame 35
stop();
Symbol 1136 MovieClip Frame 37
stop();