Frame 1
function launchURL() {
getURL ("http://www.current.com/supernews", "_blank");
}
function launchURL2() {
getURL ("http://www.current.com", "_blank");
}
function reset() {
}
function quit() {
reset();
}
stop();
var preloaderType = (random(2) + 1);
if (preloaderType == 1) {
_root.mcPreloader2._alpha = 0;
} else {
_root.mcPreloader1._alpha = 0;
}
picks_bgates = 0;
picks_sjobs = 0;
wins_bgates = 0;
wins_sjobs = 0;
newMenu = new ContextMenu();
newMenu.builtInItems.rewind = false;
newMenu.builtInItems.forward_back = false;
newMenu.builtInItems.zoom = false;
newMenu.builtInItems.play = false;
newMenu.builtInItems.loop = false;
newMenu.builtInItems.quality = false;
itemQuit = new ContextMenuItem("Quit to Main Menu", quit);
itemURL = new ContextMenuItem("Visit the SuperNews! website", launchURL);
itemURL2 = new ContextMenuItem("Visit Current.com", launchURL2);
newMenu.customItems.push(itemURL);
itemQuit.enabled = false;
_root.menu = newMenu;
Frame 2
camDepth = 11000;
temp = _root.attachMovie("vcam", "mcCam", camDepth);
temp._x = Stage.width / 2;
temp._y = Stage.height / 2;
Frame 3
stop();
mcPlay.gotoAndStop(preloaderType);
Frame 4
function frameLimiter() {
counter++;
newT = getTimer();
if (Math.abs(newT - oldT) > maxF) {
frCount = frCount + (Math.abs(newT - oldT) - maxF);
if (frCount >= maxF) {
if (_root.intro < 5) {
_root.mcMain.p1.mc.gotoAndPlay(_root.mcMain.p1.mc._currentframe + 1);
_root["mouth_" + _root.p1Name].gotoAndPlay(_root["mouth_" + _root.p1Name]._currentframe + 1);
frCount = frCount - maxF;
} else if ((_root.bDizzy && (_root.mcMain.p2.mc._currentframe < 641)) && (!_root.gameover)) {
_root.mcMain.p2.mc.gotoAndPlay(_root.mcMain.p2.mc._currentframe + 1);
_root["mouth_" + _root.p1Name].gotoAndPlay(_root["mouth_" + _root.p1Name]._currentframe + 1);
frCount = frCount - maxF;
} else if (_root.gameover) {
_root.mcMain.p2.mc.gotoAndPlay(_root.mcMain.p2.mc._currentframe + 1);
frCount = frCount - maxF;
var _local3 = 1;
while ((frCount >= maxF) && (_local3 < 4)) {
frCount = frCount + (-maxF);
_local3++;
}
if (_root.winner == "p1") {
_root.mcMain.mcWin.mcTag.mcTag.gotoAndPlay(_root.mcMain.mcWin.mcTag.mcTag._currentframe + _local3);
} else {
_root.mcMain.mcWin.mcTag.mcTag.gotoAndPlay(_root.mcMain.mcWin.mcTag.mcTag._currentframe + _local3);
}
} else {
_root.mouth_bgates.gotoAndPlay(_root.mouth_bgates._currentframe + 1);
_root.mouth_sjobs.gotoAndPlay(_root.mouth_sjobs._currentframe + 1);
frCount = frCount - maxF;
}
}
}
while (Math.abs(newT - oldT) < maxF) {
newT = getTimer();
}
currFPS = Math.round(1000 / (newT - oldT));
pastFPS.shift();
pastFPS.push(currFPS);
var _local4 = 0;
var _local2 = 0;
while (_local2 < 10) {
_local4 = _local4 + pastFPS[_local2];
_local2++;
}
_local4 = Math.round(_local4 / 10);
if ((counter % 10) == 0) {
}
oldT = getTimer();
}
function vcam() {
_root._x = ((-(mcCam._x - (((mcCam.mcWindow._width * mcCam._xscale) / 100) / 2))) * Stage.width) / ((mcCam.mcWindow._width * mcCam._xscale) / 100);
_root._y = ((-(mcCam._y - (((mcCam.mcWindow._height * mcCam._xscale) / 100) / 2))) * Stage.height) / ((mcCam.mcWindow._height * mcCam._xscale) / 100);
_root._xscale = (Stage.width / ((mcCam.mcWindow._width * mcCam._xscale) / 100)) * 100;
_root._yscale = (Stage.height / ((mcCam.mcWindow._height * mcCam._xscale) / 100)) * 100;
}
stop();
counter = 0;
frCount = 0;
oldT = getTimer();
newT = getTimer();
maxF = 33;
var pastFPS = new Array(30, 30, 30, 30, 30, 30, 30, 30, 30, 30);
vcam();
Mouse.show();
mcCursor._x = -100;
this.onEnterFrame = function () {
frameLimiter();
};
Frame 15
stop();
Frame 27
function frameLimiter() {
counter++;
newT = getTimer();
if (Math.abs(newT - oldT) > maxF) {
frCount = frCount + (Math.abs(newT - oldT) - maxF);
if (frCount >= maxF) {
if (_root.intro < 5) {
_root.mcMain.p1.mc.gotoAndPlay(_root.mcMain.p1.mc._currentframe + 1);
_root["mouth_" + _root.p1Name].gotoAndPlay(_root["mouth_" + _root.p1Name]._currentframe + 1);
frCount = frCount - maxF;
} else if ((_root.bDizzy && (_root.mcMain.p2.mc._currentframe < 641)) && (!_root.gameover)) {
_root.mcMain.p2.mc.gotoAndPlay(_root.mcMain.p2.mc._currentframe + 1);
_root["mouth_" + _root.p1Name].gotoAndPlay(_root["mouth_" + _root.p1Name]._currentframe + 1);
frCount = frCount - maxF;
} else if (_root.gameover) {
_root.mcMain.p2.mc.gotoAndPlay(_root.mcMain.p2.mc._currentframe + 1);
frCount = frCount - maxF;
var _local3 = 1;
while ((frCount >= maxF) && (_local3 < 4)) {
frCount = frCount + (-maxF);
_local3++;
}
if (_root.winner == "p1") {
_root.mcMain.mcWin.mcTag.mcTag.gotoAndPlay(_root.mcMain.mcWin.mcTag.mcTag._currentframe + _local3);
} else {
_root.mcMain.mcWin.mcTag.mcTag.gotoAndPlay(_root.mcMain.mcWin.mcTag.mcTag._currentframe + _local3);
}
} else {
_root.mouth_bgates.gotoAndPlay(_root.mouth_bgates._currentframe + 1);
_root.mouth_sjobs.gotoAndPlay(_root.mouth_sjobs._currentframe + 1);
frCount = frCount - maxF;
}
}
}
while (Math.abs(newT - oldT) < maxF) {
newT = getTimer();
}
currFPS = Math.round(1000 / (newT - oldT));
pastFPS.shift();
pastFPS.push(currFPS);
var _local4 = 0;
var _local2 = 0;
while (_local2 < 10) {
_local4 = _local4 + pastFPS[_local2];
_local2++;
}
_local4 = Math.round(_local4 / 10);
if ((counter % 10) == 0) {
}
oldT = getTimer();
}
function saberLoopOn(bool) {
if (bool) {
soundSaberloop.attachSound("s_saberloop");
soundSaberloop.setVolume(_global.volumeFX * s_saberloopMult);
soundSaberloop.start(0, 1000);
} else {
soundSaberloop.stop("s_saberloop");
}
}
function __rankz_send__(par1, par2, par3, par4, par4n, par4nb) {
top10_send = new LoadVars();
top10_get = new LoadVars();
top10_send.flashkey = par2;
top10_send.SU0249 = par1;
top10_send.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3);
top10_send.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + "j%e%a%n%s");
top10_send.c2NvcmUy = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4n + "j%e%a%n%s");
top10_send.c2NvcmUz = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4nb + "j%e%a%n%s");
top10_send.flashkey = top10_send.flashkey.split("=").join("");
top10_send.SU0249 = top10_send.SU0249.split("=").join("");
top10_get.onLoad = function (success) {
if (success) {
} else {
trace("SEND failed");
}
};
top10_send.sendAndLoad("http://rankz.armorbot.com/submit/", top10_get, "POST");
}
function __rankz_get__(par1, par2, par3, par4, par4n, par4nb) {
top10_send = new LoadVars();
top10_get = new LoadVars();
top10_send.flashkey = par2;
top10_send.SU0249 = par1;
top10_send.flashkey = top10_send.flashkey.split("=").join("");
top10_send.SU0249 = top10_send.SU0249.split("=").join("");
top10_get.onLoad = function (success) {
if (success) {
_rankz_ar_ = top10_get.top10.split("<u/*/u>");
tempv = _rankz_ar_[0].split("</*/>");
count = tempv[1];
count_bgates = tempv[3];
count_sjobs = tempv[4];
count++;
if (_root.p1Name == "bgates") {
count_bgates++;
} else {
count_sjobs++;
}
bXlnYW1lX25hbWVfdmFyaWFibGU = "http://www.current.com/supernews";
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = count;
bXlnYW1lX3Njb3JlX3ZhcmlhYmx2 = count_bgates;
bXlnYW1lX3Njb3JlX3ZhcmlhYmx3 = count_sjobs;
__rankz_send__("MjMzM2olZSVhJW4lcw==", "SlBOTkt3dng=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl, bXlnYW1lX3Njb3JlX3ZhcmlhYmx2, bXlnYW1lX3Njb3JlX3ZhcmlhYmx3);
} else {
trace("GET failed");
}
};
top10_send.sendAndLoad("http://rankz.armorbot.com/get/top10.php", top10_get, "POST");
}
function blurDown() {
if (blur > 0) {
blur = blur + -1.3;
}
if (Math.abs(blur) < 1.3) {
blur = 0;
bmpBlur.dispose();
bmpBlur2.dispose();
bmpBlur = undefined;
bmpBlur2 = undefined;
mcMain._visible = true;
}
if (blur != 0) {
var _local1 = new flash.filters.BlurFilter(blur, blur, 1);
bmpBlur2.applyFilter(bmpBlur, bmpBlur.rectangle, new flash.geom.Point(0, 0), _local1);
}
}
function blurUp() {
if (bmpBlur == undefined) {
makeBitmapBlur();
}
if (blur < blurMax) {
blur = blur + 0.9;
}
if ((blur != blurMax) && (Math.abs(blur - blurMax) < 0.9)) {
blur = blurMax;
}
if (blur != blurMax) {
var _local1 = new flash.filters.BlurFilter(blur, blur, 1);
bmpBlur2.applyFilter(bmpBlur, bmpBlur.rectangle, new flash.geom.Point(0, 0), _local1);
}
}
function sfx(p, type, pan, offset, loops, bName) {
if (bName) {
temp = _root[p + "Name"];
temp = "_" + temp;
} else {
temp = "";
}
temp2 = substring(p, 2, -1);
if (type == "hit") {
temp = random(3) + 1;
} else if (type == "finish") {
_root.soundSaber1.stop();
_root.soundSaber2.stop();
}
_root["soundSaber" + temp2].attachSound(("s_" + type) + temp);
_root["soundSaber" + temp2].start(offset, loops);
_root["soundSaber" + temp2].setVolume(_global.volumeFX);
if (pan == 123) {
_root["soundSaber" + temp2].setPan(-90 + (60 * (substring(p, 2, -1))));
} else {
_root["soundSaber" + temp2].setPan(pan);
}
}
function speech_basic(p, temp, type, pan, offset, loops) {
_root[p + "Silent"] = false;
_root["sound_" + p].attachSound((("vo_" + temp) + "_") + type);
_root["sound_" + p].setVolume(_global.volumeSpeech);
_root["sound_" + p].start(offset, loops);
if (pan == 123) {
_root["sound_" + p].setPan(-90 + (60 * (substring(p, 2, -1))));
} else {
_root["sound_" + p].setPan(pan);
}
_root["mouth_" + temp].gotoAndPlay(type);
s_sprite_override = true;
_root[("s_" + p) + "SpeechID"] = (("vo_" + temp) + "_") + type;
}
function speech(p, type, pan, offset, loops) {
temp = _root[p + "Name"];
switch (type) {
case "hit" :
temp3 = substring(p, 2, -1);
var _local5 = false;
var _local6 = 10;
while ((!_local5) && (_local6 > 0)) {
_local6--;
temp2 = random(6) + 1;
var _local3 = 0;
while (_local3 < s_hitBuffer) {
if (temp2 == _root["arrayHits" + temp3][_local3]) {
break;
}
_local3++;
}
if (_local3 >= s_hitBuffer) {
_local5 = true;
}
}
_root["arrayHits" + temp3].shift();
_root["arrayHits" + temp3].push(temp2);
_root[p + "Silent"] = false;
_root["sound_" + p].stop();
_root["sound_" + p].attachSound((("vo_" + temp) + "_hit") + temp2);
_root["sound_" + p].setVolume(_global.volumeSpeech);
_root["sound_" + p].start(0.1);
_root["mouth_" + temp].gotoAndPlay("hit" + temp2);
_root[("s_" + p) + "SpeechID"] = (("vo_" + temp) + "_hit") + temp2;
break;
case "taunt" :
if (((p1Silent && (p2Silent)) && (intro > 4)) && (s_tauntWait >= s_tauntWaitMax)) {
if (random(100) < 3) {
s_tauntWait = 0;
temp3 = substring(p, 2, -1);
_local5 = false;
_local6 = 10;
while ((!_local5) && (_local6 > 0)) {
_local6--;
temp2 = random(_root["s_taunts_" + temp]) + 1;
var _local3 = 0;
while (_local3 < s_tauntBuffer) {
if (temp2 == _root["arrayTaunts" + temp3][_local3]) {
break;
}
_local3++;
}
if (_local3 >= s_tauntBuffer) {
_local5 = true;
}
}
_root["arrayTaunts" + temp3].shift();
_root["arrayTaunts" + temp3].push(temp2);
_root[p + "Silent"] = false;
_root["sound_" + p].attachSound((("vo_" + temp) + "_taunt") + temp2);
_root["sound_" + p].setVolume(_global.volumeSpeech);
_root["sound_" + p].setPan(-90 + (60 * (substring(p, 2, -1))));
_root["sound_" + p].start(0);
_root["mouth_" + temp].gotoAndPlay("taunt" + temp2);
_root[("s_" + p) + "SpeechID"] = (("vo_" + temp) + "_taunt") + temp2;
}
}
break;
case "cower" :
_root["sound_" + p].stop();
speech_basic(p, temp, type, pan, offset, loops);
break;
case "hitBig" :
_root["sound_" + p].stop();
speech_basic(p, temp, type, pan, offset, loops);
break;
case "cowerloop" :
_root["sound_" + p].attachSound((("vo_" + temp) + "_") + type);
_root["sound_" + p].setVolume(_global.volumeSpeech);
_root["sound_" + p].setPan(-90 + (60 * (substring(p, 2, -1))));
_root["sound_" + p].start(offset, loops);
_root["mouth_" + temp].gotoAndPlay("cowerloop");
s_sprite_override = false;
_root[("s_" + p) + "SpeechID"] = (("vo_" + temp) + "_") + type;
break;
case "finishhim" :
_root.sound_p1.attachSound("vo_" + type);
_root.sound_p1.setVolume(_global.volumeSpeech);
_root.sound_p1.setPan(0);
_root.sound_p1.start(offset, loops);
break;
case "finish2b" :
if (bSkipped) {
_root["sound_" + p].setVolume(tagVolume);
} else {
_root["sound_" + p].setVolume(_global.volumeSpeech);
}
_root[p + "Silent"] = false;
_root["sound_" + p].attachSound((("vo_" + temp) + "_") + type);
_root["sound_" + p].start(offset, loops);
_root["sound_" + p].setPan(-90 + (60 * (substring(p, 2, -1))));
_root["mouth_" + temp].gotoAndPlay("finish2b");
s_sprite_override = true;
_root[("s_" + p) + "SpeechID"] = (("vo_" + temp) + "_") + type;
break;
default :
if (!_root[p + "Silent"]) {
break;
}
speech_basic(p, temp, type, pan, offset, loops);
}
}
function getAngle(x1, x2, y1, y2) {
var _local1 = Math.atan2(y2 - y1, x2 - x1);
var _local4 = Math.cos(-_local1);
var _local3 = Math.sin(_local1);
var _local2 = new flash.geom.Point(_local4, _local3);
return(_local2);
}
function makeSmoke(pName, x1, y1, special) {
fxGenCount++;
if (fxGenCount > fxGenMax) {
fxGenCount = 1;
}
if (special == "bonus") {
temp = mcMain[pName].attachMovie("fx_smoke_gen", "fx_gen" + fxGenCount, fxGenDepth + fxGenCount);
temp._x = -(mcMain[pName]._x - x1);
temp._y = -(mcMain[pName]._y - y1);
temp.bSpecial = true;
if (pName == "p2") {
temp._xscale = -100;
}
} else {
temp = mcMain[pName].attachMovie("fx_smoke_gen", "fx_gen" + fxGenCount, fxGenDepth + fxGenCount);
temp._x = -(mcMain[pName]._x - x1);
temp._y = -(mcMain[pName]._y - y1);
if (pName == "p2") {
temp._xscale = -100;
}
}
}
function getBP(attackName) {
switch (attackName) {
case "jab_mid" :
bp = 3;
break;
case "jab_high" :
bp = 3;
break;
case "jab_low" :
bp = 3;
break;
case "strong_high" :
bp = 7;
break;
case "strong_low" :
bp = 7;
break;
case "jab_mid_special" :
bp = 15;
break;
case "special_cw" :
bp = 12;
break;
case "special_ccw" :
bp = 7;
break;
case "bonus" :
bp = 15;
break;
case "bonus_block" :
bp = 3;
}
return(bp);
}
function HUDintro() {
var _local1 = -270.1;
var _local2 = 155.4;
var _local3 = 6;
var _local4 = 0.5;
temp = _local1 - mcMain.mcHUD.hp_bgates._y;
mcMain.mcHUD.hp_bgates._y = mcMain.mcHUD.hp_bgates._y + (temp / _local3);
if (Math.abs(temp) < _local4) {
mcMain.mcHUD.hp_bgates._y = _local1;
}
temp = _local1 - mcMain.mcHUD.hp_sjobs._y;
mcMain.mcHUD.hp_sjobs._y = mcMain.mcHUD.hp_sjobs._y + (temp / _local3);
if (Math.abs(temp) < _local4) {
mcMain.mcHUD.hp_sjobs._y = _local1;
}
temp = _local2 - mcMain.mcHUD.bonus_sjobs._y;
mcMain.mcHUD.bonus_sjobs._y = mcMain.mcHUD.bonus_sjobs._y + (temp / _local3);
if (Math.abs(temp) < _local4) {
mcMain.mcHUD.bonus_sjobs._y = _local2;
}
temp = _local2 - mcMain.mcHUD.bonus_bgates._y;
mcMain.mcHUD.bonus_bgates._y = mcMain.mcHUD.bonus_bgates._y + (temp / _local3);
if (Math.abs(temp) < _local4) {
mcMain.mcHUD.bonus_bgates._y = _local2;
}
if ((((mcMain.mcHUD.hp_bgates._y == _local1) && (mcMain.mcHUD.hp_sjobs._y == _local1)) && (mcMain.mcHUD.bonus_sjobs._y == _local2)) && (mcMain.mcHUD.bonus_bgates._y == _local2)) {
}
}
function makeBitmapBlur() {
var _local4 = 720;
var _local5 = 540;
var _local2 = false;
var _local3 = 4294967295;
bmpBlur = new flash.display.BitmapData(_local4, _local5, _local2, _local3);
_root.attachBitmap(bmpBlur, blurDepth);
bmpBlur.draw(mcMain);
bmpBlur2 = new flash.display.BitmapData(_local4, _local5, _local2, _local3);
_root.attachBitmap(bmpBlur2, blurDepth + 1);
mcMain._visible = false;
}
function musicEnd() {
soundMusic.stop();
soundMusic.attachSound("s_music_end");
soundMusic.start();
}
function setAttackPause() {
_global.paused = true;
attackPaused = true;
attackPause = 4;
}
function shakeCam(mag) {
camShakeMag = mag;
camX0 = mcCam._x;
camY0 = mcCam._y;
}
function pauseGame() {
for (var _local1 in mcMain) {
if (typeof(mcMain[_local1]) == "movieclip") {
if ((_local1 != "p1") && (_local1 != "p2")) {
mcMain[_local1].stop();
}
}
}
}
function setPause() {
_global.paused = !_global.paused;
_root.justPaused = true;
saberLoopOn(false);
}
function showCursorSpecial() {
mcCursor._x = _root._xmouse;
mcCursor._y = _root._ymouse;
if (mcCursor._x > (cBoundR + (mcCam._x - camXOrig))) {
mcCursor._x = cBoundR + (mcCam._x - camXOrig);
} else if (mcCursor._x < (cBoundL + (mcCam._x - camXOrig))) {
mcCursor._x = cBoundL + (mcCam._x - camXOrig);
}
}
function spawnHelpOn() {
_global.paused = true;
temp = _root.attachMovie("popup_help", "mcPause", pauseDepth);
temp._x = 360;
temp._y = 270;
temp._xscale = 80;
temp._yscale = temp._xscale;
mcMain.mcHUD.mcMenu.buttPause.enabled = false;
mcMain.mcHUD.mcMenu.buttHelp.enabled = false;
if (attackPaused) {
attackPaused = false;
attackPause = 0;
}
saberLoopOn(false);
pauseSpeech();
Mouse.show();
mcCursor._x = -2000;
mcCursor._y = -1000;
}
function spawnHelpOff() {
_global.paused = false;
justPaused = true;
}
function unpauseFX() {
for (var _local1 in mcMain) {
if (typeof(mcMain[_local1]) == "movieclip") {
if ((((_local1 != "p1") && (_local1 != "p2")) && (_local1 != "mcBG")) && (_local1 != "mcWin")) {
mcMain[_local1].play();
}
}
}
}
function pauseSpeech() {
s_p1Speech = sound_p1.position;
sound_p1.stop();
s_p2Speech = sound_p2.position;
sound_p2.stop();
mouth_sjobs.stop();
mouth_bgates.stop();
}
function unpauseSpeech() {
if (s_p1SpeechID != "") {
sound_p1.attachSound(s_p1SpeechID);
if ((s_p1SpeechID == "vo_sjobs_cowerloop") || (s_p1SpeechID == "vo_bgates_cowerloop")) {
sound_p1.setVolume(_global.volumeSpeech);
sound_p1.start(s_p1Speech / 1000, 1000);
} else {
sound_p1.setVolume(_global.volumeSpeech);
sound_p1.start(s_p1Speech / 1000);
}
_root["mouth_" + p1Name].play();
}
if (s_p2SpeechID != "") {
sound_p2.attachSound(s_p2SpeechID);
if ((s_p2SpeechID == "vo_sjobs_cowerloop") || (s_p2SpeechID == "vo_bgates_cowerloop")) {
sound_p1.setVolume(_global.volumeSpeech);
sound_p2.start(s_p2Speech / 1000, 1000);
} else {
sound_p1.setVolume(_global.volumeSpeech);
sound_p2.start(s_p2Speech / 1000);
}
_root["mouth_" + p2Name].play();
}
}
function updateCam() {
var _local2 = 512;
var _local3 = 0.3;
var _local1 = 25;
if (camDist == 0) {
camDist = Math.abs(camTargetX - mcCam._x) - 40;
}
if (Math.abs(camTargetX - mcCam._x) > ((camDist * 0.58) + _local1)) {
if (camXvel < 0) {
camXvel = camXvel + (((camTargetX + _local1) - camXOrig) / _local2);
} else {
camXvel = camXvel + (((camTargetX - _local1) - camXOrig) / _local2);
}
mcCam._x = mcCam._x + camXvel;
} else if (Math.abs(camTargetX - mcCam._x) > _local1) {
if (camXvel < 0) {
camXvel = camXvel - (((camTargetX + _local1) - camXOrig) / _local2);
if (camXvel > (-_local3)) {
camXvel = -_local3;
}
} else {
camXvel = camXvel - (((camTargetX - 40) - camXOrig) / _local2);
if (camXvel < _local3) {
camXvel = _local3;
}
}
mcCam._x = mcCam._x + camXvel;
} else {
camDist = 0;
camUpdate = false;
}
}
function vcam() {
_root._x = ((-(mcCam._x - (((mcCam.mcWindow._width * mcCam._xscale) / 100) / 2))) * Stage.width) / ((mcCam.mcWindow._width * mcCam._xscale) / 100);
_root._y = ((-(mcCam._y - (((mcCam.mcWindow._height * mcCam._xscale) / 100) / 2))) * Stage.height) / ((mcCam.mcWindow._height * mcCam._xscale) / 100);
_root._xscale = (Stage.width / ((mcCam.mcWindow._width * mcCam._xscale) / 100)) * 100;
_root._yscale = (Stage.height / ((mcCam.mcWindow._height * mcCam._xscale) / 100)) * 100;
}
function reset() {
if (mcMain.p1.hp > 70) {
_root["picks_" + p1Name]--;
}
mcCam._x = camXOrig;
mcCam._y = camYOrig;
stopAllSounds();
_root.gotoAndStop("menu_main");
_quality = oldQ;
itemQuit.enabled = false;
}
stop();
counter = 0;
frCount = 0;
oldT = getTimer();
newT = getTimer();
maxF = 33;
var pastFPS = new Array(30, 30, 30, 30, 30, 30, 30, 30, 30, 30);
itemQuit.enabled = true;
count = 0;
Mouse.hide();
mcMain.mcHUD.mcMenu.buttPause.enabled = false;
mcMain.mcHUD.mcMenu.buttHelp.enabled = false;
cBoundL = 40;
cBoundR = 680;
pBoundL = 120;
pBoundR = 500;
playerBuffer = 100;
fxCount = 0;
fxMax = 32;
fxGenCount = 0;
fxGenMax = 4;
p1HPx = -282.45;
p2HPx = 63.8;
p1Bx = -330;
p2Bx = 132;
clicked = false;
_global.paused = false;
justPaused = false;
bonusSize = 20;
hpDanger = 15;
bDizzy = false;
hp1Bcount = 0;
hp2Bcount = 0;
winDone = false;
blur = 0;
blurMax = 6;
intro = 1;
oldQ = "HIGH";
introWait = 161;
winner = "p1";
pushVel = 2.8;
gameover = false;
bHand = false;
bSkipped = false;
cursorTime = 0;
camXOrig = mcCam._x;
camyOrig = mcCam._y;
camUpdate = false;
camTargetX = camXOrig;
camXvel = 0;
camDist = 0;
camX0 = 0;
camY0 = 0;
mcCam.buttSkip.enabled = false;
pausePressed = false;
pauseTimer = 0;
pauseWait = 10;
page2 = false;
p1Depth = 1000;
fxDepth = 5000;
fxGenDepth = 4900;
bonusDepth = 8000;
bgDepth = 100;
hudDepth = 22345;
bonusInfoDepth = hudDepth + 100;
focusDepth = hudDepth + 50;
finishDepth = hudDepth + 101;
mouthDepth = 2000;
pauseDepth = 9000;
blurDepth = 8500;
camDepth = 11000;
cursorDepth = 12345;
temp = _root.attachMovie("cursor", "mcCursor", cursorDepth);
temp.gotoAndStop("crosshair");
_global.volumeFX = 70;
_global.volumeSpeech = 70;
_global.volumeMusic = 70;
tagVolume = 20;
soundMusic = new Sound(mcMain.mcHUD.mcMusic);
soundMusic.attachSound("s_music");
soundMusic.setVolume(_global.volumeMusic);
soundMusic.start(0, 1000);
soundSaberloop = new Sound(mcMain.mcHUD.mcMenu);
soundSaberloop.attachSound("s_saberloop");
s_saberloopMult = 1;
soundSaberloop.setVolume(_global.volumeFX * s_saberloopMult);
s_saber_loop = true;
s_saberoff = 0;
s_saberPanDest = 0;
s_saberPanCount = 0;
soundSaber1 = new Sound(mcMain.mcHUD.hp_sjobs);
soundSaber2 = new Sound(mcMain.mcHUD.hp_bgates);
sound_p1 = new Sound(mcMain.mcHUD.bonus_sjobs);
sound_p2 = new Sound(mcMain.mcHUD.bonus_bgates);
p1Silent = true;
p2Silent = true;
s_sprite_override = false;
s_p1Speech = 0;
s_p1SpeechID = "";
s_p2Speech = 0;
s_p2SpeechID = "";
arrayTaunts1 = new Array(0, 0, 0);
arrayTaunts2 = new Array(0, 0, 0);
s_tauntBuffer = 3;
s_taunts_sjobs = 5;
s_taunts_bgates = 9;
s_tauntWait = 0;
s_tauntWaitMax = 120;
arrayHits1 = new Array(0, 0, 0);
arrayHits2 = new Array(0, 0, 0);
s_hitBuffer = 3;
temp = mcMain.attachMovie(p2Name + "_ai", "p2", p1Depth - 1);
temp._x = 460;
temp._y = 420;
temp._xscale = -80;
temp._yscale = 80;
temp = mcMain.attachMovie(p1Name, "p1", p1Depth);
temp._x = 260;
temp._y = 420;
temp._xscale = 80;
temp._yscale = 80;
temp = _root.attachMovie("sjobs_mouth", "mouth_sjobs", mouthDepth);
temp._x = -1000;
temp._y = -1000;
temp._visible = false;
temp = _root.attachMovie("bgates_mouth", "mouth_bgates", mouthDepth + 1);
temp._x = -1000;
temp._y = -1000;
temp._visible = false;
bStatsSent = false;
if (p1Name == "bgates") {
picks_bgates++;
} else {
picks_sjobs++;
}
mcMain.mcHUD["hp_" + p1Name]._x = p1HPx;
mcMain.mcHUD["hp_" + p2Name]._x = p2HPx;
mcMain.mcHUD["hp_" + p1Name].gotoAndStop("idle");
mcMain.mcHUD["hp_" + p2Name].gotoAndStop("idle");
mcMain.mcHUD["bonus_" + p1Name]._x = p1Bx;
mcMain.mcHUD["bonus_" + p2Name]._x = p2Bx;
mcMain.mcHUD["bonus_" + p1Name].gotoAndStop("idle");
mcMain.mcHUD["bonus_" + p2Name].gotoAndStop("idle");
mcMain.mcHUD.swapDepths(hudDepth);
mcMain.mcHUD["hp_" + p1Name].mc.gotoAndStop(101);
mcMain.mcHUD["hp_" + p2Name].mc.gotoAndStop(101);
mcMain.mcHUD["hp_" + p1Name].mcB.gotoAndStop(101);
mcMain.mcHUD["hp_" + p2Name].mcB.gotoAndStop(101);
newMenu.onSelect = function () {
cursorTime = 150;
};
sound_p1.onSoundComplete = function () {
s_p1SpeechID = "";
};
sound_p2.onSoundComplete = function () {
s_p2SpeechID = "";
};
this.onMouseDown = function () {
clicked = 2;
cursorTime = 0;
};
this.onEnterFrame = function () {
count++;
clicked--;
s_tauntWait++;
pauseTimer--;
cursorTime--;
if (!_global.paused) {
if (!attackPaused) {
if (justPaused) {
justPaused = false;
mcMain.mcHUD.mcMenu.buttPause.enabled = true;
mcMain.mcHUD.mcMenu.buttHelp.enabled = true;
unpauseFX();
saberLoopOn(true);
unpauseSpeech();
pauseTimer = pauseWait;
}
blurDown();
showCursorSpecial();
}
} else if (!attackPaused) {
pauseGame();
if (justPaused) {
justPaused = false;
temp = _root.attachMovie("popup_pause", "mcPause", pauseDepth);
temp._x = 360;
temp._y = 190;
mcMain.mcHUD.mcMenu.buttPause.enabled = false;
mcMain.mcHUD.mcMenu.buttHelp.enabled = false;
_root.sfx("p1", "pauseOpen", 0, 0.1, 1, false);
pauseSpeech();
Mouse.show();
mcCursor._x = -2000;
mcCursor._y = -1000;
}
blurUp();
mcCursor.gotoAndStop("crosshair");
}
if (attackPaused) {
attackPause--;
if (attackPause <= 0) {
attackPaused = false;
unpauseFX();
_global.paused = false;
}
}
if (camUpdate) {
updateCam();
}
if (camShakeMag != 0) {
camShakeMag = camShakeMag * 0.85;
mcCam._x = (camX0 - camShakeMag) + ((Math.random() * camShakeMag) * 2);
mcCam._y = (camY0 - camShakeMag) + ((Math.random() * camShakeMag) * 2);
if (camShakeMag < 0.9) {
camShakeMag = 0;
mcCam._x = camX0;
mcCam._y = camY0;
}
}
vcam();
if (!gameover) {
if (!_global.paused) {
if (((count % 15) == 0) && (cursorTime < 0)) {
Mouse.hide();
}
showCursorSpecial();
if (_global.bHand) {
_root.mcCursor.gotoAndStop("hand");
}
_global.bHand = false;
}
} else {
Mouse.show();
mcCursor._x = -2000;
mcCursor._y = -1000;
}
if (mcMain.p1.hp < 0) {
mcMain.p1.hp = 0;
} else if (mcMain.p1.hp <= hpDanger) {
mcMain.mcHUD["hp_" + p1Name].gotoAndStop("danger");
}
if (mcMain.p2.hp < 0) {
mcMain.p2.hp = 0;
} else if (mcMain.p2.hp <= hpDanger) {
mcMain.mcHUD["hp_" + p2Name].gotoAndStop("danger");
}
mcMain.mcHUD["hp_" + p1Name].mc.gotoAndStop(mcMain.p1.hp + 1);
mcMain.mcHUD["hp_" + p2Name].mc.gotoAndStop(mcMain.p2.hp + 1);
mcMain.mcHUD["bonus_" + p1Name].mc.gotoAndStop(mcMain.p1.bonus + 1);
mcMain.mcHUD["bonus_" + p2Name].mc.gotoAndStop(mcMain.p2.bonus + 1);
if (mcMain.mcHUD["hp_" + p1Name].mcB._currentframe != mcMain.mcHUD["hp_" + p1Name].mc._currentframe) {
hp1Bcount++;
} else {
hp1Bcount = 0;
}
if ((hp1Bcount > 12) && (mcMain.mcHUD["hp_" + p1Name].mcB._currentframe > mcMain.mcHUD["hp_" + p1Name].mc._currentframe)) {
mcMain.mcHUD["hp_" + p1Name].mcB.gotoAndStop(mcMain.mcHUD["hp_" + p1Name].mcB._currentframe - 1);
}
if (mcMain.mcHUD["hp_" + p2Name].mcB._currentframe != mcMain.mcHUD["hp_" + p2Name].mc._currentframe) {
hp2Bcount++;
} else {
hp2Bcount = 0;
}
if ((hp2Bcount > 12) && (mcMain.mcHUD["hp_" + p2Name].mcB._currentframe > mcMain.mcHUD["hp_" + p2Name].mc._currentframe)) {
mcMain.mcHUD["hp_" + p2Name].mcB.gotoAndStop(mcMain.mcHUD["hp_" + p2Name].mcB._currentframe - 1);
}
if (intro == 1) {
HUDintro();
} else if (intro == 2) {
temp = mcMain.attachMovie("popup_fight", "mcPause", pauseDepth);
temp._x = 360;
temp._y = 270;
intro = 3;
_root.sfx("p1", "fight", 0, 0, 1, false);
} else if (intro == 4) {
mcMain.mcHUD.mcMenu.buttPause.enabled = true;
mcMain.mcHUD.mcMenu.buttHelp.enabled = true;
intro = 5;
}
if (bDizzy) {
HUDspeed = 2.2;
mcMain.mcHUD["hp_" + p1Name]._y = mcMain.mcHUD["hp_" + p1Name]._y + (-HUDspeed);
mcMain.mcHUD["hp_" + p2Name]._y = mcMain.mcHUD["hp_" + p2Name]._y + (-HUDspeed);
mcMain.mcHUD["bonus_" + p1Name]._y = mcMain.mcHUD["bonus_" + p1Name]._y + HUDspeed;
mcMain.mcHUD["bonus_" + p2Name]._y = mcMain.mcHUD["bonus_" + p2Name]._y + HUDspeed;
mcMain.mcHUD.mcMenu._y = mcMain.mcHUD.mcMenu._y + (HUDspeed * 0.9);
mcMain.mcHUD.mcMenu.buttPause.enabled = false;
mcMain.mcHUD.mcMenu.buttHelp.enabled = false;
mcMain.p1.bWalking = false;
mcCursor.gotoAndStop("crosshair");
if (mcMain.mcHUD["bonus_" + p2Name]._y > 350) {
mcMain.mcHUD._visible = false;
}
}
if (winDone) {
winDone = false;
gameover = true;
camXvel = 0;
if (mcMain.p1 == undefined) {
temp = mcMain.attachMovie("popup_win_" + p1Name, "mcWin", pauseDepth);
temp._x = mcCam._x - camXOrig;
}
if (mcMain.p2 == undefined) {
temp = mcMain.attachMovie("popup_win_" + p2Name, "mcWin", pauseDepth);
temp._x = mcCam._x - camXOrig;
}
mcCursor.gotoAndStop("crosshair");
_root.sfx("p1", "win", 0, 0.2, 1, false);
if (winner == "p1") {
if (p1Name == "bgates") {
wins_bgates++;
} else {
wins_sjobs++;
}
}
if (!bStatsSent) {
bStatsSent = true;
__rankz_get__("MjMzM2olZSVhJW4lcw==", "SlBOTkt3dng=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl, bXlnYW1lX3Njb3JlX3ZhcmlhYmx2, bXlnYW1lX3Njb3JlX3ZhcmlhYmx3);
}
}
if (!bStatsSent) {
if (mcMain.p1.hp < 70) {
bStatsSent = true;
__rankz_get__("MjMzM2olZSVhJW4lcw==", "SlBOTkt3dng=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl, bXlnYW1lX3Njb3JlX3ZhcmlhYmx2, bXlnYW1lX3Njb3JlX3ZhcmlhYmx3);
}
}
if (Key.isDown(32)) {
if (!pausePressed) {
pausePressed = true;
if (((intro > 4) && (!bDizzy)) && (pauseTimer <= 0)) {
pauseTimer = pauseWait;
if (_global.paused) {
mcPause.gotoAndPlay("close");
} else {
setPause();
}
}
}
} else {
pausePressed = false;
}
frameLimiter();
};
Symbol 14 MovieClip Frame 1
this.onEnterFrame = function () {
var _local2 = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
mc.gotoAndStop(_local2 + 1);
if (_local2 >= 100) {
_root.gotoAndPlay("start");
}
};
Symbol 24 MovieClip Frame 1
this.onEnterFrame = function () {
var _local2 = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
mc.gotoAndStop(_local2 + 1);
if (_local2 >= 100) {
_root.gotoAndPlay("start");
}
};
Symbol 1219 MovieClip [__Packages.ab3.rankz.Armor_Bot_30_En_AS1] Frame 0
class ab3.rankz.Armor_Bot_30_En_AS1 extends Object
{
static var _CharsReverseLookup;
var _Armor_Bot_30_En_AS1Str, _Armor_Bot_30_En_AS1Count;
function Armor_Bot_30_En_AS1 () {
super();
}
static function Encode(str) {
var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return(_local1.encodeArmor_Bot_30_En_AS1(str));
}
static function Decode(str) {
var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return(_local1.decodeArmor_Bot_30_En_AS1(str));
}
static function StringReplaceAll(source, find, replacement) {
return(source.split(find).join(replacement));
}
static function InitReverseChars() {
_CharsReverseLookup = new Array();
var _local1 = 0;
while (_local1 < _Chars.length) {
_CharsReverseLookup[_Chars[_local1]] = _local1;
_local1++;
}
return(true);
}
static function UrlDecode(str) {
str = StringReplaceAll(str, "\\", " ");
str = unescape(str);
return(str);
}
static function UrlEncode(str) {
str = escape(str);
str = StringReplaceAll(str, "\\", "%2B");
str = StringReplaceAll(str, "%20", "+");
return(str);
}
function setArmor_Bot_30_En_AS1Str(str) {
_Armor_Bot_30_En_AS1Str = str;
_Armor_Bot_30_En_AS1Count = 0;
}
function readArmor_Bot_30_En_AS1() {
if (!_Armor_Bot_30_En_AS1Str) {
return(_EndOfInput);
}
if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) {
return(_EndOfInput);
}
var _local2 = _Armor_Bot_30_En_AS1Str.charCodeAt(_Armor_Bot_30_En_AS1Count) & 255;
_Armor_Bot_30_En_AS1Count++;
return(_local2);
}
function encodeArmor_Bot_30_En_AS1(str) {
setArmor_Bot_30_En_AS1Str(str);
var _local3 = "";
var _local2 = new Array(3);
var _local5 = 0;
var _local4 = false;
while ((!_local4) && (((_local2[0] = readArmor_Bot_30_En_AS1())) != _EndOfInput)) {
_local2[1] = readArmor_Bot_30_En_AS1();
_local2[2] = readArmor_Bot_30_En_AS1();
_local3 = _local3 + _Chars[_local2[0] >> 2];
if (_local2[1] != _EndOfInput) {
_local3 = _local3 + _Chars[((_local2[0] << 4) & 48) | (_local2[1] >> 4)];
if (_local2[2] != _EndOfInput) {
_local3 = _local3 + _Chars[((_local2[1] << 2) & 60) | (_local2[2] >> 6)];
_local3 = _local3 + _Chars[_local2[2] & 63];
} else {
_local3 = _local3 + _Chars[(_local2[1] << 2) & 60];
_local3 = _local3 + "=";
_local4 = true;
}
} else {
_local3 = _local3 + _Chars[(_local2[0] << 4) & 48];
_local3 = _local3 + "=";
_local3 = _local3 + "=";
_local4 = true;
}
_local5 = _local5 + 4;
if (_local5 >= 76) {
_local3 = _local3 + newline;
_local5 = 0;
}
}
return(_local3);
}
function readReverseArmor_Bot_30_En_AS1() {
if (!_Armor_Bot_30_En_AS1Str) {
return(_EndOfInput);
}
while (true) {
if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) {
return(_EndOfInput);
}
var _local2 = _Armor_Bot_30_En_AS1Str.charAt(_Armor_Bot_30_En_AS1Count);
_Armor_Bot_30_En_AS1Count++;
if (_CharsReverseLookup[_local2]) {
return(_CharsReverseLookup[_local2]);
}
if (_local2 == "A") {
return(0);
}
}
}
function ntos(n) {
var _local1 = n.toString(16);
if (_local1.length == 1) {
_local1 = "0" + _local1;
}
_local1 = "%" + _local1;
return(unescape(_local1));
}
function decodeArmor_Bot_30_En_AS1(str) {
setArmor_Bot_30_En_AS1Str(str);
var _local3 = "";
var _local2 = new Array(4);
var _local4 = false;
while (((!_local4) && (((_local2[0] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) && (((_local2[1] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) {
_local2[2] = readReverseArmor_Bot_30_En_AS1();
_local2[3] = readReverseArmor_Bot_30_En_AS1();
_local3 = _local3 + ntos(((_local2[0] << 2) & 255) | (_local2[1] >> 4));
if (_local2[2] != _EndOfInput) {
_local3 = _local3 + ntos(((_local2[1] << 4) & 255) | (_local2[2] >> 2));
if (_local2[3] != _EndOfInput) {
_local3 = _local3 + ntos(((_local2[2] << 6) & 255) | _local2[3]);
} else {
_local4 = true;
}
} else {
_local4 = true;
}
}
return(_local3);
}
function toHex(n) {
var _local4 = "";
var _local3 = true;
var _local1 = 32;
while (_local1 > 0) {
_local1 = _local1 - 4;
var _local2 = (n >> _local1) & 15;
if ((!_local3) || (_local2 != 0)) {
_local3 = false;
_local4 = _local4 + _Digits[_local2];
}
}
return(((_local4 == "") ? "0" : (_local4)));
}
function pad(str, len, pad) {
var _local2 = str;
var _local1 = str.length;
while (_local1 < len) {
_local2 = pad + _local2;
_local1++;
}
return(_local2);
}
function encodeHex(str) {
var _local4 = "";
var _local2 = 0;
while (_local2 < str.length) {
_local4 = _local4 + pad(toHex(str.charCodeAt(_local2) & 255), 2, "0");
_local2++;
}
return(_local4);
}
function decodeHex(str) {
var _local5 = "";
var _local3 = "";
var _local2 = 0;
while (_local2 < str.length) {
_local3 = _local3 + str.charAt(_local2);
if (_local3.length == 2) {
_local5 = _local5 + ntos(parseInt("0x" + _local3));
_local3 = "";
}
_local2++;
}
return(_local5);
}
static var _EndOfInput = -1;
static var _Chars = new Array("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "+", "/");
static var _CharsReverseLookupInited = InitReverseChars();
static var _Digits = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f");
}
Symbol 28 MovieClip [square] Frame 1
this._visible = false;
Symbol 46 MovieClip [sjobs_mouth] Frame 1
function end() {
if (this._name == "mouth_sjobs") {
if (_root.p1Name == "sjobs") {
_root.p1Silent = true;
} else {
_root.p2Silent = true;
}
}
gotoAndStop ("idle");
}
stop();
this.onEnterFrame = function () {
if (this._name != "mouth_sjobs") {
this.gotoAndStop(_root.mouth_sjobs._currentframe);
}
};
Symbol 46 MovieClip [sjobs_mouth] Frame 68
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 69
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 70
play();
Symbol 46 MovieClip [sjobs_mouth] Frame 116
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 117
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 118
play();
Symbol 46 MovieClip [sjobs_mouth] Frame 153
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 154
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 155
play();
Symbol 46 MovieClip [sjobs_mouth] Frame 184
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 185
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 186
play();
Symbol 46 MovieClip [sjobs_mouth] Frame 219
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 220
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 221
play();
Symbol 46 MovieClip [sjobs_mouth] Frame 255
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 256
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 257
play();
Symbol 46 MovieClip [sjobs_mouth] Frame 436
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 437
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 438
play();
Symbol 46 MovieClip [sjobs_mouth] Frame 523
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 524
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 525
play();
Symbol 46 MovieClip [sjobs_mouth] Frame 608
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 609
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 610
play();
Symbol 46 MovieClip [sjobs_mouth] Frame 619
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 620
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 621
play();
Symbol 46 MovieClip [sjobs_mouth] Frame 630
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 631
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 632
play();
Symbol 46 MovieClip [sjobs_mouth] Frame 654
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 655
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 656
play();
Symbol 46 MovieClip [sjobs_mouth] Frame 671
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 672
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 673
play();
Symbol 46 MovieClip [sjobs_mouth] Frame 689
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 690
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 691
play();
Symbol 46 MovieClip [sjobs_mouth] Frame 712
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 713
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 714
play();
Symbol 46 MovieClip [sjobs_mouth] Frame 788
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 789
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 790
play();
Symbol 46 MovieClip [sjobs_mouth] Frame 992
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 993
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 994
play();
Symbol 46 MovieClip [sjobs_mouth] Frame 1210
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 1211
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 1212
play();
Symbol 46 MovieClip [sjobs_mouth] Frame 1253
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 1254
end();
Symbol 46 MovieClip [sjobs_mouth] Frame 1255
play();
Symbol 46 MovieClip [sjobs_mouth] Frame 1289
if (!_root.s_sprite_override) {
gotoAndPlay ("cowerloop");
} else {
end();
}
Symbol 46 MovieClip [sjobs_mouth] Frame 1290
end();
Symbol 56 MovieClip Frame 1
if (_global.paused) {
this.stop();
} else {
this.play();
}
Symbol 72 MovieClip Frame 1
this._visible = false;
Symbol 73 MovieClip Frame 1
this._visible = false;
Symbol 92 MovieClip Frame 1
this._visible = false;
Symbol 136 MovieClip Frame 5
_parent.gotoAndStop("block_high_hold");
Symbol 139 MovieClip Frame 5
_parent.gotoAndStop("block_mid_hold");
Symbol 142 MovieClip Frame 5
_parent.gotoAndStop("block_low_hold");
Symbol 145 MovieClip Frame 3
_parent.gotoAndStop("block_mid_hold");
Symbol 146 MovieClip Frame 3
_parent.gotoAndStop("block_high_hold");
Symbol 148 MovieClip Frame 3
_parent.gotoAndStop("block_low_hold");
Symbol 149 MovieClip Frame 3
_parent.gotoAndStop("block_mid_hold");
Symbol 176 MovieClip Frame 1
if (_root.p1Name == "sjobs") {
_root.sfx("p1", "saberoff", 123, 0, 1);
} else {
_root.sfx("p2", "saberoff", 123, 0, 1);
}
Symbol 176 MovieClip Frame 29
if (_root.p1Name == "sjobs") {
_root.sfx("p1", "bonusStart", 0, 0.1, 1, true);
} else {
_root.sfx("p2", "bonusStart", 0, 0.1, 1, true);
}
Symbol 176 MovieClip Frame 38
eyes.gotoAndStop("mid");
Symbol 176 MovieClip Frame 41
gotoAndPlay(_currentframe - 1);
Symbol 178 MovieClip Frame 38
_parent.gotoAndStop("idle");
Symbol 194 MovieClip Frame 32
if (_root.p1Name == "sjobs") {
_root.speech("p1", "cowerloop", 123, 0, 1000);
} else {
_root.speech("p2", "cowerloop", 123, 0, 1000);
}
_parent.gotoAndStop("cower_loop");
Symbol 198 MovieClip Frame 1
if (_root.p1Name == "sjobs") {
_root.sfx("p1", "saberoff", -20, 0, 1, false);
} else {
_root.sfx("p2", "saberoff", 20, 0, 1, false);
}
Symbol 198 MovieClip Frame 27
_root.sfx("p2", "dizzyloop", 0, 0.25, 100, false);
Symbol 198 MovieClip Frame 50
_parent.gotoAndStop("dizzy_loop");
Symbol 200 MovieClip Frame 5
_parent.gotoAndStop("finish_idle_loop");
Symbol 229 MovieClip [bgates_mouth] Frame 1
function end() {
if (this._name == "mouth_bgates") {
if (_root.p1Name == "bgates") {
_root.p1Silent = true;
} else {
_root.p2Silent = true;
}
}
gotoAndStop ("idle");
}
stop();
this.onEnterFrame = function () {
if (this._name != "mouth_bgates") {
this.gotoAndStop(_root.mouth_bgates._currentframe);
}
};
Symbol 229 MovieClip [bgates_mouth] Frame 56
end();
Symbol 229 MovieClip [bgates_mouth] Frame 57
end();
Symbol 229 MovieClip [bgates_mouth] Frame 58
play();
Symbol 229 MovieClip [bgates_mouth] Frame 188
end();
Symbol 229 MovieClip [bgates_mouth] Frame 189
end();
Symbol 229 MovieClip [bgates_mouth] Frame 190
play();
Symbol 229 MovieClip [bgates_mouth] Frame 234
end();
Symbol 229 MovieClip [bgates_mouth] Frame 235
end();
Symbol 229 MovieClip [bgates_mouth] Frame 236
play();
Symbol 229 MovieClip [bgates_mouth] Frame 320
end();
Symbol 229 MovieClip [bgates_mouth] Frame 321
end();
Symbol 229 MovieClip [bgates_mouth] Frame 322
play();
Symbol 229 MovieClip [bgates_mouth] Frame 508
end();
Symbol 229 MovieClip [bgates_mouth] Frame 509
end();
Symbol 229 MovieClip [bgates_mouth] Frame 510
play();
Symbol 229 MovieClip [bgates_mouth] Frame 531
end();
Symbol 229 MovieClip [bgates_mouth] Frame 532
end();
Symbol 229 MovieClip [bgates_mouth] Frame 533
play();
Symbol 229 MovieClip [bgates_mouth] Frame 558
end();
Symbol 229 MovieClip [bgates_mouth] Frame 559
end();
Symbol 229 MovieClip [bgates_mouth] Frame 560
play();
Symbol 229 MovieClip [bgates_mouth] Frame 571
end();
Symbol 229 MovieClip [bgates_mouth] Frame 572
end();
Symbol 229 MovieClip [bgates_mouth] Frame 573
play();
Symbol 229 MovieClip [bgates_mouth] Frame 583
end();
Symbol 229 MovieClip [bgates_mouth] Frame 584
end();
Symbol 229 MovieClip [bgates_mouth] Frame 585
play();
Symbol 229 MovieClip [bgates_mouth] Frame 601
end();
Symbol 229 MovieClip [bgates_mouth] Frame 602
end();
Symbol 229 MovieClip [bgates_mouth] Frame 615
end();
Symbol 229 MovieClip [bgates_mouth] Frame 616
end();
Symbol 229 MovieClip [bgates_mouth] Frame 617
play();
Symbol 229 MovieClip [bgates_mouth] Frame 646
end();
Symbol 229 MovieClip [bgates_mouth] Frame 647
end();
Symbol 229 MovieClip [bgates_mouth] Frame 648
play();
Symbol 229 MovieClip [bgates_mouth] Frame 721
end();
Symbol 229 MovieClip [bgates_mouth] Frame 722
end();
Symbol 229 MovieClip [bgates_mouth] Frame 723
play();
Symbol 229 MovieClip [bgates_mouth] Frame 757
end();
Symbol 229 MovieClip [bgates_mouth] Frame 758
end();
Symbol 229 MovieClip [bgates_mouth] Frame 759
play();
Symbol 229 MovieClip [bgates_mouth] Frame 836
end();
Symbol 229 MovieClip [bgates_mouth] Frame 837
end();
Symbol 229 MovieClip [bgates_mouth] Frame 838
play();
Symbol 229 MovieClip [bgates_mouth] Frame 882
end();
Symbol 229 MovieClip [bgates_mouth] Frame 883
end();
Symbol 229 MovieClip [bgates_mouth] Frame 884
play();
Symbol 229 MovieClip [bgates_mouth] Frame 924
end();
Symbol 229 MovieClip [bgates_mouth] Frame 925
end();
Symbol 229 MovieClip [bgates_mouth] Frame 926
play();
Symbol 229 MovieClip [bgates_mouth] Frame 1008
end();
Symbol 229 MovieClip [bgates_mouth] Frame 1009
end();
Symbol 229 MovieClip [bgates_mouth] Frame 1010
play();
Symbol 229 MovieClip [bgates_mouth] Frame 1058
end();
Symbol 229 MovieClip [bgates_mouth] Frame 1059
end();
Symbol 229 MovieClip [bgates_mouth] Frame 1060
play();
Symbol 229 MovieClip [bgates_mouth] Frame 1108
end();
Symbol 229 MovieClip [bgates_mouth] Frame 1109
end();
Symbol 229 MovieClip [bgates_mouth] Frame 1110
play();
Symbol 229 MovieClip [bgates_mouth] Frame 1167
end();
Symbol 229 MovieClip [bgates_mouth] Frame 1168
end();
Symbol 229 MovieClip [bgates_mouth] Frame 1169
play();
Symbol 229 MovieClip [bgates_mouth] Frame 1233
end();
Symbol 229 MovieClip [bgates_mouth] Frame 1234
end();
Symbol 229 MovieClip [bgates_mouth] Frame 1235
play();
Symbol 229 MovieClip [bgates_mouth] Frame 1295
end();
Symbol 229 MovieClip [bgates_mouth] Frame 1296
end();
Symbol 229 MovieClip [bgates_mouth] Frame 1297
play();
Symbol 229 MovieClip [bgates_mouth] Frame 1383
if (!_root.s_sprite_override) {
gotoAndPlay ("cowerloop");
} else {
end();
}
Symbol 229 MovieClip [bgates_mouth] Frame 1384
end();
Symbol 229 MovieClip [bgates_mouth] Frame 1385
play();
Symbol 229 MovieClip [bgates_mouth] Frame 1520
if (!_root.s_sprite_override) {
gotoAndPlay ("cowerloop");
} else {
end();
}
Symbol 229 MovieClip [bgates_mouth] Frame 1521
end();
Symbol 229 MovieClip [bgates_mouth] Frame 1522
play();
Symbol 229 MovieClip [bgates_mouth] Frame 1659
if (this._name == "mouth_bgates") {
if (_root.p1Name == "bgates") {
_root.p1Silent = true;
} else {
_root.p2Silent = true;
}
}
Symbol 229 MovieClip [bgates_mouth] Frame 1663
gotoAndPlay(_currentframe - 2);
Symbol 229 MovieClip [bgates_mouth] Frame 1664
gotoAndPlay(_currentframe - 2);
Symbol 229 MovieClip [bgates_mouth] Frame 1665
play();
Symbol 229 MovieClip [bgates_mouth] Frame 1786
end();
Symbol 229 MovieClip [bgates_mouth] Frame 1787
end();
Symbol 229 MovieClip [bgates_mouth] Frame 1788
play();
Symbol 229 MovieClip [bgates_mouth] Frame 1824
end();
Symbol 229 MovieClip [bgates_mouth] Frame 1825
end();
Symbol 229 MovieClip [bgates_mouth] Frame 1826
play();
Symbol 238 MovieClip Frame 1
if (_global.paused) {
this.stop();
} else {
this.play();
}
Symbol 264 MovieClip [fx_smoke_gen] Frame 1
this._visible = false;
life = 4 + random(6);
this.onEnterFrame = function () {
if (!_global.paused) {
this.play();
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
temp = _parent._parent.attachMovie("fx_smoke", "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
temp._x = ((this._x + _parent._x) + (Math.random() * 2)) - 1;
temp._y = this._y + _parent._y;
temp._xscale = 20 + random(20);
temp._yscale = temp._xscale;
temp._alpha = 30 + random(50);
if (bSpecial) {
life--;
if (this._xscale > 0) {
this._x = this._x + -20;
} else {
this._x = this._x + 20;
}
}
life--;
if (life <= 0) {
this.removeMovieClip();
}
} else {
this.stop();
}
};
Symbol 302 MovieClip Frame 1
_root.sfx("p2", "finish", 0, 0.25, 1, true);
Symbol 302 MovieClip Frame 93
_root.speech(_root.winner, "finish1a", 123, 0, 1);
Symbol 302 MovieClip Frame 210
_root.sfx("p2", "finish2", 0, 0, 1, true);
Symbol 302 MovieClip Frame 217
_root.soundSaberloop.setVolume(_global.volumeFX / 2);
Symbol 302 MovieClip Frame 219
_root.soundSaberloop.stop();
Symbol 302 MovieClip Frame 263
_root.oldQ = _quality;
_quality = "BEST";
Symbol 302 MovieClip Frame 291
_root.speech(_root.winner, "finish1b", 123, 0, 1);
Symbol 302 MovieClip Frame 321
_root.shakeCam(12);
Symbol 302 MovieClip Frame 347
_root.winDone = true;
Symbol 302 MovieClip Frame 381
if (_root.bSkipped) {
_root.mcMain.mcWin.gotoAndPlay("page2b");
} else {
_root.mcMain.mcWin.gotoAndPlay("page2");
}
_root.mcMain.mcBG.gotoAndStop("sjobs_out");
Symbol 302 MovieClip Frame 384
this.gotoAndPlay(this._currentframe - 1);
Symbol 315 MovieClip Frame 4
_root.sfx("p1", "intro", -50, 0, 1, false);
Symbol 315 MovieClip Frame 45
_root.speech("p1", "intro", 123, 0, 1);
Symbol 315 MovieClip Frame 218
_root.sfx("p1", "saberon", -20, 0, 1, false);
Symbol 315 MovieClip Frame 230
_root.soundSaberloop.start(0, 1000);
Symbol 315 MovieClip Frame 237
_root.intro = 2;
_parent.gotoAndStop("idle");
Symbol 316 MovieClip [sjobs] Frame 1
function armQuad() {
quadOld = quad;
if (quad > 0) {
quadLast = quad;
}
quad = 0;
i = 1;
while (i <= 9) {
if (mcGrid["q" + i].hitTest(_root._xmouse, _root._ymouse, false)) {
quad = i;
break;
}
i++;
}
}
function attachArm() {
mcArm._x = (mc._x + mc.mcJoint._x) + 3;
mcArm._y = (mc._y + mc.mcJoint._y) - 2;
}
function checkFinish() {
if (_root.bDizzy && (phase != "dizzy")) {
phase = "finish_start";
phaseTime = 0;
xVel = 0;
temp = _parent.attachMovie("bsod", "mcBG", _root.bgDepth);
temp.gotoAndStop(_root.p2Name);
_root.winner = "p1";
}
}
function spawnFX(fxName) {
switch (fxName) {
case "fx_hit_sjobs" :
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
temp = _parent.attachMovie(fxName, "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
temp._x = this._x + 150;
temp._y = this._y - 100;
temp._xscale = 100;
temp._yscale = 100;
temp._rotation = random(180);
var _local6 = this._x + ((this.mc.mcAttack._x * this._xscale) / 100);
var _local5 = this._y + ((this.mc.mcAttack._y * this._yscale) / 100);
temp._x = _local6;
temp._y = _local5;
if (((attackID != "jab_high") && (attackID != "jab_mid")) && (attackID != "jab_low")) {
_root.makeSmoke("p2", _local6, _local5, null);
}
break;
case "fx_hit_bgates" :
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
temp = _parent.attachMovie(fxName, "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
temp._x = this._x + 150;
temp._y = this._y - 100;
temp._xscale = 100;
temp._yscale = 100;
temp._rotation = random(180);
_local6 = this._x + ((this.mc.mcAttack._x * this._xscale) / 100);
_local5 = this._y + ((this.mc.mcAttack._y * this._yscale) / 100);
temp._x = _local6;
temp._y = _local5;
if (((attackID != "jab_high") && (attackID != "jab_mid")) && (attackID != "jab_low")) {
_root.makeSmoke("p2", _local6, _local5, null);
}
break;
case "fx_block" :
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
temp = _parent.attachMovie(fxName, "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
temp._x = this._x + 150;
temp._y = this._y - 100;
temp._xscale = 100;
temp._yscale = 100;
temp._rotation = random(180);
_local6 = this._x + ((this.mc.mcAttack._x * this._xscale) / 100);
_local5 = this._y + ((this.mc.mcAttack._y * this._yscale) / 100);
temp._x = _local6;
temp._y = _local5;
_root.sfx("p1", "hit", 123, 0, 1);
break;
case "bonus_hit" :
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
temp = _parent.attachMovie("fx_hit_" + _root.p2Name, "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
temp._x = _parent.mcBonus._x;
temp._y = _parent.mcBonus._y;
temp._rotation = random(180);
_root.sfx("p1", "hit", 123, 0, 1);
break;
case "bonus_block" :
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
temp = _parent.attachMovie("fx_block", "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
temp._x = _parent.mcBonus._x;
temp._y = _parent.mcBonus._y;
temp._rotation = random(180);
_root.sfx("p1", "hit", 123, 0, 1);
_root.sound_p1.stop();
}
}
function arrayClear() {
array1 = array1.slice(0, 0);
attackTime = 0;
}
function cArrayClear() {
cArray = cArray.slice(0, 0);
circleType = null;
}
function attack(attackName) {
bJab = false;
switch (attackName) {
case "jab_mid" :
this.gotoAndStop(attackName);
attackHold = 16;
animHold = 18;
attackType = "mid";
bJab = true;
_root.soundSaber1.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
break;
case "jab_high" :
this.gotoAndStop(attackName);
attackHold = 16;
animHold = 18;
attackType = "high";
bJab = true;
_root.soundSaber1.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
break;
case "jab_low" :
this.gotoAndStop(attackName);
attackHold = 16;
animHold = 18;
attackType = "low";
bJab = true;
_root.soundSaber1.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
break;
case "strong_high" :
this.gotoAndStop(attackName);
attackHold = 24;
animHold = 26;
attackType = "high";
_root.soundSaber1.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
break;
case "strong_low" :
this.gotoAndStop(attackName);
attackHold = 25;
animHold = 27;
attackType = "low";
_root.soundSaber1.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
break;
case "jab_mid_special" :
this.gotoAndStop(attackName);
attackHold = 30;
animHold = 32;
attackType = "mid";
bJab = true;
_root.soundSaber1.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
}
if (this.getDepth() < _parent.p2.getDepth()) {
this.swapDepths(_parent.p2);
}
attackID = attackName;
}
function circleArray_1() {
if (mcCircle.c1.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 4) {
cArray.push(1);
circleType = "cw";
} else if (cArray[cArray.length - 1] == 2) {
cArray.push(1);
circleType = "ccw";
}
} else if (mcCircle.c2.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 1) {
cArray.push(2);
circleType = "cw";
} else if (cArray[cArray.length - 1] == 3) {
cArray.push(2);
circleType = "ccw";
}
} else if (mcCircle.c3.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 2) {
cArray.push(3);
circleType = "cw";
} else if (cArray[cArray.length - 1] == 4) {
cArray.push(3);
circleType = "ccw";
}
} else if (mcCircle.c4.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 3) {
cArray.push(4);
circleType = "cw";
} else if (cArray[cArray.length - 1] == 1) {
cArray.push(4);
circleType = "ccw";
}
}
}
function circleArray_2() {
if (circleType == "cw") {
if (mcCircle.c1.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 4) {
cArray.push(1);
}
} else if (mcCircle.c2.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 1) {
cArray.push(2);
}
} else if (mcCircle.c3.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 2) {
cArray.push(3);
}
} else if (mcCircle.c4.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 3) {
cArray.push(4);
}
}
} else if (mcCircle.c1.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 2) {
cArray.push(1);
}
} else if (mcCircle.c2.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 3) {
cArray.push(2);
}
} else if (mcCircle.c3.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 4) {
cArray.push(3);
}
} else if (mcCircle.c4.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 1) {
cArray.push(4);
}
}
}
function circleStart() {
if ((circleType == null) && (cArray.length == 0)) {
if (mcCircle.c1.hitTest(_root._xmouse, _root._ymouse, false)) {
cArray.push(1);
} else if (mcCircle.c2.hitTest(_root._xmouse, _root._ymouse, false)) {
cArray.push(2);
} else if (mcCircle.c3.hitTest(_root._xmouse, _root._ymouse, false)) {
cArray.push(3);
} else if (mcCircle.c4.hitTest(_root._xmouse, _root._ymouse, false)) {
cArray.push(4);
}
} else if (cArray.length == 1) {
circleArray_1();
} else if (cArray.length >= 2) {
circleArray_2();
}
}
function setSoundSaber(type) {
if (type == "attack") {
_root.soundSaber1.start(s_offset);
_root.soundSaber1.setVolume(_global.volumeFX);
_root.soundSaber1.setPan(((((-Stage.width) / 2) + this._x) / Stage.width) * 100);
}
}
stop();
stop();
phase = "idle";
this.gotoAndStop("intro");
phaseTime = 0;
hp = 100;
attackTimeMin = 1;
attackTimeMax = 8;
attackTime = 0;
array1 = new Array();
arrayMax = 2;
attackHold = 273;
animHold = 0;
attackID = "";
attackType = null;
blockType = null;
cArray = new Array();
cArrayCount = 0;
cArrayClearTime = 10;
walkBack = 80;
walkForward = 640;
mcArm.gotoAndStop(1);
circleType = null;
xVel = 0;
quad = 6;
quadOld = quad;
bonus = 0;
bonusSize = _root.bonusSize;
bonusDeath = false;
bonusTime = 0;
bonusPlayed = false;
gridPressed = false;
bWalking = false;
bJab = true;
mcCircle._alpha = 0;
keyLeft = 37;
keyRight = 39;
s_offset = 0;
_root.soundSaber1.onSoundComplete = function () {
_root.s_saber_loop = true;
};
this.onEnterFrame = function () {
if (!_global.paused) {
this.mc.play();
attackHold--;
animHold--;
moveStart--;
phaseTime--;
temp = 4;
mcCircle._x = mcCircle._x + ((_xmouse - mcCircle._x) / temp);
mcCircle._y = mcCircle._y + ((_ymouse - mcCircle._y) / temp);
if (((bonus >= 100) && (phase != "bonus")) && (_parent.p2.hp > 0)) {
phase = "bonus";
phaseTime = 900;
attackID = "bonus";
bonusTime = 0;
_root.mcMain.mcHUD["bonus_" + _root.p1Name].gotoAndStop("full");
if (!bonusPlayed) {
bonusPlayed = true;
temp = _parent.attachMovie("popup_bonus", "mcBonusInfo", _root.bonusInfoDepth);
temp._x = Stage.width / 2;
temp._y = Stage.height / 2;
}
_root.mcCursor.gotoAndStop("bonus");
_parent.p2.gotoAndStop("cower");
_parent.p2.animHold = 32;
_parent.p2.phase = "cower";
_parent.p2.xVel = 0;
temp = _parent.attachMovie("square", "mcAim", _root.bonusDepth + 1);
_root.speech("p1", "bonus", 123, 0, 1);
_root.speech("p2", "cower", 123, 0, 1);
}
switch (phase) {
case "idle" :
cArrayCount++;
if ((cArray.length == 0) || (cArrayCount >= cArrayClearTime)) {
cArrayCount = 0;
cArrayClear();
}
if ((Key.isDown(keyLeft) && (attackHold <= 0)) && (this._x > _root.pBoundL)) {
attackHold = 10;
animHold = 10;
this.gotoAndStop("walk_back");
this.mc.gotoAndPlay(1);
if (quad <= 0) {
mcArm.gotoAndStop(1);
} else {
mcArm.gotoAndStop(quad);
}
xVel = -7.5;
} else if ((Key.isDown(keyRight) && (attackHold <= 0)) && (_parent.p2._x > (this._x + _root.playerBuffer))) {
bWalking = true;
attackHold = 10;
animHold = 10;
this.gotoAndStop("walk_forward");
this.mc.gotoAndPlay(1);
if (quad <= 0) {
mcArm.gotoAndStop(1);
} else {
mcArm.gotoAndStop(quad);
}
xVel = 7.5;
} else if ((!Key.isDown(keyRight)) && (!Key.isDown(keyLeft))) {
_root.mcCursor.gotoAndStop("crosshair");
bWalking = false;
}
if (moveStart <= 0) {
this._x = this._x + xVel;
moveStop--;
if (moveStop == 0) {
xVel = 0;
}
}
_root.speech("p1", "taunt", 123, 0, 1);
if (((phase != "dizzy") && (phase != "dead")) && (phase.substring(0, 6) != "finish")) {
if (this._x < _root.pBoundL) {
this._x = _root.pBoundL;
xVel = 0;
} else if (_parent.p2._x <= (this._x + _root.playerBuffer)) {
this._x = _parent.p2._x - _root.playerBuffer;
xVel = 0;
}
}
if (mcBlock.hitTest(_root._xmouse, _root._ymouse, false)) {
if (attackHold <= 0) {
arrayClear();
temp = _root._ymouse - mcBlock._y;
if (blockType != null) {
if (temp < 600) {
if (blockType != "high") {
this.gotoAndStop("blockHtoM");
} else {
this.gotoAndStop("block_high_hold");
}
blockType = "high";
} else if (temp < 656) {
if (blockType != "mid") {
if (blockType == "low") {
this.gotoAndStop("blockLtoM");
} else {
this.gotoAndStop("blockHtoM");
}
} else {
this.gotoAndStop("block_mid_hold");
}
blockType = "mid";
} else {
if (blockType != "low") {
this.gotoAndStop("blockMtoL");
} else {
this.gotoAndStop("block_low_hold");
}
blockType = "low";
}
} else if (temp < 600) {
this.gotoAndStop("block_high");
blockType = "high";
} else if (temp < 656) {
this.gotoAndStop("block_mid");
blockType = "mid";
} else {
this.gotoAndStop("block_low");
blockType = "low";
}
}
} else {
if ((blockType != null) && (animHold <= 0)) {
temp = ("block_" + blockType) + "_end";
blockType = null;
this.gotoAndStop(temp);
animHold = 4;
}
circleStart();
if (cArray.length == 4) {
if ((((attackID != "special_cw") && (attackID != "special_ccw")) && (_root.intro > 4)) || (blockType != null)) {
this.gotoAndStop("special_" + circleType);
if (circleType == "cw") {
attackHold = 31;
animHold = 33;
moveStart = 10;
moveStop = 6;
xVel = 20;
attackType = "high";
attackID = "special_cw";
_root.soundSaber1.attachSound("s_saber_spin_high");
s_offset = 0.2;
setSoundSaber("attack");
} else {
attackHold = 37;
animHold = 39;
moveStart = 5;
moveStop = 13;
xVel = 10;
attackType = "low";
attackID = "special_ccw";
_root.soundSaber1.attachSound("s_saber_spin_low");
s_offset = 0.2;
setSoundSaber("attack");
}
}
cArrayClear();
}
armQuad();
if ((animHold <= 0) && (attackHold <= 0)) {
this.gotoAndStop("idle");
if (quad <= 0) {
mcArm.gotoAndStop(1);
} else {
mcArm.gotoAndStop(quad);
}
}
if (quadOld == quad) {
attackTime++;
}
if ((attackTime >= attackTimeMax) || (array1.length >= arrayMax)) {
arrayClear();
}
if (attackHold <= 0) {
xVel = 0;
i = 1;
while (i <= 6) {
if (mcCircle["quad" + i].hitTest(_root._xmouse, _root._ymouse, true)) {
if (array1.length == 0) {
array1.push(i);
} else if ((array1[0] == 6) && (i == 3)) {
array1.push(3);
}
break;
}
i++;
}
if (mcCircle.mcCancel1.hitTest(_root._xmouse, _root._ymouse, true) || (mcCircle.mcCancel2.hitTest(_root._xmouse, _root._ymouse, true))) {
arrayClear();
}
if (array1[0] != undefined) {
switch (array1[0]) {
case 1 :
attack("strong_high");
arrayClear();
break;
case 2 :
attack("jab_high");
arrayClear();
break;
case 3 :
attack("jab_mid");
arrayClear();
break;
case 4 :
attack("jab_low");
arrayClear();
break;
case 5 :
attack("strong_low");
arrayClear();
break;
case 6 :
if (array1[1] != 3) {
break;
}
attack("jab_mid_special");
arrayClear();
}
}
}
}
if (attackHold <= 0) {
xVel = 0;
} else if (this.mc.mcAttack.hitTest(_parent.p2.mcHit) && (_parent.p2.phase != "bonus")) {
if ((_parent.p2.blockType == null) || (attackType != _parent.p2.blockType)) {
_parent.p2.gotoAndStop("hit_high");
_parent.p2.phase = "hit";
_parent.p2.phaseTime = 18;
_parent.p2.hp = _parent.p2.hp - _root.getBP(attackID);
_parent.p2.attackWait = 0;
_root.setAttackPause();
if (this.mc.mcAttack._y > -110) {
_parent.p2.gotoAndStop("hit_low");
_parent.p2.phaseTime = 16;
}
if (_parent.p2._x < ((this._x + _root.playerBuffer) + 20)) {
_parent.p2.xVel = _root.pushVel;
_parent.p2.gotoAndStop("hit_push");
_parent.p2.phase = "pushed";
_parent.p2.attackHold = 10;
_parent.p2.phaseTime = 14;
}
spawnFX("fx_hit_" + _root.p1Name);
bonus = bonus + bonusSize;
_root.sfx("p2", "hit", 123, 0, 1);
_root.speech("p2", "hit", 123, 0, 1);
} else {
_parent.p2.phaseTime = 4;
spawnFX("fx_block");
}
}
if (quad <= 0) {
mcArm.gotoAndStop(1);
} else {
mcArm.gotoAndStop(quad);
}
attachArm();
checkFinish();
break;
case "hit" :
if (phaseTime <= 0) {
phase = "idle";
this.gotoAndStop("idle");
animHold = 0;
attackHold = 0;
blockType = null;
attackType = null;
}
break;
case "bonus" :
bonusTime++;
if ((bonus > 0) && (animHold <= 0)) {
this.gotoAndStop("bonus_aim");
}
_parent.mcAim._x = _parent.p2._x;
_parent.mcAim._y = _parent._ymouse;
if (_parent.mcAim._y < (_parent.p2._y - 170)) {
_parent.mcAim._y = _parent.p2._y - 170;
} else if (_parent.mcAim._y > (_parent.p2._y + 20)) {
_parent.mcAim._y = _parent.p2._y + 20;
}
if (_parent.p2.mcZone.hitTest(_parent._xmouse, _parent._ymouse, true)) {
_root.mcCursor.gotoAndStop("bonus");
} else {
_root.mcCursor.gotoAndStop("crosshair");
}
if (((bonus > 0) && (_root.clicked > 0)) && (_parent.p2.mcZone.hitTest(_parent._xmouse, _parent._ymouse, true))) {
bonus = 0;
this.gotoAndStop("bonus_shoot");
animHold = 37;
attackHold = 37;
_root.mcCursor.gotoAndStop("crosshair");
phaseTime = 12347;
_root.mcMain.mcHUD["bonus_" + _root.p1Name].gotoAndStop("idle");
} else if (phaseTime == 12345) {
bonus = 0;
phase = "idle";
phaseTime = 0;
temp = _parent.attachMovie("bonus_" + _root.p1Name, "mcBonus", _root.bonusDepth);
temp._x = this._x + this.mc.mcA._x;
temp._y = this._y + this.mc.mcA._y;
temp._xscale = 100;
temp._yscale = temp._xscale;
temp.xVel = (_parent.p2._x - this._x) / 8;
temp2 = _root.getAngle(this._x, _parent.mcAim._x, this._y - 100, _parent.mcAim._y);
temp.xVel = 16 * temp2.x;
temp.yVel = 16 * temp2.y;
temp.parent = _root.p1Name;
temp._rotation = temp2.y * 45;
_parent.mcAim.removeMovieClip();
}
if (_parent.p2.hitTest(_root._xmouse, _root._ymouse, true)) {
if (bonusTime > 90) {
if (_parent.mcHole != undefined) {
_parent.mcHole.gotoAndPlay("close");
}
}
bonusTime = 0;
} else if ((bonusTime > 90) && (_parent.mcHole == undefined)) {
temp = _parent.attachMovie("popup_focushole", "mcHole", _root.focusDepth);
temp._x = _root.mcMain.p2._x + 38;
temp._y = Stage.height / 2;
}
break;
case "cower" :
if (mcBlock.hitTest(_root._xmouse, _root._ymouse, false)) {
arrayClear();
temp = _root._ymouse - mcBlock._y;
if (blockType != null) {
if (temp < 600) {
if (blockType != "high") {
this.gotoAndStop("blockHtoM");
} else {
this.gotoAndStop("block_high_cower");
}
blockType = "high";
} else if (temp < 656) {
if (blockType != "mid") {
if (blockType == "low") {
this.gotoAndStop("blockLtoM");
} else {
this.gotoAndStop("blockHtoM");
}
} else {
this.gotoAndStop("block_mid_cower");
}
blockType = "mid";
} else {
if (blockType != "low") {
this.gotoAndStop("blockMtoL");
} else {
this.gotoAndStop("block_low_cower");
}
blockType = "low";
}
} else if (animHold <= 0) {
if (temp < 600) {
this.gotoAndStop("block_high_cower");
blockType = "high";
} else if (temp < 656) {
this.gotoAndStop("block_mid_cower");
blockType = "mid";
} else {
this.gotoAndStop("block_low_cower");
blockType = "low";
}
}
} else if (animHold <= 0) {
blockType = null;
this.gotoAndStop("cower_loop");
}
if (this.mcHit.hitTest(_parent.mcBonus._x, _parent.mcBonus._y, false)) {
if (blockType != null) {
if ((((blockType == "high") && (_parent.p2.bonusHeight == "high")) || ((blockType == "mid") && (_parent.p2.bonusHeight == "mid"))) || ((blockType == "low") && (_parent.p2.bonusHeight == "low"))) {
this.gotoAndStop("bonus_block");
attackHold = 17;
animHold = 18;
this.hp = this.hp - _root.getBP("bonus_block");
spawnFX("bonus_block");
_root.speech("p1", "hitBig", 123, 0.4, 1);
} else {
if (_parent.mcBonus._y < (this._y - 80)) {
this.gotoAndStop("bonus_hit_high");
} else {
this.gotoAndStop("bonus_hit_low");
}
_root.makeSmoke("p1", _parent.mcBonus._x, _parent.mcBonus._y, "bonus");
attackHold = 43;
animHold = 45;
this.hp = this.hp - _root.getBP("bonus");
spawnFX("bonus_hit");
_root.speech("p1", "hitBig", 123, 0.4, 1);
}
}
if (blockType == null) {
if (_parent.mcBonus._y < (this._y - 80)) {
this.gotoAndStop("bonus_hit_high");
} else {
this.gotoAndStop("bonus_hit_low");
}
_root.makeSmoke("p1", _parent.mcBonus._x, _parent.mcBonus._y, "bonus");
attackHold = 43;
animHold = 45;
this.hp = this.hp - _root.getBP("bonus");
spawnFX("bonus_hit");
_root.speech("p1", "hitBig", 123, 0.4, 1);
}
this.phase = "idle";
blockType = null;
if (this.hp <= 0) {
bonusDeath = true;
this.gotoAndStop("bonus_hit_dizzy");
animHold = 35;
}
_root.setAttackPause();
}
break;
case "pushed" :
if (phaseTime <= 0) {
this.xVel = 0;
this.phase = "idle";
} else if (attackHold > 0) {
this._x = this._x + this.xVel;
}
break;
case "finish_start" :
if ((animHold <= 0) && (attackHold <= 0)) {
this.gotoAndStop("idle");
mcArm.gotoAndStop(1);
attachArm();
phase = "finish_walk";
_root.musicEnd();
temp = _root.mcCam.attachMovie("popup_finish", "mcFinish", _root.finishDepth);
}
break;
case "finish_walk" :
if (this._x < (_parent.p2._x - 80.1)) {
this._x = this._x + 7.5;
this.gotoAndStop("walk_forward");
if (this._x >= (_parent.p2._x - 80.1)) {
this._x = _parent.p2._x - 80;
}
} else if (this._x > (_parent.p2._x - 79.9)) {
this._x = this._x + -7.5;
this.gotoAndStop("walk_back");
if (this._x <= (_parent.p2._x - 79.9)) {
this._x = _parent.p2._x - 80;
}
} else {
this._x = _parent.p2._x - 80;
this.gotoAndStop("finish_idle");
phase = "finish_idle";
phaseTime = 0;
_root.camUpdate = true;
_root.camTargetX = _parent.p2._x + 50;
}
break;
case "finish_idle" :
armQuad();
if (quad <= 0) {
mcArm.gotoAndStop(1);
} else {
mcArm.gotoAndStop(quad);
}
attachArm();
if (quadOld == quad) {
attackTime++;
}
circleStart();
if (cArray.length == 4) {
phase = "finish";
_parent.p2.gotoAndStop("finish");
_parent.p2.phase = "dead";
this.removeMovieClip();
}
if ((attackTime >= attackTimeMax) || (array1.length >= arrayMax)) {
arrayClear();
}
if (attackHold <= 0) {
xVel = 0;
i = 1;
while (i <= 6) {
if (mcCircle["quad" + i].hitTest(_root._xmouse, _root._ymouse, true)) {
if (array1.length == 0) {
array1.push(i);
} else if ((array1[0] == 6) && (i == 3)) {
array1.push(3);
}
break;
}
i++;
}
if ((array1[0] > 0) && (array1[0] < 7)) {
if (array1[0] == 6) {
if (array1[1] == 3) {
phase = "finish";
_parent.p2.gotoAndStop("finish");
_parent.p2.phase = "dead";
this.removeMovieClip();
}
} else {
phase = "finish";
_parent.p2.gotoAndStop("finish");
_parent.p2.phase = "dead";
this.removeMovieClip();
}
}
}
break;
case "finish" :
break;
case "dizzy" :
if (animHold > 0) {
break;
}
this.gotoAndStop("dizzy_loop");
}
if (((hp <= 0) && (phase != "dizzy")) && (phase != "dead")) {
if (!bonusDeath) {
this.gotoAndStop("dizzy");
animHold = 50;
}
phase = "dizzy";
xVel = 0;
_root.bDizzy = true;
}
if (Key.isDown(16) && (Key.isDown(8))) {
if (!gridPressed) {
gridPressed = true;
if (mcCircle._alpha == 0) {
mcCircle._alpha = 100;
} else {
mcCircle._alpha = 0;
}
}
} else {
gridPressed = false;
}
} else {
this.mc.stop();
}
};
Symbol 352 MovieClip Frame 3
_parent.gotoAndStop("block_mid_hold");
Symbol 353 MovieClip Frame 3
_parent.gotoAndStop("block_high_hold");
Symbol 355 MovieClip Frame 3
_parent.gotoAndStop("block_low_hold");
Symbol 356 MovieClip Frame 3
_parent.gotoAndStop("block_mid_hold");
Symbol 364 MovieClip Frame 32
if (_root.p1Name == "bgates") {
_root.speech("p1", "cowerloop", 123, 0, 1000);
} else {
_root.speech("p2", "cowerloop", 123, 0, 1000);
}
_parent.gotoAndStop("cower_loop");
Symbol 386 MovieClip Frame 38
eyes.gotoAndStop("mid");
Symbol 386 MovieClip Frame 41
this.gotoAndPlay(_currentframe - 1);
Symbol 387 MovieClip Frame 38
_parent.gotoAndStop("idle");
Symbol 388 MovieClip Frame 1
if (_root.p1Name == "bgates") {
_root.sfx("p1", "saberoff", -20, 0, 1, false);
} else {
_root.sfx("p2", "saberoff", 20, 0, 1, false);
}
Symbol 388 MovieClip Frame 27
_root.sfx("p2", "dizzyloop", 0, 0.25, 100, false);
Symbol 388 MovieClip Frame 50
_parent.gotoAndStop("dizzy_loop");
Symbol 405 MovieClip Frame 1
_root.sfx("p1", "finish", 0, 0.25, 1, true);
Symbol 405 MovieClip Frame 89
_root.speech(_root.winner, "finish", 123, 0, 1);
Symbol 405 MovieClip Frame 164
_root.sfx("p1", "finish2", 0, 0, 1, true);
Symbol 405 MovieClip Frame 165
_root.soundSaberloop.setVolume(_global.volumeFX / 2);
Symbol 405 MovieClip Frame 166
_root.soundSaberloop.stop();
Symbol 405 MovieClip Frame 220
_root.shakeCam(12);
Symbol 405 MovieClip Frame 277
_root.mcCam.buttSkip._alpha = 25;
_root.mcCam.buttSkip.enabled = true;
Symbol 405 MovieClip Frame 278
_root.mcCam.buttSkip._alpha = 50;
Symbol 405 MovieClip Frame 280
_root.mcCam.buttSkip._alpha = 75;
Symbol 405 MovieClip Frame 282
_root.mcCam.buttSkip._alpha = 100;
Symbol 405 MovieClip Frame 284
_root.winDone = true;
Symbol 405 MovieClip Frame 323
_root.speech(_root.winner, "finish2", 123, 0, 1);
Symbol 405 MovieClip Frame 568
if (!_root.bSkipped) {
_root.mcCam.buttSkip._alpha = 75;
}
_root.mcCam.buttSkip.enabled = false;
Symbol 405 MovieClip Frame 570
if (!_root.bSkipped) {
_root.mcCam.buttSkip._alpha = 50;
}
Symbol 405 MovieClip Frame 572
if (!_root.bSkipped) {
_root.mcCam.buttSkip._alpha = 25;
}
Symbol 405 MovieClip Frame 573
_root.mcCam.buttSkip._alpha = 0;
Symbol 405 MovieClip Frame 599
if (_root.bSkipped) {
_root.mcMain.mcWin.gotoAndPlay("page2b");
} else {
_root.mcMain.mcWin.gotoAndPlay("page2");
_root.mcMain.mcBG.gotoAndStop("bgates_out");
}
Symbol 405 MovieClip Frame 602
this.gotoAndPlay(this._currentframe - 1);
Symbol 406 MovieClip Frame 5
_parent.gotoAndStop("finish_idle_loop");
Symbol 417 MovieClip Frame 12
_root.sfx("p2", "intro", 50, 0, 1, false);
Symbol 417 MovieClip Frame 221
_root.sfx("p2", "saberon", 20, 0, 1, false);
Symbol 417 MovieClip Frame 243
_parent.gotoAndStop("idle");
Symbol 418 MovieClip [bgates_ai] Frame 1
function attachArm() {
mcArm.gotoAndStop(1);
mcArm._x = (mc._x + mc.mcJoint._x) + 3;
mcArm._y = (mc._y + mc.mcJoint._y) - 2;
}
function attack_decide() {
phase = "attacking";
quietTime = 0;
temp = random(100);
if (temp < 20) {
attack("jab_mid");
} else if (temp < 30) {
attack("jab_high");
} else if (temp < 40) {
attack("jab_low");
} else if (temp < 50) {
attack("strong_high");
} else if (temp < 60) {
attack("strong_low");
} else if (temp < 70) {
attack("jab_mid_special");
} else if (temp < 100) {
if (this._x < (Stage.width - _root.pBoundL)) {
phase = "circle_walk";
}
}
}
function attack(attackName) {
switch (attackName) {
case "jab_mid" :
this.gotoAndStop(attackName);
attackHold = 16;
animHold = 18;
attackType = "mid";
_root.soundSaber2.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
break;
case "jab_high" :
this.gotoAndStop(attackName);
attackHold = 16;
animHold = 18;
attackType = "high";
_root.soundSaber2.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
break;
case "jab_low" :
this.gotoAndStop(attackName);
attackHold = 16;
animHold = 18;
attackType = "low";
_root.soundSaber2.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
break;
case "strong_high" :
this.gotoAndStop(attackName);
attackHold = 24;
animHold = 26;
attackType = "high";
_root.soundSaber2.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
break;
case "strong_low" :
this.gotoAndStop(attackName);
attackHold = 25;
animHold = 27;
attackType = "low";
_root.soundSaber2.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
break;
case "jab_mid_special" :
this.gotoAndStop(attackName);
attackHold = 30;
animHold = 32;
attackType = "mid";
_root.soundSaber2.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
}
phaseTime = animHold;
if (this.getDepth() < _parent.p1.getDepth()) {
this.swapDepths(_parent.p1);
}
attackID = attackName;
}
function checkFinish() {
if (_root.bDizzy && (phase != "dizzy")) {
phase = "finish_start";
phaseTime = 0;
xVel = 0;
temp = _parent.attachMovie("bsod", "mcBG", _root.bgDepth);
temp.gotoAndStop(_root.p1Name);
_root.winner = "p2";
}
}
function idle() {
phase = "idle";
this.gotoAndStop("idle");
attachArm();
blockType = null;
attackType = null;
}
function walkBack() {
this.gotoAndStop("walk_back");
xVel = 7.5;
phaseTime = 10;
attackHold = 10;
animHold = 10;
attachArm();
walkWait = 20;
}
function action(actionType) {
switch (actionType) {
case "walk_forward" :
if (_parent.p1._x < (this._x - _root.playerBuffer)) {
this.gotoAndStop("walk_forward");
xVel = -7.5;
phaseTime = 10;
attackHold = 10;
animHold = 10;
attachArm();
walkWait = 20;
}
break;
case "walk_back" :
if (this._x < (Stage.width - _root.pBoundL)) {
walkBack();
}
break;
case "block" :
phase = "blocking";
phaseTime = 20 + random(22);
temp = random(100);
if (temp < 33) {
blockType = "high";
}
if (temp < 67) {
blockType = "mid";
} else {
blockType = "low";
}
this.gotoAndStop("block_" + blockType);
}
}
function setSoundSaber(type) {
if (type == "attack") {
_root.soundSaber2.start(s_offset);
_root.soundSaber2.setVolume(_global.volumeFX);
_root.soundSaber2.setPan(((((-Stage.width) / 2) + this._x) / Stage.width) * 100);
}
}
function spawnFX(fxName) {
switch (fxName) {
case "fx_hit_bgates" :
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
temp = _parent.attachMovie(fxName, "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
temp._x = this._x - 150;
temp._y = this._y - 100;
temp._xscale = 100;
temp._yscale = 100;
temp._rotation = random(180);
var _local6 = this._x + ((this.mc.mcAttack._x * this._xscale) / 100);
var _local5 = this._y + ((this.mc.mcAttack._y * this._yscale) / 100);
temp._x = _local6;
temp._y = _local5;
if (((attackID != "jab_high") && (attackID != "jab_mid")) && (attackID != "jab_low")) {
_root.makeSmoke("p1", _local6, _local5, null);
}
break;
case "fx_hit_sjobs" :
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
temp = _parent.attachMovie(fxName, "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
temp._x = this._x - 150;
temp._y = this._y - 100;
temp._xscale = 100;
temp._yscale = 100;
temp._rotation = random(180);
_local6 = this._x + ((this.mc.mcAttack._x * this._xscale) / 100);
_local5 = this._y + ((this.mc.mcAttack._y * this._yscale) / 100);
temp._x = _local6;
temp._y = _local5;
if (((attackID != "jab_high") && (attackID != "jab_mid")) && (attackID != "jab_low")) {
_root.makeSmoke("p1", _local6, _local5, null);
}
break;
case "fx_block" :
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
temp = _parent.attachMovie(fxName, "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
temp._x = this._x - 150;
temp._y = this._y - 100;
temp._xscale = 100;
temp._yscale = 100;
temp._rotation = random(180);
_local6 = this._x + ((this.mc.mcAttack._x * this._xscale) / 100);
_local5 = this._y + ((this.mc.mcAttack._y * this._yscale) / 100);
temp._x = _local6;
temp._y = _local5;
_root.sfx("p2", "hit", 123, 0, 1);
}
}
stop();
stop();
phase = "idle";
this.gotoAndStop("intro");
phaseTime = 0;
hp = 100;
attackHold = 303;
animHold = 0;
attackID = "";
attackType = null;
blockType = null;
mcArm.gotoAndStop(5);
circleType = null;
xVel = 0;
lastArm = 1;
attackWait = attackHold + 90;
quietTime = 0;
quietQuota = 95;
cornerBound = 300;
cornerCount = 0;
cornerMax = 90;
aggression = 0;
hitCount = 0;
hitMax = 3;
hitTime = 0;
hitTimeMax = 130;
bonus = 0;
bonusSize = _root.bonusSize;
bonusBuffer = 24;
bonusDeath = false;
bonusHeight = "mid";
walkWait = 0;
instawin = false;
gridPressed = false;
winPressed = false;
mcCircle._alpha = 0;
s_offset = 0;
this.onEnterFrame = function () {
if (!_global.paused) {
this.mc.play();
attachArm();
attackHold--;
animHold--;
moveStart--;
phaseTime--;
attackWait--;
aggression--;
hitTime++;
quietTime++;
walkWait--;
if (attackHold <= 0) {
xVel = 0;
}
if (_parent.p1._x > cornerBound) {
cornerCount++;
if (cornerCount > cornerMax) {
aggression = 30;
}
} else {
cornerCount = 0;
}
if (((bonus >= 100) && (phase != "bonus")) && (_parent.p1.hp > 0)) {
phase = "bonus";
phaseTime = 58 + attackHold;
attackID = "bonus";
_root.mcMain.mcHUD["bonus_" + _root.p2Name].gotoAndStop("full");
_parent.p1.gotoAndStop("cower");
_parent.p1.animHold = 32;
_parent.p1.phase = "cower";
_parent.p1.xVel = 0;
temp = _parent.attachMovie("square", "mcAim", _root.bonusDepth + 1);
temp._x = temp._x + -4.5;
_root.speech("p1", "cower", 123, 0, 1);
}
switch (phase) {
case "idle" :
if (((phaseTime <= 0) && (attackHold <= 0)) && (!_root.bDizzy)) {
temp = random(100);
this.gotoAndStop("idle");
if (_parent.p1.attackHold > 11) {
temp = random(100);
if (temp < 40) {
action("block");
} else if ((temp < 80) && (attackWait <= 0)) {
attack_decide();
}
}
if (_parent.p1.bWalking && (_parent.p1._x >= (this._x - _root.playerBuffer))) {
action("walk_back");
}
if ((quietTime > quietQuota) && (attackHold <= 0)) {
attack_decide();
}
if ((aggression > 0) && (attackHold <= 0)) {
if (blockType == null) {
if (temp < 0) {
phaseTime = 15;
} else if ((temp < 20) && (walkWait <= 0)) {
action("walk_forward");
} else if (temp < 20) {
if (_parent.p1._x > ((this._x - _root.playerBuffer) - 50)) {
action("block");
}
} else if (attackWait <= 0) {
attack_decide();
}
}
if (_parent.p1._x > cornerBound) {
aggression = 60;
}
} else {
if ((hitTime < hitTimeMax) && (hitCount >= hitMax)) {
action("walk_back");
}
hitTime = 0;
hitCount = 0;
if ((blockType == null) && (attackHold <= 0)) {
if (temp < 20) {
phaseTime = 15;
} else if ((temp < 40) && (walkWait <= 0)) {
action("walk_forward");
} else if ((((temp < 60) && (walkWait <= 0)) && (this._x > ((_parent.p1._x + _root.playerBuffer) - 80))) && (this._x < ((_parent.p1._x + _root.playerBuffer) + 40))) {
action("walk_back");
} else if (temp < 65) {
if (_parent.p1._x > ((this._x - _root.playerBuffer) - 50)) {
action("block");
}
} else if (_parent.p1._x > ((this._x - _root.playerBuffer) - 80)) {
if (attackWait <= 0) {
attack_decide();
}
}
}
}
}
checkFinish();
_root.speech("p2", "taunt", 123, 0, 1);
break;
case "hit" :
xVel = 0;
moveStop = 0;
if (phaseTime <= 0) {
hitCount++;
idle();
}
break;
case "blocking" :
if (phaseTime <= 0) {
if (random(100) < 60) {
phase = "idle";
this.gotoAndStop(("block_" + blockType) + "_end");
blockType = null;
animHold = 4;
} else {
phaseTime = 20 + random(22);
if (blockType == "high") {
blockType = "mid";
this.gotoAndStop("blockHtoM");
} else if (blockType == "low") {
blockType = "mid";
this.gotoAndStop("blockLtoM");
} else if (random(100) < 50) {
blockType = "high";
this.gotoAndStop("blockMtoH");
} else {
blockType = "low";
this.gotoAndStop("blockMtoL");
}
}
} else if (phaseTime <= 36) {
this.gotoAndStop(("block_" + blockType) + "_hold");
}
_root.speech("p2", "taunt", 123, 0, 1);
break;
case "attacking" :
if (phaseTime <= 0) {
attackWait = 55 + random(30);
if (aggression > 0) {
attackWait = random(10);
}
idle();
} else if (this.mc.mcAttack.hitTest(_parent.p1.mcHit) && (_parent.p1.phase != "bonus")) {
if ((_parent.p1.blockType == null) || (attackType != _parent.p1.blockType)) {
_parent.p1.gotoAndStop("hit_high");
_parent.p1.phase = "hit";
_parent.p1.phaseTime = 18;
_parent.p1.hp = _parent.p1.hp - _root.getBP(attackID);
_root.setAttackPause();
if (this.mc.mcAttack._y > -110) {
_parent.p1.gotoAndStop("hit_low");
_parent.p1.phaseTime = 16;
}
if (_parent.p1._x > ((this._x - _root.playerBuffer) - 20)) {
_parent.p1.xVel = -_root.pushVel;
_parent.p1.gotoAndStop("hit_push");
_parent.p1.phase = "pushed";
_parent.p1.attackHold = 10;
_parent.p1.phaseTime = 14;
}
spawnFX("fx_hit_" + _root.p2Name);
attackWait = 55 + random(30);
if (aggression > 0) {
attackWait = 10 + random(10);
}
phase = "idle";
blockType = null;
attackType = null;
bonus = bonus + bonusSize;
_root.sfx("p1", "hit", 123, 0, 1);
_root.speech("p1", "hit", 123, 0, 1);
} else {
spawnFX("fx_block");
}
}
_root.speech("p2", "taunt", 123, 0, 1);
break;
case "circle_walk" :
if (walkWait <= 0) {
phase = "circle";
phaseTime = 12;
attackHold = 10;
animHold = 10;
this.gotoAndStop("walk_back");
}
_root.speech("p2", "taunt", 123, 0, 1);
break;
case "circle" :
if (phaseTime <= 0) {
if (random(2)) {
circleType = "cw";
} else {
circleType = "ccw";
}
this.gotoAndStop("special_" + circleType);
if (circleType == "cw") {
attackHold = 31;
animHold = 33;
moveStart = 10;
moveStop = 6;
xVel = -20;
attackType = "high";
attackID = "special_cw";
_root.soundSaber2.attachSound("s_saber_spin_high");
s_offset = 0.2;
setSoundSaber("attack");
} else {
attackHold = 37;
animHold = 39;
moveStart = 5;
moveStop = 13;
xVel = -10;
attackType = "low";
attackID = "special_ccw";
_root.soundSaber2.attachSound("s_saber_spin_low");
s_offset = 0.2;
setSoundSaber("attack");
}
phase = "attacking";
phaseTime = animHold;
} else {
this._x = this._x + 7.5;
}
_root.speech("p2", "taunt", 123, 0, 1);
break;
case "cower" :
if (this.mcHit.hitTest(_parent.mcBonus._x, _parent.mcBonus._y, false)) {
if (_parent.mcBonus._y < (this._y - 80)) {
this.gotoAndStop("bonus_hit_high");
} else {
this.gotoAndStop("bonus_hit_low");
}
phase = "idle";
phaseTime = 0;
attackHold = 43;
animHold = 45;
blockType = null;
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
temp = _parent.attachMovie("fx_hit_" + _root.p1Name, "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
temp._x = _parent.mcBonus._x;
temp._y = _parent.mcBonus._y;
temp._rotation = random(180);
this.hp = this.hp - _root.getBP("bonus");
aggression = 30;
if (this.hp <= 0) {
bonusDeath = true;
this.gotoAndStop("bonus_hit_dizzy");
animHold = 35;
}
_root.setAttackPause();
_root.sfx("p2", "hit", 123, 0, 1);
_root.speech("p2", "hitBig", 123, 0.2, 1);
}
break;
case "bonus" :
if ((bonus > 0) && (animHold <= 0)) {
this.gotoAndStop("bonus_aim");
animHold = 58;
}
_parent.mcAim._x = _parent.p1._x;
if (phaseTime < 0) {
bonus = 0;
this.gotoAndStop("bonus_shoot");
animHold = 37;
attackHold = 37 + bonusBuffer;
phaseTime = 12347;
blockType = null;
_root.mcMain.mcHUD["bonus_" + _root.p2Name].gotoAndStop("idle");
} else if (animHold == 20) {
_parent.mcAim._y = (_parent.p1._y - 100) + random(30);
if (_parent.mcAim._y < (_parent.p1._y - 90)) {
bonusHeight = "high";
this.mc.eyes.gotoAndStop(bonusHeight);
} else if (_parent.mcAim._y < (_parent.p1._y - 80)) {
bonusHeight = "mid";
this.mc.eyes.gotoAndStop(bonusHeight);
} else {
bonusHeight = "low";
this.mc.eyes.gotoAndStop(bonusHeight);
}
} else if (phaseTime == 12345) {
bonus = 0;
phase = "idle";
phaseTime = 0;
temp = _parent.attachMovie("bonus_" + _root.p2Name, "mcBonus", _root.bonusDepth);
temp._x = this._x - this.mc.mcA._x;
temp._y = this._y + this.mc.mcA._y;
temp._xscale = -100;
temp._yscale = temp._xscale;
temp.xVel = (_parent.p1._x - this._x) / 8;
temp2 = _root.getAngle(this._x - this.mc.mcA._x, _parent.mcAim._x, this._y + this.mc.mcA._y, _parent.mcAim._y);
temp.xVel = 16 * temp2.x;
temp.yVel = 16 * temp2.y;
temp.parent = _root.p2Name;
temp._rotation = temp2.y * -45;
_parent.mcAim.removeMovieClip();
temp.xVel = -Math.abs(temp.xVel);
}
break;
case "pushed" :
if (phaseTime <= 0) {
this.xVel = 0;
this.phase = "idle";
} else if (attackHold > 0) {
this._x = this._x + this.xVel;
}
break;
case "finish_start" :
if ((animHold <= 0) && (attackHold <= 0)) {
this.gotoAndStop("idle");
phase = "finish_walk";
_root.musicEnd();
}
break;
case "finish_walk" :
if (this._x > (_parent.p1._x + 80.1)) {
this._x = this._x + -7.5;
this.gotoAndStop("walk_forward");
if (this._x <= (_parent.p1._x + 80.1)) {
this._x = _parent.p1._x + 80;
}
} else if (this._x < (_parent.p1._x + 79.9)) {
this._x = this._x + 7.5;
this.gotoAndStop("walk_back");
if (this._x >= (_parent.p1._x + 79.9)) {
this._x = _parent.p1._x + 80;
}
} else {
this._x = _parent.p1._x + 80;
this.gotoAndStop("finish_idle");
phase = "finish_idle";
phaseTime = 20;
_root.camUpdate = true;
_root.camTargetX = _parent.p1._x - 50;
}
break;
case "finish_idle" :
if (phaseTime <= 0) {
phase = "finish";
_parent.p1.gotoAndStop("finish");
_parent.p1.phase = "dead";
this.removeMovieClip();
}
break;
case "finish" :
break;
case "dizzy" :
if (animHold <= 0) {
this.gotoAndStop("dizzy_loop");
}
break;
case "dead" :
}
if (moveStart <= 0) {
this._x = this._x + xVel;
moveStop--;
if (moveStop == 0) {
xVel = 0;
}
}
if (((phase != "dizzy") && (phase != "dead")) && (phase.substring(0, 6) != "finish")) {
if (_parent.p1._x >= (this._x - _root.playerBuffer)) {
this._x = _parent.p1._x + _root.playerBuffer;
xVel = 0;
}
if (this._x > (Stage.width - _root.pBoundL)) {
this._x = Stage.width - _root.pBoundL;
xVel = 0;
}
}
if ((((hp <= 0) || (instawin)) && (phase != "dizzy")) && (phase != "dead")) {
if (!bonusDeath) {
this.gotoAndStop("dizzy");
animHold = 50;
}
phase = "dizzy";
xVel = 0;
_root.bDizzy = true;
}
if (Key.isDown(35) && (Key.isDown(16))) {
if (!winPressed) {
winPressed = true;
instawin = true;
}
} else {
winPressed = false;
}
} else {
this.mc.stop();
}
};
Symbol 433 MovieClip Frame 1
_root.sfx("p1", "finish", 0, 0.25, 1, true);
Symbol 433 MovieClip Frame 89
_root.speech(_root.winner, "finish1a", 123, 0, 1);
Symbol 433 MovieClip Frame 210
_root.sfx("p1", "finish2", 0, 0, 1, true);
Symbol 433 MovieClip Frame 217
_root.soundSaberloop.setVolume(_global.volumeFX / 2);
Symbol 433 MovieClip Frame 219
_root.soundSaberloop.stop();
Symbol 433 MovieClip Frame 263
_root.oldQ = _quality;
_quality = "BEST";
Symbol 433 MovieClip Frame 289
_root.speech(_root.winner, "finish1b", 123, 0, 1);
Symbol 433 MovieClip Frame 321
_root.shakeCam(12);
Symbol 433 MovieClip Frame 347
_root.winDone = true;
Symbol 433 MovieClip Frame 362
_root.mcCam.buttSkip._alpha = 25;
_root.mcCam.buttSkip.enabled = true;
Symbol 433 MovieClip Frame 363
_root.mcCam.buttSkip._alpha = 50;
Symbol 433 MovieClip Frame 365
_root.mcCam.buttSkip._alpha = 75;
Symbol 433 MovieClip Frame 367
_root.mcCam.buttSkip._alpha = 100;
Symbol 433 MovieClip Frame 372
_root.speech(_root.winner, "finish2a", 123, 0, 1);
Symbol 433 MovieClip Frame 511
_root.speech(_root.winner, "finish2b", 123, 0, 1);
Symbol 433 MovieClip Frame 619
if (!_root.bSkipped) {
_root.mcCam.buttSkip._alpha = 75;
}
_root.mcCam.buttSkip.enabled = false;
Symbol 433 MovieClip Frame 621
if (!_root.bSkipped) {
_root.mcCam.buttSkip._alpha = 50;
}
Symbol 433 MovieClip Frame 623
if (!_root.bSkipped) {
_root.mcCam.buttSkip._alpha = 25;
}
Symbol 433 MovieClip Frame 624
_root.mcCam.buttSkip._alpha = 0;
Symbol 433 MovieClip Frame 645
if (_root.bSkipped) {
_root.mcMain.mcWin.gotoAndPlay("page2b");
} else {
_root.mcMain.mcWin.gotoAndPlay("page2");
_root.mcMain.mcBG.gotoAndStop("sjobs_out");
}
Symbol 433 MovieClip Frame 648
this.gotoAndPlay(this._currentframe - 1);
Symbol 436 MovieClip Frame 9
_root.sfx("p2", "intro", 50, 0, 1, false);
Symbol 436 MovieClip Frame 230
_root.sfx("p2", "saberon", 20, 0, 1, false);
Symbol 436 MovieClip Frame 251
_parent.gotoAndStop("idle");
Symbol 437 MovieClip [sjobs_ai] Frame 1
function attachArm() {
mcArm.gotoAndStop(1);
mcArm._x = (mc._x + mc.mcJoint._x) + 3;
mcArm._y = (mc._y + mc.mcJoint._y) - 2;
}
function attack_decide() {
phase = "attacking";
quietTime = 0;
temp = random(100);
if (temp < 20) {
attack("jab_mid");
} else if (temp < 30) {
attack("jab_high");
} else if (temp < 40) {
attack("jab_low");
} else if (temp < 50) {
attack("strong_high");
} else if (temp < 60) {
attack("strong_low");
} else if (temp < 70) {
attack("jab_mid_special");
} else if (temp < 100) {
if (this._x < (Stage.width - _root.pBoundL)) {
phase = "circle_walk";
}
}
}
function attack(attackName) {
switch (attackName) {
case "jab_mid" :
this.gotoAndStop(attackName);
attackHold = 16;
animHold = 18;
attackType = "mid";
_root.soundSaber2.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
break;
case "jab_high" :
this.gotoAndStop(attackName);
attackHold = 16;
animHold = 18;
attackType = "high";
_root.soundSaber2.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
break;
case "jab_low" :
this.gotoAndStop(attackName);
attackHold = 16;
animHold = 18;
attackType = "low";
_root.soundSaber2.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
break;
case "strong_high" :
this.gotoAndStop(attackName);
attackHold = 24;
animHold = 26;
attackType = "high";
_root.soundSaber2.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
break;
case "strong_low" :
this.gotoAndStop(attackName);
attackHold = 25;
animHold = 27;
attackType = "low";
_root.soundSaber2.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
break;
case "jab_mid_special" :
this.gotoAndStop(attackName);
attackHold = 30;
animHold = 32;
attackType = "mid";
_root.soundSaber2.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
}
phaseTime = animHold;
if (this.getDepth() < _parent.p1.getDepth()) {
this.swapDepths(_parent.p1);
}
attackID = attackName;
}
function checkFinish() {
if (_root.bDizzy && (phase != "dizzy")) {
phase = "finish_start";
phaseTime = 0;
xVel = 0;
temp = _parent.attachMovie("bsod", "mcBG", _root.bgDepth);
temp.gotoAndStop(_root.p1Name);
_root.winner = "p2";
}
}
function idle() {
phase = "idle";
this.gotoAndStop("idle");
attachArm();
blockType = null;
attackType = null;
}
function walkBack() {
this.gotoAndStop("walk_back");
xVel = 7.5;
phaseTime = 10;
attackHold = 10;
animHold = 10;
attachArm();
walkWait = 20;
}
function action(actionType) {
switch (actionType) {
case "walk_forward" :
if (_parent.p1._x < (this._x - _root.playerBuffer)) {
this.gotoAndStop("walk_forward");
xVel = -7.5;
phaseTime = 10;
attackHold = 10;
animHold = 10;
attachArm();
walkWait = 20;
}
break;
case "walk_back" :
if (this._x < (Stage.width - _root.pBoundL)) {
walkBack();
}
break;
case "block" :
phase = "blocking";
phaseTime = 20 + random(22);
temp = random(100);
if (temp < 33) {
blockType = "high";
}
if (temp < 67) {
blockType = "mid";
} else {
blockType = "low";
}
this.gotoAndStop("block_" + blockType);
}
}
function setSoundSaber(type) {
if (type == "attack") {
_root.soundSaber2.start(s_offset);
_root.soundSaber2.setVolume(_global.volumeFX);
_root.soundSaber2.setPan(((((-Stage.width) / 2) + this._x) / Stage.width) * 100);
}
}
function spawnFX(fxName) {
switch (fxName) {
case "fx_hit_bgates" :
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
temp = _parent.attachMovie(fxName, "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
temp._x = this._x - 150;
temp._y = this._y - 100;
temp._xscale = 100;
temp._yscale = 100;
temp._rotation = random(180);
var _local6 = this._x + ((this.mc.mcAttack._x * this._xscale) / 100);
var _local5 = this._y + ((this.mc.mcAttack._y * this._yscale) / 100);
temp._x = _local6;
temp._y = _local5;
if (((attackID != "jab_high") && (attackID != "jab_mid")) && (attackID != "jab_low")) {
_root.makeSmoke("p1", _local6, _local5, null);
}
break;
case "fx_hit_sjobs" :
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
temp = _parent.attachMovie(fxName, "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
temp._x = this._x - 150;
temp._y = this._y - 100;
temp._xscale = 100;
temp._yscale = 100;
temp._rotation = random(180);
_local6 = this._x + ((this.mc.mcAttack._x * this._xscale) / 100);
_local5 = this._y + ((this.mc.mcAttack._y * this._yscale) / 100);
temp._x = _local6;
temp._y = _local5;
if (((attackID != "jab_high") && (attackID != "jab_mid")) && (attackID != "jab_low")) {
_root.makeSmoke("p1", _local6, _local5, null);
}
break;
case "fx_block" :
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
temp = _parent.attachMovie(fxName, "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
temp._x = this._x - 150;
temp._y = this._y - 100;
temp._xscale = 100;
temp._yscale = 100;
temp._rotation = random(180);
_local6 = this._x + ((this.mc.mcAttack._x * this._xscale) / 100);
_local5 = this._y + ((this.mc.mcAttack._y * this._yscale) / 100);
temp._x = _local6;
temp._y = _local5;
_root.sfx("p2", "hit", 123, 0, 1);
}
}
stop();
stop();
phase = "idle";
this.gotoAndStop("intro");
phaseTime = 0;
hp = 100;
attackHold = 303;
animHold = 0;
attackID = "";
attackType = null;
blockType = null;
mcArm.gotoAndStop(5);
circleType = null;
xVel = 0;
lastArm = 1;
attackWait = attackHold + 90;
quietTime = 0;
quietQuota = 95;
cornerBound = 300;
cornerCount = 0;
cornerMax = 90;
aggression = 0;
hitCount = 0;
hitMax = 3;
hitTime = 0;
hitTimeMax = 130;
bonus = 0;
bonusSize = _root.bonusSize;
bonusBuffer = 24;
bonusDeath = false;
bonusHeight = "mid";
walkWait = 0;
instawin = false;
gridPressed = false;
winPressed = false;
mcCircle._alpha = 0;
s_offset = 0;
this.onEnterFrame = function () {
if (!_global.paused) {
this.mc.play();
attachArm();
attackHold--;
animHold--;
moveStart--;
phaseTime--;
attackWait--;
aggression--;
hitTime++;
quietTime++;
walkWait--;
if (attackHold <= 0) {
xVel = 0;
}
if (_parent.p1._x > cornerBound) {
cornerCount++;
if (cornerCount > cornerMax) {
aggression = 30;
}
} else {
cornerCount = 0;
}
if (((bonus >= 100) && (phase != "bonus")) && (_parent.p1.hp > 0)) {
phase = "bonus";
phaseTime = 58 + attackHold;
attackID = "bonus";
_root.mcMain.mcHUD["bonus_" + _root.p2Name].gotoAndStop("full");
_parent.p1.gotoAndStop("cower");
_parent.p1.animHold = 32;
_parent.p1.phase = "cower";
_parent.p1.xVel = 0;
temp = _parent.attachMovie("square", "mcAim", _root.bonusDepth + 1);
temp._x = temp._x + -4.5;
_root.speech("p1", "cower", 123, 0, 1);
}
switch (phase) {
case "idle" :
if (((phaseTime <= 0) && (attackHold <= 0)) && (!_root.bDizzy)) {
temp = random(100);
this.gotoAndStop("idle");
if (_parent.p1.attackHold > 11) {
temp = random(100);
if (temp < 40) {
action("block");
} else if ((temp < 80) && (attackWait <= 0)) {
attack_decide();
}
}
if (_parent.p1.bWalking && (_parent.p1._x >= (this._x - _root.playerBuffer))) {
action("walk_back");
}
if ((quietTime > quietQuota) && (attackHold <= 0)) {
attack_decide();
}
if ((aggression > 0) && (attackHold <= 0)) {
if (blockType == null) {
if (temp < 0) {
phaseTime = 15;
} else if ((temp < 20) && (walkWait <= 0)) {
action("walk_forward");
} else if (temp < 20) {
if (_parent.p1._x > ((this._x - _root.playerBuffer) - 50)) {
action("block");
}
} else if (attackWait <= 0) {
attack_decide();
}
}
if (_parent.p1._x > cornerBound) {
aggression = 60;
}
} else {
if ((hitTime < hitTimeMax) && (hitCount >= hitMax)) {
action("walk_back");
}
hitTime = 0;
hitCount = 0;
if ((blockType == null) && (attackHold <= 0)) {
if (temp < 20) {
phaseTime = 15;
} else if ((temp < 40) && (walkWait <= 0)) {
action("walk_forward");
} else if ((((temp < 60) && (walkWait <= 0)) && (this._x > ((_parent.p1._x + _root.playerBuffer) - 80))) && (this._x < ((_parent.p1._x + _root.playerBuffer) + 40))) {
action("walk_back");
} else if (temp < 65) {
if (_parent.p1._x > ((this._x - _root.playerBuffer) - 50)) {
action("block");
}
} else if (_parent.p1._x > ((this._x - _root.playerBuffer) - 80)) {
if (attackWait <= 0) {
attack_decide();
}
}
}
}
}
checkFinish();
_root.speech("p2", "taunt", 123, 0, 1);
break;
case "hit" :
xVel = 0;
moveStop = 0;
if (phaseTime <= 0) {
hitCount++;
idle();
}
break;
case "blocking" :
if (phaseTime <= 0) {
if (random(100) < 60) {
phase = "idle";
this.gotoAndStop(("block_" + blockType) + "_end");
blockType = null;
animHold = 4;
} else {
phaseTime = 20 + random(22);
if (blockType == "high") {
blockType = "mid";
this.gotoAndStop("blockHtoM");
} else if (blockType == "low") {
blockType = "mid";
this.gotoAndStop("blockLtoM");
} else if (random(100) < 50) {
blockType = "high";
this.gotoAndStop("blockMtoH");
} else {
blockType = "low";
this.gotoAndStop("blockMtoL");
}
}
} else if (phaseTime <= 36) {
this.gotoAndStop(("block_" + blockType) + "_hold");
}
_root.speech("p2", "taunt", 123, 0, 1);
break;
case "attacking" :
if (phaseTime <= 0) {
attackWait = 55 + random(30);
if (aggression > 0) {
attackWait = random(10);
}
idle();
} else if (this.mc.mcAttack.hitTest(_parent.p1.mcHit) && (_parent.p1.phase != "bonus")) {
if ((_parent.p1.blockType == null) || (attackType != _parent.p1.blockType)) {
_parent.p1.gotoAndStop("hit_high");
_parent.p1.phase = "hit";
_parent.p1.phaseTime = 18;
_parent.p1.hp = _parent.p1.hp - _root.getBP(attackID);
_root.setAttackPause();
if (this.mc.mcAttack._y > -110) {
_parent.p1.gotoAndStop("hit_low");
_parent.p1.phaseTime = 16;
}
if (_parent.p1._x > ((this._x - _root.playerBuffer) - 20)) {
_parent.p1.xVel = -_root.pushVel;
_parent.p1.gotoAndStop("hit_push");
_parent.p1.phase = "pushed";
_parent.p1.attackHold = 10;
_parent.p1.phaseTime = 14;
}
spawnFX("fx_hit_" + _root.p2Name);
attackWait = 55 + random(30);
if (aggression > 0) {
attackWait = 10 + random(10);
}
phase = "idle";
blockType = null;
attackType = null;
bonus = bonus + bonusSize;
_root.sfx("p1", "hit", 123, 0, 1);
_root.speech("p1", "hit", 123, 0, 1);
} else {
spawnFX("fx_block");
}
}
_root.speech("p2", "taunt", 123, 0, 1);
break;
case "circle_walk" :
if (walkWait <= 0) {
phase = "circle";
phaseTime = 12;
attackHold = 10;
animHold = 10;
this.gotoAndStop("walk_back");
}
_root.speech("p2", "taunt", 123, 0, 1);
break;
case "circle" :
if (phaseTime <= 0) {
if (random(2)) {
circleType = "cw";
} else {
circleType = "ccw";
}
this.gotoAndStop("special_" + circleType);
if (circleType == "cw") {
attackHold = 31;
animHold = 33;
moveStart = 10;
moveStop = 6;
xVel = -20;
attackType = "high";
attackID = "special_cw";
_root.soundSaber2.attachSound("s_saber_spin_high");
s_offset = 0.2;
setSoundSaber("attack");
} else {
attackHold = 37;
animHold = 39;
moveStart = 5;
moveStop = 13;
xVel = -10;
attackType = "low";
attackID = "special_ccw";
_root.soundSaber2.attachSound("s_saber_spin_low");
s_offset = 0.2;
setSoundSaber("attack");
}
phase = "attacking";
phaseTime = animHold;
} else {
this._x = this._x + 7.5;
}
_root.speech("p2", "taunt", 123, 0, 1);
break;
case "cower" :
if (this.mcHit.hitTest(_parent.mcBonus._x, _parent.mcBonus._y, false)) {
if (_parent.mcBonus._y < (this._y - 80)) {
this.gotoAndStop("bonus_hit_high");
} else {
this.gotoAndStop("bonus_hit_low");
}
phase = "idle";
phaseTime = 0;
attackHold = 43;
animHold = 45;
blockType = null;
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
temp = _parent.attachMovie("fx_hit_" + _root.p1Name, "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
temp._x = _parent.mcBonus._x;
temp._y = _parent.mcBonus._y;
temp._rotation = random(180);
this.hp = this.hp - _root.getBP("bonus");
aggression = 30;
if (this.hp <= 0) {
bonusDeath = true;
this.gotoAndStop("bonus_hit_dizzy");
animHold = 35;
}
_root.setAttackPause();
_root.sfx("p2", "hit", 123, 0, 1);
_root.speech("p2", "hitBig", 123, 0.2, 1);
}
break;
case "bonus" :
if ((bonus > 0) && (animHold <= 0)) {
this.gotoAndStop("bonus_aim");
animHold = 58;
}
_parent.mcAim._x = _parent.p1._x;
if (phaseTime < 0) {
bonus = 0;
this.gotoAndStop("bonus_shoot");
animHold = 37;
attackHold = 37 + bonusBuffer;
phaseTime = 12347;
blockType = null;
_root.mcMain.mcHUD["bonus_" + _root.p2Name].gotoAndStop("idle");
} else if (animHold == 20) {
_parent.mcAim._y = (_parent.p1._y - 100) + random(30);
if (_parent.mcAim._y < (_parent.p1._y - 90)) {
bonusHeight = "high";
this.mc.eyes.gotoAndStop(bonusHeight);
} else if (_parent.mcAim._y < (_parent.p1._y - 80)) {
bonusHeight = "mid";
this.mc.eyes.gotoAndStop(bonusHeight);
} else {
bonusHeight = "low";
this.mc.eyes.gotoAndStop(bonusHeight);
}
} else if (phaseTime == 12345) {
bonus = 0;
phase = "idle";
phaseTime = 0;
temp = _parent.attachMovie("bonus_" + _root.p2Name, "mcBonus", _root.bonusDepth);
temp._x = this._x - this.mc.mcA._x;
temp._y = this._y + this.mc.mcA._y;
temp._xscale = -100;
temp._yscale = temp._xscale;
temp.xVel = (_parent.p1._x - this._x) / 8;
temp2 = _root.getAngle(this._x - this.mc.mcA._x, _parent.mcAim._x, this._y + this.mc.mcA._y, _parent.mcAim._y);
temp.xVel = 16 * temp2.x;
temp.yVel = 16 * temp2.y;
temp.parent = _root.p2Name;
temp._rotation = temp2.y * -45;
_parent.mcAim.removeMovieClip();
temp.xVel = -Math.abs(temp.xVel);
}
break;
case "pushed" :
if (phaseTime <= 0) {
this.xVel = 0;
this.phase = "idle";
} else if (attackHold > 0) {
this._x = this._x + this.xVel;
}
break;
case "finish_start" :
if ((animHold <= 0) && (attackHold <= 0)) {
this.gotoAndStop("idle");
phase = "finish_walk";
_root.musicEnd();
}
break;
case "finish_walk" :
if (this._x > (_parent.p1._x + 80.1)) {
this._x = this._x + -7.5;
this.gotoAndStop("walk_forward");
if (this._x <= (_parent.p1._x + 80.1)) {
this._x = _parent.p1._x + 80;
}
} else if (this._x < (_parent.p1._x + 79.9)) {
this._x = this._x + 7.5;
this.gotoAndStop("walk_back");
if (this._x >= (_parent.p1._x + 79.9)) {
this._x = _parent.p1._x + 80;
}
} else {
this._x = _parent.p1._x + 80;
this.gotoAndStop("finish_idle");
phase = "finish_idle";
phaseTime = 20;
_root.camUpdate = true;
_root.camTargetX = _parent.p1._x - 50;
}
break;
case "finish_idle" :
if (phaseTime <= 0) {
phase = "finish";
_parent.p1.gotoAndStop("finish");
_parent.p1.phase = "dead";
this.removeMovieClip();
}
break;
case "finish" :
break;
case "dizzy" :
if (animHold <= 0) {
this.gotoAndStop("dizzy_loop");
}
break;
case "dead" :
}
if (moveStart <= 0) {
this._x = this._x + xVel;
moveStop--;
if (moveStop == 0) {
xVel = 0;
}
}
if (((phase != "dizzy") && (phase != "dead")) && (phase.substring(0, 6) != "finish")) {
if (_parent.p1._x >= (this._x - _root.playerBuffer)) {
this._x = _parent.p1._x + _root.playerBuffer;
xVel = 0;
}
if (this._x > (Stage.width - _root.pBoundL)) {
this._x = Stage.width - _root.pBoundL;
xVel = 0;
}
}
if ((((hp <= 0) || (instawin)) && (phase != "dizzy")) && (phase != "dead")) {
if (!bonusDeath) {
this.gotoAndStop("dizzy");
animHold = 50;
}
phase = "dizzy";
xVel = 0;
_root.bDizzy = true;
}
if (Key.isDown(35) && (Key.isDown(16))) {
if (!winPressed) {
winPressed = true;
instawin = true;
}
} else {
winPressed = false;
}
} else {
this.mc.stop();
}
};
Symbol 444 MovieClip Frame 1
_root.sfx("p2", "finish", 0, 0.25, 1, true);
Symbol 444 MovieClip Frame 91
_root.speech(_root.winner, "finish", 123, 0, 1);
Symbol 444 MovieClip Frame 164
_root.sfx("p2", "finish2", 0, 0, 1, true);
Symbol 444 MovieClip Frame 165
_root.soundSaberloop.setVolume(_global.volumeFX / 2);
Symbol 444 MovieClip Frame 167
_root.soundSaberloop.stop();
Symbol 444 MovieClip Frame 220
_root.shakeCam(12);
Symbol 444 MovieClip Frame 284
_root.winDone = true;
Symbol 444 MovieClip Frame 392
if (_root.bSkipped) {
_root.mcMain.mcWin.gotoAndPlay("page2b");
} else {
_root.mcMain.mcWin.gotoAndPlay("page2");
}
_root.mcMain.mcBG.gotoAndStop("bgates_out");
Symbol 444 MovieClip Frame 395
this.gotoAndPlay(this._currentframe - 1);
Symbol 452 MovieClip Frame 4
_root.sfx("p1", "intro", -50, 0, 1, false);
Symbol 452 MovieClip Frame 44
_root.speech("p1", "intro", 123, 0, 1);
Symbol 452 MovieClip Frame 227
_root.sfx("p1", "saberon", -20, 0, 1, false);
Symbol 452 MovieClip Frame 239
_root.soundSaberloop.start(0, 1000);
Symbol 452 MovieClip Frame 249
_root.intro = 2;
_parent.gotoAndStop("idle");
Symbol 453 MovieClip [bgates] Frame 1
function armQuad() {
quadOld = quad;
if (quad > 0) {
quadLast = quad;
}
quad = 0;
i = 1;
while (i <= 9) {
if (mcGrid["q" + i].hitTest(_root._xmouse, _root._ymouse, false)) {
quad = i;
break;
}
i++;
}
}
function attachArm() {
mcArm._x = (mc._x + mc.mcJoint._x) + 3;
mcArm._y = (mc._y + mc.mcJoint._y) - 2;
}
function checkFinish() {
if (_root.bDizzy && (phase != "dizzy")) {
phase = "finish_start";
phaseTime = 0;
xVel = 0;
temp = _parent.attachMovie("bsod", "mcBG", _root.bgDepth);
temp.gotoAndStop(_root.p2Name);
_root.winner = "p1";
}
}
function spawnFX(fxName) {
switch (fxName) {
case "fx_hit_sjobs" :
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
temp = _parent.attachMovie(fxName, "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
temp._x = this._x + 150;
temp._y = this._y - 100;
temp._xscale = 100;
temp._yscale = 100;
temp._rotation = random(180);
var _local6 = this._x + ((this.mc.mcAttack._x * this._xscale) / 100);
var _local5 = this._y + ((this.mc.mcAttack._y * this._yscale) / 100);
temp._x = _local6;
temp._y = _local5;
if (((attackID != "jab_high") && (attackID != "jab_mid")) && (attackID != "jab_low")) {
_root.makeSmoke("p2", _local6, _local5, null);
}
break;
case "fx_hit_bgates" :
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
temp = _parent.attachMovie(fxName, "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
temp._x = this._x + 150;
temp._y = this._y - 100;
temp._xscale = 100;
temp._yscale = 100;
temp._rotation = random(180);
_local6 = this._x + ((this.mc.mcAttack._x * this._xscale) / 100);
_local5 = this._y + ((this.mc.mcAttack._y * this._yscale) / 100);
temp._x = _local6;
temp._y = _local5;
if (((attackID != "jab_high") && (attackID != "jab_mid")) && (attackID != "jab_low")) {
_root.makeSmoke("p2", _local6, _local5, null);
}
break;
case "fx_block" :
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
temp = _parent.attachMovie(fxName, "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
temp._x = this._x + 150;
temp._y = this._y - 100;
temp._xscale = 100;
temp._yscale = 100;
temp._rotation = random(180);
_local6 = this._x + ((this.mc.mcAttack._x * this._xscale) / 100);
_local5 = this._y + ((this.mc.mcAttack._y * this._yscale) / 100);
temp._x = _local6;
temp._y = _local5;
_root.sfx("p1", "hit", 123, 0, 1);
break;
case "bonus_hit" :
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
temp = _parent.attachMovie("fx_hit_" + _root.p2Name, "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
temp._x = _parent.mcBonus._x;
temp._y = _parent.mcBonus._y;
temp._rotation = random(180);
_root.sfx("p1", "hit", 123, 0, 1);
break;
case "bonus_block" :
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
temp = _parent.attachMovie("fx_block", "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
temp._x = _parent.mcBonus._x;
temp._y = _parent.mcBonus._y;
temp._rotation = random(180);
_root.sfx("p1", "hit", 123, 0, 1);
_root.sound_p1.stop();
}
}
function arrayClear() {
array1 = array1.slice(0, 0);
attackTime = 0;
}
function cArrayClear() {
cArray = cArray.slice(0, 0);
circleType = null;
}
function attack(attackName) {
bJab = false;
switch (attackName) {
case "jab_mid" :
this.gotoAndStop(attackName);
attackHold = 16;
animHold = 18;
attackType = "mid";
bJab = true;
_root.soundSaber1.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
break;
case "jab_high" :
this.gotoAndStop(attackName);
attackHold = 16;
animHold = 18;
attackType = "high";
bJab = true;
_root.soundSaber1.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
break;
case "jab_low" :
this.gotoAndStop(attackName);
attackHold = 16;
animHold = 18;
attackType = "low";
bJab = true;
_root.soundSaber1.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
break;
case "strong_high" :
this.gotoAndStop(attackName);
attackHold = 24;
animHold = 26;
attackType = "high";
_root.soundSaber1.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
break;
case "strong_low" :
this.gotoAndStop(attackName);
attackHold = 25;
animHold = 27;
attackType = "low";
_root.soundSaber1.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
break;
case "jab_mid_special" :
this.gotoAndStop(attackName);
attackHold = 30;
animHold = 32;
attackType = "mid";
bJab = true;
_root.soundSaber1.attachSound("s_saber_jab");
s_offset = 0.5;
setSoundSaber("attack");
}
if (this.getDepth() < _parent.p2.getDepth()) {
this.swapDepths(_parent.p2);
}
attackID = attackName;
}
function circleArray_1() {
if (mcCircle.c1.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 4) {
cArray.push(1);
circleType = "cw";
} else if (cArray[cArray.length - 1] == 2) {
cArray.push(1);
circleType = "ccw";
}
} else if (mcCircle.c2.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 1) {
cArray.push(2);
circleType = "cw";
} else if (cArray[cArray.length - 1] == 3) {
cArray.push(2);
circleType = "ccw";
}
} else if (mcCircle.c3.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 2) {
cArray.push(3);
circleType = "cw";
} else if (cArray[cArray.length - 1] == 4) {
cArray.push(3);
circleType = "ccw";
}
} else if (mcCircle.c4.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 3) {
cArray.push(4);
circleType = "cw";
} else if (cArray[cArray.length - 1] == 1) {
cArray.push(4);
circleType = "ccw";
}
}
}
function circleArray_2() {
if (circleType == "cw") {
if (mcCircle.c1.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 4) {
cArray.push(1);
}
} else if (mcCircle.c2.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 1) {
cArray.push(2);
}
} else if (mcCircle.c3.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 2) {
cArray.push(3);
}
} else if (mcCircle.c4.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 3) {
cArray.push(4);
}
}
} else if (mcCircle.c1.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 2) {
cArray.push(1);
}
} else if (mcCircle.c2.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 3) {
cArray.push(2);
}
} else if (mcCircle.c3.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 4) {
cArray.push(3);
}
} else if (mcCircle.c4.hitTest(_root._xmouse, _root._ymouse, false)) {
if (cArray[cArray.length - 1] == 1) {
cArray.push(4);
}
}
}
function circleStart() {
if ((circleType == null) && (cArray.length == 0)) {
if (mcCircle.c1.hitTest(_root._xmouse, _root._ymouse, false)) {
cArray.push(1);
} else if (mcCircle.c2.hitTest(_root._xmouse, _root._ymouse, false)) {
cArray.push(2);
} else if (mcCircle.c3.hitTest(_root._xmouse, _root._ymouse, false)) {
cArray.push(3);
} else if (mcCircle.c4.hitTest(_root._xmouse, _root._ymouse, false)) {
cArray.push(4);
}
} else if (cArray.length == 1) {
circleArray_1();
} else if (cArray.length >= 2) {
circleArray_2();
}
}
function setSoundSaber(type) {
if (type == "attack") {
_root.soundSaber1.start(s_offset);
_root.soundSaber1.setVolume(_global.volumeFX);
_root.soundSaber1.setPan(((((-Stage.width) / 2) + this._x) / Stage.width) * 100);
}
}
stop();
stop();
phase = "idle";
this.gotoAndStop("intro");
phaseTime = 0;
hp = 100;
attackTimeMin = 1;
attackTimeMax = 8;
attackTime = 0;
array1 = new Array();
arrayMax = 2;
attackHold = 273;
animHold = 0;
attackID = "";
attackType = null;
blockType = null;
cArray = new Array();
cArrayCount = 0;
cArrayClearTime = 10;
walkBack = 80;
walkForward = 640;
mcArm.gotoAndStop(1);
circleType = null;
xVel = 0;
quad = 6;
quadOld = quad;
bonus = 0;
bonusSize = _root.bonusSize;
bonusDeath = false;
bonusTime = 0;
bonusPlayed = false;
gridPressed = false;
bWalking = false;
bJab = true;
mcCircle._alpha = 0;
keyLeft = 37;
keyRight = 39;
s_offset = 0;
_root.soundSaber1.onSoundComplete = function () {
_root.s_saber_loop = true;
};
this.onEnterFrame = function () {
if (!_global.paused) {
this.mc.play();
attackHold--;
animHold--;
moveStart--;
phaseTime--;
temp = 4;
mcCircle._x = mcCircle._x + ((_xmouse - mcCircle._x) / temp);
mcCircle._y = mcCircle._y + ((_ymouse - mcCircle._y) / temp);
if (((bonus >= 100) && (phase != "bonus")) && (_parent.p2.hp > 0)) {
phase = "bonus";
phaseTime = 900;
attackID = "bonus";
bonusTime = 0;
_root.mcMain.mcHUD["bonus_" + _root.p1Name].gotoAndStop("full");
if (!bonusPlayed) {
bonusPlayed = true;
temp = _parent.attachMovie("popup_bonus", "mcBonusInfo", _root.bonusInfoDepth);
temp._x = Stage.width / 2;
temp._y = Stage.height / 2;
}
_root.mcCursor.gotoAndStop("bonus");
_parent.p2.gotoAndStop("cower");
_parent.p2.animHold = 32;
_parent.p2.phase = "cower";
_parent.p2.xVel = 0;
temp = _parent.attachMovie("square", "mcAim", _root.bonusDepth + 1);
_root.speech("p1", "bonus", 123, 0, 1);
_root.speech("p2", "cower", 123, 0, 1);
}
switch (phase) {
case "idle" :
cArrayCount++;
if ((cArray.length == 0) || (cArrayCount >= cArrayClearTime)) {
cArrayCount = 0;
cArrayClear();
}
if ((Key.isDown(keyLeft) && (attackHold <= 0)) && (this._x > _root.pBoundL)) {
attackHold = 10;
animHold = 10;
this.gotoAndStop("walk_back");
this.mc.gotoAndPlay(1);
if (quad <= 0) {
mcArm.gotoAndStop(1);
} else {
mcArm.gotoAndStop(quad);
}
xVel = -7.5;
} else if ((Key.isDown(keyRight) && (attackHold <= 0)) && (_parent.p2._x > (this._x + _root.playerBuffer))) {
bWalking = true;
attackHold = 10;
animHold = 10;
this.gotoAndStop("walk_forward");
this.mc.gotoAndPlay(1);
if (quad <= 0) {
mcArm.gotoAndStop(1);
} else {
mcArm.gotoAndStop(quad);
}
xVel = 7.5;
} else if ((!Key.isDown(keyRight)) && (!Key.isDown(keyLeft))) {
_root.mcCursor.gotoAndStop("crosshair");
bWalking = false;
}
if (moveStart <= 0) {
this._x = this._x + xVel;
moveStop--;
if (moveStop == 0) {
xVel = 0;
}
}
_root.speech("p1", "taunt", 123, 0, 1);
if (((phase != "dizzy") && (phase != "dead")) && (phase.substring(0, 6) != "finish")) {
if (this._x < _root.pBoundL) {
this._x = _root.pBoundL;
xVel = 0;
} else if (_parent.p2._x <= (this._x + _root.playerBuffer)) {
this._x = _parent.p2._x - _root.playerBuffer;
xVel = 0;
}
}
if (mcBlock.hitTest(_root._xmouse, _root._ymouse, false)) {
if (attackHold <= 0) {
arrayClear();
temp = _root._ymouse - mcBlock._y;
if (blockType != null) {
if (temp < 600) {
if (blockType != "high") {
this.gotoAndStop("blockHtoM");
} else {
this.gotoAndStop("block_high_hold");
}
blockType = "high";
} else if (temp < 656) {
if (blockType != "mid") {
if (blockType == "low") {
this.gotoAndStop("blockLtoM");
} else {
this.gotoAndStop("blockHtoM");
}
} else {
this.gotoAndStop("block_mid_hold");
}
blockType = "mid";
} else {
if (blockType != "low") {
this.gotoAndStop("blockMtoL");
} else {
this.gotoAndStop("block_low_hold");
}
blockType = "low";
}
} else if (temp < 600) {
this.gotoAndStop("block_high");
blockType = "high";
} else if (temp < 656) {
this.gotoAndStop("block_mid");
blockType = "mid";
} else {
this.gotoAndStop("block_low");
blockType = "low";
}
}
} else {
if ((blockType != null) && (animHold <= 0)) {
temp = ("block_" + blockType) + "_end";
blockType = null;
this.gotoAndStop(temp);
animHold = 4;
}
circleStart();
if (cArray.length == 4) {
if ((((attackID != "special_cw") && (attackID != "special_ccw")) && (_root.intro > 4)) || (blockType != null)) {
this.gotoAndStop("special_" + circleType);
if (circleType == "cw") {
attackHold = 31;
animHold = 33;
moveStart = 10;
moveStop = 6;
xVel = 20;
attackType = "high";
attackID = "special_cw";
_root.soundSaber1.attachSound("s_saber_spin_high");
s_offset = 0.2;
setSoundSaber("attack");
} else {
attackHold = 37;
animHold = 39;
moveStart = 5;
moveStop = 13;
xVel = 10;
attackType = "low";
attackID = "special_ccw";
_root.soundSaber1.attachSound("s_saber_spin_low");
s_offset = 0.2;
setSoundSaber("attack");
}
}
cArrayClear();
}
armQuad();
if ((animHold <= 0) && (attackHold <= 0)) {
this.gotoAndStop("idle");
if (quad <= 0) {
mcArm.gotoAndStop(1);
} else {
mcArm.gotoAndStop(quad);
}
}
if (quadOld == quad) {
attackTime++;
}
if ((attackTime >= attackTimeMax) || (array1.length >= arrayMax)) {
arrayClear();
}
if (attackHold <= 0) {
xVel = 0;
i = 1;
while (i <= 6) {
if (mcCircle["quad" + i].hitTest(_root._xmouse, _root._ymouse, true)) {
if (array1.length == 0) {
array1.push(i);
} else if ((array1[0] == 6) && (i == 3)) {
array1.push(3);
}
break;
}
i++;
}
if (mcCircle.mcCancel1.hitTest(_root._xmouse, _root._ymouse, true) || (mcCircle.mcCancel2.hitTest(_root._xmouse, _root._ymouse, true))) {
arrayClear();
}
if (array1[0] != undefined) {
switch (array1[0]) {
case 1 :
attack("strong_high");
arrayClear();
break;
case 2 :
attack("jab_high");
arrayClear();
break;
case 3 :
attack("jab_mid");
arrayClear();
break;
case 4 :
attack("jab_low");
arrayClear();
break;
case 5 :
attack("strong_low");
arrayClear();
break;
case 6 :
if (array1[1] != 3) {
break;
}
attack("jab_mid_special");
arrayClear();
}
}
}
}
if (attackHold <= 0) {
xVel = 0;
} else if (this.mc.mcAttack.hitTest(_parent.p2.mcHit) && (_parent.p2.phase != "bonus")) {
if ((_parent.p2.blockType == null) || (attackType != _parent.p2.blockType)) {
_parent.p2.gotoAndStop("hit_high");
_parent.p2.phase = "hit";
_parent.p2.phaseTime = 18;
_parent.p2.hp = _parent.p2.hp - _root.getBP(attackID);
_parent.p2.attackWait = 0;
_root.setAttackPause();
if (this.mc.mcAttack._y > -110) {
_parent.p2.gotoAndStop("hit_low");
_parent.p2.phaseTime = 16;
}
if (_parent.p2._x < ((this._x + _root.playerBuffer) + 20)) {
_parent.p2.xVel = _root.pushVel;
_parent.p2.gotoAndStop("hit_push");
_parent.p2.phase = "pushed";
_parent.p2.attackHold = 10;
_parent.p2.phaseTime = 14;
}
spawnFX("fx_hit_" + _root.p1Name);
bonus = bonus + bonusSize;
_root.sfx("p2", "hit", 123, 0, 1);
_root.speech("p2", "hit", 123, 0, 1);
} else {
_parent.p2.phaseTime = 4;
spawnFX("fx_block");
}
}
if (quad <= 0) {
mcArm.gotoAndStop(1);
} else {
mcArm.gotoAndStop(quad);
}
attachArm();
checkFinish();
break;
case "hit" :
if (phaseTime <= 0) {
phase = "idle";
this.gotoAndStop("idle");
animHold = 0;
attackHold = 0;
blockType = null;
attackType = null;
}
break;
case "bonus" :
bonusTime++;
if ((bonus > 0) && (animHold <= 0)) {
this.gotoAndStop("bonus_aim");
}
_parent.mcAim._x = _parent.p2._x;
_parent.mcAim._y = _parent._ymouse;
if (_parent.mcAim._y < (_parent.p2._y - 170)) {
_parent.mcAim._y = _parent.p2._y - 170;
} else if (_parent.mcAim._y > (_parent.p2._y + 20)) {
_parent.mcAim._y = _parent.p2._y + 20;
}
if (_parent.p2.mcZone.hitTest(_parent._xmouse, _parent._ymouse, true)) {
_root.mcCursor.gotoAndStop("bonus");
} else {
_root.mcCursor.gotoAndStop("crosshair");
}
if (((bonus > 0) && (_root.clicked > 0)) && (_parent.p2.mcZone.hitTest(_parent._xmouse, _parent._ymouse, true))) {
bonus = 0;
this.gotoAndStop("bonus_shoot");
animHold = 37;
attackHold = 37;
_root.mcCursor.gotoAndStop("crosshair");
phaseTime = 12347;
_root.mcMain.mcHUD["bonus_" + _root.p1Name].gotoAndStop("idle");
} else if (phaseTime == 12345) {
bonus = 0;
phase = "idle";
phaseTime = 0;
temp = _parent.attachMovie("bonus_" + _root.p1Name, "mcBonus", _root.bonusDepth);
temp._x = this._x + this.mc.mcA._x;
temp._y = this._y + this.mc.mcA._y;
temp._xscale = 100;
temp._yscale = temp._xscale;
temp.xVel = (_parent.p2._x - this._x) / 8;
temp2 = _root.getAngle(this._x, _parent.mcAim._x, this._y - 100, _parent.mcAim._y);
temp.xVel = 16 * temp2.x;
temp.yVel = 16 * temp2.y;
temp.parent = _root.p1Name;
temp._rotation = temp2.y * 45;
_parent.mcAim.removeMovieClip();
}
if (_parent.p2.hitTest(_root._xmouse, _root._ymouse, true)) {
if (bonusTime > 90) {
if (_parent.mcHole != undefined) {
_parent.mcHole.gotoAndPlay("close");
}
}
bonusTime = 0;
} else if ((bonusTime > 90) && (_parent.mcHole == undefined)) {
temp = _parent.attachMovie("popup_focushole", "mcHole", _root.focusDepth);
temp._x = _root.mcMain.p2._x + 38;
temp._y = Stage.height / 2;
}
break;
case "cower" :
if (mcBlock.hitTest(_root._xmouse, _root._ymouse, false)) {
arrayClear();
temp = _root._ymouse - mcBlock._y;
if (blockType != null) {
if (temp < 600) {
if (blockType != "high") {
this.gotoAndStop("blockHtoM");
} else {
this.gotoAndStop("block_high_cower");
}
blockType = "high";
} else if (temp < 656) {
if (blockType != "mid") {
if (blockType == "low") {
this.gotoAndStop("blockLtoM");
} else {
this.gotoAndStop("blockHtoM");
}
} else {
this.gotoAndStop("block_mid_cower");
}
blockType = "mid";
} else {
if (blockType != "low") {
this.gotoAndStop("blockMtoL");
} else {
this.gotoAndStop("block_low_cower");
}
blockType = "low";
}
} else if (animHold <= 0) {
if (temp < 600) {
this.gotoAndStop("block_high_cower");
blockType = "high";
} else if (temp < 656) {
this.gotoAndStop("block_mid_cower");
blockType = "mid";
} else {
this.gotoAndStop("block_low_cower");
blockType = "low";
}
}
} else if (animHold <= 0) {
blockType = null;
this.gotoAndStop("cower_loop");
}
if (this.mcHit.hitTest(_parent.mcBonus._x, _parent.mcBonus._y, false)) {
if (blockType != null) {
if ((((blockType == "high") && (_parent.p2.bonusHeight == "high")) || ((blockType == "mid") && (_parent.p2.bonusHeight == "mid"))) || ((blockType == "low") && (_parent.p2.bonusHeight == "low"))) {
this.gotoAndStop("bonus_block");
attackHold = 17;
animHold = 18;
this.hp = this.hp - _root.getBP("bonus_block");
spawnFX("bonus_block");
_root.speech("p1", "hitBig", 123, 0.4, 1);
} else {
if (_parent.mcBonus._y < (this._y - 80)) {
this.gotoAndStop("bonus_hit_high");
} else {
this.gotoAndStop("bonus_hit_low");
}
_root.makeSmoke("p1", _parent.mcBonus._x, _parent.mcBonus._y, "bonus");
attackHold = 43;
animHold = 45;
this.hp = this.hp - _root.getBP("bonus");
spawnFX("bonus_hit");
_root.speech("p1", "hitBig", 123, 0.4, 1);
}
}
if (blockType == null) {
if (_parent.mcBonus._y < (this._y - 80)) {
this.gotoAndStop("bonus_hit_high");
} else {
this.gotoAndStop("bonus_hit_low");
}
_root.makeSmoke("p1", _parent.mcBonus._x, _parent.mcBonus._y, "bonus");
attackHold = 43;
animHold = 45;
this.hp = this.hp - _root.getBP("bonus");
spawnFX("bonus_hit");
_root.speech("p1", "hitBig", 123, 0.4, 1);
}
this.phase = "idle";
blockType = null;
if (this.hp <= 0) {
bonusDeath = true;
this.gotoAndStop("bonus_hit_dizzy");
animHold = 35;
}
_root.setAttackPause();
}
break;
case "pushed" :
if (phaseTime <= 0) {
this.xVel = 0;
this.phase = "idle";
} else if (attackHold > 0) {
this._x = this._x + this.xVel;
}
break;
case "finish_start" :
if ((animHold <= 0) && (attackHold <= 0)) {
this.gotoAndStop("idle");
mcArm.gotoAndStop(1);
attachArm();
phase = "finish_walk";
_root.musicEnd();
temp = _root.mcCam.attachMovie("popup_finish", "mcFinish", _root.finishDepth);
}
break;
case "finish_walk" :
if (this._x < (_parent.p2._x - 80.1)) {
this._x = this._x + 7.5;
this.gotoAndStop("walk_forward");
if (this._x >= (_parent.p2._x - 80.1)) {
this._x = _parent.p2._x - 80;
}
} else if (this._x > (_parent.p2._x - 79.9)) {
this._x = this._x + -7.5;
this.gotoAndStop("walk_back");
if (this._x <= (_parent.p2._x - 79.9)) {
this._x = _parent.p2._x - 80;
}
} else {
this._x = _parent.p2._x - 80;
this.gotoAndStop("finish_idle");
phase = "finish_idle";
phaseTime = 0;
_root.camUpdate = true;
_root.camTargetX = _parent.p2._x + 50;
}
break;
case "finish_idle" :
armQuad();
if (quad <= 0) {
mcArm.gotoAndStop(1);
} else {
mcArm.gotoAndStop(quad);
}
attachArm();
if (quadOld == quad) {
attackTime++;
}
circleStart();
if (cArray.length == 4) {
phase = "finish";
_parent.p2.gotoAndStop("finish");
_parent.p2.phase = "dead";
this.removeMovieClip();
}
if ((attackTime >= attackTimeMax) || (array1.length >= arrayMax)) {
arrayClear();
}
if (attackHold <= 0) {
xVel = 0;
i = 1;
while (i <= 6) {
if (mcCircle["quad" + i].hitTest(_root._xmouse, _root._ymouse, true)) {
if (array1.length == 0) {
array1.push(i);
} else if ((array1[0] == 6) && (i == 3)) {
array1.push(3);
}
break;
}
i++;
}
if ((array1[0] > 0) && (array1[0] < 7)) {
if (array1[0] == 6) {
if (array1[1] == 3) {
phase = "finish";
_parent.p2.gotoAndStop("finish");
_parent.p2.phase = "dead";
this.removeMovieClip();
}
} else {
phase = "finish";
_parent.p2.gotoAndStop("finish");
_parent.p2.phase = "dead";
this.removeMovieClip();
}
}
}
break;
case "finish" :
break;
case "dizzy" :
if (animHold > 0) {
break;
}
this.gotoAndStop("dizzy_loop");
}
if (((hp <= 0) && (phase != "dizzy")) && (phase != "dead")) {
if (!bonusDeath) {
this.gotoAndStop("dizzy");
animHold = 50;
}
phase = "dizzy";
xVel = 0;
_root.bDizzy = true;
}
if (Key.isDown(16) && (Key.isDown(8))) {
if (!gridPressed) {
gridPressed = true;
if (mcCircle._alpha == 0) {
mcCircle._alpha = 100;
} else {
mcCircle._alpha = 0;
}
}
} else {
gridPressed = false;
}
} else {
this.mc.stop();
}
};
Symbol 459 MovieClip [bonus_sjobs] Frame 1
if (xVel < 0) {
fxY = (this._rotation + 15) / 1.8;
this._yscale = -_yscale;
} else {
fxY = (-(this._rotation - 11)) / 1.8;
}
this.onEnterFrame = function () {
if ((!_global.paused) || (_root.attackPaused)) {
this.play();
this.mc.play();
this._x = this._x + xVel;
this._y = this._y + yVel;
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
var _local5 = _parent.attachMovie(("bonus_" + parent) + "_fx", "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
if (this._xscale > 0) {
_local5._x = this._x - 30;
} else {
_local5._x = this._x + 30;
}
if (parent == "sjobs") {
_local5._y = (this._y - 20) + random(40);
} else {
_local5._y = (this._y + this.mc.mcFX._y) + fxY;
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
_local5 = _parent.attachMovie(("bonus_" + parent) + "_fx", "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
if (this._xscale > 0) {
_local5._x = (this._x - 30) + (xVel / 3);
} else {
_local5._x = (this._x + 30) + (xVel / 3);
}
_local5._y = ((this._y + this.mc.mcFX._y) + (yVel / 3)) + fxY;
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
_local5 = _parent.attachMovie(("bonus_" + parent) + "_fx", "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
if (this._xscale > 0) {
_local5._x = (this._x - 30) + ((xVel / 3) * 2);
} else {
_local5._x = (this._x + 30) + ((xVel / 3) * 2);
}
_local5._y = ((this._y + this.mc.mcFX._y) + ((yVel / 3) * 2)) + fxY;
}
if ((this._x < -200) || (this._x > (Stage.width + 200))) {
this.removeMovieClip();
}
} else {
this.stop();
this.mc.stop();
}
};
Symbol 466 MovieClip [bonus_bgates] Frame 1
if (xVel < 0) {
fxY = (this._rotation + 15) / 1.8;
this._yscale = -_yscale;
} else {
fxY = (-(this._rotation - 11)) / 1.8;
}
this.onEnterFrame = function () {
if ((!_global.paused) || (_root.attackPaused)) {
this.play();
this.mc.play();
this._x = this._x + xVel;
this._y = this._y + yVel;
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
var _local5 = _parent.attachMovie(("bonus_" + parent) + "_fx", "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
if (this._xscale > 0) {
_local5._x = this._x - 30;
} else {
_local5._x = this._x + 30;
}
if (parent == "sjobs") {
_local5._y = (this._y - 20) + random(40);
} else {
_local5._y = (this._y + this.mc.mcFX._y) + fxY;
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
_local5 = _parent.attachMovie(("bonus_" + parent) + "_fx", "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
if (this._xscale > 0) {
_local5._x = (this._x - 30) + (xVel / 3);
} else {
_local5._x = (this._x + 30) + (xVel / 3);
}
_local5._y = ((this._y + this.mc.mcFX._y) + (yVel / 3)) + fxY;
_root.fxCount++;
if (_root.fxCount > _root.fxMax) {
_root.fxCount = 1;
}
_local5 = _parent.attachMovie(("bonus_" + parent) + "_fx", "fx" + _root.fxCount, _root.fxDepth + _root.fxCount);
if (this._xscale > 0) {
_local5._x = (this._x - 30) + ((xVel / 3) * 2);
} else {
_local5._x = (this._x + 30) + ((xVel / 3) * 2);
}
_local5._y = ((this._y + this.mc.mcFX._y) + ((yVel / 3) * 2)) + fxY;
}
if ((this._x < -200) || (this._x > (Stage.width + 200))) {
this.removeMovieClip();
}
} else {
this.stop();
this.mc.stop();
}
};
Symbol 466 MovieClip [bonus_bgates] Frame 10
this.gotoAndPlay(2);
Symbol 477 MovieClip [fx_hit_bgates] Frame 13
this.removeMovieClip();
Symbol 490 MovieClip [fx_block] Frame 13
this.removeMovieClip();
Symbol 501 MovieClip [fx_hit_sjobs] Frame 13
this.removeMovieClip();
Symbol 505 MovieClip [fx_smoke] Frame 1
this.gotoAndPlay(random(10) + 10);
yVel = -3 + (Math.random() * -1);
xVel = (Math.random() * 0.8) - 0.4;
this.onEnterFrame = function () {
if (!_global.paused) {
this.play();
this._x = this._x + xVel;
this._y = this._y + yVel;
} else {
this.stop();
}
};
Symbol 505 MovieClip [fx_smoke] Frame 36
this.removeMovieClip();
Symbol 508 MovieClip [fx_smoke_outline] Frame 1
this.onEnterFrame = function () {
this._x = host._x;
this._y = host._y + host.yVel;
this.gotoAndStop(host._currentframe);
};
Symbol 508 MovieClip [fx_smoke_outline] Frame 36
this.removeMovieClip();
Symbol 514 MovieClip [bonus_bgates_fx] Frame 11
this.removeMovieClip();
Symbol 520 MovieClip [bonus_sjobs_fx] Frame 11
this.removeMovieClip();
Symbol 527 MovieClip Frame 8
stop();
Symbol 544 MovieClip Frame 8
stop();
Symbol 557 MovieClip Frame 13
stop();
Symbol 560 Button
on (release) {
getURL ("http://www.current.com", "_blank");
}
Symbol 565 Button
on (release) {
_root.sound_p1.setVolume(_global.volumeSpeech);
_root.sound_p2.setVolume(_global.volumeSpeech);
_parent.gotoAndPlay("close");
}
Symbol 572 Button
on (release) {
getURL ("http://current.com/items/76366762_gates_vs_jobs", "_blank");
}
Symbol 575 Button
on (release) {
getURL ("http://www.current.com/supernews", "_blank");
}
Symbol 591 MovieClip Frame 1
stop();
var temp = (_root.winner + "Name");
if (_root[temp] == "bgates") {
nextFrame();
}
Symbol 596 Button
on (release) {
getURL ("http://current.com/items/76347302_osama_bin_lohan", "_blank");
}
Symbol 600 Button
on (release) {
getURL ("http://current.com/items/88280851_becks_strikes_the_usa", "_blank");
}
Symbol 603 Button
on (release) {
getURL ("http://current.com/items/76346602_the_k_fed_effect", "_blank");
}
Symbol 606 Button
on (release) {
getURL ("http://current.com/items/77135602_the_hills", "_blank");
}
Symbol 613 Button
on (release) {
getURL ("http://current.com/items/88823939_rambo_vs_terror_pt_1", "_blank");
}
Symbol 620 Button
on (release) {
getURL ("http://current.com/items/76399362_transformers_2", "_blank");
}
Symbol 627 Button
on (release) {
getURL ("http://current.com/items/76346842_the_immigration_debate", "_blank");
}
Symbol 630 Button
on (release) {
getURL ("http://current.com/items/76358462_revenge_of_the_nerds", "_blank");
}
Symbol 635 Button
on (release) {
getURL ("http://current.com/items/76389342_shawskank_redemption", "_blank");
}
Symbol 638 Button
on (release) {
getURL ("http://current.com/items/76335222_mike_gravel_rocks", "_blank");
}
Symbol 645 Button
on (release) {
getURL ("http://current.com/items/88795480_it_s_a_horrible_life", "_blank");
}
Symbol 646 MovieClip Frame 11
_root.sfx("p1", "tagline", 0, 0, 1, false);
_root.sound_p1.setVolume(_root.tagVolume);
_root.sound_p2.setVolume(_root.tagVolume);
Symbol 646 MovieClip Frame 987
this.gotoAndPlay("loop");
Symbol 649 MovieClip [popup_win_bgates] Frame 6
_root.shakeCam(5);
Symbol 649 MovieClip [popup_win_bgates] Frame 22
_root.shakeCam(5);
Symbol 649 MovieClip [popup_win_bgates] Frame 310
_root.sfx("p1", "win2", 0, 0, 1, false);
_root.page2 = true;
Symbol 649 MovieClip [popup_win_bgates] Frame 324
stop();
Symbol 649 MovieClip [popup_win_bgates] Frame 336
_root.reset();
Symbol 654 Button
on (release) {
_parent.gotoAndPlay("close");
}
Symbol 657 Button
on (release) {
getURL ("http://www.current.com", "_blank");
}
Symbol 659 MovieClip [popup_win_sjobs] Frame 6
_root.shakeCam(5);
Symbol 659 MovieClip [popup_win_sjobs] Frame 22
_root.shakeCam(5);
Symbol 659 MovieClip [popup_win_sjobs] Frame 309
stop();
Symbol 659 MovieClip [popup_win_sjobs] Frame 310
_root.sfx("p1", "win2", 0, 0, 1, false);
_root.page2 = true;
Symbol 659 MovieClip [popup_win_sjobs] Frame 324
stop();
Symbol 659 MovieClip [popup_win_sjobs] Frame 336
_root.reset();
Symbol 681 MovieClip [popup_fight] Frame 29
_root.intro = 4;
this.removeMovieClip();
Symbol 684 MovieClip Frame 73
stop();
Symbol 685 MovieClip [popup_bonus] Frame 74
this.removeMovieClip();
Symbol 689 MovieClip [popup_focushole] Frame 65
gotoAndPlay ("loop");
Symbol 689 MovieClip [popup_focushole] Frame 78
this.removeMovieClip();
Symbol 726 MovieClip [popup_finish] Frame 37
if (_root.mcMain.p2.phase == "dead") {
this.gotoAndStop("end");
} else {
trace(_root.mcMain.p2.phase);
}
Symbol 726 MovieClip [popup_finish] Frame 43
_root.speech("p1", "finishhim", 123, 0, 1);
Symbol 726 MovieClip [popup_finish] Frame 86
this.removeMovieClip();
Symbol 774 MovieClip Frame 1
gotoAndPlay(random(_totalframes - 2) + 1);
Symbol 774 MovieClip Frame 58
gotoAndPlay (2);
Symbol 775 MovieClip Frame 1
stop();
Symbol 781 MovieClip Frame 1
stop();
sliderLength = 145;
boundL = buttSFX._x;
boundR = buttSFX._x + sliderLength;
buttSFX._x = boundL + ((_global.volumeFX / 100) * sliderLength);
buttMusic._x = boundL + ((_global.volumeMusic / 100) * sliderLength);
buttSpeech._x = boundL + ((_global.volumeSpeech / 100) * sliderLength);
mcSFX.gotoAndStop(Math.ceil(_global.volumeFX));
mcMusic.gotoAndStop(Math.ceil(_global.volumeMusic));
mcSpeech.gotoAndStop(Math.ceil(_global.volumeSpeech));
Instance of Symbol 780 MovieClip "buttSFX" in Symbol 781 MovieClip Frame 1
on (release) {
stopDrag();
}
on (releaseOutside) {
stopDrag();
}
on (press) {
startDrag (this, false, _parent.boundL, this._y, _parent.boundR, this._y);
}
onClipEvent (enterFrame) {
_global.volumeFX = ((this._x - _parent.boundL) / _parent.sliderLength) * 100;
soundSaberloop.setVolume(_global.volumeFX * _root.s_saberloopMult);
_parent.mcSFX.gotoAndStop(Math.ceil(_global.volumeFX));
}
Instance of Symbol 780 MovieClip "buttMusic" in Symbol 781 MovieClip Frame 1
on (release) {
stopDrag();
}
on (releaseOutside) {
stopDrag();
}
on (press) {
startDrag (this, false, _parent.boundL, this._y, _parent.boundR, this._y);
}
onClipEvent (enterFrame) {
_global.volumeMusic = ((this._x - _parent.boundL) / _parent.sliderLength) * 100;
_parent.mcMusic.gotoAndStop(Math.ceil(_global.volumeMusic));
_root.soundMusic.setVolume(_global.volumeMusic);
}
Instance of Symbol 780 MovieClip "buttSpeech" in Symbol 781 MovieClip Frame 1
on (release) {
stopDrag();
}
on (releaseOutside) {
stopDrag();
}
on (press) {
startDrag (this, false, _parent.boundL, this._y, _parent.boundR, this._y);
}
onClipEvent (enterFrame) {
_global.volumeSpeech = ((this._x - _parent.boundL) / _parent.sliderLength) * 100;
_parent.mcSpeech.gotoAndStop(Math.ceil(_global.volumeSpeech));
}
Symbol 785 Button
on (release) {
this.gotoAndPlay("close");
}
Symbol 804 Button
on (release) {
gotoAndPlay ("yes");
}
Symbol 805 Button
on (release) {
gotoAndPlay ("no");
_root.sfx("p1", "restartClose", 0, 0, 1, false);
}
Symbol 810 MovieClip Frame 1
stop();
Symbol 810 MovieClip Frame 20
stop();
Symbol 810 MovieClip Frame 28
stop();
_parent.buttRestart.enabled = true;
_parent.yesnoOpen = false;
Symbol 810 MovieClip Frame 38
_parent.reset = true;
_parent.gotoAndPlay("close");
stop();
Symbol 811 Button
on (release) {
buttRestart.enabled = false;
mcYesno.gotoAndPlay("open");
yesnoOpen = true;
_root.sfx("p1", "restartOpen", 0, 0.06, 1, false);
}
Symbol 814 Button
on (release) {
_quality = "MEDIUM";
buttHIGH.enabled = true;
buttMEDIUM.enabled = true;
buttLOW.enabled = true;
this["butt" + _quality].enabled = false;
mcQ.HIGH.gotoAndStop("off");
mcQ.MEDIUM.gotoAndStop("off");
mcQ.LOW.gotoAndStop("off");
mcQ[_quality].gotoAndStop("on");
if (yesnoOpen) {
mcYesno.gotoAndPlay("no2");
}
}
Symbol 815 Button
on (release) {
_quality = "LOW";
buttHIGH.enabled = true;
buttMEDIUM.enabled = true;
buttLOW.enabled = true;
this["butt" + _quality].enabled = false;
mcQ.HIGH.gotoAndStop("off");
mcQ.MEDIUM.gotoAndStop("off");
mcQ.LOW.gotoAndStop("off");
mcQ[_quality].gotoAndStop("on");
if (yesnoOpen) {
mcYesno.gotoAndPlay("no2");
}
}
Symbol 816 Button
on (release) {
_quality = "HIGH";
buttHIGH.enabled = true;
buttMEDIUM.enabled = true;
buttLOW.enabled = true;
this["butt" + _quality].enabled = false;
mcQ.HIGH.gotoAndStop("off");
mcQ.MEDIUM.gotoAndStop("off");
mcQ.LOW.gotoAndStop("off");
mcQ[_quality].gotoAndStop("on");
if (yesnoOpen) {
mcYesno.gotoAndPlay("no2");
}
}
Symbol 817 Button
on (release) {
this.gotoAndPlay("close");
_root.sfx("p1", "pauseClose", 0, 0.2, 1, false);
}
Symbol 822 MovieClip [popup_pause] Frame 12
stop();
mcQ.HIGH.gotoAndStop("off");
mcQ.MEDIUM.gotoAndStop("off");
mcQ.LOW.gotoAndStop("off");
mcQ[_quality].gotoAndStop("on");
butt[_quality].enabled = false;
this["butt" + _quality].enabled = false;
reset = false;
yesnoOpen = false;
_root.pauseTimer = _root.pauseWait;
Symbol 822 MovieClip [popup_pause] Frame 26
if (reset) {
temp = _root.attachMovie("popup_white", "mcWhite", _root.pauseDepth - 1);
temp._x = 360;
temp._y = 190;
}
Symbol 822 MovieClip [popup_pause] Frame 28
_root.setPause();
if (reset) {
_root.reset();
_root.bmpBlur.dispose();
_root.bmpBlur2.dispose();
_root.mcMain._visible = false;
}
this.removeMovieClip();
Symbol 842 MovieClip Frame 1
stop();
Symbol 850 MovieClip Frame 1
stop();
Symbol 858 MovieClip Frame 1
stop();
Symbol 871 MovieClip Frame 1
stop();
Symbol 885 MovieClip Frame 1
this.onEnterFrame = function () {
if ((!arrow1) && (!arrow2)) {
this.play();
}
};
Instance of Symbol 883 MovieClip in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_parent.stop();
this.play();
_parent.arrow1 = true;
} else {
if (this._currentframe == this._totalframes) {
this.gotoAndStop(1);
}
_parent.arrow1 = false;
}
}
Instance of Symbol 883 MovieClip in Symbol 885 MovieClip Frame 61
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_parent.stop();
this.play();
_parent.arrow2 = true;
} else {
if (this._currentframe == this._totalframes) {
this.gotoAndStop(1);
}
_parent.arrow2 = false;
}
}
Symbol 896 MovieClip Frame 1
this.onEnterFrame = function () {
if (Key.isDown(37)) {
iconLeft.gotoAndStop(3);
} else {
iconLeft.gotoAndStop(1);
}
if (Key.isDown(39)) {
iconRight.gotoAndStop(4);
} else {
iconRight.gotoAndStop(2);
}
};
Instance of Symbol 842 MovieClip in Symbol 896 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.play();
} else if (this._currentframe == this._totalframes) {
this.gotoAndStop(1);
}
}
Instance of Symbol 850 MovieClip in Symbol 896 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.play();
} else if (this._currentframe == this._totalframes) {
this.gotoAndStop(1);
}
}
Instance of Symbol 858 MovieClip in Symbol 896 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.play();
} else if (this._currentframe == this._totalframes) {
this.gotoAndStop(1);
}
}
Instance of Symbol 842 MovieClip in Symbol 896 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.play();
} else if (this._currentframe == this._totalframes) {
this.gotoAndStop(1);
}
}
Instance of Symbol 850 MovieClip in Symbol 896 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.play();
} else if (this._currentframe == this._totalframes) {
this.gotoAndStop(1);
}
}
Instance of Symbol 871 MovieClip in Symbol 896 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.play();
} else if (this._currentframe == this._totalframes) {
this.gotoAndStop(1);
}
}
Instance of Symbol 895 MovieClip "iconLeft" in Symbol 896 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 895 MovieClip "iconRight" in Symbol 896 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
}
Symbol 900 Button
on (release) {
_parent.gotoAndPlay("close");
}
Symbol 905 MovieClip Frame 1
stop();
if (_root.p1Name == "bgates") {
this.gotoAndStop(2);
}
Symbol 906 MovieClip [popup_help] Frame 10
stop();
Symbol 906 MovieClip [popup_help] Frame 22
_root.spawnHelpOff();
this.removeMovieClip();
Symbol 937 Button
on (release) {
buttSkip.enabled = false;
buttSkip._alpha = 0;
_root.bSkipped = true;
_root.mcMain.mcWin.gotoAndPlay("page2");
if (_root[_root.winner + "Name"] == "bgates") {
_root.mcMain.mcBG.gotoAndStop("sjobs_out");
} else {
_root.mcMain.mcBG.gotoAndStop("bgates_out");
}
}
Symbol 940 MovieClip [vcam] Frame 1
this.onUnload = function () {
_parent._x = 0;
_parent._y = 0;
_parent._xscale = 100;
_parent._yscale = 100;
};
buttSkip.enabled = false;
mcBorder.swapDepths(123456);
Symbol 942 MovieClip [popup_white] Frame 12
this.removeMovieClip();
Symbol 1016 MovieClip Frame 1
stop();
Symbol 1025 Button
on (release) {
_root.play();
}
Symbol 1032 Button
on (release) {
_root.play();
}
Symbol 1043 MovieClip Frame 26
if (random(100) < 70) {
this.gotoAndPlay(1);
}
Symbol 1046 MovieClip Frame 1
function end() {
gotoAndStop ("idle");
}
stop();
this.onEnterFrame = function () {
if (this._name != "head_sjobs") {
this.gotoAndStop(_root.head_sjobs._currentframe);
}
};
Symbol 1046 MovieClip Frame 96
end();
Symbol 1046 MovieClip Frame 174
_root.mcTitle.gotoAndPlay("close_sjobs");
end();
Symbol 1046 MovieClip Frame 198
stop();
Symbol 1047 MovieClip Frame 5
stop();
Symbol 1050 MovieClip Frame 26
if (random(100) < 70) {
this.gotoAndPlay(1);
}
Symbol 1055 MovieClip Frame 1
function end() {
gotoAndStop ("idle");
}
stop();
this.onEnterFrame = function () {
if (this._name != "head_bgates") {
this.gotoAndStop(_root.head_bgates._currentframe);
}
};
Symbol 1055 MovieClip Frame 142
end();
Symbol 1055 MovieClip Frame 172
_root.mcTitle.gotoAndPlay("close_bgates");
Symbol 1055 MovieClip Frame 189
end();
Symbol 1055 MovieClip Frame 282
end();
Symbol 1055 MovieClip Frame 295
stop();
Symbol 1056 MovieClip Frame 5
stop();
Symbol 1058 Button
on (release) {
getURL ("http://www.current.com/supernews", "_blank");
}
Symbol 1060 MovieClip Frame 14
_root.head_bgates.gotoAndPlay("select");
_root.mouth_bgates.gotoAndPlay("select");
Symbol 1060 MovieClip Frame 149
_root.head_sjobs.gotoAndPlay("select");
_root.mouth_sjobs.gotoAndPlay("select");
Symbol 1060 MovieClip Frame 281
_root.head_bgates.gotoAndPlay("select2");
_root.mouth_bgates.gotoAndPlay("select2");
Symbol 1060 MovieClip Frame 372
stop();
Symbol 1064 MovieClip Frame 1
stop();
if (_root.p1Name == "bgates") {
this.gotoAndStop(2);
}
Symbol 1068 MovieClip Frame 8
stop();
Symbol 1071 MovieClip Frame 8
stop();
Symbol 1073 MovieClip Frame 1
stop();
Symbol 1074 MovieClip Frame 8
stop();
Symbol 1077 MovieClip Frame 8
stop();
Symbol 1080 MovieClip Frame 1
stop();
Symbol 1086 MovieClip Frame 1
function fade_in() {
this._alpha = this._alpha + 13;
if (this._alpha >= 100) {
bIn = true;
}
}
function fade_out() {
this._alpha = this._alpha + -23;
if (this._alpha < 0) {
bOut = true;
this.onEnterFrame = function () {
};
}
}
bIn = false;
bOut = true;
this.onEnterFrame = function () {
if (!bIn) {
fade_in();
}
if (!bOut) {
fade_out();
}
};
Symbol 1091 Button
on (release) {
gotoAndPlay ("open");
_parent.butt_bgates.enabled = false;
_parent.butt_sjobs.enabled = false;
_parent.buttSN.enabled = false;
_parent.buttCurrent.enabled = false;
_parent.mcEmbed.buttEmbed.enabled = false;
}
Symbol 1116 Button
on (release) {
getURL ("http://www.girlshavecooties.com", "_blank");
}
Symbol 1117 Button
on (release) {
getURL ("http://www.myspace.com/joshisrad", "_blank");
}
Symbol 1118 Button
on (release) {
getURL ("http://www.dustfilms.com", "_blank");
}
Symbol 1119 Button
on (release) {
getURL ("http://www.pinkandaint.com", "_blank");
}
Symbol 1120 Button
on (release) {
getURL ("http://www.sklomotion.com/", "_blank");
}
Symbol 1121 Button
on (release) {
getURL ("http://heardrum.org/", "_blank");
}
Symbol 1122 Button
on (release) {
getURL ("http://www.scatterbrainstudios.com", "_blank");
}
Symbol 1127 Button
on (release) {
_parent.gotoAndPlay("close");
}
Symbol 1130 MovieClip Frame 1
stop();
Symbol 1130 MovieClip Frame 5
stop();
Symbol 1130 MovieClip Frame 13
_parent.butt_bgates.enabled = true;
_parent.butt_sjobs.enabled = true;
_parent.buttSN.enabled = true;
_parent.buttCurrent.enabled = true;
_parent.mcEmbed.buttEmbed.enabled = true;
Symbol 1133 Button
on (release) {
gotoAndPlay ("open");
_parent.butt_bgates.enabled = false;
_parent.butt_sjobs.enabled = false;
_parent.buttSN.enabled = false;
_parent.buttCurrent.enabled = false;
_parent.mcCredits.buttCredits.enabled = false;
}
Symbol 1145 Button
on (press) {
gotoAndStop (2);
}
Symbol 1149 MovieClip Frame 1
stop();
Symbol 1149 MovieClip Frame 4
stop();
Symbol 1151 Button
on (release) {
_parent.gotoAndPlay("close");
}
Symbol 1155 Button
on (press) {
gotoAndStop (1);
}
Symbol 1156 MovieClip Frame 1
stop();
if (copied) {
mcCopied.gotoAndPlay("out");
}
copied = false;
textEmbed.onSetFocus = function () {
Selection.setSelection(0, 600);
System.setClipboard(textEmbed.text);
mcCopied.gotoAndPlay("in");
copied = true;
};
this.onEnterFrame = function () {
var _local1 = Selection.getFocus();
if (_local1.substr(_local1.lastIndexOf(".") + 1) == "textEmbed") {
Selection.setSelection(0, 600);
} else if (_local1.substr(_local1.lastIndexOf(".") + 1) == "textEmbed2") {
Selection.setSelection(0, 600);
}
};
Symbol 1156 MovieClip Frame 2
if (copied) {
mcCopied.gotoAndPlay("out");
}
copied = false;
textEmbed2.onSetFocus = function () {
Selection.setSelection(0, 600);
System.setClipboard(textEmbed2.text);
mcCopied.gotoAndPlay("in");
copied = true;
};
Symbol 1157 MovieClip Frame 1
stop();
Symbol 1157 MovieClip Frame 5
stop();
Symbol 1157 MovieClip Frame 13
_parent.butt_bgates.enabled = true;
_parent.butt_sjobs.enabled = true;
_parent.buttSN.enabled = true;
_parent.buttCurrent.enabled = true;
_parent.mcCredits.buttCredits.enabled = true;
Instance of Symbol 1073 MovieClip "butt_sjobs" in Symbol 1159 MovieClip Frame 20
on (release) {
stopAllSounds();
_root.p1Name = "sjobs";
_root.p2Name = "bgates";
_parent.mc.gotoAndStop(1);
_root.head_sjobs.gotoAndPlay("selected");
_root.head_bgates.gotoAndPlay("notselected");
_root.mouth_sjobs.gotoAndPlay("selected");
_parent.mcSpeech.stop();
if (_root.picks_bgates > 0) {
_parent.tally_bgates.bOut = false;
}
if (_root.picks_sjobs > 0) {
_parent.tally_sjobs.bOut = false;
}
_root.mouth_bgates.gotoAndStop("idle");
this.enabled = false;
_parent.butt_bgates.enabled = false;
this.gotoAndStop("selected");
_parent.buttSN.enabled = false;
_parent.buttCurrent.enabled = false;
_parent.mcCredits.buttCredits.enabled = false;
_parent.mcEmbed.buttEmbed.enabled = false;
_parent.mcSpeech.stop();
}
on (rollOver) {
gotoAndStop ("over");
}
on (rollOut) {
gotoAndStop ("out");
}
Instance of Symbol 1080 MovieClip "butt_bgates" in Symbol 1159 MovieClip Frame 20
on (release) {
stopAllSounds();
_root.p1Name = "bgates";
_root.p2Name = "sjobs";
_parent.mc.gotoAndStop(2);
_root.head_bgates.gotoAndPlay("selected");
_root.head_sjobs.gotoAndPlay("notselected");
_root.mouth_bgates.gotoAndPlay("selected");
_parent.mcSpeech.stop();
if (_root.picks_bgates > 0) {
_parent.tally_bgates.bOut = false;
}
if (_root.picks_sjobs > 0) {
_parent.tally_sjobs.bOut = false;
}
_root.mouth_sjobs.gotoAndStop("idle");
this.enabled = false;
_parent.butt_sjobs.enabled = false;
this.gotoAndStop("selected");
_parent.buttSN.enabled = false;
_parent.buttCurrent.enabled = false;
_parent.mcCredits.buttCredits.enabled = false;
_parent.mcEmbed.buttEmbed.enabled = false;
_parent.mcSpeech.stop();
}
on (rollOver) {
gotoAndStop ("over");
}
on (rollOut) {
gotoAndStop ("out");
}
Symbol 1159 MovieClip Frame 26
function __rankz_get__(par1, par2, par3, par4, par4n, par4nb) {
top10_send = new LoadVars();
top10_get = new LoadVars();
top10_send.flashkey = par2;
top10_send.SU0249 = par1;
top10_send.flashkey = top10_send.flashkey.split("=").join("");
top10_send.SU0249 = top10_send.SU0249.split("=").join("");
top10_get.onLoad = function (success) {
if (success) {
_rankz_ar_ = top10_get.top10.split("<u/*/u>");
tempv = _rankz_ar_[0].split("</*/>");
count = tempv[1];
count_bgates = tempv[3];
count_sjobs = tempv[4];
textGlobal.text = (("global picks >>> Gates: " + count_bgates) + " Jobs: ") + count_sjobs;
} else {
trace("GET failed");
}
};
top10_send.sendAndLoad("http://rankz.armorbot.com/get/top10.php", top10_get, "POST");
}
if (_root.picks_bgates <= 0) {
tally_bgates._visible = false;
}
if (_root.picks_sjobs <= 0) {
tally_sjobs._visible = false;
}
tally_bgates.textWins.text = _root.wins_bgates;
tally_bgates.textLosses.text = _root.picks_bgates - _root.wins_bgates;
tally_sjobs.textWins.text = _root.wins_sjobs;
tally_sjobs.textLosses.text = _root.picks_sjobs - _root.wins_sjobs;
textGlobal.text = "";
__rankz_get__("MjMzM2olZSVhJW4lcw==", "SlBOTkt3dng=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl, bXlnYW1lX3Njb3JlX3ZhcmlhYmx2, bXlnYW1lX3Njb3JlX3ZhcmlhYmx3);
this.onEnterFrame = function () {
if (Key.isDown(16) && (Key.isDown(32))) {
textGlobal._visible = true;
} else {
textGlobal._visible = false;
}
};
Symbol 1159 MovieClip Frame 28
stop();
Instance of Symbol 582 MovieClip in Symbol 1159 MovieClip Frame 30
on (release) {
getURL ("http://www.current.tv/supernews", "_blank");
}
Instance of Symbol 559 MovieClip in Symbol 1159 MovieClip Frame 30
on (release) {
getURL ("http://www.current.tv/", "_blank");
}
Instance of Symbol 582 MovieClip in Symbol 1159 MovieClip Frame 41
on (release) {
getURL ("http://www.current.tv/supernews", "_blank");
}
Instance of Symbol 559 MovieClip in Symbol 1159 MovieClip Frame 41
on (release) {
getURL ("http://www.current.tv/", "_blank");
}
Symbol 1159 MovieClip Frame 46
_root.gotoAndStop("instructions");
Instance of Symbol 582 MovieClip in Symbol 1159 MovieClip Frame 49
on (release) {
getURL ("http://www.current.tv/supernews", "_blank");
}
Instance of Symbol 559 MovieClip in Symbol 1159 MovieClip Frame 49
on (release) {
getURL ("http://www.current.tv/", "_blank");
}
Instance of Symbol 582 MovieClip in Symbol 1159 MovieClip Frame 60
on (release) {
getURL ("http://www.current.tv/supernews", "_blank");
}
Instance of Symbol 559 MovieClip in Symbol 1159 MovieClip Frame 60
on (release) {
getURL ("http://www.current.tv/", "_blank");
}
Symbol 1159 MovieClip Frame 65
_root.gotoAndStop("instructions");
Symbol 1161 Button
on (release) {
_parent.play();
}
Symbol 1164 MovieClip Frame 1
stop();
if (_root.p1Name == "bgates") {
this.gotoAndStop(2);
}
Symbol 1170 MovieClip Frame 1
stop();
Symbol 1170 MovieClip Frame 50
stop();
_root.gotoAndPlay("game");
Symbol 1182 MovieClip Frame 1
stop();
Symbol 1192 MovieClip Frame 1
stop();
Symbol 1198 MovieClip Frame 1
stop();
Symbol 1201 MovieClip Frame 1
stop();
Symbol 1203 MovieClip Frame 5
stop();
Symbol 1206 MovieClip Frame 5
stop();
Symbol 1208 MovieClip Frame 1
this._visible = false;
this.onEnterFrame = function () {
if (this.hitTest(_root.mcMain._xmouse, _root.mcMain._ymouse, false)) {
_global.bHand = true;
}
};
Symbol 1209 Button
on (release) {
_root.setPause();
}
Symbol 1211 MovieClip Frame 5
stop();
Symbol 1214 MovieClip Frame 5
stop();
Symbol 1215 Button
on (release) {
_root.spawnHelpOn();
}