Frame 1
fscommand ("fullscreen", "true");
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
Frame 16
stop();
Frame 17
play();
Frame 18
stop();
Instance of Symbol 151 MovieClip "progressbar" in Frame 18
onClipEvent (load) {
totalFileSize = _root.getBytesTotal();
startTime = getTimer();
startBytes = _root.getBytesLoaded();
this._xscale = 0;
}
onClipEvent (enterFrame) {
bytesLoaded = _root.getBytesLoaded();
amountLoaded = bytesLoaded / totalFileSize;
percentLoaded = int(100 * amountLoaded);
this._xscale = percentLoaded;
timeSoFar = getTimer() - startTime;
speed = bytesLoaded / timeSoFar;
bytesLeft = totalFileSize - bytesLoaded;
timeLeft = (bytesLeft / 1000) * (speed / 1000);
speed = int(10 * speed) / 10;
_root.bytesMessage = ((int(bytesLoaded / 1000) + "kb/") + int(totalFileSize / 1000)) + "kb";
_root.speedMessage = speed + "k/sec";
_root.timeMessage = int(timeLeft) + " seconds remaining";
if (amountLoaded >= 1) {
_root.gotoAndStop("complete");
}
}
Frame 19
stop();
Frame 20
stop();
Frame 21
powerLevel = 2;
dotB.gotoAndStop(2);
stop();
Frame 22
_root.gameSound.setVolume(100);
Frame 26
if (powerLevel == 1) {
power = 5;
} else if (powerLevel == 2) {
power = 2;
} else if (powerLevel == 3) {
power = 1;
}
myLives = 3;
scrollsAvailable = false;
scrollCount = 0;
enemyDown = 0;
keyTouch = 1;
Frame 222
function initGame() {
pickedUpScroll = false;
madeContact = false;
allDone = false;
nextScreen = false;
healthAmount = 20;
ninjaHit = false;
ninjaMove = 1;
ninjaLeft = false;
ninjaCrouch = false;
ninjaHealth._xscale = 100;
ninjaSwing = false;
ninjaStrength = power;
jump = false;
starCount = 10;
keyTouch = 1;
nextStarTime = 0;
nextStar = 0;
stars = [];
enemyLeft = false;
enemyHit = false;
enemySwing = false;
enemyStrength = 3;
enemyHealth._xscale = 100;
enemyBlock = false;
nextfireBall = 0;
fireBalls = [];
fireBallCount = 30;
nextIceBall = 0;
iceBalls = [];
iceBallCount = 30;
nextSuperF = 0;
superFs = [];
superFCount = 30;
swordSound = new Sound();
swordSound.attachSound("swordsClank");
gameSound = new Sound();
gameSound.attachSound("soundtrack");
}
function throwIceball() {
attachMovie("iceball", "ice" + nextIceBall, nextIceBall + 10000);
if (enemyLeft == false) {
_root["ice" + nextIceBall]._x = warrior._x - 50;
}
if (enemyLeft == true) {
_root["ice" + nextIceBall]._x = warrior._x + 50;
}
_root["Ice" + nextIceBall]._y = warrior._y - 40;
iceBalls.push(nextIceBall);
nextIceBall++;
iceBallCount--;
}
function moveIceball() {
c = iceBalls.length - 1;
while (c >= 0) {
i_Ball = _root["ice" + iceBalls[c]];
if ((i_Ball._x < 0) || (i_Ball._x > 550)) {
i_Ball.removeMovieClip();
iceBalls.splice(c, 1);
} else if ((i_Ball.hitTest(ninja) && (jump != true)) && (ninjaCrouch != true)) {
i_Ball.gotoAndPlay(10);
ninjaHit = true;
ninja.gotoAndPlay(14);
ninjaHealth._xscale = ninjaHealth._xscale - 10;
} else if ((i_Ball.hitTest(ninja) && (jump != true)) && (ninjaCrouch == true)) {
i_Ball.gotoAndPlay(10);
}
c--;
}
}
function throwFireball() {
attachMovie("fireball", "fire" + nextfireBall, nextfireBall + 10000);
if (enemyLeft == false) {
_root["fire" + nextfireBall]._x = warrior._x - 50;
}
if (enemyLeft == true) {
_root["fire" + nextfireBall]._x = warrior._x + 50;
}
_root["fire" + nextfireBall]._y = warrior._y - 40;
fireBalls.push(nextfireBall);
nextfireBall++;
fireBallCount--;
}
function moveFireball() {
f = fireBalls.length - 1;
while (f >= 0) {
f_Ball = _root["fire" + fireBalls[f]];
if ((f_Ball._x < 0) || (f_Ball._x > 550)) {
f_Ball.removeMovieClip();
fireBalls.splice(f, 1);
} else if ((f_Ball.hitTest(ninja) && (jump != true)) && (ninjaCrouch != true)) {
f_Ball.gotoAndPlay(10);
ninjaHit = true;
ninja.gotoAndPlay(14);
ninjaHealth._xscale = ninjaHealth._xscale - 10;
} else if ((f_Ball.hitTest(ninja) && (jump != true)) && (ninjaCrouch == true)) {
f_Ball.gotoAndPlay(10);
}
f--;
}
}
function throwStars() {
if (getTimer() > nextStarTime) {
attachMovie("star", "star" + nextStar, nextStar + 9999);
if (ninjaLeft == true) {
_root["star" + nextStar]._x = ninja._x - 50;
}
if (ninjaLeft == false) {
_root["star" + nextStar]._x = ninja._x + 50;
}
_root["star" + nextStar]._y = ninja._y - 40;
stars.push(nextStar);
nextStar++;
nextStarTime = getTimer() + 500;
starCount--;
}
}
function moveStars() {
n = stars.length - 1;
while (n >= 0) {
star = _root["star" + stars[n]];
if ((star._x < 0) || (star._x > 550)) {
star.removeMovieClip();
stars.splice(n, 1);
} else if (star.hitTest(warrior)) {
warrior.gotoAndStop(3);
star.removeMovieClip();
enemyHealth._xscale = enemyHealth._xscale - 5;
}
n--;
}
}
function superFlash() {
attachMovie("superFlash", "superF" + nextSuperF, nextSuperF + 9999);
if (enemyLeft == false) {
_root["superF" + nextSuperF]._x = enemyFloat._x - 30;
}
if (enemyLeft == true) {
_root["superF" + nextSuperF]._x = enemyFloat._x + 30;
}
_root["superF" + nextSuperF]._y = enemyFloat._y - 60;
superFs.push(nextSuperF);
nextSuperF++;
superFCount--;
}
function resetBonus() {
if ((town._currentframe == 1) or (town._currentframe == 14)) {
scrollsAvailable = false;
} else if ((town._currentframe == 2) or (town._currentframe == 15)) {
_root.healthBottle();
} else if ((town._currentframe == 3) or (town._currentframe == 16)) {
scrollsAvailable = true;
_root.oldScrolls();
} else if ((town._currentframe == 4) or (town._currentframe == 17)) {
pickedUpScroll = false;
scrollsAvailable = false;
_root.healthBottle();
} else if ((town._currentframe == 5) or (town._currentframe == 18)) {
pickedUpScroll = false;
scrollsAvailable = true;
_root.healthBottle();
_root.oldScrolls();
} else if ((town._currentframe == 6) or (town._currentframe == 19)) {
pickedUpScroll = false;
scrollsAvailable = true;
_root.oldScrolls();
_root.healthBottle();
} else if ((town._currentframe == 7) or (town._currentframe == 20)) {
pickedUpScroll = false;
scrollsAvailable = false;
_root.healthBottle();
} else if ((town._currentframe == 8) or (town._currentframe == 21)) {
pickedUpScroll = false;
scrollsAvailable = true;
_root.healthBottle();
_root.oldScrolls();
} else if ((town._currentframe == 9) or (town._currentframe == 22)) {
pickedUpScroll = false;
scrollsAvailable = false;
if (myXtraLife == 0) {
_root.extraLife();
}
} else if ((town._currentframe == 10) or (town._currentframe == 23)) {
_root.scrollsAvailable = false;
_root.healthBottle();
} else if ((town._currentframe == 11) or (town._currentframe == 24)) {
_root.scrollsAvailable = false;
_root.healthBottle();
} else if ((town._currentframe == 12) or (town._currentframe == 25)) {
_root.scrollsAvailable = false;
_root.healthBottle();
} else if ((town._currentframe == 13) or (town._currentframe == 26)) {
_root.scrollsAvailable = true;
_root.healthBottle();
_root.oldScrolls();
}
}
function extraLife() {
myXtraLife = 1;
_root.attachMovie("life", "life", 100);
life._x = (Math.random() * 400) + 100;
life._y = 145;
}
function healthBottle() {
if (ninjaHealth._xscale < 50) {
_root.attachMovie("Health", "Health", 100);
Health._x = (Math.random() * 400) + 100;
if (paperScroll.hitTest(Health._x, Health._y, true) == true) {
Health._x = (Math.random() * 400) + 100;
}
Health._y = 145;
}
}
function oldScrolls() {
_root.attachMovie("paperScroll", "paperScroll", 200);
paperScroll._x = (Math.random() * 400) + 60;
paperScroll._y = 145;
scrollTaken = false;
scrollsAvailable = true;
}
function moveNinja() {
if ((Key.isDown(39) && (_root.keyTouch == 1)) && (ninjaCrouch != true)) {
ninjaLeft = false;
dx = 9;
ninja._xscale = Math.abs(ninja._xscale);
} else if ((Key.isDown(37) && (_root.keyTouch == 1)) && (ninjaCrouch != true)) {
ninjaLeft = true;
dx = -9;
ninja._xscale = -Math.abs(ninja._xscale);
} else {
dx = 0;
}
if (ninjaMove == 1) {
ninja._x = ninja._x + dx;
}
if ((dx != 0) && (ninja.swing.ninjaLegs._currentframe == 1)) {
ninja.swing.ninjaLegs.gotoAndPlay(2);
} else if ((dx == 0) && (ninja.swing.ninjaLegs._currentframe != 1)) {
ninja.swing.ninjaLegs.gotoAndStop(1);
}
}
function ninjaFight() {
if ((((enemySwing != true) && (enemyBlock != true)) && (ninjaSwing == true)) && (enemyHit == false)) {
warrior.gotoAndStop(3);
enemyHealth._xscale = enemyHealth._xscale - ninjaStrength;
} else if ((enemyBlock == true) && (ninjaSwing == true)) {
warrior.Eswing.Esparks.gotoAndPlay(2);
if (ninjaLeft != true) {
ninja._x = ninja._x - 5;
} else {
ninja._x = ninja._x + 5;
}
} else if (((((ninja._x < warrior._x) && (ninjaLeft != true)) && (enemySwing == true)) && (ninjaSwing != true)) && (ninjaCrouch != true)) {
ninjaHit = true;
ninja.gotoAndPlay(14);
ninja._x = ninja._x - 40;
ninjaHealth._xscale = ninjaHealth._xscale - enemyStrength;
} else if (((((ninja._x < warrior._x) && (ninjaLeft == true)) && (enemySwing == true)) && (ninjaSwing != true)) && (ninjaCrouch != true)) {
ninjaHit = true;
ninja.gotoAndPlay(14);
ninja._x = ninja._x - 40;
ninjaHealth._xscale = ninjaHealth._xscale - enemyStrength;
} else if (((((ninja._x > warrior._x) && (ninjaLeft != true)) && (enemySwing == true)) && (ninjaSwing != true)) && (ninjaCrouch != true)) {
ninjaHit = true;
ninja.gotoAndPlay(14);
ninja._x = ninja._x + 40;
ninjaHealth._xscale = ninjaHealth._xscale - enemyStrength;
} else if (((((ninja._x > warrior._x) && (ninjaLeft == true)) && (enemySwing == true)) && (ninjaSwing != true)) && (ninjaCrouch != true)) {
ninjaHit = true;
ninja.gotoAndPlay(14);
ninja._x = ninja._x + 40;
ninjaHealth._xscale = ninjaHealth._xscale - enemyStrength;
}
}
function gameTime() {
time = new Date();
hours = time.getHours();
if (hours >= 0) {
town.gotoAndStop("Nighttime");
frontStuff.gotoAndStop("stuffNight");
_root.sky.sky_red.gotoAndStop(4);
_root.sky.gotoAndStop(2);
_root.sky.moon.gotoAndStop(4);
}
if (hours >= 1) {
town.gotoAndStop("Nighttime");
frontStuff.gotoAndStop("stuffNight");
_root.sky.sky_red.gotoAndStop(4);
_root.sky.gotoAndStop(2);
_root.sky.moon.gotoAndStop(5);
}
if (hours >= 2) {
town.gotoAndStop("Nighttime");
frontStuff.gotoAndStop("stuffNight");
_root.sky.sky_red.gotoAndStop(4);
_root.sky.gotoAndStop(2);
_root.sky.moon.gotoAndStop(6);
}
if (hours >= 3) {
town.gotoAndStop("Nighttime");
frontStuff.gotoAndStop("stuffNight");
_root.sky.sky_red.gotoAndStop(4);
_root.sky.gotoAndStop(2);
_root.sky.moon.gotoAndStop(7);
}
if (hours >= 4) {
town.gotoAndStop("Nighttime");
frontStuff.gotoAndStop("stuffNight");
_root.sky.sky_red.gotoAndStop(4);
_root.sky.gotoAndStop(2);
_root.sky.moon.gotoAndStop(8);
}
if (hours >= 5) {
town.gotoAndStop("Nighttime");
frontStuff.gotoAndStop("stuffNight");
_root.sky.sky_red.gotoAndStop(4);
_root.sky.gotoAndStop(2);
_root.sky.moon.gotoAndStop(9);
}
if (hours >= 6) {
town.gotoAndStop("Daytime");
frontStuff.gotoAndStop("stuffDay");
_root.sky.sky_red.gotoAndStop(2);
_root.sky.gotoAndStop(1);
_root.sky.sun.gotoAndStop(1);
}
if (hours >= 7) {
town.gotoAndStop("Daytime");
frontStuff.gotoAndStop("stuffDay");
_root.sky.sky_red.gotoAndStop(3);
_root.sky.gotoAndStop(1);
_root.sky.sun.gotoAndStop(2);
}
if (hours >= 8) {
town.gotoAndStop("Daytime");
frontStuff.gotoAndStop("stuffDay");
_root.sky.sky_red.gotoAndStop(1);
_root.sky.gotoAndStop(1);
_root.sky.sun.gotoAndStop(3);
}
if (hours >= 9) {
town.gotoAndStop("Daytime");
frontStuff.gotoAndStop("stuffDay");
_root.sky.sky_red.gotoAndStop(1);
_root.sky.gotoAndStop(1);
_root.sky.sun.gotoAndStop(4);
}
if (hours >= 10) {
town.gotoAndStop("Daytime");
frontStuff.gotoAndStop("stuffDay");
_root.sky.sky_red.gotoAndStop(1);
_root.sky.gotoAndStop(1);
_root.sky.sun.gotoAndStop(5);
}
if (hours >= 11) {
town.gotoAndStop("Daytime");
frontStuff.gotoAndStop("stuffDay");
_root.sky.sky_red.gotoAndStop(1);
_root.sky.gotoAndStop(1);
_root.sky.sun.gotoAndStop(6);
}
if (hours >= 12) {
town.gotoAndStop("Daytime");
frontStuff.gotoAndStop("stuffDay");
_root.sky.sky_red.gotoAndStop(1);
_root.sky.gotoAndStop(1);
_root.sky.sun.gotoAndStop(7);
}
if (hours >= 13) {
town.gotoAndStop("Daytime");
frontStuff.gotoAndStop("stuffDay");
_root.sky.sky_red.gotoAndStop(1);
_root.sky.gotoAndStop(1);
_root.sky.sun.gotoAndStop(8);
}
if (hours >= 14) {
town.gotoAndStop("Daytime");
frontStuff.gotoAndStop("stuffDay");
_root.sky.sky_red.gotoAndStop(1);
_root.sky.gotoAndStop(1);
_root.sky.sun.gotoAndStop(9);
}
if (hours >= 15) {
town.gotoAndStop("Daytime");
frontStuff.gotoAndStop("stuffDay");
_root.sky.sky_red.gotoAndStop(1);
_root.sky.gotoAndStop(1);
_root.sky.sun.gotoAndStop(10);
}
if (hours >= 16) {
town.gotoAndStop("Daytime");
frontStuff.gotoAndStop("stuffDay");
_root.sky.sky_red.gotoAndStop(1);
_root.sky.gotoAndStop(1);
_root.sky.sun.gotoAndStop(11);
}
if (hours >= 17) {
town.gotoAndStop("Daytime");
frontStuff.gotoAndStop("stuffDay");
_root.sky.sky_red.gotoAndStop(1);
_root.sky.gotoAndStop(1);
_root.sky.sun.gotoAndStop(12);
}
if (hours >= 18) {
town.gotoAndStop("Daytime");
frontStuff.gotoAndStop("stuffDay");
_root.sky.sky_red.gotoAndStop(1);
_root.sky.gotoAndStop(1);
_root.sky.sun.gotoAndStop(13);
}
if (hours >= 19) {
town.gotoAndStop("Nighttime");
frontStuff.gotoAndStop("stuffNight");
_root.sky.sky_red.gotoAndStop(6);
_root.sky.gotoAndStop(2);
_root.sky.sun.gotoAndStop(14);
}
if (hours >= 20) {
town.gotoAndStop("Nighttime");
frontStuff.gotoAndStop("stuffNight");
_root.sky.sky_red.gotoAndStop(5);
_root.sky.gotoAndStop(2);
_root.sky.sun.gotoAndStop(15);
}
if (hours >= 21) {
town.gotoAndStop("Nighttime");
frontStuff.gotoAndStop("stuffNight");
_root.sky.sky_red.gotoAndStop(4);
_root.sky.gotoAndStop(2);
_root.sky.moon.gotoAndStop(1);
}
if (hours >= 22) {
town.gotoAndStop("Nighttime");
frontStuff.gotoAndStop("stuffNight");
_root.sky.sky_red.gotoAndStop(4);
_root.sky.gotoAndStop(2);
_root.sky.moon.gotoAndStop(2);
}
if (hours >= 23) {
town.gotoAndStop("Nighttime");
frontStuff.gotoAndStop("stuffNight");
_root.sky.sky_red.gotoAndStop(4);
_root.sky.gotoAndStop(2);
_root.sky.moon.gotoAndStop(3);
}
}
levelStart = true;
levelEnd = false;
myXtraLife = 0;
stop();
Instance of Symbol 292 MovieClip "engine" in Frame 222
onClipEvent (load) {
_root.initGame();
_root.gameTime();
}
onClipEvent (enterFrame) {
_root.moveStars();
_root.moveFireball();
_root.moveIceball();
if (((_root.ninja._x > 560) && (_root.allDone == true)) && (_root.scrolls < 5)) {
_root.ninja._x = 10;
_root.town.nextFrame();
_root.pickedUpScroll = false;
_root.frontStuff.nextFrame();
} else if ((_root.ninja._x > 560) && (_root.allDone != true)) {
_root.ninja._x = 560;
} else if (_root.ninja._x < 0) {
_root.ninja._x = 0;
} else if ((_root.ninja._x > 560) && (_root.levelEnd == true)) {
_root.ninja._x = 560;
}
_root.moveNinja();
if ((Key.isDown(65) && (_root.keyTouch == 1)) && (_root.ninjaCrouch != true)) {
_root.jump = false;
_root.ninja.swing.gotoAndPlay("swing");
_root.ninjaCrouch = false;
_root.ninjaSwing = true;
} else if ((Key.isDown(68) && (_root.keyTouch == 1)) && (_root.ninjaCrouch != true)) {
_root.jump = false;
_root.ninja.swing.gotoAndPlay("jab");
_root.ninjaCrouch = false;
_root.ninjaSwing = true;
} else if ((((Key.isDown(83) && (_root.keyTouch == 1)) && (_root.starCount > 0)) && (_root.ninja._currentframe != 13)) && (_root.ninjaHit != true)) {
_root.jump = false;
_root.ninja.swing.gotoAndPlay("throw");
_root.ninjaCrouch = false;
_root.throwStars();
} else if (Key.isDown(38) && (_root.keyTouch == 1)) {
_root.jump = true;
_root.ninjaCrouch = false;
_root.ninja.gotoAndStop(2);
} else if (Key.isDown(40) && (_root.keyTouch == 1)) {
_root.jump = false;
_root.ninjaCrouch = true;
_root.ninja.gotoAndStop(13);
} else if (((((((Key.isDown(65) != true) && (Key.isDown(83) != true)) && (Key.isDown(68) != true)) && (Key.isDown(38) != true)) && (Key.isDown(40) != true)) && (_root.jump != true)) && (_root.ninjaHit == false)) {
_root.jump = false;
_root.ninjaCrouch = false;
_root.ninjaSwing = false;
_root.ninja.swing.gotoAndStop(1);
_root.ninja.gotoAndStop(1);
}
if ((Key.isDown(38) && (Key.isDown(39))) && (_root.keyTouch == 1)) {
_root.jump = true;
_root.ninjaCrouch = false;
_root.ninja.gotoAndStop(11);
}
if ((Key.isDown(38) && (Key.isDown(37))) && (_root.keyTouch == 1)) {
_root.jump = true;
_root.ninjaCrouch = false;
_root.ninja.gotoAndStop(11);
}
if (_root.ninjaHealth._xscale <= 0) {
_root.ninjaHealth._xscale = 0;
_root.ninja.gotoAndPlay(25);
_root.warrior.gotoAndStop(45);
}
if (_root.enemyHealth._xscale <= 0) {
_root.enemyHealth._xscale = 0;
_root.warrior.gotoAndPlay(4);
}
if (((_root.scrollsAvailable == false) && (_root.nextScreen == true)) && (_root.levelEnd != true)) {
_root.nextMC.gotoAndStop(2);
_root.allDone = true;
} else if ((((_root.enemyDown == 13) && (_root.levelEnd == true)) && (_root.scrollCount == 5)) && (_root.jump != true)) {
_root.ninja.gotoAndStop(85);
} else {
_root.allDone = false;
}
}
Frame 223
enemyDisplay.gotoAndStop(1);
stop();
Instance of Symbol 111 MovieClip [Enemy] "warrior" in Frame 223
onClipEvent (enterFrame) {
if (((_root.ninja._x > this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = -Math.abs(this._xscale);
_root.enemyLeft = true;
} else if (((_root.ninja._x <= this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = Math.abs(this._xscale);
_root.enemyLeft = false;
}
if ((((_x > (_root.ninja._x + 140)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.ninja._x - 140)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x + ((Math.random() * 5) + 3));
} else if ((_x <= (_root.ninja._x + 45)) || (_x >= (_root.ninja._x - 45))) {
if ((((_root.enemyHit != true) && (this._currentframe != 3)) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this.gotoAndStop(2);
}
}
if (this._x < 10) {
this.gotoAndPlay(50);
} else if (this._x > 535) {
this.gotoAndPlay(50);
}
}
Instance of Symbol 337 MovieClip "ninja" in Frame 223
onClipEvent (enterFrame) {
if (this.hitTest(_root.warrior) && (this._y >= _root.warrior._y)) {
if ((_root.ninjaCrouch == true) && (_root.enemySwing == true)) {
_root.ninjaMove = 0;
_root.swordSound.start();
this.sparks.gotoAndPlay(2);
} else if ((_root.ninjaSwing == true) && (_root.enemySwing == true)) {
_root.ninjaMove = 0;
_root.swordSound.start();
} else if ((_root.enemyBlock == true) && (_root.ninjaSwing == true)) {
_root.swordSound.start();
_root.ninjaMove = 0;
}
_root.ninjaFight();
} else {
_root.ninjaMove = 1;
}
if (this.hitTest(_root.Health)) {
_root.ninjaHealth._xscale = _root.ninjaHealth._xscale + _root.healthAmount;
_root.Health.gotoAndStop(2);
if (_root.ninjaHealth._xscale > 100) {
_root.ninjaHealth._xscale = 100;
}
_root.Health.removeMovieClip();
} else if (this.hitTest(_root.life)) {
_root.life.gotoAndPlay(2);
} else if (this.hitTest(_root.paperScroll)) {
_root.paperScroll.gotoAndStop(2);
_root.pickedUpScroll = true;
_root.scrollCount++;
_root.paperScroll.removeMovieClip();
_root.scrollsAvailable = false;
}
}
Frame 224
enemyDisplay.gotoAndStop(2);
stop();
Instance of Symbol 90 MovieClip [enemyRed] "warrior" in Frame 224
onClipEvent (enterFrame) {
if (((_root.ninja._x > this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = -Math.abs(this._xscale);
_root.enemyLeft = true;
} else if (((_root.ninja._x <= this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = Math.abs(this._xscale);
_root.enemyLeft = false;
}
if ((((_x > (_root.ninja._x + 140)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.ninja._x - 140)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x + ((Math.random() * 5) + 3));
} else if ((_x <= (_root.ninja._x + 45)) || (_x >= (_root.ninja._x - 45))) {
if ((((_root.enemyHit != true) && (this._currentframe != 3)) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this.gotoAndStop(2);
}
}
if (this._x < 10) {
this.gotoAndPlay(50);
} else if (this._x > 535) {
this.gotoAndPlay(50);
}
}
Frame 225
enemyDisplay.gotoAndStop(3);
stop();
Instance of Symbol 379 MovieClip "warrior" in Frame 225
onClipEvent (enterFrame) {
if (((_root.ninja._x > this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = -Math.abs(this._xscale);
_root.enemyLeft = true;
} else if (((_root.ninja._x <= this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = Math.abs(this._xscale);
_root.enemyLeft = false;
}
if ((((_x > (_root.ninja._x + 140)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.ninja._x - 140)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x + ((Math.random() * 5) + 3));
} else if ((_x <= (_root.ninja._x + 30)) || (_x >= (_root.ninja._x - 30))) {
if ((((_root.enemyHit != true) && (this._currentframe != 3)) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this.gotoAndStop(2);
}
}
if (this._x < 10) {
this.gotoAndPlay(50);
} else if (this._x > 535) {
this.gotoAndPlay(50);
}
}
Frame 226
enemyDisplay.gotoAndStop(2);
stop();
Instance of Symbol 90 MovieClip [enemyRed] "warrior" in Frame 226
onClipEvent (enterFrame) {
if (((_root.ninja._x > this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = -Math.abs(this._xscale);
_root.enemyLeft = true;
} else if (((_root.ninja._x <= this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = Math.abs(this._xscale);
_root.enemyLeft = false;
}
if ((((_x > (_root.ninja._x + 140)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.ninja._x - 140)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x + ((Math.random() * 5) + 3));
} else if ((_x <= (_root.ninja._x + 45)) || (_x >= (_root.ninja._x - 45))) {
if ((((_root.enemyHit != true) && (this._currentframe != 3)) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this.gotoAndStop(2);
}
}
if (this._x < 10) {
this.gotoAndPlay(50);
} else if (this._x > 535) {
this.gotoAndPlay(50);
}
}
Frame 227
enemyDisplay.gotoAndStop(4);
stop();
Instance of Symbol 406 MovieClip "warrior" in Frame 227
onClipEvent (enterFrame) {
if (((_root.ninja._x > this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = -Math.abs(this._xscale);
_root.enemyLeft = true;
} else if (((_root.ninja._x <= this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = Math.abs(this._xscale);
_root.enemyLeft = false;
}
if ((((_x > (_root.ninja._x + 140)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.ninja._x - 140)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x + ((Math.random() * 5) + 3));
} else if ((_x <= (_root.ninja._x + 45)) || (_x >= (_root.ninja._x - 45))) {
if ((((_root.enemyHit != true) && (this._currentframe != 3)) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this.gotoAndStop(2);
}
}
if (this._x < 10) {
this.gotoAndPlay(50);
} else if (this._x > 535) {
this.gotoAndPlay(50);
}
}
Frame 228
enemyDisplay.gotoAndStop(5);
stop();
Instance of Symbol 440 MovieClip "warrior" in Frame 228
onClipEvent (enterFrame) {
if (((_root.ninja._x > this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = -Math.abs(this._xscale);
_root.enemyLeft = true;
} else if (((_root.ninja._x <= this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = Math.abs(this._xscale);
_root.enemyLeft = false;
}
if (((((_x > (_root.ninja._x + 140)) && (this._name != "dead")) && (this._name != "enemyFloat")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if (((((_x < (_root.ninja._x - 140)) && (this._name != "dead")) && (this._name != "enemyFloat")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x + ((Math.random() * 5) + 3));
} else if ((_x <= (_root.ninja._x + 45)) || (_x >= (_root.ninja._x - 45))) {
if (((((_root.enemyHit != true) && (this._currentframe != 3)) && (this._name != "enemyFloat")) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this.gotoAndStop(2);
}
}
if (this._x < 10) {
this.gotoAndPlay(50);
} else if (this._x > 535) {
this.gotoAndPlay(50);
}
}
Frame 229
enemyDisplay.gotoAndStop(4);
stop();
Instance of Symbol 406 MovieClip "warrior" in Frame 229
onClipEvent (enterFrame) {
if (((_root.ninja._x > this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = -Math.abs(this._xscale);
_root.enemyLeft = true;
} else if (((_root.ninja._x <= this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = Math.abs(this._xscale);
_root.enemyLeft = false;
}
if ((((_x > (_root.ninja._x + 140)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.ninja._x - 140)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x + ((Math.random() * 5) + 3));
} else if ((_x <= (_root.ninja._x + 45)) || (_x >= (_root.ninja._x - 45))) {
if ((((_root.enemyHit != true) && (this._currentframe != 3)) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this.gotoAndStop(2);
}
}
if (this._x < 10) {
this.gotoAndPlay(50);
} else if (this._x > 535) {
this.gotoAndPlay(50);
}
}
Frame 230
enemyDisplay.gotoAndStop(2);
stop();
Instance of Symbol 90 MovieClip [enemyRed] "warrior" in Frame 230
onClipEvent (enterFrame) {
if (((_root.ninja._x > this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = -Math.abs(this._xscale);
_root.enemyLeft = true;
} else if (((_root.ninja._x <= this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = Math.abs(this._xscale);
_root.enemyLeft = false;
}
if ((((_x > (_root.ninja._x + 140)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.ninja._x - 140)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x + ((Math.random() * 5) + 3));
} else if ((_x <= (_root.ninja._x + 45)) || (_x >= (_root.ninja._x - 45))) {
if ((((_root.enemyHit != true) && (this._currentframe != 3)) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this.gotoAndStop(2);
}
}
if (this._x < 10) {
this.gotoAndPlay(50);
} else if (this._x > 535) {
this.gotoAndPlay(50);
}
}
Frame 231
enemyDisplay.gotoAndStop(3);
stop();
Instance of Symbol 379 MovieClip "warrior" in Frame 231
onClipEvent (enterFrame) {
if (((_root.ninja._x > this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = -Math.abs(this._xscale);
_root.enemyLeft = true;
} else if (((_root.ninja._x <= this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = Math.abs(this._xscale);
_root.enemyLeft = false;
}
if ((((_x > (_root.ninja._x + 140)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.ninja._x - 140)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x + ((Math.random() * 5) + 3));
} else if ((_x <= (_root.ninja._x + 45)) || (_x >= (_root.ninja._x - 45))) {
if ((((_root.enemyHit != true) && (this._currentframe != 3)) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this.gotoAndStop(2);
}
}
if (this._x < 10) {
this.gotoAndPlay(50);
} else if (this._x > 535) {
this.gotoAndPlay(50);
}
}
Frame 232
removeMovieClip("life");
enemyDisplay.gotoAndStop(6);
stop();
Instance of Symbol 471 MovieClip "warrior" in Frame 232
onClipEvent (enterFrame) {
if (((_root.ninja._x > this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = -Math.abs(this._xscale);
_root.enemyLeft = true;
} else if (((_root.ninja._x <= this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = Math.abs(this._xscale);
_root.enemyLeft = false;
}
if ((((_x > (_root.ninja._x + 140)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.ninja._x - 140)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x + ((Math.random() * 5) + 3));
} else if ((_x <= (_root.ninja._x + 45)) || (_x >= (_root.ninja._x - 45))) {
if ((((_root.enemyHit != true) && (this._currentframe != 3)) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this.gotoAndStop(2);
}
}
if (this._x < 10) {
this.gotoAndPlay(50);
} else if (this._x > 535) {
this.gotoAndPlay(50);
}
}
Frame 233
enemyDisplay.gotoAndStop(5);
stop();
Instance of Symbol 440 MovieClip "warrior" in Frame 233
onClipEvent (enterFrame) {
if (((_root.ninja._x > this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = -Math.abs(this._xscale);
_root.enemyLeft = true;
} else if (((_root.ninja._x <= this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = Math.abs(this._xscale);
_root.enemyLeft = false;
}
if (((((_x > (_root.ninja._x + 140)) && (this._name != "dead")) && (this._name != "enemyFloat")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if (((((_x < (_root.ninja._x - 140)) && (this._name != "dead")) && (this._name != "enemyFloat")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x + ((Math.random() * 5) + 3));
} else if ((_x <= (_root.ninja._x + 45)) || (_x >= (_root.ninja._x - 45))) {
if (((((_root.enemyHit != true) && (this._currentframe != 3)) && (this._name != "enemyFloat")) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this.gotoAndStop(2);
}
}
if (this._x < 10) {
this.gotoAndPlay(50);
} else if (this._x > 535) {
this.gotoAndPlay(50);
}
}
Frame 234
enemyDisplay.gotoAndStop(3);
stop();
Instance of Symbol 379 MovieClip "warrior" in Frame 234
onClipEvent (enterFrame) {
if (((_root.ninja._x > this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = -Math.abs(this._xscale);
_root.enemyLeft = true;
} else if (((_root.ninja._x <= this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = Math.abs(this._xscale);
_root.enemyLeft = false;
}
if ((((_x > (_root.ninja._x + 140)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 3));
} else if ((((_x < (_root.ninja._x - 140)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x + ((Math.random() * 5) + 3));
} else if ((_x <= (_root.ninja._x + 45)) || (_x >= (_root.ninja._x - 45))) {
if ((((_root.enemyHit != true) && (this._currentframe != 3)) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this.gotoAndStop(2);
}
}
if (this._x < 10) {
this.gotoAndPlay(50);
} else if (this._x > 535) {
this.gotoAndPlay(50);
}
}
Frame 235
enemyDisplay.gotoAndStop(7);
if (power > 3) {
power = 3;
}
stop();
Instance of Symbol 498 MovieClip "warrior" in Frame 235
onClipEvent (enterFrame) {
if (((_root.ninja._x > this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = -Math.abs(this._xscale);
_root.enemyLeft = true;
} else if (((_root.ninja._x <= this._x) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this._xscale = Math.abs(this._xscale);
_root.enemyLeft = false;
}
if ((((_x > (_root.ninja._x + 120)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x - ((Math.random() * 5) + 5));
} else if ((((_x < (_root.ninja._x - 120)) && (this._name != "dead")) && (_root.enemyHit != true)) && (this._name != "enemyRoll")) {
this.gotoAndStop(1);
_x = (_x + ((Math.random() * 5) + 5));
} else if ((_x <= (_root.ninja._x + 70)) || (_x >= (_root.ninja._x - 70))) {
if ((((_root.enemyHit != true) && (this._currentframe != 3)) && (this._name != "dead")) && (this._name != "enemyRoll")) {
this.gotoAndStop(2);
}
}
if (this._x < 10) {
this.gotoAndPlay(50);
} else if (this._x > 535) {
this.gotoAndPlay(50);
}
}
Frame 236
stop();
Symbol 16 MovieClip [enemyDie] Frame 50
_parent.removeMovieClip();
stop();
Symbol 18 MovieClip [star] Frame 1
if (_root.ninjaLeft == true) {
gotoAndPlay (2);
} else {
gotoAndPlay (6);
}
Symbol 18 MovieClip [star] Frame 2
this._x = this._x - 15;
Symbol 18 MovieClip [star] Frame 4
this._x = this._x - 15;
Symbol 18 MovieClip [star] Frame 5
gotoAndPlay (2);
Symbol 18 MovieClip [star] Frame 6
this._x = this._x + 15;
Symbol 18 MovieClip [star] Frame 8
this._x = this._x + 15;
Symbol 18 MovieClip [star] Frame 9
gotoAndPlay (6);
Symbol 24 MovieClip [Health] Frame 1
stop();
Symbol 24 MovieClip [Health] Frame 2
stop();
Symbol 30 MovieClip [iceball] Frame 1
if (_root.enemyLeft == true) {
gotoAndPlay (6);
} else {
gotoAndPlay (2);
}
Symbol 30 MovieClip [iceball] Frame 2
this._x = this._x - 15;
Symbol 30 MovieClip [iceball] Frame 4
this._x = this._x - 15;
Symbol 30 MovieClip [iceball] Frame 5
gotoAndPlay (2);
Symbol 30 MovieClip [iceball] Frame 6
this._x = this._x + 15;
Symbol 30 MovieClip [iceball] Frame 8
this._x = this._x + 15;
Symbol 30 MovieClip [iceball] Frame 9
gotoAndPlay (6);
Symbol 30 MovieClip [iceball] Frame 10
this._name = "fireExplode";
Symbol 30 MovieClip [iceball] Frame 14
this.removeMovieClip();
stop();
Symbol 37 MovieClip [superFlash] Frame 1
if (_root.enemyLeft == true) {
gotoAndPlay (6);
} else {
gotoAndPlay (2);
}
Instance of Symbol 33 MovieClip in Symbol 37 MovieClip [superFlash] Frame 2
onClipEvent (enterFrame) {
_parent._y = _parent._y + 30;
_parent._x = _parent._x - 5;
if (_parent._y > 380) {
_parent.gotoAndPlay(10);
}
if (_parent.hitTest(_root.ninja) && (_root.jump != true)) {
_root.ninjaHit = true;
_root.ninja.gotoAndPlay(14);
_root.ninjaHealth._xscale = _root.ninjaHealth._xscale - 15;
_parent.gotoAndPlay(10);
}
}
Symbol 37 MovieClip [superFlash] Frame 5
gotoAndPlay (2);
Instance of Symbol 33 MovieClip in Symbol 37 MovieClip [superFlash] Frame 6
onClipEvent (enterFrame) {
_parent._y = _parent._y + 30;
_parent._x = _parent._x + 5;
if (_parent._y > 380) {
_parent.gotoAndPlay(10);
}
if (_parent.hitTest(_root.ninja) && (_root.jump != true)) {
_root.ninjaHit = true;
_root.ninja.gotoAndPlay(14);
_root.ninjaHealth._xscale = _root.ninjaHealth._xscale - 15;
_parent.gotoAndPlay(10);
}
}
Symbol 37 MovieClip [superFlash] Frame 9
gotoAndPlay (6);
Symbol 37 MovieClip [superFlash] Frame 10
this._name = "fireExplode";
Symbol 37 MovieClip [superFlash] Frame 12
this.removeMovieClip();
stop();
Symbol 40 MovieClip [fireball] Frame 1
if (_root.enemyLeft == true) {
gotoAndPlay (6);
} else {
gotoAndPlay (2);
}
Symbol 40 MovieClip [fireball] Frame 2
this._x = this._x - 15;
Symbol 40 MovieClip [fireball] Frame 4
this._x = this._x - 15;
Symbol 40 MovieClip [fireball] Frame 5
gotoAndPlay (2);
Symbol 40 MovieClip [fireball] Frame 6
this._x = this._x + 15;
Symbol 40 MovieClip [fireball] Frame 8
this._x = this._x + 15;
Symbol 40 MovieClip [fireball] Frame 9
gotoAndPlay (6);
Symbol 40 MovieClip [fireball] Frame 10
this._name = "fireExplode";
Symbol 40 MovieClip [fireball] Frame 12
this.removeMovieClip();
stop();
Symbol 43 MovieClip [paperScroll] Frame 1
stop();
Symbol 43 MovieClip [paperScroll] Frame 2
stop();
Symbol 47 MovieClip [life] Frame 1
stop();
Symbol 47 MovieClip [life] Frame 2
if (_root.myLifes >= 0) {
_root.myLives = _root.myLives + 1;
}
this._name = "done";
Symbol 47 MovieClip [life] Frame 35
this.removeMovieClip();
stop();
Symbol 74 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 1
_root.enemySwing = false;
var myAction = random(20);
play();
Symbol 75 MovieClip Frame 4
if (myAction <= 5) {
gotoAndPlay (5);
} else if ((myAction >= 12) && (myAction <= 16)) {
gotoAndPlay (14);
} else if ((myAction > 16) && (myAction <= 20)) {
gotoAndPlay (25);
} else {
gotoAndPlay (1);
}
Symbol 75 MovieClip Frame 9
_root.enemySwing = true;
Symbol 75 MovieClip Frame 13
gotoAndPlay (1);
Symbol 75 MovieClip Frame 23
_root.enemySwing = true;
Symbol 75 MovieClip Frame 24
gotoAndPlay (1);
Symbol 75 MovieClip Frame 25
_root.enemyBlock = true;
Symbol 75 MovieClip Frame 50
_root.enemyBlock = false;
gotoAndPlay (1);
Instance of Symbol 76 MovieClip in Symbol 81 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.enemyLeft == true) {
_parent._parent._x = _parent._parent._x - 50;
} else {
_parent._parent._x = _parent._parent._x + 50;
}
}
Symbol 81 MovieClip Frame 30
_root.enemyHit = false;
_parent.gotoAndStop(2);
Symbol 90 MovieClip [enemyRed] Frame 1
stop();
Symbol 90 MovieClip [enemyRed] Frame 2
this._name = "warrior";
stop();
Symbol 90 MovieClip [enemyRed] Frame 3
stop();
Symbol 90 MovieClip [enemyRed] Frame 4
_root.enemyDown = _root.enemyDown + 1;
this._name = "dead";
play();
Symbol 90 MovieClip [enemyRed] Frame 41
_root.nextScreen = true;
stop();
Symbol 90 MovieClip [enemyRed] Frame 45
this._name = "dead";
stop();
Symbol 90 MovieClip [enemyRed] Frame 50
this._name = "enemyRoll";
play();
Symbol 90 MovieClip [enemyRed] Frame 51
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 90 MovieClip [enemyRed] Frame 54
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 90 MovieClip [enemyRed] Frame 59
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 90 MovieClip [enemyRed] Frame 63
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 90 MovieClip [enemyRed] Frame 66
gotoAndStop (2);
Symbol 107 MovieClip Frame 1
_root.enemySwing = false;
var myAction = random(30);
play();
Symbol 107 MovieClip Frame 3
if (myAction <= 5) {
gotoAndPlay (4);
} else if ((myAction > 15) && (myAction <= 20)) {
gotoAndPlay (13);
} else if ((myAction > 20) && (myAction <= 30)) {
gotoAndPlay (25);
} else {
gotoAndPlay (1);
}
Symbol 107 MovieClip Frame 8
_root.enemySwing = true;
Symbol 107 MovieClip Frame 12
gotoAndPlay (1);
Symbol 107 MovieClip Frame 22
_root.enemySwing = true;
Symbol 107 MovieClip Frame 23
gotoAndPlay (1);
Symbol 107 MovieClip Frame 25
_root.enemyBlock = true;
Symbol 107 MovieClip Frame 50
_root.enemyBlock = false;
gotoAndPlay (1);
Symbol 109 MovieClip Frame 1
play();
Instance of Symbol 108 MovieClip in Symbol 109 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.enemyLeft == true) {
_parent._parent._x = _parent._parent._x - 50;
} else {
_parent._parent._x = _parent._parent._x + 50;
}
}
Symbol 109 MovieClip Frame 30
_root.enemyHit = false;
_parent.gotoAndStop(2);
Symbol 111 MovieClip [Enemy] Frame 1
stop();
Symbol 111 MovieClip [Enemy] Frame 2
this._name = "warrior";
stop();
Symbol 111 MovieClip [Enemy] Frame 3
stop();
Symbol 111 MovieClip [Enemy] Frame 4
this._name = "dead";
_root.enemyDown = _root.enemyDown + 1;
play();
Symbol 111 MovieClip [Enemy] Frame 41
_root.nextScreen = true;
stop();
Symbol 111 MovieClip [Enemy] Frame 45
this._name = "dead";
stop();
Symbol 111 MovieClip [Enemy] Frame 50
this._name = "enemyRoll";
play();
Symbol 111 MovieClip [Enemy] Frame 51
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 111 MovieClip [Enemy] Frame 54
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 111 MovieClip [Enemy] Frame 59
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 111 MovieClip [Enemy] Frame 63
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 111 MovieClip [Enemy] Frame 66
gotoAndStop (2);
Symbol 127 MovieClip Frame 174
_root.nextFrame();
stop();
Symbol 138 Button
on (release) {
getURL ("http://www.miniclip.com/Homepage.htm", "_blank");
}
Symbol 139 MovieClip Frame 1
stop();
Symbol 142 Button
on (release) {
getURL ("http://www.miniclip.com/Homepage.htm", "_blank");
}
Symbol 145 Button
on (release) {
getURL ("http://www.miniclip.com/signup.htm", "_blank");
}
Symbol 148 Button
on (release) {
getURL ("http://www.miniclip.com/download_ninja.htm", "_blank");
}
Symbol 161 Button
on (release) {
gotoAndStop (20);
}
Symbol 175 Button
on (release) {
nextFrame();
}
Symbol 177 Button
on (release) {
gotoAndPlay (22);
}
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 2
stop();
Symbol 183 Button
on (release) {
_root.dotA.gotoAndStop(2);
_root.dotB.gotoAndStop(1);
_root.dotC.gotoAndStop(1);
_root.powerLevel = 1;
}
Symbol 186 Button
on (release) {
_root.dotA.gotoAndStop(1);
_root.dotB.gotoAndStop(2);
_root.dotC.gotoAndStop(1);
_root.powerLevel = 2;
}
Symbol 189 Button
on (release) {
_root.dotA.gotoAndStop(1);
_root.dotB.gotoAndStop(1);
_root.dotC.gotoAndStop(2);
_root.powerLevel = 3;
}
Symbol 199 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 2
stop();
Symbol 205 MovieClip Frame 3
stop();
Symbol 205 MovieClip Frame 4
stop();
Symbol 205 MovieClip Frame 5
stop();
Symbol 205 MovieClip Frame 6
stop();
Symbol 205 MovieClip Frame 7
stop();
Symbol 205 MovieClip Frame 8
stop();
Symbol 205 MovieClip Frame 9
stop();
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 2
stop();
Symbol 259 MovieClip Frame 1
_root.levelStart = true;
_root.scrollsAvailable = false;
stop();
Symbol 259 MovieClip Frame 2
_root.nextFrame();
_root.scrollsAvailable = false;
_root.healthBottle();
_root.enemyStrength = 5;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.levelStart = false;
_root.nextScreen = false;
_root.warrior._x = 300;
stop();
Symbol 259 MovieClip Frame 3
_root.nextFrame();
_root.scrollsAvailable = true;
_root.healthAmount = 50;
_root.oldScrolls();
_root.enemyStrength = 15;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.levelStart = false;
_root.nextScreen = false;
_root.warrior._x = 300;
stop();
Symbol 259 MovieClip Frame 4
_root.nextFrame();
_root.scrollsAvailable = false;
_root.healthAmount = 50;
_root.healthBottle();
_root.enemyStrength = 23;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.levelStart = false;
_root.nextScreen = false;
_root.warrior._x = 500;
stop();
Symbol 259 MovieClip Frame 5
_root.nextFrame();
_root.scrollsAvailable = true;
_root.healthAmount = 30;
_root.healthBottle();
_root.oldScrolls();
_root.enemyStrength = 20;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.levelStart = false;
_root.nextScreen = false;
_root.warrior._x = 500;
stop();
Symbol 259 MovieClip Frame 6
_root.nextFrame();
_root.healthAmount = 50;
_root.scrollsAvailable = true;
_root.healthBottle();
_root.oldScrolls();
_root.enemyStrength = 22;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.levelStart = false;
_root.nextScreen = false;
_root.warrior._x = 500;
stop();
Symbol 259 MovieClip Frame 7
_root.nextFrame();
_root.scrollsAvailable = false;
_root.healthAmount = 50;
_root.healthBottle();
_root.enemyStrength = 20;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.levelStart = false;
_root.nextScreen = false;
_root.warrior._x = 500;
stop();
Symbol 259 MovieClip Frame 8
_root.nextFrame();
_root.healthAmount = 30;
_root.scrollsAvailable = true;
_root.healthBottle();
_root.oldScrolls();
_root.enemyStrength = 24;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.nextScreen = false;
_root.warrior._x = 500;
stop();
Symbol 259 MovieClip Frame 9
_root.nextFrame();
_root.scrollsAvailable = false;
_root.healthAmount = 50;
_root.extraLife();
_root.enemyStrength = 15;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.nextScreen = false;
_root.warrior._x = 500;
stop();
Symbol 259 MovieClip Frame 10
_root.nextFrame();
_root.scrollsAvailable = false;
_root.healthAmount = 30;
_root.healthBottle();
_root.enemyStrength = 35;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.nextScreen = false;
_root.warrior._x = 500;
stop();
Symbol 259 MovieClip Frame 11
_root.nextFrame();
_root.scrollsAvailable = false;
_root.healthAmount = 20;
_root.healthBottle();
_root.enemyStrength = 20;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.nextScreen = false;
_root.warrior._x = 500;
stop();
Symbol 259 MovieClip Frame 12
_root.nextFrame();
_root.scrollsAvailable = false;
_root.healthAmount = 20;
_root.healthBottle();
_root.enemyStrength = 25;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.nextScreen = false;
_root.warrior._x = 500;
stop();
Symbol 259 MovieClip Frame 13
_root.nextFrame();
_root.healthAmount = 20;
_root.scrollsAvailable = true;
_root.healthBottle();
_root.oldScrolls();
_root.enemyStrength = 35;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.levelEnd = true;
_root.nextScreen = false;
_root.warrior._x = 520;
stop();
Symbol 259 MovieClip Frame 14
_root.levelStart = true;
_root.scrollsAvailable = false;
stop();
Symbol 259 MovieClip Frame 15
_root.nextFrame();
_root.scrollsAvailable = false;
_root.healthBottle();
_root.enemyStrength = 5;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.levelStart = false;
_root.nextScreen = false;
_root.warrior._x = 300;
stop();
Symbol 259 MovieClip Frame 16
_root.nextFrame();
_root.scrollsAvailable = true;
_root.healthAmount = 50;
_root.oldScrolls();
_root.enemyStrength = 15;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.levelStart = false;
_root.nextScreen = false;
_root.warrior._x = 300;
stop();
Symbol 259 MovieClip Frame 17
_root.nextFrame();
_root.scrollsAvailable = false;
_root.healthAmount = 50;
_root.healthBottle();
_root.enemyStrength = 23;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.levelStart = false;
_root.nextScreen = false;
_root.warrior._x = 500;
stop();
Symbol 259 MovieClip Frame 18
_root.nextFrame();
_root.scrollsAvailable = true;
_root.healthAmount = 30;
_root.healthBottle();
_root.oldScrolls();
_root.enemyStrength = 20;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.levelStart = false;
_root.nextScreen = false;
_root.warrior._x = 500;
stop();
Symbol 259 MovieClip Frame 19
_root.nextFrame();
_root.healthAmount = 50;
_root.scrollsAvailable = true;
_root.healthBottle();
_root.oldScrolls();
_root.enemyStrength = 22;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.levelStart = false;
_root.nextScreen = false;
_root.warrior._x = 500;
stop();
Symbol 259 MovieClip Frame 20
_root.nextFrame();
_root.scrollsAvailable = false;
_root.healthAmount = 50;
_root.healthBottle();
_root.enemyStrength = 20;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.levelStart = false;
_root.nextScreen = false;
_root.warrior._x = 500;
stop();
Symbol 259 MovieClip Frame 21
_root.nextFrame();
_root.healthAmount = 30;
_root.scrollsAvailable = true;
_root.healthBottle();
_root.oldScrolls();
_root.enemyStrength = 24;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.nextScreen = false;
_root.warrior._x = 500;
stop();
Symbol 259 MovieClip Frame 22
_root.nextFrame();
_root.scrollsAvailable = false;
_root.healthAmount = 50;
_root.extraLife();
_root.enemyStrength = 15;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.nextScreen = false;
_root.warrior._x = 500;
stop();
Symbol 259 MovieClip Frame 23
_root.nextFrame();
_root.scrollsAvailable = false;
_root.healthAmount = 30;
_root.healthBottle();
_root.enemyStrength = 35;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.nextScreen = false;
_root.warrior._x = 500;
stop();
Symbol 259 MovieClip Frame 24
_root.nextFrame();
_root.scrollsAvailable = false;
_root.healthAmount = 20;
_root.healthBottle();
_root.enemyStrength = 20;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.nextScreen = false;
_root.warrior._x = 500;
stop();
Symbol 259 MovieClip Frame 25
_root.nextFrame();
_root.scrollsAvailable = false;
_root.healthAmount = 20;
_root.healthBottle();
_root.enemyStrength = 25;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.nextScreen = false;
_root.warrior._x = 500;
stop();
Symbol 259 MovieClip Frame 26
_root.nextFrame();
_root.healthAmount = 20;
_root.scrollsAvailable = true;
_root.healthBottle();
_root.oldScrolls();
_root.enemyStrength = 30;
_root.nextMC.gotoAndStop(1);
_root.enemyHealth._xscale = 100;
_root.levelEnd = true;
_root.nextScreen = false;
_root.warrior._x = 520;
stop();
Symbol 263 MovieClip Frame 1
stop();
Symbol 268 Button
on (keyPress "<Space>") {
_root.nextFrame();
}
Symbol 274 MovieClip Frame 30
stop();
Symbol 291 MovieClip Frame 1
stop();
Symbol 300 Button
on (press) {
gotoAndStop (2);
}
Symbol 302 Button
on (press) {
gotoAndStop (1);
}
Symbol 303 MovieClip Frame 1
_root.gameSound.start(0, 1000);
_root.gameSound.setVolume(35);
stop();
Symbol 303 MovieClip Frame 2
_root.gameSound.stop();
stop();
Symbol 309 MovieClip Frame 1
stop();
Symbol 309 MovieClip Frame 2
stop();
Symbol 309 MovieClip Frame 3
stop();
Symbol 309 MovieClip Frame 4
stop();
Symbol 309 MovieClip Frame 5
stop();
Symbol 309 MovieClip Frame 6
stop();
Symbol 309 MovieClip Frame 7
stop();
Symbol 321 MovieClip Frame 1
stop();
Symbol 321 MovieClip Frame 2
stop();
Symbol 330 MovieClip Frame 1
_root.keyTouch = 1;
stop();
Symbol 330 MovieClip Frame 2
_root.keyTouch = 0;
Symbol 330 MovieClip Frame 5
_root.ninjaSwing = false;
stop();
Symbol 330 MovieClip Frame 6
_root.keyTouch = 0;
Symbol 330 MovieClip Frame 9
_root.ninjaSwing = false;
stop();
Symbol 330 MovieClip Frame 10
_root.keyTouch = 0;
Symbol 330 MovieClip Frame 13
stop();
Symbol 332 MovieClip Frame 2
stop();
Symbol 332 MovieClip Frame 3
stop();
Symbol 337 MovieClip Frame 1
this._name = "ninja";
_root.ninjaHit = false;
stop();
Symbol 337 MovieClip Frame 2
stop();
Instance of Symbol 332 MovieClip in Symbol 337 MovieClip Frame 2
onClipEvent (load) {
_root.keyTouch = 0;
}
onClipEvent (enterFrame) {
_parent._y = _parent._y - 35;
if (_parent._y < 100) {
_parent.gotoAndStop(3);
}
}
Symbol 337 MovieClip Frame 3
stop();
Instance of Symbol 263 MovieClip in Symbol 337 MovieClip Frame 3
onClipEvent (enterFrame) {
_parent._y = _parent._y + 20;
if (_parent._y > 365) {
_parent._y = 365;
_parent.gotoAndPlay(4);
}
}
Symbol 337 MovieClip Frame 4
play();
Symbol 337 MovieClip Frame 5
_root.keyTouch = 1;
_root.jump = false;
Symbol 337 MovieClip Frame 10
gotoAndStop (1);
Symbol 337 MovieClip Frame 11
stop();
Instance of Symbol 334 MovieClip in Symbol 337 MovieClip Frame 11
onClipEvent (load) {
_root.keyTouch = 0;
}
onClipEvent (enterFrame) {
_parent._y = _parent._y - 20;
if (_root.ninjaLeft == true) {
_parent._x = _parent._x - 15;
} else {
_parent._x = _parent._x + 15;
}
if (_parent._y < 100) {
_parent.gotoAndStop(12);
}
}
Symbol 337 MovieClip Frame 12
stop();
Instance of Symbol 334 MovieClip in Symbol 337 MovieClip Frame 12
onClipEvent (load) {
_root.keyTouch = 0;
}
onClipEvent (enterFrame) {
_parent._y = _parent._y + 20;
if (_root.ninjaLeft == true) {
_parent._x = _parent._x - 8;
} else {
_parent._x = _parent._x + 8;
}
if (_parent._y >= 365) {
_parent._y = 365;
_parent.gotoAndPlay(4);
}
}
Symbol 337 MovieClip Frame 13
stop();
Symbol 337 MovieClip Frame 15
this._name = "ninjaHurt";
Symbol 337 MovieClip Frame 23
gotoAndStop (1);
Symbol 337 MovieClip Frame 26
this._name = "ninjaDead";
Symbol 337 MovieClip Frame 42
if (_root.pickedUpScroll == true) {
_root.scrollCount = _root.scrollCount - 1;
}
Symbol 337 MovieClip Frame 80
_root.gameOverScreen.gotoAndPlay(2);
stop();
Symbol 337 MovieClip Frame 85
this._name = "ninjaStop";
_root.curtain.gotoAndPlay(2);
stop();
Symbol 341 MovieClip Frame 1
stop();
Symbol 341 MovieClip Frame 2
stop();
Symbol 345 MovieClip Frame 1
stop();
Symbol 345 MovieClip Frame 2
stop();
Symbol 348 Button
on (press) {
if (_root.myLives > 0) {
_root.gameSound.stop();
_root.ninjaDead._name = "ninja";
_root.initGame();
_root.resetBonus();
_root.ninja.gotoAndStop(1);
_root.ninja._xscale = Math.abs(_root.ninja._xscale);
_root.ninja._x = 100;
_root.ninja._y = 365;
_root.dead._name = "warrior";
_root.warrior.gotoAndStop(1);
_root.warrior._x = 515;
_root.warrior._y = 365;
_root.gameSound.start(0, 1000);
_root.gameSound.setVolume(35);
if (_root.myMusic._currentframe == 2) {
_root.gameSound.stop();
}
gotoAndStop (1);
} else {
_root.gotoAndStop("loading");
}
}
Symbol 350 Button
on (release) {
fscommand ("quit");
}
Symbol 352 MovieClip Frame 1
stop();
Symbol 352 MovieClip Frame 3
_root.paperScroll.removeMovieClip();
_root.life.removeMovieClip();
_root.Health.removeMovieClip();
_root.gameSound.setVolume(20);
_root.myLives = _root.myLives - 1;
if (_root.myLives == 0) {
itsOver.gotoAndStop(2);
}
Symbol 352 MovieClip Frame 10
_root.gameSound.setVolume(15);
Symbol 352 MovieClip Frame 20
_root.gameSound.setVolume(10);
Symbol 352 MovieClip Frame 30
_root.gameSound.setVolume(5);
Symbol 352 MovieClip Frame 40
_root.gameSound.stop();
stop();
Symbol 371 MovieClip Frame 1
_root.enemySwing = false;
var myAction = random(25);
play();
Symbol 371 MovieClip Frame 4
if (myAction <= 2) {
gotoAndPlay (5);
} else if ((myAction > 3) && (myAction <= 15)) {
gotoAndPlay (16);
} else if ((myAction > 15) && (myAction <= 25)) {
gotoAndPlay (25);
} else {
gotoAndPlay (1);
}
Symbol 371 MovieClip Frame 5
_root.throwFireball();
Symbol 371 MovieClip Frame 9
_root.enemySwing = true;
Symbol 371 MovieClip Frame 15
gotoAndPlay (1);
Symbol 371 MovieClip Frame 23
_root.enemySwing = true;
Symbol 371 MovieClip Frame 24
gotoAndPlay (1);
Symbol 371 MovieClip Frame 25
_root.enemyBlock = true;
Symbol 371 MovieClip Frame 50
_root.enemyBlock = false;
gotoAndPlay (1);
Instance of Symbol 372 MovieClip in Symbol 373 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.enemyLeft == true) {
_parent._parent._x = _parent._parent._x - 50;
} else {
_parent._parent._x = _parent._parent._x + 50;
}
}
Symbol 373 MovieClip Frame 30
_root.enemyHit = false;
_parent.gotoAndStop(2);
Symbol 379 MovieClip Frame 1
stop();
Symbol 379 MovieClip Frame 2
this._name = "warrior";
stop();
Symbol 379 MovieClip Frame 3
stop();
Symbol 379 MovieClip Frame 4
_root.enemyDown = _root.enemyDown + 1;
this._name = "dead";
play();
Symbol 379 MovieClip Frame 41
_root.nextScreen = true;
stop();
Symbol 379 MovieClip Frame 45
this._name = "dead";
stop();
Symbol 379 MovieClip Frame 50
this._name = "enemyRoll";
play();
Symbol 379 MovieClip Frame 51
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 379 MovieClip Frame 55
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 379 MovieClip Frame 60
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 379 MovieClip Frame 65
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 379 MovieClip Frame 69
gotoAndStop (2);
Symbol 398 MovieClip Frame 1
_root.enemySwing = false;
var myAction = random(25);
play();
Symbol 398 MovieClip Frame 4
if (myAction <= 2) {
gotoAndPlay (5);
} else if ((myAction > 3) && (myAction <= 18)) {
gotoAndPlay (16);
} else if ((myAction > 18) && (myAction <= 20)) {
gotoAndPlay (25);
} else {
gotoAndPlay (1);
}
Symbol 398 MovieClip Frame 5
_root.throwIceball();
Symbol 398 MovieClip Frame 9
_root.enemySwing = true;
Symbol 398 MovieClip Frame 15
gotoAndPlay (1);
Symbol 398 MovieClip Frame 23
_root.enemySwing = true;
Symbol 398 MovieClip Frame 24
gotoAndPlay (1);
Symbol 398 MovieClip Frame 25
_root.enemyBlock = true;
Symbol 398 MovieClip Frame 50
_root.enemyBlock = false;
gotoAndPlay (1);
Instance of Symbol 399 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.enemyLeft == true) {
_parent._parent._x = _parent._parent._x - 50;
} else {
_parent._parent._x = _parent._parent._x + 50;
}
}
Symbol 400 MovieClip Frame 30
_root.enemyHit = false;
_parent.gotoAndStop(2);
Symbol 406 MovieClip Frame 1
stop();
Symbol 406 MovieClip Frame 2
this._name = "warrior";
stop();
Symbol 406 MovieClip Frame 3
stop();
Symbol 406 MovieClip Frame 4
_root.enemyDown = _root.enemyDown + 1;
this._name = "dead";
play();
Symbol 406 MovieClip Frame 41
_root.nextScreen = true;
stop();
Symbol 406 MovieClip Frame 45
this._name = "dead";
stop();
Symbol 406 MovieClip Frame 50
this._name = "enemyRoll";
play();
Symbol 406 MovieClip Frame 51
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 406 MovieClip Frame 55
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 406 MovieClip Frame 60
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 406 MovieClip Frame 65
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 406 MovieClip Frame 69
gotoAndStop (2);
Symbol 425 MovieClip Frame 1
_root.enemySwing = false;
var myAction = random(30);
play();
Symbol 425 MovieClip Frame 4
if (myAction <= 5) {
gotoAndPlay (5);
} else if ((myAction > 10) && (myAction <= 20)) {
gotoAndPlay (25);
} else if ((myAction > 20) && (myAction <= 25)) {
_parent.gotoAndPlay(50);
} else if ((myAction > 25) && (myAction <= 28)) {
gotoAndPlay (14);
} else {
gotoAndPlay (1);
}
Symbol 425 MovieClip Frame 9
_root.enemySwing = true;
Symbol 425 MovieClip Frame 13
gotoAndPlay (1);
Symbol 425 MovieClip Frame 23
_root.enemySwing = true;
Symbol 425 MovieClip Frame 24
gotoAndPlay (1);
Symbol 425 MovieClip Frame 25
_root.enemyBlock = true;
Symbol 425 MovieClip Frame 50
_root.enemyBlock = false;
gotoAndPlay (1);
Instance of Symbol 426 MovieClip in Symbol 429 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.enemyLeft == true) {
_parent._parent._x = _parent._parent._x - 50;
} else {
_parent._parent._x = _parent._parent._x + 50;
}
}
Symbol 429 MovieClip Frame 30
_root.enemyHit = false;
_parent.gotoAndStop(2);
Symbol 439 MovieClip Frame 10
stop();
Symbol 439 MovieClip Frame 20
stop();
Symbol 440 MovieClip Frame 1
this._name = "warrior";
stop();
Symbol 440 MovieClip Frame 2
this._name = "warrior";
stop();
Symbol 440 MovieClip Frame 3
stop();
Symbol 440 MovieClip Frame 4
_root.enemyDown = _root.enemyDown + 1;
this._name = "dead";
play();
Symbol 440 MovieClip Frame 41
_root.nextScreen = true;
stop();
Symbol 440 MovieClip Frame 45
this._name = "dead";
stop();
Symbol 440 MovieClip Frame 50
this._name = "enemyRoll";
play();
Symbol 440 MovieClip Frame 51
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 440 MovieClip Frame 54
if (_root.enemyLeft == true) {
this._x = this._x + 60;
} else {
this._x = this._x - 60;
}
Symbol 440 MovieClip Frame 59
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 440 MovieClip Frame 63
if (_root.enemyLeft == true) {
this._x = this._x + 40;
} else {
this._x = this._x - 40;
}
Symbol 440 MovieClip Frame 67
this._name = "enemyFloat";
stop();
Instance of Symbol 439 MovieClip in Symbol 440 MovieClip Frame 67
onClipEvent (enterFrame) {
_parent._y = _parent._y - 35;
if (_parent._y < 150) {
_parent.gotoAndPlay(70);
}
}
Symbol 440 MovieClip Frame 80
_root.superFlash();
Symbol 440 MovieClip Frame 86
_root.superFlash();
Symbol 440 MovieClip Frame 94
_root.superFlash();
Symbol 440 MovieClip Frame 105
stop();
Instance of Symbol 439 MovieClip in Symbol 440 MovieClip Frame 105
onClipEvent (enterFrame) {
_parent._y = _parent._y + 20;
if (_parent._y > 365) {
_parent._y = 365;
_parent.gotoAndStop(2);
}
}
Symbol 459 MovieClip Frame 1
_root.enemySwing = false;
var myAction = random(30);
play();
Symbol 459 MovieClip Frame 4
if (myAction <= 5) {
gotoAndPlay (5);
} else if ((myAction >= 10) && (myAction <= 15)) {
gotoAndPlay (14);
} else if ((myAction > 15) && (myAction <= 27)) {
gotoAndPlay (25);
} else {
gotoAndPlay (1);
}
Symbol 459 MovieClip Frame 9
_root.enemySwing = true;
Symbol 459 MovieClip Frame 13
gotoAndPlay (1);
Symbol 459 MovieClip Frame 23
_root.enemySwing = true;
Symbol 459 MovieClip Frame 24
gotoAndPlay (1);
Symbol 459 MovieClip Frame 25
_root.enemyBlock = true;
Symbol 459 MovieClip Frame 50
_root.enemyBlock = false;
gotoAndPlay (1);
Instance of Symbol 76 MovieClip in Symbol 462 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.enemyLeft == true) {
_parent._parent._x = _parent._parent._x - 50;
} else {
_parent._parent._x = _parent._parent._x + 50;
}
}
Symbol 462 MovieClip Frame 30
_root.enemyHit = false;
_parent.gotoAndStop(2);
Symbol 469 MovieClip Frame 13
stop();
Symbol 471 MovieClip Frame 1
stop();
Symbol 471 MovieClip Frame 2
this._name = "warrior";
stop();
Symbol 471 MovieClip Frame 3
stop();
Symbol 471 MovieClip Frame 4
_root.enemyDown = _root.enemyDown + 1;
this._name = "dead";
play();
Symbol 471 MovieClip Frame 41
_root.nextScreen = true;
_root.score = _root.score + 100;
stop();
Symbol 471 MovieClip Frame 45
this._name = "dead";
stop();
Symbol 471 MovieClip Frame 50
this._name = "enemyRoll";
if (_root.enemyLeft == true) {
this._x = this._x + random(350);
} else {
this._x = this._x - random(350);
}
play();
Symbol 471 MovieClip Frame 67
gotoAndStop (2);
Symbol 493 MovieClip Frame 1
_root.enemySwing = false;
_root.enemyBlock = false;
var myAction = random(25);
play();
Symbol 493 MovieClip Frame 4
if (myAction <= 5) {
gotoAndPlay (5);
} else if ((myAction > 12) && (myAction <= 20)) {
gotoAndPlay (21);
} else {
gotoAndPlay (1);
}
Symbol 493 MovieClip Frame 5
_root.enemySwing = true;
Symbol 493 MovieClip Frame 12
gotoAndPlay (1);
Symbol 493 MovieClip Frame 21
_root.enemyBlock = true;
Symbol 493 MovieClip Frame 55
gotoAndPlay (1);
Instance of Symbol 495 MovieClip in Symbol 496 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.enemyLeft == true) {
_parent._parent._x = _parent._parent._x - 50;
} else {
_parent._parent._x = _parent._parent._x + 50;
}
}
Symbol 496 MovieClip Frame 16
_root.enemyHit = false;
_parent.gotoAndStop(2);
Symbol 498 MovieClip Frame 1
stop();
Symbol 498 MovieClip Frame 2
this._name = "warrior";
stop();
Symbol 498 MovieClip Frame 3
stop();
Symbol 498 MovieClip Frame 4
this._name = "dead";
_root.enemyDown = _root.enemyDown + 1;
play();
Symbol 498 MovieClip Frame 41
stop();
Symbol 498 MovieClip Frame 45
this._name = "dead";
stop();
Symbol 498 MovieClip Frame 50
this._name = "enemyRoll";
if (_root.enemyLeft == true) {
this._x = this._x + random(450);
} else {
this._x = this._x - random(450);
}
play();
Symbol 498 MovieClip Frame 82
gotoAndStop (2);
Symbol 502 MovieClip Frame 1
stop();
Symbol 502 MovieClip Frame 2
this._x = _root.ninjaStop._x;
this._y = _root.ninjaStop._y - 60;
play();
Symbol 502 MovieClip Frame 80
_root.gameSound.setVolume(40);
Symbol 502 MovieClip Frame 86
_root.gameSound.setVolume(20);
Symbol 502 MovieClip Frame 91
_root.gameSound.setVolume(15);
Symbol 502 MovieClip Frame 95
_root.gameSound.setVolume(10);
Symbol 502 MovieClip Frame 100
stopAllSounds();
_root.gameSound.setVolume(100);
_root.gotoAndStop("end");
stop();
Symbol 510 Button
on (release) {
gotoAndStop (18);
}
Symbol 513 Button
on (release) {
fscommand ("quit");
}