Frame 2
stop();
Frame 40
gotoAndStop ("Intro");
Frame 42
var Keys = new Array();
var SavedKeys;
Keys.push(new Array({P:0, Name:"Left", K:65}, {P:0, Name:"Right", K:68}, {P:0, Name:"Up/Jump", K:87}, {P:0, Name:"Down/Crouch", K:83}, {P:0, Name:"Punch", K:74}, {P:0, Name:"Special Attack", K:75}, {P:0, Name:"Shield", K:16}));
Keys.push(new Array({P:1, Name:"Left", K:37}, {P:1, Name:"Right", K:39}, {P:1, Name:"Up/Jump", K:38}, {P:1, Name:"Down/Crouch", K:40}, {P:1, Name:"Punch", K:96}, {P:1, Name:"Special Attack", K:97}, {P:1, Name:"Shield", K:98}));
Keys.push(new Array({P:2, Name:"Left", K:0}, {P:2, Name:"Right", K:0}, {P:2, Name:"Up/Jump", K:0}, {P:2, Name:"Down/Crouch", K:0}, {P:2, Name:"Punch", K:0}, {P:2, Name:"Special Attack", K:0}, {P:2, Name:"Shield", K:0}));
Keys.push(new Array({P:3, Name:"Left", K:0}, {P:3, Name:"Right", K:0}, {P:3, Name:"Up/Jump", K:0}, {P:3, Name:"Down/Crouch", K:0}, {P:3, Name:"Punch", K:0}, {P:3, Name:"Special Attack", K:0}, {P:3, Name:"Shield", K:0}));
SavedKeys = SharedObject.getLocal("Keys");
if (SavedKeys.data.Keys != undefined) {
Keys = SavedKeys.data.Keys;
} else {
SavedKeys.data.Keys = new Array();
SavedKeys.data.Keys = Keys;
}
var SavedSettings;
Stage.showMenu = false;
_quality;
var Settings = new Object({Quality:"MEDIUM", ItemFrequency:3, Mute:false, BestEndurance:0});
SavedSettings = SharedObject.getLocal("Settings");
SavedSettings.flush();
if (SavedSettings.data.Settings != undefined) {
Settings = SavedSettings.data.Settings;
} else {
SavedSettings.data.Settings = new Object();
SavedSettings.data.Settings = Settings;
}
_quality = Settings.Quality;
Snd.init();
Snd.Mute = Settings.Mute;
Snd.AddSound("Boom.wav", "Boom");
Snd.AddSound("Boom2.wav", "Boom");
Snd.AddSound("Electric.wav", "Electric");
Snd.AddSound("Fart.wav", "Fart");
Snd.AddSound("Fart2.wav", "Fart");
Snd.AddSound("Helicopter.wav", "Helicopter");
Snd.AddSound("HitGround.wav", "HitGround");
Snd.AddSound("JetEngine.wav", "JetEngine");
Snd.AddSound("PeachGun.wav", "Gun");
Snd.AddSound("PeachRocket.wav", "Rocket");
Snd.AddSound("Punch1.wav", "Punch");
Snd.AddSound("Punch2.wav", "Punch");
Snd.AddSound("Slap.wav", "Punch");
Snd.AddSound("ThrownReal.wav", "Thrown");
Snd.AddSound("Thunder.wav", "Thunder");
Snd.AddSound("WaterSplash.wav", "WaterSplash");
Snd.AddSound("Headshot.wav", "Headshot");
Snd.AddSound("Headshot.wav", "HitGround");
Snd.AddSound("Woosh.wav", "Woosh");
Snd.AddSound("MineActivate.wav", "MineActivate");
Snd.AddSound("Kamehameha.wav", "Kamehameha");
Snd.AddSound("B52.mp3", "B52");
Snd.AddSound("Rooftop.mp3", "Rooftop");
Snd.AddSound("Mogadishu.mp3", "Mogadishu");
Snd.AddSound("MenuMusic.mp3", "MenuMusic");
Snd.AddSound("Space.mp3", "Space");
Snd.PlaySound("MenuMusic", true);
var MenPlaying = true;
var Listen = new Object();
stop();
onMouseDown = function () {
nextFrame();
};
Listen.onKeyDown = function () {
nextFrame();
};
Key.addListener(Listen);
stop();
Frame 43
onMouseDown = function () {
};
Key.removeListener(Listen);
var Game = new Object();
if (!MenPlaying) {
Snd.PlaySound("MenuMusic", true);
MenPlaying = true;
}
Frame 46
function gotoStageSelect() {
Game.Players = Array();
var _local8 = 0;
var _local9 = 0;
while (_local9 < Players.length) {
if (Players[_local9].Embed == undefined) {
Players[_local9].Enabled = false;
Players[_local9].gotoAndStop("Disabled");
} else {
_local8++;
Game.Players.push({CP:Players[_local9].CP, Level:Players[_local9].Level, Team:Players[_local9].Team, Colr:Colors[Players[_local9].Colr], Fighter:Players[_local9].Fighter, Enabled:Players[_local9].Enabled});
}
_local9++;
}
if (_local8 == 0) {
return(undefined);
}
for (_local9 in this) {
if (typeof(this[_local9]) != "movieclip") {
continue;
}
this[_local9].removeMovieClip();
}
gotoAndStop ("StageSelect");
}
function SetColor(PlayerNum, Col) {
var _local1 = 0;
while (_local1 < Players.length) {
if (PlayerNum == _local1) {
} else if (Players[_local1].Fighter != Players[PlayerNum].Fighter) {
} else if (Players[_local1].Colr == Col) {
SetColor(PlayerNum, ((Col == 3) ? 0 : (Col + 1)));
return(undefined);
}
_local1++;
}
Players[PlayerNum].Colr = Col;
Players[PlayerNum].Embed.Colr = Colors[Col];
}
function SelectFighter(Fighter, PlayerNum) {
Players[PlayerNum].Fighter = Fighter;
if (Players[PlayerNum].Embed != undefined) {
Players[PlayerNum].Embed.removeMovieClip();
}
Players[PlayerNum].Embed = new MovieClip();
Players[PlayerNum].Embed = Players[PlayerNum].attachMovie(Fighter, "Embed" + PlayerNum, 1);
SetColor(PlayerNum, 0);
var _local2 = Players[PlayerNum].Embed;
_local2.Team = Players[PlayerNum].Team;
_local2._xscale = 350;
_local2._yscale = 350;
_local2.gotoAndStop("run");
_local2._x = 70;
_local2._y = 170;
_local2.State = "run";
Players[PlayerNum].FName.text = Fighter;
}
var Fighters = new Array("SBLPlayer", "PeachPlayer", "TrashPlayer", "CoffeePlayer", "DefaultPlayer", "AuberginePlayer");
var Colors = new Array("red", "blue", "green", "orange");
var Players = new Array();
var i = 0;
while (i < Fighters.length) {
this.attachMovie("FighterBox", Fighters[i], this.getNextHighestDepth(), {_x:(i * 94) + 6, _y:70});
this[Fighters[i]].attachMovie(Fighters[i] + "_Pose", "Embed", this[Fighters[i]]);
i++;
}
var Gamers;
var Computers;
Gamers = Game.NumGamers;
Computers = Game.NumPlayers - Gamers;
var i = 0;
while (i < Game.NumPlayers) {
Players.push(this.attachMovie("PlayerPoseBox", "P" + (i + 1), this.getNextHighestDepth(), {_x:(i * (550 / Game.NumPlayers)) + 25, _y:188, Team:Colors[i]}));
Players[i].PNum = i + 1;
this.attachMovie("PlayerCoin", ("P" + (i + 1)) + "Coin", this.getNextHighestDepth(), {_x:(i * 32) + 30, _y:50}).gotoAndStop(Colors[i]);
this[("P" + (i + 1)) + "Coin"].PNum.text = "P" + (i + 1);
this[("P" + (i + 1)) + "Coin"].Player = i;
Players[i].Level = 7;
if (Gamers > 0) {
Players[i].CP = false;
Players[i].Enabled = true;
this["P" + (i + 1)].PText.text = "P" + (i + 1);
Gamers--;
} else if (Computers > 0) {
this["P" + (i + 1)].PText.text = "CP";
Players[i].CP = true;
if (Game.Rand != undefined) {
var n = random(Fighters.length);
SelectFighter(Fighters[n], i);
this[("P" + (i + 1)) + "Coin"].Targ = n;
this[("P" + (i + 1)) + "Coin"].Rand = random(60) - 30;
this[("P" + (i + 1)) + "Coin"].Rand2 = random(60) - 30;
Game.Rand.CP--;
}
Computers--;
}
i++;
}
Frame 47
function SelectStage(StageName) {
Game.Level = StageName;
Snd.Sounds.MenuMusic.stop();
MenPlaying = false;
gotoAndPlay ("GameLoad");
}
var Stages = new Array("Rooftop", "Mogadishu", "B52", "Space");
if (Game.Rand) {
if (Game.Rand.Level) {
Game.Level = Stages[random(Stages.length)];
gotoAndPlay ("GameLoad");
}
}
var i = 0;
while (i < Stages.length) {
var xP = (((((i > 2) ? (i - 3) : (i)) * 550) / 3) + 30);
var yP = ((i <= 2) ? 90 : 210);
var StageThumb = this.attachMovie("StageThumb", "Thumb" + i, this.getNextHighestDepth(), {_x:xP, _y:yP});
StageThumb.StageName = Stages[i];
StageThumb.attachMovie(Stages[i] + "_Thumb", "Th", StageThum.getNextHighestDepth());
i++;
}
Frame 48
for (var i in this) {
this[i].removeMovieClip();
}
gotoAndStop ("Game");
Frame 49
function ASCIIfromKeyCode(KeyCode) {
if ((KeyCode >= 65) && (KeyCode <= 90)) {
return(chr(KeyCode));
}
if ((KeyCode >= 48) && (KeyCode <= 57)) {
return(chr(KeyCode - 48));
}
if ((KeyCode >= 96) && (KeyCode <= 105)) {
return("NUM " + (KeyCode - 96));
}
if ((KeyCode >= 112) && (KeyCode <= 126)) {
return("F" + (KeyCode - 111));
}
switch (KeyCode) {
case 8 :
return("BACKSPACE");
case 9 :
return("TAB");
case 13 :
return("ENTER");
case 16 :
return("SHIFT");
case 17 :
return("CTRL");
case 20 :
return("CAPS");
case 27 :
return("ESC");
case 32 :
return("SPACE");
case 33 :
return("PGUP");
case 34 :
return("PGDN");
case 35 :
return("END");
case 36 :
return("HOME");
case 37 :
return("LEFT");
case 38 :
return("UP");
case 39 :
return("RIGHT");
case 40 :
return("DOWN");
case 45 :
return("INS");
case 46 :
return("DEL");
case 144 :
return("NUMLCK");
case 145 :
return("SCRLK");
case 19 :
return("BREAK");
case 107 :
return("+");
case 106 :
return("*");
case 109 :
return("-");
case 110 :
return(".");
case 111 :
return("/");
case 0 :
return("N/A");
}
}
function NewKey(i, j) {
KeyPresser.gotoAndStop(1);
KeyPresser._visible = true;
KeyPresser.KeyName.text = (("Player " + (Keys[i][j].P + 1)) + "/") + Keys[i][j].Name;
KeyPresser.KeyPressed.text = "";
KeyPresser.i = i;
KeyPresser.j = j;
ListenKeys = true;
}
var Selected = 0;
var ListenKeys = false;
var KeyListener = new Object();
KeyListener.onKeyDown = function () {
if (ListenKeys) {
var _local2 = Key.getCode();
KeyPresser.KeyPressed.text = ASCIIfromKeyCode(_local2);
Keys[KeyPresser.i][KeyPresser.j].K = _local2;
SavedKeys.data.Keys[KeyPresser.i][KeyPresser.j].K = _local2;
_root[(("CS" + KeyPresser.i) + "-") + KeyPresser.j].TheKey.text = ASCIIfromKeyCode(_local2);
KeyPresser.play();
ListenKeys = false;
}
};
Key.addListener(KeyListener);
var i = 0;
while (i < 4) {
var j = 0;
while (j < Keys[i].length) {
var Box = this.attachMovie("ControlSetter", (("CS" + i) + "-") + j, this.getNextHighestDepth(), {_x:i * 150, _y:(j * 25) + 150});
Box.BoxBG.gotoAndStop((j % 2) + 1);
Box.i = i;
Box.j = j;
Box.KeyName.text = Keys[i][j].Name;
Box.TheKey.text = ASCIIfromKeyCode(Keys[i][j].K);
Box.onRelease = function () {
NewKey(this.i, this.j);
};
j++;
}
i++;
}
KeyPresser.swapDepths(this.getNextHighestDepth());
KeyPresser._visible = false;
Frame 51
function PauseChildren(Target, Rec) {
for (var _local3 in Target) {
if ((typeof(Target) == "movieclip") && (Rec < 100)) {
PauseChildren(Target[_local3], Rec++);
}
Target[_local3].stop();
}
Target.stop();
}
function GenerateEndurancePlayer() {
EnduranceLevel++;
Computers[0].Level = EnduranceLevel;
var _local4 = Fighters[random(Fighters.length)];
var _local3 = "red";
if (Players[0].Colr == "red") {
_local3 = "blue";
}
if (Players[1] == undefined) {
this.attachMovie(_local4, "Player2", this.getNextHighestDepth(), {_x:WorldMC.SpawnP2._x, _y:WorldMC.SpawnP2._y, PlayNum:1, Weight:0.1}).init(Level);
var _local2 = this.Player2;
_local2._visible = false;
Computers.push(new AIControl(_local2));
Computers[0].Level = 1;
Computers[0].ForceVictim = true;
Computers[0].Victim = Players[0];
Players.push(_local2);
NPlayers++;
} else {
this.Player2.removeMovieClip();
this.HitTesterPlayer2.removeMovieClip();
this.FarInd1.removeMovieClip();
OnOSD.OSDD1.removeMovieClip();
var _local5 = Players[1].Depth;
this.attachMovie(_local4, "Player2", _local5, {_x:WorldMC.SpawnP2._x, _y:0, PlayNum:1}).init(Level);
Players[1] = this.Player2;
Players[1]._visible = true;
Level.Players[1] = Players[1];
Players[1].CamIn = VCam.FocusObjs.push(Players[1].HitTester) - 1;
KilledPlayers++;
}
PlayersL[1].Fighter = Players[1].Fighter;
PlayersL[1].Colr = Players[1].Colr;
Players[1].Team = "blue";
Players[1].Colr = _local3;
Players[1].Lives = 1;
if (Players[1] != undefined) {
OnOSD.AddDamageGraphic(1);
}
}
function Pause(DoPause) {
if (DoPause) {
PauseMC._visible = true;
PauseMC.swapDepths(this.getNextHighestDepth());
Paused = true;
WorldMC.stop();
} else {
PauseMC._visible = false;
Paused = false;
WorldMC.play();
}
}
function EndGame() {
stopAllSounds();
PauseChildren(this);
OnOSD.play();
OnOSD.BigText._visible = true;
OnOSD.BigText.text = "GAME SET!";
clearInterval(MainInterval);
clearInterval(TimerFight);
Key.removeListener(PauseListener);
gotoAndPlay ("PreEnd");
Snd.PlaySound("Thunder");
Snd.PlaySound("Boom");
}
function PlayerDeath() {
if (Game.LimitMode != "stock") {
return(undefined);
}
if (Game.Type == "endurance") {
if (Players[0].Dead) {
EndGame();
return(undefined);
}
if (Players[1].Dead) {
GenerateEndurancePlayer();
}
return(undefined);
}
var _local2 = 0;
var _local1 = 0;
while (_local1 < Players.length) {
if (Players[_local1].Dead) {
_local2++;
}
_local1++;
}
if ((_local2 == 1) && (Players.length == 1)) {
EndGame();
}
if ((_local2 == (Players.length - 1)) && (Players.length != 1)) {
EndGame();
}
}
function InitArea(_Players) {
NPlayers = _Players.length;
VCam.Width = 600;
VCam.Height = 400;
var _local2 = 1;
while (_local2 <= NPlayers) {
var _local4 = new Object(_Players[_local2 - 1]);
this.attachMovie(_local4.Fighter, "Player" + _local2, this.getNextHighestDepth(), {_x:WorldMC["SpawnP" + _local2]._x, _y:WorldMC["SpawnP" + _local2]._y, PlayNum:_local2 - 1}).init(Level);
var _local3 = this["Player" + _local2];
_local3._visible = false;
_local3.Team = _local4.Team;
_local3.Colr = _local4.Colr;
if (Game.LimitMode == "stock") {
_local3.Lives = Game.LimitVal;
} else {
_local3.Lives = -1;
}
Players.push(_local3);
Level.AddPlayer(_local3);
if (_local4.AI) {
Computers.push(new AIControl(_local3));
Computers[Computers.length - 1].Level = _local4.Level;
} else {
PlayerControl["Fighter" + _local2] = _local3;
}
_local2++;
}
if (Game.Type == "endurance") {
GenerateEndurancePlayer();
Level.AddPlayer(Players[1]);
PlayersL.push({Fighter:Game.Players[1].Fighter, Level:Game.Players[1].Level, AI:Game.Players[1].CP, Colr:Game.Players[1].Colr, Team:Game.Players[1].Team});
}
StaticText.swapDepths(this.getNextHighestDepth());
Debug.swapDepths(this.getNextHighestDepth());
this.attachMovie("OSD", "OnOSD", this.getNextHighestDepth()).init(Players);
Level.OSD = OnOSD;
VCam.StillObjects.push(OnOSD);
VCam.StillObjects.push(Debug);
VCam.StillObjects.push(PauseMC);
VCam.Backdrop = this.Backdrop;
this.attachMovie("LoadingMC", "LoadingMC", this.getNextHighestDepth());
}
function DoMain() {
if (Paused) {
return(undefined);
}
var _local1 = 0;
while (_local1 <= NPlayers) {
Players[_local1].DoFighter();
if (_local1 <= Computers.length) {
Computers[_local1].DoAI();
}
_local1++;
}
if (ReadySet != undefined) {
VCam.DoCamera();
}
OnOSD.DoOSD();
Debug._visible = false;
}
function getFPS() {
if (signal == true) {
time = getTimer();
} else {
tempo = int(1000 / (getTimer() - time));
}
signal = !signal;
return(tempo);
}
function FightTimer() {
if (!GameOn) {
if (ReadySet == undefined) {
ReadySet = 5;
}
LoadingMC.removeMovieClip();
switch (ReadySet) {
case 5 :
VCam.FocusObjs.push(Players[0].HitTester);
Players[0]._visible = true;
Players[0].gotoAndStop("spawn");
VCam.init();
OnOSD.BigText.text = "5";
break;
case 4 :
if (Players.length > 2) {
VCam.FocusObjs.pop();
VCam.FocusObjs.push(Players[1].HitTester);
Players[1]._visible = true;
Players[1].gotoAndStop("spawn");
}
OnOSD.BigText.text = "4";
break;
case 3 :
if (Players.length == 2) {
VCam.FocusObjs.pop();
VCam.FocusObjs.push(Players[1].HitTester);
Players[1]._visible = true;
Players[1].gotoAndStop("spawn");
} else if (Players.length > 2) {
VCam.FocusObjs.pop();
VCam.FocusObjs.push(Players[2].HitTester);
Players[2]._visible = true;
Players[2].gotoAndStop("spawn");
}
OnOSD.BigText.text = "3";
break;
case 2 :
if (Players.length == 4) {
VCam.FocusObjs.pop();
VCam.FocusObjs.push(Players[3].HitTester);
Players[3]._visible = true;
Players[3].gotoAndStop("spawn");
}
OnOSD.BigText.text = "2";
break;
case 1 :
VCam.FocusObjs.pop();
var _local1 = 0;
while (_local1 < Players.length) {
Players[_local1].CamIn = VCam.FocusObjs.push(Players[_local1].HitTester) - 1;
_local1++;
}
OnOSD.BigText.text = "1";
break;
case 0 :
OnOSD.BigText.text = "GO!";
break;
case -1 :
OnOSD.BigText._visible = false;
GameOn = true;
}
ReadySet--;
}
if (Paused) {
return(undefined);
}
GameTime++;
if ((Game.LimitMode == "time") && (GameOn)) {
Game.LimitVal--;
if (Game.LimitVal == 0) {
EndGame();
}
}
}
var VCam = new VCamera();
var Level;
var OnSD;
var Players;
var PlayersL;
var Humans;
var Computers;
var NPlayers = 0;
var Paused = false;
var PauseListener = new Object();
var IntTime = 25;
var ItemDepths = 0;
var TimerFight = 0;
var GameOn = false;
var ReadySet;
var MainInterval;
var NumDead = 0;
var GameTime = 0;
var EnduranceLevel = 0;
var KilledPlayers = 0;
Players = new Array();
PlayersL = new Array();
Humans = new Array();
Computers = new Array();
Pause(false);
PauseListener.onKeyDown = function () {
if (Key.getCode() == 80) {
Pause(!Paused);
}
};
Key.addListener(PauseListener);
Players = new Array();
PlayersL = new Array();
Humans = new Array();
Computers = new Array();
var Backdrop = this.attachMovie(Game.Level + "_Background", "Backdrop", this.getNextHighestDepth());
var WorldMC = this.attachMovie(Game.Level, "WorldMC", this.getNextHighestDepth());
Level = new World(WorldMC);
ItemGen.init(new Array("Mine", "Grenade"), 5);
Snd.PlaySound(Game.Level, true);
switch (Game.Level) {
case "Rooftop" :
Level.BoundsCam = new flash.geom.Rectangle(100, -100, 950, 450);
Level.Bounds = new flash.geom.Rectangle(-50, -200, 1200, 700);
Snd.PlaySound("Helicopter", true);
break;
case "Mogadishu" :
Level.BoundsCam = new flash.geom.Rectangle(-900, -100, 2600, 500);
Level.Bounds = new flash.geom.Rectangle(-1000, -200, 2700, 700);
break;
case "B52" :
Level.BoundsCam = new flash.geom.Rectangle(50, -200, 950, 550);
Level.Bounds = new flash.geom.Rectangle(-50, -300, 1200, 700);
Snd.PlaySound("JetEngine", true);
break;
case "Space" :
Level.BoundsCam = new flash.geom.Rectangle(-800, -400, 1500, 1000);
Level.Bounds = new flash.geom.Rectangle(-900, -500, 1700, 1200);
}
TimerFight = setInterval(FightTimer, 1000);
VCam.BoundsCam = Level.BoundsCam;
var i = 0;
while (i < Game.Players.length) {
if (Game.Players[i].Enabled == false) {
} else {
PlayersL.push({Fighter:Game.Players[i].Fighter, Level:Game.Players[i].Level, AI:Game.Players[i].CP, Colr:Game.Players[i].Colr, Team:Game.Players[i].Team});
}
i++;
}
InitArea(PlayersL);
var Corresponder = new Object({Le:"L", Ri:"R", Up:"U", Do:"D", Pu:"P", Sp:"S", Sh:"B"});
PlayerControl.C = new Object();
var i = 0;
while (i < Keys.length) {
var j = 0;
while (j < Keys[i].length) {
var Name = (Corresponder[Keys[i][j].Name.substr(0, 2)] + (Keys[i][j].P + 1));
PlayerControl.C[Name] = Keys[i][j].K;
j++;
}
i++;
}
PlayerControl.init();
MainInterval = setInterval(DoMain, IntTime);
Frame 100
_root._xscale = 100;
_root._yscale = 100;
_root._x = 0;
_root._y = 0;
WorldMC.swapDepths(1);
var i = 0;
while (i < Players.length) {
Game.Players[i].Deaths = Players[i].Deaths;
Game.Players[i].SDs = Players[i].SDs;
Game.Players[i].KOs = Players[i].KOs;
Game.Players[i].Lives = Players[i].Lives;
Game.Players[i].DeathOrd = Players[i].DeathOrd;
Players[i].removeMovieClip();
i++;
}
for (var i in this) {
this[i].removeMovieClip();
if ((((((i != "Game") && (i != "Keys")) && (i != "Settings")) && (i != "SavedSettings")) && (i != "GameTime")) && (i != "KilledPlayers")) {
delete this[i];
}
}
gotoAndPlay ("GameEnd");
Frame 101
if (Game.Type == "endurance") {
WinMC.WinnerText.text = KilledPlayers + " KILLS!";
} else {
var BestPlayers;
BestPlayers = new Array();
BestScores = new Array();
var i = 0;
while (i < Game.Players.length) {
if (Game.LimitMode == "time") {
var Score = (Game.Players[i].KOs - Game.Players[i].Deaths);
var Ord = Array.DESCENDING;
} else {
if (Game.Players[i].DeathOrd == undefined) {
Game.Players[i].DeathOrd = NumDead;
}
var Score = Game.Players[i].DeathOrd;
var Ord = Array.DESCENDING;
}
BestPlayers.push(new Object({Score:Score, Index:i}));
i++;
}
BestPlayers.sortOn("Score", Ord | Array.NUMERIC);
WinMC.WinnerText.text = ("PLAYER " + (BestPlayers[0].Index + 1)) + " WINS!";
}
Frame 143
if (Game.Type != "endurance") {
this.Blackness.swapDepths(1000);
var i = 0;
while (i < BestPlayers.length) {
var Ind = BestPlayers[i].Index;
Game.Players[Ind].Rank = i + 1;
this.attachMovie(Game.Players[Ind].Fighter, "Player" + i, this.getNextHighestDepth(), {_x:this["p" + (i + 1)]._x, _y:this["p" + (i + 1)]._y});
var Player = this["Player" + i];
Player.Colr = Game.Players[Ind].Colr;
Player.Team = Game.Players[Ind].Team;
Player._xscale = 250;
Player._yscale = 250;
Player.State = "stop";
i++;
}
} else {
this.attachMovie(Game.Players[0].Fighter, "Player1", 1, {_x:300, _y:380});
var Player = this.Player1;
Player.Colr = Game.Players[Ind].Colr;
Player.Team = Game.Players[Ind].Team;
Player._xscale = 400;
Player._yscale = 400;
Player.State = "stop";
Podium._visible = false;
}
Frame 170
if (Game.Type != "endurance") {
if (Game.LimitMode == "stock") {
MCTxt.Legend.text = "Rank\n\nKOs\n\nSuicides";
} else if (Game.LimitMode == "time") {
MCTxt.Legend.text = "Rank\nKOs\nDeaths\n\nScore";
}
var i = 0;
while (i < Game.Players.length) {
if (Game.LimitMode == "stock") {
this.MCTxt[("P" + (i + 1)) + "t"].text = (((((("P" + (i + 1)) + newline) + Game.Players[i].Rank) + "\n\n") + Game.Players[i].KOs) + "\n\n") + Game.Players[i].SDs;
} else {
this.MCTxt[("P" + (i + 1)) + "t"].text = (((((((("P" + (i + 1)) + newline) + Game.Players[i].Rank) + "\n+") + Game.Players[i].KOs) + "\n-") + Game.Players[i].Deaths) + "\n\n") + (Game.Players[i].KOs - Game.Players[i].Deaths);
}
i++;
}
MCTxt.swapDepths(this.getNextHighestDepth());
} else {
MCTxt.Legend.text = "Kills\n\nDeaths\n\nTime";
Settings.BestEnduranceT = ((KilledPlayers > Settings.BestEndurance) ? (KilledPlayers) : (Settings.BestEndurance));
SavedSettings.data.Settings = Settings;
var Secs = (GameTime % 60);
var Mins = ((GameTime - Secs) / 60);
this.MCTxt.P1t.text = (((((("P1\n" + KilledPlayers) + "\n\n") + Game.Players[0].Deaths) + "\n\n") + Mins) + ":") + ((Secs < 10) ? ("0" + Secs) : (Secs));
}
stop();
Symbol 9 MovieClip Frame 1
stop();
Symbol 15 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 1
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 30 MovieClip Frame 2
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 33 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 46 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 1
stop();
Symbol 54 MovieClip [Mine] Frame 1
#initclip 44
Object.registerClass("Mine", Mine);
#endinitclip
gotoAndStop ("airbone");
Symbol 54 MovieClip [Mine] Frame 8
stop();
Symbol 56 MovieClip [Grenade] Frame 1
#initclip 29
Object.registerClass("Grenade", Grenade);
#endinitclip
gotoAndStop ("airbone");
Symbol 56 MovieClip [Grenade] Frame 9
stop();
Symbol 57 MovieClip Frame 1
stop();
hand.gotoAndStop(_parent._parent.Colr);
gotoAndStop(_parent._parent.CurrentItem);
Symbol 57 MovieClip Frame 2
stop();
hand.gotoAndStop(_parent._parent.Colr);
gotoAndStop(_parent._parent.CurrentItem);
Symbol 57 MovieClip Frame 3
stop();
hand.gotoAndStop(_parent._parent.Colr);
gotoAndStop(_parent._parent.CurrentItem);
Symbol 58 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 58 MovieClip Frame 18
gotoAndPlay (4);
Symbol 59 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 59 MovieClip Frame 11
stop();
Symbol 61 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 61 MovieClip Frame 4
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this.spinna["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 61 MovieClip Frame 25
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
stop();
Symbol 62 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 62 MovieClip Frame 9
stop();
Symbol 63 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 63 MovieClip Frame 7
stop();
Symbol 65 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 65 MovieClip Frame 9
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this.spinna["f" + i].gotoAndStop(Colr);
i++;
}
this.spinna.hand.gotoAndStop(Colr);
Symbol 65 MovieClip Frame 25
gotoAndPlay (9);
Symbol 66 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 66 MovieClip Frame 24
stop();
Symbol 67 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 67 MovieClip Frame 8
stop();
Symbol 68 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 68 MovieClip Frame 3
stop();
Symbol 70 MovieClip [Pencil] Frame 1
#initclip 30
Object.registerClass("Pencil", Pencil);
#endinitclip
Symbol 71 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 71 MovieClip Frame 10
stop();
Symbol 88 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 88 MovieClip Frame 10
stop();
Symbol 89 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 89 MovieClip Frame 11
stop();
Symbol 90 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 90 MovieClip Frame 7
stop();
Symbol 91 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 91 MovieClip Frame 5
stop();
Symbol 92 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 92 MovieClip Frame 10
stop();
Symbol 102 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 102 MovieClip Frame 15
stop();
Symbol 105 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 105 MovieClip Frame 13
stop();
Symbol 106 MovieClip Frame 5
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 106 MovieClip Frame 47
stop();
Symbol 107 MovieClip [AuberginePlayer] Frame 1
#initclip 31
Object.registerClass("AuberginePlayer", AuberginePlayer);
#endinitclip
stop();
Symbol 110 MovieClip [SBLPlayer_Pose] Frame 1
stop();
Symbol 115 MovieClip Frame 1
stop();
Symbol 120 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 1
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 126 MovieClip Frame 2
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 126 MovieClip Frame 3
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 129 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 139 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 1
stop();
hand.gotoAndStop(_parent._parent.Colr);
gotoAndStop(_parent._parent.CurrentItem);
Symbol 148 MovieClip Frame 2
stop();
hand.gotoAndStop(_parent._parent.Colr);
gotoAndStop(_parent._parent.CurrentItem);
Symbol 148 MovieClip Frame 3
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 149 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 149 MovieClip Frame 18
gotoAndPlay (4);
Symbol 150 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 150 MovieClip Frame 11
stop();
Symbol 152 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 152 MovieClip Frame 4
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this.spinna["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 152 MovieClip Frame 25
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
stop();
Symbol 153 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 153 MovieClip Frame 9
stop();
Symbol 154 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 154 MovieClip Frame 7
stop();
Symbol 156 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 156 MovieClip Frame 9
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this.spinna["f" + i].gotoAndStop(Colr);
i++;
}
this.spinna.hand.gotoAndStop(Colr);
Symbol 156 MovieClip Frame 25
gotoAndPlay (9);
Symbol 157 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 157 MovieClip Frame 24
stop();
Symbol 158 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 158 MovieClip Frame 8
stop();
Symbol 159 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 159 MovieClip Frame 3
stop();
Symbol 168 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 168 MovieClip Frame 15
stop();
Symbol 185 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 185 MovieClip Frame 15
stop();
Symbol 186 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 186 MovieClip Frame 11
stop();
Symbol 187 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 187 MovieClip Frame 7
stop();
Symbol 188 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 188 MovieClip Frame 5
stop();
Symbol 189 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 189 MovieClip Frame 10
stop();
Symbol 194 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 194 MovieClip Frame 10
stop();
Symbol 196 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 196 MovieClip Frame 13
stop();
Symbol 198 MovieClip Frame 8
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 198 MovieClip Frame 48
stop();
Symbol 199 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
stop();
Symbol 199 MovieClip Frame 13
stop();
Symbol 200 MovieClip [SBLPlayer] Frame 1
#initclip 32
Object.registerClass("SBLPlayer", SBLPlayer);
#endinitclip
stop();
Symbol 209 MovieClip Frame 1
stop();
Symbol 213 MovieClip Frame 1
stop();
Symbol 216 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 1
stop();
Symbol 227 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 1
stop();
hand.gotoAndStop(_parent._parent.Colr);
gotoAndStop(_parent._parent.CurrentItem);
Symbol 228 MovieClip Frame 2
stop();
hand.gotoAndStop(_parent._parent.Colr);
gotoAndStop(_parent._parent.CurrentItem);
Symbol 228 MovieClip Frame 3
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 230 MovieClip [CoffeePlayer_Pose] Frame 1
stop();
Symbol 235 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 1
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 241 MovieClip Frame 2
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 241 MovieClip Frame 3
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 244 MovieClip Frame 1
stop();
Symbol 245 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 246 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 246 MovieClip Frame 18
gotoAndPlay (4);
Symbol 247 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 247 MovieClip Frame 11
stop();
Symbol 249 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 249 MovieClip Frame 4
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this.spinna["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 249 MovieClip Frame 25
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
stop();
Symbol 250 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 250 MovieClip Frame 9
stop();
Symbol 251 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 251 MovieClip Frame 7
stop();
Symbol 253 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 253 MovieClip Frame 9
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this.spinna["f" + i].gotoAndStop(Colr);
i++;
}
this.spinna.hand.gotoAndStop(Colr);
Symbol 253 MovieClip Frame 25
gotoAndPlay (9);
Symbol 254 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 254 MovieClip Frame 24
stop();
Symbol 255 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 255 MovieClip Frame 8
stop();
Symbol 256 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 256 MovieClip Frame 3
stop();
Symbol 259 MovieClip [Poop] Frame 1
#initclip 33
Object.registerClass("Poop", Poop);
#endinitclip
Symbol 260 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 260 MovieClip Frame 10
stop();
Symbol 277 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 277 MovieClip Frame 10
stop();
Symbol 278 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 278 MovieClip Frame 11
stop();
Symbol 279 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 279 MovieClip Frame 7
stop();
Symbol 280 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 280 MovieClip Frame 5
stop();
Symbol 281 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 281 MovieClip Frame 10
stop();
Symbol 289 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 289 MovieClip Frame 10
stop();
Symbol 291 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 291 MovieClip Frame 13
stop();
Symbol 293 MovieClip Frame 5
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 293 MovieClip Frame 47
stop();
Symbol 294 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
stop();
Symbol 294 MovieClip Frame 13
stop();
Symbol 295 MovieClip [CoffeePlayer] Frame 1
#initclip 34
Object.registerClass("CoffeePlayer", CoffeePlayer);
#endinitclip
stop();
Symbol 301 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 1
stop();
Symbol 316 MovieClip Frame 1
stop();
Symbol 319 MovieClip Frame 1
stop();
Symbol 324 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 1
stop();
hand.gotoAndStop(_parent._parent.Colr);
gotoAndStop(_parent._parent.CurrentItem);
Symbol 325 MovieClip Frame 2
stop();
hand.gotoAndStop(_parent._parent.Colr);
gotoAndStop(_parent._parent.CurrentItem);
Symbol 325 MovieClip Frame 3
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 326 MovieClip [TrashPlayer_Pose] Frame 1
stop();
Instance of Symbol 311 MovieClip "f4" in Symbol 326 MovieClip [TrashPlayer_Pose] Frame 1
onClipEvent (load) {
stop();
}
Symbol 331 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 1
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 337 MovieClip Frame 2
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 337 MovieClip Frame 3
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 342 MovieClip Frame 1
stop();
Symbol 343 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 344 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 344 MovieClip Frame 18
gotoAndPlay (4);
Symbol 345 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 345 MovieClip Frame 11
stop();
Symbol 347 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 347 MovieClip Frame 4
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this.spinna["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 347 MovieClip Frame 25
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
stop();
Symbol 348 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 348 MovieClip Frame 9
stop();
Symbol 349 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 349 MovieClip Frame 7
stop();
Symbol 351 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 351 MovieClip Frame 9
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this.spinna["f" + i].gotoAndStop(Colr);
i++;
}
this.spinna.hand.gotoAndStop(Colr);
Symbol 351 MovieClip Frame 25
gotoAndPlay (9);
Symbol 352 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 352 MovieClip Frame 24
stop();
Symbol 353 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 353 MovieClip Frame 8
stop();
Symbol 354 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 354 MovieClip Frame 3
stop();
Symbol 361 MovieClip [Garbage] Frame 1
#initclip 35
Object.registerClass("Garbage", Garbage);
#endinitclip
gotoAndStop(random(_totalframes + 1));
Symbol 362 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 362 MovieClip Frame 5
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 362 MovieClip Frame 8
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 362 MovieClip Frame 13
stop();
Symbol 378 MovieClip Frame 1
this.gotoAndStop(_parent._parent.Colr);
Symbol 389 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 389 MovieClip Frame 11
stop();
Symbol 390 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 390 MovieClip Frame 3
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 390 MovieClip Frame 8
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 390 MovieClip Frame 11
stop();
Symbol 391 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 391 MovieClip Frame 7
stop();
Symbol 392 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 392 MovieClip Frame 5
stop();
Symbol 393 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 393 MovieClip Frame 10
stop();
Symbol 395 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 395 MovieClip Frame 20
stop();
Symbol 397 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 397 MovieClip Frame 13
stop();
Symbol 399 MovieClip [Puff] Frame 25
this.removeMovieClip();
Symbol 400 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 400 MovieClip Frame 28
gotoAndPlay (19);
Symbol 401 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 401 MovieClip Frame 13
stop();
Symbol 402 MovieClip [TrashPlayer] Frame 1
#initclip 36
Object.registerClass("TrashPlayer", TrashPlayer);
#endinitclip
stop();
Symbol 411 MovieClip Frame 1
stop();
Symbol 415 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 1
stop();
Symbol 422 MovieClip [PeachPlayer_Pose] Frame 1
stop();
Symbol 425 MovieClip [Rocket] Frame 1
#initclip 37
Object.registerClass("Rocket", Rocket);
#endinitclip
Symbol 430 MovieClip Frame 1
stop();
Symbol 435 MovieClip Frame 1
stop();
Symbol 436 MovieClip Frame 1
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 436 MovieClip Frame 2
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 436 MovieClip Frame 3
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 438 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 443 MovieClip Frame 1
stop();
Symbol 448 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 1
stop();
Symbol 454 MovieClip Frame 1
stop();
hand.gotoAndStop(_parent._parent.Colr);
gotoAndStop(_parent._parent.CurrentItem);
Symbol 454 MovieClip Frame 2
stop();
hand.gotoAndStop(_parent._parent.Colr);
gotoAndStop(_parent._parent.CurrentItem);
Symbol 454 MovieClip Frame 3
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 455 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 455 MovieClip Frame 18
gotoAndPlay (4);
Symbol 456 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 456 MovieClip Frame 11
stop();
Symbol 458 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 458 MovieClip Frame 4
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this.spinna["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 458 MovieClip Frame 25
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
stop();
Symbol 459 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 459 MovieClip Frame 9
stop();
Symbol 460 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 460 MovieClip Frame 7
stop();
Symbol 462 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 462 MovieClip Frame 9
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this.spinna["f" + i].gotoAndStop(Colr);
i++;
}
this.spinna.hand.gotoAndStop(Colr);
Symbol 462 MovieClip Frame 25
gotoAndPlay (9);
Symbol 463 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 463 MovieClip Frame 24
stop();
Symbol 464 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 464 MovieClip Frame 8
stop();
Symbol 465 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 465 MovieClip Frame 3
stop();
Symbol 483 MovieClip [Bullet] Frame 1
#initclip 38
Object.registerClass("Bullet", Bullet);
#endinitclip
Symbol 484 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 484 MovieClip Frame 12
stop();
Symbol 501 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 501 MovieClip Frame 12
stop();
Symbol 502 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 502 MovieClip Frame 3
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 502 MovieClip Frame 8
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 502 MovieClip Frame 11
stop();
Symbol 503 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 503 MovieClip Frame 7
stop();
Symbol 504 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 504 MovieClip Frame 5
stop();
Symbol 505 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 505 MovieClip Frame 10
stop();
Symbol 507 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 507 MovieClip Frame 20
stop();
Symbol 509 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 509 MovieClip Frame 6
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 509 MovieClip Frame 13
stop();
Symbol 536 MovieClip Frame 10
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 536 MovieClip Frame 57
stop();
Symbol 537 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 537 MovieClip Frame 13
stop();
Symbol 538 MovieClip [PeachPlayer] Frame 1
#initclip 39
Object.registerClass("PeachPlayer", PeachPlayer);
#endinitclip
stop();
Symbol 541 MovieClip [Spawn2] Frame 40
stop();
Symbol 553 MovieClip [Spawn1] Frame 25
stop();
Symbol 560 MovieClip [DefaultPlayer_Pose] Frame 1
stop();
Symbol 564 MovieClip [BoomStar] Frame 4
stop();
Symbol 567 MovieClip [BoomWave] Frame 21
stop();
Symbol 569 MovieClip [BoomMatter] Frame 8
stop();
Symbol 574 MovieClip Frame 11
stop();
Symbol 581 MovieClip [PlayerDeath] Frame 28
this.removeMovieClip();
Symbol 584 MovieClip [PunchDamage] Frame 4
this.removeMovieClip();
Symbol 594 MovieClip [EnergyBall] Frame 1
#initclip 40
Object.registerClass("EnergyBall", EnergyBall);
#endinitclip
Symbol 599 MovieClip Frame 1
stop();
Symbol 603 MovieClip Frame 1
stop();
Symbol 608 MovieClip Frame 1
stop();
Symbol 609 MovieClip Frame 1
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 609 MovieClip Frame 2
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 609 MovieClip Frame 3
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 613 MovieClip Frame 1
stop();
Symbol 617 MovieClip Frame 1
stop();
Symbol 619 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 624 MovieClip Frame 1
stop();
Symbol 629 MovieClip Frame 1
stop();
Symbol 634 MovieClip Frame 1
stop();
Symbol 635 MovieClip Frame 1
stop();
hand.gotoAndStop(_parent._parent.Colr);
gotoAndStop(_parent._parent.CurrentItem);
Symbol 635 MovieClip Frame 2
stop();
hand.gotoAndStop(_parent._parent.Colr);
gotoAndStop(_parent._parent.CurrentItem);
Symbol 635 MovieClip Frame 3
if (_parent._parent.Colr != undefined) {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent.Colr);
} else {
gotoAndStop(_parent._parent.CurrentItem);
hand.gotoAndStop(_parent._parent._parent.Colr);
}
stop();
Symbol 636 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 636 MovieClip Frame 18
gotoAndPlay (4);
Symbol 637 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 637 MovieClip Frame 11
stop();
Symbol 639 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 639 MovieClip Frame 4
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this.spinna["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 639 MovieClip Frame 25
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
stop();
Symbol 640 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 640 MovieClip Frame 9
stop();
Symbol 641 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 641 MovieClip Frame 7
stop();
Symbol 643 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 643 MovieClip Frame 9
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this.spinna["f" + i].gotoAndStop(Colr);
i++;
}
this.spinna.hand.gotoAndStop(Colr);
Symbol 643 MovieClip Frame 25
gotoAndPlay (9);
Symbol 644 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 644 MovieClip Frame 24
stop();
Symbol 645 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 645 MovieClip Frame 8
stop();
Symbol 646 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 646 MovieClip Frame 3
stop();
Symbol 647 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 647 MovieClip Frame 9
stop();
Symbol 664 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 664 MovieClip Frame 9
stop();
Symbol 665 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 665 MovieClip Frame 3
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 665 MovieClip Frame 8
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 665 MovieClip Frame 11
stop();
Symbol 666 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 666 MovieClip Frame 7
stop();
Symbol 667 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 667 MovieClip Frame 5
stop();
Symbol 668 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 668 MovieClip Frame 10
stop();
Symbol 674 MovieClip Frame 16
stop();
Symbol 675 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 675 MovieClip Frame 19
stop();
Symbol 677 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 677 MovieClip Frame 13
stop();
Symbol 678 MovieClip Frame 10
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 678 MovieClip Frame 38
gotoAndPlay (30);
Symbol 679 MovieClip Frame 1
var Colr;
if (_parent.IsDisp) {
Colr = _parent.AttachedPlayer.Colr;
} else {
Colr = _parent.Colr;
}
var i = 1;
while (i <= 5) {
this["f" + i].gotoAndStop(Colr);
i++;
}
Symbol 679 MovieClip Frame 13
stop();
Symbol 680 MovieClip [DefaultPlayer] Frame 1
#initclip 41
Object.registerClass("DefaultPlayer", DefaultPlayer);
#endinitclip
stop();
Symbol 688 MovieClip Frame 7
stop();
Symbol 690 MovieClip Frame 20
stop();
Symbol 691 MovieClip Frame 10
_parent.gotoAndStop("still");
Symbol 692 MovieClip Frame 5
stop();
Symbol 696 MovieClip Frame 27
gotoAndPlay (15);
Symbol 700 MovieClip [RedGuy] Frame 1
#initclip 42
Object.registerClass("RedGuy", RedGuy);
#endinitclip
stop();
Symbol 725 MovieClip [OSD] Frame 1
#initclip 43
Object.registerClass("OSD", OSD);
#endinitclip
Symbol 738 MovieClip Frame 1
stop();
Symbol 749 MovieClip Frame 1
stop();
Symbol 760 MovieClip Frame 1
stop();
Symbol 765 MovieClip Frame 1
stop();
Symbol 770 MovieClip Frame 1
stop();
Symbol 776 MovieClip Frame 1
stop();
Symbol 776 MovieClip Frame 33
gotoAndStop (1);
Symbol 776 MovieClip Frame 67
gotoAndStop (1);
Symbol 780 MovieClip [OSDDamage] Frame 1
stop();
Symbol 782 MovieClip [CameraTrick] Frame 1
var D = (_parent.VCam.FocusObjs.length - 1);
Symbol 782 MovieClip [CameraTrick] Frame 30
this.removeMovieClip();
Symbol 789 MovieClip [DeathStar] Frame 30
this.removeMovieClip();
Symbol 793 MovieClip [FighterBox] Frame 1
stop();
Symbol 799 Button
on (release) {
if (_parent.Level <= 1) {
return(undefined);
}
_parent.Level--;
AILevel.text = _parent.Level;
}
Symbol 800 Button
on (release) {
if (_parent.Level >= 20) {
_parent.Level = 20;
return(undefined);
}
_parent.Level++;
AILevel.text = _parent.Level;
}
Symbol 802 MovieClip Frame 1
AILevel.text = _parent.Level;
Symbol 809 MovieClip [PlayerPoseBox] Frame 1
gotoAndStop(this.Team);
if (!CP) {
AISetter._visible = false;
}
Toggle.onRelease = function () {
if (_parent.Game.Mode == "single") {
return(undefined);
}
if ((!CP) && (Enabled)) {
AISetter._visible = true;
CP = true;
PText.text = "CP";
_parent[("P" + PNum) + "Coin"].PNum.text = "CP";
return(undefined);
}
if (CP && (Enabled)) {
_parent[("P" + PNum) + "Coin"]._visible = false;
AISetter._visible = false;
Embed._visible = false;
Enabled = false;
gotoAndStop ("Disabled");
return(undefined);
}
if (!Enabled) {
AISetter._visible = false;
CP = false;
Enabled = true;
gotoAndStop(Team);
PText.text = "P" + PNum;
_parent[("P" + PNum) + "Coin"].PNum.text = "P" + PNum;
_parent[("P" + PNum) + "Coin"]._visible = true;
Embed._visible = true;
return(undefined);
}
};
Symbol 816 MovieClip [PlayerCoin] Frame 1
var Targ;
var Rand;
var Rand2;
var Player;
this.onRollOver = function () {
};
this.onPress = function () {
this.startDrag(true);
this.swapDepths(_parent.getNextHighestDepth());
this.Targ = undefined;
};
this.onRelease = function () {
this.stopDrag();
i = 0;
while (i < _parent.Fighters.length) {
if (_x > ((i * 94) + 6)) {
this.Targ = i;
this.Rand = random(60) - 30;
this.Rand2 = random(60) - 30;
}
i++;
}
_parent.SelectFighter(_parent.Fighters[this.Targ], this.Player);
};
this.onEnterFrame = function () {
if (this.Targ != undefined) {
_x = (_x + (((((this.Targ * 94) + 40) + Rand) - this._x) / 3));
_y = (_y + (((125 - Rand2) - this._y) / 3));
}
};
Symbol 819 MovieClip [StageThumb] Frame 1
stop();
this.onRollOver = function () {
gotoAndStop (2);
};
this.onRollOut = function () {
gotoAndStop (1);
};
this.onRelease = function () {
_parent.SelectStage(this.StageName);
};
Symbol 847 MovieClip [Shield] Frame 1
stop();
Symbol 893 MovieClip Frame 36
stop();
Symbol 905 MovieClip Frame 1
stop();
Symbol 912 MovieClip Frame 1
stop();
this.useHandCursor = false;
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
this.gotoAndStop(1);
_root.play();
};
this.onPress = function () {
this.gotoAndStop(3);
};
Symbol 913 MovieClip Frame 1
var loadedPercent = 0;
_root.stop();
this._x = Math.round(this._x);
this._y = Math.round(this._y);
stop();
this.onEnterFrame = function () {
loadedPercent = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
this.progress_clps.gotoAndStop(Math.round((loadedPercent / 100) * 23));
this.loading_text = ("Loading..." + Math.round(loadedPercent)) + "%";
if (loadedPercent >= 100) {
this.gotoAndStop(2);
}
};
Symbol 913 MovieClip Frame 2
stop();
Symbol 1086 MovieClip [__Packages.Item] Frame 0
class Item extends MovieClip
{
var WorldObj, ArrInd, Age, State, Indicator, _name, _parent, _y, _x, removeMovieClip, xInc, yInc, Sender, _visible, Life, gotoAndStop;
function Item () {
super();
}
function init(_WorldObj) {
WorldObj = _WorldObj;
ArrInd = WorldObj.Items.push(this) - 1;
Age = 0;
State = 1;
Indicator = _root.attachMovie("ItemIndicator", "Indicator" + _name, _parent.getNextHighestDepth(), {_x:_x, _y:_y});
}
function HitWall(HitData) {
}
function HitFighter(Which) {
}
function GetHit(_Sender) {
}
function Use(Attack) {
return(false);
}
function Destroy() {
WorldObj.Items.splice(ArrInd, 1);
Indicator.removeMovieClip();
Indicator = undefined;
removeMovieClip();
}
function DoMovement() {
_x = _x + xInc;
if (yInc > 6) {
yInc = 6;
} else {
yInc = yInc + 0.6;
}
_y = _y + yInc;
}
function Throw(Power, Angle) {
if (Angle < 0) {
Angle = 180 + Angle;
}
Angle = (Angle * Math.PI) / 180;
xInc = Math.cos(Angle) * Power;
yInc = (-Math.sin(Angle)) * Power;
SetState(2);
}
function SetState(_State) {
State = _State;
if ((State != 3) && (Sender.CurrentItemObj == this)) {
Sender.CurrentItem = "";
}
if (State == 2) {
_visible = true;
}
if (_State != 1) {
Indicator.removeMovieClip();
Indicator = undefined;
} else if (Indicator == undefined) {
Indicator = _root.attachMovie("ItemIndicator", "Indicator" + _name, _parent.getNextHighestDepth(), {_x:_x, _y:_y});
}
}
function DoCommon() {
Age = Age + _root.IntTime;
switch (State) {
case 1 :
if ((Age + 3000) > Life) {
if ((Age % 2) == 0) {
_visible = false;
} else {
_visible = true;
}
}
if (Age > Life) {
Destroy();
}
break;
case 2 :
DoMovement();
(gotoAndStop("airbone"));// not popped
var _local5 = WorldObj.CollisionDetect(this, false, true, false, true, true);
if (_local5.Hit == true) {
HitWall(_local5);
}
var _local3 = WorldObj.CollisionDetectAttack(this, false);
for (var _local4 in _local3) {
HitFighter(_local3[_local4].object);
}
if (!WorldObj.Bounds.containsPoint(new flash.geom.Point(_x, _y))) {
Destroy();
}
break;
case 3 :
break;
case 0 :
}
Indicator._visible = _visible;
}
}
Symbol 1087 MovieClip [__Packages.Grenade] Frame 0
class Grenade extends Item
{
var gotoAndStop, Influenced, _y, SelfDamage, Life, TimeActive, Interval, WorldObj, Sender, _x, Destroy, State, SetState, _visible, Throw, _rotation;
function Grenade () {
super();
}
function init(_WorldObj) {
super.init(_WorldObj);
(gotoAndStop("spawn"));// not popped
Influenced = new Array(4);
_y = _y - 2;
SelfDamage = false;
Life = 20000;
TimeActive = 0;
Interval = setInterval(this, "DoGrenade", _root.IntTime);
}
function HitWall(HitData) {
Explode();
}
function Explode() {
new Explosion(WorldObj, Sender, _x, _y, 4);
Destroy();
}
function HitFighter(Which) {
if (((Which == Sender) && (!SelfDamage)) || (Influenced[Which.PlayNum - 1] != undefined)) {
return(undefined);
}
Explode();
}
function GetHit(_Sender, ForceGrab) {
if (State == 1) {
if (_Sender.CurrentItem != "") {
return(undefined);
}
SetState(3);
_Sender.CurrentItem = Name;
_Sender.CurrentItemObj = this;
Sender = _Sender;
_visible = false;
}
}
function Use(Attack) {
_x = (((Sender[Attack].hand._x * (Sender._xscale / 100)) + (Sender[Attack]._x * (Sender._xscale / 100))) + Sender._x) + Sender[Attack]._x;
_y = (Sender[Attack].hand._y + Sender._y) + Sender[Attack]._y;
var _local3 = 10;
var _local4 = 8;
if (Attack == "punchUp") {
_local3 = 90;
_local4 = 15;
_x = Sender._x;
} else if (Attack == "punchAirDown") {
_local3 = -90;
}
Throw(_local4, _local3 * (Sender._xscale / 100));
Sender.CurrentItem = "";
Sender.CurrentItemObj = undefined;
return(false);
}
function DoGrenade() {
super.DoCommon();
_rotation = _rotation + ((State == 2) * 10);
}
var Name = "grenade";
}
Symbol 1088 MovieClip [__Packages.Explosion] Frame 0
class Explosion
{
var Influenced, WorldObj, Sender, Size, SquareSize, ExplodeMC, Interval;
function Explosion (_WorldObj, _Sender, __x, __y, _Size) {
Influenced = new Array(4);
WorldObj = _WorldObj;
Sender = _Sender;
Size = _Size;
SquareSize = ((Size * 10) * (Size * 10)) + 400;
ExplodeMC = _level0.createEmptyMovieClip("explosion" + random(200), _level0.getNextHighestDepth());
ExplodeMC._x = __x;
ExplodeMC._y = __y;
Snd.PlaySound("Boom");
var _local3 = 0;
while (_local3 < Size) {
var _local4 = Size;
ExplodeMC.attachMovie("BoomMatter", "BoomMatter" + _local3, ExplodeMC.getNextHighestDepth(), {_x:random(Size * 10) - (Size * 5), _y:random(Size * 10) - (Size * 5), _width:_local4, _height:_local4});
_local3++;
}
ExplodeMC.attachMovie("BoomWave", "BoomWave", ExplodeMC.getNextHighestDepth(), {_width:Size * 2, _height:Size * 2});
ExplodeMC.attachMovie("BoomStar", "BoomStar", ExplodeMC.getNextHighestDepth(), {_x:0, _y:0, _width:Size * 50, _height:Size * 50});
Interval = setInterval(this, "DoExplosion", _root.IntTime);
_level0.VCam.Shake(-500);
}
function DoExplosion() {
if (ExplodeMC.BoomMatter1._currentframe < ExplodeMC.BoomMatter1._totalframes) {
var _local2 = 0;
while (_local2 < WorldObj.Players.length) {
if (Influenced[_local2] != undefined) {
} else {
var _local3 = Math.pow(WorldObj.Players[_local2]._x - ExplodeMC._x, 2) + Math.pow(WorldObj.Players[_local2]._y - ExplodeMC._y, 2);
if (_local3 <= SquareSize) {
WorldObj.Players[_local2].Damage(Size * 5, Sender, true);
var _local4 = ((WorldObj.Players[_local2]._x > ExplodeMC._x) ? 1 : -1);
WorldObj.Players[_local2].Throw(Size * 2, 45 * _local4, Sender, true);
Influenced[_local2] = 1;
}
}
_local2++;
}
}
if (ExplodeMC.BoomWave._currentframe == ExplodeMC.BoomWave._totalframes) {
ExplodeMC.removeMovieClip();
clearInterval(Interval);
}
}
}
Symbol 1089 MovieClip [__Packages.Snd] Frame 0
class Snd
{
static var Sounds, Mute;
function Snd () {
}
static function init() {
Sounds = new Object();
Mute = false;
}
static function AddSound(LinkName, NewName) {
if (Sounds[NewName].duration != undefined) {
var _local3 = Sounds[NewName];
Sounds[NewName] = new Array();
Sounds[NewName].push(_local3);
Sounds[NewName].push(new Sound(_root));
Sounds[NewName][Sounds[NewName].length - 1].attachSound(LinkName);
} else if (Sounds[NewName][0].duration != undefined) {
Sounds[NewName].push(new Sound(_root));
Sounds[NewName][Sounds[NewName].length - 1].attachSound(LinkName);
} else {
Sounds[NewName] = new Sound(_root);
Sounds[NewName].attachSound(LinkName);
}
}
static function PlaySound(SndName, Loop) {
if (Mute) {
return(undefined);
}
if (Sounds[SndName].duration != undefined) {
Sounds[SndName].start();
if (Loop) {
Sounds[SndName].onSoundComplete = function () {
this.start();
};
}
} else {
var _local3 = random(Sounds[SndName].length);
Sounds[SndName][_local3].start();
if (Loop) {
Sounds[SndName][_local3].onSoundComplete = function () {
this.start();
};
}
}
}
static function StopSound(SndName) {
if (Sounds[SndName].duration != undefined) {
Sounds[SndName].stop(Sounds[SndName]);
Sounds[SndName].onSoundComplete = undefined;
} else {
var _local1 = 0;
while (_local1 < Sounds[SndName].length) {
Sounds[SndName][_local1].stop(Sounds[SndName][_local1]);
Sounds[SndName][_local1].onSoundComplete = undefined;
_local1++;
}
}
}
}
Symbol 1090 MovieClip [__Packages.Projectile] Frame 0
class Projectile extends MovieClip
{
var WorldObj, Sender, Age, Life, _x, _y;
function Projectile () {
super();
}
function init(_WorldObj, _Sender) {
WorldObj = _WorldObj;
Sender = _Sender;
Age = 0;
}
function HitWall() {
}
function HitFighter(Which) {
}
function DoCommon() {
Age = Age + _root.IntTime;
if (Age > Life) {
HitWall();
}
if (WorldObj.CollisionDetect(this, true, true, false, false).hitSomething == true) {
HitWall();
}
var _local3 = WorldObj.CollisionDetectAttack(this);
for (var _local4 in _local3) {
HitFighter(_local3[_local4]);
}
if (!WorldObj.Bounds.containsPoint(new flash.geom.Point(_x, _y))) {
HitWall();
}
}
}
Symbol 1091 MovieClip [__Packages.Pencil] Frame 0
class Pencil extends Projectile
{
var SelfDamage, Life, xInc, yInc, Sender, Interval, Weight, Age, removeMovieClip, _x, _rotation;
function Pencil () {
super();
}
function init(_WorldObj, _Sender) {
super.init(_WorldObj, _Sender);
SelfDamage = false;
Life = 2500;
xInc = 7;
yInc = 0;
xInc = xInc * (Sender._xscale / 100);
Interval = setInterval(this, "DoPencil", _root.IntTime);
Weight = Sender.Weight;
}
function HitWall(Force) {
if ((Age > Life) || (Force)) {
clearInterval(Interval);
removeMovieClip();
} else {
clearInterval(Interval);
removeMovieClip();
}
}
function HitFighter(Which) {
if ((((Which.object == Sender) && (!SelfDamage)) || (Which.object.Invincible)) || (Which.object.State == "ko")) {
return(undefined);
}
Snd.PlaySound("Punch");
Which.object.Damage(20, Sender);
Which.object.Throw(3.5, 50 * ((xInc > 0) ? 1 : -1), Sender);
HitWall(true);
}
function DoPencil() {
_x = _x + xInc;
_rotation = _rotation + 15;
super.DoCommon();
}
}
Symbol 1092 MovieClip [__Packages.Fighter] Frame 0
class Fighter extends MovieClip
{
var xInc, yInc, DamageAmnt, Lives, Paralized, Combo, Gravity, jumpstate, Weight, Speed, CtrlLoss, Power, FighterName, HasControl, AttckDne, State, Dying, Deaths, SDs, KOs, LstPf, Modifiers, Trans, Blinky, BlinkyCos, Dead, ShieldSize, IsDisp, onEnterFrame, WorldObj, HitTester, duplicateMovieClip, _name, _parent, attachMovie, _height, Colr, _visible, _alpha, _y, _x, gotoAndStop, onGround, SpInvTme, Invincible, TimeKo, CurrentAttack, Shielded, SpecUpOk, _currentframe, CurrentItemObj, dodge, LastSender, getDepth, swapDepths, VisIndex, CamIn, _xscale, _yscale, OldDepth, DeathOrd, PlayNum, MoveQueue, OldXMov, GoThrough, OBCalled, IsOB, Shield, OldXN;
function Fighter (_Weight, _Speed, _Power, _FighterName) {
super();
xInc = (yInc = (DamageAmnt = (Lives = (Paralized = 0))));
Combo = 2;
Gravity = 1;
jumpstate = 0;
Weight = _Weight;
Speed = _Speed;
CtrlLoss = 0;
Power = _Power;
FighterName = _FighterName;
CurrentItem = "";
HasControl = true;
AttckDne = true;
State = "stop";
Dying = false;
Deaths = 0;
SDs = 0;
KOs = 0;
LstPf = new flash.geom.Point();
Modifiers = new Object();
Trans = new flash.geom.Transform(this);
Blinky = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0);
Trans.colorTransform = Blinky;
BlinkyCos = 0;
Blinking = false;
Dead = false;
ShieldSize = 100;
if (IsDisp) {
onEnterFrame = function () {
if (this.OldFrame != this.AttachedPlayer._currentframe) {
this.gotoAndStop(this.AttachedPlayer._currentframe);
}
if (this.AttachedPlayer._x < this.AttachedPlayer.WorldObj.BoundsCam.left) {
this._x = this.AttachedPlayer.WorldObj.BoundsCam.left + 50;
this._y = this.AttachedPlayer._y;
if (this.AttachedPlayer._x > this._parent.VCam.x) {
this._visible = false;
this._parent[this.AttachedPlayer._name + "Ind"]._visible = false;
} else {
this._visible = true;
this._parent[this.AttachedPlayer._name + "Ind"]._visible = true;
}
}
if (this.AttachedPlayer._x > this.AttachedPlayer.WorldObj.BoundsCam.right) {
this._x = this.AttachedPlayer.WorldObj.BoundsCam.right - 50;
this._y = this.AttachedPlayer._y;
if (this.AttachedPlayer._x < ((this._parent.VCam.x + this._parent.VCam.Width) - this._width)) {
this._visible = false;
this._parent[this.AttachedPlayer._name + "Ind"]._visible = false;
} else {
this._visible = true;
this._parent[this.AttachedPlayer._name + "Ind"]._visible = true;
}
} else if (this.AttachedPlayer._y < this.AttachedPlayer.WorldObj.BoundsCam.top) {
this._x = this.AttachedPlayer._x;
this._y = this.AttachedPlayer.WorldObj.BoundsCam.top + 50;
if (this.AttachedPlayer._y < (this._parent.VCam.ViewArea.top + this.AttachedPlayer.height)) {
this._visible = false;
this._parent[this.AttachedPlayer._name + "Ind"]._visible = false;
} else {
this._visible = true;
this._parent[this.AttachedPlayer._name + "Ind"]._visible = true;
}
} else if (this.AttachedPlayer._y > this.AttachedPlayer.WorldObj.BoundsCam.bottom) {
this._x = this.AttachedPlayer._x;
this._y = this.AttachedPlayer.WorldObj.BoundsCam.bottom - 50;
if (this.AttachedPlayer._y > (this._parent.VCam.ViewArea.bottom - this.AttachedPlayer.height)) {
this._visible = false;
this._parent[this.AttachedPlayer._name + "Ind"]._visible = false;
} else {
this._visible = true;
this._parent[this.AttachedPlayer._name + "Ind"]._visible = true;
}
}
if (this.AttachedPlayer._x > ((this._parent.VCam.x + this._parent.VCam.Width) - this._width)) {
this._x = (this._parent.VCam.x + this._parent.VCam.Width) - 50;
}
if (this.AttachedPlayer._x < this._parent.VCam.x) {
this._x = this._parent.VCam.x + 50;
}
this.OldFrame = this.AttachedPlayer._currentframe;
this._parent[this.AttachedPlayer._name + "Ind"]._x = this._x;
this._parent[this.AttachedPlayer._name + "Ind"]._y = this._y;
this._parent[this.AttachedPlayer._name + "Ind"]._rotation = (Math.atan2(this._y - this.AttachedPlayer._y, this._x - this.AttachedPlayer._x) * 180) / Math.PI;
if (!this.AttachedPlayer.IsOB) {
this._parent[this.AttachedPlayer._name + "Ind"].removeMovieClip();
this._parent.VCam.FocusObjs[this.AttachedPlayer.CamIn] = this.AttachedPlayer;
this.removeMovieClip();
}
this._y = this._y + 10;
};
}
}
function init(_WorldObj) {
WorldObj = _WorldObj;
HitTester = duplicateMovieClip("HitTester" + _name, _parent.getNextHighestDepth(), {Owner:this});
attachMovie("Shield", "Shield", 3, {_visible:false, _y:(-_height) / 2}).gotoAndStop(Colr);
HitTester.Colr = "red";
HitTester.gotoAndStop(1);
HitTester._visible = false;
}
function Spawn() {
if (State != "spawn") {
_visible = false;
_alpha = 1;
var _local2 = random(2) + 1;
_parent.attachMovie("Spawn" + _local2, "Spawn" + _name, _parent.getNextHighestDepth(), {_x:_x, _y:_y}).SType = _local2;
State = "spawn";
HasControl = false;
Blinky.redOffset = (Blinky.greenOffset = (Blinky.blueOffset = 255));
(gotoAndStop("still"));// not popped
jumpstate = 0;
onGround = true;
SpInvTme = 3000;
Invincible = true;
} else {
var _local3 = _parent["Spawn" + _name];
if (_local3._currentframe > (10 * _local3.SType)) {
_visible = true;
if (Blinky.blueOffset > 5) {
Blinky.redOffset = (Blinky.greenOffset = (Blinky.blueOffset = Blinky.blueOffset / 2));
_alpha = ((_alpha >= 100) ? 100 : (_alpha * 4));
} else {
Blinking = true;
HasControl = true;
}
}
}
}
function Attack(Type, Extra) {
if ((State == "ko") && (TimeKo > ((1000 * DamageAmnt) / 100))) {
State = "stop";
AnimateAttack("koAttack");
return(undefined);
}
if ((((((CurrentAttack != "") || (!HasControl)) || (CtrlLoss > 0)) || (State == "thrown")) || (Dying)) || (Shielded)) {
return(undefined);
}
if (Type == "punch") {
if (Extra == "none") {
if (onGround) {
if (Math.abs(xInc) <= 0) {
AnimateAttack("punchGround");
} else {
AnimateAttack("punchRun");
_parent.attachMovie("Puff", "Puff" + random(500), _parent.getNextHighestDepth(), {_x:_x, _y:_y - 5, _rotation:random(360)});
}
} else {
AnimateAttack("punchAir");
}
} else if (Extra == "up") {
if (onGround) {
if (Math.abs(xInc) <= 0) {
AnimateAttack("punchUp");
}
}
}
} else if (Type == "special") {
switch (Extra) {
case "none" :
if (onGround) {
State = "stop";
xInc = 0;
AnimateAttack("specialGround");
}
if (!onGround) {
AnimateAttack("specialAir");
}
break;
case "up" :
if (!SpecUpOk) {
return(undefined);
}
AnimateAttack("specialUp");
SpecUpOk = false;
}
}
}
function AnimateAttack(Which) {
CurrentAttack = Which;
AttckDne = false;
var _local2 = _currentframe;
(gotoAndStop(Which));// not popped
this[Which].play();
if ((CurrentItem != "") && (CurrentAttack.substr(0, 5) == "punch")) {
if (CurrentItemObj.Use(CurrentAttack)) {
(gotoAndStop(_local2));// not popped
}
}
}
function ParseAttacks(InfObj) {
}
function ParseSAttacks(InfObj) {
}
function Damage(Amnt, Sender, Force) {
if (((((State == "ko") && (!Force)) || (State == "spawn")) || (Dying)) || (Shielded && (dodge != undefined))) {
return(undefined);
}
if (Shielded) {
if (ShieldSize > 0) {
ShieldSize = ShieldSize - (Amnt / 5);
return(undefined);
}
Shielded = false;
}
if (Sender != undefined) {
LastSender = Sender;
}
CurrentAttack = "";
AttckDne = true;
SpecUpOk = true;
Modifiers.Electrocuted = false;
Snd.StopSound("Electric");
DamageAmnt = DamageAmnt + Math.floor(Amnt * (Combo / 2));
if (LastSender != undefined) {
Combo++;
}
if (DamageAmnt > 999) {
DamageAmnt = 999;
Throw(30, 45, Sender);
}
WorldObj.OSD.UpdateDamage(this);
Paralized = Amnt;
Sender.Paralized = Amnt * 5;
if (getDepth() > Sender.getDepth()) {
var _local4 = Sender.getDepth();
Sender.swapDepths(getDepth());
swapDepths(_local4);
}
if ((State != "electrocuted") && (Sender.CurrentAttack.substr(0, 7) != "special")) {
Sender[Sender.CurrentAttack].attachMovie("PunchDamage", "PunchDamage" + random(200).toString(), Sender.getNextHighestDepth(), {_x:Sender[Sender.CurrentAttack].hand._x, _y:Sender[Sender.CurrentAttack].hand._y, _rotation:random(40) - 20, _xscale:Math.log(Amnt) * 50, _yscale:Math.log(Amnt) * 50});
}
}
function Throw(Power, Angle, Sender, Force) {
if (((((State == "ko") && (!Force)) || (State == "spawn")) || (Dying)) || (Shielded && (dodge != undefined))) {
return(undefined);
}
if (Shielded && (!Force)) {
return(undefined);
}
if (Sender != undefined) {
LastSender = Sender;
}
if (Angle < 0) {
Angle = 180 + Angle;
}
if (Sender == undefined) {
Sender = new Object();
Sender.Weight = 1;
}
Angle = (Angle * Math.PI) / 180;
Power = (((Power + (Power * Sender.Weight)) - (Power * Weight)) + (((DamageAmnt / 100) * Math.log(Power)) * Power)) + (Combo / 4);
if (Power < 0) {
Power = 0;
}
xInc = Math.cos(Angle) * Power;
yInc = (-Math.sin(Angle)) * Power;
CtrlLoss = Math.pow(Power, 2) * 5;
if (Power > 10) {
Snd.PlaySound("Thrown");
}
if ((Power > 10) && (CtrlLoss > 100)) {
LstPf.x = _x;
LstPf.y = _y;
if (Power > 20) {
_parent.VCam.Shake(500);
}
} else {
LstPf.x = undefined;
LstPf.y = undefined;
}
State = "thrown";
(gotoAndStop("thrown"));// not popped
}
function Die(DeathType) {
WorldObj.OSD.Die(this, DeathType, LastSender);
if (LastSender != undefined) {
LastSender.KOs++;
} else {
SDs++;
}
if (_parent[_name + "Vis"] != undefined) {
_parent[_name + "Vis"].removeMovieClip();
_parent[_name + "Ind"].removeMovieClip();
_parent.VCam.FocusObjs.splice(VisIndex, 1);
}
_parent.VCam.FocusObjs[CamIn] = this;
if ((_parent.Game.LimitMode == "stock") || (_parent.Game.Type == "endurance")) {
Lives--;
}
DamageAmnt = 0;
WorldObj.OSD.UpdateDamage(this);
_y = 0;
_x = random(400) + 100;
_xscale = 100;
_yscale = 100;
xInc = 0;
yInc = 0;
State = "stop";
HasControl = true;
Dying = false;
_alpha = 100;
swapDepths(OldDepth);
CtrlLoss = 0;
Paralized = 0;
Deaths++;
if ((Lives > 0) || (_parent.Game.LimitMode == "time")) {
Spawn();
} else {
_parent.VCam.FocusObjs.splice(CamIn, 1);
Dead = true;
_visible = false;
HasControl = false;
DeathOrd = _parent.NumDead++;
_parent.Players[PlayNum] = undefined;
_parent.Players[PlayNum] = new Object({Deaths:Deaths, SDs:SDs, KOs:KOs, Lives:Lives, DeathOrd:DeathOrd, Dead:true, Depth:getDepth()});
_parent.PlayerDeath();
return(undefined);
}
_parent.PlayerDeath();
}
function Move(Direction) {
if ((!HasControl) || (CtrlLoss > 0)) {
return(undefined);
}
if ((State == "ko") && (TimeKo < ((1000 * DamageAmnt) / 100))) {
return(undefined);
}
if (State == "spawn") {
_parent["Spawn" + _name].removeMovieClip();
}
if (((CurrentAttack != "") && (onGround)) && (Direction != "stop")) {
MoveQueue = Direction;
return(undefined);
}
if ((CurrentAttack != "") && (Direction == "stop")) {
MoveQueue = "stop";
return(undefined);
}
if (Direction == "right") {
xInc = 8 * Speed;
State = "goright";
} else if (Direction == "left") {
xInc = -8 * Speed;
State = "goleft";
} else if (Direction == "stop") {
if ((dodge != undefined) && (Shielded)) {
return(undefined);
}
if (onGround) {
xInc = 0;
}
State = "stop";
} else if (Direction == "down") {
if (onGround) {
xInc = 0;
State = "crouch";
} else {
yInc = 8;
}
}
}
function Jump() {
if ((((!HasControl) || (CtrlLoss > 0)) || (State == "ko")) || (Shielded)) {
return(undefined);
}
if (CurrentAttack != "") {
return(undefined);
}
OldXMov = undefined;
GoThrough = false;
if (State == "thrown") {
State = "stop";
}
if (jumpstate == 0) {
jumpstate = 1;
HitTester._y = HitTester._y - 1;
yInc = -9 * Gravity;
_parent.attachMovie("Puff", "Puff" + random(500), _parent.getNextHighestDepth(), {_x:_x, _y:_y, _rotation:random(360)});
} else if ((jumpstate == 1) && (yInc >= -3)) {
jumpstate = 2;
yInc = -9 * Gravity;
_parent.attachMovie("Puff", "Puff" + random(500), _parent.getNextHighestDepth(), {_x:_x, _y:_y, _rotation:random(360)});
}
}
function Animate() {
if (xInc > 0) {
_xscale = 100;
if (State == "thrown") {
_xscale = -100;
}
} else if (xInc < 0) {
_xscale = -100;
if (State == "thrown") {
_xscale = 100;
}
}
if ((Paralized > 0) && (CurrentAttack == "")) {
if ((_currentframe != 10) && (!Modifiers.Electrocuted)) {
(gotoAndStop("takingHit"));// not popped
}
if ((_currentframe != 12) && (Modifiers.Electrocuted)) {
(gotoAndStop("electrocuted"));// not popped
}
}
if (((State == "thrown") && (Paralized <= 0)) && (_currentframe != 7)) {
(gotoAndStop("thrown"));// not popped
return(undefined);
}
if (State == "thrown") {
return(undefined);
}
if (State == "ko") {
(gotoAndStop("ko"));// not popped
}
if (CurrentAttack != "") {
if (this[CurrentAttack]._currentframe == this[CurrentAttack]._totalframes) {
CurrentAttack = "";
HasControl = true;
if (MoveQueue != "") {
Move(MoveQueue);
MoveQueue = "";
}
if (jumpstate > 0) {
jumpstate = 3;
} else {
this[CurrentAttack].gotoAndStop(1);
}
AttckDne = true;
} else {
return(undefined);
}
}
if (onGround) {
if ((State == "goright") || (State == "goleft")) {
if (Shielded) {
if (dodge == undefined) {
(gotoAndStop("dodge"));// not popped
} else if (dodge._currentframe == dodge._totalframes) {
xInc = 0;
State = "stop";
}
} else {
(gotoAndStop("run"));// not popped
}
} else if (State == "crouch") {
if (_currentframe != 5) {
(gotoAndStop("crouch"));// not popped
}
} else if (jumpstate > 0) {
if (_currentframe != 2) {
(gotoAndStop("run"));// not popped
}
} else if (State == "stop") {
(gotoAndStop("still"));// not popped
}
} else if (!onGround) {
if ((jumpstate == 1) && (_currentframe != 3)) {
(gotoAndStop("jump1"));// not popped
} else if ((jumpstate == 2) && (_currentframe != 4)) {
(gotoAndStop("jump2"));// not popped
} else if (((jumpstate == 3) && (_currentframe != 15)) || ((_currentframe != 3) && (_currentframe != 4))) {
(gotoAndStop("falling"));// not popped
}
}
}
function Gravitron() {
_y = _y + yInc;
if (yInc < 6) {
if (!Dying) {
yInc = yInc + (0.5 * Gravity);
} else {
yInc = 2;
}
} else {
if (yInc == 8) {
return(undefined);
}
yInc = 6;
}
}
function GoOutBounds() {
if (!OBCalled) {
WorldObj.OSD.OutBounds(this);
OBCalled = true;
IsOB = true;
}
}
function CheckBounds() {
if (!WorldObj.BoundsCam.containsPoint(new flash.geom.Point(_x, _y))) {
GoOutBounds();
} else {
_visible = true;
IsOB = false;
OBCalled = false;
}
if (!WorldObj.Bounds.containsPoint(new flash.geom.Point(_x, _y))) {
var _local2 = "";
if (_y > WorldObj.Bounds.bottom) {
_local2 = "bot";
} else if (_y < WorldObj.Bounds.top) {
_local2 = "top";
}
if (_local2 == "") {
if (_x < WorldObj.Bounds.left) {
_local2 = "lef";
} else if (_x > WorldObj.Bounds.right) {
_local2 = "rig";
}
}
Die(_local2);
}
}
function Blinker() {
if ((State == "ko") || (Blinking)) {
BlinkyCos = BlinkyCos + 1;
Blinky.redOffset = (Blinky.greenOffset = (Blinky.blueOffset = Math.cos(BlinkyCos) * 100));
Trans.colorTransform = Blinky;
} else {
Blinky.redOffset = (Blinky.greenOffset = (Blinky.blueOffset = 0));
Trans.colorTransform = Blinky;
}
}
function DoFighter() {
if (!_parent.GameOn) {
return(undefined);
}
Shield._visible = Shielded;
Shield._xscale = ShieldSize;
Shield._yscale = ShieldSize;
if (ShieldSize > 100) {
ShieldSize = 100;
} else if (ShieldSize < 0) {
ShieldSize = 0;
Shielded = false;
}
if (Shielded) {
if (xInc != 0) {
Shield._visible = false;
}
ShieldSize = ShieldSize - 0.2;
} else {
ShieldSize = ShieldSize + 0.1;
if (dodge != undefined) {
xInc = 0;
State = "stop";
}
}
var _local5 = false;
var _local3;
var _local4 = new Array();
Blinker();
if (Paralized > 0) {
Paralized = Paralized - _root.IntTime;
Animate();
return(undefined);
}
if (CtrlLoss > 0) {
CtrlLoss = CtrlLoss - _root.IntTime;
}
if (SpInvTme > 0) {
SpInvTme = SpInvTme - _root.IntTime;
} else {
if (State == "spawn") {
Move("stop");
}
Invincible = false;
Blinking = false;
}
HitTester._x = HitTester._x + xInc;
HitTester._y = HitTester._y + yInc;
if (Dying) {
HasControl = false;
_xscale = 40;
_yscale = 40;
_alpha = 100;
Gravitron();
if (_y > 30) {
Die("beh");
}
return(undefined);
}
if (State == "spawn") {
Spawn();
return(undefined);
}
if (State == "thrown") {
if ((LstPf.x != undefined) && (CtrlLoss > 0)) {
var _local8 = ((LstPf.x - _x) * (LstPf.x - _x)) + ((LstPf.y - _y) * (LstPf.y - _y));
if (_local8 > 400) {
_parent.attachMovie("Puff", "Puff" + random(500), _parent.getNextHighestDepth(), {_x:_x, _y:_y, _rotation:random(360)});
LstPf.x = _x;
LstPf.y = _y;
}
}
HitTester.gotoAndStop("thrown");
} else {
HitTester.gotoAndStop("still");
}
if ((State == "stop") && (!onGround)) {
xInc = xInc * 0.7;
} else if ((State == "stop") && (onGround)) {
xInc = 0;
}
if (((xInc == 0) && (jumpstate > 0)) && (onGround)) {
State = "stop";
}
if (Math.abs(xInc) < 0.5) {
xInc = 0;
}
if (State == "ko") {
if (TimeKo > DamageAmnt) {
State = "stop";
HasControl = true;
}
TimeKo = TimeKo + _root.IntTime;
}
var _local7 = !((State == "thrown") && (yInc < 0));
if (OldXMov != undefined) {
}
_local3 = WorldObj.CollisionDetect(HitTester, false, true, false, _local7, false);
if (_local3.Hit) {
_local5 = true;
}
if ((!_local5) || (GoThrough)) {
_x = _x + xInc;
Gravitron();
if (GoThrough) {
yInc = 5;
xInc = 0;
}
onGround = false;
if (!_local5) {
GoThrough = false;
}
} else {
if (((((_local3.LeftBC ^ _local3.RightBC) && (onGround)) && (_local3.Bottom)) && (!_local3.Left)) && (!_local3.Right)) {
if (Shielded && (dodge != undefined)) {
_x = _x - xInc;
xInc = 0;
}
}
if (((((((_local3.Bottom || (_local3.LeftBC)) || (_local3.RightBC)) && (!GoThrough)) && (yInc >= 0)) && (!_local3.Left)) && (!_local3.Right)) || (_local3.Bottom && ((_local3.Left && (_local3.RightBC)) || (_local3.Right && (_local3.LeftBC))))) {
if (State == "thrown") {
Snd.PlaySound("HitGround");
State = "ko";
TimeKo = 0;
xInc = 0;
HasControl = false;
}
if ((!_local3.Right) && (!_local3.Left)) {
_x = _x + xInc;
}
_y = _local3.Floor + World.WorldMC._y;
HitTester._y = _y;
jumpstate = 0;
yInc = 0;
onGround = true;
SpecUpOk = true;
LastSender = undefined;
Combo = 2;
if (_local3.Moving && (State == "crouch")) {
GoThrough = true;
}
}
if ((_local3.Bottom && (yInc < 0)) && (_local3.Moving)) {
_x = _x + xInc;
Gravitron();
}
if (_local3.Top && (_local3.Moving)) {
_x = _x + xInc;
Gravitron();
}
if ((((_local3.Bottom && (!_local3.Moving)) && (!_local3.Left)) && (!_local3.Right)) && (!onGround)) {
_x = _x + xInc;
_y = _y + yInc;
}
if ((((!_local3.LeftBC) && (!_local3.RightBC)) && (_local3.Left || (_local3.Right))) && (!onGround)) {
if (State == "thrown") {
_xscale = _xscale * -1;
xInc = xInc * -1;
}
Gravitron();
}
if (((((_local3.LeftBC || (_local3.RightBC)) && (onGround)) && (!_local3.Bottom)) && (!_local3.Left)) && (!_local3.Right)) {
if (!(Shielded && (dodge != undefined))) {
_x = _x + xInc;
}
}
if (((((_local3.LeftBC || (_local3.RightBC)) && (!onGround)) && (!_local3.Left)) && (!_local3.Right)) && (yInc != 0)) {
if (State == "thrown") {
_xscale = _xscale * -1;
xInc = xInc * -1;
}
Gravitron();
} else if (((_local3.LeftBC && (_local3.Left)) || (_local3.RightBC && (_local3.Right))) && (!_local3.Bottom)) {
if (State == "thrown") {
_xscale = _xscale * -1;
xInc = xInc * -1;
}
if (_local3.Moving) {
_x = _x + xInc;
}
Gravitron();
}
if (((((_local3.LeftBC || (_local3.RightBC)) && (!onGround)) && (!_local3.Left)) && (!_local3.Right)) && (!_local3.Bottom)) {
if (State == "thrown") {
_xscale = _xscale * -1;
xInc = xInc * -1;
}
Gravitron();
}
if ((_local3.Left && (_local3.Right)) && (_local3.Moving)) {
_x = _x + xInc;
}
if (_local3.Top && (!_local3.Moving)) {
_x = _x + xInc;
yInc = 0;
_y = (((_local3.Floor + _local3.H) + _height) + 5) + World.WorldMC._y;
HitTester._y = _y;
}
if (_local3.Top && (_local3.Moving)) {
Gravitron();
}
if (((!_local3.Bottom) && (!(_local3.LeftBC && (_local3.RightBC)))) && (yInc != 0)) {
onGround = false;
}
if (onGround && (_local3.Moving)) {
var _local6 = World.WorldMC[OldXN]._x - OldXMov;
if (((_local6 < 10) && (_local6 != 0)) && (OldXN == _local3.MC._name)) {
_x = _x + (_local3.MC._x - OldXMov);
}
OldXMov = _local3.MC._x;
OldXN = _local3.MC._name;
}
}
CheckBounds();
if ((CurrentAttack != "") || (State == "thrown")) {
if (CurrentAttack.substr(0, 7) == "special") {
ParseSAttacks(_local4[ok]);
}
_local4 = WorldObj.CollisionDetectAttack(this, true);
for (var ok in _local4) {
if ((State == "thrown") && (_local4.type == "player")) {
xInc = xInc * -1;
_x = _x + xInc;
_local4[ok].object.xInc = _local4[ok].object.xInc * -1;
_local4[ok].object._x = _local4[ok].object._x + _local4[ok].object.xInc;
return(undefined);
}
ParseAttacks(_local4[ok]);
}
}
Animate();
OldDepth = getDepth();
HitTester._x = _x;
HitTester._y = _y;
}
var CurrentItem = "";
var Blinking = true;
}
Symbol 1093 MovieClip [__Packages.World] Frame 0
class World
{
static var WorldMC;
var Fixed, Moving, HitCheck, Players, AIHelp, Items, Booms, Killers;
function World (MC) {
WorldMC = MC;
Fixed = new Array();
Moving = new Array();
HitCheck = new Array();
Players = new Array();
AIHelp = new Array();
Items = new Array();
Booms = new Array();
Killers = new Array();
for (var _local4 in WorldMC) {
var _local2 = new Object();
if (typeof(WorldMC[_local4]) != "movieclip") {
continue;
}
if (WorldMC[_local4]._name.substr(0, 5) == "Fixed") {
Fixed.push(WorldMC[_local4]);
WorldMC[_local4]._visible = false;
_local2.Type = "fixed";
_local2.Index = Fixed.length - 1;
} else if (WorldMC[_local4]._name.substr(0, 6) == "Moving") {
Moving.push(WorldMC[_local4]);
WorldMC[_local4]._visible = false;
_local2.Type = "moving";
_local2.Index = Moving.length - 1;
} else if (WorldMC[_local4]._name.substr(0, 2) == "AI") {
AIHelp.push(WorldMC[_local4]);
WorldMC[_local4]._visible = false;
_local2.Type = "ai";
var _local3 = WorldMC[_local4]._name.substr(3, 1);
_local2.Subtype = _local3;
_local2.Index = AIHelp.length - 1;
} else if (WorldMC[_local4]._name.substr(0, 4) == "Boom") {
Booms.push(WorldMC[_local4]);
WorldMC[_local4]._visible = false;
_local2.Type = "boom";
_local2.Index = Booms.length - 1;
} else {
if (WorldMC[_local4]._name.substr(0, 6) == "SpawnH") {
WorldMC[_local4]._visible = false;
continue;
}
if (WorldMC[_local4]._name.substr(0, 6) == "Killer") {
Killers.push(WorldMC[_local4]);
WorldMC[_local4]._visible = false;
_local2.Type = "killer";
_local2.Index = Killers.length - 1;
} else {
continue;
}
}
HitCheck.push(_local2);
}
}
function AddPlayer(_Player) {
Players.push(_Player);
}
function CollisionDetectAttack(Caster, _Items) {
var _local5 = new Array();
if (_Items == undefined) {
_Items = false;
}
for (var _local7 in Players) {
if (Players[_local7].hitTest(Caster) && (Players[_local7] != Caster)) {
var _local2 = new Object();
_local2.object = Players[_local7];
_local2.objType = "player";
_local5.push(_local2);
}
}
if (_Items) {
for (var _local6 in Items) {
if (Items[_local6].hitTest(Caster) && (Items[_local6] != Caster)) {
var _local3 = new Object();
_local3.object = Items[_local6];
_local3.objType = "item";
_local5.push(_local3);
}
}
}
return(_local5);
}
function CollisionDetect(MC, Basic, Platforms, Helpers, MovingC, LowRes) {
var _local3 = new Object();
var _local4;
var _local5 = new Object();
var _local7 = false;
var _local11 = false;
_local5.Floor = undefined;
if (Platforms == undefined) {
Platforms = true;
}
if (Helpers == undefined) {
Helpers = false;
}
if (MovingC == undefined) {
MovingC = true;
}
if (LowRes == undefined) {
LowRes = false;
}
for (var _local16 in HitCheck) {
if (HitCheck[_local16].Type == "fixed") {
if (!Platforms) {
continue;
}
_local4 = Fixed[HitCheck[_local16].Index];
} else if (HitCheck[_local16].Type == "moving") {
if ((!Platforms) || (!MovingC)) {
continue;
}
_local4 = Moving[HitCheck[_local16].Index];
} else if (HitCheck[_local16].Type == "ai") {
if (!Helpers) {
continue;
}
_local4 = AIHelp[HitCheck[_local16].Index];
} else if (HitCheck[_local16].Type == "boom") {
_local4 = Booms[HitCheck[_local16].Index];
} else if (HitCheck[_local16].Type == "killer") {
_local4 = Killers[HitCheck[_local16].Index];
}
if (MC.hitTest(_local4)) {
if ((HitCheck[_local16].Type == "boom") && (MC.Owner.CharacterName != undefined)) {
new Explosion(this, undefined, MC._x, MC._y, 4);
}
if (HitCheck[_local16].Type == "killer") {
MC.Owner._x = MC.Owner._x + 30;
MC.Owner.yInc = 0;
return({hitSomething:true});
}
if (Basic) {
if (HitCheck[_local16].Type == "ai") {
return({hitSomething:true, Type:HitCheck[_local16].Subtype});
}
return({hitSomething:true});
}
_local3 = MC.getBounds(_root);
if (_local5.Floor == undefined) {
_local5.Floor = _local4._y;
} else if (_local5.Floor < _local4._y) {
_local5.Floor = _local4._y;
}
if (HitCheck[_local16].Type == "moving") {
_local5.Moving = true;
} else {
_local11 = true;
}
if ((HitCheck[_local16].Type != "moving") || (!LowRes)) {
if (_local4.hitTest(_local3.xMin, ((_local3.yMax - _local3.yMin) / 2) + _local3.yMin, false)) {
_local7 = true;
_local5.Left = true;
}
if (_local4.hitTest(_local3.xMax, ((_local3.yMax - _local3.yMin) / 2) + _local3.yMin, false)) {
_local7 = true;
_local5.Right = true;
}
}
if (_local4.hitTest(_local3.xMax, _local3.yMax, false)) {
_local7 = true;
_local5.RightBC = true;
_local5.MC = _local4;
}
if (_local4.hitTest(_local3.xMin, _local3.yMax, false)) {
_local7 = true;
_local5.LeftBC = true;
_local5.MC = _local4;
}
if (_local4.hitTest(((_local3.xMax - _local3.xMin) / 2) + _local3.xMin, _local3.yMax, false)) {
_local7 = true;
_local5.Bottom = true;
_local5.MC = _local4;
}
if (_local4.hitTest(((_local3.xMax - _local3.xMin) / 2) + _local3.xMin, _local3.yMin, false)) {
_local7 = true;
_local5.Top = true;
_local5.H = _local4._height;
_local5.MC = _local4;
}
}
}
if (_local11) {
_local5.Moving = false;
}
_local5.Hit = _local7;
return(_local5);
}
}
Symbol 1094 MovieClip [__Packages.AuberginePlayer] Frame 0
class AuberginePlayer extends Fighter
{
var yInc, CurrentAttack, AttckDne, _x, _xscale, gotoAndStop, HasControl, ThrowVictim, _y, BulletShot, _parent, WorldObj;
function AuberginePlayer () {
super(0.5, 0.6, 0.4, CharacterName);
}
function AnimateAttack(Which) {
if (Which == "punchAir") {
yInc = yInc - ((yInc > -5) ? 5 : 0);
}
super.AnimateAttack(Which);
}
function ParseAttacks(InfObj, okVar) {
var _local2 = InfObj.object;
if (InfObj.objType == "player") {
if (((_local2.State == "spawn") || (_local2.Invincible)) || (_local2.State == "ko")) {
return(undefined);
}
switch (CurrentAttack) {
case "punchGround" :
case "punchRun" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
if (((_xscale / 100) * (_x - _local2._x)) > 0) {
if (Math.abs(_x - _local2._x) > 20) {
return(undefined);
}
CurrentAttack = "specialBackThrow";
(gotoAndStop(CurrentAttack));// not popped
HasControl = false;
ThrowVictim = _local2;
AttckDne = false;
return(undefined);
}
Snd.PlaySound("Punch");
_local2.Damage(5, this);
_local2.Throw(3, 45 * (_xscale / 100), this);
AttckDne = true;
break;
case "koAttack" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
Snd.PlaySound("Punch");
_local2.Damage(5, this);
_local2.Throw(3, 45 * (_xscale / 100), this);
AttckDne = true;
break;
case "punchUp" :
case "punchAir" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
_local2.Damage(10, this);
var _local4 = ((CurrentAttack == "punchAir") ? 80 : 90);
Snd.PlaySound("Punch");
_local2.Throw(6, _local4 * (_xscale / 100), this);
AttckDne = true;
break;
case "specialUp" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
if ((_y - _local2._y) < 50) {
return(undefined);
}
Snd.PlaySound("Punch");
_local2.Damage(20, this);
_local2.Throw(4, 85 * (_xscale / 100), this);
AttckDne = true;
}
} else if (InfObj.objType == "item") {
switch (CurrentAttack) {
case "punchGround" :
case "punchUp" :
_local2.GetHit(this, Math.abs(_local2._x - _x) <= 30);
}
}
}
function ParseSAttacks(InfObj) {
var _local7 = InfObj.object;
switch (CurrentAttack) {
case "specialBackThrow" :
if (this[CurrentAttack]._totalframes == this[CurrentAttack]._currentframe) {
ThrowVictim.Paralized = 0;
ThrowVictim._rotation = 0;
ThrowVictim.HasControl = true;
HasControl = true;
ThrowVictim.Damage(15, this);
ThrowVictim.Throw(5, 30 * (_xscale / 100), this);
return(undefined);
}
ThrowVictim.HasControl = false;
var _local4 = this[CurrentAttack]._currentframe;
var _local3 = this[CurrentAttack]._totalframes;
var _local6 = (((_xscale / 100) * Math.cos((((_local4 * Math.PI) * 0.8) / _local3) - Math.PI)) * 25) + _x;
var _local5 = (Math.sin((((_local4 * Math.PI) * 0.8) / _local3) - Math.PI) * 25) + _y;
ThrowVictim._x = _local6;
ThrowVictim._y = _local5;
break;
case "specialGround" :
case "specialAir" :
if ((this[CurrentAttack]._currentframe >= 9) && (this[CurrentAttack]._currentframe != undefined)) {
if (BulletShot) {
return(undefined);
}
BulletShot = true;
var _local2 = new Object({x:this[CurrentAttack].pencil._x, y:this[CurrentAttack].pencil._y});
if (_xscale == -100) {
_local2.x = -28;
}
_local2.x = _local2.x + ((this[CurrentAttack]._x + _x) + 5);
_local2.y = _local2.y + ((this[CurrentAttack]._y + _y) - 5);
this[CurrentAttack].pencil._visible = false;
_parent.attachMovie("Pencil", "Pencil" + random(200).toString(), _parent.getNextHighestDepth(), {_x:_local2.x, _y:_local2.y, _xscale:80 * (_xscale / 100), _yscale:80}).init(WorldObj, this);
AttckDne = true;
} else {
BulletShot = false;
}
break;
case "specialUp" :
if (this[CurrentAttack]._currentframe <= 7) {
if (this[CurrentAttack]._currentframe < 3) {
Snd.PlaySound("Woosh");
}
yInc = yInc * 0.2;
} else {
if (this[CurrentAttack]._currentframe <= 7) {
break;
}
yInc = -9;
}
}
}
var CharacterName = "AubergineLock";
}
Symbol 1095 MovieClip [__Packages.SBLPlayer] Frame 0
class SBLPlayer extends Fighter
{
var yInc, CurrentAttack, AttckDne, _x, _xscale, gotoAndStop, HasControl, ThrowVictim, _y, BulletShot;
function SBLPlayer () {
super(0.5, 0.5, 0.5, CharacterName);
}
function AnimateAttack(Which) {
if (Which == "punchAir") {
yInc = yInc - ((yInc > -5) ? 5 : 0);
}
super.AnimateAttack(Which);
}
function ParseAttacks(InfObj, okVar) {
var _local2 = InfObj.object;
if (InfObj.objType == "player") {
if (((_local2.State == "spawn") || (_local2.Invincible)) || (_local2.State == "ko")) {
return(undefined);
}
switch (CurrentAttack) {
case "punchGround" :
case "punchRun" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
if (((_xscale / 100) * (_x - _local2._x)) > 0) {
if (Math.abs(_x - _local2._x) > 20) {
return(undefined);
}
CurrentAttack = "specialBackThrow";
(gotoAndStop(CurrentAttack));// not popped
HasControl = false;
ThrowVictim = _local2;
AttckDne = false;
return(undefined);
}
Snd.PlaySound("Punch");
_local2.Damage(5, this);
_local2.Throw(3, 45 * (_xscale / 100), this);
AttckDne = true;
break;
case "koAttack" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
Snd.PlaySound("Punch");
_local2.Damage(5, this);
_local2.Throw(3, 45 * (_xscale / 100), this);
AttckDne = true;
break;
case "punchUp" :
case "punchAir" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
_local2.Damage(10, this);
var _local5 = ((CurrentAttack == "punchAir") ? 80 : 90);
Snd.PlaySound("Punch");
_local2.Throw(6, _local5 * (_xscale / 100), this);
AttckDne = true;
break;
case "specialGround" :
case "specialAir" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
if ((((Math.abs(_local2._x - _x) < 240) && (Math.abs(_local2._x - _x) > 20)) && (this[CurrentAttack]._currentframe >= 9)) && (this[CurrentAttack]._currentframe < 15)) {
var _local3 = 1 - (1 / (230 / Math.abs(_local2._x - _x)));
if (_local3 < 0.2) {
return(undefined);
}
Snd.PlaySound("Boom");
_local2.Damage(Math.round(10 * _local3), this);
_local2.Throw(5 * _local3, 45 * (_xscale / 100), this);
AttckDne = true;
}
break;
case "specialUp" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
Snd.PlaySound("Punch");
_local2.Damage(20, this);
_local2.Throw(4, 45 * (_xscale / 100), this);
AttckDne = true;
}
} else if (InfObj.objType == "item") {
switch (CurrentAttack) {
case "punchGround" :
case "punchUp" :
_local2.GetHit(this, Math.abs(_local2._x - _x) <= 30);
}
}
}
function ParseSAttacks(InfObj) {
var _local6 = InfObj.object;
switch (CurrentAttack) {
case "specialBackThrow" :
if (this[CurrentAttack]._totalframes == this[CurrentAttack]._currentframe) {
ThrowVictim.Paralized = 0;
ThrowVictim._rotation = 0;
ThrowVictim.HasControl = true;
HasControl = true;
ThrowVictim.Damage(15, this);
ThrowVictim.Throw(5, 30 * (_xscale / 100), this);
return(undefined);
}
ThrowVictim.HasControl = false;
var _local3 = this[CurrentAttack]._currentframe;
var _local2 = this[CurrentAttack]._totalframes;
var _local5 = (((_xscale / 100) * Math.cos((((_local3 * Math.PI) * 0.8) / _local2) - Math.PI)) * 25) + _x;
var _local4 = (Math.sin((((_local3 * Math.PI) * 0.8) / _local2) - Math.PI) * 25) + _y;
ThrowVictim._x = _local5;
ThrowVictim._y = _local4;
break;
case "specialGround" :
case "specialAir" :
if ((this[CurrentAttack]._currentframe >= 5) && (this[CurrentAttack]._currentframe != undefined)) {
if (BulletShot) {
return(undefined);
}
BulletShot = true;
Snd.PlaySound("Kamehameha");
} else {
BulletShot = false;
}
break;
case "specialUp" :
if (this[CurrentAttack]._currentframe <= 2) {
Snd.PlaySound("Woosh");
yInc = yInc * 0.5;
} else {
if (this[CurrentAttack]._currentframe <= 2) {
break;
}
yInc = -8;
}
}
}
var CharacterName = "StrawberryLock";
}
Symbol 1096 MovieClip [__Packages.Poop] Frame 0
class Poop extends Projectile
{
var SelfDamage, Life, xInc, yInc, Sender, Interval, Weight, Age, removeMovieClip, _x;
function Poop () {
super();
}
function init(_WorldObj, _Sender) {
super.init(_WorldObj, _Sender);
SelfDamage = false;
Life = 3000;
xInc = 7;
yInc = 0;
xInc = xInc * (Sender._xscale / 100);
Interval = setInterval(this, "DoPoop", _root.IntTime);
Weight = Sender.Weight;
}
function HitWall(Force) {
if ((Age > Life) || (Force)) {
clearInterval(Interval);
removeMovieClip();
} else {
clearInterval(Interval);
removeMovieClip();
}
}
function HitFighter(Which) {
if ((((Which.object == Sender) && (!SelfDamage)) || (Which.object.Invincible)) || (Which.object.State == "ko")) {
return(undefined);
}
Snd.PlaySound("Fart");
Which.object.Damage(15, Sender);
Which.object.Throw(3, 45 * ((xInc > 0) ? 1 : -1), Sender);
HitWall(true);
}
function DoPoop() {
_x = _x + xInc;
super.DoCommon();
}
}
Symbol 1097 MovieClip [__Packages.CoffeePlayer] Frame 0
class CoffeePlayer extends Fighter
{
var yInc, CurrentAttack, AttckDne, _x, _xscale, gotoAndStop, HasControl, ThrowVictim, _y, BulletShot, _parent, WorldObj;
function CoffeePlayer () {
super(0.4, 0.7, 0.4, CharacterName);
}
function AnimateAttack(Which) {
if (Which == "punchAir") {
yInc = yInc - ((yInc > -5) ? 5 : 0);
}
super.AnimateAttack(Which);
}
function ParseAttacks(InfObj, okVar) {
var _local2 = InfObj.object;
if (InfObj.objType == "player") {
if (((_local2.State == "spawn") || (_local2.Invincible)) || (_local2.State == "ko")) {
return(undefined);
}
switch (CurrentAttack) {
case "punchGround" :
case "punchRun" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
if (((_xscale / 100) * (_x - _local2._x)) > 0) {
if (Math.abs(_x - _local2._x) > 20) {
return(undefined);
}
CurrentAttack = "specialBackThrow";
(gotoAndStop(CurrentAttack));// not popped
HasControl = false;
ThrowVictim = _local2;
AttckDne = false;
return(undefined);
}
Snd.PlaySound("Punch");
_local2.Damage(5, this);
_local2.Throw(3, 45 * (_xscale / 100), this);
AttckDne = true;
break;
case "koAttack" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
Snd.PlaySound("Punch");
_local2.Damage(5, this);
_local2.Throw(3, 45 * (_xscale / 100), this);
AttckDne = true;
break;
case "punchUp" :
case "punchAir" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
_local2.Damage(10, this);
var _local4 = ((CurrentAttack == "punchAir") ? 80 : 90);
Snd.PlaySound("Punch");
_local2.Throw(6, _local4 * (_xscale / 100), this);
AttckDne = true;
break;
case "specialUp" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
Snd.PlaySound("Punch");
_local2.Damage(20, this);
_local2.Throw(4, 45 * (_xscale / 100), this);
AttckDne = true;
}
} else if (InfObj.objType == "item") {
switch (CurrentAttack) {
case "punchGround" :
case "punchUp" :
_local2.GetHit(this, Math.abs(_local2._x - _x) <= 30);
}
}
}
function ParseSAttacks(InfObj) {
var _local7 = InfObj.object;
switch (CurrentAttack) {
case "specialBackThrow" :
if (this[CurrentAttack]._totalframes == this[CurrentAttack]._currentframe) {
ThrowVictim.Paralized = 0;
ThrowVictim._rotation = 0;
ThrowVictim.HasControl = true;
HasControl = true;
ThrowVictim.Damage(15, this);
ThrowVictim.Throw(5, 30 * (_xscale / 100), this);
return(undefined);
}
ThrowVictim.HasControl = false;
var _local4 = this[CurrentAttack]._currentframe;
var _local3 = this[CurrentAttack]._totalframes;
var _local6 = (((_xscale / 100) * Math.cos((((_local4 * Math.PI) * 0.8) / _local3) - Math.PI)) * 25) + _x;
var _local5 = (Math.sin((((_local4 * Math.PI) * 0.8) / _local3) - Math.PI) * 25) + _y;
ThrowVictim._x = _local6;
ThrowVictim._y = _local5;
break;
case "specialGround" :
case "specialAir" :
if ((this[CurrentAttack]._currentframe >= 9) && (this[CurrentAttack]._currentframe != undefined)) {
if (BulletShot) {
return(undefined);
}
BulletShot = true;
this[CurrentAttack].bullet._visible = false;
var _local2 = new Object({x:this[CurrentAttack].poop._x, y:this[CurrentAttack].poop._y});
if (_xscale == -100) {
_local2.x = -7;
}
_local2.x = _local2.x + ((this[CurrentAttack]._x + _x) + 5);
_local2.y = _local2.y + ((this[CurrentAttack]._y + _y) - 5);
this[CurrentAttack].poop._visible = false;
Snd.PlaySound("Fart");
_parent.attachMovie("Poop", "Poop" + random(200).toString(), _parent.getNextHighestDepth(), {_x:_local2.x, _y:_local2.y, _xscale:40 * (_xscale / 100), _yscale:40}).init(WorldObj, this);
AttckDne = true;
} else {
BulletShot = false;
}
break;
case "specialUp" :
if (this[CurrentAttack]._currentframe <= 2) {
Snd.PlaySound("Woosh");
yInc = yInc * 0.5;
} else {
if (this[CurrentAttack]._currentframe <= 2) {
break;
}
yInc = -8;
}
}
}
var CharacterName = "CoffeeLock";
}
Symbol 1098 MovieClip [__Packages.Garbage] Frame 0
class Garbage extends Projectile
{
var SelfDamage, Life, xInc, yInc, Sender, Interval, Weight, gotoAndStop, Age, removeMovieClip, _x, _y, _rotation;
function Garbage () {
super();
}
function Bullet() {
}
function init(_WorldObj, _Sender, Type) {
super.init(_WorldObj, _Sender);
SelfDamage = false;
Life = 500;
if (xInc == undefined) {
yInc = -2;
xInc = 8;
xInc = xInc * (Sender._xscale / 100);
}
Interval = setInterval(this, "DoGarbage", _root.IntTime);
Weight = Sender.Weight;
(gotoAndStop(Type));// not popped
}
function HitWall(Force) {
if ((Age > Life) || (Force)) {
clearInterval(Interval);
removeMovieClip();
} else {
clearInterval(Interval);
removeMovieClip();
}
}
function HitFighter(Which) {
if ((((Which.object == Sender) && (!SelfDamage)) || (Which.object.Invincible)) || (Which.object.State == "ko")) {
return(undefined);
}
Snd.PlaySound("punch");
Which.object.Damage(6, Sender);
Which.object.Throw(3, 45 * ((xInc > 0) ? 1 : -1), Sender);
HitWall(true);
}
function DoGarbage() {
_x = _x + xInc;
yInc = yInc + 0.5;
_y = _y + yInc;
_rotation = _rotation + 20;
super.DoCommon();
}
}
Symbol 1099 MovieClip [__Packages.TrashPlayer] Frame 0
class TrashPlayer extends Fighter
{
var yInc, CurrentAttack, AttckDne, _x, _xscale, gotoAndStop, HasControl, ThrowVictim, _y, BulletShot, _parent, WorldObj, _height;
function TrashPlayer () {
super(0.6, 0.4, 0.5, CharacterName);
}
function AnimateAttack(Which) {
if (Which == "punchAir") {
yInc = yInc - ((yInc > -5) ? 5 : 0);
}
super.AnimateAttack(Which);
}
function ParseAttacks(InfObj, okVar) {
var _local2 = InfObj.object;
if (InfObj.objType == "player") {
if (((_local2.State == "spawn") || (_local2.Invincible)) || (_local2.State == "ko")) {
return(undefined);
}
switch (CurrentAttack) {
case "punchGround" :
case "punchRun" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
if (((_xscale / 100) * (_x - _local2._x)) > 0) {
if (Math.abs(_x - _local2._x) > 20) {
return(undefined);
}
CurrentAttack = "specialBackThrow";
(gotoAndStop(CurrentAttack));// not popped
HasControl = false;
ThrowVictim = _local2;
AttckDne = false;
return(undefined);
}
Snd.PlaySound("Punch");
_local2.Damage(5, this);
_local2.Throw(3, 45 * (_xscale / 100), this);
AttckDne = true;
break;
case "koAttack" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
Snd.PlaySound("Punch");
_local2.Damage(5, this);
_local2.Throw(3, 45 * (_xscale / 100), this);
AttckDne = true;
break;
case "punchUp" :
case "punchAir" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
Snd.PlaySound("Punch");
_local2.Damage(10, this);
var _local4 = ((CurrentAttack == "punchAir") ? 80 : 90);
_local2.Throw(6, _local4 * (_xscale / 100), this);
AttckDne = true;
break;
case "specialUp" :
}
} else if (InfObj.objType == "item") {
switch (CurrentAttack) {
case "punchGround" :
case "punchUp" :
_local2.GetHit(this, Math.abs(_local2._x - _x) <= 30);
}
}
}
function ParseSAttacks(InfObj) {
var _local10 = InfObj.object;
switch (CurrentAttack) {
case "specialBackThrow" :
if (this[CurrentAttack]._totalframes == this[CurrentAttack]._currentframe) {
ThrowVictim.Paralized = 0;
ThrowVictim._rotation = 0;
ThrowVictim.HasControl = true;
HasControl = true;
ThrowVictim.Damage(15, this);
ThrowVictim.Throw(5, 30 * (_xscale / 100), this);
return(undefined);
}
ThrowVictim.HasControl = false;
var _local9 = this[CurrentAttack]._currentframe;
var _local8 = this[CurrentAttack]._totalframes;
var _local12 = (((_xscale / 100) * Math.cos((((_local9 * Math.PI) * 0.8) / _local8) - Math.PI)) * 25) + _x;
var _local11 = (Math.sin((((_local9 * Math.PI) * 0.8) / _local8) - Math.PI) * 25) + _y;
ThrowVictim._x = _local12;
ThrowVictim._y = _local11;
break;
case "specialGround" :
case "specialAir" :
if ((this[CurrentAttack]._currentframe >= 6) && (this[CurrentAttack]._currentframe != undefined)) {
if (BulletShot) {
return(undefined);
}
BulletShot = true;
this[CurrentAttack].garbage._visible = false;
var _local7 = new Object({x:this[CurrentAttack].garbage._x, y:this[CurrentAttack].garbage._y});
if (_xscale == -100) {
_local7.x = -12;
}
_local7.x = _local7.x + ((this[CurrentAttack]._x + _x) + 5);
_local7.y = _local7.y + ((this[CurrentAttack]._y + _y) - 7);
_parent.attachMovie("Garbage", "Garbage" + random(200).toString(), _parent.getNextHighestDepth(), {_x:_local7.x, _y:_local7.y, _xscale:100 * (_xscale / 100), _yscale:100}).init(WorldObj, this, this[CurrentAttack].garbage._currentframe);
AttckDne = true;
} else {
BulletShot = false;
}
break;
case "specialUp" :
if (this[CurrentAttack]._currentframe < 10) {
yInc = yInc * 0.5;
} else {
yInc = -6;
}
if ((this[CurrentAttack]._currentframe > 10) && (_local10._y <= (_y + 5))) {
if (BulletShot) {
return(undefined);
}
BulletShot = true;
Snd.PlaySound("Boom");
var _local2 = 0;
while (_local2 < 20) {
var _local4;
var _local3 = 0;
_local4 = Math.cos(((_local2 * 18) * Math.PI) / 180) * 15;
_local3 = Math.sin(((_local2 * 18) * Math.PI) / 180) * 15;
_parent.attachMovie("Garbage", "Garbage" + random(200), _parent.getNextHighestDepth(), {_x:_x, _y:_y - (_height / 2), _xscale:100 * (_xscale / 100), _yscale:100, xInc:_local4, yInc:_local3}).init(WorldObj, this, random(6));
_local2++;
}
} else {
BulletShot = false;
}
}
}
var CharacterName = "TrashLock";
}
Symbol 1100 MovieClip [__Packages.Rocket] Frame 0
class Rocket extends Projectile
{
var SelfDamage, Life, Interval, Weight, Sender, Age, removeMovieClip, WorldObj, _x, _y, xInc, yInc, _rotation;
function Rocket () {
super();
}
function init(_WorldObj, _Sender) {
super.init(_WorldObj, _Sender);
SelfDamage = false;
Life = 3000;
Interval = setInterval(this, "DoRocket", _root.IntTime);
Weight = Sender.Weight;
}
function HitWall(Force) {
if ((Age > Life) || (Force)) {
clearInterval(Interval);
removeMovieClip();
}
}
function HitFighter(Which) {
if ((((Which.object == Sender) && (!SelfDamage)) || (Which.object.Invincible)) || (Which.object.State == "ko")) {
return(undefined);
}
new Explosion(WorldObj, Sender, _x, _y, 5);
HitWall(true);
}
function DoRocket() {
_x = _x + xInc;
yInc = yInc + 0.5;
_y = _y + yInc;
_rotation = ((Math.atan2(yInc, xInc) * 180) / Math.PI) + 90;
super.DoCommon();
}
}
Symbol 1101 MovieClip [__Packages.Bullet] Frame 0
class Bullet extends Projectile
{
var SelfDamage, Life, xInc, Sender, Interval, Weight, Age, removeMovieClip, _x;
function Bullet () {
super();
}
function init(_WorldObj, _Sender) {
super.init(_WorldObj, _Sender);
SelfDamage = false;
Life = 3000;
xInc = 20;
xInc = xInc * (Sender._xscale / 100);
Interval = setInterval(this, "DoBullet", _root.IntTime);
Weight = Sender.Weight;
}
function HitWall(Force) {
if ((Age > Life) || (Force)) {
clearInterval(Interval);
removeMovieClip();
} else {
clearInterval(Interval);
removeMovieClip();
}
}
function HitFighter(Which) {
if ((((Which.object == Sender) && (!SelfDamage)) || (Which.object.Invincible)) || (Which.object.State == "ko")) {
return(undefined);
}
Snd.PlaySound("Headshot");
Which.object.Damage(10, Sender);
Which.object.Throw(3, 45 * ((xInc > 0) ? 1 : -1), Sender);
HitWall(true);
}
function DoBullet() {
_x = _x + xInc;
super.DoCommon();
}
}
Symbol 1102 MovieClip [__Packages.PeachPlayer] Frame 0
class PeachPlayer extends Fighter
{
var yInc, CurrentAttack, AttckDne, _x, _xscale, gotoAndStop, HasControl, ThrowVictim, _y, BulletShot, _parent, WorldObj;
function PeachPlayer () {
super(0.4, 0.5, 0.6, CharacterName);
}
function AnimateAttack(Which) {
if (Which == "punchAir") {
yInc = yInc - ((yInc > -5) ? 5 : 0);
}
super.AnimateAttack(Which);
}
function ParseAttacks(InfObj, okVar) {
var _local2 = InfObj.object;
if (InfObj.objType == "player") {
if (((_local2.State == "spawn") || (_local2.Invincible)) || (_local2.State == "ko")) {
return(undefined);
}
switch (CurrentAttack) {
case "punchGround" :
case "punchRun" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
if (((_xscale / 100) * (_x - _local2._x)) > 0) {
if (Math.abs(_x - _local2._x) > 20) {
return(undefined);
}
CurrentAttack = "specialBackThrow";
(gotoAndStop(CurrentAttack));// not popped
HasControl = false;
ThrowVictim = _local2;
AttckDne = false;
return(undefined);
}
Snd.PlaySound("Punch");
_local2.Damage(5, this);
_local2.Throw(3, 45 * (_xscale / 100), this);
AttckDne = true;
break;
case "koAttack" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
Snd.PlaySound("Punch");
_local2.Damage(5, this);
_local2.Throw(3, 45 * (_xscale / 100), this);
AttckDne = true;
break;
case "punchUp" :
case "punchAir" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
_local2.Damage(10, this);
var _local4 = ((CurrentAttack == "punchAir") ? 80 : 90);
Snd.PlaySound("Punch");
_local2.Throw(6, _local4 * (_xscale / 100), this);
AttckDne = true;
break;
case "specialGround" :
case "specialAir" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
_local2.Damage(10, this);
_local2.Throw(3, 45 * (_xscale / 100), this);
AttckDne = true;
}
} else if (InfObj.objType == "item") {
switch (CurrentAttack) {
case "punchGround" :
case "punchUp" :
_local2.GetHit(this, Math.abs(_local2._x - _x) <= 30);
}
}
}
function ParseSAttacks(InfObj) {
var _local9 = InfObj.object;
switch (CurrentAttack) {
case "specialBackThrow" :
if (this[CurrentAttack]._totalframes == this[CurrentAttack]._currentframe) {
ThrowVictim.Paralized = 0;
ThrowVictim._rotation = 0;
ThrowVictim.HasControl = true;
HasControl = true;
ThrowVictim.Damage(15, this);
ThrowVictim.Throw(5, 30 * (_xscale / 100), this);
return(undefined);
}
ThrowVictim.HasControl = false;
var _local5 = this[CurrentAttack]._currentframe;
var _local4 = this[CurrentAttack]._totalframes;
var _local8 = (((_xscale / 100) * Math.cos((((_local5 * Math.PI) * 0.8) / _local4) - Math.PI)) * 25) + _x;
var _local7 = (Math.sin((((_local5 * Math.PI) * 0.8) / _local4) - Math.PI) * 25) + _y;
ThrowVictim._x = _local8;
ThrowVictim._y = _local7;
break;
case "specialGround" :
case "specialAir" :
if ((this[CurrentAttack]._currentframe >= 5) && (this[CurrentAttack]._currentframe != undefined)) {
if (BulletShot) {
return(undefined);
}
BulletShot = true;
this[CurrentAttack].bullet._visible = false;
var _local2 = new Object({x:this[CurrentAttack].bullet._x, y:this[CurrentAttack].bullet._y});
if (_xscale == -100) {
_local2.x = -54;
}
_local2.x = _local2.x + ((this[CurrentAttack]._x + _x) + 5);
_local2.y = _local2.y + ((this[CurrentAttack]._y + _y) - 7);
Snd.PlaySound("Gun");
_parent.attachMovie("Bullet", "Bullet" + random(200).toString(), _parent.getNextHighestDepth(), {_x:_local2.x, _y:_local2.y, _xscale:50 * (_xscale / 100), _yscale:50}).init(WorldObj, this);
AttckDne = true;
} else {
BulletShot = false;
}
break;
case "specialUp" :
if (this[CurrentAttack]._currentframe < 7) {
yInc = yInc * 0.5;
} else if ((this[CurrentAttack]._currentframe >= 7) && (this[CurrentAttack]._currentframe <= 10)) {
yInc = -6;
}
if (this[CurrentAttack]._currentframe > 14) {
if (BulletShot) {
return(undefined);
}
yInc = -5;
BulletShot = true;
var _local6;
var _local3 = 0;
var _local2 = new Object({x:this[CurrentAttack].rocket._x, y:this[CurrentAttack].rocket._y, rot:this[CurrentAttack].rocket._rotation});
if (_xscale == -100) {
_local2.x = -12;
_local2.rot = -_local2.rot;
}
_local6 = Math.cos(((_local2.rot - 90) * Math.PI) / 180) * 15;
_local3 = Math.sin(((_local2.rot - 90) * Math.PI) / 180) * 15;
this[CurrentAttack].rocket._visible = false;
_local2.x = _local2.x + ((this[CurrentAttack]._x + _x) + 5);
_local2.y = _local2.y + ((this[CurrentAttack]._y + _y) - 7);
Snd.PlaySound("Rocket");
_parent.attachMovie("Rocket", "Rocket" + random(200), _parent.getNextHighestDepth(), {_x:_local2.x, _y:_local2.y, _xscale:100 * (_xscale / 100), _yscale:100, xInc:_local6, yInc:_local3, _rotation:_local2.rot}).init(WorldObj, this);
} else {
BulletShot = false;
}
}
}
var CharacterName = "PeachLock";
}
Symbol 1103 MovieClip [__Packages.EnergyBall] Frame 0
class EnergyBall extends Projectile
{
var SelfDamage, Life, xInc, Sender, Interval, Weight, Age, removeMovieClip, _x, _y;
function EnergyBall () {
super();
}
function init(_WorldObj, _Sender) {
super.init(_WorldObj, _Sender);
SelfDamage = false;
Life = 2000;
xInc = 5;
xInc = xInc * (Sender._xscale / 100);
Interval = setInterval(this, "DoBall", _root.IntTime);
Weight = Sender.Weight;
}
function HitWall(Force) {
if ((Age > Life) || (Force)) {
removeMovieClip();
clearInterval(Interval);
} else {
xInc = xInc * -1;
if (xInc > 0) {
_x = _x + 15;
} else {
_x = _x - 15;
}
}
}
function HitFighter(Which) {
if ((((Which.object == Sender) && (!SelfDamage)) || (Which.object.Invincible)) || (Which.object.State == "ko")) {
return(undefined);
}
Which.object.State = "electrocuted";
Which.object.Damage(7, Sender);
Which.object.Modifiers.Electrocuted = true;
Which.object.Paralized = 100;
Which.object.Throw(2.5, 45 * ((xInc > 0) ? 1 : -1), this);
HitWall(true);
}
function DoBall() {
_x = _x + xInc;
_y = _y + (Math.sin(((_x * Math.PI) / 180) * 10) * 2);
super.DoCommon();
}
}
Symbol 1104 MovieClip [__Packages.DefaultPlayer] Frame 0
class DefaultPlayer extends Fighter
{
var yInc, CurrentAttack, AttckDne, _x, _xscale, gotoAndStop, HasControl, ThrowVictim, _y, _parent, WorldObj;
function DefaultPlayer () {
super(0.5, 0.5, 0.5, CharacterName);
}
function AnimateAttack(Which) {
if (Which == "punchAir") {
yInc = yInc - ((yInc > -5) ? 5 : 0);
}
super.AnimateAttack(Which);
}
function ParseAttacks(InfObj, okVar) {
var _local2 = InfObj.object;
if (InfObj.objType == "player") {
if (((_local2.State == "spawn") || (_local2.Invincible)) || (_local2.State == "ko")) {
return(undefined);
}
switch (CurrentAttack) {
case "punchGround" :
case "punchRun" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
if (((_xscale / 100) * (_x - _local2._x)) > 0) {
if (Math.abs(_x - _local2._x) > 20) {
return(undefined);
}
CurrentAttack = "specialBackThrow";
(gotoAndStop(CurrentAttack));// not popped
HasControl = false;
ThrowVictim = _local2;
AttckDne = false;
return(undefined);
}
Snd.PlaySound("Punch");
_local2.Damage(5, this);
_local2.Throw(3, 45 * (_xscale / 100), this);
AttckDne = true;
break;
case "koAttack" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
Snd.PlaySound("Punch");
_local2.Damage(5, this);
_local2.Throw(3, 45 * (_xscale / 100), this);
AttckDne = true;
break;
case "punchUp" :
case "punchAir" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
Snd.PlaySound("Punch");
_local2.Damage(10, this);
var _local4 = ((CurrentAttack == "punchAir") ? 80 : 90);
_local2.Throw(6, _local4 * (_xscale / 100), this);
AttckDne = true;
break;
case "specialGround" :
case "specialAir" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
Snd.PlaySound("Electric");
_local2.State = "electrocuted";
_local2.Damage(10, this);
_local2.Modifiers.Electrocuted = true;
_local2.Paralized = 100;
_local2.Throw(2.5, 45 * (_xscale / 100), this);
AttckDne = true;
break;
case "specialUp" :
if (((_local2.State == "thrown") || (_local2.State == "ko")) && (AttckDne)) {
return(undefined);
}
if (!((this[CurrentAttack]._currentframe > 10) && (_local2._y <= (_y + 5)))) {
break;
}
Snd.PlaySound("Electric");
_local2.State = "electrocuted";
_local2.Damage(20, this);
_local2.Modifiers.Electrocuted = true;
_local2.Paralized = 300;
_local2.Throw(5, 45 * (_xscale / 100), this);
AttckDne = true;
}
} else if (InfObj.objType == "item") {
switch (CurrentAttack) {
case "punchGround" :
case "punchUp" :
_local2.GetHit(this, Math.abs(_local2._x - _x) <= 30);
}
}
}
function ParseSAttacks(InfObj) {
var _local7 = InfObj.object;
switch (CurrentAttack) {
case "specialBackThrow" :
if (this[CurrentAttack]._totalframes == this[CurrentAttack]._currentframe) {
ThrowVictim.Paralized = 0;
ThrowVictim._rotation = 0;
ThrowVictim.HasControl = true;
HasControl = true;
ThrowVictim.Damage(15, this);
ThrowVictim.Throw(5, 30 * (_xscale / 100), this);
return(undefined);
}
ThrowVictim.HasControl = false;
var _local4 = this[CurrentAttack]._currentframe;
var _local3 = this[CurrentAttack]._totalframes;
var _local6 = (((_xscale / 100) * Math.cos((((_local4 * Math.PI) * 0.8) / _local3) - Math.PI)) * 25) + _x;
var _local5 = (Math.sin((((_local4 * Math.PI) * 0.8) / _local3) - Math.PI) * 25) + _y;
ThrowVictim._x = _local6;
ThrowVictim._y = _local5;
break;
case "specialGround" :
case "specialAir" :
if ((this[CurrentAttack]._currentframe == this[CurrentAttack]._totalframes) && (this[CurrentAttack]._currentframe != undefined)) {
var _local2 = new Object({x:this[CurrentAttack].hand._x, y:this[CurrentAttack].hand._y});
if (_xscale == -100) {
_local2.x = -10;
}
_local2.x = _local2.x + ((this[CurrentAttack]._x + _x) + 5);
_local2.y = _local2.y + ((this[CurrentAttack]._y + _y) - 7);
_parent.attachMovie("EnergyBall", "EnergyBall" + random(200).toString(), _parent.getNextHighestDepth(), {_x:_local2.x, _y:_local2.y, _xscale:50 * (_xscale / 100), _yscale:50}).init(WorldObj, this);
AttckDne = true;
}
break;
case "specialUp" :
if (this[CurrentAttack]._currentframe < 10) {
yInc = yInc * 0.5;
} else {
if (this[CurrentAttack]._currentframe < 12) {
Snd.PlaySound("Thunder");
}
yInc = -6;
}
}
}
var CharacterName = "BallLock";
}
Symbol 1105 MovieClip [__Packages.RedGuy] Frame 0
class RedGuy extends Fighter
{
var CurrentAttack, AttckDne;
function RedGuy () {
super(0.5, 0.5, 0.5, "Red Guy");
}
function ParseAttacks(InfObj) {
var _local2 = InfObj.object;
if (InfObj.objType == "player") {
switch (CurrentAttack) {
case "punchGround" :
if ((_local2.State == "thrown") && (AttckDne)) {
return(undefined);
}
_local2.Throw(3, 45, this);
_local2.Damage(5);
AttckDne = true;
break;
case "punchUp" :
if ((_local2.State == "thrown") && (AttckDne)) {
return(undefined);
}
_local2.Throw(4, 90, this);
_local2.Damage(10);
AttckDne = true;
}
}
}
var CharacterName = "RedGuy";
}
Symbol 1106 MovieClip [__Packages.OSD] Frame 0
class OSD extends MovieClip
{
var Players, Quick, attachMovie, getNextHighestDepth, _parent, Time, ShowFar;
function OSD () {
super();
Players = new Array();
Quick = new Object();
}
function init(_Players) {
Players = _Players;
for (var _local3 in Players) {
Quick[Players[_local3]._name] = _local3;
}
var _local2 = 0;
while (_local2 < Players.length) {
AddDamageGraphic(_local2);
_local2++;
}
}
function AddDamageGraphic(i) {
attachMovie("OSDDamage", "OSDD" + i, getNextHighestDepth(), {_x:(150 * i) + 60, _y:340});
var _local4 = new flash.geom.Transform(this["OSDD" + i].bigicon);
var _local3 = new flash.geom.ColorTransform();
this["OSDD" + i].bigicon.gotoAndStop(Players[i].CharacterName);
switch (Players[i].Team) {
case "red" :
_local3.greenMultiplier = 0;
_local3.blueMultiplier = 0;
_local3.redOffset = 255;
break;
case "blue" :
_local3.redMultiplier = 0;
_local3.greenMultiplier = 0;
break;
case "orange" :
_local3.greenMultiplier = 0.5;
_local3.blueMultiplier = 0;
_local3.redOffset = 40;
_local3.greenOffset = 40;
break;
case "green" :
_local3.blueMultiplier = 0;
_local3.redMultiplier = 0;
}
_local4.colorTransform = _local3;
this["OSDD" + i].bigicon._alpha = 50;
if (_parent.Game.LimitMode != "stock") {
this["OSDD" + i].Counter._visible = true;
this["OSDD" + i].Counter.Lives._visible = false;
} else {
this["OSDD" + i].Counter._visible = true;
this["OSDD" + i].Counter.gotoAndStop("More");
}
UpdateLives(Players[i], true);
UpdateDamage(Players[i]);
this["OSDD" + i].gotoAndStop(1);
_parent.attachMovie("FarIndicator", "FarInd" + i, _parent.getNextHighestDepth(), {_visible:false}).gotoAndStop(Players[i].Team);
_parent["FarInd" + i].PTxt.text = (_parent.PlayersL[i].AI ? "CP" : ("P" + (i + 1)));
}
function UpdateLives(Player, isInit) {
var _local4 = this["OSDD" + Quick[Player._name]].Counter;
if (!isInit) {
Player.Lives--;
}
if (Player.Lives < 6) {
if (Player.Lives == 0) {
_local4._visible = false;
this["OSDD" + Quick[Player._name]].dmgMC.damage._visible = false;
}
_local4.gotoAndStop("Less");
if (_local4["Ic" + Player.Lives] == undefined) {
var _local2 = 1;
while (_local2 <= Player.Lives) {
_local4.attachMovie("OSDLifeGraphic", "Ic" + _local2, _local4.getNextHighestDepth(), {_x:(_local2 - 1) * 17, _y:0}).gotoAndStop(Player.CharacterName);
_local4["Ic" + _local2].Embed.gotoAndStop(Player.Colr);
_local2++;
}
} else {
_local4["Ic" + (Player.Lives + 1)].removeMovieClip();
}
} else {
_local4.gotoAndStop("More");
_local4.PGraphic.gotoAndStop(Player.CharacterName);
_local4.PGraphic.Embed.gotoAndStop(Player.Colr);
_local4.Lives.text = "x" + Player.Lives;
}
if (!isInit) {
Player.Lives++;
}
}
function UpdateDamage(Player) {
this["OSDD" + Quick[Player._name]].dmgMC.damage.text = Player.DamageAmnt + "%";
this["OSDD" + Quick[Player._name]].gotoAndPlay(2);
}
function OutBounds(Player) {
_parent.attachMovie("PosIndicator", Player._name + "Ind", _parent.getNextHighestDepth())._visible = false;
_parent[Player._name + "Ind"].gotoAndStop(Player.Team);
_parent.attachMovie(Player.FighterName, Player._name + "Vis", _parent.getNextHighestDepth(), {IsDisp:true, AttachedPlayer:Player, Colr:Player.Colr})._visible = false;
}
function Die(Player, DeathType, Killer) {
var _local3 = 0;
switch (DeathType) {
case "lef" :
_local3 = 90;
break;
case "rig" :
_local3 = -90;
break;
case "bot" :
_local3 = 0;
break;
case "top" :
_local3 = 180;
}
this["OSDD" + Quick[Player._name]].damage.text = "0%";
UpdateLives(Player, false);
if (Killer != undefined) {
this["OSDD" + Quick[Killer._name]].ScoreUpper.gotoAndPlay("Plus1");
}
if (_parent.Game.LimitMode == "time") {
this["OSDD" + Quick[Player._name]].ScoreUpper.gotoAndPlay("Minus1");
}
Snd.PlaySound("Thunder");
Snd.PlaySound("Boom");
var _local2 = "PlayerDeath" + _parent.getNextHighestDepth();
_parent.attachMovie("PlayerDeath", _local2, _parent.getNextHighestDepth(), {_x:Player._x, _y:Player._y, _rotation:_local3});
_parent.attachMovie("CameraTrick", _local2 + "tricky", _parent.getNextHighestDepth(), {_x:Player._x * 0.95, _y:Player._y * 0.95});
_parent[_local2 + "tricky"]._visible = false;
_parent[_local2 + "tricky"].Ind = _parent.VCam.FocusObjs.push(_parent[_local2 + "tricky"]) - 1;
_parent.VCam.Shake(500);
}
function DoOSD() {
if (_parent.Game.LimitMode == "time") {
Time._visible = true;
var _local3 = _parent.Game.LimitVal % 60;
var _local4 = (_parent.Game.LimitVal - _local3) / 60;
var _local5 = ((_local3 > 9) ? (_local3) : ("0" + _local3));
var _local6 = ((_local4 > 9) ? (_local4) : ("0" + _local4));
Time.text = (_local6 + ":") + _local5;
if (_parent.Game.LimitVal < 30) {
Time.textColor = 13369344 /* 0xCC0000 */;
}
} else {
Time._visible = false;
}
if (_parent.VCam.scaleX < 1.5) {
ShowFar = true;
} else if ((_parent.VCam.scaleX >= 1) && (ShowFar)) {
var _local2 = 0;
while (_local2 < Players.length) {
_parent["FarInd" + _local2]._visible = false;
_local2++;
}
ShowFar = false;
}
if (ShowFar) {
var _local2 = 0;
while (_local2 < Players.length) {
if (Players[_local2].Dead) {
_parent["FarInd" + _local2]._visible = false;
} else {
_parent["FarInd" + _local2]._visible = true;
_parent["FarInd" + _local2]._x = Players[_local2]._x;
_parent["FarInd" + _local2]._y = Players[_local2]._y;
_parent["FarInd" + _local2]._xscale = (1 / _parent.VCam.scaleX) * 100;
_parent["FarInd" + _local2]._yscale = _parent["FarInd" + _local2]._xscale;
}
_local2++;
}
}
}
}
Symbol 1107 MovieClip [__Packages.Mine] Frame 0
class Mine extends Item
{
var gotoAndStop, Influenced, _y, SelfDamage, Life, TimeActive, Interval, _x, _rotation, yInc, XDif, YDif, PlatN, _visible, SetState, WorldObj, Sender, Destroy, xInc, Throw, State;
function Mine () {
super();
}
function init(_WorldObj) {
super.init(_WorldObj);
(gotoAndStop("spawn"));// not popped
Influenced = new Array(4);
_y = _y - 2;
SelfDamage = false;
Life = 20000;
TimeActive = 0;
Interval = setInterval(this, "DoMine", _root.IntTime);
}
function HitWall(HitData) {
(gotoAndStop("active"));// not popped
if ((HitData.RightBC && (!HitData.Bottom)) && (!HitData.LeftBC)) {
_x = HitData.MC._x + World.WorldMC._x;
_rotation = -90;
} else if ((HitData.LeftBC && (!HitData.Bottom)) && (!HitData.RightBC)) {
_x = (HitData.MC._x + HitData.MC._width) + World.WorldMC._x;
_rotation = 90;
} else if (HitData.Bottom && (yInc > 0)) {
_y = HitData.Floor + World.WorldMC._y;
_rotation = 0;
} else {
return(undefined);
}
Snd.PlaySound("MineActivate");
XDif = (_x - HitData.MC._x) - World.WorldMC._x;
YDif = (_y - HitData.MC._y) - World.WorldMC._y;
PlatN = HitData.MC._name;
_visible = true;
SetState(0);
}
function Explode() {
new Explosion(WorldObj, Sender, _x, _y, 3);
Destroy();
}
function HitFighter(Which) {
if (((Which == Sender) && (!SelfDamage)) || (Influenced[Which.PlayNum - 1] != undefined)) {
return(undefined);
}
Which.Throw(2, 45, Sender);
Which.Damage(20, Sender);
var _local3 = ((xInc > 0) ? -5 : 5);
_x = _x - xInc;
Throw(Math.abs(xInc) * 0.6, _local3);
Influenced[Which.PlayNum - 1] = 1;
}
function GetHit(_Sender, ForceGrab) {
if (State == 1) {
if (_Sender.CurrentItem != "") {
return(undefined);
}
SetState(3);
_Sender.CurrentItem = Name;
_Sender.CurrentItemObj = this;
Sender = _Sender;
_visible = false;
}
}
function Use(Attack) {
_x = (((Sender[Attack].hand._x * (Sender._xscale / 100)) + (Sender[Attack]._x * (Sender._xscale / 100))) + Sender._x) + Sender[Attack]._x;
_y = (Sender[Attack].hand._y + Sender._y) + Sender[Attack]._y;
var _local3 = 10;
var _local4 = 8;
if (Attack == "punchUp") {
_local3 = 90;
_local4 = 15;
_x = Sender._x;
} else if (Attack == "punchAirDown") {
_local3 = -90;
}
Throw(_local4, _local3 * (Sender._xscale / 100));
Sender.CurrentItem = "";
Sender.CurrentItemObj = undefined;
return(false);
}
function DoMine() {
super.DoCommon();
if (State == 0) {
_x = (World.WorldMC[PlatN]._x + World.WorldMC._x) + XDif;
_y = (World.WorldMC[PlatN]._y + World.WorldMC._y) + YDif;
TimeActive = TimeActive + _root.IntTime;
if (TimeActive < 1000) {
return(undefined);
}
var _local4 = WorldObj.CollisionDetectAttack(this, false);
var _local6;
for (var _local5 in _local4) {
Explode();
}
}
}
var Name = "mine";
}
Symbol 1108 MovieClip [__Packages.PlayerControl] Frame 0
class PlayerControl
{
static var Fighter1, C, Fighter2, Fighter3, Fighter4, Trc;
function PlayerControl () {
}
static function init() {
if (Fighter1 != undefined) {
KeyCombi.register(C.L1, C.R1, C.U1, C.D1, C.P1, C.S1, C.B1);
}
if (Fighter2 != undefined) {
KeyCombi.register(C.L2, C.R2, C.U2, C.D2, C.P2, C.S2, C.B2);
}
if (Fighter3 != undefined) {
KeyCombi.register(C.L3, C.R3, C.U3, C.D3, C.P3, C.S3, C.B3);
}
if (Fighter4 != undefined) {
KeyCombi.register(C.L4, C.R4, C.U4, C.D4, C.P4, C.S4, C.B4);
}
KeyCombi.init();
Trc = new Object({Up1:false, Up2:false, Up3:false, Up4:false});
if (Fighter1 != undefined) {
_root["keyhold" + C.U1] = function (tmeDwn) {
if (tmeDwn < PlayerControl.Reflex) {
PlayerControl.Trc.Up1 = true;
} else {
PlayerControl.Trc.Up1 = false;
}
if (!PlayerControl.Trc.Up1) {
PlayerControl.Fighter1.Jump();
}
};
_root["keydown" + C.B1] = function () {
if (PlayerControl.Fighter1.xInc == 0) {
PlayerControl.Fighter1.Shielded = true;
}
};
_root["keyup" + C.B1] = function () {
PlayerControl.Fighter1.Shielded = false;
};
_root["keyup" + C.U1] = function () {
PlayerControl.Fighter1.Jump();
PlayerControl.Trc.Up1 = false;
};
_root["keyhold" + C.D1] = function () {
PlayerControl.Fighter1.Move("down");
};
_root["keyup" + C.D1] = function () {
PlayerControl.Fighter1.Move("stop");
};
_root["keydown" + C.L1] = function () {
PlayerControl.Fighter1.Move("left");
};
_root["keydown" + C.S1] = function () {
if (PlayerControl.Trc.Up1) {
PlayerControl.Fighter1.Attack("special", "up");
PlayerControl.Trc.Up1 = false;
}
PlayerControl.Fighter1.Attack("special", "none");
};
_root["keyup" + C.L1] = function () {
if (!Key.isDown(PlayerControl.C.R1)) {
PlayerControl.Fighter1.Move("stop");
}
};
_root["keydown" + C.R1] = function () {
PlayerControl.Fighter1.Move("right");
};
_root["keyup" + C.R1] = function () {
if (!Key.isDown(PlayerControl.C.L1)) {
PlayerControl.Fighter1.Move("stop");
}
};
_root["keydown" + C.P1] = function () {
if (PlayerControl.Trc.Up1) {
PlayerControl.Fighter1.Attack("punch", "up");
PlayerControl.Trc.Up1 = false;
}
PlayerControl.Fighter1.Attack("punch", "none");
};
}
if (Fighter2 != undefined) {
_root["keyhold" + C.U2] = function (tmeDwn) {
if (tmeDwn < PlayerControl.Reflex) {
PlayerControl.Trc.Up2 = true;
} else {
PlayerControl.Trc.Up2 = false;
}
if (!PlayerControl.Trc.Up2) {
PlayerControl.Fighter2.Jump();
}
};
_root["keydown" + C.B2] = function () {
if (PlayerControl.Fighter2.xInc == 0) {
PlayerControl.Fighter2.Shielded = true;
}
};
_root["keyup" + C.B2] = function () {
PlayerControl.Fighter2.Shielded = false;
};
_root["keyup" + C.U2] = function () {
PlayerControl.Fighter2.Jump();
PlayerControl.Trc.Up2 = false;
};
_root["keyhold" + C.D2] = function () {
PlayerControl.Fighter2.Move("down");
};
_root["keyup" + C.D2] = function () {
PlayerControl.Fighter2.Move("stop");
};
_root["keydown" + C.L2] = function () {
PlayerControl.Fighter2.Move("left");
};
_root["keydown" + C.S2] = function () {
if (PlayerControl.Trc.Up2) {
PlayerControl.Fighter2.Attack("special", "up");
PlayerControl.Trc.Up2 = false;
}
PlayerControl.Fighter2.Attack("special", "none");
};
_root["keyup" + C.L2] = function () {
if (!Key.isDown(PlayerControl.C.R2)) {
PlayerControl.Fighter2.Move("stop");
}
};
_root["keydown" + C.R2] = function () {
PlayerControl.Fighter2.Move("right");
};
_root["keyup" + C.R2] = function () {
if (!Key.isDown(PlayerControl.C.L2)) {
PlayerControl.Fighter2.Move("stop");
}
};
_root["keydown" + C.P2] = function () {
if (PlayerControl.Trc.Up2) {
PlayerControl.Fighter2.Attack("punch", "up");
PlayerControl.Trc.Up2 = false;
}
PlayerControl.Fighter2.Attack("punch", "none");
};
}
if (Fighter3 != undefined) {
_root["keyhold" + C.U3] = function (tmeDwn) {
if (tmeDwn < PlayerControl.Reflex) {
PlayerControl.Trc.Up3 = true;
} else {
PlayerControl.Trc.Up3 = false;
}
if (!PlayerControl.Trc.Up3) {
PlayerControl.Fighter3.Jump();
}
};
_root["keydown" + C.B3] = function () {
if (PlayerControl.Fighter3.xInc == 0) {
PlayerControl.Fighter3.Shielded = true;
}
};
_root["keyup" + C.B3] = function () {
PlayerControl.Fighter3.Shielded = false;
};
_root["keyup" + C.U3] = function () {
PlayerControl.Fighter3.Jump();
PlayerControl.Trc.Up3 = false;
};
_root["keyhold" + C.D3] = function () {
PlayerControl.Fighter3.Move("down");
};
_root["keyup" + C.D3] = function () {
PlayerControl.Fighter3.Move("stop");
};
_root["keydown" + C.L3] = function () {
PlayerControl.Fighter3.Move("left");
};
_root["keydown" + C.S3] = function () {
if (PlayerControl.Trc.Up3) {
PlayerControl.Fighter3.Attack("special", "up");
PlayerControl.Trc.Up3 = false;
}
PlayerControl.Fighter3.Attack("special", "none");
};
_root["keyup" + C.L3] = function () {
if (!Key.isDown(PlayerControl.C.R3)) {
PlayerControl.Fighter3.Move("stop");
}
};
_root["keydown" + C.R3] = function () {
PlayerControl.Fighter3.Move("right");
};
_root["keyup" + C.R3] = function () {
if (!Key.isDown(PlayerControl.C.L3)) {
PlayerControl.Fighter3.Move("stop");
}
};
_root["keydown" + C.P3] = function () {
if (PlayerControl.Trc.Up3) {
PlayerControl.Fighter3.Attack("punch", "up");
PlayerControl.Trc.Up3 = false;
}
PlayerControl.Fighter3.Attack("punch", "none");
};
}
if (Fighter4 != undefined) {
_root["keyhold" + C.U4] = function (tmeDwn) {
if (tmeDwn < PlayerControl.Reflex) {
PlayerControl.Trc.Up4 = true;
} else {
PlayerControl.Trc.Up4 = false;
}
if (!PlayerControl.Trc.Up4) {
PlayerControl.Fighter4.Jump();
}
};
_root["keydown" + C.B4] = function () {
if (PlayerControl.Fighter4.xInc == 0) {
PlayerControl.Fighter4.Shielded = true;
}
};
_root["keyup" + C.B4] = function () {
PlayerControl.Fighter4.Shielded = false;
};
_root["keyup" + C.U4] = function () {
PlayerControl.Fighter4.Jump();
PlayerControl.Trc.Up4 = false;
};
_root["keyhold" + C.D4] = function () {
PlayerControl.Fighter4.Move("down");
};
_root["keyup" + C.D4] = function () {
PlayerControl.Fighter4.Move("stop");
};
_root["keydown" + C.L4] = function () {
PlayerControl.Fighter4.Move("left");
};
_root["keydown" + C.S4] = function () {
if (PlayerControl.Trc.Up4) {
PlayerControl.Fighter4.Attack("special", "up");
PlayerControl.Trc.Up4 = false;
}
PlayerControl.Fighter4.Attack("special", "none");
};
_root["keyup" + C.L4] = function () {
if (!Key.isDown(PlayerControl.C.R4)) {
PlayerControl.Fighter4.Move("stop");
}
};
_root["keydown" + C.R4] = function () {
PlayerControl.Fighter4.Move("right");
};
_root["keyup" + C.R4] = function () {
if (!Key.isDown(PlayerControl.C.L4)) {
PlayerControl.Fighter4.Move("stop");
}
};
_root["keydown" + C.P4] = function () {
if (PlayerControl.Trc.Up4) {
PlayerControl.Fighter4.Attack("punch", "up");
PlayerControl.Trc.Up4 = false;
}
PlayerControl.Fighter4.Attack("punch", "none");
};
}
}
static var Reflex = 50;
}
Symbol 1109 MovieClip [__Packages.KeyCombi] Frame 0
class KeyCombi
{
static var listobj, inter;
function KeyCombi () {
}
static function register() {
var _local3 = arguments.length;
var _local2 = 0;
while (_local2 < _local3) {
cach[arguments[_local2]] = -1 + regst.push(new KeyCombiKey(arguments[_local2]));
_local2++;
}
}
static function uplist() {
if (_root.Paused) {
return(undefined);
}
var _local3 = 0;
while (_local3 < regst.length) {
var _local2 = regst[_local3];
if (_local2.down) {
if (!Key.isDown(_local2.code)) {
_local2.down = false;
_root["keyup" + _local2.code](getTimer() - _local2.time);
} else {
_root["keyhold" + _local2.code](getTimer() - _local2.time);
}
}
_local3++;
}
}
static function downlist() {
if (_root.Paused) {
return(undefined);
}
var _local3 = Key.getCode();
if (cach[_local3] != undefined) {
var _local2 = regst[cach[_local3]];
if (!_local2.down) {
_local2.down = true;
_local2.time = getTimer();
_root["keydown" + _local2.code]();
}
}
}
static function init() {
listobj = {};
listobj.onKeyDown = downlist;
Key.addListener(listobj);
inter = setInterval(uplist, 0);
}
static function clear() {
regst = new Array();
cach = new Array(255);
}
static function end() {
clearInterval(inter);
Key.removeListener(listobj);
}
static var cach = new Array(255);
static var regst = new Array();
}
Symbol 1110 MovieClip [__Packages.KeyCombiKey] Frame 0
class KeyCombiKey
{
var code, down, time;
function KeyCombiKey (kcode) {
code = kcode;
down = Key.isDown(kcode);
if (down) {
time = getTimer();
} else {
time = -1;
}
}
}
Symbol 1111 MovieClip [__Packages.VCamera] Frame 0
class VCamera
{
var StillObjects, FocusObjs, ViewArea, MCR, ObjectRef, Ratio, Height, Width, y, x, bgW, Backdrop, bgH, cX, cY, sX, sY, ShakeTime, BoundsCam, scaleX, scaleY;
function VCamera () {
StillObjects = new Array();
FocusObjs = new Array();
ViewArea = new flash.geom.Rectangle();
MCR = new Object();
}
function init() {
ObjectRef = new Array();
for (var _local2 in StillObjects) {
ObjectRef[_local2] = new Object();
ObjectRef[_local2].x = StillObjects[_local2]._x;
ObjectRef[_local2].y = StillObjects[_local2]._y;
ObjectRef[_local2].width = StillObjects[_local2]._width;
ObjectRef[_local2].height = StillObjects[_local2]._height;
}
Ratio = Width / Height;
y = (x = (Width = (Height = 0)));
bgW = Backdrop._width;
bgH = Backdrop._height;
var _local3 = Stage.scaleMode;
Stage.scaleMode = "exactFit";
cX = Stage.width / 2;
cY = Stage.height / 2;
sX = Stage.width;
sY = Stage.height;
Stage.scaleMode = _local3;
}
function Shake(offSet) {
if (offSet == undefined) {
offSet = 0;
}
ShakeTime = getTimer() + offSet;
}
function DoCamera() {
ViewArea.x = undefined;
var _local3 = 0;
while (_local3 < FocusObjs.length) {
if (FocusObjs[_local3] == undefined) {
FocusObjs.splice(_local3, 1);
} else {
MCR = FocusObjs[_local3].getRect(_root);
if (ViewArea.x == undefined) {
ViewArea.x = MCR.xMin;
ViewArea.y = MCR.yMin;
ViewArea.right = MCR.xMax;
ViewArea.bottom = MCR.yMax;
}
ViewArea.left = ((MCR.xMin < ViewArea.x) ? (MCR.xMin) : (ViewArea.x));
ViewArea.top = ((MCR.yMin < ViewArea.y) ? (MCR.yMin) : (ViewArea.y));
ViewArea.right = ((MCR.xMax > ViewArea.right) ? (MCR.xMax) : (ViewArea.right));
ViewArea.bottom = ((MCR.yMax > ViewArea.bottom) ? (MCR.yMax) : (ViewArea.bottom));
}
_local3++;
}
ViewArea.width = ViewArea.width + 100;
ViewArea.height = ViewArea.height + 100;
ViewArea.x = ViewArea.x - 50;
ViewArea.y = ViewArea.y - 50;
if (ShakeTime != undefined) {
ViewArea.x = ViewArea.x + ((Math.cos(getTimer() - ShakeTime) * ((1000 - getTimer()) + ShakeTime)) / 7);
ViewArea.y = ViewArea.y + ((Math.sin(getTimer() - ShakeTime) * ((1000 - getTimer()) + ShakeTime)) / 7);
if (Math.abs(getTimer() - ShakeTime) > 1000) {
ShakeTime = undefined;
}
}
var _local4 = ViewArea.width / ViewArea.height;
if (_local4 > Ratio) {
ViewArea.height = ViewArea.width / Ratio;
ViewArea.y = ViewArea.y - (ViewArea.height / 4);
} else if (_local4 < Ratio) {
ViewArea.width = ViewArea.height * Ratio;
}
x = x + ((ViewArea.left - x) / 5);
y = y + ((ViewArea.top - y) / 5);
Width = Width + ((ViewArea.width - Width) / 5);
Height = Height + ((ViewArea.height - Height) / 5);
if ((y + Height) > BoundsCam.bottom) {
y = BoundsCam.bottom - Height;
}
if (y < BoundsCam.top) {
y = BoundsCam.top;
}
if (x < BoundsCam.left) {
x = BoundsCam.left;
}
if ((x + Width) > BoundsCam.right) {
x = BoundsCam.right - Width;
}
for (_local3 in StillObjects) {
StillObjects[_local3]._x = x + ObjectRef[_local3].x;
StillObjects[_local3]._y = y + ObjectRef[_local3].y;
StillObjects[_local3]._width = (100 / _root._xscale) * ObjectRef[_local3].width;
StillObjects[_local3]._height = (100 / _root._yscale) * ObjectRef[_local3].height;
}
scaleX = sX / Width;
scaleY = sY / Height;
Backdrop._x = x / 2;
Backdrop._y = y / 2;
Backdrop._width = (bgW / scaleX) + bgW;
Backdrop._height = (bgH / scaleY) + bgH;
_root._x = cX - ((x + (Width / 2)) * scaleX);
_root._y = cY - ((y + (Height / 2)) * scaleY);
_root._xscale = 100 * scaleX;
_root._yscale = 100 * scaleY;
}
function Destroy() {
_root._x = 0;
_root._y = 0;
_root._xscale = 100;
_root._yscale = 100;
}
}
Symbol 1112 MovieClip [__Packages.AIControl] Frame 0
class AIControl
{
var Player, WorldObj, Behavior, ActionQ, Level, Dist, Victim;
function AIControl (_Player) {
Player = _Player;
WorldObj = Player.WorldObj;
Behavior = 3;
ActionQ = new Object({Tm:0});
Level = Level * 2;
}
function Attack() {
Dist = Math.pow(Victim._x - Player._x, 2) + Math.pow(Victim._y - Player._y, 2);
if (Dist < 900) {
if (((Player._y < Victim._y) && (!Player.onGround)) && (Player.yInc > 0)) {
Act("punch", "none");
}
var _local2 = Math.floor(random(Math.round(160 / Level)));
switch (_local2) {
case 0 :
Act("punch", "none");
return(undefined);
case 3 :
Act("punch", "up");
return(undefined);
case 4 :
Player.Shielded = !Player.Shielded;
return(undefined);
}
if (Player.Shielded && (_local2 > 12)) {
Player.Shielded = false;
}
MoveTo(Victim._x, Victim._y);
} else {
var _local2 = Math.floor(random(Math.round(720 / Level)));
Player.Shielded = false;
switch (_local2) {
case 0 :
if (Math.abs(Victim._y - Player._y) > 30) {
return(undefined);
}
Act("special", "none");
return(undefined);
case 1 :
Act("special", "up");
return(undefined);
}
MoveTo(Victim._x, Victim._y);
}
}
function MoveTo(dX, dY, rand) {
if (Math.abs(dX - Player._x) < 30) {
Player.Move("stop");
return(undefined);
}
if (rand) {
dX = dX + (random(40) - 20);
}
var _local2 = WorldObj.CollisionDetect(Player, true, false, true);
if (((dY - Player._y) > 40) && (Player.onGround)) {
Player.Move("down");
return(undefined);
}
if (dX > Player._x) {
Player.Move("right");
} else if (dX < Player._x) {
Player.Move("left");
}
if ((dY < Player._y) && (Victim.onGround)) {
Player.Jump();
}
if (_local2.hitSomething) {
if (!(_local2.Type === "J")) {
} else {
Player.Jump();
}
}
}
function PickFighter() {
var _local3 = new Array();
var _local4 = 0;
Dist = 0;
var _local2 = 0;
while (_local2 < WorldObj.Players.length) {
_local4 = 0;
if (WorldObj.Players[_local2] == Player) {
} else {
Dist = Math.sqrt(Math.pow(Player._x - WorldObj.Players[_local2]._x, 2) + Math.pow(Player._y - WorldObj.Players[_local2]._y, 2));
_local4 = _local4 - (Dist / 5);
_local4 = _local4 + (WorldObj.Players[_local2].Lives * 2);
_local4 = _local4 + (random(100) - 50);
_local3.push({Pt:_local4, Player:_local2});
}
_local2++;
}
var _local5;
var _local6;
_local5 = _local3[0].Pt;
_local6 = 0;
_local2 = 0;
while (_local2 < _local3.length) {
_local6 = ((_local3[_local2].Pt > _local5) ? (_local3[_local2].Player) : (_local6));
_local5 = ((_local3[_local2].Pt > _local5) ? (_local3[_local2].Pt) : (_local5));
_local2++;
}
Victim = WorldObj.Players[_local6];
}
function Act(Act1, Act2) {
if (ActionQ.Tm == 0) {
ActionQ.Tm = ((1 / Level) * 500) + random(200);
ActionQ.Act1 = Act1;
ActionQ.Act2 = Act2;
}
}
function CheckAct() {
if (ActionQ.Tm > 0) {
ActionQ.Tm = ActionQ.Tm - _parent.IntTime;
} else if ((ActionQ.Tm <= 0) && (ActionQ.Act1 != undefined)) {
Player.Attack(ActionQ.Act1, ActionQ.Act2);
ActionQ.Tm = 0;
ActionQ.Act1 = undefined;
ActionQ.Act2 = undefined;
}
}
function DoAI() {
if ((random(200) < 100) && (!ForceVictim)) {
PickFighter();
}
MoveTo(Victim._x, Victim._y);
Attack();
CheckAct();
}
var ForceVictim = false;
}
Symbol 1113 MovieClip [__Packages.ItemGen] Frame 0
class ItemGen
{
static var ItemsList, ItemFrequency, Interval;
function ItemGen () {
}
static function init(Items, _ItemFrequency) {
ItemsList = Items;
ItemFrequency = _ItemFrequency;
if (ItemFrequency == 0) {
return(undefined);
}
Interval = setInterval(DoItemGen, 10000 / ItemFrequency);
}
static function DoItemGen() {
if (_root.Paused) {
return(undefined);
}
var _local4 = random(ItemsList.length + (50 / ItemFrequency));
if (_local4 < ItemsList.length) {
var _local2 = new flash.geom.Point();
var _local3 = random(4) + 1;
_local2.x = (_root.WorldMC["SpawnH" + _local3]._x + random(_root.WorldMC["SpawnH" + _local3]._width)) + _root.WorldMC._x;
_local2.y = _root.WorldMC["SpawnH" + _local3]._y + _root.WorldMC._y;
_root.attachMovie(ItemsList[_local4], ItemsList[_local4] + random(200), _root.getNextHighestDepth(), {_x:_local2.x, _y:_local2.y}).init(_root.Level);
}
}
static function Reset() {
ItemsList = undefined;
clearInterval(Interval);
}
}
Symbol 921 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 928 MovieClip Frame 81
_root.play();
_root.play();
Symbol 965 Button
on (release) {
Game.Mode = "multi";
gotoAndStop ("Multi");
}
on (rollOver) {
Hit.text = "Play with your friends or ennemies! Up to 4 people can play simultaneously!";
}
Symbol 969 Button
on (release) {
Game.Mode = "single";
gotoAndStop ("Single");
}
on (rollOver) {
Hit.text = "No friends? Play by yourself and win challenges. ";
}
Symbol 974 Button
on (rollOver) {
Hit.text = "Change the keyboard controls.";
}
on (release) {
gotoAndStop ("ControlsSetup");
}
Symbol 979 Button
on (rollOver) {
Hit.text = "Change image quality or mute sounds!";
}
on (release) {
gotoAndStop ("Options");
}
Symbol 983 Button
on (release) {
getURL ("http://www.armorgames.com/", "_blank");
}
Symbol 988 Button
on (release) {
gotoAndStop ("Main");
}
Symbol 994 Button
on (release) {
Game.Type = "endurance";
Game.NumGamers = 1;
Game.NumPlayers = 1;
gotoAndStop ("PlayerSelect");
}
on (rollOver) {
Hit.text = "How long can you last against a never ending flow of enemies?";
}
Symbol 999 Button
on (release) {
Game.Type = "oneonone";
Game.NumGamers = 1;
Game.NumPlayers = 2;
Game.Rand = new Object();
Game.Rand.CP = 1;
gotoAndStop ("PlayerSelect");
}
on (rollOver) {
Hit.text = "Play against only one fighter.";
}
Symbol 1004 Button
on (release) {
Game.Type = "quick";
Game.NumGamers = 1;
Game.NumPlayers = 4;
Game.Rand = new Object();
Game.Rand.CP = 3;
gotoAndStop ("PlayerSelect");
}
on (rollOver) {
Hit.text = "Want to play right now? Just choose a fighter and you're ready to fight!";
}
Symbol 1010 Button
on (release) {
Game.Type = "vsmode";
Game.NumGamers = 4;
Game.NumPlayers = 4;
gotoAndStop ("PlayerSelect");
}
on (rollOver) {
Hit.text = "The classical mode: every man for himself!";
}
Symbol 1011 Button
on (release) {
for (var i in this) {
this[i].removeMovieClip();
}
gotoAndStop ("Main");
}
Symbol 1019 Button
on (release) {
gotoStageSelect();
}
Symbol 1022 Button
on (release) {
if (_root.Game.LimitMode == "time") {
if ((Min <= 0) && (Sec <= 30)) {
Sec = 0;
Min = 0;
} else if (Min >= 20) {
Min = Min - 10;
} else if (Min >= 10) {
Min = Min - 5;
} else if (Min > 2) {
Min--;
} else if (Min <= 2) {
Sec = Sec - 30;
if (Sec < 0) {
Sec = 30;
Min--;
}
}
_root.Game.LimitVal = (Min * 60) + Sec;
PrintTime();
} else {
if (_root.Game.LimitVal <= 1) {
return(undefined);
}
_root.Game.LimitVal--;
Val.text = _root.Game.LimitVal;
}
}
Symbol 1023 Button
on (release) {
if (_root.Game.LimitMode == "time") {
if (Min >= 20) {
Min = Min + 10;
} else if (Min >= 10) {
Min = Min + 5;
} else if (Min > 2) {
Min++;
} else if (Min <= 2) {
Sec = Sec + 30;
if (Sec >= 60) {
Sec = 0;
Min++;
}
}
_root.Game.LimitVal = (Min * 60) + Sec;
PrintTime();
} else {
_root.Game.LimitVal++;
Val.text = _root.Game.LimitVal;
}
}
Symbol 1025 Button
on (release) {
if (_root.Game.LimitMode == "stock") {
_root.Game.LimitMode = "time";
Min = 5;
Sec = 0;
_root.Game.LimitVal = (Min * 60) + Sec;
PrintTime();
gotoAndStop (2);
} else {
gotoAndStop (1);
_root.Game.LimitMode = "stock";
Val = 5;
}
}
Symbol 1026 Button
on (release) {
if (_root.Game.LimitMode == "stock") {
_root.Game.LimitMode = "time";
Min = 5;
Sec = 0;
_root.Game.LimitVal = (Min * 60) + Sec;
PrintTime();
gotoAndStop (2);
} else {
gotoAndStop (1);
_root.Game.LimitMode = "stock";
_root.Game.LimitVal = 5;
Val.text = 5;
}
}
Symbol 1028 MovieClip Frame 1
function PrintTime() {
if ((Min == 0) && (Sec == 0)) {
Val.text = "none";
return(undefined);
}
if (Min < 10) {
Val.text = "0" + Min.toString();
} else {
Val.text = Min.toString();
}
Val.text = Val.text + ":";
if (Sec < 10) {
Val.text = Val.text + ("0" + Sec.toString());
} else {
Val.text = Val.text + Sec.toString();
}
}
stop();
_root.Game.LimitMode = "stock";
_root.Game.LimitVal = 5;
var Min;
var Sec;
Symbol 1041 MovieClip Frame 1
stop();
Symbol 1041 MovieClip Frame 20
this._visible = false;
Symbol 1051 MovieClip Frame 1
high.gotoAndStop(2);
medium.gotoAndStop(2);
low.gotoAndStop(2);
this[_parent.Settings.Quality.toLowerCase()].gotoAndStop(1);
high.onRelease = function () {
_parent.Settings.Quality = "HIGH";
this.gotoAndStop(1);
medium.gotoAndStop(2);
low.gotoAndStop(2);
_root._quality = _parent.Settings.Quality;
};
medium.onRelease = function () {
_parent.Settings.Quality = "MEDIUM";
this.gotoAndStop(1);
high.gotoAndStop(2);
low.gotoAndStop(2);
_root._quality = _parent.Settings.Quality;
};
low.onRelease = function () {
_parent.Settings.Quality = "LOW";
this.gotoAndStop(1);
high.gotoAndStop(2);
medium.gotoAndStop(2);
_root._quality = _parent.Settings.Quality;
};
Symbol 1052 Button
on (release) {
SavedSettings.data.Settings = Settings;
gotoAndStop ("Main");
}
Symbol 1056 MovieClip Frame 1
SoundOn.gotoAndStop(2);
SoundOff.gotoAndStop(2);
if (_parent.Settings.Mute) {
SoundOff.gotoAndStop(1);
} else {
SoundOn.gotoAndStop(1);
}
SoundOn.onRelease = function () {
_parent.Settings.Mute = false;
Snd.Mute = false;
this.gotoAndStop(1);
SoundOff.gotoAndStop(2);
};
SoundOff.onRelease = function () {
_parent.Settings.Mute = true;
Snd.Mute = true;
this.gotoAndStop(1);
SoundOn.gotoAndStop(2);
stopAllSounds();
};
Symbol 1065 Button
on (release) {
_parent.Pause(false);
_parent.EndGame();
}
Symbol 1069 MovieClip Frame 60
stop();
Symbol 1077 Button
on (release) {
for (var i in this) {
this[i].removeMovieClip();
}
gotoAndStop ("Main");
}