Frame 1
stop();
Instance of Symbol 6 MovieClip in Frame 1
onClipEvent (mouseDown) {
getURL ("http://www.urgames.com");
}
Instance of Symbol 9 MovieClip in Frame 1
//component parameters
onClipEvent (initialize) {
highscore_url = "http://www.urgames.com/incka/hs_scores.php";
game_id = 18;
score_variable = "ninjakilledsurvival";
button_label = "Play Again";
}
Frame 2
stop();
_root.ninjaleft = 0;
stage.showmenu = false;
Instance of Symbol 18 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 83 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 85 MovieClip "left" in Frame 6
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 300);
}
Instance of Symbol 85 MovieClip "right" in Frame 6
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 300);
}
Instance of Symbol 85 MovieClip "bodyhit" in Frame 6
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = (_root.gubbe._y - 50);
}
Instance of Symbol 498 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 508 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 560 MovieClip in Frame 6
onClipEvent (enterFrame) {
_currentframe = _root.health;
gotoAndStop(_root.health);
}
Frame 8
stop();
Instance of Symbol 83 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 85 MovieClip "left" in Frame 8
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 300);
}
Instance of Symbol 85 MovieClip "right" in Frame 8
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 300);
}
Instance of Symbol 85 MovieClip "bodyhit" in Frame 8
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = (_root.gubbe._y - 50);
}
Instance of Symbol 498 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 508 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 83 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 85 MovieClip "left" in Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 300);
}
Instance of Symbol 85 MovieClip "right" in Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 300);
}
Instance of Symbol 85 MovieClip "bodyhit" in Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = (_root.gubbe._y - 50);
}
Instance of Symbol 498 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 508 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 83 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 85 MovieClip "left" in Frame 12
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 300);
}
Instance of Symbol 85 MovieClip "right" in Frame 12
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 300);
}
Instance of Symbol 85 MovieClip "bodyhit" in Frame 12
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = (_root.gubbe._y - 50);
}
Instance of Symbol 498 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 508 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 83 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 85 MovieClip "left" in Frame 14
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 300);
}
Instance of Symbol 85 MovieClip "right" in Frame 14
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 300);
}
Instance of Symbol 85 MovieClip "bodyhit" in Frame 14
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = (_root.gubbe._y - 50);
}
Instance of Symbol 498 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 508 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 83 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 85 MovieClip "left" in Frame 16
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 300);
}
Instance of Symbol 85 MovieClip "right" in Frame 16
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 300);
}
Instance of Symbol 85 MovieClip "bodyhit" in Frame 16
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = (_root.gubbe._y - 50);
}
Instance of Symbol 498 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 508 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 83 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 85 MovieClip "bodyhit" in Frame 18
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = _root.gubbe._y;
}
Instance of Symbol 498 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 804 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 83 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 85 MovieClip "left" in Frame 21
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x - 300);
}
Instance of Symbol 85 MovieClip "right" in Frame 21
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.gubbe._x + 300);
}
Instance of Symbol 85 MovieClip "bodyhit" in Frame 21
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.gubbe._x;
_y = (_root.gubbe._y - 50);
}
Instance of Symbol 498 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 560 MovieClip in Frame 21
onClipEvent (enterFrame) {
_currentframe = _root.health;
gotoAndStop(_root.health);
}
Instance of Symbol 840 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();
Symbol 6 MovieClip Frame 1
_parent.stop();
Symbol 6 MovieClip Frame 65
stop();
_parent.play();
Instance of Symbol 8 MovieClip "script" in Symbol 9 MovieClip Frame 1
onClipEvent (load) {
_root.eyeland_hs_highscore_url = _parent.highscore_url;
_root.eyeland_hs_game_id = _parent.game_id;
_root.eyeland_hs_score_variable = _parent.score_variable;
_root.eyeland_hs_button_label = _parent.button_label;
}
Symbol 18 MovieClip Frame 40
stop();
Symbol 34 Button
on (release) {
getURL ("http://www.urgames.com", "_blank");
}
Symbol 39 Button
on (release) {
gotoAndStop (5);
}
Symbol 40 Button
on (release) {
nextFrame();
}
Symbol 42 Button
on (release) {
gotoAndStop (21);
}
Symbol 43 Button
on (release) {
getURL ("http://www.gamesforyourwebsite.com/sponsor.php", "_blank");
}
Symbol 46 Button
on (release) {
getURL ("http://www.gamesforyourwebsite.com/", "_blank");
}
Symbol 52 Button
on (release) {
getURL ("http://senor-taco.deviantart.com", "_blank");
}
Symbol 53 Button
on (release) {
getURL ("http://www.flashbolt.com", "_blank");
}
Symbol 54 Button
on (release) {
getURL ("http://newgrounds.com/audio/view.php?id=1307619&sub=30479", "_blank");
}
Symbol 55 Button
on (release) {
getURL ("http://www.geocities.com/hobbestheprince/index.htm", "_blank");
}
Symbol 57 Button
on (release) {
prevFrame();
}
Symbol 73 MovieClip Frame 270
_root.play();
Symbol 77 MovieClip Frame 1
gotoAndStop (299);
Symbol 77 MovieClip Frame 300
gotoAndStop (2);
Symbol 81 MovieClip Frame 1
gotoAndStop (99);
Symbol 81 MovieClip Frame 100
gotoAndStop (2);
Instance of Symbol 182 MovieClip in Symbol 215 MovieClip Frame 13
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit) & (_root.pause == false)) {
_root.health--;
}
}
Symbol 273 MovieClip Frame 28
stop();
Symbol 274 MovieClip Frame 100
stop();
Symbol 275 MovieClip Frame 1
recoil = false;
Symbol 275 MovieClip Frame 6
recoil = false;
gotoAndStop (1);
Instance of Symbol 275 MovieClip in Symbol 276 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 275 MovieClip in Symbol 276 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 399 MovieClip Frame 34
stop();
Symbol 429 MovieClip Frame 12
stop();
Instance of Symbol 491 MovieClip "hit" in Symbol 492 MovieClip Frame 7
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 491 MovieClip "hit" in Symbol 492 MovieClip Frame 26
onClipEvent (load) {
_visible = false;
}
Symbol 492 MovieClip Frame 31
_root.gubbe.attacking = false;
_root.gubbe.gotoAndStop(1);
Symbol 495 MovieClip Frame 25
_root.gubbe.attacking = false;
_root.ammo--;
_root.gubbe.gotoAndStop(1);
Symbol 497 MovieClip Frame 32
_root.gubbe.attacking = false;
_root.ammo--;
_root.gubbe.gotoAndStop(1);
Symbol 498 MovieClip Frame 1
stop();
Instance of Symbol 278 MovieClip "feet" in Symbol 498 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 498 MovieClip Frame 2
stop();
Symbol 498 MovieClip Frame 3
stop();
Symbol 498 MovieClip Frame 4
stop();
Symbol 498 MovieClip Frame 5
stop();
Symbol 498 MovieClip Frame 6
stop();
Symbol 502 MovieClip Frame 1
gotoAndStop (79);
Symbol 502 MovieClip Frame 80
gotoAndStop (2);
Symbol 551 MovieClip Frame 1
stop();
Symbol 551 MovieClip Frame 97
_root.pause = false;
Symbol 555 MovieClip Frame 1
stop();
Symbol 567 Button
on (release) {
_root.music.gotoAndStop(2);
_root.playing = false;
stopAllSounds();
nextFrame();
}
Symbol 569 Button
on (release) {
_root.music.gotoAndStop(1);
prevFrame();
_root.playing = true;
}
Symbol 570 MovieClip Frame 1
stop();
Symbol 573 MovieClip Frame 1
stop();
Symbol 573 MovieClip Frame 2
stop();
Symbol 619 MovieClip Frame 60
_root.nextFrame();
Instance of Symbol 275 MovieClip in Symbol 620 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 275 MovieClip in Symbol 620 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 275 MovieClip in Symbol 620 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 275 MovieClip in Symbol 620 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 275 MovieClip in Symbol 629 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 275 MovieClip in Symbol 629 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 275 MovieClip in Symbol 629 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 275 MovieClip in Symbol 629 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 275 MovieClip in Symbol 629 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 275 MovieClip in Symbol 629 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 275 MovieClip in Symbol 638 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 275 MovieClip in Symbol 638 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 275 MovieClip in Symbol 638 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 275 MovieClip in Symbol 638 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 275 MovieClip in Symbol 638 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 275 MovieClip in Symbol 638 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 275 MovieClip in Symbol 638 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 275 MovieClip in Symbol 638 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 275 MovieClip in Symbol 647 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 275 MovieClip in Symbol 647 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 275 MovieClip in Symbol 647 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 275 MovieClip in Symbol 647 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 275 MovieClip in Symbol 647 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 275 MovieClip in Symbol 647 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 275 MovieClip in Symbol 647 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 275 MovieClip in Symbol 647 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 275 MovieClip in Symbol 647 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 275 MovieClip in Symbol 647 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 275 MovieClip in Symbol 656 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 275 MovieClip in Symbol 656 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 275 MovieClip in Symbol 656 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 275 MovieClip in Symbol 656 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 275 MovieClip in Symbol 656 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 275 MovieClip in Symbol 656 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 275 MovieClip in Symbol 656 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 275 MovieClip in Symbol 656 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 275 MovieClip in Symbol 656 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 275 MovieClip in Symbol 656 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 275 MovieClip in Symbol 656 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 275 MovieClip in Symbol 656 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 275 MovieClip in Symbol 656 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 275 MovieClip in Symbol 656 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 803 MovieClip Frame 51
stop();
Symbol 804 MovieClip Frame 1
_root.pause = true;
Symbol 804 MovieClip Frame 120
_root.pause = false;
Instance of Symbol 491 MovieClip "hitter" in Symbol 804 MovieClip Frame 120
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 172
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 235
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 258
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 266
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 321
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 344
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 352
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 407
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 430
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 438
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 493
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 516
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 524
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 543
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 551
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 579
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 606
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 629
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 637
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 656
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 664
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 692
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 719
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 742
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 750
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 769
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 777
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 805
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 832
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 855
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 863
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 882
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 890
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 909
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 917
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 918
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 945
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 972
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 995
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 1003
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 1022
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 1030
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 1049
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 1057
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 1058
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 1085
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Instance of Symbol 182 MovieClip in Symbol 804 MovieClip Frame 1112
onClipEvent (enterFrame) {
if (this.hittest(_root.gubbe)) {
_root.health--;
}
}
Symbol 804 MovieClip Frame 1113
_root.paused = true;
Symbol 804 MovieClip Frame 1150
_root.gotoAndStop("win");
Symbol 804 MovieClip Frame 1151
_root.gubbe._visible = false;
Symbol 804 MovieClip Frame 1202
_root.gotoAndStop("gameover");
Symbol 819 MovieClip Frame 13
gotoAndPlay (7);
Symbol 821 Button
on (release) {
gotoAndStop (1);
}
Symbol 829 MovieClip Frame 271
stop();
Instance of Symbol 182 MovieClip in Symbol 830 MovieClip Frame 13
onClipEvent (enterFrame) {
if (this.hittest(_root.bodyhit) & (_root.pause == false)) {
_root.health = _root.health - 2;
}
}
Symbol 831 MovieClip Frame 1
recoil = false;
Symbol 831 MovieClip Frame 6
recoil = false;
gotoAndStop (1);
Instance of Symbol 831 MovieClip "ninja" in Symbol 832 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 840 MovieClip Frame 80
i = random(999999);
_root.ninjas.ninja.duplicateMovieClip("enemy" + i, i + 100);
Symbol 847 MovieClip Frame 40
stop();
Symbol 854 MovieClip Frame 1
stop();
Symbol 864 MovieClip Frame 1
stop();
Symbol 864 MovieClip Frame 2
stop();
Symbol 864 MovieClip Frame 12
stop();
Symbol 864 MovieClip Frame 22
stop();
Symbol 871 Button
on (press) {
_parent.field.scroll = Math.max(1, _parent.field.scroll - 1);
}
Symbol 874 Button
on (press) {
_parent.field.scroll = Math.min(_parent.field.maxscroll, _parent.field.scroll + 1);
}
Instance of Symbol 8 MovieClip in Symbol 877 MovieClip Frame 1
onClipEvent (load) {
_parent.field.text = _root[_parent.root_var_name];
if (_parent.field.maxscroll > 1) {
_parent.up._visible = true;
_parent.down._visible = true;
} else {
_parent.up._visible = false;
_parent.down._visible = false;
}
}
onClipEvent (enterFrame) {
}
Symbol 879 MovieClip Frame 1
stop();
Symbol 879 MovieClip Frame 2
stop();
Symbol 882 MovieClip Frame 1
stop();
Symbol 882 MovieClip Frame 2
stop();
Instance of Symbol 877 MovieClip in Symbol 882 MovieClip Frame 2
//component parameters
onClipEvent (initialize) {
root_var_name = "eyeland_hs_currentmessage";
}
Symbol 882 MovieClip Frame 10
stop();
Symbol 882 MovieClip Frame 21
stop();
Symbol 882 MovieClip Frame 34
stop();
Symbol 882 MovieClip Frame 47
stop();
Instance of Symbol 877 MovieClip in Symbol 882 MovieClip Frame 47
//component parameters
onClipEvent (initialize) {
root_var_name = "eyeland_hs_currentmessage";
}
Symbol 891 Button
on (release) {
_root.eyeland_hs_p = (_root.eyeland_hs_e = "");
_root.eyeland_hs_p = _parent.enter_screens.field_name.holder.name;
_root.eyeland_hs_e = _parent.enter_screens.field_email.holder.email;
_parent.gotoAndPlay("save");
}
Symbol 894 Button
on (release) {
_parent.gotoAndPlay("load");
}
Symbol 899 Button
on (release) {
btn_press();
}
Symbol 902 Button
on (release) {
_root._quality = _root.eyeland_hs_quality;
_parent._parent.play();
}
Symbol 905 MovieClip Frame 1
stop();
Symbol 905 MovieClip Frame 2
stop();
Symbol 905 MovieClip Frame 3
stop();
Symbol 935 MovieClip Frame 1
stop();
Symbol 935 MovieClip Frame 25
stop();
Symbol 935 MovieClip Frame 47
stop();
Symbol 935 MovieClip Frame 66
stop();
Symbol 935 MovieClip Frame 82
stop();
Symbol 935 MovieClip Frame 102
stop();
Instance of Symbol 935 MovieClip "line" in Symbol 936 MovieClip Frame 1
onClipEvent (load) {
if (this._name == "line") {
this._visible = false;
}
}
Symbol 940 Button
on (press) {
if (!_parent._parent.script.draggable) {
return(undefined);
}
this.startDrag(false, _parent._parent.script.dragx, _parent._parent.script.topdragy, _parent._parent.script.dragx, _parent._parent.script.topdragy + _parent._parent.script.dragheight);
_parent._parent.script.drag = true;
}
on (release, releaseOutside) {
if (!_parent._parent.script.draggable) {
return(undefined);
}
this.stopDrag();
_parent._parent.script.drag = false;
}
Symbol 944 Button
on (press) {
_parent._parent.script.pressup = (_parent._parent.script.moveup = true);
}
on (release, releaseOutside) {
_parent._parent.script.pressup = false;
}
Symbol 947 Button
on (press) {
_parent._parent.script.pressdown = (_parent._parent.script.movedown = true);
}
on (release, releaseOutside) {
_parent._parent.script.pressdown = false;
}
Symbol 955 MovieClip Frame 1
stop();
Symbol 965 MovieClip Frame 1
function rand_str() {
var out = "";
var len = 10;
var alpha = "abcdefghijklmnopqrstuvwxyz";
var n = 0;
while (n < len) {
out = out + alpha.charAt(Math.floor(Math.random() * alpha.length));
n++;
}
return(out);
}
function rhex(num) {
str = "";
j = 0;
while (j <= 3) {
str = str + (hex_chr.charAt((num >> ((j * 8) + 4)) & 15) + hex_chr.charAt((num >> (j * 8)) & 15));
j++;
}
return(str);
}
function str2blks_MD5(str) {
nblk = ((str.length + 8) >> 6) + 1;
blks = new Array(nblk * 16);
i = 0;
while (i < (nblk * 16)) {
blks[i] = 0;
i++;
}
i = 0;
while (i < str.length) {
blks[i >> 2] = blks[i >> 2] | (str.charCodeAt(i) << ((i % 4) * 8));
i++;
}
blks[i >> 2] = blks[i >> 2] | (128 << ((i % 4) * 8));
blks[(nblk * 16) - 2] = str.length * 8;
return(blks);
}
function add2(x, y) {
var lsw = ((x & 65535) + (y & 65535));
var msw = (((x >> 16) + (y >> 16)) + (lsw >> 16));
return((msw << 16) | (lsw & 65535));
}
function rol(num, cnt) {
return((num << cnt) | (num >>> (32 - cnt)));
}
function cmn(q, a, b, x, s, t) {
return(add2(rol(add2(add2(a, q), add2(x, t)), s), b));
}
function ff(a, b, c, d, x, s, t) {
return(cmn((b & c) | ((~b) & d), a, b, x, s, t));
}
function gg(a, b, c, d, x, s, t) {
return(cmn((b & d) | (c & (~d)), a, b, x, s, t));
}
function hh(a, b, c, d, x, s, t) {
return(cmn((b ^ c) ^ d, a, b, x, s, t));
}
function ii(a, b, c, d, x, s, t) {
return(cmn(c ^ (b | (~d)), a, b, x, s, t));
}
function calcMD5(str) {
x = str2blks_MD5(str);
a = 1732584193 /* 0x67452301 */;
b = -271733879;
c = -1732584194;
d = 271733878 /* 0x10325476 */;
i = 0;
while (i < x.length) {
olda = a;
oldb = b;
oldc = c;
oldd = d;
a = ff(a, b, c, d, x[i + 0], 7, -680876936);
d = ff(d, a, b, c, x[i + 1], 12, -389564586);
c = ff(c, d, a, b, x[i + 2], 17, 606105819);
b = ff(b, c, d, a, x[i + 3], 22, -1044525330);
a = ff(a, b, c, d, x[i + 4], 7, -176418897);
d = ff(d, a, b, c, x[i + 5], 12, 1200080426);
c = ff(c, d, a, b, x[i + 6], 17, -1473231341);
b = ff(b, c, d, a, x[i + 7], 22, -45705983);
a = ff(a, b, c, d, x[i + 8], 7, 1770035416);
d = ff(d, a, b, c, x[i + 9], 12, -1958414417);
c = ff(c, d, a, b, x[i + 10], 17, -42063);
b = ff(b, c, d, a, x[i + 11], 22, -1990404162);
a = ff(a, b, c, d, x[i + 12], 7, 1804603682);
d = ff(d, a, b, c, x[i + 13], 12, -40341101);
c = ff(c, d, a, b, x[i + 14], 17, -1502002290);
b = ff(b, c, d, a, x[i + 15], 22, 1236535329);
a = gg(a, b, c, d, x[i + 1], 5, -165796510);
d = gg(d, a, b, c, x[i + 6], 9, -1069501632);
c = gg(c, d, a, b, x[i + 11], 14, 643717713);
b = gg(b, c, d, a, x[i + 0], 20, -373897302);
a = gg(a, b, c, d, x[i + 5], 5, -701558691);
d = gg(d, a, b, c, x[i + 10], 9, 38016083);
c = gg(c, d, a, b, x[i + 15], 14, -660478335);
b = gg(b, c, d, a, x[i + 4], 20, -405537848);
a = gg(a, b, c, d, x[i + 9], 5, 568446438);
d = gg(d, a, b, c, x[i + 14], 9, -1019803690);
c = gg(c, d, a, b, x[i + 3], 14, -187363961);
b = gg(b, c, d, a, x[i + 8], 20, 1163531501);
a = gg(a, b, c, d, x[i + 13], 5, -1444681467);
d = gg(d, a, b, c, x[i + 2], 9, -51403784);
c = gg(c, d, a, b, x[i + 7], 14, 1735328473);
b = gg(b, c, d, a, x[i + 12], 20, -1926607734);
a = hh(a, b, c, d, x[i + 5], 4, -378558);
d = hh(d, a, b, c, x[i + 8], 11, -2022574463);
c = hh(c, d, a, b, x[i + 11], 16, 1839030562);
b = hh(b, c, d, a, x[i + 14], 23, -35309556);
a = hh(a, b, c, d, x[i + 1], 4, -1530992060);
d = hh(d, a, b, c, x[i + 4], 11, 1272893353);
c = hh(c, d, a, b, x[i + 7], 16, -155497632);
b = hh(b, c, d, a, x[i + 10], 23, -1094730640);
a = hh(a, b, c, d, x[i + 13], 4, 681279174);
d = hh(d, a, b, c, x[i + 0], 11, -358537222);
c = hh(c, d, a, b, x[i + 3], 16, -722521979);
b = hh(b, c, d, a, x[i + 6], 23, 76029189);
a = hh(a, b, c, d, x[i + 9], 4, -640364487);
d = hh(d, a, b, c, x[i + 12], 11, -421815835);
c = hh(c, d, a, b, x[i + 15], 16, 530742520);
b = hh(b, c, d, a, x[i + 2], 23, -995338651);
a = ii(a, b, c, d, x[i + 0], 6, -198630844);
d = ii(d, a, b, c, x[i + 7], 10, 1126891415);
c = ii(c, d, a, b, x[i + 14], 15, -1416354905);
b = ii(b, c, d, a, x[i + 5], 21, -57434055);
a = ii(a, b, c, d, x[i + 12], 6, 1700485571);
d = ii(d, a, b, c, x[i + 3], 10, -1894986606);
c = ii(c, d, a, b, x[i + 10], 15, -1051523);
b = ii(b, c, d, a, x[i + 1], 21, -2054922799);
a = ii(a, b, c, d, x[i + 8], 6, 1873313359);
d = ii(d, a, b, c, x[i + 15], 10, -30611744);
c = ii(c, d, a, b, x[i + 6], 15, -1560198380);
b = ii(b, c, d, a, x[i + 13], 21, 1309151649);
a = ii(a, b, c, d, x[i + 4], 6, -145523070);
d = ii(d, a, b, c, x[i + 11], 10, -1120210379);
c = ii(c, d, a, b, x[i + 2], 15, 718787259);
b = ii(b, c, d, a, x[i + 9], 21, -343485551);
a = add2(a, olda);
b = add2(b, oldb);
c = add2(c, oldc);
d = add2(d, oldd);
i = i + 16;
}
return(((rhex(a) + rhex(b)) + rhex(c)) + rhex(d));
}
var hex_chr = "0123456789abcdef";
_root.eyeland_hs_quality = _root._quality;
_root._quality = "HIGH";
var challenged = false;
_root.eyeland_hs_players = new Array();
_parent.stop();
stop();
Instance of Symbol 8 MovieClip "loader" in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
if ((((_root.eyeland_hs_highscore_url == undefined) || (_root.eyeland_hs_game_id == undefined)) || (_root.eyeland_hs_score_variable == undefined)) || (_root.eyeland_hs_button_label == undefined)) {
trace("== GIAF HS ERROR == Highscore variables not found. Use the \"giaf hs settings\" component on a scene prior to this one to set the highscore variables correctly.");
}
if (_root[_root.eyeland_hs_score_variable] == undefined) {
trace(("== GIAF HS ERROR == Highscore variable \"_root." + _root.eyeland_hs_score_variable) + "\" not set. Please adjust your game's code to make sure this score variable is set before attempting to save it to the server. Use the \"giaf hs settings\" component to set the name of the score variable.");
}
_parent.highscore_url = _root.eyeland_hs_highscore_url;
_parent.game_id = _root.eyeland_hs_game_id;
_parent.score_variable = _root.eyeland_hs_score_variable;
_parent.button_label = _root.eyeland_hs_button_label;
var score = _root[_parent.score_variable];
loadVariables ((((((_parent.highscore_url + "?action=check&id=") + _parent.game_id) + "&score=") + score) + "&rand=") + Math.round(Math.random() * 999999999), this);
}
onClipEvent (data) {
_root.eyeland_hs_result = result;
_root.eyeland_hs_lowscore = lowscore;
_root.eyeland_hs_recordplayeremail = recordplayeremail;
_root.eyeland_hs_harvest_all_emails = harvest_all_emails;
_root.eyeland_hs_emailpromptmessage = unescape(emailpromptmessage);
_root.eyeland_hs_lowscoremessage = lowscoremessage;
_root.eyeland_hs_maxchars = Number(maxchars);
_parent.gotoAndPlay("enter");
}
Symbol 965 MovieClip Frame 12
function show_prompt(high) {
btn_submit._visible = true;
btn_skip._visible = true;
if (high) {
_root.eyeland_hs_currentmessage = _root.eyeland_hs_emailpromptmessage;
} else {
_root.eyeland_hs_currentmessage = _root.eyeland_hs_lowscoremessage.split("%").join(_root.eyeland_hs_lowscore);
}
if (_root.eyeland_hs_maxchars > 0) {
if ((_root.eyeland_hs_recordplayeremail == "yes") || (_root.eyeland_hs_harvest_all_emails == "yes")) {
enter_screens.gotoAndPlay("enter_email");
enter_screens.field_email.holder.gotoAndPlay("field");
} else {
enter_screens.gotoAndPlay("enter");
}
if (_root.eyeland_hs_maxchars == 3) {
enter_screens.name_label.gotoAndStop(2);
}
enter_screens.field_name.holder.gotoAndPlay("name" + _root.eyeland_hs_maxchars);
} else if ((_root.eyeland_hs_recordplayeremail == "yes") || (_root.eyeland_hs_harvest_all_emails == "yes")) {
enter_screens.gotoAndPlay("enter_email_only");
enter_screens.field_email.holder.gotoAndPlay("field");
} else {
if (high) {
_root.eyeland_hs_currentmessage = _root.eyeland_hs_nonamemessage;
}
enter_screens.gotoAndPlay("message_only");
}
}
_root.eyeland_hs_nonamemessage = "You got a high score!\nClick Submit to record your score anonymously.";
btn_submit._visible = false;
btn_skip._visible = false;
btn_scores._visible = false;
btn_scores._y = btn_submit._y;
btn_playagain._visible = false;
btn_playagain._y = btn_skip._y;
btn_challenge._visible = false;
btn_challenge._y = btn_skip._y;
if (_root.eyeland_hs_result == "yes") {
show_prompt(true);
} else if (_root.eyeland_hs_harvest_all_emails == "yes") {
show_prompt(false);
} else {
btn_scores._visible = true;
btn_playagain._visible = true;
if (_root.eyeland_hs_emailtofriend != "no") {
btn_challenge._visible = true;
} else {
btn_scores._x = btn_scores._x + 50;
btn_playagain._x = btn_playagain._x - 50;
}
_root.eyeland_hs_currentmessage = _root.eyeland_hs_lowscoremessage.split("%").join(_root.eyeland_hs_lowscore);
enter_screens.gotoAndPlay("message_only");
}
stop();
Instance of Symbol 901 MovieClip "btn_challenge" in Symbol 965 MovieClip Frame 12
onClipEvent (load) {
function btn_press() {
_parent.gotoAndPlay("chform");
}
}
Instance of Symbol 905 MovieClip "btn_playagain" in Symbol 965 MovieClip Frame 12
onClipEvent (load) {
if (_parent.button_label == "Play Again") {
gotoAndPlay (2);
} else if (_parent.button_label == "Continue") {
gotoAndPlay (3);
}
}
Instance of Symbol 8 MovieClip in Symbol 965 MovieClip Frame 12
onClipEvent (load) {
_parent.score1 = (_parent.score2 = _root[_parent.score_variable]);
}
Symbol 965 MovieClip Frame 22
stop();
Instance of Symbol 8 MovieClip "copy_to_root" in Symbol 965 MovieClip Frame 22
onClipEvent (data) {
_root.eyeland_hs_players = new Array();
_root.eyeland_hs_scores = new Array();
_root.eyeland_hs_dates = new Array();
_root.eyeland_hs_maxscores = this.maxscores;
_root.eyeland_hs_current = this.current;
_root.eyeland_hs_showdate = this.showdate;
_root.eyeland_hs_cleardate = this.cleardate;
_root.eyeland_hs_emailtofriend = this.emailtofriend;
var n = 0;
while (n < numscores) {
_root.eyeland_hs_players.push(unescape(this["p" + n]));
_root.eyeland_hs_scores.push(this["s" + n]);
_root.eyeland_hs_dates.push(unescape(this["d" + n]));
n++;
}
_parent.gotoAndPlay("show");
}
Instance of Symbol 8 MovieClip in Symbol 965 MovieClip Frame 22
onClipEvent (load) {
var score = _root[_parent.score_variable];
var url = ((((_parent.highscore_url + "?action=get&id=") + _parent.game_id) + "&rand=") + Math.round(Math.random() * 999999999));
loadVariables (url, _parent.copy_to_root);
}
Symbol 965 MovieClip Frame 31
stop();
Instance of Symbol 8 MovieClip in Symbol 965 MovieClip Frame 31
onClipEvent (load) {
var score = _root[_parent.score_variable];
var rand = _parent.rand_str();
var url = ((((((((((((_parent.highscore_url + "?action=set&id=") + _parent.game_id) + "&player=") + escape(_root.eyeland_hs_p)) + "&score=") + score) + "&email=") + escape(_root.eyeland_hs_e)) + "&rand=") + rand) + "&rand2=") + _parent.calcMD5(((((_parent.game_id + "-") + score) + "-") + rand) + "...you shall not pass"));
loadVariables (url, _parent.copy_to_root);
}
Symbol 965 MovieClip Frame 40
if (_root.eyeland_hs_emailtofriend == "no") {
chbutton._visible = false;
}
stop();
Instance of Symbol 905 MovieClip "playagain" in Symbol 965 MovieClip Frame 40
onClipEvent (load) {
if (_parent.button_label == "Play Again") {
this.gotoAndPlay(2);
} else {
this.gotoAndPlay(3);
}
}
Instance of Symbol 901 MovieClip "chbutton" in Symbol 965 MovieClip Frame 40
onClipEvent (load) {
function btn_press() {
_parent.gotoAndPlay("chform");
}
}
Instance of Symbol 8 MovieClip "script" in Symbol 965 MovieClip Frame 40
onClipEvent (load) {
var topliney = _parent.showbg.list.line._y;
var topdragy = _parent.showbg.dragger._y;
var dragx = _parent.showbg.dragger._x;
var dragheight = 73;
var fieldheight = 167.2;
var maxdragamount = (-fieldheight);
var drag = ((dragonce = false));
var pressup = ((moveup = (pressdown = (movedown = false))));
var linedist = 0;
var curr_dist = 0;
var draggable = false;
_parent.showbg.dragger._alpha = 30;
_parent.showbg.up._alpha = 30;
_parent.showbg.down._alpha = 30;
_parent.clearedmsg = "Your score: " + _root[_parent.score_variable];
if (_root.eyeland_hs_cleardate != "00/00/00") {
_parent.clearedmsg = _parent.clearedmsg + ("\nScore table cleared " + _root.eyeland_hs_cleardate);
}
var n = 0;
while (n < _root.eyeland_hs_maxscores) {
_parent.showbg.list.line.duplicateMovieClip("l" + n, n);
var obj = _parent.showbg.list["l" + n];
if (n != _root.eyeland_hs_current) {
obj.flashbox._visible = false;
}
if (_root.eyeland_hs_showdate == "yes") {
if (_root.eyeland_hs_maxchars > 0) {
obj.gotoAndPlay("name_score_date");
} else {
obj.gotoAndPlay("score_date");
}
} else if (_root.eyeland_hs_maxchars == 0) {
obj.gotoAndPlay("score_only");
}
obj._y = obj._y + curr_dist;
obj.number = (n + 1) + ".";
if (n < _root.eyeland_hs_players.length) {
obj.player = ((_root.eyeland_hs_players[n] == "") ? "anonymous" : (_root.eyeland_hs_players[n]));
obj.score = _root.eyeland_hs_scores[n];
obj.date = _root.eyeland_hs_dates[n];
if (obj.player.maxscroll > 1) {
if (_root.eyeland_hs_showdate == "yes") {
obj.gotoAndPlay("name_score_date_tall");
} else {
obj.gotoAndPlay("name_score_tall");
}
}
} else {
obj.anonymous._visible = false;
obj.player = "";
obj.score = "0";
obj.date = "";
}
curr_dist = curr_dist + obj.flashbox._height;
maxdragamount = maxdragamount + obj.flashbox._height;
if (n == (_root.eyeland_hs_maxscores - 1)) {
obj.hline._visible = false;
}
n++;
}
var bobj = _parent.showbg.list["l" + (_root.eyeland_hs_players.length - 1)];
if (maxdragamount > 0) {
var draggable = true;
_parent.showbg.dragger._alpha = 100;
_parent.showbg.up._alpha = 100;
_parent.showbg.down._alpha = 100;
} else {
var draggable = false;
}
_parent.playagain._alpha = 100;
if (_parent.challenged) {
_parent.challenged_message.play();
_parent.challenged = false;
}
}
onClipEvent (enterFrame) {
if (moveup && (draggable)) {
_parent.showbg.dragger._y = Math.max(_parent.showbg.dragger._y - 2, topdragy);
dragonce = true;
}
if (!pressup) {
moveup = false;
}
if (movedown && (draggable)) {
_parent.showbg.dragger._y = Math.min(_parent.showbg.dragger._y + 2, topdragy + dragheight);
dragonce = true;
}
if (!pressdown) {
movedown = false;
}
if (drag || (dragonce)) {
linedist = ((_parent.showbg.dragger._y - topdragy) / dragheight) * maxdragamount;
if ((_parent.showbg.dragger._y - topdragy) < 1) {
linedist = 0;
}
if ((_parent.showbg.dragger._y - topdragy) > (dragheight - 1)) {
linedist = maxdragamount;
}
_parent.showbg.list.l0._y = topliney - linedist;
var n = 1;
while (n < _root.eyeland_hs_maxscores) {
_parent.showbg.list["l" + n]._y = _parent.showbg.list["l" + (n - 1)]._y + _parent.showbg.list["l" + (n - 1)].flashbox._height;
n++;
}
dragonce = false;
}
}
Symbol 965 MovieClip Frame 49
message = ("You scored " + _root[score_variable]) + " points! To challenge a friend to beat your score, enter their email address in the field below and click CHALLENGE!";
yourname = _root.eyeland_hs_p;
stop();
Instance of Symbol 962 MovieClip in Symbol 965 MovieClip Frame 49
onClipEvent (load) {
function btn_press() {
if (_root.eyeland_hs_players.length > 0) {
_parent.gotoAndPlay("show");
} else {
_parent.gotoAndPlay("load");
}
}
}
Instance of Symbol 964 MovieClip in Symbol 965 MovieClip Frame 49
onClipEvent (load) {
function btn_press() {
_root.eyeland_hs_friendemail = _parent.friendemail;
_root.eyeland_hs_yourname = _parent.yourname;
_parent.gotoAndPlay("challenge");
}
}
Symbol 965 MovieClip Frame 60
stop();
Instance of Symbol 8 MovieClip "challenge_handler" in Symbol 965 MovieClip Frame 60
onClipEvent (data) {
if (_root.eyeland_hs_players.length > 0) {
_parent.gotoAndPlay("show");
} else {
_parent.gotoAndPlay("load");
}
}
Instance of Symbol 8 MovieClip in Symbol 965 MovieClip Frame 60
onClipEvent (load) {
_parent.challenged = true;
var score = _root[_parent.score_variable];
var id = _parent.game_id;
var friend = escape(_root.eyeland_hs_friendemail);
var yourname = escape(_root.eyeland_hs_yourname);
var url = ((((((((((_parent.highscore_url + "?action=challenge&id=") + id) + "&friend=") + friend) + "&yourname=") + yourname) + "&score=") + score) + "&rand=") + Math.round(Math.random() * 999999999));
loadVariables (url, _parent.challenge_handler);
}