Frame 1
Loaded = Math.round(getBytesLoaded());
total = Math.round(getBytesTotal());
percent = Loaded / total;
bar._width = percent * 150;
text = Math.round(percent * 100) + "%";
if (Loaded == total) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
_global.combo = 0;
_global.herojumping = 0;
_global.teleporting = 0;
_global.performingjutsu = 0;
_global.throwshuriken = 0;
_global.shotCount = 1;
_global.shotCount2 = 1;
_global.moveto = "left";
_global.hurt = 0;
_global.herolife = 500;
_global.herochakra = 500;
_global.shurikens = 100;
_global.kunai = 100;
_global.attackstr = 0;
_global.glevel = 1;
_global.jutsutype = 1;
_global.score = 0;
_global.herodead = 0;
_global.timer = 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");
j3 = new Sound();
j3.attachSound("j3");
j4 = new Sound();
j4.attachSound("j4");
jstart = new Sound();
jstart.attachSound("jstart");
stop();
Frame 4
stop();
Symbol 29 Button
on (release) {
getURL ("http://www.ultimateflashgame.com", "_blank");
}
Symbol 56 MovieClip Frame 6
stop();
Symbol 65 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 5
stop();
Symbol 68 Button
on (release) {
gotoAndStop ("game");
}
Symbol 70 Button
on (release) {
alarm.stop("alarm");
getURL ("http://www.ultimateflashgame.com", "_parent");
}
Symbol 72 Button
on (release) {
_root.instruction._x = 8;
}
Symbol 92 Button
on (release) {
this._x = -288;
}
Symbol 97 MovieClip [b_WEBSECTORde] Frame 1
this.init("http://www.ultimateflashgame.com/", true);
stop();
Symbol 98 Button
on (release) {
getURL ("http://www.ultimateflashgame.com", "_blank");
}
Symbol 102 MovieClip Frame 3000
stop();
Symbol 115 MovieClip Frame 10
stop();
Symbol 119 MovieClip Frame 10
_parent.gotoAndStop("steady");
Instance of Symbol 121 MovieClip "hitpart" in Symbol 123 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
atkpow = 25;
_global.hurt = 1;
_root.game.baruto.gotoAndStop("hurt");
_global.herolife = _global.herolife - atkpow;
}
}
} else {
_global.hurt = 1;
_root.game.baruto.gotoAndStop("dead");
}
}
Symbol 123 MovieClip Frame 13
_parent.gotoAndStop("steady");
Symbol 126 MovieClip Frame 1
_global.score = _global.score + 100;
Symbol 126 MovieClip Frame 20
stop();
removeMovieClip(this.parent);
Symbol 127 MovieClip Frame 2
stop();
Symbol 127 MovieClip Frame 3
stop();
Symbol 127 MovieClip Frame 4
stop();
Symbol 127 MovieClip Frame 5
stop();
Symbol 137 MovieClip Frame 10
stop();
Symbol 141 MovieClip Frame 9
_parent.gotoAndStop("steady");
Instance of Symbol 121 MovieClip "hitpart" in Symbol 143 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_global.herolife > 0) {
if ((_global.teleporting == 0) && (_global.performingjutsu == 0)) {
if (this.hitTest(_root.game.baruto)) {
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 143 MovieClip Frame 6
_parent.gotoAndStop("steady");
Symbol 146 MovieClip Frame 1
_global.score = _global.score + 150;
Symbol 146 MovieClip Frame 20
stop();
removeMovieClip(this.parent);
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 2
stop();
Symbol 147 MovieClip Frame 3
stop();
Symbol 147 MovieClip Frame 4
stop();
Symbol 147 MovieClip Frame 5
stop();
Instance of Symbol 127 MovieClip "enemy" in Symbol 152 MovieClip Frame 1
onClipEvent (load) {
life = 300;
myname = _name;
}
onClipEvent (enterFrame) {
if (_name != "enemy") {
if (life > 0) {
if (_global.shotCount < 100) {
st = 0;
while (st <= 100) {
if (this.hitTest(_root.game["sparo" + st])) {
atkpow = 20 + _global.attackstr;
this.gotoAndStop("hurt");
life = life - atkpow;
this.stop();
_root.game["sparo" + st].removeMovieClip();
}
st++;
}
}
if (_global.shotCount2 < 100) {
st = 0;
while (st <= 100) {
if (this.hitTest(_root.game["sparo2" + st])) {
atkpow = 35 + _global.attackstr;
this.gotoAndStop("hurt");
life = life - atkpow;
this.stop();
_root.game["sparo2" + st].removeMovieClip();
}
st++;
}
}
if (this.hitTest(_root.game.baruto.barutoattack1.hitpart) || (this.hitTest(_root.game.baruto.barutoattack2.hitpart))) {
if (_global.herochakra < 500) {
_global.herochakra = _global.herochakra + 1;
}
atkpow = 10 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
life = life - atkpow;
this.stop();
} else if (this.hitTest(_root.game.baruto.barutoattack3.hitpart)) {
if (_global.herochakra < 500) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 20 + _global.attackstr;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
life = life - atkpow;
this.stop();
} else if (this.hitTest(_root.game.baruto.barutoattack4.hitpart)) {
if (_global.herochakra < 500) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 30 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
life = life - atkpow;
this.stop();
} else if (this.hitTest(_root.game.baruto.jump.hitpart)) {
atkpow = 30 + _global.attackstr;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
life = life - atkpow;
this.stop();
} else if (this.hitTest(_root.game.baruto["jutsu" + _global.jutsutype])) {
atkpow = 50 + _global.attackstr;
life = life - atkpow;
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitTest(_root.game.baruto)) {
root.growl.start(0, 1);
this.gotoAndStop("attack");
this.stop();
} else {
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 {
this.gotoAndStop("dead");
this.stop();
}
}
}
Instance of Symbol 147 MovieClip "enemy2" in Symbol 152 MovieClip Frame 1
onClipEvent (load) {
life = 200;
myname = _name;
}
onClipEvent (enterFrame) {
if (_name != "enemy2") {
if (life > 0) {
if (_global.shotCount < 100) {
st = 0;
while (st <= 100) {
if (this.hitTest(_root.game["sparo" + st])) {
atkpow = 20 + _global.attackstr;
this.gotoAndStop("hurt");
life = life - atkpow;
this._x = this._x + 1;
_root.game["sparo" + st].removeMovieClip();
this.stop();
}
st++;
}
}
if (_global.shotCount2 < 100) {
st = 0;
while (st <= 100) {
if (this.hitTest(_root.game["sparo2" + st])) {
atkpow = 35 + _global.attackstr;
this.gotoAndStop("hurt");
life = life - atkpow;
this._x = this._x + 1;
_root.game["sparo2" + st].removeMovieClip();
this.stop();
}
st++;
}
}
if (this.hitTest(_root.game.baruto.barutoattack1.hitpart) || (this.hitTest(_root.game.baruto.barutoattack2.hitpart))) {
if (_global.herochakra < 500) {
_global.herochakra = _global.herochakra + 1;
}
atkpow = 10 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
life = life - atkpow;
this.stop();
} else if (this.hitTest(_root.game.baruto.barutoattack3.hitpart)) {
if (_global.herochakra < 500) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 20 + _global.attackstr;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
life = life - atkpow;
this.stop();
} else if (this.hitTest(_root.game.baruto.barutoattack4.hitpart)) {
if (_global.herochakra < 500) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 30 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
life = life - atkpow;
this.stop();
} else if (this.hitTest(_root.game.baruto.jump.hitpart)) {
atkpow = 30 + _global.attackstr;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
life = life - atkpow;
this.stop();
} else if (this.hitTest(_root.game.baruto["jutsu" + _global.jutsutype])) {
atkpow = 50 + _global.attackstr;
life = life - atkpow;
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitTest(_root.game.baruto)) {
root.growl.start(0, 1);
this.gotoAndStop("attack");
this.stop();
} else {
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 127 MovieClip "enemy3" in Symbol 152 MovieClip Frame 1
onClipEvent (load) {
life = 500;
myname = _name;
}
onClipEvent (enterFrame) {
if (_name != "enemy3") {
if (life > 0) {
if (_global.shotCount < 100) {
st = 0;
while (st <= 100) {
if (this.hitTest(_root.game["sparo" + st])) {
atkpow = 20 + _global.attackstr;
this.gotoAndStop("hurt");
life = life - atkpow;
_root.game["sparo" + st].removeMovieClip();
this.stop();
}
st++;
}
}
if (_global.shotCount2 < 100) {
st = 0;
while (st <= 100) {
if (this.hitTest(_root.game["sparo2" + st])) {
atkpow = 35 + _global.attackstr;
this.gotoAndStop("hurt");
life = life - atkpow;
_root.game["sparo2" + st].removeMovieClip();
this.stop();
}
st++;
}
}
if (this.hitTest(_root.game.baruto.barutoattack1.hitpart) || (this.hitTest(_root.game.baruto.barutoattack2.hitpart))) {
if (_global.herochakra < 500) {
_global.herochakra = _global.herochakra + 1;
}
atkpow = 10 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("attack");
life = life - atkpow;
} else if (this.hitTest(_root.game.baruto.barutoattack3.hitpart)) {
if (_global.herochakra < 500) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 20 + _global.attackstr;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
life = life - atkpow;
this.stop();
} else if (this.hitTest(_root.game.baruto.barutoattack4.hitpart)) {
if (_global.herochakra < 500) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 30 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
life = life - atkpow;
this.stop();
} else if (this.hitTest(_root.game.baruto.jump.hitpart)) {
atkpow = 30 + _global.attackstr;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
life = life - atkpow;
this.stop();
} else if (this.hitTest(_root.game.baruto["jutsu" + _global.jutsutype])) {
atkpow = 50 + _global.attackstr;
life = life - atkpow;
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitTest(_root.game.baruto)) {
root.growl.start(0, 1);
this.gotoAndStop("attack");
this.stop();
} else {
monsterx = this._x * -1;
gamex = _root.game.bg.scaler._x * -1;
if (gamex < monsterx) {
this._x = this._x + 5;
this._xscale = 150;
}
if (gamex == monsterx) {
this._x = this._x + 10;
this.gotoAndStop("attack");
this.stop();
}
if (gamex > monsterx) {
this._x = this._x - 5;
this._xscale = -150;
}
}
} else {
this.gotoAndStop("dead");
this.stop();
}
}
}
Instance of Symbol 147 MovieClip "enemy4" in Symbol 152 MovieClip Frame 1
onClipEvent (load) {
life = 400;
myname = _name;
}
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 = 20 + _global.attackstr;
this.gotoAndStop("hurt");
life = life - atkpow;
this._x = this._x + 1;
_root.game["sparo" + st].removeMovieClip();
this.stop();
}
st++;
}
}
if (_global.shotCount2 < 100) {
st = 0;
while (st <= 100) {
if (this.hitTest(_root.game["sparo2" + st])) {
atkpow = 35 + _global.attackstr;
this.gotoAndStop("hurt");
life = life - atkpow;
this._x = this._x + 1;
_root.game["sparo2" + st].removeMovieClip();
this.stop();
}
st++;
}
}
if (this.hitTest(_root.game.baruto.barutoattack1.hitpart) || (this.hitTest(_root.game.baruto.barutoattack2.hitpart))) {
if (_global.herochakra < 500) {
_global.herochakra = _global.herochakra + 1;
}
atkpow = 10 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
life = life - atkpow;
this.stop();
} else if (this.hitTest(_root.game.baruto.barutoattack3.hitpart)) {
if (_global.herochakra < 500) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 20 + _global.attackstr;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
life = life - atkpow;
this.stop();
} else if (this.hitTest(_root.game.baruto.barutoattack4.hitpart)) {
if (_global.herochakra < 500) {
_global.herochakra = _global.herochakra + 5;
}
atkpow = 30 + _global.attackstr;
_root.punch1.start(0, 1);
this.gotoAndStop("hurt");
life = life - atkpow;
this.stop();
} else if (this.hitTest(_root.game.baruto.jump.hitpart)) {
atkpow = 30 + _global.attackstr;
_root.punch3.start(0, 1);
this.gotoAndStop("hurt");
life = life - atkpow;
this.stop();
} else if (this.hitTest(_root.game.baruto["jutsu" + _global.jutsutype])) {
atkpow = 50 + _global.attackstr;
life = life - atkpow;
this.gotoAndStop("hurt");
this.stop();
} else if (this.hitTest(_root.game.baruto)) {
root.growl.start(0, 1);
this.gotoAndStop("attack");
this.stop();
} else {
monsterx = this._x * -1;
gamex = _root.game.bg.scaler._x * -1;
if (gamex < monsterx) {
this._x = this._x + 30;
this._xscale = 100;
}
if (gamex == monsterx) {
this._x = this._x + 10;
this.gotoAndStop("attack");
this.stop();
}
if (gamex > monsterx) {
this._x = this._x - 30;
this._xscale = -100;
}
}
} else {
this.gotoAndStop("dead");
this.stop();
}
}
}
Instance of Symbol 149 MovieClip in Symbol 152 MovieClip Frame 1
onClipEvent (load) {
(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);
}
onClipEvent (enterFrame) {
if (_global.herodead == 0) {
_global.timer = _global.timer + 1;
trace(_global.timer);
if ((_global.timer > 10) && (a == 0)) {
a = 1;
_root.game.jbox1.gotoAndStop(1);
_root.bg.start(0, 999);
_root.game.lvltxt = "Level 1";
duplicateMovieClip (_root.game.bg.enemy, "enemy11", 31);
_root.game.bg.enemy11._x = -1910;
_root.game.bg.enemy11._y = 33;
duplicateMovieClip (_root.game.bg.enemy, "enemy12", 32);
_root.game.bg.enemy12._x = -1810;
_root.game.bg.enemy12._y = 33;
duplicateMovieClip (_root.game.bg.enemy, "enemy13", 33);
_root.game.bg.enemy13._x = -10;
_root.game.bg.enemy13._y = 33;
duplicateMovieClip (_root.game.bg.enemy, "enemy14", 34);
_root.game.bg.enemy14._x = -50;
_root.game.bg.enemy14._y = 33;
}
if ((_global.timer > 150) && (b == 0)) {
b = 1;
_root.game.lvltxt = "Level 2";
duplicateMovieClip (_root.game.bg.enemy, "enemy16", 36);
_root.game.bg.enemy16._x = -1910;
_root.game.bg.enemy16._y = 33;
duplicateMovieClip (_root.game.bg.enemy, "enemy17", 37);
_root.game.bg.enemy17._x = -1810;
_root.game.bg.enemy17._y = 33;
duplicateMovieClip (_root.game.bg.enemy, "enemy18", 38);
_root.game.bg.enemy18._x = -10;
_root.game.bg.enemy18._y = 33;
duplicateMovieClip (_root.game.bg.enemy, "enemy20", 40);
_root.game.bg.enemy20._x = -50;
_root.game.bg.enemy20._y = 33;
duplicateMovieClip (_root.game.bg.enemy, "enemy21", 41);
_root.game.bg.enemy21._x = -100;
_root.game.bg.enemy21._y = 33;
}
if ((_global.timer > 250) && (c == 0)) {
c = 1;
_global.glevel = 3;
_root.game.jbox2._alpha = 100;
_root.game.lvltxt = "Level 3";
duplicateMovieClip (_root.game.bg.enemy2, "enemy23", 43);
_root.game.bg.enemy23._x = -1910;
_root.game.bg.enemy23._y = 33;
duplicateMovieClip (_root.game.bg.enemy2, "enemy24", 44);
_root.game.bg.enemy24._x = -1810;
_root.game.bg.enemy24._y = 33;
duplicateMovieClip (_root.game.bg.enemy, "enemy25", 45);
_root.game.bg.enemy25._x = -10;
_root.game.bg.enemy25._y = 33;
duplicateMovieClip (_root.game.bg.enemy, "enemy26", 46);
_root.game.bg.enemy26._x = -50;
_root.game.bg.enemy26._y = 33;
duplicateMovieClip (_root.game.bg.enemy, "enemy27", 47);
_root.game.bg.enemy27._x = -100;
_root.game.bg.enemy27._y = 33;
duplicateMovieClip (_root.game.bg.enemy2, "enemy28", 48);
_root.game.bg.enemy28._x = -200;
_root.game.bg.enemy28._y = 33;
}
if ((timer > 450) && (d == 0)) {
d = 1;
_root.game.lvltxt = "Level 4";
duplicateMovieClip (_root.game.bg.enemy2, "enemy30", 50);
_root.game.bg.enemy30._x = -1910;
_root.game.bg.enemy30._y = 33;
duplicateMovieClip (_root.game.bg.enemy2, "enemy31", 51);
_root.game.bg.enemy31._x = -1810;
_root.game.bg.enemy31._y = 33;
duplicateMovieClip (_root.game.bg.enemy2, "enemy34", 54);
_root.game.bg.enemy34._x = -100;
_root.game.bg.enemy34._y = 33;
duplicateMovieClip (_root.game.bg.enemy2, "enemy34a", 67);
_root.game.bg.enemy34a._x = -150;
_root.game.bg.enemy34a._y = 33;
duplicateMovieClip (_root.game.bg.enemy2, "enemy34b", 68);
_root.game.bg.enemy34b._x = -200;
_root.game.bg.enemy34b._y = 33;
}
if ((timer > 650) && (e == 0)) {
e = 1;
_root.game.lvltxt = "Level 5";
duplicateMovieClip (_root.game.bg.enemy, "enemy35", 55);
_root.game.bg.enemy35._x = -1910;
_root.game.bg.enemy35._y = 33;
duplicateMovieClip (_root.game.bg.enemy, "enemy36", 56);
_root.game.bg.enemy36._x = -1810;
_root.game.bg.enemy36._y = 33;
duplicateMovieClip (_root.game.bg.enemy, "enemy37", 57);
_root.game.bg.enemy37._x = -2000;
_root.game.bg.enemy37._y = 33;
duplicateMovieClip (_root.game.bg.enemy2, "enemy38", 58);
_root.game.bg.enemy38._x = -10;
_root.game.bg.enemy38._y = 33;
duplicateMovieClip (_root.game.bg.enemy2, "enemy39", 59);
_root.game.bg.enemy39._x = -50;
_root.game.bg.enemy39._y = 33;
duplicateMovieClip (_root.game.bg.enemy2, "enemy40", 60);
_root.game.bg.enemy40._x = -100;
_root.game.bg.enemy40._y = 33;
}
if ((timer > 850) && (f == 0)) {
f = 1;
_global.glevel = 6;
_root.game.jbox3._alpha = 100;
_root.game.lvltxt = "Level 6";
duplicateMovieClip (_root.game.bg.enemy, "enemy41", 61);
_root.game.bg.enemy41._x = -1910;
_root.game.bg.enemy41._y = 33;
duplicateMovieClip (_root.game.bg.enemy, "enemy42", 62);
_root.game.bg.enemy42._x = -1810;
_root.game.bg.enemy42._y = 33;
duplicateMovieClip (_root.game.bg.enemy2, "enemy43", 63);
_root.game.bg.enemy43._x = -2000;
_root.game.bg.enemy43._y = 33;
duplicateMovieClip (_root.game.bg.enemy2, "enemy45", 65);
_root.game.bg.enemy45._x = -50;
_root.game.bg.enemy45._y = 33;
duplicateMovieClip (_root.game.bg.enemy, "enemy46", 66);
_root.game.bg.enemy46._x = -100;
_root.game.bg.enemy46._y = 33;
}
if ((timer > 1050) && (g == 0)) {
g = 1;
_root.game.lvltxt = "Level 7";
duplicateMovieClip (_root.game.bg.enemy2, "enemy47", 70);
_root.game.bg.enemy47._x = -1910;
_root.game.bg.enemy47._y = 33;
duplicateMovieClip (_root.game.bg.enemy2, "enemy48", 71);
_root.game.bg.enemy48._x = -1810;
_root.game.bg.enemy48._y = 33;
duplicateMovieClip (_root.game.bg.enemy3, "enemy49", 72);
_root.game.bg.enemy49._x = -2000;
_root.game.bg.enemy49._y = 9;
duplicateMovieClip (_root.game.bg.enemy, "enemy50", 73);
_root.game.bg.enemy50._x = -10;
_root.game.bg.enemy50._y = 33;
duplicateMovieClip (_root.game.bg.enemy, "enemy51", 74);
_root.game.bg.enemy51._x = -50;
_root.game.bg.enemy51._y = 33;
duplicateMovieClip (_root.game.bg.enemy3, "enemy52", 75);
_root.game.bg.enemy52._x = -100;
_root.game.bg.enemy52._y = 9;
}
if ((timer > 1250) && (h == 0)) {
h = 1;
_root.game.lvltxt = "Level 8";
duplicateMovieClip (_root.game.bg.enemy3, "enemy53", 80);
_root.game.bg.enemy53._x = -1910;
_root.game.bg.enemy53._y = 9;
duplicateMovieClip (_root.game.bg.enemy2, "enemy54", 81);
_root.game.bg.enemy54._x = -1810;
_root.game.bg.enemy54._y = 33;
duplicateMovieClip (_root.game.bg.enemy, "enemy55", 82);
_root.game.bg.enemy55._x = -2000;
_root.game.bg.enemy55._y = 33;
duplicateMovieClip (_root.game.bg.enemy, "enemy56", 83);
_root.game.bg.enemy56._x = -10;
_root.game.bg.enemy56._y = 33;
duplicateMovieClip (_root.game.bg.enemy, "enemy57", 84);
_root.game.bg.enemy57._x = -50;
_root.game.bg.enemy57._y = 33;
duplicateMovieClip (_root.game.bg.enemy2, "enemy58", 85);
_root.game.bg.enemy58._x = -100;
_root.game.bg.enemy58._y = 33;
duplicateMovieClip (_root.game.bg.enemy3, "enemy59", 86);
_root.game.bg.enemy59._x = -200;
_root.game.bg.enemy59._y = 9;
}
if ((timer > 1450) && (i == 0)) {
i = 1;
_global.glevel = 9;
_root.game.jbox4._alpha = 100;
_root.game.lvltxt = "Level 9";
duplicateMovieClip (_root.game.bg.enemy3, "enemy60", 90);
_root.game.bg.enemy60._x = -1910;
_root.game.bg.enemy60._y = 9;
duplicateMovieClip (_root.game.bg.enemy3, "enemy61", 91);
_root.game.bg.enemy61._x = -1810;
_root.game.bg.enemy61._y = 9;
duplicateMovieClip (_root.game.bg.enemy3, "enemy62", 92);
_root.game.bg.enemy62._x = -2000;
_root.game.bg.enemy62._y = 9;
duplicateMovieClip (_root.game.bg.enemy, "enemy63", 93);
_root.game.bg.enemy63._x = -10;
_root.game.bg.enemy63._y = 33;
duplicateMovieClip (_root.game.bg.enemy, "enemy64", 94);
_root.game.bg.enemy64._x = -50;
_root.game.bg.enemy64._y = 33;
duplicateMovieClip (_root.game.bg.enemy2, "enemy65", 95);
_root.game.bg.enemy65._x = -100;
_root.game.bg.enemy65._y = 33;
duplicateMovieClip (_root.game.bg.enemy2, "enemy66", 96);
_root.game.bg.enemy66._x = -200;
_root.game.bg.enemy66._y = 33;
}
if ((timer > 1650) && (j == 0)) {
j = 1;
_root.game.lvltxt = "Level 10";
duplicateMovieClip (_root.game.bg.enemy3, "enemy70", 90);
_root.game.bg.enemy70._x = -1910;
_root.game.bg.enemy70._y = 9;
duplicateMovieClip (_root.game.bg.enemy3, "enemy71", 100);
_root.game.bg.enemy71._x = -1810;
_root.game.bg.enemy71._y = 9;
duplicateMovieClip (_root.game.bg.enemy3, "enemy72", 101);
_root.game.bg.enemy72._x = -2000;
_root.game.bg.enemy72._y = 9;
duplicateMovieClip (_root.game.bg.enemy, "enemy73", 102);
_root.game.bg.enemy73._x = -10;
_root.game.bg.enemy73._y = 33;
duplicateMovieClip (_root.game.bg.enemy, "enemy74", 103);
_root.game.bg.enemy74._x = -50;
_root.game.bg.enemy74._y = 33;
duplicateMovieClip (_root.game.bg.enemy2, "enemy75", 104);
_root.game.bg.enemy75._x = -100;
_root.game.bg.enemy75._y = 33;
duplicateMovieClip (_root.game.bg.enemy2, "enemy76", 105);
_root.game.bg.enemy76._x = -200;
_root.game.bg.enemy76._y = 33;
}
if ((timer > 1850) && (k == 0)) {
k = 1;
_global.glevel = 11;
_root.game.jbox5._alpha = 100;
_root.game.lvltxt = "Level 11";
duplicateMovieClip (_root.game.bg.enemy3, "enemy70", 90);
_root.game.bg.enemy80._x = -1910;
_root.game.bg.enemy80._y = 9;
duplicateMovieClip (_root.game.bg.enemy3, "enemy81", 100);
_root.game.bg.enemy81._x = -1810;
_root.game.bg.enemy81._y = 9;
duplicateMovieClip (_root.game.bg.enemy3, "enemy82", 101);
_root.game.bg.enemy82._x = -2000;
_root.game.bg.enemy82._y = 9;
duplicateMovieClip (_root.game.bg.enemy, "enemy83", 102);
_root.game.bg.enemy83._x = -10;
_root.game.bg.enemy83._y = 33;
duplicateMovieClip (_root.game.bg.enemy, "enemy84", 103);
_root.game.bg.enemy84._x = -50;
_root.game.bg.enemy84._y = 33;
duplicateMovieClip (_root.game.bg.enemy2, "enemy85", 104);
_root.game.bg.enemy85._x = -100;
_root.game.bg.enemy85._y = 33;
duplicateMovieClip (_root.game.bg.enemy4, "enemy86", 105);
_root.game.bg.enemy86._x = -200;
_root.game.bg.enemy86._y = 33;
}
if ((timer > 2050) && (l == 0)) {
l = 1;
_root.game.lvltxt = "Level 12";
duplicateMovieClip (_root.game.bg.enemy3, "enemy90", 120);
_root.game.bg.enemy90._x = -1910;
_root.game.bg.enemy90._y = 9;
duplicateMovieClip (_root.game.bg.enemy3, "enemy91", 121);
_root.game.bg.enemy91._x = -1810;
_root.game.bg.enemy91._y = 9;
duplicateMovieClip (_root.game.bg.enemy3, "enemy92", 122);
_root.game.bg.enemy92._x = -2000;
_root.game.bg.enemy92._y = 9;
duplicateMovieClip (_root.game.bg.enemy4, "enemy93", 123);
_root.game.bg.enemy93._x = -10;
_root.game.bg.enemy93._y = 33;
duplicateMovieClip (_root.game.bg.enemy4, "enemy94", 124);
_root.game.bg.enemy94._x = -50;
_root.game.bg.enemy94._y = 33;
duplicateMovieClip (_root.game.bg.enemy2, "enemy95", 125);
_root.game.bg.enemy95._x = -100;
_root.game.bg.enemy95._y = 33;
duplicateMovieClip (_root.game.bg.enemy4, "enemy96", 126);
_root.game.bg.enemy96._x = -200;
_root.game.bg.enemy96._y = 33;
}
if ((timer > 2250) && (m == 0)) {
m = 1;
_root.game.lvltxt = "Level 13";
duplicateMovieClip (_root.game.bg.enemy3, "enemy101", 120);
_root.game.bg.enemy101._x = -1910;
_root.game.bg.enemy101._y = 9;
duplicateMovieClip (_root.game.bg.enemy3, "enemy111", 131);
_root.game.bg.enemy111._x = -1810;
_root.game.bg.enemy111._y = 9;
duplicateMovieClip (_root.game.bg.enemy3, "enemy121", 132);
_root.game.bg.enemy121._x = -2000;
_root.game.bg.enemy121._y = 9;
duplicateMovieClip (_root.game.bg.enemy4, "enemy131", 133);
_root.game.bg.enemy131._x = -10;
_root.game.bg.enemy131._y = 33;
duplicateMovieClip (_root.game.bg.enemy4, "enemy141", 134);
_root.game.bg.enemy141._x = -50;
_root.game.bg.enemy141._y = 33;
duplicateMovieClip (_root.game.bg.enemy2, "enemy151", 135);
_root.game.bg.enemy151._x = -100;
_root.game.bg.enemy151._y = 33;
duplicateMovieClip (_root.game.bg.enemy4, "enemy161", 136);
_root.game.bg.enemy161._x = -200;
_root.game.bg.enemy161._y = 33;
}
if ((timer > 2550) && (n == 0)) {
n = 1;
_root.game.lvltxt = "Level 14";
duplicateMovieClip (_root.game.bg.enemy4, "enemy201", 120);
_root.game.bg.enemy201._x = -1910;
_root.game.bg.enemy201._y = 9;
duplicateMovieClip (_root.game.bg.enemy4, "enemy211", 141);
_root.game.bg.enemy211._x = -1810;
_root.game.bg.enemy211._y = 9;
duplicateMovieClip (_root.game.bg.enemy4, "enemy221", 142);
_root.game.bg.enemy221._x = -2000;
_root.game.bg.enemy221._y = 9;
duplicateMovieClip (_root.game.bg.enemy4, "enemy231", 143);
_root.game.bg.enemy231._x = -10;
_root.game.bg.enemy231._y = 33;
duplicateMovieClip (_root.game.bg.enemy4, "enemy241", 144);
_root.game.bg.enemy241._x = -50;
_root.game.bg.enemy241._y = 33;
duplicateMovieClip (_root.game.bg.enemy4, "enemy251", 145);
_root.game.bg.enemy251._x = -100;
_root.game.bg.enemy251._y = 33;
duplicateMovieClip (_root.game.bg.enemy4, "enemy261", 146);
_root.game.bg.enemy261._x = -200;
_root.game.bg.enemy261._y = 33;
}
if ((timer > 2750) && (o == 0)) {
o = 1;
_root.game.lvltxt = "Level 15";
duplicateMovieClip (_root.game.bg.enemy3, "enemy301", 150);
_root.game.bg.enemy301._x = -1910;
_root.game.bg.enemy301._y = 9;
duplicateMovieClip (_root.game.bg.enemy3, "enemy311", 151);
_root.game.bg.enemy311._x = -1810;
_root.game.bg.enemy311._y = 9;
duplicateMovieClip (_root.game.bg.enemy3, "enemy321", 152);
_root.game.bg.enemy321._x = -2000;
_root.game.bg.enemy321._y = 9;
duplicateMovieClip (_root.game.bg.enemy4, "enemy331", 153);
_root.game.bg.enemy331._x = -10;
_root.game.bg.enemy331._y = 33;
duplicateMovieClip (_root.game.bg.enemy4, "enemy341", 154);
_root.game.bg.enemy341._x = -50;
_root.game.bg.enemy341._y = 33;
duplicateMovieClip (_root.game.bg.enemy4, "enemy351", 155);
_root.game.bg.enemy351._x = -100;
_root.game.bg.enemy351._y = 33;
duplicateMovieClip (_root.game.bg.enemy4, "enemy361", 156);
_root.game.bg.enemy361._x = -200;
_root.game.bg.enemy361._y = 33;
}
if ((timer > 2950) && (p == 0)) {
p = 1;
_root.game.lifecurtain.gotoAndPlay(2);
stopAllSounds();
}
}
}
Instance of Symbol 85 MovieClip "health" in Symbol 152 MovieClip Frame 1
onClipEvent (enterFrame) {
x = random(1000);
if (x == 50) {
this._x = random(500) + -1000;
this._y = 4;
}
if (this.hitTest(_root.game.baruto)) {
this._y = -353;
_global.herolife = _global.herolife + 200;
if (_global.herolife > 500) {
_global.herolife = 500;
}
}
}
Instance of Symbol 90 MovieClip in Symbol 152 MovieClip Frame 1
onClipEvent (enterFrame) {
x = random(1500);
if (x == 50) {
this._x = random(500) + -1000;
this._y = 4;
}
if (this.hitTest(_root.game.baruto)) {
this._y = -353;
_global.shurikens = 100;
_global.kunai = 100;
}
}
Instance of Symbol 87 MovieClip in Symbol 152 MovieClip Frame 1
onClipEvent (enterFrame) {
x = random(1500);
if (x == 50) {
this._x = random(500) + -1000;
this._y = 4;
}
if (this.hitTest(_root.game.baruto)) {
this._y = -353;
_global.herochakra = 500;
}
}
Symbol 177 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 2
stop();
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 2
stop();
Symbol 183 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 2
stop();
Symbol 186 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 2
stop();
Symbol 189 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 2
stop();
Symbol 195 Button
on (release) {
_root.gotoAndStop("title");
}
Symbol 199 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 18
stop();
Symbol 200 MovieClip Frame 2
_root.step.start(0, 1);
Symbol 200 MovieClip Frame 3
_root.step.start(1, 1);
Symbol 212 MovieClip Frame 2
_root.appear.start(0, 1);
Symbol 212 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(5);
_root.game.bg._x = tele[moveto];
_root.game.bg.scaler._x = tele2[moveto];
Symbol 212 MovieClip Frame 9
_root.appear.start(0, 1);
Symbol 212 MovieClip Frame 10
_global.teleporting = 0;
_global.hurt = 0;
Symbol 215 MovieClip Frame 2
_global.hurt = 0;
_global.herojumping = 0;
Symbol 217 MovieClip Frame 1
_root.death.start(0, 1);
Symbol 217 MovieClip Frame 20
_global.herodead = 1;
stop();
Symbol 219 MovieClip Frame 3
stop();
_root.game.baruto.gotoAndStop("steady");
Symbol 221 MovieClip Frame 3
stop();
_root.game.baruto.gotoAndStop("steady");
Symbol 223 MovieClip Frame 2
stop();
_root.game.baruto.gotoAndStop("steady");
Symbol 252 MovieClip Frame 1
_global.combo = 0;
_global.np = 0;
_global.performingjutsu = 1;
Symbol 252 MovieClip Frame 3
_root.blast.start(0, 1);
Symbol 252 MovieClip Frame 10
_global.combo = 0;
_global.np = 0;
_global.performingjutsu = 0;
stop();
Symbol 255 MovieClip Frame 1
_root.jump.start(0, 1);
Symbol 255 MovieClip Frame 9
_root.jump.start(0, 0);
_global.herojumping = 0;
Symbol 257 MovieClip Frame 1
_root.whish.start(0, 1);
Symbol 257 MovieClip Frame 3
_global.throwshuriken = 0;
_root.game.baruto.gotoAndStop("steady");
Symbol 293 MovieClip Frame 4
_root.grumble.start(0, 1);
Symbol 293 MovieClip Frame 15
stop();
_global.performingjutsu = 0;
Symbol 294 MovieClip Frame 1
_root.whish.start(0, 1);
Symbol 294 MovieClip Frame 2
_root.whish.start(0, 1);
Symbol 294 MovieClip Frame 3
_root.whish.start(0, 1);
Symbol 294 MovieClip Frame 4
_root.whish.start(0, 1);
Symbol 294 MovieClip Frame 5
_root.whish.start(0, 1);
Symbol 294 MovieClip Frame 6
_root.whish.start(0, 1);
Symbol 294 MovieClip Frame 7
_root.whish.start(0, 1);
Symbol 294 MovieClip Frame 8
_root.whish.start(0, 1);
Symbol 294 MovieClip Frame 11
_root.jstart.start(0, 1);
Symbol 294 MovieClip Frame 12
stop();
Symbol 310 MovieClip Frame 5
_root.thud.start(0, 1);
_root.thud.start(0, 1);
_root.thud.start(0, 1);
Symbol 310 MovieClip Frame 6
_root.thud.start(0, 1);
_root.thud.start(0, 1);
_root.thud.start(0, 1);
Symbol 310 MovieClip Frame 7
_root.thud.start(0, 1);
_root.thud.start(0, 1);
Symbol 310 MovieClip Frame 10
_root.thud.start(0, 1);
_root.thud.start(0, 1);
Symbol 310 MovieClip Frame 11
_root.thud.start(0, 1);
_root.thud.start(0, 1);
Symbol 310 MovieClip Frame 21
_global.performingjutsu = 0;
stop();
Symbol 311 MovieClip Frame 1
_root.whish.start(0, 1);
Symbol 311 MovieClip Frame 2
_root.whish.start(0, 1);
Symbol 311 MovieClip Frame 3
_root.whish.start(0, 1);
Symbol 311 MovieClip Frame 4
_root.whish.start(0, 1);
Symbol 311 MovieClip Frame 5
_root.whish.start(0, 1);
Symbol 311 MovieClip Frame 6
_root.whish.start(0, 1);
Symbol 311 MovieClip Frame 7
_root.whish.start(0, 1);
Symbol 311 MovieClip Frame 8
_root.whish.start(0, 1);
Symbol 311 MovieClip Frame 12
_root.jstart.start(0, 1);
stop();
Symbol 328 MovieClip Frame 1
_root.j3.start(0, 1);
Symbol 328 MovieClip Frame 50
_global.performingjutsu = 0;
stop();
Symbol 329 MovieClip Frame 1
_root.whish.start(0, 1);
Symbol 329 MovieClip Frame 2
_root.whish.start(0, 1);
Symbol 329 MovieClip Frame 3
_root.whish.start(0, 1);
Symbol 329 MovieClip Frame 4
_root.whish.start(0, 1);
Symbol 329 MovieClip Frame 5
_root.whish.start(0, 1);
Symbol 329 MovieClip Frame 6
_root.whish.start(0, 1);
Symbol 329 MovieClip Frame 7
_root.whish.start(0, 1);
Symbol 329 MovieClip Frame 8
_root.whish.start(0, 1);
Symbol 329 MovieClip Frame 11
_root.jstart.start(0, 1);
Symbol 329 MovieClip Frame 13
stop();
Symbol 408 MovieClip Frame 31
_global.performingjutsu = 0;
stop();
Symbol 414 MovieClip Frame 35
_global.performingjutsu = 0;
stop();
Symbol 416 MovieClip Frame 1
_root.whish.start(0, 1);
Symbol 416 MovieClip Frame 2
_root.whish.start(0, 1);
Symbol 416 MovieClip Frame 3
_root.whish.start(0, 1);
Symbol 416 MovieClip Frame 4
_root.whish.start(0, 1);
Symbol 416 MovieClip Frame 5
_root.whish.start(0, 1);
Symbol 416 MovieClip Frame 6
_root.whish.start(0, 1);
Symbol 416 MovieClip Frame 7
_root.whish.start(0, 1);
Symbol 416 MovieClip Frame 8
_root.whish.start(0, 1);
Symbol 416 MovieClip Frame 11
_root.jstart.start(0, 1);
_root.j4.start(0, 1);
stop();
Symbol 439 MovieClip Frame 19
_root.roar1.start(0, 1);
Symbol 439 MovieClip Frame 59
_root.roar2.start(0, 1);
Symbol 439 MovieClip Frame 100
_global.performingjutsu = 0;
stop();
Symbol 440 MovieClip Frame 1
_root.whish.start(0, 1);
Symbol 440 MovieClip Frame 2
_root.whish.start(0, 1);
Symbol 440 MovieClip Frame 3
_root.whish.start(0, 1);
Symbol 440 MovieClip Frame 4
_root.whish.start(0, 1);
Symbol 440 MovieClip Frame 5
_root.whish.start(0, 1);
Symbol 440 MovieClip Frame 6
_root.whish.start(0, 1);
Symbol 440 MovieClip Frame 7
_root.whish.start(0, 1);
Symbol 440 MovieClip Frame 8
_root.whish.start(0, 1);
Symbol 440 MovieClip Frame 11
_root.jstart.start(0, 1);
Symbol 440 MovieClip Frame 12
_root.j4.start(0, 1);
stop();
Symbol 441 MovieClip Frame 1
stop();
Symbol 441 MovieClip Frame 2
stop();
Symbol 441 MovieClip Frame 3
stop();
Symbol 441 MovieClip Frame 4
stop();
Symbol 441 MovieClip Frame 5
stop();
Symbol 441 MovieClip Frame 6
stop();
_root.whish.start(0, 1);
Symbol 441 MovieClip Frame 7
stop();
_root.whish.start(0, 1);
Symbol 441 MovieClip Frame 8
stop();
_root.whish.start(0, 1);
Symbol 441 MovieClip Frame 9
stop();
Symbol 441 MovieClip Frame 10
stop();
Symbol 441 MovieClip Frame 11
stop();
Symbol 441 MovieClip Frame 12
stop();
Symbol 441 MovieClip Frame 13
stop();
Symbol 441 MovieClip Frame 14
stop();
Symbol 441 MovieClip Frame 15
stop();
Symbol 441 MovieClip Frame 16
stop();
Symbol 447 MovieClip Frame 1
stop();
Symbol 447 MovieClip Frame 18
stop();
Instance of Symbol 156 MovieClip in Symbol 448 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.kunai > 0) {
this._xscale = _global.kunai * 4;
}
}
Instance of Symbol 158 MovieClip in Symbol 448 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = _global.herolife;
}
Instance of Symbol 162 MovieClip in Symbol 448 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.herochakra > 0) {
this._xscale = _global.herochakra;
}
}
Instance of Symbol 165 MovieClip in Symbol 448 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.shurikens > 0) {
this._xscale = _global.shurikens * 4;
}
}
Instance of Symbol 169 MovieClip in Symbol 448 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.game.lvlscore = _global.score;
if (_global.herochakra > 500) {
_global.herochakra = 500;
}
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) {
trace("here");
this._parent.baruto.gotoAndStop("attack1");
_global.combo = _global.combo + 1;
} else {
this._parent.baruto.gotoAndStop("attack" + _global.combo);
_global.combo = _global.combo + 1;
}
_global.np = 1;
}
}
_global.throwshuriken = 0;
} else if (Key.isDown(65)) {
if (_global.shurikens > 0) {
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(68)) {
if (_global.kunai > 0) {
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.shotCount2 < 100) {
_global.shotCount2 = _global.shotCount2 + 1;
depth = (_global.shotCount2 % 100) + 100;
duplicateMovieClip (_root.game.kunai, "sparo" + _global.shotCount2, depth);
_root.game["sparo" + _global.shotCount2]._x = _root.game.baruto._x;
_root.game["sparo" + _global.shotCount2]._y = _root.game.baruto._y;
_global.kunai = _global.kunai - 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 > 50) {
if (((_global.herojumping == 0) && (_global.performingjutsu == 0)) && (_global.teleporting == 0)) {
_global.teleporting = 1;
this._parent.baruto.gotoAndStop("teleport");
_global.herochakra = _global.herochakra - 50;
}
}
_global.combo = 0;
_global.throwshuriken = 0;
_global.np = 0;
}
if (Key.isDown(87)) {
if (_global.herochakra > 200) {
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;
}
}
}
_global.combo = 0;
_global.throwshuriken = 0;
_global.np = 0;
}
if (Key.isDown(49)) {
_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.glevel >= 3) {
_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.glevel >= 6) {
_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.glevel >= 9) {
_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.glevel >= 11) {
_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);
}
}
}
Instance of Symbol 199 MovieClip "deathcurtain" in Symbol 448 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.herodead == 1) {
_root.game.deathcurtain.gotoAndPlay("downcurtain");
_global.herodead = 2;
stopAllSounds();
}
}
Instance of Symbol 90 MovieClip "shuriken" in Symbol 448 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 443 MovieClip "kunai" in Symbol 448 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);
}
}
}