Frame 1
stop();
Frame 2
stop();
_root.ninjaleft = 0;
stage.showmenu = false;
stopAllSounds();
Instance of Symbol 87 MovieClip in Frame 2
onClipEvent (enterFrame) {
_root.loadedd = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
_root.loaded = _root.loadedd + " %";
_rotation = (_rotation + (_root.loadedd / 10));
_root.degrees = _root.degrees + Math.round(_root.loadedd / 10);
_root.distance = Math.round(_root.degrees / 360);
if (_root.loadedd == 100) {
tellTarget ("_root") {
play();
};
}
}
onClipEvent (load) {
stop();
}
Frame 3
stop();
Frame 5
stop();
Frame 6
stop();
_root.health = 100;
Instance of Symbol 186 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe.feet)) {
if ((_root.gubbe.jumpMax <= 10) || (_root.gubbe.jumpMax == 30)) {
_root.gubbe._y = _root.gubbe._y - 10;
_root.gubbe.jumping = false;
_root.gubbe.jumpMax = _root.gubbe.jumpStandard;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 188 MovieClip "left" in Frame 6
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 300);
}
Instance of Symbol 188 MovieClip "right" in Frame 6
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 300);
}
Instance of Symbol 188 MovieClip "bodyhit" in Frame 6
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = (_root.gubbe._y - 50);
}
Instance of Symbol 601 MovieClip "gubbe" in Frame 6
onClipEvent (enterFrame) {
if (_root.pause == false) {
_y = (_y + 10);
if (Key.isDown(38) & (jumping == false)) {
jumping = true;
}
if ((jumping == true) & (jumpMax >= 0)) {
_y = (_y - jumpMax);
jumpMax = jumpMax - 2;
}
if (Key.isDown(39)) {
_xscale = 100;
if (attacking == false) {
speed = speed + 2;
_x = (_x + speed);
if (jumping == false) {
gotoAndStop (2);
}
}
} else if (Key.isDown(37)) {
_xscale = -100;
if (attacking == false) {
speed = speed + 2;
_x = (_x - speed);
if (jumping == false) {
gotoAndStop (2);
}
}
} else {
speed = 0;
}
if (speed >= 10) {
speed = 10;
}
if (Key.isDown(65) & (death == false)) {
gotoAndStop (5);
attacking = true;
}
if ((((!Key.isDown(39)) & (!Key.isDown(37))) & (jumping == false)) & (attacking == false)) {
gotoAndStop (1);
}
if (((jumping == true) & (jumpMax > 10)) & (attacking == false)) {
gotoAndStop (3);
}
if (((jumping == true) & (jumpMax < 10)) & (attacking == false)) {
gotoAndStop (4);
}
if (_x > 500) {
_x = (_x - (speed + 2));
_root.level._x = _root.level._x - 10;
_root.ninjas._x = _root.ninjas._x - 11;
_root.ground.nextFrame();
_root.ground2.nextFrame();
_root.ground3.nextFrame();
}
if (_x < 100) {
_x = (_x + (speed + 2));
_root.level._x = _root.level._x + 10;
_root.ninjas._x = _root.ninjas._x + 11;
_root.ground.prevFrame();
_root.ground2.prevFrame();
_root.ground3.prevFrame();
}
}
}
onClipEvent (load) {
jumpStandard = 30;
jumpMax = jumpStandard;
jumping = false;
attacking = false;
death = false;
_root.pause = false;
}
Instance of Symbol 611 MovieClip in Frame 6
onClipEvent (load) {
_root.timelefttotal = 900;
}
onClipEvent (enterFrame) {
if (_root.ninjaleft == 0) {
_root.nextFrame();
}
if (_root.pause == false) {
_root.timelefttotal--;
_root.timeleft = Math.round(_root.timelefttotal / 30);
_root.totaltimeplayedtotal++;
_root.totaltimeplayed = Math.round(_root.totaltimeplayedtotal / 30);
}
if (_root.timelefttotal == 0) {
_root.gotoAndStop("gameover");
}
if (_root.health == 0) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 663 MovieClip in Frame 6
onClipEvent (enterFrame) {
_currentframe = _root.health;
gotoAndStop(_root.health);
}
Frame 8
stop();
Instance of Symbol 186 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe.feet)) {
if ((_root.gubbe.jumpMax <= 10) || (_root.gubbe.jumpMax == 30)) {
_root.gubbe._y = _root.gubbe._y - 10;
_root.gubbe.jumping = false;
_root.gubbe.jumpMax = _root.gubbe.jumpStandard;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 188 MovieClip "left" in Frame 8
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 300);
}
Instance of Symbol 188 MovieClip "right" in Frame 8
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 300);
}
Instance of Symbol 188 MovieClip "bodyhit" in Frame 8
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = (_root.gubbe._y - 50);
}
Instance of Symbol 601 MovieClip "gubbe" in Frame 8
onClipEvent (enterFrame) {
if (_root.pause == false) {
_y = (_y + 10);
if (Key.isDown(38) & (jumping == false)) {
jumping = true;
}
if ((jumping == true) & (jumpMax >= 0)) {
_y = (_y - jumpMax);
jumpMax = jumpMax - 2;
}
if (Key.isDown(39)) {
_xscale = 100;
if (attacking == false) {
speed = speed + 2;
_x = (_x + speed);
if (jumping == false) {
gotoAndStop (2);
}
}
} else if (Key.isDown(37)) {
_xscale = -100;
if (attacking == false) {
speed = speed + 2;
_x = (_x - speed);
if (jumping == false) {
gotoAndStop (2);
}
}
} else {
speed = 0;
}
if (speed >= 10) {
speed = 10;
}
if (Key.isDown(65) & (death == false)) {
gotoAndStop (5);
attacking = true;
}
if ((((!Key.isDown(39)) & (!Key.isDown(37))) & (jumping == false)) & (attacking == false)) {
gotoAndStop (1);
}
if (((jumping == true) & (jumpMax > 10)) & (attacking == false)) {
gotoAndStop (3);
}
if (((jumping == true) & (jumpMax < 10)) & (attacking == false)) {
gotoAndStop (4);
}
if (_x > 500) {
_x = (_x - (speed + 2));
_root.level._x = _root.level._x - 10;
_root.ninjas._x = _root.ninjas._x - 11;
_root.ground.nextFrame();
_root.ground2.nextFrame();
_root.ground3.nextFrame();
}
if (_x < 100) {
_x = (_x + (speed + 2));
_root.level._x = _root.level._x + 10;
_root.ninjas._x = _root.ninjas._x + 11;
_root.ground.prevFrame();
_root.ground2.prevFrame();
_root.ground3.prevFrame();
}
}
}
onClipEvent (load) {
jumpStandard = 30;
jumpMax = jumpStandard;
jumping = false;
attacking = false;
death = false;
_root.pause = false;
}
Instance of Symbol 611 MovieClip in Frame 8
onClipEvent (load) {
_root.timelefttotal = 900;
}
onClipEvent (enterFrame) {
if (_root.ninjaleft == 0) {
_root.nextFrame();
}
if (_root.pause == false) {
_root.timelefttotal--;
_root.timeleft = Math.round(_root.timelefttotal / 30);
_root.totaltimeplayedtotal++;
_root.totaltimeplayed = Math.round(_root.totaltimeplayedtotal / 30);
}
if (_root.timelefttotal == 0) {
_root.gotoAndStop("gameover");
}
if (_root.health == 0) {
_root.gotoAndStop("gameover");
}
}
Frame 10
stop();
Instance of Symbol 186 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe.feet)) {
if ((_root.gubbe.jumpMax <= 10) || (_root.gubbe.jumpMax == 30)) {
_root.gubbe._y = _root.gubbe._y - 10;
_root.gubbe.jumping = false;
_root.gubbe.jumpMax = _root.gubbe.jumpStandard;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 188 MovieClip "left" in Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 300);
}
Instance of Symbol 188 MovieClip "right" in Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 300);
}
Instance of Symbol 188 MovieClip "bodyhit" in Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = (_root.gubbe._y - 50);
}
Instance of Symbol 601 MovieClip "gubbe" in Frame 10
onClipEvent (enterFrame) {
if (_root.pause == false) {
_y = (_y + 10);
if (Key.isDown(38) & (jumping == false)) {
jumping = true;
}
if ((jumping == true) & (jumpMax >= 0)) {
_y = (_y - jumpMax);
jumpMax = jumpMax - 2;
}
if (Key.isDown(39)) {
_xscale = 100;
if (attacking == false) {
speed = speed + 2;
_x = (_x + speed);
if (jumping == false) {
gotoAndStop (2);
}
}
} else if (Key.isDown(37)) {
_xscale = -100;
if (attacking == false) {
speed = speed + 2;
_x = (_x - speed);
if (jumping == false) {
gotoAndStop (2);
}
}
} else {
speed = 0;
}
if (speed >= 10) {
speed = 10;
}
if (Key.isDown(65) & (death == false)) {
gotoAndStop (5);
attacking = true;
}
if ((((!Key.isDown(39)) & (!Key.isDown(37))) & (jumping == false)) & (attacking == false)) {
gotoAndStop (1);
}
if (((jumping == true) & (jumpMax > 10)) & (attacking == false)) {
gotoAndStop (3);
}
if (((jumping == true) & (jumpMax < 10)) & (attacking == false)) {
gotoAndStop (4);
}
if (_x > 500) {
_x = (_x - (speed + 2));
_root.level._x = _root.level._x - 10;
_root.ninjas._x = _root.ninjas._x - 11;
_root.ground.nextFrame();
_root.ground2.nextFrame();
_root.ground3.nextFrame();
}
if (_x < 100) {
_x = (_x + (speed + 2));
_root.level._x = _root.level._x + 10;
_root.ninjas._x = _root.ninjas._x + 11;
_root.ground.prevFrame();
_root.ground2.prevFrame();
_root.ground3.prevFrame();
}
}
}
onClipEvent (load) {
jumpStandard = 30;
jumpMax = jumpStandard;
jumping = false;
attacking = false;
death = false;
_root.pause = false;
}
Instance of Symbol 611 MovieClip in Frame 10
onClipEvent (load) {
_root.timelefttotal = 900;
}
onClipEvent (enterFrame) {
if (_root.ninjaleft == 0) {
_root.nextFrame();
}
if (_root.pause == false) {
_root.timelefttotal--;
_root.timeleft = Math.round(_root.timelefttotal / 30);
_root.totaltimeplayedtotal++;
_root.totaltimeplayed = Math.round(_root.totaltimeplayedtotal / 30);
}
if (_root.timelefttotal == 0) {
_root.gotoAndStop("gameover");
}
if (_root.health == 0) {
_root.gotoAndStop("gameover");
}
}
Frame 12
stop();
Instance of Symbol 186 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe.feet)) {
if ((_root.gubbe.jumpMax <= 10) || (_root.gubbe.jumpMax == 30)) {
_root.gubbe._y = _root.gubbe._y - 10;
_root.gubbe.jumping = false;
_root.gubbe.jumpMax = _root.gubbe.jumpStandard;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 188 MovieClip "left" in Frame 12
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 300);
}
Instance of Symbol 188 MovieClip "right" in Frame 12
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 300);
}
Instance of Symbol 188 MovieClip "bodyhit" in Frame 12
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = (_root.gubbe._y - 50);
}
Instance of Symbol 601 MovieClip "gubbe" in Frame 12
onClipEvent (enterFrame) {
if (_root.pause == false) {
_y = (_y + 10);
if (Key.isDown(38) & (jumping == false)) {
jumping = true;
}
if ((jumping == true) & (jumpMax >= 0)) {
_y = (_y - jumpMax);
jumpMax = jumpMax - 2;
}
if (Key.isDown(39)) {
_xscale = 100;
if (attacking == false) {
speed = speed + 2;
_x = (_x + speed);
if (jumping == false) {
gotoAndStop (2);
}
}
} else if (Key.isDown(37)) {
_xscale = -100;
if (attacking == false) {
speed = speed + 2;
_x = (_x - speed);
if (jumping == false) {
gotoAndStop (2);
}
}
} else {
speed = 0;
}
if (speed >= 10) {
speed = 10;
}
if (Key.isDown(65) & (death == false)) {
gotoAndStop (5);
attacking = true;
}
if ((((!Key.isDown(39)) & (!Key.isDown(37))) & (jumping == false)) & (attacking == false)) {
gotoAndStop (1);
}
if (((jumping == true) & (jumpMax > 10)) & (attacking == false)) {
gotoAndStop (3);
}
if (((jumping == true) & (jumpMax < 10)) & (attacking == false)) {
gotoAndStop (4);
}
if (_x > 500) {
_x = (_x - (speed + 2));
_root.level._x = _root.level._x - 10;
_root.ninjas._x = _root.ninjas._x - 11;
_root.ground.nextFrame();
_root.ground2.nextFrame();
_root.ground3.nextFrame();
}
if (_x < 100) {
_x = (_x + (speed + 2));
_root.level._x = _root.level._x + 10;
_root.ninjas._x = _root.ninjas._x + 11;
_root.ground.prevFrame();
_root.ground2.prevFrame();
_root.ground3.prevFrame();
}
}
}
onClipEvent (load) {
jumpStandard = 30;
jumpMax = jumpStandard;
jumping = false;
attacking = false;
death = false;
_root.pause = false;
}
Instance of Symbol 611 MovieClip in Frame 12
onClipEvent (load) {
_root.timelefttotal = 900;
}
onClipEvent (enterFrame) {
if (_root.ninjaleft == 0) {
_root.nextFrame();
}
if (_root.pause == false) {
_root.timelefttotal--;
_root.timeleft = Math.round(_root.timelefttotal / 30);
_root.totaltimeplayedtotal++;
_root.totaltimeplayed = Math.round(_root.totaltimeplayedtotal / 30);
}
if (_root.timelefttotal == 0) {
_root.gotoAndStop("gameover");
}
if (_root.health == 0) {
_root.gotoAndStop("gameover");
}
}
Frame 14
stop();
Instance of Symbol 186 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe.feet)) {
if ((_root.gubbe.jumpMax <= 10) || (_root.gubbe.jumpMax == 30)) {
_root.gubbe._y = _root.gubbe._y - 10;
_root.gubbe.jumping = false;
_root.gubbe.jumpMax = _root.gubbe.jumpStandard;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 188 MovieClip "left" in Frame 14
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 300);
}
Instance of Symbol 188 MovieClip "right" in Frame 14
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 300);
}
Instance of Symbol 188 MovieClip "bodyhit" in Frame 14
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = (_root.gubbe._y - 50);
}
Instance of Symbol 601 MovieClip "gubbe" in Frame 14
onClipEvent (enterFrame) {
if (_root.pause == false) {
_y = (_y + 10);
if (Key.isDown(38) & (jumping == false)) {
jumping = true;
}
if ((jumping == true) & (jumpMax >= 0)) {
_y = (_y - jumpMax);
jumpMax = jumpMax - 2;
}
if (Key.isDown(39)) {
_xscale = 100;
if (attacking == false) {
speed = speed + 2;
_x = (_x + speed);
if (jumping == false) {
gotoAndStop (2);
}
}
} else if (Key.isDown(37)) {
_xscale = -100;
if (attacking == false) {
speed = speed + 2;
_x = (_x - speed);
if (jumping == false) {
gotoAndStop (2);
}
}
} else {
speed = 0;
}
if (speed >= 10) {
speed = 10;
}
if (Key.isDown(65) & (death == false)) {
gotoAndStop (5);
attacking = true;
}
if ((((!Key.isDown(39)) & (!Key.isDown(37))) & (jumping == false)) & (attacking == false)) {
gotoAndStop (1);
}
if (((jumping == true) & (jumpMax > 10)) & (attacking == false)) {
gotoAndStop (3);
}
if (((jumping == true) & (jumpMax < 10)) & (attacking == false)) {
gotoAndStop (4);
}
if (_x > 500) {
_x = (_x - (speed + 2));
_root.level._x = _root.level._x - 10;
_root.ninjas._x = _root.ninjas._x - 11;
_root.ground.nextFrame();
_root.ground2.nextFrame();
_root.ground3.nextFrame();
}
if (_x < 100) {
_x = (_x + (speed + 2));
_root.level._x = _root.level._x + 10;
_root.ninjas._x = _root.ninjas._x + 11;
_root.ground.prevFrame();
_root.ground2.prevFrame();
_root.ground3.prevFrame();
}
}
}
onClipEvent (load) {
jumpStandard = 30;
jumpMax = jumpStandard;
jumping = false;
attacking = false;
death = false;
_root.pause = false;
}
Instance of Symbol 611 MovieClip in Frame 14
onClipEvent (load) {
_root.timelefttotal = 1350;
}
onClipEvent (enterFrame) {
if (_root.ninjaleft == 0) {
_root.nextFrame();
}
if (_root.pause == false) {
_root.timelefttotal--;
_root.timeleft = Math.round(_root.timelefttotal / 30);
_root.totaltimeplayedtotal++;
_root.totaltimeplayed = Math.round(_root.totaltimeplayedtotal / 30);
}
if (_root.timelefttotal == 0) {
_root.gotoAndStop("gameover");
}
if (_root.health == 0) {
_root.gotoAndStop("gameover");
}
}
Frame 16
stop();
Instance of Symbol 186 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe.feet)) {
if ((_root.gubbe.jumpMax <= 10) || (_root.gubbe.jumpMax == 30)) {
_root.gubbe._y = _root.gubbe._y - 10;
_root.gubbe.jumping = false;
_root.gubbe.jumpMax = _root.gubbe.jumpStandard;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 188 MovieClip "left" in Frame 16
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 300);
}
Instance of Symbol 188 MovieClip "right" in Frame 16
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 300);
}
Instance of Symbol 188 MovieClip "bodyhit" in Frame 16
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = (_root.gubbe._y - 50);
}
Instance of Symbol 601 MovieClip "gubbe" in Frame 16
onClipEvent (enterFrame) {
if (_root.pause == false) {
_y = (_y + 10);
if (Key.isDown(38) & (jumping == false)) {
jumping = true;
}
if ((jumping == true) & (jumpMax >= 0)) {
_y = (_y - jumpMax);
jumpMax = jumpMax - 2;
}
if (Key.isDown(39)) {
_xscale = 100;
if (attacking == false) {
speed = speed + 2;
_x = (_x + speed);
if (jumping == false) {
gotoAndStop (2);
}
}
} else if (Key.isDown(37)) {
_xscale = -100;
if (attacking == false) {
speed = speed + 2;
_x = (_x - speed);
if (jumping == false) {
gotoAndStop (2);
}
}
} else {
speed = 0;
}
if (speed >= 10) {
speed = 10;
}
if (Key.isDown(65) & (death == false)) {
gotoAndStop (5);
attacking = true;
}
if ((((!Key.isDown(39)) & (!Key.isDown(37))) & (jumping == false)) & (attacking == false)) {
gotoAndStop (1);
}
if (((jumping == true) & (jumpMax > 10)) & (attacking == false)) {
gotoAndStop (3);
}
if (((jumping == true) & (jumpMax < 10)) & (attacking == false)) {
gotoAndStop (4);
}
if (_x > 500) {
_x = (_x - (speed + 2));
_root.level._x = _root.level._x - 10;
_root.ninjas._x = _root.ninjas._x - 11;
_root.ground.nextFrame();
_root.ground2.nextFrame();
_root.ground3.nextFrame();
}
if (_x < 100) {
_x = (_x + (speed + 2));
_root.level._x = _root.level._x + 10;
_root.ninjas._x = _root.ninjas._x + 11;
_root.ground.prevFrame();
_root.ground2.prevFrame();
_root.ground3.prevFrame();
}
}
}
onClipEvent (load) {
jumpStandard = 30;
jumpMax = jumpStandard;
jumping = false;
attacking = false;
death = false;
_root.pause = false;
}
Instance of Symbol 611 MovieClip in Frame 16
onClipEvent (load) {
_root.timelefttotal = 1800;
}
onClipEvent (enterFrame) {
if (_root.ninjaleft == 0) {
_root.nextFrame();
}
if (_root.pause == false) {
_root.timelefttotal--;
_root.timeleft = Math.round(_root.timelefttotal / 30);
_root.totaltimeplayedtotal++;
_root.totaltimeplayed = Math.round(_root.totaltimeplayedtotal / 30);
}
if (_root.timelefttotal == 0) {
_root.gotoAndStop("gameover");
}
if (_root.health == 0) {
_root.gotoAndStop("gameover");
}
}
Frame 18
stop();
Instance of Symbol 186 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe.feet)) {
if ((_root.gubbe.jumpMax <= 10) || (_root.gubbe.jumpMax == 30)) {
_root.gubbe._y = _root.gubbe._y - 10;
_root.gubbe.jumping = false;
_root.gubbe.jumpMax = _root.gubbe.jumpStandard;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 188 MovieClip "bodyhit" in Frame 18
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = _root.gubbe._y;
}
Instance of Symbol 601 MovieClip "gubbe" in Frame 18
onClipEvent (enterFrame) {
if (_root.pause == false) {
_y = (_y + 10);
if (Key.isDown(38) & (jumping == false)) {
jumping = true;
}
if ((jumping == true) & (jumpMax >= 0)) {
_y = (_y - jumpMax);
jumpMax = jumpMax - 2;
}
if (Key.isDown(39)) {
_xscale = 100;
if (attacking == false) {
speed = speed + 2;
_x = (_x + speed);
if (jumping == false) {
gotoAndStop (2);
}
}
} else if (Key.isDown(37)) {
_xscale = -100;
if (attacking == false) {
speed = speed + 2;
_x = (_x - speed);
if (jumping == false) {
gotoAndStop (2);
}
}
} else {
speed = 0;
}
if (speed >= 10) {
speed = 10;
}
if (Key.isDown(65) & (death == false)) {
gotoAndStop (5);
attacking = true;
}
if ((((!Key.isDown(39)) & (!Key.isDown(37))) & (jumping == false)) & (attacking == false)) {
gotoAndStop (1);
}
if (((jumping == true) & (jumpMax > 10)) & (attacking == false)) {
gotoAndStop (3);
}
if (((jumping == true) & (jumpMax < 10)) & (attacking == false)) {
gotoAndStop (4);
}
if (_x > 500) {
_x = (_x - (speed + 2));
}
if (_x < 0) {
_x = (_x + (speed + 2));
}
}
}
onClipEvent (load) {
jumpStandard = 30;
jumpMax = jumpStandard;
jumping = false;
attacking = false;
death = false;
}
Instance of Symbol 907 MovieClip "boss" in Frame 18
onClipEvent (enterFrame) {
if (this.hitter.hittest(_root.gubbe)) {
_root.pause = true;
_root.boss.gotoAndPlay("crush");
}
if (_root.pause == false) {
_root.totaltimeplayedtotal++;
_root.totaltimeplayed = Math.round(_root.totaltimeplayedtotal / 30);
}
if (_root.health == 0) {
_root.gotoAndStop("gameover");
}
}
Frame 19
stopAllSounds();
Frame 20
stopAllSounds();
Frame 21
stop();
_root.ninjakilledsurvival = 0;
death = false;
_root.pause = false;
_root.health = 100;
_root._quality = "LOW";
Instance of Symbol 186 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe.feet)) {
if ((_root.gubbe.jumpMax <= 10) || (_root.gubbe.jumpMax == 30)) {
_root.gubbe._y = _root.gubbe._y - 10;
_root.gubbe.jumping = false;
_root.gubbe.jumpMax = _root.gubbe.jumpStandard;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 188 MovieClip "left" in Frame 21
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 300);
}
Instance of Symbol 188 MovieClip "right" in Frame 21
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 300);
}
Instance of Symbol 188 MovieClip "bodyhit" in Frame 21
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = (_root.gubbe._y - 50);
}
Instance of Symbol 601 MovieClip "gubbe" in Frame 21
onClipEvent (enterFrame) {
if (_root.pause == false) {
_y = (_y + 10);
if (Key.isDown(38) & (jumping == false)) {
jumping = true;
}
if ((jumping == true) & (jumpMax >= 0)) {
_y = (_y - jumpMax);
jumpMax = jumpMax - 2;
}
if (Key.isDown(39)) {
_xscale = 100;
if (attacking == false) {
speed = speed + 2;
_x = (_x + speed);
if (jumping == false) {
gotoAndStop (2);
}
}
} else if (Key.isDown(37)) {
_xscale = -100;
if (attacking == false) {
speed = speed + 2;
_x = (_x - speed);
if (jumping == false) {
gotoAndStop (2);
}
}
} else {
speed = 0;
}
if (speed >= 10) {
speed = 10;
}
if (Key.isDown(65) & (death == false)) {
gotoAndStop (5);
attacking = true;
}
if ((((!Key.isDown(39)) & (!Key.isDown(37))) & (jumping == false)) & (attacking == false)) {
gotoAndStop (1);
}
if (((jumping == true) & (jumpMax > 10)) & (attacking == false)) {
gotoAndStop (3);
}
if (((jumping == true) & (jumpMax < 10)) & (attacking == false)) {
gotoAndStop (4);
}
if (_x > 500) {
_x = (_x - (speed + 2));
_root.ground.nextFrame();
_root.ground2.nextFrame();
_root.ground3.nextFrame();
_root.moveright = true;
} else {
_root.moveright = false;
}
if (_x < 100) {
_x = (_x + (speed + 2));
_root.ground.prevFrame();
_root.ground2.prevFrame();
_root.ground3.prevFrame();
_root.moveleft = true;
} else {
_root.moveleft = false;
}
}
}
onClipEvent (load) {
jumpStandard = 30;
jumpMax = jumpStandard;
jumping = false;
attacking = false;
death = false;
_root.pause = false;
}
Instance of Symbol 663 MovieClip in Frame 21
onClipEvent (enterFrame) {
_currentframe = _root.health;
gotoAndStop(_root.health);
}
Instance of Symbol 953 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
play();
}
_root.totaltimeplayedtotal++;
_root.totaltimeplayed = Math.round(_root.totaltimeplayedtotal / 30);
if (_root.health == 0) {
_root.gotoAndStop("gameoversurvival");
}
}
Frame 22
stop();
stopAllSounds();
_root._quality = "HIGH";
Symbol 75 MovieClip Frame 187
_root.play();
Symbol 77 Button
on (release) {
getURL ("http://www.craziness.com", "_blank");
}
Symbol 87 MovieClip Frame 40
stop();
Symbol 136 MovieClip Frame 27
stop();
Symbol 137 Button
on (release) {
getURL ("http://www.craziness.com", "_blank");
}
Symbol 142 Button
on (release) {
gotoAndStop (5);
}
Symbol 143 Button
on (release) {
nextFrame();
}
Symbol 145 Button
on (release) {
gotoAndStop ("survival");
}
Symbol 146 Button
on (release) {
getURL ("http://www.gamesforyourwebsite.com/sponsor.php", "_blank");
}
Symbol 149 Button
on (release) {
getURL ("http://www.gamesforyourwebsite.com/", "_blank");
}
Symbol 155 Button
on (release) {
getURL ("http://senor-taco.deviantart.com", "_blank");
}
Symbol 156 Button
on (release) {
getURL ("http://www.flashbolt.com", "_blank");
}
Symbol 157 Button
on (release) {
getURL ("http://newgrounds.com/audio/view.php?id=1307619&sub=30479", "_blank");
}
Symbol 158 Button
on (release) {
getURL ("http://www.geocities.com/hobbestheprince/index.htm", "_blank");
}
Symbol 160 Button
on (release) {
prevFrame();
}
Symbol 176 MovieClip Frame 270
_root.play();
Symbol 180 MovieClip Frame 1
gotoAndStop (299);
Symbol 180 MovieClip Frame 300
gotoAndStop (2);
Symbol 184 MovieClip Frame 1
gotoAndStop (99);
Symbol 184 MovieClip Frame 100
gotoAndStop (2);
Instance of Symbol 285 MovieClip in Symbol 318 MovieClip Frame 13
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit) & (_root.pause == false)) {
_root.health--;
}
}
Symbol 376 MovieClip Frame 28
stop();
Symbol 377 MovieClip Frame 100
stop();
Symbol 378 MovieClip Frame 1
recoil = false;
Symbol 378 MovieClip Frame 6
recoil = false;
gotoAndStop (1);
Instance of Symbol 378 MovieClip in Symbol 379 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 379 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Symbol 502 MovieClip Frame 34
stop();
Symbol 532 MovieClip Frame 12
stop();
Instance of Symbol 594 MovieClip "hit" in Symbol 595 MovieClip Frame 7
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 594 MovieClip "hit" in Symbol 595 MovieClip Frame 26
onClipEvent (load) {
_visible = false;
}
Symbol 595 MovieClip Frame 31
_root.gubbe.attacking = false;
_root.gubbe.gotoAndStop(1);
Symbol 598 MovieClip Frame 25
_root.gubbe.attacking = false;
_root.ammo--;
_root.gubbe.gotoAndStop(1);
Symbol 600 MovieClip Frame 32
_root.gubbe.attacking = false;
_root.ammo--;
_root.gubbe.gotoAndStop(1);
Symbol 601 MovieClip Frame 1
stop();
Instance of Symbol 381 MovieClip "feet" in Symbol 601 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 601 MovieClip Frame 2
stop();
Symbol 601 MovieClip Frame 3
stop();
Symbol 601 MovieClip Frame 4
stop();
Symbol 601 MovieClip Frame 5
stop();
Symbol 601 MovieClip Frame 6
stop();
Symbol 605 MovieClip Frame 1
gotoAndStop (79);
Symbol 605 MovieClip Frame 80
gotoAndStop (2);
Symbol 654 MovieClip Frame 1
stop();
Symbol 654 MovieClip Frame 97
_root.pause = false;
Symbol 658 MovieClip Frame 1
stop();
Symbol 670 Button
on (release) {
_root.music.gotoAndStop(2);
_root.playing = false;
stopAllSounds();
nextFrame();
}
Symbol 672 Button
on (release) {
_root.music.gotoAndStop(1);
prevFrame();
_root.playing = true;
}
Symbol 673 MovieClip Frame 1
stop();
Symbol 676 MovieClip Frame 1
stop();
Symbol 676 MovieClip Frame 2
stop();
Symbol 722 MovieClip Frame 60
_root.nextFrame();
Instance of Symbol 378 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 732 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 732 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 732 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 732 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 732 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 732 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 741 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 741 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 741 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 741 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 741 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 741 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 741 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 741 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 750 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 750 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 750 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 750 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 750 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 750 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 750 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 750 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 750 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 750 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 759 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 759 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 759 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 759 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 759 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 759 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 759 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 759 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 759 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 759 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 759 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 759 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 759 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Instance of Symbol 378 MovieClip in Symbol 759 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.totalninjakilled++;
_root.ninjaleft--;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
_root.ninjaleft++;
}
Symbol 906 MovieClip Frame 51
stop();
Symbol 907 MovieClip Frame 1
_root.pause = true;
Symbol 907 MovieClip Frame 120
_root.pause = false;
Instance of Symbol 594 MovieClip "hitter" in Symbol 907 MovieClip Frame 120
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 172
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 235
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 258
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 266
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 321
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 344
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 352
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 407
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 430
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 438
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 493
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 516
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 524
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 543
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 551
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 579
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 606
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 629
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 637
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 656
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 664
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 692
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 719
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 742
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 750
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 769
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 777
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 805
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 832
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 855
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 863
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 882
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 890
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 909
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 917
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 918
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 945
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 972
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 995
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 1003
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 1022
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 1030
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 1049
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 1057
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 1058
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 1085
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 285 MovieClip in Symbol 907 MovieClip Frame 1112
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Symbol 907 MovieClip Frame 1113
_root.paused = true;
Symbol 907 MovieClip Frame 1150
_root.gotoAndStop("win");
Symbol 907 MovieClip Frame 1151
_root.gubbe._visible = false;
Symbol 907 MovieClip Frame 1202
_root.gotoAndStop("gameover");
Symbol 923 MovieClip Frame 13
gotoAndPlay (7);
Symbol 925 Button
on (release) {
gotoAndStop (1);
}
Symbol 934 Button
on (release) {
getURL ("http://www.urgames.com/games/ninja-nightmare", "_blank");
}
Symbol 939 Button
on (release) {
gotoAndStop (1);
}
Symbol 942 MovieClip Frame 271
stop();
Instance of Symbol 285 MovieClip in Symbol 943 MovieClip Frame 13
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit) & (_root.pause == false)) {
_root.health = _root.health - 2;
}
}
Symbol 944 MovieClip Frame 1
recoil = false;
Symbol 944 MovieClip Frame 6
recoil = false;
gotoAndStop (1);
Instance of Symbol 944 MovieClip "ninja" in Symbol 945 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hittest(_root.left) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = 100;
_x = (_x + 5);
gotoAndStop (2);
}
}
} else if (this.hittest(_root.right) & (dead == false)) {
if (attacking == false) {
if (recoil == false) {
_xscale = -100;
_x = (_x - 5);
gotoAndStop (2);
}
}
} else if (((attacking == false) & (dead == false)) & (recoil == false)) {
gotoAndStop (1);
}
if ((this.hittest(_root.bodyhit) & (recoil == false)) & (dead == false)) {
gotoAndStop (3);
attacking = true;
}
if (this.attack._currentframe == 28) {
attacking = false;
}
if (this.hitted._currentframe == 28) {
recoil = false;
}
if (this.hittest(_root.gubbe.attacking1.hit) & (dead == false)) {
recoil = true;
life--;
gotoAndStop (4);
_root.punch.play();
}
if ((life == 0) & (_currentframe != 5)) {
_root.ninjakilledsurvival++;
dead = true;
gotoAndStop (5);
rnd = random(10);
if (rnd == 5) {
_root.pause = true;
_root.slowmo1.play();
}
if (_root.gubbe._xscale == 100) {
_xscale = -100;
} else {
_xscale = 100;
}
}
if (_currentframe == 1) {
recoil = false;
attacking = false;
}
}
if (_root.moveright == true) {
_x = (_x - 11);
}
if (_root.moveleft == true) {
_x = (_x + 11);
}
if (this.five._currentframe == 100) {
this.removeMovieClip();
}
}
onClipEvent (load) {
attacking = false;
recoil = false;
dead = false;
life = random(20) + 1;
rnd2 = random(10);
if (rnd2 < 5) {
_x = (-random(300));
} else {
_x = (550 + random(300));
}
_root.ninjas.ninja._x = 999999999 /* 0x3B9AC9FF */;
}
Symbol 953 MovieClip Frame 80
i = random(999999);
_root.ninjas.ninja.duplicateMovieClip("enemy" + i, i + 100);