Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("bd45b532", this, 10301, true);
function playAgain() {
_root.gotoAndStop("gamestart");
}
stop();
System.security.allowDomain("shockwave.com", "intranet.shockwave.com", "gameblast.shockwave.com", "www.shockwave.com", "dev.shockwave.com", "stage.shockwave.com", "agstage.shockwave.com");
_level0.swHighScoreObject = new Object();
_level0.swHighScoreObject.showTab = "view";
_level0.swHighScoreObject.gameId = "commandostrike";
_level0.swHighScoreObject.gameTitle = "Commando Strike";
_level0.swHighScoreObject.screenWidth = 750;
_level0.swHighScoreObject.screenHeight = 500;
_level0.swHighScoreObject.scoreDescriptor = "points";
_level0.swHighScoreObject.numPlayers = 1;
_level0.swHighScoreObject.player1Score = dollar_all;
_level0.swHighScoreObject.player2Score = 0;
_level0.swHighScoreObject.player3Score = 0;
_level0.swHighScoreObject.player4Score = 0;
_level0.HSHubURL = "http://www.shockwave.com/content/highscores/scorez-2002.swf";
gotoAndStop (1);
Frame 2
stop();
var Iso = SharedObject.getLocal("hind");
trace("iso=" + _root.Iso.data.userId);
score_you.text = _root.Iso.data.userId;
if (Iso.data.userId == undefined) {
trace("ofer");
score_you.text = 0;
}
Frame 3
var music = new Sound();
music.attachSound("flash");
music.stop();
stop();
var life_num = 40;
Mouse.show();
level = 0;
dollar_num = 0;
i = 0;
while (i < 10000) {
clearInterval(i);
i++;
}
var i = 0;
while (i < pac_shoot_ar.length) {
clearInterval(pac_shoot_ar[i]);
i++;
}
var i = 0;
while (i < enem_shoot_ar.length) {
clearInterval(enem_shoot_ar[i]);
i++;
}
var i = 0;
while (i < bbb.length) {
clearInterval(bbb[i]);
i++;
}
var i = 0;
while (i < fade_inter_ar.length) {
clearInterval(fade_inter_ar[i]);
i++;
}
var i = 0;
while (i < enem_fall_ar.length) {
clearInterval(enem_fall_ar[i]);
i++;
}
var i = 0;
while (i < blood_inter_ar.length) {
clearInterval(blood_inter_ar[i]);
i++;
}
var i = 0;
while (i < when_shoot_ar.length) {
clearInterval(when_shoot_ar[i]);
i++;
}
var i = 0;
while (i < enemy_fly_ar.length) {
clearInterval(enemy_fly_ar[i]);
i++;
}
var i = 0;
while (i < re_ar.length) {
clearInterval(re_ar[i]);
i++;
}
var i = 0;
while (i < para_ar.length) {
clearInterval(para_ar[i]);
i++;
}
i = 0;
while (i < auto_ar.length) {
clearInterval(auto_ar[i]);
i++;
}
clearInterval(inter_mouse);
clearInterval(time_in);
var i = 0;
while (i < pac_shoot.length) {
removeMovieClip(pac_shoot[i]);
i++;
}
var i = 0;
while (i < enem_shoot.length) {
removeMovieClip(enem_shoot[i]);
i++;
}
var i = 0;
while (i < enem_ar.length) {
removeMovieClip(enem_ar[i]);
i++;
}
var i = 0;
while (i < gun_ar.length) {
removeMovieClip(gun_ar[i]);
i++;
}
var i = 0;
while (i < addons_ar.length) {
removeMovieClip(addons_ar[i]);
i++;
}
var i = 0;
while (i < blood_ar.length) {
removeMovieClip(blood_ar[i]);
i++;
}
var i = 0;
while (i < explode_ar.length) {
removeMovieClip(explode_ar[i]);
i++;
}
var i = 0;
while (i < vest_ar.length) {
removeMovieClip(vest_ar[i]);
i++;
}
var i = 0;
while (i < impact_ar.length) {
removeMovieClip(impact_ar[i]);
i++;
}
var i = 0;
while (i < para_ar.length) {
removeMovieClip(para_ar[i]);
i++;
}
var i = 0;
while (i < ammo_ar.length) {
removeMovieClip(ammo_ar[i]);
i++;
}
var Iso = SharedObject.getLocal("hind");
trace("iso=" + _root.Iso.data.userId);
score_you.text = _root.Iso.data.userId;
level_txt.text = _root.Iso.data.level;
if (Iso.data.userId == undefined) {
trace("ofer");
score_you.text = 0;
level_txt.text = 1;
}
dollar = 0;
dollar_all = 0;
ammo = 60;
ammo1 = 99;
ammo2 = 38;
greande = 3;
mine = 2;
gunof4 = 9;
gunof3 = 6;
gunof2 = 10;
gunof1 = 1;
playerframe = 1;
if (musicon < 2) {
musicon = 2;
}
box1.gotoAndPlay(2);
ball2.body.gotoAndPlay(2);
head_pl2.gotoAndPlay(2);
ball3.body.gotoAndPlay(3);
head_pl3.gotoAndPlay(3);
ball4.body.gotoAndPlay(4);
head_pl4.gotoAndPlay(4);
ball5.body.gotoAndPlay(5);
head_pl5.gotoAndPlay(5);
ball6.body.gotoAndPlay(6);
head_pl6.gotoAndPlay(6);
ball7.body.gotoAndPlay(7);
head_pl7.gotoAndPlay(7);
ball8.body.gotoAndPlay(8);
head_pl8.gotoAndPlay(8);
ball9.body.gotoAndPlay(9);
head_pl9.gotoAndPlay(9);
ball10.body.gotoAndPlay(10);
head_pl10.gotoAndPlay(10);
ball11.body.gotoAndPlay(11);
head_pl11.gotoAndPlay(11);
ball12.body.gotoAndPlay(12);
head_pl12.gotoAndPlay(12);
var myColorTransform2 = {ra:0, ga:0, ba:0, aa:100};
if ((_root.Iso.data.userId < 15000) || (_root.Iso.data.userId == null)) {
var my_color2 = new Color(ball5);
my_color2.setTransform(myColorTransform2);
var my_color2 = new Color(head_pl5);
my_color2.setTransform(myColorTransform2);
}
if ((_root.Iso.data.userId < 27000) || (_root.Iso.data.userId == null)) {
var my_color3 = new Color(ball6);
my_color3.setTransform(myColorTransform2);
var my_color2 = new Color(head_pl6);
my_color2.setTransform(myColorTransform2);
}
if ((_root.Iso.data.level < 9) || (_root.Iso.data.userId == null)) {
var my_color3 = new Color(ball7);
my_color3.setTransform(myColorTransform2);
var my_color2 = new Color(head_pl7);
my_color2.setTransform(myColorTransform2);
}
if ((_root.Iso.data.userId < 22000) || (_root.Iso.data.userId == null)) {
my_color3.setTransform(myColorTransform2);
my_color2.setTransform(myColorTransform2);
}
if ((_root.Iso.data.userId < 21000) || (_root.Iso.data.userId == null)) {
my_color3.setTransform(myColorTransform2);
my_color2.setTransform(myColorTransform2);
}
if ((_root.Iso.data.userId < 31000) || (_root.Iso.data.userId == null)) {
var my_color3 = new Color(ball10);
my_color3.setTransform(myColorTransform2);
var my_color2 = new Color(head_pl10);
my_color2.setTransform(myColorTransform2);
}
if ((_root.Iso.data.userId < 35000) || (_root.Iso.data.userId == null)) {
var my_color3 = new Color(ball11);
my_color3.setTransform(myColorTransform2);
var my_color2 = new Color(head_pl11);
my_color2.setTransform(myColorTransform2);
}
if ((_root.Iso.data.userId < 40000) || (_root.Iso.data.userId == null)) {
var my_color3 = new Color(ball12);
my_color3.setTransform(myColorTransform2);
var my_color2 = new Color(head_pl12);
my_color2.setTransform(myColorTransform2);
}
if (_root.soundon == 1) {
_root.effect_txt.text = "sound:OFF";
}
Instance of Symbol 417 MovieClip in Frame 3
on (release) {
if (_root.musicon == 1) {
_root.musicon = 2;
_root.music_txt.text = "music:OFF";
} else if (_root.musicon != 1) {
_root.musicon = 1;
_root.music_txt.text = "music:ON";
}
}
Instance of Symbol 417 MovieClip in Frame 3
on (release) {
if (_root.soundon == 1) {
_root.soundon = 2;
_root.effect_txt.text = "sound:ON";
} else if (_root.soundon != 1) {
_root.soundon = 1;
_root.effect_txt.text = "sound:OFF";
}
}
Instance of Symbol 417 MovieClip in Frame 3
on (release) {
_root.gotoAndPlay("help");
}
Frame 4
function timeof() {
sec1++;
clock.text = sec1;
if (sec1 >= 60) {
sec1 = 0;
min1++;
clock.text = sec1;
clock_min.text = min1;
}
if (((min1 == 2) && (enemy_numb <= 0)) && (level == 1)) {
gotoAndStop ("store");
}
if (((((((sec1 == 5) || (sec1 == 20)) || (sec1 == 45)) || (sec1 == 55)) && (enemy_numb < 3)) && (min1 < realmin)) && (level == 1)) {
addenemy_pos("enemy", 700, 450, "en_mp5sk", "hat", "vest", "left", 4, 3, "", 7, 5, 1.3);
}
if (((((((sec1 == 20) || (sec1 == 10)) || (sec1 == 15)) || (sec1 == 40)) && (enemy_numb < 4)) && (min1 < realmin)) && (level == 1)) {
addenemy_pos("enemy", -100, 450, "pistol", "hat", "vest", "right", 1, 1, 5, "", "", 1.3);
}
if (((((((sec1 == 5) || (sec1 == 20)) || (sec1 == 45)) || (sec1 == 55)) && (enemy_numb < 3)) && (min1 < realmin)) && (level == 2)) {
addenemy_pos("enemy", 700, 450, "en_uzi", "hat", "vest", "left", 4, 3, "", "", 5, 1.3);
addenemy_pos("enemy", -100, 450, "pistol", "hat", "vest", "right", 1, 1, 4, 3, 4, 1.5);
}
if ((((((sec1 == 30) || (sec1 == 10)) || (sec1 == 15)) && (enemy_numb < 4)) && (min1 < realmin)) && (level == 2)) {
addenemy_pos("enemy", 700, 450, "en_M1", "hat", "vest", "right", 1, 1, 5, "", "", 1.3);
}
if ((level == 3) && (min1 < realmin)) {
if ((((((sec1 == 5) || (sec1 == 10)) || (sec1 == 20)) || (sec1 == 30)) || (sec1 == 45)) && (enemy_numb < 3)) {
addenemy_pos("enemy", 600, 450, "en_mp5sk", "hat", "vest", "left", 1, 1, "", "", 5, 1.5);
addenemy_pos("enemy", 700, 450, "pistol", "hat", "vest", "right", 1, 1, 5, "", 5, 1.5);
}
if ((((sec1 == 15) || (sec1 == 35)) || (sec1 == 50)) && (enemy_numb < 4)) {
addenemy_pos("enemy", -100, 450, "en_ak47", "hat", "vest", "right", 5, 5, 4, 2, 4, 1.4);
}
}
if ((level == 4) && (min1 < realmin)) {
if ((((((sec1 == 5) || (sec1 == 10)) || (sec1 == 20)) || (sec1 == 30)) || (sec1 == 45)) && (enemy_numb < 3)) {
addenemy_pos("enemy", 700, 450, "en_ak47", "hat", "vest", "left", 8, 3, "", 9, 6, 1.6);
addenemy_pos("enemy", 750, 450, "pistol", "hat", "vest", "right", 1, 1, 5, "", "", 1.6);
}
if ((((sec1 == 15) || (sec1 == 35)) || (sec1 == 50)) && (enemy_numb < 3)) {
addenemy_pos("enemy", -100, 450, "en_m16", "hat", "vest", "right", 1, 3, "", 9, 5, 1.6);
}
if ((sec1 == 30) && (min1 == 0)) {
addenemy_pos("enemy", -100, 420, "en_tank", "hat", "tank", "right", 5, 5, 4, 2, 6, 2);
}
}
if ((level == 5) && (min1 < realmin)) {
if ((((sec1 == 5) || (sec1 == 10)) || (sec1 == 30)) && (enemy_numb < 3)) {
addenemy_pos("enemy", 700, 450, "en_uzi", "hat", "vest", "left", 14, 1, "", "", 6, 1.8);
addenemy_pos("enemy", 750, 450, "en_rpg", "hat", "vest", "right", 14, 1, 5, "", "", 1.8);
}
if ((((sec1 == 15) || (sec1 == 35)) || (sec1 == 50)) && (enemy_numb < 3)) {
addenemy_pos("enemy", -100, 450, "en_ak47", "hat", "vest", "right", 14, 1, 4, "", 5, 1.8);
}
if (((sec1 == 1) && (min1 == 0)) && (enemy_numb < 3)) {
addenemy_pos("enemy", 750, 80, "en_hind", "", "hind", "right", 5, 5, 4, 2, 6);
}
if (((sec1 == 25) || (sec1 == 45)) && (enemy_numb < 1)) {
addenemy_pos("enemy", 100 + place, 0, "en_pk90", "hat", "vest", "para", 14, 1);
}
if (((sec1 == 25) || (sec1 == 45)) && (enemy_numb < 3)) {
addenemy_pos("enemy", 750, 450, "en_mp5_n", "hat", "vest", "right", 14, 1, 5, "", "", 1.8);
}
}
if ((level == 6) && (min1 < realmin)) {
if ((((((sec1 == 5) || (sec1 == 10)) || (sec1 == 20)) || (sec1 == 30)) || (sec1 == 45)) && (enemy_numb < 3)) {
addenemy_pos("enemy", 700, 450, "en_aug", "hat", "vest", "left", 1, 1, "", 7, 6, 1.6);
addenemy_pos("enemy", 750, 450, "en_p90", "hat", "vest", "right", 1, 4, 7, 7, 5, 1.6);
}
if ((((sec1 == 15) || (sec1 == 35)) || (sec1 == 50)) && (enemy_numb < 3)) {
addenemy_pos("enemy", -100, 450, "en_law", "hat", "vest", "right", 1, 2, 7, 7, 5, 1.8);
addenemy_pos("enemy", 750, 450, "en_g36", "hat", "vest", "right", 1, 4, "", 7, 5, 1.8);
}
if ((sec1 == 40) && (min1 < 2)) {
addenemy_pos("enemy", -100, 420, "en_tank", "hat", "tank", "right", 5, 5, 4, 7, 6, 2);
}
}
if ((level == 7) && (min1 < realmin)) {
if ((((((sec1 == 5) || (sec1 == 10)) || (sec1 == 20)) || (sec1 == 30)) || (sec1 == 45)) && (enemy_numb < 3)) {
addenemy_pos("enemy", 700, 450, "en_m16", "hat", "vest", "left", 5, 1, "", 3, 6, 1.7);
addenemy_pos("enemy", 750, 450, "en_mp5_n", "hat", "vest", "right", 5, 1, 5, 3, "", 1.7);
}
if ((((sec1 == 15) || (sec1 == 35)) || (sec1 == 50)) && (enemy_numb < 3)) {
addenemy_pos("enemy", -100, 450, "en_m5", "hat", "vest", "right", 3, 1, "", 3, 5, 1.7);
}
if ((sec1 == 40) && (min1 < 2)) {
addenemy_pos("enemy", 750, 80, "en_hind", "", "hind", "right", 5, 5, 4, 2, 6);
addenemy_pos("enemy", 100 + place, 0, "en_law", "hat", "vest", "para", 1, 1, "", 3);
}
}
if ((level == 8) && (min1 < realmin)) {
if ((((((sec1 == 5) || (sec1 == 10)) || (sec1 == 20)) || (sec1 == 30)) || (sec1 == 45)) && (enemy_numb < 3)) {
addenemy_pos("enemy", 700, 450, "en_m4", "hat", "vest", "left", 10, 6, "", 8, 6, 1.8);
addenemy_pos("enemy", 750, 450, "en_AT", "hat", "vest", "right", 10, 6, 5, 8, "", 1.8);
}
if ((((sec1 == 15) || (sec1 == 35)) || (sec1 == 50)) && (enemy_numb < 3)) {
addenemy_pos("enemy", 340 + placeun, 0, "en_commando", "hat", "vest", "para", 15, 7, "", 8, 5, 1.8);
}
if ((sec1 == 40) && (min1 < 2)) {
addenemy_pos("enemy", -100, 420, "en_tank", "hat", "tank", "right", 10, 5, 4, 2, 6, 2);
addenemy_pos("enemy", 100 + place, 0, "en_mag", "hat", "vest", "para", 6, 7, "", 8);
}
}
if ((level == 9) && (min1 < realmin)) {
if ((((((sec1 == 5) || (sec1 == 10)) || (sec1 == 20)) || (sec1 == 30)) || (sec1 == 45)) && (enemy_numb < 3)) {
addenemy_pos("enemy", 700, 450, "en_m60", "hat", "vest", "left", 10, 6, "", 8, 6, 1.8);
addenemy_pos("enemy", 750, 450, "en_aksu", "hat", "vest", "right", 10, 6, 5, 7, "", 1.5);
}
if ((((sec1 == 15) || (sec1 == 35)) || (sec1 == 50)) && (enemy_numb < 3)) {
addenemy_pos("enemy", 340 + placeun, 0, "en_mp5sd", "hat", "vest", "para", 12, 6, "", 7, 5, 1.8);
addenemy_pos("enemy", 100 + place, 0, "en_AT_auto", "hat", "vest", "para", 1, 7, "", 8);
}
if ((sec1 == 40) && (min1 < 2)) {
addenemy_pos("enemy", -100, 420, "en_tank", "hat", "tank", "right", 1, 5, 4, 2, 6, 2);
}
}
if ((level == 10) && (min1 < realmin)) {
if ((((((sec1 == 5) || (sec1 == 10)) || (sec1 == 20)) || (sec1 == 30)) || (sec1 == 45)) && (enemy_numb < 3)) {
addenemy_pos("enemy", 700, 450, "en_m4", "hat", "vest", "left", 13, 1, 8, 10, 7, 1.8);
addenemy_pos("enemy", 750, 450, "en_shotgun_a", "hat", "vest", "right", 13, 1, 8, 10, "", 2);
}
if ((((sec1 == 15) || (sec1 == 35)) || (sec1 == 50)) && (enemy_numb < 3)) {
addenemy_pos("enemy", -100, 450, "en_mag", "hat", "vest", "right", 1, 1, 8, 10, 7, 1.6);
addenemy_pos("enemy", 100 + place, 0, "en_AT_auto", "hat", "vest", "para", 1, 7, 8, 10, 7);
}
if ((sec1 == 40) && (min1 < 2)) {
addenemy_pos("enemy", -100, 420, "en_tank", "hat", "tank", "right", 13, 5, 4, 10, 6, 2);
addenemy_pos("enemy", 750, 80, "en_hind", "", "hind", "right", 5, 5, 8, 10, 6);
}
}
if (((((min1 == 2) && (sec1 == 30)) && (enemy_numb <= 0)) || ((evilComes <= 0) && (enemy_numb <= 0))) || (evilComes <= 0)) {
gotoAndStop ("store");
}
if ((min1 >= realmin) && (enemy_numb < 1)) {
min1 = realmin;
clock_min.text = min1;
realmin++;
var _local1 = 0;
while (_local1 < pac_shoot_ar.length) {
clearInterval(pac_shoot_ar[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < enem_shoot_ar.length) {
clearInterval(enem_shoot_ar[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < bbb.length) {
clearInterval(bbb[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < fade_inter_ar.length) {
clearInterval(fade_inter_ar[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < enem_fall_ar.length) {
clearInterval(enem_fall_ar[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < blood_inter_ar.length) {
clearInterval(blood_inter_ar[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < enemy_fly_ar.length) {
clearInterval(enemy_fly_ar[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < re_ar.length) {
clearInterval(re_ar[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < para_ar.length) {
clearInterval(para_ar[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < auto_ar.length) {
clearInterval(auto_ar[_local1]);
_local1++;
}
go33 = 1;
_local1 = 0;
while (_local1 < pac_shoot.length) {
removeMovieClip(pac_shoot[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < enem_shoot.length) {
removeMovieClip(enem_shoot[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < enem_ar.length) {
removeMovieClip(enem_ar[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < gun_ar.length) {
removeMovieClip(gun_ar[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < addons_ar.length) {
removeMovieClip(addons_ar[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < blood_ar.length) {
removeMovieClip(blood_ar[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < explode_ar.length) {
removeMovieClip(explode_ar[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < vest_ar.length) {
removeMovieClip(vest_ar[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < impact_ar.length) {
removeMovieClip(impact_ar[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < para_ar.length) {
removeMovieClip(para_ar[_local1]);
_local1++;
}
e_num = 0;
e_num_m = 0;
ebullshoot = 0;
enem_ar = new Array();
gun_ar[e_num] = new Array();
addons_ar[e_num] = new Array();
vest_ar[e_num] = new Array();
}
if (flag.iftake == "yes") {
dollar = dollar - 10;
}
if (life_num <= 0) {
gotoAndStop ("gameover");
}
if ((flag._x <= -10) || (flag._x > 760)) {
gotoAndStop ("gameover");
}
}
function checklife() {
lifeint = int(life_num);
life.gotoAndStop(lifeint);
if (life_num > 80) {
life.gotoAndStop(80);
}
}
var music = new Sound();
music.attachSound("flash");
music.stop();
clearInterval(time_in);
var sec1 = 0;
var min1 = 0;
var realmin = 1;
var water_ar = new Array(wall, land1, solam2, wall1, wall4);
var buildun_ar = new Array(solam1, solam4, solam5, solam6, solam7, solam8, wall2, fl_place, flag, un_build, upto1, upto2, lefttoup1, lefttoup2, downto1, downto2, rightgo1, rightgo2, rightto1, leftto1, leftgo1);
var buildbrown_ar = new Array(brown_build, wall3, land3, solam3, downto3, lefttoup3);
place = 0;
placeun = 0;
stop();
if (level == 1) {
evilComes = 10;
place = 0;
placeun = 0;
placebrown = 100;
}
if (level == 2) {
evilComes = 11;
place = 500;
placeun = -50;
placebrown = -500;
}
if (level == 3) {
evilComes = 14;
place = 540;
placeun = -150;
placebrown = -80;
}
if (level == 4) {
evilComes = 17;
place = 540;
placeun = 30;
placebrown = -500;
}
if (level == 5) {
evilComes = 19;
place = 0;
placeun = 260;
placebrown = -200;
}
if (level == 6) {
evilComes = 20;
place = 530;
placeun = 20;
placebrown = -373;
}
if (level == 7) {
evilComes = 22;
place = 122;
placeun = 20;
placebrown = 100;
}
if (level == 8) {
evilComes = 24;
place = 0;
placeun = 0;
placebrown = 0;
}
if (level == 9) {
evilComes = 24;
place = 500;
placeun = -50;
placebrown = -500;
}
if (level == 10) {
evilComes = 30;
place = 320;
placeun = -210;
placebrown = 100;
}
if (level == 11) {
level = 2;
place = 500;
placeun = -50;
placebrown = -500;
}
i = 0;
while (i < water_ar.length) {
water_ar[i]._x = water_ar[i]._x + place;
i++;
}
i = 0;
while (i < buildun_ar.length) {
buildun_ar[i]._x = buildun_ar[i]._x + placeun;
i++;
}
i = 0;
while (i < buildbrown_ar.length) {
buildbrown_ar[i]._x = buildbrown_ar[i]._x + placebrown;
i++;
}
ground._y = ground._y - 1;
var time_in;
time_in = setInterval(timeof, 1000);
Mouse.hide();
function stuffit(num, xxa) {
ammo_num++;
var _local2 = _root.attachMovie("boxstuff", ("stuff1" + ammo_num) + 1, ammo_num + 258000);
stuff_ar[ammo_num] = _local2;
stuff_ar[ammo_num].gotoAndPlay(num);
stuff_ar[ammo_num]._x = xxa;
stuff_ar[ammo_num]._y = 460;
}
function stuffit_fall(num, obj) {
ammo_num++;
var _local2 = _root.attachMovie("otherstuff", ("stuff1" + ammo_num) + 1, ammo_num + 258000);
stuff_ar[ammo_num] = _local2;
stuff_ar[ammo_num].gotoAndPlay(num);
stuff_ar[ammo_num]._x = obj._x;
stuff_ar[ammo_num]._y = 460;
re_num++;
re_ar[re_num] = setInterval(re_inter_ammo, 90, stuff_ar[ammo_num], re_num);
}
stop();
var explode_ar = new Array();
var explode_num = 0;
var gun_ar_p = new Array();
gun_ar_p[0] = gun;
gun_ar_p[1] = m203g;
gun_ar_p[2] = ak47;
gun_ar_p[3] = m16;
gun_ar_p[4] = mp5sk;
gun_ar_p[5] = knife;
gun_ar_p[6] = law;
gun_ar_p[7] = shotgun;
gun_ar_p[8] = M1;
gun_ar_p[9] = uzi;
gun_ar_p[10] = aug;
gun_ar_p[11] = AT;
gun_ar_p[12] = rpg;
gun_ar_p[13] = m5;
gun_ar_p[14] = mp5_n;
gun_ar_p[15] = ata;
gun_ar_p[16] = aksu;
gun_ar_p[17] = mp5sd;
gun_ar_p[18] = m60;
gun_ar_p[19] = pk90;
gun_ar_p[20] = magnum;
gun_ar_p[21] = p90;
gun_ar_p[22] = commando;
gun_ar_p[23] = g36;
gun_ar_p[24] = shotgun_auto;
gun_ar_p[25] = desert;
gun_ar_p[26] = m4;
gun_ar_p[27] = box;
var stuff_ar = new Array();
var land_ar = new Array(land1, land2, land3, land4, land5, land6, land7, land8, land9, land10, land11, land12);
i = 0;
while (i < land_ar.length) {
land_ar[i]._visible = 0;
i++;
}
var wall_ar = new Array(wall1, wall2, wall3, wall4, wall5, wall6);
var solam_ar = new Array(solam1, solam2, solam3, solam4, solam5, solam6, solam7, solam8);
var upto_ar = new Array(upto1, upto2, upto3, upto4, upto5, upto6, upto7, upto8, upto9, upto10, upto11);
i = 0;
while (i < upto_ar.length) {
upto_ar[i]._visible = 0;
i++;
}
var leftto_ar = new Array(leftto1, leftto2, leftto3, leftto4, leftto5, leftto6, leftto7, leftto8, leftto9, leftto10, leftto11);
i = 0;
while (i < leftto_ar.length) {
leftto_ar[i]._visible = 0;
i++;
}
var leftgo_ar = new Array(leftgo1, leftgo2, leftgo3, leftgo4, leftgo5, leftgo6, leftgo7, leftgo8, leftgo9, leftgo10, leftgo11);
i = 0;
while (i < leftgo_ar.length) {
leftgo_ar[i]._visible = 0;
i++;
}
var lefttoup_ar = new Array(lefttoup1, lefttoup2, lefttoup3, lefttoup4, lefttoup5, lefttoup6, lefttoup7, lefttoup8, lefttoup9, lefttoup10, lefttoup11);
i = 0;
while (i < lefttoup_ar.length) {
lefttoup_ar[i]._visible = 0;
i++;
}
var downto_ar = new Array(downto1, downto2, downto3, downto4, downto5, downto6, downto7, downto8, downto9, downto10, downto11);
i = 0;
while (i < downto_ar.length) {
downto_ar[i]._visible = 0;
i++;
}
var rightto_ar = new Array(rightto1, rightto2, rightto3, rightto4, rightto5, rightto6, rightto7, rightto8, rightto9, rightto10, rightto11);
i = 0;
while (i < rightto_ar.length) {
rightto_ar[i]._visible = 0;
i++;
}
var righttoup_ar = new Array(righttoup1, righttoup2, righttoup3, righttoup4, righttoup5, righttoup6, righttoup7, righttoup8, righttoup9, righttoup10, righttoup11);
i = 0;
while (i < righttoup_ar.length) {
righttoup_ar[i]._visible = 0;
i++;
}
var rightgo_ar = new Array(rightgo1, rightgo2, rightgo3, rightgo4, rightgo5, rightgo6, rightgo7, rightgo8, rightgo9, rightgo10, rightgo11);
i = 0;
while (i < rightgo_ar.length) {
rightgo_ar[i]._visible = 0;
i++;
}
function create_im(objy, objx) {
ebullpac++;
var _local2 = this.attachMovie("hit_gorund", ("ball_pac" + ebullpac) + 1, ebullpac + 150000);
impact_ar[ebullpac] = _local2;
_local2._x = objx;
_local2._y = objy;
}
function addenemy_pos(enem_mca, tx, ty, gun, addon, vest, post, frad1, frve1, frhead, frclo, life, speed) {
e_num++;
e_num_m++;
enemy_numb++;
var _local2 = this.attachMovie(enem_mca, ("enemyc" + e_num_m) + 1, e_num + 10000);
var gun_add = this.attachMovie(gun, ("gune" + e_num_m) + 1, (e_num + 10000) + 9000);
var addon_add = this.attachMovie(addon, ("addon_" + e_num_m) + 1, (e_num + 10000) + 3000);
var vest_add = this.attachMovie(vest, ("vest_" + e_num_m) + 1, (e_num + 10000) + 6000);
var _local12 = random(400) + 100;
_local2._x = tx;
_local2._y = ty;
gun_add._x = tx;
gun_add._y = ty;
addon_add._x = tx;
addon_add._y = ty;
vest_add._x = tx;
vest_add._y = ty;
var _local11 = new Color(_local2.color4);
var _local10 = new Color(_local2.body);
var _local6 = {ra:100, ga:100, ba:100, aa:100};
_local11.setTransform(_local6);
_local10.setTransform(_local6);
enem_ar[e_num] = _local2;
if (life <= 0) {
enem_ar[e_num].life = random(2) + 2;
}
if (life > 0) {
enem_ar[e_num].life = life;
}
enem_ar[e_num].ifshot = 0;
if (speed <= 0) {
speed = 3;
}
enem_ar[e_num].realspeed = speed * 2;
enem_ar[e_num].aa = 0;
gun_ar[e_num] = gun_add;
addons_ar[e_num] = addon_add;
vest_ar[e_num] = vest_add;
gun_ar[e_num].id = e_num;
hand_en_ar[e_num].id = e_num;
addons_ar[e_num].id = e_num;
addons_ar[e_num].life = 4;
vest_ar[e_num].life = 4;
_local2._currentframe = 1;
_local2.goframe = frhead;
_local2.goframe1 = frclo;
gun_add._currentframe = 1;
addon_add.goframe = frad1;
vest_add.goframe = frve1;
hand_en_ar[e_num].kindof = gun;
enem_ar[e_num].a = "6";
enem_ar[e_num].wall = "5";
enem_ar[e_num].pac = "0";
enem_ar[e_num].ifstop = "0";
num_enemys++;
enem_ar[e_num]._rotation = 270;
enem_ar[e_num].pos = post;
if (post == "para") {
var para_add = this.attachMovie("para", ("para" + e_num) + 1, e_num + 22000);
para_ar[e_num] = para_add;
}
if (post == null) {
enem_ar[e_num].pos = "left";
}
enem_ar[e_num].e_num = e_num;
enem_ar[e_num].onEnterFrame = function () {
enem_move(this, gun_add, addon_add, vest_add, para_add, this.e_num, shadow_add);
};
enem_ar[e_num].speed = speed * 2;
var _local8 = inter_en;
bbb[e_num] = _local8;
when_shoot_num++;
when_shoot_ar[when_shoot_num] = setInterval(when_shot_ene, 1000, _local2);
}
function ammoit(ammo, obj) {
ammo_num++;
var _local2 = this.attachMovie(ammo, ("ammocc" + ammo_num) + 1, ammo_num + 33000);
ammo_ar[ammo_num] = _local2;
_local2.kindof = obj.number;
_local2._x = obj._x;
_local2._y = 460;
re_num++;
re_ar[re_num] = setInterval(re_inter_ammo, 70, ammo_ar[ammo_num], re_num);
}
if (level == 1) {
dollar = 0;
dollar_all = 0;
ammo = 60;
ammo1 = 99;
ammo2 = 38;
greande = 3;
mine = 2;
gunof4 = 9;
gunof3 = 6;
gunof2 = 10;
gunof1 = 1;
}
gunIsNum = 2;
gunkind = gunof2;
impact_ar = new Array();
e_num_m = 0;
var ammo_num = 0;
var ammo_ar = new Array();
var keyListener = new Object();
keyListener.onKeyDown = function () {
if (Key.getAscii() == 49) {
gunkind = gunof1;
changecolor(1);
}
if (Key.getAscii() == 50) {
gunkind = gunof2;
gunIsNum = 2;
changecolor(2);
}
if (Key.getAscii() == 51) {
gunkind = gunof3;
}
if (Key.getAscii() == 52) {
gunkind = gunof4;
gunIsNum = 4;
changecolor(4);
}
};
Key.addListener(keyListener);
function hit_enemy() {
var _local3 = 0;
while (_local3 < stuff_ar.length) {
if (((((((ball._x + (ball._width / 2)) > (stuff_ar[_local3]._x - (stuff_ar[_local3]._width / 2))) && ((ball._x - (ball._width / 2)) < (stuff_ar[_local3]._x + (stuff_ar[_local3]._width / 2)))) && ((ball._y + (ball._height / 2)) > (stuff_ar[_local3]._y - (stuff_ar[_local3]._height / 2)))) && ((ball._y - (ball._height / 2)) < (stuff_ar[_local3]._y + (stuff_ar[_local3]._height / 2)))) && (ball._currentframe == 2)) && (ball.iftake == 1)) {
ball.iftake = 0;
stuff_ar[_local3].active = "on";
}
_local3++;
}
_local3 = 0;
while (_local3 < ammo_ar.length) {
if (((((((ball._x + (ball._width / 2)) > (ammo_ar[_local3]._x - (ammo_ar[_local3]._width / 2))) && ((ball._x - (ball._width / 2)) < (ammo_ar[_local3]._x + (ammo_ar[_local3]._width / 2)))) && ((ball._y + (ball._height / 2)) > (ammo_ar[_local3]._y - (ammo_ar[_local3]._height / 2)))) && ((ball._y - (ball._height / 2)) < (ammo_ar[_local3]._y + (ammo_ar[_local3]._height / 2)))) && (ball._currentframe == 2)) && (ball.iftake == 1)) {
_root.box.gotoAndPlay("takeammo");
if ((ammo_ar[_local3].kindof + 1) == gunof4) {
gunIsNum = 4;
gunkind = gunof4;
changecolor(4);
}
if ((ammo_ar[_local3].kindof + 1) == gunof2) {
gunIsNum = 2;
gunkind = gunof2;
changecolor(2);
}
ball.iftake = 0;
if (gunIsNum != 4) {
gunIsNum = 2;
gunkind = gunof2;
if (gunof2 != (ammo_ar[_local3].kindof + 1)) {
if (ammo > 0) {
ammoit(gun_ar_p[gunkind - 1].kindof, gun_ar_p[gunkind - 1]);
}
gunkind = ammo_ar[_local3].kindof + 1;
gunof2 = gunkind;
ammo = gun_ar_p[gunkind - 1].ammomax;
gun_ar_p[gunkind - 1].ammo = gun_ar_p[gunkind - 1].ammomax / 2;
removeMovieClip(ammo_ar[_local3]);
}
if (gunof2 == (ammo_ar[_local3].kindof + 1)) {
gunkind = ammo_ar[_local3].kindof + 1;
ammo = ammo + gun_ar_p[gunkind - 1].ammomax;
removeMovieClip(ammo_ar[_local3]);
}
}
if (gunIsNum == 4) {
gunkind = gunof4;
if (gunof4 != (ammo_ar[_local3].kindof + 1)) {
if (ammo2 > 0) {
ammoit(gun_ar_p[gunkind - 1].kindof, gun_ar_p[gunkind - 1]);
}
gunkind = ammo_ar[_local3].kindof + 1;
gunof4 = gunkind;
ammo2 = gun_ar_p[gunkind - 1].ammomax;
gun_ar_p[gunkind - 1].ammo = gun_ar_p[gunkind - 1].ammomax / 2;
removeMovieClip(ammo_ar[_local3]);
}
if (gunof4 == (ammo_ar[_local3].kindof + 1)) {
gunkind = ammo_ar[_local3].kindof + 1;
ammo2 = ammo2 + gun_ar_p[gunkind - 1].ammomax;
removeMovieClip(ammo_ar[_local3]);
}
}
}
_local3++;
}
_local3 = 0;
while (_local3 < pac_shoot.length) {
if (((((pac_shoot[_local3]._y > 460) && (pac_shoot[_local3].mine != "yes")) && (pac_shoot[_local3].tnt == "yes")) || (pac_shoot[_local3].tnt == "hit")) && (pac_shoot[_local3]._visible != 0)) {
create_exp(pac_shoot[_local3].kexp, pac_shoot[_local3]);
pac_shoot[_local3]._visible = 0;
}
_local3++;
}
_local3 = 0;
while (_local3 < enem_shoot.length) {
if ((((((ball._x + (ball._width / 2)) > (enem_shoot[_local3]._x - (enem_shoot[_local3]._width / 2))) && ((ball._x - (ball._width / 2)) < (enem_shoot[_local3]._x + (enem_shoot[_local3]._width / 2)))) && ((ball._y + (ball._height / 2)) > (enem_shoot[_local3]._y - (enem_shoot[_local3]._height / 2)))) && ((ball._y - (ball._height / 2)) < (enem_shoot[_local3]._y + (enem_shoot[_local3]._height / 2)))) && (enem_shoot[_local3]._visible != 0)) {
if (enem_shoot[_local3].end == "no") {
if (enem_shoot[_local3].ldown > 0) {
life_num = life_num - enem_shoot[_local3].ldown;
}
if (enem_shoot[_local3].ldown <= 0) {
life_num = life_num - 1;
}
ebullshoot++;
ebullpac++;
var _local4 = this.attachMovie("blood_anim", ("blood" + ebullshoot) + 1, ebullshoot + 154000);
_local4._x = ball._x + ((enem_shoot[_local3]._x - ball._x) / 2);
_local4._y = ball._y + ((enem_shoot[_local3]._y - ball._y) / 1.4);
blood_ar[ebullshoot] = _local4;
rotat = random(100) + 130;
blood_ar[ebullshoot].ebullshoot = ebullshoot;
blood_ar[ebullshoot].rotat = rotat;
blood_ar[ebullshoot].onEnterFrame = function () {
blood_move(this, this.ebullshoot, this.rotat);
};
if (enem_shoot[_local3].tnt == "yes") {
enem_shoot[_local3].tnt = "hit";
}
}
if ((enem_shoot[_local3].end == "yes") && (ball.pos != "fly")) {
enem_shoot[_local3].ifend = "on";
}
if (enem_shoot[_local3].tnt == "yes") {
enem_shoot[_local3].tnt = "hit";
}
if (((enem_shoot[_local3]._y > 460) && (enem_shoot[_local3].tnt == "yes")) || (enem_shoot[_local3].tnt == "hit")) {
enem_shoot[_local3]._visible = 0;
create_exp(enem_shoot[_local3].kexp, enem_shoot[_local3]);
enem_shoot[_local3].ifdie = 0;
}
enem_shoot[_local3]._visible = 0;
}
_local3++;
}
_local3 = 0;
while (_local3 < explode_ar.length) {
if (((((((ball._x + (ball._width / 2)) > (explode_ar[_local3]._x - (explode_ar[_local3]._width / 2))) && ((ball._x - (ball._width / 2)) < (explode_ar[_local3]._x + (explode_ar[_local3]._width / 2)))) && ((ball._y + (ball._height / 2)) > (explode_ar[_local3]._y - (explode_ar[_local3]._height / 2)))) && ((ball._y - (ball._height / 2)) < (explode_ar[_local3]._y + (explode_ar[_local3]._height / 2)))) && (ball.pos != "fly")) && (explode_ar[_local3]._currentframe == 5)) {
if (explode_ar[_local3].ldown > 0) {
life_num = life_num - explode_ar[_local3].ldown;
}
if (explode_ar[_local3].ldown <= 0) {
life_num = life_num - 3;
}
moveitJ = 8;
ball.pos = "fly";
}
_local3++;
}
if (((((ball._x + 8) > flag._x) && ((ball._x - 8) < flag._x)) && ((ball._y + (ball._height / 2)) > flag._y)) && ((ball._y - (ball._height / 2)) < flag._y)) {
flag._x = ball._x;
flag._y = ball._y;
flag.take = "on";
flag.iftake = "yes";
}
if ((((((fl_place._x + 20) > flag._x) && ((fl_place._x - 8) < flag._x)) && ((fl_place._y + (fl_place._height / 2)) > flag._y)) && ((fl_place._y - (fl_place._height / 2)) < flag._y)) && (flag.take == "on")) {
flag._x = fl_place._x;
flag._y = fl_place._y;
flag.take = "off";
flag.iftake = "no";
fl_place.gotoAndStop(1);
}
}
function fall_enem(enemy, gun, num, yy, addon, vest, num1, para) {
if ((enemy.life < 0) && (enemy._y < 350)) {
enemy.life = -100;
eney = enemy._y - 450;
enemy._y = enemy._y + 5;
enemy._rotation = enemy._rotation + (2.5 * (720 / (450 - yy)));
}
if (((enemy.life < 0) && (enemy._y < 450)) && (enemy._y >= 350)) {
if (enemy.life == -100) {
enemy._rotation = enemy._rotation + (2 * (720 / (450 - yy)));
}
eney = enemy._y - 450;
enemy._y = enemy._y + 4;
}
if (((enemy.life < 0) && (enemy._y >= 450)) && (enemy._currentframe == 1)) {
if (enemy.life < -99) {
ebullpac++;
var _local3 = _root.attachMovie("blood_fall", ("ball_pac" + ebullpac) + 1, ebullpac + 150000);
blood_ar[ebullpac] = _local3;
_local3._x = enemy._x;
_local3._y = 475;
}
enemy.gotoAndPlay(2);
gun.ran = random(4);
if (gun.ran >= 2) {
ammoit(gun.kindof, gun);
}
removeMovieClip(gun);
re(addon);
re(vest);
re(para);
if (vest._y > 455) {
clearInterval(enem_fall_ar[num]);
}
}
updateAfterEvent();
}
function blood_move(blood, num, rot) {
var _local3 = random(5) + 1;
if (blood._y < 465) {
dx = Math.sin((Math.PI/180) * rot);
dy = Math.cos((Math.PI/180) * rot);
blood._x = blood._x + (dx * 4);
blood._y = blood._y - (dy * 10);
}
if ((blood._y >= 465) && (blood._currentframe == 1)) {
blood.gotoAndPlay(2);
}
}
function re(obj) {
re_num++;
re_ar[re_num] = setInterval(re_inter, 10, obj, re_num);
}
function re_inter(obj, num) {
obj._alpha = obj._alpha - 1;
if (obj._alpha <= 0) {
if ((obj.trans == "no") || (obj.trans == "yes")) {
trace("themoney");
stuffit_fall("dgreen", obj);
}
removeMovieClip(obj);
clearInterval(re_ar[num]);
}
}
function re_inter_ammo(obj, num) {
obj._alpha = obj._alpha - 0.02;
if (obj._alpha <= 70) {
removeMovieClip(obj);
clearInterval(re_ar[num]);
}
}
var fade_inter_ar = new Array();
var fade_inter_num = 0;
var enem_fall_ar = new Array();
var blood_ar = new Array();
var blood_inter_ar = new Array();
var enem_fall_inter;
var enem_fall_num = 0;
var re_ar = new Array();
var re_num = 0;
function handplace() {
hand._x = ball._x;
hand._y = ball._y - 6;
head_pl._x = ball._x;
head_pl._y = ball._y - 20;
head_pl._rotation = hand._rotation;
if ((head_pl._rotation > 78) && (head_pl._yscale > 0)) {
head_pl._rotation = 0;
}
if ((head_pl._rotation < -78) && (head_pl._yscale > 0)) {
head_pl._rotation = 0;
}
if (((head_pl._rotation < 120) && (head_pl._rotation > -119)) && (head_pl._yscale < 0)) {
head_pl._rotation = 180;
}
head_pl._yscale = hand._yscale;
hand._yscale = ball._xscale;
hand._rotation = mydeg;
if (gunkind > 0) {
rad = Math.atan2(hand.hand._y, hand.hand._x);
deg = (rad * 180) / Math.PI;
rotat = hand._rotation + ((deg - 360) + 90);
dx = Math.sin((Math.PI/180) * rotat);
dy = Math.cos((Math.PI/180) * rotat);
gun_xscal = Math.abs(hand._xscale);
gun_ar_p[gunkind - 1]._x = hand._x + (((dx * (hand.hand._y + 20)) * gun_ar_p[gunkind - 1]._xscale) / 100);
gun_ar_p[gunkind - 1]._y = hand._y - (((dy * (hand.hand._y + 20)) * gun_ar_p[gunkind - 1]._xscale) / 100);
gun_ar_p[gunkind - 1]._rotation = hand._rotation;
gun_ar_p[gunkind - 1]._yscale = ball._xscale;
}
i = 0;
while (i < gun_ar_p.length) {
rad1.text = gunkind;
if (i != gunkind) {
gun_ar_p[i - 1]._x = 1000;
gun_ar_p[i - 1]._y = 1000;
}
i++;
}
}
function changecolor(dd) {
if (dd == 2) {
ammo_txt.textColor = 16711680 /* 0xFF0000 */;
ammo2_txt.textColor = 16777215 /* 0xFFFFFF */;
ammo1_txt.textColor = 16777215 /* 0xFFFFFF */;
}
if (dd == 4) {
ammo2_txt.textColor = 16711680 /* 0xFF0000 */;
ammo_txt.textColor = 16777215 /* 0xFFFFFF */;
ammo1_txt.textColor = 16777215 /* 0xFFFFFF */;
}
if (dd == 1) {
ammo1_txt.textColor = 16711680 /* 0xFF0000 */;
ammo2_txt.textColor = 16777215 /* 0xFFFFFF */;
ammo_txt.textColor = 16777215 /* 0xFFFFFF */;
}
}
function shoot_auto(gun, ammo) {
if ((((gun.gun._currentframe == 1) || (gun.gun.fire._currentframe >= 6)) && (gun_ar_p[gunkind - 1].ammo > 0)) && (rel._currentframe == 1)) {
shoot(gun, ammo);
}
}
function shoot(gun, bullet) {
target_play._y = target_play._y - 8;
target_play.gotoAndPlay(2);
gun.ammo--;
ebullshoot++;
if (gun.backitgun <= 0) {
backit = 0;
}
if (gun.backitgun > 0) {
backit = ((random(gun.backitgun * 2) - gun.backitgun) + moveitR) + moveitL;
}
gun.gun.gotoAndPlay(2);
myrad = Math.atan2((gun.aim._y - gun.aim2._y) * (ball._xscale / 100), gun.aim._x - gun.aim2._x);
mydeg1 = (myrad * 180) / Math.PI;
var _local2 = this.attachMovie(bullet, ((bullet + "ball_pac") + ebullshoot) + 1, ebullshoot + 121000);
pac_shoot[ebullshoot] = _local2;
gun_rad = Math.atan2(gun.aim._y, gun.aim._x);
gun_deg = (gun_rad * 180) / Math.PI;
rotat = (gun._rotation + -270) + backit;
dx = Math.sin((Math.PI / (180 + mydeg1)) * rotat);
dy = Math.cos((Math.PI / (180 + mydeg1)) * rotat);
gun_xscal = Math.abs(gun._xscale);
_local2._rotation = gun._rotation;
pac_shoot_num[ebullshoot] = 0;
dx_ar_pac[ebullshoot] = dx;
yx_ar_pac[ebullshoot] = dy;
_local2._x = gun._x + (((dx * (gun.aim._x - gun.aim2._x)) * ball._yscale) / 100);
_local2._y = gun._y - (((dy * (gun.aim._x - gun.aim2._x)) * gun._xscale) / 100);
dx = Math.sin((Math.PI/180) * rotat);
dy = Math.cos((Math.PI/180) * rotat);
dx_ar_pac[ebullshoot] = dx;
yx_ar_pac[ebullshoot] = dy;
if ((((((((((gun.bulletq == "ball") || (gun.bulletq == "missle")) || (gun.bulletq == "rpg_mis")) || (gun.bulletq == "ball_alpha")) || (gun.bulletq == "ball2")) || (gun.bulletq == "ball_sm")) || (gun.bulletq == "ball_sm2")) || (gun.bulletq == "ball3")) || (gun.bulletq == "ball_s")) || (gun.bulletq == "ball4")) {
_local2.speed = gun.speed + 3;
_local2.ranges = gun.range;
_local2.ebullshoot = ebullshoot;
_local2.gun = gun.rate1;
vvv = "ofer";
pac_shoot[ebullshoot].onEnterFrame = function () {
ball_move2(this, this.ebullshoot, this.ranges, this.gun);
};
}
if (gun.bulletq == "40mm") {
_local2.speed = gun.speed;
pac_shoot[ebullshoot].aa = 0;
diste = target_play._x - ball._x;
greande_move(dis, ballA, num);
_local2.ebullshoot = ebullshoot;
pac_shoot[ebullshoot].onEnterFrame = function () {
greande_move(diste, this, this.ebullshoot);
};
}
if (gun.bulletq == "sting") {
_local2.speed = 5;
pac_shoot[ebullshoot].aa = 0;
pac_shoot[ebullshoot].ff = 0;
pac_shoot[ebullshoot].mn = hand._rotation;
_local2.ebullshoot = ebullshoot;
pac_shoot[ebullshoot].onEnterFrame = function () {
stinger(this, target_play, this.ebullshoot);
};
}
pac_shoot_ar[ebullshoot] = bull_move_ene2;
}
function ball_move2(bullet, numm24, rangeofammo2, ffgun) {
bullspeed1 = pac_shoot[numm24].speed;
bullet._x = bullet._x + (dx_ar_pac[numm24] * bullspeed1);
bullet._y = bullet._y - (yx_ar_pac[numm24] * bullspeed1);
_root.pac_shoot_num[numm24]++;
if ((_root.pac_shoot_num[numm24] == (rangeofammo2 / 4)) && ((ffgun == "auto") || (ffgun == "sauto"))) {
go33 = 1;
}
if ((_root.pac_shoot_num[numm24] == (rangeofammo2 / 3)) && (ffgun == "semi_auto")) {
go33 = 1;
}
if ((_root.pac_shoot_num[numm24] == (rangeofammo2 / 2)) && (ffgun == "semi")) {
go33 = 1;
}
if ((bullet._y > 470) && (bullet._visible != 0)) {
bullet._visible = 0;
create_im(bullet._y, bullet._x);
}
if ((pac_shoot_num[numm24] == (rangeofammo2 / 1)) && (ffgun == "mono")) {
go33 = 1;
}
if (pac_shoot_num[numm24] >= rangeofammo2) {
removeMovieClip(pac_shoot[numm24]);
}
}
function shoot_en_bul(gun, enemy, addo) {
ebullshoot++;
enemy.speed = 0;
if (addo.fly == "yes") {
enemy.speed = 1 + enemy.realspeed;
}
gun.gun.gotoAndPlay(2);
if (gun.backitgun > 0) {
backit2 = random(gun.backitgun * 2) - gun.backitgun;
} else if (gun.backitgun <= 0) {
backit2 = 0;
}
myrad = Math.atan2(gun.aim._y - gun.aim2._y, gun.aim._x - gun.aim2._x);
mydeg1 = (myrad * 180) / Math.PI;
var _local2 = this.attachMovie(gun.bulletq, ("ball_enem" + ebullshoot) + 1, ebullshoot + 120000);
enem_shoot[ebullshoot] = _local2;
gun_rad = Math.atan2(gun.aim._y, gun.aim._x);
gun_deg = (gun_rad * 180) / Math.PI;
rotat = (gun._rotation + -270) + backit2;
dx = Math.sin((Math.PI / ((180 + mydeg1) + 1)) * rotat);
dy = Math.cos((Math.PI / ((180 + mydeg1) + 1)) * rotat);
gun_xscal = Math.abs(gun._xscale);
_local2._rotation = gun._rotation;
pac_shoot_num[ebullshoot] = 0;
dx_ar_pac[ebullshoot] = dx;
yx_ar_pac[ebullshoot] = dy;
_local2._xscale = gun._xscale;
_local2._x = gun._x + (((dx * gun.aim._x) * gun._xscale) / 100);
if (_local2._xscale < 0) {
_local2._y = (gun._y - (((dy * gun.aim._x) * gun._xscale) / 100)) - 10;
}
if (_local2._xscale > 0) {
_local2._y = gun._y - (((dy * gun.aim._x) * gun._xscale) / 100);
}
dx = Math.sin((Math.PI/180) * rotat);
dy = Math.cos((Math.PI/180) * rotat);
dx_ar_pac[ebullshoot] = dx;
yx_ar_pac[ebullshoot] = dy;
if (gun.gren == "on") {
enem_shoot[ebullshoot].ebullshoot = ebullshoot;
enem_shoot[ebullshoot].rangee = (ball._x - gun._x) - 40;
enem_shoot[ebullshoot].onEnterFrame = function () {
greande_move_ene(this.rangee, this, this.ebullshoot, gun, enemy);
};
}
if (gun.gren == "bomb") {
enem_shoot[ebullshoot].ebullshoot = ebullshoot;
enem_shoot[ebullshoot].onEnterFrame = function () {
bomb_ene(this, this.ebullshoot, gun, enemy);
};
} else if (gun.gren == "sting") {
enem_shoot[ebullshoot].aa = 0;
enem_shoot[ebullshoot].ff = 0;
enem_shoot[ebullshoot].mn = 0;
if (enem_shoot[ebullshoot]._xscale < 0) {
enem_shoot[ebullshoot]._xscale = -enem_shoot[ebullshoot]._xscale;
}
enem_shoot[ebullshoot].ebullshoot = ebullshoot;
enem_shoot[ebullshoot].onEnterFrame = function () {
stinger_enem(this, ball, this.ebullshoot, enemy, gun);
};
} else if (gun.gren == null) {
enem_shoot[ebullshoot].speed = gun.speed;
enem_shoot[ebullshoot].ebullshoot = ebullshoot;
enem_shoot[ebullshoot].rangee = gun.range;
enem_shoot[ebullshoot].onEnterFrame = function () {
ball_move_enem2(this, this.ebullshoot, this.rangee, gun, enemy);
};
}
enem_shoot_ar[ebullshoot] = bull_move_ene;
}
function ball_move_enem2(bullet, numm24, rangeofammo2, ffgun, enemy) {
bullspeed1 = bullet.speed;
bullet._x = bullet._x + (((dx_ar_pac[numm24] * bullspeed1) * bullet._xscale) / 100);
bullet._y = bullet._y - (((yx_ar_pac[numm24] * bullspeed1) * bullet._xscale) / 100);
pac_shoot_num[numm24]++;
if ((pac_shoot_num[numm24] == (rangeofammo2 / 4)) && (ffgun.rate1 == "auto")) {
ffgun.shoot = "on";
}
if ((pac_shoot_num[numm24] == (rangeofammo2 / 3)) && (ffgun.rate1 == "semi_auto")) {
ffgun.shoot = "on";
}
if ((pac_shoot_num[numm24] == (rangeofammo2 / 2)) && (ffgun.rate1 == "semi")) {
ffgun.shoot = "on";
}
if ((pac_shoot_num[numm24] == (rangeofammo2 * 1)) && (ffgun.rate1 == "mono")) {
ffgun.shoot = "on";
}
if (enemy == null) {
bullet._visible = 0;
}
if (pac_shoot_num[numm24] >= (rangeofammo2 * 1)) {
}
if (bullet._y > 470) {
bullet._visible = 0;
}
if (pac_shoot_num[numm24] >= rangeofammo2) {
if (bullet._y > 470) {
ffgun.shoot = "on";
}
enemy.speed = enemy.realspeed;
removeMovieClip(enem_shoot[numm24]);
}
if (((bullet._y >= 460) && (bullet.end == "yes")) && (enem_shoot[numm24]._visible != 0)) {
create_exp(bullet.kexp, bullet);
go334 = 1;
enem_shoot[numm24]._visible = 0;
}
}
function greande_move_ene(dis, ballA, num, gun1, enem) {
if (ballA.aa == null) {
ballA.aa = 0;
}
ballA.aa = ballA.aa + 0.3;
if (ballA._y < 460) {
ballA._rotation = ballA._rotation - ((5 * dis) / dis);
ballA._x = ballA._x + (dis / 100);
ballA._y = ballA._y - ((-ballA.aa) + 10);
}
if (ballA._y >= 460) {
ballA._rotation = ballA._rotation - ((10 * dis) / dis);
ballA.aa = ballA.aa - 4;
if (ballA.aa < -100) {
enem.speed = enemy.realspeed;
if (ballA._visible != 0) {
create_exp(ballA.kexp, ballA);
}
go334 = 1;
gun1.shoot = "on";
removeMovieClip(enem_shoot[num]);
}
}
updateAfterEvent();
}
function greande_move(dis, ballA, num) {
if (ballA.aa == null) {
ballA.aa = 0;
}
ballA.aa = ballA.aa + 0.2;
ballA._rotation = ballA._rotation - ((5 * dis) / dis);
ballA._x = ballA._x + (3 * (dis / 100));
if (ballA._y < 460) {
ballA._y = ballA._y - (3 * ((-ballA.aa) + 3));
}
if ((((ballA._y > 460) || (ballA.tnt == "hit")) || (ballA.explo == "yes")) || ((balla._y < 150) && (balla._y > 145))) {
ballA.tnt = "no";
ballA.explo = "no";
ballA._rotation = ballA._rotation - ((10 * dis) / dis);
ballA.aa = ballA.aa - 4;
go33 = 1;
create_exp(ballA.kexp, ballA);
removeMovieClip(pac_shoot[num]);
}
updateAfterEvent();
}
function m203(ax, ay, balla, num) {
if ((ay > 0) && (ay < 91)) {
ay = -150;
ax = -20;
}
if ((ay > 91) && (ay < 180)) {
ay = -20;
ax = -150;
}
ax = 90 + ax;
ay = 90 + ay;
if (ax > 45) {
ax = 90 - ax;
}
fx = 100 - ax;
if (ax < 20) {
ay = 20;
}
if (balla.posti != -1) {
balla.posti = 1;
}
balla.dx = Math.sin((Math.PI/180) * ax);
balla.dy = Math.cos((Math.PI/180) * ay);
if ((balla._x < 0) || (balla._x > 750)) {
balla.posti = -1;
}
balla.aa = balla.aa + 0.4;
if (balla._y < 460) {
balla._x = balla._x + ((11 * balla.dx) * balla.posti);
balla.fff = Math.abs(balla._rotation);
balla._rotation = balla._rotation - ((0.4 * balla.fff) / balla._rotation);
balla._y = balla._y + ((balla.aa - (5 * balla.dy)) * balla.dy);
}
if (((balla._y >= 460) || (balla.explo == "yes")) || ((((balla._y < 150) && (balla._y > 145)) && (balla._x >= (wall2._x - (wall2._width / 2)))) && (balla._x <= (wall2._x + (wall2._width / 2))))) {
trace(wall2._x + (wall2.width / 2));
create_exp(balla.kexp, balla);
go334 = 1;
clearInterval(pac_shoot_ar[num]);
removeMovieClip(pac_shoot[num]);
}
updateAfterEvent();
}
function stinger(ball1, cc, num) {
ball1.ff = ball1.ff + 1;
rad = Math.atan2(ball1._y - cc._y, ball1._x - cc._x);
ball1.deg = (rad * 180) / Math.PI;
ball1.rotat = ball1.deg - 180;
if (ball1.ff > 20) {
ball1.ff = 17;
ball1.aa = ball1.rotat;
}
if (ball1.ff < 700) {
if (ball1.mn < ball1.aa) {
ball1.mn = ball1.mn + 13;
}
if (ball1.mn > ball1.aa) {
ball1.mn = ball1.mn - 13;
}
ball1.dx = Math.sin((Math.PI/180) * ball1.mn) * 10;
ball1.dy = Math.cos((Math.PI/180) * ball1.mn) * 10;
}
ball1._x = ball1._x + (1 * ball1.dy);
ball1._y = ball1._y + (1 * ball1.dx);
ball1._rotation = ball1.mn;
if ((ball1._y >= 460) || (ball1.explo == "yes")) {
create_exp(ball1.kexp, ball1);
go33 = 1;
removeMovieClip(pac_shoot[num]);
}
updateAfterEvent();
}
function stinger_enem(ball1, cc, num, enemy, gun1) {
ball1.ff = ball1.ff + 7;
rad = Math.atan2(ball1._y - cc._y, ball1._x - cc._x);
ball1.deg = (rad * 180) / Math.PI;
ball1.rotat = ball1.deg - 180;
if (ball1.ff > 181) {
ball1.ff = 0;
ball1.aa = ball1.rotat;
ball1.mn++;
}
if (ball1.ff < 20) {
ball1.rotat = ball1.deg - 180;
ball1.dx = Math.sin((Math.PI/180) * ball1.rotat);
ball1.dy = Math.cos((Math.PI/180) * ball1.rotat);
}
ball1._x = ball1._x + (7 * ball1.dy);
ball1._y = ball1._y + (7 * ball1.dx);
ball1._rotation = ball1.rotat;
if (((ball1._y > 470) || (ball1.mn > 3)) || (ball1.ifend == "on")) {
create_exp(ball1.kexp, ball1);
gun1.shoot = "on";
enemy.speed = enemy.realspeed;
removeMovieClip(ball1);
}
updateAfterEvent();
}
function enemydie(dis, xx, balla, gun, num, addon, vest) {
balla.pos = "fly";
balla.aa = balla.aa + 0.15;
if (balla._y < 453) {
balla._y = balla._y - ((-balla.aa) + (xx / 20));
balla._x = balla._x + ((dis / 10) / 2);
}
if ((balla._y >= 453) && (balla.life >= 0)) {
clearInterval(enemy_fly_ar[num]);
ebullpac++;
var _local3 = _root.attachMovie("blood_fall", ("ball_pac" + ebullpac) + 1, ebullpac + 110000);
blood_ar[ebullpac] = _local3;
_local3._x = balla._x;
_local3._y = 475;
balla.life = -1;
balla.gotoAndPlay(2);
clearInterval(inter_gre);
removeMovieClip(gun);
re(addon);
if ((vest.trans == "no") || (vest.trans == "yes")) {
trace("themoney");
}
re(vest);
}
}
function create_exp(type, where) {
explode_num++;
if (type == null) {
type = "expl";
}
var _local1 = attachMovie(type, "expl" + explode_num, 65000 + explode_num);
explode_ar[explode_num] = _local1;
explode_ar[explode_num]._x = where._x;
explode_ar[explode_num]._y = where._y;
}
function bomb_ene(ballA, num, gun1, enem) {
if (ballA.aa == null) {
ballA.aa = 0;
}
ballA.aa = ballA.aa + 0.2;
ballA._rotation = enem._rotation + 90;
ballA._x = ballA._x + ((1 * ballA._xscale) / 100);
if (ballA._y < 460) {
ballA._y = ballA._y + 10;
}
if ((ballA.ifend == "on") && (ballA._visible != 0)) {
create_exp(ballA.kexp, ballA);
ballA._visible = 0;
}
if (ballA._y > 460) {
if (ballA._visible != 0) {
create_exp(ballA.kexp, ballA);
}
gun1.shoot = "on";
removeMovieClip(enem_shoot[num]);
}
updateAfterEvent();
}
function mine_fall(aa, num) {
if (((aa._y < 460) && (aa._y > 180)) || (((aa._y <= 155) && (aa._y >= 0)) || (((aa._x >= (wall2._x + (wall2._width / 2))) || (aa._x <= (wall2._x - (wall2._width / 2)))) && (aa._y < 460)))) {
aa._y = aa._y + 4;
}
if ((aa._y >= 460) || (aa._y >= 460)) {
clearInterval(pac_shoot_ar[num]);
}
}
function stopmusic() {
var _local1 = new Sound();
_local1.attachSound("flash");
_local1.setVolume(0);
}
function playmusic() {
var _local1 = new Sound();
_local1.attachSound("flash");
_local1.setVolume(100);
}
flag._x = 339;
flag._y = 137;
go33 = 1;
Mouse.removeListener(mouse);
var mouse = new Object();
var inter_mouse;
auto_ar = new Array();
auto_num = 0;
mouse.onMouseMove = function () {
mousemove = "yes";
if (mousemove == "yes") {
startDrag (target_play, true, 0, 0, 750, 750);
}
};
mouse.onMouseDown = function () {
mousemove = "no";
target_play.stopDrag();
if ((gun_ar_p[gunkind - 1].ammo <= 0) && (box._y == 578.1)) {
box.gotoAndPlay("empty");
}
if ((gun_ar_p[gunkind - 1].ammo > 0) || (gun_ar_p[gunkind - 1].ammo == "ooo")) {
auto_num++;
if (auto_num > 10) {
auto_num = 1;
}
if (go33 == 1) {
if (gun_ar_p[gunkind - 1].rate1 == "auto") {
auto_ar[auto_num] = setInterval(shoot_auto, 200, gun_ar_p[gunkind - 1], gun_ar_p[gunkind - 1].bulletq);
go33 = 0;
}
shoot(gun_ar_p[gunkind - 1], gun_ar_p[gunkind - 1].bulletq);
go33 = 0;
}
}
};
mouse.onMouseWheel = function () {
if (gunkind == gunof1) {
gunkind = gunof2;
gunIsNum = 2;
changecolor(2);
} else if (gunkind == gunof2) {
gunkind = gunof3;
} else if (gunkind == gunof3) {
gunkind = gunof4;
gunIsNum = 4;
changecolor(4);
} else if (gunkind == gunof4) {
gunkind = gunof1;
changecolor(1);
}
};
mouse.onMouseUp = function () {
if (gun_ar_p[gunkind - 1].rate1 == "auto") {
go33 = 1;
gun_ar_p[gunkind - 1].gun.gotoAndStop(1);
}
i = 0;
while (i < auto_ar.length) {
clearInterval(auto_ar[i]);
i++;
}
};
Mouse.addListener(mouse);
var pac_shoot = new Array();
var dx_ar_pac = new Array();
var yx_ar_pac = new Array();
var ebullpac = 0;
var bull_move_ene2;
var pac_shoot_num = new Array();
var pac_shoot_ar = new Array();
var enem_shoot_ar = new Array();
var ebullshoot = 0;
test = 0;
var enem_shoot = new Array();
if (_root.soundon == 1) {
_root.stopmusic();
}
if (_root.soundon != 1) {
_root.playmusic();
}
function detectKeys() {
realammo_txt.text = gun_ar_p[gunkind - 1].ammo;
dollar_txt.text = dollar;
ammo_txt.text = ammo;
ammo1_txt.text = ammo1;
ammo2_txt.text = ammo2;
greande_txt.text = greande;
mine_txt.text = mine;
yyx.text = evilComes;
if (ebullshoot > 35) {
ebullshoot = 0;
go33 = 1;
}
handplace();
if (Key.isDown(16) || (Key.isDown(82))) {
go33 = 0;
rel._x = 650;
rel._y = 150;
rel.gotoAndPlay(2);
if (((gun_ar_p[gunkind - 1].ammokind == null) && (ammo > 0)) && (gunIsNum == 2)) {
if (gun_ar_p[gunkind - 1].ammo < gun_ar_p[gunkind - 1].ammomax) {
if (gun_ar_p[gunkind - 1].ammomax <= ammo) {
gun_ar_p[gunkind - 1].ammo = gun_ar_p[gunkind - 1].ammomax;
ammo = ammo - gun_ar_p[gunkind - 1].ammomax;
}
if (gun_ar_p[gunkind - 1].ammomax > ammo) {
gun_ar_p[gunkind - 1].ammo = gun_ar_p[gunkind - 1].ammomax;
ammo = 0;
}
}
}
if ((gun_ar_p[gunkind - 1].ammokind == "ammo2") && (ammo1 > 0)) {
if (gun_ar_p[gunkind - 1].ammo < gun_ar_p[gunkind - 1].ammomax) {
if (gun_ar_p[gunkind - 1].ammomax <= ammo1) {
gun_ar_p[gunkind - 1].ammo = gun_ar_p[gunkind - 1].ammomax;
ammo1 = ammo1 - gun_ar_p[gunkind - 1].ammomax;
}
if (gun_ar_p[gunkind - 1].ammomax > ammo1) {
gun_ar_p[gunkind - 1].ammo = gun_ar_p[gunkind - 1].ammo + gun_ar_p[gunkind - 1].ammomax;
ammo1 = 0;
}
}
}
if (((gun_ar_p[gunkind - 1].ammokind == null) && (ammo2 > 0)) && (gunIsNum == 4)) {
if (gun_ar_p[gunkind - 1].ammo < gun_ar_p[gunkind - 1].ammomax) {
if (gun_ar_p[gunkind - 1].ammomax <= ammo2) {
gun_ar_p[gunkind - 1].ammo = gun_ar_p[gunkind - 1].ammomax;
ammo2 = ammo2 - gun_ar_p[gunkind - 1].ammomax;
}
if (gun_ar_p[gunkind - 1].ammomax > ammo2) {
gun_ar_p[gunkind - 1].ammo = gun_ar_p[gunkind - 1].ammomax;
ammo2 = 0;
}
}
}
}
if (((Key.isDown(39) || (Key.isDown(68))) && (moveitR < 6)) && (ball._currentframe == 1)) {
moveitR = moveitR + 0.25;
if (ball._xscale < 0) {
ball._xscale = -ball._xscale;
}
}
if (((!Key.isDown(39)) && (!Key.isDown(68))) && (moveitR > 0)) {
moveitR = moveitR - 0.25;
}
var _local3;
if (((Key.isDown(37) || (Key.isDown(65))) && (moveitL < 6)) && (ball._currentframe == 1)) {
moveitL = moveitL + 0.5;
if (ball._xscale > 0) {
ball._xscale = -ball._xscale;
}
}
if (((!Key.isDown(37)) && (!Key.isDown(65))) && (moveitL > 0)) {
moveitL = moveitL - 0.5;
}
if ((Key.isDown(40) || (Key.isDown(83))) && (ball._currentframe == 1)) {
ball.gotoAndStop(2);
ball.iftake = 1;
}
if (((!Key.isDown(40)) && (!Key.isDown(83))) && (ball._currentframe == 2)) {
ball.gotoAndStop(1);
ball.iftake = 0;
}
if ((((!Key.isDown(32)) && (!Key.isDown(17))) && (!Key.isDown(69))) && (!Key.isDown(81))) {
}
if (Key.isDown(32) || (Key.isDown(81))) {
if (mine > 0) {
if (go334 == 1) {
mine--;
go334 = 0;
ebullshoot++;
ebullpac++;
var _local2 = this.attachMovie("mine", ("ball_pac" + ebullpac) + 1, ebullpac + 150000);
pac_shoot[ebullshoot] = _local2;
_local2._x = ball._x;
_local2._y = ball._y;
pac_shoot[ebullshoot].ebullshoot = ebullshoot;
pac_shoot[ebullshoot].onEnterFrame = function () {
mine_fall(this, this.ebullshoot);
};
}
}
}
if ((Key.isDown(17) || (Key.isDown(69))) && (go334 == 1)) {
if (greande > 0) {
greande--;
ebullshoot++;
var _local2 = this.attachMovie("greande", ("ball_pac1" + ebullshoot) + 1, ebullshoot + 150000);
_local2._x = hand._x;
_local2._y = hand._y;
_local2.aa = 0;
pac_shoot[ebullshoot] = _local2;
_local2.rot = hand._rotation;
dis = target_play._x - ball._x;
pac_shoot[ebullshoot].ebullshoot = ebullshoot;
pac_shoot[ebullshoot].onEnterFrame = function () {
m203(this.rot, this.rot, this, this.ebullshoot);
};
go334 = 0;
}
}
if ((((Key.isDown(38) || (Key.isDown(87))) && (moveitJ < 5)) && (ball.pos == "ttt")) && (ball._y > 30)) {
moveitJ = moveitJ + 1;
}
if (((!Key.isDown(38)) && (!Key.isDown(87))) && (moveitJ > 0)) {
if (moveitJ > -5) {
moveitJ = moveitJ - 0.1;
}
}
yy.text = inde2;
if (ball._x < -15) {
ball._x = 750;
}
if (ball._x > 765) {
ball._x = 0;
}
updateAfterEvent();
}
function speedit() {
ball._y = ball._y - moveitJ;
ball._x = ball._x + moveitR;
ball._x = ball._x - moveitL;
head_pl._x = head_pl._x + moveitR;
head_pl._x = head_pl._x - moveitL;
if (((ball._y + ball._height) < 480) && (moveitU < 17)) {
moveitU = moveitU + 0.2;
}
ball._y = ball._y + moveitU;
if ((ball._y + ball._height) > 480) {
ball._y = 480 - ball._height;
moveitU = 0;
ball.pos = "ttt";
}
if ((ball._y + ball._height) == 380) {
moveitU = 0;
}
if (ball.pos != "fly") {
updateAfterEvent();
var _local1 = 0;
while (_local1 < wall_ar.length) {
if (((((ball._x + (ball._width / 2)) > (wall_ar[_local1]._x - (wall_ar[_local1]._width / 2))) && ((ball._x - (ball._width / 2)) < (wall_ar[_local1]._x + (wall_ar[_local1]._width / 2)))) && ((ball._y + (ball._height / 2)) > (wall_ar[_local1]._y - (wall_ar[_local1]._height / 2)))) && ((ball._y - (ball._height / 2)) < (wall_ar[_local1]._y + (wall_ar[_local1]._height / 2)))) {
if (((ball._y + (ball._height / 2)) > ((wall_ar[_local1]._y - (wall_ar[_local1]._height / 2)) - 8)) && ((ball._y + (ball._height / 2)) < ((wall_ar[_local1]._y - (wall_ar[_local1]._height / 2)) + 8))) {
ball._y = (wall_ar[_local1]._y - (wall_ar[_local1]._height / 2)) - 12;
moveitU = 0;
}
if (((ball._y - (ball._height / 2)) < ((wall_ar[_local1]._y + (wall_ar[_local1]._height / 2)) + 7)) && ((ball._y - (ball._height / 2)) > ((wall_ar[_local1]._y + (wall_ar[_local1]._height / 2)) - 7))) {
ball._y = (wall_ar[_local1]._y + (wall_ar[_local1]._height / 2)) + 12;
moveitU = moveitU + 3;
moveitJ = 0;
moveitJ = 5;
}
if (((ball._x - (ball._width / 2)) < ((wall_ar[_local1]._x + (wall_ar[_local1]._width / 2)) + 7)) && ((ball._x - (ball._width / 2)) > ((wall_ar[_local1]._x + (wall_ar[_local1]._width / 2)) - 7))) {
moveitL = -1;
moveitU = 0;
}
if (((ball._x + (ball._width / 2)) > ((wall_ar[_local1]._x - (wall_ar[_local1]._width / 2)) - 7)) && ((ball._x + (ball._width / 2)) < ((wall_ar[_local1]._x - (wall_ar[_local1]._width / 2)) + 7))) {
moveitR = -1;
moveitU = moveitU - 0.2;
}
}
_local1++;
}
_local1 = 0;
while (_local1 < solam_ar.length) {
if (((((ball._x + (ball._width / 2)) > solam_ar[_local1]._x) && ((ball._x - (ball._width / 2)) < solam_ar[_local1]._x)) && ((ball._y + (ball._height / 2)) > (solam_ar[_local1]._y - (solam_ar[_local1]._height / 2)))) && ((ball._y - (ball._height / 2)) < (solam_ar[_local1]._y + (solam_ar[_local1]._height / 2)))) {
ball.solam = 1;
moveitU = moveitU + 0.2;
moveitU = 0;
moveitJ = moveitJ - 0.1;
moveitJ = 0;
if (((Key.isDown(38) || (Key.isDown(87))) && (moveitJ < 5)) && (ball.pos == "ttt")) {
moveitJ = moveitJ + 1.5;
}
if ((Key.isDown(40) || (Key.isDown(83))) && (moveitJ < 5)) {
moveitJ = moveitJ - 2.5;
}
}
_local1++;
}
}
}
function enem_move(ttt, gun, addon, vest, para, num) {
if (ttt.life < 0) {
addon.life = 0;
vest.life = 0;
}
if ((vest.life <= 0) && (vest._y < 460)) {
vest._y = vest._y + 5;
vest._rotation = vest._rotation + 4;
}
if ((((vest.life <= 0) && (vest._y >= 450)) && (vest.aaz != "yes")) && ((vest.trans == "yes") || (vest.fly == "yes"))) {
vest.aaz = "yes";
ttt.life = 0;
create_exp("expol_big", ttt);
eullshoot++;
ebullpac++;
var _local18 = this.attachMovie("mine", ("ball_pac" + ebullpac) + 1, ebullpac + 150000);
pac_shoot[ebullshoot] = _local18;
_local18._x = vest._x;
_local18._y = vest._y;
pac_shoot[ebullshoot].ebullshoot = ebullshoot;
pac_shoot[ebullshoot].onEnterFrame = function () {
mine_fall(this, this.ebullshoot);
};
ttt.ifdied = "yes";
enem_fall_inter = setInterval(fall_enem, 1, ttt, gun, enem_fall_num, ttt._y, addon, vest, num);
enem_fall_ar[enem_fall_num] = enem_fall_inter;
}
if ((addon.life <= 0) && (addon._y < 460)) {
addon._y = addon._y + 5;
addon._rotation = addon._rotation + 4;
}
if ((flag._x > (ttt._x + 15)) && (flag._x < (ttt._x - 15))) {
ttt.flag = "off";
}
if ((ttt.body2._alpha < 30) || (ttt.die1 == "yes")) {
enemy_numb--;
ttt.randoo = random(5);
if (ttt.randoo > 1) {
ttt.randooo = random(10);
stuffit_fall(ttt.randooo, ttt);
}
ttt.gotoAndPlay("visi");
removeMovieClip(ttt);
evilComes--;
clearInterval(bbb[num]);
}
gun._x = ttt._x;
gun._y = ttt._y;
para._x = ttt._x;
para._y = ttt._y;
if (vest.life > 0) {
vest._x = ttt._x;
vest._y = ttt._y;
vest._xscale = ttt._xscale;
}
if (addon.life > 0) {
addon._x = ttt._x;
addon._y = ttt._y - 14;
addon._rotation = (ttt.head._rotation * ttt._xscale) / 100;
addon._xscale = ttt._xscale;
}
myrad = Math.atan2(ball._y - ttt._y, ball._x - ttt._x);
mydeg_ene = (myrad * 180) / Math.PI;
if ((ttt.pos == "up") && (ttt.life > 0)) {
ttt._y = ttt._y - ttt.speed;
}
if ((ttt.pos == "down") && (ttt.life > 0)) {
ttt._y = ttt._y + ttt.speed;
}
_root.mydeg = (myrad * 180) / Math.PI;
if ((ttt.pos == "left") && (ttt.life > 0)) {
ttt._x = ttt._x - ttt.speed;
ttt._rotation = 270;
if (ttt._xscale < 0) {
ttt._xscale = -ttt._xscale;
}
}
if ((ttt.pos == "right") && (ttt.life > 0)) {
ttt._x = ttt._x + ttt.speed;
ttt._rotation = 90;
if (ttt._xscale > 0) {
ttt._xscale = -ttt._xscale;
}
}
if (((((ttt._x - ball._x) > 0) && (ttt.pos != "right")) && (ttt.life > 0)) && (ttt.pos != "para")) {
ttt.head._rotation = mydeg_ene - 180;
gun._rotation = mydeg_ene - 180;
gun._xscale = -ttt._xscale;
if (ttt.head._rotation > 50) {
ttt.head._rotation = 49;
}
}
if (((((ttt._x - ball._x) < 0) && (ttt.pos != "right")) && (ttt.life > 0)) && (ttt.pos != "para")) {
if (ttt.head._rotation > 0) {
ttt.head._rotation = ttt.head._rotation - 3;
gun._rotation = gun._rotation - 5;
}
if (ttt.head._rotation < -5) {
ttt.head._rotation = ttt.head._rotation + 3;
gun._rotation = gun._rotation + 4;
}
}
if (((((ttt._x - ball._x) > 0) && (ttt.pos != "left")) && (ttt.life > 0)) && (ttt.pos != "para")) {
if (ttt.head._rotation > 0) {
ttt.head._rotation = ttt.head._rotation - 3;
gun._rotation = gun._rotation + 5;
}
if (ttt.head._rotation < -5) {
ttt.head._rotation = ttt.head._rotation + 3;
gun._rotation = gun._rotation - 4;
}
}
if (((((ttt._x - ball._x) < 0) && (ttt.pos != "left")) && (ttt.life > 0)) && (ttt.pos != "para")) {
ttt.head._rotation = -mydeg_ene;
gun._rotation = mydeg_ene;
gun._xscale = -ttt._xscale;
if (ttt.head._rotation > 50) {
ttt.head._rotation = 49;
}
}
if (((ttt.pos == "para") || (ttt.pos == "land")) && (ttt.life > 0)) {
if (ttt.pos == "para") {
ttt._y = ttt._y + 3;
}
if ((ttt._x - ball._x) < -10) {
ttt._rotation = 90;
if (ttt._xscale > 0) {
ttt._xscale = -ttt._xscale;
}
}
if ((ttt._x - ball._x) > 10) {
ttt._rotation = 270;
if (ttt._xscale < 0) {
ttt._xscale = -ttt._xscale;
}
}
}
if (((((ttt._x - ball._x) < -100) && (ttt.pos == "left")) && (ttt.flag != "on")) && (vest.fly != "yes")) {
ttt.pos = "right";
}
if (((((ttt._x - ball._x) > 100) && (ttt.pos == "right")) && (ttt.flag != "on")) && (vest.fly != "yes")) {
ttt.pos = "left";
}
if (((((ttt._x - ball._x) < -400) && (ttt.pos == "left")) && (ttt.flag != "on")) && (vest.fly == "yes")) {
ttt.pos = "right";
}
if (((((ttt._x - ball._x) > 400) && (ttt.pos == "right")) && (ttt.flag != "on")) && (vest.fly == "yes")) {
ttt.pos = "left";
}
ax = ttt._x - ball._x;
ay = ttt._y - ball._y;
rang = gun.range_s;
if (((((((ax > (-rang)) && (ax < rang)) && (ay < rang)) && (ay > (-rang))) && (gun.shoot == "on")) && (ttt.ifshot > 3)) && ((((ttt.pos != "no") && (ttt.pos != "yes")) && (ttt.pos != "para")) && (vest.fly != "yes"))) {
shoot_en_bul(gun, ttt, addon);
gun.shoot = "off";
}
if (((((ax > (-rang)) && (ax < rang)) && (gun.shoot == "on")) && (ttt.ifshot > 3)) && ((((ttt.pos != "no") && (ttt.pos != "yes")) && (ttt.pos != "para")) && (vest.fly == "yes"))) {
shoot_en_bul(gun, ttt, vest);
gun.shoot = "off";
}
var _local6 = 0;
while (_local6 < pac_shoot.length) {
if (((((((ttt._x + (ttt._width / 2)) > pac_shoot[_local6]._x) && ((ttt._x - (ttt._width / 2)) < pac_shoot[_local6]._x)) && ((ttt._y + (ttt._height / 2)) > pac_shoot[_local6]._y)) && ((ttt._y - (ttt._height / 2)) < pac_shoot[_local6]._y)) && (ttt.life >= 0)) && (pac_shoot[_local6]._visible != 0)) {
box.gotoAndPlay("hit");
ebullshoot++;
ttt.ifshot = 1;
ebullpac++;
if (ttt.life < 6) {
if (pac_shoot[_local6].bloodtype != null) {
ballbloo = pac_shoot[_local6].bloodtype;
} else {
ballbloo = "bloodin";
}
var _local9 = ttt.body.body.attachMovie(ballbloo, "ball_pac1", 600);
_local9._y = (pac_shoot[_local6]._x - ttt._x) / 2;
_local9._x = (-(pac_shoot[_local6]._y - ttt._y)) / 1.4;
}
if (ttt.life < 2) {
var _local8 = _root.attachMovie("blood_anim", ("blood" + ebullshoot) + 1, ebullshoot + 154000);
_local8._x = ttt._x + ((pac_shoot[_local6]._x - ttt._x) / 2);
_local8._y = ttt._y + ((pac_shoot[_local6]._y - ttt._y) / 1.4);
blood_ar[ebullshoot] = _local8;
rotat = random(100) + 130;
blood_ar[ebullshoot].ebullshoot = ebullshoot;
blood_ar[ebullshoot].rotat = rotat;
blood_ar[ebullshoot].onEnterFrame = function () {
blood_move(this, this.ebullshoot, this.rotat);
};
}
ebullshoot++;
if (pac_shoot[_local6].bloodtype == "bloodin_rifle") {
bloodof = "bloodmed_hit";
} else if (pac_shoot[_local6].bloodtype == "bloodin_shot") {
bloodof = "bloodbig_hit";
} else {
bloodof = "blood_hit";
}
var _local8 = _root.attachMovie(bloodof, ("blood" + ebullshoot) + 1, ebullshoot + 154000);
_local8._x = ttt._x + ((pac_shoot[_local6]._x - ttt._x) / 2);
_local8._y = ttt._y + ((pac_shoot[_local6]._y - ttt._y) / 1.4);
blood_ar[ebullshoot] = _local8;
rotat = random(100) + 130;
blood_ar[ebullshoot].ebullshoot = ebullshoot;
blood_ar[ebullshoot].rotat = rotat;
if ((pac_shoot[_local6]._y - ttt._y) < (ttt.head._y - (ttt.head._height / 2))) {
ttt.life = ttt.life - 2;
if (ttt.life < 1) {
ttt.head.gotoAndStop("headdie");
box.gotoAndPlay("headshot");
}
if ((ttt.life < 4) && (ttt.life >= 1)) {
ttt.head.gotoAndStop("headhit");
box.gotoAndPlay("headshot");
}
dollar = dollar + 30;
}
if ((ttt.pos != "up") && (ttt.pos != "down")) {
ttt._x = ttt._x + ((ttt._xscale / 100) * 5);
}
ttt.speed = 1;
if (pac_shoot[_local6].ldown <= 0) {
ttt.life--;
}
if (pac_shoot[_local6].ldown > 0) {
ttt.life = ttt.life - pac_shoot[_local6].ldown;
}
pac_shoot[_local6].explo = "yes";
if (pac_shoot[_local6].end != "yes") {
pac_shoot[_local6]._visible = 0;
}
if (pac_shoot[_local6].tnt == "yes") {
pac_shoot[_local6].tnt = "hit";
}
enem_fall_num++;
if ((ttt.life < 0) && (ttt.ifdied != "yes")) {
this.ifdied = "yes";
enem_fall_inter = setInterval(fall_enem, 1, ttt, gun, enem_fall_num, ttt._y, addon, vest, num);
enem_fall_ar[enem_fall_num] = enem_fall_inter;
}
if (((ttt.life < 0) && (ttt._y >= 450)) && (ttt._currentframe == 1)) {
ttt.gotoAndPlay(2);
re(addon);
re(vest);
if ((vest.trans == "no") || (vest.trans == "yes")) {
trace("themoney");
}
re(para);
gun.ran = random(4);
if (gun.ran >= 2) {
ammoit(gun.kindof, gun);
}
removeMovieClip(gun);
}
}
_local6++;
}
if (((((ttt._x + 8) > flag._x) && ((ttt._x - 8) < flag._x)) && ((ttt._y + (ttt._height / 2)) > flag._y)) && ((ttt._y - (ttt._height / 2)) < flag._y)) {
flag._x = ttt._x - 4;
flag._y = ttt._y;
ttt.flag = "on";
flag.iftake = "yes";
if (fl_place._currentframe == 1) {
fl_place.gotoAndPlay(2);
}
if (ttt.pos == "land") {
ttt.pos = "right";
}
}
_local6 = 0;
while (_local6 < upto_ar.length) {
if (((((((ttt._x + 3) > upto_ar[_local6]._x) && ((ttt._x - 3) < upto_ar[_local6]._x)) && ((ttt._y + (ttt._height / 2)) > (upto_ar[_local6]._y - (upto_ar[_local6]._height / 2)))) && ((ttt._y - (ttt._height / 2)) < (upto_ar[_local6]._y + (upto_ar[_local6]._height / 2)))) && ((ttt.pos == "left") || (ttt.pos == "right"))) && (vest.trans != "yes")) {
if ((((ttt._y > (ball._y + 90)) && (ttt.flag != "on")) && (vest.fly != "yes")) && (vest.trans != "yes")) {
ttt.pos = "up";
}
}
_local6++;
}
_local6 = 0;
while (_local6 < downto_ar.length) {
if (((((((ttt._x + 3) > downto_ar[_local6]._x) && ((ttt._x - 3) < downto_ar[_local6]._x)) && ((ttt._y + (ttt._height / 2)) > (downto_ar[_local6]._y - (downto_ar[_local6]._height / 2)))) && ((ttt._y - (ttt._height / 2)) < (downto_ar[_local6]._y + (downto_ar[_local6]._height / 2)))) && ((ttt.pos == "left") || (ttt.pos == "right"))) && (vest.trans != "yes")) {
if (ttt._y < (ball._y + 15)) {
ttt.pos = "down";
}
}
_local6++;
}
_local6 = 0;
while (_local6 < leftgo_ar.length) {
if ((((((ttt._x + (ttt._width / 2)) > (leftgo_ar[_local6]._x - (leftgo_ar[_local6]._width / 2))) && ((ttt._x - (ttt._width / 2)) < (leftgo_ar[_local6]._x + (leftgo_ar[_local6]._width / 2)))) && ((ttt._y + (ttt._height / 2)) > (leftgo_ar[_local6]._y - (leftgo_ar[_local6]._height / 2)))) && ((ttt._y - (ttt._height / 2)) < (leftgo_ar[_local6]._y + (leftgo_ar[_local6]._height / 2)))) && (ttt.pos != "para")) {
if ((ball._x - ttt._x) > 50) {
ttt.pos = "right";
}
if ((ball._x - ttt._x) < 50) {
ttt.pos = "xx";
}
}
_local6++;
}
_local6 = 0;
while (_local6 < rightgo_ar.length) {
if ((((((ttt._x + (ttt._width / 2)) > (rightgo_ar[_local6]._x - (rightgo_ar[_local6]._width / 2))) && ((ttt._x - (ttt._width / 2)) < (rightgo_ar[_local6]._x + (rightgo_ar[_local6]._width / 2)))) && ((ttt._y + (ttt._height / 2)) > (rightgo_ar[_local6]._y - (rightgo_ar[_local6]._height / 2)))) && ((ttt._y - (ttt._height / 2)) < (rightgo_ar[_local6]._y + (rightgo_ar[_local6]._height / 2)))) && (ttt.pos != "para")) {
if ((ball._x - ttt._x) < 50) {
ttt.pos = "left";
}
if ((ball._x - ttt._x) > 50) {
ttt.pos = "xx";
}
}
_local6++;
}
_local6 = 0;
while (_local6 < leftto_ar.length) {
if ((((((ttt._x + (ttt._width / 2)) > (leftto_ar[_local6]._x - (leftto_ar[_local6]._width / 2))) && ((ttt._x - (ttt._width / 2)) < (leftto_ar[_local6]._x + (leftto_ar[_local6]._width / 2)))) && ((ttt._y + (ttt._height / 2)) > (leftto_ar[_local6]._y - (leftto_ar[_local6]._height / 2)))) && ((ttt._y - (ttt._height / 2)) < (leftto_ar[_local6]._y + (leftto_ar[_local6]._height / 2)))) && (ttt.pos == "up")) {
ttt._x = ttt._x + 40;
ttt.pos = "left";
}
_local6++;
}
_local6 = 0;
while (_local6 < rightto_ar.length) {
if ((((((ttt._x + (ttt._width / 2)) > (rightto_ar[_local6]._x - (rightto_ar[_local6]._width / 2))) && ((ttt._x - (ttt._width / 2)) < (rightto_ar[_local6]._x + (rightto_ar[_local6]._width / 2)))) && ((ttt._y + (ttt._height / 2)) > (rightto_ar[_local6]._y - (rightto_ar[_local6]._height / 2)))) && ((ttt._y - (ttt._height / 2)) < (rightto_ar[_local6]._y + (rightto_ar[_local6]._height / 2)))) && (ttt.pos == "up")) {
ttt._x = ttt._x - 40;
ttt.pos = "right";
}
_local6++;
}
_local6 = 0;
while (_local6 < lefttoup_ar.length) {
if ((((((ttt._x + (ttt._width / 2)) > (lefttoup_ar[_local6]._x - (lefttoup_ar[_local6]._width / 2))) && ((ttt._x - (ttt._width / 2)) < (lefttoup_ar[_local6]._x + (lefttoup_ar[_local6]._width / 2)))) && ((ttt._y + (ttt._height / 2)) > (lefttoup_ar[_local6]._y - (lefttoup_ar[_local6]._height / 2)))) && ((ttt._y - (ttt._height / 2)) < (lefttoup_ar[_local6]._y + (lefttoup_ar[_local6]._height / 2)))) && (ttt.pos == "down")) {
ttt.pos = "left";
}
_local6++;
}
_local6 = 0;
while (_local6 < righttoup_ar.length) {
if ((((((ttt._x + (ttt._width / 2)) > (righttoup_ar[_local6]._x - (righttoup_ar[_local6]._width / 2))) && ((ttt._x - (ttt._width / 2)) < (righttoup_ar[_local6]._x + (righttoup_ar[_local6]._width / 2)))) && ((ttt._y + (ttt._height / 2)) > (righttoup_ar[_local6]._y - (righttoup_ar[_local6]._height / 2)))) && ((ttt._y - (ttt._height / 2)) < (righttoup_ar[_local6]._y + (righttoup_ar[_local6]._height / 2)))) && (ttt.pos == "down")) {
ttt.pos = "right";
}
_local6++;
}
_local6 = 0;
while (_local6 < land_ar.length) {
if ((((((ttt._x + (ttt._width / 2)) > (land_ar[_local6]._x - (land_ar[_local6]._width / 2))) && ((ttt._x - (ttt._width / 2)) < (land_ar[_local6]._x + (land_ar[_local6]._width / 2)))) && ((ttt._y + (ttt._height / 2)) > (land_ar[_local6]._y - (land_ar[_local6]._height / 2)))) && ((ttt._y - (ttt._height / 2)) < (land_ar[_local6]._y + (land_ar[_local6]._height / 2)))) && (ttt.pos == "para")) {
ttt.pos = "land";
re(para);
}
_local6++;
}
_local6 = 0;
while (_local6 < explode_ar.length) {
if (((((((ttt._x + (ttt._width / 2)) > (explode_ar[_local6]._x - (explode_ar[_local6]._width / 2))) && ((ttt._x - (ttt._width / 2)) < (explode_ar[_local6]._x + (explode_ar[_local6]._width / 2)))) && ((ttt._y + (ttt._height / 2)) > (explode_ar[_local6]._y - (explode_ar[_local6]._height / 2)))) && ((ttt._y - (ttt._height / 2)) < (explode_ar[_local6]._y + (explode_ar[_local6]._height / 2)))) && (ttt.pos != "fly")) && (explode_ar[_local6]._currentframe == 5)) {
if ((addon.life <= 0) && (vest.life <= 0)) {
ebullpac++;
ttt.pos = "fly";
ttt.explo = "yes";
da = ttt._x - explode_ar[_local6]._x;
dam = Math.abs(da);
enemy_fly_ar[ebullpac] = setInterval(enemydie, 10, (da / dam) * 30, dam * 5, ttt, gun, ebullpac, addon, vest);
}
if (explode_ar[_local6].ldown <= 0) {
if (vest.life > 10) {
vest.life = vest.life - 10;
} else {
addon.life = addon.life - 4;
vest.life = vest.life - 4;
}
ttt.explo = "yes";
}
if (explode_ar[_local6].ldown > 0) {
if (vest.life > 10) {
vest.life = vest.life - (explode_ar[_local6].ldown * 5);
} else {
vest.life = vest.life - (explode_ar[_local6].ldown + 3);
addon.life = addon.life - (explode_ar[_local6].ldown + 3);
}
ttt.explo = "yes";
}
explode_ar[_local6].ifdie = "yes";
var _local11 = new Color(vest);
var _local10 = {ra:50, ga:50, ba:50, aa:100};
_local11.setTransform(_local10);
}
_local6++;
}
if (((((ttt._x + (ttt._width / 2)) > (overlop._x - (overlop._width / 2))) && ((ttt._x - (ttt._width / 2)) < (overlop._x + (overlop._width / 2)))) && ((ttt._y + (ttt._height / 2)) > (overlop._y - (overlop._height / 2)))) && ((ttt._y - (ttt._height / 2)) < (overlop._y + (overlop._height / 2)))) {
ttt._x = 760;
}
if (((((ttt._x + (ttt._width / 2)) > (overlop2._x - (overlop2._width / 2))) && ((ttt._x - (ttt._width / 2)) < (overlop2._x + (overlop2._width / 2)))) && ((ttt._y + (ttt._height / 2)) > (overlop2._y - (overlop2._height / 2)))) && ((ttt._y - (ttt._height / 2)) < (overlop2._y + (overlop2._height / 2)))) {
ttt._x = -10;
}
if ((vest.trans == "yes") && (vest.life <= 0)) {
re(gun);
if (vest.fly == "yes") {
ttt.life = -1;
ttt.pos = "para";
vest.trans = "no";
enem_fall_num++;
enem_fall_inter = setInterval(fall_enem, 1, ttt, gun, enem_fall_num, ttt._y, addon, vest, num, para);
enem_fall_ar[enem_fall_num] = enem_fall_inter;
}
}
_local6 = 0;
while (_local6 < pac_shoot.length) {
if ((((((((vest._x + (vest._width / 2)) > (pac_shoot[_local6]._x - (pac_shoot[_local6]._width / 2))) && ((vest._x - (vest._width / 2)) < (pac_shoot[_local6]._x + (pac_shoot[_local6]._width / 2)))) && ((vest._y + (vest._height / 2)) > pac_shoot[_local6]._y)) && ((vest._y - (vest._height / 2)) < pac_shoot[_local6]._y)) && (vest.life >= 0)) && (pac_shoot[_local6].end != "yes")) && (pac_shoot[_local6]._visible != 0)) {
if (pac_shoot[_local6].ldown <= 0) {
vest.life = vest.life - 1;
}
if (pac_shoot[_local6].ldown > 0) {
vest.life = vest.life - pac_shoot[_local6].ldown;
}
ebullpac++;
var _local9 = vest.attachMovie("ironin", ("ball_pac" + ebullpac) + 1, ebullpac + 150000);
_local9._x = (pac_shoot[_local6]._x - vest._x) / 6;
_local9._y = (pac_shoot[_local6]._y - vest._y) / 3;
ebullshoot++;
var _local8 = _root.attachMovie("iron_hit", ("iron" + ebullshoot) + 1, ebullshoot + 157000);
_local8._x = vest._x + ((pac_shoot[_local6]._x - vest._x) / 2);
_local8._y = vest._y + ((pac_shoot[_local6]._y - vest._y) / 1.4);
blood_ar[ebullshoot] = _local8;
blood_ar[ebullshoot].ebullshoot = ebullshoot;
pac_shoot[_local6]._visible = 0;
if ((ttt.pos != "up") && (ttt.pos != "down")) {
ttt._x = ttt._x + ((6 * ttt._xscale) / 100);
}
ttt.ifshot = 3;
}
_local6++;
}
_local6 = 0;
while (_local6 < pac_shoot.length) {
if ((((((((addon._x + (addon._width / 2)) > (pac_shoot[_local6]._x - (pac_shoot[_local6]._width / 2))) && ((addon._x - (addon._width / 2)) < (pac_shoot[_local6]._x + (pac_shoot[_local6]._width / 2)))) && ((addon._y + (addon._height / 2)) > pac_shoot[_local6]._y)) && ((addon._y - (addon._height / 2)) < pac_shoot[_local6]._y)) && (addon.life >= 0)) && (pac_shoot[_local6].end != "yes")) && (pac_shoot[_local6]._visible != 0)) {
ebullshoot++;
var _local8 = _root.attachMovie("iron_hit", ("iron" + ebullshoot) + 1, ebullshoot + 154000);
_local8._x = addon._x + ((pac_shoot[_local6]._x - addon._x) / 2);
_local8._y = addon._y + ((pac_shoot[_local6]._y - addon._y) / 1.4);
blood_ar[ebullshoot] = _local8;
rotat = random(100) + 130;
blood_ar[ebullshoot].ebullshoot = ebullshoot;
blood_ar[ebullshoot].rotat = rotat;
if (pac_shoot[_local6].ldown <= 0) {
addon.life = addon.life - 1;
}
if (pac_shoot[_local6].ldown > 0) {
addon.life = addon.life - pac_shoot[_local6].ldown;
}
pac_shoot[_local6]._visible = 0;
}
_local6++;
}
updateAfterEvent();
}
function when_shot_ene(enem) {
enem.ifshot++;
if (enem.ifshot > 5) {
enem.ifshot = 0;
}
}
var mydeg = 0;
var enemy_fly_ar = new Array();
if (musicon == 1) {
box.gotoAndPlay("music1");
}
enemy_numb = 0;
ball.solam = 0;
go334 = 1;
var moveitR = 0;
var moveitL = 0;
var moveitU = 0;
var moveitJ = 0;
var inter_move;
ball.pos = "ttt";
var bbb = new Array();
var enem_ar = new Array();
var gun_ar = new Array();
var addons_ar = new Array();
var vest_ar = new Array();
var para_ar = new Array();
var inter_en;
var when_shoot_num = 0;
var when_shoot_ar = new Array("2", "3");
var e_num = 0;
addenemy_pos("enemy", 100 + place, 0, "en_m203", "hat", "vest", "para", 1, 1);
function doall() {
}
if (level == 1) {
gunof5 = 6;
}
if (gunof5 > 0) {
stuffit(gunof5, 150);
}
if (gunof6 > 0) {
stuffit(gunof6, 200);
}
if (gunof7 > 0) {
stuffit(gunof7, 250);
}
if (gunof8 > 0) {
stuffit(gunof8, 300);
}
trace(playerframe);
head_pl.gotoAndStop(playerframe);
ball.body.gotoAndPlay(_root.playerframe);
flag._x = fl_place._x;
flag._y = fl_place._y;
Instance of Symbol 209 MovieClip [empty] "controller" in Frame 4
onClipEvent (enterFrame) {
_root.detectKeys();
_root.speedit();
_root.hit_enemy();
_root.hit_vest();
_root.checklife();
_root.checklife();
}
Instance of Symbol 628 MovieClip "target_play" in Frame 4
onClipEvent (load) {
}
onClipEvent (enterFrame) {
myrad = Math.atan2(this._y - _root.ball._y, this._x - _root.ball._x);
if (_root.ball._xscale > 0) {
_root.mydeg = (myrad * 180) / Math.PI;
} else if (_root.ball._xscale < 0) {
_root.mydeg = (myrad * 180) / Math.PI;
}
}
Frame 5
level++;
box1.ison = "on";
box1.gotoAndPlay(2);
dollar_all = dollar_all + dollar;
obj1_pr = random(700) + 1700;
if (playerframe == 3) {
obj1_pr = obj1_pr - 500;
}
obj2_pr = random(500) + 1200;
obj3_pr = random(850) + 2400;
if (playerframe == 4) {
obj3_pr = obj3_pr - 500;
}
obj4_pr = random(400) + 1300;
obj5_pr = random(5) + 28;
obj6_pr = random(15) + 42;
obj7_pr = random(15) + 42;
obj8_pr = random(15) + 42;
obj9_pr = obj7_pr;
obj10_pr = random(4) + 18;
obj11_pr = random(800) + 1800;
obj12_pr = random(500) + 1300;
obj13_pr = random(600) + 1200;
obj14_pr = random(400) + 900;
obj15_pr = random(900) + 2800;
obj16_pr = random(1500) + 4500;
obj17_pr = random(1000) + 2800;
obj18_pr = random(1000) + 4000;
obj19_pr = random(800) + 2600;
if (playerframe == 1) {
obj19_pr = obj19_pr - 500;
}
obj20_pr = random(1200) + 5000;
if (playerframe == 11) {
obj20_pr = obj20_pr - 1500;
}
obj21_pr = random(800) + 3500;
if (playerframe == 6) {
obj21_pr = obj21_pr - 600;
}
obj22_pr = random(900) + 3000;
obj23_pr = random(900) + 7500;
if (playerframe == 12) {
obj23_pr = obj23_pr - 2000;
}
obj24_pr = random(800) + 5500;
obj25_pr = random(800) + 5400;
if (playerframe == 10) {
obj25_pr = obj25_pr - 900;
}
obj26_pr = random(900) + 2800;
if (playerframe == 7) {
obj26_pr = obj26_pr - 500;
}
obj27_pr = random(800) + 7400;
if (playerframe == 3) {
obj27_pr = obj27_pr - 1000;
}
obj28_pr = random(400) + 4000;
if (playerframe == 9) {
obj28_pr = obj28_pr - 800;
}
obj29_pr = 4000;
if (playerframe == 8) {
obj29_pr = obj29_pr - 1000;
}
obj30_pr = random(800) + 5000;
if (playerframe == 5) {
obj30_pr = obj30_pr - 1000;
}
if (level < 3) {
obj1_pr = "Stock";
obj12_pr = "Stock";
obj2_pr = "Stock";
obj3_pr = "Stock";
obj26_pr = "Stock";
}
if (level < 4) {
obj11_pr = "Stock";
obj15_pr = "Stock";
obj16_pr = "Stock";
obj17_pr = "Stock";
obj18_pr = "Stock";
obj19_pr = "Stock";
obj20_pr = "Stock";
obj21_pr = "Stock";
obj22_pr = "Stock";
}
gunof5 = "";
gunof6 = "";
Mouse.show();
stop();
level_txt.text = level;
flag._x = 300;
flag._y = -1000;
i = 0;
while (i < 10000) {
clearInterval(i);
i++;
}
var i = 0;
while (i < pac_shoot_ar.length) {
clearInterval(pac_shoot_ar[i]);
i++;
}
var i = 0;
while (i < enem_shoot_ar.length) {
clearInterval(enem_shoot_ar[i]);
i++;
}
var i = 0;
while (i < bbb.length) {
clearInterval(bbb[i]);
i++;
}
var i = 0;
while (i < fade_inter_ar.length) {
clearInterval(fade_inter_ar[i]);
i++;
}
var i = 0;
while (i < enem_fall_ar.length) {
clearInterval(enem_fall_ar[i]);
i++;
}
var i = 0;
while (i < blood_inter_ar.length) {
clearInterval(blood_inter_ar[i]);
i++;
}
var i = 0;
while (i < when_shoot_ar.length) {
clearInterval(when_shoot_ar[i]);
i++;
}
var i = 0;
while (i < enemy_fly_ar.length) {
clearInterval(enemy_fly_ar[i]);
i++;
}
var i = 0;
while (i < re_ar.length) {
clearInterval(re_ar[i]);
i++;
}
var i = 0;
while (i < para_ar.length) {
clearInterval(para_ar[i]);
i++;
}
i = 0;
while (i < auto_ar.length) {
clearInterval(auto_ar[i]);
i++;
}
clearInterval(inter_mouse);
clearInterval(time_in);
var i = 0;
while (i < pac_shoot.length) {
removeMovieClip(pac_shoot[i]);
i++;
}
var i = 0;
while (i < enem_shoot.length) {
removeMovieClip(enem_shoot[i]);
i++;
}
var i = 0;
while (i < enem_ar.length) {
removeMovieClip(enem_ar[i]);
i++;
}
var i = 0;
while (i < gun_ar.length) {
removeMovieClip(gun_ar[i]);
i++;
}
var i = 0;
while (i < addons_ar.length) {
removeMovieClip(addons_ar[i]);
i++;
}
var i = 0;
while (i < blood_ar.length) {
removeMovieClip(blood_ar[i]);
i++;
}
var i = 0;
while (i < explode_ar.length) {
removeMovieClip(explode_ar[i]);
i++;
}
var i = 0;
while (i < vest_ar.length) {
removeMovieClip(vest_ar[i]);
i++;
}
var i = 0;
while (i < impact_ar.length) {
removeMovieClip(impact_ar[i]);
i++;
}
var i = 0;
while (i < para_ar.length) {
removeMovieClip(para_ar[i]);
i++;
}
var i = 0;
while (i < ammo_ar.length) {
removeMovieClip(ammo_ar[i]);
i++;
}
var i = 0;
while (i < stuff_ar.length) {
removeMovieClip(stuff_ar[i]);
i++;
}
function detectKeys2() {
realammo_txt.text = gun_ar_p[gunkind - 1].ammo;
dollar_txt.text = dollar;
ammo_txt.text = ammo;
ammo1_txt.text = ammo1;
ammo2_txt.text = ammo2;
greande_txt.text = greande;
mine_txt.text = mine;
lifeint = int(life_num);
life.gotoAndStop(lifeint);
}
box1.txt.text = "Weapons";
box2.txt.text = "Weapons";
var enemy_mp3 = new Sound();
enemy_mp3.attachSound("heli.wav");
enemy_mp3.stop();
if (gunof2 == 2) {
box1.txt.text = "m203";
}
if (gunof2 == 3) {
box1.txt.text = "ak47";
}
if (gunof2 == 4) {
box1.txt.text = "M16 Colt";
}
if (gunof2 == 5) {
box1.txt.text = "mp5 SK";
}
if (gunof2 == 7) {
box1.txt.text = "Law MISSLE";
}
if (gunof2 == 8) {
box1.txt.text = "Shotgun 12g";
}
if (gunof2 == 9) {
box1.txt.text = "M1 carabine";
}
if (gunof2 == 10) {
box1.txt.text = "MICRO UZI IMI";
}
if (gunof2 == 11) {
box1.txt.text = "Styer Aug";
}
if (gunof2 == 12) {
box1.txt.text = "AT";
}
if (gunof2 == 13) {
box1.txt.text = "RPG";
}
if (gunof2 == 14) {
box1.txt.text = "M5 sniper";
}
if (gunof2 == 15) {
box1.txt.text = "MP5 - NAVY";
}
if (gunof2 == 16) {
box1.txt.text = "AT-LASER";
}
if (gunof2 == 17) {
box1.txt.text = "AK SU Spetz Netz";
}
if (gunof2 == 18) {
box1.txt.text = "MP5 - SD";
}
if (gunof2 == 19) {
box1.txt.text = "M60";
}
if (gunof2 == 20) {
box1.txt.text = "pk90";
}
if (gunof2 == 21) {
box1.txt.text = "magnum";
}
if (gunof2 == 22) {
box1.txt.text = "p90";
}
if (gunof2 == 23) {
box1.txt.text = "Commando";
}
if (gunof2 == 24) {
box1.txt.text = "G36";
}
if (gunof2 == 25) {
box1.txt.text = "Shotgun-A";
}
if (gunof2 == 26) {
box1.txt.text = "M4 marines";
}
if (gunof4 == 2) {
box2.txt.text = "m203";
}
if (gunof4 == 3) {
box2.txt.text = "ak47";
}
if (gunof4 == 4) {
box2.txt.text = "M16 Colt";
}
if (gunof4 == 5) {
box2.txt.text = "mp5 SK";
}
if (gunof4 == 7) {
box2.txt.text = "Law MISSLE";
}
if (gunof4 == 8) {
box2.txt.text = "Shotgun 12g";
}
if (gunof4 == 9) {
box2.txt.text = "M1 carabine";
}
if (gunof4 == 10) {
box2.txt.text = "MICRO UZI IMI";
}
if (gunof4 == 11) {
box2.txt.text = "Styer Aug";
}
if (gunof4 == 12) {
box2.txt.text = "AT";
}
if (gunof4 == 13) {
box2.txt.text = "RPG";
}
if (gunof4 == 14) {
box2.txt.text = "M5 sniper";
}
if (gunof4 == 15) {
box2.txt.text = "MP5 - NAVY";
}
if (gunof4 == 16) {
box2.txt.text = "AT-LASER";
}
if (gunof4 == 17) {
box2.txt.text = "AK SU Spetz Netz";
}
if (gunof4 == 18) {
box2.txt.text = "MP5 - SD";
}
if (gunof4 == 19) {
box2.txt.text = "M60";
}
if (gunof4 == 20) {
box2.txt.text = "pk90";
}
if (gunof4 == 21) {
box2.txt.text = "magnum";
}
if (gunof4 == 22) {
box2.txt.text = "p90";
}
if (gunof4 == 23) {
box2.txt.text = "Commando";
}
if (gunof4 == 24) {
box2.txt.text = "G36";
}
if (gunof4 == 25) {
box2.txt.text = "Shotgun-A";
}
if (gunof4 == 26) {
box2.txt.text = "M4 marines";
}
if (_root.soundon == 1) {
_root.effect_txt.text = "sound:OFF";
}
removeMovieClip(target_play);
Instance of Symbol 209 MovieClip [empty] "controller" in Frame 5
onClipEvent (enterFrame) {
_root.detectKeys2();
}
Frame 6
function detectKeys() {
if (Key.isDown(32)) {
if (loadit._currentframe > 40) {
gotoAndPlay ("lAction");
}
}
}
Mouse.show();
var enemy_mp3 = new Sound();
enemy_mp3.attachSound("heli.wav");
enemy_mp3.stop();
level_txt.text = "Level " + level;
stop();
i = 0;
while (i < 10000) {
clearInterval(i);
i++;
}
var i = 0;
while (i < pac_shoot_ar.length) {
clearInterval(pac_shoot_ar[i]);
i++;
}
var i = 0;
while (i < enem_shoot_ar.length) {
clearInterval(enem_shoot_ar[i]);
i++;
}
var i = 0;
while (i < bbb.length) {
clearInterval(bbb[i]);
i++;
}
var i = 0;
while (i < fade_inter_ar.length) {
clearInterval(fade_inter_ar[i]);
i++;
}
var i = 0;
while (i < enem_fall_ar.length) {
clearInterval(enem_fall_ar[i]);
i++;
}
var i = 0;
while (i < blood_inter_ar.length) {
clearInterval(blood_inter_ar[i]);
i++;
}
var i = 0;
while (i < when_shoot_ar.length) {
clearInterval(when_shoot_ar[i]);
i++;
}
var i = 0;
while (i < enemy_fly_ar.length) {
clearInterval(enemy_fly_ar[i]);
i++;
}
var i = 0;
while (i < re_ar.length) {
clearInterval(re_ar[i]);
i++;
}
var i = 0;
while (i < para_ar.length) {
clearInterval(para_ar[i]);
i++;
}
i = 0;
while (i < auto_ar.length) {
clearInterval(auto_ar[i]);
i++;
}
clearInterval(inter_mouse);
clearInterval(time_in);
var i = 0;
while (i < pac_shoot.length) {
removeMovieClip(pac_shoot[i]);
i++;
}
var i = 0;
while (i < enem_shoot.length) {
removeMovieClip(enem_shoot[i]);
i++;
}
var i = 0;
while (i < enem_ar.length) {
removeMovieClip(enem_ar[i]);
i++;
}
var i = 0;
while (i < gun_ar.length) {
removeMovieClip(gun_ar[i]);
i++;
}
var i = 0;
while (i < addons_ar.length) {
removeMovieClip(addons_ar[i]);
i++;
}
var i = 0;
while (i < blood_ar.length) {
removeMovieClip(blood_ar[i]);
i++;
}
var i = 0;
while (i < explode_ar.length) {
removeMovieClip(explode_ar[i]);
i++;
}
var i = 0;
while (i < vest_ar.length) {
removeMovieClip(vest_ar[i]);
i++;
}
var i = 0;
while (i < impact_ar.length) {
removeMovieClip(impact_ar[i]);
i++;
}
var i = 0;
while (i < para_ar.length) {
removeMovieClip(para_ar[i]);
i++;
}
var i = 0;
while (i < ammo_ar.length) {
removeMovieClip(ammo_ar[i]);
i++;
}
var i = 0;
while (i < stuff_ar.length) {
removeMovieClip(stuff_ar[i]);
i++;
}
ads_ar = new Array(ad1, ad2, ad3, ad4, ad5, ad6, ad8);
i = 0;
while (i < ads_ar.length) {
ads_ar[i]._x = 1000;
ads_ar[i]._y = 1000;
i++;
}
if (level == 1) {
level_txt._x = 1000;
level_txt._y = 1000;
ad8._x = 387.4;
ad8._y = 243.6;
rnum6 = random(5);
if (rnum6 == 0) {
ad3._x = 375;
ad3._y = 60;
}
if (rnum6 == 1) {
ad2._x = 375;
ad2._y = 60;
}
if (rnum6 == 2) {
ad4._x = 375;
ad4._y = 60;
}
if (rnum6 == 3) {
ad5._x = 375;
ad5._y = 60;
}
if (rnum6 == 4) {
ad6._x = 375;
ad6._y = 60;
}
}
if (level == 2) {
rnum6 = random(5);
ad1._x = 375;
ad1._y = 255;
if (rnum6 == 0) {
ad3._x = 375;
ad3._y = 175;
}
if (rnum6 == 1) {
ad2._x = 375;
ad2._y = 175;
}
if (rnum6 == 2) {
ad4._x = 375;
ad4._y = 175;
}
if (rnum6 == 3) {
ad5._x = 375;
ad5._y = 175;
}
if (rnum6 == 4) {
ad6._x = 375;
ad6._y = 175;
}
}
if (level == 3) {
ad2._x = 375;
ad2._y = 175;
ad1._x = 375;
ad1._y = 255;
}
if (level == 4) {
ad4._x = 375;
ad4._y = 175;
ad3._x = 375;
ad3._y = 255;
}
if (level == 5) {
ad5._x = 375;
ad5._y = 175;
ad4._x = 375;
ad4._y = 255;
}
if (level == 6) {
ad6._x = 375;
ad6._y = 175;
ad5._x = 375;
ad5._y = 255;
}
if (level == 7) {
ad1._x = 375;
ad1._y = 175;
ad6._x = 375;
ad6._y = 255;
}
if (level == 8) {
ad2._x = 375;
ad2._y = 175;
ad3._x = 375;
ad3._y = 255;
}
if (level == 9) {
ad4._x = 375;
ad4._y = 175;
ad5._x = 375;
ad5._y = 255;
}
if (level == 10) {
ad1._x = 375;
ad1._y = 175;
ad5._x = 375;
ad5._y = 255;
}
Instance of Symbol 209 MovieClip [empty] "controller" in Frame 6
onClipEvent (enterFrame) {
_root.detectKeys();
_root.speedit();
_root.hit_enemy();
_root.hit_vest();
_root.checklife();
}
Frame 7
view.onRelease = function () {
_root.swHighScoreObject.showTab = "view";
docount = true;
loadMovieNum (_root.HSHubURL, 2);
};
submit.onRelease = function () {
_level0.swHighScoreObject.player1Score = dollar_all;
_root.swHighScoreObject.showTab = "submit";
docount = true;
loadMovieNum (_root.HSHubURL, 2);
};
function detectKeys() {
if (Key.isDown(39)) {
}
}
Mouse.show();
var enemy_mp3 = new Sound();
enemy_mp3.attachSound("heli.wav");
enemy_mp3.stop();
dollar_all = dollar_all + dollar;
stop();
i = 0;
while (i < 10000) {
clearInterval(i);
i++;
}
var i = 0;
while (i < pac_shoot_ar.length) {
clearInterval(pac_shoot_ar[i]);
i++;
}
var i = 0;
while (i < enem_shoot_ar.length) {
clearInterval(enem_shoot_ar[i]);
i++;
}
var i = 0;
while (i < bbb.length) {
clearInterval(bbb[i]);
i++;
}
var i = 0;
while (i < fade_inter_ar.length) {
clearInterval(fade_inter_ar[i]);
i++;
}
var i = 0;
while (i < enem_fall_ar.length) {
clearInterval(enem_fall_ar[i]);
i++;
}
var i = 0;
while (i < blood_inter_ar.length) {
clearInterval(blood_inter_ar[i]);
i++;
}
var i = 0;
while (i < when_shoot_ar.length) {
clearInterval(when_shoot_ar[i]);
i++;
}
var i = 0;
while (i < enemy_fly_ar.length) {
clearInterval(enemy_fly_ar[i]);
i++;
}
var i = 0;
while (i < re_ar.length) {
clearInterval(re_ar[i]);
i++;
}
var i = 0;
while (i < para_ar.length) {
clearInterval(para_ar[i]);
i++;
}
i = 0;
while (i < auto_ar.length) {
clearInterval(auto_ar[i]);
i++;
}
clearInterval(inter_mouse);
clearInterval(time_in);
var i = 0;
while (i < pac_shoot.length) {
removeMovieClip(pac_shoot[i]);
i++;
}
var i = 0;
while (i < enem_shoot.length) {
removeMovieClip(enem_shoot[i]);
i++;
}
var i = 0;
while (i < enem_ar.length) {
removeMovieClip(enem_ar[i]);
i++;
}
var i = 0;
while (i < gun_ar.length) {
removeMovieClip(gun_ar[i]);
i++;
}
var i = 0;
while (i < addons_ar.length) {
removeMovieClip(addons_ar[i]);
i++;
}
var i = 0;
while (i < blood_ar.length) {
removeMovieClip(blood_ar[i]);
i++;
}
var i = 0;
while (i < explode_ar.length) {
removeMovieClip(explode_ar[i]);
i++;
}
var i = 0;
while (i < vest_ar.length) {
removeMovieClip(vest_ar[i]);
i++;
}
var i = 0;
while (i < impact_ar.length) {
removeMovieClip(impact_ar[i]);
i++;
}
var i = 0;
while (i < para_ar.length) {
removeMovieClip(para_ar[i]);
i++;
}
var i = 0;
while (i < ammo_ar.length) {
removeMovieClip(ammo_ar[i]);
i++;
}
var i = 0;
while (i < stuff_ar.length) {
removeMovieClip(stuff_ar[i]);
i++;
}
function savercore() {
var _local1 = SharedObject.getLocal("hind");
trace("iso=" + _local1.data.userId);
if ((level > _local1.data.level) || (_local1.data.level == undefined)) {
_local1.data.level = level;
}
if ((dollar_all > _local1.data.userId) || (_local1.data.userId == undefined)) {
trace("ok");
_local1.data.userId = dollar_all;
trace(_local1.data.userId);
_local1.onStatus = function (ff) {
trace(ff.code);
};
var _local2 = _local1.flush(5000);
}
}
dollar_txt.text = dollar_all;
savercore();
butxx.onPress = function () {
if (name1.text != "Fill your name here") {
_root.createEmptyMovieClip("loader_mc", this.getNextHighestDepth());
loader_mc.ofer9 = name1.text;
loader_mc.shelly9 = dollar_all;
butxx._x = 1000;
butxx._y = 1000;
loader_mc.getURL("http://games84.com/games1/commando/score/commando_score.php", "_blank", "POST");
}
};
Frame 8
function detectKeys() {
if (Key.isDown(39)) {
}
}
Mouse.show();
var enemy_mp3 = new Sound();
enemy_mp3.attachSound("heli.wav");
enemy_mp3.stop();
stop();
i = 0;
while (i < 10000) {
clearInterval(i);
i++;
}
var i = 0;
while (i < pac_shoot_ar.length) {
clearInterval(pac_shoot_ar[i]);
i++;
}
var i = 0;
while (i < enem_shoot_ar.length) {
clearInterval(enem_shoot_ar[i]);
i++;
}
var i = 0;
while (i < bbb.length) {
clearInterval(bbb[i]);
i++;
}
var i = 0;
while (i < fade_inter_ar.length) {
clearInterval(fade_inter_ar[i]);
i++;
}
var i = 0;
while (i < enem_fall_ar.length) {
clearInterval(enem_fall_ar[i]);
i++;
}
var i = 0;
while (i < blood_inter_ar.length) {
clearInterval(blood_inter_ar[i]);
i++;
}
var i = 0;
while (i < when_shoot_ar.length) {
clearInterval(when_shoot_ar[i]);
i++;
}
var i = 0;
while (i < enemy_fly_ar.length) {
clearInterval(enemy_fly_ar[i]);
i++;
}
var i = 0;
while (i < re_ar.length) {
clearInterval(re_ar[i]);
i++;
}
var i = 0;
while (i < para_ar.length) {
clearInterval(para_ar[i]);
i++;
}
i = 0;
while (i < auto_ar.length) {
clearInterval(auto_ar[i]);
i++;
}
clearInterval(inter_mouse);
clearInterval(time_in);
var i = 0;
while (i < pac_shoot.length) {
removeMovieClip(pac_shoot[i]);
i++;
}
var i = 0;
while (i < enem_shoot.length) {
removeMovieClip(enem_shoot[i]);
i++;
}
var i = 0;
while (i < enem_ar.length) {
removeMovieClip(enem_ar[i]);
i++;
}
var i = 0;
while (i < gun_ar.length) {
removeMovieClip(gun_ar[i]);
i++;
}
var i = 0;
while (i < addons_ar.length) {
removeMovieClip(addons_ar[i]);
i++;
}
var i = 0;
while (i < blood_ar.length) {
removeMovieClip(blood_ar[i]);
i++;
}
var i = 0;
while (i < explode_ar.length) {
removeMovieClip(explode_ar[i]);
i++;
}
var i = 0;
while (i < vest_ar.length) {
removeMovieClip(vest_ar[i]);
i++;
}
var i = 0;
while (i < impact_ar.length) {
removeMovieClip(impact_ar[i]);
i++;
}
var i = 0;
while (i < para_ar.length) {
removeMovieClip(para_ar[i]);
i++;
}
var i = 0;
while (i < ammo_ar.length) {
removeMovieClip(ammo_ar[i]);
i++;
}
var i = 0;
while (i < stuff_ar.length) {
removeMovieClip(stuff_ar[i]);
i++;
}
dollar_txt.text = dollar_all;
Symbol 16 MovieClip [iron_hit] Frame 15
Symbol 16 MovieClip [iron_hit] Frame 16
stop();
removeMovieClip(this);
Symbol 20 MovieClip [bloodmed_hit] Frame 16
stop();
removeMovieClip(this);
Symbol 21 MovieClip [bloodbig_hit] Frame 16
stop();
removeMovieClip(this);
Symbol 22 MovieClip [blood_hit] Frame 16
stop();
removeMovieClip(this);
Symbol 30 MovieClip Frame 1
Symbol 31 MovieClip Frame 31
stop();
Symbol 33 MovieClip [expol_sm] Frame 1
function fire_moving(obj, dir, nnu) {
obj.aa = obj.aa + 1;
if (obj._y < 500) {
obj._x = obj._x + (1 * dir);
obj._y = obj._y + (obj.aa - 5);
ttt++;
var _local3 = this.attachMovie("smoke1", "fire1" + ttt, (ttt + 1000) + (ttt * 100));
_local3._x = obj._x;
_local3._y = obj._y;
fire_ar[ttt] = _local3;
}
i = 0;
while (i < fire_ar.length) {
fire_ar[i]._alpha = fire_ar[i]._alpha - 5;
if (fire_ar[i]._alpha < 0) {
}
if (obj == null) {
i = 0;
while (i < fire_ar.length) {
fire_ar[i]._alpha = fire_ar[i]._alpha - 10;
i++;
}
}
i++;
}
if (obj.aa > 21) {
}
}
function add_exppp(xx, yy) {
num1++;
var _local2 = this.attachMovie("fire", "fire2" + num1, num1 + 200000);
_local2._x = xx;
_local2._y = yy;
firef_ar[num1] = _local2;
firef_ar[num1].aa = -4;
if (_local2._x < 0) {
firef_ar[num1].dirx = -1;
}
if (_local2._x >= 0) {
firef_ar[num1].dirx = 1;
}
_local2.onEnterFrame = function () {
fire_moving(this, this.dirx, num1);
};
}
var fire_ar = new Array();
var ttt = 0;
num1 = 0;
var firef_ar = new Array();
add_exppp(20, 0);
add_exppp(10, 10);
add_exppp(-10, 0);
add_exppp(-20, 0);
Symbol 33 MovieClip [expol_sm] Frame 36
stop();
removeMovieClip(this);
Symbol 34 MovieClip [expol_big] Frame 1
function fire_moving(obj, dir, nnu) {
obj.aa = obj.aa + 1;
if (obj._y < 500) {
obj._x = obj._x + (1 * dir);
obj._y = obj._y + (obj.aa - 5);
ttt++;
var _local3 = this.attachMovie("smoke1", "fire1" + ttt, (ttt + 1000) + (ttt * 100));
_local3._x = obj._x;
_local3._y = obj._y;
fire_ar[ttt] = _local3;
}
i = 0;
while (i < fire_ar.length) {
fire_ar[i]._alpha = fire_ar[i]._alpha - 50;
if (fire_ar[i]._alpha < 0) {
}
if (obj == null) {
i = 0;
while (i < fire_ar.length) {
fire_ar[i]._alpha = fire_ar[i]._alpha - 50;
i++;
}
}
i++;
}
if (obj.aa > 21) {
}
}
function add_exppp(xx, yy) {
num1++;
var _local2 = this.attachMovie("fire_red", "fire2" + num1, num1 + 200000);
_local2._x = xx;
_local2._y = yy;
firef_ar[num1] = _local2;
firef_ar[num1].aa = -4;
if (_local2._x < 0) {
firef_ar[num1].dirx = -1;
}
if (_local2._x >= 0) {
firef_ar[num1].dirx = 1;
}
_local2.onEnterFrame = function () {
fire_moving(this, this.dirx, num1);
};
}
ldown = 7;
var fire_ar = new Array();
var ttt = 0;
num1 = 0;
var firef_ar = new Array();
Symbol 34 MovieClip [expol_big] Frame 36
stop();
removeMovieClip(this);
Symbol 35 MovieClip [expl] Frame 1
function fire_moving(obj, dir, nnu) {
obj.aa = obj.aa + 1;
if (obj._y < 500) {
obj._x = obj._x + (1 * dir);
obj._y = obj._y + (obj.aa - 5);
ttt++;
var _local3 = this.attachMovie("smoke1", "fire1" + ttt, (ttt + 1000) + (ttt * 100));
_local3._x = obj._x;
_local3._y = obj._y;
fire_ar[ttt] = _local3;
}
i = 0;
while (i < fire_ar.length) {
fire_ar[i]._alpha = fire_ar[i]._alpha - 50;
if (fire_ar[i]._alpha < 101) {
removeMovieClip(fire_ar[i]);
}
if (obj == null) {
i = 0;
while (i < fire_ar.length) {
fire_ar[i]._alpha = fire_ar[i]._alpha - 50;
i++;
}
}
i++;
}
if (obj.aa > 21) {
removeMovieClip(obj);
}
}
function add_exppp(xx, yy) {
num1++;
var _local2 = this.attachMovie("fire", "fire2" + num1, num1 + 200000);
_local2._x = xx;
_local2._y = yy;
firef_ar[num1] = _local2;
firef_ar[num1].aa = -4;
if (_local2._x < 0) {
firef_ar[num1].dirx = -1;
}
if (_local2._x >= 0) {
firef_ar[num1].dirx = 1;
}
_local2.onEnterFrame = function () {
fire_moving(this, this.dirx, num1);
};
}
var fire_ar = new Array();
var ttt = 0;
num1 = 0;
var firef_ar = new Array();
Symbol 35 MovieClip [expl] Frame 36
stop();
removeMovieClip(this);
Symbol 40 MovieClip Frame 1
life = 4;
Symbol 50 MovieClip [hind] Frame 1
trans = "yes";
fly = "yes";
life = 10;
kexp = "expol_big";
Symbol 50 MovieClip [hind] Frame 15
gotoAndPlay (2);
Symbol 52 MovieClip [40mm] Frame 1
end = "yes";
tnt = "yes";
Symbol 52 MovieClip [40mm] Frame 60
stop();
tnt = "hit";
_root.go33 = 1;
Symbol 57 MovieClip Frame 11
stop();
Symbol 58 MovieClip Frame 1
stop();
Symbol 63 MovieClip [en_gun] Frame 1
range = 30;
range_s = 170;
rate1 = "semi";
speed = 9;
bulletq = "ball_sm";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 5;
number = 0;
Symbol 64 MovieClip [ball_alpha] Frame 1
end = "no";
Symbol 74 MovieClip [blood_anim] Frame 1
stop();
Symbol 74 MovieClip [blood_anim] Frame 6
Symbol 74 MovieClip [blood_anim] Frame 139
stop();
removeMovieClip(this);
Symbol 79 MovieClip [hit_gorund] Frame 59
stop();
removeMovieClip(this);
Symbol 88 MovieClip [bomb] Frame 1
end = "yes";
tnt = "yes";
Symbol 88 MovieClip [bomb] Frame 66
tnt = "hit";
stop();
Symbol 93 MovieClip [para] Frame 1
var my_color2 = new Color(this);
var rax = (random(79) + 20);
gax = random(79) + 20;
bax = random(79) + 20;
var myColorTransform2 = {ra:rax, ga:gax, ba:bax, aa:100};
my_color2.setTransform(myColorTransform2);
Symbol 96 MovieClip [mine] Frame 1
end = "yes";
tnt = "yes";
mine = "yes";
Symbol 96 MovieClip [mine] Frame 148
_root.go334 = 1;
tnt = "hit";
Symbol 96 MovieClip [mine] Frame 149
removeMovieClip(this);
Symbol 99 MovieClip [greande] Frame 1
end = "yes";
Symbol 119 MovieClip [otherstuff] Frame 1
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
_root.ammo1 = _root.ammo1 + 20;
removeMovieClip(this);
}
};
Symbol 119 MovieClip [otherstuff] Frame 2
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
_root.greande = _root.greande + 2;
removeMovieClip(this);
}
};
Symbol 119 MovieClip [otherstuff] Frame 3
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
_root.life_num = _root.life_num + 6;
removeMovieClip(this);
}
};
Symbol 119 MovieClip [otherstuff] Frame 4
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
_root.mine = _root.mine + 2;
removeMovieClip(this);
}
};
Symbol 119 MovieClip [otherstuff] Frame 5
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takemoney");
_root.dollar = _root.dollar + 50;
removeMovieClip(this);
}
};
Symbol 119 MovieClip [otherstuff] Frame 6
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takemoney");
_root.dollar = _root.dollar + 400;
removeMovieClip(this);
}
};
Symbol 119 MovieClip [otherstuff] Frame 7
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takemoney");
_root.dollar = _root.dollar + 900;
removeMovieClip(this);
}
};
Symbol 119 MovieClip [otherstuff] Frame 8
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takemoney");
_root.dollar = _root.dollar + 50;
removeMovieClip(this);
}
};
Symbol 119 MovieClip [otherstuff] Frame 9
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takemoney");
_root.dollar = _root.dollar + 1500;
removeMovieClip(this);
}
};
Symbol 119 MovieClip [otherstuff] Frame 10
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takemoney");
_root.dollar = _root.dollar + 2000;
removeMovieClip(this);
}
};
Symbol 144 MovieClip [boxstuff] Frame 1
stop();
Symbol 144 MovieClip [boxstuff] Frame 2
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
if (_root.gunIsNum != 4) {
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 100;
_root.gunkind = 3;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 100;
_root.gunkind = 3;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 144 MovieClip [boxstuff] Frame 3
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
if (_root.gunIsNum != 4) {
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 90;
_root.gunkind = 5;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 90;
_root.gunkind = 5;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 144 MovieClip [boxstuff] Frame 4
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
if (_root.gunIsNum != 4) {
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 20;
_root.gunkind = 2;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 20;
_root.gunkind = 2;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 144 MovieClip [boxstuff] Frame 5
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
if (_root.gunIsNum != 4) {
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 90;
_root.gunkind = 4;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 90;
_root.gunkind = 4;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 144 MovieClip [boxstuff] Frame 6
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
if (_root.gunIsNum != 4) {
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 12;
_root.gunkind = 7;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 12;
_root.gunkind = 7;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 144 MovieClip [boxstuff] Frame 7
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
if (_root.gunIsNum != 4) {
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 30;
_root.gunkind = 8;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 30;
_root.gunkind = 8;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 144 MovieClip [boxstuff] Frame 8
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
if (_root.gunIsNum != 4) {
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 60;
_root.gunkind = 9;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 60;
_root.gunkind = 9;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 144 MovieClip [boxstuff] Frame 9
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
if (_root.gunIsNum != 4) {
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 70;
_root.gunkind = 10;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 70;
_root.gunkind = 10;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 144 MovieClip [boxstuff] Frame 10
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
if (_root.gunIsNum != 4) {
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 70;
_root.gunkind = 11;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 70;
_root.gunkind = 11;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 144 MovieClip [boxstuff] Frame 11
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
if (_root.gunIsNum != 4) {
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 12;
_root.gunkind = 12;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 12;
_root.gunkind = 12;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 144 MovieClip [boxstuff] Frame 12
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
if (_root.gunIsNum != 4) {
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 12;
_root.gunkind = 13;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 12;
_root.gunkind = 13;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 144 MovieClip [boxstuff] Frame 13
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
if (_root.gunIsNum != 4) {
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 30;
_root.gunkind = 14;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 30;
_root.gunkind = 14;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 144 MovieClip [boxstuff] Frame 14
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
if (_root.gunIsNum != 4) {
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 60;
_root.gunkind = 15;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 60;
_root.gunkind = 15;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 144 MovieClip [boxstuff] Frame 15
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
if (_root.gunIsNum != 4) {
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 12;
_root.gunkind = 16;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 12;
_root.gunkind = 16;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 144 MovieClip [boxstuff] Frame 16
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
if (_root.gunIsNum != 4) {
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 60;
_root.gunkind = 17;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 60;
_root.gunkind = 17;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 144 MovieClip [boxstuff] Frame 17
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
if (_root.gunIsNum != 4) {
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 60;
_root.gunkind = 18;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 60;
_root.gunkind = 18;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 144 MovieClip [boxstuff] Frame 18
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
if (_root.gunIsNum != 4) {
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 120;
_root.gunkind = 19;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 120;
_root.gunkind = 19;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 144 MovieClip [boxstuff] Frame 19
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
if (_root.gunIsNum != 4) {
_root.box.gotoAndPlay("takeammo");
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 120;
_root.gunkind = 20;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 120;
_root.gunkind = 20;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 144 MovieClip [boxstuff] Frame 20
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
if (_root.gunIsNum != 4) {
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 30;
_root.gunkind = 21;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 30;
_root.gunkind = 21;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 144 MovieClip [boxstuff] Frame 21
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
if (_root.gunIsNum != 4) {
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 90;
_root.gunkind = 22;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 90;
_root.gunkind = 22;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 144 MovieClip [boxstuff] Frame 22
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
if (_root.gunIsNum != 4) {
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 90;
_root.gunkind = 23;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 90;
_root.gunkind = 23;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 144 MovieClip [boxstuff] Frame 24
stop();
var bbb;
onEnterFrame = function () {
if (this.active == "on") {
_root.box.gotoAndPlay("takeammo");
if (_root.gunIsNum != 4) {
if (_root.ammo > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof2 - 1].kindof, _root.gun_ar_p[_root.gunof2 - 1]);
}
_root.ammo = 32;
_root.gunkind = 25;
_root.gunof2 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
if (_root.gunIsNum == 4) {
if (_root.ammo2 > 0) {
_root.ammoit(_root.gun_ar_p[_root.gunof4 - 1].kindof, _root.gun_ar_p[_root.gunof4 - 1]);
}
_root.ammo2 = 32;
_root.gunkind = 25;
_root.gunof4 = _root.gunkind;
_root.gunIsNum = 2;
_root.gun_ar_p[_root.gunkind - 1].ammo = _root.gun_ar_p[_root.gunkind - 1].ammomax;
removeMovieClip(this);
}
}
};
Symbol 147 MovieClip Frame 1
stop();
Symbol 148 MovieClip [en_hind] Frame 1
stop();
aim._visible = 0;
aim2._visible = 0;
range = 200;
range_s = 100;
rate1 = "semi";
speed = 3;
bulletq = "bomb";
shoot = "on";
gren = "bomb";
Symbol 151 MovieClip Frame 1
stop();
Symbol 152 MovieClip [en_tank] Frame 1
stop();
aim._visible = 0;
aim2._visible = 0;
range = 300;
range_s = 400;
rate1 = "semi";
speed = 8;
bulletq = "rpg_mis";
shoot = "on";
number = 6;
kindof = "law_sou";
Symbol 161 MovieClip [tank] Frame 1
stop();
gggg = random(4) + 2;
gotoAndPlay(gggg);
trans = "yes";
life = 35;
kexp = "expol_big";
stop();
Symbol 161 MovieClip [tank] Frame 2
trans = "yes";
life = 35;
kexp = "expol_big";
stop();
Symbol 161 MovieClip [tank] Frame 3
trans = "yes";
life = 35;
kexp = "expol_big";
stop();
Symbol 161 MovieClip [tank] Frame 4
trans = "yes";
life = 35;
kexp = "expol_big";
stop();
Symbol 161 MovieClip [tank] Frame 5
trans = "yes";
life = 35;
kexp = "expol_big";
stop();
Symbol 171 MovieClip [vest] Frame 1
life = 4;
stop();
if (goframe <= 1) {
gggg = random(8) + 2;
} else {
gggg = goframe;
}
gotoAndPlay(gggg);
Symbol 171 MovieClip [vest] Frame 2
life = 4;
stop();
Symbol 171 MovieClip [vest] Frame 3
life = 5;
stop();
Symbol 171 MovieClip [vest] Frame 4
life = 3;
stop();
Symbol 171 MovieClip [vest] Frame 5
life = 2;
stop();
Symbol 171 MovieClip [vest] Frame 6
life = 7;
stop();
Symbol 171 MovieClip [vest] Frame 7
life = 6;
stop();
Symbol 171 MovieClip [vest] Frame 8
life = 4;
stop();
Symbol 182 MovieClip Frame 1
function gotoff() {
gotoAndStop(_parent._parent.goframe1);
if (_parent._parent.goframe1 <= 0) {
_parent._parent.goframe1 = random(2 + _root.level) + 2;
gotoAndStop(_parent._parent.goframe1);
}
clearInterval(bbbc);
}
stop();
var bbbc;
bbbc = setInterval(gotoff, 10);
Symbol 182 MovieClip Frame 2
stop();
Symbol 182 MovieClip Frame 3
stop();
Symbol 182 MovieClip Frame 4
stop();
Symbol 182 MovieClip Frame 5
stop();
Symbol 182 MovieClip Frame 6
stop();
Symbol 182 MovieClip Frame 7
stop();
Symbol 182 MovieClip Frame 8
stop();
Symbol 182 MovieClip Frame 9
stop();
Symbol 182 MovieClip Frame 10
stop();
Symbol 206 MovieClip Frame 1
function gotoff() {
gotoAndStop(_parent.goframe);
if (_parent.goframe <= 0) {
_parent.goframe = random(3 + _root.level) + 2;
if (goframe == 9) {
goframe = 2;
}
gotoAndStop(_parent.goframe);
}
clearInterval(bbbc);
}
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
var bbbc;
bbbc = setInterval(gotoff, 10);
Symbol 206 MovieClip Frame 2
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 3
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 4
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 5
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 6
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 7
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 8
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 9
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 10
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 11
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 12
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 13
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 14
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 15
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 16
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 17
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 18
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 19
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 20
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 21
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 22
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 23
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
Symbol 206 MovieClip Frame 24
stop();
if (_parent.head_die == "on") {
gotoAndStop ("headdie");
}
_parent.head_die = "on";
Symbol 206 MovieClip Frame 25
stop();
if (_parent.head_die != "on") {
gotoAndStop (2);
}
_parent.head_die = "on";
Symbol 207 MovieClip [enemy] Frame 1
stop();
Symbol 207 MovieClip [enemy] Frame 2
var rand_2 = (random(11) + 1);
if (rand_2 == 1) {
gotoAndPlay ("death2");
} else if (rand_2 == 2) {
gotoAndPlay ("death3");
} else if (rand_2 == 3) {
gotoAndPlay ("death4");
} else if (rand_2 == 4) {
gotoAndPlay ("death5");
} else if (rand_2 == 6) {
gotoAndPlay ("death6");
} else if (rand_2 == 7) {
gotoAndPlay ("death7");
} else if (rand_2 == 8) {
gotoAndPlay ("death8");
} else if (rand_2 == 9) {
gotoAndPlay ("death9");
} else if (rand_2 == 10) {
gotoAndPlay ("death10");
} else if (rand_2 == 11) {
gotoAndPlay ("death11");
} else if (rand_2 == 5) {
gotoAndPlay (2);
}
Symbol 207 MovieClip [enemy] Frame 25
function fadeit() {
if (body2._alpha > 25) {
body2._alpha = body2._alpha - 10;
head._alpha = head._alpha - 10;
}
if (body2._alpha <= 35) {
die1 = "yes";
body2._visible = 0;
head._visible = 0;
removeMovieClip(_root.enem_ar[id]);
clearInterval(bbb[id]);
}
updateAfterEvent();
}
stop();
var head_die = "off";
_root.fade_inter_num++;
var inter;
inter = setInterval(fadeit, 50);
_root.fade_inter_ar[_root.fade_inter_num] = inter;
Symbol 207 MovieClip [enemy] Frame 50
function fadeit() {
if (body2._alpha > 10) {
body2._alpha = body2._alpha - 10;
head._alpha = head._alpha - 10;
}
if (body2._alpha <= 35) {
die1 = "yes";
body2._visible = 0;
head._visible = 0;
removeMovieClip(_root.enem_ar[id]);
clearInterval(bbb[id]);
}
updateAfterEvent();
}
stop();
_root.fade_inter_num++;
var inter;
inter = setInterval(fadeit, 50);
_root.fade_inter_ar[_root.fade_inter_num] = inter;
Symbol 207 MovieClip [enemy] Frame 75
function fadeit() {
if (body2._alpha > 25) {
body2._alpha = body2._alpha - 10;
head._alpha = head._alpha - 10;
}
if (body2._alpha <= 35) {
die1 = "yes";
body2._visible = 0;
head._visible = 0;
removeMovieClip(_root.enem_ar[id]);
clearInterval(bbb[id]);
}
updateAfterEvent();
}
stop();
_root.fade_inter_num++;
var inter;
inter = setInterval(fadeit, 50);
_root.fade_inter_ar[_root.fade_inter_num] = inter;
Symbol 207 MovieClip [enemy] Frame 100
function fadeit() {
if (body2._alpha > 25) {
body2._alpha = body2._alpha - 10;
head._alpha = head._alpha - 10;
}
if (body2._alpha <= 35) {
die1 = "yes";
body2._visible = 0;
head._visible = 0;
removeMovieClip(_root.enem_ar[id]);
clearInterval(bbb[id]);
}
updateAfterEvent();
}
stop();
_root.fade_inter_num++;
var inter;
inter = setInterval(fadeit, 50);
_root.fade_inter_ar[_root.fade_inter_num] = inter;
Symbol 207 MovieClip [enemy] Frame 125
function fadeit() {
if (body2._alpha > 25) {
body2._alpha = body2._alpha - 10;
head._alpha = head._alpha - 10;
}
if (body2._alpha <= 35) {
die1 = "yes";
body2._visible = 0;
head._visible = 0;
removeMovieClip(_root.enem_ar[id]);
clearInterval(bbb[id]);
}
updateAfterEvent();
}
stop();
_root.fade_inter_num++;
var inter;
inter = setInterval(fadeit, 50);
_root.fade_inter_ar[_root.fade_inter_num] = inter;
Symbol 207 MovieClip [enemy] Frame 150
function fadeit() {
if (body2._alpha > 25) {
body2._alpha = body2._alpha - 10;
head._alpha = head._alpha - 10;
}
if (body2._alpha <= 35) {
die1 = "yes";
body2._visible = 0;
head._visible = 0;
removeMovieClip(_root.enem_ar[id]);
clearInterval(bbb[id]);
}
updateAfterEvent();
}
stop();
_root.fade_inter_num++;
var inter;
inter = setInterval(fadeit, 50);
_root.fade_inter_ar[_root.fade_inter_num] = inter;
Symbol 207 MovieClip [enemy] Frame 175
function fadeit() {
if (body2._alpha > 25) {
body2._alpha = body2._alpha - 10;
head._alpha = head._alpha - 10;
}
if (body2._alpha <= 35) {
die1 = "yes";
body2._visible = 0;
head._visible = 0;
removeMovieClip(_root.enem_ar[id]);
clearInterval(bbb[id]);
}
updateAfterEvent();
}
stop();
_root.fade_inter_num++;
var inter;
inter = setInterval(fadeit, 50);
_root.fade_inter_ar[_root.fade_inter_num] = inter;
Symbol 207 MovieClip [enemy] Frame 200
function fadeit() {
if (body2._alpha > 25) {
body2._alpha = body2._alpha - 10;
head._alpha = head._alpha - 10;
}
if (body2._alpha <= 35) {
die1 = "yes";
body2._visible = 0;
head._visible = 0;
removeMovieClip(_root.enem_ar[id]);
clearInterval(bbb[id]);
}
updateAfterEvent();
}
stop();
_root.fade_inter_num++;
var inter;
inter = setInterval(fadeit, 50);
_root.fade_inter_ar[_root.fade_inter_num] = inter;
Symbol 207 MovieClip [enemy] Frame 225
function fadeit() {
if (body2._alpha > 25) {
body2._alpha = body2._alpha - 10;
head._alpha = head._alpha - 10;
}
if (body2._alpha <= 35) {
die1 = "yes";
body2._visible = 0;
head._visible = 0;
removeMovieClip(_root.enem_ar[id]);
clearInterval(bbb[id]);
}
updateAfterEvent();
}
stop();
_root.fade_inter_num++;
var inter;
inter = setInterval(fadeit, 50);
_root.fade_inter_ar[_root.fade_inter_num] = inter;
Symbol 207 MovieClip [enemy] Frame 250
function fadeit() {
if (body2._alpha > 25) {
body2._alpha = body2._alpha - 10;
head._alpha = head._alpha - 10;
}
if (body2._alpha <= 35) {
die1 = "yes";
body2._visible = 0;
head._visible = 0;
removeMovieClip(_root.enem_ar[id]);
clearInterval(bbb[id]);
}
updateAfterEvent();
}
stop();
_root.fade_inter_num++;
var inter;
inter = setInterval(fadeit, 50);
_root.fade_inter_ar[_root.fade_inter_num] = inter;
Symbol 207 MovieClip [enemy] Frame 275
function fadeit() {
if (body2._alpha > 10) {
body2._alpha = body2._alpha - 10;
head._alpha = head._alpha - 10;
}
if (body2._alpha <= 35) {
die1 = "yes";
body2._visible = 0;
head._visible = 0;
removeMovieClip(_root.enem_ar[id]);
clearInterval(bbb[id]);
}
updateAfterEvent();
}
stop();
_root.fade_inter_num++;
var inter;
inter = setInterval(fadeit, 50);
_root.fade_inter_ar[_root.fade_inter_num] = inter;
Symbol 207 MovieClip [enemy] Frame 276
function fadeit() {
if (body2._alpha > 25) {
body2._alpha = body2._alpha - 10;
head._alpha = head._alpha - 10;
}
if (body2._alpha <= 35) {
die1 = "yes";
body2._visible = 0;
head._visible = 0;
removeMovieClip(_root.enem_ar[id]);
clearInterval(bbb[id]);
}
updateAfterEvent();
}
stop();
_root.fade_inter_num++;
var inter;
inter = setInterval(fadeit, 50);
_root.fade_inter_ar[_root.fade_inter_num] = inter;
Symbol 216 MovieClip [ball4] Frame 1
end = "no";
ldown = 2;
bloodtype = "bloodin_shot";
Symbol 220 MovieClip [ball3] Frame 1
end = "no";
ldown = 3.2;
bloodtype = "bloodin_shot";
Symbol 223 MovieClip [ball2] Frame 1
end = "no";
ldown = 1.5;
bloodtype = "bloodin_rifle";
Symbol 227 MovieClip [ball_sm] Frame 1
end = "no";
Symbol 231 MovieClip [ball_s] Frame 1
end = "no";
ldown = 5;
bloodtype = "bloodin_shot";
Symbol 234 MovieClip [ball] Frame 1
end = "no";
Symbol 238 MovieClip [kafia_iraq] Frame 1
stop();
Symbol 238 MovieClip [kafia_iraq] Frame 2
stop();
removeMovieClip(this);
Symbol 253 MovieClip [hat] Frame 1
stop();
life = 4;
stop();
if (goframe <= 1) {
gggg = random(2 + _root.level) + 2;
} else {
gggg = goframe;
}
gotoAndPlay(gggg);
Symbol 253 MovieClip [hat] Frame 2
stop();
life = 2;
Symbol 253 MovieClip [hat] Frame 3
stop();
life = 3;
Symbol 253 MovieClip [hat] Frame 4
stop();
life = 3;
Symbol 253 MovieClip [hat] Frame 5
stop();
life = 4;
Symbol 253 MovieClip [hat] Frame 6
stop();
life = 4;
Symbol 253 MovieClip [hat] Frame 7
stop();
life = 3;
Symbol 253 MovieClip [hat] Frame 8
stop();
life = 3;
Symbol 253 MovieClip [hat] Frame 9
stop();
life = 3;
Symbol 253 MovieClip [hat] Frame 10
stop();
life = 7;
Symbol 253 MovieClip [hat] Frame 11
stop();
life = 3;
Symbol 253 MovieClip [hat] Frame 12
stop();
life = 4;
Symbol 253 MovieClip [hat] Frame 13
stop();
life = 8;
Symbol 253 MovieClip [hat] Frame 14
stop();
life = 4;
Symbol 253 MovieClip [hat] Frame 15
stop();
life = 7;
Symbol 257 MovieClip [blood_fall] Frame 184
stop();
removeMovieClip(this);
Symbol 260 MovieClip Frame 1
stop();
Symbol 263 MovieClip [en_m4] Frame 1
range = 28;
range_s = 290;
rate1 = "semi";
speed = 11;
bulletq = "ball4";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 4;
number = 26;
kindof = "m4_sou";
Symbol 266 MovieClip Frame 1
stop();
Symbol 267 MovieClip [en_shotgun_a] Frame 1
range = 20;
range_s = 220;
rate1 = "semi";
speed = 9;
bulletq = "ball3";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 5;
number = 24;
kindof = "shotguna_sou";
Symbol 270 MovieClip Frame 1
stop();
Symbol 271 MovieClip [en_g36] Frame 1
range = 28;
range_s = 320;
rate1 = "semi";
speed = 15;
bulletq = "ball4";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 5;
number = 23;
kindof = "g36_sou";
Symbol 275 MovieClip Frame 1
stop();
Symbol 276 MovieClip [en_commando] Frame 1
range = 28;
range_s = 220;
rate1 = "auto";
speed = 15;
bulletq = "ball2";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 8;
number = 22;
kindof = "commando_sou";
Symbol 280 MovieClip Frame 1
stop();
Symbol 281 MovieClip [en_p90] Frame 1
range = 26;
range_s = 170;
rate1 = "auto";
speed = 11;
bulletq = "ball_sm";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 10;
number = 21;
kindof = "p90_sou";
Symbol 284 MovieClip Frame 1
stop();
Symbol 285 MovieClip [en_mag] Frame 1
range = 80;
range_s = 480;
rate1 = "mono";
speed = 15;
bulletq = "ball_s";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 2;
number = 20;
kindof = "magnum_sou";
Symbol 288 MovieClip Frame 1
stop();
Symbol 289 MovieClip [en_pk90] Frame 1
range = 20;
range_s = 270;
rate1 = "auto";
speed = 11;
bulletq = "ball2";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 18;
number = 19;
kindof = "pk90_sou";
Symbol 292 MovieClip Frame 1
stop();
Symbol 293 MovieClip [en_m60] Frame 1
range = 32;
range_s = 340;
rate1 = "auto";
speed = 13;
bulletq = "ball4";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 16;
number = 18;
kindof = "m60_sou";
Symbol 296 MovieClip Frame 1
stop();
Symbol 297 MovieClip [en_mp5sd] Frame 1
range = 26;
range_s = 190;
rate1 = "auto";
speed = 13;
bulletq = "ball_sm";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 9;
number = 17;
kindof = "mp5sd_sou";
Symbol 305 MovieClip Frame 1
stop();
Symbol 306 MovieClip [en_aksu] Frame 1
range = 24;
range_s = 190;
rate1 = "semi_auto";
speed = 11;
bulletq = "ball_sm";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 10;
number = 16;
kindof = "aksu_sou";
Symbol 309 MovieClip Frame 1
stop();
Symbol 310 MovieClip [en_AT_auto] Frame 1
range = 100;
range_s = 500;
rate1 = "mono";
speed = 7;
bulletq = "sting";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 5;
number = 15;
kindof = "AT-auto_sou";
gren = "sting";
Symbol 313 MovieClip Frame 1
stop();
Symbol 314 MovieClip [en_mp5_n] Frame 1
range = 26;
range_s = 170;
rate1 = "auto";
speed = 11;
bulletq = "ball_sm";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 10;
number = 14;
kindof = "mp5navy_sou";
Symbol 317 MovieClip Frame 1
stop();
Symbol 318 MovieClip [en_m5] Frame 1
range = 80;
range_s = 350;
rate1 = "mono";
speed = 15;
bulletq = "ball_s";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 2;
number = 13;
kindof = "m5_sou";
Symbol 324 MovieClip Frame 1
stop();
Symbol 325 MovieClip [en_rpg] Frame 1
range = 80;
range_s = 330;
rate1 = "mono";
speed = 7;
bulletq = "rpg_mis";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 5;
number = 12;
kindof = "rpg_sou";
Symbol 328 MovieClip Frame 1
stop();
Symbol 329 MovieClip [en_AT] Frame 1
range = 100;
range_s = 400;
rate1 = "mono";
speed = 7;
bulletq = "missle";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 5;
number = 11;
kindof = "AT_sou";
Symbol 332 MovieClip Frame 1
stop();
Symbol 333 MovieClip [en_aug] Frame 1
range = 30;
range_s = 240;
rate1 = "semi";
speed = 14;
bulletq = "ball2";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 7;
number = 10;
kindof = "aug_sou";
Symbol 336 MovieClip Frame 1
stop();
Symbol 337 MovieClip [en_uzi] Frame 1
range = 20;
range_s = 140;
rate1 = "auto";
speed = 11;
bulletq = "ball_sm";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 14;
number = 9;
kindof = "uzi_sou";
Symbol 340 MovieClip Frame 1
stop();
Symbol 341 MovieClip [en_M1] Frame 1
range = 42;
range_s = 250;
rate1 = "semi";
speed = 12;
bulletq = "ball2";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 4;
number = 8;
kindof = "M1_sou";
Symbol 344 MovieClip Frame 1
stop();
Symbol 345 MovieClip [en_shotgun] Frame 1
range = 20;
range_s = 180;
rate1 = "mono";
speed = 7;
bulletq = "ball3";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 5;
number = 7;
kindof = "shotgun_sou";
Symbol 351 MovieClip Frame 15
gotoAndPlay (2);
Symbol 352 MovieClip [rpg_mis] Frame 1
end = "yes";
tnt = "yes";
bloodtype = "bloodin_rifle";
ldown = 5;
Symbol 355 MovieClip Frame 1
stop();
Symbol 356 MovieClip [en_law] Frame 1
range = 100;
range_s = 300;
rate1 = "mono";
speed = 7;
bulletq = "rpg_mis";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 5;
number = 6;
kindof = "law_sou";
Symbol 359 MovieClip Frame 1
stop();
Symbol 360 MovieClip [en_mp5sk] Frame 1
range = 24;
range_s = 150;
rate1 = "auto";
speed = 11;
bulletq = "ball_sm";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 14;
number = 4;
kindof = "mp5sk_sou";
Symbol 363 MovieClip Frame 1
stop();
Symbol 364 MovieClip [en_m16] Frame 1
range = 30;
range_s = 220;
rate1 = "semi";
speed = 15;
bulletq = "ball2";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 4;
number = 3;
kindof = "m16_sou";
Symbol 367 MovieClip Frame 1
stop();
Symbol 368 MovieClip [en_ak47] Frame 1
range = 24;
range_s = 230;
rate1 = "semi";
speed = 16;
bulletq = "ball";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 5;
number = 2;
kindof = "ak47_sou";
Symbol 370 MovieClip [missle] Frame 1
end = "yes";
tnt = "yes";
kexp = "expol_big";
ldown = 5;
Symbol 372 MovieClip [sting] Frame 1
end = "yes";
tnt = "yes";
bloodtype = "bloodin_rifle";
ldown = 6;
Symbol 375 MovieClip Frame 1
stop();
Symbol 376 MovieClip [en_m203] Frame 1
stop();
aim._visible = 0;
aim2._visible = 0;
range = 40;
range_s = 400;
rate1 = "semi";
speed = 4;
bulletq = "40mm";
shoot = "on";
gren = "on";
number = 1;
kindof = "m203_sou";
Symbol 379 MovieClip Frame 1
stop();
Symbol 380 MovieClip [pistol] Frame 1
range = 30;
range_s = 140;
rate1 = "semi";
speed = 8;
bulletq = "ball_sm";
shoot = "on";
aim._visible = 0;
aim2._visible = 0;
backitgun = 5;
number = 0;
Symbol 387 Button
on (release) {
_parent.gotoAndStop("gamestart");
}
Symbol 403 Button
on (release) {
getURL ("http://www.addictinggames.com", _blank);
}
Symbol 404 MovieClip Frame 115
_parent.gotoAndStop("gamestart");
Symbol 425 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 2
stop();
Symbol 430 MovieClip Frame 1
stop();
scores.onRelease = function () {
_root.swHighScoreObject.showTab = "view";
docount = true;
loadMovieNum (_root.HSHubURL, 2);
};
Instance of Symbol 417 MovieClip in Symbol 430 MovieClip Frame 1
on (release) {
_root.gotoAndPlay("startframe");
}
Instance of Symbol 417 MovieClip in Symbol 430 MovieClip Frame 1
on (release) {
_root.gotoAndPlay("help");
}
Instance of Symbol 417 MovieClip in Symbol 430 MovieClip Frame 1
on (release) {
getURL ("http://addictinggames.com", "new");
}
Instance of Symbol 417 MovieClip "scores" in Symbol 430 MovieClip Frame 1
on (release) {
_root.swHighScoreObject.showTab = "view";
docount = true;
loadMovieNum (_root.HSHubURL, 2);
}
Instance of Symbol 425 MovieClip "gmed" in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
function __f_enterFrame(eventObj) {
trace("aa");
}
this.addEventListener("enterFrame", __f_enterFrame);
}
on (release) {
_quality = "MEDIUM";
_parent.glow.gotoAndStop(1);
_parent.ghigh.gotoAndStop(1);
_parent.gmed.gotoAndStop(2);
}
Instance of Symbol 425 MovieClip "glow" in Symbol 430 MovieClip Frame 1
on (release) {
_quality = "LOW";
_parent.glow.gotoAndStop(2);
_parent.ghigh.gotoAndStop(1);
_parent.gmed.gotoAndStop(1);
}
Instance of Symbol 425 MovieClip "ghigh" in Symbol 430 MovieClip Frame 1
on (release) {
_quality = "HIGH";
_parent.glow.gotoAndStop(1);
_parent.ghigh.gotoAndStop(2);
_parent.gmed.gotoAndStop(1);
}
Symbol 442 Button
on (release) {
getURL ("http://www.addictinggames.com", "_blank");
}
Instance of Symbol 410 MovieClip in Symbol 445 MovieClip Frame 1
on (press) {
gotoAndPlay (112);
}
Instance of Symbol 411 MovieClip in Symbol 445 MovieClip Frame 1
on (press) {
gotoAndPlay (112);
}
Instance of Symbol 439 MovieClip "games84" in Symbol 445 MovieClip Frame 93
/* no clip actions */
Symbol 445 MovieClip Frame 135
Symbol 445 MovieClip Frame 193
gotoAndPlay (93);
Symbol 449 Button
on (release) {
gotoAndPlay ("startframe");
}
Symbol 453 MovieClip Frame 1
stop();
this.swapDepths(8000000);
this.swapDepths(0);
Symbol 465 MovieClip Frame 40
stop();
Symbol 466 Button
on (press) {
if (playerframe < 4) {
playerframe++;
ball.body.gotoAndPlay(playerframe);
head_pl.gotoAndPlay(playerframe);
trace(playerframe);
}
}
Symbol 467 Button
on (press) {
if (playerframe > 1) {
playerframe--;
ball.body.gotoAndPlay(playerframe);
head_pl.gotoAndPlay(playerframe);
trace(playerframe);
}
}
Symbol 474 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (ison == "on") {
gotoAndPlay (2);
}
};
Symbol 474 MovieClip Frame 2
stop();
onEnterFrame = function () {
if (ison == "off") {
gotoAndPlay (1);
}
};
Symbol 488 MovieClip Frame 1
stop();
Symbol 488 MovieClip Frame 2
stop();
Symbol 488 MovieClip Frame 3
stop();
Symbol 488 MovieClip Frame 4
stop();
Symbol 488 MovieClip Frame 5
stop();
Symbol 488 MovieClip Frame 6
stop();
Symbol 488 MovieClip Frame 7
stop();
Symbol 488 MovieClip Frame 8
stop();
Symbol 488 MovieClip Frame 9
stop();
Symbol 488 MovieClip Frame 10
stop();
Symbol 488 MovieClip Frame 11
stop();
Symbol 488 MovieClip Frame 12
stop();
Symbol 501 MovieClip Frame 1
stop();
Symbol 501 MovieClip Frame 2
stop();
Symbol 501 MovieClip Frame 3
stop();
Symbol 501 MovieClip Frame 4
stop();
Symbol 501 MovieClip Frame 5
stop();
Symbol 501 MovieClip Frame 6
stop();
Symbol 501 MovieClip Frame 7
stop();
Symbol 501 MovieClip Frame 8
stop();
Symbol 501 MovieClip Frame 9
stop();
Symbol 501 MovieClip Frame 10
stop();
Symbol 501 MovieClip Frame 11
stop();
Symbol 501 MovieClip Frame 12
stop();
Symbol 502 MovieClip Frame 1
stop();
Symbol 502 MovieClip Frame 2
stop();
Symbol 504 Button
on (release) {
box1.ison = "on";
box2.ison = "off";
box3.ison = "off";
box4.ison = "off";
box5.ison = "off";
box6.ison = "off";
box7.ison = "off";
box8.ison = "off";
box9.ison = "off";
box10.ison = "off";
box11.ison = "off";
box12.ison = "off";
playerframe = 1;
whatget.text = "Stick's Special Offer: Mp5 Navy price reduced to $500 ";
}
Symbol 505 Button
on (release) {
box1.ison = "off";
box2.ison = "on";
box3.ison = "off";
box4.ison = "off";
box5.ison = "off";
box6.ison = "off";
box7.ison = "off";
box8.ison = "off";
box9.ison = "off";
box10.ison = "off";
box11.ison = "off";
box12.ison = "off";
playerframe = 2;
whatget.text = "Stick's Special Offer: M16 Commando D.F price reduced to $900 ";
}
Symbol 506 Button
on (release) {
box1.ison = "off";
box2.ison = "off";
box3.ison = "on";
box4.ison = "off";
box5.ison = "off";
box6.ison = "off";
box7.ison = "off";
box8.ison = "off";
box9.ison = "off";
box10.ison = "off";
box11.ison = "off";
box12.ison = "off";
playerframe = 3;
whatget.text = "Special offer: Ak 47 price reduced to $500 ";
}
Symbol 507 Button
on (release) {
box1.ison = "off";
box2.ison = "off";
box3.ison = "off";
box4.ison = "on";
box5.ison = "off";
box6.ison = "off";
box7.ison = "off";
box8.ison = "off";
box9.ison = "off";
box10.ison = "off";
box11.ison = "off";
box12.ison = "off";
playerframe = 4;
whatget.text = "Special offer: M16 price reduced to $500 ";
}
Symbol 508 Button
on (release) {
if ((_root.Iso.data.userId >= 15000) && (_root.Iso.data.userId != null)) {
box1.ison = "off";
box2.ison = "off";
box3.ison = "off";
box4.ison = "off";
box5.ison = "on";
box6.ison = "off";
box7.ison = "off";
box8.ison = "off";
box9.ison = "off";
box10.ison = "off";
box11.ison = "off";
box12.ison = "off";
playerframe = 5;
}
whatget.text = "Special offer: Armor vest price reduced to $1000 ";
}
Symbol 509 Button
on (release) {
if ((_root.Iso.data.userId >= 27000) && (_root.Iso.data.userId != null)) {
box1.ison = "off";
box2.ison = "off";
box3.ison = "off";
box4.ison = "off";
box5.ison = "off";
box6.ison = "on";
box7.ison = "off";
box8.ison = "off";
box9.ison = "off";
box10.ison = "off";
box11.ison = "off";
box12.ison = "off";
playerframe = 6;
}
whatget.text = "Special offer: AK-SU price reduced to $600 ";
}
Symbol 510 Button
on (release) {
if ((_root.Iso.data.level >= 9) && (_root.Iso.data.userId != null)) {
box1.ison = "off";
box2.ison = "off";
box3.ison = "off";
box4.ison = "off";
box5.ison = "off";
box6.ison = "off";
box7.ison = "on";
box8.ison = "off";
box9.ison = "off";
box10.ison = "off";
box11.ison = "off";
box12.ison = "off";
playerframe = 7;
}
whatget.text = "Special offer: P90 price reduced to $500 ";
}
Symbol 522 Button
on (release) {
gotoAndPlay ("store");
}
Symbol 523 Button
on (release) {
box1.ison = "off";
box2.ison = "off";
box3.ison = "off";
box4.ison = "off";
box5.ison = "off";
box6.ison = "off";
box7.ison = "off";
box8.ison = "on";
box9.ison = "off";
box10.ison = "off";
box11.ison = "off";
box12.ison = "off";
playerframe = 8;
whatget.text = "Special offer: Baby Eagle price reduced to $1000 ";
}
Symbol 525 Button
on (release) {
box1.ison = "off";
box2.ison = "off";
box3.ison = "off";
box4.ison = "off";
box5.ison = "off";
box6.ison = "off";
box7.ison = "off";
box8.ison = "off";
box9.ison = "on";
box10.ison = "off";
box11.ison = "off";
box12.ison = "off";
playerframe = 9;
whatget.text = "Special offer: Shotgun-auto price reduced to $800 ";
}
Symbol 527 Button
on (release) {
if ((_root.Iso.data.userId >= 31000) && (_root.Iso.data.userId != null)) {
box1.ison = "off";
box2.ison = "off";
box3.ison = "off";
box4.ison = "off";
box5.ison = "off";
box6.ison = "off";
box7.ison = "off";
box8.ison = "off";
box9.ison = "off";
box10.ison = "on";
box11.ison = "off";
box12.ison = "off";
playerframe = 10;
}
whatget.text = "Special offer: Magnum sniper price reduced to $900 ";
}
Symbol 529 Button
on (release) {
if ((_root.Iso.data.userId >= 35000) && (_root.Iso.data.userId != null)) {
box1.ison = "off";
box2.ison = "off";
box3.ison = "off";
box4.ison = "off";
box5.ison = "off";
box6.ison = "off";
box7.ison = "off";
box8.ison = "off";
box9.ison = "off";
box10.ison = "off";
box11.ison = "on";
box12.ison = "off";
playerframe = 11;
}
whatget.text = "Special offer: AT-laser price reduced to $1500 ";
}
Symbol 531 Button
on (release) {
if ((_root.Iso.data.userId >= 40000) && (_root.Iso.data.userId != null)) {
box1.ison = "off";
box2.ison = "off";
box3.ison = "off";
box4.ison = "off";
box5.ison = "off";
box6.ison = "off";
box7.ison = "off";
box8.ison = "off";
box9.ison = "off";
box10.ison = "off";
box11.ison = "off";
box12.ison = "on";
playerframe = 12;
}
whatget.text = "Special offer: M60 MG price reduced to $2000 ";
}
Symbol 554 MovieClip Frame 1
stop();
gotoAndStop(_root.level);
trace(_root.level);
Symbol 554 MovieClip Frame 2
stop();
Symbol 554 MovieClip Frame 3
stop();
Symbol 554 MovieClip Frame 4
stop();
Symbol 554 MovieClip Frame 5
stop();
Symbol 554 MovieClip Frame 6
stop();
Symbol 554 MovieClip Frame 7
stop();
Symbol 554 MovieClip Frame 8
stop();
Symbol 554 MovieClip Frame 9
stop();
Symbol 554 MovieClip Frame 10
stop();
Symbol 569 MovieClip Frame 1
stop();
Symbol 569 MovieClip Frame 24
gotoAndPlay (3);
Symbol 575 MovieClip Frame 1
stop();
Symbol 584 MovieClip Frame 1
stop();
gotoAndStop(_root.level);
Symbol 584 MovieClip Frame 2
stop();
Symbol 584 MovieClip Frame 3
stop();
Symbol 584 MovieClip Frame 4
stop();
Symbol 584 MovieClip Frame 5
stop();
Symbol 584 MovieClip Frame 6
stop();
Symbol 584 MovieClip Frame 7
stop();
Symbol 584 MovieClip Frame 8
stop();
Symbol 584 MovieClip Frame 9
stop();
Symbol 584 MovieClip Frame 10
stop();
Symbol 618 MovieClip Frame 1
stop();
Symbol 618 MovieClip Frame 22
_root.rel._x = 1000;
_root.rel._y = 1000;
Symbol 618 MovieClip Frame 23
_root.go33 = 1;
Symbol 622 MovieClip Frame 1
stop();
Symbol 623 MovieClip Frame 1
stop();
range = 15;
speed = 0.01;
rate1 = "mono";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball_alpha";
backitgun = 14;
ammo = 40;
ammomax = 30;
Symbol 628 MovieClip Frame 1
this.swapDepths(8000000);
removeMovieClip(this);
stop();
onEnterFrame = function () {
if (_root._currentframe != 4) {
this.swapDepths(0);
_root.target_play._visible = 0;
}
};
Symbol 640 MovieClip Frame 1
stop();
Symbol 640 MovieClip Frame 3
stop();
Symbol 640 MovieClip Frame 5
stop();
Symbol 640 MovieClip Frame 6
stop();
Symbol 640 MovieClip Frame 7
stop();
Symbol 640 MovieClip Frame 8
stop();
Symbol 640 MovieClip Frame 10
stop();
Symbol 640 MovieClip Frame 12
stop();
Symbol 640 MovieClip Frame 14
stop();
Symbol 653 MovieClip Frame 1
stop();
trace(_root.playerframe);
Symbol 653 MovieClip Frame 2
stop();
trace(_root.playerframe);
Symbol 654 MovieClip Frame 1
stop();
range = 14;
speed = 9;
rate1 = "semi";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball_sm";
backitgun = 5;
ammomax = 10;
ammo = 10;
ammokind = "ammo2";
Symbol 657 MovieClip Frame 1
stop();
range = 180;
speed = 4;
rate1 = "mono";
aim._visible = 0;
aim2._visible = 0;
bulletq = "40mm";
ammo = 3;
ammomax = 3;
number = 1;
kindof = "m203_sou";
Symbol 658 MovieClip Frame 1
stop();
range = 21;
speed = 15;
rate1 = "semi_auto";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball";
backitgun = 3;
ammo = 30;
ammomax = 30;
number = 2;
kindof = "ak47_sou";
Symbol 659 MovieClip Frame 1
stop();
range = 20;
speed = 15;
rate1 = "semi";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball2";
backitgun = 3;
ammo = 30;
ammomax = 30;
number = 3;
kindof = "m16_sou";
Symbol 660 MovieClip Frame 1
stop();
range = 14;
speed = 12;
rate1 = "auto";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball_sm";
backitgun = 8;
ammo = 30;
ammomax = 30;
number = 4;
kindof = "mp5sk_sou";
Symbol 661 MovieClip Frame 1
stop();
range = 70;
speed = 7;
rate1 = "mono";
aim._visible = 0;
aim2._visible = 0;
bulletq = "rpg_mis";
backitgun = 3;
ammo = 1;
ammomax = 6;
number = 6;
kindof = "law_sou";
Symbol 662 MovieClip Frame 1
stop();
range = 14;
speed = 9;
rate1 = "mono";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball3";
backitgun = 4;
ammo = 10;
ammomax = 10;
number = 7;
kindof = "shotgun_sou";
Symbol 663 MovieClip Frame 1
stop();
range = 40;
speed = 13;
rate1 = "semi";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball2";
backitgun = 3;
ammo = 12;
ammomax = 12;
number = 8;
kindof = "M1_sou";
Symbol 664 MovieClip Frame 1
stop();
range = 11;
speed = 12;
rate1 = "auto";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball_sm";
backitgun = 10;
ammo = 35;
ammomax = 36;
number = 9;
kindof = "uzi_sou";
Symbol 665 MovieClip Frame 1
stop();
range = 26;
speed = 14;
rate1 = "semi";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball2";
backitgun = 2.5;
ammo = 30;
ammomax = 30;
number = 10;
kindof = "aug_sou";
Symbol 666 MovieClip Frame 1
stop();
range = 70;
speed = 7;
rate1 = "mono";
aim._visible = 0;
aim2._visible = 0;
bulletq = "missle";
backitgun = 4;
ammo = 1;
ammomax = 6;
number = 11;
kindof = "AT_sou";
Symbol 667 MovieClip Frame 1
stop();
range = 70;
speed = 7;
rate1 = "semi";
aim._visible = 0;
aim2._visible = 0;
bulletq = "rpg_mis";
backitgun = 4;
ammo = 1;
ammomax = 6;
number = 12;
kindof = "rpg_sou";
Symbol 668 MovieClip Frame 1
stop();
range = 40;
speed = 19;
rate1 = "mono";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball_s";
backitgun = 1.5;
ammo = 6;
ammomax = 6;
number = 13;
kindof = "m5_sou";
Symbol 669 MovieClip Frame 1
stop();
range = 16;
speed = 12;
rate1 = "auto";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball_sm";
backitgun = 7;
ammo = 30;
ammomax = 30;
number = 14;
kindof = "mp5navy_sou";
Symbol 670 MovieClip Frame 1
stop();
range = 70;
speed = 7;
rate1 = "mono";
aim._visible = 0;
aim2._visible = 0;
bulletq = "sting";
backitgun = 4;
ammo = 1;
ammomax = 4;
number = 15;
kindof = "AT-auto_sou";
Symbol 672 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if ((_root.moveitR > 0) || (_root.moveitL > 0)) {
gotoAndStop (2);
}
};
Symbol 672 MovieClip Frame 2
stop();
this.onEnterFrame = function () {
if ((_root.moveitR <= 0) && (_root.moveitL <= 0)) {
gotoAndStop (1);
}
};
Symbol 673 MovieClip Frame 1
stop();
range = 16;
speed = 12;
rate1 = "sauto";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball";
backitgun = 7;
ammo = 30;
ammomax = 30;
number = 16;
kindof = "aksu_sou";
Symbol 674 MovieClip Frame 1
stop();
range = 16;
speed = 14;
rate1 = "auto";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball_sm";
backitgun = 7;
ammo = 30;
ammomax = 30;
number = 17;
kindof = "mp5sd_sou";
Symbol 675 MovieClip Frame 1
stop();
range = 20;
speed = 16;
rate1 = "auto";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball4";
backitgun = 12;
ammo = 60;
ammomax = 60;
number = 18;
kindof = "m60_sou";
Symbol 676 MovieClip Frame 1
stop();
range = 16;
speed = 13;
rate1 = "auto";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball2";
backitgun = 12;
ammo = 90;
ammomax = 90;
number = 19;
kindof = "pk90_sou";
Symbol 677 MovieClip Frame 1
stop();
range = 32;
speed = 24;
rate1 = "mono";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball_s";
backitgun = 0.1;
ammo = 6;
ammomax = 6;
number = 20;
kindof = "magnum_sou";
Symbol 678 MovieClip Frame 1
stop();
range = 14;
speed = 12;
rate1 = "auto";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball_sm";
backitgun = 9;
ammo = 50;
ammomax = 50;
number = 21;
kindof = "p90_sou";
Symbol 679 MovieClip Frame 1
stop();
range = 18;
speed = 14;
rate1 = "auto";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball2";
backitgun = 6;
ammo = 30;
ammomax = 30;
number = 22;
kindof = "commando_sou";
Symbol 680 MovieClip Frame 1
stop();
range = 22;
speed = 15;
rate1 = "semi";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball4";
backitgun = 4;
ammo = 30;
ammomax = 30;
number = 23;
kindof = "g36_sou";
Symbol 681 MovieClip Frame 1
stop();
range = 18;
speed = 10;
rate1 = "semi";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball3";
backitgun = 4;
ammo = 12;
ammomax = 12;
number = 24;
kindof = "shotguna_sou";
Symbol 682 MovieClip Frame 1
stop();
range = 18;
speed = 9;
rate1 = "semi";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball_sm";
backitgun = 4;
ammomax = 14;
ammo = 14;
ammokind = "ammo2";
Symbol 686 MovieClip Frame 1
stop();
range = 21;
speed = 16;
rate1 = "semi_auto";
aim._visible = 0;
aim2._visible = 0;
bulletq = "ball4";
backitgun = 3;
ammo = 30;
ammomax = 30;
number = 26;
kindof = "m4_sou";
Symbol 687 Button
on (release) {
if (_root.soundon == 1) {
_root.soundon = 2;
_root.effect_txt.text = "sound:ON";
} else if (_root.soundon != 1) {
_root.soundon = 1;
_root.effect_txt.text = "sound:OFF";
}
}
Symbol 690 Button
on (release) {
box1.ison = "on";
box2.ison = "off";
box3.ison = "off";
box4.ison = "off";
box5.ison = "off";
box6.ison = "off";
}
Symbol 715 Button
on (release) {
if ((aa != 1) && (_root.dollar > _root.obj1_pr)) {
_root.dollar = _root.dollar - _root.obj1_pr;
aa = 1;
whatbuy = "ak47";
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = 3;
_root.ammo = 90;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = 3;
_root.ammo2 = 90;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = 2;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = 2;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = 2;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = 2;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:3 Damge:1 Distance:30 \nMotive force :4 \nKind:Greande lancher";
}
Symbol 716 Button
on (release) {
if ((aa != 3) && (_root.dollar > _root.obj3_pr)) {
_root.dollar = _root.dollar - _root.obj3_pr;
aa = 3;
whatbuy = "M16 A1 Carabine";
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = 4;
_root.ammo = 90;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = 4;
_root.ammo2 = 90;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = 5;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = 5;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = 5;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = 5;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:2 Damge:1.5 Distance:25 \nMotive force :4 \nKind:Assult rifle";
}
Symbol 717 Button
on (release) {
if ((aa != 2) && (_root.dollar > _root.obj2_pr)) {
_root.dollar = _root.dollar - _root.obj2_pr;
aa = 2;
whatbuy = "MP5 SK";
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = 5;
_root.ammo = 90;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = 5;
_root.ammo2 = 90;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = 3;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = 3;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = 3;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = 3;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:A Damge:1 Distance:18 \nMotive force :8 \nKind:S.M.G";
}
Symbol 718 Button
on (release) {
if ((aa != 4) && (_root.dollar > _root.obj4_pr)) {
_root.dollar = _root.dollar - _root.obj4_pr;
aa = 4;
whatbuy = "greande launcher 40MM";
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = 2;
_root.ammo = 20;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = 2;
_root.ammo2 = 20;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = 4;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = 4;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = 4;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = 4;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:1 Damge:5 Distance:100 \nMotive force :1 \nKind:Greande lancher";
}
Symbol 719 Button
on (release) {
if ((_root.ammo1 < 99) && (_root.dollar > _root.obj5_pr)) {
_root.dollar = _root.dollar - _root.obj5_pr;
_root.box.gotoAndPlay("takemoney");
_root.ammo1 = _root.ammo1 + 10;
}
}
Symbol 720 Button
on (release) {
if ((_root.mine < 5) && (_root.dollar > _root.obj6_pr)) {
_root.dollar = _root.dollar - _root.obj6_pr;
_root.box.gotoAndPlay("takemoney");
_root.mine++;
}
}
Symbol 721 Button
on (release) {
if ((((((((((_root.gunof2 != 2) && (_root.gunof2 != 7)) && (_root.gunof2 != 9)) && (_root.gunof2 != 12)) && (_root.gunof2 != 13)) && (_root.gunof2 != 14)) && (_root.gunof2 != 8)) && (_root.gunof2 != 16)) && (_root.gunof2 != 21)) && (_root.gunof2 != 25)) {
if ((_root.ammo < 150) && (_root.dollar > _root.obj7_pr)) {
_root.dollar = _root.dollar - _root.obj7_pr;
_root.ammo = _root.ammo + 30;
_root.box.gotoAndPlay("takemoney");
}
}
if (((((_root.gunof2 == 9) || (_root.gunof2 == 14)) || (_root.gunof2 == 8)) || (_root.gunof2 == 21)) || (_root.gunof2 == 25)) {
if ((_root.ammo < 30) && (_root.dollar > _root.obj7_pr)) {
_root.dollar = _root.dollar - _root.obj7_pr;
_root.ammo = _root.ammo + 3;
_root.box.gotoAndPlay("takemoney");
}
}
if (((((_root.gunof2 == 7) || (_root.gunof2 == 12)) || (_root.gunof2 == 13)) || (_root.gunof2 == 16)) || (_root.gunof2 == 2)) {
if ((_root.ammo < 12) && (_root.dollar > _root.obj7_pr)) {
_root.dollar = _root.dollar - _root.obj7_pr;
_root.ammo = _root.ammo + 3;
_root.box.gotoAndPlay("takemoney");
}
}
}
Symbol 722 Button
on (release) {
if ((((((((((_root.gunof4 != 2) && (_root.gunof4 != 7)) && (_root.gunof4 != 9)) && (_root.gunof4 != 12)) && (_root.gunof4 != 13)) && (_root.gunof4 != 14)) && (_root.gunof4 != 8)) && (_root.gunof4 != 16)) && (_root.gunof4 != 21)) && (_root.gunof4 != 25)) {
if ((_root.ammo2 < 150) && (_root.dollar > _root.obj9_pr)) {
_root.dollar = _root.dollar - _root.obj9_pr;
_root.ammo2 = _root.ammo2 + 30;
_root.box.gotoAndPlay("takemoney");
}
}
if (((((_root.gunof4 == 9) || (_root.gunof4 == 14)) || (_root.gunof4 == 8)) || (_root.gunof4 == 21)) || (_root.gunof4 == 25)) {
if ((_root.ammo2 < 30) && (_root.dollar > _root.obj9_pr)) {
_root.dollar = _root.dollar - _root.obj9_pr;
_root.ammo2 = _root.ammo2 + 3;
_root.box.gotoAndPlay("takemoney");
}
}
if (((((_root.gunof4 == 7) || (_root.gunof4 == 12)) || (_root.gunof4 == 13)) || (_root.gunof4 == 16)) || (_root.gunof4 == 2)) {
if ((_root.ammo2 < 12) && (_root.dollar > _root.obj7_pr)) {
_root.dollar = _root.dollar - _root.obj9_pr;
_root.ammo2 = _root.ammo2 + 3;
_root.box.gotoAndPlay("takemoney");
}
}
}
Symbol 723 Button
on (release) {
if ((_root.greande < 5) && (_root.dollar > _root.obj8_pr)) {
_root.dollar = _root.dollar - _root.obj8_pr;
_root.greande++;
_root.box.gotoAndPlay("takemoney");
}
}
Symbol 724 Button
on (release) {
if ((_root.life_num < 40) && (_root.dollar > _root.obj10_pr)) {
_root.dollar = _root.dollar - _root.obj10_pr;
_root.life_num = _root.life_num + 2;
_root.box.gotoAndPlay("takemoney");
}
}
Symbol 737 Button
on (release) {
if (page < 3) {
page++;
gotoAndPlay(page);
}
}
Symbol 738 Button
on (release) {
if (page > 1) {
page--;
gotoAndPlay(page);
}
}
Symbol 764 Button
on (release) {
if ((aa != 11) && (_root.dollar > _root.obj11_pr)) {
_root.dollar = _root.dollar - _root.obj11_pr;
aa = 11;
whatbuy = "Law missle";
hhh = 6;
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = hhh + 1;
_root.ammo = 6;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = hhh + 1;
_root.ammo2 = 6;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = hhh;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = hhh;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = hhh;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = hhh;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:1 Damge:10 Distance:60 \nMotive force :3 \nKind:Missle lancher";
}
Symbol 765 Button
on (release) {
if ((aa != 13) && (_root.dollar > _root.obj13_pr)) {
_root.dollar = _root.dollar - _root.obj13_pr;
aa = 13;
hhh = 8;
whatbuy = "M1 Carabine";
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = hhh + 1;
_root.ammo = 30;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = hhh + 1;
_root.ammo2 = 30;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = hhh;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = hhh;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = hhh;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = hhh;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:2 Damge:1.5 Distance:30 \nMotive force :3 \nKind:Assult rifle";
}
Symbol 766 Button
on (release) {
if ((aa != 12) && (_root.dollar > _root.obj12_pr)) {
_root.dollar = _root.dollar - _root.obj12_pr;
aa = 12;
whatbuy = "shot-gun 12g";
hhh = 7;
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = hhh + 1;
_root.ammo = 30;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = hhh + 1;
_root.ammo2 = 30;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = hhh;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = hhh;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = hhh;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = hhh;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:1 Damge:3 Distance:13 \nMotive force :6 \nKind:Shotgun";
}
Symbol 767 Button
on (release) {
if ((aa != 14) && (_root.dollar > _root.obj14_pr)) {
_root.dollar = _root.dollar - _root.obj14_pr;
aa = 14;
hhh = 9;
whatbuy = "Micro Uzi I.M.I";
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = hhh + 1;
_root.ammo = 90;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = hhh + 1;
_root.ammo2 = 90;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = hhh;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = hhh;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = hhh;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = hhh;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:A Damge:1 Distance:16 \nMotive force :10 \nKind:S.M.G";
}
Symbol 768 Button
on (release) {
if ((aa != 15) && (_root.dollar > _root.obj15_pr)) {
_root.dollar = _root.dollar - _root.obj15_pr;
aa = 15;
hhh = 10;
whatbuy = "Aug Styer";
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = hhh + 1;
_root.ammo = 90;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = hhh + 1;
_root.ammo2 = 90;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = hhh;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = hhh;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = hhh;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = hhh;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:2 Damge:1.5 Distance:30 \nMotive force :4 \nKind:Assult rifle";
}
Symbol 769 Button
on (release) {
if ((aa != 16) && (_root.dollar > _root.obj16_pr)) {
_root.dollar = _root.dollar - _root.obj16_pr;
aa = 16;
hhh = 11;
whatbuy = "AT Launcher";
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = hhh + 1;
_root.ammo = 12;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = hhh + 1;
_root.ammo2 = 12;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = hhh;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = hhh;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = hhh;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = hhh;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:1 Damge:20 Distance:50 \nMotive force :4 \nKind:Missle lancher";
}
Symbol 770 Button
on (release) {
if ((aa != 17) && (_root.dollar > _root.obj17_pr)) {
_root.dollar = _root.dollar - _root.obj17_pr;
aa = 17;
hhh = 12;
whatbuy = "R.P.G";
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = hhh + 1;
_root.ammo = 12;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = hhh + 1;
_root.ammo2 = 12;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = hhh;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = hhh;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = hhh;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = hhh;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:2 Damge:10 Distance:40 \nMotive force :4 \nKind:Missle lancher";
}
Symbol 771 Button
on (release) {
if ((aa != 19) && (_root.dollar > _root.obj19_pr)) {
_root.dollar = _root.dollar - _root.obj19_pr;
aa = 19;
hhh = 14;
whatbuy = "MP5 - U.S.A Navy";
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = hhh + 1;
_root.ammo = 30;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = hhh + 1;
_root.ammo2 = 30;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = hhh;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = hhh;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = hhh;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = hhh;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:A Damge:1 Distance:20 \nMotive force :7 \nKind:S.M.G";
}
Symbol 772 Button
on (release) {
if ((aa != 18) && (_root.dollar > _root.obj18_pr)) {
_root.dollar = _root.dollar - _root.obj18_pr;
aa = 18;
hhh = 13;
whatbuy = "M5 Sniper";
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = hhh + 1;
_root.ammo = 30;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = hhh + 1;
_root.ammo2 = 30;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = hhh;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = hhh;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = hhh;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = hhh;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:1 Damge:4 Distance:50 \nMotive force :1 \nKind:Sniper rifle";
}
Symbol 773 Button
on (release) {
if ((aa != 20) && (_root.dollar > _root.obj20_pr)) {
_root.dollar = _root.dollar - _root.obj20_pr;
aa = 20;
hhh = 15;
whatbuy = "AT-Laser";
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = hhh + 1;
_root.ammo = 12;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = hhh + 1;
_root.ammo2 = 12;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = hhh;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = hhh;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = hhh;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = hhh;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:1 Damge:10 Distance:60 \nMotive force :0 \nKind:Homing Missle ()";
}
Symbol 807 Button
on (release) {
if ((aa != 21) && (_root.dollar > _root.obj21_pr)) {
_root.dollar = _root.dollar - _root.obj21_pr;
aa = 21;
whatbuy = "AK-SU SPETZ NETZ";
hhh = 16;
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = hhh + 1;
_root.ammo = 60;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = hhh + 1;
_root.ammo2 = 60;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = hhh;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = hhh;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = hhh;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = hhh;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:4 Damge:1 Distance:20 \nMotive force :5 \nKind:Assult rifle (laser scope)";
}
Symbol 808 Button
on (release) {
if ((aa != 23) && (_root.dollar > _root.obj23_pr)) {
_root.dollar = _root.dollar - _root.obj23_pr;
aa = 23;
hhh = 18;
whatbuy = "M60 - Machine gun";
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = hhh + 1;
_root.ammo = 120;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = hhh + 1;
_root.ammo2 = 120;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = hhh;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = hhh;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = hhh;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = hhh;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:A Damge:3 Distance:24 \nMotive force :12 \nKind:Machine gun";
}
Symbol 809 Button
on (release) {
if ((aa != 22) && (_root.dollar > _root.obj22_pr)) {
_root.dollar = _root.dollar - _root.obj22_pr;
aa = 22;
whatbuy = "Mp5 - SD SPEC OPS ";
hhh = 17;
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = hhh + 1;
_root.ammo = 90;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = hhh + 1;
_root.ammo2 = 90;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = hhh;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = hhh;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = hhh;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = hhh;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:A Damge:1 Distance:24 \nMotive force :7 \nKind:S.M.G";
}
Symbol 810 Button
on (release) {
if ((aa != 24) && (_root.dollar > _root.obj24_pr)) {
_root.dollar = _root.dollar - _root.obj24_pr;
aa = 24;
hhh = 19;
whatbuy = "PK90 - M.G";
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = hhh + 1;
_root.ammo = 120;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = hhh + 1;
_root.ammo2 = 120;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = hhh;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = hhh;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = hhh;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = hhh;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:A Damge:1.5 Distance:26 \nMotive force :14 \nKind:Machine gun";
}
Symbol 811 Button
on (release) {
if ((aa != 25) && (_root.dollar > _root.obj25_pr)) {
_root.dollar = _root.dollar - _root.obj25_pr;
aa = 25;
hhh = 20;
whatbuy = "MAGNUM sniper";
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = hhh + 1;
_root.ammo = 30;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = hhh + 1;
_root.ammo2 = 30;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = hhh;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = hhh;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = hhh;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = hhh;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:1 Damge:3.5 Distance:50 \nMotive force :0.1 \nKind:Sniper rifle (laser scope)";
}
Symbol 812 Button
on (release) {
if ((aa != 26) && (_root.dollar > _root.obj26_pr)) {
_root.dollar = _root.dollar - _root.obj26_pr;
aa = 26;
hhh = 21;
whatbuy = "P90 SMG";
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = hhh + 1;
_root.ammo = 90;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = hhh + 1;
_root.ammo2 = 90;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = hhh;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = hhh;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = hhh;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = hhh;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:A Damge:1 Distance:18 \nMotive force :8 \nKind:S.M.G";
}
Symbol 813 Button
on (release) {
if ((aa != 27) && (_root.dollar > _root.obj27_pr)) {
_root.dollar = _root.dollar - _root.obj27_pr;
aa = 27;
hhh = 22;
whatbuy = "Commando Delta.F";
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = hhh + 1;
_root.ammo = 90;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = hhh + 1;
_root.ammo2 = 90;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = hhh;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = hhh;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = hhh;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = hhh;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:A Damge:1.5 Distance:26 \nMotive force :6 \nKind:Assult rifle(spec ops)";
}
Symbol 814 Button
on (release) {
if (((aa != 29) && (_root.dollar > _root.obj29_pr)) && (gunof1 != 26)) {
_root.dollar = _root.dollar - _root.obj29_pr;
aa = 29;
_root.gunof1 = 26;
_root.box.gotoAndPlay("takemoney");
}
}
Symbol 815 Button
on (release) {
if ((aa != 28) && (_root.dollar > _root.obj28_pr)) {
_root.dollar = _root.dollar - _root.obj28_pr;
aa = 28;
hhh = 24;
whatbuy = "SHOTGUN- AUTO";
_root.box.gotoAndPlay("takemoney");
if (_root.box1.ison == "on") {
_root.gunof2 = hhh + 1;
_root.ammo = 30;
_root.box1.txt.text = whatbuy;
}
if (_root.box2.ison == "on") {
_root.gunof4 = hhh + 1;
_root.ammo2 = 30;
_root.box2.txt.text = whatbuy;
}
if (_root.box3.ison == "on") {
_root.gunof5 = hhh;
_root.box3.txt.text = whatbuy;
}
if (_root.box4.ison == "on") {
_root.gunof6 = hhh;
_root.box4.txt.text = whatbuy;
}
if (_root.box5.ison == "on") {
_root.gunof7 = hhh;
_root.box5.txt.text = whatbuy;
}
if (_root.box6.ison == "on") {
_root.gunof8 = hhh;
_root.box6.txt.text = whatbuy;
}
}
}
on (rollOver) {
info.info.text = "Rate:2 Damge:3 Distance:24 \nMotive force :4 \nKind:Shotgun (auto)";
}
Symbol 816 Button
on (release) {
if ((aa != 30) && (_root.dollar > _root.obj30_pr)) {
_root.dollar = _root.dollar - _root.obj30_pr;
aa = 30;
_root.life_num = 80;
_root.box.gotoAndPlay("takemoney");
}
}
Symbol 827 MovieClip Frame 1
trace(_root.obj1_pr);
stop();
page = 1;
obj1.text = "$" + _root.obj1_pr;
obj2.text = "$" + _root.obj2_pr;
obj3.text = "$" + _root.obj3_pr;
obj4.text = "$" + _root.obj4_pr;
obj5.text = "$" + _root.obj5_pr;
obj6.text = "$" + _root.obj6_pr;
obj7.text = "$" + _root.obj7_pr;
obj8.text = "$" + _root.obj8_pr;
obj9.text = "$" + _root.obj9_pr;
obj10.text = "$" + _root.obj10_pr;
Symbol 827 MovieClip Frame 2
trace(_root.obj1_pr);
stop();
obj11.text = "$" + _root.obj11_pr;
obj12.text = "$" + _root.obj12_pr;
obj13.text = "$" + _root.obj13_pr;
obj14.text = "$" + _root.obj14_pr;
obj15.text = "$" + _root.obj15_pr;
obj16.text = "$" + _root.obj16_pr;
obj17.text = "$" + _root.obj17_pr;
obj18.text = "$" + _root.obj18_pr;
obj19.text = "$" + _root.obj19_pr;
obj20.text = "$" + _root.obj20_pr;
Symbol 827 MovieClip Frame 3
trace(_root.obj1_pr);
stop();
obj21.text = "$" + _root.obj21_pr;
obj22.text = "$" + _root.obj22_pr;
obj23.text = "$" + _root.obj23_pr;
obj24.text = "$" + _root.obj24_pr;
obj25.text = "$" + _root.obj25_pr;
obj26.text = "$" + _root.obj26_pr;
obj27.text = "$" + _root.obj27_pr;
obj28.text = "$" + _root.obj28_pr;
obj29.text = "$" + _root.obj29_pr;
obj30.text = "$" + _root.obj30_pr;
Symbol 828 Button
on (release) {
box1.ison = "off";
box2.ison = "on";
box3.ison = "off";
box4.ison = "off";
box5.ison = "off";
box6.ison = "off";
}
Symbol 829 Button
on (release) {
box1.ison = "off";
box2.ison = "off";
box3.ison = "on";
box4.ison = "off";
box5.ison = "off";
box6.ison = "off";
}
Symbol 830 Button
on (release) {
box1.ison = "off";
box2.ison = "off";
box3.ison = "off";
box4.ison = "on";
box5.ison = "off";
box6.ison = "off";
}
Symbol 831 Button
on (release) {
box1.ison = "off";
box2.ison = "off";
box3.ison = "off";
box4.ison = "off";
box5.ison = "on";
box6.ison = "off";
}
Symbol 832 Button
on (release) {
box1.ison = "off";
box2.ison = "off";
box3.ison = "off";
box4.ison = "off";
box5.ison = "off";
box6.ison = "on";
}
Symbol 833 Button
on (release) {
if (level > 0) {
gotoAndPlay ("loading");
}
if (level == 0) {
gotoAndPlay ("lAction");
}
}
Symbol 863 Button
on (release) {
_root.gotoAndPlay("lAction");
}
Symbol 865 MovieClip Frame 1
Symbol 865 MovieClip Frame 50
stop();
Symbol 868 Button
on (release) {
gotoAndPlay ("lAction");
dollar = dollar - 5000;
dollar_all = dollar_all - 5000;
life_num = 25;
}
Symbol 908 Button
on (release) {
gotoAndPlay ("menu");
}