Frame 3
stop();
Instance of Symbol 6 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.gotoAndStop(4);
}
}
Frame 4
_root.attacking = "n";
_root.kills = 0;
_root.harm = "n";
_root.rharm = "n";
_root.recattacking = "n";
_root.health = 100;
_root.gun = "y";
_root.rgun = "n";
_root.gunammo = 40;
stop();
Instance of Symbol 15 MovieClip in Frame 4
on (press) {
_root.gun = "shotgun";
_root.gunammo = 50;
_root.gotoAndStop(5);
}
Instance of Symbol 15 MovieClip in Frame 4
on (press) {
_root.gotoAndStop(9);
}
Frame 5
nextFrame();
Instance of Symbol 52 MovieClip "guyarmr" in Frame 5
onClipEvent (enterFrame) {
setProperty(this, _x , _root.guy._x);
if (Key.isDown(16)) {
setProperty(this, _xscale , _root.guyarm._xscale * -1);
} else {
setProperty(this, _xscale , _root.guyarm._xscale);
}
if (_root.health < 1) {
gotoAndStop (4);
} else if ((_root.gunammo < 1) && (!(_root.rgun === "n"))) {
_root.rgun = "n";
} else if (_root.gun == "s") {
gotoAndStop (5);
} else if (_root.gun == "shotgun") {
gotoAndStop (10);
} else if (_root.recattacking == "n") {
if (Key.isDown(17)) {
_root.recattacking = "y";
if ((_root.rgun == "y") && (_root.gunammo > 0)) {
if (_root.gun == "s") {
} else {
gotoAndStop (7);
}
} else if ((_root.rgun == "m") && (_root.gunammo > 0)) {
if (_root.gun == "s") {
} else {
gotoAndStop (9);
}
} else {
gotoAndStop (2);
}
} else if (_root.gun == "s") {
gotoAndStop (5);
} else if ((_root.rgun == "y") && (_root.gunammo > 0)) {
gotoAndStop (6);
} else if ((_root.rgun == "m") && (_root.gunammo > 0)) {
gotoAndStop (8);
} else {
gotoAndStop (1);
}
}
}
Instance of Symbol 57 MovieClip in Frame 5
onClipEvent (enterFrame) {
setProperty(this, _x , _root.guy._x);
if (_root.health < 1) {
gotoAndStop (3);
} else if (Key.isDown(37)) {
gotoAndStop (2);
setProperty(this, _xscale , -100);
} else if (Key.isDown(39)) {
gotoAndStop (2);
setProperty(this, _xscale , 100);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 103 MovieClip "guy" in Frame 5
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.health < 1) {
gotoAndStop (3);
} else if (Key.isDown(37)) {
this._x = this._x - 5;
setProperty(this, _xscale , -100);
setProperty(_root.guyarm, _xscale , -100);
gotoAndStop (1);
} else if (Key.isDown(39)) {
this._x = this._x + 5;
setProperty(_root.guyarm, _xscale , 100);
setProperty(this, _xscale , 100);
gotoAndStop (1);
}
if (Key.isDown(16) && (_root.health > 0)) {
gotoAndStop (2);
}
}
Instance of Symbol 132 MovieClip "guyarm" in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(16)) {
setProperty(this, _x , _root.guy._x + (15 * (_root.guy._xscale / 100)));
} else {
setProperty(this, _x , _root.guy._x);
}
if (_root.health < 1) {
gotoAndStop (6);
} else if (_root.attacking == "n") {
if (Key.isDown(32)) {
_root.attacking = "y";
if ((_root.gun == "y") && (_root.gunammo > 0)) {
gotoAndStop (4);
} else if ((_root.gun == "y") && (_root.gunammo < 1)) {
gotoAndStop (5);
} else if ((_root.gun == "m") && (_root.gunammo > 0)) {
gotoAndStop (8);
} else if ((_root.gun == "m") && (_root.gunammo < 1)) {
gotoAndStop (9);
} else if ((_root.gun == "shotgun") && (_root.gunammo > 0)) {
gotoAndStop (14);
} else if ((_root.gun == "shotgun") && (_root.gunammo < 1)) {
gotoAndStop (15);
} else if (_root.gun == "s") {
gotoAndStop (11);
} else {
gotoAndStop (2);
}
} else if ((_root.gun == "y") && (_root.gunammo < 1)) {
_root.attacking = "y";
gotoAndStop (5);
} else if ((_root.gun == "m") && (_root.gunammo < 1)) {
_root.attacking = "y";
gotoAndStop (9);
} else if (_root.gun == "m") {
gotoAndStop (7);
} else if ((_root.gun == "shotgun") && (_root.gunammo < 1)) {
_root.attacking = "y";
gotoAndStop (15);
} else if (_root.gun == "shotgun") {
gotoAndStop (13);
} else if (_root.gun == "y") {
gotoAndStop (3);
} else if (Key.isDown(17) && (_root.gun == "s")) {
_root.attacking = "y";
gotoAndStop (12);
} else if (_root.gun == "s") {
gotoAndStop (10);
} else {
gotoAndStop (1);
}
}
}
Instance of Symbol 142 MovieClip in Frame 5
onClipEvent (load) {
used = "n";
respawn = "n";
}
onClipEvent (enterFrame) {
if (respawn == "y") {
this.x = 50 + random(400);
respawn = "n";
used = "n";
}
if (this.hittest(_root.guy) && (Key.isDown(40))) {
used = "y";
}
if (this.hittest(_root.guy) && (Key.isDown(38))) {
used = "r";
}
if (used == "n") {
gotoAndStop (1);
} else if (used == "r") {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 149 MovieClip in Frame 5
onClipEvent (load) {
used = "n";
respawn = "n";
}
onClipEvent (enterFrame) {
if (respawn == "y") {
this.x = 50 + random(400);
respawn = "n";
used = "n";
}
if (this.hittest(_root.guy) && (Key.isDown(40))) {
used = "y";
}
if (this.hittest(_root.guy) && (Key.isDown(38))) {
used = "r";
}
if (used == "n") {
gotoAndStop (1);
} else if (used == "r") {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 156 MovieClip in Frame 5
onClipEvent (load) {
used = "n";
respawn = "n";
}
onClipEvent (enterFrame) {
if (respawn == "y") {
this.x = 50 + random(400);
respawn = "n";
used = "n";
}
if (this.hittest(_root.guy) && (Key.isDown(40))) {
used = "y";
}
if (this.hittest(_root.guy) && (Key.isDown(38))) {
used = "r";
}
if (used == "n") {
gotoAndStop (1);
} else if (used == "r") {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 162 MovieClip in Frame 5
onClipEvent (load) {
used = "n";
respawn = "n";
}
onClipEvent (enterFrame) {
if (respawn == "y") {
this.x = 50 + random(400);
respawn = "n";
used = "n";
}
if (this.hittest(_root.guy) && (Key.isDown(40))) {
used = "y";
}
if (this.hittest(_root.guy) && (Key.isDown(38))) {
used = "r";
}
if (used == "n") {
gotoAndStop (1);
} else if (used == "r") {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 169 MovieClip in Frame 5
onClipEvent (load) {
used = "n";
respawn = "n";
}
onClipEvent (enterFrame) {
if (respawn == "y") {
this.x = 50 + random(400);
respawn = "n";
used = "n";
}
if (this.hittest(_root.guy) && (Key.isDown(40))) {
used = "y";
}
if (this.hittest(_root.guy) && (Key.isDown(38))) {
used = "r";
}
if (used == "n") {
gotoAndStop (1);
} else if (used == "r") {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 202 MovieClip in Frame 5
onClipEvent (load) {
respawn = "n";
health = 50;
flinch = "n";
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.guy._x < this._x) {
setProperty(this, _xscale , -100);
} else if (_root.guy._x > this._x) {
setProperty(this, _xscale , 100);
}
if (health < 1) {
gotoAndStop (5);
} else if (_root.health < 1) {
gotoAndStop (1);
} else if (flinch == "y") {
gotoAndStop (3);
} else if ((this.hittest(_root.guy) && (_root.harm == "n")) && (_root.rharm == "n")) {
gotoAndStop (4);
} else if (this.hittest(_root.guyarm) || (this.hittest(_root.guyarmr))) {
if (_root.harm == "y") {
_root.harm = "n";
flinch = "y";
} else if (_root.rharm == "y") {
_root.rharm = "n";
flinch = "y";
}
} else if (_root.guy._x < this._x) {
this._x = this._x - 4;
gotoAndStop (2);
} else if (_root.guy._x > this._x) {
this._x = this._x + 4;
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (respawn == "y") {
this._x = (1500 * random(2)) - (random(251) + 250);
health = 50;
respawn = "n";
}
}
Instance of Symbol 202 MovieClip in Frame 5
onClipEvent (load) {
respawn = "n";
health = 50;
flinch = "n";
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.guy._x < this._x) {
setProperty(this, _xscale , -100);
} else if (_root.guy._x > this._x) {
setProperty(this, _xscale , 100);
}
if (health < 1) {
gotoAndStop (5);
} else if (_root.health < 1) {
gotoAndStop (1);
} else if (flinch == "y") {
gotoAndStop (3);
} else if ((this.hittest(_root.guy) && (_root.harm == "n")) && (_root.rharm == "n")) {
gotoAndStop (4);
} else if (this.hittest(_root.guyarm) || (this.hittest(_root.guyarmr))) {
if (_root.harm == "y") {
_root.harm = "n";
flinch = "y";
} else if (_root.rharm == "y") {
_root.rharm = "n";
flinch = "y";
}
} else if (_root.guy._x < this._x) {
this._x = this._x - 4;
gotoAndStop (2);
} else if (_root.guy._x > this._x) {
this._x = this._x + 4;
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (respawn == "y") {
this._x = (1500 * random(2)) - (random(251) + 250);
health = 50;
respawn = "n";
}
}
Instance of Symbol 202 MovieClip in Frame 5
onClipEvent (load) {
respawn = "n";
health = 50;
flinch = "n";
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.guy._x < this._x) {
setProperty(this, _xscale , -100);
} else if (_root.guy._x > this._x) {
setProperty(this, _xscale , 100);
}
if (health < 1) {
gotoAndStop (5);
} else if (_root.health < 1) {
gotoAndStop (1);
} else if (flinch == "y") {
gotoAndStop (3);
} else if ((this.hittest(_root.guy) && (_root.harm == "n")) && (_root.rharm == "n")) {
gotoAndStop (4);
} else if (this.hittest(_root.guyarm) || (this.hittest(_root.guyarmr))) {
if (_root.harm == "y") {
_root.harm = "n";
flinch = "y";
} else if (_root.rharm == "y") {
_root.rharm = "n";
flinch = "y";
}
} else if (_root.guy._x < this._x) {
this._x = this._x - 4;
gotoAndStop (2);
} else if (_root.guy._x > this._x) {
this._x = this._x + 4;
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (respawn == "y") {
this._x = (1500 * random(2)) - (random(251) + 250);
health = 50;
respawn = "n";
}
}
Instance of Symbol 202 MovieClip in Frame 5
onClipEvent (load) {
respawn = "n";
health = 50;
flinch = "n";
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.guy._x < this._x) {
setProperty(this, _xscale , -100);
} else if (_root.guy._x > this._x) {
setProperty(this, _xscale , 100);
}
if (health < 1) {
gotoAndStop (5);
} else if (_root.health < 1) {
gotoAndStop (1);
} else if (flinch == "y") {
gotoAndStop (3);
} else if ((this.hittest(_root.guy) && (_root.harm == "n")) && (_root.rharm == "n")) {
gotoAndStop (4);
} else if (this.hittest(_root.guyarm) || (this.hittest(_root.guyarmr))) {
if (_root.harm == "y") {
_root.harm = "n";
flinch = "y";
} else if (_root.rharm == "y") {
_root.rharm = "n";
flinch = "y";
}
} else if (_root.guy._x < this._x) {
this._x = this._x - 4;
gotoAndStop (2);
} else if (_root.guy._x > this._x) {
this._x = this._x + 4;
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (respawn == "y") {
this._x = (1500 * random(2)) - (random(251) + 250);
health = 50;
respawn = "n";
}
}
Frame 6
stop();
Frame 7
prevFrame();
Frame 9
nextFrame();
Instance of Symbol 226 MovieClip in Frame 9
onClipEvent (load) {
used = "n";
respawn = "n";
}
onClipEvent (enterFrame) {
if (this.hittest(_root.guy) && (Key.isDown(40))) {
used = "y";
}
if (this.hittest(_root.guy) && (Key.isDown(38))) {
used = "r";
}
if (used == "n") {
gotoAndStop (1);
} else if (used == "r") {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 149 MovieClip in Frame 9
onClipEvent (load) {
used = "n";
respawn = "n";
}
onClipEvent (enterFrame) {
if (this.hittest(_root.guy) && (Key.isDown(40))) {
used = "y";
}
if (this.hittest(_root.guy) && (Key.isDown(38))) {
used = "r";
}
if (used == "n") {
gotoAndStop (1);
} else if (used == "r") {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 156 MovieClip in Frame 9
onClipEvent (load) {
used = "n";
respawn = "n";
}
onClipEvent (enterFrame) {
if (this.hittest(_root.guy) && (Key.isDown(40))) {
used = "y";
}
if (this.hittest(_root.guy) && (Key.isDown(38))) {
used = "r";
}
if (used == "n") {
gotoAndStop (1);
} else if (used == "r") {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 162 MovieClip in Frame 9
onClipEvent (load) {
used = "n";
respawn = "n";
}
onClipEvent (enterFrame) {
if (this.hittest(_root.guy) && (Key.isDown(40))) {
used = "y";
}
if (this.hittest(_root.guy) && (Key.isDown(38))) {
used = "r";
}
if (used == "n") {
gotoAndStop (1);
} else if (used == "r") {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 232 MovieClip in Frame 9
onClipEvent (load) {
used = "n";
respawn = "n";
}
onClipEvent (enterFrame) {
if (this.hittest(_root.guy) && (Key.isDown(40))) {
used = "y";
}
if (this.hittest(_root.guy) && (Key.isDown(38))) {
used = "r";
}
if (used == "n") {
gotoAndStop (1);
} else if (used == "r") {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 202 MovieClip in Frame 9
onClipEvent (load) {
respawn = "n";
health = 50;
flinch = "n";
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.guy._x < this._x) {
setProperty(this, _xscale , -100);
} else if (_root.guy._x > this._x) {
setProperty(this, _xscale , 100);
}
if (health < 1) {
gotoAndStop (5);
} else if (_root.health < 1) {
gotoAndStop (1);
} else if (flinch == "y") {
gotoAndStop (3);
} else if ((this.hittest(_root.guy) && (_root.harm == "n")) && (_root.rharm == "n")) {
gotoAndStop (4);
} else if (this.hittest(_root.guyarm) || (this.hittest(_root.guyarmr))) {
if (_root.harm == "y") {
_root.harm = "n";
flinch = "y";
} else if (_root.rharm == "y") {
_root.rharm = "n";
flinch = "y";
}
} else if (_root.guy._x < this._x) {
this._x = this._x - 4;
gotoAndStop (2);
} else if (_root.guy._x > this._x) {
this._x = this._x + 4;
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (respawn == "y") {
this._x = (1500 * random(2)) - (random(251) + 250);
health = 50;
respawn = "n";
}
}
Instance of Symbol 202 MovieClip in Frame 9
onClipEvent (load) {
respawn = "n";
health = 50;
flinch = "n";
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.guy._x < this._x) {
setProperty(this, _xscale , -100);
} else if (_root.guy._x > this._x) {
setProperty(this, _xscale , 100);
}
if (health < 1) {
gotoAndStop (5);
} else if (_root.health < 1) {
gotoAndStop (1);
} else if (flinch == "y") {
gotoAndStop (3);
} else if ((this.hittest(_root.guy) && (_root.harm == "n")) && (_root.rharm == "n")) {
gotoAndStop (4);
} else if (this.hittest(_root.guyarm) || (this.hittest(_root.guyarmr))) {
if (_root.harm == "y") {
_root.harm = "n";
flinch = "y";
} else if (_root.rharm == "y") {
_root.rharm = "n";
flinch = "y";
}
} else if (_root.guy._x < this._x) {
this._x = this._x - 4;
gotoAndStop (2);
} else if (_root.guy._x > this._x) {
this._x = this._x + 4;
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (respawn == "y") {
this._x = (1500 * random(2)) - (random(251) + 250);
health = 50;
respawn = "n";
}
}
Instance of Symbol 239 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.kills == 8) {
_root.gotoAndPlay(12);
}
}
Frame 11
prevFrame();
Instance of Symbol 149 MovieClip in Frame 25
onClipEvent (load) {
used = "n";
respawn = "n";
}
onClipEvent (enterFrame) {
if (this.hittest(_root.guy) && (Key.isDown(40))) {
used = "y";
}
if (this.hittest(_root.guy) && (Key.isDown(38))) {
used = "r";
}
if (used == "n") {
gotoAndStop (1);
} else if (used == "r") {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 156 MovieClip in Frame 25
onClipEvent (load) {
used = "n";
respawn = "n";
}
onClipEvent (enterFrame) {
if (this.hittest(_root.guy) && (Key.isDown(40))) {
used = "y";
}
if (this.hittest(_root.guy) && (Key.isDown(38))) {
used = "r";
}
if (used == "n") {
gotoAndStop (1);
} else if (used == "r") {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 232 MovieClip in Frame 25
onClipEvent (load) {
used = "n";
respawn = "n";
}
onClipEvent (enterFrame) {
if (this.hittest(_root.guy) && (Key.isDown(40))) {
used = "y";
}
if (this.hittest(_root.guy) && (Key.isDown(38))) {
used = "r";
}
if (used == "n") {
gotoAndStop (1);
} else if (used == "r") {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Frame 39
nextFrame();
Instance of Symbol 202 MovieClip in Frame 39
onClipEvent (load) {
respawn = "n";
health = 50;
flinch = "n";
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.guy._x < this._x) {
setProperty(this, _xscale , -100);
} else if (_root.guy._x > this._x) {
setProperty(this, _xscale , 100);
}
if (health < 1) {
gotoAndStop (5);
} else if (_root.health < 1) {
gotoAndStop (1);
} else if (flinch == "y") {
gotoAndStop (3);
} else if ((this.hittest(_root.guy) && (_root.harm == "n")) && (_root.rharm == "n")) {
gotoAndStop (4);
} else if (this.hittest(_root.guyarm) || (this.hittest(_root.guyarmr))) {
if (_root.harm == "y") {
_root.harm = "n";
flinch = "y";
} else if (_root.rharm == "y") {
_root.rharm = "n";
flinch = "y";
}
} else if (_root.guy._x < this._x) {
this._x = this._x - 4;
gotoAndStop (2);
} else if (_root.guy._x > this._x) {
this._x = this._x + 4;
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (respawn == "y") {
this._x = (1500 * random(2)) - (random(251) + 250);
health = 50;
respawn = "n";
}
}
Instance of Symbol 202 MovieClip in Frame 39
onClipEvent (load) {
respawn = "n";
health = 50;
flinch = "n";
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.guy._x < this._x) {
setProperty(this, _xscale , -100);
} else if (_root.guy._x > this._x) {
setProperty(this, _xscale , 100);
}
if (health < 1) {
gotoAndStop (5);
} else if (_root.health < 1) {
gotoAndStop (1);
} else if (flinch == "y") {
gotoAndStop (3);
} else if ((this.hittest(_root.guy) && (_root.harm == "n")) && (_root.rharm == "n")) {
gotoAndStop (4);
} else if (this.hittest(_root.guyarm) || (this.hittest(_root.guyarmr))) {
if (_root.harm == "y") {
_root.harm = "n";
flinch = "y";
} else if (_root.rharm == "y") {
_root.rharm = "n";
flinch = "y";
}
} else if (_root.guy._x < this._x) {
this._x = this._x - 4;
gotoAndStop (2);
} else if (_root.guy._x > this._x) {
this._x = this._x + 4;
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (respawn == "y") {
this._x = (1500 * random(2)) - (random(251) + 250);
health = 50;
respawn = "n";
}
}
Instance of Symbol 202 MovieClip in Frame 39
onClipEvent (load) {
respawn = "n";
health = 50;
flinch = "n";
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.guy._x < this._x) {
setProperty(this, _xscale , -100);
} else if (_root.guy._x > this._x) {
setProperty(this, _xscale , 100);
}
if (health < 1) {
gotoAndStop (5);
} else if (_root.health < 1) {
gotoAndStop (1);
} else if (flinch == "y") {
gotoAndStop (3);
} else if ((this.hittest(_root.guy) && (_root.harm == "n")) && (_root.rharm == "n")) {
gotoAndStop (4);
} else if (this.hittest(_root.guyarm) || (this.hittest(_root.guyarmr))) {
if (_root.harm == "y") {
_root.harm = "n";
flinch = "y";
} else if (_root.rharm == "y") {
_root.rharm = "n";
flinch = "y";
}
} else if (_root.guy._x < this._x) {
this._x = this._x - 4;
gotoAndStop (2);
} else if (_root.guy._x > this._x) {
this._x = this._x + 4;
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (respawn == "y") {
this._x = (1500 * random(2)) - (random(251) + 250);
health = 50;
respawn = "n";
}
}
Instance of Symbol 239 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (_root.kills > 19) {
_root.gotoAndPlay(42);
}
}
Frame 40
stop();
Frame 41
prevFrame();
Instance of Symbol 162 MovieClip in Frame 55
onClipEvent (load) {
used = "n";
respawn = "n";
}
onClipEvent (enterFrame) {
if (this.hittest(_root.guy) && (Key.isDown(40))) {
used = "y";
}
if (this.hittest(_root.guy) && (Key.isDown(38))) {
used = "r";
}
if (used == "n") {
gotoAndStop (1);
} else if (used == "r") {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 149 MovieClip in Frame 55
onClipEvent (load) {
used = "n";
respawn = "n";
}
onClipEvent (enterFrame) {
if (this.hittest(_root.guy) && (Key.isDown(40))) {
used = "y";
}
if (this.hittest(_root.guy) && (Key.isDown(38))) {
used = "r";
}
if (used == "n") {
gotoAndStop (1);
} else if (used == "r") {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
Frame 69
nextFrame();
Instance of Symbol 259 MovieClip in Frame 69
onClipEvent (load) {
respawn = "n";
health = 50;
flinch = "n";
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.guy._x < this._x) {
setProperty(this, _xscale , -100);
} else if (_root.guy._x > this._x) {
setProperty(this, _xscale , 100);
}
if (health < 1) {
gotoAndStop (5);
} else if (_root.health < 1) {
gotoAndStop (1);
} else if (flinch == "y") {
gotoAndStop (3);
} else if ((this.hittest(_root.guy) && (_root.harm == "n")) && (_root.rharm == "n")) {
gotoAndStop (4);
} else if (this.hittest(_root.guyarm) || (this.hittest(_root.guyarmr))) {
if (_root.harm == "y") {
_root.harm = "n";
flinch = "y";
} else if (_root.rharm == "y") {
_root.rharm = "n";
flinch = "y";
}
} else if (_root.guy._x < this._x) {
this._x = this._x - 4;
gotoAndStop (2);
} else if (_root.guy._x > this._x) {
this._x = this._x + 4;
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (respawn == "y") {
this._x = (1500 * random(2)) - (random(251) + 250);
health = 50;
respawn = "n";
}
}
Instance of Symbol 259 MovieClip in Frame 69
onClipEvent (load) {
respawn = "n";
health = 50;
flinch = "n";
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.guy._x < this._x) {
setProperty(this, _xscale , -100);
} else if (_root.guy._x > this._x) {
setProperty(this, _xscale , 100);
}
if (health < 1) {
gotoAndStop (5);
} else if (_root.health < 1) {
gotoAndStop (1);
} else if (flinch == "y") {
gotoAndStop (3);
} else if ((this.hittest(_root.guy) && (_root.harm == "n")) && (_root.rharm == "n")) {
gotoAndStop (4);
} else if (this.hittest(_root.guyarm) || (this.hittest(_root.guyarmr))) {
if (_root.harm == "y") {
_root.harm = "n";
flinch = "y";
} else if (_root.rharm == "y") {
_root.rharm = "n";
flinch = "y";
}
} else if (_root.guy._x < this._x) {
this._x = this._x - 4;
gotoAndStop (2);
} else if (_root.guy._x > this._x) {
this._x = this._x + 4;
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (respawn == "y") {
this._x = (1500 * random(2)) - (random(251) + 250);
health = 50;
respawn = "n";
}
}
Instance of Symbol 259 MovieClip in Frame 69
onClipEvent (load) {
respawn = "n";
health = 50;
flinch = "n";
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.guy._x < this._x) {
setProperty(this, _xscale , -100);
} else if (_root.guy._x > this._x) {
setProperty(this, _xscale , 100);
}
if (health < 1) {
gotoAndStop (5);
} else if (_root.health < 1) {
gotoAndStop (1);
} else if (flinch == "y") {
gotoAndStop (3);
} else if ((this.hittest(_root.guy) && (_root.harm == "n")) && (_root.rharm == "n")) {
gotoAndStop (4);
} else if (this.hittest(_root.guyarm) || (this.hittest(_root.guyarmr))) {
if (_root.harm == "y") {
_root.harm = "n";
flinch = "y";
} else if (_root.rharm == "y") {
_root.rharm = "n";
flinch = "y";
}
} else if (_root.guy._x < this._x) {
this._x = this._x - 4;
gotoAndStop (2);
} else if (_root.guy._x > this._x) {
this._x = this._x + 4;
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (respawn == "y") {
this._x = (1500 * random(2)) - (random(251) + 250);
health = 50;
respawn = "n";
}
}
Instance of Symbol 239 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (_root.kills == 30) {
_root.gotoAndPlay(72);
}
}
Frame 70
stop();
Frame 71
prevFrame();
Symbol 28 MovieClip Frame 2
_root.rharm = "y";
Symbol 28 MovieClip Frame 10
_root.recattacking = "n";
_root.rharm = "n";
Symbol 29 MovieClip Frame 15
stop();
Symbol 45 MovieClip Frame 2
_root.rharm = "y";
Instance of Symbol 43 MovieClip in Symbol 45 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop(random(5) + 2);
}
Symbol 45 MovieClip Frame 10
_root.recattacking = "n";
_root.rharm = "n";
_root.gunammo = _root.gunammo - 1;
Symbol 51 MovieClip Frame 1
_root.rharm = "y";
Symbol 51 MovieClip Frame 2
_root.rharm = "y";
_root.gunammo = _root.gunammo - 1;
Instance of Symbol 43 MovieClip in Symbol 51 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(random(5) + 2);
}
Symbol 51 MovieClip Frame 4
_root.rharm = "y";
_root.gunammo = _root.gunammo - 1;
Instance of Symbol 43 MovieClip in Symbol 51 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop(random(5) + 2);
}
Symbol 51 MovieClip Frame 6
_root.rharm = "y";
_root.gunammo = _root.gunammo - 1;
Instance of Symbol 43 MovieClip in Symbol 51 MovieClip Frame 6
onClipEvent (load) {
gotoAndStop(random(5) + 2);
}
Symbol 51 MovieClip Frame 8
_root.recattacking = "n";
_root.rharm = "n";
Symbol 55 MovieClip Frame 16
gotoAndPlay (4);
Symbol 56 MovieClip Frame 16
stop();
Symbol 67 MovieClip Frame 60
stop();
stop();
Symbol 69 MovieClip Frame 30
stop();
Symbol 85 MovieClip Frame 25
stop();
Symbol 101 MovieClip Frame 300
stop();
Instance of Symbol 96 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(100);
}
Symbol 102 MovieClip Frame 11
stop();
Instance of Symbol 86 MovieClip in Symbol 103 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(101 - _root.health);
}
Symbol 104 MovieClip Frame 2
_root.harm = "y";
Symbol 104 MovieClip Frame 10
_root.attacking = "n";
_root.harm = "n";
Symbol 106 MovieClip Frame 2
_root.harm = "y";
Instance of Symbol 43 MovieClip in Symbol 106 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop(random(5) + 2);
}
Symbol 106 MovieClip Frame 10
_root.attacking = "n";
_root.harm = "n";
_root.gunammo = _root.gunammo - 1;
Symbol 107 MovieClip Frame 13
_root.gun = "n";
_root.attacking = "n";
Symbol 108 MovieClip Frame 15
stop();
Symbol 110 MovieClip Frame 1
_root.harm = "y";
Symbol 110 MovieClip Frame 2
_root.harm = "y";
_root.gunammo = _root.gunammo - 1;
Instance of Symbol 43 MovieClip in Symbol 110 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(random(5) + 2);
}
Symbol 110 MovieClip Frame 4
_root.harm = "y";
_root.gunammo = _root.gunammo - 1;
Instance of Symbol 43 MovieClip in Symbol 110 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop(random(5) + 2);
}
Symbol 110 MovieClip Frame 6
_root.harm = "y";
_root.gunammo = _root.gunammo - 1;
Instance of Symbol 43 MovieClip in Symbol 110 MovieClip Frame 6
onClipEvent (load) {
gotoAndStop(random(5) + 2);
}
Symbol 110 MovieClip Frame 8
_root.attacking = "n";
_root.harm = "n";
Symbol 111 MovieClip Frame 14
_root.gun = "n";
_root.attacking = "n";
Symbol 122 MovieClip Frame 2
_root.harm = "y";
Symbol 122 MovieClip Frame 5
_root.harm = "n";
Symbol 122 MovieClip Frame 11
if (key.isDown(32)) {
_root.harm = "y";
} else {
_root.attacking = "n";
}
Symbol 122 MovieClip Frame 17
_root.harm = "n";
Symbol 122 MovieClip Frame 21
if (key.isDown(32)) {
_root.harm = "y";
} else {
_root.attacking = "n";
}
Symbol 122 MovieClip Frame 27
_root.harm = "n";
Symbol 122 MovieClip Frame 33
_root.attacking = "n";
Symbol 124 MovieClip Frame 8
_root.harm = "y";
Symbol 124 MovieClip Frame 12
_root.harm = "n";
Symbol 124 MovieClip Frame 20
_root.attacking = "n";
Symbol 130 MovieClip Frame 1
_root.attacking = "y";
_root.harm = "y";
Symbol 130 MovieClip Frame 2
_root.harm = "y";
_root.gunammo = _root.gunammo - 3;
Symbol 130 MovieClip Frame 3
_root.harm = "y";
Symbol 130 MovieClip Frame 4
_root.harm = "y";
Symbol 130 MovieClip Frame 5
_root.harm = "y";
Symbol 130 MovieClip Frame 6
_root.harm = "y";
Symbol 130 MovieClip Frame 7
_root.harm = "y";
Symbol 130 MovieClip Frame 8
_root.harm = "n";
Symbol 130 MovieClip Frame 30
_root.attacking = "n";
Symbol 131 MovieClip Frame 13
_root.gun = "n";
_root.attacking = "n";
Symbol 140 MovieClip Frame 2
_root.gunammo = _root.gunammo + 50;
_root.gun = "m";
Symbol 140 MovieClip Frame 900
stop();
respawn = "y";
_parent.respawn = "y";
Symbol 141 MovieClip Frame 2
_root.gunammo = _root.gunammo + 50;
_root.rgun = "m";
Symbol 141 MovieClip Frame 900
stop();
respawn = "y";
_parent.respawn = "y";
Symbol 147 MovieClip Frame 2
_root.gunammo = _root.gunammo + 30;
Symbol 147 MovieClip Frame 600
stop();
respawn = "y";
_parent.respawn = "y";
Symbol 148 MovieClip Frame 2
_root.gunammo = _root.gunammo + 20;
Symbol 148 MovieClip Frame 600
stop();
respawn = "y";
_parent.respawn = "y";
Symbol 154 MovieClip Frame 2
_root.gunammo = _root.gunammo + 20;
_root.gun = "y";
Symbol 154 MovieClip Frame 900
stop();
respawn = "y";
_parent.respawn = "y";
Symbol 155 MovieClip Frame 2
_root.gunammo = _root.gunammo + 20;
_root.rgun = "y";
Symbol 155 MovieClip Frame 900
stop();
respawn = "y";
_parent.respawn = "y";
Symbol 161 MovieClip Frame 2
_root.gun = "s";
Symbol 161 MovieClip Frame 1800
_parent.respawn = "y";
stop();
Symbol 168 MovieClip Frame 2
_root.gunammo = _root.gunammo + 60;
_root.gun = "shotgun";
Symbol 168 MovieClip Frame 854
stop();
respawn = "y";
_parent.respawn = "y";
Symbol 184 MovieClip Frame 16
_parent.flinch = "n";
Instance of Symbol 187 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (load) {
this._y = random(20) - 10;
}
Symbol 195 MovieClip Frame 2
if (((_root.gun == "y") && (_parent.hittest(_root.guyarm))) || ((_root.rgun == "y") && (_parent.hittest(_root.guyarmr)))) {
_parent.health = _parent.health - 20;
if (_parent.hittest(_root.guyarm)) {
armtype = "dom";
} else {
armtype = "rec";
}
} else if (((_root.gun == "m") && (_parent.hittest(_root.guyarm))) || ((_root.rgun == "m") && (_parent.hittest(_root.guyarmr)))) {
_parent.health = _parent.health - 10;
if (_parent.hittest(_root.guyarm)) {
armtype = "dom";
} else {
armtype = "rec";
}
} else if ((_root.gun == "s") && (_parent.hittest(_root.guyarm))) {
_parent.health = _parent.health - 40;
if (_parent.hittest(_root.guyarm)) {
armtype = "dom";
} else {
armtype = "rec";
}
} else if ((_root.gun == "shotgun") && (_parent.hittest(_root.guyarm))) {
_parent.health = _parent.health - 15;
} else {
_parent.health = _parent.health - 10;
if (_parent.hittest(_root.guyarm)) {
armtype = "dom";
} else {
armtype = "rec";
}
}
Instance of Symbol 194 MovieClip in Symbol 195 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(random(5) + 2);
}
Symbol 195 MovieClip Frame 3
if ((_root.gun == "shotgun") && (_parent.hittest(_root.guyarm))) {
gotoAndPlay (2);
}
Symbol 195 MovieClip Frame 4
if ((_root.gun == "m") && (_parent.hittest(_root.guyarm))) {
gotoAndPlay (1);
}
if ((_root.rgun == "m") && (_parent.hittest(_root.guyarmr))) {
gotoAndPlay (1);
}
if ((_root.gun == "y") && (_parent.hittest(_root.guyarm))) {
if (armtype == "rec") {
gotoAndPlay (1);
}
}
if ((_root.rgun == "y") && (_parent.hittest(_root.guyarmr))) {
if (armtype == "dom") {
gotoAndPlay (1);
}
}
if ((_root.gun == "shotgun") && (_parent.hittest(_root.guyarm))) {
gotoAndPlay (2);
}
Symbol 195 MovieClip Frame 5
if ((_root.gun == "shotgun") && (_parent.hittest(_root.guyarm))) {
gotoAndPlay (2);
}
Symbol 195 MovieClip Frame 6
if ((_root.gun == "shotgun") && (_parent.hittest(_root.guyarm))) {
gotoAndPlay (2);
}
Symbol 195 MovieClip Frame 7
if ((_root.gun == "m") && (_parent.hittest(_root.guyarm))) {
gotoAndPlay (1);
}
if ((_root.rgun == "m") && (_parent.hittest(_root.guyarmr))) {
gotoAndPlay (1);
}
if ((_root.gun == "y") && (_parent.hittest(_root.guyarm))) {
if (armtype == "rec") {
gotoAndPlay (1);
}
}
if ((_root.rgun == "y") && (_parent.hittest(_root.guyarmr))) {
if (armtype == "dom") {
gotoAndPlay (1);
}
}
if ((_root.gun == "shotgun") && (_parent.hittest(_root.guyarm))) {
gotoAndPlay (2);
}
Symbol 195 MovieClip Frame 8
flinch = "n";
Symbol 197 MovieClip Frame 5
_root.health = _root.health - 5;
Symbol 197 MovieClip Frame 15
_root.health = _root.health - 5;
Symbol 197 MovieClip Frame 20
gotoAndPlay (1);
Symbol 201 MovieClip Frame 2
_root.kills = _root.kills + 1;
Symbol 201 MovieClip Frame 12
stop();
respawn = "y";
Instance of Symbol 175 MovieClip in Symbol 202 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(4) + 1);
}
Instance of Symbol 183 MovieClip in Symbol 202 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(5) + 1);
}
Instance of Symbol 195 MovieClip in Symbol 202 MovieClip Frame 3
onClipEvent (enterFrame) {
if (flinch == "n") {
_parent.flinch = "n";
flinch = "n";
}
}
Instance of Symbol 201 MovieClip in Symbol 202 MovieClip Frame 5
onClipEvent (enterFrame) {
if (respawn == "y") {
respawn = "n";
_parent.respawn = "y";
}
}
Instance of Symbol 213 MovieClip "lifebar" in Symbol 214 MovieClip Frame 1
onClipEvent (enterFrame) {
setProperty(this, _xscale , 100 - _root.health);
}
Symbol 221 Button
on (release) {
gotoAndPlay (4);
}
Symbol 225 MovieClip Frame 2
_root.gunammo = _root.gunammo + 50;
_root.gun = "m";
Symbol 225 MovieClip Frame 900
stop();
respawn = "y";
_parent.respawn = "y";
Symbol 231 MovieClip Frame 2
_root.health = _root.health + 20;
Symbol 231 MovieClip Frame 600
stop();
respawn = "y";
_parent.respawn = "y";
Symbol 257 MovieClip Frame 2
if (((_root.gun == "y") && (_parent.hittest(_root.guyarm))) || ((_root.rgun == "y") && (_parent.hittest(_root.guyarmr)))) {
_parent.health = _parent.health - 10;
} else if (((_root.gun == "m") && (_parent.hittest(_root.guyarm))) || ((_root.rgun == "m") && (_parent.hittest(_root.guyarmr)))) {
_parent.health = _parent.health - 10;
} else if ((_root.gun == "s") && (_parent.hittest(_root.guyarm))) {
_parent.health = _parent.health - 40;
} else {
_parent.health = _parent.health - 10;
}
Instance of Symbol 194 MovieClip in Symbol 257 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(random(5) + 2);
}
Symbol 257 MovieClip Frame 4
if ((_root.gun == "m") && (_parent.hittest(_root.guyarm))) {
gotoAndPlay (1);
}
if ((_root.rgun == "m") && (_parent.hittest(_root.guyarmr))) {
gotoAndPlay (1);
}
Symbol 257 MovieClip Frame 7
if ((_root.gun == "m") && (_parent.hittest(_root.guyarm))) {
_parent.health = _parent.health - 10;
}
if ((_root.rgun == "m") && (_parent.hittest(_root.guyarmr))) {
_parent.health = _parent.health - 10;
}
Symbol 257 MovieClip Frame 8
flinch = "n";
Symbol 258 MovieClip Frame 8
_root.health = _root.health - 15;
Symbol 258 MovieClip Frame 15
gotoAndPlay (5);
Instance of Symbol 175 MovieClip in Symbol 259 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(4) + 1);
}
Instance of Symbol 183 MovieClip in Symbol 259 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(5) + 1);
}
Instance of Symbol 257 MovieClip in Symbol 259 MovieClip Frame 3
onClipEvent (enterFrame) {
if (flinch == "n") {
_parent.flinch = "n";
flinch = "n";
}
}
Instance of Symbol 201 MovieClip in Symbol 259 MovieClip Frame 5
onClipEvent (enterFrame) {
if (respawn == "y") {
respawn = "n";
_parent.respawn = "y";
}
}