Frame 1
loaded = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + "% Loaded";
loadednum = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
ifFrameLoaded (4) {
gotoAndPlay (3);
}
_root.bloodOn = true;
_root.shakingOn = true;
Frame 2
gotoAndPlay (1);
Frame 3
loaded = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + "% Loaded";
loadednum = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
gotoAndPlay (5);
}
Instance of Symbol 19 MovieClip in Frame 3
onClipEvent (enterFrame) {
setProperty(this, _xscale , _root.loadednum);
setProperty(this, _yscale , _root.loadednum);
setProperty(this, _alpha , _root.loadednum);
setProperty(this, _rotation , _root.loadednum * 3.6);
}
Frame 4
gotoAndPlay (3);
Frame 5
Characters = 8;
CharacterNames = new Array("Shaolin", "Wu Tang", "Ninja", "Green Serpent", "Master Cheng", "Dragon Guard", "Lo Ki", "Chingamy Yip", "High Priest", "Dragon Master");
CharacterMoves = new Array(2, 5, 3, 4, 1, 6, 7, 8, 1, 9);
CharacterIncrease = new Array(1, 1.5, 2.2, 2, 1, 1, 1, 1, 3, 2);
function Hit(obj, target, range, power, place, projectile, noswipe, bothways) {
if ((bothways = "yes")) {
inrange = ((range >= (obj._x - target._x)) && (obj.hitTest(target) || (projectile == "yes"))) && (target.dead != true);
} else {
inrange = (((range >= Math.abs(obj._x - target._x)) && (((target._x < obj._x) && (obj.Facing == "Left")) || ((obj._x < target._x) && (obj.Facing == "Right")))) && (obj.hitTest(target) || (projectile == "yes"))) && (target.dead != true);
}
if ((target.jumping == true) && (place == "low")) {
inrange = false;
}
if (target.combo >= 50) {
inrange = false;
}
if (inrange) {
bloodamount = Math.ceil(power) / 40;
if (((target.blocking != true) || (place == "low")) || (_root.cheat == "noblocking")) {
if (target.girl == "yes") {
if (0.5 < Math.random()) {
_root.sound.gotoAndStop("Hit1");
} else {
_root.sound.gotoAndStop("Hit4");
}
} else {
_root.sound.gotoAndStop("Hit" + (random(5) + 1));
}
if (obj.Char == 10) {
target.life = target.life - (power * 2);
} else if ((_root.cheat == "ultimate") && (target == _root.rightplayer)) {
target.life = target.life - (power * 3);
} else {
target.life = target.life - power;
}
target.combo = target.combo + 1;
target.combodamage = target.combodamage + power;
target.comboreset.gotoAndPlay(1);
} else {
_root.sound.gotoAndStop("blocked");
target.life = target.life - 1;
}
if ((((target.jumping || (FacingRightWay(obj, target) == false)) || (power >= 200)) && (target.blocking != true)) || (0 >= target.life)) {
_root.MakeBlood(target, bloodamount);
if (((_root.cheat == "hardhit") || ((_root.cheat == "ultimate") && (target == _root.rightplayer))) || (obj.Char == 10)) {
if (projectile != "yes") {
target.sidespeed = (target._x - obj._x) / 2;
}
target.spin = (obj._y - target._y) / 2;
target.upspeed = ((obj._y - target._y) / 2) + 20;
} else {
if (projectile != "yes") {
target.sidespeed = (target._x - obj._x) / 5;
}
target.spin = (obj._y - target._y) / 5;
target.upspeed = ((obj._y - target._y) / 5) + 20;
}
target.falling = true;
target.jumping = false;
target.gotoAndPlay("fall");
} else {
if ((target.blocking == true) && (_root.cheat != "noblocking")) {
target.gotoAndPlay("blocking" + (random(4) + 1));
if (target._x < obj._x) {
move = (-power) / 4;
} else {
move = power / 4;
}
} else {
if (target._x < obj._x) {
move = -power;
} else {
move = power;
}
if (place == "middle") {
_root.MakeBlood(target, bloodamount);
target.gotoAndPlay("lightmiddlehit");
} else if (place == "low") {
target.gotoAndPlay("lightlowhit");
} else {
_root.MakeBlood(target, bloodamount);
target.gotoAndPlay("lighthit");
}
}
if (MoveFighter(target, move) == false) {
MoveFighter(obj, (-move) / 2);
}
}
return(true);
}
if (obj.jumping == false) {
if (noswipe != "yes") {
if (obj.girl == "yes") {
_root.sound.gotoAndStop("swipe" + (random(2) + 1));
} else {
_root.sound.gotoAndStop("swipe" + (random(3) + 1));
}
}
}
return(false);
}
function MoveFighter(obj, amount) {
obj.blocking = false;
if (((0 < amount) && ((obj._x + amount) < 700)) || ((amount < 0) && (100 < (obj._x + amount)))) {
setProperty(obj, _x , obj._x + amount);
return(true);
}
if (700 < (obj._x + amount)) {
setProperty(obj, _x , 700);
return(false);
}
if ((obj._x + amount) < 100) {
setProperty(obj, _x , 100);
return(false);
}
}
function FacingRightWay(obj, oppo) {
if (((obj.Facing == "Right") && (obj._x < oppo._x)) || ((obj.Facing == "Left") && (oppo._x < obj._x))) {
return(true);
}
return(false);
}
function MakeBlood(target, amount) {
if (_root.bloodOn) {
if ((_root.cheat == "moreblood") || ((_root.cheat == "ultimate") && (target == _root.rightplayer))) {
bamount = amount * 3;
} else {
bamount = amount;
}
i = 0;
while (i < bamount) {
_root.bloodnum = Number(_root.bloodnum) + 1;
if (50 < _root.bloodnum) {
_root.bloodnum = 0;
}
bloodname = "blood" + _root.bloodnum;
_root.attachMovie("blood", bloodname, _root.bloodnum);
setProperty(bloodname, _x , target._x);
setProperty(bloodname, _y , target._y - 60);
i++;
}
}
}
function clearblood() {
i = 0;
while (50 >= i) {
eval ("_root.blood" + i).removeMovieClip();
i++;
}
}
stop();
_root.startingLife = 3000;
_root.maxcombo = 0;
FightInProgress = false;
fscommand ("allowscale", "false");
fscommand ("fullscreen", "true");
fscommand ("trapallkeys", "true");
clearblood();
Frame 7
_root.nextchar = random(8) + 1;
if ((_root.cheat == "iamadragon") || (_root.cheat == "worship")) {
nextFrame();
}
_root.level = 0;
_root.score = 0;
_root.difficulty = 2;
Instance of Symbol 67 MovieClip in Frame 7
onClipEvent (enterFrame) {
_root.LeftChar = Char;
}
Frame 8
_root.difficulty = _root.difficulty * 2;
_root.nextchar = _root.nextchar + 1;
if (8 < _root.nextchar) {
_root.nextchar = 1;
}
_root.rightchar = _root.nextchar;
clearblood();
Instance of Symbol 154 MovieClip in Frame 8
onClipEvent (load) {
_root.level = _root.level + 1;
_root.leveldisplay = "Level " + _root.level;
}
Frame 9
stop();
LeftChar = random(Characters) + 1;
RightChar = random(Characters) + 1;
if (_root.cheat == "iamadragon") {
LeftChar = 10;
RightChar = 10;
} else if (_root.cheat == "worship") {
LeftChar = 9;
RightChar = 9;
}
LeftPlayerName = _root.CharacterNames[LeftChar - 1];
RightPlayerName = _root.CharacterNames[RightChar - 1];
clearblood();
Instance of Symbol 161 MovieClip in Frame 9
onClipEvent (load) {
Player = "Right";
gotoAndStop (2);
}
Instance of Symbol 161 MovieClip in Frame 9
onClipEvent (load) {
Player = "Left";
gotoAndStop (2);
}
Frame 10
gotoAndStop (1);
Frame 11
if ((_root.cheat + "") != "") {
LeftPlayerName = "Cheater";
} else if ((_root.name != "") && (_root.gamemode == "singleplayer")) {
LeftPlayerName = _root.name;
} else {
LeftPlayerName = _root.CharacterNames[LeftChar - 1];
}
if (((_root.cheat + "") != "") && (_root.gamemode != "singleplayer")) {
RightPlayerName = "Cheater";
} else {
RightPlayerName = _root.CharacterNames[RightChar - 1];
}
_root.floorlevel = 445;
FightInProgress = true;
Instance of Symbol 139 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
stopAllSounds();
_root.gotoAndStop("mainmenu");
}
}
Instance of Symbol 196 MovieClip "finish" in Frame 11
onClipEvent (enterFrame) {
if (_root.gamemode == "singleplayer") {
if (_root.rightplayer.dead == true) {
gotoAndStop (2);
} else if (_root.leftplayer.dead == true) {
gotoAndStop (3);
}
} else if (_root.rightplayer.dead == true) {
gotoAndStop (4);
} else if (_root.leftplayer.dead == true) {
gotoAndStop (5);
}
}
Instance of Symbol 232 MovieClip "rightlifebar" in Frame 11
onClipEvent (load) {
player = _root.rightplayer;
}
Instance of Symbol 232 MovieClip "leftlifebar" in Frame 11
onClipEvent (load) {
player = _root.leftplayer;
}
Instance of Symbol 237 MovieClip in Frame 11
onClipEvent (load) {
Player = _root.rightplayer;
}
Instance of Symbol 237 MovieClip in Frame 11
onClipEvent (load) {
Player = _root.leftplayer;
}
Instance of Symbol 396 MovieClip "rightplayer" in Frame 11
onClipEvent (load) {
if (((_root.gamemode == "singleplayer") && (_root.level == 9)) || ((_root.cheat == "worship") && (_root.gamemode != "singleplayer"))) {
Char = 9;
} else if (((_root.gamemode == "singleplayer") && (_root.level == 10)) || ((_root.cheat == "iamadragon") && (_root.gamemode != "singleplayer"))) {
Char = 10;
} else {
Char = _root.RightChar;
}
if (((_root.RightChar == _root.LeftChar) || (_root.cheat == "iamadragon")) || (_root.cheat == "worship")) {
DispChar = Char + 10;
} else {
DispChar = Char;
}
_root.RightPlayerName = _root.CharacterNames[Char - 1];
if (_root.cheat == "masterthefist") {
specialmove = _root.CharacterMoves[9];
} else {
specialmove = _root.CharacterMoves[Char - 1];
}
if (_root.cheat == "imspecial") {
specialincrease = 50;
} else if (_root.cheat == "imadragon") {
specialincrease = 2;
} else {
specialincrease = _root.CharacterIncrease[Char - 1];
}
AI = _root.RightAI;
opponent = _root.LeftPlayer;
if (_root.gamemode == "singleplayer") {
difficulty = _root.difficulty;
} else {
difficulty = 100;
}
life = _root.startingLife;
specialpower = 75;
}
onClipEvent (enterFrame) {
if ((_root.leftplayer._x == _root.rightplayer._x) && (this.jumping != true)) {
setProperty(this, _x , this._x + 1);
}
_root.rightlifebar.inner.gotoAndStop(DispChar);
}
Instance of Symbol 396 MovieClip "leftplayer" in Frame 11
onClipEvent (load) {
if (_root.cheat == "iamadragon") {
_root.LeftChar = 10;
}
if (_root.cheat == "worship") {
_root.LeftChar = 9;
}
Char = _root.LeftChar;
DispChar = Char;
if (_root.cheat == "masterthefist") {
specialmove = _root.CharacterMoves[9];
} else {
specialmove = _root.CharacterMoves[Char - 1];
}
if (_root.cheat == "imspecial") {
specialincrease = 50;
} else if (_root.cheat == "imadragon") {
specialincrease = 2;
} else {
specialincrease = _root.CharacterIncrease[Char - 1];
}
if (_root.cheat == "cyborg") {
AI = true;
} else {
AI = _root.LeftAI;
}
opponent = _root.RightPlayer;
difficulty = 100;
life = _root.startingLife;
specialpower = 75;
}
onClipEvent (enterFrame) {
_root.leftlifebar.inner.gotoAndStop(DispChar);
if ((_root.leftplayer._x == _root.rightplayer._x) && (this.jumping != true)) {
setProperty(this, _x , this._x - 1);
}
}
Instance of Symbol 399 MovieClip in Frame 11
onClipEvent (load) {
Player = _root.rightplayer;
}
Instance of Symbol 399 MovieClip in Frame 11
onClipEvent (load) {
Player = _root.leftplayer;
}
Instance of Symbol 417 MovieClip in Frame 11
onClipEvent (load) {
level = random(5) + 1;
do {
level = random(5) + 1;
} while (level == _root.lastlevel);
_root.lastlevel = level;
if (1 < level) {
gotoAndStop(level);
} else {
stop();
}
}
Frame 12
gotoAndStop (1);
Frame 13
if ((_root.cheat + "") == "") {
_root.level = 11;
character = _root.leftchar;
}
arrCheats = new Array("hardhit", "noblocking", "moreblood", "masterthefist", "imspecial", "cyborg", "worship", "shakey", "iamadragon", "ultimate");
if (arrCheats[_root.leftchar - 1] != "") {
_root.cheatdisplay = "Cheat Code: " + arrCheats[_root.leftchar - 1];
} else {
_root.cheatdisplay = "";
}
clearblood();
Frame 14
gotoAndStop (1);
Instance of Symbol 496 MovieClip in Frame 17
onClipEvent (load) {
if (_root.bloodOn == false) {
gotoAndStop (2);
}
}
Instance of Symbol 498 MovieClip in Frame 17
onClipEvent (load) {
if (_root.shakingOn == false) {
gotoAndStop (2);
}
}
Symbol 11 MovieClip [blood] Frame 1
function bloodmove() {
if ((upspeed < 0) && (this._y >= origy)) {
gotoAndPlay (7);
setProperty(this, _rotation , 0);
} else {
setProperty(this, _y , this._y - upspeed);
if ((60 < this._x) && (this._x < 740)) {
setProperty(this, _x , this._x + sidespeed);
}
upspeed = upspeed - 5;
}
}
upspeed = Math.random() * 40;
sidespeed = (Math.random() * 20) - 10;
origy = _root.floorlevel;
size = random(50) + 80;
setProperty(this, _xscale , size);
setProperty(this, _yscale , size);
if (0.5 < Math.random()) {
setProperty(this, _xscale , -this._xscale);
}
Symbol 11 MovieClip [blood] Frame 2
bloodmove();
Symbol 11 MovieClip [blood] Frame 3
bloodmove();
Symbol 11 MovieClip [blood] Frame 4
bloodmove();
Symbol 11 MovieClip [blood] Frame 5
bloodmove();
Symbol 11 MovieClip [blood] Frame 6
gotoAndPlay (5);
Symbol 11 MovieClip [blood] Frame 7
setProperty(this, _alpha , this._alpha - 0.1);
if (this._alpha < 1) {
this.removeMovieClip();
}
Symbol 11 MovieClip [blood] Frame 8
gotoAndPlay (7);
Symbol 13 MovieClip [NinjaStar] Frame 1
if (this.hitTest(opponent)) {
_root.Hit(player, opponent, 7000, 250, "middle", "yes");
removeMovieClip(this);
}
if ((this._x < 800) && (0 < this._x)) {
setProperty(this, _rotation , this._rotation + (speed * 3));
setProperty(this, _x , this._x + speed);
} else {
removeMovieClip(this);
}
Symbol 13 MovieClip [NinjaStar] Frame 2
gotoAndPlay (1);
Symbol 21 Button
on (release) {
gotoAndStop (17);
}
Symbol 22 Button
on (release) {
gotoAndStop (15);
}
Symbol 23 Button
on (release) {
gamemode = "singleplayer";
_root.RightChar = random(8) + 1;
gotoAndStop (6);
}
Symbol 24 Button
on (release) {
if (online == "true") {
getURL ("default.asp");
} else {
fscommand ("quit");
}
}
Symbol 25 Button
on (release) {
gotoAndStop (16);
}
Symbol 26 Button
on (release) {
gamemode = "quick";
gotoAndPlay (9);
}
Symbol 27 Button
on (release) {
getURL ("http://www.benolding.co.uk", "_blank");
fscommand ("quit");
}
Symbol 43 Button
on (release, keyPress "<Enter>") {
if ((_root.name + "") != "") {
gotoAndStop (7);
}
}
Symbol 47 Button
on (release) {
gotoAndStop (8);
}
Symbol 49 Button
on (release) {
prevFrame();
}
Symbol 50 Button
on (release) {
nextFrame();
}
Symbol 67 MovieClip Frame 1
if (randomised == "true") {
gotoAndStop (9);
} else {
randomised = "true";
gotoAndStop(random(8) + 2);
}
Symbol 67 MovieClip Frame 2
Char = 1;
stop();
Symbol 67 MovieClip Frame 3
Char = 2;
Symbol 67 MovieClip Frame 4
Char = 3;
Symbol 67 MovieClip Frame 5
Char = 4;
Symbol 67 MovieClip Frame 6
Char = 5;
Symbol 67 MovieClip Frame 7
Char = 6;
Symbol 67 MovieClip Frame 8
Char = 7;
Symbol 67 MovieClip Frame 9
Char = 8;
Symbol 67 MovieClip Frame 10
gotoAndStop (2);
Symbol 68 Button
on (release) {
toggleHighQuality();
}
Symbol 69 Button
on (release) {
if (switchedon != true) {
switchedon = true;
controls.gotoAndStop("moves");
}
}
Symbol 70 Button
on (release) {
if (switchedon != true) {
switchedon = true;
controls.gotoAndStop("controls");
}
}
Symbol 71 Button
on (release) {
if (_root.FightInProgress) {
_root.finish.gotoAndStop("quit");
} else {
_root.gotoAndStop("mainmenu");
}
}
Symbol 73 Button
on (release) {
gotoAndStop (1);
}
Symbol 130 MovieClip Frame 1
switchedon = false;
stop();
Symbol 139 MovieClip Frame 1
if (_root.gamemode == "singleplayer") {
stop();
} else {
gotoAndStop (2);
}
Symbol 141 Button
on (release) {
stopAllSounds();
_root.LeftAI = false;
_root.RightAI = true;
gotoAndStop (11);
}
Symbol 154 MovieClip Frame 1
if (_root.level == 9) {
gotoAndStop (10);
} else if (_root.level == 10) {
gotoAndStop (11);
} else {
gotoAndStop(_root.nextchar + 1);
}
Symbol 154 MovieClip Frame 2
Char = 1;
stop();
Symbol 154 MovieClip Frame 3
Char = 2;
Symbol 154 MovieClip Frame 4
Char = 3;
Symbol 154 MovieClip Frame 5
Char = 4;
Symbol 154 MovieClip Frame 6
Char = 5;
Symbol 154 MovieClip Frame 7
Char = 6;
Symbol 154 MovieClip Frame 8
Char = 7;
Symbol 154 MovieClip Frame 9
Char = 8;
Symbol 154 MovieClip Frame 10
Char = 9;
Symbol 154 MovieClip Frame 11
Char = 10;
Symbol 155 Button
on (release) {
nextFrame();
}
Symbol 158 Button
on (release) {
prevFrame();
}
Symbol 161 MovieClip Frame 1
if (Player == "Left") {
_root.LeftAI = true;
} else {
_root.RightAI = true;
}
stop();
Symbol 161 MovieClip Frame 2
if (Player == "Left") {
_root.LeftAI = false;
} else {
_root.RightAI = false;
}
Symbol 162 Button
on (release) {
stopAllSounds();
gotoAndStop (11);
}
Symbol 164 Button
on (release) {
if ((_root.cheat != "iamadragon") && (_root.cheat != "worship")) {
_root.RightChar = _root.RightChar - 1;
if (_root.RightChar < 1) {
_root.RightChar = Characters;
}
_root.RightPlayerName = _root.CharacterNames[_root.RightChar - 1];
}
}
Symbol 165 Button
on (release) {
if ((_root.cheat != "iamadragon") && (_root.cheat != "worship")) {
_root.RightChar = _root.RightChar + 1;
if (Characters < _root.RightChar) {
_root.RightChar = 1;
}
_root.RightPlayerName = _root.CharacterNames[_root.RightChar - 1];
}
}
Symbol 167 Button
on (release) {
if ((_root.cheat != "iamadragon") && (_root.cheat != "worship")) {
_root.Leftchar = _root.Leftchar - 1;
if (_root.Leftchar < 1) {
_root.Leftchar = Characters;
}
_root.Leftplayername = _root.characternames[_root.Leftchar - 1];
}
}
Symbol 168 Button
on (release) {
if ((_root.cheat != "iamadragon") && (_root.cheat != "worship")) {
_root.Leftchar = _root.Leftchar + 1;
if (characters < _root.Leftchar) {
_root.Leftchar = 1;
}
_root.Leftplayername = _root.characternames[_root.Leftchar - 1];
}
}
Symbol 182 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 2
gotoAndStop (1);
Symbol 182 MovieClip Frame 3
gotoAndStop (1);
Symbol 182 MovieClip Frame 4
gotoAndStop (1);
Symbol 182 MovieClip Frame 5
gotoAndStop (1);
Symbol 182 MovieClip Frame 6
gotoAndStop (1);
Symbol 182 MovieClip Frame 7
gotoAndStop (1);
Symbol 182 MovieClip Frame 8
gotoAndStop (1);
Symbol 182 MovieClip Frame 9
gotoAndStop (1);
Symbol 182 MovieClip Frame 10
gotoAndStop (1);
Symbol 182 MovieClip Frame 11
gotoAndStop (1);
Symbol 182 MovieClip Frame 12
gotoAndStop (1);
Symbol 182 MovieClip Frame 13
gotoAndStop (1);
Symbol 182 MovieClip Frame 14
gotoAndStop (1);
Symbol 183 Button
on (release) {
stopAllSounds();
if (_root.level >= 10) {
_root.gotoAndStop("finish");
} else {
_root.gotoAndStop("nextopponent");
}
}
Symbol 187 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("mainmenu");
}
Symbol 192 Button
on (release) {
gotoAndStop (1);
}
Symbol 196 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 2
_root.FightInProgress = false;
if (_root.gamemode == "singleplayer") {
_root.score = (_root.score + _root.leftplayer.life) + (_root.level * 500);
}
Symbol 196 MovieClip Frame 3
_root.FightInProgress = false;
if ((_root.cheat + "") == "") {
score = _root.score;
character = _root.leftchar;
name = _root.name;
level = _root.level;
maxcombo = _root.maxcombo;
}
Symbol 196 MovieClip Frame 4
_root.FightInProgress = false;
Symbol 196 MovieClip Frame 5
_root.FightInProgress = false;
Symbol 208 MovieClip Frame 1
if (Number(0 + amount) < 1) {
gotoAndPlay (45);
} else {
damage = Math.ceil((damageamount / _root.startinglife) * 100) + "% Damage";
displaytext = amount + " hit combo";
if ((_root.gamemode == "singleplayer") && (this == _root.leftcombo)) {
if (_root.maxcombo < amount) {
_root.maxcombo = amount;
}
_root.score = _root.score + (amount * 25);
}
if (amount >= 5) {
_root.sound.gotoAndStop("combo");
if (amount >= 10) {
bigcombo = "Huge Combo!";
_root.score = _root.score + 100;
} else if (amount >= 15) {
bigcombo = "Massive Combo!";
_root.score = _root.score + 200;
} else if (amount >= 20) {
_root.score = _root.score + 400;
bigcombo = "Amazing Combo!";
} else if (amount >= 25) {
_root.score = _root.score + 800;
bigcombo = "Insane Combo!";
} else if (amount >= 50) {
_root.score = _root.score + 1000;
bigcombo = "Maximum Combo!";
} else {
_root.score = _root.score + 50;
bigcombo = "Big Combo!";
}
} else {
bigcombo = "";
}
}
Symbol 208 MovieClip Frame 45
stop();
Symbol 210 MovieClip Frame 1
if (_root.shake >= 1) {
if (_root.cheat != "shakey") {
setProperty(_root, _x , ((Math.random() * _root.shake) * 2) - _root.shake);
setProperty(_root, _y , ((Math.random() * _root.shake) * 2) - _root.shake);
} else {
setProperty(_root, _x , (((Math.random() * _root.shake) * 2) - _root.shake) * 2);
setProperty(_root, _y , (((Math.random() * _root.shake) * 2) - _root.shake) * 2);
}
_root.shake = _root.shake / 1.3;
} else {
setProperty(_root, _x , 0);
setProperty(_root, _y , 0);
_root.shake = 0;
}
Symbol 210 MovieClip Frame 2
gotoAndPlay (1);
Symbol 230 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 20
if (_parent.Player == _root.rightplayer) {
nextFrame();
} else {
stop();
}
Instance of Symbol 230 MovieClip "inner" in Symbol 232 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this._parent.player.life / _root.startingLife) * 400) < this._width) {
setProperty(this, _width , this._width - 5);
}
if (this._parent.player.life < 0) {
setProperty(this, _alpha , this._width - 1);
}
}
Symbol 236 MovieClip Frame 1
stop();
Instance of Symbol 236 MovieClip in Symbol 237 MovieClip Frame 1
onClipEvent (enterFrame) {
setProperty(this, _width , _parent.Player.specialpower);
if (_parent.Player.specialpower >= 100) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 238 MovieClip Frame 10
if (_parent.falling != true) {
if ((1 < _parent.combo) || (_root.cheat == "percentage")) {
if (_parent == _root.leftplayer) {
_root.rightcombo.amount = _parent.combo;
_root.rightcombo.damageamount = _parent.combodamage;
_root.rightcombo.gotoAndPlay(1);
} else {
_root.leftcombo.amount = _parent.combo;
_root.leftcombo.damageamount = _parent.combodamage;
_root.leftcombo.gotoAndPlay(1);
}
}
_parent.combo = 0;
_parent.combodamage = 0;
stop();
} else {
gotoAndPlay (1);
}
Symbol 258 MovieClip Frame 1
gotoAndStop(_parent.DispChar);
stop();
Symbol 276 MovieClip Frame 1
gotoAndStop(_parent.DispChar);
stop();
Symbol 298 MovieClip Frame 1
stop();
gotoAndStop(_parent.DispChar);
Symbol 298 MovieClip Frame 8
_parent.girl = "yes";
Symbol 298 MovieClip Frame 9
_parent.sorcerer = "yes";
Symbol 298 MovieClip Frame 18
_parent.girl = "yes";
Symbol 298 MovieClip Frame 19
_parent.sorcerer = "yes";
Symbol 306 MovieClip Frame 1
stop();
Symbol 323 MovieClip Frame 1
gotoAndStop(_parent.DispChar);
stop();
Instance of Symbol 306 MovieClip in Symbol 323 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_parent._parent.SwordHidden == "Yes") {
gotoAndStop (2);
}
}
Instance of Symbol 306 MovieClip in Symbol 323 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_parent._parent.SwordHidden == "Yes") {
gotoAndStop (2);
}
}
Instance of Symbol 306 MovieClip in Symbol 323 MovieClip Frame 16
onClipEvent (enterFrame) {
if (_parent._parent.SwordHidden == "Yes") {
gotoAndStop (2);
}
}
Instance of Symbol 306 MovieClip in Symbol 323 MovieClip Frame 19
onClipEvent (enterFrame) {
if (_parent._parent.SwordHidden == "Yes") {
gotoAndStop (2);
}
}
Symbol 334 MovieClip Frame 1
stop();
gotoAndStop(_parent.DispChar);
Symbol 342 MovieClip Frame 1
stop();
gotoAndStop(_parent.DispChar);
Symbol 363 MovieClip Frame 1
stop();
gotoAndStop(_parent.DispChar);
Symbol 372 MovieClip Frame 1
setProperty(this, _rotation , random(360));
Symbol 372 MovieClip Frame 2
setProperty(this, _rotation , random(360));
Symbol 372 MovieClip Frame 3
gotoAndPlay (1);
Symbol 395 MovieClip Frame 5
gotoAndPlay (1);
Symbol 396 MovieClip Frame 1
function PlayerControl() {
SwordHidden = "No";
if (_root.FightInProgress) {
if (falling == true) {
gotoAndPlay (64);
} else if (bowed == "yes") {
if (specialpower < 100) {
specialpower = specialpower + specialincrease;
} else if (100 < specialpower) {
specialpower = 100;
}
if (_rotation != 0) {
gotoAndPlay (68);
}
setProperty(this, _y , origy);
dead = false;
jumping = false;
if (origy != _y) {
setProperty(this, _y , origy);
}
if ((origxscale + "") == "") {
origxscale = _xscale;
origy = _y;
}
if (opponent._x < _x) {
facing = "Left";
setProperty(this, _xscale , -origxscale);
} else {
facing = "Right";
setProperty(this, _xscale , origxscale);
}
Speed = 10;
dist = Math.abs(_root.LeftPlayer._x - _root.RightPlayer._x);
if (AI) {
if (97 < random(100)) {
if (50 < random(100)) {
sidespeed = 10;
} else if (50 < random(100)) {
sidespeed = -10;
} else {
sidespeed = 0;
}
upspeed = 40;
gotoAndPlay (61);
} else if ((100 - difficulty) < random(100)) {
if ((85 < random(100)) && (dist < 110)) {
gotoAndPlay (97);
} else if (75 < random(100)) {
if ((specialpower >= 100) && (specialmove == 1)) {
gotoAndPlay (224);
}
if (((specialpower >= 100) && (specialmove == 2)) && (dist < 90)) {
gotoAndPlay (230);
}
if (((specialpower >= 100) && (specialmove == 3)) && (100 < dist)) {
gotoAndPlay (240);
}
if (((specialpower >= 100) && (specialmove == 4)) && (dist < 200)) {
gotoAndPlay (250);
}
if ((specialpower >= 100) && (specialmove == 5)) {
gotoAndPlay (268);
}
if (((specialpower >= 100) && (specialmove == 6)) && (dist < 180)) {
gotoAndPlay (275);
}
if (((specialpower >= 100) && (specialmove == 7)) && (dist < 150)) {
gotoAndPlay (283);
}
if (((specialpower >= 100) && (specialmove == 8)) && (dist < 400)) {
gotoAndPlay (306);
}
if (((specialpower >= 100) && (specialmove == 9)) && (dist < 120)) {
gotoAndPlay (313);
}
} else if ((85 < random(100)) && (dist < 100)) {
gotoAndPlay (161);
} else if ((95 < random(100)) && (dist < 150)) {
gotoAndPlay("longpunch" + (random(2) + 1));
} else if ((55 < random(100)) && (dist < 90)) {
gotoAndPlay("quickpunch" + (random(3) + 1));
} else if ((85 < random(100)) && (dist < 120)) {
gotoAndPlay (146);
} else if ((85 < random(100)) && (dist < 70)) {
gotoAndPlay (43);
} else if ((75 < random(100)) && (dist < 110)) {
gotoAndPlay("lowkick" + (random(1) + 1));
} else if (Key.isDown(KEYKick)) {
gotoAndPlay (37);
} else if ((95 < random(100)) && (dist < 200)) {
gotoAndPlay (53);
} else if (30 < random(100)) {
blocking = true;
gotoAndPlay (119);
} else if (90 < random(100)) {
gotoAndPlay (19);
} else {
gotoAndPlay (13);
blocking = false;
}
}
} else {
if (this == _root.LeftPlayer) {
KEYLeft = 65;
KEYRight = 68;
KEYUp = 87;
KEYDown = 83;
KEYPunch = 84;
KEYKick = 89;
} else {
KEYLeft = 37;
KEYRight = 39;
KEYUp = 38;
KEYDown = 40;
KEYPunch = 100;
KEYKick = 101;
}
if (facing == "Left") {
KEYAway = KeyRight;
KEYTowards = KeyLeft;
} else {
KEYAway = KeyLeft;
KEYTowards = KeyRight;
}
if (Key.isDown(KEYUp)) {
if (Key.isDown(KEYRight)) {
sidespeed = 10;
} else if (Key.isDown(KEYLeft)) {
sidespeed = -10;
} else {
sidespeed = 0;
}
upspeed = 40;
gotoAndPlay (61);
} else if (Key.isDown(KEYPunch) && (Key.isDown(KEYAway))) {
gotoAndPlay (97);
} else if (Key.isDown(KEYPunch) && (Key.isDown(KEYDown))) {
gotoAndPlay (161);
} else if (Key.isDown(KEYPunch) && (Key.isDown(KEYTowards))) {
gotoAndPlay("longpunch" + (random(2) + 1));
} else if (Key.isDown(KEYPunch) && Key.isDown(KEYKick)) {
if (specialpower >= 100) {
gotoAndPlay("special" + specialmove);
}
} else if (Key.isDown(KEYPunch)) {
gotoAndPlay("quickpunch" + (random(3) + 1));
} else if (Key.isDown(KEYKick) && Key.isDown(KEYAway)) {
gotoAndPlay (146);
} else if (Key.isDown(KEYKick) && Key.isDown(KEYTowards)) {
gotoAndPlay (43);
} else if (Key.isDown(KEYKick) && Key.isDown(KEYDown)) {
gotoAndPlay("lowkick" + (random(2) + 1));
} else if (Key.isDown(KEYKick)) {
gotoAndPlay (37);
} else if (Key.isDown(KEYDown) && Key.isDown(KEYAway)) {
gotoAndPlay (53);
} else if (Key.isDown(KEYTowards)) {
gotoAndPlay (13);
} else if (Key.isDown(KEYAway)) {
gotoAndPlay (19);
} else if (Key.isDown(KEYDown) && (Blockmovement != true)) {
blocking = true;
gotoAndPlay (119);
} else {
blocking = false;
}
}
}
}
if ((bowed != "yes") || (opponent.dead == true)) {
gotoAndPlay (205);
}
}
function Walk(obj, move) {
if (((((Key.isDown(KEYLeft) || (Key.isDown(KEYRight))) && (Key.isDown(KEYUp) == false)) && (Key.isDown(KEYpunch) == false)) && (Key.isDown(KEYkick) == false)) || (AI == true)) {
_root.MoveFighter(this, move);
} else {
gotoAndPlay (1);
}
}
PlayerControl();
if (8 < random(10)) {
gotoAndPlay (7);
}
Symbol 396 MovieClip Frame 2
PlayerControl();
Symbol 396 MovieClip Frame 3
PlayerControl();
Symbol 396 MovieClip Frame 4
PlayerControl();
Symbol 396 MovieClip Frame 5
PlayerControl();
Symbol 396 MovieClip Frame 6
gotoAndPlay (1);
Symbol 396 MovieClip Frame 7
PlayerControl();
Symbol 396 MovieClip Frame 8
PlayerControl();
Symbol 396 MovieClip Frame 9
PlayerControl();
Symbol 396 MovieClip Frame 10
PlayerControl();
Symbol 396 MovieClip Frame 11
PlayerControl();
Symbol 396 MovieClip Frame 12
gotoAndPlay (7);
Symbol 396 MovieClip Frame 13
dist = Math.abs(_root.LeftPlayer._x - _root.RightPlayer._x);
if (facing == "Left") {
move = -Speed;
} else {
move = Speed;
}
Walk(this, move);
Symbol 396 MovieClip Frame 14
Walk(this, move);
Symbol 396 MovieClip Frame 15
Walk(this, move);
Symbol 396 MovieClip Frame 16
Walk(this, move);
Symbol 396 MovieClip Frame 17
Walk(this, move);
Symbol 396 MovieClip Frame 18
gotoAndPlay (1);
Symbol 396 MovieClip Frame 19
if (facing == "Left") {
move = Speed;
} else {
move = -Speed;
}
Walk(this, move);
Symbol 396 MovieClip Frame 20
Walk(this, move);
Symbol 396 MovieClip Frame 21
Walk(this, move);
Symbol 396 MovieClip Frame 22
Walk(this, move);
Symbol 396 MovieClip Frame 23
Walk(this, move);
Symbol 396 MovieClip Frame 24
gotoAndPlay (1);
Symbol 396 MovieClip Frame 26
_root.Hit(this, opponent, 90, 60);
Symbol 396 MovieClip Frame 28
gotoAndPlay (1);
Symbol 396 MovieClip Frame 30
_root.Hit(this, opponent, 90, 60);
Symbol 396 MovieClip Frame 32
gotoAndPlay (1);
Symbol 396 MovieClip Frame 34
_root.Hit(this, opponent, 90, 60);
Symbol 396 MovieClip Frame 36
gotoAndPlay (1);
Symbol 396 MovieClip Frame 39
_root.Hit(this, opponent, 60, 150);
Symbol 396 MovieClip Frame 42
gotoAndPlay (1);
Symbol 396 MovieClip Frame 45
_root.Hit(this, opponent, 80, 100, "middle");
Symbol 396 MovieClip Frame 48
gotoAndPlay (1);
Symbol 396 MovieClip Frame 49
if (sorcerer == "yes") {
specialmove = random(7) + 1;
}
Symbol 396 MovieClip Frame 52
gotoAndPlay (1);
Symbol 396 MovieClip Frame 53
if (facing == "Left") {
move = 2 * Speed;
} else {
move = 2 * (-Speed);
}
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 54
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 55
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 56
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 57
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 58
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 59
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 60
gotoAndPlay (1);
Symbol 396 MovieClip Frame 62
function jumpingmovement() {
blocking = false;
if (falling == true) {
gotoAndPlay (64);
}
if ((upspeed < 0) && (this._y >= origy)) {
setProperty(this, _y , origy);
jumping = false;
gotoAndPlay (1);
} else {
jumping = true;
setProperty(this, _y , this._y - upspeed);
_root.MoveFighter(this, sidespeed);
upspeed = upspeed - 5;
}
}
if (AI) {
dist = Math.abs(_root.LeftPlayer._x - _root.RightPlayer._x);
if (dist < 150) {
if (30 < random(100)) {
gotoAndPlay (77);
} else {
gotoAndPlay (124);
}
}
} else {
if (Key.isDown(KEYKick)) {
gotoAndPlay (77);
}
if (Key.isDown(KEYPunch)) {
gotoAndPlay (124);
}
}
jumpingmovement();
Symbol 396 MovieClip Frame 63
gotoAndPlay (62);
Symbol 396 MovieClip Frame 64
function fallmovement() {
if ((upspeed < 0) && (this._y >= origy)) {
setProperty(this, _y , origy);
setProperty(this, _rotation , 0);
gotoAndPlay (68);
} else {
setProperty(this, _y , this._y - upspeed);
if (((0 < sidespeed) && ((this._x + sidespeed) < 700)) || ((sidespeed < 0) && (100 < (this._x + sidespeed)))) {
setProperty(this, _x , this._x + sidespeed);
} else {
sidespeed = (-sidespeed) / 2;
spin = (-spin) / 2;
}
setProperty(this, _rotation , this._rotation - spin);
upspeed = upspeed - 5;
}
}
jumping = false;
fallmovement();
Symbol 396 MovieClip Frame 65
fallmovement();
Symbol 396 MovieClip Frame 66
fallmovement();
Symbol 396 MovieClip Frame 67
gotoAndPlay (64);
Symbol 396 MovieClip Frame 68
jumping = false;
falling = false;
setProperty(this, _rotation , 0);
HitSound = new Sound();
if (girl == "yes") {
_root.sound.gotoAndStop("Hardland2");
} else {
_root.sound.gotoAndStop("Hardland" + (random(2) + 1));
}
HitSound.start(0, 1);
if (_root.shakingOn) {
_root.shake = _root.shake + ((-upspeed) / 3);
}
if (0 >= life) {
gotoAndPlay (204);
}
if (sorcerer == "yes") {
specialmove = random(7) + 1;
}
Symbol 396 MovieClip Frame 76
gotoAndPlay (1);
Symbol 396 MovieClip Frame 77
jumpingmovement();
range = 65;
power = 200;
Symbol 396 MovieClip Frame 78
jumpingmovement();
Symbol 396 MovieClip Frame 79
jumpingmovement();
if (_root.Hit(this, opponent, range, power)) {
sidespeed = (-sidespeed) / 2;
gotoAndPlay (86);
}
Symbol 396 MovieClip Frame 80
jumpingmovement();
if (_root.Hit(this, opponent, range, power)) {
sidespeed = (-sidespeed) / 2;
gotoAndPlay (86);
}
Symbol 396 MovieClip Frame 81
jumpingmovement();
if (_root.Hit(this, opponent, range, power)) {
sidespeed = (-sidespeed) / 2;
gotoAndPlay (86);
}
Symbol 396 MovieClip Frame 82
jumpingmovement();
if (_root.Hit(this, opponent, range, power)) {
sidespeed = (-sidespeed) / 2;
gotoAndPlay (86);
}
Symbol 396 MovieClip Frame 83
jumpingmovement();
if (_root.Hit(this, opponent, range, power)) {
sidespeed = (-sidespeed) / 2;
gotoAndPlay (86);
}
Symbol 396 MovieClip Frame 84
jumpingmovement();
if (_root.Hit(this, opponent, range, power)) {
sidespeed = (-sidespeed) / 2;
gotoAndPlay (86);
}
Symbol 396 MovieClip Frame 85
jumpingmovement();
if (_root.Hit(this, opponent, range, power)) {
sidespeed = (-sidespeed) / 2;
gotoAndPlay (86);
}
Symbol 396 MovieClip Frame 86
jumpingmovement();
Symbol 396 MovieClip Frame 87
jumpingmovement();
Symbol 396 MovieClip Frame 88
jumpingmovement();
Symbol 396 MovieClip Frame 89
jumpingmovement();
gotoAndPlay (62);
Symbol 396 MovieClip Frame 96
gotoAndPlay (1);
Symbol 396 MovieClip Frame 103
_root.Hit(this, opponent, 110, 330);
Symbol 396 MovieClip Frame 118
gotoAndPlay (1);
Symbol 396 MovieClip Frame 119
PlayerControl();
Symbol 396 MovieClip Frame 123
if (Key.isDown(KEYDown)) {
gotoAndPlay (119);
} else {
gotoAndPlay (1);
}
Symbol 396 MovieClip Frame 124
jumpingmovement();
Symbol 396 MovieClip Frame 125
jumpingmovement();
Symbol 396 MovieClip Frame 126
jumpingmovement();
if (_root.Hit(this, opponent, 130, 150)) {
sidespeed = (-sidespeed) / 2;
}
Symbol 396 MovieClip Frame 127
jumpingmovement();
Symbol 396 MovieClip Frame 128
jumpingmovement();
Symbol 396 MovieClip Frame 129
jumpingmovement();
Symbol 396 MovieClip Frame 130
jumpingmovement();
Symbol 396 MovieClip Frame 131
jumpingmovement();
Symbol 396 MovieClip Frame 132
jumpingmovement();
Symbol 396 MovieClip Frame 133
gotoAndPlay (62);
Symbol 396 MovieClip Frame 136
gotoAndPlay (1);
Symbol 396 MovieClip Frame 139
gotoAndPlay (1);
Symbol 396 MovieClip Frame 142
gotoAndPlay (1);
Symbol 396 MovieClip Frame 145
gotoAndPlay (1);
Symbol 396 MovieClip Frame 151
_root.Hit(this, opponent, 120, 210);
Symbol 396 MovieClip Frame 153
if (facing == "Left") {
move = Speed * 1.5;
} else {
move = (-Speed) * 1.5;
}
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 154
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 155
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 156
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 157
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 158
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 159
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 160
gotoAndPlay (1);
Symbol 396 MovieClip Frame 165
_root.Hit(this, opponent, 100, 150, "middle");
Symbol 396 MovieClip Frame 171
gotoAndPlay (1);
Symbol 396 MovieClip Frame 172
range = 150;
power = 40;
Symbol 396 MovieClip Frame 174
_root.Hit(this, opponent, range, power);
Symbol 396 MovieClip Frame 180
gotoAndPlay (1);
Symbol 396 MovieClip Frame 181
range = 150;
power = 40;
Symbol 396 MovieClip Frame 183
_root.Hit(this, opponent, range, power);
Symbol 396 MovieClip Frame 189
gotoAndPlay (1);
Symbol 396 MovieClip Frame 191
_root.Hit(this, opponent, 110, 60, "low");
Symbol 396 MovieClip Frame 196
gotoAndPlay (1);
Symbol 396 MovieClip Frame 197
if (facing == "Left") {
move = Speed;
} else {
move = -Speed;
}
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 198
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 199
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 200
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 201
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 202
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 203
gotoAndPlay (1);
Symbol 396 MovieClip Frame 204
dead = true;
stop();
Symbol 396 MovieClip Frame 205
if ((origxscale + "") == "") {
origxscale = _xscale;
origy = _y;
}
if (opponent._x < _x) {
facing = "Left";
setProperty(this, _xscale , -origxscale);
} else {
facing = "Right";
setProperty(this, _xscale , origxscale);
}
setProperty(this, _y , origy);
if ((this.hitTest(opponent) && (200 < this._x)) && (this._x < 600)) {
gotoAndPlay (53);
} else if (opponent.dead) {
stopAllSounds();
gong = new Sound();
gong.attachSound("gong");
gong.start();
}
Symbol 396 MovieClip Frame 216
if (opponent.dead) {
gotoAndStop (223);
} else {
bowed = "yes";
gotoAndPlay (1);
}
Symbol 396 MovieClip Frame 218
_root.Hit(this, opponent, 110, 60, "low");
Symbol 396 MovieClip Frame 222
gotoAndPlay (1);
Symbol 396 MovieClip Frame 224
loopsleft = 9;
if (facing == "Right") {
move = Speed * 1.5;
} else {
move = (-Speed) * 1.5;
}
blocking = true;
range = 65;
power = 50;
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 225
loopsleft = loopsleft - 1;
_root.MoveFighter(this, move);
_root.Hit(this, opponent, range, power);
specialpower = 0;
Symbol 396 MovieClip Frame 226
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 227
_root.MoveFighter(this, move);
_root.Hit(this, opponent, range, power);
Symbol 396 MovieClip Frame 228
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 229
if (0 >= loopsleft) {
gotoAndPlay (1);
blocking = false;
} else {
gotoAndPlay (225);
}
Symbol 396 MovieClip Frame 232
_root.Hit(this, opponent, 90, 1000);
specialpower = 0;
Symbol 396 MovieClip Frame 239
gotoAndPlay (1);
Symbol 396 MovieClip Frame 243
_root.StarNum = Number((0 + _root.StarNum) + 1);
_root.attachMovie("NinjaStar", "NinjaStar" + _root.StarNum, _root.StarNum);
NewStar = eval ("_root.NinjaStar" + _root.StarNum);
setProperty(NewStar, _y , this._y - 50);
setProperty(NewStar, _width , 30);
setProperty(NewStar, _height , 30);
setProperty(NewStar, _y , this._y - 50);
NewStar.opponent = opponent;
NewStar.player = this;
if (Facing == "Right") {
NewStar.speed = 25;
setProperty(NewStar, _x , this._x + 50);
} else {
NewStar.speed = -25;
setProperty(NewStar, _x , this._x - 50);
}
specialpower = 0;
Symbol 396 MovieClip Frame 249
gotoAndPlay (1);
Symbol 396 MovieClip Frame 252
specialpower = 0;
range = 150;
power = 400;
Symbol 396 MovieClip Frame 253
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 396 MovieClip Frame 254
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 396 MovieClip Frame 255
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 396 MovieClip Frame 256
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 396 MovieClip Frame 257
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 396 MovieClip Frame 258
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 396 MovieClip Frame 259
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 396 MovieClip Frame 260
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 396 MovieClip Frame 261
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 396 MovieClip Frame 262
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 396 MovieClip Frame 263
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 396 MovieClip Frame 264
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 396 MovieClip Frame 267
gotoAndPlay (1);
Symbol 396 MovieClip Frame 269
loopsleft = 5;
if (facing == "Right") {
move = Speed * 3.5;
} else {
move = (-Speed) * 3.5;
}
range = 100;
power = 400;
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 271
loopsleft = loopsleft - 1;
_root.MoveFighter(this, move);
specialpower = 0;
if (_root.Hit(this, opponent, range, power) || (loopsleft < 1)) {
gotoAndPlay (1);
}
Symbol 396 MovieClip Frame 272
_root.MoveFighter(this, move);
if (_root.Hit(this, opponent, range, power) || (loopsleft < 1)) {
gotoAndPlay (1);
}
Symbol 396 MovieClip Frame 273
_root.MoveFighter(this, move);
if (_root.Hit(this, opponent, range, power) || (loopsleft < 1)) {
gotoAndPlay (1);
}
Symbol 396 MovieClip Frame 274
gotoAndPlay (271);
Symbol 396 MovieClip Frame 275
SwordHidden = "Yes";
Symbol 396 MovieClip Frame 277
_root.Hit(this, opponent, 170, 550);
specialpower = 0;
Symbol 396 MovieClip Frame 281
SwordHidden = "No";
Symbol 396 MovieClip Frame 282
gotoAndPlay (1);
Symbol 396 MovieClip Frame 285
opponent.blocking = false;
dist = Math.abs(opponent._x - this._x);
specialpower = 0;
if ((dist < 120) && (this.hitTest(opponent))) {
opponent.gotoAndPlay("Held");
if (facing == "Right") {
setProperty(opponent, _x , this._x + 70);
} else {
setProperty(opponent, _x , this._x - 70);
}
setProperty(opponent, _y , this._y - 40);
setProperty(opponent, _rotation , 0);
} else {
gotoAndPlay (1);
}
Symbol 396 MovieClip Frame 286
setProperty(opponent, _y , this._y - 30);
if (facing == "Right") {
setProperty(opponent, _x , this._x + 60);
} else {
setProperty(opponent, _x , this._x - 60);
}
Symbol 396 MovieClip Frame 292
if (facing == "Right") {
setProperty(opponent, _x , this._x + 50);
} else {
setProperty(opponent, _x , this._x - 50);
}
_root.Hit(this, opponent, 170, 550);
Symbol 396 MovieClip Frame 296
gotoAndPlay (1);
Symbol 396 MovieClip Frame 305
falling = true;
gotoAndPlay (64);
Symbol 396 MovieClip Frame 306
loopsleft = 8;
if (facing == "Right") {
move = speed * 4;
} else {
move = (-speed) * 4;
}
Symbol 396 MovieClip Frame 310
loopsleft = loopsleft - 1;
specialpower = 0;
_root.Hit(this, opponent, 90, 250, "", "", "", "yes");
if ((loopsleft < 1) || (_root.MoveFighter(this, move) == false)) {
gotoAndPlay (1);
}
move = move * 0.8;
Symbol 396 MovieClip Frame 311
if (loopsleft < 1) {
gotoAndPlay (1);
}
_root.Hit(this, opponent, 100, 150);
_root.MoveFighter(this, move);
Symbol 396 MovieClip Frame 312
gotoAndPlay (310);
Symbol 396 MovieClip Frame 315
opponent.blocking = false;
dist = Math.abs(opponent._x - this._x);
specialpower = 0;
if ((dist < 120) && (this.hitTest(opponent))) {
opponent.gotoAndPlay("Held");
if (facing == "Right") {
setProperty(opponent, _x , this._x + 70);
} else {
setProperty(opponent, _x , this._x - 70);
}
setProperty(opponent, _y , this._y - 40);
setProperty(opponent, _rotation , 0);
} else {
gotoAndPlay (1);
}
Symbol 396 MovieClip Frame 316
setProperty(opponent, _y , this._y - 30);
if (facing == "Right") {
setProperty(opponent, _x , this._x + 60);
} else {
setProperty(opponent, _x , this._x - 60);
}
Symbol 396 MovieClip Frame 317
setProperty(opponent, _y , this._y - 30);
if (facing == "Right") {
setProperty(opponent, _x , this._x + 60);
} else {
setProperty(opponent, _x , this._x - 60);
}
Symbol 396 MovieClip Frame 318
setProperty(opponent, _y , this._y - 30);
if (facing == "Right") {
setProperty(opponent, _x , this._x + 60);
} else {
setProperty(opponent, _x , this._x - 60);
}
Symbol 396 MovieClip Frame 319
setProperty(opponent, _y , this._y - 30);
if (facing == "Right") {
setProperty(opponent, _x , this._x + 60);
} else {
setProperty(opponent, _x , this._x - 60);
}
Symbol 396 MovieClip Frame 320
setProperty(opponent, _y , this._y - 30);
if (facing == "Right") {
setProperty(opponent, _x , this._x + 60);
} else {
setProperty(opponent, _x , this._x - 60);
}
Symbol 396 MovieClip Frame 321
opponent.gotoAndPlay("Held");
Symbol 396 MovieClip Frame 327
opponent.gotoAndPlay("Held");
Symbol 396 MovieClip Frame 334
opponent.gotoAndPlay("Held");
Symbol 396 MovieClip Frame 341
stopAllSounds();
opponent.gotoAndPlay("Held");
Symbol 396 MovieClip Frame 348
if (facing == "Right") {
setProperty(opponent, _x , this._x + 50);
} else {
setProperty(opponent, _x , this._x - 50);
}
_root.Hit(this, opponent, 170, 3000);
Symbol 396 MovieClip Frame 349
if (opponent.girl == "yes") {
_root.sound.gotoAndStop("fscream");
} else {
_root.sound.gotoAndStop("mscream");
}
Symbol 396 MovieClip Frame 453
gotoAndPlay (1);
Symbol 399 MovieClip Frame 1
setProperty(this, _x , Player._x);
if (Player._y != Player.origy) {
gotoAndPlay (3);
}
if (Player.facing == "Right") {
setProperty(this, _xscale , 100);
} else if (Player.facing == "Left") {
setProperty(this, _xscale , -100);
}
if (Player.dead) {
gotoAndStop (5);
}
Symbol 399 MovieClip Frame 2
gotoAndPlay (1);
Symbol 399 MovieClip Frame 3
setProperty(this, _x , Player._x);
if (Math.abs(50 < (100 * (Player._y / Player.origy)))) {
if (Player.facing == "Right") {
setProperty(this, _xscale , 100 * (Player._y / Player.origy));
} else if (Player.facing == "Left") {
setProperty(this, _xscale , -100 * (Player._y / Player.origy));
}
}
if (Player._y == Player.origy) {
gotoAndPlay (1);
}
Symbol 399 MovieClip Frame 4
gotoAndPlay (3);
Symbol 399 MovieClip Frame 5
stop();
Symbol 420 Button
on (release) {
gotoAndStop (5);
}
Symbol 426 Button
on (release) {
_root.gotoAndStop("mainmenu");
}
Symbol 493 MovieClip Frame 1
stop();
Symbol 496 MovieClip Frame 1
stop();
_root.bloodOn = true;
Symbol 496 MovieClip Frame 2
_root.bloodOn = false;
Symbol 498 MovieClip Frame 1
stop();
_root.shakingOn = true;
Symbol 498 MovieClip Frame 2
_root.shakingOn = false;