Frame 1
stop();
_root.FFF = false;
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (load) {
var color = 16777215;
var alpha = 100;
var blurX = 4;
var blurY = 4;
var strength = 10;
var quality = 3;
var inner = false;
var knockout = false;
var filter = (new flash.filters.GlowFilter(color, alpha, blurX, blurY, strength, quality, inner, knockout));
var filterArray = new Array();
filterArray.push(filter);
}
onClipEvent (enterFrame) {
PercentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
gotoAndPlay(PercentLoaded);
}
Frame 2
titlescreen = true;
Frame 205
titlescreen = false;
Instance of Symbol 17 MovieClip in Frame 205
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy.R1._x, _root.guy.R1._y, true)) {
_root.guy.health = _root.guy.health - 0.3;
_root.EXP = _root.EXP - 3;
}
if (this.hitTest(_root.guy.R2._x, _root.guy.R2._y, true)) {
_root.guy.health = _root.guy.health - 0.3;
_root.EXP = _root.EXP - 3;
}
if (this.hitTest(_root.guy.R3._x, _root.guy.R3._y, true)) {
_root.guy.health = _root.guy.health - 0.3;
_root.EXP = _root.EXP - 3;
}
if (this.hitTest(_root.guy.R4._x, _root.guy.R4._y, true)) {
_root.guy.health = _root.guy.health - 0.3;
_root.EXP = _root.EXP - 3;
}
if (this.hitTest(_root.guy.R5._x, _root.guy.R5._y, true)) {
_root.guy.health = _root.guy.health - 0.3;
_root.EXP = _root.EXP - 3;
}
if (this.hitTest(_root.guy.R6._x, _root.guy.R6._y, true)) {
_root.guy.health = _root.guy.health - 0.3;
_root.EXP = _root.EXP - 3;
}
if (this.hitTest(_root.guy.R7._x, _root.guy.R7._y, true)) {
_root.guy.health = _root.guy.health - 0.3;
_root.EXP = _root.EXP - 3;
}
}
Frame 218
stop();
Frame 219
_root.enemycount = 0;
var color = _root.colour;
var alpha = 100;
var blurX = 9;
var blurY = 9;
var strength = 10;
var quality = 1;
var inner = false;
var knockout = false;
var filter = (new flash.filters.GlowFilter(color, alpha, blurX, blurY, strength, quality, inner, knockout));
var filterArray = new Array();
filterArray.push(filter);
var distance = 10;
var angleInDegrees = 45;
var highlightColor = 16777215;
var highlightAlpha = 1;
var shadowColor = 0;
var shadowAlpha = 1;
var blurX = 0;
var blurY = 0;
var strength = 0.3;
var quality = 1;
var type = "inner";
var knockout = false;
var bevel = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var bevelArray = new Array();
bevelArray.push(bevel);
var tint = (new flash.filters.GlowFilter(_root.icolour, 100, 40, 40, 10, 1, true, false));
var filterArray = new Array();
filterArray.push(tint);
var stripe = (new flash.filters.GlowFilter(_root.scolour, 100, 5, 5, 10, 3, true, false));
var filterArray = new Array();
filterArray.push(stripe);
_root.guy.filters = [tint, stripe, bevel, filter];
Instance of Symbol 152 MovieClip in Frame 219
onClipEvent (load) {
if (_root.FFF) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.gotoAndStop(["stage" + _root.stage]);
}
}
Frame 220
gotoAndPlay ("SNAAAKE");
Frame 221
_root.FFF = true;
_root.stage = 1;
if (Key.isDown(65)) {
gotoAndStop ("stage27");
}
Instance of Symbol 161 MovieClip "b" in Frame 221
onClipEvent (load) {
speed = 30;
xSpeed = speed * Math.sin(_rotation * (Math.PI/180));
ySpeed = speed * Math.cos(_rotation * (Math.PI/180));
hit = false;
if (_name == "b") {
_visible = false;
}
if (_root.guy.LEVEL <= 5) {
XandY = 14;
Q = 3;
} else {
XandY = 5;
Q = 1;
}
if (_root.guy.LEVEL <= 7) {
S = _root.guy.LEVEL * 2;
} else {
S = 10;
}
var filter = (new flash.filters.GlowFilter(16777215, 1, XandY, XandY, S, Q, false, false));
var filterArray = new Array();
this.filterArray.push(filter);
if (_root.guy.LEVEL >= 2) {
this.filters = [filter];
}
pain = _root.guy.LEVEL * 7;
if (_root.guy.LEVEL >= 4) {
_xscale = 150;
_yscale = 150;
}
}
onClipEvent (enterFrame) {
if (!hit) {
if (_root.line.hitTest(_x, _y, true)) {
_root.part1.health = _root.part1.health - pain;
hit = true;
}
_x = (_x + xSpeed);
_y = (_y - ySpeed);
if (_root.walls.hitTest(_x, _y, true)) {
hit = true;
}
if (_root.fence.hitTest(_x, _y, true)) {
hit = true;
}
}
}
Instance of Symbol 162 MovieClip "guy" in Frame 221
onClipEvent (load) {
health = 100;
dead = false;
this.filters = [_root.tint, _root.stripe, _root.bevel, _root.filter];
}
onClipEvent (enterFrame) {
if (_root.enemycount <= 0) {
_root.play();
}
if (_root.enemycount == 99) {
_root.gotoAndPlay("beginagen");
}
while (_root.fence.hitTest(R1._x, R1._y - 20, true)) {
R1._y++;
}
while (_root.fence.hitTest(R1._x, R1._y + 20, true)) {
R1._y--;
}
while (_root.fence.hitTest(R1._x + 20, R1._y, true)) {
R1._x--;
}
while (_root.fence.hitTest(R1._x - 20, R1._y, true)) {
R1._x++;
}
if (_root.enemycount == 0) {
_root.play();
}
if (LEVEL >= 10) {
LEVEL = 10;
_root.EXP = 49;
}
if (LEVEL <= 0) {
_root.EXP = 1;
LEVEL = 1;
}
if (_root.EXP >= 50) {
_root.walls.HUD.FLASH._alpha = 150;
_root.LEVELUP.gotoAndPlay(2);
_root.LEVELUP._x = R1._x;
_root.LEVELUP._y = R1._y - 70;
_root.EXP = 1;
LEVEL++;
}
if (_root.EXP <= 0) {
_root.EXP = 49;
LEVEL--;
}
if (!dead) {
if (health <= 0) {
dead = true;
}
if (health <= 100) {
if (!_root.walls.hitTest(this.R1._x, this.R1._y, true)) {
health = health + 0.1;
}
}
if (health <= 0) {
_root.gotoAndPlay("beginagen");
}
}
}
Instance of Symbol 178 MovieClip "walls" in Frame 221
onClipEvent (enterFrame) {
if (Key.isDown(13)) {
_root.gotoAndPlay("beginagen");
}
}
Instance of Symbol 182 MovieClip "e" in Frame 221
onClipEvent (load) {
speed = 20;
xSpeed = speed * Math.sin(_rotation * (Math.PI/180));
ySpeed = speed * Math.cos(_rotation * (Math.PI/180));
hit = false;
if (_name == "e") {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (!hit) {
_x = (_x + xSpeed);
_y = (_y - ySpeed);
if (_root.guy.hitTest(_x, _y, true)) {
_root.guy.health = _root.guy.health - 5;
hit = true;
_root.EXP = _root.EXP - 1;
}
if (_root.walls.hitTest(_x, _y, true)) {
hit = true;
}
if (_root.fence.hitTest(_x, _y, true)) {
hit = true;
}
}
}
Instance of Symbol 225 MovieClip "m" in Frame 221
onClipEvent (load) {
speed = 10;
hit = false;
if (_name == "m") {
_visible = false;
speed = 0;
}
}
onClipEvent (enterFrame) {
if (!hit) {
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
R = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
if (_rotation <= R) {
_rotation = (_rotation + 3);
} else {
_rotation = (_rotation - 3);
}
xSpeed = speed * Math.sin(_rotation * (Math.PI/180));
ySpeed = speed * Math.cos(_rotation * (Math.PI/180));
_x = (_x + xSpeed);
_y = (_y - ySpeed);
if (_root.guy.hitTest(_x, _y, true)) {
_root.guy.health = _root.guy.health - 20;
hit = true;
_root.EXP = _root.EXP - 5;
}
if (_root.walls.hitTest(_x, _y, true)) {
hit = true;
}
if (_root.fence.hitTest(_x, _y, true)) {
hit = true;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
hit = true;
b.hit = true;
}
}
}
}
Instance of Symbol 257 MovieClip "copter" in Frame 221
onClipEvent (load) {
dead = false;
hit = false;
health = 100;
aiming = true;
o = n + 10;
RAND = 250 + (Math.random() * 100);
if (_name != "copter") {
ready = true;
} else {
ready = false;
}
}
onClipEvent (enterFrame) {
if (titlescreen == true) {
dead = true;
}
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
xDist = _x - _root.guy.R1._x;
yDist = _y - _root.guy.R1._y;
angle = Math.atan2(yDist, xDist);
if (ready) {
XP = _x - (_root.guy.R1._x + (Math.cos(angle) * RAND));
YP = _y - (_root.guy.R1._y + (Math.sin(angle) * RAND));
_x = (_x - (XP / 5));
_y = (_y - (YP / 5));
} else {
_visible = false;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
Frame 222
_root.enemycount = 0;
_root.EXP = 1;
_root.guy.LEVEL = 1;
_root.guy.health = 1;
if (PLAYEDITALLBEFORE == true) {
gotoAndStop ("stage1");
}
Frame 223
PLAYEDITALLBEFORE = true;
Frame 663
stop();
Instance of Symbol 278 MovieClip in Frame 663
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 663
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 663
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 663
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Frame 664
_root.stage++;
Frame 665
stop();
Instance of Symbol 292 MovieClip in Frame 665
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 10;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Frame 666
_root.stage++;
Frame 667
stop();
Instance of Symbol 278 MovieClip in Frame 667
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 667
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 667
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 292 MovieClip "1" in Frame 667
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 30;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Frame 668
_root.stage++;
Frame 669
stop();
Instance of Symbol 292 MovieClip "3" in Frame 669
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 30;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Instance of Symbol 292 MovieClip "2" in Frame 669
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 20;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Frame 670
_root.stage++;
Frame 671
stop();
Instance of Symbol 292 MovieClip "4" in Frame 671
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 10;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Instance of Symbol 278 MovieClip in Frame 671
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 671
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 671
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 671
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 671
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 671
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 671
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 671
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Frame 672
_root.stage++;
Frame 673
stop();
Instance of Symbol 292 MovieClip "5" in Frame 673
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 20;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Instance of Symbol 292 MovieClip "6" in Frame 673
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 30;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Instance of Symbol 278 MovieClip in Frame 673
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 673
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 673
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 673
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 673
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 292 MovieClip "7" in Frame 673
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 40;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Frame 674
_root.stage++;
Frame 675
stop();
Instance of Symbol 368 MovieClip "8" in Frame 675
onClipEvent (load) {
dead = false;
hit = false;
health = 100;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Instance of Symbol 278 MovieClip in Frame 675
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 675
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 675
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 675
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 675
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 675
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 292 MovieClip in Frame 675
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 20;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Frame 676
_root.stage++;
Frame 677
stop();
Instance of Symbol 368 MovieClip in Frame 677
onClipEvent (load) {
dead = false;
hit = false;
health = 100;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Instance of Symbol 292 MovieClip in Frame 677
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 40;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Instance of Symbol 292 MovieClip in Frame 677
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 50;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Frame 678
_root.stage++;
Frame 679
stop();
Instance of Symbol 368 MovieClip in Frame 679
onClipEvent (load) {
dead = false;
hit = false;
health = 100;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Instance of Symbol 368 MovieClip in Frame 679
onClipEvent (load) {
dead = false;
hit = false;
health = 100;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Instance of Symbol 292 MovieClip in Frame 679
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 30;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Frame 680
_root.stage++;
Frame 681
stop();
Instance of Symbol 387 MovieClip in Frame 681
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
aiming = true;
n = 40;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 368 MovieClip in Frame 681
onClipEvent (load) {
dead = false;
hit = false;
health = 100;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Instance of Symbol 368 MovieClip in Frame 681
onClipEvent (load) {
dead = false;
hit = false;
health = 100;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Frame 682
_root.stage++;
Frame 683
stop();
Instance of Symbol 387 MovieClip in Frame 683
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
aiming = true;
n = 40;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 387 MovieClip in Frame 683
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
aiming = true;
n = 50;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 368 MovieClip in Frame 683
onClipEvent (load) {
dead = false;
hit = false;
health = 100;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Frame 684
_root.stage++;
Frame 685
stop();
Instance of Symbol 368 MovieClip in Frame 685
onClipEvent (load) {
dead = false;
hit = false;
health = 100;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Instance of Symbol 387 MovieClip in Frame 685
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
aiming = true;
n = 40;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 387 MovieClip in Frame 685
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
aiming = true;
n = 50;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Frame 686
_root.stage++;
Frame 687
stop();
Instance of Symbol 422 MovieClip in Frame 687
onClipEvent (load) {
dead = false;
hit = false;
health = 300;
_root.enemycount++;
special = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 422 MovieClip in Frame 687
onClipEvent (load) {
dead = false;
hit = false;
health = 300;
_root.enemycount++;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Frame 688
_root.stage++;
Frame 689
stop();
Instance of Symbol 368 MovieClip in Frame 689
onClipEvent (load) {
dead = false;
hit = false;
health = 100;
_root.enemycount++;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 368 MovieClip in Frame 689
onClipEvent (load) {
dead = false;
hit = false;
health = 100;
_root.enemycount++;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 368 MovieClip in Frame 689
onClipEvent (load) {
dead = false;
hit = false;
health = 100;
_root.enemycount++;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 368 MovieClip in Frame 689
onClipEvent (load) {
dead = false;
hit = false;
health = 100;
_root.enemycount++;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 292 MovieClip in Frame 689
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 20;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Instance of Symbol 292 MovieClip in Frame 689
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 30;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Instance of Symbol 368 MovieClip in Frame 689
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Frame 690
_root.stage++;
Frame 691
stop();
Instance of Symbol 422 MovieClip in Frame 691
onClipEvent (load) {
dead = false;
hit = false;
health = 300;
_root.enemycount++;
special = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 422 MovieClip in Frame 691
onClipEvent (load) {
dead = false;
hit = false;
health = 300;
_root.enemycount++;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 422 MovieClip in Frame 691
onClipEvent (load) {
dead = false;
hit = false;
health = 300;
_root.enemycount++;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 422 MovieClip in Frame 691
onClipEvent (load) {
dead = false;
hit = false;
health = 300;
_root.enemycount++;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 387 MovieClip in Frame 691
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
aiming = true;
n = 40;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 292 MovieClip in Frame 691
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 30;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Instance of Symbol 292 MovieClip in Frame 691
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 20;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Frame 692
_root.stage++;
Frame 693
stop();
Instance of Symbol 368 MovieClip in Frame 693
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Instance of Symbol 368 MovieClip in Frame 693
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Instance of Symbol 387 MovieClip in Frame 693
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
aiming = true;
n = 40;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 387 MovieClip in Frame 693
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
aiming = true;
n = 50;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 292 MovieClip in Frame 693
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 20;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Instance of Symbol 292 MovieClip in Frame 693
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 30;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Frame 694
_root.stage++;
Frame 695
stop();
Instance of Symbol 451 MovieClip in Frame 695
onClipEvent (load) {
dead = false;
hit = false;
health = 300;
_root.enemycount++;
n = 30;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
Instance of Symbol 368 MovieClip in Frame 695
onClipEvent (load) {
dead = false;
hit = false;
health = 100;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Instance of Symbol 368 MovieClip in Frame 695
onClipEvent (load) {
dead = false;
hit = false;
health = 100;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Frame 696
_root.stage++;
Frame 697
stop();
Instance of Symbol 368 MovieClip in Frame 697
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Instance of Symbol 387 MovieClip in Frame 697
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
aiming = true;
n = 40;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 292 MovieClip in Frame 697
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 30;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Instance of Symbol 292 MovieClip in Frame 697
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 40;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Instance of Symbol 292 MovieClip in Frame 697
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 50;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Instance of Symbol 292 MovieClip in Frame 697
onClipEvent (load) {
dead = false;
hit = false;
health = 40;
_root.enemycount++;
aiming = true;
n = 60;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Frame 698
_root.stage++;
Frame 699
stop();
Instance of Symbol 422 MovieClip in Frame 699
onClipEvent (load) {
dead = false;
hit = false;
health = 300;
_root.enemycount++;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 422 MovieClip in Frame 699
onClipEvent (load) {
dead = false;
hit = false;
health = 300;
_root.enemycount++;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 451 MovieClip in Frame 699
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
n = 40;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
Instance of Symbol 451 MovieClip in Frame 699
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
n = 30;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
Instance of Symbol 292 MovieClip in Frame 699
onClipEvent (load) {
dead = false;
hit = false;
health = 20;
_root.enemycount++;
aiming = true;
n = 20;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Instance of Symbol 292 MovieClip in Frame 699
onClipEvent (load) {
dead = false;
hit = false;
health = 50;
_root.enemycount++;
aiming = true;
n = 20;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
if (aiming) {
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
}
Frame 700
_root.stage++;
Frame 701
stop();
Instance of Symbol 368 MovieClip in Frame 701
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Instance of Symbol 368 MovieClip in Frame 701
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Instance of Symbol 451 MovieClip in Frame 701
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
n = 30;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
Instance of Symbol 387 MovieClip in Frame 701
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
aiming = true;
n = 50;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 387 MovieClip in Frame 701
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
aiming = true;
n = 40;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Frame 702
_root.stage++;
Frame 703
stop();
Instance of Symbol 499 MovieClip in Frame 703
onClipEvent (load) {
_root.enemycount++;
n = 10;
health = 400;
dead = false;
ALPHA = 0;
}
onClipEvent (enterFrame) {
var filter = (new flash.filters.GlowFilter(16711680, ALPHA, 20, 20, 3, 1, false, false));
var filterArray = new Array();
filterArray.push(filter);
this.filters = [filter];
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
b.hit = true;
ALPHA = 100;
}
}
ALPHA = ALPHA - (ALPHA / 2);
if (!dead) {
if (health <= 0) {
gotoAndPlay ("dead");
health = 0;
dead = true;
}
}
}
Instance of Symbol 451 MovieClip in Frame 703
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
n = 40;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
Frame 704
_root.stage++;
Frame 705
stop();
Instance of Symbol 278 MovieClip in Frame 705
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 705
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 705
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 705
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 705
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 278 MovieClip in Frame 705
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
_root.enemycount++;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 451 MovieClip in Frame 705
onClipEvent (load) {
dead = false;
hit = false;
health = 300;
_root.enemycount++;
n = 30;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
Instance of Symbol 451 MovieClip in Frame 705
onClipEvent (load) {
dead = false;
hit = false;
health = 300;
_root.enemycount++;
n = 20;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
Frame 706
_root.stage++;
Frame 707
stop();
Instance of Symbol 368 MovieClip in Frame 707
onClipEvent (load) {
dead = false;
hit = false;
health = 100;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Instance of Symbol 368 MovieClip in Frame 707
onClipEvent (load) {
dead = false;
hit = false;
health = 100;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Instance of Symbol 368 MovieClip in Frame 707
onClipEvent (load) {
dead = false;
hit = false;
health = 100;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Instance of Symbol 368 MovieClip in Frame 707
onClipEvent (load) {
dead = false;
hit = false;
health = 100;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Instance of Symbol 387 MovieClip in Frame 707
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
aiming = true;
n = 40;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Frame 708
_root.stage++;
Frame 709
stop();
Instance of Symbol 499 MovieClip in Frame 709
onClipEvent (load) {
_root.enemycount++;
n = 10;
health = 400;
dead = false;
ALPHA = 0;
}
onClipEvent (enterFrame) {
var filter = (new flash.filters.GlowFilter(16711680, ALPHA, 20, 20, 3, 1, false, false));
var filterArray = new Array();
filterArray.push(filter);
this.filters = [filter];
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
b.hit = true;
ALPHA = 100;
}
}
ALPHA = ALPHA - (ALPHA / 2);
if (!dead) {
if (health <= 0) {
gotoAndPlay ("dead");
health = 0;
dead = true;
}
}
}
Instance of Symbol 422 MovieClip in Frame 709
onClipEvent (load) {
dead = false;
hit = false;
health = 300;
_root.enemycount++;
special = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 422 MovieClip in Frame 709
onClipEvent (load) {
dead = false;
hit = false;
health = 300;
_root.enemycount++;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 422 MovieClip in Frame 709
onClipEvent (load) {
dead = false;
hit = false;
health = 300;
_root.enemycount++;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Instance of Symbol 422 MovieClip in Frame 709
onClipEvent (load) {
dead = false;
hit = false;
health = 300;
_root.enemycount++;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Frame 710
_root.stage++;
Frame 711
stop();
Instance of Symbol 368 MovieClip in Frame 711
onClipEvent (load) {
dead = false;
hit = false;
health = 100;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Instance of Symbol 368 MovieClip in Frame 711
onClipEvent (load) {
dead = false;
hit = false;
health = 100;
_root.enemycount++;
aiming = true;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.body.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
}
Instance of Symbol 451 MovieClip in Frame 711
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
n = 40;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
Instance of Symbol 451 MovieClip in Frame 711
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
n = 30;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
Frame 712
_root.stage++;
Frame 713
stop();
_root.space = 30;
_root.createEmptyMovieClip("line", -1);
_root.line.onEnterFrame = function () {
if (_root.part1.getDepth() <= this.getDepth()) {
this.swapDepths(_root.part1);
}
this.clear();
this.lineStyle(30, 16711680, 100);
this.moveTo(_root.part1._x, _root.part1._y);
for (piece in _root) {
if ((piece.indexOf("part") != -1) && (piece != "part1")) {
this.lineTo(_root[piece]._x, _root[piece]._y);
}
}
};
_root.line.filters = [filter, bevel];
Instance of Symbol 510 MovieClip "part11" in Frame 713
onClipEvent (load) {
dead = false;
}
onClipEvent (enterFrame) {
if (_root.part1.health <= 2999) {
dead = true;
_name = "DAVE";
}
if (!dead) {
_x = (_root.part10._x + (Math.cos(_root.part10.angle) * _root.space));
_y = (_root.part10._y + (Math.sin(_root.part10.angle) * _root.space));
delta_x = _x - _root.part10._x;
delta_y = _y - _root.part10._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
}
}
onClipEvent (enterFrame) {
var hypotenuse = 170;
xDist = _root.part12._x - _x;
yDist = _root.part12._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 510 MovieClip "part10" in Frame 713
onClipEvent (load) {
dead = false;
}
onClipEvent (enterFrame) {
if (_root.part1.health <= 2700) {
dead = true;
_name = "DAVE";
}
if (!dead) {
_x = (_root.part9._x + (Math.cos(_root.part9.angle) * _root.space));
_y = (_root.part9._y + (Math.sin(_root.part9.angle) * _root.space));
delta_x = _x - _root.part9._x;
delta_y = _y - _root.part9._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
}
}
onClipEvent (enterFrame) {
var hypotenuse = 170;
xDist = _root.part11._x - _x;
yDist = _root.part11._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 510 MovieClip "part9" in Frame 713
onClipEvent (load) {
dead = false;
}
onClipEvent (enterFrame) {
if (_root.part1.health <= 2400) {
dead = true;
_name = "DAVE";
}
if (!dead) {
_x = (_root.part8._x + (Math.cos(_root.part8.angle) * _root.space));
_y = (_root.part8._y + (Math.sin(_root.part8.angle) * _root.space));
delta_x = _x - _root.part8._x;
delta_y = _y - _root.part8._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
}
}
onClipEvent (enterFrame) {
var hypotenuse = 170;
xDist = _root.part10._x - _x;
yDist = _root.part10._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 510 MovieClip "part8" in Frame 713
onClipEvent (load) {
dead = false;
}
onClipEvent (enterFrame) {
if (_root.part1.health <= 2100) {
dead = true;
_name = "DAVE";
}
if (!dead) {
_x = (_root.part7._x + (Math.cos(_root.part7.angle) * _root.space));
_y = (_root.part7._y + (Math.sin(_root.part7.angle) * _root.space));
delta_x = _x - _root.part7._x;
delta_y = _y - _root.part7._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
}
}
onClipEvent (enterFrame) {
var hypotenuse = 170;
xDist = _root.part9._x - _x;
yDist = _root.part9._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 510 MovieClip "part7" in Frame 713
onClipEvent (load) {
dead = false;
}
onClipEvent (enterFrame) {
if (_root.part1.health <= 1800) {
dead = true;
_name = "DAVE";
}
if (!dead) {
_x = (_root.part6._x + (Math.cos(_root.part6.angle) * _root.space));
_y = (_root.part6._y + (Math.sin(_root.part6.angle) * _root.space));
delta_x = _x - _root.part6._x;
delta_y = _y - _root.part6._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
}
}
onClipEvent (enterFrame) {
var hypotenuse = 180;
xDist = _root.part8._x - _x;
yDist = _root.part8._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 510 MovieClip "part6" in Frame 713
onClipEvent (load) {
dead = false;
}
onClipEvent (enterFrame) {
if (_root.part1.health <= 1500) {
dead = true;
_name = "DAVE";
}
if (!dead) {
_x = (_root.part5._x + (Math.cos(_root.part5.angle) * _root.space));
_y = (_root.part5._y + (Math.sin(_root.part5.angle) * _root.space));
delta_x = _x - _root.part5._x;
delta_y = _y - _root.part5._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
}
}
onClipEvent (enterFrame) {
var hypotenuse = 170;
xDist = _root.part7._x - _x;
yDist = _root.part7._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 510 MovieClip "part5" in Frame 713
onClipEvent (load) {
dead = false;
}
onClipEvent (enterFrame) {
if (_root.part1.health <= 1200) {
dead = true;
_name = "DAVE";
}
if (!dead) {
_x = (_root.part4._x + (Math.cos(_root.part4.angle) * _root.space));
_y = (_root.part4._y + (Math.sin(_root.part4.angle) * _root.space));
delta_x = _x - _root.part4._x;
delta_y = _y - _root.part4._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
}
}
onClipEvent (enterFrame) {
var hypotenuse = 170;
xDist = _root.part6._x - _x;
yDist = _root.part6._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 510 MovieClip "part4" in Frame 713
onClipEvent (load) {
dead = false;
}
onClipEvent (enterFrame) {
if (_root.part1.health <= 900) {
dead = true;
_name = "DAVE";
}
if (!dead) {
_x = (_root.part3._x + (Math.cos(_root.part3.angle) * _root.space));
_y = (_root.part3._y + (Math.sin(_root.part3.angle) * _root.space));
delta_x = _x - _root.part3._x;
delta_y = _y - _root.part3._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
}
}
onClipEvent (enterFrame) {
var hypotenuse = 170;
xDist = _root.part5._x - _x;
yDist = _root.part5._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 510 MovieClip "part3" in Frame 713
onClipEvent (load) {
dead = false;
}
onClipEvent (enterFrame) {
if (_root.part1.health <= 600) {
dead = true;
_name = "DAVE";
}
if (!dead) {
_x = (_root.part2._x + (Math.cos(_root.part2.angle) * _root.space));
_y = (_root.part2._y + (Math.sin(_root.part2.angle) * _root.space));
delta_x = _x - _root.part2._x;
delta_y = _y - _root.part2._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
}
}
onClipEvent (enterFrame) {
var hypotenuse = 170;
xDist = _root.part4._x - _x;
yDist = _root.part4._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 510 MovieClip "part2" in Frame 713
onClipEvent (load) {
dead = false;
}
onClipEvent (enterFrame) {
if (_root.part1.health <= 300) {
dead = true;
_name = "DAVE";
}
if (!dead) {
_x = (_root.part1._x + (Math.cos(_root.part1.angle) * _root.space));
_y = (_root.part1._y + (Math.sin(_root.part1.angle) * _root.space));
delta_x = _x - _root.part1._x;
delta_y = _y - _root.part1._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
}
}
onClipEvent (enterFrame) {
var hypotenuse = 170;
xDist = _root.part3._x - _x;
yDist = _root.part3._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 517 MovieClip "part1" in Frame 713
onClipEvent (load) {
dead = false;
hit = false;
health = 3000;
n = 60;
o = n + 20;
p = 10;
_root.enemycount++;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 20;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
b.hit = true;
}
}
if (health <= 0) {
health = 0;
dead = true;
}
xDist = _x - _root.guy.R1._x;
yDist = _y - _root.guy.R1._y;
THangle = Math.atan2(yDist, xDist);
XP = _x - (_root.guy.R1._x + (Math.cos(THangle) * 250));
YP = _y - (_root.guy.R1._y + (Math.sin(THangle) * 250));
_x = (_x - (XP / 5));
_y = (_y - (YP / 5));
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
var hypotenuse = 170;
xDist = _root.part2._x - _x;
yDist = _root.part2._y - _y;
angle = Math.atan2(yDist, xDist);
}
Instance of Symbol 451 MovieClip in Frame 713
onClipEvent (load) {
dead = false;
hit = false;
health = 200;
_root.enemycount++;
n = 40;
o = n + 10;
}
onClipEvent (enterFrame) {
if (n >= o) {
n = o - 10;
}
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
delta_x = _x - _root.guy.R1._x;
delta_y = _y - _root.guy.R1._y;
turret._rotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
}
Frame 714
_root.stage++;
Frame 715
stop();
_root.enemycount = 100;
Instance of Symbol 568 MovieClip in Frame 715
onClipEvent (enterFrame) {
_y = (_y-1);
if (_y <= -1000) {
_root.play();
}
}
Frame 717
stop();
_root.enemycount = 100;
Instance of Symbol 278 MovieClip in Frame 717
onClipEvent (load) {
dead = false;
hit = false;
health = 30;
this.filters = [_root.bevel];
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!hit) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - b.pain;
hit = true;
b.hit = true;
}
}
}
if (health <= 0) {
health = 0;
dead = true;
}
}
Frame 718
_root.level = 1;
_root.lives = 5;
stop();
Instance of Symbol 570 MovieClip in Frame 718
onClipEvent (enterFrame) {
_x = _root.cam._x;
_y = _root.cam._y;
if (Key.isDown(13)) {
_root.gotoAndPlay("beginagen");
}
}
Instance of Symbol 573 MovieClip in Frame 718
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy.RRR = true;
} else {
_root.guy.RRR = false;
}
}
Instance of Symbol 580 MovieClip in Frame 718
onClipEvent (load) {
FALLSPEED = -30;
}
Instance of Symbol 582 MovieClip in Frame 718
onClipEvent (load) {
FALLSPEED = -10;
SPEED = 30;
_xscale = 100;
}
Instance of Symbol 583 MovieClip in Frame 718
onClipEvent (load) {
FALLSPEED = -30;
SPEED = -10;
_xscale = -100;
}
Instance of Symbol 583 MovieClip "Bcannon3" in Frame 718
onClipEvent (load) {
FALLSPEED = -30;
SPEED = -10;
}
Instance of Symbol 582 MovieClip "Bcannon2" in Frame 718
onClipEvent (load) {
FALLSPEED = -10;
SPEED = 30;
}
Instance of Symbol 582 MovieClip "Bcannon1" in Frame 718
onClipEvent (load) {
FALLSPEED = -10;
SPEED = 30;
}
Instance of Symbol 599 MovieClip "wall1" in Frame 718
onClipEvent (load) {
health = 3;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 20) {
if (_root["bullet" + i].hitTest(this)) {
bullet = eval (_root["bullet" + i]);
}
i++;
}
if (!bullet.hit) {
if (this.hitTest(bullet._x, bullet._y, true)) {
health--;
bullet.hit = true;
}
}
while (this.hitTest(_root.guy._x + 9, _root.guy._y, true)) {
_root.guy._x--;
}
while (this.hitTest(_root.guy._x - 9, _root.guy._y, true)) {
_root.guy._x++;
}
}
Instance of Symbol 599 MovieClip in Frame 718
onClipEvent (load) {
health = 3;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 20) {
if (_root["bullet" + i].hitTest(this)) {
bullet = eval (_root["bullet" + i]);
}
i++;
}
if (!bullet.hit) {
if (this.hitTest(bullet._x, bullet._y, true)) {
health--;
bullet.hit = true;
}
}
while (this.hitTest(_root.guy._x + 9, _root.guy._y, true)) {
_root.guy._x--;
}
while (this.hitTest(_root.guy._x - 9, _root.guy._y, true)) {
_root.guy._x++;
}
}
Instance of Symbol 622 MovieClip "cam" in Frame 718
onClipEvent (enterFrame) {
_x = (_x - (((_x - _root.guy._x) - 100) / 3));
}
Instance of Symbol 627 MovieClip "bullet" in Frame 718
onClipEvent (load) {
speed = 20;
X = speed * Math.sin(_rotation * (Math.PI/180));
Y = speed * Math.cos(_rotation * (Math.PI/180));
}
onClipEvent (enterFrame) {
if (!hit) {
_x = (_x + X);
_y = (_y - Y);
if (_root.ground.hitTest((_x + 10) || (_x - 10), (_y + 10) || (_y - 10), true)) {
if (this.hitTest(_root.guy._x, _root.guy._y, true)) {
delta_x = _x - _root.guy._x;
delta_y = _y - _root.guy._y;
R = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_root.guy.speed = 10 * Math.sin(R * (Math.PI/180));
_root.guy.fallspeed = -15 * Math.cos(R * (Math.PI/180));
}
hit = true;
}
if (_root.enemy.hitTest(_x, _y, true)) {
_root.enemy.health = _root.enemy.health - 10;
hit = true;
}
}
}
Instance of Symbol 646 MovieClip "guy" in Frame 718
onClipEvent (load) {
speed = 0;
fallspeed = 0;
running = false;
turret.i = 0;
X = _x;
Y = _y;
_root.Cx = _x;
_root.Cy = _y;
powerup = " ";
energy = 0;
health = 100;
grounded = false;
CLICK = false;
}
onClipEvent (mouseDown) {
CLICK = true;
}
onClipEvent (mouseUp) {
CLICK = false;
}
onClipEvent (enterFrame) {
if (energy <= 0) {
powerup = " ";
}
if (turret.i >= 20) {
turret.i = 0;
}
if (Key.isDown(39) || (Key.isDown(68))) {
_xscale = 100;
}
if (Key.isDown(37) || (Key.isDown(65))) {
_xscale = -100;
}
while (_root.ground.hitTest(_x, _y + 9, true)) {
_y = (_y-1);
}
while (_root.ground.hitTest(_x, _y - 9, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x + 9, _y, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 9, _y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest(_x - 10, _y, true)) {
speed = speed * -0.5;
}
if (_root.ground.hitTest(_x + 10, _y, true)) {
speed = speed * -0.5;
}
_y = (_y + fallspeed);
if (_root.ground.hitTest(_x, _y - 10, true)) {
fallspeed = fallspeed * -0.5;
}
if (_root.ground.hitTest(_x, _y + 10, true)) {
if (!grounded) {
_root.L._y = _y;
_root.R._y = _y;
grounded = true;
}
_rotation = (_rotation - ((_rotation - ((_root.R._y - _root.L._y) * 10)) / 3));
if (fallspeed >= 5) {
fallspeed = fallspeed * -0.5;
} else {
fallspeed = 0;
}
speed = speed - (speed / 10);
if (Key.isDown(39) || (Key.isDown(68))) {
speed = speed - ((speed - 10) / 5);
}
if (Key.isDown(37) || (Key.isDown(65))) {
speed = speed - ((speed + 10) / 5);
}
} else {
fallspeed = fallspeed + 1;
grounded = false;
}
_x = (_x + speed);
delta_x = _x - _root._xmouse;
delta_y = _y - _root._ymouse;
turret._rotation = ((_xscale / 100) * ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180))) - ((_rotation * _xscale) / 100);
if (running) {
turret._y = turret._y - ((turret._y + 10) / 5);
} else {
turret._y = turret._y - ((turret._y - 3) / 3);
}
if (!_root.boss) {
_root.cam._y = _y - 50;
} else {
_root.cam._y = _y - 250;
}
if (health <= 0) {
speed = 0;
fallspeed = 0;
}
if (_root.lives <= 0) {
_root.gotoAndPlay("beginagen");
}
}
Instance of Symbol 577 MovieClip "L" in Frame 718
onClipEvent (enterFrame) {
while (!_root.ground.hitTest(_x, _y + 1, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x, _y - 1, true)) {
_y = (_y-1);
}
_x = (_root.guy._x - 3);
}
Instance of Symbol 577 MovieClip "R" in Frame 718
onClipEvent (enterFrame) {
while (!_root.ground.hitTest(_x, _y + 1, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x, _y - 1, true)) {
_y = (_y-1);
}
_x = (_root.guy._x + 3);
}
Instance of Symbol 670 MovieClip in Frame 718
onClipEvent (load) {
turret.i = 10;
health = 50;
ready = false;
dead = false;
i = 50;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(_root.trigger1)) {
ready = true;
}
if (ready) {
if (health <= 0) {
ready = false;
dead = true;
grav = 0;
}
_name = "enemy";
if (turret.i >= 20) {
turret.i = 10;
}
_x = (_x - ((_x - _root.guy._x) / 10));
_rotation = ((_x - _root.guy._x) / 4);
_y = (_y - (((_y - _root.guy._y) + 150) / 10));
var i = 0;
while (i <= 20) {
if (_root["bullet" + i].hitTest(this)) {
bullet = eval (_root["bullet" + i]);
}
i++;
}
if (!bullet.hit) {
if (this.hitTest(bullet._x, bullet._y, true)) {
health = health - 10;
bullet.hit = true;
}
}
}
if (dead) {
_y = (_y + grav);
grav = grav + 0.5;
_rotation = (_rotation-1);
i++;
duplicateMovieClip (_root.smoke, "s" + i, i);
_root["s" + i]._x = _x;
_root["s" + i]._y = _y;
if (_root.ground.hitTest(_x, _y, true)) {
dead = false;
gotoAndPlay ("explode");
}
}
}
Instance of Symbol 673 MovieClip "ebullet" in Frame 718
onClipEvent (load) {
speed = 10;
X = speed * Math.sin(_rotation * (Math.PI/180));
Y = speed * Math.cos(_rotation * (Math.PI/180));
}
onClipEvent (enterFrame) {
if (!hit) {
_x = (_x + (X * 2));
_y = (_y - Y);
if (_root.ground.hitTest(_x, _y, true)) {
if (this.hitTest(_root.guy._x, _root.guy._y, true)) {
_root.guy.health = _root.guy.health - 10;
delta_x = _x - _root.guy._x;
delta_y = _y - _root.guy._y;
R = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_root.guy.speed = 10 * Math.sin(R * (Math.PI/180));
_root.guy.fallspeed = -15 * Math.cos(R * (Math.PI/180));
}
hit = true;
}
}
}
Instance of Symbol 675 MovieClip "smoke" in Frame 718
onClipEvent (load) {
X = 1 - (Math.random() * 2);
Y = 1 + Math.random();
_xscale = (90 + (Math.random() * 20));
_yscale = _xscale;
}
onClipEvent (enterFrame) {
if (_name != "smoke") {
_x = (_x + X);
_y = (_y - Y);
_alpha = (_alpha - 2);
_xscale = (_xscale+1);
_yscale = _xscale;
if (_alpha <= 0) {
this.removeMovieClip(this);
}
}
}
Instance of Symbol 670 MovieClip in Frame 718
onClipEvent (load) {
turret.i = 10;
health = 50;
ready = false;
dead = false;
i = 50;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(_root.trigger2)) {
ready = true;
}
if (ready) {
if (health <= 0) {
ready = false;
dead = true;
grav = 0;
}
_name = "enemy";
if (turret.i >= 20) {
turret.i = 10;
}
_x = (_x - ((_x - _root.guy._x) / 10));
_rotation = ((_x - _root.guy._x) / 4);
_y = (_y - (((_y - _root.guy._y) + 150) / 10));
var i = 0;
while (i <= 20) {
if (_root["bullet" + i].hitTest(this)) {
bullet = eval (_root["bullet" + i]);
}
i++;
}
if (!bullet.hit) {
if (this.hitTest(bullet._x, bullet._y, true)) {
health = health - 10;
bullet.hit = true;
}
}
}
if (dead) {
_y = (_y + grav);
grav = grav + 0.5;
_rotation = (_rotation-1);
i++;
duplicateMovieClip (_root.smoke, "s" + i, i);
_root["s" + i]._x = _x;
_root["s" + i]._y = _y;
if (_root.ground.hitTest(_x, _y, true)) {
dead = false;
gotoAndPlay ("explode");
}
}
}
Instance of Symbol 577 MovieClip in Frame 718
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.lives--;
_root.guy._x = _root.Cx;
_root.guy._y = _root.Cy;
}
}
Instance of Symbol 577 MovieClip in Frame 718
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.lives--;
_root.guy._x = _root.Cx;
_root.guy._y = _root.Cy;
}
}
Instance of Symbol 705 MovieClip in Frame 718
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (!hit) {
if (_root.guy.hitTest(this)) {
gotoAndPlay ("YAY");
_root.Cx = _x;
_root.Cy = _y;
hit = true;
}
}
}
Instance of Symbol 705 MovieClip in Frame 718
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (!hit) {
if (_root.guy.hitTest(this)) {
gotoAndPlay ("YAY");
_root.Cx = _x;
_root.Cy = _y;
hit = true;
}
}
}
Instance of Symbol 577 MovieClip in Frame 718
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.lives--;
_root.guy._x = _root.Cx;
_root.guy._y = _root.Cy;
}
}
Instance of Symbol 577 MovieClip in Frame 718
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.lives--;
_root.guy._x = _root.Cx;
_root.guy._y = _root.Cy;
}
}
Instance of Symbol 577 MovieClip in Frame 718
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.lives--;
_root.guy._x = _root.Cx;
_root.guy._y = _root.Cy;
}
}
Instance of Symbol 705 MovieClip in Frame 718
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (!hit) {
if (_root.guy.hitTest(this)) {
gotoAndPlay ("YAY");
_root.Cx = _x;
_root.Cy = _y;
hit = true;
}
}
}
Instance of Symbol 577 MovieClip in Frame 718
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
_root.guy.fallspeed = 0;
_root.play();
}
}
Instance of Symbol 577 MovieClip in Frame 718
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
_root.guy.speed = 0;
_root.guy._x = _root.guy._x - ((_root.guy._x - 3190) / 2);
}
}
Frame 786
stop();
_root.boss = false;
_root.cam._x = _root.guy._x;
_root.cam._y = _root.guy._y;
_root.L._y = _root.guy._y;
_root.L._x = _root.guy._x - 3;
_root.R._y = _root.guy._y;
_root.R._x = _root.guy._x + 3;
_root.level = 2;
Instance of Symbol 582 MovieClip in Frame 786
onClipEvent (load) {
FALLSPEED = -10;
SPEED = 30;
}
Instance of Symbol 577 MovieClip in Frame 786
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.lives--;
_root.guy._x = _root.Cx;
_root.guy._y = _root.Cy;
_root.guy.speed = 0;
_root.guy.fallspeed = 0;
}
}
Instance of Symbol 582 MovieClip in Frame 786
onClipEvent (load) {
FALLSPEED = -10;
SPEED = 30;
}
Instance of Symbol 90 MovieClip in Frame 786
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy.health = _root.guy.health - 2;
}
}
Instance of Symbol 577 MovieClip in Frame 786
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.lives--;
_root.guy._x = _root.Cx;
_root.guy._y = _root.Cy;
}
}
Instance of Symbol 577 MovieClip in Frame 786
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.lives--;
_root.guy._x = _root.Cx;
_root.guy._y = _root.Cy;
_root.guy.speed = 0;
}
}
Instance of Symbol 737 MovieClip in Frame 786
onClipEvent (load) {
FALLSPEED = -10;
SPEED = 30;
_root.inthecannon = false;
}
onClipEvent (enterFrame) {
if (this.platform.hitTest(_root.guy._x, _root.guy._y, true)) {
if (_root.guy.fallspeed >= 0) {
_root.inthecannon = true;
}
}
if (_root.inthecannon == true) {
_root.guy._visible = false;
_root.guy.speed = 0;
_root.guy.fallspeed = 0;
}
}
Instance of Symbol 583 MovieClip in Frame 786
onClipEvent (load) {
FALLSPEED = -20;
SPEED = -10;
}
Instance of Symbol 582 MovieClip "Bcannon1" in Frame 786
onClipEvent (load) {
FALLSPEED = -10;
SPEED = 30;
_xscale = -100;
}
Instance of Symbol 577 MovieClip in Frame 786
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.lives--;
_root.guy._x = _root.Cx;
_root.guy._y = _root.Cy;
}
}
Instance of Symbol 727 MovieClip in Frame 786
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy.energy = 100;
_root.guy.powerup = "fire";
_y = 350;
_visible = false;
}
if (_root.guy.energy <= 0) {
_y = 230;
_visible = true;
}
}
Instance of Symbol 705 MovieClip in Frame 786
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (!hit) {
if (_root.guy.hitTest(this)) {
gotoAndPlay ("YAY");
_root.Cx = _x;
_root.Cy = _y;
hit = true;
}
}
}
Instance of Symbol 627 MovieClip "bullet" in Frame 786
onClipEvent (load) {
speed = 20;
X = speed * Math.sin(_rotation * (Math.PI/180));
Y = speed * Math.cos(_rotation * (Math.PI/180));
}
onClipEvent (enterFrame) {
if (!hit) {
_x = (_x + X);
_y = (_y - Y);
if (_root.ground.hitTest((_x + 10) || (_x - 10), (_y + 10) || (_y - 10), true)) {
if (this.hitTest(_root.guy._x, _root.guy._y, true)) {
delta_x = _x - _root.guy._x;
delta_y = _y - _root.guy._y;
R = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_root.guy.speed = 10 * Math.sin(R * (Math.PI/180));
_root.guy.fallspeed = -15 * Math.cos(R * (Math.PI/180));
}
hit = true;
}
}
}
Instance of Symbol 577 MovieClip "L" in Frame 786
onClipEvent (enterFrame) {
while (!_root.ground.hitTest(_x, _y + 1, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x, _y - 1, true)) {
_y = (_y-1);
}
_x = (_root.guy._x - 3);
}
Instance of Symbol 577 MovieClip "R" in Frame 786
onClipEvent (enterFrame) {
while (!_root.ground.hitTest(_x, _y + 1, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x, _y - 1, true)) {
_y = (_y-1);
}
_x = (_root.guy._x + 3);
}
Instance of Symbol 673 MovieClip "ebullet" in Frame 786
onClipEvent (load) {
speed = 10;
X = speed * Math.sin(_rotation * (Math.PI/180));
Y = speed * Math.cos(_rotation * (Math.PI/180));
}
onClipEvent (enterFrame) {
if (!hit) {
_x = (_x + (X * 2));
_y = (_y - Y);
if (_root.ground.hitTest(_x, _y, true)) {
if (this.hitTest(_root.guy._x, _root.guy._y, true)) {
_root.guy.health = _root.guy.health - 10;
delta_x = _x - _root.guy._x;
delta_y = _y - _root.guy._y;
R = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_root.guy.speed = 10 * Math.sin(R * (Math.PI/180));
_root.guy.fallspeed = -15 * Math.cos(R * (Math.PI/180));
}
hit = true;
}
}
}
Instance of Symbol 675 MovieClip "smoke" in Frame 786
onClipEvent (load) {
X = 1 - (Math.random() * 2);
Y = 1 + Math.random();
_xscale = (90 + (Math.random() * 20));
_yscale = _xscale;
}
onClipEvent (enterFrame) {
if (_name != "smoke") {
_x = (_x + X);
_y = (_y - Y);
_alpha = (_alpha - 2);
_xscale = (_xscale+1);
_yscale = _xscale;
if (_alpha <= 0) {
this.removeMovieClip(this);
}
}
}
Instance of Symbol 734 MovieClip "fire" in Frame 786
onClipEvent (load) {
speed = 10;
RAND = 2 - (Math.random() * 4);
X = RAND + (speed * Math.sin(_rotation * (Math.PI/180)));
Y = RAND + (speed * Math.cos(_rotation * (Math.PI/180)));
_xscale = (100 + (RAND * 5));
_yscale = _xscale;
i = 0;
deadly = true;
}
onClipEvent (enterFrame) {
_x = (_x + X);
if (!hit) {
_y = (_y - Y);
if (deadly) {
if (this.hitTest(_root.enemy)) {
_root.enemy.burning = true;
_root.enemy.health = _root.enemy.health - 2;
hit = true;
}
}
if (deadly) {
if (this.hitTest(_root.rope)) {
_root.rope.burning = true;
_root.rope.health = _root.rope.health - 2;
}
}
if (_root.fuse.hitTest(this)) {
_root.fuse.lit = true;
}
if (_root.ground.hitTest(_x, _y, true)) {
hit = true;
}
}
if (_name != "fire") {
_alpha = (_alpha - 4);
_xscale = (_xscale - 4);
_yscale = _xscale;
if ((_alpha <= 0) || (_xscale <= 0)) {
this.removeMovieClip(this);
}
} else {
_visible = false;
}
}
Instance of Symbol 727 MovieClip in Frame 786
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy.energy = 100;
_root.guy.powerup = "fire";
_y = 1282;
_visible = false;
}
if (_root.guy.energy <= 0) {
_y = 1222;
_visible = true;
}
}
Instance of Symbol 670 MovieClip "enemy10" in Frame 786
onClipEvent (load) {
turret.i = 30;
health = 50;
ready = false;
dead = false;
o = 50;
burning = false;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(_root.trigger1)) {
ready = true;
}
if (ready) {
if (health <= 0) {
ready = false;
dead = true;
grav = 0;
}
_name = "enemy";
if (turret.i >= 40) {
turret.i = 30;
}
_x = (_x - ((_x - _root.guy._x) / 10));
_rotation = ((_x - _root.guy._x) / 4);
_y = (_y - (((_y - _root.guy._y) + 150) / 10));
var i = 0;
while (i <= 30) {
if (_root["bullet" + i].hitTest(this)) {
bullet = eval (_root["bullet" + i]);
}
i++;
}
if (!bullet.hit) {
if (this.hitTest(bullet._x, bullet._y, true)) {
health = health - 10;
bullet.hit = true;
}
}
if (burning) {
health = health - 0.1;
o++;
duplicateMovieClip (_root.fire, "fire" + o, o);
_root["fire" + o].deadly = false;
_root["fire" + o]._x = _x;
_root["fire" + o]._y = _y;
if (o >= 60) {
o = 50;
}
}
}
if (dead) {
_y = (_y + grav);
grav = grav + 0.5;
_rotation = (_rotation-1);
i++;
duplicateMovieClip (_root.smoke, "s" + i, i);
_root["s" + i]._x = _x;
_root["s" + i]._y = _y;
if (_root.ground.hitTest(_x, _y, true)) {
gotoAndPlay ("explode");
dead = false;
}
}
}
Instance of Symbol 705 MovieClip in Frame 786
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (!hit) {
if (_root.guy.hitTest(this)) {
gotoAndPlay ("YAY");
_root.Cx = _x;
_root.Cy = _y;
hit = true;
}
}
}
Instance of Symbol 800 MovieClip in Frame 786
onClipEvent (load) {
gotoAndPlay (752);
}
Instance of Symbol 705 MovieClip in Frame 786
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (!hit) {
if (_root.guy.hitTest(this)) {
gotoAndPlay ("YAY");
_root.Cx = _x;
_root.Cy = _y;
hit = true;
}
}
}
Instance of Symbol 577 MovieClip "rope" in Frame 786
onClipEvent (load) {
health = 500;
o = 50;
burning = false;
}
onClipEvent (enterFrame) {
if (health <= -20) {
this.swapDepths(999);
this.removeMovieClip(this);
}
if (burning) {
health = health - 0.1;
o++;
duplicateMovieClip (_root.fire, "fire" + o, o);
_root["fire" + o].deadly = false;
_root["fire" + o]._x = _x;
_root["fire" + o]._y = _y;
if (o >= 60) {
o = 50;
}
}
}
Instance of Symbol 577 MovieClip in Frame 786
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y)) {
if (_root.guy.speed >= 4) {
_root.guy.fallspeed = -(_root.guy.speed * 1.5);
}
}
}
Instance of Symbol 577 MovieClip "fuse" in Frame 786
onClipEvent (load) {
lit = false;
}
Instance of Symbol 727 MovieClip in Frame 786
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy.energy = 100;
_root.guy.powerup = "fire";
_visible = false;
}
}
Instance of Symbol 670 MovieClip "enemy10" in Frame 786
onClipEvent (load) {
turret.i = 30;
health = 50;
ready = false;
dead = false;
o = 50;
burning = false;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(_root.trigger2)) {
ready = true;
}
if (ready) {
if (health <= 0) {
ready = false;
dead = true;
grav = 0;
}
_name = "enemy";
if (turret.i >= 40) {
turret.i = 30;
}
_x = (_x - ((_x - _root.guy._x) / 10));
_rotation = ((_x - _root.guy._x) / 4);
_y = (_y - (((_y - _root.guy._y) + 150) / 10));
var i = 0;
while (i <= 30) {
if (_root["bullet" + i].hitTest(this)) {
bullet = eval (_root["bullet" + i]);
}
i++;
}
if (!bullet.hit) {
if (this.hitTest(bullet._x, bullet._y, true)) {
health = health - 10;
bullet.hit = true;
}
}
if (burning) {
health = health - 0.1;
o++;
duplicateMovieClip (_root.fire, "fire" + o, o);
_root["fire" + o].deadly = false;
_root["fire" + o]._x = _x;
_root["fire" + o]._y = _y;
if (o >= 60) {
o = 50;
}
}
}
if (dead) {
_y = (_y + grav);
grav = grav + 0.5;
_rotation = (_rotation-1);
i++;
duplicateMovieClip (_root.smoke, "s" + i, i);
_root["s" + i]._x = _x;
_root["s" + i]._y = _y;
if (_root.ground.hitTest(_x, _y, true)) {
gotoAndPlay ("explode");
dead = false;
}
}
}
Instance of Symbol 727 MovieClip in Frame 786
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy.energy = 100;
_root.guy.powerup = "fire";
_visible = false;
_y = 1198;
}
if (_root.guy.energy <= 0) {
_visible = true;
_y = 1306;
}
}
Instance of Symbol 705 MovieClip in Frame 786
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (!hit) {
if (_root.guy.hitTest(this)) {
gotoAndPlay ("YAY");
_root.Cx = _x;
_root.Cy = _y;
hit = true;
}
}
}
Instance of Symbol 577 MovieClip in Frame 786
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
_root.guy.fallspeed = 0;
_root.guy.speed = 0;
_root.play();
}
}
Instance of Symbol 705 MovieClip in Frame 786
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (!hit) {
if (_root.guy.hitTest(this)) {
gotoAndPlay ("YAY");
_root.Cx = _x;
_root.Cy = _y;
hit = true;
}
}
}
Instance of Symbol 727 MovieClip in Frame 786
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy.energy = 100;
_root.guy.powerup = "fire";
_visible = false;
_y = 2520;
}
if (_root.guy.energy <= 0) {
_visible = true;
_y = 2550;
}
}
Instance of Symbol 577 MovieClip in Frame 786
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
if (_root.guy.speed <= -10) {
_root.guy.speed = _root.guy.speed - (_root.guy.speed / 2);
}
}
}
Instance of Symbol 577 MovieClip in Frame 786
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
if (_root.guy.speed >= 10) {
_root.guy.speed = _root.guy.speed - (_root.guy.speed / 2);
}
}
}
Instance of Symbol 577 MovieClip in Frame 786
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
if (_root.guy.speed >= 20) {
_root.guy.speed = _root.guy.speed - (_root.guy.speed / 2);
}
}
}
Instance of Symbol 622 MovieClip "cam" in Frame 786
onClipEvent (enterFrame) {
_x = (_x - (((_x - _root.guy._x) - 100) / 3));
}
Instance of Symbol 646 MovieClip "guy" in Frame 786
onClipEvent (load) {
speed = 0;
fallspeed = 0;
running = false;
turret.i = 0;
X = _x;
Y = _y;
_root.Cx = _x;
_root.Cy = _y;
powerup = " ";
energy = 0;
health = 100;
grounded = false;
CLICK = false;
}
onClipEvent (mouseDown) {
CLICK = true;
}
onClipEvent (mouseUp) {
CLICK = false;
}
onClipEvent (enterFrame) {
if (energy <= 0) {
powerup = " ";
}
if (turret.i >= 20) {
turret.i = 0;
}
if (Key.isDown(39) || (Key.isDown(68))) {
_xscale = 100;
}
if (Key.isDown(37) || (Key.isDown(65))) {
_xscale = -100;
}
while (_root.ground.hitTest(_x, _y + 9, true)) {
_y = (_y-1);
}
while (_root.ground.hitTest(_x, _y - 9, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x + 9, _y, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 9, _y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest(_x - 10, _y, true)) {
speed = speed * -0.5;
}
if (_root.ground.hitTest(_x + 10, _y, true)) {
speed = speed * -0.5;
}
_y = (_y + fallspeed);
if (_root.ground.hitTest(_x, _y - 10, true)) {
fallspeed = fallspeed * -0.5;
}
if (_root.ground.hitTest(_x, _y + 10, true)) {
if (!grounded) {
_root.L._y = _y;
_root.R._y = _y;
grounded = true;
}
_rotation = (_rotation - ((_rotation - ((_root.R._y - _root.L._y) * 10)) / 3));
if (fallspeed >= 5) {
fallspeed = fallspeed * -0.5;
} else {
fallspeed = 0;
}
speed = speed - (speed / 10);
if (Key.isDown(39) || (Key.isDown(68))) {
speed = speed - ((speed - 10) / 5);
}
if (Key.isDown(37) || (Key.isDown(65))) {
speed = speed - ((speed + 10) / 5);
}
} else {
fallspeed = fallspeed + 1;
grounded = false;
}
_x = (_x + speed);
delta_x = _x - _root._xmouse;
delta_y = _y - _root._ymouse;
turret._rotation = ((_xscale / 100) * ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180))) - ((_rotation * _xscale) / 100);
if (running) {
turret._y = turret._y - ((turret._y + 10) / 5);
} else {
turret._y = turret._y - ((turret._y - 3) / 3);
}
if (health <= 0) {
speed = 0;
fallspeed = 0;
}
if (_root.lives <= 0) {
_root.gotoAndPlay("beginagen");
}
_root.cam._y = _y - 50;
}
Frame 851
stop();
boss = false;
_quality = "MEDIUM";
_root.cam._x = _root.guy._x;
_root.cam._y = _root.guy._y;
_root.L._y = _root.guy._y;
_root.L._x = _root.guy._x - 3;
_root.R._y = _root.guy._y;
_root.R._x = _root.guy._x + 3;
_root.level = 3;
Instance of Symbol 583 MovieClip in Frame 851
onClipEvent (load) {
FALLSPEED = -20;
SPEED = -10;
}
Instance of Symbol 577 MovieClip in Frame 851
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.lives--;
_root.guy._x = _root.Cx;
_root.guy._y = _root.Cy;
}
}
Instance of Symbol 577 MovieClip in Frame 851
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy._x = _root.Cx;
_root.guy._y = _root.Cy;
_root.lives--;
}
}
Instance of Symbol 737 MovieClip in Frame 851
onClipEvent (load) {
FALLSPEED = -10;
SPEED = 30;
_root.inthecannon = false;
}
onClipEvent (enterFrame) {
if (this.platform.hitTest(_root.guy._x, _root.guy._y, true)) {
if (_root.guy.fallspeed >= 0) {
_root.inthecannon = true;
}
}
if (_root.inthecannon == true) {
_root.guy._visible = false;
_root.guy.speed = 0;
_root.guy.fallspeed = 0;
}
}
Instance of Symbol 577 MovieClip in Frame 851
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.lives--;
_root.guy._x = _root.Cx;
_root.guy._y = _root.Cy;
_root.guy.speed = 0;
_root.guy.fallspeed = 0;
}
}
Instance of Symbol 577 MovieClip in Frame 851
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.lives--;
_root.guy._x = _root.Cx;
_root.guy._y = _root.Cy;
_root.guy.speed = 0;
_root.guy.fallspeed = 0;
}
}
Instance of Symbol 859 MovieClip "boss" in Frame 851
onClipEvent (load) {
A = 0;
grav = 0;
crashing = false;
dead = false;
o = 100;
f = 200;
health = 360;
}
onClipEvent (enterFrame) {
if (!dead) {
A = A - (A / 10);
var filterArray = new Array();
var filter = (new flash.filters.GlowFilter(16711680, A, 20, 20, 2, 1, false, false));
filterArray.push(filter);
this.filters = [filter];
var i = 0;
while (i <= 30) {
if (_root["bullet" + i].hitTest(this.head)) {
bullet = eval (_root["bullet" + i]);
}
i++;
}
if (!bullet.hit) {
if (this.hitTest(bullet._x, bullet._y, true)) {
A = 1;
bullet.hit = true;
health = health - 10;
}
}
if (health <= 0) {
gotoAndPlay ("dead");
dead = true;
}
}
if (crashing) {
_y = (_y + grav);
grav++;
_rotation = (_rotation-1);
o++;
duplicateMovieClip (_root.smoke, "s" + o, o);
_root["s" + o]._x = _x;
_root["s" + o]._y = _y;
f++;
duplicateMovieClip (_root.fire, "fire" + f, f);
_root["fire" + f].deadly = false;
_root["fire" + f]._x = _x;
_root["fire" + f]._y = _y;
}
}
Instance of Symbol 577 MovieClip in Frame 851
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.lives--;
_root.guy._x = _root.Cx;
_root.guy._y = _root.Cy;
}
}
Instance of Symbol 577 MovieClip in Frame 851
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.lives--;
_root.guy._x = _root.Cx;
_root.guy._y = _root.Cy;
_root.guy.speed = 0;
_root.guy.fallspeed = 0;
}
}
Instance of Symbol 577 MovieClip in Frame 851
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.lives--;
_root.guy._x = _root.Cx;
_root.guy._y = _root.Cy;
_root.guy.speed = 0;
_root.guy.fallspeed = 0;
}
}
Instance of Symbol 705 MovieClip in Frame 851
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (!hit) {
if (_root.guy.hitTest(this)) {
gotoAndPlay ("YAY");
_root.Cx = _x;
_root.Cy = _y;
hit = true;
}
}
}
Instance of Symbol 599 MovieClip "wall1" in Frame 851
onClipEvent (load) {
health = 3;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 20) {
if (_root["bullet" + i].hitTest(this)) {
bullet = eval (_root["bullet" + i]);
}
i++;
}
if (!bullet.hit) {
if (this.hitTest(bullet._x, bullet._y, true)) {
health--;
bullet.hit = true;
}
}
while (this.hitTest(_root.guy._x + 9, _root.guy._y, true)) {
_root.guy._x--;
}
while (this.hitTest(_root.guy._x - 9, _root.guy._y, true)) {
_root.guy._x++;
}
}
Instance of Symbol 705 MovieClip in Frame 851
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (!hit) {
if (_root.guy.hitTest(this)) {
gotoAndPlay ("YAY");
_root.Cx = _x;
_root.Cy = _y;
hit = true;
}
}
}
Instance of Symbol 627 MovieClip "bullet" in Frame 851
onClipEvent (load) {
speed = 20;
X = speed * Math.sin(_rotation * (Math.PI/180));
Y = speed * Math.cos(_rotation * (Math.PI/180));
}
onClipEvent (enterFrame) {
if (!hit) {
_x = (_x + X);
_y = (_y - Y);
if (_root.ground.hitTest((_x + 10) || (_x - 10), (_y + 10) || (_y - 10), true)) {
if (this.hitTest(_root.guy._x, _root.guy._y, true)) {
delta_x = _x - _root.guy._x;
delta_y = _y - _root.guy._y;
R = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_root.guy.speed = 10 * Math.sin(R * (Math.PI/180));
_root.guy.fallspeed = -15 * Math.cos(R * (Math.PI/180));
}
hit = true;
}
}
}
Instance of Symbol 646 MovieClip "guy" in Frame 851
onClipEvent (load) {
speed = 10;
fallspeed = 0;
running = false;
turret.i = 0;
X = _x;
Y = _y;
_root.Cx = _x;
_root.Cy = _y;
powerup = " ";
energy = 0;
health = 100;
grounded = false;
CLICK = false;
}
onClipEvent (mouseDown) {
CLICK = true;
}
onClipEvent (mouseUp) {
CLICK = false;
}
onClipEvent (enterFrame) {
if (energy <= 0) {
powerup = " ";
}
if (turret.i >= 20) {
turret.i = 0;
}
if (Key.isDown(39) || (Key.isDown(68))) {
_xscale = 100;
}
if (Key.isDown(37) || (Key.isDown(65))) {
_xscale = -100;
}
while (_root.ground.hitTest(_x, _y + 9, true)) {
_y = (_y-1);
}
while (_root.ground.hitTest(_x, _y - 9, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x + 9, _y, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 9, _y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest(_x - 10, _y, true)) {
speed = speed * -0.5;
}
if (_root.ground.hitTest(_x + 10, _y, true)) {
speed = speed * -0.5;
}
_y = (_y + fallspeed);
if (_root.ground.hitTest(_x, _y - 10, true)) {
fallspeed = fallspeed * -0.5;
}
if (_root.ground.hitTest(_x, _y + 10, true)) {
if (!grounded) {
_root.L._y = _y;
_root.R._y = _y;
grounded = true;
}
_rotation = (_rotation - ((_rotation - ((_root.R._y - _root.L._y) * 10)) / 3));
if (fallspeed >= 5) {
fallspeed = fallspeed * -0.5;
} else {
fallspeed = 0;
}
speed = speed - (speed / 10);
if (Key.isDown(39) || (Key.isDown(68))) {
speed = speed - ((speed - 10) / 5);
}
if (Key.isDown(37) || (Key.isDown(65))) {
speed = speed - ((speed + 10) / 5);
}
} else {
fallspeed = fallspeed + 1;
grounded = false;
}
_x = (_x + speed);
delta_x = _x - _root._xmouse;
delta_y = _y - _root._ymouse;
turret._rotation = ((_xscale / 100) * ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180))) - ((_rotation * _xscale) / 100);
if (running) {
turret._y = turret._y - ((turret._y + 10) / 5);
} else {
turret._y = turret._y - ((turret._y - 3) / 3);
}
if (!_root.boss) {
_root.cam._y = _y - 50;
} else {
_root.cam._y = _y - 250;
}
if (health <= 0) {
speed = 0;
fallspeed = 0;
}
if (_root.lives <= 0) {
_root.gotoAndPlay("beginagen");
}
}
Instance of Symbol 577 MovieClip "L" in Frame 851
onClipEvent (enterFrame) {
while (!_root.ground.hitTest(_x, _y + 1, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x, _y - 1, true)) {
_y = (_y-1);
}
_x = (_root.guy._x - 3);
}
Instance of Symbol 577 MovieClip "R" in Frame 851
onClipEvent (enterFrame) {
while (!_root.ground.hitTest(_x, _y + 1, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x, _y - 1, true)) {
_y = (_y-1);
}
_x = (_root.guy._x + 3);
}
Instance of Symbol 673 MovieClip "ebullet" in Frame 851
onClipEvent (load) {
speed = 10;
X = speed * Math.sin(_rotation * (Math.PI/180));
Y = speed * Math.cos(_rotation * (Math.PI/180));
}
onClipEvent (enterFrame) {
if (!hit) {
_x = (_x + (X * 2));
_y = (_y - Y);
if (_root.ground.hitTest(_x, _y, true)) {
if (this.hitTest(_root.guy._x, _root.guy._y, true)) {
_root.guy.health = _root.guy.health - 10;
delta_x = _x - _root.guy._x;
delta_y = _y - _root.guy._y;
R = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_root.guy.speed = 10 * Math.sin(R * (Math.PI/180));
_root.guy.fallspeed = -15 * Math.cos(R * (Math.PI/180));
}
hit = true;
}
}
}
Instance of Symbol 675 MovieClip "smoke" in Frame 851
onClipEvent (load) {
X = 1 - (Math.random() * 2);
Y = 1 + Math.random();
_xscale = (90 + (Math.random() * 20));
_yscale = _xscale;
}
onClipEvent (enterFrame) {
if (_name != "smoke") {
_x = (_x + X);
_y = (_y - Y);
_alpha = (_alpha - 2);
_xscale = (_xscale+1);
_yscale = _xscale;
if (_alpha <= 0) {
this.removeMovieClip(this);
}
}
}
Instance of Symbol 734 MovieClip "fire" in Frame 851
onClipEvent (load) {
speed = 10;
RAND = 2 - (Math.random() * 4);
X = RAND + (speed * Math.sin(_rotation * (Math.PI/180)));
Y = RAND + (speed * Math.cos(_rotation * (Math.PI/180)));
_xscale = (100 + (RAND * 5));
_yscale = _xscale;
i = 0;
deadly = true;
}
onClipEvent (enterFrame) {
_x = (_x + X);
if (!hit) {
_y = (_y - Y);
if (deadly) {
if (this.hitTest(_root.enemy)) {
_root.enemy.burning = true;
_root.enemy.health = _root.enemy.health - 2;
hit = true;
}
}
if (deadly) {
if (this.hitTest(_root.rope)) {
_root.rope.burning = true;
_root.rope.health = _root.rope.health - 2;
}
}
if (_root.fuse.hitTest(this)) {
_root.fuse.lit = true;
}
if (_root.ground.hitTest(_x, _y, true)) {
hit = true;
}
}
if (_name != "fire") {
_alpha = (_alpha - 4);
_xscale = (_xscale - 4);
_yscale = _xscale;
if ((_alpha <= 0) || (_xscale <= 0)) {
this.removeMovieClip(this);
}
} else {
_visible = false;
}
}
Instance of Symbol 705 MovieClip in Frame 851
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (!hit) {
if (_root.guy.hitTest(this)) {
gotoAndPlay ("YAY");
_root.Cx = _x;
_root.Cy = _y;
hit = true;
}
}
}
Instance of Symbol 670 MovieClip "enemy10" in Frame 851
onClipEvent (load) {
turret.i = 30;
health = 50;
ready = false;
dead = false;
o = 50;
burning = false;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(_root.trigger1)) {
ready = true;
}
if (ready) {
if (health <= 0) {
ready = false;
dead = true;
grav = 0;
}
_name = "enemy";
if (turret.i >= 40) {
turret.i = 30;
}
_x = (_x - ((_x - _root.guy._x) / 10));
_rotation = ((_x - _root.guy._x) / 4);
_y = (_y - (((_y - _root.guy._y) + 150) / 10));
var i = 0;
while (i <= 30) {
if (_root["bullet" + i].hitTest(this)) {
bullet = eval (_root["bullet" + i]);
}
i++;
}
if (!bullet.hit) {
if (this.hitTest(bullet._x, bullet._y, true)) {
health = health - 10;
bullet.hit = true;
}
}
if (burning) {
health = health - 0.1;
o++;
duplicateMovieClip (_root.fire, "fire" + o, o);
_root["fire" + o].deadly = false;
_root["fire" + o]._x = _x;
_root["fire" + o]._y = _y;
if (o >= 60) {
o = 50;
}
}
}
if (dead) {
_y = (_y + grav);
grav = grav + 0.5;
_rotation = (_rotation-1);
i++;
duplicateMovieClip (_root.smoke, "s" + i, i);
_root["s" + i]._x = _x;
_root["s" + i]._y = _y;
if (_root.ground.hitTest(_x, _y, true)) {
gotoAndPlay ("explode");
dead = false;
}
}
}
Instance of Symbol 864 MovieClip "water" in Frame 851
onClipEvent (load) {
speed = 20;
RAND = 2 - (Math.random() * 4);
X = RAND + (speed * Math.sin(_rotation * (Math.PI/180)));
Y = RAND + (speed * Math.cos(_rotation * (Math.PI/180)));
_xscale = (100 + (RAND * 5));
_yscale = _xscale;
i = 0;
hit = false;
}
onClipEvent (enterFrame) {
_x = (_x + X);
_y = (_y - Y);
Y--;
if (!hit) {
if (this.hitTest(_root.ground["gyzer" + letter])) {
_root.ground["gyzer" + letter].fallspeed = _root.ground["gyzer" + letter].fallspeed - 0.5;
Y = Y - (Y * 1.5);
hit - true;
}
}
if (_name != "water") {
_alpha = (_alpha - 2);
_xscale = (_xscale - 2);
_yscale = _xscale;
if ((_alpha <= 0) || (_xscale <= 0)) {
this.removeMovieClip(this);
}
} else {
_visible = false;
}
}
Instance of Symbol 705 MovieClip in Frame 851
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (!hit) {
if (_root.guy.hitTest(this)) {
gotoAndPlay ("YAY");
_root.Cx = _x;
_root.Cy = _y;
hit = true;
}
}
}
Instance of Symbol 884 MovieClip "enemy13" in Frame 851
onClipEvent (load) {
turret.i = 50;
health = 70;
ready = false;
dead = false;
o = 70;
burning = false;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(_root.trigger3)) {
ready = true;
}
if (ready) {
if (health <= 0) {
ready = false;
dead = true;
grav = 0;
}
if (turret.i >= 60) {
turret.i = 50;
}
_x = (_x - ((_x - _root.guy._x) / 7));
_rotation = ((_x - _root.guy._x) / 4);
_y = (_y - (((_y - _root.guy._y) + 150) / 10));
var i = 0;
while (i <= 30) {
if (_root["bullet" + i].hitTest(this)) {
bullet = eval (_root["bullet" + i]);
}
i++;
}
if (!bullet.hit) {
if (this.hitTest(bullet._x, bullet._y, true)) {
health = health - 10;
bullet.hit = true;
}
}
if (burning) {
health = health - 0.1;
o++;
duplicateMovieClip (_root.fire, "fire" + o, o);
_root["fire" + o].deadly = false;
_root["fire" + o]._x = _x;
_root["fire" + o]._y = _y;
if (o >= 60) {
o = 50;
}
}
}
if (dead) {
_y = (_y + grav);
grav = grav + 0.5;
_rotation = (_rotation-1);
i++;
duplicateMovieClip (_root.smoke, "s" + i, i);
_root["s" + i]._x = _x;
_root["s" + i]._y = _y;
if (_root.ground.hitTest(_x, _y, true)) {
gotoAndPlay ("explode");
dead = false;
}
}
}
Instance of Symbol 670 MovieClip "enemy10" in Frame 851
onClipEvent (load) {
turret.i = 40;
health = 50;
ready = false;
dead = false;
o = 50;
burning = false;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(_root.trigger2)) {
ready = true;
}
if (ready) {
if (health <= 0) {
ready = false;
dead = true;
grav = 0;
}
_name = "enemy";
if (turret.i >= 50) {
turret.i = 40;
}
_x = (_x - (((_x - _root.guy._x) + 100) / 10));
_rotation = (((_x - _root.guy._x) + 200) / 4);
_y = (_y - (((_y - _root.guy._y) + 150) / 10));
var i = 0;
while (i <= 30) {
if (_root["bullet" + i].hitTest(this)) {
bullet = eval (_root["bullet" + i]);
}
i++;
}
if (!bullet.hit) {
if (this.hitTest(bullet._x, bullet._y, true)) {
health = health - 10;
bullet.hit = true;
}
}
if (burning) {
health = health - 0.1;
o++;
duplicateMovieClip (_root.fire, "fire" + o, o);
_root["fire" + o].deadly = false;
_root["fire" + o]._x = _x;
_root["fire" + o]._y = _y;
if (o >= 60) {
o = 50;
}
}
}
if (dead) {
_y = (_y + grav);
grav = grav + 0.5;
_rotation = (_rotation-1);
i++;
duplicateMovieClip (_root.smoke, "s" + i, i);
_root["s" + i]._x = _x;
_root["s" + i]._y = _y;
if (_root.ground.hitTest(_x, _y, true)) {
gotoAndPlay ("explode");
dead = false;
}
}
}
Instance of Symbol 670 MovieClip "enemy12" in Frame 851
onClipEvent (load) {
turret.i = 50;
health = 50;
ready = false;
dead = false;
o = 50;
burning = false;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(_root.trigger2)) {
ready = true;
}
if (ready) {
if (health <= 0) {
ready = false;
dead = true;
grav = 0;
}
if (turret.i >= 60) {
turret.i = 50;
}
_x = (_x - (((_x - _root.guy._x) - 100) / 10));
_rotation = (((_x - _root.guy._x) - 200) / 4);
_y = (_y - (((_y - _root.guy._y) + 150) / 10));
var i = 0;
while (i <= 30) {
if (_root["bullet" + i].hitTest(this)) {
bullet = eval (_root["bullet" + i]);
}
i++;
}
if (!bullet.hit) {
if (this.hitTest(bullet._x, bullet._y, true)) {
health = health - 10;
bullet.hit = true;
}
}
if (burning) {
health = health - 0.1;
o++;
duplicateMovieClip (_root.fire, "fire" + o, o);
_root["fire" + o].deadly = false;
_root["fire" + o]._x = _x;
_root["fire" + o]._y = _y;
if (o >= 60) {
o = 50;
}
}
}
if (dead) {
_y = (_y + grav);
grav = grav + 0.5;
_rotation = (_rotation-1);
i++;
duplicateMovieClip (_root.smoke, "s" + i, i);
_root["s" + i]._x = _x;
_root["s" + i]._y = _y;
if (_root.ground.hitTest(_x, _y, true)) {
gotoAndPlay ("explode");
dead = false;
}
}
}
Instance of Symbol 577 MovieClip in Frame 851
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y)) {
if (_root.guy.speed >= 4) {
_root.guy.fallspeed = -(_root.guy.speed * 1.5);
}
}
}
Instance of Symbol 727 MovieClip in Frame 851
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy.energy = 100;
_root.guy.powerup = "fire";
_visible = false;
}
if (_root.guy.energy <= 0) {
_visible = true;
}
}
Instance of Symbol 902 MovieClip "enemy14" in Frame 851
onClipEvent (load) {
turret.i = 70;
health = 70;
ready = false;
dead = false;
o = 70;
burning = false;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(_root.trigger4)) {
ready = true;
}
if (ready) {
if (health <= 0) {
ready = false;
dead = true;
grav = 0;
}
if (turret.i >= 80) {
turret.i = 70;
}
_x = (_x - ((_x - _root.guy._x) / 5));
_rotation = ((_x - (_root.guy._x - (_root.guy.speed * 10))) / 4);
_y = (_y - (((_y - _root.guy._y) + 150) / 10));
var i = 0;
while (i <= 30) {
if (_root["bullet" + i].hitTest(this)) {
bullet = eval (_root["bullet" + i]);
}
i++;
}
if (!bullet.hit) {
if (this.hitTest(bullet._x, bullet._y, true)) {
health = health - 10;
bullet.hit = true;
}
}
if (burning) {
health = health - 0.1;
o++;
duplicateMovieClip (_root.fire, "fire" + o, o);
_root["fire" + o].deadly = false;
_root["fire" + o]._x = _x;
_root["fire" + o]._y = _y;
if (o >= 60) {
o = 50;
}
}
}
if (dead) {
_y = (_y + grav);
grav = grav + 0.5;
_rotation = (_rotation-1);
i++;
duplicateMovieClip (_root.smoke, "s" + i, i);
_root["s" + i]._x = _x;
_root["s" + i]._y = _y;
if (_root.ground.hitTest(_x, _y, true)) {
gotoAndPlay ("explode");
dead = false;
}
}
}
Instance of Symbol 670 MovieClip "enemy15" in Frame 851
onClipEvent (load) {
turret.i = 40;
health = 50;
ready = false;
dead = false;
o = 50;
burning = false;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(_root.trigger5)) {
ready = true;
}
if (ready) {
if (health <= 0) {
ready = false;
dead = true;
grav = 0;
}
_name = "enemy";
if (turret.i >= 50) {
turret.i = 40;
}
_x = (_x - (((_x - _root.guy._x) + 100) / 10));
_rotation = (((_x - _root.guy._x) + 200) / 4);
_y = (_y - (((_y - _root.guy._y) + 150) / 10));
var i = 0;
while (i <= 30) {
if (_root["bullet" + i].hitTest(this)) {
bullet = eval (_root["bullet" + i]);
}
i++;
}
if (!bullet.hit) {
if (this.hitTest(bullet._x, bullet._y, true)) {
health = health - 10;
bullet.hit = true;
}
}
if (burning) {
health = health - 0.1;
o++;
duplicateMovieClip (_root.fire, "fire" + o, o);
_root["fire" + o].deadly = false;
_root["fire" + o]._x = _x;
_root["fire" + o]._y = _y;
if (o >= 60) {
o = 50;
}
}
}
if (dead) {
_y = (_y + grav);
grav = grav + 0.5;
_rotation = (_rotation-1);
i++;
duplicateMovieClip (_root.smoke, "s" + i, i);
_root["s" + i]._x = _x;
_root["s" + i]._y = _y;
if (_root.ground.hitTest(_x, _y, true)) {
gotoAndPlay ("explode");
dead = false;
}
}
}
Instance of Symbol 670 MovieClip "enemy15" in Frame 851
onClipEvent (load) {
turret.i = 50;
health = 50;
ready = false;
dead = false;
o = 50;
burning = false;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(_root.trigger5)) {
ready = true;
}
if (ready) {
if (health <= 0) {
ready = false;
dead = true;
grav = 0;
}
if (turret.i >= 60) {
turret.i = 50;
}
_x = (_x - (((_x - _root.guy._x) - 100) / 10));
_rotation = (((_x - _root.guy._x) - 200) / 4);
_y = (_y - (((_y - _root.guy._y) + 150) / 10));
var i = 0;
while (i <= 30) {
if (_root["bullet" + i].hitTest(this)) {
bullet = eval (_root["bullet" + i]);
}
i++;
}
if (!bullet.hit) {
if (this.hitTest(bullet._x, bullet._y, true)) {
health = health - 10;
bullet.hit = true;
}
}
if (burning) {
health = health - 0.1;
o++;
duplicateMovieClip (_root.fire, "fire" + o, o);
_root["fire" + o].deadly = false;
_root["fire" + o]._x = _x;
_root["fire" + o]._y = _y;
if (o >= 60) {
o = 50;
}
}
}
if (dead) {
_y = (_y + grav);
grav = grav + 0.5;
_rotation = (_rotation-1);
i++;
duplicateMovieClip (_root.smoke, "s" + i, i);
_root["s" + i]._x = _x;
_root["s" + i]._y = _y;
if (_root.ground.hitTest(_x, _y, true)) {
gotoAndPlay ("explode");
dead = false;
}
}
}
Instance of Symbol 577 MovieClip "fuse" in Frame 851
onClipEvent (load) {
lit = false;
}
Instance of Symbol 727 MovieClip in Frame 851
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy.energy = 100;
_root.guy.powerup = "fire";
_visible = false;
this.swapDepths(999);
this.removeMovieClip(this);
}
}
Instance of Symbol 705 MovieClip in Frame 851
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (!hit) {
if (_root.guy.hitTest(this)) {
gotoAndPlay ("YAY");
_root.Cx = _x;
_root.Cy = _y;
hit = true;
}
}
}
Instance of Symbol 577 MovieClip "poop" in Frame 851
onClipEvent (enterFrame) {
_y = (_root.ground._y + _root.ground.lift._y);
}
Instance of Symbol 727 MovieClip in Frame 851
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy.energy = 100;
_root.guy.powerup = "fire";
_visible = false;
_y = 2000;
}
if (_root.guy.energy <= 0) {
_y = 1978;
_visible = true;
}
}
Instance of Symbol 727 MovieClip in Frame 851
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy.energy = 100;
_root.guy.powerup = "fire";
_visible = false;
_y = 2166;
}
if (_root.guy.energy <= 0) {
_y = 2104;
_visible = true;
}
}
Instance of Symbol 727 MovieClip in Frame 851
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy.energy = 100;
_root.guy.powerup = "fire";
_visible = false;
_y = 2166;
}
if (_root.guy.energy <= 0) {
_y = 2060;
_visible = true;
}
}
Instance of Symbol 577 MovieClip in Frame 851
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
hit = true;
}
if (hit) {
_root.boss = true;
_root.cam._xscale = _root.cam._xscale - ((_root.cam._xscale - 200) / 5);
_root.cam._yscale = _root.cam._yscale - ((_root.cam._yscale - 200) / 5);
}
}
Instance of Symbol 670 MovieClip "enemy22" in Frame 851
onClipEvent (load) {
turret.i = 50;
health = 50;
ready = true;
dead = false;
o = 200;
SIN = 90;
grav = 0;
}
onClipEvent (enterFrame) {
if (_root.boss) {
if (health <= 0) {
ready = false;
dead = true;
}
if (turret.i >= 60) {
turret.i = 50;
}
var i = 0;
while (i <= 30) {
if (_root["bullet" + i].hitTest(this)) {
bullet = eval (_root["bullet" + i]);
}
i++;
}
if (!bullet.hit) {
if (this.hitTest(bullet._x, bullet._y, true)) {
health = health - 10;
bullet.hit = true;
}
}
}
if (dead) {
_y = (_y + grav);
grav = grav + 0.5;
_rotation = (_rotation-1);
o++;
duplicateMovieClip (_root.smoke, "s" + o, o);
_root["s" + o]._x = _x;
_root["s" + o]._y = _y;
if (_root.ground.hitTest(_x, _y, true)) {
gotoAndPlay ("explode");
health = 100;
dead = false;
}
}
if (ready) {
SIN = SIN + 0.001;
Xspeed = 100 * Math.sin(SIN * 57.2957795130823);
Yspeed = 100 * Math.cos(SIN * 57.2957795130823);
_x = (2407 + Xspeed);
_y = (1906 + Yspeed);
}
}
Instance of Symbol 670 MovieClip "enemy23" in Frame 851
onClipEvent (load) {
turret.i = 60;
health = 50;
ready = true;
dead = false;
SIN = -90;
o = 150;
grav = 0;
}
onClipEvent (enterFrame) {
if (_root.boss) {
if (health <= 0) {
ready = false;
dead = true;
}
if (turret.i >= 70) {
turret.i = 60;
}
var i = 0;
while (i <= 30) {
if (_root["bullet" + i].hitTest(this)) {
bullet = eval (_root["bullet" + i]);
}
i++;
}
if (!bullet.hit) {
if (this.hitTest(bullet._x, bullet._y, true)) {
health = health - 10;
bullet.hit = true;
}
}
}
if (dead) {
_y = (_y + grav);
grav = grav + 0.5;
_rotation = (_rotation-1);
o++;
duplicateMovieClip (_root.smoke, "s" + o, o);
_root["s" + o]._x = _x;
_root["s" + o]._y = _y;
if (_root.ground.hitTest(_x, _y, true)) {
gotoAndPlay ("explode");
health = 100;
dead = false;
}
}
if (ready) {
SIN = SIN + 0.001;
Xspeed = 100 * Math.sin(SIN * 57.2957795130823);
Yspeed = 100 * Math.cos(SIN * 57.2957795130823);
_x = (2407 + Xspeed);
_y = (1906 + Yspeed);
}
}
Instance of Symbol 670 MovieClip "enemy21" in Frame 851
onClipEvent (load) {
turret.i = 40;
health = 50;
ready = true;
dead = false;
o = 100;
SIN = 0;
grav = 0;
}
onClipEvent (enterFrame) {
if (_root.boss) {
if (health <= 0) {
ready = false;
dead = true;
}
if (turret.i >= 50) {
turret.i = 40;
}
var i = 0;
while (i <= 30) {
if (_root["bullet" + i].hitTest(this)) {
bullet = eval (_root["bullet" + i]);
}
i++;
}
if (!bullet.hit) {
if (this.hitTest(bullet._x, bullet._y, true)) {
health = health - 10;
bullet.hit = true;
}
}
}
if (dead) {
_y = (_y + grav);
grav = grav + 0.5;
_rotation = (_rotation-1);
o++;
duplicateMovieClip (_root.smoke, "s" + o, o);
_root["s" + o]._x = _x;
_root["s" + o]._y = _y;
if (_root.ground.hitTest(_x, _y, true)) {
gotoAndPlay ("explode");
health = 100;
dead = false;
}
}
if (ready) {
SIN = SIN + 0.001;
Xspeed = 100 * Math.sin(SIN * 57.2957795130823);
Yspeed = 100 * Math.cos(SIN * 57.2957795130823);
_x = (2407 + Xspeed);
_y = (1906 + Yspeed);
}
}
Instance of Symbol 670 MovieClip "enemy24" in Frame 851
onClipEvent (load) {
turret.i = 70;
health = 50;
ready = true;
dead = false;
o = 250;
SIN = 130;
grav = 0;
}
onClipEvent (enterFrame) {
if (_root.boss) {
if (health <= 0) {
ready = false;
dead = true;
}
if (turret.i >= 80) {
turret.i = 70;
}
var i = 0;
while (i <= 30) {
if (_root["bullet" + i].hitTest(this)) {
bullet = eval (_root["bullet" + i]);
}
i++;
}
if (!bullet.hit) {
if (this.hitTest(bullet._x, bullet._y, true)) {
health = health - 10;
bullet.hit = true;
}
}
}
if (dead) {
_y = (_y + grav);
grav = grav + 0.5;
_rotation = (_rotation-1);
o++;
duplicateMovieClip (_root.smoke, "s" + o, o);
_root["s" + o]._x = _x;
_root["s" + o]._y = _y;
if (_root.ground.hitTest(_x, _y, true)) {
gotoAndPlay ("explode");
health = 100;
dead = false;
}
}
if (ready) {
SIN = SIN + 0.001;
Xspeed = 100 * Math.sin(SIN * 57.2957795130823);
Yspeed = 100 * Math.cos(SIN * 57.2957795130823);
_x = (2407 + Xspeed);
_y = (1906 + Yspeed);
}
}
Instance of Symbol 577 MovieClip in Frame 851
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
if (_root.guy.speed >= 10) {
_root.guy.speed = _root.guy.speed - (_root.guy.speed / 2);
}
}
}
Frame 852
stop();
Instance of Symbol 646 MovieClip "guy" in Frame 852
onClipEvent (load) {
speed = 10;
fallspeed = 0;
running = false;
turret.i = 0;
X = _x;
Y = _y;
_root.Cx = _x;
_root.Cy = _y;
powerup = " ";
energy = 0;
health = 100;
grounded = false;
CLICK = false;
}
onClipEvent (mouseDown) {
CLICK = true;
}
onClipEvent (mouseUp) {
CLICK = false;
}
onClipEvent (enterFrame) {
if (energy <= 0) {
powerup = " ";
}
if (turret.i >= 20) {
turret.i = 0;
}
if (Key.isDown(39)) {
_xscale = 100;
}
if (Key.isDown(37)) {
_xscale = -100;
}
while (_root.ground.hitTest(_x, _y + 9, true)) {
_y = (_y-1);
}
while (_root.ground.hitTest(_x, _y - 9, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x + 9, _y, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 9, _y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest(_x - 10, _y, true)) {
speed = speed * -0.5;
}
if (_root.ground.hitTest(_x + 10, _y, true)) {
speed = speed * -0.5;
}
_y = (_y + fallspeed);
if (_root.ground.hitTest(_x, _y - 10, true)) {
fallspeed = fallspeed * -0.5;
}
if (_root.ground.hitTest(_x, _y + 10, true)) {
if (!grounded) {
_root.L._y = _y;
_root.R._y = _y;
grounded = true;
}
_rotation = (_rotation - ((_rotation - ((_root.R._y - _root.L._y) * 10)) / 3));
if (fallspeed >= 5) {
fallspeed = fallspeed * -0.5;
} else {
fallspeed = 0;
}
speed = speed - (speed / 10);
if (Key.isDown(39) || (Key.isDown(65))) {
speed = speed - ((speed - 10) / 5);
}
if (Key.isDown(37) || (Key.isDown(68))) {
speed = speed - ((speed + 10) / 5);
}
} else {
fallspeed = fallspeed + 1;
grounded = false;
}
_x = (_x + speed);
delta_x = _x - _root._xmouse;
delta_y = _y - _root._ymouse;
turret._rotation = ((_xscale / 100) * ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180))) - ((_rotation * _xscale) / 100);
if (running) {
turret._y = turret._y - ((turret._y + 10) / 5);
} else {
turret._y = turret._y - ((turret._y - 3) / 3);
}
if (!_root.boss) {
_root.cam._y = _y - 50;
} else {
_root.cam._y = _y - 250;
}
if (health <= 0) {
speed = 0;
fallspeed = 0;
}
if (_root.lives <= 0) {
_root.gotoAndPlay("beginagen");
}
}
Instance of Symbol 577 MovieClip in Frame 852
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
_root.guy.fallspeed = 0;
_root.guy.speed = 0;
_root.play();
}
}
Frame 916
stop();
boss = false;
_quality = "HIGH";
_root.cam._x = _root.guy._x;
_root.cam._y = _root.guy._y;
_root.L._y = _root.guy._y;
_root.L._x = _root.guy._x - 3;
_root.R._y = _root.guy._y;
_root.R._x = _root.guy._x + 3;
_root.level = 4;
Instance of Symbol 913 MovieClip in Frame 916
onClipEvent (load) {
FALLSPEED = -10;
SPEED = 30;
}
Instance of Symbol 913 MovieClip in Frame 916
onClipEvent (load) {
FALLSPEED = -10;
SPEED = 30;
}
Instance of Symbol 913 MovieClip in Frame 916
onClipEvent (load) {
FALLSPEED = -10;
SPEED = 30;
}
Instance of Symbol 914 MovieClip in Frame 916
onClipEvent (load) {
FALLSPEED = -30;
SPEED = -10;
_xscale = -100;
}
Instance of Symbol 913 MovieClip in Frame 916
onClipEvent (load) {
FALLSPEED = -10;
SPEED = 30;
_xscale = -100;
}
Instance of Symbol 914 MovieClip in Frame 916
onClipEvent (load) {
FALLSPEED = -30;
SPEED = -10;
}
Instance of Symbol 913 MovieClip in Frame 916
onClipEvent (load) {
FALLSPEED = -10;
SPEED = 30;
}
Instance of Symbol 913 MovieClip in Frame 916
onClipEvent (load) {
FALLSPEED = -10;
SPEED = 30;
}
Instance of Symbol 914 MovieClip in Frame 916
onClipEvent (load) {
FALLSPEED = -30;
SPEED = -10;
_xscale = -100;
}
Instance of Symbol 914 MovieClip in Frame 916
onClipEvent (load) {
FALLSPEED = -30;
SPEED = -10;
}
Instance of Symbol 913 MovieClip in Frame 916
onClipEvent (load) {
FALLSPEED = -10;
SPEED = 30;
}
Instance of Symbol 646 MovieClip "guy" in Frame 916
onClipEvent (load) {
speed = 0;
fallspeed = 5;
running = false;
turret.i = 0;
X = _x;
Y = _y;
_root.Cx = _x;
_root.Cy = _y;
powerup = " ";
energy = 0;
health = 100;
grounded = false;
CLICK = false;
_root.cam._visible = false;
}
onClipEvent (mouseDown) {
CLICK = true;
}
onClipEvent (mouseUp) {
CLICK = false;
}
onClipEvent (enterFrame) {
if (!_visible) {
speed = 0;
fallspeed = 0;
}
if (energy <= 0) {
powerup = " ";
}
if (turret.i >= 20) {
turret.i = 0;
}
if (Key.isDown(39) || (Key.isDown(68))) {
_xscale = 100;
}
if (Key.isDown(37) || (Key.isDown(65))) {
_xscale = -100;
}
while (_root.ground.hitTest(_x, _y + 9, true)) {
_y = (_y-1);
}
while (_root.ground.hitTest(_x, _y - 9, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x + 9, _y, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 9, _y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest(_x - 10, _y, true)) {
speed = speed * -0.5;
}
if (_root.ground.hitTest(_x + 10, _y, true)) {
speed = speed * -0.5;
}
_y = (_y + fallspeed);
if (_root.ground.hitTest(_x, _y - 10, true)) {
fallspeed = fallspeed * -0.5;
}
if (_root.ground.hitTest(_x, _y + 10, true)) {
if (!grounded) {
_root.L._y = _y;
_root.R._y = _y;
grounded = true;
}
_rotation = (_rotation - ((_rotation - ((_root.R._y - _root.L._y) * 10)) / 3));
if (fallspeed >= 5) {
fallspeed = fallspeed * -0.5;
} else {
fallspeed = 0;
}
speed = speed - (speed / 10);
if (Key.isDown(39) || (Key.isDown(68))) {
speed = speed - ((speed - 10) / 5);
}
if (Key.isDown(37) || (Key.isDown(65))) {
speed = speed - ((speed + 10) / 5);
}
} else {
fallspeed = fallspeed + 1;
grounded = false;
}
_x = (_x + speed);
delta_x = _x - _root._xmouse;
delta_y = _y - _root._ymouse;
turret._rotation = ((_xscale / 100) * ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180))) - ((_rotation * _xscale) / 100);
if (running) {
turret._y = turret._y - ((turret._y + 10) / 5);
} else {
turret._y = turret._y - ((turret._y - 3) / 3);
}
if (!_root.boss) {
_root.cam._y = _y - 50;
} else {
_root.cam._y = _y - 250;
}
if (health <= 0) {
speed = 0;
fallspeed = 0;
}
if (_root.lives <= 0) {
_root.gotoAndPlay("beginagen");
}
}
Instance of Symbol 627 MovieClip "bullet" in Frame 916
onClipEvent (load) {
speed = 20;
X = speed * Math.sin(_rotation * (Math.PI/180));
Y = speed * Math.cos(_rotation * (Math.PI/180));
}
onClipEvent (enterFrame) {
if (!hit) {
_x = (_x + X);
_y = (_y - Y);
if (_root.ground.hitTest((_x + 10) || (_x - 10), (_y + 10) || (_y - 10), true)) {
if (this.hitTest(_root.guy._x, _root.guy._y, true)) {
delta_x = _x - _root.guy._x;
delta_y = _y - _root.guy._y;
R = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_root.guy.speed = 10 * Math.sin(R * (Math.PI/180));
_root.guy.fallspeed = -15 * Math.cos(R * (Math.PI/180));
}
hit = true;
}
}
}
Instance of Symbol 673 MovieClip "ebullet" in Frame 916
onClipEvent (load) {
speed = 10;
X = speed * Math.sin(_rotation * (Math.PI/180));
Y = speed * Math.cos(_rotation * (Math.PI/180));
}
onClipEvent (enterFrame) {
if (!hit) {
_x = (_x + (X * 2));
_y = (_y - Y);
if (_root.ground.hitTest(_x, _y, true)) {
if (this.hitTest(_root.guy._x, _root.guy._y, true)) {
_root.guy.health = _root.guy.health - 10;
delta_x = _x - _root.guy._x;
delta_y = _y - _root.guy._y;
R = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
_root.guy.speed = 10 * Math.sin(R * (Math.PI/180));
_root.guy.fallspeed = -15 * Math.cos(R * (Math.PI/180));
}
hit = true;
}
}
}
Instance of Symbol 675 MovieClip "smoke" in Frame 916
onClipEvent (load) {
X = 1 - (Math.random() * 2);
Y = 1 + Math.random();
_xscale = (90 + (Math.random() * 20));
_yscale = _xscale;
}
onClipEvent (enterFrame) {
if (_name != "smoke") {
_x = (_x + X);
_y = (_y - Y);
_alpha = (_alpha - 2);
_xscale = (_xscale+1);
_yscale = _xscale;
if (_alpha <= 0) {
this.removeMovieClip(this);
}
}
}
Instance of Symbol 734 MovieClip "fire" in Frame 916
onClipEvent (load) {
speed = 10;
RAND = 2 - (Math.random() * 4);
X = RAND + (speed * Math.sin(_rotation * (Math.PI/180)));
Y = RAND + (speed * Math.cos(_rotation * (Math.PI/180)));
_xscale = (100 + (RAND * 5));
_yscale = _xscale;
i = 0;
deadly = true;
}
onClipEvent (enterFrame) {
_x = (_x + X);
if (!hit) {
_y = (_y - Y);
if (deadly) {
if (this.hitTest(_root.enemy)) {
_root.enemy.burning = true;
_root.enemy.health = _root.enemy.health - 2;
hit = true;
}
}
if (deadly) {
if (this.hitTest(_root.rope)) {
_root.rope.burning = true;
_root.rope.health = _root.rope.health - 2;
}
}
if (_root.fuse.hitTest(this)) {
_root.fuse.lit = true;
}
if (_root.ground.hitTest(_x, _y, true)) {
hit = true;
}
}
if (_name != "fire") {
_alpha = (_alpha - 4);
_xscale = (_xscale - 4);
_yscale = _xscale;
if ((_alpha <= 0) || (_xscale <= 0)) {
this.removeMovieClip(this);
}
} else {
_visible = false;
}
}
Instance of Symbol 864 MovieClip "water" in Frame 916
onClipEvent (load) {
speed = 20;
RAND = 2 - (Math.random() * 4);
X = RAND + (speed * Math.sin(_rotation * (Math.PI/180)));
Y = RAND + (speed * Math.cos(_rotation * (Math.PI/180)));
_xscale = (100 + (RAND * 5));
_yscale = _xscale;
i = 0;
hit = false;
}
onClipEvent (enterFrame) {
_x = (_x + X);
_y = (_y - Y);
Y--;
if (!hit) {
if (this.hitTest(_root.ground["gyzer" + letter])) {
_root.ground["gyzer" + letter].fallspeed = _root.ground["gyzer" + letter].fallspeed - 0.5;
Y = Y - (Y * 1.5);
hit - true;
}
}
if (_name != "water") {
_alpha = (_alpha - 2);
_xscale = (_xscale - 2);
_yscale = _xscale;
if ((_alpha <= 0) || (_xscale <= 0)) {
this.removeMovieClip(this);
}
} else {
_visible = false;
}
}
Instance of Symbol 622 MovieClip "cam" in Frame 916
onClipEvent (enterFrame) {
_x = (_x - (((_x - _root.guy._x) - 100) / 3));
}
Instance of Symbol 577 MovieClip in Frame 916
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
_root.guy.fallspeed = 0;
_root.guy.speed = 0;
_root.play();
}
}
Frame 991
gotoAndPlay ("beginagen");
Symbol 9 MovieClip Frame 1
var copyrightNotice = "Copyright (c) 2006-2007 Sockpuppet Pty Ltd. All Rights Reserved. http://www.reanimator.net";
var reanimator = (new flash.geom.Transform(this));
var camera = (new flash.geom.Transform(this._parent));
var w = Stage.width;
var h = Stage.height;
this._visible = false;
this.onEnterFrame = function () {
this._parent.filters = this.filters;
var _local2 = reanimator.matrix;
camera.colorTransform = reanimator.colorTransform;
_local2.invert();
_local2.translate(w * 0.5, h * 0.5);
camera.matrix = _local2;
};
Instance of Symbol 17 MovieClip in Symbol 22 MovieClip Frame 1
onClipEvent (load) {
speed = 1 + (Math.random() * 3);
}
onClipEvent (enterFrame) {
_y = (_y + speed);
_yscale = _xscale;
if (_y >= 70) {
_y = -15;
speed = Math.random() * 3;
_x = (3 - (Math.random() * 6));
_xscale = (10 + (Math.random() * 20));
}
}
Instance of Symbol 17 MovieClip in Symbol 22 MovieClip Frame 1
onClipEvent (load) {
speed = 1 + (Math.random() * 3);
}
onClipEvent (enterFrame) {
_y = (_y + speed);
_yscale = _xscale;
if (_y >= 70) {
_y = -15;
speed = Math.random() * 3;
_x = (3 - (Math.random() * 6));
_xscale = (10 + (Math.random() * 20));
}
}
Instance of Symbol 17 MovieClip in Symbol 22 MovieClip Frame 1
onClipEvent (load) {
speed = 1 + (Math.random() * 3);
}
onClipEvent (enterFrame) {
_y = (_y + speed);
_yscale = _xscale;
if (_y >= 70) {
_y = -15;
speed = Math.random() * 3;
_x = (3 - (Math.random() * 6));
_xscale = (10 + (Math.random() * 20));
}
}
Instance of Symbol 17 MovieClip in Symbol 22 MovieClip Frame 1
onClipEvent (load) {
speed = 1 + (Math.random() * 3);
}
onClipEvent (enterFrame) {
_y = (_y + speed);
_yscale = _xscale;
if (_y >= 70) {
_y = -15;
speed = Math.random() * 3;
_x = (3 - (Math.random() * 6));
_xscale = (10 + (Math.random() * 20));
}
}
Symbol 22 MovieClip Frame 100
stop();
_root.play();
Symbol 38 Button
on (release) {
getURL ("http://www.maxgames.com", _blank);
}
Symbol 45 Button
on (release) {
getURL ("http://www.maxgames.com", _blank);
}
Symbol 50 MovieClip Frame 13
stop();
Symbol 84 MovieClip Frame 2
if (!_parent.ready) {
gotoAndPlay (1);
}
Symbol 84 MovieClip Frame 30
X = 30 * Math.sin(_rotation * (Math.PI/180));
Y = 30 * Math.cos(_rotation * (Math.PI/180));
i++;
duplicateMovieClip (_root.ebullet, "ebullet" + i, i);
_root["ebullet" + i]._x = _parent._x + (X * 2);
_root["ebullet" + i]._y = _parent._y - Y;
_root["ebullet" + i]._rotation = _parent._rotation + _rotation;
Instance of Symbol 84 MovieClip "turret" in Symbol 86 MovieClip Frame 1
onClipEvent (enterFrame) {
delta_x = _parent._x - _root.guy._x;
delta_y = _parent._y - _root.guy._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
}
Symbol 96 Button
on (release) {
_root.gotoAndPlay("COLOUR SELECT");
}
Symbol 97 Button
on (release) {
_root.gotoAndPlay("CANNON");
}
Symbol 100 Button
on (release) {
getURL ("http://www.maxgames.com", _blank);
}
Symbol 105 MovieClip Frame 3
stop();
Symbol 106 MovieClip Frame 4
stop();
Symbol 107 MovieClip Frame 4
stop();
Symbol 108 Button
on (release) {
_root.colour = "0x000000";
}
Symbol 109 Button
on (release) {
_root.colour = "0xFFFFFF";
}
Symbol 110 Button
on (release) {
_root.colour = "0xFF0000";
}
Symbol 111 Button
on (release) {
_root.colour = "0x00FF00";
}
Symbol 112 Button
on (release) {
_root.colour = "0x0000FF";
}
Symbol 113 Button
on (release) {
_root.colour = "0xFFFF00";
}
Symbol 114 Button
on (release) {
_root.colour = "0x00FFFF";
}
Symbol 115 Button
on (release) {
_root.colour = "0xFF00FF";
}
Symbol 116 Button
on (release) {
_root.colour = "0x996600";
}
Symbol 117 Button
on (release) {
_root.colour = "0xFF9900";
}
Symbol 118 Button
on (release) {
_root.icolour = "0x000000";
}
Symbol 119 Button
on (release) {
_root.icolour = "0xFFFFFF";
}
Symbol 120 Button
on (release) {
_root.icolour = "0xFF0000";
}
Symbol 121 Button
on (release) {
_root.icolour = "0x00FF00";
}
Symbol 122 Button
on (release) {
_root.icolour = "0x0000FF";
}
Symbol 123 Button
on (release) {
_root.icolour = "0xFFFF00";
}
Symbol 124 Button
on (release) {
_root.icolour = "0x00FFFF";
}
Symbol 125 Button
on (release) {
_root.icolour = "0xFF00FF";
}
Symbol 126 Button
on (release) {
_root.icolour = "0x996600";
}
Symbol 127 Button
on (release) {
_root.icolour = "0xFF9900";
}
Symbol 128 Button
on (release) {
_root.scolour = "0x000000";
}
Symbol 129 Button
on (release) {
_root.scolour = "0xFFFFFF";
}
Symbol 130 Button
on (release) {
_root.scolour = "0xFF0000";
}
Symbol 131 Button
on (release) {
_root.scolour = "0x00FF00";
}
Symbol 132 Button
on (release) {
_root.scolour = "0x0000FF";
}
Symbol 133 Button
on (release) {
_root.scolour = "0xFFFF00";
}
Symbol 134 Button
on (release) {
_root.scolour = "0x00FFFF";
}
Symbol 135 Button
on (release) {
_root.scolour = "0xFF00FF";
}
Symbol 136 Button
on (release) {
_root.scolour = "0x996600";
}
Symbol 137 Button
on (release) {
_root.scolour = "0xFF9900";
}
Symbol 142 Button
on (release) {
_root.colour = "0xFFCC99";
}
Symbol 143 Button
on (release) {
_root.icolour = "0xFFCC99";
}
Symbol 144 Button
on (release) {
_root.scolour = "0xFFCC99";
}
Symbol 149 Button
on (release) {
gotoAndPlay (221);
}
Symbol 155 MovieClip Frame 2
if (!Key.isDown(77)) {
gotoAndPlay (1);
}
Symbol 155 MovieClip Frame 16
if (!Key.isDown(77)) {
gotoAndPlay (15);
}
Symbol 161 MovieClip Frame 1
if (_root.guy.LEVEL >= 2) {
gotoAndPlay ("LVL2");
}
Symbol 161 MovieClip Frame 2
if (!hit) {
gotoAndPlay (1);
} else {
gotoAndPlay ("death");
}
Symbol 161 MovieClip Frame 3
if (_root.guy.LEVEL >= 8) {
gotoAndPlay ("LVL3");
}
Symbol 161 MovieClip Frame 4
if (!hit) {
gotoAndPlay ("LVL2");
} else {
gotoAndPlay ("death");
}
Symbol 161 MovieClip Frame 6
if (!hit) {
gotoAndPlay ("LVL3");
} else {
gotoAndPlay ("death");
}
Symbol 161 MovieClip Frame 14
this.removeMovieClip(this);
Instance of Symbol 17 MovieClip "R1" in Symbol 162 MovieClip Frame 1
onClipEvent (load) {
speed = 0;
R = 0;
ready = true;
i = 0;
}
onClipEvent (enterFrame) {
if (_parent.R1._x >= (_root.cam._x + (_root.cam._width / 2))) {
_x = ((_root.cam._x - (_root.cam._width / 2)) + 1);
}
if (_parent.R1._x <= (_root.cam._x - (_root.cam._width / 2))) {
_x = ((_root.cam._x + (_root.cam._width / 2)) - 1);
}
if (_parent.R1._y >= (_root.cam._y + (_root.cam._height / 2))) {
_y = ((_root.cam._y - (_root.cam._height / 2)) + 1);
}
if (_parent.R1._y <= (_root.cam._y - (_root.cam._height / 2))) {
_y = ((_root.cam._y + (_root.cam._height / 2)) - 1);
}
if (i >= 10) {
i = 0;
}
xSpeed = speed * Math.sin(_rotation * (Math.PI/180));
ySpeed = speed * Math.cos(_rotation * (Math.PI/180));
_x = (_x + xSpeed);
_y = (_y - ySpeed);
if (Key.isDown(37)) {
speed++;
R--;
}
if (Key.isDown(39)) {
speed++;
R++;
}
_rotation = (_rotation + R);
R = R - (R / 5);
speed = speed - (speed / 10);
_xscale = (_xscale - ((_xscale - 100) / 5));
if (Key.isDown(32)) {
if (ready == true) {
_xscale = 200;
ready = false;
i++;
duplicateMovieClip (_root.b, "b" + i, i);
_root["b" + i]._x = _x + (40 * Math.sin(_rotation * (Math.PI/180)));
_root["b" + i]._y = _y - (40 * Math.cos(_rotation * (Math.PI/180)));
_root["b" + i]._rotation = _rotation;
}
} else {
ready = true;
}
_yscale = _xscale;
}
Instance of Symbol 17 MovieClip "R2" in Symbol 162 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - ((_x - _parent.R1._x) / 1.1));
_y = (_y - ((_y - _parent.R1._y) / 1.1));
_xscale = (_xscale - ((_xscale - _parent.R1._xscale) / 1.1));
if (_parent.R1._x >= (_root.cam._x + (_root.cam._width / 2))) {
_x = ((_root.cam._x - (_root.cam._width / 2)) + 1);
}
if (_parent.R1._x <= (_root.cam._x - (_root.cam._width / 2))) {
_x = ((_root.cam._x + (_root.cam._width / 2)) - 1);
}
if (_parent.R1._y >= (_root.cam._y + (_root.cam._height / 2))) {
_y = ((_root.cam._y - (_root.cam._height / 2)) + 1);
}
if (_parent.R1._y <= (_root.cam._y - (_root.cam._height / 2))) {
_y = ((_root.cam._y + (_root.cam._height / 2)) - 1);
}
_yscale = _xscale;
}
Instance of Symbol 17 MovieClip "R3" in Symbol 162 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - ((_x - _parent.R2._x) / 1.1));
_y = (_y - ((_y - _parent.R2._y) / 1.1));
_xscale = (_xscale - ((_xscale - _parent.R2._xscale) / 1.1));
if (_parent.R1._x >= (_root.cam._x + (_root.cam._width / 2))) {
_x = ((_root.cam._x - (_root.cam._width / 2)) + 1);
}
if (_parent.R1._x <= (_root.cam._x - (_root.cam._width / 2))) {
_x = ((_root.cam._x + (_root.cam._width / 2)) - 1);
}
if (_parent.R1._y >= (_root.cam._y + (_root.cam._height / 2))) {
_y = ((_root.cam._y - (_root.cam._height / 2)) + 1);
}
if (_parent.R1._y <= (_root.cam._y - (_root.cam._height / 2))) {
_y = ((_root.cam._y + (_root.cam._height / 2)) - 1);
}
_yscale = _xscale;
}
Instance of Symbol 17 MovieClip "R4" in Symbol 162 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - ((_x - _parent.R3._x) / 1.1));
_y = (_y - ((_y - _parent.R3._y) / 1.1));
_xscale = (_xscale - ((_xscale - _parent.R3._xscale) / 1.1));
if (_parent.R1._x >= (_root.cam._x + (_root.cam._width / 2))) {
_x = ((_root.cam._x - (_root.cam._width / 2)) + 1);
}
if (_parent.R1._x <= (_root.cam._x - (_root.cam._width / 2))) {
_x = ((_root.cam._x + (_root.cam._width / 2)) - 1);
}
if (_parent.R1._y >= (_root.cam._y + (_root.cam._height / 2))) {
_y = ((_root.cam._y - (_root.cam._height / 2)) + 1);
}
if (_parent.R1._y <= (_root.cam._y - (_root.cam._height / 2))) {
_y = ((_root.cam._y + (_root.cam._height / 2)) - 1);
}
_yscale = _xscale;
}
Instance of Symbol 17 MovieClip "R5" in Symbol 162 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - ((_x - _parent.R4._x) / 1.1));
_y = (_y - ((_y - _parent.R4._y) / 1.1));
_xscale = (_xscale - ((_xscale - _parent.R4._xscale) / 1.1));
if (_parent.R1._x >= (_root.cam._x + (_root.cam._width / 2))) {
_x = ((_root.cam._x - (_root.cam._width / 2)) + 1);
}
if (_parent.R1._x <= (_root.cam._x - (_root.cam._width / 2))) {
_x = ((_root.cam._x + (_root.cam._width / 2)) - 1);
}
if (_parent.R1._y >= (_root.cam._y + (_root.cam._height / 2))) {
_y = ((_root.cam._y - (_root.cam._height / 2)) + 1);
}
if (_parent.R1._y <= (_root.cam._y - (_root.cam._height / 2))) {
_y = ((_root.cam._y + (_root.cam._height / 2)) - 1);
}
_yscale = _xscale;
}
Instance of Symbol 17 MovieClip "R6" in Symbol 162 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - ((_x - _parent.R5._x) / 1.1));
_y = (_y - ((_y - _parent.R5._y) / 1.1));
_xscale = (_xscale - ((_xscale - _parent.R5._xscale) / 1.1));
if (_parent.R1._x >= (_root.cam._x + (_root.cam._width / 2))) {
_x = ((_root.cam._x - (_root.cam._width / 2)) + 1);
}
if (_parent.R1._x <= (_root.cam._x - (_root.cam._width / 2))) {
_x = ((_root.cam._x + (_root.cam._width / 2)) - 1);
}
if (_parent.R1._y >= (_root.cam._y + (_root.cam._height / 2))) {
_y = ((_root.cam._y - (_root.cam._height / 2)) + 1);
}
if (_parent.R1._y <= (_root.cam._y - (_root.cam._height / 2))) {
_y = ((_root.cam._y + (_root.cam._height / 2)) - 1);
}
_yscale = _xscale;
}
Instance of Symbol 17 MovieClip "R7" in Symbol 162 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - ((_x - _parent.R6._x) / 1.1));
_y = (_y - ((_y - _parent.R6._y) / 1.1));
_xscale = (_xscale - ((_xscale - _parent.R6._xscale) / 1.1));
if (_parent.R1._x >= (_root.cam._x + (_root.cam._width / 2))) {
_x = ((_root.cam._x - (_root.cam._width / 2)) + 1);
}
if (_parent.R1._x <= (_root.cam._x - (_root.cam._width / 2))) {
_x = ((_root.cam._x + (_root.cam._width / 2)) - 1);
}
if (_parent.R1._y >= (_root.cam._y + (_root.cam._height / 2))) {
_y = ((_root.cam._y - (_root.cam._height / 2)) + 1);
}
if (_parent.R1._y <= (_root.cam._y - (_root.cam._height / 2))) {
_y = ((_root.cam._y + (_root.cam._height / 2)) - 1);
}
_yscale = _xscale;
}
Instance of Symbol 166 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
_yscale = (_yscale - ((_yscale - _root.EXP) / 5));
}
Instance of Symbol 166 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
_yscale = (_root.guy.health - 7);
}
Instance of Symbol 170 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_root.guy.health * -4);
}
Instance of Symbol 173 MovieClip "FLASH" in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = (_alpha - ((_alpha + 10) / 10));
}
Instance of Symbol 177 MovieClip "HUD" in Symbol 178 MovieClip Frame 1
/* no clip actions */
Symbol 180 Button
on (release) {
gotoAndPlay (219);
}
Symbol 182 MovieClip Frame 2
if (!hit) {
gotoAndPlay (1);
}
Symbol 182 MovieClip Frame 10
this.removeMovieClip(this);
Symbol 218 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 86
_x = -160;
Symbol 225 MovieClip Frame 2
if (!hit) {
gotoAndPlay (1);
}
Symbol 225 MovieClip Frame 10
this.removeMovieClip(this);
Symbol 239 MovieClip Frame 40
_parent.aiming = false;
_parent.n++;
duplicateMovieClip (_root.e, "e" + _parent.n, _parent.n);
_root["e" + _parent.n]._x = _parent._x;
_root["e" + _parent.n]._y = _parent._y;
_root["e" + _parent.n]._rotation = _rotation;
Symbol 239 MovieClip Frame 44
_parent.n++;
duplicateMovieClip (_root.e, "e" + _parent.n, _parent.n);
_root["e" + _parent.n]._x = _parent._x;
_root["e" + _parent.n]._y = _parent._y;
_root["e" + _parent.n]._rotation = _rotation;
Symbol 239 MovieClip Frame 48
_parent.n++;
duplicateMovieClip (_root.e, "e" + _parent.n, _parent.n);
_root["e" + _parent.n]._x = _parent._x;
_root["e" + _parent.n]._y = _parent._y;
_root["e" + _parent.n]._rotation = _rotation;
Symbol 239 MovieClip Frame 52
_parent.n++;
duplicateMovieClip (_root.e, "e" + _parent.n, _parent.n);
_root["e" + _parent.n]._x = _parent._x;
_root["e" + _parent.n]._y = _parent._y;
_root["e" + _parent.n]._rotation = _rotation;
Symbol 239 MovieClip Frame 56
_parent.n++;
duplicateMovieClip (_root.e, "e" + _parent.n, _parent.n);
_root["e" + _parent.n]._x = _parent._x;
_root["e" + _parent.n]._y = _parent._y;
_root["e" + _parent.n]._rotation = _rotation;
Symbol 239 MovieClip Frame 65
_parent.aiming = true;
Symbol 239 MovieClip Frame 70
gotoAndPlay ("ready");
Instance of Symbol 247 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_parent.XP / 5);
_y = (_parent.YP / 5);
}
Symbol 257 MovieClip Frame 2
if (dead) {
gotoAndPlay ("dead");
}
if (!hit) {
gotoAndPlay ("ready");
}
Symbol 257 MovieClip Frame 4
hit = false;
Symbol 257 MovieClip Frame 8
gotoAndPlay ("ready");
Symbol 257 MovieClip Frame 16
stop();
_root.enemycount--;
_root.EXP = _root.EXP + 10;
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 258 Button
on (release) {
getURL ("http://www.maxgames.com", _blank);
}
Symbol 278 MovieClip Frame 11
if (dead) {
gotoAndPlay ("dead");
}
if (!hit) {
gotoAndPlay ("ready");
}
Symbol 278 MovieClip Frame 13
hit = false;
Symbol 278 MovieClip Frame 17
gotoAndPlay ("ready");
Symbol 278 MovieClip Frame 25
stop();
_root.enemycount--;
_root.EXP = _root.EXP + 5;
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 292 MovieClip Frame 10
if (dead) {
gotoAndPlay ("dead");
}
if (!hit) {
gotoAndPlay ("ready");
}
Symbol 292 MovieClip Frame 12
hit = false;
Symbol 292 MovieClip Frame 16
gotoAndPlay ("ready");
Symbol 292 MovieClip Frame 24
stop();
_root.enemycount--;
_root.EXP = _root.EXP + 10;
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 299 MovieClip Frame 1
_visible = false;
Symbol 299 MovieClip Frame 2
_visible = true;
Symbol 299 MovieClip Frame 7
stop();
Instance of Symbol 166 MovieClip in Symbol 365 MovieClip Frame 61
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy.R1._x, _root.guy.R1._y, true)) {
_root.guy.health = _root.guy.health - 2;
_root.EXP = _root.EXP - 1;
}
if (this.hitTest(_root.guy.R2._x, _root.guy.R2._y, true)) {
_root.guy.health = _root.guy.health - 2;
_root.EXP = _root.EXP - 1;
}
if (this.hitTest(_root.guy.R3._x, _root.guy.R3._y, true)) {
_root.guy.health = _root.guy.health - 2;
_root.EXP = _root.EXP - 1;
}
if (this.hitTest(_root.guy.R4._x, _root.guy.R4._y, true)) {
_root.guy.health = _root.guy.health - 2;
_root.EXP = _root.EXP - 1;
}
if (this.hitTest(_root.guy.R5._x, _root.guy.R5._y, true)) {
_root.guy.health = _root.guy.health - 2;
}
if (this.hitTest(_root.guy.R6._x, _root.guy.R6._y, true)) {
_root.guy.health = _root.guy.health - 2;
_root.EXP = _root.EXP - 1;
}
if (this.hitTest(_root.guy.R7._x, _root.guy.R7._y, true)) {
_root.guy.health = _root.guy.health - 2;
_root.EXP = _root.EXP - 1;
}
}
Symbol 368 MovieClip Frame 10
if (dead) {
gotoAndPlay ("dead");
}
if (!hit) {
gotoAndPlay ("ready");
}
Symbol 368 MovieClip Frame 12
hit = false;
Symbol 368 MovieClip Frame 16
gotoAndPlay ("ready");
Symbol 368 MovieClip Frame 24
stop();
_root.enemycount--;
_root.EXP = _root.EXP + 10;
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 379 MovieClip Frame 60
_parent.n++;
duplicateMovieClip (_root.e, "e" + _parent.n, _parent.n);
_root["e" + _parent.n]._x = _parent._x;
_root["e" + _parent.n]._y = _parent._y;
_root["e" + _parent.n]._rotation = _parent._rotation;
_parent.n++;
duplicateMovieClip (_root.e, "e" + _parent.n, _parent.n);
_root["e" + _parent.n]._x = _parent._x;
_root["e" + _parent.n]._y = _parent._y;
_root["e" + _parent.n]._rotation = _parent._rotation + 45;
_parent.n++;
duplicateMovieClip (_root.e, "e" + _parent.n, _parent.n);
_root["e" + _parent.n]._x = _parent._x;
_root["e" + _parent.n]._y = _parent._y;
_root["e" + _parent.n]._rotation = _parent._rotation + 90;
_parent.n++;
duplicateMovieClip (_root.e, "e" + _parent.n, _parent.n);
_root["e" + _parent.n]._x = _parent._x;
_root["e" + _parent.n]._y = _parent._y;
_root["e" + _parent.n]._rotation = _parent._rotation + 135;
_parent.n++;
duplicateMovieClip (_root.e, "e" + _parent.n, _parent.n);
_root["e" + _parent.n]._x = _parent._x;
_root["e" + _parent.n]._y = _parent._y;
_root["e" + _parent.n]._rotation = _parent._rotation + 180;
_parent.n++;
duplicateMovieClip (_root.e, "e" + _parent.n, _parent.n);
_root["e" + _parent.n]._x = _parent._x;
_root["e" + _parent.n]._y = _parent._y;
_root["e" + _parent.n]._rotation = _parent._rotation - 45;
_parent.n++;
duplicateMovieClip (_root.e, "e" + _parent.n, _parent.n);
_root["e" + _parent.n]._x = _parent._x;
_root["e" + _parent.n]._y = _parent._y;
_root["e" + _parent.n]._rotation = _parent._rotation - 90;
_parent.n++;
duplicateMovieClip (_root.e, "e" + _parent.n, _parent.n);
_root["e" + _parent.n]._x = _parent._x;
_root["e" + _parent.n]._y = _parent._y;
_root["e" + _parent.n]._rotation = _parent._rotation - 135;
Symbol 387 MovieClip Frame 2
if (dead) {
gotoAndPlay ("dead");
}
if (!hit) {
gotoAndPlay ("ready");
}
Symbol 387 MovieClip Frame 4
hit = false;
Symbol 387 MovieClip Frame 8
gotoAndPlay ("ready");
Symbol 387 MovieClip Frame 16
stop();
_root.enemycount--;
_root.EXP = _root.EXP + 30;
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 393 MovieClip Frame 1
_visible = false;
Symbol 393 MovieClip Frame 2
_visible = true;
Symbol 393 MovieClip Frame 7
stop();
Instance of Symbol 17 MovieClip in Symbol 420 MovieClip Frame 59
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy.R1._x, _root.guy.R1._y, true)) {
_root.guy.health = _root.guy.health - 0.3;
_root.EXP = _root.EXP - 3;
}
if (this.hitTest(_root.guy.R2._x, _root.guy.R2._y, true)) {
_root.guy.health = _root.guy.health - 0.3;
_root.EXP = _root.EXP - 3;
}
if (this.hitTest(_root.guy.R3._x, _root.guy.R3._y, true)) {
_root.guy.health = _root.guy.health - 0.3;
_root.EXP = _root.EXP - 3;
}
if (this.hitTest(_root.guy.R4._x, _root.guy.R4._y, true)) {
_root.guy.health = _root.guy.health - 0.3;
_root.EXP = _root.EXP - 3;
}
if (this.hitTest(_root.guy.R5._x, _root.guy.R5._y, true)) {
_root.guy.health = _root.guy.health - 0.3;
_root.EXP = _root.EXP - 3;
}
if (this.hitTest(_root.guy.R6._x, _root.guy.R6._y, true)) {
_root.guy.health = _root.guy.health - 0.3;
_root.EXP = _root.EXP - 3;
}
if (this.hitTest(_root.guy.R7._x, _root.guy.R7._y, true)) {
_root.guy.health = _root.guy.health - 0.3;
_root.EXP = _root.EXP - 3;
}
}
Instance of Symbol 420 MovieClip in Symbol 422 MovieClip Frame 9
/* no clip actions */
Symbol 422 MovieClip Frame 10
if (dead) {
gotoAndPlay ("dead");
}
if (!hit) {
gotoAndPlay ("ready");
}
Symbol 422 MovieClip Frame 12
hit = false;
Symbol 422 MovieClip Frame 16
gotoAndPlay ("ready");
Symbol 422 MovieClip Frame 24
stop();
_root.enemycount--;
_root.EXP = _root.EXP + 10;
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 445 MovieClip Frame 59
X = 120 * Math.sin(_rotation * (Math.PI/180));
Y = 120 * Math.cos(_rotation * (Math.PI/180));
Symbol 445 MovieClip Frame 60
_parent.n++;
duplicateMovieClip (_root.m, "m" + _parent.n, _parent.n);
_root["m" + _parent.n]._x = _parent._x + X;
_root["m" + _parent.n]._y = _parent._y - Y;
_root["m" + _parent.n]._rotation = _rotation;
Symbol 451 MovieClip Frame 10
if (dead) {
gotoAndPlay ("dead");
}
if (!hit) {
gotoAndPlay ("ready");
}
Symbol 451 MovieClip Frame 12
hit = false;
Symbol 451 MovieClip Frame 16
gotoAndPlay ("ready");
Symbol 451 MovieClip Frame 24
stop();
_root.enemycount--;
_root.EXP = _root.EXP + 10;
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 459 MovieClip Frame 1
_visible = false;
Symbol 459 MovieClip Frame 2
_visible = true;
Symbol 459 MovieClip Frame 7
stop();
Symbol 499 MovieClip Frame 7
_root.enemycount++;
n++;
duplicateMovieClip (_root.copter, "copter" + n, n);
_root["copter" + n]._x = _x;
_root["copter" + n]._y = _y;
_root["copter" + n]._rotation = _rotation;
_root["copter" + n].n = n * 10;
Symbol 499 MovieClip Frame 150
gotoAndPlay (1);
Symbol 499 MovieClip Frame 177
_root.enemycount--;
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 510 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 510 MovieClip Frame 12
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 512 MovieClip Frame 50
_parent.n++;
duplicateMovieClip (_root.e, "e" + _parent.n, _parent.n);
_root["e" + _parent.n]._x = _parent._x;
_root["e" + _parent.n]._y = _parent._y;
_root["e" + _parent.n]._rotation = _parent._rotation;
Symbol 512 MovieClip Frame 54
_parent.n++;
duplicateMovieClip (_root.e, "e" + _parent.n, _parent.n);
_root["e" + _parent.n]._x = _parent._x;
_root["e" + _parent.n]._y = _parent._y;
_root["e" + _parent.n]._rotation = _parent._rotation;
Symbol 512 MovieClip Frame 58
_parent.n++;
duplicateMovieClip (_root.e, "e" + _parent.n, _parent.n);
_root["e" + _parent.n]._x = _parent._x;
_root["e" + _parent.n]._y = _parent._y;
_root["e" + _parent.n]._rotation = _parent._rotation;
Symbol 512 MovieClip Frame 62
_parent.n++;
duplicateMovieClip (_root.e, "e" + _parent.n, _parent.n);
_root["e" + _parent.n]._x = _parent._x;
_root["e" + _parent.n]._y = _parent._y;
_root["e" + _parent.n]._rotation = _parent._rotation;
Symbol 512 MovieClip Frame 66
_parent.n++;
duplicateMovieClip (_root.e, "e" + _parent.n, _parent.n);
_root["e" + _parent.n]._x = _parent._x;
_root["e" + _parent.n]._y = _parent._y;
_root["e" + _parent.n]._rotation = _parent._rotation;
Symbol 512 MovieClip Frame 70
_parent.n++;
duplicateMovieClip (_root.e, "e" + _parent.n, _parent.n);
_root["e" + _parent.n]._x = _parent._x;
_root["e" + _parent.n]._y = _parent._y;
_root["e" + _parent.n]._rotation = _parent._rotation;
Symbol 512 MovieClip Frame 74
_parent.n++;
duplicateMovieClip (_root.e, "e" + _parent.n, _parent.n);
_root["e" + _parent.n]._x = _parent._x;
_root["e" + _parent.n]._y = _parent._y;
_root["e" + _parent.n]._rotation = _parent._rotation;
Symbol 512 MovieClip Frame 78
_parent.n++;
duplicateMovieClip (_root.e, "e" + _parent.n, _parent.n);
_root["e" + _parent.n]._x = _parent._x;
_root["e" + _parent.n]._y = _parent._y;
_root["e" + _parent.n]._rotation = _parent._rotation;
Symbol 517 MovieClip Frame 2
if (health >= 1500) {
gotoAndPlay (1);
}
Symbol 517 MovieClip Frame 4
if (health >= 900) {
gotoAndPlay (3);
}
Symbol 517 MovieClip Frame 6
if (!dead) {
gotoAndPlay (5);
}
Symbol 517 MovieClip Frame 16
_root.enemycount--;
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 527 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 527 MovieClip Frame 11
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 529 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 529 MovieClip Frame 11
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 531 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 531 MovieClip Frame 11
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 533 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 533 MovieClip Frame 11
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 535 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 535 MovieClip Frame 11
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 537 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 537 MovieClip Frame 11
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 539 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 539 MovieClip Frame 11
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 541 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 541 MovieClip Frame 11
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 543 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 543 MovieClip Frame 11
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 545 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 545 MovieClip Frame 11
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 547 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 547 MovieClip Frame 11
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 549 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 549 MovieClip Frame 11
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 551 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 551 MovieClip Frame 11
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 553 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 553 MovieClip Frame 11
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 555 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 555 MovieClip Frame 11
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 557 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 557 MovieClip Frame 11
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 559 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 559 MovieClip Frame 11
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 561 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 561 MovieClip Frame 11
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 563 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 563 MovieClip Frame 11
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 565 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 565 MovieClip Frame 11
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 567 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 567 MovieClip Frame 11
this.swapDepths(999);
this.removeMovieClip(this);
Instance of Symbol 527 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 529 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 529 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 531 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 527 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 533 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 535 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 527 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 537 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 539 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 541 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 543 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 539 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 545 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 533 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 541 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 537 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 547 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 535 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 549 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 527 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 529 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 529 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 527 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 551 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 539 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 541 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 543 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 539 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 545 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 533 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 541 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 537 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 547 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 535 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 549 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 547 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 545 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 549 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 553 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 551 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 537 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 547 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 555 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 539 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 533 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 539 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 545 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 533 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 541 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 537 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 547 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 535 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 549 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 545 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 553 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 539 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 545 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 539 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 557 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 535 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 537 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 553 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 539 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 559 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 561 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 561 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 541 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 543 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 541 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 535 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 535 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 539 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 527 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 539 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 535 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 553 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 539 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 535 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 537 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 553 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 563 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 555 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 529 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 545 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 553 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 533 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 549 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 535 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 565 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 531 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 537 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 545 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 559 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 549 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 567 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 553 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 549 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 545 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 565 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 531 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 545 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 555 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 529 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 527 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 543 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 539 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 557 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 535 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 545 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 539 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 557 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 535 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 537 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 531 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 527 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 533 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Instance of Symbol 535 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
dead = false;
health = 1;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
if (_root["b" + i].hitTest(this)) {
b = eval (_root["b" + i]);
}
i++;
}
if (!dead) {
if (this.hitTest(b._x, b._y, true)) {
if (!b.hit) {
health = health - 10;
b.hit = true;
dead = true;
}
}
}
}
Symbol 573 MovieClip Frame 1
_visible = false;
Symbol 577 MovieClip Frame 1
_visible = false;
Symbol 580 MovieClip Frame 2
if (platform.hitTest(_root.guy._x, _root.guy._y, true)) {
if (_root.guy.fallspeed >= 3) {
gotoAndPlay (3);
_root.guy._visible = false;
_root.guy.speed = 0;
_root.guy.fallspeed = 0;
_root.guy._x = _x;
_root.guy._y = _y;
} else {
gotoAndPlay (1);
}
} else {
gotoAndPlay (1);
}
Symbol 580 MovieClip Frame 30
_root.guy._x = _x;
_root.guy._y = _y - 100;
_root.guy.fallspeed = FALLSPEED;
_root.guy._visible = true;
Symbol 582 MovieClip Frame 2
if (platform.hitTest(_root.guy._x, _root.guy._y, true)) {
if (_root.guy.fallspeed >= 3) {
gotoAndPlay (3);
_root.guy._visible = false;
_root.guy.speed = 0;
_root.guy.fallspeed = 0;
_root.guy._x = _x;
_root.guy._y = _y;
} else {
gotoAndPlay (1);
}
} else {
gotoAndPlay (1);
}
Symbol 582 MovieClip Frame 30
_root.guy._x = _x + ((47 * _xscale) / 100);
_root.guy._y = _y - 65;
_root.guy.speed = (SPEED * _xscale) / 100;
_root.guy.fallspeed = FALLSPEED;
_root.guy._visible = true;
Symbol 583 MovieClip Frame 2
if (platform.hitTest(_root.guy._x, _root.guy._y, true)) {
if (_root.guy.fallspeed >= 2) {
gotoAndPlay (3);
_root.guy._visible = false;
_root.guy.speed = 0;
_root.guy.fallspeed = 0;
_root.guy._x = _x;
_root.guy._y = _y;
} else {
gotoAndPlay (1);
}
} else {
gotoAndPlay (1);
}
Symbol 583 MovieClip Frame 30
_root.guy._x = _x - ((10 * _xscale) / 100);
_root.guy._y = _y - 86;
_root.guy.speed = (SPEED * _xscale) / 100;
_root.guy.fallspeed = FALLSPEED;
_root.guy._visible = true;
Symbol 599 MovieClip Frame 2
if (health >= 3) {
gotoAndPlay (1);
}
Symbol 599 MovieClip Frame 11
if (health == 2) {
gotoAndPlay (10);
}
Symbol 599 MovieClip Frame 20
if (health == 1) {
gotoAndPlay (19);
}
Symbol 599 MovieClip Frame 30
this.swapDepths(999);
this.removeMovieClip(this);
Instance of Symbol 577 MovieClip in Symbol 616 MovieClip Frame 1
onClipEvent (enterFrame) {
_width = (_root.guy.energy * 1.61);
_visible = true;
}
Instance of Symbol 577 MovieClip in Symbol 619 MovieClip Frame 1
onClipEvent (enterFrame) {
_width = (_root.guy.health * 1.61);
_visible = true;
}
Symbol 621 Button
on (release) {
getURL ("http://www.maxgames.com", _blank);
}
Symbol 622 MovieClip Frame 1
var copyrightNotice = "Copyright (c) 2006-2007 Sockpuppet Pty Ltd. All Rights Reserved. http://www.reanimator.net";
var reanimator = (new flash.geom.Transform(this));
var camera = (new flash.geom.Transform(this._parent));
var w = Stage.width;
var h = Stage.height;
this.onEnterFrame = function () {
this._parent.filters = this.filters;
var _local2 = reanimator.matrix;
camera.colorTransform = reanimator.colorTransform;
_local2.invert();
_local2.translate(w * 0.5, h * 0.5);
camera.matrix = _local2;
};
Instance of Symbol 616 MovieClip in Symbol 622 MovieClip Frame 1
onClipEvent (load) {
_y = 10;
}
onClipEvent (enterFrame) {
if (_root.guy.energy > 0) {
_y = (_y - ((_y - 25) / 5));
} else {
_y = (_y - ((_y - 10) / 5));
}
}
Instance of Symbol 620 MovieClip in Symbol 622 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.lives);
}
Symbol 627 MovieClip Frame 2
if (!hit) {
gotoAndPlay (1);
}
Symbol 627 MovieClip Frame 10
this.removeMovieClip(this);
Symbol 633 MovieClip Frame 2
if (_root.guy.CLICK) {
if (_root.guy.powerup == " ") {
gotoAndPlay (2);
}
if (_root.guy.powerup == "fire") {
_root.guy.energy--;
gotoAndPlay ("fire");
}
} else {
gotoAndPlay (1);
}
Symbol 633 MovieClip Frame 3
i++;
duplicateMovieClip (_root.bullet, "bullet" + i, i);
_root["bullet" + i]._x = _parent._x;
_root["bullet" + i]._y = _parent._y;
_root["bullet" + i]._rotation = ((_rotation * _root.guy._xscale) / 100) + _root.guy._rotation;
Symbol 633 MovieClip Frame 11
gotoAndPlay (1);
Symbol 633 MovieClip Frame 12
i++;
duplicateMovieClip (_root.fire, "fire" + i, i);
_root["fire" + i]._x = _parent._x;
_root["fire" + i]._y = _parent._y;
_root["fire" + i]._rotation = ((_rotation * _root.guy._xscale) / 100) + _root.guy._rotation;
Y = 3 * Math.cos(_root["fire" + i]._rotation * (Math.PI/180));
if (Y <= 0) {
_root.guy.fallspeed = _root.guy.fallspeed + Y;
}
_root.guy.speed = _root.guy.speed - (0.3 * Math.sin(_root["fire" + i]._rotation * (Math.PI/180)));
Symbol 646 MovieClip Frame 1
running = false;
Symbol 646 MovieClip Frame 2
if (health >= 1) {
if (_root.ground.hitTest(_x, _y + 10, true)) {
if (((Key.isDown(39) || (Key.isDown(37))) || (Key.isDown(65))) || (Key.isDown(68))) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
} else {
gotoAndPlay (1);
}
} else {
gotoAndPlay ("dead");
}
Symbol 646 MovieClip Frame 3
running = true;
if (!_root.ground.hitTest(_x, _y + 10, true)) {
gotoAndPlay (1);
}
Symbol 646 MovieClip Frame 4
if (!_root.ground.hitTest(_x, _y + 10, true)) {
gotoAndPlay (1);
}
Symbol 646 MovieClip Frame 9
if (health >= 1) {
if (_root.ground.hitTest(_x, _y + 10, true)) {
if (((Key.isDown(39) || (Key.isDown(37))) || (Key.isDown(65))) || (Key.isDown(68))) {
gotoAndPlay ("run loop");
} else {
gotoAndPlay (1);
}
} else {
gotoAndPlay (1);
}
} else {
gotoAndPlay ("dead");
}
Symbol 646 MovieClip Frame 23
_root.lives--;
health = 100;
dead = false;
_x = _root.Cx;
_y = _root.Cy;
Instance of Symbol 84 MovieClip "turret" in Symbol 670 MovieClip Frame 1
onClipEvent (enterFrame) {
delta_x = _parent._x - _root.guy._x;
delta_y = _parent._y - _root.guy._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
}
Symbol 670 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 670 MovieClip Frame 39
if (health <= 0) {
gotoAndPlay ("falling");
}
Symbol 670 MovieClip Frame 50
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 673 MovieClip Frame 2
if (!hit) {
gotoAndPlay (1);
}
Symbol 673 MovieClip Frame 10
this.removeMovieClip(this);
Symbol 705 MovieClip Frame 21
if (!hit) {
gotoAndPlay (1);
}
Symbol 705 MovieClip Frame 70
gotoAndPlay ("got");
Symbol 706 MovieClip Frame 2
if (!Key.isDown(77)) {
gotoAndPlay (1);
}
Symbol 706 MovieClip Frame 16
if (!Key.isDown(77)) {
gotoAndPlay (15);
}
Symbol 737 MovieClip Frame 2
if (!_root.fuse.lit) {
gotoAndPlay (1);
}
Symbol 737 MovieClip Frame 106
if (_root.inthecannon) {
_root.inthecannon = false;
_root.guy._x = _x - ((37 * _xscale) / 100);
_root.guy._y = _y - 60;
_root.guy.speed = (SPEED * (-_xscale)) / 100;
_root.guy.fallspeed = FALLSPEED;
_root.guy._visible = true;
}
_root.fuse.lit = false;
Symbol 761 MovieClip Frame 1
dead = false;
Symbol 761 MovieClip Frame 2
if (_root.rope.health >= 1) {
gotoAndPlay (1);
}
Symbol 761 MovieClip Frame 11
dead = true;
Symbol 761 MovieClip Frame 40
stop();
Instance of Symbol 599 MovieClip in Symbol 772 MovieClip Frame 1
onClipEvent (load) {
health = 20;
}
onClipEvent (enterFrame) {
var i = 0;
while (i <= 20) {
if (_root["bullet" + i].hitTest(this)) {
bullet = eval (_root["bullet" + i]);
}
i++;
}
if (this.hitTest(bullet)) {
health--;
}
}
Instance of Symbol 769 MovieClip in Symbol 772 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y + 10, true)) {
_root.guy._x = _root.guy._x + 2.2;
}
}
Instance of Symbol 769 MovieClip in Symbol 772 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y + 10, true)) {
_root.guy._x = _root.guy._x + 2.2;
}
}
Instance of Symbol 769 MovieClip in Symbol 772 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y + 10, true)) {
_root.guy._x = _root.guy._x + 2.2;
}
}
Instance of Symbol 771 MovieClip in Symbol 772 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!RIGHT) {
_x = (_x - 2);
if (_x <= 3899) {
RIGHT = true;
}
if (this.hitTest(_root.guy._x, _root.guy._y + 10, true)) {
_root.guy._x = _root.guy._x - 2;
}
} else {
_x = (_x + 2);
if (_x >= 4119) {
RIGHT = false;
}
if (this.hitTest(_root.guy._x, _root.guy._y + 10, true)) {
_root.guy._x = _root.guy._x + 2;
}
}
}
Instance of Symbol 769 MovieClip in Symbol 772 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y + 10, true)) {
_root.guy._x = _root.guy._x - 1;
_root.guy._y = _root.guy._y - 1;
}
}
Instance of Symbol 577 MovieClip in Symbol 772 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.ropetrap.dead) {
_height = 192;
} else {
_height = 0;
}
}
Instance of Symbol 577 MovieClip in Symbol 800 MovieClip Frame 63
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy._x, _root.guy._y, true)) {
_root.guy.health = _root.guy.health - 20;
}
}
Instance of Symbol 771 MovieClip in Symbol 822 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - 2);
if (_x <= 3060) {
_x = 3636;
}
if (this.hitTest(_root.guy._x, _root.guy._y + 10, true)) {
_root.guy._x = _root.guy._x - 2;
}
}
Instance of Symbol 815 MovieClip "gyzerA" in Symbol 822 MovieClip Frame 1
onClipEvent (load) {
wait = 50;
fallspeed = 0;
i = 100;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy._rotation = 0;
}
if (_y >= Y) {
fallspeed = -1;
wait--;
} else {
_y = (_y + fallspeed);
fallspeed++;
}
if (wait == 0) {
_y = (_y - 5);
}
while (_y >= (Y + 1)) {
_y = (_y-1);
}
if (wait <= 0) {
i++;
duplicateMovieClip (_root.water, "water" + i, i);
_root["water" + i]._x = _parent._x + _x;
_root["water" + i]._y = _parent._y + Y;
_root["water" + i].letter = "A";
if (i >= 150) {
i = 100;
wait = 50;
}
}
}
Instance of Symbol 815 MovieClip "gyzerB" in Symbol 822 MovieClip Frame 1
onClipEvent (load) {
wait = 90;
fallspeed = 0;
i = 150;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy._rotation = 0;
}
if (_y >= Y) {
fallspeed = -1;
wait--;
} else {
_y = (_y + fallspeed);
fallspeed++;
}
if (wait == 0) {
_y = (_y - 5);
}
while (_y >= (Y + 1)) {
_y = (_y-1);
}
if (wait <= 0) {
i++;
duplicateMovieClip (_root.water, "water" + i, i);
_root["water" + i]._x = _parent._x + _x;
_root["water" + i]._y = _parent._y + Y;
_root["water" + i].letter = "B";
if (i >= 200) {
i = 150;
wait = 50;
}
}
}
Instance of Symbol 815 MovieClip "gyzerC" in Symbol 822 MovieClip Frame 1
onClipEvent (load) {
wait = 120;
fallspeed = 0;
i = 200;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy._rotation = 0;
}
if (_y >= Y) {
fallspeed = -1;
wait--;
} else {
_y = (_y + fallspeed);
fallspeed++;
}
if (wait == 0) {
_y = (_y - 5);
}
while (_y >= (Y + 1)) {
_y = (_y-1);
}
if (wait <= 0) {
i++;
duplicateMovieClip (_root.water, "water" + i, i);
_root["water" + i]._x = _parent._x + _x;
_root["water" + i]._y = _parent._y + Y;
_root["water" + i].letter = "C";
if (i >= 250) {
i = 200;
wait = 50;
}
}
}
Instance of Symbol 817 MovieClip in Symbol 822 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
if (_y <= 831) {
_y = (_y + 0.5);
}
}
}
Instance of Symbol 820 MovieClip "lift" in Symbol 822 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(_root.poop)) {
_root.poop._xscale = 2000;
if (_y <= 1567) {
_y = (_y + 5);
}
}
if (_y >= 1567.1) {
if (_root.guy.hitTest(_root.poop)) {
_y = (_y - ((_y - 1567.1) / 5));
} else {
_y = (_y + 5);
}
}
}
Symbol 833 MovieClip Frame 4
gotoAndPlay (2);
Symbol 845 MovieClip Frame 22
stop();
Symbol 858 MovieClip Frame 17
stop();
Instance of Symbol 826 MovieClip in Symbol 859 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = ((_root.guy._x - _parent._x) / 50);
_y = ((_root.guy._y - _parent._y) / 50);
}
Instance of Symbol 826 MovieClip "B17" in Symbol 859 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = ((_root.guy._x - _parent._x) / 25);
_y = ((_root.guy._y - _parent._y) / 25);
}
Symbol 859 MovieClip Frame 2
if (!_root.boss) {
gotoAndPlay (1);
}
Symbol 859 MovieClip Frame 45
delta_x = _x - _root.guy._x;
delta_y = _y - _root.guy._y;
R = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
Instance of Symbol 833 MovieClip in Symbol 859 MovieClip Frame 50
onClipEvent (load) {
_rotation = _parent.R;
_yscale = 1000;
}
onClipEvent (enterFrame) {
_x = _parent.B17._x;
_y = _parent.B17._y;
if (this.hitTest(_root.guy._x, _root.guy._y, true)) {
_root.guy.health--;
}
}
Symbol 859 MovieClip Frame 85
gotoAndPlay (1);
Symbol 859 MovieClip Frame 119
crashing = true;
Symbol 859 MovieClip Frame 130
if (!_root.ground.hitTest(_x, _y + 20, true)) {
gotoAndPlay ("still crashing");
}
Symbol 859 MovieClip Frame 131
crashing = false;
_rotation = 0;
this.swapDepths(1000);
_root.play();
Symbol 859 MovieClip Frame 151
stop();
Symbol 874 MovieClip Frame 2
if (!_parent.ready) {
gotoAndPlay (1);
}
Symbol 874 MovieClip Frame 15
X = 30 * Math.sin(_rotation * (Math.PI/180));
Y = 30 * Math.cos(_rotation * (Math.PI/180));
i++;
duplicateMovieClip (_root.ebullet, "ebullet" + i, i);
_root["ebullet" + i]._x = _parent._x + (X * 2);
_root["ebullet" + i]._y = _parent._y - Y;
_root["ebullet" + i]._rotation = (_parent._rotation + _rotation) - 40;
Symbol 874 MovieClip Frame 17
X = 30 * Math.sin(_rotation * (Math.PI/180));
Y = 30 * Math.cos(_rotation * (Math.PI/180));
i++;
duplicateMovieClip (_root.ebullet, "ebullet" + i, i);
_root["ebullet" + i]._x = _parent._x + (X * 2);
_root["ebullet" + i]._y = _parent._y - Y;
_root["ebullet" + i]._rotation = (_parent._rotation + _rotation) + 40;
Instance of Symbol 874 MovieClip "turret" in Symbol 884 MovieClip Frame 1
onClipEvent (enterFrame) {
delta_x = _parent._x - _root.guy._x;
delta_y = _parent._y - _root.guy._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
}
Symbol 884 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 884 MovieClip Frame 39
gotoAndPlay ("falling");
Symbol 884 MovieClip Frame 50
this.swapDepths(999);
this.removeMovieClip(this);
Symbol 892 MovieClip Frame 2
if (!_parent.ready) {
gotoAndPlay (1);
}
Symbol 892 MovieClip Frame 10
X = 30 * Math.sin(_rotation * (Math.PI/180));
Y = 30 * Math.cos(_rotation * (Math.PI/180));
i++;
duplicateMovieClip (_root.ebullet, "ebullet" + i, i);
_root["ebullet" + i]._x = _parent._x + (X * 2);
_root["ebullet" + i]._y = _parent._y - Y;
_root["ebullet" + i]._rotation = _parent._rotation + _rotation;
Instance of Symbol 892 MovieClip "turret" in Symbol 902 MovieClip Frame 1
onClipEvent (enterFrame) {
delta_x = _parent._x - _root.guy._x;
delta_y = _parent._y - _root.guy._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
}
Symbol 902 MovieClip Frame 2
if (!dead) {
gotoAndPlay (1);
}
Symbol 902 MovieClip Frame 39
gotoAndPlay ("falling");
Symbol 902 MovieClip Frame 50
this.swapDepths(999);
this.removeMovieClip(this);
Instance of Symbol 771 MovieClip in Symbol 912 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - 2);
if (_x <= 3060) {
_x = 3636;
}
if (this.hitTest(_root.guy._x, _root.guy._y + 10, true)) {
_root.guy._x = _root.guy._x - 2;
}
}
Instance of Symbol 815 MovieClip "gyzerA" in Symbol 912 MovieClip Frame 1
onClipEvent (load) {
wait = 50;
fallspeed = 0;
i = 100;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy._rotation = 0;
}
if (_y >= Y) {
fallspeed = -1;
wait--;
} else {
_y = (_y + fallspeed);
fallspeed++;
}
if (wait == 0) {
_y = (_y - 5);
}
while (_y >= (Y + 1)) {
_y = (_y-1);
}
if (wait <= 0) {
i++;
duplicateMovieClip (_root.water, "water" + i, i);
_root["water" + i]._x = _parent._x + _x;
_root["water" + i]._y = _parent._y + Y;
_root["water" + i].letter = "A";
if (i >= 150) {
i = 100;
wait = 50;
}
}
}
Instance of Symbol 815 MovieClip "gyzerB" in Symbol 912 MovieClip Frame 1
onClipEvent (load) {
wait = 90;
fallspeed = 0;
i = 150;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy._rotation = 0;
}
if (_y >= Y) {
fallspeed = -1;
wait--;
} else {
_y = (_y + fallspeed);
fallspeed++;
}
if (wait == 0) {
_y = (_y - 5);
}
while (_y >= (Y + 1)) {
_y = (_y-1);
}
if (wait <= 0) {
i++;
duplicateMovieClip (_root.water, "water" + i, i);
_root["water" + i]._x = _parent._x + _x;
_root["water" + i]._y = _parent._y + Y;
_root["water" + i].letter = "B";
if (i >= 200) {
i = 150;
wait = 50;
}
}
}
Instance of Symbol 815 MovieClip "gyzerC" in Symbol 912 MovieClip Frame 1
onClipEvent (load) {
wait = 120;
fallspeed = 0;
i = 200;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.guy._rotation = 0;
}
if (_y >= Y) {
fallspeed = -1;
wait--;
} else {
_y = (_y + fallspeed);
fallspeed++;
}
if (wait == 0) {
_y = (_y - 5);
}
while (_y >= (Y + 1)) {
_y = (_y-1);
}
if (wait <= 0) {
i++;
duplicateMovieClip (_root.water, "water" + i, i);
_root["water" + i]._x = _parent._x + _x;
_root["water" + i]._y = _parent._y + Y;
_root["water" + i].letter = "C";
if (i >= 250) {
i = 200;
wait = 50;
}
}
}
Instance of Symbol 817 MovieClip in Symbol 912 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
if (_y <= 831) {
_y = (_y + 0.5);
}
}
}
Instance of Symbol 820 MovieClip "lift" in Symbol 912 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(_root.poop)) {
_root.poop._xscale = 2000;
if (_y <= 1567) {
_y = (_y + 5);
}
}
if (_y >= 1567.1) {
if (_root.guy.hitTest(_root.poop)) {
_y = (_y - ((_y - 1567.1) / 5));
} else {
_y = (_y + 5);
}
}
}
Symbol 913 MovieClip Frame 2
if (platform.hitTest(_root.guy._x, _root.guy._y, true)) {
if (_root.guy.fallspeed >= 3) {
gotoAndPlay (3);
_root.guy._visible = false;
_root.guy.speed = 0;
_root.guy.fallspeed = 0;
_root.guy._x = _x;
_root.guy._y = _y;
} else {
gotoAndPlay (1);
}
} else {
gotoAndPlay (1);
}
Symbol 913 MovieClip Frame 60
_root.guy._x = _x + ((47 * _xscale) / 100);
_root.guy._y = _y - 65;
_root.guy.speed = (SPEED * _xscale) / 100;
_root.guy.fallspeed = FALLSPEED;
_root.guy._visible = true;
Symbol 914 MovieClip Frame 2
if (platform.hitTest(_root.guy._x, _root.guy._y, true)) {
if (_root.guy.fallspeed >= 2) {
gotoAndPlay (3);
_root.guy._visible = false;
_root.guy.speed = 0;
_root.guy.fallspeed = 0;
_root.guy._x = _x;
_root.guy._y = _y;
} else {
gotoAndPlay (1);
}
} else {
gotoAndPlay (1);
}
Symbol 914 MovieClip Frame 60
_root.guy._x = _x - ((10 * _xscale) / 100);
_root.guy._y = _y - 86;
_root.guy.speed = (SPEED * _xscale) / 100;
_root.guy.fallspeed = FALLSPEED;
_root.guy._visible = true;