Frame 1
fscommand ("showmenu", "false");
fscommand ("fullscreen", "false");
fscommand ("trapallkeys", "true");
Stage.showMenu = false;
myVar.gamer = 36;
gameName = "ninjarampage";
debug = true;
stop();
fscommand ("showmenu", "false");
prel.onEnterFrame = function () {
prel.procent.text = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
prel.gotoAndStop(prel.procent.text);
if (Number(prel.procent.text) > 99) {
play();
delete this.onEnterFrame;
}
};
Frame 2
stop();
Frame 4
_root.music.gotoAndStop(5);
Frame 5
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("369ee73a", this, 10301, true);
stop();
_root.black.gotoAndPlay(2);
_root.score = 1000;
_root.jalvl = 1;
_root.time_m = 0;
_root.kill = 0;
_root.skill = 0;
_root.spotted = 0;
_root.continues = 0;
_root.spottedtest = 10;
Frame 6
_root.black.gotoAndPlay(2);
Instance of Symbol 120 MovieClip "ground" in Frame 6
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
}
Instance of Symbol 136 MovieClip in Frame 6
onClipEvent (load) {
this.gotoAndPlay(2);
}
Instance of Symbol 136 MovieClip in Frame 6
onClipEvent (load) {
this.gotoAndPlay(2);
}
Instance of Symbol 136 MovieClip in Frame 6
onClipEvent (load) {
this.gotoAndPlay(2);
}
Instance of Symbol 136 MovieClip in Frame 6
onClipEvent (load) {
this.gotoAndPlay(2);
}
Instance of Symbol 136 MovieClip in Frame 6
onClipEvent (load) {
this.gotoAndPlay(2);
}
Instance of Symbol 136 MovieClip in Frame 6
onClipEvent (load) {
this.gotoAndPlay(2);
}
Instance of Symbol 136 MovieClip in Frame 6
onClipEvent (load) {
this.gotoAndPlay(2);
}
Instance of Symbol 301 MovieClip "hero" in Frame 6
onClipEvent (load) {
jumpright = true;
run = 8;
jump = 10;
gravity = 0;
xold = _x;
yold = _y;
}
onClipEvent (enterFrame) {
_y = (_y + gravity);
_y = (_y + 10);
if (!_root.ground.hitTest(_x, _y, true)) {
this._x = this._x + jump;
gravity = gravity + 5;
} else if (_root.controlmovie.yeswork == true) {
gravity = -30;
} else {
gravity = 0;
}
}
Frame 8
lvl = 1;
_root.levelskill = 0;
_root.levelspotted = 0;
_root.levelkill = 0;
_root.countenemy = 0;
_root.black.gotoAndPlay(2);
_root.stage._visible = false;
_root.music.gotoAndStop(3);
Instance of Symbol 318 MovieClip "ground" in Frame 8
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
while (this.hitTest(_root.enemy1._x, _root.enemy1._y, true)) {
_root.enemy1._y = _root.enemy1._y - 1;
}
while (this.hitTest(_root.enemy3._x, _root.enemy3._y, true)) {
_root.enemy3._y = _root.enemy3._y - 1;
}
}
Instance of Symbol 136 MovieClip in Frame 8
onClipEvent (load) {
this.gotoAndPlay(6);
}
Instance of Symbol 136 MovieClip in Frame 8
onClipEvent (load) {
this.gotoAndPlay(2);
}
Instance of Symbol 136 MovieClip in Frame 8
onClipEvent (load) {
this.gotoAndPlay(2);
}
Instance of Symbol 136 MovieClip in Frame 8
onClipEvent (load) {
this.gotoAndPlay(2);
}
Instance of Symbol 136 MovieClip in Frame 8
onClipEvent (load) {
this.gotoAndPlay(2);
}
Instance of Symbol 328 MovieClip in Frame 8
onClipEvent (load) {
this.gotoAndPlay(3);
}
Instance of Symbol 341 MovieClip "nextlevel" in Frame 8
onClipEvent (enterFrame) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.levelkill == _root.countenemy) {
_root.stage._visible = true;
_root.stage.gotoAndStop(2);
this.gotoAndStop(2);
}
}
Instance of Symbol 301 MovieClip "hero" in Frame 8
onClipEvent (load) {
jumpright = true;
run = 8;
jump = 10;
slowerjump = 10;
gravity = 0;
xold = _x;
yold = _y;
}
onClipEvent (enterFrame) {
xold = _x;
yold = _y;
if (Key.isDown(37) && (air == false)) {
if (goleft == true) {
jumpleft = true;
jumpright = false;
dieleft = true;
dieright = false;
_x = (_x - run);
_xscale = -100;
state = 2;
}
}
if (Key.isDown(39) && (air == false)) {
if (goright == true) {
jumpright = true;
jumpleft = false;
dieleft = false;
dieright = true;
_x = (_x + run);
_xscale = 100;
state = 2;
}
}
if ((Key.isDown(37) && (Key.isDown(39))) && (air == false)) {
if (goleft == true) {
jumpleft = true;
jumpright = false;
_x = (_x - run);
_xscale = -100;
state = 2;
}
}
if ((air == true) && (Key.isDown(37))) {
state = 3;
}
if ((air == true) && (Key.isDown(39))) {
state = 3;
}
if ((Key.isDown(38) && (_root.RIGHTWALL.hitTest(_x, _y, true))) && (air == true)) {
goupright = true;
jumpright = false;
jumpleft = false;
}
if ((Key.isDown(38) && (_root.LEFTWALL.hitTest(_x, _y, true))) && (air == true)) {
goupleft = true;
jumpright = false;
jumpleft = false;
}
if ((goupright == true) && (_root.RIGHTWALL.hitTest(_x, _y, true))) {
this.body._visible = false;
air = false;
gravity = -30;
_xscale = 100;
state = 4;
}
if ((goupleft == true) && (_root.LEFTWALL.hitTest(_x, _y, true))) {
this.body._visible = false;
air = false;
gravity = -30;
_xscale = -100;
state = 4;
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_xscale = 100;
_x = (_x - run);
_root.hero._x = _root.hero._x + 25;
_x = xold;
_y = yold;
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_xscale = -100;
_x = (_x + run);
_x = xold;
_y = yold;
}
if ((goupright == true) && (Key.isDown(37))) {
this.backl.gotoAndPlay(2);
this.backl._visible = true;
this.backr._visible = false;
goupright = false;
}
if ((goupleft == true) && (Key.isDown(39))) {
this.backr.gotoAndPlay(2);
this.backr._visible = true;
this.backl._visible = false;
goupleft = false;
}
if ((jumpleft == true) && (_root.LEFTWALL.hitTest(_x, _y, true))) {
_xscale = -100;
_x = xold;
_y = yold;
_x = (_x + slowerjump);
}
if ((jumpright == true) && (_root.RIGHTWALL.hitTest(_x, _y, true))) {
_xscale = 100;
_x = xold;
_y = yold;
_x = (_x - slowerjump);
}
if ((this.backl.nohit == true) && (_root.LEFTWALL.hitTest(_x, _y, true))) {
_x = xold;
_y = yold;
_x = (_x + slowerjump);
}
if ((this.backr.nohitr == true) && (_root.RIGHTWALL.hitTest(_x, _y, true))) {
_x = xold;
_y = yold;
_x = (_x - slowerjump);
}
if (_root.nextlevel.hitTest(_x, _y, true)) {
_xscale = 100;
_x = (_x - run);
_x = xold;
_y = yold;
}
if ((jumpright == true) && (_root.nextlevel.hitTest(_x, _y, true))) {
_xscale = 100;
_x = xold;
_y = yold;
_x = (_x - slowerjump);
}
this.legs.gotoAndStop(state);
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
state = 1;
}
if (Key.isDown(37)) {
state = 1;
}
}
onClipEvent (enterFrame) {
if ((Key.isDown(83) && (air == false)) && (!Key.isDown(40))) {
this.body.gotoAndPlay(7);
}
if ((Key.isDown(65) && (air == false)) && (!Key.isDown(40))) {
this.body.gotoAndPlay(20);
}
if ((Key.isDown(68) && (air == false)) && (!Key.isDown(40))) {
this.body.gotoAndPlay(30);
}
}
onClipEvent (enterFrame) {
_y = (_y + 10);
_root.jumpkey = Key.isDown(38);
_root.hitground = _root.ground.hitTest(_x, _y, true);
if (!_root.hitground) {
gravity = gravity + 5;
} else {
if (_root.jumpkey && (this.jumping == true)) {
gravity = -30;
} else {
gravity = 0;
}
if (((((Key.isDown(65) && (this.body.attack.attack == true)) && (!Key.isDown(39))) && (!Key.isDown(40))) && (!Key.isDown(37))) && (this.jumping == true)) {
gravity = -20;
}
}
_y = (_y + gravity);
}
onClipEvent (enterFrame) {
if ((jumpright == true) && (air == true)) {
_x = (_x + jump);
}
if ((jumpleft == true) && (air == true)) {
_x = (_x - jump);
}
}
onClipEvent (enterFrame) {
if (air == true) {
state = 3;
}
if (_root.ground.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
state = 3;
}
if (air == false) {
state = 1;
}
if (_x < 0) {
_x = 0;
}
if (_root.nextlevel.nextl == true) {
if (_x > 650) {
_root.jalvl++;
_root.gotoAndStop(_root._currentframe + 1);
_x = 0;
}
if (_root.nextlevel.nextl == false) {
if (_x > 650) {
_root.stage._visible = false;
_x = 650;
}
}
}
}
Instance of Symbol 462 MovieClip "enemy1" in Frame 8
onClipEvent (load) {
this.area.waiting.gotoAndPlay(80);
this.gotoAndStop(1);
enemyrun = 5;
xl = _x;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
xl = _x;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
xl = _x;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.shoot.hitTest(_root.hero.herohit)) {
this.shooting.gotoAndPlay(2);
this.area.waiting.gotoAndPlay(2);
}
}
Instance of Symbol 462 MovieClip "enemy3" in Frame 8
onClipEvent (load) {
this.gotoAndStop(1);
enemyrun = 5;
xl = _x;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
xl = _x;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
xl = _x;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.shoot.hitTest(_root.hero.herohit)) {
this.shooting.gotoAndPlay(2);
this.area.waiting.gotoAndPlay(2);
}
}
Instance of Symbol 469 MovieClip in Frame 8
onClipEvent (load) {
this.gotoAndPlay(6);
}
Instance of Symbol 511 MovieClip "stage" in Frame 8
onClipEvent (enterFrame) {
if (_root.hero._x > 650) {
this.gotoAndPlay(3);
}
}
Frame 9
lvl = 2;
_root.levelskill = 0;
_root.levelspotted = 0;
_root.levelkill = 0;
_root.countenemy = 0;
_root.black.gotoAndPlay(2);
_root.stage._visible = false;
Instance of Symbol 521 MovieClip "ground" in Frame 9
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
while (this.hitTest(_root.enemy1._x, _root.enemy1._y, true)) {
_root.enemy1._y = _root.enemy1._y - 1;
}
}
Instance of Symbol 136 MovieClip in Frame 9
onClipEvent (load) {
this.gotoAndPlay(2);
}
Instance of Symbol 136 MovieClip in Frame 9
onClipEvent (load) {
this.gotoAndPlay(2);
}
Instance of Symbol 529 MovieClip in Frame 9
onClipEvent (enterFrame) {
this._x = this._x - 5;
}
Instance of Symbol 301 MovieClip "hero" in Frame 9
onClipEvent (load) {
jumpright = true;
run = 8;
jump = 10;
slowerjump = 10;
gravity = 0;
xold = _x;
yold = _y;
}
onClipEvent (enterFrame) {
xold = _x;
yold = _y;
if (Key.isDown(37) && (air == false)) {
if (goleft == true) {
jumpleft = true;
jumpright = false;
dieleft = true;
dieright = false;
_x = (_x - run);
_xscale = -100;
state = 2;
}
}
if (Key.isDown(39) && (air == false)) {
if (goright == true) {
jumpright = true;
jumpleft = false;
dieleft = false;
dieright = true;
_x = (_x + run);
_xscale = 100;
state = 2;
}
}
if ((Key.isDown(37) && (Key.isDown(39))) && (air == false)) {
if (goleft == true) {
jumpleft = true;
jumpright = false;
_x = (_x - run);
_xscale = -100;
state = 2;
}
}
if ((air == true) && (Key.isDown(37))) {
state = 3;
}
if ((air == true) && (Key.isDown(39))) {
state = 3;
}
if ((Key.isDown(38) && (_root.RIGHTWALL.hitTest(_x, _y, true))) && (air == true)) {
goupright = true;
jumpright = false;
jumpleft = false;
}
if ((Key.isDown(38) && (_root.LEFTWALL.hitTest(_x, _y, true))) && (air == true)) {
goupleft = true;
jumpright = false;
jumpleft = false;
}
if ((goupright == true) && (_root.RIGHTWALL.hitTest(_x, _y, true))) {
this.body._visible = false;
air = false;
gravity = -30;
_xscale = 100;
state = 4;
}
if ((goupleft == true) && (_root.LEFTWALL.hitTest(_x, _y, true))) {
this.body._visible = false;
air = false;
gravity = -30;
_xscale = -100;
state = 4;
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_xscale = 100;
_x = (_x - run);
_root.hero._x = _root.hero._x + 25;
_x = xold;
_y = yold;
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_xscale = -100;
_x = (_x + run);
_x = xold;
_y = yold;
}
if ((goupright == true) && (Key.isDown(37))) {
this.backl.gotoAndPlay(2);
this.backl._visible = true;
this.backr._visible = false;
goupright = false;
}
if ((goupleft == true) && (Key.isDown(39))) {
this.backr.gotoAndPlay(2);
this.backr._visible = true;
this.backl._visible = false;
goupleft = false;
}
if ((jumpleft == true) && (_root.LEFTWALL.hitTest(_x, _y, true))) {
_xscale = -100;
_x = xold;
_y = yold;
_x = (_x + slowerjump);
}
if ((jumpright == true) && (_root.RIGHTWALL.hitTest(_x, _y, true))) {
_xscale = 100;
_x = xold;
_y = yold;
_x = (_x - slowerjump);
}
if ((this.backl.nohit == true) && (_root.LEFTWALL.hitTest(_x, _y, true))) {
_x = xold;
_y = yold;
_x = (_x + slowerjump);
}
if ((this.backr.nohitr == true) && (_root.RIGHTWALL.hitTest(_x, _y, true))) {
_x = xold;
_y = yold;
_x = (_x - slowerjump);
}
if (_root.nextlevel.hitTest(_x, _y, true)) {
_xscale = 100;
_x = (_x - run);
_x = xold;
_y = yold;
}
if ((jumpright == true) && (_root.nextlevel.hitTest(_x, _y, true))) {
_xscale = 100;
_x = xold;
_y = yold;
_x = (_x - slowerjump);
}
this.legs.gotoAndStop(state);
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
state = 1;
}
if (Key.isDown(37)) {
state = 1;
}
}
onClipEvent (enterFrame) {
if ((Key.isDown(83) && (air == false)) && (!Key.isDown(40))) {
this.body.gotoAndPlay(7);
}
if ((Key.isDown(65) && (air == false)) && (!Key.isDown(40))) {
this.body.gotoAndPlay(20);
}
if ((Key.isDown(68) && (air == false)) && (!Key.isDown(40))) {
this.body.gotoAndPlay(30);
}
}
onClipEvent (enterFrame) {
_y = (_y + 10);
_root.jumpkey = Key.isDown(38);
_root.hitground = _root.ground.hitTest(_x, _y, true);
if (!_root.hitground) {
gravity = gravity + 5;
} else {
if (_root.jumpkey && (this.jumping == true)) {
gravity = -30;
} else {
gravity = 0;
}
if (((((Key.isDown(65) && (this.body.attack.attack == true)) && (!Key.isDown(39))) && (!Key.isDown(40))) && (!Key.isDown(37))) && (this.jumping == true)) {
gravity = -20;
}
}
_y = (_y + gravity);
}
onClipEvent (enterFrame) {
if ((jumpright == true) && (air == true)) {
_x = (_x + jump);
}
if ((jumpleft == true) && (air == true)) {
_x = (_x - jump);
}
}
onClipEvent (enterFrame) {
if (air == true) {
state = 3;
}
if (_root.ground.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
state = 3;
}
if (air == false) {
state = 1;
}
if (_x < 0) {
_x = 0;
}
if (_root.nextlevel.nextl == true) {
if (_x > 650) {
_root.jalvl++;
_root.gotoAndStop(_root._currentframe + 1);
_x = 0;
}
if (_root.nextlevel.nextl == false) {
if (_x > 650) {
_root.stage._visible = false;
_x = 650;
}
}
}
}
Instance of Symbol 591 MovieClip "enemy1" in Frame 9
onClipEvent (load) {
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 469 MovieClip in Frame 9
onClipEvent (load) {
this.gotoAndPlay(6);
}
Frame 10
lvl = 3;
_root.levelskill = 0;
_root.levelspotted = 0;
_root.levelkill = 0;
_root.countenemy = 0;
_root.black.gotoAndPlay(2);
_root.stage._visible = false;
Instance of Symbol 603 MovieClip "ground" in Frame 10
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
while (this.hitTest(_root.enemy1._x, _root.enemy1._y, true)) {
_root.enemy1._y = _root.enemy1._y - 1;
}
while (this.hitTest(_root.enemy2._x, _root.enemy2._y, true)) {
_root.enemy2._y = _root.enemy2._y - 1;
}
}
Instance of Symbol 591 MovieClip "enemy1" in Frame 10
onClipEvent (load) {
this.area.waiting.gotoAndPlay(30);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 591 MovieClip "enemy2" in Frame 10
onClipEvent (load) {
this.area.waiting.gotoAndPlay(80);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Frame 11
lvl = 4;
_root.levelskill = 0;
_root.levelspotted = 0;
_root.levelkill = 0;
_root.countenemy = 0;
_root.black.gotoAndPlay(2);
_root.stage._visible = false;
Instance of Symbol 608 MovieClip "ground" in Frame 11
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
while (this.hitTest(_root.enemy1._x, _root.enemy1._y, true)) {
_root.enemy1._y = _root.enemy1._y - 1;
}
while (this.hitTest(_root.enemy2._x, _root.enemy2._y, true)) {
_root.enemy2._y = _root.enemy2._y - 1;
}
}
Instance of Symbol 328 MovieClip in Frame 11
onClipEvent (load) {
this.gotoAndPlay(3);
}
Instance of Symbol 328 MovieClip in Frame 11
onClipEvent (load) {
this.gotoAndPlay(3);
}
Instance of Symbol 529 MovieClip in Frame 11
onClipEvent (enterFrame) {
this._x = this._x - 5;
}
Instance of Symbol 529 MovieClip in Frame 11
onClipEvent (enterFrame) {
this._x = this._x - 5;
}
Instance of Symbol 529 MovieClip in Frame 11
onClipEvent (enterFrame) {
this._x = this._x - 5;
}
Instance of Symbol 662 MovieClip "enemy1" in Frame 11
onClipEvent (load) {
this.area.waiting.gotoAndStop(80);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 662 MovieClip "enemy2" in Frame 11
onClipEvent (load) {
this.area.waiting.gotoAndStop(80);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 469 MovieClip in Frame 11
onClipEvent (load) {
this.gotoAndPlay(6);
}
Frame 12
lvl = 5;
_root.levelskill = 0;
_root.levelspotted = 0;
_root.levelkill = 0;
_root.countenemy = 0;
_root.black.gotoAndPlay(2);
_root.stage._visible = false;
Instance of Symbol 665 MovieClip "ground" in Frame 12
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
while (this.hitTest(_root.enemy1._x, _root.enemy1._y, true)) {
_root.enemy1._y = _root.enemy1._y - 1;
}
while (this.hitTest(_root.enemy2._x, _root.enemy2._y, true)) {
_root.enemy2._y = _root.enemy2._y - 1;
}
while (this.hitTest(_root.enemy3._x, _root.enemy3._y, true)) {
_root.enemy3._y = _root.enemy3._y - 1;
}
}
Instance of Symbol 696 MovieClip "soundthing" in Frame 12
onClipEvent (enterFrame) {
if ((_root.hero.body.attack.sword.hitTest(this.soundthing) or _root.hero.body.attack2.sword.hitTest(this.soundthing)) or _root.hero.body.attack3.hit.hitTest(this.soundthing)) {
this.gotoAndPlay(2);
_root.enemy1.area.waiting.gotoAndPlay(80);
_root.enemy2.area.waiting.gotoAndPlay(1);
_root.enemy3.area.waiting.gotoAndPlay(80);
_root.enemy4.area.waiting.gotoAndPlay(80);
_root.enemy5.area.waiting.gotoAndPlay(80);
_root.enemy6.area.waiting.gotoAndPlay(80);
}
}
Instance of Symbol 662 MovieClip "enemy1" in Frame 12
onClipEvent (load) {
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 591 MovieClip "enemy2" in Frame 12
onClipEvent (load) {
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 591 MovieClip "enemy3" in Frame 12
onClipEvent (load) {
this.area.waiting.gotoAndPlay(30);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Frame 13
lvl = 6;
_root.levelskill = 0;
_root.levelspotted = 0;
_root.levelkill = 0;
_root.countenemy = 0;
_root.black.gotoAndPlay(2);
_root.stage._visible = false;
_root.rain.gotoAndStop(306);
Instance of Symbol 702 MovieClip "ground" in Frame 13
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
while (this.hitTest(_root.enemy1._x, _root.enemy1._y, true)) {
_root.enemy1._y = _root.enemy1._y - 1;
}
while (this.hitTest(_root.enemy2._x, _root.enemy2._y, true)) {
_root.enemy2._y = _root.enemy2._y - 1;
}
while (this.hitTest(_root.enemy3._x, _root.enemy3._y, true)) {
_root.enemy3._y = _root.enemy3._y - 1;
}
}
Instance of Symbol 529 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._x = this._x + 5;
}
Instance of Symbol 662 MovieClip "enemy1" in Frame 13
onClipEvent (load) {
this.area.waiting.gotoAndPlay(30);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 662 MovieClip "enemy2" in Frame 13
onClipEvent (load) {
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 591 MovieClip "enemy3" in Frame 13
onClipEvent (load) {
this.area.waiting.gotoAndPlay(10);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Frame 14
lvl = 7;
_root.levelskill = 0;
_root.levelspotted = 0;
_root.levelkill = 0;
_root.countenemy = 0;
_root.black.gotoAndPlay(2);
_root.stage._visible = false;
Instance of Symbol 709 MovieClip "ground" in Frame 14
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
while (this.hitTest(_root.enemy1._x, _root.enemy1._y, true)) {
_root.enemy1._y = _root.enemy1._y - 1;
}
while (this.hitTest(_root.enemy2._x, _root.enemy2._y, true)) {
_root.enemy2._y = _root.enemy2._y - 1;
}
while (this.hitTest(_root.enemy3._x, _root.enemy3._y, true)) {
_root.enemy3._y = _root.enemy3._y - 1;
}
}
Instance of Symbol 662 MovieClip "enemy3" in Frame 14
onClipEvent (load) {
this.area.waiting.gotoAndPlay(30);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 662 MovieClip "enemy2" in Frame 14
onClipEvent (load) {
this.area.waiting.gotoAndPlay(50);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 591 MovieClip "enemy1" in Frame 14
onClipEvent (load) {
this.area.waiting.gotoAndPlay(60);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Frame 15
lvl = 8;
_root.levelskill = 0;
_root.levelspotted = 0;
_root.levelkill = 0;
_root.countenemy = 0;
_root.black.gotoAndPlay(2);
_root.stage._visible = false;
Instance of Symbol 713 MovieClip "ground" in Frame 15
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
while (this.hitTest(_root.enemy1._x, _root.enemy1._y, true)) {
_root.enemy1._y = _root.enemy1._y - 1;
}
while (this.hitTest(_root.enemy2._x, _root.enemy2._y, true)) {
_root.enemy2._y = _root.enemy2._y - 1;
}
}
Instance of Symbol 328 MovieClip in Frame 15
onClipEvent (load) {
this.gotoAndPlay(3);
}
Instance of Symbol 529 MovieClip in Frame 15
onClipEvent (enterFrame) {
this._x = this._x + 5;
}
Instance of Symbol 529 MovieClip in Frame 15
onClipEvent (enterFrame) {
this._x = this._x + 5;
}
Instance of Symbol 529 MovieClip in Frame 15
onClipEvent (enterFrame) {
this._x = this._x + 5;
}
Instance of Symbol 529 MovieClip in Frame 15
onClipEvent (enterFrame) {
this._x = this._x + 5;
}
Instance of Symbol 529 MovieClip in Frame 15
onClipEvent (enterFrame) {
this._x = this._x + 5;
}
Instance of Symbol 341 MovieClip "nextlevel" in Frame 15
onClipEvent (enterFrame) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.levelkill == _root.countenemy) {
_root.stage._visible = true;
_root.stage.gotoAndStop(2);
this.gotoAndStop(2);
}
}
Instance of Symbol 591 MovieClip "enemy2" in Frame 15
onClipEvent (load) {
this.area.waiting.gotoAndPlay(10);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
fall = fall + 2;
y = (0.999390827019096 * fall) * 1;
_y = (_y + y);
fall = fall * 0.9;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 462 MovieClip "enemy1" in Frame 15
onClipEvent (load) {
this.area.waiting.gotoAndPlay(60);
this.gotoAndStop(1);
enemyrun = 5;
xl = _x;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
xl = _x;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
xl = _x;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.shoot.hitTest(_root.hero.herohit)) {
this.shooting.gotoAndPlay(2);
this.area.waiting.gotoAndPlay(2);
}
}
Instance of Symbol 735 MovieClip in Frame 15
onClipEvent (enterFrame) {
gotoAndStop (1);
this.mask._visible = false;
}
Instance of Symbol 469 MovieClip in Frame 15
onClipEvent (load) {
this.gotoAndPlay(6);
}
Frame 16
lvl = 9;
_root.levelskill = 0;
_root.levelspotted = 0;
_root.levelkill = 0;
_root.countenemy = 0;
_root.black.gotoAndPlay(2);
_root.stage._visible = false;
Instance of Symbol 737 MovieClip "ground" in Frame 16
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
while (this.hitTest(_root.enemy1._x, _root.enemy1._y, true)) {
_root.enemy1._y = _root.enemy1._y - 1;
}
while (this.hitTest(_root.enemy2._x, _root.enemy2._y, true)) {
_root.enemy2._y = _root.enemy2._y - 1;
}
while (this.hitTest(_root.enemy3._x, _root.enemy3._y, true)) {
_root.enemy3._y = _root.enemy3._y - 1;
}
while (this.hitTest(_root.enemy4._x, _root.enemy4._y, true)) {
_root.enemy4._y = _root.enemy4._y - 1;
}
}
Instance of Symbol 662 MovieClip "enemy1" in Frame 16
onClipEvent (load) {
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 662 MovieClip "enemy3" in Frame 16
onClipEvent (load) {
this.area.waiting.gotoAndPlay(30);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 662 MovieClip "enemy2" in Frame 16
onClipEvent (load) {
this.area.waiting.gotoAndPlay(80);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 591 MovieClip "enemy4" in Frame 16
onClipEvent (load) {
this.area.waiting.gotoAndStop(1);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Frame 17
lvl = 10;
_root.levelskill = 0;
_root.levelspotted = 0;
_root.levelkill = 0;
_root.countenemy = 0;
_root.black.gotoAndPlay(2);
_root.stage._visible = false;
Instance of Symbol 784 MovieClip "ground" in Frame 17
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
while (this.hitTest(_root.enemy1._x, _root.enemy1._y, true)) {
_root.enemy1._y = _root.enemy1._y - 1;
}
while (this.hitTest(_root.enemy2._x, _root.enemy2._y, true)) {
_root.enemy2._y = _root.enemy2._y - 1;
}
}
Instance of Symbol 462 MovieClip "enemy1" in Frame 17
onClipEvent (load) {
this.area.waiting.gotoAndPlay(80);
this.gotoAndStop(1);
enemyrun = 5;
xl = _x;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
xl = _x;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
xl = _x;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.shoot.hitTest(_root.hero.herohit)) {
this.shooting.gotoAndPlay(2);
this.area.waiting.gotoAndPlay(2);
}
}
Instance of Symbol 591 MovieClip "enemy2" in Frame 17
onClipEvent (load) {
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 469 MovieClip in Frame 17
onClipEvent (load) {
this.gotoAndPlay(6);
}
Instance of Symbol 469 MovieClip in Frame 17
onClipEvent (load) {
this.gotoAndPlay(6);
}
Frame 18
lvl = 11;
_root.levelskill = 0;
_root.levelspotted = 0;
_root.levelkill = 0;
_root.countenemy = 0;
_root.black.gotoAndPlay(2);
_root.stage._visible = false;
Instance of Symbol 787 MovieClip "ground" in Frame 18
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
while (this.hitTest(_root.enemy1._x, _root.enemy1._y, true)) {
_root.enemy1._y = _root.enemy1._y - 1;
}
while (this.hitTest(_root.enemy2._x, _root.enemy2._y, true)) {
_root.enemy2._y = _root.enemy2._y - 1;
}
while (this.hitTest(_root.enemy3._x, _root.enemy3._y, true)) {
_root.enemy3._y = _root.enemy3._y - 1;
}
}
Instance of Symbol 328 MovieClip in Frame 18
onClipEvent (load) {
this.gotoAndPlay(3);
}
Instance of Symbol 529 MovieClip in Frame 18
onClipEvent (enterFrame) {
this._x = this._x - 5;
}
Instance of Symbol 529 MovieClip in Frame 18
onClipEvent (enterFrame) {
this._x = this._x - 5;
}
Instance of Symbol 529 MovieClip in Frame 18
onClipEvent (enterFrame) {
this._x = this._x - 5;
}
Instance of Symbol 529 MovieClip in Frame 18
onClipEvent (enterFrame) {
this._x = this._x - 5;
}
Instance of Symbol 529 MovieClip in Frame 18
onClipEvent (enterFrame) {
this._x = this._x - 5;
}
Instance of Symbol 462 MovieClip "enemy2" in Frame 18
onClipEvent (load) {
this.area.waiting.gotoAndPlay(80);
this.gotoAndStop(1);
enemyrun = 5;
xl = _x;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
xl = _x;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
xl = _x;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.shoot.hitTest(_root.hero.herohit)) {
this.shooting.gotoAndPlay(2);
this.area.waiting.gotoAndPlay(2);
}
}
Instance of Symbol 662 MovieClip "enemy3" in Frame 18
onClipEvent (load) {
this.area.waiting.gotoAndPlay(120);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 662 MovieClip "enemy1" in Frame 18
onClipEvent (load) {
this.area.waiting.gotoAndPlay(50);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Frame 19
lvl = 12;
_root.levelskill = 0;
_root.levelspotted = 0;
_root.levelkill = 0;
_root.countenemy = 0;
_root.black.gotoAndPlay(2);
_root.stage._visible = false;
Instance of Symbol 794 MovieClip "ground" in Frame 19
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
while (this.hitTest(_root.enemy1._x, _root.enemy1._y, true)) {
_root.enemy1._y = _root.enemy1._y - 1;
}
while (this.hitTest(_root.enemy2._x, _root.enemy2._y, true)) {
_root.enemy2._y = _root.enemy2._y - 1;
}
while (this.hitTest(_root.enemy3._x, _root.enemy3._y, true)) {
_root.enemy3._y = _root.enemy3._y - 1;
}
}
Instance of Symbol 800 MovieClip in Frame 19
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y + 1;
}
}
Instance of Symbol 462 MovieClip "enemy1" in Frame 19
onClipEvent (load) {
this.area.waiting.gotoAndPlay(80);
this.gotoAndStop(1);
enemyrun = 5;
xl = _x;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
xl = _x;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
xl = _x;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.shoot.hitTest(_root.hero.herohit)) {
this.shooting.gotoAndPlay(2);
this.area.waiting.gotoAndPlay(2);
}
}
Instance of Symbol 462 MovieClip "enemy3" in Frame 19
onClipEvent (load) {
this.area.waiting.gotoAndPlay(65);
this.gotoAndStop(1);
enemyrun = 5;
xl = _x;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
xl = _x;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
xl = _x;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.shoot.hitTest(_root.hero.herohit)) {
this.shooting.gotoAndPlay(2);
this.area.waiting.gotoAndPlay(2);
}
}
Instance of Symbol 662 MovieClip "enemy2" in Frame 19
onClipEvent (load) {
this.area.waiting.gotoAndPlay(50);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Frame 20
lvl = 13;
_root.levelskill = 0;
_root.levelspotted = 0;
_root.levelkill = 0;
_root.countenemy = 0;
_root.black.gotoAndPlay(2);
_root.stage._visible = false;
Instance of Symbol 802 MovieClip "ground" in Frame 20
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
while (this.hitTest(_root.enemy1._x, _root.enemy1._y, true)) {
_root.enemy1._y = _root.enemy1._y - 1;
}
while (this.hitTest(_root.enemy2._x, _root.enemy2._y, true)) {
_root.enemy2._y = _root.enemy2._y - 1;
}
while (this.hitTest(_root.enemy3._x, _root.enemy3._y, true)) {
_root.enemy3._y = _root.enemy3._y - 1;
}
while (this.hitTest(_root.enemy4._x, _root.enemy4._y, true)) {
_root.enemy4._y = _root.enemy4._y - 1;
}
while (this.hitTest(_root.enemy5._x, _root.enemy5._y, true)) {
_root.enemy5._y = _root.enemy5._y - 1;
}
}
Instance of Symbol 529 MovieClip in Frame 20
onClipEvent (enterFrame) {
this._x = this._x - 5;
}
Instance of Symbol 529 MovieClip in Frame 20
onClipEvent (enterFrame) {
this._x = this._x - 5;
}
Instance of Symbol 529 MovieClip in Frame 20
onClipEvent (enterFrame) {
this._x = this._x - 5;
}
Instance of Symbol 529 MovieClip in Frame 20
onClipEvent (enterFrame) {
this._x = this._x - 5;
}
Instance of Symbol 529 MovieClip in Frame 20
onClipEvent (enterFrame) {
this._x = this._x - 5;
}
Instance of Symbol 529 MovieClip in Frame 20
onClipEvent (enterFrame) {
this._x = this._x - 5;
}
Instance of Symbol 462 MovieClip "enemy1" in Frame 20
onClipEvent (load) {
this.area.waiting.gotoAndPlay(5);
this.gotoAndStop(1);
enemyrun = 5;
xl = _x;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
xl = _x;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
xl = _x;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.shoot.hitTest(_root.hero.herohit)) {
this.shooting.gotoAndPlay(2);
this.area.waiting.gotoAndPlay(2);
}
}
Instance of Symbol 591 MovieClip "enemy3" in Frame 20
onClipEvent (load) {
this.gotoAndStop(1);
this.area.waiting.gotoAndPlay(80);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 591 MovieClip "enemy2" in Frame 20
onClipEvent (load) {
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 591 MovieClip "enemy5" in Frame 20
onClipEvent (load) {
this.gotoAndStop(1);
this.area.waiting.gotoAndPlay(25);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 462 MovieClip "enemy4" in Frame 20
onClipEvent (load) {
this.area.waiting.gotoAndPlay(65);
this.gotoAndStop(1);
enemyrun = 5;
xl = _x;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
xl = _x;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
xl = _x;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.shoot.hitTest(_root.hero.herohit)) {
this.shooting.gotoAndPlay(2);
this.area.waiting.gotoAndPlay(2);
}
}
Frame 21
lvl = 14;
_root.levelskill = 0;
_root.levelspotted = 0;
_root.levelkill = 0;
_root.countenemy = 0;
_root.black.gotoAndPlay(2);
_root.stage._visible = false;
Instance of Symbol 807 MovieClip "ground" in Frame 21
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
while (this.hitTest(_root.enemy1._x, _root.enemy1._y, true)) {
_root.enemy1._y = _root.enemy1._y - 1;
}
while (this.hitTest(_root.enemy2._x, _root.enemy2._y, true)) {
_root.enemy2._y = _root.enemy2._y - 1;
}
while (this.hitTest(_root.enemy3._x, _root.enemy3._y, true)) {
_root.enemy3._y = _root.enemy3._y - 1;
}
while (this.hitTest(_root.enemy4._x, _root.enemy4._y, true)) {
_root.enemy4._y = _root.enemy4._y - 1;
}
while (this.hitTest(_root.enemy5._x, _root.enemy5._y, true)) {
_root.enemy5._y = _root.enemy5._y - 1;
}
}
Instance of Symbol 328 MovieClip in Frame 21
onClipEvent (load) {
this.gotoAndPlay(3);
}
Instance of Symbol 662 MovieClip "enemy1" in Frame 21
onClipEvent (load) {
this.area.waiting.gotoAndPlay(1);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 662 MovieClip "enemy3" in Frame 21
onClipEvent (load) {
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 462 MovieClip "enemy2" in Frame 21
onClipEvent (load) {
this.area.waiting.gotoAndPlay(65);
this.gotoAndStop(1);
enemyrun = 5;
xl = _x;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
xl = _x;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
xl = _x;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.shoot.hitTest(_root.hero.herohit)) {
this.shooting.gotoAndPlay(2);
this.area.waiting.gotoAndPlay(2);
}
}
Instance of Symbol 591 MovieClip "enemy4" in Frame 21
onClipEvent (load) {
this.gotoAndStop(1);
this.area.waiting.gotoAndPlay(40);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 462 MovieClip "enemy5" in Frame 21
onClipEvent (load) {
this.area.waiting.gotoAndPlay(75);
this.gotoAndStop(1);
enemyrun = 5;
xl = _x;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
xl = _x;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
xl = _x;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.shoot.hitTest(_root.hero.herohit)) {
this.shooting.gotoAndPlay(2);
this.area.waiting.gotoAndPlay(2);
}
}
Instance of Symbol 469 MovieClip in Frame 21
onClipEvent (load) {
this.gotoAndPlay(6);
}
Instance of Symbol 469 MovieClip in Frame 21
onClipEvent (load) {
this.gotoAndPlay(6);
}
Instance of Symbol 469 MovieClip in Frame 21
onClipEvent (load) {
this.gotoAndPlay(6);
}
Frame 22
lvl = 15;
_root.levelskill = 0;
_root.levelspotted = 0;
_root.levelkill = 0;
_root.countenemy = 0;
_root.black.gotoAndPlay(2);
_root.stage._visible = false;
Instance of Symbol 814 MovieClip "ground" in Frame 22
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
while (this.hitTest(_root.enemy4._x, _root.enemy4._y, true)) {
_root.enemy4._y = _root.enemy4._y - 1;
}
while (this.hitTest(_root.enemy2._x, _root.enemy2._y, true)) {
_root.enemy2._y = _root.enemy2._y - 1;
}
while (this.hitTest(_root.enemy3._x, _root.enemy3._y, true)) {
_root.enemy3._y = _root.enemy3._y - 1;
}
}
Instance of Symbol 529 MovieClip in Frame 22
onClipEvent (enterFrame) {
this._x = this._x + 5;
}
Instance of Symbol 529 MovieClip in Frame 22
onClipEvent (enterFrame) {
this._x = this._x + 5;
}
Instance of Symbol 529 MovieClip in Frame 22
onClipEvent (enterFrame) {
this._x = this._x + 5;
}
Instance of Symbol 529 MovieClip in Frame 22
onClipEvent (enterFrame) {
this._x = this._x + 5;
}
Instance of Symbol 529 MovieClip in Frame 22
onClipEvent (enterFrame) {
this._x = this._x + 5;
}
Instance of Symbol 662 MovieClip "enemy2" in Frame 22
onClipEvent (load) {
this.area.waiting.gotoAndPlay(1);
this.gotoAndStop(1);
enemyrun = 5;
this.area.waiting.gotoAndPlay(80);
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 662 MovieClip "enemy4" in Frame 22
onClipEvent (load) {
this.area.waiting.gotoAndPlay(40);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 462 MovieClip "enemy3" in Frame 22
onClipEvent (load) {
this.area.waiting.gotoAndPlay(65);
this.gotoAndStop(1);
enemyrun = 5;
xl = _x;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
xl = _x;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
xl = _x;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.shoot.hitTest(_root.hero.herohit)) {
this.shooting.gotoAndPlay(2);
this.area.waiting.gotoAndPlay(2);
}
}
Frame 23
lvl = 16;
_root.levelskill = 0;
_root.levelspotted = 0;
_root.levelkill = 0;
_root.countenemy = 0;
_root.black.gotoAndPlay(2);
_root.stage._visible = false;
Instance of Symbol 818 MovieClip "ground" in Frame 23
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
while (this.hitTest(_root.enemy1._x, _root.enemy1._y, true)) {
_root.enemy1._y = _root.enemy1._y - 1;
}
while (this.hitTest(_root.enemy2._x, _root.enemy2._y, true)) {
_root.enemy2._y = _root.enemy2._y - 1;
}
while (this.hitTest(_root.enemy3._x, _root.enemy3._y, true)) {
_root.enemy3._y = _root.enemy3._y - 1;
}
while (this.hitTest(_root.enemy4._x, _root.enemy4._y, true)) {
_root.enemy4._y = _root.enemy4._y - 1;
}
while (this.hitTest(_root.enemy5._x, _root.enemy5._y, true)) {
_root.enemy5._y = _root.enemy5._y - 1;
}
while (this.hitTest(_root.enemy6._x, _root.enemy6._y, true)) {
_root.enemy6._y = _root.enemy6._y - 1;
}
}
Instance of Symbol 462 MovieClip "enemy4" in Frame 23
onClipEvent (load) {
this.area.waiting.gotoAndPlay(65);
this.gotoAndStop(1);
enemyrun = 5;
xl = _x;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
xl = _x;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
xl = _x;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.shoot.hitTest(_root.hero.herohit)) {
this.shooting.gotoAndPlay(2);
this.area.waiting.gotoAndPlay(2);
}
}
Instance of Symbol 462 MovieClip "enemy2" in Frame 23
onClipEvent (load) {
this.area.waiting.gotoAndPlay(80);
this.gotoAndStop(1);
enemyrun = 5;
xl = _x;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
xl = _x;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
xl = _x;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.shoot.hitTest(_root.hero.herohit)) {
this.shooting.gotoAndPlay(2);
this.area.waiting.gotoAndPlay(2);
}
}
Instance of Symbol 662 MovieClip "enemy3" in Frame 23
onClipEvent (load) {
this.area._xscale = this.area._xscale - 50;
this.area.waiting.gotoAndPlay(1);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 662 MovieClip "enemy1" in Frame 23
onClipEvent (load) {
this.area._xscale = this.area._xscale - 50;
this.area.waiting.gotoAndPlay(1);
this.gotoAndStop(1);
enemyrun = 5;
this.area.waiting.gotoAndPlay(80);
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 662 MovieClip "enemy5" in Frame 23
onClipEvent (load) {
this.area._xscale = this.area._xscale - 50;
this.area.waiting.gotoAndPlay(1);
this.gotoAndStop(1);
enemyrun = 5;
this.area.waiting.gotoAndPlay(65);
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 662 MovieClip "enemy6" in Frame 23
onClipEvent (load) {
this.area._xscale = this.area._xscale - 50;
this.area.waiting.gotoAndPlay(1);
this.gotoAndStop(1);
enemyrun = 5;
this.area.waiting.gotoAndPlay(5);
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 469 MovieClip in Frame 23
onClipEvent (load) {
this.gotoAndPlay(6);
}
Frame 24
lvl = 17;
_root.levelskill = 0;
_root.levelspotted = 0;
_root.levelkill = 0;
_root.countenemy = 0;
_root.black.gotoAndPlay(2);
_root.stage._visible = false;
Instance of Symbol 833 MovieClip "ground" in Frame 24
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
while (this.hitTest(_root.enemy1._x, _root.enemy1._y, true)) {
_root.enemy1._y = _root.enemy1._y - 1;
}
while (this.hitTest(_root.enemy2._x, _root.enemy2._y, true)) {
_root.enemy2._y = _root.enemy2._y - 1;
}
while (this.hitTest(_root.enemy3._x, _root.enemy3._y, true)) {
_root.enemy3._y = _root.enemy3._y - 1;
}
}
Instance of Symbol 328 MovieClip in Frame 24
onClipEvent (load) {
this.gotoAndPlay(3);
}
Instance of Symbol 696 MovieClip "soundthing" in Frame 24
onClipEvent (enterFrame) {
if ((_root.hero.body.attack.sword.hitTest(this.soundthing) or _root.hero.body.attack2.sword.hitTest(this.soundthing)) or _root.hero.body.attack3.hit.hitTest(this.soundthing)) {
this.gotoAndPlay(2);
_root.enemy1.area.waiting.gotoAndPlay(80);
_root.enemy2.area.waiting.gotoAndPlay(1);
_root.enemy3.area.waiting.gotoAndPlay(80);
_root.enemy4.area.waiting.gotoAndPlay(80);
_root.enemy5.area.waiting.gotoAndPlay(80);
_root.enemy6.area.waiting.gotoAndPlay(80);
}
}
Instance of Symbol 529 MovieClip in Frame 24
onClipEvent (enterFrame) {
this._x = this._x + 5;
}
Instance of Symbol 529 MovieClip in Frame 24
onClipEvent (enterFrame) {
this._x = this._x + 5;
}
Instance of Symbol 529 MovieClip in Frame 24
onClipEvent (enterFrame) {
this._x = this._x + 5;
}
Instance of Symbol 529 MovieClip in Frame 24
onClipEvent (enterFrame) {
this._x = this._x + 5;
}
Instance of Symbol 529 MovieClip in Frame 24
onClipEvent (enterFrame) {
this._x = this._x + 5;
}
Instance of Symbol 529 MovieClip in Frame 24
onClipEvent (enterFrame) {
this._x = this._x + 5;
}
Instance of Symbol 341 MovieClip "nextlevel" in Frame 24
onClipEvent (enterFrame) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.levelkill == _root.countenemy) {
_root.stage._visible = true;
_root.stage.gotoAndStop(2);
this.gotoAndStop(2);
}
}
Instance of Symbol 591 MovieClip "enemy1" in Frame 24
onClipEvent (load) {
this.gotoAndStop(1);
this.area.waiting.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 462 MovieClip "enemy3" in Frame 24
onClipEvent (load) {
this.area.waiting.gotoAndStop(1);
this.gotoAndStop(1);
enemyrun = 5;
xl = _x;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
xl = _x;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
xl = _x;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.shoot.hitTest(_root.hero.herohit)) {
this.shooting.gotoAndPlay(2);
this.area.waiting.gotoAndPlay(2);
}
}
Instance of Symbol 591 MovieClip "enemy2" in Frame 24
onClipEvent (load) {
this.gotoAndStop(1);
this.area.waiting.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Frame 25
lvl = 18;
_root.levelskill = 0;
_root.levelspotted = 0;
_root.levelkill = 0;
_root.countenemy = 0;
_root.black.gotoAndPlay(2);
_root.stage._visible = false;
Instance of Symbol 836 MovieClip "ground" in Frame 25
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
while (this.hitTest(_root.enemy1._x, _root.enemy1._y, true)) {
_root.enemy1._y = _root.enemy1._y - 1;
}
while (this.hitTest(_root.enemy2._x, _root.enemy2._y, true)) {
_root.enemy2._y = _root.enemy2._y - 1;
}
}
Instance of Symbol 839 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero.gotoAndStop(2);
}
if (this.hitTest(_root.enemy1._x, _root.enemy1._y, true)) {
_root.enemy1.gotoAndStop(2);
}
if (this.hitTest(_root.enemy2._x, _root.enemy2._y, true)) {
_root.enemy2.gotoAndStop(2);
}
}
Instance of Symbol 462 MovieClip "enemy1" in Frame 25
onClipEvent (load) {
this.area.waiting.gotoAndPlay(50);
this.gotoAndStop(1);
enemyrun = 5;
xl = _x;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
xl = _x;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
xl = _x;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.shoot.hitTest(_root.hero.herohit)) {
this.shooting.gotoAndPlay(2);
this.area.waiting.gotoAndPlay(2);
}
}
Instance of Symbol 591 MovieClip "enemy2" in Frame 25
onClipEvent (load) {
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Frame 26
lvl = 19;
_root.levelskill = 0;
_root.levelspotted = 0;
_root.levelkill = 0;
_root.countenemy = 0;
_root.black.gotoAndPlay(2);
_root.stage._visible = false;
Instance of Symbol 845 MovieClip "ground" in Frame 26
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
while (this.hitTest(_root.enemy1._x, _root.enemy1._y, true)) {
_root.enemy1._y = _root.enemy1._y - 1;
}
while (this.hitTest(_root.enemy2._x, _root.enemy2._y, true)) {
_root.enemy2._y = _root.enemy2._y - 1;
}
while (this.hitTest(_root.enemy3._x, _root.enemy3._y, true)) {
_root.enemy3._y = _root.enemy3._y - 1;
}
}
Instance of Symbol 696 MovieClip "soundthing" in Frame 26
onClipEvent (enterFrame) {
if ((_root.hero.body.attack.sword.hitTest(this.soundthing) or _root.hero.body.attack2.sword.hitTest(this.soundthing)) or _root.hero.body.attack3.hit.hitTest(this.soundthing)) {
this.gotoAndPlay(2);
_root.enemy1.area.waiting.gotoAndPlay(1);
_root.enemy2.area.waiting.gotoAndPlay(1);
_root.enemy3.area.waiting.gotoAndPlay(1);
_root.enemy4.area.waiting.gotoAndPlay(1);
_root.enemy5.area.waiting.gotoAndPlay(1);
_root.enemy6.area.waiting.gotoAndPlay(1);
}
}
Instance of Symbol 529 MovieClip in Frame 26
onClipEvent (enterFrame) {
this._x = this._x - 5;
}
Instance of Symbol 529 MovieClip in Frame 26
onClipEvent (enterFrame) {
this._x = this._x - 5;
}
Instance of Symbol 529 MovieClip in Frame 26
onClipEvent (enterFrame) {
this._x = this._x - 5;
}
Instance of Symbol 529 MovieClip in Frame 26
onClipEvent (enterFrame) {
this._x = this._x - 5;
}
Instance of Symbol 529 MovieClip in Frame 26
onClipEvent (enterFrame) {
this._x = this._x - 5;
}
Instance of Symbol 529 MovieClip in Frame 26
onClipEvent (enterFrame) {
this._x = this._x - 5;
}
Instance of Symbol 462 MovieClip "enemy3" in Frame 26
onClipEvent (load) {
this.area.waiting.gotoAndStop(80);
this.shoot._xscale = this.shoot._xscale - 50;
this.gotoAndStop(1);
enemyrun = 5;
xl = _x;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
xl = _x;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
xl = _x;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.shoot.hitTest(_root.hero.herohit)) {
this.shooting.gotoAndPlay(2);
this.area.waiting.gotoAndPlay(2);
}
}
Instance of Symbol 462 MovieClip "enemy2" in Frame 26
onClipEvent (load) {
this.area.waiting.gotoAndStop(80);
this.shoot._xscale = this.shoot._xscale - 50;
this.gotoAndStop(1);
enemyrun = 5;
xl = _x;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
xl = _x;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
xl = _x;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.shoot.hitTest(_root.hero.herohit)) {
this.shooting.gotoAndPlay(2);
this.area.waiting.gotoAndPlay(2);
}
}
Instance of Symbol 591 MovieClip "enemy1" in Frame 26
onClipEvent (load) {
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 469 MovieClip in Frame 26
onClipEvent (load) {
this.gotoAndPlay(6);
}
Frame 27
lvl = 20;
_root.levelskill = 0;
_root.levelspotted = 0;
_root.levelkill = 0;
_root.countenemy = 0;
_root.black.gotoAndPlay(2);
_root.stage._visible = false;
Instance of Symbol 850 MovieClip "ground" in Frame 27
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
while (this.hitTest(_root.enemy1._x, _root.enemy1._y, true)) {
_root.enemy1._y = _root.enemy1._y - 1;
}
while (this.hitTest(_root.enemy2._x, _root.enemy2._y, true)) {
_root.enemy2._y = _root.enemy2._y - 1;
}
while (this.hitTest(_root.enemy3._x, _root.enemy3._y, true)) {
_root.enemy3._y = _root.enemy3._y - 1;
}
while (this.hitTest(_root.enemy4._x, _root.enemy4._y, true)) {
_root.enemy4._y = _root.enemy4._y - 1;
}
while (this.hitTest(_root.enemy5._x, _root.enemy5._y, true)) {
_root.enemy5._y = _root.enemy5._y - 1;
}
while (this.hitTest(_root.enemy6._x, _root.enemy6._y, true)) {
_root.enemy6._y = _root.enemy6._y - 1;
}
while (this.hitTest(_root.enemy7._x, _root.enemy7._y, true)) {
_root.enemy7._y = _root.enemy7._y - 1;
}
}
Instance of Symbol 136 MovieClip in Frame 27
onClipEvent (load) {
this.gotoAndPlay(3);
}
Instance of Symbol 136 MovieClip in Frame 27
onClipEvent (load) {
this.gotoAndPlay(5);
}
Instance of Symbol 136 MovieClip in Frame 27
onClipEvent (load) {
this.gotoAndPlay(7);
}
Instance of Symbol 136 MovieClip in Frame 27
onClipEvent (load) {
this.gotoAndPlay(11);
}
Instance of Symbol 328 MovieClip in Frame 27
onClipEvent (load) {
this.gotoAndPlay(3);
}
Instance of Symbol 662 MovieClip "enemy3" in Frame 27
onClipEvent (load) {
this.area._xscale = this.area._xscale - 50;
this.area.waiting.gotoAndPlay(1);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 662 MovieClip "enemy1" in Frame 27
onClipEvent (load) {
this.area._xscale = this.area._xscale - 50;
this.area.waiting.gotoAndStop(1);
this.gotoAndStop(1);
enemyrun = 5;
this.area.waiting.gotoAndPlay(80);
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 662 MovieClip "enemy5" in Frame 27
onClipEvent (load) {
this.area._xscale = this.area._xscale - 50;
this.area.waiting.gotoAndPlay(1);
this.gotoAndStop(1);
enemyrun = 5;
this.area.waiting.gotoAndPlay(45);
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 662 MovieClip "enemy6" in Frame 27
onClipEvent (load) {
this.area._xscale = this.area._xscale - 50;
this.area.waiting.gotoAndPlay(1);
this.gotoAndStop(1);
enemyrun = 5;
this.area.waiting.gotoAndPlay(5);
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 662 MovieClip "enemy2" in Frame 27
onClipEvent (load) {
this.area._xscale = this.area._xscale - 50;
this.area.waiting.gotoAndPlay(1);
this.gotoAndStop(1);
enemyrun = 5;
this.area.waiting.gotoAndPlay(20);
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 662 MovieClip "enemy4" in Frame 27
onClipEvent (load) {
this.area._xscale = this.area._xscale - 50;
this.area.waiting.gotoAndPlay(1);
this.gotoAndStop(1);
enemyrun = 5;
this.area.waiting.gotoAndPlay(30);
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 462 MovieClip "enemy7" in Frame 27
onClipEvent (load) {
this.area.waiting.gotoAndPlay(40);
this.gotoAndStop(1);
enemyrun = 5;
xl = _x;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
xl = _x;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
xl = _x;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.shoot.hitTest(_root.hero.herohit)) {
this.shooting.gotoAndPlay(2);
this.area.waiting.gotoAndPlay(2);
}
}
Frame 28
lvl = 21;
_root.levelskill = 0;
_root.levelspotted = 0;
_root.levelkill = 0;
_root.countenemy = 0;
_root.black.gotoAndPlay(2);
_root.stage._visible = false;
_root.music.gotoAndStop(5);
Instance of Symbol 853 MovieClip "ground" in Frame 28
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._y = _root.hero._y - 1;
}
while (this.hitTest(_root.enemy1._x, _root.enemy1._y, true)) {
_root.enemy1._y = _root.enemy1._y - 1;
}
while (this.hitTest(_root.enemy2._x, _root.enemy2._y, true)) {
_root.enemy2._y = _root.enemy2._y - 1;
}
while (this.hitTest(_root.enemy3._x, _root.enemy3._y, true)) {
_root.enemy3._y = _root.enemy3._y - 1;
}
while (this.hitTest(_root.enemy4._x, _root.enemy4._y, true)) {
_root.enemy4._y = _root.enemy4._y - 1;
}
}
Instance of Symbol 328 MovieClip in Frame 28
onClipEvent (load) {
this.gotoAndPlay(3);
}
Instance of Symbol 328 MovieClip in Frame 28
onClipEvent (load) {
this.gotoAndPlay(3);
}
Instance of Symbol 341 MovieClip "nextlevel" in Frame 28
onClipEvent (enterFrame) {
this.gotoAndStop(1);
}
Instance of Symbol 937 MovieClip "enemy1" in Frame 28
onClipEvent (enterFrame) {
if (_root.hero.hitTest(_root.emperorgo)) {
this.area.waiting.gotoAndStop(80);
}
}
onClipEvent (load) {
this.area.waiting.gotoAndStop(1);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 662 MovieClip "enemy3" in Frame 28
onClipEvent (load) {
this.area.waiting.gotoAndPlay(1);
this.gotoAndStop(1);
enemyrun = 5;
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 662 MovieClip "enemy4" in Frame 28
onClipEvent (load) {
this.area.waiting.gotoAndPlay(1);
this.gotoAndStop(1);
enemyrun = 5;
this.area.waiting.gotoAndPlay(45);
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 662 MovieClip "enemy2" in Frame 28
onClipEvent (load) {
this.area.waiting.gotoAndPlay(1);
this.gotoAndStop(1);
enemyrun = 5;
this.area.waiting.gotoAndPlay(30);
}
onClipEvent (enterFrame) {
this._y = this._y + 7;
}
onClipEvent (enterFrame) {
if (this.area.area.hitTest(_root.hero.herohit) or this.area.area2.hitTest(_root.hero.herohit)) {
if (_root.hero._x > (_x + 20)) {
this._xscale = 100;
_x = (_x + enemyrun);
this.legs.gotoAndStop(2);
}
if (_root.hero._x < (_x - 20)) {
this._xscale = -100;
_x = (_x - enemyrun);
this.legs.gotoAndStop(2);
}
} else {
this.legs.gotoAndStop(1);
}
if (_root.RIGHTWALL.hitTest(_x, _y, true)) {
_x = (_x - enemyrun);
this._xscale = -100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
if (_root.LEFTWALL.hitTest(_x, _y, true)) {
_x = (_x + enemyrun);
this._xscale = 100;
this.area.gotoAndStop(1);
this.legs.gotoAndStop(1);
}
}
Frame 29
function updateScoreboard(sNum) {
xmlPlayer = new XML();
xmlPlayer.ignoreWhite = true;
xmlPlayer.onLoad = function (success) {
if (success) {
_root["mcScoreboard" + sNum].mcLoading._visible = false;
myPlayer = xmlPlayer.firstChild.childNodes;
ctr2 = 0;
while (ctr2 < myPlayer.length) {
thisPlayer = _root["mcScoreboard" + sNum].sboard.mcScoreHolder.mcScore.duplicateMovieClip("mcScore" + ctr2, ctr2);
thisPlayer._y = ctr2 * thisPlayer._height;
thisPlayer._visible = true;
if ((ctr2 % 2) > 0) {
thisPlayer.gotoAndStop(2);
}
thisPlayer.txtNumber.text = (ctr2 + 1) + ")";
thisPlayer.txtNickname.text = myPlayer[ctr2].attributes.player;
thisPlayer.txtScore.text = myPlayer[ctr2].attributes.score;
ctr2++;
}
_root["mcScoreboard" + sNum].sboard.mcScoreHolder.item = myPlayer.length;
_root["mcScoreboard" + sNum].sboard.mcScoreHolder.speedy = 0;
_root["mcScoreboard" + sNum].sboard.mcScoreHolder.desty = 0;
_root["mcScoreboard" + sNum].sboard.mcScoreHolder.onEnterFrame = function () {
if ((this.desty < 0) && (this._parent.dir == "up")) {
trace("up");
this.desty = this.desty + 10;
if (this.desty > 0) {
this.desty = 0;
}
}
trace((this._parent.mcBlock._height + " - ") + (this.mcScore._height * this.item));
if ((this.desty > (this._parent.mcBlock._height - (this.mcScore._height * this.item))) && (this._parent.dir == "down")) {
trace("down");
this.desty = this.desty - 10;
if (this.desty < (this._parent.mcBlock._height - (this.mcScore._height * this.item))) {
this.desty = this._parent.mcBlock._height - (this.mcScore._height * this.item);
}
}
this.speedy = (this.desty - this._y) + (this.speedy * 0.4);
this._y = this._y + this.speedy;
};
}
if (sNum == 1) {
updateScoreboard(2);
}
};
if (sNum == 1) {
xmlPlayer.load((((("http://" + _root.Dsource) + ".freeonlinegames.com/scoreboard/getTopPlayer.php?id=") + _root.gameID) + "&rand=") + random(999999));
} else if (sNum == 2) {
xmlPlayer.load(((((("http://" + _root.Dsource) + ".freeonlinegames.com/scoreboard/getTopPlayer.php?id=") + _root.gameID) + "&rand=") + random(999999)) + "&filt=1");
}
}
stop();
var gameID = 36;
Dsource = "www";
mcScoreboard1.sboard.dir = "stop";
mcScoreboard2.sboard.dir = "stop";
mcScoreboard1.sboard.mcScoreHolder.mcScore._visible = false;
mcScoreboard2.sboard.mcScoreHolder.mcScore._visible = false;
updateScoreboard(1);
btnMain.onRelease = function () {
currentPage = "main";
fader.play();
};
Frame 30
_root.spottedtest = _root.spottedtest * _root.spotted;
_root.score = Number(_root.score) - _root.time_m;
_root.score = Number(_root.score) - _root.spottedtest;
_root.time_s.gotoAndStop(1);
if (_root.score <= 0) {
_root.score = 0;
}
_root.black.gotoAndPlay(2);
Frame 33
if (_root.lvl == 1) {
_root.gotoAndStop(8);
} else if (_root.lvl == 2) {
_root.gotoAndStop(9);
} else if (_root.lvl == 3) {
_root.gotoAndStop(10);
} else if (_root.lvl == 4) {
_root.gotoAndStop(11);
} else if (_root.lvl == 5) {
_root.gotoAndStop(12);
} else if (_root.lvl == 6) {
_root.gotoAndStop(13);
} else if (_root.lvl == 7) {
_root.gotoAndStop(14);
} else if (_root.lvl == 8) {
_root.gotoAndStop(15);
} else if (_root.lvl == 9) {
_root.gotoAndStop(16);
} else if (_root.lvl == 10) {
_root.gotoAndStop(17);
} else if (_root.lvl == 11) {
_root.gotoAndStop(18);
} else if (_root.lvl == 12) {
_root.gotoAndStop(19);
} else if (_root.lvl == 13) {
_root.gotoAndStop(20);
} else if (_root.lvl == 14) {
_root.gotoAndStop(21);
} else if (_root.lvl == 15) {
_root.gotoAndStop(22);
} else if (_root.lvl == 16) {
_root.gotoAndStop(23);
} else if (_root.lvl == 17) {
_root.gotoAndStop(24);
} else if (_root.lvl == 18) {
_root.gotoAndStop(25);
} else if (_root.lvl == 19) {
_root.gotoAndStop(26);
} else if (_root.lvl == 20) {
_root.gotoAndStop(27);
} else if (_root.lvl == 21) {
_root.gotoAndStop(28);
} else if (_root.lvl == 22) {
_root.gotoAndStop(29);
} else if (_root.lvl == 23) {
_root.gotoAndStop(30);
} else if (_root.lvl == 24) {
_root.gotoAndStop(31);
} else if (_root.lvl == 25) {
_root.gotoAndStop(32);
}
_root.music.gotoAndStop(3);
_root.rain.gotoAndStop(306);
Symbol 3 MovieClip [arrow] Frame 17
stop();
Symbol 16 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 42
Symbol 37 MovieClip Frame 55
stop();
_parent.play();
Symbol 78 MovieClip Frame 1
stop();
l = 0;
Instance of Symbol 21 MovieClip "mcNotice" in Symbol 78 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 78 MovieClip Frame 28
l++;
if (l < 3) {
gotoAndPlay ("loop");
} else if (_url.indexOf("freeonlinegames.com") >= 0) {
_root.play();
stop();
} else if (_root.debug) {
_root.play();
stop();
} else {
mcNotice._visible = true;
l = -99999;
gotoAndPlay ("loop");
}
Symbol 78 MovieClip Frame 29
_root.play();
Symbol 80 Button
on (release) {
getURL ("http://www.freeonlinegames.com/?ninjarampage", "_blank");
}
Instance of Symbol 78 MovieClip "logo" in Symbol 81 MovieClip Frame 1
on (release) {
getURL ("http://www.freeonlinegames.com/?freekickchamp", "_blank");
}
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 2
stop();
Symbol 84 MovieClip Frame 3
stopAllSounds();
gotoAndStop (2);
_root.rain.gotoAndPlay(2);
Symbol 84 MovieClip Frame 5
stopAllSounds();
gotoAndStop (4);
Symbol 86 MovieClip Frame 1
stop();
Symbol 96 Button
on (press) {
getURL ("http://www.freeonlinegames.com/?ninjarampage", "_blank");
}
Symbol 100 Button
on (release, keyPress "a") {
gotoAndStop (7);
}
Symbol 105 Button
on (press) {
gotoAndStop (6);
}
Symbol 109 Button
on (press) {
gotoAndStop (29);
}
Symbol 113 Button
on (press) {
getURL ("http://www.freeonlinegames.com/?ninjarampage", "_blank");
}
Instance of Symbol 139 MovieClip in Symbol 155 MovieClip Frame 21
onClipEvent (load) {
run = 8;
}
onClipEvent (enterFrame) {
_root.hero._x = _root.hero._x - run;
_root.hero._xscale = -100;
_root.hero.legs.gotoAndStop(2);
}
Instance of Symbol 139 MovieClip in Symbol 155 MovieClip Frame 34
onClipEvent (enterFrame) {
_root.hero.legs.gotoAndStop(1);
}
Instance of Symbol 139 MovieClip in Symbol 155 MovieClip Frame 51
onClipEvent (load) {
run = 8;
}
onClipEvent (enterFrame) {
_root.hero._x = _root.hero._x + run;
_root.hero._xscale = 100;
_root.hero.legs.gotoAndStop(2);
}
Instance of Symbol 139 MovieClip in Symbol 155 MovieClip Frame 67
onClipEvent (enterFrame) {
_root.hero.legs.gotoAndStop(1);
}
Symbol 155 MovieClip Frame 81
yeswork = true;
_root.hero.legs.gotoAndStop(3);
Symbol 155 MovieClip Frame 83
yeswork = false;
Symbol 155 MovieClip Frame 91
_root.hero.legs.gotoAndStop(1);
Instance of Symbol 139 MovieClip in Symbol 155 MovieClip Frame 126
onClipEvent (load) {
run = 8;
}
onClipEvent (enterFrame) {
_root.hero._x = _root.hero._x - run;
_root.hero._xscale = -100;
_root.hero.legs.gotoAndStop(2);
}
Instance of Symbol 139 MovieClip in Symbol 155 MovieClip Frame 138
onClipEvent (enterFrame) {
_root.hero.legs.gotoAndStop(1);
}
Instance of Symbol 139 MovieClip in Symbol 155 MovieClip Frame 143
onClipEvent (load) {
run = 8;
}
onClipEvent (enterFrame) {
_root.hero._x = _root.hero._x - run;
_root.hero._xscale = -100;
_root.hero.legs.gotoAndStop(2);
}
Instance of Symbol 139 MovieClip in Symbol 155 MovieClip Frame 147
onClipEvent (enterFrame) {
_root.hero.legs.gotoAndStop(1);
}
Symbol 155 MovieClip Frame 156
_root.hero.body.gotoAndPlay(20);
Symbol 155 MovieClip Frame 166
_root.hero.body.gotoAndPlay(7);
Symbol 155 MovieClip Frame 176
_root.hero.body.gotoAndPlay(30);
Symbol 162 Button
on (press) {
_quality = "LOW";
}
Symbol 169 Button
on (press) {
_quality = "MEDIUM";
}
Symbol 175 Button
on (press) {
_quality = "HIGH";
}
Symbol 181 Button
on (press) {
gotoAndStop (5);
}
Symbol 185 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 2
stop();
Symbol 211 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 31
gotoAndPlay (1);
Symbol 220 MovieClip Frame 1
_parent.body._visible = true;
backl._visible = false;
backr._visible = false;
_root.hero.goupright = false;
_root.hero.goupleft = false;
_root.hero.goright = true;
_root.hero.goleft = true;
stop();
Symbol 220 MovieClip Frame 2
_parent.body._visible = true;
_root.hero.goupright = false;
_root.hero.goupleft = false;
Symbol 220 MovieClip Frame 3
_root.hero.goupright = false;
_root.hero.goupleft = false;
_parent.body._visible = true;
Symbol 220 MovieClip Frame 4
_parent.body._visible = false;
Instance of Symbol 219 MovieClip "goup" in Symbol 220 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.hero.backl == true) {
gotoAndStop (5);
}
}
Symbol 238 MovieClip Frame 12
_parent.gotoAndPlay(1);
Symbol 245 MovieClip Frame 7
_parent.gotoAndPlay(1);
Symbol 255 MovieClip Frame 12
_parent.gotoAndPlay(1);
Symbol 256 MovieClip Frame 6
gotoAndPlay (1);
Symbol 261 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 2
_parent.body._visible = false;
_parent.legs._visible = false;
_root.hero._x = _root.hero._x - 30;
_root.hero.jumpleft == true;
_x = (_x + jump);
nohit = true;
Instance of Symbol 256 MovieClip in Symbol 261 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((_root.hero.jumpright == true) && (_root.hero.air == true)) {
_root.hero._x = _root.hero._x + jump;
}
if ((_root.hero.jumpleft == true) && (_root.hero.air == true)) {
_root.hero._x = _root.hero._x - jump;
}
}
Symbol 261 MovieClip Frame 3
_root.hero._x = _root.hero._x - 25;
_parent.legs._visible = false;
Symbol 261 MovieClip Frame 4
_root.hero._x = _root.hero._x - 20;
_parent.legs._visible = false;
Symbol 261 MovieClip Frame 5
_root.hero._x = _root.hero._x - 15;
_parent.legs._visible = false;
Symbol 261 MovieClip Frame 6
_root.hero._x = _root.hero._x - 15;
_root.hero.air = false;
_parent.legs._visible = false;
Symbol 261 MovieClip Frame 7
_parent.body._visible = true;
_parent.legs._visible = true;
nohit = false;
Symbol 264 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 2
_parent.body._visible = false;
_parent.legs._visible = false;
_root.hero._x = _root.hero._x + 30;
_root.hero.jumpright == true;
_x = (_x - jump);
nohitr = true;
Instance of Symbol 256 MovieClip in Symbol 264 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((_root.hero.jumpright == true) && (_root.hero.air == true)) {
_root.hero._x = _root.hero._x + jump;
}
if ((_root.hero.jumpleft == true) && (_root.hero.air == true)) {
_root.hero._x = _root.hero._x - jump;
}
}
Symbol 264 MovieClip Frame 3
_root.hero._x = _root.hero._x + 25;
_parent.legs._visible = false;
Symbol 264 MovieClip Frame 4
_root.hero._x = _root.hero._x + 20;
_parent.legs._visible = false;
Symbol 264 MovieClip Frame 5
_root.hero._x = _root.hero._x + 15;
_parent.legs._visible = false;
Symbol 264 MovieClip Frame 6
_root.hero._x = _root.hero._x + 15;
_root.hero.air = false;
_parent.legs._visible = false;
Symbol 264 MovieClip Frame 7
_parent.body._visible = true;
_parent.legs._visible = true;
nohitr = false;
Symbol 267 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 2
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero._x = _root.hero._x - 5;
_root.hero.jumpright = false;
_root.hero.jumpleft = false;
Symbol 267 MovieClip Frame 3
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero._x = _root.hero._x - 5;
Symbol 267 MovieClip Frame 4
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero._x = _root.hero._x - 5;
Symbol 267 MovieClip Frame 5
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero._x = _root.hero._x - 5;
Symbol 267 MovieClip Frame 6
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero._x = _root.hero._x - 4;
Symbol 267 MovieClip Frame 7
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero._x = _root.hero._x - 3;
Symbol 267 MovieClip Frame 8
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero._x = _root.hero._x - 2;
Symbol 267 MovieClip Frame 9
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero._x = _root.hero._x - 2;
Symbol 267 MovieClip Frame 10
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero._x = _root.hero._x - 2;
Symbol 267 MovieClip Frame 11
_root.hero.goright = false;
_root.hero.goleft = false;
_root.die.gotoAndPlay(2);
Symbol 267 MovieClip Frame 12
stop();
Symbol 267 MovieClip Frame 13
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero._x = _root.hero._x + 5;
_root.hero.jumpright = false;
_root.hero.jumpleft = false;
Symbol 267 MovieClip Frame 14
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero._x = _root.hero._x + 5;
Symbol 267 MovieClip Frame 15
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero._x = _root.hero._x + 5;
Symbol 267 MovieClip Frame 16
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero._x = _root.hero._x + 5;
Symbol 267 MovieClip Frame 17
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero._x = _root.hero._x + 4;
Symbol 267 MovieClip Frame 18
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero._x = _root.hero._x + 3;
Symbol 267 MovieClip Frame 19
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero._x = _root.hero._x + 2;
Symbol 267 MovieClip Frame 20
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero._x = _root.hero._x + 2;
Symbol 267 MovieClip Frame 21
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero._x = _root.hero._x + 2;
Symbol 267 MovieClip Frame 22
_root.hero.goright = false;
_root.hero.goleft = false;
_root.die.gotoAndPlay(2);
Symbol 267 MovieClip Frame 23
stop();
Symbol 283 MovieClip Frame 21
stop();
Instance of Symbol 267 MovieClip in Symbol 285 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.hero.gravity = 30;
}
Symbol 285 MovieClip Frame 10
stop();
died = true;
_root.die.gotoAndPlay(2);
Instance of Symbol 267 MovieClip in Symbol 300 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.hero.gravity = 30;
}
Symbol 300 MovieClip Frame 25
stop();
died = true;
_root.die.gotoAndPlay(2);
Symbol 301 MovieClip Frame 1
stop();
jumping = true;
Instance of Symbol 185 MovieClip "herohit" in Symbol 301 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.spikes.hitTest(this)) {
_root.hero.goright = false;
_root.hero.goleft = false;
_parent.gotoAndStop(2);
}
}
Symbol 301 MovieClip Frame 2
stop();
jumping = false;
Instance of Symbol 285 MovieClip "die" in Symbol 301 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.hero.goright = false;
_root.hero.goleft = false;
}
Symbol 301 MovieClip Frame 3
stop();
jumping = false;
_root.hero.jumping = false;
Instance of Symbol 300 MovieClip in Symbol 301 MovieClip Frame 3
onClipEvent (enterFrame) {
_root.hero.goright = false;
_root.hero.goleft = false;
}
Instance of Symbol 304 MovieClip in Symbol 313 MovieClip Frame 20
onClipEvent (enterFrame) {
if (((Key.isDown(32) or Key.isDown(65)) or Key.isDown(83)) or Key.isDown(68)) {
_root.gotoAndStop(8);
}
}
Symbol 313 MovieClip Frame 294
_root.gotoAndStop(8);
Instance of Symbol 330 MovieClip in Symbol 338 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(3);
}
Instance of Symbol 330 MovieClip in Symbol 338 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(10);
}
Instance of Symbol 330 MovieClip in Symbol 338 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(7);
}
Symbol 341 MovieClip Frame 1
nextl = false;
stop();
Instance of Symbol 340 MovieClip in Symbol 341 MovieClip Frame 1
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._x = _root.hero._x - 1;
}
}
Symbol 341 MovieClip Frame 2
nextl = true;
Symbol 342 MovieClip Frame 1
stop();
Symbol 343 MovieClip Frame 1
stop();
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.body.attack.sword.hitTest(this)) {
_root.kill++;
_root.levelkill++;
_parent._parent.gotoAndStop(2);
this.gotoAndStop(2);
}
if (_root.hero.body.attack2.sword.hitTest(this)) {
_root.kill++;
_root.levelkill++;
this.gotoAndStop(2);
_parent._parent.gotoAndStop(3);
}
if (_root.hero.body.attack3.hit.hitTest(this)) {
_root.kill++;
_root.levelkill++;
this.gotoAndStop(2);
_parent._parent.gotoAndStop(4);
}
}
Instance of Symbol 342 MovieClip "hit" in Symbol 343 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.hero.body.attack.sword.hitTest(this)) {
_root.levelkill++;
_root.levelskill++;
_root.skill++;
_parent._parent.gotoAndStop(2);
this.gotoAndStop(2);
}
if (_root.hero.body.attack2.sword.hitTest(this)) {
_root.levelkill++;
_root.levelskill++;
_root.skill++;
this.gotoAndStop(2);
_parent._parent.gotoAndStop(3);
}
if (_root.hero.body.attack3.hit.hitTest(this)) {
_root.levelkill++;
_root.levelskill++;
_root.skill++;
this.gotoAndStop(2);
_parent._parent.gotoAndStop(4);
}
}
Instance of Symbol 344 MovieClip in Symbol 345 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.hero.herohit.hitTest(this)) {
_parent._parent.gotoAndStop(1);
}
_parent._parent.legs.gotoAndStop(2);
}
Symbol 345 MovieClip Frame 6
_parent._parent.legs.gotoAndStop(1);
Instance of Symbol 344 MovieClip in Symbol 345 MovieClip Frame 9
onClipEvent (enterFrame) {
if (!_root.hero.herohit.hitTest(this)) {
_parent._parent.gotoAndStop(1);
}
_parent._parent.legs.gotoAndStop(2);
}
Symbol 345 MovieClip Frame 11
_parent._parent.attack.gotoAndPlay(2);
_parent._parent.legs.gotoAndStop(1);
Instance of Symbol 344 MovieClip in Symbol 345 MovieClip Frame 14
onClipEvent (enterFrame) {
if (!_root.hero.herohit.hitTest(this)) {
_parent._parent.gotoAndStop(1);
}
_parent._parent.legs.gotoAndStop(2);
}
Symbol 345 MovieClip Frame 22
_parent._parent.attack.gotoAndPlay(2);
_parent._parent.legs.gotoAndStop(1);
Symbol 345 MovieClip Frame 28
_parent._parent.attack.gotoAndPlay(2);
Instance of Symbol 344 MovieClip in Symbol 345 MovieClip Frame 29
onClipEvent (enterFrame) {
if (!_root.hero.herohit.hitTest(this)) {
_parent._parent.gotoAndStop(1);
}
_parent._parent.legs.gotoAndStop(2);
}
Symbol 345 MovieClip Frame 42
_parent._parent.attack.gotoAndPlay(2);
_parent._parent.legs.gotoAndStop(1);
Symbol 345 MovieClip Frame 50
_parent._parent.attack.gotoAndPlay(2);
Instance of Symbol 344 MovieClip in Symbol 345 MovieClip Frame 50
onClipEvent (enterFrame) {
if (!_root.hero.herohit.hitTest(this)) {
_parent._parent.gotoAndStop(1);
}
_parent._parent.legs.gotoAndStop(2);
}
Symbol 345 MovieClip Frame 54
_parent._parent.legs.gotoAndStop(1);
Symbol 346 MovieClip Frame 1
_parent._parent._xscale = 100;
Symbol 346 MovieClip Frame 80
_parent._parent._xscale = -100;
Symbol 349 MovieClip Frame 21
stop();
Symbol 350 MovieClip Frame 1
stop();
stealth = true;
Instance of Symbol 345 MovieClip "area2" in Symbol 350 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.hero.herohit.hitTest(this)) {
_parent.gotoAndStop(2);
}
}
Symbol 350 MovieClip Frame 2
stealth = false;
Symbol 366 MovieClip Frame 2
stop();
Symbol 367 MovieClip Frame 1
stop();
Symbol 378 MovieClip Frame 2
_root.levelspotted++;
_root.spotted++;
Instance of Symbol 3 MovieClip [arrow] in Symbol 378 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.hero.herohit.hitTest(this)) {
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero.gotoAndStop(2);
}
}
Symbol 378 MovieClip Frame 60
_parent.gotoAndStop(1);
Symbol 379 MovieClip Frame 1
stop();
Instance of Symbol 389 MovieClip in Symbol 399 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.hero.herohit.hitTest(this)) {
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero.gotoAndStop(2);
}
}
Symbol 399 MovieClip Frame 12
_parent.gotoAndStop(1);
Symbol 400 MovieClip Frame 1
stop();
Symbol 409 MovieClip Frame 9
stop();
Symbol 421 MovieClip Frame 1
die = true;
Instance of Symbol 381 MovieClip in Symbol 421 MovieClip Frame 9
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 421 MovieClip Frame 12
stop();
Symbol 421 MovieClip Frame 13
die = true;
Symbol 432 MovieClip Frame 17
stop();
Symbol 449 MovieClip Frame 1
die = true;
Symbol 449 MovieClip Frame 12
stop();
Symbol 449 MovieClip Frame 13
die = true;
Symbol 461 MovieClip Frame 1
die = true;
Symbol 461 MovieClip Frame 13
stop();
Symbol 462 MovieClip Frame 1
stop();
Instance of Symbol 343 MovieClip "hit" in Symbol 462 MovieClip Frame 1
onClipEvent (load) {
_root.countenemy++;
}
onClipEvent (enterFrame) {
if (_parent.area.stealth == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.spikes.hitTest(this)) {
_root.kill++;
_root.levelkill++;
_parent.gotoAndStop(2);
}
if (_root.tr1.hit.hitTest(this)) {
_root.tr1.cap1.gotoAndPlay(2);
_root.tr1.cap2.gotoAndPlay(2);
_root.kill++;
_root.levelkill++;
_parent.gotoAndStop(5);
}
if (_root.tr2.hit.hitTest(this)) {
_root.tr2.cap1.gotoAndPlay(2);
_root.tr2.cap2.gotoAndPlay(2);
_root.kill++;
_root.levelkill++;
_parent.gotoAndStop(5);
}
if (_root.tr3.hit.hitTest(this)) {
_root.tr3.cap1.gotoAndPlay(2);
_root.tr3.cap2.gotoAndPlay(2);
_root.kill++;
_root.levelkill++;
_parent.gotoAndStop(5);
}
if (_root.light.mask.hitTest(this)) {
_root.skill++;
_root.levelkill++;
_root.levelskill++;
_parent.gotoAndStop(6);
}
}
Instance of Symbol 400 MovieClip "attack" in Symbol 462 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.herohit.hitTest(this)) {
this.gotoAndPlay(2);
}
}
Symbol 471 MovieClip Frame 46
stop();
Symbol 473 MovieClip Frame 115
stop();
Symbol 496 MovieClip Frame 1
stop();
Symbol 496 MovieClip Frame 2
_root.stage._visible = false;
_root.stage.gotoAndStop(1);
Symbol 496 MovieClip Frame 3
_root.stage._visible = false;
_root.stage.gotoAndStop(1);
Instance of Symbol 494 MovieClip in Symbol 496 MovieClip Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
stopAllSounds();
_root.continues++;
_root.gotoAndStop(33);
}
}
Symbol 496 MovieClip Frame 4
_root.stage._visible = false;
_root.stage.gotoAndStop(1);
Symbol 496 MovieClip Frame 5
_root.stage._visible = false;
_root.stage.gotoAndStop(1);
Symbol 496 MovieClip Frame 6
_root.stage._visible = false;
_root.stage.gotoAndStop(1);
Symbol 496 MovieClip Frame 7
_root.stage._visible = false;
_root.stage.gotoAndStop(1);
Symbol 496 MovieClip Frame 8
_root.stage._visible = false;
_root.stage.gotoAndStop(1);
Symbol 496 MovieClip Frame 9
_root.stage._visible = false;
_root.stage.gotoAndStop(1);
Symbol 496 MovieClip Frame 10
_root.stage._visible = false;
_root.stage.gotoAndStop(1);
Symbol 496 MovieClip Frame 11
_root.stage._visible = false;
_root.stage.gotoAndStop(1);
Symbol 496 MovieClip Frame 12
_root.stage._visible = false;
_root.stage.gotoAndStop(1);
Symbol 496 MovieClip Frame 13
_root.stage._visible = false;
_root.stage.gotoAndStop(1);
Symbol 496 MovieClip Frame 14
_root.stage._visible = false;
_root.stage.gotoAndStop(1);
Symbol 496 MovieClip Frame 15
_root.stage._visible = false;
_root.stage.gotoAndStop(1);
Symbol 496 MovieClip Frame 16
_root.stage._visible = false;
_root.stage.gotoAndStop(1);
Symbol 496 MovieClip Frame 17
_root.stage._visible = false;
_root.stage.gotoAndStop(1);
Symbol 496 MovieClip Frame 18
_root.stage._visible = false;
_root.stage.gotoAndStop(1);
Symbol 496 MovieClip Frame 19
_root.stage._visible = false;
_root.stage.gotoAndStop(1);
gotoAndPlay (16);
Symbol 509 MovieClip Frame 1
stop();
Symbol 509 MovieClip Frame 5
stop();
Symbol 511 MovieClip Frame 1
stop();
Symbol 511 MovieClip Frame 2
stop();
Instance of Symbol 509 MovieClip "rank" in Symbol 511 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.levelspotted >= 0) {
this.gotoAndStop(5);
}
if (_root.levelspotted >= 1) {
this.gotoAndStop(4);
}
if (_root.levelspotted >= 2) {
this.gotoAndStop(3);
}
if (_root.levelspotted >= 4) {
this.gotoAndStop(2);
}
if (_root.levelspotted >= 6) {
this.gotoAndStop(1);
}
}
Symbol 513 MovieClip Frame 18
_root.time_m++;
Symbol 517 Button
on (press) {
getURL ("http://www.freeonlinegames.com/?ninjarampage", "_blank");
}
Symbol 519 Button
on (press) {
gotoAndStop (5);
}
Symbol 532 MovieClip Frame 1
stop();
stealth = true;
_parent.legs.gotoAndStop(1);
Instance of Symbol 345 MovieClip "area2" in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.hero.herohit.hitTest(this)) {
_parent.gotoAndStop(2);
}
}
Symbol 532 MovieClip Frame 2
stealth = false;
_root.spotted++;
_root.levelspotted++;
Symbol 533 MovieClip Frame 1
stop();
Symbol 543 MovieClip Frame 1
stop();
Instance of Symbol 546 MovieClip in Symbol 550 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.hero.herohit.hitTest(this)) {
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero.gotoAndStop(2);
}
}
Symbol 550 MovieClip Frame 9
_parent.gotoAndStop(1);
Symbol 551 MovieClip Frame 1
stop();
Symbol 554 MovieClip Frame 19
stop();
Symbol 559 MovieClip Frame 1
die = true;
Instance of Symbol 541 MovieClip in Symbol 559 MovieClip Frame 9
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 559 MovieClip Frame 12
stop();
Symbol 570 MovieClip Frame 1
die = true;
Symbol 570 MovieClip Frame 17
stop();
Symbol 586 MovieClip Frame 1
die = true;
Symbol 586 MovieClip Frame 12
stop();
Symbol 586 MovieClip Frame 13
die = true;
Symbol 589 MovieClip Frame 1
die = true;
Symbol 589 MovieClip Frame 12
stop();
Symbol 590 MovieClip Frame 1
die = true;
Symbol 590 MovieClip Frame 2
_parent._y = _parent._y + 3;
Symbol 590 MovieClip Frame 3
_parent._y = _parent._y + 5;
Symbol 590 MovieClip Frame 4
_parent._y = _parent._y + 7;
Symbol 590 MovieClip Frame 5
_parent._y = _parent._y + 9;
Symbol 590 MovieClip Frame 6
_parent._y = _parent._y + 11;
Symbol 590 MovieClip Frame 7
_parent._y = _parent._y + 13;
Symbol 590 MovieClip Frame 8
_parent._y = _parent._y + 15;
Symbol 590 MovieClip Frame 9
_parent._y = _parent._y + 17;
Instance of Symbol 541 MovieClip in Symbol 590 MovieClip Frame 9
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 590 MovieClip Frame 10
_parent._y = _parent._y + 19;
Symbol 590 MovieClip Frame 11
_parent._y = _parent._y + 21;
Symbol 590 MovieClip Frame 12
_parent._y = _parent._y + 23;
Symbol 590 MovieClip Frame 13
_parent._y = _parent._y + 25;
Symbol 590 MovieClip Frame 14
_parent._y = _parent._y + 27;
Symbol 590 MovieClip Frame 15
_parent._y = _parent._y + 29;
stop();
Symbol 591 MovieClip Frame 1
stop();
Instance of Symbol 343 MovieClip "hit" in Symbol 591 MovieClip Frame 1
onClipEvent (load) {
_root.countenemy++;
}
onClipEvent (enterFrame) {
if (_parent.area.stealth == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.spikes.hitTest(this)) {
_root.kill++;
_root.levelkill++;
_parent.gotoAndStop(2);
}
if (_root.flydown.hitTest(this)) {
_root.kill++;
_root.levelkill++;
_parent.gotoAndStop(6);
}
if (_root.tr1.hit.hitTest(this)) {
_root.tr1.cap1.gotoAndPlay(2);
_root.tr1.cap2.gotoAndPlay(2);
_root.kill++;
_root.levelkill++;
_parent.gotoAndStop(5);
}
if (_root.tr2.hit.hitTest(this)) {
_root.tr2.cap1.gotoAndPlay(2);
_root.tr2.cap2.gotoAndPlay(2);
_root.kill++;
_root.levelkill++;
_parent.gotoAndStop(5);
}
if (_root.tr3.hit.hitTest(this)) {
_root.tr3.cap1.gotoAndPlay(2);
_root.tr3.cap2.gotoAndPlay(2);
_root.kill++;
_root.levelkill++;
_parent.gotoAndStop(5);
}
}
Instance of Symbol 551 MovieClip "attack" in Symbol 591 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.herohit.hitTest(this)) {
this.gotoAndPlay(2);
}
}
Symbol 596 MovieClip Frame 13
stop();
Symbol 598 MovieClip Frame 1
stop();
Instance of Symbol 596 MovieClip in Symbol 598 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent._parent.hit.gotoAndStop(2);
}
Symbol 598 MovieClip Frame 14
stop();
Instance of Symbol 597 MovieClip in Symbol 598 MovieClip Frame 14
onClipEvent (enterFrame) {
_parent._parent.hit.gotoAndStop(2);
}
Symbol 600 MovieClip Frame 1
stop();
Symbol 601 MovieClip Frame 1
stop();
Instance of Symbol 600 MovieClip "hit" in Symbol 601 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.herohit.hitTest(this)) {
_parent.cap1.gotoAndPlay(2);
_parent.cap2.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.hero.herohit.hitTest(this)) {
_root.hero.gotoAndStop(3);
_root.hero.jumping = false;
}
}
Instance of Symbol 211 MovieClip in Symbol 620 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.hero.herohit.hitTest(this)) {
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero.gotoAndStop(2);
}
}
Instance of Symbol 211 MovieClip in Symbol 620 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.hero.herohit.hitTest(this)) {
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero.gotoAndStop(2);
}
}
Instance of Symbol 211 MovieClip in Symbol 620 MovieClip Frame 20
onClipEvent (enterFrame) {
if (_root.hero.herohit.hitTest(this)) {
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero.gotoAndStop(2);
}
}
Instance of Symbol 211 MovieClip in Symbol 620 MovieClip Frame 30
onClipEvent (enterFrame) {
if (_root.hero.herohit.hitTest(this)) {
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero.gotoAndStop(2);
}
}
Symbol 620 MovieClip Frame 33
_parent.gotoAndStop(1);
Symbol 621 MovieClip Frame 1
stop();
Symbol 627 MovieClip Frame 1
die = true;
Instance of Symbol 614 MovieClip in Symbol 627 MovieClip Frame 9
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 627 MovieClip Frame 12
stop();
Symbol 627 MovieClip Frame 13
die = true;
Symbol 638 MovieClip Frame 17
stop();
Symbol 654 MovieClip Frame 1
die = true;
Instance of Symbol 211 MovieClip in Symbol 654 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if ((!_root.spear) == true) {
if (Key.isDown(40)) {
_root.spear = true;
this.gotoAndStop(2);
}
}
}
}
Symbol 654 MovieClip Frame 12
stop();
Symbol 654 MovieClip Frame 13
die = true;
Symbol 656 MovieClip Frame 1
die = true;
Symbol 656 MovieClip Frame 13
stop();
Symbol 661 MovieClip Frame 1
die = true;
Instance of Symbol 614 MovieClip in Symbol 661 MovieClip Frame 9
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 661 MovieClip Frame 12
stop();
Symbol 661 MovieClip Frame 13
die = true;
Symbol 662 MovieClip Frame 1
stop();
Instance of Symbol 343 MovieClip "hit" in Symbol 662 MovieClip Frame 1
onClipEvent (load) {
_root.countenemy++;
}
onClipEvent (enterFrame) {
if (_parent.area.stealth == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (_root.light.mask.hitTest(this)) {
_root.skill++;
_root.levelkill++;
_root.levelskill++;
_parent.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (_root.spikes.hitTest(this)) {
_root.kill++;
_root.levelkill++;
_parent.gotoAndStop(2);
}
if (_root.tr1.hit.hitTest(this)) {
_root.tr1.cap1.gotoAndPlay(2);
_root.tr1.cap2.gotoAndPlay(2);
_root.kill++;
_root.levelkill++;
_parent.gotoAndStop(5);
}
if (_root.tr2.hit.hitTest(this)) {
_root.tr2.cap1.gotoAndPlay(2);
_root.tr2.cap2.gotoAndPlay(2);
_root.kill++;
_root.levelkill++;
_parent.gotoAndStop(5);
}
if (_root.tr3.hit.hitTest(this)) {
_root.tr3.cap1.gotoAndPlay(2);
_root.tr3.cap2.gotoAndPlay(2);
_root.kill++;
_root.levelkill++;
_parent.gotoAndStop(5);
}
}
Instance of Symbol 621 MovieClip "attack" in Symbol 662 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.herohit.hitTest(this)) {
this.gotoAndPlay(2);
}
}
Symbol 696 MovieClip Frame 1
stop();
Symbol 696 MovieClip Frame 2
play();
Instance of Symbol 667 MovieClip "soundthing" in Symbol 696 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.hero.body.attack.sword.hitTest(this)) {
_parent.gotoAndPlay(2);
}
if (_root.hero.body.attack2.sword.hitTest(this)) {
_parent.gotoAndPlay(2);
}
if (_root.hero.body.attack3.hit.hitTest(this)) {
_parent.gotoAndPlay(2);
}
}
Symbol 700 MovieClip Frame 1
stop();
Symbol 700 MovieClip Frame 306
gotoAndPlay (2);
Symbol 713 MovieClip Frame 1
stop();
Symbol 717 MovieClip Frame 1
stop();
Symbol 726 MovieClip Frame 1
stop();
Symbol 726 MovieClip Frame 9
stop();
Symbol 729 MovieClip Frame 1
stop();
Instance of Symbol 729 MovieClip "something" in Symbol 735 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
_root.bridge.plank.gotoAndPlay(2);
_root.ground.gotoAndStop(2);
_root.bridge.mask.gotoAndStop(2);
_parent.gotoAndStop(51);
this.gotoAndStop(2);
}
}
Symbol 735 MovieClip Frame 50
gotoAndPlay (2);
Symbol 753 MovieClip Frame 7
stop();
Symbol 770 MovieClip Frame 30
stop();
Symbol 780 MovieClip Frame 1
stop();
Instance of Symbol 469 MovieClip in Symbol 780 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(6);
}
Instance of Symbol 741 MovieClip in Symbol 780 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.body.attack.sword.hitTest(this)) {
_parent.gotoAndPlay(2);
}
if (_root.hero.body.attack2.sword.hitTest(this)) {
_parent.gotoAndPlay(2);
}
if (_root.hero.body.attack3.hit.hitTest(this)) {
_parent.gotoAndPlay(2);
}
}
Instance of Symbol 770 MovieClip in Symbol 780 MovieClip Frame 8
onClipEvent (load) {
_root.enemy4.area.waiting.gotoAndStop(80);
_root.enemy4.whatthe.gotoAndPlay(2);
}
Symbol 780 MovieClip Frame 70
stop();
Symbol 831 MovieClip Frame 1
stop();
Instance of Symbol 469 MovieClip in Symbol 831 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(6);
}
Instance of Symbol 741 MovieClip in Symbol 831 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.body.attack.sword.hitTest(this)) {
_parent.gotoAndPlay(2);
}
if (_root.hero.body.attack2.sword.hitTest(this)) {
_parent.gotoAndPlay(2);
}
if (_root.hero.body.attack3.hit.hitTest(this)) {
_parent.gotoAndPlay(2);
}
}
Instance of Symbol 770 MovieClip in Symbol 831 MovieClip Frame 9
onClipEvent (load) {
_root.enemy4.area.waiting.gotoAndStop(80);
_root.enemy4.whatthe.gotoAndPlay(2);
}
Symbol 831 MovieClip Frame 70
stop();
Symbol 855 MovieClip Frame 1
stop();
stealth = true;
_parent.legs.gotoAndStop(1);
Instance of Symbol 345 MovieClip "area2" in Symbol 855 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.hero.herohit.hitTest(this)) {
_parent.gotoAndStop(2);
}
}
Symbol 855 MovieClip Frame 2
stealth = false;
_root.levelspotted++;
Instance of Symbol 860 MovieClip in Symbol 901 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.hero.herohit.hitTest(this)) {
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero.gotoAndStop(2);
}
}
Instance of Symbol 860 MovieClip in Symbol 901 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.hero.herohit.hitTest(this)) {
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero.gotoAndStop(2);
}
}
Instance of Symbol 860 MovieClip in Symbol 901 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_root.hero.herohit.hitTest(this)) {
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero.gotoAndStop(2);
}
}
Instance of Symbol 860 MovieClip in Symbol 901 MovieClip Frame 35
onClipEvent (enterFrame) {
if (_root.hero.herohit.hitTest(this)) {
_root.hero.goright = false;
_root.hero.goleft = false;
_root.hero.gotoAndStop(2);
}
}
Symbol 901 MovieClip Frame 40
_parent.gotoAndStop(1);
Symbol 902 MovieClip Frame 1
stop();
Instance of Symbol 860 MovieClip in Symbol 902 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.herohit.hitTest(this)) {
_parent.gotoAndPlay(2);
}
}
Symbol 909 MovieClip Frame 1
die = true;
Instance of Symbol 857 MovieClip in Symbol 909 MovieClip Frame 9
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 909 MovieClip Frame 12
stop();
Symbol 909 MovieClip Frame 13
die = true;
Symbol 920 MovieClip Frame 17
stop();
Symbol 936 MovieClip Frame 1
die = true;
Instance of Symbol 904 MovieClip in Symbol 936 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if ((!_root.spear) == true) {
if (Key.isDown(40)) {
_root.spear = true;
this.gotoAndStop(2);
}
}
}
}
Symbol 936 MovieClip Frame 12
stop();
Symbol 936 MovieClip Frame 13
die = true;
Symbol 937 MovieClip Frame 1
stop();
Instance of Symbol 343 MovieClip "hit" in Symbol 937 MovieClip Frame 1
onClipEvent (load) {
_root.countenemy++;
}
onClipEvent (enterFrame) {
if (_parent.area.stealth == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (_root.light.mask.hitTest(this)) {
_root.skill++;
_root.levelkill++;
_root.levelskill++;
_parent.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (_root.spikes.hitTest(this)) {
_root.kill++;
_root.levelkill++;
_parent.gotoAndStop(2);
}
if (_root.tr1.hit.hitTest(this)) {
_root.tr1.cap1.gotoAndPlay(2);
_root.tr1.cap2.gotoAndPlay(2);
_root.kill++;
_root.levelkill++;
_parent.gotoAndStop(5);
}
if (_root.tr2.hit.hitTest(this)) {
_root.tr2.cap1.gotoAndPlay(2);
_root.tr2.cap2.gotoAndPlay(2);
_root.kill++;
_root.levelkill++;
_parent.gotoAndStop(5);
}
if (_root.tr3.hit.hitTest(this)) {
_root.tr3.cap1.gotoAndPlay(2);
_root.tr3.cap2.gotoAndPlay(2);
_root.kill++;
_root.levelkill++;
_parent.gotoAndStop(5);
}
}
Instance of Symbol 902 MovieClip "attack" in Symbol 937 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.herohit.hitTest(this)) {
this.gotoAndPlay(2);
}
}
Symbol 937 MovieClip Frame 2
_root.time_s.gotoAndStop(1);
_root.blackend.gotoAndPlay(2);
Symbol 937 MovieClip Frame 3
_root.time_s.gotoAndStop(1);
_root.blackend.gotoAndPlay(2);
Symbol 937 MovieClip Frame 4
_root.time_s.gotoAndStop(1);
_root.blackend.gotoAndPlay(2);
Symbol 938 MovieClip Frame 1
stop();
Symbol 938 MovieClip Frame 51
stop();
_root.gotoAndStop(30);
Symbol 949 MovieClip Frame 1
stop();
Symbol 949 MovieClip Frame 2
stop();
Symbol 961 Button
on (press) {
sboard.dir = "up";
}
on (release) {
sboard.dir = "stop";
}
Symbol 962 Button
on (press) {
sboard.dir = "down";
}
on (release) {
sboard.dir = "stop";
}
Symbol 981 Button
on (press) {
_root.gotoAndStop(5);
}
Symbol 983 Button
on (release) {
if (_root.score <= 0) {
submit_but.enabled = false;
submit_but._alpha = 100;
} else {
var myVar = new LoadVars();
myVar.onLoad = function () {
getURL ("http://www.freeonlinegames.com/scoreboard.php?", "_blank");
};
myVar.score = _root.score;
myVar.gamer = 36;
myVar.id = random(9999999);
myVar.toString();
myVar.sendAndLoad("http://www.freeonlinegames.com/scoreboard/score_c.php", myVar, "POST");
submit_but.enabled = false;
submit_but._alpha = 20;
}
}