Frame 1
fscommand ("allowscale", "false");
fscommand ("fullscreen", "true");
loaded = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + "% Loaded";
loadednum = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
ifFrameLoaded (4) {
gotoAndPlay (3);
loadVariablesNum ("checkonserver.asp", 0);
}
_root.bloodOn = true;
_root.shakingOn = true;
_global.ipb_get_gname = function () {
var _loc4 = _root._url;
var _loc5 = "";
var _loc2 = "";
var _loc6 = (_loc4.lastIndexOf("\\") + 1);
if ((_loc6 == -1) || (_loc6 == 0)) {
_loc6 = _loc4.lastIndexOf("/") + 1;
}
var _loc3 = _loc6;
var _loc7 = String(_loc4).length;
while (_loc3 < String(_loc4).length) {
_loc2 = _loc4.charAt(_loc3);
if (_loc2 == ".") {
break;
}
_loc5 = _loc5 + _loc2;
_loc3++;
}
return(_loc5);
};
ipb_gname = _global.ipb_get_gname();
xx = new LoadVars();
xx.onLoad = function (success) {
if (success) {
_global.ipb_scoreVar = this.scoreVar;
}
};
fname = ((("arcade/gamedata/" + ipb_gname) + "/") + ipb_gname) + ".txt";
xx.load(fname);
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()) {
_root.gotoAndStop("mainmenu");
}
Instance of Symbol 32 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
function makelevelcode(enemy, charac, weapon, level) {
return((((((((String(enemycode[enemy - 1]) + String(charcode[charac - 1])) + weapon.charAt(3)) + String(levelscode[level])) + String(enemycode2[enemy - 1])) + String(charcode2[charac - 1])) + weapon.charAt(0)) + String(levelscode2[level])) + weapon.charAt(2));
}
function getenemyfromcode(thecode) {
numReturn = 0;
matchitem = thecode.charAt(0);
matchat = -1;
i = 0;
while (i < enemycode.length) {
if (matchitem == enemycode[i]) {
matchat = i;
}
i++;
}
if (-1 < matchat) {
if (thecode.charAt(4) == enemycode2[matchat]) {
numReturn = matchat + 1;
} else {
trace("No opponent found");
numReturn = -1;
}
}
return(numReturn);
}
function getcharacterfromcode(thecode) {
numReturn = 0;
matchitem = thecode.charAt(1);
matchat = -1;
i = 0;
while (i < charcode.length) {
if (matchitem == charcode[i]) {
matchat = i;
}
i++;
}
if (-1 < matchat) {
if (thecode.charAt(5) == charcode2[matchat]) {
numReturn = matchat + 1;
} else {
trace("No character found");
numReturn = -1;
}
}
return(numReturn);
}
function getlevelfromcode(thecode) {
numReturn = 0;
matchitem = thecode.charAt(3);
matchat = -1;
i = 0;
while (i < levelscode.length) {
if (matchitem == levelscode[i]) {
matchat = i;
}
i++;
}
if (-1 < matchat) {
if (thecode.charAt(7) == levelscode2[matchat]) {
numReturn = matchat;
} else {
trace("No level found");
numReturn = -1;
}
}
return(numReturn);
}
function getweaponfromcode(thecode) {
weaponcode = (String(thecode.charAt(2)) + String(thecode.charAt(6))) + String(thecode.charAt(8));
strReturn = "";
w = 0;
while (w < _root.Characterweapons.length) {
weaponcodematch = (String(Characterweapons[w].charAt(3)) + String(Characterweapons[w].charAt(0))) + String(Characterweapons[w].charAt(2));
if (weaponcode == weaponcodematch) {
strReturn = Characterweapons[w];
}
w++;
}
return(strReturn);
}
function validcode(code) {
if (code.length == 9) {
if ((((-1 < getenemyfromcode(code)) && (-1 < getcharacterfromcode(code))) && (-1 < getlevelfromcode(code))) && (getweaponfromcode(code) != "")) {
return(true);
}
return(false);
}
if (0 < code.length) {
return(false);
}
return(true);
}
gamemode = "";
_root.RightWeapon = "";
Characters = 18;
CharacterNames = new Array("Shaolin", "Wu Tang", "Ninja", "Green Serpent", "Master Cheng", "Dragon Soldier", "Lo Ki", "Chingamy Yip", "Onochi Takahashi", "Master Kwun", "Tang Mo Kei", "Wong Su", "Shun Lau", "Red Flower", "Sifu Tang", "Blue Dragon", "Hop Sing", "Hiroshi Shinadori", "High Priest", "Dragon Master", "Dark Lord", "Fong", "Iron Monkey", "Ice Queen");
CharacterWeapons = new Array("spade", "straightsword", "ninjasword", "horsecutter", "spear", "spear", "nunchaku", "chainwhip", "katana", "broadsword", "horsecutter", "chainwhip", "straightsword", "hook", "staff", "horsecutter", "staff", "katana", "", "straightsword", "dragonblade", "", "chainwhip", "broadsword");
if (_root.cheat == "wrongmoves") {
CharacterMoves = new Array(5, 3, 4, 1, 17, 7, 8, 10, 11, 12, 13, 14, 16, 22, 23, 21, 20, 1, 9, 15, 0, 18, 19, 2);
} else {
CharacterMoves = new Array(2, 5, 3, 4, 1, 17, 7, 8, 10, 11, 12, 13, 14, 16, 22, 23, 21, 20, 1, 9, 15, 0, 18, 19);
}
CharacterIncrease = new Array(1, 1, 1, 1.5, 1, 1, 1.5, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 3, 1, 2, 1, 1, 1);
noweapons = false;
enemycode = new Array("q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "m", "n", "b", "v", "c", "x", "z", "l", "k", "j");
enemycode2 = new Array("h", "g", "f", "d", "s", "a", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "s", "d", "f", "g");
charcode = new Array("q", "a", "z", "w", "s", "x", "e", "d", "c", "r", "f", "1", "2", "3", "4", "9", "8", "7", "6", "5");
charcode2 = new Array("m", "j", "u", "m", "j", "u", "m", "j", "u", "m", "j", "u", "m", "j", "u", "m", "j", "u", "m", "q");
levelscode = new Array("2", "4", "6", "8", "1", "3", "5", "7", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k");
levelscode2 = new Array("1", "2", "3", "4", "5", "6", "7", "8", "9", "z", "x", "c", "v", "b", "n", "m", "a", "s", "d", "f");
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 >= 200) {
inrange = false;
}
if (inrange) {
if (place == "weaponhit") {
bloodamount = Math.ceil(power) / 20;
} else {
bloodamount = Math.ceil(power) / 40;
}
if ((((target.blocking != true) || (place == "low")) || (place == "close")) || (_root.cheat == "noblocking")) {
if (place == "close") {
_root.sound.gotoAndStop("crunch");
} else if (place == "weaponhit") {
_root.sound.gotoAndStop("weaponhit" + (random(3) + 1));
} else if (_root.cheat == "slaps") {
_root.sound.gotoAndStop("boing" + (random(2) + 1));
} else if (target.girl == "yes") {
rand = random(5) + 1;
if (rand == 1) {
_root.sound.gotoAndStop("Hit1");
} else if (rand == 2) {
_root.sound.gotoAndStop("Hit6");
} else if (rand == 3) {
_root.sound.gotoAndStop("Hit7");
} else if (rand == 4) {
_root.sound.gotoAndStop("Hit8");
} else {
_root.sound.gotoAndStop("Hit4");
}
} else {
_root.sound.gotoAndStop("Hit" + (random(9) + 1));
}
if (gamemode != "training") {
if (place == "close") {
target.life = target.life - power;
if (_root.cheat == "instantdeath") {
target.life = 0;
}
} else {
target.life = target.life - power;
}
if (((target.life < 50) && (0 < target.life)) && (this.AI == true)) {
if (target.girl == "yes") {
_root.trainingmessage.message = "Finish her off!";
} else {
_root.trainingmessage.message = "Finish him off!";
}
}
} else {
if (obj.weapon != "") {
trainingskillchange = power / 3;
} else {
trainingskillchange = power;
}
if (target == _root.rightplayer) {
_root.rightplayer.difficulty = Math.ceil(_root.rightplayer.difficulty + (trainingskillchange / 50));
} else {
_root.rightplayer.difficulty = Math.ceil(_root.rightplayer.difficulty - (trainingskillchange / 50));
}
_root.skillrating = _root.rightplayer.difficulty;
}
if (obj.weapon == "") {
target.combo = target.combo + 1;
target.combodamage = target.combodamage + power;
target.comboreset.gotoAndPlay(1);
}
} else {
if (target.weapon != "") {
_root.sound.gotoAndStop("clash" + (random(3) + 1));
} else {
_root.sound.gotoAndStop("blocked");
}
if (gamemode != "training") {
target.life = target.life - 1;
}
if (_root.cheat == "instantdeath") {
target.life = 0;
}
}
if ((((target.jumping || (FacingRightWay(obj, target) == false)) || (power >= 200)) && (target.blocking != true)) || (0 >= target.life)) {
_root.MakeBlood(target, bloodamount);
if (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) * (power / 100)) / 5;
}
target.spin = (obj._y - target._y) / 5;
target.upspeed = (((obj._y - target._y) / 5) * (power / 100)) + 10;
}
target.falling = true;
target.jumping = false;
target.gotoAndPlay("fall");
} else {
if ((target.blocking == true) && (place != "penetrateblock")) {
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 / 2) == false) {
MoveFighter(obj, (-move) / 3);
}
}
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(4) + 1));
}
}
}
return(false);
}
function MoveFighter(obj, amount) {
obj.blocking = false;
if (_root.cheat == "needforspeed") {
moveamount = amount * 2;
} else {
moveamount = amount;
}
if (((0 < moveamount) && ((obj._x + moveamount) < 700)) || ((moveamount < 0) && (100 < (obj._x + moveamount)))) {
setProperty(obj, _x , obj._x + moveamount);
return(true);
}
if (700 < (obj._x + moveamount)) {
setProperty(obj, _x , 700);
return(false);
}
if ((obj._x + moveamount) < 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) {
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();
if (_root.cheat == "epicbattle") {
_root.startingLife = 10000;
} else {
_root.startingLife = 3000;
}
_root.maxcombo = 0;
FightInProgress = false;
fscommand ("allowscale", "false");
fscommand ("fullscreen", "true");
fscommand ("trapallkeys", "true");
clearblood();
Instance of Symbol 419 MovieClip in Frame 5
onClipEvent (load) {
DispChar = random(20) + 1;
}
Frame 6
_root.score = 0;
clearblood();
Instance of Symbol 440 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.LeftChar != Char) {
_root.LeftChar = Char;
_root.weaponselect.gotoAndStop(_root.CharacterWeapons[_root.LeftChar - 1]);
}
}
Instance of Symbol 453 MovieClip "weaponselect" in Frame 7
onClipEvent (enterFrame) {
_root.LeftWeapon = varPlayerWeapon;
}
Frame 8
_root.nextchar = _root.nextchar + 1;
if (Characters < _root.nextchar) {
_root.nextchar = 1;
}
_root.rightchar = _root.nextchar;
_root.levelcodedisplay = makelevelcode(_root.rightchar, _root.leftchar, _root.LeftWeapon, _root.Level);
if ((((_root.level == 2) || (_root.level == 6)) || (_root.level == 10)) || (_root.level == 15)) {
_root.noweapons = true;
} else {
_root.noweapons = false;
}
_root.difficulty = _root.difficulty * 2;
if ((_root.gamemode == "singleplayer") && (_root.level == 18)) {
_root.rightchar = 15;
_root.difficulty = 100;
} else if ((_root.gamemode == "singleplayer") && (_root.level == 19)) {
_root.rightchar = 16;
} else if ((_root.gamemode == "singleplayer") && (_root.level == 20)) {
_root.rightchar = 17;
}
_root.OpponentName = _root.CharacterNames[_root.rightchar - 1];
clearblood();
Instance of Symbol 593 MovieClip in Frame 8
onClipEvent (load) {
gotoAndStop(_root.rightchar + 1);
}
Instance of Symbol 597 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;
LeftPlayerName = _root.CharacterNames[LeftChar - 1];
RightPlayerName = _root.CharacterNames[RightChar - 1];
clearblood();
Instance of Symbol 605 MovieClip in Frame 9
onClipEvent (load) {
Player = "Left";
gotoAndStop (2);
}
Instance of Symbol 605 MovieClip in Frame 9
onClipEvent (load) {
Player = "Right";
gotoAndStop (2);
}
Instance of Symbol 453 MovieClip "rightweaponselect" in Frame 9
onClipEvent (enterFrame) {
_root.RightWeapon = varPlayerWeapon;
}
onClipEvent (load) {
Start = _root.characterweapons[_root.Rightchar - 1];
}
Instance of Symbol 614 MovieClip in Frame 9
onClipEvent (load) {
player = "right";
}
Instance of Symbol 453 MovieClip "leftweaponselect" in Frame 9
onClipEvent (enterFrame) {
_root.LeftWeapon = varPlayerWeapon;
}
onClipEvent (load) {
Start = _root.characterweapons[_root.Leftchar - 1];
}
Instance of Symbol 614 MovieClip in Frame 9
onClipEvent (load) {
player = "left";
}
Frame 10
gotoAndStop (1);
Frame 11
if (((((_root.cheat + "") != "") && ((_root.cheat + "") != "icequeen")) && ((_root.cheat + "") != "ironmonkey")) && ((_root.gamemode == "singleplayer") || (_root.gamemode == "training"))) {
LeftPlayerName = "Cheater";
} else if (((_root.name != "") && (_root.gamemode == "singleplayer")) || (_root.gamemode == "training")) {
LeftPlayerName = _root.name;
} else {
LeftPlayerName = _root.CharacterNames[LeftChar - 1];
}
RightPlayerName = _root.CharacterNames[RightChar - 1];
_root.floorlevel = 445;
FightInProgress = true;
Instance of Symbol 669 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 714 MovieClip "rightlifebar" in Frame 11
onClipEvent (load) {
player = _root.rightplayer;
}
Instance of Symbol 714 MovieClip "leftlifebar" in Frame 11
onClipEvent (load) {
player = _root.leftplayer;
}
Instance of Symbol 719 MovieClip in Frame 11
onClipEvent (load) {
Player = _root.rightplayer;
}
Instance of Symbol 719 MovieClip in Frame 11
onClipEvent (load) {
Player = _root.leftplayer;
}
Instance of Symbol 969 MovieClip "rightplayer" in Frame 11
onClipEvent (load) {
if (_root.gamemode == "singleplayer") {
_root.RightWeapon = _root.CharacterWeapons[_root.RightChar - 1];
} else if (_root.gamemode == "training") {
_root.RightWeapon = "horsecutter";
}
if (_root.noweapons == false) {
playerweapon = _root.RightWeapon;
if ((_root.cheat == "theswordismine") && (_root.gamemode != "singleplayer")) {
playerweapon = "dragonblade";
}
if ((_root.cheat == "automaticshotgun") && (_root.gamemode != "singleplayer")) {
playerweapon = "shotgun";
}
}
weapon = "";
if (_root.gamemode != "training") {
Char = _root.RightChar;
} else {
Char = 22;
}
if (_root.cheat == "alternative") {
if (_root.RightChar != _root.LeftChar) {
DispChar = Char + 28;
} else {
DispChar = Char;
}
} else if (_root.RightChar == _root.LeftChar) {
DispChar = Char + 24;
} else {
DispChar = Char;
}
if (_root.cheat == "sendaninjahere") {
DispChar = 27;
}
_root.RightPlayerName = _root.CharacterNames[Char - 1];
specialmove = _root.CharacterMoves[Char - 1];
specialincrease = _root.CharacterIncrease[Char - 1];
if (_root.gamemode == "training") {
AI = true;
} else {
AI = _root.RightAI;
}
opponent = _root.LeftPlayer;
if (_root.gamemode == "singleplayer") {
difficulty = _root.difficulty;
} else if (_root.gamemode == "training") {
difficulty = 2;
} 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 969 MovieClip "leftplayer" in Frame 11
onClipEvent (load) {
if (_root.noweapons == false) {
playerweapon = _root.LeftWeapon;
if (_root.cheat == "theswordismine") {
playerweapon = "dragonblade";
}
if (_root.cheat == "automaticshotgun") {
playerweapon = "shotgun";
}
}
weapon = "";
Char = _root.LeftChar;
if (_root.cheat == "sendaninjahere") {
DispChar = 3;
} else {
DispChar = Char;
}
if (_root.cheat == "alternative") {
DispChar = Char + 24;
}
if (_root.cheat == "concealedweapon") {
specialmove = 6;
} else {
specialmove = _root.CharacterMoves[Char - 1];
}
specialincrease = _root.CharacterIncrease[Char - 1];
if (_root.gamemode == "training") {
AI = false;
} 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 972 MovieClip in Frame 11
onClipEvent (load) {
Player = _root.rightplayer;
}
Instance of Symbol 972 MovieClip in Frame 11
onClipEvent (load) {
Player = _root.leftplayer;
}
Instance of Symbol 1012 MovieClip in Frame 11
onClipEvent (load) {
if (_root.gamemode != "training") {
if (16 < _root.Level) {
gotoAndStop (5);
} else if (_root.cheat == "choochoo") {
gotoAndStop (7);
} else {
level = random(5) + 1;
do {
level = random(5) + 1;
} while (level == _root.lastlevel);
_root.lastlevel = level;
if (1 < level) {
gotoAndStop(level);
} else {
stop();
}
}
} else {
gotoAndStop (6);
}
}
Frame 12
gotoAndStop (1);
Frame 14
gotoAndStop (1);
Instance of Symbol 1072 MovieClip in Frame 17
onClipEvent (load) {
if (_root.bloodOn == false) {
gotoAndStop (2);
}
}
Instance of Symbol 1074 MovieClip in Frame 17
onClipEvent (load) {
if (_root.shakingOn == false) {
gotoAndStop (2);
}
}
Frame 18
clearblood();
stopAllSounds();
if (250 < skillrating) {
skillstandard = "Legend";
} else if (200 < skillrating) {
skillstandard = "Grand Master";
} else if (150 < skillrating) {
skillstandard = "Master";
} else if (100 < skillrating) {
skillstandard = "Teacher";
} else if (75 < skillrating) {
skillstandard = "Warrior";
} else if (50 < skillrating) {
skillstandard = "Skilled Fighter";
} else if (35 < skillrating) {
skillstandard = "Fighter";
} else if (20 < skillrating) {
skillstandard = "Amateur";
} else {
skillstandard = "Beginner";
}
if ((((_root.cheat + "") == "") || ((_root.cheat + "") == "ironmonkey")) || ((_root.cheat + "") == "icequeen")) {
gamemode = _root.gamemode;
skillrating = _root.skillrating;
character = _root.leftchar;
weapon = _root.LeftWeapon;
name = _root.name;
level = _root.level;
maxcombo = _root.maxcombo;
}
Frame 19
gotoAndPlay (1);
Frame 20
if ((_root.cheat + "") == "") {
_root.level = 11;
weapon = _root.LeftWeapon;
character = _root.leftchar;
Site = _root.Site;
}
arrCheats = new Array("ironmonkey", "iamfong", "alternative", "lowgravity", "wrongmoves", "bowbeforeme", "slaps", "allveryloki", "concealedweapon", "fencing", "sendaninjahere", "choochoo", "needforspeed", "instantdeath", "icequeen", "ninjaaxes", "automaticshotgun", "lordofdarkness", "iamthemaster", "theswordismine");
if (arrCheats[_root.leftchar - 1] != "") {
_root.cheatdisplay = arrCheats[_root.leftchar - 1];
} else {
_root.cheatdisplay = "";
}
clearblood();
Instance of Symbol 1089 MovieClip in Frame 20
onClipEvent (load) {
DispChar = _root.RightChar;
life = 1;
}
Instance of Symbol 1094 MovieClip in Frame 20
onClipEvent (load) {
DispChar = _root.LeftChar;
life = _root.LeftPlayerLife;
}
Instance of Symbol 1012 MovieClip "background" in Frame 20
onClipEvent (load) {
gotoAndStop (5);
}
Symbol 24 Button
on (release) {
_root.gotoAndStop("mainmenu");
}
Symbol 25 MovieClip Frame 1
stop();
Symbol 27 Button
on (release) {
getURL ("http://www.benolding.co.uk", "_blank");
fscommand ("quit");
}
Symbol 1099 MovieClip [sprite 230] Frame 1
if (yy.savescore == 1) {
if (ipb_score == undefined) {
ipb_score = eval (_global.ipb_scoreVar);
}
xx = new LoadVars();
xx.arcadegid = _root.ibpro_gameid;
xx.gscore = ipb_score;
xx.gname = _global.ipb_get_gname();
xx.enscore = (ipb_score * yy.randchar) ^ yy.randchar2;
xx.send("index.php?autocom=arcade&do=savescore", "_self", "POST");
stop();
}
_global.ipbSend = function (ipb_score) {
_root._visible = false;
_root.enabled = false;
xx = new LoadVars();
yy = new LoadVars();
xx.sendAndLoad("index.php?autocom=arcade&do=verifyscore", yy, "POST");
};
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 [Axe] Frame 1
if (((upmove + "") == "") && (speed != "")) {
upmove = (Math.random() * 10) - 5;
}
if (this.hitTest(opponent)) {
_root.Hit(player, opponent, 7000, 300, "weaponhit", "yes");
removeMovieClip(this);
}
if ((this._x < 800) && (0 < this._x)) {
setProperty(this, _rotation , this._rotation + (speed * 3));
setProperty(this, _x , this._x + speed);
setProperty(this, _y , this._y + upmove);
} else {
removeMovieClip(this);
}
Symbol 13 MovieClip [Axe] Frame 2
gotoAndPlay (1);
Symbol 15 MovieClip [NinjaStar] Frame 1
if ((upmove + "") == "") {
upmove = (Math.random() * 10) - 5;
}
if (this.hitTest(opponent)) {
_root.Hit(player, opponent, 7000, 100, "weaponhit", "yes");
removeMovieClip(this);
}
if ((this._x < 800) && (0 < this._x)) {
setProperty(this, _rotation , this._rotation + (speed * 3));
if (fordisplay != true) {
setProperty(this, _x , this._x + speed);
setProperty(this, _y , this._y + upmove);
}
} else {
removeMovieClip(this);
}
Symbol 15 MovieClip [NinjaStar] Frame 2
gotoAndPlay (1);
Symbol 37 Button
on (release) {
thegametype = "Singleplayer";
loadVariablesNum ("log.asp", 0, "POST");
gamemode = "singleplayer";
_root.RightChar = random(8) + 1;
gotoAndStop (6);
}
Symbol 38 Button
on (release) {
gotoAndStop (17);
}
Symbol 39 Button
on (release) {
gotoAndStop (15);
}
Symbol 40 Button
on (release) {
thegametype = "Training";
loadVariablesNum ("log.asp", 0, "POST");
gamemode = "training";
_root.RightChar = random(8) + 1;
gotoAndStop (6);
}
Symbol 41 Button
on (release) {
if (online == "true") {
getURL ("http://www.benolding.co.uk/df2", "_top");
} else {
fscommand ("quit");
}
}
Symbol 42 Button
on (release) {
gotoAndStop (16);
}
Symbol 43 Button
on (release) {
thegametype = "Quick";
loadVariablesNum ("log.asp", 0, "POST");
gamemode = "quick";
if (_root.cheat == "bowbeforeme") {
_root.LeftChar = 15;
_root.LeftWeapon = "";
_root.RightChar = 15;
_root.RightWeapon = "";
}
if (_root.cheat == "iamthemaster") {
_root.LeftChar = 16;
_root.LeftWeapon = "";
_root.RightChar = 16;
_root.RightWeapon = "";
}
if (_root.cheat == "lordofdarkness") {
_root.LeftChar = 17;
_root.LeftWeapon = "dragonblade";
_root.RightChar = 17;
_root.RightWeapon = "dragonblade";
}
if (_root.cheat == "iamfong") {
_root.LeftChar = 18;
_root.LeftWeapon = "horsecutter";
_root.RightChar = 18;
_root.RightWeapon = "horsecutter";
}
if (_root.cheat == "ironmonkey") {
_root.LeftChar = 19;
_root.LeftWeapon = "chainwhip";
_root.RightChar = 19;
_root.RightWeapon = "chainwhip";
}
if (_root.cheat == "icequeen") {
_root.LeftChar = 20;
_root.LeftWeapon = "broadsword";
_root.RightChar = 20;
_root.RightWeapon = "broadsword";
}
if ((((((_root.cheat == "bowbeforeme") || (_root.cheat == "iamthemaster")) || (_root.cheat == "lordofdarkness")) || (_root.cheat == "iamfong")) || (_root.cheat == "ironmonkey")) || (_root.cheat == "icequeen")) {
gotoAndStop (11);
} else {
gotoAndPlay (9);
}
}
Symbol 45 MovieClip Frame 1
loopsleft = 100;
Symbol 45 MovieClip Frame 11
loopsleft = loopsleft - 1;
if (loopsleft < 1) {
_root.LeftChar = random(_root.Characters) + 1;
_root.RightChar = random(_root.Characters) + 1;
_root.LeftPlayerName = _root.CharacterNames[_root.LeftChar - 1];
_root.RightPlayerName = _root.CharacterNames[_root.RightChar - 1];
_root.LeftWeapon = _root.characterweapons[_root.Leftchar - 1];
_root.RightWeapon = _root.characterweapons[_root.Rightchar - 1];
_root.LeftAI = true;
_root.RightAI = true;
_root.gotoAndStop("game");
} else {
gotoAndPlay (2);
}
Symbol 95 MovieClip Frame 1
gotoAndStop(_parent.DispChar);
stop();
Symbol 131 MovieClip Frame 1
gotoAndStop(_parent.DispChar);
stop();
Symbol 142 MovieClip Frame 1
cutamount = Math.ceil(10 - ((_parent._parent.life / _root.startinglife) * 10));
if ((1 < cutamount) && (_parent._parent.life)) {
gotoAndStop(cutamount);
} else {
stop();
}
Symbol 191 MovieClip Frame 1
stop();
if (_root.cheat == "allveryloki") {
gotoAndStop (7);
} else {
gotoAndStop(_parent.DispChar);
}
Symbol 191 MovieClip Frame 8
_parent.girl = "yes";
Symbol 191 MovieClip Frame 14
_parent.girl = "yes";
Symbol 191 MovieClip Frame 19
_parent.sorcerer = "yes";
Symbol 191 MovieClip Frame 24
_parent.girl = "yes";
Symbol 191 MovieClip Frame 32
_parent.girl = "yes";
Symbol 191 MovieClip Frame 38
_parent.girl = "yes";
Symbol 191 MovieClip Frame 43
_parent.sorcerer = "yes";
Symbol 191 MovieClip Frame 48
_parent.girl = "yes";
Symbol 212 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 1
gotoAndStop(_parent.DispChar);
stop();
Instance of Symbol 212 MovieClip in Symbol 243 MovieClip Frame 19
onClipEvent (enterFrame) {
if (_parent._parent.SwordHidden == "Yes") {
gotoAndStop (2);
}
}
Instance of Symbol 212 MovieClip in Symbol 243 MovieClip Frame 43
onClipEvent (enterFrame) {
if (_parent._parent.SwordHidden == "Yes") {
gotoAndStop (2);
}
}
Symbol 273 MovieClip Frame 1
stop();
gotoAndStop(_parent.DispChar);
Symbol 288 MovieClip Frame 1
stop();
gotoAndStop(_parent.DispChar);
Symbol 331 MovieClip Frame 1
stop();
gotoAndStop(_parent.DispChar);
Symbol 361 MovieClip Frame 1
if (this._parent.weapon == "broadsword") {
gotoAndStop (2);
} else if (this._parent.weapon == "spear") {
gotoAndStop (3);
} else if (this._parent.weapon == "hook") {
gotoAndStop (4);
} else if (this._parent.weapon == "horsecutter") {
gotoAndStop (5);
} else if (this._parent.weapon == "katana") {
gotoAndStop (6);
} else if (this._parent.weapon == "ninjasword") {
gotoAndStop (7);
} else if (this._parent.weapon == "nunchaku") {
gotoAndStop (8);
} else if (this._parent.weapon == "spade") {
gotoAndStop (9);
} else if (this._parent.weapon == "chainwhip") {
gotoAndStop (10);
} else if (this._parent.weapon == "dragonblade") {
gotoAndStop (11);
} else if (this._parent.weapon == "straightsword") {
gotoAndStop (12);
} else if (this._parent.weapon == "shotgun") {
gotoAndStop (13);
} else if (this._parent.weapon == "staff") {
gotoAndStop (14);
} else {
stop();
}
stop();
Symbol 379 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 419 MovieClip Frame 1
setProperty(this, _xscale , _xscale * -1);
Symbol 419 MovieClip Frame 217
gotoAndPlay (1);
Symbol 424 Button
on (release, keyPress "<Enter>") {
if (((_root.name + "") != "") && (validcode(_root.levelcode) || (_root.levelcode == ""))) {
if (validcode(_root.levelcode) && (0 < _root.levelcode.length)) {
_root.LeftChar = getcharacterfromcode(_root.levelcode);
_root.nextchar = getenemyfromcode(_root.levelcode) - 1;
_root.LeftWeapon = getweaponfromcode(_root.levelcode);
_root.level = getlevelfromcode(_root.levelcode);
_root.difficulty = 2;
l = 0;
while (l < _root.level) {
_root.difficulty = _root.difficulty * 2;
l++;
}
} else {
_root.level = 0;
_root.difficulty = 2;
_root.nextchar = random(Characters) + 1;
}
if ((validcode(_root.levelcode) && (0 < _root.levelcode.length)) && (_root.gamemode == "singleplayer")) {
gotoAndStop (8);
} else if (_root.cheat == "ironmonkey") {
_root.LeftChar = 23;
_root.LeftWeapon = "chainwhip";
if (gamemode == "singleplayer") {
gotoAndStop (8);
} else {
gotoAndStop (11);
}
} else if (_root.cheat == "iamfong") {
_root.LeftChar = 22;
_root.LeftWeapon = "spear";
if (gamemode == "singleplayer") {
gotoAndStop (8);
} else {
gotoAndStop (11);
}
} else if (_root.cheat == "icequeen") {
_root.LeftChar = 24;
_root.LeftWeapon = "broadsword";
if (gamemode == "singleplayer") {
gotoAndStop (8);
} else {
gotoAndStop (11);
}
} else if (_root.cheat == "lordofdarkness") {
_root.LeftChar = 21;
_root.LeftWeapon = "dragonblade";
if (gamemode == "singleplayer") {
gotoAndStop (8);
} else {
gotoAndStop (11);
}
} else if (_root.cheat == "iamthemaster") {
_root.LeftChar = 20;
_root.LeftWeapon = "";
if (gamemode == "singleplayer") {
gotoAndStop (8);
} else {
gotoAndStop (11);
}
} else if (_root.cheat == "bowbeforeme") {
_root.LeftChar = 19;
_root.LeftWeapon = "";
if (gamemode == "singleplayer") {
gotoAndStop (8);
} else {
gotoAndStop (11);
}
} else {
gotoAndStop (7);
}
}
}
Symbol 434 Button
on (release) {
for (item in _parent) {
eval ("_parent." + item).gotoAndStop(1);
}
gotoAndStop (2);
}
Symbol 438 MovieClip Frame 1
stop();
Instance of Symbol 191 MovieClip "selecthead" in Symbol 438 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.cheat == "alternative") {
gotoAndPlay(_parent.character + 20);
} else {
gotoAndPlay(_parent.character);
}
}
Symbol 438 MovieClip Frame 2
_parent.Char = character;
_parent.displaychar = _root.CharacterNames[character - 1];
Symbol 440 MovieClip Frame 1
stop();
char = eval (random(14) + 1);
eval (char).gotoAndStop(2);
_root.weaponselect.gotoAndStop(_root.CharacterWeapons[char - 1]);
Instance of Symbol 438 MovieClip "18" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
character = 18;
}
Instance of Symbol 438 MovieClip "17" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
character = 17;
}
Instance of Symbol 438 MovieClip "16" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
character = 16;
}
Instance of Symbol 438 MovieClip "15" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
character = 15;
}
Instance of Symbol 438 MovieClip "14" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
character = 14;
}
Instance of Symbol 438 MovieClip "13" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
character = 13;
}
Instance of Symbol 438 MovieClip "12" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
character = 12;
}
Instance of Symbol 438 MovieClip "11" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
character = 11;
}
Instance of Symbol 438 MovieClip "10" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
character = 10;
}
Instance of Symbol 438 MovieClip "9" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
character = 9;
}
Instance of Symbol 438 MovieClip "8" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
character = 8;
}
Instance of Symbol 438 MovieClip "7" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
character = 7;
}
Instance of Symbol 438 MovieClip "6" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
character = 6;
}
Instance of Symbol 438 MovieClip "5" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
character = 5;
}
Instance of Symbol 438 MovieClip "4" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
character = 4;
}
Instance of Symbol 438 MovieClip "3" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
character = 3;
}
Instance of Symbol 438 MovieClip "2" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
character = 2;
}
Instance of Symbol 438 MovieClip "1" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
character = 1;
}
Symbol 444 Button
on (release) {
prevFrame();
}
Symbol 445 Button
on (release) {
nextFrame();
}
Symbol 453 MovieClip Frame 1
if (started == true) {
gotoAndStop (12);
} else {
started = true;
gotoAndStop(Start);
}
Symbol 453 MovieClip Frame 2
varPlayerWeapon = "broadsword";
Symbol 453 MovieClip Frame 3
varPlayerWeapon = "hook";
Symbol 453 MovieClip Frame 4
varPlayerWeapon = "horsecutter";
Symbol 453 MovieClip Frame 5
varPlayerWeapon = "katana";
Symbol 453 MovieClip Frame 6
varPlayerWeapon = "ninjasword";
Symbol 453 MovieClip Frame 7
varPlayerWeapon = "nunchaku";
Symbol 453 MovieClip Frame 8
varPlayerWeapon = "spade";
Symbol 453 MovieClip Frame 9
varPlayerWeapon = "spear";
Symbol 453 MovieClip Frame 10
varPlayerWeapon = "chainwhip";
Symbol 453 MovieClip Frame 11
varPlayerWeapon = "straightsword";
Symbol 453 MovieClip Frame 12
varPlayerWeapon = "staff";
Symbol 453 MovieClip Frame 13
gotoAndStop (2);
Symbol 454 Button
on (release) {
if (_root.LeftChar != "") {
stopAllSounds();
if (gamemode == "singleplayer") {
gotoAndStop (8);
} else {
gotoAndStop (11);
}
}
}
Symbol 456 Button
on (release) {
toggleHighQuality();
}
Symbol 457 Button
on (release) {
if (controls.switchedon != 2) {
controls.gotoAndStop("moves");
controls.switchedon = 2;
} else {
controls.gotoAndStop(1);
controls.switchedon = 0;
}
}
Symbol 458 Button
on (release) {
if (controls.switchedon != 1) {
controls.gotoAndStop("controls");
controls.switchedon = 1;
} else {
controls.gotoAndStop(1);
controls.switchedon = 0;
}
}
Symbol 459 Button
on (release) {
if (_root.FightInProgress && ((_root.LeftAI == false) || (_root.RightAI == false))) {
_root.finish.gotoAndStop("quit");
} else {
_root.levelcode = "";
_root.gotoAndStop("mainmenu");
}
}
Symbol 461 Button
on (release) {
gotoAndStop (1);
}
Symbol 513 MovieClip Frame 1
switchedon = false;
stop();
Symbol 522 MovieClip Frame 1
if (_root.gamemode == "singleplayer") {
stop();
} else {
gotoAndStop (2);
}
Symbol 524 MovieClip Frame 1
if (_root.noweapons) {
gotoAndStop (2);
} else {
stop();
}
Symbol 593 MovieClip Frame 1
stop();
Instance of Symbol 15 MovieClip [NinjaStar] in Symbol 593 MovieClip Frame 4
onClipEvent (load) {
fordisplay = true;
}
Instance of Symbol 15 MovieClip [NinjaStar] in Symbol 593 MovieClip Frame 4
onClipEvent (load) {
fordisplay = true;
}
Instance of Symbol 15 MovieClip [NinjaStar] in Symbol 593 MovieClip Frame 4
onClipEvent (load) {
fordisplay = true;
}
Instance of Symbol 191 MovieClip "selecthead" in Symbol 596 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.cheat == "sendaninjahere") {
if (_parent._parent.player == "left") {
gotoAndPlay (3);
} else {
gotoAndPlay (23);
}
} else if (_root.cheat == "sendaninjahere") {
gotoAndPlay (18);
} else if (_parent._parent.player == "left") {
gotoAndPlay(_root.leftchar);
} else if (_root.leftchar == _root.rightchar) {
gotoAndPlay(_root.rightchar + 24);
} else {
gotoAndPlay(_root.rightchar);
}
}
Symbol 598 Button
on (release) {
stopAllSounds();
_root.LeftAI = false;
_root.RightAI = true;
gotoAndStop (11);
}
Symbol 599 Button
on (release) {
nextFrame();
}
Symbol 602 Button
on (release) {
prevFrame();
}
Symbol 605 MovieClip Frame 1
if (Player == "Left") {
_root.LeftAI = true;
} else {
_root.RightAI = true;
}
stop();
Symbol 605 MovieClip Frame 2
if (Player == "Left") {
_root.LeftAI = false;
} else {
_root.RightAI = false;
}
Symbol 609 MovieClip Frame 1
stop();
_root.noweapons = false;
Symbol 609 MovieClip Frame 2
_root.noweapons = true;
Symbol 610 Button
on (release) {
stopAllSounds();
gotoAndStop (11);
}
Symbol 612 Button
on (release, keyPress "<Left>") {
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];
_root.rightweaponselect.gotoAndStop(_root.characterweapons[_root.Rightchar - 1]);
}
}
Symbol 613 Button
on (release, keyPress "<Right>") {
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];
_root.rightweaponselect.gotoAndStop(_root.characterweapons[_root.Rightchar - 1]);
}
}
Symbol 616 Button
on (release, keyPress "a") {
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];
_root.leftweaponselect.gotoAndStop(_root.characterweapons[_root.Leftchar - 1]);
}
}
Symbol 617 Button
on (release, keyPress "d") {
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];
_root.leftweaponselect.gotoAndStop(_root.characterweapons[_root.Leftchar - 1]);
}
}
Symbol 642 MovieClip Frame 1
stop();
Symbol 642 MovieClip Frame 2
gotoAndStop (1);
Symbol 642 MovieClip Frame 3
gotoAndStop (1);
Symbol 642 MovieClip Frame 4
gotoAndStop (1);
Symbol 642 MovieClip Frame 5
gotoAndStop (1);
Symbol 642 MovieClip Frame 6
gotoAndStop (1);
Symbol 642 MovieClip Frame 7
gotoAndStop (1);
Symbol 642 MovieClip Frame 8
gotoAndStop (1);
Symbol 642 MovieClip Frame 9
gotoAndStop (1);
Symbol 642 MovieClip Frame 10
gotoAndStop (1);
Symbol 642 MovieClip Frame 11
gotoAndStop (1);
Symbol 642 MovieClip Frame 12
gotoAndStop (1);
Symbol 642 MovieClip Frame 13
gotoAndStop (1);
Symbol 642 MovieClip Frame 14
gotoAndStop (1);
Symbol 642 MovieClip Frame 15
gotoAndStop (1);
Symbol 642 MovieClip Frame 16
gotoAndStop (1);
Symbol 642 MovieClip Frame 17
gotoAndStop (1);
Symbol 642 MovieClip Frame 18
gotoAndStop (1);
Symbol 642 MovieClip Frame 19
gotoAndStop (1);
Symbol 642 MovieClip Frame 20
gotoAndStop (1);
Symbol 642 MovieClip Frame 21
gotoAndStop (1);
Symbol 642 MovieClip Frame 22
gotoAndStop (1);
Symbol 642 MovieClip Frame 23
gotoAndStop (1);
Symbol 642 MovieClip Frame 24
gotoAndStop (1);
Symbol 642 MovieClip Frame 25
gotoAndStop (1);
Symbol 642 MovieClip Frame 26
gotoAndStop (1);
Symbol 642 MovieClip Frame 27
gotoAndStop (1);
Symbol 644 Button
on (release, keyPress "<Enter>") {
stopAllSounds();
if (_root.level >= 21) {
} else {
_root.gotoAndStop("nextopponent");
}
}
Symbol 649 MovieClip Frame 20
if ((_root.LeftAI == true) && (_root.RightAI == true)) {
_root.gotoAndStop("mainmenu");
} else {
stop();
}
Symbol 651 Button
on (release) {
stopAllSounds();
_root.levelcode = "";
_root.level = 0;
_root.difficulty = 2;
_root.nextchar = random(Characters) + 1;
_root.gotoAndStop("mainmenu");
}
Symbol 652 Button
on (release) {
_global.ipbSend();
}
Symbol 660 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("mainmenu");
}
Symbol 664 Button
on (release) {
gotoAndStop (1);
}
Symbol 665 Button
on (release, keyPress "<Enter>") {
stopAllSounds();
_root.levelcode = "";
_root.gotoAndStop("mainmenu");
}
Symbol 669 MovieClip Frame 1
stop();
Symbol 669 MovieClip Frame 2
_root.FightInProgress = false;
if (_root.gamemode == "singleplayer") {
_root.score = (_root.score + _root.leftplayer.life) + (_root.level * 500);
if ((_root.level >= 21) || (_root.cheat == "thisisthelast")) {
LeftPlayerLife = _root.LeftPlayer.life;
_root.gotoAndStop("endsequence");
}
}
Symbol 669 MovieClip Frame 3
_root.FightInProgress = false;
gameoverlevelcode = "Level Code: " + _root.LevelCodeDisplay;
if ((((_root.cheat + "") == "") || ((_root.cheat + "") == "ironmonkey")) || ((_root.cheat + "") == "icequeen")) {
score = _root.score;
character = _root.leftchar;
weapon = _root.LeftWeapon;
name = _root.name;
level = _root.level;
Site = _root.Site;
maxcombo = _root.maxcombo;
}
Symbol 669 MovieClip Frame 4
_root.FightInProgress = false;
Symbol 669 MovieClip Frame 5
_root.FightInProgress = false;
Symbol 673 MovieClip Frame 41
message = "";
stop();
Symbol 684 MovieClip Frame 1
if (Number(0 + amount) < 1) {
gotoAndPlay (45);
} else {
_root.score = Number(_root.score);
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 >= 10) {
_root.score = _root.score + 100;
} else if (amount >= 15) {
_root.score = _root.score + 200;
} else if (amount >= 20) {
_root.score = _root.score + 400;
} else if (amount >= 25) {
_root.score = _root.score + 800;
} else if (amount >= 50) {
_root.score = _root.score + 1000;
} else {
_root.score = _root.score + 50;
}
}
if (amount >= 5) {
_root.sound.gotoAndStop("combo");
if (amount >= 10) {
bigcombo = "Huge Combo!";
} else if (amount >= 15) {
bigcombo = "Massive Combo!";
} else if (amount >= 20) {
bigcombo = "Amazing Combo!";
} else if (amount >= 25) {
bigcombo = "Insane Combo!";
} else if (amount >= 50) {
bigcombo = "Maximum Combo!";
} else {
bigcombo = "Big Combo!";
}
} else {
bigcombo = "";
}
}
Symbol 684 MovieClip Frame 45
stop();
Symbol 686 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 686 MovieClip Frame 2
gotoAndPlay (1);
Symbol 712 MovieClip Frame 1
stop();
Instance of Symbol 712 MovieClip "inner" in Symbol 714 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 718 MovieClip Frame 1
stop();
Instance of Symbol 718 MovieClip in Symbol 719 MovieClip Frame 1
onClipEvent (enterFrame) {
setProperty(this, _width , _parent.Player.specialpower);
if (_parent.Player.specialpower >= 100) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 722 MovieClip Frame 1
if ((_root.LeftAI == true) && (_root.RightAI == true)) {
} else {
stop();
}
Symbol 722 MovieClip Frame 12
gotoAndPlay (1);
Symbol 731 MovieClip Frame 1
setProperty(this, _rotation , random(360));
Symbol 731 MovieClip Frame 2
setProperty(this, _rotation , random(360));
Symbol 731 MovieClip Frame 3
gotoAndPlay (1);
Symbol 754 MovieClip Frame 5
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1
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);
if (_root.cheat == "lowgravity") {
upspeed = upspeed - 2;
} else {
upspeed = upspeed - 5;
}
}
}
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)) && ((opponent.weapon == "") && (200 < dist))) {
if (50 < random(100)) {
sidespeed = 10;
} else if (50 < random(100)) {
sidespeed = -10;
} else {
sidespeed = 0;
}
upspeed = 40;
if (life >= 400) {
gotoAndPlay (61);
}
} else if ((100 - difficulty) < random(100)) {
if (50 < opponent._y) {
if ((85 < random(100)) && ((dist < 110) or (dist < weaponrange3))) {
if (weapon == "") {
gotoAndPlay (97);
} else if (weapon == "broadsword") {
gotoAndPlay (567);
} else if (weapon == "spear") {
gotoAndPlay (585);
} else if (weapon == "hook") {
gotoAndPlay (658);
} else if (weapon == "horsecutter") {
gotoAndPlay (724);
} else if (weapon == "katana") {
gotoAndPlay (817);
} else if (weapon == "ninjasword") {
gotoAndPlay (842);
} else if (weapon == "nunchaku") {
gotoAndPlay (902);
} else if (weapon == "spade") {
gotoAndPlay (931);
} else if (weapon == "chainwhip") {
gotoAndPlay (988);
} else if (weapon == "dragonblade") {
gotoAndPlay (1151);
} else if (weapon == "straightsword") {
gotoAndPlay (1199);
} else if (weapon == "staff") {
gotoAndPlay (1477);
} else if (weapon == "shotgun") {
gotoAndPlay (1290);
} else {
trace(("No " + weapon) + " hard move!");
}
} else if (75 < random(100)) {
if (weapon == "") {
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);
}
if ((((specialpower >= 100) && (specialmove == 10)) && (dist < (((Speed * 1.5) * 10) + 140))) && (((Speed * 1.5) * 10) < dist)) {
gotoAndPlay (1014);
}
if (((specialpower >= 100) && (specialmove == 11)) && (dist < 300)) {
gotoAndPlay (1038);
}
if (((specialpower >= 100) && (specialmove == 12)) && (100 < dist)) {
gotoAndPlay (1059);
}
if (((specialpower >= 100) && (specialmove == 13)) && ((300 < dist) || opponent.jumping)) {
if (this._x < opponent._x) {
sidespeed = 20;
} else {
sidespeed = -20;
}
upspeed = 50;
gotoAndPlay (1067);
}
if (((specialpower >= 100) && (specialmove == 14)) && (dist < 200)) {
gotoAndPlay (1074);
}
if ((specialpower >= 100) && (specialmove == 15)) {
gotoAndPlay (1084);
}
if (((specialpower >= 100) && (specialmove == 16)) && (dist < 200)) {
gotoAndPlay (1095);
}
if (((specialpower >= 100) && (specialmove == 17)) && ((dist < 300) && (140 < dist))) {
gotoAndPlay (1212);
}
if (((specialpower >= 100) && (specialmove == 20)) && (140 < dist)) {
gotoAndPlay (1389);
}
if (((specialpower >= 100) && (specialmove == 21)) && (dist < 150)) {
gotoAndPlay (1403);
}
if (((specialpower >= 100) && (specialmove == 22)) && (dist < 200)) {
gotoAndPlay (1420);
}
if (((specialpower >= 100) && (specialmove == 23)) && ((dist < 400) && (100 < dist))) {
gotoAndPlay (1434);
}
}
} else if ((85 < random(100)) && (dist < 100)) {
if (weapon == "") {
if (opponent.weapon != "") {
blocking = true;
gotoAndPlay (683);
} else {
gotoAndPlay (161);
}
}
} else if ((95 < random(100)) && ((dist < 150) or (dist < weaponrange1))) {
if (weapon == "") {
gotoAndPlay("longpunch" + (random(2) + 1));
} else if (weapon == "broadsword") {
gotoAndPlay (558);
} else if (weapon == "spear") {
gotoAndPlay (607);
} else if (weapon == "hook") {
gotoAndPlay (644);
} else if (weapon == "horsecutter") {
gotoAndPlay (744);
} else if (weapon == "katana") {
gotoAndPlay (804);
} else if (weapon == "ninjasword") {
gotoAndPlay (859);
} else if (weapon == "nunchaku") {
gotoAndPlay (887);
} else if (weapon == "spade") {
gotoAndPlay (943);
} else if (weapon == "chainwhip") {
gotoAndPlay (978);
} else if (weapon == "dragonblade") {
gotoAndPlay (1127);
} else if (weapon == "straightsword") {
gotoAndPlay (1191);
} else if (weapon == "staff") {
gotoAndPlay (1463);
} else if (weapon == "shotgun") {
gotoAndPlay (1264);
} else {
trace(("No " + weapon) + " long move!");
}
} else if ((55 < random(100)) && ((dist < 90) or (dist < weaponrange2))) {
if (weapon == "") {
if (dist < 45) {
gotoAndPlay("elbow" + (random(2) + 1));
} else {
gotoAndPlay("quickpunch" + (random(5) + 1));
}
} else if (weapon == "broadsword") {
gotoAndPlay (552);
} else if (weapon == "spear") {
gotoAndPlay (596);
} else if (weapon == "hook") {
gotoAndPlay (635);
} else if (weapon == "horsecutter") {
gotoAndPlay (715);
} else if (weapon == "katana") {
gotoAndPlay (796);
} else if (weapon == "ninjasword") {
gotoAndPlay (852);
} else if (weapon == "nunchaku") {
gotoAndPlay (895);
} else if (weapon == "spade") {
gotoAndPlay (921);
} else if (weapon == "chainwhip") {
gotoAndPlay (967);
} else if (weapon == "dragonblade") {
gotoAndPlay (1140);
} else if (weapon == "straightsword") {
gotoAndPlay (1181);
} else if (weapon == "staff") {
gotoAndPlay (1454);
} else if (weapon == "shotgun") {
gotoAndPlay (1275);
} else {
trace(("No " + weapon) + " normal move!");
}
} else if ((85 < random(100)) && (dist < 120)) {
if (opponent.weapon != "") {
if (life < 1500) {
gotoAndPlay (53);
} else {
blocking = true;
gotoAndPlay (683);
}
} else {
gotoAndPlay (146);
}
} else if ((85 < random(100)) && (dist < 70)) {
if (dist < 30) {
gotoAndPlay (760);
} else {
gotoAndPlay (43);
}
} else if ((75 < random(100)) && (dist < 110)) {
gotoAndPlay("lowkick" + (random(1) + 1));
} else if (Key.isDown(KEYKick)) {
if (dist < 30) {
gotoAndPlay (760);
} else {
gotoAndPlay (37);
}
} else if ((95 < random(100)) && (dist < 200)) {
if (weapon == "") {
gotoAndPlay (53);
}
} else if (((95 < random(100)) && (200 < dist)) || ((_root.cheat == "fencing") && (weapon == ""))) {
if ((_root.weaponallowed == false) && (_root.gamemode == "training")) {
} else if (weapon == "") {
if (playerweapon == "broadsword") {
gotoAndPlay (511);
} else if (playerweapon == "spear") {
gotoAndPlay (534);
} else if (playerweapon == "hook") {
gotoAndPlay (617);
} else if (playerweapon == "horsecutter") {
gotoAndPlay (689);
} else if (playerweapon == "katana") {
gotoAndPlay (769);
} else if (playerweapon == "ninjasword") {
gotoAndPlay (825);
} else if (playerweapon == "nunchaku") {
gotoAndPlay (869);
} else if (playerweapon == "spade") {
gotoAndPlay (909);
} else if (playerweapon == "chainwhip") {
gotoAndPlay (962);
} else if (playerweapon == "dragonblade") {
gotoAndPlay (1109);
} else if (playerweapon == "straightsword") {
gotoAndPlay (1165);
} else if (playerweapon == "staff") {
gotoAndPlay (1439);
} else if (playerweapon == "shotgun") {
gotoAndPlay (1251);
}
} else if (_root.cheat != "fencing") {
gotoAndPlay (676);
}
} else if ((opponent.weapon != "") && (dist < 200)) {
blocking = true;
gotoAndPlay (683);
} else if (30 < random(100)) {
blocking = true;
gotoAndPlay (119);
} else if (90 < random(100)) {
if ((opponent.weapon != "") && (dist < 200)) {
blocking = true;
gotoAndPlay (683);
} else {
gotoAndPlay (19);
}
} else if (50 < random(100)) {
blocking = true;
gotoAndPlay (683);
} else {
if ((opponent.weapon != "") && (dist < 200)) {
blocking = true;
gotoAndPlay (683);
} else {
gotoAndPlay (13);
}
blocking = false;
}
}
}
} else {
if (this == _root.LeftPlayer) {
KEYLeft = 65;
KEYRight = 68;
KEYUp = 87;
KEYDown = 83;
KEYPunch = 84;
KEYKick = 89;
KEYWeapon = 85;
} else {
KEYLeft = 37;
KEYRight = 39;
KEYUp = 38;
KEYDown = 40;
KEYPunch = 100;
KEYKick = 101;
KEYWeapon = 102;
}
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;
if (life >= 400) {
gotoAndPlay (61);
}
} else if (Key.isDown(KEYPunch) && (Key.isDown(KEYAway))) {
if (weapon == "") {
gotoAndPlay (97);
} else if (weapon == "broadsword") {
gotoAndPlay (567);
} else if (weapon == "spear") {
gotoAndPlay (585);
} else if (weapon == "hook") {
gotoAndPlay (658);
} else if (weapon == "horsecutter") {
gotoAndPlay (724);
} else if (weapon == "katana") {
gotoAndPlay (817);
} else if (weapon == "ninjasword") {
gotoAndPlay (842);
} else if (weapon == "nunchaku") {
gotoAndPlay (902);
} else if (weapon == "spade") {
gotoAndPlay (943);
} else if (weapon == "chainwhip") {
gotoAndPlay (988);
} else if (weapon == "dragonblade") {
gotoAndPlay (1151);
} else if (weapon == "straightsword") {
gotoAndPlay (1199);
} else if (weapon == "staff") {
gotoAndPlay (1477);
} else if (weapon == "shotgun") {
gotoAndPlay (1290);
}
} else if (Key.isDown(KEYPunch) && (Key.isDown(KEYDown))) {
gotoAndPlay (161);
} else if (Key.isDown(KEYPunch) && (Key.isDown(KEYTowards))) {
if (weapon == "") {
gotoAndPlay("longpunch" + (random(2) + 1));
} else if (weapon == "broadsword") {
gotoAndPlay (558);
} else if (weapon == "spear") {
gotoAndPlay (607);
} else if (weapon == "horsecutter") {
gotoAndPlay (744);
} else if (weapon == "hook") {
gotoAndPlay (644);
} else if (weapon == "katana") {
gotoAndPlay (804);
} else if (weapon == "ninjasword") {
gotoAndPlay (859);
} else if (weapon == "nunchaku") {
gotoAndPlay (887);
} else if (weapon == "spade") {
gotoAndPlay (931);
} else if (weapon == "chainwhip") {
gotoAndPlay (978);
} else if (weapon == "dragonblade") {
gotoAndPlay (1127);
} else if (weapon == "straightsword") {
gotoAndPlay (1191);
} else if (weapon == "staff") {
gotoAndPlay (1463);
} else if (weapon == "shotgun") {
gotoAndPlay (1264);
}
} else if (Key.isDown(KEYPunch) && Key.isDown(KEYKick)) {
if (specialpower >= 100) {
if (weapon == "") {
if (specialmove == 13) {
upspeed = 50;
if (this._x < opponent._x) {
sidespeed = 20;
} else {
sidespeed = -20;
}
}
gotoAndPlay("special" + specialmove);
}
}
} else if (Key.isDown(KEYPunch)) {
if (weapon == "") {
if (dist < 45) {
gotoAndPlay("elbow" + (random(2) + 1));
} else {
gotoAndPlay("quickpunch" + (random(5) + 1));
}
} else if (weapon == "broadsword") {
gotoAndPlay (552);
} else if (weapon == "spear") {
gotoAndPlay (596);
} else if (weapon == "hook") {
gotoAndPlay (635);
} else if (weapon == "horsecutter") {
gotoAndPlay (715);
} else if (weapon == "katana") {
gotoAndPlay (796);
} else if (weapon == "ninjasword") {
gotoAndPlay (852);
} else if (weapon == "nunchaku") {
gotoAndPlay (895);
} else if (weapon == "spade") {
gotoAndPlay (921);
} else if (weapon == "chainwhip") {
gotoAndPlay (967);
} else if (weapon == "dragonblade") {
gotoAndPlay (1140);
} else if (weapon == "straightsword") {
gotoAndPlay (1181);
} else if (weapon == "staff") {
gotoAndPlay (1454);
} else if (weapon == "shotgun") {
gotoAndPlay (1275);
}
} else if (Key.isDown(KEYKick) && Key.isDown(KEYAway)) {
gotoAndPlay (146);
} else if (Key.isDown(KEYKick) && Key.isDown(KEYTowards)) {
if (dist < 30) {
gotoAndPlay (760);
} else {
gotoAndPlay (43);
}
} else if (Key.isDown(KEYKick) && Key.isDown(KEYDown)) {
gotoAndPlay("lowkick" + (random(2) + 1));
} else if (Key.isDown(KEYKick)) {
if (dist < 30) {
gotoAndPlay (760);
} else {
gotoAndPlay (37);
}
} else if (Key.isDown(KEYDown) && Key.isDown(KEYAway)) {
if (weapon == "") {
gotoAndPlay (53);
} else {
blocking = true;
gotoAndPlay (956);
}
} else if ((Key.isDown(KEYTowards) && Key.isDown(KEYDown)) && (Blockmovement != true)) {
blocking = true;
gotoAndPlay (683);
} else if (Key.isDown(KEYTowards)) {
gotoAndPlay (13);
} else if (Key.isDown(KEYAway)) {
gotoAndPlay (19);
} else if (Key.isDown(KEYWeapon) || ((_root.cheat == "fencing") && (weapon == ""))) {
if (weapon == "") {
if ((_root.weaponallowed == false) && (_root.gamemode == "training")) {
_root.trainingmessage.message = "You can not use your weapon until after 2 minutes!";
_root.trainingmessage.gotoAndPlay(1);
} else if (_root.noweapons) {
_root.trainingmessage.message = "This is a no weapons round";
_root.trainingmessage.gotoAndPlay(1);
} else if (playerweapon == "broadsword") {
gotoAndPlay (511);
} else if (playerweapon == "spear") {
gotoAndPlay (534);
} else if (playerweapon == "hook") {
gotoAndPlay (617);
} else if (playerweapon == "horsecutter") {
gotoAndPlay (689);
} else if (playerweapon == "katana") {
gotoAndPlay (769);
} else if (playerweapon == "ninjasword") {
gotoAndPlay (825);
} else if (playerweapon == "nunchaku") {
gotoAndPlay (869);
} else if (playerweapon == "spade") {
gotoAndPlay (909);
} else if (playerweapon == "chainwhip") {
gotoAndPlay (962);
} else if (playerweapon == "dragonblade") {
gotoAndPlay (1109);
} else if (playerweapon == "straightsword") {
gotoAndPlay (1165);
} else if (playerweapon == "staff") {
gotoAndPlay (1439);
} else if (playerweapon == "shotgun") {
gotoAndPlay (1251);
}
} else if (_root.cheat != "fencing") {
gotoAndPlay (676);
}
} else if (Key.isDown(KEYDown) && (Blockmovement != true)) {
blocking = true;
gotoAndPlay (119);
} else {
blocking = false;
}
}
}
}
if ((bowed != "yes") || (opponent.dead == true)) {
if (Char == 21) {
gotoAndPlay (1341);
} else if (Char == 20) {
gotoAndPlay (1356);
} else {
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)) {
if (life >= 400) {
_root.MoveFighter(this, move);
} else {
_root.MoveFighter(this, move / 2);
}
} else {
gotoAndPlay (1);
}
}
PlayerControl();
if (life < 400) {
gotoAndPlay (1322);
} else if (weapon == "broadsword") {
gotoAndPlay (518);
} else if (weapon == "spear") {
gotoAndPlay (543);
} else if (weapon == "hook") {
gotoAndPlay (625);
} else if (weapon == "horsecutter") {
gotoAndPlay (699);
} else if (weapon == "katana") {
gotoAndPlay (775);
} else if (weapon == "ninjasword") {
gotoAndPlay (832);
} else if (weapon == "nunchaku") {
gotoAndPlay (880);
} else if (weapon == "spade") {
gotoAndPlay (915);
} else if (weapon == "chainwhip") {
gotoAndPlay (965);
} else if (weapon == "dragonblade") {
gotoAndPlay (1115);
} else if (weapon == "straightsword") {
gotoAndPlay (1172);
} else if (weapon == "staff") {
gotoAndPlay (1448);
} else if (weapon == "shotgun") {
gotoAndPlay (1262);
} else {
gotoAndPlay("ready" + (random(7) + 1));
weapon = "";
}
Symbol 969 MovieClip Frame 2
PlayerControl();
Symbol 969 MovieClip Frame 3
PlayerControl();
Symbol 969 MovieClip Frame 4
PlayerControl();
Symbol 969 MovieClip Frame 5
PlayerControl();
Symbol 969 MovieClip Frame 6
gotoAndPlay (1);
Symbol 969 MovieClip Frame 7
PlayerControl();
Symbol 969 MovieClip Frame 8
PlayerControl();
Symbol 969 MovieClip Frame 9
PlayerControl();
Symbol 969 MovieClip Frame 10
PlayerControl();
Symbol 969 MovieClip Frame 11
PlayerControl();
Symbol 969 MovieClip Frame 12
gotoAndPlay (7);
Symbol 969 MovieClip Frame 13
if (life < 400) {
gotoAndPlay (1373);
}
dist = Math.abs(_root.LeftPlayer._x - _root.RightPlayer._x);
if (facing == "Left") {
move = -Speed;
} else {
move = Speed;
}
Walk(this, move);
Symbol 969 MovieClip Frame 14
Walk(this, move);
Symbol 969 MovieClip Frame 15
Walk(this, move);
Symbol 969 MovieClip Frame 16
Walk(this, move);
Symbol 969 MovieClip Frame 17
Walk(this, move);
Symbol 969 MovieClip Frame 18
gotoAndPlay (1);
Symbol 969 MovieClip Frame 19
if (life < 400) {
gotoAndPlay (1381);
}
if (facing == "Left") {
move = Speed;
} else {
move = -Speed;
}
Walk(this, move);
Symbol 969 MovieClip Frame 20
Walk(this, move);
Symbol 969 MovieClip Frame 21
Walk(this, move);
Symbol 969 MovieClip Frame 22
Walk(this, move);
Symbol 969 MovieClip Frame 23
Walk(this, move);
Symbol 969 MovieClip Frame 24
gotoAndPlay (1);
Symbol 969 MovieClip Frame 26
_root.Hit(this, opponent, 90, 60);
Symbol 969 MovieClip Frame 28
gotoAndPlay (1);
Symbol 969 MovieClip Frame 30
_root.Hit(this, opponent, 90, 60);
Symbol 969 MovieClip Frame 32
gotoAndPlay (1);
Symbol 969 MovieClip Frame 34
_root.Hit(this, opponent, 90, 60);
Symbol 969 MovieClip Frame 36
gotoAndPlay (1);
Symbol 969 MovieClip Frame 39
_root.Hit(this, opponent, 60, 150);
Symbol 969 MovieClip Frame 42
gotoAndPlay (1);
Symbol 969 MovieClip Frame 45
_root.Hit(this, opponent, 80, 100, "middle");
Symbol 969 MovieClip Frame 48
gotoAndPlay (1);
Symbol 969 MovieClip Frame 49
if (sorcerer == "yes") {
specialmove = random(18) + 1;
if ((specialmove == 9) || (specialmove == 15)) {
specialmove = random(7) + 1;
}
}
Symbol 969 MovieClip Frame 52
gotoAndPlay (1);
Symbol 969 MovieClip Frame 53
if ((weapon == "") && (life >= 400)) {
if (facing == "Left") {
move = 2 * Speed;
} else {
move = 2 * (-Speed);
}
_root.MoveFighter(this, move);
} else {
gotoAndPlay (1381);
}
Symbol 969 MovieClip Frame 54
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 55
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 56
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 57
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 58
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 59
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 60
gotoAndPlay (1);
Symbol 969 MovieClip Frame 62
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 969 MovieClip Frame 63
gotoAndPlay (62);
Symbol 969 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 {
if (700 < (this._x + sidespeed)) {
setProperty(this, _x , 700);
} else if ((this._x - sidespeed) < 0) {
setProperty(this, _x , 0);
}
if (100 < Math.abs(sidespeed)) {
_root.sound.gotoAndStop("crunch");
}
sidespeed = (-sidespeed) / 2;
spin = (-spin) / 2;
}
setProperty(this, _rotation , this._rotation - spin);
if (_root.cheat == "lowgravity") {
upspeed = upspeed - 2;
} else {
upspeed = upspeed - 5;
}
}
}
jumping = false;
fallmovement();
Symbol 969 MovieClip Frame 65
fallmovement();
Symbol 969 MovieClip Frame 66
fallmovement();
Symbol 969 MovieClip Frame 67
gotoAndPlay (64);
Symbol 969 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 969 MovieClip Frame 76
gotoAndPlay (1);
Symbol 969 MovieClip Frame 77
jumpingmovement();
range = 65;
power = 200;
Symbol 969 MovieClip Frame 78
jumpingmovement();
Symbol 969 MovieClip Frame 79
jumpingmovement();
if (_root.Hit(this, opponent, range, power)) {
sidespeed = (-sidespeed) / 2;
gotoAndPlay (86);
}
Symbol 969 MovieClip Frame 80
jumpingmovement();
if (_root.Hit(this, opponent, range, power)) {
sidespeed = (-sidespeed) / 2;
gotoAndPlay (86);
}
Symbol 969 MovieClip Frame 81
jumpingmovement();
if (_root.Hit(this, opponent, range, power)) {
sidespeed = (-sidespeed) / 2;
gotoAndPlay (86);
}
Symbol 969 MovieClip Frame 82
jumpingmovement();
if (_root.Hit(this, opponent, range, power)) {
sidespeed = (-sidespeed) / 2;
gotoAndPlay (86);
}
Symbol 969 MovieClip Frame 83
jumpingmovement();
if (_root.Hit(this, opponent, range, power)) {
sidespeed = (-sidespeed) / 2;
gotoAndPlay (86);
}
Symbol 969 MovieClip Frame 84
jumpingmovement();
if (_root.Hit(this, opponent, range, power)) {
sidespeed = (-sidespeed) / 2;
gotoAndPlay (86);
}
Symbol 969 MovieClip Frame 85
jumpingmovement();
if (_root.Hit(this, opponent, range, power)) {
sidespeed = (-sidespeed) / 2;
gotoAndPlay (86);
}
Symbol 969 MovieClip Frame 86
jumpingmovement();
Symbol 969 MovieClip Frame 87
jumpingmovement();
Symbol 969 MovieClip Frame 88
jumping = true;
jumpingmovement();
Symbol 969 MovieClip Frame 89
jumpingmovement();
gotoAndPlay (88);
Symbol 969 MovieClip Frame 96
gotoAndPlay (1);
Symbol 969 MovieClip Frame 103
_root.Hit(this, opponent, 110, 330);
Symbol 969 MovieClip Frame 118
gotoAndPlay (1);
Symbol 969 MovieClip Frame 119
PlayerControl();
Symbol 969 MovieClip Frame 123
if (Key.isDown(KEYDown)) {
gotoAndPlay (119);
} else {
gotoAndPlay (1);
}
Symbol 969 MovieClip Frame 124
jumpingmovement();
Symbol 969 MovieClip Frame 125
jumpingmovement();
Symbol 969 MovieClip Frame 126
jumpingmovement();
if (_root.Hit(this, opponent, 130, 150)) {
sidespeed = (-sidespeed) / 2;
}
Symbol 969 MovieClip Frame 127
jumpingmovement();
Symbol 969 MovieClip Frame 128
jumpingmovement();
Symbol 969 MovieClip Frame 129
jumpingmovement();
Symbol 969 MovieClip Frame 130
jumpingmovement();
Symbol 969 MovieClip Frame 131
jumpingmovement();
Symbol 969 MovieClip Frame 132
jumpingmovement();
Symbol 969 MovieClip Frame 133
gotoAndPlay (62);
Symbol 969 MovieClip Frame 136
gotoAndPlay (1);
Symbol 969 MovieClip Frame 139
gotoAndPlay (1);
Symbol 969 MovieClip Frame 142
gotoAndPlay (1);
Symbol 969 MovieClip Frame 145
gotoAndPlay (1);
Symbol 969 MovieClip Frame 151
_root.Hit(this, opponent, 120, 210);
Symbol 969 MovieClip Frame 153
if (facing == "Left") {
move = Speed * 1.5;
} else {
move = (-Speed) * 1.5;
}
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 154
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 155
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 156
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 157
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 158
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 159
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 160
gotoAndPlay (1);
Symbol 969 MovieClip Frame 165
_root.Hit(this, opponent, 100, 150, "middle");
Symbol 969 MovieClip Frame 171
gotoAndPlay (1);
Symbol 969 MovieClip Frame 172
range = 150;
power = 40;
Symbol 969 MovieClip Frame 174
_root.Hit(this, opponent, range, power);
Symbol 969 MovieClip Frame 180
gotoAndPlay (1);
Symbol 969 MovieClip Frame 181
range = 150;
power = 40;
Symbol 969 MovieClip Frame 183
_root.Hit(this, opponent, range, power);
Symbol 969 MovieClip Frame 189
gotoAndPlay (1);
Symbol 969 MovieClip Frame 191
_root.Hit(this, opponent, 110, 60, "low");
Symbol 969 MovieClip Frame 196
gotoAndPlay (1);
Symbol 969 MovieClip Frame 197
if (facing == "Left") {
move = Speed;
} else {
move = -Speed;
}
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 198
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 199
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 200
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 201
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 202
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 203
gotoAndPlay (1);
Symbol 969 MovieClip Frame 204
dead = true;
stop();
Symbol 969 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);
Symbol 969 MovieClip Frame 216
if (opponent.dead) {
gotoAndStop (223);
} else {
bowed = "yes";
gotoAndPlay (1);
}
Symbol 969 MovieClip Frame 218
_root.Hit(this, opponent, 110, 60, "low");
Symbol 969 MovieClip Frame 222
gotoAndPlay (1);
Symbol 969 MovieClip Frame 224
loopsleft = 15;
if (facing == "Right") {
move = Speed * 1.5;
} else {
move = (-Speed) * 1.5;
}
blocking = true;
range = 65;
power = 25;
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 225
_root.MoveFighter(this, move);
_root.Hit(this, opponent, range, power);
specialpower = 0;
Symbol 969 MovieClip Frame 226
loopsleft = loopsleft - 1;
_root.MoveFighter(this, move);
_root.Hit(this, opponent, range, power);
Symbol 969 MovieClip Frame 227
_root.MoveFighter(this, move);
_root.Hit(this, opponent, range, power);
Symbol 969 MovieClip Frame 228
_root.MoveFighter(this, move);
_root.Hit(this, opponent, range, power);
Symbol 969 MovieClip Frame 229
if (0 >= loopsleft) {
gotoAndPlay (1);
blocking = false;
} else {
gotoAndPlay (226);
}
Symbol 969 MovieClip Frame 232
_root.Hit(this, opponent, 90, 1000);
specialpower = 0;
Symbol 969 MovieClip Frame 239
gotoAndPlay (1);
Symbol 969 MovieClip Frame 243
_root.StarNum = Number((0 + _root.StarNum) + 1);
if (_root.cheat == "ninjaaxes") {
_root.attachMovie("Axe", "NinjaStar" + _root.StarNum, _root.StarNum);
} else {
_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 = specialpower - 33;
Symbol 969 MovieClip Frame 245
_root.StarNum = Number((0 + _root.StarNum) + 1);
if (_root.cheat == "ninjaaxes") {
_root.attachMovie("Axe", "NinjaStar" + _root.StarNum, _root.StarNum);
} else {
_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 = specialpower - 33;
Symbol 969 MovieClip Frame 247
_root.StarNum = Number((0 + _root.StarNum) + 1);
if (_root.cheat == "ninjaaxes") {
_root.attachMovie("Axe", "NinjaStar" + _root.StarNum, _root.StarNum);
} else {
_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 969 MovieClip Frame 249
gotoAndPlay (1);
Symbol 969 MovieClip Frame 252
specialpower = 0;
range = 150;
power = 400;
Symbol 969 MovieClip Frame 253
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 969 MovieClip Frame 254
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 969 MovieClip Frame 255
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 969 MovieClip Frame 256
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 969 MovieClip Frame 257
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 969 MovieClip Frame 258
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 969 MovieClip Frame 259
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 969 MovieClip Frame 260
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 969 MovieClip Frame 261
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 969 MovieClip Frame 262
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 969 MovieClip Frame 263
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 969 MovieClip Frame 264
if (_root.Hit(this, opponent, range, power, "", "", "yes", "yes")) {
gotoAndPlay (265);
}
Symbol 969 MovieClip Frame 267
gotoAndPlay (1);
Symbol 969 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 969 MovieClip Frame 271
loopsleft = loopsleft - 1;
_root.MoveFighter(this, move);
specialpower = 0;
if (_root.Hit(this, opponent, range, power) || (loopsleft < 1)) {
gotoAndPlay (1);
}
Symbol 969 MovieClip Frame 272
_root.MoveFighter(this, move);
if (_root.Hit(this, opponent, range, power) || (loopsleft < 1)) {
gotoAndPlay (1);
}
Symbol 969 MovieClip Frame 273
_root.MoveFighter(this, move);
if (_root.Hit(this, opponent, range, power) || (loopsleft < 1)) {
gotoAndPlay (1);
}
Symbol 969 MovieClip Frame 274
gotoAndPlay (271);
Symbol 969 MovieClip Frame 275
SwordHidden = "Yes";
Symbol 969 MovieClip Frame 277
_root.Hit(this, opponent, 170, 550);
specialpower = 0;
Symbol 969 MovieClip Frame 281
SwordHidden = "No";
Symbol 969 MovieClip Frame 282
gotoAndPlay (1);
Symbol 969 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 (1313);
}
Symbol 969 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 969 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 969 MovieClip Frame 296
gotoAndPlay (1);
Symbol 969 MovieClip Frame 305
falling = true;
gotoAndPlay (64);
Symbol 969 MovieClip Frame 306
loopsleft = 6;
if (facing == "Right") {
move = speed * 4;
} else {
move = (-speed) * 4;
}
Symbol 969 MovieClip Frame 308
specialpower = 0;
Symbol 969 MovieClip Frame 310
loopsleft = loopsleft - 1;
_root.Hit(this, opponent, 100, 200, "weaponhit", "", "", "yes");
if ((loopsleft < 1) || (_root.MoveFighter(this, move) == false)) {
gotoAndPlay (1);
}
move = move * 0.8;
Symbol 969 MovieClip Frame 311
if (loopsleft < 1) {
gotoAndPlay (1);
}
_root.Hit(this, opponent, 90, 150, weaponhit);
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 312
gotoAndPlay (310);
Symbol 969 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 (1313);
}
Symbol 969 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 969 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 969 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 969 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 969 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 969 MovieClip Frame 321
opponent.gotoAndPlay("Held");
Symbol 969 MovieClip Frame 327
opponent.gotoAndPlay("Held");
Symbol 969 MovieClip Frame 334
opponent.gotoAndPlay("Held");
Symbol 969 MovieClip Frame 341
stopAllSounds();
opponent.gotoAndPlay("Held");
Symbol 969 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 969 MovieClip Frame 349
if (opponent.girl == "yes") {
_root.sound.gotoAndStop("fscream");
} else {
_root.sound.gotoAndStop("mscream");
}
Symbol 969 MovieClip Frame 453
gotoAndPlay (1);
Symbol 969 MovieClip Frame 454
PlayerControl();
Symbol 969 MovieClip Frame 455
PlayerControl();
Symbol 969 MovieClip Frame 456
PlayerControl();
Symbol 969 MovieClip Frame 457
PlayerControl();
Symbol 969 MovieClip Frame 458
PlayerControl();
Symbol 969 MovieClip Frame 459
PlayerControl();
Symbol 969 MovieClip Frame 460
PlayerControl();
Symbol 969 MovieClip Frame 461
PlayerControl();
Symbol 969 MovieClip Frame 462
gotoAndPlay (454);
Symbol 969 MovieClip Frame 463
PlayerControl();
Symbol 969 MovieClip Frame 464
PlayerControl();
Symbol 969 MovieClip Frame 465
PlayerControl();
Symbol 969 MovieClip Frame 466
PlayerControl();
Symbol 969 MovieClip Frame 467
PlayerControl();
Symbol 969 MovieClip Frame 468
PlayerControl();
Symbol 969 MovieClip Frame 469
gotoAndPlay (463);
Symbol 969 MovieClip Frame 470
PlayerControl();
Symbol 969 MovieClip Frame 471
PlayerControl();
Symbol 969 MovieClip Frame 472
gotoAndPlay (470);
Symbol 969 MovieClip Frame 474
_root.Hit(this, opponent, 90, 60);
Symbol 969 MovieClip Frame 476
gotoAndPlay (1);
Symbol 969 MovieClip Frame 478
_root.Hit(this, opponent, 90, 60);
Symbol 969 MovieClip Frame 480
gotoAndPlay (1);
Symbol 969 MovieClip Frame 482
if (_root.Hit(this, opponent, 45, 180, "close")) {
if (opponent.jumping || (opponent.falling)) {
} else {
gotoAndPlay (492);
}
}
Symbol 969 MovieClip Frame 495
gotoAndPlay (1);
Symbol 969 MovieClip Frame 497
if (_root.Hit(this, opponent, 45, 180, "close")) {
if (opponent.jumping || (opponent.falling)) {
} else {
gotoAndPlay (507);
}
}
Symbol 969 MovieClip Frame 510
gotoAndPlay (1);
Symbol 969 MovieClip Frame 517
weapon = "broadsword";
weaponrange1 = 200;
weaponrange2 = 130;
weaponrange3 = 100;
Symbol 969 MovieClip Frame 518
PlayerControl();
Symbol 969 MovieClip Frame 519
PlayerControl();
Symbol 969 MovieClip Frame 520
PlayerControl();
Symbol 969 MovieClip Frame 521
PlayerControl();
Symbol 969 MovieClip Frame 522
PlayerControl();
Symbol 969 MovieClip Frame 523
PlayerControl();
Symbol 969 MovieClip Frame 524
PlayerControl();
Symbol 969 MovieClip Frame 525
PlayerControl();
Symbol 969 MovieClip Frame 526
PlayerControl();
Symbol 969 MovieClip Frame 527
PlayerControl();
Symbol 969 MovieClip Frame 528
PlayerControl();
Symbol 969 MovieClip Frame 529
PlayerControl();
Symbol 969 MovieClip Frame 530
PlayerControl();
Symbol 969 MovieClip Frame 531
PlayerControl();
Symbol 969 MovieClip Frame 532
PlayerControl();
Symbol 969 MovieClip Frame 533
gotoAndPlay (518);
Symbol 969 MovieClip Frame 542
weapon = "spear";
weaponrange1 = 300;
weaponrange2 = 160;
weaponrange3 = 160;
Symbol 969 MovieClip Frame 543
PlayerControl();
Symbol 969 MovieClip Frame 544
PlayerControl();
Symbol 969 MovieClip Frame 545
PlayerControl();
Symbol 969 MovieClip Frame 546
PlayerControl();
Symbol 969 MovieClip Frame 547
PlayerControl();
Symbol 969 MovieClip Frame 548
PlayerControl();
Symbol 969 MovieClip Frame 549
PlayerControl();
Symbol 969 MovieClip Frame 550
PlayerControl();
Symbol 969 MovieClip Frame 551
gotoAndPlay (543);
Symbol 969 MovieClip Frame 555
_root.Hit(this, opponent, 130, 160, "weaponhit");
Symbol 969 MovieClip Frame 557
gotoAndPlay (1);
Symbol 969 MovieClip Frame 558
range = 150;
power = 40;
Symbol 969 MovieClip Frame 560
_root.Hit(this, opponent, 200, 100, "weaponhit");
Symbol 969 MovieClip Frame 566
gotoAndPlay (1);
Symbol 969 MovieClip Frame 573
_root.Hit(this, opponent, 100, 400, "weaponhit");
Symbol 969 MovieClip Frame 584
gotoAndPlay (1);
Symbol 969 MovieClip Frame 589
_root.Hit(this, opponent, 160, 100, "weaponhit");
Symbol 969 MovieClip Frame 595
gotoAndPlay (1);
Symbol 969 MovieClip Frame 597
_root.Hit(this, opponent, 160, 10, "weaponhit");
Symbol 969 MovieClip Frame 600
_root.Hit(this, opponent, 160, 10, "weaponhit");
Symbol 969 MovieClip Frame 603
_root.Hit(this, opponent, 160, 20, "weaponhit");
Symbol 969 MovieClip Frame 606
gotoAndPlay (1);
Symbol 969 MovieClip Frame 610
_root.Hit(this, opponent, 300, 30, "weaponhit");
Symbol 969 MovieClip Frame 616
gotoAndPlay (1);
Symbol 969 MovieClip Frame 624
weapon = "hook";
weaponrange1 = 225;
weaponrange2 = 140;
weaponrange3 = 160;
Symbol 969 MovieClip Frame 625
PlayerControl();
Symbol 969 MovieClip Frame 626
PlayerControl();
Symbol 969 MovieClip Frame 627
PlayerControl();
Symbol 969 MovieClip Frame 628
PlayerControl();
Symbol 969 MovieClip Frame 629
PlayerControl();
Symbol 969 MovieClip Frame 630
PlayerControl();
Symbol 969 MovieClip Frame 631
PlayerControl();
Symbol 969 MovieClip Frame 632
PlayerControl();
Symbol 969 MovieClip Frame 633
PlayerControl();
Symbol 969 MovieClip Frame 634
gotoAndPlay (1);
Symbol 969 MovieClip Frame 637
_root.Hit(this, opponent, 140, 60, "weaponhit");
Symbol 969 MovieClip Frame 639
_root.Hit(this, opponent, 105, 80, "weaponhit");
Symbol 969 MovieClip Frame 643
gotoAndPlay (1);
Symbol 969 MovieClip Frame 649
_root.Hit(this, opponent, 225, 30);
Symbol 969 MovieClip Frame 657
gotoAndPlay (1);
Symbol 969 MovieClip Frame 661
_root.Hit(this, opponent, 160, 120, "weaponhit");
Symbol 969 MovieClip Frame 675
gotoAndPlay (1);
Symbol 969 MovieClip Frame 680
weapon = "";
weaponrange1 = 0;
weaponrange2 = 0;
weaponrange3 = 0;
Symbol 969 MovieClip Frame 682
gotoAndPlay (1);
Symbol 969 MovieClip Frame 683
blocking = true;
if (facing == "Left") {
move = (-Speed) / 3;
} else {
move = Speed / 3;
}
Walk(this, move);
Symbol 969 MovieClip Frame 684
Walk(this, move);
blocking = true;
Symbol 969 MovieClip Frame 685
Walk(this, move);
blocking = true;
Symbol 969 MovieClip Frame 686
Walk(this, move);
blocking = true;
Symbol 969 MovieClip Frame 687
Walk(this, move);
blocking = true;
Symbol 969 MovieClip Frame 688
gotoAndPlay (1);
Symbol 969 MovieClip Frame 697
weapon = "horsecutter";
weaponrange1 = 230;
weaponrange2 = 160;
weaponrange3 = 150;
Symbol 969 MovieClip Frame 698
gotoAndPlay (1);
Symbol 969 MovieClip Frame 699
PlayerControl();
Symbol 969 MovieClip Frame 700
PlayerControl();
Symbol 969 MovieClip Frame 701
PlayerControl();
Symbol 969 MovieClip Frame 702
PlayerControl();
Symbol 969 MovieClip Frame 703
PlayerControl();
Symbol 969 MovieClip Frame 704
PlayerControl();
Symbol 969 MovieClip Frame 705
PlayerControl();
Symbol 969 MovieClip Frame 706
PlayerControl();
Symbol 969 MovieClip Frame 707
PlayerControl();
Symbol 969 MovieClip Frame 708
PlayerControl();
Symbol 969 MovieClip Frame 709
PlayerControl();
Symbol 969 MovieClip Frame 710
PlayerControl();
Symbol 969 MovieClip Frame 711
PlayerControl();
Symbol 969 MovieClip Frame 712
PlayerControl();
Symbol 969 MovieClip Frame 713
PlayerControl();
Symbol 969 MovieClip Frame 714
gotoAndPlay (1);
Symbol 969 MovieClip Frame 719
_root.Hit(this, opponent, 160, 100, "weaponhit");
Symbol 969 MovieClip Frame 723
gotoAndPlay (1);
Symbol 969 MovieClip Frame 727
_root.Hit(this, opponent, 130, 70);
Symbol 969 MovieClip Frame 734
_root.Hit(this, opponent, 150, 140, "weaponhit");
Symbol 969 MovieClip Frame 743
gotoAndPlay (1);
Symbol 969 MovieClip Frame 749
_root.Hit(this, opponent, 230, 80, "weaponhit");
Symbol 969 MovieClip Frame 759
gotoAndPlay (1);
Symbol 969 MovieClip Frame 762
_root.Hit(this, opponent, 45, 150, "close");
Symbol 969 MovieClip Frame 768
gotoAndPlay (1);
Symbol 969 MovieClip Frame 771
weapon = "katana";
weaponrange1 = 185;
weaponrange2 = 160;
weaponrange3 = 160;
Symbol 969 MovieClip Frame 774
gotoAndPlay (1);
Symbol 969 MovieClip Frame 775
PlayerControl();
Symbol 969 MovieClip Frame 776
PlayerControl();
Symbol 969 MovieClip Frame 777
PlayerControl();
Symbol 969 MovieClip Frame 778
PlayerControl();
Symbol 969 MovieClip Frame 779
PlayerControl();
Symbol 969 MovieClip Frame 780
PlayerControl();
Symbol 969 MovieClip Frame 781
PlayerControl();
Symbol 969 MovieClip Frame 782
PlayerControl();
Symbol 969 MovieClip Frame 783
PlayerControl();
Symbol 969 MovieClip Frame 784
PlayerControl();
Symbol 969 MovieClip Frame 785
PlayerControl();
Symbol 969 MovieClip Frame 786
PlayerControl();
Symbol 969 MovieClip Frame 787
PlayerControl();
Symbol 969 MovieClip Frame 788
PlayerControl();
Symbol 969 MovieClip Frame 789
PlayerControl();
Symbol 969 MovieClip Frame 790
PlayerControl();
Symbol 969 MovieClip Frame 791
PlayerControl();
Symbol 969 MovieClip Frame 792
PlayerControl();
Symbol 969 MovieClip Frame 793
PlayerControl();
Symbol 969 MovieClip Frame 794
PlayerControl();
Symbol 969 MovieClip Frame 795
gotoAndPlay (1);
Symbol 969 MovieClip Frame 800
_root.Hit(this, opponent, 160, 70, "weaponhit");
Symbol 969 MovieClip Frame 803
gotoAndPlay (1);
Symbol 969 MovieClip Frame 808
_root.Hit(this, opponent, 160, 60, "weaponhit");
Symbol 969 MovieClip Frame 812
_root.Hit(this, opponent, 185, 70, "weaponhit");
Symbol 969 MovieClip Frame 816
gotoAndPlay (1);
Symbol 969 MovieClip Frame 821
_root.Hit(this, opponent, 160, 120, "weaponhit");
Symbol 969 MovieClip Frame 824
gotoAndPlay (1);
Symbol 969 MovieClip Frame 829
weapon = "ninjasword";
weaponrange1 = 150;
weaponrange2 = 140;
weaponrange3 = 140;
Symbol 969 MovieClip Frame 831
gotoAndPlay (1);
Symbol 969 MovieClip Frame 832
PlayerControl();
Symbol 969 MovieClip Frame 833
PlayerControl();
Symbol 969 MovieClip Frame 834
PlayerControl();
Symbol 969 MovieClip Frame 835
PlayerControl();
Symbol 969 MovieClip Frame 836
PlayerControl();
Symbol 969 MovieClip Frame 837
PlayerControl();
Symbol 969 MovieClip Frame 838
PlayerControl();
Symbol 969 MovieClip Frame 839
PlayerControl();
Symbol 969 MovieClip Frame 840
PlayerControl();
Symbol 969 MovieClip Frame 841
gotoAndPlay (1);
Symbol 969 MovieClip Frame 845
_root.Hit(this, opponent, 140, 160, "weaponhit");
Symbol 969 MovieClip Frame 851
gotoAndPlay (1);
Symbol 969 MovieClip Frame 855
_root.Hit(this, opponent, 140, 160, "weaponhit");
Symbol 969 MovieClip Frame 858
gotoAndPlay (1);
Symbol 969 MovieClip Frame 863
_root.Hit(this, opponent, 150, 160, "weaponhit");
Symbol 969 MovieClip Frame 868
gotoAndPlay (1);
Symbol 969 MovieClip Frame 878
weapon = "nunchaku";
weaponrange1 = 190;
weaponrange2 = 180;
weaponrange3 = 170;
Symbol 969 MovieClip Frame 879
gotoAndPlay (1);
Symbol 969 MovieClip Frame 880
PlayerControl();
Symbol 969 MovieClip Frame 881
PlayerControl();
Symbol 969 MovieClip Frame 882
PlayerControl();
Symbol 969 MovieClip Frame 883
PlayerControl();
Symbol 969 MovieClip Frame 884
PlayerControl();
Symbol 969 MovieClip Frame 885
PlayerControl();
Symbol 969 MovieClip Frame 886
gotoAndPlay (1);
Symbol 969 MovieClip Frame 891
_root.Hit(this, opponent, 190, 70);
Symbol 969 MovieClip Frame 894
gotoAndPlay (1);
Symbol 969 MovieClip Frame 898
_root.Hit(this, opponent, 180, 60);
Symbol 969 MovieClip Frame 901
gotoAndPlay (1);
Symbol 969 MovieClip Frame 905
_root.Hit(this, opponent, 170, 30, "low");
Symbol 969 MovieClip Frame 908
gotoAndPlay (1);
Symbol 969 MovieClip Frame 914
weapon = "spade";
weaponrange1 = 225;
weaponrange2 = 150;
weaponrange3 = 250;
gotoAndPlay (1);
Symbol 969 MovieClip Frame 915
PlayerControl();
Symbol 969 MovieClip Frame 916
PlayerControl();
Symbol 969 MovieClip Frame 917
PlayerControl();
Symbol 969 MovieClip Frame 918
PlayerControl();
Symbol 969 MovieClip Frame 919
PlayerControl();
Symbol 969 MovieClip Frame 920
gotoAndPlay (1);
Symbol 969 MovieClip Frame 922
_root.Hit(this, opponent, 90, 50, "weaponhit");
Symbol 969 MovieClip Frame 926
_root.Hit(this, opponent, 150, 70, "weaponhit");
Symbol 969 MovieClip Frame 930
gotoAndPlay (1);
Symbol 969 MovieClip Frame 937
_root.Hit(this, opponent, 250, 90, "weaponhit");
Symbol 969 MovieClip Frame 942
gotoAndPlay (1);
Symbol 969 MovieClip Frame 947
_root.Hit(this, opponent, 225, 80, "weaponhit");
Symbol 969 MovieClip Frame 955
gotoAndPlay (1);
Symbol 969 MovieClip Frame 956
blocking = true;
if (facing != "Left") {
move = (-Speed) / 3;
} else {
move = Speed / 3;
}
Walk(this, move);
Symbol 969 MovieClip Frame 957
Walk(this, move);
blocking = true;
Symbol 969 MovieClip Frame 958
Walk(this, move);
blocking = true;
Symbol 969 MovieClip Frame 959
Walk(this, move);
blocking = true;
Symbol 969 MovieClip Frame 960
blocking = true;
if (facing == "Left") {
move = (-Speed) / 3;
} else {
move = Speed / 3;
}
Walk(this, move);
Symbol 969 MovieClip Frame 961
gotoAndPlay (1);
Symbol 969 MovieClip Frame 964
weapon = "chainwhip";
weaponrange1 = 205;
weaponrange2 = 225;
weaponrange3 = 150;
gotoAndPlay (1);
Symbol 969 MovieClip Frame 965
PlayerControl();
Symbol 969 MovieClip Frame 966
gotoAndPlay (1);
Symbol 969 MovieClip Frame 973
if (_root.Hit(this, opponent, 225, 15)) {
gotoAndPlay (1);
}
Symbol 969 MovieClip Frame 974
if (_root.Hit(this, opponent, 225, 15)) {
gotoAndPlay (1);
}
Symbol 969 MovieClip Frame 975
if (_root.Hit(this, opponent, 225, 15)) {
gotoAndPlay (1);
}
Symbol 969 MovieClip Frame 976
if (Key.isDown(KEYPunch)) {
gotoAndPlay (973);
}
Symbol 969 MovieClip Frame 977
gotoAndPlay (1);
Symbol 969 MovieClip Frame 982
_root.Hit(this, opponent, 205, 100, "weaponhit");
Symbol 969 MovieClip Frame 987
gotoAndPlay (1);
Symbol 969 MovieClip Frame 994
_root.Hit(this, opponent, 160, 200);
Symbol 969 MovieClip Frame 998
gotoAndPlay (1);
Symbol 969 MovieClip Frame 999
PlayerControl();
Symbol 969 MovieClip Frame 1000
PlayerControl();
Symbol 969 MovieClip Frame 1001
PlayerControl();
Symbol 969 MovieClip Frame 1002
PlayerControl();
Symbol 969 MovieClip Frame 1003
gotoAndPlay (999);
Symbol 969 MovieClip Frame 1004
PlayerControl();
Symbol 969 MovieClip Frame 1005
PlayerControl();
Symbol 969 MovieClip Frame 1006
PlayerControl();
Symbol 969 MovieClip Frame 1007
PlayerControl();
Symbol 969 MovieClip Frame 1008
PlayerControl();
Symbol 969 MovieClip Frame 1009
PlayerControl();
Symbol 969 MovieClip Frame 1010
PlayerControl();
Symbol 969 MovieClip Frame 1011
PlayerControl();
Symbol 969 MovieClip Frame 1012
PlayerControl();
Symbol 969 MovieClip Frame 1013
gotoAndPlay (1004);
Symbol 969 MovieClip Frame 1017
if (facing == "Left") {
move = (-Speed) * 1.5;
} else {
move = Speed * 1.5;
}
specialpower = 0;
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1018
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1019
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1020
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1021
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1022
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1023
_root.MoveFighter(this, move);
_root.Hit(this, opponent, 105, 30);
Symbol 969 MovieClip Frame 1024
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1025
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1026
_root.MoveFighter(this, move);
_root.Hit(this, opponent, 140, 1000);
Symbol 969 MovieClip Frame 1037
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1039
specialpower = 0;
Symbol 969 MovieClip Frame 1042
_root.Hit(this, opponent, 90, 50);
if (facing == "Left") {
move = (-Speed) * 2;
} else {
move = Speed * 2;
}
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1043
_root.Hit(this, opponent, 90, 50);
specialpower = 0;
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1044
_root.Hit(this, opponent, 110, 50);
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1045
_root.Hit(this, opponent, 110, 50);
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1046
_root.Hit(this, opponent, 110, 50);
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1047
_root.Hit(this, opponent, 110, 50);
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1048
_root.Hit(this, opponent, 125, 50);
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1049
_root.Hit(this, opponent, 125, 50);
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1050
_root.Hit(this, opponent, 110, 50);
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1051
_root.Hit(this, opponent, 110, 50);
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1052
_root.Hit(this, opponent, 125, 100);
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1058
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1063
jumping = true;
specialpower = 0;
if (this._y < -200) {
if (this._x < opponent._x) {
setProperty(this, _x , opponent._x + 40);
facing = "Left";
} else {
setProperty(this, _x , opponent._x - 40);
facing = "Right";
}
gotoAndPlay (1065);
} else {
setProperty(this, _y , this._y - 150);
}
Symbol 969 MovieClip Frame 1064
gotoAndPlay (1063);
Symbol 969 MovieClip Frame 1065
if (this._y >= origy) {
setProperty(this, _y , origy);
jumping = false;
gotoAndPlay (1);
} else {
setProperty(this, _y , this._y + 150);
if (_root.Hit(this, opponent, 70, 300)) {
upspeed = 30;
sidespeed = 0;
gotoAndPlay (88);
}
jumping = true;
}
Symbol 969 MovieClip Frame 1066
gotoAndPlay (1065);
Symbol 969 MovieClip Frame 1067
jumpingmovement();
Symbol 969 MovieClip Frame 1068
jumpingmovement();
Symbol 969 MovieClip Frame 1069
range = 110;
power = 400;
specialpower = 0;
jumpingmovement();
if (_root.Hit(this, opponent, range, power)) {
sidespeed = (-sidespeed) / 2;
gotoAndPlay (62);
}
Symbol 969 MovieClip Frame 1070
jumpingmovement();
if (_root.Hit(this, opponent, range, power)) {
sidespeed = (-sidespeed) / 2;
gotoAndPlay (62);
}
Symbol 969 MovieClip Frame 1071
jumpingmovement();
if (_root.Hit(this, opponent, range, power)) {
sidespeed = (-sidespeed) / 2;
gotoAndPlay (62);
}
Symbol 969 MovieClip Frame 1072
jumpingmovement();
if (_root.Hit(this, opponent, range, power)) {
sidespeed = (-sidespeed) / 2;
gotoAndPlay (62);
}
Symbol 969 MovieClip Frame 1073
gotoAndPlay (1067);
Symbol 969 MovieClip Frame 1074
if (opponent._x < this._x) {
move = -Speed;
} else {
move = Speed;
}
movecount = 5;
Symbol 969 MovieClip Frame 1076
specialpower = 0;
Symbol 969 MovieClip Frame 1079
_root.Hit(this, opponent, 120, 60, "low");
_root.MoveFighter(this, move);
movecount = movecount - 1;
Symbol 969 MovieClip Frame 1080
_root.Hit(this, opponent, 120, 60, "low");
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1081
_root.Hit(this, opponent, 120, 60, "low");
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1082
_root.Hit(this, opponent, 120, 60, "low");
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1083
if (0 < movecount) {
gotoAndPlay (1079);
} else {
gotoAndPlay (1);
}
Symbol 969 MovieClip Frame 1084
if (opponent._x < this._x) {
move = (-Speed) * 6;
} else {
move = Speed * 6;
}
movecount = 20;
Symbol 969 MovieClip Frame 1086
if (_root.MoveFighter(this, move)) {
if (_root.Hit(this, opponent, 90, 1000)) {
gotoAndPlay (1088);
}
movecount = movecount - 1;
specialpower = 0;
} else {
gotoAndPlay (1);
}
Symbol 969 MovieClip Frame 1087
if (0 < movecount) {
gotoAndPlay (1086);
} else {
gotoAndPlay (1);
}
Symbol 969 MovieClip Frame 1094
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1095
if (opponent._x < this._x) {
move = (-Speed) * 2;
} else {
move = Speed * 2;
}
Symbol 969 MovieClip Frame 1097
_root.MoveFighter(this, move);
specialpower = 0;
Symbol 969 MovieClip Frame 1098
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1099
_root.MoveFighter(this, move);
_root.Hit(this, opponent, 90, 200);
Symbol 969 MovieClip Frame 1100
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1101
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1102
_root.MoveFighter(this, move);
_root.Hit(this, opponent, 100, 200);
Symbol 969 MovieClip Frame 1103
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1104
_root.Hit(this, opponent, 100, 200);
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1105
_root.MoveFighter(this, move);
_root.Hit(this, opponent, 100, 200);
Symbol 969 MovieClip Frame 1106
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1107
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1108
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1112
weapon = "dragonblade";
weaponrange1 = 415;
weaponrange2 = 200;
weaponrange3 = 150;
Symbol 969 MovieClip Frame 1114
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1115
PlayerControl();
Symbol 969 MovieClip Frame 1116
PlayerControl();
Symbol 969 MovieClip Frame 1117
PlayerControl();
Symbol 969 MovieClip Frame 1118
PlayerControl();
Symbol 969 MovieClip Frame 1119
PlayerControl();
Symbol 969 MovieClip Frame 1120
PlayerControl();
Symbol 969 MovieClip Frame 1121
PlayerControl();
Symbol 969 MovieClip Frame 1122
PlayerControl();
Symbol 969 MovieClip Frame 1123
PlayerControl();
Symbol 969 MovieClip Frame 1124
PlayerControl();
Symbol 969 MovieClip Frame 1125
PlayerControl();
Symbol 969 MovieClip Frame 1126
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1131
_root.Hit(this, opponent, 190, 100, "weaponhit");
Symbol 969 MovieClip Frame 1133
_root.Hit(this, opponent, 415, 50);
Symbol 969 MovieClip Frame 1139
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1144
_root.Hit(this, opponent, 200, 150, "weaponhit");
Symbol 969 MovieClip Frame 1148
_root.Hit(this, opponent, 200, 150, "weaponhit");
Symbol 969 MovieClip Frame 1150
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1156
_root.Hit(this, opponent, 150, 500, "weaponhit");
Symbol 969 MovieClip Frame 1164
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1169
weapon = "straightsword";
weaponrange1 = 180;
weaponrange2 = 180;
weaponrange3 = 175;
Symbol 969 MovieClip Frame 1172
PlayerControl();
Symbol 969 MovieClip Frame 1173
PlayerControl();
Symbol 969 MovieClip Frame 1174
PlayerControl();
Symbol 969 MovieClip Frame 1175
PlayerControl();
Symbol 969 MovieClip Frame 1176
PlayerControl();
Symbol 969 MovieClip Frame 1177
PlayerControl();
Symbol 969 MovieClip Frame 1178
PlayerControl();
Symbol 969 MovieClip Frame 1179
PlayerControl();
Symbol 969 MovieClip Frame 1180
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1186
_root.Hit(this, opponent, 180, 110, "weaponhit");
Symbol 969 MovieClip Frame 1190
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1194
_root.Hit(this, opponent, 180, 100, "weaponhit");
Symbol 969 MovieClip Frame 1198
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1205
_root.Hit(this, opponent, 175, 120, "weaponhit");
Symbol 969 MovieClip Frame 1211
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1212
if (facing == "Right") {
move = Speed * 2.5;
} else {
move = (-Speed) * 2.5;
}
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1215
specialpower = 0;
Symbol 969 MovieClip Frame 1217
_root.MoveFighter(this, move);
power = 500;
Symbol 969 MovieClip Frame 1218
_root.MoveFighter(this, move);
if (_root.Hit(this, opponent, 165, power)) {
gotoAndPlay (1223);
}
Symbol 969 MovieClip Frame 1219
_root.MoveFighter(this, move);
if (_root.Hit(this, opponent, 165, power)) {
gotoAndPlay (1223);
}
Symbol 969 MovieClip Frame 1220
_root.MoveFighter(this, move);
if (_root.Hit(this, opponent, 165, power)) {
gotoAndPlay (1223);
}
Symbol 969 MovieClip Frame 1221
_root.MoveFighter(this, move);
if (_root.Hit(this, opponent, 165, power)) {
gotoAndPlay (1223);
}
Symbol 969 MovieClip Frame 1222
_root.MoveFighter(this, move);
if (_root.Hit(this, opponent, 165, power)) {
gotoAndPlay (1223);
}
Symbol 969 MovieClip Frame 1227
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1228
loopsleft = 5;
if (facing == "Right") {
move = Speed * 4.5;
} else {
move = (-Speed) * 4.5;
}
_root.MoveFighter(this, move);
range = 90;
power = 500;
Symbol 969 MovieClip Frame 1229
_root.MoveFighter(this, move);
specialpower = 0;
Symbol 969 MovieClip Frame 1230
_root.MoveFighter(this, move);
if (_root.Hit(this, opponent, range, power)) {
gotoAndPlay (1233);
}
Symbol 969 MovieClip Frame 1231
if (_root.MoveFighter(this, move)) {
} else {
gotoAndPlay (1);
}
if (_root.Hit(this, opponent, range, power)) {
gotoAndPlay (1233);
}
Symbol 969 MovieClip Frame 1232
gotoAndPlay (1230);
if (_root.Hit(this, opponent, range, power)) {
gotoAndPlay (1233);
}
Symbol 969 MovieClip Frame 1241
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1242
if (facing == "Right") {
move = Speed * 3;
} else {
move = (-Speed) * 3;
}
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1243
_root.MoveFighter(this, move);
specialpower = 0;
Symbol 969 MovieClip Frame 1244
_root.MoveFighter(this, move);
_root.Hit(this, opponent, 120, 400);
Symbol 969 MovieClip Frame 1245
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1246
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1247
_root.Hit(this, opponent, 125, 400);
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1248
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1249
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1250
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1255
weapon = "shotgun";
weaponrange1 = 150;
weaponrange2 = 2000;
weaponrange3 = 2000;
Symbol 969 MovieClip Frame 1262
PlayerControl();
Symbol 969 MovieClip Frame 1263
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1267
_root.Hit(this, opponent, 150, 25);
Symbol 969 MovieClip Frame 1274
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1275
if (facing == "Right") {
move = (-Speed) * 3;
} else {
move = Speed * 3;
}
Symbol 969 MovieClip Frame 1276
_root.Hit(this, opponent, 2000, 500, "weaponhit", "yes");
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1289
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1290
if (facing == "Right") {
move = (-Speed) * 3;
} else {
move = Speed * 3;
}
Symbol 969 MovieClip Frame 1291
_root.Hit(this, opponent, 2000, 500, "weaponhit", "yes");
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1292
_root.Hit(this, opponent, 2000, 500, "weaponhit", "yes");
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1312
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1321
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1322
PlayerControl();
Symbol 969 MovieClip Frame 1323
PlayerControl();
Symbol 969 MovieClip Frame 1324
PlayerControl();
Symbol 969 MovieClip Frame 1325
PlayerControl();
Symbol 969 MovieClip Frame 1326
PlayerControl();
Symbol 969 MovieClip Frame 1327
PlayerControl();
Symbol 969 MovieClip Frame 1328
PlayerControl();
Symbol 969 MovieClip Frame 1329
PlayerControl();
Symbol 969 MovieClip Frame 1330
PlayerControl();
Symbol 969 MovieClip Frame 1331
PlayerControl();
Symbol 969 MovieClip Frame 1332
PlayerControl();
Symbol 969 MovieClip Frame 1333
PlayerControl();
Symbol 969 MovieClip Frame 1334
PlayerControl();
Symbol 969 MovieClip Frame 1335
PlayerControl();
Symbol 969 MovieClip Frame 1336
PlayerControl();
Symbol 969 MovieClip Frame 1337
PlayerControl();
Symbol 969 MovieClip Frame 1338
PlayerControl();
Symbol 969 MovieClip Frame 1339
PlayerControl();
Symbol 969 MovieClip Frame 1340
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1341
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);
Symbol 969 MovieClip Frame 1355
if (opponent.dead) {
gotoAndStop (223);
} else {
bowed = "yes";
gotoAndPlay (1);
}
Symbol 969 MovieClip Frame 1356
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 (opponent.dead) {
gotoAndStop (223);
}
Symbol 969 MovieClip Frame 1372
if (opponent.dead) {
gotoAndStop (223);
} else {
bowed = "yes";
gotoAndPlay (1);
}
Symbol 969 MovieClip Frame 1373
if (facing == "Left") {
move = -Speed;
} else {
move = Speed;
}
Walk(this, move);
Symbol 969 MovieClip Frame 1374
Walk(this, move);
Symbol 969 MovieClip Frame 1375
Walk(this, move);
Symbol 969 MovieClip Frame 1376
Walk(this, move);
Symbol 969 MovieClip Frame 1377
Walk(this, move);
Symbol 969 MovieClip Frame 1378
Walk(this, move);
Symbol 969 MovieClip Frame 1379
Walk(this, move);
Symbol 969 MovieClip Frame 1380
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1381
if (facing != "Left") {
move = -Speed;
} else {
move = Speed;
}
Walk(this, move);
Symbol 969 MovieClip Frame 1382
Walk(this, move);
Symbol 969 MovieClip Frame 1383
Walk(this, move);
Symbol 969 MovieClip Frame 1384
Walk(this, move);
Symbol 969 MovieClip Frame 1385
Walk(this, move);
Symbol 969 MovieClip Frame 1386
Walk(this, move);
Symbol 969 MovieClip Frame 1387
Walk(this, move);
Symbol 969 MovieClip Frame 1388
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1389
if (facing == "Right") {
move = Speed * 4.5;
} else {
move = (-Speed) * 4.5;
}
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1390
if (facing == "Right") {
move = Speed * 4.5;
} else {
move = (-Speed) * 4.5;
}
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1391
if (facing == "Right") {
move = Speed * 4.5;
} else {
move = (-Speed) * 4.5;
}
_root.MoveFighter(this, move);
specialpower = 0;
Symbol 969 MovieClip Frame 1392
if (facing == "Right") {
move = Speed * 4.5;
} else {
move = (-Speed) * 4.5;
}
_root.MoveFighter(this, move);
_root.Hit(this, opponent, 192, 200);
Symbol 969 MovieClip Frame 1393
if (facing == "Right") {
move = Speed * 4.5;
} else {
move = (-Speed) * 4.5;
}
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1394
if (facing == "Right") {
move = Speed * 4.5;
} else {
move = (-Speed) * 4.5;
}
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1395
if (facing == "Right") {
move = Speed * 4.5;
} else {
move = (-Speed) * 4.5;
}
_root.MoveFighter(this, move);
Symbol 969 MovieClip Frame 1396
if (facing == "Right") {
move = Speed * 4.5;
} else {
move = (-Speed) * 4.5;
}
_root.MoveFighter(this, move);
_root.Hit(this, opponent, 196, 200);
Symbol 969 MovieClip Frame 1402
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1406
_root.Hit(this, opponent, 150, 500);
specialpower = 0;
Symbol 969 MovieClip Frame 1419
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1424
specialpower = 0;
Symbol 969 MovieClip Frame 1425
_root.Hit(this, opponent, 300, 500);
Symbol 969 MovieClip Frame 1433
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1434
upspeed = 30;
sidespeed = 0;
Symbol 969 MovieClip Frame 1435
jumpingmovement();
if (0 >= upspeed) {
gotoAndPlay (1437);
}
Symbol 969 MovieClip Frame 1436
gotoAndPlay (1435);
Symbol 969 MovieClip Frame 1437
specialpower = 0;
if (facing == "Right") {
move = Speed * 4.5;
} else {
move = (-Speed) * 4.5;
}
_root.MoveFighter(this, move);
_root.Hit(this, opponent, 80, 100);
setProperty(this, _y , this._y + 20);
if (this._y >= origy) {
setProperty(this, _y , origy);
jumping = false;
gotoAndPlay (1);
}
Symbol 969 MovieClip Frame 1438
gotoAndPlay (1437);
Symbol 969 MovieClip Frame 1446
weapon = "staff";
Symbol 969 MovieClip Frame 1447
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1448
PlayerControl();
Symbol 969 MovieClip Frame 1449
PlayerControl();
Symbol 969 MovieClip Frame 1450
PlayerControl();
Symbol 969 MovieClip Frame 1451
PlayerControl();
Symbol 969 MovieClip Frame 1452
PlayerControl();
Symbol 969 MovieClip Frame 1453
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1456
_root.Hit(this, opponent, 130, 100);
Symbol 969 MovieClip Frame 1459
_root.Hit(this, opponent, 130, 100);
Symbol 969 MovieClip Frame 1462
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1470
_root.Hit(this, opponent, 210, 100);
Symbol 969 MovieClip Frame 1476
gotoAndPlay (1);
Symbol 969 MovieClip Frame 1481
_root.Hit(this, opponent, 90, 100);
Symbol 969 MovieClip Frame 1484
_root.Hit(this, opponent, 90, 100);
Symbol 969 MovieClip Frame 1488
_root.Hit(this, opponent, 115, 100);
Symbol 969 MovieClip Frame 1491
gotoAndPlay (1);
Symbol 972 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 972 MovieClip Frame 2
gotoAndPlay (1);
Symbol 972 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 972 MovieClip Frame 4
gotoAndPlay (3);
Symbol 972 MovieClip Frame 5
stop();
Instance of Symbol 989 MovieClip "hand" in Symbol 991 MovieClip Frame 1
onClipEvent (enterFrame) {
angle = (time / _parent.totaltime) * 360;
setProperty(this, _rotation , angle);
time = Number(0 + time) + 1;
if ((_parent.totaltime < time) && (10 < time)) {
_root.gotoAndStop("trainingcomplete");
}
if (((2 * _parent.totaltime) / 3) < time) {
if (_root.weaponallowed == false) {
_root.trainingmessage.message = "You may now use your weapon if you want to";
_root.trainingmessage.gotoAndPlay(1);
}
_root.weaponallowed = true;
} else {
_root.weaponallowed = false;
}
}
Symbol 996 MovieClip Frame 1
randtipno = random(20) + 1;
if (randtipno == 1) {
_root.trainingtip = "The Long Punch is a very weak move. Get closer and use closer range moves for more effect";
} else if (randtipno == 2) {
_root.trainingtip = "The Long Punch is most useful for knocking down a jumping opponent";
} else if (randtipno == 3) {
_root.trainingtip = "When your opponent is using a weapon, use the block move to get close enough to use your close range moves";
} else if (randtipno == 4) {
_root.trainingtip = "A flying kick/punch can be used on the way up, as well as down";
} else if (randtipno == 5) {
_root.trainingtip = "A low kick can penetrate a block";
} else if (randtipno == 6) {
_root.trainingtip = "Using a weapon is not always the best option. You often defeat an opponent quicker without";
} else if (randtipno == 7) {
_root.trainingtip = "A flying punch reaches further than a flying kick. But a flying kick is harder";
} else if (randtipno == 8) {
_root.trainingtip = "Your special move charges up faster when you let go of the keys";
} else if (randtipno == 9) {
_root.trainingtip = "If you hit your opponent with a special move while they are falling, they will not be able to block it";
} else if (randtipno == 10) {
_root.trainingtip = "Hits with a weapon do not count towards a combo";
} else if (randtipno == 11) {
_root.trainingtip = "A few backflips can quickly get you out of danger";
} else if (randtipno == 12) {
_root.trainingtip = "When using a weapon, be aware of its range and speed compared to your opponents";
} else if (randtipno == 13) {
_root.trainingtip = "When using short range weapon, block move to get close enough and time your attack carefully";
} else if (randtipno == 14) {
_root.trainingtip = "Remember that you can still kick while using your weapon";
} else if (randtipno == 15) {
_root.trainingtip = "You cannot use your special move while holding your weapon";
} else if (randtipno == 16) {
_root.trainingtip = "It takes a small amount of time to draw your weapon, so make sure that you are out of range when you do.";
} else if (randtipno == 17) {
_root.trainingtip = "Not all special moves can be blocked";
} else if (randtipno == 18) {
_root.trainingtip = "Timing is everything";
} else if (randtipno == 19) {
_root.trainingtip = "If a tactic isn't working, then try a new tactic";
} else if (randtipno == 20) {
_root.trainingtip = "Don't try this at home!";
}
Symbol 996 MovieClip Frame 360
gotoAndPlay (1);
Symbol 1008 Button
on (release) {
if (_root.FightInProgress) {
_root.finish.gotoAndStop("quit");
} else {
_root.gotoAndStop("mainmenu");
}
}
Instance of Symbol 991 MovieClip in Symbol 1012 MovieClip Frame 6
onClipEvent (load) {
totaltime = 2880;
}
Symbol 1016 Button
on (release, keyPress "<Enter>") {
_root.cheat = _root.cheat.toLowerCase();
gotoAndStop (5);
}
Symbol 1019 Button
on (release) {
_root.gotoAndStop("mainmenu");
}
Symbol 1070 MovieClip Frame 1
stop();
Symbol 1072 MovieClip Frame 1
stop();
_root.bloodOn = true;
Symbol 1072 MovieClip Frame 2
_root.bloodOn = false;
Symbol 1074 MovieClip Frame 1
stop();
_root.shakingOn = true;
Symbol 1074 MovieClip Frame 2
_root.shakingOn = false;
Symbol 1078 Button
on (release, keyPress "<Enter>") {
gotoAndStop (5);
}
Symbol 1089 MovieClip Frame 77
stop();
Symbol 1091 Button
on (release) {
stopAllSounds();
_root.levelcode = "";
_root.gotoAndStop("mainmenu");
}
Symbol 1094 MovieClip Frame 95
setProperty(_root.background, _alpha , 90);
Symbol 1094 MovieClip Frame 96
setProperty(_root.background, _alpha , 80);
Symbol 1094 MovieClip Frame 97
setProperty(_root.background, _alpha , 70);
Symbol 1094 MovieClip Frame 98
setProperty(_root.background, _alpha , 60);
Symbol 1094 MovieClip Frame 99
setProperty(_root.background, _alpha , 50);
Symbol 1094 MovieClip Frame 100
setProperty(_root.background, _alpha , 40);
Symbol 1094 MovieClip Frame 101
setProperty(_root.background, _alpha , 30);
Symbol 1094 MovieClip Frame 102
setProperty(_root.background, _alpha , 20);
Symbol 1094 MovieClip Frame 103
setProperty(_root.background, _alpha , 10);
Symbol 1094 MovieClip Frame 104
setProperty(_root.background, _alpha , 0);
Symbol 1094 MovieClip Frame 140
stop();