Frame 1
function quitMe() {
fscommand ("quit");
}
function killPasswords() {
hyperCheat = 0;
healthCheat = 0;
speedCheat = 0;
}
function checkScreenHack() {
if ((CF3version == "full") && (sponsor != "shockwave")) {
stageWidth = System.capabilities.screenResolutionX;
stageHeight = System.capabilities.screenResolutionY;
if ((stageWidth != 640) || (stageHeight != 480)) {
quitMe();
}
}
}
function checkPassword() {
if (cheatWord == "muito") {
_root.gsfx("zaha3");
_root.gsfx("hyper2");
muitosurvival = 1;
impossibleMC._visible = true;
impossibleMC2._visible = true;
_root.survivalDifficulty = 7;
_root.arcadeDifficulty = 7;
} else if (cheatWord == "morte") {
_root.gsfx("hitend");
_root.deleteCookie();
_root.loadCookie();
} else if (cheatWord == "zum") {
_root.survivalskip = 1;
_root.gsfx("hyper");
} else if (cheatWord == "vida") {
healthCheat = 1;
_root.gsfx("hyper2");
} else if (cheatWord == "rapido") {
speedCheat = 1;
_root.gsfx("hyper2");
} else if (cheatWord == "macumba") {
hyperCheat = 1;
_root.gsfx("hyper2");
} else if (cheatWord == "uber") {
hyperCheat = 1;
speedCheat = 1;
healthCheat = 1;
_root.gsfx("hyper2");
_root.gsfx("ZumbiAzul_Ha3Low.wav");
} else if (cheatWord == "tester") {
testing = 1;
} else if (cheatWord == "paige") {
paigeLevel = 1;
} else {
cheatWord = "invalid";
}
}
function stopmusic() {
_root.music.sound1.gotoAndStop(1);
_root.music.music.gotoAndStop(1);
_root.players.rodapeople.player.stop();
_root.players.rodapeople.players.stop();
_root.players.rodapeople.players2.stop();
}
function startmusic() {
_root.music.sound1.gotoAndPlay(2);
_root.music.music.gotoAndPlay(2);
}
function startmusiconly() {
_root.music.music.gotoAndPlay(2);
}
function startambient() {
_root.music.sound1.gotoAndPlay(2);
}
function loadCinematicSounds() {
if (gmode == 1) {
if (arcadeRound == 10) {
cineStage = [("00sounds/Stage" + p1charnum) + "_sounds.swf"];
loadMovie (cineStage, "music");
}
}
}
function setnewvolume() {
_root.sfx.gsfx.playsound("st1");
_root.sfx.bsfx.playsound("st1");
_root.music.sound1.playsound("soundnode");
_root.music.music.playsound("soundnode");
}
function pauseSounds() {
_root.music.sound1.soundnode.setVolume(0);
_root.music.music.soundnode.setVolume(0);
}
paigeLevel = 0;
function setInputWindow() {
if (CinputWindow == 3) {
_root.players.p1.keytime = 16;
_root.players.p2.keytime = 16;
} else if (CinputWindow == 2) {
_root.players.p1.keytime = 13;
_root.players.p2.keytime = 13;
} else if (CinputWindow == 1) {
_root.players.p1.keytime = 10;
_root.players.p2.keytime = 10;
}
}
function resetMusicVolume() {
_root.Cmusicvolume = _root.Cmusicvolume2;
}
function setsurvivalmode() {
damageplus1 = 0;
axeplus1 = 0;
hyperplus1 = 0;
defenseplus1 = 0;
damageplus2 = 0;
axeplus2 = 0;
hyperplus2 = 0;
defenseplus2 = 0;
_root.Croundtime = 3;
_root.Cmaxrounds = 3;
_root.backedgelimit = 170;
_root.frontedgelimit = 145;
_root.Cpointspeed = 0.5;
_root.Cdifficulty = 3;
_root.Cgravity = 2;
_root.Cp1strength = 3;
_root.Cp2strength = 3;
_root.totalwins1 = 0;
_root.totalwins2 = 0;
}
function setarcademode() {
altbranch = 0;
_root.Croundtime = 3;
_root.Cmaxrounds = 3;
_root.backedgelimit = 170;
_root.frontedgelimit = 145;
_root.Cpointspeed = 0.5;
_root.Cgravity = 2;
_root.Cp1strength = 3;
_root.Cp2strength = 3;
_root.totalwins1 = 0;
_root.totalwins2 = 0;
}
function setdefaults() {
simplespdodge1 = 1;
simplespdodge2 = 1;
_root.Croundtime = 3;
_root.Cmaxrounds = 3;
_root.Csmoothing = 1;
_root.Chitsparks = 1;
_root.Cdust = 1;
_root.Cbgpeople = 1;
_root.Cbgeffects = 1;
_root.Cshadows = 1;
_root.backedgelimit = 170;
_root.frontedgelimit = 145;
_root.Cscrolling = 1;
_root.Cpointspeed = 0.5;
_root.Cdifficulty = 20;
_root.Cgravity = 2;
_root.Ceffectsvolume = 100;
_root.Chavolume = 0.9;
_root.Cambientvolume = 50;
_root.Cbuttonvolume = 45;
_root.Cmusicvolume = 80;
_root.Cmusicvolume2 = 80;
_root.Cmastervolume = 0.8;
_root.Cp1strength = 3;
_root.Cp2strength = 3;
_root.totalwins1 = 0;
_root.totalwins2 = 0;
_root.Cp1u = 87;
_root.Cp1d = 83;
_root.Cp1f = 68;
_root.Cp1b = 65;
_root.Cp1bk = 66;
_root.Cp1fk = 86;
_root.Cp1fp = 71;
_root.Cp1bp = 72;
_root.Cp1ps = 32;
_root.Cp2u = 38;
_root.Cp2d = 40;
_root.Cp2f = 37;
_root.Cp2b = 39;
_root.Cp2bk = 99;
_root.Cp2fk = 98;
_root.Cp2fp = 101;
_root.Cp2bp = 102;
_root.Cp2ps = 96;
_root.Cp3u = 49;
_root.Cp3d = 50;
_root.Cp3f = 51;
_root.Cp3b = 52;
_root.Cp3bk = 53;
_root.Cp3fk = 54;
_root.Cp3fp = 55;
_root.Cp3bp = 56;
_root.Cp3ps = 32;
_root.Cp4u = 69;
_root.Cp4d = 82;
_root.Cp4f = 84;
_root.Cp4b = 89;
_root.Cp4bk = 85;
_root.Cp4fk = 73;
_root.Cp4fp = 79;
_root.Cp4bp = 80;
_root.Cp4ps = 96;
}
function animate(pnum) {
if ((!_root.players["p" + pnum].hitStop) || (_root.speed < 1)) {
_root.players["p" + pnum].player.nextFrame();
_root.players["p" + pnum].player.player.gotoAndStop(_root.players["p" + pnum].player._currentframe);
_root.players["s" + pnum].shadow.gotoAndStop(_root.players["p" + pnum].player._currentframe);
}
}
function setbgeffects() {
if (_root.Cbgeffects == 0) {
_root.players.effects.gotoAndStop(1);
_root.players.bg.img.effects._visible = 0;
} else {
_root.players.effects.gotoAndStop(_root.stagenum + 1);
_root.players.bg.img.effects._visible = 1;
}
}
function saveCookie() {
shareObj = SharedObject.getLocal("shareObj");
_root.shareObj.data.savedCookie = _root.savedCookieCheck;
_root.shareObj.data.targetScores = _root.targetScores;
_root.shareObj.data.comboScores = _root.comboScores;
_root.shareObj.data.chainScores = _root.chainScores;
_root.shareObj.data.speedkoScores = _root.speedkoScores;
_root.shareObj.data.melonScores = _root.melonScores;
_root.shareObj.data.dribbleScores = _root.dribbleScores;
_root.shareObj.data.knockoutScores = _root.knockoutScores;
_root.shareObj.data.ringkingScores = _root.ringkingScores;
_root.shareObj.data.ringfireScores = _root.ringfireScores;
_root.shareObj.data.moneyScores = _root.moneyScores;
_root.shareObj.data.hotpotatoScores = _root.hotpotatoScores;
_root.shareObj.data.ringoutScores = _root.ringoutScores;
_root.shareObj.data.mixedScores = _root.mixedScores;
_root.shareObj.data.unlock16 = unlock16;
_root.shareObj.data.unlock17 = unlock17;
_root.shareObj.data.unlock18 = unlock18;
_root.shareObj.data.unlock19 = unlock19;
_root.shareObj.data.unlock20 = unlock20;
_root.shareObj.data.unlock21 = unlock21;
_root.shareObj.data.unlock22 = unlock22;
_root.shareObj.data.unlock23 = unlock23;
_root.shareObj.data.unlock24 = unlock24;
_root.shareObj.data.unlock25 = unlock25;
_root.shareObj.data.unlock26 = unlock26;
_root.shareObj.data.unlock27 = unlock27;
_root.shareObj.data.unlock28 = unlock28;
_root.shareObj.data.unlock29 = unlock29;
_root.shareObj.data.unlock30 = unlock30;
_root.shareObj.data.chainUnlocked = chainUnlocked;
_root.shareObj.data.speedkoUnlocked = speedkoUnlocked;
_root.shareObj.data.melonUnlocked = melonUnlocked;
_root.shareObj.data.dribbleUnlocked = dribbleUnlocked;
_root.shareObj.data.Cp1u = _root.Cp1u;
_root.shareObj.data.Cp1d = _root.Cp1d;
_root.shareObj.data.Cp1f = _root.Cp1f;
_root.shareObj.data.Cp1b = _root.Cp1b;
_root.shareObj.data.Cp1bk = _root.Cp1bk;
_root.shareObj.data.Cp1fk = _root.Cp1fk;
_root.shareObj.data.Cp1fp = _root.Cp1fp;
_root.shareObj.data.Cp1bp = _root.Cp1bp;
_root.shareObj.data.Cp1ps = _root.Cp1ps;
_root.shareObj.data.Csimplespdodge1 = _root.simplespdodge1;
_root.shareObj.data.Cp2u = _root.Cp2u;
_root.shareObj.data.Cp2d = _root.Cp2d;
_root.shareObj.data.Cp2f = _root.Cp2f;
_root.shareObj.data.Cp2b = _root.Cp2b;
_root.shareObj.data.Cp2bk = _root.Cp2bk;
_root.shareObj.data.Cp2fk = _root.Cp2fk;
_root.shareObj.data.Cp2fp = _root.Cp2fp;
_root.shareObj.data.Cp2bp = _root.Cp2bp;
_root.shareObj.data.Cp2ps = _root.Cp2ps;
_root.shareObj.data.Csimplespdodge2 = _root.simplespdodge2;
_root.shareObj.data.Ceffectsvolume = _root.Ceffectsvolume;
_root.shareObj.data.Cambientvolume = _root.Cambientvolume;
_root.shareObj.data.Cmusicvolume2 = _root.Cmusicvolume2;
_root.shareObj.data.Cmastervolume = _root.Cmastervolume;
_root.shareObj.data.Csmoothing = _root.Csmoothing;
_root.shareObj.data.Chitsparks = _root.Chitsparks;
_root.shareObj.data.Cdust = _root.Cdust;
_root.shareObj.data.Cbgpeople = _root.Cbgpeople;
_root.shareObj.data.Cbgeffects = _root.Cbgeffects;
_root.shareObj.data.Cshadows = _root.Cshadows;
_root.shareObj.data.credits = 9999;
_root.shareObj.data.inputWindow = CinputWindow;
_root.shareObj.data.flush();
}
function loadCookie() {
shareObj = SharedObject.getLocal("shareObj");
_root.savedCookie = shareObj.data.savedCookie;
if (_root.savedCookie == _root.savedCookieCheck) {
_root.targetScores = shareObj.data.targetScores;
_root.comboScores = shareObj.data.comboScores;
_root.chainScores = shareObj.data.chainScores;
_root.speedkoScores = shareObj.data.speedkoScores;
_root.melonScores = shareObj.data.melonScores;
_root.dribbleScores = shareObj.data.dribbleScores;
_root.knockoutScores = shareObj.data.knockoutScores;
_root.ringkingScores = shareObj.data.ringkingScores;
_root.ringfireScores = shareObj.data.ringfireScores;
_root.moneyScores = shareObj.data.moneyScores;
_root.hotpotatoScores = shareObj.data.hotpotatoScores;
_root.ringoutScores = shareObj.data.ringoutScores;
_root.mixedScores = shareObj.data.mixedScores;
_root.unlock16 = shareObj.data.unlock16;
_root.unlock17 = shareObj.data.unlock17;
_root.unlock18 = shareObj.data.unlock18;
_root.unlock19 = shareObj.data.unlock19;
_root.unlock20 = shareObj.data.unlock20;
_root.unlock21 = shareObj.data.unlock21;
_root.unlock22 = shareObj.data.unlock22;
_root.unlock23 = shareObj.data.unlock23;
_root.unlock24 = shareObj.data.unlock24;
_root.unlock25 = shareObj.data.unlock25;
_root.unlock26 = shareObj.data.unlock26;
_root.unlock27 = shareObj.data.unlock27;
_root.unlock28 = shareObj.data.unlock28;
_root.unlock29 = shareObj.data.unlock29;
_root.unlock30 = shareObj.data.unlock30;
_root.chainUnlocked = shareObj.data.chainUnlocked;
_root.speedkoUnlocked = shareObj.data.speedkoUnlocked;
_root.melonUnlocked = shareObj.data.melonUnlocked;
_root.dribbleUnlocked = shareObj.data.dribbleUnlocked;
_root.Cp1u = shareObj.data.Cp1u;
_root.Cp1d = shareObj.data.Cp1d;
_root.Cp1f = shareObj.data.Cp1f;
_root.Cp1b = shareObj.data.Cp1b;
_root.Cp1bk = shareObj.data.Cp1bk;
_root.Cp1fk = shareObj.data.Cp1fk;
_root.Cp1fp = shareObj.data.Cp1fp;
_root.Cp1bp = shareObj.data.Cp1bp;
_root.Cp1ps = shareObj.data.Cp1ps;
_root.simplespdodge1 = _root.shareObj.data.Csimplespdodge1;
_root.Cp2u = shareObj.data.Cp2u;
_root.Cp2d = shareObj.data.Cp2d;
_root.Cp2f = shareObj.data.Cp2f;
_root.Cp2b = shareObj.data.Cp2b;
_root.Cp2bk = shareObj.data.Cp2bk;
_root.Cp2fk = shareObj.data.Cp2fk;
_root.Cp2fp = shareObj.data.Cp2fp;
_root.Cp2bp = shareObj.data.Cp2bp;
_root.Cp2ps = shareObj.data.Cp2ps;
_root.simplespdodge2 = _root.shareObj.data.Csimplespdodge2;
_root.Ceffectsvolume = shareObj.data.Ceffectsvolume;
_root.Cmusicvolume2 = shareObj.data.Cmusicvolume2;
_root.Cmusicvolume = _root.Cmusicvolume2;
_root.Cmastervolume = shareObj.data.Cmastervolume;
_root.Csmoothing = shareObj.data.Csmoothing;
_root.Chitsparks = shareObj.data.Chitsparks;
_root.Cdust = shareObj.data.Cdust;
_root.Cbgpeople = shareObj.data.Cbgpeople;
_root.Cbgeffects = shareObj.data.Cbgeffects;
_root.Cshadows = shareObj.data.Cshadows;
_root.cash = 99999 /* 0x01869F */;
_root.CinputWindow = shareObj.data.inputWindow;
} else {
deleteCookie();
_root.cash = startingCash;
saveCookie();
}
}
function deleteCookie() {
_root.unlock16 = 0;
_root.unlock17 = 0;
_root.unlock18 = 0;
_root.unlock19 = 0;
_root.unlock20 = 0;
_root.unlock21 = 0;
_root.unlock22 = 0;
_root.unlock23 = 0;
_root.unlock24 = 0;
_root.unlock25 = 0;
_root.unlock26 = 0;
_root.unlock27 = 0;
_root.unlock28 = 0;
_root.unlock29 = 0;
_root.unlock30 = 0;
_root.chainUnlocked = 0;
_root.speedkoUnlocked = 0;
_root.melonUnlocked = 0;
_root.dribbleUnlocked = 0;
_root.cash = 0;
_root.savedCookie = 0;
saveCookie();
}
function unlockCharacter(unlockNum, playerNum) {
if (_root.cash >= _root.cost) {
cancelUnlock = 0;
if (unlockNum == 66) {
_root.unlock16 = 1;
} else if (unlockNum == 67) {
_root.unlock17 = 1;
} else if (unlockNum == 68) {
_root.unlock18 = 1;
} else if (unlockNum == 69) {
_root.unlock19 = 1;
} else if (unlockNum == 70) {
_root.unlock20 = 1;
} else if (unlockNum == 71) {
if (CF3version == "web") {
cancelUnlock = 1;
} else {
_root.unlock21 = 1;
}
} else if (unlockNum == 72) {
_root.unlock22 = 1;
} else if (unlockNum == 73) {
_root.unlock23 = 1;
} else if (unlockNum == 74) {
_root.unlock24 = 1;
} else if (unlockNum == 75) {
if (CF3version == "web") {
cancelUnlock = 1;
} else {
_root.unlock25 = 1;
}
} else if (unlockNum == 76) {
if (CF3version == "web") {
cancelUnlock = 1;
} else {
_root.unlock26 = 1;
}
} else if (unlockNum == 77) {
if (CF3version == "web") {
cancelUnlock = 1;
} else {
_root.unlock27 = 1;
}
} else if (unlockNum == 78) {
_root.unlock28 = 1;
} else if (unlockNum == 79) {
if (CF3version == "web") {
cancelUnlock = 1;
} else {
_root.unlock29 = 1;
}
} else if (unlockNum == 80) {
if (CF3version == "web") {
cancelUnlock = 1;
} else {
_root.unlock30 = 1;
}
} else if (unlockNum == "chain") {
_root.chainUnlocked = 1;
_root.minigamemenu.chainBlock._visible = false;
} else if (unlockNum == "speedko") {
_root.speedkoUnlocked = 1;
_root.minigamemenu.speedkoBlock._visible = false;
} else if (unlockNum == "melon") {
_root.melonUnlocked = 1;
_root.minigamemenu.melonBlock._visible = false;
} else if (unlockNum == "dribble") {
_root.dribbleUnlocked = 1;
_root.minigamemenu.dribbleBlock._visible = false;
}
if (cancelUnlock == 0) {
unlockNum = unlockNum - 50;
_root["A" + unlockNum].gotoAndStop(unlockNum);
_root.setface(unlockNum, playerNum);
_root.cash = _root.cash - _root.cost;
_root.saveCookie();
_root.mfx.playsound("hyper", 0);
} else {
purchasePrompt();
}
} else if (_root.notEnoughMoney._currentframe == 1) {
_root.notEnoughMoney.gotoAndStop(2);
_root.mfx.playsound("lowswish", 0);
} else {
_root.notEnoughMoney.gotoAndStop(1);
}
}
function purchasePrompt() {
if (_root.notEnoughMoney._currentframe == 1) {
_root.notEnoughMoney.gotoAndStop(3);
_root.mfx.playsound("lowswish", 0);
} else {
_root.notEnoughMoney.gotoAndStop(1);
}
}
function openPurchasePage() {
getURL ("http://downloadcdn.shockwave.com/pub/capfighter3/InstallCapoeiraFighter3.exe", "_self");
}
function setCost(costNum) {
_root.notEnoughMoney.gotoAndStop(1);
if (costNum == 66) {
_root.cost = 100;
} else if (costNum == 67) {
_root.cost = 200;
} else if (costNum == 68) {
_root.cost = 300;
} else if (costNum == 69) {
_root.cost = 400;
} else if (costNum == 70) {
_root.cost = 500;
} else if (costNum == 71) {
_root.cost = 750;
if (CF3version == "web") {
_root.cost = 0;
}
} else if (costNum == 72) {
_root.cost = 1000;
} else if (costNum == 73) {
_root.cost = 9000;
} else if (costNum == 74) {
_root.cost = 2000;
} else if (costNum == 75) {
_root.cost = 3000;
if (CF3version == "web") {
_root.cost = 0;
}
} else if (costNum == 76) {
_root.cost = 4000;
if (CF3version == "web") {
_root.cost = 0;
}
} else if (costNum == 77) {
_root.cost = 5000;
if (CF3version == "web") {
_root.cost = 0;
}
} else if (costNum == 78) {
_root.cost = 6000;
} else if (costNum == 79) {
_root.cost = 7000;
if (CF3version == "web") {
_root.cost = 0;
}
} else if (costNum == 80) {
_root.cost = 8000;
if (CF3version == "web") {
_root.cost = 0;
}
} else if (costNum == "chain") {
_root.cost = 500;
} else if (costNum == "speedko") {
_root.cost = 1000;
} else if (costNum == "melon") {
_root.cost = 2000;
} else if (costNum == "dribble") {
_root.cost = 4000;
} else {
_root.cost = 9999999 /* 0x98967F */;
}
}
Stage.showMenu = false;
CF3version = "full";
versionnum = "sw full free";
sponsor = "shockwave";
if (CF3version == "full") {
startingCash = 99999 /* 0x01869F */;
} else {
startingCash = 99999 /* 0x01869F */;
}
muitosurvival = 0;
streamVersusNum = 1;
_root.savedCookieCheck = 19;
targetScores = new Array();
comboScores = new Array();
chainScores = new Array();
speedkoScores = new Array();
melonScores = new Array();
dribbleScores = new Array();
knockoutScores = new Array();
ringkingScores = new Array();
ringfireScores = new Array();
moneyScores = new Array();
hotpotatoScores = new Array();
ringoutScores = new Array();
mixedScores = new Array();
fighterCount = 1;
while (fighterCount <= 30) {
_root.targetScores[fighterCount] = 0;
_root.comboScores[fighterCount] = 0;
_root.chainScores[fighterCount] = 0;
_root.speedkoScores[fighterCount] = 0;
_root.melonScores[fighterCount] = 0;
_root.dribbleScores[fighterCount] = 0;
_root.knockoutScores[fighterCount] = 0;
_root.ringkingScores[fighterCount] = 0;
_root.ringfireScores[fighterCount] = 0;
_root.moneyScores[fighterCount] = 0;
_root.hotpotatoScores[fighterCount] = 0;
_root.ringoutScores[fighterCount] = 0;
_root.mixedScores[fighterCount] = 0;
fighterCount++;
}
cash = 99999 /* 0x01869F */;
_root.unlockedcharacters = 25;
_root.stagetotal = 30;
totalwins1 = 0;
totalwins2 = 0;
_level0._xscale = 200;
_level0._yscale = 200;
_level0._x = 0;
_level0._y = 0;
_quality = "medium";
_root.paused = 0;
_root.layWaitLimit = 6;
_root.stopnav = 0;
_root.videoquality = 1;
_root.videoquality = 1;
_root.optionsopen = 0;
_root.ringsize = 70;
_root.roundnum = 1;
_root.speed = 1;
_root.chartotal = 12;
_root.jumpdamping = 0.85;
_root.coop = 0;
_root.multiplay3 = 0;
_root.multiplay4 = 0;
_root.jumpdamping = 0.85;
setdefaults();
function pressPauseKey(pausePlayer) {
if (_root.optionsopen == 0) {
if (((_root.paused == 0) && (startmatch._currentframe == 50)) && (endmatch._currentframe == 1)) {
_root.gsfx("yeah");
_root.paused = 1;
pausemenu.gotoAndPlay(2);
pausemenu.playerselect = pausePlayer;
} else if (((_root.paused == 1) && (startmatch._currentframe == 50)) && (endmatch._currentframe == 1)) {
_root.paused = 0;
pausemenu.gotoAndPlay(6);
}
}
}
function loadcheck() {
lprogress = 0;
if (_root.loadnum == 0) {
loader.text.gotoAndStop(1);
loadMovie (_root.stageimage, "players.bg.img");
_root.loadnum = 1;
}
if (_root.loadnum == 1) {
if (players.bg.img.getBytesLoaded() >= 5) {
lprogress = players.bg.img.getBytesLoaded() / players.bg.img.getBytesTotal();
if (lprogress >= 1) {
if (players.bg.img._framesloaded >= players.bg.img._totalframes) {
loader.text.nextFrame();
loadMovie (_root.stagesounds, "music");
} else {
lprogress = 0;
}
}
}
}
if (_root.loadnum == 2) {
if (music.getBytesLoaded() >= 5) {
lprogress = music.getBytesLoaded() / music.getBytesTotal();
if (lprogress >= 1) {
if (music._framesloaded >= music._totalframes) {
loader.text.nextFrame();
loadMovie (_root.p1loadcode, "players.p1.player");
} else {
lprogress = 0;
}
}
}
}
if (_root.loadnum == 3) {
if (players.p1.player.getBytesLoaded() >= 5) {
lprogress = players.p1.player.getBytesLoaded() / players.p1.player.getBytesTotal();
if (lprogress >= 1) {
if (players.p1.player._framesloaded >= players.p1.player._totalframes) {
loadMovie (_root.p1loadframes, "players.s1.shadow");
} else {
lprogress = 0;
}
}
}
}
if (_root.loadnum == 4) {
if (players.s1.shadow.getBytesLoaded() >= 5) {
lprogress = players.s1.shadow.getBytesLoaded() / players.s1.shadow.getBytesTotal();
if (lprogress >= 1) {
if (players.s1.shadow._framesloaded >= players.s1.shadow._totalframes) {
loadMovie (_root.p1loadframes, "players.p1.player.player");
}
}
}
}
if (_root.loadnum == 5) {
if (players.p1.player.player.getBytesLoaded() >= 5) {
lprogress = players.p1.player.player.getBytesLoaded() / players.p1.player.player.getBytesTotal();
if (lprogress >= 1) {
if (players.p1.player.player._framesloaded >= players.p1.player.player._totalframes) {
loadMovie (_root.p2loadcode, "players.p2.player");
loader.text.nextFrame();
} else {
lprogress = 0;
}
}
}
}
if (_root.loadnum == 6) {
if (players.p2.player.getBytesLoaded() >= 5) {
lprogress = players.p2.player.getBytesLoaded() / players.p2.player.getBytesTotal();
if (lprogress >= 1) {
if (players.p2.player._framesloaded >= players.p2.player._totalframes) {
loadMovie (_root.p2loadframes, "players.s2.shadow");
} else {
lprogress = 0;
}
}
}
}
if (_root.loadnum == 7) {
if (players.s2.shadow.getBytesLoaded() >= 5) {
lprogress = players.s2.shadow.getBytesLoaded() / players.s2.shadow.getBytesTotal();
if (lprogress >= 1) {
if (players.s2.shadow._framesloaded >= players.s2.shadow._totalframes) {
loadMovie (_root.p2loadframes, "players.p2.player.player");
} else {
lprogress = 0;
}
}
}
}
if (_root.loadnum == 8) {
if (players.p2.player.player.getBytesLoaded() >= 5) {
lprogress = players.p2.player.player.getBytesLoaded() / players.p2.player.player.getBytesTotal();
if (lprogress >= 1) {
if (players.p2.player.player._framesloaded >= players.p2.player.player._totalframes) {
loader.text.nextFrame();
if (_root.teamsize1 == 2) {
loadMovie (_root.p3loadcode, "players.p3.player");
} else if (_root.teamsize2 == 2) {
loadMovie (_root.p4loadcode, "players.p4.player");
_root.loadnum = 11;
} else {
_root.loadnum = 14;
}
} else {
lprogress = 0;
}
}
}
}
if (_root.loadnum == 9) {
if (players.p3.player.getBytesLoaded() >= 5) {
lprogress = players.p3.player.getBytesLoaded() / players.p3.player.getBytesTotal();
if (lprogress >= 1) {
if (players.p3.player._framesloaded >= players.p3.player._totalframes) {
loadMovie (_root.p3loadframes, "players.s3.shadow");
} else {
lprogress = 0;
}
}
}
}
if (_root.loadnum == 10) {
if (players.s3.shadow.getBytesLoaded() >= 5) {
lprogress = players.s3.shadow.getBytesLoaded() / players.s3.shadow.getBytesTotal();
if (lprogress >= 1) {
if (players.s3.shadow._framesloaded >= players.s3.shadow._totalframes) {
loadMovie (_root.p3loadframes, "players.p3.player.player");
} else {
lprogress = 0;
}
}
}
}
if (_root.loadnum == 11) {
if (players.p3.player.player.getBytesLoaded() >= 5) {
lprogress = players.p3.player.player.getBytesLoaded() / players.p3.player.player.getBytesTotal();
if (lprogress >= 1) {
if (players.p3.player.player._framesloaded >= players.p3.player.player._totalframes) {
loader.text.nextFrame();
if (_root.teamsize2 == 2) {
loadMovie (_root.p4loadcode, "players.p4.player");
} else {
_root.loadnum = 14;
}
} else {
lprogress = 0;
}
}
}
}
if (_root.loadnum == 12) {
if (_root.teamsize2 == 2) {
if (players.p4.player.getBytesLoaded() >= 5) {
lprogress = players.p4.player.getBytesLoaded() / players.p4.player.getBytesTotal();
if (lprogress >= 1) {
if (players.p4.player._framesloaded >= players.p4.player._totalframes) {
loadMovie (_root.p4loadframes, "players.s4.shadow");
} else {
lprogress = 0;
}
}
}
} else {
loader.text.gotoAndStop("complete");
_root.loadnum = 15;
}
}
if (_root.loadnum == 13) {
if (players.s4.shadow.getBytesLoaded() >= 5) {
lprogress = players.s4.shadow.getBytesLoaded() / players.s4.shadow.getBytesTotal();
if (lprogress >= 1) {
if (players.s4.shadow._framesloaded >= players.s4.shadow._totalframes) {
loadMovie (_root.p4loadframes, "players.p4.player.player");
} else {
lprogress = 0;
}
}
}
}
if (_root.loadnum == 14) {
if (players.p4.player.player.getBytesLoaded() >= 5) {
lprogress = players.p4.player.player.getBytesLoaded() / players.p4.player.player.getBytesTotal();
if (lprogress >= 1) {
if (players.p4.player.player._framesloaded >= players.p4.player.player._totalframes) {
loader.text.nextFrame();
} else {
lprogress = 0;
}
}
}
}
loader.bar._xscale = lprogress * 100;
if (lprogress >= 1) {
loadwait = 0;
_root.loadnum = _root.loadnum + 1;
}
if (_root.loadnum >= 15) {
if (_root.gmode == 1) {
if (_level1.getBytesLoaded() >= 5) {
cineloadprogress = _level1.getBytesLoaded() / _level1.getBytesTotal();
if (cineloadprogress >= 1) {
if (_level1._framesloaded >= _level1._totalframes) {
_root.c2.gotoAndPlay(25);
}
}
}
} else {
_root.c2.gotoAndPlay(25);
}
}
}
loadwait = 0;
function loadplayerszzz() {
loadMovie (_root.p1loadcode, "players.p1.player");
loadMovie (_root.p2loadcode, "players.p2.player");
loadMovie (_root.p3loadcode, "players.p3.player");
loadMovie (_root.p4loadcode, "players.p4.player");
}
function unloadplayers() {
loadMovie (x, "players.p1.player");
loadMovie (x, "players.s1.shadow");
loadMovie (x, "players.p2.player");
loadMovie (x, "players.s2.shadow");
loadMovie (x, "players.p3.player");
loadMovie (x, "players.s3.shadow");
loadMovie (x, "players.p4.player");
loadMovie (x, "players.s4.shadow");
}
function unloadstage() {
loadMovie (x, "music");
loadMovie (x, "players.bg.img");
}
function loadstagezzz() {
loadMovie (_root.stagesounds, "music");
loadMovie (_root.stageimage, "players.bg.img");
}
function checkSize() {
stageWidth = System.capabilities.screenResolutionX;
stageHeight = System.capabilities.screenResolutionY;
}
stop();
loadMovieNum ("speed.swf", 1);
Instance of Symbol 139 MovieClip in Frame 1
onClipEvent (load) {
this.swapDepths(990002);
}
Instance of Symbol 143 MovieClip "menufade" in Frame 1
onClipEvent (load) {
this.swapDepths(990001);
hidemousewait = 0;
}
onClipEvent (enterFrame) {
lastmousex = mousex;
lastmousey = mousey;
mousex = _root._xmouse;
mousey = _root._ymouse;
if ((lastmousex == mousex) && (lastmousey == mousey)) {
hidemousewait = hidemousewait + 1;
} else {
Mouse.show();
hidemousewait = 0;
}
if (hidemousewait == 75) {
Mouse.hide();
}
}
Instance of Symbol 144 MovieClip "sfx" in Frame 1
/* no clip actions */
Instance of Symbol 406 MovieClip "optionsmenu" in Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 488 MovieClip in Frame 1
onClipEvent (load) {
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
blurMe(2, 2);
}
Frame 2
function twistChoice(choice) {
if (choice) {
_root.altBranch = 1;
p1selected = 1;
if (p1charnum == 15) {
p1selected = 0;
setfighter(23, 1);
}
setArcadeFighter(1);
} else {
_root.altBranch = 0;
}
}
function cinematicEnd(cineState, cineSwitch) {
_level1.gotoAndStop("hide");
if (cineSwitch) {
twistChoice(1);
}
if (cineState == "opening") {
_root.endmatch.gotoAndStop("arcadeWin");
} else if (cineState == "twist") {
_root.endmatch.gotoAndStop("arcadeWin");
} else if (cineState == "ending") {
loadMovieNum ("Credits.swf", 1);
}
}
function setArcadeFighter(arcadeTwister) {
primaryFighterNum = arcadeFighterNum;
teamsize1 = 2;
if (p1charnum == 1) {
partnerNum = 3;
if (altBranch) {
partnerNum = 0;
}
} else if (p1charnum == 2) {
partnerNum = 12;
if (altBranch) {
partnerNum = 3;
}
} else if (p1charnum == 3) {
partnerNum = 1;
if (altBranch) {
partnerNum = 2;
}
} else if (p1charnum == 4) {
partnerNum = 14;
if (altBranch) {
partnerNum = 10;
}
} else if (p1charnum == 5) {
partnerNum = 15;
if (altBranch) {
partnerNum = 14;
}
} else if (p1charnum == 6) {
partnerNum = 7;
if (altBranch) {
partnerNum = 12;
}
} else if (p1charnum == 7) {
partnerNum = 6;
if (altBranch) {
partnerNum = 0;
}
} else if (p1charnum == 8) {
partnerNum = 0;
if (altBranch) {
partnerNum = 28;
}
} else if (p1charnum == 9) {
partnerNum = 11;
if (altBranch) {
partnerNum = 0;
}
} else if (p1charnum == 10) {
partnerNum = 0;
if (altBranch) {
partnerNum = 4;
}
} else if (p1charnum == 11) {
partnerNum = 9;
if (altBranch) {
partnerNum = 6;
}
} else if (p1charnum == 12) {
partnerNum = 2;
if (altBranch) {
partnerNum = 0;
}
} else if (p1charnum == 14) {
partnerNum = 4;
if (altBranch) {
partnerNum = 5;
}
} else if (p1charnum == 15) {
partnerNum = 5;
if (altBranch) {
p1selected = 0;
partnerNum = 0;
}
} else if (p1charnum == 16) {
partnerNum = 19;
if (altBranch) {
partnerNum = 21;
}
} else if (p1charnum == 17) {
partnerNum = 22;
if (altBranch) {
partnerNum = 18;
}
} else if (p1charnum == 18) {
partnerNum = 0;
if (altBranch) {
partnerNum = 17;
}
} else if (p1charnum == 19) {
partnerNum = 16;
if (altBranch) {
partnerNum = 29;
}
} else if (p1charnum == 20) {
partnerNum = 0;
if (altBranch) {
partnerNum = 27;
}
} else if (p1charnum == 21) {
partnerNum = 25;
if (altBranch) {
partnerNum = 16;
}
} else if (p1charnum == 22) {
partnerNum = 17;
if (altBranch) {
partnerNum = 24;
}
} else if (p1charnum == 23) {
partnerNum = 5;
if (altBranch) {
partnerNum = 0;
}
} else if (p1charnum == 24) {
partnerNum = 0;
if (altBranch) {
partnerNum = 22;
}
} else if (p1charnum == 25) {
partnerNum = 21;
if (altBranch) {
partnerNum = 0;
}
} else if (p1charnum == 26) {
partnerNum = 30;
if (altBranch) {
partnerNum = 0;
}
} else if (p1charnum == 27) {
partnerNum = 28;
if (altBranch) {
partnerNum = 20;
}
} else if (p1charnum == 28) {
partnerNum = 27;
if (altBranch) {
partnerNum = 8;
}
} else if (p1charnum == 29) {
partnerNum = 0;
if (altBranch) {
partnerNum = 19;
}
} else if (p1charnum == 30) {
partnerNum = 26;
if (altBranch) {
partnerNum = 0;
}
}
if (partnerNum == 0) {
teamsize1 = 1;
p3charnum = 103;
}
if (teamsize1 == 1) {
face3._visible = false;
hypermenu3._visible = false;
} else {
face3._visible = true;
hypermenu3._visible = true;
}
setface(partnerNum, 1);
setfighter(partnerNum, 1);
sethyper(this["fighterHyper" + partnerNum] + 1, 3);
setArcadeEnemy();
if (!arcadeTwister) {
fadetrans("vsmenu");
}
}
function setArcadeEnemy() {
p2selected = 0;
if (altBranch == 0) {
enemy1 = this[(("enemy" + p1charnum) + "_") + arcadeRound];
enemy2 = this[((("enemy" + p1charnum) + "_") + arcadeRound) + "b"];
} else {
enemy1 = this[(("altEnemy" + p1charnum) + "_") + arcadeRound];
enemy2 = this[((("altEnemy" + p1charnum) + "_") + arcadeRound) + "b"];
}
if (enemy2) {
teamsize2 = 2;
} else {
face4._visible = false;
teamsize2 = 1;
}
setface(enemy1, 2);
setfighter(enemy1, 2);
sethyper(this["fighterHyper" + enemy1] + 1, 2);
if (teamsize2 == 2) {
setface(enemy2, 2);
setfighter(enemy2, 2);
sethyper(this["fighterHyper" + enemy2] + 1, 4);
}
}
fighterHyper1 = 6;
fighterHyper2 = 5;
fighterHyper3 = 6;
fighterHyper4 = 3;
fighterHyper5 = 1;
fighterHyper6 = 6;
fighterHyper7 = 2;
fighterHyper8 = 2;
fighterHyper9 = 6;
fighterHyper10 = 8;
fighterHyper11 = 5;
fighterHyper12 = 6;
fighterHyper14 = 3;
fighterHyper15 = 3;
fighterHyper16 = 2;
fighterHyper17 = 6;
fighterHyper18 = 3;
fighterHyper19 = 5;
fighterHyper20 = 3;
fighterHyper21 = 8;
fighterHyper22 = 6;
fighterHyper23 = 7;
fighterHyper24 = 3;
fighterHyper25 = 8;
fighterHyper26 = 4;
fighterHyper27 = 1;
fighterHyper28 = 6;
fighterHyper29 = 2;
fighterHyper30 = 6;
enemy1_1 = 2;
enemy1_1b = 12;
enemy1_2 = 7;
enemy1_2b = 6;
enemy1_3 = 13;
enemy1_4 = 9;
enemy1_5 = 11;
enemy1_6 = 21;
enemy1_7 = 4;
enemy1_8 = 28;
enemy1_9 = 14;
enemy1_10 = 15;
enemy1_10b = 5;
altEnemy1_6 = 14;
altEnemy1_7 = 22;
altEnemy1_8 = 5;
altEnemy1_9 = 15;
altEnemy1_10 = 23;
enemy2_1 = 3;
enemy2_2 = 6;
enemy2_3 = 7;
enemy2_4 = 9;
enemy2_5 = 4;
enemy2_6 = 18;
enemy2_7 = 24;
enemy2_8 = 29;
enemy2_9 = 10;
enemy2_10 = 14;
enemy2_10b = 5;
altEnemy2_6 = 22;
altEnemy2_7 = 24;
altEnemy2_8 = 11;
altEnemy2_9 = 10;
altEnemy2_10 = 14;
enemy3_1 = 2;
enemy3_1b = 12;
enemy3_2 = 7;
enemy3_2b = 6;
enemy3_3 = 13;
enemy3_4 = 9;
enemy3_5 = 11;
enemy3_6 = 21;
enemy3_7 = 4;
enemy3_8 = 28;
enemy3_9 = 14;
enemy3_10 = 15;
enemy3_10b = 5;
altEnemy3_6 = 22;
altEnemy3_7 = 24;
altEnemy3_8 = 11;
altEnemy3_9 = 10;
altEnemy3_10 = 14;
enemy4_1 = 5;
enemy4_2 = 7;
enemy4_2b = 6;
enemy4_3 = 27;
enemy4_4 = 8;
enemy4_5 = 10;
enemy4_6 = 28;
enemy4_7 = 20;
enemy4_8 = 16;
enemy4_9 = 9;
enemy4_10 = 12;
enemy4_10b = 2;
altEnemy4_6 = 25;
altEnemy4_7 = 19;
altEnemy4_8 = 3;
altEnemy4_9 = 1;
altEnemy4_10 = 15;
altEnemy4_10b = 14;
enemy5_1 = 12;
enemy5_1b = 2;
enemy5_2 = 21;
enemy5_3 = 25;
enemy5_4 = 10;
enemy5_5 = 7;
enemy5_5b = 6;
enemy5_6 = 18;
enemy5_7 = 20;
enemy5_8 = 8;
enemy5_8b = 28;
enemy5_9 = 9;
enemy5_10 = 11;
enemy5_10b = 1;
altEnemy5_6 = 16;
altEnemy5_6b = 19;
altEnemy5_7 = 3;
altEnemy5_8 = 27;
altEnemy5_9 = 9;
altEnemy5_10 = 12;
altEnemy5_10b = 2;
enemy6_1 = 3;
enemy6_2 = 1;
enemy6_3 = 9;
enemy6_4 = 8;
enemy6_5 = 2;
enemy6_5 = 12;
enemy6_6 = 17;
enemy6_6b = 22;
enemy6_7 = 29;
enemy6_8 = 10;
enemy6_9 = 5;
enemy6_10 = 14;
enemy6_10b = 4;
altEnemy6_6 = 22;
altEnemy6_7 = 24;
altEnemy6_8 = 11;
altEnemy6_9 = 10;
altEnemy6_10 = 15;
enemy7_1 = 3;
enemy7_2 = 1;
enemy7_3 = 9;
enemy7_4 = 8;
enemy7_5 = 2;
enemy7_5 = 12;
enemy7_6 = 17;
enemy7_6b = 22;
enemy7_7 = 29;
enemy7_8 = 10;
enemy7_9 = 5;
enemy7_10 = 14;
enemy7_10b = 4;
altEnemy7_6 = 5;
altEnemy7_7 = 24;
altEnemy7_8 = 12;
altEnemy7_9 = 9;
altEnemy7_10 = 6;
enemy8_1 = 7;
enemy8_2 = 6;
enemy8_3 = 2;
enemy8_4 = 10;
enemy8_5 = 28;
enemy8_5b = 27;
enemy8_6 = 22;
enemy8_7 = 4;
enemy8_8 = 17;
enemy8_9 = 14;
enemy8_10 = 15;
altEnemy8_6 = 18;
altEnemy8_6b = 17;
altEnemy8_7 = 5;
altEnemy8_8 = 14;
altEnemy8_9 = 15;
altEnemy8_10 = 23;
enemy9_1 = 3;
enemy9_1b = 1;
enemy9_2 = 6;
enemy9_3 = 7;
enemy9_4 = 28;
enemy9_4b = 8;
enemy9_5 = 14;
enemy9_5b = 4;
enemy9_6 = 18;
enemy9_7 = 20;
enemy9_8 = 14;
enemy9_8b = 5;
enemy9_9 = 15;
enemy9_10 = 23;
altEnemy9_6 = 10;
altEnemy9_7 = 4;
altEnemy9_8 = 5;
altEnemy9_9 = 14;
altEnemy9_10 = 15;
enemy10_1 = 2;
enemy10_2 = 7;
enemy10_3 = 6;
enemy10_4 = 8;
enemy10_5 = 4;
enemy10_6 = 17;
enemy10_7 = 5;
enemy10_8 = 22;
enemy10_9 = 14;
enemy10_10 = 15;
altEnemy10_6 = 25;
altEnemy10_6b = 21;
altEnemy10_7 = 16;
altEnemy10_7b = 19;
altEnemy10_8 = 20;
altEnemy10_9 = 5;
altEnemy10_10 = 14;
altEnemy10_10b = 15;
enemy11_1 = 3;
enemy11_1b = 1;
enemy11_2 = 6;
enemy11_3 = 7;
enemy11_4 = 28;
enemy11_4b = 8;
enemy11_5 = 14;
enemy11_5b = 4;
enemy11_6 = 18;
enemy11_7 = 20;
enemy11_8 = 14;
enemy11_8b = 5;
enemy11_9 = 15;
enemy11_10 = 23;
altEnemy11_6 = 22;
altEnemy11_6b = 24;
altEnemy11_7 = 20;
altEnemy11_8 = 4;
altEnemy11_9 = 5;
altEnemy11_10 = 14;
altEnemy11_10b = 15;
enemy12_1 = 3;
enemy12_2 = 6;
enemy12_3 = 7;
enemy12_4 = 9;
enemy12_5 = 4;
enemy12_6 = 18;
enemy12_7 = 24;
enemy12_8 = 29;
enemy12_9 = 10;
enemy12_10 = 14;
enemy12_10b = 5;
altEnemy12_6 = 17;
altEnemy12_7 = 20;
altEnemy12_8 = 10;
altEnemy12_9 = 25;
altEnemy12_10 = 14;
altEnemy12_10b = 5;
enemy14_1 = 10;
enemy14_2 = 7;
enemy14_2b = 6;
enemy14_3 = 27;
enemy14_4 = 8;
enemy14_5 = 5;
enemy14_6 = 28;
enemy14_7 = 20;
enemy14_8 = 16;
enemy14_9 = 9;
enemy14_10 = 12;
enemy14_10b = 2;
altEnemy14_6 = 16;
altEnemy14_6b = 19;
altEnemy14_7 = 3;
altEnemy14_8 = 27;
altEnemy14_9 = 9;
altEnemy14_10 = 12;
altEnemy14_10b = 2;
enemy15_1 = 12;
enemy15_1b = 2;
enemy15_2 = 21;
enemy15_3 = 25;
enemy15_4 = 10;
enemy15_5 = 7;
enemy15_5b = 6;
enemy15_6 = 18;
enemy15_7 = 20;
enemy15_8 = 8;
enemy15_8b = 28;
enemy15_9 = 9;
enemy15_10 = 11;
enemy15_10b = 1;
altEnemy15_6 = 24;
altEnemy15_7 = 19;
altEnemy15_8 = 8;
altEnemy15_9 = 28;
altEnemy15_10 = 11;
altEnemy15_10b = 1;
enemy23_1 = 12;
enemy23_1b = 2;
enemy23_2 = 21;
enemy23_3 = 25;
enemy23_4 = 10;
enemy23_5 = 7;
enemy23_5b = 6;
enemy23_6 = 28;
enemy23_7 = 26;
enemy23_8 = 30;
enemy23_9 = 29;
enemy23_10 = 11;
enemy23_10b = 1;
altEnemy23_6 = 24;
altEnemy23_7 = 19;
altEnemy23_8 = 8;
altEnemy23_9 = 28;
altEnemy23_10 = 11;
altEnemy23_10b = 1;
enemy16_1 = 17;
enemy16_2 = 22;
enemy16_3 = 24;
enemy16_4 = 20;
enemy16_5 = 25;
enemy16_5b = 21;
enemy16_6 = 29;
enemy16_7 = 28;
enemy16_8 = 18;
enemy16_9 = 5;
enemy16_10 = 15;
enemy16_10b = 14;
altEnemy16_6 = 7;
altEnemy16_7 = 6;
altEnemy16_8 = 28;
altEnemy16_9 = 12;
altEnemy16_10 = 24;
altEnemy16_10b = 22;
enemy17_1 = 19;
enemy17_2 = 16;
enemy17_3 = 10;
enemy17_4 = 12;
enemy17_5 = 18;
enemy17_6 = 24;
enemy17_7 = 21;
enemy17_8 = 20;
enemy17_9 = 14;
enemy17_10 = 15;
enemy17_10b = 5;
altEnemy17_6 = 12;
altEnemy17_7 = 2;
altEnemy17_8 = 9;
altEnemy17_9 = 6;
altEnemy17_9b = 7;
altEnemy17_10 = 1;
altEnemy17_10b = 3;
enemy18_1 = 24;
enemy18_2 = 20;
enemy18_3 = 25;
enemy18_4 = 29;
enemy18_5 = 17;
enemy18_5b = 22;
enemy18_6 = 28;
enemy18_7 = 2;
enemy18_8 = 12;
enemy18_9 = 3;
enemy18_10 = 1;
altEnemy18_6 = 12;
altEnemy18_7 = 2;
altEnemy18_8 = 9;
altEnemy18_9 = 6;
altEnemy18_9b = 7;
altEnemy18_10 = 1;
altEnemy18_10b = 3;
enemy19_1 = 17;
enemy19_2 = 22;
enemy19_3 = 24;
enemy19_4 = 20;
enemy19_5 = 29;
enemy19_6 = 25;
enemy19_6b = 21;
enemy19_7 = 28;
enemy19_8 = 18;
enemy19_9 = 5;
enemy19_10 = 15;
enemy19_10b = 14;
altEnemy19_6 = 28;
altEnemy19_7 = 14;
altEnemy19_8 = 5;
altEnemy19_9 = 15;
altEnemy19_10 = 23;
enemy20_1 = 24;
enemy20_2 = 16;
enemy20_2b = 21;
enemy20_3 = 3;
enemy20_4 = 6;
enemy20_5 = 27;
enemy20_5b = 28;
enemy20_6 = 10;
enemy20_6b = 4;
enemy20_7 = 2;
enemy20_8 = 7;
enemy20_9 = 12;
enemy20_9b = 1;
enemy20_10 = 11;
enemy20_10 = 9;
altEnemy20_6 = 29;
altEnemy20_7 = 7;
altEnemy20_8 = 6;
altEnemy20_9 = 1;
altEnemy20_10 = 2;
altEnemy20_10b = 12;
enemy21_1 = 19;
enemy21_2 = 7;
enemy21_3 = 18;
enemy21_4 = 17;
enemy21_5 = 16;
enemy21_6 = 10;
enemy21_6b = 4;
enemy21_7 = 5;
enemy21_8 = 9;
enemy21_8b = 6;
enemy21_9 = 22;
enemy21_10 = 24;
altEnemy21_6 = 7;
altEnemy21_7 = 6;
altEnemy21_8 = 28;
altEnemy21_8b = 27;
altEnemy21_9 = 9;
altEnemy21_9b = 12;
altEnemy21_10 = 24;
altEnemy21_10b = 22;
enemy22_1 = 19;
enemy22_2 = 16;
enemy22_3 = 10;
enemy22_4 = 12;
enemy22_5 = 18;
enemy22_6 = 24;
enemy22_7 = 21;
enemy22_8 = 20;
enemy22_9 = 14;
enemy22_10 = 15;
enemy22_10b = 5;
altEnemy22_6 = 9;
altEnemy22_7 = 19;
altEnemy22_7 = 16;
altEnemy22_8 = 28;
altEnemy22_9 = 27;
altEnemy22_10 = 17;
altEnemy22_10b = 18;
enemy24_1 = 6;
enemy24_2 = 10;
enemy24_3 = 7;
enemy24_4 = 25;
enemy24_4b = 21;
enemy24_5 = 17;
enemy24_5b = 22;
enemy24_6 = 19;
enemy24_7 = 16;
enemy24_8 = 9;
enemy24_9 = 14;
enemy24_10 = 5;
enemy24_10 = 4;
altEnemy24_6 = 9;
altEnemy24_7 = 19;
altEnemy24_7 = 16;
altEnemy24_8 = 28;
altEnemy24_9 = 27;
altEnemy24_10 = 17;
altEnemy24_10b = 18;
enemy25_1 = 19;
enemy25_2 = 7;
enemy25_3 = 18;
enemy25_4 = 17;
enemy25_5 = 16;
enemy25_6 = 10;
enemy25_6b = 4;
enemy25_7 = 5;
enemy25_8 = 9;
enemy25_8b = 6;
enemy25_9 = 22;
enemy25_10 = 24;
altEnemy25_6 = 21;
altEnemy25_7 = 22;
altEnemy25_8 = 24;
altEnemy25_9 = 9;
altEnemy25_10 = 20;
enemy26_1 = 2;
enemy26_2 = 4;
enemy26_3 = 5;
enemy26_4 = 8;
enemy26_5 = 18;
enemy26_6 = 10;
enemy26_7 = 22;
enemy26_8 = 27;
enemy26_9 = 15;
enemy26_10 = 23;
altEnemy26_6 = 27;
altEnemy26_7 = 22;
altEnemy26_8 = 17;
altEnemy26_9 = 30;
altEnemy26_10 = 26;
enemy27_1 = 3;
enemy27_1b = 1;
enemy27_2 = 12;
enemy27_3 = 24;
enemy27_4 = 16;
enemy27_5 = 20;
enemy27_6 = 21;
enemy27_7 = 24;
enemy27_8 = 8;
enemy27_9 = 7;
enemy27_10 = 15;
altEnemy27_6 = 29;
altEnemy27_7 = 7;
altEnemy27_8 = 6;
altEnemy27_9 = 1;
altEnemy27_10 = 2;
altEnemy27_10b = 12;
enemy28_1 = 3;
enemy28_1b = 1;
enemy28_2 = 12;
enemy28_3 = 24;
enemy28_4 = 16;
enemy28_5 = 8;
enemy28_6 = 21;
enemy28_7 = 24;
enemy28_8 = 20;
enemy28_9 = 7;
enemy28_10 = 15;
altEnemy28_6 = 18;
altEnemy28_6b = 17;
altEnemy28_7 = 5;
altEnemy28_8 = 14;
altEnemy28_9 = 15;
altEnemy28_10 = 23;
enemy29_1 = 27;
enemy29_2 = 28;
enemy29_3 = 9;
enemy29_4 = 22;
enemy29_4 = 24;
enemy29_5 = 19;
enemy29_5b = 16;
enemy29_6 = 25;
enemy29_7 = 18;
enemy29_8 = 17;
enemy29_9 = 14;
enemy29_10 = 15;
enemy29_10b = 5;
altEnemy29_6 = 28;
altEnemy29_7 = 14;
altEnemy29_8 = 5;
altEnemy29_9 = 15;
altEnemy29_10 = 23;
enemy30_1 = 1;
enemy30_2 = 3;
enemy30_3 = 6;
enemy30_4 = 7;
enemy30_5 = 18;
enemy30_6 = 9;
enemy30_7 = 12;
enemy30_8 = 11;
enemy30_9 = 28;
enemy30_10 = 23;
altEnemy30_6 = 16;
altEnemy30_7 = 29;
altEnemy30_8 = 14;
altEnemy30_9 = 26;
altEnemy30_10 = 30;
function gsfx(sound) {
_root.sfx.bsfx.playsound(sound);
}
function announcerfx(sound) {
_root.sfx.gsfx.playsound(sound);
}
function gmfx(soundm) {
_root.mfx.playsound(soundm);
}
function setTarget(targetNum) {
miniTarget = targetNum;
}
function fadetrans(targetFrame) {
_root.targetmenu = targetFrame;
_root.menufade.gotoAndPlay(2);
}
function chooseRandomFighter(randomPlayer) {
randomfighter = random(30) + 1;
count = 1;
while (count <= 4) {
if (count != randomPlayer) {
if (randomfighter == _root[("p" + count) + "charnum"]) {
randomfighter = randomfighter - 1;
}
}
count++;
}
if (randomfighter <= 0) {
randomfighter = random(13);
}
if (_root["unlock" + randomfighter]) {
return(randomfighter);
}
randomfighter = random(12) + 1;
return(randomfighter);
}
function setminigame(minitype) {
if (menufade._currentframe == 1) {
_root.gsfx("th3");
minigameselect = 1;
if (minitype == 1) {
_root.miniGame = "target";
_root.Croundtime = 2;
} else if (minitype == 2) {
_root.miniGame = "combo";
_root.Croundtime = 2;
} else if (minitype == 3) {
_root.miniGame = "chain";
_root.Croundtime = 2;
} else if (minitype == 4) {
_root.miniGame = "speedko";
_root.Croundtime = 2;
} else if (minitype == 5) {
_root.miniGame = "melon";
_root.Croundtime = 2;
} else if (minitype == 6) {
_root.miniGame = "dribble";
_root.Croundtime = 2;
}
if (_root.gmode != 1) {
fadetrans("fightermenu");
} else {
fadetrans("vsmenu");
}
}
}
function setgamemode(gmode, player) {
checkScreenHack();
if (menufade._currentframe == 1) {
if (((gmode != 1) && (gmode != 3)) && (gmode != 5)) {
coop = 0;
}
_root.gsfx("th3");
_root.gamemodeselect = 1;
_root.gamemode = gmode;
_root.tutorialMode = 0;
shockGameStart = 0;
if (gmode == 1) {
if (_root.CF3version == "full") {
shockGameStart = 1;
_root.gmode = 1;
killPasswords();
setarcademode();
loadMovieNum ("cine.swf", 1);
if (player == 1) {
_root.p1comp = 0;
_root.p2comp = 1;
} else {
_root.p1comp = 1;
_root.p2comp = 0;
}
_root.Cdifficulty = arcadeDifficulty;
_root.Cmaxrounds = 3;
_root.arcadeRound = 1;
_root.matchtype = 1;
_root.survivalmode = 0;
_root.fadetrans("fightermenu");
} else {
purchasePrompt();
}
} else if (gmode == 2) {
_root.gmode = 2;
shockGameStart = 1;
if (_root.CF3version != "minigame") {
_root.p1comp = 0;
_root.p2comp = 0;
_root.fadetrans("matchtypemenu");
} else {
_root.gsfx("sm3");
}
} else if (gmode == 3) {
_root.gmode = 3;
if (_root.CF3version != "minigame") {
if (player == 1) {
shockGameStart = 1;
_root.p1comp = 0;
_root.p2comp = 1;
} else {
_root.p1comp = 1;
_root.p2comp = 0;
}
_root.fadetrans("matchtypemenu");
} else {
_root.gsfx("sm3");
}
} else if (gmode == 4) {
_root.gmode = 4;
if (_root.CF3version != "survival") {
shockGameStart = 1;
killPasswords();
_root.p1comp = 0;
_root.p2comp = 1;
teamsize1 = 1;
teamsize2 = 1;
_root.miniGameMode = 1;
_root.Cmaxrounds = 1;
_root.matchtype = 1;
_root.fadetrans("minigamemenu");
} else {
_root.gsfx("sm3");
}
} else if (gmode == 5) {
_root.gmode = 5;
if (_root.CF3version != "minigame") {
setsurvivalmode();
shockGameStart = 1;
_root.Croundtime = 4;
_root.survivalmode = 1;
_root.p1endpower = 100;
_root.p2endpower = 100;
_root.Cmaxrounds = 1;
_root.Cdifficulty = _root.survivalDifficulty;
_root.streamCharacter(2);
_root.totalwins1 = 0;
if (_root.survivalskip == 1) {
damageplus1 = 1;
axeplus1 = 1;
axeplus2 = 1;
defenseplus2 = 1;
defenseplus = 0;
_root.totalwins1 = 9;
_root.Cdifficulty = int(_root.totalwins1 / 4) + _root.survivalDifficulty;
}
_root.p1comp = 0;
_root.p2comp = 1;
teamsize1 = 2;
teamsize2 = 1;
_root.matchtype = 1;
_root.fadetrans("matchtypemenu");
} else {
_root.gsfx("sm3");
}
} else if (gmode == 6) {
_root.gmode = 6;
if (_root.CF3version != "survival") {
shockGameStart = 1;
killPasswords();
_root.tutorialMode = 1;
_root.Croundtime = 4;
_root.Cdifficulty = 3;
_root.matchtype = 1;
_root.p1comp = 0;
_root.p2comp = 1;
_root.teamsize1 = 2;
_root.teamsize2 = 1;
_root.fadetrans("teammenu");
} else {
_root.gsfx("sm3");
}
} else if (gmode == 7) {
_root.gmode = 7;
if (_root.CF3version != "minigame") {
shockGameStart = 1;
_root.p1comp = 1;
_root.p2comp = 1;
_root.fadetrans("matchtypemenu");
} else {
_root.gsfx("sm3");
}
} else if (gmode == 8) {
_root.optionsmenu.gotoAndStop(2);
}
if (shockGameStart) {
if (ExternalInterface.available) {
ExternalInterface.call("trackGamePlayEvent");
}
}
}
}
function setmatchtype(matchtypesel) {
if (menufade._currentframe == 1) {
matchtypeselect = 1;
_root.gsfx("th3");
if (matchtypesel == 1) {
_root.survivalGame = "knockout";
} else if (matchtypesel == 2) {
_root.survivalGame = "ringking";
} else if (matchtypesel == 3) {
_root.survivalGame = "ringfire";
} else if (matchtypesel == 4) {
_root.survivalGame = "money";
} else if (matchtypesel == 5) {
_root.survivalGame = "hotpotato";
} else if (matchtypesel == 6) {
_root.survivalGame = "ringout";
} else if (matchtypesel == 7) {
_root.mixedmatch = 1;
_root.survivalGame = "mixed";
_root.matchtypesel = random(6) + 1;
}
_root.matchtype = matchtypesel;
if ((matchtypesel == 5) && (survivalmode)) {
_root.Croundtime = 3;
}
_root.fadetrans("teammenu");
}
}
function setfighter(fighterselection, player) {
if (fighterselection == 13) {
fighterselection = chooseRandomFighter();
}
this[("p" + player) + "selected"] = this[("p" + player) + "selected"] + 1;
this[("p" + player) + "cursor"].gotoAndStop(1);
if (this[("p" + player) + "selected"] == 2) {
player = player + 2;
}
if ((((gmode != 1) && (survivalmode != 1)) && (miniGameMode != 1)) || (player == 1)) {
_root.gsfx("th1");
}
this["hypermenu" + player].gotoAndStop(2);
this["hyperarrows" + player].gotoAndStop(2);
if (fighterselection == 15) {
setfighternum("ZUMBI", 15, player);
playerName = "zumbi";
this["face" + player].gotoAndStop(15);
} else if (fighterselection == 1) {
setfighternum("ROCHEDO", 1, player);
this["face" + player].gotoAndStop(1);
playerName = "rochedo";
} else if (fighterselection == 2) {
setfighternum("COELHA", 2, player);
this["face" + player].gotoAndStop(2);
playerName = "coelha";
} else if (fighterselection == 10) {
setfighternum("RAMBA", 10, player);
this["face" + player].gotoAndStop(10);
playerName = "ramba";
} else if (fighterselection == 8) {
setfighternum("PERERECA", 8, player);
this["face" + player].gotoAndStop(8);
playerName = "perereca";
} else if (fighterselection == 7) {
setfighternum("MAIONESE", 7, player);
this["face" + player].gotoAndStop(7);
playerName = "maionese";
} else if (fighterselection == 6) {
setfighternum("FURACAO", 6, player);
this["face" + player].gotoAndStop(6);
playerName = "furacao";
} else if (fighterselection == 9) {
setfighternum("JAMAIKA", 9, player);
this["face" + player].gotoAndStop(9);
playerName = "jamaika";
} else if (fighterselection == 12) {
setfighternum("SANTO", 12, player);
this["face" + player].gotoAndStop(12);
playerName = "santo";
} else if (fighterselection == 14) {
setfighternum("MAESTRO", 14, player);
this["face" + player].gotoAndStop(14);
playerName = "maestro";
} else if (fighterselection == 5) {
setfighternum("COBRA", 5, player);
this["face" + player].gotoAndStop(5);
playerName = "cobra";
} else if (fighterselection == 3) {
setfighternum("SATURNO", 3, player);
this["face" + player].gotoAndStop(3);
playerName = "saturno";
} else if (fighterselection == 4) {
setfighternum("BULLDOG", 4, player);
this["face" + player].gotoAndStop(4);
playerName = "buldogue";
} else if (fighterselection == 11) {
setfighternum("LOKA", 11, player);
this["face" + player].gotoAndStop(11);
playerName = "loka";
} else if (fighterselection == 17) {
setfighternum("CHOMPOO", 17, player);
this["face" + player].gotoAndStop(17);
playerName = "chompoo";
} else if (fighterselection == 16) {
setfighternum("LEILONG", 16, player);
this["face" + player].gotoAndStop(16);
playerName = "leilong";
} else if (fighterselection == 18) {
setfighternum("GATOR", 18, player);
this["face" + player].gotoAndStop(18);
playerName = "gator";
} else if (fighterselection == 19) {
setfighternum("KUANYINSHEN", 19, player);
this["face" + player].gotoAndStop(19);
playerName = "kuanyinshen";
} else if (fighterselection == 20) {
setfighternum("ALERON", 20, player);
this["face" + player].gotoAndStop(20);
playerName = "aleron";
} else if (fighterselection == 21) {
setfighternum("HELICOPTRO", 21, player);
this["face" + player].gotoAndStop(21);
playerName = "helicopter";
} else if (fighterselection == 22) {
setfighternum("PANDA", 22, player);
this["face" + player].gotoAndStop(22);
playerName = "panda";
} else if (fighterselection == 23) {
setfighternum("ZUMBIAZUL", 23, player);
this["face" + player].gotoAndStop(23);
playerName = "zumbi";
} else if (fighterselection == 24) {
setfighternum("JOHNNY", 24, player);
this["face" + player].gotoAndStop(24);
playerName = "johnny";
} else if (fighterselection == 25) {
setfighternum("ANGUS", 25, player);
this["face" + player].gotoAndStop(25);
playerName = "angus";
} else if (fighterselection == 26) {
setfighternum("SARYN", 26, player);
this["face" + player].gotoAndStop(26);
playerName = "saryn";
} else if (fighterselection == 27) {
setfighternum("PANTERA", 27, player);
this["face" + player].gotoAndStop(27);
playerName = "pantera";
} else if (fighterselection == 28) {
setfighternum("ANGOLEIRO", 28, player);
this["face" + player].gotoAndStop(28);
playerName = "angoleiro";
} else if (fighterselection == 29) {
setfighternum("AVERY", 29, player);
this["face" + player].gotoAndStop(29);
playerName = "macaco";
} else if (fighterselection == 30) {
setfighternum("ARUBIM", 30, player);
this["face" + player].gotoAndStop(30);
playerName = "arubim";
}
if (player == 1) {
_root.arcadeFighterName = playerName;
}
if (player == 2) {
if (!miniGameMode) {
setstage(fighterselection);
} else if (miniGame == "target") {
setstage(11);
} else if (miniGame == "combo") {
setstage(18);
} else if (miniGame == "chain") {
setstage(16);
} else if (miniGame == "speedko") {
setstage(12);
} else if (miniGame == "dribble") {
setstage(29);
face2.gotoAndStop(40);
} else if (miniGame == "melon") {
setstage(27);
face2.gotoAndStop(41);
}
}
}
function setface(faceselection, player) {
if (player > 2) {
player = player - 2;
}
if (player == 2) {
if (miniGame == "dribble") {
faceselection = 40;
} else if (miniGame == "melon") {
faceselection = 41;
}
}
this[("p" + player) + "nametext"].gotoAndStop(faceselection);
if (this[("p" + player) + "selected"] == 1) {
player = player + 2;
}
this["face" + player].gotoAndStop(faceselection);
}
function setfighternum(name, charnum, player) {
this[("p" + player) + "name"] = name;
this[("p" + player) + "charnum"] = charnum;
this[("p" + player) + "loadcode"] = [("00fighters/" + name) + "_code.swf"];
this[("p" + player) + "loadframes"] = [("00fighters/" + name) + "_frames.swf"];
this[("p" + player) + "loadwait"] = [("00fighters/" + name) + "_wait.swf"];
}
function sethyper(selectionh, player) {
if (selectionh > 1) {
selectionh = selectionh - 1;
} else {
selectionh = random(8) + 1;
}
if (miniGameMode) {
if (miniGame == "combo") {
selectionh = 3;
} else if (miniGame == "target") {
selectionh = 3;
} else if (miniGame == "chain") {
selectionh = 3;
} else if (miniGame == "speedko") {
selectionh = 3;
} else if (miniGame == "melon") {
selectionh = 3;
} else if (miniGame == "dribble") {
selectionh = 3;
}
}
this[("p" + player) + "hyperselected"] = this[("p" + player) + "hyperselected"] + 1;
if (this[("p" + player) + "hyperselected"] == 2) {
player = player + 2;
} else {
this[("p" + player) + "cursor"].gotoAndStop(2);
if ((player == 1) && (_root.teamsize1 == 2)) {
_root.face3.gotoAndStop(12);
p3cursor._alpha = 100;
p1cursor._name = "p1cursorA";
p3cursor._name = "p1cursor";
fightersbuttons.p1selection = 12;
fightersbuttons.p1xselection = 2;
fightersbuttons.p1yselection = 3;
fightersbuttons.p1hselection = 1;
}
if ((player == 2) && (_root.teamsize2 == 2)) {
_root.face4.gotoAndStop(14);
p4cursor._alpha = 100;
p2cursor._name = "p2cursorA";
p4cursor._name = "p2cursor";
fightersbuttons.p2selection = 14;
fightersbuttons.p2xselection = 4;
fightersbuttons.p2yselection = 3;
fightersbuttons.p2hselection = 1;
}
}
if ((((gmode != 1) && (survivalmode != 1)) && (miniGameMode != 1)) || (player == 1)) {
_root.gsfx("th3");
}
_root["hyperarrows" + player].gotoAndStop(11);
_root[("p" + player) + "hyperstyle"] = selectionh;
_root["hypermenu" + player].gotoAndStop(selectionh + 2);
if (((((p1hyperselected == 2) && (_root.p2comp)) || ((p2hyperselected == 2) && (_root.p1comp))) || ((_root.coop == 1) && (p1hyperselected == 1))) && (controlswitch == 0)) {
fightersbuttons.startcontrol2();
fightersbuttons.p1keysup = -10;
fightersbuttons.p2keysup = -10;
fightersbuttons.p1.cb();
fightersbuttons.p2.cb();
fightersbuttons.p2.fk = 0;
fightersbuttons.p2.bk = 0;
fightersbuttons.p1.fk = 0;
fightersbuttons.p1.bk = 0;
controlswitch = 1;
}
if (gmode != 1) {
if ((p1hyperselected >= _root.teamsize1) && (p2hyperselected >= _root.teamsize2)) {
_root.fadetrans("vsmenu");
menufade.gotoAndPlay(2);
}
}
}
function setstage(stageselectnum) {
stageselect = 1;
_root.rodaABSxfactor = 0.85;
_root.rodaABSyfactor = 0.35;
if (stageselectnum == 13) {
stageselectnum = random(30) + 1;
if (stageselectnum == 13) {
stageselectnum = 7;
}
}
_root.stagenum = stageselectnum;
if (paigeLevel) {
_root.stageimage = ["00backgrounds/stagepaige_image.swf"];
} else {
_root.stageimage = [("00backgrounds/stage" + stageselectnum) + "_image.swf"];
}
_root.stagesounds = [("00sounds/stage" + stageselectnum) + "_sounds.swf"];
if (((((((((((stageselectnum == 5) || (stageselectnum == 8)) || (stageselectnum == 10)) || (stageselectnum == 12)) || (stageselectnum == 14)) || (stageselectnum == 15)) || (stageselectnum == 16)) || (stageselectnum == 20)) || (stageselectnum == 21)) || (stageselectnum == 23)) || (stageselectnum == 30)) {
_root.reverseShadows = 1;
} else {
_root.reverseShadows = 0;
}
}
function setteamtype(teamsize, playernumber) {
if (_root["teamtypeselect" + playernumber] == 0) {
_root.gsfx("th3");
_root["teamtypeselect" + playernumber] = 1;
_root[("team" + playernumber) + "menu"].tagset = 1;
if (teamsize == 1) {
_root["teamsize" + playernumber] = 2;
}
if (teamsize == 2) {
_root["teamsize" + playernumber] = 1;
}
if ((_root.teamtypeselect1 == 1) && (_root.teamtypeselect2 == 1)) {
_root.fadetrans("fightermenu");
}
}
}
function setMysteryMatch() {
if ((_root.matchtype == 1) or (_root.matchtype == 4)) {
_root.setfighter(24, 2);
_root.p2hyperstyle = 2;
} else if ((_root.matchtype == 2) or (_root.matchtype == 5)) {
_root.setfighter(20, 2);
_root.p2hyperstyle = 5;
} else {
_root.setfighter(22, 2);
_root.p2hyperstyle = 4;
}
}
_quality = "medium";
checkScreenHack();
loadCookie();
if (simplespdodge1 == undefined) {
simplespdodge1 = 0;
simplespdodge2 = 0;
saveCookie();
}
if (CinputWindow == undefined) {
CinputWindow = 3;
saveCookie();
}
testing = 0;
unloadMovieNum (1);
hyperCheat = 0;
healthCheat = 0;
speedCheat = 0;
cheatWord = "NO PASSWORD ENTERED";
_root.dodgeTrailAlpha = 50;
muitosurvival = 0;
_root.mixedmatch = 0;
_root.survivalmode = 0;
_root.miniGameMode = 0;
_root.matchesWon = 0;
_root.miniGame = "";
_root.roundnum = 1;
_root.totalwins1 = 0;
_root.totalwins2 = 0;
teamsize1 = 1;
teamsize2 = 1;
stop();
_root.coop = 0;
_root.Cdifficulty = 3;
_root.arcadeDifficulty = 3;
_root.survivalDifficulty = 3;
altBranch = 0;
gamemodeselect = 0;
minigameselect = 0;
damageplus1 = 0;
axeplus1 = 0;
defenseplus1 = 0;
hyperplus1 = 0;
damageplus2 = 0;
axeplus2 = 0;
defenseplus2 = 0;
hyperplus2 = 0;
gamemodemenu.gotoAndStop(2);
Instance of Symbol 524 MovieClip in Frame 2
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 541 MovieClip "impossibleMC2" in Frame 2
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 541 MovieClip "impossibleMC" in Frame 2
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 179 MovieClip "gamemodebuttons" in Frame 2
onClipEvent (load) {
keysup = 0;
}
onClipEvent (enterFrame) {
_root.checkSize();
if ((_root.optionsopen != 80) && (_root.passwordReader._currentframe == 1)) {
p1.cb();
p2.cb();
if (!(((((((((((((((p1.u or p1.d) or p1.f) or p1.b) or p2.u) or p2.d) or p2.f) or p2.b) or p1.bp) or p1.fp) or p1.bk) or p1.fk) or p2.bp) or p2.fp) or p2.bk) or p2.fk)) {
keysup = 6;
}
if (keysup > 5) {
if (_parent.gamemodemenu._currentframe == 1) {
if (p1.f) {
keysup = 0;
_root.arcadeDifficulty = _root.arcadeDifficulty + 2;
if (_root.arcadeDifficulty > 5) {
_root.arcadeDifficulty = 5;
}
}
if (p1.b) {
keysup = 0;
_root.arcadeDifficulty = _root.arcadeDifficulty - 2;
if (_root.arcadeDifficulty < 1) {
_root.arcadeDifficulty = 1;
}
}
}
if (_parent.gamemodemenu._currentframe == 2) {
if ((p1.f && (_root.multiplay3 == 1)) && (_root.multiplay4 == 0)) {
keysup = 0;
_root.gsfx("lha4");
_root.multiplay4 = 1;
}
if (p1.f && (_root.multiplay3 == 0)) {
keysup = 0;
_root.multiplay3 = 1;
_root.gsfx("zha4");
}
if ((p1.b && (_root.multiplay3 == 1)) && (_root.multiplay4 == 0)) {
keysup = 0;
_root.gsfx("zha1");
_root.multiplay3 = 0;
}
if (p1.b && (_root.multiplay3 == 1)) {
keysup = 0;
_root.gsfx("lha1");
_root.multiplay4 = 0;
}
} else {
_root.multiplay3 = 0;
_root.multiplay4 = 0;
}
if ((_parent.gamemodemenu._currentframe == 3) || (_parent.gamemodemenu._currentframe == 5)) {
if (p1.f && (_root.coop != 1)) {
_root.coop = 1;
_root.gsfx("zha4");
}
if (p1.b && (_root.coop == 1)) {
_root.coop = 0;
_root.gsfx("zha1");
}
}
if (((p1.u or p1.d) or p2.u) or p2.d) {
keysup = 0;
_root.gsfx("th1");
}
if (p1.u or p2.u) {
_parent.gamemodemenu.prevFrame();
} else if (p1.d or p2.d) {
_parent.gamemodemenu.nextFrame();
}
if (_root.menufade._currentframe == 1) {
if ((p1.bk or p1.fk) && (_root.gamemodeselect == 0)) {
_root.setgamemode(_parent.gamemodemenu._currentframe, 1);
}
if (_parent.gamemodemenu._currentframe != 1) {
if ((p2.bk or p2.fk) && (_root.gamemodeselect == 0)) {
_root.setgamemode(_parent.gamemodemenu._currentframe, 2);
}
}
}
} else {
keysup = keysup + 1;
}
}
}
Instance of Symbol 488 MovieClip in Frame 2
onClipEvent (load) {
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
blurMe(5, 5);
}
Frame 3
_root.minigameselect = 0;
Instance of Symbol 179 MovieClip "minigamebuttons" in Frame 3
onClipEvent (load) {
keysup = 0;
}
onClipEvent (enterFrame) {
p1.cb();
p2.cb();
if (!(((((((((((((((p1.u or p1.d) or p1.f) or p1.b) or p2.u) or p2.d) or p2.f) or p2.b) or p1.bp) or p1.fp) or p1.bk) or p1.fk) or p2.bp) or p2.fp) or p2.bk) or p2.fk)) {
keysup = 6;
}
if (keysup > 5) {
if (((p1.u or p1.d) or p2.u) or p2.d) {
keysup = 0;
_root.gsfx("th1");
}
if (p1.u or p2.u) {
_parent.minigamemenu.prevFrame();
} else if (p1.d or p2.d) {
_parent.minigamemenu.nextFrame();
}
if (_root.menufade._currentframe == 1) {
if ((p1.bk || (p1.fk)) && (_root.minigameselect == 0)) {
msel = _parent.minigamemenu._currentframe;
if (msel < 3) {
_root.setminigame(_parent.minigamemenu._currentframe);
} else if (msel == 3) {
if (_root.chainUnlocked) {
_root.setminigame(_parent.minigamemenu._currentframe);
} else {
_root.setCost("chain");
_root.unlockCharacter("chain");
}
} else if (msel == 4) {
if (_root.speedkoUnlocked) {
_root.setminigame(_parent.minigamemenu._currentframe);
} else {
_root.setCost("speedko");
_root.unlockCharacter("speedko");
}
} else if (msel == 5) {
if (_root.melonUnlocked) {
_root.setminigame(_parent.minigamemenu._currentframe);
} else {
_root.setCost("melon");
_root.unlockCharacter("melon");
}
} else if (msel == 6) {
if (_root.dribbleUnlocked) {
_root.setminigame(_parent.minigamemenu._currentframe);
} else {
_root.setCost("dribble");
_root.unlockCharacter("dribble");
}
}
}
if (((p1.bp or p1.fp) or p2.bp) or (p2.fp && (_root.menufade._currentframe == 1))) {
keysup = -50;
_root.fadetrans("gamemodemenu");
_root.gsfx("sm3");
}
}
} else {
keysup = keysup + 1;
}
}
Instance of Symbol 666 MovieClip in Frame 3
onClipEvent (load) {
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
blurMe(5, 5);
}
Frame 4
_quality = "medium";
_root.roundnum = 1;
_root.matchtypeselect = 0;
_root.mixedmatch = 0;
Instance of Symbol 179 MovieClip "matchtypebuttons" in Frame 4
onClipEvent (load) {
keysup = 0;
}
onClipEvent (enterFrame) {
p1.cb();
p2.cb();
if (!(((((((((((((((p1.u or p1.d) or p1.f) or p1.b) or p2.u) or p2.d) or p2.f) or p2.b) or p1.bp) or p1.fp) or p1.bk) or p1.fk) or p2.bp) or p2.fp) or p2.bk) or p2.fk)) {
keysup = 6;
}
if (keysup > 5) {
if (((p1.u or p1.d) or p2.u) or p2.d) {
keysup = 0;
_root.gsfx("th1");
}
if (p1.u or p2.u) {
_parent.matchtypemenu.prevFrame();
} else if (p1.d or p2.d) {
_parent.matchtypemenu.nextFrame();
}
if (_root.menufade._currentframe == 1) {
if ((p1.bk or p1.fk) && (_root.matchtypeselect == 0)) {
_root.setmatchtype(_parent.matchtypemenu._currentframe, 1);
}
if ((p2.bk or p2.fk) && (_root.matchtypeselect == 0)) {
_root.setmatchtype(_parent.matchtypemenu._currentframe, 2);
}
if (((p1.bp or p1.fp) or p2.bp) or (p2.fp && (_root.menufade._currentframe == 1))) {
keysup = -50;
_root.fadetrans("gamemodemenu");
_root.gsfx("sm3");
}
}
} else {
keysup = keysup + 1;
}
}
Frame 5
_quality = "medium";
_root.roundnum = 1;
_root.matchtypeselect = 0;
_root.mixedmatch = 0;
_root.teamtypeselect1 = 0;
_root.teamtypeselect2 = 0;
teamsize1 = 2;
teamsize2 = 2;
if (_root.survivalmode || (_root.gamemode == 6)) {
_root.teamtypeselect2 = 1;
_root.teamsize2 = 1;
}
Instance of Symbol 705 MovieClip in Frame 5
onClipEvent (load) {
if (_root.CF3version == "full") {
_visible = false;
}
}
Instance of Symbol 718 MovieClip "team2menu" in Frame 5
onClipEvent (load) {
player = 2;
tagPressed = 0;
if (_root.survivalmode || (_root.gamemode == 6)) {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (tagset && (_x > -500)) {
_x = (_x - 20);
}
}
Instance of Symbol 722 MovieClip "team1menu" in Frame 5
onClipEvent (load) {
player = 1;
tagPressed = 0;
}
onClipEvent (enterFrame) {
if (tagset && (_x > -500)) {
_x = (_x - 20);
}
}
Instance of Symbol 179 MovieClip "teamtypebuttons" in Frame 5
onClipEvent (load) {
p2keysup = 0;
p2keysup = 0;
}
onClipEvent (enterFrame) {
p1.cb();
p2.cb();
if (!(((((((p1.u or p1.d) or p1.f) or p1.b) or p1.bp) or p1.fp) or p1.bk) or p1.fk)) {
p1keysup = 6;
}
if (p1keysup > 5) {
if (((p1.u or p1.d) or p1.u) or p1.d) {
keysup = 0;
_root.gsfx("th1");
}
if (p1.u) {
_parent.team1menu.prevFrame();
} else if (p1.d) {
_parent.team1menu.nextFrame();
}
if (_root.menufade._currentframe == 1) {
if ((p1.bk or p1.fk) && (_root.teamtypeselect1 == 0)) {
_root.setteamtype(_parent.team1menu._currentframe, 1);
}
if (p1.bp or (p1.fp && (_root.menufade._currentframe == 1))) {
p1keysup = -50;
_root.fadetrans("matchtypemenu");
_root.gsfx("sm3");
}
}
} else {
p1keysup = p1keysup + 1;
}
if (!((((((((p2.u or p2.d) or p2.f) or p2.b) or p2.bp) or p2.fp) or p2.bk) or p2.fk) or _root.survivalmode)) {
p2keysup = 6;
}
if (p2keysup > 5) {
if (((p2.u or p2.d) or p2.u) or p2.d) {
keysup = 0;
_root.gsfx("th1");
}
if (p2.u) {
_parent.team2menu.prevFrame();
} else if (p2.d) {
_parent.team2menu.nextFrame();
}
if (_root.menufade._currentframe == 1) {
if ((p2.bk or p2.fk) && (_root.teamtypeselect2 == 0)) {
_root.setteamtype(_parent.team2menu._currentframe, 2);
}
if (p2.bp or (p2.fp && (_root.menufade._currentframe == 1))) {
p2keysup = -50;
_root.fadetrans("matchtypemenu");
_root.gsfx("sm3");
}
}
} else {
p2keysup = p2keysup + 1;
}
}
Frame 6
function movefacesright(pnum) {
facecount = 1;
while (facecount < (_root.chartotal + 1)) {
this[pnum + facecount]._x = this[pnum + facecount]._x + 34;
if (this[pnum + facecount]._x > 510) {
this[pnum + facecount]._x = -180;
}
facecount = facecount + 1;
}
}
function movefacesleft(pnum, facenum, dir) {
facecount = 1;
while (facecount < (_root.chartotal + 1)) {
this[pnum + facecount]._x = this[pnum + facecount]._x - 34;
if (this[pnum + facecount]._x < -190) {
this[pnum + facecount]._x = 500;
}
facecount = facecount + 1;
}
}
controlswitch = 0;
_quality = "medium";
_root.roundnum = 1;
p3cursor._alpha = 25;
p4cursor._alpha = 25;
if (_root.teamsize1 == 1) {
p3cursor._visible = false;
}
if (_root.teamsize2 == 1) {
p4cursor._visible = false;
}
p1charnum = 101;
p2charnum = 102;
p3charnum = 103;
p4charnum = 104;
p1selected = 0;
p3selected = 0;
p2selected = 0;
p4selected = 0;
p1hyperselected = 0;
p2hyperselected = 0;
A1.gotoAndStop(1);
A2.gotoAndStop(2);
A3.gotoAndStop(3);
A4.gotoAndStop(4);
A5.gotoAndStop(5);
A6.gotoAndStop(6);
A7.gotoAndStop(7);
A8.gotoAndStop(8);
A9.gotoAndStop(9);
A10.gotoAndStop(10);
A11.gotoAndStop(11);
A12.gotoAndStop(12);
A13.gotoAndStop(13);
A14.gotoAndStop(14);
A15.gotoAndStop(15);
if (_root.unlock16) {
A16.gotoAndStop(16);
} else {
A16.gotoAndStop(66);
}
if (_root.unlock17) {
A17.gotoAndStop(17);
} else {
A17.gotoAndStop(67);
}
if (_root.unlock18) {
A18.gotoAndStop(18);
} else {
A18.gotoAndStop(68);
}
if (_root.unlock19) {
A19.gotoAndStop(19);
} else {
A19.gotoAndStop(69);
}
if (_root.unlock20) {
A20.gotoAndStop(20);
} else {
A20.gotoAndStop(70);
}
if (_root.unlock21) {
A21.gotoAndStop(21);
} else {
A21.gotoAndStop(71);
}
if (_root.unlock22) {
A22.gotoAndStop(22);
} else {
A22.gotoAndStop(72);
}
if (_root.unlock23) {
A23.gotoAndStop(23);
} else {
A23.gotoAndStop(73);
}
if (_root.unlock24) {
A24.gotoAndStop(24);
} else {
A24.gotoAndStop(74);
}
if (_root.unlock25) {
A25.gotoAndStop(25);
} else {
A25.gotoAndStop(75);
}
if (_root.unlock26) {
A26.gotoAndStop(26);
} else {
A26.gotoAndStop(76);
}
if (_root.unlock27) {
A27.gotoAndStop(27);
} else {
A27.gotoAndStop(77);
}
if (_root.unlock28) {
A28.gotoAndStop(28);
} else {
A28.gotoAndStop(78);
}
if (_root.unlock29) {
A29.gotoAndStop(29);
} else {
A29.gotoAndStop(79);
}
if (_root.unlock30) {
A30.gotoAndStop(30);
} else {
A30.gotoAndStop(80);
}
_root.setface(11, 1);
_root.setface(15, 2);
face1.gotoAndStop(11);
face2.gotoAndStop(15);
if (_root.survivalmode) {
_root.setface(7, 2);
_root.p2cursor._x = _root.A7._x;
_root.p2cursor._y = _root.A7._y;
face2.gotoAndStop(7);
}
if (_root.miniGameMode) {
_root.setface(18, 2);
_root.p2cursor._x = _root.A18._x;
_root.p2cursor._y = _root.A18._y;
face2.gotoAndStop(18);
}
if (_root.tutorialMode) {
_root.setface(11, 2);
_root.p2cursor._x = _root.A11._x;
_root.p2cursor._y = _root.A11._y;
face2.gotoAndStop(11);
}
Instance of Symbol 813 MovieClip in Frame 6
onClipEvent (load) {
if (CF3version == "minigame") {
_visible = false;
}
}
Instance of Symbol 179 MovieClip "fightersbuttons" in Frame 6
onClipEvent (load) {
selectwait = 0;
_root.p1charnum = x;
_root.p2charnum = x;
sqsep = 30;
sql = 100;
sqr = 222;
sqt = 51;
sqb = 205;
sq = 180;
p1selection = 11;
p1hselection = 1;
p1keysup = 0;
p2selection = 15;
p2hselection = 1;
p2keysup = 0;
setsurvivalplayers = 0;
setArcadePlayers = 0;
}
onClipEvent (enterFrame) {
p1.cb();
p2.cb();
if (!(((((((p1.u or p1.d) or p1.f) or p1.b) or p1.bp) or p1.fp) or p1.bk) or p1.fk)) {
p1keysup = 6;
}
if ((p1keysup > 5) && ((_root.p1selected == 0) or (((_root.p1selected == 1) && (_root.p1hyperselected == 1)) && (_root.teamsize1 == 2)))) {
if (((p1.f or p1.b) or p1.u) or p1.d) {
p1keysup = 0;
_root.gsfx("th1");
}
if (p1.f) {
p1selection = p1selection + 1;
_parent.p1cursor._x = _parent.p1cursor._x + sqsep;
if (_parent.p1cursor._x > sqr) {
p1selection = p1selection - 5;
_parent.p1cursor._x = _parent.p1cursor._x - (sq - 30);
}
} else if (p1.b) {
p1selection = p1selection - 1;
_parent.p1cursor._x = _parent.p1cursor._x - sqsep;
if (_parent.p1cursor._x < sql) {
p1selection = p1selection + 5;
_parent.p1cursor._x = _parent.p1cursor._x + (sq - 30);
}
}
if (p1.u) {
p1selection = p1selection - 5;
_parent.p1cursor._y = _parent.p1cursor._y - sqsep;
if (_parent.p1cursor._y < sqt) {
p1selection = p1selection + 30;
_parent.p1cursor._y = _parent.p1cursor._y + sq;
}
} else if (p1.d) {
p1selection = p1selection + 5;
_parent.p1cursor._y = _parent.p1cursor._y + sqsep;
if (_parent.p1cursor._y > sqb) {
p1selection = p1selection - 30;
_parent.p1cursor._y = _parent.p1cursor._y - sq;
}
}
_root.p1selection = p1selection;
if (((p1.u or p1.d) or p1.f) or p1.b) {
if ((_root["unlock" + p1selection] == 1) || (p1selection < 16)) {
_root.setface(p1selection, 1);
} else {
_root.setface(p1selection + 50, 1);
}
}
if (p1selection == _root.p1charnum) {
_root.setface(p1selection + 50, 1);
}
if ((p1.bk or p1.fk) && (p1selection != _root.p1charnum)) {
p1keysup = 0;
if ((_root["unlock" + p1selection] == 1) || (p1selection < 16)) {
_root.setfighter(p1selection, 1);
p1selection = 1;
if (_root.miniGameMode) {
_root.sethyper(3, 1);
}
} else {
_root.setCost(p1selection + 50);
_root.unlockCharacter(p1selection + 50, 1);
}
}
} else if (_root.p1selected == 0) {
ZZZp1keysup = ZZZp1keysup + 1;
}
if ((p1keysup > 5) && (((_root.p1selected == 1) && (_root.p1hyperselected == 0)) or ((_root.p1selected == 2) && (_root.p1hyperselected == 1)))) {
if (p1.f or p1.b) {
p1keysup = 0;
_root.gsfx("th1");
}
if (p1.f && (p1hselection < 9)) {
if (_root.p1selected == 1) {
_parent.hypermenu1.nextFrame();
_parent.hyperarrows1.nextFrame();
} else {
_parent.hypermenu3.nextFrame();
_parent.hyperarrows3.nextFrame();
}
p1hselection = p1hselection + 1;
} else if (p1.b && (p1hselection > 1)) {
if (_root.p1selected == 1) {
_parent.hypermenu1.prevFrame();
_parent.hyperarrows1.prevFrame();
} else {
_parent.hypermenu3.prevFrame();
_parent.hyperarrows3.prevFrame();
}
p1hselection = p1hselection - 1;
}
if (p1.bk or p1.fk) {
p1keysup = 0;
_root.sethyper(p1hselection, 1);
}
} else if ((_root.p1selected == 1) or ((_root.p1selected == 2) && (_root.p1hyperselected == 1))) {
ZZZp1keysup = ZZZp1keysup + 1;
}
if ((_root.p1hyperselected < _root.teamsize1) && (_root.gamemode != 1)) {
selectwait = 0;
}
if (_root.gamemode == 6) {
if (((_root.p1hyperselected == _root.teamsize1) && (setsurvivalplayers != 1)) && (selectwait > 15)) {
_root.setfighter(11, 2);
_root.sethyper(1, 2);
setsurvivalplayers = 1;
_root.fadetrans("vsmenu");
menufade.gotoAndPlay(2);
} else {
selectwait = selectwait + 1;
}
}
if (_root.gamemode == 1) {
if (((_root.p1hyperselected == 1) && (setArcadePlayers != 1)) && (selectwait > 15)) {
setArcadePlayers = 1;
_root.setArcadeFighter();
} else {
selectwait = selectwait + 1;
}
}
if (_root.miniGameMode) {
if (((_root.p1hyperselected == _root.teamsize1) && (setsurvivalplayers != 1)) && (selectwait > 15)) {
if (_root.miniGame == "target") {
_root.setfighter(18, 2);
_root.sethyper(1, 2);
setsurvivalplayers = 1;
_root.fadetrans("vsmenu");
menufade.gotoAndPlay(2);
} else if (_root.miniGame == "combo") {
_root.setfighter(18, 2);
_root.sethyper(1, 2);
setsurvivalplayers = 1;
_root.fadetrans("vsmenu");
menufade.gotoAndPlay(2);
} else if (_root.miniGame == "chain") {
_root.setfighter(18, 2);
_root.sethyper(1, 2);
setsurvivalplayers = 1;
_root.fadetrans("vsmenu");
menufade.gotoAndPlay(2);
} else if (_root.miniGame == "speedko") {
_root.setfighter(18, 2);
_root.sethyper(1, 2);
setsurvivalplayers = 1;
_root.fadetrans("vsmenu");
menufade.gotoAndPlay(2);
} else if (_root.miniGame == "melon") {
_root.setfighter(18, 2);
_root.sethyper(1, 2);
setsurvivalplayers = 1;
_root.fadetrans("vsmenu");
menufade.gotoAndPlay(2);
} else if (_root.miniGame == "dribble") {
_root.setfighter(18, 2);
_root.sethyper(1, 2);
setsurvivalplayers = 1;
_root.fadetrans("vsmenu");
menufade.gotoAndPlay(2);
}
} else {
selectwait = selectwait + 1;
}
}
if ((((_root.survivalmode == 1) && (_root.p1hyperselected == _root.teamsize1)) && (setsurvivalplayers == 0)) && (selectwait > 15)) {
if (_root.totalwins1 == 9) {
_root.setMysteryMatch();
} else {
_root.setfighter(7, 2);
_root.sethyper(5, 2);
}
setsurvivalplayers = 1;
survivalwait = 0;
_root.fadetrans("vsmenu");
menufade.gotoAndPlay(2);
} else {
selectwait = selectwait + 1;
}
if (((_root.gamemode != 1) && (_root.survivalmode == 0)) && (_root.miniGameMode == 0)) {
if (!(((((((p2.u or p2.d) or p2.f) or p2.b) or p2.bp) or p2.fp) or p2.bk) or p2.fk)) {
p2keysup = 6;
}
if ((p2keysup > 5) && ((_root.p2selected == 0) or (((_root.p2selected == 1) && (_root.p2hyperselected == 1)) && (_root.teamsize2 == 2)))) {
if (((p2.f or p2.b) or p2.u) or p2.d) {
p2keysup = 0;
_root.gsfx("th1");
}
if (p2.f) {
p2selection = p2selection + 1;
_parent.p2cursor._x = _parent.p2cursor._x + sqsep;
if (_parent.p2cursor._x > sqr) {
p2selection = p2selection - 5;
_parent.p2cursor._x = _parent.p2cursor._x - (sq - 30);
}
} else if (p2.b) {
p2selection = p2selection - 1;
_parent.p2cursor._x = _parent.p2cursor._x - sqsep;
if (_parent.p2cursor._x < sql) {
p2selection = p2selection + 5;
_parent.p2cursor._x = _parent.p2cursor._x + (sq - 30);
}
}
if (p2.u) {
p2selection = p2selection - 5;
_parent.p2cursor._y = _parent.p2cursor._y - sqsep;
if (_parent.p2cursor._y < sqt) {
p2selection = p2selection + 30;
_parent.p2cursor._y = _parent.p2cursor._y + sq;
}
} else if (p2.d) {
p2selection = p2selection + 5;
_parent.p2cursor._y = _parent.p2cursor._y + sqsep;
if (_parent.p2cursor._y > sqb) {
p2selection = p2selection - 30;
_parent.p2cursor._y = _parent.p2cursor._y - sq;
}
}
if (((p2.u or p2.d) or p2.f) or p2.b) {
if ((_root["unlock" + p2selection] == 1) or (p2selection < 16)) {
_root.setface(p2selection, 2);
} else {
_root.setface(p2selection + 50, 2);
}
}
if (p2selection == _root.p2charnum) {
_root.setface(p2selection + 50, 2);
}
if ((p2.bk or p2.fk) && (p2selection != _root.p2charnum)) {
p2keysup = 0;
if ((_root["unlock" + p2selection] == 1) or (p2selection < 16)) {
_root.setfighter(p2selection, 2);
p2selection = 15;
} else {
_root.setCost(p2selection + 50);
_root.unlockCharacter(p2selection + 50, 2);
}
}
} else if (_root.p2selected == 0) {
ZZZp2keysup = ZZZp2keysup + 1;
}
if ((p2keysup > 5) && (((_root.p2selected == 1) && (_root.p2hyperselected == 0)) or ((_root.p2selected == 2) && (_root.p2hyperselected == 1)))) {
if (p2.f or p2.b) {
p2keysup = 0;
_root.gsfx("th1");
}
if (p2.f && (p2hselection < 9)) {
if (_root.p2selected == 1) {
_parent.hypermenu2.nextFrame();
_parent.hyperarrows2.nextFrame();
} else {
_parent.hypermenu4.nextFrame();
_parent.hyperarrows4.nextFrame();
}
p2hselection = p2hselection + 1;
} else if (p2.b && (p2hselection > 1)) {
if (_root.p2selected == 1) {
_parent.hypermenu2.prevFrame();
_parent.hyperarrows2.prevFrame();
} else {
_parent.hypermenu4.prevFrame();
_parent.hyperarrows4.prevFrame();
}
p2hselection = p2hselection - 1;
}
if (p2.bk or p2.fk) {
p2keysup = 0;
_root.sethyper(p2hselection, 2);
}
} else if ((_root.p2selected == 1) or ((_root.p2selected == 2) && (_root.p2hyperselected == 1))) {
ZZZp2keysup = ZZZp2keysup + 1;
}
}
if ((((((p1.bp or p1.fp) or p2.bp) or p2.fp) && (p1keysup > 5)) && (((p2keysup > 5) || (_root.survivalmode)) || (_root.gmode == 1))) && (_root.menufade._currentframe == 1)) {
if (_root.survivalmode || (_root.gmode == 1)) {
_root.fadetrans("gamemodemenu");
_root.gsfx("sm3");
} else if (_root.miniGameMode) {
_root.fadetrans("minigamemenu");
_root.gsfx("sm3");
} else {
_root.fadetrans("teammenu");
_root.gsfx("sm3");
}
}
}
Instance of Symbol 993 MovieClip "face4" in Frame 6
onClipEvent (load) {
gotoAndStop (45);
if (_root.teamsize2 == 1) {
_visible = false;
}
}
Instance of Symbol 993 MovieClip "face3" in Frame 6
onClipEvent (load) {
gotoAndStop (45);
if (_root.teamsize1 == 1) {
_visible = false;
}
}
Instance of Symbol 993 MovieClip "face2" in Frame 6
onClipEvent (load) {
}
Instance of Symbol 993 MovieClip "face1" in Frame 6
onClipEvent (load) {
}
Frame 7
function movestagesright() {
stagecount = 1;
while (stagecount < (_root.stagetotal + 1)) {
this["C" + stagecount]._x = this["C" + stagecount]._x + 34;
if (this["C" + stagecount]._x > 910) {
this["C" + stagecount]._x = -78;
}
stagecount = stagecount + 1;
}
}
function movestagesleft() {
stagecount = 1;
while (stagecount < (_root.stagetotal + 1)) {
this["C" + stagecount]._x = this["C" + stagecount]._x - 34;
if (this["C" + stagecount]._x < -80) {
this["C" + stagecount]._x = 908;
}
stagecount = stagecount + 1;
}
}
_quality = "medium";
_root.roundnum = 1;
stageselect = 0;
stageselection = 1;
C1.gotoAndStop(24);
C2.gotoAndStop(25);
C3.gotoAndStop(26);
C4.gotoAndStop(27);
C5.gotoAndStop(28);
C6.gotoAndStop(29);
C7.gotoAndStop(30);
C8.gotoAndStop(1);
C9.gotoAndStop(2);
C10.gotoAndStop(3);
C11.gotoAndStop(4);
C12.gotoAndStop(5);
C13.gotoAndStop(6);
C14.gotoAndStop(7);
C15.gotoAndStop(8);
C16.gotoAndStop(9);
C17.gotoAndStop(10);
C18.gotoAndStop(11);
C19.gotoAndStop(12);
C20.gotoAndStop(13);
C21.gotoAndStop(14);
C22.gotoAndStop(15);
C23.gotoAndStop(16);
C24.gotoAndStop(17);
C25.gotoAndStop(18);
C26.gotoAndStop(19);
C27.gotoAndStop(20);
C28.gotoAndStop(21);
C29.gotoAndStop(22);
C30.gotoAndStop(23);
Instance of Symbol 179 MovieClip "fightersbuttons" in Frame 7
onClipEvent (load) {
selectwait = 0;
survivalselection = 0;
STselection = 5;
keysup = 0;
_root.movestagesleft();
_root.movestagesleft();
_root.movestagesleft();
_root.movestagesleft();
}
onClipEvent (enterFrame) {
p1.cb();
p2.cb();
_root.stageSelectCheck = STselection;
if (_root.gamemode == 6) {
if ((survivalselection != 1) && (selectwait > 15)) {
survivalselection = 1;
_root.setstage(8);
} else {
selectwait = selectwait + 1;
}
}
if (_root.miniGameMode) {
if ((survivalselection != 1) && (selectwait > 15)) {
survivalselection = 1;
if (_root.miniGame == "dribble") {
_root.setstage(9);
} else if (_root.miniGame == "melon") {
_root.setstage(6);
} else {
_root.setstage(10);
}
} else {
selectwait = selectwait + 1;
}
}
if ((_root.survivalmode && (survivalselection == 0)) && (selectwait > 15)) {
survivalselection = 1;
if (_root.totalwins1 == 9) {
_root.setstage(7);
} else {
_root.setstage(2);
}
} else {
selectwait = selectwait + 1;
}
if (keysup > 5) {
if (!(((((((((((((((p1.u or p1.d) or p1.f) or p1.b) or p2.u) or p2.d) or p2.f) or p2.b) or p1.bp) or p1.fp) or p1.bk) or p1.fk) or p2.bp) or p2.fp) or p2.bk) or p2.fk)) {
keysup = 6;
}
if (((((((p1.u or p1.d) or p1.f) or p1.b) or p2.u) or p2.d) or p2.f) or p2.b) {
keysup = 0;
_root.gsfx("th1");
}
if (p1.f or p2.f) {
STselection = STselection + 1;
_root.movestagesleft();
if (STselection > 30) {
STselection = 1;
}
_root.stageDisplay.gotoAndStop(STselection);
} else if (p1.b or p2.b) {
STselection = STselection - 1;
_root.movestagesright();
if (STselection < 1) {
STselection = 30;
}
_root.stageDisplay.gotoAndStop(STselection);
}
if (((((p1.bk or p1.fk) or p2.bk) or p2.fk) && (_root.stageselect == 0)) && (_root.menufade._currentframe == 1)) {
if (STselection <= _root.stagetotal) {
_root.setstage(STselection);
} else {
_root.gsfx("sm1");
}
}
if (((p1.bp or p1.fp) or p2.bp) or (p2.fp && (_root.menufade._currentframe == 1))) {
keysup = -50;
_root.gsfx("sm3");
_root.fadetrans("fightermenu");
}
} else {
keysup = keysup + 1;
}
}
Instance of Symbol 1094 MovieClip "stageDisplay" in Frame 7
onClipEvent (load) {
gotoAndStop (5);
}
Frame 8
if (((_root.gamemode == 2) || (_root.gamemode == 3)) || (_root.gamemode == 7)) {
if (random(10) < 5) {
setstage(p1charnum);
}
}
_quality = "medium";
_root.animateOK = 0;
_root.loadnum = 0;
nextFrame();
_root.roundnum = 1;
_root.p1wins = 0;
_root.p2wins = 0;
face1.gotoAndStop(_root.p1charnum);
face2.gotoAndStop(_root.p2charnum);
if (_root.miniGame == "melon") {
face2.gotoAndStop(41);
} else if (_root.miniGame == "dribble") {
face2.gotoAndStop(40);
}
if (_root.teamsize1 == 1) {
p3charnum = 103;
}
if (_root.teamsize2 == 1) {
p4charnum = 104;
}
face3.gotoAndStop(_root.p3charnum);
face4.gotoAndStop(_root.p4charnum);
hypermenu1.gotoAndStop(_root.p1hyperstyle + 2);
hypermenu2.gotoAndStop(_root.p2hyperstyle + 2);
hypermenu3.gotoAndStop(_root.p3hyperstyle + 2);
hypermenu4.gotoAndStop(_root.p4hyperstyle + 2);
stopAllSounds();
Instance of Symbol 1112 MovieClip in Frame 8
onClipEvent (load) {
if ((_root.CF3version == "minigame") || (_root.CF3version == "full")) {
_visible = false;
}
}
Instance of Symbol 993 MovieClip "face4" in Frame 8
onClipEvent (enterFrame) {
if (_x > 280) {
_x = (_x - 10);
}
if (_x > 270) {
_x = (_x - 0.5);
}
if (_root.teamsize2 == 1) {
_visible = false;
}
}
Instance of Symbol 993 MovieClip "face3" in Frame 8
onClipEvent (enterFrame) {
if (_x < 50) {
_x = (_x + 10);
}
if (_x < 50) {
_x = (_x + 0.5);
}
if (_root.teamsize1 == 1) {
_visible = false;
}
}
Instance of Symbol 993 MovieClip "face2" in Frame 8
onClipEvent (load) {
if (_root.adjustfighterimage == 1) {
}
if (_root.miniGame == "dribble") {
gotoAndStop (40);
} else if (_root.miniGame == "melon") {
gotoAndStop (41);
}
}
onClipEvent (enterFrame) {
if (_x > 220) {
_x = (_x - 10);
}
if (_x > 210) {
_x = (_x - 0.5);
}
}
Instance of Symbol 993 MovieClip "face1" in Frame 8
onClipEvent (enterFrame) {
if (_x < 110) {
_x = (_x + 10);
}
if (_x < 110) {
_x = (_x + 0.5);
}
}
Instance of Symbol 1142 MovieClip in Frame 8
onClipEvent (enterFrame) {
gotoAndStop(random(15));
}
Instance of Symbol 30 MovieClip in Frame 8
onClipEvent (enterFrame) {
_root.players.turning();
}
Instance of Symbol 1784 MovieClip "players" in Frame 9
onClipEvent (load) {
hidemousewait = 0;
}
onClipEvent (enterFrame) {
if (_root._currentframe == 13) {
p1.attemptingDodge = 0;
p2.attemptingDodge = 0;
if (_level1._currentframe != 2) {
if (Key.isDown(_root.Cp1ps)) {
if (notPressed1 && (notPressed2)) {
notPressed1 = 0;
_root.pressPauseKey(1);
}
} else {
notPressed1 = 1;
}
if (Key.isDown(_root.Cp2ps)) {
if (notPressed2 && (notPressed1)) {
notPressed2 = 0;
_root.pressPauseKey(2);
}
} else {
notPressed2 = 1;
}
}
_root.xscrollvar = xscroll;
_root.yscrollvar = yscroll;
_root.p1groupxvar = _root.wallbouncemagdir;
if (_root.paused == 0) {
if (_root.fighting) {
p1.charge();
p2.charge();
p1.everyFrame();
p2.everyFrame();
if (_root.p1comp == 0) {
p1.cb();
p1.stopcomp = 1;
} else if (p1.stopcomp == 0) {
p1.gocomp();
}
if (_root.p2comp == 0) {
p2.cb();
p2.stopcomp = 1;
} else if (p2.stopcomp == 0) {
if ((!_root.miniGameMode) && (_root.gamemode != 6)) {
p2.gocomp();
} else if (_root.miniGameMode) {
p2.stopcomp = 1;
if (_root.miniGame == "target") {
p2.f = 1;
}
} else if (_root.gamemode == 6) {
if (!_root.defenseTutOn) {
p2.compfbmotion(0, 0);
p2.compudmotion(0, 0);
p2.compmoves(0, 0, 0, 0);
} else {
p2.stopcomp = 0;
p2.gocomp();
}
}
}
}
if (p1.hitStop > 0) {
p1.hitStop = p1.hitStop - 1;
if (p1.hitStop < 0) {
p1.hitStop = 0;
}
p1.player.stop();
} else if (_root.speed == 1) {
p1.hitStop = 0;
_root.animate(1);
}
if (p2.hitStop > 0) {
p2.hitStop = p2.hitStop - 1;
if (p2.hitStop < 0) {
p2.hitStop = 0;
}
p2.player.stop();
} else if (_root.speed == 1) {
p2.hitStop = 0;
_root.animate(2);
}
_root.addcombo1 = p1.addcombo;
_root.addcombo2 = p2.addcombo;
en();
if (_root.stagenum == 8) {
busBounce = random(100);
busBounceDir = random(100);
if (busBounceDir > 50) {
_root.bouncemagdir = 1;
} else {
_root.bouncemagdir = -1;
}
if (busBounce > 95) {
_root.bouncemagnitude = random(3);
} else if (busBounce > 85) {
_root.bouncemagnitude = random(2);
}
}
} else {
p1.hitStop = 1;
p2.hitStop = 1;
}
}
}
Frame 10
nextFrame();
_quality = "medium";
Instance of Symbol 1808 MovieClip "inf" in Frame 10
onClipEvent (load) {
_visible = false;
if (_root.Croundtime == 4) {
_visible = true;
}
}
Instance of Symbol 1809 MovieClip in Frame 10
onClipEvent (load) {
gotoAndStop(_root.hyperplus2 + 1);
if ((_root.survivalmode == 0) && (_root.gmode != 1)) {
_visible = false;
}
}
Instance of Symbol 1809 MovieClip in Frame 10
onClipEvent (load) {
gotoAndStop(_root.defenseplus2 + 1);
if ((_root.survivalmode == 0) && (_root.gmode != 1)) {
_visible = false;
}
}
Instance of Symbol 1809 MovieClip in Frame 10
onClipEvent (load) {
gotoAndStop(_root.axeplus2 + 1);
if ((_root.survivalmode == 0) && (_root.gmode != 1)) {
_visible = false;
}
}
Instance of Symbol 1809 MovieClip in Frame 10
onClipEvent (load) {
gotoAndStop(_root.damageplus2 + 1);
if ((_root.survivalmode == 0) && (_root.gmode != 1)) {
_visible = false;
}
}
Instance of Symbol 1809 MovieClip in Frame 10
onClipEvent (load) {
gotoAndStop(_root.hyperplus1 + 1);
if ((_root.survivalmode == 0) && (_root.gmode != 1)) {
_visible = false;
}
}
Instance of Symbol 1809 MovieClip in Frame 10
onClipEvent (load) {
gotoAndStop(_root.defenseplus1 + 1);
if ((_root.survivalmode == 0) && (_root.gmode != 1)) {
_visible = false;
}
}
Instance of Symbol 1809 MovieClip in Frame 10
onClipEvent (load) {
gotoAndStop(_root.axeplus1 + 1);
if ((_root.survivalmode == 0) && (_root.gmode != 1)) {
_visible = false;
}
}
Instance of Symbol 1809 MovieClip in Frame 10
onClipEvent (load) {
gotoAndStop(_root.damageplus1 + 1);
if ((_root.survivalmode == 0) && (_root.gmode != 1)) {
_visible = false;
}
}
Instance of Symbol 1920 MovieClip "p1bar" in Frame 10
onClipEvent (load) {
self = 1;
}
Instance of Symbol 1920 MovieClip "p2bar" in Frame 10
onClipEvent (load) {
self = 2;
}
Instance of Symbol 1930 MovieClip in Frame 10
onClipEvent (load) {
_visible = false;
if (_root.miniGameMode) {
_visible = true;
}
}
Frame 11
if (_root.Csmoothing == 1) {
_quality = "low";
} else if (_root.Csmoothing == 2) {
_quality = "medium";
} else if (_root.Csmoothing == 3) {
_quality = "high";
}
play();
_root.paused = 0;
timeMC._visible = false;
p1winsMC.gotoAndStop(totalwins1 + 1);
p2winsMC.gotoAndStop(totalwins2 + 1);
_root.showtime = "";
_root.showtime2 = "";
face1.gotoAndStop(_root.p1charnum);
face2.gotoAndStop(_root.p2charnum);
if (_root.miniGame == "melon") {
face2.gotoAndStop(41);
} else if (_root.miniGame == "dribble") {
face2.gotoAndStop(40);
}
face3.gotoAndStop(_root.p3charnum);
face4.gotoAndStop(_root.p4charnum);
hypermenu1.gotoAndStop(_root.p1hyperstyle + 2);
hypermenu2.gotoAndStop(_root.p2hyperstyle + 2);
hypermenu3.gotoAndStop(_root.p3hyperstyle + 2);
hypermenu4.gotoAndStop(_root.p4hyperstyle + 2);
Frame 12
play();
players._x = 160;
players._y = 120;
Instance of Symbol 1932 MovieClip "streamer" in Frame 12
onClipEvent (load) {
}
Instance of Symbol 1932 MovieClip "streamersounds" in Frame 12
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 1932 MovieClip "streamerbackground" in Frame 12
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 1932 MovieClip "streamer2" in Frame 12
onClipEvent (load) {
}
Frame 13
function upgradePowers(powertype, powerplayer) {
_root.gsfx("hyper");
if (powertype == 1) {
_root["damageplus" + powerplayer] = _root["damageplus" + powerplayer] + 1;
}
if (powertype == 2) {
_root["axeplus" + powerplayer] = _root["axeplus" + powerplayer] + 1;
}
if (powertype == 3) {
_root["defenseplus" + powerplayer] = _root["defenseplus" + powerplayer] + 1;
}
if (powertype == 4) {
_root["hyperplus" + powerplayer] = _root["hyperplus" + powerplayer] + 1;
}
}
function resumematch(Vselection) {
_root.gsfx("th3");
_root.resumematchselected = 1;
_root.Cmusicvolume = _root.Cmusicvolume2;
if (Vselection == 1) {
_root.paused = 0;
_root.speed = 1;
_root.players.p1.paused = 0;
_root.players.p2.paused = 0;
pausemenu.gotoAndPlay(6);
players.p1stop.gotoAndPlay(3);
players.p2stop.gotoAndPlay(3);
} else if (Vselection == 2) {
_root.fadetrans("fightermenu");
} else if (Vselection == 3) {
_root.fadetrans("matchtypemenu");
} else if (Vselection == 4) {
_root.pausemenu.pausemenu.moveslist._visible = 1;
_root.pausemenu.pausemenu.moveslist._alpha = 100;
_root.resumematchselected = 0;
} else if (Vselection == 5) {
if (((gamemode != 1) && (survivalmode == 0)) && (miniGameMode == 0)) {
_root.optionsmenu.gotoAndStop(2);
}
} else if (Vselection == 6) {
_root.fadetrans("gamemodemenu");
}
}
function newmatch(Vselection) {
_root.gsfx("th3");
_root.newmatchselected = 1;
if (Vselection == 1) {
if ((_root.survivalmode == 0) && (gamemode != 1)) {
p1selected = 0;
p2selected = 0;
_root.p1charnum = 101;
_root.p2charnum = 102;
_root.p3charnum = 103;
_root.p4charnum = 104;
_root.setfighter(chooseRandomFighter(), 1);
if (teamsize1 == 2) {
_root.setfighter(chooseRandomFighter(), 1);
}
_root.p1hyperstyle = random(8) + 1;
_root.p3hyperstyle = random(8) + 1;
_root.setfighter(chooseRandomFighter(), 2);
if (teamsize2 == 2) {
_root.setfighter(chooseRandomFighter(), 2);
}
_root.p2hyperstyle = random(8) + 1;
_root.p4hyperstyle = random(8) + 1;
if (_root.teamsize1 == 1) {
}
if (_root.teamsize2 == 1) {
}
}
if (survivalmode) {
survivepoints = survivepoints + 1;
p2selected = 0;
_root.p2charnum = 102;
_root.Cdifficulty = int(_root.totalwins1 / 4) + _root.survivalDifficulty;
_root.saveCookie();
_root.survivalBoss = 0;
if (_root.totalwins1 == 1) {
_root.streamCharacter(6);
_root.teamsize2 = 1;
_root.setfighter(2, 2);
}
if (_root.totalwins1 == 2) {
_root.streamCharacter(16);
_root.setfighter(6, 2);
}
if (_root.totalwins1 == 3) {
_root.survivalBoss = 1;
_root.streamCharacter(8);
upgradePowers(2, 2);
_root.setfighter(16, 2);
}
if (_root.totalwins1 == 4) {
_root.streamCharacter(10);
_root.setfighter(8, 2);
}
if (_root.totalwins1 == 5) {
_root.streamCharacter(4);
_root.setfighter(10, 2);
}
if (_root.totalwins1 == 6) {
_root.streamCharacter(17);
_root.setfighter(4, 2);
}
if (_root.totalwins1 == 7) {
_root.survivalBoss = 1;
_root.streamCharacter(3);
upgradePowers(3, 2);
_root.setfighter(17, 2);
}
if (_root.totalwins1 == 8) {
_root.streamCharacter(24);
_root.setfighter(3, 2);
}
if (_root.totalwins1 == 9) {
_root.streamCharacter(1);
_root.setMysteryMatch();
}
if (_root.totalwins1 == 10) {
_root.streamCharacter(18);
_root.setfighter(1, 2);
}
if (_root.totalwins1 == 11) {
_root.survivalBoss = 1;
_root.streamCharacter(9);
upgradePowers(1, 2);
_root.setfighter(18, 2);
}
if (_root.totalwins1 == 12) {
_root.streamCharacter(12);
_root.setfighter(9, 2);
}
if (_root.totalwins1 == 13) {
_root.streamCharacter(11);
_root.setfighter(12, 2);
}
if (_root.totalwins1 == 14) {
_root.streamCharacter(19);
_root.setfighter(11, 2);
}
if (_root.totalwins1 == 15) {
_root.survivalBoss = 1;
_root.streamCharacter(5);
upgradePowers(4, 2);
_root.setfighter(19, 2);
}
if (_root.totalwins1 == 16) {
_root.streamCharacter(14);
_root.setfighter(5, 2);
}
if (_root.totalwins1 == 17) {
_root.streamCharacter(15);
_root.setfighter(14, 2);
}
if (_root.totalwins1 == 18) {
_root.streamCharacter(23);
_root.setfighter(15, 2);
}
if (_root.totalwins1 == 19) {
_root.survivalBoss = 1;
upgradePowers(1, 2);
_root.setfighter(23, 2);
}
if (_root.totalwins1 >= 20) {
_root.setfighter(random(24) + 1, 2);
if (((_root.totalwins1 == 23) or (_root.totalwins1 == 39)) or (_root.totalwins1 == 55)) {
_root.survivalBoss = 1;
upgradePowers(2, 2);
}
if (((_root.totalwins1 == 27) or (_root.totalwins1 == 43)) or (_root.totalwins1 == 59)) {
_root.survivalBoss = 1;
upgradePowers(3, 2);
}
if (((_root.totalwins1 == 31) or (_root.totalwins1 == 47)) or (_root.totalwins1 == 63)) {
_root.survivalBoss = 1;
upgradePowers(4, 2);
}
if (((_root.totalwins1 == 35) or (_root.totalwins1 == 51)) or (_root.totalwins1 == 67)) {
_root.survivalBoss = 1;
upgradePowers(1, 2);
}
}
if (_root.survivalBoss == 1) {
_root.Cdifficulty = _root.Cdifficulty + 2;
}
_root.sethyper(this["fighterHyper" + p2charnum] + 1, 2);
}
_root.fadetrans("vsmenu");
} else if (Vselection == 0) {
_root.fadetrans("vsmenu");
} else if (Vselection == 2) {
_root.fadetrans("fightermenu");
} else if (Vselection == 3) {
_root.fadetrans("matchtypemenu");
} else if (Vselection == 4) {
_root.optionsmenu.gotoAndStop(2);
} else if (Vselection == 5) {
_root.fadetrans("gamemodemenu");
}
}
function addWins() {
_root["totalwins" + _root.winner] = _root["totalwins" + _root.winner] + 1;
p1winsMC.gotoAndStop(totalwins1 + 1);
p2winsMC.gotoAndStop(totalwins2 + 1);
}
function endthematch(pnum) {
if (_root.matchover == 1) {
stopAllSounds();
_root.roundnum = 1;
_root.matchend = 0;
_root.p1wins = 0;
_root.p2wins = 0;
if (!((_root.survivalmode || (_root.miniGameMode)) || (_root.gamemode == 1))) {
_root.endmatch.gotoAndStop("rematchmenu");
} else if (_root.gamemode == 1) {
if (_root.winner == 1) {
arcadeRound = arcadeRound + 1;
if (arcadeRound == 3) {
_root.Cdifficulty = _root.Cdifficulty + 1;
} else if (arcadeRound == 5) {
_root.Cdifficulty = _root.Cdifficulty + 1;
} else if (arcadeRound == 6) {
_root.Cdifficulty = _root.Cdifficulty - 1;
} else if (arcadeRound == 8) {
_root.Cdifficulty = _root.Cdifficulty + 1;
} else if (arcadeRound == 10) {
_root.Cdifficulty = _root.Cdifficulty + 1;
}
if ((((_root.totalwins1 == 2) || (_root.totalwins1 == 4)) || (_root.totalwins1 == 6)) || (_root.totalwins1 == 8)) {
_root.upgradePowers(random(4) + 1, 2);
_root.endmatch.gotoAndStop("upgrademenu");
} else if (arcadeRound == 2) {
_root.endmatch.gotoAndStop("cinematic");
_level1.gotoAndStop("show");
_level1.playScene(arcadeFighterName, "open");
startambient();
} else if (arcadeRound == 6) {
_root.endmatch.gotoAndStop("cinematic");
_level1.gotoAndStop("show");
_level1.playScene(arcadeFighterName, "twist");
startambient();
} else if (arcadeRound == 11) {
_root.cash = _root.cash + (_root.Cdifficulty * 10);
if (_root.altBranch == 0) {
_root.endmatch.gotoAndStop("cinematic");
_level1.gotoAndStop("show");
_level1.playScene(arcadeFighterName, "end");
startmusiconly();
} else {
_root.endmatch.gotoAndStop("cinematic");
_level1.gotoAndStop("show");
_level1.playScene(arcadeFighterName, "altend");
startmusiconly();
}
} else {
_root.endmatch.gotoAndStop("arcadeWin");
}
setArcadeEnemy();
} else {
_root.endmatch.gotoAndStop("continue");
}
} else if (_root.survivalmode) {
if (_root.winner == 1) {
_root.matchesWon = 1;
if (((((_root.totalwins1 - 3) / 4) - int((_root.totalwins1 - 3) / 4)) == 0) && ((((damageplus1 < 5) or (axeplus1 < 5)) or (defenseplus1 < 5)) or (hyperplus1 < 5))) {
_root.endmatch.gotoAndStop("upgrademenu");
} else {
_root.endmatch.gotoAndStop("winsurvivalmenu");
}
}
if (_root.winner == 2) {
_root.gotoAndStop(15);
}
} else if (_root.miniGameMode) {
_root.gotoAndStop(15);
}
} else {
if (gamemode == 1) {
if ((arcadeRound == 10) && (_root.p1wins > 0)) {
_root.Cdifficulty = _root.Cdifficulty + 1;
}
}
_root.fadetrans("nextround");
_root.roundnum = _root.roundnum + 1;
_root.endmatch.stop();
}
}
function setwins() {
_root.p1bar.wins.gotoAndStop(_root.p1wins + 1);
_root.p2bar.wins.gotoAndStop(_root.p2wins + 1);
}
function streamCharacter(nextNum) {
_root.streamNum = nextNum;
}
function streamNextCharacter(streamNum, streamFighterNum) {
if (streamVersusNum < 32) {
if (streamFighterNum == 1) {
streamTarget = "streamer";
} else if (streamFighterNum == 2) {
streamTarget = "streamer2";
}
if (streamNum == 15) {
loadMovie ("00fighters/ZUMBI_frames.swf", this[streamTarget]);
} else if (streamNum == 1) {
loadMovie ("00fighters/ROCHEDO_frames.swf", this[streamTarget]);
} else if (streamNum == 2) {
loadMovie ("00fighters/COELHA_frames.swf", this[streamTarget]);
} else if (streamNum == 10) {
loadMovie ("00fighters/RAMBA_frames.swf", this[streamTarget]);
} else if (streamNum == 8) {
loadMovie ("00fighters/PERERECA_frames.swf", this[streamTarget]);
} else if (streamNum == 7) {
loadMovie ("00fighters/MAIONESE_frames.swf", this[streamTarget]);
} else if (streamNum == 6) {
loadMovie ("00fighters/FURACAO_frames.swf", this[streamTarget]);
} else if (streamNum == 9) {
loadMovie ("00fighters/JAMAIKA_frames.swf", this[streamTarget]);
} else if (streamNum == 12) {
loadMovie ("00fighters/SANTO_frames.swf", this[streamTarget]);
} else if (streamNum == 14) {
loadMovie ("00fighters/MAESTRO_frames.swf", this[streamTarget]);
} else if (streamNum == 5) {
loadMovie ("00fighters/COBRA_frames.swf", this[streamTarget]);
} else if (streamNum == 3) {
loadMovie ("00fighters/SATURNO_frames.swf", this[streamTarget]);
} else if (streamNum == 4) {
loadMovie ("00fighters/BULLDOG_frames.swf", this[streamTarget]);
} else if (streamNum == 11) {
loadMovie ("00fighters/LOKA_frames.swf", this[streamTarget]);
} else if (streamNum == 17) {
loadMovie ("00fighters/CHOMPOO_frames.swf", this[streamTarget]);
} else if (streamNum == 16) {
loadMovie ("00fighters/LEILONG_frames.swf", this[streamTarget]);
} else if (streamNum == 18) {
loadMovie ("00fighters/GATOR_frames.swf", this[streamTarget]);
} else if (streamNum == 19) {
loadMovie ("00fighters/KUANYINSHEN_frames.swf", this[streamTarget]);
} else if (streamNum == 20) {
loadMovie ("00fighters/ALERON_frames.swf", this[streamTarget]);
} else if (streamNum == 21) {
loadMovie ("00fighters/HELICOPTRO_frames.swf", this[streamTarget]);
} else if (streamNum == 22) {
loadMovie ("00fighters/PANDA_frames.swf", this[streamTarget]);
} else if (streamNum == 23) {
loadMovie ("00fighters/ZUMBIAZUL_frames.swf", this[streamTarget]);
} else if (streamNum == 24) {
loadMovie ("00fighters/JOHNNY_frames.swf", this[streamTarget]);
} else if (streamNum == 25) {
loadMovie ("00fighters/ANGUS_frames.swf", this[streamTarget]);
} else if (streamNum == 26) {
loadMovie ("00fighters/SARYN_frames.swf", this[streamTarget]);
} else if (streamNum == 27) {
loadMovie ("00fighters/PANTERA_frames.swf", this[streamTarget]);
} else if (streamNum == 28) {
loadMovie ("00fighters/ANGOLEIRO_frames.swf", this[streamTarget]);
} else if (streamNum == 29) {
loadMovie ("00fighters/AVERY_frames.swf", this[streamTarget]);
} else if (streamNum == 30) {
loadMovie ("00fighters/ARUBIM_frames.swf", this[streamTarget]);
} else if (streamNum == 31) {
loadMovie ("00fighters/null.swf", this[streamTarget]);
loadMovie ("00fighters/null.swf", "streamer2");
loadMovie ("00fighters/null.swf", "streamerbackground");
loadMovie ("00fighters/null.swf", "streamersounds");
}
if ((streamFighterNum == 1) && (streamNum < 31)) {
streamBack = [("00backgrounds/stage" + streamNum) + "_image.swf"];
streamMusic = [("00sounds/stage" + streamNum) + "_sounds.swf"];
loadMovie (streamBack, "streamerbackground");
loadMovie (streamMusic, "streamersounds");
}
}
streamer._visible = eval (false)();
streamer2._visible = eval (false)();
streamerbackground._visible = eval (false)();
streamersounds._visible = eval (false)();
}
function streamNextArcade(arcadeStreamNum) {
arcadeStreamNum = arcadeStreamNum + 1;
if (altBranch == 0) {
streamEnemy1 = this[(("enemy" + p1charnum) + "_") + arcadeStreamNum];
streamEnemy2 = this[((("enemy" + p1charnum) + "_") + arcadeStreamNum) + "b"];
} else {
streamEnemy1 = this[(("altEnemy" + p1charnum) + "_") + arcadeStreamNum];
streamEnemy2 = this[((("altEnemy" + p1charnum) + "_") + arcadeStreamNum) + "b"];
}
}
stop();
if ((_root.p1wins < 1) && (_root.p2wins < 1)) {
startmusic();
}
startmatch.gotoAndPlay(4);
setbgeffects();
_root.players.setmatch();
_root.players.rodapeople._xscale = 100;
_root.players.rodapeople._alpha = 100;
if (_root.totalwins1 == 0) {
if (survivalmode) {
streamNextCharacter(2, 1);
}
}
if (survivalmode) {
streamNextCharacter(streamNum, 1);
} else if (_root.gmode == 1) {
streamNextArcade(arcadeRound);
streamNextCharacter(streamEnemy1, 1);
if (streamEnemy2) {
streamNextCharacter(streamEnemy2, 2);
}
}
players._x = 160;
players._y = 120;
Instance of Symbol 30 MovieClip in Frame 13
onClipEvent (enterFrame) {
if ((_root.paused == 0) && (_root.animateOK)) {
if (_root.players.p1.dohit && (_root.players.p2.dohit)) {
_root.sparknum = _root.sparknum + 1;
if (_root.sparknum > 35) {
_root.sparknum = 25;
}
if (_root.Chitsparks == 1) {
sparkdepth = 124;
_root.players.attachMovie("hitsparkspawn", "spark" + _root.sparknum, sparkdepth);
sparky = _root.players["spark" + _root.sparknum];
sparky._rotation = random(360);
sparky._x = (_root.players.p1.lastSparkx + _root.players.p2.lastSparkx) / 2;
sparky._y = (_root.players.p1.lastSparky + _root.players.p2.lastSparky) / 2;
sparky._xscale = 40 + (2 * (_root.players.p1.lastdamage + _root.players.p2.lastdamage));
sparky.hitStop = (_root.players.p1.lastdamage + _root.players.p2.lastdamage) / 2;
sparky._yscale = this.sparky._xscale;
sparky.gotoAndPlay("specialhit");
}
_root.players.p1.hitStop = _root.players.p1.hitStop * 1.5;
_root.players.p2.hitStip = _root.players.p2.hitStip * 1.5;
_root.gsfx("block4");
sparky.swapDepths(sparkdepth);
}
if (_root.players.p1.dohit) {
_root.players.p1.dohit = 0;
_root.players.p2.beenhit = 1;
_root.players.p2.wantinair = 0;
_root.players.p2.shc(_root.players.p1.dohittarget);
}
if (_root.players.p2.doblock) {
_root.players.p2.doblock = 0;
_root.players.p1.beenhitBlock = 1;
_root.players.p1.wantinair = 0;
_root.players.p1.shc(_root.players.p2.doblocktarget);
}
if (_root.players.p2.dohit) {
_root.players.p2.dohit = 0;
_root.players.p1.beenhit = 1;
_root.players.p1.wantinair = 0;
_root.players.p1.shc(_root.players.p2.dohittarget);
}
if (_root.players.p1.doblock) {
_root.players.p1.doblock = 0;
_root.players.p2.beenhitBlock = 1;
_root.players.p2.wantinair = 0;
_root.players.p2.shc(_root.players.p1.doblocktarget);
}
if (_root.players.p1.switchMove) {
_root.players.p1.player.gotoAndStop(_root.players.p1.switchMove);
_root.players.p1.player.player.gotoAndStop(_root.players.p1.player._currentframe);
_root.players.s1.shadow.gotoAndStop(_root.players.p1.player._currentframe);
count = 1;
while (count <= _root.players.p1.animateSkip) {
_root.animate(1);
count++;
}
_root.players.p1.setDefend();
_root.players.p1.overRideSHC = 0;
_root.players.p1.switchMove = 0;
}
if (_root.players.p2.switchMove) {
_root.players.p2.player.gotoAndStop(_root.players.p2.switchMove);
_root.players.p2.player.player.gotoAndStop(_root.players.p2.player._currentframe);
_root.players.s2.shadow.gotoAndStop(_root.players.p2.player._currentframe);
count = 1;
while (count <= _root.players.p2.animateSkip) {
_root.animate(2);
count++;
}
_root.players.p2.setDefend();
_root.players.p2.overRideSHC = 0;
_root.players.p2.switchMove = 0;
}
if (_root.players.p2.wantinair) {
_root.players.p2.inair = 1;
_root.players.p2.wantinair = 0;
}
if (_root.players.p1.wantinair) {
_root.players.p1.inair = 1;
_root.players.p1.wantinair = 0;
}
if (_root.players.p1.randomHa && (!_root.players.p1.beenhit)) {
_root.players.p1.sfxHa(_root.players.p1.randomHa);
_root.players.p1.randomHa = 0;
}
if (_root.players.p2.randomHa && (!_root.players.p2.beenhit)) {
_root.players.p2.sfxHa(_root.players.p2.randomHa);
_root.players.p2.randomHa = 0;
}
_root.players.turning();
_root.players.turnScale(1);
_root.players.turnScale(2);
}
}
Instance of Symbol 2254 MovieClip in Frame 13
onClipEvent (load) {
gotoAndStop(_root.stagenum);
}
Frame 15
stop();
if ((_root.survivalmode != 1) && (_root.miniGameMode != 1)) {
gotoAndPlay (1);
}
_quality = "high";
_root.sfx.gsfx.playsound("endmusic", 0);
_quality = "high";
stop();
_root.unloadplayers();
_root.gmfx("endmusic");
function playAgain() {
_root.HSHubSubmitter._visible = true;
_root.retryButton._visible = true;
_root.resetButton._visible = true;
_root.disabler._visible = false;
}
System.security.allowDomain("shockwave.com", "gameblast.shockwave.com", "www.shockwave.com", "dev.shockwave.com", "stage.shockwave.com");
_level0.swHighScoreObject = new Object();
_level0.swHighScoreObject.showTab = "view";
_level0.swHighScoreObject.scoreDescriptor = "Rounds Survived";
if (_root.mixedmatch != 1) {
if (_root.matchtype == 1) {
if (_root.miniGameMode) {
if (_root.miniGame == "target") {
_level0.swHighScoreObject.gameId = "cf3trainer_target";
_level0.swHighScoreObject.gameTitle = "CF3 Target Practice";
_level0.swHighScoreObject.scoreDescriptor = "Targets Hit";
} else if (_root.miniGame == "combo") {
_level0.swHighScoreObject.gameId = "cf3trainer_combo";
_level0.swHighScoreObject.gameTitle = "CF3 Power Combo";
_level0.swHighScoreObject.scoreDescriptor = "Strongest Combo";
} else if (_root.miniGame == "chain") {
_level0.swHighScoreObject.gameId = "cf3trainer_chain";
_level0.swHighScoreObject.gameTitle = "CF3 Combo Chain";
_level0.swHighScoreObject.scoreDescriptor = "Longest Combo";
} else if (_root.miniGame == "speedko") {
_level0.swHighScoreObject.gameId = "cf3trainer_speedko";
_level0.swHighScoreObject.gameTitle = "CF3 Speed K.O.";
_level0.swHighScoreObject.scoreDescriptor = "Time Remaining";
} else if (_root.miniGame == "melon") {
_level0.swHighScoreObject.gameId = "cf3trainer_melon";
_level0.swHighScoreObject.gameTitle = "CF3 Melon Toss";
_level0.swHighScoreObject.scoreDescriptor = "Melons Destroyed";
} else if (_root.miniGame == "dribble") {
_level0.swHighScoreObject.gameId = "cf3trainer_dribble";
_level0.swHighScoreObject.gameTitle = "CF3 Dribble Drill";
_level0.swHighScoreObject.scoreDescriptor = "Time Remaining";
}
} else {
_level0.swHighScoreObject.gameId = "Knock_Out";
_level0.swHighScoreObject.gameTitle = "CF3 Knock Out Survivial";
}
} else if (_root.matchtype == 2) {
_level0.swHighScoreObject.gameId = "Ring_King";
_level0.swHighScoreObject.gameTitle = "CF3 Ring King Survivial";
} else if (_root.matchtype == 3) {
_level0.swHighScoreObject.gameId = "Ring_Of_Fire";
_level0.swHighScoreObject.gameTitle = "CF3 Ring Of Fire Survivial";
} else if (_root.matchtype == 4) {
_level0.swHighScoreObject.gameId = "Money_Game";
_level0.swHighScoreObject.gameTitle = "CF3 Money Game Survivial";
} else if (_root.matchtype == 5) {
_level0.swHighScoreObject.gameId = "Hot_Potato";
_level0.swHighScoreObject.gameTitle = "CF3 Hot Potato Survivial";
} else if (_root.matchtype == 6) {
_level0.swHighScoreObject.gameId = "Ring_Out";
_level0.swHighScoreObject.gameTitle = "CF3 Ring Out Survivial";
}
}
if (_root.mixedmatch == 1) {
_level0.swHighScoreObject.gameId = "Mixed_Match";
_level0.swHighScoreObject.gameTitle = "CF3 Mixed Match Survivial";
}
_level0.swHighScoreObject.screenWidth = 640;
_level0.swHighScoreObject.screenHeight = 480;
_level0.swHighScoreObject.numPlayers = 1;
_level0.swHighScoreObject.player1Score = 0;
_level0.swHighScoreObject.player2Score = 0;
_level0.swHighScoreObject.player3Score = 0;
_level0.swHighScoreObject.player4Score = 0;
_level0.HSHubURL = "http://www.shockwave.com/content/highscores/scorez-2002.swf";
Instance of Symbol 2275 MovieClip "disabler" in Frame 15
onClipEvent (load) {
this.swapDepths(120001);
_visible = false;
}
Instance of Symbol 2337 MovieClip "HSHubSubmitter" in Frame 15
onClipEvent (load) {
docount = false;
}
onClipEvent (enterFrame) {
if (_root._currentframe == 15) {
if (docount) {
trycount++;
if ((_level2.getBytesTotal() == -1) && (trycount > 60)) {
docount = false;
trycount = 0;
}
}
_visible = true;
} else {
_visible = false;
}
}
Symbol 5 MovieClip [smoke2] Frame 1
function hideMe() {
_visible = false;
gotoAndStop (20);
}
Symbol 5 MovieClip [smoke2] Frame 2
if (((_root.matchtype == 5) && (_root.hotpot == 2)) && (_root.players.p2.KO == 0)) {
_parent.newsmokep2();
}
Symbol 5 MovieClip [smoke2] Frame 15
hideMe();
Symbol 5 MovieClip [smoke2] Frame 16
stop();
Symbol 5 MovieClip [smoke2] Frame 20
stop();
removeMovieClip(this);
Symbol 7 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 9 MovieClip Frame 12
_parent._parent.hideMe();
Symbol 12 MovieClip Frame 12
_parent._parent.hideMe();
Symbol 13 MovieClip Frame 12
_parent._parent.hideMe();
Symbol 14 MovieClip Frame 12
_parent._parent.hideMe();
Symbol 16 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 18 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 19 MovieClip Frame 12
_parent._parent.hideMe();
Symbol 20 MovieClip Frame 12
_parent._parent.hideMe();
Symbol 22 MovieClip Frame 12
_parent._parent.hideMe();
Symbol 23 MovieClip Frame 12
_parent._parent.hideMe();
Symbol 24 MovieClip Frame 1
this.blendMode = 8;
Symbol 24 MovieClip Frame 2
this.blendMode = 8;
Symbol 24 MovieClip Frame 3
this.blendMode = 8;
Symbol 24 MovieClip Frame 4
this.blendMode = 8;
Symbol 24 MovieClip Frame 5
this.blendMode = 8;
Symbol 24 MovieClip Frame 6
this.blendMode = 8;
Symbol 24 MovieClip Frame 7
this.blendMode = 3;
Symbol 24 MovieClip Frame 8
this.blendMode = 3;
Symbol 26 MovieClip [hypertrail2] Frame 1
function hideMe() {
gotoAndStop (30);
}
ring.gotoAndStop(_root.players.p2.hyper);
Symbol 26 MovieClip [hypertrail2] Frame 4
if (_parent.p2.hyper > 0) {
_parent.newhyperp2();
}
Symbol 26 MovieClip [hypertrail2] Frame 25
hideMe();
Symbol 26 MovieClip [hypertrail2] Frame 30
stop();
removeMovieClip(this);
Symbol 28 MovieClip [hypertrail1] Frame 1
function hideMe() {
gotoAndStop (30);
}
ring.gotoAndStop(_root.players.p1.hyper);
Symbol 28 MovieClip [hypertrail1] Frame 4
if (_parent.p1.hyper > 0) {
_parent.newhyperp1();
}
Symbol 28 MovieClip [hypertrail1] Frame 25
hideMe();
Symbol 28 MovieClip [hypertrail1] Frame 30
stop();
removeMovieClip(this);
Symbol 29 MovieClip [smoke1] Frame 1
function hideMe() {
_visible = false;
gotoAndStop (20);
}
Symbol 29 MovieClip [smoke1] Frame 2
if (((_root.matchtype == 5) && (_root.hotpot == 1)) && (_root.players.p1.KO == 0)) {
_parent.newsmokep1();
}
Symbol 29 MovieClip [smoke1] Frame 15
hideMe();
Symbol 29 MovieClip [smoke1] Frame 16
stop();
Symbol 29 MovieClip [smoke1] Frame 20
stop();
removeMovieClip(this);
Symbol 36 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 68 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 77 MovieClip [hitsparkspawn] Frame 1
function hideMe() {
_visible = false;
removeMovieClip(this);
}
stop();
this.blendMode = 8;
Instance of Symbol 30 MovieClip in Symbol 77 MovieClip [hitsparkspawn] Frame 2
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count = count + 1;
if (count > (_parent.hitStop - 2)) {
_parent.play();
}
}
Symbol 77 MovieClip [hitsparkspawn] Frame 19
play();
Symbol 77 MovieClip [hitsparkspawn] Frame 20
hideMe();
Instance of Symbol 30 MovieClip in Symbol 77 MovieClip [hitsparkspawn] Frame 22
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count = count + 1;
if (count > (_parent.hitStop - 2)) {
_parent.play();
}
}
Symbol 77 MovieClip [hitsparkspawn] Frame 40
play();
Symbol 77 MovieClip [hitsparkspawn] Frame 41
hideMe();
Instance of Symbol 30 MovieClip in Symbol 77 MovieClip [hitsparkspawn] Frame 43
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count = count + 1;
if (count > (_parent.hitStop - 2)) {
_parent.play();
}
}
Symbol 77 MovieClip [hitsparkspawn] Frame 61
play();
Symbol 77 MovieClip [hitsparkspawn] Frame 62
hideMe();
Instance of Symbol 30 MovieClip in Symbol 77 MovieClip [hitsparkspawn] Frame 64
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count = count + 1;
if (count > (_parent.hitStop - 2)) {
_parent.play();
}
}
Symbol 77 MovieClip [hitsparkspawn] Frame 82
play();
Symbol 77 MovieClip [hitsparkspawn] Frame 83
hideMe();
Instance of Symbol 30 MovieClip in Symbol 77 MovieClip [hitsparkspawn] Frame 85
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count = count + 1;
if (count > (_parent.hitStop - 2)) {
_parent.play();
}
}
Symbol 77 MovieClip [hitsparkspawn] Frame 103
play();
Symbol 77 MovieClip [hitsparkspawn] Frame 104
hideMe();
Instance of Symbol 30 MovieClip in Symbol 77 MovieClip [hitsparkspawn] Frame 106
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count = count + 1;
if (count > (_parent.hitStop - 2)) {
_parent.play();
}
}
Symbol 77 MovieClip [hitsparkspawn] Frame 116
play();
Symbol 77 MovieClip [hitsparkspawn] Frame 117
removeMovieClip(this);
Instance of Symbol 30 MovieClip in Symbol 77 MovieClip [hitsparkspawn] Frame 120
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count = count + 1;
if (count > (_parent.hitStop - 2)) {
_parent.play();
}
}
Symbol 77 MovieClip [hitsparkspawn] Frame 126
play();
Symbol 77 MovieClip [hitsparkspawn] Frame 127
hideMe();
Instance of Symbol 30 MovieClip in Symbol 77 MovieClip [hitsparkspawn] Frame 130
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count = count + 1;
if (count > (_parent.hitStop - 2)) {
_parent.play();
}
}
Symbol 77 MovieClip [hitsparkspawn] Frame 136
play();
Symbol 77 MovieClip [hitsparkspawn] Frame 137
hideMe();
Instance of Symbol 30 MovieClip in Symbol 77 MovieClip [hitsparkspawn] Frame 148
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count = count + 1;
if (count > 2) {
_parent.play();
}
}
Symbol 77 MovieClip [hitsparkspawn] Frame 170
play();
Symbol 77 MovieClip [hitsparkspawn] Frame 171
hideMe();
Symbol 77 MovieClip [hitsparkspawn] Frame 175
this.blendMode = 1;
Instance of Symbol 30 MovieClip in Symbol 77 MovieClip [hitsparkspawn] Frame 175
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count = count + 1;
if (count > 2) {
_parent.play();
}
}
Symbol 77 MovieClip [hitsparkspawn] Frame 195
play();
Symbol 77 MovieClip [hitsparkspawn] Frame 196
hideMe();
Instance of Symbol 30 MovieClip in Symbol 77 MovieClip [hitsparkspawn] Frame 200
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count = count + 1;
if (count > 2) {
_parent.play();
}
}
Symbol 77 MovieClip [hitsparkspawn] Frame 218
play();
Symbol 77 MovieClip [hitsparkspawn] Frame 219
hideMe();
Instance of Symbol 30 MovieClip in Symbol 77 MovieClip [hitsparkspawn] Frame 220
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count = count + 1;
if (count > 2) {
_parent.play();
}
}
Symbol 77 MovieClip [hitsparkspawn] Frame 238
play();
Symbol 77 MovieClip [hitsparkspawn] Frame 239
hideMe();
Instance of Symbol 30 MovieClip in Symbol 77 MovieClip [hitsparkspawn] Frame 240
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count = count + 1;
if (count > 2) {
_parent.play();
}
}
Symbol 77 MovieClip [hitsparkspawn] Frame 242
_parent.hitflash.gotoAndPlay(2);
Symbol 77 MovieClip [hitsparkspawn] Frame 258
play();
Symbol 77 MovieClip [hitsparkspawn] Frame 259
hideMe();
Symbol 79 MovieClip Frame 1
_visible = false;
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 9
gotoAndStop (1);
Symbol 101 MovieClip Frame 1
glow.setMask(oval);
Symbol 101 MovieClip Frame 2
glow.setMask(oval);
Instance of Symbol 107 MovieClip in Symbol 108 MovieClip Frame 1
/* no clip actions */
Symbol 111 MovieClip [bullet] Frame 1
function blurMeZZZ(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
player.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
function moveMe() {
if (_root.bottlePause == 0) {
if (hitStop == 0) {
art.nextFrame();
if (projType == "bottle") {
_x = (_x + (projXspeed * facex));
_y = (_y - (projYspeed - gravity));
gravity = gravity + projGrav;
} else if (projType == "sarynFireball") {
_x = (_x + (projXspeed * facex));
}
if (!(((_root.players["p" + other].noGrab || (_root.players["p" + other].fallen)) || (_root.players["p" + other].specialDefense)) || (_root.players["p" + other].specialDefenseairEscape))) {
if (this.hitbox.hitTest(_root.players["p" + other].player.hb)) {
if (_root.players["p" + other].fireballDeflect) {
_xscale = (_xscale * -1);
if (projType == "bottle") {
gravity = 0;
}
_root.players["p" + self].fireballAttack = 0;
_root.players["p" + other].fireballAttack = 1;
facex = facex * -1;
selfSaver = self;
self = other;
other = selfSaver;
} else if (_root.players["p" + other].dodgestate > 0) {
_root.players["p" + self].gododgeNew(projReact, projHeight, projDamage);
if (_root.players["p" + other].inair) {
_root.players["p" + other].player.gotoAndStop("dj");
}
if (_root.players["p" + other].inair) {
projxf = projxf / 2;
}
_root.players["p" + other]._x = _root.players["p" + other]._x + (projxf * facex);
killMe(2);
} else {
killMe(1);
}
}
count = 25;
while (count <= 35) {
if (count != projNum) {
if (this.hitbox.hitTest(_root.players["projectile" + count].hitbox)) {
if (_root.players["p" + other].fireballDeflect) {
_xscale = (_xscale * -1);
if (projType == "bottle") {
gravity = 0;
}
_root.players["p" + self].fireballAttack = 0;
_root.players["p" + other].fireballAttack = 1;
facex = facex * -1;
selfSaver = self;
self = other;
other = selfSaver;
} else {
_root.players["projectile" + count].killMe(3);
killMe(3);
}
}
}
count++;
}
}
if (Math.abs(_x) > 200) {
killMe(0);
}
} else {
hitStop = hitStop - 1;
}
}
}
function forceKillMe() {
removeMovieClip(this);
}
function killMe(killEffect) {
if (killEffect == 1) {
_root.players["p" + other].fireballHit = 1;
_root.projectileHit = 1;
_root.players["p" + self].imp(projxf, projyf, projDamage, projReact, projHeight, projSound);
if (projType == "bottle") {
_root.players["p" + other].sfx("glass");
}
_root.players["p" + self].hitStop = 0;
_root.projectileHit = 0;
hitStop = projDamage;
hitSparksF(projDamage);
} else if (killEffect == 2) {
_root.projectileHit = 1;
_root.players["p" + other].projForce = 1;
_root.players["p" + other].sfx("block4");
if (projType == "bottle") {
_root.players["p" + other].sfx("glass");
}
_root.players["p" + other].hitpausef(projDamage);
_root.players["p" + self].hitStop = 0;
_root.projectileHit = 0;
hitStop = projDamage;
hitSparksF(projDamage, 1);
} else if (killEffect == 3) {
hitStop = projDamage;
hitSparksF(projDamage, 2);
}
projHitnum = projHitnum - 1;
if (projHitnum <= 0) {
projHitnum = 0;
_root.players["p" + self].fireballTotal = _root.players["p" + self].fireballTotal - 1;
if (_root.players["p" + self].fireballTotal <= 0) {
_root.players["p" + other].fireballHit = 0;
_root.players["p" + self].fireballAttack = 0;
}
removeMovieClip(this);
art.play();
} else {
if (projType == "sarynFireball") {
art._xscale = art._xscale - 4;
art._yscale = art._xscale;
} else if (projType == "arubimFireball") {
if (projDamage == 2) {
projDamage = 1;
} else {
projDamage = 2;
}
}
if (projSound == "sm3") {
projSound = "sm2";
} else {
projSound = "sm3";
}
}
if (projHitnum == 1) {
if (projType == "sarynFireball") {
projxf = projxf * 2;
projDamage = projDamage * 2;
projSound = "sm4";
} else if (projType == "arubimFireball") {
projxf = 10;
projyf = 12;
projDamage = 8;
projSound = "sm4";
}
}
}
function hitSparksF(sparkDamage, sparkStyle) {
_root.sparknum = _root.sparknum + 1;
if (_root.sparknum > 35) {
_root.sparknum = 25;
}
addsparkdepth = 100;
sparkdepth = _root.sparknum + addsparkdepth;
_root.players.attachMovie("hitsparkspawn", "spark" + _root.sparknum, sparkdepth);
sparky = _root.players["spark" + _root.sparknum];
sparky._rotation = random(360);
defenderfront = _root.players["p" + other]._x;
if (sparkStyle == 2) {
sparky.hitStop = 0;
sparky._x = _x;
} else {
sparky.hitStop = sparkDamage;
sparky._x = defenderfront;
}
sparky._y = _y;
if (projType == "arubimFireball") {
sparky._y = _root.players["p" + other]._y;
}
sparky._xscale = 30 + (2 * projDamage);
sparky._yscale = sparky._xscale;
if (sparkStyle != 1) {
sparky.gotoAndPlay("hit4");
} else {
sparky.gotoAndPlay("block");
}
}
gravity = 0;
hitStop = 0;
_root.players["p" + self].fireballAttack = 1;
gotoAndStop(projType);
Instance of Symbol 79 MovieClip "hitbox" in Symbol 111 MovieClip [bullet] Frame 1
onClipEvent (enterFrame) {
_parent.moveMe();
}
Symbol 114 MovieClip [dustback] Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
_alpha = 50;
}
blurMe(2);
stop();
Instance of Symbol 30 MovieClip in Symbol 114 MovieClip [dustback] Frame 2
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count = count + 1;
if (count > 2) {
_parent.play();
}
}
Symbol 114 MovieClip [dustback] Frame 11
gotoAndStop (1);
Instance of Symbol 30 MovieClip in Symbol 114 MovieClip [dustback] Frame 20
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count = count + 1;
if (count > 2) {
_parent.play();
}
}
Symbol 127 MovieClip [dustfront] Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
_alpha = 50;
}
blurMe(2);
stop();
Instance of Symbol 30 MovieClip in Symbol 127 MovieClip [dustfront] Frame 2
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count = count + 1;
if (count > 2) {
_parent.play();
}
}
Symbol 127 MovieClip [dustfront] Frame 11
gotoAndStop (1);
Instance of Symbol 30 MovieClip in Symbol 127 MovieClip [dustfront] Frame 20
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count = count + 1;
if (count > 2) {
_parent.play();
}
}
Symbol 130 MovieClip Frame 2
stop();
Symbol 133 Button
on (release) {
getURL ("http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash", "_blank");
}
Symbol 136 Button
on (release) {
_visible = false;
gotoAndStop (1);
}
Symbol 137 MovieClip Frame 1
stop();
this.cacheAsBitmap = 1;
Symbol 141 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 143 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 5
_root.gsfx("sw4");
Symbol 143 MovieClip Frame 13
_root.gotoAndStop(_root.targetmenu);
Symbol 143 MovieClip Frame 14
_root.gsfx("sw3");
Symbol 143 MovieClip Frame 21
gotoAndStop (1);
Symbol 144 MovieClip Frame 2
loadMovie ("00sounds/globalSounds.swf", this);
Symbol 145 MovieClip Frame 5
_root.optionsopen = 0;
Symbol 149 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 150 Button
on (release) {
gotoAndStop (4);
_root.gsfx("th3");
}
Symbol 151 Button
on (release) {
gotoAndStop (5);
_root.gsfx("th3");
}
Symbol 152 Button
on (release) {
gotoAndStop (2);
_root.gsfx("th3");
}
Symbol 153 Button
on (release) {
gotoAndStop (3);
_root.gsfx("th3");
}
Symbol 156 MovieClip Frame 1
stop();
gotoAndStop(_root.CF3version);
Symbol 161 Button
on (release) {
gotoAndStop (1);
_root["simplespdodge" + self] = 0;
}
Symbol 162 Button
on (release) {
gotoAndStop (2);
_root["simplespdodge" + self] = 1;
}
Symbol 165 MovieClip Frame 1
stop();
Symbol 167 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (7);
_parent.setmatchoptions();
}
}
Symbol 168 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (6);
_parent.setmatchoptions();
}
}
Symbol 169 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (5);
_parent.setmatchoptions();
}
}
Symbol 170 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (4);
_parent.setmatchoptions();
}
}
Symbol 171 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (1);
_parent.setmatchoptions();
}
}
Symbol 172 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (2);
_parent.setmatchoptions();
}
}
Symbol 173 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (3);
_parent.setmatchoptions();
}
}
Symbol 176 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 1
function cb() {
if (_root.stopnav == 0) {
bk = 0;
fk = 0;
bp = 0;
fp = 0;
u = 0;
d = 0;
f = 0;
b = 0;
ps = 0;
if (Key.isDown(bkick)) {
bk = 1;
}
if (Key.isDown(fkick)) {
fk = 1;
}
if (Key.isDown(bpunch)) {
bp = 1;
}
if (Key.isDown(fpunch)) {
fp = 1;
}
if (Key.isDown(up)) {
u = 1;
}
if (Key.isDown(down)) {
d = 1;
}
if (Key.isDown(forward)) {
f = 1;
}
if (Key.isDown(back)) {
b = 1;
}
if (Key.isDown(pauseKey)) {
ps = 1;
}
}
}
Symbol 179 MovieClip Frame 2
function startcontrol() {
p1.up = _root.Cp1u;
p1.down = _root.Cp1d;
p1.forward = _root.Cp1f;
p1.back = _root.Cp1b;
p1.bkick = _root.Cp1bk;
p1.fkick = _root.Cp1fk;
p1.bpunch = _root.Cp1bp;
p1.fpunch = _root.Cp1fp;
p1.pauseKey = _root.Cp1ps;
p2.up = _root.Cp2u;
p2.down = _root.Cp2d;
p2.forward = _root.Cp2b;
p2.back = _root.Cp2f;
p2.bkick = _root.Cp2bk;
p2.fkick = _root.Cp2fk;
p2.bpunch = _root.Cp2bp;
p2.fpunch = _root.Cp2fp;
p2.pauseKey = _root.Cp2ps;
}
function startcontrol2() {
p1.bk = 0;
p1.fk = 0;
p1.bp = 0;
p1.fp = 0;
p1.u = 0;
p1.d = 0;
p1.f = 0;
p1.b = 0;
p1.ps = 0;
p2.bk = 0;
p2.fk = 0;
p2.bp = 0;
p2.fp = 0;
p2.u = 0;
p2.d = 0;
p2.f = 0;
p2.b = 0;
p2.ps = 0;
p1.up = _root.Cp1u;
p1.down = _root.Cp1d;
p1.forward = _root.Cp1f;
p1.back = _root.Cp1b;
p1.bkick = _root.Cp1bk;
p1.fkick = _root.Cp1fk;
p1.bpunch = _root.Cp1bp;
p1.fpunch = _root.Cp1fp;
p1.pauseKey = _root.Cp1ps;
p2.up = _root.Cp2u;
p2.down = _root.Cp2d;
p2.forward = _root.Cp2b;
p2.back = _root.Cp2f;
p2.bkick = _root.Cp2bk;
p2.fkick = _root.Cp2fk;
p2.bpunch = _root.Cp2bp;
p2.fpunch = _root.Cp2fp;
p2.pauseKey = _root.Cp2ps;
}
startcontrol();
stop();
Symbol 181 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (1);
}
}
Symbol 182 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (2);
}
}
Symbol 183 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (3);
}
}
Symbol 185 MovieClip Frame 1
stop();
Symbol 190 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (4);
}
}
Symbol 191 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (1);
}
}
Symbol 192 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (2);
}
}
Symbol 193 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (3);
}
}
Symbol 195 MovieClip Frame 1
stop();
Symbol 203 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (5);
}
}
Symbol 204 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (4);
}
}
Symbol 205 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (1);
}
}
Symbol 206 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (2);
}
}
Symbol 207 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (3);
}
}
Symbol 209 MovieClip Frame 1
stop();
Symbol 210 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (5);
}
}
Symbol 211 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (4);
}
}
Symbol 212 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (1);
}
}
Symbol 213 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (2);
}
}
Symbol 214 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (3);
}
}
Symbol 215 MovieClip Frame 1
stop();
Symbol 216 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (4);
}
}
Symbol 217 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (1);
}
}
Symbol 218 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (2);
}
}
Symbol 219 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (3);
}
}
Symbol 221 MovieClip Frame 1
stop();
Symbol 222 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (10);
}
}
Symbol 223 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (9);
}
}
Symbol 224 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (8);
}
}
Symbol 225 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (7);
}
}
Symbol 226 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (6);
}
}
Symbol 227 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (5);
}
}
Symbol 228 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (4);
}
}
Symbol 229 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (1);
}
}
Symbol 230 Button
on (release) {
if (((_root.survivalmode == 0) && (_root.miniGameMode == 0)) && (_root.gmode != 1)) {
gotoAndStop (2);
}
}
Symbol 231 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (3);
}
}
Symbol 233 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 1
stop();
Symbol 249 Button
on (release) {
loadMovieNum ("Credits.swf", 1);
}
Symbol 251 Button
on (release) {
exitoptions(1);
}
Symbol 253 Button
on (release) {
exitoptions(0);
}
Symbol 254 Button
on (release) {
players.p1stop.gotoAndPlay(4);
players.p2stop.gotoAndPlay(4);
if (_root.optionsopen == 0) {
if (((_root.paused == 0) && (startmatch._currentframe == 50)) && (endmatch._currentframe == 1)) {
_root.paused = 1;
_root.players.p1.paused = 1;
_root.players.p2.paused = 1;
pausemenu.gotoAndPlay(2);
pausemenu.playerselect = 1;
players.p1stop.gotoAndStop(2);
players.p2stop.gotoAndStop(2);
} else if (((_root.paused == 1) && (startmatch._currentframe == 50)) && (endmatch._currentframe == 1)) {
_root.paused = 0;
_root.players.p1.paused = 0;
_root.players.p2.paused = 0;
pausemenu.gotoAndPlay(6);
}
}
}
Symbol 310 MovieClip Frame 1
function showkey() {
gotoAndStop(_root["C" + _parent.value]);
char = chr(_root["C" + _parent.value]);
}
stop();
Instance of Symbol 260 MovieClip "forcenode" in Symbol 310 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.char = chr(_root["C" + _parent.value]);
_parent.gotoAndStop(_root["C" + _parent.value]);
}
Symbol 313 Button
on (release) {
nextFrame();
}
Symbol 315 Button
on (release) {
prevFrame();
}
Symbol 316 MovieClip Frame 1
stop();
_root.stopnav = 0;
_root.optionsmenu.keymenubuttons.keysup = 0;
Symbol 316 MovieClip Frame 2
stop();
_root.stopnav = 1;
Instance of Symbol 314 MovieClip "forcenode" in Symbol 316 MovieClip Frame 2
onClipEvent (keyDown) {
_parent._parent.setkey(_parent.value);
_parent.prevFrame();
}
onClipEvent (mouseDown) {
_parent.prevFrame();
}
Symbol 327 MovieClip Frame 1
stop();
function setkey(kvalue, thekey) {
if (((((((((Key.getCode() != _root.Cp1u) && (Key.getCode() != _root.Cp1f)) && (Key.getCode() != _root.Cp1d)) && (Key.getCode() != _root.Cp1b)) && (Key.getCode() != _root.Cp1bp)) && (Key.getCode() != _root.Cp1fp)) && (Key.getCode() != _root.Cp1bk)) && (Key.getCode() != _root.Cp1fk)) && (Key.getCode != _root.Cp1ps)) {
if (((((((((Key.getCode() != _root.Cp2u) && (Key.getCode() != _root.Cp2f)) && (Key.getCode() != _root.Cp2d)) && (Key.getCode() != _root.Cp2b)) && (Key.getCode() != _root.Cp2bp)) && (Key.getCode() != _root.Cp2fp)) && (Key.getCode() != _root.Cp2bk)) && (Key.getCode() != _root.Cp2fk)) && (Key.getCode != _root.Cp2ps)) {
_root["C" + kvalue] = Key.getCode();
eval (kvalue).gotoAndStop(Key.getCode());
eval (kvalue).char = chr(_root["C" + kvalue]);
kvalue.showkey();
}
}
}
Instance of Symbol 310 MovieClip "p2ps" in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p2ps";
}
Instance of Symbol 310 MovieClip "p1ps" in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p1ps";
}
Instance of Symbol 310 MovieClip "p2bp" in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p2bp";
}
Instance of Symbol 310 MovieClip "p2bk" in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p2bk";
}
Instance of Symbol 310 MovieClip "p2fk" in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p2fk";
}
Instance of Symbol 310 MovieClip "p2fp" in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p2fp";
}
Instance of Symbol 310 MovieClip "p2b" in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p2b";
}
Instance of Symbol 310 MovieClip "p2f" in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p2f";
}
Instance of Symbol 310 MovieClip "p2d" in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p2d";
}
Instance of Symbol 310 MovieClip "p2u" in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p2u";
}
Instance of Symbol 310 MovieClip "p1bp" in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p1bp";
}
Instance of Symbol 310 MovieClip "p1bk" in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p1bk";
}
Instance of Symbol 310 MovieClip "p1fk" in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p1fk";
}
Instance of Symbol 310 MovieClip "p1fp" in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p1fp";
}
Instance of Symbol 310 MovieClip "p1f" in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p1f";
}
Instance of Symbol 310 MovieClip "p1b" in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p1b";
}
Instance of Symbol 310 MovieClip "p1d" in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p1d";
}
Instance of Symbol 310 MovieClip "p1u" in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p1u";
}
Instance of Symbol 316 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p2ps";
}
Instance of Symbol 316 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p1ps";
}
Instance of Symbol 316 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p2d";
}
Instance of Symbol 316 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p2bk";
}
Instance of Symbol 316 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p2bp";
}
Instance of Symbol 316 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p2f";
}
Instance of Symbol 316 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p2b";
}
Instance of Symbol 316 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p2u";
}
Instance of Symbol 316 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p2fk";
}
Instance of Symbol 316 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p2fp";
}
Instance of Symbol 316 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p1d";
}
Instance of Symbol 316 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p1bk";
}
Instance of Symbol 316 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p1bp";
}
Instance of Symbol 316 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p1b";
}
Instance of Symbol 316 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p1f";
}
Instance of Symbol 316 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p1u";
}
Instance of Symbol 316 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p1fk";
}
Instance of Symbol 316 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
value = "p1fp";
}
Symbol 330 MovieClip Frame 1
stop();
Symbol 341 Button
on (release) {
gotoAndStop (1);
}
Symbol 342 Button
on (release) {
gotoAndStop (2);
}
Symbol 343 MovieClip Frame 1
stop();
Symbol 344 Button
on (release) {
gotoAndStop (1);
}
Symbol 345 Button
on (release) {
gotoAndStop (2);
}
Symbol 348 MovieClip Frame 1
stop();
Symbol 356 MovieClip Frame 1
stop();
Symbol 363 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (11);
}
}
Symbol 364 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (10);
}
}
Symbol 365 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (9);
}
}
Symbol 366 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (8);
}
}
Symbol 367 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (7);
}
}
Symbol 368 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (6);
}
}
Symbol 369 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (5);
}
}
Symbol 370 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (4);
}
}
Symbol 371 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (1);
}
}
Symbol 372 Button
on (release) {
if (((_root.survivalmode == 0) && (_root.miniGameMode == 0)) && (_root.gmode != 1)) {
gotoAndStop (2);
}
}
Symbol 373 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (3);
}
}
Symbol 375 MovieClip Frame 1
stop();
Symbol 376 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (11);
}
}
Symbol 377 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (10);
}
}
Symbol 378 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (9);
}
}
Symbol 379 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (8);
}
}
Symbol 380 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (7);
}
}
Symbol 381 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (6);
}
}
Symbol 382 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (5);
}
}
Symbol 383 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (4);
}
}
Symbol 384 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (1);
}
}
Symbol 385 Button
on (release) {
if (((_root.survivalmode == 0) && (_root.miniGameMode == 0)) && (_root.gmode != 1)) {
gotoAndStop (2);
}
}
Symbol 386 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (3);
}
}
Symbol 387 MovieClip Frame 1
stop();
Symbol 388 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (11);
}
}
Symbol 389 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (10);
}
}
Symbol 390 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (9);
}
}
Symbol 391 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (8);
}
}
Symbol 392 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (7);
}
}
Symbol 393 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (6);
}
}
Symbol 394 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (5);
}
}
Symbol 395 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (4);
}
}
Symbol 396 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (1);
}
}
Symbol 397 Button
on (release) {
if (((_root.survivalmode == 0) && (_root.miniGameMode == 0)) && (_root.gmode != 1)) {
gotoAndStop (2);
}
}
Symbol 398 Button
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
gotoAndStop (3);
}
}
Symbol 399 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 1
stop();
Symbol 406 MovieClip Frame 1
function exitoptions(num) {
gotoAndStop (1);
_root.resetkeys = 1;
_root.gamemodebuttons.startcontrol();
_root.pausemenu.pausemenubuttons.startcontrol();
_root.pausemenu.pausemenubuttons.startcontrol();
_root.endmatch.endmatchbuttons.startcontrol();
_root.resumematchselected = 0;
_root.gamemodeselect = 0;
_root.newmatchselected = 0;
_root.setnewvolume();
delay.gotoAndPlay(2);
_root.setbgeffects();
_root.setInputWindow();
if (_root._currentframe == 11) {
if (_root.Csmoothing == 1) {
_quality = "low";
} else if (_root.Csmoothing == 2) {
_quality = "medium";
} else if (_root.Csmoothing == 3) {
_quality = "high";
}
}
if ((_root.Cbgpeople == 0) || (_root.gamemode == 6)) {
_root.players.rodapeople._visible = false;
_root.players.bg.img.scroller.ground.groundart._visible = false;
} else {
_root.players.rodapeople._visible = true;
_root.players.bg.img.scroller.ground.groundart._visible = true;
}
if (((_root.survivalmode == 0) && (_root.miniGameMode == 0)) && (_root.gameMode != 1)) {
if (_root.Croundtime == 4) {
_root.timeMC._visible = false;
_root.inf._visible = true;
} else {
_root.timeMC._visible = true;
_root.inf._visible = false;
}
}
if (_root.Cshadows == 0) {
_root.players.s1._visible = false;
_root.players.s2._visible = false;
_root.players.s3._visible = false;
_root.players.s4._visible = false;
} else if (_root.Cshadows == 1) {
_root.players.s1._visible = true;
_root.players.s2._visible = true;
if (_root.teamsize1 == 2) {
_root.players.s3._visible = true;
}
if (_root.teamsize2 == 2) {
_root.players.s4._visible = true;
}
}
if (_level1._currentframe == 2) {
stopAllSounds();
_root.gmfx("intromusic");
}
if (num == 0) {
_root.gsfx("sm3");
if (((_root.survivalmode == 0) && (_root.miniGameMode == 0)) && (_root.gameMode != 1)) {
_root.setdefaults();
}
} else {
_root.gsfx("th3");
}
_root.sfx.thump4.setVolume(_root.Ceffectsvolume * _root.Cmastervolume);
_root.mfx.thump4.setVolume(_root.Cmusicvolume * _root.Cmastervolume);
_root.saveCookie();
}
stop();
Symbol 406 MovieClip Frame 2
_root.optionsopen = 1;
_visible = true;
versionnum = "BUILD: " + _root.versionnum;
_quality = "high";
menu.men1.gotoAndStop(_root.Cdifficulty);
if (_root.Cmaxrounds == 1) {
menu.men2.gotoAndStop(1);
}
if (_root.Cmaxrounds == 3) {
menu.men2.gotoAndStop(2);
}
if (_root.Cmaxrounds == 5) {
menu.men2.gotoAndStop(3);
}
if (_root.Cmaxrounds == 7) {
menu.men2.gotoAndStop(4);
}
menu.men3.gotoAndStop(_root.Cpointspeed * 4);
menu.men4.gotoAndStop(_root.Cgravity * 2);
menu.men5.gotoAndStop(_root.Croundtime);
menu.men8.gotoAndStop(_root.CinputWindow);
function setmatchoptions(Vselection) {
if ((_root.gmode != 1) && (_root.survivalmode == 0)) {
_root.Cdifficulty = menu.men1._currentframe;
if (menu.men2._currentframe == 1) {
_root.Cmaxrounds = 1;
}
if (menu.men2._currentframe == 2) {
_root.Cmaxrounds = 3;
}
if (menu.men2._currentframe == 3) {
_root.Cmaxrounds = 5;
}
if (menu.men2._currentframe == 4) {
_root.Cmaxrounds = 7;
}
_root.Cpointspeed = menu.men3._currentframe / 4;
_root.Cgravity = menu.men4._currentframe / 2;
_root.Croundtime = menu.men5._currentframe;
_root.Cp1strength = p1handicap._currentframe;
_root.Cp2strength = p2handicap._currentframe;
_root.CinputWindow = menu.men8._currentframe;
}
}
Instance of Symbol 165 MovieClip "p2simplespdodge" in Symbol 406 MovieClip Frame 2
onClipEvent (load) {
self = 2;
gotoAndStop(_root.simplespdodge2 + 1);
}
Instance of Symbol 165 MovieClip "p1simplespdodge" in Symbol 406 MovieClip Frame 2
onClipEvent (load) {
self = 1;
gotoAndStop(_root.simplespdodge1 + 1);
}
Instance of Symbol 176 MovieClip "p2handicap" in Symbol 406 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(_root.Cp2strength);
}
Instance of Symbol 176 MovieClip "p1handicap" in Symbol 406 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(_root.Cp1strength);
}
Instance of Symbol 179 MovieClip "matchtypebuttons" in Symbol 406 MovieClip Frame 2
onClipEvent (load) {
Vselection = 1;
keysup = 0;
}
onClipEvent (enterFrame) {
if (((_parent.menu._currentframe == 7) && (_root.gmode != 1)) && (_root.survivalmode == 0)) {
p1.cb();
p2.cb();
if (!(p1.f or p1.b)) {
p1keysup = 6;
}
if (p1keysup > 5) {
if (p1.f == 1) {
_root.gsfx("th1");
_parent.p1handicap.nextFrame();
p1keysup = 0;
}
if (p1.b == 1) {
_root.gsfx("th1");
_parent.p1handicap.prevFrame();
p1keysup = 0;
}
_root.Cp1strength = _parent.p1handicap._currentframe;
} else {
p1keysup = p1keysup + 1;
}
if (!(p2.f or p2.b)) {
p2keysup = 6;
}
if (p2keysup > 5) {
if (p2.f == 1) {
_root.gsfx("th1");
_parent.p2handicap.nextFrame();
p2keysup = 0;
}
if (p2.b == 1) {
_root.gsfx("th1");
_parent.p2handicap.prevFrame();
p2keysup = 0;
}
_root.Cp2strength = _parent.p2handicap._currentframe;
} else {
p2keysup = p2keysup + 1;
}
} else if (_parent.menu._currentframe == 8) {
p1.cb();
p2.cb();
if (!(p1.f or p1.b)) {
p1keysup = 6;
}
if (p1keysup > 5) {
if (p1.f == 1) {
_root.gsfx("th1");
_parent.p1simplespdodge.nextFrame();
p1keysup = 0;
}
if (p1.b == 1) {
_root.gsfx("th1");
_parent.p1simplespdodge.prevFrame();
p1keysup = 0;
}
_root.simplespdodge1 = _parent.p1simplespdodge._currentframe - 1;
} else {
p1keysup = p1keysup + 1;
}
if (!(p2.f or p2.b)) {
p2keysup = 6;
}
if (p2keysup > 5) {
if (p2.f == 1) {
_root.gsfx("th1");
_parent.p2simplespdodge.nextFrame();
p2keysup = 0;
}
if (p2.b == 1) {
_root.gsfx("th1");
_parent.p2simplespdodge.prevFrame();
p2keysup = 0;
}
_root.simplespdodge2 = _parent.p2simplespdodge._currentframe - 1;
} else {
p2keysup = p2keysup + 1;
}
}
}
Instance of Symbol 179 MovieClip "d" in Symbol 406 MovieClip Frame 2
onClipEvent (load) {
Vselection = 0;
menusum = 8;
keysup = 0;
keywait = 0;
}
onClipEvent (enterFrame) {
keywait = keywait + 1;
if (keywait > 4) {
p1.cb();
p2.cb();
if (!(((((((((((((((p1.u or p1.d) or p1.f) or p1.b) or p2.u) or p2.d) or p2.f) or p2.b) or p1.bp) or p1.fp) or p1.bk) or p1.fk) or p2.bp) or p2.fp) or p2.bk) or p2.fk)) {
keysup = 6;
}
if (keysup > 5) {
if (((((((p1.u or p1.d) or p2.u) or p2.d) or p1.f) or p1.b) or p2.f) or p2.b) {
keysup = 0;
}
if ((p1.u or p2.u) && (((_root.survivalmode == 0) && (_root.miniGameMode == 0)) && (_root.gameMode != 1))) {
if (Vselection > 0) {
_root.gsfx("th2");
_parent.menu.prevFrame();
Vselection = Vselection - 1;
}
} else if ((p1.d or p2.d) && (((_root.survivalmode == 0) && (_root.miniGameMode == 0)) && (_root.gameMode != 1))) {
if (Vselection < menusum) {
_root.gsfx("th2");
Vselection = Vselection + 1;
_parent.menu.nextFrame();
}
}
if ((p1.f or p2.f) && (((_root.survivalmode == 0) && (_root.gmode != 1)) || (Vselection == 0))) {
if (Vselection == 0) {
_root.gsfx("th3");
_parent.nextFrame();
} else {
_root.gsfx("th1");
_parent.menu["men" + Vselection].nextFrame();
_parent.setmatchoptions(Vselection);
}
} else if ((p1.b or p2.b) && (_root.survivalmode == 0)) {
if ((Vselection == 0) && (_parent._currentframe > 2)) {
_root.gsfx("th3");
_parent.prevFrame();
} else {
_root.gsfx("th1");
_parent.menu["men" + Vselection].prevFrame();
}
}
if (((p1.bp or p2.bp) or p1.fp) or p2.fp) {
_parent.exitoptions(0);
} else if (((p1.bk or p2.bk) or p1.fk) or p2.fk) {
_parent.exitoptions(1);
}
} else {
keysup = keysup + 1;
}
}
_parent.setmatchoptions();
}
Instance of Symbol 250 MovieClip in Symbol 406 MovieClip Frame 2
onClipEvent (load) {
if (_root.CF3version == "web") {
_visible = false;
}
}
Symbol 406 MovieClip Frame 3
if (_root.Cp2bk == 66) {
menu.men1.gotoAndStop(1);
}
if (_root.Cp2bk == 86) {
menu.men1.gotoAndStop(2);
}
function setkeyoptionszzzz(Vselection) {
if (menu.men1._currentframe == 1) {
_root.Cp2bk = 99;
_root.Cp2fk = 98;
_root.Cp2fp = 101;
_root.Cp2bp = 102;
}
if (menu.men1._currentframe == 2) {
_root.Cp2bk = 186;
_root.Cp2fk = 76;
_root.Cp2fp = 80;
_root.Cp2bp = 219;
}
keymenubuttons.startcontrol();
}
Instance of Symbol 179 MovieClip "keymenubuttons" in Symbol 406 MovieClip Frame 3
onClipEvent (load) {
Vselection = 0;
menusum = 1;
keysup = 0;
keywait = 0;
}
onClipEvent (enterFrame) {
keywait = keywait + 1;
if (keywait > 4) {
p1.cb();
p2.cb();
if (!(((((((((((((((p1.u or p1.d) or p1.f) or p1.b) or p2.u) or p2.d) or p2.f) or p2.b) or p1.bp) or p1.fp) or p1.bk) or p1.fk) or p2.bp) or p2.fp) or p2.bk) or p2.fk)) {
keysup = 6;
}
if ((keysup > 5) && (_root.stopnav == 0)) {
if (((((((p1.u or p1.d) or p2.u) or p2.d) or p1.f) or p1.b) or p2.f) or p2.b) {
keysup = 0;
}
if (p1.u or p2.u) {
if (Vselection > 0) {
_root.gsfx("th2");
_parent.menu.prevFrame();
Vselection = Vselection - 1;
}
} else if (p1.d or p2.d) {
if (Vselection < menusum) {
_root.gsfx("th2");
Vselection = Vselection + 1;
_parent.menu.nextFrame();
}
}
if (p1.f or p2.f) {
if (Vselection == 0) {
_root.gsfx("th3");
_parent.nextFrame();
} else {
_root.gsfx("th1");
_parent.menu["men" + Vselection].nextFrame();
_parent.setkeyoptions(Vselection);
}
} else if (p1.b or p2.b) {
if ((Vselection == 0) && (_parent._currentframe > 2)) {
_root.gsfx("th3");
_parent.prevFrame();
} else {
_root.gsfx("th1");
_parent.menu["men" + Vselection].prevFrame();
}
}
if (((p1.bp or p2.bp) or p1.fp) or p2.fp) {
_parent.exitoptions(0);
} else if (((p1.bk or p2.bk) or p1.fk) or p2.fk) {
_parent.exitoptions(1);
}
} else {
keysup = keysup + 1;
}
}
_parent.setkeyoptions();
}
Symbol 406 MovieClip Frame 4
if (_level0._xscale == 100) {
menu.men2.gotoAndStop(1);
} else {
menu.men2.gotoAndStop(2);
}
menu.men4.gotoAndStop(_root.Chitsparks + 1);
menu.men5.gotoAndStop(_root.Cdust + 1);
menu.men6.gotoAndStop(_root.Cbgeffects + 1);
menu.men7.gotoAndStop(_root.Cbgpeople + 1);
menu.men8.gotoAndStop(_root.Cshadows + 1);
function setvideooptions(Vselection) {
if (menu.men2._currentframe == 1) {
_level0._xscale = 100;
_level0._yscale = 100;
_level0._x = 160;
_level0._y = 120;
}
if (menu.men2._currentframe == 2) {
_level0._xscale = 200;
_level0._yscale = 200;
_level0._x = 0;
_level0._y = 0;
}
if (menu.men3._currentframe == 1) {
}
if (menu.men3._currentframe == 2) {
}
_root.Chitsparks = menu.men4._currentframe - 1;
_root.Cdust = menu.men5._currentframe - 1;
_root.Cbgeffects = menu.men6._currentframe - 1;
_root.Cbgpeople = menu.men7._currentframe - 1;
_root.Cshadows = menu.men8._currentframe - 1;
}
Instance of Symbol 179 MovieClip "d" in Symbol 406 MovieClip Frame 4
onClipEvent (load) {
Vselection = 0;
menusum = 8;
keysup = 0;
keywait = 0;
}
onClipEvent (enterFrame) {
keywait = keywait + 1;
if (keywait > 4) {
p1.cb();
p2.cb();
if (!(((((((((((((((p1.u or p1.d) or p1.f) or p1.b) or p2.u) or p2.d) or p2.f) or p2.b) or p1.bp) or p1.fp) or p1.bk) or p1.fk) or p2.bp) or p2.fp) or p2.bk) or p2.fk)) {
keysup = 6;
}
if (keysup > 5) {
if (((((((p1.u or p1.d) or p2.u) or p2.d) or p1.f) or p1.b) or p2.f) or p2.b) {
keysup = 0;
}
if (p1.u or p2.u) {
if (Vselection > 0) {
_root.gsfx("th2");
_parent.menu.prevFrame();
Vselection = Vselection - 1;
}
} else if (p1.d or p2.d) {
if (Vselection < menusum) {
_root.gsfx("th2");
Vselection = Vselection + 1;
_parent.menu.nextFrame();
}
}
if (p1.f or p2.f) {
if (Vselection == 0) {
_root.gsfx("th3");
_parent.nextFrame();
} else {
_root.gsfx("th1");
_parent.menu["men" + Vselection].nextFrame();
_parent.setvideooptions(Vselection);
}
} else if (p1.b or p2.b) {
if ((Vselection == 0) && (_parent._currentframe > 2)) {
_root.gsfx("th3");
_parent.prevFrame();
} else {
_root.gsfx("th1");
_parent.menu["men" + Vselection].prevFrame();
}
}
if (((p1.bp or p2.bp) or p1.fp) or p2.fp) {
_parent.exitoptions(0);
} else if (((p1.bk or p2.bk) or p1.fk) or p2.fk) {
_parent.exitoptions(1);
}
} else {
keysup = keysup + 1;
}
}
_parent.setvideooptions();
}
Symbol 406 MovieClip Frame 5
menu.men1.gotoAndStop((_root.Cmastervolume + 0.1) * 10);
menu.men2.gotoAndStop((_root.Ceffectsvolume + 10) / 10);
menu.men3.gotoAndStop((_root.Cmusicvolume2 + 10) / 10);
function setsoundoptions(Vselection) {
_root.Cmastervolume = (menu.men1._currentframe / 10) - 0.1;
_root.Ceffectsvolume = (menu.men2._currentframe * 10) - 10;
_root.Cmusicvolume = (menu.men3._currentframe * 10) - 10;
_root.Cmusicvolume2 = _root.Cmusicvolume;
_root.Cbuttonvolume = _root.Cmusicvolume / 2;
}
Instance of Symbol 179 MovieClip "d" in Symbol 406 MovieClip Frame 5
onClipEvent (load) {
Vselection = 0;
menusum = 3;
keysup = 0;
keywait = 0;
}
onClipEvent (enterFrame) {
keywait = keywait + 1;
if (keywait > 4) {
p1.cb();
p2.cb();
if (!(((((((((((((((p1.u or p1.d) or p1.f) or p1.b) or p2.u) or p2.d) or p2.f) or p2.b) or p1.bp) or p1.fp) or p1.bk) or p1.fk) or p2.bp) or p2.fp) or p2.bk) or p2.fk)) {
keysup = 6;
}
if (keysup > 5) {
if (((((((p1.u or p1.d) or p2.u) or p2.d) or p1.f) or p1.b) or p2.f) or p2.b) {
keysup = 0;
}
if (p1.u or p2.u) {
if (Vselection > 0) {
_root.gsfx("th2");
_parent.menu.prevFrame();
Vselection = Vselection - 1;
}
} else if (p1.d or p2.d) {
if (Vselection < menusum) {
_root.gsfx("th2");
Vselection = Vselection + 1;
_parent.menu.nextFrame();
}
}
if (p1.f or p2.f) {
if (Vselection == 0) {
_root.gsfx("th3");
_parent.nextFrame();
} else {
_root.gsfx("th1");
_parent.menu["men" + Vselection].nextFrame();
_parent.setsoundoptions(Vselection);
}
} else if (p1.b or p2.b) {
if ((Vselection == 0) && (_parent._currentframe > 2)) {
_root.gsfx("th3");
_parent.prevFrame();
} else {
_root.gsfx("th1");
_parent.menu["men" + Vselection].prevFrame();
}
}
if (((p1.bp or p2.bp) or p1.fp) or p2.fp) {
_parent.exitoptions(0);
} else if (((p1.bk or p2.bk) or p1.fk) or p2.fk) {
_parent.exitoptions(1);
}
} else {
keysup = keysup + 1;
}
}
_parent.setsoundoptions();
}
Symbol 420 Button
on (release) {
_root.gotoAndStop(2);
_root.buttonSound(1);
}
Symbol 421 MovieClip Frame 1
stop();
Symbol 424 Button
on (release) {
gotoAndStop(random(20) + 1);
wait = 0;
}
Symbol 446 MovieClip Frame 1
stop();
wait = 0;
Instance of Symbol 30 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.wait = _parent.wait + 1;
if (_parent.wait > 90) {
_parent.wait = 0;
_parent.gotoAndStop(random(20) + 1);
}
}
Symbol 451 MovieClip Frame 1
stop();
Symbol 464 MovieClip Frame 1
stop();
Symbol 484 MovieClip Frame 1
stop();
gotoAndStop(_root.CF3version);
Symbol 489 MovieClip Frame 1
stop();
gotoAndStop(_root.CF3version);
Symbol 494 MovieClip Frame 1
stop();
gotoAndStop(_root.CF3version);
Symbol 495 MovieClip Frame 2
stopAllSounds();
_quality = "high";
Symbol 495 MovieClip Frame 3
_root.sfx.gsfx.playsound("swish4");
Symbol 495 MovieClip Frame 6
_root.sfx.gsfx.playsound("thump4");
Symbol 495 MovieClip Frame 7
if (_root.CF3version == "minigame") {
_root.sfx.gsfx.playsound("titlemusic", 0, 9999);
} else {
_root.sfx.gsfx.playsound("titlemusic", 0, 9999);
}
Symbol 495 MovieClip Frame 16
stop();
Symbol 498 Button
on (press) {
gotoAndStop (1);
}
Symbol 514 MovieClip Frame 1
stop();
Symbol 514 MovieClip Frame 6
gotoAndStop (1);
Symbol 518 Button
on (press) {
gotoAndStop (1);
}
Symbol 519 Button
on (press) {
_root.openPurchasePage();
gotoAndStop (1);
}
Symbol 520 MovieClip Frame 1
stop();
Instance of Symbol 514 MovieClip in Symbol 520 MovieClip Frame 3
onClipEvent (load) {
wait = 0;
}
onClipEvent (enterFrame) {
wait = wait + 1;
if (wait > 90) {
wait = 0;
nextFrame();
}
}
Symbol 523 Button
on (release) {
_root.quitMe();
}
Symbol 526 Button
on (release) {
nextFrame();
}
Symbol 532 Button
on (release, keyPress "<Enter>") {
_root.cheatWord = this.cheatwordText.text;
_root.checkPassword();
gotoAndStop (1);
}
Symbol 534 MovieClip Frame 1
stop();
_alpha = 50;
Symbol 534 MovieClip Frame 2
_alpha = 100;
Instance of Symbol 545 MovieClip in Symbol 547 MovieClip Frame 1
onClipEvent (load) {
if (_root.CF3version == "full") {
_visible = false;
}
}
Symbol 548 Button
on (release) {
gotoAndStop (1);
_root.arcadeDifficulty = 1;
}
Symbol 549 Button
on (release) {
gotoAndStop (2);
_root.arcadeDifficulty = 3;
}
Symbol 550 Button
on (release) {
gotoAndStop (3);
_root.arcadeDifficulty = 5;
}
Symbol 554 MovieClip Frame 1
stop();
Symbol 556 Button
on (rollOver, release) {
gotoAndStop (1);
}
on (release) {
_root.setgamemode(1, 1);
}
Symbol 557 Button
on (rollOver, release) {
gotoAndStop (6);
}
on (release) {
_root.setgamemode(6, 1);
}
Symbol 558 Button
on (rollOver, release) {
gotoAndStop (4);
}
on (release) {
_root.setgamemode(4, 1);
}
Symbol 559 Button
on (rollOver, release) {
gotoAndStop (5);
}
on (release) {
_root.setgamemode(5, 1);
}
Symbol 560 Button
on (rollOver, release) {
gotoAndStop (8);
}
on (release) {
_root.setgamemode(8, 1);
}
Symbol 561 Button
on (rollOver, release) {
gotoAndStop (7);
}
on (release) {
_root.setgamemode(7, 1);
}
Symbol 562 Button
on (rollOver, release) {
gotoAndStop (3);
}
on (release) {
_root.setgamemode(3, 1);
}
Symbol 563 Button
on (rollOver, release) {
gotoAndStop (2);
}
on (release) {
_root.setgamemode(2, 1);
}
Symbol 566 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 569 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 571 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 573 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 575 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 577 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 579 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 581 MovieClip Frame 1
this.cacheAsBitmap = 1;
Instance of Symbol 567 MovieClip in Symbol 582 MovieClip Frame 10
onClipEvent (load) {
if (_root.CF3version == "web") {
_alpha = 25;
}
}
Instance of Symbol 569 MovieClip in Symbol 582 MovieClip Frame 13
onClipEvent (load) {
if (_root.CF3version == "minigame") {
_alpha = 25;
}
}
Instance of Symbol 571 MovieClip in Symbol 582 MovieClip Frame 16
onClipEvent (load) {
if (_root.CF3version == "minigame") {
_alpha = 25;
}
}
Instance of Symbol 573 MovieClip in Symbol 582 MovieClip Frame 19
onClipEvent (load) {
if (_root.CF3version == "survival") {
_alpha = 25;
}
}
Instance of Symbol 575 MovieClip in Symbol 582 MovieClip Frame 22
onClipEvent (load) {
if (_root.CF3version == "minigame") {
_alpha = 25;
}
}
Instance of Symbol 577 MovieClip in Symbol 582 MovieClip Frame 25
onClipEvent (load) {
if (_root.CF3version == "survival") {
_alpha = 25;
}
}
Instance of Symbol 579 MovieClip in Symbol 582 MovieClip Frame 29
onClipEvent (load) {
if (_root.CF3version == "minigame") {
_alpha = 25;
}
}
Symbol 582 MovieClip Frame 32
stop();
Symbol 587 Button
on (release) {
_root.multiplay3 = 0;
_root.multiplay4 = 0;
}
Symbol 588 Button
on (release) {
_root.multiplay3 = 1;
_root.multiplay4 = 0;
}
Symbol 589 Button
on (release) {
_root.multiplay3 = 1;
_root.multiplay4 = 1;
}
Symbol 593 MovieClip Frame 1
stop();
Symbol 598 Button
on (release) {
_root.coop = 0;
}
Symbol 599 Button
on (release) {
_root.coop = 1;
}
Symbol 602 MovieClip Frame 1
stop();
Symbol 623 MovieClip Frame 1
stop();
Instance of Symbol 543 MovieClip in Symbol 623 MovieClip Frame 1
onClipEvent (load) {
if (_root.CF3version == "survival") {
_alpha = 25;
}
}
Instance of Symbol 547 MovieClip in Symbol 623 MovieClip Frame 1
onClipEvent (load) {
if (_root.CF3version == "web") {
_alpha = 25;
}
}
Instance of Symbol 554 MovieClip in Symbol 623 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.arcadeDifficulty == 1) {
gotoAndStop (1);
} else if (_root.arcadeDifficulty == 3) {
gotoAndStop (2);
} else if (_root.arcadeDifficulty == 5) {
gotoAndStop (3);
}
}
Instance of Symbol 584 MovieClip in Symbol 623 MovieClip Frame 2
onClipEvent (load) {
if (_root.CF3version == "minigame") {
_alpha = 25;
}
}
Instance of Symbol 586 MovieClip in Symbol 623 MovieClip Frame 2
onClipEvent (load) {
if (_root.CF3version == "minigame") {
_visible = false;
}
}
Instance of Symbol 593 MovieClip in Symbol 623 MovieClip Frame 2
onClipEvent (load) {
if (_root.CF3version == "minigame") {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.multiplay3 == 1) {
gotoAndStop (2);
if (_root.multiplay4 == 1) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 595 MovieClip in Symbol 623 MovieClip Frame 3
onClipEvent (load) {
if (_root.CF3version == "minigame") {
_alpha = 25;
}
}
Instance of Symbol 597 MovieClip in Symbol 623 MovieClip Frame 3
onClipEvent (load) {
if (_root.CF3version == "minigame") {
_visible = false;
}
}
Instance of Symbol 602 MovieClip in Symbol 623 MovieClip Frame 3
onClipEvent (load) {
if (_root.CF3version == "minigame") {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.coop == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 604 MovieClip in Symbol 623 MovieClip Frame 4
onClipEvent (load) {
if (_root.CF3version == "survival") {
_alpha = 25;
}
}
Instance of Symbol 606 MovieClip in Symbol 623 MovieClip Frame 4
onClipEvent (load) {
if (_root.CF3version == "survival") {
_visible = false;
}
}
Instance of Symbol 608 MovieClip in Symbol 623 MovieClip Frame 5
onClipEvent (load) {
if (_root.CF3version == "minigame") {
_alpha = 25;
}
}
Instance of Symbol 610 MovieClip in Symbol 623 MovieClip Frame 5
onClipEvent (load) {
if (_root.CF3version == "minigame") {
_visible = false;
}
}
Instance of Symbol 602 MovieClip in Symbol 623 MovieClip Frame 5
onClipEvent (load) {
if (_root.CF3version == "minigame") {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.CF3version == "survival") {
if (_root.coop == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
}
Instance of Symbol 612 MovieClip in Symbol 623 MovieClip Frame 6
onClipEvent (load) {
if (_root.CF3version == "survival") {
_alpha = 25;
}
}
Instance of Symbol 614 MovieClip in Symbol 623 MovieClip Frame 6
onClipEvent (load) {
if (_root.CF3version == "survival") {
_visible = false;
}
}
Instance of Symbol 616 MovieClip in Symbol 623 MovieClip Frame 7
onClipEvent (load) {
if (_root.CF3version == "minigame") {
_alpha = 25;
}
}
Instance of Symbol 618 MovieClip in Symbol 623 MovieClip Frame 7
onClipEvent (load) {
if (_root.CF3version == "minigame") {
_visible = false;
}
}
Symbol 626 Button
on (release) {
if (menufade._currentframe == 1) {
_root.fadetrans("gamemodemenu");
_root.gsfx("sm3");
}
}
Symbol 633 Button
on (rollOver, release) {
gotoAndStop (1);
}
on (release) {
_root.setminigame(1);
}
Symbol 634 Button
on (rollOver, release) {
if (_root.speedkoUnlocked) {
gotoAndStop (4);
}
}
on (release) {
if (_root.speedkoUnlocked) {
_root.setminigame(4);
} else {
_root.setCost("speedko");
_root.unlockCharacter("speedko");
}
}
Symbol 635 Button
on (rollOver, release) {
if (_root.dribbleUnlocked) {
gotoAndStop (6);
}
}
on (release) {
if (_root.dribbleUnlocked) {
_root.setminigame(6);
} else {
_root.setCost("dribble");
_root.unlockCharacter("dribble");
}
}
Symbol 636 Button
on (rollOver, release) {
if (_root.melonUnlocked) {
gotoAndStop (5);
}
}
on (release) {
if (_root.melonUnlocked) {
_root.setminigame(5);
} else {
_root.setCost("melon");
_root.unlockCharacter("melon");
}
}
Symbol 637 Button
on (rollOver, release) {
if (_root.chainUnlocked) {
gotoAndStop (3);
}
}
on (release) {
if (_root.chainUnlocked) {
_root.setminigame(3);
} else {
_root.setCost("chain");
_root.unlockCharacter("chain");
}
}
Symbol 638 Button
on (rollOver, release) {
gotoAndStop (2);
}
on (release) {
_root.setminigame(2);
}
Symbol 640 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 642 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 644 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 646 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 648 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 650 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 651 MovieClip Frame 27
stop();
Symbol 662 MovieClip Frame 1
stop();
Instance of Symbol 630 MovieClip "dribbleBlock" in Symbol 662 MovieClip Frame 1
onClipEvent (load) {
cost = 4000;
if (_root.dribbleUnlocked) {
_visible = false;
}
}
Instance of Symbol 630 MovieClip "melonBlock" in Symbol 662 MovieClip Frame 1
onClipEvent (load) {
cost = 2000;
if (_root.melonUnlocked) {
_visible = false;
}
}
Instance of Symbol 630 MovieClip "speedkoBlock" in Symbol 662 MovieClip Frame 1
onClipEvent (load) {
cost = 1000;
if (_root.speedkoUnlocked) {
_visible = false;
}
}
Instance of Symbol 630 MovieClip "chainBlock" in Symbol 662 MovieClip Frame 1
onClipEvent (load) {
cost = 500;
if (_root.chainUnlocked) {
_visible = false;
}
}
Symbol 666 MovieClip Frame 1
stop();
gotoAndStop(_root.CF3version);
Symbol 669 Button
on (rollOver, release) {
gotoAndStop (1);
}
on (release) {
_root.setmatchtype(1, 1);
}
Symbol 670 Button
on (rollOver, release) {
gotoAndStop (7);
}
on (release) {
_root.setmatchtype(7, 1);
}
Symbol 671 Button
on (rollOver, release) {
gotoAndStop (4);
}
on (release) {
_root.setmatchtype(4, 1);
}
Symbol 672 Button
on (rollOver, release) {
gotoAndStop (6);
}
on (release) {
_root.setmatchtype(6, 1);
}
Symbol 673 Button
on (rollOver, release) {
gotoAndStop (5);
}
on (release) {
_root.setmatchtype(5, 1);
}
Symbol 674 Button
on (rollOver, release) {
gotoAndStop (3);
}
on (release) {
_root.setmatchtype(3, 1);
}
Symbol 675 Button
on (rollOver, release) {
gotoAndStop (2);
}
on (release) {
_root.setmatchtype(2, 1);
}
Symbol 677 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 679 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 681 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 683 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 685 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 687 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 689 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 690 MovieClip Frame 30
stop();
Symbol 703 MovieClip Frame 1
stop();
Symbol 706 Button
on (release) {
if (menufade._currentframe == 1) {
if (_root.CF3version != "minigame") {
_root.fadetrans("matchtypemenu");
} else {
_root.fadetrans("gamemodemenu");
}
_root.gsfx("sm3");
}
}
Symbol 710 Button
on (rollOver, release) {
if (!tagset) {
gotoAndStop (2);
}
}
on (release) {
tagset = 1;
_root.setteamtype(2, player);
}
Symbol 711 Button
on (rollOver, release) {
if (!tagset) {
gotoAndStop (1);
}
}
on (release) {
tagset = 1;
_root.setteamtype(1, player);
}
Symbol 713 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 715 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 716 MovieClip Frame 20
stop();
Symbol 718 MovieClip Frame 1
stop();
Symbol 720 Button
on (rollOver, release) {
if (!tagset) {
gotoAndStop (2);
}
}
on (release) {
tagset = 1;
_root.setteamtype(2, player);
}
Symbol 721 Button
on (rollOver, release) {
if (!tagset) {
gotoAndStop (1);
}
}
on (release) {
tagset = 1;
_root.setteamtype(1, player);
}
Symbol 722 MovieClip Frame 1
stop();
Symbol 728 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 731 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 732 Button
on (keyPress "i") {
_root.cheatOK = 1;
}
on (keyPress "o") {
if (_root.cheatOK == 1) {
_root.cheatOK = 2;
}
}
on (keyPress "9") {
if (_root.cheatOK == 2) {
_root.cheatOK = 3;
}
}
on (keyPress "p") {
if (_root.cheatOK == 3) {
_root.cash = _root.cash + 1000;
}
}
Symbol 742 MovieClip Frame 8
stop();
Symbol 743 MovieClip Frame 1
stop();
Symbol 765 MovieClip Frame 1
stop();
Symbol 772 MovieClip Frame 1
stop();
Symbol 806 MovieClip Frame 1
stop();
Symbol 819 Button
on (rollOver) {
if (((((_root.p2selected == 1) && (_root.p4selected != 1)) && (_root.teamsize2 == 2)) && (_currentframe != _root.p2charnum)) && (_root.survivalmode == 0)) {
_root.fightersbuttons.p2selection = _currentframe;
_root.setface(_currentframe, 4);
_root.p2cursor._x = _x;
_root.p2cursor._y = _y;
}
if (((_root.p3selected == 1) && (_root.p2selected != 1)) && (_root.survivalmode == 0)) {
_root.fightersbuttons.p2selection = _currentframe;
_root.setface(_currentframe, 2);
_root.p2cursor._x = _x;
_root.p2cursor._y = _y;
}
if ((((_root.p1selected == 1) && (_root.p3selected != 1)) && (_root.teamsize1 == 2)) && (_currentframe != _root.p1charnum)) {
_root.fightersbuttons.p1selection = _currentframe;
_root.setface(_currentframe, 3);
_root.p1cursor._x = _x;
_root.p1cursor._y = _y;
}
if (_root.p1selected != 1) {
_root.fightersbuttons.p1selection = _currentframe;
_root.setface(_currentframe, 1);
_root.p1cursor._x = _x;
_root.p1cursor._y = _y;
}
}
on (release) {
if (!(_root.survivalMode || (_root.miniGameMode))) {
if (((((_root.p2selected == 1) && (_root.p4selected != 1)) && (_root.teamsize2 == 2)) && (_currentframe != _root.p2charnum)) && (_root.survivalmode == 0)) {
_root.fightersbuttons.p2selection = x;
_root.p2hyperselected = 2;
_root.hyperarrows4.gotoAndStop(11);
_root.p2cursor.gotoAndStop(1);
_root.setfighter(_currentframe, 4);
_root.sethyper(1, 4);
}
if (((_root.p3selected == 1) && (_root.p2selected != 1)) && (_root.survivalmode == 0)) {
_root.fightersbuttons.p2selection = xx;
_root.setfighter(_currentframe, 2);
_root.sethyper(1, 2);
if (_root.teamsize2 == 1) {
_root.p4selected = 1;
}
}
}
if ((((_root.p1selected == 1) && (_root.p3selected != 1)) && (_root.teamsize1 == 2)) && (_currentframe != _root.p1charnum)) {
_root.fightersbuttons.p1selection = z;
_root.p1hyperselected = 2;
_root.hyperarrows3.gotoAndStop(11);
_root.p1cursor.gotoAndStop(1);
_root.setfighter(_currentframe, 3);
_root.sethyper(1, 3);
}
if (_root.p1selected != 1) {
_root.fightersbuttons.p1selection = zz;
_root.setfighter(_currentframe, 1);
if (_root.gmode == 1) {
_root.sethyper(_root["fighterHyper" + _root.p1charnum] + 1, 1);
} else {
_root.sethyper(1, 1);
}
if (_root.teamsize1 == 1) {
_root.p3selected = 1;
}
}
}
Symbol 880 Button
on (rollOver) {
if (((((_root.p2selected == 1) && (_root.p4selected != 1)) && (_root.teamsize2 == 2)) && (_currentframe != _root.p2charnum)) && (_root.survivalmode == 0)) {
_root.fightersbuttons.p2selection = _currentframe;
_root.setface(_currentframe, 4);
_root.p2cursor._x = _x;
_root.p2cursor._y = _y;
}
if (((_root.p3selected == 1) && (_root.p2selected != 1)) && (_root.survivalmode == 0)) {
_root.fightersbuttons.p2selection = _currentframe;
_root.setface(_currentframe, 2);
_root.p2cursor._x = _x;
_root.p2cursor._y = _y;
}
if ((((_root.p1selected == 1) && (_root.p3selected != 1)) && (_root.teamsize1 == 2)) && (_currentframe != _root.p1charnum)) {
_root.fightersbuttons.p1selection = _currentframe;
_root.setface(_currentframe, 3);
_root.p1cursor._x = _x;
_root.p1cursor._y = _y;
}
if (_root.p1selected != 1) {
_root.fightersbuttons.p1selection = _currentframe;
_root.setface(_currentframe, 1);
_root.p1cursor._x = _x;
_root.p1cursor._y = _y;
}
}
on (release) {
_root.setCost(_currentframe);
_root.unlockCharacter(_currentframe);
}
Symbol 893 MovieClip Frame 1
stop();
Symbol 895 MovieClip Frame 1
stop();
Symbol 896 MovieClip Frame 1
stop();
this.cacheAsBitmap = 1;
Instance of Symbol 543 MovieClip in Symbol 896 MovieClip Frame 78
onClipEvent (load) {
if (_root.CF3version != "web") {
_visible = false;
}
}
Symbol 900 Button
on (release) {
if (menufade._currentframe == 1) {
if (_root.survivalmode) {
_root.fadetrans("gamemodemenu");
_root.gsfx("sm3");
} else if (_root.miniGameMode) {
_root.fadetrans("minigamemenu");
_root.gsfx("sm3");
} else if (_root.gamemode == 1) {
_root.fadetrans("gamemodemenu");
_root.gsfx("sm3");
} else {
_root.fadetrans("teammenu");
_root.gsfx("sm3");
}
}
}
Symbol 969 MovieClip Frame 1
stop();
if (_root.CF3version == "web") {
nextFrame();
}
Symbol 978 MovieClip Frame 1
stop();
if (_root.CF3version == "web") {
nextFrame();
}
Symbol 981 MovieClip Frame 1
stop();
if (_root.CF3version == "web") {
nextFrame();
}
Symbol 984 MovieClip Frame 1
stop();
if (_root.CF3version == "web") {
nextFrame();
}
Symbol 989 MovieClip Frame 1
stop();
if (_root.CF3version == "web") {
nextFrame();
}
Symbol 992 MovieClip Frame 1
stop();
if (_root.CF3version == "web") {
nextFrame();
}
Symbol 993 MovieClip Frame 1
function moveUnlockMenu() {
if ((_name == "face1") or (_name == "face3")) {
unlockMenu._xscale = -100;
}
if ((_name == "face3") or (_name == "face4")) {
unlockMenu._x = -10;
unlockMenu._y = 35;
}
unlockNum = _currentframe - 50;
if (_root["unlock" + unlockNum] == 0) {
unlockMenu._visible = 1;
}
}
stop();
Instance of Symbol 958 MovieClip "unlockMenu" in Symbol 993 MovieClip Frame 66
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 30 MovieClip in Symbol 993 MovieClip Frame 66
onClipEvent (enterFrame) {
_parent.moveUnlockMenu();
}
Instance of Symbol 960 MovieClip "unlockMenu" in Symbol 993 MovieClip Frame 67
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 962 MovieClip "unlockMenu" in Symbol 993 MovieClip Frame 68
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 964 MovieClip "unlockMenu" in Symbol 993 MovieClip Frame 69
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 966 MovieClip "unlockMenu" in Symbol 993 MovieClip Frame 70
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 969 MovieClip "unlockMenu" in Symbol 993 MovieClip Frame 71
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 971 MovieClip "unlockMenu" in Symbol 993 MovieClip Frame 72
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 973 MovieClip "unlockMenu" in Symbol 993 MovieClip Frame 73
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 975 MovieClip "unlockMenu" in Symbol 993 MovieClip Frame 74
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 978 MovieClip "unlockMenu" in Symbol 993 MovieClip Frame 75
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 981 MovieClip "unlockMenu" in Symbol 993 MovieClip Frame 76
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 984 MovieClip "unlockMenu" in Symbol 993 MovieClip Frame 77
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 986 MovieClip "unlockMenu" in Symbol 993 MovieClip Frame 78
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 989 MovieClip "unlockMenu" in Symbol 993 MovieClip Frame 79
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 992 MovieClip "unlockMenu" in Symbol 993 MovieClip Frame 80
onClipEvent (load) {
_visible = false;
}
Symbol 998 MovieClip Frame 1
stop();
gotoAndStop(_root.CF3version);
Symbol 1008 MovieClip Frame 1
stop();
gotoAndStop(_root.CF3version);
Symbol 1094 MovieClip Frame 1
stop();
Symbol 1096 Button
on (rollOver) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
_root.stageDisplay.gotoAndStop(_currentframe);
_root.stagecursor._x = _x;
_root.stagecursor._y = _y;
_root.fightersbuttons.STselection = _currentframe;
}
}
on (release) {
if ((_root.survivalmode == 0) && (_root.miniGameMode == 0)) {
_root.setstage(_currentframe);
}
}
Symbol 1102 MovieClip Frame 1
stop();
this.cacheAsBitmap = 1;
Symbol 1103 Button
on (release) {
if (menufade._currentframe == 1) {
_root.fadetrans("fightermenu");
_root.gsfx("sm3");
}
}
Symbol 1108 MovieClip Frame 1
stop();
gotoAndStop(_root.CF3version);
Symbol 1109 Button
on (release) {
if (_root.CF3version != "minigame") {
getURL ("loadCF3files.html", "_blank");
}
}
Symbol 1113 Button
on (release) {
_root.loadnum = 0;
}
Symbol 1122 MovieClip Frame 1
function showkeys() {
p1u.gotoAndStop(1);
p1f.gotoAndStop(1);
p1d.gotoAndStop(1);
p1b.gotoAndStop(1);
p1bp.gotoAndStop(1);
p1fp.gotoAndStop(1);
p1bk.gotoAndStop(1);
p1fk.gotoAndStop(1);
p2u.gotoAndStop(1);
p2f.gotoAndStop(1);
p2d.gotoAndStop(1);
p2b.gotoAndStop(1);
p2bp.gotoAndStop(1);
p2fp.gotoAndStop(1);
p2bk.gotoAndStop(1);
p2fk.gotoAndStop(1);
}
Instance of Symbol 310 MovieClip "p2bp" in Symbol 1122 MovieClip Frame 1
onClipEvent (load) {
value = "p2bp";
}
Instance of Symbol 310 MovieClip "p2bk" in Symbol 1122 MovieClip Frame 1
onClipEvent (load) {
value = "p2bk";
}
Instance of Symbol 310 MovieClip "p2fk" in Symbol 1122 MovieClip Frame 1
onClipEvent (load) {
value = "p2fk";
}
Instance of Symbol 310 MovieClip "p2fp" in Symbol 1122 MovieClip Frame 1
onClipEvent (load) {
value = "p2fp";
}
Instance of Symbol 310 MovieClip "p2b" in Symbol 1122 MovieClip Frame 1
onClipEvent (load) {
value = "p2b";
}
Instance of Symbol 310 MovieClip "p2f" in Symbol 1122 MovieClip Frame 1
onClipEvent (load) {
value = "p2f";
}
Instance of Symbol 310 MovieClip "p2d" in Symbol 1122 MovieClip Frame 1
onClipEvent (load) {
value = "p2d";
}
Instance of Symbol 310 MovieClip "p2u" in Symbol 1122 MovieClip Frame 1
onClipEvent (load) {
value = "p2u";
}
Instance of Symbol 310 MovieClip "p1bp" in Symbol 1122 MovieClip Frame 1
onClipEvent (load) {
value = "p1bp";
}
Instance of Symbol 310 MovieClip "p1bk" in Symbol 1122 MovieClip Frame 1
onClipEvent (load) {
value = "p1bk";
}
Instance of Symbol 310 MovieClip "p1fk" in Symbol 1122 MovieClip Frame 1
onClipEvent (load) {
value = "p1fk";
}
Instance of Symbol 310 MovieClip "p1fp" in Symbol 1122 MovieClip Frame 1
onClipEvent (load) {
value = "p1fp";
}
Instance of Symbol 310 MovieClip "p1f" in Symbol 1122 MovieClip Frame 1
onClipEvent (load) {
value = "p1f";
}
Instance of Symbol 310 MovieClip "p1b" in Symbol 1122 MovieClip Frame 1
onClipEvent (load) {
value = "p1b";
}
Instance of Symbol 310 MovieClip "p1d" in Symbol 1122 MovieClip Frame 1
onClipEvent (load) {
value = "p1d";
}
Instance of Symbol 310 MovieClip "p1u" in Symbol 1122 MovieClip Frame 1
onClipEvent (load) {
value = "p1u";
}
Instance of Symbol 312 MovieClip in Symbol 1122 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.resetkeys == 1) {
_parent.showkeys();
_root.resetkeys = 0;
}
}
Symbol 1125 MovieClip Frame 4
_alpha = 0;
_alpha = 0;
_xscale = 0;
_yscale = 0;
_root.sfx.gsfx.playsound("startmusic", 0);
Instance of Symbol 30 MovieClip in Symbol 1125 MovieClip Frame 5
onClipEvent (enterFrame) {
_parent._alpha = _parent._alpha + 25;
_parent._xscale = _parent._xscale + 25;
_parent._yscale = _parent._yscale + 25;
}
Symbol 1125 MovieClip Frame 23
stop();
Instance of Symbol 30 MovieClip in Symbol 1125 MovieClip Frame 23
onClipEvent (enterFrame) {
_root.loadcheck();
}
Instance of Symbol 30 MovieClip in Symbol 1125 MovieClip Frame 40
onClipEvent (enterFrame) {
_parent._alpha = _parent._alpha - 25;
_parent._xscale = _parent._xscale - 25;
_parent._yscale = _parent._yscale - 25;
}
Symbol 1125 MovieClip Frame 45
_root.fadetrans("startgame");
stop();
Symbol 1139 MovieClip Frame 1
stop();
Symbol 1144 Button
on (keyPress "k") {
testletter = "k";
}
on (keyPress "1") {
if (_root.testing) {
if (testletter == "k") {
players.p2.winpoints();
_root.p2wins = 2;
}
}
}
on (keyPress "2") {
if (_root.testing) {
if (testletter == "k") {
players.p1.winpoints();
_root.p1wins = 2;
}
}
}
on (keyPress "x") {
testletter = "x";
}
Symbol 1148 MovieClip Frame 301
gotoAndPlay (1);
Symbol 1152 MovieClip Frame 241
gotoAndPlay (1);
Symbol 1156 MovieClip Frame 121
gotoAndPlay (1);
Symbol 1157 MovieClip Frame 181
gotoAndPlay (1);
Symbol 1158 MovieClip Frame 1
if (_root.paigeLevel) {
_visible = false;
}
Symbol 1166 MovieClip Frame 25
stop();
Symbol 1167 MovieClip Frame 1
stop();
Instance of Symbol 1159 MovieClip "compnode" in Symbol 1167 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root[("p" + _parent.self) + "money"] == 1) {
_parent._x = _root.players["p" + _parent.self]._x;
_parent._y = _root.players["p" + _parent.self]._y;
} else {
_parent.gotoAndStop(2);
if (_parent._y < 90) {
_parent._y = _parent._y + 4;
} else {
_parent._y = 90;
}
if (_parent.self == 1) {
if (_parent._x < 190) {
_parent._x = _parent._x + 8;
} else {
_parent._x = 190;
}
}
if (_parent.self == 2) {
if (_parent._x > -190) {
_parent._x = _parent._x - 8;
} else {
_parent._x = -190;
}
}
}
}
Symbol 1170 MovieClip Frame 1
this.blendMode = 8;
Symbol 1170 MovieClip Frame 13
_x = ((0 + random(20)) - 10);
_y = ((0 + random(20)) - 10);
_rotation = random(360);
Symbol 1175 MovieClip Frame 1
function forceKeyFade(keyStay) {
if (((key1 != "f") && (Key.isDown(forward))) && (!Key.isDown(down))) {
setKeyList("f");
} else if (((key1 != "b") && (Key.isDown(back))) && (!Key.isDown(down))) {
setKeyList("b");
} else if (((key1 != "d") && (Key.isDown(down))) && (!(Key.isDown(forward) || (Key.isDown(back))))) {
setKeyList("d");
}
if (key1 == keyStay) {
keyFade1 = 0;
}
}
function removeKeyList(killKey) {
count = 1;
while (count <= 10) {
if (this["key" + count] == killKey) {
this["key" + count] = "xx";
}
count++;
}
}
function setKeyList(newKey) {
key10 = key9;
key9 = key8;
key8 = key7;
key7 = key6;
key6 = key5;
key5 = key4;
key4 = key3;
key3 = key2;
key2 = key1;
key1 = newKey;
keyFade10 = keyFade9;
keyFade9 = keyFade8;
keyFade8 = keyFade7;
keyFade7 = keyFade6;
keyFade6 = keyFade5;
keyFade5 = keyFade4;
keyFade4 = keyFade3;
keyFade3 = keyFade2;
keyFade2 = keyFade1;
keyFade1 = 0;
keyAge10 = keyAge9;
keyAge9 = keyAge8;
keyAge8 = keyAge7;
keyAge7 = keyAge6;
keyAge6 = keyAge5;
keyAge5 = keyAge4;
keyAge4 = keyAge3;
keyAge3 = keyAge2;
keyAge2 = keyAge1;
keyAge1 = 0;
}
function resetDirections() {
ukeytime = 0;
fkeytime = 0;
dkeytime = 0;
bkeytime = 0;
count = 1;
while (count <= 10) {
this["key" + count] = "xx";
count++;
}
}
function resetspecial() {
ukeytime = 0;
fkeytime = 0;
dkeytime = 0;
bkeytime = 0;
fkkeytime = 0;
bkkeytime = 0;
bpkeytime = 0;
fpkeytime = 0;
bktap = 0;
fktap = 0;
bptap = 0;
fptap = 0;
bktapsp = 0;
fktapsp = 0;
bptapsp = 0;
fptapsp = 0;
attacking = 0;
hopping = 0;
doingspecial = 0;
specialgrabbing = 0;
grabAttacking = 0;
fireballSpark = 0;
chfd = 0;
chbk = 0;
if (addcombo > 0) {
specialmomentumcombo();
}
}
function everyFrame() {
if ((hitStop > 0) && (dodgeLock > 1)) {
testVar2 = 1;
}
if (dodgeLock > 1) {
dodgeLock = dodgeLock - 1;
}
}
function cb() {
xspace = _x;
if ((!hitStop) || (dodgeLock > 1)) {
count = 1;
while (count <= 10) {
this["keyFade" + count] = this["keyFade" + count] + 1;
this["keyAge" + count] = this["keyAge" + count] + 1;
count++;
}
if (dodgespWait > 0) {
dodgespWait = dodgespWait - 1;
}
if (forceVuln > 0) {
forceVuln = forceVuln - 1;
}
if (comboready > 0) {
comboready = comboready - 1;
}
if (bpkeytime > 0) {
bpkeytime = bpkeytime - 1;
} else {
bptapsp = 0;
}
if (fpkeytime > 0) {
fpkeytime = fpkeytime - 1;
} else {
fptapsp = 0;
}
if (bkkeytime > 0) {
bkkeytime = bkkeytime - 1;
} else {
bktapsp = 0;
}
if (fkkeytime > 0) {
fkkeytime = fkkeytime - 1;
} else {
fktapsp = 0;
}
if (ukeytime > -5) {
ukeytime = ukeytime - 1;
}
if (ufkeytime > -5) {
ufkeytime = ufkeytime - 1;
}
if (fkeytime > -5) {
fkeytime = fkeytime - 1;
}
if (fkeytime2 > -5) {
fkeytime2 = fkeytime2 - 1;
}
if (dfkeytime > -5) {
dfkeytime = dfkeytime - 1;
}
if (dfkeytime2 > -5) {
dfkeytime2 = dfkeytime2 - 1;
}
if (dkeytime > -5) {
dkeytime = dkeytime - 1;
}
if (dkeytime2 > -5) {
dkeytime2 = dkeytime2 - 1;
}
if (dbkeytime > -5) {
dbkeytime = dbkeytime - 1;
}
if (dbkeytime2 > -5) {
dbkeytime2 = dbkeytime2 - 1;
}
if (bkeytime > -5) {
bkeytime = bkeytime - 1;
}
if (bkeytime2 > -5) {
bkeytime2 = bkeytime2 - 1;
}
if (ubkeytime > -5) {
ubkeytime = ubkeytime - 1;
}
}
if (!(((Key.isDown(forward) or Key.isDown(back)) or Key.isDown(up)) or Key.isDown(down))) {
resetDirectionKeys = resetDirectionKeys - 1;
if (resetDirectionKeys <= 0) {
resetDirections();
}
} else {
resetDirectionKeys = 5;
}
bk = 0;
fk = 0;
bp = 0;
fp = 0;
u = 0;
d = 0;
f = 0;
b = 0;
if (Key.isDown(bkick)) {
if (inair && (gravity < 8)) {
bk = 1;
}
if (bktapup) {
bktapup = 0;
bktap = bktap + 1;
if (bktap > 2) {
bktapsp = 1;
bktap = 0;
}
}
if (bkkeyup) {
bk = 1;
bkkeytime = keytime;
}
} else {
if (bktap > 0) {
bktap = bktap - 0.1;
}
bktapup = 1;
bkkeyup = 1;
}
if (Key.isDown(fkick)) {
if (inair && (gravity < 8)) {
fk = 1;
}
if (fktapup) {
fktapup = 0;
fktap = fktap + 1;
if (fktap > 2) {
fktapsp = 1;
fktap = 0;
}
}
if (fkkeyup) {
fk = 1;
fkkeytime = keytime;
}
} else {
if (fktap > 0) {
fktap = fktap - 0.1;
}
fkkeyup = 1;
fktapup = 1;
}
if (Key.isDown(bpunch)) {
if (inair && (gravity < 8)) {
bp = 1;
}
if (bptapup) {
bptapup = 0;
bptap = bptap + 1;
if (bptap > 2) {
bptapsp = 1;
bptap = 0;
}
}
if (bpkeyup) {
bp = 1;
bpkeytime = keytime;
}
} else {
if (bptap > 0) {
bptap = bptap - 0.1;
}
bpkeyup = 1;
bptapup = 1;
}
if (Key.isDown(fpunch)) {
if (inair && (gravity < 8)) {
fp = 1;
}
if (fptapup) {
fptapup = 0;
fptap = fptap + 1;
if (fptap > 2) {
fptapsp = 1;
fptap = 0;
}
}
if (fpkeyup) {
fp = 1;
fpkeytime = keytime;
}
} else {
if (fptap > 0) {
fptap = fptap - 0.1;
}
fpkeyup = 1;
fptapup = 1;
}
if (Key.isDown(up)) {
if (ukeyup) {
setKeyList("u");
}
forceKeyFade("u");
upHold = upHold + 1;
ukeyup = 0;
u = 1;
ukeytime = keytime;
if ((this.gravity > (this.jst + 2)) && (inair)) {
this.gravity = this.gravity - ((2 - _root.Cgravity) / 2);
}
} else {
upHold = 0;
ukeyup = 1;
}
if (Key.isDown(down)) {
if (dkeyup) {
setKeyList("d");
}
forceKeyFade("d");
downHold = downHold + 1;
dkeyup = 0;
d = 1;
dkeytime = keytime;
if (inair) {
this.gravity = this.gravity + ((2 - _root.Cgravity) / 1.5);
}
} else {
downHold = 0;
dkeyup = 1;
}
if (Key.isDown(forward) && (!Key.isDown(back))) {
if (fkeyup) {
setKeyList("f");
}
forceKeyFade("f");
forwardHold = forwardHold + 1;
fkeyup = 0;
f = 1;
fkeytime = keytime;
this.jumpspeed = this.jumpspeed + ((2 - _root.Cgravity) / 1.5);
} else {
forwardHold = 0;
fkeyup = 1;
}
if (Key.isDown(back) && (!Key.isDown(forward))) {
if (bkeyup) {
setKeyList("b");
}
forceKeyFade("b");
backHold = backHold + 1;
bkeyup = 0;
b = 1;
bkeytime = keytime;
this.jumpspeed = this.jumpspeed - ((2 - _root.Cgravity) / 1.5);
} else {
backHold = 0;
bkeyup = 1;
}
if (((inair == 1) && (_root.Cgravity < 2)) && (lm == 0)) {
travel(this.jumpspeed);
}
if (_root.CF3version == "web") {
if (!(((((((u or f) or d) or b) or bk) or fk) or bp) or fp)) {
keywait = keywait + 1;
if (keywait > 150) {
_root.firefox.gotoAndStop(2);
}
} else {
keywait = 0;
_root.firefox.gotoAndStop(1);
_root.firefox._visible = false;
}
}
}
gotoAndStop(_root.stagenum);
keywait = 0;
stop();
spmax = 30;
spmin = 22;
spfmax = 30;
spfmin = 22;
chstep = 2;
intime = 0;
bptapsp = 0;
fptapsp = 0;
fktapsp = 0;
bktapsp = 0;
bptap = 0;
fptap = 0;
fktap = 0;
bktap = 0;
count = 1;
while (count <= 10) {
this["key" + count] = "XX";
this["keyFade" + count] = 0;
this["keyAge" + count] = 0;
count++;
}
function sdodge() {
dodgestate = 0;
dodgeframe = player._currentframe;
if (!forceVuln) {
if (dodgebonus || ((dodgeframe < 160) || ((dodgeframe > 1025) && (dodgeframe < 1135)))) {
if ((Key.isDown(back) && (Key.isDown(down))) || (b && (d))) {
dodgestate = 1;
} else if (Key.isDown(back) || (b)) {
dodgestate = 2;
}
}
}
dodgebonus = 0;
}
function gododgespecial() {
CspecialDodging = 1;
defendernode.ec();
}
function escapeCombo() {
if ((((KO == 0) && (hyper == 0)) && (attackerbar.axe._xscale > 26)) && (!fireballHit)) {
if (attackKeyCheck("bp")) {
if (checkSpecialDodgeKeys()) {
CspecialDodging = 1;
alreadyEscaped = 1;
landRecovery = 0;
flyingfar = 0;
defendernode.grabhit = 0;
beenhit = 0;
beenhitBlock = 0;
tire(25);
hitsparksf(3, 2, 0);
_parent.hitflash.gotoAndPlay(2);
sv(0, 0, 0, 0, 0, 0);
hitpausef(6);
randomHa = random(2) + 1;
if (defendernode.inair) {
defendernode.onlyAirBlock = 1;
}
if (inair) {
defendernode.ec();
jumpAttacking = 0;
airEscape = 1;
lm = 0;
hyperup(8);
gravity = gravity / 2;
player.gotoAndStop("dj");
movenames(0);
} else {
player.gotoAndStop("dsp");
}
}
}
}
}
function gododge() {
dodgestate = 0;
attacking = 1;
beenhitBlock = 0;
goodblock = 0;
}
function gododgeNew(dgmomentum, dgheight, dgdamage) {
fkkeyup = 0;
bkkeyup = 0;
bpkeyup = 0;
fpkeyup = 0;
if (((defendernode.hyper != 4) && (defendernode.inair == 0)) && (!(((defendernode.bp or defendernode.fp) or defendernode.bk) or defendernode.fk))) {
attackheight = dgheight;
defendernode.candodge = 0;
defendernode.goodblock = 0;
if (((defendernode.dodgestate > 0) && (defendernode.b == 1)) || (targetHit == 0)) {
if (((((dgheight > 1) && (defendernode.dodgestate == 2)) || ((dgheight < 4) && (defendernode.dodgestate == 1))) || (defendernode.dodgestate == 3)) || (targetHit == 0)) {
defendernode.candodge = 1;
}
if (defendernode.candodge == 1) {
if (dgmomentum == "bh") {
dgmomentum = "a";
}
if (((dgmomentum == "bl") || (dgmomentum == "al")) || (dgmomentum == "tl")) {
dgmomentum = "bh";
}
if ((dgheight == 4) && (!defendernode.inair)) {
if (dgmomentum == "bh") {
dgmomentum = "a";
}
}
defendernode.sv(0, 0, 0, 0, 0, 1);
defendernode.tire((-defendernode.axst) * 4);
defendernode.hyperup(5);
defendernode.goodblock = 1;
doblock = 1;
doblocktarget = "d" + dgmomentum;
if (defendernode.inair == 0) {
if (dgdamage < 6) {
defenderplayer.nextFrame();
if (dgdamage < 5) {
defenderplayer.nextFrame();
if (dgdamage < 3) {
defenderplayer.nextFrame();
}
}
}
}
defenderplayer.player.gotoAndStop(defenderplayer._currentframe);
defendernode.candodge = 0;
}
}
}
}
function eh() {
beenhit = 0;
shc("bA");
sdodge();
attacking = 0;
defendernode.ec();
}
function ec() {
if (this.addcombo > 2) {
movenames(0);
if (_root.miniGameMode) {
if (_root.miniGame == "combo") {
if (this.adddamage > _root.miniPoints) {
_root.miniPoints = int(adddamage);
}
}
if (_root.miniGame == "chain") {
if (this.addcombo > _root.miniPoints) {
_root.miniPoints = int(addcombo);
}
}
}
if (stopcomp == 0) {
endSequence();
}
specialgrabbing = 0;
fptap = 0;
bptap = 0;
bktap = 0;
fktap = 0;
fptapsp = 0;
bktapsp = 0;
fktapsp = 0;
bptapsp = 0;
hgrused = 0;
lgrused = 0;
fpspused = 0;
bpspused = 0;
bkspused = 0;
fkspused = 0;
stopSpecialLink = 0;
specialLinkerUsed = 0;
if (addcombo >= 2) {
_root["c" + self].gotoAndPlay("finish");
}
}
stopspecial = 0;
addcombo = 0;
adddamage = 0;
}
function escapehit(axelag) {
if (!((defendernode.grabAttacking || (defendernode.specialgrabbing)) || (hitStop))) {
if (axelag > (defendernode.lastdamage + 1)) {
}
if (axelag > (defendernode.lastdamage + 2)) {
eh();
}
}
}
function sv(vv0, vv1, vv2, vv3, vv4, vv5) {
v0 = vv0;
v1 = vv1;
v2 = vv2;
v3 = vv3;
v4 = vv4;
v5 = vv5;
}
function showCombo() {
if (_root.miniGame != "target") {
if (addcombo > 2) {
_root["c" + self].totalcombo = this.addcombo;
_root["c" + self].totaldamage = int(adddamage);
if (addcombo == 3) {
_root["c" + self].gotoAndPlay(2);
}
}
}
}
function holdOther(holdx, holdy, holdface) {
defendernode._x = _x + (holdx * (-face));
defendernode._y = _y + holdy;
defendernode._xscale = 100 * holdface;
faceSwitch = holdface * face;
if (faceSwitch != defendernode.face) {
defendernode.face = holdface * face;
_parent.setDirectionKeys(other);
}
}
function throwProjectile(projType, projx, projy, projxf, projyf, projDamage, projReact, projHeight, projSound, projXspeed, projYspeed, projGrav, projHitnum) {
_root.sparknum = _root.sparknum + 1;
if (_root.sparknum > 35) {
_root.sparknum = 25;
}
addsparkdepth = 100;
sparkdepth = _root.sparknum + addsparkdepth;
_parent.attachMovie("bullet", "projectile" + _root.sparknum, sparkdepth);
projectile = _parent["projectile" + _root.sparknum];
projectile._x = _x + (projx * face);
projectile._y = _y + projy;
projectile.gotoAndStop(projType);
projectile.self = self;
projectile.projNum = _root.sparknum;
projectile.other = other;
projectile.facex = face;
projectile._xscale = 100 * face;
projectile.projType = projType;
projectile.projxf = projxf;
projectile.projyf = projyf;
projectile.projDamage = projDamage;
projectile.projReact = projReact;
projectile.projHeight = projHeight;
projectile.projSound = projSound;
projectile.projXspeed = projXspeed;
projectile.projYspeed = projYspeed;
projectile.projGrav = projGrav;
projectile.projHitnum = projHitnum;
}
function forceMove(moveDistance) {
defendernode._x = _x + (moveDistance * face);
}
function forceMoveY(moveDistance) {
defendernode._y = _y - moveDistance;
}
function faceMe() {
_root.forceTurn = 1;
if (self == 1) {
_parent.turnp2();
} else {
_parent.turnp1();
}
_root.forceTurn = 0;
}
function fakeGrab() {
if (defendernode.inair) {
defendernode.forceLand();
dohit = 1;
dohittarget = "grabbed";
shc(grabmovename + "hit");
}
}
function ghd(xreach, sd) {
defender = _parent["p" + other].player.hb;
defenderplayer = _parent["p" + other].player;
defendernode = _parent["p" + other];
defenderbar = _root[("p" + other) + "bar"];
movenames(0);
grabhit = 0;
if (((defendernode.hyper != 4) && (defendernode.noGrab == 0)) && (defendernode.airEscape == 0)) {
if (player.ab.hitTest(defender)) {
if (!((defenderplayer._currentframe > 1010) && (defenderplayer._currentframe < 1035))) {
defendernode.sfx(sd);
if (defendernode.hyperfull) {
defendernode.hypergo();
}
defendernode.specialDefense = 0;
defendernode.hopping = 0;
defendernode.hitStop = 0;
defendernode.turnAround();
hitpausef(2);
defendernode.beenhit = 1;
defendernode._x = _x + (xreach * face);
if (defendernode.inair) {
defendernode.forceLand();
}
dohit = 1;
dohittarget = "grabbed";
shc(grabmovename + "hit");
addcombo = addcombo + 1;
showCombo();
grabhit = 1;
}
}
}
defendernode.dodgeLock = 0;
}
function checkPriority() {
if (hyperfull) {
priority = 1;
} else if (doingspecial) {
priority = 2;
} else {
priority = 3;
}
}
function hd(xp, yp, dg, mn, ht, sd) {
checkCombo = addcombo;
recovering = 0;
defendernode.beenhit = 0;
defendernode.blockStrength = 0;
_root.saveAxe = 0;
noGrab = 0;
this[lastDepth]();
if (!hyperfull) {
defendernode.sdodge();
}
if (!(((movename1 == "fpsp") or (movename1 == "fksp")) or (movename1 == "bksp"))) {
stopSpecialLink = 0;
}
if (inair) {
jumpAttacking = 1;
onlyAirBlock = 0;
}
lastdamage = dg;
defendernode.hitbyblock = 0;
playblock = 0;
defender = _parent["p" + other].player.hb;
defenderplayer = _parent["p" + other].player;
defendernode = _parent["p" + other];
defenderbar = _root[("p" + other) + "bar"];
tire(dg / 1.25);
if (defendernode.inair) {
if ((mn == "al") or (mn == "tl")) {
mn = "bs";
}
}
targetHit = 1;
if (_root.miniGame == "target") {
if ((_root.miniTarget == ht) || ((_root.miniTarget == 1) && (ht == 0))) {
targetHit = 1;
} else {
targetHit = 0;
}
}
if ((defendernode.hyper != 4) && (defendernode.airEscape == 0)) {
if (ht == 0) {
ht = 1;
}
attackmotion = mn;
attackheight = ht;
attackdamage = dg;
cheapspecial = 0;
hitAttackBox = 0;
hitDefenseBox = 0;
checkPriority();
defendernode.checkPriority();
if (player.ab.hitTest(defender)) {
if (!defendernode.specialDefense) {
hitDefenseBox = 1;
} else {
sv(1, 1, 1, 1, 1, 1);
defendernode.specialDefenseReaction();
hitsparksf(dg, 1, 0);
if ((sd == "th1") or (sd == "sm1")) {
defendernode.sfx("block1");
} else if ((sd == "th2") or (sd == "sm2")) {
defendernode.sfx("block2");
} else if ((sd == "th3") or (sd == "sm3")) {
defendernode.sfx("block3");
} else if (((sd == "th4") or (sd == "sm4")) or (dg > 5)) {
defendernode.sfx("block4");
}
defendernode.animateSkip = 0;
defendernode.endSequence();
defendernode.switchMove = 0;
}
}
if (priority >= defendernode.priority) {
if (player.ab.hitTest(defenderplayer.ab)) {
if (!defendernode.fireballDeflect) {
hitAttackBox = 1;
}
}
}
if (hitDefenseBox || (hitAttackBox)) {
defendernode.goodblock = 0;
defendernode.airblock = 0;
if ((hitAttackBox == 0) && ((defendernode.inair == 0) || ((defendernode.gravity < (defendernode.jst * 1.25)) || (defendernode.onlyAirBlock)))) {
if ((defendernode.inair && (defendernode.hyper != 4)) && ((!defendernode.jumpAttacking) || (defendernode.onlyAirBlock))) {
if ((((defenderplayer._currentframe < 150) || (defendernode.onlyAirBlock)) && (defendernode.b)) && ((!defendernode.landRecovery) || (defendernode.onlyAirBlock))) {
defendernode.player.blurMe(0, 0);
defendernode.sv(0, 0, 0, 0, 0, 0);
defendernode.tire((-defendernode.axst) * 10);
defendernode.hyperup(5);
doblock = 1;
doblocktarget = "dj";
defendernode.airblock = 1;
} else {
defendernode.airblock = 0;
}
} else {
defendernode.airblock = 0;
}
if (attackheight == 0) {
attackheight = 1;
}
if ((((((defendernode.dodgestate > 0) && (!((defendernode.dodgestate == 1) && (attackheight == 3)))) && (!defendernode.inair)) && (!grabhit)) && (addcombo == 0)) || (targetHit == 0)) {
gododgeNew(attackmotion, attackheight, attackdamage);
}
if (grabhit) {
defendernode.goodblock = 0;
}
if ((!defendernode.hyperfull) && ((defenderplayer._currentframe < 160) or ((defenderplayer._currentframe > 800) && (defenderplayer._currentframe < 1135)))) {
if ((((defendernode.inair == 0) && (attackheight < 2)) && (defendernode.dodgestate != 1)) && (!defendernode.fallen)) {
defendernode.v1 = 1;
defendernode.goodblock = 0;
}
if ((((defendernode.inair == 0) && (attackheight > 3)) && (defendernode.dodgestate != 2)) && (!defendernode.fallen)) {
defendernode.v4 = 1;
defendernode.goodblock = 0;
}
}
}
if ((defendernode.airblock || (defendernode.goodblock)) || (targetHit == 0)) {
defendernode.ec();
tire(dg / 4);
if (defendernode.inair) {
xp = xp / 2;
}
if (xp > 5) {
xp = 5;
}
defendernode.xf = xp;
defendernode.player.blurMe(0, 0);
defendernode.beenhitBlock = 1;
blockstall = 1;
defendernode.hitdir = -face;
hitdir = -defendernode.face;
if (doingspecial || (hyperfull)) {
hurt(dg / 8);
if (defenderbar.pw1._xscale <= 0) {
doblock = 0;
defendernode.inair = 1;
imp(xp, yp, dg, mn, ht, sd);
_root.winType = 1;
}
}
if (defendernode.inair) {
defendernode.gravity = defendernode.gravity - (2 + (dg / 2));
}
hitsparksf(dg, 1, 0);
if ((sd == "th1") or (sd == "sm1")) {
defendernode.sfx("block1");
} else if ((sd == "th2") or (sd == "sm2")) {
defendernode.sfx("block2");
} else if ((sd == "th3") or (sd == "sm3")) {
defendernode.sfx("block3");
} else if (((sd == "th4") or (sd == "sm4")) or (dg > 5)) {
defendernode.sfx("block4");
}
defendernode.blockStrength = dg;
defendernode.hitbyblock = 1;
hitpausef(dg);
hitStop = hitStop + (dg / 2);
defendernode.hitStop = defendernode.hitStop + (dg / 3);
} else if ((defendernode.noGrab == 0) && (forcegroundhit || (defendernode["v" + ht]))) {
if (((!((defenderplayer._currentframe > 1010) && (defenderplayer._currentframe < 1035))) || (forcegroundhit)) || (defendernode.weakGetUp)) {
imp(xp, yp, dg, mn, ht, sd);
defendernode.hitdir = -face;
hitdir = -defendernode.face;
if (_root.miniGame == "target") {
if (targetHit) {
_root.miniPoints = _root.miniPoints + 1;
defenderplayer.targets.gotoAndPlay("newTarget");
}
}
}
}
}
}
if (inair && (addcombo == checkCombo)) {
landRecovery = 1;
if (doingspecial) {
landRecovery = 2;
}
} else {
landRecovery = 0;
}
if (_root.miniGame == "dribble") {
if (player.ab.hitTest(_parent.ball.ball.hitbox)) {
_parent.ball.hexx = (xp / 2) * face;
_parent.ball.hexr = 0;
ballSpark = 1;
hitsparksf(dg);
ballSpark = 0;
ballCombo = 1;
addcombo = addcombo + 1;
showCombo();
hurt(dg);
hyperup(dg / 2);
firstjumpattack = 0;
defendernode.inair = 1;
defendernode.beenhitBlock = 1;
defendernode.beenhit = 1;
_parent.ballxspeed = (xp * 1.33) * face;
if (yp == 0) {
_parent.ball.hexy = (-dg) / 4;
_parent.ballyspeed = (-dg) * 1.5;
} else {
_parent.ball.hexy = (-yp) / 4;
_parent.ballyspeed = (-yp) * 0.5;
}
if (mn == "bl") {
_parent.ballyspeed = dg;
}
hitStop = dg - 1;
_root.ballStop = dg - 1;
if (hitStop < 1) {
hitStop = 1;
}
if (_root.ballStop < 1) {
_root.ballStop = 1;
}
if (dg <= 3) {
_parent.ball.playsound("th1");
} else if (dg <= 5) {
_parent.ball.playsound("th2");
} else if (dg <= 7) {
_parent.ball.playsound("th3");
} else {
_parent.ball.playsound("th4");
}
} else {
ballCombo = 0;
}
} else if (_root.miniGame == "melon") {
melonCount = 1;
while (melonCount <= 5) {
if (player.ab.hitTest(_parent["melon" + melonCount].ball.hitbox)) {
_parent["melon" + melonCount].hexx = 1 + ((xp / 3) * face);
_parent["melon" + melonCount].hexr = 0;
ballCombo = 1;
hyperup(dg / 2);
firstjumpattack = 0;
defendernode.inair = 1;
melonSpark = melonCount;
_parent["melon" + melonCount].life = _parent["melon" + melonCount].life - dg;
if (_parent["melon" + melonCount].life <= 0) {
_root.miniPoints = _root.miniPoints + 1;
hitsparksf(10, 0, 1);
_parent["melon" + melonCount].playsound("splat");
_parent["melon" + melonCount].gotoAndPlay("explode");
} else {
hitsparksf(dg);
}
_parent["melon" + melonCount].xspeed = (xp * 1.25) * face;
if (yp == 0) {
_parent["melon" + melonCount].hexy = (-dg) / 8;
_parent["melon" + melonCount].yspeed = (-dg) * 1.3;
} else {
_parent["melon" + melonCount].hexy = (-yp) / 8;
_parent["melon" + melonCount].yspeed = (-yp) * 0.5;
}
if (mn == "bl") {
_parent["melon" + melonCount].yspeed = dg;
}
melonSpark = 0;
hitStop = dg - 1;
_root["melon" + melonCount].Stop = dg - 1;
if (hitStop < 1) {
hitStop = 1;
}
if (_root["melon" + melonCount].Stop < 1) {
_root["melon" + melonCount].Stop = 1;
}
if (dg <= 3) {
_parent["melon" + melonCount].playsound("th1");
} else if (dg <= 5) {
_parent["melon" + melonCount].playsound("th2");
} else if (dg <= 7) {
_parent["melon" + melonCount].playsound("th3");
} else {
_parent["melon" + melonCount].playsound("th4");
}
} else {
ballCombo = 0;
}
melonCount = melonCount + 1;
}
}
defendernode.dodgeLock = 0;
}
function movenames(movename) {
if (movename == 0) {
movename5 = "xxxxx";
movename4 = "xxxx";
movename3 = "xxx";
movename2 = "xx";
movename1 = "x";
clearmoves();
} else {
movename5 = movename4;
movename4 = movename3;
movename3 = movename2;
movename2 = movename1;
movename1 = movename;
}
}
function winmatch() {
if (defendernode.KO == 0) {
_root.gotime = 0;
_root.p1hyperReserve = _root.p1bar.hyperbar._xscale;
_root.p2hyperReserve = _root.p2bar.hyperbar._xscale;
if (hyper) {
_root[("p" + self) + "hyperReserve"] = hyperStop;
}
if (_root.survivalmode) {
if (_root.players.p1.absself == 1) {
_root.p1endpower = _root.p1bar.pw1._xscale;
_root.p2endpower = _root.p1bar.pwb._xscale;
} else {
_root.p2endpower = _root.p1bar.pw1._xscale;
_root.p1endpower = _root.p1bar.pwb._xscale;
}
}
hyper = 0;
defendernode.hyperOff();
defendernode.flyingfar = 0;
defendernode.sfx("hitend");
defendernode.sfx(defendernode.haletter + "_Death.wav");
defendernode.inair = 1;
defendernode.KO = 1;
_root.loser = other;
_root.winner = self;
if (KO) {
_root.loser = 3;
_root.winner = 3;
}
if ((_root.winner == 2) && (_root.survivalmode)) {
_root.p1endpower = 100;
_root.p2endpower = 100;
_root.Cdifficulty = 15;
}
_parent.slowmo.gotoAndStop(2);
_root.winType = 2;
if (player._currentframe > 1165) {
_root.winType = 3;
}
if (player._currentframe > 1315) {
_root.winType = 4;
}
if (player._currentframe > 1500) {
_root.winType = 5;
}
if (_root.miniGame == "dribble") {
hitsparksf(10, 0, 1);
_parent.ball.playsound("ex1");
_parent.ball._visible = false;
_parent.ball._name = "ballzz";
}
}
}
function winpoints() {
if (defendernode.KO == 0) {
defenderbar.pw1._xscale = 0;
if (_root.matchtype == 6) {
imp(2, 8, 10, "bs", 2, "sw4");
} else if (_root.matchtype == 5) {
imp(1, 35, 10, "bh", 2, "sw4");
} else {
imp(3, 12, 10, "bs", 2, "sw4");
}
winmatch();
_root.winType = 6;
}
}
function emhc(frame) {
recovering = 0;
if (!beenhit) {
hopping = 0;
grabAttacking = 0;
defendernode.beenhit = 0;
defendernode.beenhitBlock = 0;
if (!d) {
duckstate = 0;
}
turn = 1;
_parent.turning();
movenames(0);
switchMove = frame;
sdodge();
attacking = 0;
}
}
function edhc(frame) {
beenhitBlock = 0;
switchMove = frame;
}
function shc(frame) {
airattackingv = 0;
if (((frame eq "fpsp") or (frame eq "fksp")) or (frame eq "bksp")) {
stopspecial = 1;
} else {
stopspecial = 0;
}
if (!d) {
duckstate = 0;
}
switchMove = frame;
if (((((switchMove == "bA") || (switchMove == "d")) || (switchMove == "dm")) || (switchMove == "b")) || (switchMove == "f")) {
sdodge();
}
}
function imp(xp, yp, dg, mn, ht, sd) {
if (_root.projectileHit) {
defendernode.projForce = 1;
} else {
defendernode.projForce = 0;
}
if (!(specialgrabbing or grabAttacking)) {
}
if (defendernode.hyperfull) {
defendernode.hypergo();
}
this.addcombo = this.addcombo + 1;
showCombo();
grabhit = 0;
_root[("p" + other) + "money"] = 0;
defendernode.ec();
if (!defendernode.KO) {
defendernode.stopHa();
}
landRecovery = 0;
_root["switchdot" + self].gotoAndStop(1);
switchOK = 1;
if (!(grabAttacking || (defendernode.inair))) {
defendernode.turnAround();
}
if (!defendernode.inair) {
defendernode.landRecovery = 0;
}
compRdodge = 0;
defendernode.animateSkip = 0;
defendernode.CspecialDodging = 0;
defendernode.endSequence();
defendernode.resetspecial();
defendernode.switchMove = 0;
defendernode.fireballTotal = 0;
defendernode.fireballSpark = 0;
defendernode.noGrab = 0;
defendernode.player.blurMe(0, 0);
defendernode.duckState = 0;
defendernode.beenhitBlock = 0;
defendernode.grabAttacking = 0;
defendernode.doingspecial = 0;
defendernode.stopspecial = 0;
defendernode.hyperup(dg / 8);
defendernode.attacking = 0;
defendernode.specialgrabbing = 0;
defendernode.candodge = 0;
defendernode.dodgestate = 0;
defendernode.beenhit = 1;
defendernode.hitdir = -face;
defendernode.hardhit = 4 - dg;
hurt(dg);
hyperup(dg);
if (_root.matchtype == 5) {
if (_root.hotpot != other) {
_root.GameTime = int(20 * _root.Cpointspeed);
_root.inf._visible = false;
_root.timeMC._visible = true;
_parent.hotpotwait = 1;
stopsfxBurn();
defendernode.sfxBurn();
}
_root.hotpot = other;
}
if ((((((sd == "th1") or (sd == "th2")) or (sd == "th3")) or (sd == "sm1")) or (sd == "sm2")) or (sd == "sm3")) {
hitpausef(dg);
if (!_root.projectileHit) {
hitsparksf(hurtdamage);
}
}
if ((defenderbar.pw2._xscale - defenderbar.pw1._xscale) > 30) {
defendernode.v0 = 1;
}
if (yp > 0) {
if ((yp == 0) && (defendernode.inair == 0)) {
defendernode.gravity = 0;
defendernode.inair = 1;
yp = dg * 3;
}
if (mn == "tl") {
mn = "a";
} else if (mn == "al") {
mn = "t";
}
defendernode.inair = 1;
}
if (inair) {
gravity = gravity - (_root.Cgravity * _root.speed);
if (!defendernode.inair) {
defendernode.xf = xp / 2;
}
if (_y < 10) {
if (mn == "bh") {
gravity = gravity + (dg / 3);
} else if ((mn == "bl") && (!b)) {
gravity = gravity - (dg / 4);
}
}
}
if ((defendernode.inair || (defendernode.hopping)) || (defendernode.KO)) {
defendernode.inair = 1;
_parent.yscrollOK = 1;
defendernode.gravity = 0;
defendernode.lm = 1;
if (yp == 0) {
xp = xp / 2;
if (grabAttacking) {
xp = 0;
}
}
if (yp > 0) {
defendernode.forceFall = 1;
}
if (yp == 0) {
defendernode.airTap = 1;
if (mn == "bl") {
if (dg > 2) {
yp = 0;
defendernode.airTap = 0;
defendernode.gravity = defendernode.gravity + (dg * 5);
defendernode.sfx("lowswish");
defendernode.player.blurMe(0, 10);
if ((sd != "grabsw") && (sd != "sw4")) {
hitpausef(10);
}
}
} else {
xp = xp + 1.5;
defendernode.gravity = 0;
yp = 3 + dg;
}
if (defendernode.airTap) {
mn = "bs";
}
}
if (((defendernode.face == face) && (!inair)) && (!(grabAttacking or specialgrabbing))) {
if (mn == "a") {
mn = "t";
} else if (mn == "t") {
mn = "a";
} else if ((mn == "bh") || (mn == "bl")) {
mn = "bs";
}
}
if (!forceNoAnimate) {
dohit = 1;
dohittarget = ("h" + mn) + "a";
}
defendernode.yf = yp;
if (defendernode.yp < 3) {
defendernode.yp = 3;
}
} else if (!forceNoAnimate) {
dohit = 1;
dohittarget = "h" + mn;
hitskip = 0;
if (defendernode.inair == 0) {
while (hitskip < (4 - dg)) {
hitskip = hitskip + 1;
}
}
}
if (hyper == 1) {
defendernode.venom = defendernode.venom + dg;
}
if (dg > 100) {
if (sd == "th3") {
sd = "th4";
} else {
sd = "sm4";
if (sd) {
}
}
}
if (dg > 5) {
if (sd == "th3") {
sd = "th4";
}
if (sd == "sm3") {
sd = "sm4";
}
}
if (((((Math.abs(defendernode._x) > 169) && (!grabAttacking)) && (defendernode.inair)) && (!inair)) && (_root.matchType != 6)) {
if (!_root.projectileHit) {
if (xp > 5) {
xp = 5;
}
xf = xp;
}
} else {
defendernode.xf = xp;
}
defendernode.sfx(sd);
}
function stopHa() {
randomHa = 0;
_root.sfx[("p" + self) + "hasfx"].stopsound(haletter + "_Ha1.wav");
_root.sfx[("p" + self) + "hasfx"].stopsound(haletter + "_Ha2.wav");
_root.sfx[("p" + self) + "hasfx"].stopsound(haletter + "_Ha3.wav");
_root.sfx[("p" + self) + "hasfx"].stopsound(haletter + "_Ha3a.wav");
_root.sfx[("p" + self) + "hasfx"].stopsound(haletter + "_Ha3b.wav");
_root.sfx[("p" + self) + "hasfx"].stopsound(haletter + "_Ha3c.wav");
_root.sfx[("p" + self) + "hasfx"].stopsound(haletter + "_Ha4.wav");
_root.sfx[("p" + self) + "hasfx"].stopsound(haletter + "_Ha4a.wav");
_root.sfx[("p" + self) + "hasfx"].stopsound(haletter + "_Ha4b.wav");
_root.sfx[("p" + self) + "hasfx"].stopsound(haletter + "_Ha4c.wav");
_root.sfx[("p" + self) + "hasfx"].stopsound(haletter + "_Ha5.wav");
_root.sfx[("p" + self) + "hasfx"].stopsound(haletter + "_Ha5a.wav");
_root.sfx[("p" + self) + "hasfx"].stopsound(haletter + "_Ha5b.wav");
_root.sfx[("p" + self) + "hasfx"].stopsound(haletter + "_Ha5c.wav");
}
function sfxHa(hanum) {
stopHa();
pan = (_x / 1.6) + ((_root.players._x - 160) / 1.6);
_root.sfx[("p" + self) + "hasfx"].playsound(((haletter + "_Ha") + hanum) + ".wav", pan);
}
function sfxBurn() {
pan = (_x / 1.6) + ((_root.players._x - 160) / 1.6);
_root.sfx[("p" + self) + "burnfx"].playsound("burn", pan, 999, 1);
}
function sfxBurnVolume(burnyVolume) {
_root.sfx[("p" + self) + "burnfx"].burn.setVolume(burnyVolume * 1.25);
}
function stopsfxBurn() {
_root.sfx[("p" + self) + "burnfx"].burn.stop();
}
function sfx(sound) {
pan = (_x / 1.6) + ((_root.players._x - 160) / 1.6);
_root.sfx[("p" + self) + "sfx"].playsound(sound, pan);
if (sound eq "land") {
dustpatch();
}
}
function whirlpool() {
if (defendernode._x > 169) {
defendernode._x = 168;
} else if (defendernode._x < -169) {
defendernode._x = -168;
}
defendernode.hitdir = face;
defendernode.xf = 6;
}
function hyperon(hyperStrength) {
nextHyper = random(3) + 1;
if ((name == "zumbiazul") && (random(100) > 25)) {
nextHyper = 3;
}
sv(0, 0, 0, 0, 0, 0);
xf = 0;
fr();
nograb = 1;
inair = 0;
sfx("hyper2");
beenhit = 0;
defendernode.dohit = 0;
defendernode.dodgeLock = 3;
hgrused = 0;
lgrused = 0;
fpspused = 0;
bpspused = 0;
bkspused = 0;
fkspused = 0;
doingspecial = 1;
hitpausef(20);
_root.ballStop = 20;
defendernode.hitStop = hitStop + 4;
player.blurMe(0, 0);
hyperfull = 1;
if (attackerbar.hyperbar._xscale > 99) {
hyperlevel = 3;
} else if (attackerbar.hyperbar._xscale > 66) {
hyperlevel = 2;
} else if (attackerbar.hyperbar._xscale > 33) {
hyperlevel = 1;
}
hypersparksf(hyperStrength);
hyper = _root[("p" + absself) + "hyperstyle"];
if (hyper == 2) {
tire(-(hyperStrength * 33));
}
_root.hypercolor = hypercolor;
_parent.hyperfade.gotoAndPlay(2);
_root[("p" + self) + "bar"].hyperback._xscale = _root[("p" + self) + "bar"].hyperbar._xscale;
hyperStop = attackerbar.hyperbar._xscale - (33 * hyperStrength);
_root[("p" + self) + "bar"].hyperbar._xscale = hyperStop;
}
function endspecial() {
}
function hypergo(hyperType) {
if (hyperfull) {
nograb = 0;
_parent["newhyperp" + self]();
attacking = 0;
hyperfull = 0;
}
}
function hyperoff() {
hyper = 0;
}
function hyperup(addhyper) {
if (!defendernode.KO) {
addhyper = addhyper + 1;
if ((_root.hyperplus1 > 0) && (self == 1)) {
addhyper = addhyper + (addhyper * (_root.hyperplus1 * 0.25));
}
if ((_root.hyperplus2 > 0) && (self == 2)) {
addhyper = addhyper + (addhyper * (_root.hyperplus2 * 0.25));
}
if ((attackerbar.hyperbar._xscale <= 100) && (hyper == 0)) {
attackerbar.hyperbar._xscale = attackerbar.hyperbar._xscale + (addhyper / 3);
if (attackerbar.hyperbar._xscale > 99) {
attackerbar.hyperbar._xscale = 100;
attackerbar.hyperbar.gotoAndStop(4);
} else if (attackerbar.hyperbar._xscale > 66) {
attackerbar.hyperbar.gotoAndStop(3);
} else if (attackerbar.hyperbar._xscale > 33) {
attackerbar.hyperbar.gotoAndStop(2);
} else {
attackerbar.hyperbar.gotoAndStop(1);
}
}
if (attackerbar.hyperbar._xscale > 99) {
attackerbar.hyperbar._xscale = 100;
}
}
}
function hurtpoints(pointsdg) {
_root[("p" + other) + "perfect"] = 0;
defenderbar.pw1.gotoAndStop(2);
if (KO == 0) {
if (((_root.teamsize2 == 1) && (self == 1)) or ((_root.teamsize1 == 1) && (self == 2))) {
pointsdg = pointsdg / 1.75;
}
if (hyper == 3) {
pointsdg = pointsdg * 1.5;
}
if (defendernode.hyper == 5) {
pointsdg = pointsdg / 4;
}
defenderbar.pw1._xscale = defenderbar.pw1._xscale - (_root.Cpointspeed * ((pointsdg * _root[("Cp" + self) + "strength"]) / 6));
if (defenderbar.pw1._xscale < 0) {
_root[("p" + other) + "perfect"] = 0;
defenderbar.pw1.gotoAndStop(2);
defenderbar.pw1._xscale = 0;
winpoints();
}
}
}
function hurt(dg) {
_root.saveDummy = 0;
hurtdamage = dg;
hurtdamage = hurtdamage * 1.5;
if (hyper == 2) {
tire(-dg);
}
if (_root.healthCheat) {
hurtdamage = hurtdamage * 2;
}
if (hyper == 3) {
hurtdamage = hurtdamage * 1.5;
}
if (defendernode.hyper == 5) {
hurtdamage = hurtdamage / 4;
}
if ((self == 1) && (_root.damagePlus1 > 0)) {
hurtdamage = hurtdamage * (1 + (_root.damageplus * 0.1));
}
if ((self == 2) && (_root.defensePlus1 > 0)) {
hurtdamage = hurtdamage * (1 - (_root.defenseplus1 * 0.15));
}
if ((self == 2) && (_root.damagePlus2 > 0)) {
hurtdamage = hurtdamage * (1 + (_root.damageplus2 * 0.1));
}
if ((self == 1) && (_root.defensePlus2 > 0)) {
hurtdamage = hurtdamage * (1 - (_root.defenseplus2 * 0.15));
}
if (hyperfull) {
}
if (hyper == 8) {
defenderbar.axe._xscale = defenderbar.axe._xscale - (hurtdamage * 1.5);
defenderbar.hyperbar._xscale = defenderbar.hyperbar._xscale - (hurtdamage * 1.5);
if (defenderbar.axe._xscale < 0) {
defenderbar.axe._xscale = 0;
}
if (defenderbar.hyperbar._xscale < 0) {
defenderbar.hyperbar._xscale = 0;
}
}
if (((_root.teamsize2 == 1) && (self == 1)) || ((_root.teamsize1 == 1) && (self == 2))) {
hurtdamage = hurtdamage / 1.75;
}
defendernode.combomovenum = 1;
defendernode.stopspecial = 0;
if (hyper == 7) {
attackerbar.pw1._xscale = attackerbar.pw1._xscale + (hurtdamage * 0.75);
if (attackerbar.pw1._xscale > 100) {
attackerbar.pw1._xscale = 100;
}
}
if (_root.matchtype != 0) {
_root[("p" + other) + "perfect"] = 0;
defenderbar.pw1.gotoAndStop(2);
defenderbar.pw1._xscale = defenderbar.pw1._xscale - ((((hurtdamage * dst) * ((attackerbar.axe._xscale / 200) + 0.5)) * _root[("Cp" + self) + "strength"]) / 7);
adddamage = adddamage + ((((hurtdamage * dst) * ((attackerbar.axe._xscale / 200) + 0.5)) * _root[("Cp" + self) + "strength"]) / 7);
if (defenderbar.pw1._xscale < 0) {
defenderbar.pw1._xscale = 0;
if (!((((_root.miniGame == "combo") || (_root.miniGame == "chain")) || (_root.miniGame == "target")) || (_root.gamemode == 6))) {
winmatch();
}
}
}
if (((_root.teamsize2 == 2) && (self == 1)) or ((_root.teamsize1 == 2) && (self == 2))) {
hurtdamage = hurtdamage * 0.5;
}
}
function tire(dgtire) {
if (hyperfull) {
dgtire = dgtire / 2;
}
if (player._currentframe > 160) {
hyperup(dgtire / 2);
}
attackerbar.axe._xscale = attackerbar.axe._xscale - (dgtire * 2);
if (attackerbar.axe._xscale < 0) {
attackerbar.axe._xscale = 0;
} else if (attackerbar.axe._xscale > 100) {
attackerbar.axe._xscale = 100;
}
}
function bounceforceF() {
if (bounceforce > 5) {
bounceforce = 5;
}
_x = (_x - (((bounceforce * 1.25) * hitdir) * _root.speed));
bounceforce = bounceforce - 1;
}
function hitpausef(dgpause) {
pauselength = dgpause;
if (dgpause == 5) {
pauselength = 4;
} else if (dgpause == 1) {
pauselength = 2;
}
if ((hyper == 2) || (_root.speedCheat)) {
pauselength = pauselength / 4;
}
if ((pauselength < 1) && ((hyper == 2) || (_root.speedCheat))) {
pauselength = 0;
}
if ((hyper != 2) && (pauselength < 1)) {
pauselength = 1;
}
if (_root.speed == 1) {
hitStop = pauselength + 1;
defendernode.hitStop = pauselength + 1;
}
_root.bottlePause = pauselength;
}
function hypersparksf(hyperStrength) {
_root.sparknum = _root.sparknum + 1;
if (_root.sparknum > 35) {
_root.sparknum = 25;
}
addsparkdepth = 100;
sparkdepth = _root.sparknum + addsparkdepth;
_parent.attachMovie("hitsparkspawn", "spark" + _root.sparknum, sparkdepth);
sparky = _parent["spark" + _root.sparknum];
if (player.hyperMark._x) {
sparky._x = _x - (player.hyperMark._x * face);
sparky._y = _y + player.hyperMark._y;
} else {
sparky._x = _x;
sparky._y = _y;
}
sparky._xscale = 50;
sparky._yscale = this.sparky._xscale;
sparky.gotoAndPlay("hyper" + hyperStrength);
sparky.swapDepths(sparkdepth);
}
function hitsparksf(dg, blockcheck, explode, groundspark, wallspark) {
_root.sparknum = _root.sparknum + 1;
if (_root.sparknum > 35) {
_root.sparknum = 25;
}
if (_root.Chitsparks == 1) {
if ((dg > 4) && (random(4) > 1)) {
}
if ((name == "zumbiazul") && (hyperfull)) {
addsparkdepth = 100;
} else {
addsparkdepth = 0;
}
addsparkdepth = 100;
sparkdepth = _root.sparknum + addsparkdepth;
if (!_parent["spark" + _root.sparknum].created) {
_parent.attachMovie("hitsparkspawn", "spark" + _root.sparknum, sparkdepth);
}
sparky = _parent["spark" + _root.sparknum];
sparky.created = 1;
sparky._visible = true;
sparky._rotation = random(360);
sparky.hitStop = hitStop;
defenderfront = defendernode._x + (10 * defendernode.face);
if (ballSpark) {
defenderfront = _parent.ball._x;
}
if (melonSpark) {
defenderfront = _parent["melon" + melonSpark]._x;
}
if (forceFrontSpark) {
face = face * -1;
}
attackerfront = _x + ((player.ab._x - (((-player.ab._x) / 2) + (player.ab._width * 0.8))) * (-face));
if (forceFrontSpark) {
face = face * -1;
forceFrontSpark = 0;
}
sparky._x = ((attackerfront * 3) + defenderfront) / 4;
sparky._y = (_y + player.ab._y) + (player.ab._height * 0.5);
if (fireballSpark) {
sparky._y = defendernode._y;
sparky._x = defendernode._x;
}
if (ballSpark) {
sparky._y = (sparky._y + (_parent.ball._y + _parent.ball.ball._y)) / 2;
}
if (melonSpark) {
sparky._y = (sparky._y + (_parent["melon" + melonSpark]._y + _parent["melon" + melonSpark].ball._y)) / 2;
}
sparky._xscale = 30 + (2 * dg);
sparky._yscale = this.sparky._xscale;
sparky.gotoAndStop("hit1");
if (dg > 1) {
sparky.gotoAndStop("hit2");
if (dg > 2) {
sparky.gotoAndStop("hit3");
if (dg > 3) {
sparky.gotoAndStop("hit4");
if (dg > 5) {
sparky.gotoAndStop("hit5");
}
}
}
}
}
if (blockcheck == 1) {
sparky.gotoAndStop("block");
sparky._rotation = 0;
}
if (blockcheck == 2) {
sparky._x = _x + (10 * face);
sparky._y = _y + 10;
sfx("bump");
sparky.gotoAndStop("specialblock");
}
if (explode) {
sparky.gotoAndStop("explode");
sparky._xscale = 150;
if (_root.miniGame == "dribble") {
sparky._xscale = 40;
sparky._x = _parent.ball._x;
sparky._y = _parent.ball._y + _parent.ball.ball._y;
} else if (_root.miniGame == "melon") {
sparky._xscale = 30;
sparky.gotoAndStop("melon");
sparky._x = _parent["melon" + melonSpark]._x;
sparky._y = _parent["melon" + melonSpark]._y + _parent["melon" + melonSpark].ball._y;
}
sparky._yscale = this.sparky._xscale;
}
if (groundspark) {
sparky.swapDepths(19);
sparky._rotation = 0;
sparky._xscale = sparky._xscale * 2;
sparky._yscale = sparky._yscale / 2;
sparky._x = _x - (face * 40);
sparky._y = _y + 56;
}
if (wallspark) {
sparky.swapDepths(19);
sparky._rotation = 0;
sparky._yscale = sparky._yscale * 1.5;
sparky._xscale = sparky._xscale / 1.5;
if (defendernode._x > 0) {
sparky._x = 190;
} else {
sparky._x = -190;
}
sparky._y = defendernode._y + 30;
}
lastSparkx = sparky._x;
lastSparky = sparky._y;
sparky.swapDepths(sparkdepth);
forceFrontSpark = 0;
}
function playHeavyspark() {
sfx("hyper");
hitpausef(2);
defendernode.hitStop = 0;
}
_root.sparknum = 25;
wxf = 3;
ballSpark = 0;
wdg = 1;
mxf = 4;
mdg = 3;
hxf = 5;
hdg = 5;
hhdg = 7;
grabdg = 10;
sweepxf = 1;
sweepyf = 14;
uppercutyf = 26;
function flipother() {
defendernode.flipme();
}
function flipme() {
_root.forceTurn = 1;
turn = 1;
if (self == 1) {
_parent.turnp1();
} else {
_parent.turnp2();
}
turn = 0;
_root.forceTurn = 0;
}
function turnAround() {
_root.forceTurn = 1;
turn = 1;
if (self == 1) {
_parent.turnp1();
} else {
_parent.turnp2();
}
turn = 0;
_root.forceTurn = 0;
}
function layWaitAdd() {
layWait = layWait + 1;
}
function stopself() {
}
function switchingout() {
_root[("p" + self) + "money"] = 0;
_root["switchdot" + self].gotoAndStop(2);
}
function turncheck() {
_root.players["s" + self]._y = 91;
}
function shadowout(enterdir) {
be();
travel(enterdir);
_root.players["s" + self]._y = _root.players["s" + self]._y - 0.5;
if ((_root.stagenum == 5) or (_root.stagenum == 8)) {
_root.players["s" + self]._y = _root.players["s" + self]._y - 0.5;
}
}
function shadowin(enterdir) {
ukeytime = 0;
fkeytime = 0;
dkeytime = 0;
bkeytime = 0;
bpkeytime = 0;
fpeytime = 0;
bkkeytime = 0;
fkkeytime = 0;
be();
travel(enterdir);
_root.players["s" + self]._y = _root.players["s" + self]._y + 0.5;
if (_root.reverseShadows) {
_root.players["s" + self]._y = _root.players["s" + self]._y + 0.5;
}
}
function switchplayers() {
venomburn._alpha = 0;
chsp = 0;
chbk = 0;
xf = 0;
tmo = 0;
this.player.gotoAndStop("wait");
player.player.gotoAndStop(player._currentframe);
if (_root[("p" + self) + "comp"] != 1) {
_parent["stopcontrol" + self]();
}
_root[("p" + absself) + "life"] = attackerbar.pw1._xscale;
_root[("p" + defendernode.absself) + "life"] = defenderbar.pw1._xscale;
attackerbar.pwb._xscale = _root[("p" + absself) + "life"];
attackerbar.pwb2._xscale = attackerbar.pw2._xscale;
beenhit = 0;
if (self == 1) {
_root.p3xweight = _root.fadespeed;
_root.p3xsit = _x;
_parent.p3.xf = 0;
_parent.p3.beenhit = 0;
_name = "p1A";
_parent.p3._name = "p1";
_name = "p3";
_parent.s1._name = "s1A";
_parent.s3._name = "s1";
_parent.s1A._name = "s3";
_parent.p1.player.gotoandStop("switchin");
if (_root.version != "web") {
_root.loadframes1(oself);
}
_parent.p1._y = gv;
}
if (self == 2) {
_root.p4xweight = _root.fadespeed;
_root.p4xsit = _x;
_parent.p4.xf = 0;
_parent.p4.beenhit = 0;
_name = "p2A";
_parent.p4._name = "p2";
_name = "p4";
_parent.s2._name = "s2A";
_parent.s4._name = "s2";
_parent.s2A._name = "s4";
_parent.p2.player.gotoandStop("switchin");
if (_root.version != "web") {
_root.loadframes2(oself);
}
_parent.p2._y = gv;
}
if (_root.coop == 1) {
if (absself == 1) {
_parent.startcontrol1tag();
} else if (absself == 3) {
_parent.startcontrol1();
}
} else {
_parent["startcontrol" + self]();
}
if (_root.multiplay3 == 1) {
if (absself == 3) {
_parent.startcontrol1();
} else if (absself == 1) {
_parent.startcontrol3();
}
}
if (_root.multiplay4 == 1) {
if (absself == 4) {
_parent.startcontrol2();
} else if (absself == 2) {
_parent.startcontrol4();
}
}
_parent.p2.setplayer();
_parent.p1.setplayer();
_parent["p" + self].switchOK = 0;
_root["switchdot" + self].gotoAndStop(2);
_parent["p" + self].intime = 0;
attackerbar.axe._xscale = 100;
}
function jumptravel(jmove) {
if (hitStop <= 0) {
_y = (_y - ((jmove - gravity) * _root.speed));
gravity = gravity + (((_root.Cgravity * verticalspeed) * _root.speed) * _root.jumpdamping);
}
}
function travel(move) {
if (hitStop <= 0) {
_x = (_x + ((move * face) * _root.speed));
tmo = tmo + (move * _root.speed);
}
}
function forceLand() {
gravity = 0;
inair = 0;
_y = gv;
landing();
}
function landing() {
turn = 1;
attacking = 0;
defendernode.grabhit = 0;
if ((_y >= gv) && (hitStop <= 0)) {
if (airEscape) {
noGrab = 1;
}
if (hyperfull) {
hypergo();
}
defendernode.airblock = 0;
if (!defendernode.inair) {
_parent.yscrollOK = 0;
}
if (airTap) {
defendernode.ec();
}
onlyAirBlock = 0;
dashJump = 0;
hopping = 0;
player.blurMe(0, 0);
airTap = 0;
forceFall = 0;
jumpAttacking = 0;
firstjumpattack = 0;
beenhit = 0;
doingspecial = 0;
if (landRecovery) {
dodgestate = 0;
}
if (lm || (KO)) {
weakGetUp = 0;
if (KO) {
defendernode.ec();
}
sv(0, 0, 0, 0, 0, 0);
xf = xf / 2;
resetspecial();
layWait = 0;
fallen = 1;
defendernode.hurt(gravity / 30);
defendernode.showCombo();
hitsparksf(gravity / 8, 0, 0, 1);
_root.bouncemagdir = 1;
_root.bouncemagnitude = (gravity / 10) * weight;
if (gravity > 25) {
sfx("groundhit");
}
landRecovery = 0;
turn = 0;
shc("fl");
if (KO) {
_parent.stopcontrol();
}
} else {
if (weight > 2) {
_root.bouncemagdir = 1;
_root.bouncemagnitude = weight / 2;
}
if (landRecovery != 2) {
specialmomentumcombo();
}
xf = 0;
fallen = 0;
turn = 1;
if (d && (!((((bk or fk) or fp) or bp) or landRecovery))) {
shc("dm");
} else {
shc("l");
}
}
if ((landRecovery == 1) && (!airEscape)) {
hitStop = 2;
forceVuln = 2;
} else if ((landRecovery == 2) && (!airEscape)) {
hitStop = 4;
forceVuln = 4;
}
airEscape = 0;
CspecialDodging = 0;
sfx("land");
wallhit = 0;
movename1 = "";
inair = 0;
lm = 0;
yf = 0;
jf = 0;
jb = 0;
jumpup = 0;
jh = 0;
hopping = 0;
_y = gv;
hurtland = 0;
gravity = 0;
this.jumpspeed = 0;
_parent.turning();
}
}
function dustpatch() {
if (_root.Cdust == 1) {
_parent["dustA" + self]._x = _x - (5 * face);
_parent["dustB" + self]._x = _x - (5 * face);
if (Fallen == 1) {
_root.rumble = 1;
_root.playrumble.gotoAndPlay(2);
_parent["dustA" + self]._x = _parent["dustA" + self]._x - (50 * face);
_parent["dustB" + self]._x = _parent["dustB" + self]._x - (50 * face);
}
_parent["dustA" + self]._y = 92;
_parent["dustB" + self]._y = 92;
_parent["dustA" + self]._xscale = (20 + (weight * 50)) + (fallen * 30);
_parent["dustB" + self]._xscale = (20 + (weight * 50)) + (fallen * 30);
_parent["dustA" + self]._yscale = (20 + (weight * 50)) + (fallen * 30);
_parent["dustB" + self]._yscale = (20 + (weight * 50)) + (fallen * 30);
_parent["dustA" + self].gotoAndPlay(2);
_parent["dustB" + self].gotoAndPlay(2);
if ((_root.matchtype == 3) && (Math.abs(_x) < 70)) {
_parent["dustA" + self].gotoAndPlay(20);
_parent["dustB" + self].gotoAndPlay(20);
}
}
}
function fr() {
this.swapDepths(40);
_parent["m" + other].swapDepths(41);
_parent["m" + self].swapDepths(21);
_parent["p" + other].swapDepths(20);
lastDepth = "fr";
}
function be() {
this.swapDepths(20);
_parent["m" + other].swapDepths(21);
_parent["m" + self].swapDepths(41);
_parent["p" + other].swapDepths(40);
lastDepth = "be";
}
function hf() {
if (hitStop <= 0) {
if (jb && (airblock)) {
xf = 0;
}
if (hyperfull == 0) {
if ((hyper == 3) && (inair)) {
}
xlocation = _x;
if ((((Math.abs(xlocation) < 170) || (yf > 0)) || (_root.matchType == 6)) || (defendernode.fireballDeflect && (defendernode.name == "angoleiro"))) {
_x = (_x - (((xf * 2.5) * hitdir) * _root.speed));
} else if ((_root.matchType != 6) && (((hitdir == 1) && (_x < 0)) || ((hitdir == -1) && (_x > 0)))) {
if (!(projForce || (defendernode.fireballDeflect && (defendernode.name == "angoleiro")))) {
defendernode._x = defendernode._x + (((xf * 2.5) * hitdir) * _root.speed);
}
}
if (!inair) {
xf = xf - (0.75 * _root.speed);
}
}
}
}
function okspecial(specialCheckName) {
if (addcombo == 0) {
return(1);
}
if (stopSpecialLink((((((specialCheckName == "fpsp") || (specialCheckName == "bksp")) || (specialCheckName == "fksp")) || (specialCheckName == "hyper1")) || (specialCheckName == "hyper2")) || (specialCheckName == "hyper3"))) {
return(0);
}
if ((specialCheckName == "bpsp") && (bpspused)) {
return(0);
}
if ((specialCheckName == "fpsp") && (fpspused)) {
return(0);
}
if ((specialCheckName == "fksp") && (fkspused)) {
return(0);
}
if ((specialCheckName == "bksp") && (bkspused)) {
return(0);
}
if ((specialCheckName == "hgr") && (hgrused)) {
return(0);
}
if ((specialCheckName == "lgr") && (lgrused)) {
return(0);
}
return(1);
}
function setDefend() {
if (this[switchMove + "Defend"]) {
recovering = 0;
AIdefense = this[switchMove + "Defend"];
AIdistance = this[switchMove + "Distance"] * 1.1;
dodgestate = 0;
defendernode.compRdodge = 0;
} else {
AIdefense = 0;
AIdistance = 0;
}
}
function gm(movename, uu, ff, dd, bb, bbp, ffp, bbk, ffk, move, mspeed) {
if (hitStop == 0) {
if (okspecial(movename)) {
if ((((((((((u == uu) && (f == ff)) && (d == dd)) && (b == bb)) && (bp == bbp)) && (fp == ffp)) && (bk == bbk)) && (fk == ffk)) && (KO == 0)) && (inair == 0)) {
player.cb._visible = false;
animateSkip = 0;
if (((bbp || (ffp)) || (bbk)) || (ffk)) {
if (!((((((movename == "fpsp") || (movename == "fksp")) || (movename == "bksp")) || (movename == "hyper")) || (movename == "hyper2")) || (movename == "hyper3"))) {
if (b) {
randomHa = random(2) + 1;
strongattack = 1;
hitrecovery = 8;
} else if (f) {
strongattack = 1;
hitrecovery = 4;
} else {
strongattack = 0;
hitrecovery = 2;
}
} else {
randomHa = 0;
}
comboready = 0;
if (bp) {
bpKeytime = 0;
bpkeyup = 0;
}
if (fp) {
fpKeytime = 0;
fpkeyup = 0;
}
if (bk) {
bkKeytime = 0;
bkkeyup = 0;
}
if (fk) {
fkKeytime = 0;
fkkeyup = 0;
}
beenhitBlock = 0;
goodblock = 0;
turn = 0;
attacking = 1;
dodgestate = 0;
} else {
specialgrabbing = 0;
}
if (!d) {
duckstate = 0;
}
grabmovename = movename;
movenames(movename);
momentum = this[movename + "momentum"];
if (hyper == 2) {
move = move * 4;
}
travel(move / 4);
if ((movename == "hgr") || (movename == "lgr")) {
grabAttacking = 1;
}
if (!linking) {
turnAround();
}
this[movename + "used"] = 1;
shc([movename]);
if (((movename == "fpsp") || (movename == "fksp")) || (movename == "bksp")) {
stopSpecialLink = 1;
momentum = "specialmomentum";
}
eval (momentum + "combo")();
defendernode.beenhit = 0;
defendernode.beenhitBlock = 0;
this.mspeed = mspeed;
if (mspeed == 1) {
mspeed = 0;
}
if ((!((movename == "hgr") || (movename == "lgr"))) || (noGrab)) {
if ((_root[("p" + self) + "bar"].axe._xscale > 25) && (((bbp || (ffp)) || (bbk)) || (ffk))) {
animateSkip = animateSkip + 1;
mspeed = mspeed - 1;
if ((noGrab && (strongattack)) && (!(((movename == "hyper") || (movename == "hyper2")) || (movename == "hyper3")))) {
animateSkip = animateSkip + 1;
mspeed = mspeed - 1;
}
}
while (mspeed > 1) {
animateSkip = animateSkip + 1;
mspeed = mspeed - 1;
}
} else {
hitStop = 1;
}
mspeed = 0;
}
stopSpecialCombo = 0;
}
}
}
function gd(movename, uu, dd, bbp, ffp, bbk, ffk) {
if ((((((u == uu) && (d == dd)) && (bp == bbp)) && (fp == ffp)) && (bk == bbk)) && (fk == ffk)) {
duckingv = 1;
shc(movename);
} else {
duckingv = 0;
}
}
function gjm(movename, ff, bb, bbp, ffp, bbk, ffk) {
if (hitStop == 0) {
if ((((((((f == ff) && (b == bb)) && (bp == bbp)) && (fp == ffp)) && (bk == bbk)) && (fk == ffk)) && (movename ne movename1)) && ((!jumpAttacking) || ((addcombo > 0) && (defendernode.inair)))) {
if (((bbp || (ffp)) || (bbk)) || (ffk)) {
if (b) {
randomHa = random(2) + 1;
}
if (bbp) {
bpkeyup = 0;
}
if (ffp) {
fpkeyup = 0;
}
if (bbk) {
bkkeyup = 0;
}
if (ffk) {
fkkeyup = 0;
}
dodgestate = 0;
goodblock = 0;
beenhitBlock = 0;
attacking = 1;
firstjumpattack = 1;
}
duckingv = 0;
movename1 = movename;
shc([movename]);
jumpAttacking = 1;
airattackingv = 1;
}
}
}
function gj(movename, uu, dd) {
if (hitStop == 0) {
if (((u == uu) && (d == dd)) && (_y == gv)) {
duckingv = 0;
this.jumpspeed = 0;
_y = (_y - (jst * _root.jumpdamping));
if (f) {
jf = 1;
} else if (b) {
jb = 1;
} else {
jumpup = 1;
}
turn = 1;
_parent["turnp" + self]();
turn = 0;
wantinair = 1;
airEscape = 0;
landRecovery = 0;
jumpAttacked = 0;
shc("j");
}
}
}
function lightAirHitRecovery(airTapLag) {
if ((((KO == 0) && (airTapLag > (defendernode.lastdamage + 3))) && (airTap)) && (!forceFall)) {
jumpAttacking = 1;
lm = 0;
if (!beenhit) {
defendernode.grabhit = 0;
player.gotoAndStop("jm");
player.prevFrame();
player.prevFrame();
player.prevFrame();
player.prevFrame();
player.player.gotoAndStop(player._currentframe);
}
}
}
function landMoves(landLag) {
if (!landRecovery) {
specialattacks();
specialmomentumcombo();
combos(landLag);
}
if (noGrab) {
hgrused = 0;
lgrused = 0;
fpspused = 0;
bpspused = 0;
bkspused = 0;
fkspused = 0;
turn = 1;
_parent.turning();
if (!hitStop) {
sdodge();
}
attacks();
specialattacks();
}
airEscape = 0;
}
function endDodgeSpecial(dodgelag) {
CspecialDodging = 0;
if (KO == 0) {
turn = 1;
_parent.turning();
if (_root[("p" + self) + "bar"].axe._xscale > 25) {
if (dodgelag > 2) {
dodgespWait = 6;
emhc("bA");
}
} else {
sv(0, 1, 1, 1, 1, 1);
if (dodgelag > 4) {
emhc("bA");
dodgespWait = 6;
}
}
}
}
function getup(getuplag) {
if (KO == 0) {
forceVuln = 0;
noGrab = 1;
hgrused = 0;
lgrused = 0;
fpspused = 0;
bpspused = 0;
bkspused = 0;
fkspused = 0;
turn = 1;
turnAround();
_parent.turnScale();
if (getuplag == 2) {
airEscape = 0;
defendernode.ec();
}
if (getuplag > 6) {
attacks();
gj("j", 1, 0);
}
if (getuplag > 2) {
specialattacks();
if (_root[("p" + self) + "comp"] != 0) {
if (stopcomp == 0) {
if ((pk > minaction) && (_root.skill > 20)) {
if (defendernode.inair) {
} else if (_root.difx < 75) {
}
}
}
}
}
if ((getuplag >= 12) || (weakGetUp)) {
fallen = 0;
noGrab = 0;
sv(0, 1, 1, 1, 1, 1);
} else {
sv(0, 0, 0, 0, 0, 0);
}
sdodge();
}
}
function stance() {
if (addcombo == 0) {
hgrused = 0;
lgrused = 0;
fpspused = 0;
bpspused = 0;
bkspused = 0;
fkspused = 0;
hyper1used = 0;
hyper2used = 0;
hyper3used = 0;
stopSpecialLink = 0;
}
landRecovery = 0;
noGrab = 0;
duckState = 0;
flyingfar = 0;
attacking = 0;
specialgrabbing = 0;
checkjump();
if ((((KO == 0) && (beenhit == 0)) && ((!(hitStop || (dodgeLock == 1))) || (dodgeLock > 1))) && (inair == 0)) {
_y = gv;
movename1 = "";
gm("f", 0, 1, 0, 0, 0, 0, 0, 0, ws, 0);
gm("b", 0, 0, 0, 1, 0, 0, 0, 0, -ws, 0);
gd("d", 0, 1, 0, 0, 0, 0);
turn = 1;
tire((-axst) * 2);
attacks();
specialattacks();
sdodge();
gj("j", 1, 0);
if ((defendernode.KO && (_root.speed == 1)) && (inair == 0)) {
player.blurMe(0, 0);
if (addcombo >= 3) {
ec();
}
player.gotoAndStop("win");
}
} else if (KO) {
player.gotoAndStop("dead");
}
}
function checkjump() {
if (!((hitStop > 0) || (dodgeLock == 1))) {
if ((_y < gv) && (u)) {
turn = 0;
inair = 1;
if (beenhit == 1) {
player.gotoAndStop("bsa");
} else {
player.gotoAndStop("jm");
}
}
}
}
function dodging(axelag) {
attacking = 0;
sdodge();
if ((axelag > defendernode.lastdamage) || (hitbyblock == 0)) {
turn = 1;
}
}
function ducking() {
duckstate = 1;
attacking = 0;
movename1 = "";
if ((!(hitStop || (dodgeLock == 1))) || (dodgeLock > 1)) {
if (!d) {
shc("de");
}
attacks();
specialattacks();
sdodge();
checkjump();
}
}
function falling(falllag) {
if ((defenderplayer._currentframe < 160) && (!airEscape)) {
escapeCombo();
}
if (!hitStop) {
_y = (_y - (((yf * 0.9) - gravity) * _root.speed));
gravity = gravity + (((_root.Cgravity * 1.25) * _root.speed) * _root.jumpdamping);
landing();
}
}
function jumpingdodge() {
inair = 1;
jumptravel(jst);
if ((_root.difx < mediumDistance) && (AIsequence == 1)) {
AIsequence = AIsequence + 1;
if (!this[(seqType + seqNum) + AIsequence]) {
sequenceSwitch();
}
}
landing();
}
function jumpingblock() {
jf = 0;
jb = 0;
jumpup = 1;
jumptravel(jst);
landing();
}
function jumping() {
if (!(hitStop || (dodgeLock))) {
if (!airTap) {
if (jf) {
travel(jsp);
if (dashJump) {
travel(10);
gravity = gravity + 0.5;
}
} else if (jb) {
travel(-jsp);
}
jumptravel(jst);
landing();
} else {
falling(10);
}
}
}
function spinning() {
if (!hitStop) {
if (stopcomp == 0) {
if (((defendernode.dodgestate == 0) || (addcombo > 0)) || (feelingSmart == 0)) {
compfbmotion(1, 0);
} else {
compfbmotion(0, 1);
}
}
if (b) {
travel(-4);
} else if (f) {
travel(8);
}
}
}
function hopb() {
if ((!(hitStop || (dodgeLock == 1))) || (dodgeLock > 1)) {
travel((-ws) / wratio);
if (!b) {
shc("bA");
travel((-(ws / 2)) / wratio);
sfx("st3");
}
gd("d", 0, 1, 0, 0, 0, 0);
attacks();
specialattacks();
sdodge();
checkjump();
gj("j", 1, 0);
}
}
function hopf() {
if ((!(hitStop || (dodgeLock == 1))) || (dodgeLock > 1)) {
travel(ws * wratio);
if (!f) {
shc("bA");
travel((ws / 2) * wratio);
sfx("st4");
}
gd("d", 0, 1, 0, 0, 0, 0);
attacks();
specialattacks();
sdodge();
checkjump();
gj("j", 1, 0);
}
}
function attacks() {
if (!(hitStop || (dodgeLock))) {
if (bk) {
gm("bkf", 0, 1, 0, 0, 0, 0, 1, 0, 0, 0);
gm("bk", 0, 0, 0, 0, 0, 0, 1, 0, 0, 0);
gm("bkb", 0, 0, 0, 1, 0, 0, 1, 0, 0, 0);
if (!boxer) {
gm("bkdf", 0, 1, 1, 0, 0, 0, 1, 0, 0, 0);
gm("bkd", 0, 0, 1, 0, 0, 0, 1, 0, 0, 0);
gm("bkdb", 0, 0, 1, 1, 0, 0, 1, 0, 0, 0);
}
if (boxer) {
gm("bkf", 0, 1, 1, 0, 0, 0, 1, 0, 0, 0);
gm("bk", 0, 0, 1, 0, 0, 0, 1, 0, 0, 0);
gm("bkb", 0, 0, 1, 1, 0, 0, 1, 0, 0, 0);
}
} else if (fk) {
gm("fkf", 0, 1, 0, 0, 0, 0, 0, 1, 0, 0);
gm("fk", 0, 0, 0, 0, 0, 0, 0, 1, 0, 0);
gm("fkb", 0, 0, 0, 1, 0, 0, 0, 1, 0, 0);
if (!boxer) {
gm("fkdf", 0, 1, 1, 0, 0, 0, 0, 1, 0, 0);
gm("fkd", 0, 0, 1, 0, 0, 0, 0, 1, 0, 0);
gm("fkdb", 0, 0, 1, 1, 0, 0, 0, 1, 0, 0);
}
if (boxer) {
gm("fkf", 0, 1, 1, 0, 0, 0, 0, 1, 0, 0);
gm("fk", 0, 0, 1, 0, 0, 0, 0, 1, 0, 0);
gm("fkb", 0, 0, 1, 1, 0, 0, 0, 1, 0, 0);
}
} else if (bp) {
gm("bpf", 0, 1, 0, 0, 1, 0, 0, 0, 0, 0);
gm("bp", 0, 0, 0, 0, 1, 0, 0, 0, 0, 0);
gm("bpb", 0, 0, 0, 1, 1, 0, 0, 0, 0, 0);
gm("bpdf", 0, 1, 1, 0, 1, 0, 0, 0, 0, 0);
gm("bpd", 0, 0, 1, 0, 1, 0, 0, 0, 0, 0);
gm("bpdb", 0, 0, 1, 1, 1, 0, 0, 0, 0, 0);
} else if (fp) {
gm("fpf", 0, 1, 0, 0, 0, 1, 0, 0, 0, 0);
gm("fp", 0, 0, 0, 0, 0, 1, 0, 0, 0, 0);
gm("fpb", 0, 0, 0, 1, 0, 1, 0, 0, 0, 0);
gm("fpdf", 0, 1, 1, 0, 0, 1, 0, 0, 0, 0);
gm("fpd", 0, 0, 1, 0, 0, 1, 0, 0, 0, 0);
gm("fpdb", 0, 0, 1, 1, 0, 1, 0, 0, 0, 0);
}
}
}
function jumpattacks() {
if (!(hitStop || (dodgeLock))) {
if ((firstjumpattack != 1) || (addcombo > 0)) {
if (bk) {
gjm("bku", 0, 0, 0, 0, 1, 0);
if (!boxer) {
gjm("bkuf", 1, 0, 0, 0, 1, 0);
gjm("bkub", 0, 1, 0, 0, 1, 0);
}
if (boxer) {
gjm("bku", 1, 0, 0, 0, 1, 0);
gjm("bku", 0, 1, 0, 0, 1, 0);
}
} else if (fk) {
gjm("fku", 0, 0, 0, 0, 0, 1);
if (!boxer) {
gjm("fkuf", 1, 0, 0, 0, 0, 1);
gjm("fkub", 0, 1, 0, 0, 0, 1);
}
if (boxer) {
gjm("fku", 1, 0, 0, 0, 0, 1);
gjm("fku", 0, 1, 0, 0, 0, 1);
}
} else if (bp or fp) {
gjm("bpu", f, b, 1, 0, 0, 0);
gjm("fpu", f, b, 0, 1, 0, 0);
} else {
sdodge();
}
}
specialjumpattacks();
}
}
function specialjumpattacks() {
if (!(hitStop || (dodgeLock))) {
if (name == "helicopter") {
if (attackKeyCheck("fk")) {
if (BfireballKeys()) {
jumpAttacking = 0;
gjm("fksp", 0, b, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
jumpAttacking = 0;
gjm("hyper1", 0, b, 0, 0, 0, fk);
}
}
}
}
}
}
function specialDefenseReaction() {
if (name == "angoleiro") {
specialDefense = 0;
if (player._currentframe < 1300) {
player.gotoAndStop("bksphit");
} else {
player.gotoAndStop("hyper2hit");
}
defendernode.hitStop = 10;
hitStop = 6;
}
}
function specialLink(LinkNum) {
linking = 1;
if (attackerbar.axe._xscale > 25) {
if (name == "angoleiro") {
if (attackKeyCheck("fk") || (AIspecialLink())) {
if (LinkNum == 1) {
gm("fksplink1", 0, f, d, b, 0, 0, 0, fk);
} else {
gm("fksplink2", 0, f, d, b, 0, 0, 0, fk);
}
}
} else if (name == "jamaika") {
if (attackKeyCheck("fk") || (AIspecialLink())) {
gm("fksplink", 0, f, d, b, 0, 0, 0, fk);
}
} else if (name == "angus") {
if (stopcomp == 1) {
if (attackKeyCheck("fp") || (attackKeyCheck("bp"))) {
gm("bkspPunch", 0, f, d, b, bp, fp, 0, 0);
} else if (attackKeyCheck("fk") || (attackKeyCheck("bk"))) {
gm("bkspKick", 0, f, d, b, 0, 0, bk, fk);
}
} else {
AIspecialLink("angus");
}
} else if (name == "saryn") {
if (stopcomp == 1) {
if (fk) {
gm("fkspKick", 0, f, d, b, 0, 0, 0, fk);
} else if ((u == 1) && (f == 1)) {
dashJump = 1;
gj("j", 1, 0);
}
} else {
AIspecialLink("saryn");
}
} else if (name == "pantera") {
if (stopcomp == 1) {
if (attackKeyCheck("fp") || (attackKeyCheck("bp"))) {
gm("bkspPunch", 0, f, d, b, bp, fp, 0, 0);
} else if (attackKeyCheck("fk") || attackKeyCheck("bk")) {
gm("bkspKick", 0, f, d, b, 0, 0, bk, fk);
}
} else {
AIspecialLink("pantera");
}
} else if (name == "leilong") {
if (attackKeyCheck("fp") || (AIspecialLink())) {
if (LinkNum == 1) {
resetspecial();
gm("fpsplink1", 0, f, d, 0, 0, fp, 0, 0);
} else if (LinkNum == 2) {
gm("fpsplink2", 0, f, d, 0, 0, fp, 0, 0);
}
}
} else if (name == "loka") {
if (attackKeyCheck("fp") || AIspecialLink()) {
if (LinkNum == 1) {
resetspecial();
gm("fpsplink1", 0, f, d, 0, 0, fp, 0, 0);
} else if (LinkNum == 2) {
gm("fpsplink2", 0, f, d, 0, 0, fp, 0, 0);
}
}
} else if (name == "saturno") {
if (attackKeyCheck("fp") || AIspecialLink()) {
gm("fpsplink", 0, f, d, b, 0, 0, 0, fk);
}
} else if (name == "maionese") {
if (attackKeyCheck("bk") || AIspecialLink()) {
gm("bksplink", 0, 0, d, b, 0, 0, bk, 0);
}
} else if (name == "ramba") {
if (attackKeyCheck("fk") || AIspecialLink()) {
gm("fksplink", 0, f, d, 0, 0, 0, 0, fk);
}
}
}
linking = 0;
}
function checkSpecialDodgeKeys() {
if (compFyoga) {
return(1);
}
if (bpkeytime > (keytime * 0.5)) {
if (_root["simplespdodge" + self]) {
if (BchargeKeys()) {
return(1);
}
if (FchargeKeys()) {
return(1);
}
} else {
if (FhalfCircleKeys()) {
return(1);
}
if (BhalfCircleKeys()) {
return(1);
}
}
}
}
function specialattacks() {
if (f) {
if ((bpkeytime > (keytime * 0.75)) && (fpkeytime > (keytime * 0.75))) {
gm("hgr", 0, 1, 0, 0, 1, 1, 0, 0);
} else if ((bkkeytime > (keytime * 0.75)) && (fkkeytime > (keytime * 0.75))) {
gm("lgr", 0, 1, 0, 0, 0, 0, 1, 1);
}
}
if (((switchOK && (hyper == 0)) && (defendernode.KO == 0)) && (_root["teamsize" + self] == 2)) {
if ((((key1 == "d") && (key2 == "d")) && (keyFade2 < 8)) || (compTag)) {
gm("switchout", 0, 0, 1, 0, 0, 0, 0, 0);
}
}
if (attackKeyCheck("bp")) {
if (checkSpecialDodgeKeys()) {
gm("dsp", u, f, d, b, bp, 0, 0, 0);
}
}
if (stopspecial == 0) {
if ((name == "zumbi") or (name == "zumbiazul")) {
if (attackKeyCheck("fp")) {
if (FfireballKeys()) {
gm("fpsp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (BfireballKeys()) {
gm("bksp", 0, 0, d, b, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (BchargeKeys()) {
gm("fksp", 0, f, d, 0, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper3", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBchargeKeys()) {
gm("hyper1", 0, f, d, 0, 0, 0, 0, fk);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper2", 0, 0, d, b, 0, 0, bk, 0);
}
}
}
} else if (name == "rochedo") {
if (attackKeyCheck("fp")) {
if (BfireballKeys()) {
gm("fpsp", 0, 0, d, b, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (BfireballKeys()) {
gm("bksp", 0, 0, d, b, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (FuppercutKeys()) {
gm("fksp", 0, f, d, 0, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper2", 0, 0, d, b, 0, fp, 0, 0);
}
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper1", 0, f, d, 0, 0, 0, 0, fk);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper3", 0, 0, d, b, 0, 0, bk, 0);
}
}
}
} else if (name == "coelha") {
if (attackKeyCheck("fp")) {
if (FfireballKeys()) {
gm("fpsp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (FuppercutKeys()) {
gm("bksp", 0, f, d, 0, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (BfireballKeys()) {
gm("fksp", 0, 0, d, b, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper1", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper2", 0, f, d, 0, 0, 0, bk, 0);
}
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper3", 0, 0, d, b, 0, 0, 0, fk);
}
}
}
} else if (name == "ramba") {
if (attackKeyCheck("fp")) {
if (FuppercutKeys()) {
gm("fpsp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (BchargeKeys()) {
gm("bksp", 0, f, d, 0, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (FfireballKeys()) {
gm("fksp", 0, f, d, 0, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper2", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBchargeKeys()) {
gm("hyper1", 0, f, d, 0, 0, 0, bk, 0);
}
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper3", 0, f, d, 0, 0, 0, 0, fk);
}
}
}
} else if (name == "chompoo") {
if (attackKeyCheck("fp")) {
if (FuppercutKeys()) {
gm("fpsp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (bktapsp || (compTapbk)) {
gm("bksp", 0, b, d, b, 0, 0, bk, 0);
}
if (attackKeyCheck("fk")) {
if (FuppercutKeys()) {
gm("fksp", 0, f, d, 0, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper1", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
if (attackKeyCheck("bk")) {
if ((attackerbar.hyperbar._xscale > 99) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper3", 0, f, d, 0, 0, 0, bk, 0);
}
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper2", 0, f, d, 0, 0, 0, 0, fk);
}
}
}
} else if (name == "perereca") {
if (attackKeyCheck("fp")) {
if (BuppercutKeys()) {
gm("fpsp", 0, 0, d, b, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (BchargeKeys()) {
gm("bksp", 0, f, d, 0, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (FfireballKeys()) {
gm("fksp", 0, f, d, 0, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper2", 0, 0, d, b, 0, fp, 0, 0);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBchargeKeys()) {
gm("hyper3", 0, f, d, 0, 0, 0, bk, 0);
}
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper1", 0, f, d, 0, 0, 0, 0, fk);
}
}
}
} else if (name == "maionese") {
if (attackKeyCheck("fp")) {
if (FfireballKeys()) {
gm("fpsp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (BfireballKeys()) {
gm("bksp", 0, 0, d, b, 0, 0, bk, 0);
}
}
if (fktapsp || compTapfk) {
gm("fksp", 0, f, d, b, 0, 0, 0, fk);
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper3", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper2", 0, f, d, 0, 0, 0, 0, fk);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper1", 0, 0, d, b, 0, 0, bk, 0);
}
}
}
} else if (name == "furacao") {
if (attackKeyCheck("fp")) {
if (BchargeKeys()) {
gm("fpsp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (BfireballKeys()) {
gm("bksp", 0, 0, d, b, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (BuppercutKeys()) {
gm("fksp", 0, 0, d, b, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBchargeKeys()) {
gm("hyper2", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper3", 0, 0, d, b, 0, 0, bk, 0);
}
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper1", 0, 0, d, b, 0, 0, 0, fk);
}
}
}
} else if (name == "jamaika") {
if (attackKeyCheck("fp")) {
if (FfireballKeys()) {
gm("fpsp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (BuppercutKeys()) {
gm("bksp", 0, 0, d, b, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (FfireballKeys()) {
gm("fksp", 0, f, d, 0, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper3", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper1", 0, 0, d, b, 0, 0, bk, 0);
}
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper2", 0, f, d, 0, 0, 0, 0, fk);
}
}
}
} else if (name == "santo") {
if (attackKeyCheck("fp")) {
if (FfireballKeys()) {
gm("fpsp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (BchargeKeys()) {
gm("bksp", 0, f, d, 0, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (FuppercutKeys()) {
gm("fksp", 0, f, d, 0, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper2", 0, f, d, 0, 0, 0, 0, fk);
}
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper3", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBchargeKeys()) {
gm("hyper1", 0, f, d, 0, 0, 0, bk, 0);
}
}
}
} else if (name == "maestro") {
if (attackKeyCheck("fp")) {
if (BchargeKeys()) {
gm("fpsp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (BchargeKeys()) {
gm("bksp", 0, f, d, 0, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (FfireballKeys()) {
gm("fksp", 0, f, d, 0, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBchargeKeys()) {
gm("hyper2", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper3", 0, f, d, 0, 0, 0, 0, fk);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBchargeKeys()) {
gm("hyper1", 0, f, d, 0, 0, 0, bk, 0);
}
}
}
} else if (name == "cobra") {
if (attackKeyCheck("fp")) {
if (BfireballKeys()) {
gm("fpsp", 0, 0, d, b, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (BchargeKeys()) {
gm("bksp", 0, f, d, 0, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (FfireballKeys()) {
gm("fksp", 0, f, d, 0, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper3", 0, 0, d, b, 0, fp, 0, 0);
}
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper2", 0, f, d, 0, 0, 0, 0, fk);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBchargeKeys()) {
gm("hyper1", 0, f, d, 0, 0, 0, bk, 0);
}
}
}
} else if (name == "saturno") {
if (attackKeyCheck("fp")) {
if (BfireballKeys()) {
gm("fpsp", 0, 0, d, b, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (BuppercutKeys()) {
gm("bksp", 0, 0, d, b, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (FchargeKeys()) {
gm("fksp", 0, 0, d, b, 0, 0, 0, fk);
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper3", 0, 0, d, b, 0, 0, bk, 0);
}
}
}
if (attackKeyCheck("fk")) {
if ((attackerbar.hyperbar._xscale > 33) && (defendernode.KO == 0)) {
if (DFchargeKeys()) {
gm("hyper1", 0, 0, d, b, 0, 0, 0, fk);
}
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper2", 0, 0, d, b, 0, fp, 0, 0);
}
}
}
} else if (name == "bulldog") {
if (fptapsp || compTapfp) {
gm("fpsp", 0, f, d, b, 0, fp, 0, 0);
}
if (bktapsp || compTapbk) {
gm("bksp", 0, f, d, b, 0, 0, bk, 0);
}
if (attackKeyCheck("fk")) {
if (BchargeKeys()) {
gm("fksp", 0, f, d, 0, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBchargeKeys()) {
gm("hyper3", 0, f, d, 0, 0, 0, 0, fk);
}
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper2", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper1", 0, f, d, 0, 0, 0, bk, 0);
}
}
}
} else if (name == "leilong") {
if (attackKeyCheck("fp")) {
if (FfireballKeys()) {
gm("fpsp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (BchargeKeys()) {
gm("bksp", 0, f, d, 0, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (BuppercutKeys()) {
gm("fksp", 0, 0, d, b, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper3", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper1", 0, 0, d, b, 0, 0, 0, fk);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBchargeKeys()) {
gm("hyper2", 0, f, d, 0, 0, 0, bk, 0);
}
}
}
} else if (name == "kuanyinshen") {
if (attackKeyCheck("fp")) {
if (BchargeKeys()) {
gm("fpsp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (BfireballKeys()) {
gm("bksp", 0, 0, d, b, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (FfireballKeys()) {
gm("fksp", 0, f, d, 0, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBchargeKeys()) {
gm("hyper2", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper3", 0, f, d, 0, 0, 0, 0, fk);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper1", 0, 0, d, b, 0, 0, bk, 0);
}
}
}
} else if (name == "gator") {
if (fptapsp || compTapfp) {
gm("fpsp", 0, f, d, b, 0, fp, 0, 0);
}
if (attackKeyCheck("bk")) {
if (FfireballKeys()) {
gm("bksp", 0, f, d, 0, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (FfireballKeys()) {
gm("fksp", 0, f, d, 0, 0, 0, 0, fk);
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper1", 0, f, d, 0, 0, 0, bk, 0);
}
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper3", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper2", 0, f, d, 0, 0, 0, 0, fk);
}
}
}
} else if (name == "loka") {
if (attackKeyCheck("fp")) {
if (FfireballKeys()) {
gm("fpsp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (BchargeKeys()) {
gm("bksp", 0, f, d, 0, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (FuppercutKeys()) {
gm("fksp", 0, f, d, 0, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper3", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBchargeKeys()) {
gm("hyper1", 0, f, d, 0, 0, 0, bk, 0);
}
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper2", 0, f, d, 0, 0, 0, 0, fk);
}
}
}
} else if (name == "helicopter") {
if (attackKeyCheck("fp")) {
if (FfireballKeys()) {
gm("fpsp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (BfireballKeys()) {
gm("bksp", 0, 0, d, b, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper2", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper3", 0, 0, d, b, 0, 0, bk, 0);
}
}
}
} else if (name == "panda") {
if (fptapsp || compTapfp) {
gm("fpsp", 0, f, d, b, 0, fp, 0, 0);
}
if (attackKeyCheck("bk")) {
if (BfireballKeys()) {
gm("bksp", 0, 0, d, b, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (BuppercutKeys()) {
gm("fksp", 0, 0, d, b, 0, 0, 0, fk);
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper1", 0, 0, d, b, 0, 0, bk, 0);
}
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper2", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper3", 0, 0, d, b, 0, 0, 0, fk);
}
}
}
} else if (name == "aleron") {
if (attackKeyCheck("fp")) {
if (BchargeKeys()) {
gm("fpsp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (bptapsp || compTapbp) {
gm("bksp", 0, f, d, b, bp, 0, 0, 0);
}
if (attackKeyCheck("fp")) {
if (FuppercutKeys()) {
gm("fksp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bp")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper1", 0, f, d, 0, bp, 0, 0, 0);
}
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBchargeKeys()) {
gm("hyper2", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper3", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
} else if (name == "johnny") {
if (attackKeyCheck("fp")) {
if (FuppercutKeys()) {
gm("fpsp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (BfireballKeys()) {
gm("bksp", 0, 0, d, b, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (FfireballKeys()) {
gm("fksp", 0, f, d, 0, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper3", 0, f, d, 0, 0, 0, 0, fk);
}
}
}
if (attackKeyCheck("bk")) {
if ((attackerbar.hyperbar._xscale > 33) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper1", 0, 0, d, b, 0, 0, bk, 0);
}
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper2", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
} else if (name == "angus") {
if (attackKeyCheck("fp")) {
if (FfireballKeys()) {
gm("fpsp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (FfireballKeys()) {
gm("bksp", 0, f, d, 0, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (FuppercutKeys()) {
gm("fksp", 0, f, d, 0, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper2", 0, f, d, 0, 0, 0, 0, fk);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper3", 0, f, d, 0, 0, 0, bk, 0);
}
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper1", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
} else if (name == "pantera") {
if (attackKeyCheck("fp")) {
if (FfireballKeys()) {
gm("fpsp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (BfireballKeys()) {
gm("bksp", 0, 0, d, b, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (FuppercutKeys()) {
gm("fksp", 0, f, d, 0, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper2", 0, f, d, 0, 0, 0, 0, fk);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper3", 0, 0, d, b, 0, 0, bk, 0);
}
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper1", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
} else if (name == "saryn") {
if (attackKeyCheck("fp")) {
if (FuppercutKeys()) {
gm("fpsp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (BfireballKeys()) {
gm("bksp", 0, 0, d, b, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (FfireballKeys()) {
gm("fksp", 0, f, d, 0, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper3", 0, f, d, 0, 0, 0, 0, fk);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper1", 0, 0, d, b, 0, 0, bk, 0);
}
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper2", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
} else if (name == "angoleiro") {
if (attackKeyCheck("fp")) {
if (FfireballKeys()) {
gm("fpsp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (BfireballKeys()) {
if (addcombo < 1) {
gm("bksp", 0, 0, d, b, 0, 0, bk, 0);
} else {
gm("bksphit", 0, 0, d, b, 0, 0, bk, 0);
}
}
}
if (attackKeyCheck("fk")) {
if (BfireballKeys()) {
gm("fksp", 0, 0, d, b, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper3", 0, 0, d, b, 0, 0, 0, fk);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper1", 0, 0, d, b, 0, 0, bk, 0);
}
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper2", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
} else if (name == "avery") {
if (attackKeyCheck("fp")) {
if (BchargeKeys()) {
gm("fpsp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (BfireballKeys()) {
gm("bksp", 0, 0, d, b, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (BfireballKeys()) {
gm("fksp", 0, 0, d, b, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBchargeKeys()) {
gm("hyper1", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper2", 0, 0, d, b, 0, 0, 0, fk);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper3", 0, 0, d, b, 0, 0, bk, 0);
}
}
}
} else if (name == "arubim") {
if (attackKeyCheck("fp")) {
if (FfireballKeys()) {
gm("fpsp", 0, f, d, 0, 0, fp, 0, 0);
}
}
if (attackKeyCheck("bk")) {
if (FfireballKeys()) {
gm("bksp", 0, f, d, 0, 0, 0, bk, 0);
}
}
if (attackKeyCheck("fk")) {
if (BuppercutKeys()) {
gm("fksp", 0, 0, d, b, 0, 0, 0, fk);
}
}
if (attackKeyCheck("fk")) {
if (((attackerbar.hyperbar._xscale > 66) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DBfireballKeys()) {
gm("hyper2", 0, 0, d, b, 0, 0, 0, fk);
}
}
}
if (attackKeyCheck("bk")) {
if (((attackerbar.hyperbar._xscale > 33) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper1", 0, f, d, 0, 0, 0, bk, 0);
}
}
}
if (attackKeyCheck("fp")) {
if (((attackerbar.hyperbar._xscale > 99) && (hyper == 0)) && (defendernode.KO == 0)) {
if (DFfireballKeys()) {
gm("hyper3", 0, f, d, 0, 0, fp, 0, 0);
}
}
}
}
}
}
function attackKeyCheck(attackKeyC) {
if ((this[attackKeyC + "keytime"] > (keytime * 0.75)) && (this[attackKeyC + "keytime"] >= (keyfade1 - 1))) {
return(1);
}
return(0);
}
function FuppercutKeys() {
if ((((key1 == "f") && (key2 == "d")) && (key3 == "f")) && (keyFade3 < keytime)) {
return(1);
}
if ((((key1 == "d") && (key2 == "f")) && (forwardHold > downHold)) && (keyFade2 < keytime)) {
} else {
if (compFuppercut) {
return(1);
}
return(0);
}
}
function BuppercutKeys() {
if ((((key1 == "b") && (key2 == "d")) && (key3 == "b")) && (keyFade3 < keytime)) {
return(1);
}
if ((((key1 == "d") && (key2 == "b")) && (backHold > downHold)) && (keyFade2 < keytime)) {
} else {
if (compBuppercut) {
return(1);
}
return(0);
}
}
function BfireballKeys() {
if ((((key1 == "b") && (key2 == "d")) && (keyFade2 < keytime)) && (((keyAge2 - keyAge1) > 1) || (d == 0))) {
return(1);
}
if (compBfireball) {
return(1);
}
return(0);
}
function FfireballKeys() {
if ((((key1 == "f") && (key2 == "d")) && (keyFade2 < keytime)) && (((keyAge2 - keyAge1) > 1) || (d == 0))) {
return(1);
}
if (compFfireball) {
return(1);
}
return(0);
}
function FhalfCircleKeys() {
if (((((key1 == "f") && (key2 == "d")) && (key3 == "b")) && (keyFade3 < keytime)) && (((keyAge3 - keyAge2) > 1) || (d == 0))) {
return(1);
}
if (compFyoga) {
return(1);
}
return(0);
}
function BhalfCircleKeys() {
if (((((key1 == "b") && (key2 == "d")) && (key3 == "f")) && (keyFade3 < keytime)) && (((keyAge3 - keyAge2) > 1) || (d == 0))) {
return(1);
}
if (compByoga) {
return(1);
}
return(0);
}
function BchargeKeys() {
if ((key1 == "f") && (((key2 == "b") && (keyFade2 < keytime)) || ((key3 == "b") && (keyFade3 < keytime)))) {
return(1);
}
if (compBcharge) {
return(1);
}
return(0);
}
function FchargeKeys() {
if ((key1 == "b") && (((key2 == "f") && (keyFade2 < keytime)) || ((key3 == "f") && (keyFade3 < keytime)))) {
return(1);
}
if (compFcharge) {
return(1);
}
return(0);
}
function DFfireballKeys() {
if (((((key1 == "f") && (key2 == "d")) && (key3 == "f")) && (key4 == "d")) && (keyFade4 < keytime)) {
return(1);
}
if (((((key1 == "f") && (key2 == "f")) && (key3 == "d")) && (dkeytime > (keytime / 2))) && (keyFade3 < keytime)) {
return(1);
}
if (compDFfireball) {
return(1);
}
return(0);
}
function DBfireballKeys() {
if (((((key1 == "b") && (key2 == "d")) && (key3 == "b")) && (key4 == "d")) && (keyFade4 < keytime)) {
return(1);
}
if (((((key1 == "b") && (key2 == "b")) && (key3 == "d")) && (dkeytime > (keytime / 2))) && (keyFade3 < keytime)) {
return(1);
}
if (compDBfireball) {
return(1);
}
return(0);
}
function DBchargeKeys() {
if (compDBcharge) {
return(1);
}
if (((((key4 == "b") && (key3 == "f")) && (key2 == "b")) && (key1 == "f")) && (keyFade4 <= keytime)) {
return(1);
}
if ((((((key5 == "b") && (key4 == "d")) && (key3 == "f")) && (key2 == "b")) && (key1 == "f")) && (keyFade5 <= keytime)) {
return(1);
}
if (((((((key6 == "b") && (key5 == "d")) && (key4 == "f")) && (key3 == "d")) && (key2 == "b")) && (key1 == "f")) && (keyFade6 <= keytime)) {
return(1);
}
if ((((((((key7 == "b") && (key6 == "d")) && (key5 == "f")) && (key4 == "d")) && (key3 == "b")) && (key2 == "d")) && (key1 == "f")) && (keyFade7 <= keytime)) {
return(1);
}
if ((((((key5 == "b") && (key4 == "f")) && (key3 == "d")) && (key2 == "b")) && (key1 == "f")) && (keyFade5 <= keytime)) {
return(1);
}
if ((((((key5 == "b") && (key4 == "f")) && (key3 == "b")) && (key2 == "d")) && (key1 == "f")) && (keyFade5 <= keytime)) {
return(1);
}
if (((((((key6 == "b") && (key5 == "f")) && (key4 == "d")) && (key3 == "b")) && (key2 == "d")) && (key1 == "f")) && (keyFade6 <= keytime)) {
return(1);
}
return(0);
}
function DFchargeKeys() {
if (compDFcharge) {
return(1);
}
if (((((key4 == "f") && (key3 == "b")) && (key2 == "f")) && (key1 == "b")) && (keyFade4 <= keytime)) {
return(1);
}
if ((((((key5 == "f") && (key4 == "d")) && (key3 == "b")) && (key2 == "f")) && (key1 == "b")) && (keyFade5 <= keytime)) {
return(1);
}
if (((((((key6 == "f") && (key5 == "d")) && (key4 == "b")) && (key3 == "f")) && (key2 == "f")) && (key1 == "b")) && (keyFade6 <= keytime)) {
return(1);
}
if ((((((((key7 == "f") && (key6 == "d")) && (key5 == "b")) && (key4 == "d")) && (key3 == "f")) && (key2 == "d")) && (key1 == "b")) && (keyFade7 <= keytime)) {
return(1);
}
if ((((((key5 == "f") && (key4 == "b")) && (key3 == "d")) && (key2 == "f")) && (key1 == "b")) && (keyFade5 <= keytime)) {
return(1);
}
if ((((((key5 == "f") && (key4 == "b")) && (key3 == "f")) && (key2 == "d")) && (key1 == "b")) && (keyFade5 <= keytime)) {
return(1);
}
if (((((((key6 == "f") && (key5 == "b")) && (key4 == "d")) && (key3 == "f")) && (key2 == "d")) && (key1 == "b")) && (keyFade6 <= keytime)) {
return(1);
}
return(0);
}
function combos(axelag) {
if (axelag < 3) {
AIdefense = 0;
attacking = 0;
defendernode.alreadyEscaped = 0;
recovering = 1;
}
if (((addcombo > 0) && (!defendernode.alreadyEscaped)) && (!defendernode.fireballHit)) {
defendernode.escapeCombo();
}
hopping = 0;
if (hitStop) {
axelag = 0;
}
if (hyperfull) {
hypergo();
}
grabhit = 0;
if (doingspecial) {
specialmomentumcombo();
}
if (_root.speed == 1) {
if (axelag > (hitrecovery + 4)) {
if (!inair) {
forceTurn = 1;
if (self == 1) {
_parent.turnp1();
} else {
_parent.turnp2();
}
forceTurn = 0;
}
if ((!(((bp or fp) or bk) or fk)) && (!((((movename == "bpsp") or (movename == "fpsp")) or (mvename == "fksp")) or (movename == "bksp")))) {
recoveryMove = [movename1 + "Ending"];
emhc(eval (recoveryMove));
}
}
}
if (axelag == 2) {
if (stopcomp == 0) {
AIsequence = AIsequence + 1;
if (!this[(seqType + seqNum) + AIsequence]) {
sequenceSwitch();
}
}
pantbreath = 0;
axetest = 1;
} else {
axetest = 0;
}
if ((axelag > 2) && (pantbreath == 0)) {
if ((_root[("p" + self) + "bar"].axe._xscale <= 25) && (((((((f or u) or d) or b) or fk) or bk) or fp) or bp)) {
_root["psfx" + self].pant.stop();
sfx("pant");
pantbreath = 1;
}
}
if (((!forceCombo) && (addcombo < 1)) && (lastdamage > 2)) {
axelag = axelag - (4 + (lastdamage * 2));
}
forceCombo = 0;
if ((axelag > 1) && (!inair)) {
turn = 1;
turnAround();
}
if ((defenderplayer._currentframe > 1165) && (defenderplayer._currentframe < 1315)) {
resetspecial();
clearmoves();
}
comboready = 2;
climb = "";
cdir = "";
if (((((_root[("p" + self) + "bar"].axe._xscale > 25) && (axelag > (4 - mespeed))) && ((stopspecial == 0) or (addcombo > 0))) || (hyper == 2)) || (_root.speedCheat)) {
if (((bp or fp) or bk) or fk) {
comboing = 1;
if (bk && (!fk)) {
climb = "bk";
} else if (fk && (!bk)) {
climb = "fk";
}
if (bp && (!fp)) {
climb = "bp";
} else if (fp && (!bp)) {
climb = "fp";
}
} else {
comboing = 0;
}
if ((((!f) && (!d)) && (!b)) or u) {
} else if (f && (d)) {
cdir = "df";
if (boxer && ((climb == "bk") or (climb == "fk"))) {
cdir = "f";
}
} else if (b && (d)) {
cdir = "db";
if (boxer && ((climb == "bk") or (climb == "fk"))) {
cdir = "b";
}
} else if ((d && (!f)) && (!b)) {
cdir = "d";
if (boxer && ((climb == "bk") or (climb == "fk"))) {
cdir = "";
}
} else if (f) {
cdir = "f";
} else if (b) {
cdir = "b";
}
comboname = [climb + cdir];
if ((((axelevel < 6) && (inair == 0)) && (comboing == 1)) && (comboname != movename1)) {
if (axelevel < 2) {
advance = 4;
} else if (axelevel < 3) {
advance = 3;
} else if (axelevel < 4) {
advance = 2;
} else if (axelevel < 5) {
advance = 1;
} else {
cspeed = 0;
advance = 0;
}
if ((hyper == 2) || (_root.speedCheat)) {
advance = 10;
}
}
cspeed = eval (this[comboname + "momentum"]);
if ((hyper == 2) || (_root.speedCheat)) {
hypercombo();
}
if (((stopspecial == 0) || (axelag > (lastdamage * 2))) || (addcombo > 0)) {
if ((eval (this[comboname + "momentum"]) && (inair == 0)) && (((bp or fp) or bk) or fk)) {
if ((strongattack == 0) or (this[comboname + "used"] == 0)) {
if (_parent["faceCheck" + self]()) {
turn = 0;
gm(comboname, u, f, d, b, bp, fp, bk, fk, advance, cspeed);
gj("j", 1, 0);
}
}
} else if (inair && (((addcombo > 0) && (defendernode.inair)) || (ballCombo))) {
jumpattacks();
}
}
if ((inair == 0) && (stopSpecialLink == 0)) {
specialattacks();
}
}
climb = "";
cdir = "";
cspeed = 0;
}
function specialcombos(axelag) {
if (((_root[("p" + self) + "bar"].axe._xscale > 25) && (axelag < 4)) || ((hyper == 2) || (_root.speedCheat))) {
specialmomentumcombo();
combos(axelag);
}
}
function specialmomentumcombo() {
FForward = 1;
BForward = 1;
FSide = 2;
BSide = 2;
FFlip = 3;
BFlip = 1;
HalfSpinA = 2;
HalfSpinT = 2;
HandStand = 2;
FHandStand = 2;
BHandStand = 2;
HandSpinA = 3;
HandSpinT = 3;
FSpinA = 3;
FSpinT = 3;
BSpinA = 3;
BSpinT = 3;
}
function FForwardcombo() {
FForward = 1;
BForward = 1;
FSide = 1;
BSide = 1;
FFlip = 4;
BFlip = 1;
HalfSpinA = 2;
HalfSpinT = 2;
HandStand = 2;
FHandStand = 2;
BHandStand = 2;
HandSpinA = 3;
HandSpinT = 3;
FSpinA = 3;
FSpinT = 1;
BSpinA = 4;
BSpinT = 1;
}
function BForwardcombo() {
FForward = 1;
BForward = 1;
FSide = 1;
BSide = 1;
FFlip = 4;
BFlip = 1;
HalfSpinA = 2;
HalfSpinT = 2;
HandStand = 2;
FHandStand = 2;
BHandStand = 2;
HandSpinA = 3;
HandSpinT = 3;
FSpinA = 1;
FSpinT = 3;
BSpinA = 1;
BSpinT = 4;
}
function FSidecombo() {
FForward = 1;
BForward = 0;
FSide = 1;
BSide = 0;
FFlip = 1;
BFlip = 0;
HalfSpinA = 0;
HalfSpinT = 1;
HandStand = 2;
FHandStand = 2;
BHandStand = 0;
HandSpinA = 3;
HandSpinT = 0;
FSpinA = 3;
FSpinT = 0;
BSpinA = 4;
BSpinT = 0;
}
function BSidecombo() {
FForward = 0;
BForward = 1;
FSide = 0;
BSide = 1;
FFlip = 1;
BFlip = 0;
HalfSpinA = 1;
HalfSpinT = 0;
HandStand = 2;
FHandStand = 0;
BHandStand = 2;
HandSpinA = 0;
HandSpinT = 3;
FSpinA = 0;
FSpinT = 3;
BSpinA = 0;
BSpinT = 4;
}
function FFlipcombo() {
FForward = 1;
BForward = 1;
FSide = 1;
BSide = 1;
FFlip = 4;
BFlip = 0;
HalfSpinA = 1;
HalfSpinT = 1;
HandStand = 2;
FHandStand = 2;
BHandStand = 2;
HandSpinA = 2;
HandSpinT = 2;
FSpinA = 2;
FSpinT = 2;
BSpinA = 3;
BSpinT = 3;
}
function BFlipcombo() {
FForward = 1;
BForward = 1;
FSide = 1;
BSide = 1;
FFlip = 0;
BFlip = 1;
HalfSpinA = 2;
HalfSpinT = 2;
HandStand = 1;
FHandStand = 1;
BHandStand = 1;
HandSpinA = 3;
HandSpinT = 3;
FSpinA = 2;
FSpinT = 2;
BSpinA = 3;
BSpinT = 3;
}
function HalfSpinAcombo() {
FForward = 1;
BForward = 1;
FSide = 1;
BSide = 0;
FFlip = 2;
BFlip = 1;
HalfSpinA = 2;
HalfSpinT = 0;
HandStand = 2;
FHandStand = 2;
BHandStand = 0;
HandSpinA = 3;
HandSpinT = 0;
FSpinA = 3;
FSpinT = 0;
BSpinA = 4;
BSpinT = 0;
}
function HalfSpinTcombo() {
FForward = 1;
BForward = 1;
FSide = 0;
BSide = 2;
FFlip = 2;
BFlip = 1;
HalfSpinA = 0;
HalfSpinT = 2;
HandStand = 2;
FHandStand = 0;
BHandStand = 2;
HandSpinA = 0;
HandSpinT = 3;
FSpinA = 0;
FSpinT = 3;
BSpinA = 0;
BSpinT = 4;
}
function HandStandcombo() {
FForward = 1;
BForward = 1;
FSide = 0;
BSide = 0;
FFlip = 4;
BFlip = 1;
HalfSpinA = 0;
HalfSpinT = 0;
HandStand = 2;
FHandStand = 2;
BHandStand = 2;
HandSpinA = 3;
HandSpinT = 3;
FSpinA = 0;
FSpinT = 0;
BSpinA = 0;
BSpinT = 0;
}
function FHandStandcombo() {
FForward = 0;
BForward = 1;
FSide = 0;
BSide = 0;
FFlip = 4;
BFlip = 1;
HalfSpinA = 0;
HalfSpinT = 0;
HandStand = 2;
FHandStand = 2;
BHandStand = 1;
HandSpinA = 3;
HandSpinT = 1;
FSpinA = 0;
FSpinT = 0;
BSpinA = 0;
BSpinT = 0;
}
function BHandStandcombo() {
FForward = 1;
BForward = 0;
FSide = 0;
BSide = 0;
FFlip = 4;
BFlip = 1;
HalfSpinA = 0;
HalfSpinT = 0;
HandStand = 2;
FHandStand = 1;
BHandStand = 2;
HandSpinA = 1;
HandSpinT = 31;
FSpinA = 0;
FSpinT = 0;
BSpinA = 0;
BSpinT = 0;
}
function HandSpinAcombo() {
FForward = 1;
BForward = 0;
FSide = 1;
BSide = 0;
FFlip = 1;
BFlip = 1;
HalfSpinA = 1;
HalfSpinT = 0;
HandStand = 2;
FHandStand = 1;
BHandStand = 2;
HandSpinA = 3;
HandSpinT = 0;
FSpinA = 3;
FSpinT = 0;
BSpinA = 4;
BSpinT = 0;
}
function HandSpinTcombo() {
FForward = 0;
BForward = 1;
FSide = 0;
BSide = 1;
FFlip = 1;
BFlip = 1;
HalfSpinA = 0;
HalfSpinT = 1;
HandStand = 2;
FHandStand = 2;
BHandStand = 1;
HandSpinA = 0;
HandSpinT = 3;
FSpinA = 0;
FSpinT = 3;
BSpinA = 0;
BSpinT = 4;
}
function FSpinAcombo() {
FForward = 1;
BForward = 1;
FSide = 1;
BSide = 0;
FFlip = 2;
BFlip = 1;
HalfSpinA = 2;
HalfSpinT = 0;
HandStand = 1;
FHandStand = 1;
BHandStand = 2;
HandSpinA = 3;
HandSpinT = 0;
FSpinA = 3;
FSpinT = 0;
BSpinA = 4;
BSpinT = 0;
}
function FSpinTcombo() {
FForward = 1;
BForward = 1;
FSide = 0;
BSide = 1;
FFlip = 2;
BFlip = 1;
HalfSpinA = 0;
HalfSpinT = 2;
HandStand = 1;
FHandStand = 2;
BHandStand = 1;
HandSpinA = 0;
HandSpinT = 3;
FSpinA = 0;
FSpinT = 3;
BSpinA = 0;
BSpinT = 4;
}
function BSpinAcombo() {
FForward = 1;
BForward = 1;
FSide = 1;
BSide = 0;
FFlip = 2;
BFlip = 1;
HalfSpinA = 2;
HalfSpinT = 0;
HandStand = 1;
FHandStand = 2;
BHandStand = 0;
HandSpinA = 3;
HandSpinT = 0;
FSpinA = 3;
FSpinT = 0;
BSpinA = 4;
BSpinT = 0;
}
function BSpinTcombo() {
FForward = 1;
BForward = 1;
FSide = 0;
BSide = 1;
FFlip = 2;
BFlip = 1;
HalfSpinA = 0;
HalfSpinT = 2;
HandStand = 1;
FHandStand = 0;
BHandStand = 2;
HandSpinA = 0;
HandSpinT = 3;
FSpinA = 0;
FSpinT = 3;
BSpinA = 0;
BSpinT = 4;
}
function clearmoves() {
fpfused = 0;
fpused = 0;
fpbused = 0;
fpdfused = 0;
fpdused = 0;
fpdbused = 0;
bpfused = 0;
bpused = 0;
bpbused = 0;
bpdfused = 0;
bpdused = 0;
bpdbused = 0;
fkfused = 0;
fkused = 0;
fkbused = 0;
fkdfused = 0;
fkdused = 0;
fkdbused = 0;
bkfused = 0;
bkused = 0;
bkbused = 0;
bkdfused = 0;
bkdused = 0;
bkdbused = 0;
}
function enemyInFront() {
if (((face == 1) && (defendernode._x > _x)) || ((face == -1) && (defendernode._x < _x))) {
return(1);
}
return(0);
}
function clearkeys() {
bkkeyup = 1;
fkkeyup = 1;
bpkeyup = 1;
fpkeyup = 1;
compTag = 0;
compTapfp = 0;
compTapbp = 0;
compTapbk = 0;
compTapfk = 0;
compFuppercut = 0;
compBuppercut = 0;
compFfireball = 0;
compBfireball = 0;
compFyoga = 0;
compByoga = 0;
compBcharge = 0;
compFcharge = 0;
compDFfireball = 0;
compDBfireball = 0;
compDBcharge = 0;
compDFcharge = 0;
key1 = "";
key2 = "";
key3 = "";
key4 = "";
key5 = "";
}
function checkWindows() {
funkyCount = funkyCount + 1;
if (funkyCount >= funkyWindow) {
funkyCount = 0;
funkyWindow = random(30) + funkyTime;
if (random(10) <= funkyFactor) {
feelingFunky = 1;
} else {
feelingFunky = 0;
}
}
smartCount = smartCount + 1;
if (smartCount >= smartWindow) {
smartCount = 0;
smartWindow = random(15) + smartTime;
if ((random(12) < smartFactor) || (skill >= 10)) {
feelingSmart = 1;
} else {
feelingSmart = 0;
}
}
angryCount = angryCount + 1;
if (angryCount >= angryWindow) {
angryCount = 0;
angryWindow = random(20) + angryTime;
if (random(10) <= angryFactor) {
feelingAngry = 1;
} else {
feelingAngry = 0;
}
}
}
function AIretaliateSpecial() {
retSpecial = 0;
if (fkspDistance > _root.difx) {
retSpecial = "fksp";
} else if (bkspDistance > _root.difx) {
retSpecial = "bksp";
} else if (fpspDistance > _root.difx) {
retSpecial = "fpsp";
}
if (retSpecial) {
eval (retSpecial + "Move")();
} else if (feelingFunky && (funkyCount < 20)) {
spdgMove();
}
}
function randomSpecial() {
if (skill > 1) {
_root.AIState = "randomSpecial";
RcompSpecial = random(100);
CranSp = 0;
if (RcompSpecial == 0) {
CranSp = "fpsp";
} else if (RcompSpecial == 1) {
CranSp = "bksp";
} else if (RcompSpecial == 2) {
CranSp = "fksp";
} else if (((RcompSpecial == 3) && (feelingFunky)) || ((angryCount < 15) && (_root.difx < mediumDistance))) {
CranSp = "spdg";
}
if ((_root.matchtype == 2) || (_root.matchtype == 6)) {
Cransp = specialpusher1;
}
if (CranSp) {
if (_root.difx < this[CranSp + "Distance"]) {
if ((this[CranSp + "Defend"] == "high") && (defendernode.dodgestate == 0)) {
eval (CranSp + "Move")();
} else if ((this[CranSp + "Defend"] == "low") && (defendernode.dodgestate != 1)) {
eval (CranSp + "Move")();
} else if ((this[CranSp + "Defend"] == "overhead") && (defendernode.dodgestate != 2)) {
eval (CranSp + "Move")();
} else if ((this[CranSp + "Defend"] == "parry") && (!defendernode.inair)) {
eval (CranSp + "Move")();
}
}
}
}
}
function getBlockedSpecial() {
_root.AIState = "getBlockedSpecial";
RcompSpecial = random(30);
CranSp = 0;
if (RcompSpecial == 0) {
CranSp = "fpsp";
} else if (RcompSpecial == 1) {
CranSp = "bksp";
} else if (RcompSpecial == 2) {
CranSp = "fksp";
}
if ((_root.matchtype == 2) || (_root.matchtype == 6)) {
Cransp = specialpusher1;
}
if (CranSp) {
if (_root.difx < (this[CranSp + "Distance"] * 1.5)) {
if ((this[CranSp + "Defend"] == "high") && (defendernode.dodgestate)) {
eval (CranSp + "Move")();
} else if ((this[CranSp + "Defend"] == "low") && (defendernode.dodgestate == 1)) {
eval (CranSp + "Move")();
} else if ((this[CranSp + "Defend"] == "overhead") && (defendernode.dodgestate == 2)) {
eval (CranSp + "Move")();
} else if ((this[CranSp + "Defend"] == "parry") && (!defendernode.inair)) {
eval (CranSp + "Move")();
}
}
}
}
function randomSequence(attackType) {
attackMove(attackType, random(2) + 1, 1);
}
function randomAttack(RattackType) {
if (((!stopSpecialLink) && (((RattackType == "sweep") || (RattackType == "uppercut")) || (RattackType == "overhead"))) && (feelingFunky)) {
if ((attackerbar.hyperbar._xscale > 33) && (feelingAngry)) {
_root.AIState = "angryRandomHyper";
RhyperCheck = eval (("hyper" + RattackType) + "1");
if ((RhyperCheck == "hyper1") && (attackerbar.hyperbar._xscale > 33)) {
RattackType = "hyper" + RattackType;
} else if ((RhyperCheck == "hyper2") && (attackerbar.hyperbar._xscale > 66)) {
RattackType = "hyper" + RattackType;
} else if ((RhyperCheck == "hyper3") && (attackerbar.hyperbar._xscale > 99)) {
RattackType = "hyper" + RattackType;
} else {
RattackType = ["special" + RattackType];
}
} else {
_root.AIState = "angryRandomSpecial";
RattackType = "special" + RattackType;
}
RattackNum = 1;
AIsequence = 1;
} else {
_root.AIState = "reg Random Move";
RattackNum = random(2) + 1;
}
this.RattackType = RattackType;
attackMove(RattackType, 1, 0);
}
function randomJump() {
compUD = random(2);
if (compUD == 0) {
compudmotion(0, 0);
} else if (feelingFunky || (feelingAngry)) {
compudmotion(1, 0);
}
}
function randomDodge() {
if ((compRdodge == 0) || (dodgestate == 0)) {
compDG = random(18 - skill);
if (compDG == 1) {
dodgeHighMove();
} else if (compDG == 0) {
dodgeLowMove();
}
}
}
function randomUD() {
compUD = random(3);
if (compUD == 0) {
compudmotion(0, 0);
} else if (compUD == 1) {
compudmotion(0, 1);
} else if (feelingFunky) {
compudmotion(1, 0);
}
}
function randomFB() {
compFB = random(3);
if (compFB == 0) {
compfbmotion(0, 0);
} else if (compFB == 1) {
compfbmotion(0, 1);
} else {
compfbmotion(1, 0);
}
}
function randomPK() {
compPK = random(3);
if (compPK == 0) {
compmoves(0, 0, 0, 1);
} else if (compPK == 1) {
compmoves(0, 0, 1, 0);
} else if (compPK == 2) {
compmoves(0, 1, 0, 0);
} else {
compmoves(1, 0, 0, 0);
}
}
function randomNormalAttack() {
if (random(20) <= skill) {
randomFB();
randomUD();
randomPK();
}
}
function randomGrab() {
_root.AIState = "Still Grab";
if (defendernode.duckstate) {
lowGrabMove();
} else {
highGrabMove();
}
if (feelingAngry) {
if (haletter == "Gator") {
attackTarget = "bksp";
} else if (haletter == "arubim") {
attackTarget = "fpsp";
}
}
}
function compudmotion(compu, compd) {
u = compu;
d = compd;
}
function compfbmotion(compf, compb) {
f = compf;
b = compb;
}
function compmoves(compbk, compfk, compbp, compfp) {
bp = compbp;
if (bp) {
bpkeytime = keytime;
} else {
bpkeytime = 0;
}
fp = compfp;
if (fp) {
fpkeytime = keytime;
} else {
fpkeytime = 0;
}
bk = compbk;
if (bk) {
bkkeytime = keytime;
} else {
bkkeytime = 0;
}
fk = compfk;
if (fk) {
fkkeytime = keytime;
} else {
fkkeytime = 0;
}
}
function AItagOut() {
if (!((_root.matchtype == 4) && (_root[("p" + other) + "money"] == 1))) {
if (!((_root.matchtype == 4) && (_root[("p" + self) + "money"] == 1))) {
if (attackerbar.pw1._xscale < (attackerbar.pwb._xscale - 20)) {
if (attackerbar.pw1._xscale < 40) {
_root.AIState = "tag team";
restMove();
compTag = 1;
compudmotion(0, 1);
}
}
}
}
}
function AIcombatLoop() {
if ((!defendernode.fallen) || ((skill >= 4) && (feelingSmart == 0))) {
if (addcombo == 0) {
if (_root.difx < mediumDistance) {
if (defendernode.recovering || (((defendernode.AIdefense == 0) && (defendernode.dodgestate == 0)) || ((skill >= 5) && (feelingSmart == 0)))) {
_root.AIState = "retaliateAttack";
AIattack();
} else if ((!defendernode.doingspecial) || ((skill >= 4) && (feelingSmart == 0))) {
_root.AIState = "counterAttack";
AIcounterAttack();
}
}
if (((feelingFunky && ((defendernode.doingspecial == 0) || (feelingSmart == 0))) || (defendernode.recovering)) || (hyper == 4)) {
_root.AIState = "baseRSpecial";
randomSpecial();
}
if ((((feelingFunky == 0) || (feelingAngry)) && (feelingSmart == 0)) && (defendernode.dodgestate)) {
getblockedSpecial();
}
if ((defendernode.recovering && (_root.difx > mediumDistance)) && (feelingSmart)) {
if (skill >= 6) {
AIretaliateSpecial();
} else {
randomAttack("sweep");
}
}
} else if (((addcombo > 0) && (skill >= 3)) && ((addcombo < skill) || (skill >= 10))) {
_root.AIState = "comboAttack";
if (_root.difx < mediumDistance) {
if (seqType) {
attackMove(seqType, seqNum, AIsequence);
} else {
sequenceSwitch();
}
}
if (feelingSmart && (skill >= 4)) {
if (((!stopSpecialLink) && ((seqType == "finisher") || (seqType == "starter"))) && (feelingFunky == 0)) {
_root.AIState = "hyperAttackCombo";
AIhyperAttack();
}
}
}
}
}
function AImatchtypes() {
if (_root.matchtype == 2) {
AInoAttack = 0;
if (Math.abs(_x) < 70) {
selfIn = 1;
} else {
selfIn = 0;
}
if (Math.abs(defendernode._x) < 70) {
otherIn = 1;
} else {
otherIn = 0;
}
if (selfIn) {
if (!otherIn) {
AInoAttack = 1;
if (Math.abs(_x) < 50) {
backMove();
} else if (attackerbar.axe._xscale < 80) {
restMove();
} else if (funkyCount < angryCount) {
backMove();
} else {
forwardMove();
}
}
} else if (!otherIn) {
if ((_x > 0) && (defendernode._x > 0)) {
if (Math.abs(_x) < Math.abs(defendernode._x)) {
backMove();
randomJump();
} else {
forwardMove();
if ((((_root.difx < mediumDistance) && (funkyCount < 10)) && (feelingSmart)) && (skill >= 6)) {
spdgMove();
}
}
} else {
forwardMove();
randomJump();
}
} else if (_root.difx > mediumDistance) {
forwardMove();
} else if (((funkyCount < 10) && (feelingSmart)) && (skill >= 6)) {
spdgMove();
} else if (feelingFunky) {
jumpForwardMove();
}
} else if (_root.matchtype == 3) {
if (Math.abs(_x) < 70) {
selfIn = 1;
} else {
selfIn = 0;
}
if (Math.abs(defendernode._x) < 70) {
otherIn = 1;
} else {
otherIn = 0;
}
if (selfIn) {
AItooStill = 0;
if (!otherIn) {
if (feelingFunky) {
if (((funkyCount < 5) && (feelingSmart)) && (skill >= 7)) {
spdgMove();
} else {
jumpForwadMove();
}
} else {
jumpBackMove();
}
}
} else if (!otherIn) {
if ((_x > 0) && (defendernode._x > 0)) {
if (Math.abs(_x) < Math.abs(defendernode._x)) {
if (feelingFunky) {
if (((funkyCount < 5) && (feelingSmart)) && (skill >= 6)) {
spdgMove();
} else {
jumpForwardMove();
}
} else {
forwardMove();
}
}
} else {
AItooStill = 0;
if (attackerbar.axe._xscale < 80) {
restMove();
} else if (funkyCount < angryCount) {
backMove();
} else {
forwardMove();
if (Math.abs(_x) < 80) {
if (feelingFunky && (Math.abs(defendernode._x) > 130)) {
if (((angryCount < 10) && feelingSmart) && (skill >= 4)) {
spdgMove();
} else {
jumpForwardMove();
}
} else {
jumpBackMove();
}
}
}
}
} else if (defendernode.fallen) {
if (Math.abs(_x) < 100) {
jumpBackMove();
} else {
backMove();
}
}
} else if (_root.matchtype == 4) {
AInoAttack = 0;
AIfinishMoneyGame = 0;
if (_root[("p" + self) + "money"] == 0) {
if (self == 1) {
goal = 175;
} else {
goal = -175;
}
if (Math.abs(goal - _x) > Math.abs(goal - defendernode._x)) {
if (_root.difx > mediumDistance) {
forwardMove();
} else if (((feelingFunky && (funkyCount < 10)) && (feelingSmart)) && (skill >= 5)) {
spdgMove();
} else {
forwardMove();
randomJump();
}
} else {
backMove();
if (Math.abs(_x) < 40) {
randomJump();
} else {
AInoAttack = 1;
}
}
} else {
if (self == 1) {
goal = -175;
} else {
goal = 175;
}
if (Math.abs(goal - _x) > Math.abs(goal - defendernode._x)) {
if (_root.difx > mediumDistance) {
forwardMove();
} else {
if (((feelingFunky && (funkyCount < 10)) && (feelingSmart)) && (skill >= 5)) {
spdgMove();
} else {
forwardMove();
randomJump();
}
if (((addcombo > 1) && (feelingSmart)) && (skill >= 7)) {
AIfinishMoneyGame = 1;
}
}
} else {
backMove();
if (Math.abs(_x) < 50) {
randomJump();
}
if ((feelingFunky == 0) || (feelingAngry == 0)) {
AInoAttack = 1;
}
}
}
} else if (_root.matchtype == 5) {
} else if (_root.matchtype == 6) {
if (Math.abs(_x) > Math.abs(defendernode._x)) {
forwardMove();
if (_root.difx < mediumDistance) {
if (((feelingFunky && (funkyCount < 10)) && (feelingSmart)) && (skill >= 4)) {
spdgMove();
} else {
forwardMove();
randomJump();
}
}
}
}
}
function AIspecialLink(AIlinkName) {
if (stopcomp == 0) {
if (AIlinkName) {
if (AIlinkName == "saryn") {
if (_root.difx < mediumDistance) {
if (((defendernode.dodgestate != 1) || (feelingSmart == 0)) && (defendernode.inair == 0)) {
compmoves(0, 1, 0, 0);
} else {
fkufMove();
}
}
} else if (AIlinkName == "angus") {
if (random(2) == 0) {
compmoves(0, 0, 1, 0);
} else {
compmoves(0, 1, 0, 0);
}
} else if (AIlinkName == "pantera") {
if (_root.difx < mediumDistance) {
if (feelingSmart) {
if ((defendernode.dodgestate != 1) && (defendernode.inair == 0)) {
compmoves(0, 1, 0, 0);
} else {
compmoves(0, 0, 0, 1);
}
}
}
}
// unexpected jump
}
if ((((addcombo > 0) || (defendernode.recovering)) || (defendernode.dodgestate == 0)) || (feelingSmart == 0)) {
return(1);
}
return(0);
}
return(0);
}
function AIelude() {
compmoves(0, 0, 0, 0);
if (_root.difx > longDistance) {
restMove();
} else if (_root.difx > (mediumDistance * 0.8)) {
backMove();
if (Math.abs(_x) < 50) {
if (feelingFunky) {
randomJump();
}
}
} else if (Math.abs(_x) > Math.abs(defendernode._x)) {
if (feelingSmart && (skill >= 5)) {
spdgMove();
} else {
jumpForwardMove();
}
} else {
jumpBackMove();
}
}
function AIdefendspdg() {
if (defendernode.CspecialDodging) {
if (_root.difx < mediumDistance) {
if (defendernode.inair) {
_root.AIState = "DefAirSpDg";
if ((feelingFunky && (feelingSmart)) && (skill >= 7)) {
spdgMove();
} else if (feelingSmart) {
dodgeHighMove();
}
} else {
_root.AIState = "DefGroundSpDg";
if (feelingFunky && (feelingSmart)) {
if (attackerbar.axe._xscale < 50) {
restMove();
} else {
spdgMove();
}
} else if (feelingSmart) {
jumpUpMove();
randomfbmotion();
}
}
}
}
}
function AIapproach() {
if (attackerbar.axe._xscale > 25) {
if (_root.difx > (longDistance * 0.8)) {
_root.AIState = "approachLong";
if (((feelingFunky && (funkyCount < 5)) && (angryCount < 5)) && ((skill >= 4) && (feelingSmart))) {
spdgMove();
} else {
forwardMove();
if (feelingSmart == 0) {
randomJump();
}
}
} else if (_root.difx > (mediumDistance * 0.8)) {
_root.AIState = "approachMedium";
forwardMove();
if (((_root.difx > (mediumDistance * 1.1)) && (feelingFunky)) || (((skill >= 3) && (skill <= 7)) && (funkyCount > 40))) {
randomJump();
}
}
if (((feelingFunky && (funkyCount < 15)) && (!feelingAngry)) && (_root.difx < longDistance)) {
backMove();
}
}
if (hyper == 4) {
if (feelingFunky && (funkyCount < 30)) {
spdgMove();
} else {
forwardMove();
}
}
}
function AIretreat() {
if (addcombo == 0) {
if (attackerbar.axe._xscale < 90) {
if (_root.difx > (longDistance * 1.25)) {
_root.AIState = "restAxeLong";
restMove();
}
} else if (attackerbar.axe._xscale < 25) {
if (_root.difx < (longDistance * 1.5)) {
if ((defendernode.fallen || (defendernode.AIdefense == 0)) || (_root.difx > shortDistance)) {
_root.AIState = "retreatClose";
compfbmotion(0, 1);
compmoves(0, 0, 0, 0);
randomJump();
}
}
}
}
if (defendernode.fallen || (defendernode.nograb)) {
clearkeys();
compMoves(0, 0, 0, 0);
backMove();
randomJump();
}
}
function AIattack() {
if (inair == 0) {
if (defendernode.inair == 0) {
if (_root.difx < shortDistance) {
if (defendernode.v4 && (defendernode.dodgestate != 2)) {
if (feelingSmart && (skill >= 7)) {
randomAttack("overhead");
} else {
randomNormalAttack();
}
}
if ((defendernode.v0 || (defendernode.v1)) && (defendernode.dodgestate != 1)) {
if (feelingSmart && (skill >= 4)) {
if (funkyCount < 5) {
randomAttack("sweep");
} else if (_root.difx < (shortDistance * 0.8)) {
randomAttack("lowtap");
}
} else {
randomNormalAttack();
}
}
if ((((defendernode.v3 && (defendernode.v2)) && (defendernode.v1)) && (defendernode.inair == 0)) && (defendernode.dodgestate == 0)) {
if (((attackerbar.axe._xscale > 25) && (feelingSmart)) && (skill >= 6)) {
if (skill >= 7) {
AIhyperAttack();
} else {
randomSpecial();
}
} else {
randomFB();
if (feelingFunky) {
randomUD();
}
randomNormalAttack();
}
}
}
} else if ((((_root.difx < shortDistance) && (defendernode.v4)) && (feelingSmart)) && (skill >= 4)) {
randomAttack("uppercut");
}
} else if (inair) {
if (_root.difx < mediumDistance) {
if (defendernode.v4 || (feelingSmart == 0)) {
if (feelingSmart) {
if ((defendernode.inair && (defendernode._y < _y)) && (defendernode.AIDefense)) {
randomAttack("jumpup");
} else if ((((haletter == "Helicopter") && (feelingFunky)) && (feelingSmart)) && (skill >= 6)) {
fkspMove();
} else {
randomAttack("jumpin");
}
} else {
randomNormalAttack();
}
}
_root.AIState = "attack jump";
}
}
}
function AIcounterAttack() {
if ((defendernode.inair && (defendernode.airEscape == 0)) && ((defendernode.gravity > (defendernode.jst * 1.25)) || (defendernode.AIdefense))) {
if (((_root.difx < (mediumDistance * 0.75)) && (feelingSmart)) && (skill >= 4)) {
randomAttack("uppercut");
_root.AIState = "counterUpper";
}
}
}
function AIhealthRefill() {
if (((_root.difx > longDistance) && (feelingSmart)) && (skill >= 8)) {
if (attackerbar.pw1._xscale < 25) {
if (attackerbar.hyberbar._xscale > 33) {
hyper1Move();
}
}
}
}
function AIhyperAttack() {
if (feelingSmart && (skill >= 4)) {
if (((attackerbar.hyperbar._xscale > 99) && (_root.difx < hyper3Distance)) && (skill >= 6)) {
hyper3Move();
} else if ((attackerbar.hyperbar._xscale > 66) && ((_root.difx < hyper2Distance) >= 5)) {
hyper2Move();
} else if ((attackerbar.hyperbar._xscale > 33) && (_root.difx < hyper1Distance)) {
hyper1Move();
}
}
if ((feelingSmart && (skill >= 7)) && ((addcombo > 0) || (skill < 10))) {
if ((_root.matchtype == 2) || (_root.matchtype == 6)) {
if (_root.difx < this[hyperpusher1 + "Distance"]) {
if ((hyperpusher1 == "hyper1") && (attackerbar.hyperbar._xscale > 33)) {
eval (hyperpusher1 + "Move")();
} else if ((hyperpusher1 == "hyper2") && (attackerbar.hyperbar._xscale > 66)) {
eval (hyperpusher1 + "Move")();
} else if ((hyperpusher1 == "hyper3") && (attackerbar.hyperbar._xscale > 99)) {
eval (hyperpusher1 + "Move")();
}
}
}
}
}
function AIdodge() {
if ((defendernode.AIdefense && (_root.difx < defendernode.AIdistance)) && (hyper != 4)) {
_root.AIState = "AIdodge";
if (defendernode.AIdefense == "overhead") {
if (feelingSmart) {
dodgeHighMove();
} else {
randomDodge();
}
} else if (defendernode.AIdefense == "high") {
if (feelingSmart) {
if (feelingFunky) {
dodgeLowMove();
} else {
dodgeHighMove();
}
} else {
randomDodge();
}
} else if (defendernode.AIdefense == "low") {
_root.AIState = "dodge low";
if (feelingSmart) {
dodgeLowMove();
} else if (skill >= 3) {
randomDodge();
}
} else if (defendernode.AIdefense == "parry") {
if (feelingSmart) {
if (skill >= 6) {
spdgMove();
} else {
jumpBackMove();
}
}
defendernode.AIdefense = 0;
} else if (defendernode.AIdefense == "fake") {
} else if (defendernode.AIdefense == "fakeOver") {
} else if (defendernode.AIdefense == "zumbiparry") {
if (feelingSmart && (skill >= 4)) {
AIelude();
} else {
randomDodge();
}
} else if (defendernode.AIdefense == 0) {
}
if ((feelingFunky && (funkyCount < 5)) && (angryCount < 5)) {
if (feelingSmart && (skill >= 7)) {
spdgMove();
}
}
if (matchtype == 6) {
AInoAttack = 0;
if (feelingSmart && (skill >= 4)) {
if (Math.abs(_x) > Math.abs(defendernode._x)) {
if ((funkyCount < 5) && ((angryCount < 5) || (Math.abs(_x) > 100))) {
AInoAttack = 1;
spdgMove();
}
}
}
}
}
if (defendernode.fireballAttack && (hyper != 4)) {
if (feelingFunky && (funkyCount > 15)) {
if (feelingSmart) {
spdgMove();
} else {
randomDodge();
}
_root.AIState = "special dodge fireball";
} else {
if ((_root.difx > mediumDistance) && (feelingSmart)) {
dodgeHighMove();
} else {
dodgeLowMove();
}
_root.AIState = "dodge fireball";
}
}
}
compudmotion(0, 0);
compfbmotion(0, 0);
compmoves(0, 0, 0, 0);
function gocomp() {
skill = _root.Cdifficulty;
smartFactor = skill;
smartTime = (10 - skill) * 5;
checkWindows();
clearkeys();
restMove();
if (!((_root.matchtype == 2) || (_root.matchtype == 3))) {
AIapproach();
}
if (_root.matchtype != 1) {
AImatchtypes();
}
if (hyper != 4) {
AIdodge();
}
if (!(((defendernode.addcombo > 0) || (defendernode.fireballAttack)) || (defendernode.hyper == 4))) {
if (!AInoAttack) {
AIcombatLoop();
}
if ((((hyper != 4) && (_root.matchType != 2)) && (_root.matchtype != 3)) && (_root.matchtype != 5)) {
if (feelingSmart) {
AIretreat();
}
}
AIdefendspdg();
}
if ((defendernode.landRecovery && (defendernode.recovery)) && (!AInoAttack)) {
_root.AIState = "uppercut retaliate";
compfbmotion(1, 0);
compmoves(0, 0, 0, 0);
if (defendernode.inair == 0) {
if (feelingSmart) {
randomSpecial();
} else {
randomNormalAttack();
}
}
}
if (hyper == 6) {
AIhealthRefill();
}
if (hyper == 4) {
if (addcombo == 0) {
if (_root.difx < (uberShortDistance * 0.9)) {
if (feelingSmart) {
randomGrab();
} else {
randomNormalAttack();
}
} else if ((feelingFunky && (funkyCount < 25)) && (feelingSmart)) {
spdgMove();
} else {
forwardMove();
}
}
}
if (!AInoAttack) {
if ((((defendernode.AIdefense == 0) && (defendernode.fallen == 0)) && (addcombo == 0)) && (defendernode.inair == 0)) {
AItooStill = AItooStill + 1;
if (AItooStill > 120) {
forwardMove();
if (_root.difx < (uberShortDistance * 0.9)) {
randomGrab();
}
}
} else {
AItooStill = 0;
}
}
if (((defendernode.hyper == 4) && (hyper != 4)) && (feelingSmart)) {
AIelude();
}
if (_root.matchtype != 1) {
if (AIfinishMoneyGame && (funkyCount < angryCount)) {
spdgMove();
}
if (_root.matchtype == 5) {
if (_root.hotpot == other) {
if ((funkyCount < (funkyWindow * 0.75)) && (feelingSmart)) {
AIelude();
} else if ((angryCount < (angryWindow * 0.5)) && (feelingSmart)) {
AIdodge();
}
}
}
}
if (defendernode.fireballAttack && (hyper != 4)) {
AIdodge();
}
if ((((defendernode.addcombo > (12 - skill)) && (feelingSmart)) && (skill >= 4)) && (attackerbar.axe._xscale > 26)) {
spdgMove();
}
if (_root.matchtype == 6) {
if (((defendernode.addcombo > 0) && (feelingSmart)) && (skill >= 4)) {
if (Math.abs(_x) > 50) {
if (Math.abs(_x) > Math.abs(defendernode._x)) {
spdgMove();
}
}
}
}
if (switchOK) {
if ((addcombo == 0) && (defendernode.addcombo == 0)) {
if (_root["teamsize" + self] > 1) {
AItagOut();
}
}
}
}
function restMove() {
compudmotion(0, 0);
compfbmotion(0, 0);
compmoves(0, 0, 0, 0);
}
function duckMove() {
compudmotion(0, 1);
compfbmotion(0, 0);
compmoves(0, 0, 0, 0);
}
function forwardMove() {
compudmotion(0, 0);
compfbmotion(1, 0);
compmoves(0, 0, 0, 0);
}
function backMove() {
compudmotion(0, 0);
compfbmotion(0, 1);
compmoves(0, 0, 0, 0);
}
function dodgeHighMove() {
compudmotion(0, 0);
compfbmotion(0, 1);
compmoves(0, 0, 0, 0);
}
function dodgeLowMove() {
compudmotion(0, 1);
compfbmotion(0, 1);
compmoves(0, 0, 0, 0);
}
function jumpForwardMove() {
compudmotion(1, 0);
compfbmotion(1, 0);
compmoves(0, 0, 0, 0);
}
function jumpUpMove() {
compudmotion(1, 0);
compfbmotion(0, 0);
compmoves(0, 0, 0, 0);
}
function jumpBackMove() {
compudmotion(1, 0);
compfbmotion(0, 1);
compmoves(0, 0, 0, 0);
}
function fpufMove() {
compfbmotion(1, 0);
compudmotion(1, 0);
compmoves(0, 0, 0, 1);
}
function fpuMove() {
compfbmotion(0, 0);
compudmotion(1, 0);
compmoves(0, 0, 0, 1);
}
function fpubMove() {
compfbmotion(0, 1);
compudmotion(1, 0);
compmoves(0, 0, 0, 1);
}
function fpfMove() {
compfbmotion(1, 0);
compudmotion(0, 0);
compmoves(0, 0, 0, 1);
}
function fpMove() {
compfbmotion(0, 0);
compudmotion(0, 0);
compmoves(0, 0, 0, 1);
}
function fpbMove() {
compfbmotion(0, 1);
compudmotion(1, 0);
compmoves(0, 0, 0, 1);
}
function fpdfMove() {
compfbmotion(1, 0);
compudmotion(0, 1);
compmoves(0, 0, 0, 1);
}
function fpdMove() {
compfbmotion(0, 0);
compudmotion(0, 1);
compmoves(0, 0, 0, 1);
}
function fpdbMove() {
compfbmotion(0, 1);
compudmotion(0, 1);
compmoves(0, 0, 0, 1);
}
function bpufMove() {
compfbmotion(1, 0);
compudmotion(1, 0);
compmoves(0, 0, 1, 0);
}
function bpuMove() {
compfbmotion(0, 0);
compudmotion(1, 0);
compmoves(0, 0, 1, 0);
}
function bpubMove() {
compfbmotion(0, 1);
compudmotion(1, 0);
compmoves(0, 0, 1, 0);
}
function bpfMove() {
compfbmotion(1, 0);
compudmotion(0, 0);
compmoves(0, 0, 1, 0);
}
function bpMove() {
compfbmotion(0, 0);
compudmotion(0, 0);
compmoves(0, 0, 1, 0);
}
function bpbMove() {
compfbmotion(0, 1);
compudmotion(0, 0);
compmoves(0, 0, 1, 0);
}
function bpdfMove() {
compfbmotion(1, 0);
compudmotion(0, 1);
compmoves(0, 0, 1, 0);
}
function bpdMove() {
compfbmotion(0, 0);
compudmotion(0, 1);
compmoves(0, 0, 1, 0);
}
function bpdbMove() {
compfbmotion(0, 1);
compudmotion(0, 1);
compmoves(0, 0, 1, 0);
}
function fkufMove() {
compfbmotion(1, 0);
compudmotion(1, 0);
compmoves(0, 1, 0, 0);
}
function fkuMove() {
compfbmotion(0, 0);
compudmotion(1, 0);
compmoves(0, 1, 0, 0);
}
function fkubMove() {
compfbmotion(0, 1);
compudmotion(1, 0);
compmoves(0, 1, 0, 0);
}
function fkfMove() {
compfbmotion(1, 0);
compudmotion(0, 0);
compmoves(0, 1, 0, 0);
}
function fkMove() {
compfbmotion(0, 0);
compudmotion(0, 0);
compmoves(0, 1, 0, 0);
}
function fkbMove() {
compfbmotion(0, 1);
compudmotion(0, 0);
compmoves(0, 1, 0, 0);
}
function fkdfMove() {
compfbmotion(1, 0);
compudmotion(0, 1);
compmoves(0, 1, 0, 0);
}
function fkdMove() {
compfbmotion(0, 0);
compudmotion(0, 1);
compmoves(0, 1, 0, 0);
}
function fkdbMove() {
compfbmotion(0, 1);
compudmotion(0, 1);
compmoves(0, 1, 0, 0);
}
function bkufMove() {
compfbmotion(1, 0);
compudmotion(1, 0);
compmoves(1, 0, 0, 0);
}
function bkuMove() {
compfbmotion(0, 0);
compudmotion(0, 0);
compmoves(1, 0, 0, 0);
}
function bkubMove() {
compfbmotion(0, 1);
compudmotion(1, 0);
compmoves(1, 0, 0, 0);
}
function bkfMove() {
compfbmotion(1, 0);
compudmotion(0, 0);
compmoves(1, 0, 0, 0);
}
function bkMove() {
compfbmotion(0, 0);
compudmotion(0, 0);
compmoves(1, 0, 0, 0);
}
function bkbMove() {
compfbmotion(0, 1);
compudmotion(0, 0);
compmoves(1, 0, 0, 0);
}
function bkdfMove() {
compfbmotion(1, 0);
compudmotion(0, 1);
compmoves(1, 0, 0, 0);
}
function bkdMove() {
compfbmotion(0, 0);
compudmotion(0, 1);
compmoves(1, 0, 0, 0);
}
function bkdbMove() {
compfbmotion(0, 1);
compudmotion(0, 1);
compmoves(1, 0, 0, 0);
}
function highGrabMove() {
if (!_root.defenseTutOn) {
compfbmotion(1, 0);
compudmotion(0, 0);
compmoves(0, 0, 1, 1);
}
}
function lowGrabMove() {
if (!_root.defenseTutOn) {
compfbmotion(1, 0);
compudmotion(0, 0);
compmoves(1, 1, 0, 0);
}
}
function fpspMove() {
clearkeys();
restMove();
this[fpspInput] = 1;
compmoves(0, 0, 0, 1);
}
function bkspMove() {
clearkeys();
restMove();
this[bkspInput] = 1;
compmoves(1, 0, 0, 0);
if (boxer) {
compmoves(0, 0, 1, 0);
}
}
function fkspMove() {
clearkeys();
restMove();
this[fkspInput] = 1;
compmoves(0, 1, 0, 0);
if (boxer) {
compmoves(0, 0, 0, 1);
}
}
function spdgMove() {
clearkeys();
restMove();
compFyoga = 1;
compmoves(0, 0, 1, 0);
}
function hyper1Move() {
clearkeys();
restMove();
this[hyper1Input] = 1;
this[hyper1Key] = 1;
this[hyper1Key + "keytime"] = keytime;
}
function hyper2Move() {
clearkeys();
restMove();
this[hyper2Input] = 1;
compmoves(0, 0, 0, 0);
this[hyper2Key] = 1;
this[hyper2Key + "keytime"] = keytime;
}
function hyper3Move() {
clearkeys();
this[hyper3Input] = 1;
compmoves(0, 0, 0, 0);
this[hyper3Key] = 1;
this[hyper3Key + "keytime"] = keytime;
}
function attackMove(MattackType, MattackNum, MattackStep) {
this.seqType = MattackType;
this.seqNum = MattackNum;
this.seqStep = MattackStep;
if (seqStep) {
this.attackTarget = this[(MattackType + MattackNum) + seqStep];
} else {
this.attackTarget = this[MattackType + MattackNum];
}
if ((defendernode.AIdefense == 0) && ((defendernode.inair == 0) || (defendernode.recovering))) {
if (((stopSpecialLink == 0) && (feelingFunky)) && (feelingSmart)) {
randomGrab();
seqType = "starter";
}
}
eval (attackTarget + "Move")();
}
function endSequence() {
seqType = 0;
seqNum = 1;
AIsequence = 1;
AIwait = 0;
}
function sequenceSwitch() {
AIsequence = 1;
seqNum = random(2) + 1;
if (feelingSmart) {
if (seqType == 0) {
seqType = "starter";
} else if (seqType == "starter") {
seqType = "linker";
if (defendernode.inair) {
seqType = "juggler";
}
} else if (seqType == "linker") {
seqType = "finisher";
} else if (seqType == "finisher") {
seqType = "juggler";
} else {
seqType = "starter";
}
} else {
seqType = 0;
}
}
function setplayer() {
if (venom <= 0) {
venom = 0;
}
ec();
if (_root["teamsize" + self] == 1) {
_root["switchdot" + self]._visible = false;
}
if (stopcomp == 0) {
feelingSmart = 0;
}
_root[("p" + self) + "money"] = 0;
_root.setInputWindow();
forceFrontSpark = 0;
AItooStill = 0;
funkyWindow = 30;
smartWindow = 30;
angryWindow = 30;
funkyCount = 0;
smartCount = 0;
angryCount = 0;
AInoAttack = 0;
AIwait = 0;
AIsequence = 1;
seqType = 0;
seqNum = 1;
nextHyper = random(3) + 1;
if (name == "zumbiazul") {
nextHyper = 3;
}
onlyAirBlock = 0;
specialLinkerUsed = 0;
recovering = 0;
forceVuln = 0;
doblock = 0;
overRideSHC = 0;
dodgeLockStart = 0;
specialDefense = 0;
fireballDeflect = 0;
dodgespWait = 0;
fireballHit = 0;
dodgeLock = 0;
dashJump = 0;
weakGetUp = 0;
forceNoAnimate = 0;
if (!inair) {
inair = 0;
}
animateSkip = 0;
randomHa = 0;
landRecovery = 0;
stopSpecialCombo = 0;
stopSpecialLink = 0;
airEscape = 0;
airTap = 0;
noGrab = 0;
adddamage = 0;
addcombo = 0;
doingspecial = 0;
hitStop = 0;
beenhit = 0;
beenhitBlock = 0;
boxer = 0;
intime = 0;
this.addcombo = 0;
defendernode.hitdir = -face;
clearmoves();
hyperup(0);
hypercolor = _root[("p" + absself) + "hyperstyle"];
hyperfull = 0;
hyperout = 0;
_root.maxstrength = 2.5;
strengthstep = 0.05;
_root.minaxe = 0.025;
axestep = 0.01;
turn = 1;
xf = 1;
defender = _parent["p" + other].player.hb;
defenderplayer = _parent["p" + other].player;
defendernode = _parent["p" + other];
defenderbar = _root[("p" + other) + "bar"];
attackerbar = _root[("p" + self) + "bar"];
_root["face" + self].gotoAndStop(_root[("p" + absself) + "charnum"]);
_root["hypermenu" + self].gotoAndStop(_root[("p" + absself) + "hyperstyle"]);
attackerbar.pw1._xscale = _root[("p" + absself) + "life"];
movesnum = _root[("p" + absself) + "charnum"];
hgrused = 0;
lgrused = 0;
fpspused = 0;
bpspused = 0;
bkspused = 0;
fkspused = 0;
uberShortDistance = 80;
shortDistance = 110;
mediumDistance = 150;
longDistance = 200;
uberLongDistance = 300;
bkufDistance = mediumDistance;
bkuDistance = mediumDistance;
bkubDistance = mediumDistance;
bkfDistance = shortDistance;
bkDistance = shortDistance;
bkbDistance = shortDistance;
bkdfDistance = shortDistance;
bkdDistance = shortDistance;
bkdbDistance = shortDistance;
fkufDistance = mediumDistance;
fkuDistance = mediumDistance;
fkubDistance = mediumDistance;
fkfDistance = shortDistance;
fkDistance = shortDistance;
fkbDistance = shortDistance;
fkdfDistance = shortDistance;
fkdDistance = shortDistance;
fkdbDistance = shortDistance;
bpuDistance = mediumDistance;
bpfDistance = shortDistance;
bpDistance = shortDistance;
bpbDistance = shortDistance;
bpdfDistance = shortDistance;
bpdDistance = shortDistance;
bpdbDistance = shortDistance;
fpuDistance = mediumDistance;
fpfDistance = shortDistance;
fpDistance = shortDistance;
fpbDistance = shortDistance;
fpdfDistance = shortDistance;
fpdDistance = shortDistance;
fpdbDistance = shortDistance;
fpspDistance = mediumDistance;
bkspDistance = mediumDistance;
fkspDistance = mediumDistance;
hgrDistance = uberShortDistance;
lgrDistance = uberShortDistance;
hyperDistance = mediumDistance;
hyper2Distance = mediumDistance;
hyper3Distance = mediumDistance;
switchinDistance = mediumDistance;
bkufDefend = "overhead";
bkuDefend = "overhead";
bkubDefend = "overhead";
bkfDefend = "high";
bkDefend = "low";
bkbDefend = "high";
bkdfDefend = "low";
bkdDefend = "low";
bkdbDefend = "low";
fkufDefend = "overhead";
fkuDefend = "overhead";
fkubDefend = "overhead";
fkfDefend = "high";
fkDefend = "low";
fkbDefend = "high";
fkdfDefend = "low";
fkdDefend = "low";
fkdbDefend = "low";
bpuDefend = "overhead";
bpfDefend = "high";
bpDefend = "high";
bpbDefend = "high";
bpdfDefend = "low";
bpdDefend = "low";
bpdbDefend = "low";
fpuDefend = "overhead";
fpfDefend = "high";
fpDefend = "high";
fpbDefend = "high";
fpdfDefend = "low";
fpdDefend = "low";
fpdbDefend = "low";
fpspDefend = "high";
bkspDefend = "high";
fkspDefend = "high";
hgrDefend = "parry";
lgrDefend = "parry";
switchinDefend = "high";
hyperDefend = "high";
hyper2Defend = "high";
hyper3Defend = "high";
switchinDefend = "high";
bkfEnding = "bA";
bkEnding = "bA";
bkbEnding = "bA";
bkdfEnding = "dm";
bkdEnding = "dm";
bkdbEnding = "dm";
fkfEnding = "bA";
fkEnding = "bA";
fkbEnding = "bA";
fkdfEnding = "dm";
fkdEnding = "dm";
fkdbEnding = "dm";
bpfEnding = "bA";
bpEnding = "bA";
bpbEnding = "bA";
bpdfEnding = "dm";
bpdEnding = "dm";
bpdbEnding = "dm";
fpfEnding = "bA";
fpEnding = "bA";
fpbEnding = "bA";
fpdfEnding = "dm";
fpdEnding = "dm";
fpdbEnding = "dm";
if (_root[("p" + absself) + "charnum"] == 15) {
name = "zumbi";
menum = 2;
haletter = "Zumbi";
weight = 2.3;
ws = 4;
wratio = 1.1;
jsp = 6;
jst = 10;
jumpratio = 0.75;
verticalspeed = 0.9;
funkyTime = 45;
funkyFactor = 3;
angryTime = 60;
angryFactor = 5;
starter11 = "bksp";
starter21 = "fksp";
linker11 = "fkd";
linker12 = "bpb";
linker21 = "fpd";
linker22 = "fpf";
finisher11 = "fpsp";
finisher21 = "fpdb";
finisher22 = "fksp";
juggler11 = "bpf";
juggler12 = "fkb";
juggler13 = "fksp";
juggler21 = "fkuf";
juggler22 = "bkub";
juggler23 = "fpsp";
pusher1 = "bkf";
pusher2 = "fkf";
specialpusher1 = "fpsp";
hyperpusher1 = "hyper1";
airpusher1 = "fkuf";
airpusher2 = "bkub";
lowtap1 = "fk";
lowtap2 = "bkd";
uppercut1 = "bpb";
uppercut2 = "bkdb";
specialuppercut1 = "fksp";
hyperuppercut1 = "hyper1";
overhead1 = "bpdf";
overhead2 = "bku";
specialoverhead1 = "bksp";
hyperoverhead1 = "bksp";
sweep1 = "fpdb";
sweep2 = "bkdf";
specialsweep1 = "fkdb";
hypersweep1 = "hyper2";
jumpup1 = "bkub";
jumpup2 = "fku";
jumpin1 = "bkuf";
jumpin2 = "fkub";
fpspInput = "compFfireball";
bkspInput = "compBfireball";
fkspInput = "compBcharge";
hyper1Input = "compDBcharge";
hyper1Key = "fk";
hyper2Input = "compDBfireball";
hyper2Key = "bk";
hyper3Input = "compDFfireball";
hyper3Key = "fp";
fpspDistance = mediumDistance;
bkspDistance = longDistance;
fkspDistance = mediumDistance;
hyper1Distance = mediumDistance;
hyper2Distance = mediumDistance;
hyper3Distance = shortDistance;
bpdfDefend = "overhead";
bkspDefend = "overhead";
hyper2Defend = "low";
bkbEnding = "gbA";
bkdfEnding = "gbA";
fkbEnding = "gfA";
fkdfEnding = "gfA";
bpfEnding = "gfA";
bkfmomentum = "BForward";
bkmomentum = "BForward";
bkbmomentum = "BSpinA";
bkdfmomentum = "FSpinT";
bkdmomentum = "BForward";
bkdbmomentum = "BSpinA";
fkfmomentum = "FSide";
fkmomentum = "FForward";
fkbmomentum = "BSpinT";
fkdfmomentum = "FSpinA";
fkdmomentum = "FForward";
fkdbmomentum = "BSpinT";
bpfmomentum = "FSpinT";
bpmomentum = "BForward";
bpbmomentum = "BFlip";
bpdfmomentum = "BHandStand";
bpdmomentum = "BForward";
bpdbmomentum = "HandSpinA";
fpfmomentum = "FHandStand";
fpmomentum = "FForward";
fpbmomentum = "BSpinT";
fpdfmomentum = "BForward";
fpdmomentum = "FForward";
fpdbmomentum = "BSpinA";
} else if (_root[("p" + absself) + "charnum"] == 23) {
name = "zumbiazul";
menum = 1;
haletter = "ZumbiAzul";
weight = 3;
ws = 4;
wratio = 1.1;
jsp = 6;
jst = 10;
jumpratio = 0.75;
verticalspeed = 0.9;
funkyTime = 30;
funkyFactor = 4;
angryTime = 30;
angryFactor = 5;
starter11 = "bksp";
starter21 = "fksp";
linker11 = "fkd";
linker12 = "bpb";
linker21 = "fpd";
linker22 = "fpf";
finisher11 = "fpsp";
finisher21 = "fpdb";
finisher22 = "fksp";
juggler11 = "bpf";
juggler12 = "fkb";
juggler13 = "fksp";
juggler21 = "fkuf";
juggler22 = "bkub";
juggler23 = "fpsp";
pusher1 = "bkf";
pusher2 = "fkf";
specialpusher1 = "fpsp";
hyperpusher1 = "hyper1";
airpusher1 = "fkuf";
airpusher2 = "bkub";
lowtap1 = "fk";
lowtap2 = "bkd";
uppercut1 = "bpb";
uppercut2 = "bkdb";
specialuppercut1 = "fksp";
hyperuppercut1 = "hyper1";
overhead1 = "bpdf";
overhead2 = "bku";
specialoverhead1 = "bksp";
hyperoverhead1 = "bksp";
sweep1 = "fpdb";
sweep2 = "bkdf";
specialsweep1 = "fkdb";
hypersweep1 = "hyper2";
jumpup1 = "bkub";
jumpup2 = "fku";
jumpin1 = "bkuf";
jumpin2 = "fkub";
fpspInput = "compFfireball";
bkspInput = "compBfireball";
fkspInput = "compBcharge";
hyper1Input = "compDBcharge";
hyper1Key = "fk";
hyper2Input = "compDBfireball";
hyper2Key = "bk";
hyper3Input = "compDFfireball";
hyper3Key = "fp";
fpspDistance = mediumDistance;
bkspDistance = longDistance;
fkspDistance = longDistance;
hyper1Distance = mediumDistance;
hyper2Distance = mediumDistance;
hyper3Distance = shortDistance;
bpdfDefend = "overhead";
bkspDefend = "overhead";
hyper2Defend = "low";
hyper3defend = "zumbiparry";
bkbEnding = "gbA";
bkdfEnding = "gbA";
fkbEnding = "gfA";
fkdfEnding = "gfA";
bpfEnding = "gfA";
bkfmomentum = "BForward";
bkmomentum = "BForward";
bkbmomentum = "BSpinA";
bkdfmomentum = "FSpinT";
bkdmomentum = "BForward";
bkdbmomentum = "BSpinA";
fkfmomentum = "FSide";
fkmomentum = "FForward";
fkbmomentum = "BSpinT";
fkdfmomentum = "FSpinA";
fkdmomentum = "FForward";
fkdbmomentum = "BSpinT";
bpfmomentum = "FSpinT";
bpmomentum = "BForward";
bpbmomentum = "BFlip";
bpdfmomentum = "BHandStand";
bpdmomentum = "BForward";
bpdbmomentum = "HandSpinA";
fpfmomentum = "FHandStand";
fpmomentum = "FForward";
fpbmomentum = "BSpinT";
fpdfmomentum = "BForward";
fpdmomentum = "FForward";
fpdbmomentum = "BSpinA";
} else if (_root[("p" + absself) + "charnum"] == 1) {
name = "rochedo";
menum = 4;
haletter = "Rochedo";
weight = 2;
ws = 5;
wratio = 0.9;
jsp = 7;
jst = 15;
jumpratio = 0.95;
verticalspeed = 1.25;
funkyTime = 90;
funkyFactor = 5;
angryTime = 90;
angryFactor = 4;
starter11 = "bksp";
starter21 = "bkdb";
linker11 = "fkdf";
linker12 = "bkdf";
linker21 = "bk";
linker22 = "bkf";
finisher11 = "fpsp";
finisher21 = "fkf";
finisher22 = "fksp";
juggler11 = "bkf";
juggler12 = "fkub";
juggler21 = "bku";
juggler22 = "bkub";
pusher1 = "bkdb";
pusher2 = "fkf";
specialpusher1 = "fpsp";
hyperpusher1 = "hyper3";
airpusher1 = "fkuf";
airpusher2 = "bkub";
lowtap1 = "fkd";
lowtap2 = "fkdf";
uppercut1 = "fksp";
uppercut2 = "bkdf";
specialuppercut1 = "fksp";
hyperuppercut1 = "hyper2";
overhead1 = "fpdf";
overhead2 = "fpdf";
specialoverhead = "bksp";
hyperoverhead = "hyper3";
sweep1 = "bkdb";
sweep2 = "fkdf";
specialsweep1 = "fpsp";
hypersweep1 = "hyper1";
jumpup1 = "fkub";
jumpup2 = "bkub";
jumpin1 = "fku";
jumpin2 = "fkuf";
fpspInput = "compBfireball";
bkspInput = "compBfireball";
fkspInput = "compFuppercut";
hyper1Input = "compDFfireball";
hyper1Key = "fk";
hyper2Input = "compDBfireball";
hyper2Key = "fp";
hyper3Input = "compDBfireball";
hyper3Key = "bk";
fpspDistance = mediumDistance;
bkspDistance = longDistance;
fkspDistance = shortDistance;
hyper1Distance = uberShortDistance;
hyper2Distance = shortDistance;
hyper3Distance = shortDistance;
fpdfDefend = "overhead";
bkspDefend = "overhead";
fpspDefend = "low";
hyper2Defend = "overhead";
hyper3Defend = "low";
bkdfEnding = "gbA";
fkbEnding = "gfA";
fpdbEnding = "gfA";
bkfmomentum = "BForward";
bkmomentum = "BForward";
bkbmomentum = "BForward";
bkdfmomentum = "FSpinT";
bkdmomentum = "BForward";
bkdbmomentum = "BSpinA";
fkfmomentum = "FForward";
fkmomentum = "FForward";
fkbmomentum = "BSpinT";
fkdfmomentum = "FForward";
fkdmomentum = "FForward";
fkdbmomentum = "BSpinT";
bpfmomentum = "BForward";
bpmomentum = "BForward";
bpbmomentum = "BSpinA";
bpdfmomentum = "BHandStand";
bpdmomentum = "BForward";
bpdbmomentum = "HandSpinA";
fpfmomentum = "FForward";
fpmomentum = "FForward";
fpbmomentum = "BSpinT";
fpdfmomentum = "BHandStand";
fpdmomentum = "FForward";
fpdbmomentum = "BSpinT";
} else if (_root[("p" + absself) + "charnum"] == 2) {
name = "coelha";
menum = 9;
haletter = "Coelha";
weight = 1.7;
ws = 5;
wratio = 1.15;
jsp = 5.5;
jst = 13;
jumpratio = 1;
verticalspeed = 1.1;
funkyTime = 30;
funkyFactor = 3;
angryTime = 60;
angryFactor = 3;
starter11 = "fksp";
starter21 = "bkb";
linker11 = "bkdf";
linker12 = "fpdb";
linker21 = "bpdb";
finisher11 = "fpsp";
finisher11 = "fkb";
finisher21 = "fkf";
finisher22 = "fkdb";
juggler11 = "bkb";
juggler12 = "fkb";
juggler21 = "bku";
juggler22 = "bkub";
pusher1 = "fkdb";
pusher2 = "bkdb";
specialpusher1 = "fpsp";
hyperpusher1 = "hyper1";
airpusher1 = "fku";
airpusher2 = "bpu";
lowtap1 = "bkd";
lowtap2 = "bk";
uppercut1 = "bpdb";
uppercut2 = "fpdb";
specialuppercut1 = "bksp";
hyperuppercut1 = "hyper1";
overhead1 = "fpf";
overhead2 = "fksp";
specialoverhead = "fksp";
hyperoverhead = "hyper2";
sweep1 = "bkdb";
sweep2 = "fkdf";
specialsweep1 = "bkdb";
hypersweep1 = "hyper3";
jumpup1 = "fkub";
jumpup2 = "fku";
jumpin1 = "fkuf";
jumpin2 = "fkub";
fpspInput = "compFfireball";
bkspInput = "compFuppercut";
fkspInput = "compBfireball";
hyper1Input = "compDFfireball";
hyper1Key = "fp";
hyper2Input = "compDFfireball";
hyper2Key = "bk";
hyper3Input = "compDBfireball";
hyper3Key = "fk";
fpspDistance = mediumDistance;
bkspDistance = mediumDistance;
fkspDistance = mediumDistance;
hyper1Distance = mediumDistance;
hyper2Distance = mediumDistance;
hyper3Distance = shortDistance;
fpfDefend = "overhead";
fkspDefend = "overhead";
hyper2Defend = "overhead";
hyper3Defend = "low";
bkbEnding = "gfA";
fkfEnding = "gfA";
fkbEnding = "gfA";
bpdbEnding = "gfA";
bkfmomentum = "HalfSpinT";
bkmomentum = "BForward";
bkbmomentum = "BSpinT";
bkdfmomentum = "HalfSpinA";
bkdmomentum = "BSide";
bkdbmomentum = "BSpinA";
fkfmomentum = "HalfSpinT";
fkmomentum = "FForward";
fkbmomentum = "BSpinT";
fkdfmomentum = "HalfSPinA";
fkdmomentum = "FForward";
fkdbmomentum = "BSpinT";
bpfmomentum = "BForward";
bpmomentum = "BForward";
bpbmomentum = "BForward";
bpdfmomentum = "BForward";
bpdmomentum = "BForward";
bpdbmomentum = "FForward";
fpfmomentum = "BHandStand";
fpmomentum = "FForward";
fpbmomentum = "FForward";
fpdfmomentum = "BHandStand";
fpdmomentum = "FForward";
fpdbmomentum = "FForward";
} else if (_root[("p" + absself) + "charnum"] == 10) {
name = "ramba";
menum = 6.5;
haletter = "Ramba";
weight = 1.8;
ws = 6;
wratio = 1.2;
jsp = 8;
jst = 13;
jumpratio = 1;
verticalspeed = 1;
funkyTime = 90;
funkyFactor = 4;
angryTime = 60;
angryFactor = 7;
starter11 = "fksp";
starter21 = "bpdb";
linker11 = "bkb";
linker21 = "fpdb";
finisher11 = "fpsp";
finisher21 = "bksp";
juggler11 = "bkub";
juggler21 = "fkuf";
pusher1 = "fkdb";
pusher2 = "fpf";
specialpusher1 = "bksp";
hyperpusher1 = "hyper1";
airpusher1 = "fkuf";
airpusher2 = "bkub";
lowtap1 = "fkd";
lowtap2 = "bpd";
uppercut1 = "fpsp";
uppercut2 = "fpdb";
specialuppercut1 = "fpsp";
hyperuppercut1 = "hyper2";
overhead1 = "bkdb";
overhead2 = "bkdb";
specialoverhead1 = "bkdb";
hyperoverhead1 = "bkdb";
sweep1 = "bkdf";
sweep2 = "fpdf";
specialsweep1 = "fksp";
hypersweep1 = "hyper3";
jumpup1 = "fku";
jumpup2 = "fpu";
jumpin1 = "bkuf";
jumpin2 = "bku";
fpspInput = "compFuppercut";
bkspInput = "compBcharge";
fkspInput = "compFfireball";
hyper1Input = "compDBcharge";
hyper1Key = "bk";
hyper2Input = "compDFfireball";
hyper2Key = "fp";
hyper3Input = "compDFfireball";
hyper3Key = "fk";
fpspDistance = shortDistance;
bkspDistance = longDistance;
fkspDistance = mediumDistance;
hyper1Distance = longDistance;
hyper2Distance = mediumDistance;
hyper3Distance = mediumDistance;
bkdbDefend = "overhead";
fkspDefend = "low";
fksplink = "high";
hyper2Defend = "low";
bkbEnding = "gfA";
fkfEnding = "gfA";
fkbEnding = "gfA";
bpdbEnding = "gbA";
bkfmomentum = "FSpinT";
bkmomentum = "BForward";
bkbmomentum = "BFlip";
bkdfmomentum = "FSpinT";
bkdmomentum = "BForward";
bkdbmomentum = "FSide";
fkfmomentum = "HalfSpinT";
fkmomentum = "FForward";
fkbmomentum = "BSpinT";
fkdfmomentum = "BSide";
fkdmomentum = "FForward";
fkdbmomentum = "BSpinT";
bpfmomentum = "BForward";
bpmomentum = "BForward";
bpbmomentum = "HandSpinA";
bpdfmomentum = "HandStand";
bpdmomentum = "BForward";
bpdbmomentum = "BFlip";
fpfmomentum = "FForward";
fpmomentum = "FForward";
fpbmomentum = "BSpinT";
fpdfmomentum = "HandStand";
fpdmomentum = "FForward";
fpdbmomentum = "HandSpinA";
} else if (_root[("p" + absself) + "charnum"] == 8) {
name = "perereca";
menum = 9.5;
haletter = "Perereca";
weight = 1.65;
ws = 8;
wratio = 0.85;
jsp = 12;
jst = 16;
jumpratio = 0.75;
verticalspeed = 1.6;
funkyTime = 15;
funkyFactor = 7;
angryTime = 15;
angryFactor = 7;
starter11 = "bksp";
starter21 = "fksp";
linker11 = "bkdb";
linker21 = "fkf";
linker22 = "bkb";
finisher11 = "highGrab";
finisher21 = "lowGrab";
juggler11 = "hyper2";
juggler21 = "bkf";
juggler22 = "fkb";
pusher1 = "bkdf";
pusher2 = "fkdf";
specialpusher1 = "fksp";
hyperpusher1 = "hyper1";
airpusher1 = "fkuf";
airpusher2 = "bkuf";
lowtap1 = "bkd";
lowtap2 = "fpd";
uppercut1 = "fpdf";
uppercut2 = "fpdb";
specialuppercut1 = "fksp";
hyperuppercut1 = "hyper2";
overhead1 = "bpf";
overhead2 = "fpsp";
specialoverhead = "fpsp";
hyperoverhead = "fpsp";
sweep1 = "bkdf";
sweep2 = "bkd";
specialsweep1 = "lowGrab";
hypersweep1 = "highGrab";
jumpup1 = "fkub";
jumpup2 = "fkuf";
jumpin1 = "bkub";
jumpin2 = "bkuf";
fpspInput = "compBuppercut";
bkspInput = "compBcharge";
fkspInput = "compFfireball";
hyper1Input = "compDFfireball";
hyper1Key = "fk";
hyper2Input = "compDBfireball";
hyper2Key = "fp";
hyper3Input = "compDBcharge";
hyper3Key = "bk";
fpspDistance = longDistance;
bkspDistance = mediumDistance;
fkspDistance = shortDistance;
hyper1Distance = mediumDistance;
hyper2Distance = shortDistance;
hyper3Distance = mediumDistance;
bpfDefend = "overhead";
fpspDefend = "overhead";
bkbEnding = "gbA";
fkbEnding = "gbA";
fkdbEnding = "gfA";
bkfmomentum = "HalfSpinT";
bkmomentum = "BForward";
bkbmomentum = "BSpinA";
bkdfmomentum = "BForward";
bkdmomentum = "BForward";
bkdbmomentum = "HandSpinA";
fkfmomentum = "FSpinA";
fkmomentum = "FForward";
fkbmomentum = "BSpinT";
fkdfmomentum = "FForward";
fkdmomentum = "FForward";
fkdbmomentum = "BSpinT";
bpfmomentum = "BHandStand";
bpmomentum = "BForward";
bpbmomentum = "BSpinA";
bpdfmomentum = "FSpinT";
bpdmomentum = "BForward";
bpdbmomentum = "BSpinA";
fpfmomentum = "FForward";
fpmomentum = "FForward";
fpbmomentum = "FForward";
fpdfmomentum = "HandSpinT";
fpdmomentum = "FForward";
fpdbmomentum = "HandSpinT";
} else if (_root[("p" + absself) + "charnum"] == 7) {
name = "maionese";
menum = 8;
haletter = "Maionese";
weight = 1.7;
ws = 6;
wratio = 0.8;
jsp = 8;
jst = 12;
jumpratio = 0.8;
verticalspeed = 1.1;
funkyTime = 40;
funkyFactor = 4;
angryTime = 50;
angryFactor = 2;
starter11 = "fksp";
starter21 = "bksp";
linker11 = "bkb";
linker21 = "fp";
linker22 = "bpb";
finisher11 = "fpsp";
finisher21 = "bkd";
finisher21 = "fkdb";
juggler11 = "fksp";
juggler21 = "bkuf";
juggler22 = "fkuf";
pusher1 = "bpb";
pusher2 = "fpf";
specialpusher1 = "fpsp";
hyperpusher1 = "hyper1";
airpusher1 = "fkuf";
airpusher2 = "fkub";
lowtap1 = "bkd";
lowtap2 = "fp";
uppercut1 = "fpdf";
uppercut2 = "fpdb";
specialuppercut1 = "bksp";
hyperuppercut1 = "hyper1";
overhead1 = "bpf";
overhead2 = "fkuf";
specialoverhead = "bksp";
hyperoverhead = "bksp";
sweep1 = "bpdf";
sweep2 = "bpb";
specialsweep1 = "hyper1";
hypersweep1 = "hyper2";
jumpup1 = "fkub";
jumpup2 = "fkuf";
jumpin1 = "bku";
jumpin2 = "fku";
fpspInput = "compFfireball";
bkspInput = "compBfireball";
fkspInput = "compTapfk";
hyper1Input = "compDBfireball";
hyper1Key = "bk";
hyper2Input = "compDFfireball";
hyper2Key = "fk";
hyper3Input = "compDFfireball";
hyper3Key = "fp";
fpspDistance = mediumDistance;
bkspDistance = mediumDistance;
bksplinkDistance = mediumDistance;
fkspDistance = mediumDistance;
hyper1Distance = mediumDistance;
hyper2Distance = shortDistance;
hyper3Distance = uberShortDistance;
bpfDefend = "overhead";
fpDefend = "low";
fpbDefend = "low";
fpspDefend = "low";
bksplinkDefend = "overhead";
hyper1Defend = "low";
hyper2Defend = "low";
hyper3Defend = "parry";
bkfEnding = "gbA";
bkbEnding = "gfA";
fkdfEnding = "gfA";
fkdbEnding = "gfA";
bpfEnding = "gfA";
fpdfEnding = "gbA";
fpdbEnding = "gfA";
bkfmomentum = "HalfSpinA";
bkmomentum = "BForward";
bkbmomentum = "BSpinA";
bkdfmomentum = "FSpinT";
bkdmomentum = "BForward";
bkdbmomentum = "BSpinA";
fkfmomentum = "HalfSpinA";
fkmomentum = "FForward";
fkbmomentum = "BSpinA";
fkdfmomentum = "FSpinA";
fkdmomentum = "FForward";
fkdbmomentum = "BSpinT";
bpfmomentum = "BHandStand";
bpmomentum = "BForward";
bpbmomentum = "BSide";
bpdfmomentum = "HandSpinT";
bpdmomentum = "BForward";
bpdbmomentum = "HandSpinT";
fpfmomentum = "FForward";
fpmomentum = "FForward";
fpbmomentum = "HandSpinA";
fpdfmomentum = "HandSPinA";
fpdmomentum = "FForward";
fpdbmomentum = "HandSpinT";
} else if (_root[("p" + absself) + "charnum"] == 6) {
name = "furacao";
menum = 5;
haletter = "Furacao";
weight = 1.9;
ws = 5;
wratio = 1.25;
jsp = 6;
jst = 15;
jumpratio = 1;
verticalspeed = 1.15;
funkyTime = 30;
funkyFactor = 3;
angryTime = 30;
angryFactor = 7;
starter11 = "fpsp";
starter21 = "bksp";
linker11 = "bkb";
linker21 = "bk";
linker22 = "bkf";
finisher11 = "fpsp";
finisher21 = "fksp";
juggler11 = "bkuf";
juggler21 = "bkub";
pusher1 = "bpb";
pusher2 = "fpdb";
specialpusher1 = "fpsp";
hyperpusher1 = "hyper2";
airpusher1 = "fkuf";
airpusher2 = "bkub";
lowtap1 = "fpd";
lowtap2 = "bkdf";
uppercut1 = "bpb";
uppercut2 = "bkb";
specialuppercut1 = "fksp";
hyperuppercut1 = "hyper1";
overhead1 = "bpdf";
overhead2 = "bkuf";
specialoverhead = "fpsp";
hyperoverhead = "lowGrab";
sweep1 = "fkf";
sweep2 = "bkdb";
specialsweep1 = "fpsp";
hypersweep1 = "fpsp";
jumpup1 = "fkub";
jumpup2 = "fkuf";
jumpin1 = "bkuf";
jumpin2 = "bku";
fpspInput = "compBcharge";
bkspInput = "compBfireball";
fkspInput = "compBuppercut";
hyper1Input = "compDBfireball";
hyper1Key = "fk";
hyper2Input = "compDBcharge";
hyper2Key = "fp";
hyper3Input = "compDBfireball";
hyper3Key = "bk";
fpspDistance = longDistance;
bkspDistance = mediumDistance;
fkspDistance = shortDistance;
hyper1Distance = shortDistance;
hyper2Distance = shortDistance;
hyper3Distance = shortDistance;
bpdfDefend = "overhead";
fkfDefend = "low";
fpspDefend = "low";
bkbEnding = "gbA";
fkfEnding = "gfA";
fkbEnding = "gfA";
fkdfEnding = "gfA";
bpbEnding = "gbA";
bpbEnding = "gfA";
bkfmomentum = "BForward";
bkmomentum = "BForward";
bkbmomentum = "BSpinT";
bkdfmomentum = "BForward";
bkdmomentum = "BForward";
bkdbmomentum = "HalfSpinA";
fkfmomentum = "FSpinA";
fkmomentum = "FForward";
fkbmomentum = "BSpinT";
fkdfmomentum = "FSpinA";
fkdmomentum = "FForward";
fkdbmomentum = "BSpinA";
bpfmomentum = "BForward";
bpmomentum = "BForward";
bpbmomentum = "BSpinA";
bpdfmomentum = "BHandStand";
bpdmomentum = "BForward";
bpdbmomentum = "HandStand";
fpfmomentum = "HalfSpinT";
fpmomentum = "FForward";
fpbmomentum = "BspinT";
fpdfmomentum = "FForward";
fpdmomentum = "FForward";
fpdbmomentum = "BSpinT";
} else if (_root[("p" + absself) + "charnum"] == 9) {
name = "jamaika";
menum = 6;
haletter = "Jamaika";
weight = 1.7;
ws = 4;
wratio = 0.75;
jsp = 8;
jst = 14;
jumpratio = 0.75;
verticalspeed = 1;
funkyTime = 0;
funkyFactor = 6;
angryTime = 30;
angryFactor = 4;
starter11 = "fpsp";
starter21 = "fpsp";
linker11 = "fkb";
linker21 = "bpb";
finisher11 = "lowGrab";
finisher21 = "fksp";
juggler11 = "bkb";
juggler21 = "bk";
juggler22 = "bksp";
pusher1 = "bpb";
pusher2 = "fpdb";
specialpusher1 = "fksp";
hyperpusher1 = "hyper2";
airpusher1 = "fkub";
airpusher2 = "bkub";
lowtap1 = "bk";
lowtap2 = "fkd";
uppercut1 = "fpb";
uppercut2 = "bpd";
specialuppercut1 = "fksp";
hyperuppercut1 = "hyper1";
overhead1 = "bpdf";
overhead2 = "fkuf";
specialoverhead = "bksp";
hyperoverhead = "bksp";
sweep1 = "fpdb";
sweep2 = "fkdf";
specialsweep1 = "fpsp";
hypersweep1 = "hyper3";
jumpup1 = "bkub";
jumpup2 = "fkub";
jumpin1 = "bkuf";
jumpin2 = "fkuf";
fpspInput = "compFfireball";
bkspInput = "compBuppercut";
fkspInput = "compFfireball";
hyper1Input = "compDBfireball";
hyper1Key = "bk";
hyper2Input = "compDFfireball";
hyper2Key = "fk";
hyper3Input = "compDFfireball";
hyper3Key = "fp";
fpspDistance = mediumDistance;
bkspDistance = mediumDistance;
fkspDistance = longDistance;
hyper1Distance = mediumDistance;
hyper2Distance = mediumDistance;
hyper3Distance = shortDistance;
bpdfDefend = "overhead";
fpspDefend = "low";
bkspDefend = "overhead";
hyperDefend = "low";
hyper3Defend = "low";
bkdfEnding = "gbA";
bkdbEnding = "gbA";
fkfEnding = "gfA";
fkbEnding = "gfA";
fkdfEnding = "gfA";
bpbEnding = "gbA";
fpfEnding = "gfA";
bkfmomentum = "BForward";
bkmomentum = "BForward";
bkbmomentum = "BSpinA";
bkdfmomentum = "FspinT";
bkdmomentum = "BForward";
bkdbmomentum = "BSpinA";
fkfmomentum = "HalfSpinT";
fkmomentum = "FForward";
fkbmomentum = "BSpinT";
fkdfmomentum = "FSpinA";
fkdmomentum = "FForward";
fkdbmomentum = "BSpinA";
bpfmomentum = "BForward";
bpmomentum = "BForward";
bpbmomentum = "HandSpinA";
bpdfmomentum = "BSpinT";
bpdmomentum = "BForward";
bpdbmomentum = "HandSpinA";
fpfmomentum = "HandSpinT";
fpmomentum = "FForward";
fpbmomentum = "BFlip";
fpdfmomentum = "HandSpinT";
fpdmomentum = "FForward";
fpdbmomentum = "BSpinT";
} else if (_root[("p" + absself) + "charnum"] == 12) {
name = "santo";
menum = 6;
haletter = "Santo";
weight = 1.75;
ws = 6;
wratio = 1;
jsp = 9;
jst = 12;
jumpratio = 1.2;
verticalspeed = 1.25;
funkyTime = 60;
funkyFactor = 2;
angryTime = 15;
angryFactor = 3;
starter11 = "fpsp";
starter21 = "bpb";
linker11 = "bpdb";
linker21 = "bkb";
finisher11 = "bksp";
finisher21 = "fpb";
juggler11 = "fkuf";
juggler21 = "bkub";
pusher1 = "bpdb";
pusher2 = "fkdf";
specialpusher1 = "bksp";
hyperpusher1 = "hyper1";
airpusher1 = "bkuf";
airpusher2 = "bkub";
lowtap1 = "bp";
lowtap2 = "fkdf";
uppercut1 = "bpdf";
uppercut2 = "bpb";
specialuppercut1 = "fksp";
hyperuppercut1 = "bksp";
overhead1 = "fpf";
overhead2 = "fpf";
specialoverhead = "lowGrab";
hyperoverhead = "fku";
sweep1 = "fpdb";
sweep2 = "bkdb";
specialsweep1 = "fpsp";
hypersweep1 = "hyper3";
jumpup1 = "fkub";
jumpup2 = "fkuf";
jumpin1 = "bkuf";
jumpin2 = "bku";
fpspInput = "compFfireballe";
bkspInput = "compBcharge";
fkspInput = "compFuppercut";
hyper1Input = "compDBcharge";
hyper1Key = "bk";
hyper2Input = "compDFfireball";
hyper2Key = "fk";
hyper3Input = "compDFfireball";
hyper3Key = "fp";
fpspDistance = mediumDistance;
bkspDistance = longDistance;
fkspDistance = mediumDistance;
hyper1Distance = mediumDistance;
hyper2Distance = uberShortDistance;
hyper3Distance = mediumDistance;
fpfDefend = "overhead";
bpDefend = "low";
fpspDefend = "low";
hyper2Defend = "parry";
hyper3Defend = "low";
bkfEnding = "gbA";
bkbEnding = "gbA";
fkfEnding = "gfA";
fkbEnding = "gfA";
fkdfEnding = "gfA";
fkdbEnding = "gfA";
bpfEnding = "gfA";
bpdfEnding = "gbA";
bkfmomentum = "FSpinT";
bkmomentum = "BForward";
bkbmomentum = "BSpinT";
bkdfmomentum = "BForward";
bkdmomentum = "BForward";
bkdbmomentum = "BSpinA";
fkfmomentum = "HalfSpinT";
fkmomentum = "FForward";
fkbmomentum = "BSpinT";
fkdfmomentum = "FSpinA";
fkdmomentum = "FForward";
fkdbmomentum = "BSpinT";
bpfmomentum = "BHandStand";
bpmomentum = "BForward";
bpbmomentum = "BFlip";
bpdfmomentum = "HandSpinA";
bpdmomentum = "BForward";
bpdbmomentum = "BSpinT";
fpfmomentum = "FForward";
fpmomentum = "FForward";
fpbmomentum = "BSpinA";
fpdfmomentum = "BSide";
fpdmomentum = "FForward";
fpdbmomentum = "BSpinA";
} else if (_root[("p" + absself) + "charnum"] == 14) {
name = "maestro";
menum = 3.5;
haletter = "Maestro";
weight = 2.1;
ws = 4.5;
wratio = 1.15;
jsp = 6;
jst = 14;
jumpratio = 0.75;
verticalspeed = 1.4;
funkyTime = 0;
funkyFactor = 5;
angryTime = 0;
angryFactor = 9;
starter11 = "fpsp";
starter21 = "fk";
starter22 = "fkF";
linker11 = "fkb";
linker21 = "bpdb";
finisher11 = "bksp";
finisher21 = "fksp";
juggler11 = "bkuf";
juggler21 = "fkub";
pusher1 = "bkf";
pusher2 = "fkdb";
specialpusher1 = "bksp";
hyperpusher1 = "hyper3";
airpusher1 = "bkuf";
airpusher2 = "bkub";
lowtap1 = "bk";
lowtap2 = "fk";
uppercut1 = "fpdb";
uppercut2 = "bpdb";
specialuppercut1 = "fksp";
hyperuppercut1 = "fksp";
overhead1 = "fkb";
overhead2 = "fkuf";
specialoverhead = "fkb";
hyperoverhead = "hyper1";
sweep1 = "bpdf";
sweep2 = "bkdb";
specialsweep1 = "bksp";
hypersweep1 = "hyper3";
jumpup1 = "fpu";
jumpup2 = "fkuf";
jumpin1 = "bkuf";
jumpin2 = "fkub";
fpspInput = "compBcharge";
bkspInput = "compBcharge";
fkspInput = "compFuppercut";
hyper1Input = "compDBcharge";
hyper1Key = "bk";
hyper2Input = "compDBcharge";
hyper2Key = "fp";
hyper3Input = "compDFfireball";
hyper3Key = "fk";
fpspDistance = longDistance;
fksphitDistance = mediumDistance;
bkspDistance = longDistance;
bksphitDistance = mediumDistance;
fkspDistance = mediumDistance;
hyper1Distance = mediumDistance;
hyper2Distance = hyper2Distance;
hyper3Distance = mediumDistance;
fpsphitDefend = "high";
fkbDefend = "overhead";
bkspDefend = "low";
bksphitDefend = "low";
hyper1Defend = "overhead";
hyper3Defend = "low";
bkfmomentum = "BForward";
bkmomentum = "BForward";
bkbmomentum = "BSpinA";
bkdfmomentum = "BForward";
bkdmomentum = "BForward";
bkdbmomentum = "BSpinA";
fkfmomentum = "FForward";
fkmomentum = "FForward";
fkbmomentum = "FForward";
fkdfmomentum = "FSpinA";
fkdmomentum = "FForward";
fkdbmomentum = "BSpinT";
bpfmomentum = "BForward";
bpmomentum = "BForward";
bpbmomentum = "BSpinA";
bpdfmomentum = "BForward";
bpdmomentum = "BForward";
bpdbmomentum = "BFlip";
fpfmomentum = "FForward";
fpmomentum = "FForward";
fpbmomentum = "HalfSpinT";
fpdfmomentum = "FForward";
fpdmomentum = "FForward";
fpdbmomentum = "BSpinT";
} else if (_root[("p" + absself) + "charnum"] == 5) {
name = "cobra";
menum = 8.5;
haletter = "Cobra";
weight = 1.8;
ws = 6;
wratio = 0.9;
jsp = 6;
jst = 16;
jumpratio = 1;
verticalspeed = 1.5;
funkyTime = 15;
funkyFactor = 4;
angryTime = 15;
angryFactor = 7;
starter11 = "fpsp";
starter21 = "bkd";
linker11 = "fkb";
linker21 = "bpdb";
finisher11 = "bksp";
finisher21 = "fksp";
juggler11 = "bkub";
juggler12 = "fkub";
juggler21 = "fkb";
pusher1 = "fkdf";
pusher2 = "bkdb";
specialpusher1 = "bksp";
hyperpusher1 = "hyper2";
airpusher1 = "bkuf";
airpusher2 = "fkuf";
lowtap1 = "bkd";
lowtap2 = "fpd";
uppercut1 = "fkub";
uppercut2 = "fpb";
specialuppercut1 = "bksp";
hyperuppercut1 = "hyper1";
overhead1 = "bpf";
overhead2 = "bpf";
specialoverhead = "fpsp";
hyperoverhead = "fpsp";
sweep1 = "bkdf";
sweep2 = "bkdf";
specialsweep1 = "hyper2";
hypersweep1 = "hyper2";
jumpup1 = "fkub";
jumpup2 = "bkub";
jumpin1 = "fpu";
jumpin2 = "bku";
fpspInput = "compBfireball";
bkspInput = "compBcharge";
fkspInput = "compFfireball";
hyper1Input = "compDBcharge";
hyper1Key = "bk";
hyper2Input = "compDFfireball";
hyper2Key = "fk";
hyper3Input = "compDBfireball";
hyper3Key = "fp";
fpspDistance = shortDistance;
bkspDistance = mediumDistance;
fkspDistance = mediumDistance;
hyper1Distance = shortDistance;
hyper2Distance = mediumDistance;
hyper3Distance = mediumDistance;
bpfDefend = "overhead";
fpspDefend = "overhead";
hyper2Defend = "low";
bkbEnding = "gbA";
fkbEnding = "gfA";
bpfEnding = "gfA";
bpdbEnding = "gfA";
fpbEnding = "gfA";
fpdfEnding = "gbA";
fpdbEnding = "gbA";
bkfmomentum = "BSide";
bkmomentum = "BForward";
bkbmomentum = "BSpinA";
bkdfmomentum = "FSpinT";
bkdmomentum = "BForward";
bkdbmomentum = "BSpinA";
fkfmomentum = "FForward";
fkmomentum = "FForward";
fkbmomentum = "BSpinT";
fkdfmomentum = "FForward";
fkdmomentum = "FForward";
fkdbmomentum = "BSpinT";
bpfmomentum = "BHandStand";
bpmomentum = "BForward";
bpbmomentum = "BSpinT";
bpdfmomentum = "BHandStand";
bpdmomentum = "BForward";
bpdbmomentum = "BFlip";
fpfmomentum = "FForward";
fpmomentum = "FForward";
fpbmomentum = "BFlip";
fpdfmomentum = "HandSpinA";
fpdmomentum = "FForward";
fpdbmomentum = "BFlip";
} else if (_root[("p" + absself) + "charnum"] == 3) {
name = "saturno";
menum = 5.5;
haletter = "Saturno";
weight = 2;
ws = 4;
wratio = 0.8;
jsp = 5;
jst = 11;
jumpratio = 1;
verticalspeed = 1;
funkyTime = 30;
funkyFactor = 4;
angryTime = 30;
angryFactor = 2;
starter11 = "fpsp";
starter21 = "fpsp";
linker11 = "bkb";
linker21 = "bkf";
finisher11 = "bksp";
finisher21 = "fksp";
juggler11 = "bkub";
juggler11 = "fkuf";
juggler12 = "bkb";
juggler21 = "bksp";
pusher1 = "fkb";
pusher2 = "bkdf";
specialpusher1 = "fksp";
hyperpusher1 = "hyper1";
airpusher1 = "bkub";
airpusher2 = "fkuf";
lowtap1 = "fpd";
lowtap2 = "bpd";
uppercut1 = "fpdb";
uppercut2 = "bksp";
specialuppercut1 = "bksp";
hyperuppercut1 = "bksp";
overhead1 = "fpdf";
overhead2 = "fpdf";
specialoverhead = "fkuf";
hyperoverhead = "hyper1";
sweep1 = "fkdf";
sweep2 = "bpdf";
specialsweep1 = "bpdf";
hypersweep1 = "bkd";
jumpup1 = "fpu";
jumpup2 = "bkub";
jumpin1 = "bkuf";
jumpin2 = "bku";
fpspInput = "compBfireball";
bkspInput = "compBuppercut";
fkspInput = "compFcharge";
hyper1Input = "compDFcharge";
hyper1Key = "fk";
hyper2Input = "compDBfireball";
hyper2Key = "fp";
hyper3Input = "compDBfireball";
hyper3Key = "bk";
bkfDistance = mediumDistance;
fpspDistance = mediumDistance;
bkspDistance = shortDistance;
fkspDistance = longDistance;
hyper1Distance = mediumDistance;
hyper2Distance = mediumDistance;
hyper3Distance = uberShortDistance;
fpdfDefend = "overhead";
fpsplinkDefend = "high";
hyper1Defend = "overhead";
hyper3Defend = "parry";
bkbEnding = "gbA";
bkdbEnding = "gbA";
fkbEnding = "gfA";
fkdfEnding = "gfA";
fpbEnding = "gfA";
fpdbEnding = "gfA";
bkfmomentum = "BForward";
bkmomentum = "BForward";
bkbmomentum = "BSpinT";
bkdfmomentum = "BSide";
bkdmomentum = "BForward";
bkdbmomentum = "BSpinA";
fkfmomentum = "FForward";
fkmomentum = "FForward";
fkbmomentum = "BSpinT";
fkdfmomentum = "FSpinA";
fkdmomentum = "FForward";
fkdbmomentum = "BSpinT";
bpfmomentum = "HalfSpinT";
bpmomentum = "BForward";
bpbmomentum = "BSpinA";
bpdfmomentum = "HandSpinT";
bpdmomentum = "BForward";
bpdbmomentum = "HandSpinT";
fpfmomentum = "HalfSpinA";
fpmomentum = "FForward";
fpbmomentum = "BSpinT";
fpdfmomentum = "HandStand";
fpdmomentum = "FForward";
fpdbmomentum = "BFlip";
} else if (_root[("p" + absself) + "charnum"] == 4) {
name = "bulldog";
menum = 3;
haletter = "Bulldogue";
weight = 2.5;
ws = 4.5;
wratio = 1.25;
jsp = 5;
jst = 9;
jumpratio = 0.8;
verticalspeed = 0.8;
funkyTime = 60;
funkyFactor = 3;
angryTime = 0;
angryFactor = 9;
starter11 = "fpsp";
starter21 = "bksp";
linker11 = "bkb";
linker21 = "bpb";
finisher11 = "fksp";
finisher21 = "highGrab";
juggler11 = "fpsp";
juggler21 = "bpdb";
pusher1 = "fkf";
pusher2 = "fkdf";
specialpusher1 = "fksp";
hyperpusher1 = "hyper3";
airpusher1 = "bkub";
airpusher2 = "bkuf";
lowtap1 = "fk";
lowtap2 = "bk";
uppercut1 = "bkdf";
uppercut2 = "bksp";
specialuppercut1 = "fpsp";
hyperuppercut1 = "bksp";
overhead1 = "fpdb";
overhead2 = "fpsp";
specialoverhead = "fpsp";
hyperoverhead = "hyper1";
sweep1 = "bkdb";
sweep2 = "fkd";
specialsweep1 = "fksp";
hypersweep1 = "hyper3";
jumpup1 = "bpu";
jumpup2 = "fkuf";
jumpin1 = "fpu";
jumpin2 = "bku";
fpspInput = "compTapfp";
bkspInput = "compTapbk";
fkspInput = "compBcharge";
hyper1Input = "compDFfireball";
hyper1Key = "bk";
hyper2Input = "compDFfireball";
hyper2Key = "fp";
hyper3Input = "compDBcharge";
hyper3Key = "fk";
fpspDistance = mediumDistance;
bkspDistance = longDistance;
fkspDistance = longDistance;
hyper1Distance = mediumDistance;
hyper2Distance = uberShortDistance;
hyper3Distance = mediumDistance;
fpdbDefend = "overhead";
fpspDefend = "overhead";
bkspDefend = "low";
hyper1Defend = "overhead";
hyper2Defend = "parry";
hyper3Defend = "low";
fpdbEnding = "gfA";
fkbEnding = "gfA";
fkdfEnding = "gfA";
bkfmomentum = "BForward";
bkmomentum = "BForward";
bkbmomentum = "BFlip";
bkdfmomentum = "BSpinT";
bkdmomentum = "BForward";
bkdbmomentum = "BSpinA";
fkfmomentum = "FSide";
fkmomentum = "FForward";
fkbmomentum = "BSpinT";
fkdfmomentum = "FForward";
fkdmomentum = "FForward";
fkdbmomentum = "FForward";
bpfmomentum = "BForward";
bpmomentum = "BForward";
bpbmomentum = "BSpinA";
bpdfmomentum = "BForward";
bpdmomentum = "BForward";
bpdbmomentum = "FFlip";
fpfmomentum = "FForward";
fpmomentum = "FForward";
fpbmomentum = "BSpinT";
fpdfmomentum = "FForward";
fpdmomentum = "FForward";
fpdbmomentum = "FFlip";
} else if (_root[("p" + absself) + "charnum"] == 11) {
name = "loka";
menum = 2.5;
haletter = "Loka";
weight = 2;
ws = 7;
wratio = 1;
jsp = 10;
jst = 16;
jumpratio = 1;
verticalspeed = 1.25;
funkyTime = 30;
funkyFactor = 5;
angryTime = 30;
angryFactor = 4;
starter12 = "fpsp";
starter21 = "fpsp";
linker11 = "bkdb";
linker21 = "fkb";
finisher11 = "fksp";
finisher21 = "lowGrab";
juggler11 = "bkub";
juggler21 = "fkb";
juggler22 = "bksp";
pusher1 = "bkf";
pusher2 = "bkdf";
specialpusher1 = "bksp";
hyperpusher1 = "hyper1";
airpusher1 = "fkuf";
airpusher2 = "bkub";
lowtap1 = "bkd";
lowtap2 = "fkd";
uppercut1 = "bkdb";
uppercut2 = "fksp";
specialuppercut1 = "fksp";
hyperuppercut1 = "hyper2";
overhead1 = "bpf";
overhead2 = "bpf";
specialoverhead = "bpf";
hyperoverhead = "bpf";
sweep1 = "fpdb";
sweep2 = "fkdf";
specialsweep1 = "fpsp";
hypersweep1 = "hyper3";
jumpup1 = "bkub";
jumpup2 = "bkuf";
jumpin1 = "bku";
jumpin2 = "bpu";
fpspInput = "compFfireball";
bkspInput = "compBcharge";
fkspInput = "compFuppercut";
hyper1Input = "compDBcharge";
hyper1Key = "bk";
hyper2Input = "compDFfireball";
hyper2Key = "fk";
hyper3Input = "compDFfireball";
hyper3Key = "fp";
fpspDistance = mediumDistance;
bkspDistance = mediumDistance;
fkspDistance = mediumDistance;
hyper1Distance = shortDistance;
hyper2Distance = shortDistance;
hyper3Distance = shortDistance;
bpfDefend = "overhead";
fpspDefend = "low";
fpsplink1Defend = "high";
fpsplink2Defend = "high";
hyper1Defend = "low";
bkbEnding = "gbA";
bkdfEnding = "gfA";
bkdbEnding = "gfA";
fkfEnding = "gfA";
fkbEnding = "gbA";
fkdfEnding = "gfA";
bpbEnding = "gbA";
bkfmomentum = "BForward";
bkmomentum = "BForward";
bkbmomentum = "BSpinA";
bkdfmomentum = "HandSpinA";
bkdmomentum = "BForward";
bkdbmomentum = "BFlip";
fkfmomentum = "HalfSpinT";
fkmomentum = "FForward";
fkbmomentum = "BSpinT";
fkdfmomentum = "FSpinA";
fkdmomentum = "FForward";
fkdbmomentum = "BSpinT";
bpfmomentum = "FHandStand";
bpmomentum = "BForward";
bpbmomentum = "HandSpinA";
bpdfmomentum = "BHandStand";
bpdmomentum = "BForward";
bpdbmomentum = "HandSpinA";
fpfmomentum = "FForward";
fpmomentum = "FForward";
fpbmomentum = "HandSpinA";
fpdfmomentum = "HandSpinT";
fpdmomentum = "FForward";
fpdbmomentum = "BSpinA";
} else if (_root[("p" + absself) + "charnum"] == 17) {
name = "chompoo";
menum = 7.5;
haletter = "Chompoo";
weight = 1.75;
ws = 7;
wratio = 1.1;
jsp = 9;
jst = 15;
jumpratio = 0.9;
verticalspeed = 1.4;
funkyTime = 30;
funkyFactor = 4;
angryTime = 15;
angryFactor = 6;
starter11 = "fksp";
starter21 = "bkf";
starter22 = "bksp";
linker11 = "fkf";
linker21 = "fpf";
finisher11 = "fpsp";
finisher21 = "fpsp";
juggler11 = "fkub";
juggler21 = "bkub";
juggler22 = "fkub";
pusher1 = "fkf";
pusher2 = "bkf";
specialpusher1 = "fksp";
hyperpusher1 = "hyper1";
airpusher1 = "bkuf";
airpusher2 = "fkuf";
lowtap1 = "bk";
lowtap2 = "fk";
uppercut1 = "fpsp";
uppercut2 = "fksp";
specialuppercut1 = "fpsp";
hyperuppercut1 = "hyper1";
overhead1 = "bpf";
overhead2 = "bpf";
specialoverhead = "bpf";
hyperoverhead = "bpf";
sweep1 = "bkdf";
sweep2 = "fkdf";
specialsweep1 = "bksp";
hypersweep1 = "hyper3";
jumpup1 = "bkub";
jumpup2 = "fkuf";
jumpin1 = "bkuf";
jumpin2 = "fkub";
fpspInput = "compFuppercut";
bkspInput = "compTapbk";
fkspInput = "compFuppercut";
hyper1Input = "compDFfireball";
hyper1Key = "fp";
hyper2Input = "compDFfireball";
hyper2Key = "fk";
hyper3Input = "compDFfireball";
hyper3Key = "bk";
fpspDistance = mediumDistance;
bkspDistance = mediumDistance;
fkspDistance = mediumDistance;
hyper1Distance = shortDistance;
hyper2Distance = shortDistance;
hyper3Distance = shortDistance;
bpfDefend = "overhead";
bkspDefend = "low";
hyper3Defend = "low";
bkfmomentum = "BSide";
bkmomentum = "BForward";
bkbmomentum = "BSide";
bkdfmomentum = "BSide";
bkdmomentum = "BForward";
bkdbmomentum = "BForward";
fkfmomentum = "FSide";
fkmomentum = "FForward";
fkbmomentum = "BSpinT";
fkdfmomentum = "FSide";
fkdmomentum = "FForward";
fkdbmomentum = "FForward";
bpfmomentum = "BSide";
bpmomentum = "BForward";
bpbmomentum = "BSpinA";
bpdfmomentum = "BForward";
bpdmomentum = "BForward";
bpdbmomentum = "BSide";
fpfmomentum = "FSide";
fpmomentum = "FForward";
fpbmomentum = "BSpinT";
fpdfmomentum = "FSide";
fpdmomentum = "FForward";
fpdbmomentum = "FSide";
} else if (_root[("p" + absself) + "charnum"] == 16) {
name = "leilong";
menum = 7;
haletter = "Lei Long";
weight = 1.5;
ws = 6;
wratio = 1;
jsp = 8;
jst = 15;
jumpratio = 0.9;
verticalspeed = 1.4;
funkyTime = 15;
funkyFactor = 5;
angryTime = 30;
angryFactor = 4;
starter11 = "fpsp";
starter21 = "bkd";
linker11 = "fkf";
linker21 = "fpdb";
linker22 = "bpdb";
finisher11 = "bkd";
finisher12 = "fkdb";
finisher21 = "bksp";
juggler11 = "fksp";
juggler12 = "bkub";
juggler21 = "bkb";
juggler22 = "fkb";
juggler23 = "fksp";
juggler24 = "fkuf";
pusher1 = "fkf";
pusher2 = "bpdf";
specialpusher1 = "bksp";
hyperpusher1 = "hyper2";
airpusher1 = "fkuf";
airpusher2 = "bkuf";
lowtap1 = "fk";
lowtap2 = "bk";
uppercut1 = "bpdb";
uppercut2 = "bkdb";
specialuppercut1 = "fksp";
hyperuppercut1 = "hyper1";
overhead1 = "fpb";
overhead2 = "bkub";
specialoverhead = "fpb";
hyperoverhead = "highGrab";
sweep1 = "bkdb";
sweep2 = "fpdf";
specialsweep1 = "bkdb";
hypersweep1 = "hyper2";
jumpup1 = "fkuf";
jumpup2 = "bkuf";
jumpin1 = "bku";
jumpin2 = "bkub";
fpspInput = "compFfireball";
bkspInput = "compBcharge";
fkspInput = "compBuppercut";
hyper1Input = "compDBfireball";
hyper1Key = "fk";
hyper2Input = "compDBcharge";
hyper2Key = "bk";
hyper3Input = "compDFfireball";
hyper3Key = "fp";
fkfDistance = mediumDistance;
fpspDistance = mediumDistance;
fpsplink1Distance = mediumDistance;
fpsplink2Distance = mediumDistance;
bkspDistance = longDistance;
fkspDistance = shortDistance;
hyper1Distance = uberShortDistance;
hyper2Distance = shortDistance;
hyper3Distance = shortDistance;
fpbDefend = "overhead";
fpsplink1Defend = "high";
fpsplink2Defend = "high";
hyper2Defend = "low";
bkfmomentum = "BSide";
bkmomentum = "BForward";
bkbmomentum = "BSide";
bkdfmomentum = "BSide";
bkdmomentum = "BForward";
bkdbmomentum = "BSide";
fkfmomentum = "FSide";
fkmomentum = "FForward";
fkbmomentum = "BSpinT";
fkdfmomentum = "FForward";
fkdmomentum = "FForward";
fkdbmomentum = "BSpinT";
bpfmomentum = "BForward";
bpmomentum = "BForward";
bpbmomentum = "BForward";
bpdfmomentum = "BForward";
bpdmomentum = "BForward";
bpdbmomentum = "BForward";
fpfmomentum = "FForward";
fpmomentum = "FForward";
fpbmomentum = "FForward";
fpdfmomentum = "FForward";
fpdmomentum = "FForward";
fpdbmomentum = "FForward";
} else if (_root[("p" + absself) + "charnum"] == 18) {
name = "gator";
menum = 1.5;
haletter = "Gator";
weight = 2.5;
ws = 4;
wratio = 1.15;
jsp = 5;
jst = 10;
jumpratio = 0.9;
verticalspeed = 1;
funkyTime = 0;
funkyFactor = 5;
angryTime = 30;
angryFactor = 6;
starter11 = "fkd";
starter21 = "fksp";
linker12 = "bksp";
linker21 = "fpsp";
finisher11 = "bkdb";
finisher21 = "fp";
finisher22 = "highgrab";
juggler11 = "fksp";
juggler21 = "bpb";
pusher1 = "bkdb";
pusher2 = "fkf";
specialpusher1 = "bksp";
hyperpusher1 = "hyper1";
airpusher1 = "fkuf";
airpusher2 = "bkub";
lowtap1 = "fk";
lowtap2 = "bk";
uppercut1 = "bpdb";
uppercut2 = "fpdb";
specialuppercut1 = "fksp";
hyperuppercut1 = "hyper2";
overhead1 = "bpb";
overhead2 = "lowGrab";
specialoverhead1 = "bksp";
hyperoverhead1 = "hyper3";
sweep1 = "bkdb";
sweep2 = "bkdf";
specialsweep1 = "highGrab";
hypersweep1 = "hyper2";
jumpup1 = "bpu";
jumpup2 = "fkub";
jumpin1 = "fkub";
jumpin2 = "bkub";
fpspInput = "compTapfp";
bkspInput = "compFfireball";
fkspInput = "compFfireball";
hyper1Input = "compDFfireball";
hyper1Key = "bk";
hyper2Input = "compDFfireball";
hyper2Key = "fk";
hyper3Input = "compDFfireball";
hyper3Key = "fp";
highGrabDistance = shortDistance;
fpspDistance = mediumDistance;
bkspDistance = uberShortDistance;
fkspDistance = mediumDistance;
hyperDistance = shortDistance;
hyper2Distance = ShortDistance;
hyper3Distance = uberShortDistance;
bpbDefend = "overhead";
bkspDefend = "parry";
hyper1Defend = "low";
hyper3Defend = "parry";
bkfmomentum = "BSide";
bkmomentum = "BForward";
bkbmomentum = "BSide";
bkdfmomentum = "HalfSpinT";
bkdmomentum = "BForward";
bkdbmomentum = "BSide";
fkfmomentum = "FSide";
fkmomentum = "FForward";
fkbmomentum = "FSide";
fkdfmomentum = "FSide";
fkdmomentum = "FForward";
fkdbmomentum = "FSide";
bpfmomentum = "HalfSpinT";
bpmomentum = "BForward";
bpbmomentum = "BSide";
bpdfmomentum = "BSide";
bpdmomentum = "BForward";
bpdbmomentum = "BSide";
fpfmomentum = "FForward";
fpmomentum = "FForward";
fpbmomentum = "BForward";
fpdfmomentum = "FSide";
fpdmomentum = "FForward";
fpdbmomentum = "FSide";
} else if (_root[("p" + absself) + "charnum"] == 19) {
name = "kuanyinshen";
menum = 10;
haletter = "KuanYinShen";
weight = 1.5;
ws = 7;
wratio = 0.95;
jsp = 10;
jst = 20;
jumpratio = 1;
verticalspeed = 1.5;
funkyTime = 0;
funkyFactor = 5;
angryTime = 30;
angryFactor = 4;
starter11 = "bksp";
starter21 = "fksp";
linker11 = "fkb";
linker21 = "bpdb";
finisher11 = "fpsp";
finisher21 = "fksp";
juggler11 = "fpb";
juggler12 = "fpsp";
juggler21 = "bkuf";
juggler22 = "fkuf";
pusher1 = "bkdf";
pusher2 = "fpf";
specialpusher1 = "fpsp";
hyperpusher1 = "hyper2";
airpusher1 = "bkuf";
airpusher2 = "bkub";
lowtap1 = "bkd";
lowtap2 = "fk";
uppercut1 = "bpdb";
uppercut2 = "bkb";
specialuppercut1 = "fksp";
hyperuppercut1 = "fpsp";
overhead1 = "bpb";
overhead2 = "bpb";
specialoverhead = "bksp";
hyperoverhead = "hyper1";
sweep1 = "fkdb";
sweep2 = "fkdf";
specialsweep1 = "fksp";
hypersweep1 = "hyper3";
jumpup1 = "bkub";
jumpup2 = "bkuf";
jumpin1 = "fkuf";
jumpin2 = "fkub";
fpspInput = "compBcharge";
bkspInput = "compBfireball";
fkspInput = "compFfireball";
hyper1Input = "compDBfireball";
hyper1Key = "bk";
hyper2Input = "compDBcharge";
hyper2Key = "fp";
hyper3Input = "compDFfireball";
hyper3Key = "fk";
bkdfDistance = mediumDistance;
fpspDistance = mediumDistance;
bkspDistance = mediumDistance;
fkspDistance = mediumDistance;
hyper1Distance = mediumDistance;
hyper2Distance = mediumDistance;
hyper3Distance = mediumDistance;
bpbDefend = "overhead";
bkspDefend = "overhead";
fkspDefend = "low";
hyper1Defend = "overhead";
hyper3Defend = "low";
bkfmomentum = "BSide";
bkmomentum = "BForward";
bkbmomentum = "BSide";
bkdfmomentum = "BSide";
bkdmomentum = "BForward";
bkdbmomentum = "BSide";
fkfmomentum = "FForward";
fkmomentum = "FForward";
fkbmomentum = "FSpinA";
fkdfmomentum = "FSide";
fkdmomentum = "FForward";
fkdbmomentum = "FSpinT";
bpfmomentum = "BForward";
bpmomentum = "BForward";
bpbmomentum = "BForward";
bpdfmomentum = "BForward";
bpdmomentum = "BForward";
bpdbmomentum = "BForward";
fpfmomentum = "FForward";
fpmomentum = "FForward";
fpbmomentum = "FForward";
fpdfmomentum = "FForward";
fpdmomentum = "FForward";
fpdbmomentum = "FForward";
} else if (_root[("p" + absself) + "charnum"] == 22) {
name = "panda";
menum = 7.5;
haletter = "Panda";
weight = 1.8;
ws = 7;
wratio = 1;
jsp = 8;
jst = 16;
jumpratio = 0.9;
verticalspeed = 1.25;
funkyTime = 30;
funkyFactor = 4;
angryTime = 30;
angryFactor = 4;
starter11 = "fpsp";
starter21 = "bksp";
linker11 = "bkb";
linker21 = "fkf";
finisher11 = "fkdb";
finisher12 = "fksp";
finisher21 = "lowGrab";
finisher22 = "fksp";
juggler11 = "bkub";
juggler21 = "fkuf";
juggler22 = "fkub";
pusher1 = "bkdf";
pusher2 = "bkdb";
specialpusher1 = "fpsp";
hyperpusher1 = "hyper3";
airpusher1 = "fkub";
airpusher2 = "bkuf";
lowtap1 = "bk";
lowtap2 = "bkd";
uppercut1 = "fksp";
uppercut2 = "bkb";
specialuppercut1 = "fksp";
hyperuppercut1 = "hyper3";
overhead1 = "bpb";
overhead2 = "bksp";
specialoverhead = "bksp";
hyperoverhead = "hyper1";
sweep1 = "fkdb";
sweep2 = "fpdb";
specialsweep1 = "fkdb";
hypersweep1 = "fpsb";
jumpup1 = "fkuf";
jumpup2 = "bpu";
jumpin1 = "bkuf";
jumpin2 = "fkub";
fpspInput = "compTapsp";
bkspInput = "compBfireball";
fkspInput = "compBuppercut";
hyper1Input = "compDBfireball";
hyper1Key = "bk";
hyper2Input = "compDBcharge";
hyper2Key = "fp";
hyper3Input = "compDBfireball";
hyper3Key = "fk";
fpspDistance = mediumDistance;
bkspDistance = mediumDistance;
fkspDistance = longDistance;
hyper1Distance = mediumDistance;
hyper2Distance = shortDistance;
hyper3Distance = longDistance;
bpbDefend = "overhead";
fkspDefend = "low";
bkspDefend = "overhead";
hyper1Defend = "overhead";
bkfmomentum = "BSide";
bkmomentum = "BForward";
bkbmomentum = "BSpinA";
bkdfmomentum = "BSide";
bkdmomentum = "BForward";
bkdbmomentum = "BSide";
fkfmomentum = "FSide";
fkmomentum = "FForward";
fkbmomentum = "BSpinT";
fkdfmomentum = "FSide";
fkdmomentum = "FForward";
fkdbmomentum = "BSpinT";
bpfmomentum = "BSide";
bpmomentum = "BForward";
bpbmomentum = "BSide";
bpdfmomentum = "BForward";
bpdmomentum = "BForward";
bpdbmomentum = "BSide";
fpfmomentum = "FSide";
fpmomentum = "FForward";
fpbmomentum = "FSide";
fpdfmomentum = "FSide";
fpdmomentum = "FForward";
fpdbmomentum = "BSide";
} else if (_root[("p" + absself) + "charnum"] == 20) {
boxer = 1;
name = "aleron";
menum = 4.5;
haletter = "Aleron";
weight = 1.7;
ws = 7;
wratio = 1.2;
jsp = 10;
jst = 14;
jumpratio = 0.75;
verticalspeed = 1.6;
funkyTime = 30;
funkyFactor = 3;
angryTime = 30;
angryFactor = 5;
starter11 = "bpd";
starter21 = "bksp";
linker11 = "fpb";
linker21 = "fpf";
finisher11 = "fpsp";
finisher21 = "fksp";
juggler11 = "bpdb";
juggler12 = "bpb";
juggler21 = "fpdb";
juggler22 = "bpdb";
juggler23 = "bpb";
pusher1 = "fpdf";
pusher2 = "bpdf";
specialpusher1 = "fpsp";
hyperpusher1 = "hyper2";
airpusher1 = "fpu";
airpusher2 = "bpu";
lowtap1 = "bpd";
lowtap2 = "fpd";
uppercut1 = "fpdb";
uppercut2 = "fksp";
specialuppercut1 = "fksp";
hyperuppercut1 = "hyper3";
overhead1 = "bpb";
overhead2 = "bpb";
specialoverhead = "bpb";
hyperoverhead = "bpu";
sweep1 = "bpd";
sweep2 = "fpd";
specialsweep1 = "lowGrab";
hypersweep1 = "highGrab";
jumpup1 = "fpu";
jumpup2 = "fpu";
jumpin1 = "bpu";
jumpin2 = "bpu";
fpspInput = "compBcharge";
bkspInput = "compTapbp";
fkspInput = "compFuppercut";
hyper1Input = "compDFfireball";
hyper1Key = "bp";
hyper2Input = "compDBcharge";
hyper2Key = "fp";
hyper3Input = "compDFfireball";
hyper3Key = "fp";
fpspDistance = mediumDistance;
bkspDistance = mediumDistance;
fkspDistance = mediumDistance;
hyper1Distance = uberShortDistance;
hyper2Distance = shortDistance;
hyper3Distance = shortDistance;
bkufDefend = "fakeOver";
bkuDefend = "fakeOver";
bkubDefend = "fakeOver";
bkfDefend = "fake";
bkDefend = "fake";
bkbDefend = "fake";
bkdfDefend = "fake";
bkdDefend = "fake";
bkdbDefend = "fake";
fkufDefend = "fakeOver";
fkuDefend = "fakeOver";
fkubDefend = "fakeOver";
fkfDefend = "fake";
fkDefend = "fake";
fkbDefend = "fake";
fkdfDefend = "fake";
fkdDefend = "fake";
fkdbDefend = "fake";
bpbDefend = "overhead";
hyper3Defend = "parry";
bkfmomentum = "BForward";
bkmomentum = "BForward";
bkbmomentum = "BForward";
bkdfmomentum = "BForward";
bkdmomentum = "BForward";
bkdbmomentum = "BForward";
fkfmomentum = "FForward";
fkmomentum = "FForward";
fkbmomentum = "FForward";
fkdfmomentum = "FForward";
fkdmomentum = "FForward";
fkdbmomentum = "FForward";
bpfmomentum = "FForward";
bpmomentum = "BForward";
bpbmomentum = "BForward";
bpdfmomentum = "BForward";
bpdmomentum = "BForward";
bpdbmomentum = "BForward";
fpfmomentum = "FForward";
fpmomentum = "FForward";
fpbmomentum = "BSpinT";
fpdfmomentum = "FForward";
fpdmomentum = "FForward";
fpdbmomentum = "FForward";
} else if (_root[("p" + absself) + "charnum"] == 24) {
name = "johnny";
menum = 6.5;
haletter = "Johnny";
weight = 1.8;
ws = 6;
wratio = 1;
jsp = 7;
jst = 16;
jumpratio = 1;
verticalspeed = 1.25;
funkyTime = 0;
funkyFactor = 5;
angryTime = 0;
angryFactor = 7;
starter11 = "bk";
starter12 = "bksp";
starter21 = "bpdf";
linker11 = "bkb";
linker21 = "fkf";
finisher11 = "fksp";
finisher21 = "fpsp";
juggler11 = "fkuf";
juggler12 = "fkub";
juggler21 = "bkf";
juggler22 = "fpb";
pusher1 = "fkf";
pusher2 = "bkdb";
specialpusher1 = "fksp";
hyperpusher1 = "hyper3";
airpusher1 = "fkuf";
airpusher2 = "bkuB";
lowtap1 = "bk";
lowtap2 = "fk";
uppercut1 = "fpdb";
uppercut2 = "fpsp";
specialuppercut1 = "fpsp";
hyperuppercut1 = "hyper2";
overhead1 = "fpb";
overhead2 = "fpb";
specialoverhead = "fpb";
hyperoverhead = "fkub";
sweep1 = "fksp";
sweep2 = "fkdb";
specialsweep1 = "fksp";
hypersweep1 = "hyper3";
jumpup1 = "fkuf";
jumpup2 = "fpu";
jumpin1 = "bkub";
jumpin2 = "fkub";
fpspInput = "compFuppercut";
bkspInput = "compBfireball";
fkspInput = "compFfireball";
hyper1Input = "compDBfireball";
hyper1Key = "bk";
hyper2Input = "compDFfireball";
hyper2Key = "fp";
hyper3Input = "compDFfireball";
hyper3Key = "fk";
fpspDistance = shortDistance;
bkspDistance = mediumDistance;
fkspDistance = longDistance;
fksphitDistance = mediumDistance;
hyper1Distance = mediumDistance;
hyper2Distance = shortDistance;
hyper3Distance = shortDistance;
fpbDefend = "overhead";
fkspDefend = "low";
fksphitDefend = "low";
hyperDefend = "low";
bkfmomentum = "BSide";
bkmomentum = "BForward";
bkbmomentum = "BForward";
bkdfmomentum = "BSide";
bkdmomentum = "BForward";
bkdbmomentum = "BSide";
fkfmomentum = "FSpinA";
fkmomentum = "FForward";
fkbmomentum = "BSpinT";
fkdfmomentum = "FSide";
fkdmomentum = "FForward";
fkdbmomentum = "FSpinA";
bpfmomentum = "BForward";
bpmomentum = "BForward";
bpbmomentum = "BSide";
bpdfmomentum = "BForward";
bpdmomentum = "BForward";
bpdbmomentum = "BForward";
fpfmomentum = "FForward";
fpmomentum = "FForward";
fpbmomentum = "FSide";
fpdfmomentum = "FForward";
fpdmomentum = "FForward";
fpdbmomentum = "FForward";
} else if (_root[("p" + absself) + "charnum"] == 25) {
name = "angus";
menum = 4.75;
haletter = "Angus";
weight = 2;
ws = 7;
wratio = 0.85;
jsp = 8;
jst = 13;
jumpratio = 1;
verticalspeed = 1.1;
funkyTime = 15;
funkyFactor = 6;
angryTime = 20;
angryFactor = 4;
starter11 = "fp";
starter21 = "bksp";
linker11 = "bp";
linker21 = "fkdf";
finisher11 = "highGrab";
finisher21 = "fpdb";
juggler11 = "fksp";
juggler21 = "fpsp";
juggler22 = "fkuf";
juggler22 = "fkub";
pusher1 = "bkd";
pusher2 = "bkdb";
specialpusher1 = "fpsp";
hyperpusher1 = "hyper2";
airpusher1 = "fkuf";
airpusher2 = "bkuf";
lowtap1 = "bk";
lowtap2 = "fk";
uppercut1 = "fpsp";
uppercut2 = "fpdb";
specialuppercut1 = "fksp";
hyperuppercut1 = "hyper1";
overhead1 = "bpb";
overhead2 = "bpb";
specialoverhead = "bpb";
hyperoverhead = "bkub";
sweep1 = "bkdf";
sweep2 = "bkdb";
specialsweep1 = "fksp";
hypersweep1 = "hyper2";
jumpup1 = "fkuf";
jumpup2 = "bkuf";
jumpin1 = "bkub";
jumpin2 = "fkub";
fpspInput = "compFfireball";
bkspInput = "compFfireball";
fkspInput = "compFuppercut";
hyper1Input = "compDFfireball";
hyper1Key = "fp";
hyper2Input = "compDFfireball";
hyper2Key = "fk";
hyper3Input = "compDFfireball";
hyper3Key = "bk";
bkdfDistance = mediumDistance;
bkdbDistance = mediumDistance;
fpspDistance = uberLongDistance;
bkspDistance = mediumDistance;
fkspDistance = mediumDistance;
hyper1Distance = uberLongDistance;
hyper2Distance = mediumDistance;
hyper3Distance = uberShortDistance;
bpbDefend = "overhead";
hyper2Defend = "low";
hyper3Defend = "parry";
bkfmomentum = "BSide";
bkmomentum = "BForward";
bkbmomentum = "BSide";
bkdfmomentum = "BSide";
bkdmomentum = "BForward";
bkdbmomentum = "BSide";
fkfmomentum = "FSide";
fkmomentum = "FForward";
fkbmomentum = "FSide";
fkdfmomentum = "FSide";
fkdmomentum = "FForward";
fkdbmomentum = "FSide";
bpfmomentum = "BSide";
bpmomentum = "BForward";
bpbmomentum = "BSide";
bpdfmomentum = "BSide";
bpdmomentum = "BForward";
bpdbmomentum = "BSide";
fpfmomentum = "FSide";
fpmomentum = "FForward";
fpbmomentum = "FSide";
fpdfmomentum = "FSide";
fpdmomentum = "FForward";
fpdbmomentum = "FSide";
} else if (_root[("p" + absself) + "charnum"] == 27) {
name = "pantera";
menum = 9.5;
haletter = "Pantera";
weight = 1.65;
ws = 9;
wratio = 0.85;
jsp = 10;
jst = 18;
jumpratio = 0.8;
verticalspeed = 1.5;
funkyTime = 0;
funkyFactor = 7;
angryTime = 30;
angryFactor = 7;
starter11 = "fpsp";
starter21 = "bpb";
linker11 = "fpf";
linker21 = "bpdb";
finisher11 = "fksp";
finisher21 = "fkdb";
juggler11 = "fkub";
juggler21 = "bkub";
pusher1 = "fpf";
pusher2 = "fpdf";
specialpusher1 = "fpsp";
hyperpusher1 = "hyper1";
airpusher1 = "fkuf";
airpusher2 = "bkuf";
lowtap1 = "fpd";
lowtap2 = "fk";
uppercut1 = "fpdb";
uppercut2 = "fpdb";
specialuppercut1 = "fksp";
hyperuppercut1 = "hyper1";
overhead1 = "fkb";
overhead2 = "bksp";
specialoverhead = "bksp";
hyperoverhead = "hyper3";
sweep1 = "bkdb";
sweep2 = "fpdf";
specialsweep1 = "fksp";
hypersweep1 = "hyper2";
jumpup1 = "fkuf";
jumpup2 = "bkuf";
jumpin1 = "bkub";
jumpin2 = "fkub";
fpspInput = "compFfireball";
bkspInput = "compBfireball";
fkspInput = "compFuppercut";
hyper1Input = "compDFfireball";
hyper1Key = "fp";
hyper2Input = "compDFfireball";
hyper2Key = "fk";
hyper3Input = "compDBfireball";
hyper3Key = "bk";
fpspDistance = longDistance;
bkspDistance = shortDistance;
fkspDistance = mediumDistance;
fksphitDistance = mediumDistance;
hyper1Distance = longDistance;
hyper2Distance = mediumDistance;
hyper3Distance = shortDistance;
fkbDefend = "overhead";
bkspDefend = "fake";
fksphitDefend = "high";
bkspPunchDefend = "overhead";
bkspKickDefend = "low";
hyper2Defend = "low";
hyper3Defend = "overhead";
bkbEnding = "gbA";
fkbEnding = "gfA";
bkfmomentum = "BSide";
bkmomentum = "BForward";
bkbmomentum = "BSide";
bkdfmomentum = "BSide";
bkdmomentum = "BForward";
bkdbmomentum = "HalfSpinA";
fkfmomentum = "HalfSpinA";
fkmomentum = "FForward";
fkbmomentum = "BSpinT";
fkdfmomentum = "FSpinA";
fkdmomentum = "FForward";
fkdbmomentum = "BSide";
bpfmomentum = "BSide";
bpmomentum = "BForward";
bpbmomentum = "HandSpinA";
bpdfmomentum = "BSide";
bpdmomentum = "BForward";
bpdbmomentum = "HandSpinA";
fpfmomentum = "FHandStand";
fpmomentum = "FForward";
fpbmomentum = "FForward";
fpdfmomentum = "FSide";
fpdmomentum = "FForward";
fpdbmomentum = "FForward";
} else if (_root[("p" + absself) + "charnum"] == 26) {
name = "saryn";
menum = 8.25;
haletter = "Saryn";
weight = 1.75;
ws = 5;
wratio = 1.15;
jsp = 7;
jst = 16;
jumpratio = 0.95;
verticalspeed = 1.25;
funkyTime = 30;
funkyFactor = 4;
angryTime = 30;
angryFactor = 3;
starter11 = "fksp";
starter21 = "bksp";
linker11 = "fkdb";
linker21 = "fkub";
finisher11 = "fpsp";
finisher21 = "fpsp";
juggler11 = "bkub";
juggler21 = "fkuf";
pusher1 = "fkb";
pusher2 = "fkf";
specialpusher1 = "fksp";
hyperpusher1 = "hyper2";
airpusher1 = "fkub";
airpusher2 = "bkuf";
lowtap1 = "fk";
lowtap2 = "bk";
uppercut1 = "fkdb";
uppercut2 = "fpsp";
specialuppercut1 = "fpsp";
hyperuppercut1 = "hyper1";
overhead1 = "fpb";
overhead2 = "bksp";
specialoverhead = "bksp";
hyperoverhead = "hyper1";
sweep1 = "bkdb";
sweep2 = "fpdb";
specialsweep1 = "fksp";
hypersweep1 = "fksp";
jumpup1 = "fkub";
jumpup2 = "bpu";
jumpin1 = "bkub";
jumpin2 = "fkuf";
fpspInput = "compFuppercut";
bkspInput = "compBfireball";
fkspInput = "compFfireball";
hyper1Input = "compDBfireball";
hyper1Key = "bk";
hyper2Input = "compDFfireball";
hyper2Key = "fp";
hyper3Input = "compDFfireball";
hyper3Key = "fk";
fpspDistance = shortDistance;
bkspDistance = mediumDistance;
fkspDistance = longDistance;
fkspKickDistance = mediumDistance;
hyper1Distance = mediumDistance;
hyper2Distance = longDistance;
hyper3Distance = uberShortDistance;
fpbDefend = "overhead";
bkspDefend = "overhead";
fkspDefend = "low";
fkspKickDefend = "low";
hyper1Defend = "overhead";
hyper3Defend = "parry";
bkfmomentum = "BSide";
bkmomentum = "BForward";
bkbmomentum = "BSide";
bkdfmomentum = "BSide";
bkdmomentum = "BForward";
bkdbmomentum = "BSide";
fkfmomentum = "FSide";
fkmomentum = "FForward";
fkbmomentum = "FSpinT";
fkdfmomentum = "FSide";
fkdmomentum = "FForward";
fkdbmomentum = "FSpinT";
bpfmomentum = "BSide";
bpmomentum = "BForward";
bpbmomentum = "BSide";
bpdfmomentum = "BSide";
bpdmomentum = "BForward";
bpdbmomentum = "BSide";
fpfmomentum = "FSide";
fpmomentum = "FForward";
fpbmomentum = "FSide";
fpdfmomentum = "FSide";
fpdmomentum = "FForward";
fpdbmomentum = "FSide";
} else if (_root[("p" + absself) + "charnum"] == 28) {
name = "angoleiro";
menum = 5.5;
haletter = "Angoleiro";
weight = 2;
ws = 4;
wratio = 0.9;
jsp = 5;
jst = 12;
jumpratio = 0.9;
verticalspeed = 0.9;
funkyTime = 15;
funkyFactor = 6;
angryTime = 15;
angryFactor = 3;
starter11 = "fk";
starter21 = "bpsp";
linker11 = "bk";
linker21 = "bpb";
finisher11 = "fksp";
finisher21 = "bksp";
juggler11 = "bksp";
juggler21 = "fpdb";
pusher1 = "bkdf";
pusher2 = "fkf";
specialpusher1 = "bksp";
hyperpusher1 = "hyper1";
airpusher1 = "fkuf";
airpusher2 = "bkub";
lowtap1 = "fk";
lowtap2 = "bk";
uppercut1 = "bkdb";
uppercut2 = "bpdb";
specialuppercut1 = "bksp";
hyperuppercut1 = "hyper1";
overhead1 = "fpb";
overhead2 = "fpb";
specialoverhead = "bkuf";
hyperoverhead = "fpb";
sweep1 = "fksp";
sweep2 = "fpdb";
specialsweep1 = "fksp";
hypersweep1 = "hyper3";
jumpup1 = "fkub";
jumpup2 = "bpu";
jumpin1 = "bkuf";
jumpin2 = "fku";
fpspInput = "compFfireball";
bkspInput = "compBfireball";
fkspInput = "compBfireball";
hyper1Input = "compDBfireball";
hyper1Key = "bk";
hyper2Input = "compDFfireball";
hyper2Key = "fp";
hyper3Input = "compDBfireball";
hyper3Key = "fk";
fpspDistance = mediumDistance;
bkspDistance = shortDistance;
fkspDistance = mediumDistance;
fksplink1Distance = mediumDistance;
fksplink2Distance = mediumDistance;
hyper1Distance = mediumDistance;
hyper2Distance = longDistance;
hyper3Distance = shortDistance;
fpbDefend = "overhead";
bkspDefend = "fake";
fksplink1Defend = "low";
fksplink2Defend = "high";
hyper1Defend = "fake";
hyper3Defend = "low";
bkbEnding = "gbA";
bkdfEnding = "gbA";
fkbEnding = "gfA";
bkfmomentum = "HalfSpinA";
bkmomentum = "BForward";
bkbmomentum = "BSpinA";
bkdfmomentum = "HandSpinT";
bkdmomentum = "BForward";
bkdbmomentum = "BSpinA";
fkfmomentum = "Fside";
fkmomentum = "FForward";
fkbmomentum = "BSpinT";
fkdfmomentum = "FForward";
fkdmomentum = "FForward";
fkdbmomentum = "BSpinT";
bpfmomentum = "BSide";
bpmomentum = "BForward";
bpbmomentum = "HalfSpinA";
bpdfmomentum = "BSide";
bpdmomentum = "BForward";
bpdbmomentum = "HandSpinA";
fpfmomentum = "FSide";
fpmomentum = "FForward";
fpbmomentum = "BSpinT";
fpdfmomentum = "FForward";
fpdmomentum = "FForward";
fpdbmomentum = "BSpinA";
} else if (_root[("p" + absself) + "charnum"] == 29) {
name = "avery";
menum = 9.5;
haletter = "Macaco";
weight = 1.6;
ws = 7;
wratio = 1.2;
jsp = 9;
jst = 18;
jumpratio = 1;
verticalspeed = 1.25;
funkyTime = 0;
funkyFactor = 6;
angryTime = 20;
angryFactor = 4;
starter11 = "fpsp";
starter21 = "bkdf";
linker11 = "fkub";
linker21 = "fkb";
finisher11 = "hyper1";
finisher21 = "fksp";
juggler11 = "fkb";
juggler21 = "bkuf";
juggler22 = "bkub";
pusher1 = "bkdf";
pusher2 = "fpf";
specialpusher1 = "fksp";
hyperpusher1 = "hyper2";
airpusher1 = "bkuf";
airpusher2 = "bkub";
lowtap1 = "bkd";
lowtap2 = "fk";
uppercut1 = "bpdb";
uppercut2 = "bkb";
specialuppercut1 = "bksp";
hyperuppercut1 = "hyper1";
overhead1 = "bpb";
overhead2 = "bksp";
specialoverhead = "bksp";
hyperoverhead = "bksp";
sweep1 = "fkdb";
sweep2 = "fksp";
specialsweep1 = "fksp";
hypersweep1 = "hyper2";
jumpup1 = "bkub";
jumpup2 = "bkuf";
jumpin1 = "fkuf";
jumpin2 = "fkub";
fpspInput = "compBcharge";
bkspInput = "compBfireball";
fkspInput = "compBfireball";
hyper1Input = "compDBcharge";
hyper1Key = "fp";
hyper2Input = "compDBfireball";
hyper2Key = "fk";
hyper3Input = "compDBfireball";
hyper3Key = "bk";
fpspDistance = longDistance;
bkspDistance = uberLongDistance;
fkspDistance = mediumDistance;
hyper1Distance = mediumDistance;
hyper2Distance = mediumDistance;
hyper3Distance = mediumDistance;
bpbDefend = "overhead";
fkspDefend = "low";
bkspDefend = "overhead";
hyper2Defend = "low";
bkfmomentum = "BSide";
bkmomentum = "BForward";
bkbmomentum = "BSide";
bkdfmomentum = "BSide";
bkdmomentum = "BForward";
bkdbmomentum = "BSide";
fkfmomentum = "FForward";
fkmomentum = "FForward";
fkbmomentum = "FSpinA";
fkdfmomentum = "FSide";
fkdmomentum = "FForward";
fkdbmomentum = "FSpinT";
bpfmomentum = "BForward";
bpmomentum = "BForward";
bpbmomentum = "BForward";
bpdfmomentum = "BForward";
bpdmomentum = "BForward";
bpdbmomentum = "BForward";
fpfmomentum = "FForward";
fpmomentum = "FForward";
fpbmomentum = "FForward";
fpdfmomentum = "FForward";
fpdmomentum = "FForward";
fpdbmomentum = "FForward";
} else if (_root[("p" + absself) + "charnum"] == 30) {
name = "arubim";
menum = 2.25;
haletter = "Arubim";
weight = 2.25;
ws = 4;
wratio = 0.75;
jsp = 5;
jst = 12;
jumpratio = 1;
verticalspeed = 1;
funkyTime = 30;
funkyFactor = 6;
angryTime = 30;
angryFactor = 4;
starter11 = "fksp";
starter21 = "bksp";
starter21 = "fkf";
linker11 = "highGrab";
linker21 = "fpsp";
finisher11 = "bksp";
finisher21 = "fpsp";
juggler11 = "fpf";
juggler21 = "fksp";
pusher1 = "fkb";
pusher2 = "fkf";
specialpusher1 = "bksp";
hyperpusher1 = "hyper2";
airpusher1 = "fkub";
airpusher2 = "bkuf";
lowtap1 = "fpd";
lowtap2 = "bk";
uppercut1 = "fkdb";
uppercut2 = "bksp";
specialuppercut1 = "bksp";
hyperuppercut1 = "hyper2";
overhead1 = "fpf";
overhead2 = "bksp";
specialoverhead = "bksp";
hyperoverhead = "hyper3";
sweep1 = "bkdb";
sweep2 = "fpsp";
specialsweep1 = "highGrab";
hypersweep1 = "lowGrab";
jumpup1 = "fkub";
jumpup2 = "bpu";
jumpin1 = "bkub";
jumpin2 = "bku";
fpspInput = "compFfireball";
bkspInput = "compBfireball";
fkspInput = "compBuppercut";
hyper1Input = "compDFfireball";
hyper1Key = "bk";
hyper2Input = "compDBfireball";
hyper2Key = "fk";
hyper3Input = "compDFfireball";
hyper3Key = "fp";
fpspDistance = uberShortDistance;
bkspDistance = mediumDistance;
fkspDistance = uberLongDistance;
hyper1Distance = mediumDistance;
hyper2Distance = mediumDistance;
hyper3Distance = uberShortDistance;
fpfDefend = "overhead";
bkbDefend = "low";
fpspDefend = "parry";
fkspDefend = "overhead";
hyper3Defend = "parry";
bkfmomentum = "BSide";
bkmomentum = "BForward";
bkbmomentum = "BSide";
bkdfmomentum = "BSide";
bkdmomentum = "BForward";
bkdbmomentum = "HalfSpinT";
fkfmomentum = "FSide";
fkmomentum = "FForward";
fkbmomentum = "FSpinT";
fkdfmomentum = "FSide";
fkdmomentum = "FForward";
fkdbmomentum = "FSpinT";
bpfmomentum = "BSide";
bpmomentum = "BForward";
bpbmomentum = "BSide";
bpdfmomentum = "BSide";
bpdmomentum = "BForward";
bpdbmomentum = "BSide";
fpfmomentum = "FSide";
fpmomentum = "FForward";
fpbmomentum = "FSide";
fpdfmomentum = "FSide";
fpdmomentum = "FForward";
fpdbmomentum = "FSide";
} else if (_root[("p" + absself) + "charnum"] == 21) {
name = "helicopter";
menum = 8;
haletter = "Helicopter";
weight = 1.7;
ws = 4;
wratio = 1;
jsp = 5;
jst = 14;
jumpratio = 1;
verticalspeed = 0.9;
funkyTime = 30;
funkyFactor = 9;
angryTime = 20;
angryFactor = 2;
starter11 = "fpsp";
starter21 = "bksp";
linker11 = "fkuf";
linker12 = "bkub";
linker21 = "fkuf";
linker22 = "bkub";
finisher11 = "fkub";
finisher21 = "fksp";
juggler11 = "bkuf";
juggler21 = "hyper1";
pusher1 = "fkf";
pusher2 = "fpdf";
specialpusher1 = "fpsp";
hyperpusher1 = "hyper2";
airpusher1 = "fkub";
airpusher2 = "bkub";
lowtap1 = "fk";
lowtap2 = "bk";
uppercut1 = "bkb";
uppercut2 = "bpf";
specialuppercut1 = "bksp";
hyperuppercut1 = "hyper3";
overhead1 = "bpdf";
overhead2 = "bkuf";
specialoverhead = "fksp";
hyperoverhead = "hyper1";
sweep1 = "fkdb";
sweep2 = "fpsp";
specialsweep1 = "bksp";
hypersweep1 = "bpsp";
jumpup1 = "fkub";
jumpup2 = "bkub";
jumpin1 = "bkuf";
jumpin2 = "bku";
fpspInput = "compFfireball";
bkspInput = "compBfireball";
fkspInput = "compBuppercut";
hyper1Input = "compDBfireball";
hyper1Key = "fk";
hyper2Input = "compDFfireball";
hyper2Key = "fp";
hyper3Input = "compDBfireball";
hyper3Key = "bk";
fpspDistance = mediumDistance;
bkspDistance = mediumDistance;
fkspDistance = mediumDistance;
hyper1Distance = shortDistance;
hyper2Distance = mediumDistance;
hyper3Distance = shortDistance;
bpdfDefend = "overhead";
fpspDefend = "low";
bkspDefend = "low";
fkspDefend = "overhead";
hyper1Defend = "overhead";
hyper2Defend = "low";
hyper3Defend = "low";
bkfmomentum = "BForward";
bkmomentum = "BForward";
bkbmomentum = "BFlip";
bkdfmomentum = "HalfSpinA";
bkdmomentum = "BForward";
bkdbmomentum = "FSpinT";
fkfmomentum = "FSide";
fkmomentum = "FForward";
fkbmomentum = "BSpinA";
fkdfmomentum = "FSide";
fkdmomentum = "FForward";
fkdbmomentum = "HalfSpinT";
bpfmomentum = "BHandStand";
bpmomentum = "BForward";
bpbmomentum = "BSide";
bpdfmomentum = "BHandStand";
bpdmomentum = "BForward";
bpdbmomentum = "HandSpinT";
fpfmomentum = "FHandStand";
fpmomentum = "FForward";
fpbmomentum = "HandSpinA";
fpdfmomentum = "FSide";
fpdmomentum = "FForward";
fpdbmomentum = "HandSpinT";
}
mespeed = int(menum / 2.5);
dst = _root.maxstrength - (menum * strengthstep);
axst = _root.minaxe + (menum * axestep);
}
Symbol 1179 MovieClip Frame 1
stop();
Symbol 1179 MovieClip Frame 62
gotoAndPlay (2);
Instance of Symbol 129 MovieClip in Symbol 1180 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.play();
}
Symbol 1181 MovieClip Frame 1
stop();
Symbol 1181 MovieClip Frame 2
this.swapDepths(90);
Symbol 1182 MovieClip Frame 1
stop();
Instance of Symbol 129 MovieClip in Symbol 1182 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.play();
}
Symbol 1183 MovieClip Frame 1
gotoAndStop(_root.hypercolor);
Symbol 1184 MovieClip Frame 1
stop();
Symbol 1184 MovieClip Frame 30
gotoAndStop (1);
Symbol 1185 MovieClip Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
_root.blurSound(blurX);
}
stop();
gotoAndStop(_root.stagenum);
if (_root.reverseShadows) {
shadow._yscale = 25;
shadow._xscale = 50;
} else {
shadow._yscale = 10;
shadow._xscale = 50;
}
Symbol 1190 MovieClip Frame 1
function playsound(sound) {
pan = _x / 2;
if (Math.abs(_x) > 200) {
volumeDistance = 0.75 - ((Math.abs(_x) - 200) / 250);
if (volumeDistance < 0) {
volumeDistance = 0;
}
} else {
volumeDistance = 0.75;
}
eval (sound).setVolume((_root.Ceffectsvolume * _root.Cmastervolume) * 0.75);
eval (sound).setPan(pan);
eval (sound).start(0, 1);
}
function stopsound(sound) {
eval (sound).stop(0, 1);
}
block1 = new Sound(this);
block1.attachSound("Sblock1");
block2 = new Sound(this);
block2.attachSound("Sblock2");
block3 = new Sound(this);
block3.attachSound("Sblock3");
block4 = new Sound(this);
block4.attachSound("Sblock4");
st1 = new Sound(this);
st1.attachSound("Sstep1");
st2 = new Sound(this);
st2.attachSound("Sstep2");
st3 = new Sound(this);
st3.attachSound("Sstep3");
st4 = new Sound(this);
st4.attachSound("Sstep4");
splat = new Sound(this);
splat.attachSound("Ssplat");
sw1 = new Sound(this);
sw1.attachSound("Sswish1");
sw2 = new Sound(this);
sw2.attachSound("Sswish2");
sw3 = new Sound(this);
sw3.attachSound("Sswish3");
sw4 = new Sound(this);
sw4.attachSound("Sswish4");
th1 = new Sound(this);
th1.attachSound("Sthump1");
th2 = new Sound(this);
th2.attachSound("Sthump2");
th3 = new Sound(this);
th3.attachSound("Sthump3");
th4 = new Sound(this);
th4.attachSound("Sthump4");
function moveHex() {
ball.hex._x = ball.hex._x + (hexx * _root.speed);
if (ball.hex._x > limit) {
ball.hex._x = -limit;
} else if (ball.hex._x < (-limit)) {
ball.hex._x = limit;
}
ball.hex._y = ball.hex._y + (hexy * _root.speed);
if (ball.hex._y > limit) {
ball.hex._y = -limit;
} else if (ball.hex._y < (-limit)) {
ball.hex._y = limit;
}
if (_root.miniGame == "dribble") {
ball.hex._rotation = ball.hex._rotation + (hexr * _root.speed);
if (ball.hex._rotation > 360) {
ball.hex._rotation = ball.hex._rotation - 360;
} else if (ball.hex._rotation < -360) {
ball.hex._rotation = ball.hex._rotation + 360;
}
} else {
ball._rotation = ball._rotation + (hexr * _root.speed);
ballrot = ball._rotation;
ball._rotation = 0;
ball._yscale = 100 - (Math.abs(ball.hex._y) * 3);
ball._rotation = ballrot;
ball.shine._rotation = -ball._rotation;
if (ball._rotation > 360) {
ball._rotation = ball._rotation - 360;
} else if (ball._rotation < -360) {
ball._rotation = ball._rotation + 360;
}
}
if ((_root.stagenum == 1) || (_root.stagenum == 8)) {
shadow._y = 15 - (ball._y / 4);
}
}
function resetLife() {
life = 6;
ball.gotoAndStop(2);
_x = (250 + random(200));
xspeed = -(1.5 + (random(8) * 0.1));
yspeed = -(4 + random(6));
hexr = (-(xspeed * 10)) / yspeed;
hexx = xspeed / 2;
hexy = yspeed / 8;
ball._y = -random(100);
if (random(10) < 5) {
_x = (_x * -1);
xspeed = xspeed * -1;
}
}
gotoAndStop(_root.stagenum);
hexx = 0;
hexy = 0;
hexr = -2;
limit = 10;
if (melon) {
ball.gotoAndStop(2);
resetLife();
}
Symbol 1190 MovieClip Frame 71
stop();
if (_root.miniGame == "melon") {
gotoAndStop(_root.stagenum);
resetLife();
}
Symbol 1194 MovieClip Frame 1
stop();
Symbol 1197 MovieClip Frame 1
stop();
Instance of Symbol 30 MovieClip in Symbol 1197 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent._xscale = 100 + ((100 - _root.players._xscale) * 1.5);
_parent._yscale = 100 + ((100 - _root.players._xscale) * 1.5);
if (_parent.sunhit.hitTest(_root.players.p1.player.hb) or _parent.sunhit.hitTest(_root.players.p2.player.hb)) {
_parent.gotoAndStop(3);
}
}
Instance of Symbol 30 MovieClip in Symbol 1197 MovieClip Frame 3
onClipEvent (enterFrame) {
_parent._xscale = 100 + ((100 - _root.players._xscale) * 1.5);
_parent._yscale = 100 + ((100 - _root.players._xscale) * 1.5);
if (!(_parent.sunhit.hitTest(_root.players.p1.player.hb) or _parent.sunhit.hitTest(_root.players.p2.player.hb))) {
_parent.gotoAndPlay(5);
}
}
Symbol 1197 MovieClip Frame 5
_rotation = random(360);
Instance of Symbol 30 MovieClip in Symbol 1197 MovieClip Frame 5
onClipEvent (enterFrame) {
_parent._xscale = 100 + ((100 - _root.players._xscale) * 1.5);
_parent._yscale = 100 + ((100 - _root.players._xscale) * 1.5);
if (_parent.sunhit.hitTest(_root.players.p1.player.hb) or _parent.sunhit.hitTest(_root.players.p2.player.hb)) {
_parent.gotoAndStop(2);
}
}
Symbol 1198 MovieClip Frame 1
stop();
Symbol 1199 MovieClip Frame 1
stop();
this.swapDepths(800);
this.swapDepths(800);
Instance of Symbol 1204 MovieClip in Symbol 1206 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 5);
if (_rotation <= -360) {
_rotation = 0;
}
}
Instance of Symbol 1209 MovieClip in Symbol 1211 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 5);
if (_rotation <= -360) {
_rotation = 0;
}
}
Symbol 1213 MovieClip Frame 3
ring1.gotoAndPlay(2);
Symbol 1213 MovieClip Frame 4
ring2.gotoAndPlay(2);
Symbol 1214 MovieClip Frame 1
function pgo() {
_root.animate(1);
_root.animate(2);
}
function pstop() {
}
function setspeed() {
speedup = speedup - 2;
_root.speed = 1 / slowdown;
ambientpan = ambientpan + panstep;
musicpan = musicpan - panstep;
_root.music.sound1.playsound("soundnode", ambientpan, 0);
_root.music.sound2.playsound("soundnode", -ambientpan, 0);
_root.music.music.playsound("soundnode", musicpan, 0);
_parent.bg.img._xscale = _parent.bg.img._xscale + (3 - (18 * _root.speed));
_root.players.rodapeople._xscale = 100 + ((_parent.bg.img._xscale - 100) / 2);
_root.players.rodapeople._alpha = 100 - (_parent.bg.img._xscale - 100);
_root.players.roda2._xscale = 100 + ((_parent.bg.img._xscale - 100) / 2);
_root.players.roda2._alpha = 100 - (_parent.bg.img._xscale - 100);
if (speedup <= 0) {
slowdown = slowdown - 0.5;
if (slowdown == 0) {
gotoAndStop (1);
_root.Cambientvolume = 60;
if (_root.endmatch._currentframe == 1) {
_root.endmatch.gotoAndPlay(2);
}
_root.Cmusicvolume = _root.Cmusicvolume2;
_root.music.sound1.playsound("soundnode", 0, 0);
_root.music.sound2.playsound("soundnode", 0, 0);
_root.music.music.playsound("soundnode", 0, 0);
_parent.bg.img.gotoAndStop(1);
_parent.bg.img._xscale = 100;
_root.players.p1.hitStop = 0;
_root.players.p2.hitStop = 0;
_root.players.rodapeople._xscale = 100;
_root.players.rodapeople._alpha = 100;
_root.players.roda2._xscale = 100;
_root.players.roda2._alpha = 100;
}
speedup = slowdown;
pgo();
} else {
pstop();
}
}
stop();
ambientpan = 100;
musicpan = -100;
panstep = 5;
_root.speed = 1;
slowdown = 1;
Symbol 1214 MovieClip Frame 2
slowdown = 12;
speedup = slowdown;
_parent.bg.img.gotoAndStop(2);
_root.Cambientvolume = _root.Cambientvolume * 0.25;
_root.Cmusicvolume = _root.Cmusicvolume * 0.2;
Instance of Symbol 30 MovieClip in Symbol 1214 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.paused == 0) {
_parent.setspeed();
}
}
Symbol 1258 MovieClip Frame 1
function blurMezzzz(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
_root.blurSound(blurX);
}
blurMe(4, 4);
Symbol 1371 MovieClip Frame 1
_rotation = random(360);
_xscale = (random(50) + 50);
_alpha = (50 + random(50));
Symbol 1374 MovieClip Frame 1
_x = (random(400) - 200);
snowWait = random(6);
_xscale = (random(50) + 75);
if (snowWait > 3) {
_xscale = (_xscale * -1);
}
Symbol 1374 MovieClip Frame 196
if (snowWait == 5) {
gotoAndPlay (1);
}
Symbol 1374 MovieClip Frame 205
if (snowWait == 4) {
gotoAndPlay (1);
}
Symbol 1374 MovieClip Frame 215
if (snowWait == 3) {
gotoAndPlay (1);
}
Symbol 1374 MovieClip Frame 225
if (snowWait == 2) {
gotoAndPlay (1);
}
Symbol 1374 MovieClip Frame 235
if (snowWait == 1) {
gotoAndPlay (1);
}
Symbol 1375 MovieClip Frame 1
function blurMezzz(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
_root.blurSound(blurX);
}
gotoAndStop(_root.stagenum);
if (_root.paigeLevel) {
_visible = false;
}
Instance of Symbol 1374 MovieClip in Symbol 1375 MovieClip Frame 30
onClipEvent (load) {
gotoAndPlay(random(120));
}
Instance of Symbol 1374 MovieClip in Symbol 1375 MovieClip Frame 30
onClipEvent (load) {
gotoAndPlay(random(120));
}
Instance of Symbol 1374 MovieClip in Symbol 1375 MovieClip Frame 30
onClipEvent (load) {
gotoAndPlay(random(120));
}
Instance of Symbol 1374 MovieClip in Symbol 1375 MovieClip Frame 30
onClipEvent (load) {
gotoAndPlay(random(120));
}
Instance of Symbol 1374 MovieClip in Symbol 1375 MovieClip Frame 30
onClipEvent (load) {
gotoAndPlay(random(120));
}
Instance of Symbol 1374 MovieClip in Symbol 1375 MovieClip Frame 30
onClipEvent (load) {
gotoAndPlay(random(120));
}
Instance of Symbol 1374 MovieClip in Symbol 1375 MovieClip Frame 30
onClipEvent (load) {
gotoAndPlay(random(120));
}
Symbol 1465 MovieClip Frame 361
gotoAndPlay (1);
Symbol 1541 MovieClip Frame 1
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
player.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
blurMe(2, 2);
Symbol 1543 MovieClip Frame 1
stop();
if (_root.paigeLevel) {
_visible = false;
}
gotoAndStop(_root.stagenum);
Instance of Symbol 1374 MovieClip in Symbol 1543 MovieClip Frame 30
onClipEvent (load) {
gotoAndPlay(random(120));
}
Instance of Symbol 1374 MovieClip in Symbol 1543 MovieClip Frame 30
onClipEvent (load) {
gotoAndPlay(random(120));
}
Instance of Symbol 1374 MovieClip in Symbol 1543 MovieClip Frame 30
onClipEvent (load) {
gotoAndPlay(random(120));
}
Instance of Symbol 1374 MovieClip in Symbol 1543 MovieClip Frame 30
onClipEvent (load) {
gotoAndPlay(random(120));
}
Instance of Symbol 1374 MovieClip in Symbol 1543 MovieClip Frame 30
onClipEvent (load) {
gotoAndPlay(random(120));
}
Instance of Symbol 1374 MovieClip in Symbol 1543 MovieClip Frame 30
onClipEvent (load) {
gotoAndPlay(random(120));
}
Instance of Symbol 1374 MovieClip in Symbol 1543 MovieClip Frame 30
onClipEvent (load) {
gotoAndPlay(random(120));
}
Symbol 1552 Button
on (release, keyPress "<Right>") {
nextFrame();
}
Symbol 1563 Button
on (release, keyPress "<Left>") {
prevFrame();
}
Symbol 1603 MovieClip Frame 1
stop();
Symbol 1756 MovieClip Frame 1
stop();
function setkey(value, thekey) {
if ((((((((Key.getCode() != _root.Cp1u) && (Key.getCode() != _root.Cp1f)) && (Key.getCode() != _root.Cp1d)) && (Key.getCode() != _root.Cp1b)) && (Key.getCode() != _root.Cp1bp)) && (Key.getCode() != _root.Cp1fp)) && (Key.getCode() != _root.Cp1bk)) && (Key.getCode() != _root.Cp1fk)) {
if ((((((((Key.getCode() != _root.Cp2u) && (Key.getCode() != _root.Cp2f)) && (Key.getCode() != _root.Cp2d)) && (Key.getCode() != _root.Cp2b)) && (Key.getCode() != _root.Cp2bp)) && (Key.getCode() != _root.Cp2fp)) && (Key.getCode() != _root.Cp2bk)) && (Key.getCode() != _root.Cp2fk)) {
_root["C" + value] = Key.getCode();
eval (value).gotoAndStop(Key.getCode());
eval (value).char = chr(_root["C" + value]);
value.showkey();
}
}
}
Instance of Symbol 1603 MovieClip in Symbol 1756 MovieClip Frame 1
onClipEvent (load) {
if (_root["simplespdodge" + _parent.self]) {
gotoAndStop (5);
} else {
gotoAndStop (11);
}
}
Instance of Symbol 310 MovieClip "p1bp" in Symbol 1756 MovieClip Frame 35
onClipEvent (load) {
value = "p1bp";
}
Instance of Symbol 310 MovieClip "p1bk" in Symbol 1756 MovieClip Frame 35
onClipEvent (load) {
value = "p1bk";
}
Instance of Symbol 310 MovieClip "p1fk" in Symbol 1756 MovieClip Frame 35
onClipEvent (load) {
value = "p1fk";
}
Instance of Symbol 310 MovieClip "p1fp" in Symbol 1756 MovieClip Frame 35
onClipEvent (load) {
value = "p1fp";
}
Instance of Symbol 310 MovieClip "p1f" in Symbol 1756 MovieClip Frame 35
onClipEvent (load) {
value = "p1f";
}
Instance of Symbol 310 MovieClip "p1b" in Symbol 1756 MovieClip Frame 35
onClipEvent (load) {
value = "p1b";
}
Instance of Symbol 310 MovieClip "p1d" in Symbol 1756 MovieClip Frame 35
onClipEvent (load) {
value = "p1d";
}
Instance of Symbol 310 MovieClip "p1u" in Symbol 1756 MovieClip Frame 35
onClipEvent (load) {
value = "p1u";
}
Instance of Symbol 316 MovieClip in Symbol 1756 MovieClip Frame 35
onClipEvent (load) {
value = "p1d";
}
Instance of Symbol 316 MovieClip in Symbol 1756 MovieClip Frame 35
onClipEvent (load) {
value = "p1bk";
}
Instance of Symbol 316 MovieClip in Symbol 1756 MovieClip Frame 35
onClipEvent (load) {
value = "p1bp";
}
Instance of Symbol 316 MovieClip in Symbol 1756 MovieClip Frame 35
onClipEvent (load) {
value = "p1b";
}
Instance of Symbol 316 MovieClip in Symbol 1756 MovieClip Frame 35
onClipEvent (load) {
value = "p1f";
}
Instance of Symbol 316 MovieClip in Symbol 1756 MovieClip Frame 35
onClipEvent (load) {
value = "p1u";
}
Instance of Symbol 316 MovieClip in Symbol 1756 MovieClip Frame 35
onClipEvent (load) {
value = "p1fk";
}
Instance of Symbol 316 MovieClip in Symbol 1756 MovieClip Frame 35
onClipEvent (load) {
value = "p1fp";
}
Instance of Symbol 310 MovieClip "p2bp" in Symbol 1756 MovieClip Frame 36
onClipEvent (load) {
value = "p2bp";
}
Instance of Symbol 310 MovieClip "p2bk" in Symbol 1756 MovieClip Frame 36
onClipEvent (load) {
value = "p2bk";
}
Instance of Symbol 310 MovieClip "p2fk" in Symbol 1756 MovieClip Frame 36
onClipEvent (load) {
value = "p2fk";
}
Instance of Symbol 310 MovieClip "p2fp" in Symbol 1756 MovieClip Frame 36
onClipEvent (load) {
value = "p2fp";
}
Instance of Symbol 310 MovieClip "p2b" in Symbol 1756 MovieClip Frame 36
onClipEvent (load) {
value = "p2b";
}
Instance of Symbol 310 MovieClip "p2f" in Symbol 1756 MovieClip Frame 36
onClipEvent (load) {
value = "p2f";
}
Instance of Symbol 310 MovieClip "p2d" in Symbol 1756 MovieClip Frame 36
onClipEvent (load) {
value = "p2d";
}
Instance of Symbol 310 MovieClip "p2u" in Symbol 1756 MovieClip Frame 36
onClipEvent (load) {
value = "p2u";
}
Instance of Symbol 316 MovieClip in Symbol 1756 MovieClip Frame 36
onClipEvent (load) {
value = "p2d";
}
Instance of Symbol 316 MovieClip in Symbol 1756 MovieClip Frame 36
onClipEvent (load) {
value = "p2bk";
}
Instance of Symbol 316 MovieClip in Symbol 1756 MovieClip Frame 36
onClipEvent (load) {
value = "p2bp";
}
Instance of Symbol 316 MovieClip in Symbol 1756 MovieClip Frame 36
onClipEvent (load) {
value = "p2f";
}
Instance of Symbol 316 MovieClip in Symbol 1756 MovieClip Frame 36
onClipEvent (load) {
value = "p2b";
}
Instance of Symbol 316 MovieClip in Symbol 1756 MovieClip Frame 36
onClipEvent (load) {
value = "p2u";
}
Instance of Symbol 316 MovieClip in Symbol 1756 MovieClip Frame 36
onClipEvent (load) {
value = "p2fk";
}
Instance of Symbol 316 MovieClip in Symbol 1756 MovieClip Frame 36
onClipEvent (load) {
value = "p2fp";
}
Symbol 1758 MovieClip Frame 1
stop();
Instance of Symbol 310 MovieClip "p1f" in Symbol 1758 MovieClip Frame 1
onClipEvent (load) {
value = "p1f";
}
Instance of Symbol 310 MovieClip "p1b" in Symbol 1758 MovieClip Frame 1
onClipEvent (load) {
value = "p1b";
}
Instance of Symbol 310 MovieClip "p1f" in Symbol 1758 MovieClip Frame 1
onClipEvent (load) {
value = "p1f";
}
Instance of Symbol 310 MovieClip "p1b" in Symbol 1758 MovieClip Frame 1
onClipEvent (load) {
value = "p1b";
}
Instance of Symbol 310 MovieClip "p1d" in Symbol 1758 MovieClip Frame 1
onClipEvent (load) {
value = "p1d";
}
Instance of Symbol 310 MovieClip "p1d" in Symbol 1758 MovieClip Frame 1
onClipEvent (load) {
value = "p1d";
}
Instance of Symbol 310 MovieClip "p1f" in Symbol 1758 MovieClip Frame 2
onClipEvent (load) {
value = "p1f";
}
Instance of Symbol 310 MovieClip "p1b" in Symbol 1758 MovieClip Frame 2
onClipEvent (load) {
value = "p1b";
}
Symbol 1780 MovieClip Frame 1
function shiftMe() {
_quality = "medium";
xtarget = (xstart - _parent._x) + 160;
_x = (_x + ((xtarget - _x) * 0.15));
}
stop();
_root.defenseTutOn = 0;
xstart = _x;
if (_root.gamemode != 6) {
_visible = false;
} else {
nextFrame();
}
Symbol 1780 MovieClip Frame 2
Instance of Symbol 30 MovieClip in Symbol 1780 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.shiftMe();
}
Instance of Symbol 310 MovieClip "p1f" in Symbol 1780 MovieClip Frame 2
onClipEvent (load) {
value = "p1f";
}
Instance of Symbol 310 MovieClip "p1b" in Symbol 1780 MovieClip Frame 2
onClipEvent (load) {
value = "p1b";
}
Instance of Symbol 310 MovieClip "p1d" in Symbol 1780 MovieClip Frame 2
onClipEvent (load) {
value = "p1d";
}
Instance of Symbol 310 MovieClip "p1u" in Symbol 1780 MovieClip Frame 2
onClipEvent (load) {
value = "p1u";
}
Instance of Symbol 312 MovieClip in Symbol 1780 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.resetkeys == 1) {
_parent.showkeys();
_root.resetkeys = 0;
}
}
Instance of Symbol 1554 MovieClip in Symbol 1780 MovieClip Frame 2
/* no clip actions */
Instance of Symbol 310 MovieClip "p1bp" in Symbol 1780 MovieClip Frame 3
onClipEvent (load) {
value = "p1bp";
}
Instance of Symbol 310 MovieClip "p1bk" in Symbol 1780 MovieClip Frame 3
onClipEvent (load) {
value = "p1bk";
}
Instance of Symbol 310 MovieClip "p1fk" in Symbol 1780 MovieClip Frame 3
onClipEvent (load) {
value = "p1fk";
}
Instance of Symbol 310 MovieClip "p1fp" in Symbol 1780 MovieClip Frame 3
onClipEvent (load) {
value = "p1fp";
}
Instance of Symbol 310 MovieClip "p1f" in Symbol 1780 MovieClip Frame 5
onClipEvent (load) {
value = "p1f";
}
Instance of Symbol 310 MovieClip "p1b" in Symbol 1780 MovieClip Frame 6
onClipEvent (load) {
value = "p1b";
}
Instance of Symbol 310 MovieClip "p1f" in Symbol 1780 MovieClip Frame 7
onClipEvent (load) {
value = "p1f";
}
Instance of Symbol 310 MovieClip "p1d" in Symbol 1780 MovieClip Frame 7
onClipEvent (load) {
value = "p1d";
}
Symbol 1780 MovieClip Frame 8
_root.defenseTutOn = 0;
Instance of Symbol 310 MovieClip "p1u" in Symbol 1780 MovieClip Frame 8
onClipEvent (load) {
value = "p1u";
}
Instance of Symbol 312 MovieClip in Symbol 1780 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.resetkeys == 1) {
_parent.showkeys();
_root.resetkeys = 0;
}
}
Symbol 1780 MovieClip Frame 9
_root.defenseTutOn = 1;
Instance of Symbol 310 MovieClip "p1d" in Symbol 1780 MovieClip Frame 9
onClipEvent (load) {
value = "p1d";
}
Instance of Symbol 310 MovieClip "p1b" in Symbol 1780 MovieClip Frame 9
onClipEvent (load) {
value = "p1b";
}
Symbol 1780 MovieClip Frame 10
_root.defenseTutOn = 0;
Instance of Symbol 310 MovieClip "p1bk" in Symbol 1780 MovieClip Frame 10
onClipEvent (load) {
value = "p1bk";
}
Instance of Symbol 310 MovieClip "p1fk" in Symbol 1780 MovieClip Frame 10
onClipEvent (load) {
value = "p1fk";
}
Instance of Symbol 310 MovieClip "p1f" in Symbol 1780 MovieClip Frame 10
onClipEvent (load) {
value = "p1f";
}
Instance of Symbol 310 MovieClip "p1bp" in Symbol 1780 MovieClip Frame 10
onClipEvent (load) {
value = "p1bp";
}
Instance of Symbol 310 MovieClip "p1fp" in Symbol 1780 MovieClip Frame 10
onClipEvent (load) {
value = "p1fp";
}
Instance of Symbol 310 MovieClip "p1f" in Symbol 1780 MovieClip Frame 10
onClipEvent (load) {
value = "p1f";
}
Symbol 1780 MovieClip Frame 11
_root.defenseTutOn = 0;
Instance of Symbol 310 MovieClip "p1bk" in Symbol 1780 MovieClip Frame 11
onClipEvent (load) {
value = "p1bk";
}
Instance of Symbol 310 MovieClip "p1fk" in Symbol 1780 MovieClip Frame 11
onClipEvent (load) {
value = "p1fk";
}
Instance of Symbol 1756 MovieClip "p1moves" in Symbol 1780 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_currentframe != _root.players.p1.movesnum) {
gotoAndStop(_root.players.p1.movesnum);
}
}
Symbol 1780 MovieClip Frame 12
_root.defenseTutOn = 1;
Instance of Symbol 1758 MovieClip in Symbol 1780 MovieClip Frame 12
onClipEvent (load) {
if (_root.simplespdodge1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 310 MovieClip "p1bp" in Symbol 1780 MovieClip Frame 12
onClipEvent (load) {
value = "p1bp";
}
Symbol 1780 MovieClip Frame 13
_root.defenseTutOn = 0;
Instance of Symbol 310 MovieClip "p1d" in Symbol 1780 MovieClip Frame 14
onClipEvent (load) {
value = "p1d";
}
Instance of Symbol 310 MovieClip "p1d" in Symbol 1780 MovieClip Frame 14
onClipEvent (load) {
value = "p1d";
}
Instance of Symbol 1756 MovieClip "p1moves" in Symbol 1780 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_currentframe != _root.players.p1.movesnum) {
gotoAndStop(_root.players.p1.movesnum);
}
}
Symbol 1782 MovieClip Frame 1
stop();
Symbol 1784 MovieClip Frame 1
function newdancemove(dancer) {
_root["dance" + dancer].gotoAndStop(_root["danceB" + dancer]._currentframe);
_root["danceB" + dancer].gotoAndStop(_root["danceA" + dancer]._currentframe);
_root["danceA" + dancer].gotoAndStop(random(32) + 1);
_root["playerdancemove" + dancer] = _root["dancemove" + _root["dance" + dancer]._currentframe];
if (this["p" + dancer].player._currentframe < 1000) {
_root["dance" + dancer].shock.gotoAndPlay(2);
_root["gooddance" + dancer] = _root["gooddance" + dancer] + 1;
this["p" + dancer].hurtpoints(25);
this["p" + dancer].sfx("sm" + (random(3) + 1));
}
}
function newhyperp1() {
if (_root.Chitsparks == 1) {
hypercount = hypercount + 1;
if (hypercount > 300) {
hypercount = 200;
}
if (!this["hyper" + hypercount].created) {
this.attachMovie("hypertrail1", "hyper" + hypercount, hypercount);
}
this["hyper" + hypercount].created = 1;
this["hyper" + hypercount]._visible = true;
this["hyper" + hypercount].ring.gotoAndStop(1);
this["hyper" + hypercount].gotoAndPlay(1);
this["hyper" + hypercount]._xscale = ((_root.p1bar.hyperback._xscale - _root.p1bar.hyperbar._xscale) / 3) + 70;
this["hyper" + hypercount]._yscale = ((_root.p1bar.hyperback._xscale - _root.p1bar.hyperbar._xscale) / 3) + 70;
if (p1.face == -1) {
this["hyper" + hypercount]._xscale = this["hyper" + hypercount]._xscale * -1;
}
this["hyper" + hypercount]._x = p1._x;
this["hyper" + hypercount]._y = p1._y;
if ((((((p1.hyper == 4) or (p1.hyper == 5)) or (p1.hyper == 6)) or (p1.hyper == 7)) or (p1.hyper == 8)) or (p1.hyper == 1)) {
this["hyper" + hypercount]._rotation = random(360);
}
if ((p1.hyper == 2) or (p1.hyper == 3)) {
this["hyper" + hypercount]._y = p1._y + 50;
this["hyper" + hypercount]._x = (p1._x + random(10)) - 5;
this["hyper" + hypercount]._xscale = this["hyper" + hypercount]._xscale + (p1.face * (random(50) - 50));
}
}
}
function newhyperp2() {
if (_root.Chitsparks == 1) {
hypercount = hypercount + 1;
if (hypercount > 300) {
hypercount = 200;
}
if (!this["hyper" + hypercount].created) {
this.attachMovie("hypertrail2", "hyper" + hypercount, hypercount);
}
this["hyper" + hypercount].created = 1;
this["hyper" + hypercount]._visible = true;
this["hyper" + hypercount].ring.gotoAndStop(1);
this["hyper" + hypercount].gotoAndPlay(1);
this["hyper" + hypercount]._xscale = ((_root.p2bar.hyperback._xscale - _root.p2bar.hyperbar._xscale) / 3) + 70;
this["hyper" + hypercount]._yscale = ((_root.p2bar.hyperback._xscale - _root.p2bar.hyperbar._xscale) / 3) + 70;
if (p2.face == -1) {
this["hyper" + hypercount]._xscale = this["hyper" + hypercount]._xscale * -1;
}
this["hyper" + hypercount]._x = p2._x;
this["hyper" + hypercount]._y = p2._y;
if ((((((p2.hyper == 4) or (p2.hyper == 5)) or (p2.hyper == 6)) or (p2.hyper == 7)) or (p2.hyper == 8)) or (p2.hyper == 1)) {
this["hyper" + hypercount]._rotation = random(360);
}
if ((p2.hyper == 2) or (p2.hyper == 3)) {
this["hyper" + hypercount]._y = p2._y + 50;
this["hyper" + hypercount]._x = (p2._x + random(10)) - 5;
this["hyper" + hypercount]._xscale = this["hyper" + hypercount]._xscale + (p2.face * (-(random(50) - 50)));
}
}
}
function newsmokep1() {
if (_root.Cdust == 1) {
smokecount = smokecount + 1;
if (smokecount > 4300) {
smokecount = 4100;
}
if (!this["smoke" + smokecount].created) {
this.attachMovie("smoke1", "smoke" + smokecount, smokecount);
}
this["smoke" + smokecount].created = 1;
this["smoke" + smokecount]._visible = true;
this["smoke" + smokecount].gotoAndPlay(1);
this["smoke" + smokecount]._xscale = (100 + random(50)) + (100 * p1.fallen);
this["smoke" + smokecount]._yscale = (70 + random(50)) + (20 * p1.fallen);
this["smoke" + smokecount]._x = p1._x + (((30 * p1.fallen) + (random(40) - 20)) * (-p1.face));
this["smoke" + smokecount]._y = p1._y + 55;
this["smoke" + smokecount]._alpha = _root.p1hotfeet;
if (_root.matchtype == 5) {
this["smoke" + smokecount]._alpha = 100 - (_root.GameTime * 5);
p1.sfxBurnVolume(this["smoke" + smokecount]._alpha);
this["smoke" + smokecount]._xscale = 125 - (_root.GameTime * 6);
this["smoke" + smokecount]._yscale = 125 - (_root.GameTime * 6);
this["smoke" + smokecount]._y = ((p1._y + random(20)) - (p1.weight * 3)) + 10;
this["smoke" + smokecount]._x = (p1._x + random(10)) - ((p1.weight * 3) * p1.face);
this["smoke" + smokecount]._rotation = 20 - random(40);
}
if (random(2) == 1) {
this["smoke" + smokecount]._xscale = this["smoke" + smokecount]._xscale * -1;
}
}
}
function newsmokep2() {
if (_root.Cdust == 1) {
smokecount = smokecount + 1;
if (smokecount > 4300) {
smokecount = 4100;
}
if (!this["smoke" + smokecount].created) {
this.attachMovie("smoke2", "smoke" + smokecount, smokecount);
}
this["smoke" + smokecount].created = 1;
this["smoke" + smokecount]._visible = true;
this["smoke" + smokecount].gotoAndPlay(1);
this["smoke" + smokecount]._xscale = (100 + random(50)) + (100 * p2.fallen);
if (random(1) == 1) {
this["smoke" + smokecount]._xscale = this["smoke" + smokecount]._xscale * -1;
}
this["smoke" + smokecount]._yscale = (70 + random(40)) + (20 * p2.fallen);
this["smoke" + smokecount]._x = p2._x + (((30 * p2.fallen) + (random(40) - 20)) * (-p2.face));
this["smoke" + smokecount]._y = p2._y + 55;
this["smoke" + smokecount]._alpha = _root.p2hotfeet;
if (_root.matchtype == 5) {
this["smoke" + smokecount]._alpha = 100 - (_root.GameTime * 5);
p2.sfxBurnVolume(this["smoke" + smokecount]._alpha);
this["smoke" + smokecount]._xscale = 125 - (_root.GameTime * 6);
this["smoke" + smokecount]._yscale = 125 - (_root.GameTime * 6);
this["smoke" + smokecount]._y = ((p2._y + random(20)) - (p2.weight * 3)) + 10;
this["smoke" + smokecount]._x = (p2._x + random(10)) + ((p2.weight * 3) * p2.face);
this["smoke" + smokecount]._rotation = 20 - random(40);
}
if (random(2) == 1) {
this["smoke" + smokecount]._xscale = this["smoke" + smokecount]._xscale * -1;
}
}
}
function startmatch() {
_root.fighting = 1;
}
function setcolors() {
p1.gotoAndStop(_root.stagenum);
p2.gotoAndStop(_root.stagenum);
p3.gotoAndStop(_root.stagenum);
p4.gotoAndStop(_root.stagenum);
s1.gotoAndStop(_root.stagenum);
s2.gotoAndStop(_root.stagenum);
s3.gotoAndStop(_root.stagenum);
s4.gotoAndStop(_root.stagenum);
rodapeople.gotoAndStop(_root.stagenum);
rodapeople.player.play();
rodapeople.players.play();
if ((_root.p1charnum == _root.p2charnum) or (_root.p1charnum == _root.p4charnum)) {
nextFrame();
}
if ((_root.p3charnum == _root.p2charnum) or (_root.p3charnum == _root.p4charnum)) {
nextFrame();
}
}
function setmatch() {
p1.switchMove = 0;
p2.switchMove = 0;
p1.dohit = 0;
p2.dohit = 0;
p1.doblock = 0;
p2.doblock = 0;
_root.setInputWindow();
_root.animateOK = 1;
_root.bottlePause = 0;
_root.stagelineready = 10;
_root.Cmusicvolume = _root.Cmusicvolume2;
if (((_root.Cbgpeople == 0) || (_root.gamemode == 6)) || (_root.paigeLevel)) {
_root.players.rodapeople._visible = false;
bg.img.scroller.ground.groundart._visible = false;
} else {
_root.players.rodapeople._visible = true;
bg.img.scroller.ground.groundart._visible = true;
}
_root.gotime = 1;
_xscale = 80;
_yscale = _xscale;
_x = 160;
_y = 120;
if (p1.absself == 3) {
p1._name = "pname";
p3._name = "p1";
pname._name = "p3";
s1._name = "pname";
s3._name = "s1";
pname._name = "s3";
}
if (p2.absself == 4) {
p2._name = "pname";
p4._name = "p2";
pname._name = "p4";
s2._name = "pname";
s4._name = "s2";
pname._name = "s4";
}
_root.p3xweight = 0;
_root.p4xweight = 0;
if (_root.miniGameMode) {
_root.miniPoints = 0;
if ((_root.miniGame == "speedko") || (_root.miniGame == "dribble")) {
_root.miniPoints = 60;
}
} else {
_root.miniPoints = "";
}
_root.switchdot1.gotoAndStop(2);
p1.switchOK = 0;
p2.switchOK = 0;
_root.switchdot2.gotoAndStop(2);
p1.stopsfxBurn();
p2.stopsfxBurn();
p1.venomburn._alpha = 0;
p2.venomburn._alpha = 0;
p3.venomburn._alpha = 0;
p4.venomburn._alpha = 0;
p1.gravity = 0;
p2.gravity = 0;
p3.gravity = 0;
p4.gravity = 0;
p1.forceNoAnimate = 0;
p2.forceNoAnimate = 0;
p3.forceNoAnimate = 0;
p4.forceNoAnimate = 0;
p1.hitStop = 0;
p2.hitStop = 0;
p3.hitStop = 0;
p4.hitStop = 0;
p1.gv = _root.stageline;
p2.gv = _root.stageline;
p3.gv = _root.stageline;
p4.gv = _root.stageline;
p1.poison = 0;
p2.poison = 0;
p3.poison = 0;
p4.poison = 0;
smokecount = 4100;
hypercount = 200;
hyper1.stop();
hyper2.stop();
hotpotwait = 1;
_root.hotpot = 0;
_root.p1hotfeet = 100;
_root.p2hotfeet = 100;
p1.absself = 1;
p2.absself = 2;
p3.absself = 3;
p4.absself = 4;
_root.defenseTutOn = 0;
_root.gooddance1 = "";
_root.gooddance2 = "";
p1.movenames(0);
p2.movenames(0);
p1.self = 1;
p2.self = 2;
p1.oself = 3;
p2.oself = 4;
p1.axelevel = 1;
p2.axelevel = 2;
p1.other = 2;
p2.other = 1;
p1.beenhit = 0;
p2.beenhit = 0;
p1.flyingfar = 0;
p2.flyingfar = 0;
p1.fallen = 0;
p2.fallen = 0;
p1.inair = 0;
p2.inair = 0;
p1.lm = 0;
p2.lm = 0;
p1.hopping = 0;
p2.hopping = 0;
p1.hyperfull = 0;
p2.hyperfull = 0;
p1.KO = 0;
p2.KO = 0;
p1.face = 1;
p2.face = -1;
p2.face = -1;
p1.hyper = 0;
p2.hyper = 0;
p1.stopcomp = 0;
p2.stopcomp = 0;
p3.self = 1;
p4.self = 2;
p3.oself = 1;
p4.oself = 2;
p3.axelevel = 1;
p4.axelevel = 2;
p3.other = 2;
p4.other = 1;
p3.beenhit = 0;
p4.beenhit = 0;
p3.fallen = 0;
p4.fallen = 0;
p3.inair = 0;
p4.inair = 0;
p3.lm = 0;
p4.lm = 0;
p3.hopping = 0;
p4.hopping = 0;
p3.KO = 0;
p4.KO = 0;
p3.face = 1;
p4.face = -1;
p4.face = -1;
p3.hyper = 0;
p4.hyper = 0;
p3.stopcomp = 0;
p4.stopcomp = 0;
_root.p1money = 0;
_root.p2money = 0;
p1._x = -35;
p2._x = 35;
p1._xscale = 100;
p2._xscale = 100;
p3._xscale = 100;
p4._xscale = 100;
s1._xscale = 100;
s2._xscale = 100;
s3._xscale = 100;
s4._xscale = 100;
p3._x = -100;
p4._x = 100;
s1._y = 86;
s2._y = 86;
s3._y = 86;
s4._y = 86;
if (_root.reverseShadows) {
s1._y = 81;
s2._y = 81;
s3._y = 81;
s4._y = 81;
}
s3._x = -100;
s4._x = 100;
p1._alpha = 100;
p2._alpha = 100;
p3._alpha = 100;
p4._alpha = 100;
s1._alpha = 100;
s2._alpha = 100;
s3._alpha = 100;
s4._alpha = 100;
if (_root.Cshadows == 0) {
s1._visible = false;
s2._visible = false;
s3._visible = false;
s4._visible = false;
} else if (_root.Cshadows == 1) {
s1._visible = true;
s2._visible = true;
s3._visible = true;
s4._visible = true;
}
p1go.gotoAndPlay(1);
p2go.gotoAndPlay(1);
p1.player.gotoAndStop("entry");
p1.player.player.gotoAndStop(p1.player._currentframe);
s1.shadow.gotoAndStop(p1.player._currentframe);
p2.player.gotoAndStop("entry");
p2.player.player.gotoAndStop(p2.player._currentframe);
s2.shadow.gotoAndStop(p2.player._currentframe);
p3.player.gotoAndStop("wait");
s3.shadow.gotoAndStop("wait");
p4.player.gotoAndStop("wait");
s4.shadow.gotoAndStop("wait");
if (_root.p1charnum == 23) {
s1.shadow._x = s1.shadow._x - 10;
s1.shadow._y = s1.shadow._y - 3;
}
if (_root.p2charnum == 23) {
s2.shadow._x = s2.shadow._x - 10;
s2.shadow._y = s2.shadow._y - 3;
}
if (_root.p3charnum == 23) {
s3.shadow._x = s3.shadow._x - 10;
s3.shadow._y = s3.shadow._y - 3;
}
if (_root.p4charnum == 23) {
s4.shadow._x = s4.shadow._x - 10;
s4.shadow._y = s4.shadow._y - 3;
}
_root.militime = 0;
_root.GameTime = _root.Croundtime * 30;
if ((_root.Croundtime < 4) && (_root.matchtype != 5)) {
_root.timeMC._visible = true;
_root.inf._visible = false;
_root.timeMC.gotoAndStop(_root.GameTime + 1);
} else {
_root.timeMC._visible = false;
_root.inf._visible = true;
}
_root.p1perfect = 1;
_root.p2perfect = 1;
_root.p1bar.pw1.gotoAndStop(1);
_root.p2bar.pw1.gotoAndStop(1);
_root.p1bar.pw1._xscale = 100;
_root.p1bar.pw2._xscale = 100;
_root.p1bar.pwb._xscale = 100;
_root.p2bar.pw1._xscale = 100;
_root.p2bar.pw2._xscale = 100;
_root.p2bar.pwb._xscale = 100;
_root.p1bar.axe._xscale = 100;
_root.p2bar.axe._xscale = 100;
_root.p1life = 100;
_root.p2life = 100;
_root.p3life = 100;
_root.p4life = 100;
_root.p1bar.hyperback._xscale = 0;
_root.p2bar.hyperback._xscale = 0;
if (_root.survivalmode) {
if (_root.matchType != 5) {
_root.timeMC._visible = false;
}
_root.p1life = (_root.p1endpower + 5) + ((100 - _root.p1endpower) / 3);
if (_root.p1life >= 100) {
_root.p1life = 100;
} else {
_root.p1bar.pw1.gotoAndStop(2);
_root.p1perfect = 0;
}
_root.p1bar.pw2._xscale = _root.p1life + ((100 - _root.p1life) / 3);
_root.p3life = (_root.p2endpower + 5) + ((100 - _root.p2endpower) / 3);
if (_root.p3life >= 100) {
_root.p3life = 100;
} else {
_root.p2bar.pw1.gotoAndStop(1);
_root.p2perfect = 0;
}
_root.p1bar.pwb._xscale = _root.p3life;
_root.p1bar.pwb2._xscale = _root.p3life + ((100 - _root.p3life) / 3);
}
if (_root.roundnum == 1) {
_root.p1bar.hyperbar._xscale = 100;
_root.p2bar.hyperbar._xscale = 100;
p1.hyperup(1);
p2.hyperup(1);
} else {
_root.p1bar.hyperbar._xscale = _root.p1hyperReserve;
_root.p2bar.hyperbar._xscale = _root.p2hyperReserve;
p1.hyperup(1);
p2.hyperup(1);
}
if (_root.mixedmatch or (_root.matchtype > 6)) {
_root.mixedmatch = 1;
_root.matchtype = random(6) + 1;
if (_root.survivalmode && (_root.matchtype == 5)) {
_root.Croundtime = 3;
_root.inf._visible = false;
}
}
if (_root.matchtype == 5) {
_root.timeMC._visible = false;
_root.inf._visible = false;
} else if ((!_root.survivalmode) && (_root.Croundtime < 4)) {
_root.timeMC._visible = true;
}
_root.matchtypedisplay.gotoAndStop(_root.matchtype);
if (_root.miniGameMode) {
_root.matchtypedisplay.gotoAndStop(_root.miniGame);
}
circle.gotoAndStop(1);
m1.gotoAndStop(1);
m2.gotoAndStop(1);
_root.dance1._visible = false;
_root.danceA1._visible = false;
_root.danceB1._visible = false;
_root.dance2._visible = false;
_root.danceA2._visible = false;
_root.danceB2._visible = false;
setupcount = 100;
if (_root.matchtype == 2) {
circle.gotoAndStop(2);
}
if (_root.matchtype == XXX) {
_root.dance1._visible = true;
_root.danceA1._visible = true;
_root.danceB1._visible = true;
_root.dance2._visible = true;
_root.danceA2._visible = true;
_root.danceB2._visible = true;
_root.gooddance1 = 0;
_root.gooddance2 = 0;
newdancemove(1);
newdancemove(1);
newdancemove(1);
newdancemove(2);
newdancemove(2);
newdancemove(2);
}
if (_root.matchtype == 4) {
m1.gotoAndStop(2);
m1._x = -190;
m1._y = 90;
m2.gotoAndStop(2);
m2._x = 190;
m2._y = 90;
}
if (_root.matchtype == 3) {
stones.gotoAndPlay(2);
ashes.gotoAndStop(_root.stagenum + 1);
smoke1.gotoAndPlay(2);
smoke2.gotoAndPlay(2);
} else {
setupcount = 100;
stones.gotoAndStop(1);
ashes.gotoAndStop(1);
}
if (_root.teamsize1 == 1) {
p3._visible = false;
s3._visible = false;
}
if (_root.teamsize2 == 1) {
p4._visible = false;
s4._visible = false;
}
if (_root.miniGame == "dribble") {
ballgravity = 0.4;
_root.ballStop = 0;
ball._x = 160;
ballyspeed = -11;
ballxspeed = -3.5;
s2._visible = false;
p2.player.gotoAndStop("nothing");
p2._x = 0;
} else if (_root.miniGame == "melon") {
melongravity = 0.4;
_root.melonStop1 = 0;
_root.melonStop2 = 0;
_root.melonStop3 = 0;
_root.melonStop4 = 0;
_root.melonStop5 = 0;
melon1.resetLife();
melon2.resetLife();
melon3.resetLife();
melon4.resetLife();
melon5.resetLife();
s2._visible = false;
p2.player.gotoAndStop("nothing");
p2._x = 0;
}
_root.setwins();
_root.fighting = 1;
startcontrol();
}
function stopcontrol1() {
p1.up = x;
p1.down = x;
p1.forward = x;
p1.back = x;
p1.bkick = x;
p1.fkick = x;
p1.bpunch = x;
p1.fpunch = x;
p1.stopcomp = 1;
p1.compudmotion(0, 0);
p1.compfbmotion(0, 0);
p1.compmoves(0, 0, 0, 0);
}
function stopcontrol2() {
p2.up = x;
p2.down = x;
p2.forward = x;
p2.back = x;
p2.bkick = x;
p2.fkick = x;
p2.bpunch = x;
p2.fpunch = x;
p2.stopcomp = 1;
p2.compudmotion(0, 0);
p2.compfbmotion(0, 0);
p2.compmoves(0, 0, 0, 0);
}
function startcontrol() {
startcontrol1();
startcontrol2();
if (_root.coop == 1) {
if (p1.absself == 1) {
startcontrol1();
} else if (p1.absself == 3) {
startcontrol1tag();
}
}
}
function startcontrol1() {
p1.up = _root.Cp1u;
p1.down = _root.Cp1d;
p1.forward = _root.Cp1f;
p1.back = _root.Cp1b;
p1.bkick = _root.Cp1bk;
p1.fkick = _root.Cp1fk;
p1.bpunch = _root.Cp1bp;
p1.fpunch = _root.Cp1fp;
p1.stopcomp = 0;
p1.face = 1;
if (p1.face == -1) {
p1.forward = _root.Cp1b;
p1.back = _root.Cp1f;
}
}
function startcontrol2() {
p2.up = _root.Cp2u;
p2.down = _root.Cp2d;
p2.forward = _root.Cp2f;
p2.back = _root.Cp2b;
p2.bkick = _root.Cp2bk;
p2.fkick = _root.Cp2fk;
p2.bpunch = _root.Cp2bp;
p2.fpunch = _root.Cp2fp;
p2.stopcomp = 0;
p2.face = -1;
if (p2.face == 1) {
p2.forward = _root.Cp2b;
p2.back = _root.Cp2f;
}
}
function startcontrol3() {
p1.up = _root.Cp3u;
p1.down = _root.Cp3d;
p1.forward = _root.Cp3b;
p1.back = _root.Cp3f;
p1.bkick = _root.Cp3bk;
p1.fkick = _root.Cp3fk;
p1.bpunch = _root.Cp3bp;
p1.fpunch = _root.Cp3fp;
p1.stopcomp = 0;
p1.face = 1;
if (p1.face == -1) {
p1.forward = _root.Cp3b;
p1.back = _root.Cp3f;
}
}
function startcontrol4() {
p2.up = _root.Cp4u;
p2.down = _root.Cp4d;
p2.forward = _root.Cp4f;
p2.back = _root.Cp4b;
p2.bkick = _root.Cp4bk;
p2.fkick = _root.Cp4fk;
p2.bpunch = _root.Cp4bp;
p2.fpunch = _root.Cp4fp;
p2.stopcomp = 0;
p2.face = -1;
if (p2.face == 1) {
p2.forward = _root.Cp4b;
p2.back = _root.Cp4f;
}
}
function startcontrol1tag() {
p1.up = _root.Cp2u;
p1.down = _root.Cp2d;
p1.forward = _root.Cp2b;
p1.back = _root.Cp2f;
p1.bkick = _root.Cp2bk;
p1.fkick = _root.Cp2fk;
p1.bpunch = _root.Cp2bp;
p1.fpunch = _root.Cp2fp;
p1.stopcomp = 0;
p1.face = 1;
if (p1.face == -1) {
p1.forward = _root.Cp2f;
p1.back = _root.Cp2b;
}
}
function stopcontrol() {
stopcontrol1();
stopcontrol2();
}
stop();
if ((_root.p2charnum == _root.p1charnum) or (_root.p2charnum == _root.p3charnum)) {
gotoAndStop (2);
}
if ((_root.p4charnum == _root.p1charnum) or (_root.p4charnum == _root.p3charnum)) {
gotoAndStop (3);
}
if (((_root.p4charnum == _root.p1charnum) or (_root.p4charnum == _root.p3charnum)) && ((_root.p2charnum == _root.p1charnum) or (_root.p2charnum == _root.p3charnum))) {
gotoAndStop (4);
}
function faceCheck1() {
if (!((_root.miniGame == "dribble") || (_root.miniGame == "melon"))) {
if ((p1._x > p2._x) && (p1.face == -1)) {
return(1);
}
if ((p1._x < p2._x) && (p1.face == 1)) {
return(1);
}
return(0);
}
}
function faceCheck2() {
if (!((_root.miniGame == "dribble") || (_root.miniGame == "melon"))) {
if ((p2._x > p1._x) && (p2.face == -1)) {
return(1);
}
if ((p2._x < p1._x) && (p2.face == 1)) {
return(1);
}
return(0);
}
}
function en() {
if (_root.streamVersusNum < 32) {
if (streamLoadWait > 0) {
streamLoadWait = streamLoadWait - 1;
}
if (streamLoadWait <= 0) {
streamProgress = _root.streamer.getBytesLoaded() / _root.streamer.getBytesTotal();
if ((streamProgress >= 1) && (_root.streamer.getBytesTotal() > 5)) {
_root.streamVersusNum = _root.streamVersusNum + 1;
if (_root.streamVersusNum == 13) {
_root.streamVersusNum = 14;
}
streamLoadWait = 10;
_root.streamNextCharacter(_root.streamVersusNum, 1);
}
}
}
if (p1.intime < _root.tagtimewait) {
p1.intime = p1.intime + 1;
}
if (p2.intime < _root.tagtimewait) {
p2.intime = p2.intime + 1;
}
if (_root.gameMode == 6) {
p1bar.pw1._xscale = 100;
}
if (_root.miniGameMode || (_root.gamemode == 6)) {
if ((((_root.miniGame == "combo") || (_root.miniGame == "chain")) || (_root.miniGame == "target")) || (_root.gamemode == 6)) {
if (p1.addcombo == 0) {
if (_root.p2bar.pw1._xscale < 100) {
_root.saveDummy = _root.saveDummy + 1;
if (_root.saveDummy > 30) {
_root.p2bar.pw1._xscale = _root.p2bar.pw1._xscale + 5;
}
if (_root.p2bar.pw1._xscale > 100) {
_root.p2bar.pw1._xscale = 100;
}
}
if ((_root.p1bar.axe._xscale < 100) || (_root.p1bar.hyperbar._xscale < 100)) {
_root.saveAxe = _root.saveAxe + 1;
if (_root.saveAxe > 30) {
p1.tire(-5);
p1.hyperup(5);
}
}
}
}
}
if (_root.gotime) {
_root.militime = _root.militime + 1;
if (((_root.militime > 40) && (_root.GameTime != 0)) && ((_root.Croundtime != 4) or (_root.matchtype == 5))) {
_root.GameTime = _root.GameTime - 1;
_root.timeMC.gotoAndStop(_root.GameTime + 1);
_root.showtime = int(_root.GameTime / 10);
_root.showtime2 = _root.GameTime - (_root.showtime * 10);
if (_root.GameTime < 1) {
if (_root.matchtype == 5) {
hotpotexp = 0;
p1.stopsfxBurn();
p2.stopsfxBurn();
if (_root.hotpot == 1) {
p2.winpoints();
p2.fireballSpark = 1;
p2.hitsparksf(10, 0, 1);
p2.fireballSpark = 0;
p1.sfx("ex1");
} else {
p1.winpoints();
p1.fireballSpark = 1;
p1.hitsparksf(10, 0, 1);
p1.fireballSpark = 0;
p2.sfx("ex1");
}
} else {
if (_root.timeuptext._currentframe == 1) {
_root.timeuptext.gotoAndPlay(2);
_root.timeuptext.type.gotoAndStop(1);
_root.announcerfx("TimeOver.wav");
}
if (_root.p2bar.pw1._xscale > _root.p1bar.pw1._xscale) {
p2.winpoints();
}
if (_root.p1bar.pw1._xscale >= _root.p2bar.pw1._xscale) {
p1.winpoints();
}
}
}
_root.militime = 0;
}
}
if ((_root.miniGame == "speedko") || (_root.miniGame == "dribble")) {
_root.miniPoints = _root.GameTime + (int(_root.militime / 4) / 10);
}
if (_root.players.p3.player.player._currentframe != 1485) {
_root.players.p3.player.player.gotoAndStop(1485);
}
if (_root.players.p4.player.player._currentframe != 1485) {
_root.players.p4.player.player.gotoAndStop(1485);
}
if ((_root.Croundtime == 4) || ((_root.hotpot == 0) && (_root.matchtype == 5))) {
_root.timeMC.gotoAndStop(10);
}
if (_root.bottlePause > 0) {
_root.bottlePause = _root.bottlePause - 1;
} else if (_root.bottlePause < 0) {
_root.bottlePause = 0;
}
_root.difx = Math.abs(p1._x - p2._x);
if (_root.miniGame == "dribble") {
if (_root.ballStop == 0) {
ball.moveHex();
ballyspeed = ballyspeed + ballgravity;
ball.ball._y = ball.ball._y + (ballyspeed * _root.speed);
ball._x = ball._x + (ballxspeed * _root.speed);
if (ball.ball._y > 0) {
ball.hexr = (ballxspeed * 10) / ballyspeed;
if (ball.hexr > 15) {
ball.hexr = 15;
} else if (ball.hexr < -15) {
ball.hexr = -15;
}
p2.beenhitBlock = 0;
p2.inair = 0;
p2.beenhit = 0;
p1.ec();
ball.ball._y = 0;
if (ballyspeed > 2) {
if (random(2) == 1) {
ball.playsound("th1");
} else {
ball.playsound("th2");
}
} else {
ball.ball.hex._x = 0;
ball.ball.hex._y = 0;
ball.hexx = 0;
ball.hexy = 0;
}
ballyspeed = ballyspeed * -0.95;
}
if (Math.abs(ball._x) > 180) {
ball.playsound("th1");
if (ball._x > 0) {
ball._x = 180;
} else {
ball._x = -180;
}
ballxspeed = ballxspeed * -0.95;
}
ballshadowsize = ball.ball._y / 3;
ball.shadow._xscale = 100 + ballshadowsize;
ball.shadow._yscale = 100 + ballshadowsize;
ball.shadow._alpha = 100 + ballshadowsize;
} else {
_root.ballStop = _root.ballStop - 1;
}
}
if (_root.miniGame == "melon") {
melonCount = 1;
while (melonCount <= 5) {
if (_root["melonStop" + melonCount] == 0) {
this["melon" + melonCount].moveHex();
this["melon" + melonCount].yspeed = this["melon" + melonCount].yspeed + melongravity;
this["melon" + melonCount].ball._y = this["melon" + melonCount].ball._y + (this["melon" + melonCount].yspeed * _root.speed);
this["melon" + melonCount]._x = this["melon" + melonCount]._x + (this["melon" + melonCount].xspeed * _root.speed);
if (this["melon" + melonCount].ball._y > 0) {
this["melon" + melonCount].hexr = (this["melon" + melonCount].xspeed * 20) / (this["melon" + melonCount].yspeed / _root.speed);
if (this["melon" + melonCount].hexr > 15) {
this["melon" + melonCount].hexr = 15;
} else if (this["melon" + melonCount].hexr < -15) {
this["melon" + melonCount].hexr = -15;
}
this["melon" + melonCount].ball._y = -1;
if (this["melon" + melonCount].yspeed > 2) {
if (random(2) == 1) {
this["melon" + melonCount].playsound("th1");
} else {
this["melon" + melonCount].playsound("th2");
}
} else {
this["melon" + melonCount].ball.hex._x = 0;
this["melon" + melonCount].ball.hex._y = 0;
this["melon" + melonCount].hexx = 0;
this["melon" + melonCount].hexy = 0;
}
this["melon" + melonCount].yspeed = this["melon" + melonCount].yspeed * -0.95;
}
if (this["melon" + melonCount]._x < -180) {
if (this["melon" + melonCount].xspeed < 0) {
this["melon" + melonCount]._x = -180;
this["melon" + melonCount].xspeed = this["melon" + melonCount].xspeed * -0.95;
}
} else if (this["melon" + melonCount]._x > 180) {
if (this["melon" + melonCount].xspeed > 0) {
this["melon" + melonCount]._x = 180;
this["melon" + melonCount].xspeed = this["melon" + melonCount].xspeed * -0.95;
}
}
this["melon" + melonCount].shadowsize = this["melon" + melonCount].ball._y / 3;
this["melon" + melonCount].shadow._xscale = 100 + this["melon" + melonCount].shadowsize;
this["melon" + melonCount].shadow._yscale = 100 + this["melon" + melonCount].shadowsize;
this["melon" + melonCount].shadow._alpha = 100 + this["melon" + melonCount].shadowsize;
} else {
_root["melonStop" + melonCount] = _root["melonStop" + melonCount] - 1;
}
melonCount = melonCount + 1;
}
}
if ((((((p1.v1 == 0) && (p1.v2 == 0)) && (p1.v3 == 0)) && (p1.v4 == 0)) && (p1.v5 == 0)) && (!p1.inair)) {
_root.p1frontedgelimit = 175;
} else {
_root.p1frontedgelimit = 145;
}
if ((((((p2.v1 == 0) && (p2.v2 == 0)) && (p2.v3 == 0)) && (p2.v4 == 0)) && (p2.v5 == 0)) && (!p2.inair)) {
_root.p2frontedgelimit = 175;
} else {
_root.p2frontedgelimit = 145;
}
if (((p1.face == 1) && ((p1._x > _root.p1frontedgelimit) || (p1._x < (-_root.backedgelimit)))) || ((p1.face == -1) && ((p1._x < (-_root.frontedgelimit)) || (p1._x > _root.backedgelimit)))) {
if ((_root.matchtype != 6) || (p1.KO == 0)) {
if (p1._x > 0) {
if (p1.face == 1) {
p1._x = _root.p1frontedgelimit;
} else {
p1._x = _root.backedgelimit;
}
if (((((_root.matchtype == 4) && (p1.inair == 0)) && (p1.beenhit == 0)) && (p1.fallen == 0)) && (_root.p1money == 0)) {
p1.sfx("grabsw");
_root.p1money = 1;
m2.gotoAndStop(3);
}
} else {
if (p1.face == -1) {
p1._x = -_root.p1frontedgelimit;
} else {
p1._x = -_root.backedgelimit;
}
if ((((_root.matchtype == 4) && (_root.p1money)) && (p1.inair == 0)) && (_root.p2money == 0)) {
p1.winpoints();
}
}
}
if (p1.lm && (p1.wallhit == 0)) {
if (p1.xf > 3) {
if (p1._x > 0) {
_root.wallbouncemagdir = 1;
} else {
_root.wallbouncemagdir = -1;
}
_root.wallbouncemagnitude = (p1.xf / 3) * p1.weight;
p1.sfx("land");
p1.wallhit = 1;
if (_root.matchtype != 6) {
if ((Math.abs(p1.xf) > 5) && (!(p2.specialgrabbing or p2.grabAttacking))) {
p1.player.gotoAndStop("hbsa");
if (p1.gravity >= 2) {
p1.gravity = p1.gravity - 2;
}
p2.hurt(Math.abs(p1.xf / 2));
p2.showCombo();
p2.hitsparksf(Math.abs(p1.xf / 2), 0, 0, 0, 1);
p1.xf = p1.xf / 4;
p1.hitdir = p1.hitdir * -1;
} else {
p1.xf = 0;
}
}
}
}
if (_root.matchtype == 6) {
if ((p1.player._currentframe >= 800) && (p1.player._currentframe <= 1010)) {
p2.winpoints();
if (_root.timeuptext._currentframe == 1) {
_root.timeuptext.gotoAndPlay(2);
_root.timeuptext.type.gotoAndStop(2);
_root.announcerfx("RingOut.wav");
}
}
}
}
if (((p2.face == 1) && ((p2._x > _root.p2frontedgelimit) || (p2._x < (-_root.backedgelimit)))) || ((p2.face == -1) && ((p2._x < (-_root.frontedgelimit)) || (p2._x > _root.backedgelimit)))) {
if ((_root.matchtype != 6) or (p2.KO == 0)) {
if (p2._x > 0) {
if (p2.face == 1) {
p2._x = _root.p2frontedgelimit;
} else {
p2._x = _root.backedgelimit;
}
if ((((_root.matchtype == 4) && (_root.p2money)) && (p2.inair == 0)) && (_root.p1money == 0)) {
p2.winpoints();
}
} else {
if (p2.face == -1) {
p2._x = -_root.p2frontedgelimit;
} else {
p2._x = -_root.backedgelimit;
}
if (((((_root.matchtype == 4) && (p2.inair == 0)) && (p2.beenhit == 0)) && (p2.fallen == 0)) && (_root.p2money == 0)) {
p2.sfx("grabsw");
_root.p2money = 1;
m1.gotoAndStop(3);
}
}
}
if (p2.lm && (p2.wallhit == 0)) {
if (p2.xf > 3) {
if (p2._x > 0) {
_root.wallbouncemagdir = 1;
} else {
_root.wallbouncemagdir = -1;
}
_root.wallbouncemagnitude = (p2.xf / 3) * p2.weight;
p2.sfx("land");
p2.wallhit = 1;
if (_root.matchtype != 6) {
if ((Math.abs(p2.xf) > 5) && (!(p1.specialgrabbing or p1.grabAttacking))) {
p2.player.gotoAndStop("hbsa");
if (p2.gravity >= 2) {
p2.gravity = p2.gravity - 2;
}
p1.hurt(Math.abs(p2.xf / 2));
p1.showCombo();
p1.hitsparksf(Math.abs(p2.xf / 2), 0, 0, 0, 1);
p2.xf = p2.xf / 4;
p2.hitdir = p2.hitdir * -1;
} else {
p2.xf = 0;
}
}
}
}
if (_root.matchtype == 6) {
if ((p2.player._currentframe >= 800) && (p2.player._currentframe <= 1010)) {
p1.winpoints();
if (_root.timeuptext._currentframe == 1) {
_root.timeuptext.gotoAndPlay(2);
_root.timeuptext.type.gotoAndStop(2);
}
}
}
}
if (_root.Cscrolling == 1) {
p1._x = p1._x - p1stand;
p1stand = int((_x - 160) * 2);
p1._x = p1._x + p1stand;
p2._x = p2._x - p2stand;
p2stand = int((_x - 160) * 2);
p2._x = p2._x + p2stand;
if (_root.miniGameMode) {
if (_root.miniGame == "melon") {
melon1._x = melon1._x - melon1stand;
melon1stand = int((_x - 160) * 2);
melon1._x = melon1._x + melon1stand;
melon2._x = melon2._x - melon2stand;
melon2stand = int((_x - 160) * 2);
melon2._x = melon2._x + melon2stand;
melon3._x = melon3._x - melon3stand;
melon3stand = int((_x - 160) * 2);
melon3._x = melon3._x + melon3stand;
melon4._x = melon4._x - melon4stand;
melon4stand = int((_x - 160) * 2);
melon4._x = melon4._x + melon4stand;
melon5._x = melon5._x - melon5stand;
melon5stand = int((_x - 160) * 2);
melon5._x = melon5._x + melon5stand;
} else if (_root.miniGame == "dribble") {
ball._x = ball._x - ballstand;
ballstand = int((_x - 160) * 2);
ball._x = ball._x + ballstand;
}
}
if (_root.difx > 250) {
if (((_xscale > 80) && (p1.flyingfar == 0)) && (p2.flyingfar == 0)) {
}
} else {
if (((_xscale < 100) && (p1.flyingfar == 0)) && (p2.flyingfar == 0)) {
_xscale = (_xscale + 2);
_yscale = _xscale;
}
if (((_xscale > 100) && (p1.flyingfar == 0)) && (p2.flyingfar == 0)) {
_xscale = (_xscale - flyzoomoutstep);
if (_xscale < 100) {
_xscale = 100;
}
_yscale = _xscale;
}
}
p1groupx = p1._x - p1stand;
p2groupx = p2._x - p2stand;
if ((_root.p3xweight > 0) or (_root.p4xweight > 0)) {
_root.p1xweight = _root.fadespeed - _root.p3xweight;
_root.p2xweight = _root.fadespeed - _root.p4xweight;
p1groupx = ((p1._x - p1stand) * (_root.p1xweight / _root.fadespeed)) + (p3._x * (_root.p3xweight / _root.fadespeed));
p2groupx = ((p2._x - p2stand) * (_root.p2xweight / _root.fadespeed)) + (p4._x * (_root.p4xweight / _root.fadespeed));
if (_root.p3xweight > 0) {
_root.p3xweight = _root.p3xweight - 1;
}
if (_root.p4xweight > 0) {
_root.p4xweight = _root.p4xweight - 1;
}
}
xscroll = (160 + (_root.wallbouncemagnitude * _root.wallbouncemagdir)) - ((p1groupx + p2groupx) / xgroundfactor);
if (p1.lm && (p1.xf > 5)) {
}
if (p1.flyingfar) {
xscroll = 160 - p1._x;
if (p1.flystart == 1) {
flyav = 10;
p1.sfx("lowswish");
p1.flystart = 0;
}
if (p1.turn) {
flyav = flyav - 1;
xscroll = 160 - (((p1._x * flyav) + (p2._x * (10 - flyav))) / 20);
}
if ((_xscale < flyzoom) && (p1.turn == 0)) {
}
}
if (p2.lm && (p2.xf > 5)) {
}
if (p2.flyingfar) {
xscroll = 160 - p2._x;
if (p2.flystart == 1) {
flyav = 10;
p2.sfx("lowswish");
p2.flystart = 0;
}
if (p2.turn) {
flyav = flyav - 1;
xscroll = 160 - (((p2._x * flyav) + (p1._x * (10 - flyav))) / 20);
}
if ((_xscale < flyzoom) && (p2.turn == 0)) {
}
}
_root.zoomfactor = (_xscale - 80) / 20;
poslim = 160 + (_root.zoomfactor * 40);
neglim = 160 - (_root.zoomfactor * 40);
uplim = (120 + (_root.zoomfactor * 60)) + (24 - (24 * _root.zoomfactor));
if (yscrollOK) {
yscrollnew = (120 + (24 - (24 * _root.zoomfactor))) - (((p1._y - p1.gv) + (p2._y - p2.gv)) / 4);
yscroll = (yscrollnew + yscroll) / 2;
} else {
yscroll = (yscroll + 120) / 2;
}
if (_root.bouncemagnitude) {
yscroll = yscroll + (_root.bouncemagnitude * _root.bouncemagdir);
}
if (xscroll > poslim) {
_x = poslim;
} else if (xscroll < neglim) {
_x = neglim;
} else {
_x = int(xscroll);
}
if (yscroll > uplim) {
_y = uplim;
} else {
_y = int(yscroll);
}
bg.img.scroller.ground.gotoAndStop(int(((_root.players._x - 160) * 2) + 81));
bg.img.scroller.ground._height = 70 + (_root.players._y - 115);
rodapeople._x = (_x - 160) * _root.rodaABSxfactor;
rodapeople._y = -2 + ((_y - 120) * _root.rodaABSyfactor);
roda2._x = (_x - 160) * _root.rodaxfactor;
roda2._y = -2 + ((_y - 120) * _root.rodayfactor);
bg.img.scroller.rodaBack._x = (-(_x - 160)) * _root.rodaBackxfactor;
p3._x = ((_x - 160) * 1.3) + _root.p3xsit;
p3._y = 40 + ((_y - 120) * 0.55);
p4._x = ((_x - 160) * 1.3) + _root.p4xsit;
p4._y = 40 + ((_y - 120) * 0.55);
p1prevy = p1._y;
p2prevy = p2._y;
if (_root.stagelineready < 0) {
_root.stageline = 44 + ((_y - 120) * 0.75);
p1.gv = _root.stageline;
p2.gv = _root.stageline;
p1._y = p1._y - p1ground;
p1ground = _root.stageline - 40;
p1._y = p1._y + p1ground;
p2._y = p2._y - p2ground;
p2ground = _root.stageline - 40;
p2._y = p2._y + p2ground;
if (p1.inair == 0) {
s1._y = p1._y + shadowy;
if ((_root.p1charnum == 23) && (_root.reverseShadows)) {
s1._y = s1._y + 5;
}
}
if (p2.inair == 0) {
s2._y = p2._y + shadowy;
if ((_root.p2charnum == 23) && (_root.reverseShadows)) {
s2._y = s2._y + 5;
}
}
}
}
circle._x = (_x - 160) * 1.8;
circle._y = 96.5 + ((_y - 120) * 0.55);
stones._x = (_x - 160) * 1.8;
stones._y = 99.5 + ((_y - 120) * 0.55);
ashes._x = (_x - 160) * 1.8;
ashes._y = 102.5 + ((_y - 120) * 0.55);
if (_root.Cscrolling == 0) {
_x = 160;
_y = 120;
_xscale = 100;
_yscale = _xscale;
}
if (_root.reverseShadows) {
partnershadowy = 40;
shadowy = 52;
} else {
partnershadowy = 45;
shadowy = 51;
}
s3._y = p3._y + partnershadowy;
s4._y = p3._y + partnershadowy;
s3._x = p3._x;
s4._x = p4._x;
_root.stagelineready = _root.stagelineready - 1;
while (p1.player.hb.hitTest(p2.player.hb) && (!(p1.grabAttacking || (p2.grabAttacking)))) {
_root.bumping = 1;
if (p1._x > p2._x) {
p1._x = p1._x + 1;
p2._x = p2._x - 1;
} else {
p1._x = p1._x - 1;
p2._x = p2._x + 1;
}
}
_root.bumping = 0;
p1.tmo = 0;
p2.tmo = 0;
if ((p1.xf > 0) && (!p1.hitStop)) {
p1.hf();
}
if ((p1.bounceforce > 0) && (!p1.hitStop)) {
}
if ((p2.xf > 0) && (!p2.hitStop)) {
p2.hf();
}
if ((p2.bounceforce > 0) && (!p2.hitStop)) {
}
_root.p1bar.pwback._alpha = (50 - _root.p1bar.pw1._xscale) * 2;
if (_root.p1bar.pw1._xscale < _root.p1bar.pw2._xscale) {
_root.p1bar.pw2._xscale = _root.p1bar.pw2._xscale - 0.15;
}
_root.p2bar.pwback._alpha = (50 - _root.p2bar.pw1._xscale) * 2;
if (_root.p2bar.pw1._xscale < _root.p2bar.pw2._xscale) {
_root.p2bar.pw2._xscale = _root.p2bar.pw2._xscale - 0.15;
}
if (_root.p1bar.pwb._xscale < _root.p1bar.pwb2._xscale) {
_root.p1bar.pwb._xscale = _root.p1bar.pwb._xscale + 0.1;
_root[("p" + p3.absself) + "life"] = _root[("p" + p3.absself) + "life"] + 0.1;
}
if (_root.p2bar.pwb._xscale < _root.p2bar.pwb2._xscale) {
_root.p2bar.pwb._xscale = _root.p2bar.pwb._xscale + 0.1;
_root[("p" + p4.absself) + "life"] = _root[("p" + p4.absself) + "life"] + 0.1;
}
if (_root.p1bar.axe._xscale < 100) {
_root.p1bar.axe._xscale = _root.p1bar.axe._xscale + (0.1 + (p1.axst / 2));
if (_root.axePlus1 > 0) {
_root.p1bar.axe._xscale = _root.p1bar.axe._xscale + ((p1.axst / 2) * (_root.axePlus1 * 0.2));
}
if (_root.teamsize1 == 1) {
_root.p1bar.axe._xscale = _root.p1bar.axe._xscale + (0.1 + (p1.axst / 4));
}
if (_root.speedCheat) {
_root.p1bar.axe._xscale = _root.p1bar.axe._xscale + 0.25;
}
if (_root.p1bar.axe._xscale > 100) {
_root.p1bar.axe._xscale = 100;
}
p1.axelevel = int((100 - _root.p1bar.axe._xscale) / 10);
_root.p1bar.axeback._alpha = (p1.axelevel - 5) * 20;
if (_root.p1bar.axe._xscale < 25) {
_root.p1bar.axe.gotoAndStop(2);
} else {
_root.p1bar.axe.gotoAndStop(1);
}
}
if (_root.p2bar.axe._xscale < 100) {
_root.p2bar.axe._xscale = _root.p2bar.axe._xscale + (0.1 + (p2.axst / 2));
if (_root.axePlus2 > 0) {
_root.p2bar.axe._xscale = _root.p2bar.axe._xscale + ((p2.axst / 2) * (_root.axePlus2 * 0.2));
}
if (_root.teamsize2 == 1) {
_root.p2bar.axe._xscale = _root.p2bar.axe._xscale + (0.1 + (p2.axst / 4));
}
if (_root.speedCheat) {
_root.p2bar.axe._xscale = _root.p2bar.axe._xscale + 0.25;
}
if (_root.p2bar.axe._xscale > 100) {
_root.p2bar.axe._xscale = 100;
}
p2.axelevel = int((100 - _root.p2bar.axe._xscale) / 10);
_root.p2bar.axeback._alpha = (p2.axelevel - 5) * 20;
if (_root.p2bar.axe._xscale < 25) {
_root.p2bar.axe.gotoAndStop(2);
} else {
_root.p2bar.axe.gotoAndStop(1);
}
}
if (_root.healthCheat) {
if (((_root.p1bar.pw1._xscale < 100) && (_root.p1bar.pw1._xscale > 0)) && (p2.addcombo == 0)) {
_root.p1bar.pw1._xscale = _root.p1bar.pw1._xscale + 0.1;
}
if (((_root.p2bar.pw1._xscale < 100) && (_root.p2bar.pw1._xscale > 0)) && (p1.addcombo == 0)) {
_root.p2bar.pw1._xscale = _root.p2bar.pw1._xscale + 0.1;
}
}
if (_root.hyperCheat) {
if (((_root.p1bar.hyperbar._xscale < 100) && (!p1.hyper)) && (p2.addcombo == 0)) {
_root.p1bar.hyperbar._xscale = _root.p1bar.hyperbar._xscale + 0.25;
}
if (((_root.p2bar.hyperbar._xscale < 100) && (!p2.hyper)) && (p1.addcombo == 0)) {
_root.p2bar.hyperbar._xscale = _root.p2bar.hyperbar._xscale + 0.25;
}
}
if ((p1.venom > 0) && (_root.p1bar.pw1._xscale > 0)) {
p1.venom = p1.venom - 0.05;
p1.venomburn._visible = true;
p1.venomburn._alpha = p1.venom * 8;
_root.p1bar.pw1._xscale = _root.p1bar.pw1._xscale - 0.025;
_root.p1perfect = 0;
_root.p1bar.pw2._xscale = _root.p1bar.pw1._xscale;
} else {
p1.venomburn._visible = false;
}
if ((p2.venom > 0) && (_root.p2bar.pw1._xscale > 0)) {
p2.venom = p2.venom - 0.05;
p2.venomburn._visible = true;
p2.venomburn._alpha = p2.venom * 8;
_root.p2bar.pw1._xscale = _root.p2bar.pw1._xscale - 0.025;
_root.p2perfect = 0;
_root.p2bar.pw2._xscale = _root.p2bar.pw1._xscale;
} else {
p2.venomburn._visible = false;
}
if ((p1.hyper == 0) && (p1._alpha < 100)) {
p1._alpha = p1._alpha + 5;
s1._alpha = s1._alpha + 5;
if (p1.alpha > 100) {
p1._alpha = 100;
s1._alpha = 100;
}
}
if ((p1.hyper == 4) && (p1._alpha > 25)) {
p1._alpha = p1._alpha - 5;
s1._alpha = s1._alpha - 5;
if (p1._alpha < 5) {
p1._alpha = 5;
s1._alpha = 5;
}
}
if ((p2.hyper == 0) && (p2._alpha < 100)) {
p2._alpha = p2._alpha + 5;
s2._alpha = s2._alpha + 5;
if (p2.alpha > 100) {
p2._alpha = 100;
s2._alpha = 100;
}
}
if ((p2.hyper == 4) && (p2._alpha > 25)) {
p2._alpha = p2._alpha - 5;
s2._alpha = s2._alpha - 5;
if (p2._alpha < 5) {
p2._alpha = 5;
s2._alpha = 5;
}
}
if (_root.p1bar.hyperbar._xscale >= 0) {
p1.hyperout = p1.hyperout - 1;
if (p1.hyperout <= 0) {
_root.p1bar.hyperalarm._visible = false;
}
}
if (_root.p2bar.hyperbar._xscale >= 0) {
p2.hyperout = p2.hyperout - 1;
if (p2.hyperout <= 0) {
_root.p2bar.hyperalarm._visible = false;
}
}
if (_root.p1bar.hyperback._xscale < p1.hyperStop) {
p1.hyperoff();
p1.hyperout = 120;
_root.p1bar.hyperalarm._alpha = 100;
} else if (p1.hyper > 0) {
if (p1.hyperfull == 0) {
_root.p1bar.hyperback._xscale = _root.p1bar.hyperback._xscale + ((addhyper * _root.hyperplus1) / 4);
_root.p1bar.hyperback._xscale = _root.p1bar.hyperback._xscale - 1;
if (p1.hyper == 1) {
_root.p1bar.hyperback._xscale = _root.p1bar.hyperback._xscale - 0.5;
} else if (p1.hyper == 2) {
_root.p1bar.hyperback._xscale = _root.p1bar.hyperback._xscale + 0.25;
} else if (p1.hyper == 3) {
_root.p1bar.hyperback._xscale = _root.p1bar.hyperback._xscale - 0.25;
} else if (p1.hyper == 4) {
_root.p1bar.hyperback._xscale = _root.p1bar.hyperback._xscale + 0;
} else if (p1.hyper == 5) {
_root.p1bar.hyperback._xscale = _root.p1bar.hyperback._xscale + 0.75;
} else if (((p1.hyper == 6) && (_root.p1bar.pw1._xscale < 100)) && (_root.p1bar.pw1._xscale > 0)) {
_root.p1bar.hyperback._xscale = _root.p1bar.hyperback._xscale + 0.5;
_root.p1bar.pw1._xscale = _root.p1bar.pw1._xscale + 0.1;
}
}
}
if (_root.p2bar.hyperback._xscale < p2.hyperStop) {
p2.hyperoff();
p2.hyperout = 120;
_root.p2bar.hyperalarm._alpha = 100;
} else if (p2.hyper > 0) {
if (p2.hyperfull == 0) {
_root.p2bar.hyperback._xscale = _root.p2bar.hyperback._xscale + ((addhyper * _root.hyperplus2) / 4);
_root.p2bar.hyperback._xscale = _root.p2bar.hyperback._xscale - 1;
if (p2.hyper == 1) {
_root.p2bar.hyperback._xscale = _root.p2bar.hyperback._xscale - 0.5;
} else if (p2.hyper == 2) {
_root.p2bar.hyperback._xscale = _root.p2bar.hyperback._xscale + 0.25;
} else if (p2.hyper == 3) {
_root.p2bar.hyperback._xscale = _root.p2bar.hyperback._xscale - 0.25;
} else if (p2.hyper == 4) {
_root.p2bar.hyperback._xscale = _root.p2bar.hyperback._xscale + 0;
} else if (p2.hyper == 5) {
_root.p2bar.hyperback._xscale = _root.p2bar.hyperback._xscale + 0.75;
} else if (((p2.hyper == 6) && (_root.p2bar.pw1._xscale < 100)) && (_root.p2bar.pw1._xscale > 0)) {
_root.p2bar.hyperback._xscale = _root.p2bar.hyperback._xscale + 0.5;
_root.p2bar.pw1._xscale = _root.p2bar.pw1._xscale + 0.1;
}
}
}
hypernumber1 = 1 + int(_root.p1bar.hyperbar._xscale / 33);
_root.p1bar.hyperbar.gotoAndStop(hypernumber1);
_root.p1bar.hyperoutline.gotoAndStop(hypernumber1);
_root.hypernumbers1.gotoAndStop(hypernumber1);
hypernumber2 = 1 + int(_root.p2bar.hyperbar._xscale / 33);
_root.p2bar.hyperbar.gotoAndStop(hypernumber2);
_root.p2bar.hyperoutline.gotoAndStop(hypernumber2);
_root.hypernumbers2.gotoAndStop(hypernumber2);
s1._x = p1._x;
s2._x = p2._x;
if (s1._xscale != p1._xscale) {
s1._xscale = p1._xscale;
}
if (s2._xscale != p2._xscale) {
s2._xscale = p2._xscale;
}
s3.shadow.gotoAndStop("wait");
s4.shadow.gotoAndStop("wait");
if (_root.matchtype == 2) {
if (((Math.abs(p1._x - circle._x) < (circle._width / 2)) && (Math.abs(p2._x - circle._x) > (circle._width / 2))) && (p1.beenhit == 0)) {
p1.hurtpoints(_root.Cpointspeed);
if (circle._currentframe != 3) {
circle.gotoAndStop(3);
}
} else if (((Math.abs(p2._x - circle._x) < (circle._width / 2)) && (Math.abs(p1._x - circle._x) > (circle._width / 2))) && (p2.beenhit == 0)) {
p2.hurtpoints(_root.Cpointspeed);
if (circle._currentframe != 4) {
circle.gotoAndStop(4);
}
} else {
circle.gotoAndStop(2);
}
}
if (_root.matchtype == 5) {
if (_root.hotpot == 1) {
if (hotpotwait != 0) {
newsmokep1();
hotpotwait = 0;
}
} else if (_root.hotpot == 2) {
if (hotpotwait != 0) {
newsmokep2();
hotpotwait = 0;
}
}
}
if (_root.matchtype == 3) {
if (((((p1.inair == 0) && (p1.hopping == 0)) && (p1._y == p1.gv)) && (Math.abs(p1._x - ashes._x) < 70)) && (p1.v2 or (p1.fallen == 1))) {
p2.hurtpoints(_root.Cpointspeed * 2);
if (!_root.p1hotfeet) {
p1.sfxBurn();
}
_root.p1hotfeet = 100;
} else {
_root.p1hotfeet = _root.p1hotfeet - 5;
}
if (((((p2.inair == 0) && (p2.hopping == 0)) && (p2._y == p2.gv)) && (Math.abs(p2._x - ashes._x) < 70)) && (p2.v2 or (p2.fallen == 1))) {
p1.hurtpoints(_root.Cpointspeed * 2);
if (!_root.p2hotfeet) {
p2.sfxBurn();
}
_root.p2hotfeet = 100;
} else {
_root.p2hotfeet = _root.p2hotfeet - 5;
}
if (_root.p1hotfeet > 5) {
newsmokep1();
p1.sfxBurnVolume(_root.p1hotfeet);
}
if (_root.p2hotfeet > 5) {
newsmokep2();
p2.sfxBurnVolume(_root.p2hotfeet);
}
if (_root.p1hotfeet < 0) {
_root.p1hotfeet = 0;
p1.stopsfxBurn();
}
if (_root.p2hotfeet < 0) {
_root.p2hotfeet = 0;
p2.stopsfxBurn();
}
}
if (_root.bouncemagnitude > 0) {
_root.bouncemagdir = _root.bouncemagdir * -1;
_root.bouncemagnitude = _root.bouncemagnitude - 1;
} else {
_root.bouncemagnitude = 0;
}
if (_root.wallbouncemagnitude > 0) {
_root.wallbouncemagdir = _root.wallbouncemagdir * -1;
_root.wallbouncemagnitude = _root.wallbouncemagnitude - 1;
} else {
_root.wallbouncemagnitude = 0;
}
}
function setDirectionKeys(kpnum) {
if (kpnum == 1) {
if (p1.face == -1) {
p1.back = _root.Cp1f;
p1.forward = _root.Cp1b;
if ((_root.coop == 1) && (p1.absself == 3)) {
p1.back = _root.Cp2b;
p1.forward = _root.Cp2f;
}
if ((_root.multiplay3 == 1) && (p1.absself == 3)) {
p1.back = _root.Cp3b;
p1.forward = _root.Cp3f;
}
} else {
p1.back = _root.Cp1b;
p1.forward = _root.Cp1f;
if ((_root.coop == 1) && (p1.absself == 3)) {
p1.back = _root.Cp2f;
p1.forward = _root.Cp2b;
}
if ((_root.multiplay3 == 1) && (p1.absself == 3)) {
p1.back = _root.Cp3f;
p1.forward = _root.Cp3b;
}
}
} else if (p2.face == -1) {
p2.back = _root.Cp2b;
p2.forward = _root.Cp2f;
if ((_root.multiplay4 == 1) && (p2.absself == 4)) {
p2.back = _root.Cp4b;
p2.forward = _root.Cp4f;
}
} else {
p2.back = _root.Cp2f;
p2.forward = _root.Cp2b;
if ((_root.multiplay4 == 1) && (p2.absself == 4)) {
p2.back = _root.Cp4f;
p2.forward = _root.Cp4b;
}
}
}
function turnp1() {
if (!((_root.miniGame == "dribble") || (_root.miniGame == "melon"))) {
if (((p1._x > p2._x) && (p1.turn || (_root.forceTurn))) && (p1.face == 1)) {
p1.face = -1;
p1._x = p1._x - (5 * p1.face);
p1.back = _root.Cp1f;
p1.forward = _root.Cp1b;
if ((_root.coop == 1) && (p1.absself == 3)) {
p1.back = _root.Cp2b;
p1.forward = _root.Cp2f;
}
if ((_root.multiplay3 == 1) && (p1.absself == 3)) {
p1.back = _root.Cp3b;
p1.forward = _root.Cp3f;
}
turnScale(1);
p1.cb();
} else if (((p1._x < p2._x) && (p1.turn || (_root.forceTurn))) && (p1.face == -1)) {
p1.face = 1;
p1._x = p1._x - (5 * p1.face);
p1.back = _root.Cp1b;
p1.forward = _root.Cp1f;
if ((_root.coop == 1) && (p1.absself == 3)) {
p1.back = _root.Cp2f;
p1.forward = _root.Cp2b;
}
if ((_root.multiplay3 == 1) && (p1.absself == 3)) {
p1.back = _root.Cp3f;
p1.forward = _root.Cp3b;
}
turnScale(1);
p1.cb();
}
}
}
function turnp2() {
if (!((_root.miniGame == "dribble") || (_root.miniGame == "melon"))) {
if (((p2._x > p1._x) && (p2.turn || (_root.forceTurn))) && (p2.face == 1)) {
p2.face = -1;
p2._x = p2._x - (5 * p2.face);
p2.back = _root.Cp2b;
p2.forward = _root.Cp2f;
if ((_root.multiplay4 == 1) && (p2.absself == 4)) {
p2.back = _root.Cp4b;
p2.forward = _root.Cp4f;
}
turnScale(2);
p2.cb();
} else if (((p2._x < p1._x) && (p2.turn || (_root.forceTurn))) && (p2.face == -1)) {
p2.face = 1;
p2._x = p2._x - (5 * p2.face);
p2.back = _root.Cp2f;
p2.forward = _root.Cp2b;
if ((_root.multiplay4 == 1) && (p2.absself == 4)) {
p2.back = _root.Cp4f;
p2.forward = _root.Cp4b;
}
turnScale(2);
p2.cb();
}
}
}
function turning() {
p1frame = p1.player._currentframe;
p2frame = p2.player._currentframe;
if (!((_root.miniGame == "dribble") || (_root.miniGame == "melon"))) {
if ((p1.inair != 1) && ((((((_root.forceturn || (p1frame < 800)) || ((p1frame < 920) && (!(p2.grabAttacking || (p2.specialgrabbing))))) || (p1frame == 1135)) || ((p1frame >= 1149) && (p1frame <= 1155))) || ((p1frame >= 1019) && (p1frame < 1034))) || ((p1frame > 1315) && (p1frame < 1480)))) {
turnp1();
}
if ((p2.inair != 1) && ((((((_root.forceturn || (p2frame < 800)) || ((p2frame < 920) && (!(p1.grabAttacking || (p1.specialgrabbing))))) || (p2frame == 1135)) || ((p2frame >= 1149) && (p2frame <= 1155))) || ((p2frame >= 1019) && (p2frame < 1034))) || ((p2frame > 1315) && (p2frame < 1480)))) {
turnp2();
}
}
}
function turnScale(turnNum) {
if (turnNum == 1) {
if ((p1.turn == 1) || (_root.forceTurn)) {
if (((p1.face < 0) && (p1._xscale > 0)) || ((p1.face > 0) && (p1._xscale < 0))) {
p1._xscale = p1._xscale * -1;
}
}
} else if ((p2.turn == 1) || (_root.forceTurn)) {
if (((p2.face > 0) && (p2._xscale > 0)) || ((p2.face < 0) && (p2._xscale < 0))) {
p2._xscale = p2._xscale * -1;
}
}
}
if ((_root.gmode != 1) && (_root.gmode != 5)) {
_root.streamNextCharacter(_root.streamVersusNum, 1);
}
streamLoadWait = 10;
flyzoom = 120;
yscroll = 120;
flyzoomstep = 4;
flyzoomoutstep = 2;
xgroundfactor = 8;
_root.fadespeed = 10;
_root.p3xsit = -100;
_root.p4xsit = 100;
_root.stageline = 44;
p1.gv = _root.stageline;
p2.gv = _root.stageline;
p1stand = (_x - 160) * 2;
p2stand = (_x - 160) * 2;
ballstand = (_x - 160) * 2;
melon1stand = (_x - 160) * 2;
melon2stand = (_x - 160) * 2;
melon3stand = (_x - 160) * 2;
melon4stand = (_x - 160) * 2;
melon5stand = (_x - 160) * 2;
_root.tagtimewait = 121;
_root.wallbouncemagdir = 1;
_root.bouncemagnitude = 1;
_root.bouncemagdir = 1;
if (_root.teamsize1 == 1) {
p3._visible = false;
s3._visible = false;
}
if (_root.teamsize2 == 1) {
p4._visible = false;
s4._visible = false;
}
Instance of Symbol 1158 MovieClip "roda3" in Symbol 1784 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.stagenum);
this.swapDepths(3000);
}
Instance of Symbol 1167 MovieClip "m2" in Symbol 1784 MovieClip Frame 1
onClipEvent (load) {
self = 1;
}
Instance of Symbol 1167 MovieClip "m1" in Symbol 1784 MovieClip Frame 1
onClipEvent (load) {
self = 2;
}
Instance of Symbol 1190 MovieClip "melon5" in Symbol 1784 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(55);
resetLife();
melon = 1;
if (_root.miniGame != "melon") {
_visible = false;
}
}
Instance of Symbol 1190 MovieClip "melon4" in Symbol 1784 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(54);
resetLife();
melon = 1;
if (_root.miniGame != "melon") {
_visible = false;
}
}
Instance of Symbol 1190 MovieClip "melon3" in Symbol 1784 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(53);
resetLife();
melon = 1;
if (_root.miniGame != "melon") {
_visible = false;
}
}
Instance of Symbol 1190 MovieClip "melon2" in Symbol 1784 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(52);
resetLife();
melon = 1;
if (_root.miniGame != "melon") {
_visible = false;
}
}
Instance of Symbol 1190 MovieClip "melon1" in Symbol 1784 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(56);
resetLife();
melon = 1;
if (_root.miniGame != "melon") {
_visible = false;
}
}
Instance of Symbol 114 MovieClip [dustback] "dustA1" in Symbol 1784 MovieClip Frame 1
onClipEvent (load) {
swapDepths(6);
}
Instance of Symbol 127 MovieClip [dustfront] "dustB1" in Symbol 1784 MovieClip Frame 1
onClipEvent (load) {
swapDepths(50);
}
Instance of Symbol 114 MovieClip [dustback] "dustA2" in Symbol 1784 MovieClip Frame 1
onClipEvent (load) {
swapDepths(7);
}
Instance of Symbol 127 MovieClip [dustfront] "dustB2" in Symbol 1784 MovieClip Frame 1
onClipEvent (load) {
swapDepths(51);
}
Instance of Symbol 1190 MovieClip "ball" in Symbol 1784 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(50);
if (_root.miniGame != "dribble") {
_visible = false;
}
}
Symbol 1805 MovieClip Frame 1
stop();
Symbol 1809 MovieClip Frame 1
stop();
if (_parent.self == 2) {
_visible = false;
}
Symbol 1812 MovieClip Frame 20
stop();
Symbol 1813 MovieClip Frame 1
stop();
Symbol 1819 MovieClip Frame 1
stop();
Symbol 1844 MovieClip Frame 1
stop();
Symbol 1851 MovieClip Frame 1
stop();
Symbol 1868 MovieClip Frame 1
stop();
Symbol 1876 MovieClip Frame 1
stop();
Symbol 1885 MovieClip Frame 1
stop();
Symbol 1889 MovieClip Frame 1
stop();
_parent.hyperback.gotoAndStop(_currentframe);
Symbol 1889 MovieClip Frame 2
_parent.hyperback.gotoAndStop(_currentframe);
Symbol 1889 MovieClip Frame 3
_parent.hyperback.gotoAndStop(_currentframe);
Symbol 1889 MovieClip Frame 4
_parent.hyperback.gotoAndStop(_currentframe);
Symbol 1892 MovieClip Frame 1
stop();
_parent.hyperoutline.gotoAndStop(_currentframe);
_root["hypernumbers" + _parent.self].gotoAndStop(_currentframe);
Symbol 1892 MovieClip Frame 2
_parent.hyperoutline.gotoAndStop(_currentframe);
_root["hypernumbers" + _parent.self].gotoAndStop(_currentframe);
Symbol 1892 MovieClip Frame 3
_parent.hyperoutline.gotoAndStop(_currentframe);
_root["hypernumbers" + _parent.self].gotoAndStop(_currentframe);
Symbol 1892 MovieClip Frame 4
_parent.hyperoutline.gotoAndStop(_currentframe);
_root["hypernumbers" + _parent.self].gotoAndStop(_currentframe);
Symbol 1906 MovieClip Frame 1
stop();
Instance of Symbol 1906 MovieClip in Symbol 1909 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent.self == 1) {
_xscale = (_xscale * -1);
}
gotoAndStop(_root.winType);
}
Symbol 1910 MovieClip Frame 1
stop();
Symbol 1955 MovieClip Frame 1
stop();
Symbol 1960 Button
on (release, keyPress "v") {
_root.paused = 0;
_quality = "low";
_root.optionsopen = 0;
_visible = false;
_parent._parent.explained = 1;
_parent._parent.play();
}
Symbol 1977 MovieClip Frame 1
stop();
Instance of Symbol 1962 MovieClip in Symbol 1977 MovieClip Frame 2
onClipEvent (load) {
_root.paused = 1;
_quality = "high";
_root.optionsopen = 1;
}
Symbol 2002 MovieClip Frame 1
stop();
Symbol 2003 MovieClip Frame 1
_alpha = 100;
_xscale = 100;
_yscale = 100;
stop();
Symbol 2003 MovieClip Frame 4
if (_root.roundnum == 1) {
_root.players.setmatch();
}
Symbol 2003 MovieClip Frame 11
roundnum = _root.roundnum;
if (_root.survivalmode) {
roundnum = _root.totalwins1 + 1;
}
_alpha = 0;
_xscale = 0;
_yscale = 0;
Symbol 2003 MovieClip Frame 12
_root.mfx.playsound("swish4");
Instance of Symbol 30 MovieClip in Symbol 2003 MovieClip Frame 12
onClipEvent (enterFrame) {
_parent._alpha = _parent._alpha + 25;
_parent._xscale = _parent._xscale + 25;
_parent._yscale = _parent._yscale + 25;
}
Instance of Symbol 1955 MovieClip in Symbol 2003 MovieClip Frame 12
onClipEvent (load) {
gotoAndStop(_parent.roundnum);
}
Instance of Symbol 2002 MovieClip "hypermenu2" in Symbol 2003 MovieClip Frame 12
onClipEvent (load) {
if (_root.miniGameMode) {
gotoAndStop(_root.miniGame);
} else {
gotoAndStop(_root.matchtype);
}
instructions.gotoAndStop(_currentframe);
}
Symbol 2003 MovieClip Frame 17
if (_root.miniGameMode) {
if (_root.miniGame == "target") {
_root.announcerfx("TargetPractice.wav");
} else if (_root.miniGame == "combo") {
_root.announcerfx("PowerCombo.wav");
} else if (_root.miniGame == "chain") {
_root.announcerfx("ComboChain.wav");
} else if (_root.miniGame == "speedko") {
_root.announcerfx("SpeedKO.wav");
} else if (_root.miniGame == "melon") {
_root.announcerfx("MelonToss.wav");
} else if (_root.miniGame == "dribble") {
_root.announcerfx("DribbleDrill.wav");
}
} else if (_root.matchtype == 1) {
if ((_root.gmode != 1) && (_root.survivalmode != 1)) {
_root.announcerfx("KnockOut.wav");
}
} else if (_root.matchtype == 2) {
_root.announcerfx("RingKing.wav");
} else if (_root.matchtype == 3) {
_root.announcerfx("RingOfFire.wav");
} else if (_root.matchtype == 4) {
_root.announcerfx("MoneyGame.wav");
} else if (_root.matchtype == 5) {
_root.announcerfx("HotPotato.wav");
} else if (_root.matchtype == 6) {
_root.announcerfx("RingOut.wav");
}
Symbol 2003 MovieClip Frame 30
if (_root.miniGameMode || (_root.matchtype > 1)) {
if (!explained) {
stop();
}
}
Instance of Symbol 30 MovieClip in Symbol 2003 MovieClip Frame 45
onClipEvent (enterFrame) {
_parent._alpha = _parent._alpha - 25;
_parent._xscale = _parent._xscale - 25;
_parent._yscale = _parent._yscale - 25;
}
Symbol 2003 MovieClip Frame 50
stop();
Symbol 2016 MovieClip Frame 1
stop();
Symbol 2016 MovieClip Frame 2
_alpha = 0;
_alpha = 0;
_xscale = 0;
_yscale = 0;
Instance of Symbol 30 MovieClip in Symbol 2016 MovieClip Frame 3
onClipEvent (enterFrame) {
_parent._alpha = _parent._alpha + 25;
_parent._xscale = _parent._xscale + 25;
_parent._yscale = _parent._yscale + 25;
}
Symbol 2016 MovieClip Frame 15
stop();
Symbol 2016 MovieClip Frame 16
play();
Instance of Symbol 30 MovieClip in Symbol 2016 MovieClip Frame 16
onClipEvent (enterFrame) {
_parent.play();
}
Instance of Symbol 30 MovieClip in Symbol 2016 MovieClip Frame 46
onClipEvent (enterFrame) {
_parent._alpha = _parent._alpha - 25;
_parent._xscale = _parent._xscale - 25;
_parent._yscale = _parent._yscale - 25;
}
Symbol 2030 MovieClip Frame 1
stop();
Symbol 2032 Button
on (rollOver, release) {
gotoAndStop (1);
}
on (release) {
_root.newmatch(0);
}
Symbol 2033 Button
on (release) {
_root.newmatch(3);
}
on (rollOver, release) {
gotoAndStop (4);
}
Symbol 2034 Button
on (release) {
_root.newmatch(5);
}
on (rollOver, release) {
gotoAndStop (6);
}
Symbol 2035 Button
on (release) {
_root.newmatch(4);
}
on (rollOver, release) {
gotoAndStop (5);
}
Symbol 2036 Button
on (release) {
_root.newmatch(2);
}
on (rollOver, release) {
gotoAndStop (3);
}
Symbol 2037 Button
on (release) {
_root.newmatch(1);
}
on (rollOver, release) {
gotoAndStop (2);
}
Symbol 2039 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 2041 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 2043 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 2045 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 2047 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 2049 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 2050 MovieClip Frame 25
stop();
Symbol 2055 MovieClip Frame 1
stop();
Symbol 2106 MovieClip Frame 1
stop();
Symbol 2114 Button
on (release) {
_root.newmatch(1);
}
Symbol 2115 MovieClip Frame 1
stop();
Symbol 2117 Button
on (release, keyPress "v") {
if (_root.survivalmode) {
_root.setsurvivalmode();
_root.Croundtime = 4;
_root.survivalmode = 1;
_root.p1endpower = 100;
_root.p2endpower = 100;
_root.Cmaxrounds = 1;
_root.Cdifficulty = _root.survivalDifficulty;
_root.streamCharacter(2);
_root.totalwins1 = 0;
if (_root.survivalskip == 1) {
_root.damageplus1 = 1;
_root.axeplus1 = 1;
_root.axeplus2 = 1;
_root.defenseplus2 = 1;
_root.defenseplus1 = 0;
_root.totalwins1 = 9;
_root.Cdifficulty = _root.survivalDifficulty + 10;
}
_root.p2selected = 0;
if (_root.totalwins1 == 9) {
_root.setMysteryMatch();
} else {
_root.setfighter(7, 2);
_root.sethyper(5, 2);
}
_root.p1comp = 0;
_root.p2comp = 1;
_root.teamsize2 = 1;
_root.fadetrans("vsmenu");
} else {
_root.fadetrans("vsmenu");
_root.resetButton._visible = false;
_root.retryButton._visible = false;
_root.HSHubSubmitter._visible = false;
_root.disabler._visible = false;
}
}
Symbol 2118 MovieClip Frame 1
stop();
Symbol 2123 Button
on (release, keyPress "f") {
_root.fadetrans("gamemodemenu");
_root.resetButton._visible = false;
_root.retryButton._visible = false;
_root.HSHubSubmitter._visible = false;
_root.disabler._visible = false;
}
Symbol 2124 MovieClip Frame 1
stop();
Symbol 2127 Button
on (release) {
if (_parent.upgradedone == 0) {
if (_root.damageplus1 < 5) {
upgradedone = 1;
_root.upgradePowers(1, 1);
if (_root.gmode == 1) {
_parent.gotoAndStop("arcadeWin");
} else {
_parent.gotoAndStop("winsurvivalmenu");
}
} else {
_root.gsfx("sm3");
}
}
}
on (rollOver) {
gotoAndStop (1);
}
Symbol 2128 Button
on (release) {
if (_parent.upgradedone == 0) {
if (_root.hyperplus1 < 5) {
_parent.upgradedone = 1;
_root.upgradePowers(4, 1);
if (_root.gmode == 1) {
_parent.gotoAndStop("arcadeWin");
} else {
_parent.gotoAndStop("winsurvivalmenu");
}
} else {
_root.gsfx("sm3");
}
}
}
on (rollOver) {
gotoAndStop (4);
}
Symbol 2129 Button
on (release) {
if (_parent.upgradedone == 0) {
if (_root.defenseplus1 < 5) {
_parent.upgradedone = 1;
_root.upgradePowers(3, 1);
if (_root.gmode == 1) {
_parent.gotoAndStop("arcadeWin");
} else {
_parent.gotoAndStop("winsurvivalmenu");
}
} else {
_root.gsfx("sm3");
}
}
}
on (rollOver) {
gotoAndStop (3);
}
Symbol 2130 Button
on (release) {
if (_parent.upgradedone == 0) {
if (_root.axeplus1 < 5) {
_parent.upgradedone = 1;
_root.upgradePowers(2, 1);
if (_root.gmode == 1) {
_parent.gotoAndStop("arcadeWin");
} else {
_parent.gotoAndStop("winsurvivalmenu");
}
} else {
_root.gsfx("sm3");
}
}
}
on (rollOver) {
gotoAndStop (2);
}
Symbol 2139 MovieClip Frame 1
stop();
Symbol 2141 MovieClip Frame 1
this.cacheAsBitmap = 1;
Instance of Symbol 2139 MovieClip in Symbol 2141 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.damageplus1 + 1);
}
Symbol 2143 MovieClip Frame 1
this.cacheAsBitmap = 1;
Instance of Symbol 2139 MovieClip in Symbol 2143 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.axeplus1 + 1);
}
Symbol 2145 MovieClip Frame 1
this.cacheAsBitmap = 1;
Instance of Symbol 2139 MovieClip in Symbol 2145 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.defenseplus1 + 1);
}
Symbol 2147 MovieClip Frame 1
this.cacheAsBitmap = 1;
Instance of Symbol 2139 MovieClip in Symbol 2147 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.hyperplus1 + 1);
}
Symbol 2148 MovieClip Frame 20
stop();
Symbol 2155 MovieClip Frame 1
stop();
Symbol 2159 Button
on (release) {
if (_root.gmode == 1) {
gotoAndStop ("arcadeWin");
} else {
gotoAndStop ("winsurvivalmenu");
}
}
Symbol 2164 Button
on (rollOver, release) {
gotoAndStop (1);
}
on (release) {
_root.newmatch(0);
}
Symbol 2165 Button
on (release) {
_root.newmatch(5);
}
on (rollOver, release) {
gotoAndStop (2);
}
Symbol 2167 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 2169 MovieClip Frame 1
this.cacheAsBitmap = 1;
Symbol 2170 MovieClip Frame 15
stop();
Symbol 2172 MovieClip Frame 1
stop();
Symbol 2177 MovieClip Frame 1
stop();
Symbol 2180 Button
on (rollOver, release) {
gotoAndStop (1);
}
on (release) {
if (continueText._currentframe == 15) {
_root.newmatch(0);
}
}
Symbol 2181 MovieClip Frame 15
stop();
Symbol 2182 MovieClip Frame 1
stop();
Symbol 2183 MovieClip Frame 1
stop();
Symbol 2183 MovieClip Frame 2
_root.fighting = 0;
_root[("p" + _root.winner) + "wins"] = _root[("p" + _root.winner) + "wins"] + 1;
if (_root[("p" + _root.winner) + "wins"] > (_root.Cmaxrounds / 2)) {
_root.matchover = 1;
_root.addWins();
} else {
_root.matchover = 0;
}
_root.resetMusicVolume();
_root.players.p1.flyingfar = 0;
_root.players.p2.flyingfar = 0;
_root.setwins();
_alpha = 0;
_xscale = 0;
_yscale = 0;
Symbol 2183 MovieClip Frame 3
_root.sfx.gsfx.playsound("sw4");
Instance of Symbol 30 MovieClip in Symbol 2183 MovieClip Frame 3
onClipEvent (enterFrame) {
_parent._alpha = _parent._alpha + 25;
_parent._xscale = _parent._xscale + 25;
_parent._yscale = _parent._yscale + 25;
}
Instance of Symbol 2020 MovieClip in Symbol 2183 MovieClip Frame 3
onClipEvent (load) {
if ((_root.p1perfect || (_root.p2perfect)) && (!_root.miniGameMode)) {
_visible = true;
_root.announcerfx("Perfect.wav");
} else {
_visible = false;
}
}
Instance of Symbol 2030 MovieClip in Symbol 2183 MovieClip Frame 3
onClipEvent (load) {
gotoAndStop(_root.winner);
}
Symbol 2183 MovieClip Frame 30
if (_root.matchover == 1) {
_root.sfx.gsfx.playsound("yeah");
_root.stopmusic();
_root.loadCinematicSounds();
}
Instance of Symbol 30 MovieClip in Symbol 2183 MovieClip Frame 100
onClipEvent (enterFrame) {
_parent._alpha = _parent._alpha - 25;
_parent._xscale = _parent._xscale - 25;
_parent._yscale = _parent._yscale - 25;
}
Symbol 2183 MovieClip Frame 105
_alpha = 100;
_xscale = 100;
_yscale = 100;
Symbol 2183 MovieClip Frame 109
_root.newmatchselected = 0;
_root.endthematch();
Symbol 2183 MovieClip Frame 113
_quality = "medium";
_root.cash = _root.cash + 1;
_root.saveCookie();
_root.unloadplayers();
_root.sfx.gsfx.playsound("endmusic", 0);
Instance of Symbol 179 MovieClip "endmatchbuttons" in Symbol 2183 MovieClip Frame 113
onClipEvent (load) {
Mselection = 1;
keysup = 0;
}
onClipEvent (enterFrame) {
p1.cb();
p2.cb();
if (!(((((((((((((((p1.u or p1.d) or p1.f) or p1.b) or p2.u) or p2.d) or p2.f) or p2.b) or p1.bp) or p1.fp) or p1.bk) or p1.fk) or p2.bp) or p2.fp) or p2.bk) or p2.fk)) {
keysup = 6;
}
if (keysup > 5) {
if (((p1.u or p1.d) or p2.u) or p2.d) {
keysup = 0;
_root.gsfx("th1");
}
if (p1.u or p2.u) {
_parent.versusmenu.prevFrame();
} else if (p1.d or p2.d) {
_parent.versusmenu.nextFrame();
}
if ((((p1.bk or p1.fk) or p2.bk) or p2.fk) && (_root.newmatchselected == 0)) {
_root.newmatch(_parent.versusmenu._currentframe - 1);
_root.newmatchselected = 1;
}
} else {
keysup = keysup + 1;
}
}
Instance of Symbol 488 MovieClip in Symbol 2183 MovieClip Frame 113
onClipEvent (load) {
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
blurMe(3, 3);
}
Symbol 2183 MovieClip Frame 115
_quality = "medium";
_root.unloadplayers();
_root.sfx.gsfx.playsound("endmusic", 0);
totalwins = _root.totalwins1 + 1;
roundtext.gotoAndStop(totalwins);
if (((totalwins / 4) - int(totalwins / 4)) == 0) {
bossfight._visible = true;
} else {
bossfight._visible = false;
}
Instance of Symbol 179 MovieClip "endmatchbuttons" in Symbol 2183 MovieClip Frame 115
onClipEvent (load) {
Mselection = 1;
keysup = 0;
menutime = 0;
}
onClipEvent (enterFrame) {
menutime = menutime + 1;
p1.cb();
p2.cb();
if (!(((((((((((((((p1.u or p1.d) or p1.f) or p1.b) or p2.u) or p2.d) or p2.f) or p2.b) or p1.bp) or p1.fp) or p1.bk) or p1.fk) or p2.bp) or p2.fp) or p2.bk) or p2.fk)) {
keysup = 6;
}
if (keysup > 5) {
if (((p1.u or p1.d) or p2.u) or p2.d) {
keysup = 0;
_root.gsfx("th1");
}
if (p1.u or p2.u) {
_parent.versusmenu.prevFrame();
} else if (p1.d or p2.d) {
_parent.versusmenu.nextFrame();
}
if (((((p1.bk or p1.fk) or p2.bk) or p2.fk) && (_root.newmatchselected == 0)) && (menutime > 10)) {
_root.newmatch(1);
_root.newmatchselected = 1;
}
} else {
keysup = keysup + 1;
}
}
Symbol 2183 MovieClip Frame 117
_quality = "medium";
_root.unloadplayers();
_root.sfx.gsfx.playsound("endmusic", 0);
totalwins = _root.totalwins1 + 1;
Instance of Symbol 179 MovieClip "endmatchbuttons" in Symbol 2183 MovieClip Frame 117
onClipEvent (load) {
Mselection = 1;
keysup = 0;
menutime = 0;
}
onClipEvent (enterFrame) {
menutime = menutime + 1;
p1.cb();
p2.cb();
if (!(((((((((((((((p1.u or p1.d) or p1.f) or p1.b) or p2.u) or p2.d) or p2.f) or p2.b) or p1.bp) or p1.fp) or p1.bk) or p1.fk) or p2.bp) or p2.fp) or p2.bk) or p2.fk)) {
keysup = 6;
}
if (keysup > 5) {
if (((p1.u or p1.d) or p2.u) or p2.d) {
keysup = 0;
_root.gsfx("th1");
}
if (p1.u or p2.u) {
_parent.versusmenu.prevFrame();
} else if (p1.d or p2.d) {
_parent.versusmenu.nextFrame();
}
if (((((p1.bk or p1.fk) or p2.bk) or p2.fk) && (_root.newmatchselected == 0)) && (menutime > 15)) {
_root.newmatch(5);
_root.newmatchselected = 1;
}
} else {
keysup = keysup + 1;
}
}
Symbol 2183 MovieClip Frame 119
_quality = "medium";
upgradedone = 0;
_root.unloadplayers();
_root.sfx.gsfx.playsound("endmusic", 0);
if ((((_root.damageplus1 >= 5) && (_root.axeplus1 >= 5)) && (_root.defenseplus1 >= 5)) && (_root.hyperplus1 >= 5)) {
gotoAndStop ("winsurvivalmenu");
}
Instance of Symbol 179 MovieClip "endmatchbuttons" in Symbol 2183 MovieClip Frame 119
onClipEvent (load) {
Mselection = 1;
keysup = 0;
upgradeSelected = 0;
menutime = 0;
}
onClipEvent (enterFrame) {
menutime = menutime + 1;
p1.cb();
p2.cb();
if (!(((((((((((((((p1.u or p1.d) or p1.f) or p1.b) or p2.u) or p2.d) or p2.f) or p2.b) or p1.bp) or p1.fp) or p1.bk) or p1.fk) or p2.bp) or p2.fp) or p2.bk) or p2.fk)) {
keysup = 6;
}
if (keysup > 5) {
if (((p1.u or p1.d) or p2.u) or p2.d) {
keysup = 0;
_root.gsfx("th1");
}
if (p1.u or p2.u) {
_parent.versusmenu.prevFrame();
} else if (p1.d or p2.d) {
_parent.versusmenu.nextFrame();
}
if (((((p1.bk or p1.fk) or p2.bk) or p2.fk) && (upgradeSelected == 0)) && (menutime > 30)) {
upgradeSelected = 1;
if (((((_parent.versusmenu._currentframe == 1) && (_root.damageplus1 < 5)) or ((_parent.versusmenu._currentframe == 2) && (_root.axeplus1 < 5))) or ((_parent.versusmenu._currentframe == 3) && (_root.defenseplus1 < 5))) or ((_parent.versusmenu._currentframe == 4) && (_root.hyperplus1 < 5))) {
_root.upgradePowers(_parent.versusmenu._currentframe, 1);
if (_root.gmode == 1) {
_parent.gotoAndStop("arcadeWin");
} else {
_parent.gotoAndStop("winsurvivalmenu");
}
} else {
_root.gsfx("sm3");
}
}
} else {
keysup = keysup + 1;
}
}
Symbol 2183 MovieClip Frame 121
_quality = "medium";
_root.unloadplayers();
Symbol 2183 MovieClip Frame 123
_quality = "medium";
_root.unloadplayers();
_root.sfx.gsfx.playsound("endmusic", 0);
Instance of Symbol 993 MovieClip "face1" in Symbol 2183 MovieClip Frame 123
onClipEvent (load) {
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
gotoAndStop(_root.p1charnum);
blurMe(3, 3);
gotoAndStop(_root.p1charnum);
_alpha = 50;
alphaShift = -1;
}
onClipEvent (enterFrame) {
_alpha = (_alpha + alphaShift);
if (_alpha > 40) {
_alpha = 40;
alphaShift = alphaShift * -1;
} else if (_alpha < 20) {
_alpha = 20;
alphaShift = alphaShift * -1;
}
}
Instance of Symbol 179 MovieClip "endmatchbuttons" in Symbol 2183 MovieClip Frame 123
onClipEvent (load) {
Mselection = 1;
keysup = 0;
}
onClipEvent (enterFrame) {
p1.cb();
if (!(((((((p1.u or p1.d) or p1.f) or p1.b) or p1.bp) or p1.fp) or p1.bk) or p1.fk)) {
keysup = 6;
}
if (keysup > 5) {
if (p1.u or p1.d) {
keysup = 0;
_root.gsfx("th1");
}
if (p1.u) {
_parent.versusmenu.prevFrame();
} else if (p1.d) {
_parent.versusmenu.nextFrame();
}
if ((p1.bk or p1.fk) && (_root.newmatchselected == 0)) {
_root.newmatch(_parent.versusmenu._currentframe - 1);
_root.newmatchselected = 1;
}
} else {
keysup = keysup + 1;
}
}
Instance of Symbol 993 MovieClip "face2" in Symbol 2183 MovieClip Frame 123
onClipEvent (load) {
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
if (_root.teamsize1 == 2) {
gotoAndStop(_root.p3charnum);
blurMe(8, 8);
} else {
_visible = false;
}
}
Symbol 2183 MovieClip Frame 125
_quality = "medium";
_root.unloadplayers();
stopAllSounds();
_root.sfx.gsfx.playsound("intromusic", 0, 100);
count = 1;
while (count <= 5) {
if (count <= _root.totalwins1) {
this["enemy" + count].gotoAndStop(_root[(("enemy" + _root.p1charnum) + "_") + count] + 50);
this["enemy" + count]._alpha = 50;
} else if (count == (_root.totalwins1 + 1)) {
this["enemy" + count].gotoAndStop(_root[(("enemy" + _root.p1charnum) + "_") + count]);
this["enemy" + count]._alpha = 100;
this["enemy" + count].nextEnemy.nextFrame();
} else {
this["enemy" + count].gotoAndStop(13);
}
count++;
}
count = 6;
while (count <= 10) {
if (_root.altBranch == 0) {
this["altenemy" + count].gotoAndStop(13);
if (count <= _root.totalwins1) {
this["enemy" + count].gotoAndStop(_root[(("enemy" + _root.p1charnum) + "_") + count] + 50);
this["enemy" + count]._alpha = 50;
} else if (count == (_root.totalwins1 + 1)) {
this["enemy" + count].gotoAndStop(_root[(("enemy" + _root.p1charnum) + "_") + count]);
this["enemy" + count]._alpha = 100;
this["enemy" + count].nextEnemy.nextFrame();
} else {
this["enemy" + count].gotoAndStop(13);
}
} else {
this["enemy" + count].gotoAndStop(13);
if (count <= _root.totalwins1) {
this["altenemy" + count].gotoAndStop(_root[(("altEnemy" + _root.p1charnum) + "_") + count] + 50);
this["altenemy" + count]._alpha = 50;
} else if (count == (_root.totalwins1 + 1)) {
this["altenemy" + count].gotoAndStop(_root[(("altEnemy" + _root.p1charnum) + "_") + count]);
this["altenemy" + count]._alpha = 100;
this["altenemy" + count].nextEnemy.nextFrame();
} else {
this["altenemy" + count].gotoAndStop(13);
}
}
count++;
}
Instance of Symbol 2177 MovieClip "enemy10" in Symbol 2183 MovieClip Frame 125
/* no clip actions */
Instance of Symbol 2177 MovieClip "altenemy10" in Symbol 2183 MovieClip Frame 125
/* no clip actions */
Instance of Symbol 2177 MovieClip "altenemy9" in Symbol 2183 MovieClip Frame 125
/* no clip actions */
Instance of Symbol 2177 MovieClip "altenemy8" in Symbol 2183 MovieClip Frame 125
/* no clip actions */
Instance of Symbol 2177 MovieClip "altenemy7" in Symbol 2183 MovieClip Frame 125
/* no clip actions */
Instance of Symbol 2177 MovieClip "altenemy6" in Symbol 2183 MovieClip Frame 125
/* no clip actions */
Instance of Symbol 2177 MovieClip "enemy9" in Symbol 2183 MovieClip Frame 125
/* no clip actions */
Instance of Symbol 2177 MovieClip "enemy8" in Symbol 2183 MovieClip Frame 125
/* no clip actions */
Instance of Symbol 2177 MovieClip "enemy7" in Symbol 2183 MovieClip Frame 125
/* no clip actions */
Instance of Symbol 2177 MovieClip "enemy6" in Symbol 2183 MovieClip Frame 125
/* no clip actions */
Instance of Symbol 2177 MovieClip "enemy5" in Symbol 2183 MovieClip Frame 125
/* no clip actions */
Instance of Symbol 2177 MovieClip "enemy1" in Symbol 2183 MovieClip Frame 125
/* no clip actions */
Instance of Symbol 179 MovieClip "endmatchbuttons" in Symbol 2183 MovieClip Frame 125
onClipEvent (load) {
Mselection = 1;
keysup = 0;
}
onClipEvent (enterFrame) {
p1.cb();
if (!(((((((p1.u or p1.d) or p1.f) or p1.b) or p1.bp) or p1.fp) or p1.bk) or p1.fk)) {
keysup = 6;
}
if (keysup > 5) {
if (_parent.versusmenu.continueText._currentframe == 15) {
if ((p1.bk or p1.fk) && (_root.newmatchselected == 0)) {
_root.newmatch(1);
_root.newmatchselected = 1;
}
}
} else {
keysup = keysup + 1;
}
}
Instance of Symbol 993 MovieClip "face1" in Symbol 2183 MovieClip Frame 125
onClipEvent (load) {
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
gotoAndStop(_root.p1charnum);
blurMe(3, 3);
}
Instance of Symbol 993 MovieClip "face2" in Symbol 2183 MovieClip Frame 125
onClipEvent (load) {
function blurMe(blurX, blurY) {
quality = 1;
filter = new flash.filters.BlurFilter(blurX, blurY, quality);
filterArray = new Array();
filterArray.push(filter);
this.filters = filterArray;
if (blurX == 0) {
if (blurY == 0) {
this.filters = new Array();
}
}
}
if (_root.teamsize1 == 2) {
gotoAndStop(_root.p3charnum);
blurMe(8, 8);
} else {
_visible = false;
}
}
Symbol 2186 MovieClip Frame 1
stop();
Symbol 2187 MovieClip Frame 1
_alpha = 100;
_xscale = 100;
_yscale = 100;
stop();
this.cacheAsBitmap = 1;
Instance of Symbol 30 MovieClip in Symbol 2187 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent._alpha = _parent._alpha + 25;
_parent._xscale = _parent._xscale + 25;
_parent._yscale = _parent._yscale + 25;
}
Symbol 2187 MovieClip Frame 29
if (_root.matchover == 1) {
_root.gsfx("yeah");
}
Instance of Symbol 30 MovieClip in Symbol 2187 MovieClip Frame 56
onClipEvent (enterFrame) {
_parent._alpha = _parent._alpha - 25;
_parent._xscale = _parent._xscale - 25;
_parent._yscale = _parent._yscale - 25;
}
Symbol 2187 MovieClip Frame 61
_alpha = 100;
_xscale = 100;
_yscale = 100;
Symbol 2192 Button
on (release) {
_root.resumematch(1);
}
on (rollOver, release) {
gotoAndStop (1);
}
Symbol 2193 Button
on (release) {
_root.resumematch(4);
moveslist._visible = 1;
moveslist._alpha = 100;
}
on (rollOver, release) {
gotoAndStop (4);
}
Symbol 2194 Button
on (release) {
_root.resumematch(6);
}
on (rollOver, release) {
gotoAndStop (6);
}
Symbol 2195 Button
on (release) {
_root.resumematch(5);
}
on (rollOver, release) {
gotoAndStop (5);
}
Symbol 2196 Button
on (release) {
if (((_root.survivalmode == 0) && (_root.CF3version != "minigame")) && (_root.gamemode != 1)) {
_root.resumematch(3);
}
}
on (rollOver, release) {
if (((_root.survivalmode == 0) && (_root.miniGameMode == 0)) && (_root.gamemode != 1)) {
gotoAndStop (3);
}
}
Symbol 2197 Button
on (release) {
if (((_root.survivalmode == 0) && (_root.miniGameMode == 0)) && (_root.gamemode != 1)) {
_root.resumematch(2);
}
}
on (rollOver, release) {
if (((_root.survivalmode == 0) && (_root.miniGameMode == 0)) && (_root.gamemode != 1)) {
gotoAndStop (2);
}
}
Instance of Symbol 2201 MovieClip in Symbol 2210 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.survivalmode) {
_alpha = 25;
}
}
Instance of Symbol 2203 MovieClip in Symbol 2210 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.survivalmode) {
_alpha = 25;
}
}
Instance of Symbol 2201 MovieClip in Symbol 2210 MovieClip Frame 11
onClipEvent (enterFrame) {
if (((_root.survivalmode == 1) || (_root.miniGameMode == 1)) || (_root.gamemode == 1)) {
_alpha = 25;
}
}
Instance of Symbol 2203 MovieClip in Symbol 2210 MovieClip Frame 14
onClipEvent (load) {
if (((_root.survivalmode == 1) || (_root.miniGameMode == 1)) || (_root.gamemode == 1)) {
_alpha = 25;
}
}
Instance of Symbol 2207 MovieClip in Symbol 2210 MovieClip Frame 20
onClipEvent (load) {
if ((_root.survivalmode || (_root.miniGameMode)) || (_root.gamemode == 1)) {
_alpha = 25;
}
}
Symbol 2210 MovieClip Frame 23
stop();
Symbol 2214 Button
on (release) {
_visible = false;
_root.resumematchselected = 0;
}
Instance of Symbol 1756 MovieClip "p2moves" in Symbol 2217 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.players.p2.movesnum);
self = 2;
}
Instance of Symbol 1756 MovieClip "p1moves" in Symbol 2217 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.players.p1.movesnum);
self = 1;
}
Symbol 2221 MovieClip Frame 1
stop();
Symbol 2221 MovieClip Frame 2
if (((_root.survivalmode == 1) || (_root.miniGameMode == 1)) || (_root.gamemode == 1)) {
gotoAndStop (4);
}
Symbol 2221 MovieClip Frame 3
if (((_root.survivalmode == 1) || (_root.miniGameMode == 1)) || (_root.gamemode == 1)) {
gotoAndStop (1);
}
Instance of Symbol 2213 MovieClip in Symbol 2221 MovieClip Frame 3
onClipEvent (load) {
if (_root.CF3version == "minigame") {
_alpha = 25;
}
}
Symbol 2221 MovieClip Frame 4
preFrame = 4;
Instance of Symbol 2217 MovieClip "moveslist" in Symbol 2221 MovieClip Frame 4
onClipEvent (load) {
_visible = false;
}
Symbol 2221 MovieClip Frame 5
if (((_root.survivalmode == 1) || (_root.miniGameMode == 1)) || (_root.gamemode == 1)) {
if (preFrame == 4) {
gotoAndStop (6);
} else if (preFrame == 6) {
gotoAndStop (4);
}
}
Symbol 2221 MovieClip Frame 6
preFrame = 6;
Symbol 2222 MovieClip Frame 1
stop();
Symbol 2222 MovieClip Frame 5
stop();
_root.resumematchselected = 0;
_root.pauseSounds();
_quality = "medium";
if ((_root.gmode == 1) || (_root.survivalmode)) {
skill = _root.Cdifficulty;
}
Instance of Symbol 1756 MovieClip in Symbol 2222 MovieClip Frame 5
onClipEvent (load) {
gotoAndStop (36);
}
Instance of Symbol 1756 MovieClip in Symbol 2222 MovieClip Frame 5
onClipEvent (load) {
gotoAndStop (35);
}
Instance of Symbol 179 MovieClip "pausemenubuttons" in Symbol 2222 MovieClip Frame 5
onClipEvent (load) {
Pselection = 1;
keysup = 0;
}
onClipEvent (enterFrame) {
if (_root.optionsopen == 0) {
p1.cb();
p2.cb();
if (_parent.playerselect == 1) {
if (!(((((((p1.u or p1.d) or p1.f) or p1.b) or p1.bp) or p1.fp) or p1.bk) or p1.fk)) {
keysup = 6;
}
if ((keysup > 5) && (_root.stopnav == 0)) {
if (p1.u or p1.d) {
keysup = 0;
_root.gsfx("th1");
}
if (p1.u) {
_parent.pausemenu.prevFrame();
} else if (p1.d) {
_parent.pausemenu.nextFrame();
}
if (((p1.bk or p1.fk) && (_root.resumematchselected == 0)) && ((((_root.survivalmode != 1) && (_root.minigameMode != 1)) && (_root.gamemode != 1)) || (((_parent.pausemenu._currentframe != 2) && (_parent.pausemenu._currentframe != 3)) && (_parent.pausemenu._currentframe != 5)))) {
_root.resumematch(_parent.pausemenu._currentframe);
}
if ((p1.bp or p1.fp) && (_root.resumematchselected == 0)) {
_root.resumematch(1);
}
} else {
keysup = keysup + 1;
}
}
if (_parent.playerselect == 2) {
if (!(((((((p2.u or p2.d) or p2.f) or p2.b) or p2.bp) or p2.fp) or p2.bk) or p2.fk)) {
keysup = 6;
}
if (keysup > 5) {
if (p2.u or p2.d) {
keysup = 0;
_root.gsfx("th1");
}
if (p2.u) {
_parent.pausemenu.prevFrame();
} else if (p2.d) {
_parent.pausemenu.nextFrame();
}
if ((p2.bk or p2.fk) && (_root.resumematchselected == 0)) {
_root.resumematch(_parent.pausemenu._currentframe);
}
if ((p2.bp or p2.fp) && (_root.resumematchselected == 0)) {
_root.resumematch(1);
}
} else {
keysup = keysup + 1;
}
}
}
}
Symbol 2222 MovieClip Frame 6
if (_root.p1comp == 0) {
_root.players.startcontrol1();
if ((_root.coop == 1) && (_root.players.p1.absself == 3)) {
_root.players.startcontrol1tag();
}
if ((_root.multiplay3 == 1) && (_root.players.p1.absself == 3)) {
_root.players.startcontrol3();
}
}
if (_root.p2comp == 0) {
_root.players.startcontrol2();
if ((_root.multiplay4 == 1) && (_root.players.p1.absself == 4)) {
_root.players.startcontrol4();
}
}
_quality = "low";
_root.setnewvolume();
Symbol 2222 MovieClip Frame 7
gotoAndStop (1);
Symbol 2223 Button
on (release) {
pressPauseKey(1);
}
Symbol 2224 MovieClip Frame 1
stop();
Symbol 2224 MovieClip Frame 2
rumblestrength = 5;
if (_root.rumble == 1) {
_root.players._y = _root.players._y + rumblestrength;
} else if (_root.rumble == 2) {
_root.players._x = _root.players._x + rumblestrength;
} else if (_root.rumble == 3) {
_root.players._x = _root.players._x - rumblestrength;
}
Symbol 2224 MovieClip Frame 4
rumblestrength = 4;
if (_root.rumble == 1) {
_root.players._y = _root.players._y - rumblestrength;
} else if (_root.rumble == 2) {
_root.players._x = _root.players._x - rumblestrength;
} else if (_root.rumble == 3) {
_root.players._x = _root.players._x + rumblestrength;
}
Symbol 2224 MovieClip Frame 5
rumblestrength = 3;
if (_root.rumble == 1) {
_root.players._y = _root.players._y + rumblestrength;
} else if (_root.rumble == 2) {
_root.players._x = _root.players._x + rumblestrength;
} else if (_root.rumble == 3) {
_root.players._x = _root.players._x - rumblestrength;
}
Symbol 2224 MovieClip Frame 6
rumblestrength = 2;
if (_root.rumble == 1) {
_root.players._y = _root.players._y - rumblestrength;
} else if (_root.rumble == 2) {
_root.players._x = _root.players._x - rumblestrength;
} else if (_root.rumble == 3) {
_root.players._x = _root.players._x + rumblestrength;
}
Symbol 2224 MovieClip Frame 7
rumblestrength = 1;
if (_root.rumble == 1) {
_root.players._ = _root.players._ + rumblestrength;
} else if (_root.rumble == 2) {
_root.players._x = _root.players._x + rumblestrength;
} else if (_root.rumble == 3) {
_root.players._x = _root.players._x - rumblestrength;
}
Symbol 2224 MovieClip Frame 8
if (_root.rumble == 1) {
_root.players._ = _root.players._ - rumblestrength;
} else if (_root.rumble == 2) {
_root.players._x = _root.players._x - rumblestrength;
} else if (_root.rumble == 3) {
_root.players._x = _root.players._x + rumblestrength;
}
Symbol 2224 MovieClip Frame 10
_root.rumble = 0;
Symbol 2233 MovieClip Frame 151
gotoAndPlay (1);
Symbol 2237 MovieClip Frame 181
gotoAndPlay (1);
Symbol 2249 MovieClip Frame 1
stop();
Instance of Symbol 2247 MovieClip in Symbol 2249 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (157);
}
Instance of Symbol 2247 MovieClip in Symbol 2249 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (52);
}
Instance of Symbol 2247 MovieClip in Symbol 2249 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (157);
}
Instance of Symbol 2247 MovieClip in Symbol 2249 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (52);
}
Instance of Symbol 2247 MovieClip in Symbol 2249 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (105);
}
Instance of Symbol 2248 MovieClip in Symbol 2249 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (66);
}
Instance of Symbol 2248 MovieClip in Symbol 2249 MovieClip Frame 2
/* no clip actions */
Instance of Symbol 2248 MovieClip in Symbol 2249 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (33);
}
Symbol 2253 MovieClip Frame 1
loadMovie ("paigedistance.png", this);
_xscale = 50;
_yscale = 50;
Symbol 2254 MovieClip Frame 1
if (_root.paigeLevel) {
gotoAndStop (50);
}
Symbol 2270 MovieClip Frame 1
stop();
if (_root.muitosurvival) {
_root.totalwins1 = _root.totalwins1 * 10;
}
if (_root.matchesWon == 0) {
_root.totalwins1 = 0;
}
totalwins1 = _root.totalwins1;
if (_root.miniGameMode) {
totalwins1 = _root.miniPoints;
gotoAndStop(_root.miniGame);
}
if (totalwins1 > 999) {
totalwins1 = 999;
}
_root.cash = _root.cash + int(totalwins1);
if (_root.cash > 9999) {
_root.cash = 9999;
}
_root.recordBreaker = 0;
if (_root.miniGameMode) {
if (totalwins1 > _root[_root.miniGame + "Scores"][_root.p1charnum]) {
_root[_root.miniGame + "Scores"][_root.p1charnum] = totalwins1;
_root.recordBreaker = _root.p1charnum;
}
}
if (_root.survivalmode) {
if (totalwins1 > _root[_root.survivalGame + "Scores"][_root.p1charnum]) {
_root[_root.survivalGame + "Scores"][_root.p1charnum] = totalwins1;
_root.recordBreaker = _root.p1charnum;
}
}
_root.saveCookie();
Instance of Symbol 1819 MovieClip "face1" in Symbol 2270 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.p1charnum);
}
Symbol 2291 MovieClip Frame 1
stop();
if (_root.miniGameMode) {
gotoAndStop(_root.miniGame);
}
if (_root.survivalmode) {
if (_root.mixedmatch == 0) {
gotoAndStop(_root.matchtype);
} else {
gotoAndStop (7);
}
}
Symbol 2329 MovieClip Frame 1
names.gotoAndStop(scorenum);
if (_root.recordBreaker == scorenum) {
recordGraphic._visible = true;
} else {
recordGraphic._visible = false;
}
if (_root["unlock" + scorenum] || ((scorenum < 16) && (scorenum != 13))) {
_alpha = 100;
} else {
_alpha = 10;
score = "";
}
if (_root.miniGameMode) {
score = _root[_root.miniGame + "Scores"][scorenum];
} else if (_root.survivalmode) {
score = _root[_root.survivalGame + "Scores"][scorenum];
}
Symbol 2330 MovieClip Frame 2
stop();
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 29;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 24;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 19;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 14;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 9;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 4;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 30;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 25;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 20;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 15;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 10;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 5;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 26;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 21;
}
Instance of Symbol 2329 MovieClip " " in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 16;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 11;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 6;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 1;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 27;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 22;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 17;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 12;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 7;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 2;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 28;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 23;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 18;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 13;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 8;
}
Instance of Symbol 2329 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (load) {
scorenum = 3;
}
Symbol 2332 Button
on (release) {
_level0.swHighScoreObject.player1Score = _root.totalwins1;
if (_root.miniGameMode) {
_level0.swHighScoreObject.player1Score = _root.miniPoints;
}
_root.totalwins1 = 0;
_root.miniPoints = 0;
_root.swHighScoreObject.showTab = "submit";
_visible = false;
docount = true;
_root.disabler._visible = true;
loadMovieNum (_root.HSHubURL, 2);
_root.survived._visible = false;
}
Instance of Symbol 2333 MovieClip in Symbol 2337 MovieClip Frame 1
onClipEvent (load) {
if (((!_root.miniGameMode) && (_root.totalwins1 == 0)) || (_root.miniGameMode && (_root.miniPoints == 0))) {
_visible = false;
}
}