Frame 1
var debug = false;
var gameID = 270;
var gameName = "yantraastoryofrevenge";
stop();
fscommand ("showmenu", "false");
prel.onEnterFrame = function () {
prel.procent.text = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
prel.gotoAndStop(prel.procent.text);
if (Number(prel.procent.text) >= 100) {
play();
delete this.onEnterFrame;
}
};
Instance of Symbol 117 MovieClip in Frame 1
on (release) {
getURL ("http://www.freegamesforyourwebsite.com/click.php?gid=211&area=minilogo2", "_blank");
}
Frame 2
stop();
Frame 3
if (!okToPlay) {
gotoAndStop (2);
}
Frame 4
_quality = "MEDIUM";
stopAllSounds();
_global.combo = 0;
_global.herojumping = 0;
_global.teleporting = 0;
_global.performingjutsu = 0;
_global.throwshuriken = 0;
_global.shotCount = 1;
_global.moveto = "left";
_global.act = 1;
_global.hurt = 0;
_global.shurikens = 100;
_global.kunai = 100;
_global.attackstr = 0;
_global.defense = 0;
_global.glevel = 1;
_global.jutsutype = 1;
_global.score = 0;
_global.herodead = 0;
_global.timer = 0;
_global.monsterkill = 0;
_global.gamepaused = 0;
_global.thornwall = 1;
_global.spikerain = 0;
_global.beholdereye = 0;
_global.plasmaburst = 0;
_global.summondragon = 0;
_global.falcondive = 1;
_global.groundbreaker = 0;
_global.shockwave = 0;
_global.plasmabomb = 0;
appear = new Sound();
appear.attachSound("appear");
bg = new Sound();
bg.attachSound("bg");
death = new Sound();
death.attachSound("death");
woff = new Sound();
woff.attachSound("woff");
growl = new Sound();
growl.attachSound("growl");
grumble = new Sound();
grumble.attachSound("grumble");
punch1 = new Sound();
punch1.attachSound("punch1");
punch2 = new Sound();
punch2.attachSound("punch2");
punch3 = new Sound();
punch3.attachSound("punch3");
stab = new Sound();
stab.attachSound("stab");
sword1 = new Sound();
sword1.attachSound("sword1");
step = new Sound();
step.attachSound("step");
whish = new Sound();
whish.attachSound("whish");
jump = new Sound();
jump.attachSound("jump");
blast = new Sound();
blast.attachSound("blast");
roar1 = new Sound();
roar1.attachSound("roar1");
roar2 = new Sound();
roar2.attachSound("roar2");
thud = new Sound();
thud.attachSound("thud");
plasma = new Sound();
plasma.attachSound("plasma");
heal = new Sound();
heal.attachSound("heal");
shockwave = new Sound();
shockwave.attachSound("shockwave");
hit = new Sound();
hit.attachSound("hit");
j3 = new Sound();
j3.attachSound("j3");
j4 = new Sound();
j4.attachSound("j4");
jstart = new Sound();
jstart.attachSound("jstart");
boss = new Sound();
boss.attachSound("boss");
boss = new Sound();
boss.attachSound("boss");
axewoosh = new Sound();
axewoosh.attachSound("axewoosh");
axehit = new Sound();
axehit.attachSound("axehit");
monsterdead = new Sound();
monsterdead.attachSound("monsterdead");
doghit = new Sound();
doghit.attachSound("doghit");
dogattack = new Sound();
dogattack.attachSound("dogattack");
dogdie = new Sound();
dogdie.attachSound("dogdie");
bosswalk = new Sound();
bosswalk.attachSound("bosswalk");
bossattacksound = new Sound();
bossattacksound.attachSound("bossattacksound");
bossattack2 = new Sound();
bossattack2.attachSound("bossattack2");
bossattack3 = new Sound();
bossattack3.attachSound("bossattack3");
bossattack = new Sound();
bossattack.attachSound("bossattack");
bossattacksound2 = new Sound();
bossattacksound2.attachSound("bossattacksound2");
scrollopen = new Sound();
scrollopen.attachSound("scrollopen");
scrollclose = new Sound();
scrollclose.attachSound("scrollclose");
pickstone = new Sound();
pickstone.attachSound("pickstone");
bossdead = new Sound();
bossdead.attachSound("bossdead");
boss1dead = new Sound();
boss1dead.attachSound("boss1dead");
spider = new Sound();
spider.attachSound("spider");
birdmandie = new Sound();
birdmandie.attachSound("birdmandie");
birdmanattack = new Sound();
birdmanattack.attachSound("birdmanattack");
betweenlevels = new Sound();
betweenlevels.attachSound("betweenlevels");
despair = new Sound();
despair.attachSound("despair");
darkforest = new Sound();
darkforest.attachSound("darkforest");
screams = new Sound();
screams.attachSound("screams");
afraid = new Sound();
afraid.attachSound("afraid");
clickbutton = new Sound();
clickbutton.attachSound("clickbutton");
finalbosslaugh = new Sound();
finalbosslaugh.attachSound("finalbosslaugh");
upperexplode = new Sound();
upperexplode.attachSound("upperexplode");
snakedead = new Sound();
snakedead.attachSound("snakedead");
snakeattack = new Sound();
snakeattack.attachSound("snakeattack");
shootarrow = new Sound();
shootarrow.attachSound("shootarrow");
thunder1 = new Sound();
thunder1.attachSound("thunder1");
thunder2 = new Sound();
thunder2.attachSound("thunder2");
thunder3 = new Sound();
thunder3.attachSound("thunder3");
bell = new Sound();
bell.attachSound("bell");
creepy = new Sound();
creepy.attachSound("creepy");
deadvalley = new Sound();
deadvalley.attachSound("deadvalley");
finalstage = new Sound();
finalstage.attachSound("finalstage");
stop();
Frame 5
stop();
Frame 6
stop();
_quality = "MEDIUM";
stopAllSounds();
_global.combo = 0;
_global.herojumping = 0;
_global.teleporting = 0;
_global.performingjutsu = 0;
_global.throwshuriken = 0;
_global.shotCount = 1;
_global.moveto = "left";
_global.act = 1;
_global.hurt = 0;
_global.herolife = 1000;
_global.herochakra = 200;
_global.shurikens = 100;
_global.kunai = 100;
_global.attackstr = 0;
_global.defense = 0;
_global.glevel = 1;
_global.jutsutype = 1;
_global.score = 0;
_global.herodead = 0;
_global.timer = 0;
_global.monsterkill = 0;
_global.skillpoints = 0;
_global.gamepaused = 1;
_global.thornwall = 1;
_global.spikerain = 0;
_global.beholdereye = 0;
_global.plasmaburst = 0;
_global.summondragon = 0;
_global.falcondive = 1;
_global.groundbreaker = 0;
_global.shockwave = 0;
_global.plasmabomb = 0;
_global.healwounds = 0;
_global.resurrect = 0;
Frame 7
stop();
Instance of Symbol 1440 MovieClip [TMP6pbk6uzm9i] in Frame 7
//component parameters
onClipEvent (construct) {
gameID = 0;
}
Instance of Symbol 1445 MovieClip [TMP6ojzjuzm8i] in Frame 7
//component parameters
onClipEvent (construct) {
gameID = 0;
}
Symbol 71 MovieClip Frame 1
stop();
var tagctr = (random(55) + 1);
gotoAndStop(tagctr);
Symbol 72 MovieClip Frame 105
stop();
Symbol 122 MovieClip Frame 1
_root.earl223 = function (val) {
var _local3 = new Array("_", "Z", "y", "x", "W", "v", "u", "T", "s", "r", "Q", "P", "O", "n", "m", "L", "K", "j", "i", "H", "g", "F", "e", "d", "C", "B", "a");
var _local2 = "";
val1 = 0;
while (val1 < val.length) {
if (val.substr(val1, 1) == ":") {
_local2 = _local2 + ":";
} else if (Number(val.substr(val1, 2)) > 26) {
_local2 = _local2 + _local3[Number(val.substr(val1, 1))];
} else if (Number(val.substr(val1, 1)) == 0) {
_local2 = _local2 + "_";
} else {
_local2 = _local2 + _local3[Number(val.substr(val1, 2))];
val1++;
}
val1++;
}
return(_local2);
};
Symbol 129 MovieClip Frame 1
stop();
Instance of Symbol 143 MovieClip "mcNotice" in Symbol 180 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 180 MovieClip Frame 120
stop();
if ((_url.indexOf("freeonlinegames.com") >= 0) && (_url.indexOf("file:") == -1)) {
_root.okToPlay = true;
_root.play();
} else if (_root.debug) {
_root.okToPlay = true;
_root.play();
} else {
_root.mcTaglines._visible = false;
mcNotice._visible = true;
}
Symbol 181 MovieClip Frame 71
stop();
var fogsound = new Sound();
fogsound.onSoundComplete = function () {
_root.okToPlay = true;
_root.play();
};
fogsound.attachSound("fogaudio");
fogsound.start(0, 1);
Symbol 185 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 1
stop();
Symbol 265 Button
on (release) {
_global.difficulty = "EASY";
_global.herolife = 2000;
_global.herochakra = 1000;
_global.skillpoints = 5000;
_global.healwounds = 1;
_global.resurrect = 0;
gotoAndStop ("game");
}
Symbol 267 Button
on (release) {
_root.instruction._x = 8;
}
Symbol 269 Button
on (release) {
gotoAndStop ("credits");
}
Symbol 271 Button
on (release) {
_global.difficulty = "NORMAL";
_global.herolife = 1000;
_global.herochakra = 200;
_global.skillpoints = 0;
_global.healwounds = 0;
_global.resurrect = 0;
gotoAndStop ("game");
}
Symbol 276 Button
on (release) {
gotoAndStop ("highscores");
}
Symbol 291 Button
on (release) {
this._x = -288;
}
Symbol 310 MovieClip Frame 15
removeMovieClip("");
Symbol 311 MovieClip Frame 1
setProperty("mcFlame", _visible , 0);
index = 0;
Symbol 311 MovieClip Frame 2
duplicateMovieClip ("mcFlame", "Flame" + index, index);
xcoord = Math.random() * 10;
xStretch = Math.random() * 50;
yStretch = Math.random() * 100;
opacity = Math.random() * 60;
setProperty("Flame" + index, _x , xcoord);
setProperty("Flame" + index, _xscale , xStretch);
setProperty("Flame" + index, _yscale , yStretch);
setProperty("Flame" + index, _alpha , opacity);
index++;
Symbol 311 MovieClip Frame 3
gotoAndPlay (2);
Symbol 341 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 1
stop();
Symbol 350 MovieClip Frame 1
stop();
Symbol 351 MovieClip Frame 1
function RandomGen(x, y) {
return(Math.round((Math.random() * (Number(y) - Number(x))) + Number(x)));
}
flash = RandomGen(1, 30);
tellTarget (flash) {
play();
};
Symbol 358 MovieClip Frame 1
stop();
Symbol 358 MovieClip Frame 2
stop();
Symbol 358 MovieClip Frame 3
stop();
Symbol 358 MovieClip Frame 4
stop();
stop();
Symbol 370 MovieClip Frame 25
this._parent.firstappear = 0;
stop();
Symbol 375 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 1
stop();
Symbol 408 MovieClip Frame 1
_parent["punchfect" + random(4)].gotoAndPlay(2);
Symbol 408 MovieClip Frame 10
_parent.gotoAndStop("steady");
Instance of Symbol 410 MovieClip "hitpart" in Symbol 412 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto.hitpart)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 50;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 412 MovieClip Frame 13
_parent.gotoAndStop("steady");
Symbol 415 MovieClip Frame 1
_global.score = _global.score + 100;
_global.skillpoints = _global.skillpoints + 100;
_global.monsterkill = _global.monsterkill + 1;
_root.monsterdead.start();
Symbol 415 MovieClip Frame 20
stop();
removeMovieClip(this.parent);
Symbol 416 MovieClip Frame 1
_parent.stopping = 1;
trace(_parent.stopping);
Symbol 416 MovieClip Frame 20
_root.growl.start();
Symbol 416 MovieClip Frame 42
_parent.stopping = 0;
trace(_parent.stopping);
_parent.gotoAndStop("steady");
Symbol 421 MovieClip Frame 1
_global.score = _global.score + 100;
_global.skillpoints = _global.skillpoints + 100;
_global.monsterkill = _global.monsterkill + 1;
_root.monsterdead.start();
Symbol 421 MovieClip Frame 9
stop();
removeMovieClip(this.parent);
Symbol 422 MovieClip Frame 1
stop();
Symbol 422 MovieClip Frame 2
stop();
Symbol 422 MovieClip Frame 3
stop();
Symbol 422 MovieClip Frame 4
stop();
Symbol 422 MovieClip Frame 5
stop();
Symbol 422 MovieClip Frame 6
stop();
Symbol 422 MovieClip Frame 7
stop();
Symbol 433 MovieClip Frame 39
this._parent.firstappear = 0;
stop();
Symbol 437 MovieClip Frame 9
_parent.gotoAndStop("steady");
Symbol 439 MovieClip Frame 1
_parent.stopping = 1;
Symbol 439 MovieClip Frame 6
_root.spider.start();
Instance of Symbol 410 MovieClip "hitpart" in Symbol 439 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 30;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 439 MovieClip Frame 9
_parent.stopping = 0;
_parent.gotoAndStop("steady");
Symbol 442 MovieClip Frame 1
_global.score = _global.score + 150;
_global.skillpoints = _global.skillpoints + 100;
_global.monsterkill = _global.monsterkill + 1;
Symbol 442 MovieClip Frame 20
stop();
removeMovieClip(this.parent);
Symbol 447 MovieClip Frame 1
_global.score = _global.score + 150;
_global.skillpoints = _global.skillpoints + 100;
_global.monsterkill = _global.monsterkill + 1;
Symbol 447 MovieClip Frame 5
stop();
removeMovieClip(this.parent);
Symbol 448 MovieClip Frame 1
stop();
Symbol 448 MovieClip Frame 2
stop();
Symbol 448 MovieClip Frame 3
stop();
Symbol 448 MovieClip Frame 4
stop();
Symbol 448 MovieClip Frame 5
stop();
Symbol 448 MovieClip Frame 6
stop();
Symbol 472 MovieClip Frame 5
stop();
Symbol 481 MovieClip Frame 6
_root.axewoosh.start();
Instance of Symbol 410 MovieClip "hitpart" in Symbol 481 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 50;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_root.sword1.start(0, 1);
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 481 MovieClip Frame 9
_root.axehit.start();
Symbol 481 MovieClip Frame 12
_parent.gotoAndStop("steady");
Symbol 486 MovieClip Frame 1
_parent.stopping = 1;
Instance of Symbol 410 MovieClip "hitpart" in Symbol 486 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 40;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 486 MovieClip Frame 8
_root.sword1.start(0, 1);
Symbol 486 MovieClip Frame 11
_root.sword1.start(0, 1);
Symbol 486 MovieClip Frame 14
_root.sword1.start(0, 1);
Symbol 486 MovieClip Frame 17
_root.sword1.start(0, 1);
Symbol 486 MovieClip Frame 20
_parent.stopping = 0;
_parent.gotoAndStop("steady");
Symbol 496 MovieClip Frame 1
_parent.stopping = 1;
Instance of Symbol 410 MovieClip "hitpart" in Symbol 496 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 10;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 496 MovieClip Frame 25
_parent.stopping = 0;
_parent.gotoAndStop("steady");
Instance of Symbol 410 MovieClip "hitpart" in Symbol 496 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 50;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 510 MovieClip Frame 1
_parent.stopping = 1;
Instance of Symbol 410 MovieClip "hitpart" in Symbol 510 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 80;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_root.sword1.start(0, 1);
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Instance of Symbol 410 MovieClip "hitpart" in Symbol 510 MovieClip Frame 16
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 100;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_root.sword1.start(0, 1);
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Instance of Symbol 410 MovieClip "hitpart" in Symbol 510 MovieClip Frame 19
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 60;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_root.sword1.start(0, 1);
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 510 MovieClip Frame 22
_parent.stopping = 0;
_parent.gotoAndStop("steady");
Symbol 513 MovieClip Frame 3
_parent.gotoAndStop("steady");
Symbol 514 MovieClip Frame 1
_global.score = _global.score + 1000;
_global.skillpoints = _global.skillpoints + 1000;
_global.monsterkill = _global.monsterkill + 1;
_root.boss1dead.start();
Symbol 514 MovieClip Frame 25
stop();
removeMovieClip(this.parent);
if (_global.act == 1) {
_root.game.intro.gotoAndPlay("stage2");
}
Symbol 515 MovieClip Frame 2
stop();
Symbol 515 MovieClip Frame 3
stop();
Symbol 515 MovieClip Frame 4
stop();
Symbol 515 MovieClip Frame 5
stop();
Symbol 515 MovieClip Frame 6
stop();
Symbol 515 MovieClip Frame 7
stop();
Symbol 515 MovieClip Frame 8
stop();
Symbol 536 MovieClip Frame 1
_parent.stopping = 1;
Symbol 536 MovieClip Frame 2
_root.bossattack1.start();
_root.bossattacksound.start();
Instance of Symbol 410 MovieClip "hitpart" in Symbol 536 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 50;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Instance of Symbol 410 MovieClip "hitpart" in Symbol 536 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 60;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 536 MovieClip Frame 10
_parent.stopping = 0;
_parent.gotoAndStop("steady");
Symbol 544 MovieClip Frame 1
_parent.stopping = 1;
Instance of Symbol 410 MovieClip "hitpart" in Symbol 544 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 80;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 544 MovieClip Frame 8
_root.bossattack2.start();
Instance of Symbol 410 MovieClip "hitpart" in Symbol 544 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 80;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 544 MovieClip Frame 14
_parent.stopping = 0;
_parent.gotoAndStop("steady");
Symbol 562 MovieClip Frame 1
_parent.stopping = 1;
Symbol 562 MovieClip Frame 7
_root.bossattack3.start();
_root.pickstone.start();
Instance of Symbol 410 MovieClip "hitpart" in Symbol 562 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 80;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 562 MovieClip Frame 13
_root.bossattacksound2.start();
Symbol 562 MovieClip Frame 24
_parent.stopping = 0;
_parent.gotoAndStop("steady");
Symbol 564 MovieClip Frame 4
_parent.gotoAndStop("steady");
Symbol 565 MovieClip Frame 1
_global.score = _global.score + 2400;
_global.skillpoints = _global.skillpoints + 3000;
_global.monsterkill = _global.monsterkill + 1;
_root.bossdead.start();
Symbol 565 MovieClip Frame 26
stop();
removeMovieClip(this.parent);
if (_global.act == 2) {
_root.game.intro.gotoAndPlay("stage3");
}
Symbol 566 MovieClip Frame 1
stop();
Symbol 566 MovieClip Frame 2
stop();
Symbol 566 MovieClip Frame 3
stop();
Symbol 566 MovieClip Frame 4
stop();
Symbol 566 MovieClip Frame 5
stop();
Symbol 566 MovieClip Frame 6
stop();
Symbol 579 MovieClip Frame 35
this._parent.firstappear = 0;
stop();
Symbol 584 MovieClip Frame 1
_parent.stopping = 1;
Symbol 584 MovieClip Frame 3
_root.dogattack.start();
Instance of Symbol 410 MovieClip "hitpart" in Symbol 584 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 40;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 584 MovieClip Frame 5
_parent.stopping = 0;
_parent.gotoAndStop("steady");
Symbol 586 MovieClip Frame 1
_root.doghit.start();
Symbol 586 MovieClip Frame 3
_parent.gotoAndStop("steady");
Symbol 589 MovieClip Frame 1
_global.score = _global.score + 300;
_global.skillpoints = _global.skillpoints + 150;
_global.monsterkill = _global.monsterkill + 1;
_root.dogdie.start();
Symbol 589 MovieClip Frame 19
stop();
removeMovieClip(this.parent);
Symbol 594 MovieClip Frame 1
_global.score = _global.score + 300;
_global.skillpoints = _global.skillpoints + 150;
_global.monsterkill = _global.monsterkill + 1;
_root.dogdie.start();
Symbol 594 MovieClip Frame 5
stop();
removeMovieClip(this.parent);
Symbol 595 MovieClip Frame 1
_parent.stopping = 1;
Symbol 595 MovieClip Frame 27
_parent.stopping = 0;
_parent.gotoAndStop("steady");
Symbol 596 MovieClip Frame 1
stop();
Symbol 596 MovieClip Frame 2
stop();
Symbol 596 MovieClip Frame 3
stop();
Symbol 596 MovieClip Frame 4
stop();
Symbol 596 MovieClip Frame 5
stop();
Symbol 596 MovieClip Frame 6
stop();
Symbol 596 MovieClip Frame 7
stop();
Symbol 616 MovieClip Frame 1
_parent.stopping = 1;
Symbol 616 MovieClip Frame 10
_parent.stopping = 0;
_parent.gotoAndStop("steady");
Symbol 625 MovieClip Frame 1
_parent.stopping = 1;
Symbol 625 MovieClip Frame 5
_root.axewoosh.start();
Instance of Symbol 410 MovieClip "hitpart" in Symbol 625 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 70;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Instance of Symbol 410 MovieClip "hitpart" in Symbol 625 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 100;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 625 MovieClip Frame 9
_root.axewoosh.start();
Instance of Symbol 410 MovieClip "hitpart" in Symbol 625 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 70;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Instance of Symbol 410 MovieClip "hitpart" in Symbol 625 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 100;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 625 MovieClip Frame 13
_parent.stopping = 0;
_parent.gotoAndStop("steady");
Symbol 632 MovieClip Frame 1
_parent.stopping = 1;
Symbol 632 MovieClip Frame 12
_root.blast.start();
Instance of Symbol 410 MovieClip "hitpart" in Symbol 632 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 100;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 632 MovieClip Frame 18
_parent.stopping = 0;
_parent.gotoAndStop("steady");
Instance of Symbol 410 MovieClip "hitpart" in Symbol 632 MovieClip Frame 18
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 80;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 641 MovieClip Frame 1
_parent.stopping = 1;
Symbol 641 MovieClip Frame 7
_root.punch3.start();
Instance of Symbol 410 MovieClip "hitpart" in Symbol 641 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(100);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 150;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 641 MovieClip Frame 11
_root.upperexplode.start();
Instance of Symbol 410 MovieClip "hitpart" in Symbol 641 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 90;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Instance of Symbol 410 MovieClip "hitpart" in Symbol 641 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 100;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 641 MovieClip Frame 16
_parent.stopping = 0;
_parent.gotoAndStop("steady");
Symbol 642 MovieClip Frame 3
_parent.gotoAndStop("steady");
Symbol 643 MovieClip Frame 1
_global.score = _global.score + 3500;
_global.skillpoints = _global.skillpoints + 3500;
_global.monsterkill = _global.monsterkill + 1;
_root.bossdead.start();
Symbol 643 MovieClip Frame 35
stop();
removeMovieClip(this.parent);
if (_global.act == 3) {
_root.game.intro.gotoAndPlay("stage4");
}
Symbol 644 MovieClip Frame 1
stop();
Symbol 644 MovieClip Frame 2
stop();
Symbol 644 MovieClip Frame 3
stop();
Symbol 644 MovieClip Frame 4
stop();
Symbol 644 MovieClip Frame 5
stop();
Symbol 644 MovieClip Frame 6
stop();
Symbol 644 MovieClip Frame 7
stop();
Symbol 727 MovieClip Frame 1
_parent.stopping = 1;
_root.finalbosslaugh.start();
Symbol 727 MovieClip Frame 14
_parent.stopping = 0;
_parent.gotoAndStop("steady");
Symbol 743 MovieClip Frame 1
_parent.stopping = 1;
Symbol 743 MovieClip Frame 4
_root.shootarrow.start();
Instance of Symbol 410 MovieClip "hitpart" in Symbol 743 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
chance = random(500);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else if (this.hitTest(_root.game.baruto)) {
atkpow = 200;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Instance of Symbol 410 MovieClip "hitpart" in Symbol 743 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 200;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Instance of Symbol 410 MovieClip "hitpart" in Symbol 743 MovieClip Frame 19
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
chance = random(500);
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 200;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 743 MovieClip Frame 21
_parent.stopping = 0;
_parent.gotoAndStop("steady");
Symbol 751 MovieClip Frame 1
_parent.stopping = 1;
Symbol 751 MovieClip Frame 9
_root.upperexplode.start();
Instance of Symbol 410 MovieClip "hitpart" in Symbol 751 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 150;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 751 MovieClip Frame 12
_root.upperexplode.start();
Symbol 751 MovieClip Frame 17
_parent.stopping = 0;
_parent.gotoAndStop("steady");
Symbol 752 MovieClip Frame 1
_parent.stopping = 1;
Symbol 752 MovieClip Frame 7
_root.thunder1.start();
Instance of Symbol 410 MovieClip "hitpart" in Symbol 752 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 70;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 752 MovieClip Frame 9
_root.thunder2.start();
Symbol 752 MovieClip Frame 12
_parent.stopping = 0;
_parent.gotoAndStop("steady");
_root.thunder3.start();
Symbol 761 MovieClip Frame 1
_parent.stopping = 1;
Symbol 761 MovieClip Frame 3
_root.bossattack.start();
Instance of Symbol 410 MovieClip "hitpart" in Symbol 761 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 150;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 761 MovieClip Frame 12
_parent.stopping = 0;
_parent.gotoAndStop("steady");
Symbol 765 MovieClip Frame 1
_parent.stopping = 1;
Symbol 765 MovieClip Frame 14
_parent.stopping = 0;
_parent.gotoAndStop("steady");
Symbol 766 MovieClip Frame 1
_global.score = _global.score + 5300;
_global.skillpoints = _global.skillpoints + 5000;
_global.monsterkill = _global.monsterkill + 1;
_root.bossdead.start();
_global.gamepaused = 1;
Symbol 766 MovieClip Frame 42
_root.thunder1.start();
Symbol 766 MovieClip Frame 44
_root.thunder2.start();
Symbol 766 MovieClip Frame 46
_root.thunder3.start();
Symbol 766 MovieClip Frame 50
_root.boss1dead.start();
Symbol 766 MovieClip Frame 90
stop();
removeMovieClip(this.parent);
_root.game.intro.gotoAndPlay("finish");
Symbol 767 MovieClip Frame 1
stop();
Symbol 767 MovieClip Frame 2
stop();
Symbol 767 MovieClip Frame 3
stop();
Symbol 767 MovieClip Frame 4
stop();
Symbol 767 MovieClip Frame 5
stop();
Symbol 767 MovieClip Frame 6
stop();
Symbol 767 MovieClip Frame 7
stop();
Symbol 767 MovieClip Frame 8
stop();
Symbol 790 MovieClip Frame 39
this._parent.firstappear = 0;
stop();
Symbol 798 MovieClip Frame 4
_root.snakeattack.start();
Instance of Symbol 410 MovieClip "hitpart" in Symbol 798 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 100;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Instance of Symbol 410 MovieClip "hitpart" in Symbol 798 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 200;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 798 MovieClip Frame 8
_parent.gotoAndStop("steady");
Instance of Symbol 410 MovieClip "hitpart" in Symbol 798 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 100;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 802 MovieClip Frame 1
_parent["punchfect" + random(4)].gotoAndPlay(2);
Symbol 802 MovieClip Frame 4
_parent.gotoAndStop("steady");
Symbol 808 MovieClip Frame 1
_global.score = _global.score + 500;
_global.skillpoints = _global.skillpoints + 90;
_global.monsterkill = _global.monsterkill + 1;
_root.snakedead.start();
Symbol 808 MovieClip Frame 17
stop();
removeMovieClip(this.parent);
Symbol 814 MovieClip Frame 1
_global.score = _global.score + 500;
_global.skillpoints = _global.skillpoints + 90;
_global.monsterkill = _global.monsterkill + 1;
_root.snakedead.start();
Symbol 814 MovieClip Frame 6
stop();
removeMovieClip(this.parent);
Symbol 815 MovieClip Frame 1
stop();
Symbol 815 MovieClip Frame 2
stop();
Symbol 815 MovieClip Frame 3
stop();
Symbol 815 MovieClip Frame 4
stop();
Symbol 815 MovieClip Frame 5
stop();
Symbol 815 MovieClip Frame 6
stop();
Symbol 836 MovieClip Frame 26
this._parent.firstappear = 0;
stop();
Symbol 850 MovieClip Frame 5
_root.birdmanattack.start();
Instance of Symbol 410 MovieClip "hitpart" in Symbol 850 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
chance = random(300);
if (chance == 100) {
_global.teleporting = 1;
_root.game.baruto.gotoAndStop("teleport2");
} else {
atkpow = 90;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 850 MovieClip Frame 12
_parent.gotoAndStop("steady");
Symbol 854 MovieClip Frame 1
_parent["punchfect" + random(4)].gotoAndPlay(2);
Symbol 854 MovieClip Frame 2
_parent.gotoAndStop("steady");
Symbol 863 MovieClip Frame 1
_global.score = _global.score + 450;
_global.skillpoints = _global.skillpoints + 100;
_global.monsterkill = _global.monsterkill + 1;
_root.birdmandie.start();
Symbol 863 MovieClip Frame 9
stop();
removeMovieClip(this.parent);
Symbol 864 MovieClip Frame 1
stop();
Symbol 864 MovieClip Frame 2
stop();
Symbol 864 MovieClip Frame 3
stop();
Symbol 864 MovieClip Frame 4
stop();
Symbol 864 MovieClip Frame 5
stop();
Instance of Symbol 422 MovieClip "enemy" in Symbol 867 MovieClip Frame 1
onClipEvent (load) {
life = 300 + (_global.act * 100);
myname = _name;
stopping = 0;
firstappear = 1;
explodeme = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemy") {
if (_global.gamepaused == 0) {
if (firstappear == 1) {
this.gotoAndStop("appear");
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._xscale = 100;
}
if (g > m) {
this._xscale = -100;
}
} else if (life > 0) {
explodeme = 0;
if (_global.shotCount < 100) {
st = 0;
while (st <= 100) {
if (this.hitTest(_root.game["sparo" + st])) {
atkpow = 40 + _global.attackstr;
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
_root.game["sparo" + st].removeMovieClip();
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 6;
}
if (g > m) {
this._x = this._x + 6;
}
}
st++;
}
}
if (this.hitTest(_root.game.baruto.barutoattack1.hitpart) || (this.hitTest(_root.game.baruto.barutoattack2.hitpart))) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 1;
}
atkpow = 10 + _global.attackstr;
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
_root.punch1.start(0, 1);
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 3;
}
if (g > m) {
this._x = this._x + 3;
}
} else if (this.hitTest(_root.game.baruto.barutoattack3.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 20 + _global.attackstr;
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
_root.punch3.start(0, 1);
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 3;
}
if (g > m) {
this._x = this._x + 3;
}
} else if (this.hitTest(_root.game.baruto.barutoattack4.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 50 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 3;
}
if (g > m) {
this._x = this._x + 3;
}
} else if (this.hitTest(_root.game.baruto.barutoattack5.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 50 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 3;
}
if (g > m) {
this._x = this._x + 3;
}
} else if (this.hitTest(_root.game.baruto.barutoattack6.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 70 + _global.attackstr;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 10;
}
if (g > m) {
this._x = this._x + 10;
}
explodeme = 1;
} else if (this.hitTest(_root.game.baruto.airattack.hitpart)) {
atkpow = 80 + _global.attackstr;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
this.stop();
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 30;
}
if (g > m) {
this._x = this._x + 30;
}
} else if (this.hitTest(_root.game.baruto["jutsu" + _global.jutsutype])) {
if (_global.jutsutype == 1) {
atkpow = 20;
}
if (_global.jutsutype == 2) {
atkpow = 25;
}
if (_global.jutsutype == 3) {
atkpow = 30;
}
if (_global.jutsutype == 4) {
atkpow = 45;
}
if (_global.jutsutype == 5) {
atkpow = 100;
}
life = life - atkpow;
stopping = 0;
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitpart.hitTest(_root.game.baruto.resurrect.hitpart)) {
life = life - 100;
stopping = 0;
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitTest(_root.game.baruto.hitpart)) {
root.growl.start(0, 1);
stopping = 0;
this.gotoAndStop("attack");
this.stop();
} else {
rr = random(150);
if ((rr == 50) && (stopping == 0)) {
this.gotoAndStop("stopping");
} else if (stopping == 0) {
monsterx = this._x * -1;
gamex = _root.game.bg.scaler._x * -1;
if (gamex < monsterx) {
this._x = this._x + 3;
this._xscale = 100;
}
if (gamex == monsterx) {
this._x = this._x + 10;
this.gotoAndStop("attack");
this.stop();
}
if (gamex > monsterx) {
this._x = this._x - 3;
this._xscale = -100;
}
}
}
} else {
if (explodeme == 1) {
this.gotoAndStop("dead2");
} else {
this.gotoAndStop("dead");
}
this.stop();
}
}
}
}
Instance of Symbol 448 MovieClip "enemy2" in Symbol 867 MovieClip Frame 1
onClipEvent (load) {
life = 300 + (_global.act * 100);
myname = _name;
stopping = 0;
firstappear = 1;
explodeme = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemy2") {
if (_global.gamepaused == 0) {
if (firstappear == 1) {
this.gotoAndStop("appear");
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._xscale = 100;
}
if (g > m) {
this._xscale = -100;
}
} else if (life > 0) {
explodeme = 0;
if (_global.shotCount < 100) {
st = 0;
while (st <= 100) {
if (this.hitTest(_root.game["sparo" + st])) {
atkpow = 40 + _global.attackstr;
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
_root.game["sparo" + st].removeMovieClip();
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 30;
}
if (g > m) {
this._x = this._x + 30;
}
}
st++;
}
}
if (this.hitTest(_root.game.baruto.barutoattack1.hitpart) || (this.hitTest(_root.game.baruto.barutoattack2.hitpart))) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 1;
}
trace("ouch");
atkpow = 10 + _global.attackstr;
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
_root.punch1.start(0, 1);
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 15;
}
if (g > m) {
this._x = this._x + 15;
}
} else if (this.hitTest(_root.game.baruto.barutoattack3.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 20 + _global.attackstr;
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
_root.punch3.start(0, 1);
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 15;
}
if (g > m) {
this._x = this._x + 15;
}
} else if (this.hitTest(_root.game.baruto.barutoattack4.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 50 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 15;
}
if (g > m) {
this._x = this._x + 15;
}
} else if (this.hitTest(_root.game.baruto.barutoattack5.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 50 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 15;
}
if (g > m) {
this._x = this._x + 15;
}
} else if (this.hitTest(_root.game.baruto.barutoattack6.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 70 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 25;
}
if (g > m) {
this._x = this._x + 25;
}
explodeme = 1;
} else if (this.hitTest(_root.game.baruto.airattack.hitpart)) {
atkpow = 80 + _global.attackstr;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
this.stop();
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 40;
}
if (g > m) {
this._x = this._x + 40;
}
} else if (this.hitTest(_root.game.baruto["jutsu" + _global.jutsutype])) {
if (_global.jutsutype == 1) {
atkpow = 20;
}
if (_global.jutsutype == 2) {
atkpow = 25;
}
if (_global.jutsutype == 3) {
atkpow = 30;
}
if (_global.jutsutype == 4) {
atkpow = 45;
}
if (_global.jutsutype == 5) {
atkpow = 100;
}
life = life - atkpow;
stopping = 0;
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitpart.hitTest(_root.game.baruto.resurrect.hitpart)) {
life = life - 100;
stopping = 0;
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitTest(_root.game.baruto.hitpart)) {
root.growl.start(0, 1);
stopping = 0;
this.gotoAndStop("attack");
this.stop();
} else {
rr = random(50);
if ((rr == 50) && (stopping == 0)) {
this.gotoAndStop("attack");
} else if (stopping == 0) {
monsterx = this._x * -1;
gamex = _root.game.bg.scaler._x * -1;
if (gamex < monsterx) {
this._x = this._x + 15;
this._xscale = 100;
}
if (gamex == monsterx) {
this._x = this._x + 10;
this.gotoAndStop("attack");
this.stop();
}
if (gamex > monsterx) {
this._x = this._x - 15;
this._xscale = -100;
}
}
}
} else {
if (explodeme == 1) {
this.gotoAndStop("dead2");
} else {
this.gotoAndStop("dead");
}
this.stop();
}
}
}
}
Instance of Symbol 422 MovieClip "enemy3" in Symbol 867 MovieClip Frame 1
onClipEvent (load) {
life = 900;
myname = _name;
stopping = 0;
firstappear = 1;
explodeme = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemy3") {
if (_global.gamepaused == 0) {
if (firstappear == 1) {
this.gotoAndStop("appear");
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._xscale = 131.477355957031;
}
if (g > m) {
this._xscale = -131.477355957031;
}
} else if (life > 0) {
explodeme = 0;
if (_global.shotCount < 100) {
st = 0;
while (st <= 100) {
if (this.hitTest(_root.game["sparo" + st])) {
atkpow = 40 + _global.attackstr;
stopping = 0;
life = life - atkpow;
_root.game["sparo" + st].removeMovieClip();
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 6;
}
if (g > m) {
this._x = this._x + 6;
}
}
st++;
}
}
if (this.hitTest(_root.game.baruto.barutoattack1.hitpart) || (this.hitTest(_root.game.baruto.barutoattack2.hitpart))) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 1;
}
trace("ouch");
atkpow = 10 + _global.attackstr;
stopping = 0;
life = life - atkpow;
_root.punch1.start(0, 1);
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 3;
}
if (g > m) {
this._x = this._x + 3;
}
} else if (this.hitTest(_root.game.baruto.barutoattack3.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 20 + _global.attackstr;
stopping = 0;
life = life - atkpow;
_root.punch3.start(0, 1);
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 3;
}
if (g > m) {
this._x = this._x + 3;
}
} else if (this.hitTest(_root.game.baruto.barutoattack4.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 50 + _global.attackstr;
_root.punch1.start(0, 1);
stopping = 0;
life = life - atkpow;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 3;
}
if (g > m) {
this._x = this._x + 3;
}
} else if (this.hitTest(_root.game.baruto.barutoattack5.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 50 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 3;
}
if (g > m) {
this._x = this._x + 3;
}
} else if (this.hitTest(_root.game.baruto.barutoattack6.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 70 + _global.attackstr;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 10;
}
if (g > m) {
this._x = this._x + 10;
}
explodeme = 1;
} else if (this.hitTest(_root.game.baruto.airattack.hitpart)) {
atkpow = 80 + _global.attackstr;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
this.stop();
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 30;
}
if (g > m) {
this._x = this._x + 30;
}
} else if (this.hitTest(_root.game.baruto["jutsu" + _global.jutsutype])) {
if (_global.jutsutype == 1) {
atkpow = 20;
}
if (_global.jutsutype == 2) {
atkpow = 25;
}
if (_global.jutsutype == 3) {
atkpow = 30;
}
if (_global.jutsutype == 4) {
atkpow = 45;
}
if (_global.jutsutype == 5) {
atkpow = 100;
}
life = life - atkpow;
stopping = 0;
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitpart.hitTest(_root.game.baruto.resurrect.hitpart)) {
life = life - 100;
stopping = 0;
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitTest(_root.game.baruto.hitpart)) {
root.growl.start(0, 1);
stopping = 0;
this.gotoAndStop("attack");
this.stop();
} else {
rr = random(150);
if ((rr == 50) && (stopping == 0)) {
this.gotoAndStop("stopping");
} else if (stopping == 0) {
monsterx = this._x * -1;
gamex = _root.game.bg.scaler._x * -1;
if (gamex < monsterx) {
this._x = this._x + 3;
this._xscale = 131.477355957031;
}
if (gamex == monsterx) {
this._x = this._x + 10;
this.gotoAndStop("attack");
this.stop();
}
if (gamex > monsterx) {
this._x = this._x - 3;
this._xscale = -131.477355957031;
}
}
}
} else {
if (explodeme == 1) {
this.gotoAndStop("dead2");
} else {
this.gotoAndStop("dead");
}
this.stop();
}
}
}
}
Instance of Symbol 448 MovieClip "enemy4" in Symbol 867 MovieClip Frame 1
onClipEvent (load) {
life = 400 + (_global.act * 100);
myname = _name;
stopping = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemy4") {
if (life > 0) {
if (_global.shotCount < 100) {
st = 0;
while (st <= 100) {
if (this.hitTest(_root.game["sparo" + st])) {
atkpow = 40 + _global.attackstr;
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
_root.game["sparo" + st].removeMovieClip();
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 30;
}
if (g > m) {
this._x = this._x + 30;
}
}
st++;
}
}
if (_global.shotCount2 < 100) {
st = 0;
while (st <= 100) {
if (this.hitTest(_root.game["sparo2" + st])) {
atkpow = 60 + _global.attackstr;
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
_root.game["sparo2" + st].removeMovieClip();
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 30;
}
if (g > m) {
this._x = this._x + 30;
}
}
st++;
}
}
if (this.hitTest(_root.game.baruto.barutoattack1.hitpart) || (this.hitTest(_root.game.baruto.barutoattack2.hitpart))) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 1;
}
trace("ouch");
atkpow = 10 + _global.attackstr;
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
_root.punch1.start(0, 1);
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 15;
}
if (g > m) {
this._x = this._x + 15;
}
} else if (this.hitTest(_root.game.baruto.barutoattack3.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 20 + _global.attackstr;
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
_root.punch3.start(0, 1);
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 15;
}
if (g > m) {
this._x = this._x + 15;
}
} else if (this.hitTest(_root.game.baruto.barutoattack4.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 50 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 15;
}
if (g > m) {
this._x = this._x + 15;
}
} else if (this.hitTest(_root.game.baruto.barutoattack5.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 50 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 15;
}
if (g > m) {
this._x = this._x + 15;
}
} else if (this.hitTest(_root.game.baruto.barutoattack6.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 70 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 25;
}
if (g > m) {
this._x = this._x + 25;
}
} else if (this.hitTest(_root.game.baruto.airattack.hitpart)) {
atkpow = 80 + _global.attackstr;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
this.stop();
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 40;
}
if (g > m) {
this._x = this._x + 40;
}
} else if (this.hitTest(_root.game.baruto["jutsu" + _global.jutsutype])) {
if (_global.jutsutype == 1) {
atkpow = 20;
}
if (_global.jutsutype == 2) {
atkpow = 25;
}
if (_global.jutsutype == 3) {
atkpow = 30;
}
if (_global.jutsutype == 4) {
atkpow = 45;
}
if (_global.jutsutype == 5) {
atkpow = 100;
}
life = life - atkpow;
stopping = 0;
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitTest(_root.game.baruto.hitpart)) {
root.growl.start(0, 1);
stopping = 0;
this.gotoAndStop("attack");
this.stop();
} else {
rr = random(100);
if ((rr == 50) && (stopping == 0)) {
this.gotoAndStop("attack");
} else if (stopping == 0) {
monsterx = this._x * -1;
gamex = _root.game.bg.scaler._x * -1;
if (gamex < monsterx) {
this._x = this._x + 20;
this._xscale = 100;
}
if (gamex == monsterx) {
this._x = this._x + 10;
this.gotoAndStop("attack");
this.stop();
}
if (gamex > monsterx) {
this._x = this._x - 20;
this._xscale = -100;
}
}
}
} else {
this.gotoAndStop("dead");
this.stop();
}
}
}
Instance of Symbol 515 MovieClip "enemy5" in Symbol 867 MovieClip Frame 1
onClipEvent (load) {
life = 10000;
myname = _name;
stopping = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemy5") {
if (_global.gamepaused == 0) {
_global.bosslife = life;
_root.game.bossbar._alpha = 100;
if (life > 0) {
if (_global.shotCount < 100) {
st = 0;
while (st <= 100) {
if (this.hitpart.hitTest(_root.game["sparo" + st])) {
atkpow = 30 + _global.attackstr;
life = life - atkpow;
_root.game["sparo" + st].removeMovieClip();
}
st++;
}
}
if (_global.shotCount2 < 100) {
st = 0;
while (st <= 100) {
if (this.hitpart.hitTest(_root.game["sparo2" + st])) {
atkpow = 40 + _global.attackstr;
life = life - atkpow;
_root.game["sparo2" + st].removeMovieClip();
}
st++;
}
}
if (this.hitpart.hitTest(_root.game.baruto.barutoattack1.hitpart) || (this.hitpart.hitTest(_root.game.baruto.barutoattack2.hitpart))) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 2;
}
atkpow = 20 + _global.attackstr;
this.gotoAndStop("attack3");
life = life - atkpow;
_root.punch1.start(0, 1);
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack3.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 40 + _global.attackstr;
this.gotoAndStop("attack3");
life = life - atkpow;
_root.punch3.start(0, 1);
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack4.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 30 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack5.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 30 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack6.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 50 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
} else if (this.hitpart.hitTest(_root.game.baruto.airattack.hitpart)) {
atkpow = 20 + _global.attackstr;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
this.stop();
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 10;
}
if (g > m) {
this._x = this._x + 10;
}
} else if (this.hitpart.hitTest(_root.game.baruto["jutsu" + _global.jutsutype])) {
if (_global.jutsutype == 1) {
atkpow = 50;
}
if (_global.jutsutype == 2) {
atkpow = 75;
}
if (_global.jutsutype == 3) {
atkpow = 90;
}
if (_global.jutsutype == 4) {
atkpow = 100;
}
if (_global.jutsutype == 5) {
atkpow = 120;
}
life = life - atkpow;
stopping = 0;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitpart.hitTest(_root.game.baruto.resurrect.hitpart)) {
life = life - 100;
stopping = 0;
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitpart.hitTest(_root.game.baruto.hitpart)) {
if (stopping == 0) {
root.growl.start(0, 1);
stopping = 0;
this.gotoAndStop("attack");
this.stop();
}
} else {
rr = random(100);
if ((rr == 50) && (stopping == 0)) {
this.gotoAndStop("attack2");
} else if ((rr == 30) && (stopping == 0)) {
this.gotoAndStop("attack4");
} else if (stopping == 0) {
monsterx = this._x * -1;
gamex = _root.game.bg.scaler._x * -1;
if (gamex < monsterx) {
this._x = this._x + 10;
this._xscale = 100;
}
if (gamex == monsterx) {
this._x = this._x + 10;
this.gotoAndStop("attack");
this.stop();
}
if (gamex > monsterx) {
this._x = this._x - 10;
this._xscale = -100;
}
}
}
} else {
this.gotoAndStop("dead");
_root.game.bossbar._alpha = 0;
this.stop();
}
}
}
}
Instance of Symbol 566 MovieClip "enemy7" in Symbol 867 MovieClip Frame 1
onClipEvent (load) {
life = 15000;
myname = _name;
stopping = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemy7") {
if (_global.gamepaused == 0) {
_global.bosslife = life;
_root.game.bossbar._alpha = 100;
if (life > 0) {
if (_global.shotCount < 100) {
st = 0;
while (st <= 100) {
if (this.hitpart.hitTest(_root.game["sparo" + st])) {
atkpow = 30 + _global.attackstr;
life = life - atkpow;
_root.game["sparo" + st].removeMovieClip();
}
st++;
}
}
if (_global.shotCount2 < 100) {
st = 0;
while (st <= 100) {
if (this.hitpart.hitTest(_root.game["sparo2" + st])) {
atkpow = 40 + _global.attackstr;
life = life - atkpow;
_root.game["sparo2" + st].removeMovieClip();
}
st++;
}
}
if (this.hitpart.hitTest(_root.game.baruto.barutoattack1.hitpart) || (this.hitpart.hitTest(_root.game.baruto.barutoattack2.hitpart))) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 2;
}
atkpow = 20 + _global.attackstr;
life = life - atkpow;
_root.punch1.start(0, 1);
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack3.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 40 + _global.attackstr;
life = life - atkpow;
_root.punch3.start(0, 1);
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack4.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 30 + _global.attackstr;
_root.punch1.start(0, 1);
stopping = 0;
life = life - atkpow;
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack5.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 30 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack6.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 50 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
} else if (this.hitpart.hitTest(_root.game.baruto.airattack.hitpart)) {
atkpow = 20 + _global.attackstr;
_root.punch3.start(0, 1);
stopping = 0;
life = life - atkpow;
this.stop();
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 10;
}
if (g > m) {
this._x = this._x + 10;
}
} else if (this.hitpart.hitTest(_root.game.baruto["jutsu" + _global.jutsutype])) {
if (_global.jutsutype == 1) {
atkpow = 50;
}
if (_global.jutsutype == 2) {
atkpow = 65;
}
if (_global.jutsutype == 3) {
atkpow = 75;
}
if (_global.jutsutype == 4) {
atkpow = 85;
}
if (_global.jutsutype == 5) {
atkpow = 100;
}
life = life - atkpow;
stopping = 0;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitpart.hitTest(_root.game.baruto.resurrect.hitpart)) {
life = life - 100;
stopping = 0;
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitpart.hitTest(_root.game.baruto.hitpart2)) {
if (stopping == 0) {
root.growl.start(0, 1);
stopping = 0;
this.gotoAndStop("attack");
this.stop();
}
} else {
rr = random(100);
if ((rr == 50) && (stopping == 0)) {
this.gotoAndStop("attack2");
} else if ((rr == 30) && (stopping == 0)) {
this.gotoAndStop("attack3");
} else if (stopping == 0) {
monsterx = this._x * -1;
gamex = _root.game.bg.scaler._x * -1;
if (gamex < monsterx) {
this._x = this._x + 5;
this._xscale = 50.30517578125;
}
if (gamex == monsterx) {
this._x = this._x + 10;
this.gotoAndStop("attack");
this.stop();
}
if (gamex > monsterx) {
this._x = this._x - 5;
this._xscale = -50.30517578125;
}
}
}
} else {
this.gotoAndStop("dead");
_root.game.bossbar._alpha = 0;
this.stop();
}
}
}
}
Instance of Symbol 596 MovieClip "enemy6" in Symbol 867 MovieClip Frame 1
onClipEvent (load) {
life = 300 + (_global.act * 100);
myname = _name;
stopping = 0;
firstappear = 1;
explodeme = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemy6") {
if (_global.gamepaused == 0) {
if (firstappear == 1) {
this.gotoAndStop("appear");
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._xscale = 37.3703002929688;
}
if (g > m) {
this._xscale = -37.3703002929688;
}
} else if (life > 0) {
explodeme = 0;
if (_global.shotCount < 100) {
st = 0;
while (st <= 100) {
if (this.hitTest(_root.game["sparo" + st])) {
atkpow = 40 + _global.attackstr;
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
_root.game["sparo" + st].removeMovieClip();
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 30;
}
if (g > m) {
this._x = this._x + 30;
}
}
st++;
}
}
if (this.hitTest(_root.game.baruto.barutoattack1.hitpart) || (this.hitTest(_root.game.baruto.barutoattack2.hitpart))) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 1;
}
trace("ouch");
atkpow = 10 + _global.attackstr;
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
_root.punch1.start(0, 1);
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 15;
}
if (g > m) {
this._x = this._x + 15;
}
} else if (this.hitTest(_root.game.baruto.barutoattack3.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 20 + _global.attackstr;
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
_root.punch3.start(0, 1);
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 15;
}
if (g > m) {
this._x = this._x + 15;
}
} else if (this.hitTest(_root.game.baruto.barutoattack4.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 50 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 15;
}
if (g > m) {
this._x = this._x + 15;
}
} else if (this.hitTest(_root.game.baruto.barutoattack5.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 50 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 15;
}
if (g > m) {
this._x = this._x + 15;
}
} else if (this.hitTest(_root.game.baruto.barutoattack6.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 70 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 25;
}
if (g > m) {
this._x = this._x + 25;
}
explodeme = 1;
} else if (this.hitTest(_root.game.baruto.airattack.hitpart)) {
atkpow = 80 + _global.attackstr;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
this.stop();
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 40;
}
if (g > m) {
this._x = this._x + 40;
}
} else if (this.hitTest(_root.game.baruto["jutsu" + _global.jutsutype])) {
if (_global.jutsutype == 1) {
atkpow = 20;
}
if (_global.jutsutype == 2) {
atkpow = 25;
}
if (_global.jutsutype == 3) {
atkpow = 30;
}
if (_global.jutsutype == 4) {
atkpow = 45;
}
if (_global.jutsutype == 5) {
atkpow = 100;
}
life = life - atkpow;
stopping = 0;
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitpart.hitTest(_root.game.baruto.resurrect.hitpart)) {
life = life - 100;
stopping = 0;
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitTest(_root.game.baruto.hitpart)) {
root.growl.start(0, 1);
stopping = 0;
this.gotoAndStop("attack");
this.stop();
} else {
rr = random(50);
if ((rr == 50) && (stopping == 0)) {
this.gotoAndStop("stopping");
}
if ((rr == 30) && (stopping == 0)) {
this.gotoAndStop("stopping");
} else if (stopping == 0) {
monsterx = this._x * -1;
gamex = _root.game.bg.scaler._x * -1;
if (gamex < monsterx) {
this._x = this._x + 15;
trace(this._xscale);
this._xscale = 37.3703002929688;
}
if (gamex == monsterx) {
this._x = this._x + 10;
this.gotoAndStop("attack");
this.stop();
}
if (gamex > monsterx) {
this._x = this._x - 15;
this._xscale = -37.3703002929688;
}
}
}
} else {
if (explodeme == 1) {
this.gotoAndStop("dead2");
} else {
this.gotoAndStop("dead");
}
this.stop();
}
}
}
}
Instance of Symbol 644 MovieClip "enemy10" in Symbol 867 MovieClip Frame 1
onClipEvent (load) {
life = 20000;
myname = _name;
stopping = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemy10") {
if (_global.gamepaused == 0) {
_global.bosslife = life;
_root.game.bossbar._alpha = 100;
if (life > 0) {
if (_global.shotCount < 100) {
st = 0;
while (st <= 100) {
if (this.hitpart.hitTest(_root.game["sparo" + st])) {
atkpow = 30 + _global.attackstr;
life = life - atkpow;
_root.game["sparo" + st].removeMovieClip();
}
st++;
}
}
if (_global.shotCount2 < 100) {
st = 0;
while (st <= 100) {
if (this.hitpart.hitTest(_root.game["sparo2" + st])) {
atkpow = 40 + _global.attackstr;
life = life - atkpow;
_root.game["sparo2" + st].removeMovieClip();
}
st++;
}
}
if (this.hitpart.hitTest(_root.game.baruto.barutoattack1.hitpart) || (this.hitpart.hitTest(_root.game.baruto.barutoattack2.hitpart))) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 2;
}
atkpow = 20 + _global.attackstr;
this.gotoAndStop("attack3");
life = life - atkpow;
_root.punch1.start(0, 1);
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack3.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 40 + _global.attackstr;
this.gotoAndStop("attack3");
life = life - atkpow;
_root.punch3.start(0, 1);
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack4.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 30 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack5.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 30 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack6.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 50 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
} else if (this.hitpart.hitTest(_root.game.baruto.airattack.hitpart)) {
atkpow = 20 + _global.attackstr;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
this.stop();
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 10;
}
if (g > m) {
this._x = this._x + 10;
}
} else if (this.hitpart.hitTest(_root.game.baruto["jutsu" + _global.jutsutype])) {
if (_global.jutsutype == 1) {
atkpow = 30;
}
if (_global.jutsutype == 2) {
atkpow = 45;
}
if (_global.jutsutype == 3) {
atkpow = 60;
}
if (_global.jutsutype == 4) {
atkpow = 90;
}
if (_global.jutsutype == 5) {
atkpow = 150;
}
life = life - atkpow;
stopping = 0;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitpart.hitTest(_root.game.baruto.resurrect.hitpart)) {
life = life - 100;
stopping = 0;
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitpart.hitTest(_root.game.baruto.hitpart2)) {
if (stopping == 0) {
root.growl.start(0, 1);
stopping = 0;
this.gotoAndStop("attack1");
this.stop();
}
} else {
rr = random(70);
if ((rr == 50) && (stopping == 0)) {
this.gotoAndStop("stopping");
} else if ((rr == 30) && (stopping == 0)) {
this.gotoAndStop("attack2");
} else if ((rr == 20) && (stopping == 0)) {
this.gotoAndStop("attack3");
} else if ((rr == 10) && (stopping == 0)) {
this.gotoAndStop("attack3");
} else if (stopping == 0) {
monsterx = this._x * -1;
gamex = _root.game.bg.scaler._x * -1;
if (gamex < monsterx) {
this._x = this._x + 15;
this._xscale = 41.8411254882813;
}
if (gamex == monsterx) {
this._x = this._x + 10;
this.gotoAndStop("attack1");
this.stop();
}
if (gamex > monsterx) {
this._x = this._x - 15;
this._xscale = -41.8411254882813;
}
}
}
} else {
this.gotoAndStop("dead");
_root.game.bossbar._alpha = 0;
this.stop();
}
}
}
}
Instance of Symbol 767 MovieClip "enemy11" in Symbol 867 MovieClip Frame 1
onClipEvent (load) {
life = 25000;
myname = _name;
stopping = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemy11") {
if (_global.gamepaused == 0) {
_global.bosslife = life;
_root.game.bossbar._alpha = 100;
if (life > 0) {
if (_global.shotCount < 100) {
st = 0;
while (st <= 100) {
if (this.hitpart.hitTest(_root.game["sparo" + st])) {
atkpow = 10 + _global.attackstr;
life = life - atkpow;
_root.game["sparo" + st].removeMovieClip();
}
st++;
}
}
if (_global.shotCount2 < 100) {
st = 0;
while (st <= 100) {
if (this.hitpart.hitTest(_root.game["sparo2" + st])) {
atkpow = 20 + _global.attackstr;
life = life - atkpow;
_root.game["sparo2" + st].removeMovieClip();
}
st++;
}
}
if (this.hitpart.hitTest(_root.game.baruto.barutoattack1.hitpart) || (this.hitpart.hitTest(_root.game.baruto.barutoattack2.hitpart))) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 2;
}
atkpow = 20 + _global.attackstr;
this.gotoAndStop("attack3");
life = life - atkpow;
_root.punch1.start(0, 1);
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack3.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 30 + _global.attackstr;
this.gotoAndStop("attack3");
life = life - atkpow;
_root.punch3.start(0, 1);
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack4.hitpart)) {
this._alpha = 100;
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 30 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
this._alpha = 100;
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack5.hitpart)) {
this._alpha = 100;
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 30 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
this._alpha = 100;
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack6.hitpart)) {
this._alpha = 100;
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 50 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
this._alpha = 100;
} else if (this.hitpart.hitTest(_root.game.baruto.airattack.hitpart)) {
this._alpha = 100;
atkpow = 20 + _global.attackstr;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
this.stop();
this._alpha = 100;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 10;
}
if (g > m) {
this._x = this._x + 10;
}
} else if (this.hitpart.hitTest(_root.game.baruto["jutsu" + _global.jutsutype])) {
this._alpha = 100;
if (_global.jutsutype == 1) {
atkpow = 5;
}
if (_global.jutsutype == 2) {
atkpow = 10;
}
if (_global.jutsutype == 3) {
atkpow = 15;
}
if (_global.jutsutype == 4) {
atkpow = 80;
}
if (_global.jutsutype == 5) {
atkpow = 120;
}
life = life - atkpow;
stopping = 0;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
this.stop();
this._alpha = 100;
} else if (this.hitpart.hitTest(_root.game.baruto.resurrect.hitpart)) {
life = life - 100;
stopping = 0;
this.gotoAndStop("hurt");
this._alpha = 100;
this.stop();
} else if (this.hitpart.hitTest(_root.game.baruto.hitpart2)) {
if (stopping == 0) {
root.growl.start(0, 1);
stopping = 0;
this.gotoAndStop("attack2");
this.stop();
}
} else {
rr = random(60);
if ((rr == 50) && (stopping == 0)) {
this.gotoAndStop("attack1");
} else if ((rr == 40) && (stopping == 0)) {
this.gotoAndStop("attack2");
} else if ((rr == 30) && (stopping == 0)) {
this.gotoAndStop("attack3");
} else if ((rr == 20) && (stopping == 0)) {
this.gotoAndStop("attack4");
} else if ((rr == 10) && (stopping == 0)) {
this.gotoAndStop("stopping");
} else if ((rr == 45) && (stopping == 0)) {
_root.finalbosslaugh.start();
} else if ((rr == 55) && (stopping == 0)) {
_root.finalbosslaugh.start();
this._alpha = 10;
} else if ((rr == 54) && (stopping == 0)) {
this._alpha = 100;
} else if (stopping == 0) {
monsterx = this._x * -1;
gamex = _root.game.bg.scaler._x * -1;
if (gamex < monsterx) {
this._x = this._x + 5;
this._xscale = 64.35546875;
}
if (gamex == monsterx) {
this._x = this._x + 5;
this.gotoAndStop("attack3");
this.stop();
}
if (gamex > monsterx) {
this._x = this._x - 5;
this._xscale = -64.35546875;
}
}
}
} else {
_root.game.baruto.gotoAndPlay("jutsu5");
this.gotoAndStop("dead");
_root.game.bossbar._alpha = 0;
this.stop();
}
}
}
}
Instance of Symbol 769 MovieClip in Symbol 867 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.timer == 0) {
(a = 0);
(b = 0);
(c = 0);
(d = 0);
(e = 0);
(f = 0);
(g = 0);
(h = 0);
(i = 0);
(j = 0);
(k = 0);
(l = 0);
(m = 0);
(n = 0);
(o = 0);
(p = 0);
(q = 0);
(r = 0);
(s = 0);
(t = 0);
(u = 0);
(v = 0);
(w = 0);
nextbatch = 0;
totalenemies = 2000;
}
if (_global.herodead == 0) {
if (_global.gamepaused == 0) {
_global.timer = _global.timer + 1;
if (_global.act == 1) {
if (((_global.monsterkill == 0) && (a == 0)) && (_global.timer > 50)) {
a = 1;
_root.bg.start(0, 999);
_root.game.lvltxt = "Town of Sorrow";
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((_global.monsterkill >= 2) && (b == 0)) {
b = 1;
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((_global.monsterkill == 4) && (c == 0)) {
c = 1;
_root.game.lvltxt = "Level 2";
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((((_global.monsterkill > 6) && (_global.monsterkill < 10)) && (c == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((_global.monsterkill == 10) && (d == 0)) {
d = 1;
nextbatch = 0;
_root.game.lvltxt = "Level 3";
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
z = 0;
while (z < 1) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy2, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((((_global.monsterkill > 13) && (_global.monsterkill < 16)) && (d == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy2, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((_global.monsterkill == 16) && (e == 0)) {
e = 1;
nextbatch = 0;
_root.game.lvltxt = "Level 4";
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy2, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((((_global.monsterkill > 20) && (_global.monsterkill < 24)) && (e == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy2, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((_global.monsterkill == 24) && (f == 0)) {
f = 1;
nextbatch = 0;
_root.game.lvltxt = "Level 5";
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy2, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((((_global.monsterkill > 26) && (_global.monsterkill < 32)) && (f == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy3, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 6;
z++;
}
}
if ((_global.monsterkill == 32) && (g == 0)) {
g = 1;
nextbatch = 0;
_root.game.lvltxt = "Level 6";
z = 0;
while (z < 4) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy2, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((((_global.monsterkill > 35) && (_global.monsterkill < 42)) && (g == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy2, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((((_global.monsterkill > 37) && (_global.monsterkill < 42)) && (g == 1)) && (nextbatch == 1)) {
nextbatch = 2;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy3, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 6;
z++;
}
}
if ((_global.monsterkill == 42) && (v == 0)) {
v = 1;
stopAllSounds();
_root.screams.start();
_root.afraid.start(0, 999);
_root.game.lvltxt = "Boss Battle";
z = 0;
while (z < 1) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy5, "boss" + z, totalenemies);
_root.game.bg["boss" + z]._x = -1600;
_root.game.bg["boss" + z]._y = 6;
z++;
}
}
} else if (_global.act == 2) {
if (((_global.monsterkill == 0) && (a == 0)) && (_global.timer > 50)) {
a = 1;
_root.darkforest.start(0, 999);
_root.game.lvltxt = "Town of Sorrow";
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((_global.monsterkill >= 2) && (b == 0)) {
b = 1;
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy2, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((_global.monsterkill == 4) && (c == 0)) {
c = 1;
_root.game.lvltxt = "Level 2";
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy2, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((((_global.monsterkill > 6) && (_global.monsterkill < 10)) && (c == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy3, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 6;
z++;
}
}
if ((_global.monsterkill == 10) && (d == 0)) {
d = 1;
nextbatch = 0;
_root.game.lvltxt = "Level 3";
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy3, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 6;
z++;
}
z = 0;
while (z < 1) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy6, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((((_global.monsterkill > 13) && (_global.monsterkill < 16)) && (d == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy6, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((_global.monsterkill == 16) && (e == 0)) {
e = 1;
nextbatch = 0;
_root.game.lvltxt = "Level 4";
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy6, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((((_global.monsterkill > 20) && (_global.monsterkill < 24)) && (e == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy9, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = -15;
z++;
}
}
if ((_global.monsterkill == 24) && (f == 0)) {
f = 1;
nextbatch = 0;
_root.game.lvltxt = "Level 5";
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy9, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = -15;
z++;
}
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy3, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 6;
z++;
}
}
if ((((_global.monsterkill > 26) && (_global.monsterkill < 32)) && (f == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy2, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((_global.monsterkill == 32) && (g == 0)) {
g = 1;
nextbatch = 0;
_root.game.lvltxt = "Level 6";
z = 0;
while (z < 4) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy9, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = -15;
z++;
}
}
if ((((_global.monsterkill > 35) && (_global.monsterkill < 42)) && (g == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy2, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((((_global.monsterkill > 37) && (_global.monsterkill < 42)) && (g == 1)) && (nextbatch == 1)) {
nextbatch = 2;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy6, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((_global.monsterkill == 42) && (h == 0)) {
h = 1;
nextbatch = 0;
_root.game.lvltxt = "Level 7";
z = 0;
while (z < 4) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy9, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = -15;
z++;
}
}
if ((((_global.monsterkill > 43) && (_global.monsterkill < 52)) && (h == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy9, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = -15;
z++;
}
}
if ((((_global.monsterkill > 48) && (_global.monsterkill < 52)) && (h == 1)) && (nextbatch == 1)) {
nextbatch = 2;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy6, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((_global.monsterkill == 52) && (v == 0)) {
v = 1;
stopAllSounds();
_root.screams.start();
_root.afraid.start(0, 999);
_root.game.lvltxt = "Boss Battle";
z = 0;
while (z < 1) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy7, "boss" + z, totalenemies);
_root.game.bg["boss" + z]._x = -1600;
_root.game.bg["boss" + z]._y = 4;
z++;
}
}
} else if (_global.act == 3) {
if (((_global.monsterkill == 0) && (a == 0)) && (_global.timer > 50)) {
a = 1;
_root.deadvalley.start(0, 999);
_root.game.lvltxt = "Dead Valley";
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy3, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 6;
z++;
}
}
if ((_global.monsterkill >= 2) && (b == 0)) {
b = 1;
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy3, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 6;
z++;
}
}
if ((_global.monsterkill == 4) && (c == 0)) {
c = 1;
_root.game.lvltxt = "Level 2";
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy6, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((((_global.monsterkill > 6) && (_global.monsterkill < 10)) && (c == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy3, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 6;
z++;
}
}
if ((_global.monsterkill == 10) && (d == 0)) {
d = 1;
nextbatch = 0;
_root.game.lvltxt = "Level 3";
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy3, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 6;
z++;
}
z = 0;
while (z < 1) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy8, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 15;
z++;
}
}
if ((((_global.monsterkill > 13) && (_global.monsterkill < 16)) && (d == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy8, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 15;
z++;
}
}
if ((_global.monsterkill == 16) && (e == 0)) {
e = 1;
nextbatch = 0;
_root.game.lvltxt = "Level 4";
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy6, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy8, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 15;
z++;
}
}
if ((((_global.monsterkill > 20) && (_global.monsterkill < 24)) && (e == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy3, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 6;
z++;
}
}
if ((_global.monsterkill == 24) && (f == 0)) {
f = 1;
nextbatch = 0;
_root.game.lvltxt = "Level 5";
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy8, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 15;
z++;
}
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy9, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = -15;
z++;
}
}
if ((((_global.monsterkill > 26) && (_global.monsterkill < 32)) && (f == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy9, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = -15;
z++;
}
}
if ((_global.monsterkill == 32) && (g == 0)) {
g = 1;
nextbatch = 0;
_root.game.lvltxt = "Level 6";
z = 0;
while (z < 4) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy2, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((((_global.monsterkill > 35) && (_global.monsterkill < 42)) && (g == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy3, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 6;
z++;
}
}
if ((((_global.monsterkill > 37) && (_global.monsterkill < 42)) && (g == 1)) && (nextbatch == 1)) {
nextbatch = 2;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy9, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = -15;
z++;
}
}
if ((_global.monsterkill == 42) && (h == 0)) {
h = 1;
nextbatch = 0;
_root.game.lvltxt = "Level 7";
z = 0;
while (z < 4) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy6, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((((_global.monsterkill > 43) && (_global.monsterkill < 52)) && (h == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy8, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 15;
z++;
}
}
if ((((_global.monsterkill > 48) && (_global.monsterkill < 52)) && (h == 1)) && (nextbatch == 1)) {
nextbatch = 2;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy9, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = -15;
z++;
}
}
if ((_global.monsterkill == 52) && (v == 0)) {
v = 1;
stopAllSounds();
_root.screams.start();
_root.afraid.start(0, 999);
_root.game.lvltxt = "Boss Battle";
z = 0;
while (z < 1) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy10, "boss" + z, totalenemies);
_root.game.bg["boss" + z]._x = -1600;
_root.game.bg["boss" + z]._y = -70;
z++;
}
}
} else if (_global.act == 4) {
if (((_global.monsterkill == 0) && (a == 0)) && (_global.timer > 50)) {
a = 1;
_root.finalstage.start(0, 999);
_root.game.lvltxt = "Shadow's Keep";
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy2, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((_global.monsterkill >= 2) && (b == 0)) {
b = 1;
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy2, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((_global.monsterkill == 4) && (c == 0)) {
c = 1;
_root.game.lvltxt = "Level 2";
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy6, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((((_global.monsterkill > 6) && (_global.monsterkill < 10)) && (c == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy3, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 6;
z++;
}
}
if ((_global.monsterkill == 10) && (d == 0)) {
d = 1;
nextbatch = 0;
_root.game.lvltxt = "Level 3";
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy3, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 6;
z++;
}
z = 0;
while (z < 1) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy8, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 15;
z++;
}
}
if ((((_global.monsterkill > 13) && (_global.monsterkill < 16)) && (d == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy8, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 15;
z++;
}
}
if ((_global.monsterkill == 16) && (e == 0)) {
e = 1;
nextbatch = 0;
_root.game.lvltxt = "Level 4";
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy6, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy8, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 15;
z++;
}
}
if ((((_global.monsterkill > 20) && (_global.monsterkill < 24)) && (e == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy3, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 6;
z++;
}
}
if ((_global.monsterkill == 24) && (f == 0)) {
f = 1;
nextbatch = 0;
_root.game.lvltxt = "Level 5";
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy8, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 15;
z++;
}
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy9, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = -15;
z++;
}
}
if ((((_global.monsterkill > 26) && (_global.monsterkill < 32)) && (f == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy9, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = -15;
z++;
}
}
if ((_global.monsterkill == 32) && (g == 0)) {
g = 1;
nextbatch = 0;
_root.game.lvltxt = "Level 6";
z = 0;
while (z < 4) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy2, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((((_global.monsterkill > 35) && (_global.monsterkill < 42)) && (g == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy3, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 6;
z++;
}
}
if ((((_global.monsterkill > 37) && (_global.monsterkill < 42)) && (g == 1)) && (nextbatch == 1)) {
nextbatch = 2;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy8, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 15;
z++;
}
}
if ((_global.monsterkill == 42) && (h == 0)) {
h = 1;
nextbatch = 0;
_root.game.lvltxt = "Level 7";
z = 0;
while (z < 4) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy6, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 33;
z++;
}
}
if ((((_global.monsterkill > 43) && (_global.monsterkill < 52)) && (h == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy8, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = 15;
z++;
}
}
if ((((_global.monsterkill > 48) && (_global.monsterkill < 52)) && (h == 1)) && (nextbatch == 1)) {
nextbatch = 2;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy9, "mons" + totalenemies, totalenemies);
_root.game.bg["mons" + totalenemies]._x = -10 - random(1600);
_root.game.bg["mons" + totalenemies]._y = -15;
z++;
}
}
if ((_global.monsterkill == 52) && (v == 0)) {
v = 1;
stopAllSounds();
_root.screams.start();
_root.bell.start(0, 999);
_root.finalbosslaugh.start();
_root.game.lvltxt = "Final Boss Battle";
z = 0;
while (z < 1) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.game.bg.enemy11, "boss" + z, totalenemies);
_root.game.bg["boss" + z]._x = -1600;
_root.game.bg["boss" + z]._y = -120;
z++;
}
}
}
}
}
}
Instance of Symbol 283 MovieClip "health" in Symbol 867 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.gamepaused == 0) {
x = random(800);
if (x == 50) {
this._x = random(500) + -1000;
this._y = 4;
}
if (this.hitTest(_root.game.baruto.barutorun)) {
this._y = -353;
_global.herolife = _global.herolife + 200;
if (_global.difficulty == "EASY") {
if (_global.herolife > 2000) {
_global.herolife = 2000;
}
} else if (_global.herolife > 1000) {
_global.herolife = 1000;
}
}
}
}
Instance of Symbol 289 MovieClip in Symbol 867 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.gamepaused == 0) {
x = random(1500);
if (x == 50) {
this._x = random(500) + -1000;
this._y = 4;
}
if (this.hitTest(_root.game.baruto.barutorun)) {
this._y = -353;
_global.shurikens = 100;
_global.shotCount = 1;
}
}
}
Instance of Symbol 286 MovieClip in Symbol 867 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.gamepaused == 0) {
x = random(800);
if (x == 50) {
this._x = random(500) + -1000;
this._y = 4;
}
if (this.hitTest(_root.game.baruto.barutorun)) {
this._y = -353;
_global.herochakra = _global.herochakra + 300;
if (_global.herochakra > 1000) {
_global.herochakra = 1000;
}
}
}
}
Instance of Symbol 815 MovieClip "enemy8" in Symbol 867 MovieClip Frame 1
onClipEvent (load) {
life = 800 + (_global.act * 100);
myname = _name;
stopping = 0;
firstappear = 1;
explodeme = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemy8") {
if (_global.gamepaused == 0) {
if (firstappear == 1) {
this.gotoAndStop("appear");
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._xscale = 37.3703002929688;
}
if (g > m) {
this._xscale = -37.3703002929688;
}
} else if (life > 0) {
explodeme = 0;
if (_global.shotCount < 100) {
st = 0;
while (st <= 100) {
if (this.hitpart.hitTest(_root.game["sparo" + st])) {
atkpow = 40 + _global.attackstr;
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
_root.game["sparo" + st].removeMovieClip();
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 30;
}
if (g > m) {
this._x = this._x + 30;
}
}
st++;
}
}
if (this.hitpart.hitTest(_root.game.baruto.barutoattack1.hitpart) || (this.hitTest(_root.game.baruto.barutoattack2.hitpart))) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 1;
}
trace("ouch");
atkpow = 10 + _global.attackstr;
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
_root.punch1.start(0, 1);
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 15;
}
if (g > m) {
this._x = this._x + 15;
}
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack3.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 20 + _global.attackstr;
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
_root.punch3.start(0, 1);
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 15;
}
if (g > m) {
this._x = this._x + 15;
}
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack4.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 50 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 15;
}
if (g > m) {
this._x = this._x + 15;
}
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack5.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 50 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 15;
}
if (g > m) {
this._x = this._x + 15;
}
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack6.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 70 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 25;
}
if (g > m) {
this._x = this._x + 25;
}
explodeme = 1;
} else if (this.hitpart.hitTest(_root.game.baruto.airattack.hitpart)) {
atkpow = 80 + _global.attackstr;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
this.stop();
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 40;
}
if (g > m) {
this._x = this._x + 40;
}
} else if (this.hitpart.hitTest(_root.game.baruto["jutsu" + _global.jutsutype])) {
if (_global.jutsutype == 1) {
atkpow = 20;
}
if (_global.jutsutype == 2) {
atkpow = 25;
}
if (_global.jutsutype == 3) {
atkpow = 30;
}
if (_global.jutsutype == 4) {
atkpow = 45;
}
if (_global.jutsutype == 5) {
atkpow = 100;
}
life = life - atkpow;
stopping = 0;
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitpart.hitTest(_root.game.baruto.resurrect.hitpart)) {
life = life - 100;
stopping = 0;
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitpart.hitTest(_root.game.baruto.hitpart)) {
root.growl.start(0, 1);
stopping = 0;
this.gotoAndStop("attack");
this.stop();
} else {
rr = random(50);
if ((rr == 50) && (stopping == 0)) {
this.gotoAndStop("attack");
} else if (stopping == 0) {
monsterx = this._x * -1;
gamex = _root.game.bg.scaler._x * -1;
if (gamex < monsterx) {
this._x = this._x + 10;
trace(this._xscale);
this._xscale = 37.3703002929688;
}
if (gamex == monsterx) {
this._x = this._x + 10;
this.gotoAndStop("attack");
this.stop();
}
if (gamex > monsterx) {
this._x = this._x - 10;
this._xscale = -37.3703002929688;
}
}
}
} else {
if (explodeme == 1) {
this.gotoAndStop("dead2");
} else {
this.gotoAndStop("dead");
}
this.stop();
}
}
}
}
Instance of Symbol 864 MovieClip "enemy9" in Symbol 867 MovieClip Frame 1
onClipEvent (load) {
life = 700 + (_global.act * 100);
myname = _name;
stopping = 0;
firstappear = 1;
}
onClipEvent (enterFrame) {
if (_name != "enemy9") {
if (_global.gamepaused == 0) {
if (firstappear == 1) {
this.gotoAndStop("appear");
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._xscale = 100;
}
if (g > m) {
this._xscale = -100;
}
} else if (life > 0) {
if (_global.shotCount < 100) {
st = 0;
while (st <= 100) {
if (this.hitpart.hitTest(_root.game["sparo" + st])) {
atkpow = 40 + _global.attackstr;
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
_root.game["sparo" + st].removeMovieClip();
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 30;
}
if (g > m) {
this._x = this._x + 30;
}
}
st++;
}
}
if (this.hitpart.hitTest(_root.game.baruto.barutoattack1.hitpart) || (this.hitTest(_root.game.baruto.barutoattack2.hitpart))) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 1;
}
trace("ouch");
atkpow = 10 + _global.attackstr;
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
_root.punch1.start(0, 1);
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 5;
}
if (g > m) {
this._x = this._x + 5;
}
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack3.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 20 + _global.attackstr;
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
_root.punch3.start(0, 1);
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 5;
}
if (g > m) {
this._x = this._x + 5;
}
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack4.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 50 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 5;
}
if (g > m) {
this._x = this._x + 5;
}
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack5.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 50 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 10;
}
if (g > m) {
this._x = this._x + 10;
}
} else if (this.hitpart.hitTest(_root.game.baruto.barutoattack6.hitpart)) {
if (_global.herochakra < 1001) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 70 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 25;
}
if (g > m) {
this._x = this._x + 25;
}
} else if (this.hitpart.hitTest(_root.game.baruto.airattack.hitpart)) {
atkpow = 80 + _global.attackstr;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
stopping = 0;
life = life - atkpow;
this.stop();
m = this._x * -1;
g = _root.game.bg.scaler._x * -1;
if (g < m) {
this._x = this._x - 40;
}
if (g > m) {
this._x = this._x + 40;
}
} else if (this.hitpart.hitTest(_root.game.baruto["jutsu" + _global.jutsutype])) {
if (_global.jutsutype == 1) {
atkpow = 20;
}
if (_global.jutsutype == 2) {
atkpow = 25;
}
if (_global.jutsutype == 3) {
atkpow = 30;
}
if (_global.jutsutype == 4) {
atkpow = 45;
}
if (_global.jutsutype == 5) {
atkpow = 100;
}
life = life - atkpow;
stopping = 0;
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitpart.hitTest(_root.game.baruto.resurrect.hitpart)) {
life = life - 100;
stopping = 0;
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitpart.hitTest(_root.game.baruto.hitpart)) {
root.growl.start(0, 1);
stopping = 0;
this.gotoAndStop("attack");
this.stop();
} else {
rr = random(20);
if ((rr == 20) && (stopping == 0)) {
this.gotoAndStop("steady");
} else if (stopping == 0) {
monsterx = this._x * -1;
gamex = _root.game.bg.scaler._x * -1;
if (gamex < monsterx) {
this._x = this._x + 5;
trace(this._xscale);
this._xscale = 100;
}
if (gamex == monsterx) {
this._x = this._x + 10;
this.gotoAndStop("attack");
this.stop();
}
if (gamex > monsterx) {
this._x = this._x - 5;
this._xscale = -100;
}
}
}
} else {
this.gotoAndStop("dead");
this.stop();
}
}
}
}
Instance of Symbol 870 MovieClip in Symbol 872 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = _global.bosslife / 10;
}
Symbol 897 MovieClip Frame 1
stop();
Symbol 897 MovieClip Frame 2
stop();
Symbol 900 MovieClip Frame 1
stop();
Symbol 900 MovieClip Frame 2
stop();
Symbol 903 MovieClip Frame 1
stop();
Symbol 903 MovieClip Frame 2
stop();
Symbol 906 MovieClip Frame 1
stop();
Symbol 906 MovieClip Frame 2
stop();
Symbol 909 MovieClip Frame 1
stop();
Symbol 909 MovieClip Frame 2
stop();
Symbol 916 MovieClip Frame 1
stop();
Symbol 916 MovieClip Frame 2
stop();
Symbol 922 MovieClip Frame 1
stop();
Symbol 922 MovieClip Frame 2
stop();
Symbol 929 Button
on (release) {
_global.gamepaused = 1;
_global.scrollopen = 1;
this.skilladvancement._alpha = 100;
this.skilladvancement.gotoAndPlay(2);
}
Symbol 944 MovieClip [TMPd4lzhusf84] Frame 1
function earl223(val) {
var _local3 = new Array("_", "Z", "y", "x", "W", "v", "u", "T", "s", "r", "Q", "P", "O", "n", "m", "L", "K", "j", "i", "H", "g", "F", "e", "d", "C", "B", "a");
var _local2 = "";
val1 = 0;
while (val1 < val.length) {
if (val.substr(val1, 1) == ":") {
_local2 = _local2 + ":";
} else if (Number(val.substr(val1, 2)) > 26) {
_local2 = _local2 + _local3[Number(val.substr(val1, 1))];
} else if (Number(val.substr(val1, 1)) == 0) {
_local2 = _local2 + "_";
} else {
_local2 = _local2 + _local3[Number(val.substr(val1, 2))];
val1++;
}
val1++;
}
return(_local2);
}
mcButtonMain.mcButton.FOG.swapDepths(0);
mcButtonMain.mcButton.attachMovie(btnMC, "btnMC", 0);
mcButtonMain.mcButton.btnMC.onRelease = function () {
var _local2 = new LoadVars();
_local2.onLoad = function () {
getURL ("http://www.freeonlinegames.com/scoreboard.php?", "_blank");
};
_local2.score = Score;
_local2.score2 = earl223(String(Score));
_local2.gamer = gameID;
_local2.id = random(9999999);
_local2.toString();
_local2.sendAndLoad("http://www.freeonlinegames.com/scoreboard/score_c.php", _local2, "POST");
delete this.onRelease;
};
Symbol 947 Button
on (release) {
_root.gotoAndStop("title");
}
Symbol 948 MovieClip Frame 1
stop();
Symbol 948 MovieClip Frame 2
stopAllSounds();
_global.gamepaused = 1;
Symbol 948 MovieClip Frame 12
finalscore = _global.score;
Symbol 948 MovieClip Frame 18
_root.game.deathcurtain.mcSubmitScore.Score = _global.score;
stop();
Instance of Symbol 944 MovieClip [TMPd4lzhusf84] "mcSubmitScore" in Symbol 948 MovieClip Frame 18
//component parameters
onClipEvent (construct) {
btnMC = "submitbutton";
gameID = 270;
}
Instance of Symbol 312 MovieClip in Symbol 963 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.attackstr > 30) && (_global.attackstr < 50)) {
this._alpha = 10;
} else if ((_global.attackstr > 50) && (_global.attackstr < 70)) {
this._alpha = 30;
} else if ((_global.attackstr > 70) && (_global.attackstr < 90)) {
this._alpha = 70;
} else if (_global.attackstr > 90) {
this._alpha = 100;
}
}
Instance of Symbol 312 MovieClip in Symbol 964 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.attackstr > 30) && (_global.attackstr < 50)) {
this._alpha = 10;
} else if ((_global.attackstr > 50) && (_global.attackstr < 70)) {
this._alpha = 30;
} else if ((_global.attackstr > 70) && (_global.attackstr < 90)) {
this._alpha = 70;
} else if (_global.attackstr > 90) {
this._alpha = 100;
}
}
Symbol 964 MovieClip Frame 2
_root.step.start(0, 1);
Symbol 964 MovieClip Frame 3
_root.step.start(1, 1);
Symbol 976 MovieClip Frame 2
_root.appear.start(0, 1);
Symbol 976 MovieClip Frame 6
var tele = new Array();
tele[0] = 1500;
tele[1] = 1140;
tele[2] = 780;
tele[3] = 360;
var tele2 = new Array();
tele2[0] = -1414;
tele2[1] = -1050;
tele2[2] = -696;
tele2[3] = -276;
moveto = random(4);
_root.game.bg._x = tele[moveto];
_root.game.bg.scaler._x = tele2[moveto];
Symbol 976 MovieClip Frame 9
_root.appear.start(0, 1);
Symbol 976 MovieClip Frame 10
_global.teleporting = 0;
_global.hurt = 0;
Symbol 979 MovieClip Frame 1
_root.hit.start(0, 1);
_global.herolife = _global.herolife + _global.defense;
if (_global.difficulty == "EASY") {
if (_global.herolife > 2000) {
_global.herolife = 2000;
}
} else if (_global.herolife > 1000) {
_global.herolife = 1000;
}
Instance of Symbol 764 MovieClip in Symbol 979 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.defense > 30) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Symbol 979 MovieClip Frame 2
_global.hurt = 0;
_global.herojumping = 0;
Symbol 981 MovieClip Frame 1
_root.death.start(0, 1);
Symbol 981 MovieClip Frame 21
_global.herodead = 1;
stop();
Symbol 983 MovieClip Frame 3
stop();
_root.game.baruto.gotoAndStop("steady");
Symbol 986 MovieClip Frame 3
stop();
_root.game.baruto.gotoAndStop("steady");
Symbol 988 MovieClip Frame 3
_root.game.baruto.gotoAndStop("steady");
Symbol 1018 MovieClip Frame 1
_global.performingjutsu = 1;
Symbol 1018 MovieClip Frame 3
_root.blast.start(0, 1);
Symbol 1018 MovieClip Frame 10
_global.performingjutsu = 0;
if (_global.shockwave == 0) {
_global.combo = 0;
_global.np = 0;
}
_root.game.baruto.gotoAndStop("steady");
Symbol 1031 MovieClip Frame 1
_root.shockwave.start(0, 1);
_global.performingjutsu = 1;
Symbol 1031 MovieClip Frame 11
_global.performingjutsu = 0;
if (_global.plasmabomb == 0) {
_global.combo = 0;
_global.np = 0;
}
_root.game.baruto.gotoAndStop("steady");
Symbol 1047 MovieClip Frame 1
_global.performingjutsu = 1;
_root.plasma.start(0, 1);
Symbol 1047 MovieClip Frame 17
_global.performingjutsu = 0;
_global.combo = 0;
_global.np = 0;
_root.game.baruto.gotoAndStop("steady");
Symbol 1067 MovieClip Frame 1
_global.performingjutsu = 1;
_root.heal.start(0, 1);
Symbol 1067 MovieClip Frame 14
_global.performingjutsu = 0;
Symbol 1082 MovieClip Frame 1
_global.herochakra = _global.herochakra - 50;
Symbol 1082 MovieClip Frame 4
_root.blast.start(1, 0);
Symbol 1082 MovieClip Frame 9
_root.appear.start(0, 0);
Symbol 1082 MovieClip Frame 14
_root.appear.start(0, 0);
Symbol 1082 MovieClip Frame 18
_root.jump.start(0, 0);
_global.herojumping = 0;
_global.jumppeak = 0;
_global.performingjutsu = 0;
Symbol 1085 MovieClip Frame 1
_root.jump.start(0, 1);
Symbol 1085 MovieClip Frame 2
_root.jump.start(0, 1);
Symbol 1085 MovieClip Frame 4
_global.jumppeak = 1;
Symbol 1085 MovieClip Frame 7
_global.jumppeak = 0;
Symbol 1085 MovieClip Frame 10
_root.jump.start(0, 0);
_global.herojumping = 0;
Symbol 1087 MovieClip Frame 1
_root.whish.start(0, 1);
Symbol 1087 MovieClip Frame 3
_global.throwshuriken = 0;
_root.game.baruto.gotoAndStop("steady");
Symbol 1120 MovieClip Frame 4
_root.grumble.start(0, 1);
Symbol 1120 MovieClip Frame 13
stop();
_global.performingjutsu = 0;
Symbol 1121 MovieClip Frame 1
_root.whish.start(0, 1);
Symbol 1121 MovieClip Frame 2
_root.whish.start(0, 1);
Symbol 1121 MovieClip Frame 3
_root.whish.start(0, 1);
Symbol 1121 MovieClip Frame 4
_root.whish.start(0, 1);
Symbol 1121 MovieClip Frame 5
_root.whish.start(0, 1);
Symbol 1121 MovieClip Frame 6
_root.whish.start(0, 1);
Symbol 1121 MovieClip Frame 7
_root.whish.start(0, 1);
Symbol 1121 MovieClip Frame 8
_root.whish.start(0, 1);
Symbol 1121 MovieClip Frame 11
_root.jstart.start(0, 1);
Symbol 1121 MovieClip Frame 12
stop();
Symbol 1137 MovieClip Frame 5
_root.thud.start(0, 1);
_root.thud.start(0, 1);
_root.thud.start(0, 1);
Symbol 1137 MovieClip Frame 6
_root.thud.start(0, 1);
_root.thud.start(0, 1);
_root.thud.start(0, 1);
Symbol 1137 MovieClip Frame 7
_root.thud.start(0, 1);
_root.thud.start(0, 1);
Symbol 1137 MovieClip Frame 10
_root.thud.start(0, 1);
_root.thud.start(0, 1);
Symbol 1137 MovieClip Frame 11
_root.thud.start(0, 1);
_root.thud.start(0, 1);
Symbol 1137 MovieClip Frame 21
_global.performingjutsu = 0;
stop();
Symbol 1138 MovieClip Frame 1
_root.whish.start(0, 1);
Symbol 1138 MovieClip Frame 2
_root.whish.start(0, 1);
Symbol 1138 MovieClip Frame 3
_root.whish.start(0, 1);
Symbol 1138 MovieClip Frame 4
_root.whish.start(0, 1);
Symbol 1138 MovieClip Frame 5
_root.whish.start(0, 1);
Symbol 1138 MovieClip Frame 6
_root.whish.start(0, 1);
Symbol 1138 MovieClip Frame 7
_root.whish.start(0, 1);
Symbol 1138 MovieClip Frame 8
_root.whish.start(0, 1);
Symbol 1138 MovieClip Frame 12
_root.jstart.start(0, 1);
stop();
Symbol 1155 MovieClip Frame 1
_root.j3.start(0, 1);
Symbol 1155 MovieClip Frame 50
_global.performingjutsu = 0;
stop();
Symbol 1156 MovieClip Frame 1
_root.whish.start(0, 1);
Symbol 1156 MovieClip Frame 2
_root.whish.start(0, 1);
Symbol 1156 MovieClip Frame 3
_root.whish.start(0, 1);
Symbol 1156 MovieClip Frame 4
_root.whish.start(0, 1);
Symbol 1156 MovieClip Frame 5
_root.whish.start(0, 1);
Symbol 1156 MovieClip Frame 6
_root.whish.start(0, 1);
Symbol 1156 MovieClip Frame 7
_root.whish.start(0, 1);
Symbol 1156 MovieClip Frame 8
_root.whish.start(0, 1);
Symbol 1156 MovieClip Frame 11
_root.jstart.start(0, 1);
Symbol 1156 MovieClip Frame 13
stop();
Symbol 1170 MovieClip Frame 31
_global.performingjutsu = 0;
stop();
Symbol 1176 MovieClip Frame 35
_global.performingjutsu = 0;
stop();
Symbol 1178 MovieClip Frame 1
_root.whish.start(0, 1);
Symbol 1178 MovieClip Frame 2
_root.whish.start(0, 1);
Symbol 1178 MovieClip Frame 3
_root.whish.start(0, 1);
Symbol 1178 MovieClip Frame 4
_root.whish.start(0, 1);
Symbol 1178 MovieClip Frame 5
_root.whish.start(0, 1);
Symbol 1178 MovieClip Frame 6
_root.whish.start(0, 1);
Symbol 1178 MovieClip Frame 7
_root.whish.start(0, 1);
Symbol 1178 MovieClip Frame 8
_root.whish.start(0, 1);
Symbol 1178 MovieClip Frame 11
_root.jstart.start(0, 1);
_root.j4.start(0, 1);
stop();
Symbol 1198 MovieClip Frame 19
_root.roar1.start(0, 1);
Symbol 1198 MovieClip Frame 59
_root.roar2.start(0, 1);
Symbol 1198 MovieClip Frame 100
_global.performingjutsu = 0;
stop();
Symbol 1199 MovieClip Frame 1
_root.whish.start(0, 1);
Symbol 1199 MovieClip Frame 2
_root.whish.start(0, 1);
Symbol 1199 MovieClip Frame 3
_root.whish.start(0, 1);
Symbol 1199 MovieClip Frame 4
_root.whish.start(0, 1);
Symbol 1199 MovieClip Frame 5
_root.whish.start(0, 1);
Symbol 1199 MovieClip Frame 6
_root.whish.start(0, 1);
Symbol 1199 MovieClip Frame 7
_root.whish.start(0, 1);
Symbol 1199 MovieClip Frame 8
_root.whish.start(0, 1);
Symbol 1199 MovieClip Frame 11
_root.jstart.start(0, 1);
Symbol 1199 MovieClip Frame 12
_root.j4.start(0, 1);
stop();
Symbol 1200 MovieClip Frame 10
_root.heal.start();
_global.resurrect = 0;
if (_global.difficulty == "EASY") {
_global.herolife = 2000;
} else {
_global.herolife = 1000;
}
Symbol 1200 MovieClip Frame 28
_root.thunder1.start();
Symbol 1200 MovieClip Frame 30
_global.performingjutsu = 0;
_global.herojumping = 0;
_global.performingjutsu = 0;
_global.teleporting = 0;
_global.hurt = 0;
_global.gamepaused = 0;
_global.herodead = 0;
_global.resurrect = 0;
_root.game.baruto.gotoAndStop("steady");
Symbol 1208 MovieClip Frame 1
_root.appear.start(0, 1);
Symbol 1208 MovieClip Frame 5
var tele = new Array();
tele[0] = 1500;
tele[1] = 1140;
tele[2] = 780;
tele[3] = 360;
var tele2 = new Array();
tele2[0] = -1414;
tele2[1] = -1050;
tele2[2] = -696;
tele2[3] = -276;
moveto = random(4);
_root.game.bg._x = tele[moveto];
_root.game.bg.scaler._x = tele2[moveto];
Symbol 1208 MovieClip Frame 8
_root.appear.start(0, 1);
Symbol 1208 MovieClip Frame 9
_global.teleporting = 0;
_global.hurt = 0;
Symbol 1209 MovieClip Frame 1
stop();
Symbol 1209 MovieClip Frame 2
stop();
Symbol 1209 MovieClip Frame 3
stop();
Symbol 1209 MovieClip Frame 4
stop();
Symbol 1209 MovieClip Frame 5
stop();
Symbol 1209 MovieClip Frame 6
stop();
_root.whish.start(0, 1);
Symbol 1209 MovieClip Frame 7
stop();
_root.whish.start(0, 1);
Symbol 1209 MovieClip Frame 8
stop();
_root.whish.start(0, 1);
Symbol 1209 MovieClip Frame 9
stop();
Symbol 1209 MovieClip Frame 10
stop();
Symbol 1209 MovieClip Frame 11
stop();
Symbol 1209 MovieClip Frame 12
stop();
Symbol 1209 MovieClip Frame 13
stop();
Symbol 1209 MovieClip Frame 14
stop();
Symbol 1209 MovieClip Frame 15
stop();
Symbol 1209 MovieClip Frame 16
stop();
Symbol 1209 MovieClip Frame 17
stop();
Symbol 1209 MovieClip Frame 18
stop();
Symbol 1209 MovieClip Frame 19
stop();
Symbol 1209 MovieClip Frame 20
stop();
Symbol 1209 MovieClip Frame 21
stop();
Symbol 1209 MovieClip Frame 22
stop();
Symbol 1238 Button
on (release) {
if ((_global.spikerain == 0) && (_global.skillpoints > 799)) {
this.x2.gotoAndPlay(2);
_global.spikerain = 1;
_global.skillpoints = _global.skillpoints - 800;
_root.clickbutton.start();
}
}
Symbol 1239 Button
on (release) {
if (((_global.beholdereye == 0) && (_global.spikerain == 1)) && (_global.skillpoints > 1999)) {
this.x3.gotoAndPlay(2);
_global.beholdereye = 1;
_global.skillpoints = _global.skillpoints - 2000;
_root.clickbutton.start();
}
}
Symbol 1240 Button
on (release) {
if (((_global.plasmaburst == 0) && (_global.beholdereye == 1)) && (_global.skillpoints > 3499)) {
this.x4.gotoAndPlay(2);
_global.plasmaburst = 1;
_global.skillpoints = _global.skillpoints - 3500;
_root.clickbutton.start();
}
}
Symbol 1241 Button
on (release) {
if (((_global.summondragon == 0) && (_global.plasmaburst == 1)) && (_global.skillpoints > 4999)) {
this.x5.gotoAndPlay(2);
_global.summondragon = 1;
_global.skillpoints = _global.skillpoints - 5000;
_root.clickbutton.start();
}
}
Symbol 1251 MovieClip Frame 1
stop();
Symbol 1251 MovieClip Frame 11
stop();
Symbol 1252 MovieClip Frame 1
if (_global.thornwall == 1) {
this.x1.gotoAndPlay(11);
}
if (_global.spikerain == 1) {
this.x2.gotoAndPlay(11);
}
if (_global.beholdereye == 1) {
this.x3.gotoAndPlay(11);
}
if (_global.plasmaburst == 1) {
this.x4.gotoAndPlay(11);
}
if (_global.summondragon == 1) {
this.x5.gotoAndPlay(11);
}
Symbol 1264 Button
on (release) {
if ((_global.falcondive == 0) && (_global.skillpoints > 999)) {
this.x1.gotoAndPlay(2);
_global.falcondive = 1;
_global.skillpoints = _global.skillpoints - 1000;
_root.clickbutton.start();
}
}
Symbol 1265 Button
on (release) {
if ((_global.groundbreaker == 0) && (_global.skillpoints > 1499)) {
this.x2.gotoAndPlay(2);
_global.groundbreaker = 1;
_global.skillpoints = _global.skillpoints - 1500;
_root.clickbutton.start();
}
}
Symbol 1266 Button
on (release) {
if (((_global.shockwave == 1) && (_global.plasmabomb == 0)) && (_global.skillpoints > 2499)) {
this.x4.gotoAndPlay(2);
_global.plasmabomb = 1;
_global.skillpoints = _global.skillpoints - 2500;
_root.clickbutton.start();
}
}
Symbol 1267 Button
on (release) {
if ((_global.healwounds == 0) && (_global.skillpoints > 2499)) {
this.x5.gotoAndPlay(2);
_global.healwounds = 1;
_global.skillpoints = _global.skillpoints - 2500;
_root.clickbutton.start();
}
}
Symbol 1270 Button
on (release) {
if (((_global.groundbreaker == 1) && (_global.shockwave == 0)) && (_global.skillpoints > 1999)) {
this.x3.gotoAndPlay(2);
_global.shockwave = 1;
_global.skillpoints = _global.skillpoints - 2000;
_root.clickbutton.start();
}
}
Symbol 1273 Button
on (release) {
if ((_global.resurrect == 0) && (_global.skillpoints > 1999)) {
this.x6.gotoAndPlay(2);
_global.resurrect = 1;
_global.skillpoints = _global.skillpoints - 2000;
_root.clickbutton.start();
}
}
Symbol 1274 MovieClip Frame 1
if (_global.falcondive == 1) {
this.x1.gotoAndPlay(11);
}
if (_global.groundbreaker == 1) {
this.x2.gotoAndPlay(11);
}
if (_global.shockwave == 1) {
this.x3.gotoAndPlay(11);
}
if (_global.plasmabomb == 1) {
this.x4.gotoAndPlay(11);
}
if (_global.healwounds == 1) {
this.x5.gotoAndPlay(11);
}
if (_global.resurrect == 1) {
this.x6.gotoAndPlay(11);
}
Instance of Symbol 1254 MovieClip in Symbol 1274 MovieClip Frame 1
onClipEvent (load) {
if (_global.falcondive == 1) {
this.x1.gotoAndPlay(2);
}
if (_global.groundbreaker == 1) {
this.x2.gotoAndPlay(2);
}
if (_global.shockwave == 1) {
this.x3.gotoAndPlay(2);
}
if (_global.plasmabomb == 1) {
this.x4.gotoAndPlay(2);
}
if (_global.healwounds == 1) {
this.x5.gotoAndPlay(2);
}
if (_global.resurrect == 1) {
this.x6.gotoAndPlay(2);
}
}
Symbol 1278 Button
on (release) {
if ((_global.attackstr < 100) && (_global.skillpoints > 999)) {
_global.attackstr = _global.attackstr + 5;
_global.skillpoints = _global.skillpoints - 1000;
_root.game.skilladvancement.statlist.currstr = _global.attackstr;
_root.game.skilladvancement.statlist.currdef = _global.defense;
_root.clickbutton.start();
}
}
Symbol 1279 Button
on (release) {
if ((_global.defense < 70) && (_global.skillpoints > 999)) {
_global.defense = _global.defense + 5;
_global.skillpoints = _global.skillpoints - 1000;
_root.game.skilladvancement.statlist.currstr = _global.attackstr;
_root.game.skilladvancement.statlist.currdef = _global.defense;
_root.clickbutton.start();
}
}
Symbol 1284 MovieClip Frame 1
_root.game.skilladvancement.statlist.currstr = _global.attackstr;
_root.game.skilladvancement.statlist.currdef = _global.defense;
Symbol 1287 Button
on (release) {
this.skilllist._x = 73.5;
this.jutsulist._x = 680;
this.statlist._x = 680;
}
Symbol 1288 Button
on (release) {
this.skilllist._x = 680;
this.statlist._x = 680;
this.jutsulist._x = 73.5;
}
Symbol 1289 Button
on (release) {
gotoAndPlay (6);
}
Symbol 1291 Button
on (release) {
this.skilllist._x = 680;
this.statlist._x = 73.5;
this.jutsulist._x = 680;
}
Symbol 1296 MovieClip Frame 1
stop();
_root.scrollopen.start();
Symbol 1296 MovieClip Frame 5
stop();
_global.gamepaused = 1;
_global.performingjutsu = 1;
_root.game.baruto.gotoAndStop("steady");
Symbol 1296 MovieClip Frame 6
_root.scrollclose.start();
Symbol 1296 MovieClip Frame 9
stop();
this._alpha = 0;
_global.gamepaused = 0;
_global.scrollopen = 0;
_global.performingjutsu = 0;
Symbol 1303 Button
on (release) {
gotoAndPlay (2);
}
Symbol 1305 Button
on (release) {
gotoAndPlay (54);
}
Symbol 1310 Button
on (release) {
gotoAndPlay (14);
}
Symbol 1315 Button
on (release) {
gotoAndPlay (26);
}
Symbol 1320 Button
on (release) {
gotoAndPlay (37);
}
Symbol 1357 Button
on (release) {
gotoAndPlay (523);
}
Symbol 1362 Button
on (release) {
gotoAndPlay (530);
}
Symbol 1367 Button
on (release) {
_root.gotoAndPlay("credits");
}
Symbol 1368 Button
on (release) {
_root.gotoAndStop("title");
}
Symbol 1372 MovieClip Frame 1
stop();
_root.betweenlevels.start(0, 999);
Symbol 1372 MovieClip Frame 13
stop();
Symbol 1372 MovieClip Frame 25
stop();
Symbol 1372 MovieClip Frame 36
stop();
Symbol 1372 MovieClip Frame 48
stop();
Symbol 1372 MovieClip Frame 53
_root.game.bg.backgrounds.gotoAndStop("act1");
Symbol 1372 MovieClip Frame 54
stopAllSounds();
Symbol 1372 MovieClip Frame 65
_root.scrollopen.start();
Symbol 1372 MovieClip Frame 90
_root.scrollclose.start();
Symbol 1372 MovieClip Frame 100
stop();
_root.game.intro._alpha = 0;
_global.gamepaused = 0;
Symbol 1372 MovieClip Frame 101
stopAllSounds();
_global.act = 2;
_global.timer = 0;
_global.monsterkill = 0;
_root.boss.stop();
_root.game.intro._alpha = 100;
_root.game.lvltxt = "Act 2 - Get Ready...";
Symbol 1372 MovieClip Frame 130
_root.betweenlevels.start(0, 999);
_global.gamepaused = 1;
_global.herolife = _global.herolife + 400;
if (_global.difficulty == "EASY") {
if (_global.herolife > 2000) {
_global.herolife = 2000;
}
} else if (_global.herolife > 1000) {
_global.herolife = 1000;
}
Symbol 1372 MovieClip Frame 170
_root.game.bg.backgrounds.gotoAndStop("act2");
Symbol 1372 MovieClip Frame 176
_root.scrollopen.start();
Symbol 1372 MovieClip Frame 207
stopAllSounds();
_root.scrollclose.start();
Symbol 1372 MovieClip Frame 217
stop();
_root.game.intro._alpha = 0;
_global.gamepaused = 0;
Symbol 1372 MovieClip Frame 218
_global.act = 3;
_global.timer = 0;
_global.monsterkill = 0;
_root.boss.stop();
_root.game.intro._alpha = 100;
_root.game.lvltxt = "Act 3 - Dead Valley";
_root.betweenlevels.start(0, 999);
Symbol 1372 MovieClip Frame 248
_global.gamepaused = 1;
_global.herolife = _global.herolife + 400;
if (_global.difficulty == "EASY") {
if (_global.herolife > 2000) {
_global.herolife = 2000;
}
} else if (_global.herolife > 1000) {
_global.herolife = 1000;
}
Symbol 1372 MovieClip Frame 295
_root.game.bg.backgrounds.gotoAndStop("act3");
Symbol 1372 MovieClip Frame 301
_root.scrollopen.start();
Symbol 1372 MovieClip Frame 332
stopAllSounds();
_root.scrollclose.start();
Symbol 1372 MovieClip Frame 342
stop();
_root.game.intro._alpha = 0;
_global.gamepaused = 0;
Symbol 1372 MovieClip Frame 343
_global.act = 4;
_global.timer = 0;
_global.monsterkill = 0;
_root.boss.stop();
_root.game.intro._alpha = 100;
_root.game.lvltxt = "Act 4 - Shadow's Keep";
_root.betweenlevels.start(0, 999);
Symbol 1372 MovieClip Frame 373
_global.gamepaused = 1;
_global.herolife = _global.herolife + 400;
if (_global.difficulty == "EASY") {
if (_global.herolife > 2000) {
_global.herolife = 2000;
}
} else if (_global.herolife > 1000) {
_global.herolife = 1000;
}
Symbol 1372 MovieClip Frame 420
_root.game.bg.backgrounds.gotoAndStop("act4");
Symbol 1372 MovieClip Frame 426
_root.scrollopen.start();
Symbol 1372 MovieClip Frame 457
stopAllSounds();
_root.scrollclose.start();
Symbol 1372 MovieClip Frame 467
stop();
_root.game.intro._alpha = 0;
_global.gamepaused = 0;
Symbol 1372 MovieClip Frame 468
_global.timer = 0;
_global.monsterkill = 0;
stopAllSounds();
_root.game.intro._alpha = 100;
Symbol 1372 MovieClip Frame 470
_root.despair.start(0, 9999);
Symbol 1372 MovieClip Frame 498
_global.gamepaused = 1;
Symbol 1372 MovieClip Frame 523
stop();
Symbol 1372 MovieClip Frame 529
stop();
Symbol 1372 MovieClip Frame 535
finalscore = _global.score;
_root.game.intro.mcSubmitScore.Score = finalscore;
stop();
Instance of Symbol 944 MovieClip [TMPd4lzhusf84] "mcSubmitScore" in Symbol 1372 MovieClip Frame 535
//component parameters
onClipEvent (construct) {
btnMC = "submitbutton";
gameID = 270;
}
Instance of Symbol 870 MovieClip in Symbol 1376 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.difficulty == "EASY") {
this._xscale = _global.herolife / 2;
} else {
this._xscale = _global.herolife;
}
}
Instance of Symbol 874 MovieClip in Symbol 1376 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = _global.herochakra;
}
Instance of Symbol 877 MovieClip in Symbol 1376 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.shurikens > 0) {
this._xscale = _global.shurikens * 4;
}
}
Instance of Symbol 948 MovieClip "deathcurtain" in Symbol 1376 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.herodead == 1) {
if ((_global.resurrect == 1) && (_global.herochakra > 199)) {
_global.herodead = 2;
_global.gamepaused = 1;
_global.performingjutsu = 1;
_root.game.baruto.gotoAndPlay("resurrect");
_global.herochakra = _global.herochakra - 200;
_global.resurrect = 0;
if (_global.difficulty == "EASY") {
_global.herolife = 2000;
} else {
_global.herolife = 1000;
}
} else {
_root.game.deathcurtain.gotoAndPlay("downcurtain");
_global.herodead = 2;
stopAllSounds();
}
}
}
Instance of Symbol 289 MovieClip "shuriken" in Symbol 1376 MovieClip Frame 1
onClipEvent (load) {
speed = 30;
moveto = _global.moveto;
}
onClipEvent (enterFrame) {
if (moveto == "left") {
_x = (_x - speed);
if (_x < -200) {
removeMovieClip(this);
}
} else {
_x = (_x + speed);
if (_x > 400) {
removeMovieClip(this);
}
}
}
Instance of Symbol 1211 MovieClip "kunai" in Symbol 1376 MovieClip Frame 1
onClipEvent (load) {
speed = 50;
moveto = _global.moveto;
}
onClipEvent (enterFrame) {
if (moveto == "left") {
_x = (_x - speed);
if (_x < -200) {
removeMovieClip(this);
}
} else {
_x = (_x + speed);
if (_x > 400) {
removeMovieClip(this);
}
}
}
Instance of Symbol 1214 MovieClip in Symbol 1376 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.act == 4) {
this._alpha = 70;
} else {
this._alpha = 0;
}
}
Instance of Symbol 1375 MovieClip in Symbol 1376 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.gamepaused == 0) {
_root.game.lvlscore = _global.score;
_root.game.skillpoints = _global.skillpoints;
if (_global.herochakra > 1000) {
_global.herochakra = 1000;
}
if (Key.isDown(83)) {
if (_global.np == 0) {
if ((((_global.herojumping == 0) && (_global.performingjutsu == 0)) && (_global.teleporting == 0)) && (_global.hurt == 0)) {
if (_global.combo == 0) {
this._parent.baruto.gotoAndStop("attack1");
_global.combo = _global.combo + 1;
} else {
if ((_global.groundbreaker == 0) && (_global.combo == 4)) {
_global.combo = 1;
}
if ((_global.shockwave == 0) && (_global.combo == 5)) {
_global.combo = 1;
}
if ((_global.plasmabomb == 0) && (_global.combo == 6)) {
_global.combo = 1;
}
this._parent.baruto.gotoAndStop("attack" + _global.combo);
_global.combo = _global.combo + 1;
}
_global.np = 1;
}
if ((_global.herojumping == 1) && (_global.jumppeak == 1)) {
if (_global.falcondive == 1) {
if (_global.herochakra > 50) {
_global.performingjutsu = 1;
this._parent.baruto.gotoAndStop("airattack");
}
}
}
}
_global.throwshuriken = 0;
} else if (Key.isDown(65)) {
trace(_global.shurikens);
if (_global.shurikens > 1) {
if ((((_global.herojumping == 0) && (_global.performingjutsu == 0)) && (_global.teleporting == 0)) && (_global.hurt == 0)) {
if (_global.throwshuriken == 0) {
_global.throwshuriken = 1;
this._parent.baruto.gotoAndStop("shuriken");
_global.throwshuriken = 0;
if (!a) {
if (_global.shotCount < 100) {
_global.shotCount = _global.shotCount + 1;
depth = (_global.shotCount % 100) + 100;
duplicateMovieClip (_root.game.shuriken, "sparo" + _global.shotCount, depth);
_root.game["sparo" + _global.shotCount]._x = _root.game.baruto._x;
_root.game["sparo" + _global.shotCount]._y = _root.game.baruto._y;
_global.shurikens = _global.shurikens - 1;
}
a = true;
} else {
a = false;
}
}
}
}
_global.combo = 0;
_global.np = 0;
} else if (Key.isDown(37)) {
_global.moveto = "left";
if (this._parent.bg._x < 1900) {
if (((_global.performingjutsu == 0) && (_global.teleporting == 0)) && (_global.hurt == 0)) {
if (_global.herojumping == 0) {
this._parent.baruto.gotoAndStop("run");
}
this._parent.baruto._xscale = 31.0546875;
this._parent.bg._x = this._parent.bg._x + 50;
this._parent.bg.scaler._x = this._parent.bg.scaler._x - 50;
_global.combo = 0;
_global.throwshuriken = 0;
_global.np = 0;
}
}
} else if (Key.isDown(39)) {
_global.moveto = "right";
if (this._parent.bg._x > 200) {
if (((_global.performingjutsu == 0) && (_global.teleporting == 0)) && (_global.hurt == 0)) {
if (_global.herojumping == 0) {
this._parent.baruto.gotoAndStop("run");
}
this._parent.baruto._xscale = -31.0546875;
this._parent.bg._x = this._parent.bg._x - 50;
this._parent.bg.scaler._x = this._parent.bg.scaler._x + 50;
_global.combo = 0;
_global.throwshuriken = 0;
_global.np = 0;
}
}
} else if ((((_global.herojumping == 0) && (_global.performingjutsu == 0)) && (_global.teleporting == 0)) && (_global.hurt == 0)) {
this._parent.baruto.gotoAndStop("steady");
_global.np = 0;
}
if (Key.isDown(38)) {
if ((((_global.herojumping == 0) && (_global.performingjutsu == 0)) && (_global.teleporting == 0)) && (_global.hurt == 0)) {
_global.herojumping = 1;
this._parent.baruto.gotoAndStop("jump");
}
_global.combo = 0;
_global.throwshuriken = 0;
_global.np = 0;
}
if (Key.isDown(40)) {
if (_global.herochakra > 10) {
if (((_global.herojumping == 0) && (_global.performingjutsu == 0)) && (_global.teleporting == 0)) {
_global.teleporting = 1;
this._parent.baruto.gotoAndStop("teleport");
_global.herochakra = _global.herochakra - 10;
}
}
_global.combo = 0;
_global.throwshuriken = 0;
_global.np = 0;
}
if (Key.isDown(87)) {
if ((_global.herochakra >= 200) && (_global.jutsutype == 1)) {
if ((((_global.herojumping == 0) && (_global.performingjutsu == 0)) && (_global.teleporting == 0)) && (_global.hurt == 0)) {
_global.performingjutsu = 1;
if (_global.jutsutype != 0) {
this._parent.baruto.gotoAndStop("jutsu" + _global.jutsutype);
_global.herochakra = _global.herochakra - 200;
} else {
_global.performingjutsu = 0;
}
}
}
if ((_global.herochakra >= 300) && (_global.jutsutype == 2)) {
if ((((_global.herojumping == 0) && (_global.performingjutsu == 0)) && (_global.teleporting == 0)) && (_global.hurt == 0)) {
_global.performingjutsu = 1;
if (_global.jutsutype != 0) {
this._parent.baruto.gotoAndStop("jutsu" + _global.jutsutype);
_global.herochakra = _global.herochakra - 300;
} else {
_global.performingjutsu = 0;
}
}
}
if ((_global.herochakra >= 400) && (_global.jutsutype == 3)) {
if ((((_global.herojumping == 0) && (_global.performingjutsu == 0)) && (_global.teleporting == 0)) && (_global.hurt == 0)) {
_global.performingjutsu = 1;
if (_global.jutsutype != 0) {
this._parent.baruto.gotoAndStop("jutsu" + _global.jutsutype);
_global.herochakra = _global.herochakra - 400;
} else {
_global.performingjutsu = 0;
}
}
}
if ((_global.herochakra >= 500) && (_global.jutsutype == 4)) {
if ((((_global.herojumping == 0) && (_global.performingjutsu == 0)) && (_global.teleporting == 0)) && (_global.hurt == 0)) {
_global.performingjutsu = 1;
if (_global.jutsutype != 0) {
this._parent.baruto.gotoAndStop("jutsu" + _global.jutsutype);
_global.herochakra = _global.herochakra - 500;
} else {
_global.performingjutsu = 0;
}
}
}
if ((_global.herochakra >= 600) && (_global.jutsutype == 5)) {
if ((((_global.herojumping == 0) && (_global.performingjutsu == 0)) && (_global.teleporting == 0)) && (_global.hurt == 0)) {
_global.performingjutsu = 1;
if (_global.jutsutype != 0) {
this._parent.baruto.gotoAndStop("jutsu" + _global.jutsutype);
_global.herochakra = _global.herochakra - 700;
} else {
_global.performingjutsu = 0;
}
}
}
_global.combo = 0;
_global.throwshuriken = 0;
_global.np = 0;
}
if (_global.herochakra < 200) {
this._parent.jbox1._alpha = 50;
this._parent.jbox1.gotoAndStop(1);
} else {
this._parent.jbox1._alpha = 100;
}
if (_global.spikerain == 1) {
if (_global.herochakra < 300) {
this._parent.jbox2._alpha = 50;
this._parent.jbox2.gotoAndStop(1);
} else {
this._parent.jbox2._alpha = 100;
}
}
if (_global.beholdereye == 1) {
if (_global.herochakra < 400) {
this._parent.jbox3._alpha = 50;
this._parent.jbox3.gotoAndStop(1);
} else {
this._parent.jbox3._alpha = 400;
}
}
if (_global.plasmaburst == 1) {
if (_global.herochakra < 500) {
this._parent.jbox4._alpha = 50;
this._parent.jbox4.gotoAndStop(1);
} else {
this._parent.jbox4._alpha = 100;
}
}
if (_global.summondragon == 1) {
if (_global.herochakra < 600) {
this._parent.jbox5._alpha = 50;
this._parent.jbox5.gotoAndStop(1);
} else {
this._parent.jbox5._alpha = 100;
}
}
if (Key.isDown(49)) {
if (_global.herochakra >= 200) {
_global.jutsutype = 1;
this._parent.jbox1.gotoAndStop("selected");
this._parent.jbox2.gotoAndStop(1);
this._parent.jbox3.gotoAndStop(1);
this._parent.jbox4.gotoAndStop(1);
this._parent.jbox5.gotoAndStop(1);
}
} else if (Key.isDown(50)) {
if ((_global.herochakra >= 300) && (_global.spikerain == 1)) {
_global.jutsutype = 2;
this._parent.jbox2.gotoAndStop("selected");
this._parent.jbox1.gotoAndStop(1);
this._parent.jbox3.gotoAndStop(1);
this._parent.jbox4.gotoAndStop(1);
this._parent.jbox5.gotoAndStop(1);
}
} else if (Key.isDown(51)) {
if ((_global.herochakra >= 400) && (_global.beholdereye == 1)) {
_global.jutsutype = 3;
this._parent.jbox3.gotoAndStop("selected");
this._parent.jbox2.gotoAndStop(1);
this._parent.jbox1.gotoAndStop(1);
this._parent.jbox4.gotoAndStop(1);
this._parent.jbox5.gotoAndStop(1);
}
} else if (Key.isDown(52)) {
if ((_global.herochakra >= 500) && (_global.plasmaburst == 1)) {
_global.jutsutype = 4;
this._parent.jbox4.gotoAndStop("selected");
this._parent.jbox2.gotoAndStop(1);
this._parent.jbox3.gotoAndStop(1);
this._parent.jbox1.gotoAndStop(1);
this._parent.jbox5.gotoAndStop(1);
}
} else if (Key.isDown(53)) {
if ((_global.herochakra >= 600) && (_global.summondragon == 1)) {
_global.jutsutype = 5;
this._parent.jbox5.gotoAndStop("selected");
this._parent.jbox2.gotoAndStop(1);
this._parent.jbox3.gotoAndStop(1);
this._parent.jbox4.gotoAndStop(1);
this._parent.jbox1.gotoAndStop(1);
}
}
if (_global.falcondive == 1) {
this._parent.sbox1._alpha = 100;
}
if (_global.groundbreaker == 1) {
this._parent.sbox2._alpha = 100;
}
if (_global.shockwave == 1) {
this._parent.sbox3._alpha = 100;
}
if (_global.plasmabomb == 1) {
this._parent.sbox4._alpha = 100;
}
if (_global.healwounds == 1) {
if (_global.herochakra < 299) {
this._parent.sbox5._alpha = 50;
this._parent.sbox5.gotoAndStop(1);
} else {
this._parent.sbox5._alpha = 100;
}
}
if (_global.resurrect == 1) {
if (_global.herochakra < 199) {
this._parent.sbox6._alpha = 50;
this._parent.sbox6.gotoAndStop(1);
} else {
this._parent.sbox6._alpha = 100;
}
}
if (Key.isDown(81)) {
if ((((_global.herojumping == 0) && (_global.performingjutsu == 0)) && (_global.teleporting == 0)) && (_global.hurt == 0)) {
if ((_global.herochakra >= 300) && (_global.healwounds == 1)) {
this._parent.baruto.gotoAndStop("heal");
_global.herolife = _global.herolife + 400;
_global.herochakra = _global.herochakra - 300;
if (_global.difficulty == "EASY") {
if (_global.herolife > 2000) {
_global.herolife = 2000;
}
} else if (_global.herolife > 1000) {
_global.herolife = 1000;
}
}
}
}
}
}
Symbol 1383 Button
on (release) {
_quality = "LOW";
}
Symbol 1384 Button
on (release) {
_quality = "MEDIUM";
}
Symbol 1385 Button
on (release) {
_quality = "HIGH";
}
Symbol 1391 Button
on (release) {
gotoAndStop ("title");
}
Symbol 1397 MovieClip Frame 1
stop();
Symbol 1399 MovieClip Frame 1
stop();
Symbol 1403 MovieClip Frame 1
stop();
Symbol 1406 MovieClip Frame 1
stop();
Symbol 1409 MovieClip Frame 1
stop();
Symbol 1410 MovieClip Frame 1
stop();
Symbol 1411 Button
on (release) {
getURL ("http://www.thisarcade.com", "_blank");
}
Symbol 1422 Button
on (press) {
sboard.dir = "up";
}
on (release) {
sboard.dir = "stop";
}
Symbol 1423 Button
on (press) {
sboard.dir = "down";
}
on (release) {
sboard.dir = "stop";
}
Symbol 1430 MovieClip Frame 1
stop();
Symbol 1430 MovieClip Frame 2
stop();
Symbol 1440 MovieClip [TMP6pbk6uzm9i] Frame 1
var arrScore = new Array();
mcScoreboard.sboard.dir = "stop";
mcScoreboard.sboard.mcScoreHolder.mcScore._visible = false;
mcLabel._visible = false;
var main = this;
xmlPlayer = new XML();
xmlPlayer.ignoreWhite = true;
xmlPlayer.onLoad = function (success) {
if (success) {
myPlayer = xmlPlayer.firstChild.childNodes;
ctr2 = 0;
while (ctr2 < myPlayer.length) {
thisPlayer = main.mcScoreboard.sboard.mcScoreHolder.mcScore.duplicateMovieClip("mcScore" + ctr2, ctr2);
thisPlayer._y = ctr2 * thisPlayer._height;
thisPlayer._visible = true;
if ((ctr2 % 2) > 0) {
thisPlayer.gotoAndStop(2);
}
thisPlayer.txtNumber.text = (ctr2 + 1) + ")";
thisPlayer.txtNickname.text = myPlayer[ctr2].attributes.player;
thisPlayer.txtScore.text = myPlayer[ctr2].attributes.score;
ctr2++;
}
main.mcScoreboard.mcLoading._visible = false;
main.mcScoreboard.sboard.mcScoreHolder.item = myPlayer.length;
main.mcScoreboard.sboard.mcScoreHolder.speedy = 0;
main.mcScoreboard.sboard.mcScoreHolder.desty = 0;
main.mcScoreboard.sboard.mcScoreHolder.onEnterFrame = function () {
if ((this.desty < 0) && (this._parent.dir == "up")) {
this.desty = this.desty + 10;
if (this.desty > 0) {
this.desty = 0;
}
}
if ((this.desty > (this._parent.mcBlock._height - (this.mcScore._height * this.item))) && (this._parent.dir == "down")) {
this.desty = this.desty - 10;
if (this.desty < (this._parent.mcBlock._height - (this.mcScore._height * this.item))) {
this.desty = this._parent.mcBlock._height - (this.mcScore._height * this.item);
}
}
this.speedy = (this.desty - this._y) + (this.speedy * 0.4);
this._y = this._y + this.speedy;
};
}
};
xmlPlayer.load(((("http://www.freeonlinegames.com/scoreboard/getTopPlayer.php?id=" + gameID) + "&rand=") + random(999999)) + "&filt=1");
Symbol 1445 MovieClip [TMP6ojzjuzm8i] Frame 1
var arrScore = new Array();
mcScoreboard.sboard.dir = "stop";
mcScoreboard.sboard.mcScoreHolder.mcScore._visible = false;
mcLabel._visible = false;
var main = this;
xmlPlayer = new XML();
xmlPlayer.ignoreWhite = true;
xmlPlayer.onLoad = function (success) {
if (success) {
myPlayer = xmlPlayer.firstChild.childNodes;
ctr2 = 0;
while (ctr2 < myPlayer.length) {
thisPlayer = main.mcScoreboard.sboard.mcScoreHolder.mcScore.duplicateMovieClip("mcScore" + ctr2, ctr2);
thisPlayer._y = ctr2 * thisPlayer._height;
thisPlayer._visible = true;
if ((ctr2 % 2) > 0) {
thisPlayer.gotoAndStop(2);
}
thisPlayer.txtNumber.text = (ctr2 + 1) + ")";
thisPlayer.txtNickname.text = myPlayer[ctr2].attributes.player;
thisPlayer.txtScore.text = myPlayer[ctr2].attributes.score;
ctr2++;
}
main.mcScoreboard.mcLoading._visible = false;
main.mcScoreboard.sboard.mcScoreHolder.item = myPlayer.length;
main.mcScoreboard.sboard.mcScoreHolder.speedy = 0;
main.mcScoreboard.sboard.mcScoreHolder.desty = 0;
main.mcScoreboard.sboard.mcScoreHolder.onEnterFrame = function () {
if ((this.desty < 0) && (this._parent.dir == "up")) {
this.desty = this.desty + 10;
if (this.desty > 0) {
this.desty = 0;
}
}
if ((this.desty > (this._parent.mcBlock._height - (this.mcScore._height * this.item))) && (this._parent.dir == "down")) {
this.desty = this.desty - 10;
if (this.desty < (this._parent.mcBlock._height - (this.mcScore._height * this.item))) {
this.desty = this._parent.mcBlock._height - (this.mcScore._height * this.item);
}
}
this.speedy = (this.desty - this._y) + (this.speedy * 0.4);
this._y = this._y + this.speedy;
};
}
};
xmlPlayer.load((("http://www.freeonlinegames.com/scoreboard/getTopPlayer.php?id=" + _root.gameID) + "&rand=") + random(999999));