Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("466e2030", this, 10301, true);
lavr = 56;
function menuChoiceOne() {
getURL ("http://www.bored.com", "_blank");
}
st_qual = 2;
st_volum = 100;
testing = 1;
stop();
_root.user = SharedObject.getLocal("user_DecayOfMen");
onEnterFrame = function () {
};
NewMenu = new ContextMenu();
NewMenu.hideBuiltInItems();
NewMenu.customItems.push(new ContextMenuItem("Bored.com", menuChoiceOne));
this.menu = NewMenu;
Frame 3
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (4);
}
if (Key.isDown(32)) {
if (key_released_32 == 2) {
key_released_32 = 1;
gotoAndPlay (4);
}
} else {
key_released_32 = 2;
}
};
Frame 17
stop();
onEnterFrame = function () {
if (got2go == 2) {
got2go = 1;
gotoAndStop (18);
}
if (Key.isDown(32)) {
if (key_released_32 == 2) {
key_released_32 = 1;
gotoAndPlay (18);
}
} else {
key_released_32 = 2;
}
};
Frame 18
keyboard = 1;
if (keyboard_asked != 2) {
keyboard_asked = 2;
} else {
gotoAndStop (19);
}
stop();
onEnterFrame = function () {
if (got2go == 2) {
got2go = 1;
gotoAndStop (19);
}
};
Frame 19
stop();
onEnterFrame = function () {
if (got2go == 2) {
got2go = 1;
gotoAndStop (20);
}
if (Key.isDown(32)) {
if (key_released_32 == 2) {
key_released_32 = 1;
gotoAndPlay (20);
}
} else {
key_released_32 = 2;
}
};
Frame 20
Mouse.show();
muz = 1;
armor = 0;
lvl2 = 0;
game_cleared = 1;
wp_1 = 4;
wp_2 = 1;
wp_3 = 0;
bag = 1;
wood = 5;
metal = 0;
textile = 5;
food = 5;
water = 5;
stones = 20;
st_bullets_shot = 1;
st_bullets_hited = 1;
st_bullets_headshot = 0;
st_enemies_killed = 0;
st_civils_killed = 0;
st_items_found = 0;
st_items_trade = 0;
item_1 = 0;
item_lvl_1 = 0;
item_qty_1 = 0;
item_posi_1 = 0;
item_2 = 0;
item_3 = 0;
item_4 = 0;
item_5 = 0;
item_6 = 0;
item_7 = 0;
item_8 = 0;
item_9 = 0;
item_10 = 0;
item_11 = 0;
item_12 = 0;
item_13 = 0;
item_14 = 0;
item_15 = 0;
item_16 = 0;
item_17 = 0;
item_18 = 0;
item_19 = 0;
item_20 = 0;
item_21 = 0;
item_22 = 0;
item_23 = 0;
item_24 = 0;
item_1 = 20;
item_lvl_1 = 11111;
item_qty_1 = 0;
item_posi_1 = 1;
item_2 = 27;
item_lvl_2 = 11111;
item_qty_2 = 100;
item_posi_2 = 3;
item_3 = 27;
item_lvl_3 = 11111;
item_qty_3 = 100;
item_posi_3 = 5;
item_4 = 22;
item_lvl_4 = 11111;
item_qty_4 = 0;
item_posi_4 = 17;
item_5 = 28;
item_lvl_5 = 11111;
item_qty_5 = 100;
item_posi_5 = 20;
item_6 = 28;
item_lvl_6 = 11111;
item_qty_6 = 100;
item_posi_6 = 22;
cost_1 = 2;
cost_2 = cost_1 * 3;
cost_3 = cost_1 * 10;
cost_4 = 3;
cost_5 = cost_4 * 3;
cost_6 = cost_4 * 10;
cost_7 = 1;
cost_8 = cost_7 * 3;
cost_9 = cost_7 * 10;
cost_10 = 5;
cost_11 = cost_10 * 3;
cost_12 = cost_10 * 10;
cost_13 = 4;
cost_14 = cost_13 * 3;
cost_15 = cost_13 * 10;
cost_16 = 1;
cost_17 = 5;
cost_18 = 10;
cost_19 = 100;
cost_20 = 35;
cost_21 = 50;
cost_22 = 60;
cost_23 = 100;
cost_24 = 75;
cost_25 = 125;
cost_26 = 125;
cost_27 = 10;
cost_28 = 5;
cost_29 = 15;
cost_30 = 10;
cost_31 = 15;
cost_32 = 50;
cost_33 = 150;
cost_34 = 0;
cost_35 = 0;
cost_36 = 0;
cost_37 = 0;
cost_38 = 0;
cost_39 = 0;
cost_40 = 0;
cost_41 = 0;
cost_42 = 0;
cost_43 = 0;
cost_44 = 0;
cost_45 = 0;
cost_46 = 0;
cost_47 = 0;
cost_48 = 0;
cost_49 = 0;
cost_50 = 0;
cost_upg_1 = 10;
cost_upg_2 = 15;
cost_upg_3 = 15;
cost_upg_4 = 15;
cost_upg_5 = 20;
upgVal_20_1_1 = 75;
upgVal_20_1_2 = 50;
upgVal_20_1_3 = 20;
upgVal_20_2_1 = 12;
upgVal_20_2_2 = 9;
upgVal_20_2_3 = 6;
upgVal_20_3_1 = 40;
upgVal_20_3_2 = 20;
upgVal_20_3_3 = 10;
upgVal_20_4_1 = 10;
upgVal_20_4_2 = 15;
upgVal_20_4_3 = 22;
upgVal_20_5_1 = 25;
upgVal_20_5_2 = 30;
upgVal_20_5_3 = 35;
upgVal_21_1_1 = 130;
upgVal_21_1_2 = 100;
upgVal_21_1_3 = 50;
upgVal_21_2_1 = 8;
upgVal_21_2_2 = 6;
upgVal_21_2_3 = 3;
upgVal_21_3_1 = 35;
upgVal_21_3_2 = 18;
upgVal_21_3_3 = 8;
upgVal_21_4_1 = 6;
upgVal_21_4_2 = 6;
upgVal_21_4_3 = 6;
upgVal_21_5_1 = 70;
upgVal_21_5_2 = 100;
upgVal_21_5_3 = 135;
upgVal_22_1_1 = 75;
upgVal_22_1_2 = 50;
upgVal_22_1_3 = 20;
upgVal_22_2_1 = 5;
upgVal_22_2_2 = 4;
upgVal_22_2_3 = 3;
upgVal_22_3_1 = 45;
upgVal_22_3_2 = 30;
upgVal_22_3_3 = 20;
upgVal_22_4_1 = 18;
upgVal_22_4_2 = 25;
upgVal_22_4_3 = 50;
upgVal_22_5_1 = 25;
upgVal_22_5_2 = 30;
upgVal_22_5_3 = 35;
upgVal_23_1_1 = 85;
upgVal_23_1_2 = 65;
upgVal_23_1_3 = 35;
upgVal_23_2_1 = 4;
upgVal_23_2_2 = 3;
upgVal_23_2_3 = 2;
upgVal_23_3_1 = 35;
upgVal_23_3_2 = 20;
upgVal_23_3_3 = 5;
upgVal_23_4_1 = 45;
upgVal_23_4_2 = 50;
upgVal_23_4_3 = 75;
upgVal_23_5_1 = 30;
upgVal_23_5_2 = 35;
upgVal_23_5_3 = 45;
upgVal_24_1_1 = 150;
upgVal_24_1_2 = 125;
upgVal_24_1_3 = 100;
upgVal_24_2_1 = 25;
upgVal_24_2_2 = 15;
upgVal_24_2_3 = 10;
upgVal_24_3_1 = 100;
upgVal_24_3_2 = 95;
upgVal_24_3_3 = 80;
upgVal_24_4_1 = 2;
upgVal_24_4_2 = 2;
upgVal_24_4_3 = 2;
upgVal_24_5_1 = 100;
upgVal_24_5_2 = 120;
upgVal_24_5_3 = 145;
upgVal_25_1_1 = 200;
upgVal_25_1_2 = 150;
upgVal_25_1_3 = 75;
upgVal_25_2_1 = 20;
upgVal_25_2_2 = 12;
upgVal_25_2_3 = 6;
upgVal_25_3_1 = 90;
upgVal_25_3_2 = 80;
upgVal_25_3_3 = 65;
upgVal_25_4_1 = 12;
upgVal_25_4_2 = 15;
upgVal_25_4_3 = 20;
upgVal_25_5_1 = 80;
upgVal_25_5_2 = 130;
upgVal_25_5_3 = 200;
upgVal_26_1_1 = 125;
upgVal_26_1_2 = 100;
upgVal_26_1_3 = 65;
upgVal_26_2_1 = 18;
upgVal_26_2_2 = 13;
upgVal_26_2_3 = 7;
upgVal_26_3_1 = 15;
upgVal_26_3_2 = 10;
upgVal_26_3_3 = 0;
upgVal_26_4_1 = 10;
upgVal_26_4_2 = 15;
upgVal_26_4_3 = 22;
upgVal_26_5_1 = 75;
upgVal_26_5_2 = 100;
upgVal_26_5_3 = 300;
wpmunition_type_20 = 27;
wpmunition_type_21 = 31;
wpmunition_type_22 = 28;
wpmunition_type_23 = 28;
wpmunition_type_24 = 29;
wpmunition_type_25 = 29;
wpmunition_type_26 = 30;
objective_txx_1 = "Find enough metal to repair your vehicule.";
objective_element_1_1 = 2;
objective_element_1_2 = 0;
objective_element_1_3 = 0;
objective_element_nb_1_1 = 13;
objective_element_nb_1_2 = 0;
objective_element_nb_1_3 = 0;
objective_txx_2 = "Find enough provisions to survive the desert.";
objective_element_2_1 = 4;
objective_element_2_2 = 5;
objective_element_2_3 = 0;
objective_element_nb_2_1 = 40;
objective_element_nb_2_2 = 40;
objective_element_nb_2_3 = 0;
objective_txx_3 = "Nights are cold. Find some material to build yourself a shelter.";
objective_element_3_1 = 1;
objective_element_3_2 = 3;
objective_element_3_3 = 0;
objective_element_nb_3_1 = 50;
objective_element_nb_3_2 = 50;
objective_element_nb_3_3 = 0;
objective_txx_4 = "These regions are heavily barricaded & armed. Prepare your own protection as well.";
objective_element_4_1 = 1;
objective_element_4_2 = 2;
objective_element_4_3 = 3;
objective_element_nb_4_1 = 75;
objective_element_nb_4_2 = 75;
objective_element_nb_4_3 = 75;
case_1 = 0;
case_2 = 0;
case_3 = 0;
case_4 = 0;
case_5 = 0;
case_6 = 0;
case_7 = 0;
case_8 = 0;
case_9 = 0;
case_10 = 0;
case_11 = 0;
case_12 = 0;
case_13 = 0;
case_14 = 0;
case_15 = 0;
case_16 = 0;
case_17 = 0;
case_18 = 0;
case_19 = 0;
case_20 = 0;
case_21 = 0;
case_22 = 0;
case_23 = 0;
case_24 = 0;
case_25 = 0;
case_26 = 0;
case_27 = 0;
case_28 = 0;
case_29 = 0;
case_30 = 0;
case_31 = 0;
case_32 = 0;
case_33 = 0;
case_34 = 0;
case_35 = 0;
case_36 = 0;
case_37 = 0;
case_38 = 0;
case_39 = 0;
case_40 = 0;
case_41 = 0;
case_42 = 0;
case_43 = 0;
case_44 = 0;
case_45 = 0;
case_46 = 0;
case_47 = 0;
case_48 = 0;
case_49 = 0;
case_50 = 0;
case_51 = 0;
case_52 = 0;
case_53 = 0;
case_54 = 0;
case_55 = 0;
case_56 = 0;
case_57 = 0;
case_58 = 0;
case_59 = 0;
case_60 = 0;
case_61 = 0;
case_62 = 0;
case_63 = 0;
case_64 = 0;
case_65 = 0;
case_66 = 0;
case_67 = 0;
case_68 = 0;
case_69 = 0;
case_70 = 0;
case_71 = 0;
case_72 = 0;
case_73 = 0;
case_74 = 0;
case_75 = 0;
case_76 = 0;
case_77 = 0;
case_78 = 0;
case_79 = 0;
case_80 = 0;
case_81 = 0;
case_82 = 0;
case_83 = 0;
case_84 = 0;
case_85 = 0;
case_86 = 0;
case_87 = 0;
case_88 = 0;
case_89 = 0;
case_90 = 0;
case_91 = 0;
case_92 = 0;
case_93 = 0;
case_94 = 0;
case_95 = 0;
case_96 = 0;
case_1 = 1;
case_2 = 1;
case_3 = 2;
case_4 = 2;
case_5 = 3;
case_6 = 3;
case_7 = 0;
case_8 = 0;
case_9 = 1;
case_10 = 1;
case_11 = 2;
case_12 = 2;
case_13 = 3;
case_14 = 3;
case_15 = 0;
case_16 = 0;
case_17 = 4;
case_18 = 4;
case_19 = 4;
case_20 = 5;
case_21 = 5;
case_22 = 6;
case_23 = 6;
case_24 = 0;
case_25 = 4;
case_26 = 4;
case_27 = 4;
case_28 = 5;
case_29 = 5;
case_30 = 6;
case_31 = 6;
case_32 = 0;
ac_1 = 1;
ac_2 = 1;
ac_3 = 1;
ac_4 = 1;
ac_5 = 1;
ac_6 = 1;
ac_7 = 1;
ac_8 = 1;
ac_9 = 1;
ac_10 = 1;
ac_11 = 1;
ac_12 = 1;
ac_13 = 1;
ac_14 = 1;
ac_title_1 = "First Kill";
ac_def_1 = "Kill your first enemy.";
ac_title_2 = "Good Guy";
ac_def_2 = "Finish a wave without killing civilians.";
ac_title_3 = "Head in the Clouds";
ac_def_3 = "Do a total of 35 headshots.";
ac_title_4 = "Worn Out Shoes";
ac_def_4 = "Travel 200 miles.";
ac_title_5 = "Ready for War";
ac_def_5 = "Use the Dragunov.";
ac_title_6 = "Blowing Holes";
ac_def_6 = "Use the SPA-12.";
ac_title_7 = "New World Builder";
ac_def_7 = "Possess 10 items of each element.";
ac_title_8 = "Barter";
ac_def_8 = "Trade 50 items.";
ac_title_9 = "Survive the decay";
ac_def_9 = "Finish the game.";
ac_title_10 = "Survivor Fate";
ac_def_10 = "Kill 20 civilians.";
ac_title_11 = "The Capitalist";
ac_def_11 = "Possess 1000 stones.";
ac_title_12 = "Dead Man";
ac_def_12 = "Be out of ammo.";
ac_title_13 = "Groundhog";
ac_def_13 = "Stay in cover for 1 minute.";
ac_title_14 = "Rapid Fire";
ac_def_14 = "Clear a wave without getting shot.";
item_kind_1 = 1;
item_kind_2 = 1;
item_kind_3 = 1;
item_kind_4 = 2;
item_kind_5 = 2;
item_kind_6 = 2;
item_kind_7 = 3;
item_kind_8 = 3;
item_kind_9 = 3;
item_kind_10 = 4;
item_kind_11 = 4;
item_kind_12 = 4;
item_kind_13 = 5;
item_kind_14 = 5;
item_kind_15 = 5;
item_kind_16 = 6;
item_kind_17 = 6;
item_kind_18 = 6;
item_kind_19 = 6;
item_kind_20 = 7;
item_kind_21 = 7;
item_kind_22 = 7;
item_kind_23 = 7;
item_kind_24 = 7;
item_kind_25 = 7;
item_kind_26 = 7;
item_kind_27 = 9;
item_kind_28 = 9;
item_kind_29 = 9;
item_kind_30 = 9;
item_kind_31 = 9;
item_kind_32 = 10;
item_kind_33 = 10;
item_kind_34 = 8;
item_kind_35 = 8;
item_kind_36 = 8;
item_kind_37 = 8;
item_kind_38 = 8;
item_kind_39 = 8;
item_kind_40 = 8;
item_kind_41 = 1;
item_kind_42 = 1;
item_kind_43 = 1;
item_kind_44 = 1;
item_kind_45 = 1;
item_kind_46 = 1;
item_kind_47 = 1;
item_kind_48 = 1;
item_kind_49 = 1;
item_kind_50 = 1;
item_qty_27 = 100;
item_qty_28 = 100;
item_qty_29 = 48;
item_qty_30 = 50;
item_qty_31 = 30;
item_name_1 = "Wood Plank";
item_name_2 = "Stack of Wood";
item_name_3 = "Wood Crate";
item_name_4 = "Metal Sheet";
item_name_5 = "Metal Pipe";
item_name_6 = "Metal Beam";
item_name_7 = "Piece of Fabric";
item_name_8 = "Some Cloth";
item_name_9 = "Thick Drapes";
item_name_10 = "Bread Crumb";
item_name_11 = "Sliced Bread";
item_name_12 = "Loaf of Bread";
item_name_13 = "Water Flask";
item_name_14 = "Water Bottle";
item_name_15 = "Water Jug";
item_name_16 = "Rough Stone";
item_name_17 = "Gemstone";
item_name_18 = "Ruby";
item_name_19 = "Gold";
item_name_20 = "Pk-z3";
item_name_21 = "K.357 Magnum";
item_name_22 = "Tr6-K";
item_name_23 = "Ak-47";
item_name_24 = "Sawed Off Shotgun";
item_name_25 = "SPA-12";
item_name_26 = "Dragunov";
item_name_27 = "Handgun Ammo";
item_name_28 = "Assault Ammo";
item_name_29 = "Shotgun Ammo";
item_name_30 = "Rifle Ammo";
item_name_31 = "Magnum Ammo";
item_name_32 = "Large Bag";
item_name_33 = "Big Case";
item_name_34 = "";
item_name_35 = "";
item_name_36 = "";
item_name_37 = "";
item_name_38 = "";
item_name_39 = "";
item_name_40 = "";
item_name_41 = "";
item_name_42 = "";
item_name_43 = "";
item_name_44 = "";
item_name_45 = "";
item_name_46 = "";
item_name_47 = "";
item_name_48 = "";
item_name_49 = "";
item_name_50 = "";
element_name_1 = "wood";
element_name_2 = "metal";
element_name_3 = "textile";
element_name_4 = "food";
element_name_5 = "water";
element_name_6 = "stones";
item_value_1_1 = 1;
item_value_2_1 = 3;
item_value_3_1 = 10;
item_value_4_2 = 1;
item_value_5_2 = 3;
item_value_6_2 = 10;
item_value_7_3 = 1;
item_value_8_3 = 3;
item_value_9_3 = 10;
item_value_10_4 = 1;
item_value_11_4 = 3;
item_value_12_4 = 10;
item_value_13_5 = 1;
item_value_14_5 = 3;
item_value_15_5 = 10;
item_value_16_6 = 10;
item_value_17_6 = 25;
item_value_18_6 = 50;
item_value_19_6 = 100;
call_civil_rescued_1 = "You arrived just in time! Here take this for my gratitude!";
call_civil_rescued_2 = "I'm alive thanks to you... Take everything I have!";
call_civil_rescued_3 = "You are a savior sent by god? Thank you. Accept this simple gift.";
call_civil_rescued_4 = "Take everything you need. I owe you much more than these mere trinkets.";
call_civil_rescued_5 = "Oh thanks! I almost died back there.";
call_civil_trade_1 = "What do you have to trade?";
call_civil_trade_2 = "I can give you this, if you can find what I'm looking for.";
call_civil_trade_3 = "Essentials are rare. What do you need?";
call_civil_trade_4 = "I think you will find these useful.";
call_civil_trade_5 = "Give me what I need! Your only hope is to trade with me my friend.";
call_civil_seller_1 = "If you have stones then I can sell you anything stranger. If not get out of my sight.";
call_civil_seller_2 = "You won't survive long without a better equipment.";
call_civil_seller_3 = "You look like a man in need. How can I help you friend?";
call_civil_seller_4 = "Don't be naive, you will need much more bullets then water in these lost regions.";
call_civil_seller_5 = "Well done stranger! You decided to be a hunter instead of being the hunted. Wise choice!";
timer_menu = 50;
menuu.boxx.page = 1;
menuu._alpha = 0;
volum_per = 100;
stop();
onEnterFrame = function () {
if (timer_menu > 0) {
timer_menu = timer_menu - 1;
if (Key.isDown(32)) {
if (key_released_32 == 2) {
key_released_32 = 1;
timer_menu = 0;
}
} else {
key_released_32 = 2;
}
} else if (menuu._alpha < 100) {
menuu._alpha = menuu._alpha + 1;
}
mySound = new Sound();
mySound.setVolume((_root.st_volum * volum_per) / 100);
mySound.start(0, 1000);
if (got2go == 2) {
got2go = 1;
menuu._alpha = 100;
gotoAndStop (40);
}
if (got2go == 3) {
got2go = 1;
gotoAndStop (51);
}
if (got2go == 4) {
got2go = 1;
gotoAndStop (52);
}
if (load_go == 2) {
load_go = 3;
load_timer = 50;
_root.lvl2 = _root.user.data.lvl2;
_root.game_cleared = _root.user.data.game_cleared;
_root.bag = _root.user.data.bag;
_root.wood = _root.user.data.wood;
_root.metal = _root.user.data.metal;
_root.textile = _root.user.data.textile;
_root.food = _root.user.data.food;
_root.water = _root.user.data.water;
_root.stones = _root.user.data.stones;
_root.st_bullets_shot = _root.user.data.st_bullets_shot;
_root.st_bullets_hited = _root.user.data.st_bullets_hited;
_root.st_bullets_headshot = _root.user.data.st_bullets_headshot;
_root.st_enemies_killed = _root.user.data.st_enemies_killed;
_root.st_civils_killed = _root.user.data.st_civils_killed;
_root.st_items_found = _root.user.data.st_items_found;
_root.st_items_trade = _root.user.data.st_items_trade;
_root.item_1 = _root.user.data.item_1;
_root.item_2 = _root.user.data.item_2;
_root.item_3 = _root.user.data.item_3;
_root.item_4 = _root.user.data.item_4;
_root.item_5 = _root.user.data.item_5;
_root.item_6 = _root.user.data.item_6;
_root.item_7 = _root.user.data.item_7;
_root.item_8 = _root.user.data.item_8;
_root.item_9 = _root.user.data.item_9;
_root.item_10 = _root.user.data.item_10;
_root.item_11 = _root.user.data.item_11;
_root.item_12 = _root.user.data.item_12;
_root.item_13 = _root.user.data.item_13;
_root.item_14 = _root.user.data.item_14;
_root.item_15 = _root.user.data.item_15;
_root.item_16 = _root.user.data.item_16;
_root.item_17 = _root.user.data.item_17;
_root.item_18 = _root.user.data.item_18;
_root.item_19 = _root.user.data.item_19;
_root.item_20 = _root.user.data.item_20;
_root.item_21 = _root.user.data.item_21;
_root.item_22 = _root.user.data.item_22;
_root.item_23 = _root.user.data.item_23;
_root.item_24 = _root.user.data.item_24;
_root.item_lvl_1 = _root.user.data.item_lvl_1;
_root.item_lvl_2 = _root.user.data.item_lvl_2;
_root.item_lvl_3 = _root.user.data.item_lvl_3;
_root.item_lvl_4 = _root.user.data.item_lvl_4;
_root.item_lvl_5 = _root.user.data.item_lvl_5;
_root.item_lvl_6 = _root.user.data.item_lvl_6;
_root.item_lvl_7 = _root.user.data.item_lvl_7;
_root.item_lvl_8 = _root.user.data.item_lvl_8;
_root.item_lvl_9 = _root.user.data.item_lvl_9;
_root.item_lvl_10 = _root.user.data.item_lvl_10;
_root.item_lvl_11 = _root.user.data.item_lvl_11;
_root.item_lvl_12 = _root.user.data.item_lvl_12;
_root.item_lvl_13 = _root.user.data.item_lvl_13;
_root.item_lvl_14 = _root.user.data.item_lvl_14;
_root.item_lvl_15 = _root.user.data.item_lvl_15;
_root.item_lvl_16 = _root.user.data.item_lvl_16;
_root.item_lvl_17 = _root.user.data.item_lvl_17;
_root.item_lvl_18 = _root.user.data.item_lvl_18;
_root.item_lvl_19 = _root.user.data.item_lvl_19;
_root.item_lvl_20 = _root.user.data.item_lvl_20;
_root.item_lvl_21 = _root.user.data.item_lvl_21;
_root.item_lvl_22 = _root.user.data.item_lvl_22;
_root.item_lvl_23 = _root.user.data.item_lvl_23;
_root.item_lvl_24 = _root.user.data.item_lvl_24;
_root.item_qty_1 = _root.user.data.item_qty_1;
_root.item_qty_2 = _root.user.data.item_qty_2;
_root.item_qty_3 = _root.user.data.item_qty_3;
_root.item_qty_4 = _root.user.data.item_qty_4;
_root.item_qty_5 = _root.user.data.item_qty_5;
_root.item_qty_6 = _root.user.data.item_qty_6;
_root.item_qty_7 = _root.user.data.item_qty_7;
_root.item_qty_8 = _root.user.data.item_qty_8;
_root.item_qty_9 = _root.user.data.item_qty_9;
_root.item_qty_10 = _root.user.data.item_qty_10;
_root.item_qty_11 = _root.user.data.item_qty_11;
_root.item_qty_12 = _root.user.data.item_qty_12;
_root.item_qty_13 = _root.user.data.item_qty_13;
_root.item_qty_14 = _root.user.data.item_qty_14;
_root.item_qty_15 = _root.user.data.item_qty_15;
_root.item_qty_16 = _root.user.data.item_qty_16;
_root.item_qty_17 = _root.user.data.item_qty_17;
_root.item_qty_18 = _root.user.data.item_qty_18;
_root.item_qty_19 = _root.user.data.item_qty_19;
_root.item_qty_20 = _root.user.data.item_qty_20;
_root.item_qty_21 = _root.user.data.item_qty_21;
_root.item_qty_22 = _root.user.data.item_qty_22;
_root.item_qty_23 = _root.user.data.item_qty_23;
_root.item_qty_24 = _root.user.data.item_qty_24;
_root.item_posi_1 = _root.user.data.item_posi_1;
_root.item_posi_2 = _root.user.data.item_posi_2;
_root.item_posi_3 = _root.user.data.item_posi_3;
_root.item_posi_4 = _root.user.data.item_posi_4;
_root.item_posi_5 = _root.user.data.item_posi_5;
_root.item_posi_6 = _root.user.data.item_posi_6;
_root.item_posi_7 = _root.user.data.item_posi_7;
_root.item_posi_8 = _root.user.data.item_posi_8;
_root.item_posi_9 = _root.user.data.item_posi_9;
_root.item_posi_10 = _root.user.data.item_posi_10;
_root.item_posi_11 = _root.user.data.item_posi_11;
_root.item_posi_12 = _root.user.data.item_posi_12;
_root.item_posi_13 = _root.user.data.item_posi_13;
_root.item_posi_14 = _root.user.data.item_posi_14;
_root.item_posi_15 = _root.user.data.item_posi_15;
_root.item_posi_16 = _root.user.data.item_posi_16;
_root.item_posi_17 = _root.user.data.item_posi_17;
_root.item_posi_18 = _root.user.data.item_posi_18;
_root.item_posi_19 = _root.user.data.item_posi_19;
_root.item_posi_20 = _root.user.data.item_posi_20;
_root.item_posi_21 = _root.user.data.item_posi_21;
_root.item_posi_22 = _root.user.data.item_posi_22;
_root.item_posi_23 = _root.user.data.item_posi_23;
_root.item_posi_24 = _root.user.data.item_posi_24;
_root.case_1 = _root.user.data.case_1;
_root.case_2 = _root.user.data.case_2;
_root.case_3 = _root.user.data.case_3;
_root.case_4 = _root.user.data.case_4;
_root.case_5 = _root.user.data.case_5;
_root.case_6 = _root.user.data.case_6;
_root.case_7 = _root.user.data.case_7;
_root.case_8 = _root.user.data.case_8;
_root.case_9 = _root.user.data.case_9;
_root.case_10 = _root.user.data.case_10;
_root.case_11 = _root.user.data.case_11;
_root.case_12 = _root.user.data.case_12;
_root.case_13 = _root.user.data.case_13;
_root.case_14 = _root.user.data.case_14;
_root.case_15 = _root.user.data.case_15;
_root.case_16 = _root.user.data.case_16;
_root.case_17 = _root.user.data.case_17;
_root.case_18 = _root.user.data.case_18;
_root.case_19 = _root.user.data.case_19;
_root.case_20 = _root.user.data.case_20;
_root.case_21 = _root.user.data.case_21;
_root.case_22 = _root.user.data.case_22;
_root.case_23 = _root.user.data.case_23;
_root.case_24 = _root.user.data.case_24;
_root.case_25 = _root.user.data.case_25;
_root.case_26 = _root.user.data.case_26;
_root.case_27 = _root.user.data.case_27;
_root.case_28 = _root.user.data.case_28;
_root.case_29 = _root.user.data.case_29;
_root.case_30 = _root.user.data.case_30;
_root.case_31 = _root.user.data.case_31;
_root.case_32 = _root.user.data.case_32;
_root.case_33 = _root.user.data.case_33;
_root.case_34 = _root.user.data.case_34;
_root.case_35 = _root.user.data.case_35;
_root.case_36 = _root.user.data.case_36;
_root.case_37 = _root.user.data.case_37;
_root.case_38 = _root.user.data.case_38;
_root.case_39 = _root.user.data.case_39;
_root.case_40 = _root.user.data.case_40;
_root.case_41 = _root.user.data.case_41;
_root.case_42 = _root.user.data.case_42;
_root.case_43 = _root.user.data.case_43;
_root.case_44 = _root.user.data.case_44;
_root.case_45 = _root.user.data.case_45;
_root.case_46 = _root.user.data.case_46;
_root.case_47 = _root.user.data.case_47;
_root.case_48 = _root.user.data.case_48;
_root.case_49 = _root.user.data.case_49;
_root.case_50 = _root.user.data.case_50;
_root.case_51 = _root.user.data.case_51;
_root.case_52 = _root.user.data.case_52;
_root.case_53 = _root.user.data.case_53;
_root.case_54 = _root.user.data.case_54;
_root.case_55 = _root.user.data.case_55;
_root.case_56 = _root.user.data.case_56;
_root.case_57 = _root.user.data.case_57;
_root.case_58 = _root.user.data.case_58;
_root.case_59 = _root.user.data.case_59;
_root.case_60 = _root.user.data.case_60;
_root.case_61 = _root.user.data.case_61;
_root.case_62 = _root.user.data.case_62;
_root.case_63 = _root.user.data.case_63;
_root.case_64 = _root.user.data.case_64;
_root.case_65 = _root.user.data.case_65;
_root.case_66 = _root.user.data.case_66;
_root.case_67 = _root.user.data.case_67;
_root.case_68 = _root.user.data.case_68;
_root.case_69 = _root.user.data.case_69;
_root.case_70 = _root.user.data.case_70;
_root.case_71 = _root.user.data.case_71;
_root.case_72 = _root.user.data.case_72;
_root.case_73 = _root.user.data.case_73;
_root.case_74 = _root.user.data.case_74;
_root.case_75 = _root.user.data.case_75;
_root.case_76 = _root.user.data.case_76;
_root.case_77 = _root.user.data.case_77;
_root.case_78 = _root.user.data.case_78;
_root.case_79 = _root.user.data.case_79;
_root.case_80 = _root.user.data.case_80;
_root.case_81 = _root.user.data.case_81;
_root.case_82 = _root.user.data.case_82;
_root.case_83 = _root.user.data.case_83;
_root.case_84 = _root.user.data.case_84;
_root.case_85 = _root.user.data.case_85;
_root.case_86 = _root.user.data.case_86;
_root.case_87 = _root.user.data.case_87;
_root.case_88 = _root.user.data.case_88;
_root.case_89 = _root.user.data.case_89;
_root.case_90 = _root.user.data.case_90;
_root.case_91 = _root.user.data.case_91;
_root.case_92 = _root.user.data.case_92;
_root.case_93 = _root.user.data.case_93;
_root.case_94 = _root.user.data.case_94;
_root.case_95 = _root.user.data.case_95;
_root.case_96 = _root.user.data.case_96;
_root.case_97 = _root.user.data.case_97;
_root.case_98 = _root.user.data.case_98;
_root.case_99 = _root.user.data.case_99;
_root.case_100 = _root.user.data.case_100;
_root.ac_1 = _root.user.data.ac_1;
_root.ac_2 = _root.user.data.ac_2;
_root.ac_3 = _root.user.data.ac_3;
_root.ac_4 = _root.user.data.ac_4;
_root.ac_5 = _root.user.data.ac_5;
_root.ac_6 = _root.user.data.ac_6;
_root.ac_7 = _root.user.data.ac_7;
_root.ac_8 = _root.user.data.ac_8;
_root.ac_9 = _root.user.data.ac_9;
_root.ac_10 = _root.user.data.ac_10;
_root.ac_11 = _root.user.data.ac_11;
_root.ac_12 = _root.user.data.ac_12;
_root.ac_13 = _root.user.data.ac_13;
_root.ac_14 = _root.user.data.ac_14;
}
if (load_go == 3) {
if (load_timer > 0) {
load_timer = load_timer - 1;
} else {
load_go = 1;
if (lvl2 > 0) {
menuu.boxx.gotoAndStop(2);
gotoAndStop (40);
} else {
got2go = 4;
}
}
}
};
Instance of Symbol 1117 MovieClip "version_boxx" in Frame 20
onClipEvent (load) {
boxx.gotoAndStop(Math.round(_root.lavr));
boxx2.boxx.gotoAndStop(Math.round(_root.lavr));
if (_root.lavr != 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
boxx2.gotoAndStop(boxx.shade + 1);
}
Frame 38
timer = 200;
stopAllSounds();
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
gotoAndStop (40);
}
};
Frame 39
muz = 1;
stones = stones + 500;
wood = 5;
metal = 0;
textile = 5;
food = 5;
water = 5;
lvl2 = 0;
from_finishgame = 2;
game_cleared = 2;
Mouse.show();
stop();
onEnterFrame = function () {
};
Frame 40
menuu.boxx.page = 32;
save_go = 2;
muz = 1;
Mouse.show();
stop();
onEnterFrame = function () {
if (testing == 2) {
if (Key.isDown(77)) {
if (key_released_77 == 2) {
key_released_77 = 1;
if (st_volum == 100) {
st_volum = 0;
} else {
st_volum = 100;
}
}
} else {
key_released_77 = 2;
}
}
if (menuu.boxx._currentframe != 6) {
_quality = "high";
} else {
if (st_qual == 1) {
_quality = "lovw";
}
if (st_qual == 2) {
_quality = "medium";
}
if (st_qual == 3) {
_quality = "high";
}
}
mySound = new Sound();
mySound.setVolume(_root.st_volum);
mySound.start(0, 1000);
if (got2go == 2) {
got2go = 1;
gotoAndStop (50);
}
if (got2go == 3) {
got2go = 1;
gotoAndStop (51);
}
if (got2go == 4) {
got2go = 1;
gotoAndStop (52);
}
if (save_go == 2) {
save_go = 3;
save_timer = 50;
_root.user.data.lvl2 = _root.lvl2;
_root.user.data.game_cleared = _root.game_cleared;
_root.user.data.bag = _root.bag;
_root.user.data.wood = _root.wood;
_root.user.data.metal = _root.metal;
_root.user.data.textile = _root.textile;
_root.user.data.food = _root.food;
_root.user.data.water = _root.water;
_root.user.data.stones = _root.stones;
_root.user.data.st_bullets_shot = _root.st_bullets_shot;
_root.user.data.st_bullets_hited = _root.st_bullets_hited;
_root.user.data.st_bullets_headshot = _root.st_bullets_headshot;
_root.user.data.st_enemies_killed = _root.st_enemies_killed;
_root.user.data.st_civils_killed = _root.st_civils_killed;
_root.user.data.st_items_found = _root.st_items_found;
_root.user.data.st_items_trade = _root.st_items_trade;
_root.user.data.item_1 = _root.item_1;
_root.user.data.item_2 = _root.item_2;
_root.user.data.item_3 = _root.item_3;
_root.user.data.item_4 = _root.item_4;
_root.user.data.item_5 = _root.item_5;
_root.user.data.item_6 = _root.item_6;
_root.user.data.item_7 = _root.item_7;
_root.user.data.item_8 = _root.item_8;
_root.user.data.item_9 = _root.item_9;
_root.user.data.item_10 = _root.item_10;
_root.user.data.item_11 = _root.item_11;
_root.user.data.item_12 = _root.item_12;
_root.user.data.item_13 = _root.item_13;
_root.user.data.item_14 = _root.item_14;
_root.user.data.item_15 = _root.item_15;
_root.user.data.item_16 = _root.item_16;
_root.user.data.item_17 = _root.item_17;
_root.user.data.item_18 = _root.item_18;
_root.user.data.item_19 = _root.item_19;
_root.user.data.item_20 = _root.item_20;
_root.user.data.item_21 = _root.item_21;
_root.user.data.item_22 = _root.item_22;
_root.user.data.item_23 = _root.item_23;
_root.user.data.item_24 = _root.item_24;
_root.user.data.item_lvl_1 = _root.item_lvl_1;
_root.user.data.item_lvl_2 = _root.item_lvl_2;
_root.user.data.item_lvl_3 = _root.item_lvl_3;
_root.user.data.item_lvl_4 = _root.item_lvl_4;
_root.user.data.item_lvl_5 = _root.item_lvl_5;
_root.user.data.item_lvl_6 = _root.item_lvl_6;
_root.user.data.item_lvl_7 = _root.item_lvl_7;
_root.user.data.item_lvl_8 = _root.item_lvl_8;
_root.user.data.item_lvl_9 = _root.item_lvl_9;
_root.user.data.item_lvl_10 = _root.item_lvl_10;
_root.user.data.item_lvl_11 = _root.item_lvl_11;
_root.user.data.item_lvl_12 = _root.item_lvl_12;
_root.user.data.item_lvl_13 = _root.item_lvl_13;
_root.user.data.item_lvl_14 = _root.item_lvl_14;
_root.user.data.item_lvl_15 = _root.item_lvl_15;
_root.user.data.item_lvl_16 = _root.item_lvl_16;
_root.user.data.item_lvl_17 = _root.item_lvl_17;
_root.user.data.item_lvl_18 = _root.item_lvl_18;
_root.user.data.item_lvl_19 = _root.item_lvl_19;
_root.user.data.item_lvl_20 = _root.item_lvl_20;
_root.user.data.item_lvl_21 = _root.item_lvl_21;
_root.user.data.item_lvl_22 = _root.item_lvl_22;
_root.user.data.item_lvl_23 = _root.item_lvl_23;
_root.user.data.item_lvl_24 = _root.item_lvl_24;
_root.user.data.item_qty_1 = _root.item_qty_1;
_root.user.data.item_qty_2 = _root.item_qty_2;
_root.user.data.item_qty_3 = _root.item_qty_3;
_root.user.data.item_qty_4 = _root.item_qty_4;
_root.user.data.item_qty_5 = _root.item_qty_5;
_root.user.data.item_qty_6 = _root.item_qty_6;
_root.user.data.item_qty_7 = _root.item_qty_7;
_root.user.data.item_qty_8 = _root.item_qty_8;
_root.user.data.item_qty_9 = _root.item_qty_9;
_root.user.data.item_qty_10 = _root.item_qty_10;
_root.user.data.item_qty_11 = _root.item_qty_11;
_root.user.data.item_qty_12 = _root.item_qty_12;
_root.user.data.item_qty_13 = _root.item_qty_13;
_root.user.data.item_qty_14 = _root.item_qty_14;
_root.user.data.item_qty_15 = _root.item_qty_15;
_root.user.data.item_qty_16 = _root.item_qty_16;
_root.user.data.item_qty_17 = _root.item_qty_17;
_root.user.data.item_qty_18 = _root.item_qty_18;
_root.user.data.item_qty_19 = _root.item_qty_19;
_root.user.data.item_qty_20 = _root.item_qty_20;
_root.user.data.item_qty_21 = _root.item_qty_21;
_root.user.data.item_qty_22 = _root.item_qty_22;
_root.user.data.item_qty_23 = _root.item_qty_23;
_root.user.data.item_qty_24 = _root.item_qty_24;
_root.user.data.item_posi_1 = _root.item_posi_1;
_root.user.data.item_posi_2 = _root.item_posi_2;
_root.user.data.item_posi_3 = _root.item_posi_3;
_root.user.data.item_posi_4 = _root.item_posi_4;
_root.user.data.item_posi_5 = _root.item_posi_5;
_root.user.data.item_posi_6 = _root.item_posi_6;
_root.user.data.item_posi_7 = _root.item_posi_7;
_root.user.data.item_posi_8 = _root.item_posi_8;
_root.user.data.item_posi_9 = _root.item_posi_9;
_root.user.data.item_posi_10 = _root.item_posi_10;
_root.user.data.item_posi_11 = _root.item_posi_11;
_root.user.data.item_posi_12 = _root.item_posi_12;
_root.user.data.item_posi_13 = _root.item_posi_13;
_root.user.data.item_posi_14 = _root.item_posi_14;
_root.user.data.item_posi_15 = _root.item_posi_15;
_root.user.data.item_posi_16 = _root.item_posi_16;
_root.user.data.item_posi_17 = _root.item_posi_17;
_root.user.data.item_posi_18 = _root.item_posi_18;
_root.user.data.item_posi_19 = _root.item_posi_19;
_root.user.data.item_posi_20 = _root.item_posi_20;
_root.user.data.item_posi_21 = _root.item_posi_21;
_root.user.data.item_posi_22 = _root.item_posi_22;
_root.user.data.item_posi_23 = _root.item_posi_23;
_root.user.data.item_posi_24 = _root.item_posi_24;
_root.user.data.case_1 = _root.case_1;
_root.user.data.case_2 = _root.case_2;
_root.user.data.case_3 = _root.case_3;
_root.user.data.case_4 = _root.case_4;
_root.user.data.case_5 = _root.case_5;
_root.user.data.case_6 = _root.case_6;
_root.user.data.case_7 = _root.case_7;
_root.user.data.case_8 = _root.case_8;
_root.user.data.case_9 = _root.case_9;
_root.user.data.case_10 = _root.case_10;
_root.user.data.case_11 = _root.case_11;
_root.user.data.case_12 = _root.case_12;
_root.user.data.case_13 = _root.case_13;
_root.user.data.case_14 = _root.case_14;
_root.user.data.case_15 = _root.case_15;
_root.user.data.case_16 = _root.case_16;
_root.user.data.case_17 = _root.case_17;
_root.user.data.case_18 = _root.case_18;
_root.user.data.case_19 = _root.case_19;
_root.user.data.case_20 = _root.case_20;
_root.user.data.case_21 = _root.case_21;
_root.user.data.case_22 = _root.case_22;
_root.user.data.case_23 = _root.case_23;
_root.user.data.case_24 = _root.case_24;
_root.user.data.case_25 = _root.case_25;
_root.user.data.case_26 = _root.case_26;
_root.user.data.case_27 = _root.case_27;
_root.user.data.case_28 = _root.case_28;
_root.user.data.case_29 = _root.case_29;
_root.user.data.case_30 = _root.case_30;
_root.user.data.case_31 = _root.case_31;
_root.user.data.case_32 = _root.case_32;
_root.user.data.case_33 = _root.case_33;
_root.user.data.case_34 = _root.case_34;
_root.user.data.case_35 = _root.case_35;
_root.user.data.case_36 = _root.case_36;
_root.user.data.case_37 = _root.case_37;
_root.user.data.case_38 = _root.case_38;
_root.user.data.case_39 = _root.case_39;
_root.user.data.case_40 = _root.case_40;
_root.user.data.case_41 = _root.case_41;
_root.user.data.case_42 = _root.case_42;
_root.user.data.case_43 = _root.case_43;
_root.user.data.case_44 = _root.case_44;
_root.user.data.case_45 = _root.case_45;
_root.user.data.case_46 = _root.case_46;
_root.user.data.case_47 = _root.case_47;
_root.user.data.case_48 = _root.case_48;
_root.user.data.case_49 = _root.case_49;
_root.user.data.case_50 = _root.case_50;
_root.user.data.case_51 = _root.case_51;
_root.user.data.case_52 = _root.case_52;
_root.user.data.case_53 = _root.case_53;
_root.user.data.case_54 = _root.case_54;
_root.user.data.case_55 = _root.case_55;
_root.user.data.case_56 = _root.case_56;
_root.user.data.case_57 = _root.case_57;
_root.user.data.case_58 = _root.case_58;
_root.user.data.case_59 = _root.case_59;
_root.user.data.case_60 = _root.case_60;
_root.user.data.case_61 = _root.case_61;
_root.user.data.case_62 = _root.case_62;
_root.user.data.case_63 = _root.case_63;
_root.user.data.case_64 = _root.case_64;
_root.user.data.case_65 = _root.case_65;
_root.user.data.case_66 = _root.case_66;
_root.user.data.case_67 = _root.case_67;
_root.user.data.case_68 = _root.case_68;
_root.user.data.case_69 = _root.case_69;
_root.user.data.case_70 = _root.case_70;
_root.user.data.case_71 = _root.case_71;
_root.user.data.case_72 = _root.case_72;
_root.user.data.case_73 = _root.case_73;
_root.user.data.case_74 = _root.case_74;
_root.user.data.case_75 = _root.case_75;
_root.user.data.case_76 = _root.case_76;
_root.user.data.case_77 = _root.case_77;
_root.user.data.case_78 = _root.case_78;
_root.user.data.case_79 = _root.case_79;
_root.user.data.case_80 = _root.case_80;
_root.user.data.case_81 = _root.case_81;
_root.user.data.case_82 = _root.case_82;
_root.user.data.case_83 = _root.case_83;
_root.user.data.case_84 = _root.case_84;
_root.user.data.case_85 = _root.case_85;
_root.user.data.case_86 = _root.case_86;
_root.user.data.case_87 = _root.case_87;
_root.user.data.case_88 = _root.case_88;
_root.user.data.case_89 = _root.case_89;
_root.user.data.case_90 = _root.case_90;
_root.user.data.case_91 = _root.case_91;
_root.user.data.case_92 = _root.case_92;
_root.user.data.case_93 = _root.case_93;
_root.user.data.case_94 = _root.case_94;
_root.user.data.case_95 = _root.case_95;
_root.user.data.case_96 = _root.case_96;
_root.user.data.case_97 = _root.case_97;
_root.user.data.case_98 = _root.case_98;
_root.user.data.case_99 = _root.case_99;
_root.user.data.case_100 = _root.case_100;
_root.user.data.ac_1 = _root.ac_1;
_root.user.data.ac_2 = _root.ac_2;
_root.user.data.ac_3 = _root.ac_3;
_root.user.data.ac_4 = _root.ac_4;
_root.user.data.ac_5 = _root.ac_5;
_root.user.data.ac_6 = _root.ac_6;
_root.user.data.ac_7 = _root.ac_7;
_root.user.data.ac_8 = _root.ac_8;
_root.user.data.ac_9 = _root.ac_9;
_root.user.data.ac_10 = _root.ac_10;
_root.user.data.ac_11 = _root.ac_11;
_root.user.data.ac_12 = _root.ac_12;
_root.user.data.ac_13 = _root.ac_13;
_root.user.data.ac_14 = _root.ac_14;
_root.user.data.user.flush();
}
if (save_go == 3) {
if (save_timer > 0) {
save_timer = save_timer - 1;
} else {
save_go = 1;
if (_root.from_finishgame == 2) {
_root.from_finishgame = 1;
gotoAndStop (17);
} else {
_root.menuu.boxx.gotoAndStop(2);
}
}
}
};
Frame 50
timer = 10;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
gotoAndStop (51);
}
};
Frame 51
act = 1;
posi = 0;
posi_stade = 2;
fixe = 1;
energy = 100;
energy_timer = 0;
hited = 0;
if (lvl2 <= 0) {
lvl2 = 1;
}
if (from_video == 2) {
from_video = 1;
pausedd = 2;
interr.pausee_menuu.gotoAndStop(21);
} else {
pausedd = 1;
}
lvl = lvl2;
if ((lvl == 1) || (lvl == 3)) {
muz = 2;
} else {
muz = 3;
}
zoom = 2;
zoomed = 1;
change_wp = 0;
change_wp_act = 1;
canmove = 2;
shake = 0;
shake_wp = 0;
hostile = 1;
Mouse.hide();
if (wp_1 == undefined) {
wp_1 = 1;
wp_2 = 2;
wp_3 = 3;
}
if (wp_1 != 0) {
wp = 1;
} else if (wp_2 != 0) {
wp = 2;
} else if (wp_3 != 0) {
wp = 3;
}
wp_typee_1 = eval ("item_" + wp_1);
wp_typee_2 = eval ("item_" + wp_2);
wp_typee_3 = eval ("item_" + wp_3);
wp_munition_1 = eval ("wpmunition_type_" + wp_typee_1);
wp_munition_2 = eval ("wpmunition_type_" + wp_typee_2);
wp_munition_3 = eval ("wpmunition_type_" + wp_typee_3);
wp_lvl_1 = eval ("item_lvl_" + wp_1);
wp_spec_1_1 = Math.floor(wp_lvl_1 / 10000);
wp_spec_1_2 = Math.floor((wp_lvl_1 - (wp_spec_1_1 * 10000)) / 1000);
wp_spec_1_3 = Math.floor(((wp_lvl_1 - (wp_spec_1_1 * 10000)) - (wp_spec_1_2 * 1000)) / 100);
wp_spec_1_4 = Math.floor((((wp_lvl_1 - (wp_spec_1_1 * 10000)) - (wp_spec_1_2 * 1000)) - (wp_spec_1_3 * 100)) / 10);
wp_spec_1_5 = Math.floor(((((wp_lvl_1 - (wp_spec_1_1 * 10000)) - (wp_spec_1_2 * 1000)) - (wp_spec_1_3 * 100)) - (wp_spec_1_4 * 10)) / 1);
reload_speed_1 = eval ((("upgVal_" + wp_typee_1) + "_1_") + wp_spec_1_1);
firing_rate_1 = eval ((("upgVal_" + wp_typee_1) + "_2_") + wp_spec_1_2);
accuracy_1 = eval ((("upgVal_" + wp_typee_1) + "_3_") + wp_spec_1_3);
ammo_capacity_ = eval ((("upgVal_" + wp_typee_1) + "_4_") + wp_spec_1_4);
firepower_1 = eval ((("upgVal_" + wp_typee_1) + "_5_") + wp_spec_1_5);
wp_lvl_2 = eval ("item_lvl_" + wp_2);
wp_spec_2_1 = Math.floor(wp_lvl_2 / 10000);
wp_spec_2_2 = Math.floor((wp_lvl_2 - (wp_spec_2_1 * 10000)) / 1000);
wp_spec_2_3 = Math.floor(((wp_lvl_2 - (wp_spec_2_1 * 10000)) - (wp_spec_2_2 * 1000)) / 100);
wp_spec_2_4 = Math.floor((((wp_lvl_2 - (wp_spec_2_1 * 10000)) - (wp_spec_2_2 * 1000)) - (wp_spec_2_3 * 100)) / 10);
wp_spec_2_5 = Math.floor(((((wp_lvl_2 - (wp_spec_2_1 * 10000)) - (wp_spec_2_2 * 1000)) - (wp_spec_2_3 * 100)) - (wp_spec_2_4 * 10)) / 1);
reload_speed_2 = eval ((("upgVal_" + wp_typee_2) + "_1_") + wp_spec_2_1);
firing_rate_2 = eval ((("upgVal_" + wp_typee_2) + "_2_") + wp_spec_2_2);
accuracy_2 = eval ((("upgVal_" + wp_typee_2) + "_3_") + wp_spec_2_3);
ammo_capacity_2 = eval ((("upgVal_" + wp_typee_2) + "_4_") + wp_spec_2_4);
firepower_2 = eval ((("upgVal_" + wp_typee_2) + "_5_") + wp_spec_2_5);
wp_lvl_3 = eval ("item_lvl_" + wp_3);
wp_spec_3_1 = Math.floor(wp_lvl_3 / 10000);
wp_spec_3_2 = Math.floor((wp_lvl_3 - (wp_spec_3_1 * 10000)) / 1000);
wp_spec_3_3 = Math.floor(((wp_lvl_3 - (wp_spec_3_1 * 10000)) - (wp_spec_3_2 * 1000)) / 100);
wp_spec_3_4 = Math.floor((((wp_lvl_3 - (wp_spec_3_1 * 10000)) - (wp_spec_3_2 * 1000)) - (wp_spec_3_3 * 100)) / 10);
wp_spec_3_5 = Math.floor(((((wp_lvl_3 - (wp_spec_3_1 * 10000)) - (wp_spec_3_2 * 1000)) - (wp_spec_3_3 * 100)) - (wp_spec_3_4 * 10)) / 1);
reload_speed_3 = eval ((("upgVal_" + wp_typee_3) + "_1_") + wp_spec_3_1);
firing_rate_3 = eval ((("upgVal_" + wp_typee_3) + "_2_") + wp_spec_3_2);
accuracy_3 = eval ((("upgVal_" + wp_typee_3) + "_3_") + wp_spec_3_3);
ammo_capacity_3 = eval ((("upgVal_" + wp_typee_3) + "_4_") + wp_spec_3_4);
firepower_3 = eval ((("upgVal_" + wp_typee_3) + "_5_") + wp_spec_3_5);
zoom_20 = 2;
zoom_21 = 2;
zoom_22 = 2.1;
zoom_23 = 2.3;
zoom_24 = 2;
zoom_25 = 2;
zoom_26 = 4.5;
munition_mag_nb = 31;
achiv_go = 0;
achiv_1_1 = 0;
achiv_2_1 = 0;
achiv_3_1 = 0;
achiv_4_1 = 0;
achiv_5_1 = 0;
achiv_6_1 = 0;
achiv_7_1 = 0;
achiv_8_1 = 0;
achiv_9_1 = 0;
achiv_10_1 = 0;
achiv_11_1 = 0;
achiv_12_1 = 0;
achiv_13_1 = 0;
achiv_14_1 = 0;
fireblast_nb = 1;
cooling = 0;
posix = 0;
lines_nb = 1;
speedcamx = 20;
var isMouseDown = false;
onMouseDown = function () {
isMouseDown = true;
};
onMouseUp = function () {
isMouseDown = false;
};
muz_force = 50;
stop();
onEnterFrame = function () {
if (mochi_inter_ad == 2) {
if (showmochimiddle == 2) {
showmochimiddle = 1;
mochi.as2.MochiAd.showClickAwayAd({clip:interr.pausee_menuu.mochiboxx, id:"b0c82c9e3257aa32"});
}
}
if (keyboard == 1) {
key_zoom = 87;
key_unzoom = 83;
key_reload = 82;
key_moveleft = 65;
key_moveright = 68;
} else {
key_zoom = 38;
key_unzoom = 40;
key_reload = 82;
key_moveleft = 37;
key_moveright = 39;
}
if (testing == 2) {
if (Key.isDown(84)) {
if (key_released_84 == 2) {
key_released_84 = 1;
if (visiblegen != 2) {
visiblegen = 2;
gen._visible = true;
} else {
visiblegen = 1;
gen._visible = false;
}
}
} else {
key_released_84 = 2;
}
if (Key.isDown(77)) {
if (key_released_77 == 2) {
key_released_77 = 1;
if (st_volum == 100) {
st_volum = 0;
} else {
st_volum = 100;
}
}
} else {
key_released_77 = 2;
}
if (Key.isDown(32)) {
if (key_released_32 == 2) {
key_released_32 = 1;
gen.spawned = gen.to_spawned;
gen.killed = gen.to_spawned;
}
} else {
key_released_32 = 2;
}
}
if (((ac_1 != 2) && (st_enemies_killed >= 1)) && (interr.achiv._currentframe == 1)) {
ac_1 = 2;
achiv_go = 1;
interr.achiv.gotoAndPlay(2);
}
if ((((ac_2 != 2) && (act == 2)) && (achiv_2_1 <= 0)) && (interr.achiv._currentframe == 1)) {
ac_2 = 2;
achiv_go = 2;
interr.achiv.gotoAndPlay(2);
}
if (((ac_3 != 2) && (st_bullets_headshot >= 35)) && (interr.achiv._currentframe == 1)) {
ac_3 = 2;
achiv_go = 3;
interr.achiv.gotoAndPlay(2);
}
if (((ac_4 != 2) && (lvl2 >= 3)) && (interr.achiv._currentframe == 1)) {
ac_4 = 2;
achiv_go = 4;
interr.achiv.gotoAndPlay(2);
}
if (((ac_5 != 2) && (_root.wp_typee == 26)) && (interr.achiv._currentframe == 1)) {
ac_5 = 2;
achiv_go = 5;
interr.achiv.gotoAndPlay(2);
}
if (((ac_6 != 2) && (_root.wp_typee == 25)) && (interr.achiv._currentframe == 1)) {
ac_6 = 2;
achiv_go = 6;
interr.achiv.gotoAndPlay(2);
}
if (((((((ac_7 != 2) && (wood >= 10)) && (metal >= 10)) && (textile >= 10)) && (food >= 10)) && (water >= 10)) && (interr.achiv._currentframe == 1)) {
ac_7 = 2;
achiv_go = 7;
interr.achiv.gotoAndPlay(2);
}
if (((ac_8 != 2) && (st_items_trade >= 50)) && (interr.achiv._currentframe == 1)) {
ac_8 = 2;
achiv_go = 8;
interr.achiv.gotoAndPlay(2);
}
if ((((ac_9 != 2) && (lvl2 >= 4)) && (got2go == 3)) && (interr.achiv._currentframe == 1)) {
ac_9 = 2;
achiv_go = 9;
interr.achiv.gotoAndPlay(2);
}
if (((ac_10 != 2) && (st_civils_killed >= 20)) && (interr.achiv._currentframe == 1)) {
ac_10 = 2;
achiv_go = 10;
interr.achiv.gotoAndPlay(2);
}
if (((ac_11 != 2) && (stones >= 1000)) && (interr.achiv._currentframe == 1)) {
ac_11 = 2;
achiv_go = 11;
interr.achiv.gotoAndPlay(2);
}
if ((((ac_12 != 2) && (out_of_ammo == 2)) && (gen._currentframe > 498)) && (interr.achiv._currentframe == 1)) {
ac_12 = 2;
achiv_go = 12;
interr.achiv.gotoAndPlay(2);
}
if (((ac_13 != 2) && (achiv_13_1 >= 2500)) && (interr.achiv._currentframe == 1)) {
ac_13 = 2;
achiv_go = 13;
interr.achiv.gotoAndPlay(2);
}
if ((((ac_14 != 2) && (achiv_14_1 <= 0)) && (act == 2)) && (interr.achiv._currentframe == 1)) {
ac_14 = 2;
achiv_go = 14;
interr.achiv.gotoAndPlay(2);
}
if (achiv_go != 0) {
_root.achiv_aff_1 = eval ("_root.ac_title_" + achiv_go);
_root.achiv_aff_2 = eval ("_root.ac_def_" + achiv_go);
achiv_go = 0;
}
if (remove_ammo_clip_go == 2) {
remove_ammo_clip_go = 1;
Set("item_" + remove_ammo_clip_item, 0);
remove_ammo_clip_casenb = 0;
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
remove_ammo_clip_casenb = remove_ammo_clip_casenb + 1;
if (eval ("case_" + remove_ammo_clip_casenb) == remove_ammo_clip_item) {
Set("case_" + remove_ammo_clip_casenb, 0);
}
}
if (st_qual == 1) {
_quality = "low";
}
if (st_qual == 2) {
_quality = "medium";
}
if (st_qual == 3) {
_quality = "high";
}
mySound = new Sound();
mySound.setVolume(_root.st_volum);
mySound.start(0, 1000);
_root.music_mc.son1.setVolume(muz_force);
if (Key.isDown(80)) {
if (key_released_80 == 2) {
key_released_80 = 1;
if (pausedd == 1) {
pausedd = 2;
Mouse.show();
interr.pausee_menuu.gotoAndStop(2);
} else {
pausedd = 1;
interr.pausee_menuu.gotoAndStop(1);
}
}
} else {
key_released_80 = 2;
}
if (((_root.pausedd == 1) && (_root.act == 2)) && (cnt.neverasktogo != 2)) {
ob_elenement_nb = eval (("objective_element_" + _root.lvl2) + "_1");
ob_name_1 = eval ("element_name_" + ob_elenement_nb);
ob_qty_1 = eval ("_root." + ob_name_1);
ob_reach_1 = eval (("objective_element_nb_" + _root.lvl2) + "_1");
ob_elenement_nb = eval (("objective_element_" + _root.lvl2) + "_2");
ob_name_2 = eval ("element_name_" + ob_elenement_nb);
ob_qty_2 = eval ("_root." + ob_name_2);
ob_reach_2 = eval (("objective_element_nb_" + _root.lvl2) + "_2");
ob_elenement_nb = eval (("objective_element_" + _root.lvl2) + "_3");
ob_name_3 = eval ("element_name_" + ob_elenement_nb);
ob_qty_3 = eval ("_root." + ob_name_3);
ob_reach_3 = eval (("objective_element_nb_" + _root.lvl2) + "_3");
if (((ob_qty_1 >= ob_reach_1) && (ob_qty_2 >= ob_reach_2)) && (ob_qty_3 >= ob_reach_3)) {
cnt.neverasktogo = 2;
cnt.canleave_place = 2;
}
}
if (act == 2) {
Mouse.show();
miree._visible = false;
}
munition_out_1 = 1;
munition_out_2 = 1;
munition_out_3 = 1;
if ((wp_ammo_1 <= 0) || (wp_ammo_1 == undefined)) {
if ((mag_1 <= 0) || (mag_1 == undefined)) {
munition_out_1 = 2;
}
}
if ((wp_ammo_2 <= 0) || (wp_ammo_2 == undefined)) {
if ((mag_2 <= 0) || (mag_2 == undefined)) {
munition_out_2 = 2;
}
}
if ((wp_ammo_3 <= 0) || (wp_ammo_3 == undefined)) {
if ((mag_3 <= 0) || (mag_3 == undefined)) {
munition_out_3 = 2;
}
}
if (((munition_out_1 == 2) && (munition_out_2 == 2)) && (munition_out_3 == 2)) {
out_of_ammo = 2;
zoomed = 0;
Mouse.show();
if (from_have_ammo == 2) {
from_have_ammo = 1;
perso.ammoclip.gotoAndStop(1);
perso.ammoclip.gotoAndStop(2);
}
} else {
out_of_ammo = 1;
from_have_ammo = 2;
}
perso._x = (480 - (_xmouse * 0.2)) - ((_root.posi_stade * 100) - 200);
perso._y = 260 - (_ymouse * 0.2);
perso._xscale = (100 * zoom) * (_root.zoomed + 1);
perso._yscale = (100 * zoom) * (_root.zoomed + 1);
if ((zoomed == 0) && (act == 1)) {
achiv_13_1 = achiv_13_1 + 1;
weapon._visible = false;
perso._visible = true;
if (perso._alpha < 100) {
perso._alpha = perso._alpha + 10;
}
if (reload_act == 2) {
perso.boxx.gotoAndStop(101);
} else if (perso.boxx._currentframe > 100) {
perso.boxx.gotoAndPlay(1);
}
perso.boxx.bras.gotoAndStop(Math.round((_xmouse * 100) / 800) + 1);
perso.boxx.bras.wp.gotoAndStop(_root.wp_typee);
} else {
achiv_13_1 = 0;
weapon._visible = true;
if (perso._alpha > 0) {
perso._alpha = perso._alpha - 10;
} else {
perso._visible = false;
}
}
wp_inuse = eval ("wp_" + wp);
wp_typee = eval ("item_" + wp_inuse);
wp_munition_type = eval ("wpmunition_type_" + wp_typee);
wp_lvl = eval ("item_lvl_" + wp_inuse);
wp_spec_1 = Math.floor(wp_lvl / 10000);
wp_spec_2 = Math.floor((wp_lvl - (wp_spec_1 * 10000)) / 1000);
wp_spec_3 = Math.floor(((wp_lvl - (wp_spec_1 * 10000)) - (wp_spec_2 * 1000)) / 100);
wp_spec_4 = Math.floor((((wp_lvl - (wp_spec_1 * 10000)) - (wp_spec_2 * 1000)) - (wp_spec_3 * 100)) / 10);
wp_spec_5 = Math.floor(((((wp_lvl - (wp_spec_1 * 10000)) - (wp_spec_2 * 1000)) - (wp_spec_3 * 100)) - (wp_spec_4 * 10)) / 1);
reload_speed = eval ((("upgVal_" + wp_typee) + "_1_") + wp_spec_1);
firing_rate = eval ((("upgVal_" + wp_typee) + "_2_") + wp_spec_2);
accuracy = eval ((("upgVal_" + wp_typee) + "_3_") + wp_spec_3);
ammo_capacity = eval ((("upgVal_" + wp_typee) + "_4_") + wp_spec_4);
firepower = eval ((("upgVal_" + wp_typee) + "_5_") + wp_spec_5);
weapon.gotoAndStop(wp_typee);
if (hited > 0) {
if (zoomed >= 2) {
zoomed = 1;
}
if (zoomed > 0) {
music_mc.snd.bullethit.gotoAndStop(1);
music_mc.snd.bullethit.gotoAndStop(random(4) + 2);
energy = energy - hited;
achiv_14_1 = achiv_14_1 + 1;
energy_timer = 150;
if (_root.cheat_2 == 2) {
energy_timer = energy_timer * 0.3;
}
} else {
dust_random = random(8) + 1;
eval ("_root.perso.dust_" + dust_random).gotoAndStop(1);
eval ("_root.perso.dust_" + dust_random).gotoAndStop(2);
music_mc.snd.bullethit.gotoAndStop(1);
music_mc.snd.bullethit.gotoAndStop(random(4) + 11);
}
shake = hited * 5;
shake_wp = hited * 5;
hited = 0;
}
if (energy > 0) {
if (energy_timer > 0) {
energy_timer = energy_timer - 1;
} else if (energy < 100) {
energy = energy + 1.5;
}
} else {
_root.got2go = 4;
}
if ((canmove == 2) && (pausedd == 1)) {
if (act == 1) {
weapon_sx = (((_xmouse * 500) / 800) + 400) + ((zoomed * 100) - 100);
weapon_sy = (((_ymouse * 600) / 800) + 320) + ((zoomed * 100) - 100);
weapon_sr = (_xmouse * 28) / 800;
if (zoomed == 2) {
weapon_sx = weapon_sx + -50;
weapon_sy = weapon_sy + -50;
weapon_sr = weapon_sr + 0;
}
} else {
weapon_sx = 650 + ((zoomed * 100) - 100);
weapon_sy = 920 + ((zoomed * 100) - 100);
weapon_sr = -15;
}
}
weapon_speedx = (weapon_sx - weapon._x) * 0.2;
weapon_speedy = (weapon_sy - weapon._y) * 0.2;
weapon_speedr = (weapon_sr - weapon._rotation) * 0.4;
if ((weapon._x < (weapon_sx - 0.5)) || (weapon._x > (weapon_sx + 0.5))) {
weapon._x = weapon._x + weapon_speedx;
}
if ((weapon._y < (weapon_sy - 0.5)) || (weapon._y > (weapon_sy + 0.5))) {
weapon._y = weapon._y + weapon_speedy;
}
if ((weapon._rotation < (weapon_sr - 0.5)) || (weapon._rotation > (weapon_sr + 0.5))) {
weapon._rotation = weapon._rotation + weapon_speedr;
}
weapon_scale_sx = (100 + (zoomed * 25)) - 25;
weapon_scale_speed = (weapon_scale_sx - weapon._xscale) * 0.2;
if ((weapon._xscale < (weapon_scale_sx - 0.5)) || (weapon._xscale > (weapon_scale_sx + 0.5))) {
weapon._xscale = weapon._xscale + weapon_scale_speed;
}
weapon._yscale = weapon._xscale;
if ((zoomed == 2) && (zoom >= 3.5)) {
miree.gotoAndStop(wp_typee + 100);
if (weapon._alpha > 0) {
weapon._alpha = weapon._alpha - 25;
}
} else {
if (zoomed == 0) {
miree.gotoAndStop(2);
} else {
miree.gotoAndStop(wp_typee);
}
if (weapon._alpha < 100) {
weapon._alpha = weapon._alpha + 10;
}
}
mire_shake_range = 8;
mire_shake_x = random(mire_shake_range) - (mire_shake_range / 2);
mire_shake_y = random(mire_shake_range) - (mire_shake_range / 2);
if (pausedd == 1) {
if (zoomed == 2) {
miree_sx = _xmouse + mire_shake_x;
miree_sy = _ymouse + mire_shake_y;
} else {
miree_sx = (_xmouse + mire_shake_x) + (miree.respire.boxx._x / 2);
miree_sy = (_ymouse + mire_shake_y) + (miree.respire.boxx._x / 2);
}
}
miree_speedx = (miree_sx - miree._x) * 0.2;
miree_speedy = (miree_sy - miree._y) * 0.2;
if ((miree._x < (miree_sx - 0.5)) || (miree._x > (miree_sx + 0.5))) {
miree._x = miree._x + miree_speedx;
}
if ((miree._y < (miree_sy - 0.5)) || (miree._y > (miree_sy + 0.5))) {
miree._y = miree._y + miree_speedy;
}
if (cooling <= 0) {
if (zoomed == 1) {
if ((miree.boxx.boxx._currentframe > 1) && (miree.boxx.boxx._currentframe <= 10)) {
miree.boxx.boxx.gotoAndPlay(2);
}
if (miree.boxx.boxx._currentframe != 1) {
miree.boxx.boxx.play();
}
} else {
if ((miree.boxx.boxx._currentframe > 10) && (miree.boxx.boxx._currentframe <= 20)) {
miree.boxx.boxx.gotoAndPlay(2);
}
if (miree.boxx.boxx._currentframe != 10) {
miree.boxx.boxx.play();
}
}
}
ammo_27 = 0;
ammo_27_pluspetit = 0;
ammo_27_pluspetit_nb = 1000;
ammo_wich_itemnb = 0;
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 27) {
ammo_27 = ammo_27 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_27_pluspetit_nb) {
ammo_27_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_27_pluspetit = ammo_wich_itemnb;
}
}
ammo_28 = 0;
ammo_28_pluspetit = 0;
ammo_28_pluspetit_nb = 1000;
ammo_wich_itemnb = 0;
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 28) {
ammo_28 = ammo_28 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_28_pluspetit_nb) {
ammo_28_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_28_pluspetit = ammo_wich_itemnb;
}
}
ammo_29 = 0;
ammo_29_pluspetit = 0;
ammo_29_pluspetit_nb = 1000;
ammo_wich_itemnb = 0;
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 29) {
ammo_29 = ammo_29 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_29_pluspetit_nb) {
ammo_29_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_29_pluspetit = ammo_wich_itemnb;
}
}
ammo_30 = 0;
ammo_30_pluspetit = 0;
ammo_30_pluspetit_nb = 1000;
ammo_wich_itemnb = 0;
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 30) {
ammo_30 = ammo_30 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_30_pluspetit_nb) {
ammo_30_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_30_pluspetit = ammo_wich_itemnb;
}
}
ammo_31 = 0;
ammo_31_pluspetit = 0;
ammo_31_pluspetit_nb = 1000;
ammo_wich_itemnb = 0;
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
ammo_wich_itemnb = ammo_wich_itemnb + 1;
if (eval ("item_" + ammo_wich_itemnb) == 31) {
ammo_31 = ammo_31 + eval ("item_qty_" + ammo_wich_itemnb);
if (eval ("item_qty_" + ammo_wich_itemnb) <= ammo_31_pluspetit_nb) {
ammo_31_pluspetit_nb = eval ("item_qty_" + ammo_wich_itemnb);
ammo_31_pluspetit = ammo_wich_itemnb;
}
}
stop();
wp_ammo_1 = eval ("ammo_" + wp_munition_1);
wp_ammo_2 = eval ("ammo_" + wp_munition_2);
wp_ammo_3 = eval ("ammo_" + wp_munition_3);
ammo = eval ("wp_ammo_" + wp);
if (cnt.mag_loaded_1 != 2) {
cnt.mag_loaded_1 = 2;
permag_1 = eval ((("upgVal_" + wp_typee_1) + "_4_") + wp_spec_1_4);
permag_2 = eval ((("upgVal_" + wp_typee_2) + "_4_") + wp_spec_2_4);
permag_3 = eval ((("upgVal_" + wp_typee_3) + "_4_") + wp_spec_3_4);
if (eval ("ammo_" + wp_munition_1) >= permag_1) {
mag_1 = permag_1;
} else {
mag_1 = eval ("ammo_" + wp_munition_1);
}
if (eval ("ammo_" + wp_munition_2) >= permag_2) {
mag_2 = permag_2;
} else {
mag_2 = eval ("ammo_" + wp_munition_2);
}
if (eval ("ammo_" + wp_munition_3) >= permag_3) {
mag_3 = permag_3;
} else {
mag_3 = eval ("ammo_" + wp_munition_3);
}
}
permag = eval ("permag_" + wp);
mag = eval ("mag_" + wp);
if (cooling > 0) {
cooling = cooling - 1;
}
if (isMouseDown) {
if (((canmove == 2) && (pausedd == 1)) && (act == 1)) {
if (auto_gun_released == 2) {
if (mag > 0) {
if (cooling <= 0) {
Mouse.hide();
if (hostile == 1) {
hostile = 2;
_root.music_mc.snd.voices.gotoAndStop(1);
_root.music_mc.snd.voices.gotoAndStop((120 + random(8)) + 1);
}
music_mc.snd.gun.gotoAndStop(1);
music_mc.snd.gun.gotoAndStop(wp_typee);
cooling = firing_rate;
shake = (20 * accuracy) / 100;
shake_wp = (20 * accuracy) / 100;
weapon.douille.gotoAndPlay(2);
miree.douille.gotoAndPlay(2);
if (zoomed == 2) {
shake_wp = shake_wp * 0.5;
if (zoom >= 3.5) {
miree.boxx.boxx.gotoAndPlay(21);
}
}
if (zoomed == 1) {
miree.boxx.boxx.gotoAndPlay(21);
}
weapon.boxx.gotoAndPlay(2);
if (((((wp_typee == 20) || (wp_typee == 21)) || (wp_typee == 24)) || (wp_typee == 25)) || (wp_typee == 26)) {
auto_gun_released = 1;
}
ammoless_wich_item = eval (("_root.ammo_" + wp_munition_type) + "_pluspetit");
if (eval ("wp_ammo_" + wp) > 0) {
Set("item_qty_" + ammoless_wich_item, eval ("item_qty_" + ammoless_wich_item) - 1);
if (eval ("item_qty_" + ammoless_wich_item) <= 0) {
remove_ammo_clip_go = 2;
remove_ammo_clip_item = ammoless_wich_item;
}
}
Set("mag_" + wp, eval ("mag_" + wp) - 1);
perso.boxx.bras.wp.fireblast.gotoAndStop(1);
perso.boxx.bras.wp.fireblast.gotoAndPlay(2);
eval ("cnt.boxx1.line_" + lines_nb).gotoAndStop(1);
eval ("cnt.boxx1.line_" + lines_nb).gotoAndStop(2);
Set(("cnt.boxx1.line_" + lines_nb) + ".posi_sx", miree._x - cnt.boxx1._x);
Set(("cnt.boxx1.line_" + lines_nb) + ".posi_sy", miree._y - cnt.boxx1._y);
lines_nb = lines_nb + 1;
if (lines_nb > 10) {
lines_nb = 1;
}
_root.st_bullets_shot = _root.st_bullets_shot + 1;
}
} else {
music_mc.snd.gun.gotoAndStop(1);
music_mc.snd.gun.gotoAndStop(111);
auto_gun_released = 1;
auto_reload_go = 2;
}
}
}
}
if (!isMouseDown) {
auto_gun_released = 2;
}
if ((canmove == 2) && (pausedd == 1)) {
if (Key.isDown(key_reload) || (auto_reload_go == 2)) {
auto_reload_go = 1;
if (key_released_82 == 2) {
key_released_82 = 1;
if (eval ("permag_" + wp) != mag) {
if ((ammo > 0) || (from_nomunition == 2)) {
weapon_sr = 45;
reload_act = 2;
reload_act_cooling_total = eval ("reload_speed_" + wp);
cooling = reload_act_cooling_total;
canmove = 1;
}
}
}
}
if (!Key.isDown(key_reload)) {
key_released_82 = 2;
}
}
if (reload_act == 2) {
miree._visible = false;
weapon_sx = (((_xmouse * 500) / 800) + 400) + ((zoomed * 100) - 100);
weapon_sy = (((_ymouse * 600) / 800) + 500) + ((zoomed * 100) - 100);
if (wp_typee == 24) {
weapon_sy = weapon_sy - 150;
}
if (cooling <= 0) {
if (eval ("permag_" + wp) >= ammo) {
if (from_nomunition == 2) {
from_nomunition = 1;
Set("mag_" + wp, eval ("permag_" + wp));
} else {
Set("mag_" + wp, ammo);
}
} else {
Set("mag_" + wp, eval ("permag_" + wp));
}
miree._visible = true;
reload_act = 1;
canmove = 2;
}
weapon.reloadboxx.gotoAndStop(Math.round(((reload_act_cooling_total - cooling) * 100) / reload_act_cooling_total) + 1);
}
ammo = ammo - mag;
if (ammo < 0) {
ammo = 0;
}
if ((canmove == 2) && (pausedd == 1)) {
if ((Key.isDown(49) || (Key.isDown(50))) || (Key.isDown(51))) {
if (Key.isDown(49)) {
change_wp = 1;
}
if (Key.isDown(50)) {
change_wp = 2;
}
if (Key.isDown(51)) {
change_wp = 3;
}
if ((wp != change_wp) && (eval ("wp_" + change_wp) != 0)) {
change_wp_act = 2;
canmove = 1;
} else {
change_wp = 0;
}
}
}
if (change_wp != 0) {
if (zoomed > 1) {
zoomed = 1;
}
if (change_wp_act == 2) {
weapon_sx = (((_xmouse * 500) / 800) + 400) + ((zoomed * 100) - 100);
weapon_sy = (((_ymouse * 600) / 800) + 820) + ((zoomed * 100) - 100);
weapon_sr = -10;
if (weapon._y > 790) {
wp = change_wp;
change_wp = 0;
change_wp_act = 1;
canmove = 2;
}
}
}
if (_root.pausedd == 1) {
if (Key.isDown(key_moveleft)) {
if (key_released_65 == 2) {
key_released_65 = 1;
posi_stade = posi_stade - 1;
if (posi_stade < 1) {
posi_stade = 1;
}
}
} else {
key_released_65 = 2;
}
if (Key.isDown(key_moveright)) {
if (key_released_68 == 2) {
key_released_68 = 1;
posi_stade = posi_stade + 1;
if (posi_stade > 3) {
posi_stade = 3;
}
}
} else {
key_released_68 = 2;
}
}
if (cnt.zoomed_loaded == 3) {
cnt.zoomed_loaded = 2;
zoomed = 0;
}
if (cnt.zoomed_loaded != 2) {
cnt.zoomed_loaded = 3;
}
if (zoomed == 0) {
zoom_sx = 1;
}
if (zoomed == 1) {
zoom_sx = 1.4;
}
if (zoomed == 2) {
zoom_sx = eval ("zoom_" + wp_typee);
}
zoom_speed = (zoom_sx - zoom) * 0.2;
if ((zoom < (zoom_sx - 0.05)) || (zoom > (zoom_sx + 0.05))) {
zoom = zoom + zoom_speed;
}
if ((canmove == 2) && (pausedd == 1)) {
if (Key.isDown(key_zoom)) {
if (key_released_87 == 2) {
key_released_87 = 1;
zoomed = zoomed + 1;
if (zoomed > 2) {
zoomed = 2;
} else {
miree.respire.gotoAndPlay(random(200) + 1);
miree.respire.boxx.gotoAndPlay(random(140) + 1);
}
}
} else {
key_released_87 = 2;
}
}
if (Key.isDown(key_unzoom)) {
if (key_released_83 == 2) {
key_released_83 = 1;
zoomed = zoomed - 1;
if (zoomed < 0) {
zoomed = 0;
} else {
miree.respire.gotoAndPlay(random(200) + 1);
miree.respire.boxx.gotoAndPlay(random(140) + 1);
}
}
} else {
key_released_83 = 2;
}
if (pausedd == 1) {
if ((act == 1) || (act == 2)) {
posi = (posi_stade * -325) + 325;
cntboxx1_sx = posi;
cntboxx1_speedx = (cntboxx1_sx - cnt.boxx1._x) * 0.2;
if ((cnt.boxx1._x < (cntboxx1_sx - 0.5)) || (cnt.boxx1._x > (cntboxx1_sx + 0.5))) {
cnt.boxx1._x = cnt.boxx1._x + cntboxx1_speedx;
}
cnt.boxx2._x = cnt.boxx1._width;
if (_root.act == 2) {
zoom = 2;
}
if (fixe == 1) {
cnt._xscale = 100 * zoom;
cnt._yscale = 100 * zoom;
cnt_sx = Math.round(-(zoom * _xmouse)) + _xmouse;
cnt_sy = Math.round(-(zoom * _ymouse)) + _ymouse;
} else {
cnt._xscale = 100;
cnt._yscale = 100;
cnt_sx = 0;
cnt_sy = 0;
}
cnt_speedx = (cnt_sx - cnt._x) * 0.8;
cnt_speedy = (cnt_sy - cnt._y) * 0.8;
if ((cnt._x < (cnt_sx - 0.5)) || (cnt._x > (cnt_sx + 0.5))) {
cnt._x = cnt._x + cnt_speedx;
}
if ((cnt._y < (cnt_sy - 0.5)) || (cnt._y > (cnt_sy + 0.5))) {
cnt._y = cnt._y + cnt_speedy;
}
}
}
if (pausedd == 1) {
if (shake > 0) {
shake = shake - 1;
cnt._x = cnt._x + ((random(shake * 2) - shake) * 0.7);
cnt._y = cnt._y + ((random(shake * 2) - shake) * 0.7);
perso._x = perso._x + ((random(shake * 2) - shake) * 0.7);
perso._y = perso._y + ((random(shake * 2) - shake) * 0.7);
}
if (shake_wp > 0) {
shake_wp = shake_wp - 1;
miree._x = miree._x + ((random(shake_wp) - (shake_wp / 2)) * 2);
miree._y = miree._y + ((random(shake_wp) - (shake_wp / 2)) * 2);
weapon._x = weapon._x + ((random(shake_wp) - (shake_wp / 2)) * 0.7);
weapon._y = weapon._y + ((random(shake_wp) - (shake_wp / 2)) * 0.7);
}
}
if (got2go == 2) {
got2go = 1;
gotoAndStop (40);
}
if (got2go == 3) {
got2go = 1;
gotoAndStop (52);
}
if (got2go == 4) {
got2go = 1;
gotoAndStop (38);
}
};
Instance of Symbol 2082 MovieClip "test1" in Frame 51
onClipEvent (enterFrame) {
_x = _root.miree._x;
_y = _root.miree._y;
}
Instance of Symbol 2080 MovieClip "test2" in Frame 51
onClipEvent (enterFrame) {
_x = _root.boomx1;
_y = _root.boomy1;
}
Instance of Symbol 1117 MovieClip "version_boxx" in Frame 51
onClipEvent (load) {
boxx.gotoAndStop(Math.round(_root.lavr));
boxx2.boxx.gotoAndStop(Math.round(_root.lavr));
if (_root.lavr != 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
boxx2.gotoAndStop(boxx.shade + 1);
}
Frame 52
muz = 0;
Mouse.show();
stop();
onEnterFrame = function () {
if (menuu.boxx._currentframe != 6) {
_quality = "high";
} else {
if (st_qual == 1) {
_quality = "low";
}
if (st_qual == 2) {
_quality = "medium";
}
if (st_qual == 3) {
_quality = "high";
}
}
mySound = new Sound();
mySound.setVolume(_root.st_volum);
mySound.start(0, 1000);
if (got2go == 2) {
got2go = 1;
from_video = 2;
lvl2 = lvl2 + 1;
if ((lvl2 >= 2) && (lvl2 <= 4)) {
gotoAndStop (40);
} else if (game_cleared == 2) {
gotoAndStop (40);
} else {
gotoAndStop (51);
}
}
if (got2go == 3) {
got2go = 1;
lvl2 = 5;
gotoAndStop (39);
}
};
Instance of Symbol 1117 MovieClip "version_boxx" in Frame 52
onClipEvent (load) {
boxx.gotoAndStop(Math.round(_root.lavr));
boxx2.boxx.gotoAndStop(Math.round(_root.lavr));
if (_root.lavr != 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
boxx2.gotoAndStop(boxx.shade + 1);
}
Frame 54
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 12 MovieClip Frame 1
_y = 440;
_x = 0;
speed = 0.05;
onEnterFrame = function () {
sx = (_root.PercentLoaded * 800) / 100;
speedx = (sx - _x) * speed;
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + speedx);
}
};
Symbol 2613 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showPreGameAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local27);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local24 = 11000;
var _local19 = options.ad_timeout;
if (options.skip) {
_local19 = 0;
}
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local15 = _getRes(options);
var _local5 = _local15[0];
var _local14 = _local15[1];
mc._x = _local5 * 0.5;
mc._y = _local14 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local5 * -0.5;
chk._y = _local14 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local7._visible = false;
delete options.no_progress_bar;
} else {
_local7._x = 10;
_local7._y = _local14 - 20;
}
var _local23 = options.color;
delete options.color;
var _local21 = options.background;
delete options.background;
var _local25 = options.outline;
delete options.outline;
var _local6 = _local7.createEmptyMovieClip("_outline", 1);
_local6.beginFill(_local21);
_local6.moveTo(0, 0);
_local6.lineTo(_local5 - 20, 0);
_local6.lineTo(_local5 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
_local6.endFill();
var _local4 = _local7.createEmptyMovieClip("_inside", 2);
_local4.beginFill(_local23);
_local4.moveTo(0, 0);
_local4.lineTo(_local5 - 20, 0);
_local4.lineTo(_local5 - 20, 10);
_local4.lineTo(0, 10);
_local4.lineTo(0, 0);
_local4.endFill();
_local4._xscale = 0;
var _local8 = _local7.createEmptyMovieClip("_outline", 3);
_local8.lineStyle(0, _local25, 100);
_local8.moveTo(0, 0);
_local8.lineTo(_local5 - 20, 0);
_local8.lineTo(_local5 - 20, 10);
_local8.lineTo(0, 10);
_local8.lineTo(0, 0);
chk.ad_msec = _local24;
chk.ad_timeout = _local19;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local10 = this._parent._parent;
var _local3 = _local10;
while ((!_local3.getBytesTotal()) && (_local3)) {
_local3 = _local3._parent;
}
if (!_local3) {
_local3 = _root;
}
var _local13 = this._parent._mochiad_ctr;
var _local7 = getTimer() - this.started;
var _local5 = false;
var _local6 = _local3.getBytesTotal();
var _local9 = _local3.getBytesLoaded();
var _local4 = (100 * _local9) / _local6;
var _local12 = (100 * _local7) / chk.ad_msec;
var _local11 = this._mochiad_bar._inside;
var _local15 = Math.min(100, Math.min(_local4 || 0, _local12));
_local15 = Math.max(this.last_pcnt, _local15);
this.last_pcnt = _local15;
_local11._xscale = _local15;
options.ad_progress(_local15);
if (sendHostProgress) {
mochi.as2.MochiAd.containerNotify(clip, {id:"hostLoadPcnt", pcnt:_local4}, clip._mochiad._containerLCName);
if (_local4 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local8 = _local13.getBytesTotal();
if ((_local8 > 0) || (typeof(_local8) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local7 > chk.ad_timeout) && (_local4 == 100)) {
options.ad_failed();
_local5 = true;
}
}
if (_local7 > chk.ad_msec) {
_local5 = true;
}
if (((_local6 > 0) && (_local9 >= _local6)) && (_local5)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local10 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local10);
var clip = options.clip;
var _local9 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var _local3 = clip._mochiad;
_local3.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local11 = _local5[0];
var _local8 = _local5[1];
_local3._x = _local11 * 0.5;
_local3._y = _local8 * 0.5;
var chk = _local3.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local9;
chk.started = getTimer();
chk.showing = false;
_local3.lc.adLoaded = options.ad_loaded;
_local3.lc.adSkipped = options.ad_skipped;
_local3.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
_local3.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local21 = false;
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local12 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local12);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local6 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local6._mochiad_loaded) {
return(null);
}
var _local11 = options.depth;
delete options.depth;
var mc = _local6.createEmptyMovieClip("_mochiad", _local11);
var _local10 = _getRes(options);
options.res = (_local10[0] + "x") + _local10[1];
options.server = options.server + options.id;
delete options.id;
_local6._mochiad_loaded = true;
if (_local6._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = mc.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local9 = _local4.server;
delete _local4.server;
var _local13 = _allowDomains(_local9);
mc.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new Object();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = mc;
_local5.name = _local8;
_local5.hostname = _local13;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
mc.lc = _local5;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
_local4.lc = _local8;
_local4.st = getTimer();
if (!options.skip) {
_local4.loadMovie(_local9 + ".swf", "POST");
}
return(mc);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
containerNotify(clip, {id:"unload"}, clip._mochiad._containerLCName);
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
containerRpcResult(clip, callbackID, _local4, clip._mochiad._containerLCName);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
containerRpcResult(clip, callbackID, _local3, clip._mochiad._containerLCName);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
static function containerNotify(clip, args, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.notify) {
_local1.notify(args);
} else {
new LocalConnection().send(lcName, "notify", args);
}
}
static function containerRpcResult(clip, callbackID, val, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.rpcResult) {
_local1.rpcResult(callbackID, val);
} else {
new LocalConnection().send(lcName, "rpcResult", callbackID, val);
}
}
}
Symbol 2614 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 2615 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.9.5 as2");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local6 = "_mochiservices_com_" + id;
var _local5 = new MovieClipLoader();
var _local3 = {};
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
onError("NotConnected");
return(null);
}
if (urlOptions().servURL) {
_servURL = urlOptions().servURL;
}
var _local4 = _servURL + _services;
if (urlOptions().servicesURL) {
_local4 = urlOptions().servicesURL;
}
allowDomains(_local4);
_clip = clip.createEmptyMovieClip(_local6, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
if (_local3.waitInterval != null) {
clearInterval(_local3.waitInterval);
}
_local3.onLoadError = loadError;
_local3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_local3.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
_local3.startTime = getTimer();
_local3.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError("IOError");
}
clearInterval(this.waitInterval);
}
};
_local3.waitInterval = setInterval(_local3, "wait", 1000);
_local5.addListener(_local3);
_local5.loadClip((((((_local4 + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options)) + "&api_version=") + getVersion(), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function loadError(target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
disconnect();
onError(errorCode);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case "services" :
mochi.as2.MochiServices.triggerEvent(pkg.event, pkg.args);
break;
case "events" :
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case "coins" :
mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args);
break;
case "social" :
mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args);
}
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError("IOError");
};
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError("NotConnected");
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError("NotConnected");
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
trace("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + methodName);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
var _local6;
if (_root._url.indexOf("mochiad_options") != -1) {
var _local2 = (_root._url.indexOf("mochiad_options") + "mochiad_options".length) + 1;
_local6 = _root._url.substr(_local2, _root._url.length);
} else if (_root.mochiad_options) {
_local6 = _root.mochiad_options;
}
if (_local6) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://link.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static function setContainer(clip) {
}
static function stayOnTop(clip) {
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static var CONNECTED = "onConnected";
static var _servURL = "http://www.mochiads.com/static/lib/services/";
static var _services = "services.swf";
static var _mochiLC = "MochiLC.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 2616 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0
class mochi.as2.MochiEvents
{
function MochiEvents () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function getAchievements(properties) {
mochi.as2.MochiServices.send("events_getAchievements", properties);
}
static function unlockAchievement(properties) {
mochi.as2.MochiServices.send("events_unlockAchievement", properties);
}
static function startSession(achievementID) {
mochi.as2.MochiServices.send("events_beginSession", {achievementID:achievementID}, null, null);
}
static function showAwards(options) {
mochi.as2.MochiServices.send("events_showAwards", options, null, null);
}
static function setNotifications(style) {
mochi.as2.MochiServices.send("events_setNotifications", style, null, null);
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static function startPlay(tag) {
if (tag == undefined) {
tag = "gameplay";
}
mochi.as2.MochiServices.send("events_setRoundID", {tag:String(tag)}, null, null);
}
static function endPlay() {
mochi.as2.MochiServices.send("events_clearRoundID", null, null, null);
}
static function trackEvent(tag, value) {
mochi.as2.MochiServices.send("events_trackEvent", {tag:tag, value:value}, null, null);
}
static var ACHIEVEMENTS_OWNED = "AchievementOwned";
static var ACHIEVEMENT_NEW = "AchievementReceived";
static var GAME_ACHIEVEMENTS = "GameAchievements";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var IO_PENDING = "IOPending";
static var ALIGN_TOP_LEFT = "ALIGN_TL";
static var ALIGN_TOP = "ALIGN_T";
static var ALIGN_TOP_RIGHT = "ALIGN_TR";
static var ALIGN_LEFT = "ALIGN_L";
static var ALIGN_CENTER = "ALIGN_C";
static var ALIGN_RIGHT = "ALIGN_R";
static var ALIGN_BOTTOM_LEFT = "ALIGN_BL";
static var ALIGN_BOTTOM = "ALIGN_B";
static var ALIGN_BOTTOM_RIGHT = "ALIGN_BR";
static var FORMAT_SHORT = "ShortForm";
static var FORMAT_LONG = "LongForm";
static var FORMAT_NONE = "NoForm";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 2617 MovieClip [__Packages.mochi.as2.MochiCoins] Frame 0
class mochi.as2.MochiCoins
{
function MochiCoins () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showStore(options) {
mochi.as2.MochiServices.send("coins_showStore", {options:options}, null, null);
}
static function showItem(options) {
if ((options == undefined) || (typeof(options.item) != "string")) {
trace("ERROR: showItem call must pass an Object with an item key");
return(undefined);
}
mochi.as2.MochiServices.send("coins_showItem", {options:options}, null, null);
}
static function showVideo(options) {
if ((options == undefined) || (typeof(options.item) != "string")) {
trace("ERROR: showVideo call must pass an Object with an item key");
return(undefined);
}
mochi.as2.MochiServices.send("coins_showVideo", {options:options}, null, null);
}
static function getStoreItems() {
mochi.as2.MochiServices.send("coins_getStoreItems");
}
static function requestFunding(properties) {
mochi.as2.MochiServices.send("social_requestFunding", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var STORE_SHOW = "StoreShow";
static var STORE_HIDE = "StoreHide";
static var ITEM_OWNED = "ItemOwned";
static var ITEM_NEW = "ItemNew";
static var STORE_ITEMS = "StoreItems";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 2618 MovieClip [__Packages.mochi.as2.MochiSocial] Frame 0
class mochi.as2.MochiSocial
{
function MochiSocial () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showLoginWidget(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("social_showLoginWidget", {options:options});
}
static function hideLoginWidget() {
mochi.as2.MochiServices.send("social_hideLoginWidget");
}
static function requestLogin(properties) {
mochi.as2.MochiServices.send("social_requestLogin", properties);
}
static function getFriendsList(properties) {
mochi.as2.MochiServices.send("social_getFriendsList", properties);
}
static function showProfile(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("social_showProfile", options);
}
static function postToStream(properties) {
mochi.as2.MochiServices.send("social_postToStream", properties);
}
static function inviteFriends(properties) {
mochi.as2.MochiServices.send("social_inviteFriends", properties);
}
static function requestFan(properties) {
mochi.as2.MochiServices.send("social_requestFan", properties);
}
static function saveUserProperties(properties) {
mochi.as2.MochiServices.send("social_saveUserProperties", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var LOGGED_IN = "LoggedIn";
static var LOGGED_OUT = "LoggedOut";
static var LOGIN_SHOW = "LoginShow";
static var LOGIN_HIDE = "LoginHide";
static var LOGIN_SHOWN = "LoginShown";
static var PROFILE_SHOW = "ProfileShow";
static var PROFILE_HIDE = "ProfileHide";
static var PROPERTIES_SAVED = "PropertySaved";
static var WIDGET_LOADED = "WidgetLoaded";
static var FRIEND_LIST = "FriendsList";
static var PROFILE_DATA = "ProfileData";
static var GAMEPLAY_DATA = "GameplayData";
static var ACTION_CANCELED = "onCancel";
static var ACTION_COMPLETE = "onComplete";
static var USER_INFO = "UserInfo";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var PROPERTIES_SIZE = "PropertiesSize";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 22 MovieClip Frame 1
gotoAndStop(random(5) + 1);
Symbol 32 MovieClip Frame 1
stop();
Symbol 34 Button
on (release) {
act = 2;
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(3);
if (dalink != undefined) {
getURL (dalink, "_blank");
}
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (8);
}
Symbol 37 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 2
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(2);
Symbol 37 MovieClip Frame 7
stop();
Symbol 37 MovieClip Frame 12
gotoAndStop (1);
Symbol 37 MovieClip Frame 13
_alpha = 40;
Symbol 38 MovieClip Frame 150
stop();
Instance of Symbol 37 MovieClip in Symbol 38 MovieClip Frame 150
onClipEvent (load) {
txx = "PLAY";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.play();
}
}
Symbol 50 MovieClip Frame 1
speedx = random(20) - 10;
speedy = random(20) - 10;
speedr = random(20) - 10;
_rotation = (random(360) + 1);
_xscale = (random(80) + 20);
_yscale = ((_xscale * 0.75) + random(_xscale * 0.5));
aa = random(2) + 1;
if (aa == 1) {
_xscale = (_xscale * -1);
}
_xscale = (_xscale * 0.45);
_yscale = (_yscale * 0.45);
limitsoly = random(40) - 20;
stop();
onEnterFrame = function () {
_x = (_x + speedx);
if ((_y + _parent._y) < (70 + limitsoly)) {
_y = (_y + speedy);
}
_rotation = (_rotation + speedr);
speedx = speedx * 0.92;
if (speedy < -0.5) {
speedy = speedy * 0.92;
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * 1.1;
}
if (speedy > 15) {
speedy = 15;
}
speedr = speedr * 0.95;
};
Symbol 56 MovieClip Frame 30
stop();
Symbol 60 MovieClip Frame 1
gotoAndStop(random(3) + 1);
Symbol 61 MovieClip Frame 100
gotoAndPlay (2);
Symbol 62 MovieClip Frame 1
speedx = random(20) - 10;
speedy = random(20) - 10;
speedr = random(40) - 20;
limity = random(3) + 3;
_x = (random(200) - 100);
_y = (random(200) - 100);
f.gotoAndPlay(random(100) + 1);
_rotation = (random(360) + 1);
_xscale = (random(25) + 25);
_yscale = _xscale;
limitsoly = random(100) - 50;
stop();
onEnterFrame = function () {
_x = (_x + speedx);
if ((_y + _parent._y) < (360 + limitsoly)) {
_y = (_y + speedy);
} else {
speedy = 0;
speedr = 0;
f.stop();
}
_rotation = (_rotation + speedr);
speedx = speedx * 0.9;
if (speedy < -0.5) {
speedy = speedy * 0.9;
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * 1.1;
}
if (speedy > limity) {
speedy = limity;
}
if (f._currentframe == 1) {
f.gotoAndPlay(((random(2) + 1) * 50) - 24);
}
sr = 0;
speedr = (sr - _rotation) * 0.05;
if ((_rotation < (sr - 0.5)) || (_rotation > (sr + 0.5))) {
_rotation = (_rotation + speedr);
}
};
Symbol 71 MovieClip Frame 32
stop();
Symbol 86 MovieClip Frame 1
timer = 0;
boxx.gotoAndPlay(random(18) + 1);
boxx.boxx.gotoAndPlay(random(25) + 1);
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
boxx.boxx.boxx.gotoAndStop(random(7) + 1);
timer = random(7) + 3;
}
};
Symbol 89 MovieClip Frame 1
_visible = false;
stop();
Symbol 89 MovieClip Frame 2
_visible = true;
Symbol 94 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 1
_y = (random(800) + 1);
_xscale = (random(80) + 20);
_yscale = (random(50) + 50);
speedy = random(3);
_alpha = (random(100) + 1);
_x = (random(100) - 50);
stop();
onEnterFrame = function () {
_y = (_y + speedy);
if (speedy < 15) {
speedy = speedy * 1.1;
}
if (speedy < 1) {
speedy = 1;
}
if (_y > 440) {
if (_alpha > 0) {
_alpha = (_alpha - 5);
} else {
_x = (random(100) - 50);
_alpha = (random(50) + 50);
_y = 0;
_xscale = (random(80) + 20);
_yscale = (random(50) + 50);
speedy = random(3);
}
}
};
Symbol 98 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 1
gotoAndStop (2);
Symbol 119 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 8
stop();
Symbol 122 MovieClip Frame 1
stop();
onEnterFrame = function () {
_x = (random(50) - 25);
_y = (random(50) - 25);
_alpha = (random(20) + 25);
};
Symbol 128 MovieClip Frame 1
_parent.stop();
stopAllSounds();
onEnterFrame = function () {
if (Key.isDown(32)) {
if (keyreleased_32 == 2) {
keyreleased_32 = 1;
_parent.play();
}
} else {
keyreleased_32 = 2;
}
};
Symbol 128 MovieClip Frame 102
boxx.boxx.tree.gotoAndStop(2);
Symbol 128 MovieClip Frame 152
boxx.boxx.tree.gotoAndStop(3);
boxx.gotoAndStop(2);
Symbol 128 MovieClip Frame 179
boxx.boxx.tree.gotoAndStop(4);
Symbol 128 MovieClip Frame 197
boxx.boxx.tree.gotoAndStop(5);
Symbol 128 MovieClip Frame 250
logoo.play();
Symbol 128 MovieClip Frame 256
boxx.boxx.tree.gotoAndStop(6);
boxx.boxx.gotoAndStop(2);
Symbol 128 MovieClip Frame 546
_parent.play();
Symbol 141 MovieClip Frame 1
gotoAndStop(_parent.nb);
Symbol 142 Button
on (release) {
if (_parent._parent.optionsmenu == 2) {
_root.keyboard = nb;
_parent._parent._parent.gotoAndStop(1);
} else {
gotoAndPlay (21);
}
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 144 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 10
stop();
Symbol 144 MovieClip Frame 20
gotoAndStop (1);
Symbol 144 MovieClip Frame 40
_root.keyboard = nb;
_parent._parent._parent.play();
stop();
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 144 MovieClip in Symbol 146 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Symbol 155 MovieClip Frame 1
gotoAndPlay (2);
Symbol 155 MovieClip Frame 50
stop();
Symbol 166 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay (15);
}
Symbol 166 MovieClip Frame 15
boxx._x = random(1000) - 100;
boxx._y = random(640) - 100;
boxx.gotoAndStop(random(3) + 1);
boxx._xscale = random(200) + 50;
boxx._yscale = boxx._xscale * (1 + (random(10) / 10));
aa = random(2) + 1;
if (aa == 2) {
boxx._xscale = boxx._xscale * -1;
}
Symbol 166 MovieClip Frame 17
gotoAndPlay(random(_currentframe - 1) + 1);
Symbol 168 MovieClip Frame 1
stopAllSounds();
Symbol 168 MovieClip Frame 2
_parent.nextFrame();
Symbol 168 MovieClip Frame 46
_parent.nextFrame();
Symbol 168 MovieClip Frame 221
_parent.nextFrame();
Symbol 168 MovieClip Frame 275
_parent.nextFrame();
Symbol 168 MovieClip Frame 509
_parent._parent.play();
stop();
Symbol 173 MovieClip Frame 1
_visible = false;
Symbol 186 MovieClip Frame 1
gotoAndStop(wich_vid);
Symbol 192 MovieClip Frame 6
_alpha = (random(20) + 80);
gotoAndPlay(random(_currentframe - 1) + 1);
Symbol 194 MovieClip Frame 1
gotoAndPlay (2);
Symbol 194 MovieClip Frame 90
stop();
Symbol 195 MovieClip Frame 6
_alpha = (random(20) + 80);
gotoAndPlay(random(_currentframe - 1) + 1);
Symbol 197 MovieClip Frame 200
stop();
Symbol 198 MovieClip Frame 1
stop();
Instance of Symbol 186 MovieClip in Symbol 198 MovieClip Frame 2
onClipEvent (load) {
wich_vid = 1;
}
Instance of Symbol 186 MovieClip in Symbol 198 MovieClip Frame 4
onClipEvent (load) {
wich_vid = 2;
}
Symbol 202 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.menuu != undefined) {
gotoAndStop(_root.menuu.boxx._currentframe);
} else {
gotoAndStop (1);
}
};
Symbol 214 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 1
stop();
Instance of Symbol 233 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent._parent.typee2);
}
Symbol 238 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 1
stop();
Symbol 258 MovieClip Frame 1
stop();
Symbol 263 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(100) + 1);
}
Instance of Symbol 278 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._currentframe == 40) {
_x = -358;
_parent.logoo._visible = false;
} else {
_x = 24;
}
}
Symbol 280 MovieClip Frame 1
sx = _x;
sy = _y;
sr = _rotation;
_x = ((_x * 2) + 800);
_rotation = ((sx * 45) / 800);
speed = 0.2 - ((sx * 0.15) / 800);
stop();
onEnterFrame = function () {
speedx = (sx - _x) * speed;
speedy = (sy - _y) * speed;
speedr = (sr - _rotation) * speed;
if ((_x < (sx - 0.5)) || (_x > (sx + 0.5))) {
_x = (_x + speedx);
}
if ((_y < (sy - 0.5)) || (_y > (sy + 0.5))) {
_y = (_y + speedy);
}
if ((_rotation < (sr - 0.5)) || (_rotation > (sr + 0.5))) {
_rotation = (_rotation + speedr);
}
};
Symbol 283 MovieClip Frame 1
gotoAndStop (2);
Symbol 283 MovieClip Frame 3
play();
Symbol 298 Button
on (release) {
getURL ("http://www.facebook.com/gamesfree.ca", "_blank");
}
Symbol 308 MovieClip Frame 1
stop();
Symbol 313 MovieClip Frame 1
_x = (-random(380));
_y = (-random(210));
Symbol 333 MovieClip Frame 1
gotoAndStop(_parent.iconn);
Symbol 334 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
txx = _parent.txx;
}
stop();
onEnterFrame = function () {
if (txx != _parent.txx) {
txx = _parent.txx;
gotoAndPlay (2);
}
};
Symbol 334 MovieClip Frame 13
gotoAndStop (1);
Symbol 338 MovieClip Frame 1
stop();
Instance of Symbol 339 MovieClip "ob1" in Symbol 340 MovieClip Frame 1
onClipEvent (enterFrame) {
nb = 1;
element_ob = eval ((("_root.objective_element_" + _root.lvl2) + "_") + nb);
element_name = eval ("_root.element_name_" + element_ob);
possess = eval ("_root." + element_name);
reach = eval ((("_root.objective_element_nb_" + _root.lvl2) + "_") + nb);
txx = (possess + "/") + reach;
boxx.iconn = element_ob;
if (possess < reach) {
boxx2.gotoAndStop(1);
} else {
boxx2.gotoAndStop(2);
}
if (element_ob == 0) {
_visible = false;
}
}
Instance of Symbol 339 MovieClip "ob2" in Symbol 340 MovieClip Frame 1
onClipEvent (enterFrame) {
nb = 2;
element_ob = eval ((("_root.objective_element_" + _root.lvl2) + "_") + nb);
element_name = eval ("_root.element_name_" + element_ob);
possess = eval ("_root." + element_name);
reach = eval ((("_root.objective_element_nb_" + _root.lvl2) + "_") + nb);
txx = (possess + "/") + reach;
boxx.iconn = element_ob;
if (possess < reach) {
boxx2.gotoAndStop(1);
} else {
boxx2.gotoAndStop(2);
}
if (element_ob == 0) {
_visible = false;
}
}
Instance of Symbol 339 MovieClip "ob3" in Symbol 340 MovieClip Frame 1
onClipEvent (enterFrame) {
nb = 3;
element_ob = eval ((("_root.objective_element_" + _root.lvl2) + "_") + nb);
element_name = eval ("_root.element_name_" + element_ob);
possess = eval ("_root." + element_name);
reach = eval ((("_root.objective_element_nb_" + _root.lvl2) + "_") + nb);
txx = (possess + "/") + reach;
boxx.iconn = element_ob;
if (possess < reach) {
boxx2.gotoAndStop(1);
} else {
boxx2.gotoAndStop(2);
}
if (element_ob == 0) {
_visible = false;
}
}
Symbol 357 MovieClip Frame 1
aff = eval ("_root.objective_txx_" + _root.lvl2);
gotoAndStop(_root.lvl2);
Symbol 359 MovieClip Frame 1
_rotation = (random(20) - 10);
aa = random(2) + 1;
if (aa == 2) {
_xscale = (_xscale * -1);
}
aa = random(2) + 1;
if (aa == 2) {
_yscale = (_yscale * -1);
}
stop();
Symbol 379 MovieClip Frame 1
gotoAndStop(_parent._parent.iconn);
Symbol 380 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_parent._parent.onsection == 2) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Symbol 381 Button
on (release) {
_parent.act = 2;
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(3);
if (_parent.dalink != undefined) {
getURL (_parent.dalink, "_blank");
}
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 382 MovieClip Frame 1
iconn = _parent.iconn;
stop();
Symbol 382 MovieClip Frame 2
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(2);
Symbol 382 MovieClip Frame 10
stop();
Symbol 382 MovieClip Frame 20
gotoAndStop (1);
Symbol 390 MovieClip Frame 1
gotoAndStop(_root.keyboard);
Symbol 393 MovieClip Frame 1
gotoAndStop(_root.keyboard);
Symbol 399 MovieClip Frame 1
gotoAndStop(_root.keyboard);
Symbol 402 MovieClip Frame 1
gotoAndStop(_root.keyboard);
Symbol 459 MovieClip Frame 1
stop();
Symbol 460 Button
on (release) {
act = 2;
}
on (rollOver) {
act = 3;
gotoAndStop (2);
}
on (rollOut, releaseOutside) {
act = 4;
gotoAndStop (1);
}
Symbol 461 MovieClip Frame 1
stop();
Instance of Symbol 407 MovieClip in Symbol 467 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 407 MovieClip in Symbol 467 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop (2);
}
Instance of Symbol 407 MovieClip in Symbol 467 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop (3);
}
Instance of Symbol 407 MovieClip in Symbol 467 MovieClip Frame 5
onClipEvent (load) {
gotoAndStop (4);
}
Instance of Symbol 407 MovieClip in Symbol 467 MovieClip Frame 6
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 407 MovieClip in Symbol 467 MovieClip Frame 20
onClipEvent (load) {
gotoAndStop (6);
}
Instance of Symbol 407 MovieClip in Symbol 467 MovieClip Frame 21
onClipEvent (load) {
gotoAndStop (7);
}
Instance of Symbol 461 MovieClip in Symbol 467 MovieClip Frame 25
onClipEvent (load) {
bt._xscale = 1;
bt._yscale = bt._xscale;
bt._y = bt._y - 10000;
gotoAndStop (2);
}
Instance of Symbol 407 MovieClip in Symbol 467 MovieClip Frame 26
onClipEvent (load) {
gotoAndStop (27);
}
Instance of Symbol 407 MovieClip in Symbol 467 MovieClip Frame 26
onClipEvent (load) {
gotoAndStop (26);
}
Instance of Symbol 339 MovieClip "ele_3" in Symbol 469 MovieClip Frame 1
onClipEvent (load) {
txx = _root.textile;
boxx.iconn = 3;
boxx2.gotoAndStop(2);
}
onClipEvent (enterFrame) {
txx = _root.textile;
boxx.iconn = 3;
boxx2.gotoAndStop(2);
}
Instance of Symbol 339 MovieClip "ele_2" in Symbol 469 MovieClip Frame 1
onClipEvent (load) {
txx = _root.metal;
boxx.iconn = 2;
boxx2.gotoAndStop(2);
}
onClipEvent (enterFrame) {
txx = _root.metal;
boxx.iconn = 2;
boxx2.gotoAndStop(2);
}
Instance of Symbol 339 MovieClip "ele_5" in Symbol 469 MovieClip Frame 1
onClipEvent (load) {
txx = _root.water;
boxx.iconn = 5;
boxx2.gotoAndStop(2);
}
onClipEvent (enterFrame) {
txx = _root.water;
boxx.iconn = 5;
boxx2.gotoAndStop(2);
}
Instance of Symbol 339 MovieClip "ele_1" in Symbol 469 MovieClip Frame 1
onClipEvent (load) {
txx = _root.wood;
boxx.iconn = 1;
boxx2.gotoAndStop(2);
}
onClipEvent (enterFrame) {
txx = _root.wood;
boxx.iconn = 1;
boxx2.gotoAndStop(2);
}
Instance of Symbol 339 MovieClip "ele_4" in Symbol 469 MovieClip Frame 1
onClipEvent (load) {
txx = _root.food;
boxx.iconn = 4;
boxx2.gotoAndStop(2);
}
onClipEvent (enterFrame) {
txx = _root.food;
boxx.iconn = 4;
boxx2.gotoAndStop(2);
}
Symbol 476 Button
on (press) {
can_scroll = 2;
}
on (release, releaseOutside) {
can_scroll = 1;
}
on (rollOver) {
gotoAndStop (2);
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(7);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 477 MovieClip Frame 1
stop();
onEnterFrame = function () {
_x = 0;
if (can_scroll == 2) {
_y = _parent._ymouse;
}
if (_y < 0) {
_y = 0;
}
if (_y > 188) {
_y = 188;
}
_x = ((_y * -3) / 188);
};
Symbol 481 Button
on (release) {
if (can_upgrade == 2) {
if (ob != 0) {
act = 2;
} else {
act = 3;
}
} else {
act = 5;
}
}
Symbol 485 MovieClip Frame 1
_visible = false;
Symbol 489 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
nb = ((_x + 39) / 39) + ((_y / 37) * 8);
if ((nb >= 49) && (_root.bag < 2)) {
_y = (_y + 1000);
}
if ((nb >= 73) && (_root.bag < 3)) {
_y = (_y + 1000);
}
}
stop();
onEnterFrame = function () {
if (rollover != 2) {
if (rollover == 3) {
gotoAndStop (5);
} else if (eval ("_root.case_" + nb) == 0) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
} else if (eval ("_root.case_" + nb) == 0) {
gotoAndStop (3);
} else {
gotoAndStop (4);
}
rollover = 1;
};
Symbol 550 MovieClip Frame 1
if (_parent.qty >= 100) {
stop();
} else {
gotoAndStop (2);
}
Symbol 571 MovieClip Frame 1
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 2
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 3
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 4
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 5
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 6
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 7
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 8
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 9
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 10
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 11
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 12
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 13
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 14
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 15
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 16
case_width = 2;
case_height = 2;
stop();
Instance of Symbol 529 MovieClip in Symbol 571 MovieClip Frame 16
onClipEvent (load) {
gotoAndStop (1);
}
Symbol 571 MovieClip Frame 17
case_width = 2;
case_height = 2;
stop();
Instance of Symbol 529 MovieClip in Symbol 571 MovieClip Frame 17
onClipEvent (load) {
gotoAndStop (2);
}
Symbol 571 MovieClip Frame 18
case_width = 2;
case_height = 2;
stop();
Instance of Symbol 529 MovieClip in Symbol 571 MovieClip Frame 18
onClipEvent (load) {
gotoAndStop (3);
}
Symbol 571 MovieClip Frame 19
case_width = 2;
case_height = 2;
stop();
Instance of Symbol 529 MovieClip in Symbol 571 MovieClip Frame 19
onClipEvent (load) {
gotoAndStop (4);
}
Symbol 571 MovieClip Frame 20
case_width = 2;
case_height = 2;
Symbol 571 MovieClip Frame 21
case_width = 3;
case_height = 2;
Symbol 571 MovieClip Frame 22
case_width = 3;
case_height = 2;
Symbol 571 MovieClip Frame 23
case_width = 4;
case_height = 2;
Symbol 571 MovieClip Frame 24
case_width = 3;
case_height = 2;
Symbol 571 MovieClip Frame 25
case_width = 4;
case_height = 2;
Symbol 571 MovieClip Frame 26
case_width = 5;
case_height = 2;
Symbol 571 MovieClip Frame 27
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 28
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 29
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 30
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 31
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 32
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 33
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 34
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 35
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 36
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 37
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 38
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 39
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 40
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 41
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 42
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 43
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 44
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 45
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 46
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 47
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 48
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 49
case_width = 2;
case_height = 2;
stop();
Symbol 571 MovieClip Frame 50
case_width = 2;
case_height = 2;
stop();
Symbol 572 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
if (eval ("_root.item_" + nb) == 0) {
_visible = false;
gotoAndStop (1);
} else {
wich_item = eval ("_root.item_" + nb);
boxx.gotoAndStop(wich_item);
item_kind = eval ("_root.item_kind_" + wich_item);
item_qty = eval ("_root.item_qty_" + nb);
boxx.qty = item_qty;
_visible = true;
gotoAndStop (2);
posi = eval ("_root.item_posi_" + nb);
_x = ((eval (("_parent.b_" + posi) + "._x") + ((boxx.case_width * 39) / 2)) - 2);
_y = ((eval (("_parent.b_" + posi) + "._y") + ((boxx.case_height * 37) / 2)) - 2);
bt_upgrade._x = (((boxx.case_width / 2) * 39) - 17) - 2;
bt_upgrade._y = (((boxx.case_height / 2) * 37) - 16) - 2;
if ((_parent._parent.wp_select == 2) && (item_kind != 7)) {
_alpha = 40;
}
if (_parent._parent.over_ob == nb) {
if (boxx._xscale < 110) {
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(7);
}
boxx._xscale = 110;
boxx._yscale = boxx._xscale;
if ((_parent._parent.can_upgrade == 2) && (_parent._parent._parent._currentframe != 10)) {
bt_upgrade._visible = true;
} else {
bt_upgrade._visible = false;
}
} else {
boxx._xscale = 100;
boxx._yscale = boxx._xscale;
bt_upgrade._visible = false;
}
}
};
Instance of Symbol 461 MovieClip "bt_upgrade" in Symbol 572 MovieClip Frame 2
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent._parent.act = 4;
}
}
Instance of Symbol 572 MovieClip "item_1" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 572 MovieClip "item_11" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 11;
}
Instance of Symbol 572 MovieClip "item_21" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 21;
}
Instance of Symbol 572 MovieClip "item_2" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 572 MovieClip "item_12" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 12;
}
Instance of Symbol 572 MovieClip "item_22" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 22;
}
Instance of Symbol 572 MovieClip "item_3" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 572 MovieClip "item_13" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 13;
}
Instance of Symbol 572 MovieClip "item_23" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 23;
}
Instance of Symbol 572 MovieClip "item_4" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 572 MovieClip "item_14" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 14;
}
Instance of Symbol 572 MovieClip "item_24" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 24;
}
Instance of Symbol 572 MovieClip "item_5" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 572 MovieClip "item_15" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 15;
}
Instance of Symbol 572 MovieClip "item_6" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 572 MovieClip "item_16" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 16;
}
Instance of Symbol 572 MovieClip "item_7" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 572 MovieClip "item_17" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 17;
}
Instance of Symbol 572 MovieClip "item_8" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 572 MovieClip "item_18" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 18;
}
Instance of Symbol 572 MovieClip "item_9" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
}
Instance of Symbol 572 MovieClip "item_19" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 19;
}
Instance of Symbol 572 MovieClip "item_10" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
}
Instance of Symbol 572 MovieClip "item_20" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
nb = 20;
}
Symbol 582 Button
on (release) {
_parent.ob = 0;
}
on (rollOver) {
boxx._alpha = 100;
}
on (rollOut) {
boxx._alpha = 20;
}
Symbol 583 MovieClip Frame 1
stop();
boxx._alpha = 20;
onEnterFrame = function () {
if (_parent.ob == 0) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Symbol 584 MovieClip Frame 1
Symbol 586 MovieClip Frame 1
_visible = false;
Instance of Symbol 584 MovieClip "hitt" in Symbol 587 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.block_drop = 1;
_parent.block_match = 1;
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
}
var nb = 1;
while (nb < 97) {
if (_parent._parent._parent.boxx["b_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
la_case = _parent._parent._parent.boxx["b_" + nb].nb;
item_nb = eval ("_root.case_" + la_case);
item_typee = eval ("_root.item_" + item_nb);
item_kind = eval ("_root.item_kind_" + item_typee);
item_qty = eval ("_root.item_qty_" + item_nb);
item_lvl = eval ("_root.item_lvl_" + item_nb);
_parent._parent._parent.boxx["b_" + nb].rollover = 2;
if (eval ("_root.case_" + la_case) == 0) {
_parent.block_drop = 0;
if ((_parent.item_nb != undefined) && (_parent.item_nb != 0)) {
Set("_root.case_" + la_case, _parent.item_nb);
_parent.item_nb = 0;
}
}
if ((((_parent._parent._parent.ob == item_typee) && (_parent._parent.item_kind == 9)) && (item_kind == 9)) && (item_qty < 100)) {
_parent.block_match = 0;
_parent._parent._parent.boxx["b_" + nb].rollover = 3;
}
}
nb++;
}
i++;
}
}
Symbol 588 MovieClip Frame 1
stop();
onEnterFrame = function () {
_x = _parent._xmouse;
_y = _parent._ymouse;
if ((_parent.ob == 0) || (_parent.can_upgrade != 2)) {
gotoAndStop (1);
} else {
_parent.over_ob = 0;
if (_currentframe == 1) {
gotoAndStop (2);
} else {
gotoAndStop((boxx.case_height * 10) + boxx.case_width);
}
boxx.gotoAndStop(_parent.ob);
item_kind = eval ("_root.item_kind_" + _parent.ob);
item_qty = _parent.ob_qty;
boxx.qty = item_qty;
boxx._xscale = 110;
boxx._yscale = boxx._xscale;
}
};
Instance of Symbol 584 MovieClip "hitt" in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent._parent.over_ob = 0;
la_place = 0;
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 97) {
if (_parent._parent.boxx["b_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
la_case = _parent._parent.boxx["b_" + nb].nb;
if (eval ("_root.case_" + la_case) != 0) {
_parent._parent.over_ob = eval ("_root.case_" + la_case);
_parent._parent.over_ob_typee = eval ("_root.item_" + _parent._parent.over_ob);
_parent._parent.over_ob_lvl = eval ("_root.item_lvl_" + _parent._parent.over_ob);
_parent._parent.over_ob_qty = eval ("_root.item_qty_" + _parent._parent.over_ob);
}
}
if (_parent._parent._parent._currentframe == 21) {
if (_parent._parent._parent.dropboxx["place_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
la_place = _parent._parent._parent.dropboxx["place_" + nb].nb;
_parent._parent._parent.dropboxx["place_" + nb].rollover = 2;
}
}
nb++;
}
i++;
}
}
Symbol 590 MovieClip Frame 1
_visible = false;
Symbol 591 MovieClip Frame 1
stop();
onEnterFrame = function () {
_x = _parent._xmouse;
_y = _parent._ymouse;
if (_parent.equip_ob == 0) {
gotoAndStop (1);
} else {
gotoAndStop (2);
item_typee = eval ("_root.item_" + _parent.equip_ob);
boxx.gotoAndStop(item_typee);
item_kind = eval ("_root.item_kind_" + item_typee);
item_qty = _parent.ob_qty;
boxx.qty = item_qty;
boxx._xscale = 110;
boxx._yscale = boxx._xscale;
}
};
Symbol 592 MovieClip Frame 1
ob = 0;
if (_parent.from_buy_new_item == 2) {
_parent.from_buy_new_item = 1;
ob = _root.item_x;
ob_lvl = _root.item_lvl_x;
ob_qty = _root.item_qty_x;
}
if (_parent.from_taken_new_item == 2) {
_parent.from_taken_new_item = 3;
ob = _root.item_x;
ob_lvl = _root.item_lvl_x;
ob_qty = _root.item_qty_x;
}
if (_parent.from_cheatitem == 2) {
_parent.from_cheatitem = 1;
ob = _root.item_x;
ob_lvl = _root.item_lvl_x;
ob_qty = _root.item_qty_x;
}
over_ob = 0;
equip_ob = 0;
hauteur = boxx._height;
range = ((111 + (_root.bag * 111)) - 224) * -1;
speed = 0.4;
if (_root.bag == 1) {
_parent.scrollbar._visible = false;
_x = (_x + 4);
}
stop();
onEnterFrame = function () {
ob_kind = eval ("_root.item_kind_" + ob);
if (wp_select == 2) {
if ((equip_ob != 0) && (ob_float2.item_kind != 7)) {
equip_ob = 0;
}
}
if ((_parent.from_buy == 3) && (ob == 0)) {
_parent.gotoAndStop(11);
}
if (_parent.from_buy == -5) {
_parent.from_buy = 3;
}
if (_parent.from_buy == -4) {
_parent.from_buy = -5;
}
if (_parent.from_buy == -3) {
_parent.from_buy = -4;
}
if (_parent.from_taken_new_item == 3) {
if (ob == 0) {
if (from_taken_new_item_close_menu_timer > 0) {
from_taken_new_item_close_menu_timer = from_taken_new_item_close_menu_timer - 1;
} else {
_parent.from_taken_new_item = 1;
_parent.gotoAndStop(1);
}
} else {
from_taken_new_item_close_menu_timer = 3;
}
}
if (item_nb == undefined) {
item_nb = 1;
}
if (eval ("_root.item_" + item_nb) != 0) {
item_nb = item_nb + 1;
}
if (item_nb > 24) {
item_nb = 1;
}
if (from_switch == 3) {
from_switch = 1;
ob = switch_mem_item_typee;
ob_lvl = switch_mem_item_lvl;
ob_qty = switch_mem_item_qty;
}
if (from_switch == 2) {
from_switch = 3;
act = 2;
}
if (act == 2) {
act = 1;
block_drop = 0;
if (ob_float.b1 != undefined) {
block_drop = block_drop + ob_float.b1.block_drop;
}
if (ob_float.b2 != undefined) {
block_drop = block_drop + ob_float.b2.block_drop;
}
if (ob_float.b3 != undefined) {
block_drop = block_drop + ob_float.b3.block_drop;
}
if (ob_float.b4 != undefined) {
block_drop = block_drop + ob_float.b4.block_drop;
}
if (ob_float.b5 != undefined) {
block_drop = block_drop + ob_float.b5.block_drop;
}
if (ob_float.b6 != undefined) {
block_drop = block_drop + ob_float.b6.block_drop;
}
if (ob_float.b7 != undefined) {
block_drop = block_drop + ob_float.b7.block_drop;
}
if (ob_float.b8 != undefined) {
block_drop = block_drop + ob_float.b8.block_drop;
}
if (ob_float.b9 != undefined) {
block_drop = block_drop + ob_float.b9.block_drop;
}
if (ob_float.b10 != undefined) {
block_drop = block_drop + ob_float.b10.block_drop;
}
if (ob_float.b11 != undefined) {
block_drop = block_drop + ob_float.b11.block_drop;
}
if (ob_float.b12 != undefined) {
block_drop = block_drop + ob_float.b12.block_drop;
}
if (ob_float.b13 != undefined) {
block_drop = block_drop + ob_float.b13.block_drop;
}
if (ob_float.b14 != undefined) {
block_drop = block_drop + ob_float.b14.block_drop;
}
if (ob_float.b15 != undefined) {
block_drop = block_drop + ob_float.b15.block_drop;
}
if (ob_float.b16 != undefined) {
block_drop = block_drop + ob_float.b16.block_drop;
}
block_match = 0;
if (ob_float.b1 != undefined) {
case_1 = ob_float.b1.hitt.item_typee;
block_match = block_match + ob_float.b1.block_match;
}
if (ob_float.b2 != undefined) {
case_2 = ob_float.b2.hitt.item_typee;
block_match = block_match + ob_float.b2.block_match;
} else {
case_2 = case_1;
}
if (ob_float.b3 != undefined) {
case_3 = ob_float.b3.hitt.item_typee;
block_match = block_match + ob_float.b3.block_match;
} else {
case_3 = case_1;
}
if (ob_float.b4 != undefined) {
case_4 = ob_float.b4.hitt.item_typee;
block_match = block_match + ob_float.b4.block_match;
} else {
case_4 = case_1;
}
if (ob_float.b5 != undefined) {
case_5 = ob_float.b5.hitt.item_typee;
block_match = block_match + ob_float.b5.block_match;
} else {
case_5 = case_1;
}
if (ob_float.b6 != undefined) {
case_6 = ob_float.b6.hitt.item_typee;
block_match = block_match + ob_float.b6.block_match;
} else {
case_6 = case_1;
}
if (ob_float.b7 != undefined) {
case_7 = ob_float.b7.hitt.item_typee;
block_match = block_match + ob_float.b7.block_match;
} else {
case_7 = case_1;
}
if (ob_float.b8 != undefined) {
case_8 = ob_float.b8.hitt.item_typee;
block_match = block_match + ob_float.b8.block_match;
} else {
case_8 = case_1;
}
if (ob_float.b9 != undefined) {
case_9 = ob_float.b9.hitt.item_typee;
block_match = block_match + ob_float.b9.block_match;
} else {
case_9 = case_1;
}
if (ob_float.b10 != undefined) {
case_10 = ob_float.b10.hitt.item_typee;
block_match = block_match + ob_float.b10.block_match;
} else {
case_10 = case_1;
}
if (ob_float.b11 != undefined) {
case_11 = ob_float.b11.hitt.item_typee;
block_match = block_match + ob_float.b11.block_match;
} else {
case_11 = case_1;
}
if (ob_float.b12 != undefined) {
case_12 = ob_float.b12.hitt.item_typee;
block_match = block_match + ob_float.b12.block_match;
} else {
case_12 = case_1;
}
if (ob_float.b13 != undefined) {
case_13 = ob_float.b13.hitt.item_typee;
block_match = block_match + ob_float.b13.block_match;
} else {
case_13 = case_1;
}
if (ob_float.b14 != undefined) {
case_14 = ob_float.b14.hitt.item_typee;
block_match = block_match + ob_float.b14.block_match;
} else {
case_14 = case_1;
}
if (ob_float.b15 != undefined) {
case_15 = ob_float.b15.hitt.item_typee;
block_match = block_match + ob_float.b15.block_match;
} else {
case_15 = case_1;
}
if (ob_float.b16 != undefined) {
case_16 = ob_float.b16.hitt.item_typee;
block_match = block_match + ob_float.b16.block_match;
} else {
case_16 = case_1;
}
if (block_match <= 0) {
if (((((((((((((((((case_1 + case_2) + case_3) + case_4) + case_5) + case_6) + case_7) + case_8) + case_9) + case_10) + case_11) + case_12) + case_13) + case_14) + case_15) + case_16) / case_1) == 16) {
if ((ob_float.b1.hitt.item_qty + ob_qty) <= 100) {
Set("_root.item_qty_" + ob_float.b1.hitt.item_nb, ob_float.b1.hitt.item_qty + ob_qty);
ob = 0;
} else {
depasse = 100 - ob_float.b1.hitt.item_qty;
Set("_root.item_qty_" + ob_float.b1.hitt.item_nb, 100);
ob_qty = ob_qty - depasse;
}
}
} else if (block_drop <= 0) {
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(4);
Set("_root.item_" + item_nb, ob);
Set("_root.item_lvl_" + item_nb, ob_lvl);
Set("_root.item_qty_" + item_nb, ob_qty);
Set("_root.item_posi_" + item_nb, ob_float.b1.hitt.la_case);
ob_float.b1.item_nb = item_nb;
ob_float.b2.item_nb = item_nb;
ob_float.b3.item_nb = item_nb;
ob_float.b4.item_nb = item_nb;
ob_float.b5.item_nb = item_nb;
ob_float.b6.item_nb = item_nb;
ob_float.b7.item_nb = item_nb;
ob_float.b8.item_nb = item_nb;
ob_float.b9.item_nb = item_nb;
ob_float.b10.item_nb = item_nb;
ob_float.b11.item_nb = item_nb;
ob_float.b12.item_nb = item_nb;
ob_float.b13.item_nb = item_nb;
ob_float.b14.item_nb = item_nb;
ob_float.b15.item_nb = item_nb;
ob_float.b16.item_nb = item_nb;
ob = 0;
} else {
trace("switch(1)");
switch_itemnb_many = 0;
switch_itemnb_nb = 1;
switch_itemnb = 0;
case_nb_1 = 0;
if (ob_float.b1 != undefined) {
case_nb_1 = ob_float.b1.hitt.item_nb;
}
if (ob_float.b2 != undefined) {
case_nb_2 = ob_float.b2.hitt.item_nb;
} else {
case_nb_2 = case_nb_1;
}
if (ob_float.b3 != undefined) {
case_nb_3 = ob_float.b3.hitt.item_nb;
} else {
case_nb_3 = case_nb_1;
}
if (ob_float.b4 != undefined) {
case_nb_4 = ob_float.b4.hitt.item_nb;
} else {
case_nb_4 = case_nb_1;
}
if (ob_float.b5 != undefined) {
case_nb_5 = ob_float.b5.hitt.item_nb;
} else {
case_nb_5 = case_nb_1;
}
if (ob_float.b6 != undefined) {
case_nb_6 = ob_float.b6.hitt.item_nb;
} else {
case_nb_6 = case_nb_1;
}
if (ob_float.b7 != undefined) {
case_nb_7 = ob_float.b7.hitt.item_nb;
} else {
case_nb_7 = case_nb_1;
}
if (ob_float.b8 != undefined) {
case_nb_8 = ob_float.b8.hitt.item_nb;
} else {
case_nb_8 = case_nb_1;
}
if (ob_float.b9 != undefined) {
case_nb_9 = ob_float.b9.hitt.item_nb;
} else {
case_nb_9 = case_nb_1;
}
if (ob_float.b10 != undefined) {
case_nb_10 = ob_float.b10.hitt.item_nb;
} else {
case_nb_10 = case_nb_1;
}
if (ob_float.b11 != undefined) {
case_nb_11 = ob_float.b11.hitt.item_nb;
} else {
case_nb_11 = case_nb_1;
}
if (ob_float.b12 != undefined) {
case_nb_12 = ob_float.b12.hitt.item_nb;
} else {
case_nb_12 = case_nb_1;
}
if (ob_float.b13 != undefined) {
case_nb_13 = ob_float.b13.hitt.item_nb;
} else {
case_nb_13 = case_nb_1;
}
if (ob_float.b14 != undefined) {
case_nb_14 = ob_float.b14.hitt.item_nb;
} else {
case_nb_14 = case_nb_1;
}
if (ob_float.b15 != undefined) {
case_nb_15 = ob_float.b15.hitt.item_nb;
} else {
case_nb_15 = case_nb_1;
}
if (ob_float.b16 != undefined) {
case_nb_16 = ob_float.b16.hitt.item_nb;
} else {
case_nb_16 = case_nb_1;
}
if (case_nb_1 != 0) {
switch_itemnb = 1;
switch_itemnb_many = switch_itemnb_many + 1;
}
if ((((((((((((((((case_nb_2 != 0) && (case_nb_2 != case_nb_1)) && (case_nb_2 != case_nb_3)) && (case_nb_2 != case_nb_4)) && (case_nb_2 != case_nb_5)) && (case_nb_2 != case_nb_6)) && (case_nb_2 != case_nb_7)) && (case_nb_2 != case_nb_8)) && (case_nb_2 != case_nb_9)) && (case_nb_2 != case_nb_10)) && (case_nb_2 != case_nb_11)) && (case_nb_2 != case_nb_12)) && (case_nb_2 != case_nb_13)) && (case_nb_2 != case_nb_14)) && (case_nb_2 != case_nb_15)) && (case_nb_2 != case_nb_16)) {
switch_itemnb = 2;
switch_itemnb_many = switch_itemnb_many + 1;
}
if ((((((((((((((((case_nb_3 != 0) && (case_nb_3 != case_nb_1)) && (case_nb_3 != case_nb_2)) && (case_nb_3 != case_nb_4)) && (case_nb_3 != case_nb_5)) && (case_nb_3 != case_nb_6)) && (case_nb_3 != case_nb_7)) && (case_nb_3 != case_nb_8)) && (case_nb_3 != case_nb_9)) && (case_nb_3 != case_nb_10)) && (case_nb_3 != case_nb_11)) && (case_nb_3 != case_nb_12)) && (case_nb_3 != case_nb_13)) && (case_nb_3 != case_nb_14)) && (case_nb_3 != case_nb_15)) && (case_nb_3 != case_nb_16)) {
switch_itemnb = 3;
switch_itemnb_many = switch_itemnb_many + 1;
}
if ((((((((((((((((case_nb_4 != 0) && (case_nb_4 != case_nb_1)) && (case_nb_4 != case_nb_2)) && (case_nb_4 != case_nb_3)) && (case_nb_4 != case_nb_5)) && (case_nb_4 != case_nb_6)) && (case_nb_4 != case_nb_7)) && (case_nb_4 != case_nb_8)) && (case_nb_4 != case_nb_9)) && (case_nb_4 != case_nb_10)) && (case_nb_4 != case_nb_11)) && (case_nb_4 != case_nb_12)) && (case_nb_4 != case_nb_13)) && (case_nb_4 != case_nb_14)) && (case_nb_4 != case_nb_15)) && (case_nb_4 != case_nb_16)) {
switch_itemnb = 4;
switch_itemnb_many = switch_itemnb_many + 1;
}
if ((((((((((((((((case_nb_5 != 0) && (case_nb_5 != case_nb_1)) && (case_nb_5 != case_nb_2)) && (case_nb_5 != case_nb_3)) && (case_nb_5 != case_nb_4)) && (case_nb_5 != case_nb_6)) && (case_nb_5 != case_nb_7)) && (case_nb_5 != case_nb_8)) && (case_nb_5 != case_nb_9)) && (case_nb_5 != case_nb_10)) && (case_nb_5 != case_nb_11)) && (case_nb_5 != case_nb_12)) && (case_nb_5 != case_nb_13)) && (case_nb_5 != case_nb_14)) && (case_nb_5 != case_nb_15)) && (case_nb_5 != case_nb_16)) {
switch_itemnb = 5;
switch_itemnb_many = switch_itemnb_many + 1;
}
if ((((((((((((((((case_nb_6 != 0) && (case_nb_6 != case_nb_1)) && (case_nb_6 != case_nb_2)) && (case_nb_6 != case_nb_3)) && (case_nb_6 != case_nb_4)) && (case_nb_6 != case_nb_5)) && (case_nb_6 != case_nb_7)) && (case_nb_6 != case_nb_8)) && (case_nb_6 != case_nb_9)) && (case_nb_6 != case_nb_10)) && (case_nb_6 != case_nb_11)) && (case_nb_6 != case_nb_12)) && (case_nb_6 != case_nb_13)) && (case_nb_6 != case_nb_14)) && (case_nb_6 != case_nb_15)) && (case_nb_6 != case_nb_16)) {
switch_itemnb = 6;
switch_itemnb_many = switch_itemnb_many + 1;
}
if ((((((((((((((((case_nb_7 != 0) && (case_nb_7 != case_nb_1)) && (case_nb_7 != case_nb_2)) && (case_nb_7 != case_nb_3)) && (case_nb_7 != case_nb_4)) && (case_nb_7 != case_nb_5)) && (case_nb_7 != case_nb_6)) && (case_nb_7 != case_nb_8)) && (case_nb_7 != case_nb_9)) && (case_nb_7 != case_nb_10)) && (case_nb_7 != case_nb_11)) && (case_nb_7 != case_nb_12)) && (case_nb_7 != case_nb_13)) && (case_nb_7 != case_nb_14)) && (case_nb_7 != case_nb_15)) && (case_nb_7 != case_nb_16)) {
switch_itemnb = 7;
switch_itemnb_many = switch_itemnb_many + 1;
}
if ((((((((((((((((case_nb_8 != 0) && (case_nb_8 != case_nb_1)) && (case_nb_8 != case_nb_2)) && (case_nb_8 != case_nb_3)) && (case_nb_8 != case_nb_4)) && (case_nb_8 != case_nb_5)) && (case_nb_8 != case_nb_6)) && (case_nb_8 != case_nb_7)) && (case_nb_8 != case_nb_9)) && (case_nb_8 != case_nb_10)) && (case_nb_8 != case_nb_11)) && (case_nb_8 != case_nb_12)) && (case_nb_8 != case_nb_13)) && (case_nb_8 != case_nb_14)) && (case_nb_8 != case_nb_15)) && (case_nb_8 != case_nb_16)) {
switch_itemnb = 8;
switch_itemnb_many = switch_itemnb_many + 1;
}
if ((((((((((((((((case_nb_9 != 0) && (case_nb_9 != case_nb_1)) && (case_nb_9 != case_nb_2)) && (case_nb_9 != case_nb_3)) && (case_nb_9 != case_nb_4)) && (case_nb_9 != case_nb_5)) && (case_nb_9 != case_nb_6)) && (case_nb_9 != case_nb_7)) && (case_nb_9 != case_nb_8)) && (case_nb_9 != case_nb_10)) && (case_nb_9 != case_nb_11)) && (case_nb_9 != case_nb_12)) && (case_nb_9 != case_nb_13)) && (case_nb_9 != case_nb_14)) && (case_nb_9 != case_nb_15)) && (case_nb_9 != case_nb_16)) {
switch_itemnb = 9;
switch_itemnb_many = switch_itemnb_many + 1;
}
if ((((((((((((((((case_nb_10 != 0) && (case_nb_10 != case_nb_1)) && (case_nb_10 != case_nb_2)) && (case_nb_10 != case_nb_3)) && (case_nb_10 != case_nb_4)) && (case_nb_10 != case_nb_5)) && (case_nb_10 != case_nb_6)) && (case_nb_10 != case_nb_7)) && (case_nb_10 != case_nb_8)) && (case_nb_10 != case_nb_9)) && (case_nb_10 != case_nb_11)) && (case_nb_10 != case_nb_12)) && (case_nb_10 != case_nb_13)) && (case_nb_10 != case_nb_14)) && (case_nb_10 != case_nb_15)) && (case_nb_10 != case_nb_16)) {
switch_itemnb = 10;
switch_itemnb_many = switch_itemnb_many + 1;
}
if ((((((((((((((((case_nb_11 != 0) && (case_nb_11 != case_nb_1)) && (case_nb_11 != case_nb_2)) && (case_nb_11 != case_nb_3)) && (case_nb_11 != case_nb_4)) && (case_nb_11 != case_nb_5)) && (case_nb_11 != case_nb_6)) && (case_nb_11 != case_nb_7)) && (case_nb_11 != case_nb_8)) && (case_nb_11 != case_nb_9)) && (case_nb_11 != case_nb_10)) && (case_nb_11 != case_nb_12)) && (case_nb_11 != case_nb_13)) && (case_nb_11 != case_nb_14)) && (case_nb_11 != case_nb_15)) && (case_nb_11 != case_nb_16)) {
switch_itemnb = 11;
switch_itemnb_many = switch_itemnb_many + 1;
}
if ((((((((((((((((case_nb_12 != 0) && (case_nb_12 != case_nb_1)) && (case_nb_12 != case_nb_2)) && (case_nb_12 != case_nb_3)) && (case_nb_12 != case_nb_4)) && (case_nb_12 != case_nb_5)) && (case_nb_12 != case_nb_6)) && (case_nb_12 != case_nb_7)) && (case_nb_12 != case_nb_8)) && (case_nb_12 != case_nb_9)) && (case_nb_12 != case_nb_10)) && (case_nb_12 != case_nb_11)) && (case_nb_12 != case_nb_13)) && (case_nb_12 != case_nb_14)) && (case_nb_12 != case_nb_15)) && (case_nb_12 != case_nb_16)) {
switch_itemnb = 12;
switch_itemnb_many = switch_itemnb_many + 1;
}
if ((((((((((((((((case_nb_13 != 0) && (case_nb_13 != case_nb_1)) && (case_nb_13 != case_nb_2)) && (case_nb_13 != case_nb_3)) && (case_nb_13 != case_nb_4)) && (case_nb_13 != case_nb_5)) && (case_nb_13 != case_nb_6)) && (case_nb_13 != case_nb_7)) && (case_nb_13 != case_nb_8)) && (case_nb_13 != case_nb_9)) && (case_nb_13 != case_nb_10)) && (case_nb_13 != case_nb_11)) && (case_nb_13 != case_nb_12)) && (case_nb_13 != case_nb_14)) && (case_nb_13 != case_nb_15)) && (case_nb_13 != case_nb_16)) {
switch_itemnb = 13;
switch_itemnb_many = switch_itemnb_many + 1;
}
if ((((((((((((((((case_nb_14 != 0) && (case_nb_14 != case_nb_1)) && (case_nb_14 != case_nb_2)) && (case_nb_14 != case_nb_3)) && (case_nb_14 != case_nb_4)) && (case_nb_14 != case_nb_5)) && (case_nb_14 != case_nb_6)) && (case_nb_14 != case_nb_7)) && (case_nb_14 != case_nb_8)) && (case_nb_14 != case_nb_9)) && (case_nb_14 != case_nb_10)) && (case_nb_14 != case_nb_11)) && (case_nb_14 != case_nb_12)) && (case_nb_14 != case_nb_13)) && (case_nb_14 != case_nb_15)) && (case_nb_14 != case_nb_16)) {
switch_itemnb = 14;
switch_itemnb_many = switch_itemnb_many + 1;
}
if ((((((((((((((((case_nb_15 != 0) && (case_nb_15 != case_nb_1)) && (case_nb_15 != case_nb_2)) && (case_nb_15 != case_nb_3)) && (case_nb_15 != case_nb_4)) && (case_nb_15 != case_nb_5)) && (case_nb_15 != case_nb_6)) && (case_nb_15 != case_nb_7)) && (case_nb_15 != case_nb_8)) && (case_nb_15 != case_nb_9)) && (case_nb_15 != case_nb_10)) && (case_nb_15 != case_nb_11)) && (case_nb_15 != case_nb_12)) && (case_nb_15 != case_nb_13)) && (case_nb_15 != case_nb_14)) && (case_nb_15 != case_nb_16)) {
switch_itemnb = 15;
switch_itemnb_many = switch_itemnb_many + 1;
}
if ((((((((((((((((case_nb_16 != 0) && (case_nb_16 != case_nb_1)) && (case_nb_16 != case_nb_2)) && (case_nb_16 != case_nb_3)) && (case_nb_16 != case_nb_4)) && (case_nb_16 != case_nb_5)) && (case_nb_16 != case_nb_6)) && (case_nb_16 != case_nb_7)) && (case_nb_16 != case_nb_8)) && (case_nb_16 != case_nb_9)) && (case_nb_16 != case_nb_10)) && (case_nb_16 != case_nb_11)) && (case_nb_16 != case_nb_12)) && (case_nb_16 != case_nb_13)) && (case_nb_16 != case_nb_14)) && (case_nb_16 != case_nb_15)) {
switch_itemnb = 16;
switch_itemnb_many = switch_itemnb_many + 1;
}
trace(switch_itemnb_many);
if (switch_itemnb_many == 1) {
switch_mem_item_typee = eval (("ob_float.b" + switch_itemnb) + ".hitt.item_typee");
switch_mem_item_lvl = eval (("ob_float.b" + switch_itemnb) + ".hitt.item_lvl");
switch_mem_item_qty = eval (("ob_float.b" + switch_itemnb) + ".hitt.item_qty");
trace("type:" + switch_mem_item_typee);
trace("lvl:" + switch_mem_item_lvl);
trace("qty:" + switch_mem_item_qty);
over_ob = eval (("ob_float.b" + switch_itemnb) + ".hitt.item_nb");
act = 3.5;
from_switch = 2;
if (_parent.from_buy == 3) {
_parent.from_buy = -3;
}
}
}
}
if (act == 3) {
act = 1;
if (over_ob != 0) {
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(5);
ob = over_ob_typee;
ob_lvl = over_ob_lvl;
ob_qty = over_ob_qty;
act = 3.5;
}
}
if (_parent.from_selling_item == 2) {
_parent.from_selling_item = 1;
over_ob = _parent.item_nb;
act = 3.5;
}
if (act == 3.5) {
act = 1;
Set("_root.item_" + over_ob, 0);
ob_removecase_nb = 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
ob_removecase_nb = ob_removecase_nb + 1;
if (eval ("_root.case_" + ob_removecase_nb) == over_ob) {
Set("_root.case_" + ob_removecase_nb, 0);
}
}
if (act == 4) {
act = 1;
_parent.item_nb = over_ob;
_parent.gotoAndStop(10);
}
if (act == 5) {
act = 1;
if (over_ob != 0) {
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(5);
equip_ob = over_ob;
equip_ob_typee = eval ("_root.item_" + equip_ob);
equip_ob_kind = eval ("_root.item_kind_" + equip_ob_typee);
trace(equip_ob);
}
}
if (_currentframe == 2) {
if (Math.round(sy) == Math.round(range)) {
gotoAndStop (3);
}
}
if (_currentframe == 3) {
if (Math.round(sy) == 0) {
gotoAndStop (2);
}
}
sy = (_parent.scrollbar.boxx._y * range) / 188;
speedy = (sy - boxx._y) * speed;
if ((boxx._y < (sy - 0.5)) || (boxx._y > (sy + 0.5))) {
boxx._y = boxx._y + speedy;
}
};
Symbol 605 MovieClip Frame 1
if (_root.lvl2 > nb) {
gotoAndStop (3);
} else if (_root.lvl2 == nb) {
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 603 MovieClip in Symbol 605 MovieClip Frame 2
onClipEvent (enterFrame) {
_rotation = (_rotation - 2);
}
Symbol 611 MovieClip Frame 1
gotoAndStop(_root.lvl2);
Symbol 619 MovieClip Frame 1
aff_1 = "Headshots : " + _root.st_bullets_headshot;
aff_2 = ("Overall Precision : " + Math.round((_root.st_bullets_hited * 100) / _root.st_bullets_shot)) + "%";
aff_3 = "Enemies Killed : " + _root.st_enemies_killed;
aff_4 = "Civilian Casualities : " + _root.st_civils_killed;
aff_5 = "Items Found : " + _root.st_items_found;
aff_6 = "Items Traded : " + _root.st_items_trade;
aff_7 = ("Distance Traveled : " + ((_root.lvl2 - 1) * 139.3)) + "km";
Symbol 623 Button
on (release) {
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(3);
gotoAndStop (5);
}
Symbol 626 Button
on (release) {
act = 2;
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(3);
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 630 Button
on (release) {
_root.st_volum = Math.round(_xmouse);
}
Symbol 633 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(Math.round((_root.st_volum * 23) / 100) + 1);
if (_root.st_volum < 0) {
_root.st_volum = 0;
}
if (_root.st_volum > 100) {
_root.st_volum = 100;
}
aff = _root.st_volum + "%";
};
Symbol 638 Button
on (release) {
_root.st_qual = nb;
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(3);
}
Symbol 639 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.st_qual == nb) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Symbol 642 Button
on (release) {
act = 2;
}
Symbol 643 MovieClip Frame 1
stop();
Symbol 647 MovieClip Frame 1
stop();
Instance of Symbol 639 MovieClip in Symbol 647 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
txx = "LOW";
}
Instance of Symbol 639 MovieClip in Symbol 647 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
txx = "MEDIUM";
}
Instance of Symbol 639 MovieClip in Symbol 647 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
txx = "HIGH";
}
Instance of Symbol 643 MovieClip in Symbol 647 MovieClip Frame 1
onClipEvent (load) {
txx = "CHANGE";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(2);
}
}
Instance of Symbol 155 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
optionsmenu = 2;
}
Symbol 651 MovieClip Frame 1
if ((_parent.nb / 2) != Math.round(_parent.nb / 2)) {
_alpha = 50;
}
Symbol 656 MovieClip Frame 1
aff_1 = eval ("_root.ac_title_" + nb);
aff_2 = eval ("_root.ac_def_" + nb);
gotoAndStop(eval ("_root.ac_" + nb));
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip Frame 1
onClipEvent (load) {
nb = 11;
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip Frame 1
onClipEvent (load) {
nb = 12;
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip Frame 1
onClipEvent (load) {
nb = 13;
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip Frame 1
onClipEvent (load) {
nb = 14;
}
Symbol 658 MovieClip Frame 1
hauteur = boxx._height;
range = (hauteur - 190) * -1;
speed = 0.4;
stop();
onEnterFrame = function () {
sy = (_parent.scrollbar.boxx._y * range) / 188;
speedy = (sy - boxx._y) * speed;
if ((boxx._y < (sy - 0.5)) || (boxx._y > (sy + 0.5))) {
boxx._y = boxx._y + speedy;
}
};
Symbol 663 Button
on (release) {
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(3);
if (cheatbox == "BIGBAG") {
boxxcheat.gotoAndPlay(2);
_root.bag = 3;
}
if (cheatbox == "RECOVER") {
boxxcheat.gotoAndPlay(2);
_root.cheat_2 = 2;
}
if (cheatbox == "PROSELLER") {
boxxcheat.gotoAndPlay(2);
_root.cheat_3 = 2;
}
if (cheatbox == "MURDER") {
boxxcheat.gotoAndPlay(2);
_root.cheat_4 = 2;
if (_root.cheat_4 == undefined) {
_root.cheat_4 = 2;
_root.item_x = 25;
_root.item_lvl_x = 33333;
_root.item_qty_x = 1;
_parent.from_cheatitem = 2;
_parent.gotoAndStop(3);
} else {
cheatbox = "ALREADY USED";
boxxcheat.gotoAndStop(1);
}
}
}
Symbol 666 MovieClip Frame 1
stop();
Symbol 666 MovieClip Frame 2
_parent.cheatbox = "Cheat activated !";
play();
Symbol 666 MovieClip Frame 25
_parent.cheatbox = "";
Symbol 666 MovieClip Frame 50
_parent.cheatbox = "Cheat activated !";
Symbol 666 MovieClip Frame 75
_parent.cheatbox = "";
Symbol 667 MovieClip Frame 1
cheatbox = "";
onEnterFrame = function () {
cheatbox = String(cheatbox.toUpperCase());
if (cheatbox == "") {
boxxbar._visible = true;
} else {
boxxbar._visible = false;
}
};
Symbol 670 Button
on (release) {
if (_root.wood > 0) {
_root.wood = _root.wood - 1;
_root.stones = _root.stones + costboxx1.txx;
_root.music_mc.snd.ele.gotoAndStop(1);
_root.music_mc.snd.ele.gotoAndStop(2);
_root.music_mc.snd.ele.gotoAndStop(7);
}
}
Symbol 671 Button
on (release) {
if (_root.metal > 0) {
_root.metal = _root.metal - 1;
_root.stones = _root.stones + costboxx2.txx;
_root.music_mc.snd.ele.gotoAndStop(1);
_root.music_mc.snd.ele.gotoAndStop(3);
_root.music_mc.snd.ele.gotoAndStop(7);
}
}
Symbol 672 Button
on (release) {
if (_root.textile > 0) {
_root.textile = _root.textile - 1;
_root.stones = _root.stones + costboxx3.txx;
_root.music_mc.snd.ele.gotoAndStop(1);
_root.music_mc.snd.ele.gotoAndStop(4);
_root.music_mc.snd.ele.gotoAndStop(7);
}
}
Symbol 673 Button
on (release) {
if (_root.food > 0) {
_root.food = _root.food - 1;
_root.stones = _root.stones + costboxx4.txx;
_root.music_mc.snd.ele.gotoAndStop(1);
_root.music_mc.snd.ele.gotoAndStop(5);
_root.music_mc.snd.ele.gotoAndStop(7);
}
}
Symbol 674 Button
on (release) {
if (_root.water > 0) {
_root.water = _root.water - 1;
_root.stones = _root.stones + costboxx5.txx;
_root.music_mc.snd.ele.gotoAndStop(1);
_root.music_mc.snd.ele.gotoAndStop(6);
_root.music_mc.snd.ele.gotoAndStop(7);
}
}
Instance of Symbol 339 MovieClip "ele_1" in Symbol 675 MovieClip Frame 1
onClipEvent (load) {
txx = _root.wood;
boxx.iconn = 1;
boxx2.gotoAndStop(2);
}
onClipEvent (enterFrame) {
txx = _root.wood;
boxx.iconn = 1;
boxx2.gotoAndStop(2);
}
Instance of Symbol 339 MovieClip "ele_2" in Symbol 675 MovieClip Frame 1
onClipEvent (load) {
txx = _root.metal;
boxx.iconn = 2;
boxx2.gotoAndStop(2);
}
onClipEvent (enterFrame) {
txx = _root.metal;
boxx.iconn = 2;
boxx2.gotoAndStop(2);
}
Instance of Symbol 339 MovieClip "ele_4" in Symbol 675 MovieClip Frame 1
onClipEvent (load) {
txx = _root.textile;
boxx.iconn = 3;
boxx2.gotoAndStop(2);
}
onClipEvent (enterFrame) {
txx = _root.textile;
boxx.iconn = 3;
boxx2.gotoAndStop(2);
}
Instance of Symbol 339 MovieClip "ele_3" in Symbol 675 MovieClip Frame 1
onClipEvent (load) {
txx = _root.food;
boxx.iconn = 4;
boxx2.gotoAndStop(2);
}
onClipEvent (enterFrame) {
txx = _root.food;
boxx.iconn = 4;
boxx2.gotoAndStop(2);
}
Instance of Symbol 339 MovieClip "ele_5" in Symbol 675 MovieClip Frame 1
onClipEvent (load) {
txx = _root.water;
boxx.iconn = 5;
boxx2.gotoAndStop(2);
}
onClipEvent (enterFrame) {
txx = _root.water;
boxx.iconn = 5;
boxx2.gotoAndStop(2);
}
Instance of Symbol 339 MovieClip "costboxx1" in Symbol 675 MovieClip Frame 1
onClipEvent (load) {
txx = _root.cost_1;
boxx.iconn = 6;
boxx2.gotoAndStop(2);
}
Instance of Symbol 339 MovieClip "costboxx2" in Symbol 675 MovieClip Frame 1
onClipEvent (load) {
txx = _root.cost_4;
boxx.iconn = 6;
boxx2.gotoAndStop(2);
}
Instance of Symbol 339 MovieClip "costboxx3" in Symbol 675 MovieClip Frame 1
onClipEvent (load) {
txx = _root.cost_7;
boxx.iconn = 6;
boxx2.gotoAndStop(2);
}
Instance of Symbol 339 MovieClip "costboxx4" in Symbol 675 MovieClip Frame 1
onClipEvent (load) {
txx = _root.cost_10;
boxx.iconn = 6;
boxx2.gotoAndStop(2);
}
Instance of Symbol 339 MovieClip "costboxx5" in Symbol 675 MovieClip Frame 1
onClipEvent (load) {
txx = _root.cost_13;
boxx.iconn = 6;
boxx2.gotoAndStop(2);
}
Symbol 677 MovieClip Frame 1
aff = eval ("_root.objective_txx_" + _root.lvl2);
gotoAndStop(_root.lvl2);
Symbol 680 Button
on (release) {
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(3);
gotoAndStop (4);
}
Symbol 690 Button
on (release) {
_parent.gotoAndStop(3);
}
Symbol 691 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_parent.item_kind == 7) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
};
if (loaded != 2) {
loaded = 2;
gotoAndStop (2);
}
Symbol 705 MovieClip Frame 1
gage3._visible = false;
stop();
onEnterFrame = function () {
gage1.gotoAndStop(eval ("_parent.gage_base_" + nb));
gage2.gotoAndStop(eval ("_parent.gage_" + nb));
gage3.boxx.gotoAndStop(eval ("_parent.gage_up_" + nb));
};
Symbol 711 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (eval ("_parent.spec_" + nb) <= 2) {
gotoAndStop (1);
} else {
Set(("_parent.gageboxx_" + nb) + ".gage3._visible", false);
gotoAndStop (2);
}
};
Instance of Symbol 461 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.stones >= (eval ("_root.cost_upg_" + _parent.nb) * (eval ("_parent._parent.spec_" + _parent.nb) + 1))) {
_alpha = 100;
bt._x = 0;
} else {
_alpha = 25;
bt._x = 2000;
}
if (act == 2) {
act = 1;
_parent._parent.gotoAndStop(2);
}
if ((((_parent._xmouse >= -13.5) && (_parent._xmouse <= 13.5)) && (_parent._ymouse >= -12.5)) && (_parent._ymouse <= 12.5)) {
_parent._parent.upgrade_spec = _parent.nb;
Set(("_parent._parent.gageboxx_" + _parent.nb) + ".gage3._visible", true);
if (eval (("_parent._parent.gageboxx_" + _parent.nb) + ".gage3._currentframe") == 1) {
eval (("_parent._parent.gageboxx_" + _parent.nb) + ".gage3").gotoAndPlay(2);
}
} else {
if (_parent._parent.upgrade_spec == _parent.nb) {
_parent._parent.upgrade_spec = 0;
}
Set(("_parent._parent.gageboxx_" + _parent.nb) + ".gage3._visible", false);
eval (("_parent._parent.gageboxx_" + _parent.nb) + ".gage3").gotoAndStop(1);
}
}
Symbol 715 Button
on (release) {
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(6);
gotoAndStop (1);
}
Symbol 717 Button
on (release) {
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(3);
_root.music_mc.snd.ele.gotoAndStop(1);
_root.music_mc.snd.ele.gotoAndStop(7);
act = 2;
gotoAndStop (5);
}
Symbol 721 Button
on (release) {
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(6);
_parent.gotoAndStop(11);
}
Symbol 722 Button
on (release) {
if (_root.stones >= _parent.item_buy_cost) {
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(3);
_root.music_mc.snd.ele.gotoAndStop(1);
_root.music_mc.snd.ele.gotoAndStop(7);
act = 4;
gotoAndStop (6);
}
}
Symbol 727 Button
on (release) {
act = 3;
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(3);
_root.music_mc.snd.ele.gotoAndStop(1);
_root.music_mc.snd.ele.gotoAndStop(7);
gotoAndStop (7);
}
Symbol 731 MovieClip Frame 1
gotoAndPlay (2);
Symbol 731 MovieClip Frame 55
_parent.gotoAndStop(1);
Symbol 734 MovieClip Frame 1
speed = 0.2;
onEnterFrame = function () {
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);
}
};
gotoAndPlay (2);
Symbol 734 MovieClip Frame 10
_parent._parent.from_buy_new_item = 2;
_parent._parent.gotoAndStop(3);
Symbol 736 MovieClip Frame 1
gotoAndPlay (2);
Symbol 736 MovieClip Frame 55
_parent._parent.gotoAndStop(3);
Symbol 737 MovieClip Frame 1
upgrade_spec = 0;
stop();
onEnterFrame = function () {
typee = eval ("_root.item_" + _parent.item_nb);
boxx.gotoAndStop(typee);
lvl = eval ("_root.item_lvl_" + _parent.item_nb);
item_name = eval ("_root.item_name_" + typee);
item_kind = eval ("_root.item_kind_" + typee);
item_qty = eval ("_root.item_qty_" + typee);
boxx.qty = item_qty;
spec_1 = Math.floor(lvl / 10000);
spec_2 = Math.floor((lvl - (spec_1 * 10000)) / 1000);
spec_3 = Math.floor(((lvl - (spec_1 * 10000)) - (spec_2 * 1000)) / 100);
spec_4 = Math.floor((((lvl - (spec_1 * 10000)) - (spec_2 * 1000)) - (spec_3 * 100)) / 10);
spec_5 = Math.floor(((((lvl - (spec_1 * 10000)) - (spec_2 * 1000)) - (spec_3 * 100)) - (spec_4 * 10)) / 1);
trace("type : " + typee);
trace("1: " + spec_1);
trace("1: " + spec_2);
trace("1: " + spec_3);
trace("1: " + spec_4);
trace("1: " + spec_5);
trace("Reload Speed : " + eval ((("_root.upgVal_" + typee) + "_1_") + spec_1));
trace("Firing Rate : " + eval ((("_root.upgVal_" + typee) + "_2_") + spec_2));
trace("Accuracy : " + eval ((("_root.upgVal_" + typee) + "_3_") + spec_3));
trace("Ammo Capacity : " + eval ((("_root.upgVal_" + typee) + "_4_") + spec_4));
trace("FirePower : " + eval ((("_root.upgVal_" + typee) + "_5_") + spec_5));
if ((_currentframe == 1) || (_currentframe == 4)) {
boxx.qtyboxx._visible = false;
} else {
boxx.qtyboxx._visible = true;
}
if ((typee == 21) || (typee == 24)) {
btupammo._y = 2000;
}
gage_base_1 = Math.round(((200 - eval (("_root.upgVal_" + typee) + "_1_1")) * 100) / 180) + 1;
gage_base_2 = Math.round(((25 - eval (("_root.upgVal_" + typee) + "_2_1")) * 100) / 25) + 1;
gage_base_3 = Math.round(((100 - eval (("_root.upgVal_" + typee) + "_3_1")) * 100) / 100) + 1;
gage_base_4 = Math.round((eval (("_root.upgVal_" + typee) + "_4_1") * 100) / 125) + 1;
gage_base_5 = Math.round(((eval (("_root.upgVal_" + typee) + "_5_1") - 25) * 100) / 175) + 1;
trace("g5:" + gage_base_5);
gage_1 = Math.round(((200 - eval ((("_root.upgVal_" + typee) + "_1_") + spec_1)) * 100) / 180) + 1;
gage_2 = Math.round(((25 - eval ((("_root.upgVal_" + typee) + "_2_") + spec_2)) * 100) / 25) + 1;
gage_3 = Math.round(((100 - eval ((("_root.upgVal_" + typee) + "_3_") + spec_3)) * 100) / 100) + 1;
gage_4 = Math.round((eval ((("_root.upgVal_" + typee) + "_4_") + spec_4) * 100) / 125) + 1;
gage_5 = Math.round(((eval ((("_root.upgVal_" + typee) + "_5_") + spec_5) - 25) * 100) / 175) + 1;
gage_up_1 = Math.round(((200 - eval ((("_root.upgVal_" + typee) + "_1_") + (spec_1 + 1))) * 100) / 180) + 1;
gage_up_2 = Math.round(((25 - eval ((("_root.upgVal_" + typee) + "_2_") + (spec_2 + 1))) * 100) / 25) + 1;
gage_up_3 = Math.round(((100 - eval ((("_root.upgVal_" + typee) + "_3_") + (spec_3 + 1))) * 100) / 100) + 1;
gage_up_4 = Math.round((eval ((("_root.upgVal_" + typee) + "_4_") + (spec_4 + 1)) * 100) / 125) + 1;
gage_up_5 = Math.round(((eval ((("_root.upgVal_" + typee) + "_5_") + (spec_5 + 1)) - 25) * 100) / 175) + 1;
value_item = Math.round((eval ("_root.cost_" + typee) + ((((((spec_1 + spec_2) + spec_3) + spec_4) + spec_5) - 5) * 50)) * 0.5);
if (_root.cheat_3 == 2) {
value_item = value_item * 3;
}
value_upgrade = eval ("_root.cost_upg_" + upgrade_spec) * (eval ("spec_" + upgrade_spec) + 1);
if (upgrade_spec == 0) {
upgradecostboxx._visible = false;
} else {
upgradecostboxx._visible = true;
}
if (act == 2) {
act = 1;
_root.stones = _root.stones - value_upgrade;
Set("spec_" + upgrade_spec, eval ("spec_" + upgrade_spec) + 1);
Set("_root.item_lvl_" + _parent.item_nb, Number((((((((("" + spec_1) + "") + spec_2) + "") + spec_3) + "") + spec_4) + "") + spec_5));
}
if (act == 3) {
act = 1;
_root.stones = _root.stones + value_item;
_parent.from_selling_item = 2;
}
if (act == 4) {
act = 1;
_root.stones = _root.stones - _parent.item_buy_cost;
}
if (_parent.from_buy == 2) {
_parent.from_buy = 3;
gotoAndStop (3);
}
};
Instance of Symbol 461 MovieClip in Symbol 737 MovieClip Frame 1
onClipEvent (load) {
bt._xscale = 1;
bt._yscale = bt._xscale;
bt._y = bt._y - 10000;
gotoAndStop (2);
}
Instance of Symbol 705 MovieClip "gageboxx_1" in Symbol 737 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 705 MovieClip "gageboxx_2" in Symbol 737 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 705 MovieClip "gageboxx_3" in Symbol 737 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 705 MovieClip "gageboxx_4" in Symbol 737 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 705 MovieClip "gageboxx_5" in Symbol 737 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 711 MovieClip in Symbol 737 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 711 MovieClip in Symbol 737 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 711 MovieClip in Symbol 737 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 711 MovieClip "btupammo" in Symbol 737 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 711 MovieClip in Symbol 737 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 339 MovieClip in Symbol 737 MovieClip Frame 2
onClipEvent (load) {
txx = _parent.value_upgrade;
boxx.iconn = 6;
boxx2.gotoAndStop(1);
}
Instance of Symbol 339 MovieClip in Symbol 737 MovieClip Frame 3
onClipEvent (load) {
txx = _parent._parent.item_buy_cost;
boxx.iconn = 6;
boxx2.gotoAndStop(1);
}
Instance of Symbol 705 MovieClip "gageboxx_1" in Symbol 737 MovieClip Frame 3
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 705 MovieClip "gageboxx_2" in Symbol 737 MovieClip Frame 3
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 705 MovieClip "gageboxx_3" in Symbol 737 MovieClip Frame 3
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 705 MovieClip "gageboxx_4" in Symbol 737 MovieClip Frame 3
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 705 MovieClip "gageboxx_5" in Symbol 737 MovieClip Frame 3
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 339 MovieClip in Symbol 737 MovieClip Frame 4
onClipEvent (load) {
txx = _parent.value_item;
boxx.iconn = 6;
boxx2.gotoAndStop(3);
}
Instance of Symbol 731 MovieClip in Symbol 737 MovieClip Frame 5
onClipEvent (load) {
boxx.gotoAndStop(_parent.typee);
}
onClipEvent (enterFrame) {
boxx.qtyboxx._visible = false;
}
Instance of Symbol 734 MovieClip in Symbol 737 MovieClip Frame 6
onClipEvent (load) {
boxx.gotoAndStop(_parent.typee);
}
onClipEvent (enterFrame) {
boxx.qtyboxx._visible = false;
}
Instance of Symbol 736 MovieClip in Symbol 737 MovieClip Frame 7
onClipEvent (load) {
boxx.gotoAndStop(_parent.typee);
}
onClipEvent (enterFrame) {
boxx.qtyboxx._visible = false;
}
Symbol 738 Button
on (release) {
act = 2;
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(3);
}
Symbol 741 MovieClip Frame 1
if ((_parent.nb / 2) != Math.round(_parent.nb / 2)) {
_alpha = 50;
}
Symbol 744 Button
on (release) {
act = 2;
}
on (rollOver) {
if ((_parent._parent._parent.buymenu == 1) || (_parent._parent._parent.buymenu == 0)) {
_parent.btover.gotoAndStop(3 - _parent._parent._parent.buymenu);
}
gotoAndPlay (2);
}
on (rollOut, releaseOutside) {
_parent.btover.gotoAndStop(1);
gotoAndStop (1);
}
Symbol 745 MovieClip Frame 1
stop();
Symbol 745 MovieClip Frame 2
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(7);
play();
Symbol 745 MovieClip Frame 80
gotoAndPlay (3);
Symbol 745 MovieClip Frame 100
gotoAndPlay (3);
Symbol 752 MovieClip Frame 1
if (_parent._parent._parent.buymenu == 2) {
stop();
} else {
gotoAndStop(_parent._parent.element_needed_howmuch + 1);
}
Instance of Symbol 339 MovieClip in Symbol 752 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent._parent.buymenu == 0) {
_visible = false;
}
}
onClipEvent (enterFrame) {
txx = _parent._parent.cost;
boxx.iconn = _parent._parent._parent.element_needed;
boxx2.gotoAndStop(1);
}
Instance of Symbol 339 MovieClip in Symbol 752 MovieClip Frame 2
onClipEvent (load) {
if (_parent._parent._parent._parent.buymenu == 0) {
_visible = false;
}
}
onClipEvent (enterFrame) {
txx = eval (("_parent._parent._parent.element_needed_nb_" + _parent._parent.nb) + "_1");
boxx.iconn = _parent._parent._parent.element_needed_1;
boxx2.gotoAndStop(1);
}
Instance of Symbol 339 MovieClip in Symbol 752 MovieClip Frame 3
onClipEvent (load) {
if (_parent._parent._parent._parent.buymenu == 0) {
_visible = false;
}
}
onClipEvent (enterFrame) {
txx = eval (("_parent._parent._parent.element_needed_nb_" + _parent._parent.nb) + "_2");
boxx.iconn = _parent._parent._parent.element_needed_2;
boxx2.gotoAndStop(1);
}
Symbol 757 MovieClip Frame 1
_visible = false;
stop();
Symbol 757 MovieClip Frame 2
_visible = true;
Symbol 757 MovieClip Frame 3
_visible = true;
Symbol 761 MovieClip Frame 1
typee = eval ("_parent.item_" + nb);
boxx.boxx.gotoAndStop(typee);
aff = eval ("_root.item_name_" + typee);
item_kind = eval ("_root.item_kind_" + typee);
element_name = eval ("_root.element_name_" + item_kind);
item_qty = eval ("_root.item_qty_" + typee);
boxx.boxx.qty = item_qty;
cost = eval ("_root.cost_" + typee);
element_needed_name = eval ("_root.element_name_" + _parent.element_needed);
element_needed_name_1 = eval ("_root.element_name_" + _parent.element_needed_1);
element_needed_name_2 = eval ("_root.element_name_" + _parent.element_needed_2);
stop();
onEnterFrame = function () {
if (((_y + _parent._y) > 300.8) || ((_y + _parent._y) < -75.2)) {
_visible = false;
} else {
_visible = true;
}
};
if (nb > _parent.item_max) {
gotoAndStop (4);
} else if (eval ("_parent.itemavail_" + typee) != 2) {
gotoAndStop (3);
} else if (eval ("_root." + element_needed_name) >= cost) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
Instance of Symbol 745 MovieClip in Symbol 761 MovieClip Frame 1
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(3);
if (_parent._parent._parent.buymenu == 0) {
_root.music_mc.snd.ele.gotoAndStop(1);
_root.music_mc.snd.ele.gotoAndStop(eval ("_parent._parent.item_kind_" + _parent.nb) + 1);
Set("_root." + _parent.element_name, eval ("_root." + _parent.element_name) + eval ((("_root.item_value_" + _parent.typee) + "_") + _parent.item_kind));
_root.st_items_trade = _root.st_items_trade + 1;
_parent.gotoAndStop(4);
}
if (_parent._parent._parent.buymenu == 1) {
if (_parent._parent.element_needed_howmuch == 1) {
if (eval ("_root." + _parent._parent.element_needed_name_1) >= eval (("_parent._parent.element_needed_nb_" + _parent.nb) + "_1")) {
_root.music_mc.snd.ele.gotoAndStop(1);
_root.music_mc.snd.ele.gotoAndStop(eval ("_parent._parent.item_kind_" + _parent.nb) + 1);
Set("_root." + _parent.element_name, eval ("_root." + _parent.element_name) + eval ((("_root.item_value_" + _parent.typee) + "_") + _parent.item_kind));
Set("_root." + _parent._parent.element_needed_name_1, eval ("_root." + _parent._parent.element_needed_name_1) - eval (("_parent._parent.element_needed_nb_" + _parent.nb) + "_1"));
_root.st_items_trade = _root.st_items_trade + 1;
_parent.gotoAndStop(4);
} else {
gotoAndPlay (81);
}
}
if (_parent._parent.element_needed_howmuch == 2) {
if ((eval ("_root." + _parent._parent.element_needed_name_1) >= eval (("_parent._parent.element_needed_nb_" + _parent.nb) + "_1")) && (eval ("_root." + _parent._parent.element_needed_name_2) >= eval (("_parent._parent.element_needed_nb_" + _parent.nb) + "_2"))) {
_root.music_mc.snd.ele.gotoAndStop(1);
_root.music_mc.snd.ele.gotoAndStop(eval ("_parent._parent.item_kind_" + _parent.nb) + 1);
Set("_root." + _parent.element_name, eval ("_root." + _parent.element_name) + eval ((("_root.item_value_" + _parent.typee) + "_") + _parent.item_kind));
Set("_root." + _parent._parent.element_needed_name_1, eval ("_root." + _parent._parent.element_needed_name_1) - eval (("_parent._parent.element_needed_nb_" + _parent.nb) + "_1"));
Set("_root." + _parent._parent.element_needed_name_2, eval ("_root." + _parent._parent.element_needed_name_2) - eval (("_parent._parent.element_needed_nb_" + _parent.nb) + "_2"));
_root.st_items_trade = _root.st_items_trade + 1;
_parent.gotoAndStop(4);
} else {
gotoAndPlay (81);
}
}
}
if (_parent._parent._parent.buymenu == 2) {
if (_parent.item_kind != 10) {
_parent._parent._parent._parent.item_nb = "x";
_root.item_x = _parent.typee;
_root.item_lvl_x = 11111;
_root.item_qty_x = _parent.item_qty;
_parent._parent._parent._parent.item_buy_cost = _parent.cost;
_parent._parent._parent._parent.from_buy = 2;
_parent._parent._parent._parent.from_buy_scrollbarposi = _parent._parent._parent._parent.scrollbar.boxx._y;
_parent._parent._parent._parent.gotoAndStop(10);
} else if (_parent.typee == 32) {
_root.stones = _root.stones - _parent.cost;
_root.bag = 2;
_parent._parent._parent._parent.gotoAndStop(3);
}
}
}
}
Instance of Symbol 751 MovieClip in Symbol 761 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent.buymenu == 0) {
_visible = false;
}
}
Instance of Symbol 339 MovieClip in Symbol 761 MovieClip Frame 2
onClipEvent (enterFrame) {
txx = _parent.cost;
boxx.iconn = _parent._parent.element_needed;
boxx2.gotoAndStop(1);
}
Symbol 762 MovieClip Frame 1
itemavail_1 = 2;
itemavail_2 = 2;
itemavail_3 = 2;
itemavail_4 = 2;
itemavail_5 = 2;
itemavail_6 = 2;
itemavail_7 = 2;
itemavail_8 = 2;
itemavail_9 = 2;
itemavail_10 = 2;
itemavail_11 = 2;
itemavail_12 = 2;
itemavail_13 = 2;
itemavail_14 = 2;
itemavail_15 = 2;
itemavail_16 = 2;
itemavail_17 = 2;
itemavail_18 = 2;
itemavail_19 = 2;
itemavail_20 = 1;
itemavail_21 = 1;
itemavail_22 = 1;
itemavail_23 = 1;
itemavail_24 = 1;
itemavail_25 = 1;
itemavail_26 = 1;
itemavail_27 = 1;
itemavail_28 = 1;
itemavail_29 = 1;
itemavail_30 = 1;
itemavail_31 = 1;
itemavail_32 = 2;
itemavail_33 = 2;
itemavail_34 = 2;
itemavail_35 = 2;
itemavail_36 = 2;
itemavail_37 = 2;
itemavail_38 = 2;
itemavail_39 = 2;
itemavail_40 = 2;
itemavail_41 = 2;
itemavail_42 = 2;
itemavail_43 = 2;
itemavail_44 = 2;
itemavail_45 = 2;
itemavail_46 = 2;
itemavail_47 = 2;
itemavail_48 = 2;
itemavail_49 = 2;
itemavail_50 = 2;
if ((_root.lvl2 >= 0) || (_root.game_cleared == 2)) {
itemavail_20 = 2;
itemavail_22 = 2;
itemavail_24 = 2;
itemavail_27 = 2;
itemavail_28 = 2;
itemavail_29 = 2;
}
if ((_root.lvl2 >= 2) || (_root.game_cleared == 2)) {
itemavail_21 = 2;
itemavail_23 = 2;
itemavail_31 = 2;
}
if ((_root.lvl2 >= 3) || (_root.game_cleared == 2)) {
itemavail_25 = 2;
}
if ((_root.lvl2 >= 4) || (_root.game_cleared == 2)) {
itemavail_26 = 2;
itemavail_30 = 2;
}
if (_parent.buymenu == 2) {
item_1 = 20;
item_2 = 21;
item_3 = 22;
item_4 = 23;
item_5 = 24;
item_6 = 25;
item_7 = 26;
item_8 = 27;
item_9 = 28;
item_10 = 29;
item_11 = 30;
item_12 = 31;
item_13 = 32;
if (_root.bag == 1) {
item_max = 13;
} else {
item_max = 12;
}
element_needed = 6;
}
if (_parent.buymenu != 2) {
if (_root.lvl2 == 1) {
rare_1 = random(7) + 1;
rare_2 = random(7) + 1;
rare_3 = random(7) + 1;
}
if (_root.lvl2 == 2) {
rare_1 = random(11) + 1;
rare_2 = random(11) + 1;
rare_3 = random(11) + 1;
}
if (_root.lvl2 == 3) {
rare_1 = random(13) + 1;
rare_2 = random(13) + 1;
rare_3 = random(13) + 1;
}
if (_root.lvl2 == 4) {
rare_1 = random(15) + 1;
rare_2 = random(15) + 1;
rare_3 = random(15) + 1;
}
if (rare_1 <= 5) {
item_howmany_1 = 1;
}
if ((rare_1 > 5) && (rare_1 <= 10)) {
item_howmany_1 = 2;
}
if ((rare_1 > 10) && (rare_1 <= 15)) {
item_howmany_1 = 3;
}
item_kind_1 = random(6) + 1;
item_1 = ((item_kind_1 * 3) - 3) + item_howmany_1;
if (rare_2 <= 5) {
item_howmany_2 = 1;
}
if ((rare_2 > 5) && (rare_2 <= 10)) {
item_howmany_2 = 2;
}
if ((rare_2 > 10) && (rare_2 <= 15)) {
item_howmany_2 = 3;
}
item_kind_2 = random(6) + 1;
item_2 = ((item_kind_2 * 3) - 3) + item_howmany_2;
if (rare_3 <= 5) {
item_howmany_3 = 1;
}
if ((rare_3 > 5) && (rare_3 <= 10)) {
item_howmany_3 = 2;
}
if ((rare_3 > 10) && (rare_3 <= 15)) {
item_howmany_3 = 3;
}
item_kind_3 = random(6) + 1;
item_3 = ((item_kind_3 * 3) - 3) + item_howmany_3;
item_max = random(3) + 1;
element_needed_1 = random(6) + 1;
element_needed_2 = random(6) + 1;
if ((((((element_needed_1 == item_kind_1) || (element_needed_1 == item_kind_2)) || (element_needed_1 == item_kind_3)) || (element_needed_1 == eval (("_root.objective_element_" + _root.lvl2) + "_1"))) || (element_needed_1 == eval (("_root.objective_element_" + _root.lvl2) + "_2"))) || (element_needed_1 == eval (("_root.objective_element_" + _root.lvl2) + "_3"))) {
element_needed_1 = element_needed_1 + 1;
if (element_needed_1 > 6) {
element_needed_1 = 1;
}
}
if ((((((element_needed_1 == item_kind_1) || (element_needed_1 == item_kind_2)) || (element_needed_1 == item_kind_3)) || (element_needed_1 == eval (("_root.objective_element_" + _root.lvl2) + "_1"))) || (element_needed_1 == eval (("_root.objective_element_" + _root.lvl2) + "_2"))) || (element_needed_1 == eval (("_root.objective_element_" + _root.lvl2) + "_3"))) {
element_needed_1 = element_needed_1 + 1;
if (element_needed_1 > 6) {
element_needed_1 = 1;
}
}
if ((((((element_needed_1 == item_kind_1) || (element_needed_1 == item_kind_2)) || (element_needed_1 == item_kind_3)) || (element_needed_1 == eval (("_root.objective_element_" + _root.lvl2) + "_1"))) || (element_needed_1 == eval (("_root.objective_element_" + _root.lvl2) + "_2"))) || (element_needed_1 == eval (("_root.objective_element_" + _root.lvl2) + "_3"))) {
element_needed_1 = element_needed_1 + 1;
if (element_needed_1 > 6) {
element_needed_1 = 1;
}
}
if ((((((element_needed_1 == item_kind_1) || (element_needed_1 == item_kind_2)) || (element_needed_1 == item_kind_3)) || (element_needed_1 == eval (("_root.objective_element_" + _root.lvl2) + "_1"))) || (element_needed_1 == eval (("_root.objective_element_" + _root.lvl2) + "_2"))) || (element_needed_1 == eval (("_root.objective_element_" + _root.lvl2) + "_3"))) {
element_needed_1 = element_needed_1 + 1;
if (element_needed_1 > 6) {
element_needed_1 = 1;
}
}
if ((((((element_needed_1 == item_kind_1) || (element_needed_1 == item_kind_2)) || (element_needed_1 == item_kind_3)) || (element_needed_1 == eval (("_root.objective_element_" + _root.lvl2) + "_1"))) || (element_needed_1 == eval (("_root.objective_element_" + _root.lvl2) + "_2"))) || (element_needed_1 == eval (("_root.objective_element_" + _root.lvl2) + "_3"))) {
element_needed_1 = element_needed_1 + 1;
if (element_needed_1 > 6) {
element_needed_1 = 1;
}
}
if (((((((element_needed_2 == item_kind_1) || (element_needed_2 == item_kind_2)) || (element_needed_2 == item_kind_3)) || (element_needed_2 == eval (("_root.objective_element_" + _root.lvl2) + "_1"))) || (element_needed_2 == eval (("_root.objective_element_" + _root.lvl2) + "_2"))) || (element_needed_2 == eval (("_root.objective_element_" + _root.lvl2) + "_3"))) || (element_needed_2 == element_needed_1)) {
element_needed_2 = element_needed_2 + 1;
if (element_needed_2 > 6) {
element_needed_2 = 1;
}
}
if (((((((element_needed_2 == item_kind_1) || (element_needed_2 == item_kind_2)) || (element_needed_2 == item_kind_3)) || (element_needed_2 == eval (("_root.objective_element_" + _root.lvl2) + "_1"))) || (element_needed_2 == eval (("_root.objective_element_" + _root.lvl2) + "_2"))) || (element_needed_2 == eval (("_root.objective_element_" + _root.lvl2) + "_3"))) || (element_needed_2 == element_needed_1)) {
element_needed_2 = element_needed_2 + 1;
if (element_needed_2 > 6) {
element_needed_2 = 1;
}
}
if (((((((element_needed_2 == item_kind_1) || (element_needed_2 == item_kind_2)) || (element_needed_2 == item_kind_3)) || (element_needed_2 == eval (("_root.objective_element_" + _root.lvl2) + "_1"))) || (element_needed_2 == eval (("_root.objective_element_" + _root.lvl2) + "_2"))) || (element_needed_2 == eval (("_root.objective_element_" + _root.lvl2) + "_3"))) || (element_needed_2 == element_needed_1)) {
element_needed_2 = element_needed_2 + 1;
if (element_needed_2 > 6) {
element_needed_2 = 1;
}
}
if (((((((element_needed_2 == item_kind_1) || (element_needed_2 == item_kind_2)) || (element_needed_2 == item_kind_3)) || (element_needed_2 == eval (("_root.objective_element_" + _root.lvl2) + "_1"))) || (element_needed_2 == eval (("_root.objective_element_" + _root.lvl2) + "_2"))) || (element_needed_2 == eval (("_root.objective_element_" + _root.lvl2) + "_3"))) || (element_needed_2 == element_needed_1)) {
element_needed_2 = element_needed_2 + 1;
if (element_needed_2 > 6) {
element_needed_2 = 1;
}
}
if (((((((element_needed_2 == item_kind_1) || (element_needed_2 == item_kind_2)) || (element_needed_2 == item_kind_3)) || (element_needed_2 == eval (("_root.objective_element_" + _root.lvl2) + "_1"))) || (element_needed_2 == eval (("_root.objective_element_" + _root.lvl2) + "_2"))) || (element_needed_2 == eval (("_root.objective_element_" + _root.lvl2) + "_3"))) || (element_needed_2 == element_needed_1)) {
element_needed_2 = element_needed_2 + 1;
if (element_needed_2 > 6) {
element_needed_2 = 1;
}
}
element_needed_name_1 = eval ("_root.element_name_" + element_needed_1);
element_needed_name_2 = eval ("_root.element_name_" + element_needed_2);
element_needed_nb_1_1 = item_howmany_1;
element_needed_nb_1_2 = item_howmany_1;
element_needed_nb_2_1 = item_howmany_2;
element_needed_nb_2_2 = item_howmany_2;
element_needed_nb_3_1 = item_howmany_3;
element_needed_nb_3_2 = item_howmany_3;
aa = random(3) + 1;
if (aa == 1) {
element_needed_howmuch = 2;
} else {
element_needed_howmuch = 1;
}
}
stop();
onEnterFrame = function () {
if (_parent.buymenu != 2) {
if (((((((((((((itmc_1._currentframe == 4) && (itmc_2._currentframe == 4)) && (itmc_3._currentframe == 4)) && (itmc_4._currentframe == 4)) && (itmc_5._currentframe == 4)) && (itmc_6._currentframe == 4)) && (itmc_7._currentframe == 4)) && (itmc_8._currentframe == 4)) && (itmc_9._currentframe == 4)) && (itmc_10._currentframe == 4)) && (itmc_11._currentframe == 4)) && (itmc_12._currentframe == 4)) && (itmc_13._currentframe == 4)) {
_parent._parent.btclose.act = 2;
}
}
};
Instance of Symbol 761 MovieClip "itmc_2" in Symbol 762 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 761 MovieClip "itmc_1" in Symbol 762 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 761 MovieClip "itmc_4" in Symbol 762 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 761 MovieClip "itmc_3" in Symbol 762 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 761 MovieClip "itmc_6" in Symbol 762 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 761 MovieClip "itmc_5" in Symbol 762 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 761 MovieClip "itmc_8" in Symbol 762 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 761 MovieClip "itmc_7" in Symbol 762 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 761 MovieClip "itmc_10" in Symbol 762 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
}
Instance of Symbol 761 MovieClip "itmc_9" in Symbol 762 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
}
Instance of Symbol 761 MovieClip "itmc_12" in Symbol 762 MovieClip Frame 1
onClipEvent (load) {
nb = 12;
}
Instance of Symbol 761 MovieClip "itmc_11" in Symbol 762 MovieClip Frame 1
onClipEvent (load) {
nb = 11;
}
Instance of Symbol 761 MovieClip "itmc_13" in Symbol 762 MovieClip Frame 1
onClipEvent (load) {
nb = 13;
}
Symbol 763 MovieClip Frame 1
hauteur = boxx._height;
range = (hauteur - 300) * -1;
speed = 0.4;
stop();
onEnterFrame = function () {
sy = (_parent.scrollbar.boxx._y * range) / 188;
speedy = (sy - boxx._y) * speed;
if ((boxx._y < (sy - 0.5)) || (boxx._y > (sy + 0.5))) {
boxx._y = boxx._y + speedy;
}
};
Symbol 775 Button
on (press) {
if (_parent.inv.equip_ob != 0) {
if (_parent.inv.ob_float.hitt.la_place != 0) {
if (_parent.inv.equip_ob_kind == 7) {
if ((_parent.inv.ob_float.hitt.la_place >= 1) && (_parent.inv.ob_float2.hittdropbox.la_case <= 3)) {
if (((_root.wp_1 != _parent.inv.equip_ob) && (_root.wp_2 != _parent.inv.equip_ob)) && (_root.wp_3 != _parent.inv.equip_ob)) {
Set("_root.wp_" + _parent.inv.ob_float.hitt.la_place, _parent.inv.equip_ob);
_parent.inv.equip_ob = 0;
}
}
}
} else {
_parent.inv.equip_ob = 0;
}
} else if ((_parent.inv.ob_float.hitt.la_place >= 1) && (_parent.inv.ob_float2.hittdropbox.la_case <= 3)) {
Set("_root.wp_" + _parent.inv.ob_float.hitt.la_place, 0);
}
}
Symbol 788 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (eval ("_root.wp_" + nb) == 0) {
boxx._visible = false;
if (rollover == 2) {
boxx2.gotoAndStop(2);
} else {
boxx2.gotoAndStop(1);
}
} else {
wich_item = eval ("_root.wp_" + nb);
item_typee = eval ("_root.item_" + wich_item);
Set("_root.wp_typee_" + nb, item_typee);
Set("_root.wp_name_" + nb, eval ("_root.item_name_" + item_typee));
boxx.gotoAndStop(eval ("_root.wp_typee_" + nb));
boxx._visible = true;
if (rollover == 2) {
boxx2.gotoAndStop(4);
} else {
boxx2.gotoAndStop(3);
}
}
rollover = 1;
};
Symbol 791 MovieClip Frame 1
stop();
Symbol 792 MovieClip Frame 1
aff = "weapon #" + nb;
stop();
onEnterFrame = function () {
if (eval ("_root.wp_" + nb) == 0) {
aff = "weapon #" + nb;
boxx2.gotoAndStop(1);
} else {
aff = eval ("_root.wp_name_" + nb);
boxx2.gotoAndStop(2);
}
};
Instance of Symbol 788 MovieClip "place_1" in Symbol 793 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
da_kind = 7;
}
Instance of Symbol 788 MovieClip "place_2" in Symbol 793 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
da_kind = 7;
}
Instance of Symbol 788 MovieClip "place_3" in Symbol 793 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
da_kind = 7;
}
Instance of Symbol 792 MovieClip in Symbol 793 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 792 MovieClip in Symbol 793 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 792 MovieClip in Symbol 793 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Symbol 794 Button
on (release) {
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(3);
gotoAndStop (2);
}
Instance of Symbol 799 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (25);
}
Instance of Symbol 799 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (30);
}
Instance of Symbol 799 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (35);
}
Instance of Symbol 799 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (40);
}
Instance of Symbol 799 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (5);
}
Instance of Symbol 799 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (10);
}
Instance of Symbol 799 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (15);
}
Instance of Symbol 799 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (20);
}
Symbol 800 MovieClip Frame 50
if ((_parent.pic._currentframe == 2) || (_parent.vid._currentframe == 2)) {
_visible = false;
stop();
}
Symbol 802 MovieClip Frame 1
_x = -400;
_y = 0;
_root.menuu.maskk._xscale = 100;
_root.menuu.maskk.gotoAndPlay(3);
speed = 0.22;
stop();
onEnterFrame = function () {
sx = 0;
sy = 0;
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);
}
};
gotoAndStop(page);
Instance of Symbol 37 MovieClip in Symbol 802 MovieClip Frame 1
onClipEvent (load) {
txx = "LOAD GAME";
if (_root.user.data.lvl2 == undefined) {
gotoAndStop (13);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.load_go = 2;
_parent.gotoAndStop(31);
}
}
Instance of Symbol 37 MovieClip in Symbol 802 MovieClip Frame 1
onClipEvent (load) {
txx = "NEW GAME";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.fondu.gotoAndStop(4);
_parent.gotoAndStop(50);
}
}
Instance of Symbol 37 MovieClip in Symbol 802 MovieClip Frame 1
onClipEvent (load) {
txx = "";
boxx1.gotoAndStop(2);
boxx2.gotoAndStop(2);
boxx3.gotoAndStop(2);
dalink = "http://www.pyrozen.com/";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
}
}
Instance of Symbol 383 MovieClip "btmain_3" in Symbol 802 MovieClip Frame 2
onClipEvent (load) {
iconn = 3;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(4);
}
if (_parent._currentframe == (iconn + 1)) {
onsection = 2;
} else {
onsection = 1;
}
}
Instance of Symbol 467 MovieClip in Symbol 802 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop (18);
if (_root.tuto_17 != 2) {
_root.tuto_17 = 2;
} else {
_visible = false;
}
}
Instance of Symbol 383 MovieClip "btmain_2" in Symbol 802 MovieClip Frame 2
onClipEvent (load) {
iconn = 2;
}
onClipEvent (enterFrame) {
if (((act == 2) && (_parent._currentframe == 3)) && (_parent.inv.ob != 0)) {
act = 1;
}
if (act == 2) {
act = 1;
_parent.gotoAndStop(3);
}
if (_parent._currentframe == (iconn + 1)) {
onsection = 2;
} else {
onsection = 1;
}
}
Instance of Symbol 383 MovieClip "btmain_1" in Symbol 802 MovieClip Frame 2
onClipEvent (load) {
iconn = 1;
}
onClipEvent (enterFrame) {
if (((act == 2) && (_parent._currentframe == 3)) && (_parent.inv.ob != 0)) {
act = 1;
}
if (act == 2) {
act = 1;
_parent.gotoAndStop(2);
}
if (_parent._currentframe == (iconn + 1)) {
onsection = 2;
} else {
onsection = 1;
}
}
Instance of Symbol 383 MovieClip in Symbol 802 MovieClip Frame 2
onClipEvent (load) {
iconn = 5;
}
onClipEvent (enterFrame) {
if (((act == 2) && (_parent._currentframe == 3)) && (_parent.inv.ob != 0)) {
act = 1;
}
if (act == 2) {
act = 1;
_parent.gotoAndStop(11);
}
if (_parent._currentframe == 11) {
onsection = 2;
} else {
onsection = 1;
}
}
Instance of Symbol 383 MovieClip "btmain_4" in Symbol 802 MovieClip Frame 2
onClipEvent (load) {
iconn = 4;
}
onClipEvent (enterFrame) {
if (((act == 2) && (_parent._currentframe == 3)) && (_parent.inv.ob != 0)) {
act = 1;
}
if (act == 2) {
act = 1;
_parent.gotoAndStop(5);
}
if (_parent._currentframe == (iconn + 1)) {
onsection = 2;
} else {
onsection = 1;
}
}
Instance of Symbol 383 MovieClip "btmain_1" in Symbol 802 MovieClip Frame 2
onClipEvent (load) {
iconn = 11;
}
onClipEvent (enterFrame) {
if (((act == 2) && (_parent._currentframe == 3)) && (_parent.inv.ob != 0)) {
act = 1;
}
if (act == 2) {
act = 1;
_parent.gotoAndStop(21);
}
}
Instance of Symbol 339 MovieClip in Symbol 802 MovieClip Frame 2
onClipEvent (enterFrame) {
txx = _root.stones;
boxx.iconn = 6;
boxx2.gotoAndStop(2);
}
Instance of Symbol 383 MovieClip in Symbol 802 MovieClip Frame 3
onClipEvent (load) {
iconn = 6;
}
onClipEvent (enterFrame) {
if (((act == 2) && (_parent._currentframe == 3)) && (_parent.inv.ob != 0)) {
act = 1;
}
if (act == 2) {
act = 1;
_parent.gotoAndStop(9);
}
}
Instance of Symbol 592 MovieClip "inv" in Symbol 802 MovieClip Frame 3
onClipEvent (load) {
can_upgrade = 2;
}
Instance of Symbol 467 MovieClip in Symbol 802 MovieClip Frame 3
onClipEvent (load) {
gotoAndStop (25);
if (_root.tuto_25 != 2) {
_root.tuto_25 = 2;
} else {
_visible = false;
}
}
Instance of Symbol 467 MovieClip in Symbol 802 MovieClip Frame 3
onClipEvent (load) {
gotoAndStop (27);
if ((_root.tuto_27 != 2) && (_root.bag > 1)) {
_root.tuto_27 = 2;
} else {
_visible = false;
}
}
Instance of Symbol 605 MovieClip in Symbol 802 MovieClip Frame 4
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 605 MovieClip in Symbol 802 MovieClip Frame 4
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 605 MovieClip in Symbol 802 MovieClip Frame 4
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 605 MovieClip in Symbol 802 MovieClip Frame 4
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 467 MovieClip in Symbol 802 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop (19);
if (_root.tuto_18 != 2) {
_root.tuto_18 = 2;
} else {
_visible = false;
}
}
Instance of Symbol 37 MovieClip in Symbol 802 MovieClip Frame 5
onClipEvent (load) {
txx = "OPTIONS";
boxx1.gotoAndStop(3);
boxx2.gotoAndStop(3);
boxx3.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(6);
}
}
Instance of Symbol 37 MovieClip in Symbol 802 MovieClip Frame 5
onClipEvent (load) {
txx = "ACHIEVEMENTS";
boxx1.gotoAndStop(3);
boxx2.gotoAndStop(3);
boxx3.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(7);
}
}
Instance of Symbol 37 MovieClip in Symbol 802 MovieClip Frame 5
onClipEvent (load) {
txx = "CHEATS";
boxx1.gotoAndStop(3);
boxx2.gotoAndStop(3);
boxx3.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(8);
}
}
Symbol 802 MovieClip Frame 11
Instance of Symbol 739 MovieClip "btclose" in Symbol 802 MovieClip Frame 11
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_parent._currentframe == 11) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(3);
}
}
}
Instance of Symbol 763 MovieClip in Symbol 802 MovieClip Frame 11
onClipEvent (load) {
buymenu = 2;
}
Instance of Symbol 478 MovieClip "scrollbar" in Symbol 802 MovieClip Frame 11
onClipEvent (load) {
if (_parent.from_buy == 3) {
_parent.from_buy = 1;
if ((_parent.from_buy_scrollbarposi > 0) && (_parent.from_buy_scrollbarposi < 4000)) {
boxx._y = _parent.from_buy_scrollbarposi;
}
}
}
Instance of Symbol 768 MovieClip in Symbol 802 MovieClip Frame 11
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 467 MovieClip in Symbol 802 MovieClip Frame 11
onClipEvent (load) {
gotoAndStop (23);
}
Instance of Symbol 383 MovieClip "btmain_2" in Symbol 802 MovieClip Frame 11
onClipEvent (load) {
iconn = 2;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(3);
}
if (_parent._currentframe == (iconn + 1)) {
onsection = 2;
} else {
onsection = 1;
}
}
Instance of Symbol 383 MovieClip "btmain_1" in Symbol 802 MovieClip Frame 11
onClipEvent (load) {
iconn = 1;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(2);
}
if (_parent._currentframe == (iconn + 1)) {
onsection = 2;
} else {
onsection = 1;
}
}
Instance of Symbol 383 MovieClip in Symbol 802 MovieClip Frame 11
onClipEvent (load) {
iconn = 5;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(11);
}
if (_parent._currentframe == 11) {
onsection = 2;
} else {
onsection = 1;
}
}
Instance of Symbol 383 MovieClip "btmain_4" in Symbol 802 MovieClip Frame 11
onClipEvent (load) {
iconn = 4;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(5);
}
if (_parent._currentframe == (iconn + 1)) {
onsection = 2;
} else {
onsection = 1;
}
}
Instance of Symbol 383 MovieClip "btmain_1" in Symbol 802 MovieClip Frame 11
onClipEvent (load) {
iconn = 11;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(21);
}
}
Instance of Symbol 383 MovieClip in Symbol 802 MovieClip Frame 12
onClipEvent (load) {
iconn = 10;
}
onClipEvent (enterFrame) {
if (_parent._currentframe == 12) {
onsection = 2;
} else {
onsection = 1;
}
}
Instance of Symbol 763 MovieClip in Symbol 802 MovieClip Frame 12
onClipEvent (load) {
buymenu = 1;
}
Instance of Symbol 768 MovieClip in Symbol 802 MovieClip Frame 12
onClipEvent (load) {
aff_1 = "CIVILIAN";
aff_2 = eval ("_root.call_civil_trade_" + (random(5) + 1));
}
Instance of Symbol 383 MovieClip in Symbol 802 MovieClip Frame 13
onClipEvent (load) {
iconn = 8;
}
onClipEvent (enterFrame) {
if (_parent._currentframe == 12) {
onsection = 2;
} else {
onsection = 1;
}
}
Instance of Symbol 763 MovieClip in Symbol 802 MovieClip Frame 13
onClipEvent (load) {
buymenu = 0;
}
Instance of Symbol 768 MovieClip in Symbol 802 MovieClip Frame 13
onClipEvent (load) {
aff_1 = "CIVILIAN";
aff_2 = eval ("_root.call_civil_rescued_" + (random(5) + 1));
}
Symbol 802 MovieClip Frame 21
_root.menuu.maskk._xscale = 100;
_root.menuu.maskk.gotoAndPlay(3);
_root.wp_1 = 0;
_root.wp_2 = 0;
_root.wp_3 = 0;
_root.armor = 0;
Instance of Symbol 592 MovieClip "inv" in Symbol 802 MovieClip Frame 21
onClipEvent (load) {
wp_select = 2;
}
Instance of Symbol 383 MovieClip "btmain_1" in Symbol 802 MovieClip Frame 21
onClipEvent (load) {
iconn = 11;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (((_root.wp_1 == 0) && (_root.wp_2 == 0)) && (_root.wp_3 == 0)) {
} else {
_root.got2go = 2;
}
}
}
Instance of Symbol 467 MovieClip in Symbol 802 MovieClip Frame 21
onClipEvent (load) {
gotoAndStop (24);
if (_root.tuto_24 != 2) {
_root.tuto_24 = 2;
} else {
_visible = false;
}
}
Symbol 808 MovieClip Frame 1
muz = 0;
stop();
onEnterFrame = function () {
if (muz != _root.muz) {
muz = _root.muz;
stopAllSounds();
gotoAndStop(muz + 1);
}
};
Symbol 823 MovieClip Frame 1
stop();
Symbol 829 MovieClip Frame 1
stop();
Symbol 836 MovieClip Frame 1
stop();
Symbol 840 MovieClip Frame 1
stop();
Symbol 843 MovieClip Frame 1
stop();
Symbol 890 MovieClip Frame 1
stop();
Symbol 895 MovieClip Frame 1
stop();
Symbol 896 MovieClip Frame 1
gotoAndStop (2);
Symbol 897 MovieClip Frame 1
var son1 = new Sound(muz_mc);
Symbol 899 MovieClip Frame 31
stop();
Symbol 903 MovieClip Frame 1
gotoAndStop (2);
Symbol 903 MovieClip Frame 2
_y = random(441);
_xscale = ((random(500) + 500) / 10);
_yscale = ((random(500) + 500) / 10);
speedx = ((random(200) + 60) / 10) * -2;
if (_parent._currentframe == 4) {
_x = ((_width / 2) + 800);
}
stop();
onEnterFrame = function () {
if (_x > ((_width / 2) * -1)) {
_x = (_x + speedx);
} else {
_visible = false;
}
};
Symbol 904 MovieClip Frame 1
onEnterFrame = function () {
if (_root.volum_per > 0) {
_root.volum_per = _root.volum_per - 0.5;
}
};
Symbol 904 MovieClip Frame 213
_root.got2go = 4;
stop();
Symbol 905 MovieClip Frame 1
gotoAndStop (2);
Symbol 948 MovieClip Frame 1
var url = "http://media.admeen.com/branding/branding_as2_01.swf";
var w = 100;
var h = 100;
var lng = System.capabilities.language;
var loader = new MovieClipLoader();
var listener = new Object();
loader.addListener(listener);
loader.loadClip(url, branding_def);
listener.onLoadInit = function (target) {
var _local3 = w / target._width;
var _local2 = h / target._height;
scaleToFit(target, target._width * _local3, target._height * _local2);
};
this.onRelease = function () {
this.getURL("http://media.admeen.com/branding/forward.php?lng=" + lng, "_blank", "POST");
};
Symbol 1027 MovieClip Frame 1
function actionf() {
navigateToURL(new URLRequest(("http://www.4v4.com/?utm_medium=brandedgames_external&utm_campaign=gf_game&utm_source=" + domainname) + "&utm_content=ingame"));
}
stop();
var doMain = this.stage.loaderInfo.url;
var doMainArray = doMain.split("/");
var domainname = doMainArray[2];
action.addEventListener(MouseEvent.CLICK, function () {
actionf();
});
action.buttonMode = true;
Symbol 1114 MovieClip Frame 1
lavr_link = "http://www.gamesfree.ca/";
shade = 0;
Symbol 1114 MovieClip Frame 2
lavr_link = "http://www.andkon.com";
shade = 2;
Symbol 1114 MovieClip Frame 3
lavr_link = "http://www.SolidGames.com";
shade = 0;
Symbol 1114 MovieClip Frame 4
lavr_link = "http://www.abroy.com/";
shade = 1;
Symbol 1114 MovieClip Frame 5
lavr_link = "http://www.yepi.com";
shade = 0;
Symbol 1114 MovieClip Frame 6
lavr_link = "http://www.bubblebox.com";
shade = 1;
Symbol 1114 MovieClip Frame 7
lavr_link = "http://www.bunnygames.com";
shade = 1;
Symbol 1114 MovieClip Frame 8
lavr_link = "http://www.dailyfreegames.com";
shade = 1;
Symbol 1114 MovieClip Frame 9
lavr_link = "http://www.trochoivui.com";
shade = 0;
Symbol 1114 MovieClip Frame 10
lavr_link = "http://www.2flashgames.com";
shade = 2;
Symbol 1114 MovieClip Frame 11
lavr_link = "http://www.flashninjaclan.com";
shade = 1;
Symbol 1114 MovieClip Frame 12
shade = 0;
_parent.bt._y = _parent.bt._y + 300;
Symbol 1114 MovieClip Frame 13
lavr_link = "http://www.funny-games.biz";
shade = 1;
Symbol 1114 MovieClip Frame 14
lavr_link = "http://www.gameitnow.com";
shade = 2;
Symbol 1114 MovieClip Frame 15
lavr_link = "http://www.games1.com";
shade = 0;
Symbol 1114 MovieClip Frame 16
lavr_link = "http://www.onjogos.com.br";
shade = 1;
Symbol 1114 MovieClip Frame 17
lavr_link = "http://www.gamesfreak.net";
shade = 2;
Symbol 1114 MovieClip Frame 18
lavr_link = "http://www.maxi-juegos.com";
shade = 1;
Symbol 1114 MovieClip Frame 19
lavr_link = "http://www.jarkey.net";
shade = 2;
Symbol 1114 MovieClip Frame 20
lavr_link = "http://www.gam123bee.com/";
shade = 1;
Symbol 1114 MovieClip Frame 21
lavr_link = "http://www.keepbusy.net";
shade = 1;
Symbol 1114 MovieClip Frame 22
lavr_link = "http://www.microjogos.com";
shade = 1;
Symbol 1114 MovieClip Frame 23
lavr_link = "http://www.minijuegos.com";
shade = 2;
Symbol 1114 MovieClip Frame 24
lavr_link = "http://www.oyunskor.com/";
shade = 1;
Symbol 1114 MovieClip Frame 25
lavr_link = "http://www.mostfungames.com";
shade = 2;
Symbol 1114 MovieClip Frame 26
lavr_link = "http://www.gameshot.org";
shade = 1;
Symbol 1114 MovieClip Frame 27
lavr_link = "http://www.online-games-zone.com/";
shade = 2;
Symbol 1114 MovieClip Frame 28
lavr_link = "http://www.puffgames.com";
shade = 2;
Symbol 1114 MovieClip Frame 29
lavr_link = "http://www.spele.nl";
shade = 1;
Symbol 1114 MovieClip Frame 30
lavr_link = "http://www.abab.com";
shade = 0;
Symbol 1114 MovieClip Frame 31
lavr_link = "http://www.thegamesonline.com/";
shade = 1;
Symbol 1114 MovieClip Frame 32
lavr_link = "http://www.ultimatearcade.com";
shade = 1;
Symbol 1114 MovieClip Frame 33
lavr_link = "http://www.mousecity.com/";
shade = 0;
Symbol 1114 MovieClip Frame 34
lavr_link = "http://www.beer-games.net";
shade = 0;
Symbol 1114 MovieClip Frame 35
lavr_link = "http://www.beer-games.net";
shade = 0;
Symbol 1114 MovieClip Frame 36
lavr_link = "http://www.jeuxvideo-flash.com/";
shade = 0;
Symbol 1114 MovieClip Frame 37
lavr_link = "http://www.flashgames.it/";
shade = 1;
Symbol 1114 MovieClip Frame 38
lavr_link = "http://www.4v4.com/";
shade = 0;
Symbol 1114 MovieClip Frame 39
lavr_link = "http://www.hallpass.com/";
shade = 2;
Symbol 1114 MovieClip Frame 40
lavr_link = "http://www.gamegecko.com/";
shade = 0;
Symbol 1114 MovieClip Frame 41
lavr_link = "http://www.benz.be";
shade = 2;
Symbol 1114 MovieClip Frame 42
lavr_link = "http://www.net-games.co.il/";
shade = 1;
Symbol 1114 MovieClip Frame 43
lavr_link = "http://www.bgames.com";
shade = 0;
Symbol 1114 MovieClip Frame 44
lavr_link = "http://www.pinkyarcade.com/";
shade = 1;
Symbol 1114 MovieClip Frame 45
lavr_link = "http://jayisgames.com/";
shade = 0;
Symbol 1114 MovieClip Frame 46
lavr_link = "http://www.twizl.com/";
shade = 1;
Symbol 1114 MovieClip Frame 47
lavr_link = "http://www.a10.com/";
shade = 1;
Symbol 1114 MovieClip Frame 48
lavr_link = "http://www.bonniegames.com/";
shade = 1;
Symbol 1114 MovieClip Frame 49
lavr_link = "http://www.ug2.com/";
shade = 0;
Symbol 1114 MovieClip Frame 50
lavr_link = "http://www.agame.com";
shade = 1;
Symbol 1114 MovieClip Frame 51
lavr_link = "http://www.gamesclub.com/";
shade = 1;
Symbol 1114 MovieClip Frame 52
lavr_link = "http://www.killhours.com/";
shade = 1;
Symbol 1114 MovieClip Frame 53
lavr_link = "http://www.flasharcadegamessite.com/";
shade = 1;
Symbol 1114 MovieClip Frame 54
lavr_link = "http://www.roundgames.com/";
shade = 2;
Symbol 1114 MovieClip Frame 55
lavr_link = "http://www.arcadegangsta.com/";
shade = 1;
Symbol 1114 MovieClip Frame 56
lavr_link = "http://www.bored.com/";
shade = 0;
Symbol 1114 MovieClip Frame 57
lavr_link = "http://www.flash-games.net/";
shade = 1;
Symbol 1114 MovieClip Frame 58
lavr_link = "http://www.flash-game.net/";
shade = 1;
Symbol 1114 MovieClip Frame 59
lavr_link = "http://www.kingofgames.net";
shade = 1;
Symbol 1114 MovieClip Frame 60
lavr_link = "http://www.playhub.com/";
shade = 0;
Symbol 1114 MovieClip Frame 61
lavr_link = "http://www.123spill.no/";
shade = 1;
Symbol 1114 MovieClip Frame 62
lavr_link = "http://www.dailygames.com/";
shade = 1;
Symbol 1114 MovieClip Frame 63
lavr_link = "http://www.octogames.com/";
shade = 2;
Symbol 1114 MovieClip Frame 64
lavr_link = "http://www.ugotgames.com/";
shade = 1;
Symbol 1114 MovieClip Frame 65
lavr_link = "http://www.fupa.com/";
shade = 1;
Symbol 1114 MovieClip Frame 66
lavr_link = "http://www.kibagames.com/";
shade = 0;
Symbol 1114 MovieClip Frame 67
lavr_link = "http://www.kraloyun.com/";
shade = 0;
Symbol 1114 MovieClip Frame 68
lavr_link = "http://www.spielaffe.de/";
shade = 0;
Symbol 1114 MovieClip Frame 69
lavr_link = "http://www.39games.com";
shade = 2;
Symbol 1114 MovieClip Frame 70
lavr_link = "http://www.bijuegos.com";
shade = 0;
Symbol 1114 MovieClip Frame 71
lavr_link = "http://www.mofunzone.com";
shade = 2;
Symbol 1114 MovieClip Frame 72
lavr_link = "http://www.freegamespy.com/";
shade = 2;
Symbol 1114 MovieClip Frame 73
lavr_link = "http://www.jogos10.com";
shade = 0;
Symbol 1114 MovieClip Frame 74
lavr_link = "http://www.juegos10.com";
shade = 0;
Symbol 1114 MovieClip Frame 75
lavr_link = "http://flash.178.com/";
shade = 0;
Symbol 1114 MovieClip Frame 76
lavr_link = "http://www.papajogos.com.br";
shade = 0;
Symbol 1114 MovieClip Frame 77
lavr_link = "http://www.arcadelots.com/";
shade = 0;
Symbol 1114 MovieClip Frame 78
lavr_link = "http://www.minigamers.com/";
shade = 0;
Symbol 1114 MovieClip Frame 79
lavr_link = "http://www.stickpage.com";
shade = 0;
Symbol 1114 MovieClip Frame 80
lavr_link = "http://www.y8.com/";
shade = 1;
Symbol 1114 MovieClip Frame 81
lavr_link = "http://www.y3.com/";
shade = 1;
Symbol 1114 MovieClip Frame 82
lavr_link = "http://www.gangofgamers.com/";
shade = 0;
Symbol 1114 MovieClip Frame 83
lavr_link = "http://www.videobash.com/";
shade = 0;
Symbol 1115 MovieClip Frame 1
stop();
Symbol 1116 Button
on (release) {
getURL (boxx.lavr_link, "_blank");
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (21);
}
Symbol 1117 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.cnt.perso == undefined) {
bt._y = 8;
} else if ((_root.cnt._currentframe == 1) || (_root.cnt._currentframe == 5)) {
if ((_root.cnt._currentframe == 1) && (_root.ob_1 != 2)) {
bt._y = 1000;
} else if ((_root.cnt._currentframe == 5) && (_root.ob_41 != 2)) {
bt._y = 1000;
} else {
bt._y = 8;
}
} else {
bt._y = 8;
}
};
Symbol 1117 MovieClip Frame 20
stop();
Symbol 1120 MovieClip Frame 100
stop();
Symbol 1122 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_alpha > 0) {
_alpha = (_alpha - 1);
}
};
Symbol 1145 MovieClip Frame 1
stop();
Symbol 1145 MovieClip Frame 300
_parent._parent.gotoAndStop(40);
Symbol 1146 MovieClip Frame 1
timer = 100;
speedy = 0;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
if (speedy > -0.5) {
speedy = speedy - 0.0008;
}
boxx._y = boxx._y + speedy;
}
if (boxx._y < -1350) {
if (snd._currentframe == 1) {
stopAllSounds();
snd.gotoAndPlay(2);
}
}
};
Symbol 1151 MovieClip Frame 1
stop();
Symbol 1166 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.bottes);
Symbol 1175 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1177 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad4);
Symbol 1186 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1188 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.etuit);
Symbol 1190 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad3);
Symbol 1199 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1209 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1211 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad1);
Symbol 1221 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1234 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.tete);
Symbol 1244 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1246 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad2);
Symbol 1255 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1257 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.etuit);
Symbol 1259 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad3);
Symbol 1266 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.bottes);
Symbol 1275 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1277 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad4);
Symbol 1287 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1289 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad1);
Symbol 1299 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1301 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad2);
Symbol 1311 MovieClip Frame 1
stop();
Symbol 1318 MovieClip Frame 1
stop();
Symbol 1319 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(100) + 1);
}
Symbol 1328 MovieClip Frame 1
stop();
Symbol 1341 MovieClip Frame 1
stop();
Symbol 1354 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.tete);
Instance of Symbol 1354 MovieClip in Symbol 1355 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent._parent.typee2);
}
Symbol 1361 MovieClip Frame 1
stop();
Symbol 1370 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1379 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1381 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad4);
Symbol 1383 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad3);
Symbol 1392 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1396 MovieClip Frame 1
stop();
Symbol 1405 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1414 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1416 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad3);
Symbol 1418 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.etuit);
Symbol 1427 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1429 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad4);
Symbol 1436 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.bottes);
Symbol 1446 MovieClip Frame 1
stop();
Symbol 1459 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1461 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad2);
Symbol 1463 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad1);
Symbol 1465 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(100) + 1);
}
Symbol 1471 MovieClip Frame 1
stop();
Symbol 1481 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1491 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1493 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad1);
Symbol 1495 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad2);
Symbol 1503 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1513 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1515 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad1);
Symbol 1517 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad2);
Symbol 1530 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.tete);
Symbol 1539 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1548 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1556 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.bottes);
Symbol 1565 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1574 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1582 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.bottes);
Symbol 1591 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1601 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1603 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(100) + 1);
}
Symbol 1604 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(50) + 1);
}
Symbol 1605 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(50) + 1);
}
Symbol 1606 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(20) + 1);
}
Symbol 1607 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(20) + 1);
}
Symbol 1608 MovieClip Frame 25
stop();
Symbol 1609 MovieClip Frame 25
stop();
Symbol 1617 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1630 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.tete);
Instance of Symbol 1630 MovieClip in Symbol 1631 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent._parent.typee2);
}
Symbol 1640 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1649 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1651 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad3);
Symbol 1659 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.bottes);
Symbol 1668 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1670 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad4);
Symbol 1680 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1682 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad1);
Symbol 1690 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1700 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1702 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad1);
Symbol 1712 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1718 MovieClip Frame 1
stop();
Symbol 1723 MovieClip Frame 1
stop();
Symbol 1727 MovieClip Frame 9
stop();
Symbol 1728 MovieClip Frame 1
_visible = false;
gotoAndStop (2);
Symbol 1728 MovieClip Frame 2
_xscale = (random(30) + 70);
_yscale = (random(30) + 70);
aa = random(2) + 1;
if (aa == 1) {
_xscale = (_xscale * -1);
}
boxx._x = random(10) - 5;
boxx._y = random(10) - 5;
boxx._rotation = random(30) - 15;
_visible = true;
stop();
Symbol 1729 MovieClip Frame 50
gotoAndPlay(random(40) + 51);
Symbol 1729 MovieClip Frame 101
if (_root.pausedd != 1) {
gotoAndPlay (51);
}
Symbol 1729 MovieClip Frame 102
_root.hited = random(3) + (3 * (0.3 + (0.7 * _root.lvl)));
Symbol 1729 MovieClip Frame 107
if (_parent._parent.shots_to_fire == undefined) {
_parent._parent.shots_to_fire = 0;
}
_parent._parent.shots_to_fire = _parent._parent.shots_to_fire - 1;
if (_parent._parent.shots_to_fire > 0) {
gotoAndPlay (100);
}
Symbol 1729 MovieClip Frame 150
aa = random(2) + 1;
if (aa == 1) {
_parent._parent.shots_to_fire = random(3) + 1;
gotoAndPlay (1);
} else {
stop();
}
Symbol 1733 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(((random(2) + 1) * 15) - 14);
}
Symbol 1733 MovieClip Frame 15
_parent._parent.hited_anim = 0;
stop();
Symbol 1733 MovieClip Frame 30
_parent._parent.hited_anim = 0;
stop();
Symbol 1745 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.tete);
Symbol 1754 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1756 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad4);
Symbol 1765 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1775 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1785 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1788 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent._parent.chandail);
Symbol 1799 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1809 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1818 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1820 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad4);
Symbol 1830 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1839 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent._parent.chandail);
Symbol 1842 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(((random(35) + 1) * 2) - 35);
}
Symbol 1842 MovieClip Frame 35
if (_parent._parent.civil == 2) {
_parent._parent.tomber = 2;
}
_parent._parent.anim = 74;
stop();
Symbol 1842 MovieClip Frame 71
if (_parent._parent.civil == 2) {
_parent._parent.tomber = 2;
}
if (_parent._parent.side == "L") {
_parent._parent.side = "R";
} else {
_parent._parent.side = "L";
}
_parent._parent.anim = 73;
stop();
Symbol 1854 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.tete);
Instance of Symbol 1854 MovieClip in Symbol 1855 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent._parent.typee2);
}
Symbol 1862 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1865 MovieClip Frame 1
stop();
Symbol 1876 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1878 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pad2);
Symbol 1887 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1896 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1905 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.pants);
Symbol 1909 MovieClip Frame 1
stop();
Symbol 1919 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1929 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1939 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1941 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(((random(35) + 1) * 2) - 35);
}
Symbol 1941 MovieClip Frame 35
if (_parent._parent.civil == 2) {
_parent._parent.tomber = 2;
}
if (_parent._parent.side == "L") {
_parent._parent.side = "R";
} else {
_parent._parent.side = "L";
}
_parent._parent.anim = 72;
stop();
Symbol 1941 MovieClip Frame 71
if (_parent._parent.civil == 2) {
_parent._parent.tomber = 2;
}
_parent._parent.anim = 71;
stop();
Symbol 1949 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.pants);
Symbol 1959 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.chandail);
Symbol 1969 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.pants);
Symbol 1978 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.chandail);
Symbol 1988 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.pants);
Symbol 1997 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.chandail);
Symbol 2011 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.tete);
Instance of Symbol 2011 MovieClip in Symbol 2012 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent._parent.typee2);
}
Symbol 2021 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.pants);
Symbol 2032 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.chandail);
Symbol 2035 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(100) + 1);
}
Symbol 2036 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(random(100) + 1);
}
Symbol 2037 MovieClip Frame 1
stop();
Symbol 2039 Button
on (press) {
onitem = 1;
_root.onitem = onitem;
gotoAndStop (6);
}
on (rollOver) {
gotoAndStop (5);
onitem = 2;
_root.onitem = onitem;
}
on (rollOut) {
gotoAndStop (4);
onitem = 1;
_root.onitem = onitem;
}
Symbol 2040 MovieClip Frame 1
_visible = false;
stop();
Symbol 2040 MovieClip Frame 2
item_typee = eval ("_parent.item_typee_" + nb);
item_qty = eval ("_parent.item_qty_" + nb);
item_kind = eval ("_root.item_kind_" + item_typee);
item_value = eval ((("_root.item_value_" + item_typee) + "_") + item_kind);
item_name = eval ("_root.item_name_" + item_typee);
element_name = eval ("_root.element_name_" + item_kind);
trace("item_typee: " + item_typee);
trace("item_qty: " + item_qty);
trace("item_kind: " + item_kind);
trace("item_value: " + item_value);
trace("item_name: " + item_name);
trace("element_name: " + element_name);
boxx.qty = item_qty;
_visible = true;
_x = 0;
_y = (-(random(100) + 75));
speedx = random(20) - 10;
speedy = -random(20);
speedr = random(20) - 10;
boxx.gotoAndStop(item_typee);
boxx.qtyboxx._visible = false;
aa = random(2) + 1;
if (aa == 1) {
boxx._xscale = boxx._xscale * -1;
}
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
_rotation = (_rotation + speedr);
speedx = speedx * 0.9;
if (speedy < -0.5) {
speedy = speedy * 0.9;
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * 1.1;
}
speedr = speedr * 0.95;
if (_y >= 0) {
gotoAndStop (3);
}
};
Symbol 2040 MovieClip Frame 3
_y = 0;
_rotation = 0;
stop();
onEnterFrame = function () {
if (_root.act == 1) {
gotoAndStop (3);
} else if (_currentframe <= 3) {
gotoAndStop (4);
}
if (onitem == 2) {
point = new Object();
point.x = 0;
point.y = 0;
pointx = localToGlobal(point);
_root.pointitemx = point.x;
_root.pointitemy = point.y;
}
};
Symbol 2040 MovieClip Frame 6
_root.ob_taken_stage_go = 2;
_root.ob_taken_stage_typee = item_typee;
_root.ob_taken_stage_kind = item_kind;
_root.ob_taken_stage_value = item_value;
_root.ob_taken_stage_name = item_name;
_root.ob_taken_stage_qty = item_qty;
aa = random(3) + 1;
if (aa == 1) {
_root.music_mc.snd.voices.gotoAndStop(1);
_root.music_mc.snd.voices.gotoAndStop((100 + random(6)) + 1);
}
if (item_kind <= 6) {
Set("_root." + element_name, eval ("_root." + element_name) + item_value);
} else {
_root.item_x = item_typee;
_root.item_lvl_x = 11111;
_root.item_qty_x = item_qty;
_root.interr.pausee_menuu.from_taken_new_item = 2;
_root.interr.pausee_menuu.gotoAndStop(41);
}
stop();
onEnterFrame = function () {
if (_alpha > 0) {
_alpha = (_alpha - 5);
}
};
Symbol 2047 Button
on (release) {
_root.talking_tete = _parent.tete;
_root.talking_chandail = _parent.chandail;
_root.talking_pants = _parent.pants;
_root.talking_bottes = _parent.bottes;
_root.talking_etuit = _parent.etuit;
_root.talking_pad1 = _parent.pad1;
_root.talking_pad2 = _parent.pad2;
_root.talking_pad3 = _parent.pad3;
_root.talking_pad4 = _parent.pad4;
_root.talking_who = _parent.nb;
_parent.talked = 2;
_root.pausedd = 2;
_root.interr.pausee_menuu.gotoAndStop(_parent.give + 12);
}
Symbol 2048 Button
on (release) {
_root.talking_tete = _parent.tete;
_root.talking_chandail = _parent.chandail;
_root.talking_pants = _parent.pants;
_root.talking_bottes = _parent.bottes;
_root.talking_etuit = _parent.etuit;
_root.talking_pad1 = _parent.pad1;
_root.talking_pad2 = _parent.pad2;
_root.talking_pad3 = _parent.pad3;
_root.talking_pad4 = _parent.pad4;
_root.pausedd = 2;
_root.interr.pausee_menuu.gotoAndStop(12);
}
Symbol 2052 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (((_root.act == 2) && (_parent.energy > 0)) && (_parent.talked == 1)) {
gotoAndStop(_parent.civil);
} else {
gotoAndStop (1);
}
};
Symbol 2053 MovieClip Frame 1
_visible = false;
die = 2;
reach_spot = 0;
if (civil == 2) {
_xscale = eval (("_parent.spot_" + posi) + "._xscale");
_yscale = _xscale;
_x = ((eval (("_parent.spot_" + posi) + "._x") - ((Math.abs(_xscale) * 150) / 100)) + ((random(2) + 1) * Math.abs(_xscale)));
_y = eval (("_parent.spot_" + posi) + "._y");
gotoAndStop (3);
}
stop();
onEnterFrame = function () {
};
Symbol 2053 MovieClip Frame 2
_visible = true;
speed_walk = 3.5;
speed_run = 13;
typee_random = 2;
if (typee_random == 1) {
energy = 800;
casque = 1;
typee = 2;
} else {
energy = 200;
casque = 2;
typee = 1;
}
tete = random(7) + 1;
chandail = random(5) + 1;
pants = random(5) + 1;
bottes = pants;
etuit = random(2) + 1;
if (typee == 2) {
pad1 = 1;
pad2 = 1;
pad3 = 1;
pad4 = 1;
} else {
pad1 = 2;
pad2 = 2;
pad3 = 2;
pad4 = 2;
}
alerted = 1;
side = "L";
canmove = 2;
shoot = 1;
shots_to_fire = random(5) + 0;
shots_timer = random(150) + 50;
timer_shot_stand_st = 200;
timer_shot_stand_st_min = 175 - (25 * _root.lvl2);
timer_shot_stand = random(timer_shot_stand_st) + timer_shot_stand_st_min;
hited_anim = 0;
die = 1;
next_spot = 0;
inzone = 1;
timeout_st = 125;
timeout = timeout_st;
item_nb = 0;
item_random_possibility = random(2) + 1;
if (item_random_possibility == 1) {
item_nb = random(3) + 1;
item_kind = random(8) + 1;
if (item_kind >= 7) {
item_kind = 9;
}
item_rare_random = random(20 - _root.lvl2) + 1;
if (item_rare_random == 1) {
item_rare = 3;
}
if ((item_rare_random >= 2) && (item_rare_random <= 3)) {
item_rare = 2;
}
if (item_rare_random >= 4) {
item_rare = 1;
}
if (item_kind == 9) {
item_typee_1 = random(5) + 27;
item_qty_1 = Math.round((random(eval ("_root.item_qty_" + item_typee_1)) + 1) / (random(3) + 2)) + 1;
} else {
item_typee_1 = ((item_kind * 3) - 3) + item_rare;
}
item_kind = random(8) + 1;
if (item_kind >= 7) {
item_kind = 9;
}
item_rare_random = random(20 - _root.lvl2) + 1;
if (item_rare_random == 1) {
item_rare = 3;
}
if ((item_rare_random >= 2) && (item_rare_random <= 3)) {
item_rare = 2;
}
if (item_rare_random >= 4) {
item_rare = 1;
}
if (item_kind == 9) {
item_typee_2 = random(5) + 27;
item_qty_2 = Math.round((random(eval ("_root.item_qty_" + item_typee_2)) + 1) / (random(3) + 2)) + 1;
} else {
item_typee_2 = ((item_kind * 3) - 3) + item_rare;
}
item_kind = random(8) + 1;
if (item_kind >= 7) {
item_kind = 9;
}
item_rare_random = random(20 - _root.lvl2) + 1;
if (item_rare_random == 1) {
item_rare = 3;
}
if ((item_rare_random >= 2) && (item_rare_random <= 3)) {
item_rare = 2;
}
if (item_rare_random >= 4) {
item_rare = 1;
}
if (item_kind == 9) {
item_typee_3 = random(5) + 27;
item_qty_3 = Math.round((random(eval ("_root.item_qty_" + item_typee_3)) + 1) / (random(3) + 2)) + 1;
} else {
item_typee_3 = ((item_kind * 3) - 3) + item_rare;
}
}
stop();
onEnterFrame = function () {
if (_root.act == 2) {
if (_y > 475) {
_y = 475;
_xscale = 70;
_yscale = 70;
anims._visible = false;
}
}
if (_root.pausedd == 1) {
if (_root.hostile == 2) {
alerted = 2;
}
if (Math.abs(_xscale) > 75) {
_root.gen.on_stage = _root.gen.on_stage - 1;
_root.gen.spawned = _root.gen.spawned - 1;
gotoAndStop (1);
}
if (typee == 1) {
if (alerted == 1) {
speed = (speed_walk * _xscale) / 100;
} else {
speed = (speed_run * _xscale) / 100;
}
} else {
speed = (speed_walk * _xscale) / 100;
}
if ((canmove == 2) && (energy > 0)) {
inzone_posix = (_x + _parent._x) + _parent._parent._x;
if ((inzone_posix > 50) && (inzone_posix < 750)) {
inzone = 2;
timeout = timeout_st;
} else {
inzone = 1;
if (timeout > 0) {
timeout = timeout - 1;
} else {
_root.gen.on_stage = _root.gen.on_stage - 1;
_root.gen.spawned = _root.gen.spawned - 1;
gotoAndStop (1);
}
}
reaching_spot = 1;
if (eval ("_parent.spot_" + reach_spot) != undefined) {
if (inzone == 1) {
reach_timer = 0;
shots_to_fire = 0;
shoot = 1;
trace("out of zone");
}
if (next_spot == 0) {
next_spot_random = random(50) + 1;
if (eval ((("_parent.spot_" + reach_spot) + ".canposi_") + next_spot_random) != undefined) {
next_spot = next_spot_random;
}
}
if ((((_x > (eval (("_parent.spot_" + reach_spot) + "._x") - 10)) && (_x < (eval (("_parent.spot_" + reach_spot) + "._x") + 10))) && (_y > (eval (("_parent.spot_" + reach_spot) + "._y") - 10))) && (_y < (eval (("_parent.spot_" + reach_spot) + "._y") + 10))) {
reaching_spot = 1;
speedx = 0;
speedy = 0;
if (reach_timer > 0) {
if ((shots_to_fire > 0) && (alerted != 1)) {
if (shoot == 1) {
shoot = 2;
}
} else {
reach_timer = reach_timer - 1;
}
} else if ((next_spot != 0) && (next_spot != undefined)) {
reach_spot = next_spot;
next_spot = 0;
trace("change_spot");
initial_point = 1;
} else {
reach_timer = 1;
}
} else {
reaching_spot = 2;
move_or_stay_random = random(2) + 1;
if (move_or_stay_random == 1) {
reach_timer = 0;
} else {
aa = random(3) + 1;
if (aa == 1) {
shots_to_fire = 0;
reach_timer = random(50) + 10;
} else {
shots_to_fire = random(3) + 1;
reach_timer = 100 + random(300);
}
}
reach_distx = eval (("_parent.spot_" + reach_spot) + "._x") - _x;
reach_disty = eval (("_parent.spot_" + reach_spot) + "._y") - _y;
reach_disttot = Math.abs(reach_distx) + Math.abs(reach_disty);
speedx = (speed * reach_distx) / reach_disttot;
speedy = (speed * reach_disty) / reach_disttot;
if (hited_anim != 0) {
speedx = speedx * 0.4;
speedy = speedy * 0.4;
}
if (speedx > 0) {
side = "R";
} else {
side = "L";
}
if (initial_point != 2) {
initial_point = 2;
initial_posix = _x;
initial_posiy = _y;
initial_scale = _xscale;
initial_distx = reach_distx;
initial_disty = reach_disty;
}
reach_difscale = eval (("_parent.spot_" + reach_spot) + "._xscale") - initial_scale;
if (initial_distx > initial_disty) {
scale = initial_scale + (((_x - initial_posix) * reach_difscale) / initial_distx);
} else {
scale = initial_scale + (((_y - initial_posiy) * reach_difscale) / initial_disty);
}
_xscale = scale;
_yscale = _xscale;
}
} else if (alerted == 2) {
if (shoot == 1) {
if (timer_shot_stand > 0) {
timer_shot_stand = timer_shot_stand - 1;
} else {
shoot = 2;
shots_to_fire = random(3) + 1;
timer_shot_stand = random(timer_shot_stand_st) + timer_shot_stand_st_min;
}
}
}
}
_x = (_x + speedx);
_y = (_y + speedy);
speedx = speedx * 0.88;
speedy = speedy * 0.88;
}
if ((hited_anim != 0) || (canmove == 1)) {
shoot = 1;
}
if (hited == 2) {
hited = 1;
if (reach_timer > 200) {
reach_timer = 200;
}
if (energy > 0) {
hited_anim = random(2) + 51;
anims.gotoAndStop(1);
}
}
if (energy <= 0) {
canmove = 1;
if (die != 2) {
die = 2;
die_timer = 400;
_root.st_enemies_killed = _root.st_enemies_killed + 1;
_root.gen.killed = _root.gen.killed + 1;
_root.gen.on_stage = _root.gen.on_stage - 1;
_root.music_mc.snd.divers.gotoAndStop(1);
_root.music_mc.snd.divers.gotoAndStop(2);
}
if ((item_nb >= 1) && (item_1._currentframe == 1)) {
item_1.gotoAndStop(2);
}
if ((item_nb >= 2) && (item_2._currentframe == 1)) {
item_2.gotoAndStop(2);
}
if ((item_nb >= 3) && (item_3._currentframe == 1)) {
item_3.gotoAndStop(2);
}
}
if (die == 2) {
if (die_timer > 0) {
die_timer = die_timer - 1;
} else if (anims._alpha > 0) {
anims._alpha = anims._alpha - 5;
}
}
if (side == "L") {
anims._xscale = 100;
} else {
anims._xscale = -100;
}
anims._yscale = 100;
if (energy <= 0) {
if (anim < 61) {
anim = random(2) + 61;
}
} else if (hited_anim != 0) {
anim = hited_anim;
} else if (canmove == 2) {
if (reaching_spot == 1) {
if (shoot == 1) {
anim = 1;
} else {
anim = 41;
}
} else if (initial_disty > 50) {
anim = 11 + ((alerted * 10) - 10);
} else {
anim = 12 + ((alerted * 10) - 10);
}
}
anims.gotoAndStop(anim);
};
Instance of Symbol 2040 MovieClip "item_1" in Symbol 2053 MovieClip Frame 2
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 2040 MovieClip "item_2" in Symbol 2053 MovieClip Frame 2
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 2040 MovieClip "item_3" in Symbol 2053 MovieClip Frame 2
onClipEvent (load) {
nb = 3;
}
Symbol 2053 MovieClip Frame 3
_visible = true;
energy = 1;
tete = random(4) + 8;
chandail = random(3) + 6;
pants = random(3) + 7;
bottes = pants;
etuit = 2;
pad1 = 2;
pad2 = 2;
pad3 = 2;
pad4 = 2;
anim_panic = random(2) + 1;
anim_tombe = random(2) + 1;
tomber = 1;
talked = 1;
aa = random(2) + 1;
if (aa == 1) {
side = "L";
} else {
side = "R";
}
give = random(2) + 1;
civilnotdieyet_stat = 2;
stop();
onEnterFrame = function () {
if (energy > 0) {
if (_root.act == 1) {
anims.gotoAndStop(80 + anim_panic);
} else {
anims.gotoAndStop(91);
}
} else {
if (civilnotdieyet_stat == 2) {
civilnotdieyet_stat = 1;
_root.st_civils_killed = _root.st_civils_killed + 1;
_root.achiv_2_1 = _root.achiv_2_1 + 1;
}
if (tomber == 1) {
anims.gotoAndStop(60 + anim_tombe);
} else {
anims.gotoAndStop(anim);
}
}
if ((talked == 2) && (_root.interr.pausee_menuu._currentframe == 1)) {
if (_alpha > 0) {
_alpha = (_alpha - 4);
}
}
if (side == "L") {
anims._xscale = 100;
} else {
anims._xscale = -100;
}
anims._yscale = 100;
};
Symbol 2055 MovieClip Frame 1
_visible = false;
Instance of Symbol 2053 MovieClip "e_1" in Symbol 2056 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
spawn_min = 1;
spawn_max = 1;
}
Instance of Symbol 2055 MovieClip "spot_4" in Symbol 2056 MovieClip Frame 1
onClipEvent (load) {
hidespot = 1;
largeur = 100;
}
Instance of Symbol 2055 MovieClip "spot_5" in Symbol 2056 MovieClip Frame 1
onClipEvent (load) {
hidespot = 1;
largeur = 100;
}
Instance of Symbol 2055 MovieClip "spot_6" in Symbol 2056 MovieClip Frame 1
onClipEvent (load) {
hidespot = 1;
largeur = 100;
}
Symbol 2061 MovieClip Frame 1
_visible = false;
Symbol 2074 MovieClip Frame 1
_alpha = 100;
timer_alpha = random(20) + 10;
_x = 0;
_y = 0;
_rotation = (random(360) + 1);
_xscale = (random(50) + 50);
_yscale = (random(50) + 50);
aa = random(2) + 1;
if (aa == 12) {
_xscale = (_xscale * -1);
}
speedx = random(8) - 4;
speedy = random(8) - 4;
speedr = random(8) - 4;
speedxscale = 1 + (random(10) / 100);
speedyscale = 1 + (random(10) / 100);
boxx.gotoAndStop(random(10) + 1);
onEnterFrame = function () {
if (timer_alpha > 0) {
timer_alpha = timer_alpha - 1;
} else if (_alpha > 0) {
_alpha = (_alpha - 4);
}
if (_alpha > 0) {
_xscale = (_xscale * speedxscale);
_yscale = (_yscale * speedyscale);
_x = (_x + (speedx * 2));
_y = (_y + (speedy * 2));
_rotation = (_rotation + speedr);
speedx = speedx * 0.85;
speedy = speedy * 0.85;
speedr = speedr * 0.85;
if (speedxscale > 1) {
speedxscale = speedxscale - 0.005;
}
if (speedyscale > 1) {
speedyscale = speedyscale - 0.005;
}
}
};
Symbol 2075 MovieClip Frame 1
_visible = false;
gotoAndStop (2);
Symbol 2075 MovieClip Frame 2
_visible = true;
stop();
Instance of Symbol 2061 MovieClip in Symbol 2076 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.wp_typee == 24) || (_root.wp_typee == 25)) {
firepower = _root.firepower;
}
if (_root.zoomed == 0) {
firepower = firepower * 0.9;
}
if (_root.zoomed == 2) {
firepower = firepower * 1.5;
}
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 31) {
if (_parent._parent._parent._parent.boxx2["wall_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
_parent.gotoAndStop(5);
}
if (_root.zoomed != 0) {
if (_parent._parent._parent._parent.boxx2["e_" + nb].anims.boxx.head.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._parent._parent._parent.boxx2["e_" + nb].energy > 0) {
_parent._parent._parent._parent.boxx2["e_" + nb].energy = _parent._parent._parent._parent.boxx2["e_" + nb].energy - (_root.firepower * 4);
if ((_root.wp_typee == 24) || (_root.wp_typee == 25)) {
_parent._parent._parent._parent.boxx2["e_" + nb].energy = _parent._parent._parent._parent.boxx2["e_" + nb].energy - ((_root.firepower * 4) * ((_parent._parent._parent._parent.boxx2["e_" + nb]._xscale * 1) / 100));
} else {
_parent._parent._parent._parent.boxx2["e_" + nb].energy = _parent._parent._parent._parent.boxx2["e_" + nb].energy - (_root.firepower * 4);
}
if (_parent._parent._parent._parent.boxx2["e_" + nb].energy <= 0) {
_root.st_bullets_headshot = _root.st_bullets_headshot + 1;
}
_parent._parent._parent._parent.boxx2["e_" + nb].hited = 2;
_parent._parent._parent.bullet_hitt_stat_go = 2;
_parent.gotoAndStop(6);
}
}
}
if (_parent._parent._parent._parent.boxx2["e_" + nb].anims.boxx.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_parent._parent._parent._parent.boxx2["e_" + nb].energy > 0) {
if ((_root.wp_typee == 24) || (_root.wp_typee == 25)) {
_parent._parent._parent._parent.boxx2["e_" + nb].energy = _parent._parent._parent._parent.boxx2["e_" + nb].energy - (_root.firepower * ((_parent._parent._parent._parent.boxx2["e_" + nb]._xscale * 1) / 100));
} else {
_parent._parent._parent._parent.boxx2["e_" + nb].energy = _parent._parent._parent._parent.boxx2["e_" + nb].energy - _root.firepower;
}
_parent._parent._parent._parent.boxx2["e_" + nb].hited = 2;
_parent._xscale = _parent._parent._parent._parent.boxx2["e_" + nb]._xscale;
_parent._yscale = _parent._xscale;
_parent._parent._parent.bullet_hitt_stat_go = 2;
_parent.gotoAndStop(6);
}
}
nb++;
}
i++;
}
}
Symbol 2076 MovieClip Frame 5
stop();
Symbol 2076 MovieClip Frame 6
stop();
Symbol 2078 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
};
Symbol 2078 MovieClip Frame 2
_alpha = 50;
if (_root.zoomed == 0) {
accuracy_sx = (random(_root.accuracy / 2) - (_root.accuracy / 4)) * 1.5;
accuracy_sy = (random(_root.accuracy / 2) - (_root.accuracy / 4)) * 1.5;
}
if (_root.zoomed == 1) {
accuracy_sx = (random(_root.accuracy / 2) - (_root.accuracy / 4)) * 1;
accuracy_sy = (random(_root.accuracy / 2) - (_root.accuracy / 4)) * 1;
}
if (_root.zoomed == 2) {
accuracy_sx = (random(_root.accuracy / 2) - (_root.accuracy / 4)) * 0;
accuracy_sy = (random(_root.accuracy / 2) - (_root.accuracy / 4)) * 0;
}
posi_sx = posi_sx + accuracy_sx;
posi_sy = posi_sy + accuracy_sy;
posi_x = _parent.test2._x;
posi_y = _parent.test2._y;
_x = posi_sx;
_y = posi_sy;
if (((_root.wp_typee == 24) || (_root.wp_typee == 25)) || (_root.zoomed == 0)) {
boxx._visible = false;
}
if ((_root.wp_typee == 24) || (_root.wp_typee == 25)) {
hitest.gotoAndStop(2);
} else {
hitest.gotoAndStop(1);
}
bullet_hitt_stat = 2;
bullet_hitt_stat_go = 1;
stop();
onEnterFrame = function () {
_visible = true;
largeur = posi_x - posi_sx;
hauteur = posi_y - posi_sy;
boxx._width = largeur;
boxx._height = hauteur;
boxx._x = 0;
boxx._y = 0;
_x = posi_sx;
_y = posi_sy;
if (_alpha > 0) {
_alpha = (_alpha - 1.5);
} else {
gotoAndStop (2);
}
if ((bullet_hitt_stat == 2) && (bullet_hitt_stat_go == 2)) {
bullet_hitt_stat = 1;
bullet_hitt_stat_go = 1;
_root.st_bullets_hited = _root.st_bullets_hited + 1;
}
};
Symbol 2080 MovieClip Frame 1
_visible = false;
Symbol 2082 MovieClip Frame 1
_visible = false;
Symbol 2087 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay(_parent.nb * 20);
}
Symbol 2088 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
if (eval (((("_parent._parent.boxx2.e_" + _parent.nb) + ".item_") + nb) + "._currentframe") == 4) {
_x = eval (((("_parent._parent.boxx2.e_" + _parent.nb) + ".item_") + nb) + "._x");
_y = eval (((("_parent._parent.boxx2.e_" + _parent.nb) + ".item_") + nb) + "._y");
_visible = true;
gotoAndStop (2);
} else {
_visible = false;
gotoAndStop (1);
}
};
Symbol 2089 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
if (_root.act == 2) {
_x = (eval (("_parent.boxx2.e_" + nb) + "._x") + _parent.boxx2._x);
_y = (eval (("_parent.boxx2.e_" + nb) + "._y") + _parent.boxx2._y);
_xscale = Math.abs(eval (("_parent.boxx2.e_" + nb) + "._xscale"));
_yscale = Math.abs(eval (("_parent.boxx2.e_" + nb) + "._yscale"));
gotoAndStop (2);
_visible = true;
} else {
gotoAndStop (1);
_visible = false;
}
};
Instance of Symbol 2088 MovieClip in Symbol 2089 MovieClip Frame 2
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 2088 MovieClip in Symbol 2089 MovieClip Frame 2
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 2088 MovieClip in Symbol 2089 MovieClip Frame 2
onClipEvent (load) {
nb = 3;
}
Symbol 2116 MovieClip Frame 1
_visible = false;
Instance of Symbol 2116 MovieClip "spawn_15" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_14" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_16" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_17" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_19" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_20" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_22" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_23" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_21" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_18" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2053 MovieClip "e_16" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 16;
spawn_min = 14;
spawn_max = 23;
}
Instance of Symbol 2053 MovieClip "e_17" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 17;
spawn_min = 14;
spawn_max = 23;
}
Instance of Symbol 2053 MovieClip "e_18" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 18;
spawn_min = 14;
spawn_max = 23;
}
Instance of Symbol 2053 MovieClip "e_19" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 19;
spawn_min = 14;
spawn_max = 23;
}
Instance of Symbol 2053 MovieClip "e_20" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 20;
spawn_min = 14;
spawn_max = 23;
}
Instance of Symbol 2116 MovieClip "spawn_10" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
}
Instance of Symbol 2055 MovieClip "spot_12" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
side = "R";
canposi_1 = 2;
canposi_13 = 2;
canposi_14 = 2;
canposi_15 = 2;
}
Instance of Symbol 2055 MovieClip "spot_14" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
side = "R";
canposi_13 = 2;
canposi_15 = 2;
canposi_16 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_6" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_11 = 2;
canposi_12 = 2;
canposi_13 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_8" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_13 = 2;
canposi_14 = 2;
canposi_15 = 2;
}
Instance of Symbol 2055 MovieClip "spot_16" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
side = "R";
canposi_14 = 2;
canposi_17 = 2;
canposi_18 = 2;
}
Instance of Symbol 2055 MovieClip "spot_17" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
side = "L";
canposi_16 = 2;
canposi_18 = 2;
canposi_19 = 2;
}
Instance of Symbol 2055 MovieClip "spot_13" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
side = "L";
canposi_11 = 2;
canposi_12 = 2;
canposi_14 = 2;
canposi_15 = 2;
canposi_16 = 2;
}
Instance of Symbol 2055 MovieClip "spot_18" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
side = "L";
canposi_16 = 2;
canposi_17 = 2;
canposi_19 = 2;
canposi_20 = 2;
}
Instance of Symbol 2055 MovieClip "spot_19" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
side = "R";
canposi_17 = 2;
canposi_18 = 2;
canposi_20 = 2;
}
Instance of Symbol 2055 MovieClip "spot_15" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
canposi_12 = 2;
canposi_13 = 2;
canposi_14 = 2;
}
Instance of Symbol 2055 MovieClip "spot_11" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
canposi_12 = 2;
canposi_13 = 2;
canposi_14 = 2;
}
Instance of Symbol 2055 MovieClip "spot_20" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
side = "L";
canposi_18 = 2;
canposi_19 = 2;
canposi_21 = 2;
canposi_22 = 2;
}
Instance of Symbol 2055 MovieClip "spot_21" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
side = "R";
canposi_20 = 2;
canposi_22 = 2;
}
Instance of Symbol 2055 MovieClip "spot_22" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 2055 MovieClip "spot_23" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
canposi_22 = 2;
canposi_24 = 2;
}
Instance of Symbol 2055 MovieClip "spot_24" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
side = "R";
canposi_23 = 2;
canposi_25 = 2;
}
Instance of Symbol 2055 MovieClip "spot_25" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
side = "R";
canposi_23 = 2;
canposi_24 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_7" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_11 = 2;
canposi_12 = 2;
canposi_13 = 2;
canposi_14 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_9" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_17 = 2;
canposi_18 = 2;
canposi_19 = 2;
canposi_20 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_11" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_22 = 2;
canposi_23 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_12" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_23 = 2;
canposi_24 = 2;
canposi_25 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_13" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_25 = 2;
}
Instance of Symbol 2053 MovieClip "e_11" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 11;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_12" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 12;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_13" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 13;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_14" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 14;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_15" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 15;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_6" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_7" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_8" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_9" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_10" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_26" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 26;
posi = random(3) + 11;
civil = 2;
}
Instance of Symbol 2053 MovieClip "e_27" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 27;
posi = random(3) + 14;
civil = 2;
}
Instance of Symbol 2053 MovieClip "e_28" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 28;
posi = random(3) + 18;
civil = 2;
}
Instance of Symbol 2053 MovieClip "e_29" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 29;
posi = random(5) + 21;
civil = 2;
}
Instance of Symbol 2053 MovieClip "e_30" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 30;
posi = 17;
civil = 3;
}
Instance of Symbol 2055 MovieClip "spot_1" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
canposi_2 = 2;
canposi_3 = 2;
}
Instance of Symbol 2055 MovieClip "spot_4" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
canposi_3 = 2;
canposi_5 = 2;
}
Instance of Symbol 2055 MovieClip "spot_2" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
canposi_1 = 2;
canposi_3 = 2;
}
Instance of Symbol 2055 MovieClip "spot_3" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
canposi_1 = 2;
canposi_2 = 2;
canposi_4 = 2;
canposi_5 = 2;
canposi_6 = 2;
}
Instance of Symbol 2055 MovieClip "spot_5" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
canposi_3 = 2;
canposi_4 = 2;
canposi_6 = 2;
canposi_7 = 2;
}
Instance of Symbol 2055 MovieClip "spot_7" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
canposi_6 = 2;
canposi_8 = 2;
}
Instance of Symbol 2055 MovieClip "spot_8" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
canposi_7 = 2;
canposi_9 = 2;
canposi_10 = 2;
}
Instance of Symbol 2055 MovieClip "spot_10" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
canposi_7 = 2;
canposi_8 = 2;
canposi_9 = 2;
}
Instance of Symbol 2055 MovieClip "spot_6" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
canposi_3 = 2;
canposi_5 = 2;
canposi_7 = 2;
}
Instance of Symbol 2055 MovieClip "spot_9" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
canposi_7 = 2;
canposi_8 = 2;
canposi_10 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_1" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_1 = 2;
canposi_2 = 2;
canposi_3 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_4" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_8 = 2;
canposi_9 = 2;
canposi_10 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_5" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_8 = 2;
canposi_9 = 2;
canposi_10 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_3" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_5 = 2;
canposi_6 = 2;
canposi_7 = 2;
canposi_8 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_2" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_4 = 2;
canposi_5 = 2;
canposi_6 = 2;
}
Instance of Symbol 2053 MovieClip "e_1" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
spawn_min = 1;
spawn_max = 5;
}
Instance of Symbol 2053 MovieClip "e_2" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
spawn_min = 1;
spawn_max = 5;
}
Instance of Symbol 2053 MovieClip "e_3" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
spawn_min = 1;
spawn_max = 5;
}
Instance of Symbol 2053 MovieClip "e_4" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
spawn_min = 1;
spawn_max = 5;
}
Instance of Symbol 2053 MovieClip "e_5" in Symbol 2157 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
spawn_min = 1;
spawn_max = 5;
}
Instance of Symbol 2116 MovieClip "spawn_15" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_14" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_16" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_17" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_19" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_20" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_22" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_23" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_21" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_18" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2053 MovieClip "e_16" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 16;
spawn_min = 14;
spawn_max = 23;
}
Instance of Symbol 2053 MovieClip "e_17" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 17;
spawn_min = 14;
spawn_max = 23;
}
Instance of Symbol 2053 MovieClip "e_18" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 18;
spawn_min = 14;
spawn_max = 23;
}
Instance of Symbol 2053 MovieClip "e_19" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 19;
spawn_min = 14;
spawn_max = 23;
}
Instance of Symbol 2053 MovieClip "e_20" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 20;
spawn_min = 14;
spawn_max = 23;
}
Instance of Symbol 2116 MovieClip "spawn_10" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_18 = 2;
canposi_19 = 2;
canposi_20 = 2;
}
Instance of Symbol 2055 MovieClip "spot_12" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_11 = 2;
canposi_13 = 2;
canposi_14 = 2;
}
Instance of Symbol 2055 MovieClip "spot_14" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_11 = 2;
canposi_12 = 2;
canposi_13 = 2;
canposi_15 = 2;
canposi_16 = 2;
canposi_17 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_6" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_11 = 2;
canposi_12 = 2;
canposi_13 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_8" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_14 = 2;
canposi_15 = 2;
canposi_16 = 2;
canposi_17 = 2;
}
Instance of Symbol 2055 MovieClip "spot_16" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_15 = 2;
canposi_17 = 2;
}
Instance of Symbol 2055 MovieClip "spot_17" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_14 = 2;
canposi_15 = 2;
canposi_16 = 2;
canposi_18 = 2;
canposi_19 = 2;
}
Instance of Symbol 2055 MovieClip "spot_13" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_11 = 2;
canposi_12 = 2;
canposi_14 = 2;
canposi_15 = 2;
canposi_16 = 2;
canposi_17 = 2;
}
Instance of Symbol 2055 MovieClip "spot_18" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_17 = 2;
canposi_19 = 2;
}
Instance of Symbol 2055 MovieClip "spot_19" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_17 = 2;
canposi_18 = 2;
canposi_20 = 2;
canposi_21 = 2;
}
Instance of Symbol 2055 MovieClip "spot_15" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_11 = 2;
canposi_12 = 2;
canposi_13 = 2;
canposi_14 = 2;
canposi_16 = 2;
canposi_17 = 2;
}
Instance of Symbol 2055 MovieClip "spot_11" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_12 = 2;
canposi_13 = 2;
canposi_14 = 2;
}
Instance of Symbol 2055 MovieClip "spot_20" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_18 = 2;
canposi_19 = 2;
canposi_21 = 2;
canposi_22 = 2;
}
Instance of Symbol 2055 MovieClip "spot_21" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_17 = 2;
canposi_18 = 2;
canposi_19 = 2;
canposi_21 = 2;
}
Instance of Symbol 2055 MovieClip "spot_22" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_19 = 2;
canposi_20 = 2;
canposi_21 = 2;
canposi_23 = 2;
canposi_24 = 2;
}
Instance of Symbol 2055 MovieClip "spot_23" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_22 = 2;
canposi_24 = 2;
}
Instance of Symbol 2055 MovieClip "spot_24" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_22 = 2;
canposi_23 = 2;
canposi_25 = 2;
}
Instance of Symbol 2055 MovieClip "spot_25" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_23 = 2;
canposi_24 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_7" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_11 = 2;
canposi_12 = 2;
canposi_13 = 2;
canposi_14 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_9" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_18 = 2;
canposi_19 = 2;
canposi_20 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_11" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_19 = 2;
canposi_20 = 2;
canposi_21 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_12" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_24 = 2;
canposi_25 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_13" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_22 = 2;
canposi_23 = 2;
canposi_24 = 2;
canposi_25 = 2;
}
Instance of Symbol 2053 MovieClip "e_11" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 11;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_12" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 12;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_13" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 13;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_14" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 14;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_15" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 15;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_6" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_7" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_8" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_9" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_10" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_26" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 26;
posi = random(3) + 11;
civil = 2;
}
Instance of Symbol 2053 MovieClip "e_27" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 27;
posi = random(3) + 14;
civil = 2;
}
Instance of Symbol 2053 MovieClip "e_28" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 28;
posi = random(3) + 18;
civil = 2;
}
Instance of Symbol 2053 MovieClip "e_29" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 29;
posi = random(5) + 21;
civil = 2;
}
Instance of Symbol 2053 MovieClip "e_30" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 30;
posi = 17;
civil = 3;
}
Instance of Symbol 2055 MovieClip "spot_1" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_2 = 2;
canposi_3 = 2;
canposi_4 = 2;
}
Instance of Symbol 2055 MovieClip "spot_4" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_2 = 2;
canposi_3 = 2;
canposi_5 = 2;
canposi_6 = 2;
}
Instance of Symbol 2055 MovieClip "spot_2" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_1 = 2;
canposi_3 = 2;
canposi_4 = 2;
}
Instance of Symbol 2055 MovieClip "spot_3" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_1 = 2;
canposi_2 = 2;
canposi_4 = 2;
}
Instance of Symbol 2055 MovieClip "spot_5" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_4 = 2;
canposi_6 = 2;
}
Instance of Symbol 2055 MovieClip "spot_7" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_5 = 2;
canposi_6 = 2;
canposi_8 = 2;
canposi_9 = 2;
}
Instance of Symbol 2055 MovieClip "spot_8" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_7 = 2;
canposi_9 = 2;
}
Instance of Symbol 2055 MovieClip "spot_10" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_8 = 2;
canposi_9 = 2;
}
Instance of Symbol 2055 MovieClip "spot_6" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_4 = 2;
canposi_5 = 2;
canposi_7 = 2;
canposi_8 = 2;
}
Instance of Symbol 2055 MovieClip "spot_9" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
canposi_8 = 2;
canposi_10 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_1" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_1 = 2;
canposi_2 = 2;
canposi_3 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_4" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_6 = 2;
canposi_7 = 2;
canposi_8 = 2;
canposi_9 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_5" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_8 = 2;
canposi_9 = 2;
canposi_10 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_3" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_7 = 2;
canposi_8 = 2;
canposi_9 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_2" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_2 = 2;
canposi_3 = 2;
canposi_4 = 2;
canposi_5 = 2;
}
Instance of Symbol 2053 MovieClip "e_1" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
spawn_min = 1;
spawn_max = 5;
}
Instance of Symbol 2053 MovieClip "e_2" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
spawn_min = 1;
spawn_max = 5;
}
Instance of Symbol 2053 MovieClip "e_3" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
spawn_min = 1;
spawn_max = 5;
}
Instance of Symbol 2053 MovieClip "e_4" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
spawn_min = 1;
spawn_max = 5;
}
Instance of Symbol 2053 MovieClip "e_5" in Symbol 2201 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
spawn_min = 1;
spawn_max = 5;
}
Instance of Symbol 2116 MovieClip "spawn_15" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_14" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_16" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_17" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_19" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_20" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_22" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_23" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_21" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_18" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2053 MovieClip "e_16" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 16;
spawn_min = 14;
spawn_max = 23;
}
Instance of Symbol 2053 MovieClip "e_17" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 17;
spawn_min = 14;
spawn_max = 23;
}
Instance of Symbol 2053 MovieClip "e_18" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 18;
spawn_min = 14;
spawn_max = 23;
}
Instance of Symbol 2053 MovieClip "e_19" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 19;
spawn_min = 14;
spawn_max = 23;
}
Instance of Symbol 2053 MovieClip "e_20" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 20;
spawn_min = 14;
spawn_max = 23;
}
Instance of Symbol 2116 MovieClip "spawn_10" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_18 = 2;
canposi_19 = 2;
canposi_20 = 2;
}
Instance of Symbol 2055 MovieClip "spot_12" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_11 = 2;
canposi_13 = 2;
canposi_14 = 2;
}
Instance of Symbol 2055 MovieClip "spot_14" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_11 = 2;
canposi_12 = 2;
canposi_13 = 2;
canposi_15 = 2;
canposi_16 = 2;
canposi_17 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_6" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_11 = 2;
canposi_12 = 2;
canposi_13 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_8" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_14 = 2;
canposi_15 = 2;
canposi_16 = 2;
canposi_17 = 2;
}
Instance of Symbol 2055 MovieClip "spot_16" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_15 = 2;
canposi_17 = 2;
}
Instance of Symbol 2055 MovieClip "spot_17" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_14 = 2;
canposi_15 = 2;
canposi_16 = 2;
canposi_18 = 2;
canposi_19 = 2;
}
Instance of Symbol 2055 MovieClip "spot_13" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_11 = 2;
canposi_12 = 2;
canposi_14 = 2;
canposi_15 = 2;
canposi_16 = 2;
canposi_17 = 2;
}
Instance of Symbol 2055 MovieClip "spot_18" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_17 = 2;
canposi_19 = 2;
}
Instance of Symbol 2055 MovieClip "spot_19" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_17 = 2;
canposi_18 = 2;
canposi_20 = 2;
canposi_21 = 2;
}
Instance of Symbol 2055 MovieClip "spot_15" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_11 = 2;
canposi_12 = 2;
canposi_13 = 2;
canposi_14 = 2;
canposi_16 = 2;
canposi_17 = 2;
}
Instance of Symbol 2055 MovieClip "spot_11" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_12 = 2;
canposi_13 = 2;
canposi_14 = 2;
}
Instance of Symbol 2055 MovieClip "spot_20" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_18 = 2;
canposi_19 = 2;
canposi_21 = 2;
canposi_22 = 2;
}
Instance of Symbol 2055 MovieClip "spot_21" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_17 = 2;
canposi_18 = 2;
canposi_19 = 2;
canposi_21 = 2;
}
Instance of Symbol 2055 MovieClip "spot_22" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_19 = 2;
canposi_20 = 2;
canposi_21 = 2;
canposi_23 = 2;
canposi_24 = 2;
}
Instance of Symbol 2055 MovieClip "spot_23" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_22 = 2;
canposi_24 = 2;
}
Instance of Symbol 2055 MovieClip "spot_24" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_22 = 2;
canposi_23 = 2;
canposi_25 = 2;
}
Instance of Symbol 2055 MovieClip "spot_25" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_23 = 2;
canposi_24 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_7" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_11 = 2;
canposi_12 = 2;
canposi_13 = 2;
canposi_14 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_9" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_18 = 2;
canposi_19 = 2;
canposi_20 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_11" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_19 = 2;
canposi_20 = 2;
canposi_21 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_12" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_24 = 2;
canposi_25 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_13" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_22 = 2;
canposi_23 = 2;
canposi_24 = 2;
canposi_25 = 2;
}
Instance of Symbol 2053 MovieClip "e_11" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 11;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_12" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 12;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_13" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 13;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_14" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 14;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_15" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 15;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_6" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_7" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_8" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_9" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_10" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_26" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 26;
posi = random(3) + 11;
civil = 2;
}
Instance of Symbol 2053 MovieClip "e_27" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 27;
posi = random(3) + 14;
civil = 2;
}
Instance of Symbol 2053 MovieClip "e_28" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 28;
posi = random(3) + 18;
civil = 2;
}
Instance of Symbol 2053 MovieClip "e_29" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 29;
posi = random(5) + 21;
civil = 2;
}
Instance of Symbol 2053 MovieClip "e_30" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 30;
posi = 17;
civil = 3;
}
Instance of Symbol 2055 MovieClip "spot_1" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_2 = 2;
canposi_3 = 2;
canposi_4 = 2;
}
Instance of Symbol 2055 MovieClip "spot_4" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_2 = 2;
canposi_3 = 2;
canposi_5 = 2;
canposi_6 = 2;
}
Instance of Symbol 2055 MovieClip "spot_2" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_1 = 2;
canposi_3 = 2;
canposi_4 = 2;
}
Instance of Symbol 2055 MovieClip "spot_3" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_1 = 2;
canposi_2 = 2;
canposi_4 = 2;
}
Instance of Symbol 2055 MovieClip "spot_5" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_4 = 2;
canposi_6 = 2;
}
Instance of Symbol 2055 MovieClip "spot_7" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_5 = 2;
canposi_6 = 2;
canposi_8 = 2;
canposi_9 = 2;
}
Instance of Symbol 2055 MovieClip "spot_8" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_7 = 2;
canposi_9 = 2;
}
Instance of Symbol 2055 MovieClip "spot_10" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_8 = 2;
canposi_9 = 2;
}
Instance of Symbol 2055 MovieClip "spot_6" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_4 = 2;
canposi_5 = 2;
canposi_7 = 2;
canposi_8 = 2;
}
Instance of Symbol 2055 MovieClip "spot_9" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
canposi_8 = 2;
canposi_10 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_1" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_1 = 2;
canposi_2 = 2;
canposi_3 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_4" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_6 = 2;
canposi_7 = 2;
canposi_8 = 2;
canposi_9 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_5" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_8 = 2;
canposi_9 = 2;
canposi_10 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_3" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_7 = 2;
canposi_8 = 2;
canposi_9 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_2" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_2 = 2;
canposi_3 = 2;
canposi_4 = 2;
canposi_5 = 2;
}
Instance of Symbol 2053 MovieClip "e_1" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
spawn_min = 1;
spawn_max = 5;
}
Instance of Symbol 2053 MovieClip "e_2" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
spawn_min = 1;
spawn_max = 5;
}
Instance of Symbol 2053 MovieClip "e_3" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
spawn_min = 1;
spawn_max = 5;
}
Instance of Symbol 2053 MovieClip "e_4" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
spawn_min = 1;
spawn_max = 5;
}
Instance of Symbol 2053 MovieClip "e_5" in Symbol 2259 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
spawn_min = 1;
spawn_max = 5;
}
Instance of Symbol 2116 MovieClip "spawn_15" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_14" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_16" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_17" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_19" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_20" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_22" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_23" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_21" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2116 MovieClip "spawn_18" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 2;
}
Instance of Symbol 2053 MovieClip "e_16" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 16;
spawn_min = 14;
spawn_max = 23;
}
Instance of Symbol 2053 MovieClip "e_17" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 17;
spawn_min = 14;
spawn_max = 23;
}
Instance of Symbol 2053 MovieClip "e_18" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 18;
spawn_min = 14;
spawn_max = 23;
}
Instance of Symbol 2053 MovieClip "e_19" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 19;
spawn_min = 14;
spawn_max = 23;
}
Instance of Symbol 2053 MovieClip "e_20" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 20;
spawn_min = 14;
spawn_max = 23;
}
Instance of Symbol 2116 MovieClip "spawn_10" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_18 = 2;
canposi_19 = 2;
canposi_20 = 2;
}
Instance of Symbol 2055 MovieClip "spot_12" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_11 = 2;
canposi_13 = 2;
canposi_14 = 2;
}
Instance of Symbol 2055 MovieClip "spot_14" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_11 = 2;
canposi_12 = 2;
canposi_13 = 2;
canposi_15 = 2;
canposi_16 = 2;
canposi_17 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_6" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_11 = 2;
canposi_12 = 2;
canposi_13 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_8" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_14 = 2;
canposi_15 = 2;
canposi_16 = 2;
canposi_17 = 2;
}
Instance of Symbol 2055 MovieClip "spot_16" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_15 = 2;
canposi_17 = 2;
}
Instance of Symbol 2055 MovieClip "spot_17" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_14 = 2;
canposi_15 = 2;
canposi_16 = 2;
canposi_18 = 2;
canposi_19 = 2;
}
Instance of Symbol 2055 MovieClip "spot_13" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_11 = 2;
canposi_12 = 2;
canposi_14 = 2;
canposi_15 = 2;
canposi_16 = 2;
canposi_17 = 2;
}
Instance of Symbol 2055 MovieClip "spot_18" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_17 = 2;
canposi_19 = 2;
}
Instance of Symbol 2055 MovieClip "spot_19" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_17 = 2;
canposi_18 = 2;
canposi_20 = 2;
canposi_21 = 2;
}
Instance of Symbol 2055 MovieClip "spot_15" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_11 = 2;
canposi_12 = 2;
canposi_13 = 2;
canposi_14 = 2;
canposi_16 = 2;
canposi_17 = 2;
}
Instance of Symbol 2055 MovieClip "spot_11" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_12 = 2;
canposi_13 = 2;
canposi_14 = 2;
}
Instance of Symbol 2055 MovieClip "spot_20" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_18 = 2;
canposi_19 = 2;
canposi_21 = 2;
canposi_22 = 2;
}
Instance of Symbol 2055 MovieClip "spot_21" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_17 = 2;
canposi_18 = 2;
canposi_19 = 2;
canposi_21 = 2;
}
Instance of Symbol 2055 MovieClip "spot_22" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_19 = 2;
canposi_20 = 2;
canposi_21 = 2;
canposi_23 = 2;
canposi_24 = 2;
}
Instance of Symbol 2055 MovieClip "spot_23" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_22 = 2;
canposi_24 = 2;
}
Instance of Symbol 2055 MovieClip "spot_24" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_22 = 2;
canposi_23 = 2;
canposi_25 = 2;
}
Instance of Symbol 2055 MovieClip "spot_25" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_23 = 2;
canposi_24 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_7" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_11 = 2;
canposi_12 = 2;
canposi_13 = 2;
canposi_14 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_9" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_18 = 2;
canposi_19 = 2;
canposi_20 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_11" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_19 = 2;
canposi_20 = 2;
canposi_21 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_12" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_24 = 2;
canposi_25 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_13" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_22 = 2;
canposi_23 = 2;
canposi_24 = 2;
canposi_25 = 2;
}
Instance of Symbol 2053 MovieClip "e_11" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 11;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_12" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 12;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_13" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 13;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_14" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 14;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_15" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 15;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_6" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_7" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_8" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_9" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_10" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
spawn_min = 6;
spawn_max = 13;
}
Instance of Symbol 2053 MovieClip "e_26" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 26;
posi = random(3) + 11;
civil = 2;
}
Instance of Symbol 2053 MovieClip "e_27" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 27;
posi = random(3) + 14;
civil = 2;
}
Instance of Symbol 2053 MovieClip "e_28" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 28;
posi = random(3) + 18;
civil = 2;
}
Instance of Symbol 2053 MovieClip "e_29" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 29;
posi = random(5) + 21;
civil = 2;
}
Instance of Symbol 2053 MovieClip "e_30" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 30;
posi = 17;
civil = 3;
}
Instance of Symbol 2055 MovieClip "spot_1" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_2 = 2;
canposi_3 = 2;
canposi_4 = 2;
}
Instance of Symbol 2055 MovieClip "spot_4" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_2 = 2;
canposi_3 = 2;
canposi_5 = 2;
canposi_6 = 2;
}
Instance of Symbol 2055 MovieClip "spot_2" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_1 = 2;
canposi_3 = 2;
canposi_4 = 2;
}
Instance of Symbol 2055 MovieClip "spot_3" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_1 = 2;
canposi_2 = 2;
canposi_4 = 2;
}
Instance of Symbol 2055 MovieClip "spot_5" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_4 = 2;
canposi_6 = 2;
}
Instance of Symbol 2055 MovieClip "spot_7" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_5 = 2;
canposi_6 = 2;
canposi_8 = 2;
canposi_9 = 2;
}
Instance of Symbol 2055 MovieClip "spot_8" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_7 = 2;
canposi_9 = 2;
}
Instance of Symbol 2055 MovieClip "spot_10" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_8 = 2;
canposi_9 = 2;
}
Instance of Symbol 2055 MovieClip "spot_6" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_4 = 2;
canposi_5 = 2;
canposi_7 = 2;
canposi_8 = 2;
}
Instance of Symbol 2055 MovieClip "spot_9" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
canposi_8 = 2;
canposi_10 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_1" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_1 = 2;
canposi_2 = 2;
canposi_3 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_4" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_6 = 2;
canposi_7 = 2;
canposi_8 = 2;
canposi_9 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_5" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_8 = 2;
canposi_9 = 2;
canposi_10 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_3" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_7 = 2;
canposi_8 = 2;
canposi_9 = 2;
}
Instance of Symbol 2116 MovieClip "spawn_2" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
standhere = 1;
canposi_2 = 2;
canposi_3 = 2;
canposi_4 = 2;
canposi_5 = 2;
}
Instance of Symbol 2053 MovieClip "e_1" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
spawn_min = 1;
spawn_max = 5;
}
Instance of Symbol 2053 MovieClip "e_2" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
spawn_min = 1;
spawn_max = 5;
}
Instance of Symbol 2053 MovieClip "e_3" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
spawn_min = 1;
spawn_max = 5;
}
Instance of Symbol 2053 MovieClip "e_4" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
spawn_min = 1;
spawn_max = 5;
}
Instance of Symbol 2053 MovieClip "e_5" in Symbol 2311 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
spawn_min = 1;
spawn_max = 5;
}
Symbol 2312 MovieClip Frame 1
gotoAndStop(_root.lvl + 1);
Instance of Symbol 2080 MovieClip "test2" in Symbol 2312 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_root.test2._x - _parent._x);
_y = (_root.test2._y - _parent._y);
}
Instance of Symbol 2082 MovieClip "test1" in Symbol 2312 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_root.miree._x - _parent._x);
_y = (_root.miree._y - _parent._y);
}
Instance of Symbol 2089 MovieClip in Symbol 2312 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 2089 MovieClip in Symbol 2312 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 2089 MovieClip in Symbol 2312 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 2089 MovieClip in Symbol 2312 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 2089 MovieClip in Symbol 2312 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 2089 MovieClip in Symbol 2312 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 2089 MovieClip in Symbol 2312 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 2089 MovieClip in Symbol 2312 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
}
Instance of Symbol 2089 MovieClip in Symbol 2312 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
}
Instance of Symbol 2089 MovieClip in Symbol 2312 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
}
Instance of Symbol 2089 MovieClip in Symbol 2312 MovieClip Frame 1
onClipEvent (load) {
nb = 11;
}
Instance of Symbol 2089 MovieClip in Symbol 2312 MovieClip Frame 1
onClipEvent (load) {
nb = 12;
}
Instance of Symbol 2089 MovieClip in Symbol 2312 MovieClip Frame 1
onClipEvent (load) {
nb = 13;
}
Instance of Symbol 2089 MovieClip in Symbol 2312 MovieClip Frame 1
onClipEvent (load) {
nb = 14;
}
Instance of Symbol 2089 MovieClip in Symbol 2312 MovieClip Frame 1
onClipEvent (load) {
nb = 15;
}
Instance of Symbol 2089 MovieClip in Symbol 2312 MovieClip Frame 1
onClipEvent (load) {
nb = 16;
}
Instance of Symbol 2089 MovieClip in Symbol 2312 MovieClip Frame 1
onClipEvent (load) {
nb = 17;
}
Instance of Symbol 2089 MovieClip in Symbol 2312 MovieClip Frame 1
onClipEvent (load) {
nb = 18;
}
Instance of Symbol 2089 MovieClip in Symbol 2312 MovieClip Frame 1
onClipEvent (load) {
nb = 19;
}
Instance of Symbol 2089 MovieClip in Symbol 2312 MovieClip Frame 1
onClipEvent (load) {
nb = 20;
}
Symbol 2314 MovieClip Frame 1
_visible = false;
Symbol 2331 MovieClip Frame 1
spawned = 0;
killed = 0;
on_stage = 0;
progaff = "";
on_stage_limit = 10;
to_spawn = 10 + random(10);
posi_stade_timer_st = 750;
posi_stade_timer = posi_stade_timer_st;
starting_enemies_nb = random(4) + 3;
starting_enemies_stade = 1;
starting_enemies_timeout_st = 150;
starting_enemies_timeout = starting_enemies_timeout_st;
_visible = false;
stop();
onEnterFrame = function () {
da_frame = _currentframe;
if (_root.pausedd == 1) {
if (starting_enemies_nb > 0) {
if (starting_enemies_stade == 1) {
trace("stade 1");
aa = random(15) + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + aa) + ".die") == 2) {
spawn_spot = random((eval (("_root.cnt.boxx1.boxx2.e_" + aa) + ".spawn_max") - eval (("_root.cnt.boxx1.boxx2.e_" + aa) + ".spawn_min")) + 1) + eval (("_root.cnt.boxx1.boxx2.e_" + aa) + ".spawn_min");
starting_enemies_stade = 2;
starting_enemies_timeout = starting_enemies_timeout_st;
}
}
if (starting_enemies_stade == 2) {
trace("stade 2");
random_canposi = random(50) + 1;
if (eval ((("_root.cnt.boxx1.boxx2.spawn_" + spawn_spot) + ".canposi_") + random_canposi) != undefined) {
Set(("_root.cnt.boxx1.boxx2.e_" + aa) + "._x", eval (("_root.cnt.boxx1.boxx2.spawn_" + spawn_spot) + "._x"));
Set(("_root.cnt.boxx1.boxx2.e_" + aa) + "._y", eval (("_root.cnt.boxx1.boxx2.spawn_" + spawn_spot) + "._y"));
Set(("_root.cnt.boxx1.boxx2.e_" + aa) + "._xscale", eval (("_root.cnt.boxx1.boxx2.spawn_" + spawn_spot) + "._xscale"));
Set(("_root.cnt.boxx1.boxx2.e_" + aa) + "._yscale", eval (("_root.cnt.boxx1.boxx2.e_" + aa) + "._xscale"));
Set(("_root.cnt.boxx1.boxx2.e_" + aa) + ".sedeplace", random(2) + 1);
eval ("_root.cnt.boxx1.boxx2.e_" + aa).gotoAndStop(1);
eval ("_root.cnt.boxx1.boxx2.e_" + aa).gotoAndStop(2);
on_stage = on_stage + 1;
spawned = spawned + 1;
starting_enemies_nb = starting_enemies_nb - 1;
starting_enemies_stade = 1;
} else if (starting_enemies_timeout > 0) {
starting_enemies_timeout = starting_enemies_timeout - 1;
} else {
starting_enemies_stade = 1;
}
}
} else {
if (_root.act == 1) {
if (_currentframe == 1) {
trace("START WAVE ----------------------------");
gotoAndPlay (450);
}
}
if ((_currentframe > 3) && (_currentframe < 498)) {
play();
}
}
} else if ((_currentframe > 3) && (_currentframe < 498)) {
stop();
}
};
Symbol 2331 MovieClip Frame 2
play();
Symbol 2331 MovieClip Frame 498
play();
Symbol 2331 MovieClip Frame 500
if (((middlecall != 2) && (spawned >= 6)) && (_root.hostile == 2)) {
middlecall = 2;
_root.music_mc.snd.voices.gotoAndStop(1);
_root.music_mc.snd.voices.gotoAndStop((120 + random(8)) + 1);
}
trace("(randomize enemy)");
aa = random(20) + 1;
if ((eval (("_root.cnt.boxx1.boxx2.e_" + aa) + ".die") == 2) && (on_stage < on_stage_limit)) {
spawn_spot = random((eval (("_root.cnt.boxx1.boxx2.e_" + aa) + ".spawn_max") - eval (("_root.cnt.boxx1.boxx2.e_" + aa) + ".spawn_min")) + 1) + eval (("_root.cnt.boxx1.boxx2.e_" + aa) + ".spawn_min");
trace("spawn_spot: " + spawn_spot);
if (eval (("_root.cnt.boxx1.boxx2.spawn_" + spawn_spot) + ".standhere") == 2) {
Set(("_root.cnt.boxx1.boxx2.e_" + aa) + ".reach_spot", 0);
progboxx.act = 3;
trace("action: stand");
} else {
progboxx.act = 2;
trace("action: move");
}
stop();
} else {
gotoAndPlay (498);
}
Instance of Symbol 584 MovieClip "progboxx" in Symbol 2331 MovieClip Frame 500
onClipEvent (load) {
timeout = 200;
}
onClipEvent (enterFrame) {
if (act == 2) {
random_canposi = random(50) + 1;
if (eval ((("_root.cnt.boxx1.boxx2.spawn_" + _parent.spawn_spot) + ".canposi_") + random_canposi) != undefined) {
act = 3;
_parent.progaff = "";
} else if (timeout > 0) {
timeout = timeout - 1;
_parent.progaff = "loop";
} else {
_parent.progaff = "out";
_parent.gotoAndPlay(480);
}
}
if (act == 3) {
act = 1;
Set(("_root.cnt.boxx1.boxx2.e_" + _parent.aa) + "._x", eval (("_root.cnt.boxx1.boxx2.spawn_" + _parent.spawn_spot) + "._x"));
Set(("_root.cnt.boxx1.boxx2.e_" + _parent.aa) + "._y", eval (("_root.cnt.boxx1.boxx2.spawn_" + _parent.spawn_spot) + "._y"));
Set(("_root.cnt.boxx1.boxx2.e_" + _parent.aa) + "._xscale", eval (("_root.cnt.boxx1.boxx2.spawn_" + _parent.spawn_spot) + "._xscale"));
Set(("_root.cnt.boxx1.boxx2.e_" + _parent.aa) + "._yscale", eval (("_root.cnt.boxx1.boxx2.e_" + _parent.aa) + "._xscale"));
if (random_canposi == undefined) {
Set(("_root.cnt.boxx1.boxx2.e_" + _parent.aa) + ".sedeplace", 1);
Set(("_root.cnt.boxx1.boxx2.e_" + _parent.aa) + ".reach_spot", 0);
} else {
Set(("_root.cnt.boxx1.boxx2.e_" + _parent.aa) + ".sedeplace", 2);
Set(("_root.cnt.boxx1.boxx2.e_" + _parent.aa) + ".reach_spot", random_canposi);
}
eval ("_root.cnt.boxx1.boxx2.e_" + _parent.aa).gotoAndStop(1);
eval ("_root.cnt.boxx1.boxx2.e_" + _parent.aa).gotoAndStop(2);
_parent.on_stage = _parent.on_stage + 1;
_parent.spawned = _parent.spawned + 1;
trace("enemy generated : " + _parent.aa);
trace("on stage : " + _parent.on_stage);
trace("spawned : " + _parent.spawned);
if (_parent.spawned >= _parent.to_spawn) {
trace("all enemies spawend >>END<<");
_parent.gotoAndStop(501);
} else {
trace("gen go play start <<<");
goframe = (random((10 - _root.lvl2) * 25) + 4) + 250;
if (goframe > 495) {
goframe = 495;
}
_parent.gotoAndPlay(goframe);
}
}
}
Symbol 2331 MovieClip Frame 501
stop();
onEnterFrame = function () {
da_frame = "END";
if (_root.pausedd == 1) {
if (_root.act == 1) {
if (((killed + 2) >= to_spawn) || (on_stage <= 2)) {
_root.act = 2;
_root.music_mc.muz_mc.gotoAndStop(_root.muz + 20);
_root.muz = 1;
_root.music_mc.muz_mc.muz = _root.muz;
_root.music_mc.muz_mc.gotoAndStop(_root.muz + 1);
_root.interr.fondu.gotoAndPlay(2);
_root.music_mc.snd.divers.gotoAndStop(1);
_root.music_mc.snd.divers.gotoAndStop(3);
_root.muz_force = 0;
go_muz = 2;
enemynb = 0;
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
enemynb = enemynb + 1;
if (eval (("_root.cnt.boxx1.boxx2.e_" + enemynb) + ".die") == 1) {
eval ("_root.cnt.boxx1.boxx2.e_" + enemynb).gotoAndStop(1);
}
}
} else if (go_muz == 2) {
if (_root.muz_force < 100) {
_root.muz_force = _root.muz_force + 1;
} else {
go_muz = 1;
}
}
}
};
Symbol 2338 MovieClip Frame 1
stop();
Symbol 2338 MovieClip Frame 10
stop();
Symbol 2338 MovieClip Frame 20
gotoAndStop (1);
Symbol 2341 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_parent.boxx._currentframe);
};
Symbol 2345 MovieClip Frame 1
stop();
Symbol 2345 MovieClip Frame 10
stop();
Symbol 2345 MovieClip Frame 20
gotoAndStop (1);
Symbol 2347 MovieClip Frame 1
stop();
Symbol 2347 MovieClip Frame 10
stop();
Symbol 2347 MovieClip Frame 20
gotoAndStop (1);
Symbol 2348 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_parent.boxx._currentframe);
};
Symbol 2352 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_parent.boxx._currentframe);
};
Symbol 2356 MovieClip Frame 1
stop();
Symbol 2356 MovieClip Frame 10
stop();
Symbol 2356 MovieClip Frame 20
gotoAndStop (1);
Symbol 2366 MovieClip Frame 1
gotoAndPlay(_parent.materiaux * 2);
Symbol 2366 MovieClip Frame 3
stop();
Symbol 2366 MovieClip Frame 5
stop();
Symbol 2367 MovieClip Frame 1
_visible = false;
stop();
Symbol 2367 MovieClip Frame 2
_rotation = (random(30) - 15);
boxx.gotoAndStop(douille);
_visible = true;
Symbol 2367 MovieClip Frame 50
stop();
Symbol 2374 MovieClip Frame 1
stop();
onEnterFrame = function () {
boxx._x = _root.miree._x * -1;
boxx._y = _root.miree._y * -1;
boxx._alpha = ((_root.miree._y * 50) / 440) + 50;
};
Symbol 2376 MovieClip Frame 1
stop();
Symbol 2376 MovieClip Frame 10
stop();
Symbol 2376 MovieClip Frame 20
gotoAndStop (1);
Symbol 2376 MovieClip Frame 21
play();
Instance of Symbol 2346 MovieClip "boxx" in Symbol 2378 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.out_of_ammo == 2) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 2367 MovieClip "douille" in Symbol 2378 MovieClip Frame 126
onClipEvent (load) {
douille = 4;
materiaux = 1;
}
Symbol 2386 MovieClip Frame 1
gotoAndStop (2);
Symbol 2386 MovieClip Frame 2
_alpha = 100;
_x = (random(80) - 40);
_y = (random(40) - 20);
_xscale = (random(50) + 75);
_yscale = _xscale;
boxx._rotation = random(30) - 15;
aa = random(2) + 1;
if (aa == 2) {
_yscale = (_yscale * -1);
}
_root.interr.fireblast._alpha = random(50) + 50;
stop();
onEnterFrame = function () {
if (_alpha > 0) {
_alpha = (_alpha - 12);
}
_xscale = (_xscale * 0.8);
_yscale = (_yscale * 0.8);
};
Symbol 2388 MovieClip Frame 1
stop();
Symbol 2388 MovieClip Frame 2
fireblast.boxx.gotoAndStop(1);
fireblast.boxx.gotoAndStop(2);
play();
Symbol 2391 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 2390 MovieClip in Symbol 2391 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 2390 MovieClip in Symbol 2391 MovieClip Frame 5
onClipEvent (load) {
_root.music_mc.snd.gun.gotoAndStop(1);
_root.music_mc.snd.gun.gotoAndStop(104);
}
Instance of Symbol 2390 MovieClip in Symbol 2391 MovieClip Frame 47
onClipEvent (load) {
_root.weapon_sr = _root.weapon_sr - 10;
_root.music_mc.snd.gun.gotoAndStop(1);
_root.music_mc.snd.gun.gotoAndStop(105);
}
Instance of Symbol 2390 MovieClip in Symbol 2391 MovieClip Frame 96
onClipEvent (load) {
_root.weapon_sr = _root.weapon_sr + 20;
_root.music_mc.snd.gun.gotoAndStop(1);
_root.music_mc.snd.gun.gotoAndStop(106);
}
Symbol 2392 MovieClip Frame 1
stop();
onEnterFrame = function () {
point = new Object();
point.x = 0;
point.y = 0;
pointx = localToGlobal(point);
_root.boomx1 = point.x;
_root.boomy1 = point.y;
};
Symbol 2395 MovieClip Frame 1
stop();
Symbol 2395 MovieClip Frame 2
fireblast.boxx.gotoAndStop(1);
fireblast.boxx.gotoAndStop(2);
play();
Symbol 2398 MovieClip Frame 1
stop();
Symbol 2398 MovieClip Frame 2
fireblast.boxx.gotoAndStop(1);
fireblast.boxx.gotoAndStop(2);
play();
Symbol 2401 MovieClip Frame 1
stop();
Symbol 2401 MovieClip Frame 2
fireblast.boxx.gotoAndStop(1);
fireblast.boxx.gotoAndStop(2);
play();
Symbol 2402 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 2390 MovieClip in Symbol 2402 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 2390 MovieClip in Symbol 2402 MovieClip Frame 5
onClipEvent (load) {
_root.weapon._rotation = _root.weapon._rotation + 15;
_root.music_mc.snd.gun.gotoAndStop(1);
_root.music_mc.snd.gun.gotoAndStop(101);
}
Instance of Symbol 2390 MovieClip in Symbol 2402 MovieClip Frame 36
onClipEvent (load) {
_root.weapon.boxx.boxx.barrel.gotoAndStop(2);
_root.weapon._rotation = _root.weapon._rotation + 15;
_root.music_mc.snd.gun.gotoAndStop(1);
_root.music_mc.snd.gun.gotoAndStop(102);
}
Instance of Symbol 2390 MovieClip in Symbol 2402 MovieClip Frame 65
onClipEvent (load) {
_root.weapon.boxx.boxx.barrel.gotoAndStop(3);
_root.weapon._rotation = _root.weapon._rotation + 15;
_root.music_mc.snd.gun.gotoAndStop(1);
_root.music_mc.snd.gun.gotoAndStop(102);
}
Instance of Symbol 2390 MovieClip in Symbol 2402 MovieClip Frame 96
onClipEvent (load) {
_root.weapon_sr = _root.weapon_sr - 20;
_root.music_mc.snd.gun.gotoAndStop(1);
_root.music_mc.snd.gun.gotoAndStop(103);
}
Symbol 2408 MovieClip Frame 7
stop();
Symbol 2409 MovieClip Frame 1
_visible = false;
stop();
Symbol 2409 MovieClip Frame 2
_visible = true;
stop();
Symbol 2410 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.reload_act == 2) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Symbol 2411 MovieClip Frame 1
stop();
Symbol 2411 MovieClip Frame 2
fireblast.boxx.gotoAndStop(1);
fireblast.boxx.gotoAndStop(2);
play();
Symbol 2414 MovieClip Frame 1
stop();
Symbol 2414 MovieClip Frame 2
fireblast.boxx.gotoAndStop(1);
fireblast.boxx.gotoAndStop(2);
play();
Symbol 2417 MovieClip Frame 1
stop();
Symbol 2417 MovieClip Frame 2
fireblast.boxx.gotoAndStop(1);
fireblast.boxx.gotoAndStop(2);
play();
Instance of Symbol 2367 MovieClip "douille" in Symbol 2418 MovieClip Frame 20
onClipEvent (load) {
douille = 1;
materiaux = 1;
}
Instance of Symbol 2367 MovieClip "douille" in Symbol 2418 MovieClip Frame 22
onClipEvent (load) {
douille = 2;
materiaux = 1;
}
Instance of Symbol 2367 MovieClip "douille" in Symbol 2418 MovieClip Frame 25
onClipEvent (load) {
douille = 3;
materiaux = 2;
}
Instance of Symbol 2367 MovieClip "douille" in Symbol 2418 MovieClip Frame 26
onClipEvent (load) {
douille = 4;
materiaux = 1;
}
Symbol 2422 MovieClip Frame 1
speedx = random(20) - 10;
speedy = random(20) - 10;
speedr = random(20) - 10;
_xscale = (random(80) + 20);
_yscale = _xscale;
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
_rotation = (_rotation + speedr);
speedx = speedx * 0.9;
if (speedy < -0.5) {
speedy = speedy * 0.9;
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * 1.1;
}
speedr = speedr * 0.95;
};
Symbol 2423 MovieClip Frame 50
stop();
Symbol 2425 MovieClip Frame 1
_x = (random(20) - 10);
_y = (random(20) - 10);
_xscale = (random(80) + 20);
_yscale = (random(80) + 20);
_rotation = (random(360) + 1);
_alpha = 50;
stop();
onEnterFrame = function () {
if (_alpha > 0) {
_xscale = (_xscale + 5);
_yscale = (_yscale + 5);
_alpha = (_alpha - 5);
}
};
Symbol 2426 MovieClip Frame 1
_visible = false;
stop();
Symbol 2426 MovieClip Frame 2
_visible = true;
stop();
Symbol 2431 MovieClip Frame 201
_parent.gotoAndStop(3);
Symbol 2432 Button
on (press) {
_root.auto_reload_go = 2;
_root.from_nomunition = 2;
gotoAndStop (1);
}
on (rollOver) {
gotoAndStop (4);
}
on (rollOut) {
gotoAndStop (3);
}
Symbol 2433 MovieClip Frame 1
_visible = false;
stop();
Symbol 2433 MovieClip Frame 2
_visible = true;
item_typee = eval ("_root.wp_munition_" + _root.wp);
item_kind = 9;
item_qty = eval ("_root.permag_" + _root.wp);
stop();
Symbol 2433 MovieClip Frame 3
boxx.gotoAndStop(item_typee);
boxx.qty = item_qty;
_root.auto_reload_go = 2;
_root.from_nomunition = 2;
gotoAndStop (1);
Symbol 2435 MovieClip Frame 1
stop();
Symbol 2444 MovieClip Frame 1
stop();
Symbol 2449 MovieClip Frame 1
stop();
Symbol 2455 MovieClip Frame 1
stop();
Instance of Symbol 2455 MovieClip in Symbol 2456 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent._parent.typee2);
}
Symbol 2463 MovieClip Frame 1
stop();
Symbol 2468 MovieClip Frame 1
stop();
Symbol 2476 MovieClip Frame 1
stop();
Symbol 2479 MovieClip Frame 1
stop();
Symbol 2484 MovieClip Frame 1
stop();
Symbol 2489 MovieClip Frame 1
stop();
Symbol 2491 MovieClip Frame 1
stop();
Symbol 2493 MovieClip Frame 1
play();
Symbol 2493 MovieClip Frame 100
gotoAndPlay (1);
Symbol 2497 MovieClip Frame 1
gotoAndStop(_root.lvl);
Instance of Symbol 2433 MovieClip "ammoclip" in Symbol 2497 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Symbol 2500 MovieClip Frame 1
stop();
onEnterFrame = function () {
_rotation = (_rotation - 4);
};
Symbol 2501 MovieClip Frame 1
_root.onitem = 1;
_visible = false;
stop();
onEnterFrame = function () {
_x = _root.pointitemx;
_y = _root.pointitemy;
if (_root.onitem == 2) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 2503 MovieClip Frame 1
_visible = false;
stop();
Symbol 2503 MovieClip Frame 2
_visible = true;
play();
Instance of Symbol 339 MovieClip "elementplus" in Symbol 2503 MovieClip Frame 2
onClipEvent (load) {
boxx2.gotoAndStop(2);
}
Symbol 2504 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.ob_taken_stage_go == 2) {
_root.ob_taken_stage_go = 1;
if ((_root._xmouse > 400) || (_root.ob_taken_stage_kind == 9)) {
_x = 200;
} else {
_x = 600;
}
_root.music_mc.snd.ele.gotoAndStop(1);
_root.music_mc.snd.ele.gotoAndStop(_root.ob_taken_stage_kind + 1);
call_aa = random(15) + 1;
call_random = random(5) + 101;
if (_root.ob_taken_stage_typee == 19) {
call_aa = 1;
call_random = 106;
}
if (call_random == 1) {
_root.music_mc.snd.voices.gotoAndStop(1);
_root.music_mc.snd.voices.gotoAndStop(call_random);
}
_root.st_items_found = _root.st_items_found + 1;
boxx.gotoAndStop(1);
boxx.gotoAndPlay(2);
boxx.boxx.qty = _root.ob_taken_stage_qty;
boxx.boxx.gotoAndStop(_root.ob_taken_stage_typee);
boxx.elementplus.txx = "+ " + _root.ob_taken_stage_value;
boxx.elementplus.boxx.iconn = _root.ob_taken_stage_kind;
if (_root.ob_taken_stage_kind > 6) {
boxx.elementplus._visible = false;
} else {
boxx.elementplus._visible = true;
}
boxx.aff = _root.ob_taken_stage_name;
}
};
Instance of Symbol 383 MovieClip "btmain_1" in Symbol 2508 MovieClip Frame 1
onClipEvent (load) {
iconn = 11;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_root.cnt.canleave_place == 2) {
_root.cnt.canleave_place = 1;
_root.pausedd = 2;
_root.interr.pausee_menuu.gotoAndStop(22);
} else {
_root.got2go = 2;
}
}
}
Symbol 2509 MovieClip Frame 1
gotoAndPlay (2);
Symbol 2509 MovieClip Frame 134
stop();
Symbol 2510 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (((_root.act == 2) && (_root.pausedd == 1)) && (_root.interr.pausee_menuu._currentframe == 1)) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
};
if (loaded != 2) {
loaded = 2;
gotoAndStop (2);
}
Symbol 2513 MovieClip Frame 1
stop();
onEnterFrame = function () {
_alpha = (50 - (_root.energy / 2));
};
Symbol 2515 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_alpha > 0) {
_alpha = (_alpha - 25);
}
};
Symbol 2526 MovieClip Frame 1
gotoAndStop (2);
Symbol 2528 MovieClip Frame 1
_visible = false;
Symbol 2529 MovieClip Frame 1
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 2
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 3
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 4
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 5
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 6
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 7
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 8
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 9
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 10
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 11
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 12
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 13
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 14
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 15
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 16
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 17
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 18
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 19
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 20
case_width = 2;
case_height = 2;
Symbol 2529 MovieClip Frame 21
case_width = 3;
case_height = 2;
Symbol 2529 MovieClip Frame 22
case_width = 3;
case_height = 2;
Symbol 2529 MovieClip Frame 23
case_width = 4;
case_height = 2;
Symbol 2529 MovieClip Frame 24
case_width = 3;
case_height = 2;
Symbol 2529 MovieClip Frame 25
case_width = 4;
case_height = 2;
Symbol 2529 MovieClip Frame 26
case_width = 5;
case_height = 2;
Symbol 2529 MovieClip Frame 27
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 28
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 29
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 30
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 31
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 32
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 33
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 34
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 35
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 36
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 37
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 38
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 39
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 40
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 41
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 42
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 43
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 44
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 45
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 46
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 47
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 48
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 49
case_width = 2;
case_height = 2;
stop();
Symbol 2529 MovieClip Frame 50
case_width = 2;
case_height = 2;
stop();
Symbol 2533 MovieClip Frame 1
stop();
Symbol 2536 MovieClip Frame 1
stop();
Symbol 2540 MovieClip Frame 1
aff = nb + ":";
stop();
onEnterFrame = function () {
boxx.gotoAndStop(eval ("_root.wp_typee_" + nb));
if (eval ("_root.wp_" + nb) != 0) {
if (_root.wp == nb) {
gotoAndStop (3);
if (wpb != _root.wp) {
wpb = _root.wp;
casee.gotoAndPlay(2);
}
} else {
wpb = 0;
if (eval ("_root.wp_ammo_" + nb) <= 0) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
} else {
_visible = false;
}
};
Symbol 2541 MovieClip Frame 1
stop();
onEnterFrame = function () {
boxx.gotoAndStop(_root.wp_typee);
if (_root.ammo > 10) {
boxx2.gotoAndStop(1);
} else {
boxx2.gotoAndStop(2);
}
boxx3.boxx1.gotoAndStop(_root.mag + 1);
boxx3.maskk.gotoAndStop(_root.mag + 1);
boxx3.boxx2.maskk.gotoAndStop(eval ("_root.permag_" + _root.wp));
if ((_root.act == 1) && (_root.energy > 0)) {
_visible = true;
} else {
_visible = false;
}
};
Instance of Symbol 2540 MovieClip in Symbol 2541 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 2540 MovieClip in Symbol 2541 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 2540 MovieClip in Symbol 2541 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 339 MovieClip in Symbol 2542 MovieClip Frame 1
onClipEvent (load) {
txx = _root.stones;
boxx.iconn = 6;
boxx2.gotoAndStop(2);
}
onClipEvent (enterFrame) {
txx = _root.stones;
boxx.iconn = 6;
boxx2.gotoAndStop(2);
}
Instance of Symbol 339 MovieClip in Symbol 2542 MovieClip Frame 1
onClipEvent (load) {
txx = _root.armor;
boxx.iconn = 7;
boxx2.gotoAndStop(2);
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.armor <= 0) {
_visible = false;
} else {
_visible = true;
}
txx = _root.armor;
boxx.iconn = 7;
boxx2.gotoAndStop(2);
}
Instance of Symbol 340 MovieClip in Symbol 2542 MovieClip Frame 1
onClipEvent (enterFrame) {
sy = 309;
if (ob2.element_ob == 0) {
sy = sy + 40;
}
if (ob3.element_ob == 0) {
sy = sy + 40;
}
_y = sy;
}
Symbol 2549 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((_root.act == 1) && (_root.energy > 0)) {
_visible = true;
} else {
_visible = false;
}
};
Instance of Symbol 2544 MovieClip in Symbol 2549 MovieClip Frame 1
onClipEvent (enterFrame) {
sx = -40 + (_root.posi_stade * 20);
speedx = (sx - _x) * 0.1;
if ((_x < (sx - 0.1)) || (_x > (sx + 0.1))) {
_x = (_x + speedx);
}
}
Instance of Symbol 2544 MovieClip in Symbol 2549 MovieClip Frame 1
onClipEvent (enterFrame) {
sy = 20 - (_root.zoomed * 20);
speedy = (sy - _y) * 0.1;
if ((_y < (sy - 0.1)) || (_y > (sy + 0.1))) {
_y = (_y + speedy);
}
}
Symbol 2552 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
if (((_root.out_of_ammo == 2) && (_root.reload_act != 2)) && (_root.act == 1)) {
_visible = true;
if (_currentframe == 1) {
gotoAndPlay (2);
}
} else {
_visible = false;
gotoAndStop (1);
}
};
Symbol 2552 MovieClip Frame 2
play();
Symbol 2552 MovieClip Frame 40
gotoAndPlay (2);
Symbol 2553 MovieClip Frame 1
tuto_between_timer_st = 75;
tuto_between_timer = tuto_between_timer_st;
stop();
onEnterFrame = function () {
if (_root.pausedd == 1) {
if (tuto_between_timer > 0) {
tuto_between_timer = tuto_between_timer - 1;
} else {
wich_tuto = 1;
if (eval ("_root.tuto_" + wich_tuto) != 2) {
if (_currentframe == 1) {
gotoAndStop(wich_tuto + 10);
}
if ((_currentframe == (wich_tuto + 10)) && (timer_between_timer <= 0)) {
if (_root.zoomed >= 1) {
Set("_root.tuto_" + wich_tuto, 2);
tuto_between_timer = tuto_between_timer_st;
gotoAndStop (1);
}
}
}
wich_tuto = 12;
if ((eval ("_root.tuto_" + wich_tuto) != 2) && (_root.tuto_1 == 2)) {
if (_currentframe == 1) {
gotoAndStop(wich_tuto + 10);
}
if ((_currentframe == (wich_tuto + 10)) && (timer_between_timer <= 0)) {
if (_root.posi_stade != 2) {
Set("_root.tuto_" + wich_tuto, 2);
tuto_between_timer = tuto_between_timer_st;
gotoAndStop (1);
}
}
}
wich_tuto = 2;
if ((eval ("_root.tuto_" + wich_tuto) != 2) && (_root.tuto_12 == 2)) {
if (_currentframe == 1) {
gotoAndStop(wich_tuto + 10);
}
if ((_currentframe == (wich_tuto + 10)) && (timer_between_timer <= 0)) {
if (_root.zoomed >= 2) {
Set("_root.tuto_" + wich_tuto, 2);
tuto_between_timer = tuto_between_timer_st;
gotoAndStop (1);
}
}
}
wich_tuto = 3;
if ((eval ("_root.tuto_" + wich_tuto) != 2) && (_root.tuto_2 == 2)) {
if (_currentframe == 1) {
gotoAndStop(wich_tuto + 10);
}
if ((_currentframe == (wich_tuto + 10)) && (timer_between_timer <= 0)) {
if (_root.zoomed <= 0) {
Set("_root.tuto_" + wich_tuto, 2);
tuto_between_timer = tuto_between_timer_st;
gotoAndStop (1);
}
}
}
wich_tuto = 4;
if (((eval ("_root.tuto_" + wich_tuto) != 2) && (_root.tuto_3 == 2)) && (_root.mag < (_root.permag / 2))) {
if (_currentframe == 1) {
gotoAndStop(wich_tuto + 10);
}
if ((_currentframe == (wich_tuto + 10)) && (timer_between_timer <= 0)) {
if (_root.reload_act == 2) {
Set("_root.tuto_" + wich_tuto, 2);
tuto_between_timer = tuto_between_timer_st;
gotoAndStop (1);
}
}
}
wich_tuto = 5;
if ((eval ("_root.tuto_" + wich_tuto) != 2) && (_root.tuto_4 == 2)) {
if (_currentframe == 1) {
tuto_timer_5 = 150;
gotoAndStop(wich_tuto + 10);
}
if ((_currentframe == (wich_tuto + 10)) && (timer_between_timer <= 0)) {
if (tuto_timer_5 > 0) {
tuto_timer_5 = tuto_timer_5 - 1;
} else {
Set("_root.tuto_" + wich_tuto, 2);
tuto_between_timer = tuto_between_timer_st;
gotoAndStop (1);
}
}
}
wich_tuto = 6;
if ((eval ("_root.tuto_" + wich_tuto) != 2) && (_root.tuto_5 == 2)) {
if (((_currentframe == 1) && (_root.energy <= 50)) && (_root.zoomed > 0)) {
gotoAndStop(wich_tuto + 10);
}
if ((_currentframe == (wich_tuto + 10)) && (timer_between_timer <= 0)) {
if (_root.zoomed <= 0) {
Set("_root.tuto_" + wich_tuto, 2);
tuto_between_timer = tuto_between_timer_st;
gotoAndStop (1);
}
}
}
wich_tuto = 26;
if ((eval ("_root.tuto_" + wich_tuto) != 2) && (_root.tuto_5 == 2)) {
if (_currentframe == 1) {
tuto_timer_26 = 200;
gotoAndStop(wich_tuto + 10);
}
if ((_currentframe == (wich_tuto + 10)) && (timer_between_timer <= 0)) {
if (tuto_timer_26 > 0) {
tuto_timer_26 = tuto_timer_26 - 1;
} else {
Set("_root.tuto_" + wich_tuto, 2);
tuto_between_timer = tuto_between_timer_st;
gotoAndStop (1);
}
}
}
wich_tuto = 7;
if ((eval ("_root.tuto_" + wich_tuto) != 2) && (_root.tuto_5 == 2)) {
if ((_currentframe == 1) && (_root.mag <= 0)) {
tuto_timer_7 = 220;
gotoAndStop(wich_tuto + 10);
}
if ((_currentframe == (wich_tuto + 10)) && (timer_between_timer <= 0)) {
if (tuto_timer_7 > 0) {
tuto_timer_7 = tuto_timer_7 - 1;
} else {
Set("_root.tuto_" + wich_tuto, 2);
tuto_between_timer = tuto_between_timer_st;
gotoAndStop (1);
}
}
}
wich_tuto = 8;
if (((eval ("_root.tuto_" + wich_tuto) != 2) && (_root.tuto_5 == 2)) && (_root.st_killed >= 8)) {
if (_currentframe == 1) {
tuto_timer_8 = 200;
gotoAndStop(wich_tuto + 10);
}
if ((_currentframe == (wich_tuto + 10)) && (timer_between_timer <= 0)) {
if (tuto_timer_8 > 0) {
tuto_timer_8 = tuto_timer_8 - 1;
} else {
Set("_root.tuto_" + wich_tuto, 2);
tuto_between_timer = tuto_between_timer_st;
gotoAndStop (1);
}
}
}
wich_tuto = 9;
if (((eval ("_root.tuto_" + wich_tuto) != 2) && (_root.tuto_5 == 2)) && (_root.tuto_9_paddedshot == 2)) {
if (_currentframe == 1) {
tuto_timer_5 = 150;
gotoAndStop(wich_tuto + 10);
}
if ((_currentframe == (wich_tuto + 10)) && (timer_between_timer <= 0)) {
if (_root.zoomed > 0) {
Set("_root.tuto_" + wich_tuto, 2);
tuto_between_timer = tuto_between_timer_st;
gotoAndStop (1);
}
}
}
wich_tuto = 10;
if ((eval ("_root.tuto_" + wich_tuto) != 2) && (_root.act == 2)) {
gotoAndStop(wich_tuto + 10);
if ((_currentframe == (wich_tuto + 10)) && (timer_between_timer <= 0)) {
if (tuto_timer_10 == undefined) {
tuto_timer_10 = 150;
}
if (tuto_timer_10 > 0) {
tuto_timer_10 = tuto_timer_10 - 1;
} else {
Set("_root.tuto_" + wich_tuto, 2);
tuto_between_timer = tuto_between_timer_st;
gotoAndStop (1);
}
}
}
}
}
wich_tuto = 11;
if (((eval ("_root.tuto_" + wich_tuto) != 2) && (_root.tuto_10 == 2)) && (_root.act == 2)) {
if (_currentframe == 1) {
gotoAndStop(wich_tuto + 10);
}
if ((_currentframe == (wich_tuto + 10)) && (timer_between_timer <= 0)) {
if ((((_root.interr.itemtaken.obtaken.boxx._currentframe > 1) || (_root.interr.pausee_menuu._currentframe == 12)) || (_root.interr.pausee_menuu._currentframe == 13)) || (_root.interr.pausee_menuu._currentframe == 14)) {
Set("_root.tuto_" + wich_tuto, 2);
tuto_between_timer = tuto_between_timer_st;
gotoAndStop (1);
}
}
}
};
Instance of Symbol 467 MovieClip in Symbol 2553 MovieClip Frame 11
onClipEvent (load) {
gotoAndStop (2);
}
Instance of Symbol 467 MovieClip in Symbol 2553 MovieClip Frame 12
onClipEvent (load) {
gotoAndStop (3);
}
Instance of Symbol 467 MovieClip in Symbol 2553 MovieClip Frame 13
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 467 MovieClip in Symbol 2553 MovieClip Frame 14
onClipEvent (load) {
gotoAndStop (4);
}
Instance of Symbol 467 MovieClip in Symbol 2553 MovieClip Frame 15
onClipEvent (load) {
gotoAndStop (5);
}
Instance of Symbol 467 MovieClip in Symbol 2553 MovieClip Frame 16
onClipEvent (load) {
gotoAndStop (6);
}
Instance of Symbol 467 MovieClip in Symbol 2553 MovieClip Frame 17
onClipEvent (load) {
gotoAndStop (7);
}
Instance of Symbol 467 MovieClip in Symbol 2553 MovieClip Frame 18
onClipEvent (load) {
gotoAndStop (8);
}
Instance of Symbol 467 MovieClip in Symbol 2553 MovieClip Frame 19
onClipEvent (load) {
gotoAndStop (9);
}
Instance of Symbol 467 MovieClip in Symbol 2553 MovieClip Frame 20
onClipEvent (load) {
gotoAndStop (10);
}
Instance of Symbol 467 MovieClip in Symbol 2553 MovieClip Frame 21
onClipEvent (load) {
gotoAndStop (11);
}
Instance of Symbol 467 MovieClip in Symbol 2553 MovieClip Frame 22
onClipEvent (load) {
gotoAndStop (20);
}
Instance of Symbol 467 MovieClip in Symbol 2553 MovieClip Frame 22
onClipEvent (load) {
gotoAndStop (21);
}
Instance of Symbol 467 MovieClip in Symbol 2553 MovieClip Frame 23
onClipEvent (load) {
gotoAndStop (26);
timer = 200;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer = timer - 1;
} else {
_root.tuto_26 = 2;
_parent.gotoAndStop(1);
}
}
Symbol 2555 Button
on (release) {
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(3);
gotoAndStop (2);
}
Symbol 2557 Button
on (release) {
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(6);
gotoAndStop (2);
}
Symbol 2558 Button
on (release) {
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(3);
_root.got2go = 2;
trace(_root.got2go);
}
Symbol 2563 MovieClip Frame 1
tete = _root.talking_tete;
chandail = _root.talking_chandail;
pants = _root.talking_pants;
bottes = _root.talking_bottes;
etuit = _root.talking_etuit;
pad1 = _root.talking_pad1;
pad2 = _root.talking_pad2;
pad3 = _root.talking_pad3;
pad4 = _root.talking_pad4;
Symbol 2565 MovieClip Frame 15
_root.music_mc.snd.voices.gotoAndStop(1);
_root.music_mc.snd.voices.gotoAndStop(110 + _root.lvl2);
stop();
Symbol 2570 MovieClip Frame 1
gotoAndStop(_root.lvl2);
Symbol 2575 Button
on (release) {
_root.got2go = 2;
}
Symbol 2577 Button
on (release) {
_root.got2go = 3;
}
Symbol 2581 MovieClip Frame 1
stop();
Symbol 2581 MovieClip Frame 2
Mouse.show();
Instance of Symbol 37 MovieClip in Symbol 2581 MovieClip Frame 2
onClipEvent (load) {
txx = "CONTINUE";
boxx1.gotoAndStop(3);
boxx2.gotoAndStop(3);
boxx3.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.pausedd = 1;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 37 MovieClip in Symbol 2581 MovieClip Frame 2
onClipEvent (load) {
txx = "OPTIONS";
boxx1.gotoAndStop(3);
boxx2.gotoAndStop(3);
boxx3.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(3);
}
}
Instance of Symbol 37 MovieClip in Symbol 2581 MovieClip Frame 2
onClipEvent (load) {
txx = "CAREER MENU";
boxx1.gotoAndStop(3);
boxx2.gotoAndStop(3);
boxx3.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(5);
}
}
Symbol 2581 MovieClip Frame 3
Mouse.show();
Symbol 2581 MovieClip Frame 4
Mouse.show();
Symbol 2581 MovieClip Frame 5
Mouse.show();
Symbol 2581 MovieClip Frame 6
_root.got2go = 2;
stop();
Symbol 2581 MovieClip Frame 10
if (from_buy == 3) {
btmain_1.boxx.gotoAndStop(21);
btmain_2.boxx.gotoAndStop(21);
btmain_3.boxx.gotoAndStop(21);
btmain_4.boxx.gotoAndStop(21);
}
Instance of Symbol 383 MovieClip "btmain_1" in Symbol 2581 MovieClip Frame 10
onClipEvent (load) {
iconn = 6;
_visible = false;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(9);
}
}
Instance of Symbol 592 MovieClip "inv" in Symbol 2581 MovieClip Frame 10
onClipEvent (load) {
can_upgrade = 2;
}
Instance of Symbol 739 MovieClip "btclose" in Symbol 2581 MovieClip Frame 10
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.pausedd = 1;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 339 MovieClip in Symbol 2581 MovieClip Frame 10
onClipEvent (enterFrame) {
txx = _root.stones;
boxx.iconn = 6;
boxx2.gotoAndStop(2);
}
Symbol 2581 MovieClip Frame 12
if (from_buy != 3) {
}
Instance of Symbol 739 MovieClip "btclose" in Symbol 2581 MovieClip Frame 12
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.pausedd = 1;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 383 MovieClip in Symbol 2581 MovieClip Frame 12
onClipEvent (load) {
iconn = 5;
}
onClipEvent (enterFrame) {
if (_parent._currentframe == 11) {
onsection = 2;
} else {
onsection = 1;
}
}
Instance of Symbol 763 MovieClip "inv" in Symbol 2581 MovieClip Frame 12
onClipEvent (load) {
buymenu = 2;
}
Instance of Symbol 478 MovieClip "scrollbar" in Symbol 2581 MovieClip Frame 12
onClipEvent (load) {
if (_parent.from_buy == 3) {
_parent.from_buy = 1;
boxx._y = _parent.from_buy_scrollbarposi;
}
}
Instance of Symbol 768 MovieClip in Symbol 2581 MovieClip Frame 12
onClipEvent (load) {
aff_1 = "SELLER";
aff_2 = eval ("_root.call_civil_seller_" + (random(5) + 1));
}
Instance of Symbol 467 MovieClip in Symbol 2581 MovieClip Frame 12
onClipEvent (load) {
gotoAndStop (14);
if (_root.tuto_14 != 2) {
_root.tuto_14 = 2;
} else {
_visible = false;
}
}
Instance of Symbol 383 MovieClip in Symbol 2581 MovieClip Frame 13
onClipEvent (load) {
iconn = 10;
}
onClipEvent (enterFrame) {
if (_parent._currentframe == 12) {
onsection = 2;
} else {
onsection = 1;
}
}
Instance of Symbol 763 MovieClip "inv" in Symbol 2581 MovieClip Frame 13
onClipEvent (load) {
buymenu = 1;
}
Instance of Symbol 768 MovieClip in Symbol 2581 MovieClip Frame 13
onClipEvent (load) {
aff_1 = "CIVILIAN";
aff_2 = eval ("_root.call_civil_trade_" + (random(5) + 1));
}
Instance of Symbol 467 MovieClip in Symbol 2581 MovieClip Frame 13
onClipEvent (load) {
gotoAndStop (13);
if (_root.tuto_13 != 2) {
_root.tuto_13 = 2;
} else {
_visible = false;
}
}
Instance of Symbol 383 MovieClip in Symbol 2581 MovieClip Frame 14
onClipEvent (load) {
iconn = 8;
}
onClipEvent (enterFrame) {
if (_parent._currentframe == 12) {
onsection = 2;
} else {
onsection = 1;
}
}
Instance of Symbol 763 MovieClip "inv" in Symbol 2581 MovieClip Frame 14
onClipEvent (load) {
buymenu = 0;
}
Instance of Symbol 768 MovieClip in Symbol 2581 MovieClip Frame 14
onClipEvent (load) {
aff_1 = "CIVILIAN";
aff_2 = eval ("_root.call_civil_rescued_" + (random(5) + 1));
}
Instance of Symbol 467 MovieClip in Symbol 2581 MovieClip Frame 14
onClipEvent (load) {
gotoAndStop (22);
if (_root.tuto_22 != 2) {
_root.tuto_22 = 2;
} else {
_visible = false;
}
}
Symbol 2581 MovieClip Frame 21
Mouse.show();
stop();
Instance of Symbol 383 MovieClip "btmain_1" in Symbol 2581 MovieClip Frame 21
onClipEvent (load) {
iconn = 11;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.pausedd = 1;
_parent.gotoAndStop(1);
}
}
Symbol 2581 MovieClip Frame 22
_root.showmochimiddle = 2;
if (_root.mochi_inter_ad != 2) {
mochiboite._visible = false;
mochiboxx._visible = false;
}
Symbol 2581 MovieClip Frame 41
Mouse.show();
stop();
Instance of Symbol 592 MovieClip "inv" in Symbol 2581 MovieClip Frame 41
onClipEvent (load) {
can_upgrade = 2;
}
Instance of Symbol 739 MovieClip "btclose" in Symbol 2581 MovieClip Frame 41
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(1);
}
}
Symbol 2584 MovieClip Frame 1
if (loaded != 2) {
loaded = 2;
gotoAndPlay (101);
} else {
stop();
}
Symbol 2584 MovieClip Frame 100
gotoAndStop (1);
Symbol 2595 MovieClip Frame 1
_visible = false;
stop();
Symbol 2595 MovieClip Frame 2
_visible = true;
play();
Symbol 2604 MovieClip Frame 1
stopAllSounds();
gotoAndStop(((_root.lvl2 + 1) * 10) + 1);
Symbol 2604 MovieClip Frame 11
_parent.txx = "";
timer = 100;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Instance of Symbol 186 MovieClip in Symbol 2604 MovieClip Frame 11
onClipEvent (load) {
wich_vid = 3;
}
Symbol 2604 MovieClip Frame 12
_parent.txx = "At the beginning everyone put the blame on our government.";
_root.music_mc.snd.voices.gotoAndStop(1);
_root.music_mc.snd.voices.gotoAndStop(11);
timer = 200;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 13
_parent.txx = "No one was responsible for this but each of us had a fear of dying.";
_root.music_mc.snd.voices.gotoAndStop(1);
_root.music_mc.snd.voices.gotoAndStop(12);
timer = 250;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 14
_parent.txx = "Food was scarce ... even for the richest of us.";
_root.music_mc.snd.voices.gotoAndStop(1);
_root.music_mc.snd.voices.gotoAndStop(13);
timer = 200;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 15
_parent.txx = "Those with guns would group ... the others would hide ...";
_root.music_mc.snd.voices.gotoAndStop(1);
_root.music_mc.snd.voices.gotoAndStop(14);
timer = 300;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 16
_parent.txx = "As for me, I was armed and headed north.";
_root.music_mc.snd.voices.gotoAndStop(1);
_root.music_mc.snd.voices.gotoAndStop(15);
timer = 200;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 17
_parent.txx = "";
timer = 100;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 18
_parent.txx = "Damn ... what now!? ";
_root.music_mc.snd.voices.gotoAndStop(1);
_root.music_mc.snd.voices.gotoAndStop(16);
timer = 100;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
_root.got2go = 2;
}
};
Symbol 2604 MovieClip Frame 21
_parent.txx = "The deserted sands are a perilous place.";
_root.music_mc.snd.voices.gotoAndStop(1);
_root.music_mc.snd.voices.gotoAndStop(21);
timer = 200;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Instance of Symbol 186 MovieClip in Symbol 2604 MovieClip Frame 21
onClipEvent (load) {
wich_vid = 4;
}
Symbol 2604 MovieClip Frame 22
_parent.txx = "No one remembers its reach. The world has drastically changed.";
_root.music_mc.snd.voices.gotoAndStop(1);
_root.music_mc.snd.voices.gotoAndStop(22);
timer = 250;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 23
_parent.txx = "Certain people risk crossing with very little survivors.";
_root.music_mc.snd.voices.gotoAndStop(23);
timer = 200;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 24
_parent.txx = "The path is fraught with corpses ...";
_root.music_mc.snd.voices.gotoAndStop(24);
timer = 300;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 25
_parent.txx = "Fate will decide. It's them or me.";
_root.music_mc.snd.voices.gotoAndStop(25);
timer = 200;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 26
_parent.txx = "";
timer = 100;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 27
_root.got2go = 2;
Symbol 2604 MovieClip Frame 31
_parent.txx = "";
timer = 10;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Instance of Symbol 186 MovieClip in Symbol 2604 MovieClip Frame 31
onClipEvent (load) {
wich_vid = 5;
}
Symbol 2604 MovieClip Frame 32
_parent.txx = "An oasis? A little longer and I was done for.";
_root.music_mc.snd.voices.gotoAndStop(1);
_root.music_mc.snd.voices.gotoAndStop(31);
timer = 200;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 33
_parent.txx = "I feel my lungs are filled with sand.";
_root.music_mc.snd.voices.gotoAndStop(32);
timer = 200;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 34
_parent.txx = "The water here is most likely polluted but I don't care.";
_root.music_mc.snd.voices.gotoAndStop(33);
timer = 200;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 35
_parent.txx = "I must be careful.";
_root.music_mc.snd.voices.gotoAndStop(34);
timer = 150;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 36
_parent.txx = "This irrigated region cannot be abandoned.";
_root.music_mc.snd.voices.gotoAndStop(35);
timer = 200;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 37
_parent.txx = "";
timer = 100;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 38
_root.got2go = 2;
Symbol 2604 MovieClip Frame 41
_parent.txx = "";
timer = 50;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Instance of Symbol 186 MovieClip in Symbol 2604 MovieClip Frame 41
onClipEvent (load) {
wich_vid = 6;
}
Symbol 2604 MovieClip Frame 42
_parent.txx = "This area has been reinforced by its people.";
_root.music_mc.snd.voices.gotoAndStop(1);
_root.music_mc.snd.voices.gotoAndStop(41);
timer = 200;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 43
_parent.txx = "It's the same fear everywhere.";
_root.music_mc.snd.voices.gotoAndStop(42);
timer = 200;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 44
_parent.txx = "Bands are compelled to steal and rape anything that cross their land.";
_root.music_mc.snd.voices.gotoAndStop(43);
timer = 250;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 45
_parent.txx = "One man alone would be killed and stripped.";
_root.music_mc.snd.voices.gotoAndStop(44);
timer = 200;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 46
_parent.txx = "Unless this man is quicker on the trigger.";
_root.music_mc.snd.voices.gotoAndStop(45);
timer = 200;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 47
_parent.txx = "";
timer = 100;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 48
_root.got2go = 2;
Symbol 2604 MovieClip Frame 51
_parent.txx = "";
timer = 10;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Instance of Symbol 186 MovieClip in Symbol 2604 MovieClip Frame 51
onClipEvent (load) {
wich_vid = 7;
}
Symbol 2604 MovieClip Frame 52
_parent.txx = "Still no sign of what I am looking for.";
_root.music_mc.snd.voices.gotoAndStop(1);
_root.music_mc.snd.voices.gotoAndStop(51);
timer = 200;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 53
_parent.txx = "My head hurts.";
_root.music_mc.snd.voices.gotoAndStop(52);
timer = 150;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 54
_parent.txx = "It's been so long since I shut my eyes and my legs can't hold much longer.";
_root.music_mc.snd.voices.gotoAndStop(53);
timer = 300;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 55
_parent.txx = "I'd better stay here a day or two. ";
_root.music_mc.snd.voices.gotoAndStop(54);
timer = 180;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 56
_parent.txx = "Got to get some energy to face whatever's waiting for me in these foreign regions.";
_root.music_mc.snd.voices.gotoAndStop(55);
timer = 350;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 57
_parent.txx = "";
timer = 150;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 58
_parent.txx = "I'll make it ... by all means!";
_root.music_mc.snd.voices.gotoAndStop(56);
timer = 300;
stop();
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 100;
gotoAndStop(_currentframe + 1);
}
};
Symbol 2604 MovieClip Frame 59
_root.got2go = 3;
Symbol 2608 Button
on (release) {
_root.music_mc.snd.bt.gotoAndStop(1);
_root.music_mc.snd.bt.gotoAndStop(3);
if (_root.lvl2 >= 4) {
_root.got2go = 3;
} else {
_root.got2go = 2;
}
}
Symbol 2610 MovieClip Frame 100
stop();