Frame 1
if (_root._url.indexOf("kongregate.com") == -1) {
mochi.as2.MochiAd.showPreGameAd({id:"3acde6ae685cbe86", res:"800x400", background:197378, color:2514351, outline:4754103, no_bg:true});
}
function aso#12039() {
_root.my_score = 0;
lvl = 1;
while (lvl <= 32) {
if ((my_so.data["lvl_score" + lvl] != undefined) && (!isNaN(my_so.data["lvl_score" + lvl]))) {
_root.my_score = _root.my_score + my_so.data["lvl_score" + lvl];
}
lvl++;
}
_root.score.text = "Score: " + _root.my_score;
_root.kongregateScores.submit(_root.my_score);
_root.kongregateStats.submit("Levels passed", my_so.data.lastlevel - 1);
}
function UpdateMoney() {
_root.global_money = 0;
lvl = 1;
while (lvl <= 32) {
if ((my_so.data["lvl_money" + lvl] != undefined) && (!isNaN(my_so.data["lvl_money" + lvl]))) {
_root.global_money = _root.global_money + my_so.data["lvl_money" + lvl];
trace((lvl + ": ") + my_so.data["lvl_money" + lvl]);
}
lvl++;
}
trace(my_so.data.mmoney);
trace("----------");
_root.global_money = _root.global_money - my_so.data.mmoney;
_root.money.text = "Your Money: $" + _root.global_money;
}
function clickmenu(obj, item) {
}
_root.score_server = "scores.php";
var my_xml2 = new XML();
System.useCodepage = true;
my_xml2.ignoreWhite = true;
my_xml2.onLoad = function (success) {
if (success) {
if (my_xml2.childNodes[0].attributes.place > 0) {
_root.score.text = ((("Score: " + _root.my_score) + " // ") + my_xml2.childNodes[0].attributes.place) + " place";
} else {
_root.score.text = "Score: " + _root.my_score;
}
} else {
_root.score.text = "Score: " + _root.my_score;
}
};
var my_so = SharedObject.getLocal("plazma_burst20");
if ((undefined == my_so.data.uid) || (isNaN(my_so.data.uid))) {
my_so.data.uid = Math.random() * 1000;
}
if (undefined == my_so.data.myname) {
my_so.data.myname = "Your Name Here";
}
_root["aso#85299"] = my_so.data.myname;
if ((undefined == my_so.data.lastlevel) || (isNaN(my_so.data.lastlevel))) {
my_so.data.lastlevel = 1;
}
if ((undefined == my_so.data.money) || (isNaN(my_so.data.money))) {
my_so.data.money = 0;
}
if ((undefined == my_so.data.mmoney) || (isNaN(my_so.data.mmoney))) {
my_so.data.mmoney = 0;
}
if ((undefined == my_so.data.opt_eff) || (isNaN(my_so.data.opt_eff))) {
my_so.data.opt_eff = 1;
}
if ((undefined == my_so.data.opt_bot) || (isNaN(my_so.data.opt_bot))) {
my_so.data.opt_bot = 2;
}
if ((undefined == my_so.data.opt_dis) || (isNaN(my_so.data.opt_dis))) {
my_so.data.opt_dis = 2;
}
if ((undefined == my_so.data.opt_vol) || (isNaN(my_so.data.opt_vol))) {
my_so.data.opt_vol = 3;
}
if ((my_so.data.bg_sou == undefined) || (isNaN(my_so.data.bg_sou))) {
my_so.data.bg_sou = true;
}
_root.opt_eff = my_so.data.opt_eff;
_root.opt_bot = my_so.data.opt_bot;
_root.opt_dis = my_so.data.opt_dis;
_root.opt_vol = my_so.data.opt_vol;
_root.kongregateServices.connect();
if ((my_so.data.lwea == undefined) || (isNaN(my_so.data.lwea))) {
my_so.data.lwea = 1;
}
if ((my_so.data.breaking == undefined) || (isNaN(my_so.data.breaking))) {
my_so.data.breaking = true;
}
if ((my_so.data.blood == undefined) || (isNaN(my_so.data.blood))) {
my_so.data.blood = true;
}
if ((my_so.data.low_q == undefined) || (isNaN(my_so.data.low_q))) {
my_so.data.low_q = false;
}
if ((my_so.data.weapon1 == undefined) || (isNaN(my_so.data.weapon1))) {
my_so.data.weapon1 = 0;
my_so.data.weapon2 = -1;
my_so.data.weapon3 = -1;
my_so.data.weapon4 = -1;
my_so.data.weapon5 = -1;
my_so.data.weapon6 = 0;
my_so.data.weapon7 = -1;
my_so.data.weapon8 = -1;
my_so.data.weapon9 = -1;
}
_root["aso#75134"] = my_so.data.lastlevel;
_root.global_money = my_so.data.money;
var my_cmi = new ContextMenu();
var my_cm = new ContextMenu();
my_cm.customItems.push(new ContextMenuItem("Game By .:Eric Gurt:.", clickmenu, true));
my_cm.builtInItems.print = false;
my_cm.builtInItems.zoom = false;
my_cm.builtInItems.play = false;
my_cm.builtInItems.loop = false;
my_cm.builtInItems.rewind = false;
my_cm.builtInItems.forward_back = false;
this.menu = my_cm;
var main_music1 = new Sound();
_root.main_music1.onSoundComplete = function () {
_root.main_music1.start(0, 1);
};
function aso#61764(a) {
if (isNaN(a) || (undefined == a)) {
return(0);
}
return(a);
}
function firtim() {
totalseconds = totalseconds + 1;
waitfor = Math.round((totalseconds / _root.getBytesLoaded()) * (_root.getBytesTotal() - _root.getBytesLoaded()));
if (waitfor < 60) {
_root.loa2.htmlText = waitfor + " seconds";
} else if ((waitfor / 60) < 60) {
_root.loa2.htmlText = ((Math.floor(waitfor / 60) + " minutes ") + (waitfor - (Math.floor(waitfor / 60) * 60))) + " seconds";
}
}
_lockroot = true;
_root["aso#85720"] = 0;
loadfinished = false;
str = _root._url;
_root.stop();
_root.lgg._alpha = 100;
lasts = 0;
times = 0;
someListener = new Object();
Mouse.addListener(someListener);
totalseconds = 0;
fir = setInterval(firtim, 1000);
str = _root._url;
_root.onEnterFrame = function () {
if (_root["aso#85720"] == 0) {
if (_root._url.indexOf("kongregate.com") == -1) {
_root.lgg.cblnk._visible = false;
}
cur = aso#61764(Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100));
if (cur != lasts) {
times = 10;
} else {
times = times - 1;
}
_root.lg.ss._xscale = cur;
if (times > 0) {
_root.loa.htmlText = ("<font color=\"#FFFFFF\"><B>.:</B></font> " + cur) + " <font color=\"#FFFFFF\"><B>:.</B></font>";
} else if (times > -5) {
_root.loa.htmlText = ("<font color=\"#AAAAAA\"><B>.:</B></font> " + cur) + " <font color=\"#AAAAAA\"><B>:.</B></font>";
} else if (times > -40) {
_root.loa.htmlText = ("<B>.:</B> " + cur) + " <B>:.</B>";
} else {
_root.loa.htmlText = ("<font color=\"#FF0000\"><B>.:</B></font> " + cur) + " <font color=\"#FF0000\"><B>:.</B></font>";
}
lasts = cur;
if (Math.round(_root.getBytesLoaded()) >= Math.round(_root.getBytesTotal())) {
clearInterval(fir);
_root.lgg._alpha = _root.lgg._alpha - 5;
if (_root.lgg._alpha < 0) {
if (_root._url.indexOf("kongregate.com") != -1) {
_root.gotoAndStop(15);
}
}
}
}
};
Frame 2
if (!loadfinished) {
_root.gotoAndStop(15);
}
_root.UpdateMoney();
_root["aso#85720"] = 1;
_root.money._visible = true;
_root.score._visible = true;
_root.visarea._visible = false;
_root.screenarea._visible = false;
_root.glow._alpha = 0;
_root.stop();
_root.onEnterFrame = function () {
};
Mouse.show();
_root.gcur._visible = false;
_root.nick2.text = _root["aso#85299"];
_root.money.text = "Your Money: $" + _root.global_money;
Frame 3
function stpsnds() {
_root.am_base.stop();
_root.am_falkok_base.stop();
_root.am_wind.stop();
_root.am_base = undefined;
_root.am_falkok_base = undefined;
_root.am_wind = undefined;
}
function aso#90317(p1x, p1y, p2x, p2y) {
return(Math.sqrt(Math.pow(p1x - p2x, 2) + Math.pow(p1y - p2y, 2)));
}
function aso#76947(x, y, typ, pntox, pntoy, fir, count) {
if (pntox == undefined) {
pntox = 0;
}
if (pntoy == undefined) {
pntoy = 0;
}
if (count != undefined) {
Set("aso#24438", count);
} else {
Set("aso#24438", 1);
if (typ == 0) {
Set("aso#24438", 1);
}
if (typ == 1) {
Set("aso#24438", 3);
}
if (typ == 2) {
Set("aso#24438", 10);
}
if (typ == 3) {
Set("aso#24438", 1);
}
if (typ == 4) {
Set("aso#24438", 2);
}
if (typ == 5) {
Set("aso#24438", 3);
}
if (typ == 6) {
Set("aso#24438", 1);
}
if (typ == 7) {
Set("aso#24438", 2);
}
if (typ == 8) {
Set("aso#24438", 1);
}
if (typ == 9) {
Set("aso#24438", 3);
}
if (typ == 10) {
Set("aso#24438", 10);
}
if (typ == 11) {
Set("aso#24438", 2);
}
if ((((typ == 1) || (typ == 2)) || (typ == 9)) || (typ == 10)) {
Set("aso#24438", aso#24438 * aso#82094);
}
}
ti = 0;
while (ti < aso#24438) {
if (typ == 0) {
duplicateMovieClip (_root["aso#56196"].iskra, "p" + aso#09676, aso#09676 + 200);
}
if (((typ == 1) || (typ == 2)) || (typ == 8)) {
duplicateMovieClip (_root["aso#56196"].blood, "p" + aso#09676, aso#09676 + 200);
}
if (typ == 3) {
duplicateMovieClip (_root["aso#56196"].gilza, "p" + aso#09676, aso#09676 + 200);
}
if (typ == 4) {
duplicateMovieClip (_root["aso#56196"].gilza2, "p" + aso#09676, aso#09676 + 200);
}
if (typ == 5) {
duplicateMovieClip (_root["aso#56196"].bloodm, "p" + aso#09676, aso#09676 + 200);
}
if (typ == 6) {
duplicateMovieClip (_root["aso#56196"].smoke, "p" + aso#09676, aso#09676 + 200);
}
if (typ == 7) {
duplicateMovieClip (_root["aso#56196"].rock, "p" + aso#09676, aso#09676 + 200);
}
if ((typ == 9) || (typ == 10)) {
duplicateMovieClip (_root["aso#56196"].bloodf, "p" + aso#09676, aso#09676 + 200);
}
if (typ == 11) {
duplicateMovieClip (_root["aso#56196"].bloodmetal, "p" + aso#09676, aso#09676 + 200);
}
if ((((ti == 0) || (typ == 7)) || (typ == 11)) && (typ != 8)) {
_root["aso#56196"]["p" + aso#09676].gotoAndPlay(1);
} else {
_root["aso#56196"]["p" + aso#09676].gotoAndPlay(3 + Math.floor(Math.random() * 5));
}
if (fir == false) {
_root["aso#56196"]["p" + aso#09676].gotoAndPlay(3 + Math.floor(Math.random() * 5));
}
_root["aso#56196"]["p" + aso#09676]._x = x;
_root["aso#56196"]["p" + aso#09676]._y = y;
_root["aso#56196"]["p" + aso#09676]["aso#38229"] = pntox;
_root["aso#56196"]["p" + aso#09676]["aso#75555"] = pntoy;
if (((aso#24438 != 1) && (aso#24438 != 9)) && (typ != 7)) {
_root["aso#56196"]["p" + aso#09676]._x = (x - 4) + (Math.random() * 8);
_root["aso#56196"]["p" + aso#09676]._y = (y - 4) + (Math.random() * 8);
}
Set("aso#09676", aso#09676 + 1);
ti++;
}
if (aso#09676 > maxef) {
Set("aso#09676", 0);
}
}
function aso#17057(_arg3, _arg2, _arg4, type, btox, btoy) {
if (type == "shot") {
if (_arg4 == 0) {
_root.aso#76947(_arg3, _arg2, 1, btox, btoy);
} else if (_arg4 == 1) {
_root.aso#76947(_arg3, _arg2, 5, btox, btoy);
_root.aso#76947(_arg3, _arg2, 11);
} else if (_arg4 == 2) {
_root.aso#76947(_arg3, _arg2, 9, btox, btoy);
}
} else if (type == "shot_head") {
if (_arg4 == 0) {
_root.aso#76947(_arg3, _arg2, 2, btox, btoy);
} else if (_arg4 == 1) {
_root.aso#76947(_arg3, _arg2, 5, btox, btoy);
_root.aso#76947(_arg3, _arg2, 5, btox, btoy);
_root.aso#76947(_arg3, _arg2, 11);
} else if (_arg4 == 2) {
_root.aso#76947(_arg3, _arg2, 10, btox, btoy);
}
} else if (type == "fall") {
if (_arg4 == 0) {
_root.aso#76947(_arg3, _arg2, 1);
} else if (_arg4 == 1) {
_root.aso#76947(_arg3, _arg2, 5);
} else if (_arg4 == 2) {
_root.aso#76947(_arg3, _arg2, 9);
}
} else if (type == "glass") {
if (_arg4 == 0) {
_root.aso#76947(_arg3, _arg2, 1);
} else if (_arg4 == 1) {
_root.aso#76947(_arg3, _arg2, 11);
} else if (_arg4 == 2) {
_root.aso#76947(_arg3, _arg2, 9);
}
} else if (type == "barrel") {
if (_arg4 == 0) {
_root.aso#76947(_arg3, _arg2, 2);
} else if (_arg4 == 1) {
_root.aso#76947(_arg3, _arg2, 5);
_root.aso#76947(_arg3, _arg2, 11);
} else if (_arg4 == 2) {
_root.aso#76947(_arg3, _arg2, 10);
}
} else if (type == "rocket") {
if (_arg4 == 0) {
_root.aso#76947(_arg3, _arg2, 2, btox, btoy);
} else if (_arg4 == 1) {
_root.aso#76947(_arg3, _arg2, 5, btox, btoy);
_root.aso#76947(_arg3, _arg2, 11);
} else if (_arg4 == 2) {
_root.aso#76947(_arg3, _arg2, 10, btox, btoy);
}
} else if (type == "flow") {
if (_arg4 == 0) {
_root.aso#76947(_arg3, _arg2, 1, btox, btoy, false, 1);
} else if (_arg4 == 1) {
_root.aso#76947(_arg3, _arg2, 5, btox, btoy, false, 1);
} else if (_arg4 == 2) {
_root.aso#76947(_arg3, _arg2, 9, btox, btoy, false, 1);
}
}
}
function aso#01453() {
Set("aso#87533", 0);
while (aso#87533 < aso#45189) {
if (aso#13852[aso#49786[aso#87533]] != 2) {
if ((aso#45610[aso#39621[aso#49786[aso#87533]]] == true) || (aso#45610[aso#64969[aso#49786[aso#87533]]] == true)) {
aso#40592[aso#87533]._xscale = Math.abs(aso#40592[aso#87533]._xscale) * aso#06050[aso#87533];
aso#40592[aso#87533]._x = aso#50207[aso#39621[aso#49786[aso#87533]]];
aso#40592[aso#87533]._y = aso#32240[aso#39621[aso#49786[aso#87533]]];
aso#40592[aso#87533]._rotation = aso#68724[aso#87533] - ((Math.atan2(aso#50207[aso#39621[aso#49786[aso#87533]]] - aso#50207[aso#64969[aso#49786[aso#87533]]], aso#32240[aso#39621[aso#49786[aso#87533]]] - aso#32240[aso#64969[aso#49786[aso#87533]]]) / Math.PI) * 180);
if (aso#92680[aso#87533]) {
cdi = aso#90317(aso#50207[aso#39621[aso#49786[aso#87533]]], aso#32240[aso#39621[aso#49786[aso#87533]]], aso#50207[aso#64969[aso#49786[aso#87533]]], aso#32240[aso#64969[aso#49786[aso#87533]]]);
cdi = (1 - (cdi / 32.79)) * 60;
aso#40592[aso#87533].gotoAndStop(Math.max(1, Math.min(30, Math.round(cdi))));
}
}
}
aso#87533++;
}
Set("aso#87533", 0);
while (aso#87533 < aso#09255) {
if (aso#73321[aso#87533] > 0) {
aso#73321[aso#87533] = aso#73321[aso#87533] - 1;
if (((Math.random() > 0.5) && (_root.opt_eff > 1)) || ((Math.random() > 0.9) && (_root.opt_eff == 1))) {
aso#17057(aso#50207[aso#55354[aso#87533]], aso#32240[aso#55354[aso#87533]], _root["aso#56196"]["player" + emmit_i[aso#87533]]["aso#20262"], "flow", (Math.random() * 12) - 6, (Math.random() * 12) - 6);
}
} else if (aso#87533 == (aso#09255 - 1)) {
aso#09255--;
}
aso#87533++;
}
Set("aso#87533", 0);
while (aso#87533 < emmit2_tot) {
if (emmit2_time[aso#87533] > 0) {
emmit2_time[aso#87533] = emmit2_time[aso#87533] - 1;
if (_root["aso#56196"]["player" + emmit2_i[aso#87533]]["aso#12881"] > 0) {
if (((Math.random() > 0.8) && (_root.opt_eff > 1)) || ((Math.random() > 0.9) && (_root.opt_eff == 1))) {
aso#17057(_root["aso#56196"]["player" + emmit2_i[aso#87533]]._x + emmit2_x[aso#87533], _root["aso#56196"]["player" + emmit2_i[aso#87533]]._y + emmit2_y[aso#87533], _root["aso#56196"]["player" + emmit2_i[aso#87533]]["aso#20262"], "flow", (Math.random() * 6) - 3, (Math.random() * 6) - 3);
}
}
} else if (aso#87533 == (emmit2_tot - 1)) {
emmit2_tot--;
}
aso#87533++;
}
}
function aso#02295(x, y, sx, sy, rad, round) {
aso#50207[aso#54383] = x;
aso#32240[aso#54383] = y;
aso#69566[aso#54383] = sx;
aso#63577[aso#54383] = sy;
aso#45610[aso#54383] = true;
if (rad != undefined) {
aso#76526[aso#54383] = rad;
} else {
aso#76526[aso#54383] = 0;
}
if (round == undefined) {
around[aso#54383] = false;
} else {
around[aso#54383] = true;
}
aso#54383++;
return(aso#54383 - 1);
}
function aso#88925(a, a2, type, _arg3, damp) {
aso#39621[aso#00482] = a;
aso#64969[aso#00482] = a2;
if (_arg3 != undefined) {
aso#30427[aso#00482] = _arg3;
} else {
aso#30427[aso#00482] = aso#90317(aso#50207[a], aso#32240[a], aso#50207[a2], aso#32240[a2]);
}
if (damp == undefined) {
aso#35995[aso#00482] = 1;
} else {
aso#35995[aso#00482] = damp;
}
aso#48394[aso#00482] = type;
aso#13852[aso#00482] = true;
aso#00482++;
return(aso#00482 - 1);
}
function aso#12460(_arg1, _arg3, pan, flip, isLeg) {
aso#40592[aso#45189] = _arg1;
aso#49786[aso#45189] = _arg3;
aso#68724[aso#45189] = pan;
aso#06050[aso#45189] = flip;
if (isLeg == true) {
aso#92680[aso#45189] = true;
} else {
aso#92680[aso#45189] = false;
}
aso#45189++;
}
function Blood(a, time, ni) {
aso#55354[aso#09255] = a;
emmit_i[aso#09255] = ni;
aso#73321[aso#09255] = time;
aso#09255++;
}
function Blood2(ni, time, nx, ny) {
emmit2_i[emmit2_tot] = ni;
emmit2_time[emmit2_tot] = time;
emmit2_x[emmit2_tot] = nx;
emmit2_y[emmit2_tot] = ny;
emmit2_tot++;
}
function aso#61343(_arg2) {
Set("aso#56746", false);
if ((_root["aso#56196"]["player" + _arg2].w_upg1 == 2) && (_root["aso#56196"]["player" + _arg2]["aso#44218"]._currentframe == 1)) {
Set("aso#56746", true);
}
if (aso#56746) {
_root["aso#56196"]["player" + _arg2]["aso#51599"].gotoAndStop(_root["aso#56196"]["player" + _arg2]["aso#44218"]._currentframe);
if (_root["aso#56196"]["player" + _arg2]["aso#51599"]._visible == false) {
_root["aso#56196"]["player" + _arg2]["aso#51599"]._visible = true;
_root["aso#56196"]["player" + _arg2]["aso#51599"]._alpha = 0;
} else if (_root["aso#56196"]["player" + _arg2]["aso#51599"]._alpha == 0) {
_root["aso#56196"]["player" + _arg2]["aso#51599"]._alpha = 100;
}
_root["aso#56196"]["player" + _arg2]["aso#51599"]._xscale = aso#37387;
_root["aso#56196"]["player" + _arg2]["aso#51599"]._yscale = aso#37387;
} else {
_root["aso#56196"]["player" + _arg2]["aso#51599"].gotoAndStop(1);
_root["aso#56196"]["player" + _arg2]["aso#51599"]._visible = false;
_root["aso#56196"]["player" + _arg2]["aso#51599"]._xscale = 0;
_root["aso#56196"]["player" + _arg2]["aso#51599"]._yscale = 0;
}
}
function aso#32790(_arg2) {
if (_arg2 == 0) {
if (Math.random() > 0.5) {
_root["aso#56196"]["player" + _arg2].sou.gotoAndStop(24);
} else {
_root["aso#56196"]["player" + _arg2].sou.gotoAndStop(25);
}
} else {
_root["aso#56196"]["player" + _arg2].sou.gotoAndStop(10 + Math.round(Math.random() * 2));
}
_root["aso#56196"]["player" + _arg2].deadtime = 0;
_root["aso#56196"]["player" + _arg2].suffer = true;
if (_arg2 != 0) {
_root.stat_kills++;
if (_root["aso#56196"]["player" + _arg2].say_die != undefined) {
aso#10647(_root["aso#56196"]["player" + _arg2].say_die);
}
}
if (_root["aso#56196"]["player" + _arg2]["aso#20262"] == 0) {
Set("aso#43376", 4);
Set("aso#47973", 5);
Set("aso#24017", 8);
Set("aso#30006", 3);
Set("aso#82515", 4);
}
if (_root["aso#56196"]["player" + _arg2]["aso#20262"] == 1) {
Set("aso#43376", 4);
Set("aso#47973", 5);
Set("aso#24017", 15);
Set("aso#30006", 10);
Set("aso#82515", 5);
}
if (_root["aso#56196"]["player" + _arg2]["aso#20262"] == 2) {
Set("aso#43376", 4);
Set("aso#47973", 8);
Set("aso#24017", 7);
Set("aso#30006", 4);
Set("aso#82515", 6);
}
Set("aso#66361", _root["aso#56196"]["player" + _arg2]["aso#38229"]);
Set("aso#97698", _root["aso#56196"]["player" + _arg2]["aso#75555"]);
p_body = aso#02295(_root["aso#56196"]["player" + _arg2]._x + _root["aso#56196"]["player" + _arg2].body._x, _root["aso#56196"]["player" + _arg2]._y + _root["aso#56196"]["player" + _arg2].body._y, aso#66361, aso#97698, aso#43376);
_root["aso#56196"]["player" + _arg2]["aso#16636"] = p_body;
_root["aso#56196"]["player" + _arg2].center = p_body;
p_arm1 = aso#02295(_root["aso#56196"]["player" + _arg2]._x + _root["aso#56196"]["player" + _arg2].arm1._x, _root["aso#56196"]["player" + _arg2]._y + _root["aso#56196"]["player" + _arg2].arm1._y, aso#66361, aso#97698, aso#24017);
_root["aso#56196"]["player" + _arg2]["aso#59951"] = p_arm1;
Set("aso#79731", _root["aso#56196"]["player" + _arg2]["aso#82936"].upper1._rotation);
Set("aso#81123", _root["aso#56196"]["player" + _arg2]["aso#82936"].upper2._rotation);
_root["aso#56196"]["player" + _arg2]["aso#82936"].gotoAndStop(1);
_root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#55775"]._rotation = aso#79731;
_root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#87112"]._rotation = aso#81123;
_root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#55775"].gotoAndStop(1);
_root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#87112"].gotoAndStop(1);
if (_root["aso#56196"]["player" + _arg2]["aso#12881"] > -10) {
p_subleg1 = aso#02295(((_root["aso#56196"]["player" + _arg2]._x + _root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#55775"]._x) + _root["aso#56196"]["player" + _arg2]["aso#82936"]._x) - (Math.sin(_root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#55775"]._rotation * aso#33632) * 35), ((_root["aso#56196"]["player" + _arg2]._y + _root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#55775"]._y) + _root["aso#56196"]["player" + _arg2]["aso#82936"]._y) + (Math.cos(_root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#55775"]._rotation * aso#33632) * (35 - aso#82515)), aso#66361, aso#97698, aso#82515);
p_subleg2 = aso#02295(((_root["aso#56196"]["player" + _arg2]._x + _root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#87112"]._x) + _root["aso#56196"]["player" + _arg2]["aso#82936"]._x) - (Math.sin(_root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#87112"]._rotation * aso#33632) * 35), ((_root["aso#56196"]["player" + _arg2]._y + _root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#87112"]._y) + _root["aso#56196"]["player" + _arg2]["aso#82936"]._y) + (Math.cos(_root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#87112"]._rotation * aso#33632) * (35 - aso#82515)), aso#66361, aso#97698, aso#82515);
} else {
p_subleg1 = aso#02295(((_root["aso#56196"]["player" + _arg2]._x + _root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#55775"]._x) + _root["aso#56196"]["player" + _arg2]["aso#82936"]._x) - (Math.sin(_root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#55775"]._rotation * aso#33632) * 35), ((_root["aso#56196"]["player" + _arg2]._y + _root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#55775"]._y) + _root["aso#56196"]["player" + _arg2]["aso#82936"]._y) + (Math.cos(_root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#55775"]._rotation * aso#33632) * (35 - aso#82515)), aso#66361, aso#97698, aso#82515);
p_subleg2 = aso#02295(((_root["aso#56196"]["player" + _arg2]._x + _root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#87112"]._x) + _root["aso#56196"]["player" + _arg2]["aso#82936"]._x) - (Math.sin(_root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#87112"]._rotation * aso#33632) * 35), ((_root["aso#56196"]["player" + _arg2]._y + _root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#87112"]._y) + _root["aso#56196"]["player" + _arg2]["aso#82936"]._y) + (Math.cos(_root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#87112"]._rotation * aso#33632) * (35 - aso#82515)), aso#66361, aso#97698, aso#82515);
}
_root["aso#56196"]["player" + _arg2].a_stand1 = p_subleg1;
_root["aso#56196"]["player" + _arg2].a_stand2 = p_subleg2;
_root["aso#56196"]["player" + _arg2]["aso#82936"]._x = 0;
_root["aso#56196"]["player" + _arg2]["aso#82936"]._y = 0;
p_subarm1 = aso#02295((_root["aso#56196"]["player" + _arg2]._x + _root["aso#56196"]["player" + _arg2].arm1._x) - (Math.sin(_root["aso#56196"]["player" + _arg2].arm1._rotation * aso#33632) * 26), (_root["aso#56196"]["player" + _arg2]._y + _root["aso#56196"]["player" + _arg2].arm1._y) + (Math.cos(_root["aso#56196"]["player" + _arg2].arm1._rotation * aso#33632) * 26), aso#66361, aso#97698, aso#30006);
p_subarm2 = aso#02295((_root["aso#56196"]["player" + _arg2]._x + _root["aso#56196"]["player" + _arg2].arm2._x) - (Math.sin(_root["aso#56196"]["player" + _arg2].arm2._rotation * aso#33632) * 26), (_root["aso#56196"]["player" + _arg2]._y + _root["aso#56196"]["player" + _arg2].arm2._y) + (Math.cos(_root["aso#56196"]["player" + _arg2].arm2._rotation * aso#33632) * 26), aso#66361, aso#97698, aso#30006);
body_break = false;
p_head = aso#02295(_root["aso#56196"]["player" + _arg2]._x + _root["aso#56196"]["player" + _arg2]["aso#14273"]._x, _root["aso#56196"]["player" + _arg2]._y + _root["aso#56196"]["player" + _arg2]["aso#14273"]._y, aso#66361, aso#97698, aso#47973);
if (my_so.data.breaking) {
if (((_root["aso#56196"]["player" + _arg2]["aso#20262"] == 0) || (_root["aso#56196"]["player" + _arg2]["aso#20262"] == 2)) || (_root["aso#56196"]["player" + _arg2]["aso#20262"] == 1)) {
if ((_root["aso#56196"]["player" + _arg2]["aso#15665"] == "aso#14273") || (_root["aso#56196"]["player" + _arg2]["aso#15665"] == "all")) {
if (((((((_root["aso#56196"]["player" + _arg2]["aso#20262"] == 0) && (_root["aso#56196"]["player" + _arg2]["aso#12881"] < -50)) && (_root["aso#56196"]["player" + _arg2].opentop)) || (((_root["aso#56196"]["player" + _arg2]["aso#20262"] == 0) && (_root["aso#56196"]["player" + _arg2]["aso#12881"] < -100)) && (!_root["aso#56196"]["player" + _arg2].opentop))) || ((_root["aso#56196"]["player" + _arg2]["aso#20262"] == 2) && (_root["aso#56196"]["player" + _arg2]["aso#12881"] < -100))) || (((_root["aso#56196"]["player" + _arg2]["aso#20262"] == 1) && (_root["aso#56196"]["player" + _arg2]["aso#12881"] < -100)) && (_root["aso#56196"]["player" + _arg2]["aso#14273"]._currentframe == 1))) || ((_root["aso#56196"]["player" + _arg2]["aso#20262"] == 1) && (_root["aso#56196"]["player" + _arg2]["aso#12881"] < -150))) {
Blood(p_head, 40, _arg2);
_root["aso#56196"]["player" + _arg2].suffer = false;
_root["aso#56196"]["player" + _arg2]["aso#14273"].gotoAndStop(10);
aso#17057((_root["aso#56196"]["player" + _arg2]._x + _root["aso#56196"]["player" + _arg2]["aso#38229"]) + ((_root["aso#56196"]["player" + _arg2]["aso#14273"]._x / _root["aso#56196"]["player" + _arg2]._xscale) * 100), (_root["aso#56196"]["player" + _arg2]._y + _root["aso#56196"]["player" + _arg2]["aso#75555"]) + _root["aso#56196"]["player" + _arg2]["aso#14273"]._y, _root["aso#56196"]["player" + _arg2]["aso#20262"], "shot_head", ((Math.random() * 8) - 4) + _root["aso#56196"]["player" + _arg2]["aso#38229"], _root["aso#56196"]["player" + _arg2]["aso#75555"] - (Math.random() * 6));
aso#17057((_root["aso#56196"]["player" + _arg2]._x + _root["aso#56196"]["player" + _arg2]["aso#38229"]) + ((_root["aso#56196"]["player" + _arg2]["aso#14273"]._x / _root["aso#56196"]["player" + _arg2]._xscale) * 100), (_root["aso#56196"]["player" + _arg2]._y + _root["aso#56196"]["player" + _arg2]["aso#75555"]) + _root["aso#56196"]["player" + _arg2]["aso#14273"]._y, _root["aso#56196"]["player" + _arg2]["aso#20262"], "shot_head", ((Math.random() * 8) - 4) + _root["aso#56196"]["player" + _arg2]["aso#38229"], _root["aso#56196"]["player" + _arg2]["aso#75555"] - (Math.random() * 6));
}
}
if ((_root["aso#56196"]["player" + _arg2]["aso#20262"] == 0) || (_root["aso#56196"]["player" + _arg2]["aso#20262"] == 2)) {
if (((_root["aso#56196"]["player" + _arg2]["aso#15665"] == "body") || (_root["aso#56196"]["player" + _arg2]["aso#15665"] == "arm")) || (_root["aso#56196"]["player" + _arg2]["aso#15665"] == "all")) {
if (((_root["aso#56196"]["player" + _arg2]["aso#20262"] == 0) && (_root["aso#56196"]["player" + _arg2]["aso#12881"] < -150)) || ((_root["aso#56196"]["player" + _arg2]["aso#20262"] == 2) && (_root["aso#56196"]["player" + _arg2]["aso#12881"] < -140))) {
p_body_div1 = aso#02295((aso#50207[p_arm1] + aso#50207[p_body]) / 2, (aso#32240[p_arm1] + aso#32240[p_body]) / 2, (aso#69566[p_arm1] + aso#69566[p_body]) / 2, (aso#63577[p_arm1] + aso#63577[p_body]) / 2, 0);
p_body_div2 = aso#02295((aso#50207[p_arm1] + aso#50207[p_body]) / 2, (aso#32240[p_arm1] + aso#32240[p_body]) / 2, (aso#69566[p_arm1] + aso#69566[p_body]) / 2, (aso#63577[p_arm1] + aso#63577[p_body]) / 2, 0);
aso#17057((aso#50207[p_arm1] + aso#50207[p_body]) / 2, (aso#32240[p_arm1] + aso#32240[p_body]) / 2, _root["aso#56196"]["player" + _arg2]["aso#20262"], "shot_head", ((Math.random() * 8) - 4) + _root["aso#56196"]["player" + _arg2]["aso#38229"], _root["aso#56196"]["player" + _arg2]["aso#75555"] - (Math.random() * 6));
aso#17057((aso#50207[p_arm1] + aso#50207[p_body]) / 2, (aso#32240[p_arm1] + aso#32240[p_body]) / 2, _root["aso#56196"]["player" + _arg2]["aso#20262"], "shot_head", ((Math.random() * 8) - 4) + _root["aso#56196"]["player" + _arg2]["aso#38229"], _root["aso#56196"]["player" + _arg2]["aso#75555"] - (Math.random() * 6));
body_break = true;
_root["aso#56196"]["player" + _arg2].suffer = false;
Blood(p_body, 50, _arg2);
Blood(p_arm1, 50, _arg2);
}
}
}
}
}
_root["aso#56196"]["player" + _arg2].a_stand3 = p_head;
if (_root["aso#56196"]["player" + _arg2]["aso#12881"] > -10) {
p_subhead = aso#02295((_root["aso#56196"]["player" + _arg2]._x + _root["aso#56196"]["player" + _arg2]["aso#14273"]._x) + (Math.sin(_root["aso#56196"]["player" + _arg2]["aso#14273"]._rotation * aso#33632) * 8), (_root["aso#56196"]["player" + _arg2]._y + _root["aso#56196"]["player" + _arg2]["aso#14273"]._y) - (Math.cos(_root["aso#56196"]["player" + _arg2]["aso#14273"]._rotation * aso#33632) * 8), aso#66361, aso#97698, aso#47973);
} else {
p_subhead = aso#02295((_root["aso#56196"]["player" + _arg2]._x + _root["aso#56196"]["player" + _arg2]["aso#14273"]._x) + (Math.sin(_root["aso#56196"]["player" + _arg2]["aso#14273"]._rotation * aso#33632) * 8), (_root["aso#56196"]["player" + _arg2]._y + _root["aso#56196"]["player" + _arg2]["aso#14273"]._y) - (Math.cos(_root["aso#56196"]["player" + _arg2]["aso#14273"]._rotation * aso#33632) * 8), aso#66361, aso#97698, aso#47973);
}
if ((_root["aso#56196"]["player" + _arg2]["aso#20262"] == 0) || (_root["aso#56196"]["player" + _arg2]["aso#20262"] == 2)) {
p_gun = aso#02295(_root["aso#56196"]["player" + _arg2]._x + _root["aso#56196"]["player" + _arg2]["aso#44218"]._x, _root["aso#56196"]["player" + _arg2]._y + _root["aso#56196"]["player" + _arg2]["aso#44218"]._y, aso#66361 * 0.5, aso#97698 * 0.5);
sc = _root["aso#56196"]["player" + _arg2]["aso#44218"]._xscale / 100;
p_subgun = aso#02295(((_root["aso#56196"]["player" + _arg2]._x + _root["aso#56196"]["player" + _arg2]["aso#44218"]._x) - ((Math.sin((_root["aso#56196"]["player" + _arg2]["aso#44218"]._rotation - 90) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#44218"]["aso#27222"]._x) * sc)) - ((Math.sin((_root["aso#56196"]["player" + _arg2]["aso#44218"]._rotation + 180) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#44218"]["aso#27222"]._y) * sc), ((_root["aso#56196"]["player" + _arg2]._y + _root["aso#56196"]["player" + _arg2]["aso#44218"]._y) + ((Math.cos((_root["aso#56196"]["player" + _arg2]["aso#44218"]._rotation - 90) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#44218"]["aso#27222"]._x) * sc)) - ((Math.cos((_root["aso#56196"]["player" + _arg2]["aso#44218"]._rotation + 180) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#44218"]["aso#27222"]._y) * sc), aso#66361 * 0.5, aso#97698 * 0.5);
p_subgun2 = aso#02295(((_root["aso#56196"]["player" + _arg2]._x + _root["aso#56196"]["player" + _arg2]["aso#44218"]._x) - ((Math.sin((_root["aso#56196"]["player" + _arg2]["aso#44218"]._rotation - 90) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#44218"]["aso#58559"]._x) * sc)) - ((Math.sin((_root["aso#56196"]["player" + _arg2]["aso#44218"]._rotation + 180) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#44218"]["aso#58559"]._y) * sc), ((_root["aso#56196"]["player" + _arg2]._y + _root["aso#56196"]["player" + _arg2]["aso#44218"]._y) + ((Math.cos((_root["aso#56196"]["player" + _arg2]["aso#44218"]._rotation - 90) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#44218"]["aso#58559"]._x) * sc)) - ((Math.cos((_root["aso#56196"]["player" + _arg2]["aso#44218"]._rotation + 180) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#44218"]["aso#58559"]._y) * sc), aso#66361 * 0.5, aso#97698 * 0.5);
p_subgun3 = aso#02295(((_root["aso#56196"]["player" + _arg2]._x + _root["aso#56196"]["player" + _arg2]["aso#44218"]._x) - ((Math.sin((_root["aso#56196"]["player" + _arg2]["aso#44218"]._rotation - 90) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#44218"]["aso#89896"]._x) * sc)) - ((Math.sin((_root["aso#56196"]["player" + _arg2]["aso#44218"]._rotation + 180) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#44218"]["aso#89896"]._y) * sc), ((_root["aso#56196"]["player" + _arg2]._y + _root["aso#56196"]["player" + _arg2]["aso#44218"]._y) + ((Math.cos((_root["aso#56196"]["player" + _arg2]["aso#44218"]._rotation - 90) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#44218"]["aso#89896"]._x) * sc)) - ((Math.cos((_root["aso#56196"]["player" + _arg2]["aso#44218"]._rotation + 180) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#44218"]["aso#89896"]._y) * sc), aso#66361 * 0.5, aso#97698 * 0.5);
if ((_root["aso#56196"]["player" + _arg2]["aso#51599"]._visible == true) && (_root["aso#56196"]["player" + _arg2]["aso#20262"] == 0)) {
p2_gun = aso#02295(_root["aso#56196"]["player" + _arg2]._x + _root["aso#56196"]["player" + _arg2]["aso#44218"]._x, _root["aso#56196"]["player" + _arg2]._y + _root["aso#56196"]["player" + _arg2]["aso#44218"]._y, aso#66361 * 0.5, aso#97698 * 0.5);
p2_subgun = aso#02295(((_root["aso#56196"]["player" + _arg2]._x + _root["aso#56196"]["player" + _arg2]["aso#51599"]._x) - ((Math.sin((_root["aso#56196"]["player" + _arg2]["aso#51599"]._rotation - 90) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#51599"]["aso#27222"]._x) * sc)) - ((Math.sin((_root["aso#56196"]["player" + _arg2]["aso#51599"]._rotation + 180) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#51599"]["aso#27222"]._y) * sc), ((_root["aso#56196"]["player" + _arg2]._y + _root["aso#56196"]["player" + _arg2]["aso#51599"]._y) + ((Math.cos((_root["aso#56196"]["player" + _arg2]["aso#51599"]._rotation - 90) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#51599"]["aso#27222"]._x) * sc)) - ((Math.cos((_root["aso#56196"]["player" + _arg2]["aso#51599"]._rotation + 180) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#51599"]["aso#27222"]._y) * sc), aso#66361 * 0.5, aso#97698 * 0.5);
p2_subgun2 = aso#02295(((_root["aso#56196"]["player" + _arg2]._x + _root["aso#56196"]["player" + _arg2]["aso#51599"]._x) - ((Math.sin((_root["aso#56196"]["player" + _arg2]["aso#51599"]._rotation - 90) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#51599"]["aso#58559"]._x) * sc)) - ((Math.sin((_root["aso#56196"]["player" + _arg2]["aso#51599"]._rotation + 180) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#51599"]["aso#58559"]._y) * sc), ((_root["aso#56196"]["player" + _arg2]._y + _root["aso#56196"]["player" + _arg2]["aso#51599"]._y) + ((Math.cos((_root["aso#56196"]["player" + _arg2]["aso#51599"]._rotation - 90) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#51599"]["aso#58559"]._x) * sc)) - ((Math.cos((_root["aso#56196"]["player" + _arg2]["aso#51599"]._rotation + 180) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#51599"]["aso#58559"]._y) * sc), aso#66361 * 0.5, aso#97698 * 0.5);
p2_subgun3 = aso#02295(((_root["aso#56196"]["player" + _arg2]._x + _root["aso#56196"]["player" + _arg2]["aso#51599"]._x) - ((Math.sin((_root["aso#56196"]["player" + _arg2]["aso#51599"]._rotation - 90) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#51599"]["aso#89896"]._x) * sc)) - ((Math.sin((_root["aso#56196"]["player" + _arg2]["aso#51599"]._rotation + 180) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#51599"]["aso#89896"]._y) * sc), ((_root["aso#56196"]["player" + _arg2]._y + _root["aso#56196"]["player" + _arg2]["aso#51599"]._y) + ((Math.cos((_root["aso#56196"]["player" + _arg2]["aso#51599"]._rotation - 90) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#51599"]["aso#89896"]._x) * sc)) - ((Math.cos((_root["aso#56196"]["player" + _arg2]["aso#51599"]._rotation + 180) * aso#33632) * _root["aso#56196"]["player" + _arg2]["aso#51599"]["aso#89896"]._y) * sc), aso#66361 * 0.5, aso#97698 * 0.5);
}
} else {
_root["aso#56196"]["player" + _arg2]["aso#44218"]._visible = false;
}
aso#91709[p_body] = _arg2;
aso#91709[p_arm1] = _arg2;
aso#91709[p_body_div1] = _arg2;
aso#91709[p_body_div2] = _arg2;
aso#91709[p_subleg1] = _arg2;
aso#91709[p_subleg2] = _arg2;
aso#91709[p_subarm1] = _arg2;
aso#91709[p_subarm2] = _arg2;
if (_root["aso#56196"]["player" + _arg2]["aso#20262"] == 0) {
aso#91709[p_gun] = -1;
aso#91709[p_subgun] = -1;
}
aso#91709[p_head] = _arg2;
aso#91709[p_subhead] = _arg2;
ch_leg1 = aso#88925(p_body, p_subleg1, 1, 28, 0.1);
ch_leg2 = aso#88925(p_body, p_subleg2, 1, 28, 0.1);
if (body_break) {
ch_head = aso#88925(p_body, p_body_div1, 0);
ch_head3 = aso#88925(p_arm1, p_body_div2, 0);
aso#88925(p_body_div2, p_subhead, 0);
aso#88925(p_body_div1, p_subleg2, 1, 40);
aso#88925(p_body_div1, p_subleg1, 1, 40);
} else {
aso#88925(p_body, p_arm1, 0);
ch_head = aso#88925(p_body, p_head, 0);
aso#88925(p_arm1, p_subleg2, 1, 45);
aso#88925(p_arm1, p_subleg1, 1, 45);
aso#88925(p_body, p_subhead, 1, 35);
}
ch_leg1 = aso#88925(p_body, p_subleg1, 2, 33);
ch_leg2 = aso#88925(p_body, p_subleg2, 2, 33);
aso#88925(p_arm1, p_head, 0);
ch_head2 = aso#88925(p_head, p_subhead, 0);
_root["aso#56196"]["player" + _arg2]["aso#59951"] = p_arm1;
_root["aso#56196"]["player" + _arg2].gunanchor = p_gun;
_root["aso#56196"]["player" + _arg2]["aso#07442"] = p_subarm2;
ch_arm1 = aso#88925(p_arm1, p_subarm1, 0);
ch_arm2 = aso#88925(p_arm1, p_subarm2, 0);
aso#88925(p_subleg2, p_subleg1, 2, 30);
aso#88925(p_subleg2, p_subleg1, 1, 5);
aso#88925(p_subarm2, p_subarm1, 1, 5);
side = _root["aso#56196"]["player" + _arg2]._xscale / 100;
if (_root["aso#56196"]["player" + _arg2]["aso#15665"] == "arm") {
aso#69566[p_subarm1] = aso#69566[p_subarm1] - (side * 5);
aso#69566[p_subarm2] = aso#69566[p_subarm2] - (side * 5);
aso#69566[p_body] = aso#69566[p_body] - (side * 5);
aso#69566[p_arm1] = aso#69566[p_arm1] + (side * 10);
if (Math.random() > 0.5) {
aso#69566[p_subleg1] = aso#69566[p_subleg1] - (side * 5);
} else {
aso#69566[p_subleg2] = aso#69566[p_subleg2] - (side * 5);
}
}
if (_root["aso#56196"]["player" + _arg2]["aso#15665"] == "aso#14273") {
aso#69566[p_arm1] = aso#69566[p_arm1] - (side * 20);
aso#63577[p_arm1] = aso#63577[p_arm1] - 5;
aso#69566[p_body] = aso#69566[p_body] - (side * 10);
aso#63577[p_body] = aso#63577[p_body] - 5;
if (Math.random() > 0.5) {
aso#69566[p_subleg2] = aso#69566[p_subleg2] + (side * 10);
aso#63577[p_subleg2] = aso#63577[p_subleg2] - 10;
} else {
aso#69566[p_subleg1] = aso#69566[p_subleg1] + (side * 10);
aso#63577[p_subleg1] = aso#63577[p_subleg1] - 10;
}
}
if (_root["aso#56196"]["player" + _arg2]["aso#15665"] == "leg") {
if (Math.random() > 0.5) {
aso#69566[p_subleg1] = aso#69566[p_subleg1] - (side * 10);
aso#63577[p_subleg1] = aso#63577[p_subleg1] - 10;
} else {
aso#69566[p_subleg2] = aso#69566[p_subleg2] - (side * 10);
aso#63577[p_subleg2] = aso#63577[p_subleg2] - 10;
}
if (Math.random() > 0.5) {
aso#69566[p_subleg2] = aso#69566[p_subleg2] + (side * 5);
} else {
aso#69566[p_subleg1] = aso#69566[p_subleg1] + (side * 5);
}
}
if (_root["aso#56196"]["player" + _arg2]["aso#15665"] == "body") {
if (Math.random() > 0.5) {
aso#69566[p_body] = aso#69566[p_body] - (side * 10);
aso#69566[p_subarm1] = aso#69566[p_subarm1] + (side * 3);
aso#69566[p_subarm2] = aso#69566[p_subarm2] + (side * 3);
if (Math.random() > 0.5) {
aso#69566[p_subleg1] = aso#69566[p_subleg1] + (side * 3);
aso#63577[p_subleg1] = aso#63577[p_subleg1] - 3;
} else {
aso#69566[p_subleg2] = aso#69566[p_subleg2] + (side * 3);
aso#63577[p_subleg2] = aso#63577[p_subleg2] - 3;
}
} else {
aso#69566[p_subarm1] = aso#69566[p_subarm1] - (side * 5);
aso#69566[p_subarm2] = aso#69566[p_subarm2] - (side * 5);
aso#69566[p_body] = aso#69566[p_body] + (side * 3);
aso#69566[p_subleg1] = aso#69566[p_subleg1] - (side * 5);
aso#69566[p_subleg2] = aso#69566[p_subleg2] + (side * 5);
}
}
if ((_root["aso#56196"]["player" + _arg2]["aso#20262"] == 0) || (_root["aso#56196"]["player" + _arg2]["aso#20262"] == 2)) {
ch_gun = aso#88925(p_gun, p_subgun, 0);
Set("aso#87533aso#87533", 0);
while (aso#87533aso#87533 < 2) {
aso#88925(p_subgun, p_subgun2, 0);
aso#88925(p_subgun, p_subgun3, 0);
aso#88925(p_subgun2, p_subgun3, 0);
aso#88925(p_gun, p_subgun2, 0);
aso#88925(p_gun, p_subgun3, 0);
aso#87533aso#87533++;
}
if ((_root["aso#56196"]["player" + _arg2]["aso#51599"]._visible == true) && (_root["aso#56196"]["player" + _arg2]["aso#20262"] == 1)) {
ch_gun2 = aso#88925(p2_gun, p2_subgun, 0);
Set("aso#87533aso#87533", 0);
while (aso#87533aso#87533 < 2) {
aso#88925(p2_subgun, p2_subgun2, 0);
aso#88925(p2_subgun, p2_subgun3, 0);
aso#88925(p2_subgun2, p2_subgun3, 0);
aso#88925(p2_gun, p2_subgun2, 0);
aso#88925(p2_gun, p2_subgun3, 0);
aso#87533aso#87533++;
}
}
}
if ((_root["aso#56196"]["player" + _arg2]["aso#20262"] == 0) || (_root["aso#56196"]["player" + _arg2]["aso#20262"] == 2)) {
if ((_root["aso#56196"]["player" + _arg2]["aso#51599"]._visible == true) && (_root["aso#56196"]["player" + _arg2]["aso#20262"] == 1)) {
_root["aso#56196"]["player" + _arg2].whold1 = aso#88925(p_subarm1, p_gun, 3);
_root["aso#56196"]["player" + _arg2].whold2 = aso#88925(p_subarm2, p2_gun, 3);
aso#88925(p_gun, p2_gun, 1, 10);
} else {
_root["aso#56196"]["player" + _arg2].whold1 = aso#88925(p_subarm1, p_gun, 3);
_root["aso#56196"]["player" + _arg2].whold2 = aso#88925(p_subarm2, p_gun, 3);
}
}
flip = _root["aso#56196"]["player" + _arg2]._xscale / 100;
if (flip < 0) {
aso#50207[p_body] = aso#50207[p_body] - _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_body] = aso#50207[p_body] * -1;
aso#50207[p_body] = aso#50207[p_body] + _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_arm1] = aso#50207[p_arm1] - _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_arm1] = aso#50207[p_arm1] * -1;
aso#50207[p_arm1] = aso#50207[p_arm1] + _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_subleg1] = aso#50207[p_subleg1] - _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_subleg1] = aso#50207[p_subleg1] * -1;
aso#50207[p_subleg1] = aso#50207[p_subleg1] + _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_subleg2] = aso#50207[p_subleg2] - _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_subleg2] = aso#50207[p_subleg2] * -1;
aso#50207[p_subleg2] = aso#50207[p_subleg2] + _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_subarm1] = aso#50207[p_subarm1] - _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_subarm1] = aso#50207[p_subarm1] * -1;
aso#50207[p_subarm1] = aso#50207[p_subarm1] + _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_subarm2] = aso#50207[p_subarm2] - _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_subarm2] = aso#50207[p_subarm2] * -1;
aso#50207[p_subarm2] = aso#50207[p_subarm2] + _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_head] = aso#50207[p_head] - _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_head] = aso#50207[p_head] * -1;
aso#50207[p_head] = aso#50207[p_head] + _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_subhead] = aso#50207[p_subhead] - _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_subhead] = aso#50207[p_subhead] * -1;
aso#50207[p_subhead] = aso#50207[p_subhead] + _root["aso#56196"]["player" + _arg2]._x;
if (body_break) {
aso#50207[p_body_div1] = aso#50207[p_body_div1] - _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_body_div1] = aso#50207[p_body_div1] * -1;
aso#50207[p_body_div1] = aso#50207[p_body_div1] + _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_body_div2] = aso#50207[p_body_div2] - _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_body_div2] = aso#50207[p_body_div2] * -1;
aso#50207[p_body_div2] = aso#50207[p_body_div2] + _root["aso#56196"]["player" + _arg2]._x;
}
if ((_root["aso#56196"]["player" + _arg2]["aso#20262"] == 0) || (_root["aso#56196"]["player" + _arg2]["aso#20262"] == 2)) {
aso#50207[p_gun] = aso#50207[p_gun] - _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_gun] = aso#50207[p_gun] * -1;
aso#50207[p_gun] = aso#50207[p_gun] + _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_subgun] = aso#50207[p_subgun] - _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_subgun] = aso#50207[p_subgun] * -1;
aso#50207[p_subgun] = aso#50207[p_subgun] + _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_subgun2] = aso#50207[p_subgun2] - _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_subgun2] = aso#50207[p_subgun2] * -1;
aso#50207[p_subgun2] = aso#50207[p_subgun2] + _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_subgun3] = aso#50207[p_subgun3] - _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p_subgun3] = aso#50207[p_subgun3] * -1;
aso#50207[p_subgun3] = aso#50207[p_subgun3] + _root["aso#56196"]["player" + _arg2]._x;
if ((_root["aso#56196"]["player" + _arg2]["aso#51599"]._visible == true) && (_root["aso#56196"]["player" + _arg2]["aso#20262"] == 1)) {
aso#50207[p2_gun] = aso#50207[p2_gun] - _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p2_gun] = aso#50207[p2_gun] * -1;
aso#50207[p2_gun] = aso#50207[p2_gun] + _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p2_subgun] = aso#50207[p2_subgun] - _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p2_subgun] = aso#50207[p2_subgun] * -1;
aso#50207[p2_subgun] = aso#50207[p2_subgun] + _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p2_subgun2] = aso#50207[p2_subgun2] - _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p2_subgun2] = aso#50207[p2_subgun2] * -1;
aso#50207[p2_subgun2] = aso#50207[p2_subgun2] + _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p2_subgun3] = aso#50207[p2_subgun3] - _root["aso#56196"]["player" + _arg2]._x;
aso#50207[p2_subgun3] = aso#50207[p2_subgun3] * -1;
aso#50207[p2_subgun3] = aso#50207[p2_subgun3] + _root["aso#56196"]["player" + _arg2]._x;
}
}
}
_root["aso#56196"]["player" + _arg2]._x = 0;
_root["aso#56196"]["player" + _arg2]._y = 0;
if (body_break) {
_root["aso#56196"]["player" + _arg2].jet = false;
if (_root["aso#56196"]["player" + _arg2]["aso#20262"] == 0) {
_root["aso#56196"]["player" + _arg2]["aso#82936"].toe.bloddy._visible = true;
}
if (_root["aso#56196"]["player" + _arg2]["aso#20262"] == 2) {
_root["aso#56196"]["player" + _arg2]["aso#82936"].toe.bloddy2._visible = true;
}
_root["aso#56196"]["player" + _arg2].body.gotoAndStop(5);
aso#12460(_root["aso#56196"]["player" + _arg2].body, ch_head3, 0, flip);
} else {
aso#12460(_root["aso#56196"]["player" + _arg2].body, ch_head, 0, flip);
}
if (body_break) {
aso#12460(_root["aso#56196"]["player" + _arg2]["aso#82936"].toe, ch_head, 0, flip);
} else {
aso#12460(_root["aso#56196"]["player" + _arg2]["aso#82936"].toe, ch_head, 0, flip);
}
aso#12460(_root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#55775"], ch_leg1, 180, flip, true);
aso#12460(_root["aso#56196"]["player" + _arg2]["aso#82936"]["aso#87112"], ch_leg2, 180, flip, true);
aso#12460(_root["aso#56196"]["player" + _arg2].arm1, ch_arm1, 180, flip);
aso#12460(_root["aso#56196"]["player" + _arg2].arm2, ch_arm2, 180, flip);
aso#12460(_root["aso#56196"]["player" + _arg2]["aso#14273"], ch_head2, 0, flip);
if ((_root["aso#56196"]["player" + _arg2]["aso#20262"] == 0) || (_root["aso#56196"]["player" + _arg2]["aso#20262"] == 2)) {
if (flip > 0) {
aso#12460(_root["aso#56196"]["player" + _arg2]["aso#44218"], ch_gun, -90, flip);
} else {
aso#12460(_root["aso#56196"]["player" + _arg2]["aso#44218"], ch_gun, 90, flip);
}
if ((_root["aso#56196"]["player" + _arg2]["aso#51599"]._visible == true) && (_root["aso#56196"]["player" + _arg2]["aso#20262"] == 1)) {
if (flip > 0) {
aso#12460(_root["aso#56196"]["player" + _arg2]["aso#51599"], ch_gun2, -90, flip);
} else {
aso#12460(_root["aso#56196"]["player" + _arg2]["aso#51599"], ch_gun2, 90, flip);
}
}
}
_root["aso#56196"]["player" + _arg2]._xscale = 100;
}
function aso#41984(px, py, mast, _arg6, _arg3, _arg2) {
ok = true;
ip = 0;
while ((ip < pulstot) && (ok)) {
if (_root["aso#56196"]["pl" + ip]._visible == false) {
ok = false;
ini = ip;
}
ip++;
}
if (ok) {
ini = pulstot;
}
duplicateMovieClip (_root["aso#56196"].plazma, "pl" + ini, -100 + ini);
_root["aso#56196"]["pl" + ini].life = 0;
_root["aso#56196"]["pl" + ini]._x = px + _arg3;
_root["aso#56196"]["pl" + ini]._y = py + _arg2;
_root["aso#56196"]["pl" + ini]["aso#08284"] = _arg6;
_root["aso#56196"]["pl" + ini]["aso#21654"] = _arg3;
_root["aso#56196"]["pl" + ini]["aso#84328"] = _arg2;
_root["aso#56196"]["pl" + ini]["aso#99090"] = mast;
_root["aso#56196"]["pl" + ini].gotoAndStop(_root["aso#56196"]["player" + mast]["aso#44218"]._currentframe);
_root["aso#56196"]["pl" + ini]._rotation = (Math.atan2(_arg2, _arg3) / Math.PI) * 180;
if (ok) {
pulstot++;
if (pulstot >= pulsmax) {
pulstot = 0;
}
}
}
function aso#88504(_arg3, _arg2, _arg5, _arg4) {
ok = true;
Set("aso#31398", (-Math.atan2(_arg3 - _arg5, _arg2 - _arg4)) - (Math.PI/2));
tracex = Math.cos(aso#31398) * 20;
tracey = Math.sin(aso#31398) * 20;
tracx = _arg3;
tracy = _arg2;
dst = Math.floor(aso#90317(_arg3, _arg2, _arg5, _arg4) / 20);
z = 0;
while ((z < dst) && (ok == true)) {
if (_root["aso#56196"].colmap.hitTest(tracx + _root["aso#56196"]._x, tracy + _root["aso#56196"]._y, true)) {
ok = false;
}
tracx = tracx + tracex;
tracy = tracy + tracey;
z++;
}
return(ok);
}
function finish() {
if ((_root["aso#56196"].player0["aso#12881"] > 0) && (_root.loose == 0)) {
Set("aso#26251", 1);
while (aso#26251 < 10) {
my_so.data["weapon" + aso#26251] = _root["aso#56196"].player0["w_upg" + aso#26251];
aso#26251++;
}
stpsnds();
_root.auto_buy = true;
_root.gotoAndStop(4);
}
}
function aso#86691(hor, ver, a) {
hor = Math.abs(hor) * 0.5;
ver = Math.abs(ver) * 0.5;
if (hor > (ver + 2)) {
_root["aso#56196"]["player" + aso#91709[a]].sou.gotoAndStop(9);
} else {
if (ver > 2) {
if (ver <= 3) {
_root["aso#56196"]["player" + aso#91709[a]].sou.gotoAndStop(7);
}
}
if (ver > 3) {
if (ver <= 4) {
_root["aso#56196"]["player" + aso#91709[a]].sou.gotoAndStop(6);
}
}
if (ver > 4) {
_root["aso#56196"]["player" + aso#91709[a]].sou.gotoAndStop(8);
if (ver > 6) {
Blood(a, 10 + (Math.random() * 30), aso#91709[a]);
}
}
}
}
function aso#19841(mess) {
hinttim = (mess.length * 2) + 10;
_root.hint.htmlText = "Hint: " + mess;
}
function aso#10647(mess) {
hinttim = (mess.length * 2) + 10;
_root.hint.htmlText = mess;
}
function aso#95464() {
a = 0;
while (a < aso#54383) {
if (aso#45610[a] == true) {
aso#50207[a] = aso#50207[a] + aso#69566[a];
aso#32240[a] = aso#32240[a] + aso#63577[a];
if (aso#32240[a] > 1000) {
if (_root["aso#56196"]._currentframe == 11) {
aso#86691(aso#69566[a], aso#63577[a], a);
aso#32240[a] = 1000;
aso#63577[a] = aso#63577[a] * -0.5;
aso#69566[a] = aso#69566[a] * 0.9;
} else {
aso#69566[a] = aso#69566[a] * 0.9;
aso#63577[a] = aso#63577[a] * 0.9;
if (aso#32240[a] > 1200) {
aso#32240[a] = 1200;
aso#63577[a] = 0;
}
}
}
Set("aso#63156", aso#90317(aso#69566[a], aso#63577[a], 0, 0));
if (aso#63156 > aso#74713) {
aso#69566[a] = aso#69566[a] / (aso#63156 * aso#74713);
aso#63577[a] = aso#63577[a] / (aso#63156 * aso#74713);
}
if (aso#63156 > 30) {
aso#69566[a] = (aso#69566[a] / aso#63156) * 30;
aso#63577[a] = (aso#63577[a] / aso#63156) * 30;
}
aso#63577[a] = aso#63577[a] + aso#57167;
if (((aso#76526[a] == 0) && (_root["aso#56196"].colmap.hitTest(aso#50207[a] + _root["aso#56196"]._x, aso#32240[a] + _root["aso#56196"]._y, true))) || ((aso#76526[a] > 0) && (_root["aso#56196"].colmap.hitTest(aso#50207[a] + _root["aso#56196"]._x, (aso#32240[a] + aso#76526[a]) + _root["aso#56196"]._y, true)))) {
Set("aso#00903", 0);
while (aso#00903 < aso#64548) {
boxx = _root["aso#56196"].colmap["box" + aso#00903];
if (aso#50207[a] > boxx._x) {
if (aso#50207[a] < (boxx._x + boxx._xscale)) {
if ((aso#32240[a] + aso#76526[a]) > boxx._y) {
if ((aso#32240[a] + aso#76526[a]) < (boxx._y + boxx._yscale)) {
minside = Math.min(boxx._xscale, boxx._yscale);
if (boxx._yscale < boxx._xscale) {
Set("aso#19420", Math.max(boxx._x + (boxx._yscale / 2), Math.min((boxx._x + boxx._xscale) - (boxx._yscale / 2), aso#50207[a] - aso#69566[a])));
Set("aso#50757", boxx._y + (boxx._yscale / 2));
} else {
Set("aso#50757", Math.max(boxx._y + (boxx._xscale / 2), Math.min((boxx._y + boxx._yscale) - (boxx._xscale / 2), aso#32240[a] - aso#63577[a])));
Set("aso#19420", boxx._x + (boxx._xscale / 2));
}
Set("aso#65940", (aso#19420 - aso#50207[a]) + aso#69566[a]);
Set("aso#46581", (aso#50757 - aso#32240[a]) + aso#63577[a]);
if (Math.abs(aso#65940) > Math.abs(aso#46581)) {
aso#69566[a] = aso#69566[a] * 0.5;
if (around[a]) {
aso#63577[a] = aso#63577[a] * 0.9;
} else if (aso#63577[a] > 0) {
aso#63577[a] = Math.max(aso#63577[a] - (aso#04658 * Math.abs(aso#69566[a])), 0);
} else {
aso#63577[a] = Math.min(aso#63577[a] + (aso#04658 * Math.abs(aso#69566[a])), 0);
}
aso#86691(aso#63577[a], aso#69566[a], a);
if (aso#65940 < 0) {
aso#50207[a] = boxx._x + boxx._xscale;
aso#69566[a] = Math.abs(aso#69566[a]);
} else {
aso#50207[a] = boxx._x;
aso#69566[a] = -Math.abs(aso#69566[a]);
}
} else {
if (around[a]) {
aso#69566[a] = aso#69566[a] * 0.9;
} else if (aso#69566[a] > 0) {
aso#69566[a] = Math.max(aso#69566[a] - (aso#04658 * Math.abs(aso#63577[a])), 0);
} else {
aso#69566[a] = Math.min(aso#69566[a] + (aso#04658 * Math.abs(aso#63577[a])), 0);
}
aso#63577[a] = aso#63577[a] * 0.5;
aso#86691(aso#69566[a], aso#63577[a], a);
if (aso#46581 < 0) {
aso#32240[a] = (boxx._y - aso#76526[a]) + boxx._yscale;
aso#63577[a] = Math.abs(aso#63577[a]);
} else {
aso#32240[a] = boxx._y - aso#76526[a];
aso#63577[a] = -Math.abs(aso#63577[a]);
}
}
}
}
}
}
aso#00903++;
}
}
}
a++;
}
Set("aso#06892", 0);
while (aso#06892 < aso#00482) {
if ((aso#13852[aso#06892] == true) || (aso#13852[aso#06892] == false)) {
if ((aso#45610[aso#39621[aso#06892]] == false) && (aso#45610[aso#64969[aso#06892]] == false)) {
aso#13852[aso#06892] = false;
} else {
aso#13852[aso#06892] = true;
}
if ((aso#45610[aso#39621[aso#06892]] == 2) || (aso#45610[aso#64969[aso#06892]] == 2)) {
aso#13852[aso#06892] = 2;
}
if (aso#13852[aso#06892] == true) {
els = false;
if ((((Math.abs(aso#69566[aso#39621[aso#06892]]) + Math.abs(aso#63577[aso#39621[aso#06892]])) + Math.abs(aso#69566[aso#64969[aso#06892]])) + Math.abs(aso#63577[aso#64969[aso#06892]])) < 5) {
aso#79310[aso#06892] = aso#79310[aso#06892] + 1;
if (aso#79310[aso#06892] > 8) {
aso#45610[aso#39621[aso#06892]] = false;
aso#45610[aso#64969[aso#06892]] = false;
aso#13852[aso#06892] = false;
}
} else {
els = true;
}
Set("aso#94914", aso#90317(aso#50207[aso#39621[aso#06892]], aso#32240[aso#39621[aso#06892]], aso#50207[aso#64969[aso#06892]], aso#32240[aso#64969[aso#06892]]));
Set("aso#21233", (0.5 * Math.abs(aso#94914 - aso#30427[aso#06892])) * aso#35995[aso#06892]);
if (aso#94914 < 1) {
Set("aso#94914", 1);
}
if (aso#48394[aso#06892] == 3) {
if ((aso#94914 > (aso#30427[aso#06892] + 14)) || (aso#94914 < (aso#30427[aso#06892] - 14))) {
aso#48394[aso#06892] = 1;
aso#30427[aso#06892] = 0;
}
}
if (aso#48394[aso#06892] == 4) {
if ((aso#94914 > (aso#30427[aso#06892] + 7)) || (aso#94914 < (aso#30427[aso#06892] - 7))) {
aso#48394[aso#06892] = 1;
aso#30427[aso#06892] = 0;
}
}
if ((aso#94914 > aso#30427[aso#06892]) && ((((aso#48394[aso#06892] == 0) || (aso#48394[aso#06892] == 3)) || (aso#48394[aso#06892] == 4)) || (aso#48394[aso#06892] == 2))) {
aso#69566[aso#64969[aso#06892]] = aso#69566[aso#64969[aso#06892]] + (((aso#50207[aso#39621[aso#06892]] - aso#50207[aso#64969[aso#06892]]) / aso#94914) * aso#21233);
aso#63577[aso#64969[aso#06892]] = aso#63577[aso#64969[aso#06892]] + (((aso#32240[aso#39621[aso#06892]] - aso#32240[aso#64969[aso#06892]]) / aso#94914) * aso#21233);
aso#69566[aso#39621[aso#06892]] = aso#69566[aso#39621[aso#06892]] - (((aso#50207[aso#39621[aso#06892]] - aso#50207[aso#64969[aso#06892]]) / aso#94914) * aso#21233);
aso#63577[aso#39621[aso#06892]] = aso#63577[aso#39621[aso#06892]] - (((aso#32240[aso#39621[aso#06892]] - aso#32240[aso#64969[aso#06892]]) / aso#94914) * aso#21233);
} else if ((aso#94914 < aso#30427[aso#06892]) && ((((aso#48394[aso#06892] == 0) || (aso#48394[aso#06892] == 3)) || (aso#48394[aso#06892] == 4)) || (aso#48394[aso#06892] == 1))) {
aso#69566[aso#64969[aso#06892]] = aso#69566[aso#64969[aso#06892]] - (((aso#50207[aso#39621[aso#06892]] - aso#50207[aso#64969[aso#06892]]) / aso#94914) * aso#21233);
aso#63577[aso#64969[aso#06892]] = aso#63577[aso#64969[aso#06892]] - (((aso#32240[aso#39621[aso#06892]] - aso#32240[aso#64969[aso#06892]]) / aso#94914) * aso#21233);
aso#69566[aso#39621[aso#06892]] = aso#69566[aso#39621[aso#06892]] + (((aso#50207[aso#39621[aso#06892]] - aso#50207[aso#64969[aso#06892]]) / aso#94914) * aso#21233);
aso#63577[aso#39621[aso#06892]] = aso#63577[aso#39621[aso#06892]] + (((aso#32240[aso#39621[aso#06892]] - aso#32240[aso#64969[aso#06892]]) / aso#94914) * aso#21233);
} else {
els = false;
}
if ((aso#35995[aso#06892] == 1) && (((((aso#48394[aso#06892] == 0) || (aso#48394[aso#06892] == 3)) || (aso#48394[aso#06892] == 4)) || ((aso#94914 > aso#30427[aso#06892]) && (aso#48394[aso#06892] == 2))) || ((aso#94914 < aso#30427[aso#06892]) && (aso#48394[aso#06892] == 1)))) {
Set("aso#27643", (aso#50207[aso#39621[aso#06892]] + aso#50207[aso#64969[aso#06892]]) / 2);
Set("aso#58980", (aso#32240[aso#39621[aso#06892]] + aso#32240[aso#64969[aso#06892]]) / 2);
srx = (aso#69566[aso#64969[aso#06892]] + aso#69566[aso#39621[aso#06892]]) / 2;
sry = (aso#63577[aso#64969[aso#06892]] + aso#63577[aso#39621[aso#06892]]) / 2;
Set("aso#66361", (aso#69566[aso#64969[aso#06892]] + (-aso#69566[aso#39621[aso#06892]])) / 2);
Set("aso#97698", (aso#63577[aso#64969[aso#06892]] + (-aso#63577[aso#39621[aso#06892]])) / 2);
aso#69566[aso#64969[aso#06892]] = srx + aso#66361;
aso#63577[aso#64969[aso#06892]] = sry + aso#97698;
aso#69566[aso#39621[aso#06892]] = srx - aso#66361;
aso#63577[aso#39621[aso#06892]] = sry - aso#97698;
aso#50207[aso#39621[aso#06892]] = aso#27643 + (((aso#50207[aso#39621[aso#06892]] - aso#27643) * aso#30427[aso#06892]) / aso#94914);
aso#32240[aso#39621[aso#06892]] = aso#58980 + (((aso#32240[aso#39621[aso#06892]] - aso#58980) * aso#30427[aso#06892]) / aso#94914);
aso#50207[aso#64969[aso#06892]] = aso#27643 + (((aso#50207[aso#64969[aso#06892]] - aso#27643) * aso#30427[aso#06892]) / aso#94914);
aso#32240[aso#64969[aso#06892]] = aso#58980 + (((aso#32240[aso#64969[aso#06892]] - aso#58980) * aso#30427[aso#06892]) / aso#94914);
}
if (els) {
aso#79310[aso#06892] = 0;
aso#45610[aso#39621[aso#06892]] = true;
aso#45610[aso#64969[aso#06892]] = true;
}
}
} else {
aso#45610[aso#39621[aso#06892]] = 2;
aso#45610[aso#64969[aso#06892]] = 2;
}
aso#06892++;
}
}
var am_base_vol = 0;
var am_base_falkok_vol = 0;
var am_wind_vol = 0;
trace(_root.am_base);
if (_root.am_base == undefined) {
trace("MAKED");
_root.am_base = new Sound(_root.createEmptyMovieClip("m_am_base", -1001));
_root.am_falkok_base = new Sound(_root.createEmptyMovieClip("m_am_falkok_base", -1002));
_root.am_wind = new Sound(_root.createEmptyMovieClip("m_am_wind", -1003));
_root.am_base.attachSound("am_base");
_root.am_falkok_base.attachSound("am_falkok_base");
_root.am_wind.attachSound("am_wind");
}
_root.am_base.start(0, 10000);
_root.am_falkok_base.start(0, 10000);
_root.am_wind.start(0, 10000);
_root.am_base.setVolume(0);
_root.am_falkok_base.setVolume(0);
_root.am_wind.setVolume(0);
_root.money._visible = false;
_root.score._visible = false;
_root["aso#85720"] = 2;
_root.stop();
_root.loose = 0;
_root["aso#56196"].gotoAndStop(_root["aso#75134"]);
if (my_so.data.low_q) {
_root._quality = "LOW";
} else {
_root._quality = "MEDIUM";
}
_root.console._visible = false;
_root.console.exec.onPress = function () {
if (_root.console._visible) {
_root.console._visible = false;
if (_root.console.cons.text == "nextlv") {
_root["aso#75134"] = _root["aso#75134"] + 1;
_root["aso#56196"].player0["aso#12881"] = 0;
}
if (_root.console.cons.text == "kill") {
_root["aso#56196"].player0["aso#12881"] = -100;
}
if (((((_root.console.cons.text == "god") || (_root.console.cons.text == "godmode")) || (_root.console.cons.text == "noclip")) || (_root.console.cons.text == "iddqd")) || (_root.console.cons.text == "sv_cheats 1")) {
_root["aso#56196"].player0["aso#12881"] = -100;
_root["aso#56196"].player0["aso#75555"] = -40;
_root.aso#19841("No cheating, man! :D");
}
if (_root.console.cons.text == "pbsilentkill") {
_root["aso#56196"].player0["aso#12881"] = 0;
}
if (_root.console.cons.text == "pbteam 0") {
_root["aso#56196"].player0["aso#70958"] = 0;
}
if (_root.console.cons.text == "pbteam 1") {
_root["aso#56196"].player0["aso#70958"] = 1;
}
if (_root.console.cons.text == "pbteam 2") {
_root["aso#56196"].player0["aso#70958"] = 2;
}
if (_root.console.cons.text == "moreall") {
_root.wealevel = 6;
_root.grenades = 100;
_root.global_money = 10000;
my_so.data.money = 10000;
}
if (_root.console.cons.text == "morehp") {
_root["aso#56196"].player0["aso#12881"] = 10000;
}
}
};
var aso#33632 = (Math.PI/180);
_root.stat_kills = 0;
_root.stat_headshots = 0;
_root.stat_shots = 0;
if (my_so.data.lastlevel < _root["aso#75134"]) {
my_so.data.lastlevel = _root["aso#75134"];
}
var aso#57167 = 0.8;
var grenades = 0;
var aso#00061 = 8;
var aso#50207 = new Array();
var aso#32240 = new Array();
var aso#69566 = new Array();
var aso#63577 = new Array();
var aso#45610 = new Array();
var aso#91709 = new Array();
var aso#76526 = new Array();
var around = new Array();
var screenX = 800;
var screenY = 400;
var playerhmax = 400;
var hscreenX = 400;
var hscreenY = 200;
var aso#77918 = 0;
var fire = false;
var hinttim = 0;
var aso#23046 = 0;
var grenadetim = 0;
var aso#48394 = new Array();
var aso#39621 = new Array();
var aso#64969 = new Array();
var aso#30427 = new Array();
var aso#35995 = new Array();
var aso#13852 = new Array();
var aso#79310 = new Array();
var aso#58138 = 0.5;
var aso#04658 = 0.6;
var aso#49786 = new Array();
var aso#40592 = new Array();
var aso#68724 = new Array();
var aso#06050 = new Array();
var aso#92680 = new Array();
var aso#45189 = 0;
var aso#55354 = new Array();
var emmit_i = new Array();
var aso#73321 = new Array();
var aso#09255 = 0;
var emmit2_i = new Array();
var emmit2_time = new Array();
var emmit2_x = new Array();
var emmit2_y = new Array();
var emmit2_tot = 0;
_root["aso#56196"].blood._visible = false;
_root["aso#56196"].bloodm._visible = false;
_root["aso#56196"].bloodmetal._visible = false;
_root["aso#56196"].bloodf._visible = false;
_root["aso#56196"].iskra._visible = false;
_root["aso#56196"].blood.gotoAndStop(1);
_root["aso#56196"].bloodf.gotoAndStop(1);
_root["aso#56196"].bloodm.gotoAndStop(1);
_root["aso#56196"].bloodmetal.gotoAndStop(1);
_root["aso#56196"].iskra.gotoAndStop(1);
_root["aso#56196"].men._visible = false;
_root["aso#56196"].enemy._visible = false;
_root["aso#56196"].falkok._visible = false;
_root["aso#56196"].men.gotoAndStop(1);
_root["aso#56196"].enemy.gotoAndStop(1);
_root["aso#56196"].falkok.gotoAndStop(1);
_root["aso#56196"].men["aso#82936"].gotoAndStop(1);
_root["aso#56196"].enemy["aso#82936"].gotoAndStop(1);
_root["aso#56196"].falkok["aso#82936"].gotoAndStop(1);
_root["aso#56196"].end._visible = false;
_root["aso#56196"].gilza._visible = false;
_root["aso#56196"].gilza2._visible = false;
_root["aso#56196"].gilza.disabled = true;
_root["aso#56196"].gilza2.disabled = true;
_root["aso#56196"].smoke._visible = false;
_root["aso#56196"].sprs.spr._visible = false;
_root["aso#56196"].rock._visible = false;
var aso#64548 = 0;
var barrelstotal = 0;
var heatotal = 0;
var x;
var y;
var aso#87533;
var aso#26251;
var aso#52991;
var aso#00903;
Set("aso#00903", 0);
while (aso#00903 < 100) {
if (_root["aso#56196"].colmap["box" + aso#00903]) {
Set("aso#64548", aso#64548 + 1);
} else {
Set("aso#00903", 100);
}
aso#00903++;
}
Set("aso#00903", 0);
while (aso#00903 < 100) {
if (_root["aso#56196"]["barrel" + aso#00903]) {
barrelstotal = barrelstotal + 1;
} else {
Set("aso#00903", 100);
}
aso#00903++;
}
Set("aso#00903", 0);
while (aso#00903 < 100) {
if (_root["aso#56196"]["medikit" + aso#00903]) {
heatotal = heatotal + 1;
} else {
Set("aso#00903", 100);
}
aso#00903++;
}
var playerstot = 0;
var monsterstot = 0;
var falkokstot = 0;
Set("aso#87533", 0);
while (aso#87533 < 100) {
if (_root["aso#56196"]["start" + aso#87533]) {
playerstot = playerstot + 1;
_root["aso#56196"]["start" + aso#87533]._visible = false;
} else {
Set("aso#87533", 100);
}
aso#87533++;
}
Set("aso#87533", 0);
while (aso#87533 < 100) {
if (_root["aso#56196"]["mon" + aso#87533]) {
monsterstot = monsterstot + 1;
_root["aso#56196"]["mon" + aso#87533]._visible = false;
} else {
Set("aso#87533", 100);
}
aso#87533++;
}
Set("aso#87533", 0);
while (aso#87533 < 100) {
if (_root["aso#56196"]["fal" + aso#87533]) {
falkokstot = falkokstot + 1;
_root["aso#56196"]["fal" + aso#87533]._visible = false;
} else {
Set("aso#87533", 100);
}
aso#87533++;
}
var aso#09676 = 0;
var maxef = 128;
var aso#82094 = ((2 * _root.opt_eff) / 3);
var sprtot = 0;
var aso#54383 = 0;
var aso#00482 = 0;
var grenades = 3;
var aso#37387 = _root["aso#56196"].men["aso#44218"]._xscale;
Set("aso#87533", 0);
while (aso#87533 < playerstot) {
if ((aso#87533 == 0) && (monstermode)) {
duplicateMovieClip (_root["aso#56196"].enemy, "player" + aso#87533, aso#87533);
} else {
duplicateMovieClip (_root["aso#56196"].men, "player" + aso#87533, aso#87533);
}
_root["aso#56196"]["player" + aso#87533].myi = aso#87533;
_root["aso#56196"]["player" + aso#87533].filters = _root["aso#56196"].men.filters;
_root["aso#56196"]["player" + aso#87533]._x = _root["aso#56196"]["start" + aso#87533]._x;
_root["aso#56196"]["player" + aso#87533]._y = _root["aso#56196"]["start" + aso#87533]._y;
_root["aso#56196"]["player" + aso#87533].getdown = false;
if (aso#87533 == 0) {
_root["aso#56196"]["player" + aso#87533].getdown = true;
}
_root["aso#56196"]["player" + aso#87533].easymove = 1;
_root["aso#56196"]["player" + aso#87533].w_upg1 = 0;
_root["aso#56196"]["player" + aso#87533].w_upg2 = 0;
_root["aso#56196"]["player" + aso#87533].w_upg3 = 0;
_root["aso#56196"]["player" + aso#87533].w_upg4 = 0;
_root["aso#56196"]["player" + aso#87533].w_upg5 = 0;
_root["aso#56196"]["player" + aso#87533].w_upg6 = 0;
_root["aso#56196"]["player" + aso#87533].w_upg7 = 0;
_root["aso#56196"]["player" + aso#87533].w_upg8 = 0;
_root["aso#56196"]["player" + aso#87533].w_upg9 = 0;
_root["aso#56196"]["player" + aso#87533].opentop = false;
if (aso#87533 == 0) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = playerhmax;
} else {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 100;
}
_root["aso#56196"]["player" + aso#87533].lhea = _root["aso#56196"]["player" + aso#87533]["aso#12881"];
_root["aso#56196"]["player" + aso#87533]["aso#60372"] = 0;
_root["aso#56196"]["player" + aso#87533]["aso#83907"] = 0;
if (aso#87533 != 0) {
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(1);
} else {
if (my_so.data["weapon" + my_so.data.lwea] != -1) {
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(my_so.data.lwea);
} else {
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(6);
}
aso#61343(aso#87533);
}
_root["aso#56196"]["player" + aso#87533]["aso#15665"] = "body";
_root["aso#56196"]["player" + aso#87533].sit = 0;
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = 0;
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = 0;
_root["aso#56196"]["player" + aso#87533].dead = false;
_root["aso#56196"]["player" + aso#87533]["aso#35024"] = false;
_root["aso#56196"]["player" + aso#87533].gotoAndPlay(2);
_root["aso#56196"]["player" + aso#87533]._visible = false;
if (aso#87533 == 0) {
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 4;
} else {
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 1;
}
if (aso#87533 == 0) {
_root["aso#56196"]["player" + aso#87533]["aso#70958"] = 0;
} else {
_root["aso#56196"]["player" + aso#87533]["aso#70958"] = 1;
}
_root["aso#56196"]["player" + aso#87533]["aso#20262"] = 0;
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(_root["aso#56196"]["player" + aso#87533]["aso#70958"] + 1);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(_root["aso#56196"]["player" + aso#87533]["aso#70958"] + 1);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(_root["aso#56196"]["player" + aso#87533]["aso#70958"] + 1);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(_root["aso#56196"]["player" + aso#87533]["aso#70958"] + 1);
_root["aso#56196"]["player" + aso#87533].hunt = -1;
if ((aso#87533 == 0) && (monstermode)) {
_root["aso#56196"]["player" + aso#87533]["aso#70958"] = 2;
_root["aso#56196"]["player" + aso#87533]["aso#20262"] = 1;
_root["aso#56196"]["player" + aso#87533].gotoAndPlay(2);
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(1);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(1);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(1);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(1);
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(10);
}
_root["aso#56196"]["player" + aso#87533]["aso#51599"].gotoAndStop(1);
_root["aso#56196"]["player" + aso#87533]["aso#51599"]._visible = false;
if (aso#87533 == 0) {
Set("aso#26251", 1);
while (aso#26251 < 10) {
_root["aso#56196"]["player" + aso#87533]["w_upg" + aso#26251] = my_so.data["weapon" + aso#26251];
aso#26251++;
}
if (_root["aso#56196"]["player" + aso#87533].w_upg8 > 2) {
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(6);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(7);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(7);
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 7;
}
if (_root["aso#56196"]["player" + aso#87533].w_upg7 == -1) {
_root["aso#56196"]["player" + aso#87533].opentop = true;
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(11);
}
if (_root["aso#56196"]["player" + aso#87533].w_upg7 == 1) {
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(12);
}
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 150 + (100 * _root["aso#56196"]["player" + aso#87533].w_upg8);
playerhmax = 150 + (100 * _root["aso#56196"]["player" + aso#87533].w_upg8);
aso#61343(aso#87533);
}
_root["aso#56196"]["start" + aso#87533].unloadMovie();
aso#87533++;
}
Set("aso#87533", playerstot);
while (aso#87533 < (playerstot + monsterstot)) {
duplicateMovieClip (_root["aso#56196"].enemy, "player" + aso#87533, aso#87533);
_root["aso#56196"]["player" + aso#87533].filters = _root["aso#56196"].men.filters;
_root["aso#56196"]["player" + aso#87533]._x = _root["aso#56196"]["mon" + (aso#87533 - playerstot)]._x;
_root["aso#56196"]["player" + aso#87533]._y = _root["aso#56196"]["mon" + (aso#87533 - playerstot)]._y;
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 300;
_root["aso#56196"]["player" + aso#87533].lhea = _root["aso#56196"]["player" + aso#87533]["aso#12881"];
_root["aso#56196"]["player" + aso#87533]["aso#60372"] = 0;
_root["aso#56196"]["player" + aso#87533]["aso#83907"] = 0;
_root["aso#56196"]["player" + aso#87533].easymove = 0.7;
_root["aso#56196"]["player" + aso#87533]["aso#15665"] = "body";
_root["aso#56196"]["player" + aso#87533]["aso#29035"] = 1;
_root["aso#56196"]["player" + aso#87533].sit = 0;
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = 0;
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = 0;
_root["aso#56196"]["player" + aso#87533].dead = false;
_root["aso#56196"]["player" + aso#87533]["aso#35024"] = false;
_root["aso#56196"]["player" + aso#87533].gotoAndPlay(2);
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(10);
_root["aso#56196"]["player" + aso#87533]._visible = false;
_root["aso#56196"]["player" + aso#87533].opentop = false;
_root["aso#56196"]["player" + aso#87533]["aso#70958"] = 2;
_root["aso#56196"]["player" + aso#87533]["aso#20262"] = 1;
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 2;
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(1);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(1);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(1);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(1);
_root["aso#56196"]["player" + aso#87533].hunt = -1;
_root["aso#56196"]["start" + aso#87533].unloadMovie();
aso#87533++;
}
playerstot = playerstot + monsterstot;
Set("aso#87533", playerstot);
while (aso#87533 < (playerstot + falkokstot)) {
duplicateMovieClip (_root["aso#56196"].falkok, "player" + aso#87533, aso#87533);
_root["aso#56196"]["player" + aso#87533].filters = _root["aso#56196"].men.filters;
_root["aso#56196"]["player" + aso#87533]._x = _root["aso#56196"]["fal" + (aso#87533 - playerstot)]._x;
_root["aso#56196"]["player" + aso#87533]._y = _root["aso#56196"]["fal" + (aso#87533 - playerstot)]._y;
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 250;
_root["aso#56196"]["player" + aso#87533].lhea = _root["aso#56196"]["player" + aso#87533]["aso#12881"];
_root["aso#56196"]["player" + aso#87533]["aso#60372"] = 0;
_root["aso#56196"]["player" + aso#87533]["aso#83907"] = 0;
_root["aso#56196"]["player" + aso#87533].easymove = 0.85;
_root["aso#56196"]["player" + aso#87533]["aso#15665"] = "body";
_root["aso#56196"]["player" + aso#87533]["aso#29035"] = 1;
_root["aso#56196"]["player" + aso#87533].sit = 0;
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = 0;
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = 0;
_root["aso#56196"]["player" + aso#87533].dead = false;
_root["aso#56196"]["player" + aso#87533]["aso#35024"] = false;
_root["aso#56196"]["player" + aso#87533].gotoAndPlay(2);
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(2);
_root["aso#56196"]["player" + aso#87533].w_upg2 = 2;
_root["aso#56196"]["player" + aso#87533]._visible = false;
_root["aso#56196"]["player" + aso#87533].opentop = false;
_root["aso#56196"]["player" + aso#87533]["aso#70958"] = 3;
_root["aso#56196"]["player" + aso#87533]["aso#20262"] = 2;
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 6;
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(1);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(1);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(1);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(1);
_root["aso#56196"]["player" + aso#87533].hunt = -1;
_root["aso#56196"]["start" + aso#87533].unloadMovie();
aso#87533++;
}
playerstot = playerstot + falkokstot;
_root["aso#56196"].plazma._visible = false;
pulstot = 0;
pulsmax = 32;
_root.glow._visible = false;
_root.glow._alpha = 0;
_root["aso#56196"]._x = ((-_root["aso#56196"].player0.body._x) - _root["aso#56196"].player0._x) + hscreenX;
_root["aso#56196"]._y = ((-_root["aso#56196"].player0.body._y) - _root["aso#56196"].player0._y) + hscreenY;
pspeed = 6;
function SHOT() {
if (aso#18870["aso#44218"].whea._currentframe == 1) {
aso#18870["aso#44218"].whea.gotoAndPlay(2);
if (aso#18870["aso#51599"]._visible == true) {
aso#18870["aso#51599"].whea.gotoAndPlay(2);
}
aso#18870.gotoAndPlay("fire");
if (aso#87533 == 0) {
if (aso#18870["aso#44218"]._currentframe != 6) {
_root.stat_shots++;
}
}
if (aso#18870["aso#44218"]._currentframe == 1) {
puli = 1;
Set("aso#51178", 3);
noise = 7;
}
if (aso#18870["aso#44218"]._currentframe == 2) {
puli = 1;
Set("aso#51178", 3);
if (aso#18870.w_upg2 == 0) {
noise = 5;
}
if (aso#18870.w_upg2 == 1) {
noise = 1;
}
if (aso#18870.w_upg2 == 2) {
noise = 2;
}
}
if (aso#18870["aso#44218"]._currentframe == 3) {
puli = 2;
Set("aso#51178", 4);
noise = 20;
if (aso#18870.w_upg3 == 1) {
noise = 12;
}
if (aso#18870.w_upg3 == 2) {
noise = 12;
puli = 3;
}
}
if ((aso#18870["aso#44218"]._currentframe == 5) || (aso#18870["aso#44218"]._currentframe == 12)) {
puli = 4;
Set("aso#51178", 3);
noise = 10;
if (aso#18870["aso#44218"]._currentframe == 12) {
puli = 1;
}
}
if (aso#18870["aso#44218"]._currentframe == 7) {
puli = 0;
Set("aso#51178", -1);
noise = 0;
}
if (aso#18870["aso#44218"]._currentframe == 6) {
puli = 0;
Set("aso#51178", -1);
noise = 0;
Set("aso#26251", 0);
while (aso#26251 < playerstot) {
Set("aso#57588", _root["aso#56196"]["player" + aso#26251]);
if (aso#87533 != aso#26251) {
if (aso#57588["aso#12881"] > 0) {
if ((((aso#18870["aso#70958"] == aso#57588["aso#70958"]) && (aso#57588["aso#70958"] != 0)) && (aso#57588["aso#70958"] != 3)) || (aso#18870["aso#70958"] != aso#57588["aso#70958"])) {
if (aso#18870["aso#44218"].hitTest(aso#57588)) {
if (aso#57588["aso#12881"] < 50) {
aso#57588["aso#12881"] = 0;
} else {
aso#57588["aso#12881"] = aso#57588["aso#12881"] - 50;
}
aso#57588["aso#15665"] = "none";
if (aso#57588["aso#12881"] > 0) {
aso#57588.gotoAndPlay("hurt");
aso#57588.hunt = aso#87533;
aso#57588["aso#93101"] = aso#57588["aso#93101"] + 20;
}
}
}
}
}
aso#26251++;
}
}
if (aso#18870["aso#44218"]._currentframe == 9) {
puli = 1;
Set("aso#51178", 3);
noise = 1;
}
if (aso#18870["aso#44218"]._currentframe == 10) {
puli = 2;
Set("aso#51178", 6);
noise = 20;
}
if (aso#18870["aso#44218"]._currentframe == 11) {
puli = 1;
Set("aso#51178", 3);
noise = 20;
}
if ((aso#18870["aso#44218"]._currentframe == 4) || (aso#18870["aso#44218"]._currentframe == 13)) {
puli = 0;
Set("aso#51178", -1);
noise = 30;
rn = Math.random();
duplicateMovieClip (_root["aso#56196"].rocket, "aso#94493" + aso#23046, 400 + aso#23046);
_root["aso#56196"]["aso#94493" + aso#23046]._x = aso#18870._x + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100);
_root["aso#56196"]["aso#94493" + aso#23046]._y = aso#18870._y + aso#18870["aso#44218"]._y;
_root["aso#56196"]["aso#94493" + aso#23046]["aso#38229"] = Math.cos(aso#79731) * 10;
_root["aso#56196"]["aso#94493" + aso#23046]["aso#75555"] = Math.sin(aso#79731) * 10;
_root["aso#56196"]["aso#94493" + aso#23046]["aso#94072"] = 0;
_root["aso#56196"]["aso#94493" + aso#23046]["aso#25409"] = 0;
_root["aso#56196"]["aso#94493" + aso#23046]["aso#99090"] = aso#87533;
Set("aso#23046", aso#23046 + 1);
}
aso#18870["aso#93101"] = aso#18870["aso#93101"] + noise;
if (aso#51178 != -1) {
aso#76947(aso#18870._x + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100), aso#18870._y + aso#18870["aso#44218"]._y, aso#51178);
}
px = aso#18870._x + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100);
py = aso#18870._y + aso#18870["aso#44218"]._y;
p = 0;
while (p < puli) {
sm = 0;
Set("aso#08284", 0);
if (aso#18870["aso#44218"]._currentframe == 1) {
sm = -0.02 + (Math.random() * 0.04);
if (aso#18870.w_upg1 == 0) {
Set("aso#08284", 0.3);
} else if (aso#18870.w_upg1 == 1) {
Set("aso#08284", 0.8);
} else {
Set("aso#08284", 0.8);
}
}
if (aso#18870["aso#44218"]._currentframe == 2) {
sm = -0.05 + (Math.random() * 0.1);
Set("aso#08284", 0.5);
if (aso#18870.w_upg2 == 2) {
Set("aso#08284", 0.9);
}
}
if (aso#18870["aso#44218"]._currentframe == 3) {
sm = -0.05 + (Math.random() * 0.1);
Set("aso#08284", 1.5);
}
if ((aso#18870["aso#44218"]._currentframe == 5) || (aso#18870["aso#44218"]._currentframe == 12)) {
sm = -0.04 + (Math.random() * 0.08);
Set("aso#08284", 1);
if (aso#18870.w_upg5 == 1) {
Set("aso#08284", 1.5);
}
if (aso#18870.w_upg5 == 2) {
Set("aso#08284", 2);
}
}
if (aso#18870["aso#44218"]._currentframe == 9) {
sm = -0.05 + (Math.random() * 0.1);
Set("aso#08284", 1.3);
}
if (aso#18870["aso#44218"]._currentframe == 10) {
sm = -0.015 + (Math.random() * 0.03);
Set("aso#08284", 0.7);
}
if (aso#18870["aso#44218"]._currentframe == 11) {
sm = -0.015 + (Math.random() * 0.03);
Set("aso#08284", 1);
}
if (aso#18870.dead) {
Set("aso#21654", ((Math.cos(((aso#18870["aso#44218"]._rotation / 180) * Math.PI) + sm) * 10) * aso#18870["aso#44218"]._xscale) / 50);
Set("aso#84328", (-Math.sin(((aso#18870["aso#44218"]._rotation / 180) * Math.PI) + sm)) * 10);
} else {
Set("aso#21654", Math.cos(aso#79731 + sm) * 10);
Set("aso#84328", Math.sin(aso#79731 + sm) * 10);
}
if (aso#18870["aso#44218"]._currentframe == 3) {
if (p == 0) {
aso#41984(px + Math.sin(aso#79731), py + Math.cos(aso#79731), aso#87533, aso#08284, aso#21654, aso#84328);
} else {
aso#41984(px - Math.sin(aso#79731), py - Math.cos(aso#79731), aso#87533, aso#08284, aso#21654, aso#84328);
}
} else {
aso#41984(px, py, aso#87533, aso#08284, aso#21654, aso#84328);
}
p++;
}
if (aso#18870.dead) {
aso#69566[aso#39621[aso#18870.whold1]] = aso#69566[aso#39621[aso#18870.whold1]] - (aso#21654 * aso#08284);
aso#63577[aso#39621[aso#18870.whold1]] = aso#63577[aso#39621[aso#18870.whold1]] - (aso#84328 * aso#08284);
aso#69566[aso#64969[aso#18870.whold1]] = aso#69566[aso#64969[aso#18870.whold1]] - ((10 - (Math.random() * 20)) * aso#08284);
aso#63577[aso#64969[aso#18870.whold1]] = aso#63577[aso#64969[aso#18870.whold1]] - ((10 - (Math.random() * 20)) * aso#08284);
}
}
}
function aso#26801() {
pl = 0;
while (pl < pulsmax) {
if (_root["aso#56196"]["pl" + pl]._visible == true) {
Set("aso#81544", _root["aso#56196"]["pl" + pl]);
aso#81544._x = aso#81544._x + (aso#81544["aso#21654"] * pspeed);
aso#81544._y = aso#81544._y + (aso#81544["aso#84328"] * pspeed);
aso#81544.life++;
if (aso#81544.life > 20) {
aso#81544._visible = false;
}
Set("aso#26251", 0);
while (aso#26251 < playerstot) {
Set("aso#57588", _root["aso#56196"]["player" + aso#26251]);
if (((((aso#57588.dead && (aso#81544._x < (aso#57588.body._x + 400))) && (aso#81544._x > (aso#57588.body._x - 400))) && (aso#81544._y < (aso#57588.body._y + 400))) && (aso#81544._y > (aso#57588.body._y - 400))) || (((((!aso#57588.dead) && (aso#81544._x < (aso#57588._x + 200))) && (aso#81544._x > (aso#57588._x - 200))) && (aso#81544._y < (aso#57588._y + 100))) && (aso#81544._y > (aso#57588._y - 300)))) {
if (((aso#57588["aso#12881"] <= 0) || (((_root["aso#56196"]["player" + aso#81544["aso#99090"]]["aso#70958"] == aso#57588["aso#70958"]) && (aso#57588["aso#70958"] != 0)) && (aso#57588["aso#70958"] != 3))) || (_root["aso#56196"]["player" + aso#81544["aso#99090"]]["aso#70958"] != aso#57588["aso#70958"])) {
if (aso#81544["aso#99090"] != aso#26251) {
Set("aso#41013", pspeed - 1);
while (aso#41013 >= 0) {
if (aso#57588.hitTest((aso#81544._x - (aso#81544["aso#21654"] * aso#41013)) + _root["aso#56196"]._x, (aso#81544._y - (aso#81544["aso#84328"] * aso#41013)) + _root["aso#56196"]._y, true)) {
if (aso#81544["aso#08284"] >= 0.2) {
type = 1;
if ((aso#57588["aso#12881"] <= 0) && aso#57588.dead) {
tt = 0;
a = 0;
while (a < aso#54383) {
if ((aso#45610[a] == true) || (aso#45610[a] == false)) {
if (aso#90317(aso#50207[a], aso#32240[a], aso#81544._x, aso#81544._y) < 60) {
tt++;
}
}
a++;
}
a = 0;
while (a < aso#54383) {
if ((aso#45610[a] == true) || (aso#45610[a] == false)) {
if (aso#90317(aso#50207[a], aso#32240[a], aso#81544._x, aso#81544._y) < 60) {
aso#69566[a] = aso#69566[a] + ((aso#81544["aso#21654"] * aso#81544["aso#08284"]) / tt);
aso#63577[a] = aso#63577[a] + ((aso#81544["aso#84328"] * aso#81544["aso#08284"]) / tt);
aso#45610[a] = true;
if (aso#90317(aso#50207[a], aso#32240[a], aso#81544._x, aso#81544._y) < 15) {
Blood(a, 30, aso#91709[a]);
}
}
}
a++;
}
}
Set("aso#25830", 1);
if (aso#26251 == 0) {
if (my_so.data.opt_bot == 2) {
Set("aso#25830", 0.5);
}
if (my_so.data.opt_bot == 1) {
Set("aso#25830", 0.25);
}
if ((my_so.data.opt_bot == 1) || (my_so.data.opt_bot == 2)) {
if (_root["aso#56196"]._currentframe < 5) {
if (aso#57588["aso#12881"] < 50) {
Set("aso#25830", aso#25830 * 0.5);
}
} else if (_root["aso#56196"]._currentframe < 7) {
if (aso#57588["aso#12881"] < 25) {
Set("aso#25830", aso#25830 * 0.5);
}
}
}
}
if (aso#57588["aso#14273"].hitTest((aso#81544._x - (aso#81544["aso#21654"] * aso#41013)) + _root["aso#56196"]._x, (aso#81544._y - (aso#81544["aso#84328"] * aso#41013)) + _root["aso#56196"]._y, true)) {
aso#57588["aso#15665"] = "aso#14273";
if (aso#57588.opentop) {
aso#57588["aso#12881"] = aso#57588["aso#12881"] - ((200 * aso#81544["aso#08284"]) * aso#25830);
} else if (aso#87533 == 0) {
if (aso#57588.w_upg7 == 0) {
aso#57588["aso#12881"] = aso#57588["aso#12881"] - ((70 * aso#81544["aso#08284"]) * aso#25830);
} else if (aso#57588.w_upg7 == 1) {
aso#57588["aso#12881"] = aso#57588["aso#12881"] - ((40 * aso#81544["aso#08284"]) * aso#25830);
} else {
aso#57588["aso#12881"] = aso#57588["aso#12881"] - ((70 * aso#81544["aso#08284"]) * aso#25830);
}
} else {
aso#57588["aso#12881"] = aso#57588["aso#12881"] - ((110 * aso#81544["aso#08284"]) * aso#25830);
}
type = 2;
if (aso#81544["aso#99090"] == 0) {
if (aso#57588.lhea > 0) {
if (aso#57588["aso#12881"] <= 0) {
aso#10647("Headshot!");
_root.stat_headshots = _root.stat_headshots + 1;
}
}
}
} else if (aso#57588.body.hitTest((aso#81544._x - (aso#81544["aso#21654"] * aso#41013)) + _root["aso#56196"]._x, (aso#81544._y - (aso#81544["aso#84328"] * aso#41013)) + _root["aso#56196"]._y, true)) {
aso#57588["aso#12881"] = aso#57588["aso#12881"] - ((30 * aso#81544["aso#08284"]) * aso#25830);
aso#57588["aso#15665"] = "body";
} else if (aso#57588.arm1.hitTest((aso#81544._x - (aso#81544["aso#21654"] * aso#41013)) + _root["aso#56196"]._x, (aso#81544._y - (aso#81544["aso#84328"] * aso#41013)) + _root["aso#56196"]._y, true) || aso#57588.arm2.hitTest((aso#81544._x - (aso#81544["aso#21654"] * aso#41013)) + _root["aso#56196"]._x, (aso#81544._y - (aso#81544["aso#84328"] * aso#41013)) + _root["aso#56196"]._y, true)) {
aso#57588["aso#12881"] = aso#57588["aso#12881"] - ((35 * aso#81544["aso#08284"]) * aso#25830);
aso#57588["aso#15665"] = "arm";
} else if (aso#57588["aso#82936"].hitTest((aso#81544._x - (aso#81544["aso#21654"] * aso#41013)) + _root["aso#56196"]._x, (aso#81544._y - (aso#81544["aso#84328"] * aso#41013)) + _root["aso#56196"]._y, true)) {
if ((aso#57588["aso#20262"] == 2) && (aso#57588["aso#47002"] != 9)) {
aso#57588["aso#12881"] = aso#57588["aso#12881"] - ((50 * aso#81544["aso#08284"]) * aso#25830);
} else {
aso#57588["aso#12881"] = aso#57588["aso#12881"] - ((40 * aso#81544["aso#08284"]) * aso#25830);
}
aso#57588["aso#15665"] = "leg";
} else if (aso#57588["aso#44218"].hitTest((aso#81544._x - (aso#81544["aso#21654"] * aso#41013)) + _root["aso#56196"]._x, (aso#81544._y - (aso#81544["aso#84328"] * aso#41013)) + _root["aso#56196"]._y, true) || aso#57588["aso#51599"].hitTest((aso#81544._x - (aso#81544["aso#21654"] * aso#41013)) + _root["aso#56196"]._x, (aso#81544._y - (aso#81544["aso#84328"] * aso#41013)) + _root["aso#56196"]._y, true)) {
type = 0;
}
if (aso#87533 != 0) {
aso#57588["aso#93101"] = aso#57588["aso#93101"] + (10 * aso#81544["aso#08284"]);
} else {
aso#57588["aso#93101"] = aso#57588["aso#93101"] + (0.5 * aso#81544["aso#08284"]);
}
if (type != 0) {
if (aso#57588["aso#15665"] == "aso#14273") {
_root.aso#17057(aso#81544._x - (aso#81544["aso#21654"] * aso#41013), aso#81544._y - (aso#81544["aso#84328"] * aso#41013), aso#57588["aso#20262"], "shot_head", ((aso#81544["aso#21654"] * aso#81544["aso#08284"]) * 3) * aso#57588.easymove, ((aso#81544["aso#84328"] * aso#81544["aso#08284"]) * 3) * aso#57588.easymove);
} else {
_root.aso#17057(aso#81544._x - (aso#81544["aso#21654"] * aso#41013), aso#81544._y - (aso#81544["aso#84328"] * aso#41013), aso#57588["aso#20262"], "shot", ((aso#81544["aso#21654"] * aso#81544["aso#08284"]) * 3) * aso#57588.easymove, ((aso#81544["aso#84328"] * aso#81544["aso#08284"]) * 3) * aso#57588.easymove);
}
if ((aso#57588.w_upg8 > 2) || (aso#57588["aso#47002"] == 9)) {
type = 3;
}
if (type == 3) {
_root.aso#76947(aso#81544._x - (aso#81544["aso#21654"] * aso#41013), aso#81544._y - (aso#81544["aso#84328"] * aso#41013), 11);
} else {
Blood2(aso#26251, 30, (aso#81544._x - (aso#81544["aso#21654"] * aso#41013)) - aso#57588._x, (aso#81544._y - (aso#81544["aso#84328"] * aso#41013)) - aso#57588._y);
}
} else {
_root.aso#76947(aso#81544._x - (aso#81544["aso#21654"] * aso#41013), aso#81544._y - (aso#81544["aso#84328"] * aso#41013), 11);
aso#76947(aso#81544._x - (aso#81544["aso#21654"] * aso#41013), aso#81544._y - (aso#81544["aso#84328"] * aso#41013), type, (aso#81544["aso#21654"] * aso#81544["aso#08284"]) * 3, (aso#81544["aso#84328"] * aso#81544["aso#08284"]) * 3);
}
if (aso#57588["aso#12881"] > 0) {
if (type != 0) {
aso#57588.gotoAndPlay("hurt");
}
if ((aso#57588["aso#70958"] != 3) || (_root["aso#56196"]["player" + aso#81544["aso#99090"]]["aso#70958"] != 3)) {
aso#57588.hunt = aso#81544["aso#99090"];
}
aso#57588["aso#35024"] = true;
} else if (!aso#57588.dead) {
aso#81544._x = aso#81544._x - (aso#81544["aso#21654"] * aso#41013);
aso#81544._y = aso#81544._y - (aso#81544["aso#84328"] * aso#41013);
}
if ((aso#57588["aso#70958"] == 1) || (_root["aso#56196"]["player" + aso#81544["aso#99090"]]["aso#70958"] == 1)) {
if (aso#57588["aso#12881"] > 0) {
Set("aso#52991", 0);
while (aso#52991 < playerstot) {
if ((aso#26251 != aso#52991) && (aso#52991 != aso#81544["aso#99090"])) {
if (aso#57588["aso#70958"] == _root["aso#56196"]["player" + aso#52991]["aso#70958"]) {
if (_root["aso#56196"]["player" + aso#52991]["aso#12881"] > 0) {
if (_root["aso#56196"]["player" + aso#52991]["aso#35024"] == true) {
if (Math.abs(aso#57588._x - _root["aso#56196"]["player" + aso#52991]._x) < hscreenX) {
if (Math.abs(aso#57588._y - _root["aso#56196"]["player" + aso#52991]._y) < hscreenY) {
_root["aso#56196"]["player" + aso#52991].hunt = aso#81544["aso#99090"];
}
}
}
}
}
}
aso#52991++;
}
}
}
if (aso#57588["aso#12881"] > 0) {
aso#57588["aso#38229"] = aso#57588["aso#38229"] + (((aso#81544["aso#21654"] * 0.3) * aso#81544["aso#08284"]) * aso#57588.easymove);
aso#57588["aso#75555"] = aso#57588["aso#75555"] + (((aso#81544["aso#84328"] * 0.3) * aso#81544["aso#08284"]) * aso#57588.easymove);
}
} else {
aso#81544._visible = false;
}
if ((aso#57588["aso#12881"] > 0) || aso#57588.dead) {
aso#81544["aso#08284"] = aso#81544["aso#08284"] - (0.5 / aso#57588.easymove);
if (aso#81544["aso#08284"] < 0.2) {
aso#81544._visible = false;
}
}
}
aso#41013--;
}
}
}
}
aso#26251++;
}
Set("aso#70537", aso#81544._x);
Set("aso#01874", aso#81544._y);
Set("aso#97277", aso#81544._x - (aso#81544["aso#21654"] * pspeed));
Set("aso#28614", aso#81544._y - (aso#81544["aso#84328"] * pspeed));
Set("aso#00903", 0);
while (aso#00903 < aso#64548) {
if (_root["aso#56196"].colmap["box" + aso#00903].hitTest(aso#81544)) {
boxx = _root["aso#56196"].colmap["box" + aso#00903];
rx = undefined;
ry = undefined;
sides = 0;
while (sides < 4) {
if (sides == 0) {
Set("aso#42405", boxx._x);
Set("aso#73742", boxx._y);
Set("aso#06471", boxx._x + boxx._xscale);
Set("aso#37808", boxx._y);
} else if (sides == 1) {
Set("aso#42405", boxx._x + boxx._xscale);
Set("aso#73742", boxx._y);
Set("aso#06471", boxx._x + boxx._xscale);
Set("aso#37808", boxx._y + boxx._yscale);
} else if (sides == 2) {
Set("aso#42405", boxx._x);
Set("aso#73742", boxx._y);
Set("aso#06471", boxx._x);
Set("aso#37808", boxx._y + boxx._yscale);
} else if (sides == 3) {
Set("aso#42405", boxx._x);
Set("aso#73742", boxx._y + boxx._yscale);
Set("aso#06471", boxx._x + boxx._xscale);
Set("aso#37808", boxx._y + boxx._yscale);
}
v = (((aso#97277 - aso#70537) * (aso#73742 - aso#01874)) + ((aso#28614 - aso#01874) * (aso#70537 - aso#42405))) / (((aso#28614 - aso#01874) * (aso#06471 - aso#42405)) - ((aso#97277 - aso#70537) * (aso#37808 - aso#73742)));
retux = aso#42405 + ((aso#06471 - aso#42405) * v);
retuy = aso#73742 + ((aso#37808 - aso#73742) * v);
if ((Math.min(aso#81544._x, aso#81544._x - ((aso#81544["aso#21654"] * pspeed) * 2)) - 1) <= retux) {
if ((Math.max(aso#81544._x, aso#81544._x - ((aso#81544["aso#21654"] * pspeed) * 2)) + 1) >= retux) {
if ((Math.min(aso#81544._y, aso#81544._y - ((aso#81544["aso#84328"] * pspeed) * 2)) - 1) <= retuy) {
if ((Math.max(aso#81544._y, aso#81544._y - ((aso#81544["aso#84328"] * pspeed) * 2)) + 2) >= retuy) {
if ((boxx._x - 1) <= retux) {
if (((boxx._x + 1) + boxx._xscale) >= retux) {
if ((boxx._y - 1) <= retuy) {
if (((boxx._y + 1) + boxx._yscale) >= retuy) {
if ((undefined == rx) || (aso#90317(rx, ry, aso#81544._x - ((aso#81544["aso#21654"] * pspeed) * 3), aso#81544._y - ((aso#81544["aso#21654"] * pspeed) * 3)) < aso#90317(retux, retuy, aso#81544._x - ((aso#81544["aso#21654"] * pspeed) * 3), aso#81544._y - ((aso#81544["aso#21654"] * pspeed) * 3)))) {
rx = retux;
ry = retuy;
}
}
}
}
}
}
}
}
}
sides++;
}
if (rx != undefined) {
aso#76947(rx, ry, 0);
Sprite(rx, ry, 0);
aso#81544._visible = false;
}
}
aso#00903++;
}
if (aso#81544._y > 1000) {
if (_root["aso#56196"]._currentframe == 11) {
aso#76947(aso#81544._x, aso#81544._y, 0);
}
aso#81544._visible = false;
}
Set("aso#00903", 0);
while (aso#00903 < barrelstotal) {
if (_root["aso#56196"]["barrel" + aso#00903]._currentframe < 4) {
if (_root["aso#56196"]["barrel" + aso#00903].hitTest(aso#81544)) {
_root.aso#76947(aso#81544._x, aso#81544._y, 11);
hur = Math.floor(aso#81544["aso#08284"] * 2);
if (hur < 0) {
hur = 0;
}
if ((_root["aso#56196"]["barrel" + aso#00903]._currentframe + hur) > 3) {
_root["aso#56196"]["barrel" + aso#00903].gotoAndPlay(4);
} else {
_root["aso#56196"]["barrel" + aso#00903].gotoAndStop(_root["aso#56196"]["barrel" + aso#00903]._currentframe + hur);
}
aso#81544["aso#08284"] = aso#81544["aso#08284"] - 0.5;
if (aso#81544["aso#08284"] < 0.2) {
aso#81544._visible = false;
}
}
}
aso#00903++;
}
}
pl++;
}
}
gunpaused = true;
cbk = true;
var myListener2 = new Object();
myListener2.onKillFocus = function () {
trace("OUTTTT");
_root.gunpaused = false;
};
Stage.addListener(myListener2);
_root.onEnterFrame = function () {
if (_root["aso#85720"] == 2) {
if ((Key.isDown(80) || (Key.isDown(32) && (!gunpaused))) || (Key.isDown(13) && (!gunpaused))) {
if (cbk) {
if (_root.gunpaused) {
gunpaused = false;
Mouse.show();
} else {
gunpaused = true;
_root.glow._visible = false;
_root.glow._alpha = 0;
Mouse.hide();
}
cbk = false;
}
} else {
cbk = true;
}
if (!gunpaused) {
_root.glow._visible = true;
if (_root.glow._alpha < 50) {
_root.glow._alpha = _root.glow._alpha + 1;
}
}
if (_root.gunpaused) {
if (grenadetim > 0) {
grenadetim--;
}
xmo = _xmouse;
ymo = _ymouse;
if (xmo < 0) {
xmo = 0;
}
if (ymo < 0) {
ymo = 0;
}
if (xmo > (hscreenX * 2)) {
xmo = hscreenX * 2;
}
if (ymo > (hscreenY * 2)) {
ymo = hscreenY * 2;
}
_root["aso#56196"]._x = Math.round(((((((-_root["aso#56196"].player0.body._x) + hscreenX) - xmo) - _root["aso#56196"].player0._x) + hscreenX) + (_root["aso#56196"]._x * 10)) / 11);
_root["aso#56196"]._y = Math.round(((((((-_root["aso#56196"].player0.body._y) + hscreenY) - ymo) - _root["aso#56196"].player0._y) + hscreenY) + (_root["aso#56196"]._y * 10)) / 11);
if ((_root["aso#56196"]._y - (hscreenY * 2)) < -1000) {
_root["aso#56196"]._y = (hscreenY * 2) - 1000;
}
hinttim = hinttim - 1;
if (hinttim < 0) {
_root.hint.text = "";
hinttim = 100;
}
Set("aso#77918", aso#77918 - 1);
if (aso#77918 < -1) {
Set("aso#77918", 10 + ((3 - _root.opt_bot) * 10));
}
aso#26801();
_root["aso#44768"].text = Math.max(Math.ceil((_root["aso#56196"].player0["aso#12881"] / playerhmax) * 100), 0);
_root.playergr.text = grenades;
if (_root["aso#56196"].player0["aso#12881"] > 0) {
if (_root["aso#56196"].player0.hitTest(_root["aso#56196"].end)) {
finish();
}
if (_root["aso#56196"].player0["aso#12881"] < playerhmax) {
Set("aso#00903", 0);
while (aso#00903 < heatotal) {
if (_root["aso#56196"]["medikit" + aso#00903]._currentframe == 1) {
if (_root["aso#56196"].player0.hitTest(_root["aso#56196"]["medikit" + aso#00903])) {
_root["aso#56196"]["medikit" + aso#00903].gotoAndPlay(2);
_root["aso#56196"].player0["aso#12881"] = Math.min(playerhmax, _root["aso#56196"].player0["aso#12881"] + (playerhmax / 4));
}
}
aso#00903++;
}
}
}
if ((_root["aso#56196"].player0["aso#12881"] <= 0) || (_root.loose != 0)) {
_root.glow._visible = true;
_root.glow._alpha = _root.glow._alpha + 1;
if (_root.glow._alpha > 100) {
_root.glow._visible = false;
_root.whydead = "Your Warrior Has been killed!";
if (_root.loose == 1) {
_root.whydead = "Your Friend Has been killed!";
}
stpsnds();
_root.gotoAndStop(5);
}
}
Set("aso#87533", 0);
while (aso#87533 < playerstot) {
Set("aso#18870", _root["aso#56196"]["player" + aso#87533]);
if (aso#18870["aso#12881"] > 0) {
if (aso#18870["aso#35024"] == true) {
Set("aso#03687", aso#18870.body._rotation * aso#33632);
Set("aso#81123", Math.atan2(aso#18870.body.headbone._y, aso#18870.body.headbone._x) - (Math.PI/2));
Set("aso#94914", aso#90317(aso#18870.body.headbone._x, aso#18870.body.headbone._y, 0, 0));
plx = Math.sin(aso#03687 + aso#81123) * aso#94914;
ply = Math.cos(aso#03687 + aso#81123) * aso#94914;
aso#18870["aso#14273"]._x = aso#18870.body._x - plx;
aso#18870["aso#14273"]._y = aso#18870.body._y + ply;
Set("aso#03687", aso#18870.body._rotation * aso#33632);
Set("aso#81123", Math.atan2(aso#18870.body.armbone._y, aso#18870.body.armbone._x) - (Math.PI/2));
Set("aso#94914", aso#90317(aso#18870.body.armbone._x, aso#18870.body.armbone._y, 0, 0));
plx = Math.sin(aso#03687 + aso#81123) * aso#94914;
ply = Math.cos(aso#03687 + aso#81123) * aso#94914;
aso#18870.arm1._x = aso#18870.body._x - plx;
aso#18870.arm1._y = aso#18870.body._y + ply;
aso#18870.arm2._x = (aso#18870.body._x - plx) + 2;
aso#18870.arm2._y = aso#18870.body._y + ply;
Set("aso#03687", aso#18870.arm2._rotation * aso#33632);
Set("aso#81123", Math.atan2(aso#18870.arm2.wea._y, aso#18870.arm2.wea._x) - (Math.PI/2));
Set("aso#26251", 0);
while (aso#26251 < playerstot) {
if (aso#87533 != aso#26251) {
Set("aso#57588", _root["aso#56196"]["player" + aso#26251]);
if (aso#57588["aso#12881"] <= 0) {
Set("aso#78339", aso#57588.center);
if (aso#18870.hitTest(aso#50207[aso#78339] + _root["aso#56196"]._x, aso#32240[aso#78339] + _root["aso#56196"]._y, true)) {
Set("aso#94914", aso#90317(0, 0, aso#69566[aso#78339], aso#63577[aso#78339]));
if (aso#94914 > 5) {
Set("aso#05079", (aso#18870["aso#38229"] + aso#69566[aso#78339]) / 2);
Set("aso#31819", (aso#18870["aso#75555"] + aso#63577[aso#78339]) / 2);
Set("aso#94914", aso#90317(aso#18870["aso#38229"], aso#18870["aso#75555"], aso#69566[aso#78339], aso#63577[aso#78339]));
if (aso#94914 > 25) {
aso#18870["aso#12881"] = aso#18870["aso#12881"] - (aso#94914 * 2);
if (aso#18870["aso#12881"] > 0) {
aso#18870.gotoAndPlay("Hurt");
}
}
aso#18870["aso#38229"] = aso#05079;
aso#18870["aso#75555"] = aso#31819;
aso#69566[aso#78339] = aso#05079;
aso#63577[aso#78339] = aso#31819;
}
}
}
}
aso#26251++;
}
}
}
if (aso#18870["aso#35024"] == false) {
if (aso#18870.hitTest(_root.visarea)) {
aso#18870["aso#35024"] = true;
} else if (aso#18870.hunt == -1) {
aso#18870["aso#35024"] = false;
aso#18870._visible = false;
}
} else {
if (!aso#18870._visible) {
aso#18870._visible = true;
}
if (aso#18870.hunt != -1) {
if (aso#18870.say_vis == undefined) {
if ((aso#18870["aso#20262"] == 0) && (Math.random() > 0.5)) {
aso#18870.sou.gotoAndStop(14);
} else {
aso#18870.sou.gotoAndStop(13);
}
if (aso#18870.myi == -1) {
rn = Math.floor(Math.random() * 3);
if (rn == 0) {
aso#18870.sou.gotoAndStop(30);
} else if (rn == 1) {
aso#18870.sou.gotoAndStop(31);
} else {
aso#18870.sou.gotoAndStop(32);
}
}
aso#18870.say_vis = false;
}
}
}
if (aso#18870["aso#12881"] > 0) {
if (aso#18870["aso#35024"] == true) {
if (aso#18870.ranytim == undefined) {
aso#18870.ranytim = 0;
} else {
aso#18870.ranytim = aso#18870.ranytim + (Math.random() * 0.5);
}
if (aso#18870.rany50 == undefined) {
aso#18870.rany50 = Math.random() * 50;
} else {
aso#18870.rany50 = 25 + (Math.sin(aso#18870.ranytim) * 25);
}
Set("aso#26251", 0);
while (aso#26251 < playerstot) {
Set("aso#57588", _root["aso#56196"]["player" + aso#26251]);
if (aso#57588["aso#35024"] == true) {
if (aso#57588["aso#12881"] > 0) {
if (aso#87533 != aso#26251) {
if ((aso#18870["aso#70958"] != 0) || (aso#57588["aso#70958"] != 0)) {
if (aso#18870._y > (aso#57588._y - 100)) {
if (aso#18870._y < (aso#57588._y + 100)) {
if (aso#18870._x > (aso#57588._x - 40)) {
if (aso#18870._x < (aso#57588._x + 40)) {
Set("aso#05079", (aso#18870._x + aso#57588._x) / 2);
if (aso#18870._x > aso#57588._x) {
aso#18870._x = aso#05079 + 20;
aso#57588._x = aso#05079 - 20;
} else {
aso#18870._x = aso#05079 - 20;
aso#57588._x = aso#05079 + 20;
}
}
}
}
}
}
}
}
}
aso#26251++;
}
Set("aso#27643", aso#18870._x + (aso#18870._xscale * 3));
Set("aso#58980", aso#18870._y + (Math.sin(aso#18870.ranytim * 0.3) * 75));
aso#18870._x = aso#18870._x + aso#18870["aso#38229"];
aso#18870._y = aso#18870._y + aso#18870["aso#75555"];
aso#18870["aso#75555"] = aso#18870["aso#75555"] + aso#57167;
if (aso#18870._y > 1000) {
aso#18870["aso#15665"] = "body";
aso#18870["aso#12881"] = 0;
aso#18870.getdown = true;
_root.aso#17057((aso#18870._x - 20) + (Math.random() * 40), aso#18870._y - (Math.random() * 20), aso#18870["aso#20262"], "fall");
_root.aso#17057((aso#18870._x - 20) + (Math.random() * 40), aso#18870._y - (Math.random() * 20), aso#18870["aso#20262"], "fall");
_root.aso#17057((aso#18870._x - 20) + (Math.random() * 40), aso#18870._y - (Math.random() * 20), aso#18870["aso#20262"], "fall");
if (aso#18870["aso#75555"] > 10) {
aso#18870["aso#75555"] = 10;
}
}
if (aso#87533 != 0) {
if (aso#18870.hunt != -1) {
Set("aso#27643", _root["aso#56196"]["player" + aso#18870.hunt]._x);
Set("aso#58980", (_root["aso#56196"]["player" + aso#18870.hunt]._y - 10) - aso#18870.rany50);
Set("aso#63156", Math.abs(aso#27643 - aso#18870._x));
if (aso#18870["aso#29035"] == 1) {
if ((Math.random() > 0.4) || (aso#63156 < 200)) {
Set("aso#58980", _root["aso#56196"]["player" + aso#18870.hunt]._y - 70);
} else {
Set("aso#58980", (_root["aso#56196"]["player" + aso#18870.hunt]._y - 10) - (Math.random() * 50));
}
}
Set("aso#63156", aso#90317(aso#18870._x + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100), aso#18870._y + aso#18870["aso#44218"]._y, aso#27643, aso#58980));
pspx = (_root["aso#56196"]["player" + aso#18870.hunt]["aso#38229"] * (aso#63156 / pspeed)) * 0.3;
pspy = (_root["aso#56196"]["player" + aso#18870.hunt]["aso#75555"] * (aso#63156 / pspeed)) * 0.3;
Set("aso#27643", aso#27643 + pspx);
Set("aso#58980", aso#58980 + pspy);
if (!aso#88504(aso#18870._x + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100), aso#18870._y + aso#18870["aso#44218"]._y, aso#27643, aso#58980)) {
if (aso#88504(aso#18870._x + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100), aso#18870._y + aso#18870["aso#44218"]._y, aso#27643 - pspx, aso#58980 - pspy)) {
Set("aso#27643", aso#27643 - pspx);
Set("aso#58980", aso#58980 - pspy);
} else if (aso#88504(aso#18870._x + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100), aso#18870._y + aso#18870["aso#44218"]._y, aso#27643 - pspx, (aso#58980 - pspy) + 50)) {
Set("aso#27643", aso#27643 - pspx);
Set("aso#58980", aso#58980 - pspy);
Set("aso#58980", aso#58980 + 50);
} else if (aso#88504(aso#18870._x + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100), aso#18870._y + aso#18870["aso#44218"]._y, aso#27643 - pspx, (aso#58980 - pspy) - 50)) {
Set("aso#27643", aso#27643 - pspx);
Set("aso#58980", aso#58980 - pspy);
Set("aso#58980", aso#58980 - 50);
}
}
Set("aso#00903", 0);
while (aso#00903 < barrelstotal) {
if (_root["aso#56196"]["barrel" + aso#00903]._currentframe < 4) {
if (aso#90317(_root["aso#56196"]["player" + aso#18870.hunt]._x, _root["aso#56196"]["player" + aso#18870.hunt]._y - 40, _root["aso#56196"]["barrel" + aso#00903]._x, _root["aso#56196"]["barrel" + aso#00903]._y) < 100) {
if (aso#90317(aso#18870._x, aso#18870._y - 40, _root["aso#56196"]["barrel" + aso#00903]._x, _root["aso#56196"]["barrel" + aso#00903]._y) > 150) {
if (aso#88504(aso#18870._x + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100), aso#18870._y + aso#18870["aso#44218"]._y, _root["aso#56196"]["barrel" + aso#00903]._x, _root["aso#56196"]["barrel" + aso#00903]._y)) {
Set("aso#27643", _root["aso#56196"]["barrel" + aso#00903]._x);
Set("aso#58980", _root["aso#56196"]["barrel" + aso#00903]._y);
}
}
}
}
aso#00903++;
}
if (_root["aso#56196"]["player" + aso#18870.hunt]["aso#12881"] <= 0) {
if (Math.random() > 0.97) {
aso#18870.hunt = -1;
} else {
Set("aso#27643", _root["aso#56196"]["player" + aso#18870.hunt].body._x);
Set("aso#58980", _root["aso#56196"]["player" + aso#18870.hunt].body._y);
}
}
} else if ((Math.random() > 0.95) || (aso#18870["aso#29035"] == 1)) {
ran = 0;
while (ran < playerstot) {
if (aso#18870.hunt == -1) {
if (_root["aso#56196"]["player" + ran]["aso#70958"] != aso#18870["aso#70958"]) {
if (_root["aso#56196"]["player" + ran]["aso#12881"] > 0) {
if (ran != aso#87533) {
if (_root["aso#56196"]["player" + ran]["aso#35024"] == true) {
if ((Math.abs(_root["aso#56196"]["player" + ran]._x - aso#18870._x) < hscreenX) && (Math.abs(_root["aso#56196"]["player" + ran]._y - aso#18870._y) < hscreenY)) {
aso#18870.hunt = ran;
} else if (aso#88504(aso#18870._x, aso#18870._y + aso#18870["aso#14273"]._y, _root["aso#56196"]["player" + ran]._x, _root["aso#56196"]["player" + ran]._y)) {
aso#18870.hunt = ran;
}
}
}
}
}
}
ran++;
}
}
} else {
Set("aso#27643", _xmouse - _root["aso#56196"]._x);
Set("aso#58980", _ymouse - _root["aso#56196"]._y);
}
stand = false;
hup = false;
cantlift = false;
Set("aso#00903", 0);
while (aso#00903 < (aso#64548 + barrelstotal)) {
if ((aso#00903 < aso#64548) || (((aso#00903 >= aso#64548) && (_root["aso#56196"]["barrel" + (aso#00903 - aso#64548)]._currentframe < 4)) && (_root["aso#56196"]["barrel" + (aso#00903 - aso#64548)].cols))) {
if (aso#00903 < aso#64548) {
boxx = _root["aso#56196"].colmap["box" + aso#00903];
} else {
boxx = _root["aso#56196"]["barrel" + (aso#00903 - aso#64548)];
}
if (aso#00903 < aso#64548) {
minx = boxx._x - 10;
maxx = (boxx._x + boxx._xscale) + 10;
miny = boxx._y + (aso#18870.sit * aso#00061);
maxy = (boxx._y + boxx._yscale) + 82;
} else {
minx = boxx._x - 20;
maxx = boxx._x + 20;
miny = (boxx._y - 20) + (aso#18870.sit * aso#00061);
maxy = (boxx._y + 20) + 82;
}
if ((((aso#18870._x > minx) && (aso#18870._x < maxx)) && (aso#18870._y > (miny - 10))) && (aso#18870._y < (maxy - 82))) {
hup = true;
}
if (aso#18870.sit != 0) {
if ((((aso#18870._x > minx) && (aso#18870._x < maxx)) && (aso#18870._y > (maxy - 5))) && (aso#18870._y < (maxy + 5))) {
cantlift = true;
}
}
if ((((aso#18870._x > minx) && (aso#18870._x < maxx)) && (aso#18870._y > miny)) && (aso#18870._y < maxy)) {
if (aso#00903 < aso#64548) {
Set("aso#65940", (((boxx._x + (boxx._xscale / 2)) - (aso#18870._x - aso#18870["aso#38229"])) / (boxx._xscale + 20)) * 100);
Set("aso#46581", (((boxx._y + ((boxx._yscale + 82) / 2)) - (aso#18870._y - aso#18870["aso#75555"])) / (boxx._yscale + 82)) * 100);
} else {
Set("aso#65940", ((((minx + maxx) / 2) - (aso#18870._x - aso#18870["aso#38229"])) / 40) * 100);
Set("aso#46581", ((((miny + maxy) / 2) - (aso#18870._y - aso#18870["aso#75555"])) / 61) * 100);
}
if (aso#18870._y < (miny + 30)) {
Set("aso#65940", 1);
Set("aso#46581", 2);
}
if (Math.abs(aso#65940) > Math.abs(aso#46581)) {
aso#18870["aso#15665"] = "all";
if (Math.abs(aso#18870["aso#38229"]) > 16) {
_root.aso#17057((aso#18870._x - 20) + (Math.random() * 40), aso#18870._y - (Math.random() * 80), aso#18870["aso#20262"], "fall");
_root.aso#17057((aso#18870._x - 20) + (Math.random() * 40), aso#18870._y - (Math.random() * 80), aso#18870["aso#20262"], "fall");
_root.aso#17057((aso#18870._x - 20) + (Math.random() * 40), aso#18870._y - (Math.random() * 80), aso#18870["aso#20262"], "fall");
if (aso#87533 != 0) {
aso#18870["aso#12881"] = aso#18870["aso#12881"] - Math.abs((aso#18870["aso#38229"] * aso#18870["aso#38229"]) * 0.22);
} else {
aso#18870["aso#12881"] = aso#18870["aso#12881"] - ((Math.abs(aso#18870["aso#38229"]) / 100) * playerhmax);
}
aso#18870.gotoAndPlay("hurt");
}
if (aso#18870["aso#12881"] > 0) {
if (Math.abs(aso#18870["aso#38229"]) < 6) {
aso#18870["aso#38229"] = 0;
} else {
aso#18870["aso#75555"] = aso#18870["aso#75555"] * 0.5;
aso#18870["aso#38229"] = aso#18870["aso#38229"] * 0.5;
}
if (aso#65940 < 0) {
aso#18870._x = maxx + 1;
aso#18870["aso#38229"] = Math.abs(aso#18870["aso#38229"]) + 0.1;
} else {
aso#18870._x = minx - 1;
aso#18870["aso#38229"] = (-Math.abs(aso#18870["aso#38229"])) - 0.1;
}
}
} else {
if (aso#46581 < 0) {
aso#18870["aso#15665"] = "all";
} else {
aso#18870["aso#15665"] = "body";
}
if (Math.abs(aso#18870["aso#75555"]) > 15) {
aso#18870.falltim = 10;
}
if (Math.abs(aso#18870["aso#75555"]) > 23) {
_root.aso#17057((aso#18870._x - 20) + (Math.random() * 40), aso#18870._y - (Math.random() * 80), aso#18870["aso#20262"], "fall");
_root.aso#17057((aso#18870._x - 20) + (Math.random() * 40), aso#18870._y - (Math.random() * 80), aso#18870["aso#20262"], "fall");
_root.aso#17057((aso#18870._x - 20) + (Math.random() * 40), aso#18870._y - (Math.random() * 80), aso#18870["aso#20262"], "fall");
if (aso#87533 != 0) {
aso#18870["aso#12881"] = aso#18870["aso#12881"] - Math.abs((aso#18870["aso#75555"] * aso#18870["aso#75555"]) * 0.19);
} else {
aso#18870["aso#12881"] = aso#18870["aso#12881"] - ((Math.abs(aso#18870["aso#75555"]) / 100) * playerhmax);
}
aso#18870.gotoAndPlay("hurt");
aso#18870["aso#15665"] = "body";
}
if (aso#18870["aso#12881"] > 0) {
aso#18870["aso#38229"] = aso#18870["aso#38229"] * 0.5;
if (aso#46581 < 0) {
aso#18870["aso#75555"] = aso#18870["aso#75555"] * -0.5;
cantlift = true;
aso#18870._y = maxy + 2;
} else {
aso#18870["aso#75555"] = 0;
stand = true;
aso#18870._y = miny;
}
}
}
}
}
aso#00903++;
}
walkok = false;
if (aso#77918 < 0) {
aso#18870.botaction = -1;
if ((aso#87533 != 0) && (aso#18870.hunt != -1)) {
if (aso#90317(aso#18870._x + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100), aso#18870._y + aso#18870["aso#44218"]._y, aso#27643, aso#58980) < 600) {
if (aso#88504(aso#18870._x + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100), aso#18870._y + aso#18870["aso#44218"]._y, aso#27643, aso#58980)) {
aso#18870.botaction = 0;
}
}
}
}
if (aso#77918 < 0) {
if ((aso#87533 != 0) && (aso#18870.hunt != -1)) {
if (aso#18870.botaction != 0) {
if (aso#88504((200 + aso#18870._x) + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100), aso#18870._y + aso#18870["aso#44218"]._y, aso#27643, aso#58980)) {
aso#18870.botaction = 1;
}
}
if (aso#18870.botaction != 0) {
if (aso#88504((-200 + aso#18870._x) + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100), aso#18870._y + aso#18870["aso#44218"]._y, aso#27643, aso#58980)) {
aso#18870.botaction = 2;
}
}
if (aso#18870["aso#20262"] != 2) {
if (aso#18870.botaction == -1) {
if (aso#88504(aso#18870._x + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100), (aso#18870._y + aso#18870["aso#44218"]._y) - 60, aso#27643, aso#58980)) {
aso#18870.botaction = 3;
}
}
} else if (aso#18870.botaction == -1) {
if (aso#88504(aso#18870._x + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100), (aso#18870._y + aso#18870["aso#44218"]._y) - 150, aso#27643, aso#58980)) {
aso#18870.botaction = 3;
}
}
if (aso#18870.botaction != 0) {
if (aso#88504(aso#18870._x + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100), (60 + aso#18870._y) + aso#18870["aso#44218"]._y, aso#27643, aso#58980)) {
aso#18870.botaction = 4;
}
}
pl = 0;
while (pl < pulsmax) {
if (_root["aso#56196"]["pl" + pl]._visible == true) {
Set("aso#81544", _root["aso#56196"]["pl" + pl]);
if ((_root["aso#56196"]["player" + aso#81544["aso#99090"]]["aso#70958"] != aso#18870["aso#70958"]) || (aso#18870.hunt == aso#81544["aso#99090"])) {
if (aso#81544._x > ((aso#18870._x - 20) - Math.abs((aso#81544["aso#21654"] * pspeed) * 20))) {
if (aso#81544._x < ((aso#18870._x + 20) + Math.abs((aso#81544["aso#21654"] * pspeed) * 20))) {
if (aso#81544._y > ((aso#18870._y - 90) - Math.abs((aso#81544["aso#84328"] * pspeed) * 20))) {
if (aso#81544._y < ((aso#18870._y + 90) + Math.abs((aso#81544["aso#84328"] * pspeed) * 20))) {
Set("aso#70537", aso#81544._x);
Set("aso#01874", aso#81544._y);
Set("aso#97277", aso#81544._x + aso#81544["aso#21654"]);
Set("aso#28614", aso#81544._y + aso#81544["aso#84328"]);
if (Math.abs(aso#81544["aso#21654"]) > Math.abs(aso#81544["aso#84328"])) {
Set("aso#42405", aso#18870._x);
Set("aso#73742", aso#18870._y);
Set("aso#06471", aso#18870._x);
Set("aso#37808", aso#18870._y - 83);
v = (((aso#97277 - aso#70537) * (aso#73742 - aso#01874)) + ((aso#28614 - aso#01874) * (aso#70537 - aso#42405))) / (((aso#28614 - aso#01874) * (aso#06471 - aso#42405)) - ((aso#97277 - aso#70537) * (aso#37808 - aso#73742)));
retux = aso#42405 + ((aso#06471 - aso#42405) * v);
retuy = aso#73742 + ((aso#37808 - aso#73742) * v);
if (((retux >= aso#42405) || (retux >= aso#06471)) && ((retux <= aso#42405) || (retux <= aso#06471))) {
if (((retuy >= aso#73742) || (retuy >= aso#37808)) && ((retuy <= aso#73742) || (retuy <= aso#37808))) {
if (retuy < ((aso#73742 + aso#37808) / 2)) {
aso#18870.botaction = 4;
} else {
aso#18870.botaction = 3;
}
}
}
} else {
Set("aso#42405", aso#18870._x - 30);
Set("aso#73742", aso#18870._y - 40);
Set("aso#06471", aso#18870._x + 30);
Set("aso#37808", aso#18870._y - 40);
v = (((aso#97277 - aso#70537) * (aso#73742 - aso#01874)) + ((aso#28614 - aso#01874) * (aso#70537 - aso#42405))) / (((aso#28614 - aso#01874) * (aso#06471 - aso#42405)) - ((aso#97277 - aso#70537) * (aso#37808 - aso#73742)));
retux = aso#42405 + ((aso#06471 - aso#42405) * v);
retuy = aso#73742 + ((aso#37808 - aso#73742) * v);
if (((retux >= aso#42405) || (retux >= aso#06471)) && ((retux <= aso#42405) || (retux <= aso#06471))) {
if (((retuy >= aso#73742) || (retuy >= aso#37808)) && ((retuy <= aso#73742) || (retuy <= aso#37808))) {
if (retux < ((aso#42405 + aso#06471) / 2)) {
aso#18870.botaction = 1;
} else {
aso#18870.botaction = 2;
}
}
}
}
}
}
}
}
}
}
pl++;
}
if ((aso#18870.botaction == 0) || (aso#18870.botaction == -1)) {
if (((Math.random() > 0.8) && (my_so.data.opt_bot == 2)) || ((Math.random() > 0.5) && (my_so.data.opt_bot == 3))) {
aso#18870.botaction = 1 + Math.floor(Math.random() * 4);
}
}
if ((aso#18870.botaction == 1) || (aso#18870.botaction == 2)) {
if (aso#88504((aso#18870._x + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100)) + ((1.5 - aso#18870.botaction) * 200), aso#18870._y + aso#18870["aso#44218"]._y, (aso#18870._x + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100)) + ((1.5 - aso#18870.botaction) * 200), (aso#18870._y + aso#18870["aso#44218"]._y) + 400)) {
aso#18870.botaction = 4;
}
}
}
}
if (stand) {
gotone = true;
if (aso#87533 == 0) {
Set("aso#26251", 0);
while (aso#26251 < playerstot) {
Set("aso#57588", _root["aso#56196"]["player" + aso#26251]);
if (aso#57588.dead) {
if (aso#57588["aso#44218"]._visible == true) {
if (aso#18870.hitTest(aso#57588["aso#44218"])) {
if (_root["aso#56196"].player0["w_upg" + aso#57588["aso#44218"]._currentframe] < aso#57588["w_upg" + aso#57588["aso#44218"]._currentframe]) {
_root.gun_pickup.gotoAndStop(aso#57588["aso#44218"]._currentframe + 1);
_root["aso#56196"].player0["w_upg" + aso#57588["aso#44218"]._currentframe] = aso#57588["w_upg" + aso#57588["aso#44218"]._currentframe];
aso#57588["aso#44218"]._visible = false;
aso#57588["aso#51599"]._visible = false;
if (aso#57588["aso#44218"]._currentframe <= 6) {
if (_root["aso#56196"].player0["aso#44218"]._currentframe < aso#57588["aso#44218"]._currentframe) {
_root["aso#56196"].player0["aso#44218"].gotoAndStop(aso#57588["aso#44218"]._currentframe);
}
if (_root["aso#56196"].player0["aso#44218"]._currentframe == aso#57588["aso#44218"]._currentframe) {
_root["aso#56196"].player0["aso#44218"].gotoAndStop(7);
_root["aso#56196"].player0["aso#44218"].gotoAndStop(aso#57588["aso#44218"]._currentframe);
}
}
}
}
}
}
if (Key.isDown(69)) {
if (gotone && (aso#87533 != aso#26251)) {
if (aso#57588.dead) {
if ((aso#45610[aso#57588["aso#59951"]] == true) || (aso#45610[aso#57588["aso#59951"]] == false)) {
Set("aso#05079", aso#18870._x + ((aso#18870._xscale / 100) * aso#18870["aso#44218"]._x));
Set("aso#31819", aso#18870._y + aso#18870["aso#44218"]._y);
Set("aso#62735", aso#90317(aso#50207[aso#57588.a_stand1], aso#32240[aso#57588.a_stand1], aso#05079, aso#31819));
Set("aso#13431", aso#90317(aso#50207[aso#57588["aso#07442"]], aso#32240[aso#57588["aso#07442"]], aso#05079, aso#31819));
if ((aso#62735 < 100) || (aso#13431 < 100)) {
aso#57588.deadtime = 0;
gotone = false;
point = aso#57588.a_stand1;
point2 = aso#57588["aso#07442"];
Set("aso#05079", aso#18870._x + ((aso#18870._xscale / 100) * aso#18870["aso#44218"]._x));
Set("aso#31819", aso#18870._y + aso#18870["aso#44218"]._y);
if (((aso#13431 < 100) && (aso#62735 >= 100)) || (((aso#13431 < 100) && (aso#62735 < 100)) && (aso#13431 < aso#62735))) {
aso#69566[point2] = aso#69566[point2] - ((aso#50207[point2] - aso#05079) * 0.2);
aso#63577[point2] = aso#63577[point2] - ((aso#32240[point2] - aso#31819) * 0.2);
aso#18870["aso#38229"] = aso#18870["aso#38229"] + ((aso#50207[point2] - aso#05079) * 0.05);
aso#18870["aso#75555"] = aso#18870["aso#75555"] + ((aso#32240[point2] - aso#31819) * 0.05);
aso#45610[point2] = true;
} else if (aso#62735 < 100) {
aso#69566[point] = aso#69566[point] - ((aso#50207[point] - aso#05079) * 0.3);
aso#63577[point] = aso#63577[point] - ((aso#32240[point] - aso#31819) * 0.3);
aso#18870["aso#38229"] = aso#18870["aso#38229"] + ((aso#50207[point] - aso#05079) * 0.05);
aso#18870["aso#75555"] = aso#18870["aso#75555"] + ((aso#32240[point] - aso#31819) * 0.05);
aso#45610[point] = true;
}
}
}
}
}
}
aso#26251++;
}
}
if (((Key.isDown(65) || (Key.isDown(37))) && (aso#87533 == 0)) || (aso#18870.botaction == 2)) {
aso#18870["aso#38229"] = aso#18870["aso#38229"] - (5 / (aso#18870.sit + 1));
if ((aso#18870["aso#82936"]._currentframe <= 60) && ((aso#18870["aso#82936"]._currentframe < 30) || (aso#18870["aso#82936"]._currentframe > 50))) {
aso#18870["aso#82936"].gotoAndPlay("walk");
}
}
if (((Key.isDown(68) || (Key.isDown(39))) && (aso#87533 == 0)) || (aso#18870.botaction == 1)) {
aso#18870["aso#38229"] = aso#18870["aso#38229"] + (5 / (aso#18870.sit + 1));
if ((aso#18870["aso#82936"]._currentframe <= 60) && ((aso#18870["aso#82936"]._currentframe < 30) || (aso#18870["aso#82936"]._currentframe > 50))) {
aso#18870["aso#82936"].gotoAndPlay("walk");
}
}
if ((((Key.isDown(32) || (Key.isDown(87))) || (Key.isDown(38))) && (aso#87533 == 0)) || ((aso#87533 != 0) && (aso#18870.botaction == 3))) {
aso#18870["aso#75555"] = aso#18870["aso#75555"] - (5 + (aso#57167 * 4));
}
}
if (!stand) {
if (((Key.isDown(65) || (Key.isDown(37))) && (aso#87533 == 0)) || ((aso#87533 != 0) && (aso#18870.botaction == 2))) {
if (aso#18870["aso#38229"] > -4) {
aso#18870["aso#38229"] = aso#18870["aso#38229"] - 0.1;
}
}
if (((Key.isDown(68) || (Key.isDown(39))) && (aso#87533 == 0)) || ((aso#87533 != 0) && (aso#18870.botaction == 1))) {
if (aso#18870["aso#38229"] < 4) {
aso#18870["aso#38229"] = aso#18870["aso#38229"] + 0.1;
}
}
if ((aso#87533 != 0) && (aso#18870["aso#20262"] == 2)) {
if (aso#18870.botaction == 3) {
if (aso#18870.jet != true) {
aso#18870.body.jet.gotoAndPlay("jet_on");
}
aso#18870.jet = true;
} else if (aso#18870._y < (aso#58980 - 150)) {
if (aso#18870.jet != false) {
aso#18870.body.jet.gotoAndPlay("jet_off");
}
aso#18870.jet = false;
}
}
}
if ((aso#18870.botaction == 4) || ((((aso#18870.botaction == -1) || (aso#18870.botaction == 0)) && (aso#18870["aso#12881"] < 80)) && (aso#18870["aso#12881"] > 30))) {
walkok = true;
}
if ((aso#87533 != 0) && (aso#18870["aso#20262"] == 2)) {
if (aso#18870.jet) {
aso#18870["aso#75555"] = aso#18870["aso#75555"] * 0.9;
aso#18870["aso#38229"] = aso#18870["aso#38229"] * 0.9;
aso#18870["aso#75555"] = aso#18870["aso#75555"] - (aso#57167 * 1.4);
}
}
if (aso#87533 != 0) {
aso#18870.mtarx = aso#27643;
aso#18870.mtary = aso#58980;
if (aso#18870.ltarx == undefined) {
aso#18870.ltarx = aso#27643;
aso#18870.ltary = aso#58980;
}
if (my_so.data.opt_bot == 1) {
Set("aso#27643", ((aso#18870.ltarx * 10) + aso#27643) / 11);
Set("aso#58980", ((aso#18870.ltary * 10) + aso#58980) / 11);
} else if (my_so.data.opt_bot == 2) {
Set("aso#27643", ((aso#18870.ltarx * 4) + aso#27643) / 5);
Set("aso#58980", ((aso#18870.ltary * 4) + aso#58980) / 5);
} else {
Set("aso#27643", ((aso#18870.ltarx * 4) + aso#27643) / 5);
Set("aso#58980", ((aso#18870.ltary * 4) + aso#58980) / 5);
}
aso#18870.ltarx = aso#27643;
aso#18870.ltary = aso#58980;
}
if (((((Key.isDown(13) || (Key.isDown(71))) || (Key.isDown(45))) || (Key.isDown(96))) || (Key.isDown(81))) && (aso#87533 == 0)) {
if (grenadetim <= 0) {
if (grenades > 0) {
if ((aso#18870._currentframe < 21) || (aso#18870._currentframe > 25)) {
grenadetim = 20;
grenades = grenades - 1;
aso#18870.gotoAndPlay("fire");
rn = Math.random();
duplicateMovieClip (_root["aso#56196"].grenad, "aso#94493" + aso#23046, 400 + aso#23046);
Set("aso#03687", Math.atan2(aso#27643 - aso#18870._x, aso#58980 - aso#18870._y));
_root["aso#56196"]["aso#94493" + aso#23046]._x = aso#18870._x + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100);
_root["aso#56196"]["aso#94493" + aso#23046]._y = aso#18870._y + aso#18870["aso#44218"]._y;
_root["aso#56196"]["aso#94493" + aso#23046]["aso#38229"] = (Math.sin(aso#03687) * 15) + aso#18870["aso#38229"];
_root["aso#56196"]["aso#94493" + aso#23046]["aso#75555"] = (Math.cos(aso#03687) * 15) + aso#18870["aso#75555"];
Set("aso#23046", aso#23046 + 1);
}
}
}
}
if (aso#18870.falltim > 0) {
aso#18870.falltim = aso#18870.falltim - 1;
}
tosit = 0;
if ((((((Key.isDown(16) || (Key.isDown(83))) || (Key.isDown(40))) && (aso#87533 == 0)) || (aso#18870.falltim > 0)) || (walkok && (aso#87533 != 0))) || (!hup)) {
tosit = 1;
} else {
tosit = -1;
}
if (cantlift) {
tosit = 1;
}
if (aso#18870["aso#60372"] > 30) {
tosit = 1;
}
aso#18870.sit = aso#18870.sit + tosit;
if (aso#18870.sit > 2) {
aso#18870.sit = 2;
}
if (aso#18870.sit < 0) {
aso#18870.sit = 0;
}
if ((aso#18870.sit == 1) && (tosit == 1)) {
aso#18870["aso#82936"].gotoAndPlay("sitdown");
}
if ((aso#18870.sit == 1) && (tosit == -1)) {
aso#18870["aso#82936"].gotoAndPlay("situp");
}
Set("aso#79731", (-Math.atan2((aso#18870._x + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100)) - aso#27643, (aso#18870._y + aso#18870["aso#44218"]._y) - aso#58980)) - (Math.PI/2));
if (aso#90317(aso#18870._x + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100), aso#18870._y + aso#18870["aso#44218"]._y, aso#27643, aso#58980) < 80) {
Set("aso#79731", (-Math.atan2((aso#18870._x + ((aso#18870.arm1._x * aso#18870._xscale) / 100)) - aso#27643, (aso#18870._y + aso#18870.arm1._y) - aso#58980)) - (Math.PI/2));
}
Set("aso#79731", aso#79731 + ((((Math.random() * aso#18870["aso#93101"]) * 2) - aso#18870["aso#93101"]) * 0.01));
Set("aso#03687", (aso#79731 / Math.PI) * 180);
TEMP = aso#79731;
if (aso#18870._x < aso#27643) {
aso#18870._xscale = 100;
} else {
aso#18870._xscale = -100;
Set("aso#03687", (-aso#03687) + 180);
}
if (aso#87533 == 0) {
_root["aso#38779"].gotoAndStop(aso#18870["aso#44218"]._currentframe);
}
aso#18870["aso#44218"]._rotation = aso#03687;
if (aso#18870["aso#51599"]._visible == true) {
Set("aso#67332", (-Math.atan2((aso#18870._x + ((aso#18870["aso#51599"]._x * aso#18870._xscale) / 100)) - aso#27643, (aso#18870._y + aso#18870["aso#51599"]._y) - aso#58980)) - (Math.PI/2));
if (aso#90317(aso#18870._x + ((aso#18870["aso#51599"]._x * aso#18870._xscale) / 100), aso#18870._y + aso#18870["aso#51599"]._y, aso#27643, aso#58980) < 80) {
Set("aso#67332", (-Math.atan2((aso#18870._x + ((aso#18870.arm2._x * aso#18870._xscale) / 100)) - aso#27643, (aso#18870._y + aso#18870.arm2._y) - aso#58980)) - (Math.PI/2));
}
Set("aso#67332", aso#67332 + ((((Math.random() * aso#18870["aso#93101"]) * 2) - aso#18870["aso#93101"]) * 0.01));
Set("aso#80702", (aso#67332 / Math.PI) * 180);
if (aso#18870._x < aso#27643) {
aso#18870._xscale = 100;
} else {
aso#18870._xscale = -100;
Set("aso#80702", (-aso#80702) + 180);
}
aso#18870["aso#51599"]._rotation = aso#80702;
}
if (aso#18870._xscale > 0) {
Set("aso#11068", (aso#03687 / 2) - 90);
} else {
Set("aso#11068", (aso#03687 / 2) + 90);
}
if ((aso#18870["aso#93101"] > 0.1) || (aso#18870["aso#93101"] < -0.1)) {
aso#18870["aso#93101"] = aso#18870["aso#93101"] * 0.9;
} else {
aso#18870["aso#93101"] = 0;
}
if (aso#18870._xscale > 0) {
if ((aso#11068 < -135) && (aso#11068 >= -180)) {
Set("aso#11068", -135);
}
if ((aso#11068 > -45) || (aso#11068 < -180)) {
Set("aso#11068", -45);
}
} else {
if ((aso#11068 > 315) || (aso#11068 < 180)) {
Set("aso#11068", 315);
}
if (aso#11068 < 225) {
Set("aso#11068", 225);
}
}
if (aso#18870["aso#70116"] == 0) {
aso#18870.arm1._rotation = (aso#11068 + 21) - (aso#18870["aso#60372"] * 0.8);
aso#18870.arm2._rotation = ((aso#11068 + 21) + 2) + (aso#18870["aso#60372"] * 0.3);
aso#18870["aso#14273"]._rotation = (aso#11068 + 90) + aso#18870["aso#60372"];
aso#18870["aso#18028"]._rotation = aso#18870["aso#18028"]._rotation - (aso#18870["aso#60372"] * 0.8);
if (aso#18870["aso#51599"]._visible == true) {
aso#18870["aso#51599"]._rotation = aso#18870["aso#51599"]._rotation + (aso#18870["aso#60372"] * 0.3);
}
} else {
aso#18870.arm1._rotation = (aso#11068 + 21) + (aso#18870["aso#60372"] * 0.8);
aso#18870.arm2._rotation = ((aso#11068 + 21) + 2) + (aso#18870["aso#60372"] * 0.5);
aso#18870["aso#14273"]._rotation = (aso#11068 + 90) - aso#18870["aso#60372"];
aso#18870["aso#18028"]._rotation = aso#18870["aso#18028"]._rotation + (aso#18870["aso#60372"] * 0.8);
if (aso#18870["aso#51599"]._visible == true) {
aso#18870["aso#51599"]._rotation = aso#18870["aso#51599"]._rotation + (aso#18870["aso#60372"] * 0.5);
}
}
Set("aso#03687", aso#18870.arm1._rotation * aso#33632);
Set("aso#81123", Math.atan2(aso#18870.arm1.wea._y, aso#18870.arm1.wea._x) - (Math.PI/2));
Set("aso#94914", aso#90317(aso#18870.arm1.wea._x, aso#18870.arm1.wea._y, 0, 0));
plx = Math.sin(aso#03687 + aso#81123) * aso#94914;
ply = Math.cos(aso#03687 + aso#81123) * aso#94914;
aso#18870["aso#44218"]._x = aso#18870.arm1._x - plx;
aso#18870["aso#44218"]._y = aso#18870.arm1._y + ply;
if (aso#18870["aso#51599"]._visible == true) {
Set("aso#03687", aso#18870.arm2._rotation * aso#33632);
Set("aso#81123", Math.atan2(aso#18870.arm2.wea._y, aso#18870.arm2.wea._x) - (Math.PI/2));
Set("aso#94914", aso#90317(aso#18870.arm2.wea._x, aso#18870.arm2.wea._y, 0, 0));
plx = Math.sin(aso#03687 + aso#81123) * aso#94914;
ply = Math.cos(aso#03687 + aso#81123) * aso#94914;
aso#18870["aso#51599"]._x = (aso#18870.arm2._x - plx) + 2;
aso#18870["aso#51599"]._y = (aso#18870.arm2._y + ply) - 1;
}
if (aso#77918 < 0) {
aso#18870.lastvis = aso#88504(aso#18870._x + ((aso#18870["aso#44218"]._x * aso#18870._xscale) / 100), aso#18870._y + aso#18870["aso#44218"]._y, aso#27643, aso#58980);
}
if (aso#18870.lhunt != aso#18870.hunt) {
aso#18870.lhunt = aso#18870.hunt;
aso#18870["aso#76105"] = 0;
} else {
aso#18870["aso#76105"]++;
}
if ((fire && (aso#87533 == 0)) || (((aso#87533 != 0) && (aso#18870.hunt != -1)) && (aso#90317(aso#18870.mtarx, aso#18870.mtary, aso#27643, aso#58980) < 300))) {
if ((aso#87533 == 0) || (((((aso#87533 != 0) && (aso#18870["aso#76105"] > 1)) && ((Math.random() > 0.95) || ((Math.random() > 0.7) && (aso#18870["aso#29035"] == 1)))) && (aso#18870.lastvis)) && ((Math.abs(aso#27643 - aso#18870._x) < screenX) || ((aso#18870["aso#29035"] == 1) && (Math.abs(aso#27643 - aso#18870._x) < screenX))))) {
if ((aso#18870._currentframe < 21) || (aso#18870._currentframe > 25)) {
SHOT();
}
}
}
}
}
if (aso#18870["aso#12881"] <= 0) {
if (aso#18870.dead == false) {
aso#18870.dead = true;
aso#32790(aso#87533);
} else {
if (aso#18870.jet) {
aso#69566[aso#18870["aso#59951"]] = aso#69566[aso#18870["aso#59951"]] - ((aso#50207[aso#18870["aso#16636"]] - aso#50207[aso#18870["aso#59951"]]) * 0.3);
aso#63577[aso#18870["aso#59951"]] = aso#63577[aso#18870["aso#59951"]] - ((aso#32240[aso#18870["aso#16636"]] - aso#32240[aso#18870["aso#59951"]]) * 0.3);
aso#45610[aso#18870["aso#59951"]] = true;
aso#18870["aso#12881"] = aso#18870["aso#12881"] - 1;
if (aso#18870["aso#12881"] < -500) {
aso#18870.jet = false;
aso#18870.body.jet.gotoAndPlay("jet_off");
}
}
if ((_root.opt_dis < 3) && (aso#87533 != 0)) {
aso#18870.deadtime = aso#18870.deadtime + 1;
if (((aso#18870.deadtime > 200) && (_root.opt_dis == 2)) || ((aso#18870.deadtime > 70) && (_root.opt_dis == 1))) {
if (aso#18870._alpha > 0) {
aso#18870._alpha = aso#18870._alpha - 10;
} else {
aso#18870._visible = false;
aso#18870["aso#35024"] = false;
aso#45610[aso#18870["aso#16636"]] = 2;
aso#18870.unloadMovie();
}
}
}
}
}
if (aso#18870["aso#35024"] == true) {
if (aso#18870["aso#12881"] > 0) {
aso#18870["aso#60372"] = aso#18870["aso#60372"] + (aso#18870.lhea - aso#18870["aso#12881"]);
if (aso#18870.lhea != aso#18870["aso#12881"]) {
aso#18870["aso#83907"] = 0;
} else {
aso#18870["aso#60372"] = aso#18870["aso#60372"] - aso#18870["aso#83907"];
aso#18870["aso#83907"] = aso#18870["aso#83907"] + 5;
if (aso#18870["aso#83907"] > 15) {
aso#18870["aso#83907"] = 15;
}
}
if (aso#18870["aso#60372"] > 45) {
aso#18870["aso#60372"] = 45;
}
if (aso#18870["aso#60372"] < 0) {
aso#18870["aso#60372"] = 0;
aso#18870["aso#70116"] = Math.round(Math.random());
}
aso#18870["aso#82936"].upper1.gotoAndStop(aso#18870["aso#47002"]);
aso#18870["aso#82936"].upper2.gotoAndStop(aso#18870["aso#47002"]);
aso#18870["aso#82936"].lower1.gotoAndStop(aso#18870["aso#47002"]);
aso#18870["aso#82936"].lower2.gotoAndStop(aso#18870["aso#47002"]);
aso#18870["aso#82936"].middle1.gotoAndStop(aso#18870["aso#47002"]);
aso#18870["aso#82936"].middle2.gotoAndStop(aso#18870["aso#47002"]);
aso#18870["aso#82936"].toe.gotoAndStop(aso#18870["aso#47002"]);
} else {
aso#18870["aso#82936"]["aso#55775"].upper.gotoAndStop(aso#18870["aso#47002"]);
aso#18870["aso#82936"]["aso#87112"].upper.gotoAndStop(aso#18870["aso#47002"]);
aso#18870["aso#82936"]["aso#55775"].lower.gotoAndStop(aso#18870["aso#47002"]);
aso#18870["aso#82936"]["aso#87112"].lower.gotoAndStop(aso#18870["aso#47002"]);
aso#18870["aso#82936"]["aso#55775"].middle.gotoAndStop(aso#18870["aso#47002"]);
aso#18870["aso#82936"]["aso#87112"].middle.gotoAndStop(aso#18870["aso#47002"]);
aso#18870["aso#82936"].toe.gotoAndStop(aso#18870["aso#47002"]);
}
}
aso#18870.lhea = aso#18870["aso#12881"];
aso#87533++;
}
Set("aso#33211", 0);
while (aso#33211 < maxef) {
if (_root["aso#56196"]["p" + aso#33211]) {
if (_root["aso#56196"]["p" + aso#33211].kill == true) {
_root["aso#56196"]["p" + aso#33211].removeMovieClip();
}
}
aso#33211++;
}
aso#01453();
aso#95464();
if (_root["aso#56196"].player0["aso#12881"] != lhea) {
if ((lhea > 0) && (_root["aso#56196"].player0["aso#12881"] <= 0)) {
Set("aso#88083", (Math.random() * Math.PI) * 2);
_root["aso#56196"]._x = _root["aso#56196"]._x + (Math.sin(aso#88083) * 200);
_root["aso#56196"]._y = _root["aso#56196"]._y + (Math.cos(aso#88083) * 200);
if ((_root["aso#56196"]._y - (hscreenY * 2)) < -1000) {
_root["aso#56196"]._y = (hscreenY * 2) - 1000;
}
_root.aso#19841("<font color=\"#FFFF00\">Press SPACE for quick restart</font>");
}
}
if (_root["aso#56196"].player0["aso#12881"] <= 0) {
if (Key.isDown(32)) {
if (_root["aso#56196"].player0["aso#12881"] != undefined) {
stpsnds();
_root.gotoAndStop(5);
_root.gotoAndStop(3);
}
}
}
lhea = _root["aso#56196"].player0["aso#12881"];
mdl = _root["aso#56196"].player0["aso#44218"]._currentframe;
cur = -1;
k = 0;
while (k < 6) {
if (_root["w" + k] == mdl) {
cur = k;
}
k++;
}
if ((cur >= 0) && (cur < 6)) {
if (((((Key.isDown(49) || (Key.isDown(50))) || (Key.isDown(51))) || (Key.isDown(52))) || (Key.isDown(53))) || (Key.isDown(54))) {
if (Key.getCode() >= 49) {
if (Key.getCode() <= 54) {
Set("aso#91288", -1);
k = 0;
while (k < 6) {
if (Key.getCode() == (49 + k)) {
Set("aso#91288", _root["w" + k]);
}
k++;
}
if (_root["aso#56196"].player0["w_upg" + aso#91288] != -1) {
_root["aso#56196"].player0["aso#44218"].gotoAndStop(aso#91288);
my_so.data.lwea = aso#91288;
}
aso#61343(0);
}
}
}
}
if (Key.getCode() == 192) {
_root.console._visible = true;
_root.console.cons.text = "";
_root.console.cons.onSetFocus();
}
if (Key.getCode() == 13) {
_root.console.exec.onPress();
}
if (Key.getCode() == 27) {
_root.console._visible = false;
}
_root.gcur._x = _xmouse;
_root.gcur._y = _ymouse;
if (_root["aso#56196"].player0["aso#12881"] > 0) {
_root.gcur._xscale = Math.min(100 + (_root["aso#56196"].player0["aso#93101"] * 10), 300);
} else {
_root.gcur._xscale = 100;
}
_root.gcur._yscale = _root.gcur._xscale;
_root.gcur._alpha = 50 - (_root["aso#56196"].player0["aso#93101"] * 10);
if (_root.gcur._alpha < 10) {
_root.gcur._alpha = 10;
}
if (_root.gcur._alpha > 30) {
_root.gcur._alpha = 50;
}
_root.gcur.gotoAndStop(_root["aso#56196"].player0["aso#44218"]._currentframe);
if (_root["aso#56196"].player0["aso#12881"] > 0) {
if (my_so.data.bg_sou) {
if (_root["aso#56196"]["aso#69145"].hitTest(_root["aso#56196"].player0._x + _root["aso#56196"]._x, (_root["aso#56196"].player0._y + _root["aso#56196"]._y) - 50, true)) {
if (_root.am_base_vol < 50) {
_root.am_base_vol = _root.am_base_vol + 2;
if (_root["aso#56196"]._currentframe < 11) {
am_base.setVolume(_root.am_base_vol);
am_falkok_base.setVolume(0);
} else {
am_base.setVolume(0);
am_falkok_base.setVolume(_root.am_base_vol);
}
}
if (_root.am_wind_vol > 0) {
_root.am_wind_vol = _root.am_wind_vol - 2;
am_wind.setVolume(_root.am_wind_vol);
}
} else {
if (_root.am_wind_vol < 50) {
_root.am_wind_vol = _root.am_wind_vol + 2;
am_wind.setVolume(_root.am_wind_vol);
}
if (_root.am_base_vol > 0) {
_root.am_base_vol = _root.am_base_vol - 2;
am_base.setVolume(_root.am_base_vol);
}
}
}
}
}
}
};
Mouse.hide();
_root.gcur.gotoAndStop(1);
_root.gcur._visible = true;
Mouse.removeListener(someListener);
someListener = new Object();
Mouse.addListener(someListener);
someListener.onMouseDown = function () {
fire = true;
};
someListener.onMouseUp = function () {
fire = false;
};
_root.w0 = 6;
_root.w1 = 1;
_root.w2 = 2;
_root.w3 = 3;
_root.w4 = 4;
_root.w5 = 5;
someListener.onMouseWheel = function (delta, scrollTarget) {
if (_root["aso#56196"].player0["aso#12881"] > 0) {
mdl = _root["aso#56196"].player0["aso#44218"]._currentframe;
cur = -1;
k = 0;
while (k < 6) {
if (_root["w" + k] == mdl) {
cur = k;
}
k++;
}
if ((cur >= 0) && (cur < 6)) {
cur = cur + (delta / Math.abs(delta));
while (((((_root["aso#56196"].player0["w_upg" + cur] == -1) || (_root["aso#56196"].player0["w_upg" + cur] == undefined)) || (isNaN(_root["aso#56196"].player0["w_upg" + cur]))) || (cur < 0)) || (cur >= 6)) {
cur = cur + (delta / Math.abs(delta));
if (cur >= 6) {
cur = 0;
}
if (cur < 0) {
cur = 5;
}
}
_root["aso#56196"].player0["aso#44218"].gotoAndStop(_root["w" + cur]);
my_so.data.lwea = _root["w" + cur];
aso#61343(0);
}
}
};
Frame 4
if (_root["aso#85720"] == 2) {
_root.money._visible = true;
_root.score._visible = true;
_root.stat_money = (_root.stat_kills * 7) + (_root.stat_headshots * 3);
my_so.data.nht = ((((((("KILLS: " + _root.stat_kills) + "\nHEADSHOTS: ") + _root.stat_headshots) + "\nSHOTS: ") + _root.stat_shots) + "\n<font color=\"#FFFFFF\">MONEY FOR COMPLETION THIS LEVEL: +$") + _root.stat_money) + "</font>";
if (_root.stat_shots < 1) {
_root.stat_shots = 1;
}
my_so.data["lvl_score" + my_so.data.lastlevel] = Math.round(((_root.stat_kills + _root.stat_headshots) * 100) * my_so.data.opt_bot);
if (my_so.data["lvl_money" + my_so.data.lastlevel] == undefined) {
my_so.data["lvl_money" + my_so.data.lastlevel] = _root.stat_money;
} else if (my_so.data["lvl_money" + my_so.data.lastlevel] < _root.stat_money) {
my_so.data["lvl_money" + my_so.data.lastlevel] = _root.stat_money;
}
_root.UpdateMoney();
_root.aso#12039();
}
_root["aso#85720"] = 3;
_root.resu.htmlText = my_so.data.nht;
_root.onEnterFrame = function () {
};
Mouse.show();
_root.gcur._visible = false;
if (_root.auto_buy == true) {
_root.auto_buy = false;
_root.fromshop = 4;
_root.gotoAndStop(9);
}
Frame 5
_root["aso#85720"] = 4;
_root.money._visible = true;
_root.score._visible = true;
_root.stop();
_root.onEnterFrame = function () {
};
Mouse.show();
_root.gcur._visible = false;
_root.aso#12039();
_root.UpdateMoney();
_root.errortext.text = _root.whydead;
Frame 6
_root["aso#85720"] = 5;
_root.money._visible = false;
_root.score._visible = false;
_root.stop();
_root.onEnterFrame = function () {
};
Mouse.show();
_root.gcur._visible = false;
Frame 7
function aso#98669(num) {
to = Math.round((((_xmouse - 388) / 397) * 2) + 1);
if (num == 1) {
_root.opt_eff = to;
_root.param1.gotoAndStop(_root.opt_eff);
}
if (num == 2) {
_root.opt_bot = to;
_root.param2.gotoAndStop(_root.opt_bot);
}
if (num == 3) {
_root.opt_dis = to;
_root.param3.gotoAndStop(_root.opt_dis);
}
if (num == 4) {
_root.opt_vol = to;
_root.param4.gotoAndStop(_root.opt_vol);
}
my_so.data.opt_eff = _root.opt_eff;
my_so.data.opt_bot = _root.opt_bot;
my_so.data.opt_dis = _root.opt_dis;
my_so.data.opt_vol = _root.opt_vol;
}
_root["aso#85720"] = 6;
_root.money._visible = false;
_root.score._visible = false;
_root.stop();
Mouse.show();
_root.gcur._visible = false;
_root.param1.gotoAndStop(_root.opt_eff);
_root.param2.gotoAndStop(_root.opt_bot);
_root.param3.gotoAndStop(_root.opt_dis);
_root.param1.onPress = function () {
aso#98669(1);
};
_root.param2.onPress = function () {
aso#98669(2);
};
_root.param3.onPress = function () {
aso#98669(3);
};
_root.param4.onPress = function () {
aso#98669(4);
};
if (my_so.data.breaking) {
_root.chk1.gotoAndStop(1);
} else {
_root.chk1.gotoAndStop(2);
}
if (my_so.data.blood) {
_root.chk2.gotoAndStop(1);
} else {
_root.chk2.gotoAndStop(2);
}
if (my_so.data.bg_sou) {
_root.chk3.gotoAndStop(1);
} else {
_root.chk3.gotoAndStop(2);
}
if (my_so.data.low_q) {
_root.chk4.gotoAndStop(1);
} else {
_root.chk4.gotoAndStop(2);
}
_root.chk1.onPress = function () {
if (my_so.data.breaking) {
my_so.data.breaking = false;
} else {
my_so.data.breaking = true;
}
if (my_so.data.breaking) {
_root.chk1.gotoAndStop(1);
} else {
_root.chk1.gotoAndStop(2);
}
};
_root.chk2.onPress = function () {
if (my_so.data.blood) {
my_so.data.blood = false;
} else {
my_so.data.blood = true;
}
if (my_so.data.blood) {
_root.chk2.gotoAndStop(1);
} else {
_root.chk2.gotoAndStop(2);
}
};
_root.chk3.onPress = function () {
if (my_so.data.bg_sou) {
my_so.data.bg_sou = false;
} else {
my_so.data.bg_sou = true;
}
if (my_so.data.bg_sou) {
_root.chk3.gotoAndStop(1);
} else {
_root.chk3.gotoAndStop(2);
}
};
_root.chk4.onPress = function () {
if (my_so.data.low_q) {
my_so.data.low_q = false;
} else {
my_so.data.low_q = true;
}
if (my_so.data.low_q) {
_root.chk4.gotoAndStop(1);
} else {
_root.chk4.gotoAndStop(2);
}
};
_root.onEnterFrame = function () {
};
Frame 8
_root["aso#85720"] = 7;
_root.money._visible = true;
_root.score._visible = true;
_root.stop();
Mouse.show();
_root.gcur._visible = false;
Set("aso#87533", 1);
while (aso#87533 < 18) {
_root["lv" + aso#87533].numm.text = aso#87533;
_root["lv" + aso#87533].gotoAndStop(1);
if (aso#87533 > my_so.data.lastlevel) {
_root["lv" + aso#87533]._alpha = 50;
} else {
_root["lv" + aso#87533].onPress = function () {
};
}
aso#87533++;
}
fire = false;
_root.onEnterFrame = function () {
Set("aso#87533", 1);
while (aso#87533 < 18) {
if (aso#87533 <= my_so.data.lastlevel) {
if (_root["lv" + aso#87533].hitTest(_xmouse, _ymouse, false)) {
if (fire) {
_root["lv" + aso#87533].gotoAndStop(3);
} else {
_root["lv" + aso#87533].gotoAndStop(2);
}
} else {
_root["lv" + aso#87533].gotoAndStop(1);
}
}
aso#87533++;
}
};
someListener.onMouseDown = function () {
fire = true;
};
someListener.onMouseUp = function () {
fire = false;
Set("aso#87533", 1);
while (aso#87533 <= my_so.data.lastlevel) {
if (_root["lv" + aso#87533].hitTest(_xmouse, _ymouse, false)) {
_root["aso#75134"] = aso#87533;
_root.gotoAndStop(12);
}
aso#87533++;
}
};
Frame 9
function aso#64127(firstrb) {
Set("aso#87533", 0);
while (aso#87533 < 8) {
if (firstrb) {
if (aso#87533 != 0) {
duplicateMovieClip (_root.lizt.item0, "item" + aso#87533, aso#87533);
}
}
_root.lizt["item" + aso#87533].onPress = function () {
};
_root.lizt["item" + aso#87533]._y = _root.lizt.item0._y + (22 * aso#87533);
_root.lizt["item" + aso#87533].gotoAndStop(1);
_root.lizt["item" + aso#87533].l.text = labl[aso#87533];
_root.lizt["item" + aso#87533].r.text = "";
if ((aso#87533 > 5) && (my_so.data["weapon" + (aso#87533 + 1)] < 1)) {
_root.lizt["item" + aso#87533].o.text = "Important";
} else {
_root.lizt["item" + aso#87533].o.text = "";
}
if (my_so.data["weapon" + (aso#87533 + 1)] == -1) {
_root.lizt["item" + aso#87533].l.text = _root.lizt["item" + aso#87533].l.text + " (none)";
_root.lizt["item" + aso#87533].r.text = ("Buy ($" + buy[aso#87533]) + ")";
} else {
_root.lizt["item" + aso#87533].l.text = _root.lizt["item" + aso#87533].l.text + ((((" (" + (my_so.data["weapon" + (aso#87533 + 1)] + 1)) + "/") + (mxlevel[aso#87533] + 1)) + " level)");
if (my_so.data["weapon" + (aso#87533 + 1)] < mxlevel[aso#87533]) {
_root.lizt["item" + aso#87533].r.text = ((("Update to " + (my_so.data["weapon" + (aso#87533 + 1)] + 2)) + " level ($") + level[aso#87533]) + ")";
}
}
Set("aso#15244", 0);
if (my_so.data["weapon" + (aso#87533 + 1)] == -1) {
Set("aso#15244", buy[aso#87533]);
} else if (my_so.data["weapon" + (aso#87533 + 1)] < mxlevel[aso#87533]) {
Set("aso#15244", level[aso#87533]);
}
_root.lizt["item" + aso#87533]._alpha = 50;
if (aso#15244 != 0) {
if ((_root.global_money - aso#15244) >= 0) {
_root.lizt["item" + aso#87533]._alpha = 100;
}
}
aso#87533++;
}
_root.money.text = "Your Money: $" + _root.global_money;
}
_root["aso#85720"] = 8;
_root.money._visible = true;
_root.score._visible = true;
_root.stop();
Mouse.show();
_root.gcur._visible = false;
var labl = new Array("Pistol", "Rifle", "Shot-gun", "Rocket Launcher", "Plasma Cannon", "Electroshock", "Helmet", "Armor");
var buy = new Array(30, 70, 120, 220, 200, 10, 20, 20);
var level = new Array(30, 65, 70, 0, 100, 10, 40, 40);
var mxlevel = new Array(2, 2, 2, 0, 2, 0, 1, 4);
aso#64127(true);
fire = false;
_root.onEnterFrame = function () {
Set("aso#87533", 0);
while (aso#87533 < 8) {
if (_root.lizt["item" + aso#87533].hitTest(_xmouse, _ymouse, false)) {
if (fire) {
_root.lizt["item" + aso#87533].gotoAndStop(3);
} else {
_root.lizt["item" + aso#87533].gotoAndStop(2);
}
} else {
_root.lizt["item" + aso#87533].gotoAndStop(1);
}
aso#87533++;
}
};
someListener.onMouseDown = function () {
fire = true;
};
someListener.onMouseUp = function () {
fire = false;
Set("aso#87533", 0);
while (aso#87533 < 8) {
if (_root.lizt["item" + aso#87533].hitTest(_xmouse, _ymouse, false)) {
Set("aso#15244", 0);
if (my_so.data["weapon" + (aso#87533 + 1)] == -1) {
Set("aso#15244", buy[aso#87533]);
} else if (my_so.data["weapon" + (aso#87533 + 1)] < mxlevel[aso#87533]) {
Set("aso#15244", level[aso#87533]);
}
if (aso#15244 != 0) {
if ((_root.global_money - aso#15244) >= 0) {
my_so.data.mmoney = my_so.data.mmoney + aso#15244;
_root.UpdateMoney();
my_so.data["weapon" + (aso#87533 + 1)] = my_so.data["weapon" + (aso#87533 + 1)] + 1;
aso#64127(false);
}
}
}
aso#87533++;
}
};
Frame 10
_root["aso#85720"] = 9;
_root.money._visible = false;
_root.score._visible = false;
_root.stop();
Mouse.show();
_root.gcur._visible = false;
_root.main_music1.stop();
_root.main_music2.stop();
_root.main_music3.stop();
_root.main_music4.stop();
_root.main_music_credits.start(0, 1);
_root.onEnterFrame = function () {
if (_root["aso#85720"] == 9) {
_root.mv.scrllr._y = _root.mv.scrllr._y - 1.3;
if (_root.mv.scrllr._y < -820) {
_root.main_music_credits.stop();
_root.main_music_credits.start((_root.main_music_credits.duration / 1000) - 1, 1);
_root.gotoAndStop(2);
}
}
};
Frame 11
_root["aso#85720"] = 10;
_root.money._visible = false;
_root.score._visible = false;
_root.stop();
Mouse.show();
_root.gcur._visible = false;
var main_music_credits = new Sound();
_root.main_music1.attachSound("track1");
_root.main_music2.attachSound("track2");
_root.main_music3.attachSound("track3");
_root.main_music4.attachSound("track4");
_root.main_music_credits.attachSound("credit_loop");
_root.main_music_credits.onSoundComplete = function () {
if (_root.my_so.data.music == 2) {
_root.main_music3.start(0, 1);
}
};
_root.visarea._visible = false;
_root.screenarea._visible = false;
_root.glow._alpha = 0;
_root.stop();
_root.onEnterFrame = function () {
};
Mouse.show();
_root.UpdateMoney();
_root.aso#12039();
_root.nick.text = _root["aso#85299"];
Frame 12
_root["aso#85720"] = 11;
_root.money._visible = false;
_root.score._visible = false;
_root.stop();
Mouse.show();
_root.gcur._visible = false;
_root.visarea._visible = false;
_root.screenarea._visible = false;
_root.glow._alpha = 0;
_root.stop();
_root.onEnterFrame = function () {
};
Mouse.show();
Frame 13
_root["aso#85720"] = 12;
_root.money._visible = false;
_root.score._visible = false;
_root.stop();
Mouse.show();
_root.gcur._visible = false;
_root.visarea._visible = false;
_root.screenarea._visible = false;
_root.glow._alpha = 0;
_root.stop();
_root.onEnterFrame = function () {
};
Mouse.show();
var scoresCallback = function (result) {
if (!result.success) {
gotoAndStop (2);
} else {
var _local2 = 0;
while ((_local2 < result.list.length) && (_local2 < 12)) {
var _local4 = _local2 + 1;
if (_local2 != 0) {
duplicateMovieClip (_root.lizt2.item0, "item" + _local2, _local2);
}
_root.lizt2["item" + _local2]._y = 17 + (_local2 * 16);
_root.lizt2["item" + _local2].l.text = result.list[_local2].username;
_root.lizt2["item" + _local2].r.text = result.list[_local2].score;
if (_local2 == 11) {
_root.lizt2["item" + _local2].l.text = "...";
_root.lizt2["item" + _local2].r.text = "";
}
_local2++;
}
}
};
_root.kongregateScores.requestList(scoresCallback, this);
Frame 14
_root["aso#85720"] = 13;
_root.videos.gotoAndStop(_root["aso#75134"]);
someListener.onMouseDown = function () {
if (_root["aso#85720"] == 13) {
if (_root["aso#75134"] == 17) {
gotoAndStop (10);
} else {
gotoAndStop (3);
}
}
};
Frame 15
_root["aso#85720"] = 14;
_root.onEnterFrame = function () {
};
loadfinished = true;
someListener.onMouseUp = function () {
if (_root["aso#85720"] == 14) {
_root.gotoAndStop(11);
}
};
Symbol 10 Button
on (release) {
getURL ("http://www.coolbuddy.com/?cid=166", "_blank");
}
Symbol 15 MovieClip Frame 1
if (_root.showperc == true) {
this.txtt.htmlText = _root.loa.htmlText;
}
Symbol 16 MovieClip Frame 100
_root.showperc = true;
this.gotoAndPlay(60);
Symbol 980 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("3.0 as2");
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = 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 aso#78339 = clip._mochiad;
aso#78339.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
aso#78339._x = _local4 * 0.5;
aso#78339._y = _local13 * 0.5;
var chk = aso#78339.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
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;
}
};
aso#78339.lc.regContLC = function (lc_name) {
aso#78339._containerLCName = lc_name;
};
var sendHostProgress = false;
aso#78339.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
aso#78339.lc.adLoaded = options.ad_loaded;
aso#78339.lc.adSkipped = options.ad_skipped;
aso#78339.lc.adjustProgress = function (msec) {
var _local2 = this["aso#78339"]._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
aso#78339.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
aso#78339.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2});
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {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, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var aso#78339 = clip._mochiad;
aso#78339.onUnload = function () {
options.ad_finished();
};
var _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
aso#78339._x = _local10 * 0.5;
aso#78339._y = _local7 * 0.5;
var chk = aso#78339.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
aso#78339.lc.adLoaded = options.ad_loaded;
aso#78339.lc.adSkipped = options.ad_skipped;
aso#78339.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
aso#78339.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local20 = false;
aso#78339.lc.regContLC = function (lc_name) {
aso#78339._containerLCName = lc_name;
};
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_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 aso#78339 = clip._mochiad;
aso#78339.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
aso#78339._x = _local14 * 0.5;
aso#78339._y = _local11 * 0.5;
var chk = aso#78339.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;
}
};
aso#78339.lc.adLoaded = options.ad_loaded;
aso#78339.lc.adSkipped = options.ad_skipped;
aso#78339.lc.adjustProgress = function (msec) {
var _local2 = this["aso#78339"]._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
aso#78339.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
aso#78339.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 _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local7 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local7._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local7._mochiad_loaded = true;
if (_local7._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.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 LocalConnection();
var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5["aso#78339"] = _local6;
_local5.name = _local9;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local9);
_local6.lc = _local5;
_local4.lc = _local9;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
if (clip._mochiad._containerLCName != undefined) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"});
}
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);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3);
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);
}
}
Symbol 31 MovieClip Frame 5
this.stop();
Symbol 35 MovieClip Frame 5
this.stop();
Symbol 38 MovieClip Frame 20
this.stop();
Symbol 41 Button
on (release) {
_root.gotoAndStop(8);
}
Symbol 43 Button
on (release) {
_root.gotoAndStop(6);
}
Symbol 45 Button
on (release) {
_root.gotoAndStop(7);
}
Symbol 47 Button
on (release) {
_root.fromshop = 2;
_root.gotoAndStop(9);
}
Symbol 49 Button
on (release) {
_root.gotoAndStop(10);
}
Symbol 52 Button
on (release) {
_root.gotoAndStop(13);
}
Symbol 54 Button
on (release) {
getURL ("http://www.coolbuddy.com/?cid=166", "_blank");
}
Symbol 74 MovieClip Frame 1
_root.musics._alpha = 50;
_root.musics.onRollOver = function () {
_root.musics._alpha = 100;
};
_root.musics.onRollOut = function () {
_root.musics._alpha = 50;
};
_root.musics.useHandCursor = true;
_root.musics.onRelease = function () {
if (_root.musics._currentframe == 2) {
_root.musics.gotoAndStop(3);
} else {
_root.musics.gotoAndStop(2);
}
};
if (_root.my_so.data.music == 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
Symbol 74 MovieClip Frame 2
_root.my_so.data.music = 2;
_root.main_music1.stop();
_root.main_music1.start(0, 1);
Symbol 74 MovieClip Frame 3
_root.my_so.data.music = 3;
_root.main_music1.stop();
Symbol 81 MovieClip Frame 1
this.stop();
this._visible = false;
Symbol 85 MovieClip Frame 1
this.gotoAndStop(_root["aso#75134"]);
Symbol 89 MovieClip Frame 1
this._visible = false;
Symbol 100 MovieClip Frame 1
this.gotoAndStop(Math.floor(Math.random() * 9) + 1);
Symbol 151 MovieClip Frame 1
this.bloddy._visible = false;
this.bloddy2._visible = false;
Symbol 154 MovieClip Frame 2
if (this._parent["aso#12881"] > 0) {
if (this._parent.sit == 2) {
this.gotoAndPlay("sitidle");
}
}
Symbol 154 MovieClip Frame 10
if (this._parent["aso#12881"] > 0) {
this.gotoAndPlay("idle");
}
Symbol 154 MovieClip Frame 15
if (this._parent["aso#12881"] > 0) {
this.gotoAndPlay("sitidle");
}
Symbol 154 MovieClip Frame 29
if (this._parent["aso#12881"] > 0) {
if (this._parent.sit == 2) {
this.gotoAndPlay("sitidle");
} else {
this.gotoAndPlay("situp");
}
}
Symbol 154 MovieClip Frame 49
if (this._parent["aso#12881"] > 0) {
this.gotoAndPlay("sitidle");
}
Symbol 154 MovieClip Frame 54
if (this._parent["aso#12881"] > 0) {
this.gotoAndPlay("idle");
}
Symbol 154 MovieClip Frame 60
if (this._parent["aso#12881"] > 0) {
if (this._parent.sit == 2) {
this.gotoAndPlay("sitwalk");
}
}
Symbol 154 MovieClip Frame 76
if (this._parent["aso#12881"] > 0) {
this.gotoAndPlay("idle");
}
Symbol 163 MovieClip Frame 1
this.stop();
Symbol 174 MovieClip Frame 1
this.stop();
Symbol 174 MovieClip Frame 16
this.gotoAndStop(1);
Symbol 174 MovieClip Frame 30
this.gotoAndStop(1);
Symbol 186 MovieClip Frame 1
this.stop();
Symbol 197 MovieClip Frame 1
if (this._currentframe == 1) {
this.stop();
}
if (this._parent._parent["w_upg" + this._parent._currentframe] >= 1) {
this.upg1._visible = true;
} else {
this.upg1._visible = false;
}
if (this._parent._parent["w_upg" + this._parent._currentframe] >= 2) {
this.upg2._visible = true;
} else {
this.upg2._visible = false;
}
Symbol 197 MovieClip Frame 6
if (this._parent._parent["w_upg" + this._parent._currentframe] >= 2) {
this.gotoAndStop(1);
}
Symbol 197 MovieClip Frame 19
this.gotoAndStop(1);
Symbol 199 MovieClip Frame 1
this._visible = false;
Symbol 207 MovieClip Frame 1
if (this._currentframe == 1) {
this.stop();
}
if (this._parent._parent["w_upg" + this._parent._currentframe] >= 1) {
this.upg1._visible = true;
} else {
this.upg1._visible = false;
}
if (this._parent._parent["w_upg" + this._parent._currentframe] >= 2) {
this.upg2._visible = true;
} else {
this.upg2._visible = false;
}
Symbol 207 MovieClip Frame 4
gotoAndStop (1);
Symbol 220 MovieClip Frame 1
if (this._currentframe == 1) {
this.stop();
}
if (this._parent._parent["w_upg" + this._parent._currentframe] >= 1) {
this.upg1._visible = true;
} else {
this.upg1._visible = false;
}
if (this._parent._parent["w_upg" + this._parent._currentframe] >= 2) {
this.upg2._visible = true;
} else {
this.upg2._visible = false;
}
Symbol 220 MovieClip Frame 16
gotoAndStop (1);
Symbol 227 MovieClip Frame 1
if (this._currentframe == 1) {
this.stop();
}
Symbol 227 MovieClip Frame 45
gotoAndStop (1);
Symbol 233 MovieClip Frame 1
if (this._currentframe == 1) {
this.stop();
}
Symbol 233 MovieClip Frame 40
gotoAndStop (1);
Symbol 240 MovieClip Frame 1
if (this._currentframe == 1) {
this.stop();
}
Symbol 240 MovieClip Frame 7
gotoAndStop (1);
Symbol 244 MovieClip Frame 1
if (this._currentframe == 1) {
this.stop();
}
Symbol 244 MovieClip Frame 5
gotoAndStop (1);
Symbol 247 MovieClip Frame 1
if (this._currentframe == 1) {
this.stop();
}
Symbol 247 MovieClip Frame 32
gotoAndStop (1);
Symbol 248 MovieClip Frame 1
if (this._currentframe == 1) {
this.stop();
}
Symbol 248 MovieClip Frame 10
gotoAndStop (1);
Symbol 251 MovieClip Frame 1
if (this._currentframe == 1) {
this.stop();
}
Symbol 251 MovieClip Frame 4
gotoAndStop (1);
Symbol 255 MovieClip Frame 1
if (this._currentframe == 1) {
this.stop();
}
Symbol 255 MovieClip Frame 25
gotoAndStop (1);
Symbol 256 MovieClip Frame 1
this.stop();
Symbol 284 MovieClip Frame 1
stop();
this.visible = false;
Symbol 284 MovieClip Frame 2
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 3
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 4
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 5
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 6
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 7
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 8
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 9
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 10
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 11
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 12
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 13
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 14
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 20
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 21
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 22
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 23
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 24
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 25
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 30
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 31
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 32
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 35
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 36
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 37
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 38
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 39
this.gotoAndStop(1);
Symbol 284 MovieClip Frame 40
this.gotoAndStop(1);
Symbol 285 MovieClip Frame 20
gotoAndPlay (2);
Symbol 285 MovieClip Frame 21
this["aso#14273"].emotion.gotoAndPlay("fire");
Symbol 285 MovieClip Frame 23
gotoAndPlay (2);
Symbol 285 MovieClip Frame 26
if (this["aso#12881"] > 0) {
this["aso#14273"].emotion.gotoAndPlay("hurt");
if (this.myi == 0) {
this.sou.gotoAndStop(Math.round((Math.random() * 3) + 20));
} else if (this.myi == -1) {
this.sou.gotoAndStop(Math.round((Math.random() * 3) + 35));
} else {
this.sou.gotoAndStop(Math.round((Math.random() * 3) + 2));
}
}
Symbol 285 MovieClip Frame 32
gotoAndPlay (2);
Symbol 285 MovieClip Frame 48
gotoAndPlay (2);
Symbol 298 MovieClip Frame 1
this.kill = false;
Set("aso#52570", (Math.random() * 0.9) - 0.25);
this["aso#38229"] = this["aso#38229"] * aso#52570;
this["aso#75555"] = this["aso#75555"] * aso#52570;
this["aso#38229"] = this["aso#38229"] + ((Math.random() * 6) - 3);
this["aso#75555"] = this["aso#75555"] + ((Math.random() * 6) - 4);
if (Math.random() > 0.9) {
this["aso#38229"] = this["aso#38229"] + ((Math.random() * 16) - 6);
this["aso#75555"] = this["aso#75555"] + ((Math.random() * 12) - 10);
}
this._xscale = 100 + (Math.random() * 50);
this._yscale = this._xscale;
this._rotation = Math.random() * 360;
this.rspeed = (Math.random() * 30) - 15;
this.onEnterFrame = function () {
if (_root.gunpaused) {
if ((!_root["aso#56196"].colmap.hitTest(this._x + _root["aso#56196"]._x, this._y + _root["aso#56196"]._y, true)) && (this._y < 1000)) {
this._x = this._x + this["aso#38229"];
this._y = this._y + this["aso#75555"];
this._rotation = this._rotation + this.rspeed;
this["aso#75555"] = this["aso#75555"] + _root["aso#57167"];
}
}
};
if (!_root.my_so.data.blood) {
this._visible = false;
}
Symbol 298 MovieClip Frame 50
this.stop();
this.kill = true;
this._x = 0;
this._y = 0;
this.onEnterFrame = 0;
Symbol 309 MovieClip Frame 1
Symbol 309 MovieClip Frame 2
Set("aso#71929", _root["aso#56196"].colmap.hitTest((this._x - 20) + _root["aso#56196"]._x, this._y + _root["aso#56196"]._y, true));
Set("aso#53962", _root["aso#56196"].colmap.hitTest((this._x + 20) + _root["aso#56196"]._x, this._y + _root["aso#56196"]._y, true));
Set("aso#49365", _root["aso#56196"].colmap.hitTest(this._x + _root["aso#56196"]._x, (this._y - 20) + _root["aso#56196"]._y, true));
Set("aso#22625", _root["aso#56196"].colmap.hitTest(this._x + _root["aso#56196"]._x, (this._y + 20) + _root["aso#56196"]._y, true));
if (((aso#71929 || (aso#53962)) || (aso#22625)) || (aso#49365)) {
Set("aso#07863", 0);
Set("aso#39200", 0);
if (aso#71929 != aso#53962) {
Set("aso#39200", 0);
if (aso#71929) {
Set("aso#07863", 1);
} else {
Set("aso#07863", -1);
}
} else {
Set("aso#07863", 0);
if (aso#22625) {
Set("aso#39200", -1);
} else {
Set("aso#39200", 1);
}
}
k = 0;
while (k < ((_root.opt_eff * 0.5) + 1)) {
_root.aso#76947(this._x, this._y, 7, (5 - (Math.random() * 10)) + (aso#07863 * 5), (5 - (Math.random() * 10)) + (aso#39200 * 5));
k++;
}
} else {
_root.aso#76947(this._x, this._y, 7);
}
Symbol 309 MovieClip Frame 11
this.stop();
this.kill = true;
this._x = 0;
this._y = 0;
this.onEnterFrame = 0;
Symbol 314 MovieClip Frame 1
this.kill = false;
this["aso#38229"] = (Math.random() * 6) - 3;
this["aso#75555"] = ((-Math.random()) * 2) - 2;
this.rspeed = (Math.random() * 30) - 15;
this.gotoAndStop(1);
this.onEnterFrame = function () {
if (_root.gunpaused) {
if (this.disabled != true) {
if (((this._currentframe == 1) && (!_root["aso#56196"].colmap.hitTest(this._x + _root["aso#56196"]._x, this._y + _root["aso#56196"]._y, true))) && (this._y < 1000)) {
this._x = this._x + this["aso#38229"];
this._y = this._y + this["aso#75555"];
this["aso#75555"] = this["aso#75555"] + _root["aso#57167"];
} else {
this._x = this._x + this["aso#38229"];
this._y = this._y + this["aso#75555"];
this["aso#75555"] = this["aso#75555"] + _root["aso#57167"];
if (this._currentframe == 1) {
this.gotoAndPlay(3);
this._x = this._x - this["aso#38229"];
this._y = this._y - this["aso#75555"];
this["aso#75555"] = (-this["aso#75555"]) * 0.5;
}
}
this._rotation = this._rotation + this.rspeed;
}
}
};
Symbol 314 MovieClip Frame 3
this.rspeed = this.rspeed + ((Math.random() * 90) - 45);
Symbol 314 MovieClip Frame 21
this.stop();
this.kill = true;
this._x = 0;
this._y = 0;
this.onEnterFrame = 0;
Symbol 316 MovieClip Frame 1
this.kill = false;
this["aso#38229"] = (Math.random() * 6) - 3;
this["aso#75555"] = ((-Math.random()) * 2) - 2;
this.rspeed = (Math.random() * 30) - 15;
this.gotoAndStop(1);
this.onEnterFrame = function () {
if (_root.gunpaused) {
if (this.disabled != true) {
if (((this._currentframe == 1) && (!_root["aso#56196"].colmap.hitTest(this._x + _root["aso#56196"]._x, this._y + _root["aso#56196"]._y, true))) && (this._y < 1000)) {
this._x = this._x + this["aso#38229"];
this._y = this._y + this["aso#75555"];
this["aso#75555"] = this["aso#75555"] + 0.5;
} else {
this._x = this._x + this["aso#38229"];
this._y = this._y + this["aso#75555"];
this["aso#75555"] = this["aso#75555"] + 0.5;
if (this._currentframe == 1) {
this._x = this._x - this["aso#38229"];
this._y = this._y - this["aso#75555"];
this.gotoAndPlay(3);
this["aso#75555"] = (-this["aso#75555"]) * 0.25;
}
}
this._rotation = this._rotation + this.rspeed;
}
}
};
Symbol 316 MovieClip Frame 3
this.rspeed = this.rspeed + ((Math.random() * 60) - 30);
Symbol 316 MovieClip Frame 21
this.stop();
this.kill = true;
this._x = 0;
this._y = 0;
this.onEnterFrame = 0;
Symbol 339 MovieClip Frame 1
this._rotation = Math.random() * 360;
Symbol 339 MovieClip Frame 9
this.stop();
Symbol 341 MovieClip Frame 1
if ((this + "") != "_level0.aso#56196.grenad") {
this["aso#96306"] = _root.aso#02295(this._x, this._y, this["aso#38229"], this["aso#75555"], 0, true);
around[this["aso#96306"]] = true;
this.onEnterFrame = function () {
if (_root.gunpaused) {
this._x = _root["aso#50207"][this["aso#96306"]];
this._y = _root["aso#32240"][this["aso#96306"]];
this._rotation = this._x;
}
};
} else {
this._visible = false;
this.stop();
}
Symbol 341 MovieClip Frame 15
Set("aso#87533", 0);
while (aso#87533 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#87533]["aso#12881"] > 0) {
if (_root["aso#56196"]["player" + aso#87533].hunt != -1) {
if (aso#87533 != 0) {
Set("aso#94914", _root.aso#90317(this._x, this._y, _root["aso#56196"]["player" + aso#87533]._x, _root["aso#56196"]["player" + aso#87533]._y - 60));
if (aso#94914 < 300) {
_root["aso#56196"]["player" + aso#87533]["aso#35024"] = true;
if (_root["aso#56196"]["player" + aso#87533]._x > this._x) {
_root["aso#56196"]["player" + aso#87533].botaction = 1;
} else {
_root["aso#56196"]["player" + aso#87533].botaction = 2;
}
}
}
}
}
aso#87533++;
}
Symbol 341 MovieClip Frame 30
Set("aso#87533", 0);
while (aso#87533 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#87533]["aso#12881"] > 0) {
if (aso#87533 != 0) {
Set("aso#94914", _root.aso#90317(this._x, this._y, _root["aso#56196"]["player" + aso#87533]._x, _root["aso#56196"]["player" + aso#87533]._y - 60));
if (aso#94914 < 300) {
_root["aso#56196"]["player" + aso#87533]["aso#35024"] = true;
if (_root["aso#56196"]["player" + aso#87533]._x > this._x) {
_root["aso#56196"]["player" + aso#87533].botaction = 1;
} else {
_root["aso#56196"]["player" + aso#87533].botaction = 2;
}
}
}
}
aso#87533++;
}
Symbol 341 MovieClip Frame 43
a = 0;
while (a < _root["aso#54383"]) {
if (this["aso#96306"] != a) {
if ((_root["aso#45610"][a] == true) || (_root["aso#45610"][a] == false)) {
Set("aso#94914", _root.aso#90317(this._x, this._y, _root["aso#50207"][a], _root["aso#32240"][a]));
if (aso#94914 < 200) {
_root["aso#45610"][a] = true;
_root["aso#69566"][a] = _root["aso#69566"][a] - ((((this._x - _root["aso#50207"][a]) / aso#94914) * (200 - aso#94914)) * 0.5);
_root["aso#63577"][a] = _root["aso#63577"][a] - ((((this._y - _root["aso#32240"][a]) / aso#94914) * (200 - aso#94914)) * 0.5);
}
}
}
a++;
}
_root["aso#45610"][this["aso#96306"]] = 2;
Set("aso#87533", 0);
while (aso#87533 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#87533]["aso#12881"] > 0) {
if ((_root["aso#56196"]["player" + aso#87533]["aso#70958"] != 0) || (aso#87533 == 0)) {
Set("aso#94914", _root.aso#90317(this._x, this._y, _root["aso#56196"]["player" + aso#87533]._x, _root["aso#56196"]["player" + aso#87533]._y - 60));
if (aso#94914 < 200) {
_root.aso#17057((_root["aso#56196"]["player" + aso#87533]._x - 20) + (Math.random() * 40), (_root["aso#56196"]["player" + aso#87533]._y - 80) + (Math.random() * 80), _root["aso#56196"]["player" + aso#87533]["aso#20262"], "barrel");
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = _root["aso#56196"]["player" + aso#87533]["aso#12881"] - 260;
_root["aso#56196"]["player" + aso#87533]["aso#15665"] = "all";
_root["aso#56196"]["player" + aso#87533]["aso#15665"] = "body";
if (_root["aso#56196"]["player" + aso#87533]["aso#12881"] > 0) {
_root["aso#56196"]["player" + aso#87533].gotoAndPlay("hurt");
}
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = _root["aso#56196"]["player" + aso#87533]["aso#38229"] - (((((this._x - _root["aso#56196"]["player" + aso#87533]._x) / aso#94914) * (250 - aso#94914)) * 0.2) * _root["aso#56196"]["player" + aso#87533].easymove);
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = _root["aso#56196"]["player" + aso#87533]["aso#75555"] - (((((this._y - (_root["aso#56196"]["player" + aso#87533]._y - 60)) / aso#94914) * (250 - aso#94914)) * 0.2) * _root["aso#56196"]["player" + aso#87533].easymove);
_root["aso#56196"]["player" + aso#87533].hunt = 0;
}
if (aso#94914 < 400) {
_root["aso#56196"]["player" + aso#87533]["aso#35024"] = true;
}
}
}
aso#87533++;
}
Set("aso#00903", 0);
while (aso#00903 < _root.barrelstotal) {
if (_root["aso#56196"]["barrel" + aso#00903]._currentframe < 4) {
if (_root.aso#90317(this._x, this._y, _root["aso#56196"]["barrel" + aso#00903]._x, _root["aso#56196"]["barrel" + aso#00903]._y) < 200) {
_root["aso#56196"]["barrel" + aso#00903].gotoAndPlay(4);
}
}
aso#00903++;
}
Symbol 341 MovieClip Frame 53
this.stop();
this.onEnterFrame = 0;
Symbol 348 MovieClip Frame 1
this.kill = false;
Set("aso#52570", (Math.random() * 0.8) - 0.3);
this["aso#38229"] = this["aso#38229"] * aso#52570;
this["aso#75555"] = this["aso#75555"] * aso#52570;
this["aso#38229"] = this["aso#38229"] + ((Math.random() * 6) - 3);
this["aso#75555"] = this["aso#75555"] + ((Math.random() * 6) - 4);
if (Math.random() > 0.9) {
this["aso#38229"] = this["aso#38229"] + ((Math.random() * 16) - 6);
this["aso#75555"] = this["aso#75555"] + ((Math.random() * 12) - 10);
}
this._xscale = 100 + (Math.random() * 50);
this._yscale = this._xscale;
this._rotation = Math.random() * 360;
this.rspeed = (Math.random() * 30) - 15;
this.onEnterFrame = function () {
if (_root.gunpaused) {
if ((!_root["aso#56196"].colmap.hitTest(this._x + _root["aso#56196"]._x, this._y + _root["aso#56196"]._y, true)) && (this._y < 1000)) {
this._x = this._x + this["aso#38229"];
this._y = this._y + this["aso#75555"];
this._rotation = this._rotation + this.rspeed;
this["aso#75555"] = this["aso#75555"] + _root["aso#57167"];
}
}
};
if (!_root.my_so.data.blood) {
this._visible = false;
}
Symbol 348 MovieClip Frame 30
this.stop();
this.kill = true;
this._x = 0;
this._y = 0;
this.onEnterFrame = 0;
Symbol 353 MovieClip Frame 1
this.gotoAndStop(_root["aso#75134"]);
Symbol 358 MovieClip Frame 1
if ((this + "") != "_level0.aso#56196.rocket") {
this["aso#96306"] = _root.aso#02295(this._x + this["aso#38229"], this._y + this["aso#75555"], this["aso#38229"] + this["aso#94072"], this["aso#75555"] + this["aso#25409"]);
this["aso#72350"] = _root.aso#02295(this._x - this["aso#38229"], this._y - this["aso#75555"], this["aso#38229"] + this["aso#94072"], this["aso#75555"] + this["aso#25409"]);
_root.aso#88925(this["aso#96306"], this["aso#72350"], 0, 20);
this.lasdis = _root.aso#90317(_root["aso#63577"][this["aso#96306"]] + _root["aso#63577"][this["aso#72350"]], _root["aso#69566"][this["aso#96306"]] + _root["aso#69566"][this["aso#72350"]], 0, 0);
powe = 0;
this.onEnterFrame = function () {
if (_root.gunpaused) {
if (this._currentframe < 102) {
this["aso#94914"] = _root.aso#90317(_root["aso#63577"][this["aso#96306"]] + _root["aso#63577"][this["aso#72350"]], _root["aso#69566"][this["aso#96306"]] + _root["aso#69566"][this["aso#72350"]], 0, 0);
if (Math.abs(this["aso#94914"] - this.lasdis) > 15) {
this.gotoAndPlay(102);
}
this.lasdis = this["aso#94914"];
this._x = _root["aso#50207"][this["aso#96306"]];
this._y = _root["aso#32240"][this["aso#96306"]];
this._rotation = 90 + ((Math.atan2(_root["aso#32240"][this["aso#96306"]] - _root["aso#32240"][this["aso#72350"]], _root["aso#50207"][this["aso#96306"]] - _root["aso#50207"][this["aso#72350"]]) / Math.PI) * 180);
if (this._currentframe < 40) {
_root["aso#69566"][this["aso#72350"]] = _root["aso#69566"][this["aso#72350"]] + ((_root["aso#50207"][this["aso#96306"]] - _root["aso#50207"][this["aso#72350"]]) * 0.2);
_root["aso#63577"][this["aso#72350"]] = _root["aso#63577"][this["aso#72350"]] + ((_root["aso#32240"][this["aso#96306"]] - _root["aso#32240"][this["aso#72350"]]) * 0.2);
_root["aso#69566"][this["aso#96306"]] = _root["aso#69566"][this["aso#96306"]] + ((_root["aso#50207"][this["aso#96306"]] - _root["aso#50207"][this["aso#72350"]]) * 0.2);
_root["aso#63577"][this["aso#96306"]] = _root["aso#63577"][this["aso#96306"]] + ((_root["aso#32240"][this["aso#96306"]] - _root["aso#32240"][this["aso#72350"]]) * 0.2);
}
Set("aso#00903", 0);
while (aso#00903 < _root.barrelstotal) {
if (_root["aso#56196"]["barrel" + aso#00903]._currentframe < 4) {
if (_root["aso#56196"]["barrel" + aso#00903].hitTest(_root["aso#50207"][this["aso#96306"]] + _root["aso#56196"]._x, _root["aso#32240"][this["aso#96306"]] + _root["aso#56196"]._y, true)) {
_root["aso#69566"][this["aso#96306"]] = 0;
_root["aso#63577"][this["aso#96306"]] = 0;
}
}
aso#00903++;
}
Set("aso#87533", 0);
while (aso#87533 < _root.playerstot) {
if (aso#87533 != this["aso#99090"]) {
if ((((_root["aso#56196"]["player" + this["aso#99090"]]["aso#70958"] == _root["aso#56196"]["player" + aso#87533]["aso#70958"]) && (_root["aso#56196"]["player" + aso#87533]["aso#70958"] != 0)) && (_root["aso#56196"]["player" + aso#87533]["aso#70958"] != 3)) || (_root["aso#56196"]["player" + this["aso#99090"]]["aso#70958"] != _root["aso#56196"]["player" + aso#87533]["aso#70958"])) {
if ((_root["aso#56196"]["player" + aso#87533].hitTest(_root["aso#50207"][this["aso#96306"]] + _root["aso#56196"]._x, _root["aso#32240"][this["aso#96306"]] + _root["aso#56196"]._y, true) || (_root["aso#56196"]["player" + aso#87533].hitTest(_root["aso#50207"][this["aso#72350"]] + _root["aso#56196"]._x, _root["aso#32240"][this["aso#72350"]] + _root["aso#56196"]._y, true))) || (_root["aso#56196"]["player" + aso#87533].hitTest(((_root["aso#50207"][this["aso#72350"]] + _root["aso#50207"][this["aso#96306"]]) / 2) + _root["aso#56196"]._x, ((_root["aso#32240"][this["aso#72350"]] + _root["aso#32240"][this["aso#96306"]]) / 2) + _root["aso#56196"]._y, true))) {
_root["aso#69566"][this["aso#96306"]] = 0;
_root["aso#63577"][this["aso#96306"]] = 0;
}
}
}
aso#87533++;
}
}
}
};
} else {
this._visible = false;
this.stop();
}
Symbol 358 MovieClip Frame 101
this.gotoAndStop(110);
Symbol 358 MovieClip Frame 102
a = 0;
while (a < _root["aso#54383"]) {
if ((_root["aso#45610"][a] == true) || (_root["aso#45610"][a] == false)) {
Set("aso#94914", _root.aso#90317(this._x, this._y, _root["aso#50207"][a], _root["aso#32240"][a]));
if (aso#94914 < 100) {
_root["aso#45610"][a] = true;
_root["aso#69566"][a] = _root["aso#69566"][a] - ((((this._x - _root["aso#50207"][a]) / aso#94914) * (100 - aso#94914)) * 0.5);
_root["aso#63577"][a] = _root["aso#63577"][a] - ((((this._y - _root["aso#32240"][a]) / aso#94914) * (100 - aso#94914)) * 0.5);
}
}
a++;
}
_root["aso#45610"][this["aso#96306"]] = 2;
_root["aso#45610"][this["aso#72350"]] = 2;
Set("aso#71929", _root["aso#56196"].colmap.hitTest((_root["aso#50207"][this["aso#96306"]] - 20) + _root["aso#56196"]._x, _root["aso#32240"][this["aso#96306"]] + _root["aso#56196"]._y, true));
Set("aso#53962", _root["aso#56196"].colmap.hitTest((_root["aso#50207"][this["aso#96306"]] + 20) + _root["aso#56196"]._x, _root["aso#32240"][this["aso#96306"]] + _root["aso#56196"]._y, true));
Set("aso#49365", _root["aso#56196"].colmap.hitTest(_root["aso#50207"][this["aso#96306"]] + _root["aso#56196"]._x, (_root["aso#32240"][this["aso#96306"]] - 20) + _root["aso#56196"]._y, true));
Set("aso#22625", _root["aso#56196"].colmap.hitTest(_root["aso#50207"][this["aso#96306"]] + _root["aso#56196"]._x, (_root["aso#32240"][this["aso#96306"]] + 20) + _root["aso#56196"]._y, true));
if (((aso#71929 || (aso#53962)) || (aso#22625)) || (aso#49365)) {
Set("aso#07863", 0);
Set("aso#39200", 0);
if (aso#71929 != aso#53962) {
Set("aso#39200", 0);
if (aso#71929) {
Set("aso#07863", 1);
} else {
Set("aso#07863", -1);
}
} else {
Set("aso#07863", 0);
if (aso#22625) {
Set("aso#39200", -1);
} else {
Set("aso#39200", 1);
}
}
k = 0;
while (k < 5) {
_root.aso#76947(this._x, this._y, 7, (10 - (Math.random() * 20)) + (aso#07863 * 10), (10 - (Math.random() * 20)) + (aso#39200 * 10));
k++;
}
}
Set("aso#87533", 0);
while (aso#87533 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#87533]["aso#12881"] > 0) {
if (((aso#87533 == this["aso#99090"]) || (((_root["aso#56196"]["player" + this["aso#99090"]]["aso#70958"] == _root["aso#56196"]["player" + aso#87533]["aso#70958"]) && (_root["aso#56196"]["player" + aso#87533]["aso#70958"] != 0)) && (_root["aso#56196"]["player" + aso#87533]["aso#70958"] != 3))) || (_root["aso#56196"]["player" + this["aso#99090"]]["aso#70958"] != _root["aso#56196"]["player" + aso#87533]["aso#70958"])) {
Set("aso#94914", _root.aso#90317(this._x, this._y, _root["aso#56196"]["player" + aso#87533]._x, _root["aso#56196"]["player" + aso#87533]._y - 60));
if (aso#94914 < 100) {
_root.aso#17057((_root["aso#56196"]["player" + aso#87533]._x - 20) + (Math.random() * 40), (_root["aso#56196"]["player" + aso#87533]._y - 80) + (Math.random() * 80), _root["aso#56196"]["player" + aso#87533]["aso#20262"], "rocket", 15 - (Math.random() * 30), 15 - (Math.random() * 30));
_root.aso#17057((_root["aso#56196"]["player" + aso#87533]._x - 20) + (Math.random() * 40), (_root["aso#56196"]["player" + aso#87533]._y - 80) + (Math.random() * 80), _root["aso#56196"]["player" + aso#87533]["aso#20262"], "rocket", 15 - (Math.random() * 30), 15 - (Math.random() * 30));
_root.aso#17057((_root["aso#56196"]["player" + aso#87533]._x - 20) + (Math.random() * 40), (_root["aso#56196"]["player" + aso#87533]._y - 80) + (Math.random() * 80), _root["aso#56196"]["player" + aso#87533]["aso#20262"], "rocket", 15 - (Math.random() * 30), 15 - (Math.random() * 30));
_root.aso#17057((_root["aso#56196"]["player" + aso#87533]._x - 20) + (Math.random() * 40), (_root["aso#56196"]["player" + aso#87533]._y - 80) + (Math.random() * 80), _root["aso#56196"]["player" + aso#87533]["aso#20262"], "rocket", 15 - (Math.random() * 30), 15 - (Math.random() * 30));
_root.aso#17057((_root["aso#56196"]["player" + aso#87533]._x - 20) + (Math.random() * 40), (_root["aso#56196"]["player" + aso#87533]._y - 80) + (Math.random() * 80), _root["aso#56196"]["player" + aso#87533]["aso#20262"], "rocket", 15 - (Math.random() * 30), 15 - (Math.random() * 30));
pwr = _root.aso#90317(_root["aso#69566"][this["aso#72350"]], _root["aso#63577"][this["aso#72350"]], 0, 0);
if (aso#87533 == 0) {
if (_root.my_so.data.opt_bot == 1) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = _root["aso#56196"]["player" + aso#87533]["aso#12881"] - (50 + ((pwr / 37) * 100));
}
if (_root.my_so.data.opt_bot == 2) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = _root["aso#56196"]["player" + aso#87533]["aso#12881"] - (100 + ((pwr / 37) * 100));
}
if (_root.my_so.data.opt_bot == 3) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = _root["aso#56196"]["player" + aso#87533]["aso#12881"] - (150 + ((pwr / 37) * 100));
}
} else {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = _root["aso#56196"]["player" + aso#87533]["aso#12881"] - (200 + ((pwr / 37) * 100));
}
_root["aso#56196"]["player" + aso#87533]["aso#15665"] = "all";
if (_root["aso#56196"]["player" + aso#87533]["aso#12881"] > 0) {
_root["aso#56196"]["player" + aso#87533].gotoAndPlay("hurt");
}
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = _root["aso#56196"]["player" + aso#87533]["aso#38229"] + ((_root["aso#69566"][this["aso#72350"]] * 0.5) * _root["aso#56196"]["player" + aso#87533].easymove);
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = _root["aso#56196"]["player" + aso#87533]["aso#75555"] + ((_root["aso#63577"][this["aso#72350"]] * 0.5) * _root["aso#56196"]["player" + aso#87533].easymove);
_root["aso#56196"]["player" + aso#87533].hunt = this["aso#99090"];
}
if (aso#94914 < 300) {
_root["aso#56196"]["player" + aso#87533]["aso#35024"] = true;
}
}
}
aso#87533++;
}
Set("aso#00903", 0);
while (aso#00903 < _root.barrelstotal) {
if (_root["aso#56196"]["barrel" + aso#00903]._currentframe < 4) {
if (_root.aso#90317(this._x, this._y, _root["aso#56196"]["barrel" + aso#00903]._x, _root["aso#56196"]["barrel" + aso#00903]._y) < 100) {
_root["aso#56196"]["barrel" + aso#00903].gotoAndPlay(4);
}
}
aso#00903++;
}
Symbol 358 MovieClip Frame 110
this.stop();
this.onEnterFrame = 0;
Symbol 361 MovieClip Frame 1
Symbol 361 MovieClip Frame 21
this.stop();
this.kill = true;
this._x = 0;
this._y = 0;
this.onEnterFrame = 0;
Symbol 366 MovieClip Frame 1
if ((this + "") != "_level0.aso#56196.rock") {
this.kill = false;
if (this["aso#38229"] == undefined) {
this["aso#38229"] = (Math.random() * 10) - 5;
this["aso#75555"] = (Math.random() * 10) - 5;
}
this.rspeed = (Math.random() * 30) - 15;
this.out = false;
this.onEnterFrame = function () {
if (_root.gunpaused) {
if (this.disabled != true) {
this._x = this._x + this["aso#38229"];
this._y = this._y + this["aso#75555"];
this["aso#75555"] = this["aso#75555"] + _root["aso#57167"];
if (this.out) {
if (_root["aso#56196"].colmap.hitTest(this._x + _root["aso#56196"]._x, this._y + _root["aso#56196"]._y, true)) {
this._y = this._y - this["aso#75555"];
this["aso#75555"] = this["aso#75555"] * -0.3;
this["aso#38229"] = this["aso#38229"] * 0.5;
}
} else if (!_root["aso#56196"].colmap.hitTest(this._x + _root["aso#56196"]._x, this._y + _root["aso#56196"]._y, true)) {
this.out = true;
}
this._rotation = this._rotation + this.rspeed;
}
}
};
}
Symbol 366 MovieClip Frame 16
this.stop();
this.kill = true;
this._x = 0;
this._y = 0;
Symbol 405 MovieClip Frame 1
stop();
this.visible = false;
Symbol 405 MovieClip Frame 2
this.gotoAndStop(1);
Symbol 405 MovieClip Frame 3
this.gotoAndStop(1);
Symbol 405 MovieClip Frame 4
this.gotoAndStop(1);
Symbol 405 MovieClip Frame 5
this.gotoAndStop(1);
Symbol 405 MovieClip Frame 6
this.gotoAndStop(1);
Symbol 405 MovieClip Frame 7
this.gotoAndStop(1);
Symbol 405 MovieClip Frame 8
this.gotoAndStop(1);
Symbol 405 MovieClip Frame 9
this.gotoAndStop(1);
Symbol 405 MovieClip Frame 10
this.gotoAndStop(1);
Symbol 405 MovieClip Frame 11
this.gotoAndStop(1);
Symbol 405 MovieClip Frame 12
this.gotoAndStop(1);
Symbol 405 MovieClip Frame 13
this.gotoAndStop(1);
Symbol 407 MovieClip Frame 20
gotoAndPlay (2);
Symbol 407 MovieClip Frame 23
gotoAndPlay (2);
Symbol 407 MovieClip Frame 26
if (this["aso#12881"] > 0) {
this.sou.gotoAndStop(Math.round((Math.random() * 3) + 2));
}
Symbol 407 MovieClip Frame 32
gotoAndPlay (2);
Symbol 407 MovieClip Frame 48
gotoAndPlay (2);
Symbol 414 MovieClip Frame 1
this.stop();
Symbol 420 MovieClip Frame 1
this.stop();
Symbol 420 MovieClip Frame 15
this.gotoAndPlay("jet_idle");
Symbol 424 MovieClip Frame 1
this.stop();
Symbol 428 MovieClip Frame 1
this.stop();
Symbol 444 MovieClip Frame 1
stop();
this.visible = false;
Symbol 444 MovieClip Frame 2
this.gotoAndStop(1);
Symbol 444 MovieClip Frame 3
this.gotoAndStop(1);
Symbol 444 MovieClip Frame 4
this.gotoAndStop(1);
Symbol 444 MovieClip Frame 5
this.gotoAndStop(1);
Symbol 444 MovieClip Frame 6
this.gotoAndStop(1);
Symbol 444 MovieClip Frame 7
this.gotoAndStop(1);
Symbol 444 MovieClip Frame 8
this.gotoAndStop(1);
Symbol 444 MovieClip Frame 9
this.gotoAndStop(1);
Symbol 444 MovieClip Frame 10
this.gotoAndStop(1);
Symbol 444 MovieClip Frame 11
this.gotoAndStop(1);
Symbol 444 MovieClip Frame 12
this.gotoAndStop(1);
Symbol 445 MovieClip Frame 20
gotoAndPlay (2);
Symbol 445 MovieClip Frame 23
gotoAndPlay (2);
Symbol 445 MovieClip Frame 26
if (this["aso#12881"] > 0) {
this.sou.gotoAndStop(Math.round((Math.random() * 3) + 2));
}
Symbol 445 MovieClip Frame 32
gotoAndPlay (2);
Symbol 445 MovieClip Frame 48
gotoAndPlay (2);
Symbol 456 MovieClip Frame 1
this.kill = false;
Set("aso#52570", (Math.random() * 1.8) - 0.5);
this["aso#38229"] = this["aso#38229"] * aso#52570;
this["aso#75555"] = this["aso#75555"] * aso#52570;
this["aso#38229"] = this["aso#38229"] + ((Math.random() * 6) - 3);
this["aso#75555"] = this["aso#75555"] + ((Math.random() * 6) - 4);
if (Math.random() > 0.9) {
this["aso#38229"] = this["aso#38229"] + ((Math.random() * 16) - 6);
this["aso#75555"] = this["aso#75555"] + ((Math.random() * 12) - 10);
}
this._xscale = 100 + (Math.random() * 50);
this._yscale = this._xscale;
this._rotation = Math.random() * 360;
this.rspeed = (Math.random() * 30) - 15;
this.onEnterFrame = function () {
if (_root.gunpaused) {
if ((!_root["aso#56196"].colmap.hitTest(this._x + _root["aso#56196"]._x, this._y + _root["aso#56196"]._y, true)) && (this._y < 1000)) {
this._x = this._x + this["aso#38229"];
this._y = this._y + this["aso#75555"];
this._rotation = this._rotation + this.rspeed;
this["aso#75555"] = this["aso#75555"] + _root["aso#57167"];
}
}
};
if (!_root.my_so.data.blood) {
this._visible = false;
}
Symbol 456 MovieClip Frame 50
this.stop();
this.kill = true;
this._x = 0;
this._y = 0;
this.onEnterFrame = 0;
Symbol 461 MovieClip Frame 1
this.kill = false;
Set("aso#52570", (Math.random() * 0.8) - 0.3);
this["aso#38229"] = this["aso#38229"] * aso#52570;
this["aso#75555"] = this["aso#75555"] * aso#52570;
this["aso#38229"] = this["aso#38229"] + ((Math.random() * 6) - 3);
this["aso#75555"] = this["aso#75555"] + ((Math.random() * 6) - 4);
this._xscale = 100 + (Math.random() * 50);
this._yscale = this._xscale;
this._rotation = Math.random() * 360;
this.onEnterFrame = function () {
if (_root.gunpaused) {
if ((!_root["aso#56196"].colmap.hitTest(this._x + _root["aso#56196"]._x, this._y + _root["aso#56196"]._y, true)) && (this._y < 1000)) {
this._x = this._x + this["aso#38229"];
this._y = this._y + this["aso#75555"];
this._rotation = ((-Math.atan2(this["aso#38229"], this["aso#75555"])) / Math.PI) * 180;
this["aso#75555"] = this["aso#75555"] + _root["aso#57167"];
} else {
this.gotoAndStop(10);
}
}
};
Symbol 461 MovieClip Frame 10
this.stop();
this.kill = true;
this._x = 0;
this._y = 0;
this.onEnterFrame = 0;
Symbol 464 MovieClip Frame 1
if ((this + "") != "_level0.aso#56196.rate") {
this.stop();
this._visible = false;
}
this._alpha = 0;
Symbol 464 MovieClip Frame 2
this.inr.htmlText = this.cnt;
this.sp = true;
this.stop();
this.onEnterFrame = function () {
this._y = this._y - 1;
if (this.sp) {
if (this._alpha < 100) {
this._alpha = this._alpha + 30;
} else {
this._alpha = 100;
}
this.sp = false;
} else if (this._alpha > 0) {
this._alpha = this._alpha - 30;
} else {
this.onEnterFrame = 0;
this._visible = false;
}
};
Symbol 477 MovieClip Frame 1
this.stop();
Symbol 477 MovieClip Frame 5
this._xscale = (Math.random() * 50) + 50;
this._yscale = this._xscale;
this._rotation = Math.random() * 360;
Symbol 477 MovieClip Frame 6
this._xscale = (Math.random() * 50) + 50;
this._yscale = this._xscale;
this._rotation = Math.random() * 360;
Symbol 477 MovieClip Frame 7
this._xscale = (Math.random() * 50) + 50;
this._yscale = this._xscale;
this._rotation = Math.random() * 360;
Symbol 477 MovieClip Frame 8
this._rotation = Math.random() * 360;
Symbol 477 MovieClip Frame 9
this._rotation = Math.random() * 360;
Symbol 516 MovieClip Frame 1
this.stop();
this.cols = true;
Symbol 516 MovieClip Frame 4
function rer() {
return((Math.random() * 6) - 3);
}
Set("aso#36416", -2 + (Math.random() * 4));
Set("aso#67753", -5 + (Math.random() * 4));
this.point3 = _root.aso#02295(this._x - 10, this._y + 18, aso#36416 + this.rer(), aso#67753 + this.rer());
this.point4 = _root.aso#02295(this._x + 10, this._y + 18, aso#36416 + this.rer(), aso#67753 + this.rer());
this.point5 = _root.aso#02295(this._x - 10, this._y, aso#36416 + this.rer(), aso#67753 + this.rer());
this.point6 = _root.aso#02295(this._x + 10, this._y, aso#36416 + this.rer(), aso#67753 + this.rer());
Set("aso#87533aso#87533", 0);
while (aso#87533aso#87533 < 2) {
_root.aso#88925(this.point3, this.point4, 0);
_root.aso#88925(this.point5, this.point6, 0);
_root.aso#88925(this.point3, this.point6, 0);
_root.aso#88925(this.point4, this.point5, 0);
_root.aso#88925(this.point3, this.point5, 0);
_root.aso#88925(this.point4, this.point6, 0);
aso#87533aso#87533++;
}
this.point3b = _root.aso#02295(this._x - 10, this._y - 18, aso#36416 + this.rer(), aso#67753 + this.rer());
this.point4b = _root.aso#02295(this._x + 10, this._y - 18, aso#36416 + this.rer(), aso#67753 + this.rer());
this.point5b = _root.aso#02295(this._x - 10, this._y, aso#36416 + this.rer(), aso#67753 + this.rer());
this.point6b = _root.aso#02295(this._x + 10, this._y, aso#36416 + this.rer(), aso#67753 + this.rer());
Set("aso#87533aso#87533", 0);
while (aso#87533aso#87533 < 2) {
_root.aso#88925(this.point3b, this.point4b, 0);
_root.aso#88925(this.point5b, this.point6b, 0);
_root.aso#88925(this.point3b, this.point6b, 0);
_root.aso#88925(this.point4b, this.point5b, 0);
_root.aso#88925(this.point3b, this.point5b, 0);
_root.aso#88925(this.point4b, this.point6b, 0);
aso#87533aso#87533++;
}
_root.aso#88925(this.point3, this.point3b, 1);
_root.aso#88925(this.point4, this.point4b, 1);
gl = new Array();
Set("aso#87533", 1);
while (aso#87533 <= 6) {
gl[aso#87533] = _root.aso#02295(this._x + this["glass" + aso#87533]._x, this._y + this["glass" + aso#87533]._y, this.rer() * 4, this.rer() * 2);
aso#87533++;
}
this.onEnterFrame = function () {
spok = true;
if ((((_root["aso#45610"][this.point3] == 1) || (_root["aso#45610"][this.point4] == 1)) || (_root["aso#45610"][this.point5] == 1)) || (_root["aso#45610"][this.point6] == 1)) {
spok = false;
Set("aso#05079", (_root["aso#50207"][this.point5] + _root["aso#50207"][this.point6]) / 2);
Set("aso#31819", (_root["aso#32240"][this.point5] + _root["aso#32240"][this.point6]) / 2);
this["aso#03266"]._x = aso#05079 - this._x;
this["aso#03266"]._y = aso#31819 - this._y;
this["aso#03266"]._rotation = (((-Math.atan2(_root["aso#50207"][this.point3] - _root["aso#50207"][this.point4], _root["aso#32240"][this.point3] - _root["aso#32240"][this.point4])) / Math.PI) * 180) - 90;
}
if ((((_root["aso#45610"][this.point3b] == 1) || (_root["aso#45610"][this.point4b] == 1)) || (_root["aso#45610"][this.point5b] == 1)) || (_root["aso#45610"][this.point6b] == 1)) {
spok = false;
Set("aso#05079", (_root["aso#50207"][this.point5b] + _root["aso#50207"][this.point6b]) / 2);
Set("aso#31819", (_root["aso#32240"][this.point5b] + _root["aso#32240"][this.point6b]) / 2);
this["aso#34603"]._x = aso#05079 - this._x;
this["aso#34603"]._y = aso#31819 - this._y;
this["aso#34603"]._rotation = (((-Math.atan2(_root["aso#50207"][this.point3b] - _root["aso#50207"][this.point4b], _root["aso#32240"][this.point3b] - _root["aso#32240"][this.point4b])) / Math.PI) * 180) + 90;
}
Set("aso#87533", 1);
while (aso#87533 <= 6) {
if (_root["aso#45610"][gl[aso#87533]] == 1) {
spok = false;
this["glass" + aso#87533]._x = _root["aso#50207"][gl[aso#87533]] - this._x;
this["glass" + aso#87533]._y = _root["aso#32240"][gl[aso#87533]] - this._y;
this["glass" + aso#87533]._rotation = this["glass" + aso#87533]._x * 3;
if (Math.abs(_root["aso#69566"][gl[aso#87533]]) < 0.9) {
if (Math.abs(_root["aso#63577"][gl[aso#87533]]) < 0.9) {
_root["aso#45610"][gl[aso#87533]] = 0;
}
}
} else if (this["glass" + aso#87533]._alpha > 0) {
this["glass" + aso#87533]._alpha = this["glass" + aso#87533]._alpha - 5;
spok = false;
} else {
this["glass" + aso#87533]._visible = false;
}
aso#87533++;
}
if (spok) {
if (!this.cacheAsBitmap) {
this.cacheAsBitmap = true;
}
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
this._visible = false;
this.onEnterFrame = 1;
}
}
};
a = 0;
while (a < _root["aso#54383"]) {
if ((_root["aso#45610"][a] == true) || (_root["aso#45610"][a] == false)) {
Set("aso#94914", _root.aso#90317(this._x, this._y, _root["aso#50207"][a], _root["aso#32240"][a]));
if (aso#94914 < 200) {
_root["aso#45610"][a] = true;
this.p = 0.3;
if ((((((((a == this.point3) || (a == this.point4)) || (a == this.point5)) || (a == this.point6)) || (a == this.point3b)) || (a == this.point4b)) || (a == this.point5b)) || (a == this.point6b)) {
this.p = 0.05 + (Math.random() * 0.05);
}
_root["aso#69566"][a] = _root["aso#69566"][a] - ((((this._x - _root["aso#50207"][a]) / aso#94914) * (200 - aso#94914)) * this.p);
_root["aso#63577"][a] = _root["aso#63577"][a] - ((((this._y - _root["aso#32240"][a]) / aso#94914) * (200 - aso#94914)) * this.p);
}
}
a++;
}
Set("aso#18449", 0);
while (aso#18449 < _root.barrelstotal) {
if (_root["aso#56196"]["barrel" + aso#18449]._currentframe < 4) {
if (_root.aso#90317(_root["aso#56196"]["barrel" + aso#18449]._x, _root["aso#56196"]["barrel" + aso#18449]._y, this._x, this._y) < 150) {
_root["aso#56196"]["barrel" + aso#18449].gotoAndPlay(4);
}
}
aso#18449++;
}
Set("aso#87533", 0);
while (aso#87533 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#87533]["aso#12881"] > 0) {
Set("aso#94914", _root.aso#90317(this._x, this._y, _root["aso#56196"]["player" + aso#87533]._x, _root["aso#56196"]["player" + aso#87533]._y - 60));
if (aso#94914 < 200) {
_root.aso#17057((_root["aso#56196"]["player" + aso#87533]._x - 20) + (Math.random() * 40), (_root["aso#56196"]["player" + aso#87533]._y - 80) + (Math.random() * 80), _root["aso#56196"]["player" + aso#87533]["aso#20262"], "barrel");
_root.aso#17057((_root["aso#56196"]["player" + aso#87533]._x - 20) + (Math.random() * 40), (_root["aso#56196"]["player" + aso#87533]._y - 80) + (Math.random() * 80), _root["aso#56196"]["player" + aso#87533]["aso#20262"], "barrel");
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = _root["aso#56196"]["player" + aso#87533]["aso#12881"] - 200;
if (_root["aso#56196"]["player" + aso#87533]["aso#12881"] > 0) {
_root["aso#56196"]["player" + aso#87533].gotoAndPlay("hurt");
}
_root["aso#56196"]["player" + aso#87533]["aso#15665"] = "all";
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = _root["aso#56196"]["player" + aso#87533]["aso#38229"] - (((((this._x - _root["aso#56196"]["player" + aso#87533]._x) / aso#94914) * (300 - aso#94914)) * 0.15) * _root["aso#56196"]["player" + aso#87533].easymove);
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = _root["aso#56196"]["player" + aso#87533]["aso#75555"] - (((((this._y - (_root["aso#56196"]["player" + aso#87533]._y - 60)) / aso#94914) * (300 - aso#94914)) * 0.15) * _root["aso#56196"]["player" + aso#87533].easymove);
}
}
aso#87533++;
}
Symbol 516 MovieClip Frame 15
this.stop();
Symbol 540 MovieClip Frame 1
this.stop();
this.cols = true;
Symbol 540 MovieClip Frame 4
function rer() {
return((Math.random() * 6) - 3);
}
Set("aso#36416", -2 + (Math.random() * 4));
Set("aso#67753", -5 + (Math.random() * 4));
this.point3 = _root.aso#02295(this._x - 10, this._y + 18, aso#36416 + this.rer(), aso#67753 + this.rer());
this.point4 = _root.aso#02295(this._x + 10, this._y + 18, aso#36416 + this.rer(), aso#67753 + this.rer());
this.point5 = _root.aso#02295(this._x - 10, this._y, aso#36416 + this.rer(), aso#67753 + this.rer());
this.point6 = _root.aso#02295(this._x + 10, this._y, aso#36416 + this.rer(), aso#67753 + this.rer());
Set("aso#87533aso#87533", 0);
while (aso#87533aso#87533 < 2) {
_root.aso#88925(this.point3, this.point4, 0);
_root.aso#88925(this.point5, this.point6, 0);
_root.aso#88925(this.point3, this.point6, 0);
_root.aso#88925(this.point4, this.point5, 0);
_root.aso#88925(this.point3, this.point5, 0);
_root.aso#88925(this.point4, this.point6, 0);
aso#87533aso#87533++;
}
this.point3b = _root.aso#02295(this._x - 10, this._y - 18, aso#36416 + this.rer(), aso#67753 + this.rer());
this.point4b = _root.aso#02295(this._x + 10, this._y - 18, aso#36416 + this.rer(), aso#67753 + this.rer());
this.point5b = _root.aso#02295(this._x - 10, this._y, aso#36416 + this.rer(), aso#67753 + this.rer());
this.point6b = _root.aso#02295(this._x + 10, this._y, aso#36416 + this.rer(), aso#67753 + this.rer());
Set("aso#87533aso#87533", 0);
while (aso#87533aso#87533 < 2) {
_root.aso#88925(this.point3b, this.point4b, 0);
_root.aso#88925(this.point5b, this.point6b, 0);
_root.aso#88925(this.point3b, this.point6b, 0);
_root.aso#88925(this.point4b, this.point5b, 0);
_root.aso#88925(this.point3b, this.point5b, 0);
_root.aso#88925(this.point4b, this.point6b, 0);
aso#87533aso#87533++;
}
_root.aso#88925(this.point5, this.point5b, 4);
_root.aso#88925(this.point6, this.point6b, 4);
_root.aso#88925(this.point3, this.point3b, 1);
_root.aso#88925(this.point4, this.point4b, 1);
gl = new Array();
Set("aso#87533", 1);
while (aso#87533 <= 6) {
gl[aso#87533] = _root.aso#02295(this._x + this["glass" + aso#87533]._x, this._y + this["glass" + aso#87533]._y, this.rer() * 4, this.rer() * 2);
aso#87533++;
}
this.onEnterFrame = function () {
spok = true;
if ((((_root["aso#45610"][this.point3] == 1) || (_root["aso#45610"][this.point4] == 1)) || (_root["aso#45610"][this.point5] == 1)) || (_root["aso#45610"][this.point6] == 1)) {
spok = false;
Set("aso#05079", (_root["aso#50207"][this.point5] + _root["aso#50207"][this.point6]) / 2);
Set("aso#31819", (_root["aso#32240"][this.point5] + _root["aso#32240"][this.point6]) / 2);
this["aso#03266"]._x = aso#05079 - this._x;
this["aso#03266"]._y = aso#31819 - this._y;
this["aso#03266"]._rotation = (((-Math.atan2(_root["aso#50207"][this.point3] - _root["aso#50207"][this.point4], _root["aso#32240"][this.point3] - _root["aso#32240"][this.point4])) / Math.PI) * 180) - 90;
}
if ((((_root["aso#45610"][this.point3b] == 1) || (_root["aso#45610"][this.point4b] == 1)) || (_root["aso#45610"][this.point5b] == 1)) || (_root["aso#45610"][this.point6b] == 1)) {
spok = false;
Set("aso#05079", (_root["aso#50207"][this.point5b] + _root["aso#50207"][this.point6b]) / 2);
Set("aso#31819", (_root["aso#32240"][this.point5b] + _root["aso#32240"][this.point6b]) / 2);
this["aso#34603"]._x = aso#05079 - this._x;
this["aso#34603"]._y = aso#31819 - this._y;
this["aso#34603"]._rotation = (((-Math.atan2(_root["aso#50207"][this.point3b] - _root["aso#50207"][this.point4b], _root["aso#32240"][this.point3b] - _root["aso#32240"][this.point4b])) / Math.PI) * 180) + 90;
}
Set("aso#87533", 1);
while (aso#87533 <= 6) {
if (_root["aso#45610"][gl[aso#87533]] == 1) {
spok = false;
this["glass" + aso#87533]._x = _root["aso#50207"][gl[aso#87533]] - this._x;
this["glass" + aso#87533]._y = _root["aso#32240"][gl[aso#87533]] - this._y;
this["glass" + aso#87533]._rotation = this["glass" + aso#87533]._x * 3;
if (_root["aso#45610"][gl[aso#87533]] != 2) {
Set("aso#52991", 1);
while (aso#52991 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#52991]["aso#12881"] > 0) {
if (_root["aso#56196"]["player" + aso#52991].hitTest(_root["aso#50207"][gl[aso#87533]] + _root["aso#56196"]._x, _root["aso#32240"][gl[aso#87533]] + _root["aso#56196"]._y, true)) {
_root.aso#17057(_root["aso#50207"][gl[aso#87533]], _root["aso#32240"][gl[aso#87533]], _root["aso#56196"]["player" + aso#52991]["aso#20262"], "glass");
_root["aso#56196"]["player" + aso#52991]["aso#12881"] = _root["aso#56196"]["player" + aso#52991]["aso#12881"] - 10;
if (_root["aso#56196"]["player" + aso#52991]["aso#12881"] > 0) {
_root["aso#56196"]["player" + aso#52991].gotoAndPlay("hurt");
}
_root["aso#56196"]["player" + aso#52991]["aso#15665"] = "all";
_root["aso#45610"][gl[aso#87533]] = 2;
}
}
aso#52991++;
}
}
if (Math.abs(_root["aso#69566"][gl[aso#87533]]) < 0.9) {
if (Math.abs(_root["aso#63577"][gl[aso#87533]]) < 0.9) {
_root["aso#45610"][gl[aso#87533]] = 2;
}
}
} else if (this["glass" + aso#87533]._alpha > 0) {
this["glass" + aso#87533]._alpha = this["glass" + aso#87533]._alpha - 5;
spok = false;
} else {
this["glass" + aso#87533]._visible = false;
}
aso#87533++;
}
if (spok) {
if (!this.cacheAsBitmap) {
this.cacheAsBitmap = true;
}
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
this._visible = false;
this.onEnterFrame = 1;
}
}
};
a = 0;
while (a < _root["aso#54383"]) {
if ((_root["aso#45610"][a] == true) || (_root["aso#45610"][a] == false)) {
Set("aso#94914", _root.aso#90317(this._x, this._y, _root["aso#50207"][a], _root["aso#32240"][a]));
if (aso#94914 < 150) {
_root["aso#45610"][a] = true;
this.p = 0.3;
if ((((((((a == this.point3) || (a == this.point4)) || (a == this.point5)) || (a == this.point6)) || (a == this.point3b)) || (a == this.point4b)) || (a == this.point5b)) || (a == this.point6b)) {
this.p = 0.05 + (Math.random() * 0.05);
}
_root["aso#69566"][a] = _root["aso#69566"][a] - ((((this._x - _root["aso#50207"][a]) / aso#94914) * (150 - aso#94914)) * this.p);
_root["aso#63577"][a] = _root["aso#63577"][a] - ((((this._y - _root["aso#32240"][a]) / aso#94914) * (150 - aso#94914)) * this.p);
}
}
a++;
}
Set("aso#18449", 0);
while (aso#18449 < _root.barrelstotal) {
if (_root["aso#56196"]["barrel" + aso#18449]._currentframe < 4) {
if (_root.aso#90317(_root["aso#56196"]["barrel" + aso#18449]._x, _root["aso#56196"]["barrel" + aso#18449]._y, this._x, this._y) < 150) {
_root["aso#56196"]["barrel" + aso#18449].gotoAndPlay(4);
}
}
aso#18449++;
}
Set("aso#87533", 0);
while (aso#87533 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#87533]["aso#12881"] > 0) {
Set("aso#94914", _root.aso#90317(this._x, this._y, _root["aso#56196"]["player" + aso#87533]._x, _root["aso#56196"]["player" + aso#87533]._y - 60));
if (aso#94914 < 100) {
_root.aso#17057((_root["aso#56196"]["player" + aso#87533]._x - 20) + (Math.random() * 40), (_root["aso#56196"]["player" + aso#87533]._y - 80) + (Math.random() * 80), _root["aso#56196"]["player" + aso#87533]["aso#20262"], "barrel");
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = _root["aso#56196"]["player" + aso#87533]["aso#12881"] - 150;
if (_root["aso#56196"]["player" + aso#87533]["aso#12881"] > 0) {
_root["aso#56196"]["player" + aso#87533].gotoAndPlay("hurt");
}
_root["aso#56196"]["player" + aso#87533]["aso#15665"] = "all";
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = _root["aso#56196"]["player" + aso#87533]["aso#38229"] - (((((this._x - _root["aso#56196"]["player" + aso#87533]._x) / aso#94914) * (200 - aso#94914)) * 0.15) * _root["aso#56196"]["player" + aso#87533].easymove);
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = _root["aso#56196"]["player" + aso#87533]["aso#75555"] - (((((this._y - (_root["aso#56196"]["player" + aso#87533]._y - 60)) / aso#94914) * (200 - aso#94914)) * 0.15) * _root["aso#56196"]["player" + aso#87533].easymove);
}
}
aso#87533++;
}
Symbol 540 MovieClip Frame 15
this.stop();
Symbol 554 MovieClip Frame 1
this.stop();
Symbol 554 MovieClip Frame 11
this.stop();
Symbol 560 MovieClip Frame 1
this.stop();
Symbol 560 MovieClip Frame 2
this.gotoAndPlay(4);
Symbol 560 MovieClip Frame 3
this.gotoAndPlay(4);
Symbol 560 MovieClip Frame 4
k = 0;
while (k < 10) {
_root.aso#76947(this._x, this._y, 7, (Math.random() * 20) - 10, Math.random() * 10);
k++;
}
gl = new Array();
Set("aso#87533", 1);
while (aso#87533 <= 6) {
gl[aso#87533] = _root.aso#02295(this._x + this["glass" + aso#87533]._x, this._y + this["glass" + aso#87533]._y, (Math.random() * 20) - 10, Math.random() * 10);
aso#87533++;
}
this.onEnterFrame = function () {
spok = true;
Set("aso#87533", 1);
while (aso#87533 <= 6) {
if (_root["aso#45610"][gl[aso#87533]] == 1) {
spok = false;
this["glass" + aso#87533]._x = _root["aso#50207"][gl[aso#87533]] - this._x;
this["glass" + aso#87533]._y = _root["aso#32240"][gl[aso#87533]] - this._y;
this["glass" + aso#87533]._rotation = this["glass" + aso#87533]._x * 3;
if (_root["aso#45610"][gl[aso#87533]] != 2) {
Set("aso#52991", 1);
while (aso#52991 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#52991]["aso#12881"] > 0) {
if (_root["aso#56196"]["player" + aso#52991].hitTest(_root["aso#50207"][gl[aso#87533]] + _root["aso#56196"]._x, _root["aso#32240"][gl[aso#87533]] + _root["aso#56196"]._y, true)) {
_root.aso#17057(_root["aso#50207"][gl[aso#87533]], _root["aso#32240"][gl[aso#87533]], _root["aso#56196"]["player" + aso#52991]["aso#20262"], "glass");
_root["aso#56196"]["player" + aso#52991]["aso#12881"] = _root["aso#56196"]["player" + aso#52991]["aso#12881"] - 10;
if (_root["aso#56196"]["player" + aso#52991]["aso#12881"] > 0) {
_root["aso#56196"]["player" + aso#52991].gotoAndPlay("hurt");
}
_root["aso#56196"]["player" + aso#52991]["aso#15665"] = "all";
_root["aso#45610"][gl[aso#87533]] = 2;
}
}
aso#52991++;
}
}
if (Math.abs(_root["aso#69566"][gl[aso#87533]]) < 0.4) {
if (Math.abs(_root["aso#63577"][gl[aso#87533]]) < 0.4) {
_root["aso#45610"][gl[aso#87533]] = 2;
}
}
} else if (this["glass" + aso#87533]._alpha > 0) {
this["glass" + aso#87533]._alpha = this["glass" + aso#87533]._alpha - 5;
spok = false;
} else {
this["glass" + aso#87533]._visible = false;
}
aso#87533++;
}
if (spok) {
this.onEnterFrame = 1;
}
};
Symbol 560 MovieClip Frame 7
this.stop();
Symbol 564 MovieClip Frame 1
if ((_root._currentframe != 3) || (_root["aso#56196"]._currentframe != 1)) {
this.stop();
}
Symbol 564 MovieClip Frame 2
_root["aso#56196"].player0._alpha = 0;
this.onEnterFrame = function () {
_root["aso#56196"].player0._x = this._x;
_root["aso#56196"].player0._y = this._y;
};
Symbol 564 MovieClip Frame 11
this.onEnterFrame = function () {
if (_root["aso#56196"].player0._alpha < 100) {
_root["aso#56196"].player0._alpha = _root["aso#56196"].player0._alpha + 10;
} else {
_root["aso#56196"].player0._alpha = 100;
}
};
Symbol 564 MovieClip Frame 22
this.stop();
_root["aso#56196"].player0._alpha = 100;
this.onEnterFrame = 0;
this.unload();
Symbol 566 MovieClip Frame 1
this._visible = false;
Symbol 573 MovieClip Frame 1
this.stop();
Symbol 573 MovieClip Frame 30
this.stop();
Symbol 573 MovieClip Frame 60
this.stop();
Symbol 573 MovieClip Frame 95
this.stop();
Symbol 592 MovieClip Frame 1
this.stop();
this.onEnterFrame = function () {
Set("aso#87533", 0);
while (aso#87533 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#87533]["aso#12881"] > 0) {
if (_root["aso#56196"]["player" + aso#87533].hitTest(this)) {
if (_root["aso#56196"]["player" + aso#87533]._x > (this._x - 30)) {
if (_root["aso#56196"]["player" + aso#87533]._x < (this._x + 30)) {
if (_root["aso#56196"]["player" + aso#87533]._x > this._x) {
_root["aso#56196"]["player" + aso#87533]._x = this._x + 30;
} else {
_root["aso#56196"]["player" + aso#87533]._x = this._x - 30;
}
if (Math.abs(_root["aso#56196"]["player" + aso#87533]["aso#38229"]) > 8) {
if (this._currentframe < 3) {
this.gotoAndStop(this._currentframe + 1);
} else if (this._currentframe == 3) {
this.gotoAndPlay(4);
}
}
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = (-_root["aso#56196"]["player" + aso#87533]["aso#38229"]) * 0.5;
}
}
}
}
aso#87533++;
}
};
Symbol 592 MovieClip Frame 4
this._xscale = 100;
this._yscale = 100;
gl = new Array();
Set("aso#87533", 1);
while (aso#87533 <= 14) {
gl[aso#87533] = _root.aso#02295(this._x + this["glass" + aso#87533]._x, this._y + this["glass" + aso#87533]._y, (Math.random() * 20) - 10, Math.random() * 10);
this["glass" + aso#87533].ori = this["glass" + aso#87533]._rotation;
aso#87533++;
}
this.onEnterFrame = function () {
spok = true;
Set("aso#87533", 1);
while (aso#87533 <= 14) {
if (_root["aso#45610"][gl[aso#87533]] == 1) {
spok = false;
this["glass" + aso#87533]._x = _root["aso#50207"][gl[aso#87533]] - this._x;
this["glass" + aso#87533]._y = _root["aso#32240"][gl[aso#87533]] - this._y;
this["glass" + aso#87533]._rotation = (this["glass" + aso#87533]._x * 3) + this["glass" + aso#87533].ori;
if (_root["aso#45610"][gl[aso#87533]] != 2) {
Set("aso#52991", 1);
while (aso#52991 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#52991]["aso#12881"] > 0) {
if (_root["aso#56196"]["player" + aso#52991].hitTest(_root["aso#50207"][gl[aso#87533]] + _root["aso#56196"]._x, _root["aso#32240"][gl[aso#87533]] + _root["aso#56196"]._y, true)) {
_root.aso#17057(_root["aso#50207"][gl[aso#87533]], _root["aso#32240"][gl[aso#87533]], _root["aso#56196"]["player" + aso#52991]["aso#20262"], "glass");
_root["aso#56196"]["player" + aso#52991]["aso#12881"] = _root["aso#56196"]["player" + aso#52991]["aso#12881"] - 20;
if (_root["aso#56196"]["player" + aso#52991]["aso#12881"] > 0) {
_root["aso#56196"]["player" + aso#52991].gotoAndPlay("hurt");
}
_root["aso#56196"]["player" + aso#52991]["aso#15665"] = "all";
_root["aso#45610"][gl[aso#87533]] = 2;
}
}
aso#52991++;
}
}
if (Math.abs(_root["aso#69566"][gl[aso#87533]]) < 0.4) {
if (Math.abs(_root["aso#63577"][gl[aso#87533]]) < 0.4) {
_root["aso#45610"][gl[aso#87533]] = 2;
}
}
} else if (this["glass" + aso#87533]._alpha > 0) {
this["glass" + aso#87533]._alpha = this["glass" + aso#87533]._alpha - 5;
spok = false;
} else {
this["glass" + aso#87533]._visible = false;
}
aso#87533++;
}
if (spok) {
this.onEnterFrame = 1;
}
};
Symbol 592 MovieClip Frame 7
this.stop();
Symbol 613 MovieClip Frame 1
this.stop();
Symbol 663 MovieClip Frame 4
if ((_root.fire && (_root["aso#56196"].player0._alpha < 10)) && (_root["aso#56196"].player0["aso#12881"] > 0)) {
if (_root.fire) {
Set("aso#79731", (_root["aso#56196"].jeep.rl._rotation / 180) * Math.PI);
Set("aso#21654", ((Math.cos(aso#79731) * 10) / 100) * _root["aso#56196"].player0._xscale);
Set("aso#84328", ((Math.sin(aso#79731) * 10) / 100) * _root["aso#56196"].player0._xscale);
_root.aso#41984(_root["aso#56196"].jeep._x + _root["aso#56196"].jeep.rl._x, _root["aso#56196"].jeep._y + _root["aso#56196"].jeep.rl._y, 0, 4, aso#21654, aso#84328);
}
this.gotoAndPlay(5);
} else {
this.gotoAndPlay(3);
}
Symbol 663 MovieClip Frame 8
this.gotoAndPlay(1);
Symbol 685 MovieClip Frame 1
this.stop();
Symbol 685 MovieClip Frame 3
this.gotoAndStop(1);
Symbol 685 MovieClip Frame 4
this.play();
k = 0;
while (k < 10) {
_root.aso#76947(this._x, this._y, 7, 20 - (Math.random() * 40), 20 - (Math.random() * 40));
k++;
}
Symbol 685 MovieClip Frame 13
this.stop();
Symbol 691 MovieClip Frame 1
this.stop();
Symbol 691 MovieClip Frame 2
_root.aso#10647("Radio: Technics has detected. Scanning...");
Symbol 691 MovieClip Frame 3
_root.aso#10647("Radio: Alert. Enemy technics detected. Destroy this...");
Symbol 691 MovieClip Frame 4
_root.aso#10647("Radio: Activate full power!..");
Symbol 691 MovieClip Frame 5
_root.aso#10647("Radio: Warning! Tactical retreat!..");
Symbol 743 MovieClip Frame 1
this.stop();
Symbol 764 MovieClip Frame 19
if (this.dead == false) {
if (this.run == false) {
this.gotoAndPlay("idle");
}
} else {
this.gotoAndPlay("die");
}
Symbol 764 MovieClip Frame 49
if (this.dead == false) {
if ((Math.abs(this._x - _root["aso#56196"].player0._x) > 400) && ((Math.abs(this._x - _root["aso#56196"].player1._x) > 400) || (_root["aso#56196"].player1["aso#12881"] <= 0))) {
if (this.run) {
this.gotoAndPlay("run_loop");
} else {
this.gotoAndPlay("idle");
}
}
} else {
this.gotoAndPlay("die");
}
Symbol 764 MovieClip Frame 76
if (this.dead == false) {
if ((Math.abs(this._x - _root["aso#56196"].player0._x) > 400) && ((Math.abs(this._x - _root["aso#56196"].player1._x) > 400) || (_root["aso#56196"].player1["aso#12881"] <= 0))) {
this.gotoAndPlay("run_loop");
} else {
this.gotoAndPlay("fire");
}
} else {
this.gotoAndPlay("die");
}
Symbol 764 MovieClip Frame 77
Symbol 764 MovieClip Frame 86
_root.aso#76947(this._x + this.leg_lower2._x, this._y + this.leg_lower2._y, 11);
_root.aso#76947(this._x + this.leg_lower2._x, this._y + this.leg_lower2._y, 11);
_root.aso#76947(this._x + this.leg_lower2._x, this._y + this.leg_lower2._y, 11);
Symbol 764 MovieClip Frame 110
this.stop();
Symbol 765 MovieClip Frame 1
this.stop();
if (this._currentframe == 1) {
this.colmap._visible = false;
hinttot = 4;
hintok = new Array();
hmessag = new Array();
hmessag[0] = "Try to shun enemy's shots with jumping and crouch.";
hmessag[1] = "You can throw grenades with the ''G'', ''ENTER'', or 'Q' button.";
hmessag[2] = "This is a medikit. Pick it up to restore 25 Hit Points.";
hmessag[3] = "Do not forget to go to the weapon store.";
Set("aso#87533", 0);
while (aso#87533 < hinttot) {
this["h" + aso#87533]._visible = false;
hintok[aso#87533] = true;
aso#87533++;
}
Set("aso#87533", 1);
while (aso#87533 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 0) {
_root["aso#56196"]["player" + aso#87533]["aso#29035"] = 0;
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 10;
_root["aso#56196"]["player" + aso#87533].opentop = true;
r = Math.floor(Math.random() * 2.999);
if (r == 0) {
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(6);
}
if (r == 1) {
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(7);
}
if (r == 2) {
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(8);
}
}
aso#87533++;
}
this.onEnterFrame = function () {
if (_root.gunpaused) {
Set("aso#87533", 0);
while (aso#87533 < hinttot) {
if (hintok[aso#87533]) {
if (this["h" + aso#87533].hitTest(_root["aso#56196"].player0)) {
if (aso#87533 != 3) {
hintok[aso#87533] = false;
}
_root.aso#19841(hmessag[aso#87533]);
}
}
aso#87533++;
}
if (_root["aso#56196"].player0.hitTest(this.but0) && (_root["aso#56196"].player0["aso#12881"] > 0)) {
Set("aso#43797", true);
} else {
Set("aso#43797", false);
}
if (aso#43797) {
if (this.colmap.box33._yscale > 0) {
if ((this.door1._currentframe == 1) || (this.door1._currentframe == 60)) {
this.colmap.box33._yscale = 0;
this.door1.gotoAndPlay(2);
}
}
} else if (this.colmap.box33._yscale == 0) {
if (this.door1._currentframe == 30) {
this.colmap.box33._yscale = 130;
this.door1.gotoAndPlay(31);
}
}
}
};
}
Symbol 765 MovieClip Frame 2
if (this._currentframe == 2) {
_root["aso#56196"].speedup._visible = false;
this.colmap._visible = false;
Set("aso#87533", 1);
while (aso#87533 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 0) {
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(2);
_root["aso#56196"]["player" + aso#87533].opentop = true;
r = Math.floor(Math.random() * 2.999);
if (r == 0) {
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(6);
}
if (r == 1) {
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(7);
}
if (r == 2) {
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(8);
}
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 70;
}
if (aso#87533 == 5) {
_root["aso#56196"]["player" + aso#87533]["aso#29035"] = 0;
}
aso#87533++;
}
hinttot = 4;
hintok = new Array();
hmessag = new Array();
hmessag[0] = "You can swap Your weapon with numbers and mouse wheel.";
hmessag[1] = "This thing will hoist You.";
hmessag[2] = "Shoot in the head is the fastest way to kill.";
hmessag[3] = "You can go crouch with ''S'', ''Shift'', or ''Down'' button.";
Set("aso#87533", 0);
while (aso#87533 < hinttot) {
this["h" + aso#87533]._visible = false;
hintok[aso#87533] = true;
aso#87533++;
}
this.onEnterFrame = function () {
if (_root.gunpaused) {
Set("aso#87533", 0);
while (aso#87533 < hinttot) {
if (hintok[aso#87533]) {
if (this["h" + aso#87533].hitTest(_root["aso#56196"].player0)) {
if (aso#87533 != 3) {
hintok[aso#87533] = false;
}
_root.aso#19841(hmessag[aso#87533]);
}
}
aso#87533++;
}
Set("aso#87533", 0);
if (_root["aso#56196"]["player" + aso#87533].hitTest(_root["aso#56196"].speedup)) {
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = _root["aso#56196"]["player" + aso#87533]["aso#75555"] - 1.5;
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = _root["aso#56196"]["player" + aso#87533]["aso#75555"] * 0.99;
if (!stand) {
if (((Key.isDown(65) || (Key.isDown(37))) && (aso#87533 == 0)) || ((aso#87533 != 0) && (_root["aso#56196"]["player" + aso#87533].botaction == 2))) {
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = _root["aso#56196"]["player" + aso#87533]["aso#38229"] - 0.2;
}
if (((Key.isDown(68) || (Key.isDown(39))) && (aso#87533 == 0)) || ((aso#87533 != 0) && (_root["aso#56196"]["player" + aso#87533].botaction == 1))) {
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = _root["aso#56196"]["player" + aso#87533]["aso#38229"] + 0.2;
}
}
}
}
};
}
Symbol 765 MovieClip Frame 3
if (this._currentframe == 3) {
this.colmap._visible = false;
Set("aso#87533", 1);
while (aso#87533 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 0) {
_root["aso#56196"]["player" + aso#87533]["aso#29035"] = 1;
if (((aso#87533 == 2) || (aso#87533 == 4)) || (aso#87533 == 10)) {
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(4);
} else {
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(2);
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(3);
}
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 200;
}
aso#87533++;
}
_root["aso#56196"].speedup._visible = false;
_root["aso#56196"].speedup2._visible = false;
liftmoving = false;
this.onEnterFrame = function () {
if (_root.gunpaused) {
if (_root["aso#56196"].player0.hitTest(this.colmap.box10)) {
liftmoving = true;
}
if (liftmoving) {
if (!this.colmap.box11.hitTest(this.colmap.box10)) {
this.colmap.box10._y = this.colmap.box10._y + 2;
this.colmap.box30._y = this.colmap.box30._y + 2;
this.lift._y = this.colmap.box10._y;
if (_root["aso#56196"].player0["aso#12881"] > 0) {
if (_root["aso#56196"].player0.hitTest(this.colmap.box10)) {
_root["aso#56196"].player0._y = _root["aso#56196"].player0._y + 2;
_root["aso#56196"].player0["aso#75555"] = (_root["aso#56196"].player0["aso#75555"] + 2) / 2;
}
}
}
}
Set("aso#87533", 0);
while (aso#87533 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#87533]["aso#35024"] == true) {
if (_root["aso#56196"]["player" + aso#87533].hitTest(this.colmap.box12)) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 0;
}
if (aso#87533 == 0) {
if (_root["aso#56196"]["player" + aso#87533].hitTest(_root["aso#56196"].speedup) || (_root["aso#56196"]["player" + aso#87533].hitTest(_root["aso#56196"].speedup2))) {
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = _root["aso#56196"]["player" + aso#87533]["aso#75555"] - 1.5;
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = _root["aso#56196"]["player" + aso#87533]["aso#75555"] * 0.99;
if (_root["aso#56196"]["player" + aso#87533].hitTest(_root["aso#56196"].speedup2)) {
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = Math.min(_root["aso#56196"]["player" + aso#87533]["aso#75555"], 1);
}
if (!stand) {
if (((Key.isDown(65) || (Key.isDown(37))) && (aso#87533 == 0)) || ((aso#87533 != 0) && (_root["aso#56196"]["player" + aso#87533].botaction == 2))) {
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = _root["aso#56196"]["player" + aso#87533]["aso#38229"] - 0.2;
}
if (((Key.isDown(68) || (Key.isDown(39))) && (aso#87533 == 0)) || ((aso#87533 != 0) && (_root["aso#56196"]["player" + aso#87533].botaction == 1))) {
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = _root["aso#56196"]["player" + aso#87533]["aso#38229"] + 0.2;
}
}
}
}
}
aso#87533++;
}
if (_root["aso#56196"].player0.hitTest(this.but0) && (_root["aso#56196"].player0["aso#12881"] > 0)) {
Set("aso#43797", true);
} else {
Set("aso#43797", false);
}
if (aso#43797) {
if (this.colmap.box31._yscale > 0) {
if ((this.door1._currentframe == 1) || (this.door1._currentframe == 60)) {
this.colmap.box31._yscale = 0;
this.door1.gotoAndPlay(2);
}
}
} else if (this.colmap.box31._yscale == 0) {
if (this.door1._currentframe == 30) {
this.colmap.box31._yscale = 130;
this.door1.gotoAndPlay(31);
}
}
}
};
}
Symbol 765 MovieClip Frame 4
if (this._currentframe == 4) {
this.colmap._visible = false;
Set("aso#87533", 0);
while (aso#87533 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 0) {
if (aso#87533 != 0) {
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(4);
}
}
aso#87533++;
}
Set("aso#87533", 1);
while (aso#87533 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 0) {
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533]["aso#29035"] = 1;
if ((((aso#87533 == 1) || (aso#87533 == 4)) || (aso#87533 == 6)) || (aso#87533 == 12)) {
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(4);
} else {
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(2);
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(3);
}
if (aso#87533 >= 15) {
_root["aso#56196"]["player" + aso#87533]["aso#70958"] = 0;
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(1);
_root["aso#56196"]["player" + aso#87533]["aso#55775"].gotoAndStop(1);
_root["aso#56196"]["player" + aso#87533]["aso#87112"].gotoAndStop(1);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(1);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(1);
_root["aso#56196"]["player" + aso#87533].hunt = 0;
} else {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 200;
}
}
aso#87533++;
}
Set("aso#43797", false);
this.onEnterFrame = function () {
if (_root.gunpaused) {
if (Key.isDown(69)) {
if (_root["aso#56196"].player0.hitTest(this.but0)) {
if (_root["aso#56196"].player0["aso#12881"] > 0) {
this.but0.gotoAndStop(2);
Set("aso#43797", true);
}
}
}
if (aso#43797) {
if (this.colmap.box7._yscale > 0) {
if ((this.door1._currentframe == 1) || (this.door1._currentframe == 60)) {
this.colmap.box7._yscale = 0;
this.door1.gotoAndPlay(2);
}
}
} else if (this.colmap.box7._yscale == 0) {
if (this.door1._currentframe == 30) {
this.colmap.box7._yscale = 130;
this.door1.gotoAndPlay(31);
}
}
}
};
}
Symbol 765 MovieClip Frame 5
if (this._currentframe == 5) {
this.but0._visible = false;
this.colmap._visible = false;
Set("aso#87533", 1);
while (aso#87533 < _root.playerstot) {
_root["aso#56196"]["player" + aso#87533]["aso#29035"] = 1;
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 0) {
_root["aso#56196"]["player" + aso#87533]["aso#29035"] = 1;
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 100;
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(1);
_root["aso#56196"]["player" + aso#87533].w_upg1 = 1;
}
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 1) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 400;
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(2);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(2);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(2);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(2);
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(11);
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 3;
}
aso#87533++;
}
Set("aso#43797", false);
this.onEnterFrame = function () {
if (_root.gunpaused) {
if (_root["aso#56196"].player0.hitTest(this.but0) && (_root["aso#56196"].player0["aso#12881"] > 0)) {
Set("aso#43797", true);
} else {
Set("aso#43797", false);
}
Set("aso#87533", 0);
while (aso#87533 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#87533]["aso#35024"] == true) {
if (_root["aso#56196"]["player" + aso#87533]["aso#12881"] > 0) {
if (_root["aso#56196"]["player" + aso#87533].hitTest(this.kill_reg0)) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = -200;
_root["aso#56196"]["player" + aso#87533]["aso#15665"] = "body";
_root.aso#17057((_root["aso#56196"]["player" + aso#87533]._x - 20) + (Math.random() * 40), this.kill_reg0._y, _root["aso#56196"]["player" + aso#87533]["aso#20262"], "shot_head", -4 + (Math.random() * 8), -4 + (Math.random() * 8));
}
}
}
aso#87533++;
}
if (aso#43797) {
if (this.colmap.box13._yscale > 0) {
if ((this.door1._currentframe == 1) || (this.door1._currentframe == 60)) {
this.colmap.box13._yscale = 0;
this.door1.gotoAndPlay(2);
}
}
} else if (this.colmap.box13._yscale == 0) {
if (this.door1._currentframe == 30) {
this.colmap.box13._yscale = 130;
this.door1.gotoAndPlay(31);
}
}
}
};
}
Symbol 765 MovieClip Frame 6
if (this._currentframe == 6) {
this.colmap._visible = false;
this.h1._visible = false;
this.h2._visible = false;
this.h3._visible = false;
Set("aso#87533", 1);
while (aso#87533 < _root.playerstot) {
_root["aso#56196"]["player" + aso#87533]["aso#29035"] = 1;
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 0) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 200;
_root["aso#56196"]["player" + aso#87533]["aso#29035"] = 1;
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(4);
}
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 1) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 400;
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(2);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(2);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(2);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(2);
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(11);
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 3;
}
aso#87533++;
}
Set("aso#43797", false);
this.onEnterFrame = function () {
if (_root.gunpaused) {
}
};
}
Symbol 765 MovieClip Frame 7
if (this._currentframe == 7) {
this.colmap._visible = false;
Set("aso#87533", 1);
while (aso#87533 < _root.playerstot) {
_root["aso#56196"]["player" + aso#87533]["aso#29035"] = 1;
_root["aso#56196"]["player" + aso#87533]["aso#70958"] = 1;
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 0) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 200;
_root["aso#56196"]["player" + aso#87533]["aso#29035"] = 1;
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(4);
}
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 1) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 400;
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(2);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(2);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(12);
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 3;
}
aso#87533++;
}
}
Symbol 765 MovieClip Frame 8
if (this._currentframe == 8) {
this.colmap._visible = false;
Set("aso#87533", 1);
while (aso#87533 < _root.playerstot) {
_root["aso#56196"]["player" + aso#87533]["aso#29035"] = 1;
_root["aso#56196"]["player" + aso#87533]["aso#70958"] = 1;
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 0) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 200;
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(5);
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(4);
}
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 1) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 600;
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(13);
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 5;
}
aso#87533++;
}
this.onEnterFrame = function () {
};
}
Symbol 765 MovieClip Frame 9
if (this._currentframe == 9) {
_root["aso#56196"].speedup1._visible = false;
_root["aso#56196"].speedup2._visible = false;
this.colmap._visible = false;
Set("aso#87533", 1);
while (aso#87533 < _root.playerstot) {
_root["aso#56196"]["player" + aso#87533]["aso#29035"] = 1;
_root["aso#56196"]["player" + aso#87533]["aso#70958"] = 1;
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 0) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 200;
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533].w_upg3 = 1;
}
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 1) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 600;
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(13);
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 5;
}
aso#87533++;
}
this.onEnterFrame = function () {
if (_root.gunpaused) {
Set("aso#87533", 0);
while (aso#87533 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#87533]["aso#35024"] == true) {
if (_root["aso#56196"]["player" + aso#87533]["aso#12881"] > 0) {
if (_root["aso#56196"]["player" + aso#87533].hitTest(this.kill_reg0._x + _root["aso#56196"]._x, this.kill_reg0._y + _root["aso#56196"]._y, true) || (_root["aso#56196"]["player" + aso#87533].hitTest(this.kill_reg1._x + _root["aso#56196"]._x, this.kill_reg1._y + _root["aso#56196"]._y, true))) {
if ((!_root["aso#56196"]["player" + aso#87533]["aso#44218"].hitTest(this.kill_reg0._x + _root["aso#56196"]._x, this.kill_reg0._y + _root["aso#56196"]._y, true)) && (!_root["aso#56196"]["player" + aso#87533]["aso#44218"].hitTest(this.kill_reg1._x + _root["aso#56196"]._x, this.kill_reg1._y + _root["aso#56196"]._y, true))) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = -200;
_root["aso#56196"]["player" + aso#87533]["aso#15665"] = "body";
_root.aso#17057((_root["aso#56196"]["player" + aso#87533]._x - 20) + (Math.random() * 40), this.kill_reg0._y, _root["aso#56196"]["player" + aso#87533]["aso#20262"], "shot_head", -4 + (Math.random() * 8), -4 + (Math.random() * 8));
}
}
if (_root["aso#56196"]["player" + aso#87533].hitTest(this.kill_reg2)) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = -200;
_root["aso#56196"]["player" + aso#87533]["aso#15665"] = "body";
_root.aso#17057((_root["aso#56196"]["player" + aso#87533]._x - 20) + (Math.random() * 40), this.kill_reg2._y, _root["aso#56196"]["player" + aso#87533]["aso#20262"], "shot_head", -4 + (Math.random() * 8), -4 + (Math.random() * 8));
}
}
}
aso#87533++;
}
Set("aso#87533", 0);
if (_root["aso#56196"]["player" + aso#87533].hitTest(_root["aso#56196"].speedup1) || (_root["aso#56196"]["player" + aso#87533].hitTest(_root["aso#56196"].speedup2))) {
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = _root["aso#56196"]["player" + aso#87533]["aso#75555"] - 1.5;
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = _root["aso#56196"]["player" + aso#87533]["aso#75555"] * 0.99;
if (!stand) {
if (((Key.isDown(65) || (Key.isDown(37))) && (aso#87533 == 0)) || ((aso#87533 != 0) && (_root["aso#56196"]["player" + aso#87533].botaction == 2))) {
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = _root["aso#56196"]["player" + aso#87533]["aso#38229"] - 0.2;
}
if (((Key.isDown(68) || (Key.isDown(39))) && (aso#87533 == 0)) || ((aso#87533 != 0) && (_root["aso#56196"]["player" + aso#87533].botaction == 1))) {
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = _root["aso#56196"]["player" + aso#87533]["aso#38229"] + 0.2;
}
}
}
}
};
}
Symbol 765 MovieClip Frame 10
if (this._currentframe == 10) {
this.colmap._visible = false;
_root["aso#56196"].player3.myi = -1;
Set("aso#87533", 1);
while (aso#87533 < _root.playerstot) {
_root["aso#56196"]["player" + aso#87533]["aso#29035"] = 1;
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 0) {
_root["aso#56196"]["player" + aso#87533].w_upg3 = 2;
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 200;
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533].w_upg3 = 1;
}
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 1) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 600;
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(12);
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 5;
}
if (aso#87533 == 3) {
_root["aso#56196"]["player" + aso#87533]["aso#70958"] = 0;
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 500;
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(9);
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(13);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(8);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(8);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(8);
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 8;
_root["aso#56196"]["player" + aso#87533].w_upg3 = 1;
}
aso#87533++;
}
}
Symbol 765 MovieClip Frame 11
function ActivateDrone() {
Set("aso#87533", this.curdrone);
this.drones = 38;
trace(">>> " + aso#87533);
if (this.curdrone < this.drones) {
_root["aso#56196"]["dr" + aso#87533].p0 = _root.aso#02295(_root["aso#56196"]["dr" + aso#87533]._x, _root["aso#56196"]["dr" + aso#87533]._y, 0, 0);
_root["aso#56196"]["dr" + aso#87533].p1 = _root.aso#02295(_root["aso#56196"]["dr" + aso#87533]._x, _root["aso#56196"]["dr" + aso#87533]._y - 19, 0, 0);
_root["aso#56196"]["dr" + aso#87533].p2 = _root.aso#02295(_root["aso#56196"]["dr" + aso#87533]._x, _root["aso#56196"]["dr" + aso#87533]._y + 19, 0, 0);
_root["aso#56196"]["dr" + aso#87533].p3 = _root.aso#02295(_root["aso#56196"]["dr" + aso#87533]._x - 23, _root["aso#56196"]["dr" + aso#87533]._y, 0, 0);
_root["aso#56196"]["dr" + aso#87533].p4 = _root.aso#02295(_root["aso#56196"]["dr" + aso#87533]._x + 23, _root["aso#56196"]["dr" + aso#87533]._y, 0, 0);
Set("aso#06892", _root.aso#88925(_root["aso#56196"]["dr" + aso#87533].p0, _root["aso#56196"]["dr" + aso#87533].p1, 0));
_root.aso#88925(_root["aso#56196"]["dr" + aso#87533].p0, _root["aso#56196"]["dr" + aso#87533].p2, 0);
_root.aso#88925(_root["aso#56196"]["dr" + aso#87533].p0, _root["aso#56196"]["dr" + aso#87533].p3, 0);
_root.aso#88925(_root["aso#56196"]["dr" + aso#87533].p0, _root["aso#56196"]["dr" + aso#87533].p4, 0);
_root.aso#88925(_root["aso#56196"]["dr" + aso#87533].p1, _root["aso#56196"]["dr" + aso#87533].p2, 0);
_root.aso#88925(_root["aso#56196"]["dr" + aso#87533].p3, _root["aso#56196"]["dr" + aso#87533].p4, 0);
_root.aso#88925(_root["aso#56196"]["dr" + aso#87533].p1, _root["aso#56196"]["dr" + aso#87533].p2, 0);
_root.aso#88925(_root["aso#56196"]["dr" + aso#87533].p2, _root["aso#56196"]["dr" + aso#87533].p3, 0);
_root.aso#88925(_root["aso#56196"]["dr" + aso#87533].p3, _root["aso#56196"]["dr" + aso#87533].p4, 0);
_root.aso#88925(_root["aso#56196"]["dr" + aso#87533].p4, _root["aso#56196"]["dr" + aso#87533].p1, 0);
_root["aso#91709"][_root["aso#56196"]["dr" + aso#87533].p0] = 2;
_root["aso#91709"][_root["aso#56196"]["dr" + aso#87533].p1] = 2;
_root["aso#91709"][_root["aso#56196"]["dr" + aso#87533].p2] = 2;
_root["aso#91709"][_root["aso#56196"]["dr" + aso#87533].p3] = 2;
_root["aso#91709"][_root["aso#56196"]["dr" + aso#87533].p4] = 2;
_root["aso#56196"]["dr" + aso#87533].turnon = true;
_root["aso#56196"]["dr" + aso#87533]["aso#12881"] = 100;
_root["aso#56196"]["dr" + aso#87533]._visible = true;
_root.aso#12460(_root["aso#56196"]["dr" + aso#87533], aso#06892, 0, 1);
}
this.curdrone++;
}
if (this._currentframe == 11) {
this.curdrone = 0;
Set("aso#87533", 0);
while (aso#87533 < this.drones) {
_root["aso#56196"]["dr" + aso#87533]._visible = false;
aso#87533++;
}
_root.grenades = 0;
this.colmap._visible = false;
_root["aso#56196"].player0["aso#44218"].gotoAndStop(2);
_root["aso#56196"].player0.w_upg2 = 2;
Set("aso#87533", 1);
while (aso#87533 < _root.playerstot) {
_root["aso#56196"]["player" + aso#87533]["aso#29035"] = 1;
_root["aso#56196"]["player" + aso#87533]["aso#70958"] = 1;
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 0) {
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533].w_upg3 = 1;
}
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 1) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 1600;
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(12);
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 5;
}
aso#87533++;
}
bgstartx = _root["aso#56196"].backgroundd._x;
Set("aso#95885", 0);
way = 0;
_root["aso#56196"].player0._alpha = 0;
_root["aso#56196"].player0["aso#12881"] = 1000;
_root.playerhmax = 1000;
swich3 = true;
swich2 = true;
swich1 = true;
swich0 = true;
this.onEnterFrame = function () {
if (_root.gunpaused) {
if (this._currentframe == 11) {
if (swich2) {
if (way > 300) {
swich2 = false;
this.wavplayer.gotoAndStop(2);
}
}
if (swich0) {
if (way > 1000) {
swich0 = false;
this.ActivateDrone();
this.ActivateDrone();
this.wavplayer.gotoAndStop(3);
}
}
if (swich1) {
if (way > 15000) {
swich1 = false;
this.ActivateDrone();
this.ActivateDrone();
this.wavplayer.gotoAndStop(4);
}
}
if (swich3) {
if (way > 21000) {
this.wavplayer.gotoAndStop(5);
}
}
if (way < 22000) {
if (aso#95885 < 10) {
Set("aso#95885", aso#95885 + 0.1);
} else {
Set("aso#95885", 10);
}
} else if (aso#95885 > 0) {
Set("aso#95885", aso#95885 - 0.2);
} else {
Set("aso#95885", 0);
this.end._x = _root["aso#56196"].player0._x;
this.end._y = _root["aso#56196"].player0._y;
}
way = way + aso#95885;
if (_root["aso#56196"].player0["aso#44218"]._currentframe != 7) {
_root["aso#56196"].player0["aso#44218"].gotoAndStop(7);
}
_root["aso#56196"].backgroundd._x = _root["aso#56196"].backgroundd._x - Math.round(aso#95885);
if (_root["aso#56196"].backgroundd._x < (bgstartx - 509)) {
_root["aso#56196"].backgroundd._x = _root["aso#56196"].backgroundd._x + 509;
}
if (_root["aso#56196"].player0["aso#12881"] > 0) {
_root["aso#56196"].player0._x = _root["aso#56196"].jeep._x - 6;
_root["aso#56196"].player0._y = _root["aso#56196"].jeep._y + 50;
_root["aso#56196"].player0["aso#38229"] = aso#95885;
_root["aso#56196"].player0["aso#75555"] = 0;
_root["aso#56196"].jeep.rl._rotation = (_root["aso#56196"].player0["aso#44218"]._rotation / 100) * _root["aso#56196"].player0._xscale;
_root["aso#56196"].jeep.rl._xscale = _root["aso#56196"].player0._xscale;
} else {
_root["aso#56196"].player0._alpha = 100;
}
_root["aso#56196"].jeep.w1._rotation = _root["aso#56196"].jeep.w1._rotation + (aso#95885 * 1.6);
_root["aso#56196"].jeep.w2._rotation = _root["aso#56196"].jeep.w2._rotation + (aso#95885 * 1.6);
_root["aso#56196"].jeep.w1._y = 18.1 + Math.random();
_root["aso#56196"].jeep.w2._y = 18.1 + Math.random();
_root["aso#56196"].jeep.carbody._y = -34.3 - Math.random();
Set("aso#87533", 0);
while (aso#87533 < this.drones) {
if (_root["aso#56196"]["dr" + aso#87533].turnon) {
if (_root["aso#56196"]["dr" + aso#87533]["aso#12881"] > 0) {
_root["aso#63577"][_root["aso#56196"]["dr" + aso#87533].p0] = _root["aso#63577"][_root["aso#56196"]["dr" + aso#87533].p0] * 0.9;
_root["aso#69566"][_root["aso#56196"]["dr" + aso#87533].p0] = _root["aso#69566"][_root["aso#56196"]["dr" + aso#87533].p0] * 0.9;
if (_root["aso#32240"][_root["aso#56196"]["dr" + aso#87533].p0] > 550) {
_root["aso#63577"][_root["aso#56196"]["dr" + aso#87533].p0] = _root["aso#63577"][_root["aso#56196"]["dr" + aso#87533].p0] - (_root["aso#57167"] * 6);
}
if (_root["aso#32240"][_root["aso#56196"]["dr" + aso#87533].p0] > 650) {
_root["aso#63577"][_root["aso#56196"]["dr" + aso#87533].p0] = _root["aso#63577"][_root["aso#56196"]["dr" + aso#87533].p0] - (_root["aso#57167"] * 6);
}
if (_root["aso#50207"][_root["aso#56196"]["dr" + aso#87533].p0] < 0) {
_root["aso#69566"][_root["aso#56196"]["dr" + aso#87533].p0] = _root["aso#69566"][_root["aso#56196"]["dr" + aso#87533].p0] + 3;
}
if (_root["aso#50207"][_root["aso#56196"]["dr" + aso#87533].p0] > 800) {
_root["aso#69566"][_root["aso#56196"]["dr" + aso#87533].p0] = _root["aso#69566"][_root["aso#56196"]["dr" + aso#87533].p0] - 3;
}
Set("aso#03687", Math.atan2(_root["aso#56196"]["dr" + aso#87533]._x - _root["aso#56196"].player0._x, _root["aso#56196"]["dr" + aso#87533]._y - _root["aso#56196"].player0._y));
_root["aso#69566"][_root["aso#56196"]["dr" + aso#87533].p2] = _root["aso#69566"][_root["aso#56196"]["dr" + aso#87533].p2] - (Math.sin(aso#03687) * 5);
_root["aso#63577"][_root["aso#56196"]["dr" + aso#87533].p2] = _root["aso#63577"][_root["aso#56196"]["dr" + aso#87533].p2] - (Math.cos(aso#03687) * 5);
_root["aso#69566"][_root["aso#56196"]["dr" + aso#87533].p1] = _root["aso#69566"][_root["aso#56196"]["dr" + aso#87533].p1] + (Math.sin(aso#03687) * 5);
_root["aso#63577"][_root["aso#56196"]["dr" + aso#87533].p1] = _root["aso#63577"][_root["aso#56196"]["dr" + aso#87533].p1] + (Math.cos(aso#03687) * 5);
if (_root["aso#50207"][_root["aso#56196"]["dr" + aso#87533].p0] > 0) {
if (_root["aso#50207"][_root["aso#56196"]["dr" + aso#87533].p0] < 800) {
Set("aso#79731", ((-_root["aso#56196"]["dr" + aso#87533]._rotation) / 180) * Math.PI);
Set("aso#21654", Math.sin(aso#79731) * 10);
Set("aso#84328", Math.cos(aso#79731) * 10);
if (Math.random() > 0.9) {
_root["aso#56196"]["dr" + aso#87533].gotoAndPlay(2);
_root.aso#41984(_root["aso#56196"]["dr" + aso#87533]._x + aso#84328, _root["aso#56196"]["dr" + aso#87533]._y + aso#21654, 2, 1, aso#21654, aso#84328);
_root.aso#41984(_root["aso#56196"]["dr" + aso#87533]._x - aso#84328, _root["aso#56196"]["dr" + aso#87533]._y - aso#21654, 2, 1, aso#21654, aso#84328);
}
}
}
}
}
aso#87533++;
}
pl = 0;
while (pl < _root.pulsmax) {
if (_root["aso#56196"]["pl" + pl]._visible == true) {
Set("aso#81544", _root["aso#56196"]["pl" + pl]);
aso#81544._x = aso#81544._x - aso#95885;
if (_root["aso#56196"].jeep.hitTest(aso#81544._x + _root["aso#56196"]._x, aso#81544._y + _root["aso#56196"]._y, true)) {
if (aso#81544["aso#99090"] != 0) {
_root.aso#76947(aso#81544._x, aso#81544._y, 0);
_root.aso#76947(aso#81544._x, aso#81544._y, 11);
_root["aso#56196"]["pl" + pl]._visible = false;
_root["aso#56196"].player0["aso#12881"] = _root["aso#56196"].player0["aso#12881"] - (10 * aso#81544["aso#08284"]);
}
}
Set("aso#87533", 0);
while (aso#87533 < this.drones) {
if (_root["aso#56196"]["dr" + aso#87533].turnon) {
if (_root["aso#56196"]["dr" + aso#87533]["aso#12881"] > 0) {
if (aso#81544["aso#99090"] == 0) {
if (_root["aso#56196"]["dr" + aso#87533].hitTest(aso#81544)) {
_root["aso#56196"]["dr" + aso#87533]["aso#12881"] = _root["aso#56196"]["dr" + aso#87533]["aso#12881"] - (20 * aso#81544["aso#08284"]);
_root.aso#76947(aso#81544._x, aso#81544._y, 11);
_root.aso#76947(aso#81544._x, aso#81544._y, 0);
_root["aso#56196"]["pl" + pl]._visible = false;
a = Math.round(Math.random() * 4);
_root["aso#69566"][_root["aso#56196"]["dr" + aso#87533]["p" + a]] = _root["aso#69566"][_root["aso#56196"]["dr" + aso#87533]["p" + a]] + (aso#81544["aso#21654"] * aso#81544["aso#08284"]);
_root["aso#63577"][_root["aso#56196"]["dr" + aso#87533]["p" + a]] = _root["aso#63577"][_root["aso#56196"]["dr" + aso#87533]["p" + a]] + (aso#81544["aso#84328"] * aso#81544["aso#08284"]);
if (_root["aso#56196"]["dr" + aso#87533]["aso#12881"] <= 0) {
_root.stat_kills++;
_root["aso#56196"]["dr" + aso#87533].gotoAndPlay(4);
this.ActivateDrone();
}
}
}
}
}
aso#87533++;
}
}
pl++;
}
Set("aso#87533", 1);
while (aso#87533 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#87533]["aso#35024"] == true) {
if (_root["aso#56196"]["player" + aso#87533]["aso#12881"] > 0) {
_root["aso#56196"]["player" + aso#87533]._x = _root["aso#56196"]["player" + aso#87533]._x - aso#95885;
if (_root["aso#56196"]["player" + aso#87533].body.hitTest(_root["aso#56196"].jeep.carbody)) {
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = aso#95885;
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = -1;
_root.aso#17057((_root["aso#56196"]["player" + aso#87533]._x - 20) + (Math.random() * 40), _root["aso#56196"]["player" + aso#87533]._y - (Math.random() * 80), _root["aso#56196"]["player" + aso#87533]["aso#20262"], "fall");
_root.aso#17057((_root["aso#56196"]["player" + aso#87533]._x - 20) + (Math.random() * 40), _root["aso#56196"]["player" + aso#87533]._y - (Math.random() * 80), _root["aso#56196"]["player" + aso#87533]["aso#20262"], "fall");
_root["aso#56196"]["player" + aso#87533]["aso#15665"] = "body";
if (_root["aso#56196"]["player" + aso#87533]["aso#12881"] <= 100) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = -100;
} else {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = _root["aso#56196"]["player" + aso#87533]["aso#12881"] - 100;
_root["aso#56196"]["player" + aso#87533].gotoAndPlay("hurt");
}
}
}
}
aso#87533++;
}
Set("aso#33211", 0);
while (aso#33211 < _root.maxef) {
_root["aso#56196"]["p" + aso#33211]._x = _root["aso#56196"]["p" + aso#33211]._x - aso#95885;
aso#33211++;
}
a = 0;
while (a < _root["aso#54383"]) {
if ((_root["aso#45610"][a] == true) || (_root["aso#45610"][a] == false)) {
_root["aso#50207"][a] = _root["aso#50207"][a] - aso#95885;
}
a++;
}
Set("aso#06892", 0);
while (aso#06892 < _root["aso#00482"]) {
if (_root["aso#50207"][_root["aso#39621"][aso#06892]] > -900) {
_root["aso#13852"][aso#06892] = true;
_root["aso#79310"][aso#06892] = 0;
}
aso#06892++;
}
}
}
};
}
Symbol 765 MovieClip Frame 12
if (this._currentframe == 12) {
GO = true;
laseron = true;
this.colmap._visible = false;
_root["aso#56196"].player1.myi = -1;
Set("aso#87533", 1);
while (aso#87533 < _root.playerstot) {
_root["aso#56196"]["player" + aso#87533]["aso#29035"] = 1;
_root["aso#56196"]["player" + aso#87533]["aso#70958"] = 1;
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 0) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 200;
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533].w_upg3 = 2;
}
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 1) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 1600;
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(12);
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 5;
}
if (aso#87533 == 1) {
_root["aso#56196"]["player" + aso#87533]["aso#70958"] = 0;
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 500;
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(9);
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(13);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(8);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(8);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(8);
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 8;
_root["aso#56196"]["player" + aso#87533].w_upg3 = 1;
}
aso#87533++;
}
this.onEnterFrame = function () {
if (_root.gunpaused) {
if (_root["aso#56196"].player1["aso#12881"] <= 0) {
_root.loose = 1;
}
Set("aso#87533", 0);
while (aso#87533 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#87533]["aso#35024"] == true) {
if (_root["aso#56196"]["player" + aso#87533]["aso#12881"] > 0) {
if (laseron) {
if ((_root["aso#56196"]["player" + aso#87533].hitTest(this.kill_reg0) || (_root["aso#56196"]["player" + aso#87533].hitTest(this.kill_reg1))) || (_root["aso#56196"]["player" + aso#87533].hitTest(this.kill_reg2))) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = -100;
_root["aso#56196"]["player" + aso#87533]["aso#15665"] = "body";
_root.aso#17057((_root["aso#56196"]["player" + aso#87533]._x - 20) + (Math.random() * 40), _root["aso#56196"]["player" + aso#87533]._y, _root["aso#56196"]["player" + aso#87533]["aso#20262"], "shot_head", -4 + (Math.random() * 8), -4 + (Math.random() * 8));
}
}
}
}
aso#87533++;
}
Set("aso#87533", 0);
if (_root["aso#56196"]["player" + aso#87533].hitTest(_root["aso#56196"].speedup1) || (_root["aso#56196"]["player" + aso#87533].hitTest(_root["aso#56196"].speedup2))) {
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = _root["aso#56196"]["player" + aso#87533]["aso#75555"] - 2.5;
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = _root["aso#56196"]["player" + aso#87533]["aso#75555"] * 0.99;
}
Set("aso#87533", 1);
if (GO) {
if ((_root["aso#56196"]["player" + aso#87533].hunt == -1) || (_root["aso#56196"]["player" + aso#87533].botaction == 0)) {
if ((_root["aso#56196"].player0._y > 100) && (_root["aso#56196"]["player" + aso#87533]._y < 100)) {
_root["aso#56196"]["player" + aso#87533].botaction = 1;
} else {
if (_root["aso#56196"]["player" + aso#87533]._x < (_root["aso#56196"].player0._x - 100)) {
_root["aso#56196"]["player" + aso#87533].botaction = 1;
}
if (_root["aso#56196"]["player" + aso#87533]._x > (_root["aso#56196"].player0._x + 100)) {
_root["aso#56196"]["player" + aso#87533].botaction = 2;
}
}
if ((_root["aso#56196"]["player" + aso#87533].botaction == 1) || (_root["aso#56196"]["player" + aso#87533].botaction == 2)) {
if (_root["aso#56196"].colmap.hitTest(_root["aso#56196"]._x + _root["aso#56196"]["player" + aso#87533]._x, (_root["aso#56196"]._y + _root["aso#56196"]["player" + aso#87533]._y) + 20, true)) {
if (_root["aso#56196"].colmap.hitTest((_root["aso#56196"]._x + _root["aso#56196"]["player" + aso#87533]._x) + (((_root["aso#56196"]["player" + aso#87533].botaction - 1.5) * _root["aso#56196"]["player" + aso#87533]["aso#38229"]) * 15), (_root["aso#56196"]._y + _root["aso#56196"]["player" + aso#87533]._y) - 20, true) || (!_root["aso#56196"].colmap.hitTest((_root["aso#56196"]._x + _root["aso#56196"]["player" + aso#87533]._x) + (((_root["aso#56196"]["player" + aso#87533].botaction - 1.5) * _root["aso#56196"]["player" + aso#87533]["aso#38229"]) * 5), (_root["aso#56196"]._y + _root["aso#56196"]["player" + aso#87533]._y) + 100, true))) {
_root["aso#56196"]["player" + aso#87533].botaction = 3;
}
}
if (Math.abs(_root["aso#56196"]["player" + aso#87533]["aso#38229"]) < 3) {
if (Math.random() > 0.7) {
_root["aso#56196"]["player" + aso#87533].botaction = 3;
}
}
}
}
}
if (GO) {
if (_root["aso#56196"].player0.hitTest(_root["aso#56196"].but0)) {
GO = false;
}
} else if (_root["aso#56196"].player0.hitTest(_root["aso#56196"].but1)) {
GO = true;
_root["aso#56196"].but1.gotoAndStop(2);
laseron = false;
this.kill_reg0._visible = false;
this.kill_reg1._visible = false;
this.kill_reg2._visible = false;
_root["aso#56196"].player1["aso#12881"] = 5000;
}
}
};
}
Symbol 765 MovieClip Frame 13
if (this._currentframe == 13) {
_root["aso#56196"].player1.myi = -1;
this.colmap._visible = false;
GO = true;
_root["aso#56196"].speedup._visible = false;
_root["aso#56196"].speedup2._visible = false;
Set("aso#87533", 1);
while (aso#87533 < _root.playerstot) {
_root["aso#56196"]["player" + aso#87533]["aso#29035"] = 1;
_root["aso#56196"]["player" + aso#87533]["aso#70958"] = 1;
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 0) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 200;
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533].w_upg3 = 2;
}
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 1) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 1600;
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(12);
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 5;
}
if (aso#87533 == 1) {
_root["aso#56196"]["player" + aso#87533]["aso#70958"] = 0;
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 500;
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(9);
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(13);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(8);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(8);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(8);
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 8;
_root["aso#56196"]["player" + aso#87533].w_upg3 = 1;
}
aso#87533++;
}
this.onEnterFrame = function () {
if (_root.gunpaused) {
if (_root["aso#56196"].player1["aso#12881"] <= 0) {
_root.loose = 1;
}
Set("aso#87533", 0);
while (aso#87533 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#87533]["aso#35024"] == true) {
if (_root["aso#56196"]["player" + aso#87533]["aso#12881"] > 0) {
if ((_root["aso#56196"]["player" + aso#87533].hitTest(this.kill_reg0) || (_root["aso#56196"]["player" + aso#87533].hitTest(this.kill_reg1))) || (_root["aso#56196"]["player" + aso#87533].hitTest(this.kill_reg2))) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = -100;
_root["aso#56196"]["player" + aso#87533]["aso#15665"] = "body";
}
}
}
aso#87533++;
}
Set("aso#87533", 0);
while (aso#87533 < 2) {
if (_root["aso#56196"]["player" + aso#87533].hitTest(_root["aso#56196"].speedup2)) {
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = _root["aso#56196"]["player" + aso#87533]["aso#75555"] - 1.5;
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = _root["aso#56196"]["player" + aso#87533]["aso#75555"] * 0.99;
if (_root["aso#56196"]["player" + aso#87533].hitTest(_root["aso#56196"].speedup2)) {
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = Math.min(_root["aso#56196"]["player" + aso#87533]["aso#75555"], 1);
}
if (!stand) {
if (((Key.isDown(65) || (Key.isDown(37))) && (aso#87533 == 0)) || ((aso#87533 != 0) && (_root["aso#56196"]["player" + aso#87533].botaction == 2))) {
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = _root["aso#56196"]["player" + aso#87533]["aso#38229"] - 0.2;
}
if (((Key.isDown(68) || (Key.isDown(39))) && (aso#87533 == 0)) || ((aso#87533 != 0) && (_root["aso#56196"]["player" + aso#87533].botaction == 1))) {
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = _root["aso#56196"]["player" + aso#87533]["aso#38229"] + 0.2;
}
}
}
if (_root["aso#56196"]["player" + aso#87533].hitTest(_root["aso#56196"].speedup)) {
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = 0;
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = 0;
if (Key.isDown(38) || (Key.isDown(87))) {
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = -4;
}
if (Key.isDown(40) || (Key.isDown(83))) {
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = 4;
}
if ((Key.isDown(39) || (Key.isDown(32))) || (Key.isDown(68))) {
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = 6;
} else {
_root["aso#56196"]["player" + aso#87533]._x = _root["aso#56196"].speedup._x + 30;
}
}
aso#87533++;
}
Set("aso#87533", 1);
if (GO) {
if ((_root["aso#56196"]["player" + aso#87533].hunt == -1) || (_root["aso#56196"]["player" + aso#87533].botaction == 0)) {
if (_root["aso#56196"]["player" + aso#87533]._x < (_root["aso#56196"].player0._x - 100)) {
_root["aso#56196"]["player" + aso#87533].botaction = 1;
}
if (_root["aso#56196"]["player" + aso#87533]._x > (_root["aso#56196"].player0._x + 100)) {
_root["aso#56196"]["player" + aso#87533].botaction = 2;
}
if ((_root["aso#56196"]["player" + aso#87533].botaction == 1) || (_root["aso#56196"]["player" + aso#87533].botaction == 2)) {
if (_root["aso#56196"].colmap.hitTest(_root["aso#56196"]._x + _root["aso#56196"]["player" + aso#87533]._x, (_root["aso#56196"]._y + _root["aso#56196"]["player" + aso#87533]._y) + 20, true)) {
if (_root["aso#56196"].colmap.hitTest((_root["aso#56196"]._x + _root["aso#56196"]["player" + aso#87533]._x) + (((_root["aso#56196"]["player" + aso#87533].botaction - 1.5) * _root["aso#56196"]["player" + aso#87533]["aso#38229"]) * 15), (_root["aso#56196"]._y + _root["aso#56196"]["player" + aso#87533]._y) - 20, true) || (!_root["aso#56196"].colmap.hitTest((_root["aso#56196"]._x + _root["aso#56196"]["player" + aso#87533]._x) + (((_root["aso#56196"]["player" + aso#87533].botaction - 1.5) * _root["aso#56196"]["player" + aso#87533]["aso#38229"]) * 5), (_root["aso#56196"]._y + _root["aso#56196"]["player" + aso#87533]._y) + 100, true))) {
_root["aso#56196"]["player" + aso#87533].botaction = 3;
}
}
}
}
}
if (GO) {
if (_root["aso#56196"].player0.hitTest(_root["aso#56196"].but0)) {
GO = false;
}
} else {
if (_root["aso#56196"]["player" + aso#87533]._x < -100) {
_root["aso#56196"]["player" + aso#87533].botaction = 1;
}
if (_root["aso#56196"]["player" + aso#87533]._x > 100) {
_root["aso#56196"]["player" + aso#87533].botaction = 2;
}
}
if ((_root["aso#56196"]["player" + aso#87533].botaction == 1) || (_root["aso#56196"]["player" + aso#87533].botaction == 2)) {
if (_root["aso#56196"].colmap.hitTest(_root["aso#56196"]._x + _root["aso#56196"]["player" + aso#87533]._x, (_root["aso#56196"]._y + _root["aso#56196"]["player" + aso#87533]._y) + 20, true)) {
if (_root["aso#56196"].colmap.hitTest((_root["aso#56196"]._x + _root["aso#56196"]["player" + aso#87533]._x) + (((_root["aso#56196"]["player" + aso#87533].botaction - 1.5) * _root["aso#56196"]["player" + aso#87533]["aso#38229"]) * 15), (_root["aso#56196"]._y + _root["aso#56196"]["player" + aso#87533]._y) - 20, true) || (!_root["aso#56196"].colmap.hitTest((_root["aso#56196"]._x + _root["aso#56196"]["player" + aso#87533]._x) + (((_root["aso#56196"]["player" + aso#87533].botaction - 1.5) * _root["aso#56196"]["player" + aso#87533]["aso#38229"]) * 5), (_root["aso#56196"]._y + _root["aso#56196"]["player" + aso#87533]._y) + 100, true))) {
_root["aso#56196"]["player" + aso#87533].botaction = 3;
}
}
if (Math.abs(_root["aso#56196"]["player" + aso#87533]["aso#38229"]) < 3) {
if (Math.random() > 0.7) {
_root["aso#56196"]["player" + aso#87533].botaction = 3;
}
}
}
}
};
}
Symbol 765 MovieClip Frame 14
if (this._currentframe == 14) {
this.colmap._visible = false;
_root["aso#56196"].player0.myi = -1;
_root["aso#56196"].speedup._visible = false;
_root["aso#56196"].speedup2._visible = false;
Set("aso#87533", 0);
while (aso#87533 < _root.playerstot) {
if (aso#87533 != 0) {
_root["aso#56196"]["player" + aso#87533]["aso#29035"] = 1;
_root["aso#56196"]["player" + aso#87533]["aso#70958"] = 1;
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 0) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 200;
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533].w_upg3 = 2;
}
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 1) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 1600;
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(12);
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 5;
}
}
if (aso#87533 == 0) {
_root["aso#56196"]["player" + aso#87533]["aso#70958"] = 0;
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(9);
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(13);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(8);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(8);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(8);
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 8;
_root.playerhmax = 200;
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 200;
}
aso#87533++;
}
this.onEnterFrame = function () {
if (_root.gunpaused) {
Set("aso#87533", 0);
while (aso#87533 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#87533]["aso#35024"] == true) {
if (_root["aso#56196"]["player" + aso#87533]["aso#12881"] > 0) {
if ((_root["aso#56196"]["player" + aso#87533].hitTest(this.kill_reg0) || (_root["aso#56196"]["player" + aso#87533].hitTest(this.kill_reg1))) || (_root["aso#56196"]["player" + aso#87533].hitTest(this.kill_reg2))) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = -100;
_root["aso#56196"]["player" + aso#87533]["aso#15665"] = "body";
}
}
}
aso#87533++;
}
Set("aso#87533", 0);
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(9);
if (_root["aso#56196"]["player" + aso#87533].hitTest(_root["aso#56196"].speedup2)) {
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = _root["aso#56196"]["player" + aso#87533]["aso#38229"] + 1.5;
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = Math.max(_root["aso#56196"]["player" + aso#87533]["aso#38229"], 1);
}
if (_root["aso#56196"]["player" + aso#87533].hitTest(_root["aso#56196"].speedup1)) {
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = -70;
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = 0;
}
}
};
}
Symbol 765 MovieClip Frame 15
if (this._currentframe == 15) {
this.colmap._visible = false;
_root["aso#56196"].player0.myi = -1;
_root["aso#56196"].speedup._visible = false;
_root["aso#56196"].speedup2._visible = false;
Set("aso#87533", 0);
while (aso#87533 < _root.playerstot) {
if (aso#87533 != 0) {
_root["aso#56196"]["player" + aso#87533]["aso#29035"] = 1;
_root["aso#56196"]["player" + aso#87533]["aso#70958"] = 1;
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 0) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 200;
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533].w_upg3 = 2;
}
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 1) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 1600;
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(3);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(4);
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 5;
}
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 2) {
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(4);
}
}
if (aso#87533 == 0) {
_root["aso#56196"]["player" + aso#87533]["aso#70958"] = 0;
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(9);
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(13);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(8);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(8);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(8);
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 8;
_root.playerhmax = 600;
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 600;
}
aso#87533++;
}
this.onEnterFrame = function () {
if (_root.gunpaused) {
Set("aso#87533", 0);
while (aso#87533 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#87533]["aso#35024"] == true) {
if (_root["aso#56196"]["player" + aso#87533]["aso#12881"] > 0) {
if (_root["aso#56196"]["player" + aso#87533].hitTest(_root["aso#56196"].speedup1)) {
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = _root["aso#56196"]["player" + aso#87533]["aso#75555"] - 1.5;
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = Math.max(-10, Math.min(_root["aso#56196"]["player" + aso#87533]["aso#75555"], 10));
if (!stand) {
if (((Key.isDown(65) || (Key.isDown(37))) && (aso#87533 == 0)) || ((aso#87533 != 0) && (_root["aso#56196"]["player" + aso#87533].botaction == 2))) {
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = _root["aso#56196"]["player" + aso#87533]["aso#38229"] - 0.2;
}
if (((Key.isDown(68) || (Key.isDown(39))) && (aso#87533 == 0)) || ((aso#87533 != 0) && (_root["aso#56196"]["player" + aso#87533].botaction == 1))) {
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = _root["aso#56196"]["player" + aso#87533]["aso#38229"] + 0.2;
}
}
}
}
}
aso#87533++;
}
Set("aso#87533", 0);
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(9);
if (_root["aso#56196"]["player" + aso#87533].hitTest(_root["aso#56196"].speedup2)) {
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = _root["aso#56196"]["player" + aso#87533]["aso#75555"] - 1.5;
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = _root["aso#56196"]["player" + aso#87533]["aso#75555"] * 0.99;
if (!stand) {
if (((Key.isDown(65) || (Key.isDown(37))) && (aso#87533 == 0)) || ((aso#87533 != 0) && (_root["aso#56196"]["player" + aso#87533].botaction == 2))) {
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = _root["aso#56196"]["player" + aso#87533]["aso#38229"] - 0.2;
}
if (((Key.isDown(68) || (Key.isDown(39))) && (aso#87533 == 0)) || ((aso#87533 != 0) && (_root["aso#56196"]["player" + aso#87533].botaction == 1))) {
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = _root["aso#56196"]["player" + aso#87533]["aso#38229"] + 0.2;
}
}
}
if (Key.isDown(69)) {
if (_root["aso#56196"].player0.hitTest(this.but0)) {
if (_root["aso#56196"].player0["aso#12881"] > 0) {
this.but0.gotoAndStop(2);
this.speedup1._y = 85;
}
}
}
}
};
}
Symbol 765 MovieClip Frame 16
if (this._currentframe == 16) {
this.fmustdie = false;
this.bot.run = false;
this.bot.dead = false;
this.colmap._visible = false;
_root["aso#56196"].player1.myi = -1;
GO = false;
Set("aso#43797", false);
Set("aso#87533", 1);
while (aso#87533 < _root.playerstot) {
_root["aso#56196"]["player" + aso#87533]["aso#29035"] = 1;
if (_root["aso#56196"]["player" + aso#87533]["aso#20262"] == 2) {
if (((aso#87533 == 5) || (aso#87533 == 6)) || (aso#87533 == 7)) {
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(2);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(2);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(2);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(2);
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 9;
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = _root["aso#56196"]["player" + aso#87533]["aso#12881"] * 3;
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(5);
_root["aso#56196"]["player" + aso#87533].w_upg5 = 2;
}
}
if (aso#87533 == 1) {
_root["aso#56196"]["player" + aso#87533]["aso#70958"] = 0;
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = 500;
_root["aso#56196"]["player" + aso#87533]["aso#44218"].gotoAndStop(9);
_root["aso#56196"]["player" + aso#87533]["aso#14273"].gotoAndStop(13);
_root["aso#56196"]["player" + aso#87533].body.gotoAndStop(8);
_root["aso#56196"]["player" + aso#87533].arm1.gotoAndStop(8);
_root["aso#56196"]["player" + aso#87533].arm2.gotoAndStop(8);
_root["aso#56196"]["player" + aso#87533]["aso#47002"] = 8;
_root["aso#56196"]["player" + aso#87533].w_upg3 = 1;
}
aso#87533++;
}
this.onEnterFrame = function () {
if (_root.gunpaused) {
if ((_root["aso#56196"].player1["aso#12881"] <= 0) && (!this.fmustdie)) {
_root.loose = 1;
}
if ((_root["aso#56196"].player1["aso#12881"] <= 0) && (this.fmustdie)) {
_root["aso#56196"].player1.deadtime = 0;
}
Set("aso#87533", 0);
while (aso#87533 < _root.playerstot) {
if (_root["aso#56196"]["player" + aso#87533]["aso#35024"] == true) {
if (_root["aso#56196"]["player" + aso#87533]["aso#12881"] > 0) {
if ((_root["aso#56196"]["player" + aso#87533].hitTest(this.kill_reg0) || (_root["aso#56196"]["player" + aso#87533].hitTest(this.kill_reg1))) || (_root["aso#56196"]["player" + aso#87533].hitTest(this.kill_reg2))) {
_root["aso#56196"]["player" + aso#87533]["aso#12881"] = -100;
_root["aso#56196"]["player" + aso#87533]["aso#15665"] = "body";
}
}
}
aso#87533++;
}
Set("aso#87533", 0);
if (_root["aso#56196"]["player" + aso#87533].hitTest(_root["aso#56196"].speedup)) {
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = 0;
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = 0;
if (Key.isDown(38) || (Key.isDown(87))) {
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = -4;
}
if (Key.isDown(40) || (Key.isDown(83))) {
_root["aso#56196"]["player" + aso#87533]["aso#75555"] = 4;
}
if (Key.isDown(39) || (Key.isDown(32))) {
_root["aso#56196"]["player" + aso#87533]["aso#38229"] = 6;
} else {
_root["aso#56196"]["player" + aso#87533]._x = _root["aso#56196"].speedup._x + 30;
}
}
Set("aso#87533", 1);
if (GO) {
if ((_root["aso#56196"]["player" + aso#87533].hunt == -1) || (_root["aso#56196"]["player" + aso#87533].botaction == 0)) {
if (this.bot.run) {
_root["aso#56196"]["player" + aso#87533].botaction = 2;
} else {
if (_root["aso#56196"]["player" + aso#87533]._x < (_root["aso#56196"].player0._x - 100)) {
_root["aso#56196"]["player" + aso#87533].botaction = 1;
}
if (_root["aso#56196"]["player" + aso#87533]._x > (_root["aso#56196"].player0._x + 100)) {
_root["aso#56196"]["player" + aso#87533].botaction = 2;
}
if ((_root["aso#56196"]["player" + aso#87533].botaction == 1) || (_root["aso#56196"]["player" + aso#87533].botaction == 2)) {
if (_root["aso#56196"].colmap.hitTest(_root["aso#56196"]._x + _root["aso#56196"]["player" + aso#87533]._x, (_root["aso#56196"]._y + _root["aso#56196"]["player" + aso#87533]._y) + 20, true)) {
if (_root["aso#56196"].colmap.hitTest((_root["aso#56196"]._x + _root["aso#56196"]["player" + aso#87533]._x) + (((_root["aso#56196"]["player" + aso#87533].botaction - 1.5) * _root["aso#56196"]["player" + aso#87533]["aso#38229"]) * 15), (_root["aso#56196"]._y + _root["aso#56196"]["player" + aso#87533]._y) - 20, true) || (!_root["aso#56196"].colmap.hitTest((_root["aso#56196"]._x + _root["aso#56196"]["player" + aso#87533]._x) + (((_root["aso#56196"]["player" + aso#87533].botaction - 1.5) * _root["aso#56196"]["player" + aso#87533]["aso#38229"]) * 5), (_root["aso#56196"]._y + _root["aso#56196"]["player" + aso#87533]._y) + 100, true))) {
_root["aso#56196"]["player" + aso#87533].botaction = 3;
}
}
}
}
}
}
if (!GO) {
if (_root["aso#56196"].player0.hitTest(_root["aso#56196"].but0)) {
GO = true;
}
}
if (_root["aso#56196"].player0.hitTest(_root["aso#56196"].but1)) {
_root["aso#56196"].but1.gotoAndStop(2);
}
if (this.fmustdie) {
if (_root["aso#56196"].player1["aso#12881"] > -100) {
if (_root["aso#56196"].player1.hitTest(_root["aso#56196"].but4)) {
if (_root["aso#56196"].player0.hitTest(_root["aso#56196"].but4)) {
_root["aso#56196"].end._x = _root["aso#56196"].player0._x;
_root["aso#56196"].end._y = _root["aso#56196"].player0._y;
}
}
if (Math.random() > 0.95) {
_root["aso#45610"][_root["aso#56196"].player1["aso#59951"]] = 1;
_root["aso#63577"][_root["aso#56196"].player1["aso#59951"]] = _root["aso#63577"][_root["aso#56196"].player1["aso#59951"]] - 6;
_root["aso#45610"][_root["aso#56196"].player1["aso#16636"]] = 1;
_root["aso#63577"][_root["aso#56196"].player1["aso#16636"]] = _root["aso#63577"][_root["aso#56196"].player1["aso#16636"]] + 6;
_root["aso#32240"][_root["aso#56196"].player1["aso#16636"]] = _root["aso#32240"][_root["aso#56196"].player1["aso#16636"]] + 2;
}
if (Math.random() > 0.5) {
_root["aso#45610"][_root["aso#56196"].player1.a_stand3] = 1;
_root["aso#63577"][_root["aso#56196"].player1.a_stand3] = _root["aso#63577"][_root["aso#56196"].player1.a_stand3] - (Math.random() * 2);
}
} else {
this.fmustdie = false;
_root["aso#56196"].player1.sou.gotoAndStop(35);
}
_root.aso#19841("Take an ally to ship with you");
}
if (!this.bot.run) {
if (_root["aso#56196"].player0["aso#12881"] > 0) {
if (_root["aso#56196"].player0.hitTest(_root["aso#56196"].but3)) {
this.bot.run = true;
_root["aso#56196"].player1.sou.gotoAndStop(40);
}
}
} else {
if (_root["aso#56196"].player0["aso#12881"] > 0) {
if ((this.bot._x + 300) > _root["aso#56196"].player0) {
_root["aso#56196"].player0 = this.bot._x + 300;
}
}
if (_root["aso#56196"].player1["aso#12881"] > 0) {
if ((this.bot._x + 300) > _root["aso#56196"].player1) {
_root["aso#56196"].player1 = this.bot._x + 300;
}
}
if ((this.bot._currentframe >= 20) && (this.bot._currentframe < 50)) {
this.bot._x = this.bot._x + 3;
if (!aso#43797) {
if (((this.bot._x + 300) > -150) && ((this.bot._x + 300) < -100)) {
this.bot._x = this.bot._x - 3;
}
}
if ((this.bot._x + 300) > 598) {
this.bot._x = this.bot._x - 3;
}
}
if ((this.bot._currentframe >= 55) && (this.bot._currentframe < 70)) {
trace(11);
if (_root["aso#56196"].player0["aso#12881"] > 0) {
if (this.bot.arm1.hitTest(_root["aso#56196"].player0)) {
trace(22);
_root["aso#56196"].player0["aso#38229"] = _root["aso#56196"].player0["aso#38229"] + 10;
_root["aso#56196"].player0["aso#75555"] = _root["aso#56196"].player0["aso#75555"] - 15;
_root["aso#56196"].player0["aso#12881"] = -200;
this.bot.run = false;
_root["aso#56196"].player0["aso#15665"] = "body";
_root.aso#17057((_root["aso#56196"].player0._x - 20) + (Math.random() * 40), (_root["aso#56196"].player0._y - 20) + (Math.random() * 40), _root["aso#56196"].player0["aso#20262"], "shot_head", -4 + (Math.random() * 8), -4 + (Math.random() * 8));
}
}
if (_root["aso#56196"].player1["aso#12881"] > 0) {
if (this.bot.arm1.hitTest(_root["aso#56196"].player1)) {
_root["aso#56196"].player1["aso#38229"] = _root["aso#56196"].player1["aso#38229"] + 30;
_root["aso#56196"].player1["aso#75555"] = _root["aso#56196"].player1["aso#75555"] - 15;
_root["aso#56196"].player1["aso#12881"] = 0;
_root["aso#56196"].player1["aso#15665"] = "none";
_root.aso#17057((_root["aso#56196"].player1._x - 20) + (Math.random() * 40), (_root["aso#56196"].player1._y - 20) + (Math.random() * 40), _root["aso#56196"].player1["aso#20262"], "shot_head", -4 + (Math.random() * 8), -4 + (Math.random() * 8));
this.fmustdie = true;
}
}
}
pl = 0;
while (pl < _root.pulsmax) {
if (_root["aso#56196"]["pl" + pl]._visible == true) {
Set("aso#81544", _root["aso#56196"]["pl" + pl]);
if (this.bot.hitTest(aso#81544._x + _root["aso#56196"]._x, aso#81544._y + _root["aso#56196"]._y, true)) {
_root.aso#76947(aso#81544._x, aso#81544._y, 0);
_root.aso#76947(aso#81544._x, aso#81544._y, 11);
_root["aso#56196"]["pl" + pl]._visible = false;
}
}
pl++;
}
}
if (Key.isDown(69)) {
if (_root["aso#56196"].player0.hitTest(this.but2) && (_root["aso#56196"].player0["aso#12881"] > 0)) {
if (this.door1._currentframe == 30) {
Set("aso#43797", false);
this.but2.gotoAndStop(1);
}
if (((this.door1._currentframe == 1) || (this.door1._currentframe == 60)) || (this.door1._currentframe == 95)) {
Set("aso#43797", true);
this.but2.gotoAndStop(2);
}
trace(this.door1._currentframe);
trace(aso#43797);
}
}
if (aso#43797) {
if (this.colmap.box32._yscale > 0) {
if (((this.door1._currentframe == 1) || (this.door1._currentframe == 60)) || (this.door1._currentframe == 95)) {
this.colmap.box32._yscale = 0;
this.door1.gotoAndPlay(2);
}
}
} else if (this.colmap.box32._yscale == 0) {
if (this.door1._currentframe == 30) {
this.colmap.box32._yscale = 301;
this.door1.gotoAndPlay(31);
if (((this.bot._x + 300) >= -100) && ((this.bot._x + 300) < 0)) {
if (!this.bot.dead) {
this.bot.gotoAndPlay("die");
}
this.bot.dead = true;
this.door1.gotoAndPlay(65);
} else {
this.door1.gotoAndPlay(31);
}
}
}
}
};
}
Symbol 765 MovieClip Frame 17
if (this._currentframe == 15) {
_root.gotoAndStop(13);
}
Symbol 770 Button
on (release) {
if (Key.isDown(17)) {
if (my_so.data.low_q) {
my_so.data.low_q = false;
_root._quality = "MEDIUM";
} else {
my_so.data.low_q = true;
_root._quality = "LOW";
}
} else {
_root.aso#19841("<font color=\"#FFFF00\">Hold CTRL when You press this button</font>");
}
}
Symbol 780 Button
on (release) {
if (Key.isDown(17) || (_root["aso#56196"].player0["aso#12881"] <= 0)) {
_root.stpsnds();
_root.gotoAndStop(5);
_root.gotoAndStop(3);
} else {
_root.aso#19841("<font color=\"#FFFF00\">Hold CTRL when You press this button</font>");
}
}
Symbol 782 Button
on (release) {
if (Key.isDown(17) || (_root["aso#56196"].player0["aso#12881"] <= 0)) {
_root.stpsnds();
_root.gotoAndStop(2);
} else {
_root.aso#19841("<font color=\"#FFFF00\">Hold CTRL when You press this button</font>");
}
}
Symbol 795 MovieClip Frame 1
this.gotoAndStop(1);
Symbol 795 MovieClip Frame 2
_root.aso#19841("You picked a pistol");
this.gotoAndStop(1);
Symbol 795 MovieClip Frame 3
_root.aso#19841("You picked a rifle");
this.gotoAndStop(1);
Symbol 795 MovieClip Frame 4
_root.aso#19841("You picked a shot-gun");
this.gotoAndStop(1);
Symbol 795 MovieClip Frame 5
_root.aso#19841("You picked a rocket launcher");
this.gotoAndStop(1);
Symbol 795 MovieClip Frame 6
_root.aso#19841("You picked a plasma cannon");
this.gotoAndStop(1);
Symbol 807 Button
on (release) {
if (Key.isDown(17)) {
if (my_so.data.low_q) {
my_so.data.low_q = false;
_root._quality = "MEDIUM";
} else {
my_so.data.low_q = true;
_root._quality = "LOW";
}
} else {
_root.aso#19841("<font color=\"#FFFF00\">Hold CTRL when You press this button</font>");
}
}
Symbol 813 Button
on (release) {
if (Key.isDown(17) || (_root["aso#56196"].player0["aso#12881"] <= 0)) {
getURL ("http://www.coolbuddy.com/?cid=166", "_blank");
} else {
_root.aso#19841("<font color=\"#FFFF00\">Hold CTRL when You press this button</font>");
}
}
Symbol 816 Button
on (release) {
_root["aso#75134"] = _root["aso#75134"] + 1;
if (my_so.data.lastlevel < _root["aso#75134"]) {
my_so.data.lastlevel = _root["aso#75134"];
}
_root.gotoAndStop(14);
}
Symbol 819 Button
on (release) {
_root.fromshop = 4;
_root.gotoAndStop(9);
}
Symbol 821 Button
on (release) {
_root["aso#75134"] = _root["aso#75134"] + 1;
if (my_so.data.lastlevel < _root["aso#75134"]) {
my_so.data.lastlevel = _root["aso#75134"];
}
_root.gotoAndStop(2);
}
Symbol 823 Button
on (release) {
_root.gotoAndStop(3);
}
Symbol 825 Button
on (release) {
_root.fromshop = 5;
_root.gotoAndStop(9);
}
Symbol 827 Button
on (release) {
_root.gotoAndStop(2);
}
Symbol 829 Button
on (release) {
_root.gotoAndStop(2);
}
Symbol 858 Button
on (release) {
my_so.clear();
_root.gotoAndStop(1);
}
Symbol 860 Button
on (release) {
_root.gotoAndStop(_root.fromshop);
}
Symbol 878 MovieClip Frame 40
this.gotoAndPlay(20);
Symbol 881 Button
on (release) {
_root.main_music_credits.stop();
_root.main_music_credits.start((_root.main_music_credits.duration / 1000) - 1, 1);
_root.gotoAndStop(2);
}
Symbol 883 Button
on (release) {
if ((((_root.nick.text != "Your Name Here") && (_root.nick.text != "Your Name Here!")) && (_root.nick.text != "Your Name Here!!")) && (_root.nick.text != "Your Name Here!!!")) {
_root["aso#85299"] = _root.nick.text;
my_so.data.myname = _root["aso#85299"];
_root.gotoAndStop(2);
} else if (_root.nick.text == "Your Name Here") {
_root.nick.text = "Your Name Here!";
} else if (_root.nick.text == "Your Name Here!") {
_root.nick.text = "Your Name Here!!";
} else if (_root.nick.text == "Your Name Here!!") {
_root.nick.text = "Your Name Here!!!";
} else if (_root.nick.text == "Your Name Here!!!") {
rn = Math.floor(Math.random() * 7.999);
if (rn == 0) {
_root.nick.text = "I forgot...";
}
if (rn == 1) {
_root.nick.text = "I do not remember";
}
if (rn == 2) {
_root.nick.text = "unknown";
}
if (rn == 3) {
_root.nick.text = "Anonymous";
}
if (rn == 4) {
_root.nick.text = "Mr. Cyborg";
}
if (rn == 5) {
_root.nick.text = "victim";
}
if (rn == 6) {
_root.nick.text = "assassin";
}
if (rn == 7) {
_root.nick.text = "The chosen one";
}
}
}
Symbol 887 Button
on (release) {
my_so.data.opt_bot = 1;
_root.gotoAndStop(14);
}
Symbol 889 Button
on (release) {
my_so.data.opt_bot = 2;
_root.gotoAndStop(14);
}
Symbol 891 Button
on (release) {
my_so.data.opt_bot = 3;
_root.gotoAndStop(14);
}
Symbol 892 Button
on (release) {
_root.gotoAndStop(8);
}
Symbol 921 MovieClip Frame 140
this.stop();
Symbol 926 MovieClip Frame 21
this.stop();
Symbol 930 MovieClip Frame 21
this.stop();
Symbol 934 MovieClip Frame 21
this.stop();
Symbol 938 MovieClip Frame 21
this.stop();
Symbol 942 MovieClip Frame 21
this.stop();
Symbol 953 MovieClip Frame 380
this.stop();
Symbol 966 MovieClip Frame 231
this.stop();
Symbol 967 MovieClip Frame 1
this.stop();
Symbol 967 MovieClip Frame 2
_root.gotoAndStop(3);
Symbol 967 MovieClip Frame 3
_root.gotoAndStop(3);
Symbol 967 MovieClip Frame 4
_root.gotoAndStop(3);
Symbol 967 MovieClip Frame 5
_root.gotoAndStop(3);
Symbol 967 MovieClip Frame 6
_root.gotoAndStop(3);
Symbol 967 MovieClip Frame 7
_root.gotoAndStop(3);
Symbol 967 MovieClip Frame 8
_root.gotoAndStop(3);
Symbol 967 MovieClip Frame 9
_root.gotoAndStop(3);
Symbol 967 MovieClip Frame 10
_root.gotoAndStop(3);
Symbol 967 MovieClip Frame 15
_root.gotoAndStop(3);
Symbol 967 MovieClip Frame 18
_root.gotoAndStop(3);
Symbol 967 MovieClip Frame 19
_root.gotoAndStop(3);
Symbol 967 MovieClip Frame 20
_root.gotoAndStop(3);
Symbol 969 Button
on (press) {
getURL ("http://www.coolbuddy.com/?cid=166", "_blank");
}
Symbol 979 MovieClip Frame 463
_root.gotoAndStop(11);