Frame 1
if (null) {
}
pool._visible = false;
fscommand ("allowscale", false);
fscommand ("showmenu", false);
_quality = "HIGH";
stop();
Frame 2
if (null) {
}
gotoAndPlay (1);
Frame 3
if (null) {
}
function generateDepth(n) {
var newDepth;
switch (n) {
case 0 :
newDepth = cur_sys;
cur_sys = cur_sys + 1;
if (cur_sys > 99) {
cur_sys = 1;
}
break;
case 1 :
newDepth = cur_bg;
cur_bg = cur_bg + 1;
if (cur_bg > 199) {
cur_bg = 101;
}
break;
case 2 :
newDepth = cur_dynamic_bg;
cur_dynamic_bg = cur_dynamic_bg + 1;
if (cur_dynamic_bg > 299) {
cur_dynamic_bg = 201;
}
break;
case 3 :
newDepth = cur_obj;
cur_obj = cur_obj + 10;
if (cur_obj > 390) {
cur_obj = 310;
}
break;
case 4 :
newDepth = cur_dynamic_fg;
cur_dynamic_fg = cur_dynamic_fg + 1;
if (cur_dynamic_fg > 499) {
cur_dynamic_fg = 401;
}
break;
case 5 :
newDepth = cur_mask;
cur_mask = cur_mask + 1;
if (cur_mask > 599) {
cur_mask = 501;
}
break;
case 6 :
newDepth = cur_fg;
cur_fg = cur_fg + 1;
if (cur_fg > 699) {
cur_fg = 601;
}
break;
}
return(newDepth);
}
function ControlPack(up, down, left, right, attack, guard, pause) {
this.up = up;
this.down = down;
this.left = left;
this.right = right;
this.attack = attack;
this.guard = guard;
this.pause = pause;
}
function Profile(id) {
this.id = id;
}
function Preset(name, headSkin, bodySkin, footSkin, aggressive, combo, reflex, counter) {
this.name = name;
this.headSkin = headSkin;
this.bodySkin = bodySkin;
this.footSkin = footSkin;
this.aggressive = aggressive;
this.combo = combo;
this.reflex = reflex;
this.counter = counter;
}
function changeDeck(newDeck, menu, pm, pc) {
this.prevMenu = pm;
this.prevContent = pc;
deck.removeMovieClip();
switch (newDeck) {
case "stage" :
attachMovie("stage", "deck", generateDepth(0));
return;
case "menu01" :
attachMovie("menu01", "deck", generateDepth(0));
deck.menu = menu;
return;
case "menu02" :
attachMovie("menu02", "deck", generateDepth(0));
deck.menu = menu;
return;
case "menu03" :
attachMovie("menu03", "deck", generateDepth(0));
deck.menu = menu;
return;
case "menu04" :
attachMovie("menu04", "deck", generateDepth(0));
deck.menu = menu;
return;
case "menu05" :
attachMovie("menu05", "deck", generateDepth(0));
deck.menu = menu;
return;
case "blank" :
deck.menu = menu;
return;
}
}
function loadTourPreset(i) {
n = 3;
offset = ((i == 6) ? 0 : (random(n)));
j = (i * n) + offset;
switch (i) {
case 0 :
myProfile.bg = 1;
break;
case 1 :
myProfile.bg = 1;
break;
case 2 :
myProfile.bg = 2;
break;
case 3 :
myProfile.bg = 2;
break;
case 4 :
myProfile.bg = 3;
break;
case 5 :
myProfile.bg = 3;
break;
case 6 :
myProfile.bg = 3;
}
myProfile.p02Name = tourney[j].name;
myProfile.p02headSkin = tourney[j].headSkin;
myProfile.p02bodySkin = tourney[j].bodySkin;
myProfile.p02footSkin = tourney[j].footSkin;
myProfile.AIAggressive = tourney[j].aggressive;
myProfile.AICombo = tourney[j].combo;
myProfile.AIReflex = tourney[j].reflex;
myProfile.AICounter = tourney[j].counter;
}
var cur_sys = 1;
var cur_bg = 101;
var cur_dynamic_bg = 201;
var cur_obj = 310;
var cur_dynamic_fg = 401;
var cur_mask = 501;
var cur_fg = 601;
var effectCount = 0;
attachMovie("frame", "frame", generateDepth(6));
attachMovie("fpsCounter", "fpsCounter", generateDepth(6));
attachMovie("scanline", "scanline", generateDepth(6));
attachMovie("jukebox", "jukebox", generateDepth(0));
changeDeck("menu01", "cut_intro");
defaultProfile = new Profile("default");
defaultProfile.gameType = 0;
defaultProfile.p01Name = "Fighter 1";
defaultProfile.p02Name = "Fighter 2";
defaultProfile.bg = 1;
defaultProfile.roundTime = 60;
defaultProfile.roundToWin = 2;
defaultProfile.slomo = true;
defaultProfile.blood = true;
defaultProfile.quality = "HIGH";
defaultProfile.isAutoQuality = false;
defaultProfile.isFPS = false;
defaultProfile.sfx = true;
defaultProfile.music = true;
defaultProfile.control1 = new ControlPack(null, null, 37, 39, 65, 83, 80);
defaultProfile.control2 = new ControlPack(null, null, 100, 102, 45, 46);
defaultProfile.invincible = false;
defaultProfile.useClearShadow = false;
defaultProfile.useHiMask = false;
defaultProfile.tourPos = 0;
defaultProfile.p01TotalWin = 0;
defaultProfile.p01CurrentWin = 0;
defaultProfile.p02TotalWin = 0;
defaultProfile.p02CurrentWin = 0;
defaultProfile.p01headSkin = 0;
defaultProfile.p01bodySkin = 0;
defaultProfile.p01footSkin = 0;
defaultProfile.p01Aggressive = 3;
defaultProfile.p01Combo = 3;
defaultProfile.p01Reflex = 2;
defaultProfile.p01Counter = 2;
defaultProfile.p02headSkin = 1;
defaultProfile.p02bodySkin = 1;
defaultProfile.p02footSkin = 1;
defaultProfile.AIAggressive = 2;
defaultProfile.AICombo = 2;
defaultProfile.AIReflex = 1;
defaultProfile.AICounter = 1;
myProfile = new Profile("myProfile");
myProfile.gameType = 0;
myProfile.p01Name = "Fighter 1";
myProfile.p02Name = "Fighter 2";
myProfile.bg = 1;
myProfile.roundTime = 60;
myProfile.roundToWin = 2;
myProfile.slomo = true;
myProfile.blood = true;
myProfile.quality = "HIGH";
myProfile.isAutoQuality = false;
myProfile.isFPS = false;
myProfile.sfx = true;
myProfile.music = true;
myProfile.control1 = new ControlPack(null, null, 37, 39, 65, 83, 80);
myProfile.control2 = new ControlPack(null, null, 100, 102, 45, 46);
myProfile.invincible = false;
myProfile.useClearShadow = false;
myProfile.useHiMask = false;
myProfile.tourPos = 0;
myProfile.p01TotalWin = 0;
myProfile.p01CurrentWin = 0;
myProfile.p02TotalWin = 0;
myProfile.p02CurrentWin = 0;
myProfile.p01headSkin = 0;
myProfile.p01bodySkin = 0;
myProfile.p01footSkin = 0;
myProfile.p01Aggressive = 3;
myProfile.p01Combo = 3;
myProfile.p01Reflex = 2;
myProfile.p01Counter = 2;
myProfile.p02headSkin = 1;
myProfile.p02bodySkin = 1;
myProfile.p02footSkin = 1;
myProfile.AIAggressive = 2;
myProfile.AICombo = 2;
myProfile.AIReflex = 1;
myProfile.AICounter = 1;
tourney = new Array();
tourney.push(new Preset("Jojon", 1, 9, 9, 2, 2, 1, 1));
tourney.push(new Preset("Badut", 2, 9, 9, 2, 2, 1, 1));
tourney.push(new Preset("Kroco", 3, 9, 9, 2, 2, 1, 1));
tourney.push(new Preset("Maling", 0, 9, 9, 4, 4, 2, 2));
tourney.push(new Preset("Preman", 5, 9, 9, 4, 4, 2, 2));
tourney.push(new Preset("Garong", 9, 9, 9, 4, 4, 2, 2));
tourney.push(new Preset("Botak", 1, 0, 0, 5, 5, 3, 2));
tourney.push(new Preset("Brewok", 2, 0, 0, 5, 5, 3, 2));
tourney.push(new Preset("Gondrong", 3, 0, 0, 5, 5, 3, 2));
tourney.push(new Preset("Assassin", 1, 5, 5, 5, 5, 4, 2));
tourney.push(new Preset("Shadow", 2, 5, 5, 5, 5, 4, 2));
tourney.push(new Preset("Ninja", 5, 5, 5, 5, 5, 4, 2));
tourney.push(new Preset("Pendekar", 0, 2, 2, 5, 5, 4, 3));
tourney.push(new Preset("Pesilat", 1, 2, 2, 5, 5, 4, 3));
tourney.push(new Preset("Suhu", 2, 2, 2, 5, 5, 4, 3));
tourney.push(new Preset("Ardjuna", 0, 3, 3, 5, 5, 5, 4));
tourney.push(new Preset("Djagoan", 1, 3, 3, 5, 5, 5, 4));
tourney.push(new Preset("Dewa", 2, 3, 3, 5, 5, 5, 4));
tourney.push(new Preset("Jagoan Kampung", 4, 4, 4, 5, 5, 5, 5));
repeatTour = false;
skinArray = new Array();
skinArray.push("01:Fighter");
skinArray.push("02:Putih");
skinArray.push("03:Hitam");
skinArray.push("04:Jagoan 1");
skinArray.push("05:Jagoan 2");
skinArray.push("06:Ninja");
skinArray.push("07:MK01");
skinArray.push("08:MK02");
skinArray.push("09:Wiro");
skinArray.push("10:Si Buta");
skinArray.push("11:Hanoman");
skinArray.push("Custom");
stop();
Symbol 22 MovieClip [preloader] Frame 1
if (null) {
}
function verify(address) {
domain = _url.substr(7, address.length);
if (domain != address) {
stop();
while (true) {
}
} else {
gotoAndStop (2);
}
}
verify("uploads.ungrounded.net");
Symbol 22 MovieClip [preloader] Frame 2
if (null) {
}
this.onEnterFrame = function () {
l = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
loader_bar.health._xscale = l;
loader_text.text = ((("Loaded " + Math.round(l)) + "% of ") + Math.round(_root.getBytesTotal() / 1000)) + " KB";
if (l >= 100) {
gotoAndStop (3);
}
};
stop();
Symbol 22 MovieClip [preloader] Frame 3
if (null) {
}
this.onEnterFrame = null;
p_button.buttonText.text = "PLAY";
p_button.button.onRelease = function () {
_root.gotoAndPlay("Game", 1);
};
stop();
Symbol 34 MovieClip Frame 1
if (null) {
}
var OFFSET = 2;
switch (_parent._parent._name) {
case "p01" :
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
break;
case "ani_shadow_p01" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p01" :
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
break;
case "trail02_p01" :
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
break;
case "mask_p01" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "p02" :
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
break;
case "ani_shadow_p02" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p02" :
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
break;
case "trail02_p02" :
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
break;
case "mask_p02" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
}
stop();
Symbol 41 MovieClip Frame 1
if (null) {
}
var OFFSET = 2;
switch (_parent._parent._name) {
case "p01" :
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
break;
case "ani_shadow_p01" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p01" :
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
break;
case "trail02_p01" :
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
break;
case "mask_p01" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "p02" :
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
break;
case "ani_shadow_p02" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p02" :
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
break;
case "trail02_p02" :
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
break;
case "mask_p02" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
}
stop();
Symbol 52 MovieClip Frame 1
if (null) {
}
var OFFSET = 2;
switch (_parent._parent._name) {
case "p01" :
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
break;
case "ani_shadow_p01" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p01" :
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
break;
case "trail02_p01" :
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
break;
case "mask_p01" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "p02" :
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
break;
case "ani_shadow_p02" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p02" :
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
break;
case "trail02_p02" :
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
break;
case "mask_p02" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
}
stop();
Symbol 63 MovieClip Frame 1
if (null) {
}
var OFFSET = 2;
switch (_parent._parent._name) {
case "p01" :
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
break;
case "ani_shadow_p01" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p01" :
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
break;
case "trail02_p01" :
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
break;
case "mask_p01" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "p02" :
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
break;
case "ani_shadow_p02" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p02" :
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
break;
case "trail02_p02" :
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
break;
case "mask_p02" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
}
stop();
Symbol 78 MovieClip Frame 1
if (null) {
}
var OFFSET = 2;
switch (_parent._parent._name) {
case "p01" :
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
break;
case "ani_shadow_p01" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p01" :
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
break;
case "trail02_p01" :
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
break;
case "mask_p01" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "p02" :
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
break;
case "ani_shadow_p02" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p02" :
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
break;
case "trail02_p02" :
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
break;
case "mask_p02" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
}
stop();
Symbol 93 MovieClip Frame 1
if (null) {
}
var OFFSET = 2;
switch (_parent._parent._name) {
case "p01" :
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
break;
case "ani_shadow_p01" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p01" :
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
break;
case "trail02_p01" :
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
break;
case "mask_p01" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "p02" :
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
break;
case "ani_shadow_p02" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p02" :
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
break;
case "trail02_p02" :
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
break;
case "mask_p02" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
}
stop();
Symbol 105 MovieClip Frame 1
if (null) {
}
var OFFSET = 2;
switch (_parent._parent._name) {
case "p01" :
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
break;
case "ani_shadow_p01" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p01" :
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
break;
case "trail02_p01" :
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
break;
case "mask_p01" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "p02" :
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
break;
case "ani_shadow_p02" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p02" :
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
break;
case "trail02_p02" :
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
break;
case "mask_p02" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
}
stop();
Symbol 112 MovieClip Frame 1
if (null) {
}
var OFFSET = 2;
switch (_parent._parent._name) {
case "p01" :
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
break;
case "ani_shadow_p01" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p01" :
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
break;
case "trail02_p01" :
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
break;
case "mask_p01" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "p02" :
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
break;
case "ani_shadow_p02" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p02" :
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
break;
case "trail02_p02" :
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
break;
case "mask_p02" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
}
stop();
Symbol 118 MovieClip Frame 1
if (null) {
}
var OFFSET = 2;
switch (_parent._parent._name) {
case "p01" :
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
break;
case "ani_shadow_p01" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p01" :
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
break;
case "trail02_p01" :
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
break;
case "mask_p01" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "p02" :
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
break;
case "ani_shadow_p02" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p02" :
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
break;
case "trail02_p02" :
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
break;
case "mask_p02" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
}
stop();
Symbol 125 MovieClip Frame 1
if (null) {
}
var OFFSET = 2;
switch (_parent._parent._name) {
case "p01" :
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
break;
case "ani_shadow_p01" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p01" :
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
break;
case "trail02_p01" :
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
break;
case "mask_p01" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p01footSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "p02" :
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
break;
case "ani_shadow_p02" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p02" :
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
break;
case "trail02_p02" :
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
break;
case "mask_p02" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p02footSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
}
stop();
Symbol 140 MovieClip Frame 1
if (null) {
}
var OFFSET = 2;
switch (_parent._parent._name) {
case "p01" :
gotoAndStop(_root.myProfile.p01headSkin + OFFSET);
break;
case "ani_shadow_p01" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p01headSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p01" :
gotoAndStop(_root.myProfile.p01headSkin + OFFSET);
break;
case "trail02_p01" :
gotoAndStop(_root.myProfile.p01headSkin + OFFSET);
break;
case "mask_p01" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p01headSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "p02" :
gotoAndStop(_root.myProfile.p02headSkin + OFFSET);
break;
case "ani_shadow_p02" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p02headSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p02" :
gotoAndStop(_root.myProfile.p02headSkin + OFFSET);
break;
case "trail02_p02" :
gotoAndStop(_root.myProfile.p02headSkin + OFFSET);
break;
case "mask_p02" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p02headSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
}
stop();
Symbol 156 MovieClip Frame 1
if (null) {
}
var OFFSET = 2;
switch (_parent._parent._name) {
case "p01" :
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
break;
case "ani_shadow_p01" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p01" :
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
break;
case "trail02_p01" :
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
break;
case "mask_p01" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "p02" :
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
break;
case "ani_shadow_p02" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p02" :
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
break;
case "trail02_p02" :
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
break;
case "mask_p02" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
}
stop();
Symbol 157 MovieClip [attack_lf01] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = false;
atEnd = false;
combo = false;
atComboCheck = false;
hittable = true;
if (runOnce == undefined) {
init();
}
Symbol 157 MovieClip [attack_lf01] Frame 6
if (null) {
}
combo = false;
Symbol 157 MovieClip [attack_lf01] Frame 21
if (null) {
}
atComboCheck = true;
Symbol 157 MovieClip [attack_lf01] Frame 26
if (null) {
}
atEnd = true;
Symbol 158 MovieClip [attack_lf02] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = false;
atEnd = false;
combo = false;
atComboCheck = false;
hittable = true;
if (runOnce == undefined) {
init();
}
Symbol 158 MovieClip [attack_lf02] Frame 6
if (null) {
}
combo = false;
hitArea._visible = false;
Symbol 158 MovieClip [attack_lf02] Frame 26
if (null) {
}
atComboCheck = true;
Symbol 158 MovieClip [attack_lf02] Frame 31
if (null) {
}
atEnd = true;
Symbol 159 MovieClip [attack_lf03] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = false;
atEnd = false;
combo = false;
atComboCheck = false;
hittable = true;
if (runOnce == undefined) {
init();
}
Symbol 159 MovieClip [attack_lf03] Frame 6
if (null) {
}
combo = false;
hitArea._visible = false;
Symbol 159 MovieClip [attack_lf03] Frame 31
if (null) {
}
atComboCheck = true;
Symbol 159 MovieClip [attack_lf03] Frame 46
if (null) {
}
atEnd = true;
Symbol 172 MovieClip Frame 1
if (null) {
}
var OFFSET = 2;
switch (_parent._parent._name) {
case "p01" :
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
break;
case "ani_shadow_p01" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p01" :
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
break;
case "trail02_p01" :
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
break;
case "mask_p01" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p01bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "p02" :
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
break;
case "ani_shadow_p02" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p02" :
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
break;
case "trail02_p02" :
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
break;
case "mask_p02" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p02bodySkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
}
stop();
Symbol 173 MovieClip [attack_lf04] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = false;
atEnd = false;
combo = false;
atComboCheck = false;
hittable = true;
if (runOnce == undefined) {
init();
}
Symbol 173 MovieClip [attack_lf04] Frame 36
if (null) {
}
atEnd = true;
Symbol 174 MovieClip [attack_lh01] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = false;
atEnd = false;
combo = false;
atComboCheck = false;
hittable = true;
if (runOnce == undefined) {
init();
}
Symbol 174 MovieClip [attack_lh01] Frame 6
if (null) {
}
combo = false;
Symbol 174 MovieClip [attack_lh01] Frame 21
if (null) {
}
atComboCheck = true;
Symbol 174 MovieClip [attack_lh01] Frame 26
if (null) {
}
atEnd = true;
Symbol 175 MovieClip [attack_lh02] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = false;
atEnd = false;
combo = false;
atComboCheck = false;
hittable = true;
if (runOnce == undefined) {
init();
}
Symbol 175 MovieClip [attack_lh02] Frame 6
if (null) {
}
combo = false;
hitArea._visible = false;
Symbol 175 MovieClip [attack_lh02] Frame 26
if (null) {
}
atComboCheck = true;
Symbol 175 MovieClip [attack_lh02] Frame 31
if (null) {
}
atEnd = true;
Symbol 176 MovieClip [attack_rf01] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = false;
atEnd = false;
combo = false;
atComboCheck = false;
hittable = true;
if (runOnce == undefined) {
init();
}
Symbol 176 MovieClip [attack_rf01] Frame 6
if (null) {
}
combo = false;
Symbol 176 MovieClip [attack_rf01] Frame 21
if (null) {
}
atComboCheck = true;
Symbol 176 MovieClip [attack_rf01] Frame 26
if (null) {
}
atEnd = true;
Symbol 177 MovieClip [attack_rf02] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = false;
atEnd = false;
combo = false;
atComboCheck = false;
hittable = true;
if (runOnce == undefined) {
init();
}
Symbol 177 MovieClip [attack_rf02] Frame 6
if (null) {
}
combo = false;
hitArea._visible = false;
Symbol 177 MovieClip [attack_rf02] Frame 26
if (null) {
}
atComboCheck = true;
Symbol 177 MovieClip [attack_rf02] Frame 31
if (null) {
}
atEnd = true;
Symbol 178 MovieClip [attack_rh01] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = false;
atEnd = false;
combo = false;
atComboCheck = false;
hittable = true;
if (runOnce == undefined) {
init();
}
Symbol 178 MovieClip [attack_rh01] Frame 6
if (null) {
}
combo = false;
hitArea._visible = false;
Symbol 178 MovieClip [attack_rh01] Frame 21
if (null) {
}
atComboCheck = true;
Symbol 178 MovieClip [attack_rh01] Frame 26
if (null) {
}
atEnd = true;
Symbol 179 MovieClip [attack_rh02] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = false;
atEnd = false;
combo = false;
atComboCheck = false;
hittable = true;
if (runOnce == undefined) {
init();
}
Symbol 179 MovieClip [attack_rh02] Frame 6
if (null) {
}
combo = false;
hitArea._visible = false;
Symbol 179 MovieClip [attack_rh02] Frame 26
if (null) {
}
atComboCheck = true;
Symbol 179 MovieClip [attack_rh02] Frame 31
if (null) {
}
atEnd = true;
Symbol 180 MovieClip [fade01] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = false;
atEnd = false;
combo = false;
atComboCheck = false;
hittable = false;
if (runOnce == undefined) {
init();
}
Symbol 180 MovieClip [fade01] Frame 21
if (null) {
}
atEnd = true;
Symbol 181 MovieClip [fade02] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = true;
atEnd = false;
combo = false;
atComboCheck = false;
hittable = false;
if (runOnce == undefined) {
init();
}
Symbol 181 MovieClip [fade02] Frame 21
if (null) {
}
atEnd = true;
Symbol 182 MovieClip [fall01] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = false;
atEnd = false;
atComboCheck = false;
hittable = false;
if (runOnce == undefined) {
init();
}
Symbol 182 MovieClip [fall01] Frame 31
if (null) {
}
atComboCheck = true;
Symbol 182 MovieClip [fall01] Frame 32
if (null) {
}
atComboCheck = false;
Symbol 182 MovieClip [fall01] Frame 46
if (null) {
}
atEnd = true;
Symbol 197 MovieClip Frame 1
if (null) {
}
var OFFSET = 2;
switch (_parent._parent._name) {
case "p01" :
gotoAndStop(_root.myProfile.p01headSkin + OFFSET);
break;
case "ani_shadow_p01" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p01headSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p01" :
gotoAndStop(_root.myProfile.p01headSkin + OFFSET);
break;
case "trail02_p01" :
gotoAndStop(_root.myProfile.p01headSkin + OFFSET);
break;
case "mask_p01" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p01headSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "p02" :
gotoAndStop(_root.myProfile.p02headSkin + OFFSET);
break;
case "ani_shadow_p02" :
if (_root.myProfile.useClearShadow) {
gotoAndStop(_root.myProfile.p02headSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
break;
case "trail01_p02" :
gotoAndStop(_root.myProfile.p02headSkin + OFFSET);
break;
case "trail02_p02" :
gotoAndStop(_root.myProfile.p02headSkin + OFFSET);
break;
case "mask_p02" :
if (_root.myProfile.useHiMask) {
gotoAndStop(_root.myProfile.p02headSkin + OFFSET);
} else {
gotoAndStop(_totalframes);
}
}
stop();
Symbol 198 MovieClip [flip01] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = false;
atEnd = false;
hittable = true;
if (runOnce == undefined) {
init();
}
Symbol 198 MovieClip [flip01] Frame 11
if (null) {
}
atEnd = true;
Symbol 199 MovieClip [getup01] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = false;
atEnd = false;
hittable = false;
if (runOnce == undefined) {
init();
}
Symbol 199 MovieClip [getup01] Frame 71
if (null) {
}
atEnd = true;
Symbol 200 MovieClip [grab01] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = false;
atEnd = false;
combo = false;
atComboCheck = false;
hittable = false;
if (runOnce == undefined) {
init();
}
Symbol 200 MovieClip [grab01] Frame 26
if (null) {
}
atComboCheck = true;
Symbol 200 MovieClip [grab01] Frame 46
if (null) {
}
atEnd = true;
Symbol 201 MovieClip [grabbed01] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = false;
atEnd = false;
combo = false;
atComboCheck = false;
hittable = false;
if (runOnce == undefined) {
init();
}
Symbol 201 MovieClip [grabbed01] Frame 21
if (null) {
}
atEnd = true;
Symbol 202 MovieClip [guard01] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = true;
atEnd = true;
combo = false;
atComboCheck = false;
hittable = true;
if (runOnce == undefined) {
init();
}
Symbol 202 MovieClip [guard01] Frame 96
if (null) {
}
atEnd = true;
Symbol 203 MovieClip [guard01_in] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = false;
atEnd = false;
combo = false;
atComboCheck = false;
hittable = true;
if (runOnce == undefined) {
init();
}
Symbol 203 MovieClip [guard01_in] Frame 11
if (null) {
}
atEnd = true;
Symbol 204 MovieClip [guard01_out] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = false;
atEnd = false;
combo = false;
atComboCheck = false;
hittable = true;
if (runOnce == undefined) {
init();
}
Symbol 204 MovieClip [guard01_out] Frame 11
if (null) {
}
atEnd = true;
Symbol 205 MovieClip [hit01] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = false;
atEnd = false;
hittable = false;
if (runOnce == undefined) {
init();
}
Symbol 205 MovieClip [hit01] Frame 16
if (null) {
}
atEnd = true;
Symbol 206 MovieClip [stance01] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = true;
atEnd = false;
hittable = true;
if (runOnce == undefined) {
init();
}
Symbol 206 MovieClip [stance01] Frame 51
if (null) {
}
atEnd = true;
Symbol 207 MovieClip [throw01] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = false;
atEnd = false;
combo = false;
atComboCheck = false;
hittable = false;
if (runOnce == undefined) {
init();
}
Symbol 207 MovieClip [throw01] Frame 56
if (null) {
}
atEnd = true;
Symbol 208 MovieClip [walk_re01] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = true;
atEnd = false;
hittable = true;
if (runOnce == undefined) {
init();
}
Symbol 208 MovieClip [walk_re01] Frame 36
if (null) {
}
atEnd = true;
Symbol 209 MovieClip [walk01] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = true;
atEnd = false;
hittable = true;
if (runOnce == undefined) {
init();
}
Symbol 209 MovieClip [walk01] Frame 36
if (null) {
}
atEnd = true;
Symbol 210 MovieClip [win01] Frame 1
if (null) {
}
function init() {
gotoAndStop (1);
runOnce = true;
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
next = _currentframe + skip;
jumpTo(next);
if (guide._visible) {
updateGuide();
}
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function showGuide() {
if (guide == undefined) {
this.createTextField("guide", 0, 0, -70, 300, 80);
guide.multiline = true;
formatGuide();
}
guide._visible = true;
}
function hideGuide() {
guide._visible = false;
}
function updateGuide() {
guide.text = (((((("frame : " + _currentframe) + "\n_parent : ") + _parent._name) + "\n_parent._x: ") + _parent._x) + "\n_parent._y: ") + _parent._y;
}
function formatGuide(format) {
if (format == undefined) {
newFormat = new TextFormat();
newFormat.font = "Courier";
newFormat.size = 10;
guide.setNewTextFormat(newFormat);
} else {
guide.setNewTextFormat(format);
}
}
stop();
loop = false;
atEnd = false;
atComboCheck = false;
hittable = false;
if (runOnce == undefined) {
init();
}
Symbol 210 MovieClip [win01] Frame 21
if (null) {
}
atEnd = true;
Symbol 216 MovieClip [flash01] Frame 1
if (null) {
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
if (this.atEnd) {
remove();
}
next = _currentframe + skip;
jumpTo(next);
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function remove() {
_parent.unspawn(this);
}
var loop = false;
var atEnd = false;
Symbol 216 MovieClip [flash01] Frame 21
if (null) {
}
atEnd = true;
Symbol 220 MovieClip [splat01] Frame 1
if (null) {
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
if (this.atEnd) {
remove();
}
next = _currentframe + skip;
jumpTo(next);
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function remove() {
_parent.unspawn(this);
}
var loop = false;
var atEnd = false;
Symbol 220 MovieClip [splat01] Frame 266
if (null) {
}
atEnd = true;
Symbol 225 MovieClip [spurt01] Frame 1
if (null) {
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
if (this.atEnd) {
remove();
}
next = _currentframe + skip;
jumpTo(next);
}
function jumpTo(next) {
if (next > _totalframes) {
if (loop) {
gotoAndStop(next - _totalframes);
} else {
gotoAndStop(_totalframes);
}
} else {
gotoAndStop(next);
}
}
function remove() {
xrand01 = _x + random(20);
xrand02 = _x + random(20);
xrand03 = _x + random(20);
yrand01 = (_parent.p01._y + 140) + random(20);
yrand02 = (_parent.p01._y + 140) + random(20);
yrand03 = (_parent.p01._y + 140) + random(20);
_parent.spawn("splat01", xrand01, yrand01, ((yrand01 - 220) / 20) * 100);
_parent.spawn("splat01", xrand02, yrand02, ((yrand02 - 220) / 20) * 100);
_parent.spawn("splat01", xrand03, yrand03, ((yrand03 - 220) / 20) * 100);
_parent.unspawn(this);
}
var loop = false;
var atEnd = false;
Symbol 225 MovieClip [spurt01] Frame 21
if (null) {
}
atEnd = true;
Symbol 230 MovieClip Frame 1
if (null) {
}
tellTarget (_parent) {
xdif = _parent.stageWidth - _width;
ydif = _parent.stageHeight - _height;
_x = (xdif / 2);
_y = (ydif / 2);
};
Symbol 231 MovieClip [glowingDraw] Frame 60
if (null) {
}
_parent.messageEnd();
stop();
Symbol 233 MovieClip Frame 1
if (null) {
}
tellTarget (_parent) {
xdif = _parent.stageWidth - _width;
ydif = _parent.stageHeight - _height;
_x = (xdif / 2);
_y = (ydif / 2);
};
Symbol 234 MovieClip [glowingFight] Frame 25
if (null) {
}
this.removeMovieClip();
stop();
Symbol 237 MovieClip Frame 1
if (null) {
}
function setName(name) {
name = name.toUpperCase();
name_text.text = name;
shadow_text.text = name;
}
setName(_parent.name);
tellTarget (_parent._parent) {
xdif = _parent.stageWidth - _width;
ydif = _parent.stageHeight - _height;
_x = (xdif / 2);
_y = (ydif / 2);
};
Symbol 240 MovieClip [win] Frame 1
if (null) {
}
name = _parent.name;
Symbol 241 MovieClip [glowingWin] Frame 60
if (null) {
}
_parent.messageEnd();
stop();
Symbol 285 MovieClip [bg] Frame 1
if (null) {
}
gotoAndStop(_root.myProfile.bg);
switch (_root.myProfile.bg) {
case 1 :
_parent.mask01._alpha = 25;
_parent.mask02._alpha = 25;
_parent.shadow_alpha = 75;
_root.myProfile.useClearShadow = false;
break;
case 2 :
_parent.mask01._alpha = 40;
_parent.mask02._alpha = 40;
_parent.shadow_alpha = 75;
_root.myProfile.useClearShadow = false;
break;
case 3 :
_parent.mask01._alpha = 25;
_parent.mask02._alpha = 25;
_parent.shadow_alpha = 50;
_root.myProfile.useClearShadow = true;
}
Symbol 293 MovieClip [test_mask] Frame 1
if (null) {
}
gotoAndStop(_root.myProfile.bg);
Symbol 308 MovieClip [ai] Frame 1
if (null) {
}
function skillScaler(s) {
switch (s) {
case 1 :
return(6);
case 2 :
return(12);
case 3 :
return(25);
case 4 :
return(50);
case 5 :
return(90);
}
return(-1);
}
function delayScaler(s) {
switch (s) {
case 1 :
return(25);
case 2 :
return(20);
case 3 :
return(15);
case 4 :
return(10);
case 5 :
return(5);
}
return(-1);
}
function minComboScaler(s) {
switch (s) {
case 1 :
return(1);
case 2 :
return(2);
case 3 :
return(3);
case 4 :
return(4);
case 5 :
return(5);
}
return(-1);
}
function maxComboScaler(s) {
switch (s) {
case 1 :
return(8);
case 2 :
return(9);
case 3 :
return(10);
case 4 :
return(10);
case 5 :
return(10);
}
return(-1);
}
function update(skip) {
switch (player.state) {
case "stance" :
guard();
fUp = false;
fDown = false;
fRight = false;
fLeft = false;
fAttack = false;
fGuard = false;
if (delayer < DELAY) {
delayer = delayer + 1;
} else if (Math.abs(player._x - enemy._x) > 130) {
if (player.d > 0) {
player.fRight = true;
} else {
player.fLeft = true;
}
} else {
player.fRight = false;
player.fLeft = false;
combo_count = (MIN_COMBO + random(MAX_COMBO - MIN_COMBO)) + 1;
player.setState("attack");
delayer = 0;
}
return;
case "walk" :
guard();
if ((walk_timer < MAX_WALK_TIME) && (Math.abs(player._x - enemy._x) > 100)) {
walk_timer = walk_timer + 1;
} else {
player.fRight = false;
player.fLeft = false;
walk_timer = 0;
}
return;
case "walk_re" :
guard();
if ((walk_timer < MAX_WALK_TIME) && (Math.abs(player._x - enemy._x) > 100)) {
walk_timer = walk_timer + 1;
} else {
player.fRight = false;
player.fLeft = false;
walk_timer = 0;
}
return;
case "attack" :
guard();
if ((player.combo < combo_count) && (Math.abs(enemy._x - player._x) < 150)) {
player.ani.combo = true;
} else {
player.ani.combo = false;
}
return;
case "guard" :
guard();
return;
case "fade" :
if (COUNTER_SKILL < (random(100) + 1)) {
break;
}
player.fAttack = true;
}
}
function guard() {
if ((enemy.state == "attack") && (Math.abs(enemy._x - player._x) < 150)) {
if ((GUARD_SKILL >= (random(100) + 1)) && (player.mp > 50)) {
player.fGuard = true;
if (COUNTER_SKILL >= (random(100) + 1)) {
player.setState("grab");
player.hittable = false;
} else {
player.setState("guard_in");
}
player.xspeed = 0;
}
} else {
player.fGuard = false;
}
}
var player;
var enemy;
var delayer = 0;
var walk_timer = 0;
var combo_count = 0;
var DELAY = delayScaler(_root.myProfile.AIAggressive);
var MIN_COMBO = minComboScaler(_root.myProfile.AICombo);
var MAX_COMBO = maxComboScaler(_root.myProfile.AICombo);
var MAX_WALK_TIME = 20;
var GUARD_SKILL = skillScaler(_root.myProfile.AIReflex);
var COUNTER_SKILL = skillScaler(_root.myProfile.AICounter);
Symbol 309 MovieClip [camera] Frame 1
if (null) {
}
function update(skip) {
midPlayers = (p01._x + p02._x) / 2;
xfocus = Math.round(mid - ((mid + midPlayers) / 2)) * 2;
dif = xfocus / loose;
if ((bg._x < (stageWidth - bg._width)) && (dif <= 0)) {
dif = 0;
} else if ((bg._x > 0) && (dif >= 0)) {
dif = 0;
}
bg._x = bg._x + dif;
p01._x = p01._x + dif;
p02._x = p02._x + dif;
i = 0;
while (i < attachCam.length) {
attachCam[i]._x = attachCam[i]._x + dif;
i++;
}
if (isShake) {
s = s + 1;
if (s >= shakeCount) {
isShake = false;
}
d = (((s % 2) == 0) ? 1 : -1);
bg._x = bg._x + (xShake * d);
bg._y = bg._y + (yShake * d);
p01._x = p01._x + (xShake * d);
p01._y = p01._y + (yShake * d);
p02._x = p02._x + (xShake * d);
p02._y = p02._y + (yShake * d);
i = 0;
while (i < attachCam.length) {
attachCam[i]._x = attachCam[i]._x + (xShake * d);
attachCam[i]._y = attachCam[i]._y + (yShake * d);
i++;
}
}
}
function shake(x, y, c) {
xShake = x;
yShake = y;
shakeCount = c;
isShake = true;
}
function attach(clip, offset) {
if (clip == undefined) {
return(-1);
}
if (offset == undefined) {
offset = 0;
}
clip.offset = offset;
newLength = attachCam.push(clip);
return(newLength);
}
function detach(clip) {
i = 0;
while (i < attachCam.length) {
if (clip == attachCam[i]) {
j = i;
while (j < (attachCam.length - 1)) {
attachCam[j] = attachCam[j + 1];
j++;
}
attachCam.pop();
return(i);
}
i++;
}
return(-1);
}
var p01;
var p02;
var bg;
var stageWidth = 395;
var stageHeight = 254;
var mid = 197.5;
var loose = 10;
var isShake = false;
var xShake = 0;
var yShake = 0;
var shakeCount = 0;
var s;
var attachCam = new Array();
Symbol 312 MovieClip [clock] Frame 1
if (null) {
}
function update(skip) {
c = c + 1;
if ((c % fps) == 0) {
if (s) {
_parent.roundStart();
s = false;
}
sec = sec - 1;
clock_text.text = sec;
if (sec < 0) {
sec = 0;
if (_parent.p01.hp > _parent.p02.hp) {
_parent.roundEnd(_parent.p01);
} else if (_parent.p01.hp < _parent.p02.hp) {
_parent.roundEnd(_parent.p02);
} else {
_parent.roundEnd();
}
}
c = 0;
}
}
var sec = _root.myProfile.roundTime;
var c = 0;
var s = true;
var fps = _root.fpsCounter.fps;
Symbol 313 MovieClip [fpsCounter] Frame 1
if (null) {
}
function showFPS() {
fps_text._visible = true;
}
function hideFPS() {
fps_text._visible = false;
}
function toggleFPS() {
fps_text._visible = (fps_text._visible ? false : true);
}
play();
if (d == undefined) {
d = 0;
}
if (DELAY == undefined) {
DELAY = 10;
}
if (fps_text == undefined) {
this.createTextField("fps_text", 1, 5, Stage.height - 12, Stage.width - 5, 20);
textFormat = new TextFormat();
textFormat.font = "Small Fonts";
textFormat.align = "right";
textFormat.color = 16777215 /* 0xFFFFFF */;
textFormat.size = 8;
fps_text.setNewTextFormat(textFormat);
fps_text.selectable = false;
fps_text._visible = false;
}
this.onEnterFrame = function () {
t1 = getTimer() - t0;
t0 = getTimer();
fps = Math.round(1000 / t1);
if (auto) {
if (d < DELAY) {
d = d + 1;
} else {
if (preferred_fps == undefined) {
preferred_fps = fps;
}
if (fps < (preferred_fps - 2)) {
if (_quality != "LOW") {
_quality = "LOW";
}
} else {
_quality = _root.myProfile.quality;
}
d = 0;
}
}
_root.fps = fps;
fps_text.text = "FPS: " + fps;
};
Symbol 314 MovieClip [jukebox] Frame 1
if (null) {
}
function playSFX(s) {
if (isSFX) {
sfx.attachSound(s);
sfx.start();
}
}
function stopSFX(s) {
sfx.stop(s);
}
function playMusic(m) {
if (isMusic) {
if (currentMusic != m) {
stopMusic(m);
music.attachSound(m);
music.start(0, 999);
currentMusic = m;
}
} else {
stopMusic();
}
}
function stopMusic() {
music.stop(currentMusic);
currentMusic = null;
}
function muteSFX() {
sfx.stop();
isSFX = false;
}
function useSFX() {
isSFX = true;
}
function muteMusic() {
music.stop();
isMusic = false;
}
function useMusic() {
isMusic = true;
}
isMusic = true;
isSFX = true;
music = new Sound();
sfx = new Sound();
Symbol 315 MovieClip [jump_entity] Frame 1
if (null) {
}
function update(skip) {
if (skip == undefined) {
skip = 1;
}
if (!atEnd) {
if (c < mid) {
d = -1;
VSPEED = VSPEED / (3 * skip);
} else if ((c > mid) && (c < (JUMP_TIME - 5))) {
d = 1;
VSPEED = VSPEED * (3 * skip);
} else {
d = 0;
VSPEED = 0;
}
_y = (_y + ((d * VSPEED) * skip));
ani._y = _y;
ani_shadow._y = _y + 182;
trail01._y = _y;
trail02._y = _y;
mask._y = _y;
c = c + (1 * skip);
if (c >= JUMP_TIME) {
atEnd = true;
}
}
}
stop();
var VSPEED = 1000;
var JUMP_TIME = 41;
var c = 1;
var mid = (JUMP_TIME / 2);
var atEnd = false;
Symbol 316 MovieClip [player] Frame 5
if (null) {
}
function init() {
this.combo = 0;
this.d = 1;
this.e = 1;
this.xorigin = _x;
this.yorigin = _y;
this.clip = false;
this.stageWidth = _parent.stageWidth;
this.stageHeight = _parent.stageHeight;
this.hittable = true;
this.control = false;
this.hp = 100;
this.mp = 100;
this.stamina = 3;
this.power = 3;
this.stance_ani = "stance01";
this.walk_ani = "walk01";
this.walk_re_ani = "walk_re01";
this.attackArray = new Array("attack_rh01", "attack_rf01", "attack_lh01", "attack_lf01", "attack_rh02", "attack_rf02", "attack_lh02", "attack_lf02", "attack_lf03", "attack_lf04");
this.attack_ani = "attack_rh01";
this.hit_ani = "hit01";
this.fall_ani = "fall01";
this.flip_ani = "flip01";
this.getup_ani = "getup01";
this.guard_in_ani = "guard01_in";
this.guard_out_ani = "guard01_out";
this.guard_ani = "guard01";
this.fade_ani = "fade01";
this.counter_ani = "attack_rf01";
this.grab_ani = "grab01";
this.grabbed_ani = "grabbed01";
this.throw_ani = "throw01";
this.thrown_ani = "fall01";
this.dead_ani = "fall01";
this.win_ani = "win01";
this.attachAni = new Array();
loadSkin();
this.ani_shadow = _parent.createEmptyMovieClip("ani_shadow_" + this._name, this.getDepth() - 1);
this.ani_shadow._yscale = -30;
this.ani_shadow._alpha = _parent.shadow_alpha;
this.ani_shadow._x = _x;
this.ani_shadow._y = yorigin + 182;
this.trail01 = _parent.createEmptyMovieClip("trail01_" + this._name, this.getDepth() + 2);
this.trail01._alpha = 40;
this.trail02 = _parent.createEmptyMovieClip("trail02_" + this._name, this.getDepth() + 3);
this.trail02._alpha = 20;
this.mask = _parent.createEmptyMovieClip("mask_" + this._name, this.getDepth() + 1);
_parent.getPlayerMask(this).setMask(this.mask);
this.xspeed = 0;
this.yspeed = 0;
this.controlPack = _parent.getControl(this);
this.up = controlPack.up;
this.down = controlPack.down;
this.left = controlPack.left;
this.right = controlPack.right;
this.attack = controlPack.attack;
this.guard = controlPack.guard;
this.pause = controlPack.pause;
this.fUp = false;
this.fDown = false;
this.fLeft = false;
this.fRight = false;
this.fAttack = false;
this.fGuard = false;
this.fPause = false;
basic = new Object();
basic.onKeyDown = function () {
if (control) {
if (Key.isDown(up)) {
fUp = true;
fDown = false;
} else if (Key.isDown(down)) {
fDown = true;
fUp = false;
}
if (Key.isDown(left)) {
fLeft = true;
fRight = false;
} else if (Key.isDown(right)) {
fRight = true;
fLeft = false;
}
if (Key.isDown(attack)) {
fAttack = true;
}
if (Key.isDown(guard)) {
fGuard = true;
}
if (Key.isDown(pause)) {
fPause = true;
}
}
};
basic.onKeyUp = function () {
if (control) {
if (!Key.isDown(up)) {
fUp = false;
}
if (!Key.isDown(down)) {
fDown = false;
}
if (!Key.isDown(left)) {
fLeft = false;
}
if (!Key.isDown(right)) {
fRight = false;
}
if (!Key.isDown(attack)) {
fAttack = false;
}
if (!Key.isDown(guard)) {
fGuard = false;
}
if (!Key.isDown(pause)) {
fPause = false;
}
}
};
Key.addListener(basic);
setState("stance");
showShadow();
hideTrail();
runOnce = true;
}
function flip() {
_x = (_x + (d * (_width / 2)));
d = d * -1;
ani._xscale = 100 * d;
ani_shadow._xscale = 100 * d;
trail01._xscale = 100 * d;
trail02._xscale = 100 * d;
mask._xscale = 100 * d;
temp = walk_re_ani;
walk_re_ani = walk_ani;
walk_ani = temp;
}
function update(skip) {
if (ani.atEnd) {
atEnd();
}
if (ani.atComboCheck) {
atComboCheck();
}
updateControl();
ani.update(skip);
isFlip(_parent.getOtherPlayer(this));
isHit(_parent.getOtherPlayer(this));
if (((state != "guard") && (state != "guard_in")) && (state != "fade")) {
mp = mp + (0.5 * (skip / 5));
if (mp > 100) {
mp = 100;
}
staminaBar._xscale = mp;
}
if ((mp <= 0) && (state == "guard")) {
setState("guard_out");
}
i = 0;
while (i < attachAni.length) {
syncAni(attachAni[i], skip);
i++;
}
updateDimension(skip);
updateAttachDimension(skip);
}
function sync(skip) {
next = ani._currentframe + (skip - ((ani._currentframe - 1) % skip));
ani.jumpTo(next);
}
function syncAni(clip, skip) {
next = ani._currentframe + (clip.offset * skip);
if (next > ani._totalframes) {
if (ani.loop) {
next = next - ani._totalframes;
} else {
next = ani._totalframes;
}
} else if (next < 1) {
if (ani.loop) {
next = next + ani._totalframes;
} else {
next = 1;
}
}
clip.ani.gotoAndStop(next);
}
function attach(clip, offset) {
if (clip == undefined) {
return(-1);
}
if (offset == undefined) {
offset = 0;
}
clip.offset = offset;
newLength = attachAni.push(clip);
return(newLength);
}
function detach(clip) {
i = 0;
while (i < attachAni.length) {
if (clip == attachAni[i]) {
j = i;
while (j < (attachAni.length - 1)) {
attachAni[j] = attachAni[j + 1];
j++;
}
attachAni.pop();
return(i);
}
i++;
}
return(-1);
}
function setState(s) {
ani.removeMovieClip();
detach(ani_shadow);
detach(trail01);
detach(trail02);
detach(mask);
ani_shadow.ani.removeMovieClip();
trail01.ani.removeMovieClip();
trail02.ani.removeMovieClip();
mask.ani.removeMovieClip();
switch (s) {
case "stance" :
hittable = true;
xspeed = 0;
this.attachMovie(stance_ani, "ani", 1);
ani_shadow.attachMovie(stance_ani, "ani", 1);
trail01.attachMovie(stance_ani, "ani", 1);
trail02.attachMovie(stance_ani, "ani", 1);
mask.attachMovie(stance_ani, "ani", 1);
break;
case "walk" :
hittable = true;
xspeed = 0.9;
this.attachMovie(walk_ani, "ani", 1);
ani_shadow.attachMovie(walk_ani, "ani", 1);
trail01.attachMovie(walk_ani, "ani", 1);
trail02.attachMovie(walk_ani, "ani", 1);
mask.attachMovie(walk_ani, "ani", 1);
break;
case "walk_re" :
hittable = true;
xspeed = -0.9;
this.attachMovie(walk_re_ani, "ani", 1);
ani_shadow.attachMovie(walk_re_ani, "ani", 1);
trail01.attachMovie(walk_re_ani, "ani", 1);
trail02.attachMovie(walk_re_ani, "ani", 1);
mask.attachMovie(walk_re_ani, "ani", 1);
break;
case "attack" :
hittable = true;
fAttack = false;
attack_ani = attackArray[combo];
_root.jukebox.playSFX("sfx_swing.wav");
this.attachMovie(attack_ani, "ani", 1);
ani_shadow.attachMovie(attack_ani, "ani", 1);
trail01.attachMovie(attack_ani, "ani", 1);
trail02.attachMovie(attack_ani, "ani", 1);
mask.attachMovie(attack_ani, "ani", 1);
combo = combo + 1;
if (combo == attackArray.length) {
combo = 0;
}
break;
case "hit" :
hittable = false;
xspeed = (-0.2) * d;
_root.jukebox.playSFX("sfx_lightpunch.wav");
if (_root.myProfile.blood) {
_parent.spawn("spurt01", (d * 28) + _x, 18 + _y);
}
this.attachMovie(hit_ani, "ani", 1);
ani_shadow.attachMovie(hit_ani, "ani", 1);
trail01.attachMovie(hit_ani, "ani", 1);
trail02.attachMovie(hit_ani, "ani", 1);
mask.attachMovie(hit_ani, "ani", 1);
break;
case "fall" :
hittable = false;
xspeed = (-3) * d;
_root.jukebox.playSFX("sfx_hardpunch.wav");
_parent.timescale.slowTime();
this.attachMovie(fall_ani, "ani", 1);
ani_shadow.attachMovie(fall_ani, "ani", 1);
trail01.attachMovie(fall_ani, "ani", 1);
trail02.attachMovie(fall_ani, "ani", 1);
mask.attachMovie(fall_ani, "ani", 1);
break;
case "getup" :
hittable = false;
xspeed = 0;
_root.jukebox.playSFX("sfx_swing.wav");
this.attachMovie(getup_ani, "ani", 1);
ani_shadow.attachMovie(getup_ani, "ani", 1);
trail01.attachMovie(getup_ani, "ani", 1);
trail02.attachMovie(getup_ani, "ani", 1);
mask.attachMovie(getup_ani, "ani", 1);
break;
case "flip" :
hittable = true;
_parent.timescale.normalTime();
this.attachMovie(flip_ani, "ani", 1);
ani_shadow.attachMovie(flip_ani, "ani", 1);
trail01.attachMovie(flip_ani, "ani", 1);
trail02.attachMovie(flip_ani, "ani", 1);
mask.attachMovie(flip_ani, "ani", 1);
break;
case "guard_in" :
hittable = true;
this.attachMovie(guard_in_ani, "ani", 1);
ani_shadow.attachMovie(guard_in_ani, "ani", 1);
trail01.attachMovie(guard_in_ani, "ani", 1);
trail02.attachMovie(guard_in_ani, "ani", 1);
mask.attachMovie(guard_in_ani, "ani", 1);
break;
case "guard_out" :
hittable = true;
this.attachMovie(guard_out_ani, "ani", 1);
ani_shadow.attachMovie(guard_out_ani, "ani", 1);
trail01.attachMovie(guard_out_ani, "ani", 1);
trail02.attachMovie(guard_out_ani, "ani", 1);
mask.attachMovie(guard_out_ani, "ani", 1);
break;
case "guard" :
this.attachMovie(guard_ani, "ani", 1);
ani_shadow.attachMovie(guard_ani, "ani", 1);
trail01.attachMovie(guard_ani, "ani", 1);
trail02.attachMovie(guard_ani, "ani", 1);
mask.attachMovie(guard_ani, "ani", 1);
break;
case "fade" :
hittable = false;
this.attachMovie(fade_ani, "ani", 1);
ani_shadow.attachMovie(fade_ani, "ani", 1);
trail01.attachMovie(fade_ani, "ani", 1);
trail02.attachMovie(fade_ani, "ani", 1);
mask.attachMovie(fade_ani, "ani", 1);
break;
case "counter" :
power = power * 3;
hittable = false;
this.attachMovie(counter_ani, "ani", 1);
_parent.timescale.slowTime();
ani_shadow.attachMovie(counter_ani, "ani", 1);
trail01.attachMovie(counter_ani, "ani", 1);
trail02.attachMovie(counter_ani, "ani", 1);
mask.attachMovie(counter_ani, "ani", 1);
break;
case "grab" :
hittable = true;
mp = mp - 10;
this.attachMovie(grab_ani, "ani", 1);
ani_shadow.attachMovie(grab_ani, "ani", 1);
trail01.attachMovie(grab_ani, "ani", 1);
trail02.attachMovie(grab_ani, "ani", 1);
mask.attachMovie(grab_ani, "ani", 1);
break;
case "grabbed" :
hittable = false;
xspeed = 1 * d;
this.attachMovie(grabbed_ani, "ani", 1);
ani_shadow.attachMovie(grabbed_ani, "ani", 1);
trail01.attachMovie(grabbed_ani, "ani", 1);
trail02.attachMovie(grabbed_ani, "ani", 1);
mask.attachMovie(grabbed_ani, "ani", 1);
break;
case "throw" :
hittable = false;
this.attachMovie(throw_ani, "ani", 1);
ani_shadow.attachMovie(throw_ani, "ani", 1);
trail01.attachMovie(throw_ani, "ani", 1);
trail02.attachMovie(throw_ani, "ani", 1);
mask.attachMovie(throw_ani, "ani", 1);
break;
case "thrown" :
hittable = false;
xspeed = 5 * d;
_parent.timescale.slowTime();
this.attachMovie(thrown_ani, "ani", 1);
ani_shadow.attachMovie(thrown_ani, "ani", 1);
trail01.attachMovie(thrown_ani, "ani", 1);
trail02.attachMovie(thrown_ani, "ani", 1);
mask.attachMovie(thrown_ani, "ani", 1);
break;
case "dead" :
hittable = false;
xspeed = (-3) * d;
_root.jukebox.playSFX("sfx_hardpunch.wav");
_parent.timescale.slowTime();
this.attachMovie(dead_ani, "ani", 1);
ani_shadow.attachMovie(dead_ani, "ani", 1);
trail01.attachMovie(dead_ani, "ani", 1);
trail02.attachMovie(dead_ani, "ani", 1);
mask.attachMovie(dead_ani, "ani", 1);
break;
case "win" :
hittable = false;
this.attachMovie(win_ani, "ani", 1);
ani_shadow.attachMovie(win_ani, "ani", 1);
trail01.attachMovie(win_ani, "ani", 1);
trail02.attachMovie(win_ani, "ani", 1);
mask.attachMovie(win_ani, "ani", 1);
}
if (d < 0) {
ani._xscale = -100;
ani_shadow._xscale = -100;
trail01._xscale = -100;
trail02._xscale = -100;
mask._xscale = -100;
}
attach(mask, 0);
attach(ani_shadow, 0);
attach(trail01, -2);
attach(trail02, -5);
this.state = s;
}
function atEnd() {
switch (state) {
case "attack" :
setState("stance");
return;
case "hit" :
setState("stance");
return;
case "fall" :
_parent.timescale.normalTime();
setState("getup");
return;
case "getup" :
setState("stance");
return;
case "flip" :
setState("stance");
return;
case "guard_in" :
setState("guard");
return;
case "guard_out" :
setState("stance");
return;
case "fade" :
setState("guard_out");
return;
case "counter" :
power = power / 3;
_parent.timescale.normalTime();
setState("stance");
return;
case "grab" :
setState("stance");
return;
case "grabbed" :
xspeed = 0;
setState("thrown");
return;
case "throw" :
setState("stance");
return;
case "thrown" :
_parent.timescale.normalTime();
xspeed = 0;
if (hp <= 0) {
_parent.timescale.normalTime();
_parent.timescale.detach(this);
_parent.roundEnd(_parent.getOtherPlayer(this));
} else {
setState("getup");
}
return;
case "dead" :
_parent.timescale.normalTime();
_parent.timescale.detach(this);
_parent.timescale.detach(mask);
_parent.timescale.detach(trail01);
_parent.timescale.detach(trail02);
_parent.timescale.detach(ani_shadow);
_parent.roundEnd(_parent.getOtherPlayer(this));
xspeed = 0;
}
}
function atComboCheck() {
switch (state) {
case "attack" :
if (ani.combo) {
setState("attack");
}
return;
case "fall" :
_root.jukebox.playSFX("sfx_fall.wav");
if (_root.myProfile.blood) {
_parent.spawn("spurt01", _x - (d * 25), _y + 120, 100);
}
xspeed = 0;
return;
case "grab" :
hittable = true;
if ((_parent.getOtherPlayer(this).state == "grabbed") || (_parent.getOtherPlayer(this).state == "thrown")) {
setState("throw");
}
return;
case "thrown" :
_root.jukebox.playSFX("sfx_fall.wav");
if (_root.myProfile.blood) {
_parent.spawn("spurt01", _x - (d * 25), _y + 120, 100);
}
xspeed = 0;
return;
case "dead" :
_root.jukebox.playSFX("sfx_fall.wav");
if (_root.myProfile.blood) {
_parent.spawn("spurt01", _x - (d * 25), _y + 120, 100);
}
xspeed = 0;
return;
case "fade" :
if (!ani.combo) {
break;
}
setState("attack");
}
}
function isHit(player) {
if (ani.hitArea != undefined) {
if (((player.hitTest((d * ani.hitArea._x) + _x, ani.hitArea._y + _y, true) || (player.hitTest(((d * ani.hitArea._x) + _x) + 10, ani.hitArea._y + _y, 11))) || (player.hitTest(((d * ani.hitArea._x) + _x) - 10, ani.hitArea._y + _y, -9))) && (player.hittable)) {
if (((player.state == "guard") || (player.state == "guard_in")) || (player.state == "guard_out")) {
player.setState("fade");
} else if (state == "grab") {
player.setState("grabbed");
if ((player._name == "p01") && (_root.myProfile.gameType < 2)) {
if (!_root.myProfile.invincible) {
player.hp = player.hp - (power * 5);
}
} else {
player.hp = player.hp - (power * 5);
}
if (player.hp < 0) {
player.hp = 0;
}
player.healthBar._xscale = player.hp;
} else {
_parent.spawn("flash01", (d * ani.hitArea._x) + _x, ani.hitArea._y + _y);
if (combo == 0) {
player.setState("fall");
} else {
player.setState("hit");
}
if ((player._name == "p01") && (_root.myProfile.gameType < 2)) {
if (!_root.myProfile.invincible) {
player.hp = player.hp - (power * (1 + (combo / 10)));
}
} else {
player.hp = player.hp - (power * (1 + (combo / 10)));
}
if (player.hp < 0) {
player.hp = 0;
player.setState("dead");
}
player.healthBar._xscale = player.hp;
}
}
}
}
function isFlip(player) {
if (player == undefined) {
} else if (((state == "stance") || (state == "walk")) || (state == "walk_re")) {
pCenter = player._x + (player.d * 8);
center = _x + (d * 8);
if (((d > 0) && (center > pCenter)) || ((d < 0) && (center <= pCenter))) {
flip();
setState("flip");
}
}
}
function updateControl() {
if (fPause) {
_parent.pause();
fPause = false;
}
switch (state) {
case "stance" :
if (fUp) {
}
if (fDown) {
}
if (fLeft) {
xspeed = -0.9;
setState("walk_re");
}
if (fRight) {
xspeed = 0.9;
setState("walk");
}
if (fAttack) {
xspeed = 0;
setState("attack");
}
if (fGuard) {
xspeed = 0;
if (mp > 10) {
if (_parent.getOtherPlayer(this).state == "attack") {
setState("grab");
} else {
setState("guard_in");
}
}
}
return;
case "walk" :
if (fUp) {
}
if (fDown) {
}
if (fLeft) {
xspeed = -0.9;
setState("walk_re");
}
if (!fRight) {
xspeed = 0;
setState("stance");
}
if (fAttack) {
xspeed = 0;
setState("attack");
}
if (fGuard) {
xspeed = 0;
if (mp > 10) {
if (_parent.getOtherPlayer(this).state == "attack") {
setState("grab");
} else {
setState("guard_in");
}
}
}
return;
case "walk_re" :
if (fUp) {
}
if (fDown) {
}
if (!fLeft) {
xspeed = 0;
setState("stance");
}
if (fRight) {
xspeed = 0.9;
setState("walk_re");
}
if (fAttack) {
xspeed = 0;
setState("attack");
}
if (fGuard) {
xspeed = 0;
if (mp > 10) {
if (_parent.getOtherPlayer(this).state == "attack") {
setState("grab");
} else {
setState("guard_in");
}
}
}
return;
case "attack" :
if (fAttack) {
ani.combo = true;
}
return;
case "guard_in" :
mp = mp - stamina;
if (mp < 0) {
mp = 0;
setState("guard_out");
}
staminaBar._xscale = mp;
if (!fGuard) {
setState("stance");
}
return;
case "guard" :
mp = mp - stamina;
if (mp < 0) {
mp = 0;
setState("guard_out");
}
staminaBar._xscale = mp;
hittable = true;
if (!fGuard) {
setState("guard_out");
}
return;
case "fade" :
mp = mp - stamina;
if (mp < 0) {
mp = 0;
setState("guard_out");
}
staminaBar._xscale = mp;
if (!fAttack) {
break;
}
setState("counter");
}
}
function toggleShadow() {
ani_shadow._visible = (ani_shadow._visible ? false : true);
}
function showShadow() {
ani_shadow._visible = true;
}
function hideShadow() {
ani_shadow._visible = false;
}
function toggleTrail() {
trail01._visible = (trail01._visible ? false : true);
trail02._visible = (trail02._visible ? false : true);
}
function showTrail() {
trail01._visible = true;
trail02._visible = true;
}
function hideTrail() {
trail01._visible = false;
trail02._visible = false;
}
function toggleMask() {
mask._visible = (mask._visible ? false : true);
_parent.mask_map._visible = (_parent.mask_map._visible ? false : true);
}
function showMask() {
mask._visible = true;
_parent.mask_map._visible = true;
}
function hideMask() {
mask._visible = false;
_parent.mask_map._visible = false;
}
function updateDimension(skip) {
_x = (_x + (xspeed * skip));
if ((_x < 20) && (clip)) {
_x = 20;
} else if ((_x > (stageWidth - 20)) && (clip)) {
_x = (stageWidth - 20);
}
_y = (_y + (yspeed * skip));
if ((_y < 20) && (clip)) {
_y = 20;
} else if ((_y > (stageHeight - 20)) && (clip)) {
_x = (stageHeight - 20);
}
}
function updateAttachDimension(skip) {
ani_shadow._x = _x;
ani_shadow._y = _y + 182;
mask._x = _x;
mask._y = _y;
trail01._x = timescale.frameBuffer[timescale.frameBuffer.length - 3].x[index];
trail01._y = timescale.frameBuffer[timescale.frameBuffer.length - 3].y[index];
trail02._x = timescale.frameBuffer[timescale.frameBuffer.length - 7].x[index];
trail02._y = timescale.frameBuffer[timescale.frameBuffer.length - 7].y[index];
}
function scale(s) {
_xscale = s;
_yscale = s;
ani_shadow._xscale = s;
ani_shadow._yscale = s;
mask._xscale = s;
mask._yscale = s;
trail01._xscale = s;
trail01._yscale = s;
trail02._xscale = s;
trail02._yscale = s;
}
function loadSkin() {
var OFFSET = 2;
if (_name == "p01") {
this.headSkin = _root.myProfile.p01headSkin + OFFSET;
this.bodySkin = _root.myProfile.p01bodySkin + OFFSET;
this.footSkin = _root.myProfile.p01footSkin + OFFSET;
} else if (_name == "p02") {
this.headSkin = _root.myProfile.p02headSkin + OFFSET;
this.bodySkin = _root.myProfile.p02bodySkin + OFFSET;
this.footSkin = _root.myProfile.p02footSkin + OFFSET;
}
updateSkin(ani, "custom");
updateSkin(trail01.ani, "custom");
updateSkin(trail02.ani, "custom");
}
function updateSkin(clip, skin) {
switch (skin) {
case "block" :
clip.head.gotoAndStop(clip.head._totalframes - 1);
clip.rh_hi.gotoAndStop(clip.rh_hi._totalframes - 1);
clip.rh_lo.gotoAndStop(clip.rh_lo._totalframes - 1);
clip.rh.gotoAndStop(clip.rh._totalframes - 1);
clip.lh_hi.gotoAndStop(clip.lh_hi._totalframes - 1);
clip.lh_lo.gotoAndStop(clip.lh_lo._totalframes - 1);
clip.lh.gotoAndStop(clip.lh._totalframes - 1);
clip.rf_hi.gotoAndStop(clip.rf_hi._totalframes - 1);
clip.rf_lo.gotoAndStop(clip.rf_lo._totalframes - 1);
clip.rf.gotoAndStop(clip.rf._totalframes - 1);
clip.lf_hi.gotoAndStop(clip.lf_hi._totalframes - 1);
clip.lf_lo.gotoAndStop(clip.lf_lo._totalframes - 1);
clip.lf.gotoAndStop(clip.lf._totalframes - 1);
clip.t_hi.gotoAndStop(clip.t_hi._totalframes - 1);
clip.t_lo.gotoAndStop(clip.t_lo._totalframes - 1);
return;
case "silhouette" :
clip.head.gotoAndStop(clip.head._totalframes);
clip.rh_hi.gotoAndStop(clip.rh_hi._totalframes);
clip.rh_lo.gotoAndStop(clip.rh_lo._totalframes);
clip.rh.gotoAndStop(clip.rh._totalframes);
clip.lh_hi.gotoAndStop(clip.lh_hi._totalframes);
clip.lh_lo.gotoAndStop(clip.lh_lo._totalframes);
clip.lh.gotoAndStop(clip.lh._totalframes);
clip.rf_hi.gotoAndStop(clip.rf_hi._totalframes);
clip.rf_lo.gotoAndStop(clip.rf_lo._totalframes);
clip.rf.gotoAndStop(clip.rf._totalframes);
clip.lf_hi.gotoAndStop(clip.lf_hi._totalframes);
clip.lf_lo.gotoAndStop(clip.lf_lo._totalframes);
clip.lf.gotoAndStop(clip.lf._totalframes);
clip.t_hi.gotoAndStop(clip.t_hi._totalframes);
clip.t_lo.gotoAndStop(clip.t_lo._totalframes);
return;
case "custom" :
clip.head.gotoAndStop(headSkin);
clip.rh_hi.gotoAndStop(bodySkin);
clip.rh_lo.gotoAndStop(bodySkin);
clip.rh.gotoAndStop(bodySkin);
clip.lh_hi.gotoAndStop(bodySkin);
clip.lh_lo.gotoAndStop(bodySkin);
clip.lh.gotoAndStop(bodySkin);
clip.rf_hi.gotoAndStop(footSkin);
clip.rf_lo.gotoAndStop(footSkin);
clip.rf.gotoAndStop(footSkin);
clip.lf_hi.gotoAndStop(footSkin);
clip.lf_lo.gotoAndStop(footSkin);
clip.lf.gotoAndStop(footSkin);
clip.t_hi.gotoAndStop(bodySkin);
clip.t_lo.gotoAndStop(footSkin);
}
}
stop();
if (runOnce == undefined) {
init();
}
Symbol 317 MovieClip [timescale] Frame 1
if (null) {
}
function FrameShot() {
this.x = new Array();
this.y = new Array();
this.frame = new Array();
this.state = new Array();
}
function init() {
NORMAL_SKIP = 5;
SLOW_SKIP = 1;
BUFFER_SIZE = 8;
syncObjects = new Array();
frameBuffer = new Array();
frameSkip = NORMAL_SKIP;
delay = 0;
counter = 0;
runOnce = true;
isPause = false;
}
function attach(clip) {
if (clip == undefined) {
return(-1);
}
if (clip.timescale == undefined) {
clip.timescale = this;
} else {
return(-1);
}
newLength = syncObjects.push(clip);
clip.index = newLength - 1;
sync(clip);
return(newLength);
}
function detach(clip) {
i = 0;
while (i < syncObjects.length) {
if (clip == syncObjects[i]) {
j = i;
while (j < (syncObjects.length - 1)) {
syncObjects[j] = syncObjects[j + 1];
j++;
}
syncObjects.pop();
return(i);
}
i++;
}
return(-1);
}
function getIndex(clip) {
i = 0;
while (i < syncObjects.length) {
if (clip == syncObjects[i]) {
return(i);
}
i++;
}
return(-1);
}
function update(skip) {
takeShot();
i = 0;
while (i < syncObjects.length) {
syncObjects[i].update(skip);
i++;
}
}
function takeShot() {
newShot = new FrameShot();
i = 0;
while (i < syncObjects.length) {
newShot.x.push(syncObjects[i]._x);
newShot.y.push(syncObjects[i]._y);
newShot.frame.push(syncObjects[i].ani._currentframe);
newShot.state.push(syncObjects[i].state);
i++;
}
frameBuffer.push(newShot);
if (frameBuffer.length >= BUFFER_SIZE) {
frameBuffer.shift();
}
}
function normalTime() {
frameSkip = NORMAL_SKIP;
i = 0;
while (i < syncObjects.length) {
syncObjects[i].hideTrail();
sync(syncObjects[i]);
i++;
}
}
function slowTime() {
if (_root.myProfile.slomo) {
_root.jukebox.playSFX("sfx_slow.wav");
frameSkip = SLOW_SKIP;
i = 0;
while (i < syncObjects.length) {
syncObjects[i].showTrail();
sync(syncObjects[i]);
i++;
}
}
}
function toggleTime() {
if (frameSkip == NORMAL_SKIP) {
slowTime();
} else {
normalTime();
}
}
function togglePause() {
pause = (pause ? false : true);
}
function pause() {
isPause = true;
}
function unpause() {
isPause = false;
}
function sync(clip) {
clip.sync(frameSkip);
}
play();
if (runOnce == undefined) {
init();
}
this.onEnterFrame = function () {
if (!isPause) {
if (counter < delay) {
counter = counter + 1;
} else {
update(frameSkip);
counter = 0;
}
}
};
Symbol 338 MovieClip [menu_credits] Frame 1
if (null) {
}
button01.buttonText.text = "Back";
button01.button.onRelease = function () {
_root.jukebox.playSFX("sfx_click.wav");
_parent.registerDeck("menu01", "menu_main");
_parent.play();
};
stop();
Symbol 340 Button [button_small]
on (press) {
if (null) {
}
_parent.registerDeck("stage");
_parent.play();
}
Symbol 346 MovieClip [menu_howtoplay] Frame 1
if (null) {
}
function getPlayerMask(player) {
playerMask = ((player._name == "p01") ? (mask01) : (mask02));
playerMask._visible = true;
playerMask._alpha = 15;
return(playerMask);
}
function getKeyDisplay(code) {
switch (code) {
case 48 :
return("0");
case 49 :
return("1");
case 50 :
return("2");
case 51 :
return("3");
case 52 :
return("4");
case 53 :
return("5");
case 54 :
return("6");
case 55 :
return("7");
case 56 :
return("8");
case 57 :
return("9");
case 65 :
return("A");
case 66 :
return("B");
case 67 :
return("C");
case 68 :
return("D");
case 69 :
return("E");
case 70 :
return("F");
case 71 :
return("G");
case 72 :
return("H");
case 73 :
return("I");
case 74 :
return("J");
case 75 :
return("K");
case 76 :
return("L");
case 77 :
return("M");
case 78 :
return("N");
case 79 :
return("O");
case 80 :
return("P");
case 81 :
return("Q");
case 82 :
return("R");
case 83 :
return("S");
case 84 :
return("T");
case 85 :
return("U");
case 86 :
return("V");
case 87 :
return("W");
case 88 :
return("X");
case 89 :
return("Y");
case 90 :
return("Z");
case 96 :
return("Numpad 0");
case 97 :
return("Numpad 1");
case 98 :
return("Numpad 2");
case 99 :
return("Numpad 3");
case 100 :
return("Numpad 4");
case 101 :
return("Numpad 5");
case 102 :
return("Numpad 6");
case 103 :
return("Numpad 7");
case 104 :
return("Numpad 8");
case 105 :
return("Numpad 9");
case 106 :
return("*");
case 107 :
return("+");
case 108 :
return("Enter");
case 109 :
return("-");
case 110 :
return(".");
case 111 :
return("/");
case 112 :
return("F1");
case 113 :
return("F2");
case 114 :
return("F3");
case 115 :
return("F4");
case 116 :
return("F5");
case 117 :
return("F6");
case 118 :
return("F7");
case 119 :
return("F8");
case 120 :
return("F9");
case 121 :
return("F10");
case 122 :
return("F11");
case 123 :
return("F12");
case 124 :
return("F13");
case 125 :
return("F14");
case 126 :
return("F15");
case 8 :
return("Backspace");
case 9 :
return("Tab");
case 12 :
return("Clear");
case 13 :
return("Enter");
case 16 :
return("Shift");
case 17 :
return("Control");
case 18 :
return("Alt");
case 20 :
return("Caps Lock");
case 27 :
return("Esc");
case 32 :
return("Space");
case 33 :
return("Pg Up");
case 34 :
return("Pg Down");
case 35 :
return("End");
case 36 :
return("Home");
case 37 :
return("Left Arrow");
case 38 :
return("Up Arrow");
case 39 :
return("Right Arrow");
case 40 :
return("Down Arrow");
case 45 :
return("Insert");
case 46 :
return("Delete");
case 47 :
return("Help");
case 144 :
return("Num Lock");
case 186 :
return(";");
case 187 :
return("=");
case 189 :
return("-");
case 191 :
return("/");
case 192 :
return("~");
case 219 :
return("[");
case 220 :
return("\\");
case 221 :
return("]");
case 222 :
return("'");
}
}
attachMovie("timescale", "timescale", _root.generateDepth(0));
attachMovie("player", "p01", _root.generateDepth(3));
attachMovie("test_mask", "mask01", _root.generateDepth(5));
p01._visible = false;
mask01._visible = false;
Symbol 346 MovieClip [menu_howtoplay] Frame 2
if (null) {
}
p01._x = 62;
p01._y = 55;
p01._visible = true;
p01.setState("win");
timescale.attach(p01);
howto_text.htmlText = (((((((((((((((("- Use <b>" + getKeyDisplay(_root.myProfile.control1.left)) + "</b> & <b>") + getKeyDisplay(_root.myProfile.control1.right)) + "</b> to move.\n") + "- Press <b>") + getKeyDisplay(_root.myProfile.control1.attack)) + "</b> to attack.\n") + "- Hold <b>") + getKeyDisplay(_root.myProfile.control1.guard)) + "</b> to fade incoming attack.\n") + "- Press <b>") + getKeyDisplay(_root.myProfile.control1.attack)) + "</b> while fading to counter attack.\n") + "- Press <b>") + getKeyDisplay(_root.myProfile.control1.guard)) + "</b> while opponent attacks to throw.\n") + "- The stamina bar determines the ability to fade/throw.";
back_button.buttonText.text = "Cancel";
next_button.buttonText.text = "OK";
back_button.button.onRelease = function () {
_root.jukebox.playSFX("sfx_click.wav");
_parent.registerDeck("menu03", "menu_player");
_parent.play();
};
next_button.button.onRelease = function () {
_root.jukebox.playSFX("sfx_click.wav");
_parent.registerDeck("menu05", "menu_pretour");
_parent.play();
};
stop();
Symbol 352 MovieClip Frame 3
if (null) {
}
stop();
Symbol 354 MovieClip Frame 1
if (null) {
}
if (runonce == undefined) {
gotoAndStop(_totalframes);
runonce = true;
}
Symbol 354 MovieClip Frame 3
if (null) {
}
stop();
Symbol 359 MovieClip [menu_main] Frame 1
if (null) {
}
button01.buttonText.text = "START";
button02.buttonText.text = "OPTIONS";
button03.buttonText.text = "CREDITS";
button01.button.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
_root.changeDeck("menu01", "menu_start");
};
button02.button.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
_root.changeDeck("menu01", "menu_options");
};
button03.button.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
_root.changeDeck("menu02", "menu_credits");
};
stop();
Symbol 360 MovieClip [menu_options] Frame 1
if (null) {
}
button01.buttonText.text = "GAME";
button02.buttonText.text = "SOUND & GRAPHIC";
button03.buttonText.text = "CONTROL";
button04.buttonText.text = "CHEAT";
button05.buttonText.text = "Back";
button01.button.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
_root.changeDeck("menu02", "menu_options_game", "menu01", "menu_options");
};
button02.button.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
_root.changeDeck("menu02", "menu_options_soundgraphic", "menu01", "menu_options");
};
button03.button.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
_root.changeDeck("menu02", "menu_options_control", "menu01", "menu_options");
};
button04.button.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
_root.changeDeck("menu02", "menu_options_cheat", "menu01", "menu_options");
};
button05.button.onRelease = function () {
_root.jukebox.playSFX("sfx_click.wav");
_root.changeDeck("menu01", "menu_main");
};
stop();
Symbol 371 MovieClip [menu_options_cheat] Frame 1
if (null) {
}
button_back.buttonText.text = "OK";
button_back.button.onRelease = function () {
_root.jukebox.playSFX("sfx_click.wav");
_root.myProfile.invincible = inv;
_parent.registerDeck(_root.prevMenu, _root.prevContent);
_parent.play();
};
inv = _root.myProfile.invincible;
inv_text.text = (inv ? "YES" : "NO");
inv_up.onRelease = function () {
inv = (inv ? false : true);
inv_text.text = (inv ? "YES" : "NO");
_root.jukebox.playSFX("sfx_click.wav");
};
inv_down.onRelease = function () {
inv = (inv ? false : true);
inv_text.text = (inv ? "YES" : "NO");
_root.jukebox.playSFX("sfx_click.wav");
};
stop();
Symbol 395 MovieClip [menu_options_control] Frame 1
if (null) {
}
function getKeyDisplay(code) {
switch (code) {
case 48 :
return("0");
case 49 :
return("1");
case 50 :
return("2");
case 51 :
return("3");
case 52 :
return("4");
case 53 :
return("5");
case 54 :
return("6");
case 55 :
return("7");
case 56 :
return("8");
case 57 :
return("9");
case 65 :
return("A");
case 66 :
return("B");
case 67 :
return("C");
case 68 :
return("D");
case 69 :
return("E");
case 70 :
return("F");
case 71 :
return("G");
case 72 :
return("H");
case 73 :
return("I");
case 74 :
return("J");
case 75 :
return("K");
case 76 :
return("L");
case 77 :
return("M");
case 78 :
return("N");
case 79 :
return("O");
case 80 :
return("P");
case 81 :
return("Q");
case 82 :
return("R");
case 83 :
return("S");
case 84 :
return("T");
case 85 :
return("U");
case 86 :
return("V");
case 87 :
return("W");
case 88 :
return("X");
case 89 :
return("Y");
case 90 :
return("Z");
case 96 :
return("Numpad 0");
case 97 :
return("Numpad 1");
case 98 :
return("Numpad 2");
case 99 :
return("Numpad 3");
case 100 :
return("Numpad 4");
case 101 :
return("Numpad 5");
case 102 :
return("Numpad 6");
case 103 :
return("Numpad 7");
case 104 :
return("Numpad 8");
case 105 :
return("Numpad 9");
case 106 :
return("*");
case 107 :
return("+");
case 108 :
return("Enter");
case 109 :
return("-");
case 110 :
return(".");
case 111 :
return("/");
case 112 :
return("F1");
case 113 :
return("F2");
case 114 :
return("F3");
case 115 :
return("F4");
case 116 :
return("F5");
case 117 :
return("F6");
case 118 :
return("F7");
case 119 :
return("F8");
case 120 :
return("F9");
case 121 :
return("F10");
case 122 :
return("F11");
case 123 :
return("F12");
case 124 :
return("F13");
case 125 :
return("F14");
case 126 :
return("F15");
case 8 :
return("Backspace");
case 9 :
return("Tab");
case 12 :
return("Clear");
case 13 :
return("Enter");
case 16 :
return("Shift");
case 17 :
return("Control");
case 18 :
return("Alt");
case 20 :
return("Caps Lock");
case 27 :
return("Esc");
case 32 :
return("Space");
case 33 :
return("Pg Up");
case 34 :
return("Pg Down");
case 35 :
return("End");
case 36 :
return("Home");
case 37 :
return("Left Arrow");
case 38 :
return("Up Arrow");
case 39 :
return("Right Arrow");
case 40 :
return("Down Arrow");
case 45 :
return("Insert");
case 46 :
return("Delete");
case 47 :
return("Help");
case 144 :
return("Num Lock");
case 186 :
return(";");
case 187 :
return("=");
case 189 :
return("-");
case 191 :
return("/");
case 192 :
return("~");
case 219 :
return("[");
case 220 :
return("\\");
case 221 :
return("]");
case 222 :
return("'");
}
}
p1l = _root.myProfile.control1.left;
p1l_text.text = getKeyDisplay(p1l);
p1l_button.onRelease = function () {
keyListener.onKeyDown = function () {
p1l = Key.getCode();
p1l_text.text = getKeyDisplay(Key.getCode());
Key.removeListener(keyListener);
};
p1l_text.text = "Waiting...";
Key.addListener(keyListener);
_root.jukebox.playSFX("sfx_click.wav");
};
p1r = _root.myProfile.control1.right;
p1r_text.text = getKeyDisplay(p1r);
p1r_button.onRelease = function () {
keyListener.onKeyDown = function () {
p1r = Key.getCode();
p1r_text.text = getKeyDisplay(Key.getCode());
Key.removeListener(keyListener);
};
p1r_text.text = "Waiting...";
Key.addListener(keyListener);
_root.jukebox.playSFX("sfx_click.wav");
};
p1a = _root.myProfile.control1.attack;
p1a_text.text = getKeyDisplay(p1a);
p1a_button.onRelease = function () {
keyListener.onKeyDown = function () {
p1a = Key.getCode();
p1a_text.text = getKeyDisplay(Key.getCode());
Key.removeListener(keyListener);
};
p1a_text.text = "Waiting...";
Key.addListener(keyListener);
_root.jukebox.playSFX("sfx_click.wav");
};
p1g = _root.myProfile.control1.guard;
p1g_text.text = getKeyDisplay(p1g);
p1g_button.onRelease = function () {
keyListener.onKeyDown = function () {
p1g = Key.getCode();
p1g_text.text = getKeyDisplay(Key.getCode());
Key.removeListener(keyListener);
};
p1g_text.text = "Waiting...";
Key.addListener(keyListener);
_root.jukebox.playSFX("sfx_click.wav");
};
p2l = _root.myProfile.control2.left;
p2l_text.text = getKeyDisplay(p2l);
p2l_button.onRelease = function () {
keyListener.onKeyDown = function () {
p2l = Key.getCode();
p2l_text.text = getKeyDisplay(Key.getCode());
Key.removeListener(keyListener);
};
p2l_text.text = "Waiting...";
Key.addListener(keyListener);
_root.jukebox.playSFX("sfx_click.wav");
};
p2r = _root.myProfile.control2.right;
p2r_text.text = getKeyDisplay(p2r);
p2r_button.onRelease = function () {
keyListener.onKeyDown = function () {
p2r = Key.getCode();
p2r_text.text = getKeyDisplay(Key.getCode());
Key.removeListener(keyListener);
};
p2r_text.text = "Waiting...";
Key.addListener(keyListener);
_root.jukebox.playSFX("sfx_click.wav");
};
p2a = _root.myProfile.control2.attack;
p2a_text.text = getKeyDisplay(p2a);
p2a_button.onRelease = function () {
keyListener.onKeyDown = function () {
p2a = Key.getCode();
p2a_text.text = getKeyDisplay(Key.getCode());
Key.removeListener(keyListener);
};
p2a_text.text = "Waiting...";
Key.addListener(keyListener);
_root.jukebox.playSFX("sfx_click.wav");
};
p2g = _root.myProfile.control2.guard;
p2g_text.text = getKeyDisplay(p2g);
p2g_button.onRelease = function () {
keyListener.onKeyDown = function () {
p2g = Key.getCode();
p2g_text.text = getKeyDisplay(Key.getCode());
Key.removeListener(keyListener);
};
p2g_text.text = "Waiting...";
Key.addListener(keyListener);
_root.jukebox.playSFX("sfx_click.wav");
};
pause1 = _root.myProfile.control1.pause;
pause1_text.text = getKeyDisplay(pause1);
pause1_button.onRelease = function () {
keyListener.onKeyDown = function () {
pause1 = Key.getCode();
pause1_text.text = getKeyDisplay(Key.getCode());
Key.removeListener(keyListener);
};
pause1_text.text = "Waiting...";
Key.addListener(keyListener);
_root.jukebox.playSFX("sfx_click.wav");
};
keyListener = new Object();
button_back.buttonText.text = "OK";
button_back.button.onRelease = function () {
_root.myProfile.control1.left = p1l;
_root.myProfile.control1.right = p1r;
_root.myProfile.control1.attack = p1a;
_root.myProfile.control1.guard = p1g;
_root.myProfile.control1.pause = pause1;
_root.myProfile.control2.left = p2l;
_root.myProfile.control2.right = p2r;
_root.myProfile.control2.attack = p2a;
_root.myProfile.control2.guard = p2g;
_root.jukebox.playSFX("sfx_click.wav");
_parent.registerDeck(_root.prevMenu, _root.prevContent);
_parent.play();
};
stop();
Symbol 405 MovieClip [menu_options_game] Frame 1
if (null) {
}
rt = _root.myProfile.roundTime;
nor = _root.myProfile.roundToWin;
sm = _root.myProfile.slomo;
b = _root.myProfile.blood;
rt_text.text = rt + " s";
nor_text.text = nor;
sm_text.text = (sm ? "YES" : "NO");
b_text.text = (b ? "YES" : "NO");
button_back.buttonText.text = "OK";
button_back.button.onRelease = function () {
_root.myProfile.roundTime = rt;
_root.myProfile.roundToWin = nor;
_root.myProfile.slomo = sm;
_root.myProfile.blood = b;
_root.jukebox.playSFX("sfx_click.wav");
_parent.registerDeck(_root.prevMenu, _root.prevContent);
_parent.play();
};
rt_up.onRelease = function () {
if (rt < 90) {
rt = rt + 30;
} else {
rt = 30;
}
rt_text.text = rt + " s";
_root.jukebox.playSFX("sfx_click.wav");
};
rt_down.onRelease = function () {
if (rt > 30) {
rt = rt - 30;
} else {
rt = 90;
}
rt_text.text = rt + " s";
_root.jukebox.playSFX("sfx_click.wav");
};
nor_up.onRelease = function () {
if (nor < 5) {
nor = nor + 1;
} else {
nor = 1;
}
nor_text.text = nor;
_root.jukebox.playSFX("sfx_click.wav");
};
nor_down.onRelease = function () {
if (nor > 1) {
nor = nor - 1;
} else {
nor = 5;
}
nor_text.text = nor;
_root.jukebox.playSFX("sfx_click.wav");
};
sm_up.onRelease = function () {
sm = (sm ? false : true);
sm_text.text = (sm ? "YES" : "NO");
_root.jukebox.playSFX("sfx_click.wav");
};
sm_down.onRelease = function () {
sm = (sm ? false : true);
sm_text.text = (sm ? "YES" : "NO");
_root.jukebox.playSFX("sfx_click.wav");
};
b_up.onRelease = function () {
b = (b ? false : true);
b_text.text = (b ? "YES" : "NO");
_root.jukebox.playSFX("sfx_click.wav");
};
b_down.onRelease = function () {
b = (b ? false : true);
b_text.text = (b ? "YES" : "NO");
_root.jukebox.playSFX("sfx_click.wav");
};
stop();
Symbol 417 MovieClip [menu_options_soundgraphic] Frame 1
if (null) {
}
function getIndex(q) {
switch (q) {
case "LOW" :
return(0);
case "MEDIUM" :
return(1);
case "HIGH" :
return(2);
case "BEST" :
return(3);
}
return(-1);
}
function getQualityValue(q) {
switch (q) {
case 0 :
return("LOW");
case 1 :
return("MEDIUM");
case 2 :
return("HIGH");
case 3 :
return("BEST");
}
return("?");
}
qArray = new Array("LOW", "MED", "HIGH", "BEST");
q = getIndex(_root.myProfile.quality);
q_text.text = qArray[q];
q_up.onRelease = function () {
if (q < (qArray.length - 1)) {
q = q + 1;
} else {
q = 0;
}
q_text.text = qArray[q];
_root.jukebox.playSFX("sfx_click.wav");
};
q_down.onRelease = function () {
if (q > 0) {
q = q - 1;
} else {
q = qArray.length - 1;
}
q_text.text = qArray[q];
_root.jukebox.playSFX("sfx_click.wav");
};
aq = _root.myProfile.isAutoQuality;
aq_text.text = (aq ? "YES" : "NO");
aq_up.onRelease = function () {
aq = (aq ? false : true);
aq_text.text = (aq ? "YES" : "NO");
_root.jukebox.playSFX("sfx_click.wav");
};
aq_down.onRelease = function () {
aq = (aq ? false : true);
aq_text.text = (aq ? "YES" : "NO");
_root.jukebox.playSFX("sfx_click.wav");
};
sfps = _root.myProfile.isFPS;
sfps_text.text = (sfps ? "YES" : "NO");
sfps_up.onRelease = function () {
sfps = (sfps ? false : true);
sfps_text.text = (sfps ? "YES" : "NO");
_root.jukebox.playSFX("sfx_click.wav");
};
sfps_down.onRelease = function () {
sfps = (sfps ? false : true);
sfps_text.text = (sfps ? "YES" : "NO");
_root.jukebox.playSFX("sfx_click.wav");
};
psfx = _root.myProfile.sfx;
psfx_text.text = (psfx ? "YES" : "NO");
psfx_up.onRelease = function () {
psfx = (psfx ? false : true);
psfx_text.text = (psfx ? "YES" : "NO");
_root.jukebox.playSFX("sfx_click.wav");
};
psfx_down.onRelease = function () {
psfx = (psfx ? false : true);
psfx_text.text = (psfx ? "YES" : "NO");
_root.jukebox.playSFX("sfx_click.wav");
};
pm = _root.myProfile.music;
pm_text.text = (pm ? "YES" : "NO");
pm_up.onRelease = function () {
pm = (pm ? false : true);
pm_text.text = (pm ? "YES" : "NO");
_root.jukebox.playSFX("sfx_click.wav");
};
pm_down.onRelease = function () {
pm = (pm ? false : true);
pm_text.text = (pm ? "YES" : "NO");
_root.jukebox.playSFX("sfx_click.wav");
};
button_back.buttonText.text = "OK";
button_back.button.onRelease = function () {
_root.myProfile.quality = getQualityValue(q);
_quality = getQualityValue(q);
_root.myProfile.isAutoQuality = aq;
_root.fpsCounter.auto = aq;
_root.myProfile.isFPS = sfps;
_root.fpsCounter.fps_text._visible = sfps;
_root.myProfile.sfx = psfx;
_root.jukebox.isSFX = psfx;
_root.myProfile.music = pm;
_root.jukebox.isMusic = pm;
_root.jukebox.playSFX("sfx_click.wav");
_parent.registerDeck(_root.prevMenu, _root.prevContent);
_parent.play();
};
stop();
Symbol 421 MovieClip Frame 1
if (null) {
}
tellTarget (_parent) {
xdif = _parent.stageWidth - _width;
ydif = _parent.stageHeight - _height;
_x = (xdif / 2);
_y = (ydif / 2);
};
Symbol 423 MovieClip [menu_pause] Frame 1
if (null) {
}
function show() {
_visible = true;
Key.addListener(defaultButton);
}
function hide() {
_visible = false;
gotoAndStop (1);
Key.removeListener(defaultButton);
}
function getKeyDisplay(code) {
switch (code) {
case 48 :
return("0");
case 49 :
return("1");
case 50 :
return("2");
case 51 :
return("3");
case 52 :
return("4");
case 53 :
return("5");
case 54 :
return("6");
case 55 :
return("7");
case 56 :
return("8");
case 57 :
return("9");
case 65 :
return("A");
case 66 :
return("B");
case 67 :
return("C");
case 68 :
return("D");
case 69 :
return("E");
case 70 :
return("F");
case 71 :
return("G");
case 72 :
return("H");
case 73 :
return("I");
case 74 :
return("J");
case 75 :
return("K");
case 76 :
return("L");
case 77 :
return("M");
case 78 :
return("N");
case 79 :
return("O");
case 80 :
return("P");
case 81 :
return("Q");
case 82 :
return("R");
case 83 :
return("S");
case 84 :
return("T");
case 85 :
return("U");
case 86 :
return("V");
case 87 :
return("W");
case 88 :
return("X");
case 89 :
return("Y");
case 90 :
return("Z");
case 96 :
return("Numpad 0");
case 97 :
return("Numpad 1");
case 98 :
return("Numpad 2");
case 99 :
return("Numpad 3");
case 100 :
return("Numpad 4");
case 101 :
return("Numpad 5");
case 102 :
return("Numpad 6");
case 103 :
return("Numpad 7");
case 104 :
return("Numpad 8");
case 105 :
return("Numpad 9");
case 106 :
return("*");
case 107 :
return("+");
case 108 :
return("Enter");
case 109 :
return("-");
case 110 :
return(".");
case 111 :
return("/");
case 112 :
return("F1");
case 113 :
return("F2");
case 114 :
return("F3");
case 115 :
return("F4");
case 116 :
return("F5");
case 117 :
return("F6");
case 118 :
return("F7");
case 119 :
return("F8");
case 120 :
return("F9");
case 121 :
return("F10");
case 122 :
return("F11");
case 123 :
return("F12");
case 124 :
return("F13");
case 125 :
return("F14");
case 126 :
return("F15");
case 8 :
return("Backspace");
case 9 :
return("Tab");
case 12 :
return("Clear");
case 13 :
return("Enter");
case 16 :
return("Shift");
case 17 :
return("Control");
case 18 :
return("Alt");
case 20 :
return("Caps Lock");
case 27 :
return("Esc");
case 32 :
return("Space");
case 33 :
return("Pg Up");
case 34 :
return("Pg Down");
case 35 :
return("End");
case 36 :
return("Home");
case 37 :
return("Left Arrow");
case 38 :
return("Up Arrow");
case 39 :
return("Right Arrow");
case 40 :
return("Down Arrow");
case 45 :
return("Insert");
case 46 :
return("Delete");
case 47 :
return("Help");
case 144 :
return("Num Lock");
case 186 :
return(";");
case 187 :
return("=");
case 189 :
return("-");
case 191 :
return("/");
case 192 :
return("~");
case 219 :
return("[");
case 220 :
return("\\");
case 221 :
return("]");
case 222 :
return("'");
}
}
r_button.buttonText.text = ("Resume (" + getKeyDisplay(_root.myProfile.control1.pause)) + ")";
q_button.buttonText.text = "Exit";
defaultButton = new Object();
defaultButton.onKeyDown = function () {
if (Key.isDown(_root.myProfile.control1.pause) || (Key.isDown(_root.myProfile.control2.pause))) {
_root.jukebox.playSFX("sfx_beep.wav");
_parent.unpause();
}
};
r_button.button.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
_parent.unpause();
};
q_button.button.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
gotoAndStop (2);
};
stop();
Symbol 423 MovieClip [menu_pause] Frame 2
if (null) {
}
y_button.buttonText.text = "Yes";
n_button.buttonText.text = "No";
y_button.button.onRelease = function () {
_root.jukebox.playSFX("sfx_click.wav");
_root.repeatTour = true;
_root.myProfile.p01CurrentWin = 0;
_root.myProfile.p02CurrentWin = 0;
if (_root.myProfile.gameType == 0) {
_root.changeDeck("menu05", "menu_pretour");
} else {
_root.changeDeck("menu04", "menu_prefight");
}
};
n_button.button.onRelease = function () {
_root.jukebox.playSFX("sfx_click.wav");
gotoAndStop (1);
};
stop();
Symbol 435 MovieClip [menu_player] Frame 1
if (null) {
}
function getPlayerMask(player) {
playerMask = ((player._name == "p01") ? (mask01) : (mask02));
playerMask._visible = true;
playerMask._alpha = 15;
return(playerMask);
}
attachMovie("timescale", "timescale", _root.generateDepth(0));
attachMovie("player", "p01", _root.generateDepth(3));
attachMovie("test_mask", "mask01", _root.generateDepth(5));
_root.myProfile.useClearShadow = false;
mask01._visible = false;
Symbol 435 MovieClip [menu_player] Frame 2
if (null) {
}
function getPresetName() {
if ((h == b) && (b == f)) {
p = h;
return(presetArray[h]);
}
return(presetArray[presetArray.length - 1]);
}
p01._x = 62;
p01._y = 55;
timescale.attach(p01);
name_text.text = _root.myProfile.p01Name;
presetArray = _root.skinArray;
h = _root.myProfile.p01headSkin;
h_text.text = h + 1;
b = _root.myProfile.p01bodySkin;
b_text.text = b + 1;
f = _root.myProfile.p01footSkin;
f_text.text = f + 1;
p_text.text = getPresetName();
p_up.onRelease = function () {
if (p < (presetArray.length - 2)) {
p = p + 1;
} else {
p = 0;
}
_root.myProfile.p01headSkin = p;
_root.myProfile.p01bodySkin = p;
_root.myProfile.p01footSkin = p;
h = p;
b = p;
f = p;
p_text.text = getPresetName();
h_text.text = h + 1;
b_text.text = b + 1;
f_text.text = f + 1;
p01.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
p_down.onRelease = function () {
if (p > 0) {
p = p - 1;
} else {
p = presetArray.length - 2;
}
_root.myProfile.p01headSkin = p;
_root.myProfile.p01bodySkin = p;
_root.myProfile.p01footSkin = p;
h = p;
b = p;
f = p;
p_text.text = getPresetName();
h_text.text = h + 1;
b_text.text = b + 1;
f_text.text = f + 1;
p01.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
h_up.onRelease = function () {
if (h < (presetArray.length - 2)) {
h = h + 1;
} else {
h = 0;
}
_root.myProfile.p01headSkin = h;
p_text.text = getPresetName();
h_text.text = h + 1;
p01.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
h_down.onRelease = function () {
if (h > 0) {
h = h - 1;
} else {
h = presetArray.length - 2;
}
_root.myProfile.p01headSkin = h;
p_text.text = getPresetName();
h_text.text = h + 1;
p01.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
b_up.onRelease = function () {
if (b < (presetArray.length - 2)) {
b = b + 1;
} else {
b = 0;
}
_root.myProfile.p01bodySkin = b;
p_text.text = getPresetName();
b_text.text = b + 1;
p01.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
b_down.onRelease = function () {
if (b > 0) {
b = b - 1;
} else {
b = presetArray.length - 2;
}
_root.myProfile.p01bodySkin = b;
p_text.text = getPresetName();
b_text.text = b + 1;
p01.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
f_up.onRelease = function () {
if (f < (presetArray.length - 2)) {
f = f + 1;
} else {
f = 0;
}
_root.myProfile.p01footSkin = f;
p_text.text = getPresetName();
f_text.text = f + 1;
p01.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
f_down.onRelease = function () {
if (f > 0) {
f = f - 1;
} else {
f = presetArray.length - 2;
}
_root.myProfile.p01footSkin = f;
p_text.text = getPresetName();
f_text.text = f + 1;
p01.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
back_button.buttonText.text = "Cancel";
next_button.buttonText.text = "OK";
back_button.button.onRelease = function () {
_root.myProfile.p01Name = name_text.text;
_root.jukebox.playSFX("sfx_click.wav");
_parent.registerDeck("menu01", "menu_start");
_parent.play();
};
next_button.button.onRelease = function () {
_root.myProfile.p01Name = name_text.text;
_root.jukebox.playSFX("sfx_click.wav");
_parent.registerDeck("menu03", "menu_howtoplay");
_parent.play();
};
stop();
Symbol 447 MovieClip [menu_player1] Frame 1
if (null) {
}
function getPlayerMask(player) {
playerMask = ((player._name == "p01") ? (mask01) : (mask02));
playerMask._visible = true;
playerMask._alpha = 15;
return(playerMask);
}
attachMovie("timescale", "timescale", _root.generateDepth(0));
attachMovie("player", "p01", _root.generateDepth(3));
attachMovie("test_mask", "mask01", _root.generateDepth(5));
_root.myProfile.useClearShadow = false;
mask01._visible = false;
Symbol 447 MovieClip [menu_player1] Frame 2
if (null) {
}
function getPresetName() {
if ((h == b) && (b == f)) {
p = h;
return(presetArray[h]);
}
return(presetArray[presetArray.length - 1]);
}
p01._x = 62;
p01._y = 55;
timescale.attach(p01);
name_text.text = _root.myProfile.p01Name;
presetArray = _root.skinArray;
h = _root.myProfile.p01headSkin;
h_text.text = h + 1;
b = _root.myProfile.p01bodySkin;
b_text.text = b + 1;
f = _root.myProfile.p01footSkin;
f_text.text = f + 1;
p_text.text = getPresetName();
p_up.onRelease = function () {
if (p < (presetArray.length - 2)) {
p = p + 1;
} else {
p = 0;
}
_root.myProfile.p01headSkin = p;
_root.myProfile.p01bodySkin = p;
_root.myProfile.p01footSkin = p;
h = p;
b = p;
f = p;
p_text.text = getPresetName();
h_text.text = h + 1;
b_text.text = b + 1;
f_text.text = f + 1;
p01.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
p_down.onRelease = function () {
if (p > 0) {
p = p - 1;
} else {
p = presetArray.length - 2;
}
_root.myProfile.p01headSkin = p;
_root.myProfile.p01bodySkin = p;
_root.myProfile.p01footSkin = p;
h = p;
b = p;
f = p;
p_text.text = getPresetName();
h_text.text = h + 1;
b_text.text = b + 1;
f_text.text = f + 1;
p01.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
h_up.onRelease = function () {
if (h < (presetArray.length - 2)) {
h = h + 1;
} else {
h = 0;
}
_root.myProfile.p01headSkin = h;
p_text.text = getPresetName();
h_text.text = h + 1;
p01.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
h_down.onRelease = function () {
if (h > 0) {
h = h - 1;
} else {
h = presetArray.length - 2;
}
_root.myProfile.p01headSkin = h;
p_text.text = getPresetName();
h_text.text = h + 1;
p01.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
b_up.onRelease = function () {
if (b < (presetArray.length - 2)) {
b = b + 1;
} else {
b = 0;
}
_root.myProfile.p01bodySkin = b;
p_text.text = getPresetName();
b_text.text = b + 1;
p01.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
b_down.onRelease = function () {
if (b > 0) {
b = b - 1;
} else {
b = presetArray.length - 2;
}
_root.myProfile.p01bodySkin = b;
p_text.text = getPresetName();
b_text.text = b + 1;
p01.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
f_up.onRelease = function () {
if (f < (presetArray.length - 2)) {
f = f + 1;
} else {
f = 0;
}
_root.myProfile.p01footSkin = f;
p_text.text = getPresetName();
f_text.text = f + 1;
p01.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
f_down.onRelease = function () {
if (f > 0) {
f = f - 1;
} else {
f = presetArray.length - 2;
}
_root.myProfile.p01footSkin = f;
p_text.text = getPresetName();
f_text.text = f + 1;
p01.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
back_button.buttonText.text = "Cancel";
next_button.buttonText.text = "Ok";
back_button.button.onRelease = function () {
_root.myProfile.p01Name = name_text.text;
_root.jukebox.playSFX("sfx_click.wav");
_root.changeDeck("menu01", "menu_start");
};
next_button.button.onRelease = function () {
_root.myProfile.p01Name = name_text.text;
_root.jukebox.playSFX("sfx_click.wav");
_parent.registerDeck(_root.prevMenu, _root.prevContent);
_parent.play();
};
stop();
Symbol 459 MovieClip [menu_player2] Frame 1
if (null) {
}
function getPlayerMask(player) {
playerMask = ((player._name == "p01") ? (mask01) : (mask02));
playerMask._visible = true;
playerMask._alpha = 15;
return(playerMask);
}
attachMovie("timescale", "timescale", _root.generateDepth(0));
attachMovie("player", "p02", _root.generateDepth(3));
attachMovie("test_mask", "mask02", _root.generateDepth(5));
_root.myProfile.useClearShadow = false;
mask02._visible = false;
back_button.swapDepths(_root.generateDepth(6));
next_button.swapDepths(_root.generateDepth(6));
if (_root.myProfile.gameType == 2) {
title.text = "Customize Player 2";
} else {
title.text = "Customize Computer";
}
Symbol 459 MovieClip [menu_player2] Frame 5
if (null) {
}
function getPresetName() {
if ((h == b) && (b == f)) {
p = h;
return(presetArray[h]);
}
return(presetArray[presetArray.length - 1]);
}
p02._x = 262;
p02._y = 55;
p02.flip();
timescale.attach(p02);
name_text.text = _root.myProfile.p02Name;
presetArray = _root.skinArray;
h = _root.myProfile.p02headSkin;
h_text.text = h + 1;
b = _root.myProfile.p02bodySkin;
b_text.text = b + 1;
f = _root.myProfile.p02footSkin;
f_text.text = f + 1;
p_text.text = getPresetName();
p_up.onRelease = function () {
if (p < (presetArray.length - 2)) {
p = p + 1;
} else {
p = 0;
}
_root.myProfile.p02headSkin = p;
_root.myProfile.p02bodySkin = p;
_root.myProfile.p02footSkin = p;
h = p;
b = p;
f = p;
p_text.text = getPresetName();
h_text.text = h + 1;
b_text.text = b + 1;
f_text.text = f + 1;
p02.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
p_down.onRelease = function () {
if (p > 0) {
p = p - 1;
} else {
p = presetArray.length - 2;
}
_root.myProfile.p02headSkin = p;
_root.myProfile.p02bodySkin = p;
_root.myProfile.p02footSkin = p;
h = p;
b = p;
f = p;
p_text.text = getPresetName();
h_text.text = h + 1;
b_text.text = b + 1;
f_text.text = f + 1;
p02.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
h_up.onRelease = function () {
if (h < (presetArray.length - 2)) {
h = h + 1;
} else {
h = 0;
}
_root.myProfile.p02headSkin = h;
p_text.text = getPresetName();
h_text.text = h + 1;
p02.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
h_down.onRelease = function () {
if (h > 0) {
h = h - 1;
} else {
h = presetArray.length - 2;
}
_root.myProfile.p02headSkin = h;
p_text.text = getPresetName();
h_text.text = h + 1;
p02.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
b_up.onRelease = function () {
if (b < (presetArray.length - 2)) {
b = b + 1;
} else {
b = 0;
}
_root.myProfile.p02bodySkin = b;
p_text.text = getPresetName();
b_text.text = b + 1;
p02.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
b_down.onRelease = function () {
if (b > 0) {
b = b - 1;
} else {
b = presetArray.length - 2;
}
_root.myProfile.p02bodySkin = b;
p_text.text = getPresetName();
b_text.text = b + 1;
p02.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
f_up.onRelease = function () {
if (f < (presetArray.length - 2)) {
f = f + 1;
} else {
f = 0;
}
_root.myProfile.p02footSkin = f;
p_text.text = getPresetName();
f_text.text = f + 1;
p02.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
f_down.onRelease = function () {
if (f > 0) {
f = f - 1;
} else {
f = presetArray.length - 2;
}
_root.myProfile.p02footSkin = f;
p_text.text = getPresetName();
f_text.text = f + 1;
p02.loadSkin();
_root.jukebox.playSFX("sfx_click.wav");
};
back_button.buttonText.text = "Cancel";
next_button.buttonText.text = "Ok";
back_button.button.onRelease = function () {
_root.myProfile.p02Name = name_text.text;
_root.jukebox.playSFX("sfx_click.wav");
_parent.registerDeck(_root.prevMenu, _root.prevContent);
_parent.play();
};
next_button.button.onRelease = function () {
_root.myProfile.p02Name = name_text.text;
_root.jukebox.playSFX("sfx_click.wav");
_parent.registerDeck(_root.prevMenu, _root.prevContent);
_parent.play();
};
stop();
Symbol 471 MovieClip [menu_player2_skill] Frame 1
if (null) {
}
function getPlayerMask(player) {
playerMask = ((player._name == "p01") ? (mask01) : (mask02));
playerMask._visible = true;
playerMask._alpha = 15;
return(playerMask);
}
attachMovie("timescale", "timescale", _root.generateDepth(0));
attachMovie("player", "p02", _root.generateDepth(3));
attachMovie("test_mask", "mask02", _root.generateDepth(5));
_root.myProfile.useClearShadow = false;
mask02._visible = false;
back_button.swapDepths(_root.generateDepth(6));
next_button.swapDepths(_root.generateDepth(6));
Symbol 471 MovieClip [menu_player2_skill] Frame 5
if (null) {
}
p02._x = 262;
p02._y = 55;
p02.flip();
p02.setState("win");
timescale.attach(p02);
MAX_SCALE = 5;
name_text.text = _root.myProfile.p02Name;
a = _root.myProfile.AIAggressive;
a_text.text = a;
co = _root.myProfile.AICombo;
co_text.text = co;
r = _root.myProfile.AIReflex;
r_text.text = r;
cn = _root.myProfile.AICounter;
cn_text.text = cn;
a_up.onRelease = function () {
if (a < MAX_SCALE) {
a = a + 1;
} else {
a = 1;
}
a_text.text = a;
_root.jukebox.playSFX("sfx_click.wav");
};
a_down.onRelease = function () {
if (a > 1) {
a = a - 1;
} else {
a = MAX_SCALE;
}
a_text.text = a;
_root.jukebox.playSFX("sfx_click.wav");
};
co_up.onRelease = function () {
if (co < MAX_SCALE) {
co = co + 1;
} else {
co = 1;
}
co_text.text = co;
_root.jukebox.playSFX("sfx_click.wav");
};
co_down.onRelease = function () {
if (co > 1) {
co = co - 1;
} else {
co = MAX_SCALE;
}
co_text.text = co;
_root.jukebox.playSFX("sfx_click.wav");
};
r_up.onRelease = function () {
if (r < MAX_SCALE) {
r = r + 1;
} else {
r = 1;
}
r_text.text = r;
_root.jukebox.playSFX("sfx_click.wav");
};
r_down.onRelease = function () {
if (r > 1) {
r = r - 1;
} else {
r = MAX_SCALE;
}
r_text.text = r;
_root.jukebox.playSFX("sfx_click.wav");
};
cn_up.onRelease = function () {
if (cn < MAX_SCALE) {
cn = cn + 1;
} else {
cn = 1;
}
cn_text.text = cn;
_root.jukebox.playSFX("sfx_click.wav");
};
cn_down.onRelease = function () {
if (cn > 1) {
cn = cn - 1;
} else {
cn = MAX_SCALE;
}
cn_text.text = cn;
_root.jukebox.playSFX("sfx_click.wav");
};
back_button.buttonText.text = "Cancel";
next_button.buttonText.text = "Ok";
back_button.button.onRelease = function () {
_root.myProfile.AIAggressive = a;
_root.myProfile.AICombo = co;
_root.myProfile.AIReflex = r;
_root.myProfile.AICounter = cn;
_root.jukebox.playSFX("sfx_click.wav");
_parent.registerDeck(_root.prevMenu, _root.prevContent);
_parent.play();
};
next_button.button.onRelease = function () {
_root.myProfile.AIAggressive = a;
_root.myProfile.AICombo = co;
_root.myProfile.AIReflex = r;
_root.myProfile.AICounter = cn;
_root.jukebox.playSFX("sfx_click.wav");
_parent.registerDeck(_root.prevMenu, _root.prevContent);
_parent.play();
};
stop();
Symbol 479 MovieClip Frame 1
if (null) {
}
function reload() {
bg.gotoAndStop(_root.myProfile.bg);
gotoAndPlay (1);
}
Symbol 479 MovieClip Frame 60
if (null) {
}
stop();
Symbol 481 MovieClip Frame 1
if (null) {
}
function loadSkin() {
head.gotoAndStop(headSkin);
rh_hi.gotoAndStop(bodySkin);
rh_lo.gotoAndStop(bodySkin);
rh.gotoAndStop(bodySkin);
lh_hi.gotoAndStop(bodySkin);
lh_lo.gotoAndStop(bodySkin);
lh.gotoAndStop(bodySkin);
rf_hi.gotoAndStop(footSkin);
rf_lo.gotoAndStop(footSkin);
rf.gotoAndStop(footSkin);
lf_hi.gotoAndStop(footSkin);
lf_lo.gotoAndStop(footSkin);
lf.gotoAndStop(footSkin);
t_hi.gotoAndStop(bodySkin);
t_lo.gotoAndStop(footSkin);
runOnce = true;
}
if (!runOnce) {
loadSkin();
}
Symbol 482 MovieClip Frame 1
if (null) {
}
function loadSkin() {
head.gotoAndStop(headSkin);
rh_hi.gotoAndStop(bodySkin);
rh_lo.gotoAndStop(bodySkin);
rh.gotoAndStop(bodySkin);
lh_hi.gotoAndStop(bodySkin);
lh_lo.gotoAndStop(bodySkin);
lh.gotoAndStop(bodySkin);
rf_hi.gotoAndStop(footSkin);
rf_lo.gotoAndStop(footSkin);
rf.gotoAndStop(footSkin);
lf_hi.gotoAndStop(footSkin);
lf_lo.gotoAndStop(footSkin);
lf.gotoAndStop(footSkin);
t_hi.gotoAndStop(bodySkin);
t_lo.gotoAndStop(footSkin);
runOnce = true;
}
if (!runOnce) {
loadSkin();
}
Symbol 483 MovieClip [menu_prefight] Frame 1
if (null) {
}
if (_root.myProfile.gameType == 2) {
p02_button.buttonText.text = "Customize Player 2";
ai_button._visible = false;
} else {
p02_button.buttonText.text = "Customize Computer";
ai_button.buttonText.text = "Customize A.I.";
}
stageArray = new Array("Stage 1", "Stage 2", "Stage 3");
var OFFSET = 2;
p01_name.text = _root.myProfile.p01Name;
p01_name_shadow.text = _root.myProfile.p01Name;
p01.headSkin = _root.myProfile.p01headSkin + OFFSET;
p01.bodySkin = _root.myProfile.p01bodySkin + OFFSET;
p01.footSkin = _root.myProfile.p01footSkin + OFFSET;
p02_name.text = _root.myProfile.p02Name;
p02_name_shadow.text = _root.myProfile.p02Name;
p02.headSkin = _root.myProfile.p02headSkin + OFFSET;
p02.bodySkin = _root.myProfile.p02bodySkin + OFFSET;
p02.footSkin = _root.myProfile.p02footSkin + OFFSET;
bg_button.buttonText.text = "Change Stage";
p01_button.buttonText.text = "Customize Player 1";
c_button.buttonText.text = "Control Settings";
stage_text.text = stageArray[_root.myProfile.bg - 1];
f_button.buttonText.text = "Fight";
cancel_button.buttonText.text = "Cancel";
bg_button.button.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
_root.changeDeck("menu03", "menu_stage", "menu04", "menu_prefight");
};
bg_button2.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
_root.changeDeck("menu03", "menu_stage", "menu04", "menu_prefight");
};
p01_button.button.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
_root.changeDeck("menu03", "menu_player1", "menu04", "menu_prefight");
};
p02_button.button.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
_root.changeDeck("menu03", "menu_player2", "menu04", "menu_prefight");
};
c_button.button.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
_root.changeDeck("menu03", "menu_options_control", "menu04", "menu_prefight");
};
ai_button.button.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
_root.changeDeck("menu03", "menu_player2_skill", "menu04", "menu_prefight");
};
f_button.button.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
bg_button.button.enabled = false;
p01_button.button.enabled = false;
p02_button.button.enabled = false;
c_button.button.enabled = false;
ai_button.button.enabled = false;
f_button.button.enabled = false;
cancel_button.button.enabled = false;
play();
};
cancel_button.button.onRelease = function () {
_root.jukebox.playSFX("sfx_click.wav");
_root.changeDeck("menu01", "menu_start");
};
stop();
Symbol 483 MovieClip [menu_prefight] Frame 2
if (null) {
}
p01.headSkin = _root.myProfile.p01headSkin + OFFSET;
p01.bodySkin = _root.myProfile.p01bodySkin + OFFSET;
p01.footSkin = _root.myProfile.p01footSkin + OFFSET;
p02.headSkin = _root.myProfile.p02headSkin + OFFSET;
p02.bodySkin = _root.myProfile.p02bodySkin + OFFSET;
p02.footSkin = _root.myProfile.p02footSkin + OFFSET;
p01.stop();
p02.stop();
Symbol 483 MovieClip [menu_prefight] Frame 15
if (null) {
}
_parent.registerDeck("stage");
_parent.play();
stop();
Symbol 495 MovieClip Frame 1
if (null) {
}
bar._xscale = 1;
this.onEnterFrame = function () {
if (mx == undefined) {
mx = 100;
}
if (bar._xscale < mx) {
bar._xscale = bar._xscale + 1;
}
};
Symbol 496 MovieClip [menu_pretour] Frame 1
if (null) {
}
f_button.buttonText.text = "Fight";
cancel_button.buttonText.text = "Quit";
var OFFSET = 2;
if (!_root.repeatTour) {
_root.loadTourPreset(_root.myProfile.tourPos);
} else {
_root.repeatTour = false;
}
name_text.text = _root.myProfile.p02Name;
p02.headSkin = _root.myProfile.p02headSkin + OFFSET;
p02.bodySkin = _root.myProfile.p02bodySkin + OFFSET;
p02.footSkin = _root.myProfile.p02footSkin + OFFSET;
agg_bar.mx = _root.myProfile.AIAggressive * 20;
com_bar.mx = _root.myProfile.AICombo * 20;
ref_bar.mx = _root.myProfile.AIReflex * 20;
cou_bar.mx = _root.myProfile.AICounter * 20;
switch (_root.myProfile.tourPos) {
case 0 :
t = "Preliminary Round";
break;
case 1 :
t = "2nd Preliminary";
break;
case 2 :
t = "3rd Preliminary";
break;
case 3 :
t = "Quarter Final";
break;
case 4 :
t = "Semi Final";
break;
case 5 :
t = "Grand Final";
break;
case 6 :
t = "Special Round";
break;
default :
t = "Unknown Round";
}
title.text = t;
f_button.button.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
f_button.button.enabled = false;
cancel_button.button.enabled = false;
gotoAndPlay (21);
};
cancel_button.button.onRelease = function () {
_root.jukebox.playSFX("sfx_click.wav");
_root.repeatTour = true;
_root.changeDeck("menu03", "menu_quit");
};
Symbol 496 MovieClip [menu_pretour] Frame 20
if (null) {
}
stop();
Symbol 496 MovieClip [menu_pretour] Frame 21
if (null) {
}
p01.stop();
p02.stop();
Symbol 496 MovieClip [menu_pretour] Frame 34
if (null) {
}
if (_root.myProfile.tourPos == 5) {
_root.myProfile.tourPos = _root.myProfile.tourPos + 1;
_parent.registerDeck("menu03", "cut_prefinal");
} else {
_parent.registerDeck("stage");
}
_parent.play();
stop();
Symbol 499 MovieClip [menu_quit] Frame 1
if (null) {
}
next_button.buttonText.text = "Yes";
back_button.buttonText.text = "No";
back_button.button.onRelease = function () {
_root.jukebox.playSFX("sfx_click.wav");
_parent.registerDeck("menu05", "menu_pretour");
_parent.play();
};
next_button.button.onRelease = function () {
_root.jukebox.playSFX("sfx_click.wav");
_root.myProfile.tourPos = 0;
_root.repeatTour = false;
_parent.registerDeck("menu01", "menu_start");
_parent.play();
};
Symbol 502 MovieClip [menu_stage] Frame 1
if (null) {
}
titleArray = new Array("The Courtyard", "The Courtyard 2", "The Temple");
s_right.onRelease = function () {
_root.jukebox.playSFX("sfx_click.wav");
if (_root.myProfile.bg < 3) {
_root.myProfile.bg = _root.myProfile.bg + 1;
} else {
_root.myProfile.bg = 1;
}
title_text.text = titleArray[_root.myProfile.bg - 1];
bg_preview.reload();
};
s_left.onRelease = function () {
_root.jukebox.playSFX("sfx_click.wav");
if (_root.myProfile.bg > 1) {
_root.myProfile.bg = _root.myProfile.bg - 1;
} else {
_root.myProfile.bg = 3;
}
title_text.text = titleArray[_root.myProfile.bg - 1];
bg_preview.reload();
};
next_button.buttonText.text = "Ok";
next_button.button.onRelease = function () {
_root.jukebox.playSFX("sfx_click.wav");
_parent.registerDeck(_root.prevMenu, _root.prevContent);
_parent.play();
};
title_text.text = titleArray[_root.myProfile.bg - 1];
stop();
Symbol 503 MovieClip [menu_start] Frame 1
if (null) {
}
button01.buttonText.text = "TOURNAMENT";
button02.buttonText.text = "v.s. COM";
button03.buttonText.text = "v.s. PLAYER";
button04.buttonText.text = "Back";
button01.button.onRelease = function () {
_root.myProfile.gameType = 0;
_root.jukebox.playSFX("sfx_beep.wav");
_root.changeDeck("menu03", "menu_player");
};
button02.button.onRelease = function () {
_root.myProfile.gameType = 1;
_root.jukebox.playSFX("sfx_beep.wav");
_root.changeDeck("menu04", "menu_prefight");
};
button03.button.onRelease = function () {
_root.myProfile.gameType = 2;
_root.jukebox.playSFX("sfx_beep.wav");
_root.changeDeck("menu04", "menu_prefight");
};
button04.button.onRelease = function () {
_root.jukebox.playSFX("sfx_click.wav");
_root.changeDeck("menu01", "menu_main");
};
stop();
Symbol 504 MovieClip [menu01] Frame 1
if (null) {
}
_root.jukebox.playMusic("music_title.wav");
attachMovie(menu, "menu", 1);
stop();
Symbol 507 MovieClip [menu02] Frame 1
if (null) {
}
function registerDeck(deck, menu) {
nextDeck = deck;
nextMenu = menu;
}
_root.jukebox.playMusic("music_title.wav");
var nextDeck;
var nextMenu;
play();
Symbol 507 MovieClip [menu02] Frame 12
if (null) {
}
attachMovie(menu, "activeMenu", 1);
stop();
Symbol 507 MovieClip [menu02] Frame 13
if (null) {
}
activeMenu.removeMovieClip();
play();
Symbol 507 MovieClip [menu02] Frame 23
if (null) {
}
_root.changeDeck(nextDeck, nextMenu);
Symbol 508 MovieClip [menu03] Frame 1
if (null) {
}
function registerDeck(deck, menu) {
nextDeck = deck;
nextMenu = menu;
}
_root.jukebox.playMusic("music_prefight.wav");
var nextDeck;
var nextMenu;
play();
Symbol 508 MovieClip [menu03] Frame 12
if (null) {
}
attachMovie(menu, "activeMenu", 1);
stop();
Symbol 508 MovieClip [menu03] Frame 13
if (null) {
}
activeMenu.removeMovieClip();
play();
Symbol 508 MovieClip [menu03] Frame 23
if (null) {
}
_root.changeDeck(nextDeck, nextMenu);
Symbol 509 MovieClip [menu04] Frame 1
if (null) {
}
function registerDeck(deck, menu) {
nextDeck = deck;
nextMenu = menu;
}
_root.jukebox.playMusic("music_prefight.wav");
var nextDeck;
var nextMenu;
attachMovie(menu, "activeMenu", 1);
stop();
Symbol 509 MovieClip [menu04] Frame 2
if (null) {
}
activeMenu.removeMovieClip();
play();
Symbol 509 MovieClip [menu04] Frame 16
if (null) {
}
_root.changeDeck(nextDeck, nextMenu);
Symbol 510 MovieClip [menu05] Frame 1
if (null) {
}
function registerDeck(deck, menu) {
nextDeck = deck;
nextMenu = menu;
}
_root.jukebox.playMusic("music_prefight.wav");
var nextDeck;
var nextMenu;
play();
Symbol 510 MovieClip [menu05] Frame 12
if (null) {
}
attachMovie(menu, "activeMenu", 1);
stop();
Symbol 510 MovieClip [menu05] Frame 13
if (null) {
}
activeMenu.removeMovieClip();
play();
Symbol 510 MovieClip [menu05] Frame 37
if (null) {
}
_root.changeDeck(nextDeck, nextMenu);
Symbol 512 MovieClip [stage] Frame 1
if (null) {
}
function getOtherPlayer(player) {
otherPlayer = ((player._name == "p01") ? (p02) : (p01));
return(otherPlayer);
}
function getPlayerMask(player) {
playerMask = ((player._name == "p01") ? (mask01) : (mask02));
playerMask._visible = true;
return(playerMask);
}
function getControl(player) {
playerControl = ((player._name == "p01") ? (p01_control) : (p02_control));
return(playerControl);
}
function spawn(effect, x, y, scale) {
switch (effect) {
case "flash01" :
attachMovie("flash01", "effect" + effectCount, _root.generateDepth(4));
break;
case "spurt01" :
attachMovie("spurt01", "effect" + effectCount, _root.generateDepth(4));
break;
case "splat01" :
attachMovie("splat01", "effect" + effectCount, _root.generateDepth(2));
}
clip = this["effect" + effectCount];
timescale.attach(clip);
camera.attach(clip);
clip._x = x;
clip._y = y;
clip._xscale = scale;
clip._yscale = scale;
effectCount = effectCount + 1;
}
function unspawn(clip) {
timescale.detach(clip);
clip.removeMovieClip();
}
function roundStart() {
attachMovie("glowingFight", "message", _root.generateDepth(6));
p01.clip = true;
p02.clip = true;
p01.control = true;
p02.control = true;
if (_root.myProfile.gameType != 2) {
timescale.attach(ai);
ai.player = p02;
ai.enemy = p01;
}
}
function messageEnd() {
message.removeMovieClip();
if ((_root.myProfile.p01CurrentWin >= _root.myProfile.roundToWin) || (_root.myProfile.p02CurrentWin >= _root.myProfile.roundToWin)) {
_root.myProfile.p01CurrentWin = 0;
_root.myProfile.p02CurrentWin = 0;
if (_root.myProfile.gameType == 0) {
if (winner == p01) {
_root.myProfile.tourPos = _root.myProfile.tourPos + 1;
} else {
_root.repeatTour = true;
}
if (_root.myProfile.tourPos >= 7) {
_root.myProfile.tourPos = 0;
_parent.changeDeck("menu03", "cut_ending");
} else {
_root.changeDeck("menu05", "menu_pretour");
}
} else {
_root.changeDeck("menu04", "menu_prefight");
}
} else {
_root.changeDeck("stage");
}
}
function roundEnd(player) {
if (player == undefined) {
attachMovie("glowingDraw", "message", _root.generateDepth(6));
} else {
winner = player;
player.setState("win");
if (player == p01) {
_root.myProfile.p01TotalWin = _root.myProfile.p01TotalWin + 1;
_root.myProfile.p01CurrentWin = _root.myProfile.p01CurrentWin + 1;
attachMovie("glowingWin", "message", _root.generateDepth(6));
message.name = _root.myProfile.p01name;
} else if (player == p02) {
_root.myProfile.p02TotalWin = _root.myProfile.p02TotalWin + 1;
_root.myProfile.p02CurrentWin = _root.myProfile.p02CurrentWin + 1;
attachMovie("glowingWin", "message", _root.generateDepth(6));
message.name = _root.myProfile.p02name;
}
}
p01.xspeed = 0;
p02.xspeed = 0;
p01.control = false;
p01.fUp = false;
p01.fDown = false;
p01.fLeft = false;
p01.fRight = false;
p01.fAttack = false;
p01.fJump = false;
p02.control = false;
p02.fUp = false;
p02.fDown = false;
p02.fLeft = false;
p02.fRight = false;
p02.fAttack = false;
p02.fJump = false;
timescale.detach(ai);
timescale.detach(clock);
timescale.detach(bg);
}
function gameStart() {
p01_control = _root.myProfile.control1;
if (_root.myProfile.gameType == 2) {
p02_control = _root.myProfile.control2;
}
timescale.attach(p01);
timescale.attach(p02);
timescale.attach(camera);
timescale.attach(clock);
camera.p01 = p01;
camera.p02 = p02;
camera.bg = bg;
camera.attach(mask01);
camera.attach(mask02);
frame._x = -314.5;
frame._y = -257;
healthBar01._x = 10;
healthBar01._y = 10;
staminaBar01._x = ((10 + healthBar01._width) - staminaBar01._width) - 3;
staminaBar01._y = 25;
clock._x = stageWidth / 2;
clock._y = 10;
healthBar02._xscale = -100;
healthBar02._x = stageWidth - 10;
healthBar02._y = 10;
staminaBar02._xscale = -100;
staminaBar02._x = ((healthBar02._x - healthBar02._width) + staminaBar02._width) + 3;
staminaBar02._y = 25;
menu_pause._x = 0;
menu_pause._y = 0;
menu_pause._visible = false;
nameFormat = new TextFormat();
nameFormat.font = "Arial Narrow";
nameFormat.size = 10;
nameFormat2 = new TextFormat();
nameFormat2.font = "Arial Narrow";
nameFormat2.size = 10;
nameFormat2.align = "right";
this.createTextField("p01name", _root.generateDepth(6), healthBar01._x, 20, 100, 20);
p01name.text = _root.myProfile.p01Name;
p01name.setTextFormat(nameFormat);
this.createTextField("p02name", _root.generateDepth(6), healthBar02._x - 100, 20, 100, 20);
p02name.text = _root.myProfile.p02Name;
p02name.setTextFormat(nameFormat2);
i = 0;
while (i < _root.myProfile.roundToWin) {
if (i < _root.myProfile.p01currentWin) {
attachMovie("win_points", "wp" + i, _root.generateDepth(6));
} else {
attachMovie("win_points_empty", "wp" + i, _root.generateDepth(6));
}
this["wp" + i]._x = staminaBar01._x - ((i + 1) * 8);
this["wp" + i]._y = 25;
i++;
}
j = 0;
while (j < _root.myProfile.roundToWin) {
if (j < _root.myProfile.p02currentWin) {
attachMovie("win_points", ("wp" + j) + _root.myProfile.roundToWin, _root.generateDepth(6));
} else {
attachMovie("win_points_empty", ("wp" + j) + _root.myProfile.roundToWin, _root.generateDepth(6));
}
this[("wp" + j) + _root.myProfile.roundToWin]._x = (staminaBar02._x + 2) + (j * 8);
this[("wp" + j) + _root.myProfile.roundToWin]._y = 25;
j++;
}
p01.healthBar = healthBar01.health;
p02.healthBar = healthBar02.health;
p01.staminaBar = staminaBar01.stamina;
p02.staminaBar = staminaBar02.stamina;
p01._x = 297.5;
p01._y = 80;
p02._x = 492.5;
p02._y = 80;
}
function pause() {
timescale.pause();
menu_pause.show();
p01.control = false;
p02.control = false;
}
function unpause() {
timescale.unpause();
menu_pause.hide();
p01.control = true;
p02.control = true;
}
stageWidth = 395;
stageHeight = 254;
switch (_root.myProfile.bg) {
case 1 :
_root.jukebox.playMusic("music_battle01.wav");
break;
case 2 :
_root.jukebox.playMusic("music_battle02.wav");
break;
case 3 :
_root.jukebox.playMusic("music_battle03.wav");
}
attachMovie("timescale", "timescale", _root.generateDepth(0));
attachMovie("camera", "camera", _root.generateDepth(0));
attachMovie("bg", "bg", _root.generateDepth(1));
attachMovie("player", "p02", _root.generateDepth(3));
attachMovie("player", "p01", _root.generateDepth(3));
attachMovie("test_mask", "mask01", _root.generateDepth(5));
attachMovie("test_mask", "mask02", _root.generateDepth(5));
attachMovie("menu_pause", "menu_pause", _root.generateDepth(6));
attachMovie("healthBar", "healthBar01", _root.generateDepth(6));
attachMovie("healthBar", "healthBar02", _root.generateDepth(6));
attachMovie("staminaBar", "staminaBar01", _root.generateDepth(6));
attachMovie("staminaBar", "staminaBar02", _root.generateDepth(6));
attachMovie("clock", "clock", _root.generateDepth(6));
if ((_root.myProfile.p01CurrentWin == 0) && (_root.myProfile.p02CurrentWin == 0)) {
attachMovie("transition_shatter_in", "trans", _root.generateDepth(6));
}
if (_root.myProfile.gameType != 2) {
attachMovie("ai", "ai", _root.generateDepth(0));
}
mask01._visible = false;
mask02._visible = false;
menu_pause._visible = false;
Symbol 512 MovieClip [stage] Frame 2
if (null) {
}
gameStart();
stop();
Symbol 544 MovieClip [transition_shatter_in] Frame 10
if (null) {
}
this._alpha = this._alpha - 20;
Symbol 544 MovieClip [transition_shatter_in] Frame 11
if (null) {
}
this._alpha = this._alpha - 20;
Symbol 544 MovieClip [transition_shatter_in] Frame 12
if (null) {
}
this._alpha = this._alpha - 20;
Symbol 544 MovieClip [transition_shatter_in] Frame 13
if (null) {
}
this._alpha = this._alpha - 20;
Symbol 544 MovieClip [transition_shatter_in] Frame 14
if (null) {
}
this._alpha = this._alpha - 20;
Symbol 544 MovieClip [transition_shatter_in] Frame 15
if (null) {
}
this._alpha = this._alpha - 20;
Symbol 544 MovieClip [transition_shatter_in] Frame 16
if (null) {
}
this._visible = false;
this.removeMovieClip();
stop();
Symbol 557 MovieClip [cut_ending] Frame 1
if (null) {
}
cp = 15;
skip.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
gotoAndStop(cp);
};
Symbol 557 MovieClip [cut_ending] Frame 15
if (null) {
}
subtitle.text = "As Jagoan Kampung fell...";
skip.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
play();
};
stop();
Symbol 557 MovieClip [cut_ending] Frame 16
if (null) {
}
cp = 30;
skip.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
gotoAndStop(cp);
};
Symbol 557 MovieClip [cut_ending] Frame 30
if (null) {
}
subtitle.text = "his mask cracked in defeat.";
skip.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
play();
};
stop();
Symbol 557 MovieClip [cut_ending] Frame 31
if (null) {
}
cp = 35;
skip.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
gotoAndStop(cp);
};
Symbol 557 MovieClip [cut_ending] Frame 35
if (null) {
}
subtitle.text = "Being visually challenged, indeed he's the strongest of fighters.";
skip.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
play();
};
stop();
Symbol 557 MovieClip [cut_ending] Frame 36
if (null) {
}
cp = 40;
skip.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
gotoAndStop(cp);
};
Symbol 557 MovieClip [cut_ending] Frame 40
if (null) {
}
subtitle.text = "Beaten by his own purpose, the strongest is finally eliminated.";
skip.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
play();
};
stop();
Symbol 557 MovieClip [cut_ending] Frame 41
if (null) {
}
cp = 45;
skip.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
gotoAndStop(cp);
};
Symbol 557 MovieClip [cut_ending] Frame 45
if (null) {
}
_root.jukebox.playSFX("sfx_hardpunch.wav");
subtitle.text = "";
skip.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
_parent.registerDeck("menu01", "menu_main");
_parent.play();
};
stop();
Symbol 560 Button
on (release) {
if (null) {
}
_root.jukebox.playSFX("sfx_beep.wav");
gotoAndStop (160);
}
Symbol 566 MovieClip [cut_intro] Frame 90
if (null) {
}
_root.jukebox.playSFX("sfx_slow.wav");
Symbol 566 MovieClip [cut_intro] Frame 160
if (null) {
}
_root.changeDeck("menu01", "menu_main");
Symbol 570 MovieClip [cut_prefinal] Frame 1
if (null) {
}
cp = 15;
skip.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
gotoAndStop(cp);
};
Symbol 570 MovieClip [cut_prefinal] Frame 15
if (null) {
}
subtitle.text = "I know I'm not your next opponent...";
skip.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
play();
};
stop();
Symbol 570 MovieClip [cut_prefinal] Frame 16
if (null) {
}
cp = 30;
skip.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
gotoAndStop(cp);
};
Symbol 570 MovieClip [cut_prefinal] Frame 30
if (null) {
}
subtitle.text = "... because I killed him!";
skip.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
play();
};
stop();
Symbol 570 MovieClip [cut_prefinal] Frame 31
if (null) {
}
cp = 45;
skip.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
gotoAndStop(cp);
};
Symbol 570 MovieClip [cut_prefinal] Frame 45
if (null) {
}
subtitle.text = "I am Jagoan Kampung, I created this tournament...";
skip.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
play();
};
stop();
Symbol 570 MovieClip [cut_prefinal] Frame 46
if (null) {
}
cp = 60;
skip.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
gotoAndStop(cp);
};
Symbol 570 MovieClip [cut_prefinal] Frame 60
if (null) {
}
subtitle.text = "so the strongest of fighters can be eliminated!";
skip.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
play();
};
stop();
Symbol 570 MovieClip [cut_prefinal] Frame 61
if (null) {
}
cp = 80;
skip.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
gotoAndStop(cp);
};
Symbol 570 MovieClip [cut_prefinal] Frame 80
if (null) {
}
subtitle.text = "Think you're good? I dare you can't even knock a hair off me!";
skip.onRelease = function () {
_root.jukebox.playSFX("sfx_beep.wav");
_parent.registerDeck("menu05", "menu_pretour");
_parent.play();
};
stop();