Frame 1
stop();
Frame 2
_root.points = 10;
_root.spoints = 1;
_root.plifee = 100;
_root.life = 100;
_root.lvl = 1;
_root.exp1 = 0;
_root.detect = 1;
Object.prototype.setCookie = function (c, n, v) {
var so = SharedObject.getLocal(c);
so.data[n] = v;
so.flush();
};
Object.prototype.getCookie = function (c, n) {
var so = SharedObject.getLocal(c);
return(so.data[n]);
};
play();
Instance of Symbol 190 MovieClip "engine" in Frame 2
onClipEvent (enterFrame) {
if (_root.points < 1) {
_root.points = 0;
tellTarget (_root.buttons) {
gotoAndPlay (3);
};
}
if (_root.points > 0) {
tellTarget (_root.buttons) {
gotoAndPlay (1);
};
}
if (_root.spoints < 1) {
_root.spoints = 0;
tellTarget (_root.buttons1) {
gotoAndPlay (3);
};
}
if (_root.spoints > 0) {
tellTarget (_root.buttons1) {
gotoAndPlay (1);
};
}
}
Frame 3
_root.def = 1;
checker = this.getCookie("lvl", "lvl");
if (checker < 1) {
_root.load._visible = false;
}
stop();
Frame 4
_root.speed = 5;
_root.espeed = 5;
_root.detect = 1;
_root.nenemy = 0;
_root.gone = 0;
_root.aenemy = 0;
_root.snenemy = 0;
_root.saenemy = 0;
_root.sgone = 0;
_root.die = 0;
_root.bappear = 0;
_root.sappear = 0;
Instance of Symbol 363 MovieClip "boss" in Frame 4
onClipEvent (load) {
hp = 500;
}
Instance of Symbol 609 MovieClip "player" in Frame 4
onClipEvent (load) {
gotoAndPlay (2);
}
onClipEvent (enterFrame) {
if (_x <= 0) {
_x = 0;
}
if (_root.bg._currentframe == 7) {
if (_y < 300) {
_y = (_y + 20);
}
}
if (_root.bg._currentframe == 6) {
if (_x >= 425) {
_x = 425;
if (_root.nenemy >= _root.numenemy) {
tellTarget (_root.lvlengine) {
_currentframe = (_currentframe + 2);
gotoAndPlay(_currentframe + 2);
};
_root.frame++;
tellTarget (_root.bg) {
nextFrame();
};
this.gotoAndPlay("jump");
if (_y < 260) {
_y = (_y + 10);
}
_y = -100;
_x = 25;
}
}
}
if (_x >= 550) {
_x = 550;
if (_root.nenemy >= _root.numenemy) {
_root.rice.gotoAndPlay(1);
if (_root.bg._currentframe != 4) {
tellTarget (_root.lvlengine) {
_currentframe = (_currentframe + 2);
gotoAndPlay(_currentframe + 2);
};
_root.nenemy = 0;
_root.sword.gotoAndStop(1);
_root.stick.gotoAndStop(1);
_root.star.gotoAndStop(1);
_root.claws.gotoAndStop(1);
tellTarget (_root.engine) {
gotoAndPlay (1);
};
_root.frame++;
tellTarget (_root.bg) {
nextFrame();
};
_x = 25;
}
}
}
if (_root.frame == 1) {
if (_x <= 25) {
_x = 25;
}
}
}
Instance of Symbol 177 MovieClip [ninstar] "ninstar" in Frame 4
onClipEvent (load) {
if (_root.gone < 1) {
_x = 1000;
gotoAndPlay (2);
}
dir = _root.speed * 6;
_y = (_root.player._y - 5);
if (_root.speed > 0) {
_x = (_root.player._x + 50);
}
if (_root.speed < 0) {
_x = (_root.player._x - 50);
}
}
onClipEvent (enterFrame) {
_x = (_x + dir);
i++;
}
Instance of Symbol 175 MovieClip [enemy1] "enemy1" in Frame 4
onClipEvent (load) {
function reset() {
hp = 100;
gotoAndPlay (2);
_y = _root.player._y;
}
_x = _root.loca;
if (_root.gone < 1) {
_x = 1000;
_y = 1000;
}
_root.gone++;
reset();
}
onClipEvent (enterFrame) {
if (_root.player._x >= 550) {
if (_root.nenemy >= _root.numenemy) {
this.removeMovieClip();
}
}
if (_root.plifee <= 0) {
this.removeMovieClip();
}
if (_root.rope == 1) {
this.removeMovieClip();
}
if (_x <= -100) {
hp = 100;
reset();
}
if (_x >= 650) {
_x = 649;
}
}
Instance of Symbol 190 MovieClip "engine" in Frame 4
onClipEvent (enterFrame) {
if (_root.points < 1) {
_root.points = 0;
tellTarget (_root.buttons) {
gotoAndPlay (3);
};
}
if (_root.points > 0) {
tellTarget (_root.buttons) {
gotoAndPlay (1);
};
}
if (_root.spoints < 1) {
_root.spoints = 0;
tellTarget (_root.buttons1) {
gotoAndPlay (3);
};
}
if (_root.spoints > 0) {
tellTarget (_root.buttons1) {
gotoAndPlay (1);
};
}
}
Instance of Symbol 621 MovieClip "lvlengine" in Frame 4
onClipEvent (load) {
_currentframe == _root.lvle;
}
Instance of Symbol 43 MovieClip [enemy2] "enemy2" in Frame 4
onClipEvent (load) {
function sreset() {
hp = 100;
gotoAndPlay (2);
_y = _root.player._y;
}
if (_root.player._x >= 550) {
if (_root.snenemy >= _root.snumenemy) {
this.removeMovieClip();
}
}
_x = _root.loca;
if (_root.sgone < 1) {
_x = 1000;
_y = 1000;
}
sreset();
_root.sgone++;
}
onClipEvent (enterFrame) {
if (_root.player._x >= 550) {
if (_root.snenemy >= _root.snumenemy) {
if (hp <= 0) {
this.removeMovieClip();
}
}
}
if (_root.rope == 1) {
this.removeMovieClip();
}
if (_root.plifee <= 0) {
this.removeMovieClip();
}
if (_x <= -100) {
hp = 100;
sreset();
}
if (_x >= 650) {
_x = 649;
}
}
Frame 6
gotoAndPlay (5);
Frame 7
stop();
Frame 8
stopAllSounds();
_root.message = ("Your level " + _root.lvl) + " ninja has been slain";
stop();
Frame 9
_root.gone = 0;
_root.speed = 5;
stop();
Instance of Symbol 609 MovieClip "player" in Frame 9
onClipEvent (load) {
gotoAndPlay (9);
}
onClipEvent (enterFrame) {
if (_x >= 550) {
_x = 550;
if (_root.nenemy >= _root.numenemy) {
tellTarget (_root.lvlengine) {
_currentframe = (_currentframe + 2);
gotoAndPlay(_currentframe + 2);
};
_root.nenemy = 0;
_root.sword.gotoAndStop(1);
tellTarget (_root.engine) {
gotoAndPlay (1);
};
_root.frame++;
tellTarget (_root.bg) {
nextFrame();
};
_x = 25;
}
}
if (_root.frame > 1) {
if (_x <= 24) {
_x = 24;
if (_root.nenemy >= _root.numenemy) {
_root.frame--;
tellTarget (_root.bg) {
prevFrame();
};
_x = 540;
}
}
}
if (_root.frame == 1) {
if (_x <= 25) {
_x = 25;
}
}
}
Instance of Symbol 177 MovieClip [ninstar] "ninstar" in Frame 9
onClipEvent (load) {
if (_root.gone < 1) {
_x = 1000;
gotoAndPlay (9);
}
dir = _root.speed * 6;
_y = (_root.player._y - 5);
if (_root.speed > 0) {
_x = (_root.player._x + 50);
}
if (_root.speed < 0) {
_x = (_root.player._x - 50);
}
}
onClipEvent (enterFrame) {
_x = (_x + dir);
}
Symbol 5 MovieClip [slife] Frame 1
stop();
Symbol 5 MovieClip [slife] Frame 101
gotoAndStop (1);
Symbol 9 MovieClip [elife] Frame 1
stop();
Symbol 9 MovieClip [elife] Frame 101
gotoAndStop (1);
Symbol 43 MovieClip [enemy2] Frame 1
if (_root.sgone <= 1) {
_x = 1000;
_y = 1000;
}
smove = random(20);
if (smove == 10) {
gotoAndPlay (4);
}
if (_root.sgone <= 1) {
gotoAndPlay (54);
}
Symbol 43 MovieClip [enemy2] Frame 2
smove = random(20);
if (smove == 10) {
gotoAndPlay (4);
}
Symbol 43 MovieClip [enemy2] Frame 3
gotoAndPlay (2);
Symbol 43 MovieClip [enemy2] Frame 4
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (16);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 43 MovieClip [enemy2] Frame 5
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 43 MovieClip [enemy2] Frame 6
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 43 MovieClip [enemy2] Frame 7
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 43 MovieClip [enemy2] Frame 8
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 43 MovieClip [enemy2] Frame 9
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 43 MovieClip [enemy2] Frame 10
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 43 MovieClip [enemy2] Frame 11
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 43 MovieClip [enemy2] Frame 12
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 43 MovieClip [enemy2] Frame 13
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 43 MovieClip [enemy2] Frame 14
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 43 MovieClip [enemy2] Frame 15
if (_x < (_root.player._x - 10)) {
gotoAndPlay (1);
} else if (_x > (_root.player._x + 10)) {
gotoAndPlay (1);
} else {
gotoAndPlay (1);
}
Symbol 43 MovieClip [enemy2] Frame 21
if (_root.detect <= 1) {
_root.plifee = _root.plifee - Math.round(((2 + _root.lvle) * _root.def) / 2);
}
Symbol 43 MovieClip [enemy2] Frame 22
if (_root.detect <= 1) {
_root.plifee = _root.plifee - Math.round(((2 + _root.lvle) * _root.def) / 2);
}
Symbol 43 MovieClip [enemy2] Frame 23
if (_root.detect <= 1) {
_root.plifee = _root.plifee - Math.round(((2 + _root.lvle) * _root.def) / 2);
}
Symbol 43 MovieClip [enemy2] Frame 24
if (_root.detect <= 1) {
_root.plifee = _root.plifee - Math.round(((2 + _root.lvle) * _root.def) / 2);
}
Symbol 43 MovieClip [enemy2] Frame 25
if (_root.detect <= 1) {
_root.plifee = _root.plifee - Math.round(((2 + _root.lvle) * _root.def) / 2);
}
Symbol 43 MovieClip [enemy2] Frame 26
if (_root.detect <= 1) {
_root.plifee = _root.plifee - Math.round(((2 + _root.lvle) * _root.def) / 2);
}
Symbol 43 MovieClip [enemy2] Frame 27
if (_root.detect <= 1) {
_root.plifee = _root.plifee - Math.round(((2 + _root.lvle) * _root.def) / 2);
}
Symbol 43 MovieClip [enemy2] Frame 28
if (_root.detect <= 1) {
_root.plifee = _root.plifee - Math.round(((2 + _root.lvle) * _root.def) / 2);
}
Symbol 43 MovieClip [enemy2] Frame 29
if (_root.detect <= 1) {
_root.plifee = _root.plifee - Math.round(((2 + _root.lvle) * _root.def) / 2);
}
Symbol 43 MovieClip [enemy2] Frame 33
gotoAndPlay (1);
Symbol 43 MovieClip [enemy2] Frame 36
hp = hp - _root.power;
_root.hit = 1;
if (hp <= 0) {
gotoAndPlay (45);
}
Symbol 43 MovieClip [enemy2] Frame 44
gotoAndPlay (1);
Symbol 43 MovieClip [enemy2] Frame 45
_root.hit = 2;
_alpha = (_alpha - 5);
Symbol 43 MovieClip [enemy2] Frame 46
_alpha = (_alpha - 5);
Symbol 43 MovieClip [enemy2] Frame 47
_alpha = (_alpha - 5);
Symbol 43 MovieClip [enemy2] Frame 48
_alpha = (_alpha - 5);
Symbol 43 MovieClip [enemy2] Frame 49
_alpha = (_alpha - 5);
Symbol 43 MovieClip [enemy2] Frame 50
_alpha = (_alpha - 5);
Symbol 43 MovieClip [enemy2] Frame 51
_alpha = (_alpha - 5);
Symbol 43 MovieClip [enemy2] Frame 52
iitem = random(2);
if (iitem == 1) {
if (_root.tappear <= 1) {
_root.star._x = _x;
_root.star._y = 340;
_root.star.gotoAndPlay(2);
}
}
if (iitem == 0) {
if (_root.bappear <= 1) {
_root.stick._x = _x;
_root.stick._y = 340;
_root.stick.gotoAndPlay(2);
}
}
_root.exp1 = _root.exp1 + 75;
tellTarget (_root.expbar) {
gotoAndStop(_currentframe + Math.round(100 / _root.xp));
};
loc = random(5);
if (loc == 2) {
_root.loca = -50;
}
if (loc == 3) {
_root.loca = 600;
}
_alpha = (_alpha - 5);
Symbol 43 MovieClip [enemy2] Frame 53
_root.aenemy--;
stop();
_alpha = (_alpha - 5);
Symbol 43 MovieClip [enemy2] Frame 55
stop();
_x = 1000;
this.removeMovieClip();
Symbol 56 MovieClip [claws] Frame 1
_root.cappear = 1;
stop();
Symbol 56 MovieClip [claws] Frame 2
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
_root.cappear = 2;
Symbol 56 MovieClip [claws] Frame 3
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 4
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 5
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 6
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 7
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 8
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 9
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 10
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 11
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 12
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 13
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 14
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 15
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 16
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 17
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 18
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 19
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 20
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 21
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 22
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 23
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 24
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 56 MovieClip [claws] Frame 25
gotoAndPlay (2);
Symbol 56 MovieClip [claws] Frame 26
cilvl = random(_root.clvl + 5);
_root.csavedlvl = _root.clvl;
Symbol 56 MovieClip [claws] Frame 27
if (hitTest(_root.player)) {
if (Key.isDown(67)) {
gotoAndPlay (29);
}
}
if (cilvl < 1) {
gotoAndPlay (26);
}
dos++;
if (dos > 200) {
gotoAndStop (1);
dos = 0;
}
Symbol 56 MovieClip [claws] Frame 28
gotoAndPlay (27);
Symbol 56 MovieClip [claws] Frame 29
_root.clvl = cilvl;
_root.statsskills.shand = _root.statsskills.shand - _root.csavedlvl;
_root.statsskills.shand = _root.statsskills.shand + _root.clvl;
Symbol 56 MovieClip [claws] Frame 30
gotoAndStop (1);
Symbol 69 MovieClip [star] Frame 1
_root.tappear = 1;
stop();
Symbol 69 MovieClip [star] Frame 2
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
_root.tappear = 2;
Symbol 69 MovieClip [star] Frame 3
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
Symbol 69 MovieClip [star] Frame 4
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
Symbol 69 MovieClip [star] Frame 5
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
Symbol 69 MovieClip [star] Frame 6
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
Symbol 69 MovieClip [star] Frame 7
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
Symbol 69 MovieClip [star] Frame 8
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
Symbol 69 MovieClip [star] Frame 9
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
Symbol 69 MovieClip [star] Frame 10
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
Symbol 69 MovieClip [star] Frame 11
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
Symbol 69 MovieClip [star] Frame 12
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
Symbol 69 MovieClip [star] Frame 13
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
Symbol 69 MovieClip [star] Frame 14
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
Symbol 69 MovieClip [star] Frame 15
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
Symbol 69 MovieClip [star] Frame 16
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
Symbol 69 MovieClip [star] Frame 17
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
Symbol 69 MovieClip [star] Frame 18
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
Symbol 69 MovieClip [star] Frame 19
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
Symbol 69 MovieClip [star] Frame 20
if (hitTest(_root.player)) {
gotoAndPlay (1);
}
Symbol 69 MovieClip [star] Frame 21
gotoAndPlay (2);
Symbol 69 MovieClip [star] Frame 22
tilvl = random(_root.tlvl + 5);
_root.tsavedlvl = _root.tlvl;
Symbol 69 MovieClip [star] Frame 23
if (hitTest(_root.player)) {
if (Key.isDown(67)) {
gotoAndPlay (25);
}
}
if (tilvl < 1) {
gotoAndPlay (22);
}
das++;
if (das > 200) {
gotoAndStop (1);
das = 0;
}
Symbol 69 MovieClip [star] Frame 24
gotoAndPlay (23);
Symbol 69 MovieClip [star] Frame 25
_root.tlvl = tilvl;
_root.statsskills.sstar = _root.statsskills.sstar - _root.tsavedlvl;
_root.statsskills.sstar = _root.statsskills.sstar + _root.tlvl;
Symbol 69 MovieClip [star] Frame 26
gotoAndStop (1);
Symbol 81 MovieClip [stick] Frame 1
_root.bappear = 1;
stop();
Symbol 81 MovieClip [stick] Frame 2
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
_root.bappear = 2;
Symbol 81 MovieClip [stick] Frame 3
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 4
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 5
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 6
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 7
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 8
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 9
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 10
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 11
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 12
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 13
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 14
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 15
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 16
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 17
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 18
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 19
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 20
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 21
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 22
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 23
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 24
if (hitTest(_root.player)) {
gotoAndPlay (26);
}
Symbol 81 MovieClip [stick] Frame 25
gotoAndPlay (2);
Symbol 81 MovieClip [stick] Frame 26
bilvl = random(_root.blvl + 5);
_root.bsavedlvl = _root.blvl;
Symbol 81 MovieClip [stick] Frame 27
if (hitTest(_root.player)) {
if (Key.isDown(67)) {
gotoAndPlay (29);
}
}
if (bilvl < 1) {
gotoAndPlay (26);
}
des++;
if (des > 200) {
gotoAndStop (1);
des = 0;
}
Symbol 81 MovieClip [stick] Frame 28
gotoAndPlay (27);
Symbol 81 MovieClip [stick] Frame 29
_root.blvl = bilvl;
_root.statsskills.sstick = _root.statsskills.sstick - _root.bsavedlvl;
_root.statsskills.sstick = _root.statsskills.sstick + _root.blvl;
Symbol 81 MovieClip [stick] Frame 30
gotoAndStop (1);
Symbol 98 MovieClip [sword] Frame 1
_root.appear = 1;
stop();
Symbol 98 MovieClip [sword] Frame 2
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
_root.appear = 2;
Symbol 98 MovieClip [sword] Frame 3
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 4
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 5
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 6
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 7
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 8
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 9
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 10
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 11
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 12
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 13
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 14
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 15
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 16
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 17
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 18
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 19
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 20
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 21
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 22
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 23
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 24
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 25
if (hitTest(_root.player)) {
gotoAndPlay (27);
}
Symbol 98 MovieClip [sword] Frame 26
gotoAndPlay (2);
Symbol 98 MovieClip [sword] Frame 27
ilvl = random(_root.slvl + 5);
_root.savedlvl = _root.slvl;
Symbol 98 MovieClip [sword] Frame 28
if (hitTest(_root.player)) {
if (Key.isDown(67)) {
gotoAndPlay (30);
}
}
if (ilvl < 1) {
gotoAndPlay (27);
}
dis++;
if (dis > 200) {
gotoAndStop (1);
dis = 0;
}
Symbol 98 MovieClip [sword] Frame 29
gotoAndPlay (28);
Symbol 98 MovieClip [sword] Frame 30
_root.slvl = ilvl;
_root.statsskills.ssword = _root.statsskills.ssword - _root.savedlvl;
_root.statsskills.ssword = _root.statsskills.ssword + _root.slvl;
Symbol 98 MovieClip [sword] Frame 31
gotoAndStop (1);
Symbol 129 MovieClip [bdeath] Frame 1
_alpha = (_alpha-1);
if (_root.gone > 1) {
_root.hit = 2;
_root.nenemy++;
} else {
_x = 1000;
gotoAndStop (30);
}
Symbol 129 MovieClip [bdeath] Frame 2
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 3
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 4
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 5
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 6
_alpha = (_alpha-1);
if (_root.gone > 1) {
item = random(2);
if (item == 1) {
if (_root.cappear <= 1) {
_root.claws._x = _parent._x;
_root.claws._y = 340;
_root.claws.gotoAndPlay(2);
}
}
if (item == 0) {
if (_root.appear <= 1) {
_root.sword._x = _parent._x;
_root.sword._y = 340;
_root.sword.gotoAndPlay(2);
}
}
}
Symbol 129 MovieClip [bdeath] Frame 7
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 8
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 9
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 10
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 11
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 12
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 13
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 14
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 15
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 16
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 17
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 18
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 19
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 20
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 21
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 22
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 23
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 24
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 25
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 26
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 27
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 28
_alpha = (_alpha-1);
Symbol 129 MovieClip [bdeath] Frame 29
_alpha = (_alpha-1);
if (_root.gone > 1) {
_root.aenemy--;
_root.exp1 = _root.exp1 + 50;
tellTarget (_root.expbar) {
gotoAndStop(_currentframe + Math.round(100 / _root.xp));
};
loc = random(5);
if (loc == 2) {
_root.loca = -50;
}
if (loc == 3) {
_root.loca = 600;
}
stop();
} else {
play();
}
Symbol 129 MovieClip [bdeath] Frame 30
_alpha = (_alpha-1);
stop();
_root.hit = 1;
Symbol 175 MovieClip [enemy1] Frame 1
if (_root.gone <= 1) {
_x = 1000;
gotoAndPlay (50);
}
move = random(20);
if (move == 10) {
gotoAndPlay (13);
}
if (_root.gone <= 1) {
gotoAndPlay (50);
}
Symbol 175 MovieClip [enemy1] Frame 2
move = random(20);
if (move == 10) {
gotoAndPlay (13);
}
Symbol 175 MovieClip [enemy1] Frame 3
move = random(20);
if (move == 10) {
gotoAndPlay (13);
}
Symbol 175 MovieClip [enemy1] Frame 4
move = random(20);
if (move == 10) {
gotoAndPlay (13);
}
Symbol 175 MovieClip [enemy1] Frame 5
move = random(20);
if (move == 10) {
gotoAndPlay (13);
}
Symbol 175 MovieClip [enemy1] Frame 6
move = random(20);
if (move == 10) {
gotoAndPlay (13);
}
Symbol 175 MovieClip [enemy1] Frame 7
move = random(20);
if (move == 10) {
gotoAndPlay (13);
}
Symbol 175 MovieClip [enemy1] Frame 8
move = random(20);
if (move == 10) {
gotoAndPlay (13);
}
Symbol 175 MovieClip [enemy1] Frame 9
move = random(20);
if (move == 10) {
gotoAndPlay (13);
}
Symbol 175 MovieClip [enemy1] Frame 10
move = random(20);
if (move == 10) {
gotoAndPlay (13);
}
Symbol 175 MovieClip [enemy1] Frame 11
move = random(20);
if (move == 10) {
gotoAndPlay (13);
}
Symbol 175 MovieClip [enemy1] Frame 12
gotoAndPlay (1);
Symbol 175 MovieClip [enemy1] Frame 13
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (29);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 175 MovieClip [enemy1] Frame 14
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (29);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 175 MovieClip [enemy1] Frame 15
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (29);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 175 MovieClip [enemy1] Frame 16
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (29);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 175 MovieClip [enemy1] Frame 17
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (29);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 175 MovieClip [enemy1] Frame 18
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (29);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 175 MovieClip [enemy1] Frame 19
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (29);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 175 MovieClip [enemy1] Frame 20
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (29);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 175 MovieClip [enemy1] Frame 21
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (29);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 175 MovieClip [enemy1] Frame 22
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (29);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 175 MovieClip [enemy1] Frame 23
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (29);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 175 MovieClip [enemy1] Frame 24
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (29);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 175 MovieClip [enemy1] Frame 25
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (29);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 175 MovieClip [enemy1] Frame 26
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (29);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 175 MovieClip [enemy1] Frame 27
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (hitTest(_root.player)) {
gotoAndPlay (29);
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.espeed = _root.espeed * -1;
}
}
if (_root.aenemy <= 0) {
_root.aenemy++;
}
Symbol 175 MovieClip [enemy1] Frame 28
if (_x < (_root.player._x - 10)) {
gotoAndPlay (13);
} else if (_x > (_root.player._x + 10)) {
gotoAndPlay (13);
} else {
gotoAndPlay (1);
}
Symbol 175 MovieClip [enemy1] Frame 36
if (_root.detect <= 1) {
_root.plifee = _root.plifee - Math.round(((5 + _root.lvle) * _root.def) / 2);
}
Symbol 175 MovieClip [enemy1] Frame 38
if (hitTest(_root.player)) {
gotoAndPlay (29);
} else {
gotoAndPlay (1);
}
Symbol 175 MovieClip [enemy1] Frame 39
hp = hp - _root.power;
_root.hit = 1;
if (hp <= 0) {
gotoAndPlay (50);
}
Symbol 175 MovieClip [enemy1] Frame 47
Symbol 175 MovieClip [enemy1] Frame 48
if (_root.gone <= 1) {
_x = 1000;
gotoAndPlay (50);
}
back = random(20);
if (hitTest(_root.player)) {
if (_x > _root.player._x) {
_x = (_x + 5);
}
if (_x < _root.player._x) {
_x = (_x - 5);
}
}
if (back == 1) {
gotoAndPlay (1);
}
Symbol 175 MovieClip [enemy1] Frame 49
gotoAndPlay (48);
Symbol 175 MovieClip [enemy1] Frame 50
_root.hit = 2;
Symbol 175 MovieClip [enemy1] Frame 51
if (_root.player._x >= 550) {
reset();
}
stop();
Symbol 177 MovieClip [ninstar] Frame 1
if (_root.gone < 1) {
_x = 1000;
gotoAndPlay (3);
}
for (name in _root) {
if (hitTest(_root[name].hit)) {
_root.power = Math.round((_root.statsskills.dex * _root.statsskills.sstar) / (random(_root.statsskills.dex * _root.statsskills.sstar) + 1));
_root[name].elife.gotoAndStop(_root[name].elife._currentframe + _root.power);
_root[name].elife1.gotoAndStop(_root[name].elife1._currentframe + _root.power);
_root[name].gotoAndPlay("hit");
this.removeMovieClip();
}
}
if (_x >= 550) {
this.removeMovieClip();
}
if (_x <= 0) {
this.removeMovieClip();
}
_rotation = (_rotation + 30);
i++;
Symbol 177 MovieClip [ninstar] Frame 2
gotoAndPlay (1);
Symbol 177 MovieClip [ninstar] Frame 3
stop();
Symbol 185 Button
on (release) {
_root.play();
}
Symbol 187 MovieClip Frame 1
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop (3);
}
Symbol 187 MovieClip Frame 2
gotoAndPlay (1);
Symbol 187 MovieClip Frame 3
stop();
Symbol 190 MovieClip Frame 1
if (_root.exp1 > _root.limit) {
_root.life = _root.life + _root.lvl;
_root.plifee = _root.life;
_root.exp1 = 0;
_root.lvl++;
_root.limit = _root.limit + 100;
_root.points = _root.points + 5;
_root.spoints = _root.spoints + 1;
_root.expbar.gotoAndStop(1);
_root.lvlup.gotoAndPlay(2);
}
if (_root.plifee <= 0) {
tellTarget (_root.player) {
gotoAndPlay ("die");
};
gotoAndStop (3);
}
_root.plife._xscale = _root.plifee;
_root.lout._xscale = _root.life;
if (_root.aenemy <= 0) {
_root.go.play();
} else {
_root.go.gotoAndStop(1);
}
if (_root.points > 0) {
_root.begin._visible = false;
} else if (_root.spoints > 0) {
_root.begin._visible = false;
} else {
_root.begin._visible = true;
}
_root.xp = Math.round(_root.limit / 50);
_root.cframe = _root.expbar._currentframe;
_root.bg.gotoAndStop(_root.frame);
_root.fg.gotoAndStop(_root.frame);
i++;
Symbol 190 MovieClip Frame 2
gotoAndPlay (1);
Symbol 199 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 1
stop();
Symbol 213 Button
on (release) {
gotoAndStop (3);
_root.buttons._visible = true;
}
Symbol 219 Button
on (release) {
gotoAndStop (4);
_root.buttons1._visible = true;
}
Symbol 220 Button
on (release) {
gotoAndStop (2);
_root.buttons._visible = false;
}
Symbol 231 Button
on (release) {
gotoAndStop (2);
_root.buttons1._visible = false;
}
Symbol 241 MovieClip Frame 1
_root.buttons._visible = false;
_root.buttons1._visible = false;
Symbol 241 MovieClip Frame 2
stop();
Symbol 241 MovieClip Frame 3
stop();
Symbol 241 MovieClip Frame 4
stop();
Symbol 243 Button
on (release) {
_root.statsskills.strength++;
_root.points--;
}
Symbol 245 Button
on (release) {
_root.statsskills.dex++;
_root.points--;
}
Symbol 247 Button
on (release) {
_root.def = _root.def - 0.02;
_root.statsskills.defense++;
_root.points--;
}
Symbol 249 Button
on (release) {
_root.plifee = _root.plifee + 1;
_root.life = _root.life + 1;
_root.statsskills.health++;
_root.points--;
}
Symbol 251 Button
on (release) {
_root.statsskills.strength++;
_root.points--;
}
Symbol 252 Button
on (release) {
_root.def = _root.def - 0.01;
_root.statsskills.defense++;
_root.points--;
}
Symbol 253 Button
on (release) {
_root.statsskills.health++;
_root.points--;
}
Symbol 258 MovieClip Frame 1
stop();
Symbol 258 MovieClip Frame 2
stop();
Symbol 258 MovieClip Frame 3
stop();
Symbol 259 Button
on (release) {
_root.statsskills.ssword++;
_root.spoints--;
}
Symbol 260 Button
on (release) {
_root.statsskills.sstar++;
_root.spoints--;
}
Symbol 261 Button
on (release) {
_root.statsskills.sstick++;
_root.spoints--;
}
Symbol 262 Button
on (release) {
_root.statsskills.shand++;
_root.spoints--;
}
Symbol 263 Button
on (release) {
_root.statsskills.sfoot++;
_root.spoints--;
}
Symbol 264 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 2
stop();
Symbol 264 MovieClip Frame 3
stop();
Symbol 270 Button
on (release) {
_root.loader = 1;
_root.lvl = this.getCookie("lvl", "lvl");
_root.points = this.getCookie("stat", "stat");
_root.spoints = this.getCookie("skill", "skill");
_root.statsskills.strength = this.getCookie("strength", "strength");
_root.statsskills.dex = this.getCookie("dex", "dex");
_root.statsskills.health = this.getCookie("health", "health");
_root.statsskills.defense = this.getCookie("defense", "defense");
_root.statsskills.sstar = this.getCookie("star", "star");
_root.statsskills.ssword = this.getCookie("sword", "sword");
_root.statsskills.sstick = this.getCookie("stick", "stick");
_root.statsskills.shand = this.getCookie("hand", "hand");
_root.exp1 = this.getCookie("exp", "exp");
_root.limit = this.getCookie("limit", "limit");
_root.cframe = this.getCookie("frame", "frame");
_root.plifee = this.getCookie("plifee", "plifee");
_root.lout._xscale = this.getCookie("lout", "lout");
_root.life = this.getCookie("life", "life");
_root.aenemy = this.getCookie("aenemy", "aenemy");
_root.xp = this.getCookie("xp", "xp");
_root.slvl = this.getCookie("slvl", "slvl");
_root.tlvl = this.getCookie("tlvl", "tlvl");
_root.clvl = this.getCookie("clvl", "clvl");
_root.blvl = this.getCookie("blvl", "blvl");
_root.frame = this.getCookie("framee", "framee");
_root.lvle = this.getCookie("elvl", "elvl");
_root.plife._xscale = this.getCookie("plife", "plife");
_root.gone = this.getCookie("gone", "gone");
_root.sgone = this.getCookie("sgone", "sgone");
_root.nenemy = this.getCookie("nenemy", "nenemy");
_root.numenemy = this.getCookie("numenemy", "numenemy");
_root.aaenemy = this.getCookie("aaenemy", "aaenemy");
if (_root.lvle <= 11) {
_root.bossgo = 0;
}
_root.expbar.gotoAndStop(_root.cframe);
stopAllSounds();
gotoAndPlay (4);
}
Symbol 274 Button
on (release) {
gotoAndPlay (9);
}
Symbol 282 Button
on (release) {
weaponee = random(4);
if (weaponee == 1) {
_root.weapone = "claw";
}
if (weaponee == 2) {
_root.weapone = "sword";
}
if (weaponee == 3) {
_root.weapone = "bo";
}
if (weaponee == 0) {
_root.weapone = "star";
}
_root.frame = 1;
_root.limit = 100;
_root.aenemy = 3;
_root.slvl = 1;
play();
stopAllSounds();
}
Symbol 293 MovieClip Frame 1
_root.rope = 0;
stop();
_root.lvlengine.gotoAndPlay("lvl1");
tellTarget (_root.fg) {
gotoAndPlay (1);
};
Symbol 293 MovieClip Frame 2
stop();
_root.lvlengine.gotoAndPlay("lvl2");
tellTarget (_root.fg) {
gotoAndPlay (2);
};
Symbol 293 MovieClip Frame 3
stop();
_root.lvlengine.gotoAndPlay("lvl3");
tellTarget (_root.fg) {
gotoAndPlay (3);
};
Symbol 293 MovieClip Frame 4
stop();
_root.lvlengine.gotoAndPlay("lvl4");
tellTarget (_root.fg) {
gotoAndPlay (4);
};
Instance of Symbol 289 MovieClip in Symbol 293 MovieClip Frame 4
onClipEvent (enterFrame) {
if (hitTest(_root.player)) {
if (_root.nenemy >= _root.numenemy) {
_root.rope = 1;
if (Key.isDown(38)) {
_root.rope = 1;
tellTarget (_root.lvlengine) {
_currentframe = (_currentframe + 2);
gotoAndPlay(_currentframe + 2);
};
_root.nenemy = 0;
_root.sword.gotoAndStop(1);
_root.stick.gotoAndStop(1);
_root.star.gotoAndStop(1);
_root.claws.gotoAndStop(1);
tellTarget (_root.engine) {
gotoAndPlay (1);
};
_root.frame++;
tellTarget (_root.bg) {
nextFrame();
};
_root.player._x = 70;
}
}
}
}
Symbol 293 MovieClip Frame 5
_root.rope = 0;
stop();
_root.lvlengine.gotoAndPlay("lvl5");
tellTarget (_root.fg) {
gotoAndPlay (5);
};
Symbol 293 MovieClip Frame 6
stop();
_root.lvlengine.gotoAndPlay("lvl6");
tellTarget (_root.fg) {
gotoAndPlay (6);
};
Symbol 293 MovieClip Frame 7
_root.gone = 0;
stop();
_root.lvlengine.gotoAndPlay("lvl7");
tellTarget (_root.fg) {
gotoAndPlay (7);
};
Symbol 296 Button
on (release) {
this.setCookie("lvl", "lvl", _root.lvl);
this.setCookie("stat", "stat", _root.points);
this.setCookie("skill", "skill", _root.spoints);
this.setCookie("strength", "strength", _root.statsskills.strength);
this.setCookie("dex", "dex", _root.statsskills.dex);
this.setCookie("health", "health", _root.statsskills.health);
this.setCookie("defense", "defense", _root.statsskills.defense);
this.setCookie("star", "star", _root.statsskills.sstar);
this.setCookie("sword", "sword", _root.statsskills.ssword);
this.setCookie("stick", "stick", _root.statsskills.sstick);
this.setCookie("hand", "hand", _root.statsskills.shand);
this.setCookie("exp", "exp", _root.exp1);
this.setCookie("limit", "limit", _root.limit);
this.setCookie("frame", "frame", _root.cframe);
this.setCookie("plifee", "plifee", _root.plifee);
this.setCookie("lout", "lout", _root.lout._xscale);
this.setCookie("life", "life", _root.life);
this.setCookie("aenemy", "aenemy", _root.aenemy);
this.setCookie("xp", "xp", _root.xp);
this.setCookie("plife", "plife", _root.plife._xscale);
this.setCookie("framee", "framee", _root.frame);
this.setCookie("slvl", "slvl", _root.slvl);
this.setCookie("tlvl", "tlvl", _root.tlvl);
this.setCookie("clvl", "clvl", _root.clvl);
this.setCookie("blvl", "blvl", _root.blvl);
this.setCookie("elvl", "elvl", _root.lvle);
this.setCookie("gone", "gone", _root.gone);
this.setCookie("sgone", "sgone", _root.sgone);
this.setCookie("nenemy", "nenemy", _root.nenemy);
this.setCookie("numenemy", "numenemy", _root.numenemy);
this.setCookie("aaenemy", "aaenemy", _root.aaenemy);
_root.complete.gotoAndPlay(2);
}
Symbol 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 501
gotoAndStop (1);
Symbol 363 MovieClip Frame 1
if (_root.bossgo >= 1) {
gotoAndPlay (3);
_x = 323.4;
_y = 280;
}
Symbol 363 MovieClip Frame 2
gotoAndPlay (1);
Symbol 363 MovieClip Frame 3
if (_x < (_root.player._x - 10)) {
_x = (_x + 5);
if (_xscale > 0) {
_xscale = (_xscale * -1);
}
}
if (_x > (_root.player._x + 10)) {
_x = (_x - 5);
if (_xscale < 0) {
_xscale = (_xscale * -1);
}
}
if (hitTest(_root.player)) {
gotoAndPlay (5);
}
Symbol 363 MovieClip Frame 4
gotoAndPlay (3);
Symbol 363 MovieClip Frame 8
if (hitTest(_root.player)) {
_root.plifee = _root.plifee - 20;
}
Symbol 363 MovieClip Frame 16
if (hitTest(_root.player)) {
_root.plifee = _root.plifee - 30;
}
Symbol 363 MovieClip Frame 30
if (hitTest(_root.player)) {
_root.plifee = _root.plifee - 5;
}
Symbol 363 MovieClip Frame 31
if (hitTest(_root.player)) {
_root.plifee = _root.plifee - 5;
}
Symbol 363 MovieClip Frame 32
if (hitTest(_root.player)) {
_root.plifee = _root.plifee - 5;
}
Symbol 363 MovieClip Frame 33
if (hitTest(_root.player)) {
_root.plifee = _root.plifee - 20;
}
Symbol 363 MovieClip Frame 34
if (hitTest(_root.player)) {
_root.plifee = _root.plifee - 5;
}
Symbol 363 MovieClip Frame 35
if (hitTest(_root.player)) {
_root.plifee = _root.plifee - 5;
}
Symbol 363 MovieClip Frame 36
if (hitTest(_root.player)) {
_root.plifee = _root.plifee - 5;
}
Symbol 363 MovieClip Frame 37
if (hitTest(_root.player)) {
_root.plifee = _root.plifee - 5;
}
Symbol 363 MovieClip Frame 38
if (hitTest(_root.player)) {
_root.plifee = _root.plifee - 5;
}
Symbol 363 MovieClip Frame 39
if (hitTest(_root.player)) {
_root.plifee = _root.plifee - 5;
}
Symbol 363 MovieClip Frame 40
if (hitTest(_root.player)) {
_root.plifee = _root.plifee - 5;
}
Symbol 363 MovieClip Frame 41
if (hitTest(_root.player)) {
_root.plifee = _root.plifee - 5;
}
Symbol 363 MovieClip Frame 42
if (hitTest(_root.player)) {
_root.plifee = _root.plifee - 5;
}
Symbol 363 MovieClip Frame 43
if (hitTest(_root.player)) {
_root.plifee = _root.plifee - 5;
}
Symbol 363 MovieClip Frame 44
if (hitTest(_root.player)) {
_root.plifee = _root.plifee - 5;
}
Symbol 363 MovieClip Frame 45
if (hitTest(_root.player)) {
_root.plifee = _root.plifee - 5;
}
Symbol 363 MovieClip Frame 58
attack++;
if (attack == 30) {
attack = 0;
gotoAndPlay (3);
}
Symbol 363 MovieClip Frame 59
gotoAndPlay (58);
Symbol 363 MovieClip Frame 63
if (_x < _root.player._x) {
_x = (_x + 10);
}
if (_x > _root.player._x) {
_x = (_x - 10);
}
Symbol 363 MovieClip Frame 64
if (_x < _root.player._x) {
_x = (_x + 10);
}
if (_x > _root.player._x) {
_x = (_x - 10);
}
Symbol 363 MovieClip Frame 65
if (_x < _root.player._x) {
_x = (_x + 10);
}
if (_x > _root.player._x) {
_x = (_x - 10);
}
Symbol 363 MovieClip Frame 66
if (_x < _root.player._x) {
_x = (_x + 10);
}
if (_x > _root.player._x) {
_x = (_x - 10);
}
Symbol 363 MovieClip Frame 67
if (_x < _root.player._x) {
_x = (_x + 10);
}
if (_x > _root.player._x) {
_x = (_x - 10);
}
Symbol 363 MovieClip Frame 68
if (_x < _root.player._x) {
_x = (_x + 10);
}
if (_x > _root.player._x) {
_x = (_x - 10);
}
Symbol 363 MovieClip Frame 69
if (_x < _root.player._x) {
_x = (_x + 10);
}
if (_x > _root.player._x) {
_x = (_x - 10);
}
Symbol 363 MovieClip Frame 70
if (_x < _root.player._x) {
_x = (_x + 10);
}
if (_x > _root.player._x) {
_x = (_x - 10);
}
Symbol 363 MovieClip Frame 71
if (_x < _root.player._x) {
_x = (_x + 10);
}
if (_x > _root.player._x) {
_x = (_x - 10);
}
Symbol 363 MovieClip Frame 72
if (_x < _root.player._x) {
_x = (_x + 10);
}
if (_x > _root.player._x) {
_x = (_x - 10);
}
Symbol 363 MovieClip Frame 73
if (_x < _root.player._x) {
_x = (_x + 10);
}
if (_x > _root.player._x) {
_x = (_x - 10);
}
Symbol 363 MovieClip Frame 74
if (_x < _root.player._x) {
_x = (_x + 10);
}
if (_x > _root.player._x) {
_x = (_x - 10);
}
Symbol 363 MovieClip Frame 75
if (_x < _root.player._x) {
_x = (_x + 10);
}
if (_x > _root.player._x) {
_x = (_x - 10);
}
Symbol 363 MovieClip Frame 76
if (_x < _root.player._x) {
_x = (_x + 10);
}
if (_x > _root.player._x) {
_x = (_x - 10);
}
Symbol 363 MovieClip Frame 77
if (_x < _root.player._x) {
_x = (_x + 10);
}
if (_x > _root.player._x) {
_x = (_x - 10);
}
Symbol 363 MovieClip Frame 78
if (_x < _root.player._x) {
_x = (_x + 10);
}
if (_x > _root.player._x) {
_x = (_x - 10);
}
Symbol 363 MovieClip Frame 79
if (_x < _root.player._x) {
_x = (_x + 10);
}
if (_x > _root.player._x) {
_x = (_x - 10);
}
Symbol 363 MovieClip Frame 80
if (_x < _root.player._x) {
_x = (_x + 10);
}
if (_x > _root.player._x) {
_x = (_x - 10);
}
Symbol 363 MovieClip Frame 81
_x = _root.player._x;
gotoAndPlay (3);
Symbol 363 MovieClip Frame 82
hp = hp - _root.power;
_root.hit = 1;
if (hp <= 0) {
gotoAndPlay (86);
}
Symbol 363 MovieClip Frame 85
gotoAndPlay (3);
Symbol 363 MovieClip Frame 86
_root.player.gotoAndPlay("critical");
Symbol 363 MovieClip Frame 97
_parent.gotoAndStop(6);
_parent.play();
Symbol 363 MovieClip Frame 100
_parent.gotoAndStop(5);
stop();
Symbol 391 MovieClip Frame 16
stop();
Symbol 609 MovieClip Frame 1
if (Key.isDown(37)) {
gotoAndPlay (10);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
gotoAndPlay (10);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(40)) {
gotoAndPlay (23);
}
if (Key.isDown(38)) {
gotoAndPlay (34);
}
if (Key.isDown(65)) {
gotoAndPlay (51);
}
if (Key.isDown(83)) {
gotoAndPlay (76);
}
if (Key.isDown(68)) {
sword = random(20);
if (_root.statsskills.ssword > 3) {
if (sword > 12) {
gotoAndPlay (114);
}
}
if (sword < 12) {
gotoAndPlay (253);
}
if (_root.statsskills.ssword > 6) {
if (sword < 4) {
gotoAndPlay (171);
}
}
}
if (Key.isDown(70)) {
gotoAndPlay (291);
}
_root.die--;
if (Key.isDown(71)) {
gotoAndPlay (323);
}
Symbol 609 MovieClip Frame 2
if (Key.isDown(37)) {
gotoAndPlay (10);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
gotoAndPlay (10);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(40)) {
gotoAndPlay (23);
}
if (Key.isDown(38)) {
gotoAndPlay (34);
}
if (Key.isDown(65)) {
gotoAndPlay (51);
}
if (Key.isDown(83)) {
gotoAndPlay (76);
}
if (Key.isDown(68)) {
sword = random(20);
if (_root.statsskills.ssword > 3) {
if (sword > 12) {
gotoAndPlay (114);
}
}
if (sword < 12) {
gotoAndPlay (253);
}
if (_root.statsskills.ssword > 6) {
if (sword < 4) {
gotoAndPlay (171);
}
}
}
if (Key.isDown(70)) {
gotoAndPlay (291);
}
_root.die--;
if (Key.isDown(71)) {
gotoAndPlay (323);
}
Symbol 609 MovieClip Frame 3
if (Key.isDown(37)) {
gotoAndPlay (10);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
gotoAndPlay (10);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(40)) {
gotoAndPlay (23);
}
if (Key.isDown(38)) {
gotoAndPlay (34);
}
if (Key.isDown(65)) {
gotoAndPlay (51);
}
if (Key.isDown(83)) {
gotoAndPlay (76);
}
if (Key.isDown(68)) {
sword = random(20);
if (_root.statsskills.ssword > 3) {
if (sword > 12) {
gotoAndPlay (114);
}
}
if (sword < 12) {
gotoAndPlay (253);
}
if (_root.statsskills.ssword > 6) {
if (sword < 4) {
gotoAndPlay (171);
}
}
}
if (Key.isDown(70)) {
gotoAndPlay (291);
}
_root.die--;
if (Key.isDown(71)) {
gotoAndPlay (323);
}
Symbol 609 MovieClip Frame 4
if (Key.isDown(37)) {
gotoAndPlay (10);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
gotoAndPlay (10);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(40)) {
gotoAndPlay (23);
}
if (Key.isDown(38)) {
gotoAndPlay (34);
}
if (Key.isDown(65)) {
gotoAndPlay (51);
}
if (Key.isDown(83)) {
gotoAndPlay (76);
}
if (Key.isDown(68)) {
sword = random(20);
if (_root.statsskills.ssword > 3) {
if (sword > 12) {
gotoAndPlay (114);
}
}
if (sword < 12) {
gotoAndPlay (253);
}
if (_root.statsskills.ssword > 6) {
if (sword < 4) {
gotoAndPlay (171);
}
}
}
if (Key.isDown(70)) {
gotoAndPlay (291);
}
_root.die--;
if (Key.isDown(71)) {
gotoAndPlay (323);
}
Symbol 609 MovieClip Frame 5
if (Key.isDown(37)) {
gotoAndPlay (10);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
gotoAndPlay (10);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(40)) {
gotoAndPlay (23);
}
if (Key.isDown(38)) {
gotoAndPlay (34);
}
if (Key.isDown(65)) {
gotoAndPlay (51);
}
if (Key.isDown(83)) {
gotoAndPlay (76);
}
if (Key.isDown(68)) {
sword = random(20);
if (_root.statsskills.ssword > 3) {
if (sword > 12) {
gotoAndPlay (114);
}
}
if (sword < 12) {
gotoAndPlay (253);
}
if (_root.statsskills.ssword > 6) {
if (sword < 4) {
gotoAndPlay (171);
}
}
}
if (Key.isDown(70)) {
gotoAndPlay (291);
}
_root.die--;
if (Key.isDown(71)) {
gotoAndPlay (323);
}
Symbol 609 MovieClip Frame 6
if (Key.isDown(37)) {
gotoAndPlay (10);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
gotoAndPlay (10);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(40)) {
gotoAndPlay (23);
}
if (Key.isDown(38)) {
gotoAndPlay (34);
}
if (Key.isDown(65)) {
gotoAndPlay (51);
}
if (Key.isDown(83)) {
gotoAndPlay (76);
}
if (Key.isDown(68)) {
sword = random(20);
if (_root.statsskills.ssword > 3) {
if (sword > 12) {
gotoAndPlay (114);
}
}
if (sword < 12) {
gotoAndPlay (253);
}
if (_root.statsskills.ssword > 6) {
if (sword < 4) {
gotoAndPlay (171);
}
}
}
if (Key.isDown(70)) {
gotoAndPlay (291);
}
_root.die--;
if (Key.isDown(71)) {
gotoAndPlay (323);
}
Symbol 609 MovieClip Frame 7
if (Key.isDown(37)) {
gotoAndPlay (10);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
gotoAndPlay (10);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(40)) {
gotoAndPlay (23);
}
if (Key.isDown(38)) {
gotoAndPlay (34);
}
if (Key.isDown(65)) {
gotoAndPlay (51);
}
if (Key.isDown(83)) {
gotoAndPlay (76);
}
if (Key.isDown(68)) {
sword = random(20);
if (_root.statsskills.ssword > 3) {
if (sword > 12) {
gotoAndPlay (114);
}
}
if (sword < 12) {
gotoAndPlay (253);
}
if (_root.statsskills.ssword > 6) {
if (sword < 4) {
gotoAndPlay (171);
}
}
}
if (Key.isDown(70)) {
gotoAndPlay (291);
}
_root.die--;
if (Key.isDown(71)) {
gotoAndPlay (323);
}
Symbol 609 MovieClip Frame 8
if (Key.isDown(37)) {
gotoAndPlay (10);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
gotoAndPlay (10);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(40)) {
gotoAndPlay (23);
}
if (Key.isDown(38)) {
gotoAndPlay (34);
}
if (Key.isDown(65)) {
gotoAndPlay (51);
}
if (Key.isDown(83)) {
gotoAndPlay (76);
}
if (Key.isDown(68)) {
sword = random(20);
if (_root.statsskills.ssword > 3) {
if (sword > 12) {
gotoAndPlay (114);
}
}
if (sword < 12) {
gotoAndPlay (253);
}
if (_root.statsskills.ssword > 6) {
if (sword < 4) {
gotoAndPlay (171);
}
}
}
if (Key.isDown(70)) {
gotoAndPlay (291);
}
_root.die--;
if (Key.isDown(71)) {
gotoAndPlay (323);
}
Symbol 609 MovieClip Frame 9
gotoAndPlay (1);
Symbol 609 MovieClip Frame 10
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else {
gotoAndPlay (1);
}
_x = (_x + _root.speed);
if (Key.isDown(32)) {
gotoAndPlay (156);
}
Symbol 609 MovieClip Frame 11
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else {
gotoAndPlay (1);
}
_x = (_x + _root.speed);
if (Key.isDown(32)) {
gotoAndPlay (156);
}
Symbol 609 MovieClip Frame 12
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else {
gotoAndPlay (1);
}
_x = (_x + _root.speed);
if (Key.isDown(32)) {
gotoAndPlay (156);
}
Symbol 609 MovieClip Frame 13
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else {
gotoAndPlay (1);
}
_x = (_x + _root.speed);
if (Key.isDown(32)) {
gotoAndPlay (156);
}
Symbol 609 MovieClip Frame 14
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else {
gotoAndPlay (1);
}
_x = (_x + _root.speed);
if (Key.isDown(32)) {
gotoAndPlay (156);
}
Symbol 609 MovieClip Frame 15
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else {
gotoAndPlay (1);
}
_x = (_x + _root.speed);
if (Key.isDown(32)) {
gotoAndPlay (156);
}
Symbol 609 MovieClip Frame 16
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else {
gotoAndPlay (1);
}
_x = (_x + _root.speed);
if (Key.isDown(32)) {
gotoAndPlay (156);
}
Symbol 609 MovieClip Frame 17
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else {
gotoAndPlay (1);
}
_x = (_x + _root.speed);
if (Key.isDown(32)) {
gotoAndPlay (156);
}
Symbol 609 MovieClip Frame 18
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else {
gotoAndPlay (1);
}
_x = (_x + _root.speed);
if (Key.isDown(32)) {
gotoAndPlay (156);
}
Symbol 609 MovieClip Frame 19
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else {
gotoAndPlay (1);
}
_x = (_x + _root.speed);
if (Key.isDown(32)) {
gotoAndPlay (156);
}
Symbol 609 MovieClip Frame 20
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else {
gotoAndPlay (1);
}
_x = (_x + _root.speed);
if (Key.isDown(32)) {
gotoAndPlay (156);
}
Symbol 609 MovieClip Frame 21
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else {
gotoAndPlay (1);
}
_x = (_x + _root.speed);
if (Key.isDown(32)) {
gotoAndPlay (156);
}
Symbol 609 MovieClip Frame 22
gotoAndPlay (1);
Symbol 609 MovieClip Frame 23
if (Key.isDown(37)) {
gotoAndPlay (62);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
gotoAndPlay (62);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 24
if (Key.isDown(37)) {
gotoAndPlay (62);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
gotoAndPlay (62);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 25
if (Key.isDown(37)) {
gotoAndPlay (62);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
gotoAndPlay (62);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 26
if (Key.isDown(37)) {
gotoAndPlay (62);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
gotoAndPlay (62);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 27
if (Key.isDown(37)) {
gotoAndPlay (62);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
gotoAndPlay (62);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 28
if (Key.isDown(37)) {
gotoAndPlay (62);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
gotoAndPlay (62);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 29
if (Key.isDown(37)) {
gotoAndPlay (62);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
gotoAndPlay (62);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 30
if (Key.isDown(37)) {
gotoAndPlay (62);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
gotoAndPlay (62);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 31
if (Key.isDown(37)) {
gotoAndPlay (62);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
gotoAndPlay (62);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 32
if (Key.isDown(37)) {
gotoAndPlay (62);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
gotoAndPlay (62);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 33
if (Key.isDown(40)) {
gotoAndPlay (23);
} else {
gotoAndPlay (1);
}
Symbol 609 MovieClip Frame 34
if (Key.isDown(37)) {
_x = (_x + (_root.speed * 2));
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
_x = (_x + (_root.speed * 2));
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 35
if (Key.isDown(37)) {
_x = (_x + (_root.speed * 2));
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
_x = (_x + (_root.speed * 2));
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 36
if (Key.isDown(37)) {
_x = (_x + (_root.speed * 2));
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
_x = (_x + (_root.speed * 2));
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 37
if (Key.isDown(37)) {
_x = (_x + (_root.speed * 2));
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
_x = (_x + (_root.speed * 2));
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 38
if (Key.isDown(37)) {
_x = (_x + (_root.speed * 2));
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
_x = (_x + (_root.speed * 2));
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 39
if (Key.isDown(37)) {
_x = (_x + (_root.speed * 2));
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
_x = (_x + (_root.speed * 2));
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 40
if (Key.isDown(37)) {
_x = (_x + (_root.speed * 2));
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
_x = (_x + (_root.speed * 2));
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 41
if (Key.isDown(37)) {
_x = (_x + (_root.speed * 2));
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
_x = (_x + (_root.speed * 2));
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 42
if (Key.isDown(37)) {
_x = (_x + (_root.speed * 2));
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
_x = (_x + (_root.speed * 2));
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 43
if (Key.isDown(37)) {
_x = (_x + (_root.speed * 2));
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
_x = (_x + (_root.speed * 2));
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 44
if (Key.isDown(37)) {
_x = (_x + (_root.speed * 2));
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
_x = (_x + (_root.speed * 2));
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 45
if (Key.isDown(37)) {
_x = (_x + (_root.speed * 2));
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
_x = (_x + (_root.speed * 2));
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 46
if (Key.isDown(37)) {
_x = (_x + (_root.speed * 2));
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
_x = (_x + (_root.speed * 2));
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 47
if (Key.isDown(37)) {
_x = (_x + (_root.speed * 2));
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
_x = (_x + (_root.speed * 2));
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 48
if (Key.isDown(37)) {
_x = (_x + (_root.speed * 2));
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
_x = (_x + (_root.speed * 2));
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 49
if (Key.isDown(37)) {
_x = (_x + (_root.speed * 2));
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
if (Key.isDown(39)) {
_x = (_x + (_root.speed * 2));
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
Symbol 609 MovieClip Frame 50
gotoAndPlay (1);
Symbol 609 MovieClip Frame 51
_root.weapon = "star";
_root.detect = 1;
Symbol 609 MovieClip Frame 52
if (ninstar > _root.power) {
gotoAndPlay (1);
}
star = random(20);
if (star == 5) {
ninstar = 0;
}
Symbol 609 MovieClip Frame 59
i++;
_root.ninstar.duplicateMovieClip("ninstar" + i, (i = i + 100));
ninstar++;
star = random(20);
if (star == 5) {
ninstar--;
}
i++;
Symbol 609 MovieClip Frame 61
gotoAndPlay (1);
Symbol 609 MovieClip Frame 62
_x = (_x + _root.speed);
_root.detect = 2;
_root.rice.gotoAndPlay(1);
Symbol 609 MovieClip Frame 63
_x = (_x + _root.speed);
Symbol 609 MovieClip Frame 64
_x = (_x + _root.speed);
Symbol 609 MovieClip Frame 65
_x = (_x + _root.speed);
Symbol 609 MovieClip Frame 66
_x = (_x + _root.speed);
Symbol 609 MovieClip Frame 67
_x = (_x + _root.speed);
Symbol 609 MovieClip Frame 68
_x = (_x + _root.speed);
Symbol 609 MovieClip Frame 69
_x = (_x + _root.speed);
Symbol 609 MovieClip Frame 70
_x = (_x + _root.speed);
Symbol 609 MovieClip Frame 71
_x = (_x + _root.speed);
Symbol 609 MovieClip Frame 72
_x = (_x + _root.speed);
Symbol 609 MovieClip Frame 73
_x = (_x + _root.speed);
Symbol 609 MovieClip Frame 74
if (Key.isDown(40)) {
if (Key.isDown(37)) {
gotoAndPlay (63);
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
} else if (Key.isDown(39)) {
gotoAndPlay (63);
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
}
}
} else {
_root.detect = 1;
gotoAndPlay (1);
}
Symbol 609 MovieClip Frame 75
gotoAndPlay (1);
Symbol 609 MovieClip Frame 76
_root.weapon = "claw";
_root.detect = 1;
Symbol 609 MovieClip Frame 82
for (name in _root) {
if (hitTest(_root[name].hit)) {
_root.power = Math.round(_root.statsskills.health + _root.statsskills.shand);
_root[name].elife.gotoAndStop(_root[name].elife._currentframe + Math.round(_root.power));
_root[name].elife1.gotoAndStop(_root[name].elife1._currentframe + _root.power);
_root[name].gotoAndPlay("hit");
}
}
Symbol 609 MovieClip Frame 86
if (Key.isDown(68)) {
gotoAndPlay (256);
} else if (Key.isDown(65)) {
gotoAndPlay (58);
} else if (Key.isDown(70)) {
gotoAndPlay (308);
} else if (Key.isDown(83)) {
if (_root.statsskills.shand > 2) {
play();
}
if (_root.statsskills.shand < 2) {
gotoAndPlay (1);
}
} else {
gotoAndPlay (1);
}
Symbol 609 MovieClip Frame 88
if (Key.isDown(68)) {
if (_root.statsskills.ssword > 6) {
if (sword < 4) {
gotoAndPlay (171);
}
}
} else {
play();
}
Symbol 609 MovieClip Frame 89
for (name in _root) {
if (hitTest(_root[name].hit)) {
_root.power = Math.round((_root.statsskills.health + _root.statsskills.shand) / 2);
_root[name].elife.gotoAndStop(_root[name].elife._currentframe + Math.round(_root.power));
_root[name].elife1.gotoAndStop(_root[name].elife1._currentframe + _root.power);
_root[name].gotoAndPlay("hit");
}
}
Symbol 609 MovieClip Frame 91
if (Key.isDown(83)) {
if (_root.statsskills.shand > 4) {
play();
}
if (_root.statsskills.shand < 4) {
gotoAndPlay (1);
}
} else {
gotoAndPlay (1);
}
Symbol 609 MovieClip Frame 95
for (name in _root) {
if (hitTest(_root[name].hit)) {
_root.power = Math.round((_root.statsskills.health + _root.statsskills.shand) / 2);
_root[name].elife.gotoAndStop(_root[name].elife._currentframe + Math.round(_root.power));
_root[name].elife1.gotoAndStop(_root[name].elife1._currentframe + _root.power);
_root[name].gotoAndPlay("hit");
}
}
Symbol 609 MovieClip Frame 100
if (Key.isDown(83)) {
if (_root.statsskills.shand > 6) {
play();
}
if (_root.statsskills.shand < 6) {
gotoAndPlay (1);
}
} else {
gotoAndPlay (1);
}
Symbol 609 MovieClip Frame 105
for (name in _root) {
if (hitTest(_root[name].hit)) {
_root.power = Math.round(_root.statsskills.health + _root.statsskills.shand);
_root[name].elife.gotoAndStop(_root[name].elife._currentframe + Math.round(_root.power));
_root[name].elife1.gotoAndStop(_root[name].elife1._currentframe + _root.power);
_root[name].gotoAndPlay("hit");
}
}
Symbol 609 MovieClip Frame 106
if (Key.isDown(83)) {
if (_root.statsskills.shand > 8) {
play();
}
if (_root.statsskills.shand < 8) {
gotoAndPlay (1);
}
} else {
gotoAndPlay (1);
}
Symbol 609 MovieClip Frame 110
for (name in _root) {
if (hitTest(_root[name].hit)) {
_root.power = Math.round(_root.statsskills.health + _root.statsskills.shand);
_root[name].elife.gotoAndStop(_root[name].elife._currentframe + Math.round(_root.power));
_root[name].elife1.gotoAndStop(_root[name].elife1._currentframe + _root.power);
_root[name].gotoAndPlay("hit");
}
}
Symbol 609 MovieClip Frame 111
if (Key.isDown(83)) {
if (_root.statsskills.shand > 9) {
play();
}
if (_root.statsskills.shand < 9) {
gotoAndPlay (1);
}
} else {
gotoAndPlay (1);
}
Symbol 609 MovieClip Frame 112
gotoAndPlay (269);
Symbol 609 MovieClip Frame 114
_root.weapon = "sword";
_root.detect = 1;
Symbol 609 MovieClip Frame 120
for (name in _root) {
if (hitTest(_root[name].hit)) {
_root.power = Math.round((_root.statsskills.ssword * 2) + _root.statsskills.strength);
_root[name].elife.gotoAndStop(_root[name].elife._currentframe + Math.round((_root.statsskills.ssword * 2) + _root.statsskills.strength));
_root[name].elife1.gotoAndStop(_root[name].elife1._currentframe + _root.power);
_root[name].gotoAndPlay("hit");
}
}
Symbol 609 MovieClip Frame 124
gotoAndPlay (1);
Symbol 609 MovieClip Frame 127
gotoAndPlay (1);
Symbol 609 MovieClip Frame 129
_root.gotoAndStop("gameover");
Symbol 609 MovieClip Frame 138
_root.die++;
Symbol 609 MovieClip Frame 154
stop();
Symbol 609 MovieClip Frame 156
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else {
gotoAndPlay (1);
}
_x = (_x + (_root.speed * 2));
Symbol 609 MovieClip Frame 157
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else {
gotoAndPlay (1);
}
_x = (_x + (_root.speed * 2));
Symbol 609 MovieClip Frame 158
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else {
gotoAndPlay (1);
}
_x = (_x + (_root.speed * 2));
Symbol 609 MovieClip Frame 159
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else {
gotoAndPlay (1);
}
_x = (_x + (_root.speed * 2));
Symbol 609 MovieClip Frame 160
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else {
gotoAndPlay (1);
}
_x = (_x + (_root.speed * 2));
Symbol 609 MovieClip Frame 161
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else {
gotoAndPlay (1);
}
_x = (_x + (_root.speed * 2));
Symbol 609 MovieClip Frame 162
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else {
gotoAndPlay (1);
}
_x = (_x + (_root.speed * 2));
Symbol 609 MovieClip Frame 163
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else {
gotoAndPlay (1);
}
_x = (_x + (_root.speed * 2));
Symbol 609 MovieClip Frame 164
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else {
gotoAndPlay (1);
}
_x = (_x + (_root.speed * 2));
Symbol 609 MovieClip Frame 165
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else {
gotoAndPlay (1);
}
_x = (_x + (_root.speed * 2));
Symbol 609 MovieClip Frame 166
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else {
gotoAndPlay (1);
}
_x = (_x + (_root.speed * 2));
Symbol 609 MovieClip Frame 167
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else {
gotoAndPlay (1);
}
_x = (_x + (_root.speed * 2));
Symbol 609 MovieClip Frame 168
if (Key.isDown(37)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else if (Key.isDown(39)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
_root.speed = _root.speed * -1;
gotoAndPlay (156);
}
} else {
gotoAndPlay (1);
}
_x = (_x + (_root.speed * 2));
Symbol 609 MovieClip Frame 169
if (Key.isDown(37)) {
gotoAndPlay (161);
} else if (Key.isDown(39)) {
gotoAndPlay (161);
} else {
gotoAndPlay (1);
}
Symbol 609 MovieClip Frame 171
_root.weapon = "sword";
_root.detect = 1;
Symbol 609 MovieClip Frame 183
for (name in _root) {
if (hitTest(_root[name].hit)) {
_root.power = Math.round((_root.statsskills.ssword * 3) + _root.statsskills.strength);
_root[name].elife.gotoAndStop(_root[name].elife._currentframe + Math.round((_root.statsskills.ssword * 3) + _root.statsskills.strength));
_root[name].elife1.gotoAndStop(_root[name].elife1._currentframe + _root.power);
_root[name].gotoAndPlay("hit");
}
}
Symbol 609 MovieClip Frame 188
gotoAndPlay (1);
Symbol 609 MovieClip Frame 253
_root.weapon = "sword";
_root.detect = 1;
Symbol 609 MovieClip Frame 258
for (name in _root) {
if (hitTest(_root[name].hit)) {
_root.power = _root.statsskills.ssword + _root.statsskills.strength;
_root[name].elife.gotoAndStop(_root[name].elife._currentframe + _root.power);
_root[name].elife1.gotoAndStop(_root[name].elife1._currentframe + _root.power);
_root[name].gotoAndPlay("hit");
}
}
Symbol 609 MovieClip Frame 267
gotoAndPlay (1);
Symbol 609 MovieClip Frame 269
_root.weapon = "claw";
Symbol 609 MovieClip Frame 272
if (Key.isDown(70)) {
gotoAndPlay (308);
}
Symbol 609 MovieClip Frame 274
for (name in _root) {
if (hitTest(_root[name].hit)) {
_root.power = Math.round((_root.statsskills.health + _root.statsskills.shand) / 2);
_root[name].elife.gotoAndStop(_root[name].elife._currentframe + Math.round(_root.power));
_root[name].elife1.gotoAndStop(_root[name].elife1._currentframe + _root.power);
_root[name].gotoAndPlay("hit");
}
}
Symbol 609 MovieClip Frame 281
for (name in _root) {
if (hitTest(_root[name].hit)) {
_root.power = Math.round(_root.statsskills.health + _root.statsskills.shand);
_root[name].elife.gotoAndStop(_root[name].elife._currentframe + Math.round(_root.power));
_root[name].elife1.gotoAndStop(_root[name].elife1._currentframe + _root.power);
_root[name].gotoAndPlay("hit");
}
}
Symbol 609 MovieClip Frame 290
gotoAndPlay (1);
Symbol 609 MovieClip Frame 291
_root.weapon = "bo";
_root.detect = 1;
Symbol 609 MovieClip Frame 301
for (name in _root) {
if (hitTest(_root[name].hit)) {
_root.power = Math.round((_root.statsskills.defense + _root.statsskills.sstick) / 2);
_root[name].elife.gotoAndStop(_root[name].elife._currentframe + _root.power);
_root[name].elife1.gotoAndStop(_root[name].elife1._currentframe + _root.power);
_root[name].gotoAndPlay("hit");
}
}
Symbol 609 MovieClip Frame 309
for (name in _root) {
if (hitTest(_root[name].hit)) {
_root.power = Math.round((_root.statsskills.defense + _root.statsskills.sstick) / 3);
_root[name].elife.gotoAndStop(_root[name].elife._currentframe + _root.power);
_root[name].elife1.gotoAndStop(_root[name].elife1._currentframe + _root.power);
_root[name].gotoAndPlay("hit");
}
}
Symbol 609 MovieClip Frame 311
if (Key.isDown(70)) {
if (_root.statsskills.sstick > 1) {
play();
}
if (_root.statsskills.sstick < 1) {
gotoAndPlay (1);
}
} else {
gotoAndPlay (1);
}
Symbol 609 MovieClip Frame 314
for (name in _root) {
if (hitTest(_root[name].hit)) {
_root.power = Math.round(_root.statsskills.defense + _root.statsskills.sstick);
_root[name].elife.gotoAndStop(_root[name].elife._currentframe + _root.power);
_root[name].elife1.gotoAndStop(_root[name].elife1._currentframe + _root.power);
_root[name].gotoAndPlay("hit");
}
}
Symbol 609 MovieClip Frame 317
if (Key.isDown(68)) {
gotoAndPlay (255);
} else if (Key.isDown(70)) {
if (_root.statsskills.sstick > 3) {
play();
}
if (_root.statsskills.sstick < 3) {
gotoAndPlay (1);
}
} else {
gotoAndPlay (1);
}
Symbol 609 MovieClip Frame 318
for (name in _root) {
if (hitTest(_root[name].hit)) {
_root.power = Math.round((_root.statsskills.defense + _root.statsskills.sstick) * 2);
_root[name].elife.gotoAndStop(_root[name].elife._currentframe + _root.power);
_root[name].elife1.gotoAndStop(_root[name].elife1._currentframe + _root.power);
_root[name].gotoAndPlay("hit");
}
}
Symbol 609 MovieClip Frame 322
gotoAndPlay (1);
Symbol 609 MovieClip Frame 326
_root.detect = 2;
Symbol 609 MovieClip Frame 327
if (Key.isDown(71)) {
gotoAndPlay (326);
_root.detect = 2;
} else {
_root.detect = 1;
play();
}
Symbol 609 MovieClip Frame 330
gotoAndPlay (1);
Symbol 619 MovieClip Frame 1
_visible = false;
stop();
Symbol 619 MovieClip Frame 2
_visible = true;
play();
Symbol 619 MovieClip Frame 18
gotoAndPlay (2);
Symbol 621 MovieClip Frame 1
if (_root.loader >= 1) {
_root.nenemy = this.getCookie("nenemy", "nenemy");
_root.numenemy = this.getCookie("numenemy", "numenemy");
_root.aaenemy = this.getCookie("aaenemy", "aaenemy");
_root.loader = 0;
} else {
_root.numenemy = 3;
_root.aaenemy = 1;
}
if (_root.nenemy < _root.numenemy) {
if (_root.aenemy < _root.aaenemy) {
_root.enemy1.duplicateMovieClip("enemy1" + i, i++);
_root.aenemy++;
}
} else {
_root.go.play();
stop();
}
i++;
_root.lvle = 1;
loc = random(2);
if (loc == 1) {
_root.loca = -50;
}
if (loc == 0) {
_root.loca = 600;
}
Symbol 621 MovieClip Frame 2
gotoAndPlay (1);
Symbol 621 MovieClip Frame 3
if (_root.loader >= 1) {
_root.nenemy = this.getCookie("nenemy", "nenemy");
_root.numenemy = this.getCookie("numenemy", "numenemy");
_root.aaenemy = this.getCookie("aaenemy", "aaenemy");
_root.loader = 0;
} else {
_root.numenemy = 6;
_root.aaenemy = 2;
}
if (_root.nenemy < _root.numenemy) {
if (_root.aenemy < _root.aaenemy) {
_root.enemy1.duplicateMovieClip("enemy1" + i, i++);
_root.aenemy++;
}
} else {
stop();
_root.go.play();
}
_root.lvle = 3;
i++;
loc = random(2);
if (loc == 1) {
_root.loca = -50;
}
if (loc == 0) {
_root.loca = 600;
}
Symbol 621 MovieClip Frame 4
gotoAndPlay (3);
Symbol 621 MovieClip Frame 5
if (_root.loader >= 1) {
_root.nenemy = this.getCookie("nenemy", "nenemy");
_root.numenemy = this.getCookie("numenemy", "numenemy");
_root.aaenemy = this.getCookie("aaenemy", "aaenemy");
_root.loader = 0;
} else {
_root.numenemy = 9;
_root.aaenemy = 3;
}
if (_root.nenemy < _root.numenemy) {
if (_root.aenemy < _root.aaenemy) {
_root.enemy1.duplicateMovieClip("enemy1" + i, i++);
_root.aenemy++;
}
if (_root.aenemy < _root.aaenemy) {
_root.enemy2.duplicateMovieClip("enemy2" + i, (i = i + 10));
_root.aenemy++;
}
} else {
stop();
_root.go.play();
}
_root.lvle = 5;
i++;
loc = random(2);
if (loc == 1) {
_root.loca = -50;
}
if (loc == 0) {
_root.loca = 600;
}
Symbol 621 MovieClip Frame 6
gotoAndPlay (5);
Symbol 621 MovieClip Frame 7
if (_root.loader >= 1) {
_root.nenemy = this.getCookie("nenemy", "nenemy");
_root.numenemy = this.getCookie("numenemy", "numenemy");
_root.aaenemy = this.getCookie("aaenemy", "aaenemy");
_root.loader = 0;
} else {
_root.numenemy = 12;
_root.aaenemy = 4;
}
if (_root.nenemy < _root.numenemy) {
if (_root.aenemy < _root.aaenemy) {
_root.enemy1.duplicateMovieClip("enemy1" + i, i++);
_root.aenemy++;
}
if (_root.aenemy < _root.aaenemy) {
_root.enemy2.duplicateMovieClip("enemy2" + i, (i = i + 10));
_root.aenemy++;
}
} else {
stop();
_root.go.play();
}
_root.lvle = 7;
i++;
loc = random(2);
if (loc == 1) {
_root.loca = -50;
}
if (loc == 0) {
_root.loca = 600;
}
Symbol 621 MovieClip Frame 8
gotoAndPlay (7);
Symbol 621 MovieClip Frame 9
if (_root.loader >= 1) {
_root.nenemy = this.getCookie("nenemy", "nenemy");
_root.numenemy = this.getCookie("numenemy", "numenemy");
_root.aaenemy = this.getCookie("aaenemy", "aaenemy");
_root.loader = 0;
} else {
_root.numenemy = 15;
_root.aaenemy = 5;
}
if (_root.nenemy < _root.numenemy) {
if (_root.aenemy < _root.aaenemy) {
_root.enemy1.duplicateMovieClip("enemy1" + i, i++);
_root.aenemy++;
}
if (_root.aenemy < _root.aaenemy) {
_root.enemy2.duplicateMovieClip("enemy2" + i, (i = i + 10));
_root.aenemy++;
}
} else {
stop();
_root.go.play();
}
_root.lvle = 9;
i++;
loc = random(2);
if (loc == 1) {
_root.loca = -50;
}
if (loc == 0) {
_root.loca = 600;
}
Symbol 621 MovieClip Frame 10
gotoAndPlay (9);
Symbol 621 MovieClip Frame 11
if (_root.loader >= 1) {
_root.nenemy = this.getCookie("nenemy", "nenemy");
_root.numenemy = this.getCookie("numenemy", "numenemy");
_root.aaenemy = this.getCookie("aaenemy", "aaenemy");
_root.loader = 0;
} else {
_root.numenemy = 18;
_root.aaenemy = 6;
}
_root.loca = -50;
if (_root.nenemy < _root.numenemy) {
if (_root.aenemy < _root.aaenemy) {
_root.enemy1.duplicateMovieClip("enemy1" + i, i++);
_root.aenemy++;
}
if (_root.aenemy < _root.aaenemy) {
_root.enemy2.duplicateMovieClip("enemy2" + i, (i = i + 10));
_root.aenemy++;
}
} else {
stop();
_root.go.play();
}
_root.lvle = 11;
i++;
_root.loca = -50;
Symbol 621 MovieClip Frame 12
gotoAndPlay (11);
Symbol 621 MovieClip Frame 13
_root.rope = 1;
_root.bossgo++;
_root.lvle = 13;
Symbol 621 MovieClip Frame 14
gotoAndPlay (13);
Symbol 625 MovieClip Frame 1
if (_root.detect < 2) {
if (_root.plifee < _root.life) {
rice = random(1000);
if (rice < 10) {
gotoAndPlay (3);
}
if (rice < 20) {
if (rice > 15) {
gotoAndPlay (5);
}
}
if (rice == 30) {
gotoAndPlay (7);
}
}
}
if (_root.bg._currentframe != 6) {
_x = random(550);
} else {
_x = random(380);
}
Symbol 625 MovieClip Frame 2
gotoAndPlay (1);
Symbol 625 MovieClip Frame 3
if (hitTest(_root.player)) {
_root.plifee = _root.plifee + 5;
gotoAndPlay (1);
}
Symbol 625 MovieClip Frame 4
gotoAndPlay (3);
Symbol 625 MovieClip Frame 5
if (hitTest(_root.player)) {
_root.plifee = _root.plifee + 10;
gotoAndPlay (1);
}
Symbol 625 MovieClip Frame 6
gotoAndPlay (5);
Symbol 625 MovieClip Frame 7
if (hitTest(_root.player)) {
_root.plifee = _root.plifee + 15;
gotoAndPlay (1);
}
Symbol 625 MovieClip Frame 8
gotoAndPlay (7);
Symbol 628 MovieClip Frame 1
stop();
Symbol 628 MovieClip Frame 2
stop();
Symbol 628 MovieClip Frame 3
stop();
Symbol 636 MovieClip Frame 1
stop();
Symbol 657 Button
on (release) {
_root.expbar.gotoAndStop(1);
tellTarget (_root.player) {
gotoAndPlay (1);
};
_root.player._x = 97.8;
if (_root.player._xscale < 1) {
_root.player._xscale = _root.player._xscale * -1;
}
gotoAndPlay (2);
}
Symbol 677 MovieClip Frame 25
_alpha = (_alpha-1);
Symbol 677 MovieClip Frame 26
gotoAndPlay (25);
Symbol 727 MovieClip Frame 1
if (Key.isDown(40)) {
gotoAndPlay (3);
}
Symbol 727 MovieClip Frame 2
gotoAndPlay (1);
Symbol 727 MovieClip Frame 3
if (Key.isDown(32)) {
gotoAndPlay (5);
}
Symbol 727 MovieClip Frame 4
gotoAndPlay (3);
Symbol 727 MovieClip Frame 5
if (Key.isDown(38)) {
gotoAndPlay (7);
}
Symbol 727 MovieClip Frame 6
gotoAndPlay (5);
Symbol 727 MovieClip Frame 7
if (Key.isDown(39)) {
gotoAndPlay (9);
}
Symbol 727 MovieClip Frame 8
gotoAndPlay (7);
Symbol 727 MovieClip Frame 9
if (Key.isDown(71)) {
gotoAndPlay (11);
}
Symbol 727 MovieClip Frame 10
gotoAndPlay (9);
Symbol 727 MovieClip Frame 11
gotoAndPlay (13);
Symbol 727 MovieClip Frame 12
gotoAndPlay (11);
Symbol 727 MovieClip Frame 13
if (Key.isDown(40)) {
gotoAndPlay (15);
}
Symbol 727 MovieClip Frame 14
gotoAndPlay (13);
Symbol 727 MovieClip Frame 15
if (Key.isDown(37)) {
gotoAndPlay (17);
}
Symbol 727 MovieClip Frame 16
gotoAndPlay (15);
Symbol 727 MovieClip Frame 17
if (Key.isDown(40)) {
gotoAndPlay (19);
}
Symbol 727 MovieClip Frame 25
if (Key.isDown(40)) {
gotoAndPlay (27);
}
Symbol 727 MovieClip Frame 26
gotoAndPlay (25);
Symbol 727 MovieClip Frame 36
if (Key.isDown(37)) {
gotoAndPlay (38);
}
Symbol 727 MovieClip Frame 37
gotoAndPlay (36);
Symbol 727 MovieClip Frame 38
if (Key.isDown(40)) {
_root.play();
}
Symbol 727 MovieClip Frame 39
gotoAndPlay (38);