Frame 1
stop();
Instance of Symbol 6 MovieClip in Frame 1
onClipEvent (mouseDown) {
getURL ("http://www.urgames.com");
}
Frame 2
stop();
_root.ninjaleft = 0;
stage.showmenu = false;
Instance of Symbol 15 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 79 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 81 MovieClip "left" in Frame 6
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 300);
}
Instance of Symbol 81 MovieClip "right" in Frame 6
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 300);
}
Instance of Symbol 81 MovieClip "bodyhit" in Frame 6
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = (_root.gubbe._y - 50);
}
Instance of Symbol 494 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 504 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 556 MovieClip in Frame 6
onClipEvent (enterFrame) {
_currentframe = _root.health;
gotoAndStop(_root.health);
}
Frame 8
stop();
Instance of Symbol 79 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 81 MovieClip "left" in Frame 8
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 300);
}
Instance of Symbol 81 MovieClip "right" in Frame 8
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 300);
}
Instance of Symbol 81 MovieClip "bodyhit" in Frame 8
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = (_root.gubbe._y - 50);
}
Instance of Symbol 494 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 504 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 79 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 81 MovieClip "left" in Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 300);
}
Instance of Symbol 81 MovieClip "right" in Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 300);
}
Instance of Symbol 81 MovieClip "bodyhit" in Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = (_root.gubbe._y - 50);
}
Instance of Symbol 494 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 504 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 79 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 81 MovieClip "left" in Frame 12
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 300);
}
Instance of Symbol 81 MovieClip "right" in Frame 12
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 300);
}
Instance of Symbol 81 MovieClip "bodyhit" in Frame 12
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = (_root.gubbe._y - 50);
}
Instance of Symbol 494 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 504 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 79 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 81 MovieClip "left" in Frame 14
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 300);
}
Instance of Symbol 81 MovieClip "right" in Frame 14
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 300);
}
Instance of Symbol 81 MovieClip "bodyhit" in Frame 14
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = (_root.gubbe._y - 50);
}
Instance of Symbol 494 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 504 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 79 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 81 MovieClip "left" in Frame 16
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 300);
}
Instance of Symbol 81 MovieClip "right" in Frame 16
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 300);
}
Instance of Symbol 81 MovieClip "bodyhit" in Frame 16
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = (_root.gubbe._y - 50);
}
Instance of Symbol 494 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 504 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 79 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 81 MovieClip "bodyhit" in Frame 18
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = _root.gubbe._y;
}
Instance of Symbol 494 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 800 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 79 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 81 MovieClip "left" in Frame 21
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 300);
}
Instance of Symbol 81 MovieClip "right" in Frame 21
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 300);
}
Instance of Symbol 81 MovieClip "bodyhit" in Frame 21
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = (_root.gubbe._y - 50);
}
Instance of Symbol 494 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 556 MovieClip in Frame 21
onClipEvent (enterFrame) {
_currentframe = _root.health;
gotoAndStop(_root.health);
}
Instance of Symbol 846 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 6 MovieClip Frame 1
_parent.stop();
Symbol 6 MovieClip Frame 65
stop();
_parent.play();
Symbol 15 MovieClip Frame 40
stop();
Symbol 31 Button
on (release) {
getURL ("http://www.urgames.com", "_blank");
}
Symbol 36 Button
on (release) {
gotoAndStop (5);
}
Symbol 37 Button
on (release) {
nextFrame();
}
Symbol 39 Button
on (release) {
gotoAndStop ("survival");
}
Symbol 40 Button
on (release) {
getURL ("http://www.gamesforyourwebsite.com/sponsor.php", "_blank");
}
Symbol 43 Button
on (release) {
getURL ("http://www.gamesforyourwebsite.com/", "_blank");
}
Symbol 49 Button
on (release) {
getURL ("http://senor-taco.deviantart.com", "_blank");
}
Symbol 50 Button
on (release) {
getURL ("http://www.flashbolt.com", "_blank");
}
Symbol 51 Button
on (release) {
getURL ("http://newgrounds.com/audio/view.php?id=1307619&sub=30479", "_blank");
}
Symbol 52 Button
on (release) {
getURL ("http://www.geocities.com/hobbestheprince/index.htm", "_blank");
}
Symbol 54 Button
on (release) {
prevFrame();
}
Symbol 69 MovieClip Frame 270
_root.play();
Symbol 73 MovieClip Frame 1
gotoAndStop (299);
Symbol 73 MovieClip Frame 300
gotoAndStop (2);
Symbol 77 MovieClip Frame 1
gotoAndStop (99);
Symbol 77 MovieClip Frame 100
gotoAndStop (2);
Instance of Symbol 178 MovieClip in Symbol 211 MovieClip Frame 13
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit) & (_root.pause == false)) {
_root.health--;
}
}
Symbol 269 MovieClip Frame 28
stop();
Symbol 270 MovieClip Frame 100
stop();
Symbol 271 MovieClip Frame 1
recoil = false;
Symbol 271 MovieClip Frame 6
recoil = false;
gotoAndStop (1);
Instance of Symbol 271 MovieClip in Symbol 272 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 271 MovieClip in Symbol 272 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 395 MovieClip Frame 34
stop();
Symbol 425 MovieClip Frame 12
stop();
Instance of Symbol 487 MovieClip "hit" in Symbol 488 MovieClip Frame 7
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 487 MovieClip "hit" in Symbol 488 MovieClip Frame 26
onClipEvent (load) {
_visible = false;
}
Symbol 488 MovieClip Frame 31
_root.gubbe.attacking = false;
_root.gubbe.gotoAndStop(1);
Symbol 491 MovieClip Frame 25
_root.gubbe.attacking = false;
_root.ammo--;
_root.gubbe.gotoAndStop(1);
Symbol 493 MovieClip Frame 32
_root.gubbe.attacking = false;
_root.ammo--;
_root.gubbe.gotoAndStop(1);
Symbol 494 MovieClip Frame 1
stop();
Instance of Symbol 274 MovieClip "feet" in Symbol 494 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 494 MovieClip Frame 2
stop();
Symbol 494 MovieClip Frame 3
stop();
Symbol 494 MovieClip Frame 4
stop();
Symbol 494 MovieClip Frame 5
stop();
Symbol 494 MovieClip Frame 6
stop();
Symbol 498 MovieClip Frame 1
gotoAndStop (79);
Symbol 498 MovieClip Frame 80
gotoAndStop (2);
Symbol 547 MovieClip Frame 1
stop();
Symbol 547 MovieClip Frame 97
_root.pause = false;
Symbol 551 MovieClip Frame 1
stop();
Symbol 563 Button
on (release) {
_root.music.gotoAndStop(2);
_root.playing = false;
stopAllSounds();
nextFrame();
}
Symbol 565 Button
on (release) {
_root.music.gotoAndStop(1);
prevFrame();
_root.playing = true;
}
Symbol 566 MovieClip Frame 1
stop();
Symbol 569 MovieClip Frame 1
stop();
Symbol 569 MovieClip Frame 2
stop();
Symbol 615 MovieClip Frame 60
_root.nextFrame();
Instance of Symbol 271 MovieClip in Symbol 616 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 271 MovieClip in Symbol 616 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 271 MovieClip in Symbol 616 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 271 MovieClip in Symbol 616 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 271 MovieClip in Symbol 625 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 271 MovieClip in Symbol 625 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 271 MovieClip in Symbol 625 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 271 MovieClip in Symbol 625 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 271 MovieClip in Symbol 625 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 271 MovieClip in Symbol 625 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 271 MovieClip in Symbol 634 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 271 MovieClip in Symbol 634 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 271 MovieClip in Symbol 634 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 271 MovieClip in Symbol 634 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 271 MovieClip in Symbol 634 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 271 MovieClip in Symbol 634 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 271 MovieClip in Symbol 634 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 271 MovieClip in Symbol 634 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 271 MovieClip in Symbol 643 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 271 MovieClip in Symbol 643 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 271 MovieClip in Symbol 643 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 271 MovieClip in Symbol 643 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 271 MovieClip in Symbol 643 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 271 MovieClip in Symbol 643 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 271 MovieClip in Symbol 643 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 271 MovieClip in Symbol 643 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 271 MovieClip in Symbol 643 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 271 MovieClip in Symbol 643 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 271 MovieClip in Symbol 652 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 271 MovieClip in Symbol 652 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 271 MovieClip in Symbol 652 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 271 MovieClip in Symbol 652 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 271 MovieClip in Symbol 652 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 271 MovieClip in Symbol 652 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 271 MovieClip in Symbol 652 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 271 MovieClip in Symbol 652 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 271 MovieClip in Symbol 652 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 271 MovieClip in Symbol 652 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 271 MovieClip in Symbol 652 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 271 MovieClip in Symbol 652 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 271 MovieClip in Symbol 652 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 271 MovieClip in Symbol 652 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 799 MovieClip Frame 51
stop();
Symbol 800 MovieClip Frame 1
_root.pause = true;
Symbol 800 MovieClip Frame 120
_root.pause = false;
Instance of Symbol 487 MovieClip "hitter" in Symbol 800 MovieClip Frame 120
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 172
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 235
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 258
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 266
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 321
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 344
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 352
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 407
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 430
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 438
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 493
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 516
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 524
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 543
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 551
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 579
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 606
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 629
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 637
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 656
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 664
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 692
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 719
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 742
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 750
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 769
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 777
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 805
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 832
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 855
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 863
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 882
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 890
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 909
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 917
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 918
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 945
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 972
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 995
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 1003
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 1022
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 1030
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 1049
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 1057
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 1058
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 1085
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 178 MovieClip in Symbol 800 MovieClip Frame 1112
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Symbol 800 MovieClip Frame 1113
_root.paused = true;
Symbol 800 MovieClip Frame 1150
_root.gotoAndStop("win");
Symbol 800 MovieClip Frame 1151
_root.gubbe._visible = false;
Symbol 800 MovieClip Frame 1202
_root.gotoAndStop("gameover");
Symbol 816 MovieClip Frame 13
gotoAndPlay (7);
Symbol 818 Button
on (release) {
gotoAndStop (1);
}
Symbol 827 Button
on (release) {
getURL ("http://www.urgames.com/games/ninja-nightmare", "_blank");
}
Symbol 832 Button
on (release) {
gotoAndStop (1);
}
Symbol 835 MovieClip Frame 271
stop();
Instance of Symbol 178 MovieClip in Symbol 836 MovieClip Frame 13
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit) & (_root.pause == false)) {
_root.health = _root.health - 2;
}
}
Symbol 837 MovieClip Frame 1
recoil = false;
Symbol 837 MovieClip Frame 6
recoil = false;
gotoAndStop (1);
Instance of Symbol 837 MovieClip "ninja" in Symbol 838 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 846 MovieClip Frame 80
i = random(999999);
_root.ninjas.ninja.duplicateMovieClip("enemy" + i, i + 100);