Frame 1
fscommand ("Allowscale", false);
fscommand ("showmenu", false);
fscommand ("trapallkeys", true);
_root.clear();
play();
Frame 2
total = this.getBytesTotal();
loaded = this.getBytesLoaded();
loading = int((loaded / total) * 100);
baifenbi = loading + "%";
setProperty("loader", _xscale , loading - 2);
play();
Frame 3
if (loading == 100) {
nextFrame();
} else {
gotoAndPlay (2);
}
Frame 4
stop();
Frame 5
_quality = "MEDIUM";
_root.attachMovie("messione", "messione", 1);
stop();
Frame 6
stop();
delete _root.onEnterFrame;
messione.removeMovieClip();
z = new Sound();
z.attachSound("gamemuices");
z.start(0, 10);
_root.attachMovie("mask", "mask", 99999);
mask._alpha = 100;
_root.attachMovie("per", "per", 999);
per.gotoAndStop("both");
per._x = 200;
per._y = 320;
var maps = _root.attachMovie("mapA", "map", 1);
maps._x = 40;
maps._y = 312;
maps.onEnterFrame = function () {
if (this._y < 4285) {
this._y++;
} else {
this._y = 312;
}
};
var a = 0;
var b = 0;
var c = 1;
var d = 0;
var e = 0;
var f = 7;
var g = 0;
var h = 0;
var i = 1;
var j = 0;
var k = 0;
var l = 7;
var m = 100;
var n = 0;
var o = 0;
var p = 1;
var q = 100;
var r = 0;
var s = 0;
var t = 1;
var u = 0;
var v = 0;
var w = 1;
var aa = 0;
var bb = 0;
var dd = 7;
var ee = 0;
var ff = 0;
var gg = 1;
var hh = 0;
var ii = 0;
var jj = 7;
var kk = 100;
var ll = 0;
var mm = 1;
var nn = 0;
var oo = 100;
var pp = 0;
var qq = 1;
var rr = 100;
var ss = 0;
var tt = 1;
_root.frier = 0;
_root.friers = 0;
_root.frierx = 0;
var comAhp = 120;
var comBhp = 120;
var comChp = 180;
var comDhp = 180;
var comEhp = 250;
var comFhp = 250;
var step = 0;
var times = 4800;
_root.onEnterFrame = function () {
times--;
step++;
if ((times < 4700) && (times > 4500)) {
if (a == 0) {
var _local18 = _root.attachMovie("shotG", "shota", 10000);
if (Math.abs(_root.per._x - _root.cam3._x) < 50) {
var speedy = (random(2) + 3);
var speedx = (random(3) - 1);
} else if (Math.abs(_root.per._y - _root.cam3._y) < 50) {
var speedy = (random(3) - 1);
var speedx = (random(2) + 3);
} else {
var speedx = (random(2) + 3);
var speedy = (random(3) + 1);
}
var fx = 0;
if ((_root.per._x <= _root.cam3._x) && (_root.per._y > _root.cam3._y)) {
fx = 1;
}
if ((_root.per._x >= _root.cam3._x) && (_root.per._y > _root.cam3._y)) {
fx = 2;
}
if ((_root.per._x <= _root.cam3._x) && (_root.per._y < _root.cam3._y)) {
fx = 3;
}
if ((_root.per._x >= _root.cam3._x) && (_root.per._y < _root.cam3._y)) {
fx = 4;
}
_local18._x = _root.cam3._x;
_local18._y = _root.cam3._y;
a = 1;
}
_local18.onEnterFrame = function () {
if ((fx == 1) && (a == 1)) {
this._x = this._x - speedx;
this._y = this._y + speedy;
}
if ((fx == 2) && (a == 1)) {
this._x = this._x + speedx;
this._y = this._y + speedy;
}
if ((fx == 3) && (a == 1)) {
this._x = this._x - speedx;
this._y = this._y - speedy;
}
if ((fx == 4) && (a == 1)) {
this._x = this._x + speedx;
this._y = this._y - speedy;
}
if (this.hitTest(_root.per.hit)) {
a = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
a = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
a = 0;
removeMovieClip(this);
}
};
if (((step % 18) == 0) && (b == 0)) {
var _local14 = _root.attachMovie("com1", "cam" + c, 100 + c);
c++;
if (c > 6) {
c = 1;
b = 1;
}
_local14._x = 50;
_local14._y = 100;
_local14.state = 1;
_local14.onEnterFrame = function () {
if (this.state == 1) {
if ((this._x < 250) && (this._y <= 110)) {
this._x = this._x + 3;
} else {
this.com.gotoAndStop(2);
this._y = this._y + 3;
}
if (this._y >= 160) {
this.com.gotoAndStop(3);
this._x = this._x - 3;
this._y = this._y + 2;
}
if ((((this._y >= 330) || (this._y <= -10)) || (this._x <= 40)) || (this._x >= 360)) {
removeMovieClip(this);
}
}
};
}
}
if ((times < 4600) && (times > 4400)) {
if (d == 0) {
var _local17 = _root.attachMovie("shotG", "shotb", 10001);
if (Math.abs(_root.per._x - _root.cam8._x) < 50) {
var speedyy = (random(2) + 3);
var speedxx = (random(3) - 1);
} else if (Math.abs(_root.per._y - _root.cam8._y) < 50) {
var speedyy = (random(3) - 1);
var speedxx = (random(2) + 3);
} else {
var speedxx = (random(2) + 3);
var speedyy = (random(3) + 1);
}
var fx2 = 0;
if ((_root.per._x <= _root.cam8._x) && (_root.per._y > _root.cam8._y)) {
fx2 = 1;
}
if ((_root.per._x >= _root.cam8._x) && (_root.per._y > _root.cam8._y)) {
fx2 = 2;
}
if ((_root.per._x <= _root.cam8._x) && (_root.per._y < _root.cam8._y)) {
fx2 = 3;
}
if ((_root.per._x >= _root.cam8._x) && (_root.per._y < _root.cam8._y)) {
fx2 = 4;
}
_local17._x = _root.cam8._x;
_local17._y = _root.cam8._y;
d = 1;
}
_local17.onEnterFrame = function () {
if ((fx2 == 1) && (d == 1)) {
this._x = this._x - speedxx;
this._y = this._y + speedyy;
}
if ((fx2 == 2) && (d == 1)) {
this._x = this._x + speedxx;
this._y = this._y + speedyy;
}
if ((fx2 == 3) && (d == 1)) {
this._x = this._x - speedxx;
this._y = this._y - speedyy;
}
if ((fx2 == 4) && (d == 1)) {
this._x = this._x + speedxx;
this._y = this._y - speedyy;
}
if (this.hitTest(_root.per.hit)) {
d = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
d = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
d = 0;
removeMovieClip(this);
}
};
if (((step % 18) == 0) && (e == 0)) {
var _local4 = _root.attachMovie("com1", "cam" + f, 120 + f);
f++;
if (f > 12) {
f = 7;
e = 1;
}
_local4._xscale = -100;
_local4._x = 350;
_local4._y = 100;
_local4.state = 1;
_local4.onEnterFrame = function () {
if (this.state == 1) {
if ((this._x > 150) && (this._y <= 110)) {
this._x = this._x - 3;
} else {
this.com.gotoAndStop(2);
this._y = this._y + 3;
}
if (this._y >= 160) {
this.com.gotoAndStop(3);
this._x = this._x + 3;
this._y = this._y + 2;
}
if (((((this._y >= 330) || (this._y <= -10)) || (this._x <= 40)) || (this._x >= 360)) || (this._currentframe >= 22)) {
removeMovieClip(this);
}
}
};
}
}
if ((times < 4300) && (times > 4100)) {
if (g == 0) {
var _local16 = _root.attachMovie("shotG", "shotc", 10002);
if (Math.abs(_root.per._x - _root.cem3._x) < 50) {
var speedy = (random(2) + 3);
var speedx = (random(3) - 1);
} else if (Math.abs(_root.per._y - _root.cem3._y) < 50) {
var speedy = (random(3) - 1);
var speedx = (random(2) + 3);
} else {
var speedx = (random(2) + 3);
var speedy = (random(3) + 1);
}
var fx3 = 0;
if ((_root.per._x <= _root.cem3._x) && (_root.per._y > _root.cem3._y)) {
fx3 = 1;
}
if ((_root.per._x >= _root.cem3._x) && (_root.per._y > _root.cem3._y)) {
fx3 = 2;
}
if ((_root.per._x <= _root.cem3._x) && (_root.per._y < _root.cem3._y)) {
fx3 = 3;
}
if ((_root.per._x >= _root.cem3._x) && (_root.per._y < _root.cem3._y)) {
fx3 = 4;
}
_local16._x = _root.cem3._x;
_local16._y = _root.cem3._y;
g = 1;
}
_local16.onEnterFrame = function () {
if ((fx3 == 1) && (g == 1)) {
this._x = this._x - speedx;
this._y = this._y + speedy;
}
if ((fx3 == 2) && (g == 1)) {
this._x = this._x + speedx;
this._y = this._y + speedy;
}
if ((fx3 == 3) && (g == 1)) {
this._x = this._x - speedx;
this._y = this._y - speedy;
}
if ((fx3 == 4) && (g == 1)) {
this._x = this._x + speedx;
this._y = this._y - speedy;
}
if (this.hitTest(_root.per.hit)) {
g = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
g = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
g = 0;
removeMovieClip(this);
}
};
if (((step % 15) == 0) && (h == 0)) {
var _local13 = _root.attachMovie("com", "cem" + i, 140 + i);
i++;
if (i > 6) {
i = 1;
h = 1;
}
_local13._x = 250;
_local13._y = -20;
_local13.state = 1;
_local13.onEnterFrame = function () {
if (this.state == 1) {
if (this._y >= 160) {
this._x = this._x - 4;
this._y = this._y + 2;
} else {
this._y = this._y + 3;
}
if ((((this._y >= 330) || (this._x <= 40)) || (this._x >= 360)) || (this._currentframe >= 22)) {
removeMovieClip(this);
}
}
};
}
}
if ((times < 4200) && (times > 4000)) {
if (j <= 0) {
var _local15 = _root.attachMovie("shotG", "shotd", 10003);
if (Math.abs(_root.per._x - _root.cem8._x) < 50) {
var speedyy = (random(2) + 3);
var speedxx = (random(4) - 2);
} else if (Math.abs(_root.per._y - _root.cem8._y) < 50) {
var speedyy = (random(4) - 2);
var speedxx = (random(2) + 3);
} else {
speedxx = random(2) + 3;
speedyy = random(4) + 2;
}
var fx4 = 0;
if ((_root.per._x <= _root.cem8._x) && (_root.per._y > _root.cem8._y)) {
fx4 = 1;
}
if ((_root.per._x >= _root.cem8._x) && (_root.per._y > _root.cem8._y)) {
fx4 = 2;
}
if ((_root.per._x <= _root.cem8._x) && (_root.per._y < _root.cem8._y)) {
fx4 = 3;
}
if ((_root.per._x >= _root.cem8._x) && (_root.per._y < _root.cem8._y)) {
fx4 = 4;
}
_local15._x = _root.cem8._x;
_local15._y = _root.cem8._y;
j = 1;
}
_local15.onEnterFrame = function () {
if ((fx4 == 1) && (j == 1)) {
this._x = this._x - speedxx;
this._y = this._y + speedyy;
}
if ((fx4 == 2) && (j == 1)) {
this._x = this._x + speedxx;
this._y = this._y + speedyy;
}
if ((fx4 == 3) && (j == 1)) {
this._x = this._x - speedxx;
this._y = this._y - speedyy;
}
if ((fx4 == 4) && (j == 1)) {
this._x = this._x + speedxx;
this._y = this._y - speedyy;
}
if (this.hitTest(_root.per.hit)) {
j = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
j = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
j = 0;
removeMovieClip(this);
}
};
if (((step % 15) == 0) && (k == 0)) {
var _local12 = _root.attachMovie("com", "cem" + l, 160 + l);
l++;
if (l > 12) {
l = 7;
k = 1;
}
_local12._x = 150;
_local12._y = -20;
_local12.state = 1;
_local12.onEnterFrame = function () {
if (this.state == 1) {
if (this._y >= 160) {
this._x = this._x + 4;
this._y = this._y + 2;
} else {
this._y = this._y + 3;
}
if ((((this._y >= 330) || (this._x <= 40)) || (this._x >= 360)) || (this._currentframe >= 22)) {
removeMovieClip(this);
}
}
};
}
}
if (times < 4500) {
m--;
if ((((m <= 0) && (n <= 0)) && ((step % 4) == 0)) && (comAhp > 0)) {
var _local30 = _root.attachMovie("shotG", "shote" + p, 11000 + p);
p++;
if (p > 10) {
p = 1;
n = 1;
m = 100;
}
_local30._x = _root.comA._x;
_local30._y = _root.comA._y + 8;
}
var fx5 = 0;
if ((_root.per._x <= _root.comA._x) && (_root.per._y > _root.comA._y)) {
fx5 = 1;
}
if ((_root.per._x >= _root.comA._x) && (_root.per._y > _root.comA._y)) {
fx5 = 2;
}
if ((_root.per._x <= _root.comA._x) && (_root.per._y < _root.comA._y)) {
fx5 = 3;
}
if ((_root.per._x >= _root.comA._x) && (_root.per._y < _root.comA._y)) {
fx5 = 4;
}
if (Math.abs(_root.per._x - _root.comA._x) < 50) {
var speedyx = (random(4) + 2);
var speedxy = (random(4) - 2);
} else if (Math.abs(_root.per._y - _root.comA._y) < 50) {
var speedyx = (random(4) - 2);
var speedxy = (random(4) + 2);
} else {
var speedxy = (random(4) + 2);
var speedyx = (random(4) + 1);
}
_local30.onEnterFrame = function () {
if (fx5 == 1) {
this._x = this._x - speedxy;
this._y = this._y + speedyx;
}
if (fx5 == 2) {
this._x = this._x + speedxy;
this._y = this._y + speedyx;
}
if (fx5 == 3) {
this._x = this._x - speedxy;
this._y = this._y - speedyx;
}
if (fx5 == 4) {
this._x = this._x + speedxy;
this._y = this._y - speedyx;
}
if (this.hitTest(_root.per.hit)) {
n--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
n--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
n--;
removeMovieClip(this);
}
};
if (o == 0) {
var _local3 = _root.attachMovie("com3", "comA", 180);
o = 1;
}
_local3._x = 40;
_local3._y = 168;
_local3.state = 1;
_local3.time = 40;
_local3.onEnterFrame = function () {
if ((comAhp <= 0) && (this.state == 1)) {
this.gotoAndPlay("boom");
var _local3 = _root.attachMovie("level", "level", 60);
_local3._x = this._x;
_local3._y = this._y;
this.state = 0;
}
if ((times > 3880) && (o == 1)) {
if (this._x < 160) {
this._x = this._x + 0.5;
this._y = this._y - 0.5;
} else {
this._y = this._y + 0.5;
}
} else if (this._x > 0) {
this._x--;
this._y++;
}
if ((this._x <= 0) || (this._y >= 330)) {
removeMovieClip(this);
}
};
}
if (times < 4300) {
q--;
if ((((r <= 0) && (q <= 0)) && ((step % 4) == 0)) && (comBhp > 0)) {
var _local29 = _root.attachMovie("shotG", "shotf" + t, 12000 + t);
t++;
if (t > 10) {
t = 1;
r = 1;
q = 100;
}
_local29._x = _root.comB._x;
_local29._y = _root.comB._y + 8;
}
var fx6 = 0;
if ((_root.per._x <= _root.comB._x) && (_root.per._y > _root.comB._y)) {
fx6 = 1;
}
if ((_root.per._x >= _root.comB._x) && (_root.per._y > _root.comB._y)) {
fx6 = 2;
}
if ((_root.per._x <= _root.comB._x) && (_root.per._y < _root.comB._y)) {
fx6 = 3;
}
if ((_root.per._x >= _root.comB._x) && (_root.per._y < _root.comB._y)) {
fx6 = 4;
}
if (Math.abs(_root.per._x - _root.comB._x) < 50) {
var speedxyy = (random(4) - 2);
var speedyxx = (random(4) + 2);
} else if (Math.abs(_root.per._y - _root.comB._y) < 50) {
var speedxyy = (random(4) + 2);
var speedyxx = (random(4) - 2);
} else {
var speedyxx = (random(4) + 2);
var speedxyy = (random(4) + 1);
}
_local29.onEnterFrame = function () {
if (fx6 == 1) {
this._x = this._x - speedxyy;
this._y = this._y + speedyxx;
}
if (fx6 == 2) {
this._y = this._y + speedyxx;
this._x = this._x + speedxyy;
}
if (fx6 == 3) {
this._y = this._y - speedyxx;
this._x = this._x - speedxyy;
}
if (fx6 == 4) {
this._y = this._y + speedyxx;
this._x = this._x - speedxyy;
}
if (this.hitTest(_root.per.hit)) {
r--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
r--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
r--;
removeMovieClip(this);
}
};
if (s == 0) {
var _local11 = _root.attachMovie("com3", "comB", 181);
s = 1;
}
_local11._x = 360;
_local11._y = 168;
_local11.state = 1;
_local11.onEnterFrame = function () {
if ((comBhp <= 0) && (this.state == 1)) {
this.gotoAndPlay("boom");
var _local3 = _root.attachMovie("level2", "level2", 50);
_local3._x = this._x;
_local3._y = this._y;
this.state = 0;
}
if ((times > 3680) && (s == 1)) {
if (this._x > 240) {
this._x = this._x - 0.5;
this._y = this._y - 0.5;
} else {
this._y = this._y + 0.5;
}
} else if (this._x < 400) {
this._x++;
this._y++;
}
if ((this._x >= 400) || (this._y >= 330)) {
removeMovieClip(this);
}
};
}
if ((times < 4000) && (times > 3800)) {
shotj.removeMovieClip();
if (((step % 12) == 0) && (v == 0)) {
var _local10 = _root.attachMovie("com9", "cam" + w, 200 + w);
w++;
if (w > 6) {
w = 1;
v = 1;
}
_local10._x = 60;
_local10._y = 200;
_local10.state = 1;
_local10.onEnterFrame = function () {
if (this.state == 1) {
if (this._x < 180) {
this._yscale = -100;
this._x = this._x + 2;
this._y = this._y - 3;
}
if (this._x >= 180) {
this._yscale = 100;
this._y = this._y + 4;
}
if ((this._y >= 330) || (this._y <= -10)) {
removeMovieClip(this);
}
}
};
}
if (u == 0) {
var _local28 = _root.attachMovie("shotH", "shotg", 10004);
if (Math.abs(_root.per._x - _root.cam3._x) < 50) {
var speedyyx = (random(2) + 3);
var speedxxy = (random(3) - 1);
} else if (Math.abs(_root.per._y - _root.cam3._y) < 50) {
var speedyyx = (random(3) - 1);
var speedxxy = (random(2) + 3);
} else {
var speedxxy = (random(2) + 3);
var speedyyx = (random(3) + 1);
}
var fx7 = 0;
if ((_root.per._x <= _root.cam3._x) && (_root.per._y > _root.cam3._y)) {
fx7 = 1;
}
if ((_root.per._x >= _root.cam3._x) && (_root.per._y > _root.cam3._y)) {
fx7 = 2;
}
if ((_root.per._x <= _root.cam3._x) && (_root.per._y < _root.cam3._y)) {
fx7 = 3;
}
if ((_root.per._x >= _root.cam3._x) && (_root.per._y < _root.cam3._y)) {
fx7 = 4;
}
_local28._x = _root.cam3._x;
_local28._y = _root.cam3._y;
u = 1;
}
_local28.onEnterFrame = function () {
if ((fx7 == 1) && (u == 1)) {
this._x = this._x - speedxxy;
this._y = this._y + speedyyx;
}
if ((fx7 == 2) && (u == 1)) {
this._x = this._x + speedxxy;
this._y = this._y + speedyyx;
}
if ((fx7 == 3) && (u == 1)) {
this._x = this._x - speedxxy;
this._y = this._y - speedyyx;
}
if ((fx7 == 4) && (u == 1)) {
this._x = this._x + speedxxy;
this._y = this._y - speedyyx;
}
if (this.hitTest(_root.per.hit)) {
u = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
u = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
u = 0;
removeMovieClip(this);
}
};
}
if ((times < 3900) && (times > 3700)) {
if (((step % 12) == 0) && (bb == 0)) {
var _local9 = _root.attachMovie("com9", "cam" + dd, 220 + dd);
dd++;
if (dd > 12) {
dd = 7;
bb = 1;
}
_local9._x = 340;
_local9._y = 200;
_local9.state = 1;
_local9.onEnterFrame = function () {
if (this.state == 1) {
if (this._x > 220) {
this._yscale = -100;
this._x = this._x - 2;
this._y = this._y - 3;
}
if (this._x <= 220) {
this._yscale = 100;
this._y = this._y + 4;
}
if ((this._y >= 330) || (this._y <= -10)) {
removeMovieClip(this);
}
}
};
}
if (aa == 0) {
var _local27 = _root.attachMovie("shotH", "shoth", 10005);
if (Math.abs(_root.per._x - _root.cam8._x) < 50) {
var speedyyxx = (random(2) + 3);
var speedxxyy = (random(4) - 2);
} else if (Math.abs(_root.per._y - _root.cam8._y) < 50) {
var speedyyxx = (random(4) - 2);
var speedxxyy = (random(2) + 3);
} else {
var speedxxyy = (random(2) + 3);
var speedyyxx = (random(4) + 2);
}
var fx8 = 0;
if ((_root.per._x <= _root.cam8._x) && (_root.per._y > _root.cam8._y)) {
fx8 = 1;
}
if ((_root.per._x >= _root.cam8._x) && (_root.per._y > _root.cam8._y)) {
fx8 = 2;
}
if ((_root.per._x <= _root.cam8._x) && (_root.per._y < _root.cam8._y)) {
fx8 = 3;
}
if ((_root.per._x >= _root.cam8._x) && (_root.per._y < _root.cam8._y)) {
fx8 = 4;
}
_local27._x = _root.cam8._x;
_local27._y = _root.cam8._y;
aa = 1;
}
_local27.onEnterFrame = function () {
if ((fx8 == 1) && (aa == 1)) {
this._x = this._x - speedxxyy;
this._y = this._y + speedyyxx;
}
if ((fx8 == 2) && (aa == 1)) {
this._x = this._x + speedxxyy;
this._y = this._y + speedyyxx;
}
if ((fx8 == 3) && (aa == 1)) {
this._x = this._x - speedxxyy;
this._y = this._y - speedyyxx;
}
if ((fx8 == 4) && (aa == 1)) {
this._x = this._x + speedxxyy;
this._y = this._y - speedyyxx;
}
if (this.hitTest(_root.per.hit)) {
aa = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
aa = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
aa = 0;
removeMovieClip(this);
}
};
}
if ((times < 3600) && (times > 3400)) {
if (((step % 18) == 0) && (ff == 0)) {
var _local8 = _root.attachMovie("com", "cem" + gg, 240 + gg);
gg++;
if (gg > 6) {
gg = 1;
ff = 1;
}
_local8._x = 70;
_local8._y = -10;
_local8.state = 1;
_local8.onEnterFrame = function () {
if (this.state == 1) {
if (this._y < 150) {
this._x = this._x + 2;
this._y = this._y + 3;
} else {
this.state = 0;
}
} else {
this._yscale = -100;
this._x = this._x + 2;
this._y = this._y - 3;
}
if (((this._y >= 330) || (this._y <= -20)) || (this._x >= 360)) {
removeMovieClip(this);
}
};
}
if (ee == 0) {
var _local26 = _root.attachMovie("shotG", "shoti", 10006);
if (Math.abs(_root.per._x - _root.cem3._x) < 50) {
var speedya = (random(2) + 3);
var speedxa = (random(4) - 1);
} else if (Math.abs(_root.per._y - _root.cem3._y) < 50) {
var speedya = (random(4) - 1);
var speedxa = (random(2) + 3);
} else {
var speedxa = (random(2) + 3);
var speedya = (random(3) + 1);
}
var fx9 = 0;
if ((_root.per._x <= _root.cem3._x) && (_root.per._y > _root.cem3._y)) {
fx9 = 1;
}
if ((_root.per._x >= _root.cem3._x) && (_root.per._y > _root.cem3._y)) {
fx9 = 2;
}
if ((_root.per._x <= _root.cem3._x) && (_root.per._y < _root.cem3._y)) {
fx9 = 3;
}
if ((_root.per._x >= _root.cem3._x) && (_root.per._y < _root.cem3._y)) {
fx9 = 4;
}
_local26._x = _root.cem3._x;
_local26._y = _root.cem3._y;
ee = 1;
}
_local26.onEnterFrame = function () {
if (fx9 == 1) {
this._x = this._x - speedxa;
this._y = this._y + speedya;
}
if (fx9 == 2) {
this._x = this._x + speedxa;
this._y = this._y + speedya;
}
if (fx9 == 3) {
this._x = this._x - speedxa;
this._y = this._y - speedya;
}
if (fx9 == 4) {
this._x = this._x + speedxa;
this._y = this._y - speedya;
}
if (this.hitTest(_root.per.hit)) {
ee = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ee = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ee = 0;
removeMovieClip(this);
}
};
}
if ((times < 3500) && (times > 3300)) {
if (((step % 18) == 0) && (ii == 0)) {
var _local7 = _root.attachMovie("com", "cem" + jj, 260 + jj);
jj++;
if (jj > 12) {
jj = 7;
ii = 1;
}
_local7._x = 330;
_local7._y = -10;
_local7.state = 1;
_local7.onEnterFrame = function () {
if (this.state == 1) {
if (this._y < 150) {
this._x = this._x - 2;
this._y = this._y + 3;
} else {
this.state = 0;
}
} else {
this._yscale = -100;
this._x = this._x - 2;
this._y = this._y - 3;
}
if (((this._y >= 330) || (this._y <= -20)) || (this._x <= 40)) {
removeMovieClip(this);
}
};
}
if (hh == 0) {
var _local25 = _root.attachMovie("shotG", "shotj", 10007);
if (Math.abs(_root.per._x - _root.cem8._x) < 50) {
var speedyya = (random(2) + 3);
var speedxxa = (random(4) - 1);
} else if (Math.abs(_root.per._y - _root.cem8._y) < 50) {
var speedyya = (random(4) - 1);
var speedxxa = (random(2) + 3);
} else {
var speedxxa = (random(2) + 3);
var speedyya = (random(3) + 1);
}
var fx10 = 0;
if ((_root.per._x <= _root.cem8._x) && (_root.per._y > _root.cem8._y)) {
fx10 = 1;
}
if ((_root.per._x >= _root.cem8._x) && (_root.per._y > _root.cem8._y)) {
fx10 = 2;
}
if ((_root.per._x <= _root.cem8._x) && (_root.per._y < _root.cem8._y)) {
fx10 = 3;
}
if ((_root.per._x >= _root.cem8._x) && (_root.per._y < _root.cem8._y)) {
fx10 = 4;
}
_local25._x = _root.cem8._x;
_local25._y = _root.cem8._y;
hh = 1;
}
_local25.onEnterFrame = function () {
if (fx10 == 1) {
this._x = this._x - speedxxa;
this._y = this._y + speedyya;
}
if (fx10 == 2) {
this._x = this._x + speedxxa;
this._y = this._y + speedyya;
}
if (fx10 == 3) {
this._x = this._x - speedxxa;
this._y = this._y - speedyya;
}
if (fx10 == 4) {
this._x = this._x + speedxxa;
this._y = this._y - speedyya;
}
if (this.hitTest(_root.per.hit)) {
hh = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
hh = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
hh = 0;
removeMovieClip(this);
}
};
}
if (times < 3900) {
if (nn == 0) {
var _local6 = _root.attachMovie("com2", "comC", 192);
var _local5 = _root.attachMovie("com2", "comD", 193);
nn = 1;
}
_local6._x = 150;
_local6._y = -10;
_local5._x = 250;
_local5._y = -10;
_local6.state = 1;
_local5.state = 1;
_local6.onEnterFrame = function () {
if ((comChp <= 0) && (this.state == 1)) {
this.gotoAndPlay("boom");
this.state = 0;
}
if ((this._y < 350) && (comChp > 0)) {
this._y = this._y + 0.5;
}
if (this._y >= 350) {
removeMovieClip(this);
}
};
_local5.onEnterFrame = function () {
if ((comDhp <= 0) && (this.state == 1)) {
this.gotoAndPlay("boom");
this.state = 0;
}
if ((this._y < 350) && (comDhp > 0)) {
this._y = this._y + 0.5;
}
if (this._y >= 350) {
removeMovieClip(this);
}
};
oo--;
if ((((pp <= 0) && (oo <= 0)) && ((step % 4) == 0)) && (comChp > 0)) {
var _local20 = _root.attachMovie("shotG", "shoto" + qq, 40000 + qq);
qq++;
if (qq > 6) {
qq = 1;
pp = 1;
oo = 100;
}
_local20._x = _root.comC._x;
_local20._y = _root.comC._y + 8;
}
var fx10 = 0;
if ((_root.per._x <= _root.comC._x) && (_root.per._y > _root.comC._y)) {
fx10 = 4;
}
if ((_root.per._x >= _root.comC._x) && (_root.per._y > _root.comC._y)) {
fx10 = 2;
}
if ((_root.per._x <= _root.comC._x) && (_root.per._y < _root.comC._y)) {
fx10 = 3;
}
if ((_root.per._x >= _root.comC._x) && (_root.per._y < _root.comC._y)) {
fx10 = 1;
}
if (Math.abs(_root.per._x - _root.comC._x) < 50) {
var speedxyyx = (random(4) - 2);
var speedyxxy = (random(4) + 2);
} else if (Math.abs(_root.per._y - _root.comC._y) < 50) {
var speedxyyx = (random(4) + 2);
var speedyxxy = (random(4) - 2);
} else {
var speedyxxy = (random(4) + 2);
var speedxyyx = (random(4) + 1);
}
_local20.onEnterFrame = function () {
if (fx10 == 1) {
this._x = this._x + speedxyyx;
this._y = this._y - speedyxxy;
}
if (fx10 == 2) {
this._y = this._y + speedyxxy;
this._x = this._x + speedxyyx;
}
if (fx10 == 3) {
this._y = this._y - speedyxxy;
this._x = this._x - speedxyyx;
}
if (fx10 == 4) {
this._y = this._y + speedyxxy;
this._x = this._x - speedxyyx;
}
if (this.hitTest(_root.per.hit)) {
pp--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
pp--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
pp--;
removeMovieClip(this);
}
};
rr--;
if ((((ss <= 0) && (rr <= 0)) && ((step % 4) == 0)) && (comDhp > 0)) {
var _local19 = _root.attachMovie("shotG", "shotp" + tt, 50000 + tt);
tt++;
if (tt > 6) {
tt = 1;
ss = 1;
rr = 100;
}
_local19._x = _root.comD._x;
_local19._y = _root.comD._y + 8;
}
var fx11 = 0;
if ((_root.per._x <= _root.comD._x) && (_root.per._y > _root.comD._y)) {
fx11 = 1;
}
if ((_root.per._x >= _root.comD._x) && (_root.per._y > _root.comD._y)) {
fx11 = 2;
}
if ((_root.per._x <= _root.comD._x) && (_root.per._y < _root.comD._y)) {
fx11 = 3;
}
if ((_root.per._x >= _root.comD._x) && (_root.per._y < _root.comD._y)) {
fx11 = 4;
}
if (Math.abs(_root.per._x - _root.comD._x) < 50) {
var speedxyyy = (random(4) - 2);
var speedyxxx = (random(4) + 2);
} else if (Math.abs(_root.per._y - _root.comD._y) < 50) {
var speedxyyy = (random(4) + 2);
var speedyxxx = (random(4) - 2);
} else {
var speedyxxx = (random(4) + 2);
var speedxyyy = (random(4) + 1);
}
_local19.onEnterFrame = function () {
if (fx11 == 1) {
this._x = this._x - speedxyyy;
this._y = this._y + speedyxxx;
}
if (fx11 == 2) {
this._y = this._y + speedyxxx;
this._x = this._x + speedxyyy;
}
if (fx11 == 3) {
this._y = this._y - speedyxxx;
this._x = this._x - speedxyyy;
}
if (fx11 == 4) {
this._y = this._y + speedyxxx;
this._x = this._x - speedxyyy;
}
if (this.hitTest(_root.per.hit)) {
ss--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ss--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ss--;
removeMovieClip(this);
}
};
kk--;
if (((ll <= 0) && (kk <= 0)) && ((step % 3) == 0)) {
var _local24 = _root.attachMovie("shotH", "shotk" + mm, 13000 + mm);
var _local23 = _root.attachMovie("shotH", "shotl" + mm, 14000 + mm);
var _local22 = _root.attachMovie("shotH", "shotm" + mm, 15000 + mm);
var _local21 = _root.attachMovie("shotH", "shotn" + mm, 16000 + mm);
mm++;
if (mm > 5) {
mm = 1;
ll = 1;
kk = 160;
}
_local24._x = _root.comC._x + 15;
_local24._y = _root.comC._y + 8;
_local23._x = _root.comC._x - 15;
_local23._y = _root.comC._y + 8;
_local22._x = _root.comD._x + 15;
_local22._y = _root.comD._y + 8;
_local21._x = _root.comD._x - 15;
_local21._y = _root.comD._y + 8;
_local24.onEnterFrame = function () {
this._y = this._y + 3;
if (this.hitTest(_root.per.hit)) {
ll--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ll--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ll--;
removeMovieClip(this);
}
};
_local23.onEnterFrame = function () {
this._y = this._y + 3;
if (this.hitTest(_root.per.hit)) {
ll--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ll--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ll--;
removeMovieClip(this);
}
};
_local22.onEnterFrame = function () {
this._y = this._y + 3;
if (this.hitTest(_root.per.hit)) {
ll--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ll--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ll--;
removeMovieClip(this);
}
};
_local21.onEnterFrame = function () {
this._y = this._y + 3;
if (this.hitTest(_root.per.hit)) {
ll--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ll--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ll--;
removeMovieClip(this);
}
};
}
}
if (times < 3330) {
nextFrame();
}
};
Frame 7
var a = 0;
var b = 0;
var c = 1;
var d = 0;
var e = 0;
var f = 7;
var g = 0;
var h = 0;
var i = 1;
var j = 0;
var k = 0;
var l = 7;
var m = 100;
var n = 0;
var o = 0;
var p = 1;
var q = 100;
var r = 0;
var s = 0;
var t = 1;
var u = 0;
var v = 0;
var w = 1;
var aa = 0;
var bb = 0;
var dd = 7;
var ee = 0;
var ff = 0;
var gg = 1;
var hh = 0;
var ii = 0;
var jj = 7;
var kk = 100;
var ll = 0;
var mm = 1;
var nn = 0;
var oo = 100;
var pp = 0;
var qq = 1;
var rr = 100;
var ss = 0;
var tt = 1;
var frier = 0;
var friers = 0;
var frierx = 0;
var perlife = 8;
var comAhp = 160;
var comBhp = 160;
var comChp = 180;
var comDhp = 180;
var comEhp = 250;
var comFhp = 250;
var step = 0;
var times = 4800;
_root.onEnterFrame = function () {
times--;
step++;
if ((times < 4700) && (times > 4500)) {
if (a == 0) {
var _local16 = _root.attachMovie("shotG", "shota", 10000);
if (Math.abs(_root.per._x - _root.cam3._x) < 50) {
var speedy = (random(2) + 3);
var speedx = (random(3) - 1);
} else if (Math.abs(_root.per._y - _root.cam3._y) < 50) {
var speedy = (random(3) - 1);
var speedx = (random(2) + 3);
} else {
var speedx = (random(2) + 3);
var speedy = (random(3) + 1);
}
var fx = 0;
if ((_root.per._x <= _root.cam3._x) && (_root.per._y > _root.cam3._y)) {
fx = 1;
}
if ((_root.per._x >= _root.cam3._x) && (_root.per._y > _root.cam3._y)) {
fx = 2;
}
if ((_root.per._x <= _root.cam3._x) && (_root.per._y < _root.cam3._y)) {
fx = 3;
}
if ((_root.per._x >= _root.cam3._x) && (_root.per._y < _root.cam3._y)) {
fx = 4;
}
_local16._x = _root.cam3._x;
_local16._y = _root.cam3._y;
a = 1;
}
_local16.onEnterFrame = function () {
if ((fx == 1) && (a == 1)) {
this._x = this._x - speedx;
this._y = this._y + speedy;
}
if ((fx == 2) && (a == 1)) {
this._x = this._x + speedx;
this._y = this._y + speedy;
}
if ((fx == 3) && (a == 1)) {
this._x = this._x - speedx;
this._y = this._y - speedy;
}
if ((fx == 4) && (a == 1)) {
this._x = this._x + speedx;
this._y = this._y - speedy;
}
if (this.hitTest(_root.per.hit)) {
a = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
a = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
a = 0;
removeMovieClip(this);
}
};
if (((step % 12) == 0) && (b == 0)) {
var _local27 = _root.attachMovie("com", "cam" + c, 100 + c);
c++;
if (c > 6) {
c = 1;
b = 1;
}
_local27._x = 70;
_local27._y = 0;
_local27.onEnterFrame = function () {
this._x = this._x + 2;
this._y = this._y + 3;
};
}
}
if ((times < 3900) && (times > 3700)) {
if (d == 0) {
var _local15 = _root.attachMovie("shotG", "shotb", 10001);
if (Math.abs(_root.per._x - _root.cam8._x) < 50) {
var speedyy = (random(2) + 3);
var speedxx = (random(3) - 1);
} else if (Math.abs(_root.per._y - _root.cam8._y) < 50) {
var speedyy = (random(3) - 1);
var speedxx = (random(2) + 3);
} else {
var speedxx = (random(2) + 3);
var speedyy = (random(3) + 1);
}
var fx2 = 0;
if ((_root.per._x <= _root.cam8._x) && (_root.per._y > _root.cam8._y)) {
fx2 = 1;
}
if ((_root.per._x >= _root.cam8._x) && (_root.per._y > _root.cam8._y)) {
fx2 = 2;
}
if ((_root.per._x <= _root.cam8._x) && (_root.per._y < _root.cam8._y)) {
fx2 = 3;
}
if ((_root.per._x >= _root.cam8._x) && (_root.per._y < _root.cam8._y)) {
fx2 = 4;
}
_local15._x = _root.cam8._x;
_local15._y = _root.cam8._y;
d = 1;
}
_local15.onEnterFrame = function () {
if ((fx2 == 1) && (d == 1)) {
this._x = this._x - speedxx;
this._y = this._y + speedyy;
}
if ((fx2 == 2) && (d == 1)) {
this._x = this._x + speedxx;
this._y = this._y + speedyy;
}
if ((fx2 == 3) && (d == 1)) {
this._x = this._x - speedxx;
this._y = this._y - speedyy;
}
if ((fx2 == 4) && (d == 1)) {
this._x = this._x + speedxx;
this._y = this._y - speedyy;
}
if (this.hitTest(_root.per.hit)) {
d = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
d = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
d = 0;
removeMovieClip(this);
}
};
if (((step % 12) == 0) && (e == 0)) {
var _local25 = _root.attachMovie("com", "cam" + f, 120 + f);
f++;
if (f > 12) {
f = 7;
e = 1;
}
_local25._x = 330;
_local25._y = 0;
_local25.onEnterFrame = function () {
this._x = this._x - 2;
this._y = this._y + 3;
};
}
}
if ((times < 4300) && (times > 4100)) {
if (g == 0) {
var _local14 = _root.attachMovie("shotG", "shotc", 10002);
if (Math.abs(_root.per._x - _root.cem3._x) < 50) {
var speedy = (random(2) + 3);
var speedx = (random(3) - 1);
} else if (Math.abs(_root.per._y - _root.cem3._y) < 50) {
var speedy = (random(3) - 1);
var speedx = (random(2) + 3);
} else {
var speedx = (random(2) + 3);
var speedy = (random(3) + 1);
}
var fx3 = 0;
if ((_root.per._x <= _root.cem3._x) && (_root.per._y > _root.cem3._y)) {
fx3 = 1;
}
if ((_root.per._x >= _root.cem3._x) && (_root.per._y > _root.cem3._y)) {
fx3 = 2;
}
if ((_root.per._x <= _root.cem3._x) && (_root.per._y < _root.cem3._y)) {
fx3 = 3;
}
if ((_root.per._x >= _root.cem3._x) && (_root.per._y < _root.cem3._y)) {
fx3 = 4;
}
_local14._x = _root.cem3._x;
_local14._y = _root.cem3._y;
g = 1;
}
_local14.onEnterFrame = function () {
if ((fx3 == 1) && (g == 1)) {
this._x = this._x - speedx;
this._y = this._y + speedy;
}
if ((fx3 == 2) && (g == 1)) {
this._x = this._x + speedx;
this._y = this._y + speedy;
}
if ((fx3 == 3) && (g == 1)) {
this._x = this._x - speedx;
this._y = this._y - speedy;
}
if ((fx3 == 4) && (g == 1)) {
this._x = this._x + speedx;
this._y = this._y - speedy;
}
if (this.hitTest(_root.per.hit)) {
g = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
g = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
g = 0;
removeMovieClip(this);
}
};
if (((step % 12) == 0) && (h == 0)) {
var _local12 = _root.attachMovie("com9", "cem" + i, 140 + i);
i++;
if (i > 6) {
i = 1;
h = 1;
}
_local12._x = 250;
_local12._y = -20;
_local12.state = 1;
_local12.onEnterFrame = function () {
if (this.state == 1) {
if (this._y >= 160) {
this._x = this._x - 4;
this._y = this._y + 2;
} else {
this._y = this._y + 3;
}
if ((((this._y >= 330) || (this._x <= 40)) || (this._x >= 360)) || (this._currentframe >= 22)) {
removeMovieClip(this);
}
}
};
}
}
if ((times < 4200) && (times > 4000)) {
if (j <= 0) {
var _local13 = _root.attachMovie("shotG", "shotd", 10003);
if (Math.abs(_root.per._x - _root.cem8._x) < 50) {
var speedyy = (random(2) + 3);
var speedxx = (random(3) - 1);
} else if (Math.abs(_root.per._y - _root.cem8._y) < 50) {
var speedyy = (random(3) - 1);
var speedxx = (random(2) + 3);
} else {
speedxx = random(2) + 3;
speedyy = random(3) + 1;
}
var fx4 = 0;
if ((_root.per._x <= _root.cem8._x) && (_root.per._y > _root.cem8._y)) {
fx4 = 1;
}
if ((_root.per._x >= _root.cem8._x) && (_root.per._y > _root.cem8._y)) {
fx4 = 2;
}
if ((_root.per._x <= _root.cem8._x) && (_root.per._y < _root.cem8._y)) {
fx4 = 3;
}
if ((_root.per._x >= _root.cem8._x) && (_root.per._y < _root.cem8._y)) {
fx4 = 4;
}
_local13._x = _root.cem8._x;
_local13._y = _root.cem8._y;
j = 1;
}
_local13.onEnterFrame = function () {
if ((fx4 == 1) && (j == 1)) {
this._x = this._x - speedxx;
this._y = this._y + speedyy;
}
if ((fx4 == 2) && (j == 1)) {
this._x = this._x + speedxx;
this._y = this._y + speedyy;
}
if ((fx4 == 3) && (j == 1)) {
this._x = this._x - speedxx;
this._y = this._y - speedyy;
}
if ((fx4 == 4) && (j == 1)) {
this._x = this._x + speedxx;
this._y = this._y - speedyy;
}
if (this.hitTest(_root.per.hit)) {
j = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
j = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
j = 0;
removeMovieClip(this);
}
};
if (((step % 15) == 0) && (k == 0)) {
var _local11 = _root.attachMovie("com9", "cem" + l, 160 + l);
l++;
if (l > 12) {
l = 7;
k = 1;
}
_local11._x = 150;
_local11._y = -20;
_local11.state = 1;
_local11.onEnterFrame = function () {
if (this.state == 1) {
if (this._y >= 160) {
this._x = this._x + 4;
this._y = this._y + 2;
} else {
this._y = this._y + 3;
}
if ((((this._y >= 330) || (this._x <= 40)) || (this._x >= 360)) || (this._currentframe >= 22)) {
removeMovieClip(this);
}
}
};
}
}
if (times < 4500) {
m--;
if ((((m <= 0) && (n <= 0)) && ((step % 4) == 0)) && (comAhp > 0)) {
var _local30 = _root.attachMovie("shotG", "shote" + p, 11000 + p);
p++;
if (p > 10) {
p = 1;
n = 1;
m = 100;
}
_local30._x = _root.comA._x;
_local30._y = _root.comA._y + 8;
}
var fx5 = 0;
if ((_root.per._x <= _root.comA._x) && (_root.per._y > _root.comA._y)) {
fx5 = 1;
}
if ((_root.per._x >= _root.comA._x) && (_root.per._y > _root.comA._y)) {
fx5 = 2;
}
if ((_root.per._x <= _root.comA._x) && (_root.per._y < _root.comA._y)) {
fx5 = 3;
}
if ((_root.per._x >= _root.comA._x) && (_root.per._y < _root.comA._y)) {
fx5 = 4;
}
if (Math.abs(_root.per._x - _root.comA._x) < 50) {
var speedyx = (random(4) + 2);
var speedxy = (random(4) - 2);
} else if (Math.abs(_root.per._y - _root.comA._y) < 50) {
var speedyx = (random(4) - 2);
var speedxy = (random(4) + 2);
} else {
var speedxy = (random(4) + 2);
var speedyx = (random(4) + 1);
}
_local30.onEnterFrame = function () {
if (fx5 == 1) {
this._x = this._x - speedxy;
this._y = this._y + speedyx;
}
if (fx5 == 2) {
this._x = this._x + speedxy;
this._y = this._y + speedyx;
}
if (fx5 == 3) {
this._x = this._x - speedxy;
this._y = this._y - speedyx;
}
if (fx5 == 4) {
this._x = this._x + speedxy;
this._y = this._y - speedyx;
}
if (this.hitTest(_root.per.hit)) {
n--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
n--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
n--;
removeMovieClip(this);
}
};
if (o == 0) {
var _local4 = _root.attachMovie("com4", "comA", 180);
o = 1;
}
_local4._x = 40;
_local4._y = 68;
_local4.state = 1;
_local4.time = 40;
_local4.onEnterFrame = function () {
if ((comAhp <= 0) && (this.state == 1)) {
this.gotoAndPlay("boom");
var _local3 = _root.attachMovie("boomshotsA", "level", 60);
_local3._x = this._x;
_local3._y = this._y;
this.state = 0;
}
if ((times > 3880) && (o == 1)) {
if (this._x < 160) {
this._x = this._x + 0.5;
} else {
this._y = this._y + 0.5;
}
} else if (this._x > 0) {
this._x--;
this._y++;
}
if ((this._x <= 0) || (this._y >= 330)) {
removeMovieClip(this);
}
};
}
if (times < 4300) {
q--;
if ((((r <= 0) && (q <= 0)) && ((step % 4) == 0)) && (comBhp > 0)) {
var _local29 = _root.attachMovie("shotG", "shotf" + t, 12000 + t);
t++;
if (t > 10) {
t = 1;
r = 1;
q = 100;
}
_local29._x = _root.comB._x;
_local29._y = _root.comB._y + 8;
}
var fx6 = 0;
if ((_root.per._x <= _root.comB._x) && (_root.per._y > _root.comB._y)) {
fx6 = 1;
}
if ((_root.per._x >= _root.comB._x) && (_root.per._y > _root.comB._y)) {
fx6 = 2;
}
if ((_root.per._x <= _root.comB._x) && (_root.per._y < _root.comB._y)) {
fx6 = 3;
}
if ((_root.per._x >= _root.comB._x) && (_root.per._y < _root.comB._y)) {
fx6 = 4;
}
if (Math.abs(_root.per._x - _root.comB._x) < 50) {
var speedxyy = (random(4) - 2);
var speedyxx = (random(4) + 2);
} else if (Math.abs(_root.per._y - _root.comB._y) < 50) {
var speedxyy = (random(4) + 2);
var speedyxx = (random(4) - 2);
} else {
var speedyxx = (random(4) + 2);
var speedxyy = (random(4) + 1);
}
_local29.onEnterFrame = function () {
if (fx6 == 1) {
this._x = this._x - speedxyy;
this._y = this._y + speedyxx;
}
if (fx6 == 2) {
this._y = this._y + speedyxx;
this._x = this._x + speedxyy;
}
if (fx6 == 3) {
this._y = this._y - speedyxx;
this._x = this._x - speedxyy;
}
if (fx6 == 4) {
this._y = this._y + speedyxx;
this._x = this._x - speedxyy;
}
if (this.hitTest(_root.per.hit)) {
r--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
r--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
r--;
removeMovieClip(this);
}
};
if (s == 0) {
var _local10 = _root.attachMovie("com4", "comB", 181);
s = 1;
}
_local10._x = 360;
_local10._y = 68;
_local10.state = 1;
_local10.onEnterFrame = function () {
if ((comBhp <= 0) && (this.state == 1)) {
this.gotoAndPlay("boom");
var _local3 = _root.attachMovie("level2", "level2", 50);
_local3._x = this._x;
_local3._y = this._y;
this.state = 0;
}
if ((times > 3680) && (s == 1)) {
if (this._x > 240) {
this._x = this._x - 0.5;
} else {
this._y = this._y + 0.5;
}
} else if (this._x < 400) {
this._x++;
this._y++;
}
if ((this._x >= 400) || (this._y >= 330)) {
removeMovieClip(this);
}
};
}
if ((times < 4000) && (times > 3800)) {
shotj.removeMovieClip();
if (((step % 12) == 0) && (v == 0)) {
var _local9 = _root.attachMovie("com12", "cam" + w, 200 + w);
w++;
if (w > 6) {
w = 1;
v = 1;
}
_local9._x = 60;
_local9._y = 200;
_local9.state = 1;
_local9.onEnterFrame = function () {
if (this.state == 1) {
if (this._x < 180) {
this._yscale = -100;
this._x = this._x + 2;
this._y = this._y - 3;
}
if (this._x >= 180) {
this._yscale = 100;
this._y = this._y + 4;
}
if ((this._y >= 330) || (this._y <= -10)) {
removeMovieClip(this);
}
}
};
}
if (u == 0) {
var _local28 = _root.attachMovie("shotH", "shotg", 10004);
if (Math.abs(_root.per._x - _root.cam3._x) < 50) {
var speedyyx = (random(2) + 3);
var speedxxy = (random(3) - 1);
} else if (Math.abs(_root.per._y - _root.cam3._y) < 50) {
var speedyyx = (random(3) - 1);
var speedxxy = (random(2) + 3);
} else {
var speedxxy = (random(2) + 3);
var speedyyx = (random(3) + 1);
}
var fx7 = 0;
if ((_root.per._x <= _root.cam3._x) && (_root.per._y > _root.cam3._y)) {
fx7 = 1;
}
if ((_root.per._x >= _root.cam3._x) && (_root.per._y > _root.cam3._y)) {
fx7 = 2;
}
if ((_root.per._x <= _root.cam3._x) && (_root.per._y < _root.cam3._y)) {
fx7 = 3;
}
if ((_root.per._x >= _root.cam3._x) && (_root.per._y < _root.cam3._y)) {
fx7 = 4;
}
_local28._x = _root.cam3._x;
_local28._y = _root.cam3._y;
u = 1;
}
_local28.onEnterFrame = function () {
if ((fx7 == 1) && (u == 1)) {
this._x = this._x - speedxxy;
this._y = this._y + speedyyx;
}
if ((fx7 == 2) && (u == 1)) {
this._x = this._x + speedxxy;
this._y = this._y + speedyyx;
}
if ((fx7 == 3) && (u == 1)) {
this._x = this._x - speedxxy;
this._y = this._y - speedyyx;
}
if ((fx7 == 4) && (u == 1)) {
this._x = this._x + speedxxy;
this._y = this._y - speedyyx;
}
if (this.hitTest(_root.per.hit)) {
u = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
u = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
u = 0;
removeMovieClip(this);
}
};
}
if ((times < 4600) && (times > 4400)) {
if (((step % 12) == 0) && (bb == 0)) {
var _local8 = _root.attachMovie("com12", "cam" + dd, 220 + dd);
dd++;
if (dd > 12) {
dd = 7;
bb = 1;
}
_local8._x = 340;
_local8._y = 200;
_local8.state = 1;
_local8.onEnterFrame = function () {
if (this.state == 1) {
if (this._x > 220) {
this._yscale = -100;
this._x = this._x - 2;
this._y = this._y - 3;
}
if (this._x <= 220) {
this._yscale = 100;
this._y = this._y + 4;
}
if ((this._y >= 330) || (this._y <= -10)) {
removeMovieClip(this);
}
}
};
}
if (aa == 0) {
var _local26 = _root.attachMovie("shotH", "shoth", 10005);
if (Math.abs(_root.per._x - _root.cam8._x) < 50) {
var speedyyxx = (random(2) + 3);
var speedxxyy = (random(4) - 2);
} else if (Math.abs(_root.per._y - _root.cam8._y) < 50) {
var speedyyxx = (random(4) - 2);
var speedxxyy = (random(2) + 3);
} else {
var speedxxyy = (random(2) + 3);
var speedyyxx = (random(4) + 2);
}
var fx8 = 0;
if ((_root.per._x <= _root.cam8._x) && (_root.per._y > _root.cam8._y)) {
fx8 = 1;
}
if ((_root.per._x >= _root.cam8._x) && (_root.per._y > _root.cam8._y)) {
fx8 = 2;
}
if ((_root.per._x <= _root.cam8._x) && (_root.per._y < _root.cam8._y)) {
fx8 = 3;
}
if ((_root.per._x >= _root.cam8._x) && (_root.per._y < _root.cam8._y)) {
fx8 = 4;
}
_local26._x = _root.cam8._x;
_local26._y = _root.cam8._y;
aa = 1;
}
_local26.onEnterFrame = function () {
if ((fx8 == 1) && (aa == 1)) {
this._x = this._x - speedxxyy;
this._y = this._y + speedyyxx;
}
if ((fx8 == 2) && (aa == 1)) {
this._x = this._x + speedxxyy;
this._y = this._y + speedyyxx;
}
if ((fx8 == 3) && (aa == 1)) {
this._x = this._x - speedxxyy;
this._y = this._y - speedyyxx;
}
if ((fx8 == 4) && (aa == 1)) {
this._x = this._x + speedxxyy;
this._y = this._y - speedyyxx;
}
if (this.hitTest(_root.per.hit)) {
aa = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
aa = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
aa = 0;
removeMovieClip(this);
}
};
}
if ((times < 3600) && (times > 3400)) {
if (((step % 18) == 0) && (ff == 0)) {
var _local7 = _root.attachMovie("com1", "cem" + gg, 240 + gg);
gg++;
if (gg > 6) {
gg = 1;
ff = 1;
}
_local7._x = 70;
_local7._y = -10;
_local7.state = 1;
_local7.onEnterFrame = function () {
if (this.state == 1) {
if (this._y < 150) {
this._x = this._x + 2;
this._y = this._y + 3;
} else {
this.state = 0;
}
} else {
this._yscale = -100;
this._x = this._x + 2;
this._y = this._y - 3;
}
if (((this._y >= 330) || (this._y <= -20)) || (this._x >= 360)) {
removeMovieClip(this);
}
};
}
if (ee == 0) {
var _local24 = _root.attachMovie("shotG", "shoti", 10006);
if (Math.abs(_root.per._x - _root.cem3._x) < 50) {
var speedya = (random(2) + 3);
var speedxa = (random(4) - 1);
} else if (Math.abs(_root.per._y - _root.cem3._y) < 50) {
var speedya = (random(4) - 1);
var speedxa = (random(2) + 3);
} else {
var speedxa = (random(2) + 3);
var speedya = (random(3) + 1);
}
var fx9 = 0;
if ((_root.per._x <= _root.cem3._x) && (_root.per._y > _root.cem3._y)) {
fx9 = 1;
}
if ((_root.per._x >= _root.cem3._x) && (_root.per._y > _root.cem3._y)) {
fx9 = 2;
}
if ((_root.per._x <= _root.cem3._x) && (_root.per._y < _root.cem3._y)) {
fx9 = 3;
}
if ((_root.per._x >= _root.cem3._x) && (_root.per._y < _root.cem3._y)) {
fx9 = 4;
}
_local24._x = _root.cem3._x;
_local24._y = _root.cem3._y;
ee = 1;
}
_local24.onEnterFrame = function () {
if (fx9 == 1) {
this._x = this._x - speedxa;
this._y = this._y + speedya;
}
if (fx9 == 2) {
this._x = this._x + speedxa;
this._y = this._y + speedya;
}
if (fx9 == 3) {
this._x = this._x - speedxa;
this._y = this._y - speedya;
}
if (fx9 == 4) {
this._x = this._x + speedxa;
this._y = this._y - speedya;
}
if (this.hitTest(_root.per.hit)) {
ee = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ee = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ee = 0;
removeMovieClip(this);
}
};
}
if ((times < 3500) && (times > 3300)) {
if (((step % 18) == 0) && (ii == 0)) {
var _local3 = _root.attachMovie("com1", "cem" + jj, 260 + jj);
jj++;
if (jj > 12) {
jj = 7;
ii = 1;
}
_local3._xscale = -100;
_local3._x = 330;
_local3._y = -10;
_local3.state = 1;
_local3.onEnterFrame = function () {
if (this.state == 1) {
if (this._y < 150) {
this._x = this._x - 2;
this._y = this._y + 3;
} else {
this.state = 0;
}
} else {
this._yscale = -100;
this._x = this._x - 2;
this._y = this._y - 3;
}
if (((this._y >= 330) || (this._y <= -20)) || (this._x <= 40)) {
removeMovieClip(this);
}
};
}
if (hh == 0) {
var _local23 = _root.attachMovie("shotG", "shotj", 10007);
if (Math.abs(_root.per._x - _root.cem8._x) < 50) {
var speedyya = (random(2) + 3);
var speedxxa = (random(4) - 1);
} else if (Math.abs(_root.per._y - _root.cem8._y) < 50) {
var speedyya = (random(4) - 1);
var speedxxa = (random(2) + 3);
} else {
var speedxxa = (random(2) + 3);
var speedyya = (random(3) + 1);
}
var fx10 = 0;
if ((_root.per._x <= _root.cem8._x) && (_root.per._y > _root.cem8._y)) {
fx10 = 1;
}
if ((_root.per._x >= _root.cem8._x) && (_root.per._y > _root.cem8._y)) {
fx10 = 2;
}
if ((_root.per._x <= _root.cem8._x) && (_root.per._y < _root.cem8._y)) {
fx10 = 3;
}
if ((_root.per._x >= _root.cem8._x) && (_root.per._y < _root.cem8._y)) {
fx10 = 4;
}
_local23._x = _root.cem8._x;
_local23._y = _root.cem8._y;
hh = 1;
}
_local23.onEnterFrame = function () {
if (fx10 == 1) {
this._x = this._x - speedxxa;
this._y = this._y + speedyya;
}
if (fx10 == 2) {
this._x = this._x + speedxxa;
this._y = this._y + speedyya;
}
if (fx10 == 3) {
this._x = this._x - speedxxa;
this._y = this._y - speedyya;
}
if (fx10 == 4) {
this._x = this._x + speedxxa;
this._y = this._y - speedyya;
}
if (this.hitTest(_root.per.hit)) {
hh = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
hh = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
hh = 0;
removeMovieClip(this);
}
};
}
if (times < 3900) {
if (nn == 0) {
var _local6 = _root.attachMovie("com8", "comC", 192);
var _local5 = _root.attachMovie("com8", "comD", 193);
nn = 1;
}
_local6._x = 70;
_local6._y = -10;
_local5._x = 330;
_local5._y = -10;
_local6.state = 1;
_local5.state = 1;
_local6.onEnterFrame = function () {
if ((comChp <= 0) && (this.state == 1)) {
this.gotoAndPlay("boom");
this.state = 0;
}
if (this._x < 150) {
this._x = this._x + 0.8;
this._y = this._y + 0.5;
} else {
this._y = this._y + 0.5;
}
if (this._y >= 350) {
removeMovieClip(this);
}
};
_local5.onEnterFrame = function () {
if ((comDhp <= 0) && (this.state == 1)) {
this.gotoAndPlay("boom");
this.state = 0;
}
if (this._x > 250) {
this._x = this._x - 0.8;
this._y = this._y + 0.5;
} else {
this._y = this._y + 0.5;
}
if (this._y >= 350) {
removeMovieClip(this);
}
};
oo--;
if ((((pp <= 0) && (oo <= 0)) && ((step % 4) == 0)) && (comChp > 0)) {
var _local18 = _root.attachMovie("shotG", "shoto" + qq, 40000 + qq);
qq++;
if (qq > 6) {
qq = 1;
pp = 1;
oo = 100;
}
_local18._x = _root.comC._x;
_local18._y = _root.comC._y + 8;
}
var fx10 = 0;
if ((_root.per._x <= _root.comC._x) && (_root.per._y > _root.comC._y)) {
fx10 = 4;
}
if ((_root.per._x >= _root.comC._x) && (_root.per._y > _root.comC._y)) {
fx10 = 2;
}
if ((_root.per._x <= _root.comC._x) && (_root.per._y < _root.comC._y)) {
fx10 = 3;
}
if ((_root.per._x >= _root.comC._x) && (_root.per._y < _root.comC._y)) {
fx10 = 1;
}
if (Math.abs(_root.per._x - _root.comC._x) < 50) {
var speedxyyx = (random(4) - 2);
var speedyxxy = (random(4) + 2);
} else if (Math.abs(_root.per._y - _root.comC._y) < 50) {
var speedxyyx = (random(4) + 2);
var speedyxxy = (random(4) - 2);
} else {
var speedyxxy = (random(4) + 2);
var speedxyyx = (random(4) + 1);
}
_local18.onEnterFrame = function () {
if (fx10 == 1) {
this._x = this._x + speedxyyx;
this._y = this._y - speedyxxy;
}
if (fx10 == 2) {
this._y = this._y + speedyxxy;
this._x = this._x + speedxyyx;
}
if (fx10 == 3) {
this._y = this._y - speedyxxy;
this._x = this._x - speedxyyx;
}
if (fx10 == 4) {
this._y = this._y + speedyxxy;
this._x = this._x - speedxyyx;
}
if (this.hitTest(_root.per.hit)) {
pp--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
pp--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
pp--;
removeMovieClip(this);
}
};
rr--;
if ((((ss <= 0) && (rr <= 0)) && ((step % 4) == 0)) && (comDhp > 0)) {
var _local17 = _root.attachMovie("shotG", "shotp" + tt, 50000 + tt);
tt++;
if (tt > 6) {
tt = 1;
ss = 1;
rr = 100;
}
_local17._x = _root.comD._x;
_local17._y = _root.comD._y + 8;
}
var fx11 = 0;
if ((_root.per._x <= _root.comD._x) && (_root.per._y > _root.comD._y)) {
fx11 = 1;
}
if ((_root.per._x >= _root.comD._x) && (_root.per._y > _root.comD._y)) {
fx11 = 2;
}
if ((_root.per._x <= _root.comD._x) && (_root.per._y < _root.comD._y)) {
fx11 = 3;
}
if ((_root.per._x >= _root.comD._x) && (_root.per._y < _root.comD._y)) {
fx11 = 4;
}
if (Math.abs(_root.per._x - _root.comD._x) < 50) {
var speedxyyy = (random(4) - 2);
var speedyxxx = (random(4) + 2);
} else if (Math.abs(_root.per._y - _root.comD._y) < 50) {
var speedxyyy = (random(4) + 2);
var speedyxxx = (random(4) - 2);
} else {
var speedyxxx = (random(4) + 2);
var speedxyyy = (random(4) + 1);
}
_local17.onEnterFrame = function () {
if (fx11 == 1) {
this._x = this._x - speedxyyy;
this._y = this._y + speedyxxx;
}
if (fx11 == 2) {
this._y = this._y + speedyxxx;
this._x = this._x + speedxyyy;
}
if (fx11 == 3) {
this._y = this._y - speedyxxx;
this._x = this._x - speedxyyy;
}
if (fx11 == 4) {
this._y = this._y + speedyxxx;
this._x = this._x - speedxyyy;
}
if (this.hitTest(_root.per.hit)) {
ss--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ss--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ss--;
removeMovieClip(this);
}
};
kk--;
if (((ll <= 0) && (kk <= 0)) && ((step % 3) == 0)) {
var _local22 = _root.attachMovie("shotH", "shotk" + mm, 13000 + mm);
var _local21 = _root.attachMovie("shotH", "shotl" + mm, 14000 + mm);
var _local20 = _root.attachMovie("shotH", "shotm" + mm, 15000 + mm);
var _local19 = _root.attachMovie("shotH", "shotn" + mm, 16000 + mm);
mm++;
if (mm > 5) {
mm = 1;
ll = 1;
kk = 160;
}
_local22._x = _root.comC._x + 15;
_local22._y = _root.comC._y + 8;
_local21._x = _root.comC._x - 15;
_local21._y = _root.comC._y + 8;
_local20._x = _root.comD._x + 15;
_local20._y = _root.comD._y + 8;
_local19._x = _root.comD._x - 15;
_local19._y = _root.comD._y + 8;
_local22.onEnterFrame = function () {
this._y = this._y + 3;
if (this.hitTest(_root.per.hit)) {
ll--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ll--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ll--;
removeMovieClip(this);
}
};
_local21.onEnterFrame = function () {
this._y = this._y + 3;
if (this.hitTest(_root.per.hit)) {
ll--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ll--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ll--;
removeMovieClip(this);
}
};
_local20.onEnterFrame = function () {
this._y = this._y + 3;
if (this.hitTest(_root.per.hit)) {
ll--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ll--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ll--;
removeMovieClip(this);
}
};
_local19.onEnterFrame = function () {
this._y = this._y + 3;
if (this.hitTest(_root.per.hit)) {
ll--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ll--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ll--;
removeMovieClip(this);
}
};
}
}
if (times < 3330) {
nextFrame();
}
};
stop();
Frame 8
var lv1 = _root.attachMovie("level", "level", 8);
var lv12 = _root.attachMovie("level2", "level2", 9);
lv1.gotoAndStop(35);
lv12.gotoAndStop(35);
lv1._x = random(240) + 80;
lv1._y = random(300) + 1;
lv12._x = random(240) + 80;
lv12._y = random(300) + 1;
var timer = (random(100) + 100);
var a = 0;
var b = 0;
var c = 0;
var m = (random(100) + 100);
var n = 0;
var p = 1;
var kl = (random(100) + 100);
var lk = 0;
var mn = 1;
var r = (random(300) + 100);
var t = 0;
var e = 0;
var v = 0;
var die = 0;
var step = 0;
var num = (random(5) + 2);
var comAhp = 2000;
_root.onEnterFrame = function () {
timer--;
step++;
if (b == 0) {
var _local5 = _root.attachMovie("com6", "comA", 48);
b = 1;
}
_local5._x = 200;
_local5._y = -30;
_local5.onEnterFrame = function () {
if (this._y < 68) {
this._y++;
}
if ((die == 0) && (comAhp <= 0)) {
this.gotoAndPlay("boom");
die = 1;
}
if ((timer <= 0) && (comAhp > 0)) {
if ((this._x > 120) && (a == 0)) {
this._x = this._x - 2;
}
if (this._x <= 120) {
num--;
c = 1;
a = 1;
}
if ((this._x < 280) && (c == 1)) {
this._x = this._x + 2;
}
if (this._x >= 280) {
num--;
c = 0;
a = 0;
}
if (num < 0) {
if ((this._x < 200) && (this._x != 200)) {
this._x++;
}
if ((this._x > 200) && (this._x != 200)) {
this._x--;
}
if (this._x == 200) {
v = 1;
timer = random(200) + 100;
num = random(5) + 2;
}
}
}
};
m--;
if ((((m <= 0) && (n <= 0)) && ((step % 4) == 0)) && (comAhp > 0)) {
var _local4 = _root.attachMovie("shotG", "shotA" + p, 11000 + p);
var _local8 = _root.attachMovie("shotG", "shotB" + p, 12000 + p);
p++;
fi = new Sound();
fi.attachSound("fu");
fi.start();
if (p > 10) {
p = 1;
n = 1;
m = random(100) + 100;
}
_local4._x = _root.comA._x + 38;
_local4._y = _root.comA._y;
_local8._x = _root.comA._x - 38;
_local8._y = _root.comA._y;
}
var fxA = 0;
if ((_root.per._x <= _root.comA._x) && (_root.per._y > _root.comA._y)) {
fxA = 1;
}
if ((_root.per._x >= _root.comA._x) && (_root.per._y > _root.comA._y)) {
fxA = 2;
}
if ((_root.per._x <= _root.comA._x) && (_root.per._y < _root.comA._y)) {
fxA = 3;
}
if ((_root.per._x >= _root.comA._x) && (_root.per._y < _root.comA._y)) {
fxA = 4;
}
if (Math.abs(_root.per._x - _root.comA._x) < 50) {
var speedyx = (random(4) + 2);
var speedxy = (random(4) - 2);
} else if (Math.abs(_root.per._y - _root.comA._y) < 50) {
var speedyx = (random(4) - 2);
var speedxy = (random(4) + 2);
} else {
var speedxy = (random(4) + 2);
var speedyx = (random(4) + 1);
}
_local4.onEnterFrame = function () {
if (fxA == 1) {
this._x = this._x - speedxy;
this._y = this._y + speedyx;
}
if (fxA == 2) {
this._x = this._x + speedxy;
this._y = this._y + speedyx;
}
if (fxA == 3) {
this._x = this._x - speedxy;
this._y = this._y - speedyx;
}
if (fxA == 4) {
this._x = this._x + speedxy;
this._y = this._y - speedyx;
}
if (this.hitTest(_root.per.hit)) {
n--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
n--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
n--;
removeMovieClip(this);
}
};
_local8.onEnterFrame = function () {
if (fxA == 1) {
this._x = this._x - speedxy;
this._y = this._y + speedyx;
}
if (fxA == 2) {
this._x = this._x + speedxy;
this._y = this._y + speedyx;
}
if (fxA == 3) {
this._x = this._x - speedxy;
this._y = this._y - speedyx;
}
if (fxA == 4) {
this._x = this._x + speedxy;
this._y = this._y - speedyx;
}
if (this.hitTest(_root.per.hit)) {
n--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
n--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
n--;
removeMovieClip(this);
}
};
kl--;
if ((((lk <= 0) && (kl <= 0)) && ((step % 4) == 0)) && (comAhp > 0)) {
var _local7 = _root.attachMovie("shotF", "shotk" + mn, 13000 + mn);
var _local6 = _root.attachMovie("shotF", "shotl" + mn, 14000 + mn);
mn++;
tu = new Sound();
tu.attachSound("tu");
tu.start();
if (mn > 6) {
mn = 1;
lk = 1;
kl = random(100) + 100;
}
_local7._x = _root.comA._x + 18;
_local7._y = _root.comA._y + 4;
_local6._x = _root.comA._x - 18;
_local6._y = _root.comA._y + 4;
_local7.onEnterFrame = function () {
this._y = this._y + 4;
if (this.hitTest(_root.per.hit._x, _root.per.hit._y, true)) {
lk--;
_root.per.gotoAndPlay("boom");
removeMovieClip(this);
}
if (this.hitTest(_root.shotboom)) {
lk--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
lk--;
removeMovieClip(this);
}
};
_local6.onEnterFrame = function () {
this._y = this._y + 4;
if (this.hitTest(_root.per.hit._x, _root.per.hit._y, true)) {
lk--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
lk--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
lk--;
removeMovieClip(this);
}
};
}
r--;
if ((((r <= 0) && (t <= 0)) && ((step % 4) == 0)) && (comAhp > 0)) {
var _local3 = _root.attachMovie("shotH", "shotZ" + e, 15000 + e);
e++;
ti = new Sound();
ti.attachSound("ti");
ti.start();
if (e > 88) {
e = 1;
t = 1;
r = random(300) + 100;
}
_local3._x = _root.comA._x;
_local3._y = _root.comA._y;
}
var speedx = (random(10) - 5);
var speedy = (random(6) - 2);
if ((speedx == 0) && (speedy == 0)) {
speedx = random(10) - 5;
speedy = random(10) - 5;
}
_local3.onEnterFrame = function () {
this._x = this._x + speedx;
this._y = this._y + speedy;
if (this.hitTest(_root.per.hit)) {
t--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
t--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
t--;
removeMovieClip(this);
}
};
};
stop();
Frame 9
var a = 0;
var b = 0;
var c = 1;
var d = 0;
var e = 0;
var f = 7;
var g = 0;
var h = 0;
var i = 1;
var j = 0;
var k = 0;
var l = 7;
var m = 100;
var n = 0;
var o = 0;
var p = 1;
var q = 100;
var r = 0;
var s = 0;
var t = 1;
var u = 0;
var v = 0;
var w = 1;
var aa = 0;
var bb = 0;
var dd = 7;
var ee = 0;
var ff = 0;
var gg = 1;
var hh = 0;
var ii = 0;
var jj = 7;
var kk = 100;
var ll = 0;
var mm = 1;
var nn = 0;
var oo = 100;
var pp = 0;
var qq = 1;
var rr = 100;
var ss = 0;
var tt = 1;
var frier = 0;
var friers = 0;
var frierx = 0;
var perlife = 8;
var comAhp = 200;
var comBhp = 200;
var comChp = 250;
var comDhp = 250;
var comEhp = 300;
var comFhp = 300;
var step = 0;
var times = 4800;
_root.onEnterFrame = function () {
times--;
step++;
if ((times < 4700) && (times > 4500)) {
if (a == 0) {
var _local18 = _root.attachMovie("shotG", "shota", 10000);
if (Math.abs(_root.per._x - _root.cam3._x) < 50) {
var speedy = (random(2) + 3);
var speedx = (random(3) - 1);
} else if (Math.abs(_root.per._y - _root.cam3._y) < 50) {
var speedy = (random(3) - 1);
var speedx = (random(2) + 3);
} else {
var speedx = (random(2) + 3);
var speedy = (random(3) + 1);
}
var fx = 0;
if ((_root.per._x <= _root.cam3._x) && (_root.per._y > _root.cam3._y)) {
fx = 1;
}
if ((_root.per._x >= _root.cam3._x) && (_root.per._y > _root.cam3._y)) {
fx = 2;
}
if ((_root.per._x <= _root.cam3._x) && (_root.per._y < _root.cam3._y)) {
fx = 3;
}
if ((_root.per._x >= _root.cam3._x) && (_root.per._y < _root.cam3._y)) {
fx = 4;
}
_local18._x = _root.cam3._x;
_local18._y = _root.cam3._y;
a = 1;
}
_local18.onEnterFrame = function () {
if ((fx == 1) && (a == 1)) {
this._x = this._x - speedx;
this._y = this._y + speedy;
}
if ((fx == 2) && (a == 1)) {
this._x = this._x + speedx;
this._y = this._y + speedy;
}
if ((fx == 3) && (a == 1)) {
this._x = this._x - speedx;
this._y = this._y - speedy;
}
if ((fx == 4) && (a == 1)) {
this._x = this._x + speedx;
this._y = this._y - speedy;
}
if (this.hitTest(_root.per.hit)) {
a = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
a = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
a = 0;
removeMovieClip(this);
}
};
if (((step % 18) == 0) && (b == 0)) {
var _local14 = _root.attachMovie("com1", "cam" + c, 100 + c);
c++;
if (c > 6) {
c = 1;
b = 1;
}
_local14._x = 50;
_local14._y = 100;
_local14.state = 1;
_local14.onEnterFrame = function () {
if (this.state == 1) {
if ((this._x < 250) && (this._y <= 110)) {
this._x = this._x + 3;
} else {
this.com.gotoAndStop(2);
this._y = this._y + 3;
}
if (this._y >= 160) {
this.com.gotoAndStop(3);
this._x = this._x - 3;
this._y = this._y + 2;
}
if ((((this._y >= 330) || (this._y <= -10)) || (this._x <= 40)) || (this._x >= 360)) {
removeMovieClip(this);
}
}
};
}
}
if ((times < 4600) && (times > 4400)) {
if (d == 0) {
var _local17 = _root.attachMovie("shotG", "shotb", 10001);
if (Math.abs(_root.per._x - _root.cam8._x) < 50) {
var speedyy = (random(2) + 3);
var speedxx = (random(3) - 1);
} else if (Math.abs(_root.per._y - _root.cam8._y) < 50) {
var speedyy = (random(3) - 1);
var speedxx = (random(2) + 3);
} else {
var speedxx = (random(2) + 3);
var speedyy = (random(3) + 1);
}
var fx2 = 0;
if ((_root.per._x <= _root.cam8._x) && (_root.per._y > _root.cam8._y)) {
fx2 = 1;
}
if ((_root.per._x >= _root.cam8._x) && (_root.per._y > _root.cam8._y)) {
fx2 = 2;
}
if ((_root.per._x <= _root.cam8._x) && (_root.per._y < _root.cam8._y)) {
fx2 = 3;
}
if ((_root.per._x >= _root.cam8._x) && (_root.per._y < _root.cam8._y)) {
fx2 = 4;
}
_local17._x = _root.cam8._x;
_local17._y = _root.cam8._y;
d = 1;
}
_local17.onEnterFrame = function () {
if ((fx2 == 1) && (d == 1)) {
this._x = this._x - speedxx;
this._y = this._y + speedyy;
}
if ((fx2 == 2) && (d == 1)) {
this._x = this._x + speedxx;
this._y = this._y + speedyy;
}
if ((fx2 == 3) && (d == 1)) {
this._x = this._x - speedxx;
this._y = this._y - speedyy;
}
if ((fx2 == 4) && (d == 1)) {
this._x = this._x + speedxx;
this._y = this._y - speedyy;
}
if (this.hitTest(_root.per.hit)) {
d = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
d = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
d = 0;
removeMovieClip(this);
}
};
if (((step % 18) == 0) && (e == 0)) {
var _local4 = _root.attachMovie("com1", "cam" + f, 120 + f);
f++;
if (f > 12) {
f = 7;
e = 1;
}
_local4._xscale = -100;
_local4._x = 350;
_local4._y = 100;
_local4.state = 1;
_local4.onEnterFrame = function () {
if (this.state == 1) {
if ((this._x > 150) && (this._y <= 110)) {
this._x = this._x - 3;
} else {
this.com.gotoAndStop(2);
this._y = this._y + 3;
}
if (this._y >= 160) {
this.com.gotoAndStop(3);
this._x = this._x + 3;
this._y = this._y + 2;
}
if (((((this._y >= 330) || (this._y <= -10)) || (this._x <= 40)) || (this._x >= 360)) || (this._currentframe >= 22)) {
removeMovieClip(this);
}
}
};
}
}
if ((times < 4300) && (times > 4100)) {
if (g == 0) {
var _local16 = _root.attachMovie("shotG", "shotc", 10002);
if (Math.abs(_root.per._x - _root.cem3._x) < 50) {
var speedy = (random(2) + 3);
var speedx = (random(3) - 1);
} else if (Math.abs(_root.per._y - _root.cem3._y) < 50) {
var speedy = (random(3) - 1);
var speedx = (random(2) + 3);
} else {
var speedx = (random(2) + 3);
var speedy = (random(3) + 1);
}
var fx3 = 0;
if ((_root.per._x <= _root.cem3._x) && (_root.per._y > _root.cem3._y)) {
fx3 = 1;
}
if ((_root.per._x >= _root.cem3._x) && (_root.per._y > _root.cem3._y)) {
fx3 = 2;
}
if ((_root.per._x <= _root.cem3._x) && (_root.per._y < _root.cem3._y)) {
fx3 = 3;
}
if ((_root.per._x >= _root.cem3._x) && (_root.per._y < _root.cem3._y)) {
fx3 = 4;
}
_local16._x = _root.cem3._x;
_local16._y = _root.cem3._y;
g = 1;
}
_local16.onEnterFrame = function () {
if ((fx3 == 1) && (g == 1)) {
this._x = this._x - speedx;
this._y = this._y + speedy;
}
if ((fx3 == 2) && (g == 1)) {
this._x = this._x + speedx;
this._y = this._y + speedy;
}
if ((fx3 == 3) && (g == 1)) {
this._x = this._x - speedx;
this._y = this._y - speedy;
}
if ((fx3 == 4) && (g == 1)) {
this._x = this._x + speedx;
this._y = this._y - speedy;
}
if (this.hitTest(_root.per.hit)) {
g = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
g = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
g = 0;
removeMovieClip(this);
}
};
if (((step % 15) == 0) && (h == 0)) {
var _local13 = _root.attachMovie("com10", "cem" + i, 140 + i);
i++;
if (i > 6) {
i = 1;
h = 1;
}
_local13._x = 330;
_local13._y = -20;
_local13.state = 1;
_local13.onEnterFrame = function () {
if (this.state == 1) {
if (this._y >= 180) {
this._x = this._x + 3;
this._y = this._y + 3;
} else {
this._x = this._x - 3;
this._y = this._y + 3;
}
if ((((this._y >= 330) || (this._x <= 40)) || (this._x >= 360)) || (this._currentframe >= 22)) {
removeMovieClip(this);
}
}
};
}
}
if ((times < 4200) && (times > 4000)) {
if (j <= 0) {
var _local15 = _root.attachMovie("shotG", "shotd", 10003);
if (Math.abs(_root.per._x - _root.cem8._x) < 50) {
var speedyy = (random(2) + 3);
var speedxx = (random(3) - 1);
} else if (Math.abs(_root.per._y - _root.cem8._y) < 50) {
var speedyy = (random(3) - 1);
var speedxx = (random(2) + 3);
} else {
speedxx = random(2) + 3;
speedyy = random(3) + 1;
}
var fx4 = 0;
if ((_root.per._x <= _root.cem8._x) && (_root.per._y > _root.cem8._y)) {
fx4 = 1;
}
if ((_root.per._x >= _root.cem8._x) && (_root.per._y > _root.cem8._y)) {
fx4 = 2;
}
if ((_root.per._x <= _root.cem8._x) && (_root.per._y < _root.cem8._y)) {
fx4 = 3;
}
if ((_root.per._x >= _root.cem8._x) && (_root.per._y < _root.cem8._y)) {
fx4 = 4;
}
_local15._x = _root.cem8._x;
_local15._y = _root.cem8._y;
j = 1;
}
_local15.onEnterFrame = function () {
if ((fx4 == 1) && (j == 1)) {
this._x = this._x - speedxx;
this._y = this._y + speedyy;
}
if ((fx4 == 2) && (j == 1)) {
this._x = this._x + speedxx;
this._y = this._y + speedyy;
}
if ((fx4 == 3) && (j == 1)) {
this._x = this._x - speedxx;
this._y = this._y - speedyy;
}
if ((fx4 == 4) && (j == 1)) {
this._x = this._x + speedxx;
this._y = this._y - speedyy;
}
if (this.hitTest(_root.per.hit)) {
j = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
j = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
j = 0;
removeMovieClip(this);
}
};
if (((step % 15) == 0) && (k == 0)) {
var _local12 = _root.attachMovie("com10", "cem" + l, 160 + l);
l++;
if (l > 12) {
l = 7;
k = 1;
}
_local12._x = 70;
_local12._y = -20;
_local12.state = 1;
_local12.onEnterFrame = function () {
if (this.state == 1) {
if (this._y >= 180) {
this._x = this._x - 3;
this._y = this._y + 3;
} else {
this._x = this._x + 3;
this._y = this._y + 3;
}
if ((((this._y >= 330) || (this._x <= 40)) || (this._x >= 360)) || (this._currentframe >= 22)) {
removeMovieClip(this);
}
}
};
}
}
if (times < 4500) {
m--;
if ((((m <= 0) && (n <= 0)) && ((step % 4) == 0)) && (comAhp > 0)) {
var _local30 = _root.attachMovie("shotH", "shote" + p, 11000 + p);
p++;
if (p > 10) {
p = 1;
n = 1;
m = 100;
}
_local30._x = _root.comA._x;
_local30._y = _root.comA._y + 8;
}
var fx5 = 0;
if ((_root.per._x <= _root.comA._x) && (_root.per._y > _root.comA._y)) {
fx5 = 1;
}
if ((_root.per._x >= _root.comA._x) && (_root.per._y > _root.comA._y)) {
fx5 = 2;
}
if ((_root.per._x <= _root.comA._x) && (_root.per._y < _root.comA._y)) {
fx5 = 3;
}
if ((_root.per._x >= _root.comA._x) && (_root.per._y < _root.comA._y)) {
fx5 = 4;
}
if (Math.abs(_root.per._x - _root.comA._x) < 50) {
var speedyx = (random(4) + 2);
var speedxy = (random(4) - 2);
} else if (Math.abs(_root.per._y - _root.comA._y) < 50) {
var speedyx = (random(4) - 2);
var speedxy = (random(4) + 2);
} else {
var speedxy = (random(4) + 2);
var speedyx = (random(4) + 1);
}
_local30.onEnterFrame = function () {
if (fx5 == 1) {
this._x = this._x - speedxy;
this._y = this._y + speedyx;
}
if (fx5 == 2) {
this._x = this._x + speedxy;
this._y = this._y + speedyx;
}
if (fx5 == 3) {
this._x = this._x - speedxy;
this._y = this._y - speedyx;
}
if (fx5 == 4) {
this._x = this._x + speedxy;
this._y = this._y - speedyx;
}
if (this.hitTest(_root.per.hit)) {
n--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
n--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
n--;
removeMovieClip(this);
}
};
if (o == 0) {
var _local3 = _root.attachMovie("com5", "comA", 180);
o = 1;
}
_local3._x = 60;
_local3._y = 108;
_local3.state = 1;
_local3.time = 40;
_local3.onEnterFrame = function () {
if ((comAhp <= 0) && (this.state == 1)) {
this.gotoAndPlay("boom");
var _local3 = _root.attachMovie("boomshotsA", "level", 60);
_local3._x = this._x;
_local3._y = this._y;
this.state = 0;
}
if ((times > 3880) && (o == 1)) {
if (this._x < 160) {
this._x = this._x + 0.5;
this._y = this._y - 0.5;
} else {
this._y = this._y + 0.5;
}
} else if (this._x > 0) {
this._x--;
this._y++;
}
if ((this._x <= 0) || (this._y >= 330)) {
removeMovieClip(this);
}
};
}
if (times < 4300) {
q--;
if ((((r <= 0) && (q <= 0)) && ((step % 4) == 0)) && (comBhp > 0)) {
var _local29 = _root.attachMovie("shotH", "shotf" + t, 12000 + t);
t++;
if (t > 10) {
t = 1;
r = 1;
q = 100;
}
_local29._x = _root.comB._x;
_local29._y = _root.comB._y + 8;
}
var fx6 = 0;
if ((_root.per._x <= _root.comB._x) && (_root.per._y > _root.comB._y)) {
fx6 = 1;
}
if ((_root.per._x >= _root.comB._x) && (_root.per._y > _root.comB._y)) {
fx6 = 2;
}
if ((_root.per._x <= _root.comB._x) && (_root.per._y < _root.comB._y)) {
fx6 = 3;
}
if ((_root.per._x >= _root.comB._x) && (_root.per._y < _root.comB._y)) {
fx6 = 4;
}
if (Math.abs(_root.per._x - _root.comB._x) < 50) {
var speedxyy = (random(4) - 2);
var speedyxx = (random(4) + 2);
} else if (Math.abs(_root.per._y - _root.comB._y) < 50) {
var speedxyy = (random(4) + 2);
var speedyxx = (random(4) - 2);
} else {
var speedyxx = (random(4) + 2);
var speedxyy = (random(4) + 1);
}
_local29.onEnterFrame = function () {
if (fx6 == 1) {
this._x = this._x - speedxyy;
this._y = this._y + speedyxx;
}
if (fx6 == 2) {
this._y = this._y + speedyxx;
this._x = this._x + speedxyy;
}
if (fx6 == 3) {
this._y = this._y - speedyxx;
this._x = this._x - speedxyy;
}
if (fx6 == 4) {
this._y = this._y + speedyxx;
this._x = this._x - speedxyy;
}
if (this.hitTest(_root.per.hit)) {
r--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
r--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
r--;
removeMovieClip(this);
}
};
if (s == 0) {
var _local11 = _root.attachMovie("com5", "comB", 181);
s = 1;
}
_local11._x = 340;
_local11._y = 108;
_local11.state = 1;
_local11.onEnterFrame = function () {
if ((comBhp <= 0) && (this.state == 1)) {
this.gotoAndPlay("boom");
var _local3 = _root.attachMovie("level2", "level2", 50);
_local3._x = this._x;
_local3._y = this._y;
this.state = 0;
}
if ((times > 3680) && (s == 1)) {
if (this._x > 240) {
this._x = this._x - 0.5;
this._y = this._y - 0.5;
} else {
this._y = this._y + 0.5;
}
} else if (this._x < 400) {
this._x++;
this._y++;
}
if ((this._x >= 400) || (this._y >= 330)) {
removeMovieClip(this);
}
};
}
if ((times < 4000) && (times > 3800)) {
shotj.removeMovieClip();
if (((step % 12) == 0) && (v == 0)) {
var _local10 = _root.attachMovie("com11", "cam" + w, 200 + w);
w++;
if (w > 6) {
w = 1;
v = 1;
}
_local10._x = 60;
_local10._y = 200;
_local10.state = 1;
_local10.onEnterFrame = function () {
if (this.state == 1) {
if (this._x < 180) {
this._yscale = -100;
this._x = this._x + 2;
this._y = this._y - 3;
}
if (this._x >= 180) {
this._yscale = 100;
this._y = this._y + 4;
}
if ((this._y >= 330) || (this._y <= -10)) {
removeMovieClip(this);
}
}
};
}
if (u == 0) {
var _local28 = _root.attachMovie("shotH", "shotg", 10004);
if (Math.abs(_root.per._x - _root.cam3._x) < 50) {
var speedyyx = (random(2) + 3);
var speedxxy = (random(3) - 1);
} else if (Math.abs(_root.per._y - _root.cam3._y) < 50) {
var speedyyx = (random(3) - 1);
var speedxxy = (random(2) + 3);
} else {
var speedxxy = (random(2) + 3);
var speedyyx = (random(3) + 1);
}
var fx7 = 0;
if ((_root.per._x <= _root.cam3._x) && (_root.per._y > _root.cam3._y)) {
fx7 = 1;
}
if ((_root.per._x >= _root.cam3._x) && (_root.per._y > _root.cam3._y)) {
fx7 = 2;
}
if ((_root.per._x <= _root.cam3._x) && (_root.per._y < _root.cam3._y)) {
fx7 = 3;
}
if ((_root.per._x >= _root.cam3._x) && (_root.per._y < _root.cam3._y)) {
fx7 = 4;
}
_local28._x = _root.cam3._x;
_local28._y = _root.cam3._y;
u = 1;
}
_local28.onEnterFrame = function () {
if ((fx7 == 1) && (u == 1)) {
this._x = this._x - speedxxy;
this._y = this._y + speedyyx;
}
if ((fx7 == 2) && (u == 1)) {
this._x = this._x + speedxxy;
this._y = this._y + speedyyx;
}
if ((fx7 == 3) && (u == 1)) {
this._x = this._x - speedxxy;
this._y = this._y - speedyyx;
}
if ((fx7 == 4) && (u == 1)) {
this._x = this._x + speedxxy;
this._y = this._y - speedyyx;
}
if (this.hitTest(_root.per.hit)) {
u = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
u = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
u = 0;
removeMovieClip(this);
}
};
}
if ((times < 3900) && (times > 3700)) {
if (((step % 12) == 0) && (bb == 0)) {
var _local9 = _root.attachMovie("com11", "cam" + dd, 220 + dd);
dd++;
if (dd > 12) {
dd = 7;
bb = 1;
}
_local9._x = 340;
_local9._y = 200;
_local9.state = 1;
_local9.onEnterFrame = function () {
if (this.state == 1) {
if (this._x > 220) {
this._yscale = -100;
this._x = this._x - 2;
this._y = this._y - 3;
}
if (this._x <= 220) {
this._yscale = 100;
this._y = this._y + 4;
}
if ((this._y >= 330) || (this._y <= -10)) {
removeMovieClip(this);
}
}
};
}
if (aa == 0) {
var _local27 = _root.attachMovie("shotH", "shoth", 10005);
if (Math.abs(_root.per._x - _root.cam8._x) < 50) {
var speedyyxx = (random(2) + 3);
var speedxxyy = (random(4) - 2);
} else if (Math.abs(_root.per._y - _root.cam8._y) < 50) {
var speedyyxx = (random(4) - 2);
var speedxxyy = (random(2) + 3);
} else {
var speedxxyy = (random(2) + 3);
var speedyyxx = (random(4) + 2);
}
var fx8 = 0;
if ((_root.per._x <= _root.cam8._x) && (_root.per._y > _root.cam8._y)) {
fx8 = 1;
}
if ((_root.per._x >= _root.cam8._x) && (_root.per._y > _root.cam8._y)) {
fx8 = 2;
}
if ((_root.per._x <= _root.cam8._x) && (_root.per._y < _root.cam8._y)) {
fx8 = 3;
}
if ((_root.per._x >= _root.cam8._x) && (_root.per._y < _root.cam8._y)) {
fx8 = 4;
}
_local27._x = _root.cam8._x;
_local27._y = _root.cam8._y;
aa = 1;
}
_local27.onEnterFrame = function () {
if ((fx8 == 1) && (aa == 1)) {
this._x = this._x - speedxxyy;
this._y = this._y + speedyyxx;
}
if ((fx8 == 2) && (aa == 1)) {
this._x = this._x + speedxxyy;
this._y = this._y + speedyyxx;
}
if ((fx8 == 3) && (aa == 1)) {
this._x = this._x - speedxxyy;
this._y = this._y - speedyyxx;
}
if ((fx8 == 4) && (aa == 1)) {
this._x = this._x + speedxxyy;
this._y = this._y - speedyyxx;
}
if (this.hitTest(_root.per.hit)) {
aa = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
aa = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
aa = 0;
removeMovieClip(this);
}
};
}
if ((times < 3600) && (times > 3400)) {
if (((step % 18) == 0) && (ff == 0)) {
var _local8 = _root.attachMovie("com9", "cem" + gg, 240 + gg);
gg++;
if (gg > 6) {
gg = 1;
ff = 1;
}
_local8._x = 70;
_local8._y = -10;
_local8.state = 1;
_local8.onEnterFrame = function () {
if (this.state == 1) {
if (this._y < 150) {
this._x = this._x + 2;
this._y = this._y + 3;
} else {
this.state = 0;
}
} else {
this._yscale = -100;
this._x = this._x + 2;
this._y = this._y - 3;
}
if (((this._y >= 330) || (this._y <= -20)) || (this._x >= 360)) {
removeMovieClip(this);
}
};
}
if (ee == 0) {
var _local26 = _root.attachMovie("shotG", "shoti", 10006);
if (Math.abs(_root.per._x - _root.cem3._x) < 50) {
var speedya = (random(2) + 3);
var speedxa = (random(4) - 1);
} else if (Math.abs(_root.per._y - _root.cem3._y) < 50) {
var speedya = (random(4) - 1);
var speedxa = (random(2) + 3);
} else {
var speedxa = (random(2) + 3);
var speedya = (random(3) + 1);
}
var fx9 = 0;
if ((_root.per._x <= _root.cem3._x) && (_root.per._y > _root.cem3._y)) {
fx9 = 1;
}
if ((_root.per._x >= _root.cem3._x) && (_root.per._y > _root.cem3._y)) {
fx9 = 2;
}
if ((_root.per._x <= _root.cem3._x) && (_root.per._y < _root.cem3._y)) {
fx9 = 3;
}
if ((_root.per._x >= _root.cem3._x) && (_root.per._y < _root.cem3._y)) {
fx9 = 4;
}
_local26._x = _root.cem3._x;
_local26._y = _root.cem3._y;
ee = 1;
}
_local26.onEnterFrame = function () {
if (fx9 == 1) {
this._x = this._x - speedxa;
this._y = this._y + speedya;
}
if (fx9 == 2) {
this._x = this._x + speedxa;
this._y = this._y + speedya;
}
if (fx9 == 3) {
this._x = this._x - speedxa;
this._y = this._y - speedya;
}
if (fx9 == 4) {
this._x = this._x + speedxa;
this._y = this._y - speedya;
}
if (this.hitTest(_root.per.hit)) {
ee = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ee = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ee = 0;
removeMovieClip(this);
}
};
}
if ((times < 3500) && (times > 3300)) {
if (((step % 18) == 0) && (ii == 0)) {
var _local7 = _root.attachMovie("com9", "cem" + jj, 260 + jj);
jj++;
if (jj > 12) {
jj = 7;
ii = 1;
}
_local7._x = 330;
_local7._y = -10;
_local7.state = 1;
_local7.onEnterFrame = function () {
if (this.state == 1) {
if (this._y < 150) {
this._x = this._x - 2;
this._y = this._y + 3;
} else {
this.state = 0;
}
} else {
this._yscale = -100;
this._x = this._x - 2;
this._y = this._y - 3;
}
if (((this._y >= 330) || (this._y <= -20)) || (this._x <= 40)) {
removeMovieClip(this);
}
};
}
if (hh == 0) {
var _local25 = _root.attachMovie("shotG", "shotj", 10007);
if (Math.abs(_root.per._x - _root.cem8._x) < 50) {
var speedyya = (random(2) + 3);
var speedxxa = (random(4) - 1);
} else if (Math.abs(_root.per._y - _root.cem8._y) < 50) {
var speedyya = (random(4) - 1);
var speedxxa = (random(2) + 3);
} else {
var speedxxa = (random(2) + 3);
var speedyya = (random(3) + 1);
}
var fx10 = 0;
if ((_root.per._x <= _root.cem8._x) && (_root.per._y > _root.cem8._y)) {
fx10 = 1;
}
if ((_root.per._x >= _root.cem8._x) && (_root.per._y > _root.cem8._y)) {
fx10 = 2;
}
if ((_root.per._x <= _root.cem8._x) && (_root.per._y < _root.cem8._y)) {
fx10 = 3;
}
if ((_root.per._x >= _root.cem8._x) && (_root.per._y < _root.cem8._y)) {
fx10 = 4;
}
_local25._x = _root.cem8._x;
_local25._y = _root.cem8._y;
hh = 1;
}
_local25.onEnterFrame = function () {
if (fx10 == 1) {
this._x = this._x - speedxxa;
this._y = this._y + speedyya;
}
if (fx10 == 2) {
this._x = this._x + speedxxa;
this._y = this._y + speedyya;
}
if (fx10 == 3) {
this._x = this._x - speedxxa;
this._y = this._y - speedyya;
}
if (fx10 == 4) {
this._x = this._x + speedxxa;
this._y = this._y - speedyya;
}
if (this.hitTest(_root.per.hit)) {
hh = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
hh = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
hh = 0;
removeMovieClip(this);
}
};
}
if (times < 3900) {
if (nn == 0) {
var _local6 = _root.attachMovie("com7", "comC", 192);
var _local5 = _root.attachMovie("com7", "comD", 193);
nn = 1;
}
_local6._x = 150;
_local6._y = -10;
_local5._x = 250;
_local5._y = -10;
_local6.state = 1;
_local5.state = 1;
_local6.onEnterFrame = function () {
if ((comChp <= 0) && (this.state == 1)) {
this.gotoAndPlay("boom");
this.state = 0;
}
if ((this._y < 350) && (comChp > 0)) {
this._y = this._y + 0.5;
}
if (this._y >= 350) {
removeMovieClip(this);
}
};
_local5.onEnterFrame = function () {
if ((comDhp <= 0) && (this.state == 1)) {
this.gotoAndPlay("boom");
this.state = 0;
}
if ((this._y < 350) && (comDhp > 0)) {
this._y = this._y + 0.5;
}
if (this._y >= 350) {
removeMovieClip(this);
}
};
oo--;
if ((((pp <= 0) && (oo <= 0)) && ((step % 4) == 0)) && (comChp > 0)) {
var _local20 = _root.attachMovie("shotG", "shoto" + qq, 40000 + qq);
qq++;
if (qq > 6) {
qq = 1;
pp = 1;
oo = 100;
}
_local20._x = _root.comC._x;
_local20._y = _root.comC._y + 8;
}
var fx10 = 0;
if ((_root.per._x <= _root.comC._x) && (_root.per._y > _root.comC._y)) {
fx10 = 4;
}
if ((_root.per._x >= _root.comC._x) && (_root.per._y > _root.comC._y)) {
fx10 = 2;
}
if ((_root.per._x <= _root.comC._x) && (_root.per._y < _root.comC._y)) {
fx10 = 3;
}
if ((_root.per._x >= _root.comC._x) && (_root.per._y < _root.comC._y)) {
fx10 = 1;
}
if (Math.abs(_root.per._x - _root.comC._x) < 50) {
var speedxyyx = (random(4) - 2);
var speedyxxy = (random(4) + 2);
} else if (Math.abs(_root.per._y - _root.comC._y) < 50) {
var speedxyyx = (random(4) + 2);
var speedyxxy = (random(4) - 2);
} else {
var speedyxxy = (random(4) + 2);
var speedxyyx = (random(4) + 1);
}
_local20.onEnterFrame = function () {
if (fx10 == 1) {
this._x = this._x + speedxyyx;
this._y = this._y - speedyxxy;
}
if (fx10 == 2) {
this._y = this._y + speedyxxy;
this._x = this._x + speedxyyx;
}
if (fx10 == 3) {
this._y = this._y - speedyxxy;
this._x = this._x - speedxyyx;
}
if (fx10 == 4) {
this._y = this._y + speedyxxy;
this._x = this._x - speedxyyx;
}
if (this.hitTest(_root.per.hit)) {
pp--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
pp--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
pp--;
removeMovieClip(this);
}
};
rr--;
if ((((ss <= 0) && (rr <= 0)) && ((step % 4) == 0)) && (comDhp > 0)) {
var _local19 = _root.attachMovie("shotG", "shotp" + tt, 50000 + tt);
tt++;
if (tt > 6) {
tt = 1;
ss = 1;
rr = 100;
}
_local19._x = _root.comD._x;
_local19._y = _root.comD._y + 8;
}
var fx11 = 0;
if ((_root.per._x <= _root.comD._x) && (_root.per._y > _root.comD._y)) {
fx11 = 1;
}
if ((_root.per._x >= _root.comD._x) && (_root.per._y > _root.comD._y)) {
fx11 = 2;
}
if ((_root.per._x <= _root.comD._x) && (_root.per._y < _root.comD._y)) {
fx11 = 3;
}
if ((_root.per._x >= _root.comD._x) && (_root.per._y < _root.comD._y)) {
fx11 = 4;
}
if (Math.abs(_root.per._x - _root.comD._x) < 50) {
var speedxyyy = (random(4) - 2);
var speedyxxx = (random(4) + 2);
} else if (Math.abs(_root.per._y - _root.comD._y) < 50) {
var speedxyyy = (random(4) + 2);
var speedyxxx = (random(4) - 2);
} else {
var speedyxxx = (random(4) + 2);
var speedxyyy = (random(4) + 1);
}
_local19.onEnterFrame = function () {
if (fx11 == 1) {
this._x = this._x - speedxyyy;
this._y = this._y + speedyxxx;
}
if (fx11 == 2) {
this._y = this._y + speedyxxx;
this._x = this._x + speedxyyy;
}
if (fx11 == 3) {
this._y = this._y - speedyxxx;
this._x = this._x - speedxyyy;
}
if (fx11 == 4) {
this._y = this._y + speedyxxx;
this._x = this._x - speedxyyy;
}
if (this.hitTest(_root.per.hit)) {
ss--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ss--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ss--;
removeMovieClip(this);
}
};
kk--;
if (((ll <= 0) && (kk <= 0)) && ((step % 3) == 0)) {
var _local24 = _root.attachMovie("shotH", "shotk" + mm, 13000 + mm);
var _local23 = _root.attachMovie("shotH", "shotl" + mm, 14000 + mm);
var _local22 = _root.attachMovie("shotH", "shotm" + mm, 15000 + mm);
var _local21 = _root.attachMovie("shotH", "shotn" + mm, 16000 + mm);
mm++;
if (mm > 5) {
mm = 1;
ll = 1;
kk = 160;
}
_local24._x = _root.comC._x + 15;
_local24._y = _root.comC._y + 8;
_local23._x = _root.comC._x - 15;
_local23._y = _root.comC._y + 8;
_local22._x = _root.comD._x + 15;
_local22._y = _root.comD._y + 8;
_local21._x = _root.comD._x - 15;
_local21._y = _root.comD._y + 8;
_local24.onEnterFrame = function () {
this._y = this._y + 3;
if (this.hitTest(_root.per.hit)) {
ll--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ll--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ll--;
removeMovieClip(this);
}
};
_local23.onEnterFrame = function () {
this._y = this._y + 3;
if (this.hitTest(_root.per.hit)) {
ll--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ll--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ll--;
removeMovieClip(this);
}
};
_local22.onEnterFrame = function () {
this._y = this._y + 3;
if (this.hitTest(_root.per.hit)) {
ll--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ll--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ll--;
removeMovieClip(this);
}
};
_local21.onEnterFrame = function () {
this._y = this._y + 3;
if (this.hitTest(_root.per.hit)) {
ll--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ll--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ll--;
removeMovieClip(this);
}
};
}
}
if (times < 3330) {
nextFrame();
}
};
stop();
Frame 10
var a = 0;
var b = 0;
var c = 1;
var d = 0;
var e = 0;
var f = 7;
var g = 0;
var h = 0;
var i = 1;
var j = 0;
var k = 0;
var l = 7;
var m = 100;
var n = 0;
var o = 0;
var p = 1;
var q = 100;
var r = 0;
var s = 0;
var t = 1;
var u = 0;
var v = 0;
var w = 1;
var aa = 0;
var bb = 0;
var dd = 7;
var ee = 0;
var ff = 0;
var gg = 1;
var hh = 0;
var ii = 0;
var jj = 7;
var kk = 100;
var ll = 0;
var mm = 1;
var nn = 0;
var oo = 100;
var pp = 0;
var qq = 1;
var rr = 100;
var ss = 0;
var tt = 1;
var frier = 0;
var friers = 0;
var frierx = 0;
var perlife = 8;
var comAhp = 200;
var comBhp = 200;
var comChp = 250;
var comDhp = 250;
var comEhp = 300;
var comFhp = 300;
var step = 0;
var times = 4800;
_root.onEnterFrame = function () {
times--;
step++;
if ((times < 4700) && (times > 4500)) {
if (a == 0) {
var _local16 = _root.attachMovie("shotG", "shota", 10000);
if (Math.abs(_root.per._x - _root.cam3._x) < 50) {
var speedy = (random(2) + 3);
var speedx = (random(3) - 1);
} else if (Math.abs(_root.per._y - _root.cam3._y) < 50) {
var speedy = (random(3) - 1);
var speedx = (random(2) + 3);
} else {
var speedx = (random(2) + 3);
var speedy = (random(3) + 1);
}
var fx = 0;
if ((_root.per._x <= _root.cam3._x) && (_root.per._y > _root.cam3._y)) {
fx = 1;
}
if ((_root.per._x >= _root.cam3._x) && (_root.per._y > _root.cam3._y)) {
fx = 2;
}
if ((_root.per._x <= _root.cam3._x) && (_root.per._y < _root.cam3._y)) {
fx = 3;
}
if ((_root.per._x >= _root.cam3._x) && (_root.per._y < _root.cam3._y)) {
fx = 4;
}
_local16._x = _root.cam3._x;
_local16._y = _root.cam3._y;
a = 1;
}
_local16.onEnterFrame = function () {
if ((fx == 1) && (a == 1)) {
this._x = this._x - speedx;
this._y = this._y + speedy;
}
if ((fx == 2) && (a == 1)) {
this._x = this._x + speedx;
this._y = this._y + speedy;
}
if ((fx == 3) && (a == 1)) {
this._x = this._x - speedx;
this._y = this._y - speedy;
}
if ((fx == 4) && (a == 1)) {
this._x = this._x + speedx;
this._y = this._y - speedy;
}
if (this.hitTest(_root.per.hit)) {
a = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
a = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
a = 0;
removeMovieClip(this);
}
};
if (((step % 12) == 0) && (b == 0)) {
var _local28 = _root.attachMovie("com10", "cam" + c, 100 + c);
c++;
if (c > 6) {
c = 1;
b = 1;
}
_local28._x = 70;
_local28._y = 0;
_local28.onEnterFrame = function () {
this._x = this._x + 2;
this._y = this._y + 3;
};
}
}
if ((times < 3900) && (times > 3700)) {
if (d == 0) {
var _local15 = _root.attachMovie("shotG", "shotb", 10001);
if (Math.abs(_root.per._x - _root.cam8._x) < 50) {
var speedyy = (random(2) + 3);
var speedxx = (random(3) - 1);
} else if (Math.abs(_root.per._y - _root.cam8._y) < 50) {
var speedyy = (random(3) - 1);
var speedxx = (random(2) + 3);
} else {
var speedxx = (random(2) + 3);
var speedyy = (random(3) + 1);
}
var fx2 = 0;
if ((_root.per._x <= _root.cam8._x) && (_root.per._y > _root.cam8._y)) {
fx2 = 1;
}
if ((_root.per._x >= _root.cam8._x) && (_root.per._y > _root.cam8._y)) {
fx2 = 2;
}
if ((_root.per._x <= _root.cam8._x) && (_root.per._y < _root.cam8._y)) {
fx2 = 3;
}
if ((_root.per._x >= _root.cam8._x) && (_root.per._y < _root.cam8._y)) {
fx2 = 4;
}
_local15._x = _root.cam8._x;
_local15._y = _root.cam8._y;
d = 1;
}
_local15.onEnterFrame = function () {
if ((fx2 == 1) && (d == 1)) {
this._x = this._x - speedxx;
this._y = this._y + speedyy;
}
if ((fx2 == 2) && (d == 1)) {
this._x = this._x + speedxx;
this._y = this._y + speedyy;
}
if ((fx2 == 3) && (d == 1)) {
this._x = this._x - speedxx;
this._y = this._y - speedyy;
}
if ((fx2 == 4) && (d == 1)) {
this._x = this._x + speedxx;
this._y = this._y - speedyy;
}
if (this.hitTest(_root.per.hit)) {
d = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
d = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
d = 0;
removeMovieClip(this);
}
};
if (((step % 12) == 0) && (e == 0)) {
var _local26 = _root.attachMovie("com10", "cam" + f, 120 + f);
f++;
if (f > 12) {
f = 7;
e = 1;
}
_local26._x = 330;
_local26._y = 0;
_local26.onEnterFrame = function () {
this._x = this._x - 2;
this._y = this._y + 3;
};
}
}
if ((times < 4300) && (times > 4100)) {
if (g == 0) {
var _local14 = _root.attachMovie("shotG", "shotc", 10002);
if (Math.abs(_root.per._x - _root.cem3._x) < 50) {
var speedy = (random(2) + 3);
var speedx = (random(3) - 1);
} else if (Math.abs(_root.per._y - _root.cem3._y) < 50) {
var speedy = (random(3) - 1);
var speedx = (random(2) + 3);
} else {
var speedx = (random(2) + 3);
var speedy = (random(3) + 1);
}
var fx3 = 0;
if ((_root.per._x <= _root.cem3._x) && (_root.per._y > _root.cem3._y)) {
fx3 = 1;
}
if ((_root.per._x >= _root.cem3._x) && (_root.per._y > _root.cem3._y)) {
fx3 = 2;
}
if ((_root.per._x <= _root.cem3._x) && (_root.per._y < _root.cem3._y)) {
fx3 = 3;
}
if ((_root.per._x >= _root.cem3._x) && (_root.per._y < _root.cem3._y)) {
fx3 = 4;
}
_local14._x = _root.cem3._x;
_local14._y = _root.cem3._y;
g = 1;
}
_local14.onEnterFrame = function () {
if ((fx3 == 1) && (g == 1)) {
this._x = this._x - speedx;
this._y = this._y + speedy;
}
if ((fx3 == 2) && (g == 1)) {
this._x = this._x + speedx;
this._y = this._y + speedy;
}
if ((fx3 == 3) && (g == 1)) {
this._x = this._x - speedx;
this._y = this._y - speedy;
}
if ((fx3 == 4) && (g == 1)) {
this._x = this._x + speedx;
this._y = this._y - speedy;
}
if (this.hitTest(_root.per.hit)) {
g = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
g = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
g = 0;
removeMovieClip(this);
}
};
if (((step % 12) == 0) && (h == 0)) {
var _local12 = _root.attachMovie("com12", "cem" + i, 140 + i);
i++;
if (i > 6) {
i = 1;
h = 1;
}
_local12._x = 250;
_local12._y = -20;
_local12.state = 1;
_local12.onEnterFrame = function () {
if (this.state == 1) {
if (this._y >= 160) {
this._x = this._x - 4;
this._y = this._y + 2;
} else {
this._y = this._y + 3;
}
if ((((this._y >= 330) || (this._x <= 40)) || (this._x >= 360)) || (this._currentframe >= 22)) {
removeMovieClip(this);
}
}
};
}
}
if ((times < 4200) && (times > 4000)) {
if (j <= 0) {
var _local13 = _root.attachMovie("shotG", "shotd", 10003);
if (Math.abs(_root.per._x - _root.cem8._x) < 50) {
var speedyy = (random(2) + 3);
var speedxx = (random(3) - 1);
} else if (Math.abs(_root.per._y - _root.cem8._y) < 50) {
var speedyy = (random(3) - 1);
var speedxx = (random(2) + 3);
} else {
speedxx = random(2) + 3;
speedyy = random(3) + 1;
}
var fx4 = 0;
if ((_root.per._x <= _root.cem8._x) && (_root.per._y > _root.cem8._y)) {
fx4 = 1;
}
if ((_root.per._x >= _root.cem8._x) && (_root.per._y > _root.cem8._y)) {
fx4 = 2;
}
if ((_root.per._x <= _root.cem8._x) && (_root.per._y < _root.cem8._y)) {
fx4 = 3;
}
if ((_root.per._x >= _root.cem8._x) && (_root.per._y < _root.cem8._y)) {
fx4 = 4;
}
_local13._x = _root.cem8._x;
_local13._y = _root.cem8._y;
j = 1;
}
_local13.onEnterFrame = function () {
if ((fx4 == 1) && (j == 1)) {
this._x = this._x - speedxx;
this._y = this._y + speedyy;
}
if ((fx4 == 2) && (j == 1)) {
this._x = this._x + speedxx;
this._y = this._y + speedyy;
}
if ((fx4 == 3) && (j == 1)) {
this._x = this._x - speedxx;
this._y = this._y - speedyy;
}
if ((fx4 == 4) && (j == 1)) {
this._x = this._x + speedxx;
this._y = this._y - speedyy;
}
if (this.hitTest(_root.per.hit)) {
j = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
j = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
j = 0;
removeMovieClip(this);
}
};
if (((step % 15) == 0) && (k == 0)) {
var _local11 = _root.attachMovie("com12", "cem" + l, 160 + l);
l++;
if (l > 12) {
l = 7;
k = 1;
}
_local11._x = 150;
_local11._y = -20;
_local11.state = 1;
_local11.onEnterFrame = function () {
if (this.state == 1) {
if (this._y >= 160) {
this._x = this._x + 4;
this._y = this._y + 2;
} else {
this._y = this._y + 3;
}
if ((((this._y >= 330) || (this._x <= 40)) || (this._x >= 360)) || (this._currentframe >= 22)) {
removeMovieClip(this);
}
}
};
}
}
if (times < 4500) {
m--;
if ((((m <= 0) && (n <= 0)) && ((step % 4) == 0)) && (comAhp > 0)) {
var _local31 = _root.attachMovie("shotG", "shote" + p, 11000 + p);
p++;
if (p > 10) {
p = 1;
n = 1;
m = 100;
}
_local31._x = _root.comA._x;
_local31._y = _root.comA._y + 8;
}
var fx5 = 0;
if ((_root.per._x <= _root.comA._x) && (_root.per._y > _root.comA._y)) {
fx5 = 1;
}
if ((_root.per._x >= _root.comA._x) && (_root.per._y > _root.comA._y)) {
fx5 = 2;
}
if ((_root.per._x <= _root.comA._x) && (_root.per._y < _root.comA._y)) {
fx5 = 3;
}
if ((_root.per._x >= _root.comA._x) && (_root.per._y < _root.comA._y)) {
fx5 = 4;
}
if (Math.abs(_root.per._x - _root.comA._x) < 50) {
var speedyx = (random(4) + 2);
var speedxy = (random(4) - 2);
} else if (Math.abs(_root.per._y - _root.comA._y) < 50) {
var speedyx = (random(4) - 2);
var speedxy = (random(4) + 2);
} else {
var speedxy = (random(4) + 2);
var speedyx = (random(4) + 1);
}
_local31.onEnterFrame = function () {
if (fx5 == 1) {
this._x = this._x - speedxy;
this._y = this._y + speedyx;
}
if (fx5 == 2) {
this._x = this._x + speedxy;
this._y = this._y + speedyx;
}
if (fx5 == 3) {
this._x = this._x - speedxy;
this._y = this._y - speedyx;
}
if (fx5 == 4) {
this._x = this._x + speedxy;
this._y = this._y - speedyx;
}
if (this.hitTest(_root.per.hit)) {
n--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
n--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
n--;
removeMovieClip(this);
}
};
if (o == 0) {
var _local4 = _root.attachMovie("com4", "comA", 180);
o = 1;
}
_local4._x = 40;
_local4._y = 68;
_local4.state = 1;
_local4.time = 40;
_local4.onEnterFrame = function () {
if ((comAhp <= 0) && (this.state == 1)) {
this.gotoAndPlay("boom");
var _local3 = _root.attachMovie("boomshotsA", "level", 60);
_local3._x = this._x;
_local3._y = this._y;
this.state = 0;
}
if ((times > 3880) && (o == 1)) {
if (this._x < 160) {
this._x = this._x + 0.5;
} else {
this._y = this._y + 0.5;
}
} else if (this._x > 0) {
this._x--;
this._y++;
}
if ((this._x <= 0) || (this._y >= 330)) {
removeMovieClip(this);
}
};
}
if (times < 4300) {
q--;
if ((((r <= 0) && (q <= 0)) && ((step % 4) == 0)) && (comBhp > 0)) {
var _local30 = _root.attachMovie("shotG", "shotf" + t, 12000 + t);
t++;
if (t > 10) {
t = 1;
r = 1;
q = 100;
}
_local30._x = _root.comB._x;
_local30._y = _root.comB._y + 8;
}
var fx6 = 0;
if ((_root.per._x <= _root.comB._x) && (_root.per._y > _root.comB._y)) {
fx6 = 1;
}
if ((_root.per._x >= _root.comB._x) && (_root.per._y > _root.comB._y)) {
fx6 = 2;
}
if ((_root.per._x <= _root.comB._x) && (_root.per._y < _root.comB._y)) {
fx6 = 3;
}
if ((_root.per._x >= _root.comB._x) && (_root.per._y < _root.comB._y)) {
fx6 = 4;
}
if (Math.abs(_root.per._x - _root.comB._x) < 50) {
var speedxyy = (random(4) - 2);
var speedyxx = (random(4) + 2);
} else if (Math.abs(_root.per._y - _root.comB._y) < 50) {
var speedxyy = (random(4) + 2);
var speedyxx = (random(4) - 2);
} else {
var speedyxx = (random(4) + 2);
var speedxyy = (random(4) + 1);
}
_local30.onEnterFrame = function () {
if (fx6 == 1) {
this._x = this._x - speedxyy;
this._y = this._y + speedyxx;
}
if (fx6 == 2) {
this._y = this._y + speedyxx;
this._x = this._x + speedxyy;
}
if (fx6 == 3) {
this._y = this._y - speedyxx;
this._x = this._x - speedxyy;
}
if (fx6 == 4) {
this._y = this._y + speedyxx;
this._x = this._x - speedxyy;
}
if (this.hitTest(_root.per.hit)) {
r--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
r--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
r--;
removeMovieClip(this);
}
};
if (s == 0) {
var _local10 = _root.attachMovie("com5", "comB", 181);
s = 1;
}
_local10._x = 360;
_local10._y = 68;
_local10.state = 1;
_local10.onEnterFrame = function () {
if ((comBhp <= 0) && (this.state == 1)) {
this.gotoAndPlay("boom");
var _local3 = _root.attachMovie("level2", "level2", 50);
_local3._x = this._x;
_local3._y = this._y;
this.state = 0;
}
if ((times > 3680) && (s == 1)) {
if (this._x > 240) {
this._x = this._x - 0.5;
} else {
this._y = this._y + 0.5;
}
} else if (this._x < 400) {
this._x++;
this._y++;
}
if ((this._x >= 400) || (this._y >= 330)) {
removeMovieClip(this);
}
};
}
if ((times < 4000) && (times > 3800)) {
shotj.removeMovieClip();
if (((step % 12) == 0) && (v == 0)) {
var _local9 = _root.attachMovie("com11", "cam" + w, 200 + w);
w++;
if (w > 6) {
w = 1;
v = 1;
}
_local9._x = 60;
_local9._y = 200;
_local9.state = 1;
_local9.onEnterFrame = function () {
if (this.state == 1) {
if (this._x < 180) {
this._yscale = -100;
this._x = this._x + 2;
this._y = this._y - 3;
}
if (this._x >= 180) {
this._yscale = 100;
this._y = this._y + 4;
}
if ((this._y >= 330) || (this._y <= -10)) {
removeMovieClip(this);
}
}
};
}
if (u == 0) {
var _local29 = _root.attachMovie("shotH", "shotg", 10004);
if (Math.abs(_root.per._x - _root.cam3._x) < 50) {
var speedyyx = (random(2) + 3);
var speedxxy = (random(3) - 1);
} else if (Math.abs(_root.per._y - _root.cam3._y) < 50) {
var speedyyx = (random(3) - 1);
var speedxxy = (random(2) + 3);
} else {
var speedxxy = (random(2) + 3);
var speedyyx = (random(3) + 1);
}
var fx7 = 0;
if ((_root.per._x <= _root.cam3._x) && (_root.per._y > _root.cam3._y)) {
fx7 = 1;
}
if ((_root.per._x >= _root.cam3._x) && (_root.per._y > _root.cam3._y)) {
fx7 = 2;
}
if ((_root.per._x <= _root.cam3._x) && (_root.per._y < _root.cam3._y)) {
fx7 = 3;
}
if ((_root.per._x >= _root.cam3._x) && (_root.per._y < _root.cam3._y)) {
fx7 = 4;
}
_local29._x = _root.cam3._x;
_local29._y = _root.cam3._y;
u = 1;
}
_local29.onEnterFrame = function () {
if ((fx7 == 1) && (u == 1)) {
this._x = this._x - speedxxy;
this._y = this._y + speedyyx;
}
if ((fx7 == 2) && (u == 1)) {
this._x = this._x + speedxxy;
this._y = this._y + speedyyx;
}
if ((fx7 == 3) && (u == 1)) {
this._x = this._x - speedxxy;
this._y = this._y - speedyyx;
}
if ((fx7 == 4) && (u == 1)) {
this._x = this._x + speedxxy;
this._y = this._y - speedyyx;
}
if (this.hitTest(_root.per.hit)) {
u = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
u = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
u = 0;
removeMovieClip(this);
}
};
}
if ((times < 4600) && (times > 4400)) {
if (((step % 12) == 0) && (bb == 0)) {
var _local8 = _root.attachMovie("com11", "cam" + dd, 220 + dd);
dd++;
if (dd > 12) {
dd = 7;
bb = 1;
}
_local8._x = 340;
_local8._y = 200;
_local8.state = 1;
_local8.onEnterFrame = function () {
if (this.state == 1) {
if (this._x > 220) {
this._yscale = -100;
this._x = this._x - 2;
this._y = this._y - 3;
}
if (this._x <= 220) {
this._yscale = 100;
this._y = this._y + 4;
}
if ((this._y >= 330) || (this._y <= -10)) {
removeMovieClip(this);
}
}
};
}
if (aa == 0) {
var _local27 = _root.attachMovie("shotH", "shoth", 10005);
if (Math.abs(_root.per._x - _root.cam8._x) < 50) {
var speedyyxx = (random(2) + 3);
var speedxxyy = (random(4) - 2);
} else if (Math.abs(_root.per._y - _root.cam8._y) < 50) {
var speedyyxx = (random(4) - 2);
var speedxxyy = (random(2) + 3);
} else {
var speedxxyy = (random(2) + 3);
var speedyyxx = (random(4) + 2);
}
var fx8 = 0;
if ((_root.per._x <= _root.cam8._x) && (_root.per._y > _root.cam8._y)) {
fx8 = 1;
}
if ((_root.per._x >= _root.cam8._x) && (_root.per._y > _root.cam8._y)) {
fx8 = 2;
}
if ((_root.per._x <= _root.cam8._x) && (_root.per._y < _root.cam8._y)) {
fx8 = 3;
}
if ((_root.per._x >= _root.cam8._x) && (_root.per._y < _root.cam8._y)) {
fx8 = 4;
}
_local27._x = _root.cam8._x;
_local27._y = _root.cam8._y;
aa = 1;
}
_local27.onEnterFrame = function () {
if ((fx8 == 1) && (aa == 1)) {
this._x = this._x - speedxxyy;
this._y = this._y + speedyyxx;
}
if ((fx8 == 2) && (aa == 1)) {
this._x = this._x + speedxxyy;
this._y = this._y + speedyyxx;
}
if ((fx8 == 3) && (aa == 1)) {
this._x = this._x - speedxxyy;
this._y = this._y - speedyyxx;
}
if ((fx8 == 4) && (aa == 1)) {
this._x = this._x + speedxxyy;
this._y = this._y - speedyyxx;
}
if (this.hitTest(_root.per.hit)) {
aa = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
aa = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
aa = 0;
removeMovieClip(this);
}
};
}
if ((times < 3600) && (times > 3400)) {
if (((step % 18) == 0) && (ff == 0)) {
var _local7 = _root.attachMovie("com", "cem" + gg, 240 + gg);
gg++;
if (gg > 6) {
gg = 1;
ff = 1;
}
_local7._x = 70;
_local7._y = -10;
_local7.state = 1;
_local7.onEnterFrame = function () {
if (this.state == 1) {
if (this._y < 150) {
this._x = this._x + 2;
this._y = this._y + 3;
} else {
this.state = 0;
}
} else {
this._yscale = -100;
this._x = this._x + 2;
this._y = this._y - 3;
}
if (((this._y >= 330) || (this._y <= -20)) || (this._x >= 360)) {
removeMovieClip(this);
}
};
}
if (ee == 0) {
var _local25 = _root.attachMovie("shotG", "shoti", 10006);
if (Math.abs(_root.per._x - _root.cem3._x) < 50) {
var speedya = (random(2) + 3);
var speedxa = (random(4) - 1);
} else if (Math.abs(_root.per._y - _root.cem3._y) < 50) {
var speedya = (random(4) - 1);
var speedxa = (random(2) + 3);
} else {
var speedxa = (random(2) + 3);
var speedya = (random(3) + 1);
}
var fx9 = 0;
if ((_root.per._x <= _root.cem3._x) && (_root.per._y > _root.cem3._y)) {
fx9 = 1;
}
if ((_root.per._x >= _root.cem3._x) && (_root.per._y > _root.cem3._y)) {
fx9 = 2;
}
if ((_root.per._x <= _root.cem3._x) && (_root.per._y < _root.cem3._y)) {
fx9 = 3;
}
if ((_root.per._x >= _root.cem3._x) && (_root.per._y < _root.cem3._y)) {
fx9 = 4;
}
_local25._x = _root.cem3._x;
_local25._y = _root.cem3._y;
ee = 1;
}
_local25.onEnterFrame = function () {
if (fx9 == 1) {
this._x = this._x - speedxa;
this._y = this._y + speedya;
}
if (fx9 == 2) {
this._x = this._x + speedxa;
this._y = this._y + speedya;
}
if (fx9 == 3) {
this._x = this._x - speedxa;
this._y = this._y - speedya;
}
if (fx9 == 4) {
this._x = this._x + speedxa;
this._y = this._y - speedya;
}
if (this.hitTest(_root.per.hit)) {
ee = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ee = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ee = 0;
removeMovieClip(this);
}
};
}
if ((times < 3500) && (times > 3300)) {
if (((step % 18) == 0) && (ii == 0)) {
var _local3 = _root.attachMovie("com", "cem" + jj, 260 + jj);
jj++;
if (jj > 12) {
jj = 7;
ii = 1;
}
_local3._xscale = -100;
_local3._x = 330;
_local3._y = -10;
_local3.state = 1;
_local3.onEnterFrame = function () {
if (this.state == 1) {
if (this._y < 150) {
this._x = this._x - 2;
this._y = this._y + 3;
} else {
this.state = 0;
}
} else {
this._yscale = -100;
this._x = this._x - 2;
this._y = this._y - 3;
}
if (((this._y >= 330) || (this._y <= -20)) || (this._x <= 40)) {
removeMovieClip(this);
}
};
}
if (hh == 0) {
var _local24 = _root.attachMovie("shotG", "shotj", 10007);
if (Math.abs(_root.per._x - _root.cem8._x) < 50) {
var speedyya = (random(2) + 3);
var speedxxa = (random(4) - 1);
} else if (Math.abs(_root.per._y - _root.cem8._y) < 50) {
var speedyya = (random(4) - 1);
var speedxxa = (random(2) + 3);
} else {
var speedxxa = (random(2) + 3);
var speedyya = (random(3) + 1);
}
var fx10 = 0;
if ((_root.per._x <= _root.cem8._x) && (_root.per._y > _root.cem8._y)) {
fx10 = 1;
}
if ((_root.per._x >= _root.cem8._x) && (_root.per._y > _root.cem8._y)) {
fx10 = 2;
}
if ((_root.per._x <= _root.cem8._x) && (_root.per._y < _root.cem8._y)) {
fx10 = 3;
}
if ((_root.per._x >= _root.cem8._x) && (_root.per._y < _root.cem8._y)) {
fx10 = 4;
}
_local24._x = _root.cem8._x;
_local24._y = _root.cem8._y;
hh = 1;
}
_local24.onEnterFrame = function () {
if (fx10 == 1) {
this._x = this._x - speedxxa;
this._y = this._y + speedyya;
}
if (fx10 == 2) {
this._x = this._x + speedxxa;
this._y = this._y + speedyya;
}
if (fx10 == 3) {
this._x = this._x - speedxxa;
this._y = this._y - speedyya;
}
if (fx10 == 4) {
this._x = this._x + speedxxa;
this._y = this._y - speedyya;
}
if (this.hitTest(_root.per.hit)) {
hh = 0;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
hh = 0;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
hh = 0;
removeMovieClip(this);
}
};
}
if (times < 3900) {
if (nn == 0) {
var _local6 = _root.attachMovie("com2", "comC", 192);
var _local5 = _root.attachMovie("com2", "comD", 193);
nn = 1;
}
_local6._x = 70;
_local6._y = -10;
_local5._x = 330;
_local5._y = -10;
_local6.state = 1;
_local5.state = 1;
_local6.onEnterFrame = function () {
if ((comChp <= 0) && (this.state == 1)) {
this.gotoAndPlay("boom");
this.state = 0;
}
if (this._x < 150) {
this._x = this._x + 0.8;
this._y = this._y + 0.5;
} else {
this._y = this._y + 0.5;
}
if (this._y >= 350) {
removeMovieClip(this);
}
};
_local5.onEnterFrame = function () {
if ((comDhp <= 0) && (this.state == 1)) {
this.gotoAndPlay("boom");
this.state = 0;
}
if (this._x > 250) {
this._x = this._x - 0.8;
this._y = this._y + 0.5;
} else {
this._y = this._y + 0.5;
}
if (this._y >= 350) {
removeMovieClip(this);
}
};
oo--;
if ((((pp <= 0) && (oo <= 0)) && ((step % 4) == 0)) && (comChp > 0)) {
var _local18 = _root.attachMovie("shotH", "shoto" + qq, 40000 + qq);
qq++;
if (qq > 6) {
qq = 1;
pp = 1;
oo = 100;
}
_local18._x = _root.comC._x;
_local18._y = _root.comC._y + 8;
}
var fx10 = 0;
if ((_root.per._x <= _root.comC._x) && (_root.per._y > _root.comC._y)) {
fx10 = 4;
}
if ((_root.per._x >= _root.comC._x) && (_root.per._y > _root.comC._y)) {
fx10 = 2;
}
if ((_root.per._x <= _root.comC._x) && (_root.per._y < _root.comC._y)) {
fx10 = 3;
}
if ((_root.per._x >= _root.comC._x) && (_root.per._y < _root.comC._y)) {
fx10 = 1;
}
if (Math.abs(_root.per._x - _root.comC._x) < 50) {
var speedxyyx = (random(4) - 2);
var speedyxxy = (random(4) + 2);
} else if (Math.abs(_root.per._y - _root.comC._y) < 50) {
var speedxyyx = (random(4) + 2);
var speedyxxy = (random(4) - 2);
} else {
var speedyxxy = (random(4) + 2);
var speedxyyx = (random(4) + 1);
}
_local18.onEnterFrame = function () {
if (fx10 == 1) {
this._x = this._x + speedxyyx;
this._y = this._y - speedyxxy;
}
if (fx10 == 2) {
this._y = this._y + speedyxxy;
this._x = this._x + speedxyyx;
}
if (fx10 == 3) {
this._y = this._y - speedyxxy;
this._x = this._x - speedxyyx;
}
if (fx10 == 4) {
this._y = this._y + speedyxxy;
this._x = this._x - speedxyyx;
}
if (this.hitTest(_root.per.hit)) {
pp--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
pp--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
pp--;
removeMovieClip(this);
}
};
rr--;
if ((((ss <= 0) && (rr <= 0)) && ((step % 4) == 0)) && (comDhp > 0)) {
var _local17 = _root.attachMovie("shotH", "shotp" + tt, 50000 + tt);
tt++;
if (tt > 6) {
tt = 1;
ss = 1;
rr = 100;
}
_local17._x = _root.comD._x;
_local17._y = _root.comD._y + 8;
}
var fx11 = 0;
if ((_root.per._x <= _root.comD._x) && (_root.per._y > _root.comD._y)) {
fx11 = 1;
}
if ((_root.per._x >= _root.comD._x) && (_root.per._y > _root.comD._y)) {
fx11 = 2;
}
if ((_root.per._x <= _root.comD._x) && (_root.per._y < _root.comD._y)) {
fx11 = 3;
}
if ((_root.per._x >= _root.comD._x) && (_root.per._y < _root.comD._y)) {
fx11 = 4;
}
if (Math.abs(_root.per._x - _root.comD._x) < 50) {
var speedxyyy = (random(4) - 2);
var speedyxxx = (random(4) + 2);
} else if (Math.abs(_root.per._y - _root.comD._y) < 50) {
var speedxyyy = (random(4) + 2);
var speedyxxx = (random(4) - 2);
} else {
var speedyxxx = (random(4) + 2);
var speedxyyy = (random(4) + 1);
}
_local17.onEnterFrame = function () {
if (fx11 == 1) {
this._x = this._x - speedxyyy;
this._y = this._y + speedyxxx;
}
if (fx11 == 2) {
this._y = this._y + speedyxxx;
this._x = this._x + speedxyyy;
}
if (fx11 == 3) {
this._y = this._y - speedyxxx;
this._x = this._x - speedxyyy;
}
if (fx11 == 4) {
this._y = this._y + speedyxxx;
this._x = this._x - speedxyyy;
}
if (this.hitTest(_root.per.hit)) {
ss--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ss--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ss--;
removeMovieClip(this);
}
};
kk--;
if (((ll <= 0) && (kk <= 0)) && ((step % 3) == 0)) {
var _local23 = _root.attachMovie("shotG", "shotk" + mm, 13000 + mm);
var _local22 = _root.attachMovie("shotG", "shotl" + mm, 14000 + mm);
var _local21 = _root.attachMovie("shotG", "shotm" + mm, 15000 + mm);
var _local20 = _root.attachMovie("shotG", "shotn" + mm, 16000 + mm);
mm++;
if (mm > 5) {
mm = 1;
ll = 1;
kk = 160;
}
_local23._x = _root.comC._x + 15;
_local23._y = _root.comC._y + 8;
_local22._x = _root.comC._x - 15;
_local22._y = _root.comC._y + 8;
_local21._x = _root.comD._x + 15;
_local21._y = _root.comD._y + 8;
_local20._x = _root.comD._x - 15;
_local20._y = _root.comD._y + 8;
_local23.onEnterFrame = function () {
this._y = this._y + 3;
if (this.hitTest(_root.per.hit)) {
ll--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ll--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ll--;
removeMovieClip(this);
}
};
_local22.onEnterFrame = function () {
this._y = this._y + 3;
if (this.hitTest(_root.per.hit)) {
ll--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ll--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ll--;
removeMovieClip(this);
}
};
_local21.onEnterFrame = function () {
this._y = this._y + 3;
if (this.hitTest(_root.per.hit)) {
ll--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ll--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ll--;
removeMovieClip(this);
}
};
_local20.onEnterFrame = function () {
this._y = this._y + 3;
if (this.hitTest(_root.per.hit)) {
ll--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
ll--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
ll--;
removeMovieClip(this);
}
};
}
}
if ((times < 3602) && (times > 3600)) {
var _local19 = _root.attachMovie("bossD", "bossD", 14);
_local19._x = 200;
_local19._y = 350;
_local19.onEnterFrame = function () {
this._y = this._y - 5;
if (this._y <= -100) {
removeMovieClip(this);
}
};
}
if (times < 3200) {
nextFrame();
delete _root.onEnterFrame;
}
};
stop();
Frame 11
delete _root.onEnterFrame;
_root.attachMovie("WARNING", "WARNING", 39999);
stop();
Frame 12
mice = new Sound();
mice.attachSound("bossmuices");
mice.onSoundComplete = function () {
mice.start(2, 10000);
};
mice.start();
mice.setVolume(100);
var lv1 = _root.attachMovie("boomshotsA", "level", 8);
var lv12 = _root.attachMovie("level2", "level2", 9);
lv1.gotoAndStop(35);
lv12.gotoAndStop(35);
lv1._x = random(240) + 80;
lv1._y = random(300) + 1;
lv12._x = random(240) + 80;
lv12._y = random(300) + 1;
var times = (random(100) + 100);
var a = 0;
var b = 0;
var c = 0;
var m = (random(100) + 100);
var n = 0;
var p = 1;
var kl = (random(100) + 100);
var lk = 0;
var mn = 1;
var r = (random(300) + 100);
var t = 0;
var e = 0;
var v = 0;
var xx = (random(200) + 100);
var aa = 0;
var vv = 1;
var die = 0;
var step = 0;
var ran = 0;
var num = (random(5) + 2);
var comAhp = 5000;
_root.onEnterFrame = function () {
times--;
step++;
if (b == 0) {
var _local7 = _root.attachMovie("boss", "comA", 48);
b = 1;
}
_local7._x = 200;
_local7._y = -30;
_local7.onEnterFrame = function () {
if (this._y < 68) {
this._y++;
}
if ((die == 0) && (comAhp <= 0)) {
stopAllSounds();
this.gotoAndPlay("boom");
die = 1;
}
if ((times <= 0) && (comAhp > 0)) {
if (ran <= 5) {
if (this._y < 128) {
this._y--;
}
if ((this._x > 120) && (a == 0)) {
this._x = this._x - 2;
}
if (this._x <= 120) {
num--;
ran = random(9) + 1;
c = 1;
a = 1;
}
if ((this._x < 280) && (c == 1)) {
this._x = this._x + 2;
}
if (this._x >= 280) {
num--;
ran = random(9) + 1;
c = 0;
a = 0;
}
if (num < 0) {
if ((this._x < 200) && (this._x != 200)) {
this._x++;
}
if ((this._x > 200) && (this._x != 200)) {
this._x--;
}
if (this._x == 200) {
v = 1;
times = random(200) + 100;
num = random(5) + 2;
}
}
}
if (ran > 5) {
if (this._y < 108) {
this._y++;
}
if ((this._x > 120) && (a == 0)) {
this._x = this._x - 2;
}
if (this._x <= 120) {
num--;
ran = random(9) + 1;
c = 1;
a = 1;
}
if ((this._x < 280) && (c == 1)) {
this._x = this._x + 2;
}
if (this._x >= 280) {
num--;
ran = random(9) + 1;
c = 0;
a = 0;
}
if (num <= 0) {
if (this._y > 68) {
this._y--;
}
if ((this._x < 200) && (this._x != 200)) {
this._x++;
}
if ((this._x > 200) && (this._x != 200)) {
this._x--;
}
if (this._x == 200) {
v = 1;
times = random(200) + 100;
num = random(5) + 2;
}
}
}
}
};
xx--;
if ((((xx <= 0) && (aa <= 0)) && ((step % 4) == 0)) && (comAhp > 0)) {
var _local3 = _root.attachMovie("shotG", "shotS" + vv, 21000 + vv);
var _local10 = _root.attachMovie("shotG", "shotT" + vv, 22000 + vv);
vv++;
fi = new Sound();
fi.attachSound("fu");
fi.start();
if (vv > 10) {
vv = 1;
aa = 1;
xx = random(200) + 100;
}
_local3._x = _root.comA._x + 40;
_local3._y = _root.comA._y + 25;
_local10._x = _root.comA._x - 40;
_local10._y = _root.comA._y + 25;
}
var fxB = 0;
if ((_root.per._x <= _root.comA._x) && (_root.per._y > _root.comA._y)) {
fxB = 1;
}
if ((_root.per._x >= _root.comA._x) && (_root.per._y > _root.comA._y)) {
fxB = 2;
}
if ((_root.per._x <= _root.comA._x) && (_root.per._y < _root.comA._y)) {
fxB = 3;
}
if ((_root.per._x >= _root.comA._x) && (_root.per._y < _root.comA._y)) {
fxB = 4;
}
if (Math.abs(_root.per._x - _root.comA._x) < 50) {
var speedyxx = (random(4) + 2);
var speedxyy = (random(4) - 2);
} else if (Math.abs(_root.per._y - _root.comA._y) < 50) {
var speedyxx = (random(4) - 2);
var speedxyy = (random(4) + 2);
} else {
var speedxyy = (random(4) + 2);
var speedyxx = (random(4) + 1);
}
_local3.onEnterFrame = function () {
if (fxB == 1) {
this._x = this._x - speedxyy;
this._y = this._y + speedyxx;
}
if (fxB == 2) {
this._x = this._x + speedxyy;
this._y = this._y + speedyxx;
}
if (fxB == 3) {
this._x = this._x - speedxyy;
this._y = this._y - speedyxx;
}
if (fxB == 4) {
this._x = this._x + speedxyy;
this._y = this._y - speedyxx;
}
if (this.hitTest(_root.per.hit)) {
aa--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
aa--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
aa--;
removeMovieClip(this);
}
};
_local10.onEnterFrame = function () {
if (fxB == 1) {
this._x = this._x - speedxyy;
this._y = this._y + speedyxx;
}
if (fxB == 2) {
this._x = this._x + speedxyy;
this._y = this._y + speedyxx;
}
if (fxB == 3) {
this._x = this._x - speedxyy;
this._y = this._y - speedyxx;
}
if (fxB == 4) {
this._x = this._x + speedxyy;
this._y = this._y - speedyxx;
}
if (this.hitTest(_root.per.hit)) {
aa--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
aa--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
aa--;
removeMovieClip(this);
}
};
m--;
if ((((m <= 0) && (n <= 0)) && ((step % 4) == 0)) && (comAhp > 0)) {
var _local6 = _root.attachMovie("shotH", "shotA" + p, 11000 + p);
var _local5 = _root.attachMovie("shotH", "shotB" + p, 12000 + p);
p++;
fu = new Sound();
fu.attachSound("fu");
fu.start();
if (p > 10) {
p = 1;
n = 1;
m = random(100) + 100;
}
_local6._x = _root.comA._x + 45;
_local6._y = _root.comA._y;
_local5._x = _root.comA._x - 45;
_local5._y = _root.comA._y;
}
var fxA = 0;
if ((_root.per._x <= _root.comA._x) && (_root.per._y > _root.comA._y)) {
fxA = 1;
}
if ((_root.per._x >= _root.comA._x) && (_root.per._y > _root.comA._y)) {
fxA = 2;
}
if ((_root.per._x <= _root.comA._x) && (_root.per._y < _root.comA._y)) {
fxA = 3;
}
if ((_root.per._x >= _root.comA._x) && (_root.per._y < _root.comA._y)) {
fxA = 4;
}
if (Math.abs(_root.per._x - _root.comA._x) < 50) {
var speedyx = (random(4) + 2);
var speedxy = (random(4) - 2);
} else if (Math.abs(_root.per._y - _root.comA._y) < 50) {
var speedyx = (random(4) - 2);
var speedxy = (random(4) + 2);
} else {
var speedxy = (random(4) + 2);
var speedyx = (random(4) + 1);
}
_local6.onEnterFrame = function () {
if (fxA == 1) {
this._x = this._x - speedxy;
this._y = this._y + speedyx;
}
if (fxA == 2) {
this._x = this._x + speedxy;
this._y = this._y + speedyx;
}
if (fxA == 3) {
this._x = this._x - speedxy;
this._y = this._y - speedyx;
}
if (fxA == 4) {
this._x = this._x + speedxy;
this._y = this._y - speedyx;
}
if (this.hitTest(_root.per.hit)) {
n--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
n--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
n--;
removeMovieClip(this);
}
};
_local5.onEnterFrame = function () {
if (fxA == 1) {
this._x = this._x - speedxy;
this._y = this._y + speedyx;
}
if (fxA == 2) {
this._x = this._x + speedxy;
this._y = this._y + speedyx;
}
if (fxA == 3) {
this._x = this._x - speedxy;
this._y = this._y - speedyx;
}
if (fxA == 4) {
this._x = this._x + speedxy;
this._y = this._y - speedyx;
}
if (this.hitTest(_root.per.hit)) {
n--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
n--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
n--;
removeMovieClip(this);
}
};
kl--;
if ((((lk <= 0) && (kl <= 0)) && ((step % 5) == 0)) && (comAhp > 0)) {
var _local9 = _root.attachMovie("shotE", "shotk" + mn, 13000 + mn);
var _local8 = _root.attachMovie("shotE", "shotl" + mn, 14000 + mn);
mn++;
tu = new Sound();
tu.attachSound("tu");
tu.start();
if (mn > 6) {
mn = 1;
lk = 1;
kl = random(100) + 100;
}
_local9._x = _root.comA._x + 14;
_local9._y = _root.comA._y + 25;
_local8._x = _root.comA._x - 14;
_local8._y = _root.comA._y + 25;
_local9.onEnterFrame = function () {
this._y = this._y + 4;
if (this.hitTest(_root.per.hit._x, _root.per.hit._y, true)) {
lk--;
_root.per.gotoAndPlay("boom");
removeMovieClip(this);
}
if (this.hitTest(_root.shotboom)) {
lk--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
lk--;
removeMovieClip(this);
}
};
_local8.onEnterFrame = function () {
this._y = this._y + 4;
if (this.hitTest(_root.per.hit._x, _root.per.hit._y, true)) {
lk--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
lk--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
lk--;
removeMovieClip(this);
}
};
}
r--;
if ((((r <= 0) && (t <= 0)) && ((step % 4) == 0)) && (comAhp > 0)) {
var _local4 = _root.attachMovie("shotF", "shotZ" + e, 15000 + e);
e++;
ti = new Sound();
ti.attachSound("ti");
ti.start();
if (e > 88) {
e = 1;
t = 1;
r = random(300) + 100;
}
_local4._x = _root.comA._x;
_local4._y = _root.comA._y - 10;
}
var speedx = (random(10) - 5);
var speedy = (random(6) - 2);
if ((speedx == 0) && (speedy == 0)) {
speedx = random(10) - 5;
speedy = random(10) - 5;
}
_local4.onEnterFrame = function () {
this._x = this._x + speedx;
this._y = this._y + speedy;
if (this.hitTest(_root.per.hit)) {
t--;
removeMovieClip(this);
_root.per.gotoAndPlay("boom");
}
if (this.hitTest(_root.shotboom)) {
t--;
removeMovieClip(this);
}
if ((((this._x < 80) || (this._x > 320)) || (this._y < 0)) || (this._y > 300)) {
t--;
removeMovieClip(this);
}
};
};
stop();
Frame 13
delete _root.onEnterFrame;
s = new Sound();
s.attachSound("win");
s.onSoundComplete = function () {
stopAllSounds();
mask.removeMovieClip();
map.removeMovieClip();
gotoAndPlay (1);
};
s.start();
_root.onEnterFrame = function () {
delete per.onEnterFrame;
per._y = per._y - 8;
if (per._y <= -20) {
_root.attachMovie("fuzhu2", "shotboom", 55);
per.removeMovieClip();
delete _root.onEnterFrame;
}
};
Symbol 35 MovieClip [com12] Frame 1
stop();
Symbol 35 MovieClip [com12] Frame 2
play();
_root.mask.score = _root.mask.score + 200;
Symbol 35 MovieClip [com12] Frame 22
this.removeMovieClip();
stop();
Symbol 38 MovieClip [com11] Frame 1
stop();
Symbol 38 MovieClip [com11] Frame 2
play();
_root.mask.score = _root.mask.score + 200;
Symbol 38 MovieClip [com11] Frame 22
this.removeMovieClip();
stop();
Symbol 41 MovieClip [com10] Frame 1
stop();
Symbol 41 MovieClip [com10] Frame 2
play();
_root.mask.score = _root.mask.score + 150;
Symbol 41 MovieClip [com10] Frame 22
this.removeMovieClip();
stop();
Symbol 44 MovieClip [com9] Frame 1
stop();
Symbol 44 MovieClip [com9] Frame 2
play();
_root.mask.score = _root.mask.score + 100;
Symbol 44 MovieClip [com9] Frame 22
this.removeMovieClip();
stop();
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 2
play();
Symbol 49 MovieClip Frame 3
gotoAndStop (1);
Symbol 81 MovieClip [com8] Frame 1
stop();
Symbol 81 MovieClip [com8] Frame 2
play();
_root.mask.score = _root.mask.score + 500;
Symbol 81 MovieClip [com8] Frame 41
this.removeMovieClip();
stop();
Symbol 86 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 2
play();
Symbol 86 MovieClip Frame 3
gotoAndStop (1);
Symbol 87 MovieClip [com7] Frame 1
stop();
Symbol 87 MovieClip [com7] Frame 2
play();
_root.mask.score = _root.mask.score + 800;
Symbol 87 MovieClip [com7] Frame 41
this.removeMovieClip();
stop();
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 2
play();
Symbol 92 MovieClip Frame 3
gotoAndStop (1);
Symbol 93 MovieClip [com6] Frame 1
stop();
Symbol 93 MovieClip [com6] Frame 2
play();
_root.mask.score = _root.mask.score + 10000;
Symbol 93 MovieClip [com6] Frame 41
var lv1 = _root.attachMovie("level", "level", 8);
var lv12 = _root.attachMovie("level2", "level2", 9);
lv1.gotoAndStop(35);
lv12.gotoAndStop(35);
lv1._x = random(240) + 80;
lv1._y = random(300) + 1;
lv12._x = random(240) + 80;
lv12._y = random(300) + 1;
_root.nextFrame();
this.removeMovieClip();
stop();
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 2
play();
Symbol 98 MovieClip Frame 3
gotoAndStop (1);
Symbol 99 MovieClip [com5] Frame 1
stop();
Symbol 99 MovieClip [com5] Frame 2
play();
_root.mask.score = _root.mask.score + 400;
Symbol 99 MovieClip [com5] Frame 41
this.removeMovieClip();
stop();
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 2
play();
Symbol 104 MovieClip Frame 3
gotoAndStop (1);
Symbol 105 MovieClip [com4] Frame 1
stop();
Symbol 105 MovieClip [com4] Frame 2
play();
_root.mask.score = _root.mask.score + 300;
Symbol 105 MovieClip [com4] Frame 41
this.removeMovieClip();
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 2
stop();
Symbol 136 MovieClip Frame 3
stop();
Symbol 137 MovieClip [per] Frame 1
var i;
var ps;
var lv;
var step;
var bosh;
i = 1;
lv = 1;
ps = 128;
step = 0;
bosh = 0;
this.onEnterFrame = function () {
step++;
ps--;
if ((ps <= 0) && (ps >= -10)) {
_parent.per._alpha = 100;
this.attachMovie("hit", "hit", 2);
hit._alpha = 0;
ps = -11;
}
if (Key.isDown(65) && (_parent.per._x >= 88)) {
per.gotoAndStop(2);
_parent.per._x = _parent.per._x - 4;
}
if (Key.isDown(68) && (_parent.per._x <= 312)) {
per.gotoAndStop(3);
_parent.per._x = _parent.per._x + 4;
}
if (Key.isDown(87) && (_parent.per._y >= 8)) {
_parent.per._y = _parent.per._y - 3;
}
if (Key.isDown(83) && (_parent.per._y <= 282)) {
_parent.per._y = _parent.per._y + 3;
}
if (((!Key.isDown(65)) && (!Key.isDown(68))) || (Key.isDown(65) && (Key.isDown(68)))) {
per.gotoAndStop(1);
}
if ((Key.isDown(75) && (bosh == 0)) && (_root.mask.bo > 0)) {
_root.attachMovie("shotboom", "shotboom", 1000000);
}
if (Key.isDown(74) && ((step % 3) == 0)) {
if (lv == 1) {
var _local5 = _parent.attachMovie("danA1", "shot" + i, 1000 + i);
}
if (lv == 2) {
var _local5 = _parent.attachMovie("danA2", "shot" + i, 1000 + i);
if ((step % 2) == 0) {
var _local8 = _parent.attachMovie("danB", "shotl" + i, 1100 + i);
var _local7 = _parent.attachMovie("danB", "shotr" + i, 1200 + i);
}
}
if (lv >= 3) {
lv = 3;
if ((step % 2) == 0) {
var _local8 = _parent.attachMovie("danB", "shotl" + i, 1100 + i);
var _local7 = _parent.attachMovie("danB", "shotr" + i, 1300 + i);
var _local4 = _parent.attachMovie("danB", "shotl" + i, 1200 + i);
var _local6 = _parent.attachMovie("danB", "shotr" + i, 1400 + i);
}
var _local5 = _parent.attachMovie("danA3", "shot" + i, 1000 + i);
}
i++;
if (i > 6) {
i = 1;
}
_local5._x = _parent.per._x;
_local5._y = _parent.per._y;
_local5.state = 1;
_local5.onEnterFrame = function () {
if (this.state == 1) {
this._y = this._y - 16;
if (this._y <= -10) {
removeMovieClip(this);
}
if (this.hitTest(_root.cam.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cam.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam1.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cam1.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam2.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cam2.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam3.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cam3.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam4.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cam4.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam5.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cam5.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam6.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cam6.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam7.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cam7.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam8.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cam8.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam9.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cam9.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam10.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cam10.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam11.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cam11.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam12.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cam12.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
if (this.hitTest(_root.cem.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cem.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem1.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cem1.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem2.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cem2.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem3.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cem3.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem4.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cem4.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem5.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cem5.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem6.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cem6.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem7.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cem7.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem8.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cem8.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem9.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cem9.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem10.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cem10.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem11.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cem11.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem12.hit)) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.cem12.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
if (this.hitTest(_root.comA.com)) {
if (_root.comAhp > 0) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.comA.com.play();
_root.comAhp = _root.comAhp - 5;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comB.com)) {
if (_root.comBhp > 0) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.comB.com.play();
_root.comBhp = _root.comBhp - 5;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comC.com)) {
if (_root.comChp > 0) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.comC.com.play();
_root.comChp = _root.comChp - 5;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comD.com)) {
if (_root.comDhp > 0) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.comD.com.play();
_root.comDhp = _root.comDhp - 5;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comE.com)) {
if (_root.comEhp > 0) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.comE.com.play();
_root.comEhp = _root.comEhp - 5;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comF.com)) {
if (_root.comFhp > 0) {
if (_root.frier == 0) {
_parent.attachMovie("frie", "frie", 8887);
}
_parent.frie._x = this._x;
_parent.frie._y = this._y - 8;
_root.comF.com.play();
_root.comFhp = _root.comFhp - 5;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
}
}
};
_local8._x = _parent.per._x - 9;
_local8._y = _parent.per._y;
_local8.state = 1;
_local8.onEnterFrame = function () {
if (this.state == 1) {
this._y = this._y - 16;
if (this._y <= -10) {
removeMovieClip(this);
}
if (this.hitTest(_root.cam.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam1.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam1.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam2.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam2.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam3.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam3.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam4.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam4.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam5.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam5.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam6.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam6.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam7.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam7.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam8.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam8.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam9.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam9.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam10.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam10.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam11.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam11.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam12.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam12.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
if (this.hitTest(_root.cem.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem1.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem1.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem2.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem2.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem3.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem3.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem4.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem4.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem5.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem5.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem6.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem6.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem7.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem7.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem8.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem8.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem9.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem9.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem10.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem10.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem11.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem11.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem12.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem12.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
if (this.hitTest(_root.comA.com)) {
if (_root.comAhp > 0) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.comA.com.play();
_root.comAhp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comB.com)) {
if (_root.comBhp > 0) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.comB.com.play();
_root.comBhp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comC.com)) {
if (_root.comChp > 0) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.comC.com.play();
_root.comChp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comD.com)) {
if (_root.comDhp > 0) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.comD.com.play();
_root.comDhp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comE.com)) {
if (_root.comEhp > 0) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.comE.com.play();
_root.comEhp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comF.com)) {
if (_root.comFhp > 0) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.comF.com.play();
_root.comFhp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
}
}
};
_local4._x = _parent.per._x - 16;
_local4._y = _parent.per._y + 12;
_local4.state = 1;
_local4.onEnterFrame = function () {
if (this.state == 1) {
this._y = this._y - 16;
if (this._y <= -10) {
removeMovieClip(this);
}
if (this.hitTest(_root.cam.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam1.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam1.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam2.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam2.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam3.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam3.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam4.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam4.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam5.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam5.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam6.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam6.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam7.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam7.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam8.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam8.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam9.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam9.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam10.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam10.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam11.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam11.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam12.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cam12.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
if (this.hitTest(_root.cem.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem1.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem1.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem2.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem2.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem3.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem3.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem4.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem4.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem5.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem5.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem6.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem6.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem7.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem7.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem8.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem8.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem9.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem9.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem10.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem10.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem11.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem11.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem12.hit)) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.cem12.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
if (this.hitTest(_root.comA.com)) {
if (_root.comAhp > 0) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.comA.com.play();
_root.comAhp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comB.com)) {
if (_root.comBhp > 0) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.comB.com.play();
_root.comBhp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comC.com)) {
if (_root.comChp > 0) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.comC.com.play();
_root.comChp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comD.com)) {
if (_root.comDhp > 0) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.comD.com.play();
_root.comDhp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comE.com)) {
if (_root.comEhp > 0) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.comE.com.play();
_root.comEhp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comF.com)) {
if (_root.comFhp > 0) {
if (_root.friers == 0) {
_parent.attachMovie("fries", "fries", 8888);
}
_parent.fries._x = this._x;
_parent.fries._y = this._y - 8;
_root.comF.com.play();
_root.comFhp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
}
}
};
_local7._x = _parent.per._x + 9;
_local7._y = _parent.per._y;
_local7.state = 1;
_local7.onEnterFrame = function () {
if (this.state == 1) {
this._y = this._y - 16;
if (this._y <= -10) {
removeMovieClip(this);
}
if (this.hitTest(_root.cam.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam1.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam1.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam2.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam2.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam3.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam3.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam4.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam4.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam5.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam5.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam6.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam6.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam7.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam7.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam8.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam8.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam9.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam9.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam10.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam10.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam11.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam11.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam12.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam12.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
if (this.hitTest(_root.cem.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem1.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem1.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem2.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem2.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem3.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem3.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem4.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem4.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem5.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem5.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem6.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem6.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem7.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem7.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem8.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem8.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem9.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem9.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem10.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem10.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem11.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem11.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem12.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem12.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
if (this.hitTest(_root.comA.com)) {
if (_root.comAhp > 0) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.comA.com.play();
_root.comAhp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comB.com)) {
if (_root.comBhp > 0) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.comB.com.play();
_root.comBhp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comC.com)) {
if (_root.comChp > 0) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.comC.com.play();
_root.comChp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comD.com)) {
if (_root.comDhp > 0) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.comD.com.play();
_root.comDhp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comE.com)) {
if (_root.comEhp > 0) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.comE.com.play();
_root.comEhp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comF.com)) {
if (_root.comFhp > 0) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.comF.com.play();
_root.comFhp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
}
}
};
_local6._x = _parent.per._x + 16;
_local6._y = _parent.per._y + 12;
_local6.state = 1;
_local6.onEnterFrame = function () {
if (this.state == 1) {
this._y = this._y - 16;
if (this._y <= -10) {
removeMovieClip(this);
}
if (this.hitTest(_root.cam.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam1.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam1.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam2.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam2.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam3.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam3.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam4.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam4.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam5.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam5.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam6.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam6.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam7.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam7.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam8.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam8.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam9.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam9.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam10.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam10.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam11.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam11.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cam12.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cam12.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
if (this.hitTest(_root.cem.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem1.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem1.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem2.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem2.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem3.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem3.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem4.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem4.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem5.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem5.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem6.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem6.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem7.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem7.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem8.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem8.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem9.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem9.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem10.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem10.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem11.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem11.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
} else if (this.hitTest(_root.cem12.hit)) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.cem12.gotoAndPlay("boom");
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
if (this.hitTest(_root.comA.com)) {
if (_root.comAhp > 0) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.comA.com.play();
_root.comAhp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comB.com)) {
if (_root.comBhp > 0) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.comB.com.play();
_root.comBhp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comC.com)) {
if (_root.comChp > 0) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.comC.com.play();
_root.comChp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comD.com)) {
if (_root.comDhp > 0) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.comD.com.play();
_root.comDhp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comE.com)) {
if (_root.comEhp > 0) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.comE.com.play();
_root.comEhp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
} else if (this.hitTest(_root.comF.com)) {
if (_root.comFhp > 0) {
if (_root.frierx == 0) {
_parent.attachMovie("friex", "friex", 8889);
}
_parent.friex._x = this._x;
_parent.friex._y = this._y - 8;
_root.comF.com.play();
_root.comFhp--;
_root.mask.score = _root.mask.score + 10;
removeMovieClip(this);
}
}
}
};
}
};
stop();
Instance of Symbol 136 MovieClip "per" in Symbol 137 MovieClip [per] Frame 1
onClipEvent (load) {
var hour = 0;
var hour2 = 0;
var q = 0;
var qw = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(74) && (Key.isDown(75))) {
q++;
if (q > 100) {
_root.mask.life = 99;
_root.mask.bo = 99;
_root.per.lv = 3;
w = new Sound();
w.attachSound("DING");
w.start();
q = 0;
}
} else {
hour--;
if (hour <= 0) {
q = 0;
hour = 28;
}
}
if (Key.isDown(85) && (Key.isDown(73))) {
qw++;
if (qw > 100) {
_root.per.hit.removeMovieClip();
w = new Sound();
w.attachSound("DING");
w.start();
qw = 0;
}
} else {
hour2--;
if (hour2 <= 0) {
qw = 0;
hour2 = 28;
}
}
}
Symbol 137 MovieClip [per] Frame 2
delete this.onEnterFrame;
removeMovieClip(hit);
_root.mask.life--;
play();
Symbol 137 MovieClip [per] Frame 41
if (_root.mask.life > 0) {
play();
} else {
this.removeMovieClip();
stop();
}
Symbol 137 MovieClip [per] Frame 59
delete this.onEnterFrame;
_parent.per._x = 200;
_parent.per._y = 300;
_parent.lv = 1;
_parent.per._alpha = 40;
this.onEnterFrame = function () {
if (_parent.per._y >= 240) {
_parent.per._y = _parent.per._y - 2;
} else {
gotoAndStop (1);
delete this.onEnterFrame;
}
};
stop();
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 2
play();
Symbol 142 MovieClip Frame 3
gotoAndStop (1);
Symbol 143 MovieClip [com3] Frame 1
stop();
Symbol 143 MovieClip [com3] Frame 2
play();
_root.mask.score = _root.mask.score + 300;
Symbol 143 MovieClip [com3] Frame 41
play();
Symbol 143 MovieClip [com3] Frame 80
this.removeMovieClip();
stop();
Symbol 154 MovieClip [frie] Frame 1
_root.frier = 1;
Symbol 154 MovieClip [frie] Frame 11
_root.frier = 0;
this.removeMovieClip();
stop();
Symbol 159 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 2
play();
Symbol 159 MovieClip Frame 3
gotoAndStop (1);
Symbol 180 MovieClip [com2] Frame 1
stop();
Symbol 180 MovieClip [com2] Frame 2
play();
_root.mask.score = _root.mask.score + 250;
Symbol 180 MovieClip [com2] Frame 22
this.removeMovieClip();
stop();
Symbol 183 MovieClip [com] Frame 1
stop();
Symbol 183 MovieClip [com] Frame 2
play();
_root.mask.score = _root.mask.score + 100;
Symbol 183 MovieClip [com] Frame 22
this.removeMovieClip();
stop();
Symbol 188 MovieClip Frame 1
stop();
Symbol 188 MovieClip Frame 2
stop();
Symbol 188 MovieClip Frame 3
stop();
Symbol 189 MovieClip [com1] Frame 1
stop();
Symbol 189 MovieClip [com1] Frame 2
play();
_root.mask.score = _root.mask.score + 50;
Symbol 189 MovieClip [com1] Frame 22
this.removeMovieClip();
stop();
Symbol 198 MovieClip [mask] Frame 1
life = 9;
bo = 9;
score = 0;
Symbol 205 MovieClip [level] Frame 1
play();
Symbol 205 MovieClip [level] Frame 35
stop();
var z;
var ran;
var ren;
z = 0;
ran = random(3) + 1;
this.onEnterFrame = function () {
if (((ran == 1) || (ran == 3)) || (ran == 5)) {
ren = 2;
} else {
ren = -2;
}
if ((_parent.level._x <= 88) && (z != 1)) {
ran = random(3) + 1;
z = 1;
}
if ((_parent.level._y <= 8) && (z != 2)) {
ran = random(3) + 1;
z = 2;
}
if ((_parent.level._x >= 312) && (z != 3)) {
ran = random(3) + 1;
z = 3;
}
if ((_parent.level._y >= 292) && (z != 4)) {
ran = random(3) + 1;
z = 4;
}
if ((z == 1) || (z == 0)) {
_parent.level._x = _parent.level._x + ran;
_parent.level._y = _parent.level._y + ren;
}
if (z == 2) {
_parent.level._x = _parent.level._x + ren;
_parent.level._y = _parent.level._y + ran;
}
if (z == 3) {
_parent.level._x = _parent.level._x - ran;
_parent.level._y = _parent.level._y + ren;
}
if (z == 4) {
_parent.level._x = _parent.level._x + ren;
_parent.level._y = _parent.level._y - ran;
}
if (this.hitTest(_root.per.per)) {
_root.per.lv++;
delete this.onEnterFrame;
if (_root.per.lv <= 3) {
gotoAndPlay ("up");
} else {
gotoAndPlay ("add");
}
}
};
Symbol 205 MovieClip [level] Frame 36
delete this.onEnterFrame;
_parent.level._x = _root.per._x;
_parent.level._y = _root.per._y;
Symbol 205 MovieClip [level] Frame 67
removeMovieClip(_parent.level);
stop();
Symbol 205 MovieClip [level] Frame 68
delete this.onEnterFrame;
_parent.level._x = _root.per._x;
_parent.level._y = _root.per._y;
_root.mask.score = _root.mask.score + 5000;
Symbol 205 MovieClip [level] Frame 94
removeMovieClip(_parent.level);
stop();
Symbol 210 MovieClip [fries] Frame 1
_root.friers = 1;
Symbol 210 MovieClip [fries] Frame 13
_root.friers = 0;
this.removeMovieClip();
stop();
Symbol 211 MovieClip [level2] Frame 1
play();
Symbol 211 MovieClip [level2] Frame 35
stop();
var z;
var ran;
var ren;
z = 0;
ran = random(3) + 1;
this.onEnterFrame = function () {
if (((ran == 1) || (ran == 3)) || (ran == 5)) {
ren = 2;
} else {
ren = -2;
}
if ((_parent.level2._x <= 88) && (z != 1)) {
ran = random(3) + 1;
z = 1;
}
if ((_parent.level2._y <= 8) && (z != 2)) {
ran = random(3) + 1;
z = 2;
}
if ((_parent.level2._x >= 312) && (z != 3)) {
ran = random(3) + 1;
z = 3;
}
if ((_parent.level2._y >= 292) && (z != 4)) {
ran = random(3) + 1;
z = 4;
}
if ((z == 1) || (z == 0)) {
_parent.level2._x = _parent.level2._x + ran;
_parent.level2._y = _parent.level2._y + ren;
}
if (z == 2) {
_parent.level2._x = _parent.level2._x + ren;
_parent.level2._y = _parent.level2._y + ran;
}
if (z == 3) {
_parent.level2._x = _parent.level2._x - ran;
_parent.level2._y = _parent.level2._y + ren;
}
if (z == 4) {
_parent.level2._x = _parent.level2._x + ren;
_parent.level2._y = _parent.level2._y - ran;
}
if (this.hitTest(_root.per.per)) {
_root.per.lv++;
delete this.onEnterFrame;
if (_root.per.lv <= 3) {
gotoAndPlay ("up");
} else {
gotoAndPlay ("add");
}
}
};
Symbol 211 MovieClip [level2] Frame 36
delete this.onEnterFrame;
_parent.level2._x = _root.per._x;
_parent.level2._y = _root.per._y;
Symbol 211 MovieClip [level2] Frame 67
removeMovieClip(_parent.level2);
stop();
Symbol 211 MovieClip [level2] Frame 68
delete this.onEnterFrame;
_parent.level2._x = _root.per._x;
_parent.level2._y = _root.per._y;
_root.mask.score = _root.mask.score + 5000;
Symbol 211 MovieClip [level2] Frame 94
removeMovieClip(_parent.level2);
stop();
Symbol 212 MovieClip [friex] Frame 1
_root.frierx = 1;
Symbol 212 MovieClip [friex] Frame 13
_root.frierx = 0;
this.removeMovieClip();
stop();
Symbol 221 MovieClip Frame 1
play();
Symbol 224 MovieClip Frame 1
stop();
Symbol 224 MovieClip Frame 2
play();
Symbol 224 MovieClip Frame 3
gotoAndStop (1);
Symbol 233 MovieClip [boss] Frame 1
stop();
Symbol 233 MovieClip [boss] Frame 2
play();
Symbol 233 MovieClip [boss] Frame 12
play();
Symbol 233 MovieClip [boss] Frame 22
play();
Symbol 233 MovieClip [boss] Frame 35
play();
Symbol 233 MovieClip [boss] Frame 51
play();
Symbol 233 MovieClip [boss] Frame 58
play();
Symbol 233 MovieClip [boss] Frame 65
play();
Symbol 233 MovieClip [boss] Frame 75
play();
Symbol 233 MovieClip [boss] Frame 114
_root.nextFrame();
this.removeMovieClip();
stop();
Symbol 252 MovieClip Frame 1
play();
Symbol 252 MovieClip Frame 22
this.removeMovieClip();
stop();
Symbol 253 MovieClip [shotboom] Frame 1
_root.per.bosh = 1;
_root.mask.bo--;
play();
Symbol 253 MovieClip [shotboom] Frame 69
_root.per.bosh = 0;
this.removeMovieClip();
Symbol 268 MovieClip [messione] Frame 1
play();
Symbol 268 MovieClip [messione] Frame 100
_root.gotoAndStop("one");
this.removeMovieClip();
stop();
Symbol 275 MovieClip [WARNING] Frame 193
stopAllSounds();
Symbol 275 MovieClip [WARNING] Frame 195
_root.gotoAndStop("bossway");
this.removeMovieClip();
stop();
Symbol 277 MovieClip [boomshotsA] Frame 1
play();
Symbol 277 MovieClip [boomshotsA] Frame 35
stop();
var z;
var ran;
var ren;
z = 0;
ran = random(3) + 1;
this.onEnterFrame = function () {
if (((ran == 1) || (ran == 3)) || (ran == 5)) {
ren = 2;
} else {
ren = -2;
}
if ((_parent.level._x <= 88) && (z != 1)) {
ran = random(3) + 1;
z = 1;
}
if ((_parent.level._y <= 8) && (z != 2)) {
ran = random(3) + 1;
z = 2;
}
if ((_parent.level._x >= 312) && (z != 3)) {
ran = random(3) + 1;
z = 3;
}
if ((_parent.level._y >= 292) && (z != 4)) {
ran = random(3) + 1;
z = 4;
}
if ((z == 1) || (z == 0)) {
_parent.level._x = _parent.level._x + ran;
_parent.level._y = _parent.level._y + ren;
}
if (z == 2) {
_parent.level._x = _parent.level._x + ren;
_parent.level._y = _parent.level._y + ran;
}
if (z == 3) {
_parent.level._x = _parent.level._x - ran;
_parent.level._y = _parent.level._y + ren;
}
if (z == 4) {
_parent.level._x = _parent.level._x + ren;
_parent.level._y = _parent.level._y - ran;
}
if (this.hitTest(_root.per.per)) {
delete this.onEnterFrame;
gotoAndPlay ("up");
}
};
Symbol 277 MovieClip [boomshotsA] Frame 36
delete this.onEnterFrame;
_parent.level._x = _root.per._x;
_parent.level._y = _root.per._y;
_root.mask.bo++;
Symbol 277 MovieClip [boomshotsA] Frame 67
this.removeMovieClip();
stop();
Symbol 279 MovieClip [fuzhu2] Frame 1
play();
Symbol 279 MovieClip [fuzhu2] Frame 10
this.removeMovieClip();
Symbol 297 MovieClip Frame 1
this.onEnterFrame = function () {
if (Key.isDown(74) || (Key.isDown(75))) {
s = new Sound();
s.attachSound("DING");
s.start();
_root.nextFrame();
delete this.onEnterFrame;
}
};