Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
mochi.as2.MochiAd.showPreGameAd({id:"c7933c34b5c95819", res:"800x600"});
__com_mochibot__("2bc15bec", this, 10301, true);
_root.lavr = 28;
function menuChoiceOne() {
getURL ("http://www.pyrozen.com");
}
stop();
_root.user = SharedObject.getLocal("user_callofbieber");
onEnterFrame = function () {
urlStart = _url.indexOf("://") + 3;
urlEnd = _url.indexOf("/", urlStart);
domain = _url.substring(urlStart, urlEnd);
LastDot = domain.lastIndexOf(".") - 1;
domEnd = domain.lastIndexOf(".", LastDot) + 1;
domain = domain.substring(domEnd, domain.length);
if (domain == "gamesfree.ca") {
_root.gore = 2;
} else {
_root.gore = 1;
}
};
NewMenu = new ContextMenu();
NewMenu.hideBuiltInItems();
NewMenu.customItems.push(new ContextMenuItem("Pyrozen", menuChoiceOne));
this.menu = NewMenu;
cash = 1000;
energy = 50;
stamina = 0;
st_headshots = 0;
lvl = 0;
billboard = 0;
bonus_1 = 1;
bonus_2 = 1;
bonus_3 = 1;
bonus_4 = 1;
bonus_5 = 1;
bonus_6 = 1;
cheat_1 = 1;
cheat_2 = 1;
cheat_3 = 1;
cheat_4 = 1;
cheat_5 = 1;
cheat_6 = 1;
ac_1 = 1;
ac_2 = 1;
ac_3 = 1;
ac_4 = 1;
ac_5 = 1;
ac_6 = 1;
wp_1 = 2;
wp_2 = 1;
wp_3 = 1;
wp_4 = 1;
wp_5 = 1;
wp_6 = 1;
wp_ammo_1 = 10;
wp_mag_1 = 300;
wp_ammo_2 = 0;
wp_mag_2 = 0;
wp_ammo_3 = 0;
wp_mag_3 = 0;
wp_ammo_4 = 0;
wp_mag_4 = 0;
wp_ammo_5 = 0;
wp_mag_5 = 0;
wp_ammo_6 = 0;
wp_mag_6 = 0;
top_power = 100;
top_firingspeed = 20;
top_permag = 80;
top_reloadtime = 4;
top_recoil = 100;
wp_power_1 = 1;
wp_power_1_1 = 20;
wp_power_1_2 = 25;
wp_power_1_3 = 35;
wp_power_1_4 = 50;
wp_power_1_5 = 100;
wp_firingspeed_1 = 1;
wp_firingspeed_1_1 = 10;
wp_firingspeed_1_2 = 10;
wp_firingspeed_1_3 = 9;
wp_firingspeed_1_4 = 8;
wp_firingspeed_1_5 = 7;
wp_permag_1 = 1;
wp_permag_1_1 = 10;
wp_permag_1_2 = 14;
wp_permag_1_3 = 18;
wp_permag_1_4 = 22;
wp_permag_1_5 = 26;
wp_reloadtime_1 = 1;
wp_reloadtime_1_1 = 2.5;
wp_reloadtime_1_2 = 1.75;
wp_reloadtime_1_3 = 1;
wp_reloadtime_1_4 = 0.5;
wp_reloadtime_1_5 = 0.25;
wp_recoil_1 = 1;
wp_recoil_1_1 = 20;
wp_recoil_1_2 = 15;
wp_recoil_1_3 = 10;
wp_recoil_1_4 = 5;
wp_recoil_1_5 = 2;
wp_precision_1 = 5;
wp_price_1_1 = 500;
wp_price_1_2 = 1000;
wp_price_1_3 = 1500;
wp_price_1_4 = 2000;
wp_price_1_5 = 2500;
wp_power_2 = 1;
wp_power_2_1 = 20;
wp_power_2_2 = 25;
wp_power_2_3 = 35;
wp_power_2_4 = 50;
wp_power_2_5 = 100;
wp_firingspeed_2 = 1;
wp_firingspeed_2_1 = 6;
wp_firingspeed_2_2 = 5;
wp_firingspeed_2_3 = 4;
wp_firingspeed_2_4 = 3;
wp_firingspeed_2_5 = 3;
wp_permag_2 = 1;
wp_permag_2_1 = 30;
wp_permag_2_2 = 35;
wp_permag_2_3 = 45;
wp_permag_2_4 = 50;
wp_permag_2_5 = 60;
wp_reloadtime_2 = 1;
wp_reloadtime_2_1 = 2.5;
wp_reloadtime_2_2 = 1.75;
wp_reloadtime_2_3 = 1;
wp_reloadtime_2_4 = 0.5;
wp_reloadtime_2_5 = 0.25;
wp_recoil_2 = 1;
wp_recoil_2_1 = 20;
wp_recoil_2_2 = 15;
wp_recoil_2_3 = 10;
wp_recoil_2_4 = 5;
wp_recoil_2_5 = 2;
wp_precision_2 = 5;
wp_price_2_1 = 600;
wp_price_2_2 = 1200;
wp_price_2_3 = 1800;
wp_price_2_4 = 2400;
wp_price_2_5 = 3000;
wp_power_3 = 1;
wp_power_3_1 = 1000;
wp_power_3_2 = 2000;
wp_power_3_3 = 2500;
wp_power_3_4 = 4000;
wp_power_3_5 = 6000;
wp_firingspeed_3 = 1;
wp_firingspeed_3_1 = 80;
wp_firingspeed_3_2 = 60;
wp_firingspeed_3_3 = 30;
wp_firingspeed_3_4 = 15;
wp_firingspeed_3_5 = 5;
wp_permag_3 = 1;
wp_permag_3_1 = 6;
wp_permag_3_2 = 8;
wp_permag_3_3 = 10;
wp_permag_3_4 = 12;
wp_permag_3_5 = 14;
wp_reloadtime_3 = 1;
wp_reloadtime_3_1 = 4;
wp_reloadtime_3_2 = 3.5;
wp_reloadtime_3_3 = 3;
wp_reloadtime_3_4 = 2.5;
wp_reloadtime_3_5 = 2;
wp_recoil_3 = 1;
wp_recoil_3_1 = 100;
wp_recoil_3_2 = 90;
wp_recoil_3_3 = 70;
wp_recoil_3_4 = 50;
wp_recoil_3_5 = 25;
wp_precision_3 = 5;
wp_price_3_1 = 2000;
wp_price_3_2 = 3000;
wp_price_3_3 = 4000;
wp_price_3_4 = 5000;
wp_price_3_5 = 6000;
wp_power_4 = 1;
wp_power_4_1 = 35;
wp_power_4_2 = 40;
wp_power_4_3 = 50;
wp_power_4_4 = 75;
wp_power_4_5 = 100;
wp_firingspeed_4 = 1;
wp_firingspeed_4_1 = 5;
wp_firingspeed_4_2 = 5;
wp_firingspeed_4_3 = 4;
wp_firingspeed_4_4 = 3;
wp_firingspeed_4_5 = 3;
wp_permag_4 = 1;
wp_permag_4_1 = 40;
wp_permag_4_2 = 50;
wp_permag_4_3 = 60;
wp_permag_4_4 = 70;
wp_permag_4_5 = 80;
wp_reloadtime_4 = 1;
wp_reloadtime_4_1 = 2;
wp_reloadtime_4_2 = 1.5;
wp_reloadtime_4_3 = 1;
wp_reloadtime_4_4 = 0.5;
wp_reloadtime_4_5 = 0.25;
wp_recoil_4 = 1;
wp_recoil_4_1 = 30;
wp_recoil_4_2 = 20;
wp_recoil_4_3 = 15;
wp_recoil_4_4 = 5;
wp_recoil_4_5 = 2;
wp_precision_4 = 5;
wp_price_4_1 = 800;
wp_price_4_2 = 1600;
wp_price_4_3 = 2000;
wp_price_4_4 = 2400;
wp_price_4_5 = 6000;
wp_power_5 = 1;
wp_power_5_1 = 50;
wp_power_5_2 = 60;
wp_power_5_3 = 100;
wp_power_5_4 = 100;
wp_power_5_5 = 100;
wp_firingspeed_5 = 1;
wp_firingspeed_5_1 = 150;
wp_firingspeed_5_2 = 100;
wp_firingspeed_5_3 = 50;
wp_firingspeed_5_4 = 20;
wp_firingspeed_5_5 = 5;
wp_permag_5 = 1;
wp_permag_5_1 = 9;
wp_permag_5_2 = 12;
wp_permag_5_3 = 15;
wp_permag_5_4 = 18;
wp_permag_5_5 = 21;
wp_reloadtime_5 = 1;
wp_reloadtime_5_1 = 3;
wp_reloadtime_5_2 = 2.5;
wp_reloadtime_5_3 = 2;
wp_reloadtime_5_4 = 1.5;
wp_reloadtime_5_5 = 1;
wp_recoil_5 = 1;
wp_recoil_5_1 = 100;
wp_recoil_5_2 = 90;
wp_recoil_5_3 = 80;
wp_recoil_5_4 = 70;
wp_recoil_5_5 = 60;
wp_precision_5 = 5;
wp_price_5_1 = 900;
wp_price_5_2 = 1800;
wp_price_5_3 = 2000;
wp_price_5_4 = 2300;
wp_price_5_5 = 2500;
wp_power_6 = 1;
wp_power_6_1 = 20;
wp_power_6_2 = 25;
wp_power_6_3 = 35;
wp_power_6_4 = 50;
wp_power_6_5 = 100;
wp_firingspeed_6 = 1;
wp_firingspeed_6_1 = 5;
wp_firingspeed_6_2 = 4;
wp_firingspeed_6_3 = 3;
wp_firingspeed_6_4 = 2;
wp_firingspeed_6_5 = 2;
wp_permag_6 = 1;
wp_permag_6_1 = 100;
wp_permag_6_2 = 150;
wp_permag_6_3 = 200;
wp_permag_6_4 = 250;
wp_permag_6_5 = 500;
wp_reloadtime_6 = 1;
wp_reloadtime_6_1 = 4;
wp_reloadtime_6_2 = 4;
wp_reloadtime_6_3 = 3;
wp_reloadtime_6_4 = 3;
wp_reloadtime_6_5 = 2;
wp_recoil_6 = 1;
wp_recoil_6_1 = 10;
wp_recoil_6_2 = 7;
wp_recoil_6_3 = 4;
wp_recoil_6_4 = 3;
wp_recoil_6_5 = 1;
wp_precision_6 = 5;
wp_price_6_1 = 4000;
wp_price_6_2 = 4200;
wp_price_6_3 = 4800;
wp_price_6_4 = 5000;
wp_price_6_5 = 5200;
Frame 3
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (4);
}
};
Frame 18
stop();
Frame 19
stop();
Frame 20
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (51);
}
if (_root.got2go == 3) {
_root.got2go = 1;
gotoAndStop (39);
}
};
Instance of Symbol 427 MovieClip "diadd" in Frame 20
onClipEvent (load) {
boxx.gotoAndStop(_root.lavr);
boxx2.boxx.gotoAndStop(_root.lavr);
if (_root.lavr != 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
boxx2.gotoAndStop(boxx.shade + 1);
}
Frame 21
stop();
Frame 22
stop();
Frame 23
stop();
Frame 24
stop();
Frame 39
onEnterFrame = function () {
};
_root.cash = _root.user.data.cash;
_root.energy = _root.user.data.energy;
_root.stamina = _root.user.data.stamina;
_root.st_headshots = _root.user.data.st_headshots;
_root.lvl = _root.user.data.lvl;
_root.billboard = _root.user.data.billboard;
_root.bonus_1 = _root.user.data.bonus_1;
_root.bonus_2 = _root.user.data.bonus_2;
_root.bonus_3 = _root.user.data.bonus_3;
_root.bonus_4 = _root.user.data.bonus_4;
_root.bonus_5 = _root.user.data.bonus_5;
_root.bonus_6 = _root.user.data.bonus_6;
_root.ac_1 = _root.user.data.ac_1;
_root.ac_2 = _root.user.data.ac_2;
_root.ac_3 = _root.user.data.ac_3;
_root.ac_4 = _root.user.data.ac_4;
_root.ac_5 = _root.user.data.ac_5;
_root.ac_6 = _root.user.data.ac_6;
_root.wp_1 = _root.user.data.wp_1;
_root.wp_2 = _root.user.data.wp_2;
_root.wp_3 = _root.user.data.wp_3;
_root.wp_4 = _root.user.data.wp_4;
_root.wp_5 = _root.user.data.wp_5;
_root.wp_6 = _root.user.data.wp_6;
_root.wp_ammo_1 = _root.user.data.wp_ammo_1;
_root.wp_mag_1 = _root.user.data.wp_mag_1;
_root.wp_ammo_2 = _root.user.data.wp_ammo_2;
_root.wp_mag_2 = _root.user.data.wp_mag_2;
_root.wp_ammo_3 = _root.user.data.wp_ammo_3;
_root.wp_mag_3 = _root.user.data.wp_mag_3;
_root.wp_ammo_4 = _root.user.data.wp_ammo_4;
_root.wp_mag_4 = _root.user.data.wp_mag_4;
_root.wp_ammo_5 = _root.user.data.wp_ammo_5;
_root.wp_mag_5 = _root.user.data.wp_mag_5;
_root.wp_ammo_6 = _root.user.data.wp_ammo_6;
_root.wp_mag_6 = _root.user.data.wp_mag_6;
gotoAndStop (40);
Frame 40
_quality = "high";
Mouse.show();
if (energy > 100) {
energy = 100;
}
if (_root.wingame == 2) {
if (_root.lvl == 20) {
if (_root.ac_6 != 2) {
_root.ac_6 = 2;
_root.achiv_done_go = 2;
_root.achiv_done = 6;
}
}
}
stop();
onEnterFrame = function () {
if (got2go == 2) {
got2go = 1;
gotoAndStop (41);
}
if ((((((_root.wp_1 != 1) && (_root.wp_2 != 1)) && (_root.wp_3 != 1)) && (_root.wp_4 != 1)) && (_root.wp_5 != 1)) && (_root.wp_6 != 1)) {
if (_root.ac_4 != 2) {
_root.ac_4 = 2;
_root.achiv_done_go = 2;
_root.achiv_done = 4;
}
}
if ((((((_root.bonus_1 != 1) && (_root.bonus_2 != 1)) && (_root.bonus_3 != 1)) && (_root.bonus_4 != 1)) && (_root.bonus_5 != 1)) && (_root.bonus_6 != 1)) {
if (_root.ac_2 != 2) {
_root.ac_2 = 2;
_root.achiv_done_go = 2;
_root.achiv_done = 2;
}
}
};
Instance of Symbol 116 MovieClip in Frame 40
onClipEvent (load) {
txx = "Buy Stuff";
timer = 0;
gotoAndStop (43);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.menuboxx.gotoAndPlay(2);
_parent.menuboxx.boxx.gotoAndStop(1);
}
}
Instance of Symbol 116 MovieClip in Frame 40
onClipEvent (load) {
txx = "Cheats";
timer = 5;
gotoAndStop (43);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.menuboxx.gotoAndPlay(2);
_parent.menuboxx.boxx.gotoAndStop(10);
}
}
Instance of Symbol 116 MovieClip in Frame 40
onClipEvent (load) {
txx = "Trophies";
timer = 10;
gotoAndStop (43);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.menuboxx.gotoAndPlay(2);
_parent.menuboxx.boxx.gotoAndStop(11);
}
}
Instance of Symbol 116 MovieClip in Frame 40
onClipEvent (load) {
txx = "Extras";
timer = 15;
gotoAndStop (43);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.menuboxx.gotoAndPlay(2);
_parent.menuboxx.boxx.gotoAndStop(9);
}
}
Frame 41
onEnterFrame = function () {
};
_root.user.data.cash = _root.cash;
_root.user.data.energy = _root.energy;
_root.user.data.stamina = _root.stamina;
_root.user.data.st_headshots = _root.st_headshots;
_root.user.data.lvl = _root.lvl;
_root.user.data.billboard = _root.billboard;
_root.user.data.bonus_1 = _root.bonus_1;
_root.user.data.bonus_2 = _root.bonus_2;
_root.user.data.bonus_3 = _root.bonus_3;
_root.user.data.bonus_4 = _root.bonus_4;
_root.user.data.bonus_5 = _root.bonus_5;
_root.user.data.bonus_6 = _root.bonus_6;
_root.user.data.ac_1 = _root.ac_1;
_root.user.data.ac_2 = _root.ac_2;
_root.user.data.ac_3 = _root.ac_3;
_root.user.data.ac_4 = _root.ac_4;
_root.user.data.ac_5 = _root.ac_5;
_root.user.data.ac_6 = _root.ac_6;
_root.user.data.wp_1 = _root.wp_1;
_root.user.data.wp_2 = _root.wp_2;
_root.user.data.wp_3 = _root.wp_3;
_root.user.data.wp_4 = _root.wp_4;
_root.user.data.wp_5 = _root.wp_5;
_root.user.data.wp_6 = _root.wp_6;
_root.user.data.wp_ammo_1 = _root.wp_ammo_1;
_root.user.data.wp_mag_1 = _root.wp_mag_1;
_root.user.data.wp_ammo_2 = _root.wp_ammo_2;
_root.user.data.wp_mag_2 = _root.wp_mag_2;
_root.user.data.wp_ammo_3 = _root.wp_ammo_3;
_root.user.data.wp_mag_3 = _root.wp_mag_3;
_root.user.data.wp_ammo_4 = _root.wp_ammo_4;
_root.user.data.wp_mag_4 = _root.wp_mag_4;
_root.user.data.wp_ammo_5 = _root.wp_ammo_5;
_root.user.data.wp_mag_5 = _root.wp_mag_5;
_root.user.data.wp_ammo_6 = _root.wp_ammo_6;
_root.user.data.wp_mag_6 = _root.wp_mag_6;
_root.user.data.user.flush();
if (_root.from_gameplay == 2) {
_root.from_gameplay = 1;
gotoAndStop (40);
} else {
gotoAndStop (51);
}
Frame 45
_quality = "high";
_root.energy = 100;
Mouse.show();
stop();
onEnterFrame = function () {
};
Instance of Symbol 714 MovieClip "menuboxx" in Frame 45
onClipEvent (load) {
_visible = false;
}
Frame 51
cashb = cash;
wave_cleared_go = 1;
camera_speed = 0.12;
zoomed = 1.2;
fixe = 1;
canshot = 2;
shot = 1;
wp = 1;
energy = energy + stamina;
canmove = 2;
touchemur = 2;
side = "L";
speed = 12;
deads = 0;
fumee_nb = 1;
bullet_nb = 1;
firingspeed_timer = 0;
en_1 = 1;
en_2 = 1;
en_3 = 1;
en_4 = 1;
en_5 = 1;
en_6 = 1;
en_7 = 1;
en_8 = 1;
en_9 = 1;
en_10 = 1;
en_11 = 1;
en_12 = 1;
en_13 = 1;
en_14 = 1;
en_15 = 1;
en_16 = 1;
en_17 = 1;
en_18 = 1;
en_19 = 1;
en_20 = 1;
en_21 = 1;
en_22 = 1;
en_23 = 1;
en_24 = 1;
en_25 = 1;
en_26 = 1;
en_27 = 1;
en_28 = 1;
en_cant_1 = 1;
en_cant_2 = 1;
en_cant_3 = 1;
en_cant_4 = 1;
en_cant_5 = 1;
en_cant_6 = 1;
en_cant_7 = 1;
en_cant_8 = 1;
en_cant_9 = 1;
en_cant_10 = 1;
en_cant_11 = 1;
en_cant_12 = 1;
en_cant_13 = 1;
en_cant_14 = 1;
en_cant_15 = 1;
en_cant_16 = 1;
en_cant_17 = 1;
en_cant_18 = 1;
en_cant_19 = 1;
en_cant_20 = 1;
en_cant_21 = 1;
en_cant_22 = 1;
en_cant_23 = 1;
en_cant_24 = 1;
en_cant_25 = 1;
en_cant_26 = 1;
en_cant_27 = 1;
en_cant_28 = 1;
wich_lvl_plan = random(7) + 1;
helicogo = 1;
if (cheat_1 == 2) {
speed = speed * 2;
}
if (cheat_3 == 2) {
cnt.bieber._xscale = 50;
cnt.bieber._yscale = 50;
}
Mouse.hide();
var isMouseDown = false;
onMouseDown = function () {
isMouseDown = true;
};
onMouseUp = function () {
isMouseDown = false;
};
_quality = "medium";
stop();
onEnterFrame = function () {
power = eval ((("wp_power_" + wp) + "_") + eval ("wp_" + wp));
firingspeed = eval ((("wp_firingspeed_" + wp) + "_") + eval ("wp_" + wp));
permag = eval ((("wp_permag_" + wp) + "_") + eval ("wp_" + wp));
reloadtime = eval ((("wp_reloadtime_" + wp) + "_") + eval ("wp_" + wp));
recoil = eval ((("wp_recoil_" + wp) + "_") + eval ("wp_" + wp));
if ((((isMouseDown && (canshot == 2)) && (reload != 2)) && (touchemur != 2)) && (firingspeed_timer == 0)) {
if (ammo != 0) {
shot = 2;
cnt.bieber.brastire.boxx.boxx.boxx.gotoAndPlay(2);
Mouse.hide();
firingspeed_timer = firingspeed;
cnt.miree._y = cnt.miree._y - recoil;
if (_root.wp != 2) {
cnt.miree.boxx.gotoAndPlay(2);
Set("wp_ammo_" + wp, eval ("wp_ammo_" + wp) - 1);
} else {
cnt.miree.boxx.gotoAndPlay(21);
Set("wp_ammo_" + wp, eval ("wp_ammo_" + wp) - 2);
}
interr.energybar.ammo.boxx.gotoAndPlay(2);
if ((cnt.bieber._currentframe >= 91) && (cnt.bieber._currentframe <= 165)) {
cnt.bieber.gotoAndPlay(151);
}
snd.weapon.gotoAndPlay(wp * 2);
Set(("cnt.b_" + bullet_nb) + "._x", cnt.bieber._x);
Set(("cnt.b_" + bullet_nb) + "._y", cnt.bieber._y - 200);
eval ("cnt.b_" + bullet_nb).gotoAndStop(2);
eval ("cnt.b_" + bullet_nb).boxx.gotoAndStop(wp);
bullet_nb = bullet_nb + 1;
if (bullet_nb == 51) {
bullet_nb = 1;
}
}
}
if (firingspeed_timer != 0) {
firingspeed_timer = firingspeed_timer - 1;
}
if (Key.isDown(32)) {
if (key32released == 2) {
key32released = 1;
if (((reload != 2) && (eval ("wp_ammo_" + wp) != permag)) && (mag != 0)) {
reload = 2;
reload_timer = Math.round((reloadtime * 50) * 0.5);
reload_timer_ini = reload_timer;
}
}
} else {
key32released = 2;
}
if (reload == 2) {
if (reload_timer != 0) {
reload_timer = reload_timer - 1;
} else {
if ((eval ("wp_mag_" + wp) - (permag - eval ("wp_ammo_" + wp))) >= 0) {
Set("wp_mag_" + wp, eval ("wp_mag_" + wp) - (permag - eval ("wp_ammo_" + wp)));
Set("wp_ammo_" + wp, eval ("wp_ammo_" + wp) + (permag - eval ("wp_ammo_" + wp)));
} else {
Set("wp_ammo_" + wp, eval ("wp_ammo_" + wp) + eval ("wp_mag_" + wp));
Set("wp_mag_" + wp, 0);
}
canshot = 2;
reload = 1;
}
}
ammo = eval ("wp_ammo_" + wp);
mag = eval ("wp_mag_" + wp);
ammo_aff = eval ("wp_ammo_" + wp) + eval ("wp_mag_" + wp);
interr.energybar.gotoAndStop(wp);
interr.energybar.ammo.gotoAndStop(ammo + 1);
cnt.miree.gotoAndStop(2);
if (touchemur == 2) {
cnt.miree.gotoAndStop(3);
} else {
cnt.miree.gotoAndStop(2);
}
if (wp_ammo_2 < 0) {
wp_ammo_2 = 0;
}
if (canmove == 2) {
if ((!Key.isDown(65)) && (!Key.isDown(68))) {
if (touchemur == 2) {
if ((cnt.bieber._currentframe < 1) || (cnt.bieber._currentframe > 50)) {
cnt.bieber.gotoAndPlay(1);
}
} else if ((cnt.bieber._currentframe < 91) || (cnt.bieber._currentframe > 165)) {
cnt.bieber.gotoAndPlay(91);
}
} else if (Key.isDown(65) && (Key.isDown(68))) {
if (touchemur == 2) {
if ((cnt.bieber._currentframe < 1) || (cnt.bieber._currentframe > 50)) {
cnt.bieber.gotoAndPlay(1);
}
} else if ((cnt.bieber._currentframe < 91) || (cnt.bieber._currentframe > 150)) {
cnt.bieber.gotoAndPlay(91);
}
} else {
if (Key.isDown(65)) {
side = "L";
cnt.bieber._xscale = 100;
if (cheat_3 == 2) {
cnt.bieber._xscale = 50;
}
if ((touchemur == 2) && (helicogo != 5)) {
cnt.bieber._x = cnt.bieber._x - (speed * 0.6);
if ((cnt.bieber._currentframe < 51) || (cnt.bieber._currentframe > 90)) {
cnt.bieber.gotoAndPlay(51);
}
} else {
cnt.bieber._x = cnt.bieber._x - speed;
if ((cnt.bieber._currentframe < 201) || (cnt.bieber._currentframe > 225)) {
cnt.bieber.gotoAndPlay(201);
}
}
}
if (Key.isDown(68)) {
side = "R";
cnt.bieber._xscale = -100;
if (cheat_3 == 2) {
cnt.bieber._xscale = -50;
}
if ((touchemur == 2) && (helicogo != 5)) {
cnt.bieber._x = cnt.bieber._x + (speed * 0.6);
if ((cnt.bieber._currentframe < 51) || (cnt.bieber._currentframe > 90)) {
cnt.bieber.gotoAndPlay(51);
}
} else {
cnt.bieber._x = cnt.bieber._x + speed;
if ((cnt.bieber._currentframe < 201) || (cnt.bieber._currentframe > 225)) {
cnt.bieber.gotoAndPlay(201);
}
}
}
}
}
if (cnt.bieber._x < 420) {
cnt.bieber._x = 420;
}
if (cnt.bieber._x > 2320) {
cnt.bieber._x = 2320;
}
if (cnt.bieber.brastire.boxx.boxx.boxx._currentframe != 1) {
if (wp == 1) {
cnt.bieber.brastire._visible = true;
cnt.bieber.arm1._visible = true;
cnt.bieber.arm2._visible = true;
cnt.bieber.arm3._visible = true;
cnt.bieber.arm4._visible = false;
cnt.bieber.arm5._visible = false;
cnt.bieber.arm6._visible = false;
}
if (wp == 2) {
cnt.bieber.brastire._visible = true;
cnt.bieber.arm1._visible = false;
cnt.bieber.arm2._visible = false;
cnt.bieber.arm3._visible = false;
cnt.bieber.arm4._visible = false;
cnt.bieber.arm5._visible = false;
cnt.bieber.arm6._visible = false;
}
if (wp == 3) {
cnt.bieber.brastire._visible = true;
cnt.bieber.arm1._visible = true;
cnt.bieber.arm2._visible = true;
cnt.bieber.arm3._visible = true;
cnt.bieber.arm4._visible = false;
cnt.bieber.arm5._visible = false;
cnt.bieber.arm6._visible = false;
}
if (wp == 4) {
cnt.bieber.brastire._visible = true;
cnt.bieber.arm1._visible = true;
cnt.bieber.arm2._visible = true;
cnt.bieber.arm3._visible = true;
cnt.bieber.arm4._visible = false;
cnt.bieber.arm5._visible = false;
cnt.bieber.arm6._visible = false;
}
if (wp == 5) {
cnt.bieber.brastire._visible = true;
cnt.bieber.arm1._visible = true;
cnt.bieber.arm2._visible = true;
cnt.bieber.arm3._visible = true;
cnt.bieber.arm4._visible = false;
cnt.bieber.arm5._visible = false;
cnt.bieber.arm6._visible = false;
}
if (wp == 6) {
cnt.bieber.brastire._visible = true;
cnt.bieber.arm1._visible = false;
cnt.bieber.arm2._visible = false;
cnt.bieber.arm3._visible = false;
cnt.bieber.arm4._visible = false;
cnt.bieber.arm5._visible = false;
cnt.bieber.arm6._visible = false;
}
} else {
if (wp == 1) {
cnt.bieber.brastire._visible = false;
cnt.bieber.arm1._visible = true;
cnt.bieber.arm2._visible = true;
cnt.bieber.arm3._visible = true;
cnt.bieber.arm4._visible = true;
cnt.bieber.arm5._visible = true;
cnt.bieber.arm6._visible = true;
}
if (wp == 2) {
cnt.bieber.brastire._visible = false;
cnt.bieber.arm1._visible = true;
cnt.bieber.arm2._visible = true;
cnt.bieber.arm3._visible = true;
cnt.bieber.arm4._visible = true;
cnt.bieber.arm5._visible = true;
cnt.bieber.arm6._visible = true;
}
if (wp == 3) {
cnt.bieber.brastire._visible = false;
cnt.bieber.arm1._visible = true;
cnt.bieber.arm2._visible = true;
cnt.bieber.arm3._visible = true;
cnt.bieber.arm4._visible = true;
cnt.bieber.arm5._visible = true;
cnt.bieber.arm6._visible = true;
}
if (wp == 4) {
cnt.bieber.brastire._visible = false;
cnt.bieber.arm1._visible = true;
cnt.bieber.arm2._visible = true;
cnt.bieber.arm3._visible = true;
cnt.bieber.arm4._visible = true;
cnt.bieber.arm5._visible = true;
cnt.bieber.arm6._visible = true;
}
if (wp == 5) {
cnt.bieber.brastire._visible = false;
cnt.bieber.arm1._visible = true;
cnt.bieber.arm2._visible = true;
cnt.bieber.arm3._visible = true;
cnt.bieber.arm4._visible = true;
cnt.bieber.arm5._visible = true;
cnt.bieber.arm6._visible = true;
}
if (wp == 6) {
cnt.bieber.brastire._visible = true;
cnt.bieber.arm1._visible = false;
cnt.bieber.arm2._visible = false;
cnt.bieber.arm3._visible = false;
cnt.bieber.arm4._visible = false;
cnt.bieber.arm5._visible = false;
cnt.bieber.arm6._visible = false;
}
}
if (fumee_go == 2) {
fumee_go = 1;
Set(("cnt.t" + fumee_nb) + "._x", cnt.bieber._x);
Set(("cnt.t" + fumee_nb) + "._y", cnt.bieber._y);
eval ("cnt.t" + fumee_nb).gotoAndPlay(2);
fumee_nb = fumee_nb + 1;
if (fumee_nb == 7) {
fumee_nb = 1;
}
}
if (fumee_go == 3) {
fumee_go = 1;
Set(("cnt.t" + fumee_nb) + "._x", cnt.bieber._x);
Set(("cnt.t" + fumee_nb) + "._y", cnt.bieber._y);
Set(("cnt.t" + fumee_nb) + ".no_rocks", 2);
eval ("cnt.t" + fumee_nb).gotoAndPlay(2);
fumee_nb = fumee_nb + 1;
if (fumee_nb == 7) {
fumee_nb = 1;
}
}
if (fixe != 2) {
if ((cnt._x - 10) > (400 - cnt.bieber._x)) {
cnt._x = cnt._x - (((cnt._x - 10) - (400 - cnt.bieber._x)) * camera_speed);
}
if ((cnt._x + 10) < (400 - cnt.bieber._x)) {
cnt._x = cnt._x + (((400 - cnt.bieber._x) - (cnt._x + 10)) * camera_speed);
}
if ((cnt._y - 10) > (400 - cnt.bieber._y)) {
cnt._y = cnt._y - (((cnt._y - 10) - (400 - cnt.bieber._y)) * camera_speed);
}
if ((cnt._y + 10) < (400 - cnt.bieber._y)) {
cnt._y = cnt._y + (((400 - cnt.bieber._y) - (cnt._y + 10)) * camera_speed);
}
cnt._y = cnt._y + 15;
}
cnt.gotoAndStop(lvl);
plan_2.gotoAndStop(wich_lvl_plan);
plan_3.gotoAndStop(wich_lvl_plan);
plan_2._x = (((cnt.bieber._x - 420) * 920) / 1900) * -1;
plan_3._x = (((cnt.bieber._x - 420) * 460) / 1900) * -1;
plan_4._x = (((cnt.bieber._x - 420) * 260) / 1900) * -1;
if (shake != 0) {
shakeb = shake;
shake = 0;
shake_stade = 8;
}
if (shake_stade != 0) {
shake_stade = shake_stade - 1;
cnt._x = cnt._x + (random(shakeb * 2) - shakeb);
cnt._y = cnt._y + (random(shakeb * 2) - shakeb);
shakeb = shakeb * 0.95;
}
if (cheat_2 == 2) {
energy = 200;
}
if (st_headshots >= 101) {
if (_root.ac_3 != 2) {
_root.ac_3 = 2;
_root.achiv_done_go = 2;
_root.achiv_done = 3;
}
}
if (got2go == 2) {
got2go = 1;
_root.lvl = _root.lvl + 1;
if (_root.lvl == 21) {
_root.lvl = 20;
_root.wingame = 2;
}
wave_cleared_go = 1;
from_gameplay = 2;
gotoAndStop (41);
}
if (got2go == 4) {
got2go = 1;
gotoAndPlay (50);
}
if (energy <= 0) {
energy = 25;
stopAllSounds();
gotoAndStop (45);
}
if (wp_1 == 1) {
no_ammo_1 = 2;
} else if ((wp_ammo_1 == 0) && (wp_mag_1 == 0)) {
no_ammo_1 = 2;
} else {
no_ammo_1 = 1;
}
if (wp_2 == 1) {
no_ammo_2 = 2;
} else if ((wp_ammo_2 == 0) && (wp_mag_2 == 0)) {
no_ammo_2 = 2;
} else {
no_ammo_2 = 1;
}
if (wp_3 == 1) {
no_ammo_3 = 2;
} else if ((wp_ammo_3 == 0) && (wp_mag_3 == 0)) {
no_ammo_3 = 2;
} else {
no_ammo_3 = 1;
}
if (wp_4 == 1) {
no_ammo_4 = 2;
} else if ((wp_ammo_4 == 0) && (wp_mag_4 == 0)) {
no_ammo_4 = 2;
} else {
no_ammo_4 = 1;
}
if (wp_5 == 1) {
no_ammo_5 = 2;
} else if ((wp_ammo_5 == 0) && (wp_mag_5 == 0)) {
no_ammo_5 = 2;
} else {
no_ammo_5 = 1;
}
if (wp_6 == 1) {
no_ammo_6 = 2;
} else if ((wp_ammo_6 == 0) && (wp_mag_4 == 0)) {
no_ammo_6 = 2;
} else {
no_ammo_6 = 1;
}
if ((((((no_ammo_1 == 2) && (no_ammo_2 == 2)) && (no_ammo_3 == 2)) && (no_ammo_4 == 2)) && (no_ammo_5 == 2)) && (no_ammo_6 == 2)) {
energy = 0;
wp_mag_1 = 300;
wp_ammo_1 = 10;
noammo = 2;
}
};
Instance of Symbol 427 MovieClip "diadd" in Frame 51
onClipEvent (load) {
boxx.gotoAndStop(_root.lavr);
boxx2.boxx.gotoAndStop(_root.lavr);
if (_root.lavr != 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
boxx2.gotoAndStop(boxx.shade + 1);
}
Symbol 5 MovieClip Frame 1
_root.stop();
_root.PercentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (_root.PercentLoaded != 100) {
setProperty(bar, _xscale , _root.PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 5 MovieClip Frame 2
gotoAndPlay (1);
Symbol 5 MovieClip Frame 3
_root.play();
Symbol 13 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.PercentLoaded + 1);
};
Symbol 1257 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local23 = 11000;
var _local19 = options.ad_timeout;
if (options.skip) {
_local19 = 0;
}
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local22 = options.color;
delete options.color;
var _local20 = options.background;
delete options.background;
var _local24 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local20);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local22);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local24, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local23;
chk.ad_timeout = _local19;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
mochi.as2.MochiAd.containerNotify(clip, {id:"hostLoadPcnt", pcnt:_local2}, clip._mochiad._containerLCName);
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local10 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local10);
var clip = options.clip;
var _local9 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var _local3 = clip._mochiad;
_local3.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local11 = _local5[0];
var _local8 = _local5[1];
_local3._x = _local11 * 0.5;
_local3._y = _local8 * 0.5;
var chk = _local3.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local9;
chk.started = getTimer();
chk.showing = false;
_local3.lc.adLoaded = options.ad_loaded;
_local3.lc.adSkipped = options.ad_skipped;
_local3.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
_local3.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local21 = false;
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local12 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local12);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local6 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local6._mochiad_loaded) {
return(null);
}
var _local11 = options.depth;
delete options.depth;
var mc = _local6.createEmptyMovieClip("_mochiad", _local11);
var _local10 = _getRes(options);
options.res = (_local10[0] + "x") + _local10[1];
options.server = options.server + options.id;
delete options.id;
_local6._mochiad_loaded = true;
if (_local6._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = mc.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local9 = _local4.server;
delete _local4.server;
var _local13 = _allowDomains(_local9);
mc.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new Object();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = mc;
_local5.name = _local8;
_local5.hostname = _local13;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
mc.lc = _local5;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
_local4.lc = _local8;
_local4.st = getTimer();
if (!options.skip) {
_local4.loadMovie(_local9 + ".swf", "POST");
}
return(mc);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
containerNotify(clip, {id:"unload"}, clip._mochiad._containerLCName);
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
containerRpcResult(clip, callbackID, _local4, clip._mochiad._containerLCName);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
containerRpcResult(clip, callbackID, _local3, clip._mochiad._containerLCName);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
static function containerNotify(clip, args, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.notify) {
_local1.notify(args);
} else {
new LocalConnection().send(lcName, "notify", args);
}
}
static function containerRpcResult(clip, callbackID, val, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.rpcResult) {
_local1.rpcResult(callbackID, val);
} else {
new LocalConnection().send(lcName, "rpcResult", callbackID, val);
}
}
}
Symbol 1258 MovieClip [__Packages.mochi.as2.MochiSync] Frame 0
class mochi.as2.MochiSync
{
var _syncContainer;
function MochiSync () {
_syncContainer = {};
}
function getProp(name) {
return(_syncContainer[name]);
}
function setProp(name, value) {
if (_syncContainer[name] == value) {
return(undefined);
}
_syncContainer[name] = value;
mochi.as2.MochiServices.send("sync_propUpdate", {name:name, value:value});
}
function triggerEvent(eventType, args) {
switch (eventType) {
case SYNC_REQUEST :
mochi.as2.MochiServices.send("sync_syncronize", _syncContainer);
break;
case SYNC_PROPERTY :
_syncContainer[args.name] = args.value;
}
}
static var SYNC_REQUEST = "SyncRequest";
static var SYNC_PROPERTY = "UpdateProperty";
}
Symbol 1259 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.8 as2");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local6 = "_mochiservices_com_" + id;
var _local5 = new MovieClipLoader();
var _local3 = {};
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servURL) {
_servURL = urlOptions().servURL;
}
var _local4 = _servURL + _services;
if (urlOptions().servicesURL) {
_local4 = urlOptions().servicesURL;
}
allowDomains(_local4);
_clip = clip.createEmptyMovieClip(_local6, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
if (_local3.waitInterval != null) {
clearInterval(_local3.waitInterval);
}
_local3.onLoadError = loadError;
_local3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_local3.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
_local3.startTime = getTimer();
_local3.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_local3.waitInterval = setInterval(_local3, "wait", 1000);
_local5.addListener(_local3);
_local5.loadClip((((((_local4 + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options)) + "&api_version=") + getVersion(), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function loadError(target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
disconnect();
onError.apply(null, [errorCode]);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case "events" :
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case "coins" :
mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args);
break;
case "sync" :
mochi.as2.MochiServices.servicesSync.triggerEvent(pkg.event, pkg.args);
}
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function updateCopy(args) {
send("coins_updateCopy", args, null, null);
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
trace("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + methodName);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
var _local6;
if (_root._url.indexOf("mochiad_options") != -1) {
var _local2 = (_root._url.indexOf("mochiad_options") + "mochiad_options".length) + 1;
_local6 = _root._url.substr(_local2, _root._url.length);
} else if (_root.mochiad_options) {
_local6 = _root.mochiad_options;
}
if (_local6) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://x.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static function setContainer(clip) {
}
static function stayOnTop(clip) {
}
static var _servURL = "http://www.mochiads.com/static/lib/services/";
static var _services = "services.swf";
static var _mochiLC = "MochiLC.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
static var servicesSync = new mochi.as2.MochiSync();
}
Symbol 1260 MovieClip [__Packages.mochi.as2.MochiEventDispatcher] Frame 0
class mochi.as2.MochiEventDispatcher
{
var eventTable;
function MochiEventDispatcher () {
eventTable = {};
}
function buildDelegate(thisObject, thatObject) {
var _local2 = {thisObject:thisObject, thatObject:thatObject};
if (thatObject != undefined) {
var funct = ((typeof(thatObject) == "string") ? (thisObject[thatObject]) : (thatObject));
_local2.delegate = function (args) {
funct.call(thisObject, args);
};
} else {
_local2.delegate = thisObject;
}
return(_local2);
}
function compareDelegate(d_A, d_B) {
if ((d_A.thisObject != d_B.thisObject) || (d_A.thatObject != d_B.thatObject)) {
return(false);
}
return(true);
}
function addEventListener(event, thisObject, thatObject) {
removeEventListener(event, thisObject, thatObject);
eventTable[event].push(buildDelegate(thisObject, thatObject));
}
function removeEventListener(event, thisObject, thatObject) {
var _local3 = buildDelegate(thisObject, thatObject);
if (eventTable[event] == undefined) {
eventTable[event] = [];
return(undefined);
}
for (var _local4 in eventTable[event]) {
if (!compareDelegate(eventTable[event][_local4], _local3)) {
continue;
}
eventTable[event].splice(Number(_local4), 1);
}
}
function triggerEvent(event, args) {
if (eventTable[event] == undefined) {
return(undefined);
}
for (var _local4 in eventTable[event]) {
eventTable[event][_local4].delegate(args);
}
}
}
Symbol 1261 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0
class mochi.as2.MochiEvents
{
function MochiEvents () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function startSession(achievementID) {
mochi.as2.MochiServices.send("events_beginSession", {achievementID:achievementID}, null, null);
}
static function setNotifications(clip, style) {
var _local2 = {};
for (var _local3 in style) {
_local2[_local3] = style[_local3];
}
_local2.clip = clip;
mochi.as2.MochiServices.send("events_setNotifications", _local2, null, null);
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static function startPlay(tag) {
if (tag == undefined) {
tag = "gameplay";
}
mochi.as2.MochiServices.send("events_setRoundID", {tag:String(tag)}, null, null);
}
static function endPlay() {
mochi.as2.MochiServices.send("events_clearRoundID", null, null, null);
}
static function trackEvent(tag, value) {
mochi.as2.MochiServices.send("events_trackEvent", {tag:tag, value:value}, null, null);
}
static var ACHIEVEMENT_RECEIVED = "AchievementReceived";
static var ALIGN_TOP_LEFT = "ALIGN_TL";
static var ALIGN_TOP = "ALIGN_T";
static var ALIGN_TOP_RIGHT = "ALIGN_TR";
static var ALIGN_LEFT = "ALIGN_L";
static var ALIGN_CENTER = "ALIGN_C";
static var ALIGN_RIGHT = "ALIGN_R";
static var ALIGN_BOTTOM_LEFT = "ALIGN_BL";
static var ALIGN_BOTTOM = "ALIGN_B";
static var ALIGN_BOTTOM_RIGHT = "ALIGN_BR";
static var FORMAT_SHORT = "ShortForm";
static var FORMAT_LONG = "LongForm";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 1262 MovieClip [__Packages.mochi.as2.MochiSocial] Frame 0
class mochi.as2.MochiSocial
{
function MochiSocial () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showLoginWidget(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("coins_showLoginWidget", {options:options});
}
static function hideLoginWidget() {
mochi.as2.MochiServices.send("coins_hideLoginWidget");
}
static function requestLogin() {
mochi.as2.MochiServices.send("coins_requestLogin");
}
static function getUserInfo() {
mochi.as2.MochiServices.send("coins_getUserInfo");
}
static function saveUserProperties(properties) {
mochi.as2.MochiServices.send("coins_saveUserProperties", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var LOGGED_IN = "LoggedIn";
static var LOGGED_OUT = "LoggedOut";
static var LOGIN_SHOW = "LoginShow";
static var LOGIN_HIDE = "LoginHide";
static var LOGIN_SHOWN = "LoginShown";
static var PROFILE_SHOW = "ProfileShow";
static var PROFILE_HIDE = "ProfileHide";
static var PROPERTIES_SAVED = "PropertySaved";
static var WIDGET_LOADED = "WidgetLoaded";
static var USER_INFO = "UserInfo";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var PROPERTIES_SIZE = "PropertiesSize";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 20 Button
on (release) {
act = 2;
}
on (rollOver) {
act = 3;
gotoAndPlay (2);
}
on (rollOut) {
act = 4;
gotoAndPlay (26);
}
Symbol 21 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 25
gotoAndPlay (15);
Symbol 21 MovieClip Frame 28
gotoAndPlay (1);
Symbol 23 MovieClip Frame 140
stop();
Instance of Symbol 21 MovieClip in Symbol 23 MovieClip Frame 140
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndPlay(4);
}
}
Symbol 41 MovieClip Frame 67
stop();
Symbol 43 Button
on (release) {
getURL ("http://www.pyrozen.com/", "_blank");
}
on (keyPress "<Space>") {
_parent.play();
}
Symbol 48 MovieClip Frame 9
aa = random(2) + 1;
if (aa == 2) {
gotoAndPlay (1);
}
Symbol 48 MovieClip Frame 30
aa = random(2) + 1;
if (aa == 2) {
gotoAndPlay (11);
}
Instance of Symbol 48 MovieClip in Symbol 49 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
alphaa = 50;
alphaas = (random(3) + 1) / 2;
speed = random(12) + 3;
gotoAndPlay(random(30) + 1);
timing = random(50) + 1;
}
onClipEvent (enterFrame) {
if (timing > 0) {
timing = timing - 1;
}
if (timing == 0) {
timing = timing - 1;
_visible = true;
}
if (timing == -1) {
_x = (_x + (random(7) - 3));
_y = (_y - speed);
_alpha = Math.round(alphaa);
alphaa = alphaa - alphaas;
}
}
Symbol 62 MovieClip Frame 12
stop();
Symbol 63 MovieClip Frame 1
stopAllSounds();
Symbol 63 MovieClip Frame 236
_parent.play();
Symbol 67 MovieClip Frame 165
_parent.play();
Symbol 83 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 134
stop();
Symbol 104 Button
on (release) {
act = 2;
}
on (rollOver) {
act = 3;
gotoAndPlay (2);
}
on (rollOut) {
act = 4;
gotoAndPlay (21);
}
Symbol 111 MovieClip Frame 1
_alpha = (random(75) + 25);
aa = random(6) + 1;
if (aa == 1) {
gotoAndPlay (2);
}
if (aa == 2) {
gotoAndPlay (9);
}
if (aa == 3) {
gotoAndPlay (14);
}
if (aa == 4) {
gotoAndPlay (27);
}
if (aa == 5) {
gotoAndPlay (34);
}
if (aa == 6) {
gotoAndPlay (38);
}
Instance of Symbol 110 MovieClip in Symbol 111 MovieClip Frame 1
onClipEvent (load) {
_parent._x = _parent._x + (random(10) - 5);
_parent._y = _parent._y + (random(10) - 5);
_parent._xscale = random(75) + 200;
_parent._yscale = random(75) + 200;
}
Symbol 111 MovieClip Frame 8
gotoAndStop (1);
Symbol 111 MovieClip Frame 13
gotoAndStop (1);
Symbol 111 MovieClip Frame 26
gotoAndStop (1);
Symbol 111 MovieClip Frame 33
gotoAndStop (1);
Symbol 111 MovieClip Frame 38
gotoAndStop (1);
Symbol 111 MovieClip Frame 51
gotoAndStop (1);
Symbol 113 MovieClip Frame 9
aa = random(2) + 1;
if (aa == 2) {
gotoAndPlay (1);
}
Symbol 113 MovieClip Frame 30
aa = random(2) + 1;
if (aa == 2) {
gotoAndPlay (11);
}
Instance of Symbol 113 MovieClip in Symbol 114 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
alphaa = 50;
alphaas = (random(3) + 1) / 2;
speed = random(12) + 3;
gotoAndPlay(random(30) + 1);
timing = random(50) + 1;
}
onClipEvent (enterFrame) {
if (timing > 0) {
timing = timing - 1;
}
if (timing == 0) {
timing = timing - 1;
_visible = true;
}
if (timing == -1) {
_x = (_x + (random(7) - 3));
_y = (_y - speed);
_alpha = Math.round(alphaa);
alphaa = alphaa - alphaas;
}
}
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 20
gotoAndPlay (5);
Symbol 116 MovieClip Frame 40
gotoAndStop (1);
Symbol 116 MovieClip Frame 43
onEnterFrame = function () {
if (_currentframe == 43) {
if (timer != 0) {
timer = timer - 1;
} else {
gotoAndPlay (44);
}
}
};
Symbol 117 MovieClip Frame 50
stop();
Instance of Symbol 116 MovieClip in Symbol 117 MovieClip Frame 50
onClipEvent (load) {
txx = "New Game";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.lvl = 0;
_root.got2go = 2;
}
}
Instance of Symbol 116 MovieClip in Symbol 117 MovieClip Frame 50
onClipEvent (load) {
txx = "Load Game";
if (_root.user.data.lvl == undefined) {
gotoAndStop (41);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.got2go = 3;
}
}
Symbol 125 MovieClip Frame 1
stopAllSounds();
Symbol 125 MovieClip Frame 3
stop();
Instance of Symbol 200 MovieClip in Symbol 201 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (300);
}
Instance of Symbol 200 MovieClip in Symbol 201 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (300);
}
Symbol 223 MovieClip Frame 25
Symbol 253 MovieClip Frame 40
Symbol 424 MovieClip Frame 1
lavr_link = "http://www.neodelight.com";
shade = 1;
Symbol 424 MovieClip Frame 2
lavr_link = "http://www.andkon.com";
shade = 2;
Symbol 424 MovieClip Frame 3
lavr_link = "http://www.anyad.rulez.org";
shade = 1;
Symbol 424 MovieClip Frame 4
lavr_link = "http://www.girldressupgames.biz";
shade = 1;
Symbol 424 MovieClip Frame 5
lavr_link = "http://www.bringler.com";
shade = 1;
Symbol 424 MovieClip Frame 6
lavr_link = "http://www.bubblebox.com";
shade = 1;
Symbol 424 MovieClip Frame 7
lavr_link = "http://www.bunnygames.com";
shade = 1;
Symbol 424 MovieClip Frame 8
lavr_link = "http://www.dailyfreegames.com";
shade = 1;
Symbol 424 MovieClip Frame 9
lavr_link = "http://www.directgamez.com";
shade = 2;
Symbol 424 MovieClip Frame 10
lavr_link = "http://www.2flashgames.com";
shade = 2;
Symbol 424 MovieClip Frame 11
lavr_link = "http://www.flashninjaclan.com";
shade = 1;
Symbol 424 MovieClip Frame 12
lavr_link = "http://www.dailyaddictinggames.com/";
shade = 1;
Symbol 424 MovieClip Frame 13
lavr_link = "http://www.funny-games.biz";
shade = 1;
Symbol 424 MovieClip Frame 14
lavr_link = "http://www.gameitnow.com";
shade = 2;
Symbol 424 MovieClip Frame 15
lavr_link = "http://www.games1.com";
shade = 0;
Symbol 424 MovieClip Frame 16
lavr_link = "http://www.onjogos.com.br";
shade = 1;
Symbol 424 MovieClip Frame 17
lavr_link = "http://www.gamesfreak.net";
shade = 2;
Symbol 424 MovieClip Frame 18
lavr_link = "http://www.stoneagegames.com";
shade = 1;
Symbol 424 MovieClip Frame 19
lavr_link = "http://www.jarkey.net";
shade = 2;
Symbol 424 MovieClip Frame 20
lavr_link = "http://www.gamesgames.com/";
shade = 1;
Symbol 424 MovieClip Frame 21
lavr_link = "http://www.keepbusy.net";
shade = 1;
Symbol 424 MovieClip Frame 22
lavr_link = "http://www.microjogos.com";
shade = 1;
Symbol 424 MovieClip Frame 23
lavr_link = "http://www.minijuegos.com";
shade = 2;
Symbol 424 MovieClip Frame 24
lavr_link = "http://www.oyunskor.com/";
shade = 1;
Symbol 424 MovieClip Frame 25
lavr_link = "http://www.mostfungames.com";
shade = 2;
Symbol 424 MovieClip Frame 26
lavr_link = "http://www.gameshot.org";
shade = 1;
Symbol 424 MovieClip Frame 27
lavr_link = "http://www.online-games-zone.com/";
shade = 2;
Symbol 424 MovieClip Frame 28
lavr_link = "http://www.puffgames.com";
shade = 2;
Symbol 424 MovieClip Frame 29
lavr_link = "http://www.spele.nl";
shade = 1;
Symbol 424 MovieClip Frame 30
lavr_link = "http://www.t45ol.com";
shade = 2;
Symbol 424 MovieClip Frame 31
lavr_link = "http://www.thegamesonline.com/";
shade = 1;
Symbol 424 MovieClip Frame 32
lavr_link = "http://www.ultimatearcade.com";
shade = 1;
Symbol 424 MovieClip Frame 33
lavr_link = "http://www.girlgames4u.com/";
shade = 1;
Symbol 424 MovieClip Frame 34
lavr_link = "http://www.gamesfree.ca/";
shade = 0;
Symbol 424 MovieClip Frame 35
lavr_link = "http://www.stickpage.com/";
shade = 1;
Symbol 424 MovieClip Frame 36
lavr_link = "http://www.gamespond.net/";
shade = 2;
Symbol 424 MovieClip Frame 37
lavr_link = "http://www.flashgames.it/";
shade = 1;
Symbol 424 MovieClip Frame 38
lavr_link = "http://www.gamesgirl.ca/";
shade = 1;
Symbol 424 MovieClip Frame 39
lavr_link = "http://www.hallpass.com/";
shade = 2;
Symbol 424 MovieClip Frame 40
lavr_link = "http://www.games501.com/";
shade = 1;
Symbol 424 MovieClip Frame 41
lavr_link = "http://www.benz.be";
shade = 2;
Symbol 424 MovieClip Frame 42
lavr_link = "http://www.net-games.co.il/";
shade = 1;
Symbol 424 MovieClip Frame 43
lavr_link = "http://www.bgames.com";
shade = 1;
Symbol 424 MovieClip Frame 44
lavr_link = "http://www.pinkyarcade.com/";
shade = 1;
Symbol 424 MovieClip Frame 45
lavr_link = "http://www.komikler.com/index.php";
shade = 2;
Symbol 424 MovieClip Frame 46
lavr_link = "http://www.twizl.com/";
shade = 1;
Symbol 424 MovieClip Frame 47
lavr_link = "http://www.a10.com/";
shade = 1;
Symbol 424 MovieClip Frame 48
lavr_link = "http://www.bonniegames.com/";
shade = 1;
Symbol 424 MovieClip Frame 49
lavr_link = "http://www.ug2.com/";
shade = 0;
Symbol 424 MovieClip Frame 50
lavr_link = "http://www.agame.com";
shade = 1;
Symbol 424 MovieClip Frame 51
lavr_link = "http://www.gamesclub.com/";
shade = 1;
Symbol 424 MovieClip Frame 52
lavr_link = "http://www.killhours.com/";
shade = 1;
Symbol 424 MovieClip Frame 53
lavr_link = "http://www.flasharcadegamessite.com/";
shade = 1;
Symbol 424 MovieClip Frame 54
lavr_link = "http://www.roundgames.com/";
shade = 2;
Symbol 424 MovieClip Frame 55
lavr_link = "http://www.arcadegangsta.com/";
shade = 1;
Symbol 424 MovieClip Frame 56
lavr_link = "http://www.gamebusted.com/";
shade = 0;
Symbol 424 MovieClip Frame 57
lavr_link = "http://www.flash-games.net/";
shade = 1;
Symbol 424 MovieClip Frame 58
lavr_link = "http://www.flash-game.net/";
shade = 1;
Symbol 424 MovieClip Frame 59
lavr_link = "http://www.kingofgames.net";
shade = 1;
Symbol 424 MovieClip Frame 60
lavr_link = "http://www.playhub.com/";
shade = 0;
Symbol 424 MovieClip Frame 61
lavr_link = "http://www.123spill.no/";
shade = 1;
Symbol 424 MovieClip Frame 62
lavr_link = "http://www.dailygames.com/";
shade = 1;
Symbol 424 MovieClip Frame 63
lavr_link = "http://www.octogames.com/";
shade = 2;
Symbol 424 MovieClip Frame 64
lavr_link = "http://www.ugotgames.com/";
shade = 1;
Symbol 424 MovieClip Frame 65
lavr_link = "http://www.fupa.com/";
shade = 1;
Symbol 424 MovieClip Frame 66
lavr_link = "http://www.kibagames.com/";
shade = 0;
Symbol 424 MovieClip Frame 67
lavr_link = "http://www.kraloyun.com/";
shade = 0;
Symbol 424 MovieClip Frame 68
lavr_link = "http://www.spielaffe.de/";
shade = 0;
Symbol 424 MovieClip Frame 69
lavr_link = "http://www.39games.com";
shade = 2;
Symbol 424 MovieClip Frame 70
lavr_link = "http://www.bijuegos.com";
shade = 0;
Symbol 424 MovieClip Frame 71
lavr_link = "http://www.mofunzone.com";
shade = 2;
Symbol 424 MovieClip Frame 72
lavr_link = "http://www.freegamespy.com/";
shade = 2;
Symbol 424 MovieClip Frame 73
lavr_link = "http://www.jogos10.com";
shade = 0;
Symbol 424 MovieClip Frame 74
lavr_link = "http://www.juegos10.com";
shade = 0;
Symbol 424 MovieClip Frame 75
lavr_link = "http://flash.178.com/";
shade = 0;
Symbol 424 MovieClip Frame 76
lavr_link = "http://www.papajogos.com.br";
shade = 0;
Symbol 424 MovieClip Frame 77
lavr_link = "http://www.arcadelots.com/";
shade = 0;
Symbol 424 MovieClip Frame 78
lavr_link = "http://www.minigamers.com/";
shade = 0;
Symbol 424 MovieClip Frame 79
lavr_link = "http://www.stickpage.com";
shade = 0;
Symbol 424 MovieClip Frame 80
lavr_link = "http://www.y8.com/";
shade = 1;
Symbol 424 MovieClip Frame 81
lavr_link = "http://www.y3.com/";
shade = 1;
Symbol 424 MovieClip Frame 83
lavr_link = "http://www.videobash.com/";
shade = 0;
Symbol 425 MovieClip Frame 1
stop();
Symbol 426 Button
on (release) {
getURL (boxx.lavr_link, "_blank");
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (21);
}
Symbol 427 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 20
stop();
Symbol 432 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.wp_6);
};
Symbol 444 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.wp_4);
};
Symbol 447 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.wp_2);
};
Symbol 450 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.wp_5);
};
Symbol 453 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.wp_3);
};
Symbol 455 MovieClip Frame 1
stop();
Symbol 464 MovieClip Frame 1
aa = random(150) + 1;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
gotoAndStop (2);
}
if (aa != 0) {
aa = aa - 1;
}
};
Symbol 464 MovieClip Frame 2
aa = random(150) + 1;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
gotoAndStop (1);
}
if (aa != 0) {
aa = aa - 1;
}
};
Symbol 467 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 1
stop();
Instance of Symbol 467 MovieClip in Symbol 471 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_parent.bouche._currentframe);
}
Instance of Symbol 470 MovieClip in Symbol 471 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_parent.bouche._currentframe);
}
Symbol 476 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(Math.round((_root.energy * 5) / 100) + 1);
};
Instance of Symbol 116 MovieClip in Symbol 481 MovieClip Frame 1
onClipEvent (load) {
txx = "";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.got2go = 2;
}
}
Symbol 491 MovieClip Frame 1
stop();
Symbol 503 MovieClip Frame 56
stop();
Symbol 536 Button
on (release) {
act = 2;
}
on (rollOver) {
act = 3;
gotoAndPlay (2);
}
on (rollOut) {
act = 4;
gotoAndPlay (6);
}
Symbol 537 MovieClip Frame 1
stop();
Symbol 537 MovieClip Frame 5
stop();
Symbol 538 Button
on (release) {
act = 2;
}
on (rollOver) {
act = 3;
gotoAndPlay (2);
}
on (rollOut) {
act = 4;
gotoAndPlay (21);
}
Symbol 539 MovieClip Frame 1
stop();
Symbol 539 MovieClip Frame 20
gotoAndPlay (5);
Symbol 539 MovieClip Frame 40
gotoAndStop (1);
Symbol 540 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (produit_typee == 1) {
gotoAndStop (1);
stade_produit = eval ("_root.wp_" + produit);
price = eval ((("_root.wp_price_" + produit) + "_") + stade_produit);
if (stade_produit != 5) {
price_aff = price + " $";
} else {
price_aff = "-- MAX --";
}
produit_aff = eval ("_root.wp_titre_" + produit);
boxx.gotoAndStop(produit);
if (_root.cash < price) {
bt_buy.gotoAndStop(41);
bt_upgrade.gotoAndStop(41);
} else if (stade_produit == 1) {
bt_upgrade.gotoAndStop(41);
} else if (stade_produit == 5) {
bt_buy.gotoAndStop(41);
bt_upgrade.gotoAndStop(41);
} else {
bt_buy.gotoAndStop(41);
}
}
if (upgrade_go == 2) {
upgrade_go = 1;
_parent.price = price;
_parent.gotoAndStop(3);
}
};
Instance of Symbol 537 MovieClip "btg" in Symbol 540 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 3) {
act = 1;
_parent._parent.produit = _parent.produit;
}
}
Instance of Symbol 539 MovieClip "bt_buy" in Symbol 540 MovieClip Frame 1
onClipEvent (load) {
txx = "Buy";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.upgrade_or_buy = 1;
_parent.upgrade_go = 2;
}
if (act == 3) {
act = 1;
_parent._parent.produit = _parent.produit;
_parent.btg.gotoAndStop(5);
}
if (act == 4) {
act = 1;
_parent.btg.gotoAndStop(1);
}
}
Instance of Symbol 539 MovieClip "bt_upgrade" in Symbol 540 MovieClip Frame 1
onClipEvent (load) {
txx = "Upgrade";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.upgrade_or_buy = 2;
_parent.upgrade_go = 2;
}
if (act == 3) {
act = 1;
_parent._parent.produit = _parent.produit;
_parent.btg.gotoAndStop(5);
}
if (act == 4) {
act = 1;
_parent.btg.gotoAndStop(1);
}
}
Symbol 549 MovieClip Frame 1
stop();
stop();
Symbol 562 MovieClip Frame 44
stop();
Symbol 563 MovieClip Frame 1
txx = ("cost : " + _parent.price) + " $";
boxx.gotoAndStop(_parent.upgrade_or_buy);
Symbol 565 MovieClip Frame 32
if (_parent.upgrade_or_buy == 1) {
_parent._parent.gotoAndStop(1);
_parent.gotoAndStop(1);
} else {
_parent.gotoAndStop(2);
}
Instance of Symbol 583 MovieClip in Symbol 598 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent.produit);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent.produit);
}
Instance of Symbol 583 MovieClip in Symbol 603 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent.produit);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent.produit);
}
Symbol 606 MovieClip Frame 1
stop();
onEnterFrame = function () {
boxx.gotoAndStop(produit);
price_aff = price + " $";
if (_root.cash < price) {
bt_buy.gotoAndStop(41);
}
if (eval ("_root.wp_" + produit) == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Instance of Symbol 537 MovieClip "btg" in Symbol 606 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 3) {
act = 1;
_parent._parent.produit = _parent.produit;
}
}
Instance of Symbol 539 MovieClip "bt_buy" in Symbol 606 MovieClip Frame 1
onClipEvent (load) {
txx = "Buy";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.iconboxx._y = 235;
_root.cash = _root.cash - _parent.price;
Set("_root.wp_mag_" + _parent.produit, eval ("_root.wp_mag_" + _parent.produit) + _parent.nb_bullets);
_parent._parent.gotoAndStop(6);
}
if (act == 3) {
act = 1;
_parent._parent.produit = _parent.produit;
_parent.btg.gotoAndStop(5);
}
if (act == 4) {
act = 1;
_parent.btg.gotoAndStop(1);
}
}
Instance of Symbol 539 MovieClip "bt_buy" in Symbol 606 MovieClip Frame 2
onClipEvent (load) {
txx = "Buy";
gotoAndStop (41);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
}
if (act == 3) {
act = 1;
_parent._parent.produit = _parent.produit;
_parent.btg.gotoAndStop(5);
}
if (act == 4) {
act = 1;
_parent.btg.gotoAndStop(1);
}
}
Instance of Symbol 583 MovieClip in Symbol 609 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent.produit);
}
Symbol 610 MovieClip Frame 32
_parent.gotoAndStop(5);
Symbol 621 MovieClip Frame 1
stop();
onEnterFrame = function () {
boxx.gotoAndStop(produit);
price_aff = price + " $";
if (_root.cash < price) {
btachat.gotoAndStop(41);
boxx._alpha = 50;
}
if ((produit == 1) && (_root.energy == 100)) {
btachat.gotoAndStop(41);
boxx._alpha = 50;
}
if ((produit == 2) && (_root.stamina == 100)) {
btachat.gotoAndStop(41);
boxx._alpha = 50;
}
};
Instance of Symbol 537 MovieClip "btg" in Symbol 621 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 3) {
act = 1;
_parent._parent.produit = _parent.produit;
}
}
Instance of Symbol 539 MovieClip "btachat" in Symbol 621 MovieClip Frame 1
onClipEvent (load) {
txx = "Buy";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.iconboxx._y = 235;
_root.cash = _root.cash - _parent.price;
if (_parent.produit == 1) {
_root.energy = 100;
} else {
_root.stamina = _root.stamina + 10;
}
_parent._parent.gotoAndStop(8);
}
if (act == 3) {
act = 1;
_parent._parent.produit = _parent.produit;
_parent.btg.gotoAndStop(5);
}
if (act == 4) {
act = 1;
_parent.btg.gotoAndStop(1);
}
}
Symbol 627 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.stamina + 1);
if (dansmenuupgrade == 2) {
boxx.gotoAndStop(Math.round(((_root.energy + _root.stamina) * 100) / (100 + _root.stamina)) + 1);
} else {
boxx.gotoAndStop(Math.round((_root.energy * 100) / (100 + _root.stamina)) + 1);
}
};
Instance of Symbol 627 MovieClip "energybar" in Symbol 630 MovieClip Frame 1
onClipEvent (load) {
dansmenuupgrade = 2;
}
Symbol 631 MovieClip Frame 32
_parent.gotoAndStop(7);
Symbol 660 MovieClip Frame 1
stop();
onEnterFrame = function () {
boxx.gotoAndStop(produit);
if (_root.cash < price) {
btachat.gotoAndStop(41);
boxx._alpha = 50;
}
if (eval ("_root.bonus_" + produit) == 2) {
btachat.txx = "Open";
price_aff = "Click to open";
boxx.boxx.gotoAndStop(2);
boxx.boxx.boxx.gotoAndStop(produit);
} else {
boxx.boxx.gotoAndStop(1);
boxx.boxx.boxx.gotoAndStop(produit);
price_aff = price + " $";
}
};
Instance of Symbol 537 MovieClip "btg" in Symbol 660 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (eval ("_root.bonus_" + _parent.produit) == 2) {
getURL (_parent.dalink, "_blank");
_root.billboard = _parent.produit;
}
}
if (act == 3) {
act = 1;
_parent._parent.produit = _parent.produit;
}
}
Instance of Symbol 539 MovieClip "btachat" in Symbol 660 MovieClip Frame 1
onClipEvent (load) {
txx = "Buy";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (eval ("_root.bonus_" + _parent.produit) == 2) {
getURL (_parent.dalink, "_blank");
_root.billboard = _parent.produit;
} else {
_root.cash = _root.cash - _parent.price;
Set("_root.bonus_" + _parent.produit, 2);
}
}
if (act == 3) {
act = 1;
_parent._parent.produit = _parent.produit;
_parent.btg.gotoAndStop(5);
}
if (act == 4) {
act = 1;
_parent.btg.gotoAndStop(1);
}
}
Symbol 669 MovieClip Frame 3
stop();
Symbol 672 MovieClip Frame 1
stop();
Symbol 677 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(eval ("_root.ac_" + nb));
};
Symbol 689 MovieClip Frame 1
stop();
Instance of Symbol 21 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndPlay(2);
_parent.gotoAndStop(2);
}
}
Instance of Symbol 21 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndPlay(2);
_parent.gotoAndStop(5);
}
}
Instance of Symbol 21 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndPlay(2);
_parent.gotoAndStop(7);
}
}
Symbol 689 MovieClip Frame 2
produit = 1;
stop();
onEnterFrame = function () {
boxx.boxx.gotoAndStop(produit);
if (_currentframe == 2) {
speed = 20;
boxx._y = 90;
b_1._y = 51;
b_2._y = 80;
b_3._y = 108;
b_4._y = 136;
}
if (_currentframe == 3) {
if (speed > 0.25) {
boxx._y = boxx._y + speed;
b_1._y = b_1._y + speed;
b_2._y = b_2._y + speed;
b_3._y = b_3._y + speed;
b_4._y = b_4._y + speed;
}
speed = speed * 0.85;
}
if (_currentframe == 4) {
if (speed > 0.25) {
boxx._y = boxx._y + speed;
b_1._y = -500;
b_2._y = -500;
b_3._y = -500;
b_4._y = -500;
}
speed = speed * 1.3;
}
};
Instance of Symbol 540 MovieClip in Symbol 689 MovieClip Frame 2
onClipEvent (load) {
produit = 1;
produit_typee = 1;
}
Instance of Symbol 540 MovieClip in Symbol 689 MovieClip Frame 2
onClipEvent (load) {
produit = 2;
produit_typee = 1;
}
Instance of Symbol 540 MovieClip in Symbol 689 MovieClip Frame 2
onClipEvent (load) {
produit = 3;
produit_typee = 1;
}
Instance of Symbol 540 MovieClip in Symbol 689 MovieClip Frame 2
onClipEvent (load) {
produit = 4;
produit_typee = 1;
}
Instance of Symbol 540 MovieClip in Symbol 689 MovieClip Frame 2
onClipEvent (load) {
produit = 5;
produit_typee = 1;
}
Instance of Symbol 540 MovieClip in Symbol 689 MovieClip Frame 2
onClipEvent (load) {
produit = 6;
produit_typee = 1;
}
Instance of Symbol 549 MovieClip "b_5" in Symbol 689 MovieClip Frame 2
onClipEvent (enterFrame) {
_visible = false;
spec = "recoil";
spec_top = eval ("_root.top_" + spec);
spec_stade = eval ((("_root.wp_" + spec) + "_") + _parent.produit);
spec_value = eval ((((("_root.wp_" + spec) + "_") + _parent.produit) + "_") + spec_stade);
spec_value = spec_top - (spec_top - spec_value);
gotoAndStop (2);
boxx.gotoAndStop(Math.round((spec_value * 100) / spec_top) + 1);
aff_1 = "steady aim";
aff_2 = spec_value + " %";
}
Instance of Symbol 549 MovieClip "b_1" in Symbol 689 MovieClip Frame 2
onClipEvent (enterFrame) {
spec = "power";
spec_top = eval ("_root.top_" + spec);
spec_stade = eval ((("_root.wp_" + spec) + "_") + _parent.produit);
spec_value = eval ((((("_root.wp_" + spec) + "_") + _parent.produit) + "_") + spec_stade);
boxx.gotoAndStop(Math.round((spec_value * 100) / spec_top) + 1);
aff_1 = "power";
aff_2 = spec_value + " %";
if ((_parent._currentframe == 3) && (_parent.buyboxx.boxx._currentframe == 2)) {
if (eval ("_root.wp_" + _parent.produit) != 1) {
spec_stade_coche = eval ((("_root.wp_" + spec) + "_") + _parent.produit) + 1;
spec_value_coche = eval ((((("_root.wp_" + spec) + "_") + _parent.produit) + "_") + spec_stade_coche);
boxx2.gotoAndStop(Math.round((spec_value_coche * 100) / spec_top) + 1);
}
boxx2._visible = true;
} else {
boxx2._visible = false;
}
}
Instance of Symbol 549 MovieClip "b_2" in Symbol 689 MovieClip Frame 2
onClipEvent (enterFrame) {
spec = "firingspeed";
spec_top = eval ("_root.top_" + spec);
spec_stade = eval ((("_root.wp_" + spec) + "_") + _parent.produit);
spec_value = eval ((((("_root.wp_" + spec) + "_") + _parent.produit) + "_") + spec_stade);
spec_value = spec_top - (spec_top - spec_value);
gotoAndStop (2);
boxx.gotoAndStop(Math.round((spec_value * 100) / spec_top) + 1);
aff_1 = "firing speed";
aff_2 = spec_value * 10;
if ((_parent._currentframe == 3) && (_parent.buyboxx.boxx._currentframe == 2)) {
if (eval ("_root.wp_" + _parent.produit) != 1) {
spec_stade_coche = eval ((("_root.wp_" + spec) + "_") + _parent.produit) + 1;
spec_value_coche = eval ((((("_root.wp_" + spec) + "_") + _parent.produit) + "_") + spec_stade_coche);
spec_value_coche = spec_top - (spec_top - spec_value_coche);
boxx2.gotoAndStop(Math.round((spec_value_coche * 100) / spec_top) + 1);
}
boxx2._visible = true;
} else {
boxx2._visible = false;
}
}
Instance of Symbol 549 MovieClip "b_3" in Symbol 689 MovieClip Frame 2
onClipEvent (enterFrame) {
spec = "permag";
spec_top = eval ("_root.top_" + spec);
spec_stade = eval ((("_root.wp_" + spec) + "_") + _parent.produit);
spec_value = eval ((((("_root.wp_" + spec) + "_") + _parent.produit) + "_") + spec_stade);
boxx.gotoAndStop(Math.round((spec_value * 100) / spec_top) + 1);
aff_1 = "mag capacity";
aff_2 = spec_value + " bullets";
if ((_parent._currentframe == 3) && (_parent.buyboxx.boxx._currentframe == 2)) {
if (eval ("_root.wp_" + _parent.produit) != 1) {
spec_stade_coche = eval ((("_root.wp_" + spec) + "_") + _parent.produit) + 1;
spec_value_coche = eval ((((("_root.wp_" + spec) + "_") + _parent.produit) + "_") + spec_stade_coche);
boxx2.gotoAndStop(Math.round((spec_value_coche * 100) / spec_top) + 1);
}
boxx2._visible = true;
} else {
boxx2._visible = false;
}
}
Instance of Symbol 549 MovieClip "b_4" in Symbol 689 MovieClip Frame 2
onClipEvent (enterFrame) {
spec = "reloadtime";
spec_top = eval ("_root.top_" + spec);
spec_stade = eval ((("_root.wp_" + spec) + "_") + _parent.produit);
spec_value = eval ((((("_root.wp_" + spec) + "_") + _parent.produit) + "_") + spec_stade);
spec_value = spec_top - (spec_top - spec_value);
gotoAndStop (2);
boxx.gotoAndStop(Math.round((spec_value * 100) / spec_top) + 1);
aff_1 = "reload time";
aff_2 = spec_value + " seconds";
if ((_parent._currentframe == 3) && (_parent.buyboxx.boxx._currentframe == 2)) {
if (eval ("_root.wp_" + _parent.produit) != 1) {
spec_stade_coche = eval ((("_root.wp_" + spec) + "_") + _parent.produit) + 1;
spec_value_coche = eval ((((("_root.wp_" + spec) + "_") + _parent.produit) + "_") + spec_stade_coche);
spec_value_coche = spec_top - (spec_top - spec_value_coche);
boxx2.gotoAndStop(Math.round((spec_value_coche * 100) / spec_top) + 1);
}
boxx2._visible = true;
} else {
boxx2._visible = false;
}
}
Symbol 689 MovieClip Frame 3
stop();
Instance of Symbol 539 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (load) {
txx = "Yes";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.cash = _root.cash - _parent.price;
aa = eval ("_root.wp_" + _parent.produit) + 1;
Set("_root.wp_ammo_" + _parent.produit, eval ((("_root.wp_permag_" + _parent.produit) + "_") + eval ("_root.wp_" + _parent.produit)));
Set("_root.wp_mag_" + _parent.produit, eval ((("_root.wp_permag_" + _parent.produit) + "_") + eval ("_root.wp_" + _parent.produit)) * 3);
Set("_root.wp_" + _parent.produit, aa);
_parent.gotoAndStop(4);
}
}
Instance of Symbol 539 MovieClip in Symbol 689 MovieClip Frame 3
onClipEvent (load) {
txx = "No";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(2);
}
}
Symbol 689 MovieClip Frame 4
speed = 1;
_root.wp_power_1 = _root.wp_1;
_root.wp_firingspeed_1 = _root.wp_1;
_root.wp_permag_1 = _root.wp_1;
_root.wp_reloadtime_1 = _root.wp_1;
_root.wp_recoil_1 = _root.wp_1;
_root.wp_power_2 = _root.wp_2;
_root.wp_firingspeed_2 = _root.wp_2;
_root.wp_permag_2 = _root.wp_2;
_root.wp_reloadtime_2 = _root.wp_2;
_root.wp_recoil_2 = _root.wp_2;
_root.wp_power_3 = _root.wp_3;
_root.wp_firingspeed_3 = _root.wp_3;
_root.wp_permag_3 = _root.wp_3;
_root.wp_reloadtime_3 = _root.wp_3;
_root.wp_recoil_3 = _root.wp_3;
_root.wp_power_4 = _root.wp_4;
_root.wp_firingspeed_4 = _root.wp_4;
_root.wp_permag_4 = _root.wp_4;
_root.wp_reloadtime_4 = _root.wp_4;
_root.wp_recoil_4 = _root.wp_4;
_root.wp_power_5 = _root.wp_5;
_root.wp_firingspeed_5 = _root.wp_5;
_root.wp_permag_5 = _root.wp_5;
_root.wp_reloadtime_5 = _root.wp_5;
_root.wp_recoil_5 = _root.wp_5;
_root.wp_power_6 = _root.wp_6;
_root.wp_firingspeed_6 = _root.wp_6;
_root.wp_permag_6 = _root.wp_6;
_root.wp_reloadtime_6 = _root.wp_6;
_root.wp_recoil_6 = _root.wp_6;
Symbol 689 MovieClip Frame 5
produit = 1;
stop();
onEnterFrame = function () {
bul_txx = eval ("_root.wp_mag_" + produit) + eval ("_root.wp_ammo_" + produit);
if (iconboxx._y > 93) {
iconboxx._y = iconboxx._y - 5;
}
};
Instance of Symbol 606 MovieClip in Symbol 689 MovieClip Frame 5
onClipEvent (load) {
produit = 1;
produit_typee = 2;
nb_bullets = 30;
price = 500;
}
Instance of Symbol 606 MovieClip in Symbol 689 MovieClip Frame 5
onClipEvent (load) {
produit = 2;
produit_typee = 2;
nb_bullets = 45;
price = 100;
}
Instance of Symbol 606 MovieClip in Symbol 689 MovieClip Frame 5
onClipEvent (load) {
produit = 3;
produit_typee = 2;
nb_bullets = 25;
price = 300;
}
Instance of Symbol 606 MovieClip in Symbol 689 MovieClip Frame 5
onClipEvent (load) {
produit = 4;
produit_typee = 2;
nb_bullets = 60;
price = 200;
}
Instance of Symbol 606 MovieClip in Symbol 689 MovieClip Frame 5
onClipEvent (load) {
produit = 5;
produit_typee = 2;
nb_bullets = 20;
price = 200;
}
Instance of Symbol 606 MovieClip in Symbol 689 MovieClip Frame 5
onClipEvent (load) {
produit = 6;
produit_typee = 2;
nb_bullets = 100;
price = 200;
}
Instance of Symbol 549 MovieClip "b_5" in Symbol 689 MovieClip Frame 5
onClipEvent (enterFrame) {
_visible = false;
spec = "recoil";
spec_top = eval ("_root.top_" + spec);
spec_stade = eval ((("_root.wp_" + spec) + "_") + _parent.produit);
spec_value = eval ((((("_root.wp_" + spec) + "_") + _parent.produit) + "_") + spec_stade);
spec_value = spec_top - (spec_top - spec_value);
gotoAndStop (2);
boxx.gotoAndStop(Math.round((spec_value * 100) / spec_top) + 1);
aff_1 = "steady aim";
aff_2 = spec_value + " %";
}
Symbol 689 MovieClip Frame 7
stop();
onEnterFrame = function () {
txx_1 = ("energy : " + _root.energy) + " %";
txx_2 = ("stamina : " + _root.stamina) + " %";
if (iconboxx._y > 93) {
iconboxx._y = iconboxx._y - 5;
}
};
Instance of Symbol 621 MovieClip in Symbol 689 MovieClip Frame 7
onClipEvent (load) {
produit = 1;
produit_typee = 3;
price = 100;
}
Instance of Symbol 621 MovieClip in Symbol 689 MovieClip Frame 7
onClipEvent (load) {
produit = 2;
produit_typee = 3;
price = 1000;
}
Instance of Symbol 549 MovieClip "b_5" in Symbol 689 MovieClip Frame 7
onClipEvent (enterFrame) {
_visible = false;
spec = "recoil";
spec_top = eval ("_root.top_" + spec);
spec_stade = eval ((("_root.wp_" + spec) + "_") + _parent.produit);
spec_value = eval ((((("_root.wp_" + spec) + "_") + _parent.produit) + "_") + spec_stade);
spec_value = spec_top - (spec_top - spec_value);
gotoAndStop (2);
boxx.gotoAndStop(Math.round((spec_value * 100) / spec_top) + 1);
aff_1 = "steady aim";
aff_2 = spec_value + " %";
}
Symbol 689 MovieClip Frame 9
stop();
onEnterFrame = function () {
};
Instance of Symbol 660 MovieClip in Symbol 689 MovieClip Frame 9
onClipEvent (load) {
produit = 1;
produit_typee = 4;
dalink = "http://www.gamesfree.ca/customPage/36/";
price = 500;
}
Instance of Symbol 660 MovieClip in Symbol 689 MovieClip Frame 9
onClipEvent (load) {
produit = 2;
produit_typee = 4;
dalink = "http://www.gamesfree.ca/customPage/33/";
price = 500;
}
Instance of Symbol 660 MovieClip in Symbol 689 MovieClip Frame 9
onClipEvent (load) {
produit = 3;
produit_typee = 4;
dalink = "http://www.gamesfree.ca/customPage/32/";
price = 500;
}
Instance of Symbol 660 MovieClip in Symbol 689 MovieClip Frame 9
onClipEvent (load) {
produit = 4;
produit_typee = 4;
dalink = "http://www.gamesfree.ca/customPage/29/";
price = 500;
}
Instance of Symbol 660 MovieClip in Symbol 689 MovieClip Frame 9
onClipEvent (load) {
produit = 5;
produit_typee = 4;
dalink = "http://www.gamesfree.ca/customPage/31/";
price = 500;
}
Instance of Symbol 660 MovieClip in Symbol 689 MovieClip Frame 9
onClipEvent (load) {
produit = 6;
produit_typee = 4;
dalink = "http://www.gamesfree.ca/customPage/30/";
price = 500;
}
Symbol 689 MovieClip Frame 10
cheat_boxx = "";
stop();
onEnterFrame = function () {
};
Instance of Symbol 539 MovieClip "bt_buy" in Symbol 689 MovieClip Frame 10
onClipEvent (load) {
txx = "Activate";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_parent.cheat_boxx == "4661") {
_parent.cheat_boxx = "";
_parent.snd.gotoAndPlay(2);
_parent.boxxtxx.gotoAndPlay(2);
_parent._parent.gotoAndPlay(6);
_root.cheat_1 = 2;
}
if (_parent.cheat_boxx == "2088") {
_parent.cheat_boxx = "";
_parent.snd.gotoAndPlay(2);
_parent.boxxtxx.gotoAndPlay(2);
_parent._parent.gotoAndPlay(6);
_root.cheat_2 = 2;
}
if (_parent.cheat_boxx == "9017") {
_parent.cheat_boxx = "";
_parent.snd.gotoAndPlay(2);
_parent.boxxtxx.gotoAndPlay(2);
_parent._parent.gotoAndPlay(6);
_root.cheat_3 = 2;
}
if (_parent.cheat_boxx == "1212") {
_parent.cheat_boxx = "";
_parent.snd.gotoAndPlay(2);
_parent.boxxtxx.gotoAndPlay(2);
_parent._parent.gotoAndPlay(6);
_root.cash = _root.cash + 5000;
}
if (_parent.cheat_boxx == "2121") {
_parent.cheat_boxx = "";
_parent.snd.gotoAndPlay(2);
_parent.boxxtxx.gotoAndPlay(2);
_parent._parent.gotoAndPlay(6);
if (_root.lvl != 20) {
_root.lvl = _root.lvl + 1;
}
}
if (_parent.cheat_boxx == "0000") {
_parent.cheat_boxx = "";
_parent.snd.gotoAndPlay(2);
_parent.boxxtxx.gotoAndPlay(2);
_parent._parent.gotoAndPlay(6);
_root.cheat_6 = 2;
}
}
}
Instance of Symbol 539 MovieClip in Symbol 689 MovieClip Frame 10
onClipEvent (load) {
txx = "Cheat page";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/customPage/37/", "_blank");
}
}
Instance of Symbol 539 MovieClip in Symbol 689 MovieClip Frame 10
onClipEvent (load) {
txx = "wallpaper";
_visible = false;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/customPage/35/", "_blank");
}
if (_root.cheat_6 == 2) {
_visible = true;
}
}
Symbol 689 MovieClip Frame 11
stop();
onEnterFrame = function () {
};
Instance of Symbol 677 MovieClip in Symbol 689 MovieClip Frame 11
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 677 MovieClip in Symbol 689 MovieClip Frame 11
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 677 MovieClip in Symbol 689 MovieClip Frame 11
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 677 MovieClip in Symbol 689 MovieClip Frame 11
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 677 MovieClip in Symbol 689 MovieClip Frame 11
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 539 MovieClip in Symbol 689 MovieClip Frame 11
onClipEvent (load) {
txx = "walkthrough";
_visible = false;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/customPage/38/", "_blank");
}
}
Instance of Symbol 679 MovieClip in Symbol 689 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.ac_2 == 2) {
_alpha = 100;
} else {
_alpha = 25;
}
}
Instance of Symbol 681 MovieClip in Symbol 689 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.ac_1 == 2) {
_alpha = 100;
} else {
_alpha = 25;
}
}
Instance of Symbol 683 MovieClip in Symbol 689 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.ac_3 == 2) {
_alpha = 100;
} else {
_alpha = 25;
}
}
Instance of Symbol 685 MovieClip in Symbol 689 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.ac_4 == 2) {
_alpha = 100;
} else {
_alpha = 25;
}
}
Instance of Symbol 687 MovieClip in Symbol 689 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.ac_6 == 2) {
_alpha = 100;
} else {
_alpha = 25;
}
}
Symbol 690 MovieClip Frame 1
stop();
Symbol 690 MovieClip Frame 2
play();
Symbol 690 MovieClip Frame 3
play();
Symbol 690 MovieClip Frame 6
play();
Symbol 690 MovieClip Frame 20
stop();
Instance of Symbol 702 MovieClip in Symbol 703 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.achiv_done);
}
Symbol 705 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.achiv_done_go == 2) {
_root.achiv_done_go = 1;
gotoAndPlay (2);
}
};
Instance of Symbol 708 MovieClip in Symbol 709 MovieClip Frame 85
onClipEvent (load) {
if (_root.noammo == 2) {
_root.noammo = 1;
} else {
_visible = false;
}
}
Symbol 709 MovieClip Frame 150
if (_root.ac_1 != 2) {
_root.ac_1 = 2;
_root.achiv_done_go = 2;
_root.achiv_done = 1;
}
Symbol 709 MovieClip Frame 250
_parent.menuboxx._visible = true;
_parent.menuboxx.gotoAndPlay(2);
stop();
Instance of Symbol 116 MovieClip in Symbol 713 MovieClip Frame 1
onClipEvent (load) {
txx = "Retry";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent._parent.gotoAndStop(40);
}
}
Instance of Symbol 116 MovieClip in Symbol 713 MovieClip Frame 1
onClipEvent (load) {
txx = "Main Menu";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent._parent.gotoAndStop(19);
}
}
Symbol 714 MovieClip Frame 1
stop();
Symbol 714 MovieClip Frame 10
_root.Mouse.show();
Mouse.show();
Symbol 714 MovieClip Frame 80
stop();
Symbol 715 MovieClip Frame 3
stop();
Symbol 716 Button
on (keyPress "t") {
_root.energy = _root.energy - 5;
}
Symbol 717 MovieClip Frame 1
wave_nb = (3 * _root.lvl) + 2;
helico_when_appear = random(10) + 4;
helico_shots = -4 + _root.lvl;
stop();
onEnterFrame = function () {
if (_root.lvl == 0) {
stop();
} else if (_currentframe == 1) {
gotoAndPlay (2);
}
};
Symbol 717 MovieClip Frame 2
spawn = 0;
onEnterFrame = function () {
};
gotoAndPlay (300);
Symbol 717 MovieClip Frame 3
easy = random(4) + 1;
if (easy != 1) {
gotoAndPlay(_root.lvl * 14);
} else {
gotoAndPlay(250 + random(40));
}
Symbol 717 MovieClip Frame 299
if ((spawn - _root.deads) >= 10) {
gotoAndPlay (3);
}
Symbol 717 MovieClip Frame 300
limit = _root.lvl + 13;
if (limit > 28) {
limit = 28;
}
nb = random(limit) + 1;
Symbol 717 MovieClip Frame 301
if (eval ("_root.en_" + nb) != 1) {
gotoAndPlay (300);
} else {
if ((_root.lvl >= 5) && (_root.helicogo == 1)) {
if (helico_when_appear != 0) {
helico_when_appear = helico_when_appear - 1;
} else if (helico_shots != 0) {
helico_shots = helico_shots - 1;
helico_when_appear = random(10) + 5;
_root.helicogo = 2;
}
}
trace("spawn");
spawn = spawn + 1;
Set("_root.en_" + nb, 2);
if (spawn != wave_nb) {
gotoAndPlay (3);
} else {
gotoAndPlay (302);
}
}
Symbol 717 MovieClip Frame 310
stop();
onEnterFrame = function () {
if (_root.deads == wave_nb) {
_root.fixe = 2;
_root.canmove = 1;
_root.canshot = 1;
if ((_root.cnt.miree._visible = true)) {
_root.cnt.miree._visible = false;
_root.wave_cleared_go = 2;
}
}
};
Symbol 730 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.helicogo == 2) {
_root.helicogo = 3;
gotoAndPlay (2);
}
};
Symbol 730 MovieClip Frame 150
_root.helicogo = 4;
gotoAndStop (1);
Symbol 760 MovieClip Frame 1
stop();
Instance of Symbol 760 MovieClip in Symbol 761 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent.head);
}
Instance of Symbol 771 MovieClip in Symbol 772 MovieClip Frame 1
onClipEvent (load) {
_rotation = (random(360) + 1);
}
Symbol 783 MovieClip Frame 12
stop();
Symbol 792 MovieClip Frame 1
gotoAndPlay((random(6) + 1) * 2);
Symbol 792 MovieClip Frame 3
stop();
Symbol 792 MovieClip Frame 5
stop();
Symbol 792 MovieClip Frame 7
stop();
Symbol 792 MovieClip Frame 9
stop();
Symbol 792 MovieClip Frame 11
stop();
Symbol 792 MovieClip Frame 13
stop();
Symbol 801 MovieClip Frame 1
aa = random(2) + 1;
if (aa == 2) {
if (_parent._parent.headshot != 2) {
gotoAndPlay((random(5) + 1) * 2);
} else {
gotoAndPlay (12);
}
}
Symbol 801 MovieClip Frame 3
stop();
Symbol 801 MovieClip Frame 5
stop();
Symbol 801 MovieClip Frame 7
stop();
Symbol 801 MovieClip Frame 9
stop();
Symbol 801 MovieClip Frame 11
stop();
Symbol 801 MovieClip Frame 13
_root.st_headshots = _root.st_headshots + 1;
stop();
Symbol 812 MovieClip Frame 1
gotoAndPlay((random(6) + 1) * 2);
Symbol 812 MovieClip Frame 3
stop();
Symbol 812 MovieClip Frame 5
stop();
Symbol 812 MovieClip Frame 7
stop();
Symbol 812 MovieClip Frame 9
stop();
Symbol 812 MovieClip Frame 11
stop();
Symbol 812 MovieClip Frame 13
stop();
Symbol 813 MovieClip Frame 25
gotoAndStop (151);
Symbol 813 MovieClip Frame 51
aa = random(50) + 1;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
ac = random(4) + 1;
if (ac == 1) {
gotoAndPlay (2);
} else {
gotoAndPlay (52);
}
}
if (aa != 0) {
aa = aa - 1;
}
};
Symbol 813 MovieClip Frame 52
wait_if_see = 2;
trace("1");
stop();
Symbol 813 MovieClip Frame 53
trace("2");
Symbol 813 MovieClip Frame 79
aa = random(60) + 20;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Symbol 813 MovieClip Frame 80
tire = 2;
Symbol 813 MovieClip Frame 120
gotoAndStop (51);
Instance of Symbol 784 MovieClip in Symbol 813 MovieClip Frame 122
onClipEvent (load) {
_rotation = (random(360) + 1);
}
Symbol 813 MovieClip Frame 135
gotoAndStop (51);
Instance of Symbol 784 MovieClip in Symbol 813 MovieClip Frame 137
onClipEvent (load) {
_rotation = (random(360) + 1);
}
Symbol 813 MovieClip Frame 150
gotoAndStop (51);
Symbol 813 MovieClip Frame 151
aa = random(50) + 1;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
ac = random(4) + 1;
if (ac == 1) {
gotoAndPlay (26);
} else {
gotoAndPlay (152);
}
}
if (aa != 0) {
aa = aa - 1;
}
};
Symbol 813 MovieClip Frame 152
wait_if_see = 2;
stop();
Symbol 813 MovieClip Frame 171
aa = random(60) + 20;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Symbol 813 MovieClip Frame 172
tire = 2;
Symbol 813 MovieClip Frame 200
gotoAndStop (151);
Instance of Symbol 784 MovieClip in Symbol 813 MovieClip Frame 202
onClipEvent (load) {
_rotation = (random(360) + 1);
}
Symbol 813 MovieClip Frame 214
gotoAndStop (151);
Instance of Symbol 784 MovieClip in Symbol 813 MovieClip Frame 217
onClipEvent (load) {
_rotation = (random(360) + 1);
}
Symbol 813 MovieClip Frame 227
gotoAndStop (151);
Instance of Symbol 784 MovieClip in Symbol 813 MovieClip Frame 229
onClipEvent (load) {
_rotation = (random(360) + 1);
}
Symbol 813 MovieClip Frame 230
_root.interr.wordup._x = _root._xmouse;
_root.interr.wordup._y = _root._ymouse - 50;
_root.interr.wordup.gotoAndPlay(2);
if (_parent.headshot == 2) {
_root.interr.wordup.boxx.gotoAndStop(1);
_root.cashb = _root.cashb + 100;
} else {
_root.interr.wordup.boxx.gotoAndStop(2);
_root.cashb = _root.cashb + 50;
}
Symbol 813 MovieClip Frame 251
die = 2;
stop();
Instance of Symbol 784 MovieClip in Symbol 813 MovieClip Frame 253
onClipEvent (load) {
_rotation = (random(360) + 1);
}
Symbol 813 MovieClip Frame 254
_root.interr.wordup._x = _root._xmouse;
_root.interr.wordup._y = _root._ymouse - 50;
_root.interr.wordup.gotoAndPlay(2);
if (_parent.headshot == 2) {
_root.interr.wordup.boxx.gotoAndStop(1);
_root.cashb = _root.cashb + 100;
} else {
_root.interr.wordup.boxx.gotoAndStop(2);
_root.cashb = _root.cashb + 50;
}
Symbol 813 MovieClip Frame 281
die = 2;
stop();
Symbol 817 MovieClip Frame 1
stop();
Symbol 817 MovieClip Frame 3
gotoAndStop (1);
Symbol 817 MovieClip Frame 5
gotoAndStop (1);
Symbol 817 MovieClip Frame 7
gotoAndStop (1);
Symbol 818 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (eval ("_root.en_" + nb) == 2) {
gotoAndStop (2);
}
};
Instance of Symbol 733 MovieClip in Symbol 818 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 818 MovieClip Frame 2
headshot = 1;
timer_dead_go = 0;
boxx.die = 1;
boxx.wait_if_see = 1;
can_tire = 1;
energy = 100;
boxx.head = random(3) + 1;
boxx.gotoAndPlay(random(50) + 1);
aa = random(2) + 1;
if (aa == 1) {
_xscale = (_xscale * -1);
}
stop();
onEnterFrame = function () {
if (boxx.die == 2) {
boxx.die = 3;
Set("_root.en_" + nb, 3);
timer_dead_go = 200;
}
if (timer_dead_go != 0) {
timer_dead_go = timer_dead_go - 1;
} else if (boxx.die == 3) {
boxx.die = 1;
_root.deads = _root.deads + 1;
Set("_root.en_" + nb, 1);
gotoAndStop (1);
}
if (boxx.wait_if_see == 2) {
if (can_tire == 2) {
boxx.wait_if_see = 1;
boxx.play();
}
}
if (boxx.tire == 2) {
boxx.tire = 1;
if (_root.touchemur != 2) {
aa = random(2) + 1;
_root.canmove = 1;
if (nb <= 12) {
_root.energy = _root.energy - (random(10) + 2);
} else {
_root.energy = _root.energy - (random(5) + 1);
}
if (aa == 1) {
_root.cnt.bieber.gotoAndPlay(166);
}
if (aa == 2) {
_root.cnt.bieber.gotoAndPlay(183);
}
} else {
snd.gotoAndPlay((random(3) + 1) * 2);
}
}
if (got_hit == 2) {
got_hit = 1;
if ((boxx._currentframe >= 1) && (boxx._currentframe <= 150)) {
aa = random(2) + 1;
if (aa == 1) {
boxx.gotoAndPlay(120);
} else {
boxx.gotoAndPlay(136);
}
} else {
aa = random(2) + 1;
if (aa == 1) {
boxx.gotoAndPlay(201);
} else {
boxx.gotoAndPlay(215);
}
}
}
if (energy <= 0) {
if (boxx._currentframe <= 228) {
aa = random(2) + 1;
if (aa == 1) {
boxx.gotoAndPlay(228);
} else {
boxx.gotoAndPlay(252);
}
}
}
};
Instance of Symbol 764 MovieClip in Symbol 818 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent.boxx.wait_if_see == 2) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.general_hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.can_tire = 2;
} else {
_parent.can_tire = 1;
}
if ((_parent.boxx._currentframe >= 151) && (_parent.boxx._currentframe <= 200)) {
var nb = 1;
while (nb < 11) {
if (_root.plan_2["o_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.boxx.wait_if_see = 1;
_parent.boxx.gotoAndPlay(26);
}
nb++;
}
}
i++;
}
}
}
Symbol 828 MovieClip Frame 1
damage = 0;
stop();
onEnterFrame = function () {
gotoAndStop(Math.round((damage * 5) / 100) + 1);
};
Symbol 835 MovieClip Frame 1
damage = 0;
stop();
onEnterFrame = function () {
gotoAndStop(Math.round((damage * 5) / 100) + 1);
};
Symbol 836 MovieClip Frame 1
stop();
Instance of Symbol 818 MovieClip "en_14" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
nb = 14;
}
Instance of Symbol 818 MovieClip "en_17" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
nb = 17;
}
Instance of Symbol 818 MovieClip "en_23" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
nb = 23;
}
Instance of Symbol 818 MovieClip "en_26" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
nb = 26;
}
Instance of Symbol 818 MovieClip "en_13" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
nb = 13;
}
Instance of Symbol 818 MovieClip "en_15" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
nb = 15;
}
Instance of Symbol 818 MovieClip "en_16" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
nb = 16;
}
Instance of Symbol 818 MovieClip "en_18" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
nb = 18;
}
Instance of Symbol 818 MovieClip "en_19" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
nb = 19;
}
Instance of Symbol 818 MovieClip "en_20" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
nb = 20;
}
Instance of Symbol 818 MovieClip "en_21" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
nb = 21;
}
Instance of Symbol 818 MovieClip "en_22" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
nb = 22;
}
Instance of Symbol 818 MovieClip "en_24" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
nb = 24;
}
Instance of Symbol 818 MovieClip "en_25" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
nb = 25;
}
Instance of Symbol 818 MovieClip "en_27" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
nb = 27;
}
Instance of Symbol 818 MovieClip "en_28" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
nb = 28;
}
Symbol 843 MovieClip Frame 1
damage = 0;
stop();
onEnterFrame = function () {
gotoAndStop(Math.round((damage * 5) / 100) + 1);
};
Symbol 844 MovieClip Frame 1
stop();
Instance of Symbol 818 MovieClip "en_4" in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 818 MovieClip "en_10" in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
}
Instance of Symbol 818 MovieClip "en_1" in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 818 MovieClip "en_3" in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 818 MovieClip "en_5" in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 818 MovieClip "en_7" in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 818 MovieClip "en_9" in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
}
Instance of Symbol 818 MovieClip "en_11" in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
nb = 11;
}
Instance of Symbol 818 MovieClip "en_2" in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 818 MovieClip "en_6" in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 818 MovieClip "en_8" in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 818 MovieClip "en_12" in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
nb = 12;
}
Instance of Symbol 818 MovieClip "en_5" in Symbol 844 MovieClip Frame 2
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 818 MovieClip "en_7" in Symbol 844 MovieClip Frame 2
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 818 MovieClip "en_9" in Symbol 844 MovieClip Frame 2
onClipEvent (load) {
nb = 9;
}
Instance of Symbol 818 MovieClip "en_11" in Symbol 844 MovieClip Frame 2
onClipEvent (load) {
nb = 11;
}
Instance of Symbol 818 MovieClip "en_6" in Symbol 844 MovieClip Frame 2
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 818 MovieClip "en_8" in Symbol 844 MovieClip Frame 2
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 818 MovieClip "en_12" in Symbol 844 MovieClip Frame 2
onClipEvent (load) {
nb = 12;
}
Instance of Symbol 818 MovieClip "en_3" in Symbol 844 MovieClip Frame 3
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 818 MovieClip "en_2" in Symbol 844 MovieClip Frame 3
onClipEvent (load) {
nb = 2;
}
Symbol 852 MovieClip Frame 1
stop();
Symbol 856 MovieClip Frame 1
stop();
Symbol 859 MovieClip Frame 1
_parent.van_is_opened = 2;
Symbol 859 MovieClip Frame 4
stop();
Symbol 860 MovieClip Frame 1
if (_parent.van_is_opened == 2) {
_parent.van_is_opened = 1;
} else {
stop();
}
Symbol 860 MovieClip Frame 4
stop();
Symbol 861 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(Math.round(_root.cnt.bieber._x - 400));
};
Symbol 875 MovieClip Frame 1
stop();
Symbol 878 MovieClip Frame 1
stop();
Symbol 881 MovieClip Frame 1
stop();
Symbol 884 MovieClip Frame 1
stop();
Symbol 887 MovieClip Frame 1
stop();
Symbol 890 MovieClip Frame 1
stop();
Symbol 893 MovieClip Frame 1
stop();
Symbol 896 MovieClip Frame 1
stop();
Symbol 899 MovieClip Frame 1
stop();
Symbol 902 MovieClip Frame 1
stop();
Symbol 905 MovieClip Frame 1
stop();
Symbol 908 MovieClip Frame 1
stop();
Symbol 911 MovieClip Frame 1
stop();
Symbol 914 MovieClip Frame 1
stop();
Symbol 917 MovieClip Frame 1
stop();
Symbol 920 MovieClip Frame 1
stop();
Symbol 925 MovieClip Frame 1
stop();
Symbol 928 MovieClip Frame 1
stop();
Symbol 933 MovieClip Frame 1
stop();
Symbol 936 MovieClip Frame 1
stop();
Symbol 939 MovieClip Frame 1
stop();
Symbol 942 MovieClip Frame 1
stop();
Symbol 949 MovieClip Frame 1
stop();
Instance of Symbol 965 MovieClip in Symbol 966 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.billboard + 1);
}
Instance of Symbol 973 MovieClip in Symbol 974 MovieClip Frame 1
onClipEvent (load) {
_x = (random(50) - 25);
_y = (random(50) - 25);
speedx = random(7) + 7;
if (_root.perso_side == "R") {
speedx = speedx * -1;
}
speedy = (random(10) + 10) * -1;
speedr = random(30) - 15;
gotoAndStop(random(5) + 1);
_xscale = ((20 + random(10)) - 5);
_yscale = _xscale;
_alpha = (random(75) + 25);
}
onClipEvent (enterFrame) {
_x = (_x + speedx);
_y = (_y + speedy);
_rotation = (_rotation + speedr);
_alpha = (_alpha - 2);
speedx = speedx * 0.9;
if (speedy < -1) {
speedy = speedy * 0.8;
}
if ((speedy >= -1) && (speedy < 1)) {
speedy = 1;
}
if (speedy > 1) {
speedy = speedy * 1.2;
}
}
Instance of Symbol 977 MovieClip in Symbol 978 MovieClip Frame 1
onClipEvent (load) {
_x = (random(100) - 50);
_y = (-random(25));
speedx = random(7) + 7;
if (_root.side == "L") {
speedx = speedx * -1;
_x = (_x + 50);
} else {
_x = (_x - 50);
}
speedy = (random(10) + 10) * -1;
gotoAndStop(random(5) + 1);
_xscale = (random(50) + 100);
_yscale = (_xscale * ((random(25) + 75) / 100));
_alpha = (random(25) + 30);
}
onClipEvent (enterFrame) {
_x = (_x + speedx);
speedx = speedx * 0.85;
_alpha = (_alpha - 2);
}
Symbol 979 MovieClip Frame 1
stop();
Instance of Symbol 975 MovieClip in Symbol 979 MovieClip Frame 2
onClipEvent (load) {
if (_parent.no_rocks == 2) {
_parent.no_rocks = 1;
_visible = false;
}
}
Symbol 979 MovieClip Frame 40
gotoAndStop (1);
Symbol 986 MovieClip Frame 1
stop();
Symbol 987 MovieClip Frame 1
stop();
Instance of Symbol 986 MovieClip in Symbol 987 MovieClip Frame 1
onClipEvent (load) {
_rotation = (random(360) + 1);
gotoAndStop(_parent.typee);
}
Instance of Symbol 986 MovieClip "boxx" in Symbol 987 MovieClip Frame 2
onClipEvent (load) {
speedx = random(40) - 20;
speedy = (random(15) + 5) * -1;
speedr = random(40) - 20;
_parent._x = _parent._x + (random(100) - 50);
_parent._y = _parent._y - (random(50) + 1);
}
onClipEvent (enterFrame) {
_parent.typee = _currentframe;
_parent._x = _parent._x + speedx;
_parent._y = _parent._y + speedy;
_rotation = (_rotation + speedr);
_rotation = (_rotation * 0.99);
speedx = speedx * 0.8;
if (speedy < -1) {
speedy = speedy * 0.75;
}
if ((speedy >= -1) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * 1.1;
}
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.solhitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.gotoAndStop(1);
}
i++;
}
}
Symbol 995 MovieClip Frame 1
stop();
Symbol 995 MovieClip Frame 2
play();
Instance of Symbol 764 MovieClip in Symbol 995 MovieClip Frame 2
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:_root.recoil});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 31) {
if (_root.plan_2["o_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.plan_2["o_" + nb].damage = _root.plan_2["o_" + nb].damage + 1;
_root.snd.metalhit.gotoAndPlay((random(3) + 1) * 2);
}
if (_root.plan_3["o_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.plan_2["o_" + nb].damage = _root.plan_2["o_" + nb].damage + 1;
_root.snd.metalhit.gotoAndPlay((random(3) + 1) * 2);
}
if (_root.plan_2["en_" + nb].boxx.hitt_1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.plan_2["en_" + nb].energy = _root.plan_2["en_" + nb].energy - 100;
_root.plan_2["en_" + nb].headshot = 2;
_root.plan_2["en_" + nb].got_hit = 2;
}
if (_root.plan_2["en_" + nb].boxx.hitt_2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.plan_2["en_" + nb].energy = _root.plan_2["en_" + nb].energy - eval ((("_root.wp_power_" + _root.wp) + "_") + eval ("_root.wp_power_" + _root.wp));
_root.plan_2["en_" + nb].got_hit = 2;
}
if (_root.plan_3["en_" + nb].boxx.hitt_1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.plan_3["en_" + nb].energy = _root.plan_3["en_" + nb].energy - 100;
_root.plan_2["en_" + nb].headshot = 2;
_root.plan_3["en_" + nb].got_hit = 2;
}
if (_root.plan_3["en_" + nb].boxx.hitt_2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.plan_3["en_" + nb].energy = _root.plan_3["en_" + nb].energy - eval ((("_root.wp_power_" + _root.wp) + "_") + eval ("_root.wp_power_" + _root.wp));
_root.plan_3["en_" + nb].got_hit = 2;
}
nb++;
}
i++;
}
}
Symbol 995 MovieClip Frame 3
play();
Symbol 995 MovieClip Frame 20
gotoAndStop (1);
Symbol 995 MovieClip Frame 21
play();
Instance of Symbol 764 MovieClip in Symbol 995 MovieClip Frame 21
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:_root.recoil});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 31) {
if (_root.plan_2["o_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.snd.metalhit.gotoAndPlay((random(3) + 1) * 2);
_root.plan_2["o_" + nb].damage = _root.plan_2["o_" + nb].damage + 1;
}
if (_root.plan_3["o_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.snd.metalhit.gotoAndPlay((random(3) + 1) * 2);
_root.plan_2["o_" + nb].damage = _root.plan_2["o_" + nb].damage + 1;
}
if (_root.plan_2["en_" + nb].boxx.hitt_1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.plan_2["en_" + nb].energy = _root.plan_2["en_" + nb].energy - 100;
_root.plan_2["en_" + nb].headshot = 2;
_root.plan_2["en_" + nb].got_hit = 2;
}
if (_root.plan_2["en_" + nb].boxx.hitt_2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.plan_2["en_" + nb].energy = _root.plan_2["en_" + nb].energy - eval ((("_root.wp_power_" + _root.wp) + "_") + eval ("_root.wp_power_" + _root.wp));
_root.plan_2["en_" + nb].got_hit = 2;
}
if (_root.plan_3["en_" + nb].boxx.hitt_1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.plan_3["en_" + nb].energy = _root.plan_3["en_" + nb].energy - 100;
_root.plan_3["en_" + nb].got_hit = 2;
}
if (_root.plan_3["en_" + nb].boxx.hitt_2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.plan_3["en_" + nb].energy = _root.plan_3["en_" + nb].energy - eval ((("_root.wp_power_" + _root.wp) + "_") + eval ("_root.wp_power_" + _root.wp));
_root.plan_3["en_" + nb].got_hit = 2;
}
nb++;
}
i++;
}
}
Instance of Symbol 764 MovieClip in Symbol 995 MovieClip Frame 21
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:_root.recoil});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 31) {
if (_root.plan_2["o_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.snd.metalhit.gotoAndPlay((random(3) + 1) * 2);
_root.plan_2["o_" + nb].damage = _root.plan_2["o_" + nb].damage + 1;
}
if (_root.plan_3["o_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.snd.metalhit.gotoAndPlay((random(3) + 1) * 2);
_root.plan_2["o_" + nb].damage = _root.plan_2["o_" + nb].damage + 1;
}
if (_root.plan_2["en_" + nb].boxx.hitt_1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.plan_2["en_" + nb].energy = _root.plan_2["en_" + nb].energy - 100;
_root.plan_2["en_" + nb].headshot = 2;
_root.plan_2["en_" + nb].got_hit = 2;
}
if (_root.plan_2["en_" + nb].boxx.hitt_2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.plan_2["en_" + nb].energy = _root.plan_2["en_" + nb].energy - eval ((("_root.wp_power_" + _root.wp) + "_") + eval ("_root.wp_power_" + _root.wp));
_root.plan_2["en_" + nb].got_hit = 2;
}
if (_root.plan_3["en_" + nb].boxx.hitt_1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.plan_3["en_" + nb].energy = _root.plan_3["en_" + nb].energy - 100;
_root.plan_2["en_" + nb].headshot = 2;
_root.plan_3["en_" + nb].got_hit = 2;
}
if (_root.plan_3["en_" + nb].boxx.hitt_2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.plan_3["en_" + nb].energy = _root.plan_3["en_" + nb].energy - eval ((("_root.wp_power_" + _root.wp) + "_") + eval ("_root.wp_power_" + _root.wp));
_root.plan_3["en_" + nb].got_hit = 2;
}
nb++;
}
i++;
}
}
Symbol 995 MovieClip Frame 22
play();
Symbol 995 MovieClip Frame 39
gotoAndStop (1);
Symbol 997 MovieClip Frame 1
onEnterFrame = function () {
if (_currentframe != 1) {
speed = 0.25;
boxx.boxx.gotoAndStop(_root.wp);
sx = _parent._xmouse;
sy = _parent._ymouse;
speedx = (sx - _x) * speed;
speedy = (sy - _y) * speed;
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + speedx);
}
if ((_y < (sy - 0.5)) || (_y > (sy + 0.5))) {
_y = (_y + speedy);
}
}
};
Instance of Symbol 995 MovieClip "boxx" in Symbol 997 MovieClip Frame 2
onClipEvent (load) {
boxx.gotoAndStop(_root.wp);
}
Symbol 1028 MovieClip Frame 1
onEnterFrame = function () {
gotoAndStop(_root.wp);
};
Symbol 1038 MovieClip Frame 1
stop();
Symbol 1044 MovieClip Frame 1
stop();
Symbol 1061 MovieClip Frame 1
stop();
Symbol 1062 MovieClip Frame 1
stop();
Symbol 1063 MovieClip Frame 1
stop();
Symbol 1066 MovieClip Frame 1
stop();
Symbol 1067 MovieClip Frame 1
stop();
Symbol 1068 MovieClip Frame 1
stop();
Symbol 1069 MovieClip Frame 1
stop();
Symbol 1070 MovieClip Frame 1
stop();
Symbol 1071 MovieClip Frame 1
stop();
Symbol 1072 MovieClip Frame 1
stop();
Symbol 1073 MovieClip Frame 1
stop();
Symbol 1074 MovieClip Frame 1
stop();
Symbol 1075 MovieClip Frame 1
stop();
Symbol 1077 MovieClip Frame 1
onEnterFrame = function () {
boxx.gotoAndStop(_root.wp);
gotoAndStop(Math.round((_root._ymouse * 100) / 440) + 1);
};
Symbol 1078 MovieClip Frame 1
onEnterFrame = function () {
if (_root.side == "R") {
gotoAndStop(Math.round((_root._xmouse * 100) / 800) + 1);
} else {
gotoAndStop((100 - Math.round((_root._xmouse * 100) / 800)) + 1);
}
};
Symbol 1087 MovieClip Frame 1
stop();
Symbol 1090 MovieClip Frame 1
stop();
Symbol 1093 MovieClip Frame 1
stop();
Symbol 1094 MovieClip Frame 1
stop();
Symbol 1096 MovieClip Frame 1
stop();
Symbol 1097 MovieClip Frame 1
stop();
Symbol 1099 MovieClip Frame 1
stop();
Symbol 1100 MovieClip Frame 1
stop();
Symbol 1101 MovieClip Frame 1
stop();
Symbol 1102 MovieClip Frame 1
stop();
Symbol 1103 MovieClip Frame 1
stop();
Symbol 1105 MovieClip Frame 1
onEnterFrame = function () {
boxx.gotoAndStop(_root.wp);
gotoAndStop(Math.round((_root._ymouse * 100) / 440) + 1);
};
Symbol 1106 MovieClip Frame 1
onEnterFrame = function () {
if (_root.side == "L") {
gotoAndStop(Math.round((_root._xmouse * 100) / 800) + 1);
} else {
gotoAndStop((100 - Math.round((_root._xmouse * 100) / 800)) + 1);
}
};
Symbol 1109 MovieClip Frame 1
stop();
Symbol 1114 MovieClip Frame 1
stop();
Symbol 1117 MovieClip Frame 1
stop();
Symbol 1120 MovieClip Frame 1
stop();
Instance of Symbol 1121 MovieClip in Symbol 1122 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.wp);
}
Instance of Symbol 1139 MovieClip in Symbol 1141 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.wp);
}
Instance of Symbol 764 MovieClip in Symbol 1142 MovieClip Frame 1
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 11) {
if (_root.cnt["pboxx_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt["pboxx_" + nb].touch = 2;
} else {
_root.cnt["pboxx_" + nb].touch = 1;
}
if (_root.cnt["bh_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
trace("ouch");
_root.energy = _root.energy - 10;
_root.canmove = 1;
aa = random(2) + 1;
if (aa == 1) {
_parent.gotoAndPlay(166);
} else {
_parent.gotoAndPlay(183);
}
}
nb++;
}
i++;
}
if ((((((((((_root.cnt.pboxx_1.touch == 2) || (_root.cnt.pboxx_2.touch == 2)) || (_root.cnt.pboxx_3.touch == 2)) || (_root.cnt.pboxx_4.touch == 2)) || (_root.cnt.pboxx_5.touch == 2)) || (_root.cnt.pboxx_6.touch == 2)) || (_root.cnt.pboxx_7.touch == 2)) || (_root.cnt.pboxx_8.touch == 2)) || (_root.cnt.pboxx_9.touch == 2)) || (_root.cnt.pboxx_10.touch == 2)) {
_root.touchemur = 2;
} else {
_root.touchemur = 1;
}
}
Symbol 1142 MovieClip Frame 50
gotoAndPlay (1);
Symbol 1142 MovieClip Frame 70
_root.fumee_go = 3;
Symbol 1142 MovieClip Frame 89
_root.fumee_go = 3;
Symbol 1142 MovieClip Frame 90
gotoAndPlay (51);
Symbol 1142 MovieClip Frame 150
gotoAndStop (91);
Symbol 1142 MovieClip Frame 151
boxx.boxx.boxx.boxx.gotoAndPlay(2);
Symbol 1142 MovieClip Frame 165
gotoAndPlay (91);
Symbol 1142 MovieClip Frame 166
play();
Instance of Symbol 784 MovieClip in Symbol 1142 MovieClip Frame 167
onClipEvent (load) {
_rotation = (random(360) + 1);
}
Instance of Symbol 784 MovieClip in Symbol 1142 MovieClip Frame 167
onClipEvent (load) {
_rotation = (random(360) + 1);
}
Symbol 1142 MovieClip Frame 179
_root.canmove = 2;
gotoAndPlay (91);
Instance of Symbol 784 MovieClip in Symbol 1142 MovieClip Frame 184
onClipEvent (load) {
_rotation = (random(360) + 1);
}
Instance of Symbol 784 MovieClip in Symbol 1142 MovieClip Frame 184
onClipEvent (load) {
_rotation = (random(360) + 1);
}
Symbol 1142 MovieClip Frame 195
_root.canmove = 2;
gotoAndPlay (91);
Symbol 1142 MovieClip Frame 206
_root.fumee_go = 2;
Symbol 1142 MovieClip Frame 219
_root.fumee_go = 2;
Symbol 1142 MovieClip Frame 225
gotoAndPlay (201);
Symbol 1145 MovieClip Frame 1
stop();
Symbol 1147 MovieClip Frame 1
stop();
Instance of Symbol 975 MovieClip in Symbol 1147 MovieClip Frame 2
onClipEvent (load) {
if (_parent.no_rocks == 2) {
_parent.no_rocks = 1;
_visible = false;
}
}
Instance of Symbol 1145 MovieClip in Symbol 1147 MovieClip Frame 2
onClipEvent (load) {
if (_parent._parent.helico.sidex == 250) {
_rotation = -27;
} else {
_rotation = 27;
}
}
Symbol 1147 MovieClip Frame 40
gotoAndStop (1);
Symbol 1150 MovieClip Frame 1
stop();
_root.helicogo = 1;
_root.bh_nb = 1;
timer = 5;
onEnterFrame = function () {
if (_root.helicogo == 4) {
_root.helicogo = 5;
aa = random(2) + 1;
if (aa == 1) {
gotoAndPlay (2);
} else {
gotoAndPlay (421);
}
}
if (_currentframe != 1) {
canshoot = 1;
if ((_currentframe >= 3) && (_currentframe <= 195)) {
canshoot = 2;
}
if ((_currentframe >= 424) && (_currentframe <= 619)) {
canshoot = 2;
}
if (_currentframe <= 420) {
sidex = 250;
} else {
sidex = -250;
}
if (timer != 0) {
timer = timer - 1;
} else if (canshoot == 2) {
Set(("_parent.bh_" + _root.bh_nb) + "._x", boxx._x + sidex);
eval ("_parent.bh_" + _root.bh_nb).gotoAndPlay(2);
_root.bh_nb = _root.bh_nb + 1;
if (_root.bh_nb == 11) {
_root.bh_nb = 1;
}
timer = 5;
}
}
};
Symbol 1150 MovieClip Frame 420
gotoAndStop (1);
Symbol 1150 MovieClip Frame 840
gotoAndStop (1);
Symbol 1151 MovieClip Frame 1
stop();
Symbol 1155 MovieClip Frame 1
stop();
Symbol 1175 MovieClip Frame 40
stop();
Symbol 1178 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(Math.round((_root.reload_timer * 100) / _root.reload_timer_ini) + 1);
};
Symbol 1180 MovieClip Frame 1
onEnterFrame = function () {
if ((eval ("_root.wp_ammo_" + _root.wp) == 0) && (eval ("_root.wp_mag_" + _root.wp) == 0)) {
gotoAndStop (4);
} else {
if ((_root.ammo != 0) && (_root.reload != 2)) {
gotoAndStop (1);
}
if ((_root.ammo == 0) && (_root.reload != 2)) {
if (_root.mag != 0) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
if (_root.reload == 2) {
gotoAndStop (3);
}
}
};
Symbol 1185 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.energy <= 10) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Symbol 1189 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(Math.round((_root.energy * 5) / 100) + 1);
};
Symbol 1208 Button
on (press) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 1209 MovieClip Frame 1
boxx2.gotoAndStop(nb);
boxx3.gotoAndStop(nb);
stop();
onEnterFrame = function () {
if (nb != 1) {
if (_currentframe != 21) {
_y = ((eval (("_parent.gun_" + (nb - 1)) + "._y") + eval (("_parent.gun_" + (nb - 1)) + "._height")) + 10);
} else {
_y = (eval (("_parent.gun_" + (nb - 1)) + "._y") + eval (("_parent.gun_" + (nb - 1)) + "._height"));
}
}
if (act == 2) {
act = 1;
_root.wp = nb;
_root.cnt.bieber._x = 441;
}
txx = eval ("_root.wp_ammo_" + nb) + eval ("_root.wp_mag_" + nb);
};
if (eval ("_root.wp_" + nb) == 1) {
gotoAndStop (21);
}
Symbol 1209 MovieClip Frame 10
stop();
Symbol 1209 MovieClip Frame 20
gotoAndStop (1);
Symbol 1210 MovieClip Frame 1
stop();
Mouse.hide();
onEnterFrame = function () {
if (_root.cnt.bieber._x <= 440) {
Mouse.show();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Instance of Symbol 1209 MovieClip "gun_2" in Symbol 1210 MovieClip Frame 2
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 1209 MovieClip "gun_1" in Symbol 1210 MovieClip Frame 2
onClipEvent (load) {
nb = 1;
if (_root.wp_2 != 1) {
_y = (_y - 60);
}
if (_root.wp_3 != 1) {
_y = (_y - 60);
}
if (_root.wp_4 != 1) {
_y = (_y - 60);
}
if (_root.wp_5 != 1) {
_y = (_y - 60);
}
if (_root.wp_6 != 1) {
_y = (_y - 60);
}
}
Instance of Symbol 1209 MovieClip "gun_3" in Symbol 1210 MovieClip Frame 2
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 1209 MovieClip "gun_4" in Symbol 1210 MovieClip Frame 2
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 1209 MovieClip "gun_5" in Symbol 1210 MovieClip Frame 2
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 1209 MovieClip "gun_6" in Symbol 1210 MovieClip Frame 2
onClipEvent (load) {
nb = 6;
}
Symbol 1215 MovieClip Frame 1
gotoAndPlay (2);
Symbol 1215 MovieClip Frame 2
if (_root.lvl == 0) {
stop();
}
Symbol 1215 MovieClip Frame 20
_root.muz.gotoAndPlay(2);
Symbol 1215 MovieClip Frame 111
stop();
onEnterFrame = function () {
if (_root.cashb > _root.cash) {
_root.cash = _root.cash + 5;
boxxcash.boxx.gotoAndPlay(2);
gotoAndPlay (112);
}
};
Symbol 1215 MovieClip Frame 123
gotoAndStop (111);
Symbol 1237 MovieClip Frame 1
if (_root.lvl != 0) {
stop();
}
Mouse.hide();
onEnterFrame = function () {
};
Symbol 1237 MovieClip Frame 2
stop();
onEnterFrame = function () {
Mouse.show();
if (_root.cnt.bieber._x < 441) {
_root.cnt.bieber._x = 441;
}
};
Instance of Symbol 116 MovieClip in Symbol 1237 MovieClip Frame 2
onClipEvent (load) {
txx = "Let's GO !";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.lvl = 1;
_root.got2go = 4;
}
}
Symbol 1241 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.wave_cleared_go == 2) {
_root.wave_cleared_go = 1;
gotoAndPlay (2);
}
};
Symbol 1241 MovieClip Frame 2
speed = 1;
onEnterFrame = function () {
_root.cnt.bieber.gotoAndStop(1);
_root.canmove = 1;
_root.canshoot = 1;
_root.cnt._y = _root.cnt._y + speed;
_root.plan_1._y = _root.plan_1._y + speed;
_root.plan_2._y = _root.plan_2._y + (speed * 0.9);
_root.plan_3._y = _root.plan_3._y + (speed * 0.82);
_root.plan_4._y = _root.plan_4._y + (speed * 0.75);
speed = speed * 1.05;
};
Symbol 1241 MovieClip Frame 150
_root.got2go = 2;
stop();
Symbol 1245 MovieClip Frame 1
stop();
Symbol 1246 MovieClip Frame 1
stop();
Symbol 1247 MovieClip Frame 1
stop();
Symbol 1249 MovieClip Frame 1
stopAllSounds();
stop();
Symbol 1249 MovieClip Frame 3
stop();
Symbol 1255 MovieClip Frame 1
stop();
Symbol 1255 MovieClip Frame 3
stop();
Symbol 1255 MovieClip Frame 5
stop();
Symbol 1255 MovieClip Frame 7
stop();
Symbol 1255 MovieClip Frame 9
stop();
Symbol 1255 MovieClip Frame 11
stop();
Symbol 1255 MovieClip Frame 13
stop();